.page-hero {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    color: #fff;
    padding: 80px 0 70px;
    margin-top: 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(201,169,97,0.18), transparent 60%),
                radial-gradient(circle at 70% 50%, rgba(201,169,97,0.10), transparent 60%);
    pointer-events: none;
}

.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30L30 0Z' fill='none' stroke='%23c9a961' stroke-opacity='0.05' stroke-width='1'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

.page-hero > .container,
.page-hero > * {
    position: relative;
    z-index: 2;
}

.page-hero-inner {
    position: relative;
    z-index: 2;
}

.page-hero-tag {
    display: inline-block;
    padding: 7px 22px;
    background: rgba(201,169,97,0.15);
    border: 1px solid rgba(201,169,97,0.4);
    color: var(--primary-gold);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 18px;
    letter-spacing: 0.5px;
}

.page-hero h1 {
    font-size: 48px;
    font-weight: 800;
    margin: 0 0 18px;
    color: #fff;
    line-height: 1.3;
}

.page-hero h1 span { color: var(--primary-gold); }

.page-hero-sub {
    font-size: 17px;
    line-height: 1.9;
    max-width: 800px;
    margin: 0 auto;
    color: #ddd;
}

.page-hero-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
    font-size: 13px;
    color: rgba(255,255,255,0.65);
}

.page-hero-breadcrumb a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: color 0.2s;
}

.page-hero-breadcrumb a:hover { color: var(--primary-gold); }
.page-hero-breadcrumb-sep { opacity: 0.5; }
.page-hero-breadcrumb-current { color: var(--primary-gold); }

.page-hero-breadcrumb.breadcrumb-detail {
    justify-content: flex-start;
    margin-top: 0;
    margin-bottom: 20px;
}

.about-hub-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 30px;
}

.about-hub-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 35px 28px;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s, opacity 0.3s;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.about-hub-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-gold), var(--dark-gold));
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 0;
    pointer-events: none;
}

.about-hub-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(0,0,0,0.12);
    border-color: var(--primary-gold);
}

.about-hub-card:hover::after { opacity: 1; }
.about-hub-card:hover .about-hub-icon-wrap { background: rgba(255,255,255,0.2); }
.about-hub-card:hover .about-hub-icon-wrap .icon { color: #fff; }
.about-hub-card:hover h3,
.about-hub-card:hover p,
.about-hub-card:hover .about-hub-arrow { color: #fff; }

.about-hub-card > * { position: relative; z-index: 1; }

.about-hub-icon-wrap {
    width: 65px;
    height: 65px;
    border-radius: 16px;
    background: rgba(201,169,97,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-gold);
    margin-bottom: 22px;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s, opacity 0.3s;
}

.about-hub-icon-wrap .icon {
    font-size: 26px;
    width: 28px;
    height: 28px;
    transition: color 0.3s;
}

.about-hub-card h3 {
    color: var(--text-dark);
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 10px;
    transition: color 0.3s;
}

.about-hub-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.8;
    margin: 0 0 20px;
    flex: 1;
    transition: color 0.3s;
}

.about-hub-arrow {
    color: var(--primary-gold);
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s, opacity 0.3s;
}

.about-hub-arrow .icon {
    font-size: 14px;
    transition: transform 0.3s;
}

.about-hub-card:hover .about-hub-arrow .icon {
    transform: translateX(-4px);
}

.page-section {
    padding: 70px 0;
}

.page-section.alt-bg { background: var(--bg-light); }

.page-section-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 50px;
}

.page-section-tag {
    display: inline-block;
    color: var(--primary-gold);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.page-section-header h2 {
    color: var(--text-dark);
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 14px;
    line-height: 1.4;
}

.page-section-header h2 span { color: var(--primary-gold); }

.page-section-header p {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.9;
}

.page-intro {
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
}

.page-intro-lead {
    font-size: 18px;
    line-height: 2;
    color: var(--text-dark);
    margin-bottom: 22px;
}

.page-intro-body {
    font-size: 15px;
    line-height: 1.95;
    color: var(--text-light);
    margin-bottom: 22px;
}

.page-stats {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    background: linear-gradient(135deg, var(--primary-gold), var(--dark-gold));
    border-radius: 18px;
    padding: 40px 30px;
    color: #fff;
}

.page-stat {
    text-align: center;
    padding: 0 10px;
    border-inline-end: 1px solid rgba(255,255,255,0.18);
}

.page-stat:last-child { border-inline-end: none; }

.page-stat-num {
    font-size: 38px;
    font-weight: 900;
    margin-bottom: 4px;
    line-height: 1;
}

.page-stat-num.stat-number {
    font-size: 38px;
    color: inherit;       
    line-height: 1;
}

.page-stat-label {
    font-size: 13px;
    opacity: 0.92;
    font-weight: 600;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.value-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 35px 30px;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s, opacity 0.3s;
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 22px;
    align-items: flex-start;
}

.value-card:hover {
    border-color: var(--primary-gold);
    box-shadow: 0 18px 40px rgba(0,0,0,0.10);
    transform: translateY(-4px);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-gold), var(--dark-gold));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.value-icon .icon {
    font-size: 28px;
}

.value-content h3 {
    color: var(--text-dark);
    font-size: 19px;
    font-weight: 700;
    margin: 6px 0 10px;
}

.value-content p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.9;
    margin: 0;
}

.strategy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.strategy-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 28px 32px;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s, opacity 0.3s;
}

.strategy-card::before {
    content: '';
    position: absolute;
    top: 0;
    inset-inline-start: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-gold), var(--dark-gold));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s;
    pointer-events: none;
}

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

.strategy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.10);
    border-color: var(--primary-gold);
}

.strategy-num {
    position: absolute;
    top: 12px;
    inset-inline-end: 22px;
    font-size: 70px;
    font-weight: 900;
    color: var(--primary-gold);
    opacity: 0.12;
    line-height: 1;
    pointer-events: none;
}

.strategy-icon {
    width: 60px;
    height: 60px;
    background: rgba(201,169,97,0.12);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-gold);
    margin-bottom: 22px;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s, opacity 0.3s;
}

.strategy-card:hover .strategy-icon {
    background: var(--primary-gold);
    color: #fff;
}

.strategy-icon .icon {
    font-size: 26px;
}

.strategy-card h3 {
    color: var(--text-dark);
    font-size: 19px;
    font-weight: 700;
    margin: 0 0 12px;
}

.strategy-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.9;
    margin: 0;
}

.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.vm-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 45px 38px;
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s, opacity 0.3s;
}

.vm-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
    border-color: var(--primary-gold);
}

.vm-card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-gold), var(--dark-gold));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 22px;
}

.vm-card-icon .icon {
    font-size: 30px;
}

.vm-card h3 {
    color: var(--text-dark);
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 18px;
}

.vm-card p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 2;
    margin: 0;
}

.journey {
    position: relative;
    padding: 0 20px;
}

.journey::before {
    content: '';
    position: absolute;
    top: 30px;
    bottom: 0;
    inset-inline-start: 50%;
    width: 2px;
    background: var(--primary-gold);
    z-index: 0;
}

.journey-item:last-child::after {
    content: '';
    position: absolute;
    top: 50%;
    bottom: -1px;  
    inset-inline-start: calc(50% - 1px);
    width: 4px;
    background: var(--white);
    z-index: 1;
}

.page-section.alt-bg .journey-item:last-child::after { background: var(--bg-light); }

body.dark-mode .journey-item:last-child::after { background: #161616; }
body.dark-mode .page-section.alt-bg .journey-item:last-child::after { background: #0d0d0d; }

.journey-item {
    display: grid;
    grid-template-columns: 1fr 60px 1fr;
    gap: 20px;
    margin-bottom: 50px;
    position: relative;
}

.journey-item:last-child { margin-bottom: 0; }

.journey-marker {
    grid-column: 2;
    grid-row: 1;             
    align-self: start;       
    width: 60px;
    height: 60px;
    background: #fff;
    border: 3px solid var(--primary-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-gold);
    font-weight: 900;
    font-size: 14px;
    z-index: 2;
    margin: 0 auto;
    position: relative; 
    box-shadow: 0 5px 18px rgba(201,169,97,0.25);
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.35s ease,
                background 0.35s ease,
                color 0.35s ease;
}

.journey-marker::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid var(--primary-gold);
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
    z-index: -1;
}

.journey-item:hover .journey-marker::before {
    opacity: 1;
    transform: scale(1.15);
    animation: journeyMarkerPulse 1.5s ease-in-out infinite;
}

@keyframes journeyMarkerPulse {
    0%, 100% { transform: scale(1.15); opacity: 0.6; }
    50% { transform: scale(1.4); opacity: 0; }
}

.journey-card {
    grid-row: 1;                    
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 26px 28px;
    transition: background 0.35s ease,
                border-color 0.35s ease,
                box-shadow 0.35s ease,
                transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    cursor: default;
}

.journey-item:hover .journey-card {
    background: linear-gradient(135deg, rgba(201,169,97,0.06), transparent 60%);
    border-color: var(--primary-gold);
    box-shadow: 0 18px 40px rgba(201,169,97,0.15);
    transform: translateY(-4px);
}

.journey-item:hover .journey-marker {
    background: var(--primary-gold);
    color: #fff;
    transform: scale(1.15) rotate(-8deg);
    box-shadow: 0 12px 28px rgba(201,169,97,0.50);
}

.journey-item:hover .journey-marker .icon { color: #fff; }

.journey-card-tag {
    display: inline-block;
    color: var(--primary-gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.journey-card h3 {
    color: var(--text-dark);
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 10px;
}

.journey-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.85;
    margin: 0;
}

.journey-item.right .journey-card { grid-column: 1; grid-row: 1; }
.journey-item.left .journey-card  { grid-column: 3; grid-row: 1; }

.goals-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.goal-item {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 18px;
    align-items: flex-start;
    padding: 22px 24px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s, opacity 0.3s;
}

.goal-item:hover {
    border-color: var(--primary-gold);
    box-shadow: 0 18px 40px rgba(0,0,0,0.10);
}

.goal-num {
    width: 56px;
    height: 56px;
    background: rgba(201,169,97,0.12);
    color: var(--primary-gold);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 20px;
    flex-shrink: 0;
}

.goal-item p {
    color: var(--text-dark);
    font-size: 14.5px;
    line-height: 1.85;
    margin: 0;
    padding-top: 6px;
}

.page-cta {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    border-radius: 20px;
    padding: 55px 45px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.page-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(201,169,97,0.18), transparent 60%);
    pointer-events: none;
}

.page-cta-inner {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.page-cta h2 {
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 12px;
    color: #fff;
}

.page-cta h2 span { color: var(--primary-gold); }

.page-cta p {
    font-size: 15px;
    color: rgba(255,255,255,0.85);
    margin: 0 0 28px;
    line-height: 1.85;
}

.page-cta-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

body.dark-mode .about-hub-card {
    background: #1a1a1a;
    border-color: #2a2a2a;
}
body.dark-mode .about-hub-card h3 { color: #eee; }
body.dark-mode .strategy-card,
body.dark-mode .value-card,
body.dark-mode .journey-card,
body.dark-mode .goal-item,
body.dark-mode .vm-card:not(.dark) {
    background: #1a1a1a;
    border-color: #2a2a2a;
}
body.dark-mode .strategy-card h3,
body.dark-mode .value-content h3,
body.dark-mode .journey-card h3,
body.dark-mode .vm-card:not(.dark) h3 { color: #eee; }
body.dark-mode .goal-item p { color: #ddd; }
body.dark-mode .journey-marker { background: #1a1a1a; }
body.dark-mode .page-section.alt-bg { background: #161616; }
body.dark-mode .page-section-header h2 { color: #eee; }

@media (max-width: 992px) {
    .page-hero { padding: 60px 0 50px; }
    .page-hero h1 { font-size: 36px; }
    .page-hero-sub { font-size: 15px; }

    .about-hub-cards { grid-template-columns: 1fr; }
    .vm-grid { grid-template-columns: 1fr; }
    .strategy-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .goals-list { grid-template-columns: 1fr; }

    .page-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px 15px;
        padding: 35px 25px;
    }
    .page-stat:nth-child(3) { border-inline-end: none; }
    .page-stat:nth-child(n+4) { border-top: 1px solid rgba(255,255,255,0.18); padding-top: 22px; }

    .page-section { padding: 55px 0; }
    .page-section-header h2 { font-size: 26px; }

    .journey { padding: 0; }
    .journey::before { inset-inline-start: 72px; }
    .journey-item:last-child::after { inset-inline-start: calc(72px - 1px); }
    .journey-item {
        grid-template-columns: 30px 60px 1fr;
        gap: 12px;
    }
    .journey-item.right .journey-card,
    .journey-item.left .journey-card {
        grid-column: 3;
    }
    .journey-marker { width: 50px; height: 50px; font-size: 12px; }

    .page-cta { padding: 40px 25px; }
    .page-cta h2 { font-size: 22px; }
}

@media (max-width: 576px) {
    .page-hero h1 { font-size: 28px; }
    .page-hero-tag { font-size: 11px; padding: 5px 16px; }
    .page-stats {
        grid-template-columns: repeat(2, 1fr);
        padding: 25px 15px;
    }
    .page-stat-num { font-size: 28px; }
    .page-stat:nth-child(2n+1) { border-inline-end: 1px solid rgba(255,255,255,0.18); }
    .page-stat:nth-child(2n) { border-inline-end: none; }
    .page-stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,0.18); padding-top: 18px; }

    .value-card {
        grid-template-columns: 1fr;
        padding: 28px 22px;
        text-align: center;
    }
    .value-icon { margin: 0 auto; }

    .strategy-card { padding: 30px 22px; }
    .vm-card { padding: 35px 25px; }
    .vm-card h3 { font-size: 20px; }

    .goal-item {
        grid-template-columns: 48px 1fr;
        gap: 14px;
        padding: 18px 18px;
    }
    .goal-num { width: 48px; height: 48px; font-size: 17px; }
}

.offer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.offer-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px 26px;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s, opacity 0.3s;
    text-align: start;
}

.offer-card:hover {
    border-color: var(--primary-gold);
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.10);
}

.offer-card-icon {
    width: 60px;
    height: 60px;
    background: rgba(201,169,97,0.12);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-gold);
    margin-bottom: 20px;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s, opacity 0.3s;
}

.offer-card:hover .offer-card-icon {
    background: var(--primary-gold);
    color: #fff;
}

.offer-card-icon .icon { font-size: 26px; }

.offer-card h3 {
    color: var(--text-dark);
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 10px;
}

.offer-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.85;
    margin: 0;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.tech-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 28px 24px;
    text-align: center;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s, opacity 0.3s;
    position: relative;
    overflow: hidden;
}

.tech-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-gold), var(--dark-gold));
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 0;
    pointer-events: none;
}

.tech-card:hover::before { opacity: 1; }
.tech-card:hover .tech-icon-box { background: rgba(255,255,255,0.18); color: #fff; }
.tech-card:hover .tech-en,
.tech-card:hover h3,
.tech-card:hover p { color: #fff; }

.tech-card > * { position: relative; z-index: 1; }

.tech-icon-box {
    width: 60px;
    height: 60px;
    background: rgba(201,169,97,0.12);
    color: var(--primary-gold);
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s, opacity 0.3s;
}

.tech-icon-box .icon { font-size: 26px; }

.tech-en {
    display: block;
    color: var(--primary-gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 4px;
    direction: ltr;
    transition: color 0.3s;
}

.tech-card h3 {
    color: var(--text-dark);
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 8px;
    transition: color 0.3s;
}

.tech-card p {
    color: var(--text-light);
    font-size: 13.5px;
    line-height: 1.85;
    margin: 0;
    transition: color 0.3s;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
    margin-top: 30px;
}

.partner-card {
    aspect-ratio: 1.4 / 1;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--text-light);
    font-size: 13px;
    font-weight: 700;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s, opacity 0.3s;
    text-align: center;
    padding: 16px 12px;
}

.partner-card-logo {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, rgba(201,169,97,0.18), rgba(201,169,97,0.08));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-gold);
    font-size: 26px;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s, opacity 0.3s;
}

.partner-card-name {
    display: block;
    line-height: 1.4;
}

