/* ============================================================
   Yasso Blog — premium, multilingual (LTR + RTL) stylesheet
   Brand tokens mirror the main site (index.html :root).
   ============================================================ */

:root {
    --primary-orange: #FF8C42;
    --primary-orange-dark: #A85C16;
    --orange-soft: #FFF1E6;
    --soft-blue: #4A90E2;
    --cream-bg: #FFF9F2;
    --dark-text: #2D2D2D;
    --muted-text: #6b6258;
    --light-gray: #F5F5F5;
    --border: #efe7dc;
    --success-green: #4CAF50;
    --soft-lavender: #E8DFF5;
    --warm-pink: #FFD1DC;
    --white: #FFFFFF;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(45,45,45,0.16);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --maxw: 1200px;
    --measure: 720px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }

body {
    margin: 0;
    font-family: 'Nunito', system-ui, sans-serif;
    color: var(--dark-text);
    background: var(--cream-bg);
    line-height: 1.7;
    overflow-x: hidden;
}
[dir="rtl"] body { font-family: 'Cairo', 'Nunito', system-ui, sans-serif; }

h1, h2, h3, h4, h5, h6 { font-family: 'Fredoka', sans-serif; line-height: 1.2; margin: 0; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4 { font-family: 'Cairo', 'Fredoka', sans-serif; font-weight: 700; }

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.skip-link {
    position: absolute; left: -999px; top: 0; z-index: 2000;
    background: var(--primary-orange); color: #fff; padding: 10px 18px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ---- Navbar (mirrors main site) ---- */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 16px 0; background: rgba(255,249,242,0.72);
    backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.04); transition: all var(--transition);
}
.navbar.scrolled { background: rgba(255,249,242,0.92); box-shadow: 0 1px 12px rgba(0,0,0,0.06); padding: 12px 0; }
.navbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-family: 'Fredoka', sans-serif; font-size: 1.5rem; font-weight: 700; color: var(--primary-orange); }
.nav-logo img { height: 40px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links > a { font-weight: 700; font-size: 0.95rem; color: var(--dark-text); position: relative; transition: color var(--transition); }
.nav-links > a:not(.nav-cta)::after { content: ''; position: absolute; bottom: -5px; inset-inline-start: 0; width: 0; height: 2px; background: var(--primary-orange); border-radius: 2px; transition: width var(--transition); }
.nav-links > a:not(.nav-cta):hover::after, .nav-links > a.active::after { width: 100%; }
.nav-links > a:hover, .nav-links > a.active { color: var(--primary-orange); }

.lang-switch { display: inline-flex; align-items: center; gap: 4px; background: rgba(255,140,66,0.10); border-radius: 50px; padding: 4px; }
.lang-opt { font-size: 0.82rem; font-weight: 700; padding: 5px 12px; border-radius: 50px; color: var(--muted-text); transition: all var(--transition); }
.lang-opt.active { background: var(--white); color: var(--primary-orange); box-shadow: var(--shadow-sm); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; border-radius: var(--radius-lg); transition: all var(--transition); }
.btn-primary { background: var(--primary-orange); color: #fff; padding: 12px 26px; box-shadow: 0 4px 16px rgba(255,140,66,0.35); }
.btn-primary:hover { background: var(--primary-orange-dark); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(255,140,66,0.45); }
.btn-ghost { background: var(--white); color: var(--dark-text); border: 2px solid var(--border); padding: 11px 24px; }
.btn-ghost:hover { border-color: var(--primary-orange); color: var(--primary-orange); }
.nav-cta { padding: 9px 22px; border-radius: 50px; }
.nav-cta::after { display: none; }

.menu-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.menu-toggle span { width: 24px; height: 2px; background: var(--dark-text); border-radius: 2px; transition: all var(--transition); }
.mobile-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.4); opacity: 0; visibility: hidden; transition: all var(--transition); z-index: 998; }
.mobile-overlay.open { opacity: 1; visibility: visible; }

main { padding-top: 72px; }

/* ---- Reading progress ---- */
.reading-progress { position: fixed; top: 0; inset-inline-start: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--primary-orange), #ffb27d); z-index: 1100; transition: width 0.1s linear; }

