/* =========================================
   ROOT
========================================= */

:root {

  --primary: #164E8C;
  --primary-dark: #0D355F;

  --accent: hsl(209 85% 50%);
  --accent-dark: hsl(209 80% 28%);

  --background: #F1F5F9;
  --surface: #ffffff;
  --surface-soft: #F8FAFC;

  --text: #172B3A;
  --text-muted: #64748B;
  --text-light: #F8FAFC;

  --border: #D5DEE8;

  --shadow-sm:
    0 4px 15px rgb(15 23 42 / 0.06);

  --shadow-md:
    0 15px 45px rgb(15 23 42 / 0.09);

  --shadow-lg:
    0 25px 70px rgb(15 23 42 / 0.13);

  --radius-sm: 0.7rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;

  --container: 1180px;

  color-scheme: light;

}


/* =========================================
   DARK THEME
========================================= */

html[data-theme="dark"] {

  --background: #091522;

  --surface: #101F2F;

  --surface-soft: #132538;

  --text: #F1F5F9;

  --text-muted: #9FB0C1;

  --border: #263C50;

  --shadow-sm:
    0 4px 15px rgb(0 0 0 / 0.2);

  --shadow-md:
    0 15px 45px rgb(0 0 0 / 0.3);

  color-scheme: dark;

}


/* =========================================
   RESET
========================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}


html {
  scroll-behavior: smooth;
}


body {

  margin: 0;

  font-family:
    "Poppins",
    system-ui,
    sans-serif;

  color: var(--text);

  background: var(--background);

  line-height: 1.7;

  transition:
    background 0.3s ease,
    color 0.3s ease;

}


img {
  display: block;
  max-width: 100%;
}


button,
input {
  font: inherit;
}


a {
  color: inherit;
  text-decoration: none;
}


/* =========================================
   HEADER
========================================= */

.resource-header {

  position: sticky;

  top: 0;

  z-index: 1000;

  min-height: 76px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 1.5rem;

  padding:
    0.8rem
    max(1rem, calc((100vw - var(--container)) / 2));

  background:
    color-mix(
      in srgb,
      var(--surface) 88%,
      transparent
    );

  border-bottom: 1px solid var(--border);

  backdrop-filter: blur(18px);

}


.brand {

  display: inline-flex;

  align-items: center;

  gap: 0.7rem;

  min-width: max-content;

}


.brand-mark {

  width: 42px;

  aspect-ratio: 1;

  display: grid;

  place-items: center;

  border-radius: 12px;

  color: white;

  background:
    linear-gradient(
      135deg,
      var(--primary),
      var(--accent)
    );

  font-weight: 700;

  box-shadow:
    0 8px 20px rgb(22 78 140 / 0.2);

}


.brand-text {

  display: grid;

  font-size: 0.95rem;

  font-weight: 700;

  line-height: 1.1;

  letter-spacing: 0.04em;

}


.brand-text small {

  margin-top: 3px;

  color: var(--text-muted);

  font-size: 0.62rem;

  font-weight: 500;

  letter-spacing: 0;

}


.header-actions {

  display: flex;

  align-items: center;

  gap: 0.75rem;

}


.back-link {

  display: inline-flex;

  align-items: center;

  gap: 0.45rem;

  color: var(--text-muted);

  font-size: 0.85rem;

  font-weight: 500;

  transition: color 0.2s ease;

}
.back-link i{
  transition: all 0.2s cubic-bezier(0.77, -0.79, 0, 2.47);
}
.back-link:hover i{
  translate: -2px;
}

.back-link:hover {
  color: var(--primary);
}


.theme-toggle {

  width: 42px;

  height: 42px;

  display: grid;

  place-items: center;

  border: 1px solid var(--border);

  border-radius: 50%;

  color: var(--text);

  background: var(--surface);

  cursor: pointer;

  transition:
    transform 0.25s ease,
    background 0.25s ease;

}


.theme-toggle:hover {
  transform: rotate(12deg);
}