.partner-card:hover {
    border-color: var(--primary-gold);
    color: var(--primary-gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

.partner-card:hover .partner-card-logo {
    background: var(--primary-gold);
    color: #fff;
    transform: scale(1.08);
}

.bullet-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 30px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.bullet-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    color: var(--text-dark);
    font-size: 15px;
    line-height: 1.85;
    padding: 14px 20px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s, opacity 0.2s;
}

.bullet-list li:hover {
    border-color: var(--primary-gold);
    background: rgba(201,169,97,0.04);
}

.bullet-list .bullet-tick {
    width: 24px;
    height: 24px;
    background: var(--primary-gold);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.bullet-list .bullet-tick .icon { font-size: 12px; }

.values-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.value-mini {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 26px 22px;
    text-align: center;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s, opacity 0.3s;
}

.value-mini:hover {
    border-color: var(--primary-gold);
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.10);
}

.value-mini-icon {
    width: 55px;
    height: 55px;
    background: rgba(201,169,97,0.12);
    color: var(--primary-gold);
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s, opacity 0.3s;
}

.value-mini:hover .value-mini-icon {
    background: var(--primary-gold);
    color: #fff;
}

.value-mini-icon .icon { font-size: 22px; }

.value-mini h3 {
    color: var(--text-dark);
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px;
}

.value-mini p {
    color: var(--text-light);
    font-size: 13px;
    line-height: 1.8;
    margin: 0;
}

.future-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.future-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 28px 26px;
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 18px;
    align-items: flex-start;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s, opacity 0.3s;
}

.future-card:hover {
    border-color: var(--primary-gold);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.06);
}

.future-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-gold), var(--dark-gold));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.future-icon .icon { font-size: 24px; }

.future-card h3 {
    color: var(--text-dark);
    font-size: 17px;
    font-weight: 700;
    margin: 6px 0 8px;
}

.future-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.85;
    margin: 0;
}

.community-box {
    background: linear-gradient(135deg, #faf7ee 0%, #fff 100%);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 50px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.community-box::before {
    content: '';
    position: absolute;
    top: -40px;
    inset-inline-start: -40px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(201,169,97,0.18), transparent 70%);
}

.community-icon {
    width: 75px;
    height: 75px;
    background: linear-gradient(135deg, var(--primary-gold), var(--dark-gold));
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    position: relative;
    z-index: 1;
}

.community-icon .icon { font-size: 32px; }

.community-box h3 {
    color: var(--text-dark);
    font-size: 26px;
    font-weight: 800;
    margin: 0 0 16px;
    position: relative;
    z-index: 1;
}

.community-box p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 2;
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

body.dark-mode .offer-card,
body.dark-mode .tech-card,
body.dark-mode .partner-card,
body.dark-mode .value-mini,
body.dark-mode .future-card {
    background: #1a1a1a;
    border-color: #2a2a2a;
}
body.dark-mode .offer-card h3,
body.dark-mode .tech-card h3,
body.dark-mode .value-mini h3,
body.dark-mode .future-card h3 { color: #eee; }
body.dark-mode .bullet-list li {
    background: #1a1a1a;
    border-color: #2a2a2a;
    color: #ddd;
}
body.dark-mode .community-box {
    background: linear-gradient(135deg, #161616 0%, #1a1a1a 100%);
    border-color: #2a2a2a;
}
body.dark-mode .community-box h3 { color: #eee; }

@media (max-width: 992px) {
    .offer-grid { grid-template-columns: repeat(2, 1fr); }
    .tech-grid { grid-template-columns: repeat(2, 1fr); }
    .partners-grid { grid-template-columns: repeat(3, 1fr); }
    .bullet-list { grid-template-columns: 1fr; }
    .values-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .future-grid { grid-template-columns: 1fr; }
    .community-box { padding: 40px 25px; }
    .community-box h3 { font-size: 22px; }
}

@media (max-width: 576px) {
    .offer-grid,
    .tech-grid,
    .future-grid { grid-template-columns: 1fr; }
    .partners-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .values-grid-4 { grid-template-columns: 1fr; }
    .community-box { padding: 35px 20px; }
    .community-box h3 { font-size: 19px; }
    .future-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .future-icon { margin: 0 auto; }
}

.legal-content {
    max-width: 100%;
    margin: 0;
}

.legal-block {
    margin-bottom: 50px;
}

.legal-block:last-child { margin-bottom: 0; }

.legal-block h2 {
    color: var(--text-dark);
    font-size: 26px;
    font-weight: 800;
    margin: 0 0 12px;
    padding-inline-start: 18px;
    position: relative;
    line-height: 1.4;
}

.legal-block h2::before {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 28px;
    background: var(--primary-gold);
    border-radius: 3px;
}

.legal-block h3 {
    color: var(--primary-gold);
    font-size: 18px;
    font-weight: 700;
    margin: 24px 0 12px;
}

.legal-block p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 2;
    margin: 0 0 14px;
}

.legal-block ul {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
}

.legal-block ul li {
    position: relative;
    padding: 8px 22px 8px 0;
    color: var(--text-dark);
    font-size: 14.5px;
    line-height: 1.85;
}

.legal-block ul li::before {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    top: 17px;
    width: 8px;
    height: 8px;
    background: var(--primary-gold);
    border-radius: 50%;
}

.legal-divider {
    height: 1px;
    background: var(--border-color);
    margin: 50px 0;
    border: none;
}

.legal-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 50px;
    align-items: flex-start;
}

.legal-toc {
    position: sticky;
    top: 100px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 22px 20px;
}

.legal-toc-title {
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.legal-toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.legal-toc ul li {
    margin-bottom: 4px;
}

.legal-toc ul li a {
    display: block;
    padding: 8px 12px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 13.5px;
    border-radius: 8px;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s, opacity 0.2s;
    border-inline-start: 2px solid transparent;
}

.legal-toc ul li a:hover {
    background: var(--bg-light);
    color: var(--primary-gold);
    border-inline-start-color: var(--primary-gold);
}

.legal-toc ul li a.active {
    background: rgba(201,169,97,0.08);
    color: var(--primary-gold);
    border-inline-start-color: var(--primary-gold);
    font-weight: 700;
}

.legal-meta {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 18px 22px;
    margin-bottom: 35px;
    font-size: 13px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 12px;
}

.legal-meta .icon {
    font-size: 16px;
    color: var(--primary-gold);
    flex-shrink: 0;
}

.faq-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 50px;
    align-items: flex-start;
}

.faq-categories {
    position: sticky;
    top: 100px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 22px 20px;
}

.faq-cat-title {
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.faq-cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.faq-cat-list li {
    margin-bottom: 6px;
}

.faq-cat-list button {
    width: 100%;
    text-align: start;
    background: transparent;
    border: none;
    padding: 10px 14px;
    border-radius: 8px;
    color: var(--text-light);
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s, opacity 0.2s;
    border-inline-start: 2px solid transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.faq-cat-list button:hover {
    background: var(--bg-light);
    color: var(--primary-gold);
}

.faq-cat-list button.active {
    background: rgba(201,169,97,0.1);
    color: var(--primary-gold);
    border-inline-start-color: var(--primary-gold);
}

.faq-cat-count {
    background: var(--bg-light);
    color: var(--text-light);
    border-radius: 10px;
    font-size: 11px;
    padding: 2px 8px;
    font-weight: 700;
}

.faq-cat-list button.active .faq-cat-count {
    background: var(--primary-gold);
    color: #fff;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s, opacity 0.3s;
}

.faq-item.open {
    border-color: var(--primary-gold);
    box-shadow: 0 8px 25px rgba(201,169,97,0.10);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 20px 24px;
    text-align: start;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: color 0.2s;
}

.faq-question:hover { color: var(--primary-gold); }
.faq-item.open .faq-question { color: var(--primary-gold); }

.faq-toggle {
    width: 32px;
    height: 32px;
    background: rgba(201,169,97,0.12);
    color: var(--primary-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s, opacity 0.3s;
}

.faq-item.open .faq-toggle {
    background: var(--primary-gold);
    color: #fff;
    transform: rotate(180deg);
}

.faq-toggle .icon { font-size: 14px; }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.open .faq-answer {
    max-height: 500px;
}

.faq-answer-inner {
    padding: 0 24px 22px;
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.95;
    border-top: 1px solid var(--border-color);
    padding-top: 18px;
    margin: 0 24px;
}

.faq-search-bar {
    margin-bottom: 28px;
    position: relative;
}

.faq-search-bar input {
    width: 100%;
    padding: 14px 18px;
    padding-inline-start: 50px;
    border: 1.5px solid var(--border-color);
    border-radius: 10px;
    font-family: inherit;
    font-size: 14.5px;
    color: var(--text-dark);
    background: #fff;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s, opacity 0.2s;
}

.faq-search-bar input:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(201,169,97,0.12);
}

.faq-search-bar .icon {
    position: absolute;
    inset-inline-start: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-gold);
    width: 16px;
    height: 16px;
    pointer-events: none;
}

.faq-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-light);
    background: var(--bg-light);
    border-radius: 12px;
    font-size: 15px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: stretch;
}

.contact-info-card {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    color: #fff;
    border-radius: 18px;
    padding: 40px 35px;
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: -60px;
    inset-inline-start: -60px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(201,169,97,0.22), transparent 70%);
    pointer-events: none;
}

.contact-info-inner { position: relative; z-index: 1; }

.contact-info-card h2 {
    color: #fff;
    font-size: 26px;
    font-weight: 800;
    margin: 0 0 12px;
}

.contact-info-card h2 span { color: var(--primary-gold); }

.contact-info-card > p {
    color: rgba(255,255,255,0.85);
    font-size: 14.5px;
    line-height: 1.9;
    margin: 0 0 32px;
}

.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 0 0 35px;
}

.contact-info-list li {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 16px;
    margin-bottom: 22px;
    align-items: flex-start;
}

.contact-info-list li:last-child { margin-bottom: 0; }

.contact-info-icon {
    width: 48px;
    height: 48px;
    background: rgba(201,169,97,0.18);
    color: var(--primary-gold);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-icon .icon { font-size: 20px; }

.contact-info-text strong {
    display: block;
    color: var(--primary-gold);
    font-size: 13px;
    margin-bottom: 4px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.contact-info-text a,
.contact-info-text span {
    color: rgba(255,255,255,0.95);
    font-size: 15px;
    text-decoration: none;
    line-height: 1.6;
    display: block;
    text-align: start;
}

.contact-info-text a:hover { color: var(--primary-gold); }

.contact-info-social {
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 24px;
}

.contact-info-social-label {
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    margin-bottom: 12px;
    font-weight: 600;
}

.contact-info-social-icons {
    display: flex;
    gap: 10px;
}

.contact-info-social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.08);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s, opacity 0.3s;
}

.contact-info-social-icons a:hover {
    background: var(--primary-gold);
    transform: translateY(-3px);
}

.contact-info-social-icons .icon {
    font-size: 16px;
}

.contact-form-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 40px 35px;
}

.contact-form-card h2 {
    color: var(--text-dark);
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 8px;
}

.contact-form-card > p {
    color: var(--text-light);
    font-size: 14.5px;
    margin: 0 0 28px;
    line-height: 1.85;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.contact-field {
    display: flex;
    flex-direction: column;
}

.contact-field.full { grid-column: 1 / -1; }

.contact-field label {
    color: var(--text-dark);
    font-size: 13.5px;
    font-weight: 700;
    margin-bottom: 8px;
}

.contact-field label .req { color: #dc3545; }

.contact-field input,
.contact-field select,
.contact-field textarea {
    padding: 12px 16px;
    border: 1.5px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    color: var(--text-dark);
    background: #fff;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s, opacity 0.2s;
    width: 100%;
}

.contact-field select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23c9a961' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 12px 8px;
    padding-inline-end: 42px;
    cursor: pointer;
}

[dir="rtl"] .contact-field select { background-position: left 18px center; }
[dir="ltr"] .contact-field select { background-position: right 18px center; }

.contact-field select::-ms-expand { display: none; }

.contact-field textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(201,169,97,0.12);
}

.contact-form .btn {
    grid-column: 1 / -1;
    padding: 14px;
    font-size: 15px;
    margin-top: 4px;
}

.contact-depts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.contact-dept-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 28px 26px;
    text-align: center;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s, opacity 0.3s;
}

.contact-dept-card:hover {
    border-color: var(--primary-gold);
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.10);
}

