/* ===================================
   NEAIST Website - Main Styles
   Modern, Clean & Responsive Design
   =================================== */

/* ========== CSS Variables ========== */
:root {
    /* Colors */
    --neaist-blue: #21A1DE;
    --neaist-dark: #102D3D;
    --neaist-text: #111827;
    --neaist-sand: #DCC19F;
    --neaist-sand-light: #F4E8D8;
    --neaist-sand-soft: #FAF5EF;
    --sand-tint: rgba(220, 193, 159, 0.32);
    --sand-border: rgba(220, 193, 159, 0.52);

    --primary-color: var(--neaist-blue);
    --primary-dark: var(--neaist-dark);
    --primary-light: #88D4F4;
    --secondary-color: #111111;
    --accent-color: var(--neaist-blue);
    --primary-tint: rgba(27, 159, 224, 0.12);
    --accent-tint: rgba(27, 159, 224, 0.18);
    
    --dark: #06090D;
    --dark-light: #10161D;
    --text-dark: var(--neaist-text);
    --text-gray: #41505D;
    --text-light: #728393;
    
    --white: #FFFFFF;
    --light-bg: #F4FAFD;
    --gray-bg: #D7EAF4;
    
    --success: #06D6A0;
    --warning: #FFD60A;
    --error: #EF476F;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Poppins', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 5rem;
    
    /* Borders & Shadows */
    --border-radius: 10px;
    --border-radius-lg: 20px;
    --box-shadow: 0 18px 40px rgba(11, 17, 23, 0.08);
    --box-shadow-lg: 0 30px 70px rgba(11, 17, 23, 0.16);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========== Reset & Base ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

section,
[id] {
    scroll-margin-top: 140px;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.6;
    background:
        radial-gradient(circle at 88% 12%, rgba(220, 193, 159, 0.12), transparent 18%),
        radial-gradient(circle at top left, rgba(27, 159, 224, 0.08), transparent 28%),
        linear-gradient(180deg, #fbfdff 0%, #eef7fc 100%);
    overflow-x: hidden;
}

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

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

p {
    margin-bottom: var(--spacing-md);
    color: var(--text-gray);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ========== Container ========== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ========== Navigation ========== */
.navbar {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(18px);
    box-shadow: var(--box-shadow);
    border-bottom: 1px solid rgba(27, 159, 224, 0.08);
    z-index: 9999;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--box-shadow-lg);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 0;
}

.logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    letter-spacing: 0.04em;
}

.logo-mark {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid rgba(27, 159, 224, 0.18);
    background: rgba(255, 255, 255, 0.96);
}

.logo-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-text-group {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.logo-text {
    line-height: 1;
}

.logo-subtext {
    font-size: 0.88rem;
    letter-spacing: 0.01em;
    color: var(--text-gray);
    font-weight: 700;
}

.logo:hover {
    color: var(--primary-dark);
}

.nav-list {
    display: flex;
    gap: 0.3rem;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.75rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.nav-link-cta {
    background: var(--accent-color);
    color: var(--dark);
    font-weight: 700;
}

.nav-link-cta::after {
    display: none;
}

.nav-link-cta:hover {
    background: #52baec;
    color: var(--dark);
    transform: translateY(-2px);
}

.nav-item-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    border: none;
    background: transparent;
    cursor: pointer;
    font: inherit;
}

.nav-dropdown-toggle i {
    font-size: 0.78rem;
    transition: transform 0.2s ease;
}

.nav-item-dropdown.open .nav-dropdown-toggle i,
.nav-item-dropdown:hover .nav-dropdown-toggle i,
.nav-item-dropdown:focus-within .nav-dropdown-toggle i {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.25rem);
    left: 0;
    min-width: 235px;
    padding: 0.5rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(27, 159, 224, 0.12);
    box-shadow: 0 20px 38px rgba(11, 17, 23, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 1100;
}

.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -14px;
    left: 0;
    width: 100%;
    height: 14px;
}

.nav-item-dropdown.open .nav-dropdown-menu,
.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.nav-dropdown-menu li + li {
    margin-top: 0.2rem;
}

.nav-dropdown-link {
    display: block;
    padding: 0.8rem 0.95rem;
    border-radius: 12px;
    color: var(--text-dark);
    font-weight: 500;
    white-space: nowrap;
    transition: var(--transition);
}

.nav-dropdown-link:hover,
.nav-dropdown-link:focus-visible,
.nav-dropdown-link.active {
    background: var(--primary-tint);
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: var(--transition);
}

/* ========== Hero Section ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at top left, rgba(136, 212, 244, 0.22), transparent 32%),
        radial-gradient(circle at bottom right, rgba(27, 159, 224, 0.18), transparent 24%),
        linear-gradient(135deg, var(--primary-dark) 0%, #13202b 48%, #1b9fe0 100%);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: bottom;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    width: 100%;
}

.hero-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
    gap: var(--spacing-xl);
    align-items: center;
    padding-top: 2rem;
    padding-bottom: 5rem;
}

.hero-copy {
    max-width: 580px;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: var(--spacing-md);
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-title {
    color: var(--white);
    margin-bottom: var(--spacing-md);
    font-size: clamp(2.7rem, 4.8vw, 4.4rem);
    line-height: 1.06;
}

.hero-description {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 0 var(--spacing-xl);
    opacity: 0.9;
    color: var(--white);
}

.hero-pill-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xl);
}

.hero-pill-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(220, 193, 159, 0.12));
    border: 1px solid rgba(220, 193, 159, 0.28);
    backdrop-filter: blur(12px);
    color: var(--white);
    font-weight: 600;
}

.hero-pill-card i {
    color: var(--neaist-sand);
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: flex-start;
    flex-wrap: wrap;
}

.hero-carousel {
    position: relative;
    min-height: 620px;
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(9, 18, 27, 0.32);
    box-shadow: 0 35px 80px rgba(6, 9, 13, 0.3);
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(9, 18, 27, 0.02) 0%, rgba(9, 18, 27, 0.68) 100%);
}

.hero-slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide-contain {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(231, 242, 250, 0.98));
}

.hero-slide-contain img {
    object-fit: contain;
    object-position: center;
    padding: 1.5rem;
}

.hero-slide-caption {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 1.5rem;
    color: var(--white);
}

.hero-slide-caption h3 {
    margin-bottom: 0.45rem;
    color: var(--white);
}

.hero-slide-caption p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.88);
}

.hero-slide-tag {
    display: inline-flex;
    margin-bottom: 0.8rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-carousel-controls {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hero-carousel-btn,
.hero-carousel-dot {
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.hero-carousel-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    color: var(--white);
    backdrop-filter: blur(12px);
}

.hero-carousel-btn:hover {
    background: rgba(255, 255, 255, 0.28);
}

.hero-carousel-dots {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.hero-carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.42);
}

.hero-carousel-dot.is-active {
    width: 28px;
    border-radius: 999px;
    background: var(--white);
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: var(--white);
    opacity: 0.7;
    animation: bounce 2s infinite;
}

.festival-divider {
    padding: 0 0 var(--spacing-xl);
    margin-top: -2rem;
    position: relative;
    z-index: 3;
}

.festival-divider-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-lg);
    padding: 1.5rem 1.75rem;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(250, 245, 239, 0.96));
    border: 1px solid rgba(220, 193, 159, 0.34);
    box-shadow: var(--box-shadow);
}

.festival-divider-title,
.festival-divider-text {
    margin-bottom: 0;
}

.festival-divider-title {
    color: var(--text-dark);
}

.festival-divider-text {
    margin-top: 0.45rem;
}

@keyframes bounce {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 10px); }
}

/* ========== Buttons ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--white);
}

.btn-primary:hover {
    background: #52baec;
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-light {
    background: var(--accent-color);
    color: var(--white);
}

.btn-light:hover {
    background: #52baec;
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-lg);
}

/* ========== Sections ========== */
section {
    padding: var(--spacing-xxl) 0;
}

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

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.85rem;
    margin-bottom: var(--spacing-md);
    border-radius: 999px;
    background: var(--sand-tint);
    color: var(--primary-dark);
    border: 1px solid rgba(220, 193, 159, 0.46);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

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

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
}

.page-header {
    padding-top: calc(80px + var(--spacing-xxl));
    padding-bottom: var(--spacing-xl);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    text-align: center;
}

