@import url("./tokens.css");
@import url("./layout.css");
@import url("./components/lifephase-slider.css");	
@import url("./components/search.css");
@import url("./components/trust-bar.css");
@import url("./components/popular-topics.css");
@import url("./components/newsletter.css");
@import url("./components/latest-articles.css");
@import url("./components/article-archive-hero.css");
@import url("./components/article-archive-filters.css");
@import url("./components/article-archive-list.css");
@import url("./components/article-archive-pagination.css");
@import url("./components/search-page-hero.css");
@import url("./components/search-page-results.css");
@import url("./components/search-overview.css");
@import url("./components/search-checklist.css");
@import url("./components/ratgeber-overview.css");
@import url("./components/404.css");
@import url("./components/sidebar.css");
@import url("./components/cards.css");
@import url("./components/comments.css");


:root {
  --font-sans: 'DM Sans', system-ui, sans-serif;
  --font-serif: 'DM Serif Display', Georgia, serif;
  --background: #faf8f5;
  --foreground: #28322e;
  --foreground-soft: #7c8079;
  --card: #ffffff;
  --card-foreground: #28322e;
  --popover: #ffffff;
  --popover-foreground: #28322e;
  --primary: #2e604e;
  --primary-foreground: #faf8f5;
  --secondary: #f5e5d9;
  --secondary-foreground: #28322e;
  --muted: #f1ede6;
  --muted-foreground: #7f7a70;
  --accent: #f5e5d9;
  --accent-foreground: #28322e;
  --border: #e8e2d8;
  --input: #e8e2d8;
  --ring: #2e604e;
  --radius: 0.75rem;
  --shadow-soft: 0 10px 30px rgba(27, 39, 34, 0.05);
  --container: 1280px;
  --container-narrow: 1160px;
}

*,
*::before,
*::after { box-sizing: border-box; }


html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  line-height: 1.65;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.section { padding: 4rem 0; }
.section--soft { background: rgba(255,255,255,0.35); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(40, 50, 46, 0.08);
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(24px);
}

.site-header__inner {
  min-height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--foreground);
  flex-shrink: 0;
}
.site-brand__mark {
  width: 2rem;
  height: 2rem;
  display: inline-grid;
  place-items: center;
  border-radius: 0.625rem;
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: 0.95rem;
  line-height: 1;
}
.site-brand__text {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1;
}

.site-nav { display: none; }
.site-nav .menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav .menu > li > a {
  display: inline-flex;
  align-items: center;
  border-radius: 0.625rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
.site-nav .menu > li > a:hover {
  background: var(--muted);
  color: var(--foreground);
}

.site-header__actions {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

.header-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: 999px;
  border: 1px solid rgba(40, 50, 46, 0.18);
  background: transparent;
  color: var(--foreground);
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 0;
  border-radius: 999px;
  padding: 0.875rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  transition: 150ms ease;
}
.button--sm { padding: 0.5rem 0.875rem; font-size: 0.875rem; }
.button--primary {
  background: var(--primary);
  color: var(--primary-foreground);
}
.button--primary:hover { opacity: 0.92; }
.button--ghost {
  background: transparent;
  color: var(--foreground);
  border: 1px solid var(--border);
}

.hero {
  padding: 4.75rem 0 3rem;
  background:
    radial-gradient(circle at top, rgba(46,96,78,0.08), transparent 45%),
    linear-gradient(to bottom, rgba(255,255,255,0.42), rgba(255,255,255,0));
}
.hero__inner {
  max-width: 52rem;
}
.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted-foreground);
}
.hero__title,
.page-hero h1,
.article-title,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.section-head h2,
.newsletter-box h2 {
  font-family: var(--font-serif);
  font-weight: 300;
  letter-spacing: -0.02em;
}
.hero__title {
  margin: 0 0 1rem;
  line-height: 0.98;
}
.hero__text,
.page-hero p,
.article-intro {
  max-width: 42rem;
  margin: 0;
  color: var(--foreground-soft);
  font-size: 1rem;
}
.hero-search {
  margin-top: 1.75rem;
}
.hero-search input {
  width: 100%;
  min-height: 3.5rem;
  border-radius: 999px;
  border: 1px solid var(--input);
  background: #fff;
  padding: 0 1.25rem;
  box-shadow: var(--shadow-soft);
}
.hero-prompts {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}
.hero-prompt {
  display: inline-flex;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  color: var(--foreground-soft);
}

.stats__grid {
  display: grid;
  gap: 1rem;
}
.stat {
  display: grid;
  gap: 0.25rem;
  border-radius: 1rem;
  padding: 1.25rem;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(40, 50, 46, 0.06);
}
.stat strong { font-size: 1.5rem; }
.stat span { color: var(--foreground-soft); font-size: 0.875rem; }

.section-head {
  margin-bottom: 1.5rem;
}
.section-head h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(2rem, 4vw, 2.5rem);
}
.section-head p {
  margin: 0;
  color: var(--foreground-soft);
}


.newsletter-box {
  border-radius: 1.75rem;
  background: linear-gradient(135deg, #3e7560, rgba(62,117,96,.85));
  color: var(--primary-foreground);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
}
.newsletter-box h2 { margin: 0 0 .5rem; font-size: 2rem; color: var(--primary-foreground); }
.newsletter-box p { margin: 0 0 1rem; max-width: 38rem; color: rgba(250,248,245,.78); }
.newsletter-box small { display: block; margin-top: 0.875rem; color: rgba(250,248,245,.78); font-size: 0.8125rem; }

.site-footer {
  margin-top: 4rem;
  background: #17211d;
  color: #faf8f5;
}
.site-footer__top {
  display: grid;
  gap: 2rem;
  padding: 3rem 0;
}
.site-footer__brand p {
  margin: 1rem 0 0;
  color: rgba(250,248,245,.76);
  max-width: 26rem;
}
.site-footer__columns {
  display: grid;
  gap: 1.5rem;
}
.site-footer h4 {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-footer li + li { margin-top: 0.5rem; }
.site-footer a { color: rgba(250,248,245,.76); }
.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  border-top: 1px solid rgba(250,248,245,.08);
  padding: 1rem 0 1.5rem;
}
.site-footer__bottom p { margin: 0; color: rgba(250,248,245,.6); font-size: 0.875rem; }
.footer-mode-toggle {
  border: 1px solid rgba(250,248,245,.16);
  background: transparent;
  color: rgba(250,248,245,.76);
  border-radius: 999px;
  padding: 0.5rem 0.875rem;
}

.article {
  display: grid;
  gap: 2rem;
}
.back-link {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--muted-foreground);
  font-size: 0.95rem;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-bottom: 1rem;
  color: var(--muted-foreground);
  font-size: 0.8125rem;
}
.article-title {
  margin: 0 0 .75rem;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.02;
}
.article-intro {
  margin-bottom: 1rem;
}
.article-actions {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.entry {
  min-width: 0;
}
.entry-content {
  color: var(--foreground);
}
.entry-content > * + * { margin-top: 1rem; }
.entry-content h2 { font-size: 2rem; margin-top: 2.25rem; margin-bottom: 0.5rem; }
.entry-content h3 { font-size: 1.25rem; margin-top: 2rem; margin-bottom: 0.5rem; }
.entry-content p,
.entry-content li {
  font-size: 1rem;
  color: var(--foreground);
}
.entry-content ul,
.entry-content ol {
  padding-left: 1.25rem;
}
.sidebar-card {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 1rem;
  padding: 1.5rem;
}
.sidebar-card h3 {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
}
.sidebar-card p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--foreground-soft);
}

.page-layout {
  max-width: 58rem;
}
.page-cover {
  margin-bottom: 1.5rem;
  border-radius: 1rem;
  overflow: hidden;
}
.page-hero--compact {
  margin-bottom: 2rem;
}
.page-hero--compact h1 {
  margin: 0 0 .75rem;
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  line-height: 1.02;
}
.page-hero--compact p {
  color: var(--foreground-soft);
}

