/* Self-hosted fonts (replaces Google Fonts external CSS+origin round trips) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/inter-400-700-latinext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/inter-400-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Noto Sans Bengali';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url('../fonts/notosansbengali-bengali.woff2') format('woff2');
  unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0, U+1CD2, U+1CD5-1CD6, U+1CD8, U+1CE1, U+1CEA, U+1CED, U+1CF2, U+1CF5-1CF7, U+200C-200D, U+20B9, U+25CC, U+A8F1;
}
@font-face {
  font-family: 'Noto Sans Bengali';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url('../fonts/notosansbengali-latinext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Noto Sans Bengali';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url('../fonts/notosansbengali-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* ── Accessibility: Skip navigation link ─────────────── */
.skip-to-content {
  position: absolute;
  left: -9999px;
  top: -9999px;
  z-index: 9999;
  padding: 10px 20px;
  background: var(--navy, #0f2a43);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  border-radius: 0 0 8px 0;
}
.skip-to-content:focus {
  left: 0;
  top: 0;
}

/* ===== Eduvisa — base styles =====
   Plain CSS, no build step (deployed via FTP only, no Node/Vite on server). */

:root {
  --navy: #0f2a43;
  --navy-dark: #081b2c;
  --gold: #c9974a;
  --gold-light: #e8c994;
  --cream: #faf7f2;
  --ink: #1f2937;
  --ink-soft: #54616f;
  --line: #e4ddd1;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 42, 67, 0.08);
  --max: 1140px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: 'Inter', 'Noto Sans Bengali', system-ui, -apple-system, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

html[lang="bn"] body, .lang-bn {
  font-family: 'Noto Sans Bengali', 'Inter', system-ui, sans-serif;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin: 0 0 16px;
}
h1 { font-size: clamp(2rem, 4vw, 2.85rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 16px; color: var(--ink-soft); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.55);
  color: var(--white);
}
.btn-outline:hover { border-color: var(--white); }
.btn-dark-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-dark-outline:hover { background: var(--navy); color: var(--white); }
.btn-block { display: block; width: 100%; text-align: center; }

/* ---- Header / Nav ---- */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0.01em;
}
.brand img, .brand svg { height: 48px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold-light); }
.lang-switch {
  display: flex;
  gap: 6px;
  margin-left: 8px;
}
.lang-switch a {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,0.45);
  color: rgba(255,255,255,0.85);
  transition: background 0.18s, border-color 0.18s, color 0.18s;
}
.lang-switch a:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
}
.lang-switch a.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-dark);
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links .lang-switch { display: none; }
  .nav-links {
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 24px 26px;
    gap: 16px;
    display: none;
  }
  .nav-links.open { display: flex; }
}

/* ---- Hero ---- */
.hero {
  position: relative;
  overflow: hidden;
  background-image:
    radial-gradient(900px circle at 12% -15%, rgba(201, 151, 74, 0.30), transparent 60%),
    radial-gradient(700px circle at 105% 110%, rgba(201, 151, 74, 0.16), transparent 55%),
    linear-gradient(135deg, rgba(15, 42, 67, 0.94) 0%, rgba(8, 27, 44, 0.97) 100%),
    var(--hero-photo, none);
  background-size: auto, auto, auto, cover;
  background-position: 12% -15%, 105% 110%, center, center;
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
  background-color: var(--navy-dark);
  color: var(--white);
  padding: 96px 0 120px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1.3px);
  background-size: 24px 24px;
  opacity: 0.55;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 64px;
  background: var(--cream);
  clip-path: polygon(0 100%, 100% 100%, 100% 35%, 75% 70%, 50% 30%, 25% 65%, 0 25%);
}
.hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero-content { position: relative; }
.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(201, 151, 74, 0.45);
  padding: 7px 16px 7px 12px;
  border-radius: 999px;
  color: var(--gold-light);
  animation: heroFadeUp 0.7s ease both;
}
.hero .eyebrow::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  display: inline-block;
}
.hero h1 {
  color: var(--white);
  animation: heroFadeUp 0.7s ease 0.08s both;
}
.hero p.lead {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.12rem;
  max-width: 560px;
  animation: heroFadeUp 0.7s ease 0.16s both;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
  animation: heroFadeUp 0.7s ease 0.24s both;
}
.hero .btn-primary {
  box-shadow: 0 8px 24px rgba(201, 151, 74, 0.35);
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  animation: heroFadeUp 0.7s ease 0.32s both;
}
.hero-stat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}
.hero-stat svg { flex: none; width: 17px; height: 17px; }
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  animation: heroFadeUp 0.8s ease 0.2s both;
}
.hero-visual-card {
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  padding: 26px 22px 22px;
  backdrop-filter: blur(10px);
  box-shadow: 0 30px 60px rgba(4, 12, 22, 0.35);
  max-width: 320px;
  text-align: center;
}
.hero-orbit { animation: heroFloat 7s ease-in-out infinite; }
.hero-visual-caption {
  margin-top: 14px;
  font-size: 0.84rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.5;
}
.hero-small {
  padding: 56px 0 64px;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero .eyebrow, .hero h1, .hero p.lead, .hero-actions, .hero-stats, .hero-visual, .hero-orbit {
    animation: none;
  }
}

