/* Redesign extension stylesheet - Premium NexusMedia Theme */

:root {
    --bg-deep: #0a0a0f;
    --surface: #12121a;
    --surface-hover: #1a1a25;
    --surface-active: #22222f;
    --primary: #6366f1;
    --primary-hover: #818cf8;
    --accent: #8b5cf6;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --text-muted: #6b7280;
    --glass: rgba(18, 18, 26, 0.8);
    --glass-border: rgba(255, 255, 255, 0.05);
}

/* --- Premium Foundations --- */
.premium-bg {
    background-color: var(--bg-deep) !important;
    color: #f3f4f6 !important;
}

.ambient-glow {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: -1;
    background: radial-gradient(ellipse at 20% 50%, rgba(99, 102, 241, 0.12) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 20%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
                radial-gradient(ellipse at 50% 80%, rgba(99, 102, 241, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.glass-card-new {
    background: var(--glass) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid var(--glass-border) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.glass-card-new:hover {
    border-color: rgba(99, 102, 241, 0.3) !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.1) !important;
}

/* Definitive Header Fix */
html, body {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.site-header {
    top: 0 !important;
    position: fixed !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    transform: none !important;
}

.top-strip {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.premium-bg {
    padding-top: 122px !important;
}

.videos-page-hero,
.video-hub-hero {
    margin-top: 0 !important;
}

/* Utilities */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.gap-8 { gap: 2rem; }
.gap-4 { gap: 1rem; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.justify-end { justify-content: flex-end; }
.justify-between { justify-content: space-between; }
.items-center { align-items: center; }
.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.object-cover { object-fit: cover; }
.overflow-hidden { overflow: hidden; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-\[40px\] { border-radius: 40px; }
.aspect-\[16\/9\] { aspect-ratio: 16 / 9; }
.aspect-video { aspect-ratio: 16 / 9; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-12 { margin-bottom: 3rem; }
.text-white { color: #ffffff; }
.text-primary { color: var(--primary); }
.text-muted { color: var(--text-muted); }
.text-xl { font-size: 1.25rem; }
.text-4xl { font-size: 2.25rem; }
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }
.z-10 { z-index: 10; }

.spotlight-new { position: relative; overflow: hidden; }
.spotlight-new::before {
    content: ''; position: absolute; top: var(--y, 50%); left: var(--x, 50%);
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    transform: translate(-50%, -50%); pointer-events: none; opacity: 0; transition: opacity 0.3s;
}
.spotlight-new:hover::before { opacity: 1; }

/* Animations */
@keyframes premiumFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
.animate-float { animation: premiumFloat 6s ease-in-out infinite; }

@keyframes premiumPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.7; } }
.animate-pulse-slow { animation: premiumPulse 4s ease-in-out infinite; }

@keyframes badgePulseNew { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.2); } }
.badge-pulse-new { animation: badgePulseNew 2s infinite; }

@keyframes waveNew { 0%, 100% { height: 20%; } 50% { height: 100%; } }
.waveform-bar-new { animation: waveNew 1.2s ease-in-out infinite; }

/* --- UI Overrides for Specific Components --- */

/* Hero Modernization */
.landing-hero-wrapper.premium {
    background: var(--bg-deep) !important;
}

.premium-title {
    background: linear-gradient(to right, #ffffff, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
    font-weight: 900;
}

/* Sidebar & Tabs */
.premium-sidebar-item { transition: all 0.2s; border-radius: 12px; margin-bottom: 4px; }
.premium-sidebar-item:hover, .premium-sidebar-item.active { 
    background: rgba(99, 102, 241, 0.1) !important; 
    color: var(--primary) !important;
}

/* Player Elements */
.premium-player-btn {
    width: 56px; height: 56px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--surface); color: var(--text-muted);
    transition: all 0.3s;
}
.premium-player-btn:hover { background: var(--surface-hover); color: #fff; }
.premium-player-btn.play {
    width: 72px; height: 72px;
    background: var(--primary); color: #fff;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
}
.premium-player-btn.play:hover { background: var(--primary-hover); transform: scale(1.05); }

/* Karaoke Lines */
.karaoke-line-new { 
    padding: 16px; border-radius: 16px; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 12px; cursor: pointer; border: 1px solid transparent;
}
.karaoke-line-new:hover { background: rgba(255, 255, 255, 0.03); }
.karaoke-line-new.active { 
    background: rgba(99, 102, 241, 0.08) !important; 
    border-color: rgba(99, 102, 241, 0.2) !important;
    transform: scale(1.02);
}
.karaoke-line-new .primary-text { font-size: 1.1rem; color: var(--text-muted); transition: color 0.3s; }
.karaoke-line-new.active .primary-text { color: #fff; font-weight: 600; }
.karaoke-line-new .secondary-text { font-size: 0.95rem; color: #4b5563; margin-top: 6px; }
.karaoke-line-new.active .secondary-text { color: var(--text-muted); }

/* --- End Premium NexusMedia Theme --- */


    position: relative;
    width: 100%;
    height: clamp(160px, 20vw, 240px);
    overflow: hidden;
    background: #000;
}

.ig-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    z-index: 1;
}

/* --- Advanced Animations & Effects --- */
@keyframes ambientPulse { 
    0%, 100% { opacity: 0.8; transform: scale(1); } 
    50% { opacity: 0.4; transform: scale(1.1); } 
}

@keyframes float { 
    0%, 100% { transform: translateY(0px) rotate(0deg); } 
    50% { transform: translateY(-30px) rotate(5deg); } 
}

@keyframes wave { 
    0%, 100% { height: 30%; } 
    50% { height: 100%; } 
}

@keyframes staggerIn { 
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.float-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    animation: float 8s ease-in-out infinite;
    opacity: 0.4;
}

.stagger-in > * {
    opacity: 0;
    transform: translateY(20px);
}

.stagger-in.is-visible > * {
    animation: staggerIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.stagger-in > *:nth-child(1) { animation-delay: 0.1s; }
.stagger-in > *:nth-child(2) { animation-delay: 0.2s; }
.stagger-in > *:nth-child(3) { animation-delay: 0.3s; }
.stagger-in > *:nth-child(4) { animation-delay: 0.4s; }
.stagger-in > *:nth-child(5) { animation-delay: 0.5s; }
.stagger-in > *:nth-child(6) { animation-delay: 0.6s; }

.waveform-anim {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 24px;
}

.waveform-anim span {
    width: 3px;
    background: var(--primary);
    border-radius: 99px;
    animation: wave 1s ease-in-out infinite;
}

.typing-cursor::after {
    content: '|';
    animation: blink 1s infinite;
    color: var(--primary);
    margin-left: 4px;
}

.karaoke-line.active {
    background: rgba(99, 102, 241, 0.1) !important;
    transform: scale(1.03);
    border-left: 4px solid var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.ig-slide.active {
    opacity: 1;
    z-index: 2;
}

.ig-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ig-slider-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.ig-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.2s ease;
}

.ig-dot.active {
    background: #FF9F1C;
    transform: scale(1.3);
    box-shadow: 0 0 8px rgba(255, 159, 28, 0.6);
}

@media (max-width: 900px) {
    .ig-slider-wrap { height: 180px; }
}

@media (max-width: 640px) {
    .ig-slider-wrap { height: 140px; }
}

/* --- Global Spacing Fix (Remove gap under header) --- */
body, html {
    padding-top: 85px !important; /* Forced smaller fallback */
}

/* --- Premium Header Styling --- */
.site-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    background: rgba(10, 10, 15, 0.7) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.top-strip {
    background: rgba(255, 255, 255, 0.03) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    padding: 4px 0 !important;
}

.main-nav-wrap {
    padding: 8px 0 !important;
}

.main-nav a {
    color: var(--text-muted) !important;
    font-weight: 600;
    transition: all 0.3s ease;
}

.main-nav a:hover, .main-nav a.active {
    color: var(--primary) !important;
    text-shadow: 0 0 15px rgba(99, 102, 241, 0.5);
}

.brand-text strong {
    background: linear-gradient(135deg, #fff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.top-strip {
    padding: 2px 0 !important; /* Minimized */
    font-size: 12px !important;
}

.main-nav-wrap {
    padding: 4px 0 !important; /* Minimized */
}

.brand img {
    width: 48px !important; /* Smaller logo */
    height: 48px !important;
}

.ig-slider-wrap {
    margin-top: 0 !important;
}

/* --- Hero Video Background --- */
.landing-hero-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    z-index: 1;
    isolation: isolate; /* Create a clean stacking context */
    background: transparent !important;
}

.hero-video-bg {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    z-index: -2 !important; /* Move deep into background */
    opacity: 0.75 !important;
    pointer-events: none !important;
    display: block !important;
}

.hero-banner-image {
    display: none !important;
}

.hero-banner-overlay {
    position: absolute;
    inset: 0;
    z-index: -1; /* Above video, below content */
    background: rgba(15, 23, 42, 0.4) !important;
    opacity: 1 !important;
}

.landing-hero {
    position: relative;
    overflow: hidden;
    background: transparent !important;
    z-index: 2 !important; /* Force content to front */
}

.landing-hero.gradient-hero {
    background: transparent !important;
}

.landing-media {
    position: relative;
    z-index: 2;
    background: transparent !important;
    padding-top: 20px !important; /* Move it up slightly or keep padding */
}

.landing-media .section-title,
.landing-media .section-head h2 {
    color: #FF9F1C !important; /* Mango Title */
}

.landing-media .section-subtitle,
.landing-media .section-head p {
    color: #ffffff !important; /* White subtitle */
    opacity: 0.9 !important;
}

.hero-content {
    position: relative;
    z-index: 3;
}

@media (max-width: 768px) {
    .landing-hero {
        min-height: 400px !important;
        display: flex;
        align-items: center;
        padding-top: 60px !important;
        padding-bottom: 40px !important;
    }
}

/* --- Compact Search Card (Podcasts) --- */
.compact-search-card {
    padding: 8px 12px !important; /* Smaller padding */
    margin-bottom: 20px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 16px !important;
}

.podcasts-search-flex {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important; /* Align to start */
    gap: 12px !important;
    flex-wrap: nowrap !important; /* Keep in one line on desktop */
}

.search-input-wrap {
    position: relative !important;
    flex: 0 1 320px !important; /* Fixed smaller width */
}

.search-input-wrap input {
    width: 100% !important;
    padding: 8px 40px 8px 12px !important;
    background: rgba(0, 0, 0, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 10px !important;
    color: #fff !important;
    font-size: 13px !important;
}

.search-submit-btn {
    position: absolute !important;
    right: 6px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: none !important;
    border: none !important;
    color: #FF9F1C !important;
    cursor: pointer;
    font-size: 14px;
    padding: 4px;
}

.tier-info-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 6px 12px !important;
    background: rgba(255, 159, 28, 0.15) !important;
    border: 1px solid rgba(255, 159, 28, 0.3) !important;
    border-radius: 999px !important;
    color: #FF9F1C !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
}

@media (max-width: 768px) {
    .podcasts-search-flex {
        flex-wrap: wrap !important;
    }
    .search-input-wrap {
        flex: 1 1 100% !important;
        max-width: 100% !important;
    }
    body, html {
        padding-top: 100px !important; /* More space on mobile for toggle */
    }
}

.media-page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(125deg, rgba(255, 255, 255, 0.82), rgba(247, 239, 224, 0.86)),
        var(--media-hero-image) center/cover no-repeat;
    opacity: 0.95;
}

.media-page-hero .hero-content {
    position: relative;
    z-index: 1;
}

.media-page-hero .hero-content h1 {
    margin-bottom: 8px;
    font-size: clamp(28px, 3vw, 44px);
}

.media-page-hero .hero-content p {
    max-width: 660px;
    font-size: clamp(14px, 1.8vw, 20px);
}

.books-page-hero { --media-hero-image: url('/assets/images/headers/books-hero.svg'); }
.podcasts-page-hero { --media-hero-image: url('/assets/images/headers/podcasts-hero-new.png'); }
.videos-page-hero { --media-hero-image: url('/assets/images/headers/videos-hero.svg'); }

/* Books list tuning */
.books-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}

.books-grid .card {
    grid-column: auto;
}

.books-grid .card-cover {
    aspect-ratio: 3 / 4;
}

.books-grid .book-card-cover {
    aspect-ratio: 3 / 4 !important;
}

.book-snippet {
    min-height: 56px;
    line-height: 1.75;
}

.book-read-more-hint {
    color: #5f5a50;
    font-weight: 700;
}

.hero-cta {
    margin-top: 22px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.kpis {
    margin-top: 26px;
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.kpi {
    border: 1px solid #e6dcc9;
    background: rgba(255, 255, 255, 0.88);
    border-radius: 14px;
    padding: 12px;
}

.kpi strong {
    display: block;
    font-size: 24px;
    line-height: 1;
}

.kpi span {
    color: #6b6b6b;
    font-size: 13px;
}

.media-tile {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    min-height: 280px;
}

.media-tile::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: var(--media-tile-bg);
    background-size: cover;
    background-position: center;
    opacity: .15;
    filter: saturate(.95) contrast(.95);
}

.media-tile::after {
    content: '';
    position: absolute;
    inset: auto -30% -50% -30%;
    height: 120px;
    background: radial-gradient(circle, rgba(232, 178, 44, 0.18), transparent 60%);
}

.media-tile.media-tile-podcast { --media-tile-bg: none; }
.media-tile.media-tile-video { --media-tile-bg: none; }
.media-tile.media-tile-handout { --media-tile-bg: none; }

.lock-pill {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    font-size: 11px;
    background: #fff0f0;
    border: 1px solid #f3cccc;
    color: #9d2525;
    border-radius: 999px;
    padding: 3px 8px;
}

.player-shell {
    border: 1px solid #e8dfd1;
    background: #fff;
    border-radius: 18px;
    padding: 18px;
}

.episode-list {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.episode-item {
    border: 1px solid #ece4d7;
    border-radius: 12px;
    padding: 10px 12px;
    background: #fff;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
}

.episode-index {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #f5efdf;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
}

.progress-grid {
}

@media (max-width: 640px) {
    .progress-grid { grid-template-columns: 1fr; }
}

.hero-with-banner {
    position: relative;
    overflow: hidden;
}

.hero-banner-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.20;
    transform: scale(1.05);
}

.hero-banner-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.25) 35%, transparent 65%),
        linear-gradient(165deg, rgba(255, 255, 255, 0.78), rgba(248, 242, 230, 0.86));
}

.hero-content-elevated {
    position: relative;
    z-index: 2;
}

.service-hero {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(248, 244, 234, 0.86), rgba(247, 239, 226, 0.93)),
        url('/assets/images/branding/channels4_banner.jpg') center/cover no-repeat;
}

.service-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(249, 242, 227, 0.70));
}