.header-cta {

  display: inline-flex;

  align-items: center;

  gap: 0.55rem;

  padding:
    0.7rem
    1rem;

  border-radius: 999px;

  color: white;

  background: var(--primary);

  font-size: 0.8rem;

  font-weight: 600;

  transition:
    transform 0.25s ease,
    background 0.25s ease;

}
.header-cta i{
  transition: all 205ms cubic-bezier(0.77, -0.79, 0, 2.47);
}
.header-cta:hover i{
  transform: translateX(3px);
}

.header-cta:hover {

  background: var(--primary-dark);

  transform: translateY(-2px);

}


/* =========================================
   HERO
========================================= */

.faq-hero {

  width: min(
    var(--container),
    calc(100% - 2rem)
  );

  min-height: 560px;

  margin-inline: auto;

  display: grid;

  grid-template-columns:
    minmax(0, 1.1fr)
    minmax(280px, 0.9fr);

  align-items: center;

  gap: clamp(2rem, 7vw, 7rem);

}


.hero-content {
  max-width: 680px;
}


.eyebrow,
.section-label {

  display: inline-flex;

  align-items: center;

  gap: 0.45rem;

  color: var(--accent);

  font-size: 0.72rem;

  font-weight: 700;

  letter-spacing: 0.14em;

}


.hero-content h1 {

  max-width: 680px;

  margin:
    0.8rem
    0
    1rem;

  font-size:
    clamp(2.5rem, 6vw, 5rem);

  line-height: 1.04;

  letter-spacing: -0.055em;

}


.hero-content h1 span {

  display: block;

  color: var(--primary);

}


html[data-theme="dark"]
.hero-content h1 span {
  color: #52A9FF;
}


.hero-content > p {

  max-width: 600px;

  margin: 0;

  color: var(--text-muted);

  font-size:
    clamp(0.95rem, 1.5vw, 1.08rem);

}


.hero-actions {

  display: flex;

  flex-wrap: wrap;

  align-items: center;

  gap: 1rem;

  margin-top: 2rem;

}


.primary-btn {

  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 0.65rem;

  padding:
    0.85rem
    1.2rem;

  border: 0;

  border-radius: 999px;

  color: white;

  background:
    linear-gradient(
      135deg,
      var(--primary),
      var(--accent)
    );

  font-size: 0.85rem;

  font-weight: 600;

  box-shadow:
    0 10px 25px rgb(22 78 140 / 0.2);

  transition:
    transform 0.25s cubic-bezier(0.77, -0.79, 0, 2.47),
    box-shadow 0.25s cubic-bezier(0.77, -0.79, 0, 2.47);

}
.primary-btn i{
  transition: 0.27s cubic-bezier(0.77, -0.79, 0, 2.47);
}
.primary-btn:hover i{
  translate: 2px;
}
.primary-btn:hover {

  transform: translateY(-3px);

  box-shadow:
    0 15px 30px rgb(22 78 140 / 0.28);

}


.text-btn {

  display: inline-flex;

  align-items: center;

  gap: 0.5rem;

  color: var(--text);

  font-size: 0.85rem;

  font-weight: 600;

}


.text-btn i {
  transition: transform 0.25s cubic-bezier(0.77, -0.79, 0, 2.47);
}


.text-btn:hover i {
  transform: translateX(4px);
}


/* =========================================
   HERO VISUAL
========================================= */

.hero-visual {

  position: relative;

  min-height: 360px;

  display: grid;

  place-items: center;

}


.faq-card-preview {

  width: min(100%, 360px);

  padding: 1.5rem;

  border: 1px solid var(--border);

  border-radius: var(--radius-lg);

  background: var(--surface);

  box-shadow: var(--shadow-lg);

  transform:
    rotate(3deg);

}


.preview-top {

  display: flex;

  align-items: center;

  gap: 0.7rem;

  padding-bottom: 1.2rem;

  border-bottom: 1px solid var(--border);

  font-size: 0.75rem;

  font-weight: 600;

}


.preview-top > i {
  margin-left: auto;
  color: var(--text-muted);
}


