.wp-block-heading {
  font-size: 2rem;
}

.info-page {
  background: #fff;
  color: var(--black, #1f1b16);
}

.info-container {
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--padding-x);
}

.info-hero {
  padding: 160px 0 88px;
  background: var(--bg_beige, #f5f4ef);
}

.info-hero__title {
  max-width: 100%;
  margin: 0 0 16px;
}

.info-hero__date {
  color: rgba(31, 27, 22, 0.72);
}

.info-section {
  padding: 64px 0 120px;
}

.info-layout {
  display: grid;
  grid-template-columns: 355px 1fr;
  gap: 80px;
  align-items: start;
}

.info-sidebar {
  position: sticky;
  top: 120px;
}

.info-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-nav a {
  color: #5a524a;
  text-decoration: none;
  transition: color 0.25s ease;
  font-size: 1.25rem;
  line-height: 1.5rem;
  font-weight: 500;
}

.info-nav a:hover {
  color: #1f1b16;
}

.info-content {
  min-width: 0;
}

.info-content h2 {
  scroll-margin-top: 120px;
  margin: 32px 0 16px 0;
  font-weight: 600;
  font-size: 2rem;
  line-height: 118%;
}

.info-content h2:not(:first-child) {
  margin-top: 36px;
}

.info-content h3 {
  margin: 28px 0 12px;
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 125%;
}

.info-content p {
  margin: 0 0 16px;
  line-height: 155%;
  font-size: 1.125rem;
}

.info-content ul,
.info-content ol {
  margin: 0 0 20px;
  padding-left: 22px;
  line-height: 155%;
  font-size: 1.125rem;
}

.info-content li {
  margin-bottom: 6px;
}

/* Mobile TOC — hidden on desktop */
.info-toc-mobile {
  display: none;
}
/* Alert */

.info-alert {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  margin-top: 28px;
  padding: 20px 24px;
  border-radius: 8px;
  background: #eef6fb;
}

.info-alert__icon {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  margin-top: 2px;
  border: 2px solid #2d7db8;
  border-radius: 50%;
  color: #2d7db8;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  text-align: center;
}

.info-alert p {
  margin: 0;
}
/* =========================================================
   COOKIE SETTINGS
========================================================= */

.cookie-settings {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: fit-content;
  margin-top: 48px;
}

.cookie-toggle {
  display: flex;
  align-items: center;
  gap: 16px;
  width: fit-content;
  cursor: pointer;
  user-select: none;
}

.cookie-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cookie-toggle__switch {
  position: relative;
  display: block;
  flex: 0 0 40px;
  width: 40px;
  height: 22px;
  padding: 4px;
  border-radius: 999px;
  background: #f7e8e4;
  box-shadow: 0 4px 8px rgba(31, 27, 22, 0.12);
  transition:
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}

.cookie-toggle__switch::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #7f7b5b;
  transform: translateY(-50%);
  transition:
    transform 0.25s ease,
    background-color 0.25s ease;
}

.cookie-toggle input:checked + .cookie-toggle__switch {
  background: #7f7b5b;
  box-shadow: none;
}

.cookie-toggle input:checked + .cookie-toggle__switch::before {
  background: #fff;
  transform: translate(16px, -50%);
}

.cookie-toggle input:disabled + .cookie-toggle__switch {
  opacity: 0.9;
  cursor: not-allowed;
}

.cookie-toggle__label {
  font-size: 1rem;
  line-height: 1.375;
  font-weight: 500;
  color: var(--black, #1f1b16);
}

.cookie-toggle:has(input:disabled) {
  cursor: not-allowed;
}

.cookie-toggle input:focus-visible + .cookie-toggle__switch {
  outline: 2px solid #2d7db8;
  outline-offset: 3px;
}
@media (max-width: 1024px) {
  .info-hero {
    padding: 132px 0 64px;
  }

  .info-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 48px;
  }
  .info-hero__title {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .info-hero {
    padding: 112px 0 48px;
  }

  .info-section {
    padding: 32px 0 72px;
  }

  .info-layout {
    display: block;
  }

  .info-sidebar {
    display: none;
  }

  /* Mobile TOC accordion */
  .info-toc-mobile {
    display: block;
    margin-bottom: 32px;
  }

  .info-toc-mobile__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 10px 24px;
    background: #fff;
    border: 1px solid rgba(232, 222, 211, 0.8);
    border-radius: 8px;
    cursor: pointer;
    color: var(--black, #1f1b16);
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: 0;
    transition: border-radius 0.2s ease;
  }

  .info-toc-mobile__toggle[aria-expanded="true"] {
    border-radius: 8px 8px 0 0;
  }

  .info-toc-mobile__chevron {
    width: 20px;
    height: 20px;
    transition: transform 0.25s ease;
    flex-shrink: 0;
  }

  .info-toc-mobile__toggle[aria-expanded="true"] .info-toc-mobile__chevron {
    transform: rotate(180deg);
  }

  .info-toc-mobile__nav {
    padding: 16px 24px;
    background: #fff;
    border: 1px solid rgba(232, 222, 211, 0.8);
    border-top: none;
    border-radius: 0 0 8px 8px;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .info-toc-mobile__nav[hidden] {
    display: none;
  }

  .info-toc-mobile__nav a {
    color: rgba(31, 27, 22, 0.72);
    text-decoration: none;
    font-size: 16px;
    line-height: 24px;
  }

  .info-toc-mobile__nav a:hover,
  .info-toc-mobile__nav a:active {
    color: var(--black, #1f1b16);
  }
  .info-mobile-toc {
    display: none;
  }
  .cookie-settings {
    margin-top: 40px;
    gap: 12px;
  }

  .cookie-toggle {
    gap: 14px;
  }

  .cookie-toggle__label {
    font-size: 1rem;
  }
}

@media (max-width: 425px) {
  .info-hero {
    padding: 104px 0 40px;
  }

  .info-section {
    padding: 24px 0 64px;
  }

  .info-hero__title {
    font-size: 2.5rem;
    line-height: 120%;
  }
  .info-content h2 {
    font-size: 1.5rem;
    margin: 24px 0 16px 0;
  }
  .info-content h3 {
    font-size: 1.25rem;
  }
  .info-content p {
    font-size: 1rem;
  }
  .info-content ul,
  .info-content ol {
    font-size: 1rem;
    margin-bottom: 2px;
  }
  .cookie-settings {
    margin-top: 32px;
  }

  .cookie-toggle {
    gap: 12px;
  }

  .cookie-toggle__switch {
    flex-basis: 40px;
    width: 40px;
    height: 22px;
  }

  .cookie-toggle__label {
    font-size: 0.9375rem;
  }
}
