/* UAST46 Tailwind-ready plain HTTP bundle */
@layer base {
  :root,
  html[data-theme="uast-classic"] {
    --uast-primary: #154c79;
    --uast-primary-dark: #0f3554;
    --uast-primary-rgb: 21, 76, 121;
    --uast-accent: #4d90e8;
    --uast-accent-rgb: 77, 144, 232;
    --uast-white: #ffffff;
    --uast-surface: #ffffff;
    --uast-surface-alt: #f6f9fd;
    --uast-surface-soft: #eef4fb;
    --uast-card-bg: rgba(255, 255, 255, 0.95);
    --uast-card-border: rgba(21, 76, 121, 0.10);
    --uast-text: #334155;
    --uast-text-strong: #0f172a;
    --uast-text-muted: #64748b;
    --uast-band-blue: #0f4f8a;
    --uast-band-blue-2: #1a5d9d;
    --uast-footer-start: #0f2940;
    --uast-footer-end: #0b1d2d;
    --uast-shadow-soft: 0 12px 28px rgba(15, 23, 42, 0.10);
    --uast-shadow-medium: 0 18px 40px rgba(15, 23, 42, 0.12);
    --uast-radius-card: 24px;
    --uast-container: 1400px;
  }

  html[data-theme="uast-sunset"] {
    --uast-primary: #E98437;
    --uast-primary-dark: #C46A25;
    --uast-primary-rgb: 233, 132, 55;
    --uast-accent: #F4B183;
    --uast-accent-rgb: 244, 177, 131;
    --uast-white: #ffffff;
    --uast-surface: #fffaf6;
    --uast-surface-alt: #fff3e9;
    --uast-surface-soft: #ffe8d2;
    --uast-card-bg: rgba(255, 255, 255, 0.96);
    --uast-card-border: rgba(233, 132, 55, 0.12);
    --uast-text: #5a3b22;
    --uast-text-strong: #3b2415;
    --uast-text-muted: #91684c;
    --uast-band-blue: #d6722c;
    --uast-band-blue-2: #e98c46;
    --uast-footer-start: #8a4a1d;
    --uast-footer-end: #5e3214;
    --uast-shadow-soft: 0 12px 28px rgba(121, 64, 24, 0.10);
    --uast-shadow-medium: 0 18px 40px rgba(121, 64, 24, 0.14);
  }

  html[data-theme="uast-royal"] {
    --uast-primary: #091057;
    --uast-primary-dark: #060A3C;
    --uast-primary-rgb: 9, 16, 87;
    --uast-accent: #5B78FF;
    --uast-accent-rgb: 91, 120, 255;
    --uast-white: #ffffff;
    --uast-surface: #f7f8fd;
    --uast-surface-alt: #edf0fb;
    --uast-surface-soft: #e1e7fa;
    --uast-card-bg: rgba(255, 255, 255, 0.96);
    --uast-card-border: rgba(9, 16, 87, 0.12);
    --uast-text: #283356;
    --uast-text-strong: #10172d;
    --uast-text-muted: #5d6b8a;
    --uast-band-blue: #0b156d;
    --uast-band-blue-2: #1b2687;
    --uast-footer-start: #070d42;
    --uast-footer-end: #05082a;
    --uast-shadow-soft: 0 12px 28px rgba(8, 13, 50, 0.12);
    --uast-shadow-medium: 0 18px 40px rgba(8, 13, 50, 0.16);
  }

  html[data-theme="uast-gold"] {
    --uast-primary: #BF973F;
    --uast-primary-dark: #8F6F25;
    --uast-primary-rgb: 191, 151, 63;
    --uast-accent: #E1C37C;
    --uast-accent-rgb: 225, 195, 124;
    --uast-white: #ffffff;
    --uast-surface: #fffdf8;
    --uast-surface-alt: #faf6eb;
    --uast-surface-soft: #f3ead3;
    --uast-card-bg: rgba(255, 255, 255, 0.97);
    --uast-card-border: rgba(191, 151, 63, 0.14);
    --uast-text: #4f4327;
    --uast-text-strong: #2f2818;
    --uast-text-muted: #7f704f;
    --uast-band-blue: #a78430;
    --uast-band-blue-2: #bf973f;
    --uast-footer-start: #5f4a17;
    --uast-footer-end: #3d2f0f;
    --uast-shadow-soft: 0 12px 28px rgba(89, 69, 18, 0.10);
    --uast-shadow-medium: 0 18px 40px rgba(89, 69, 18, 0.14);
  }

  html[data-theme="uast-signature"] {
    --uast-primary: #091057;
    --uast-primary-dark: #060A3C;
    --uast-primary-rgb: 9, 16, 87;
    --uast-accent: #E98437;
    --uast-accent-rgb: 233, 132, 55;
    --uast-white: #ffffff;
    --uast-surface: #fcfbf8;
    --uast-surface-alt: #f5f4ee;
    --uast-surface-soft: #ede8db;
    --uast-card-bg: rgba(255, 255, 255, 0.97);
    --uast-card-border: rgba(9, 16, 87, 0.10);
    --uast-text: #30364a;
    --uast-text-strong: #10172d;
    --uast-text-muted: #6a6f80;
    --uast-band-blue: #091057;
    --uast-band-blue-2: #BF973F;
    --uast-footer-start: #091057;
    --uast-footer-end: #3f2f12;
    --uast-shadow-soft: 0 12px 28px rgba(9, 16, 87, 0.10);
    --uast-shadow-medium: 0 18px 40px rgba(9, 16, 87, 0.14);
  }

  *, *::before, *::after { box-sizing: border-box; }

  html {
    direction: rtl;
    scroll-behavior: smooth;
    background: var(--uast-surface);
  }

  body {
    margin: 0;
    padding: 0;
    font-family: IRANSans, Vazirmatn, sans-serif;
    background: var(--uast-surface);
    color: var(--uast-text);
  }

  img { max-width: 100%; }
  button, input, textarea, select { font: inherit; }
  a { color: inherit; }
}

