/*
Theme Name: Tidligpå Multisite
Theme URI: https://tidligpa.local
Author: Zpirit
Description: Minimal subsite theme used for quick multisite testing.
Version: 1.0.0
Text Domain: tidligpa-multisite
*/

/* ============================================================
   DESIGN TOKENS
   Colors match the teal oppvekstportal scheme visible in designs.
   --color-dark  = the deep teal used for header, footer, banner.
   --color-bg    = the light-blue page background.
============================================================ */
:root {
  --color-dark:        #0c3f51;
  --color-dark-hover:  #082e3b;
  --color-bg:          #e5f4f8;
  --color-surface:     #ffffff;
  --color-muted:       #4a6e7c;
  --color-border:      rgba(12, 63, 81, 0.15);
  --color-border-strong: rgba(12, 63, 81, 0.25);
  --color-yellow:      #f9e16d;
  --color-hover-blue:  #f3f9fb;
  --color-hover-green: #f3f9fb;
  --color-hover-yellow:#f3f9fb;
  --radius-pill:       999px;
  --radius-card:       8px;
  --radius-button:     6px;
  --max-w:             min(1200px, calc(100% - 3rem));
}

/* ============================================================
   RESET / BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--color-dark);
  background-color: var(--color-bg);
  min-height: 100vh;
}

/* ============================================================
   SITE SHELL WRAPPER
============================================================ */
.site-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ============================================================
   MUNICIPALITY BAR  (top breadcrumb "← navn.kommune.no")
============================================================ */
.site-municipality-bar {
  width: 100%;
  padding: 0.5rem 0;
}

.site-municipality-bar > * {
  max-width: var(--max-w);
  margin: 0 auto;
}

.site-municipality-bar a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--color-dark);
  text-decoration: none;
}

.site-municipality-bar a:hover { text-decoration: underline; }

/* ============================================================
   SITE HEADER
============================================================ */
.site-header {
  width: 100%;
  padding: 0;
}

.site-header__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.25rem 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* ============================================================
   SITE BRANDING
============================================================ */
.site-branding__link {
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
  text-decoration: none;
  color: var(--color-dark);
}

.site-branding__link:hover { text-decoration: underline; }

.site-branding__image {
  display: block;
  width: auto;
  height: auto;
  max-width: none;
  max-height: 64px;
}

.site-branding__fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-pill);
  background: var(--color-surface);
  border: 2px solid var(--color-dark);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-dark);
}

.site-branding__copy {
  display: grid;
  gap: 0.1rem;
}

.site-branding__eyebrow {
  font-size: 0.75rem;
  line-height: 1.3;
  opacity: 0.65;
  font-weight: 500;
}

.site-branding__title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

/* ============================================================
   HEADER ACTIONS  (Søk + Meny buttons)
============================================================ */
.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-header__action {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  border: none;
  background: transparent;
  color: var(--color-dark);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.15s;
  text-decoration: none;
  white-space: nowrap;
}

.site-header__action:hover,
.site-header__action[aria-expanded="true"] {
  opacity: 0.7;
}

.site-header__action svg,
.site-header__action img {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

/* ============================================================
   SITE MENU DRAWER  (full-screen overlay)
============================================================ */
.site-menu-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--color-bg);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.site-menu-drawer[hidden] { display: none; }

.site-menu-drawer__head {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-menu-drawer__close {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  border: 2px solid var(--color-dark);
  border-radius: var(--radius-pill);
  background: var(--color-dark);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}

.site-menu-drawer__close:hover { background: var(--color-dark-hover); }

.site-menu-drawer__body {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  padding-bottom: 3rem;
}

/* Navigation tree */
.site-menu-tree {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.25rem;
}

.site-menu-tree__item { margin: 0; }

.site-menu-tree__link,
.site-menu-tree__group > summary {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-dark);
  text-decoration: none;
  border-bottom: 1px solid var(--color-border);
  cursor: pointer;
  list-style: none;
}

.site-menu-tree__link:hover { color: var(--color-dark-hover); text-decoration: underline; }

.site-menu-tree__group summary::-webkit-details-marker { display: none; }

.site-menu-tree__icon {
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
  object-fit: contain;
}

.site-menu-tree__label-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-menu-tree__group-panel {
  padding: 0.5rem 0 0.5rem 2.5rem;
}

.site-menu-tree--anchors { margin-top: 0.5rem; }

.site-menu-tree__link--anchor {
  font-size: 1rem;
  font-weight: 400;
}