.page-title {
    color: var(--white);
    margin-bottom: var(--spacing-sm);
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    color: var(--white);
}

/* ========== Features ========== */
.features {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.75), rgba(243, 247, 248, 0.95)),
        var(--light-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.feature-card {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(15, 91, 115, 0.08);
    border-top: 4px solid var(--neaist-sand);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-lg);
    border-color: rgba(220, 193, 159, 0.48);
}

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

.feature-title {
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.feature-description {
    color: var(--text-gray);
}

/* ========== Recent Highlights ========== */
.highlights {
    background:
        radial-gradient(circle at 12% 20%, rgba(220, 193, 159, 0.16), transparent 24%),
        radial-gradient(circle at top right, rgba(27, 159, 224, 0.08), transparent 26%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(215, 234, 244, 0.5));
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: var(--spacing-lg);
}

.highlight-card {
    grid-column: span 4;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(15, 91, 115, 0.08);
    border-top: 4px solid var(--neaist-sand);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.highlight-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow-lg);
}

.highlight-card-featured {
    grid-column: span 8;
}

.highlight-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.highlight-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.45s ease;
}

.highlight-media-contain {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(231, 242, 250, 0.96));
}

.highlight-media-contain img {
    object-fit: contain;
    object-position: center;
    padding: 1rem;
}

.highlight-media-placeholder {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.7rem;
    padding: var(--spacing-lg);
    background:
        linear-gradient(160deg, rgba(27, 159, 224, 0.18), rgba(11, 17, 23, 0.88)),
        var(--primary-dark);
    color: var(--white);
}

.highlight-media-placeholder strong {
    font-family: var(--font-heading);
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    line-height: 1;
}

.highlight-media-placeholder p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
}

.placeholder-pill {
    display: inline-flex;
    align-self: flex-start;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: var(--white);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.highlight-card:hover .highlight-media img {
    transform: scale(1.04);
}

.highlight-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: var(--spacing-sm);
    padding: var(--spacing-lg);
}

.highlight-tag {
    align-self: flex-start;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: var(--neaist-sand-light);
    color: var(--primary-dark);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.highlight-tag-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.highlight-tag-secondary {
    background: var(--primary-tint);
    color: var(--primary-color);
}

.highlight-title {
    margin-bottom: 0;
}

.highlight-description {
    margin-bottom: 0;
}

.highlight-meta {
    margin-top: auto;
    color: var(--primary-color);
    font-size: 0.95rem;
    font-weight: 700;
}

.news-date {
    margin-bottom: 0;
    color: var(--text-light);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.news-card-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    padding: 0.85rem 1rem;
    border-radius: var(--border-radius);
    background: var(--primary-color);
    color: var(--white);
    font-weight: 700;
}

.news-card-link:hover {
    color: var(--white);
    background: var(--primary-dark);
}

.section-actions {
    display: flex;
    justify-content: center;
    margin-top: var(--spacing-xl);
}

.news-archive {
    background: linear-gradient(180deg, rgba(250, 245, 239, 0.78), rgba(243, 247, 248, 1));
}

.archive-intro-card,
.news-feature-banner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: var(--spacing-lg);
    align-items: center;
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    background: linear-gradient(135deg, rgba(250, 245, 239, 0.94), rgba(231, 242, 250, 0.84));
    border: 1px solid rgba(220, 193, 159, 0.42);
    border-radius: var(--border-radius-lg);
}

.archive-intro-card p:last-child,
.news-feature-banner p:last-child {
    margin-bottom: 0;
}

.merch-preview-banner {
    grid-template-columns: 1fr;
    gap: clamp(1.25rem, 2.6vw, 1.8rem);
}

.merch-preview-copy {
    max-width: 62ch;
}

.merch-preview-side {
    display: grid;
    gap: 1.15rem;
    justify-items: center;
    align-content: center;
    width: 100%;
}

.merch-preview-visual {
    display: block;
    width: 100%;
    max-width: 760px;
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(27, 159, 224, 0.12);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 22px 52px rgba(16, 32, 51, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.merch-preview-visual:hover,
.merch-preview-visual:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 28px 60px rgba(16, 32, 51, 0.16);
}

.merch-preview-visual img {
    display: block;
    width: 100%;
    height: auto;
}

.merch-preview-side .btn {
    width: auto;
    max-width: none;
    min-width: 168px;
    margin: 0 auto;
}

.news-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: var(--spacing-xl);
}

.news-filter-btn {
    padding: 0.75rem 1rem;
    border: 1px solid rgba(27, 159, 224, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    color: var(--text-dark);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.news-filter-btn:hover,
.news-filter-btn:focus-visible {
    background: var(--neaist-sand-soft);
    color: var(--primary-dark);
    border-color: var(--sand-border);
}

.news-filter-btn.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* ========== Impact Section ========== */
.impact-section {
    background:
        radial-gradient(circle at top, rgba(136, 212, 244, 0.16), transparent 30%),
        linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
}

.impact-section .section-title,
.impact-section .section-subtitle,
.impact-section .section-kicker {
    color: var(--white);
}

.impact-section .section-kicker {
    background: rgba(255, 255, 255, 0.14);
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--spacing-lg);
}

.impact-card {
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(12px);
}

.impact-card h3 {
    color: var(--white);
    font-size: 1.25rem;
}

.impact-card p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.84);
}

/* ========== CTA ========== */
.cta {
    background:
        radial-gradient(circle at top right, rgba(27, 159, 224, 0.24), transparent 25%),
        var(--dark);
    color: var(--white);
    text-align: center;
}

.cta-title {
    color: var(--white);
    margin-bottom: var(--spacing-md);
}

.cta-description {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-xl);
    color: rgba(255, 255, 255, 0.9);
}

