/* GOHUNO public websites — shared layout with four brand themes. */
:root {
  --bg: #fbfaf8; --surface: #fff; --surface-2: #f3f1ec; --ink: #1a1b22; --muted: #6b6f7b; --line: #e7e4dd;
  --accent: #635bce; --accent-ink: #fff; --accent-2: var(--accent);
  --display: Georgia, serif; --body: system-ui, -apple-system, 'Segoe UI', sans-serif; --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  --radius: 14px; --radius-sm: 8px; --max: 1180px; --shadow: 0 10px 30px rgb(20 20 40 / .08);
}
.theme-benna { --bg: #fbf6ee; --surface: #fffdf9; --surface-2: #f4eadb; --ink: #2b1d14; --muted: #7c6a5b; --line: #ead9c3; --accent: #c2410c; --accent-2: #6b8e23;
  --display: 'Fraunces', Georgia, serif; --body: 'Nunito Sans', system-ui, sans-serif; --radius: 18px; }
.theme-lootiq { --bg: #0b0b12; --surface: #14141f; --surface-2: #1c1c2b; --ink: #ecebf5; --muted: #9a98b3; --line: #2a2940; --accent: #8b5cf6; --accent-2: #a3e635;
  --display: 'Space Grotesk', system-ui, sans-serif; --body: 'Inter', system-ui, sans-serif; --radius: 12px; --shadow: 0 10px 40px rgb(139 92 246 / .15); color-scheme: dark; }
.theme-infraza { --bg: #f6f8fb; --surface: #fff; --surface-2: #eef2f7; --ink: #0f172a; --muted: #5b6b82; --line: #dde4ee; --accent: #0891b2; --accent-2: #0f766e;
  --display: 'IBM Plex Sans', system-ui, sans-serif; --body: 'IBM Plex Sans', system-ui, sans-serif; --mono: 'IBM Plex Mono', ui-monospace, monospace; --radius: 10px; }
.theme-rahhal { --bg: #fdfcf9; --surface: #fff; --surface-2: #f1efe6; --ink: #1f2a24; --muted: #66716a; --line: #e4e1d6; --accent: #047857; --accent-2: #b45309;
  --display: 'Playfair Display', Georgia, serif; --body: 'Karla', system-ui, sans-serif; --radius: 4px; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.65 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); } h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); } h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
/* Hidden above the page rather than off to one side, which would add a horizontal scroll area in right-to-left pages. */
.skip { position: absolute; inset-inline-start: 1rem; top: -100px; } .skip:focus { top: 1rem; z-index: 99; background: var(--surface); padding: .5rem 1rem; }
main { max-width: var(--max); margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px) 64px; min-height: 60vh; }
.loading { display: flex; gap: 12px; align-items: center; justify-content: center; padding: 120px 0; color: var(--muted); }
.loading span { width: 18px; height: 18px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--accent); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.kicker { display: inline-block; font: 700 .72rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: .7em; }
.button { display: inline-flex; align-items: center; gap: .4em; background: var(--accent); color: var(--accent-ink); text-decoration: none; border: 0; border-radius: 999px; padding: .75em 1.4em; font: 700 .92rem var(--body); cursor: pointer; }
.button:hover { filter: brightness(1.08); } .button.small { padding: .45em 1em; font-size: .82rem; }
.chip { display: inline-flex; align-items: center; gap: .3em; font-size: .78rem; font-weight: 600; color: var(--muted); background: var(--surface-2); padding: .25em .7em; border-radius: 999px; }
.empty { text-align: center; color: var(--muted); padding: 64px 16px; } .empty.big { padding: 120px 16px; } .empty.big h1 { color: var(--ink); }

