/*
 * Helpflight 2.0 — disainisüsteem (docs/ui-components.md).
 * Värvid, fondid, suurused ja vahed on defineeritud theme.json-is (üks allikas); siin on ainult aliased.
 * Mobile-first: 600 / 900 / 1024 (päise menüü) / 1200 px. Kihte (@layer) ei kasutata: WP core'i ja plugina
 * CSS on kihtideta ja võidaks alati. Baaselemendid on :where()-iga madala spetsiifilisusega.
 */

/* ---------- 1. Tokenid ---------- */
:root {
  --hf-navy: var(--wp--preset--color--navy);
  --hf-blue: var(--wp--preset--color--blue);
  --hf-blue-dark: var(--wp--preset--color--blue-dark);
  --hf-teal: var(--wp--preset--color--teal);
  --hf-teal-ink: var(--wp--preset--color--teal-ink);
  --hf-background: var(--wp--preset--color--background);
  --hf-warm: var(--wp--preset--color--warm);
  --hf-white: var(--wp--preset--color--white);
  --hf-text: var(--wp--preset--color--text);
  --hf-muted: var(--wp--preset--color--muted);
  --hf-border: var(--wp--preset--color--border);
  --hf-border-strong: var(--wp--preset--color--border-strong);
  --hf-success: var(--wp--preset--color--success);
  --hf-success-ink: var(--wp--preset--color--success-ink);
  --hf-warning: var(--wp--preset--color--warning);
  --hf-danger: var(--wp--preset--color--danger);
  --hf-danger-ink: var(--wp--preset--color--danger-ink);

  /* Semantilised aliased (plugina checker.css / consent.css ja Literatumi fallback kasutavad neid) */
  --hf-bg: var(--hf-white);
  --hf-surface: var(--hf-background);
  --hf-accent: var(--hf-blue);
  --hf-accent-hover: var(--hf-blue-dark);

  --hf-font-heading: var(--wp--preset--font-family--heading);
  --hf-font-body: var(--wp--preset--font-family--body);
  --hf-fs-ui: var(--wp--preset--font-size--ui);
  --hf-fs-sm: var(--wp--preset--font-size--sm);
  --hf-fs-body: var(--wp--preset--font-size--body);
  --hf-fs-lg: var(--wp--preset--font-size--lg);
  --hf-fs-h4: var(--wp--preset--font-size--h-4);
  --hf-fs-h3: var(--wp--preset--font-size--h-3);
  --hf-fs-h2: var(--wp--preset--font-size--h-2);
  --hf-fs-h1: var(--wp--preset--font-size--h-1);
  --hf-fs-display: var(--wp--preset--font-size--display);

  --hf-space-1: var(--wp--preset--spacing--1);
  --hf-space-2: var(--wp--preset--spacing--2);
  --hf-space-3: var(--wp--preset--spacing--3);
  --hf-space-4: var(--wp--preset--spacing--4);
  --hf-space-5: var(--wp--preset--spacing--5);
  --hf-space-6: var(--wp--preset--spacing--6);
  --hf-space-7: var(--wp--preset--spacing--7);
  --hf-space-8: var(--wp--preset--spacing--8);
  --hf-space-9: var(--wp--preset--spacing--9);
  --hf-space-10: var(--wp--preset--spacing--10);

  --hf-container: 1240px;
  --hf-container-wide: 1360px;
  --hf-measure: 760px;
  --hf-gutter: 20px;
  --hf-gap: 16px;
  --hf-section: 56px;
  --hf-section-lg: 64px;
  --hf-section-sm: 40px;

  --hf-radius-sm: 8px;
  --hf-radius: 12px;
  --hf-radius-card: 16px;
  --hf-shadow-card: var(--wp--preset--shadow--card);
  --hf-control-h: 48px;
  --hf-control-h-lg: 54px;
  --hf-header-h: 64px;
  --hf-focus: 0 0 0 3px var(--hf-white), 0 0 0 5px var(--hf-blue);
}
@media (min-width: 600px) {
  :root { --hf-gutter: 24px; --hf-gap: 20px; }
}
@media (min-width: 900px) {
  :root { --hf-gap: 24px; --hf-section: 96px; --hf-section-lg: 120px; --hf-section-sm: 64px; --hf-header-h: 80px; }
}
@media (min-width: 1200px) {
  :root { --hf-gutter: 32px; }
}

/* Varufondid mõõdetud meetrikaga (CLS): Arial kohandatud Inter/Manrope mõõtu. */
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial"), local("ArialMT"), local("Helvetica Neue"), local("Roboto");
  size-adjust: 109.38%;
  ascent-override: 88.57%;
  descent-override: 22.05%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Manrope Fallback";
  src: local("Arial"), local("ArialMT"), local("Helvetica Neue"), local("Roboto");
  size-adjust: 108.03%;
  ascent-override: 98.68%;
  descent-override: 27.77%;
  line-gap-override: 0%;
}

/* ---------- 2. Baas ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--hf-header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--hf-font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--hf-text);
  background: var(--hf-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
@media (min-width: 900px) { body { font-size: var(--hf-fs-body); } }
:where(h1, h2, h3, h4, h5, h6) {
  margin: 0 0 .5em;
  font-family: var(--hf-font-heading);
  font-weight: 750;
  color: var(--hf-navy);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
:where(h1) { font-size: var(--hf-fs-h1); line-height: 1.1; }
:where(h2) { font-size: var(--hf-fs-h2); line-height: 1.15; }
:where(h3) { font-size: var(--hf-fs-h3); line-height: 1.2; }
:where(h4) { font-size: var(--hf-fs-h4); line-height: 1.3; }
:where(p, ul, ol, dl, table, figure, blockquote) { margin: 0 0 1em; }
:where(img, svg, video) { max-width: 100%; height: auto; }
:where(img) { display: block; }
:where(a) { color: var(--hf-blue); text-decoration-thickness: 1px; text-underline-offset: .18em; }
:where(a:hover) { color: var(--hf-blue-dark); }
:where(strong, b) { font-weight: 600; }
:where(hr) { border: 0; border-top: 1px solid var(--hf-border); margin: 2em 0; }
:where(button, input, select, textarea) { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--hf-blue); outline-offset: 2px; }
.hf-section--navy :focus-visible, .hf-site-footer :focus-visible, .hf-claims-cta--final :focus-visible { outline-color: var(--hf-white); }
::selection { background: color-mix(in srgb, var(--hf-teal) 25%, transparent); }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.hf-skip {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 1000;
  padding: 12px 16px;
  border-radius: var(--hf-radius-sm);
  background: var(--hf-navy);
  color: var(--hf-white);
  font-weight: 600;
  text-decoration: none;
}
.hf-skip:focus { top: 12px; color: var(--hf-white); }

/* ---------- 3. Paigutus ---------- */
.hf-container {
  width: 100%;
  max-width: calc(var(--hf-container) + 2 * var(--hf-gutter));
  margin-inline: auto;
  padding-inline: var(--hf-gutter);
}
.hf-container--wide { max-width: calc(var(--hf-container-wide) + 2 * var(--hf-gutter)); }
.hf-container--measure { max-width: calc(var(--hf-measure) + 2 * var(--hf-gutter)); }
.hf-measure { max-width: var(--hf-measure); }
.hf-entity-foot { padding-top: var(--hf-space-6); }

