/*
Theme Name: SK Document Centre
Theme URI: https://skdocumentcentre.com/
Author: SK Document Centre
Description: Lightweight, SEO-ready theme for SK Document Centre. Plain CSS, no frameworks, works with Elementor (free), WPCode and the Magnetmile/Cargomate form plugin (forms use the cm-universal-form class). Includes one-click content importer (Appearance → SK Setup), built-in SEO meta, schema and redirects.
Version: 1.1.1
Requires at least: 6.2
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: skdc
*/

/* ==========================================================================
   1. Tokens — colours from the SK logo (navy, blue, orange, red).
   Every text/background pair below is checked to WCAG AA (4.5:1+).
   ========================================================================== */
:root {
  --navy: #0E1638;        /* body text            17.6:1 on white */
  --primary: #1F2B8F;     /* buttons, links, H1   11.7:1 on white */
  --primary-dark: #141C6B;
  --blue: #1565C0;        /* focus ring / accents  5.8:1 on white */
  --orange: #F7A823;      /* fills only — text on it is navy (8.9:1) */
  --orange-soft: #FFF4DE;
  --orange-text: #8A4B00; /* orange-ish text       6.4:1 on white */
  --red: #B42318;         /* small accents         6.6:1 on white */
  --green: #0B7A3E;       /* WhatsApp button, white text 5.5:1 */
  --muted: #4A5370;       /* secondary text        7.6:1 on white */
  --bg: #FFFFFF;
  --soft: #F5F7FC;        /* alternate sections */
  --line: #DFE4F2;        /* borders */
  --dark: #0B1240;        /* dark band */
  --on-dark: #E6E9F5;     /* 14.8:1 on --dark */
  --on-dark-muted: #A9B1D6; /* 8.5:1 on --dark */

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-body: clamp(1rem, .97rem + .15vw, 1.0625rem);
  --fs-h1: clamp(1.9rem, 1.35rem + 2.2vw, 3.1rem);
  --fs-h2: clamp(1.5rem, 1.2rem + 1.2vw, 2.15rem);
  --fs-h3: clamp(1.1rem, 1.04rem + .3vw, 1.28rem);
  --radius: 12px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(48px, 7vw, 88px);
  --header-h: 72px;
  --topbar-h: 36px;
  --adminbar: var(--wp-admin--admin-bar--height, 0px);
  --screen: 100vh;
}
@supports (height: 100svh) { :root { --screen: 100svh; } }