.service-hero-content {
    position: relative;
    z-index: 2;
}

.service-hero-logo {
    width: 88px;
    height: 88px;
    margin-inline: auto;
    margin-bottom: 12px;
    object-fit: contain;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(8px);
}

.course-card {
    border: 1px solid rgba(255, 255, 255, 0.6);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.86), rgba(253, 249, 241, 0.92));
    box-shadow: 0 12px 30px rgba(35, 29, 19, 0.10);
}

.course-features {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
    display: grid;
    gap: 6px;
}

.course-features li {
    font-size: 13px;
    color: #4a4338;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.course-features i {
    color: #1f8f4a;
}

[data-animate='stagger'] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate='stagger'].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Color and motion refresh */
.features-section,
.content-section {
    position: relative;
}

.features-section {
    background:
        radial-gradient(circle at 90% 10%, rgba(31, 117, 214, 0.10), transparent 34%),
        radial-gradient(circle at 8% 75%, rgba(232, 178, 44, 0.14), transparent 30%),
        linear-gradient(180deg, #fffdf8, #f9f3e7 90%);
}

.content-section {
    background:
        radial-gradient(circle at 12% 10%, rgba(239, 95, 70, 0.08), transparent 35%),
        radial-gradient(circle at 88% 85%, rgba(76, 202, 154, 0.09), transparent 30%),
        linear-gradient(180deg, #fbf7ef, #fffdf8 72%);
}

.feature-card,
.card,
.membership-card,
.kpi,
.progress-box {
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.feature-card:hover,
.card:hover,
.membership-card:hover,
.kpi:hover,
.progress-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 34px rgba(26, 24, 20, 0.13);
    border-color: rgba(227, 170, 58, 0.35);
}

.app-xolingo-section {
    background:
        radial-gradient(circle at 85% 12%, rgba(26, 196, 159, 0.25), transparent 34%),
        radial-gradient(circle at 8% 84%, rgba(27, 74, 182, 0.20), transparent 36%),
        linear-gradient(160deg, #0e1f52 0%, #163573 46%, #1e4f8f 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.app-xolingo-section .section-title,
.app-xolingo-section .section-subtitle {
    color: #f5f8ff;
}

.app-xolingo-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.app-brand-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.app-xolingo-icon {
    width: 86px;
    height: 86px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.38);
    box-shadow: 0 18px 35px rgba(5, 18, 55, 0.34);
    object-fit: cover;
    animation: appFloat 4.6s ease-in-out infinite;
}

.app-soon-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    color: #ebf6ff;
    font-size: 12px;
    font-weight: 800;
    border: 1px solid rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
}

.app-feature-grid .app-feature-card {
    grid-column: span 4;
    border-color: rgba(255, 255, 255, 0.24);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.10));
    box-shadow: 0 14px 30px rgba(4, 14, 48, 0.22);
}

.app-feature-grid .app-feature-card h3 {
    color: #ffffff;
}

.app-feature-grid .app-feature-card p {
    color: rgba(236, 242, 255, 0.92);
}

.app-feature-grid .app-feature-card i {
    color: #ffd57b;
    text-shadow: 0 2px 10px rgba(14, 26, 54, 0.38);
}

.app-feature-grid .app-feature-card:nth-child(2n) i {
    color: #89f5ca;
}

.app-coming-panel {
    margin-top: 18px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.17), rgba(255, 255, 255, 0.08));
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #e9f3ff;
}

.app-coming-panel p {
    margin: 0;
    font-size: 14px;
}

.app-launch-hero {
    background:
        radial-gradient(circle at 20% 18%, rgba(84, 250, 188, 0.23), transparent 34%),
        radial-gradient(circle at 95% 80%, rgba(73, 130, 255, 0.20), transparent 35%),
        linear-gradient(145deg, #0f1f5a, #1a4184 54%, #1e5d98);
}

.app-launch-inner {
    text-align: start;
}

.app-launch-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: center;
}

.app-launch-hero h1,
.app-launch-hero p {
    color: #eef5ff;
}

.app-launch-icon {
    width: 96px;
    height: 96px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: 0 18px 34px rgba(5, 18, 55, 0.34);
    object-fit: cover;
}

.app-launch-state {
    margin-top: 16px;
    display: flex;
    justify-content: center;
}

.app-launch-section .section-title {
    color: #12234f;
}

@keyframes appFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@media (max-width: 1100px) {
    .app-feature-grid .app-feature-card {
        grid-column: span 6;
    }
}

@media (max-width: 900px) {
    .app-xolingo-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .app-brand-row {
        align-items: flex-start;
    }

    .app-xolingo-icon {
        width: 74px;
        height: 74px;
    }
}

@media (max-width: 640px) {
    .app-brand-row,
    .app-launch-brand {
        flex-direction: column;
        text-align: center;
    }

    .app-xolingo-head {
        align-items: center;
    }

    .app-feature-grid .app-feature-card {
        grid-column: span 12;
    }

    .app-coming-panel {
        flex-direction: column;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-with-banner::after {
        animation: none;
    }

    .app-xolingo-icon {
        animation: none;
    }
}

/* Visual tune - April 2026 */
.hero-with-banner .hero-banner-image {
    opacity: 0.48;
    object-position: center 28%;
    transform: scale(1.03);
}

.hero-with-banner .hero-banner-overlay {
    background:
        radial-gradient(circle at 82% 20%, rgba(238, 79, 73, 0.34), transparent 32%),
        radial-gradient(circle at 18% 70%, rgba(255, 194, 70, 0.24), transparent 28%),
        linear-gradient(160deg, rgba(10, 36, 89, 0.72), rgba(18, 76, 160, 0.64));
}

.hero-with-banner::after {
    content: '';
    position: absolute;
    inset: 8% auto auto 4%;
    width: 180px;
    height: 180px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 204, 100, 0.34), rgba(255, 204, 100, 0.02) 70%);
    filter: blur(2px);
    animation: heroPulse 6s ease-in-out infinite;
    z-index: 1;
}