.contact-dept-icon {
    width: 60px;
    height: 60px;
    background: rgba(201,169,97,0.12);
    color: var(--primary-gold);
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.contact-dept-icon .icon { font-size: 24px; }

.contact-dept-card h3 {
    color: var(--text-dark);
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 8px;
}

.contact-dept-card p {
    color: var(--text-light);
    font-size: 13.5px;
    line-height: 1.85;
    margin: 0 0 14px;
}

.contact-dept-card a {
    color: var(--primary-gold);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    direction: ltr;
    display: inline-block;
}

.contact-dept-card a:hover { text-decoration: underline; }

body.dark-mode .legal-toc,
body.dark-mode .faq-categories,
body.dark-mode .faq-item,
body.dark-mode .contact-form-card,
body.dark-mode .contact-dept-card {
    background: #1a1a1a;
    border-color: #2a2a2a;
}
body.dark-mode .legal-block h2,
body.dark-mode .faq-question,
body.dark-mode .contact-form-card h2,
body.dark-mode .contact-dept-card h3 { color: #eee; }
body.dark-mode .legal-meta { background: #161616; border-color: #2a2a2a; color: #ccc; }
body.dark-mode .faq-search-bar input,
body.dark-mode .contact-field input,
body.dark-mode .contact-field textarea {
    background: #0f0f0f;
    border-color: #2a2a2a;
    color: #eee;
}

body.dark-mode .contact-field select {
    background-color: #0f0f0f;
    border-color: #2a2a2a;
    color: #eee;
}
body.dark-mode .contact-field input::placeholder,
body.dark-mode .contact-field textarea::placeholder,
body.dark-mode .faq-search-bar input::placeholder {
    color: #888;
    opacity: 1;
}
body.dark-mode .contact-field label { color: #ddd; }
body.dark-mode .contact-field select { color: #eee; }
body.dark-mode .contact-field select option { background: #1a1a1a; color: #eee; }
body.dark-mode .faq-empty { background: #161616; }
body.dark-mode .faq-cat-list button.active { background: rgba(201,169,97,0.15); }
body.dark-mode .faq-toggle { background: #2a2a2a; }

@media (max-width: 992px) {
    .legal-layout,
    .faq-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .legal-toc,
    .faq-categories {
        position: static;
    }
    .faq-cat-list {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }
    .faq-cat-list li { margin: 0; flex: 1 1 auto; }
    .faq-cat-list button { white-space: nowrap; }

    .contact-layout { grid-template-columns: 1fr; gap: 25px; }
    .contact-depts { grid-template-columns: 1fr; }
}

@media (max-width: 576px) {
    .legal-block h2 { font-size: 22px; }
    .legal-block p { font-size: 14px; }
    .contact-info-card,
    .contact-form-card { padding: 30px 22px; }
    .contact-form { grid-template-columns: 1fr; }
    .faq-question { font-size: 14.5px; padding: 16px 18px; }
    .faq-answer-inner { padding: 0 18px 18px; margin: 0 18px; font-size: 14px; }
}

.list-toolbar {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.list-search {
    flex: 1;
    min-width: 240px;
    position: relative;
}

.list-search input {
    width: 100%;
    padding: 12px 16px;
    padding-inline-start: 46px;
    border: 1.5px solid var(--border-color);
    border-radius: 10px;
    font-family: inherit;
    font-size: 14.5px;
    color: var(--text-dark);
    background: #fff;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s, opacity 0.2s;
}

.list-search input:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(201,169,97,0.12);
}

.list-search .icon {
    position: absolute;
    inset-inline-start: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-gold);
    width: 16px;
    height: 16px;
    pointer-events: none;
}

.list-sort {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1.5px solid var(--border-color);
    border-radius: 10px;
    padding: 0 14px;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s, opacity 0.2s;
}

.list-sort:focus-within {
    border-color: var(--primary-gold);
}

.list-sort label {
    color: var(--text-light);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.list-sort select {
    border: none;
    background: transparent;
    padding: 12px 4px;
    padding-inline-end: 22px;
    font-family: inherit;
    font-size: 14px;
    color: var(--text-dark);
    cursor: pointer;
    font-weight: 600;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23c9a961' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 10px 7px;
    background-position: left 4px center;
}

[dir="ltr"] .list-sort select { background-position: right 4px center; }

.list-sort select:focus { outline: none; }

.list-filter-btns {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.list-filter-btn {
    padding: 10px 18px;
    background: #fff;
    border: 1.5px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s, opacity 0.2s;
}

.list-filter-btn:hover {
    border-color: var(--primary-gold);
    color: var(--primary-gold);
}

.list-filter-btn.active {
    background: var(--primary-gold);
    color: #fff;
    border-color: var(--primary-gold);
}

.list-results-count {
    color: var(--text-light);
    font-size: 13.5px;
    margin-top: 22px;
    margin-bottom: 18px;
}

.list-results-count strong { color: var(--text-dark); }

.list-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
    background: var(--bg-light);
    border-radius: 14px;
    font-size: 15px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.news-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    overflow: hidden;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s, opacity 0.3s;
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.10);
    border-color: var(--primary-gold);
}

.news-card-img {
    aspect-ratio: 16 / 10;
    background-size: cover;
    background-position: center;
    background-color: var(--bg-light);
    position: relative;
}

.news-card-cat {
    position: absolute;
    top: 14px;
    inset-inline-start: 14px;
    background: rgba(255,255,255,0.95);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--primary-gold);
    padding: 5px 14px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 700;
}

.news-card-body {
    padding: 22px 22px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-card-date {
    color: var(--text-light);
    font-size: 12.5px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-card-date .icon {
    font-size: 13px;
    color: var(--primary-gold);
}

.news-card h3 {
    color: var(--text-dark);
    font-size: 16.5px;
    font-weight: 700;
    line-height: 1.6;
    margin: 0 0 12px;
    transition: color 0.2s;
}

.news-card:hover h3 { color: var(--primary-gold); }

.news-card p {
    color: var(--text-light);
    font-size: 13.5px;
    line-height: 1.85;
    margin: 0 0 16px;
    flex: 1;
}

.news-card-link {
    color: var(--primary-gold);
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
}

.news-card-link .icon {
    font-size: 12px;
    transition: transform 0.2s;
}

[dir="rtl"] .news-card:hover .news-card-link .icon { transform: translateX(-4px); }
[dir="ltr"] .news-card:hover .news-card-link .icon { transform: scaleX(-1) translateX(-4px); }

.article-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: flex-start;
}

.article-layout--full {
    grid-template-columns: 1fr;
}

.article-main {
    max-width: 100%;
}

.article-cover {
    aspect-ratio: 16 / 8;
    background-size: cover;
    background-position: center;
    background-color: var(--bg-light);
    border-radius: 18px;
    margin-bottom: 28px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.08);
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.article-cat {
    display: inline-block;
    background: rgba(201,169,97,0.12);
    color: var(--primary-gold);
    padding: 5px 14px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 700;
}

.article-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-light);
    font-size: 13px;
}

.article-meta-item .icon {
    font-size: 13px;
    color: var(--primary-gold);
}

.article-title {
    color: var(--text-dark);
    font-size: 32px;
    font-weight: 800;
    line-height: 1.4;
    margin: 0 0 30px;
}

.article-body {
    color: var(--text-dark);
    font-size: 16px;
    line-height: 2;
}

.article-body p {
    margin: 0 0 22px;
}

.article-body h2 {
    color: var(--text-dark);
    font-size: 24px;
    font-weight: 800;
    margin: 36px 0 16px;
}

.article-body h3 {
    color: var(--primary-gold);
    font-size: 19px;
    font-weight: 700;
    margin: 28px 0 14px;
}

.article-body blockquote {
    border-inline-start: 4px solid var(--primary-gold);
    background: var(--bg-light);
    padding: 20px 24px;
    margin: 22px 0;
    border-radius: 0 10px 10px 0;
    font-size: 16px;
    color: var(--text-dark);
    font-style: italic;
}

.article-body ul, .article-body ol {
    margin: 16px 0 22px;
    padding-inline-start: 22px;
}

.article-body ul li,
.article-body ol li {
    margin-bottom: 8px;
}

.article-body img {
    max-width: 100%;
    border-radius: 12px;
    margin: 22px 0;
}

.article-share {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 22px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin: 35px 0;
}

.article-share-label {
    font-size: 14px;
    color: var(--text-dark);
    font-weight: 700;
    margin-inline-end: 6px;
}

.article-share a,
.article-share button {
    width: 38px;
    height: 38px;
    background: var(--bg-light);
    color: var(--text-dark);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s, opacity 0.2s;
    cursor: pointer;
    padding: 0;
    font: inherit;
}

.article-share a:hover,
.article-share button:hover {
    background: var(--primary-gold);
    color: #fff;
}

.article-share .icon { font-size: 14px; }

.article-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 22px;
}

.sidebar-card h4 {
    color: var(--text-dark);
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sidebar-cat-list li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}
.sidebar-cat-list li:last-child { border-bottom: none; }
.sidebar-cat-list a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 13.5px;
    transition: color 0.2s;
}
.sidebar-cat-list a:hover { color: var(--primary-gold); }

body.dark-mode .sidebar-cat-list li { border-bottom-color: #2a2a2a; }
body.dark-mode .sidebar-cat-list a { color: #ddd; }

.sidebar-news-item {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 12px;
    text-decoration: none;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-news-item:last-child { border-bottom: none; padding-bottom: 0; }

.sidebar-news-img {
    width: 70px;
    height: 60px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    background-color: var(--bg-light);
}

.sidebar-news-content h4,
.sidebar-news-content h5 {
    color: var(--text-dark);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.55;
    margin: 0 0 5px;
    transition: color 0.2s;
}

.sidebar-news-item:hover h4,
.sidebar-news-item:hover h5 { color: var(--primary-gold); }

.sidebar-news-content small {
    color: var(--text-light);
    font-size: 11.5px;
}

.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 35px;
    background: #fff;
    border-radius: 50px;
    padding: 6px;
    width: fit-content;
    margin-inline-end: auto;
    margin-inline-start: auto;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
}

.gallery-tab {
    padding: 11px 28px;
    border-radius: 50px;
    border: none;
    background: transparent;
    color: var(--text-light);
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s, opacity 0.2s;
}

.gallery-tab:hover { color: var(--primary-gold); }

.gallery-tab.active {
    background: var(--primary-gold);
    color: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 9 / 14;
    border-radius: 12px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-color: var(--bg-light);
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s, opacity 0.3s;
    text-decoration: none;
    display: block;
}

.gallery-item.video { aspect-ratio: 16 / 11; }

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.7) 100%);
    opacity: 0.7;
    transition: opacity 0.3s;
}

.gallery-item:hover .gallery-item-overlay { opacity: 1; }

.gallery-item-info {
    position: absolute;
    bottom: 14px;
    inset-inline-start: 14px;
    inset-inline-end: 14px;
    z-index: 2;
    color: #fff;
}

.gallery-item-info h3 {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 4px;
    line-height: 1.4;
}

.gallery-item-info small {
    font-size: 11.5px;
    opacity: 0.85;
}

.gallery-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--primary-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    z-index: 2;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s, opacity 0.3s;
}

.gallery-item:hover .gallery-play-overlay {
    transform: translate(-50%, -50%) scale(1.1);
}

.gallery-play-overlay .icon { font-size: 22px; }

.gallery-cat-badge {
    position: absolute;
    top: 12px;
    inset-inline-start: 12px;
    background: rgba(255,255,255,0.95);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: var(--primary-gold);
    padding: 4px 12px;
    border-radius: 14px;
    font-size: 11px;
    font-weight: 700;
    z-index: 2;
}

.gallery-viewer {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: flex-start;
}

.gallery-viewer-main {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background-size: cover;
    background-position: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    position: relative;
    transition: box-shadow 0.4s ease;
}

.gallery-viewer-main:hover {
    box-shadow: 0 25px 60px rgba(201,169,97,0.18);
}

.gallery-viewer-main.video::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.4) 100%);
    pointer-events: none;
}

.gallery-viewer-main.video { aspect-ratio: 16 / 9; }

.gallery-viewer-main.photo-card {
    text-decoration: none;
}

.gallery-viewer-main.photo-card-viewer {
    aspect-ratio: auto;
    background: var(--bg-light);
    display: block;
    padding: 0;
    line-height: 0;
}

.gallery-viewer-img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    background: #1a1a1a;
}

.photo-card-viewer .photo-card-overlay {
    background: transparent;
    opacity: 1;
    pointer-events: none;
}

.photo-card-viewer .photo-card-overlay .icon {
    transform: scale(1);
    animation: playPulse 2s infinite;
    box-shadow: 0 12px 30px rgba(0,0,0,0.40);
    pointer-events: auto;
    width: 80px;
    height: 80px;
    font-size: 30px;
}

.photo-card-viewer:hover .photo-card-overlay {
    background: rgba(0,0,0,0.35);
}

.gallery-viewer-main.is-playing::before { display: none; }
.gallery-viewer-main.is-playing .gallery-viewer-play,
.gallery-viewer-main.is-playing .gallery-viewer-duration { display: none; }
.gallery-viewer-main iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    position: absolute;
    inset: 0;
}

.gallery-viewer-duration {
    position: absolute;
    bottom: 14px;
    inset-inline-end: 14px;
    background: rgba(0,0,0,0.75);
    color: #fff;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    padding: 5px 12px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 700;
    z-index: 2;
}

.gallery-viewer-watch-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    background: #ff0000;
    color: #fff;
    border: none;
    padding: 12px 22px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s, opacity 0.3s;
}

.gallery-viewer-watch-btn:hover {
    background: #cc0000;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255,0,0,0.30);
}

.gallery-viewer-watch-btn .icon { font-size: 18px; }

.gallery-viewer-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    background: var(--primary-gold);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s, opacity 0.3s;
    z-index: 3;
    animation: playPulse 2s infinite;
}

.gallery-viewer-play:hover {
    transform: translate(-50%, -50%) scale(1.08);
}

.gallery-viewer-play .icon { font-size: 32px; }

.gallery-viewer-info-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 26px 24px;
    position: sticky;
    top: 100px;
}

.gallery-viewer-info-card h1,
.gallery-viewer-info-card h2 {
    color: var(--text-dark);
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 14px;
    line-height: 1.45;
}

.gallery-viewer-info-card .article-meta {
    margin-bottom: 16px;
}

.gallery-viewer-info-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.95;
    margin: 0 0 18px;
}

.gallery-viewer-section { padding-top: 35px; }

.page-section.section-pt-tight { padding-top: 35px; }

.page-breadcrumb {
    margin-bottom: 25px;
    font-size: 13px;
    color: var(--text-light);
}
.page-breadcrumb a {
    color: var(--text-light);
    text-decoration: none;
}
.page-breadcrumb a:hover { color: var(--primary-gold); }
.page-breadcrumb-sep {
    margin: 0 8px;
    color: var(--primary-gold);
}
.page-breadcrumb-current { color: var(--primary-gold); }

.gallery-viewer-breadcrumb { margin-bottom: 25px; font-size: 13px; color: var(--text-light); }
.gallery-viewer-breadcrumb a { color: var(--text-light); text-decoration: none; }
.gallery-viewer-breadcrumb a:hover { color: var(--primary-gold); }
.gallery-viewer-breadcrumb-sep { margin: 0 8px; color: var(--primary-gold); }
.gallery-viewer-breadcrumb-current { color: var(--primary-gold); }

.gallery-viewer-share {
    border-top: 1px solid var(--border-color);
    padding-top: 18px;
    margin-top: 18px;
}
.gallery-viewer-share-label {
    color: var(--text-dark);
    font-size: 13px;
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
}
.gallery-viewer-share-icons {
    display: flex;
    gap: 8px;
}
.gallery-viewer-share-icons a {
    width: 36px;
    height: 36px;
    background: var(--bg-light);
    color: var(--text-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s, opacity 0.2s;
}
.gallery-viewer-share-icons a:hover {
    background: var(--primary-gold);
    color: #fff;
}
.gallery-viewer-share-icons .icon { font-size: 14px; }

.gallery-viewer-back-btn { margin-top: 22px; }

.gallery-viewer-related { margin-top: 50px; }
.gallery-viewer-related-title {
    color: var(--text-dark);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 18px;
}

body.dark-mode .page-breadcrumb,
body.dark-mode .page-breadcrumb a,
body.dark-mode .gallery-viewer-breadcrumb,
body.dark-mode .gallery-viewer-breadcrumb a { color: #aaa; }
body.dark-mode .gallery-viewer-share { border-top-color: #2a2a2a; }
body.dark-mode .gallery-viewer-share-label,
body.dark-mode .gallery-viewer-related-title { color: #eee; }
body.dark-mode .gallery-viewer-share-icons a {
    background: #2a2a2a;
    color: #ddd;
}
body.dark-mode .gallery-viewer-share-icons a:hover {
    background: var(--primary-gold);
    color: #fff;
}

body.dark-mode .gallery-viewer-main {
    background: #1a1a1a;
    border-color: #2a2a2a;
}

.gallery-thumbs-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 35px;
}

.gallery-thumb {
    aspect-ratio: 1 / 1.5;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    background-color: var(--bg-light);
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s, opacity 0.2s;
    border: 2px solid transparent;
    display: block;
    text-decoration: none;
}

.gallery-thumb:hover {
    transform: translateY(-3px);
}

.gallery-thumb.current {
    border-color: var(--primary-gold);
    box-shadow: 0 5px 18px rgba(201,169,97,0.3);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.program-detail-hero {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    color: #fff;
    padding: 70px 0 60px;
    position: relative;
    overflow: hidden;
}

.program-detail-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(201,169,97,0.18), transparent 60%);
    pointer-events: none;
}

.program-detail-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30L30 0Z' fill='none' stroke='%23c9a961' stroke-opacity='0.05' stroke-width='1'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

.program-detail-hero > .container {
    position: relative;
    z-index: 2;
}

.program-detail-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.program-detail-main .page-hero-tag { background: rgba(201,169,97,0.18); }

.program-detail-main h1 {
    color: #fff;
    font-size: 36px;
    font-weight: 800;
    line-height: 1.4;
    margin: 16px 0;
}

.program-detail-main h1 span { color: var(--primary-gold); }

.program-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 22px;
    font-size: 13px;
    color: rgba(255,255,255,0.85);
}

.program-detail-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.program-detail-meta-item .icon {
    font-size: 14px;
    color: var(--primary-gold);
}

.program-detail-main > p {
    color: rgba(255,255,255,0.92);
    font-size: 16px;
    line-height: 1.95;
    margin: 0;
}

.program-subscribe-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px 26px;
    color: var(--text-dark);
    box-shadow: 0 18px 40px rgba(0,0,0,0.10);
}

.program-subscribe-card .price {
    font-size: 32px;
    font-weight: 900;
    color: var(--primary-gold);
    margin-bottom: 4px;
}

.program-subscribe-card .price-label {
    color: var(--text-light);
    font-size: 13px;
    margin-bottom: 22px;
}

.service-info-card .service-free-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 16px;
    background: rgba(45, 143, 95, 0.08);
    color: #2d8f5f;
    border: 1px solid rgba(45, 143, 95, 0.2);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 22px;
}

.service-info-card .service-free-badge .icon {
    font-size: 16px;
}

body.dark-mode .service-info-card .service-free-badge {
    background: rgba(45, 143, 95, 0.12);
    border-color: rgba(45, 143, 95, 0.3);
    color: #5db585;
}

.program-subscribe-card .info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 13.5px;
}

.program-subscribe-card .info-row:last-of-type { border-bottom: none; }

.program-subscribe-card .info-label {
    color: var(--text-light);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.program-subscribe-card .info-label .icon {
    font-size: 13px;
    color: var(--primary-gold);
}

.program-subscribe-card .info-value {
    color: var(--text-dark);
    font-weight: 700;
}

.program-subscribe-card .btn {
    width: 100%;
    margin-top: 22px;
    padding: 13px;
    font-size: 15px;
}

.program-content-tabs {
    display: inline-flex;
    gap: 4px;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 30px;
    overflow-x: auto;
    max-width: 100%;
    scrollbar-width: none; 
    -ms-overflow-style: none; 
}

.program-content-tabs::-webkit-scrollbar {
    display: none; 
}

.program-content-tab {
    padding: 13px 24px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    font-family: inherit;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--text-light);
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s, opacity 0.2s;
    white-space: nowrap;
    margin-bottom: -2px;
}

.program-content-tab:hover { color: var(--primary-gold); }

.program-content-tab.active {
    color: var(--primary-gold);
    border-bottom-color: var(--primary-gold);
}

.program-content-panel { display: none; }
.program-content-panel.active { display: block; }

.program-content-panel h2 {
    color: var(--text-dark);
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 16px;
}

.program-content-panel h3 {
    color: var(--primary-gold);
    font-size: 18px;
    font-weight: 700;
    margin: 24px 0 12px;
}

.program-content-panel p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 2;
    margin: 0 0 16px;
}

.program-content-panel ul {
    list-style: none;
    padding: 0;
    margin: 16px 0;
}

.program-content-panel ul li {
    padding: 10px 26px 10px 0;
    color: var(--text-dark);
    font-size: 14.5px;
    position: relative;
    line-height: 1.85;
}

.program-content-panel ul li::before {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    top: 17px;
    width: 8px;
    height: 8px;
    background: var(--primary-gold);
    border-radius: 50%;
}

.curriculum-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0;
}

