/* ==========================================================================
   Signal:Guide.ai — Design Tokens & Base Styles
   Generated from Figma design (diVicUyGPrYoMkQcKbP1va)
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  /* Colors */
  --color-deep-sea-green: #0b4f6c;
  --color-neutral-darkest: #07050c;
  --color-white: #ffffff;
  --color-bg-light: #f2f2f2;
  --color-bg-accent: #e6edf0;
  --color-border: rgba(7, 5, 12, 0.15);
  --color-text-muted: rgba(7, 5, 12, 0.6);

  /* Typography sizes */
  --text-heading-1: 56px;
  --text-heading-2: 48px;
  --text-heading-3: 40px;
  --text-heading-4: 32px;
  --text-heading-5: 24px;
  --text-heading-6: 20px;
  --text-large: 20px;
  --text-medium: 18px;
  --text-regular: 16px;
  --text-small: 14px;
  --text-tiny: 12px;

  /* Spacing */
  --padding-global: 64px;
  --section-padding-large: 112px;
  --section-padding-medium: 80px;
  --container-max: 1280px;
  --content-max: 768px;
  --content-narrow: 560px;

  /* Borders */
  --border-width: 1px;
  --border-radius: 8px;
}

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

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: var(--text-regular);
  line-height: 1.5;
  color: var(--color-neutral-darkest);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  margin: 0;
  font-variation-settings: 'SOFT' 0, 'WONK' 1;
}

p {
  margin: 0;
}

h1, .heading-1 {
  font-size: var(--text-heading-1);
  line-height: 1.2;
  letter-spacing: -0.56px;
}

h2, .heading-2 {
  font-size: var(--text-heading-2);
  line-height: 1.2;
  letter-spacing: -0.48px;
}

h3, .heading-3 {
  font-size: var(--text-heading-3);
  line-height: 1.2;
  letter-spacing: -0.4px;
}

h4, .heading-4 {
  font-size: var(--text-heading-4);
  line-height: 1.3;
  letter-spacing: -0.32px;
}

h5, .heading-5 {
  font-size: var(--text-heading-5);
  line-height: 1.4;
  letter-spacing: -0.24px;
}

h6, .heading-6 {
  font-size: var(--text-heading-6);
  line-height: 1.4;
  letter-spacing: -0.2px;
}

.text-medium {
  font-size: var(--text-medium);
  line-height: 1.5;
}

.text-small {
  font-size: var(--text-small);
  line-height: 1.5;
}

.text-tiny {
  font-size: var(--text-tiny);
  line-height: 1.5;
}

.tagline {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: var(--text-regular);
  line-height: 1.5;
}

/* ---------- Layout Containers ---------- */
.sg-container {
  max-width: var(--container-max);
  width: 100%;
  margin: 0 auto;
}

.sg-section {
  padding: var(--section-padding-large) var(--padding-global);
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.sg-section--medium-padding {
  padding-top: var(--section-padding-medium);
  padding-bottom: var(--section-padding-medium);
}

/* Section color schemes */
.sg-section--white {
  background-color: var(--color-white);
}

.sg-section--gray {
  background-color: var(--color-bg-light);
}

.sg-section--accent {
  background-color: var(--color-bg-accent);
}

/* Background color utility classes (driven by field_background_color) */
.bg--white { background-color: var(--color-white); }
.bg--light { background-color: var(--color-bg-light); }
.bg--accent { background-color: var(--color-bg-accent); }

/* ---------- Buttons ---------- */
.sg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: var(--text-regular);
  line-height: 1.5;
  padding: 10px 24px;
  border: var(--border-width) solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.sg-btn:hover {
  opacity: 0.85;
}

.sg-btn--primary {
  background-color: var(--color-deep-sea-green);
  border-color: var(--color-deep-sea-green);
  color: var(--color-white);
}

.sg-btn--secondary {
  background-color: transparent;
  border-color: var(--color-border);
  color: var(--color-neutral-darkest);
}

.sg-btn--outline {
  background-color: transparent;
  border-color: var(--color-border);
  color: var(--color-neutral-darkest);
}

.sg-btn--link {
  padding: 0;
  border: none;
  background: none;
  color: var(--color-neutral-darkest);
  gap: 8px;
}

.sg-btn--link .sg-btn__icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
}

.sg-btn--small {
  padding: 8px 20px;
}

.sg-actions {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

/* ---------- Tags ---------- */
.sg-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border: var(--border-width) solid var(--color-border);
  background: transparent;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: var(--text-small);
  line-height: 1.5;
  color: var(--color-neutral-darkest);
}

