/* ================================================
   WY Legal LLP - Design System & Style Guide
   Version: 1.0
   Author: WY Legal Design Team
   Date: 2025
   ================================================ */

/* ================================================
   01. CSS VARIABLES - Color Palette & Tokens
   ================================================ */
:root {
    /* Primary Colors - Navy Blue Family */
    --navy-dark: #0A1F44;      /* Main backgrounds, navigation */
    --navy: #112D5E;           /* Section backgrounds, cards */
    --navy-light: #1A3A6E;     /* Gradients, accents */

    /* Accent Colors - Gold Family */
    --gold: #C8A951;           /* Primary accents, links, hover states */
    --gold-light: #D4BC76;     /* Hover states, highlights */
    --gold-dark: #B69843;      /* Active states */

    /* Neutral Colors */
    --cream: #FAF8F5;          /* Page backgrounds */
    --white: #FFFFFF;          /* Cards, content areas */
    --gray: #6B7280;           /* Body text, secondary content */
    --gray-light: #E5E7EB;     /* Borders, dividers */

    /* Typography */
    --font-display: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 5rem;

    /* Animation */
    --transition-fast: 0.3s ease;
    --transition-normal: 0.4s ease;
    --transition-slow: 0.8s ease;

    /* Page transition timing - 明显的过渡效果 */
    --page-fade-out: 320ms;
    --page-fade-in: 550ms;

    /* Shadow */
    --shadow-card: 0 20px 40px rgba(10, 31, 68, 0.1);
    --shadow-hover: 0 25px 50px rgba(10, 31, 68, 0.15);
}

/* ================================================
   02. BASE STYLES
   ================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--navy-dark);
    background: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

h1 { font-size: clamp(3rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

/* ================================================
   03. REUSABLE COMPONENTS - Buttons
   ================================================ */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 0;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: 2px solid transparent;
}

/* Primary Button - Gold */
.btn-primary {
    background: var(--gold);
    color: var(--navy-dark);
    border-color: var(--gold);
}

.btn-primary:hover {
    background: transparent;
    color: var(--gold);
}

/* Secondary Button - White Outline */
.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--navy-dark);
}

/* ================================================
   04. REUSABLE COMPONENTS - Section Headers
   ================================================ */