.hf-section { padding-block: var(--hf-section); }
.hf-section:not([class*="hf-section--"]) + .hf-section:not([class*="hf-section--"]) { padding-top: 0; }
.hf-section--muted { background: var(--hf-background); }
.hf-section--warm { background: var(--hf-warm); }
.hf-section--navy { background: var(--hf-navy); color: #dbe5ea; }
.hf-section--navy :where(h2, h3) { color: var(--hf-white); }
.hf-section--navy .hf-section__lead { color: #c4d2d9; }
.hf-section--compact { padding-block: var(--hf-section-sm); }
.hf-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--hf-space-3) var(--hf-space-6);
  margin-bottom: var(--hf-space-6);
}
.hf-section__head h2 { margin: 0; }
.hf-section__lead { margin: var(--hf-space-2) 0 0; max-width: 42rem; color: var(--hf-muted); font-size: var(--hf-fs-lg); }
.hf-section__more { font-weight: 600; text-decoration: none; white-space: nowrap; }
.hf-section__more:hover { text-decoration: underline; }
.hf-section--navy .hf-section__more { color: var(--hf-white); }

.hf-grid {
  display: grid;
  gap: var(--hf-gap);
  grid-template-columns: minmax(0, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 600px) {
  .hf-grid--2, .hf-grid--3, .hf-grid--4, .hf-grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hf-grid--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .hf-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hf-grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hf-grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hf-grid--compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1200px) {
  .hf-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hf-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .hf-grid--compact { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

/* ---------- 4. Tüpograafia abid ---------- */
.hf-eyebrow {
  margin: 0 0 var(--hf-space-2);
  font-family: var(--hf-font-heading);
  font-size: var(--hf-fs-ui);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--hf-teal-ink);
}
.hf-section--navy .hf-eyebrow { color: var(--hf-teal); }
.hf-lead { font-size: var(--hf-fs-lg); color: var(--hf-muted); }
.hf-meta { font-size: var(--hf-fs-sm); color: var(--hf-muted); }
.hf-updated { margin-top: var(--hf-space-7); font-size: var(--hf-fs-sm); color: var(--hf-muted); }

.hf-prose { font-size: 1.0625rem; }
.hf-prose > :first-child { margin-top: 0; }
.hf-prose :where(h2) { margin: 1.8em 0 .55em; font-size: clamp(1.5rem, 1.25rem + 1vw, 1.875rem); scroll-margin-top: calc(var(--hf-header-h) + 16px); }
.hf-prose :where(h3) { margin: 1.5em 0 .45em; font-size: clamp(1.25rem, 1.15rem + .5vw, 1.375rem); scroll-margin-top: calc(var(--hf-header-h) + 16px); }
.hf-prose :where(h4) { margin: 1.3em 0 .4em; }
.hf-prose :where(ul, ol) { padding-left: 1.3em; }
.hf-prose :where(li) { margin-bottom: .35em; }
.hf-prose :where(li)::marker { color: var(--hf-teal-ink); }
.hf-prose :where(blockquote) { margin-inline: 0; padding: .25em 0 .25em 1.25em; border-left: 3px solid var(--hf-teal); color: var(--hf-muted); }
.hf-prose :where(table) { width: 100%; border-collapse: collapse; font-size: var(--hf-fs-sm); }
.hf-prose :where(th, td) { padding: .7em .8em; text-align: left; vertical-align: top; border-bottom: 1px solid var(--hf-border); }
.hf-prose :where(thead th) { font-weight: 600; color: var(--hf-navy); background: var(--hf-background); border-bottom-color: var(--hf-border-strong); }
.hf-prose .wp-block-table { overflow-x: auto; margin-inline: 0; }
.hf-prose :where(figure) { margin-inline: 0; }
.hf-prose :where(figcaption) { font-size: var(--hf-fs-sm); color: var(--hf-muted); }
.hf-prose :where(img) { border-radius: var(--hf-radius); }
.hf-prose :where(pre, code) { font-size: .9em; }
.hf-prose :where(pre) { overflow-x: auto; padding: 1em; border-radius: var(--hf-radius-sm); background: var(--hf-background); }
@media (max-width: 599px) {
  .hf-prose table:not(.hf-comp-table) { display: block; overflow-x: auto; }
}

/* ---------- 5. Nupud ---------- */
.hf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  min-height: var(--hf-control-h);
  padding: .65rem 1.25rem;
  border: 1px solid transparent;
  border-radius: var(--hf-radius-sm);
  font-family: var(--hf-font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.hf-btn--primary { color: var(--hf-white); background: var(--hf-blue); border-color: var(--hf-blue); }
.hf-btn--primary:hover { color: var(--hf-white); background: var(--hf-blue-dark); border-color: var(--hf-blue-dark); }
.hf-btn--secondary { color: var(--hf-navy); background: var(--hf-white); border-color: var(--hf-border-strong); }
.hf-btn--secondary:hover { color: var(--hf-navy); border-color: var(--hf-navy); background: var(--hf-background); }
.hf-btn--ghost { color: var(--hf-blue); background: transparent; padding-inline: .25rem; }
.hf-btn--ghost:hover { color: var(--hf-blue-dark); text-decoration: underline; }
.hf-btn--on-dark { color: var(--hf-navy); background: var(--hf-white); border-color: var(--hf-white); }
.hf-btn--on-dark:hover { color: var(--hf-navy); background: #e8eef1; }
.hf-btn--lg { min-height: var(--hf-control-h-lg); padding: .8rem 1.5rem; font-size: 1.0625rem; }
.hf-btn--block { width: 100%; }
.hf-btn:focus-visible { outline: none; box-shadow: var(--hf-focus); }
.hf-btn--sm { min-height: 40px; padding: .45rem .9rem; font-size: var(--hf-fs-sm); }

/* ---------- 6. Vormiväljad ---------- */
.hf-field { display: flex; flex-direction: column; gap: var(--hf-space-2); min-width: 0; }
.hf-label { font-size: var(--hf-fs-sm); font-weight: 600; color: var(--hf-navy); }
.hf-input, .hf-select, .hf-textarea {
  width: 100%;
  min-height: var(--hf-control-h);
  padding: .6rem .8rem;
  border: 1px solid var(--hf-border-strong);
  border-radius: var(--hf-radius-sm);
  background: var(--hf-white);
  color: var(--hf-text);
  font-size: 1rem;
}
.hf-select {
  appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath stroke='%23102A36' stroke-width='1.6' d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .9rem center;
}
.hf-input:hover, .hf-select:hover { border-color: var(--hf-navy); }
.hf-input:focus-visible, .hf-select:focus-visible, .hf-textarea:focus-visible { outline: none; border-color: var(--hf-blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--hf-blue) 30%, transparent); }
.hf-input[aria-invalid="true"] { border-color: var(--hf-danger-ink); }
.hf-hint { font-size: var(--hf-fs-sm); color: var(--hf-muted); }
.hf-error { font-size: var(--hf-fs-sm); font-weight: 600; color: var(--hf-danger-ink); }
:where(input, select, textarea):disabled { opacity: .55; cursor: not-allowed; }

.hf-search { display: flex; gap: var(--hf-space-2); margin: var(--hf-space-5) 0; }
.hf-search .hf-input { flex: 1 1 auto; }

/* ---------- 7. Päis ---------- */
.hf-site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--hf-header-h);
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--hf-border);
  transition: box-shadow .2s ease;
}
@supports (backdrop-filter: blur(8px)) {
  .hf-site-header { background: rgba(255, 255, 255, .88); backdrop-filter: saturate(1.4) blur(10px); }
}
.hf-site-header.is-scrolled { box-shadow: 0 2px 16px rgba(16, 42, 54, .07); }
.admin-bar .hf-site-header { top: 46px; }
@media (min-width: 783px) { .admin-bar .hf-site-header { top: 32px; } }
.hf-site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--hf-space-4);
  height: 100%;
}
.hf-logo {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-right: auto;
  font-family: var(--hf-font-heading);
  font-size: 1.1875rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--hf-navy);
  text-decoration: none;
}
.hf-logo:hover { color: var(--hf-navy); }
.hf-logo__mark { flex: 0 0 auto; width: 28px; height: 28px; color: var(--hf-teal); }
.hf-nav { display: none; }
.hf-nav ul { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.hf-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 .7rem;
  border-radius: var(--hf-radius-sm);
  font-size: .9375rem;
  font-weight: 600;
  color: var(--hf-text);
  text-decoration: none;
}
.hf-nav a:hover { color: var(--hf-navy); background: var(--hf-background); }
.hf-nav a[aria-current="page"] { color: var(--hf-navy); box-shadow: inset 0 -2px 0 var(--hf-teal); border-radius: 0; }
.hf-header-cta { display: flex; align-items: center; gap: var(--hf-space-3); }
.hf-header-cta__prompt { display: none; font-size: var(--hf-fs-sm); color: var(--hf-muted); white-space: nowrap; }
.hf-header-cta .hf-btn { min-height: 44px; padding: .5rem 1rem; font-size: .9375rem; }
.hf-header-cta__long { display: none; }
.hf-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: -10px;
  padding: 0;
  border: 0;
  border-radius: var(--hf-radius-sm);
  background: transparent;
  color: var(--hf-navy);
  cursor: pointer;
  order: -1;
}
.hf-menu-toggle:hover { background: var(--hf-background); }
.hf-menu-toggle svg { width: 24px; height: 24px; }
.hf-menu-toggle .hf-icon-close { display: none; }
.hf-menu-toggle[aria-expanded="true"] .hf-icon-open { display: none; }
.hf-menu-toggle[aria-expanded="true"] .hf-icon-close { display: block; }
.no-js .hf-menu-toggle { display: none; }