.curriculum-item {
    display: grid;
    grid-template-columns: 50px 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 16px 20px;
    background: var(--bg-light);
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.curriculum-num {
    width: 38px;
    height: 38px;
    background: var(--primary-gold);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 13px;
}

.curriculum-info h4 {
    color: var(--text-dark);
    font-size: 14.5px;
    font-weight: 700;
    margin: 0 0 3px;
}

.curriculum-info small {
    color: var(--text-light);
    font-size: 12px;
}

.curriculum-hours {
    color: var(--primary-gold);
    font-size: 13px;
    font-weight: 700;
}

body.dark-mode .news-card,
body.dark-mode .program-card,
body.dark-mode .sidebar-card,
body.dark-mode .gallery-viewer-info-card,
body.dark-mode .program-subscribe-card {
    background: #1a1a1a;
    border-color: #2a2a2a;
}
body.dark-mode .news-card h3,
body.dark-mode .article-title,
body.dark-mode .program-card h3,
body.dark-mode .gallery-viewer-info-card h1,
body.dark-mode .gallery-viewer-info-card h2,
body.dark-mode .program-content-panel h2,
body.dark-mode .article-body,
body.dark-mode .program-content-panel ul li,
body.dark-mode .sidebar-card h4,
body.dark-mode .sidebar-news-content h4,
body.dark-mode .sidebar-news-content h5 { color: #eee; }
body.dark-mode .list-search input,
body.dark-mode .list-sort,
body.dark-mode .list-filter-btn {
    background: #1a1a1a;
    border-color: #2a2a2a;
    color: #ddd;
}
body.dark-mode .list-search input::placeholder {
    color: #888;
    opacity: 1;
}
body.dark-mode .list-search > .icon {
    color: #888;
}
body.dark-mode .list-sort label { color: #ccc; }
body.dark-mode .list-sort select { background: #1a1a1a; color: #eee; }
body.dark-mode .list-sort select option { background: #1a1a1a; }
body.dark-mode .list-filter-btn:hover {
    border-color: var(--primary-gold);
    color: var(--primary-gold);
}
body.dark-mode .list-filter-btn.active {
    background: var(--primary-gold);
    border-color: var(--primary-gold);
    color: #fff;
}
body.dark-mode .list-sort select { color: #eee; }
body.dark-mode .gallery-tabs {
    background: #1a1a1a;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}
body.dark-mode .gallery-tab { color: #aaa; }
body.dark-mode .article-share {
    border-color: #2a2a2a;
}
body.dark-mode .article-share a,
body.dark-mode .article-share button {
    background: #2a2a2a;
    color: #ddd;
}
body.dark-mode .article-body blockquote {
    background: #161616;
    color: #eee;
}
body.dark-mode .curriculum-item {
    background: #161616;
    border-color: #2a2a2a;
}
body.dark-mode .curriculum-info h4 { color: #eee; }
body.dark-mode .program-content-tabs { border-bottom-color: #2a2a2a; }
body.dark-mode .list-empty { background: #161616; }
body.dark-mode .news-card-cat { background: rgba(20,20,20,0.95); }

@media (max-width: 1100px) {
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .programs-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 992px) {
    .article-layout,
    .gallery-viewer,
    .program-detail-grid {
        grid-template-columns: 1fr;
    }
    .article-sidebar,
    .gallery-viewer-info-card,
    .program-subscribe-card {
        position: static;
    }
    .article-title { font-size: 26px; }
    .program-detail-main h1 { font-size: 28px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .list-toolbar { flex-direction: column; align-items: stretch; }
    .list-search { min-width: 0; }

    .list-filter-btns { gap: 6px; margin-bottom: 25px; }
    .list-filter-btn { padding: 8px 14px; font-size: 12.5px; }
}

@media (max-width: 576px) {
    .news-grid,
    .programs-grid { grid-template-columns: 1fr; }
    .article-title { font-size: 22px; }
    .program-detail-main h1 { font-size: 24px; }
    .article-body { font-size: 15px; }
    .article-cover { aspect-ratio: 16 / 9; }
    .gallery-thumbs-strip { grid-template-columns: repeat(3, 1fr); }
    .program-content-tabs { gap: 0; }
    .program-content-tab { padding: 11px 16px; font-size: 13px; }
    .curriculum-item { grid-template-columns: 38px 1fr; gap: 12px; padding: 14px 16px; }
    .curriculum-hours { grid-column: 2; margin-top: 4px; }

    .gallery-grid { gap: 12px; }
}

.program-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 28px 26px;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s, opacity 0.3s;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    inset-inline-start: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-gold), var(--dark-gold));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s;
    pointer-events: none;
}

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

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.10);
    border-color: var(--primary-gold);
}

.program-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 18px;
}

.program-card-icon {
    width: 56px;
    height: 56px;
    background: rgba(201,169,97,0.10);
    border: 1px solid rgba(201,169,97,0.25);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-gold);
    flex-shrink: 0;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s, opacity 0.3s;
}

.program-card:hover .program-card-icon {
    background: linear-gradient(135deg, var(--primary-gold), var(--dark-gold));
    color: #fff;
    border-color: transparent;
}

.program-card-icon .icon { font-size: 22px; }

.program-card-level {
    background: rgba(201,169,97,0.12);
    color: var(--primary-gold);
    padding: 6px 14px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 700;
}

.program-card h3 {
    color: var(--text-dark);
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 12px;
    line-height: 1.5;
    transition: color 0.2s;
}

.program-card:hover h3 { color: var(--primary-gold); }

.program-card p {
    color: var(--text-light);
    font-size: 13.5px;
    line-height: 1.85;
    margin: 0 0 18px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.program-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--border-color);
}

.program-card-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-light);
    font-size: 12px;
    font-weight: 600;
}

.program-card-meta-item .icon {
    font-size: 13px;
    color: var(--primary-gold);
}

.program-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.program-card-link {
    color: var(--primary-gold);
    font-size: 13.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.program-card-link .icon {
    font-size: 11px;
    transition: transform 0.2s;
}

[dir="rtl"] .program-card:hover .program-card-link .icon { transform: translateX(-4px); }
[dir="ltr"] .program-card:hover .program-card-link .icon { transform: scaleX(-1) translateX(-4px); }

.curriculum-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 20px 0;
}

.curriculum-item {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    gap: 18px;
    align-items: center;
    padding: 20px 22px;
    background: #fff;
    border-radius: 14px;
    border: 1px solid var(--border-color);
    transition: background-color 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s, transform 0.25s, opacity 0.25s;
    position: relative;
    overflow: hidden;
}

.curriculum-item::before {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-gold), var(--dark-gold));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s;
    pointer-events: none;
}

.curriculum-item:hover {
    border-color: var(--primary-gold);
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}
[dir="rtl"] .curriculum-item:hover { transform: translateX(-4px); }
[dir="ltr"] .curriculum-item:hover { transform: translateX(4px); }

.curriculum-item:hover::before {
    transform: scaleY(1);
}

.curriculum-num {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-gold), var(--dark-gold));
    color: #fff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 16px;
    box-shadow: 0 6px 18px rgba(201,169,97,0.30);
}

.curriculum-info h4 {
    color: var(--text-dark);
    font-size: 15.5px;
    font-weight: 700;
    margin: 0 0 4px;
}

.curriculum-info small {
    color: var(--text-light);
    font-size: 12.5px;
    line-height: 1.65;
}

.curriculum-hours {
    color: var(--primary-gold);
    font-size: 13px;
    font-weight: 800;
    padding: 6px 14px;
    background: rgba(201,169,97,0.10);
    border-radius: 18px;
    white-space: nowrap;
}

.learn-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 24px 0;
}

.learn-item {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 14px;
    align-items: flex-start;
    padding: 18px 20px;
    background: var(--bg-light);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: background-color 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s, transform 0.25s, opacity 0.25s;
}

.learn-item:hover {
    background: #fff;
    border-color: var(--primary-gold);
    box-shadow: 0 18px 40px rgba(0,0,0,0.10);
}

.learn-icon {
    width: 40px;
    height: 40px;
    background: rgba(201,169,97,0.15);
    color: var(--primary-gold);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.learn-icon .icon { font-size: 16px; }

.learn-item h5 {
    color: var(--text-dark);
    font-size: 14.5px;
    font-weight: 700;
    margin: 6px 0 4px;
}

.learn-item p {
    color: var(--text-light);
    font-size: 13px;
    line-height: 1.7;
    margin: 0;
}

.instructors-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin: 20px 0;
}

.instructor-card {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 16px;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    transition: background-color 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s, transform 0.25s, opacity 0.25s;
    align-items: center;
}

.instructor-card:hover {
    border-color: var(--primary-gold);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.06);
}

.instructor-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-gold), var(--dark-gold));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 26px;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 6px 18px rgba(201,169,97,0.30);
}

.instructor-info h4 {
    color: var(--text-dark);
    font-size: 15.5px;
    font-weight: 700;
    margin: 0 0 4px;
}

.instructor-role {
    color: var(--primary-gold);
    font-size: 12.5px;
    font-weight: 600;
    margin: 0 0 6px;
}

.instructor-bio {
    color: var(--text-light);
    font-size: 12.5px;
    line-height: 1.7;
    margin: 0;
}

.program-section-header {
    margin-bottom: 18px;
}

.program-section-header--spaced  { margin-top: 32px; }
.program-section-header--tight   { margin-top: 24px; }

.program-section-header h2 {
    color: var(--text-dark);
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 8px;
    position: relative;
    padding-inline-start: 18px;
}

.program-section-header h2::before {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 24px;
    background: linear-gradient(180deg, var(--primary-gold), var(--dark-gold));
    border-radius: 3px;
}

.program-section-header p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.85;
    margin: 0;
}

body.dark-mode .program-content-tabs {
    background: #1a1a1a;
    border-color: #2a2a2a;
}
body.dark-mode .curriculum-item {
    background: #1a1a1a;
    border-color: #2a2a2a;
}
body.dark-mode .curriculum-info h4 { color: #eee; }
body.dark-mode .learn-item {
    background: #161616;
    border-color: #2a2a2a;
}
body.dark-mode .learn-item:hover {
    background: #1a1a1a;
}
body.dark-mode .learn-item h5 { color: #eee; }
body.dark-mode .instructor-card {
    background: #1a1a1a;
    border-color: #2a2a2a;
}
body.dark-mode .instructor-info h4 { color: #eee; }
body.dark-mode .program-section-header h2 { color: #eee; }
body.dark-mode .program-section-header { border-bottom-color: #2a2a2a; }
body.dark-mode .program-subscribe-trust {
    background: #161616;
    border-top-color: #2a2a2a;
}

@media (max-width: 992px) {
    .program-detail-hero { padding: 40px 0 60px; }
    .program-detail-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    .learn-grid { grid-template-columns: 1fr; }
    .instructors-grid { grid-template-columns: 1fr; }
}

@media (max-width: 576px) {
    .program-card h3 { font-size: 16px; min-height: 0; }
    .program-card-meta { grid-template-columns: repeat(3, 1fr); gap: 4px; }
    .program-card-meta-item { font-size: 11px; }
    .program-card-meta-item small { font-size: 10px; }
    .program-card-meta-item .icon { font-size: 14px; }
    .program-card-footer {
        flex-direction: column;
        gap: 12px;
        align-items: stretch !important;
    }
    .program-card-cta { justify-content: center; }

    .program-content-tab { 
        padding: 10px 14px;
        font-size: 12.5px;
    }
    .program-content-tab .icon { display: none; }

    .curriculum-item {
        grid-template-columns: 44px 1fr;
        gap: 14px;
        padding: 16px 18px;
    }
    .curriculum-hours { 
        grid-column: 2;
        justify-self: flex-start;
        margin-top: 6px;
    }

    .program-subscribe-card .price { font-size: 30px; }
    .program-detail-stats { grid-template-columns: repeat(2, 1fr); }
    .program-detail-stat-num { font-size: 22px; }

    .program-social-proof {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

.article-progress {
    position: fixed;
    top: 0;
    inset-inline-end: 0;
    inset-inline-start: 0;
    height: 3px;
    background: rgba(201,169,97,0.15);
    z-index: 1001;
}

.article-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-gold), var(--dark-gold));
    width: 0%;
    transition: width 0.1s linear;
    box-shadow: 0 0 12px rgba(201,169,97,0.6);
}

.article-header-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.article-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.article-author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-gold), var(--dark-gold));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(201,169,97,0.30);
    flex-shrink: 0;
}

.article-author-info {
    display: flex;
    flex-direction: column;
    line-height: 1.4;
}

.article-author-name {
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 700;
}

.article-author-role {
    color: var(--text-light);
    font-size: 12px;
}

.article-meta-divider {
    width: 1px;
    height: 30px;
    background: var(--border-color);
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 28px 0;
    padding: 18px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.article-tags-label {
    color: var(--text-dark);
    font-size: 13px;
    font-weight: 700;
    margin-inline-end: 6px;
    align-self: center;
}

.article-tag {
    display: inline-block;
    padding: 6px 14px;
    background: var(--bg-light);
    color: var(--text-dark);
    border-radius: 18px;
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s, opacity 0.2s;
    border: 1px solid var(--border-color);
}

.article-tag:hover {
    background: var(--primary-gold);
    color: #fff;
    border-color: var(--primary-gold);
    transform: translateY(-2px);
}

.article-toc {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 22px 24px;
    margin: 28px 0;
}

.article-toc-title {
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 800;
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-toc-title .icon { color: var(--primary-gold); font-size: 14px; }

.article-toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: toc;
}

.article-toc-list li {
    counter-increment: toc;
    padding: 6px 0;
    padding-inline-start: 30px;
    position: relative;
}

.article-toc-list li::before {
    content: counter(toc);
    position: absolute;
    inset-inline-start: 0;
    top: 6px;
    width: 22px;
    height: 22px;
    background: var(--primary-gold);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
}

.article-toc-list a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
    transition: color 0.2s;
}

.article-toc-list a:hover {
    color: var(--primary-gold);
}

.sidebar-newsletter {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    color: #fff;
    border-radius: 14px;
    padding: 24px 22px;
    position: relative;
    overflow: hidden;
}

.sidebar-newsletter::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(201,169,97,0.20), transparent 60%);
    pointer-events: none;
}