/* ---- Page heading ---- */
.blog-hero-band { background: linear-gradient(180deg, #FFF4E9 0%, var(--cream-bg) 100%); padding: 48px 0 8px; }
.blog-kicker { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.78rem; color: var(--primary-orange); background: var(--orange-soft); padding: 6px 14px; border-radius: 50px; }
.blog-title-xl { font-size: clamp(2rem, 5vw, 3.1rem); font-weight: 700; margin: 16px 0 10px; letter-spacing: -0.02em; }
.blog-subtitle { color: var(--muted-text); font-size: 1.1rem; max-width: 640px; }

/* ---- Category chips ---- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 8px; }
.chip { font-weight: 700; font-size: 0.9rem; padding: 8px 16px; border-radius: 50px; background: var(--white); border: 1.5px solid var(--border); color: var(--muted-text); transition: all var(--transition); }
.chip:hover { border-color: var(--primary-orange); color: var(--primary-orange); transform: translateY(-1px); }
.chip.active { background: var(--primary-orange); border-color: var(--primary-orange); color: #fff; }

/* ---- Featured post ---- */
.section { padding: 40px 0; }
.featured { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; background: var(--white); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--border); }
.featured:hover { box-shadow: var(--shadow-lg); }
.featured-media { position: relative; min-height: 300px; overflow: hidden; }
.featured-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.featured:hover .featured-media img { transform: scale(1.04); }
.featured-body { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.featured-body .post-cat { color: var(--primary-orange); font-weight: 800; text-transform: uppercase; font-size: 0.78rem; letter-spacing: 0.05em; }
.featured-body h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 12px 0; }
.featured-body p { color: var(--muted-text); margin: 0 0 18px; }

/* ---- Card grid ---- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card-post { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border); transition: transform var(--transition), box-shadow var(--transition); display: flex; flex-direction: column; }
.card-post:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-media { aspect-ratio: 16/10; overflow: hidden; background: var(--orange-soft); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.card-post:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.post-cat { color: var(--primary-orange); font-weight: 800; text-transform: uppercase; font-size: 0.74rem; letter-spacing: 0.05em; }
.card-body h3 { font-size: 1.2rem; margin: 8px 0 8px; line-height: 1.3; }
.card-body p { color: var(--muted-text); font-size: 0.95rem; margin: 0 0 16px; flex: 1; }
.post-meta { display: flex; align-items: center; gap: 10px; font-size: 0.82rem; color: var(--muted-text); }
.post-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: #ccc; }
.read-more { margin-top: 14px; color: var(--primary-orange); font-weight: 800; font-size: 0.92rem; display: inline-flex; align-items: center; gap: 6px; }
.read-more svg { transition: transform var(--transition); }
[dir="rtl"] .read-more svg { transform: scaleX(-1); }
.card-post:hover .read-more svg { transform: translateX(4px); }
[dir="rtl"] .card-post:hover .read-more svg { transform: scaleX(-1) translateX(4px); }

/* ---- Pagination ---- */
.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin: 48px 0 8px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; border-radius: 50px; font-weight: 700; background: var(--white); border: 1.5px solid var(--border); color: var(--dark-text); transition: all var(--transition); }
.pagination a:hover { border-color: var(--primary-orange); color: var(--primary-orange); }
.pagination .active { background: var(--primary-orange); border-color: var(--primary-orange); color: #fff; }
.pagination .disabled { opacity: 0.4; pointer-events: none; }

/* ---- Empty state ---- */
.empty { text-align: center; padding: 80px 20px; color: var(--muted-text); }
.empty img { width: 140px; margin: 0 auto 20px; }
.empty h3 { font-size: 1.4rem; margin-bottom: 8px; color: var(--dark-text); }

/* ============================================================
   Article page
   ============================================================ */
.article-head { background: linear-gradient(180deg, #FFF4E9 0%, var(--cream-bg) 100%); padding: 32px 0 24px; }
.breadcrumb { font-size: 0.85rem; color: var(--muted-text); display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--primary-orange); }
.breadcrumb .sep { opacity: 0.5; }
.article-title { font-size: clamp(1.9rem, 4.5vw, 3rem); font-weight: 700; letter-spacing: -0.02em; max-width: 900px; margin-bottom: 16px; }
.article-meta-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; color: var(--muted-text); font-size: 0.92rem; }
.author-chip { display: inline-flex; align-items: center; gap: 10px; }
.author-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--orange-soft); display: inline-flex; align-items: center; justify-content: center; overflow: hidden; }
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-name { font-weight: 800; color: var(--dark-text); }