/* ========== Footer ========== */
.footer {
    background: linear-gradient(180deg, var(--dark-light), var(--dark));
    color: var(--white);
    padding: var(--spacing-xxl) 0 var(--spacing-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-title {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.footer-brand-logo {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    padding: 0.2rem;
    border: 1px solid rgba(27, 159, 224, 0.18);
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
}

.footer-tech-mark {
    display: inline-flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-top: var(--spacing-lg);
}

.footer-tech-label {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.footer-tech-logo {
    width: auto;
    max-width: 180px;
    height: 56px;
    object-fit: contain;
    padding: 0.6rem 0.9rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.95);
}

.footer-heading {
    color: var(--white);
    margin-bottom: var(--spacing-md);
}

.footer-links li {
    margin-bottom: var(--spacing-xs);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
}

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

.footer-contact li {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xs);
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact i {
    color: var(--primary-light);
}

.social-links {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* ========== Africa Day Page ========== */
.event-page {
    background:
        linear-gradient(180deg, rgba(255, 250, 244, 0.9), rgba(245, 236, 223, 0.84)),
        url("../images/gallery/Dia de Africa Plain.png");
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
}

.event-hero {
    padding-top: calc(80px + var(--spacing-xxl));
    padding-bottom: var(--spacing-xxl);
}

.event-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: var(--spacing-xl);
    align-items: start;
}

.event-copy {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.event-copy .page-title {
    color: var(--text-dark);
}

.event-copy .page-subtitle {
    color: var(--primary-color);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.event-copy h1,
.event-copy h2,
.event-copy h3,
.event-copy p {
    margin-bottom: 0;
}

.event-description {
    font-size: 1.18rem;
    color: var(--text-dark);
    font-weight: 600;
}

.event-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--spacing-md);
    margin: var(--spacing-md) 0;
}

.event-meta-card {
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(27, 159, 224, 0.14);
    border-top: 4px solid var(--neaist-sand);
    box-shadow: var(--box-shadow);
}

.event-meta-card span {
    display: block;
}

.event-meta-label {
    margin-bottom: 0.45rem;
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.event-meta-value {
    color: var(--text-dark);
    font-weight: 700;
}

.event-support-note {
    padding: 1rem 1.1rem;
    border-left: 4px solid var(--neaist-sand);
    border-radius: 0 14px 14px 0;
    background: rgba(250, 245, 239, 0.88);
    color: var(--text-gray);
}

.event-link-row {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    margin-top: var(--spacing-sm);
}

.event-poster-card {
    overflow: hidden;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(27, 159, 224, 0.16);
    box-shadow: var(--box-shadow-lg);
}

.event-poster-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.agenda-section {
    padding-top: 0;
}

.event-spotlight-section {
    padding-top: var(--spacing-xl);
    padding-bottom: var(--spacing-xxl);
}

.event-spotlight-section .event-grid {
    align-items: center;
}

.event-gratitude,
.africa-day-recap,
.africa-day-gallery {
    padding-top: clamp(2.4rem, 5vw, 4rem);
}

.event-gratitude {
    padding-bottom: 0.5rem;
}

.event-gratitude-card {
    max-width: 960px;
    margin: 0 auto;
    padding: clamp(1.6rem, 4vw, 2.5rem);
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(220, 193, 159, 0.34), rgba(250, 245, 239, 0.98));
    border: 1px solid rgba(220, 193, 159, 0.48);
    border-left: 6px solid var(--neaist-sand);
    box-shadow: 0 18px 40px rgba(16, 32, 51, 0.08);
}

.event-gratitude-card h2 {
    margin-bottom: 0.9rem;
    color: var(--primary-dark);
}

.event-gratitude-card p {
    margin: 0;
    max-width: 64ch;
    color: var(--text-dark);
    font-size: 1.05rem;
    line-height: 1.85;
}

.africa-day-recap {
    padding-bottom: 0.75rem;
}

.africa-day-recap .section-heading,
.africa-day-gallery .section-heading {
    margin-bottom: 2rem;
}

.africa-day-recap-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--spacing-lg);
}

.africa-day-recap-card {
    padding: 1.65rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(27, 159, 224, 0.1);
    border-top: 4px solid var(--neaist-sand);
    box-shadow: var(--box-shadow);
}

.africa-day-recap-card h3 {
    margin-bottom: 0.7rem;
    color: #102033;
    font-size: 1.4rem;
}

.africa-day-recap-card p {
    margin: 0;
    color: #526477;
    line-height: 1.75;
}

.africa-day-gallery {
    padding-bottom: 0.75rem;
}

.africa-day-photo-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.africa-day-photo-card {
    overflow: hidden;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(27, 159, 224, 0.1);
    box-shadow: var(--box-shadow);
}

.africa-day-photo-card img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.africa-day-photo-card:hover img {
    transform: scale(1.03);
}

.agenda-grid {
    display: grid;
    grid-template-columns: minmax(320px, 0.88fr) minmax(0, 1.12fr);
    gap: var(--spacing-xl);
    align-items: start;
}

.agenda-image-card,
.agenda-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(27, 159, 224, 0.12);
    border-top: 4px solid var(--neaist-sand);
    border-radius: 28px;
    box-shadow: var(--box-shadow);
}

.agenda-image-card {
    overflow: hidden;
}

.agenda-image-card img {
    width: 100%;
    height: auto;
    display: block;
}

.agenda-card {
    padding: var(--spacing-xl);
}

.agenda-meta {
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
    font-size: 1rem;
}

.agenda-table-wrap {
    overflow-x: auto;
}

.agenda-table {
    width: 100%;
    border-collapse: collapse;
}

.agenda-table th,
.agenda-table td {
    padding: 0.9rem 0.75rem;
    text-align: left;
    border-bottom: 1px solid rgba(27, 159, 224, 0.08);
    vertical-align: top;
}

.agenda-table th {
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-size: 0.95rem;
}

.agenda-table td:first-child {
    width: 165px;
    color: var(--primary-color);
    font-weight: 700;
    white-space: nowrap;
}

.merch-preview {
    padding-top: 0;
}

.merch-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.merch-card {
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(27, 159, 224, 0.12);
    border-top: 4px solid var(--neaist-sand);
    box-shadow: var(--box-shadow);
}

.merch-image-wrap {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(231, 242, 250, 0.96));
    border: 1px solid rgba(27, 159, 224, 0.1);
}

.merch-image {
    width: 100%;
    height: 100%;
    padding: 0.9rem;
    object-fit: contain;
    object-position: center;
}

.merch-card h3 {
    margin-bottom: var(--spacing-sm);
}

.merch-note {
    margin-top: var(--spacing-lg);
    padding: var(--spacing-lg);
    border-left: 4px solid var(--neaist-sand);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    background: rgba(250, 245, 239, 0.9);
}

.merch-preview-subtle {
    padding-top: var(--spacing-xl);
}

.merch-preview-subtle .merch-card {
    box-shadow: 0 12px 30px rgba(11, 17, 23, 0.08);
}

/* ========== Shop Page ========== */
.shop-overview {
    background: linear-gradient(180deg, rgba(250, 245, 239, 0.78), rgba(243, 247, 248, 1));
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--spacing-lg);
}

.shop-card {
    overflow: hidden;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(27, 159, 224, 0.12);
    border-top: 4px solid var(--neaist-sand);
    box-shadow: var(--box-shadow);
}

.shop-card-media {
    aspect-ratio: 1 / 1;
    padding: 1rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(231, 242, 250, 0.96));
    border-bottom: 1px solid rgba(27, 159, 224, 0.08);
}

.shop-card-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 18px;
}

.shop-card-body {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
}

.shop-card-tag {
    align-self: flex-start;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: var(--neaist-sand-light);
    color: var(--primary-dark);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.shop-card-title {
    margin-bottom: 0;
}

.shop-card-desc {
    margin-bottom: 0;
}

.shop-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-sm);
    padding: 0.95rem 1rem;
    border-radius: 18px;
    background: rgba(250, 245, 239, 0.92);
    border: 1px solid rgba(220, 193, 159, 0.36);
}

.shop-price-label {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--primary-dark);
}

.shop-price {
    color: var(--primary-dark);
    font-family: var(--font-heading);
    font-size: 1.15rem;
}

.shop-detail-list {
    display: grid;
    gap: 0.9rem;
}

.shop-detail-item {
    display: flex;
    justify-content: space-between;
    gap: var(--spacing-md);
    padding-top: 0.9rem;
    border-top: 1px solid rgba(27, 159, 224, 0.08);
}

.shop-detail-label {
    font-weight: 700;
    color: var(--primary-dark);
}

.shop-detail-value {
    text-align: right;
    color: var(--text-gray);
}

.shop-process {
    background:
        radial-gradient(circle at 14% 18%, rgba(220, 193, 159, 0.16), transparent 22%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(243, 247, 248, 1));
}

.shop-process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--spacing-lg);
}

.shop-process-card {
    padding: var(--spacing-xl);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(27, 159, 224, 0.12);
    border-top: 4px solid var(--neaist-sand);
    box-shadow: var(--box-shadow);
}

.shop-process-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(27, 159, 224, 0.12), rgba(136, 212, 244, 0.3));
    color: var(--primary-color);
    font-size: 1.6rem;
}

.shop-process-card h3,
.shop-process-card p {
    margin-bottom: 0;
}

.shop-process-card p {
    margin-top: var(--spacing-sm);
}

.shop-note {
    margin-top: var(--spacing-xl);
    padding: var(--spacing-lg);
    border-left: 4px solid var(--neaist-sand);
    border-radius: 0 var(--border-radius-lg) var(--border-radius-lg) 0;
    background: rgba(250, 245, 239, 0.9);
}

.shop-note p {
    margin-bottom: 0;
}

/* ========== Team Page ========== */
.team-page {
    background:
        radial-gradient(circle at 12% 18%, rgba(220, 193, 159, 0.14), transparent 20%),
        radial-gradient(circle at top right, rgba(27, 159, 224, 0.08), transparent 24%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(243, 247, 248, 1));
}

.team-section + .team-section {
    margin-top: var(--spacing-xxl);
}

.team-section-header {
    text-align: left;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--spacing-lg);
}

.team-grid-compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.team-card {
    padding: var(--spacing-xl);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(27, 159, 224, 0.12);
    border-top: 4px solid var(--neaist-sand);
    box-shadow: var(--box-shadow);
}

.team-avatar {
    width: 88px;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(27, 159, 224, 0.12), rgba(136, 212, 244, 0.3));
    color: var(--primary-color);
    font-size: 2rem;
}