.sidebar-newsletter h4 {
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    margin: 0 0 10px;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-newsletter h4 .icon {
    color: var(--primary-gold);
    font-size: 18px;
}

.sidebar-newsletter p {
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    line-height: 1.7;
    margin: 0 0 16px;
    position: relative;
    z-index: 1;
}

.sidebar-newsletter input {
    width: 100%;
    padding: 10px 14px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.sidebar-newsletter input::placeholder { color: rgba(255,255,255,0.5); }

.sidebar-newsletter input:focus {
    outline: none;
    border-color: var(--primary-gold);
    background: rgba(255,255,255,0.12);
}

.sidebar-newsletter button {
    width: 100%;
    padding: 11px;
    background: var(--primary-gold);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-weight: 700;
    font-size: 13.5px;
    cursor: pointer;
    transition: background 0.2s;
    position: relative;
    z-index: 1;
}

.sidebar-newsletter button:hover { background: var(--dark-gold); }

.article-share {
    background: var(--bg-light);
    padding: 18px 22px;
    border-radius: 14px;
    border-top: none !important;
    border-bottom: none !important;
    margin: 35px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.article-share-stats {
    margin-inline-start: auto;
    display: flex;
    gap: 18px;
    color: var(--text-light);
    font-size: 13px;
}

.article-share-stats span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.article-share-stats .icon {
    color: var(--primary-gold);
    font-size: 13px;
}

body.dark-mode .article-share { background: #161616; }
body.dark-mode .article-toc { background: #161616; border-color: #2a2a2a; }
body.dark-mode .article-toc-title { color: #eee; }
body.dark-mode .article-toc-list a { color: #ddd; }
body.dark-mode .article-author-name { color: #eee; }
body.dark-mode .article-tag {
    background: #161616;
    border-color: #2a2a2a;
    color: #ddd;
}
body.dark-mode .article-meta-divider { background: #2a2a2a; }
body.dark-mode .article-tags { border-color: #2a2a2a; }

.news-featured {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 0;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    margin-bottom: 35px;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s, opacity 0.3s;
}

.news-featured:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.10);
    border-color: var(--primary-gold);
}

.news-featured-img {
    aspect-ratio: 5 / 4;
    background-size: cover;
    background-position: center;
    background-color: var(--bg-light);
    position: relative;
    min-height: 280px;
}

.news-featured-img::before {
    content: 'الخبر المميز';
    position: absolute;
    top: 18px;
    inset-inline-start: 18px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff;
    padding: 6px 14px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 4px 14px rgba(231,76,60,0.4);
    z-index: 1;
}

.news-featured-body {
    padding: 30px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-featured-cat {
    display: inline-block;
    color: var(--primary-gold);
    font-size: 12.5px;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.news-featured-body h2 {
    color: var(--text-dark);
    font-size: 24px;
    font-weight: 800;
    line-height: 1.4;
    margin: 0 0 14px;
    transition: color 0.2s;
}

.news-featured:hover h2 { color: var(--primary-gold); }

.news-featured-body p {
    color: var(--text-light);
    font-size: 14.5px;
    line-height: 1.85;
    margin: 0 0 20px;
}

.news-featured-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--text-light);
    font-size: 13px;
    margin-bottom: 20px;
}

.news-featured-meta .icon { color: var(--primary-gold); }

.news-featured-cta {
    color: var(--primary-gold);
    font-size: 14px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.news-featured-cta .icon { transition: transform 0.25s; }
[dir="rtl"] .news-featured:hover .news-featured-cta .icon { transform: translateX(-5px); }
[dir="ltr"] .news-featured:hover .news-featured-cta .icon { transform: scaleX(-1) translateX(-5px); }

body.dark-mode .news-featured { background: #1a1a1a; border-color: #2a2a2a; }
body.dark-mode .news-featured-body h2 { color: #eee; }

.gallery-item img.gallery-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 768px) {
    .news-featured { grid-template-columns: 1fr; gap: 0; }
    .news-featured-body { padding: 22px 20px; }
    .news-featured-body h2 { font-size: 19px; }
    .article-header-meta { gap: 14px; }
    .article-meta-divider { display: none; }
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 16px 0 8px;
}

.audience-card {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 28px 18px 22px;
    text-align: center;
    transition: background-color 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s, transform 0.25s, opacity 0.25s;
}

.audience-card:hover {
    background: #fff;
    border-color: var(--primary-gold);
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.10);
}

.audience-card-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 14px;
    background: rgba(201, 169, 97, 0.15);
    color: var(--primary-gold);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s, transform 0.25s, opacity 0.25s;
}

.audience-card-icon .icon {
    font-size: 22px;
    color: var(--primary-gold);
}

.audience-card:hover .audience-card-icon {
    background: var(--primary-gold);
    color: #fff;
    transform: scale(1.08);
}

.audience-card:hover .audience-card-icon .icon { color: #fff; }

.audience-card h3,
.audience-card h4,
.audience-card h5 {
    color: var(--text-dark);
    font-size: 14.5px;
    font-weight: 700;
    margin: 0 0 4px;
}

.audience-card small {
    color: var(--text-light);
    font-size: 12.5px;
    line-height: 1.6;
}

.feature-section {
    margin: 28px 0;
}

.feature-section-title {
    color: var(--text-dark);
    font-size: 16px;
    font-weight: 800;
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-color);
}

.feature-section-title .icon {
    color: var(--primary-gold);
    font-size: 16px;
}

.steps-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 22px 0;
    position: relative;
}

.steps-timeline::before {
    content: '';
    position: absolute;
    top: 36px;
    bottom: 36px;
    inset-inline-start: 37px;
    width: 2px;
    background: linear-gradient(180deg, var(--primary-gold), rgba(201,169,97,0.2));
    z-index: 0;
}

.step-item {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 18px;
    align-items: flex-start;
    padding: 16px 14px;
    position: relative;
    z-index: 1;
    border-radius: 12px;
    transition: background 0.35s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: default;
}

.step-item:hover {
    background: linear-gradient(90deg, rgba(201,169,97,0.06), transparent);
}
[dir="rtl"] .step-item:hover { transform: translateX(-6px); }
[dir="ltr"] .step-item:hover { transform: translateX(6px); }

.step-num {
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, var(--primary-gold), var(--dark-gold));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 17px;
    box-shadow: 0 6px 16px rgba(201,169,97,0.30);
    flex-shrink: 0;
    border: 3px solid #fff;
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.35s ease;
    position: relative;
}

.step-num::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid var(--primary-gold);
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
}

.step-item:hover .step-num {
    transform: scale(1.12) rotate(-8deg);
    box-shadow: 0 12px 28px rgba(201,169,97,0.50);
}

.step-item:hover .step-num::after {
    opacity: 1;
    transform: scale(1.15);
    animation: stepPulse 1.5s ease-in-out infinite;
}

@keyframes stepPulse {
    0%, 100% { transform: scale(1.15); opacity: 0.6; }
    50% { transform: scale(1.35); opacity: 0; }
}

.step-content {
    padding: 6px 0;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

[dir="rtl"] .step-item:hover .step-content { transform: translateX(-4px); }
[dir="ltr"] .step-item:hover .step-content { transform: translateX(4px); }

.step-content h3,
.step-content h5 {
    color: var(--text-dark);
    font-size: 15.5px;
    font-weight: 700;
    margin: 0 0 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.25s ease;
    line-height: 1.4;
}

.step-item:hover .step-content h3,
.step-item:hover .step-content h5 {
    color: var(--primary-gold);
}

.step-content h3 .icon,
.step-content h5 .icon {
    color: var(--primary-gold);
    font-size: 14px;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.step-item:hover .step-content h3 .icon,
.step-item:hover .step-content h5 .icon {
    transform: scale(1.2) rotate(8deg);
}

.step-content p {
    color: var(--text-light);
    font-size: 13.5px;
    line-height: 1.8;
    margin: 0;
}

.service-faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 18px 0;
}

.service-faq-item {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    overflow: hidden;
    transition: background-color 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s, transform 0.25s, opacity 0.25s;
}

.service-faq-item[open] {
    border-color: var(--primary-gold);
    box-shadow: 0 18px 40px rgba(0,0,0,0.10);
}

.service-faq-item summary {
    padding: 18px 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--text-dark);
    list-style: none;
    transition: color 0.2s;
}

.service-faq-item summary::-webkit-details-marker { display: none; }

.service-faq-item summary > span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.service-faq-item summary > span .icon {
    color: var(--primary-gold);
    font-size: 16px;
}

.service-faq-item summary:hover { color: var(--primary-gold); }

.faq-arrow {
    color: var(--text-light);
    font-size: 13px;
    transition: transform 0.3s;
    flex-shrink: 0;
}

.service-faq-item[open] .faq-arrow {
    transform: rotate(180deg);
    color: var(--primary-gold);
}

.service-faq-body {
    padding: 0 22px 20px;
}

.service-faq-body p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 2;
    margin: 0;
    padding-top: 6px;
    border-top: 1px dashed var(--border-color);
    padding-top: 16px;
}

body.dark-mode .audience-card {
    background: #161616;
    border-color: #2a2a2a;
}
body.dark-mode .audience-card:hover {
    background: #1a1a1a;
}
body.dark-mode .audience-card h3,
body.dark-mode .audience-card h4,
body.dark-mode .audience-card h5 { color: #eee; }
body.dark-mode .feature-section-title {
    color: #eee;
    border-bottom-color: #2a2a2a;
}
body.dark-mode .step-num { border-color: #1a1a1a; }
body.dark-mode .step-content h5 { color: #eee; }
body.dark-mode .service-faq-item {
    background: #1a1a1a;
    border-color: #2a2a2a;
}
body.dark-mode .service-faq-item summary { color: #eee; }
body.dark-mode .service-faq-body p { border-top-color: #2a2a2a; }

@media (max-width: 768px) {
    .audience-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-timeline::before { inset-inline-start: 34px; }
    .step-item { grid-template-columns: 40px 1fr; gap: 14px; }
    .step-num { width: 40px; height: 40px; font-size: 15px; }
    .service-faq-item summary { padding: 14px 18px; font-size: 13.5px; }
    .service-faq-body { padding: 0 18px 16px; }
}

@media (max-width: 480px) {
    .audience-grid { grid-template-columns: 1fr; }
}

.docs-checklist {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 18px 0;
}

.doc-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s, transform 0.25s, opacity 0.25s;
}

.doc-item:hover {
    background: #fff;
    border-color: var(--primary-gold);
}
[dir="rtl"] .doc-item:hover { transform: translateX(-3px); }
[dir="ltr"] .doc-item:hover { transform: translateX(3px); }

.doc-item > .icon {
    color: #2d8f5f;
    font-size: 16px;
    flex-shrink: 0;
}

body.dark-mode .doc-item {
    background: #161616;
    border-color: #2a2a2a;
    color: #ddd;
}

body.dark-mode .doc-item:hover {
    background: #1a1a1a;
}

@media (max-width: 768px) {
    .docs-checklist { grid-template-columns: 1fr; }
}

.gallery-type-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 30px;
}

.gallery-type-tab {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 2px solid var(--border-color);
    border-radius: 14px;
    padding: 18px 22px;
    text-decoration: none;
    color: var(--text-dark);
    transition: background-color 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.gallery-type-tab > .icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(201,169,97,0.12), rgba(201,169,97,0.04));
    color: var(--primary-gold);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s, opacity 0.3s;
}

.gallery-type-tab span {
    display: block;
    font-size: 17px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.gallery-type-tab small {
    display: block;
    font-size: 12.5px;
    color: var(--text-light);
    font-weight: 600;
}

.gallery-type-tab:hover {
    transform: translateY(-3px);
    border-color: var(--primary-gold);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.gallery-type-tab.active {
    background: linear-gradient(135deg, var(--primary-gold), var(--dark-gold));
    border-color: var(--dark-gold);
    box-shadow: 0 12px 30px rgba(201,169,97,0.30);
}

.gallery-type-tab.active > .icon {
    background: rgba(255,255,255,0.25);
    color: #fff;
}

.gallery-type-tab.active span,
.gallery-type-tab.active small {
    color: #fff;
}

.gallery-type-tab.active small { opacity: 0.85; }

.photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 22px;
}

.photo-card {
    background-color: #fff;
    background-size: cover;
    background-position: center;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    transition: background-color 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: block;
}

.photo-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.10);
    border-color: var(--primary-gold);
}

.photo-card-img {
    height: 520px;
    background-size: cover;
    background-position: center;
    background-color: #eee;
    position: relative;
    overflow: hidden;
}

@media (max-width: 992px) {
    .photo-card-img { height: 400px; }
}
@media (max-width: 768px) {
    .photo-card-img { height: 320px; }
}
@media (max-width: 480px) {
    .photo-card-img { height: 240px; }
}

.photo-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.4) 100%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.photo-card:hover .photo-card-img::after { opacity: 1; }

.photo-card-cat {
    position: absolute;
    top: 12px;
    inset-inline-start: 12px;
    background: rgba(0,0,0,0.65);
    color: #fff;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    padding: 5px 12px;
    border-radius: 16px;
    font-size: 11.5px;
    font-weight: 700;
    z-index: 2;
}

.photo-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1;
}

.photo-card:hover .photo-card-overlay { opacity: 1; }

.photo-card-overlay .icon {
    width: 56px;
    height: 56px;
    background: var(--primary-gold);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    transform: scale(0.7);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.photo-card:hover .photo-card-overlay .icon {
    transform: scale(1);
    animation: playPulse 2s infinite;
}

.photo-card-body {
    padding: 16px 18px;
}

.photo-card-body h3 {
    color: var(--text-dark);
    font-size: 15.5px;
    font-weight: 700;
    margin: 0 0 10px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.photo-card-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--text-light);
    font-size: 12.5px;
    font-weight: 600;
}

.photo-card-meta .icon {
    color: var(--primary-gold);
    font-size: 12px;
    margin-inline-end: 4px;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.video-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    transition: background-color 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: block;
}

.video-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.10);
    border-color: var(--primary-gold);
}

.video-card-thumb {
    aspect-ratio: 16/9;
    background-size: cover;
    background-position: center;
    background-color: #1a1a1a;
    position: relative;
    overflow: hidden;
}

.video-card-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.55) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.video-card:hover .video-card-thumb::after {
    opacity: 1;
}

.video-card-cat {
    position: absolute;
    top: 12px;
    inset-inline-start: 12px;
    background: rgba(0,0,0,0.65);
    color: #fff;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    padding: 5px 12px;
    border-radius: 16px;
    font-size: 11.5px;
    font-weight: 700;
    z-index: 2;
}

.video-card-duration {
    position: absolute;
    bottom: 12px;
    inset-inline-end: 12px;
    background: rgba(0,0,0,0.85);
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    font-family: monospace;
    z-index: 2;
    direction: ltr;
}

.video-card-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    width: 64px;
    height: 64px;
    background: var(--primary-gold);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.video-card-play .icon {
    margin-inline-start: -2px;
}

.video-card:hover .video-card-play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    animation: playPulse 2s infinite;
}

.video-card-body {
    padding: 18px 20px;
}

.video-card-body h3 {
    color: var(--text-dark);
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 10px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-card-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--text-light);
    font-size: 12.5px;
    font-weight: 600;
    flex-wrap: wrap;
}

.video-card-meta .icon {
    color: var(--primary-gold);
    font-size: 12px;
    margin-inline-end: 4px;
}

.list-empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-light);
}

.list-empty-state > .icon {
    font-size: 64px;
    color: var(--primary-gold);
    opacity: 0.3;
    margin-bottom: 20px;
}

.list-empty-state h3 {
    color: var(--text-dark);
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 8px;
}

.list-empty-state p {
    font-size: 14.5px;
    margin: 0 auto 22px;
    max-width: 480px;
    line-height: 1.75;
}

.list-empty-state .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.list-empty-state[hidden] { display: none; }

body.dark-mode .gallery-type-tab {
    background: #1a1a1a;
    border-color: #2a2a2a;
}

body.dark-mode .gallery-type-tab span { color: #eee; }
body.dark-mode .gallery-type-tab small { color: #aaa; }

body.dark-mode .gallery-type-tab.active {
    background: linear-gradient(135deg, var(--primary-gold), var(--dark-gold));
    border-color: var(--dark-gold);
}

body.dark-mode .gallery-type-tab.active span,
body.dark-mode .gallery-type-tab.active small {
    color: #fff;
}

body.dark-mode .photo-card,
body.dark-mode .video-card {
    background: #1a1a1a;
    border-color: #2a2a2a;
}

body.dark-mode .photo-card-body h3,
body.dark-mode .video-card-body h3 { color: #eee; }

body.dark-mode .photo-card-meta,
body.dark-mode .video-card-meta { color: #aaa; }

body.dark-mode .list-empty-state h3 { color: #eee; }

@media (max-width: 768px) {
    .gallery-type-tabs { grid-template-columns: 1fr; }
    .photos-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
    .videos-grid { grid-template-columns: 1fr; }

    .video-card-play { width: 54px; height: 54px; font-size: 17px; }
}

@media (max-width: 480px) {
    .photos-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .photo-card-body { padding: 12px 14px; }
    .photo-card-body h3 { font-size: 13.5px; }
}

body.dark-mode .program-card:hover,
body.dark-mode .service-card:hover,
body.dark-mode .news-card:hover,
body.dark-mode .photo-card:hover,
body.dark-mode .video-card:hover,
body.dark-mode .value-card:hover,
body.dark-mode .goal-item:hover,
body.dark-mode .offer-card:hover,
body.dark-mode .value-mini:hover,
body.dark-mode .contact-dept-card:hover,
body.dark-mode .learn-item:hover,
body.dark-mode .audience-card:hover,
body.dark-mode .about-hub-card:hover,
body.dark-mode .strategy-card:hover,
body.dark-mode .tech-card:hover,
body.dark-mode .gallery-type-tab:hover,
body.dark-mode .sidebar-news-item:hover {
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.50);
}

.error-page {
    position: relative;
    min-height: 80vh;
    padding: 60px 0 80px;
    background: var(--bg-light);
    color: var(--text-dark);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.error-page-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 25% 30%, rgba(201,169,97,0.12), transparent 50%),
        radial-gradient(circle at 75% 70%, rgba(201,169,97,0.08), transparent 50%);
    pointer-events: none;
}

.error-page-pattern {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30L30 0Z' fill='none' stroke='%23c9a961' stroke-opacity='0.08' stroke-width='1'/%3E%3C/svg%3E");
    pointer-events: none;
}

.error-page .container {
    position: relative;
    z-index: 2;
}

.error-page-content {
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
}

.error-404-number {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    animation: error404FadeIn 0.6s ease;

    direction: ltr;
}

.error-404-digit {
    font-size: 160px;
    font-weight: 900;
    line-height: 1;
    color: var(--text-dark);
    background: linear-gradient(180deg, #2a2a2a 0%, rgba(42, 42, 42, 0.55) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -4px;
}

.error-404-icon {
    width: 130px;
    height: 130px;
    background: linear-gradient(135deg, var(--primary-gold), var(--dark-gold));
    border-radius: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow:
        0 25px 60px rgba(201,169,97,0.40),
        inset 0 2px 0 rgba(255,255,255,0.2);
    animation: error404IconFloat 4s ease-in-out infinite;
}

.error-404-zero {
    font-size: 100px;
    font-weight: 900;
    line-height: 1;
    color: #fff;
    letter-spacing: -3px;
}

@keyframes error404FadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes error404IconFloat {
    0%, 100% { transform: translateY(0) rotate(-3deg); }
    50% { transform: translateY(-12px) rotate(3deg); }
}

.error-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(220, 53, 69, 0.10);
    border: 1px solid rgba(220, 53, 69, 0.25);
    color: #c92a2a;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 24px;
}

.error-eyebrow .icon { font-size: 12px; }

.error-title {
    color: var(--text-dark);
    font-size: 38px;
    font-weight: 900;
    margin: 0 0 16px;
    line-height: 1.3;
}

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

.error-subtitle {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.9;
    margin: 0 0 40px;
    max-width: 600px;
    margin-inline-end: auto;
    margin-inline-start: auto;
}

.error-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.error-actions .btn {
    padding: 14px 28px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
}

.error-actions .btn-outline {
    background: #fff;
    border: 2px solid var(--border-color);
    color: var(--text-dark);
}

.error-actions .btn-outline:hover {
    background: var(--primary-gold);
    border-color: var(--primary-gold);
    color: #fff;
}

.error-quick-links {
    border-top: 1px solid var(--border-color);
    padding-top: 40px;
}

.error-quick-links-title {
    color: var(--text-light);
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 20px;
    letter-spacing: 0.5px;
}

.error-quick-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    max-width: 700px;
    margin: 0 auto;
}

.error-quick-link {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 16px 18px;
    text-decoration: none;
    color: var(--text-dark);
    transition: background-color 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-align: start;
}

.error-quick-link:hover {
    border-color: var(--primary-gold);
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.10);
}

.error-quick-link-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(201,169,97,0.15), rgba(201,169,97,0.05));
    color: var(--primary-gold);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s, opacity 0.3s;
}