.hf-drawer {
  background: var(--hf-white);
  border-bottom: 1px solid var(--hf-border);
}
.js .hf-drawer {
  position: fixed;
  inset: var(--hf-header-h) 0 0 0;
  z-index: 59;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 0;
}
.admin-bar.js .hf-drawer { top: calc(var(--hf-header-h) + 46px); }
@media (min-width: 783px) { .admin-bar.js .hf-drawer { top: calc(var(--hf-header-h) + 32px); } }
.js .hf-drawer[hidden] { display: none; }
.hf-drawer__inner { padding-block: var(--hf-space-4) var(--hf-space-8); }
.hf-drawer ul { margin: 0; padding: 0; list-style: none; }
.hf-drawer__primary a {
  display: flex;
  align-items: center;
  min-height: 52px;
  font-family: var(--hf-font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--hf-navy);
  text-decoration: none;
  border-bottom: 1px solid var(--hf-border);
}
.hf-drawer__label { margin: var(--hf-space-6) 0 var(--hf-space-2); font-size: var(--hf-fs-ui); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--hf-muted); }
.hf-drawer__secondary a { display: flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--hf-text); text-decoration: none; }
.hf-drawer__cta { margin-top: var(--hf-space-6); }
.hf-drawer-open { overflow: hidden; }