.section {
    padding: var(--spacing-2xl) 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.section-label {
    color: var(--gold);
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: var(--spacing-sm);
    display: block;
}

.section-title {
    color: var(--navy-dark);
    margin-bottom: var(--spacing-md);
}

.section-description {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Dark section variation */
.section-dark {
    background: linear-gradient(180deg, var(--navy-dark) 0%, var(--navy) 100%);
    color: var(--white);
}

.section-dark .section-title {
    color: var(--white);
}

.section-dark .section-description {
    color: rgba(255, 255, 255, 0.7);
}

/* ================================================
   05. REUSABLE COMPONENTS - Navigation
   ================================================ */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all var(--transition-normal);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 31, 68, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 5%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.logo {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 2px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 2px;
}

.logo img {
    height: 34px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width var(--transition-fast);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--gold);
}

/* Language Switcher - 紧贴 Logo 右侧 */
.navbar-left {
    display: flex;
    align-items: center;
}

.lang-switcher {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    padding-left: 1.5rem;
    align-items: center;
    margin: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    margin-left: 1.5rem;
}

.lang-switcher .lang-link {
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    padding: 0.4rem 0.6rem;
    border-radius: 2px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.lang-switcher .lang-link:hover {
    color: var(--gold);
    opacity: 1;
}

.lang-switcher .lang-link.is-active {
    color: var(--gold);
    opacity: 1;
    border-bottom: 2px solid var(--gold);
}

@media (max-width: 1024px) {
    .lang-switcher {
        display: none;
    }
}

/* Dropdown Menu */
.nav-links li {
    position: relative;
}

.nav-links .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(10, 31, 68, 0.98);
    backdrop-filter: blur(10px);
    min-width: 200px;
    list-style: none;
    padding: 1rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 1001;
}

.nav-links .dropdown:hover .dropdown-menu {
    display: block;
}

/* 移动端下拉菜单样式 */
@media (max-width: 1024px) {
    .nav-links .dropdown-menu {
        position: static;
        display: none;
        background: transparent;
        box-shadow: none;
        padding: 0.5rem 0 0 1rem;
        min-width: auto;
        backdrop-filter: none;
    }

    .nav-links .dropdown:hover .dropdown-menu {
        display: block;
    }

    .nav-links .dropdown-menu a {
        font-size: 1rem;
        color: rgba(255, 255, 255, 0.8);
    }
}

.nav-links .dropdown-menu li {
    width: 100%;
}

.nav-links .dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.nav-links .dropdown-menu a:hover {
    color: var(--gold);
    background: rgba(255, 255, 255, 0.05);
    padding-left: 2rem;
}

.nav-links .dropdown-menu a.active {
    color: var(--gold);
}

/* ================================================
   06. REUSABLE COMPONENTS - Hero Banner
   ================================================ */
.hero {
    height: 100vh;
    min-height: 700px;
    background: var(--navy-dark); /* Fallback background */
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-content {
    padding: 0 5%;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    color: var(--gold);
    font-size: 0.95rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero-title {
    color: var(--white);
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1.1;
    margin-bottom: 2rem;
    max-width: 800px;
}

.hero-title span {
    color: var(--gold);
}

.hero-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.25rem;
    line-height: 1.7;
    max-width: 600px;
    margin-bottom: 3rem;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
}

/* Hero Video Background - Right Aligned with Gradient Mask */
.hero-video-container {
    position: absolute;
    top: 0;
    right: -150px;
    width: 75%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 左侧渐变蒙版：从深蓝色透明过渡到完全透明 */
    background: linear-gradient(to right, var(--navy-dark) 0%, rgba(10, 31, 68, 0.8) 25%, rgba(10, 31, 68, 0.4) 45%, transparent 60%);
    z-index: 1;
}

/* ================================================
   07. REUSABLE COMPONENTS - Cards
   ================================================ */

/* Advantage / Feature Card */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.advantage-card {
    padding: 3rem 2.5rem;
    background: var(--cream);
    border: 1px solid rgba(17, 45, 94, 0.1);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.advantage-card:hover::before {
    transform: scaleX(1);
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-card);
}

.advantage-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    border-radius: 4px;
}

.advantage-icon svg {
    width: 36px;
    height: 36px;
    stroke-width: 1.75;
}

.advantage-card h3 {
    margin-bottom: 1.5rem;
    color: var(--navy-dark);
}

/* Service Card (Dark Background) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem;
    transition: all var(--transition-normal);
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--gold);
    transform: translateY(-5px);
}

.service-card h3 {
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.service-card ul {
    list-style: none;
}

.service-card li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    padding-left: 1.75rem;
    text-indent: -1.75rem;
}

.service-card li:last-child {
    border-bottom: none;
}

.service-card li::before {
    content: '▸';
    color: var(--gold);
    margin-right: 0.75rem;
}

/* Team Card */
.team-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
}

.team-card {
    background: var(--cream);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.team-image {
    height: 280px;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.team-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(transparent, rgba(10, 31, 68, 0.5));
}

.team-initials {
    font-family: var(--font-display);
    font-size: 5rem;
    color: var(--gold);
    opacity: 0.3;
}

.team-info {
    padding: 2rem;
}

.team-info h3 {
    margin-bottom: 0.5rem;
    color: var(--navy-dark);
    min-height: 2rem;
    font-size: 1.25rem;
    line-height: 1.3;
    text-align: center;
}

.team-role {
    color: var(--gold);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    display: block;
    min-height: 3rem;
    line-height: 1.4;
    text-align: center;
}

.team-bio {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ================================================
   08. REUSABLE COMPONENTS - Case / Timeline Items
   ================================================ */
.cases-grid {
    display: grid;
    gap: 1.5rem;
}

.case-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all var(--transition-normal);
    cursor: pointer;
}

.case-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--gold);
    padding-left: 3rem;
}

.case-content h3 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.case-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.case-year {
    color: var(--gold);
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
}

/* ================================================
   09. REUSABLE COMPONENTS - Values / Stats
   ================================================ */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-item {
    text-align: center;
    padding: 2.5rem;
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: var(--white);
    font-size: 1.75rem;
}

.value-item h3 {
    color: var(--navy-dark);
    margin-bottom: 1rem;
}

/* Stats Grid */
.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat h4 {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
    font-family: var(--font-display);
}

.stat p {
    color: var(--gray);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0;
}

/* ================================================
   10. REUSABLE COMPONENTS - Contact & Forms
   ================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--navy-dark);
}

.contact-item p {
    margin-bottom: 0;
}

/* Form Styles */
.contact-form {
    background: var(--cream);
    padding: 3rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--navy-dark);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(17, 45, 94, 0.2);
    background: var(--white);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* ================================================
   11. REUSABLE COMPONENTS - Footer
   ================================================ */