@media (min-width: 768px) {
  .site-nav, .site-header__actions { display: flex; }
  .stats__grid { grid-template-columns: repeat(4, 1fr); }
  .card-grid--4 { grid-template-columns: repeat(4, 1fr); }
  .card-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .card-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .site-footer__top { grid-template-columns: 1.2fr 2fr; }
  .site-footer__columns { grid-template-columns: repeat(3, 1fr); }
  .article { grid-template-columns: minmax(0, 1fr) 18rem; align-items: start; }
  .article__side { position: sticky; top: 6rem; }
}

@media (max-width: 767px) {
  .site-header__inner { min-height: 4.25rem; }
  .hero { padding-top: 3.5rem; }
  .section { padding: 3rem 0; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; }
}


.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;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid hsl(0 0% 0% / 0.04);
  background-color: color-mix(in srgb, var(--card) 80%, transparent);
  backdrop-filter: blur(24px);
}

.site-header__inner {
  min-height: 4rem;
  gap: 1rem;
}

.site-nav .menu {
  gap: 0.25rem;
}

.menu-item { position: relative; }

.menu-link,
.menu-link--button {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.625rem;
  border: 0;
  background: transparent;
  color: var(--muted-foreground);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
}

.menu-link:hover,
.menu-link--button:hover,
.menu-link--button[aria-expanded="true"] {
  background: var(--muted);
  color: var(--foreground);
}

.menu-link__chevron {
  opacity: .65;
  font-size: .85em;
  line-height: 1;
}

/* Active Menu Item */
.menu-item.current-menu-item > .menu-link,
.menu-item.current-menu-parent > .menu-link,
.menu-item.current-menu-ancestor > .menu-link {
  background-color: var(--muted);
  color: var(--foreground);
  border-radius: 0.5rem;
}

/* optional: etwas Padding angleichen */
.menu-link {
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  transition: background-color 150ms ease, color 150ms ease;
}

.menu-item.current-menu-item > .menu-link--button,
.menu-item.current-menu-parent > .menu-link--button,
.menu-item.current-menu-ancestor > .menu-link--button {
  background-color: var(--muted);
  color: var(--foreground);
}

.menu-link:hover {
  background-color: var(--muted);
}

.menu-item.current-menu-item > .menu-link {
  background-color: var(--muted);
  font-weight: 600;
}

.site-nav__sub-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 14rem;
  display: grid;
  gap: 0.125rem;
  padding: 0.25rem;
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid var(--border);
  background: var(--popover);
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / .08), 0 2px 4px -2px rgb(0 0 0 / .08);
}

.site-nav__sub-menu a {
  display: block;
  padding: 0.625rem 0.75rem;
  border-radius: 0.5rem;
  color: var(--popover-foreground);
  font-size: 0.875rem;
}

.site-nav__sub-menu a:hover {
  background: var(--accent);
  color: var(--accent-foreground);
}

.site-header__actions {
  gap: 0.75rem;
}

.site-header__action {
  appearance: none;
  border: 0;
  background: transparent;
}

.site-header__action--selector {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: 999px;
  border: 1px solid hsl(160 20% 12% / 0.3);
  background-color: transparent;
  color: var(--foreground);
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  box-shadow: none;
  cursor: pointer;
}

.site-header__action--selector:hover {
  border-color: hsl(160 20% 12% / 0.35);
}

.site-header__action--selector svg {
  width: 0.875rem;
  height: 0.875rem;
  flex-shrink: 0;
}

.site-header__action--selector svg:last-child {
  width: 0.75rem;
  height: 0.75rem;
  opacity: 0.6;
}

.region-selector {
  position: relative;
}

.region-selector__menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  z-index: 60;
  width: 14rem;
  min-width: 8rem;
  max-height: 20rem;
  overflow: hidden auto;
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid var(--border);
  background: var(--popover);
  color: var(--popover-foreground);
  padding: 0.25rem;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / .08), 0 2px 4px -2px rgb(0 0 0 / .08);
}

.region-selector__item {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 0.5rem;
  border: 0;
  background: transparent;
  color: var(--popover-foreground);
  padding: 0.375rem 0.5rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  text-align: left;
  cursor: pointer;
}

.region-selector__item:hover {
  background: var(--accent);
  color: var(--accent-foreground);
}

.button--sm {
  min-height: 2rem;
  padding: 0.45rem 0.875rem;
  font-size: 0.875rem;
}

.site-header__mobile-toggle {
  display: inline-flex;
  width: 2.25rem;
  height: 2.25rem;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0.625rem;
  background: transparent;
  color: var(--foreground);
}
.site-header__mobile-toggle:hover {
  background: var(--accent);
}

.site-header__mobile-toggle svg {
  width: 1.25rem;
  height: 1.25rem;
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
}

.mobile-drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / .12);
}

.mobile-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(20rem, 100vw);
  height: 100%;
  background: var(--background);
  border-left: 1px solid var(--border);
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
  display: flex;
  flex-direction: column;
}

.mobile-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.mobile-drawer__close {
  appearance: none;
  border: 0;
  background: transparent;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--muted-foreground);
  cursor: pointer;
}

.mobile-drawer__nav {
  flex: 1;
  padding: 1.5rem;
  display: grid;
  gap: 0.25rem;
}

.mobile-drawer__nav > a {
  display: block;
  padding: 0.75rem;
  border-radius: 0.625rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--foreground);
}
.mobile-drawer__nav > a:hover,
.mobile-drawer__sub-links a:hover {
  background: var(--muted);
}

.mobile-drawer__actions {
  padding: 1.5rem;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 0.75rem;
}

.mobile-drawer__button {
  width: 100%;
}

body.has-mobile-drawer {
  overflow: hidden;
}

@media (min-width: 768px) {
  .site-header__mobile-toggle,
  .mobile-drawer {
    display: none !important;
  }
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-drawer__link {
  display: block;
  padding: 0.75rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--fk-color-text);
  text-decoration: none;
}

.mobile-drawer__link--toggle {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  cursor: pointer;
}

.mobile-drawer__sub-links {
  display: flex;
  flex-direction: column;
  padding-left: 1rem;
  margin-bottom: 0.5rem;
  gap: 0.25rem;
}

.mobile-drawer__sub-links a {
  font-size: 0.9rem;
  color: var(--fk-color-text-muted);
}

.mobile-menu .current-menu-item > .mobile-drawer__link,
.mobile-menu .current-menu-parent > .mobile-drawer__link,
.mobile-menu .current-menu-ancestor > .mobile-drawer__link {
  background-color: var(--muted);
  color: var(--foreground);
  border-radius: 0.5rem;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

@media (max-width: 767px) {
  .site-nav,
  .site-header__actions {
    display: none !important;
  }
}

.theme-dark .site-header,
body.theme-dark .site-header {
  border-bottom-color: hsl(160 10% 18% / 0.5);
  background-color: color-mix(in srgb, var(--card) 80%, transparent);
}

.theme-dark .site-header__action--selector,
body.theme-dark .site-header__action--selector {
  border-color: hsl(40 33% 97% / 0.3);
  color: var(--foreground);
}

.theme-dark .region-selector__menu,
.theme-dark .site-nav__sub-menu,
body.theme-dark .region-selector__menu,
body.theme-dark .site-nav__sub-menu {
  background: var(--popover);
  color: var(--popover-foreground);
  border-color: var(--border);
}

.theme-dark .mobile-drawer__panel,
body.theme-dark .mobile-drawer__panel {
  background: var(--background);
  border-left-color: var(--border);
}


/* v5 header fixes */
.site-nav__sub-menu[hidden],
.region-selector__menu[hidden],
.mobile-drawer[hidden] {
  display: none !important;
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
}

.mobile-drawer__overlay {
  position: fixed;
  inset: 0;
  background: rgb(0 0 0 / 0.38);
}

.mobile-drawer__panel {
  position: fixed;
  top: 0;
  right: 0;
  width: min(20rem, 100vw);
  height: 100dvh;
  z-index: 81;
}

@media (min-width: 768px) {
  .site-nav__sub-menu[hidden] {
    display: none !important;
  }
}

/* v6 header polish */
.site-brand__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
}

.site-brand__logo .custom-logo-link {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  border-radius: 0.625rem;
  overflow: hidden;
}