@media (max-width: 920px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { order: -1; }
  .hero-visual-card { max-width: 260px; padding: 20px 18px 18px; }
  .hero p.lead { max-width: 100%; }
}

/* ---- Sections ---- */
section { padding: 72px 0; }
.section-tight { padding: 48px 0; }
.section-alt { background: var(--white); }
.section-head { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.section-head.left { margin: 0 0 36px; text-align: left; }

/* ---- Cards / Grid ---- */
.grid {
  display: grid;
  gap: 26px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow);
}
.card h3 { margin-bottom: 10px; }
.card p { margin-bottom: 0; }

.country-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.country-card-image {
  height: 168px;
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  overflow: hidden;
}
.country-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.country-card-body { padding: 24px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.country-card-body p { flex: 1; }
.country-card-body .btn { align-self: flex-start; margin-top: 6px; }

/* ---- Process steps ---- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
}
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step {
  position: relative;
  padding-top: 6px;
}
.step .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-light);
  font-weight: 800;
  margin-bottom: 14px;
}

/* ---- Why list ---- */
.why-list { list-style: none; margin: 0; padding: 0; }
.why-list li {
  position: relative;
  padding: 10px 0 10px 30px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.why-list li:last-child { border-bottom: none; }
.why-list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 10px;
  color: var(--gold);
  font-weight: 800;
}

/* ---- Callout / disclaimer box ---- */
.callout {
  background: #fff8ea;
  border: 1px solid var(--gold-light);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 8px 0 0;
}
.callout h3 { margin-bottom: 8px; font-size: 1.05rem; }
.callout p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

/* ---- CTA band ---- */
.cta-band {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 48px 40px;
  text-align: center;
}
.cta-band h2, .cta-band p { color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.78); }

/* ---- Forms ---- */
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--navy);
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.97rem;
  font-family: inherit;
  background: var(--white);
  color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.field textarea { min-height: 110px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px) { .field-row { grid-template-columns: 1fr; } }
.error-text { color: #b3261e; font-size: 0.85rem; margin-top: 4px; }
.success-box {
  background: #ecf7ee;
  border: 1px solid #b7e0bd;
  color: #205a2c;
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-bottom: 24px;
}

/* ---- Contact info cards ---- */
.contact-info-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-info-item:last-child { border-bottom: none; }
.contact-info-item .label { font-weight: 700; color: var(--navy); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 2px; }

/* ---- Footer ---- */
/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.72);
  padding: 64px 0 0;
  font-size: 0.9rem;
}