@media (min-width: 600px) {
  .hf-header-cta__short { display: none; }
  .hf-header-cta__long { display: inline; }
}
@media (min-width: 1024px) {
  .hf-menu-toggle, .hf-drawer, .js .hf-drawer { display: none; }
  .hf-nav { display: block; }
  .hf-logo { margin-right: var(--hf-space-5); font-size: 1.25rem; }
  .hf-header-cta { margin-left: auto; }
}
@media (min-width: 1280px) {
  .hf-header-cta__prompt { display: inline; }
  .hf-nav a { padding: 0 .85rem; }
}

/* ---------- 8. Jalus ---------- */
.hf-site-footer {
  margin-top: 0;
  padding-block: var(--hf-space-8) var(--hf-space-6);
  background: var(--hf-navy);
  color: #c4d2d9;
  font-size: var(--hf-fs-sm);
}
.hf-site-footer a { color: #e4ecf0; text-decoration: none; }
.hf-site-footer a:hover { color: var(--hf-white); text-decoration: underline; }
.hf-footer__grid { display: grid; gap: var(--hf-space-6); grid-template-columns: minmax(0, 1fr); }
.hf-footer__brand .hf-logo { color: var(--hf-white); margin-bottom: var(--hf-space-3); }
.hf-footer__brand p { max-width: 22rem; margin: 0 0 .5em; }
.hf-footer__title { margin: 0 0 var(--hf-space-3); font-family: var(--hf-font-heading); font-size: var(--hf-fs-sm); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--hf-white); }
.hf-footer__col ul { margin: 0; padding: 0; list-style: none; }
.hf-footer__col li a { display: inline-flex; align-items: center; min-height: 36px; }
.hf-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--hf-space-3);
  margin-top: var(--hf-space-7);
  padding-top: var(--hf-space-5);
  border-top: 1px solid rgba(255, 255, 255, .14);
}
.hf-footer__bottom p { margin: 0; }
.hf-locales { display: flex; flex-wrap: wrap; gap: var(--hf-space-2) var(--hf-space-4); margin: 0; padding: 0; list-style: none; }
.hf-locales [aria-current] { color: var(--hf-white); font-weight: 700; }
.hf-locales__soon { color: #93a6b0; }
.hf-locales__soon small { font-size: .8em; }
@media (min-width: 600px) { .hf-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .hf-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* ---------- 9. Murdjooned ---------- */
.hf-breadcrumbs { margin-bottom: var(--hf-space-4); font-size: var(--hf-fs-sm); color: var(--hf-muted); }
.hf-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .25rem; margin: 0; padding: 0; list-style: none; }
.hf-breadcrumbs li + li::before { content: "›"; margin-right: .35rem; color: var(--hf-border-strong); }
.hf-breadcrumbs a { color: var(--hf-muted); text-decoration: none; }
.hf-breadcrumbs a:hover { color: var(--hf-blue); text-decoration: underline; }
.hf-breadcrumbs [aria-current] { color: var(--hf-text); }

/* ---------- 10. Kaardid ---------- */
.hf-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: var(--hf-space-5);
  background: var(--hf-white);
  border: 1px solid var(--hf-border);
  border-radius: var(--hf-radius-card);
  box-shadow: var(--hf-shadow-card);
  color: var(--hf-text);
}
.hf-card__title { margin: 0 0 var(--hf-space-2); font-size: var(--hf-fs-h4); line-height: 1.25; color: var(--hf-navy); }
.hf-card__title a { color: inherit; text-decoration: none; }
.hf-card__title a:hover { color: var(--hf-blue); }
.hf-card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.hf-card:has(.hf-card__link:hover) { border-color: var(--hf-border-strong); }
.hf-card__link:focus-visible { outline: none; }
.hf-card:has(.hf-card__link:focus-visible) { outline: 3px solid var(--hf-blue); outline-offset: 2px; }
.hf-card__sub { margin: 0 0 var(--hf-space-3); color: var(--hf-muted); font-size: var(--hf-fs-sm); }
.hf-card__text { margin: 0 0 var(--hf-space-3); color: var(--hf-muted); font-size: .9375rem; }
.hf-card__meta { margin: auto 0 0; padding-top: var(--hf-space-3); font-size: var(--hf-fs-sm); color: var(--hf-text); font-weight: 500; }
.hf-card__facts { display: flex; flex-wrap: wrap; gap: .25rem .9rem; margin: 0 0 var(--hf-space-3); padding: 0; list-style: none; font-size: var(--hf-fs-sm); color: var(--hf-text); }
.hf-card__facts li + li::before { content: "·"; margin-right: .9rem; color: var(--hf-border-strong); }
.hf-card__cta { margin: auto 0 0; padding-top: var(--hf-space-3); font-weight: 600; font-size: .9375rem; color: var(--hf-blue); }
.hf-card__actions { margin: auto 0 0; padding-top: var(--hf-space-3); }
.hf-card__more { position: relative; z-index: 1; font-weight: 600; font-size: .9375rem; text-decoration: none; }
.hf-card__more:hover { text-decoration: underline; }
.hf-card__links { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0 0 var(--hf-space-3); padding: 0; list-style: none; }
.hf-card__links a {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: .25rem .7rem;
  border: 1px solid var(--hf-border);
  border-radius: 999px;
  font-size: var(--hf-fs-sm);
  font-weight: 500;
  color: var(--hf-navy);
  text-decoration: none;
  background: var(--hf-white);
}
.hf-card__links a:hover { border-color: var(--hf-teal); color: var(--hf-teal-ink); }
.hf-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-bottom: var(--hf-space-4); border-radius: var(--hf-radius); background: var(--hf-background); color: var(--hf-teal-ink); }
.hf-card__icon--ok { background: color-mix(in srgb, var(--hf-success) 12%, white); color: var(--hf-success-ink); }
.hf-icon { width: 24px; height: 24px; flex: 0 0 auto; }