.hero-with-banner .hero-content h1,
.hero-with-banner .hero-content p {
    color: #f2f7ff;
    text-shadow: 0 2px 18px rgba(5, 12, 33, 0.48);
}

.hero-with-banner .kpi {
    background: linear-gradient(180deg, #ffffff, #f0f5ff);
    border: 1px solid #d6e2fb;
    box-shadow: 0 10px 24px rgba(8, 21, 52, 0.16);
}

.hero-with-banner .kpi strong,
.hero-with-banner .kpi span {
    color: #1c376f;
}

.service-title {
    line-height: 1.35;
}

.service-title-sub {
    display: block;
    margin-top: 4px;
    font-size: 0.92em;
    color: #5d6f94;
    font-weight: 600;
}

.brand-ribbon-section {
    padding: 16px 0 8px;
    background: linear-gradient(180deg, #eef4ff, #f8fbff);
}

.brand-ribbon-card {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #cfe0ff;
    box-shadow: 0 18px 34px rgba(16, 46, 103, 0.18);
}

.brand-ribbon-card img {
    width: 100%;
    height: clamp(150px, 24vw, 280px);
    object-fit: cover;
    object-position: center;
    transition: transform 0.45s ease;
}

.brand-ribbon-card:hover img {
    transform: scale(1.03);
}

.features-section {
    background:
        radial-gradient(circle at 92% 8%, rgba(44, 132, 236, 0.16), transparent 34%),
        radial-gradient(circle at 7% 88%, rgba(239, 93, 70, 0.16), transparent 30%),
        linear-gradient(180deg, #fbfdff, #f5f9ff 88%);
}

.content-section {
    background:
        radial-gradient(circle at 10% 8%, rgba(255, 204, 102, 0.18), transparent 34%),
        radial-gradient(circle at 90% 90%, rgba(53, 191, 149, 0.12), transparent 30%),
        linear-gradient(180deg, #f9fcff, #fffdf8 72%);
}

.features-section .feature-card {
    border-color: #d8e6ff;
    background: linear-gradient(165deg, #ffffff, #f6f9ff);
}

.features-section .feature-card:nth-child(3n+1) i { color: #1f75d6; }
.features-section .feature-card:nth-child(3n+2) i { color: #df5c42; }
.features-section .feature-card:nth-child(3n) i { color: #28a87d; }

.app-xolingo-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(165deg, #0f2c66 0%, #1b4a92 55%, #225c9e 100%);
}

.app-xolingo-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/assets/images/branding/channels4_banner.jpg') center/cover no-repeat;
    opacity: 0.22;
    transform: scale(1.08);
}

.app-xolingo-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 88% 16%, rgba(252, 104, 91, 0.38), transparent 30%),
        radial-gradient(circle at 15% 84%, rgba(255, 204, 94, 0.22), transparent 30%);
}

.app-xolingo-section .container {
    position: relative;
    z-index: 2;
}

.app-feature-grid .app-feature-card {
    background: linear-gradient(165deg, #ffffff, #f5f8ff);
    border: 1px solid #d2e0fb;
    box-shadow: 0 14px 28px rgba(10, 30, 70, 0.22);
}

.app-feature-grid .app-feature-card h3 {
    color: #173061;
}

.app-feature-grid .app-feature-card p {
    color: #31476d;
}

.app-feature-grid .app-feature-card i {
    color: #1f75d6;
    text-shadow: none;
}

.app-feature-grid .app-feature-card:nth-child(2n) i { color: #e46245; }
.app-feature-grid .app-feature-card:nth-child(3n) i { color: #27a67d; }

.app-coming-panel {
    border: 1px solid #d2e0fb;
    background: linear-gradient(145deg, #ffffff, #eef4ff);
    color: #173061;
    box-shadow: 0 10px 24px rgba(10, 30, 70, 0.14);
}

.app-launch-hero {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #d1e2ff;
}

.app-launch-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 24%;
    opacity: 0.46;
}

.app-launch-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 88% 16%, rgba(246, 85, 81, 0.34), transparent 32%),
        radial-gradient(circle at 16% 78%, rgba(255, 205, 93, 0.20), transparent 32%),
        linear-gradient(155deg, rgba(9, 34, 85, 0.78), rgba(18, 77, 162, 0.70));
}

.app-launch-inner {
    position: relative;
    z-index: 2;
}

.app-launch-hero h1,
.app-launch-hero p {
    color: #f3f8ff;
    text-shadow: 0 2px 16px rgba(9, 22, 48, 0.45);
}

.app-launch-section .app-feature-grid .app-feature-card {
    background: #ffffff;
}

@media (max-width: 900px) {
    .brand-ribbon-section {
        padding-top: 10px;
    }

    .brand-ribbon-card {
        border-radius: 18px;
    }
}

@keyframes heroPulse {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.9; }
    50% { transform: translateY(-8px) scale(1.05); opacity: 1; }
}

/* Podcast player redesign */
.podcast-layout {
    display: grid;
    grid-template-columns: minmax(360px, 0.95fr) minmax(760px, 1.8fr);
    gap: 22px;
    align-items: start;
}

.podcast-page-section .container {
    width: min(1680px, 98vw);
    max-width: 1680px;
}

.podcast-player-column {
    position: sticky;
    top: calc(var(--site-header-height, 122px) + 12px);
}

.podcast-player-card {
    box-shadow: 0 14px 34px rgba(26, 24, 20, 0.14);
    min-height: calc(100vh - 150px);
    width: 100%;
}

.episode-list-square {
    display: grid;
    gap: 10px;
    max-height: calc(100vh - 280px);
    overflow: auto;
    padding-inline-end: 4px;
}

.episode-item-square {
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: center;
    border-radius: 14px;
    border: 1px solid #e7e0d2;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.episode-item-square:hover {
    border-color: #d9bd79;
    background: #fff9ec;
    transform: translateY(-1px);
}

.episode-item-square.is-selected {
    border-color: #d9bd79;
    background: #fff5dc;
}

.episode-item-square.is-locked {
    opacity: 0.72;
}

.episode-index-square {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    font-size: 13px;
    background: linear-gradient(145deg, #f9e9ba, #f2d57d);
    color: #473308;
}

.episode-content {
    min-width: 0;
}

.episode-title {
    font-weight: 800;
    font-size: 14px;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.episode-action .btn-outline {
    padding: 7px 12px;
}

.transcript-rows {
    max-height: calc(100vh - 380px);
    overflow: auto;
    padding-inline-end: 4px;
    border: 1px solid #efe5d5;
    border-radius: 12px;
    background: #fff;
    padding: 10px;
}

.cue-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    border: 1px solid #eee3cf;
    border-radius: 10px;
    padding: 8px 10px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.cue-row.is-active {
    background: #fff8e6;
    border-color: #e3c27f;
}

.transcript-rows.show-fa .cue-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.cue-line {
    min-width: 0;
    font-size: 17px;
    line-height: 2;
}

.cue-line-de {
    direction: ltr;
    text-align: left;
}

.cue-line-fa {
    direction: rtl;
    text-align: right;
    display: none;
}

.transcript-rows.show-fa .cue-line-fa {
    display: block;
}

.cue-karaoke {
    line-height: 1.8;
}

.karaoke-word {
    display: inline-block;
    padding: 0 1px;
    border-radius: 4px;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.karaoke-word.is-spoken {
    background: #f1cb68;
    color: #231a09;
}

.playback-progress-wrap {
    margin-top: 12px;
    --seek-percent: 0%;
    direction: ltr;
}

#playbackSeek {
    width: 100%;
    height: 12px;
    appearance: none;
    border-radius: 999px;
    background: linear-gradient(to right, #0f6fd4 0%, #0f6fd4 var(--seek-percent), #d8d8d8 var(--seek-percent), #d8d8d8 100%);
    outline: none;
    cursor: pointer;
    box-shadow: inset 0 0 0 1px rgba(22, 25, 30, 0.08);
    direction: ltr;
}

#playbackSeek::-webkit-slider-runnable-track {
    height: 12px;
    border-radius: 999px;
    background: transparent;
}

#playbackSeek::-webkit-slider-thumb {
    appearance: none;
    width: 22px;
    height: 22px;
    margin-top: -5px;
    border-radius: 50%;
    border: 3px solid #ffffff;
    background: #ffb100;
    box-shadow: 0 0 0 4px rgba(255, 177, 0, 0.25), 0 3px 10px rgba(0, 0, 0, 0.35);
}

#playbackSeek::-moz-range-track {
    height: 12px;
    border-radius: 999px;
    background: #d8d8d8;
}

#playbackSeek::-moz-range-progress {
    height: 12px;
    border-radius: 999px;
    background: #0f6fd4;
}

#playbackSeek::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 3px solid #ffffff;
    background: #ffb100;
    box-shadow: 0 0 0 4px rgba(255, 177, 0, 0.25), 0 3px 10px rgba(0, 0, 0, 0.35);
}

.playback-time-labels {
    margin-top: 4px;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #666;
}

#playbackSeek:focus-visible {
    outline: 2px solid rgba(15, 111, 212, 0.35);
    outline-offset: 2px;
}

@media (max-width: 980px) {
    .podcast-layout {
        grid-template-columns: 1fr;
    }

    .podcast-page-section .container {
        width: min(1220px, 95vw);
    }

    .podcast-player-column {
        position: static;
    }

    .podcast-player-card {
        min-height: auto;
    }

    .transcript-rows {
        max-height: 420px;
    }
}

@media (max-width: 640px) {
    .transcript-rows.show-fa .cue-row {
        grid-template-columns: 1fr;
    }

    .transcript-rows.show-fa .cue-line-fa {
        border-top: 1px dashed #eddcb6;
        padding-top: 8px;
    }
}

/* Copyright-safe podcast detail page */
.legal-podcast-hero h1 span {
    color: #5d5850;
    font-weight: 700;
}

.legal-podcast-section .container {
    width: min(1600px, 96vw);
    max-width: 1600px;
}

.legal-podcast-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.85fr);
    gap: 18px;
    align-items: start;
}