/* 4-col grid → 2-col tablet → 1-col mobile */
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: 40px 32px;
  padding-bottom: 48px;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .footer-brand-col { grid-column: 1 / -1; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* Brand column */
.footer-logo img { height: 36px; width: auto; margin-bottom: 14px; }
.footer-tagline {
  color: rgba(255,255,255,0.60);
  font-size: 0.88rem;
  line-height: 1.65;
  margin: 0 0 18px;
  max-width: 280px;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.72);
  transition: background 0.2s, color 0.2s;
}
.footer-social a:hover {
  background: var(--gold);
  color: var(--white);
}

/* Columns */
.footer-heading {
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}
.footer-links a {
  color: rgba(255,255,255,0.65);
  transition: color 0.18s;
}
.footer-links a:hover { color: var(--gold-light); }
.footer-contact svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--gold);
  opacity: 0.85;
}
.footer-contact span { color: rgba(255,255,255,0.60); }

/* Bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.10);
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  align-items: center;
  justify-content: space-between;
}
.footer-copy {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}
.footer-disclaimer {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  max-width: 600px;
  line-height: 1.5;
}
@media (max-width: 600px) {
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
  .footer-disclaimer { max-width: 100%; }
}

/* ---- Admin ---- */
.admin-wrap { max-width: 640px; margin: 64px auto; }
.login-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
.leads-table-wrap { overflow-x: auto; }
table.leads-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; }
table.leads-table th, table.leads-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
  vertical-align: top;
}
table.leads-table th { background: var(--navy); color: var(--white); font-weight: 600; }
table.leads-table tr:hover td { background: #faf7f2; }

/* ---- Admin — extended (dashboard, leads, users, branding, home builder) ---- */
.admin-topbar {
  background: var(--navy);
  color: var(--white);
}
.admin-topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  flex-wrap: wrap;
}
.admin-topbar .admin-brand { font-weight: 800; color: var(--white); }
.admin-topbar nav { display: flex; gap: 20px; flex-wrap: wrap; }
.admin-topbar nav a { color: rgba(255,255,255,0.82); font-size: 0.92rem; font-weight: 500; }
.admin-topbar nav a:hover, .admin-topbar nav a.active { color: var(--gold-light); }
.admin-topbar form { display: inline; }
.admin-topbar button.link-btn {
  background: none; border: none; color: rgba(255,255,255,0.7); cursor: pointer;
  font-size: 0.85rem; padding: 0; text-decoration: underline;
}
.admin-main { padding: 36px 0 64px; }
.admin-header-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; margin-bottom: 24px; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 32px; }
@media (max-width: 760px) { .stat-row { grid-template-columns: 1fr 1fr; } }
.stat-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow); }
.stat-card .num { font-size: 1.8rem; font-weight: 800; color: var(--navy); display: block; }
.stat-card .label { font-size: 0.85rem; color: var(--ink-soft); }
.btn-sm { padding: 7px 16px; font-size: 0.85rem; }
.btn-danger { background: #fff0ee; color: #b3261e; border-color: #f3c7c0; }
.btn-danger:hover { background: #fde2de; }
.badge { display: inline-block; padding: 4px 11px; border-radius: 999px; font-size: 0.78rem; font-weight: 700; }
.badge-new { background: #e8eefb; color: #2952a3; }
.badge-contacted { background: #fdf3da; color: #95720a; }
.badge-converted { background: #e6f5ea; color: #1f7a3d; }
.badge-closed { background: #ececec; color: #666; }
.actions-inline { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.quick-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 760px) { .quick-links { grid-template-columns: 1fr 1fr; } }
.quick-link-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); display: block; }
.quick-link-card h3 { margin-bottom: 6px; }
.quick-link-card p { margin-bottom: 0; font-size: 0.9rem; }

/* Drag-and-drop home builder */
.block-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.block-row {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 18px; display: flex; align-items: center; gap: 14px; box-shadow: var(--shadow);
}
.block-row.inactive { opacity: 0.55; }
.drag-handle { cursor: grab; font-size: 1.3rem; color: var(--ink-soft); user-select: none; }
.block-type-tag { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--gold); white-space: nowrap; }
.block-title { flex: 1; color: var(--ink); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.add-block-row { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.item-fields-row { border: 1px dashed var(--line); border-radius: 10px; padding: 14px; margin-bottom: 12px; }
.lang-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 760px) { .lang-cols { grid-template-columns: 1fr; } }
.lang-col-label { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }

/* ── Post Hero (blog article pages) ────────────────────── */
.post-hero {
  position: relative;
  overflow: hidden;
  padding: 0;                                   /* kill default section 72px */
  background: linear-gradient(135deg, #0f2a43 0%, #081b2c 100%);
  color: #fff;
}
.post-hero .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 440px;
}
.post-hero-content {
  padding: 56px 40px 88px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.post-hero-content h1 { color: #fff; margin-top: 14px; }
.post-hero-content .lead { color: rgba(255,255,255,0.85); max-width: 100%; }
.post-hero-image {
  position: relative;
  overflow: hidden;
}
.post-hero-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #0f2a43 0%, rgba(8,27,44,0) 50%);
  z-index: 1;
  pointer-events: none;
}
.post-hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post-hero::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 64px;
  background: var(--cream);
  clip-path: polygon(0 100%, 100% 100%, 100% 35%, 75% 70%, 50% 30%, 25% 65%, 0 25%);
  z-index: 2;
}
@media (max-width: 800px) {
  /* Magazine-cover mobile: image is absolute (doesn't stretch with content) */
  .post-hero .wrap {
    display: block;           /* exit grid; content stacks naturally */
    position: relative;       /* image anchors to wrap */
    min-height: 440px;
  }
  .post-hero-image {
    position: absolute;       /* fills wrap, no longer in flow */
    inset: 0;
    z-index: 1;
    overflow: hidden;
  }
  .post-hero-image::before {
    background: linear-gradient(to top,
      rgba(8,27,44,1)    0%,
      rgba(8,27,44,0.88) 40%,
      rgba(8,27,44,0.2)  68%,
      transparent        100%);
  }
  .post-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    min-height: 440px;        /* image always at least this tall */
    padding: 20px 0 88px;
  }
  .post-hero-body {
    margin-top: auto;         /* push title block to bottom */
  }
}

/* ── Hero Photo Card (Version A right column) ───────────── */
.hero-photo-wrap {
  position: relative;
  max-width: 340px;
  margin: 0 auto;
}
.hero-photo {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 20px;
  display: block;
  box-shadow: 0 28px 72px rgba(4,12,22,0.55), 0 0 0 1px rgba(255,255,255,0.09);
}
.hero-badge {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 28px rgba(4,12,22,0.18);
  white-space: nowrap;
}
.hero-badge b    { display: block; font-size: 0.92rem; font-weight: 800; color: #0E2A47; line-height: 1.1; }
.hero-badge span { display: block; font-size: 0.72rem; color: #64748B; font-weight: 500; }
.hero-badge-top    { top: 22px; right: -28px; }
.hero-badge-bottom { bottom: 30px; left: -28px; }
@media (max-width: 920px) {
  /* Mobile: hide photo card, show background photo through lighter overlay */
  .hero-photo-wrap { display: none; }

  .hero {
    padding: 52px 0 80px;
    background-image:
      radial-gradient(600px circle at 50% -10%, rgba(201,151,74,0.22), transparent 60%),
      linear-gradient(180deg,
        rgba(8,27,44,0.68) 0%,
        rgba(8,27,44,0.80) 55%,
        rgba(8,27,44,0.96) 100%),
      var(--hero-photo, none);
    background-size: auto, auto, cover;
    background-position: 50% -10%, center, center;
    background-repeat: no-repeat, no-repeat, no-repeat;
  }

  .hero .wrap {
    grid-template-columns: 1fr;
    gap: 0;
    text-align: center;
  }
  .hero-actions   { justify-content: center; }
  .hero-stats     { justify-content: center; }
  .hero p.lead    { max-width: 100%; }
  .hero h1        { font-size: clamp(1.6rem, 5.5vw, 2.4rem); }
  .hero .eyebrow  { margin: 0 auto; }
}