/* Kasulikkuse kaart: lennujaamad, lennufirmad, marsruudid, tööriistad */
.hf-card--utility { box-shadow: none; }
/* Kommertskaart: hotellid, pakkumised, hüvitis — veidi raskem, selge CTA */
.hf-card--commercial { border-color: #d3dce1; box-shadow: 0 1px 2px rgba(16, 42, 54, .05), 0 10px 30px rgba(16, 42, 54, .08); }
.hf-card--commercial .hf-card__icon { background: color-mix(in srgb, var(--hf-teal) 12%, white); }
/* Toimetuslik kaart: sihtkohad, juhendid — võib kasutada fotot */
.hf-card--editorial { padding: 0; overflow: hidden; box-shadow: none; }
.hf-card--editorial .hf-card__body { display: flex; flex-direction: column; flex: 1 1 auto; padding: var(--hf-space-5); }
.hf-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--hf-background); }
.hf-card__media img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.hf-card--editorial.hf-card--no-media { border-top: 3px solid var(--hf-teal); }
.hf-card--tool { padding: var(--hf-space-5); box-shadow: 0 1px 2px rgba(16, 42, 54, .05), 0 16px 40px rgba(16, 42, 54, .10); }
@media (min-width: 900px) { .hf-card--tool { padding: var(--hf-space-6); } }

/* Lennundusidentiteet: TLL → BCN, TLL, FR */
.hf-id { display: flex; align-items: center; gap: .5rem; margin: 0 0 var(--hf-space-3); font-family: var(--hf-font-heading); color: var(--hf-navy); }
.hf-id__code { font-size: 1.625rem; font-weight: 800; letter-spacing: .02em; line-height: 1; font-variant-numeric: tabular-nums; }
.hf-id__code--xl { font-size: clamp(2.25rem, 1.8rem + 2vw, 3rem); }
.hf-id__arrow { font-size: 1.25rem; font-weight: 700; color: var(--hf-teal); }
.hf-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: var(--hf-radius);
  background: var(--hf-navy);
  color: var(--hf-white);
  font-family: var(--hf-font-heading);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .04em;
}
.hf-tile--xl { width: 72px; height: 72px; border-radius: var(--hf-radius-card); font-size: 1.5rem; }
.hf-airline-card { flex-direction: row; align-items: center; gap: var(--hf-space-3); padding: var(--hf-space-4); }
.hf-airline-card .hf-card__title { margin: 0; font-size: 1rem; }
.hf-airline-card .hf-card__sub { margin: 0; font-size: var(--hf-fs-ui); }
.hf-route-card--lg { padding: var(--hf-space-6); }
.hf-route-card--lg .hf-id__code { font-size: clamp(2.25rem, 1.8rem + 2vw, 3.25rem); }
.hf-route-card--lg .hf-id__arrow { font-size: 1.75rem; }
.hf-route-card--lg .hf-card__title { font-size: var(--hf-fs-h3); }

/* Kiibid (seotud entity'd) */
.hf-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.hf-chip {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 40px;
  padding: .35rem .9rem;
  border: 1px solid var(--hf-border);
  border-radius: 999px;
  background: var(--hf-white);
  color: var(--hf-navy);
  font-weight: 500;
  font-size: .9375rem;
  text-decoration: none;
}
.hf-chip:hover { border-color: var(--hf-teal); color: var(--hf-teal-ink); }
.hf-chip__code { font-family: var(--hf-font-heading); font-weight: 800; font-size: var(--hf-fs-ui); letter-spacing: .04em; color: var(--hf-teal-ink); }
.hf-related { display: grid; gap: var(--hf-space-5); }
.hf-related__title { margin: 0 0 var(--hf-space-2); font-size: var(--hf-fs-sm); font-family: var(--hf-font-body); font-weight: 600; color: var(--hf-muted); letter-spacing: 0; }
@media (min-width: 900px) { .hf-related { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- 11. Hero ---------- */
.hf-hero { padding-block: var(--hf-space-7) var(--hf-section); background: var(--hf-background); border-bottom: 1px solid var(--hf-border); }
.hf-hero__grid { display: grid; gap: var(--hf-space-7); align-items: center; }
.hf-hero__title { margin: 0 0 var(--hf-space-4); font-size: var(--hf-fs-display); line-height: 1.05; letter-spacing: -0.03em; }
.hf-hero--claims .hf-hero__title, .hf-hero--page .hf-hero__title { font-size: var(--hf-fs-h1); line-height: 1.1; }
.hf-hero__lead { max-width: 36rem; margin: 0 0 var(--hf-space-5); font-size: clamp(1.125rem, 1.05rem + .4vw, 1.3125rem); line-height: 1.55; color: var(--hf-muted); }
.hf-hero__actions { display: flex; flex-direction: column; gap: var(--hf-space-3); margin: var(--hf-space-5) 0 0; }
.hf-hero__actions .hf-btn { width: 100%; }
.hf-hero__aside { display: grid; gap: var(--hf-gap); }
.hf-claims-mini { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--hf-space-3); border-left: 4px solid var(--hf-teal); }
.hf-claims-mini .hf-card__title { margin: 0; font-size: 1.125rem; }
.hf-claims-mini .hf-card__text { margin: 0; flex: 1 1 12rem; }
.hf-claims-mini .hf-card__actions { margin: 0; padding: 0; }
@media (min-width: 600px) {
  .hf-hero__actions { flex-direction: row; flex-wrap: wrap; }
  .hf-hero__actions .hf-btn { width: auto; }
}
@media (min-width: 900px) {
  .hf-hero { padding-block: var(--hf-space-9) var(--hf-section-lg); }
  .hf-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--hf-space-8); }
}
@media (min-width: 1200px) {
  .hf-hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .hf-hero--claims .hf-hero__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); align-items: start; }
}
.hf-hero--claims .hf-hero__aside { scroll-margin-top: calc(var(--hf-header-h) + 16px); }

/* Linnukesed (usaldusrida) */
.hf-checks { display: grid; gap: .5rem; margin: 0 0 var(--hf-space-4); padding: 0; list-style: none; }
.hf-checks li { display: flex; align-items: center; gap: .6rem; font-weight: 500; }
.hf-checks .hf-icon { width: 22px; height: 22px; padding: 3px; border-radius: 50%; color: var(--hf-white); background: var(--hf-success-ink); stroke-width: 2.4; }
.hf-checks--inline { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: var(--hf-space-4) 0 0; }
.hf-section--navy .hf-checks li { color: var(--hf-white); }
.hf-section--navy .hf-checks .hf-icon { color: var(--hf-navy); background: var(--hf-teal); }