.legal-podcast-main {
    display: grid;
    gap: 14px;
}

.legal-card {
    border-radius: 16px;
    border: 1px solid #e8deca;
    box-shadow: 0 10px 24px rgba(29, 26, 20, 0.09);
}

.legal-card h2 {
    margin: 0 0 10px;
    font-size: 22px;
}

.official-source-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 12px;
}

.official-embed-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid #eadfc8;
    background: #fff;
    min-height: 188px;
}

.official-embed-wrap iframe {
    width: 100%;
    min-height: 188px;
    border: 0;
    display: block;
}

.notice-box {
    border: 1px solid #eadfc8;
    border-radius: 12px;
    background: #fff9eb;
    padding: 12px;
    color: #4e483e;
    font-weight: 600;
}

.transcript-block p {
    margin: 0 0 8px;
    line-height: 1.9;
}

.de-block {
    direction: ltr;
    text-align: left;
    unicode-bidi: plaintext;
}

.translation-table {
    display: grid;
    gap: 8px;
}

.transcript-controls {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: flex-end;
    margin-bottom: 10px;
}

.transcript-controls label {
    display: grid;
    gap: 4px;
    font-size: 12px;
    color: #5f584b;
    min-width: 160px;
}

.translation-row {
    display: grid;
    grid-template-columns: 95px 1fr 1fr;
    gap: 10px;
    align-items: start;
    border: 1px solid #efe4d1;
    border-radius: 12px;
    background: #fff;
    padding: 10px;
}

.translation-time {
    font-size: 12px;
    color: #7c7364;
    font-weight: 700;
    direction: ltr;
    text-align: left;
}

.translation-de {
    direction: ltr;
    text-align: left;
    unicode-bidi: plaintext;
    line-height: 1.75;
}

.translation-fa {
    direction: rtl;
    text-align: right;
    line-height: 1.9;
}

.translation-row {
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.translation-row.is-active {
    background: #fff6de;
    border-color: #e2bd63;
}

.translation-table.layout-stack .translation-row {
    grid-template-columns: 95px 1fr;
}

.translation-table.layout-stack .translation-fa {
    grid-column: 2 / span 1;
    border-top: 1px dashed #eddcb6;
    margin-top: 6px;
    padding-top: 6px;
}

.translation-table.view-de .translation-fa {
    display: none;
}

.translation-table.view-fa .translation-de {
    display: none;
}

.translation-table.view-none .translation-de,
.translation-table.view-none .translation-fa {
    display: none;
}

.translation-table.view-none .translation-row {
    grid-template-columns: 95px;
}

.vocab-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.vocab-item {
    border: 1px solid #efe4d1;
    border-radius: 12px;
    background: linear-gradient(180deg, #fff, #fffaf0);
    padding: 10px;
}

.vocab-item h3 {
    margin: 0 0 6px;
    font-size: 17px;
}

.vocab-item p {
    margin: 4px 0;
    line-height: 1.65;
}

.grammar-list {
    margin: 0;
    padding-inline-start: 18px;
    display: grid;
    gap: 8px;
    line-height: 1.8;
}

.summary-fa {
    margin: 0;
    line-height: 2;
    font-size: 16px;
}

.legal-podcast-aside .sticky-card {
    position: sticky;
    top: calc(var(--site-header-height, 122px) + 10px);
}

.legal-episode-list {
    max-height: calc(100vh - 190px);
    overflow: auto;
    padding-inline-end: 4px;
}

.legal-episode-item {
    grid-template-columns: auto 1fr auto;
}

@media (max-width: 1200px) {
    .legal-podcast-grid {
        grid-template-columns: 1fr;
    }

    .legal-podcast-aside .sticky-card {
        position: static;
    }

    .legal-episode-list {
        max-height: 430px;
    }
}

@media (max-width: 820px) {
    .translation-row {
        grid-template-columns: 1fr;
    }

    .translation-table.layout-stack .translation-row {
        grid-template-columns: 1fr;
    }

    .translation-table.layout-stack .translation-fa {
        grid-column: auto;
    }

    .translation-time {
        margin-bottom: 4px;
    }

    .vocab-grid {
        grid-template-columns: 1fr;
    }
}

/* Dictionary page + inline dictionary modal */
.dictionary-page-hero {
    --media-hero-image: url('/assets/images/headers/podcasts-hero.svg');
}

.dictionary-search-card {
    margin-bottom: 14px;
}

.dictionary-search-row {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) auto auto;
    gap: 10px;
}

.dictionary-search-row .btn-primary,
.dictionary-search-row .btn-outline {
    white-space: nowrap;
}

.dictionary-search-row input[type='search'] {
    width: 100%;
    border: 1px solid #e5d8bf;
    border-radius: 12px;
    min-height: 44px;
    padding: 10px 14px;
    font-size: 15px;
    background: #fff;
}

.dictionary-page-grid {
    display: grid;
    grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.7fr);
    gap: 14px;
    align-items: start;
}

.dictionary-results-list {
    display: grid;
    gap: 8px;
    max-height: min(62vh, 760px);
    overflow: auto;
    padding-inline-end: 2px;
}

.dictionary-result-item {
    border: 1px solid #eadfc9;
    background: #fff;
    border-radius: 12px;
    padding: 10px 12px;
    display: grid;
    gap: 4px;
    text-align: start;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.dictionary-result-item strong {
    font-size: 16px;
}

.dictionary-result-item span {
    color: #6e675b;
    font-size: 12px;
}

.dictionary-result-item:hover {
    border-color: #d9b86d;
    background: #fff9ea;
}

.dictionary-result-item.is-selected {
    border-color: #d3aa4d;
    background: #fff5dc;
}

.dictionary-entry-block + .dictionary-entry-block {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px dashed #e7d7b9;
}

.dictionary-entry-head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.dictionary-entry-head h3 {
    margin: 0;
    font-size: 26px;
    line-height: 1.2;
}

.dictionary-source-row {
    margin-bottom: 8px;
}

.dictionary-lemma-line {
    margin-top: 0;
}

.dictionary-meaning-item {
    border: 1px solid #ece2ce;
    border-radius: 10px;
    background: #fff;
    padding: 10px;
}

.dictionary-meaning-item + .dictionary-meaning-item {
    margin-top: 8px;
}

.dictionary-meaning-def {
    margin: 0;
    line-height: 1.85;
}

.dictionary-meaning-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.8em;
    padding: 0 6px;
    margin-inline-end: 6px;
    border-radius: 999px;
    border: 1px solid #e8d8b4;
    background: #fff9ea;
    color: #7f6740;
    font-weight: 700;
    font-size: 12px;
}

.dictionary-grammar-line {
    margin: 6px 0 0;
    color: #5f5b53;
}

.dictionary-example-list {
    display: grid;
    gap: 6px;
    margin-top: 8px;
}

.dictionary-example-item {
    border-inline-start: 3px solid #e4be68;
    background: #fffcf3;
    border-radius: 8px;
    padding: 7px 10px;
}

.dictionary-example-item p {
    margin: 0;
    line-height: 1.65;
}

.dictionary-example-de {
    direction: ltr;
    text-align: left;
    unicode-bidi: plaintext;
    font-weight: 600;
}

.dictionary-example-fa {
    margin-top: 4px;
}

.dictionary-conjugation-wrap {
    margin-top: 12px;
}

.dictionary-conjugation-wrap h4 {
    margin: 0 0 8px;
}

.dictionary-conjugation-group + .dictionary-conjugation-group {
    margin-top: 12px;
}

.dictionary-conjugation-group {
    border: 1px solid #ebdcc0;
    border-radius: 12px;
    background: linear-gradient(180deg, #fffefb 0%, #fffaf0 100%);
    padding: 10px;
}

.dictionary-conjugation-group h5 {
    margin: 0 0 10px;
    color: #3d3015;
    font-size: 15px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid #e6c983;
    background: #fff6df;
}

.dictionary-tense-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.dictionary-tense-block {
    border: 1px solid #ecdfc6;
    border-radius: 10px;
    background: #fff;
    padding: 0;
    overflow: hidden;
}

.dictionary-tense-block + .dictionary-tense-block {
    margin-top: 0;
}

.dictionary-tense-title {
    margin: 0;
    font-weight: 700;
    color: #5b4823;
    padding: 7px 9px;
    border-bottom: 1px solid #f0e4cf;
    background: #fff8e6;
    font-size: 13px;
}

.dictionary-tense-rows {
    padding: 8px;
}

.dictionary-tense-row {
    display: grid;
    grid-template-columns: minmax(72px, 96px) minmax(0, 1fr);
    gap: 8px;
    align-items: baseline;
    direction: ltr;
    text-align: left;
    font-size: 13px;
}

.dictionary-tense-row + .dictionary-tense-row {
    margin-top: 3px;
}

.dictionary-tense-row span {
    color: #6b6355;
}

.dictionary-tense-row strong {
    color: #1f1f1f;
    word-break: break-word;
}

.dictionary-inline-hint {
    margin-top: 0;
}

.dict-inline-word {
    display: inline;
    border: 0 !important;
    background: transparent !important;
    color: inherit;
    font: inherit;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0;
    line-height: inherit;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    box-shadow: none !important;
    text-decoration: none;
}

.dict-inline-word:hover,
.dict-inline-word:focus-visible {
    background: transparent !important;
    box-shadow: none !important;
    color: #5f4817;
}

.dict-inline-word:focus-visible {
    outline: 2px solid #dbb974;
    outline-offset: 2px;
    border-radius: 3px;
}

.dict-inline-word::-moz-focus-inner {
    border: 0;
    padding: 0;
}

.translation-de .dict-inline-word,
.translation-de .dict-inline-word:hover,
.translation-de .dict-inline-word:focus,
.translation-de .dict-inline-word:active {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.dictionary-word-modal {
    position: fixed;
    inset: 0;
    z-index: 2500;
}

.dictionary-word-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 12, 8, 0.54);
    backdrop-filter: blur(2px);
}