.team-role-label {
    display: inline-flex;
    margin-bottom: 0.8rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: var(--neaist-sand-light);
    color: var(--primary-dark);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.team-card h3 {
    margin-bottom: var(--spacing-sm);
}

.team-card p {
    margin-bottom: 0;
}

.team-member-list {
    margin: var(--spacing-md) 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.65rem;
}

.team-member-list li {
    padding-top: 0.65rem;
    border-top: 1px solid rgba(27, 159, 224, 0.08);
    color: var(--text-dark);
    font-weight: 600;
}

.team-note {
    margin-top: var(--spacing-xl);
    padding: var(--spacing-lg);
    border-radius: 18px;
    background: rgba(250, 245, 239, 0.9);
    border: 1px solid rgba(220, 193, 159, 0.44);
}

.team-note p {
    margin-bottom: 0;
    font-weight: 600;
}

.team-page-redesign {
    padding: 5rem 0;
}

.team-overview {
    max-width: 920px;
    margin-bottom: 4rem;
}

.team-overview .section-title {
    margin-bottom: 1rem;
}

.team-stats {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.team-stat {
    min-width: 150px;
    padding: 1.25rem 1.5rem;
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(213, 181, 143, 0.45);
    box-shadow: 0 12px 30px rgba(20, 31, 48, 0.06);
}

.team-stat strong {
    display: block;
    font-size: 2rem;
    line-height: 1;
    color: #111827;
}

.team-stat span {
    display: block;
    margin-top: 0.4rem;
    color: #4b5b6b;
    font-weight: 600;
}

.org-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.org-card,
.department-row {
    background: #fff;
    border: 1px solid rgba(213, 181, 143, 0.5);
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(20, 31, 48, 0.07);
}

.org-card {
    padding: 2rem;
}

.org-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.org-icon,
.department-icon {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    border-radius: 50%;
    background: rgba(33, 158, 218, 0.12);
    color: #219eda;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.org-card h3,
.department-row h3 {
    margin: 0.4rem 0 0;
    color: #111827;
    font-size: 1.6rem;
    line-height: 1.1;
}

.org-card > p,
.department-row p {
    color: #4b5b6b;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.team-page-redesign .team-member-list {
    list-style: none;
    padding: 1rem 0 0;
    margin: 0;
    border-top: 1px solid rgba(17, 24, 39, 0.08);
    display: block;
}

.team-page-redesign .team-member-list li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(17, 24, 39, 0.06);
    color: #111827;
}

.team-page-redesign .team-member-list li:last-child {
    border-bottom: 0;
}

.team-page-redesign .team-member-list strong {
    color: #111827;
}

.team-page-redesign .team-member-list span {
    color: #4b5b6b;
    font-size: 0.92rem;
    white-space: nowrap;
}

.department-list {
    display: grid;
    gap: 1.25rem;
}

.department-row {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 2rem;
    padding: 1.75rem;
    align-items: center;
}

.department-main {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.department-main p {
    margin-bottom: 0;
}

.department-members {
    display: grid;
    gap: 0.8rem;
}

.member-chip {
    padding: 1rem 1.1rem;
    border-radius: 16px;
    background: rgba(248, 243, 235, 0.9);
    border: 1px solid rgba(213, 181, 143, 0.35);
}

.member-chip strong {
    display: block;
    color: #111827;
    line-height: 1.3;
}

.member-chip span {
    display: block;
    margin-top: 0.25rem;
    color: #4b5b6b;
    font-size: 0.92rem;
    font-weight: 600;
}

/* ========== Language Switcher ========== */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-light);
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    transition: var(--transition);
    border-radius: 4px;
}

.lang-btn:hover {
    color: var(--primary-color);
    background: var(--primary-tint);
}

.lang-btn.active {
    color: var(--primary-color);
    background: var(--primary-tint);
}

.lang-btn-disabled,
.lang-btn-disabled:hover {
    color: var(--text-light);
    background: transparent;
    opacity: 0.45;
    cursor: not-allowed;
}

.lang-separator {
    color: var(--text-light);
    opacity: 0.5;
    font-size: 0.9rem;
}

/* ========== Back to Top ========== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--box-shadow-lg);
    transition: var(--transition);
    z-index: 999;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

.back-to-top.show {
    display: flex;
}

/* ========== About Page ========== */
.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    align-items: center;
}

.about-image img {
    display: block;
    width: 100%;
    min-height: 360px;
    border-radius: var(--border-radius-lg);
    object-fit: cover;
    box-shadow: var(--box-shadow-lg);
}

.overview-image img {
    display: block;
    width: 100%;
    max-width: 520px;
    min-height: 0;
    max-height: 640px;
    margin: 0 auto;
    border-radius: var(--border-radius-lg);
    object-fit: cover;
    box-shadow: var(--box-shadow-lg);
}

.image-placeholder {
    background: var(--light-bg);
    padding: var(--spacing-xxl);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.mission-vision {
    background: var(--light-bg);
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.mv-card {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    text-align: center;
}

.mv-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto var(--spacing-md);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--white);
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.activity-card {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.activity-card:hover {
    transform: translateX(10px);
    box-shadow: var(--box-shadow-lg);
}

.activity-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

/* ========== Contact Page ========== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.contact-grid-direct {
    align-items: start;
}

.contact-direct-copy {
    background: linear-gradient(160deg, rgba(17, 35, 48, 0.96), rgba(27, 81, 118, 0.9));
    color: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-lg);
}

.contact-direct-copy h2 {
    color: var(--white);
    margin-bottom: var(--spacing-sm);
}

.contact-direct-copy p {
    color: rgba(255, 255, 255, 0.82);
    max-width: 46ch;
}

.contact-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    padding: var(--spacing-sm);
    border: 2px solid var(--gray-bg);
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
}

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

.info-card {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--light-bg);
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-md);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.social-links-large {
    display: grid;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.social-link-large {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    background: var(--light-bg);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.social-link-large:hover {
    background: var(--primary-color);
    color: var(--white);
}

.map-placeholder {
    background: var(--light-bg);
    padding: var(--spacing-xxl);
    border-radius: var(--border-radius-lg);
    text-align: center;
    color: var(--text-light);
}

.map-hint {
    margin-top: var(--spacing-md);
    font-size: 0.9rem;
}

/* ========== Gallery Page ========== */
.gallery-section {
    padding: 64px 0;
    background: linear-gradient(180deg, rgba(11, 28, 38, 0.04), rgba(11, 28, 38, 0));
}

.gallery-event-section {
    margin-bottom: 18px;
}

.gallery-event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.gallery-photo {
    margin: 0;
    overflow: hidden;
    border-radius: 18px;
    background: #f7f7f7;
    box-shadow: 0 12px 28px rgba(15, 45, 70, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-photo:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(15, 45, 70, 0.12);
}

.gallery-photo img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease;
}

.gallery-photo:hover img {
    transform: scale(1.035);
}

/* ========== Resources Page ========== */
.resources-section {
    position: relative;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(239, 248, 252, 0.92));
}

.resources-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, rgba(27, 159, 224, 0.78), rgba(242, 169, 59, 0.78), rgba(128, 77, 47, 0.72));
    opacity: 0.6;
}

.resources-layout {
    display: grid;
    gap: var(--spacing-xl);
}

.resource-panel {
    position: relative;
    overflow: hidden;
    padding: clamp(1.4rem, 2vw, 2rem);
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 249, 253, 0.95));
    border: 1px solid rgba(27, 159, 224, 0.1);
    box-shadow: var(--box-shadow);
}

.resource-panel::after {
    content: '';
    position: absolute;
    inset: 0 auto auto 0;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(242, 169, 59, 0.12), transparent 70%);
    pointer-events: none;
}

.resource-section-heading {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin-bottom: var(--spacing-xl);
}

.resource-section-label {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.8rem;
    margin-bottom: 0.7rem;
    color: var(--primary-dark);
    background: var(--neaist-sand-light);
    border: 1px solid rgba(220, 193, 159, 0.46);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.resource-section-heading h2 {
    margin-bottom: 0.7rem;
    color: var(--text-dark);
}

.resource-section-heading p {
    max-width: 66ch;
    margin-bottom: 0;
}

.resource-section-divider {
    width: min(220px, 100%);
    height: 4px;
    margin-top: 1rem;
    border-radius: 999px;
    background:
        linear-gradient(90deg, var(--primary-color) 0%, var(--primary-color) 72%, var(--neaist-sand) 72%, var(--neaist-sand) 100%);
}

.resource-feature-grid,
.resource-support-grid,
.resource-course-grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: var(--spacing-md);
}