/* Leheküljepäis (artikkel, entity, hub) */
.hf-page-head { padding-block: var(--hf-space-6) var(--hf-space-7); background: var(--hf-background); border-bottom: 1px solid var(--hf-border); }
.hf-page-head__title { margin: 0 0 var(--hf-space-3); font-size: var(--hf-fs-h1); }
.hf-page-head__lead { max-width: 44rem; margin: 0; font-size: var(--hf-fs-lg); color: var(--hf-muted); }
.hf-page-head__meta { display: flex; flex-wrap: wrap; gap: .35rem 1.25rem; margin: var(--hf-space-4) 0 0; padding: 0; list-style: none; font-size: var(--hf-fs-sm); color: var(--hf-muted); }
.hf-page-head__meta strong { color: var(--hf-navy); font-weight: 600; }
.hf-page-head__actions { display: flex; flex-wrap: wrap; gap: var(--hf-space-3); margin: var(--hf-space-5) 0 0; }
.hf-page-head--entity .hf-id { margin-bottom: var(--hf-space-4); }
.hf-page-head__grid { display: grid; gap: var(--hf-space-6); align-items: center; }
.hf-page-head__media { border-radius: var(--hf-radius-card); overflow: hidden; aspect-ratio: 16 / 10; background: var(--hf-border); }
.hf-page-head__media img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .hf-page-head { padding-block: var(--hf-space-7) var(--hf-space-8); }
  .hf-page-head__grid--media { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
}

/* Sektsiooni navigatsioon (lennufirma, sihtkoht) */
.hf-anchor-nav { position: relative; border-bottom: 1px solid var(--hf-border); background: var(--hf-white); }
.hf-anchor-nav ul { display: flex; gap: .25rem; margin: 0; padding: .5rem 0; overflow-x: auto; list-style: none; scrollbar-width: none; }
.hf-anchor-nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 .8rem; border-radius: 999px; font-size: var(--hf-fs-sm); font-weight: 600; color: var(--hf-navy); text-decoration: none; white-space: nowrap; }
.hf-anchor-nav a:hover { background: var(--hf-background); }

/* ---------- 12. Komponendid ---------- */
/* Kiirtoimingud */
.hf-quick__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--hf-space-3); margin: 0; padding: 0; list-style: none; }
.hf-quick__item {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-height: 64px;
  padding: .75rem 1rem;
  border: 1px solid var(--hf-border);
  border-radius: var(--hf-radius);
  background: var(--hf-white);
  font-family: var(--hf-font-heading);
  font-weight: 700;
  color: var(--hf-navy);
  text-decoration: none;
}
.hf-quick__item .hf-icon { color: var(--hf-teal-ink); }
.hf-quick__item:hover { border-color: var(--hf-teal); color: var(--hf-navy); }
@media (min-width: 900px) { .hf-quick__list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Kontrollija riba (kompaktne vorm) */
.hf-tool { max-width: 64rem; }
.hf-quickcheck {
  display: grid;
  gap: var(--hf-space-4);
  padding: var(--hf-space-5);
  border-radius: var(--hf-radius-card);
  background: var(--hf-white);
  color: var(--hf-text);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .18);
}
.hf-field--submit .hf-btn { width: 100%; }
@media (min-width: 900px) {
  .hf-quickcheck { grid-template-columns: 1fr 1fr auto; align-items: end; padding: var(--hf-space-6); }
  .hf-field--submit .hf-btn { width: auto; }
}

/* Protsessi sammud */
.hf-steps { display: grid; gap: var(--hf-space-5); margin: 0; padding: 0; list-style: none; counter-reset: none; }
.hf-steps__item { position: relative; padding-left: 64px; }
.hf-steps__num {
  position: absolute;
  left: 0;
  top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--hf-teal);
  border-radius: 50%;
  font-family: var(--hf-font-heading);
  font-weight: 800;
  color: var(--hf-navy);
  background: var(--hf-white);
}
.hf-steps__title { margin: 0 0 .35rem; padding-top: .45rem; font-size: 1.125rem; }
.hf-steps__item p { margin: 0; color: var(--hf-muted); font-size: .9375rem; }
@media (min-width: 900px) {
  .hf-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--hf-space-6); }
  .hf-steps__item { padding: 64px 0 0; }
  .hf-steps__item:not(:last-child)::after { content: ""; position: absolute; top: 22px; left: 56px; right: -12px; height: 2px; background: var(--hf-border); }
}

/* Hind */
.hf-pricing { display: grid; gap: var(--hf-gap); margin-bottom: var(--hf-space-5); }
.hf-pricing__item { padding: var(--hf-space-5); border: 1px solid var(--hf-border); border-radius: var(--hf-radius-card); background: var(--hf-white); }
.hf-pricing__item p { margin: 0; color: var(--hf-muted); }
.hf-pricing__value { margin: 0 0 .25rem !important; font-family: var(--hf-font-heading); font-size: clamp(2rem, 1.6rem + 1.6vw, 2.75rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; color: var(--hf-navy) !important; }
.hf-pricing__item:first-child { border-color: var(--hf-teal); box-shadow: inset 0 0 0 1px var(--hf-teal); }
.hf-pricing__action { margin: 0; }
@media (min-width: 900px) { .hf-pricing { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Hüvitise tabel (mobiilis kaartidena) */
.hf-comp { max-width: 52rem; }
.hf-comp-table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--hf-border); border-radius: var(--hf-radius-card); overflow: hidden; background: var(--hf-white); margin: 0; }
.hf-comp-table th, .hf-comp-table td { padding: 1rem 1.25rem; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--hf-border); }
.hf-comp-table tr:last-child th, .hf-comp-table tr:last-child td { border-bottom: 0; }
.hf-comp-table thead th { font-size: var(--hf-fs-ui); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--hf-muted); background: var(--hf-background); }
.hf-comp-table tbody th { font-weight: 500; }
.hf-comp-table__dist { display: block; font-family: var(--hf-font-heading); font-weight: 700; font-size: 1.125rem; color: var(--hf-navy); }
.hf-comp-table__ex { display: block; font-size: var(--hf-fs-sm); color: var(--hf-muted); }
.hf-comp-table td { text-align: right; white-space: nowrap; }
.hf-comp-table__eur { font-family: var(--hf-font-heading); font-size: clamp(1.5rem, 1.3rem + 1vw, 2rem); font-weight: 800; color: var(--hf-navy); }
.hf-comp__note { margin: var(--hf-space-4) 0 0; font-size: var(--hf-fs-sm); color: var(--hf-muted); }