.preview-icon {

  width: 38px;

  aspect-ratio: 1;

  display: grid;

  place-items: center;

  border-radius: 10px;

  color: var(--primary);

  background:
    color-mix(
      in srgb,
      var(--accent) 12%,
      transparent
    );

}


.preview-line {

  height: 10px;

  width: 75%;

  margin-top: 1.4rem;

  border-radius: 999px;

  background: var(--border);

}


.preview-line.large {
  width: 92%;
}


.preview-line.short {
  width: 52%;
  margin-top: 0.65rem;
}


.preview-answer {

  display: flex;

  align-items: center;

  gap: 0.6rem;

  margin-top: 1.6rem;

  padding: 0.8rem;

  border-radius: 10px;

  color: var(--primary);

  background:
    color-mix(
      in srgb,
      var(--accent) 8%,
      transparent
    );

  font-size: 0.72rem;

  font-weight: 600;

}


.question-orb {

  position: absolute;

  width: 58px;

  aspect-ratio: 1;

  display: grid;

  place-items: center;

  border-radius: 50%;

  color: white;

  background:
    linear-gradient(
      135deg,
      var(--primary),
      var(--accent)
    );

  font-size: 1.4rem;

  font-weight: 700;

  box-shadow: var(--shadow-md);

}


.orb-one {

  top: 12%;

  right: 5%;

}


.orb-two {

  bottom: 12%;

  left: 4%;

  background:
    linear-gradient(
      135deg,
      var(--accent-dark),
      var(--primary)
    );

}


/* =========================================
   QUICK INFO
========================================= */

.quick-info {

  width: min(
    var(--container),
    calc(100% - 2rem)
  );

  margin:
    0 auto
    5rem;

  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  border:
    1px solid var(--border);

  border-radius: var(--radius-lg);

  background: var(--surface);

  box-shadow: var(--shadow-sm);

  overflow: hidden;

}


.info-item {

  display: flex;

  align-items: center;

  gap: 0.8rem;

  padding: 1.3rem;

}


.info-item + .info-item {
  border-left: 1px solid var(--border);
}


.info-item > i {

  width: 42px;

  aspect-ratio: 1;

  flex-shrink: 0;

  display: grid;

  place-items: center;

  border-radius: 12px;

  color: var(--primary);

  background:
    color-mix(
      in srgb,
      var(--accent) 10%,
      transparent
    );

}


.info-item div {

  display: grid;

  line-height: 1.35;

}


.info-item strong {
  font-size: 0.78rem;
}


.info-item span {

  color: var(--text-muted);

  font-size: 0.68rem;

}


/* =========================================
   FAQ SECTION
========================================= */

.faq-library {

  width: min(
    var(--container),
    calc(100% - 2rem)
  );

  margin-inline: auto;

  padding-bottom: 6rem;

}


.section-heading {

  display: flex;

  justify-content: space-between;

  align-items: end;

  gap: 2rem;

  margin-bottom: 2rem;

}


.section-heading h2 {

  margin:
    0.45rem
    0
    0;

  font-size:
    clamp(1.8rem, 4vw, 3rem);

  line-height: 1.15;

  letter-spacing: -0.04em;

}


.section-heading > p {

  max-width: 380px;

  margin: 0;

  color: var(--text-muted);

  font-size: 0.85rem;

}


/* =========================================
   SEARCH + FILTER
========================================= */

.faq-tools {

  display: grid;

  gap: 1rem;

  margin-bottom: 2rem;

}


.search-box {

  position: relative;

  display: flex;

  align-items: center;

}


.search-box > i {

  position: absolute;

  left: 1rem;

  color: var(--text-muted);

}


.search-box input {

  width: 100%;

  min-height: 54px;

  padding:
    0
    4rem
    0
    2.8rem;

  border:
    1px solid var(--border);

  border-radius: 14px;

  outline: none;

  color: var(--text);

  background: var(--surface);

  transition:
    border-color 0.2s cubic-bezier(0.77, -0.79, 0, 2.47),
    box-shadow 0.2s cubic-bezier(0.77, -0.79, 0, 2.47);

}