.site-brand__logo .custom-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu-link__chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.875rem;
  height: 0.875rem;
  opacity: .6;
  transform: translateY(-1px);
  font-size: 0;
  line-height: 1;
}

.menu-link__chevron::before {
  content: "";
  width: 0.65rem;
  height: 0.65rem;
  border-right: 1.7px solid currentColor;
  border-bottom: 1.7px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  display: block;
}

.menu-link--button[aria-expanded="true"] .menu-link__chevron::before {
  transform: rotate(225deg) translateY(-1px);
}


@media (max-width: 767px) {
  .fk-cta-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .fk-cta-box__actions {
    width: 100%;
  }

  .fk-cta-box__button {
    width: 100%;
  }
}

/* v8 block polish */
.fk-summary-box,
.fk-note-box {
  grid-template-columns: 1rem 1fr;
  gap: 0.75rem 0.875rem;
  align-items: start;
}

.fk-summary-box__icon,
.fk-note-box__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  margin-top: 0.15rem;
  line-height: 0;
}

.fk-summary-box__icon svg,
.fk-note-box__icon svg {
  width: 1rem;
  height: 1rem;
  display: block;
}

.fk-summary-box__body,
.fk-note-box__body {
  min-width: 0;
}

.fk-summary-box__title,
.fk-note-box__title {
  margin-top: 0;
}

.fk-cta-box__text {
  color: hsl(40 33% 97%) !important;
}

.theme-dark .fk-cta-box__text,
body.theme-dark .fk-cta-box__text {
  color: hsl(160 15% 8%) !important;
}


/* Artikelblöcke */
.fk-infobox,
.fk-cta-box {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.fk-infobox {
  display: grid;
  grid-template-columns: 1rem 1fr;
  gap: 0.625rem 0.875rem;
  align-items: start;
  padding: 1.5rem;
  border-radius: 1rem;
}

.fk-infobox--summary {
  border: 1px solid #f0dd9f;
  background: #f6f0df;
  color: #945100;
}

.fk-infobox--warning {
  border: 1px solid #f3cccc;
  background: #fbefef;
  color: #b42318;
}

.fk-infobox--tip {
  border: 1px solid #cfe1ff;
  background: #eef5ff;
  color: #1d4ed8;
}

.fk-infobox__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  margin-top: 0.22rem;
  line-height: 0;
}

.fk-infobox__icon svg {
  width: 1rem;
  height: 1rem;
  display: block;
}

.fk-infobox__body {
  min-width: 0;
}

.fk-infobox__title,
.fk-cta-box__title {
  margin: 0 0 .35rem;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0;
}

.fk-infobox__content > *:first-child {
  margin-top: 0;
}
.fk-infobox__content > *:last-child {
  margin-bottom: 0;
}

.fk-cta-box {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  justify-content: space-between;
  padding: 1.75rem;
  border-radius: 1rem;
  background-image: linear-gradient(to bottom right, hsl(158 35% 28%), hsl(158 35% 28% / 0.8));
  color: hsl(40 33% 97%);
  box-shadow: 0 10px 30px rgba(27,39,34,0.08);
}

.fk-cta-box__content {
  max-width: 46rem;
}

.fk-cta-box__title {
  margin: 0 0 0.35rem;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.2;
  color: hsl(40 33% 97%);
}

.fk-cta-box__text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: hsl(40 33% 97%) !important;
}

.fk-cta-box__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
  padding: 0.5rem 1.5rem;
  border-radius: 999px;
  background: hsl(40 33% 97%);
  color: hsl(158 35% 28%);
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
}

.editor-styles-wrapper .fk-infobox,
.editor-styles-wrapper .fk-cta-box {
  max-width: 100%;
}

.theme-dark .fk-infobox--summary,
body.theme-dark .fk-infobox--summary {
  border-color: #7f6b2d;
  background: #e6dbc0;
  color: #6b4305;
}

.theme-dark .fk-infobox--warning,
body.theme-dark .fk-infobox--warning {
  border-color: #5f2328;
  background: #2d171a;
  color: #fecaca;
}

.theme-dark .fk-infobox--tip,
body.theme-dark .fk-infobox--tip {
  border-color: #284b8f;
  background: #12213f;
  color: #bfdbfe;
}

.theme-dark .fk-cta-box,
body.theme-dark .fk-cta-box {
  background-image: linear-gradient(to bottom right, hsl(158 40% 45%), hsl(158 40% 45% / 0.8));
  color: hsl(160 15% 8%);
}

.theme-dark .fk-cta-box__title,
body.theme-dark .fk-cta-box__title {
  color: hsl(160 15% 8%);
}

.theme-dark .fk-cta-box__text,
body.theme-dark .fk-cta-box__text {
  color: hsl(160 15% 8%) !important;
}

.theme-dark .fk-cta-box__button,
body.theme-dark .fk-cta-box__button {
  background: hsl(160 15% 8%);
  color: hsl(158 40% 45%);
}

@media (max-width: 767px) {
  .fk-cta-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .fk-cta-box__actions {
    width: 100%;
  }

  .fk-cta-box__button {
    width: 100%;
  }
}


/* v10 block spacing fix */
.entry-content .fk-infobox,
.entry-content .fk-cta-box {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.entry-content .fk-infobox h3,
.entry-content .fk-cta-box h3,
.entry-content .fk-infobox__title,
.entry-content .fk-cta-box__title {
  margin-top: 0 !important;
  margin-bottom: 0.35rem !important;
}

.entry-content .fk-infobox__content > p:first-child,
.entry-content .fk-note-box__content > p:first-child,
.entry-content .fk-summary-box__content > p:first-child {
  margin-top: 0 !important;
}

.entry-content .fk-infobox__content > p:last-child,
.entry-content .fk-note-box__content > p:last-child,
.entry-content .fk-summary-box__content > p:last-child,
.entry-content .fk-cta-box__text {
  margin-bottom: 0 !important;
}

.entry-content .fk-infobox,
.entry-content .fk-note-box,
.entry-content .fk-summary-box {
  align-items: start;
}

.entry-content .fk-infobox__icon {
  align-self: start;
  margin-top: 0.18rem;
}

.entry-content .fk-cta-box {
  align-items: center;
}

.entry-content .fk-cta-box__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* v12 sources block */
.fk-sources-box {
  margin-top: 2rem;
  margin-bottom: 2rem;
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  background: var(--card);
  color: var(--foreground);
}

.fk-sources-box__title {
  margin: 0 0 1.25rem !important;
  font-family: var(--font-sans);
  font-size: 1.125rem !important;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0;
}

.fk-sources-box__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fk-sources-box__item + .fk-sources-box__item {
  margin-top: 0.875rem;
}

.fk-sources-box__item a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--foreground-soft);
  font-size: 1rem;
  line-height: 1.5;
}

.fk-sources-box__item a::before {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  color: currentColor;
}

.fk-sources-box__item a:hover {
  color: var(--primary);
}

.editor-styles-wrapper .fk-sources-box__item-editor {
  padding: 0.875rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  margin-bottom: 0.875rem;
  background: rgba(255,255,255,.65);
}

.editor-styles-wrapper .fk-sources-box__checkbox {
  display: block;
  margin: 0.25rem 0 0.75rem;
  font-size: 0.875rem;
}

.theme-dark .fk-sources-box,
body.theme-dark .fk-sources-box {
  background: var(--card);
  border-color: var(--border);
}

.theme-dark .fk-sources-box__item a,
body.theme-dark .fk-sources-box__item a {
  color: rgba(250,248,245,.72);
}

.theme-dark .fk-sources-box__item a:hover,
body.theme-dark .fk-sources-box__item a:hover {
  color: var(--foreground);
}


/* v13 article refinement */
.article {
  grid-template-columns: minmax(0, 2fr) minmax(16rem, 1fr);
  gap: 2.5rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1rem;
  color: var(--muted-foreground);
  font-size: 0.8125rem;
  line-height: 1.3;
  font-weight: 500;
  transition: color 150ms ease;
}
.back-link:hover {
  color: var(--foreground);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem 0.875rem;
  margin-bottom: 1rem;
  color: var(--muted-foreground);
  font-size: 0.75rem;
  line-height: 1.2;
  align-items: center;
}