.site-menu-tree__parent-link {
  display: block;
  padding: 0.5rem 0;
  font-size: 1rem;
  color: var(--color-dark);
  text-decoration: underline;
  opacity: 0.8;
}

/* ============================================================
   MAIN CONTENT
============================================================ */
#main-content { flex: 1; }

/* ============================================================
   LANDING PAGE LAYOUT
============================================================ */

/* ============================================================
   LANDING HERO
============================================================ */
.landing-hero {
  position: relative;
  overflow: hidden;
  padding-bottom: 6rem;
}

.landing-hero__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2rem 0 4rem;
  position: relative;
  min-height: 22rem;
}

.landing-hero__copy {
  max-width: 52%;
  position: relative;
  z-index: 1;
}

.landing-hero__title {
  margin: 0 0 1rem;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 300;
  line-height: 1;
  color: var(--color-dark);
}

.landing-hero__description {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--color-dark);
  opacity: 0.8;
}

.landing-hero__description p { margin: 0; }

/* Balloon illustration area */
.landing-hero__illustration {
  pointer-events: none;
  user-select: none;
  position: absolute;
  inset: 0;
  z-index: 0;
}

.landing-hero__copy { position: relative; z-index: 1; }

/* Desktop balloons */
.landing-hero__balloons-desktop {
  display: none;
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 50%;
  pointer-events: none;
}

.landing-hero__balloons-mobile {
  display: block;
  text-align: center;
  margin-top: 2rem;
  position: relative;
  height: 160px;
}

@media (min-width: 768px) {
  .landing-hero { padding-bottom: 0; }
  .landing-hero__inner { padding: 4.5rem 0 5rem; }
  .landing-hero__copy { max-width: 50%; }
  .landing-hero__balloons-desktop { display: block; }
  .landing-hero__balloons-mobile { display: none; }
}

/* Balloon animations */
@keyframes fp-balloon-bob-lg {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes fp-balloon-bob-sm {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes fp-cloud-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.fp-anim-balloon-1 { animation: fp-balloon-bob-lg 4.8s ease-in-out 1s infinite; }
.fp-anim-balloon-2 { animation: fp-balloon-bob-sm 3.8s ease-in-out 0.9s infinite; }
.fp-anim-cloud     { animation: fp-cloud-float 6s ease-in-out infinite; }

/* ============================================================
   LANDING BANNER  (dark teal strip, "Urolig for et barn..?")
============================================================ */
.landing-banner {
  background: var(--color-dark);
  color: #fff;
}

.landing-banner__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3.5rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.landing-banner__title {
  margin: 0;
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 400;
  color: #fff;
  line-height: 1.4;
}

.landing-banner__toggle {
  display: inline-flex;
  align-items: center;
  padding: 0.8rem 2.75rem;
  border: none;
  border-radius: 8px;
  background: var(--color-yellow);
  color: var(--color-dark);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: filter 0.15s, transform 0.15s;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.landing-banner__toggle:hover {
  filter: brightness(0.96);
  transform: translateY(-1px);
}

.landing-banner__toggle[aria-expanded="true"] {
  filter: brightness(0.93);
  transform: translateY(0);
}

/* Expandable panel inside banner */
.landing-banner__panel {
  width: 100%;
  max-width: 680px;
  background: var(--color-surface);
  border-radius: 12px;
  padding: 2rem 2rem 1.75rem;
  margin-top: 0.5rem;
  color: var(--color-dark);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06);
  text-align: left;
}

.landing-banner__panel-title {
  margin: 0 0 1.25rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-dark);
  text-align: center;
}

/* ── Segmented tab controls ── */
.landing-banner__tabs {
  display: flex;
  gap: 0;
  background: #e8edf0;
  border-radius: 8px;
  padding: 3px;
  margin-bottom: 1.5rem;
}

.landing-banner__tab {
  flex: 1;
  padding: 0.5rem 0.75rem;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--color-dark);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.15s, font-weight 0.1s;
  white-space: nowrap;
  line-height: 1.4;
}

.landing-banner__tab--active,
.landing-banner__tab[aria-selected="true"] {
  background: var(--color-surface);
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.landing-banner__tab:not([aria-selected="true"]):hover {
  background: rgba(255,255,255,0.55);
}

.landing-banner__tab-description {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-dark);
}

.landing-banner__tab-description p { margin: 0; }

.landing-banner__tab-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.landing-banner__tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.6rem 1.4rem;
  border: 1.5px solid var(--color-dark);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--color-dark);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s;
}