.resource-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.resource-support-grid,
.resource-course-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.resource-feature-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: center;
    min-height: 100%;
    padding: 1.2rem 1.25rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(27, 159, 224, 0.08);
    border-top: 4px solid var(--neaist-sand);
    box-shadow: 0 12px 28px rgba(15, 45, 70, 0.06);
    color: inherit;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.resource-feature-card:hover {
    transform: translateY(-2px);
    border-color: rgba(27, 159, 224, 0.28);
    box-shadow: 0 16px 34px rgba(15, 45, 70, 0.1);
    color: inherit;
}

.resource-feature-card-image {
    grid-column: span 2;
    grid-template-columns: minmax(210px, 0.9fr) minmax(0, 1.2fr) auto;
}

.resource-feature-media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(231, 242, 250, 0.96));
}

.resource-feature-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.resource-feature-body h3,
.resource-card-content h3 {
    margin-bottom: 0.45rem;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.resource-feature-body p,
.resource-card-content p {
    margin-bottom: 0;
    font-size: 0.96rem;
}

.resource-course-card {
    display: grid;
    grid-template-columns: 4px 1fr auto;
    gap: 18px;
    align-items: center;
    padding: 18px 22px;
    border-radius: 16px;
    background: linear-gradient(180deg, #f4f9fd 0%, var(--neaist-sand-soft) 100%);
    color: inherit;
    border: 1px solid rgba(33, 161, 222, 0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.resource-course-card:hover {
    transform: translateY(-2px);
    border-color: rgba(33, 161, 222, 0.35);
    box-shadow: 0 14px 30px rgba(15, 45, 70, 0.08);
    color: inherit;
}

.resource-card-accent {
    width: 4px;
    height: 70%;
    min-height: 56px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--primary-color), var(--neaist-sand));
}

.resource-card-content {
    min-width: 0;
}

.resource-tag {
    display: inline-block;
    margin-top: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--neaist-sand-light);
    color: var(--primary-dark);
    font-size: 0.78rem;
    font-weight: 700;
}

.resource-arrow {
    color: #21a1de;
    font-size: 1.4rem;
    line-height: 1;
    transition: transform 0.18s ease;
}

.resource-course-card:hover .resource-arrow,
.resource-feature-card:hover .resource-arrow {
    transform: translateX(4px);
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

.link-card {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    border-top: 4px solid var(--neaist-sand);
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.link-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

.link-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.link-card-media {
    aspect-ratio: 16 / 10;
    margin-bottom: var(--spacing-md);
    overflow: hidden;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(231, 242, 250, 0.96));
}

.link-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.link-card h4 {
    color: var(--text-dark);
    margin-bottom: var(--spacing-xs);
}

.link-card p {
    margin: 0;
    font-size: 0.9rem;
}

/* ========== Guide Page ========== */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-color), var(--neaist-sand));
}

.timeline-item {
    position: relative;
    margin-bottom: var(--spacing-xl);
    padding-left: 80px;
}

.timeline-marker {
    position: absolute;
    left: 0;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: var(--box-shadow-lg);
}

.timeline-content {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    border-top: 4px solid var(--neaist-sand);
    box-shadow: var(--box-shadow);
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.timeline-content ul li {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xs);
    color: var(--text-gray);
}