@layer utilities {
  .text-uast-strong { color: var(--uast-text-strong); }
  .text-uast-base { color: var(--uast-text); }
  .text-uast-muted { color: var(--uast-text-muted); }
  .bg-uast-surface { background: var(--uast-surface); }
  .bg-uast-transparent { background: transparent; }
  .rounded-uast-card { border-radius: var(--uast-radius-card); }

  .min-h-screen { min-height: 85vh; }
  .overflow-x-hidden { overflow-x: hidden; }
  .font-sans { font-family: IRANSans, Vazirmatn, sans-serif; }
  .antialiased { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
  .relative { position: relative; }
  .absolute { position: absolute; }
  .inset-0 { inset: 0; }
  .z-10 { z-index: 10; }
  .w-full { width: 100%; }
  .h-full { height: 100%; }
  .mx-auto { margin-inline: auto; }
  .grid { display: grid; }
  .flex { display: flex; }
  .flex-wrap { flex-wrap: wrap; }
  .items-center { align-items: center; }
  .items-end { align-items: flex-end; }
  .justify-between { justify-content: space-between; }
  .gap-3 { gap: 0.75rem; }
  .gap-4 { gap: 1rem; }
  .gap-8 { gap: 2rem; }
  .gap-16 { gap: 4rem; }
  .text-center { text-align: center; }
  .text-white { color: #fff; }
  .max-w-3xl { max-width: 48rem; }
  .max-w-4xl { max-width: 56rem; }
  .max-w-screen-2xl { max-width: 1400px; }
  .px-8 { padding-inline: 2rem; }
  .mb-4 { margin-bottom: 1rem; }
  .font-light { font-weight: 300; }
  .opacity-90 { opacity: .9; }
  .tracking-\[1px\] { letter-spacing: 1px; }
  .tracking-\[2px\] { letter-spacing: 2px; }
  .text-\[clamp\(1rem\,3vw\,1\.2rem\)\] { font-size: clamp(1rem, 3vw, 1.2rem); }
  .text-\[clamp\(1\.5rem\,5vw\,2\.5rem\)\] { font-size: clamp(1.5rem, 5vw, 2.5rem); }
  .text-\[clamp\(2rem\,8vw\,4\.5rem\)\] { font-size: clamp(2rem, 8vw, 4.5rem); }

  @media (min-width: 768px) {
    .md\:px-4 { padding-inline: 1rem; }
  }
  @media (min-width: 1024px) {
    .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
}


  .z-20 { z-index: 20; }
  .z-30 { z-index: 30; }
  .justify-center { justify-content: center; }
  .text-right { text-align: right; }
  .max-w-screen-xl { max-width: 1280px; }
  .max-w-screen-2xl { max-width: 1400px; }
  .max-w-5xl { max-width: 64rem; }
  .max-w-6xl { max-width: 72rem; }
  .max-w-lg { max-width: 32rem; }
  .max-w-xl { max-width: 36rem; }
  .mb-3 { margin-bottom: 0.75rem; }
  .mb-6 { margin-bottom: 1.5rem; }
  .mb-10 { margin-bottom: 2.5rem; }
  .mt-6 { margin-top: 1.5rem; }
  .p-6 { padding: 1.5rem; }
  .p-8 { padding: 2rem; }
  .px-4 { padding-inline: 1rem; }
  .px-6 { padding-inline: 1.5rem; }
  .py-12 { padding-block: 3rem; }
  .py-16 { padding-block: 4rem; }
  .rounded-2xl { border-radius: 1rem; }
  .rounded-3xl { border-radius: 1.5rem; }
  .border { border-width: 1px; border-style: solid; }
  .border-theme { border-color: var(--uast-card-border); }
  .bg-card { background: var(--uast-card-bg); }
  .shadow-soft { box-shadow: var(--uast-shadow-soft); }
  .shadow-medium { box-shadow: var(--uast-shadow-medium); }
  .text-theme-strong { color: var(--uast-text-strong); }
  .text-theme-muted { color: var(--uast-text-muted); }
  .text-theme-base { color: var(--uast-text); }
  .space-y-4 > * + * { margin-top: 1rem; }
  .space-y-6 > * + * { margin-top: 1.5rem; }

  @media (min-width: 768px) {
    .md\:px-6 { padding-inline: 1.5rem; }
    .md\:p-10 { padding: 2.5rem; }
  }

@layer components {
  .uast46-band {
    position: relative;
    width: 100%;
    max-width: none;
    margin: 0;
    z-index: 20;
  }

  .uast46-band-inner {
    width: 100%;
    max-width: var(--uast-container);
    margin-inline: auto;
    padding-inline: 2rem;
  }

  .uast46-band--light {
    background:
      radial-gradient(circle at top right, rgba(var(--uast-primary-rgb), 0.05), transparent 28%),
      linear-gradient(180deg, var(--uast-surface) 0%, var(--uast-surface-alt) 100%);
  }

  .uast46-band--blue {
    background:
      radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), transparent 26%),
      linear-gradient(180deg, var(--uast-band-blue) 0%, var(--uast-band-blue-2) 100%);
    color: rgba(255, 255, 255, 0.92);
  }

  .uast46-band--blue h2,
  .uast46-band--blue h3,
  .uast46-band--blue h4,
  .uast46-band--blue .uast-section-title { color: var(--uast-white); }

  .uast46-band--blue p,
  .uast46-band--blue li { color: rgba(255, 255, 255, 0.86); }

  .uast-news-section,
  .uast46-programs-section,
  .uast46-president-message-section,
  .uast46-groups-section,
  .uast46-honors-section,
  .uast46-topstudents-section,
  .uast46-partners-section,
  .uast46-footer {
    position: relative;
    z-index: 20;
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .uast46-groups-section.uast46-band--blue .uast46-groups-info,
  .uast46-groups-section.uast46-band--blue .uast46-groups-slider {
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
  }

  .uast46-groups-section.uast46-band--blue .uast46-groups-info-image,
  .uast46-groups-section.uast46-band--blue .uast46-groups-slider {
    background: transparent;
    overflow: visible;
  }

  .uast46-groups-section.uast46-band--blue .uast46-groups-info-image img,
  .uast46-groups-section.uast46-band--blue .uast46-groups-slide,
  .uast46-groups-section.uast46-band--blue .uast46-groups-slide img {
    border-radius: 24px;
  }

  .uast46-groups-section.uast46-band--blue .uast46-groups-slide,
  .uast46-groups-section.uast46-band--blue .uast46-groups-info-image img {
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  }

  .uast46-groups-section.uast46-band--blue .uast46-groups-info-content {
    padding: 1.5rem 0 0;
  }

  .uast46-groups-section.uast46-band--blue .uast46-groups-badge,
  .uast46-programs-section.uast46-band--blue .uast46-degree-kicker,
  .uast46-topstudents-section.uast46-band--blue .uast46-topstudents-badge {
    background: rgba(255, 255, 255, 0.12);
    color: var(--uast-white);
  }

  .uast46-groups-section.uast46-band--blue .uast46-groups-info-content h2::after {
    background: rgba(255, 255, 255, 0.9);
  }

  .uast46-footer {
    background: linear-gradient(180deg, var(--uast-footer-start) 0%, var(--uast-footer-end) 100%);
  }

  .uast46-wave-divider {
    position: relative;
    width: 100%;
    height: 42px;
    overflow: hidden;
    line-height: 0;
    z-index: 25;
    margin-top: -1px;
    margin-bottom: -1px;
  }

  .uast46-wave-divider--light-blue {
    background: var(--uast-surface);
    --uast46-wave-fill-color: var(--uast-band-blue);
    --uast46-wave-line-color: rgba(255, 255, 255, 0.22);
  }

  .uast46-wave-divider--blue-light {
    background: var(--uast-band-blue);
    --uast46-wave-fill-color: var(--uast-surface);
    --uast46-wave-line-color: rgba(var(--uast-primary-rgb), 0.12);
  }

  .uast46-wave-svg {
    position: absolute;
    top: 0;
    width: 200%;
    height: 100%;
  }

  .uast46-wave-svg--a { left: 0; animation: uast46-wave-move-a 18s linear infinite; }
  .uast46-wave-svg--b { left: 100%; animation: uast46-wave-move-b 18s linear infinite; }
  .uast46-wave-fill { fill: var(--uast46-wave-fill-color); }
  .uast46-wave-line { fill: none; stroke: var(--uast46-wave-line-color); stroke-width: 1.2; }
}

@keyframes uast46-wave-move-a { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@keyframes uast46-wave-move-b { from { transform: translateX(0); } to { transform: translateX(-100%); } }

@media (max-width: 768px) {
  .uast46-band-inner { padding-inline: 1rem; }
  .uast46-wave-divider { height: 28px; }
}

@layer components {
/* ========== هیرو سکشن چسبنده (sticky) ========== */
        .uast-hero-video {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            z-index: 0;
        }

.uast-hero-section {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 85vh;
            z-index: 0;
            overflow: hidden;
            background-size: cover;
            background-position: center;
            display: flex;
            align-items: center;
            transform: translateZ(0);
            will-change: transform;
        }

        /* دکمه‌های چسبیده به میانه سمت راست هیرو */
        .uast-hero-buttons {
            position: absolute;
            right: 0;
            top: 50%;
            transform: translateY(-50%);
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
            z-index: 20;
        }

        .uast-hero-btn {
            padding: 0.8rem 2rem 0.8rem 2.5rem;
            background: rgba(var(--uast-primary-rgb), 0.85);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border: none;
            border-left: none;
            color: white;
            font-weight: 300;
            font-size: 0.95rem;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            letter-spacing: 0.5px;
            display: flex;
            align-items: center;
            gap: 1rem;
            width: 140px;
            text-align: right;
            box-shadow: 0 4px 20px rgba(var(--uast-primary-rgb), 0.40);
            border-radius: 20px 0 0 20px;
            border-right: 3px solid rgba(255, 255, 255, 0.9);
        }

        @media (max-width: 768px) {
            .uast-hero-btn {
                padding: 0.7rem 1.5rem 0.7rem 2rem;
                font-size: 0.9rem;
                width: 120px;
            }
        }

        .uast-hero-btn i {
            font-size: 0.9rem;
            color: white;
            opacity: 0.9;
            margin-right: auto;
        }

        .uast-hero-btn:hover {
            background: rgba(0, 70, 130, 0.95);
            border-right-width: 5px;
            width: 150px;
            box-shadow: 0 6px 25px rgba(var(--uast-primary-rgb), 0.50);
            transform: translateX(-5px);
        }

        /* دکمه سه خط */
        .uast-menu-icon {
            position: fixed;
            top: 1.5rem;
            right: 1.5rem;
            width: 3rem;
            height: 3rem;
            background: var(--uast-primary);
            border: none;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.2rem;
            cursor: pointer;
            z-index: 100;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            opacity: 0;
            visibility: hidden;
            transform: translateY(-20px);
            box-shadow: 0 4px 20px rgba(var(--uast-primary-rgb), 0.40);
        }

        .uast-menu-icon.visible {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .uast-menu-icon.hidden {
            opacity: 0;
            visibility: hidden;
            transform: translateY(-20px);
        }

        .uast-menu-icon:hover {
            background: var(--uast-primary-dark);
            transform: scale(1.05) translateY(0);
            box-shadow: 0 6px 25px rgba(var(--uast-primary-rgb), 0.50);
        }

        /* ========== اوورلی آبی سازمانی ========== */
        .uast-menu-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0, 70, 130, 0.62);
            backdrop-filter: blur(4px);
            -webkit-backdrop-filter: blur(4px);
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
            transition: opacity 0.3s ease, visibility 0.3s ease;
            z-index: 9998;
        }

        .uast-menu-overlay.active {
            opacity: 1;
            visibility: visible;
            pointer-events: auto;
        }

        /* ========== دراور ========== */
        .uast-drawer {
            position: fixed;
            top: 0;
            right: 0;
            width: 24rem;
            max-width: calc(100vw - 1rem);
            height: 100dvh;
            background: var(--uast-white);
            overflow-y: auto;
            transform: translateX(calc(100% + 24px));
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
            transition:
                transform 0.45s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.25s ease,
                visibility 0.25s ease;
            z-index: 9999;
            box-shadow: none;
        }

        @media (max-width: 767px) {
            .uast-drawer {
                width: min(88vw, 24rem);
                max-width: min(88vw, 24rem);
            }
        }

        .uast-drawer.open {
            transform: translateX(0);
            opacity: 1;
            visibility: visible;
            pointer-events: auto;
            z-index: 10000;
            box-shadow: -8px 0 35px rgba(0, 0, 0, 0.18);
        }

        body.uast-drawer-open {
            overflow: hidden;
        }

        .uast-drawer-header {
            background: linear-gradient(135deg, rgba(15, 61, 145, 0.97), rgba(12, 35, 76, 0.98));
            padding: 1.4rem 1.2rem 1.15rem 1.2rem;
            color: white;
        }

        .uast-drawer-header-top {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            gap: 1rem;
            margin-bottom: 1rem;
        }

        .uast-drawer-brand {
            display: flex;
            align-items: center;
            gap: 0.85rem;
            min-width: 0;
        }

        .uast-drawer-brand-mark {
            width: 3rem;
            height: 3rem;
            border-radius: 0.95rem;
            background: rgba(255,255,255,0.16);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            box-shadow: inset 0 0 0 1px rgba(255,255,255,0.14);
            flex-shrink: 0;
        }

        .uast-drawer-brand-mark img {
            width: 74%;
            height: 74%;
            object-fit: contain;
        }

        .uast-drawer-brand-text {
            display: flex;
            flex-direction: column;
            gap: 0.2rem;
            min-width: 0;
        }

        .uast-drawer-brand-text strong {
            font-size: 1rem;
            font-weight: 700;
            line-height: 1.7;
            color: #fff;
        }

        .uast-drawer-brand-text small {
            font-size: 0.8rem;
            line-height: 1.7;
            color: rgba(255,255,255,0.82);
        }

        .uast-drawer-userline {
            display: flex;
            align-items: center;
            gap: 0.45rem;
            margin-bottom: 0.9rem;
            padding: 0.55rem 0.75rem;
            border-radius: 0.9rem;
            background: rgba(255,255,255,0.12);
            color: rgba(255,255,255,0.95);
            font-size: 0.9rem;
            line-height: 1.8;
        }

        .uast-close-btn {
            width: 2.5rem;
            height: 2.5rem;
            border: 1px solid rgba(255, 255, 255, 0.2);
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            color: white;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 1rem;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .uast-close-btn:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: rotate(90deg);
        }

        .uast-auth-buttons {
            display: flex;
            gap: 0.75rem;
            margin-top: 0.35rem;
            flex-wrap: wrap;
        }

        .uast-auth-btn {
            flex: 1 1 0;
            min-width: 0;
            min-height: 2.95rem;
            padding: 0.75rem 1rem;
            border: 1px solid rgba(255, 255, 255, 0.18);
            background: rgba(255, 255, 255, 0.12);
            border-radius: 1rem;
            color: #fff;
            font-weight: 700;
            font-size: 0.92rem;
            cursor: pointer;
            transition: all 0.24s ease;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            line-height: 1;
            text-decoration: none;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
        }

        .uast-auth-btn.login:hover {
            background: #15803d;
            border-color: #15803d;
            color: #fff;
            transform: translateY(-1px);
        }

        .uast-auth-btn.register:hover {
            background: #1d4ed8;
            border-color: #1d4ed8;
            color: #fff;
            transform: translateY(-1px);
        }

        .uast-auth-btn.logout:hover {
            background: #b91c1c;
            border-color: #b91c1c;
            color: #fff;
            transform: translateY(-1px);
        }

        /* منو */
        .uast-menu-section {
            padding: 1rem 0 4rem 0;
        }

        .uast-menu-group {
            border-bottom: 1px solid #eef2f7;
        }

        .uast-menu-group-header {
            padding: 1rem 1.25rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
            transition: all 0.24s ease;
            color: #1f2937;
            font-weight: 700;
            font-size: 0.92rem;
            line-height: 1.8;
        }

        .uast-menu-group-header:hover {
            background: linear-gradient(90deg, #eff6ff, #f8fbff);
            color: var(--uast-primary);
            padding-right: 1.55rem;
        }

        .uast-menu-group-header i {
            color: var(--uast-primary);
            font-size: 0.8rem;
            transition: transform 0.3s ease;
        }

        .uast-menu-group.open .uast-menu-group-header i {
            transform: rotate(45deg);
        }

        .uast-submenu {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.35s ease;
            background: #f8fbff;
        }

        .uast-menu-group.open .uast-submenu {
            max-height: 600px;
        }

        .uast-submenu-row, .uast-submenu-child-list {
            display: block;
        }

        .uast-submenu-child-list {
            border-top: 1px dashed rgba(15, 61, 145, 0.12);
        }

        .uast-submenu-item {
            display: flex;
            align-items: center;
            min-height: 3rem;
            padding: 0.78rem 2.6rem 0.78rem 1rem;
            color: #475569;
            font-size: 0.88rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s ease;
            border-right: 3px solid transparent;
            text-decoration: none;
            line-height: 1.9;
        }

        .uast-submenu-item.child {
            padding-right: 3.4rem;
            font-size: 0.84rem;
            color: #64748b;
        }

        .uast-submenu-item:hover {
            color: var(--uast-primary);
            background: #eaf2ff;
            border-right-color: var(--uast-primary);
        }

        /* اطلاعیه‌ها */
        .uast-notification-list {
            padding: 1rem 0;
        }

        .uast-notification-item {
            display: block;
            padding: 1rem 1.25rem;
            border-bottom: 1px solid #eef2f7;
            transition: all 0.24s ease;
            cursor: pointer;
            text-decoration: none;
        }

        .uast-notification-item:hover {
            background: #eff6ff;
            padding-right: 1.6rem;
        }

        .uast-notification-item h3 {
            font-size: 0.95rem;
            font-weight: 400;
            color: var(--uast-primary);
            margin-bottom: 0.5rem;
        }

        .uast-notification-item p {
            font-size: 0.85rem;
            color: #666;
            margin-bottom: 0.5rem;
            line-height: 1.5;
            font-weight: 300;
        }

        .uast-notification-date {
            font-size: 0.75rem;
            color: #999;
        }

        .uast-empty-drawer {
            padding: 1rem 1.25rem;
            color: #64748b;
            font-size: 0.9rem;
            line-height: 1.9;
        }

        .uast-notification-badge {
            display: inline-block;
            width: 0.4rem;
            height: 0.4rem;
            border-radius: 50%;
            background: var(--uast-primary);
            margin-left: 0.5rem;
        }

        /* ========== اطلاعیه‌های ویژه ========== */
        .uast-special-notices {
            position: relative;
            min-height: 85vh;
            width: 100%;
            background: #f5f5f5;
            z-index: 20;
            overflow: hidden;
        }

        .uast-notices-slider {
            position: relative;
            width: 100%;
            height: 100vh;
        }

        .uast-notice-slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            transition: opacity 0.8s ease;
            background-size: cover;
            background-position: center;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .uast-notice-slide.active {
            opacity: 1;
        }

        .uast-notice-slide::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(0,0,0,0.5), rgba(0,70,130,0.4));
        }

        .uast-notice-content {
            position: relative;
            z-index: 2;
            text-align: center;
            color: white;
            max-width: 800px;
            padding: 0 2rem;
        }

        .uast-notice-content h2 {
            font-size: 3.5rem;
            font-weight: 200;
            margin-bottom: 1rem;
            letter-spacing: 3px;
            opacity: 0.9;
        }

        @media (max-width: 768px) {
            .uast-notice-content h2 {
                font-size: 2.5rem;
            }
        }

        .uast-notice-content p {
            font-size: 1.2rem;
            font-weight: 300;
            opacity: 0.8;
            margin-bottom: 2rem;
            line-height: 1.8;
        }

        .uast-notice-badge {
            display: inline-block;
            padding: 0.5rem 2rem;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 2rem;
            font-size: 0.9rem;
            letter-spacing: 1px;
        }

        .uast-slider-dots {
            position: absolute;
            bottom: 2rem;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 0.75rem;
            z-index: 3;
        }

        .uast-slider-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.3);
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .uast-slider-dot.active {
            background: transparent;
            transform: scale(1.3);
        }

        .uast-slider-arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 50px;
            height: 50px;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.2rem;
            cursor: pointer;
            z-index: 3;
            transition: all 0.3s ease;
        }

        .uast-slider-arrow:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: translateY(-50%) scale(1.1);
        }

        .uast-slider-arrow.prev {
            right: 2rem;
        }

        .uast-slider-arrow.next {
            left: 2rem;
        }

        @media (max-width: 768px) {
            .uast-slider-arrow {
                width: 40px;
                height: 40px;
                font-size: 1rem;
            }
        }
        
        /* بخش اخبار */
        .uast-news-section {
            width: 100%;
            max-width: none;
            margin: 0;
            padding: 4rem 2rem;
            position: relative;
            background: transparent;
            z-index: 30;
        }
        .uast-news-section > .uast-section-title,
        .uast-news-section > .uast-tabs-container,
        .uast-news-section > .uast-content-wrapper {
            max-width: 1400px;
            margin-right: auto;
            margin-left: auto;
        }
        .uast-section-title {
            font-size: 2rem;
            font-weight: 200;
            color: #1a1a1a;
            text-align: center;
            margin-bottom: 2.5rem;
            letter-spacing: 1px;
            position: relative;
        }

        .uast-section-title::after {
            content: '';
            position: absolute;
            bottom: -0.8rem;
            left: 50%;
            transform: translateX(-50%);
            width: 50px;
            height: 2px;
            background: var(--uast-primary);
            border-radius: 2px;
        }

        /* تب‌ها */
        .uast-tabs-container {
            width: 100%;
            overflow-x: auto;
            overflow-y: hidden;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none;
            margin-bottom: 2rem;
            padding: 0.25rem 0;
        }

        .uast-tabs-container::-webkit-scrollbar {
            display: none;
        }

        .uast-tabs {
            display: flex;
            gap: 0.3rem;
            padding: 0.25rem;
            width: max-content;
            min-width: 100%;
            justify-content: center;
        }

        @media (max-width: 768px) {
            .uast-tabs {
                justify-content: flex-start;
                padding: 0.25rem 0.5rem;
            }
        }

        .uast-tab {
            padding: 0.5rem 1.2rem;
            background: transparent;
            border: 1px solid #eaeef2;
            border-radius: 2rem;
            color: #666;
            font-weight: 300;
            font-size: 0.85rem;
            cursor: pointer;
            transition: all 0.3s ease;
            white-space: nowrap;
            box-shadow: 0 2px 8px rgba(0,0,0,0.02);
        }

        .uast-tab:hover {
            border-color: var(--uast-primary);
            color: var(--uast-primary);
        }

        .uast-tab.active {
            background: var(--uast-primary);
            color: white;
            border-color: var(--uast-primary);
            box-shadow: 0 5px 15px rgba(0,70,130,0.3);
        }

        /* محتوای اصلی اخبار */
        .uast-content-wrapper {
            display: flex;
            gap: 1.5rem;
            min-height: 550px;
            position: relative;
        }

        .uast-news-list {
            flex: 0.7;
            max-width: 18%;
            display: flex;
            flex-direction: column;
            gap: 0.8rem;
        }

        .uast-news-item {
            position: relative;
            height: 75px;
            border-radius: 10px;
            overflow: hidden;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        }

        .uast-news-item-bg {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-size: cover;
            background-position: center;
            transition: transform 0.6s ease;
        }

        .uast-news-item:hover .uast-news-item-bg {
            transform: scale(1.1);
        }

        .uast-news-item-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(0,70,130,0.5));
            backdrop-filter: blur(2px);
            transition: all 0.4s ease;
        }

        .uast-news-item:hover .uast-news-item-overlay {
            background: linear-gradient(135deg, rgba(0,70,130,0.8), rgba(0,0,0,0.6));
        }

        .uast-news-item-content {
            position: relative;
            z-index: 2;
            padding: 0.8rem 1rem;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            color: white;
        }

        .uast-news-item-content h4 {
            font-weight: 350;
            font-size: 0.8rem;
            margin-bottom: 0.2rem;
            line-height: 1.3;
            display: -webkit-box;
            -webkit-line-clamp: 1;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .uast-news-item-content p {
            font-size: 0.65rem;
            opacity: 0.8;
            font-weight: 200;
            display: -webkit-box;
            -webkit-line-clamp: 1;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .uast-news-badge {
            position: absolute;
            left: 0.8rem;
            top: 50%;
            transform: translateY(-50%);
            width: 5px;
            height: 5px;
            border-radius: 50%;
            background: #fff;
            opacity: 0.5;
            transition: all 0.3s ease;
        }

        .uast-news-item.active .uast-news-badge {
            opacity: 1;
            box-shadow: 0 0 10px #fff;
            width: 6px;
            height: 6px;
        }

        .uast-news-item.active {
            transform: translateX(-3px);
            box-shadow: 0 8px 20px rgba(0,70,130,0.25);
        }

        .uast-show-more {
            margin-top: 0.5rem;
            text-align: center;
        }

        .uast-show-more-btn {
            padding: 0.4rem 1rem;
            background: transparent;
            border: 1px solid #eaeef2;
            border-radius: 2rem;
            color: #666;
            font-weight: 300;
            font-size: 0.75rem;
            cursor: pointer;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            box-shadow: 0 2px 8px rgba(0,0,0,0.02);
        }

        .uast-show-more-btn:hover {
            border-color: var(--uast-primary);
            color: var(--uast-primary);
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0,70,130,0.1);
        }

        .uast-news-detail {
            flex: 2.5;
            border-radius: 20px;
            overflow: hidden;
            position: relative;
            min-height: 500px;
            box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
        }

        .uast-detail-bg {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-size: cover;
            background-position: center;
            transition: transform 7s ease;
        }

        .uast-news-detail:hover .uast-detail-bg {
            transform: scale(1.1);
        }

        .uast-detail-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(0,0,0,0.85) 0%, rgba(0,70,130,0.45) 100%);
            backdrop-filter: blur(2px);
        }

        .uast-detail-content {
            position: relative;
            z-index: 2;
            padding: 2.5rem;
            height: 100%;
            overflow-y: auto;
            color: white;
            display: flex;
            flex-direction: column;
        }

        .uast-detail-category {
            display: inline-block;
            padding: 0.25rem 1rem;
            background: rgba(255,255,255,0.1);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border: 1px solid rgba(255,255,255,0.2);
            border-radius: 2rem;
            font-size: 0.7rem;
            font-weight: 300;
            margin-bottom: 1rem;
            width: fit-content;
            letter-spacing: 0.5px;
        }

        .uast-detail-content h3 {
            font-size: 1.6rem;
            font-weight: 200;
            margin-bottom: 0.8rem;
            line-height: 1.4;
        }

        .uast-detail-paragraphs {
            margin-bottom: 1.5rem;
            flex: 1;
        }

        .uast-detail-paragraphs p {
            font-size: 0.85rem;
            font-weight: 300;
            opacity: 0.9;
            line-height: 1.7;
            margin-bottom: 0.6rem;
        }

        .uast-detail-paragraphs p:last-child {
            margin-bottom: 0;
        }

        .uast-detail-date {
            font-size: 0.75rem;
            opacity: 0.5;
            font-weight: 200;
            display: flex;
            align-items: center;
            gap: 0.4rem;
            margin-top: auto;
            padding-top: 1rem;
            border-top: 1px solid rgba(255,255,255,0.1);
        }

        .uast-detail-date i {
            font-size: 0.65rem;
        }

        @media (max-width: 768px) {
            .uast-news-list {
                max-width: 100%;
                flex: auto;
                transition: opacity 0.3s ease;
            }

            .uast-news-list.hide {
                opacity: 0;
                pointer-events: none;
            }

            .uast-news-detail {
                position: fixed;
                top: 0;
                left: -100%;
                right: auto;
                width: 90%;
                height: 100vh;
                border-radius: 0 20px 20px 0;
                z-index: 1000;
                transition: left 0.4s ease;
                box-shadow: 5px 0 30px rgba(0,0,0,0.2);
            }

            .uast-news-detail.open {
                left: 0;
            }

            .uast-mobile-close {
                display: block;
                position: absolute;
                top: 1rem;
                right: 1rem;
                width: 2.5rem;
                height: 2.5rem;
                background: rgba(255,255,255,0.15);
                backdrop-filter: blur(10px);
                -webkit-backdrop-filter: blur(10px);
                border: 1px solid rgba(255,255,255,0.2);
                border-radius: 50%;
                color: white;
                font-size: 1rem;
                cursor: pointer;
                z-index: 1001;
                transition: all 0.3s ease;
            }

            .uast-mobile-close:hover {
                background: rgba(255,255,255,0.25);
                transform: rotate(90deg);
            }

            .uast-detail-content {
                padding: 5rem 1.5rem 1.5rem 1.5rem;
                height: 100%;
                overflow-y: auto;
            }

            .uast-detail-content h3 {
                font-size: 1.5rem;
            }

            .uast-detail-paragraphs p {
                font-size: 0.8rem;
            }

            .uast-detail-date {
                margin-top: 1rem;
            }
        }

        .uast-detail-slide {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.5s ease;
            overflow-y: auto;
        }

        .uast-detail-slide.active {
            opacity: 1;
            visibility: visible;
        }