.article-meta__category {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  font-size: 0.75rem;
}

.article-meta__category--secondary {
  opacity: 0.8;
}

.article-meta__item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.article-meta__item svg {
  width: 0.85rem;
  height: 0.85rem;
  flex-shrink: 0;
  opacity: .8;
}

.article-title {
  font-size: clamp(2rem, 4.2vw, 3rem);
  margin-bottom: 0.6rem;
}

.article-intro {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--muted-foreground);
  max-width: 46rem;
  margin-bottom: 1.25rem;
}

.entry-content p,
.entry-content li {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--muted-foreground);
}

.entry-content h2 {
  font-size: 1.8rem;
  line-height: 1.15;
  margin-top: 2rem;
}

.entry-content h3 {
  font-size: 1.1rem;
  line-height: 1.25;
  margin-top: 1.5rem;
}

.fk-infobox {
  padding: 1.25rem;
}

.fk-infobox__title,
.fk-cta-box__title {
  font-size: 1rem;
}

.fk-infobox__content,
.fk-infobox__content p {
  font-size: 0.875rem;
  line-height: 1.7;
}

.fk-infobox--summary {
  background-color: rgb(255 251 235);
  border-color: rgb(254 243 199);
  color: rgb(180 83 9);
}
.fk-infobox--summary .fk-infobox__title { color: rgb(120 53 15); }
.fk-infobox--summary .fk-infobox__content,
.fk-infobox--summary .fk-infobox__content p,
.fk-infobox--summary .fk-infobox__icon { color: rgb(180 83 9); }

.fk-infobox--warning {
  background-color: rgb(254 242 242);
  border-color: rgb(254 226 226);
  color: rgb(185 28 28);
}
.fk-infobox--warning .fk-infobox__title { color: rgb(127 29 29); }
.fk-infobox--warning .fk-infobox__content,
.fk-infobox--warning .fk-infobox__content p,
.fk-infobox--warning .fk-infobox__icon { color: rgb(185 28 28); }

.fk-infobox--tip {
  background-color: rgb(239 246 255);
  border-color: rgb(219 234 254);
  color: rgb(29 78 216);
}
.fk-infobox--tip .fk-infobox__title { color: rgb(30 58 138); }
.fk-infobox--tip .fk-infobox__content,
.fk-infobox--tip .fk-infobox__content p,
.fk-infobox--tip .fk-infobox__icon { color: rgb(29 78 216); }

.fk-sources-box {
  background-color: hsl(40 20% 93% / 0.3);
  border-color: var(--border);
  padding: 1.5rem;
  border-radius: 1rem;
}
.fk-sources-box__title {
  color: var(--foreground);
  font-size: 1rem !important;
}
.fk-sources-box__item a {
  color: var(--muted-foreground);
  font-size: 0.95rem;
}
.fk-sources-box__item a::before {
  content: "";
  width: 0.95rem;
  height: 0.95rem;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.fk-sources-box__item a.is-external::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M7 17 17 7'/><path d='M7 7h10v10'/></svg>");
}
.fk-sources-box__item a.is-internal::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12h14'/><path d='m12 5 7 7-7 7'/></svg>");
}

.article__side {
  top: 6rem;
}

@media (max-width: 767px) {
  .article {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* v20 unified content grid */
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(16rem, 1fr);
  gap: 2.5rem;
  align-items: start;
}

.article__main,
.landing-content {
  min-width: 0;
  grid-row: 1;
  grid-column: 1;
}

.article__side,
.landing-sidebar {
  position: sticky;
  top: 6rem;
  align-self: start;
grid-row: 1;
  grid-column: 2;
}

.landing-page {
  max-width: none;
}

@media (max-width: 767px) {
  .content-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .article__main,
  .landing-content,
  .article__side,
  .landing-sidebar {
    grid-column: auto;
  }

  .article__side,
  .landing-sidebar {
    position: static;
  }
}

@media (max-width: 767px) {
  .article__main,
  .landing-content,
  .article__side,
  .landing-sidebar {
    grid-row: auto;
  }
}


.landing-header {
  margin-bottom: 2rem;
}

.landing-header__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4.8vw, 3.35rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  max-width: 14ch;
}

.landing-header__intro {
  max-width: 38rem;
  margin: 0 0 1.5rem;
  color: var(--muted-foreground);
  font-size: 0.95rem;
  line-height: 1.7;
}

.landing-header__image img {
  display: block;
  width: 100%;
  border-radius: 1.25rem;
}

.landing-copy > p,
.landing-copy p,
.landing-checklists p,
.landing-note-box p,
.landing-download p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--muted-foreground);
}

.landing-copy h2,
.landing-checklists h2,
.landing-related h2,
.landing-download h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  line-height: 1.1;
}

.landing-deadline-callout,
.landing-note-box,
.landing-download {
  margin: 1.75rem 0;
  padding: 1.35rem 1.5rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
}

.landing-deadline-callout {
  background: rgb(255 251 235);
  border-color: rgb(254 243 199);
}

.landing-note-box--warning {
  background: rgb(255 251 235);
  border-color: rgb(254 243 199);
}

.landing-note-box--success {
  background: rgb(240 253 244);
  border-color: rgb(187 247 208);
}

.landing-deadline-callout__eyebrow,
.landing-note-box__eyebrow,
.landing-download__eyebrow {
  margin-bottom: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0;
}

.landing-checklists {
  margin-top: 2.25rem;
}

.landing-checklist + .landing-checklist {
  margin-top: 1.5rem;
}

.landing-checklist__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.875rem;
}

.landing-checklist__head h3 {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.25;
}

.landing-checklist__progress {
  color: var(--muted-foreground);
  font-size: 0.8125rem;
  font-weight: 600;
}

.landing-task-list {
  display: grid;
  gap: 0.75rem;
}

.landing-task {
  display: grid;
  grid-template-columns: 1.1rem 1fr;
  gap: 0.875rem;
  align-items: start;
  padding: 0.95rem 1rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--card);
}

.landing-task input {
  margin-top: 0.18rem;
}

.landing-task__body {
  display: grid;
  gap: 0.2rem;
}

.landing-task__body strong {
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--foreground);
}

.landing-task__body small {
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--muted-foreground);
}

.landing-related {
  margin-top: 2.5rem;
}

.landing-download {
  background: linear-gradient(135deg, #3e7560, rgba(62,117,96,.85));
  border-color: transparent;
  color: var(--primary-foreground);
  box-shadow: var(--shadow-soft);
}

.landing-download h2 {
  margin-bottom: 1rem;
  color: var(--primary-foreground);
  font-size: 1.65rem;
}

.landing-download .button {
  min-width: 15rem;
}

@media (max-width: 767px) {
  .landing-header__title {
    max-width: none;
  }

  .landing-checklist__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .landing-download .button {
    width: 100%;
    min-width: 0;
  }
}


/* v27 landing hero image + sidebar download */
.landing-header--hero-image {
  position: relative;
  min-height: 30rem;
  margin: -2rem calc(50% - 50vw) 3rem;
  overflow: hidden;
  border-radius: 0 0 2rem 2rem;
}

.landing-header__bg,
.landing-header__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.landing-header__bg img {
  object-fit: cover;
  object-position: center;
}

.landing-header__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 19, 16, 0.32) 0%, rgba(12, 19, 16, 0.12) 28%, rgba(250, 248, 245, 0.96) 100%),
    linear-gradient(90deg, rgba(250, 248, 245, 0.50) 0%, rgba(250, 248, 245, 0.10) 52%, rgba(250, 248, 245, 0.28) 100%);
}

.landing-header__content {
  position: relative;
  z-index: 1;
  max-width: 76rem;
  margin: 0 auto;
  padding: 2.5rem 2rem 3.25rem;
  display: flex;
  flex-direction: column;
  justify-content: end;
  min-height: 30rem;
}

.back-link--hero {
  color: rgba(255,255,255,0.92);
  margin-bottom: auto;
}

.back-link--hero:hover {
  color: #fff;
}