.search-box input:focus {

  border-color: var(--accent);

  box-shadow:
    0 0 0 4px
    color-mix(
      in srgb,
      var(--accent) 12%,
      transparent
    );

}


.search-box kbd {

  position: absolute;

  right: 1rem;

  padding:
    0.15rem
    0.4rem;

  border:
    1px solid var(--border);

  border-radius: 5px;

  color: var(--text-muted);

  background: var(--surface-soft);

  font-size: 0.62rem;

}


.category-filter {

  display: flex;

  flex-wrap: wrap;

  gap: 0.5rem;

}


.filter-btn {

  padding:
    0.55rem
    0.9rem;

  border:
    1px solid var(--border);

  border-radius: 999px;

  color: var(--text-muted);

  background: var(--surface);

  cursor: pointer;

  font-size: 0.72rem;

  font-weight: 600;

  transition:
    color 0.2s cubic-bezier(0.77, -0.79, 0, 2.47),
    background 0.2s cubic-bezier(0.77, -0.79, 0, 2.47),
    border-color 0.2s cubic-bezier(0.77, -0.79, 0, 2.47),
    transform 0.2s cubic-bezier(0.77, -0.79, 0, 2.47);

}


.filter-btn:hover {

  color: var(--primary);

  transform: translateY(-1px);

}


.filter-btn.active {

  color: white;

  border-color: var(--primary);

  background: var(--primary);

}


/* =========================================
   FAQ LAYOUT
========================================= */

.faq-layout {

  display: grid;

  grid-template-columns:
    260px
    minmax(0, 1fr);

  align-items: start;

  gap: 2rem;

}


.faq-sidebar {

  position: sticky;

  top: 100px;

}


.sidebar-card {

  padding: 1.4rem;

  border:
    1px solid var(--border);

  border-radius: var(--radius-lg);

  background: var(--surface);

  box-shadow: var(--shadow-sm);

}


.sidebar-icon {

  width: 42px;

  aspect-ratio: 1;

  display: grid;

  place-items: center;

  border-radius: 12px;

  color: var(--accent);

  background:
    color-mix(
      in srgb,
      var(--accent) 10%,
      transparent
    );

}


.sidebar-card h3 {

  margin:
    1rem
    0
    0.5rem;

  font-size: 0.95rem;

  line-height: 1.4;

}


.sidebar-card p {

  margin: 0;

  color: var(--text-muted);

  font-size: 0.73rem;

  line-height: 1.7;

}


.sidebar-card a {

  display: inline-flex;

  align-items: center;

  gap: 0.45rem;

  margin-top: 1rem;

  color: var(--primary);

  font-size: 0.73rem;

  font-weight: 700;

}


.faq-list {

  display: grid;

  gap: 0.8rem;

}


/* =========================================
   FAQ CARD
========================================= */

.faq-item {

  border:
    1px solid var(--border);

  border-radius: var(--radius-md);

  background: var(--surface);

  overflow: clip;

  transition:
    border-color 0.25s cubic-bezier(0.77, -0.79, 0, 2.47),
    box-shadow 0.25s cubic-bezier(0.77, -0.79, 0, 2.47),
    transform 0.25s cubic-bezier(0.77, -0.79, 0, 2.47);

}


.faq-item:hover {

  border-color:
    color-mix(
      in srgb,
      var(--accent) 40%,
      var(--border)
    );

}


.faq-item:has(details[open]) {

  border-color:
    color-mix(
      in srgb,
      var(--accent) 50%,
      var(--border)
    );

  box-shadow:
    var(--shadow-sm);

}


.faq-item details {

  interpolate-size: allow-keywords;

}


.faq-item summary {

  min-height: 76px;

  display: grid;

  grid-template-columns:
    45px
    1fr
    36px;

  align-items: center;

  gap: 0.75rem;

  padding:
    0.9rem
    1.2rem;

  cursor: pointer;

  list-style: none;

  user-select: none;

}