.error-quick-link:hover .error-quick-link-icon {
    background: linear-gradient(135deg, var(--primary-gold), var(--dark-gold));
    color: #fff;
}

.error-quick-link-text {
    flex: 1;
    min-width: 0;
}

.error-quick-link-text strong {
    display: block;
    color: var(--text-dark);
    font-size: 14.5px;
    font-weight: 800;
    margin-bottom: 3px;
}

.error-quick-link-text small {
    display: block;
    color: var(--text-light);
    font-size: 12.5px;
    line-height: 1.5;
}

.error-quick-link-arrow {
    color: var(--text-light);
    font-size: 12px;
    transition: background-color 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s, transform 0.25s, opacity 0.25s;
    opacity: 0.5;
}

.error-quick-link:hover .error-quick-link-arrow {
    color: var(--primary-gold);
    opacity: 1;
}
[dir="rtl"] .error-quick-link:hover .error-quick-link-arrow { transform: translateX(-4px); }
[dir="ltr"] .error-quick-link:hover .error-quick-link-arrow { transform: scaleX(-1) translateX(-4px); }

body.dark-mode .error-page {
    background: #0a0a0a;
    color: #eee;
}

body.dark-mode .error-404-digit {
    background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.4) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.dark-mode .error-title { color: #eee; }
body.dark-mode .error-subtitle { color: #aaa; }

body.dark-mode .error-actions .btn-outline {
    background: #1a1a1a;
    border-color: #2a2a2a;
    color: #ddd;
}

body.dark-mode .error-actions .btn-outline:hover {
    background: var(--primary-gold);
    border-color: var(--primary-gold);
    color: #fff;
}

body.dark-mode .error-quick-links { border-top-color: #2a2a2a; }
body.dark-mode .error-quick-links-title { color: #888; }

body.dark-mode .error-quick-link {
    background: #1a1a1a;
    border-color: #2a2a2a;
}

body.dark-mode .error-quick-link:hover {
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.50);
}

body.dark-mode .error-quick-link-text strong { color: #eee; }
body.dark-mode .error-quick-link-text small { color: #aaa; }

@media (max-width: 768px) {
    .error-404-digit { font-size: 110px; }
    .error-404-icon { width: 100px; height: 100px; border-radius: 24px; }
    .error-404-zero { font-size: 75px; }
    .error-404-number { gap: 12px; }

    .error-title { font-size: 26px; }
    .error-subtitle { font-size: 14.5px; }

    .error-actions .btn { width: 100%; justify-content: center; }
    .error-actions { flex-direction: column; max-width: 320px; margin-inline-end: auto; margin-inline-start: auto; margin-bottom: 50px; }

    .error-quick-links-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .error-404-digit { font-size: 80px; }
    .error-404-icon { width: 80px; height: 80px; border-radius: 20px; }
    .error-404-zero { font-size: 56px; }
}

.search-page-form {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 720px;
    margin: 26px auto 0;
    background: #fff;
    border-radius: 14px;

    padding-block: 6px;
    padding-inline-start: 18px;
    padding-inline-end: 6px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.15);
    position: relative;
}

.search-page-icon {
    color: var(--primary-gold);
    font-size: 18px;
    margin-inline-end: 6px;
    flex-shrink: 0;
}

.search-page-form input {
    flex: 1;
    min-width: 0; 
    border: none;
    background: transparent;
    padding: 14px 8px;
    font-family: inherit;
    font-size: 15px;
    color: var(--text-dark);
    outline: none;
}

.search-page-form .btn {
    padding: 12px 26px;
    border-radius: 10px;
    flex-shrink: 0;
}

.search-initial-state {
    text-align: center;
    padding: 60px 20px;
    max-width: 600px;
    margin: 0 auto;
}

.search-initial-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, rgba(201,169,97,0.15), rgba(201,169,97,0.05));
    color: var(--primary-gold);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    margin: 0 auto 22px;
}

.search-initial-state h2 {
    color: var(--text-dark);
    font-size: 26px;
    font-weight: 800;
    margin: 0 0 10px;
}

.search-initial-state > p {
    color: var(--text-light);
    font-size: 15px;
    margin: 0 0 32px;
}

.search-suggestions-label {
    display: block;
    color: var(--text-light);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 14px;
}

.search-suggestions-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.search-suggestion-tag {
    display: inline-block;
    padding: 9px 18px;
    background: #fff;
    border: 1.5px solid var(--border-color);
    color: var(--text-dark);
    border-radius: 22px;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s, transform 0.25s, opacity 0.25s;
}

.search-suggestion-tag:hover {
    background: var(--primary-gold);
    border-color: var(--primary-gold);
    color: #fff;
    transform: translateY(-2px);
}

.search-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 22px;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0;
}

.search-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--text-light);
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s, transform 0.25s, opacity 0.25s;
    margin-bottom: -1px;
}

.search-tab .icon { font-size: 14px; }

.search-tab small {
    background: var(--bg-light);
    color: var(--text-light);
    padding: 2px 8px;
    border-radius: 50px;
    font-size: 11.5px;
    font-weight: 800;
    min-width: 24px;
    text-align: center;
}

.search-tab:hover {
    color: var(--primary-gold);
}

.search-tab.active {
    color: var(--primary-gold);
    border-bottom-color: var(--primary-gold);
}

.search-tab.active small {
    background: var(--primary-gold);
    color: #fff;
}

.search-results-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 40px;
}

.search-result-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 20px 22px;
    text-decoration: none;
    color: var(--text-dark);
    transition: background-color 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.search-result-item:hover {
    border-color: var(--primary-gold);
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.10);
}

.search-result-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(201,169,97,0.15), rgba(201,169,97,0.05));
    color: var(--primary-gold);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s, opacity 0.3s;
}

.search-result-item:hover .search-result-icon {
    background: linear-gradient(135deg, var(--primary-gold), var(--dark-gold));
    color: #fff;
}

.search-result-content {
    flex: 1;
    min-width: 0;
}

.search-result-tag {
    display: inline-block;
    background: rgba(201, 169, 97, 0.10);
    color: var(--primary-gold);
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11.5px;
    font-weight: 800;
    margin-bottom: 8px;
}

.search-result-content h3 {
    color: var(--text-dark);
    font-size: 17px;
    font-weight: 800;
    margin: 0 0 8px;
    line-height: 1.5;
}

.search-result-content h3 mark,
.search-result-content p mark {
    background: rgba(201, 169, 97, 0.20);
    color: var(--primary-gold);
    padding: 0 4px;
    border-radius: 3px;
    font-weight: 700;
}

.search-result-content > p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.85;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.search-result-meta {
    display: flex;
    gap: 18px;
    font-size: 12px;
    color: var(--text-light);
    flex-wrap: wrap;
}

.search-result-meta .icon {
    color: var(--primary-gold);
    font-size: 11px;
    margin-inline-end: 4px;
}

.search-no-results {
    text-align: center;
    padding: 60px 20px;
}

.search-no-results > .icon {
    font-size: 56px;
    color: var(--primary-gold);
    opacity: 0.3;
    margin-bottom: 20px;
}

.search-no-results h3 {
    color: var(--text-dark);
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 8px;
}

.search-no-results p {
    color: var(--text-light);
    font-size: 14.5px;
    margin: 0;
}

.search-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.search-page-btn {
    width: 40px;
    height: 40px;
    background: #fff;
    border: 1.5px solid var(--border-color);
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s, transform 0.25s, opacity 0.25s;
}

.search-page-btn:hover {
    border-color: var(--primary-gold);
    color: var(--primary-gold);
}

.search-page-btn.active {
    background: var(--primary-gold);
    border-color: var(--primary-gold);
    color: #fff;
}

body.dark-mode .search-page-form {
    background: #1a1a1a;
}
body.dark-mode .search-page-form input {
    color: #eee;
}
body.dark-mode .search-result-item {
    background: #1a1a1a;
    border-color: #2a2a2a;
}
body.dark-mode .search-result-item:hover {
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.50);
}
body.dark-mode .search-result-content h3 { color: #eee; }
body.dark-mode .search-result-content > p { color: #aaa; }
body.dark-mode .search-suggestion-tag {
    background: #1a1a1a;
    border-color: #2a2a2a;
    color: #ddd;
}
body.dark-mode .search-page-btn {
    background: #1a1a1a;
    border-color: #2a2a2a;
    color: #ddd;
}
body.dark-mode .search-tab small { background: #2a2a2a; color: #aaa; }
body.dark-mode .search-initial-state h2 { color: #eee; }
body.dark-mode .search-no-results h3 { color: #eee; }

@media (max-width: 768px) {
    .search-page-form {
        padding-block: 4px;
        padding-inline-start: 12px;
        padding-inline-end: 4px;
    }
    .search-page-form .btn { padding: 10px 18px; font-size: 13px; }
    .search-page-icon { font-size: 16px; }
    .search-result-item { padding: 16px; gap: 14px; }
    .search-result-icon { width: 42px; height: 42px; font-size: 16px; }
    .search-result-content h3 { font-size: 15px; }
}

.complaints-type-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

.complaints-type-card {
    background: #fff;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 24px 18px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.complaints-type-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-gold);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.10);
}

.complaints-type-card.active {
    background: linear-gradient(135deg, var(--primary-gold), var(--dark-gold));
    border-color: var(--dark-gold);
    color: #fff;
}

.complaints-type-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(201,169,97,0.15), rgba(201,169,97,0.05));
    color: var(--primary-gold);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 14px;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s, opacity 0.3s;
}

.complaints-type-card.active .complaints-type-icon {
    background: rgba(255, 255, 255, 0.20);
    color: #fff;
}

.complaints-type-card h2,
.complaints-type-card h3 {
    font-size: 17px;
    font-weight: 800;
    margin: 0 0 6px;
    color: var(--text-dark);
}

.complaints-type-card.active h2,
.complaints-type-card.active h3 { color: #fff; }

.complaints-type-card p {
    color: var(--text-light);
    font-size: 13px;
    margin: 0;
    line-height: 1.5;
}

.complaints-type-card.active p { color: rgba(255, 255, 255, 0.85); }

.complaints-form-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 22px;
    padding: 40px 36px;
    margin-bottom: 50px;
}

.complaints-form-header {
    text-align: center;
    margin-bottom: 32px;
}

.complaints-form-header h2 {
    color: var(--text-dark);
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 10px;
}

.complaints-form-header h2 span { color: var(--primary-gold); }

.complaints-form-header p {
    color: var(--text-light);
    font-size: 14.5px;
    margin: 0;
}

.complaints-form .auth-field,
.newsletter-form .auth-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}

.complaints-form .auth-field label,
.newsletter-form .auth-field label {
    color: var(--text-dark);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 7px;
}

.complaints-form .auth-field label .req,
.newsletter-form .auth-field label .req { color: #dc3545; }

.complaints-form .auth-field input,
.complaints-form .auth-field select,
.complaints-form .auth-field textarea,
.newsletter-form .auth-field input,
.newsletter-form .auth-field select,
.newsletter-form .auth-field textarea {
    padding: 12px 14px;
    border: 1.5px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    color: var(--text-dark);
    background: #fff;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s, opacity 0.2s;
    width: 100%;
    min-height: 44px; 
}

.complaints-form .auth-field textarea,
.newsletter-form .auth-field textarea {
    min-height: 140px;
    resize: vertical;
    line-height: 1.7;
}

.complaints-form .auth-field input:focus,
.complaints-form .auth-field select:focus,
.complaints-form .auth-field textarea:focus,
.newsletter-form .auth-field input:focus,
.newsletter-form .auth-field select:focus,
.newsletter-form .auth-field textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.12);
}

.complaints-form .auth-field input::placeholder,
.complaints-form .auth-field textarea::placeholder,
.newsletter-form .auth-field input::placeholder,
.newsletter-form .auth-field textarea::placeholder {
    color: #b5b1aa;
    opacity: 1;
}

.complaints-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.complaints-file-input {
    position: relative;
}

.complaints-file-input input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.complaints-file-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 26px;
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s, transform 0.25s, opacity 0.25s;
    background: var(--bg-light);
}

.complaints-file-label .icon {
    color: var(--primary-gold);
    font-size: 24px;
    margin-bottom: 8px;
}

.complaints-file-label span {
    display: block;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
}

.complaints-file-label small {
    color: var(--text-light);
    font-size: 12px;
}

.complaints-file-label:hover {
    border-color: var(--primary-gold);
    background: rgba(201, 169, 97, 0.04);
}

.complaints-form-priority {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.complaints-form-priority-label {
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 700;
    margin-inline-end: 4px;
}

.complaints-priority-option {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1.5px solid var(--border-color);
    border-radius: 22px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    transition: background-color 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s, transform 0.25s, opacity 0.25s;
}

.complaints-priority-option input { accent-color: var(--primary-gold); }

.complaints-priority-option:has(input:checked) {
    border-color: var(--primary-gold);
    background: rgba(201, 169, 97, 0.08);
    color: var(--primary-gold);
}

.complaints-form-agreement {
    margin-bottom: 22px;
    font-size: 13.5px;
    color: var(--text-light);
}

.complaints-form-agreement input {
    margin-inline-end: 8px;
    accent-color: var(--primary-gold);
}

.complaints-form-agreement a {
    color: var(--primary-gold);
    text-decoration: none;
}

.complaints-form-agreement a:hover { text-decoration: underline; }

.complaints-submit-btn {
    width: 100%;
    padding: 16px;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.complaints-promises {
    margin-top: 40px;
}

.complaints-promises-title {
    text-align: center;
    color: var(--text-dark);
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 26px;
}

.complaints-promises-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.complaints-promise {
    text-align: center;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 28px 24px;
    transition: background-color 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.complaints-promise:hover {
    transform: translateY(-4px);
    border-color: var(--primary-gold);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.10);
}

.complaints-promise-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-gold), var(--dark-gold));
    color: #fff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 16px;
    box-shadow: 0 12px 28px rgba(201, 169, 97, 0.30);
}

.complaints-promise h3,
.complaints-promise h4 {
    color: var(--text-dark);
    font-size: 16px;
    font-weight: 800;
    margin: 0 0 8px;
}

.complaints-promise p {
    color: var(--text-light);
    font-size: 13.5px;
    line-height: 1.85;
    margin: 0;
}

body.dark-mode .complaints-type-card,
body.dark-mode .complaints-form-card,
body.dark-mode .complaints-promise {
    background: #1a1a1a;
    border-color: #2a2a2a;
}

body.dark-mode .complaints-type-card h2,
body.dark-mode .complaints-type-card h3,
body.dark-mode .complaints-form-header h2,
body.dark-mode .complaints-promises-title,
body.dark-mode .complaints-promise h3,
body.dark-mode .complaints-promise h4 {
    color: #eee;
}

body.dark-mode .complaints-file-label {
    background: #0f0f0f;
    border-color: #2a2a2a;
}