@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("assets/fonts/inter-regular.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("assets/fonts/inter-semibold.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 800; font-style: normal; font-display: swap; src: url("assets/fonts/inter-extrabold.woff") format("woff"); }

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--navy); font-family: var(--font); font-size: var(--fs-body); line-height: 1.7; overflow-x: clip; }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; margin: 0 0 .55em; font-weight: 800; letter-spacing: -.015em; text-wrap: balance; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 600; letter-spacing: 0; line-height: 1.35; }
h4 { font-size: 1.05rem; font-weight: 600; letter-spacing: 0; }
p { margin: 0 0 1em; }
a { color: var(--primary); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.3em; }
li { margin-bottom: .4em; }
strong, b { font-weight: 600; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
.screen-reader-text, .sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 999; background: #fff; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.narrow { max-width: 780px; }

/* ==========================================================================
   3. Buttons
   ========================================================================== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 11px 20px; border-radius: 10px; border: 2px solid transparent; font: 600 1rem/1.2 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .15s, border-color .15s, color .15s; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-orange { background: var(--orange); color: var(--navy); }
.btn-orange:hover { background: #E8960F; color: var(--navy); }
.btn-whatsapp { background: var(--green); color: #fff; }
.btn-whatsapp:hover { background: #086332; color: #fff; }
.btn-outline { background: #fff; color: var(--primary); border-color: var(--line); }
.btn-outline:hover { border-color: var(--primary); }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* ==========================================================================
   4. Header
   ========================================================================== */
.topbar { background: var(--dark); color: var(--on-dark); font-size: .875rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: var(--topbar-h); }
.topbar a { color: var(--on-dark); text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar .tb-group { display: flex; gap: 22px; align-items: center; }
.site-header { position: sticky; top: var(--adminbar); z-index: 100; background: #fff; border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); flex: none; }
.brand img { width: 54px; height: auto; }
.brand-name { font-weight: 800; font-size: 1.05rem; line-height: 1.15; letter-spacing: -.01em; }
.brand-name small { display: block; font-weight: 600; font-size: .72rem; color: var(--muted); letter-spacing: .02em; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.main-nav li { margin: 0; position: relative; }
.main-nav a { display: block; padding: 10px 11px; border-radius: 8px; color: var(--navy); text-decoration: none; font-weight: 600; font-size: .94rem; white-space: nowrap; }
.main-nav a:hover, .main-nav .current-menu-item > a, .main-nav .current-menu-ancestor > a { color: var(--primary); background: var(--soft); }
.main-nav .menu-item-has-children > a::after { content: ""; display: inline-block; margin-left: 6px; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.main-nav .sub-menu { display: none; position: absolute; left: 0; top: 100%; min-width: 270px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 30px rgb(14 22 56 / .12); padding: 8px; flex-direction: column; align-items: stretch; z-index: 20; }
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { display: flex; }
.main-nav .sub-menu a { font-weight: 500; font-size: .93rem; white-space: normal; }
.header-cta { display: flex; gap: 8px; align-items: center; }
.menu-toggle { display: none; align-items: center; gap: 8px; min-height: 46px; padding: 0 14px; border: 2px solid var(--line); border-radius: 10px; background: #fff; font: 600 .95rem var(--font); color: var(--navy); cursor: pointer; }
.menu-toggle .bars { width: 18px; height: 2px; background: currentColor; position: relative; }
.menu-toggle .bars::before, .menu-toggle .bars::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; }
.menu-toggle .bars::before { top: -6px; } .menu-toggle .bars::after { top: 6px; }

@media (max-width: 1180px) {
  .menu-toggle { display: inline-flex; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 14px 30px rgb(14 22 56 / .1); max-height: calc(var(--screen) - 120px); overflow-y: auto; }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 16px; }
  .main-nav a { padding: 13px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .main-nav .sub-menu { display: flex; position: static; box-shadow: none; border: 0; padding: 0 0 0 14px; min-width: 0; }
  .main-nav .menu-item-has-children > a::after { display: none; }
}
@media (max-width: 720px) {
  .topbar .tb-hide-sm { display: none; }
  .header-cta .btn-primary { display: none; }
  .brand img { width: 46px; }
  .brand-name small { display: none; }
}

/* ==========================================================================
   5. Hero — fits one desktop screen (no JS). Mobile stacks: text, then form.
   ========================================================================== */
.hero { background: linear-gradient(180deg, var(--soft) 0%, #fff 100%); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero-text { min-width: 0; }
.crumbs { font-size: .86rem; color: var(--muted); margin: 0 0 10px; }
.crumbs a { color: var(--muted); display: inline-block; padding: 10px 0; }
.crumbs span[aria-hidden] { margin: 0 6px; }
.kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); }
.kicker::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--orange); }
.hero h1 { margin-bottom: 14px; }
.hero h1 em, .mark { font-style: normal; color: var(--primary); box-shadow: inset 0 -.32em 0 rgb(247 168 35 / .4); }
.hero .lead { font-size: clamp(1.02rem, .98rem + .25vw, 1.15rem); color: var(--muted); max-width: 60ch; margin-bottom: 16px; }
.ticks { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 28px; margin: 0; font-weight: 600; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 16px 0 0; padding: 0; list-style: none; font-size: .92rem; color: var(--muted); }
.hero-trust li { margin: 0; }
.hero-trust strong { color: var(--navy); }

@media (max-width: 1023.98px), (orientation: portrait) {
  .hero { padding: 28px 0 40px; }
  .hero-grid { grid-template-columns: 1fr; }
}
@media (min-width: 1024px) and (orientation: landscape) {
  .hero-fit { height: calc(var(--screen) - var(--header-h) - var(--topbar-h) - var(--adminbar) - 20px); min-height: 460px; max-height: 900px; display: flex; align-items: center; padding: clamp(12px, 3vh, 40px) 0; }
  .hero-fit .container { width: min(100% - 2 * var(--gutter), var(--container)); }
}
/* short laptop screens (1366×768, 1280×720): tighten, hide the extras first */
@media (min-width: 1024px) and (orientation: landscape) and (max-height: 760px) {
  .hero-fit .lead { margin-bottom: 10px; }
  .hero-fit .ticks { gap: 4px; margin-bottom: 12px; }
  .hero-fit .ticks li { font-size: .95rem; }
  .hero-fit .hero-trust, .hero-fit .crumbs { display: none; }
  .hero-fit .f-grid { gap: 9px; margin-bottom: 10px; }
  .hero-fit .f-field input, .hero-fit .f-field select { min-height: 42px; padding: 8px 12px; }
  .hero-fit .f-field textarea { min-height: 0; padding: 8px 12px; }
}
@media (min-width: 1024px) and (orientation: landscape) and (max-height: 640px) {
  .hero-fit h1 { font-size: clamp(1.7rem, 3.4vh + 1rem, 2.4rem); }
  .hero-fit .ticks { display: none; }
  .hero-fit .form-card .form-sub { display: none; }
  .hero-fit .f-field label { font-size: .8rem; }
}

/* ==========================================================================
   6. Form card (shortcode [skdc_form])
   ========================================================================== */
.form-card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--orange); border-radius: var(--radius); padding: clamp(18px, 2.4vw, 26px); box-shadow: 0 16px 40px rgb(14 22 56 / .10); }
.form-title { font-size: 1.2rem; font-weight: 800; margin: 0 0 2px; }
.form-sub { font-size: .92rem; color: var(--muted); margin: 0 0 14px; }
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.f-field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.f-full { grid-column: 1 / -1; }
.f-field label { font-size: .85rem; font-weight: 600; }
.f-field input, .f-field select, .f-field textarea { width: 100%; min-height: 46px; padding: 10px 12px; font: 400 16px/1.4 var(--font); color: var(--navy); background: #fff; border: 1.5px solid #C2C9DF; border-radius: 9px; }
.f-field textarea { min-height: 0; resize: vertical; }
.f-field input::placeholder, .f-field textarea::placeholder { color: #5D6684; }
.f-field input:focus, .f-field select:focus, .f-field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgb(31 43 143 / .18); }
.form-note { margin: 10px 0 0; font-size: .8rem; color: var(--muted); text-align: center; }
@media (max-width: 480px) { .f-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   7. Sections & components (used inside page content)
   ========================================================================== */
.section { padding: var(--section) 0; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--dark); color: var(--on-dark); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p, .section-dark li { color: var(--on-dark); }
.section-dark .muted { color: var(--on-dark-muted); }
.section-dark a:not(.btn) { color: #fff; }
.section-dark .form-card, .section-dark .form-card p, .section-dark .form-card label { color: var(--navy); }
.section-dark .form-card .form-sub, .section-dark .form-card .form-note { color: var(--muted); }
.section-dark .kicker { color: var(--orange); }
.section-head { max-width: 760px; margin-bottom: clamp(24px, 3.5vw, 40px); }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }
.section-dark .section-head p { color: var(--on-dark-muted); }
.muted { color: var(--muted); }

/* trust strip */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.strip > div { padding: 20px 22px; border-right: 1px solid var(--line); }
.strip > div:last-child { border-right: 0; }
.strip b { display: block; font-size: 1.35rem; font-weight: 800; color: var(--primary); line-height: 1.2; }
.strip span { font-size: .92rem; color: var(--muted); }
@media (max-width: 820px) { .strip { grid-template-columns: 1fr 1fr; } .strip > div:nth-child(2) { border-right: 0; } .strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

/* cards */
.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.cards-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.card { display: flex; flex-direction: column; gap: 6px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--navy); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
a.card:hover { border-color: var(--primary); box-shadow: 0 10px 24px rgb(14 22 56 / .08); }
.card h3 { margin: 6px 0 2px; font-size: 1.06rem; }
.card p { margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.6; }
.card .more { margin-top: auto; padding-top: 10px; font-weight: 600; font-size: .92rem; color: var(--primary); }
.card .ico { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--orange-soft); color: var(--orange-text); font-weight: 800; font-size: 1.1rem; }
.card .ico svg { width: 22px; height: 22px; }
.card .badge { align-self: flex-start; font-size: .78rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--red); background: #FDECEA; padding: 3px 8px; border-radius: 999px; }
.section-dark .card { background: rgb(255 255 255 / .05); border-color: rgb(255 255 255 / .14); color: var(--on-dark); }
.section-dark .card p { color: var(--on-dark-muted); }

/* two column */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.split-center { align-items: center; }
.split > div { min-width: 0; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 30px); }
.section-soft .panel { background: #fff; }

/* check list */
.checks { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 9px; }
.checks li { position: relative; padding-left: 30px; margin: 0; }
.checks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 19px; height: 19px; border-radius: 50%; background: var(--orange-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A4B00' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat; }
.checks.two { grid-template-columns: 1fr 1fr; gap: 9px 22px; }
@media (max-width: 560px) { .checks.two { grid-template-columns: 1fr; } }

/* steps */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.steps li { counter-increment: s; margin: 0; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 12px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 800; }
.steps h3 { font-size: 1.04rem; margin-bottom: 4px; }
.steps p { margin: 0; color: var(--muted); font-size: .94rem; }

/* chain (attestation order) */
.chain { list-style: none; padding: 0; margin: 0 0 1.4em; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.chain li { margin: 0; padding: 10px 14px; background: #fff; border: 1.5px solid var(--primary); border-radius: 10px; font-weight: 600; font-size: .95rem; color: var(--primary); position: relative; }
.chain li:not(:last-child)::after { content: "→"; position: absolute; right: -14px; top: 50%; transform: translateY(-50%); color: var(--orange-text); font-weight: 800; }
.chain li:not(:last-child) { margin-right: 10px; }
.chain li.final { background: var(--primary); color: #fff; }

/* answer box */
.answer { background: var(--orange-soft); border-left: 5px solid var(--orange); border-radius: 0 var(--radius) var(--radius) 0; padding: 16px 20px; margin: 0 0 1.6em; }
.answer p:last-child { margin-bottom: 0; }
.note { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; margin: 0 0 1.4em; font-size: .96rem; }
.note p:last-child { margin: 0; }

/* tables */
.table-wrap { overflow-x: auto; margin: 0 0 1.5em; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 560px; }
.table-wrap table { margin: 0; }
th, td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
thead th { background: var(--soft); font-size: .84rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 600; }
tbody tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 600; }

/* faq */
.faq { display: grid; gap: 10px; max-width: 880px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 18px; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 15px 0; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--soft); color: var(--primary); font-size: 1.15rem; }
.faq details[open] summary::after { content: "−"; }
.faq .faq-a { padding: 0 0 14px; color: var(--muted); }
.faq .faq-a p:last-child { margin: 0; }

/* chips (countries) */
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { margin: 0; }
.chips a { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--navy); text-decoration: none; font-weight: 600; font-size: .93rem; }
.chips a:hover { border-color: var(--primary); color: var(--primary); }
.section-dark .chips a { background: rgb(255 255 255 / .06); border-color: rgb(255 255 255 / .18); color: var(--on-dark); }
.section-dark .chips a:hover { border-color: var(--orange); }

/* area list */
.areas { columns: 4 170px; column-gap: 24px; list-style: none; padding: 0; margin: 0; }
.areas li { break-inside: avoid; padding: 6px 0; border-bottom: 1px dashed var(--line); margin: 0; font-weight: 500; }

/* CTA band */
.cta-band { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding: clamp(24px, 4vw, 44px); border-radius: var(--radius); background: var(--primary); color: #fff; }
.cta-band h2 { color: #fff; margin: 0 0 6px; }
.cta-band p { color: #DCE0F5; margin: 0; }

/* contact list */
.contact-list { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 12px; }
.contact-list li { margin: 0; padding-left: 0; }
.contact-list b { display: block; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.section-dark .contact-list b { color: var(--on-dark-muted); }

/* ==========================================================================
   8. Article (blog posts)
   ========================================================================== */
.article-hero { padding: clamp(28px, 4vw, 48px) 0 clamp(8px, 2vw, 18px); background: var(--soft); border-bottom: 1px solid var(--line); }
.article-hero h1 { max-width: 22ch; }
.article-cta { display: none; margin-bottom: 8px; }
@media (max-width: 1000px) { .article-cta { display: block; } }
.article-hero .lead { color: var(--muted); font-size: 1.1rem; max-width: 68ch; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .88rem; color: var(--muted); margin: 0 0 14px; }
.entry .featured { margin: 0 0 1.6em; }
.entry .featured img { width: 100%; margin: 0; border-radius: var(--radius); aspect-ratio: 1200 / 630; object-fit: cover; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(28px, 4vw, 56px); padding: clamp(32px, 4vw, 52px) 0 var(--section); align-items: start; }
.article-layout aside { position: sticky; top: calc(var(--header-h) + var(--adminbar) + 16px); display: grid; gap: 18px; }
@media (max-width: 1000px) { .article-layout { grid-template-columns: minmax(0, 1fr); } .article-layout aside { position: static; } }
.entry { min-width: 0; max-width: 760px; }
.entry h2 { margin-top: 1.7em; scroll-margin-top: calc(var(--header-h) + 20px); }
.entry h3 { margin-top: 1.3em; }
.entry > *:first-child { margin-top: 0; }
.entry img { border-radius: var(--radius); border: 1px solid var(--line); margin: 1.2em 0 .5em; }
.entry figure { margin: 1.4em 0; }
.entry figcaption, .wp-caption-text { font-size: .86rem; color: var(--muted); text-align: center; margin-top: 6px; }
.entry table { margin: 0 0 1.5em; border: 1px solid var(--line); min-width: 0; }
@media (max-width: 640px) { .entry table { display: block; overflow-x: auto; font-size: .9rem; } .entry th, .entry td { padding: 10px; } }
.entry blockquote { margin: 1.4em 0; padding: 12px 18px; border-left: 4px solid var(--orange); background: var(--soft); border-radius: 0 var(--radius) var(--radius) 0; }
.toc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.toc p { font-weight: 800; margin: 0 0 8px; }
.toc ol { margin: 0; padding-left: 1.2em; font-size: .93rem; }
.toc li { margin-bottom: 6px; }
.toc a { color: var(--navy); text-decoration: none; display: inline-block; padding: 3px 0; }
.toc a:hover { color: var(--primary); text-decoration: underline; }
.toc-inline { display: none; }
@media (max-width: 1000px) { .toc-side { display: none; } .toc-inline { display: block; margin-bottom: 1.6em; } }
.author-box { display: flex; gap: 14px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); margin-top: 2em; background: var(--soft); }
.author-box img { width: 56px; border-radius: 10px; background: #fff; padding: 4px; }
.author-box p { margin: 0; font-size: .93rem; color: var(--muted); }

.abroad-box { margin: 2em 0; padding: 20px 22px; border-radius: var(--radius); background: var(--soft); border: 1px solid var(--line); border-left: 5px solid var(--primary); }
.abroad-box .ab-title { font-weight: 800; font-size: 1.1rem; margin: 0 0 6px; color: var(--navy); }
.abroad-box .ab-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 0; }
.entry .abroad-box .btn { text-decoration: none; }

/* blog index */
.post-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.post-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; text-decoration: none; color: var(--navy); }
.post-card:hover { border-color: var(--primary); }
.post-card img { aspect-ratio: 1200 / 630; object-fit: cover; width: 100%; }
.post-card .pc-body { padding: 18px 20px 20px; }
.post-card h2, .post-card h3 { font-size: 1.08rem; margin: 0 0 6px; line-height: 1.35; }
.post-card p { margin: 0; font-size: .93rem; color: var(--muted); }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.pagination .page-numbers { min-width: 44px; min-height: 44px; display: grid; place-items: center; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; }
.pagination .current { background: var(--primary); color: #fff; border-color: var(--primary); }

/* plain pages */
.page-hero { padding: clamp(32px, 5vw, 56px) 0 clamp(24px, 3vw, 36px); background: var(--soft); border-bottom: 1px solid var(--line); }
.page-body { padding: clamp(32px, 4vw, 52px) 0 var(--section); }

/* ==========================================================================
   9. Footer + mobile action bar
   ========================================================================== */
.site-footer { background: #070B2E; color: #C3C9E6; padding: 52px 0 20px; font-size: .93rem; }
.site-footer a { color: #C3C9E6; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.f-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
@media (max-width: 900px) { .f-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .f-cols { grid-template-columns: 1fr; } }
.site-footer .f-title { color: #fff; font-size: 1rem; font-weight: 600; margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.site-footer li { margin: 0; }
.f-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; color: #fff; font-weight: 800; }
.f-brand img { width: 58px; background: #fff; border-radius: 8px; padding: 5px; }
.f-bottom { margin-top: 34px; padding-top: 18px; border-top: 1px solid rgb(255 255 255 / .12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .85rem; color: #A9B1D6; }
.mobile-bar { display: none; }
@media (max-width: 720px) {
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; border-top: 1px solid var(--line); background: #fff; }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; font-weight: 600; text-decoration: none; }
  .mobile-bar .mb-call { background: var(--primary); color: #fff; }
  .mobile-bar .mb-wa { background: var(--green); color: #fff; }
  .mobile-bar svg { width: 20px; height: 20px; }
  body { padding-bottom: 54px; }
}

/* ==========================================================================
   10. Elementor & editor friendliness
   ========================================================================== */
.elementor-page .page-hero { display: none; }
.sk-full .elementor { width: 100%; }
.alignwide { max-width: var(--container); margin-inline: auto; }
.alignfull { width: 100%; }
.aligncenter { margin-inline: auto; }
.alignleft { float: left; margin: .3em 1.2em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.2em; }
@media print { .topbar, .site-header, .mobile-bar, .site-footer, .form-card, aside { display: none !important; } }