.faq-item summary::-webkit-details-marker {
  display: none;
}


.question-number {

  color: var(--accent);

  font-size: 0.7rem;

  font-weight: 700;

}


.question {

  font-size: 0.86rem;

  font-weight: 600;

}


.summary-icon {

  width: 32px;

  aspect-ratio: 1;

  display: grid;

  place-items: center;

  border:
    1px solid var(--border);

  border-radius: 50%;

  color: var(--text-muted);

  transition:
    transform 0.3s cubic-bezier(0.77, -0.79, 0, 2.47),
    background 0.25s ease,
    color 0.25s ease;

}


.faq-item details[open]
.summary-icon {

  transform: rotate(45deg);

  color: white;

  border-color: var(--accent);

  background: var(--accent);

}


/* =========================================
   MODERN DETAILS CONTENT
========================================= */

.faq-item details::details-content {

  block-size: 0;

  overflow: clip;

  opacity: 0;

  transition:
    block-size 0.35s cubic-bezier(0.77, -0.79, 0, 2.47),
    content-visibility 0.35s cubic-bezier(0.77, -0.79, 0, 2.47) allow-discrete,
    opacity 0.25s cubic-bezier(0.77, -0.79, 0, 2.47);

}


.faq-item details[open]::details-content {

  block-size: auto;

  opacity: 1;

}


/*
  Fallback for browsers that don't yet
  support ::details-content.
*/

.faq-answer {

  max-width: 760px;

  padding:
    0
    1.2rem
    1.5rem
    calc(45px + 1.95rem);

  color: var(--text-muted);

  font-size: 0.78rem;

}


.faq-answer p {

  margin:
    0
    0
    0.9rem;

}


.faq-answer p:last-child {
  margin-bottom: 0;
}


.faq-answer ul {

  display: grid;

  gap: 0.5rem;

  margin:
    0.8rem
    0
    1rem;

  padding-left: 1.1rem;

}


.faq-answer li::marker {
  color: var(--accent);
}


.answer-note {

  display: flex;

  gap: 0.7rem;

  align-items: flex-start;

  margin-top: 1rem;

  padding: 0.9rem;

  border-radius: 10px;

  color: var(--primary);

  background:
    color-mix(
      in srgb,
      var(--accent) 8%,
      transparent
    );

  font-size: 0.7rem;

}


.answer-note i {
  margin-top: 0.2rem;
}


/* =========================================
   NO RESULTS
========================================= */

.no-results {

  padding: 4rem 1rem;

  text-align: center;

}


.no-results > span {

  width: 55px;

  aspect-ratio: 1;

  margin-inline: auto;

  display: grid;

  place-items: center;

  border-radius: 50%;

  color: var(--accent);

  background:
    color-mix(
      in srgb,
      var(--accent) 10%,
      transparent
    );

}


.no-results h3 {

  margin:
    1rem
    0
    0.3rem;

}


.no-results p {

  margin: 0;

  color: var(--text-muted);

  font-size: 0.8rem;

}


/* =========================================
   CTA
========================================= */

.faq-cta {

  position: relative;

  width: min(
    var(--container),
    calc(100% - 2rem)
  );

  margin:
    0 auto
    5rem;

  padding:
    clamp(2rem, 6vw, 4rem);

  overflow: clip;

  border-radius: var(--radius-xl);

  color: white;

  background:
    linear-gradient(
      120deg,
      var(--primary-dark),
      var(--primary),
      #1976D2
    );

  box-shadow: var(--shadow-lg);

}


.cta-content {

  position: relative;

  z-index: 2;

  max-width: 650px;

}


.cta-content .section-label {
  color: #8CCBFF;
}


.cta-content h2 {

  margin:
    0.5rem
    0
    0.8rem;

  font-size:
    clamp(1.8rem, 4vw, 3.2rem);

  line-height: 1.1;

  letter-spacing: -0.04em;

}


.cta-content h2 span {
  color: #8CCBFF;
}