.dictionary-word-modal-panel {
    position: relative;
    width: min(760px, 94vw);
    max-height: min(82vh, 860px);
    overflow: auto;
    margin: 6vh auto;
    border-radius: 16px;
    background: #fffdf8;
    border: 1px solid #ecdcb9;
    box-shadow: 0 22px 54px rgba(9, 8, 6, 0.34);
}

.dictionary-word-modal-panel.dict-size-sm {
    width: min(520px, 92vw);
}

.dictionary-word-modal-panel.dict-size-md {
    width: min(760px, 94vw);
}

.dictionary-word-modal-panel.dict-size-lg {
    width: min(980px, 96vw);
}

.dictionary-word-modal-head {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #fffdf8;
    border-bottom: 1px solid #eee2cb;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
}

.dictionary-word-modal-head h3 {
    margin: 0;
    font-size: 21px;
}

.dictionary-word-modal-close {
    border: 1px solid #e0c480;
    background: #fff9ea;
    color: #3e2f10;
    border-radius: 999px;
    width: 34px;
    height: 34px;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.dictionary-word-modal-body {
    padding: 12px 14px 16px;
}

.dictionary-modal-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
    justify-content: flex-start;
}

.dictionary-modal-entry + .dictionary-modal-entry {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed #e4d4b1;
}

.dictionary-modal-entry-head {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 8px;
}

.dictionary-modal-entry-head h4 {
    margin: 0;
    font-size: 24px;
}

.dictionary-modal-entry-head--compact h4 {
    font-size: 21px;
}

.dictionary-modal-short-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 7px;
}

.dictionary-modal-short-item {
    border: 1px solid #ebe0ca;
    border-radius: 10px;
    background: #fff;
    padding: 8px 10px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.dictionary-modal-short-item.is-extra {
    display: none;
}

.dictionary-modal-entry.is-expanded .dictionary-modal-short-item.is-extra {
    display: flex;
}

.dictionary-modal-short-def {
    line-height: 1.75;
}

.dictionary-modal-more-wrap {
    margin-top: 8px;
}

.dictionary-modal-more-btn {
    border: 1px solid #e0c480;
    background: #fff7e2;
    color: #5a4518;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.dictionary-modal-more-btn:hover,
.dictionary-modal-more-btn:focus-visible {
    background: #ffedc0;
    border-color: #cba24b;
    color: #3f2f0d;
    outline: none;
}

.dictionary-modal-meanings {
    display: grid;
    gap: 7px;
}

.dictionary-modal-meaning {
    border: 1px solid #ece0c8;
    border-radius: 10px;
    padding: 8px 10px;
    background: #fff;
}

.dictionary-modal-meaning p {
    margin: 0;
    line-height: 1.75;
}

.dictionary-modal-meaning small {
    display: block;
    margin-top: 5px;
    color: #6d655a;
}

.dictionary-modal-example {
    margin-top: 7px;
    border-inline-start: 2px solid #e7c16e;
    padding-inline-start: 8px;
}

.dictionary-modal-example span {
    display: block;
    direction: ltr;
    text-align: left;
    unicode-bidi: plaintext;
    font-size: 14px;
}

.dictionary-modal-example em {
    display: block;
    margin-top: 3px;
    font-style: normal;
    font-size: 13px;
    color: #4f4a43;
}

.dictionary-modal-conjugations {
    margin-top: 10px;
}

.dictionary-modal-conjugations h4 {
    margin: 0 0 7px;
}

.dictionary-modal-conj-group + .dictionary-modal-conj-group {
    margin-top: 8px;
}

.dictionary-modal-conj-group h5 {
    margin: 0 0 5px;
}

.dictionary-modal-tense {
    border: 1px solid #ecdebf;
    border-radius: 9px;
    background: #fffdf7;
    padding: 7px 9px;
}

.dictionary-modal-tense + .dictionary-modal-tense {
    margin-top: 7px;
}

.dictionary-modal-tense p {
    margin: 0 0 4px;
    font-weight: 700;
}

.dictionary-modal-tense-row {
    display: grid;
    grid-template-columns: 84px 1fr;
    gap: 8px;
    direction: ltr;
    text-align: left;
}

.dictionary-modal-tense-row + .dictionary-modal-tense-row {
    margin-top: 2px;
}

body.dict-modal-open {
    overflow: hidden;
}

@media (max-width: 980px) {
    .dictionary-page-grid {
        grid-template-columns: 1fr;
    }

    .dictionary-detail-card {
        order: 1;
    }

    .dictionary-results-card {
        order: 2;
    }

    .dictionary-results-list {
        max-height: min(48vh, 460px);
    }

    .dictionary-tense-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .dictionary-word-modal-panel,
    .dictionary-word-modal-panel.dict-size-sm,
    .dictionary-word-modal-panel.dict-size-md,
    .dictionary-word-modal-panel.dict-size-lg {
        width: min(96vw, 96vw);
        margin-top: 4vh;
        max-height: 88vh;
    }

    .dictionary-search-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .dictionary-search-row .btn-primary,
    .dictionary-search-row .btn-outline {
        width: 100%;
        justify-content: center;
    }

    .dictionary-results-list {
        max-height: min(42vh, 380px);
    }

    .dictionary-conjugation-group h5 {
        font-size: 14px;
    }

    .dictionary-tense-grid {
        grid-template-columns: 1fr;
    }

    .dictionary-entry-head h3,
    .dictionary-modal-entry-head h4 {
        font-size: 22px;
    }
}

/* Landing page refresh - April 2026 (lovable-inspired clean premium) */
.home-page {
    --landing-bg: #f6f8fc;
    --landing-bg-soft: #eef3fb;
    --landing-surface: #ffffff;
    --landing-ink: #1e2a44;
    --landing-muted: #627089;
    --landing-line: #dce4f3;
    --landing-primary: #4f67c7;
    --landing-primary-deep: #314687;
    --landing-accent: #f0c85e;
    background:
        radial-gradient(circle at 10% 8%, rgba(240, 200, 94, 0.26), transparent 36%),
        radial-gradient(circle at 88% 2%, rgba(111, 153, 232, 0.18), transparent 34%),
        linear-gradient(155deg, #fbfcff 0%, #f7f9fe 42%, #f2f5fb 100%);
}

.home-page.rtl {
    font-family: 'Yekan', 'Vazirmatn', sans-serif;
}

.home-page .top-strip {
    background: rgba(21, 30, 53, 0.94);
}

.home-page .main-nav-wrap {
    background: rgba(255, 255, 255, 0.95);
    border-bottom-color: #e6ebf6;
}

.home-page .main-nav a {
    color: #34425f;
}

.home-page .main-nav a.active {
    color: #1d2b4d;
    background: linear-gradient(135deg, #e8eeff, #dbe6ff);
}

.home-page .landing-hero {
    position: relative;
    overflow: hidden;
    padding: 48px 0 20px;
    border-bottom: 0;
}

.home-page .landing-hero .hero-banner-image {
    opacity: 0.16;
    object-position: center 24%;
}

.home-page .landing-hero .hero-banner-overlay {
    background:
        radial-gradient(circle at 88% 20%, rgba(87, 126, 216, 0.24), transparent 34%),
        radial-gradient(circle at 12% 80%, rgba(240, 200, 94, 0.22), transparent 36%),
        linear-gradient(170deg, rgba(255, 255, 255, 0.92), rgba(244, 248, 255, 0.9));
}

.home-page .landing-hero-shell {
    position: relative;
    z-index: 2;
}

.home-page .landing-hero-grid {
    display: grid;
    grid-template-columns: minmax(340px, 1.15fr) minmax(320px, 0.85fr);
    gap: 18px;
    align-items: stretch;
}

.home-page .landing-hero-main,
.home-page .landing-hero-side {
    border-radius: 26px;
    border: 1px solid var(--landing-line);
    box-shadow: 0 18px 38px rgba(20, 35, 74, 0.12);
}

.home-page .landing-hero-main {
    padding: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 252, 255, 0.95));
    backdrop-filter: blur(3px);
}

.home-page .landing-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    color: #415379;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    background: #eef3ff;
    border: 1px solid #d9e4ff;
}

.home-page .landing-kicker::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--landing-accent);
    box-shadow: 0 0 0 4px rgba(240, 200, 94, 0.24);
}

.home-page .landing-hero-main h1 {
    margin: 16px 0 10px;
    color: var(--landing-ink);
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1.14;
    text-shadow: none;
}

.home-page .landing-hero-main p {
    margin: 0;
    color: var(--landing-muted);
    max-width: 680px;
    font-size: clamp(16px, 2.1vw, 20px);
    line-height: 1.8;
}

.home-page .hero-cta {
    justify-content: flex-start;
    gap: 10px;
    margin-top: 20px;
}

.home-page .hero-cta .btn-primary,
.home-page .hero-cta .btn-outline,
.home-page .landing-hero-side .btn-glass {
    border-radius: 14px;
    padding: 12px 18px;
    font-size: 14px;
    font-weight: 800;
}

.home-page .hero-cta .btn-primary {
    border: 0;
    color: #fff;
    background: linear-gradient(135deg, var(--landing-primary), var(--landing-primary-deep));
    box-shadow: 0 12px 22px rgba(58, 84, 164, 0.28);
}

.home-page .hero-cta .btn-outline {
    color: #314a7f;
    border: 1px solid #d5e2fb;
    background: #fff;
    box-shadow: 0 8px 18px rgba(39, 62, 126, 0.08);
}

.home-page .kpis {
    margin-top: 22px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.home-page .kpi {
    border: 1px solid #dce6f8;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 16px rgba(39, 62, 126, 0.08);
}

.home-page .kpi strong {
    color: #253f73;
}

.home-page .kpi span {
    color: #637291;
}

.home-page .landing-hero-side {
    position: relative;
    overflow: hidden;
    padding: 24px;
    background:
        radial-gradient(circle at 90% 8%, rgba(255, 255, 255, 0.24), transparent 36%),
        linear-gradient(165deg, #2f3f72 0%, #1f2f56 100%);
    color: #eef3ff;
}

.home-page .landing-hero-side::after {
    content: '';
    position: absolute;
    inset: auto -10% -25% auto;
    width: 180px;
    height: 180px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(240, 200, 94, 0.46), rgba(240, 200, 94, 0) 68%);
}

.home-page .landing-hero-side-chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    border: 1px solid rgba(230, 238, 255, 0.34);
    background: rgba(255, 255, 255, 0.14);
}