.landing-banner__tab-btn:hover {
  background: rgba(12, 63, 81, 0.06);
}

.landing-banner__tab-btn-icon {
  font-size: 1rem;
}

.landing-banner__tab-btn-logo {
  width: 1.35rem;
  height: 1.35rem;
  object-fit: contain;
  flex: 0 0 1.35rem;
}

/* ============================================================
   LANDING CARDS
============================================================ */
.landing-cards {
  background: var(--color-bg);
}

.landing-cards__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

.landing-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (max-width: 767px) {
  .landing-card-grid { grid-template-columns: 1fr; }
}

/* Individual card */
.landing-card__link {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border-radius: var(--radius-card);
  text-decoration: none;
  color: var(--color-dark);
  border: 1px solid var(--color-border);
  box-shadow: 0 2px 8px rgba(12, 63, 81, 0.04);
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
  height: 100%;
}

.landing-card__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(12, 63, 81, 0.10);
  border-color: rgba(12, 63, 81, 0.22);
  background: var(--tp-card-hover-color, #f6fcfe);
}

.landing-card__content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  height: 100%;
}

.landing-card__head {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
}

.landing-card__icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
}

.landing-card__icon {
  display: block;
  width: 1.75rem;
  height: 1.75rem;
  object-fit: contain;
}

.landing-card__title-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
}

.landing-card__title {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
  color: var(--color-dark);
}

.landing-card__description {
  color: var(--color-dark);
  opacity: 0.8;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

.landing-card__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-dark);
  transition: transform 0.15s ease-out;
}

.landing-card__link:hover .landing-card__arrow { transform: translateX(5px); }

/* ============================================================
   LANDING OUTGOING CTA
============================================================ */
.landing-outgoing {
  background: var(--color-bg);
}

.landing-outgoing__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 4rem 0 6rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.landing-outgoing__content { max-width: 800px; }

.landing-outgoing__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 600;
  color: var(--color-dark);
}

.landing-outgoing__description {
  color: var(--color-dark);
  font-size: 1rem;
  line-height: 1.6;
}

.landing-outgoing__description p { margin: 0; }

.landing-outgoing__button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.75rem;
  border: 1.5px solid var(--color-dark);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--color-dark);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}

.landing-outgoing__button:hover {
  background: rgba(12, 63, 81, 0.05);
  box-shadow: 0 2px 8px rgba(12, 63, 81, 0.08);
}

/* ============================================================
   SITE FOOTER
============================================================ */
.site-footer {
  background: var(--color-dark);
  color: #fff;
  margin-top: auto;
}

.site-footer__top {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2rem 0 1.5rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  flex-wrap: wrap;
}

.site-footer__intro { display: grid; gap: 1.25rem; }

.site-footer__descriptor {
  margin: 0;
  font-size: 0.95rem;
  opacity: 0.9;
}

.site-footer__brand-block {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-footer__brand-image {
  display: block;
  width: auto;
  max-height: 80px;
  max-width: none;
}

.site-footer__brand-name {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
}

.site-footer__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-footer__button {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.25rem;
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: var(--radius-pill);
  background: transparent;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  line-height: 1.4;
}

.site-footer__button:hover {
  background: #fff;
  color: var(--color-dark);
}

.site-footer__bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.25rem 0 2rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-footer__meta {
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.75;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.75rem;
  align-items: center;
}

.site-footer__meta span::after { content: " | "; opacity: 0.5; margin-left: 0.75rem; }
.site-footer__meta span:last-child::after { content: none; }

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.site-footer__legal a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  text-decoration: underline;
}

.site-footer__legal a:hover { color: #fff; }

/* ============================================================
   RESPONSIVE ADJUSTMENTS
============================================================ */
@media (max-width: 767px) {
  .site-header__inner {
    padding: 1rem 0 1.5rem;
  }

  .site-branding__eyebrow { display: none; }

  .landing-hero__copy { max-width: 100%; }

  .landing-banner__inner { padding: 2.5rem 0; }

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

  .site-footer__top,
  .site-footer__bottom {
    flex-direction: column;
  }

  .site-footer__actions { justify-content: flex-start; }
  .site-footer__meta span::after { content: none; }
  .site-footer__meta { flex-direction: column; gap: 0.25rem; }
}

/* Prevent scroll when menu is open */
body.site-menu-open { overflow: hidden; }

/* ============================================================
   INFORMATION PAGES
============================================================ */
.info-page {
  padding: 0 0 5rem;
}

.info-page__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(16rem, 19rem) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
}