/* ========== رشته‌ها | UAST46 ========== */
.uast46-programs-head p {
    color: rgba(255, 255, 255, 0.82);
}

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

.uast46-degree-more {
    text-decoration: none;
    color: var(--uast-primary);
    border: 1px solid rgba(var(--uast-primary-rgb), 0.15);
    background: #fff;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 300;
    transition: all 0.3s ease;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.uast46-degree-more:hover {
    background: var(--uast-primary);
    color: #fff;
    transform: translateY(-2px);
}

.uast46-slider {
    position: relative;
    padding: 0 3.2rem;
}

.uast46-slider-viewport {
    overflow: hidden;
    direction: ltr;
}

.uast46-slider-track {
    display: flex;
    gap: 1rem;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.uast46-program-card {
    direction: rtl;
    flex: 0 0 calc((100% - 3rem) / 4);
    min-width: 0;
    text-decoration: none;
    border: 1px solid rgba(var(--uast-primary-rgb), 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    backdrop-filter: blur(6px);
}

.uast46-program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 40px rgba(var(--uast-primary-rgb), 0.14);
    border-color: rgba(var(--uast-primary-rgb), 0.22);
}

.uast46-card-thumb {
    position: relative;
    aspect-ratio: 16 / 10;
    background: #eaf2fb;
}

.uast46-card-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 20, 40, 0.10), transparent 50%);
    pointer-events: none;
}

.uast46-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s ease;
}

.uast46-program-card:hover .uast46-card-thumb img {
    transform: scale(1.08);
}

.uast46-program-card:hover .uast46-card-body h4 {
    color: var(--uast-primary);
}

.uast46-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--uast-primary);
    box-shadow: 0 10px 25px rgba(var(--uast-primary-rgb), 0.15);
    cursor: pointer;
    z-index: 3;
    transition: all 0.3s ease;
}

.uast46-slider-btn:hover {
    background: var(--uast-primary);
    color: white;
    transform: translateY(-50%) scale(1.08);
}

.uast46-slider-btn-prev {
    right: 0;
}

.uast46-slider-btn-next {
    left: 0;
}

.uast46-slider-btn i {
    font-size: 0.95rem;
}

@media (max-width: 1199px) {
    .uast46-program-card {
        flex: 0 0 calc((100% - 2rem) / 3);
    }
}

@media (max-width: 899px) {
    .uast46-slider {
        padding: 0 2.5rem;
    }

    .uast46-program-card {
        flex: 0 0 calc((100% - 1rem) / 2);
    }
}

@media (max-width: 560px) {
    .uast46-slider {
        padding: 0 2.2rem;
    }

    .uast46-program-card {
        flex: 0 0 100%;
    }

    .uast46-slider-btn {
        width: 40px;
        height: 40px;
    }
}

/* ========== پیام رییس دانشکده | UAST46 ========== */
.uast46-president-message-section {
    width: 100%;
    padding: 4rem 1.5rem;
    background: linear-gradient(135deg, var(--uast-surface-alt) 0%, var(--uast-white) 100%);
    position: relative;
    z-index: 30;
}

.uast46-president-message-box {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
    direction: ltr;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(var(--uast-primary-rgb), 0.08);
    border-radius: 28px;
    padding: 2rem;
    box-shadow: 0 18px 40px rgba(var(--uast-primary-rgb), 0.08);
    overflow: hidden;
    position: relative;
}

.uast46-president-message-box::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(var(--uast-primary-rgb), 0.08), transparent 70%);
    pointer-events: none;
}

.uast46-president-photo,
.uast46-president-content {
    direction: rtl;
    width: 100%;
}

.uast46-president-photo {
    width: 100%;
    height: 100%;
}

.uast46-president-photo img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
    transition: transform 0.35s ease;
}

.uast46-president-message-box:hover .uast46-president-photo img {
    transform: scale(1.02);
}

.uast46-president-content {
    color: #1f2937;
    text-align: right;
}

.uast46-president-badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    margin-bottom: 1rem;
    border-radius: 999px;
    background: rgba(var(--uast-primary-rgb), 0.08);
    color: var(--uast-primary);
    font-size: 0.78rem;
    font-weight: 400;
}

.uast46-president-content h2 {
    font-size: 2rem;
    font-weight: 300;
    color: var(--uast-text-strong);
    margin-bottom: 1.2rem;
    line-height: 1.6;
}

.uast46-president-content h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--uast-primary);
    border-radius: 2px;
    margin-top: 0.8rem;
}

.uast46-president-content p {
    font-size: 0.96rem;
    line-height: 2.1;
    color: #4b5563;
    font-weight: 300;
    margin-bottom: 1rem;
}

.uast46-president-signature {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 70, 130, 0.10);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.uast46-president-signature strong {
    color: var(--uast-primary);
    font-size: 1rem;
    font-weight: 700;
}

.uast46-president-signature span {
    color: var(--uast-text-muted);
    font-size: 0.86rem;
    font-weight: 300;
}

/* لپ‌تاپ و تبلت */
@media (max-width: 1100px) {
    .uast46-president-message-box {
        gap: 2rem;
        padding: 1.75rem;
    }

    .uast46-president-content h2 {
        font-size: 1.7rem;
    }
}

/* تبلت کوچک */
@media (max-width: 860px) {
    .uast46-president-message-box {
        gap: 1.5rem;
    }

    .uast46-president-content p {
        font-size: 0.9rem;
        line-height: 2;
    }
}

/* موبایل */
@media (max-width: 768px) {
    .uast46-president-message-section {
        padding: 3rem 1rem;
    }

    .uast46-president-message-box {
        grid-template-columns: 1fr;
        direction: rtl;
        gap: 1.5rem;
        padding: 1.25rem;
        border-radius: 22px;
    }

    .uast46-president-photo {
        max-width: 320px;
        margin: 0 auto;
        height: auto;
    }

    .uast46-president-photo img {
        height: auto;
        aspect-ratio: 4 / 5;
    }

    .uast46-president-content h2 {
        font-size: 1.45rem;
    }

    .uast46-president-content p {
        font-size: 0.9rem;
        line-height: 1.95;
    }
}