.timeline-content ul li i {
    color: var(--success);
    margin-top: 3px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.info-box {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.info-icon {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    margin-bottom: var(--spacing-md);
    border-radius: var(--border-radius);
    border-top: 4px solid var(--neaist-sand);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.faq-question {
    padding: var(--spacing-md);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--neaist-sand-soft);
}

.faq-question h4 {
    margin: 0;
    color: var(--text-dark);
}

.faq-answer {
    padding: 0 var(--spacing-md);
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active .faq-answer {
    padding: var(--spacing-md);
    max-height: 500px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* ========== Mentoring Page ========== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.benefit-card {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    border-top: 4px solid var(--neaist-sand);
    box-shadow: var(--box-shadow);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    margin-bottom: var(--spacing-md);
}

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

.benefit-card ul li {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    color: var(--text-gray);
}

.benefit-card ul li i {
    color: var(--success);
    margin-top: 3px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.step-card {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    border-top: 4px solid var(--neaist-sand);
    box-shadow: var(--box-shadow);
    text-align: center;
}

.step-card h3 {
    font-size: 1.55rem;
    line-height: 1.2;
    margin-bottom: 0.85rem;
    overflow-wrap: anywhere;
}

.step-card p {
    max-width: 28ch;
    margin: 0 auto;
    line-height: 1.65;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto var(--spacing-md);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.testimonial-card {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    border-top: 4px solid var(--neaist-sand);
    box-shadow: var(--box-shadow);
}

.quote-icon {
    font-size: 2rem;
    color: var(--primary-light);
    margin-bottom: var(--spacing-md);
    opacity: 0.5;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: var(--spacing-md);
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.testimonial-author strong {
    color: var(--text-dark);
}

.testimonial-author span {
    font-size: 0.9rem;
    color: var(--text-light);
}

.cta-mentoring {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    text-align: center;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* ========== Study Squads Page ========== */
.study-squads-page {
    background: linear-gradient(180deg, #f8fcff 0%, #eef6fb 100%);
}

.study-hero {
    position: relative;
    padding-top: var(--spacing-xxl);
    padding-bottom: var(--spacing-xxl);
}

.study-content-shell {
    position: relative;
    background:
        linear-gradient(180deg, rgba(247, 252, 255, 0.72), rgba(231, 243, 249, 0.82)),
        url("../files/study-squads/study-squads-plain-bg.png");
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    overflow: hidden;
}

.study-content-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 22%, rgba(27, 159, 224, 0.12), transparent 24%),
        radial-gradient(circle at 82% 38%, rgba(220, 193, 159, 0.2), transparent 18%);
    pointer-events: none;
}

.study-content-shell > * {
    position: relative;
    z-index: 1;
}

.study-hero-card {
    padding: clamp(2rem, 4vw, 3.5rem);
    border-radius: 32px;
    background:
        radial-gradient(circle at top right, rgba(27, 159, 224, 0.16), transparent 22%),
        linear-gradient(155deg, rgba(16, 33, 46, 0.98), rgba(24, 84, 123, 0.94));
    color: var(--white);
    box-shadow: var(--box-shadow-lg);
}

.study-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
    gap: var(--spacing-xl);
    align-items: center;
}

.study-hero-card .page-title,
.study-hero-card .section-kicker {
    color: var(--white);
}

.study-hero-subtitle {
    margin-bottom: 0.9rem;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.study-hero-text {
    max-width: 74ch;
    color: rgba(255, 255, 255, 0.88);
}

.study-hero-actions {
    margin-top: var(--spacing-lg);
}

.study-note {
    margin-top: var(--spacing-md);
    max-width: 72ch;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.95rem;
}

.study-hero-visual {
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 20px 40px rgba(6, 9, 13, 0.18);
}

.study-hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.study-section + .study-section {
    padding-top: 0;
}

.study-section {
    position: relative;
}

.study-section-soft {
    background: linear-gradient(180deg, rgba(250, 245, 239, 0.42), rgba(255, 255, 255, 0.16));
    border-block: 1px solid rgba(220, 193, 159, 0.28);
    backdrop-filter: blur(2px);
}

.study-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--spacing-lg);
}

.study-card-grid-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.study-card {
    padding: var(--spacing-xl);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(27, 159, 224, 0.12);
    border-top: 4px solid var(--neaist-sand);
    box-shadow: var(--box-shadow);
}

.study-card i {
    display: inline-flex;
    width: 56px;
    height: 56px;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(27, 159, 224, 0.14), rgba(136, 212, 244, 0.3));
    color: var(--primary-color);
    font-size: 1.35rem;
}

.study-card h3 {
    margin-bottom: 0;
    font-size: 1.05rem;
}

.study-document-card {
    max-width: 760px;
    margin: 0 auto;
    text-align: left;
}

.study-document-card p {
    margin-top: 0.9rem;
    margin-bottom: 0;
}

.study-document-actions {
    margin-top: 1.25rem;
}

.study-requirements {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    justify-content: center;
}

.study-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.25rem;
    border-radius: 999px;
    background: rgba(250, 245, 239, 0.94);
    border: 1px solid rgba(220, 193, 159, 0.46);
    box-shadow: var(--box-shadow);
    color: var(--text-dark);
    font-weight: 700;
}

.study-cta {
    margin-top: var(--spacing-xl);
}

.cta-mentoring.study-cta {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: linear-gradient(rgba(13, 43, 61, 0.88), rgba(13, 43, 61, 0.92));
    color: #ffffff;
    box-shadow: 0 20px 48px rgba(8, 24, 39, 0.18);
}

.cta-mentoring.study-cta .cta-title,
.cta-mentoring.study-cta .cta-description {
    color: var(--white);
}

.cta-mentoring.study-cta .btn-primary {
    background: #21a1de;
    color: #ffffff;
}

.cta-mentoring.study-cta .btn-primary:hover {
    background: #4eb8ec;
    color: #ffffff;
}

/* ========== News Article Page ========== */
.news-article-page {
    position: relative;
    background:
        radial-gradient(circle at 82% 18%, rgba(220, 193, 159, 0.18), transparent 20%),
        radial-gradient(circle at top right, rgba(20, 159, 227, 0.12), transparent 24%),
        radial-gradient(circle at 12% 30%, rgba(220, 193, 159, 0.14), transparent 18%),
        linear-gradient(180deg, rgba(250, 253, 255, 0.98), rgba(237, 247, 252, 0.94));
}

.article-page::before {
    content: "";
    position: absolute;
    top: 180px;
    right: 0;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(20, 159, 227, 0.14), transparent 70%);
    pointer-events: none;
}

.news-article-hero {
    position: relative;
    min-height: 76vh;
    display: flex;
    align-items: center;
    padding-top: 2rem;
    padding-bottom: 4rem;
    background:
        linear-gradient(90deg, rgba(5, 15, 25, 0.9) 0%, rgba(5, 15, 25, 0.58) 46%, rgba(5, 15, 25, 0.46) 100%),
        url("../images/news/tomada-posse-direcao-neaist-2026.jpeg") center 34% / cover no-repeat;
}

.article-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 130px;
    background: linear-gradient(180deg, rgba(5, 15, 25, 0) 0%, rgba(5, 15, 25, 0.34) 100%);
    pointer-events: none;
}

.article-hero-content {
    position: relative;
    z-index: 1;
    max-width: 860px;
}

.article-category-pill {
    display: inline-flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(220, 193, 159, 0.18);
    border: 1px solid rgba(220, 193, 159, 0.34);
    color: var(--white);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.article-meta {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.95rem;
    font-weight: 700;
}

.news-article-hero .page-title {
    margin-bottom: 1rem;
    color: var(--white);
    max-width: 850px;
    font-size: clamp(3rem, 7vw, 5.8rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
    font-weight: 850;
}

.article-intro {
    max-width: 720px;
    margin-bottom: 0;
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

.news-article-body {
    position: relative;
    padding: 0 0 2rem;
}

.article-pattern-wrap {
    position: relative;
    z-index: 1;
    margin-top: -1rem;
}

.pattern-divider {
    height: 14px;
    width: min(260px, 100%);
    background-image: repeating-linear-gradient(
        45deg,
        var(--primary-color) 0 12px,
        var(--primary-dark) 12px 24px,
        var(--neaist-sand) 24px 36px
    );
    opacity: 0.22;
    border-radius: 999px;
}

.news-article-card {
    max-width: 860px;
    margin: 0 auto;
    padding: clamp(2rem, 4vw, 3rem);
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(27, 159, 224, 0.1);
    border-top: 4px solid var(--neaist-sand);
    box-shadow: 0 24px 70px rgba(16, 32, 51, 0.1);
}

.news-article-card p:last-child {
    margin-bottom: 0;
}

.article-content h2 {
    margin: 2rem 0 0.75rem;
    color: var(--primary-dark);
    font-size: clamp(1.45rem, 2vw, 1.9rem);
}

.article-content h2:first-child {
    margin-top: 0;
}

.article-content p {
    max-width: 70ch;
    line-height: 1.8;
}

.article-lead {
    padding-left: 1.2rem;
    border-left: 4px solid var(--neaist-sand);
    font-size: 1.08rem;
    color: var(--text-dark);
}

.article-quote {
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: var(--neaist-sand-soft);
    border-left: 4px solid var(--neaist-sand);
    color: var(--text-dark);
    font-weight: 500;
}

.article-link-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-lg);
}

.news-article-page .btn-secondary {
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
}

.news-article-page .btn-secondary:hover {
    background: var(--white);
    color: #102033;
    border-color: var(--white);
}

.social-section {
    position: relative;
    max-width: 1120px;
    margin: 4rem auto 6rem;
    padding: 0 5vw;
}

.social-section::before {
    content: "";
    position: absolute;
    left: 5vw;
    top: -1rem;
    width: 180px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(20, 159, 227, 0.9), rgba(220, 193, 159, 0.9));
    opacity: 0.5;
}

.section-heading {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-heading .eyebrow {
    display: inline-block;
    color: var(--primary-dark);
    background: var(--neaist-sand-light);
    border: 1px solid rgba(220, 193, 159, 0.46);
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
}

.section-heading h2 {
    margin-top: 1rem;
    color: #102033;
    font-size: clamp(2rem, 4vw, 3rem);
}

.section-heading p {
    color: #526477;
    max-width: 620px;
    margin: 0.75rem auto 0;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    align-items: start;
}

.social-card {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #dcecf5;
    border-top: 4px solid var(--neaist-sand);
    border-radius: 26px;
    padding: 1.5rem;
    box-shadow: 0 20px 60px rgba(16, 32, 51, 0.08);
}

.warm-section {
    background: linear-gradient(180deg, var(--neaist-sand-soft) 0%, #ffffff 100%);
}

.social-card h3 {
    color: #102033;
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.social-card p {
    color: #526477;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.article-media-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
    gap: 2rem;
    align-items: start;
}

.article-media-card {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #dcecf5;
    border-top: 4px solid var(--neaist-sand);
    border-radius: 26px;
    padding: 1.5rem;
    box-shadow: 0 20px 60px rgba(16, 32, 51, 0.08);
}

.article-media-card h3 {
    color: #102033;
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.article-media-card p {
    color: #526477;
    line-height: 1.6;
}

.article-poster-frame,
.article-video-frame {
    overflow: hidden;
    margin-top: 1rem;
    border-radius: 20px;
    background: #f6fbfe;
    border: 1px solid rgba(27, 159, 224, 0.12);
}

.article-poster-frame {
    display: flex;
    justify-content: center;
    align-items: center;
}

.article-poster-frame img {
    width: 100%;
    max-width: 420px;
    height: auto;
    display: block;
}

.article-video-frame video {
    width: 100%;
    display: block;
    background: #08131d;
}

.article-game-day-page .news-article-hero {
    background:
        linear-gradient(90deg, rgba(5, 15, 25, 0.9) 0%, rgba(5, 15, 25, 0.58) 46%, rgba(5, 15, 25, 0.46) 100%),
        url("../images/news/game-day-2026-poster.png") center 20% / cover no-repeat;
}

.article-game-day-page {
    background:
        radial-gradient(circle at 88% 12%, rgba(220, 193, 159, 0.12), transparent 18%),
        radial-gradient(circle at top left, rgba(27, 159, 224, 0.08), transparent 28%),
        linear-gradient(180deg, #fbfdff 0%, #f5efe6 100%);
}

.game-day-hero {
    min-height: auto;
    padding-top: 2.25rem;
    padding-bottom: 2.75rem;
}

.game-day-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 360px);
    gap: clamp(1.5rem, 3vw, 2.5rem);
    align-items: center;
}

.game-day-hero .article-hero-content {
    max-width: none;
}

.game-day-hero .page-title {
    max-width: 10ch;
    font-size: clamp(2.9rem, 6vw, 4.7rem);
}

.game-day-hero .article-meta {
    margin-bottom: 1.1rem;
}

.game-day-hero .article-intro {
    max-width: 60ch;
}

.game-day-preview-card {
    position: relative;
    padding: 1rem;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 24px 60px rgba(5, 15, 25, 0.24);
    backdrop-filter: blur(10px);
}

.game-day-preview-badge {
    display: inline-flex;
    margin-bottom: 0.85rem;
    padding: 0.38rem 0.8rem;
    border-radius: 999px;
    background: rgba(220, 193, 159, 0.18);
    border: 1px solid rgba(220, 193, 159, 0.28);
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.game-day-preview-frame {
    overflow: hidden;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
}

.game-day-preview-frame img {
    width: 100%;
    height: auto;
    display: block;
}

.game-day-preview-meta {
    margin: 0.85rem 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.article-game-day-page .article-actions {
    gap: 0.85rem;
}

.article-game-day-page .article-actions .btn:nth-child(2),
.article-game-day-page .article-actions .btn:nth-child(3) {
    background: rgba(255, 255, 255, 0.08);
}

.game-day-gratitude,
.game-day-recap,
.game-day-media,
.game-day-photo-gallery,
.game-day-cta {
    padding-top: clamp(2.4rem, 5vw, 4rem);
}

.game-day-gratitude {
    padding-bottom: 0.5rem;
}

.game-day-gratitude-card {
    max-width: 920px;
    margin: 0 auto;
    padding: clamp(1.6rem, 4vw, 2.5rem);
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(220, 193, 159, 0.34), rgba(250, 245, 239, 0.98));
    border: 1px solid rgba(220, 193, 159, 0.48);
    border-left: 6px solid var(--neaist-sand);
    box-shadow: 0 18px 40px rgba(16, 32, 51, 0.08);
}

.game-day-gratitude-card h2 {
    margin-bottom: 0.9rem;
    color: var(--primary-dark);
}

.game-day-gratitude-card p {
    margin: 0;
    max-width: 62ch;
    color: var(--text-dark);
    font-size: 1.05rem;
    line-height: 1.85;
}

.game-day-recap {
    padding-bottom: 0.75rem;
}

.game-day-recap .section-heading,
.game-day-media .section-heading,
.game-day-photo-gallery .section-heading {
    margin-bottom: 2rem;
}

.game-day-recap-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--spacing-lg);
}

.game-day-recap-card {
    padding: 1.65rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(27, 159, 224, 0.1);
    border-top: 4px solid var(--neaist-sand);
    box-shadow: var(--box-shadow);
}

.game-day-recap-card h3 {
    margin-bottom: 0.7rem;
    color: #102033;
    font-size: 1.4rem;
}

.game-day-recap-card p {
    margin: 0;
    color: #526477;
    line-height: 1.75;
}

.game-day-media .article-media-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.game-day-media .article-media-card p {
    margin-bottom: 1rem;
}

.game-day-media .article-poster-frame,
.game-day-media .article-video-frame {
    margin-top: auto;
}

.game-day-media .article-video-frame video {
    min-height: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.game-day-photo-gallery {
    padding-bottom: 0.75rem;
}

.game-day-photo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.game-day-photo-card {
    overflow: hidden;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(27, 159, 224, 0.1);
    box-shadow: var(--box-shadow);
}

.game-day-photo-card img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.game-day-photo-card:hover img {
    transform: scale(1.03);
}

.game-day-cta {
    padding-bottom: 4.5rem;
}

.game-day-cta-card {
    max-width: 980px;
    margin: 0 auto;
    padding: clamp(1.8rem, 4vw, 2.8rem);
    border-radius: 30px;
    background:
        linear-gradient(180deg, rgba(16, 45, 61, 0.98), rgba(11, 29, 39, 0.98));
    border: 1px solid rgba(220, 193, 159, 0.24);
    box-shadow: var(--box-shadow-lg);
    text-align: center;
}

.game-day-cta-card::before {
    content: "";
    display: block;
    width: 92px;
    height: 5px;
    margin: 0 auto 1.1rem;
    border-radius: 999px;
    background: var(--neaist-sand);
}

.game-day-cta-card h2 {
    color: var(--white);
    margin-bottom: 0.75rem;
}

.game-day-cta-card p {
    max-width: 60ch;
    margin: 0 auto 1.4rem;
    color: rgba(255, 255, 255, 0.82);
}

.article-category-pill-secondary {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.ulisboa-feature-page {
    background:
        radial-gradient(circle at 12% 16%, rgba(220, 193, 159, 0.12), transparent 20%),
        radial-gradient(circle at 88% 12%, rgba(27, 159, 224, 0.08), transparent 26%),
        linear-gradient(180deg, #fbfdff 0%, #f4efe7 100%);
}

.ulisboa-hero {
    min-height: auto;
    padding-top: 2.5rem;
    padding-bottom: 3rem;
    background:
        linear-gradient(90deg, rgba(8, 21, 34, 0.94) 0%, rgba(8, 21, 34, 0.76) 48%, rgba(8, 21, 34, 0.52) 100%),
        url("../images/news/semana-de-africa-ulisboa.jpg") center 18% / cover no-repeat;
}

.ulisboa-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(280px, 380px);
    gap: clamp(1.5rem, 3vw, 2.75rem);
    align-items: center;
}

.ulisboa-hero-copy {
    max-width: none;
}

.ulisboa-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 0.9rem;
}

.ulisboa-hero .page-title {
    max-width: 12ch;
    margin-bottom: 0.8rem;
    font-size: clamp(2.7rem, 6vw, 4.9rem);
}

.ulisboa-hero .page-subtitle {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.55;
}

.ulisboa-hero .hero-intro {
    max-width: 62ch;
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.04rem;
    line-height: 1.78;
}

.ulisboa-poster-card {
    overflow: hidden;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 24px 70px rgba(5, 15, 25, 0.24);
    backdrop-filter: blur(12px);
    padding: 1rem;
}

.ulisboa-poster-card img {
    display: block;
    width: 100%;
    border-radius: 22px;
}

.ulisboa-participation,
.ulisboa-timeline,
.ulisboa-final {
    padding: 4rem 0;
}

.ulisboa-participation {
    padding-top: 3.2rem;
}

.ulisboa-participation-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.92fr);
    gap: clamp(1.4rem, 3vw, 2.5rem);
    align-items: start;
}

.ulisboa-participation-copy {
    padding: clamp(1.6rem, 3vw, 2.2rem);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(27, 159, 224, 0.08);
    box-shadow: 0 20px 60px rgba(16, 32, 51, 0.08);
}

.ulisboa-participation-copy h2 {
    margin: 0.65rem 0 0.9rem;
    color: #102033;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.ulisboa-participation-copy p,
.ulisboa-quiz-card p {
    color: #526477;
    line-height: 1.75;
}

.ulisboa-participation-copy p:last-child,
.ulisboa-quiz-card p:last-child {
    margin-bottom: 0;
}

.ulisboa-quiz-card {
    padding: clamp(1.6rem, 3vw, 2rem);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 245, 237, 0.98));
    border: 1px solid rgba(220, 193, 159, 0.46);
    box-shadow: 0 20px 60px rgba(16, 32, 51, 0.1);
}

.ulisboa-quiz-card h3 {
    margin: 0.65rem 0 1rem;
    color: #102033;
    font-size: 1.5rem;
    line-height: 1.25;
}

.ulisboa-quiz-meta {
    display: grid;
    gap: 0.85rem;
    margin-bottom: 1.2rem;
}

.ulisboa-quiz-meta-item {
    display: grid;
    gap: 0.18rem;
    padding: 0.9rem 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(220, 193, 159, 0.32);
}

.ulisboa-quiz-meta-label {
    color: #6b7a88;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ulisboa-quiz-meta-value {
    color: #102033;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.5;
}

.ulisboa-timeline .section-heading {
    margin-bottom: 2rem;
}

.ulisboa-timeline-list {
    display: grid;
    gap: 0.95rem;
    max-width: 940px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.ulisboa-timeline-list li {
    position: relative;
    padding: 1rem 1.1rem 1rem 1.45rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(27, 159, 224, 0.08);
    box-shadow: 0 14px 38px rgba(16, 32, 51, 0.06);
    color: #223647;
    font-weight: 600;
    line-height: 1.65;
}

.ulisboa-timeline-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 16px;
    bottom: 16px;
    width: 5px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--neaist-sand), rgba(20, 159, 227, 0.6));
}