body.dark-mode .complaints-file-label span { color: #eee; }

body.dark-mode .complaints-priority-option {
    background: #1a1a1a;
    border-color: #2a2a2a;
    color: #ddd;
}

body.dark-mode .complaints-form .auth-field label,
body.dark-mode .newsletter-form .auth-field label { color: #eee; }

body.dark-mode .complaints-form .auth-field input,
body.dark-mode .complaints-form .auth-field select,
body.dark-mode .complaints-form .auth-field textarea,
body.dark-mode .newsletter-form .auth-field input,
body.dark-mode .newsletter-form .auth-field select,
body.dark-mode .newsletter-form .auth-field textarea {
    background: #0f0f0f;
    border-color: #2a2a2a;
    color: #eee;
}

body.dark-mode .complaints-form .auth-field input::placeholder,
body.dark-mode .complaints-form .auth-field textarea::placeholder,
body.dark-mode .newsletter-form .auth-field input::placeholder,
body.dark-mode .newsletter-form .auth-field textarea::placeholder {
    color: #6a6a6a;
}

body.dark-mode .complaints-form .auth-field input:focus,
body.dark-mode .complaints-form .auth-field select:focus,
body.dark-mode .complaints-form .auth-field textarea:focus,
body.dark-mode .newsletter-form .auth-field input:focus,
body.dark-mode .newsletter-form .auth-field select:focus,
body.dark-mode .newsletter-form .auth-field textarea:focus {
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.18);
}

@media (max-width: 768px) {
    .complaints-type-grid { grid-template-columns: 1fr 1fr; }
    .complaints-form-grid { grid-template-columns: 1fr; }
    .complaints-promises-grid { grid-template-columns: 1fr; }
    .complaints-form-card { padding: 28px 22px; }
}

@media (max-width: 480px) {
    .complaints-type-grid { grid-template-columns: 1fr; gap: 12px; }
    .complaints-type-card { padding: 18px 16px; }
    .complaints-form-card { padding: 22px 16px; }
}

.newsletter-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
    align-items: start;
}

.newsletter-form-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 22px;
    padding: 40px 36px;
}

.newsletter-form-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--primary-gold), var(--dark-gold));
    color: #fff;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 22px;
    box-shadow: 0 16px 35px rgba(201, 169, 97, 0.35);
}

.newsletter-form-card > h2 {
    text-align: center;
    color: var(--text-dark);
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 10px;
}

.newsletter-form-card > h2 span { color: var(--primary-gold); }

.newsletter-form-card > p {
    text-align: center;
    color: var(--text-light);
    font-size: 14.5px;
    margin: 0 0 30px;
    line-height: 1.85;
}

.newsletter-section {
    margin-bottom: 28px;
}

.newsletter-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dark);
    font-size: 15px;
    font-weight: 800;
    margin: 0 0 14px;
}

.newsletter-section-title .icon {
    color: var(--primary-gold);
    font-size: 14px;
}

.newsletter-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-option {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s, transform 0.25s, opacity 0.25s;
}

.newsletter-option input {
    accent-color: var(--primary-gold);
    margin-top: 4px;
    flex-shrink: 0;
}

.newsletter-option:has(input:checked) {
    border-color: var(--primary-gold);
    background: rgba(201, 169, 97, 0.04);
}

.newsletter-option-content strong {
    display: block;
    color: var(--text-dark);
    font-size: 14.5px;
    font-weight: 800;
    margin-bottom: 4px;
}

.newsletter-option-content small {
    color: var(--text-light);
    font-size: 13px;
    line-height: 1.65;
}

.newsletter-topics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.newsletter-topic {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1.5px solid var(--border-color);
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s, transform 0.25s, opacity 0.25s;
    background: #fff;
}

.newsletter-topic input { accent-color: var(--primary-gold); }

.newsletter-topic span {
    color: var(--text-dark);
    font-size: 13.5px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.newsletter-topic span .icon {
    color: var(--primary-gold);
    font-size: 14px;
}

.newsletter-topic:has(input:checked) {
    border-color: var(--primary-gold);
    background: rgba(201, 169, 97, 0.06);
}

.newsletter-agreement {
    margin: 18px 0 22px;
    font-size: 13.5px;
    color: var(--text-light);
    line-height: 1.7;
}

.newsletter-agreement input {
    margin-inline-end: 8px;
    accent-color: var(--primary-gold);
}

.newsletter-agreement a {
    color: var(--primary-gold);
    text-decoration: none;
}

.newsletter-agreement a:hover { text-decoration: underline; }

.newsletter-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.newsletter-buttons .btn {
    flex: 1;
    min-width: 140px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 20px;
}

.newsletter-side {
    background: linear-gradient(135deg, #1a1410, #2a2520);
    color: #fff;
    border-radius: 22px;
    padding: 36px 30px;
    position: sticky;
    top: 100px;
}

.newsletter-side h3 {
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.newsletter-benefits {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-bottom: 30px;
}

.newsletter-benefit {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.newsletter-benefit-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.25), rgba(201, 169, 97, 0.10));
    border: 1px solid rgba(201, 169, 97, 0.30);
    color: var(--primary-gold);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
}

.newsletter-benefit-text strong {
    display: block;
    color: #fff;
    font-size: 14.5px;
    font-weight: 800;
    margin-bottom: 4px;
}

.newsletter-benefit-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    line-height: 1.7;
    margin: 0;
}

.newsletter-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.newsletter-stat {
    text-align: center;
}

.newsletter-stat strong {
    display: block;
    color: var(--primary-gold);
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 4px;
}

.newsletter-stat small {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
}

body.dark-mode .newsletter-form-card {
    background: #1a1a1a;
    border-color: #2a2a2a;
}

body.dark-mode .newsletter-form-card > h2,
body.dark-mode .newsletter-section-title,
body.dark-mode .newsletter-option-content strong,
body.dark-mode .newsletter-topic span {
    color: #eee;
}

body.dark-mode .newsletter-option,
body.dark-mode .newsletter-topic {
    background: #0f0f0f;
    border-color: #2a2a2a;
}

@media (max-width: 992px) {
    .newsletter-grid { grid-template-columns: 1fr; }
    .newsletter-side { position: static; }
}

@media (max-width: 768px) {
    .newsletter-form-card { padding: 28px 22px; }
    .newsletter-topics { grid-template-columns: 1fr; }
}

.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.sitemap-group {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 26px 24px;
    transition: background-color 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sitemap-group:hover {
    border-color: var(--primary-gold);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.10);
}

.sitemap-group-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--border-color);
}

.sitemap-group-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-gold), var(--dark-gold));
    color: #fff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    box-shadow: 0 10px 22px rgba(201, 169, 97, 0.30);
}

.sitemap-group-header h2 {
    color: var(--text-dark);
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 3px;
    line-height: 1.3;
}

.sitemap-group-header small {
    color: var(--text-light);
    font-size: 12.5px;
    font-weight: 600;
}

.sitemap-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sitemap-list li {
    margin-bottom: 4px;
}

.sitemap-list li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s, transform 0.25s, opacity 0.25s, padding 0.25s;
}

.sitemap-list li a:hover {
    background: rgba(201, 169, 97, 0.06);
    color: var(--primary-gold);
    padding-inline-start: 16px;
}

.sitemap-list li a .icon {
    color: var(--primary-gold);
    font-size: 10px;
    opacity: 0.5;
    transition: background-color 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s, transform 0.25s, opacity 0.25s;
}

.sitemap-list li a:hover .icon {
    opacity: 1;
    transform: translateX(-2px);
}

.sitemap-search-tip {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 18px;
    align-items: center;
    background: linear-gradient(135deg, rgba(201,169,97,0.08), rgba(201,169,97,0.02));
    border: 1px solid rgba(201,169,97,0.25);
    border-radius: 16px;
    padding: 22px 26px;
    margin-top: 40px;
}

.sitemap-search-tip > .icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-gold), var(--dark-gold));
    color: #fff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.sitemap-search-tip strong {
    color: var(--text-dark);
    font-weight: 800;
    margin-inline-end: 6px;
}

.sitemap-search-tip span {
    color: var(--text-light);
    font-size: 14.5px;
    line-height: 1.85;
}

.sitemap-search-tip a {
    color: var(--primary-gold);
    font-weight: 700;
    text-decoration: none;
}

.sitemap-search-tip a:hover { text-decoration: underline; }

body.dark-mode .sitemap-group {
    background: #1a1a1a;
    border-color: #2a2a2a;
}

body.dark-mode .sitemap-group-header {
    border-bottom-color: #2a2a2a;
}

body.dark-mode .sitemap-group-header h2 { color: #eee; }
body.dark-mode .sitemap-group-header small { color: #aaa; }
body.dark-mode .sitemap-list li a { color: #ddd; }
body.dark-mode .sitemap-list li a:hover { background: rgba(201, 169, 97, 0.10); }

body.dark-mode .sitemap-search-tip {
    background: linear-gradient(135deg, rgba(201,169,97,0.10), rgba(201,169,97,0.03));
}
body.dark-mode .sitemap-search-tip strong { color: #eee; }
body.dark-mode .sitemap-search-tip span { color: #aaa; }

@media (max-width: 992px) {
    .sitemap-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
    .sitemap-grid { grid-template-columns: 1fr; }
    .sitemap-search-tip {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .sitemap-search-tip > .icon { margin: 0 auto; }
}

.testimonials-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.testimonials-stat {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px 18px;
    text-align: center;
    transition: background-color 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.testimonials-stat:hover {
    border-color: var(--primary-gold);
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.10);
}

.testimonials-stat-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 14px;
    background: linear-gradient(135deg, rgba(201,169,97,0.15), rgba(201,169,97,0.05));
    color: var(--primary-gold);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s, opacity 0.3s;
}

.testimonials-stat:hover .testimonials-stat-icon {
    background: linear-gradient(135deg, var(--primary-gold), var(--dark-gold));
    color: #fff;
}

.testimonials-stat-value {
    color: var(--text-dark);
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 4px;
    line-height: 1.2;
}

.testimonials-stat-value.stat-number {
    font-size: 28px;
    color: var(--text-dark);
    line-height: 1.2;
}

.testimonials-stat-label {
    color: var(--text-light);
    font-size: 13.5px;
    font-weight: 600;
}

.testimonials-featured {
    position: relative;
    background: linear-gradient(135deg, #1a1410 0%, #0f0a07 100%);
    color: #fff;
    border-radius: 24px;
    padding: 36px 40px 40px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.testimonials-featured::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 90% 10%, rgba(201,169,97,0.18), transparent 50%),
        radial-gradient(circle at 5% 90%, rgba(201,169,97,0.08), transparent 50%);
    pointer-events: none;
}

.testimonials-featured-top {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 22px;
}

.testimonials-featured-quote-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-gold), var(--dark-gold));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    box-shadow: 0 12px 30px rgba(201,169,97,0.40);
    flex-shrink: 0;
}

.testimonials-featured-rating {
    display: flex;
    gap: 4px;
    color: var(--primary-gold);
    font-size: 16px;
}

.testimonials-featured-text {
    position: relative;
    font-size: 19px;
    line-height: 1.95;
    margin: 0 0 28px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    quotes: none;
}

.testimonials-featured-author {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.testimonials-featured-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-gold), var(--dark-gold));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(201,169,97,0.35);
}

.testimonials-featured-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.testimonials-featured-info strong {
    color: #fff;
    font-size: 16px;
    font-weight: 800;
}

.testimonials-featured-info span {
    color: var(--primary-gold);
    font-size: 13.5px;
    font-weight: 600;
}

.testimonials-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 36px;
}

.testimonials-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #fff;
    border: 1.5px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    color: var(--text-dark);
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    transition: background-color 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s, transform 0.25s, opacity 0.25s;
}

.testimonials-filter-btn .icon { font-size: 13px; color: var(--primary-gold); }

.testimonials-filter-btn small {
    background: var(--bg-light);
    color: var(--text-light);
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 11.5px;
    font-weight: 700;
    transition: background-color 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s, transform 0.25s, opacity 0.25s;
}

.testimonials-filter-btn:hover {
    border-color: var(--primary-gold);
    color: var(--primary-gold);
}

.testimonials-filter-btn.active {
    background: linear-gradient(135deg, var(--primary-gold), var(--dark-gold));
    border-color: var(--primary-gold);
    color: #fff;
    box-shadow: 0 8px 20px rgba(201,169,97,0.30);
}

.testimonials-filter-btn.active .icon { color: #fff; }

.testimonials-filter-btn.active small {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-bottom: 60px;
}

.testimonial-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 26px 24px;
    display: flex;
    flex-direction: column;
    transition: background-color 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.testimonial-card:hover {
    border-color: var(--primary-gold);
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.10);
}

.testimonial-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.testimonial-card-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-gold), var(--dark-gold));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 6px 14px rgba(201,169,97,0.30);
}

.testimonial-card-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.testimonial-card-info strong {
    color: var(--text-dark);
    font-size: 14.5px;
    font-weight: 800;
    line-height: 1.3;
}

.testimonial-card-info span {
    color: var(--text-light);
    font-size: 12.5px;
    font-weight: 600;
}

.testimonial-card-rating {
    display: flex;
    gap: 3px;
    margin-bottom: 12px;
    font-size: 13px;
}

.testimonial-card-rating .icon { color: #e0e0e0; }
.testimonial-card-rating .icon.filled { color: var(--primary-gold); }

.testimonial-card-text {
    color: var(--text-dark);
    font-size: 14.5px;
    line-height: 1.85;
    margin: 0 0 16px;
    flex: 1;
}

.testimonial-card-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 12px;
    color: var(--text-light);
    font-size: 12.5px;
    font-weight: 600;
}

.testimonial-card-footer .icon {
    color: var(--primary-gold);
    margin-inline-end: 4px;
}

.testimonials-empty {
    text-align: center;
    padding: 60px 20px;
    margin-bottom: 40px;
}

.testimonials-empty > .icon {
    font-size: 56px;
    color: var(--primary-gold);
    opacity: 0.3;
    margin-bottom: 20px;
}

.testimonials-empty h3 {
    color: var(--text-dark);
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 8px;
}

.testimonials-empty p {
    color: var(--text-light);
    font-size: 14.5px;
    margin: 0;
}

.testimonials-cta {
    text-align: center;
    background: linear-gradient(135deg, rgba(201,169,97,0.06), rgba(201,169,97,0.02));
    border: 1px solid rgba(201,169,97,0.20);
    border-radius: 22px;
    padding: 48px 36px;
}

.testimonials-cta-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-gold), var(--dark-gold));
    color: #fff;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 16px 36px rgba(201,169,97,0.35);
}

.testimonials-cta h2 {
    color: var(--text-dark);
    font-size: 26px;
    font-weight: 800;
    margin: 0 0 10px;
}

.testimonials-cta p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.85;
    max-width: 580px;
    margin: 0 auto 24px;
}

.testimonials-cta-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.testimonials-cta-actions .btn {
    padding: 13px 24px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

body.dark-mode .testimonials-stat {
    background: #1a1a1a;
    border-color: #2a2a2a;
}

body.dark-mode .testimonials-stat:hover {
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.50);
}