/* Masthead */
.masthead { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.bar { max-width: var(--max); margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); min-height: 72px; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex-shrink: 0; white-space: nowrap; }
.brand svg { width: 34px; height: 34px; color: var(--accent); flex-shrink: 0; }
.brand strong { display: block; font: 700 1.15rem/1.1 var(--display); }
.brand small { display: block; font-size: .7rem; color: var(--muted); letter-spacing: .06em; }
.nav { margin-inline-start: auto; display: flex; align-items: center; gap: 2px; flex-wrap: nowrap; }
.nav > a { text-decoration: none; font-size: .86rem; font-weight: 600; color: var(--muted); padding: .45em .65em; border-radius: 999px; white-space: nowrap; }
.nav > a:hover, .nav > a.active { color: var(--ink); background: var(--surface-2); }
.search { display: flex; align-items: center; background: var(--surface-2); border-radius: 999px; padding-block: 2px; padding-inline: 14px 4px; margin-inline-start: 8px; }
.search input { border: 0; background: transparent; font: inherit; font-size: .88rem; width: 120px; color: var(--ink); outline: 0; }
.search button { border: 0; background: none; font-size: 1.2rem; cursor: pointer; color: var(--muted); }
.search.big { max-width: 560px; margin: 1em 0; padding-block: 6px; padding-inline: 18px 6px; background: var(--surface); border: 1px solid var(--line); }
.search.big input { width: 100%; font-size: 1rem; } .search.big .button { font-size: .85rem; }
.menu-toggle { display: none; margin-inline-start: auto; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; }
@media (max-width: 1280px) {
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 72px; background: var(--bg); border-bottom: 1px solid var(--line); padding: 12px 16px 20px; flex-direction: column; align-items: stretch; }
  .nav-open .nav { display: flex; } .search { margin: 8px 0 0; } .search input { width: 100%; }
}
/* Wide screens where the sections don't fit beside the logo (e.g. longer French or Arabic names): sections get their own row. */
.nav-compact .bar { flex-wrap: wrap; row-gap: 2px; padding-top: 12px; }
.nav-compact .nav { order: 3; flex-basis: 100%; margin-inline-start: -.65em; flex-wrap: wrap; padding: 0 0 8px; gap: 2px 4px; }
.nav-compact .search.in-bar { margin-inline-start: auto; }
/* Search sits in the header bar on wide screens and inside the menu on smaller ones. */
.search.in-menu { display: none; }
@media (max-width: 1280px) { .search.in-bar { display: none; } .search.in-menu { display: flex; } }