.article-meta--hero {
  margin-bottom: 0.75rem;
}

.landing-header--hero-image .landing-header__title {
  max-width: 12ch;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.landing-header--hero-image .landing-header__intro {
  max-width: 42rem;
  color: color-mix(in srgb, var(--foreground) 66%, white 34%);
  font-size: 0.95rem;
}

@media (max-width: 767px) {
  .landing-header--hero-image {
    min-height: 22rem;
    margin: -1rem calc(50% - 50vw) 2rem;
    border-radius: 0 0 1.25rem 1.25rem;
  }

  .landing-header__content {
    min-height: 22rem;
    padding: 1.5rem 1rem 2rem;
  }

  .landing-header--hero-image .landing-header__title {
    max-width: none;
  }

  .back-link--hero {
    margin-bottom: 1.5rem;
  }
}


/* v28 landing refinements */
.landing-page-main {
  padding-top: 0;
}

.landing-header--hero-image {
  margin-top: 0;
}

.landing-page .fk-infobox {
  margin: 1.75rem 0;
}

.landing-page .fk-infobox__title {
  font-size: 1rem;
}

.landing-page .fk-infobox__content,
.landing-page .fk-infobox__content p {
  font-size: 0.95rem;
  line-height: 1.75;
}

.article-meta--hero .article-meta__category {
  min-height: 1.65rem;
  padding: 0.22rem 0.72rem;
  background: rgba(255, 251, 235, 0.92);
  color: rgb(180 83 9);
  border: 1px solid rgba(254, 243, 199, 0.96);
  backdrop-filter: blur(6px);
}

@media (max-width: 767px) {
  .landing-page-main {
    padding-top: 0;
  }
}


/* v29 landing hero positioning fix */
.landing-header__content {
  max-width: min(100%, 76rem);
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}

.back-link--hero {
  align-self: flex-start;
  margin-left: 0;
}

.landing-header--hero-image .article-meta--hero,
.landing-header--hero-image .landing-header__title,
.landing-header--hero-image .landing-header__intro {
  max-width: 42rem;
}

@media (max-width: 767px) {
  .landing-header__content {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .landing-header--hero-image .article-meta--hero,
  .landing-header--hero-image .landing-header__title,
  .landing-header--hero-image .landing-header__intro {
    max-width: 100%;
  }
}


/* v30 landing uses real content */
.landing-content > *:first-child {
  margin-top: 0;
}

.landing-content > .wp-block-group:first-child,
.landing-content > .wp-block-cover:first-child,
.landing-content > .wp-block-image:first-child {
  margin-top: 0;
}

.landing-sidebar-widgets {
  margin-top: 1rem;
}

.landing-sidebar-widget {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 1rem;
  padding: 1.25rem;
}

.landing-sidebar-widget + .landing-sidebar-widget {
  margin-top: 1rem;
}

.landing-sidebar-widget__title {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  line-height: 1.3;
  font-weight: 700;
  color: var(--foreground);
}

.landing-sidebar-widget p,
.landing-sidebar-widget li,
.landing-sidebar-widget a {
  font-size: 0.9rem;
  line-height: 1.6;
}

/* v34 checklist blocks */
.fk-checklist {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--card);
}

.fk-checklist__header {
  margin-bottom: 0.8rem;
}

.fk-checklist__toggle {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.75rem;
  align-items: center;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.fk-checklist__title {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.25;
  font-weight: 700;
  color: var(--foreground);
}

.fk-checklist__progress-copy {
  font-size: 0.8125rem;
  line-height: 1.3;
  color: var(--muted-foreground);
  font-weight: 500;
}

.fk-checklist__chevron {
  font-size: 0.95rem;
  line-height: 1;
  color: var(--muted-foreground);
  transition: transform 150ms ease;
}

.fk-checklist.is-collapsed .fk-checklist__chevron {
  transform: rotate(180deg);
}

.fk-checklist__progress {
  overflow: hidden;
  width: 12rem;
  max-width: 100%;
  height: 0.36rem;
  margin-top: 0.7rem;
  border-radius: 999px;
  background: #c9d4ce;
}

.fk-checklist__progress-bar {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: #356854;
  transition: width 200ms ease;
}

.fk-checklist__panel[hidden] {
  display: none !important;
}

.fk-checklist-item + .fk-checklist-item {
  margin-top: 0.7rem;
}

.fk-checklist-item__label,
.editor-styles-wrapper .fk-checklist-item {
  display: grid;
  grid-template-columns: 1.15rem 1fr;
  gap: 0.9rem;
  align-items: start;
  padding: 0.85rem 0.75rem;
  border: 0;
  border-radius: 0.875rem;
  background: transparent;
  transition: background-color 150ms ease;
}

.fk-checklist-item__label:hover {
  background: #f0efec;
}

.fk-checklist-item__checkbox {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.fk-checklist-item__fakebox {
  position: relative;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.1rem;
  border: 1.5px solid #d1cbc1;
  border-radius: 999px;
  background: var(--card);
}

.fk-checklist-item__checkbox:checked + .fk-checklist-item__fakebox,
.fk-checklist-item__label.is-checked .fk-checklist-item__fakebox {
  border-color: #356854;
  background: #356854;
}

.fk-checklist-item__checkbox:checked + .fk-checklist-item__fakebox::after,
.fk-checklist-item__label.is-checked .fk-checklist-item__fakebox::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
}

.fk-checklist-item__body {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
}

.fk-checklist-item__title {
  display: block;
  font-size: 0.95rem;
  line-height: 1.45;
  font-weight: 600;
  color: var(--foreground);
}

.fk-checklist-item__label.is-checked .fk-checklist-item__title {
  text-decoration: line-through;
  color: #5f6f67;
  text-decoration-thickness: 1px;
}

.fk-checklist-item__description {
  display: block;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #5f756b;
}

.fk-checklist-item__link,
.fk-checklist-item__link:visited,
.fk-checklist-item__link.is-editor {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: fit-content;
  margin-top: 0.16rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.fk-checklist-item__link::after,
.fk-checklist-item__link.is-editor::after {
  content: "→";
  font-size: 0.85em;
}

.fk-checklist-item__link:hover {
  color: color-mix(in srgb, var(--primary) 80%, black 20%);
}

.editor-styles-wrapper .fk-checklist__toggle {
  cursor: default;
}

@media (max-width: 767px) {
  .fk-checklist {
    padding: 1rem 1rem 1.1rem;
  }

  .fk-checklist__toggle {
    grid-template-columns: 1fr auto;
  }

  .fk-checklist__progress-copy {
    grid-column: 2 / 3;
    justify-self: start;
  }

  .fk-checklist__chevron {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    justify-self: end;
  }

  .fk-checklist__progress {
    width: 100%;
  }
}

/* v35 ratgeber template + quicktips */
.ratgeber-header {
  margin-bottom: 2rem;
}

.ratgeber-header__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  max-width: 16ch;
}

.ratgeber-header__intro {
  max-width: 42rem;
  margin: 0;
  color: var(--muted-foreground);
  font-size: 0.95rem;
  line-height: 1.7;
}

.ratgeber-content > *:first-child {
  margin-top: 0;
}

.ratgeber-links__title {
  margin: 0 0 0.9rem;
  font-size: 0.95rem;
  line-height: 1.3;
  font-weight: 700;
  color: var(--foreground);
}

.ratgeber-links__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ratgeber-links__list li + li {
  margin-top: 0.7rem;
}

.ratgeber-links__list a {
  color: var(--muted-foreground);
  font-size: 0.9rem;
  line-height: 1.5;
  text-decoration: none;
}

.ratgeber-links__list a:hover,
.ratgeber-links__list a:focus-visible {
  color: var(--primary);
  outline: none;
}

.fk-quicktips {
  margin: 2rem 0;
  padding: 1.25rem 1.4rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: color-mix(in srgb, var(--muted) 45%, var(--card) 55%);
}

.fk-quicktips__title {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  line-height: 1.3;
  font-weight: 700;
  color: var(--foreground);
}

.fk-quicktips__intro {
  margin: 0 0 0.8rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

.fk-quicktips__list ul {
  margin: 0;
  padding-left: 1.1rem;
}

.fk-quicktips__list li {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--foreground);
}

@media (max-width: 767px) {
  .ratgeber-header__title {
    max-width: none;
  }
}


/* removed v36 */
.fk-quicktips {
  margin: 2rem 0;
  padding: 1.35rem 1.45rem;
  border: 1px solid hsl(var(--border));
  border-radius: 1rem;
  background: linear-gradient(180deg, color-mix(in srgb, var(--muted) 52%, var(--card) 48%) 0%, color-mix(in srgb, var(--muted) 34%, var(--card) 66%) 100%);
  box-shadow: 0 1px 0 rgba(0,0,0,0.02);
}

.fk-quicktips__title {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin: 0 0 0.55rem;
  font-size: 1rem;
  line-height: 1.3;
  font-weight: 700;
  color: var(--foreground);
}

.fk-quicktips__title::before {
  content: "";
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  border-radius: 999px;
  background: radial-gradient(circle at center, #3e7560 0 35%, rgba(62,117,96,0.22) 36% 100%);
}

.fk-quicktips__intro {
  margin: 0 0 0.85rem;
  max-width: 44rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--muted-foreground);
}

.fk-quicktips__list ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.fk-quicktips__list li {
  position: relative;
  margin: 0;
  padding: 0.7rem 0 0.7rem 1.5rem;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--foreground);
  border-top: 1px solid color-mix(in srgb, var(--border) 82%, transparent);
}

.fk-quicktips__list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.fk-quicktips__list li:last-child {
  padding-bottom: 0;
}

.fk-quicktips__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: #3e7560;
}