/* موبایل خیلی کوچک */
@media (max-width: 480px) {
    .uast46-president-message-section {
        padding: 2.5rem 0.8rem;
    }

    .uast46-president-message-box {
        padding: 1rem;
        gap: 1.2rem;
    }

    .uast46-president-content h2 {
        font-size: 1.25rem;
    }

    .uast46-president-content p {
        font-size: 0.86rem;
    }

    .uast46-president-badge {
        font-size: 0.72rem;
    }
}

/* ========== مدیران گروه و گروه‌های آموزشی | UAST46 ========== */
.uast46-groups-info-image {
    width: 100%;
    aspect-ratio: 16 / 9;
}

.uast46-groups-info-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.uast46-groups-info:hover .uast46-groups-info-image img {
    transform: scale(1.03);
}

.uast46-groups-info-content {
    padding-top: 1.5rem;
    direction: rtl;
}

.uast46-groups-info-content h2::after {
    content: '';
    display: block;
    width: 56px;
    height: 2px;
    background: rgba(255,255,255,0.92);
    border-radius: 2px;
    margin-top: 0.75rem;
    margin-right: 0;
    margin-left: auto;
}

.uast46-groups-slider {
    position: relative;
    aspect-ratio: 4 / 3;
}

.uast46-groups-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease;
    pointer-events: none;
}

.uast46-groups-slide.uast46-groups-slide-active {
    opacity: 1;
    visibility: visible;
}

.uast46-groups-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .uast46-groups-info-content {
        padding-top: 1.1rem;
    }

    .uast46-groups-slider {
        aspect-ratio: 16 / 10;
    }
}

/* ========== افتخارات | UAST46 ========== */
.uast46-honors-section {
    width: 100%;
    padding: 4.5rem 1.5rem;
    background:
        radial-gradient(circle at top center, rgba(var(--uast-primary-rgb), 0.08), transparent 30%),
        linear-gradient(180deg, var(--uast-surface-alt) 0%, var(--uast-white) 100%);
    position: relative;
    z-index: 20;
    overflow: hidden;
}

.uast46-honors-header {
    max-width: 900px;
    margin: 0 auto 2.5rem;
    text-align: center;
}

.uast46-honors-badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    margin-bottom: 1rem;
    border-radius: 999px;
    background: rgba(var(--uast-primary-rgb), 0.08);
    color: var(--uast-primary);
    font-size: 0.78rem;
    font-weight: 400;
}

.uast46-honors-header h2 {
    font-size: 2rem;
    font-weight: 300;
    color: var(--uast-text-strong);
    margin-bottom: 0.9rem;
    line-height: 1.5;
}

.uast46-honors-header p {
    color: var(--uast-text-muted);
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.95;
}

.uast46-honors-slider {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
    padding: 0 4.5rem;
}

.uast46-honors-stage {
    position: relative;
    width: 100%;
    height: 720px;
    overflow: hidden;
}

.uast46-honors-item {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 280px;
    height: 500px;
    border-radius: 28px;
    overflow: hidden;
    background: #dbeafe;
    border: 1px solid rgba(var(--uast-primary-rgb), 0.08);
    box-shadow: 0 18px 40px rgba(0, 70, 130, 0.10);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.7);
    transition:
        transform 0.7s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.7s ease,
        filter 0.7s ease,
        box-shadow 0.7s ease;
    isolation: isolate;
}

.uast46-honors-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* کپشن شیشه‌ای */
.uast46-honors-item::before,
.uast46-honors-item::after {
    position: absolute;
    right: 1rem;
    left: 1rem;
    z-index: 4;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.45s ease, transform 0.45s ease;
    pointer-events: none;
    direction: rtl;
    text-align: right;
    display: block;
    box-sizing: border-box;
}

.uast46-honors-item::before {
    content: attr(data-title);
    bottom: 3.5rem;
    padding: 1rem 1rem 0.35rem;
    color: var(--uast-white);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.7;
    border-radius: 20px 20px 0 0;
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-bottom: none;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.10);
}

.uast46-honors-item::after {
    content: attr(data-subtitle);
    bottom: 1rem;
    padding: 0.2rem 1rem 0.95rem;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.82rem;
    font-weight: 300;
    line-height: 1.8;
    border-radius: 0 0 20px 20px;
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-top: none;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.10);
}

/* موقعیت‌ها */
.uast46-honors-pos-center {
    opacity: 1;
    z-index: 5;
    transform: translate(-50%, -50%) scale(1);
    filter: blur(0);
    box-shadow: 0 30px 55px rgba(0, 70, 130, 0.16);
}

.uast46-honors-pos-center::before,
.uast46-honors-pos-center::after {
    opacity: 1;
    transform: translateY(0);
}

.uast46-honors-pos-left-1 {
    opacity: 1;
    z-index: 4;
    transform: translate(calc(-50% - 240px), -50%) scale(0.88);
    filter: blur(0.2px);
}

.uast46-honors-pos-right-1 {
    opacity: 1;
    z-index: 4;
    transform: translate(calc(-50% + 240px), -50%) scale(0.88);
    filter: blur(0.2px);
}

.uast46-honors-pos-left-2 {
    opacity: 0.78;
    z-index: 3;
    transform: translate(calc(-50% - 430px), -50%) scale(0.74);
    filter: blur(0.5px);
}

.uast46-honors-pos-right-2 {
    opacity: 0.78;
    z-index: 3;
    transform: translate(calc(-50% + 430px), -50%) scale(0.74);
    filter: blur(0.5px);
}

.uast46-honors-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: var(--uast-primary);
    box-shadow: 0 12px 28px rgba(var(--uast-primary-rgb), 0.14);
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.uast46-honors-btn:hover {
    background: var(--uast-primary);
    color: var(--uast-white);
    transform: translateY(-50%) scale(1.08);
}

.uast46-honors-btn-prev {
    right: 0.5rem;
}

.uast46-honors-btn-next {
    left: 0.5rem;
}

/* لپ‌تاپ */
@media (max-width: 1400px) {
    .uast46-honors-stage {
        height: 650px;
    }

    .uast46-honors-item {
        width: 250px;
        height: 450px;
    }

    .uast46-honors-pos-left-1 {
        transform: translate(calc(-50% - 210px), -50%) scale(0.88);
    }

    .uast46-honors-pos-right-1 {
        transform: translate(calc(-50% + 210px), -50%) scale(0.88);
    }

    .uast46-honors-pos-left-2 {
        transform: translate(calc(-50% - 370px), -50%) scale(0.74);
    }

    .uast46-honors-pos-right-2 {
        transform: translate(calc(-50% + 370px), -50%) scale(0.74);
    }
}

/* تبلت */
@media (max-width: 980px) {
    .uast46-honors-section {
        padding: 4rem 1rem;
    }

    .uast46-honors-slider {
        padding: 0 3.5rem;
    }

    .uast46-honors-stage {
        height: 560px;
    }

    .uast46-honors-item {
        width: 210px;
        height: 380px;
    }

    .uast46-honors-pos-left-1 {
        transform: translate(calc(-50% - 150px), -50%) scale(0.86);
    }

    .uast46-honors-pos-right-1 {
        transform: translate(calc(-50% + 150px), -50%) scale(0.86);
    }

    .uast46-honors-pos-left-2 {
        transform: translate(calc(-50% - 250px), -50%) scale(0.68);
        opacity: 0.6;
    }

    .uast46-honors-pos-right-2 {
        transform: translate(calc(-50% + 250px), -50%) scale(0.68);
        opacity: 0.6;
    }
}

/* موبایل */
@media (max-width: 768px) {
    .uast46-honors-header h2 {
        font-size: 1.5rem;
    }

    .uast46-honors-header p {
        font-size: 0.88rem;
    }

    .uast46-honors-slider {
        padding: 0 3rem;
    }

    .uast46-honors-stage {
        height: 500px;
    }

    .uast46-honors-item {
        width: 190px;
        height: 340px;
    }

    .uast46-honors-pos-left-2,
    .uast46-honors-pos-right-2 {
        opacity: 0;
    }

    .uast46-honors-pos-left-1 {
        transform: translate(calc(-50% - 105px), -50%) scale(0.82);
        opacity: 0.75;
    }

    .uast46-honors-pos-right-1 {
        transform: translate(calc(-50% + 105px), -50%) scale(0.82);
        opacity: 0.75;
    }

    .uast46-honors-btn {
        width: 44px;
        height: 44px;
    }

    .uast46-honors-item::before {
        right: 0.75rem;
        left: 0.75rem;
        bottom: 3rem;
        font-size: 0.88rem;
        padding: 0.8rem 0.85rem 0.25rem;
    }

    .uast46-honors-item::after {
        right: 0.75rem;
        left: 0.75rem;
        bottom: 0.75rem;
        font-size: 0.72rem;
        padding: 0.15rem 0.85rem 0.8rem;
    }
}

/* موبایل کوچک */
@media (max-width: 480px) {
    .uast46-honors-section {
        padding: 3rem 0.75rem;
    }

    .uast46-honors-slider {
        padding: 0 2.6rem;
    }

    .uast46-honors-stage {
        height: 430px;
    }

    .uast46-honors-item {
        width: 160px;
        height: 290px;
        border-radius: 22px;
    }

    .uast46-honors-pos-left-1,
    .uast46-honors-pos-right-1 {
        opacity: 0;
    }

    .uast46-honors-item::after {
        display: none;
    }

    .uast46-honors-item::before {
        bottom: 0.75rem;
        border-radius: 16px;
    }
}

/* ========== دانشجویان برتر | UAST46 ========== */
.uast46-topstudents-section {
    position: relative;
    width: 100%;
    padding: 4.5rem 1.5rem;
    background:
        radial-gradient(circle at top left, rgba(var(--uast-accent-rgb), 0.08), transparent 28%),
        linear-gradient(180deg, var(--uast-white) 0%, var(--uast-surface-alt) 100%);
    overflow: hidden;
    z-index: 20;
}

.uast46-topstudents-bg-logo {
    position: absolute;
    inset: 0;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.045;
    transform: rotate(12deg) scale(1.45);
}

.uast46-topstudents-bg-logo img {
    width: 24rem;
    height: 24rem;
    object-fit: contain;
    filter: grayscale(1);
}

.uast46-topstudents-grid {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    direction: ltr;
}

.uast46-topstudents-bubbles-area,
.uast46-topstudents-content {
    direction: rtl;
}

.uast46-topstudents-bubbles-area {
    position: relative;
    min-height: 520px;
    margin-top: 120px;
}

.uast46-topstudents-bg-blur {
    position: absolute;
    border-radius: 50%;
    background: rgba(var(--uast-accent-rgb), 0.08);
    filter: blur(55px);
    pointer-events: none;
}

.uast46-topstudents-bg-blur-1 {
    top: 2rem;
    left: 2rem;
    width: 8rem;
    height: 8rem;
    animation: uast46-pulse-slow 4s ease-in-out infinite;
}

.uast46-topstudents-bg-blur-2 {
    bottom: 2rem;
    right: 2rem;
    width: 10rem;
    height: 10rem;
    animation: uast46-pulse-slower 6s ease-in-out infinite;
}

.uast46-topstudents-bubbles-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 520px;
}

.uast46-topstudents-bubble {
    position: absolute;
    border: none;
    padding: 0;
    border-radius: 50%;
    cursor: pointer;
    overflow: visible;
    background: transparent;
    transition: all 0.9s cubic-bezier(0.4, 0, 0.2, 1);
    animation: uast46-float 12s ease-in-out infinite;
}

.uast46-topstudents-bubble img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid rgba(74, 158, 255, 0.28);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
    transition: all 0.6s ease;
}

.uast46-topstudents-bubble-glow {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--uast-accent), #2a6fcf);
    opacity: 0.18;
    filter: blur(12px);
    transition: opacity 0.4s ease;
}

.uast46-topstudents-bubble-label {
    position: absolute;
    left: 50%;
    bottom: -2.15rem;
    transform: translateX(-50%);
    white-space: nowrap;
    padding: 0.38rem 0.9rem;
    border-radius: 999px;
    background: rgba(26, 54, 80, 0.92);
    color: var(--uast-white);
    border: 1px solid rgba(74, 158, 255, 0.28);
    backdrop-filter: blur(8px);
    font-size: 0.75rem;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.uast46-topstudents-bubble:hover .uast46-topstudents-bubble-label,
.uast46-topstudents-bubble.uast46-topstudents-bubble-active .uast46-topstudents-bubble-label {
    opacity: 1;
}

.uast46-topstudents-bubble:hover img {
    border-color: rgba(74, 158, 255, 0.85);
}

.uast46-topstudents-bubble:hover .uast46-topstudents-bubble-glow {
    opacity: 0.28;
}

.uast46-topstudents-bubble-active {
    z-index: 40;
    filter: drop-shadow(0 0 20px rgba(74, 158, 255, 0.28));
}

.uast46-topstudents-bubble-active img {
    border-color: rgba(74, 158, 255, 0.9);
    box-shadow: 0 20px 40px rgba(74, 158, 255, 0.18);
}

#uast46StudentBubble1 {
    top: 20%;
    left: 10%;
    width: 9rem;
    height: 9rem;
    z-index: 30;
}

#uast46StudentBubble2 {
    top: 45%;
    left: 35%;
    width: 7.5rem;
    height: 7.5rem;
    z-index: 20;
    animation-delay: -2s;
    animation-duration: 14s;
}

#uast46StudentBubble3 {
    top: 15%;
    right: 15%;
    width: 7rem;
    height: 7rem;
    z-index: 10;
    animation-delay: -4s;
    animation-duration: 16s;
}

#uast46StudentBubble4 {
    bottom: 15%;
    left: 20%;
    width: 6.2rem;
    height: 6.2rem;
    z-index: 10;
    animation-delay: -6s;
    animation-duration: 18s;
}