/* Sections & cards */
.section { margin-top: 64px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.section-head h2 { margin: 0; } .section-head a { font-size: .9rem; font-weight: 700; color: var(--accent); text-decoration: none; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-link { position: absolute; inset: 0; z-index: 1; }
.card-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; } .card:hover .card-media img { transform: scale(1.04); }
.card-media.placeholder { display: grid; place-items: center; } .card-media.placeholder svg { width: 56px; color: var(--line); }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 1.2rem; margin-bottom: .4em; } .card-body p { color: var(--muted); font-size: .93rem; flex: 1; }
.card-meta { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-top: auto; padding-top: 8px; }
.card.compact .card-media { aspect-ratio: 4 / 3; } .card.compact h3 { font-size: 1.05rem; }
.score-badge { display: inline-grid; place-items: center; min-width: 2.6em; height: 2.6em; padding: 0 .4em; border-radius: 10px; font: 700 .9rem var(--display); background: var(--surface-2); color: var(--ink); }
.score-badge[data-tier="top"] { background: var(--accent-2); color: #111; } .score-badge[data-tier="good"] { background: var(--accent); color: #fff; }
.level-beginner { color: #15803d !important; } .level-intermediate { color: #b45309 !important; } .level-advanced { color: #b91c1c !important; }

/* Hero variants */
.hero { margin-top: 32px; }
.hero-split { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: center; }
.hero-split .hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.hero-split h1 a, .hero-full h1 a, .hero-neon h1 a { text-decoration: none; }
.facts { display: flex; gap: 24px; margin: 1.2em 0 1.6em; }
.facts span { display: flex; flex-direction: column; font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.facts b { font: 700 1.25rem var(--display); color: var(--ink); text-transform: none; letter-spacing: 0; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.tile { position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; text-decoration: none; background: var(--surface-2); }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile span { position: absolute; inset: auto 0 0; padding: 30px 14px 12px; color: #fff; font: 700 1.05rem var(--display); background: linear-gradient(transparent, rgb(0 0 0 / .7)); }
.tile small { display: block; font: 600 .75rem var(--body); opacity: .85; }
.hero-neon { position: relative; overflow: hidden; border-radius: var(--radius); min-height: 420px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 40px; border: 1px solid var(--line); }
.hero-neon .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.hero-neon::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 20%, transparent), radial-gradient(circle at 85% 20%, rgb(139 92 246 / .35), transparent 50%); }
.hero-neon > *:not(img) { position: relative; z-index: 1; } .hero-neon .hero-copy { max-width: 620px; } .hero-neon p { color: var(--muted); }
.score-ring { --score: 8; width: 96px; height: 96px; flex-shrink: 0; border-radius: 50%; display: grid; place-content: center; text-align: center; background: radial-gradient(closest-side, var(--surface) 78%, transparent 80% 100%), conic-gradient(var(--accent-2) calc(var(--score) * 10%), var(--surface-2) 0); }
.score-ring b { font: 700 1.7rem/1 var(--display); } .score-ring small { font-size: .7rem; color: var(--muted); }
.score-ring.big { width: 150px; height: 150px; } .score-ring.big b { font-size: 2.8rem; }
.split { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; } .split .grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.rank ol { list-style: none; margin: 0; padding: 0; counter-reset: r; }
.rank li a { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.rank li small { display: block; font-weight: 400; color: var(--muted); font-size: .8rem; }
.hero-terminal { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; align-items: end; background: #0f172a; color: #e2e8f0; border-radius: var(--radius); padding: clamp(28px, 5vw, 56px); }
.hero-terminal h1 { color: #fff; } .hero-terminal p { color: #94a3b8; max-width: 60ch; } .hero-terminal .kicker { color: #67e8f9; }
.terminal { background: #020617; border: 1px solid #1e293b; border-radius: 10px; padding: 14px 16px; font: .85rem/1.7 var(--mono); margin-top: 24px; overflow-x: auto; }
.terminal .dots { display: flex; gap: 6px; margin-bottom: 10px; } .terminal .dots i { width: 10px; height: 10px; border-radius: 50%; background: #334155; }
.terminal span { color: #67e8f9; } .terminal em { color: #4ade80; font-style: normal; }
.hero-feature { display: block; background: #1e293b; border: 1px solid #334155; border-radius: 10px; padding: 20px; text-decoration: none; color: #fff; }
.hero-feature strong { display: block; font-size: 1.15rem; margin-bottom: 12px; }
.paths { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.path { display: flex; flex-direction: column; gap: 6px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--radius); text-decoration: none; }
.path span { color: var(--muted); font-size: .9rem; flex: 1; } .path small { color: var(--accent); font-weight: 700; }
.rows { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.row { display: grid; grid-template-columns: 170px 1fr auto; gap: 16px; align-items: center; padding: 16px 20px; text-decoration: none; border-bottom: 1px solid var(--line); }
.row:last-child { border-bottom: 0; } .row:hover { background: var(--surface-2); } .row .kicker { margin: 0; }
.row-meta { display: flex; gap: 6px; align-items: center; } .row time { font-size: .8rem; color: var(--muted); margin-inline-start: 8px; }
.hero-full { position: relative; margin: 0 calc(-1 * clamp(16px, 4vw, 32px)); min-height: min(78vh, 680px); display: flex; align-items: flex-end; color: #fff; }
.hero-full img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-full::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(10 20 15 / .72), rgb(10 20 15 / .25) 60%, transparent), linear-gradient(transparent 40%, rgb(10 20 15 / .7)); }
.hero-full h1 { text-shadow: 0 2px 20px rgb(0 0 0 / .35); }
.hero-full .hero-copy { position: relative; z-index: 1; max-width: 760px; padding: clamp(24px, 6vw, 72px); }
.hero-full .kicker { color: #fde68a; } .hero-full p { font-size: 1.15rem; opacity: .92; }
.postcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.postcard { position: relative; aspect-ratio: 3 / 4; overflow: hidden; text-decoration: none; color: #fff; border-radius: var(--radius); }
.postcard img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; } .postcard:hover img { transform: scale(1.05); }
.postcard span { position: absolute; inset: auto 0 0; padding: 60px 22px 22px; font: 700 1.5rem/1.2 var(--display); background: linear-gradient(transparent, rgb(0 0 0 / .75)); }
.postcard small { display: block; font: 700 .72rem var(--body); letter-spacing: .14em; text-transform: uppercase; color: #fde68a; margin-bottom: 4px; }
.hero.simple { text-align: center; padding: 80px 0; }
@media (max-width: 900px) { .hero-split, .hero-terminal, .split { grid-template-columns: 1fr; } .row { grid-template-columns: 1fr; gap: 4px; } .hero-neon { flex-direction: column; align-items: flex-start; padding: 24px; } }

/* Listing & about */
.listing-head { padding: 48px 0 8px; max-width: 760px; } .listing-head p { color: var(--muted); font-size: 1.1rem; } .listing-head small { color: var(--muted); }
.listing-head + .grid { margin-top: 24px; }
.about { max-width: 760px; padding-top: 48px; } .about .lede { font-size: 1.3rem; color: var(--muted); }
.about-stats { display: flex; gap: 40px; margin: 32px 0; } .about-stats b { display: block; font: 700 2.4rem var(--display); color: var(--accent); }
.about-cats li { margin-bottom: .4em; }

/* Article */
.preview-banner { margin-top: 16px; background: #fef3c7; color: #78350f; border: 1px solid #fcd34d; border-radius: var(--radius-sm); padding: 10px 16px; font-size: .9rem; text-align: center; }
.article-head { max-width: 820px; margin: 40px auto 28px; text-align: center; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 16px; } .crumbs a { color: var(--accent); text-decoration: none; font-weight: 700; }
.article-head .lede { font-size: 1.2rem; color: var(--muted); max-width: 680px; margin: 0 auto 1em; }
.byline { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; align-items: center; font-size: .88rem; color: var(--muted); }
.cover { margin: 0 0 40px; } .cover img { width: 100%; max-height: 640px; object-fit: cover; border-radius: var(--radius); }
.cover figcaption { font-size: .82rem; color: var(--muted); margin-top: 8px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.credit, .credit a { color: var(--muted); font-size: .78rem; }
.article-layout { max-width: 820px; margin: 0 auto; } .article-layout.with-toc { max-width: 1080px; display: grid; grid-template-columns: 220px 1fr; gap: 48px; }
.toc { position: sticky; top: calc(var(--masthead, 72px) + 24px); align-self: start; display: flex; flex-direction: column; gap: 4px; font-size: .86rem; border-inline-start: 2px solid var(--line); padding-inline-start: 14px; }
.toc strong { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 6px; } .toc a { color: var(--muted); text-decoration: none; } .toc a:hover { color: var(--accent); }
@media (max-width: 900px) { .article-layout.with-toc { grid-template-columns: 1fr; } .toc { display: none; } }
.prose { font-size: 1.06rem; } .prose h2 { margin-top: 1.8em; } .prose h3 { margin-top: 1.4em; }
.prose a { color: var(--accent); } .prose ul, .prose ol { padding-inline-start: 1.3em; } .prose li { margin-bottom: .35em; }
.prose blockquote { margin: 1.5em 0; padding: .6em 1.2em; border-inline-start: 4px solid var(--accent); background: var(--surface-2); border-start-end-radius: var(--radius-sm); border-end-end-radius: var(--radius-sm); font-style: italic; }
.prose figure { margin: 2em 0; } .prose figure img { border-radius: var(--radius); width: 100%; } .prose figcaption { font-size: .85rem; color: var(--muted); margin-top: 8px; text-align: center; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--radius); }
.prose video { width: 100%; border-radius: var(--radius); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: start; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; } .prose th { background: var(--surface-2); }
.prose code { font: .88em var(--mono); background: var(--surface-2); padding: .12em .4em; border-radius: 5px; }
.prose pre { position: relative; background: #0f172a; color: #e2e8f0; padding: 18px 20px; border-radius: var(--radius-sm); overflow-x: auto; font-size: .86rem; line-height: 1.6; }
.prose pre code { background: none; padding: 0; color: inherit; font-size: inherit; }
.copy-code { position: absolute; top: 8px; inset-inline-end: 8px; background: #1e293b; color: #cbd5e1; border: 1px solid #334155; border-radius: 6px; font: 600 .72rem var(--body); padding: 4px 10px; cursor: pointer; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 32px 0 16px; } .tags a { font-size: .85rem; text-decoration: none; background: var(--surface-2); color: var(--muted); padding: .3em .8em; border-radius: 999px; } .tags a:hover { color: var(--accent); }
.share { display: flex; gap: 10px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--line); }
.share a, .share button { font: 600 .85rem var(--body); background: none; border: 1px solid var(--line); color: var(--ink); padding: .45em 1em; border-radius: 999px; text-decoration: none; cursor: pointer; }

/* Recipe card */
.recipe-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); margin-bottom: 40px; box-shadow: var(--shadow); scroll-margin-top: calc(var(--masthead, 72px) + 18px); }
.recipe-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 12px; padding-bottom: 20px; margin-bottom: 24px; border-bottom: 1px dashed var(--line); }
.recipe-facts small { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); } .recipe-facts b { font: 700 1.1rem var(--display); }
.recipe-cols { display: grid; grid-template-columns: minmax(260px, 1fr) 1.5fr; gap: 40px; }
@media (max-width: 800px) { .recipe-cols { grid-template-columns: 1fr; } }
.ing-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; } .ing-head h2 { margin: 0; }
.servings { display: flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--muted); }
.servings button { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink); font-size: 1.1rem; cursor: pointer; }
.servings output { font: 700 1.1rem var(--display); color: var(--ink); min-width: 1.5em; text-align: center; }
.ingredients h3 { font: 700 .78rem var(--body); text-transform: uppercase; letter-spacing: .12em; color: var(--accent); margin: 20px 0 6px; }
.ingredients ul { list-style: none; padding: 0; margin: 0; } .ingredients li { border-bottom: 1px solid var(--line); }
.ingredients label { display: flex; gap: 10px; padding: 8px 0; cursor: pointer; font-size: .96rem; }
.ingredients input { accent-color: var(--accent); margin-top: 6px; } .ingredients input:checked + span { text-decoration: line-through; opacity: .5; }
.ingredients em { color: var(--muted); }
.method ol { list-style: none; padding: 0; margin: 0; } .method li { display: flex; gap: 16px; margin-bottom: 20px; }
.step-n { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font: 700 .95rem var(--display); }
.method p { margin: 4px 0 6px; }
.timer { font: 600 .8rem var(--body); background: var(--surface-2); color: var(--accent); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; cursor: pointer; }
.tips { background: var(--surface-2); border-radius: var(--radius-sm); padding: 16px 20px; } .tips h3 { margin-top: 0; } .tips ul { margin: 0; padding-inline-start: 1.2em; }
.timer-pill { position: fixed; bottom: 20px; inset-inline-end: 20px; z-index: 50; display: flex; align-items: center; gap: 12px; background: var(--ink); color: var(--bg); padding: 12px 16px; border-radius: 999px; box-shadow: var(--shadow); max-width: calc(100vw - 40px); }
.timer-pill .t { font: 700 1.3rem var(--display); } .timer-pill .l { font-size: .8rem; opacity: .75; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; max-width: 220px; }
.timer-pill button { background: none; border: 0; color: inherit; cursor: pointer; font-size: 1rem; } .timer-pill.done { background: var(--accent); animation: pulse 1s infinite; }
@keyframes pulse { 50% { transform: scale(1.05); } }

/* Review box */
.review-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); margin-bottom: 40px; }
.verdict { display: flex; gap: 24px; align-items: center; margin-bottom: 24px; } .verdict p { font: 600 1.15rem/1.45 var(--display); margin: 0; }
.breakdown { display: grid; gap: 10px; margin-bottom: 24px; }
.breakdown div { display: grid; grid-template-columns: 140px 1fr 36px; gap: 12px; align-items: center; font-size: .9rem; }
.breakdown i { height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--accent) var(--w), var(--surface-2) var(--w)); } .breakdown b { text-align: end; }
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; } @media (max-width: 700px) { .proscons { grid-template-columns: 1fr; } }
.proscons > div { background: var(--surface-2); border-radius: var(--radius-sm); padding: 16px 20px; } .proscons ul { margin: 0; padding-inline-start: 1.2em; }
.pros h3 { color: #16a34a; } .cons h3 { color: #dc2626; } .theme-lootiq .pros h3 { color: var(--accent-2); } .theme-lootiq .cons h3 { color: #f87171; }
.info { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 24px 0 0; }
.info dt, .glance dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); } .info dd, .glance dd { margin: 0; font-weight: 600; }
.specs { width: 100%; border-collapse: collapse; font-size: .92rem; } .specs th { text-align: start; width: 35%; color: var(--muted); font-weight: 600; } .specs th, .specs td { padding: 10px 0; border-bottom: 1px solid var(--line); }

/* Tutorial box */
.tutorial-box { background: var(--surface); border: 1px solid var(--line); border-inline-start: 4px solid var(--accent); border-radius: var(--radius); padding: 24px 28px; margin-bottom: 32px; }
.tut-facts { display: flex; gap: 32px; flex-wrap: wrap; margin-bottom: 12px; } .tut-facts small { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.checklist { list-style: none; padding: 0; } .checklist li::before { content: '✓'; color: var(--accent); font-weight: 700; margin-inline-end: 10px; }
.cost { font-size: .92rem; background: var(--surface-2); padding: 10px 14px; border-radius: var(--radius-sm); margin: 0; }

/* Travel guide */
.guide-box { background: var(--surface-2); border-radius: var(--radius); padding: 24px 28px; margin-bottom: 32px; }
.glance { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; margin: 0 0 16px; }
.highlights { columns: 2; padding-inline-start: 1.2em; } @media (max-width: 600px) { .highlights { columns: 1; } }
.itinerary { margin-top: 48px; scroll-margin-top: calc(var(--masthead, 72px) + 18px); } .itinerary ol { list-style: none; padding: 0; margin: 0; position: relative; }
.itinerary ol::before { content: ''; position: absolute; inset-inline-start: 34px; top: 0; bottom: 0; width: 2px; background: var(--line); }
.itinerary li { display: grid; grid-template-columns: 70px 1fr; gap: 20px; margin-bottom: 28px; position: relative; }
.itinerary .day { width: 70px; height: 70px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font: 700 .85rem var(--display); text-align: center; z-index: 1; }
.itinerary dl { margin: 0; display: grid; gap: 6px; } .itinerary dl div { display: grid; grid-template-columns: 90px 1fr; gap: 10px; }
.itinerary dt { font-weight: 700; color: var(--accent); font-size: .85rem; } .itinerary dd { margin: 0; }
.practical { margin-top: 40px; } .practical dl { display: grid; gap: 12px; } .practical dt { font-weight: 700; } .practical dd { margin: 0 0 8px; color: var(--muted); }

/* Footer */
.footer { border-top: 1px solid var(--line); background: var(--surface); margin-top: 80px; }
.footer-grid { max-width: var(--max); margin: 0 auto; padding: 48px clamp(16px, 4vw, 32px) 24px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer-grid p { color: var(--muted); font-size: .92rem; margin-top: 12px; max-width: 46ch; }
.footer-grid h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.footer-grid div > a:not(.brand) { display: block; text-decoration: none; font-size: .92rem; margin-bottom: 6px; } .footer-grid div > a:hover { color: var(--accent); }
.footer-note { max-width: var(--max); margin: 0 auto; padding: 16px clamp(16px, 4vw, 32px) 32px; font-size: .78rem; color: var(--muted); }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }

/* Brand flourishes */
.theme-benna h1, .theme-benna h2 { font-weight: 700; } .theme-benna .card { border: 0; box-shadow: 0 1px 0 var(--line); }
.theme-lootiq .masthead { background: rgb(11 11 18 / .85); } .theme-lootiq .kicker { color: var(--accent-2); } .theme-lootiq h1, .theme-lootiq h2 { letter-spacing: -.02em; }
.theme-lootiq .card:hover { border-color: var(--accent); } .theme-lootiq .button { background: linear-gradient(90deg, var(--accent), #6366f1); }
.theme-infraza .masthead { background: #0f172a; border-color: #1e293b; } .theme-infraza .masthead .brand, .theme-infraza .masthead .brand strong { color: #fff; }
.theme-infraza .masthead .brand svg { color: #22d3ee; } .theme-infraza .nav > a { color: #94a3b8; } .theme-infraza .nav > a:hover, .theme-infraza .nav > a.active { color: #fff; background: #1e293b; }
.theme-infraza .search { background: #1e293b; } .theme-infraza .search input { color: #fff; } .theme-infraza .menu-toggle span { background: #fff; }
@media (max-width: 1280px) { .theme-infraza .nav { background: #0f172a; } }
.theme-infraza .article-head { text-align: start; } .theme-infraza .byline { justify-content: flex-start; } .theme-infraza .article-head .lede { margin-inline-start: 0; }
.theme-rahhal .kicker { letter-spacing: .2em; } .theme-rahhal .card { border: 0; } .theme-rahhal .card-body h3 { font-size: 1.35rem; }
.theme-rahhal .button { border-radius: 2px; text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; }
.theme-rahhal main > .hero-full:first-child { margin-top: 0; }

/* Language switcher */
.lang-switch { display: flex; gap: 2px; margin-inline-start: 10px; padding: 3px; border-radius: 999px; background: var(--surface-2); }
.lang-switch a { min-width: 30px; text-align: center; padding: 4px 9px; border-radius: 999px; font: 700 .74rem/1.3 var(--body); color: var(--muted); text-decoration: none; }
.lang-switch a:hover { color: var(--ink); } .lang-switch a:lang(ar) { font-family: 'Tajawal', system-ui, sans-serif; } .lang-switch a[aria-current="true"] { background: var(--accent); color: var(--accent-ink); }
.lang-note { margin: 0 auto 24px; max-width: 640px; text-align: center; padding: 14px 18px; border-radius: var(--radius-sm); background: var(--surface-2); color: var(--muted); font-size: .95rem; }
.lang-note a { color: var(--accent); font-weight: 700; }
/* The switcher sits in the header bar; on small phones it moves into the menu. */
.lang-switch.in-menu { display: none; } .lang-switch.in-bar { flex-shrink: 0; }
.lang-switch.in-bar + .menu-toggle { margin-inline-start: 0; }
@media (max-width: 1280px) { .lang-switch.in-bar { margin-inline-start: auto; } }
.nav-compact .lang-switch.in-bar { margin-inline-start: 10px; }
@media (max-width: 600px) { .lang-switch.in-bar { display: none; } .lang-switch.in-bar + .menu-toggle { margin-inline-start: auto; } .lang-switch.in-menu { display: flex; margin: 10px 0 0; align-self: flex-start; } }

/* Arabic: right-to-left layout, Arabic typefaces, and no letter-spacing (it breaks the joined script). */
/* Brand themes set their fonts on body, so the Arabic faces are set there too, with higher specificity. */
html[lang="ar"] body { --display: 'Noto Kufi Arabic', 'Tajawal', system-ui, sans-serif; --body: 'Tajawal', system-ui, sans-serif; }
html[lang="ar"] body.theme-rahhal { --display: 'Amiri', 'Noto Naskh Arabic', serif; }
:root[lang="ar"] body { line-height: 1.8; }
:root[lang="ar"] * { letter-spacing: 0 !important; }
:root[lang="ar"] .kicker, :root[lang="ar"] .postcard small { text-transform: none; font-size: .82rem; }
:root[lang="ar"] .prose blockquote { font-style: normal; }
[dir="rtl"] .breakdown i { background: linear-gradient(270deg, var(--accent) var(--w), var(--surface-2) var(--w)); }
[dir="rtl"] .prose pre, [dir="rtl"] .prose code, [dir="rtl"] .terminal { direction: ltr; text-align: left; }
.chip.original-lang { background: transparent; border: 1px dashed var(--line); color: var(--muted); }
.lang-note { margin-top: 8px; }

/* Social profiles */
.footer-social, .follow-block div { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-social { margin-top: 14px; }
.social-link { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--surface-2); color: var(--muted); transition: color .15s, background .15s, transform .15s; }
.social-link svg { width: 17px; height: 17px; fill: currentColor; } .social-link:hover { color: var(--accent-ink); background: var(--accent); transform: translateY(-1px); }
.social-link.big { width: 42px; height: 42px; } .social-link.big svg { width: 19px; height: 19px; }
.follow-block { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 28px 0 8px; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.follow-block strong { font-family: var(--display); font-size: 1.05rem; }
.footer .footer-social .social-link { display: inline-grid; place-items: center; padding: 0; margin: 0; line-height: 0; }