.fk-quicktips__list li:first-child::before {
  top: 0.38rem;
}

.fk-quicktips__list strong {
  font-weight: 600;
  color: var(--foreground);
}

.theme-dark .fk-quicktips,
body.theme-dark .fk-quicktips {
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.02) 100%);
  border-color: hsl(var(--border));
}

.theme-dark .fk-quicktips__title::before,
body.theme-dark .fk-quicktips__title::before {
  background: radial-gradient(circle at center, #6db59b 0 35%, rgba(109,181,155,0.18) 36% 100%);
}

@media (max-width: 767px) {
  .fk-quicktips {
    padding: 1.1rem 1rem;
  }

  .fk-quicktips__list li {
    padding-left: 1.35rem;
  }
}


/* v37 quicktips minimal (match template) */
.fk-quicktips {
  margin: 2.5rem 0;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.fk-quicktips__title {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  color: hsl(var(--foreground));
}

.fk-quicktips__intro {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: hsl(var(--muted-foreground));
}

.fk-quicktips__list ul {
  margin: 0;
  padding-left: 1.2rem;
}

.fk-quicktips__list li {
  margin: 0.35rem 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: hsl(var(--foreground));
}

.fk-quicktips__list li::marker {
  color: hsl(var(--primary));
}



/* v38 quicktips reference-like with links */
.fk-quicktips {
  margin: 2rem 0;
  padding: 1.15rem 1.25rem;
  border: 1px solid hsl(var(--border));
  border-radius: 1rem;
  background: hsl(40 20% 93% / 0.32);
  box-shadow: none;
}

.fk-quicktips__title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.85rem;
  font-size: 1rem;
  line-height: 1.3;
  font-weight: 700;
  color: hsl(var(--foreground));
}

.fk-quicktips__title::before {
  content: "";
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233c715f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M9 18h6'/><path d='M10 22h4'/><path d='M12 2a7 7 0 0 0-4 12.75c.6.42 1 1.09 1 1.82V17h6v-.43c0-.73.4-1.4 1-1.82A7 7 0 0 0 12 2z'/></svg>");
}

.fk-quicktips__intro {
  margin: 0 0 0.9rem;
  max-width: 44rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: hsl(var(--muted-foreground));
}

.fk-quicktips__list ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fk-quicktips__list li {
  position: relative;
  margin: 0;
  padding: 0;
  border-top: 1px solid hsl(var(--border));
}

.fk-quicktips__list li:first-child {
  border-top: 0;
}

.fk-quicktips__list li > a,
.fk-quicktips__list li > span,
.fk-quicktips__list li > strong,
.fk-quicktips__list li > em,
.fk-quicktips__list li {
  font-size: 0.92rem;
  line-height: 1.6;
}

.fk-quicktips__list li > a {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.8rem 0;
  color: hsl(var(--foreground));
  text-decoration: none;
  transition: color 150ms ease, transform 150ms ease;
}

.fk-quicktips__list li > a::before {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  margin-top: 0.45rem;
  border-radius: 999px;
  flex-shrink: 0;
  background: #3c715f;
}

.fk-quicktips__list li > a:hover,
.fk-quicktips__list li > a:focus-visible {
  color: hsl(var(--primary));
  transform: translateX(2px);
  outline: none;
}

.fk-quicktips__list li:not(:has(> a)) {
  padding: 0.8rem 0 0.8rem 1.15rem;
  color: hsl(var(--foreground));
}

.fk-quicktips__list li:not(:has(> a))::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.2rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: #3c715f;
}

.theme-dark .fk-quicktips,
body.theme-dark .fk-quicktips {
  background: rgba(255,255,255,0.03);
  border-color: hsl(var(--border));
}

@media (max-width: 767px) {
  .fk-quicktips {
    padding: 1rem 1rem;
  }
}


/* v39 quicktips exact reference */
.fk-quicktips {
  margin-top: 2.5rem;
  margin-bottom: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.fk-quicktips__title {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 400;
  color: hsl(var(--foreground));
}

.fk-quicktips__title::before,
.fk-quicktips__intro {
  display: none !important;
}

.fk-quicktips__list ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fk-quicktips__list li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0.75rem 0 0;
  padding: 1rem;
  border-radius: 0.75rem;
  background: hsl(40 20% 93% / 0.5);
  color: hsl(var(--foreground));
  font-size: 0.875rem;
  line-height: 1.625rem;
  border: 0;
}

.fk-quicktips__list li:first-child {
  margin-top: 0;
}

.fk-quicktips__list li::before {
  content: "";
  flex: 0 0 auto;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.125rem;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233c715f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><path d='m9 12 2 2 4-4'/></svg>");
}

.fk-quicktips__list li > a {
  color: hsl(var(--foreground));
  text-decoration: none;
  line-height: 1.625rem;
  transition: color 150ms ease;
}

.fk-quicktips__list li > a:hover,
.fk-quicktips__list li > a:focus-visible {
  color: hsl(var(--primary));
  outline: none;
}

.fk-quicktips__list li strong,
.fk-quicktips__list li b {
  font-weight: 400;
}

.editor-styles-wrapper .fk-quicktips__list li {
  margin-top: 0.75rem;
}

@media (max-width: 767px) {
  .fk-quicktips__title {
    font-size: 1.35rem;
    line-height: 1.8rem;
  }

  .fk-quicktips__list li {
    padding: 0.9rem;
  }
}


/* v40 quicktips icon + padding fix */
.fk-quicktips__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  border-radius: 0.75rem;
  background: hsl(var(--muted) / 0.5);
}

.fk-quicktips__list li::before {
  content: "";
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f6b52' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><path d='m9 12 2 2 4-4'/></svg>");
}

.fk-quicktips__list li > * {
  margin: 0;
}

.fk-quicktips__list li p {
  margin: 0;
}


/* v41 ratgeber hero reference */
.ratgeber-page-main .article,
.ratgeber-page-main .article--has-sidebar {
  margin-top: 3rem;
}
.ratgeber-hero {
  position: relative;
  overflow: hidden;
}

.ratgeber-hero__media {
  position: absolute;
  inset: 0;
}

.ratgeber-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 28rem;
}

.ratgeber-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, hsl(var(--foreground) / 0.7), hsl(var(--foreground) / 0.4), transparent);
}

.ratgeber-hero__inner {
  position: relative;
  max-width: 80rem;
  margin: 0 auto;
  padding: 5rem 1rem;
}

.ratgeber-hero__content {
  max-width: 36rem;
  opacity: 1;
  transform: none;
}