/* KKK */
.hf-faq { max-width: var(--hf-measure); border-top: 1px solid var(--hf-border); }
.hf-faq__item { border-bottom: 1px solid var(--hf-border); }
.hf-faq__q { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 56px; padding: 1rem 0; cursor: pointer; list-style: none; }
.hf-faq__q::-webkit-details-marker { display: none; }
.hf-faq__q h3 { margin: 0; font-size: 1.125rem; line-height: 1.35; }
.hf-faq__q::after { content: ""; flex: 0 0 auto; width: 12px; height: 12px; margin-right: 4px; border-right: 2px solid var(--hf-navy); border-bottom: 2px solid var(--hf-navy); transform: rotate(45deg) translateY(-3px); transition: transform .15s ease; }
.hf-faq__item[open] > .hf-faq__q::after { transform: rotate(-135deg) translateY(-3px); }
.hf-faq__q:focus-visible { outline-offset: 4px; }
.hf-faq__a { padding: 0 0 1.25rem; color: var(--hf-text); }
.hf-faq__a > :last-child { margin-bottom: 0; }
/* Core'i details-plokk samas stiilis */
.hf-prose .wp-block-details { border-bottom: 1px solid var(--hf-border); padding: .75rem 0; }
.hf-prose .wp-block-details summary { font-weight: 600; cursor: pointer; min-height: 44px; display: flex; align-items: center; }

/* Hüvitise CTA */
.hf-claims-cta--band { padding-block: var(--hf-space-6); }
.hf-claims-cta__inner, .hf-claims-cta--inline {
  display: flex;
  flex-direction: column;
  gap: var(--hf-space-4);
  padding: var(--hf-space-5);
  border: 1px solid var(--hf-border);
  border-left: 4px solid var(--hf-teal);
  border-radius: var(--hf-radius-card);
  background: var(--hf-background);
}
.hf-claims-cta--inline { margin: var(--hf-space-7) 0; }
.hf-claims-cta h2 { margin: 0 0 .35rem; font-size: var(--hf-fs-h4); }
.hf-claims-cta p { margin: 0; }
.hf-claims-cta__text p { color: var(--hf-muted); }
.hf-claims-cta__action .hf-btn { width: 100%; }
@media (min-width: 600px) {
  .hf-claims-cta__inner, .hf-claims-cta--inline { flex-direction: row; align-items: center; justify-content: space-between; }
  .hf-claims-cta__action .hf-btn { width: auto; white-space: nowrap; }
}
.hf-claims-cta--final { padding-block: var(--hf-section); background: var(--hf-navy); }
.hf-claims-cta--final .hf-claims-cta__inner { border: 0; background: transparent; padding: 0; }
.hf-claims-cta--final h2 { color: var(--hf-white); font-size: var(--hf-fs-h2); }
.hf-claims-cta--final .hf-claims-cta__text p { color: #c4d2d9; font-size: var(--hf-fs-lg); }

/* Otsene vastus, kriteeriumid, olukorrad */
.hf-answer { max-width: var(--hf-measure); margin-bottom: var(--hf-space-6); font-size: var(--hf-fs-lg); }
.hf-answer p:last-child { margin-bottom: 0; }
.hf-scenario, .hf-criterion { padding: var(--hf-space-5); }
.hf-scenario .hf-card__title, .hf-criterion .hf-card__title { font-size: 1.125rem; }
.hf-trust-card .hf-card__title { font-size: 1.125rem; }

/* Olekud (kontrollija tulemus) */
.hf-status { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .75rem; border-radius: 999px; font-size: var(--hf-fs-sm); font-weight: 600; }
.hf-status--positive { color: var(--hf-success-ink); background: color-mix(in srgb, var(--hf-success) 12%, white); }
.hf-status--neutral { color: var(--hf-blue-dark); background: color-mix(in srgb, var(--hf-blue) 10%, white); }
.hf-status--negative { color: var(--hf-muted); background: var(--hf-background); }

/* Helpflight Data */
.hf-data { display: grid; gap: var(--hf-space-6); }
.hf-data__value { margin: 0; font-family: var(--hf-font-heading); font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem); font-weight: 800; color: var(--hf-white); }
.hf-data__table { width: 100%; border-collapse: collapse; }
.hf-data__table th, .hf-data__table td { padding: .6rem 0; border-bottom: 1px solid rgba(255, 255, 255, .14); text-align: left; }
.hf-data__table td { text-align: right; }
.hf-data__source { font-size: var(--hf-fs-sm); color: #93a6b0; }

.hf-disclosure { padding: .75rem 1rem; border-radius: var(--hf-radius-sm); background: var(--hf-background); font-size: var(--hf-fs-sm); color: var(--hf-muted); }

/* Faktid (entity) */
.hf-facts-list { display: grid; gap: 0; margin: 0; border-top: 1px solid var(--hf-border); }
.hf-facts-list > div { display: grid; grid-template-columns: minmax(8rem, 38%) 1fr; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--hf-border); }
.hf-facts-list dt { font-weight: 600; color: var(--hf-navy); }
.hf-facts-list dd { margin: 0; }
.hf-facts-note { margin-top: .75rem; font-size: var(--hf-fs-sm); color: var(--hf-muted); }
.hf-sources { margin: 0; padding-left: 1.2em; font-size: var(--hf-fs-sm); color: var(--hf-muted); }