.home-page .landing-hero-side h3 {
    margin: 14px 0 8px;
    font-size: 23px;
    line-height: 1.35;
    color: #fff;
}

.home-page .landing-hero-side p {
    margin: 0;
    color: rgba(239, 245, 255, 0.9);
    line-height: 1.8;
}

.home-page .landing-hero-side-list {
    list-style: none;
    margin: 14px 0 16px;
    padding: 0;
    display: grid;
    gap: 9px;
}

.home-page .landing-hero-side-list li {
    display: grid;
    grid-template-columns: 16px 1fr;
    gap: 8px;
    align-items: start;
    color: #f4f7ff;
    font-size: 13px;
}

.home-page .landing-hero-side-list i {
    color: var(--landing-accent);
    margin-top: 2px;
}

.home-page .landing-hero-side .btn-glass {
    width: 100%;
    justify-content: center;
    color: #fff;
    border: 1px solid rgba(224, 234, 255, 0.36);
    background: rgba(255, 255, 255, 0.14);
    box-shadow: none;
    position: relative;
    z-index: 1;
}

.home-page .landing-brand-ribbon {
    padding: 8px 0 10px;
    background: transparent;
}

.home-page .landing-brand-ribbon .brand-ribbon-card {
    border-radius: 22px;
    border: 1px solid #dbe4f3;
    box-shadow: 0 14px 28px rgba(20, 35, 74, 0.1);
}

.home-page .landing-brand-ribbon .brand-ribbon-card img {
    height: clamp(120px, 17vw, 200px);
    object-position: center;
}

.home-page .landing-services,
.home-page .landing-media,
.home-page .landing-about,
.home-page .landing-contact {
    padding: 60px 0;
    background: transparent;
}

.home-page .landing-services {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background:
        linear-gradient(165deg, rgba(247, 244, 235, 0.82), rgba(242, 238, 226, 0.84)),
        url('/assets/images/branding/home-services-bg.png') center/cover no-repeat;
}

.home-page .landing-services::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: url('/assets/images/branding/home-services-bg.png') center/cover no-repeat;
    opacity: 0.13;
}

.home-page .landing-services > .container {
    position: relative;
    z-index: 1;
}

.home-page .landing-media {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: transparent !important;
}

.home-page .landing-media::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: transparent !important;
    opacity: 0 !important;
}

.home-page .landing-media > .container {
    position: relative;
    z-index: 1;
}

.home-page .landing-services .section-head,
.home-page .landing-media .section-head,
.home-page .landing-about .section-head {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 26px;
}