.ulisboa-final {
    padding-top: 0;
    padding-bottom: 4.75rem;
}

.ulisboa-final-card {
    max-width: 980px;
    margin: 0 auto;
    padding: clamp(1.9rem, 4vw, 2.8rem);
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(12, 33, 46, 0.98), rgba(8, 24, 36, 0.98));
    border: 1px solid rgba(220, 193, 159, 0.24);
    box-shadow: 0 28px 80px rgba(9, 20, 31, 0.18);
    text-align: center;
}

.ulisboa-final-card::before {
    content: "";
    display: block;
    width: 92px;
    height: 5px;
    margin: 0 auto 1.1rem;
    border-radius: 999px;
    background: var(--neaist-sand);
}

.ulisboa-final-card h2 {
    color: var(--white);
    margin-bottom: 0.75rem;
}

.ulisboa-final-card p {
    max-width: 62ch;
    margin: 0 auto 1.4rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.75;
}

.instagram-frame {
    display: flex;
    justify-content: center;
    overflow: hidden;
    border-radius: 18px;
    background: #f4f8fb;
    padding: 0.75rem;
    border: 1px solid rgba(20, 159, 227, 0.08);
}

.instagram-frame iframe,
.instagram-frame blockquote {
    max-width: 100% !important;
    min-width: 0 !important;
}