/* Literatumi-aegsed plugina klassid (Renderer) */
.hf-facts { width: 100%; border-collapse: collapse; margin: 1.5em 0; }
.hf-facts th, .hf-facts td { padding: .7em .8em; text-align: left; vertical-align: top; border-bottom: 1px solid var(--hf-border); }
.hf-facts th { width: 38%; font-weight: 600; color: var(--hf-navy); }
.hf-links { columns: 2; padding-left: 1.2em; }
.hf-claims { margin: 2em 0; padding: 1.25em 1.5em; border-left: 4px solid var(--hf-teal); border-radius: 0 var(--hf-radius) var(--hf-radius) 0; background: var(--hf-background); }
.hf-claims__link { display: inline-flex; align-items: center; min-height: 48px; padding: .6rem 1.2rem; border-radius: var(--hf-radius-sm); background: var(--hf-blue); color: var(--hf-white); font-weight: 600; text-decoration: none; }
.hf-claims__link:hover { background: var(--hf-blue-dark); color: var(--hf-white); }

/* ---------- 13. Lehtede paigutused ---------- */
.hf-landing__crumbs { padding-top: var(--hf-space-5); background: var(--hf-background); }
.hf-landing__crumbs .hf-breadcrumbs { margin: 0; }
.hf-landing__crumbs + .hf-landing > .hf-hero:first-child { padding-top: var(--hf-space-6); }
.hf-h-sources { font-size: var(--hf-fs-h4); margin-top: var(--hf-space-6); }
.hf-main { display: block; min-height: 50vh; }
.hf-article { padding-block: var(--hf-space-7) var(--hf-section); }
.hf-article__media { margin: 0 0 var(--hf-space-6); border-radius: var(--hf-radius-card); overflow: hidden; background: var(--hf-background); }
.hf-article__media img { width: 100%; height: auto; max-height: 460px; object-fit: cover; border-radius: 0; }
.hf-article .hf-claims-cta--inline, .hf-article .hf-disclosure { max-width: var(--hf-measure); }
/* Maandumisleht: plokid täislaiuses; tekstilõigud (group.hf-landing-text) joonduvad konteineriga, tekst lugemislaiuses */
.hf-landing > .hf-landing-text {
  max-width: calc(var(--hf-container) + 2 * var(--hf-gutter));
  margin-inline: auto;
  padding: var(--hf-section-sm) var(--hf-gutter);
  font-size: 1.0625rem;
}
.hf-landing > .hf-landing-text > * { max-width: var(--hf-measure); }
.hf-landing > .hf-landing-text > :first-child { margin-top: 0; }
.hf-landing > .hf-landing-text > :last-child { margin-bottom: 0; }
.hf-landing > .hf-landing-text h2 { margin: 1.6em 0 .55em; }
.hf-landing > .hf-landing-text h2:first-child { margin-top: 0; }
.hf-landing > .hf-landing-text :where(ul, ol) { padding-left: 1.3em; }
.hf-landing > .hf-landing-text :where(li)::marker { color: var(--hf-teal-ink); }
.hf-landing > .hf-landing-text + .hf-section:not([class*="hf-section--"]) { padding-top: var(--hf-space-5); }
.hf-landing > .hf-section:not([class*="hf-section--"]) + .hf-landing-text { padding-top: 0; }
/* Sisu ilma grupita (toimetaja lisatud lõigud): lugemislaiuses keskel */
.hf-landing > :is(p, ul, ol, h2, h3, figure, .wp-block-table) {
  max-width: calc(var(--hf-measure) + 2 * var(--hf-gutter));
  margin-inline: auto;
  padding-inline: var(--hf-gutter);
}
.hf-body-section { padding-block: var(--hf-section-sm); }
.hf-body-section .hf-prose { max-width: var(--hf-measure); }
.hf-hub-list { display: grid; gap: var(--hf-gap); }
.hf-empty { padding: var(--hf-space-6); border: 1px dashed var(--hf-border-strong); border-radius: var(--hf-radius-card); color: var(--hf-muted); }
.hf-pagination { margin-top: var(--hf-space-7); }
.hf-pagination .nav-links { display: flex; flex-wrap: wrap; gap: .5rem; }
.hf-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 .75rem; border: 1px solid var(--hf-border); border-radius: var(--hf-radius-sm); text-decoration: none; font-weight: 600; }
.hf-pagination .current { background: var(--hf-navy); border-color: var(--hf-navy); color: var(--hf-white); }

/* ---------- 14. Mobiili kleepuv hüvitise CTA ---------- */
.hf-sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 55;
  padding: .75rem var(--hf-gutter) calc(.75rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .97);
  border-top: 1px solid var(--hf-border);
  box-shadow: 0 -6px 20px rgba(16, 42, 54, .08);
}
.hf-sticky-cta[hidden] { display: none; }
.hf-sticky-cta .hf-btn { width: 100%; }
@media (min-width: 900px) { .hf-sticky-cta { display: none !important; } }
.has-sticky-cta .hf-site-footer { padding-bottom: calc(var(--hf-space-6) + 80px); }
@media (min-width: 900px) { .has-sticky-cta .hf-site-footer { padding-bottom: var(--hf-space-6); } }

/* ---------- 15. Nõusolekubänner (plugin) — kompaktsem mobiilis ---------- */
.hf-consent { font-family: var(--hf-font-body); border-color: var(--hf-border); border-radius: var(--hf-radius-card); box-shadow: 0 12px 40px rgba(16, 42, 54, .18); }
.hf-consent__text { font-size: .9375rem; }
.hf-consent__btn, .hf-consent-open { border-radius: var(--hf-radius-sm); }
@media (max-width: 600px) {
  .hf-consent { padding: 12px 14px; gap: 10px; font-size: 14px; }
  .hf-consent__text { font-size: 14px; line-height: 1.45; }
  .hf-consent__actions { flex-direction: row; }
}

/* ---------- 16. Redaktor ---------- */
.editor-styles-wrapper { font-family: var(--hf-font-body); color: var(--hf-text); }
.hf-editor-empty { padding: 1rem; border: 1px dashed var(--hf-border-strong); border-radius: 8px; color: var(--hf-muted); font-size: 14px; }

/* ---------- 17. Vähendatud liikumine ja print ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .hf-site-header, .hf-drawer, .hf-sticky-cta, .hf-site-footer, .hf-consent, .hf-quick { display: none !important; }
  .hf-section, .hf-hero { padding-block: 1rem; background: none; }
}
