/* ============================================================
   Guide Dubai admin, pl-deck (Marketing Masterfile 2.0) style:
   ONE dark ground (Platinum Sabbath) · accent alternates cyan → lime per card
   Palette: #221327 · #79E2FF · #C7F88A · #FFFFFF. Nothing else.
   ============================================================ */
@font-face { font-family: "MD Nichrome"; src: url("fonts/MDNichrome-Bold.otf") format("opentype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/InterVariable.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }

:root { --sabbath: #221327; --cyan: #79E2FF; --lime: #C7F88A; --white: #FFFFFF; --acc: var(--cyan); }
.acc-cyan { --acc: #79E2FF; }
.acc-lime { --acc: #C7F88A; }

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { background: var(--sabbath); color: var(--acc); font: 500 16px/1.45 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
.nich, h1, h2 { font-family: "MD Nichrome", "Inter", sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: -0.5px; line-height: .98; color: var(--acc); }
svg.i { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }

/* ---------- header ---------- */
.top { position: relative; padding: 48px 64px 32px; }
.top__logo { display: block; height: 46px; width: auto; align-self: flex-start; }
.marker { position: absolute; top: 52px; right: 64px; display: flex; align-items: center; gap: 18px; font-size: 14px; font-weight: 600; letter-spacing: 2.4px; text-transform: uppercase; }
.marker__label { opacity: .5; }
.marker__num { font-family: "MD Nichrome", "Inter", sans-serif; font-size: 22px; letter-spacing: 0; opacity: .9; }
.marker__bar { width: 56px; height: 3px; border-radius: 2px; background: var(--acc); opacity: .4; }
.top h1 { font-size: 76px; margin-top: 40px; max-width: 1200px; }
.lede { font-size: 20px; font-weight: 600; line-height: 1.42; max-width: 980px; margin-top: 16px; opacity: .85; }
.footnote { margin-top: 16px; font-size: 14px; letter-spacing: .4px; color: var(--white); opacity: .38; }

/* ---------- list of article cards ---------- */
.list { padding: 8px 64px 64px; display: grid; gap: 24px; }
.row { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 32px; padding: 28px; border-radius: 16px; border: 2px solid var(--acc); color: var(--acc); }
.row__info { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.row__head { display: flex; align-items: center; gap: 14px; }
.row__num { font-family: "MD Nichrome", "Inter", sans-serif; font-size: 34px; line-height: 1; }
.row__date { font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; opacity: .58; }
.row__title { font-size: 30px; line-height: 1; }
.row__link { display: inline-flex; align-items: center; gap: 6px; width: max-content; color: var(--acc); font-size: 13px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; text-decoration: none; opacity: .8; }
.row__link:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }

.field { display: flex; flex-direction: column; gap: 8px; }
.field__label { font-size: 13px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; opacity: .72; }
.field__select { font: inherit; font-size: 15px; color: var(--white); background: transparent; border: 2px solid color-mix(in srgb, var(--acc) 55%, transparent); border-radius: 12px; padding: 11px 14px; outline: none; }
.field__select:focus-visible { border-color: var(--acc); box-shadow: 0 0 0 3px color-mix(in srgb, var(--acc) 25%, transparent); }
.field__select option { background: var(--sabbath); color: var(--white); }
.field__area { resize: vertical; min-height: 150px; line-height: 1.5; font-size: 14px; }

.seg { display: inline-flex; gap: 6px; padding: 4px; border-radius: 999px; border: 2px solid color-mix(in srgb, var(--acc) 55%, transparent); width: max-content; }
.seg__btn { font: inherit; font-size: 13px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; border: 0; background: transparent; color: var(--acc); padding: 9px 16px; border-radius: 999px; cursor: pointer; opacity: .75; }
.seg__btn.is-on { background: var(--acc); color: var(--sabbath); opacity: 1; }

.row__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: "MD Nichrome", "Inter", sans-serif; font-weight: 700; text-transform: uppercase; font-size: 19px; letter-spacing: .2px; line-height: 1; border-radius: 12px; padding: 13px 18px; cursor: pointer; }
.btn--primary { background: var(--acc); color: var(--sabbath); border: 2px solid var(--acc); }
.btn--secondary { background: transparent; color: var(--acc); border: 2px solid var(--acc); }
.btn:hover { filter: brightness(1.06); }
.btn:focus-visible, .seg__btn:focus-visible, .row__link:focus-visible { outline: 3px solid color-mix(in srgb, var(--acc) 55%, transparent); outline-offset: 2px; }
.btn:disabled { opacity: .5; cursor: progress; }
.row__status { font-size: 14px; color: var(--white); opacity: .38; min-height: 20px; }
.row__status.is-error { opacity: 1; color: var(--acc); font-weight: 700; }

.row__slides { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 10px; align-items: flex-start; scrollbar-color: color-mix(in srgb, var(--acc) 40%, transparent) transparent; }
.slide { flex: 0 0 auto; width: 230px; border-radius: 12px; background: color-mix(in srgb, var(--acc) 10%, transparent); }
.slide img { display: block; width: 100%; height: auto; border-radius: 12px; }
.slide--feed img { aspect-ratio: 4 / 5; }
.slide--reel { width: 180px; }
.slide--reel img { aspect-ratio: 9 / 16; }
.slide a { display: block; }
.slide a:focus-visible { outline: 3px solid var(--acc); outline-offset: 2px; border-radius: 12px; }
.empty { color: var(--white); opacity: .38; }

/* ---------- login ---------- */
.login { min-height: 100vh; display: grid; place-items: center; padding: 16px; }
.login__card { width: 100%; max-width: 440px; border: 2px solid var(--acc); border-radius: 16px; padding: 36px; display: grid; gap: 18px; }
.login__title { font-size: 48px; }
.login__hint { font-size: 16px; font-weight: 600; opacity: .85; }
.login__form { display: grid; gap: 14px; }
.login .top__logo { height: 40px; }

@media (max-width: 900px) {
  .top { padding: 28px 16px 20px; }
  .marker { position: static; margin-top: 16px; }
  .top h1 { font-size: 44px; margin-top: 20px; }
  .list { padding: 8px 16px 40px; }
  .row { grid-template-columns: minmax(0, 1fr); padding: 18px; }
  .slide { width: 180px; }
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