.ratgeber-hero__backlink {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-bottom: 1.5rem;
  color: rgb(255 255 255 / 0.7);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 150ms ease;
}

.ratgeber-hero__backlink:hover,
.ratgeber-hero__backlink:focus-visible {
  color: #fff;
  outline: none;
}

.ratgeber-hero__backlink svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.ratgeber-hero__title {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 5vw, 3rem);
  line-height: 1.1;
  color: #fff;
}

.ratgeber-hero__intro {
  margin: 0 0 2rem;
  color: rgb(255 255 255 / 0.8);
  font-size: 1.125rem;
  line-height: 1.625rem;
  max-width: 34rem;
}

.ratgeber-hero__highlight {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgb(255 255 255 / 0.10);
  backdrop-filter: blur(4px);
  border: 1px solid rgb(255 255 255 / 0.20);
  border-radius: 1rem;
  padding: 0.75rem 1.25rem;
}

.ratgeber-hero__highlight-value {
  font-size: 1.5rem;
  line-height: 2rem;
  font-family: var(--font-serif);
  font-weight: 700;
  color: #fff;
}

.ratgeber-hero__highlight-label {
  color: rgb(255 255 255 / 0.7);
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.ratgeber-header {
  display: none;
}

@media (min-width: 640px) {
  .ratgeber-hero__inner {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .ratgeber-hero__inner {
    padding-left: 2rem;
    padding-right: 2rem;
    padding-top: 7rem;
    padding-bottom: 7rem;
  }

  .ratgeber-hero__title {
    font-size: 3rem;
    line-height: 1;
  }
}

@media (max-width: 767px) {
  .ratgeber-hero__image {
    min-height: 24rem;
  }

  .ratgeber-hero__inner {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .ratgeber-hero__highlight {
    flex-direction: column;
    align-items: flex-start;
  }
}

.ratgeber-deepdives__list {
  display: grid;
  gap: 0.5rem;
}

.ratgeber-deepdives__item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.625rem;
  border-radius: 0.75rem;
  text-decoration: none;
  transition: background-color 150ms ease;
}

.ratgeber-deepdives__item:hover,
.ratgeber-deepdives__item:focus-visible {
  background-color: hsl(var(--muted));
  outline: none;
}

.ratgeber-deepdives__tag {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  background-color: hsl(var(--muted));
  padding: 0.125rem 0.5rem;
  border-radius: 999px;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.ratgeber-deepdives__text {
  font-size: 0.75rem;
  line-height: 1.6;
  color: hsl(var(--foreground));
  transition: color 150ms ease;
}

.ratgeber-deepdives__item:hover .ratgeber-deepdives__text,
.ratgeber-deepdives__item:focus-visible .ratgeber-deepdives__text {
  color: hsl(var(--primary));
}

.ratgeber-links__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.ratgeber-links__list a {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  text-decoration: none;
}

.ratgeber-links__list a:hover,
.ratgeber-links__list a:focus-visible {
  color: hsl(var(--primary));
  outline: none;
}

/* v47 quicktips fill logic */
.fk-quicktips__items {
  display: grid;
  gap: 0.75rem;
}

.fk-quicktips-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  border-radius: 0.75rem;
  background: hsl(var(--muted) / 0.5);
  text-decoration: none;
}

.fk-quicktips-item__icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f6b52' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><path d='m9 12 2 2 4-4'/></svg>");
}

.fk-quicktips-item__content {
  min-width: 0;
}

.fk-quicktips-item__text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.625rem;
  color: hsl(var(--foreground));
}

.fk-quicktips-item__linkhint {
  margin-top: 0.35rem;
  font-size: 0.75rem;
  line-height: 1.4;
  color: hsl(var(--muted-foreground));
  word-break: break-all;
}

.fk-quicktips-item--link {
  transition: background-color 150ms ease, transform 150ms ease;
}

.fk-quicktips-item--link:hover,
.fk-quicktips-item--link:focus-visible {
  background: hsl(var(--muted));
  transform: translateX(2px);
  outline: none;
}

.editor-styles-wrapper .fk-quicktips-item {
  margin-top: 0.75rem;
}