#uast46StudentBubble5 {
    bottom: 25%;
    right: 25%;
    width: 5.5rem;
    height: 5.5rem;
    z-index: 10;
    animation-delay: -8s;
    animation-duration: 20s;
}

/* اندازه حباب فعال */
#uast46StudentBubble1.uast46-topstudents-bubble-active {
    width: 11rem;
    height: 11rem;
}

#uast46StudentBubble2.uast46-topstudents-bubble-active {
    width: 10rem;
    height: 10rem;
}

#uast46StudentBubble3.uast46-topstudents-bubble-active {
    width: 9.5rem;
    height: 9.5rem;
}

#uast46StudentBubble4.uast46-topstudents-bubble-active {
    width: 9rem;
    height: 9rem;
}

#uast46StudentBubble5.uast46-topstudents-bubble-active {
    width: 8.5rem;
    height: 8.5rem;
}

.uast46-topstudents-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
}

.uast46-topstudents-lines line {
    stroke: var(--uast-accent);
    stroke-width: 1;
    stroke-dasharray: 4 4;
}

.uast46-topstudents-content {
    text-align: right;
}

.uast46-topstudents-badge {
    display: inline-block;
    padding: 0.38rem 1rem;
    margin-bottom: 1rem;
    border-radius: 999px;
    background: rgba(74, 158, 255, 0.10);
    color: var(--uast-accent);
    font-size: 0.8rem;
    font-weight: 400;
}

.uast46-topstudents-content h2 {
    font-size: 2.3rem;
    line-height: 1.5;
    color: var(--uast-accent);
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.uast46-topstudents-content h3 {
    font-size: 1rem;
    color: rgba(74, 158, 255, 0.88);
    margin-bottom: 1.1rem;
    font-weight: 500;
}

.uast46-topstudents-content p {
    max-width: 36rem;
    color: rgba(74, 158, 255, 0.78);
    line-height: 2;
    font-size: 0.95rem;
    margin-bottom: 1.8rem;
}

.uast46-topstudents-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    padding-top: 1rem;
}

.uast46-topstudents-stats div strong {
    display: block;
    color: var(--uast-accent);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.uast46-topstudents-stats div span {
    color: rgba(74, 158, 255, 0.58);
    font-size: 0.78rem;
}

/* انیمیشن‌ها */
@keyframes uast46-float {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    25% {
        transform: translateY(-10px) translateX(5px);
    }
    50% {
        transform: translateY(-5px) translateX(-5px);
    }
    75% {
        transform: translateY(5px) translateX(3px);
    }
}

@keyframes uast46-pulse-slow {
    0%, 100% {
        opacity: 0.18;
    }
    50% {
        opacity: 0.35;
    }
}

@keyframes uast46-pulse-slower {
    0%, 100% {
        opacity: 0.14;
    }
    50% {
        opacity: 0.28;
    }
}

/* ریسپانسیو */
@media (max-width: 1100px) {
    .uast46-topstudents-grid {
        gap: 2rem;
    }

    .uast46-topstudents-content h2 {
        font-size: 1.9rem;
    }
}

@media (max-width: 980px) {
    .uast46-topstudents-grid {
        grid-template-columns: 1fr;
    }

    .uast46-topstudents-bubbles-area {
        min-height: 460px;
        margin-top: 60px;
        order: 1;
    }

    .uast46-topstudents-content {
        order: 2;
    }
}

@media (max-width: 768px) {
    .uast46-topstudents-section {
        padding: 3.5rem 1rem;
    }

    .uast46-topstudents-bubbles-area {
        min-height: 390px;
    }

    .uast46-topstudents-bubbles-wrap {
        min-height: 390px;
    }

    .uast46-topstudents-content h2 {
        font-size: 1.55rem;
    }

    .uast46-topstudents-content h3 {
        font-size: 0.92rem;
    }

    .uast46-topstudents-content p {
        font-size: 0.88rem;
    }

    #uast46StudentBubble1 { width: 7rem; height: 7rem; }
    #uast46StudentBubble2 { width: 6rem; height: 6rem; }
    #uast46StudentBubble3 { width: 5.5rem; height: 5.5rem; }
    #uast46StudentBubble4 { width: 5rem; height: 5rem; }
    #uast46StudentBubble5 { width: 4.5rem; height: 4.5rem; }

    #uast46StudentBubble1.uast46-topstudents-bubble-active { width: 8.5rem; height: 8.5rem; }
    #uast46StudentBubble2.uast46-topstudents-bubble-active { width: 7.8rem; height: 7.8rem; }
    #uast46StudentBubble3.uast46-topstudents-bubble-active { width: 7.2rem; height: 7.2rem; }
    #uast46StudentBubble4.uast46-topstudents-bubble-active { width: 6.8rem; height: 6.8rem; }
    #uast46StudentBubble5.uast46-topstudents-bubble-active { width: 6.4rem; height: 6.4rem; }
}

@media (max-width: 480px) {
    .uast46-topstudents-bubble-label {
        display: none;
    }

    .uast46-topstudents-bubbles-area {
        min-height: 330px;
    }

    .uast46-topstudents-bubbles-wrap {
        min-height: 330px;
    }
}
.uast46-topstudents-lines {
    display: none;
}

/* ========== همکاری‌ها | UAST46 ========== */
.uast46-partners-section {
    width: 100%;
    padding: 4.5rem 0;
    background:
        radial-gradient(circle at top center, rgba(0, 70, 130, 0.06), transparent 30%),
        linear-gradient(180deg, var(--uast-white) 0%, var(--uast-surface-alt) 100%);
    position: relative;
    overflow: hidden;
    z-index: 20;
}

.uast46-partners-header {
    max-width: 900px;
    margin: 0 auto 2.5rem;
    text-align: center;
    padding: 0 1.5rem;
}

.uast46-partners-badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    margin-bottom: 1rem;
    border-radius: 999px;
    background: rgba(var(--uast-primary-rgb), 0.08);
    color: var(--uast-primary);
    font-size: 0.8rem;
    font-weight: 400;
}

.uast46-partners-header h2 {
    font-size: 2rem;
    font-weight: 300;
    color: var(--uast-text-strong);
    margin-bottom: 0.9rem;
    line-height: 1.5;
}

.uast46-partners-header p {
    color: var(--uast-text-muted);
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.95;
}

.uast46-partners-marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to left, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to left, transparent 0%, black 10%, black 90%, transparent 100%);
}

.uast46-partners-track {
    display: flex;
    align-items: stretch;
    gap: 1.25rem;
    width: max-content;
    animation: uast46-partners-scroll 38s linear infinite;
    padding: 0 1rem;
}

.uast46-partner-item {
    flex: 0 0 auto;
    width: 180px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(var(--uast-primary-rgb), 0.08);
    border-radius: 24px;
    padding: 1rem 1rem 1.1rem;
    text-align: center;
    box-shadow: 0 10px 28px rgba(0, 70, 130, 0.07);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.uast46-partner-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 34px rgba(var(--uast-primary-rgb), 0.12);
    border-color: rgba(var(--uast-primary-rgb), 0.18);
}

.uast46-partner-logo {
    width: 100%;
    height: 88px;
    border-radius: 18px;
    background: linear-gradient(180deg, var(--uast-white) 0%, #f2f7fc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.9rem;
    overflow: hidden;
}

.uast46-partner-logo img {
    max-width: 78%;
    max-height: 62px;
    object-fit: contain;
    display: block;
    filter: grayscale(100%);
    opacity: 0.82;
    transition: filter 0.35s ease, opacity 0.35s ease, transform 0.35s ease;
}

.uast46-partner-item:hover .uast46-partner-logo img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.04);
}

.uast46-partner-item h3 {
    font-size: 0.88rem;
    font-weight: 400;
    color: #334155;
    line-height: 1.8;
    margin: 0;
}

@keyframes uast46-partners-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(50%);
    }
}

/* چون صفحه RTL است، جهت حرکت را اصلاح می‌کنیم */
html[dir="rtl"] .uast46-partners-track {
    animation-name: uast46-partners-scroll-rtl;
}

@keyframes uast46-partners-scroll-rtl {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(50%);
    }
}

@media (max-width: 768px) {
    .uast46-partners-section {
        padding: 3.5rem 0;
    }

    .uast46-partners-header {
        padding: 0 1rem;
        margin-bottom: 2rem;
    }

    .uast46-partners-header h2 {
        font-size: 1.5rem;
    }

    .uast46-partners-header p {
        font-size: 0.88rem;
    }

    .uast46-partner-item {
        width: 150px;
        border-radius: 20px;
        padding: 0.85rem 0.85rem 1rem;
    }

    .uast46-partner-logo {
        height: 76px;
        border-radius: 16px;
    }

    .uast46-partner-logo img {
        max-height: 52px;
    }

    .uast46-partner-item h3 {
        font-size: 0.8rem;
    }

    .uast46-partners-track {
        gap: 0.9rem;
        animation-duration: 30s;
    }
}

/* ========== فوتر | UAST46 ========== */
.uast46-footer {
    width: 100%;
    background: linear-gradient(180deg, var(--uast-footer-start) 0%, var(--uast-footer-end) 100%);
    color: #e5eef8;
    margin-top: 0;
    position: relative;
    z-index: 20;
    overflow: hidden;
}

.uast46-footer::before {
    content: '';
    position: absolute;
    top: -120px;
    left: -120px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(var(--uast-accent-rgb), 0.08);
    filter: blur(40px);
    pointer-events: none;
}

.uast46-footer-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 1.5rem 2.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr 1.35fr;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.uast46-footer-col h3 {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--uast-white);
    margin-bottom: 1.2rem;
    position: relative;
}

.uast46-footer-col h3::after {
    content: '';
    display: block;
    width: 42px;
    height: 2px;
    background: var(--uast-accent);
    border-radius: 2px;
    margin-top: 0.65rem;
}

.uast46-footer-contact,
.uast46-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.uast46-footer-contact li,
.uast46-footer-links li {
    margin-bottom: 0.75rem;
    font-size: 0.92rem;
    line-height: 1.95;
    color: rgba(229, 238, 248, 0.86);
}

.uast46-footer-contact a,
.uast46-footer-links a {
    color: rgba(229, 238, 248, 0.86);
    text-decoration: none;
    transition: color 0.3s ease, padding-right 0.3s ease;
}

.uast46-footer-links a:hover,
.uast46-footer-contact a:hover {
    color: var(--uast-accent);
}

.uast46-footer-links a:hover {
    padding-right: 0.35rem;
}

.uast46-footer-col-map {
    display: flex;
    flex-direction: column;
}

.uast46-footer-map {
    width: 100%;
    height: 300px;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
    margin-bottom: 1rem;
}


.uast46-footer-socials-icons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.uast46-footer-socials-icons a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    color: var(--uast-accent);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.uast46-footer-socials-icons a:hover {
    transform: translateY(-2px);
    background: rgba(74, 158, 255, 0.14);
    color: var(--uast-white);
}

.uast46-footer-socials-icons i {
    font-size: 1rem;
}

.uast46-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.25rem 1.5rem 1.5rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.uast46-footer-bottom p {
    margin: 0.35rem 0;
    font-size: 0.88rem;
    color: rgba(229, 238, 248, 0.72);
    line-height: 1.9;
}

/* تبلت */
@media (max-width: 1100px) {
    .uast46-footer-main {
        grid-template-columns: 1fr 1fr;
    }

    .uast46-footer-col-map {
        grid-column: 1 / -1;
    }
}

/* موبایل */
@media (max-width: 768px) {
    .uast46-footer-main {
        grid-template-columns: 1fr;
        padding: 3rem 1rem 2rem;
        gap: 1.5rem;
    }

    .uast46-footer-map {
        height: 240px;
    }

    .uast46-footer-bottom {
        padding: 1rem 1rem 1.25rem;
    }

    .uast46-footer-bottom p {
        font-size: 0.82rem;
    }
}
.uast46-footer {
    position: relative;
    z-index: 20;
}
.uast46-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    font-size: 0.92rem;
    line-height: 1.95;
    color: rgba(229, 238, 248, 0.86);
}

.uast46-footer-contact li i {
    color: var(--uast-accent);
    font-size: 0.95rem;
    min-width: 18px;
    margin-top: 0.3rem;
    text-align: center;
}

.uast46-footer-contact li span,
.uast46-footer-contact li a {
    display: inline-block;
}

body{min-height:100vh;overflow-x:hidden;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;}

/* ===== v3 patch: restore band backgrounds and prevent hero bleed-through ===== */
.uast-news-section.uast46-band--light,
.uast46-president-message-section.uast46-band--light,
.uast46-honors-section.uast46-band--light,
.uast46-partners-section.uast46-band--light {
  background:
    radial-gradient(circle at top right, rgba(var(--uast-primary-rgb), 0.05), transparent 28%),
    linear-gradient(180deg, var(--uast-surface) 0%, var(--uast-surface-alt) 100%);
}

.uast46-programs-section.uast46-band--blue,
.uast46-groups-section.uast46-band--blue,
.uast46-topstudents-section.uast46-band--blue {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), transparent 26%),
    linear-gradient(180deg, var(--uast-band-blue) 0%, var(--uast-band-blue-2) 100%);
  color: rgba(255, 255, 255, 0.92);
}

.uast-news-section.uast46-band,
.uast46-programs-section.uast46-band,
.uast46-president-message-section.uast46-band,
.uast46-groups-section.uast46-band,
.uast46-honors-section.uast46-band,
.uast46-topstudents-section.uast46-band,
.uast46-partners-section.uast46-band,
.uast46-footer {
  position: relative;
  z-index: 30;
}