/* ---------- Section Title ---------- */
.sg-section-title {
  max-width: var(--content-max);
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sg-section-title__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sg-section-title__description {
  font-size: var(--text-medium);
  line-height: 1.5;
}


/* ==========================================================================
   PARAGRAPH: Hero Banner
   ========================================================================== */
.paragraph--hero-banner {
  background-color: var(--color-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.hero-banner {
  display: flex;
  align-items: stretch;
  width: 100%;
  min-height: 700px;
}

.hero-banner__content {
  flex: 0 0 50%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  padding-left: var(--padding-global);
  padding-right: 80px;
}

.hero-banner__inner {
  max-width: var(--content-narrow);
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hero-banner__text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-banner__description {
  font-size: var(--text-medium);
  line-height: 1.5;
}

.hero-banner__image {
  flex: 0 0 50%;
  overflow: hidden;
}

.hero-banner__image div:not(.visually-hidden) {
  display: contents;
}

.hero-banner__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-banner__image--halftone img {
  opacity: 0;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}


/* ==========================================================================
   PARAGRAPH: Content Listing
   ========================================================================== */
.paragraph--content-listing {
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  padding: var(--section-padding-large) var(--padding-global);
  position: relative;
}

.paragraph--content-listing::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 480px;
  height: 480px;
  background: url('../images/signals-motif.svg') no-repeat center / contain;
  opacity: 0.30;
  -webkit-mask-image: radial-gradient(circle at 100% 100%, white 0%, transparent 70%);
  mask-image: radial-gradient(circle at 100% 100%, white 0%, transparent 70%);
  pointer-events: none;
}

/* Background now controlled by field_background_color via .bg--* classes */

.content-listing__container {
  max-width: var(--container-max);
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.content-listing__body {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

/* Strip Drupal Views wrapper divs so grid/flex layout reaches card elements.
   Target by class to work with both server-rendered (2 wrappers) and
   AJAX-loaded (1 wrapper) view output. */
.content-listing__featured > .views-element-container,
.content-listing__featured [class*="js-view-dom-id"],
.content-listing__grid > .views-element-container,
.content-listing__grid [class*="js-view-dom-id"] {
  display: contents;
}

/* --- Featured Card --- */
.content-listing__featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  width: 100%;
  overflow: hidden;
}

/* Blog variant: no border, side-by-side with padding */
.display-style--flat_cards .content-listing__featured {
  gap: 0;
}

.display-style--flat_cards .featured-card__image {
  border-radius: var(--border-radius);
  overflow: hidden;
  aspect-ratio: 640 / 426;
}

.display-style--flat_cards .featured-card__content {
  padding-left: 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.featured-card__content .sg-btn--link,
.card--blog > .sg-btn--link {
  align-self: flex-start;
}

/* Resources variant: bordered card with image inside */
.display-style--elevated_cards .content-listing__featured {
  border: var(--border-width) solid var(--color-border);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.display-style--elevated_cards .featured-card__image {
  position: relative;
  aspect-ratio: 640 / 480;
  overflow: hidden;
}

.display-style--elevated_cards .featured-card__content {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

/* Elevated Cards: grid card overrides */
.display-style--elevated_cards .card--blog {
  border: var(--border-width) solid var(--color-border);
  border-radius: var(--border-radius);
  overflow: hidden;
  background-color: var(--color-white);
}

.display-style--elevated_cards .card--blog .card__image {
  border-radius: 0;
}

.display-style--elevated_cards .card--blog .card__content {
  padding: 24px;
  gap: 24px;
}

.display-style--elevated_cards .card--blog > .sg-btn--link {
  padding: 0 24px 24px;
}

/* Side by Side: horizontal card with square thumbnail */
.display-style--side_by_side .card--blog {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 24px;
  align-items: center;
}

.display-style--side_by_side .card--blog .card__image {
  grid-row: 1 / span 2;
  width: 250px;
  height: 250px;
  aspect-ratio: 1 / 1;
}

.display-style--side_by_side .card--blog > .sg-btn--link {
  grid-column: 2;
  justify-self: start;
}

/* Hide description — title only for compact side-by-side layout */
.display-style--side_by_side .card--blog .card__title-group p {
  display: none;
}

/* Clamp title to 3 lines */
.display-style--side_by_side .card--blog .card__title-group h4 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Featured card image - NO absolute positioning */
.featured-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Strip Drupal wrapper divs from card images */
.featured-card__image div:not(.visually-hidden) {
  display: contents;
}

.featured-card__info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.featured-card__meta {
  display: flex;
  gap: 16px;
  align-items: center;
}

.featured-card__meta-text {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: var(--text-small);
  line-height: 1.5;
}

.featured-card__title-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* --- Filters --- */
.content-listing__filters {
  display: flex;
  align-items: center;
}

.content-listing__filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  font-family: 'Inter', sans-serif;
  font-size: var(--text-regular);
  line-height: 1.5;
  font-weight: 400;
  color: var(--color-neutral-darkest);
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.content-listing__filter.is-active {
  font-weight: 500;
  background-color: var(--color-white);
  border: var(--border-width) solid var(--color-border);
}

/* --- Card Grid --- */
.content-listing__grid {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.content-listing__row {
  display: flex;
  gap: 48px;
}

/* Blog-style card: no border, image rounds separately */
.card--blog {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.card--blog .card__image {
  width: 100%;
  aspect-ratio: 616 / 346.5;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.card--blog .card__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Shared card elements */
.card__image div:not(.visually-hidden) {
  display: contents;
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card__meta {
  display: flex;
  gap: 16px;
  align-items: center;
}

.card__meta-text {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: var(--text-small);
  line-height: 1.5;
}

.card__title-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card__title-group p {
  margin: 0;
}

/* --- Pagination --- */
.content-listing__pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
}

.pagination__btn {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  border: 1px solid var(--color-border);
  background: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: var(--text-regular);
  line-height: 1.5;
  color: var(--color-neutral-darkest);
}

.pagination__btn:disabled {
  opacity: 0.4;
  cursor: default;
}

.pagination__btn svg {
  width: 24px;
  height: 24px;
}

.pagination__numbers {
  display: flex;
  gap: 2px;
}

.pagination__number {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: var(--text-regular);
  line-height: 1.5;
  color: var(--color-neutral-darkest);
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 8px;
}

.pagination__number.is-active {
  border: 1px solid var(--color-border);
}


/* ==========================================================================
   PARAGRAPH: CTA Section
   ========================================================================== */
.paragraph--cta-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  padding: var(--section-padding-large) var(--padding-global);
}

.cta-section {
  max-width: var(--container-max);
  width: 100%;
}

.cta-section__inner {
  display: flex;
  align-items: center;
  gap: 80px;
}

.cta-section__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.cta-section__text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cta-section__description {
  font-size: var(--text-medium);
  line-height: 1.5;
}

.cta-section__image {
  flex: 1;
  position: relative;
  aspect-ratio: 600 / 400;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.cta-section__image div:not(.visually-hidden) {
  display: contents;
}

.cta-section__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Reversed layout */
.cta-section__inner--image-left {
  flex-direction: row-reverse;
}


/* ==========================================================================
   PARAGRAPH: FAQ Section
   ========================================================================== */
.paragraph--faq-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  padding: var(--section-padding-large) var(--padding-global);
}

.faq-section {
  max-width: var(--container-max);
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.faq-section__header {
  max-width: var(--content-max);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.faq-section__description {
  font-size: var(--text-medium);
  line-height: 1.5;
}

/* Accordion */
.faq-accordion {
  border-bottom: var(--border-width) solid var(--color-border);
}

.faq-item {
  border-top: var(--border-width) solid var(--color-border);
}

.faq-item__question {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 0;
  cursor: pointer;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: var(--text-medium);
  line-height: 1.5;
  color: var(--color-neutral-darkest);
}

.faq-item__question-text {
  flex: 1;
}

.faq-item__icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.faq-item__icon svg {
  width: 16px;
  height: 9px;
}

.faq-item.is-closed .faq-item__icon {
  transform: rotate(180deg);
}

.faq-item__answer {
  padding-bottom: 24px;
  max-width: var(--content-max);
  font-size: var(--text-regular);
  line-height: 1.5;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.is-closed .faq-item__answer {
  max-height: 0 !important;
  padding-bottom: 0;
}

/* Contact sub-section */
.faq-contact {
  max-width: var(--content-narrow);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.faq-contact__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-contact__description {
  font-size: var(--text-medium);
  line-height: 1.5;
}


/* ==========================================================================
   PARAGRAPH: Contact Details Section
   ========================================================================== */
.paragraph--contact-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--section-padding-large) var(--padding-global);
}

.contact-details {
  max-width: var(--container-max);
  width: 100%;
}

.contact-details__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 32px;
}

/* Make Drupal's paragraph field wrappers transparent to grid layout */
.contact-details__grid > div:not(.contact-details__item),
.contact-details__grid > div > div:not(.contact-details__item) {
  display: contents;
}

.contact-details__item {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-details__icon {
  width: 48px;
  height: 48px;
  overflow: hidden;
  flex-shrink: 0;
}

.contact-details__icon div:not(.visually-hidden) {
  display: contents;
}

.paragraph--contact-details .contact-details__icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 0;
}

.contact-details__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-details__content h4 {
  margin: 0;
  padding: 0;
}

.contact-details__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-details__description {
  font-size: var(--text-regular);
  line-height: 1.5;
  margin: 0;
}

.paragraph--contact-details .contact-details__description p {
  margin: 0;
  font-size: var(--text-regular);
  line-height: 1.5;
}

.contact-details__link {
  font-size: var(--text-regular);
  line-height: 1.5;
  text-decoration: underline;
  color: var(--color-neutral-darkest);
}

.contact-details__link:hover {
  color: var(--color-deep-sea-green);
}

/* Contact Details inside article body — inline, no section padding */
.article-body__content .paragraph--contact-details {
  padding: 48px 0;
  align-items: stretch;
  width: 100%;
}

.article-body__content .contact-details {
  max-width: none;
}


.article-body__content .contact-details__content h4 {
  padding: 0;
}

.article-body__content .contact-details__icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 0;
}

@media (max-width: 768px) {
  .contact-details__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-details__item {
    gap: 20px;
  }

  .contact-details__content {
    gap: 20px;
  }

  .contact-details__text {
    gap: 12px;
  }
}


/* ==========================================================================
   PARAGRAPH: Page Header
   ========================================================================== */
.paragraph--page-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--section-padding-large) var(--padding-global);
  background-color: var(--color-white);
}

.page-header {
  max-width: var(--container-max);
  width: 100%;
}

.page-header__content {
  max-width: var(--content-max);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.page-header__description {
  font-size: var(--text-medium);
  line-height: 1.5;
}


/* ==========================================================================
   PARAGRAPH: Feature Section
   ========================================================================== */
.paragraph--feature-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--section-padding-large) var(--padding-global);
  overflow: hidden;
}

.feature-section {
  max-width: var(--container-max);
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.feature-section__inner {
  display: flex;
  align-items: center;
  gap: 80px;
}

.feature-section__inner--image-left {
  flex-direction: row-reverse;
}

.feature-section__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.feature-section__text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.feature-section__description {
  font-size: var(--text-medium);
  line-height: 1.5;
}

.feature-section__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-section__list li {
  position: relative;
  padding-left: 24px;
  font-size: var(--text-regular);
  line-height: 1.5;
}

.feature-section__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-deep-sea-green);
  font-weight: 600;
}

.feature-section__image {
  flex: 1;
  position: relative;
  aspect-ratio: 600 / 400;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.feature-section__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ==========================================================================
   LAYOUT: Header / Navbar
   ========================================================================== */
.sg-header {
  background-color: var(--color-bg-accent);
  border-bottom: var(--border-width) solid var(--color-border);
  overflow: hidden;
}

.sg-header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
  padding: 0 var(--padding-global);
  max-width: 100%;
}

.sg-header__logo {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: var(--text-regular);
  color: var(--color-neutral-darkest);
  text-decoration: none;
}

.sg-header__nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

.sg-header__nav a {
  font-size: var(--text-regular);
  line-height: 1.5;
  color: var(--color-neutral-darkest);
  text-decoration: none;
}

.sg-header__nav-dropdown {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.sg-header__nav-dropdown .dropdown-icon {
  width: 24px;
  height: 24px;
}

.sg-header__actions {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-left: auto;
}

.nav-toggle {
  display: none; /* shown only at 768px via media query */
}


/* ==========================================================================
   LAYOUT: Footer
   ========================================================================== */
.sg-footer {
  background-color: var(--color-bg-light);
  padding: var(--section-padding-medium) var(--padding-global);
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.sg-footer__container {
  max-width: var(--container-max);
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.sg-footer__top {
  display: flex;
  gap: 128px;
}

.sg-footer__links {
  flex: 1;
  display: flex;
  gap: 40px;
}

.sg-footer__logo {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: var(--text-regular);
  color: var(--color-neutral-darkest);
  flex-shrink: 0;
}

.sg-footer__column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sg-footer__column-title {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: var(--text-regular);
  line-height: 1.5;
}

.sg-footer__column-links {
  display: flex;
  flex-direction: column;
}

.sg-footer__column-links a {
  padding: 8px 0;
  font-size: var(--text-small);
  line-height: 1.5;
  color: var(--color-neutral-darkest);
  text-decoration: none;
}

.sg-footer__column-links a:hover {
  text-decoration: underline;
}

/* Newsletter */
.sg-footer__newsletter {
  width: 400px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.sg-footer__newsletter-title {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: var(--text-regular);
  line-height: 1.5;
}

.sg-footer__newsletter-text {
  font-size: var(--text-regular);
  line-height: 1.5;
}

/* Bottom bar */
.sg-footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.sg-footer__divider {
  margin: 0;
  height: 0;
  border: none;
  border-top: var(--border-width) solid var(--color-border);
}

.sg-footer__credits-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.sg-footer__credits {
  display: flex;
  gap: 24px;
  align-items: center;
  font-size: var(--text-small);
  line-height: 1.5;
}

.sg-footer__credits a {
  text-decoration: underline;
}

.sg-footer__social {
  display: flex;
  gap: 12px;
}

.sg-footer__social a {
  display: inline-flex;
  width: 24px;
  height: 24px;
}

.sg-footer__social svg {
  width: 100%;
  height: 100%;
}

/* Cookie preferences row (region rendered via CMS) */
.sg-footer__cookie-row {
  display: flex;
  justify-content: flex-start;
  font-size: var(--text-small);
  line-height: 1.5;
  margin-top: -64px;
}

.sg-footer__cookie-row ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 24px;
}

.sg-footer__cookie-row a {
  color: var(--color-neutral-darkest);
  text-decoration: underline;
  cursor: pointer;
}

.sg-footer__cookie-row a:hover {
  color: var(--color-deep-sea-green);
}


/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1023px) {
  :root {
    --padding-global: 40px;
    --section-padding-large: 80px;
    --section-padding-medium: 60px;
    --text-heading-1: 40px;
    --text-heading-2: 36px;
    --text-heading-3: 36px;
    --text-heading-4: 28px;
    --text-heading-5: 22px;
    --text-heading-6: 18px;
  }

  .hero-banner {
    flex-direction: column;
    min-height: auto;
  }

  .hero-banner__content {
    padding: 60px var(--padding-global);
    align-items: flex-start;
  }

  .hero-banner__image {
    aspect-ratio: 16 / 9;
  }

  .content-listing__featured,
  .display-style--elevated_cards .content-listing__featured {
    grid-template-columns: 1fr;
  }

  .display-style--flat_cards .featured-card__content {
    padding-left: 0;
    padding-top: 32px;
  }

  .display-style--elevated_cards .featured-card__content {
    padding: 32px;
  }

  .content-listing__row {
    flex-direction: column;
    gap: 48px;
  }

  .display-style--side_by_side .card--blog {
    grid-template-columns: 1fr;
  }

  .display-style--side_by_side .card--blog .card__image {
    grid-row: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .pagination__numbers {
    display: none;
  }

  .cta-section__inner,
  .cta-section__inner--image-left {
    flex-direction: column;
    gap: 48px;
  }

  .feature-section__inner,
  .feature-section__inner--image-left {
    flex-direction: column;
    gap: 48px;
  }

  .sg-footer__top {
    flex-direction: column;
    gap: 48px;
  }

  .sg-footer__newsletter {
    width: 100%;
  }

  .content-listing__filters {
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  :root {
    --padding-global: 20px;
    --section-padding-large: 60px;
    --section-padding-medium: 40px;
    --text-heading-1: 40px;
    --text-heading-2: 36px;
    --text-heading-3: 32px;
    --text-heading-4: 24px;
    --text-heading-5: 20px;
    --text-heading-6: 18px;
  }

  .sg-header__nav {
    display: none; /* hamburger menu needed */
  }

  .sg-header__nav.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-white);
    padding: 32px var(--padding-global);
    gap: 24px;
    z-index: 100;
    overflow-y: auto;
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
  }

  .nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-neutral-darkest);
    transition: transform 0.2s, opacity 0.2s;
  }

  .nav-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle.is-active span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .sg-footer__links {
    flex-direction: column;
    gap: 32px;
  }

  .sg-footer__credits-row {
    flex-direction: column;
    gap: 24px;
  }
}

/* ===================================================================
   ARTICLE PAGE
   =================================================================== */

/* --- Header Section --- */
.article-header {
  padding: var(--section-padding-large) var(--padding-global) 0;
}

.article-header__container {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.article-header__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-regular);
  line-height: 1.5;
}

.article-header__breadcrumb a {
  color: var(--color-neutral-darkest);
  text-decoration: none;
}

.article-header__breadcrumb a:hover {
  text-decoration: underline;
}

.article-header__breadcrumb svg {
  flex-shrink: 0;
  color: var(--color-neutral-darkest);
}

.article-header__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.article-header__author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.article-header__avatar {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
}

.article-header__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-header__author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.article-header__author-name {
  font-weight: 600;
  font-size: var(--text-small);
  line-height: 1.5;
  color: var(--color-neutral-darkest);
}

.article-header__date {
  font-size: var(--text-small);
  line-height: 1.5;
  color: var(--color-neutral-darkest);
}

.article-header__separator {
  margin: 0 4px;
}

/* Hero image */
.article-header__hero {
  max-width: var(--container-max);
  margin: 80px auto 0;
  padding: 0 var(--padding-global);
}

.article-header__hero img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  display: block;
}

.article-header__hero div:not(.visually-hidden) {
  display: contents;
}

/* --- Share Icons --- */
.article-share {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px;
  border-radius: 64px;
}

.article-share__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: none;
  color: var(--color-neutral-darkest);
  cursor: pointer;
  padding: 8px;
  transition: background-color 0.15s;
  text-decoration: none;
}

.article-share__btn:hover {
  background-color: var(--color-light-gray);
}

/* --- Article Body --- */
.article-body {
  padding: var(--section-padding-large) var(--padding-global);
}

.article-body__container {
  max-width: var(--content-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.article-body__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.article-body__content {
  display: flex;
  flex-direction: column;
}

/* Paragraphs inside article body */
.article-body__content .paragraph {
  margin: 0;
}

/* Headings: 24px vertical padding */
.article-body__content h2,
.article-body__content h3,
.article-body__content h4,
.article-body__content h5,
.article-body__content h6 {
  padding: 24px 0;
}

.article-body__content h2 {
  font-size: var(--text-heading-2);
  line-height: 1.2;
  letter-spacing: -0.48px;
}

.article-body__content h3 {
  font-size: var(--text-heading-3);
  line-height: 1.2;
  letter-spacing: -0.4px;
}

.article-body__content h4 {
  font-size: var(--text-heading-4);
  line-height: 1.3;
  letter-spacing: -0.32px;
}

.article-body__content h5 {
  font-size: var(--text-heading-5);
  line-height: 1.4;
  letter-spacing: -0.24px;
}

.article-body__content h6 {
  font-size: var(--text-heading-6);
  line-height: 1.4;
  letter-spacing: -0.2px;
}

/* Remove top padding from first heading */
.article-body__content > :first-child h2:first-child,
.article-body__content > :first-child h3:first-child,
.article-body__content > :first-child h4:first-child {
  padding-top: 0;
}

/* Body text: 16px bottom spacing */
.article-body__content p,
.article-body__content li {
  font-size: var(--text-medium);
  line-height: 1.5;
}

.article-body__content p {
  margin-bottom: 16px;
}

.article-body__content p:last-child {
  margin-bottom: 0;
}

/* Lists: 16px bottom spacing */
.article-body__content ul,
.article-body__content ol {
  padding-left: 24px;
  margin: 0 0 16px;
}

.article-body__content ul:last-child,
.article-body__content ol:last-child {
  margin-bottom: 0;
}

.article-body__content a {
  color: var(--color-deep-sea-green);
  text-decoration: underline;
}

/* Blockquote: 36px vertical padding */
.article-body__content blockquote {
  margin: 0;
  padding: 36px 0 36px 24px;
  border-left: 3px solid var(--color-deep-sea-green);
  font-size: var(--text-large);
  line-height: 1.5;
  font-style: italic;
}

/* Image blocks: 48px vertical padding */
.article-body__content .paragraph--type-image-block {
  padding: 48px 0;
}

.article-body__content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  display: block;
}

.article-body__content div:not(.visually-hidden):not(.article-body__topbar):not(.article-body__share):not(.article-share):not(.article-header__breadcrumb):not(.paragraph):not([class*="contact-details"]) {
  display: contents;
}

.article-body__share {
  display: flex;
  justify-content: center;
}

/* --- Related Articles Section --- */
.article-related {
  padding: var(--section-padding-large) var(--padding-global);
}

.article-related__container {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

/* --- Resource Files Section --- */
.resource-files {
  padding: 24px;
  background: var(--color-bg-light);
  border-radius: var(--border-radius);
}

.resource-files h3 {
  margin-bottom: 16px;
}

.resource-files a {
  color: var(--color-deep-sea-green);
  text-decoration: underline;
}

.resource-files .file {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
}


/* ==========================================================================
   KLARO COOKIE CONSENT — SignalGuide Theme Overrides
   Figma: page 4175:49580, component "Cookie / 3 /"
   ========================================================================== */

/* ---------- 1. CSS Custom Properties ---------- */
.klaro.klaro-theme-signalguide {
  --klaro-primary-color: #0b4f6c;
  --font-family: 'Inter', sans-serif;
  --title-font-family: 'Fraunces', serif;
  --font-size: 16px;
  --border-radius: 8px;
  --dark1: #ffffff;
  --dark2: rgba(7, 5, 12, 0.15);
  --light1: #07050c;
  --light2: rgba(7, 5, 12, 0.15);
  --white2: #e6edf0;
  --notice-max-width: 640px;
  --notice-right: 32px;
  --notice-bottom: 32px;
  /* Buttons — default = filled (Accept / Save) */
  --klaro-button-bg: #0b4f6c;
  --klaro-button-text-color: #ffffff;
  --klaro-button-border: 1px solid #0b4f6c;
  --klaro-button-border-radius: 0;
  --klaro-button-padding: 10px 24px;
  --klaro-button-font-size: 16px;
  --klaro-button-font-weight: 500;
  --klaro-button-line-height: 1.5;
  --klaro-button-box-shadow: none;
  --klaro-button-bg-hover: #094260;
  --klaro-button-text-color-hover: #ffffff;
  --klaro-button-border-hover: 1px solid #094260;
  --klaro-button-focus-outline: 2px solid #0b4f6c;
  --klaro-button-focus-outline-offset: 2px;
  /* Slider toggles */
  --klaro-slider-bg: #e6edf0;
  --klaro-slider-bg-active: #0b4f6c;
  --klaro-slider-bg-required: #0b4f6c;
  /* Links */
  --klaro-link-color: #07050c;
  --klaro-link-color-hover: #0b4f6c;
  --klaro-link-decoration-line: underline;
  --klaro-link-decoration-line-hover: underline;
}

/* ---------- 2. Notice Banner ---------- */
.klaro.klaro-theme-signalguide .cookie-notice:not(.cookie-modal-notice) {
  background: #ffffff;
  border: 1px solid #07050c;
  border-radius: 8px;
  box-shadow: none;
  color: #07050c;
}

@media (min-width: 1024px) {
  .klaro.klaro-theme-signalguide .cookie-notice:not(.cookie-modal-notice) {
    max-width: 640px;
    right: 32px;
    bottom: 32px;
  }
}

.klaro.klaro-theme-signalguide .cookie-notice:not(.cookie-modal-notice) .cn-body {
  padding: 32px;
  padding-left: 48px;
  padding-top: 32px;
}

.klaro.klaro-theme-signalguide .cookie-notice:not(.cookie-modal-notice) .cn-body p {
  font-size: 16px;
  line-height: 1.5;
  color: #07050c;
  margin-bottom: 0;
}

/* Privacy Policy link in notice text */
.klaro.klaro-theme-signalguide .cookie-notice:not(.cookie-modal-notice) .cn-body a {
  color: #07050c;
  text-decoration: underline;
}

/* Close button on notice */
.klaro.klaro-theme-signalguide .klaro-close {
  width: 32px;
  height: 32px;
  top: 8px;
  right: 8px;
  color: #07050c;
  display: flex;
  align-items: center;
  justify-content: center;
}

.klaro.klaro-theme-signalguide .klaro-close::after {
  font-size: 24px;
  line-height: 1;
}

/* Button container in notice */
.klaro.klaro-theme-signalguide .cookie-notice:not(.cookie-modal-notice) .cn-body .cn-ok {
  display: flex;
  flex-flow: row;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
  align-items: center;
}

.klaro.klaro-theme-signalguide .cookie-notice:not(.cookie-modal-notice) .cn-body .cn-ok a,
.klaro.klaro-theme-signalguide .cookie-notice:not(.cookie-modal-notice) .cn-body .cn-ok div {
  margin-top: 0;
}

/* Decline button — outlined */
.klaro.klaro-theme-signalguide .cookie-notice .cm-btn.cm-btn-decline {
  background-color: transparent;
  color: #07050c;
  border: 1px solid rgba(7, 5, 12, 0.15);
  border-radius: 0;
  padding: 10px 24px;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  margin-right: 0;
}

.klaro.klaro-theme-signalguide .cookie-notice .cm-btn.cm-btn-decline:hover {
  background-color: var(--color-bg-light);
  color: #07050c;
  border: 1px solid rgba(7, 5, 12, 0.15);
}

/* Accept button — filled */
.klaro.klaro-theme-signalguide .cookie-notice .cm-btn.cm-btn-success {
  background-color: #0b4f6c;
  color: #ffffff;
  border: 1px solid #0b4f6c;
  border-radius: 0;
  padding: 10px 24px;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  margin-right: 0;
}

.klaro.klaro-theme-signalguide .cookie-notice .cm-btn.cm-btn-success:hover {
  background-color: #094260;
  border-color: #094260;
}

/* Preferences (Learn more) link — text-only */
.klaro.klaro-theme-signalguide .cookie-notice:not(.cookie-modal-notice) a.cm-link.cn-learn-more {
  background: none;
  border: none;
  color: #07050c;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  padding: 10px 0;
  text-decoration: none;
}

.klaro.klaro-theme-signalguide .cookie-notice:not(.cookie-modal-notice) a.cm-link.cn-learn-more:hover {
  text-decoration: underline;
}

/* ---------- 3. Modal ---------- */

/* Overlay — lighter than default */
.klaro.klaro-theme-signalguide .cookie-modal .cm-bg {
  background: rgba(0, 0, 0, 0.25);
}

/* Modal dialog */
.klaro.klaro-theme-signalguide .cookie-modal .cm-modal.cm-klaro {
  background-color: #ffffff;
  color: #07050c;
  border-radius: 8px;
  box-shadow: none;
  padding: 0;
}

@media (min-width: 660px) {
  .klaro.klaro-theme-signalguide .cookie-modal .cm-modal.cm-klaro {
    max-width: 768px;
  }
}

/* Modal header */
.klaro.klaro-theme-signalguide .cookie-modal .cm-modal .cm-header {
  padding: 48px 48px 0;
  border-bottom: none;
}

.klaro.klaro-theme-signalguide .cookie-modal .cm-modal .cm-header h1,
.klaro.klaro-theme-signalguide .cookie-modal .cm-modal .cm-header h1.title {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 1.3;
  letter-spacing: -0.32px;
  text-align: center;
  color: #07050c;
  margin: 0;
  padding: 0;
  border: none;
}

/* Modal close button (X) */
.klaro.klaro-theme-signalguide .cookie-modal .cm-modal .hide {
  top: 16px;
  right: 16px;
}

.klaro.klaro-theme-signalguide .cookie-modal .cm-modal .hide svg {
  stroke: #07050c;
}

/* Modal body — services list */
.klaro.klaro-theme-signalguide .cookie-modal .cm-modal .cm-body {
  padding: 0 48px;
}

.klaro.klaro-theme-signalguide .cookie-modal .cm-modal .cm-body ul.cm-services,
.klaro.klaro-theme-signalguide .cookie-modal .cm-modal .cm-body ul.cm-purposes {
  border-top: 1px solid rgba(7, 5, 12, 0.15);
  border-bottom: 1px solid rgba(7, 5, 12, 0.15);
  padding: 32px 0;
  margin: 32px 0 0;
}

/* Service/purpose items */
.klaro.klaro-theme-signalguide .cookie-modal .cm-modal .cm-body ul.cm-services li.cm-service,
.klaro.klaro-theme-signalguide .cookie-modal .cm-modal .cm-body ul.cm-services li.cm-purpose,
.klaro.klaro-theme-signalguide .cookie-modal .cm-modal .cm-body ul.cm-purposes li.cm-service,
.klaro.klaro-theme-signalguide .cookie-modal .cm-modal .cm-body ul.cm-purposes li.cm-purpose {
  color: #07050c;
}

/* Service/purpose titles */
.klaro.klaro-theme-signalguide .cookie-modal .cm-modal .cm-body span.cm-list-title {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -0.2px;
  color: #07050c;
}

/* Required / opt-out labels */
.klaro.klaro-theme-signalguide .cookie-modal .cm-modal .cm-body span.cm-opt-out,
.klaro.klaro-theme-signalguide .cookie-modal .cm-modal .cm-body span.cm-required {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #07050c;
}

/* Service descriptions */
.klaro.klaro-theme-signalguide .cookie-modal .cm-modal .cm-body .cm-list-description {
  font-size: 16px;
  line-height: 1.5;
  color: #07050c;
}

/* Text colors in modal */
.klaro.klaro-theme-signalguide .cookie-modal p,
.klaro.klaro-theme-signalguide .cookie-modal strong,
.klaro.klaro-theme-signalguide .cookie-modal h1,
.klaro.klaro-theme-signalguide .cookie-modal h2,
.klaro.klaro-theme-signalguide .cookie-modal ul,
.klaro.klaro-theme-signalguide .cookie-modal li {
  color: #07050c;
}

/* Modal footer */
.klaro.klaro-theme-signalguide .cookie-modal .cm-modal .cm-footer {
  border-top: none;
  padding: 0 48px 48px;
}

.klaro.klaro-theme-signalguide .cookie-modal .cm-modal .cm-footer-buttons {
  display: flex;
  gap: 16px;
}

/* Footer Decline button — outlined */
.klaro.klaro-theme-signalguide .cookie-modal .cm-btn.cm-btn-decline {
  flex: 1;
  background-color: transparent;
  color: #07050c;
  border: 1px solid rgba(7, 5, 12, 0.15);
  border-radius: 0;
  padding: 10px 24px;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  margin-right: 0;
  text-align: center;
}

.klaro.klaro-theme-signalguide .cookie-modal .cm-btn.cm-btn-decline:hover {
  background-color: var(--color-bg-light);
}

/* Footer Save button — filled */
.klaro.klaro-theme-signalguide .cookie-modal .cm-btn.cm-btn-success {
  flex: 1;
  background-color: #0b4f6c;
  color: #ffffff;
  border: 1px solid #0b4f6c;
  border-radius: 0;
  padding: 10px 24px;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  margin-right: 0;
  text-align: center;
}

.klaro.klaro-theme-signalguide .cookie-modal .cm-btn.cm-btn-success:hover {
  background-color: #094260;
  border-color: #094260;
}

/* Hide "Powered by Klaro" */
.klaro.klaro-theme-signalguide .cookie-modal .cm-modal .cm-footer .cm-powered-by {
  display: none;
}

/* Hide individual services list under each purpose group */
.klaro.klaro-theme-signalguide .cookie-modal .cm-modal .cm-body li.cm-purpose > .cm-services {
  display: none;
}

/* ---------- 4. Toggle Button (Cookie preferences) ---------- */
.klaro_toggle_dialog {
  right: auto;
  left: 25px;
  bottom: 25px;
  width: auto;
  height: auto;
  border-radius: 4px;
  border: none;
  background: #ffffff;
  background-image: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #07050c;
}

.klaro_toggle_dialog::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 24px;
  background-image: url('../icons/cookie.svg');
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

.klaro_toggle_dialog::after {
  content: 'Cookie preferences';
}

.klaro_toggle_dialog:focus {
  transform: none;
  outline: 2px solid #0b4f6c;
  outline-offset: 2px;
}

/* ---------- 5. Mobile Responsive ---------- */
@media (max-width: 768px) {
  .klaro.klaro-theme-signalguide {
    --font-size: 14px;
  }

  .klaro.klaro-theme-signalguide .cookie-notice:not(.cookie-modal-notice) {
    border-radius: 8px;
    border: 1px solid #07050c;
    margin: 0 20px 20px;
    width: calc(100% - 40px);
  }

  .klaro.klaro-theme-signalguide .cookie-notice:not(.cookie-modal-notice) .cn-body {
    padding: 32px 48px 32px 24px;
  }

  .klaro.klaro-theme-signalguide .cookie-notice:not(.cookie-modal-notice) .cn-body p {
    font-size: 14px;
  }

  .klaro.klaro-theme-signalguide .cookie-notice:not(.cookie-modal-notice) .cn-body .cn-ok {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .klaro.klaro-theme-signalguide .cookie-notice .cm-btn.cm-btn-decline,
  .klaro.klaro-theme-signalguide .cookie-notice .cm-btn.cm-btn-success {
    font-size: 14px;
  }

  .klaro.klaro-theme-signalguide .cookie-notice:not(.cookie-modal-notice) a.cm-link.cn-learn-more {
    font-size: 14px;
    font-weight: 500;
  }

  /* Modal mobile adjustments */
  .klaro.klaro-theme-signalguide .cookie-modal .cm-modal .cm-header {
    padding: 32px 32px 0;
  }

  .klaro.klaro-theme-signalguide .cookie-modal .cm-modal .cm-header h1,
  .klaro.klaro-theme-signalguide .cookie-modal .cm-modal .cm-header h1.title {
    font-size: 24px;
  }

  .klaro.klaro-theme-signalguide .cookie-modal .cm-modal .cm-body {
    padding: 0 32px;
  }

  .klaro.klaro-theme-signalguide .cookie-modal .cm-modal .cm-footer {
    padding: 0 32px 32px;
  }

  /* Toggle button mobile */
  .klaro_toggle_dialog {
    font-size: 14px;
    padding: 10px 12px;
  }
}