.ratgeber-chip {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.ratgeber-chip--large,
.ratgeber-chip--small {
  background: hsl(var(--primary) / 0.08);
  color: hsl(var(--primary));
}

.fk-ratgeber-manual-teaser-editor,
.fk-ratgeber-auto-teasers-editor {
  border: 1px dashed hsl(var(--border));
  padding: 1rem;
  border-radius: 0.75rem;
  background: hsl(var(--muted) / 0.3);
  margin: 1rem 0;
}

@media (min-width: 640px) {
  .ratgeber-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .ratgeber-featured__link {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ratgeber-featured__media {
    aspect-ratio: auto;
  }

  .ratgeber-featured__content {
    padding: 3rem;
  }
}

@media (min-width: 1024px) {
  .ratgeber-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}


.ratgeber-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {

  .ratgeber-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {

  .ratgeber-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.fk-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
}

.fk-chip__icon, .article-meta__icon {
  width: 0.875rem;
  height: 0.875rem;
  flex-shrink: 0;
}

.fk-chip--secondary {
  opacity: 0.85;
}

.fk-latest-card__chips,
.fk-search-result-card__chips,
.fk-card__chips {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-bottom: 0.75rem;
}

.fk-card__chip {
  line-height: 1;
}


/* v51 taxonomy mapping frontend */
.bg-blue-50 { background-color: #eff6ff; }
.text-blue-600 { color: #2563eb; }

.bg-emerald-50 { background-color: #ecfdf5; }
.text-emerald-600 { color: #059669; }

.bg-purple-50 { background-color: #faf5ff; }
.text-purple-600 { color: #9333ea; }

.bg-amber-50 { background-color: #fffbeb; }
.text-amber-600 { color: #d97706; }

.bg-rose-50 { background-color: #fff1f2; }
.text-rose-600 { color: #e11d48; }

.bg-teal-50 { background-color: #f0fdfa; }
.text-teal-600 { color: #0d9488; }

.bg-primary-10 { background-color: rgba(46, 96, 78, 0.10); }

.bg-primary\/10, .bg-primary\/10 { background-color: hsl(var(--primary) / 0.10); }
.bg-primary-foreground\/10, .bg-primary-foreground\/10 { background-color: hsl(var(--primary-foreground) / 0.10); }
.bg-primary-foreground\/5, .bg-primary-foreground\/5 { background-color: hsl(var(--primary-foreground) / 0.05); }
.text-primary-foreground { color: hsl(var(--primary-foreground)); }
.text-primary-foreground\/70, .text-primary-foreground\/70 { color: hsl(var(--primary-foreground) / 0.70); }
.text-primary-foreground\/40, .text-primary-foreground\/40 { color: hsl(var(--primary-foreground) / 0.40); }
.border-primary-foreground\/20, .border-primary-foreground\/20 { border-color: hsl(var(--primary-foreground) / 0.20); }
.hover\:bg-primary\/90:hover, .hover\:bg-primary\/90:hover { background-color: hsl(var(--primary) / 0.90); }
.hover\:border-primary\/20:hover, .hover\:border-primary\/20:hover { border-color: hsl(var(--primary) / 0.20); }
.shadow-foreground\/5, .shadow-foreground\/5 { box-shadow: 0 10px 25px -15px hsl(var(--foreground) / 0.05); }

.max-w-7xl { max-width: 80rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-lg { max-width: 32rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }
.inline-flex { display: inline-flex; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.grid { display: grid; }
.hidden { display: none; }
.block { display: block; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.w-fit { width: fit-content; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.object-cover { object-fit: cover; }
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }
.rounded-full { border-radius: 9999px; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.border { border-width: 1px; border-style: solid; }
.border-y { border-top-width: 1px; border-bottom-width: 1px; border-style: solid; }
.border-border { border-color: hsl(var(--border)); }
.border-input { border-color: hsl(var(--input)); }
.bg-card { background-color: hsl(var(--card)); }
.bg-primary { background-color: hsl(var(--primary)); }
.bg-muted { background-color: hsl(var(--muted)); }
.bg-accent { background-color: hsl(var(--accent)); }
.text-foreground { color: hsl(var(--foreground)); }
.text-muted-foreground { color: hsl(var(--muted-foreground)); }
.text-primary { color: hsl(var(--primary)); }
.hover\:bg-muted:hover, .hover\:bg-muted:hover { background-color: hsl(var(--muted)); }
.hover\:bg-accent:hover, .hover\:bg-accent:hover { background-color: hsl(var(--accent)); }
.hover\:text-accent-foreground:hover, .hover\:text-accent-foreground:hover { color: hsl(var(--accent-foreground)); }
.hover\:text-foreground:hover, .hover\:text-foreground:hover { color: hsl(var(--foreground)); }
.hover\:underline:hover, .hover\:underline:hover { text-decoration: underline; }

.relative { position: relative; }
.absolute { position: absolute; }
.top-0 { top: 0; } .bottom-0 { bottom: 0; } .left-0 { left: 0; } .right-0 { right: 0; }
.top-4 { top: 1rem; }
.z-10 { z-index: 10; }

.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.pt-12 { padding-top: 3rem; }
.pb-16 { padding-bottom: 4rem; }
.pb-4 { padding-bottom: 1rem; }

.mr-3 { margin-right: 0.75rem; }
.ml-5 { margin-left: 1.25rem; }
.-mx-4 { margin-left: -1rem; margin-right: -1rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mt-0\.5, .mt-0\.5 { margin-top: 0.125rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }

.gap-1 { gap: 0.25rem; }
.gap-1\.5, .gap-1\.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.font-medium { font-weight: 500; }
.font-serif { font-family: var(--font-serif); }
.leading-tight { line-height: 1.15; }
.leading-relaxed { line-height: 1.625; }
.leading-snug { line-height: 1.375; }

.shadow { box-shadow: 0 8px 20px -14px hsl(var(--foreground) / 0.25); }
.shadow-sm { box-shadow: 0 4px 14px -10px hsl(var(--foreground) / 0.2); }
.shadow-md { box-shadow: 0 10px 20px -12px hsl(var(--foreground) / 0.12); }
.shadow-lg { box-shadow: 0 16px 30px -18px hsl(var(--foreground) / 0.15); }
.hover\:shadow-lg:hover, .hover\:shadow-lg:hover { box-shadow: 0 16px 30px -18px hsl(var(--foreground) / 0.15); }
.hover\:shadow-md:hover, .hover\:shadow-md:hover { box-shadow: 0 10px 20px -12px hsl(var(--foreground) / 0.12); }
.hover\:shadow-sm:hover, .hover\:shadow-sm:hover { box-shadow: 0 4px 14px -10px hsl(var(--foreground) / 0.2); }

.transition-all { transition: all 0.3s ease; }
.transition-colors { transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease; }
.transition-transform { transition: transform 0.5s ease; }
.transition-opacity { transition: opacity 0.3s ease; }
.duration-200 { transition-duration: 0.2s; }
.duration-300 { transition-duration: 0.3s; }
.duration-500 { transition-duration: 0.5s; }

.hover\:-translate-y-1:hover, .hover\:-translate-y-1:hover { transform: translateY(-0.25rem); }
.hover\:-translate-y-0\.5:hover, .hover\:-translate-y-0\.5:hover { transform: translateY(-0.125rem); }

.group:hover .group-hover\:scale-105,
.group:hover .group-hover\:scale-105 { transform: scale(1.05); }
.group:hover .group-hover\:gap-2,
.group:hover .group-hover\:gap-2 { gap: 0.5rem; }
.group:focus-within .group-focus-within\:opacity-100,
.group:focus-within .group-focus-within\:opacity-100 { opacity: 1; }

.placeholder\:text-muted-foreground\/60::placeholder, .placeholder\:text-muted-foreground\/60::placeholder { color: hsl(var(--muted-foreground) / 0.60); }
.placeholder\:text-primary-foreground\/40::placeholder, .placeholder\:text-primary-foreground\/40::placeholder { color: hsl(var(--primary-foreground) / 0.40); }

.h-0\.5, .h-0\.5 { height: 2px; }
.h-3 { height: 0.75rem; } .w-3 { width: 0.75rem; }
.h-3\.5, .h-3\.5 { height: 0.875rem; } .w-3\.5, .w-3\.5 { width: 0.875rem; }
.h-4 { height: 1rem; } .w-4 { width: 1rem; }
.h-5 { height: 1.25rem; } .w-5 { width: 1.25rem; }
.h-6 { height: 1.5rem; } .w-6 { width: 1.5rem; }
.h-8 { height: 2rem; } .w-8 { width: 2rem; }
.h-10 { height: 2.5rem; } .w-10 { width: 2.5rem; }
.h-12 { height: 3rem; } .w-12 { width: 3rem; }
.h-48 { height: 12rem; } .w-48 { width: 12rem; }
.h-64 { height: 16rem; } .w-64 { width: 16rem; }
.w-72 { width: 18rem; }

.shrink-0 { flex-shrink: 0; }
.self-start { align-self: flex-start; }

.snap-start { scroll-snap-align: start; }
.scrollbar-hide { scrollbar-width: none; }
.scrollbar-hide::-webkit-scrollbar { display: none; }

.blur-sm { filter: blur(4px); }
.opacity-0 { opacity: 0; }
.-inset-0\.5, .-inset-0\.5 { inset: -2px; }
.-translate-y-32 { transform: translateY(-8rem); }
.translate-y-24 { transform: translateY(6rem); }
.translate-x-32 { transform: translateX(8rem); }
.-translate-x-24 { transform: translateX(-6rem); }

.aspect-\[4\/3\], .aspect-\[4\/3\] { aspect-ratio: 4 / 3; }

@media (min-width: 640px) {
  .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .sm\:text-sm { font-size: 0.875rem; line-height: 1.25rem; }
  .sm\:text-5xl { font-size: 3rem; line-height: 1; }
  .sm\:flex { display: flex; }
  .sm\:hidden { display: none; }
  .sm\:flex-row { flex-direction: row; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
  .md\:pt-20 { padding-top: 5rem; }
  .md\:pb-24 { padding-bottom: 6rem; }
  .md\:py-20 { padding-top: 5rem; padding-bottom: 5rem; }
  .md\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
  .md\:px-0 { padding-left: 0; padding-right: 0; }
  .md\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
  .md\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
  .md\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
  .md\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .md\:text-6xl { font-size: 3.75rem; line-height: 1; }
  .md\:gap-6 { gap: 1.5rem; }
  .md\:w-auto { width: auto; }
  .md\:flex-1 { flex: 1 1 0%; }
  .md\:flex { display: flex; }
  .md\:block { display: block; }
  .md\:mx-0 { margin-left: 0; margin-right: 0; }
}
@media (min-width: 1024px) {
  .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ============================================================
   HOME: PORTAL PROMO
   ============================================================ */

.fk-portal-promo {
  padding: 4rem 0;
  background: var(--fk-color-bg);
}

.fk-portal-promo__heading {
  max-width: 38rem;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.fk-portal-promo__items {
  display: grid;
  gap: 4rem;
}

.fk-portal-promo__item {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.fk-portal-promo__title,
.fk-section-heading__title {
  margin: 1rem 0;
  font-family: var(--fk-font-serif);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1.15;
  color: var(--color-foreground);
}

.fk-portal-promo__text {
  max-width: 34rem;
  margin: 0 0 1.5rem;
  color: var(--color-muted-foreground);
  line-height: 1.7;
}

.fk-portal-promo__media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 1.25rem;
  box-shadow: var(--shadow-lg, 0 18px 45px rgba(0, 0, 0, 0.12));
}

.fk-portal-promo__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.fk-portal-promo__media:hover img {
  transform: scale(1.04);
}

@media (min-width: 768px) {
  .fk-portal-promo {
    padding: 6rem 0;
    background: var(--fk-color-bg);
  }

  .fk-portal-promo__item {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 4rem;
  }

  .fk-portal-promo__item--reverse .fk-portal-promo__content {
    order: 2;
  }

  .fk-portal-promo__item--reverse .fk-portal-promo__media {
    order: 1;
  }
}