.instagram-frame .instagram-media {
    width: 100% !important;
    max-width: 540px !important;
    margin: 0 auto !important;
}

.social-link,
.instagram-fallback {
    display: inline-flex;
    margin-top: 1rem;
    font-weight: 800;
    color: #149fe3;
    text-decoration: none;
}

.social-link:hover,
.instagram-fallback:hover {
    color: var(--primary-dark);
}

/* ========== Post-Hero Sand Sections ========== */
.hero + .festival-divider,
.hero + .festival-divider + .features,
.page-header + section,
.study-hero + .study-content-shell,
.event-hero + .agenda-section,
.news-article-hero + .article-pattern-wrap + .news-article-body {
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 22%),
        linear-gradient(
            180deg,
            rgba(220, 193, 159, 0.96) 0%,
            rgba(244, 232, 216, 0.92) 36%,
            rgba(250, 245, 239, 0.9) 62%,
            rgba(255, 255, 255, 0.98) 100%
        );
}

.hero + .festival-divider {
    border-top: 1px solid rgba(220, 193, 159, 0.24);
}

.study-hero + .study-content-shell {
    background:
        linear-gradient(180deg, rgba(220, 193, 159, 0.64), rgba(250, 245, 239, 0.8) 40%, rgba(231, 243, 249, 0.76)),
        url("../files/study-squads/study-squads-plain-bg.png");
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

.news-article-hero + .article-pattern-wrap + .news-article-body {
    padding-top: 0.5rem;
}

/* ========== Responsive Design ========== */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(78vw, 340px);
        height: 100vh;
        background: var(--white);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding: 100px 30px 30px;
        transition: var(--transition);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 0.35rem;
        align-items: stretch;
    }

    .nav-link,
    .nav-dropdown-toggle {
        width: 100%;
        justify-content: space-between;
        padding: 0.9rem 1rem;
    }

    .nav-dropdown-menu {
        position: static;
        min-width: 0;
        margin-top: 0;
        padding: 0;
        border: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto;
        max-height: 0;
        overflow: hidden;
        background: transparent;
        transition: max-height 0.25s ease, margin 0.25s ease, padding 0.25s ease;
    }

    .nav-dropdown-menu::before {
        display: none;
    }

    .nav-item-dropdown:hover .nav-dropdown-menu,
    .nav-item-dropdown:focus-within .nav-dropdown-menu {
        max-height: 0;
        margin-top: 0;
        padding: 0;
    }

    .nav-item-dropdown.open .nav-dropdown-menu {
        max-height: 420px;
        margin-top: 0.35rem;
        padding: 0.35rem;
        border: 1px solid rgba(27, 159, 224, 0.12);
        border-radius: 16px;
        background: var(--light-bg);
    }

    .nav-dropdown-link {
        padding: 0.85rem 0.9rem;
        white-space: normal;
    }
    
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 0;
    }

    .hero-shell {
        grid-template-columns: 1fr;
        padding-top: 1.5rem;
        padding-bottom: 4.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-pill-grid,
    .impact-grid,
    .team-grid,
    .team-grid-compact,
    .shop-grid,
    .shop-process-grid,
    .archive-intro-card,
    .resource-feature-grid,
    .resource-support-grid,
    .resource-course-grid,
    .social-grid,
    .study-hero-layout,
    .study-card-grid,
    .study-card-grid-compact {
        grid-template-columns: 1fr;
    }

    .archive-intro-card {
        display: grid;
    }

    .merch-preview-banner {
        grid-template-columns: 1fr;
    }

    .merch-preview-copy {
        max-width: none;
    }

    .merch-preview-side {
        justify-items: center;
    }

    .merch-preview-visual {
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
    }

    .merch-preview-side .btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .gallery-event-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gallery-photo img {
        height: 190px;
    }

    .hero-badge {
        width: 100%;
        max-width: 420px;
    }

    .hero-carousel {
        min-height: 520px;
    }

    .event-grid,
    .event-meta,
    .merch-preview-grid,
    .agenda-grid,
    .festival-divider-content {
        grid-template-columns: 1fr;
    }

    .shop-price-row,
    .shop-detail-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .shop-detail-value {
        text-align: left;
    }

    .festival-divider-content {
        display: grid;
    }

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

    .highlight-card,
    .highlight-card-featured {
        grid-column: span 1;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .contact-direct-copy {
        padding: var(--spacing-lg);
    }

    .resource-feature-card-image {
        grid-template-columns: 1fr;
    }

    .resource-feature-card,
    .resource-course-card {
        padding: 1rem;
    }

    .resource-course-card {
        grid-template-columns: 4px 1fr;
    }

    .resource-course-card .resource-arrow,
    .resource-feature-card .resource-arrow {
        justify-self: start;
    }

    .news-article-hero {
        min-height: 72vh;
        padding-top: 2rem;
        padding-bottom: 3rem;
        background-position: center 26%;
    }

    .news-article-hero .page-title {
        font-size: clamp(2.6rem, 12vw, 4rem);
    }

    .article-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .news-article-card {
        padding: 2rem 1.5rem;
    }

    .social-section {
        padding: 0 var(--spacing-md);
    }

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

    .game-day-hero-grid,
    .game-day-recap-grid,
    .game-day-photo-grid,
    .africa-day-recap-grid,
    .africa-day-photo-grid,
    .org-grid,
    .ulisboa-hero-grid,
    .ulisboa-participation-layout {
        grid-template-columns: 1fr;
    }

    .department-row {
        grid-template-columns: 1fr;
    }

    .game-day-hero {
        padding-bottom: 2rem;
    }

    .game-day-preview-card,
    .ulisboa-poster-card {
        max-width: 420px;
        width: 100%;
        margin: 0 auto;
    }

    .game-day-gratitude-card,
    .game-day-cta-card,
    .event-gratitude-card,
    .ulisboa-participation-copy,
    .ulisboa-quiz-card,
    .ulisboa-final-card {
        padding-left: 1.4rem;
        padding-right: 1.4rem;
    }

    .department-main {
        flex-direction: column;
    }

    .team-page-redesign .team-member-list li {
        flex-direction: column;
        gap: 0.25rem;
    }

    .team-page-redesign .team-member-list span {
        white-space: normal;
    }

    .ulisboa-hero {
        padding-bottom: 2.2rem;
    }

    .ulisboa-hero .page-title {
        max-width: none;
    }

    .ulisboa-timeline-list li {
        padding-right: 1rem;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        padding-left: 60px;
    }
    
    .timeline-marker {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-xxl: 3rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .hero-pill-card {
        justify-content: flex-start;
    }

    .logo-subtext {
        display: none;
    }

    .logo-mark {
        width: 56px;
        height: 56px;
    }

    .logo {
        font-size: 1.75rem;
        gap: 0.65rem;
    }

    .gallery-event-grid {
        grid-template-columns: 1fr;
    }

    .gallery-photo img {
        height: auto;
    }
}