/* ========== News section | utility-native refinement ========== */
.mx-auto{margin-left:auto;margin-right:auto}.w-full{width:100%}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-hidden{overflow-y:hidden}.overflow-y-auto{overflow-y:auto}.min-w-full{min-width:100%}.max-w-\[1400px\]{max-width:1400px}.px-8{padding-left:2rem;padding-right:2rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.p-1{padding:.25rem}.mb-8{margin-bottom:2rem}.mb-10{margin-bottom:2.5rem}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-6{gap:1.5rem}.flex{display:flex}.block{display:block}.hidden{display:none}.shrink-0{flex-shrink:0}.basis-\[18\%\]{flex-basis:18%}.flex-1{flex:1 1 0%}.flex-col{flex-direction:column}.justify-center{justify-content:center}.justify-start{justify-content:flex-start}.items-center{align-items:center}.relative{position:relative}.absolute{position:absolute}.inset-0{top:0;right:0;bottom:0;left:0}.left-3{left:.75rem}.top-1\/2{top:50%}.z-\[2\]{z-index:2}.h-\[75px\]{height:75px}.min-h-\[500px\]{min-height:500px}.min-h-\[550px\]{min-height:550px}.rounded-xl{border-radius:.75rem}.rounded-full{border-radius:9999px}.rounded-\[20px\]{border-radius:20px}.border{border-width:1px}.border-t{border-top-width:1px}.border-slate-200{border-color:#e2e8f0}.border-white\/10{border-color:rgba(255,255,255,.1)}.border-white\/20{border-color:rgba(255,255,255,.2)}.bg-white{background-color:#fff}.bg-white\/10{background-color:rgba(255,255,255,.1)}.bg-cover{background-size:cover}.bg-center{background-position:center}.text-center{text-align:center}.text-white{color:#fff}.text-slate-500{color:#64748b}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.text-\[0\.65rem\]{font-size:.65rem}.text-\[0\.7rem\]{font-size:.7rem}.text-\[0\.75rem\]{font-size:.75rem}.text-\[0\.8rem\]{font-size:.8rem}.text-\[0\.85rem\]{font-size:.85rem}.text-\[1\.5rem\]{font-size:1.5rem}.text-\[1\.6rem\]{font-size:1.6rem}.text-\[2rem\]{font-size:2rem}.font-light{font-weight:300}.font-\[200\]{font-weight:200}.font-\[350\]{font-weight:350}.leading-\[1\.3\]{line-height:1.3}.leading-\[1\.4\]{line-height:1.4}.leading-\[1\.7\]{line-height:1.7}.tracking-\[0\.5px\]{letter-spacing:.5px}.tracking-\[1px\]{letter-spacing:1px}.whitespace-nowrap{white-space:nowrap}.opacity-50{opacity:.5}.opacity-80{opacity:.8}.opacity-90{opacity:.9}.cursor-pointer{cursor:pointer}.shadow-sm{box-shadow:0 1px 2px 0 rgba(0,0,0,.05)}.shadow-\[0_5px_15px_rgba\(0\,0\,0\,0\.05\)\]{box-shadow:0 5px 15px rgba(0,0,0,.05)}.shadow-\[0_25px_50px_-12px_rgba\(0\,0\,0\,0\.25\)\]{box-shadow:0 25px 50px -12px rgba(0,0,0,.25)}.transition-all{transition-property:all}.transition-opacity{transition-property:opacity}.transition-transform{transition-property:transform}.duration-300{transition-duration:.3s}.duration-500{transition-duration:.5s}.duration-\[7000ms\]{transition-duration:7s}.backdrop-blur-\[2px\]{backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px)}.backdrop-blur-\[10px\]{backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}.-translate-y-1\/2{transform:translateY(-50%)}.hover\:-translate-y-0\.5:hover{transform:translateY(-.125rem)}.hover\:border-\[var\(--uast-primary\)\]:hover{border-color:var(--uast-primary)}.hover\:text-\[var\(--uast-primary\)\]:hover{color:var(--uast-primary)}.line-clamp-1{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.w-\[5px\]{width:5px}.h-\[5px\]{height:5px}.px-4{padding-left:1rem;padding-right:1rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.p-10{padding:2.5rem}.pt-4{padding-top:1rem}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.mt-2{margin-top:.5rem}.mt-auto{margin-top:auto}.inline-flex{display:inline-flex}.inline-block{display:inline-block}.w-fit{width:fit-content}.max-w-full{max-width:100%}.max-w-screen-2xl{max-width:1536px}.max-md\:px-4{padding-left:1rem;padding-right:1rem}@media (max-width:768px){.max-md\:justify-start{justify-content:flex-start}.max-md\:px-2{padding-left:.5rem;padding-right:.5rem}.max-md\:max-w-full{max-width:100%}.max-md\:basis-auto{flex-basis:auto}.max-md\:block{display:block}.max-md\:px-6{padding-left:1.5rem;padding-right:1.5rem}.max-md\:pb-6{padding-bottom:1.5rem}.max-md\:pt-20{padding-top:5rem}.max-md\:text-\[0\.8rem\]{font-size:.8rem}.max-md\:text-\[1\.5rem\]{font-size:1.5rem}}
/* News state/interaction layer kept intentionally for JS-driven UI */
.uast-news-section .uast-tab.active{background:var(--uast-primary);color:#fff;border-color:var(--uast-primary);box-shadow:0 5px 15px rgba(0,70,130,.3)}
.uast-news-section .uast-news-item:hover .uast-news-item-bg{transform:scale(1.1)}
.uast-news-section .uast-news-item-overlay{background:linear-gradient(135deg,rgba(0,0,0,.7),rgba(0,70,130,.5))}
.uast-news-section .uast-news-item:hover .uast-news-item-overlay{background:linear-gradient(135deg,rgba(0,70,130,.8),rgba(0,0,0,.6))}
.uast-news-section .uast-news-item.active{transform:translateX(-3px);box-shadow:0 8px 20px rgba(0,70,130,.25)}
.uast-news-section .uast-news-item.active .uast-news-badge{opacity:1;box-shadow:0 0 10px #fff;width:6px;height:6px}
.uast-news-section .uast-detail-slide.active{opacity:1;visibility:visible}
.uast-news-section .uast-news-detail:hover .uast-detail-bg{transform:scale(1.1)}
@media (max-width:768px){.uast-news-section #newsList.hide{opacity:0;pointer-events:none}.uast-news-section .uast-news-detail{position:fixed;top:0;left:-100%;right:auto;width:90%;height:100vh;border-radius:0 20px 20px 0;z-index:1000;transition:left .4s ease;box-shadow:5px 0 30px rgba(0,0,0,.2)}.uast-news-section .uast-news-detail.open{left:0}.uast-news-section .uast-mobile-close{display:block;position:absolute;top:1rem;right:1rem;width:2.5rem;height:2.5rem;background:rgba(255,255,255,.15);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.2);border-radius:9999px;color:#fff;font-size:1rem;cursor:pointer;z-index:1001;transition:all .3s ease}.uast-news-section .uast-mobile-close:hover{background:rgba(255,255,255,.25);transform:rotate(90deg)}}

/* ===== Additional utility compatibility layer for refined sections ===== */
.mb-12 { margin-bottom: 3rem; }
.max-w-2xl { max-width: 42rem; }
.text-white\/80 { color: rgba(255,255,255,0.8); }
.bg-white\/10 { background-color: rgba(255,255,255,0.10); }
.bg-white\/95 { background-color: rgba(255,255,255,0.95); }
.text-slate-800 { color: #1f2937; }
.text-slate-600 { color: #4b5563; }
.leading-8 { line-height: 2rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.items-start { align-items: flex-start; }
.shadow-lg { box-shadow: 0 18px 40px rgba(0,0,0,0.18); }
.pt-2 { padding-top: 0.5rem; }
.pt-6 { padding-top: 1.5rem; }
.space-y-5 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.25rem; }
.space-y-3 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.75rem; }



/* ===== v7 patch: cardless president, flatter groups, thinner footer, more native sections ===== */
.uast46-president-message-box {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

.uast46-president-message-box::before {
  display: none !important;
}

.uast46-president-photo img {
  box-shadow: none !important;
}

.uast46-groups-info-image img,
.uast46-groups-slide img {
  box-shadow: none !important;
}

.uast46-footer-bottom p {
  font-size: 0.78rem !important;
  font-weight: 300 !important;
  line-height: 1.75 !important;
  color: rgba(229, 238, 248, 0.62) !important;
}

.uast46-footer-bottom p:last-child {
  color: rgba(229, 238, 248, 0.54) !important;
}

.uast46-honors-section .uast46-band-inner,
.uast46-partners-section .uast46-band-inner,
.uast46-topstudents-section .uast46-band-inner {
  position: relative;
  z-index: 3;
}

.uast46-honors-header,
.uast46-partners-header {
  width: 100%;
}

.uast46-partners-section .uast46-partners-marquee {
  max-width: 100%;
}


.uast46-footer-main--selfhost {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.uast46-footer-main--selfhost .uast46-footer-col:last-child {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    padding: 20px;
}
.uast46-footer-main--selfhost .uast46-footer-col:last-child .uast46-footer-contact li {
    align-items: flex-start;
}
@media (max-width: 980px) {
    .uast46-footer-main--selfhost {
        grid-template-columns: 1fr;
    }
}


/* v18.8 global public menu toggle: visible on every public page except panel shell */
.uast-menu-icon.global-menu-toggle,
.uast-menu-icon.always-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
body.uast-drawer-open .uast-menu-icon.global-menu-toggle {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
@media (max-width: 767px) {
    .uast-menu-icon.global-menu-toggle { top: 1rem; right: 1rem; width: 2.75rem; height: 2.75rem; }
}

/* v18.9 public drawer behavior: homepage scroll reveal + attached drawer switcher */
.uast-menu-icon.always-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.uast-menu-icon.home-scroll-toggle.hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
}
.uast-menu-icon.home-scroll-toggle.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
body.uast-drawer-open .uast-menu-icon.global-menu-toggle {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.uast-drawer-switcher {
    position: fixed;
    top: 7rem;
    right: 24rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(12px);
    transition: opacity 0.24s ease, visibility 0.24s ease, transform 0.24s ease;
}
body.uast-drawer-open .uast-drawer-switcher,
.uast-drawer-switcher.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
}
.uast-drawer-switcher-btn {
    width: 5.6rem;
    min-height: 3.25rem;
    border: 1px solid rgba(255,255,255,0.18);
    border-right: 0;
    border-radius: 18px 0 0 18px;
    background: rgba(0, 70, 130, 0.92);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.38rem;
    font-weight: 800;
    font-size: 0.86rem;
    cursor: pointer;
    box-shadow: -10px 10px 28px rgba(15, 23, 42, 0.18);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.uast-drawer-switcher-btn:hover,
.uast-drawer-switcher-btn.active {
    background: var(--uast-primary-dark);
    transform: translateX(-3px);
    box-shadow: -14px 14px 32px rgba(15, 23, 42, 0.24);
}
.uast-drawer-switcher-btn i {
    font-size: 0.95rem;
}
@media (max-width: 767px) {
    .uast-menu-icon.global-menu-toggle { top: 1rem; right: 1rem; width: 2.75rem; height: 2.75rem; }
    .uast-drawer-switcher {
        top: 6rem;
        right: min(88vw, 24rem);
        gap: 0.35rem;
    }
    .uast-drawer-switcher-btn {
        width: 4.65rem;
        min-height: 3rem;
        font-size: 0.78rem;
        border-radius: 16px 0 0 16px;
        flex-direction: column;
        gap: 0.18rem;
    }
}
@media (max-width: 420px) {
    .uast-drawer-switcher-btn {
        width: 3.9rem;
        font-size: 0.72rem;
    }
}

/* v18.9.1: all platform brand/logo blocks navigate to homepage */
.uast-brand-home-link {
    color: inherit;
    text-decoration: none;
}
.uast-brand-home-link:hover {
    text-decoration: none;
}
.uast-brand-home-link:focus-visible {
    outline: 3px solid rgba(255,255,255,0.6);
    outline-offset: 4px;
    border-radius: 1rem;
}

/* ========== v22 dynamic homepage visual safety ========== */
.uast46-programs-section .uast46-band-inner,
.uast46-groups-section .uast46-band-inner,
.uast46-honors-section .uast46-band-inner,
.uast46-topstudents-section .uast46-band-inner,
.uast46-partners-section .uast46-band-inner {
    width: 100%;
    max-width: min(1600px, calc(100vw - 2rem));
    margin-inline: auto;
    padding-inline: clamp(1rem, 3vw, 2rem);
}
.uast46-card-thumb,
.uast46-president-photo,
.uast46-groups-info-image,
.uast46-groups-slider,
.uast46-honors-item,
.uast46-partner-logo { contain: paint; }
.uast46-card-thumb img,
.uast46-president-photo img,
.uast46-groups-info-image img,
.uast46-groups-slide img,
.uast46-honors-item img,
.uast46-topstudents-bubble img { object-fit: cover; object-position: center center; }
.uast46-president-photo { aspect-ratio: 16 / 10; overflow: hidden; border-radius: 24px; }
.uast46-groups-info-image { overflow: hidden !important; border-radius: 24px; }
.uast46-groups-slider { overflow: hidden !important; border-radius: 24px !important; isolation: isolate; }
.uast46-groups-slide { overflow: hidden; border-radius: 24px; background: rgba(255,255,255,0.06); }
.uast46-groups-slide-media { width: 100%; height: 100%; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.uast46-groups-slide-media--dual { grid-template-columns: minmax(0, 1fr) minmax(0, .78fr); gap: .9rem; padding: .9rem; }
.uast46-groups-slide-frame { min-width: 0; min-height: 0; width: 100%; height: 100%; display: block; overflow: hidden; border-radius: 20px; background: rgba(255,255,255,0.08); }
.uast46-groups-slide-frame img,
.uast46-groups-slide > img { width: 100%; height: 100%; display: block; }
.uast46-groups-secondary-image { filter: saturate(.98) contrast(1.02); }
.uast46-honors-slider { overflow: visible; }
.uast46-honors-stage { max-width: 100%; }
.uast46-honors-item { overflow: hidden; will-change: transform, opacity; }
.uast46-honors-item:not(.uast46-honors-pos-left-2):not(.uast46-honors-pos-left-1):not(.uast46-honors-pos-center):not(.uast46-honors-pos-right-1):not(.uast46-honors-pos-right-2) { opacity: 0; pointer-events: none; }
.uast46-topstudents-bubbles-wrap { isolation: isolate; }
.uast46-topstudents-bubble { width: 6.4rem; height: 6.4rem; z-index: 10; }
.uast46-topstudents-bubble-slot-1 { top: 20%; left: 10%; width: 9rem; height: 9rem; z-index: 30; }
.uast46-topstudents-bubble-slot-2 { top: 45%; left: 35%; width: 7.5rem; height: 7.5rem; z-index: 20; animation-delay: -2s; animation-duration: 14s; }
.uast46-topstudents-bubble-slot-3 { top: 15%; right: 15%; width: 7rem; height: 7rem; z-index: 18; animation-delay: -4s; animation-duration: 16s; }
.uast46-topstudents-bubble-slot-4 { bottom: 15%; left: 20%; width: 6.2rem; height: 6.2rem; z-index: 12; animation-delay: -6s; animation-duration: 18s; }
.uast46-topstudents-bubble-slot-5 { bottom: 25%; right: 25%; width: 5.5rem; height: 5.5rem; z-index: 12; animation-delay: -8s; animation-duration: 20s; }
.uast46-topstudents-bubble-slot-6 { top: 54%; right: 8%; width: 5.8rem; height: 5.8rem; z-index: 11; animation-delay: -10s; animation-duration: 17s; }
.uast46-topstudents-bubble-slot-7 { top: 4%; left: 42%; width: 5.2rem; height: 5.2rem; z-index: 9; animation-delay: -12s; animation-duration: 19s; }
.uast46-topstudents-bubble-slot-8 { bottom: 4%; right: 48%; width: 5rem; height: 5rem; z-index: 9; animation-delay: -14s; animation-duration: 21s; }
.uast46-topstudents-bubble-active { transform: scale(1.12); }
.uast46-topstudents-bubble-active img { object-position: center top; }
.uast46-partner-item { text-decoration: none; color: inherit; }
.uast46-partner-logo { overflow: hidden; }
.uast46-partner-logo img { width: auto; height: auto; max-width: 78%; max-height: 62px; object-fit: contain; object-position: center center; }
@media (max-width: 900px) {
    .uast46-programs-section .uast46-band-inner,
    .uast46-groups-section .uast46-band-inner,
    .uast46-honors-section .uast46-band-inner,
    .uast46-topstudents-section .uast46-band-inner,
    .uast46-partners-section .uast46-band-inner { max-width: 100%; padding-inline: 1rem; }
    .uast46-groups-slide-media--dual { grid-template-columns: 1fr; gap: .75rem; }
    .uast46-topstudents-bubble-slot-6,
    .uast46-topstudents-bubble-slot-7,
    .uast46-topstudents-bubble-slot-8 { display: none; }
}


/* ========== PATCH v23: president text safety, groups single-side-image, neutral top-student glow ========== */
.uast46-president-content {
    min-width: 0;
}

.uast46-president-text-scroll {
    max-height: clamp(13rem, 28vw, 24rem);
    overflow-y: auto;
    overflow-x: hidden;
    padding-left: .65rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(var(--uast-primary-rgb), .28) transparent;
    overscroll-behavior: contain;
}

.uast46-president-text-scroll::-webkit-scrollbar {
    width: 6px;
}

.uast46-president-text-scroll::-webkit-scrollbar-thumb {
    background: rgba(var(--uast-primary-rgb), .24);
    border-radius: 999px;
}

.uast46-president-text-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.uast46-president-content p:last-child {
    margin-bottom: 0;
}

.uast46-groups-slider .uast46-groups-slide-media,
.uast46-groups-slider .uast46-groups-slide-frame {
    width: 100%;
    height: 100%;
    display: block;
}

.uast46-groups-slider .uast46-groups-slide-media--dual {
    grid-template-columns: 1fr !important;
    padding: 0 !important;
    gap: 0 !important;
}

.uast46-groups-slider .uast46-groups-secondary-image,
.uast46-groups-slider .uast46-groups-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.uast46-topstudents-bubble-glow,
.uast46-topstudents-bubble:hover .uast46-topstudents-bubble-glow {
    background: transparent !important;
    background-color: transparent !important;
    opacity: 0 !important;
    filter: none !important;
    box-shadow: none !important;
}

@media (max-width: 768px) {
    .uast46-president-text-scroll {
        max-height: clamp(12rem, 46vh, 20rem);
        padding-left: .45rem;
    }
}

@media (max-width: 480px) {
    .uast46-president-text-scroll {
        max-height: clamp(11rem, 42vh, 18rem);
    }
}

/* ========== PATCH v24: fixed-height rich president message ========== */
.uast46-president-message-box {
    align-items: stretch !important;
}

.uast46-president-photo {
    min-height: clamp(28rem, 70vh, 44rem);
}

.uast46-president-content {
    height: clamp(28rem, 70vh, 44rem);
    min-height: clamp(28rem, 70vh, 44rem);
    display: flex;
    flex-direction: column;
}

.uast46-president-text-scroll {
    flex: 1 1 auto;
    min-height: 0;
    height: auto;
    max-height: none;
    padding: 1rem 1.05rem 1rem .65rem;
    border: 1px solid rgba(var(--uast-primary-rgb), .10);
    border-radius: 20px;
    background: rgba(255, 255, 255, .58);
}

.uast46-president-text-scroll :where(p, ul, ol, blockquote, table, h2, h3, h4, h5) {
    max-width: 100%;
}

.uast46-president-text-scroll :where(ul, ol) {
    padding-right: 1.25rem;
    margin: .5rem 0 1rem;
    line-height: 2;
    color: #4b5563;
}

.uast46-president-text-scroll blockquote {
    margin: .75rem 0 1rem;
    padding: .8rem 1rem;
    border-right: 3px solid var(--uast-primary);
    background: rgba(var(--uast-primary-rgb), .05);
    border-radius: 14px;
    color: #334155;
}

.uast46-president-text-scroll table {
    width: 100%;
    border-collapse: collapse;
    margin: .75rem 0 1rem;
    font-size: .9rem;
}

.uast46-president-text-scroll :where(td, th) {
    border: 1px solid rgba(148, 163, 184, .32);
    padding: .55rem .65rem;
    text-align: right;
}

@media (max-width: 768px) {
    .uast46-president-photo {
        min-height: 0;
    }

    .uast46-president-content {
        height: clamp(24rem, 56svh, 34rem);
        min-height: clamp(24rem, 56svh, 34rem);
    }

    .uast46-president-text-scroll {
        max-height: none;
        padding: .9rem .95rem .9rem .5rem;
        border-radius: 18px;
    }
}

@media (max-width: 480px) {
    .uast46-president-content {
        height: clamp(22rem, 60svh, 32rem);
        min-height: clamp(22rem, 60svh, 32rem);
    }

    .uast46-president-text-scroll {
        padding: .85rem .9rem .85rem .45rem;
        border-radius: 16px;
    }
}

/* ========== PATCH v25: neutral president badge/borderless scroll + rich groups text/secondary image ========== */
.uast46-president-badge {
    background: transparent !important;
    background-color: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding-inline: 0 !important;
    color: inherit !important;
}

.uast46-president-text-scroll {
    border: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

.uast46-groups-description {
    direction: rtl;
    overflow-wrap: anywhere;
}

.uast46-groups-description :where(p, ul, ol, blockquote, h2, h3, h4, h5) {
    color: rgba(255, 255, 255, .82);
    line-height: 2;
    margin: 0 0 .85rem;
}

.uast46-groups-description :where(p:last-child, ul:last-child, ol:last-child, blockquote:last-child) {
    margin-bottom: 0;
}

.uast46-groups-description :where(ul, ol) {
    padding-right: 1.25rem;
}

.uast46-groups-description a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.uast46-groups-slider .uast46-groups-slide-media,
.uast46-groups-slider .uast46-groups-slide-frame,
.uast46-groups-slider .uast46-groups-slide-frame--secondary {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    min-width: 0;
    min-height: 0;
}

.uast46-groups-slider .uast46-groups-secondary-image {
    position: static !important;
    inset: auto !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    object-fit: cover !important;
    object-position: center center !important;
}

.homepage-groups-editor-frame {
    margin-top: .85rem;
}

/* v26 | Top students: true circular bubbles, no blue backing, readable rich text */
.uast46-topstudents-section .uast46-topstudents-bg-blur,
.uast46-topstudents-section .uast46-topstudents-bubble-glow,
.uast46-topstudents-section .uast46-topstudents-bubble:hover .uast46-topstudents-bubble-glow {
    display: none !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    filter: none !important;
    opacity: 0 !important;
}

.uast46-topstudents-section .uast46-topstudents-bubble {
    display: block;
    border-radius: 9999px;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    overflow: visible;
    -webkit-tap-highlight-color: transparent;
}

.uast46-topstudents-section .uast46-topstudents-bubble-photo {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 9999px;
    overflow: hidden;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
    border: 3px solid rgba(255, 255, 255, 0.72);
    isolation: isolate;
}

.uast46-topstudents-section .uast46-topstudents-bubble-photo img,
.uast46-topstudents-section .uast46-topstudents-bubble img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none;
    border: 0 !important;
    border-radius: 0 !important;
    object-fit: cover;
    object-position: center top;
    box-shadow: none !important;
    background: transparent !important;
}

.uast46-topstudents-section .uast46-topstudents-bubble:hover .uast46-topstudents-bubble-photo,
.uast46-topstudents-section .uast46-topstudents-bubble-active .uast46-topstudents-bubble-photo {
    border-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 22px 42px rgba(0, 0, 0, 0.22);
}

.uast46-topstudents-section .uast46-topstudents-bubble-active {
    filter: none !important;
}

.uast46-topstudents-section.uast46-band--blue .uast46-topstudents-content h2,
.uast46-topstudents-section.uast46-band--blue .uast46-topstudents-content h3,
.uast46-topstudents-section.uast46-band--blue .uast46-topstudents-rich-text,
.uast46-topstudents-section.uast46-band--blue .uast46-topstudents-rich-text p,
.uast46-topstudents-section.uast46-band--blue .uast46-topstudents-rich-text li {
    color: rgba(255, 255, 255, 0.94) !important;
}

.uast46-topstudents-rich-text {
    max-width: 36rem;
    line-height: 2;
    font-size: 0.95rem;
    margin-bottom: 1.4rem;
}

.uast46-topstudents-rich-text p,
.uast46-topstudents-rich-text ul,
.uast46-topstudents-rich-text ol {
    margin: 0 0 0.75rem;
}

.uast46-topstudents-rich-text ul,
.uast46-topstudents-rich-text ol {
    padding-right: 1.25rem;
}

.uast46-topstudents-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.3rem;
    padding: 0.45rem 1.05rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: var(--uast-white);
    border: 1px solid rgba(255, 255, 255, 0.22);
    text-decoration: none;
    font-size: 0.85rem;
    transition: transform 0.25s ease, background 0.25s ease;
}

.uast46-topstudents-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.uast46-topstudents-link[hidden] {
    display: none !important;
}


/* ===== v31: wave system removed; restore simple section boundaries ===== */
.uast-special-notices {
  background: #f5f5f5;
}


/* ===== v43: Websima-inspired multi-layer section waves =====
   موج‌ها فقط داخل خود سکشن‌های آبی هستند؛ سه‌لایه، بدون گرادیانت، بدون torn paper، بدون اثر روی هیرو/اسلایدر/منو. */
.uast46-soft-wave-section {
  --uast46-wave-top-size: clamp(38px, 4.1vw, 66px);
  --uast46-wave-bottom-size: clamp(42px, 4.5vw, 72px);
  --uast46-wave-tile: 960px;
  position: relative;
  isolation: isolate;
  overflow: visible !important;
  margin-block: 0;
  z-index: 32;
}

/* سکشن‌های موج‌دار آبی کاملاً solid می‌شوند تا گرادیانت، سایه یا لکه کنار موج دیده نشود. */
.uast46-band--blue.uast46-soft-wave-section {
  background: var(--uast-band-blue) !important;
  background-image: none !important;
}

.uast46-soft-wave-section::before,
.uast46-soft-wave-section::after {
  content: none !important;
}

.uast46-soft-wave-section > .uast46-band-inner,
.uast46-soft-wave-section > .uast46-topstudents-grid,
.uast46-soft-wave-section > .uast46-groups-wrapper,
.uast46-soft-wave-section > .uast46-programs-head {
  position: relative;
  z-index: 4;
}

.uast46-wave-stack {
  position: absolute;
  inset-inline: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 2;
}

.uast46-wave-stack--top {
  height: var(--uast46-wave-top-size);
  top: calc(-1 * var(--uast46-wave-top-size) + 1px);
}

.uast46-wave-stack--bottom {
  height: var(--uast46-wave-bottom-size);
  bottom: calc(-1 * var(--uast46-wave-bottom-size) + 1px);
}

.uast46-wave-stack__layer {
  position: absolute;
  inset-inline: 0;
  height: 100%;
  background: var(--uast-band-blue);
  background-image: none !important;
  -webkit-mask-repeat: repeat-x;
  mask-repeat: repeat-x;
  -webkit-mask-size: var(--uast46-wave-tile) 100%;
  mask-size: var(--uast46-wave-tile) 100%;
  will-change: -webkit-mask-position, mask-position;
}

/* top wave: لایه اصلی پررنگ و لایه‌های عقب کمی بالاتر و شفاف‌تر */
.uast46-wave-stack--top .uast46-wave-stack__layer {
  top: 0;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 960 100' preserveAspectRatio='none'%3E%3Cpath fill='%23000' d='M0 100L0 55C80 30 160 30 240 55C320 80 400 80 480 55C560 30 640 30 720 55C800 80 880 80 960 55L960 100Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 960 100' preserveAspectRatio='none'%3E%3Cpath fill='%23000' d='M0 100L0 55C80 30 160 30 240 55C320 80 400 80 480 55C560 30 640 30 720 55C800 80 880 80 960 55L960 100Z'/%3E%3C/svg%3E");
}

.uast46-wave-stack--bottom .uast46-wave-stack__layer {
  top: 0;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 960 100' preserveAspectRatio='none'%3E%3Cpath fill='%23000' d='M0 0L0 45C80 70 160 70 240 45C320 20 400 20 480 45C560 70 640 70 720 45C800 20 880 20 960 45L960 0Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 960 100' preserveAspectRatio='none'%3E%3Cpath fill='%23000' d='M0 0L0 45C80 70 160 70 240 45C320 20 400 20 480 45C560 70 640 70 720 45C800 20 880 20 960 45L960 0Z'/%3E%3C/svg%3E");
}

/* لایه‌ها: عمق چندلایه شبیه وب‌سیما، اما بدون گرادیانت. */
.uast46-wave-stack__layer--one {
  opacity: 1;
}

.uast46-wave-stack__layer--two {
  opacity: .48;
}

.uast46-wave-stack__layer--three {
  opacity: .24;
}

.uast46-wave-stack--top .uast46-wave-stack__layer--one {
  animation: uast46MultiWaveTop 13s linear infinite;
}

.uast46-wave-stack--top .uast46-wave-stack__layer--two {
  top: -8px;
  animation: uast46MultiWaveTopReverse 18s linear infinite;
}

.uast46-wave-stack--top .uast46-wave-stack__layer--three {
  top: -15px;
  animation: uast46MultiWaveTop 24s linear infinite;
}

.uast46-wave-stack--bottom .uast46-wave-stack__layer--one {
  animation: uast46MultiWaveBottom 15s linear infinite;
}

.uast46-wave-stack--bottom .uast46-wave-stack__layer--two {
  top: 8px;
  animation: uast46MultiWaveBottomReverse 21s linear infinite;
}

.uast46-wave-stack--bottom .uast46-wave-stack__layer--three {
  top: 15px;
  animation: uast46MultiWaveBottom 28s linear infinite;
}

/* سکشن بعدی موج پایین را نپوشاند. */
.uast46-soft-wave-section + .uast46-band,
.uast46-soft-wave-section + section {
  position: relative;
  z-index: 20;
}

@keyframes uast46MultiWaveTop {
  from {
    -webkit-mask-position: 0 0;
    mask-position: 0 0;
  }
  to {
    -webkit-mask-position: var(--uast46-wave-tile) 0;
    mask-position: var(--uast46-wave-tile) 0;
  }
}

@keyframes uast46MultiWaveTopReverse {
  from {
    -webkit-mask-position: var(--uast46-wave-tile) 0;
    mask-position: var(--uast46-wave-tile) 0;
  }
  to {
    -webkit-mask-position: 0 0;
    mask-position: 0 0;
  }
}

@keyframes uast46MultiWaveBottom {
  from {
    -webkit-mask-position: var(--uast46-wave-tile) 0;
    mask-position: var(--uast46-wave-tile) 0;
  }
  to {
    -webkit-mask-position: 0 0;
    mask-position: 0 0;
  }
}

@keyframes uast46MultiWaveBottomReverse {
  from {
    -webkit-mask-position: 0 0;
    mask-position: 0 0;
  }
  to {
    -webkit-mask-position: var(--uast46-wave-tile) 0;
    mask-position: var(--uast46-wave-tile) 0;
  }
}

@media (max-width: 768px) {
  .uast46-soft-wave-section {
    --uast46-wave-top-size: 30px;
    --uast46-wave-bottom-size: 34px;
    --uast46-wave-tile: 720px;
  }

  .uast46-wave-stack__layer--two { opacity: .38; }
  .uast46-wave-stack__layer--three { opacity: .18; }

  .uast46-wave-stack--top .uast46-wave-stack__layer--two { top: -5px; }
  .uast46-wave-stack--top .uast46-wave-stack__layer--three { top: -10px; }

  .uast46-wave-stack--bottom .uast46-wave-stack__layer--two { top: 5px; }
  .uast46-wave-stack--bottom .uast46-wave-stack__layer--three { top: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .uast46-wave-stack__layer {
    animation: none !important;
  }
}


/* ===== v48: remove inner scrolls from news detail and president message =====
   متن‌ها دیگر داخل باکس جدا اسکرول نمی‌خورند؛ ارتفاع سکشن با محتوا رشد می‌کند. */

/* --- News detail: no scroll under uast-detail-overlay --- */
.uast-news-detail {
  overflow: hidden;
  height: auto !important;
}

.uast-detail-slide {
  overflow: visible !important;
}

.uast-detail-slide:not(.active) {
  display: none !important;
}

.uast-detail-slide.active {
  position: relative !important;
  min-height: 500px;
  overflow: visible !important;
}

.uast-detail-content {
  min-height: 500px;
  height: auto !important;
  overflow: visible !important;
  overflow-y: visible !important;
}

.uast-detail-paragraphs {
  flex: 0 1 auto !important;
}

.uast-detail-date {
  margin-top: 1rem !important;
}

/* Mobile news detail should also avoid internal scrolling. */
@media (max-width: 768px) {
  .uast-news-list.hide {
    display: none !important;
  }

  .uast-news-detail {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    border-radius: 20px !important;
    box-shadow: 0 18px 36px rgba(0, 0, 0, .16) !important;
    transition: none !important;
  }

  .uast-news-detail.open {
    left: auto !important;
  }

  .uast-detail-slide.active {
    min-height: 460px;
  }

  .uast-detail-content {
    min-height: 460px;
    height: auto !important;
    overflow: visible !important;
    overflow-y: visible !important;
  }
}

/* --- President message: no internal scroll box --- */
.uast46-president-content {
  height: auto !important;
  min-height: 0 !important;
}

.uast46-president-text-scroll {
  max-height: none !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
  overflow-y: visible !important;
  overflow-x: visible !important;
  overscroll-behavior: auto !important;
  scrollbar-width: none !important;
  padding-left: 0 !important;
}

.uast46-president-text-scroll::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

@media (max-width: 768px) {
  .uast46-president-content {
    height: auto !important;
    min-height: 0 !important;
  }

  .uast46-president-text-scroll {
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
    padding-left: 0 !important;
  }
}

@media (max-width: 480px) {
  .uast46-president-content {
    height: auto !important;
    min-height: 0 !important;
  }
}


/* ===== v50: restore news hover/overlay + keep no-inner-scroll + restore mobile behavior =====
   افکت جذاب hover و overlay خبر حفظ می‌شود؛ اسکرول داخلی دسکتاپ حذف می‌ماند؛ موبایل به رفتار قبلی پنل جزئیات برمی‌گردد. */

/* closeDetail فقط در دسکتاپ دیده نشود؛ در موبایل برای پنل جزئیات لازم است. */
#closeDetail,
.uast-mobile-close {
  display: none !important;
}

/* دسکتاپ: کارت جزئیات خبر بدون اسکرول داخلی، اما با تصویر و overlay کامل. */
.uast-news-detail {
  position: relative;
  overflow: hidden !important;
  height: auto !important;
  min-height: 500px;
}

/* inactiveها فضا نگیرند؛ active در جریان صفحه باشد تا ارتفاع با متن رشد کند. */
.uast-detail-slide {
  display: none !important;
  position: relative !important;
  inset: auto !important;
  min-height: 500px;
  overflow: hidden !important;
}

.uast-detail-slide.active {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* عکس کل کارت را می‌گیرد و افکت hover قبلی برمی‌گردد. */
.uast-detail-bg {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  background-size: cover !important;
  background-position: center center !important;
  transition: transform 7s ease !important;
  transform: scale(1) !important;
  transform-origin: center center !important;
  will-change: transform;
}

.uast-news-detail:hover .uast-detail-bg {
  transform: scale(1.1) !important;
}

/* overlay جذاب قبلی حفظ می‌شود، فقط روی کل تصویر ثابت می‌ماند. */
.uast-detail-overlay {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(135deg, rgba(0,0,0,0.85) 0%, rgba(0,70,130,0.45) 100%) !important;
  backdrop-filter: blur(2px) !important;
  -webkit-backdrop-filter: blur(2px) !important;
  transform: none !important;
}

/* متن اسکرول داخلی ندارد، اما روی overlay درست می‌نشیند. */
.uast-detail-content {
  position: relative !important;
  z-index: 2 !important;
  min-height: 500px;
  height: auto !important;
  overflow: visible !important;
  overflow-y: visible !important;
  display: flex;
  flex-direction: column;
}

.uast-detail-paragraphs {
  flex: 0 1 auto !important;
}

.uast-detail-date {
  margin-top: 1rem !important;
}

/* موبایل: رفتار قبلی خوب بود؛ پنل جزئیات دوباره از کنار باز شود و closeDetail دیده شود. */
@media (max-width: 768px) {
  .uast-news-list {
    max-width: 100%;
    flex: auto;
    transition: opacity 0.3s ease;
  }

  .uast-news-list.hide {
    display: block !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  .uast-news-detail {
    position: fixed !important;
    top: 0 !important;
    left: -100% !important;
    right: auto !important;
    width: 90% !important;
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 100vh !important;
    border-radius: 0 20px 20px 0 !important;
    z-index: 1000 !important;
    transition: left 0.4s ease !important;
    box-shadow: 5px 0 30px rgba(0,0,0,0.2) !important;
    overflow: hidden !important;
  }

  .uast-news-detail.open {
    left: 0 !important;
  }

  #closeDetail,
  .uast-mobile-close {
    display: flex !important;
  }

  .uast-detail-slide {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    min-height: 100vh !important;
    height: 100vh !important;
    height: 100dvh !important;
    opacity: 0 !important;
    visibility: hidden !important;
    overflow: hidden !important;
  }

  .uast-detail-slide.active {
    opacity: 1 !important;
    visibility: visible !important;
  }

  .uast-detail-bg {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    transform: scale(1) !important;
  }

  .uast-news-detail:hover .uast-detail-bg {
    transform: scale(1.04) !important;
  }

  .uast-detail-overlay {
    position: absolute !important;
    inset: 0 !important;
  }

  .uast-detail-content {
    min-height: 100vh !important;
    height: 100vh !important;
    height: 100dvh !important;
    padding: 5rem 1.5rem 1.5rem 1.5rem !important;
    overflow: visible !important;
    overflow-y: visible !important;
  }
}


/* ===== v51: robust news detail background coverage =====
   اگر نسبت عکس با قالب یکی نباشد یا متن بلند شود، پایین کارت سفید نمی‌ماند و hover از محدوده بیرون نمی‌زند. */

/* خود کارت و اسلاید همیشه یک رنگ پشتیبان تیره دارند تا هیچ سفیدی دیده نشود. */
.uast-news-detail,
.uast-detail-slide,
.uast-detail-slide.active {
  background: #08243d !important;
  overflow: hidden !important;
}

/* وقتی متن بلندتر از ارتفاع پایه می‌شود، parent هم به‌اندازه محتوا رشد کند. */
.uast-detail-slide.active {
  height: auto !important;
}

/* تصویر پس‌زمینه همیشه کل ناحیه را می‌پوشاند و از کارت بیرون نمی‌زند. */
.uast-detail-bg {
  position: absolute !important;
  inset: -1px !important;
  width: auto !important;
  height: auto !important;
  min-width: calc(100% + 2px) !important;
  min-height: calc(100% + 2px) !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  transform: scale(1.001) !important;
  transform-origin: center center !important;
  transition: transform 7s ease !important;
  will-change: transform;
}

/* hover جذاب حفظ شود، اما داخل کارت clip می‌شود. */
.uast-news-detail:hover .uast-detail-bg {
  transform: scale(1.08) !important;
}

/* overlay هم کمی از لبه بیرون‌تر می‌رود تا در هیچ نسبتی خط روشن یا سفیدی پایین دیده نشود. */
.uast-detail-overlay {
  inset: -1px !important;
  width: auto !important;
  height: auto !important;
  min-height: calc(100% + 2px) !important;
}

/* متن روی زمینه می‌نشیند و ارتفاع کارت را تعیین می‌کند. */
.uast-detail-content {
  position: relative !important;
  z-index: 2 !important;
  height: auto !important;
  min-height: 500px !important;
  overflow: visible !important;
}

/* اگر متن خیلی کوتاه بود، کارت همچنان ارتفاع قبلی را حفظ کند؛ اگر بلند بود، رشد کند. */
.uast-detail-paragraphs {
  flex: 0 0 auto !important;
}

/* موبایل: همان رفتار پنل قبلی بماند، فقط پوشش تصویر کامل‌تر شود. */
@media (max-width: 768px) {
  .uast-news-detail,
  .uast-news-detail.open,
  .uast-detail-slide,
  .uast-detail-slide.active {
    overflow: hidden !important;
    background: #08243d !important;
  }

  .uast-detail-slide,
  .uast-detail-slide.active {
    height: 100vh !important;
    height: 100dvh !important;
  }

  .uast-detail-bg {
    inset: -1px !important;
    min-width: calc(100% + 2px) !important;
    min-height: calc(100% + 2px) !important;
    background-size: cover !important;
    background-position: center center !important;
  }

  .uast-news-detail:hover .uast-detail-bg {
    transform: scale(1.035) !important;
  }
}

@layer components {
    .uast-hero-scroll-spacer {
        height: 85vh;
        pointer-events: none;
    }

    .uast-after-hero-content {
        position: relative;
        z-index: 5;
        background: var(--uast-bg, #f8fafc);
        transform: translateZ(0);
    }
}