.cta-content p {

  max-width: 550px;

  margin:
    0
    1.5rem;

  margin-left: 0;

  color: rgb(255 255 255 / 0.75);

  font-size: 0.85rem;

}


.cta-decoration {

  position: absolute;

  right: 7%;

  top: 50%;

  transform:
    translateY(-50%)
    rotate(-15deg);

  font-size: 10rem;

  color: rgb(255 255 255 / 0.07);

}


/* =========================================
   FOOTER
========================================= */

    .footer {
      background: var(--primary-dark);
      color: var(--text-light);
      padding: 2rem 3rem .75rem;
    }

    .footer-main {
      max-width: 75rem;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1.6fr repeat(3, 1fr) 1.5fr;
      gap: 2rem;
    }

    .footer-brand {
      display: flex;
      flex-direction: column;
    }

    .footer-logo img {
      width: 7rem;
      height: auto;
      object-fit: contain;
    }

    .footer-brand p {
      margin: .6rem 0;
      color: rgba(255,255,255,.75);
      font-size: .7rem;
      line-height: 1.5;
    }

    .social-links {
      display: flex;
      gap: .7rem;
    }

    .social-links a {
      width: 1.6rem;
      height: 1.6rem;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--text-light);
      text-decoration: none;
      border-radius: 50%;
      padding: 0.3125rem;
    }

    .social-links a:hover {
      background-color: var(--primary);
    }

    .footer-column {
      display: flex;
      flex-direction: column;
    }

    .footer-column h4 {
      margin: 0 0 .6rem;
      font-size: .75rem;
    }

    .footer-column a,
    .footer-column span {
      color: rgba(255,255,255,.78);
      text-decoration: none;
      font-size: .65rem;
      line-height: 1.8;
    }

    .footer-column a:hover {
      color: white;
    }

    .contact a,
    .contact span {
      display: flex;
      align-items: center;
      gap: .45rem;
    }

    .contact i {
      width: .8rem;
      color: var(--text-light);
    }

    .footer-bottom {
      max-width: 75rem;
      margin: 1.2rem auto 0;
      padding-top: .7rem;
      border-top: 1px solid rgba(255,255,255,.2);
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: .6rem;
    }

    .footer-bottom p {
      color: rgba(255,255,255,.7);
    }

    .footer-bottom div {
      display: flex;
      gap: .5rem;
    }

    .footer-bottom a {
      color: rgba(255,255,255,.75);
      text-decoration: none;
    }


/* =========================================
   SCROLL REVEAL
========================================= */

.reveal {

  opacity: 0;

  transform:
    translateY(25px);

  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(.2,.8,.2,1);

}


.reveal.visible {

  opacity: 1;

  transform:
    translateY(0);

}


/* =========================================
   FILTERED ITEMS
========================================= */

.faq-item.is-hidden {

  display: none;

}


/* =========================================
   ACCESSIBILITY
========================================= */

:focus-visible {

  outline:
    3px solid
    color-mix(
      in srgb,
      var(--accent) 45%,
      transparent
    );

  outline-offset: 3px;

}


/* =========================================
   RESPONSIVE
========================================= */

/*
   No media-query dependence for the core layout.
   clamp(), min(), max(), minmax() and auto-fit
   do most of the work.
*/

@supports (width: min(100%, 900px)) {

  .faq-hero {

    grid-template-columns:
      repeat(
        auto-fit,
        minmax(
          min(100%, 420px),
          1fr
        )
      );

  }

}