.info-page__aside {
  position: sticky;
  top: 1.5rem;
  display: grid;
  gap: 1.25rem;
}

.info-page__breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.95rem;
  color: rgba(12, 63, 81, 0.82);
}

.info-page__breadcrumbs a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.info-page__toc-card {
  border: 1px solid var(--color-border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 20px 45px rgba(12, 63, 81, 0.08);
  backdrop-filter: blur(8px);
  overflow: hidden;
}

.info-page__toc-head {
  padding: 1.25rem 1.25rem 0.95rem;
  border-bottom: 1px solid var(--color-border);
}

.info-page__toc-head h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.info-page__toc-head p {
  margin: 0.4rem 0 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--color-muted);
}

.info-page__toc-mobile {
  display: none;
}

.info-page__toc-mobile summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.info-page__toc-mobile summary::-webkit-details-marker {
  display: none;
}

.info-page__toc-mobile summary::after {
  content: "▾";
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.info-page__toc-mobile[open] summary::after {
  transform: rotate(180deg);
}

.info-page__toc-desktop {
  padding: 0.75rem 0.35rem 1rem;
}

.info-page__toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.25rem;
}

.info-page__toc-item a {
  display: block;
  padding: 0.7rem 0.95rem;
  border-radius: 12px;
  color: var(--color-dark);
  text-decoration: none;
  line-height: 1.4;
  transition: background 0.15s ease, transform 0.15s ease;
}

.info-page__toc-item a:hover {
  background: rgba(12, 63, 81, 0.06);
  transform: translateX(2px);
}

.info-page__toc-item--depth-2 a {
  margin-left: 1rem;
  padding-left: 1.25rem;
  color: rgba(12, 63, 81, 0.82);
  font-size: 0.95rem;
}

.info-page__content {
  min-width: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 28px;
  padding: 2rem 2rem 2.5rem;
  box-shadow: 0 22px 50px rgba(12, 63, 81, 0.08);
}

.info-page__header {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 1.75rem;
}

.info-page__eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(12, 63, 81, 0.68);
}

.info-page__title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  font-weight: 300;
}

.info-page__blocks {
  display: grid;
  gap: 1.5rem;
}

.info-page__section {
  scroll-margin-top: 1.5rem;
}

.info-page__heading {
  margin: 0;
  color: var(--color-dark);
}

.info-page__heading--primary {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.15;
  font-weight: 400;
}

.info-page__heading--secondary {
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  line-height: 1.2;
  font-weight: 600;
}

.info-page__subtitle {
  margin: 0.6rem 0 0;
  color: var(--color-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.info-page__prose {
  color: var(--color-dark);
  font-size: 1.05rem;
  line-height: 1.8;
}

.info-page__prose > :first-child {
  margin-top: 0;
}

.info-page__prose > :last-child {
  margin-bottom: 0;
}

.info-page__prose p,
.info-page__prose ul,
.info-page__prose ol {
  margin: 0 0 1rem;
}

.info-page__prose ul,
.info-page__prose ol {
  padding-left: 1.35rem;
}

.info-page__prose a {
  color: var(--color-dark);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.18em;
}

.info-page__accordion {
  border: 2px solid #f0f0f0;
  border-radius: 18px;
  overflow: hidden;
  background: #f7fbfc;
}

.info-page__accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  cursor: pointer;
  list-style: none;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--color-dark);
  background: #f0f6f8;
}

.info-page__accordion summary::-webkit-details-marker {
  display: none;
}

.info-page__accordion summary::after {
  content: "▾";
  flex: 0 0 auto;
  transition: transform 0.2s ease;
}

.info-page__accordion[open] summary::after {
  transform: rotate(180deg);
}

.info-page__accordion-body {
  padding: 1.1rem 1.2rem 1.25rem;
  background: var(--color-surface);
}

.info-page__section--image {
  margin: 0;
}

.info-page__image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(12, 63, 81, 0.12);
}

@media (max-width: 980px) {
  .info-page__inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .info-page__aside {
    position: static;
  }

  .info-page__toc-mobile {
    display: block;
  }

  .info-page__toc-desktop {
    display: none;
  }
}

@media (max-width: 767px) {
  .info-page__content {
    border-radius: 22px;
    padding: 1.35rem 1.1rem 1.75rem;
  }

  .info-page__title {
    font-size: 2rem;
  }

  .info-page__prose {
    font-size: 1rem;
  }
}