.home-page .landing-media .section-head {
    width: fit-content;
    max-width: min(96%, 980px);
    padding: 16px 28px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.52);
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow: 0 10px 24px rgba(18, 34, 70, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.home-page .landing-services .section-title,
.home-page .landing-media .section-title,
.home-page .landing-about .section-title {
    color: var(--landing-ink);
}

.home-page .landing-services .section-subtitle,
.home-page .landing-media .section-subtitle {
    color: var(--landing-muted);
}

.home-page .landing-services .feature-card,
.home-page .landing-media .card,
.home-page .landing-about .landing-about-card,
.home-page .landing-contact .landing-contact-card {
    border: 1px solid var(--landing-line);
    border-radius: 22px;
    background: var(--landing-surface);
    box-shadow: 0 12px 26px rgba(20, 35, 74, 0.1);
}

.home-page .landing-services .feature-card {
    grid-column: auto;
    flex: 0 1 360px;
    max-width: 380px;
    width: 100%;
    padding: 22px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 14px 28px rgba(20, 35, 74, 0.13);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.home-page .landing-services .features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.home-page .landing-services .feature-card i {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 11px;
    background: #edf2ff;
    color: #3b5498;
}

.home-page .landing-services .feature-card:nth-child(2) i {
    color: #d56046;
    background: #fff1ee;
}

.home-page .landing-services .feature-card:nth-child(3) i {
    color: #238b71;
    background: #ebfaf5;
}

.home-page .landing-services .feature-card p,
.home-page .landing-media .card-body p,
.home-page .landing-about .card-body p,
.home-page .landing-contact .card-body p {
    color: var(--landing-muted);
    line-height: 1.85;
}

.home-page .landing-media .card-body {
    padding: 20px;
}

.home-page .landing-media .media-tile .card-body {
    position: relative;
    z-index: 1;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 14px;
    padding: 26px 24px;
}

.home-page .landing-media .media-tile .card-body h3 {
    margin: 0;
    font-size: clamp(30px, 2vw, 36px);
}

.home-page .landing-media .media-tile .card-body p {
    margin: 0;
    max-width: 42ch;
    font-size: clamp(17px, 1.15vw, 19px);
    color: #162746;
}

.home-page .landing-media .media-tile .card-meta {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 6px;
}

.home-page .landing-media .media-tile {
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 12px 30px rgba(18, 34, 70, 0.14);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    background-image: none !important;
}

.home-page .landing-media .media-tile.media-tile-podcast {
    background: rgba(255, 191, 74, 0.36);
}

.home-page .landing-media .media-tile.media-tile-video {
    background: rgba(203, 182, 244, 0.34);
}

.home-page .landing-media .media-tile.media-tile-handout {
    background: rgba(153, 222, 255, 0.35);
}

.home-page .landing-media .cards-grid > .media-tile:nth-child(1) {
    background: rgba(255, 191, 74, 0.36);
}

.home-page .landing-media .cards-grid > .media-tile:nth-child(2) {
    background: rgba(203, 182, 244, 0.34);
}

.home-page .landing-media .cards-grid > .media-tile:nth-child(3) {
    background: rgba(153, 222, 255, 0.35);
}

.home-page .landing-media .media-tile::after {
    display: none;
}

.home-page .landing-media .card-meta .btn-outline,
.home-page .landing-services .btn-secondary {
    border-radius: 12px;
}

.home-page .landing-app {
    width: 100%;
    margin: 0;
    border-radius: 0;
    border: 0;
    background:
        linear-gradient(165deg, rgba(15, 26, 58, 0.66), rgba(18, 37, 82, 0.62)),
        url('/assets/images/branding/xolingo-section-bg.png') center/cover no-repeat;
    box-shadow: none;
    padding: 56px 0 58px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.home-page .landing-app::before,
.home-page .landing-app::after {
    display: none;
}

.home-page .landing-app > .container {
    position: relative;
    z-index: 1;
}

.home-page .landing-app .app-xolingo-head {
    text-align: center;
    margin-bottom: 24px;
}

.home-page .landing-app .app-brand-row {
    justify-content: center;
}

.home-page .landing-app .app-brand-row > div,
.home-page .landing-app .app-soon-chip {
    display: none !important;
}

.home-page .landing-app .section-title {
    color: #263b6b;
}

.home-page .landing-app .section-subtitle {
    color: #5c6f96;
}

.home-page .landing-app .app-soon-chip {
    color: #2f4c87;
    border-color: #d2dff8;
    background: #fff;
}

.home-page .landing-app .app-feature-grid .app-feature-card {
    border: 1px solid rgba(229, 239, 255, 0.62);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 10px 22px rgba(39, 62, 126, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.home-page .landing-app .app-feature-grid .app-feature-card h3 {
    color: #2d416f;
}

.home-page .landing-app .app-feature-grid .app-feature-card p {
    color: #5e6f91;
}

.home-page .landing-app .app-coming-panel {
    border: 1px solid #d8e2f6;
    background: #fff;
    color: #304a83;
}

.home-page .landing-about .landing-about-layout {
    gap: 18px !important;
}

.home-page .landing-about .landing-about-logo {
    border: 1px solid #dde6f5 !important;
    box-shadow: 0 8px 20px rgba(20, 35, 74, 0.1);
}

.home-page .landing-contact {
    padding-top: 16px !important;
}

.home-page .landing-contact .landing-contact-body {
    padding: 24px 22px;
}

@media (max-width: 1100px) {
    .home-page .landing-hero-grid {
        grid-template-columns: 1fr;
    }

    .home-page .landing-services .feature-card,
    .home-page .landing-media .card,
    .home-page .landing-app .app-feature-grid .app-feature-card {
        grid-column: span 6;
    }
}

@media (max-width: 900px) {
    .home-page .landing-hero {
        padding-top: 36px;
    }

    .home-page .landing-hero-main,
    .home-page .landing-hero-side {
        border-radius: 20px;
    }

    .home-page .landing-app {
        width: 100%;
        border-radius: 0;
    }

    .home-page .landing-about .landing-about-layout {
        grid-template-columns: 1fr !important;
    }

    .home-page .landing-about .landing-about-logo {
        margin-inline: auto;
    }
}

@media (max-width: 640px) {
    .home-page .landing-services,
    .home-page .landing-media,
    .home-page .landing-about,
    .home-page .landing-contact {
        padding: 46px 0;
    }

    .home-page .landing-services .feature-card,
    .home-page .landing-media .card,
    .home-page .landing-app .app-feature-grid .app-feature-card {
        grid-column: span 12;
    }

    .home-page .kpis {
        grid-template-columns: 1fr;
    }

    .home-page .hero-cta {
        width: 100%;
    }

    .home-page .hero-cta .btn-primary,
    .home-page .hero-cta .btn-outline {
        width: 100%;
        justify-content: center;
    }

    .home-page .landing-contact .landing-contact-body {
        padding: 20px 16px;
    }

    .home-page .landing-services .feature-card {
        flex-basis: 100%;
        max-width: 100%;
    }
}

/* Xolingo section hard override (independent from body classes) */
.landing-app.app-xolingo-section {
    width: 100% !important;
    margin: 0 !important;
    border-radius: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 56px 0 58px !important;
    background:
        linear-gradient(165deg, rgba(15, 26, 58, 0.66), rgba(18, 37, 82, 0.62)),
        url('/assets/images/branding/xolingo-section-bg.png') center/cover no-repeat !important;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.landing-app.app-xolingo-section::before,
.landing-app.app-xolingo-section::after {
    display: none !important;
}

.landing-app.app-xolingo-section > .container {
    position: relative;
    z-index: 1;
}

.landing-app.app-xolingo-section .app-xolingo-head {
    justify-content: center !important;
    text-align: center;
    margin-bottom: 24px;
}

.landing-app.app-xolingo-section .app-brand-row {
    justify-content: center !important;
}

.landing-app.app-xolingo-section .app-brand-row > div,
.landing-app.app-xolingo-section .app-soon-chip {
    display: none !important;
}

.landing-app.app-xolingo-section .app-feature-grid .app-feature-card {
    border: 1px solid rgba(229, 239, 255, 0.62) !important;
    background: rgba(255, 255, 255, 0.88) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Global responsive safety: keep media pages inside viewport */
@media (max-width: 1100px), (hover: none) and (pointer: coarse) {
    .media-page-hero,
    .podcasts-list-section,
    .video-hub-grid,
    .videos-list-grid,
    .legal-podcast-section,
    .legal-podcast-section .container,
    .legal-podcast-grid,
    .legal-podcast-main,
    .legal-podcast-aside {
        max-width: 100%;
        min-width: 0;
    }
}


/* ========================================================
   HERO REDESIGN – override redesign.css cream background
   Applied at end of redesign.css so it wins the cascade
   ======================================================== */

.gradient-hero,
.media-page-hero,
.podcasts-page-hero,
.videos-page-hero {
    background: linear-gradient(135deg, #1e1b4b 0%, #2d1f6e 50%, #0B132B 100%) !important;
    border-bottom: 1px solid rgba(255,159,28,0.25) !important;
    padding: 32px 0 26px !important;
    min-height: 0 !important;
}

/* Kill the cream ::before overlay */
.media-page-hero::before {
    display: none !important;
    content: none !important;
    background: none !important;
    opacity: 0 !important;
}

/* Mango title text */
.media-page-hero .hero-content h1,
.gradient-hero .hero-content h1,
.podcasts-page-hero h1,
.videos-page-hero h1 {
    color: #FF9F1C !important;
    -webkit-text-fill-color: #FF9F1C !important;
    background: none !important;
    font-size: clamp(22px, 4vw, 36px) !important;
    font-weight: 800 !important;
    margin-bottom: 6px !important;
}

/* Subtitle */
.media-page-hero .hero-content p,
.podcasts-page-hero .hero-content p,
.videos-page-hero .hero-content p {
    color: rgba(255,255,255,0.75) !important;
    -webkit-text-fill-color: rgba(255,255,255,0.75) !important;
}

/* Feature list in podcasts hero */
.podcasts-page-hero .podcasts-hero-features ul,
.podcasts-page-hero .podcasts-hero-features li {
    color: rgba(255,255,255,0.85) !important;
}

/* Tablet */
@media (max-width: 1100px) {
    .gradient-hero,
    .media-page-hero {
        padding: 22px 0 18px !important;
    }
}

/* Mobile */
@media (max-width: 640px) {
    .gradient-hero,
    .media-page-hero {
        padding: 16px 0 14px !important;
    }
    .media-page-hero .hero-content h1 {
        font-size: 20px !important;
    }
}
/* ================================================================
   NAVIGATION 2.0 – PREMIUM TIERED DROPDOWN SYSTEM
   ================================================================ */

/* --- Base Dropdown Triggers --- */
.nav-video-dropdown,
.nav-podcast-dropdown {
    position: relative !important;
}

/* --- Level 1: Main Menu --- */
.nav-video-menu,
.nav-podcast-menu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;      /* Anchored left, extends right */
    right: auto !important;
    min-width: 260px !important;
    max-width: 320px !important;
    background: rgba(15, 23, 42, 0.96) !important; /* Premium Dark Navy */
    backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 159, 28, 0.3) !important; /* Mango Border */
    border-radius: 12px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5) !important;
    padding: 8px !important;
    margin-top: 8px !important;
    z-index: 1300 !important;
    overflow: visible !important; /* Crucial for submenus to show */
    display: none; /* Controlled by JS or Hover */
}

/* Show logic */
.nav-video-dropdown:hover .nav-video-menu,
.nav-podcast-dropdown:hover .nav-podcast-menu {
    display: block !important;
}

/* --- Level 2: Cascade Submenu --- */
@media (min-width: 901px) {
    .nav-video-group {
        position: relative !important; /* Anchor for submenu */
    }

    .nav-video-submenu {
        position: absolute !important;
        top: -8px !important;    /* Slight offset to align with trigger padding */
        left: 100% !important;   /* Strictly to the RIGHT */
        margin-left: 10px !important; /* Gap for the 'bridge' */
        min-width: 280px !important;
        max-width: 340px !important;
        background: rgba(18, 130, 116, 0.98) !important; /* Premium Emerald Green */
        backdrop-filter: blur(12px) !important;
        border: 1px solid rgba(46, 196, 182, 0.4) !important;
        border-radius: 12px !important;
        box-shadow: 10px 10px 40px rgba(0, 0, 0, 0.4) !important;
        padding: 8px !important;
        z-index: 1400 !important;
        display: none !important; /* Hidden by default */
    }

    /* Active State (Controlled by JS) */
    .nav-video-group.is-active .nav-video-submenu {
        display: block !important;
    }

    /* Hover Bridge - Prevents closing when moving mouse to submenu */
    .nav-video-group::after {
        content: '' !important;
        position: absolute !important;
        top: 0 !important;
        left: 100% !important;
        width: 15px !important;
        height: 100% !important;
        z-index: 1350 !important;
    }

    /* Group Triggers */
    .nav-video-group-trigger {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 10px 14px !important;
        color: #fff !important;
        font-weight: 700 !important;
        border-radius: 8px !important;
        transition: all 0.2s ease !important;
    }

    .nav-video-group.is-active .nav-video-group-trigger {
        background: rgba(255, 159, 28, 0.15) !important;
        color: #FF9F1C !important;
    }

    .nav-video-group-trigger i {
        font-size: 12px !important;
        opacity: 0.6 !important;
    }
}

/* --- Mobile Redesign --- */
@media (max-width: 900px) {
    .nav-video-menu,
    .nav-podcast-menu {
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        background: rgba(15, 23, 42, 0.6) !important;
        margin-top: 0 !important;
        box-shadow: none !important;
        border: none !important;
        border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    }

    .nav-video-submenu {
        position: static !important;
        width: 100% !important;
        background: rgba(46, 196, 182, 0.1) !important;
        padding: 0 !important;
        margin: 0 !important;
        border: none !important;
        display: none;
    }

    .nav-video-group.is-active .nav-video-submenu {
        display: block !important;
    }

    .nav-video-group-trigger {
        padding: 12px 20px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    }
}

/* --- Item Styles (Shared) --- */
.nav-video-menu-item,
.nav-podcast-menu-item {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 8px 12px !important;
    border-radius: 8px !important;
    color: rgba(255, 255, 255, 0.85) !important;
    transition: all 0.2s ease !important;
    margin-bottom: 2px !important;
}

.nav-video-menu-item:hover,
.nav-podcast-menu-item:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
}

.nav-video-menu-item-media,
.nav-podcast-menu-item-media {
    width: 32px !important;
    height: 32px !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    background: rgba(255, 255, 255, 0.1) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.nav-video-menu-item-media img,
.nav-podcast-menu-item-media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.nav-video-menu-item-text,
.nav-podcast-menu-item-text {
    font-size: 14px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

        display: none !important;
    }
}

/* Centering Landing Hero Content */
.landing-hero-main {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

.landing-hero-main .hero-cta {
    justify-content: center !important;
    width: 100% !important;
}

.landing-hero-main .kpis {
    justify-content: center !important;
    width: 100% !important;
}

.landing-hero-main p {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
}

/* Deep Navy color for Lernressourcen section headers on landing page */
.landing-media .section-head .section-title,
.landing-media .section-head h2 {
    color: #0b0a2e !important; /* Very Deep Navy */
}

.landing-media .section-head .section-subtitle,
.landing-media .section-head p {
    color: #1a1945 !important; /* Deep Navy Subtitle */
    opacity: 1 !important;
}
/* Dashboard Card Overrides */
.home-page .card,
.profile-page .card {
    background: #fff !important;
    color: #1c2546 !important;
}
.profile-page .card h3,
.profile-page .card h2,
.profile-page .card label,
.profile-page .card p,
.profile-page .card strong {
    color: #1c2546 !important;
}
.profile-page .card .muted,
.profile-page .card small {
    color: #5a6486 !important;
}
.profile-page .card input:not([type="submit"]) {
    color: #1c2546 !important;
    background: #f7f9ff !important;
    border: 1px solid #d4dbef !important;
}

/* Dashboard Progress Grid */
.progress-grid {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 12px !important;
    margin-bottom: 24px !important;
}

.progress-box {
    border: 1px solid #e8dfd1 !important;
    background: #fff !important;
    border-radius: 14px !important;
    padding: 16px 12px !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05) !important;
}

.progress-box strong {
    display: block !important;
    font-size: 24px !important;
    line-height: 1.1 !important;
    color: #1c2546 !important;
}

.progress-box span {
    color: #5a6486 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
}

@media (max-width: 992px) {
    .progress-grid { grid-template-columns: repeat(3, 1fr) !important; }
}

@media (max-width: 768px) {
    .progress-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 480px) {
    .progress-grid { grid-template-columns: 1fr !important; }
}


/* ============================================================
   REVERTING TO PREMIUM DARK THEME (TODAY'S STATE)
   Restoring the glassy dark layout, background image, and centered hero.
   ============================================================ */

.home-page {
    background: #fdfbf7 !important; /* Global light background for sections */
}

/* Hero Section: Switch from Video to Image */
.hero-banner-image {
    display: block !important;
    opacity: 0.35 !important; /* Slightly more visible but still atmospheric */
    z-index: -1 !important;
    object-fit: cover;
}

.hero-video-bg {
    display: none !important;
}

.hero-banner-overlay {
    display: block !important; /* Ensure it overrides any hidden state */
    background: linear-gradient(135deg, #0B132B 0%, #1a1945 100%) !important;
    z-index: 0 !important;
    opacity: 0.92 !important;
}

.landing-hero-main, .hero-content {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto !important;
    z-index: 2 !important;
    color: #fff !important;
}

/* Hide XOLINGO APP Kicker and move headline up */
.landing-kicker {
    display: none !important;
}

.landing-hero {
    padding-top: 15px !important;
    min-height: auto !important;
}

.landing-hero-main h1 {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.landing-hero-main h1, 
.landing-hero-main p {
    color: #fff !important;
}

/* KPI Cards: Glassy Dark in Hero */
.home-page .kpis {
    justify-content: center !important;
    margin-top: 30px !important;
}

.home-page .kpi {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    color: #fff !important;
    border-radius: 20px !important;
    padding: 20px !important;
}

.home-page .kpi strong {
    color: #FF9F1C !important;
    font-size: 32px !important;
}

.home-page .kpi span {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 600 !important;
}

/* Resource Tiles Section: Cream Background as per screenshot */
.home-page .landing-media {
    background: #fdfbf7 !important; 
    padding: 80px 0 !important;
}

.home-page .landing-media .section-head {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

.home-page .landing-media .section-title {
    color: #0b0a2e !important;
    font-weight: 800 !important;
    margin-bottom: 40px !important;
}

.home-page .landing-media .media-tile {
    background: #0B132B !important;
    border: none !important;
    border-radius: 28px !important;
    color: #fff !important;
    box-shadow: 0 25px 50px rgba(11, 19, 43, 0.25) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.home-page .landing-media .media-tile:hover {
    transform: translateY(-12px) scale(1.02) !important;
    box-shadow: 0 35px 70px rgba(11, 19, 43, 0.35) !important;
}

.home-page .landing-media .media-tile .card-body {
    padding: 40px 30px !important;
}

.home-page .landing-media .media-tile .card-body h3 {
    color: #fff !important;
    font-size: 34px !important;
    font-weight: 800 !important;
}

.home-page .landing-media .media-tile .card-body p {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 18px !important;
}

.home-page .landing-media .media-tile .btn-outline {
    background: transparent !important;
    border: 2px solid #00F5D4 !important;
    color: #00F5D4 !important;
    border-radius: 12px !important;
    font-weight: 800 !important;
    padding: 12px 30px !important;
}

/* Fix header for Dark visibility */
.site-header {
    background: #0B132B !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.main-nav a {
    color: rgba(255, 255, 255, 0.85) !important;
}

.main-nav a.active {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
}

.brand-text strong {
    color: #fff !important;
}

/* ============================================================
   MOBILE NAVIGATION: HAMBURGER TRANSITION
   Replacing horizontal scroll with a premium vertical drawer.
   ============================================================ */

@media (max-width: 900px) {
    /* Reset horizontal scroll behavior from style.css */
    .main-nav {
        display: none !important; /* Hidden by default on mobile */
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        background: rgba(11, 19, 43, 0.98) !important;
        backdrop-filter: blur(20px) !important;
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 20px !important;
        gap: 12px !important;
        border-bottom: 2px solid #FF9F1C !important;
        box-shadow: 0 20px 40px rgba(0,0,0,0.5) !important;
        z-index: 1000 !important;
        max-height: 80vh !important;
        overflow-y: auto !important;
        white-space: normal !important;
    }

    .main-nav.open {
        display: flex !important;
        animation: slideDownMenu 0.3s ease-out forwards;
    }

    .main-nav a {
        padding: 14px 18px !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border-radius: 12px !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        text-align: right !important; /* RTL Support */
        width: 100% !important;
        margin: 0 !important;
    }

    .main-nav a.active {
        background: rgba(255, 159, 28, 0.15) !important;
        border-color: #FF9F1C !important;
        color: #FF9F1C !important;
    }

    /* Show and Position the Toggle on the LEFT */
    .menu-toggle {
        display: flex !important;
        background: rgba(255, 255, 255, 0.1) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        color: #fff !important;
        width: 46px !important;
        height: 46px !important;
        border-radius: 12px !important;
        order: 10 !important; /* Force to the left in RTL flex-row */
        margin-right: 0 !important;
        justify-content: center !important;
        align-items: center !important;
        font-size: 20px !important;
    }

    /* Ensure Brand stays on the RIGHT in RTL */
    .main-nav-inner {
        flex-direction: row !important; /* Keep it horizontal */
        justify-content: space-between !important;
        padding: 0 15px !important;
        height: 70px !important;
    }

    .brand {
        order: 1 !important; /* Brand stays on the right (higher order than toggle in LTR, but in RTL we need to be careful) */
        min-width: 0 !important;
        flex: 0 1 auto !important;
    }

    /* Fix dropdowns in mobile menu */
    .nav-podcast-dropdown, .nav-video-dropdown {
        display: flex !important;
        flex-direction: column !important;
        padding: 0 !important;
        margin: 0 !important;
    }
}

@keyframes slideDownMenu {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Xolingo landing Persian typography and mobile polish */
@font-face {
    font-family: 'Yekan';
    src: url('/assets/fonts/Yekan.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

body.home-page,
body.home-page button,
body.home-page input,
body.home-page textarea,
body.home-page select,
body.home-page .brand-name,
body.home-page .brand-tagline,
body.home-page .main-nav a,
body.home-page .top-strip,
body.home-page .btn-primary,
body.home-page .btn-outline,
body.home-page .btn-secondary,
body.home-page .btn-glass {
    font-family: 'Yekan', Tahoma, Arial, sans-serif !important;
    letter-spacing: 0 !important;
}

body.home-page i[class^="fa"],
body.home-page i[class*=" fa-"] {
    font-family: "Font Awesome 6 Free" !important;
}

body.home-page i.fa-brands,
body.home-page i.fab {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400 !important;
}

/* Keep legacy Font Awesome brand class working on landing page (social icons). */
body.home-page .fab {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400 !important;
}

.home-page .landing-hero-main h1 {
    max-width: 980px;
    overflow-wrap: anywhere;
}

.home-page .landing-hero-main p {
    max-width: 860px;
}

@media (max-width: 900px) {
    body.home-page {
        padding-top: 0 !important;
    }

    body.home-page .site-header {
        position: sticky !important;
        top: 0 !important;
        z-index: 1001 !important;
    }

    body.home-page .header-container,
    body.home-page .header-main {
        min-width: 0 !important;
    }

    body.home-page .header-container {
        width: min(100% - 24px, 1180px) !important;
    }

    body.home-page .header-main {
        gap: 10px !important;
    }

    body.home-page .brand {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        gap: 8px !important;
    }

    body.home-page .brand-logo {
        height: 42px !important;
        flex: 0 0 auto !important;
    }

    body.home-page .brand-text {
        min-width: 0 !important;
        overflow: hidden !important;
    }

    body.home-page .brand-name,
    body.home-page .brand-tagline {
        display: block !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    body.home-page .brand-name {
        font-size: 15px !important;
        line-height: 1.35 !important;
    }

    body.home-page .brand-tagline {
        font-size: 11px !important;
        line-height: 1.5 !important;
    }

    body.home-page .main-nav {
        top: calc(100% + 1px) !important;
    }
}

@media (max-width: 640px) {
    body.home-page .container {
        width: min(100% - 24px, 1180px) !important;
    }

    .home-page .landing-hero {
        padding: 24px 0 30px !important;
        min-height: auto !important;
    }

    .home-page .landing-hero-main,
    .home-page .hero-content {
        width: 100% !important;
        padding: 0 !important;
    }

    .home-page .landing-hero-main h1 {
        width: 100% !important;
        margin: 0 auto 12px !important;
        font-size: clamp(24px, 8vw, 34px) !important;
        line-height: 1.45 !important;
        min-height: 3.2em !important;
    }

    .home-page .landing-hero-main p {
        width: 100% !important;
        font-size: 15px !important;
        line-height: 1.9 !important;
        min-height: 6em !important;
    }

    .home-page .hero-cta {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        margin-top: 18px !important;
    }

    .home-page .hero-cta .btn-primary,
    .home-page .hero-cta .btn-outline {
        width: 100% !important;
        justify-content: center !important;
        min-height: 48px !important;
        padding: 12px 14px !important;
        font-size: 14px !important;
    }

    .home-page .kpis {
        grid-template-columns: 1fr !important;
        width: 100% !important;
        gap: 10px !important;
        margin-top: 22px !important;
    }

    .home-page .kpi {
        min-height: 82px !important;
        padding: 14px 16px !important;
        border-radius: 16px !important;
    }

    .home-page .kpi strong {
        font-size: 26px !important;
        line-height: 1.2 !important;
    }

    .home-page .landing-media {
        padding: 52px 0 !important;
    }

    .home-page .landing-media .section-head {
        width: 100% !important;
        margin-bottom: 22px !important;
    }

    .home-page .landing-media .section-title {
        margin-bottom: 18px !important;
        font-size: 27px !important;
        line-height: 1.45 !important;
    }

    .home-page .landing-media .section-subtitle {
        font-size: 15px !important;
        line-height: 1.9 !important;
    }

    .home-page .landing-media .cards-grid {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    .home-page .landing-media .media-tile {
        min-height: auto !important;
        border-radius: 20px !important;
    }

    .home-page .landing-media .media-tile .card-body {
        padding: 28px 20px !important;
    }

    .home-page .landing-media .media-tile .card-body h3 {
        font-size: 27px !important;
        line-height: 1.45 !important;
    }

    .home-page .landing-media .media-tile .card-body p {
        font-size: 15px !important;
        line-height: 1.9 !important;
    }

    .home-page .landing-contact .landing-contact-body {
        text-align: center !important;
        justify-content: center !important;
    }
}

@media (max-width: 380px) {
    body.home-page .brand-logo {
        height: 36px !important;
    }

    body.home-page .brand-name {
        font-size: 13px !important;
    }

    body.home-page .brand-tagline {
        font-size: 10px !important;
    }

    body.home-page .menu-toggle {
        width: 40px !important;
        height: 40px !important;
    }
}