@media (max-width: 800px) {

  .resource-header {
    padding-inline: 1rem;
  }


  .back-link span {
    display: none;
  }


  .header-cta {
    padding-inline: 0.8rem;
  }


  .faq-hero {

    min-height: auto;

    padding:
      4rem
      0;

  }


  .hero-visual {
    min-height: 300px;
  }


  .quick-info {

    grid-template-columns:
      repeat(2, 1fr);

  }


  .info-item:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--border);
  }


  .info-item:nth-child(4) {
    border-top: 1px solid var(--border);
  }


  .section-heading {

    align-items: start;

    flex-direction: column;

  }


  .faq-layout {

    grid-template-columns: 1fr;

  }


  .faq-sidebar {

    position: static;

    order: 2;

  }


  .faq-list {
    order: 1;
  }


  .faq-answer {

    padding-left: 1.2rem;

  }


  .cta-decoration {
    display: none;
  }

  .footer {
    width: 100%;
    height: auto;
    min-height: 0;
    overflow: hidden;
    padding-block: 45px 25px;
  }
  .footer-main{
    display: flex;
    flex-direction: column;
    align-items: start;
  }

  .footer-inner {
    width: 100%;
    height: auto;
    min-height: 0;

    display: flex;
    flex-direction: column;
    align-items: stretch;

    gap: 35px;
  }

  .footer-column {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .footer-column h3,
  .footer-column h4 {
    margin-bottom: 14px;
  }

  .footer-column p {
    max-width: 100%;
    margin-bottom: 12px;

    font-size: 0.9rem;
    line-height: 1.7;

    overflow-wrap: anywhere;
  }

  .footer-column ul {
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .footer-column li {
    width: 100%;
    margin-bottom: 9px;

    line-height: 1.6;
    overflow-wrap: anywhere;
  }

  .footer-column a {
    display: inline-block;
    max-width: 100%;

    line-height: 1.6;
    overflow-wrap: anywhere;
  }

  /* Footer logo */
  .footer-logo {
    max-width: 180px;
    height: auto;
  }

  /* Social icons */
  .footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }

  /* Bottom copyright area */
  .footer-bottom {
    width: 100%;
    height: auto;
    min-height: 0;

    margin-top: 10px;
    padding-top: 20px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;

    text-align: left;
  }

  .footer-bottom p {
    width: 100%;
    margin: 0;

    font-size: 0.8rem;
    line-height: 1.6;

    overflow-wrap: anywhere;
  }

}


@media (max-width: 500px) {

  .resource-header {

    min-height: 68px;

  }


  .brand-text {
    display: none;
  }


  .header-cta {

    font-size: 0;

  }


  .header-cta i {
    font-size: 0.85rem;
  }


  .faq-hero {
    padding-top: 3rem;
  }


  .hero-content h1 {
    font-size: 2.6rem;
  }


  .hero-actions {

    align-items: stretch;

    flex-direction: column;

  }


  .primary-btn,
  .text-btn {

    width: 100%;

  }


  .quick-info {

    grid-template-columns: 1fr;

  }


  .info-item,
  .info-item:nth-child(3),
  .info-item:nth-child(4) {

    border: 0;

  }


  .info-item + .info-item {

    border-top: 1px solid var(--border);

  }


  .faq-item summary {

    grid-template-columns:
      30px
      1fr
      32px;

    padding-inline: 0.9rem;

  }


  .question {
    font-size: 0.78rem;
  }


  .question-number {
    font-size: 0.62rem;
  }


  .faq-answer {
    padding-inline: 0.9rem;
  }


  .category-filter {

    overflow-x: auto;

    flex-wrap: nowrap;

    padding-bottom: 0.3rem;

    scrollbar-width: none;

  }


  .filter-btn {

    flex-shrink: 0;

  }


  .resource-footer {

    align-items: flex-start;

    flex-direction: column;

  }

  .footer {
    padding-block: 35px 20px;
  }

  .footer-main{
    display: flex;
    flex-direction: column;
  }

  .footer-inner {
    gap: 28px;
  }

  .footer-column p,
  .footer-column li,
  .footer-column a {
    font-size: 0.85rem;
    line-height: 1.65;
  }

  .footer-bottom{
    display: flex;
    flex-direction: column;
  }
  .footer-bottom p {
    font-size: 0.75rem;
  }
}


/* =========================================
   REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {

    scroll-behavior: auto !important;

    animation-duration: 0.01ms !important;

    animation-iteration-count: 1 !important;

    transition-duration: 0.01ms !important;

  }

}