.hero-figure { margin: 0; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--orange-soft); }
.hero-figure img { width: 100%; max-height: 520px; object-fit: cover; }
.hero-credit { font-size: 0.78rem; color: var(--muted-text); margin-top: 8px; text-align: center; }
.hero-credit a { color: var(--muted-text); text-decoration: underline; }
.hero-credit a:hover { color: var(--primary-orange); }

.article-layout { display: grid; grid-template-columns: 1fr; gap: 48px; padding: 40px 0 24px; }
.article-layout.with-toc { grid-template-columns: 260px minmax(0, var(--measure)); justify-content: center; }

/* TOC */
.toc-wrap { position: sticky; top: 96px; align-self: start; max-height: calc(100vh - 120px); overflow: auto; }
.toc-title { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted-text); font-weight: 800; margin-bottom: 12px; }
.toc { list-style: none; margin: 0; padding: 0; border-inline-start: 2px solid var(--border); }
.toc li { margin: 0; }
.toc li.lvl-3 a { padding-inline-start: 28px; font-size: 0.86rem; }
.toc a { display: block; padding: 7px 14px; font-size: 0.9rem; color: var(--muted-text); border-inline-start: 2px solid transparent; margin-inline-start: -2px; transition: all var(--transition); }
.toc a:hover { color: var(--primary-orange); }
.toc a.active { color: var(--primary-orange); border-inline-start-color: var(--primary-orange); font-weight: 700; }