body.dark-mode .testimonials-stat-value { color: #eee; }
body.dark-mode .testimonials-stat-label { color: #aaa; }

body.dark-mode .testimonials-filter-btn {
    background: #1a1a1a;
    border-color: #2a2a2a;
    color: #ddd;
}

body.dark-mode .testimonials-filter-btn small {
    background: #0f0f0f;
    color: #aaa;
}

body.dark-mode .testimonials-filter-btn.active {
    color: #fff;
}

body.dark-mode .testimonial-card {
    background: #1a1a1a;
    border-color: #2a2a2a;
}

body.dark-mode .testimonial-card:hover {
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.50);
}

body.dark-mode .testimonial-card-info strong { color: #eee; }
body.dark-mode .testimonial-card-info span { color: #aaa; }
body.dark-mode .testimonial-card-text { color: #ddd; }
body.dark-mode .testimonial-card-rating .icon { color: #2a2a2a; }
body.dark-mode .testimonial-card-rating .icon.filled { color: var(--primary-gold); }
body.dark-mode .testimonial-card-footer {
    border-top-color: #2a2a2a;
    color: #aaa;
}

body.dark-mode .testimonials-empty h3 { color: #eee; }
body.dark-mode .testimonials-empty p { color: #aaa; }

body.dark-mode .testimonials-cta {
    background: linear-gradient(135deg, rgba(201,169,97,0.08), rgba(201,169,97,0.02));
    border-color: rgba(201,169,97,0.25);
}

body.dark-mode .testimonials-cta h2 { color: #eee; }
body.dark-mode .testimonials-cta p { color: #aaa; }

@media (max-width: 992px) {
    .testimonials-stats { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-featured { padding: 30px 28px 34px; }
    .testimonials-featured-quote-icon { width: 48px; height: 48px; font-size: 18px; }
}

@media (max-width: 600px) {
    .testimonials-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
    .testimonials-stat { padding: 20px 14px; }
    .testimonials-stat-value { font-size: 24px; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .testimonials-featured { padding: 26px 20px 28px; }
    .testimonials-featured-text { font-size: 16.5px; }
    .testimonials-featured-quote-icon { width: 44px; height: 44px; font-size: 16px; border-radius: 13px; }
    .testimonials-featured-rating { font-size: 14px; }
    .testimonials-cta { padding: 36px 22px; }
    .testimonials-cta h2 { font-size: 22px; }
    .testimonials-cta-actions .btn { width: 100%; justify-content: center; }
}

.search-empty {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    padding: 40px 0 20px;
}

.search-empty-icon {
    width: 110px;
    height: 110px;
    margin: 0 auto 26px;
    background: linear-gradient(135deg, rgba(201,169,97,0.12), rgba(201,169,97,0.04));
    border: 1px solid rgba(201,169,97,0.20);
    color: var(--primary-gold);
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    animation: searchEmptyFloat 4s ease-in-out infinite;
}

@keyframes searchEmptyFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}

.search-empty h2 {
    color: var(--text-dark);
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 10px;
    line-height: 1.45;
}

.search-empty h2 span {
    color: var(--primary-gold);
    word-break: break-word;
}

.search-empty-sub {
    color: var(--text-light);
    font-size: 15.5px;
    line-height: 1.85;
    margin: 0 0 26px;
}

.search-empty-suggest {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    background: rgba(201,169,97,0.08);
    border: 1px solid rgba(201,169,97,0.22);
    color: var(--text-dark);
    padding: 12px 22px;
    border-radius: 50px;
    font-size: 14.5px;
    font-weight: 600;
    margin-bottom: 36px;
}

.search-empty-suggest a {
    color: var(--primary-gold);
    font-weight: 800;
    text-decoration: none;
    border-bottom: 1.5px dashed var(--primary-gold);
    padding-bottom: 1px;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s, opacity 0.2s;
}

.search-empty-suggest a:hover {
    color: var(--dark-gold);
    border-bottom-style: solid;
}

.search-empty-tips {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px 28px;
    margin: 0 auto 36px;
    text-align: start;
    max-width: 560px;
}

.search-empty-tips h3 {
    color: var(--text-dark);
    font-size: 15.5px;
    font-weight: 800;
    margin: 0 0 14px;
    text-align: center;
}

.search-empty-tips ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.search-empty-tips li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
    font-size: 14px;
    line-height: 1.6;
}

.search-empty-tips li .icon {
    color: var(--primary-gold);
    font-size: 14px;
    flex-shrink: 0;
}

.search-empty-popular {
    margin-bottom: 44px;
}

.search-empty-popular .search-suggestions-label {
    display: block;
    margin-bottom: 14px;
    color: var(--text-light);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.search-empty-browse {
    border-top: 1px solid var(--border-color);
    padding-top: 36px;
}

.search-empty-browse h3 {
    color: var(--text-light);
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 20px;
    letter-spacing: 0.5px;
}

.search-empty-browse-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    max-width: 680px;
    margin: 0 auto;
}

.search-empty-browse-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 16px 18px;
    text-decoration: none;
    color: var(--text-dark);
    transition: background-color 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-align: start;
}

.search-empty-browse-card:hover {
    border-color: var(--primary-gold);
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.10);
}

.search-empty-browse-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(201,169,97,0.15), rgba(201,169,97,0.05));
    color: var(--primary-gold);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s, opacity 0.3s;
}

.search-empty-browse-card:hover .search-empty-browse-icon {
    background: linear-gradient(135deg, var(--primary-gold), var(--dark-gold));
    color: #fff;
}

.search-empty-browse-text {
    flex: 1;
    min-width: 0;
}

.search-empty-browse-text strong {
    display: block;
    color: var(--text-dark);
    font-size: 14.5px;
    font-weight: 800;
    margin-bottom: 3px;
}

.search-empty-browse-text small {
    display: block;
    color: var(--text-light);
    font-size: 12.5px;
    line-height: 1.5;
}

.search-empty-browse-arrow {
    color: var(--text-light);
    font-size: 12px;
    transition: background-color 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s, transform 0.25s, opacity 0.25s;
    opacity: 0.5;
}

[dir="rtl"] .search-empty-browse-card:hover .search-empty-browse-arrow {
    color: var(--primary-gold);
    opacity: 1;
    transform: translateX(-4px);
}
[dir="ltr"] .search-empty-browse-card:hover .search-empty-browse-arrow {
    color: var(--primary-gold);
    opacity: 1;
    transform: scaleX(-1) translateX(-4px);
}

body.dark-mode .search-empty h2 { color: #eee; }
body.dark-mode .search-empty-sub { color: #aaa; }

body.dark-mode .search-empty-suggest {
    background: rgba(201,169,97,0.10);
    color: #eee;
}

body.dark-mode .search-empty-tips {
    background: #0f0f0f;
    border-color: #2a2a2a;
}

body.dark-mode .search-empty-tips h3 { color: #eee; }
body.dark-mode .search-empty-tips li { color: #ddd; }

body.dark-mode .search-empty-browse { border-top-color: #2a2a2a; }
body.dark-mode .search-empty-browse h3 { color: #888; }

body.dark-mode .search-empty-browse-card {
    background: #1a1a1a;
    border-color: #2a2a2a;
}

body.dark-mode .search-empty-browse-card:hover {
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.50);
}

body.dark-mode .search-empty-browse-text strong { color: #eee; }
body.dark-mode .search-empty-browse-text small { color: #aaa; }

@media (max-width: 768px) {
    .search-empty-icon { width: 88px; height: 88px; font-size: 34px; border-radius: 22px; }
    .search-empty h2 { font-size: 22px; }
    .search-empty-tips { padding: 20px 18px; }
    .search-empty-browse-grid { grid-template-columns: 1fr; }
}

.custom-list,
.custom-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-list > li {
    margin-bottom: 28px;
}

.custom-list > li > span {
    display: block;
    font-size: 22px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.4;
}

.custom-list > li > ul {
    padding-inline-start: 30px;   
}

.custom-list > li > ul > li {
    position: relative;
    padding: 8px 0;
    font-size: 16px;
    color: var(--text-dark);
    line-height: 1.5;
}

.custom-list > li > ul > li a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.custom-list > li > ul > li a:hover {
    color: var(--primary-gold);
}

.custom-list > li > ul > li::before {
    content: "";
    position: absolute;
    background: var(--border-color);
    height: 37px;
    width: 1px;
    top: 0;
    inset-inline-start: -30px;
}

.custom-list > li > ul > li::after {
    content: "";
    position: absolute;
    background: var(--border-color);
    height: 1px;
    width: 20px;
    top: 22px;
    inset-inline-start: -30px;
}

body.dark-mode .custom-list > li > span { color: #f0e9d8; }
body.dark-mode .custom-list > li > ul > li { color: #d4cfc4; }
body.dark-mode .custom-list > li > ul > li::before,
body.dark-mode .custom-list > li > ul > li::after { background: #2a2a2a; }

@media (max-width: 768px) {
    .custom-list > li > span { font-size: 18px; }
    .custom-list > li > ul { padding-inline-start: 24px; }
    .custom-list > li > ul > li { font-size: 14.5px; }
    .custom-list > li > ul > li::before { inset-inline-start: -24px; height: 32px; }
    .custom-list > li > ul > li::after  { inset-inline-start: -24px; width: 16px; top: 19px; }
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: rgba(0, 0, 0, 0.92);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s 0.3s linear;
}

.gallery-lightbox.is-open {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0s 0s linear;
}

.gallery-lightbox-close {
    position: absolute;
    top: 24px;
    inset-inline-end: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.10);
    border: 1.5px solid rgba(255, 255, 255, 0.20);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s, opacity 0.2s;
    z-index: 10;
}

.gallery-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.20);
    border-color: var(--primary-gold);
    color: var(--primary-gold);
    transform: rotate(90deg);
}

.gallery-lightbox-content {
    position: relative;
    max-width: min(1200px, 100%);
    max-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: scale(0.92);
    transition: transform 0.3s ease;
}

.gallery-lightbox.is-open .gallery-lightbox-content {
    transform: scale(1);
}

.gallery-lightbox-media {
    background: transparent;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 80vh;
}

.gallery-lightbox-media img {
    max-width: 100%;
    max-height: 80vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 12px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.gallery-lightbox-media iframe,
.gallery-lightbox-media video {
    width: min(85vw, 1100px);
    aspect-ratio: 16 / 9;
    max-height: 80vh;
    height: auto;
    border: 0;
    display: block;
    border-radius: 12px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    background: #000;
}

.gallery-lightbox-caption {
    margin-top: 20px;
    text-align: center;
    color: #fff;
}

.gallery-lightbox-caption-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
}

.gallery-lightbox-caption-meta {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.65);
}

.gallery-lightbox-caption-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.gallery-lightbox-caption-meta .icon {
    color: var(--primary-gold);
    font-size: 13px;
}

.gallery-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.10);
    border: 1.5px solid rgba(255, 255, 255, 0.20);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s, opacity 0.2s;
    z-index: 5;
}

.gallery-lightbox-nav:hover {
    background: var(--primary-gold);
    border-color: var(--primary-gold);
    color: #fff;
    transform: translateY(-50%) scale(1.08);
}

.gallery-lightbox-nav.prev { inset-inline-start: 16px; }
.gallery-lightbox-nav.next { inset-inline-end: 16px; }

.gallery-lightbox-nav:disabled,
.gallery-lightbox-nav:disabled:hover {
    opacity: 0.30;
    cursor: not-allowed;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.20);
    color: #fff;
    transform: translateY(-50%);
}

.gallery-lightbox-counter {
    position: absolute;
    top: 30px;
    inset-inline-start: 30px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.10);
    border: 1.5px solid rgba(255, 255, 255, 0.20);
    border-radius: 24px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    z-index: 5;
    letter-spacing: 0.3px;
}

body.lightbox-open {
    overflow: hidden;
}

body.notif-modal-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .gallery-lightbox { padding: 20px; }
    .gallery-lightbox-nav { width: 42px; height: 42px; font-size: 15px; }
    .gallery-lightbox-nav.prev { inset-inline-start: 8px; }
    .gallery-lightbox-nav.next { inset-inline-end: 8px; }
    .gallery-lightbox-close { top: 14px; inset-inline-end: 14px; width: 40px; height: 40px; font-size: 15px; }
    .gallery-lightbox-counter { top: 20px; inset-inline-start: 20px; font-size: 12px; padding: 6px 12px; }
    .gallery-lightbox-caption-title { font-size: 15px; }
    .gallery-lightbox-caption-meta { font-size: 12.5px; gap: 12px; }
}

@media (max-width: 768px) {
    .contact-field input,
    .contact-field select,
    .contact-field textarea,
    .complaints-form .auth-field input,
    .complaints-form .auth-field select,
    .complaints-form .auth-field textarea,
    .newsletter-form .auth-field input,
    .newsletter-form .auth-field select,
    .newsletter-form .auth-field textarea {
        font-size: 16px;
    }
}

.notifications-page {
    margin: 0 auto;
}

.notifications-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 18px 22px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.notifications-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

.notifications-stat-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-light);
}

.notifications-stat-item strong {
    color: var(--text-dark);
    font-weight: 700;
    font-size: 15px;
}

.notifications-stat-item .icon {
    color: var(--primary-gold);
    font-size: 14px;
}

.notifications-unread-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-gold);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 3px rgba(201,169,97,0.15);
}

.notifications-actions {
    display: flex;
    gap: 10px;
}

.btn-sm {
    padding: 8px 14px;
    font-size: 13px;
}

.notifications-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}

.notifications-filter-btn {
    padding: 9px 18px;
    background: #fff;
    border: 1.5px solid var(--border-color);
    border-radius: 22px;
    color: var(--text-light);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.22s, color 0.22s, border-color 0.22s, box-shadow 0.22s, transform 0.22s, opacity 0.22s;
}

.notifications-filter-btn:hover {
    background: rgba(201,169,97,0.08);
    border-color: var(--primary-gold);
    color: var(--primary-gold);
}

.notifications-filter-btn.active {
    background: var(--primary-gold);
    border-color: var(--primary-gold);
    color: #fff;
}

.notifications-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.notification-item {
    position: relative;
    display: flex;
    gap: 16px;
    padding: 18px 22px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: background-color 0.22s, color 0.22s, border-color 0.22s, box-shadow 0.22s, transform 0.22s, opacity 0.22s;
}

.notification-item:hover {
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
    transform: translateY(-2px);
    border-color: rgba(201,169,97,0.4);
}

.notification-item.is-unread {
    background: rgba(201,169,97,0.04);
    border-color: rgba(201,169,97,0.25);
}

.notification-unread-badge {
    position: absolute;
    top: 20px;
    inset-inline-end: 18px;
    width: 9px;
    height: 9px;
    background: var(--primary-gold);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(201,169,97,0.20);
    z-index: 2;
}

.notification-item.is-unread .notification-header {
    padding-inline-end: 22px;
}

.notification-icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
}

.notification-icon-message     { background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%); }
.notification-icon-reminder    { background: linear-gradient(135deg, #F5A623 0%, #E48F0F 100%); }
.notification-icon-evaluation  { background: linear-gradient(135deg, #7ED321 0%, #5BA416 100%); }
.notification-icon-achievement { background: linear-gradient(135deg, var(--primary-gold) 0%, #b08b4f 100%); }
.notification-icon-system      { background: linear-gradient(135deg, #9B9B9B 0%, #6E6E6E 100%); }

.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 6px;
}

.notification-title {
    font-size: 15.5px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.5;
    flex: 1;
}

.notification-time {
    font-size: 12px;
    color: var(--text-light);
    white-space: nowrap;
    flex-shrink: 0;
    padding-top: 2px;
}

.notification-body {
    font-size: 13.5px;
    color: var(--text-light);
    line-height: 1.75;
    margin: 0 0 12px;
}

.notification-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.notification-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    color: var(--primary-gold);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    font-family: inherit;
    transition: gap 0.22s;
}

.notification-link:hover { gap: 10px; }

.notification-link .icon { font-size: 11px; }

.notification-mark-read {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-light);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.22s, color 0.22s, border-color 0.22s, box-shadow 0.22s, transform 0.22s, opacity 0.22s;
}

.notification-mark-read:hover {
    background: rgba(201,169,97,0.10);
    border-color: var(--primary-gold);
    color: var(--primary-gold);
}

.notification-mark-read .icon { font-size: 11px; }

.notifications-empty {
    padding: 60px 20px;
    text-align: center;
    background: #fff;
    border: 1px dashed var(--border-color);
    border-radius: 12px;
}

.notifications-empty .icon {
    font-size: 48px;
    color: var(--text-light);
    opacity: 0.5;
    margin-bottom: 18px;
    display: block;
}

.notifications-empty h3 {
    color: var(--text-dark);
    font-size: 18px;
    margin: 0 0 8px;
}

.notifications-empty p {
    color: var(--text-light);
    font-size: 14px;
    margin: 0;
}

@media (max-width: 600px) {
    .notification-item {
        padding: 14px 16px;
        gap: 12px;
    }
    .notification-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    .notification-header {
        flex-direction: column;
        gap: 4px;
    }
    .notification-time {
        order: -1;
    }
    .notifications-toolbar {
        padding: 14px 16px;
    }
    .notifications-stats {
        gap: 16px;
    }
}

.notif-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.28s ease;
}

.notif-modal.is-open { opacity: 1; }
.notif-modal[hidden] { display: none; }

.notif-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    cursor: pointer;
}

.notif-modal-dialog {
    position: relative;
    background: #fff;
    border-radius: 16px;
    max-width: 540px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 25px 70px rgba(0,0,0,0.30);
    transform: scale(0.95);
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.notif-modal.is-open .notif-modal-dialog {
    transform: scale(1);
}

.notif-modal-close {
    position: absolute;
    top: 14px;
    inset-inline-end: 14px;
    width: 36px;
    height: 36px;
    background: rgba(0,0,0,0.05);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.22s, color 0.22s, border-color 0.22s, box-shadow 0.22s, transform 0.22s, opacity 0.22s;
    z-index: 2;
}

.notif-modal-close:hover {
    background: rgba(220,53,69,0.10);
    color: #dc3545;
    transform: rotate(90deg);
}

.notif-modal-close .icon { font-size: 16px; }

.notif-modal-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 24px 20px;
    border-bottom: 1px solid var(--border-color);
    padding-inline-end: 60px;
}

.notif-modal-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
}

.notif-modal-icon .icon { color: #fff !important; }

.notif-modal-header-text { flex: 1; min-width: 0; }

.notif-modal-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 4px;
    line-height: 1.5;
}

.notif-modal-time {
    font-size: 12.5px;
    color: var(--text-light);
}

.notif-modal-body {
    padding: 22px 24px;
}

.notif-modal-body p {
    font-size: 14.5px;
    color: var(--text-dark);
    line-height: 1.85;
    margin: 0 0 18px;
}

.notif-modal-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 14px;
    border-top: 1px solid var(--border-color);
}

.notif-modal-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-light);
}

.notif-modal-meta-item .icon {
    color: var(--primary-gold);
    font-size: 13px;
}

.notif-modal-footer {
    padding: 16px 24px 22px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    border-top: 1px solid var(--border-color);
}

@media (max-width: 600px) {
    .notif-modal-dialog { max-height: 92vh; }
    .notif-modal-header { padding: 20px 20px 16px; padding-inline-end: 54px; }
    .notif-modal-icon { width: 48px; height: 48px; font-size: 18px; }
    .notif-modal-title { font-size: 16px; }
    .notif-modal-body { padding: 18px 20px; }
    .notif-modal-footer { padding: 14px 20px 18px; }
}