.footer {
    background: var(--navy-dark);
    color: var(--white);
    padding: 5rem 5% 2rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--gold);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.footer-column h4 {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--gold);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* ================================================
   12. ANIMATIONS & EFFECTS
   ================================================ */

/* Fade In Up Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Reveal - 默认可见，保证无 JS 时也能看到内容
   动画时长由 JS 通过 inline style 强制控制 (2s) */
.reveal {
    opacity: 1;
    transform: translateY(0);
}

/* 当 JS 把 reveal-pending 加到元素上（说明该元素在视口外），先隐藏等待渲染
   transition 由 JS 通过 inline style 设置 */
.reveal.reveal-pending {
    opacity: 0;
    transform: translateY(50px);
}

.reveal.reveal-active {
    opacity: 1;
    transform: translateY(0);
}

/* ================================================
   Page Transition (fade out before navigation)
   ================================================ */
body.page-leaving {
    opacity: 0;
    transform: translateY(-24px);
    transition: opacity var(--page-fade-out) cubic-bezier(0.55, 0, 0.5, 0.95),
                transform var(--page-fade-out) cubic-bezier(0.55, 0, 0.5, 0.95);
    pointer-events: none;
}

@keyframes pageEnter {
    0% {
        opacity: 0;
        transform: translateY(28px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

body.page-entering {
    animation: pageEnter var(--page-fade-in) cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    body.page-leaving,
    body.page-entering {
        transition: none;
        animation: none;
    }
}

/* Hero staggered animation */
.hero-subtitle,
.hero-title,
.hero-description,
.hero-buttons {
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.hero-subtitle { animation-delay: 0.3s; }
.hero-title { animation-delay: 0.5s; }
.hero-description { animation-delay: 0.7s; }
.hero-buttons { animation-delay: 0.9s; }

/* ================================================
   13. RESPONSIVE BREAKPOINTS
   ================================================ */
@media (max-width: 1024px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(10, 31, 68, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        z-index: 999;
        margin: 0;
        padding: 0;
    }

    .nav-links.mobile-active {
        display: flex;
    }

    .nav-links a {
        font-size: 1.25rem;
    }

    .mobile-menu-btn {
        display: block;
        z-index: 1001;
    }

    .about-content,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
    }

    .about-stats {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .case-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 4rem 5%;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ================================================
   14. UTILITY CLASSES
   ================================================ */
.bg-white { background: var(--white); }
.bg-cream { background: var(--cream); }
.bg-navy { background: var(--navy); }
.bg-dark {
    background: linear-gradient(180deg, var(--navy-dark) 0%, var(--navy) 100%);
}

.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-white { color: var(--white); }
.text-gray { color: var(--gray); }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

/* ================================================
   Insights Pagination
   ================================================ */
.insights-pager {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--white);
    border: 1px solid rgba(17, 45, 94, 0.1);
    text-align: center;
}

.insights-pager__summary {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.insights-pager__controls {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.insights-pager__pages {
    display: inline-flex;
    gap: 0.4rem;
    align-items: center;
}

.insights-pager__nav,
.insights-pager__page {
    min-width: 36px;
    height: 36px;
    padding: 0 0.5rem;
    border: 1px solid rgba(17, 45, 94, 0.2);
    background: var(--white);
    color: var(--navy-dark);
    font-size: 0.9rem;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    text-decoration: none;
}

.insights-pager__nav:hover:not(:disabled),
.insights-pager__page:hover:not(.is-active) {
    background: var(--navy-dark);
    color: var(--white);
    border-color: var(--navy-dark);
}

.insights-pager__nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.insights-pager__page.is-active {
    background: var(--gold);
    color: var(--white);
    border-color: var(--gold);
    font-weight: 600;
    cursor: default;
}

.insights-pager__ellipsis {
    color: var(--gray);
    padding: 0 0.25rem;
    user-select: none;
    font-size: 0.9rem;
}

.insights-empty {
    padding: 3rem;
    text-align: center;
    color: var(--gray);
    background: var(--white);
    border: 1px solid rgba(17, 45, 94, 0.1);
    font-size: 1rem;
    line-height: 1.8;
}

.insights-empty strong {
    color: var(--navy-dark);
    font-weight: 600;
    font-size: 1.15rem;
    display: inline-block;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .insights-pager {
        padding: 1.5rem 1rem;
    }

    .insights-pager__nav,
    .insights-pager__page {
        min-width: 32px;
        height: 32px;
        font-size: 0.85rem;
        padding: 0 0.4rem;
    }
}