/* Article body typography */
.article-body { max-width: var(--measure); font-size: 1.12rem; }
.article-body > p:first-of-type { font-size: 1.22rem; color: #423c34; }
.article-body p { margin: 0 0 1.3em; }
.article-body h2 { font-size: 1.7rem; margin: 1.8em 0 0.6em; scroll-margin-top: 90px; }
.article-body h3 { font-size: 1.32rem; margin: 1.5em 0 0.5em; scroll-margin-top: 90px; }
.article-body ul, .article-body ol { margin: 0 0 1.3em; padding-inline-start: 1.4em; }
.article-body li { margin-bottom: 0.5em; }
.article-body a { color: var(--primary-orange); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.article-body strong { color: #2a2a2a; }
.article-body blockquote { margin: 1.6em 0; padding: 18px 24px; background: var(--orange-soft); border-inline-start: 4px solid var(--primary-orange); border-radius: 0 var(--radius-md) var(--radius-md) 0; font-style: italic; color: #5a5248; }
[dir="rtl"] .article-body blockquote { border-radius: var(--radius-md) 0 0 var(--radius-md); }
.article-body table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: 0.98rem; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.article-body th, .article-body td { padding: 12px 16px; text-align: start; border-bottom: 1px solid var(--border); }
.article-body thead th { background: var(--primary-orange); color: #fff; font-family: 'Fredoka', sans-serif; }
[dir="rtl"] .article-body thead th { font-family: 'Cairo', sans-serif; }
.article-body tbody tr:nth-child(even) { background: #fdf7f0; }
.article-body img { border-radius: var(--radius-lg); margin: 1.6em 0; box-shadow: var(--shadow-md); }
.article-body hr { border: none; border-top: 1px solid var(--border); margin: 2em 0; }

/* Key takeaways callout */
.takeaways { background: linear-gradient(135deg, #FFF1E6, #FFE9D6); border: 1px solid #ffd9b8; border-radius: var(--radius-lg); padding: 24px 28px; margin: 0 0 32px; box-shadow: var(--shadow-sm); }
.takeaways h2 { font-size: 1.2rem; display: flex; align-items: center; gap: 10px; margin-bottom: 14px; color: var(--primary-orange-dark); }
.takeaways ul { list-style: none; margin: 0; padding: 0; }
.takeaways li { position: relative; padding-inline-start: 30px; margin-bottom: 10px; color: #4a4036; }
.takeaways li::before { content: '✓'; position: absolute; inset-inline-start: 0; top: 0; width: 20px; height: 20px; background: var(--primary-orange); color: #fff; border-radius: 50%; font-size: 0.7rem; display: flex; align-items: center; justify-content: center; font-weight: 800; }

/* FAQ */
.faq { margin: 40px 0; }
.faq h2 { font-size: 1.6rem; margin-bottom: 18px; }
.faq-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); margin-bottom: 12px; overflow: hidden; }
.faq-q { width: 100%; text-align: start; padding: 18px 22px; font-weight: 800; font-size: 1.05rem; color: var(--dark-text); display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: 'Fredoka', sans-serif; }
[dir="rtl"] .faq-q { font-family: 'Cairo', sans-serif; }
.faq-q .ico { flex-shrink: 0; transition: transform var(--transition); color: var(--primary-orange); font-size: 1.4rem; line-height: 1; }
.faq-item.open .faq-q .ico { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease; padding: 0 22px; color: var(--muted-text); }
.faq-item.open .faq-a { max-height: 600px; padding: 0 22px 20px; }

/* Share */
.share-row { display: flex; align-items: center; gap: 10px; margin: 28px 0; flex-wrap: wrap; }
.share-row .label { font-weight: 800; color: var(--muted-text); font-size: 0.9rem; }
.share-btn { width: 42px; height: 42px; border-radius: 50%; background: var(--white); border: 1.5px solid var(--border); display: inline-flex; align-items: center; justify-content: center; color: var(--muted-text); transition: all var(--transition); }
.share-btn:hover { background: var(--primary-orange); border-color: var(--primary-orange); color: #fff; transform: translateY(-2px); }
.share-btn.copied { background: var(--success-green); border-color: var(--success-green); color: #fff; }

/* Tags */
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
.tag { font-size: 0.82rem; font-weight: 700; color: var(--muted-text); background: #f3ece2; padding: 6px 13px; border-radius: 50px; }

/* App CTA */
.app-cta { background: linear-gradient(135deg, #2D2D2D, #3a342e); color: #fff; border-radius: var(--radius-xl); padding: 40px; margin: 40px 0; display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: center; overflow: hidden; position: relative; box-shadow: var(--shadow-lg); }
.app-cta.inline { grid-template-columns: 1fr; text-align: center; padding: 32px; }
.app-cta h3 { font-size: 1.6rem; color: #fff; margin-bottom: 10px; }
.app-cta p { color: rgba(255,255,255,0.78); margin: 0 0 18px; }
.app-cta .badges { display: flex; gap: 12px; flex-wrap: wrap; }
.app-cta.inline .badges { justify-content: center; }
.app-cta .store-badge { height: 50px; width: auto; transition: transform var(--transition); }
.app-cta .store-badge:hover { transform: translateY(-3px); }
.app-cta .cta-bear { max-width: 180px; margin: 0 auto; }
.app-cta .android-note { font-size: 0.8rem; color: rgba(255,255,255,0.6); margin-top: 10px; }

/* Newsletter */
.newsletter { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 36px; text-align: center; box-shadow: var(--shadow-sm); margin: 40px 0; }
.newsletter h3 { font-size: 1.5rem; margin-bottom: 8px; }
.newsletter p { color: var(--muted-text); margin: 0 auto 20px; max-width: 460px; }
.subscribe-form { display: flex; gap: 10px; max-width: 460px; margin: 0 auto; }
.subscribe-form input { flex: 1; padding: 14px 18px; border: 2px solid var(--border); border-radius: 50px; font-size: 1rem; font-family: inherit; outline: none; transition: border-color var(--transition); }
.subscribe-form input:focus { border-color: var(--primary-orange); }
.subscribe-form button { white-space: nowrap; }
.subscribe-note { font-size: 0.82rem; color: var(--muted-text); margin-top: 12px; }
.subscribe-note.error { color: #d9534f; }

/* Delightful subscribe confirmation */
.subscribe-success { display: flex; flex-direction: column; align-items: center; gap: 6px; animation: successPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); }
.subscribe-success .success-ico {
    width: 64px; height: 64px; border-radius: 50%;
    background: linear-gradient(135deg, var(--success-green), #66BB6A); color: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 26px rgba(76,175,80,0.38); margin-bottom: 8px;
}
.subscribe-success .success-ico svg { width: 34px; height: 34px; stroke-dasharray: 32; stroke-dashoffset: 32; animation: drawCheck 0.45s 0.18s forwards ease-out; }
.subscribe-success h3 { font-size: clamp(1.4rem, 3vw, 1.7rem); color: var(--dark-text); margin: 0; }
.subscribe-success p { color: var(--muted-text); margin: 0; max-width: 440px; }
@keyframes successPop { from { opacity: 0; transform: scale(0.92) translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes drawCheck { to { stroke-dashoffset: 0; } }

/* Related */
.related { margin: 48px 0 8px; }
.related h2 { font-size: 1.6rem; margin-bottom: 20px; }

/* Author bio box */
.author-box { display: flex; gap: 18px; align-items: center; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px 24px; margin: 32px 0; box-shadow: var(--shadow-sm); }
.author-box .author-avatar { width: 60px; height: 60px; flex-shrink: 0; }
.author-box h4 { font-size: 1.1rem; margin-bottom: 4px; }
.author-box p { color: var(--muted-text); font-size: 0.92rem; margin: 0; }

/* Footer (mirrors main site) */
.footer { background: var(--dark-text); color: rgba(255,255,255,0.7); padding: 56px 0 28px; margin-top: 40px; }
.footer-content { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 32px; margin-bottom: 32px; }
.footer-logo { font-family: 'Fredoka', sans-serif; font-size: 1.5rem; font-weight: 700; color: #fff; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
[dir="rtl"] .footer-logo { font-family: 'Cairo', sans-serif; }
.footer-logo-img { height: 36px; width: auto; }
.footer-brand p { font-size: 0.92rem; max-width: 280px; }
.footer-links { display: flex; gap: 40px; flex-wrap: wrap; }
.footer-links a { font-size: 0.92rem; color: rgba(255,255,255,0.7); transition: color var(--transition); }
.footer-links a:hover { color: var(--primary-orange); }
.footer-social { display: flex; gap: 14px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.7); transition: all var(--transition); }
.footer-social a:hover { background: var(--primary-orange); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 0.85rem; }

/* Back to top */
.back-to-top { position: fixed; inset-inline-end: 24px; bottom: 24px; width: 48px; height: 48px; border-radius: 50%; background: var(--primary-orange); color: #fff; box-shadow: var(--shadow-lg); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all var(--transition); z-index: 900; }
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---- Responsive ---- */
@media (max-width: 980px) {
    .article-layout.with-toc { grid-template-columns: 1fr; }
    .toc-wrap { display: none; }
    .featured { grid-template-columns: 1fr; }
    .featured-media { min-height: 220px; }
    .grid { grid-template-columns: repeat(2, 1fr); }
    .app-cta { grid-template-columns: 1fr; text-align: center; }
    .app-cta .badges { justify-content: center; }
    .app-cta .cta-bear { display: none; }
}
@media (max-width: 768px) {
    .nav-links {
        position: fixed; top: 0; inset-inline-end: -300px; width: 280px; height: 100vh;
        background: #fff; flex-direction: column; align-items: flex-start; justify-content: flex-start;
        padding: 88px 28px 28px; gap: 22px; box-shadow: var(--shadow-lg); transition: inset-inline-end var(--transition); z-index: 999;
    }
    .nav-links.open { inset-inline-end: 0; }
    .menu-toggle { display: flex; }
    .nav-cta { width: 100%; }
    .lang-switch { width: 100%; justify-content: center; }
    body.menu-open { overflow: hidden; }
}
@media (max-width: 620px) {
    .grid { grid-template-columns: 1fr; }
    .featured-body, .app-cta, .newsletter { padding: 26px; }
    .subscribe-form { flex-direction: column; }
    .subscribe-form input, .subscribe-form button { width: 100%; }
    .article-body { font-size: 1.06rem; }
}
