@charset "UTF-8";

:root {
  --fp-navy: #11162d;
  --fp-coral: #ff5f56;
  --fp-light-blue: #A0C1E5;
  --fp-light-gray: #F5F7FB;
  --fp-medium-gray: #6B7280;
  --fp-dark-gray: #1F2937;
  --fp-white: #FFFFFF;
  /* Derived values */
  --fp-radius: 10px;
  --fp-shadow: 0 12px 30px rgba(0,0,0,0.12);
  --fp-shadow-soft: 0 2px 10px rgba(0,0,0,0.06);
  --fp-shadow-lift: 3px 3px 8px rgba(0,0,0,0.2);
  --fp-transition: 0.2s ease;
  --fp-font: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--fp-font);
  background: var(--fp-light-gray);
  color: var(--fp-dark-gray);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--fp-navy);
  text-decoration: none;
}

a:hover, a:focus { text-decoration: none; }

h1, h2, h3, h4 { margin: 0 0 12px; font-family: var(--fp-font); }

h1 {
  font-size: 48px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.1em;
  text-decoration: none;
  text-transform: none;
}

h2 {
  font-size: 38px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.1em;
  text-decoration: none;
  text-transform: none;
}

h3 {
  font-size: 34px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.1em;
  text-decoration: none;
  text-transform: none;
}

p {
  font-family: var(--fp-font);
  font-style: normal;
  letter-spacing: 0;
  line-height: 1.4em;
  text-decoration: none;
  text-transform: none;
}

.fp-container {
  width: 100%;
  margin: 0 auto;
  padding: 0 30px;
}

.fp-main-container {
  width: 100%;
  margin: 0 auto;
  padding: 90px;
}

/* Skip link */
.skip-navigation {
  position: absolute;
  left: -999px;
  top: auto;
  padding: 12px 16px;
  background: var(--fp-navy);
  color: var(--fp-white);
  border-radius: var(--fp-radius);
  z-index: -1;
}
.skip-navigation:focus { left: 12px; top: 12px; z-index: 999; }

/* Links used as subtle actions */
.fp-link {
  color: var(--fp-light-blue);
  font-weight: 600;
}
.fp-link:hover { color: var(--fp-white); text-decoration: none; }

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--fp-radius);
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--fp-transition), color var(--fp-transition);
}

.fp-button-primary {
  background: var(--fp-coral);
  color: var(--fp-navy);
  box-shadow: var(--fp-shadow-soft);
}
.fp-button-primary:hover, .fp-button-primary:focus {
  background: var(--fp-navy);
  color: var(--fp-white);
}

/* Header */
.fp-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  padding: 0 24px;
  background: transparent;
}

.fp-header-wrap {
  width: 100%;
}

.fp-header-hat {
  display: flex;
  justify-content: flex-end;
  padding: 8px 0 6px;
}

.fp-hat-link {
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}
.fp-hat-link:hover { color: var(--fp-white); }

.fp-header-row {
  display: flex;
  align-items: stretch;
  gap: 12px;
}

.fp-header-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 24px;
  background: var(--fp-navy);
  border-radius: var(--fp-radius);
  box-shadow: 0 0 4px 4px hsla(0,0%,100%,.02);
  flex: 1;
}

.fp-header-nav {
  display: flex;
  align-items: center;
}

.fp-header-nav .fp-link {
  font-weight: 500;
}

.fp-brand { display: inline-flex; align-items: center; gap: 10px; }

.fp-logo-img {
  height: 33px;
  width: auto;
  display: block;
}

.fp-link-light { color: rgba(255,255,255,0.9); }
.fp-link-light:hover { color: var(--fp-white); text-decoration: none; }

.fp-header-cta {
  white-space: nowrap;
  padding: 16px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--fp-radius);
  align-self: stretch;
  display: flex;
  align-items: center;
}

/* Landing / hero */

.fp-hero {
  padding: 130px 0 60px;
  color: var(--fp-white);
  position: relative;
  overflow: hidden;
  min-height: 650px;
  background-color: var(--fp-navy);
  background-size: cover;
  background-position: center;
}


.fp-hero-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  align-items: center;
  padding: 120px;
}

.fp-kicker { text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; color: var(--fp-light-blue); margin: 0 0 12px; }

.fp-lede { font-size: 18px; max-width: 520px; margin: 0 0 24px; color: rgba(255,255,255,0.86); }



.fp-card-top { display: flex; gap: 6px; margin-bottom: 14px; }
.fp-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e2e8f0;
}

.fp-card-body { background: #f8fafc; border-radius: 12px; padding: 16px; }

.fp-request-form-wrapper {
  margin-top: 16px;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.fp-request-form-wrapper .request-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fp-request-form-wrapper .form-field {
  margin-bottom: 12px;
}

.fp-request-form-wrapper .form-field label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  color: var(--fp-dark-gray);
  font-size: 14px;
}

.fp-request-form-wrapper .form-field input[type="text"],
.fp-request-form-wrapper .form-field input[type="email"],
.fp-request-form-wrapper .form-field select,
.fp-request-form-wrapper .form-field textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-family: var(--fp-font);
  font-size: 14px;
  background: var(--fp-white);
}

.fp-request-form-wrapper .form-field input:focus,
.fp-request-form-wrapper .form-field select:focus,
.fp-request-form-wrapper .form-field textarea:focus {
  outline: none;
  border-color: var(--fp-light-blue);
  box-shadow: 0 0 0 3px rgba(157, 196, 224, 0.1);
}

.fp-request-form-wrapper .request-form-footer {
  margin-top: 16px;
}

.fp-request-form-wrapper .request-submit-button {
  background: var(--fp-coral);
  color: var(--fp-navy);
  border: none;
  padding: 12px 24px;
  border-radius: var(--fp-radius);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: background var(--fp-transition);
  width: 100%;
}

.fp-request-form-wrapper .request-submit-button:hover {
  background: var(--fp-navy);
  color: var(--fp-white);
}

.fp-request-form-wrapper .request-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 16px;
}

.fp-request-form-wrapper .request-checkbox input[type="checkbox"] {
  margin-top: 2px;
}

.fp-request-form-wrapper .request-checkbox label {
  font-size: 12px;
  line-height: 1.4;
  color: var(--fp-medium-gray);
}

.fp-request-form-wrapper input[type="submit"] {
  background: var(--fp-light-blue);
  color: var(--fp-navy);
  border: none;
  padding: 12px 24px;
  border-radius: var(--fp-radius);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: background var(--fp-transition);
  font-family: var(--fp-font);
}

.fp-request-form-wrapper input[type="submit"]:hover {
  background: var(--fp-coral);
  color: var(--fp-navy);
}

/* Request Page */
.fp-request-page {
  background: var(--fp-light-gray);
}

.fp-small-hero {
  background-color: var(--fp-navy);
  height: 250px;
  color: var(--fp-white);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.fp-request-content {
  display: grid;
  grid-template-columns: 30% 1fr;
  gap: 48px;
  align-items: start;
}

.fp-request-info h2 {
  font-size: 38px;
  margin-bottom: 16px;
  color: var(--fp-navy);
}

.fp-request-info .fp-lede {
  font-size: 18px;
  margin-bottom: 32px;
  color: var(--fp-dark-gray);
}

.fp-sla-info {
  background: var(--fp-white);
  padding: 24px;
  border-radius: var(--fp-radius);
  box-shadow: var(--fp-shadow-soft);
}

.fp-sla-info h3 {
  font-size: 20px;
  margin-bottom: 16px;
  color: var(--fp-navy);
}

.fp-sla-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.fp-sla-info li {
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
  position: relative;
  padding-left: 24px;
}

.fp-sla-info li:last-child {
  border-bottom: none;
}

.fp-sla-info li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--fp-coral);
  font-weight: 700;
}

.fp-request-form-section {
  min-width: 0;
  overflow: hidden;
}

.fp-hero-form-card {
  position: relative;
  background: var(--fp-white);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--fp-shadow);
  z-index: 1;
  max-width: 100%;
  width: 100%;
}
/* ==========================================================================
   Footer — 3-column HubSpot-mirror layout
   ========================================================================== */
.fp-footer {
  background: var(--fp-navy);
  color: rgba(255, 255, 255, 0.8);
}

.fp-footer-inner {
  display: flex;
  gap: 40px;
  padding: 40px 30px;
  align-items: flex-start;
}

/* Right col: logo + social */
.fp-footer-brand {
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-end;
  margin-left: auto;
}

.fp-footer-logo .fp-logo-img {
  height: 36px;
  width: auto;
}

.fp-footer-contact-label {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
}

/* Center/Right cols */
.fp-footer-col {
  flex: 1;
}

.fp-footer-col-title {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 16px;
}

.fp-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.fp-footer-col ul li {
  margin-bottom: 10px;
}

.fp-footer-col ul li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
  transition: color var(--fp-transition);
}

.fp-footer-col ul li a:hover {
  color: var(--fp-coral);
}

/* Social icons row */
.fp-footer-social-icons {
  display: flex;
  gap: 14px;
  margin-top: 4px;
}

.fp-footer-social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--fp-transition);
}

.fp-footer-social-icons a:hover {
  color: var(--fp-coral);
}

.fp-footer-social-icons svg {
  width: 20px;
  height: 20px;
}

/* Bottom bar */
.fp-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
}

.fp-footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.fp-footer-copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
}

/* Coral accent for portal login link */
.fp-salmon-link {
  color: var(--fp-coral) !important;
  text-decoration: none;
  font-weight: 500;
}

.fp-salmon-link:hover {
  color: var(--fp-coral) !important;
  text-decoration: underline;
}

/* Language switcher in footer bottom bar */
.fp-footer-bottom .fp-lang-dropdown .dropdown-toggle {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.fp-footer-bottom .fp-lang-dropdown .dropdown-menu {
  background: var(--fp-navy);
  border: 1px solid rgba(255, 255, 255, 0.15);
  top: auto;
  bottom: 100%;
  left: auto;
  right: 0;
  margin-top: 0;
  margin-bottom: 6px;
  min-width: 200px;
  white-space: nowrap;
}

.fp-footer-bottom .fp-lang-dropdown .dropdown-menu a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.fp-footer-bottom .fp-lang-dropdown .dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--fp-white);
}

/* Responsive — stack columns on mobile */
@media (max-width: 768px) {
  .fp-footer-inner {
    flex-direction: column;
    gap: 32px;
  }
  .fp-container.fp-footer-inner { padding: 30px; }
}

@media (max-width: 640px) {
  .fp-container.fp-footer-inner { padding: 16px; }
}

.fp-lang-dropdown .dropdown-toggle {
  background: transparent;
  color: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--fp-radius);
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  background: var(--fp-white);
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 8px;
  margin-top: 6px;
  box-shadow: var(--fp-shadow-soft);
  z-index: 100;
}

.dropdown.is-open .dropdown-menu { display: block; }

.dropdown-menu a {
  display: block;
  padding: 8px 10px;
  color: var(--fp-dark-gray);
  border-radius: 6px;
}
.dropdown-menu a:hover { background: #f1f5f9; }

/* Responsive Styles */

/* Tablet (768px and below) */
@media (max-width: 768px) {
  /* Containers */
  .container { padding: 0 16px; }
  .fp-container { padding: 0 24px; }
  .heading-section .container { padding-left: 30px; padding-right: 30px; }
  .fp-main-container { padding: 60px 40px; }
  
  /* Header */
  .fp-header { padding: 0 12px; }
  .fp-header-hat { display: none; }
  .fp-header-card { padding: 12px 16px; }
  .fp-header-cta { padding: 12px 16px; font-size: 13px; }
  
  /* Hero Section */
  .fp-hero {
    padding: 160px 0 60px;
    min-height: 600px;
  }
  .fp-hero-home { padding: 80px 0 80px 40px; }
  
  .fp-hero-inner {
    padding: 60px 24px;
    gap: 32px;
    grid-template-columns: 1fr;
  }

  .fp-hero-form {
    max-width: 100%;
    justify-self: center;
  }

  /* Request Page */
  .fp-small-hero {
    height: 200px;
  }
  
  .fp-request-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .fp-request-info h2 {
    font-size: 28px;
  }
  
  .fp-hero-form-card {
    max-width: 100%;
  }
  
}

/* Mobile (576px and below) */
@media (max-width: 640px) {
  /* Containers */
  .fp-container { padding: 0 16px; }
  .fp-main-container { padding: 40px 16px; }

  /* Header */
  .fp-header-row { flex-wrap: wrap; }
  .fp-header-cta { width: 100%; justify-content: center; margin-top: 4px; }

  .fp-brand img {
    max-height: 28px;
  }

  /* Hero Section */
  .fp-hero {
    min-height: 500px;
  }
  .fp-hero-home { padding: 80px 0 80px 30px; min-height: 550px; }

  .fp-hero-inner {
    padding: 40px 16px;
  }

  .fp-lede {
    font-size: 16px;
  }

  .fp-hero-form {
    padding: 16px;
  }

  .fp-hero-form h2 {
    font-size: 18px;
  }

  /* Request Page */
  .fp-small-hero {
    height: 150px;
  }

  .fp-request-info h2 {
    font-size: 24px;
  }

  .fp-request-info .fp-lede {
    font-size: 16px;
  }

}

/* =============================================
   HOME PAGE
   ============================================= */

.fp-hero-home {
  min-height: 650px;
  background-color: var(--fp-navy);
  --page-hero: none;
  background-image: linear-gradient(135deg, rgba(9,14,28,0.85) 0%, rgba(17,22,45,0.65) 55%, rgba(28,43,74,0.35) 100%), var(--page-hero);
  background-size: cover, cover;
  background-position: center, center;
  display: flex;
  align-items: flex-end;
  padding: 100px 0 80px 60px;
  position: relative;
  overflow: hidden;
}

.fp-hero-home::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0));
  z-index: 0;
  pointer-events: none;
}

.fp-hero-home .fp-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  position: relative;
  z-index: 1;
  max-width: 600px;
  padding: 0;
  margin: 0;
}

.fp-hero-home .fp-kicker {
  color: var(--fp-light-blue);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 16px;
}

.fp-hero-home h1 {
  color: var(--fp-white);
  font-size: 52px;
  font-weight: 700;
  margin: 0 0 20px;
  line-height: 1.1;
}

.fp-hero-home .fp-lede {
  color: rgba(255,255,255,0.8);
  font-size: 18px;
  margin: 0 0 28px;
  max-width: 500px;
}

.fp-hero-signin {
  margin-top: 14px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

/* Hero search (glassmorphism, lives inside the hero) */
.fp-search-form {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--fp-radius);
  padding: 10px 14px;
  max-width: 520px;
  margin-top: 8px;
}

.fp-search-icon {
  color: rgba(255,255,255,0.6);
  flex-shrink: 0;
}

.fp-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--fp-font);
  font-size: 15px;
  color: var(--fp-white);
  background: transparent;
  padding: 4px 0;
}

.fp-search-input::placeholder { color: rgba(255,255,255,0.5); }

.fp-search-submit {
  flex-shrink: 0;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 700;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  background: var(--fp-coral);
  color: var(--fp-navy);
  transition: background var(--fp-transition), color var(--fp-transition);
}

.fp-search-submit:hover { background: var(--fp-white); color: var(--fp-navy); }

/* Home search card — white card overlapping hero/categories boundary */
.fp-home-search-card {
  position: relative;
  z-index: 10;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.12);
  margin: -44px 30px 0;
  padding: 20px 30px;
}

.fp-home-search-card .fp-search-form {
  background: #f1f5f9;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid #e2e8f0;
  max-width: none;
  width: 100%;
  box-sizing: border-box;
  margin-top: 0;
}

.fp-home-search-card .fp-search-icon { color: rgba(17, 22, 45, 0.45); }

.fp-home-search-card .fp-search-input {
  color: var(--fp-navy);
}

.fp-home-search-card .fp-search-input::placeholder {
  color: rgba(17, 22, 45, 0.4);
}

.fp-home-search-card .fp-hero-signin {
  margin: 8px 0 0;
  font-size: 13px;
  color: rgba(17, 22, 45, 0.5);
}

.fp-home-search-card .fp-hero-signin a { color: var(--fp-coral); }

/* Category section */
.fp-categories-section {
  padding: 48px 0 80px;
}

.fp-section-heading {
  font-size: 28px;
  font-weight: 700;
  color: var(--fp-navy);
  margin: 0 0 36px;
}

.fp-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.fp-category-card {
  display: flex;
  flex-direction: column;
  background: var(--fp-white);
  border-radius: var(--fp-radius);
  box-shadow: var(--fp-shadow-soft);
  padding: 32px;
  color: var(--fp-dark-gray);
  text-decoration: none;
  transition: box-shadow var(--fp-transition), transform var(--fp-transition);
  border: none;
}

.fp-category-card:hover {
  box-shadow: var(--fp-shadow-lift);
  transform: translateY(-3px);
  color: var(--fp-dark-gray);
  text-decoration: none;
}

.fp-category-icon {
  width: 44px;
  height: 44px;
  border-radius: 22px;
  background: var(--fp-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fp-white);
  margin-bottom: 16px;
}

.fp-category-body { flex: 1; }

.fp-category-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--fp-navy);
  margin: 0 0 6px;
}

.fp-category-desc {
  font-size: 13px;
  color: var(--fp-medium-gray);
  margin: 0;
  line-height: 1.5;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.fp-category-arrow { display: none; }

@media (max-width: 640px) {
  .fp-category-grid { grid-template-columns: 1fr; }
  .fp-hero-home h1 { font-size: 36px; }
  .fp-hero-home { padding: 80px 0 80px 16px; }
}

/* ==========================================================================
   INNER PAGE STYLES — targeting Copenhagen/default Zendesk classes
   ========================================================================== */

/* Container override for inner pages — no max-width, matches FP.io full-width layout */
.container {
  width: 100%;
  padding: 0 30px;
}

/* Heading sections: match the fp-page-body horizontal inset (30px margin + 30px padding = 60px each side) */
.heading-section .container {
  padding-left: 60px;
  padding-right: 60px;
}

/* --------------------------------------------------------------------------
   Heading section (mini-hero used on article, category, section, search,
   error pages)
   -------------------------------------------------------------------------- */
.heading-section {
  background-color: var(--fp-navy);
  --page-hero: none;
  background-image: linear-gradient(135deg, rgba(9,14,28,0.85) 0%, rgba(17,22,45,0.65) 55%, rgba(28,43,74,0.35) 100%), var(--page-hero);
  background-size: cover, cover;
  background-position: center, center;
  min-height: 650px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 100px 0 220px;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
}

.heading-section h1 {
  color: var(--fp-white);
  font-size: 32px;
  font-weight: 700;
  margin: 10px 0 12px;
  line-height: 1.2;
}

.heading-section .page-header-description {
  color: rgba(255,255,255,0.75);
  font-size: 16px;
  margin: 0;
  max-width: 640px;
}

/* Description + search on the same row at the bottom of the hero */
.heading-section-footer {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 24px;
  min-height: 44px;
  margin-top: 12px;
}

.heading-section-footer .page-header-description {
  flex: 1;
  align-self: flex-end;
}

.heading-section-footer .search-container {
  flex-shrink: 0;
  margin: 0 0 0 auto;
}

@media (max-width: 768px) {
  .heading-section-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .heading-section-footer .page-header-description {
    align-self: auto;
  }
  .heading-section-footer .search-container {
    width: 100%;
    margin: 0;
  }
  .heading-section .heading-section-footer .search-container {
    width: 100%;
  }
}

.heading-section .sub-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* Modern horizontal breadcrumbs */
.heading-section .breadcrumbs ol {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 0;
}

.heading-section .breadcrumbs li {
  display: flex;
  align-items: center;
  white-space: nowrap;
  font-size: 13px;
  color: rgba(255,255,255,0.65);
}

/* Chevron separator before every item after the first */
.heading-section .breadcrumbs li + li::before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 6px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='rgba(255%2C255%2C255%2C0.35)' stroke-linecap='round' d='M4.5 3l3 3-3 3'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

.heading-section .breadcrumbs li::after { content: none; }

.heading-section .breadcrumbs a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color var(--fp-transition);
}
.heading-section .breadcrumbs a:hover { color: var(--fp-white); }

/* Last item (current page) — no link, slightly dimmer */
.heading-section .breadcrumbs li:last-child {
  color: rgba(255,255,255,0.45);
}

/* Replace first item text with home icon */
.heading-section .breadcrumbs li:first-child > a,
.heading-section .breadcrumbs li:first-child > span {
  font-size: 0;
  line-height: 0;
  display: inline-flex;
  align-items: center;
}

.heading-section .breadcrumbs li:first-child > a::before,
.heading-section .breadcrumbs li:first-child > span::before {
  content: '';
  display: inline-block;
  width: 15px;
  height: 15px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 24 24' fill='none' stroke='rgba(255%2C255%2C255%2C0.65)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3Cpolyline points='9 22 9 12 15 12 15 22'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.heading-section .breadcrumbs li:first-child > a:hover::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 24 24' fill='none' stroke='rgba(255%2C255%2C255%2C1)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3Cpolyline points='9 22 9 12 15 12 15 22'/%3E%3C/svg%3E");
}

/* Inline search inside heading-section */
.heading-section .search-container {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--fp-radius);
  padding: 8px 14px;
  gap: 8px;
  width: 320px;
  max-width: 100%;
}


.heading-section .search-container .search-icon {
  color: rgba(255,255,255,0.6);
  flex-shrink: 0;
}

.heading-section .search-container input[type="search"],
.heading-section .search-container input[type="text"] {
  background: transparent;
  border: none;
  outline: none;
  color: var(--fp-white);
  font-family: inherit;
  font-size: 14px;
  width: 100%;
}
.heading-section .search-container input::placeholder { color: rgba(255,255,255,0.5); }

/* --------------------------------------------------------------------------
   Article page layout
   -------------------------------------------------------------------------- */
.article-container {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  padding: 48px 0 80px;
}

/* Sidebar */
.article-sidebar {
  flex: 0 0 220px;
  min-width: 0;
}

.collapsible-sidebar {
  background: var(--fp-light-gray);
  border-radius: var(--fp-radius);
  padding: 20px;
  position: sticky;
  top: 90px;
}

.collapsible-sidebar-title,
.sidenav-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fp-medium-gray);
  margin: 0 0 12px;
  display: block;
}

.collapsible-sidebar-toggle {
  display: none; /* hidden on desktop; shown on mobile */
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: var(--fp-navy);
}

.collapsible-sidebar-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.collapsible-sidebar-body li {
  margin: 0;
}

.sidenav-item {
  display: block;
  padding: 7px 10px;
  border-radius: 6px;
  font-size: 14px;
  color: var(--fp-dark-gray);
  text-decoration: none;
  transition: background var(--fp-transition), color var(--fp-transition);
  line-height: 1.4;
}
.sidenav-item:hover {
  background: rgba(17,22,45,0.06);
  color: var(--fp-navy);
  text-decoration: none;
}
.sidenav-item.current-article,
.sidenav-item[aria-current="page"] {
  background: var(--fp-navy);
  color: var(--fp-white);
  font-weight: 600;
}

.article-sidebar-item {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--fp-coral);
  text-decoration: none;
  font-weight: 600;
}
.article-sidebar-item:hover { text-decoration: underline; }

/* Article content */
.article {
  flex: 1;
  min-width: 0;
  max-width: 900px;
}

.article-header {
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 24px;
  margin-bottom: 32px;
}

.article-title {
  font-size: 30px;
  font-weight: 700;
  color: var(--fp-navy);
  line-height: 1.25;
  margin: 0 0 16px;
}

.article-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.article-meta {
  font-size: 13px;
  color: var(--fp-medium-gray);
}
.article-meta a { color: var(--fp-medium-gray); text-decoration: none; }
.article-meta a:hover { color: var(--fp-navy); }

.meta-group {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.meta-data { font-size: 13px; color: var(--fp-medium-gray); }

.avatar { width: 32px; height: 32px; border-radius: 50%; overflow: hidden; }
.user-avatar { width: 100%; height: 100%; object-fit: cover; }

/* Article body typography */
.article-body {
  font-size: 16px;
  line-height: 1.75;
  color: var(--fp-dark-gray);
}
.article-body h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--fp-navy);
  margin: 2em 0 0.6em;
}
.article-body h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--fp-navy);
  margin: 1.6em 0 0.5em;
}
.article-body h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--fp-navy);
  margin: 1.4em 0 0.4em;
}
.article-body p { margin: 0 0 1.2em; }
.article-body ul, .article-body ol {
  padding-left: 1.5em;
  margin: 0 0 1.2em;
}
.article-body li { margin: 0 0 0.4em; }
.article-body a { color: var(--fp-coral); }
.article-body a:hover { text-decoration: underline; }
.article-body img { max-width: 100%; border-radius: var(--fp-radius); margin: 1em 0; }
.article-body code {
  background: var(--fp-light-gray);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.88em;
  color: var(--fp-navy);
}
.article-body pre {
  background: var(--fp-light-gray);
  border: 1px solid #e5e7eb;
  border-radius: var(--fp-radius);
  padding: 16px 20px;
  overflow-x: auto;
  font-size: 14px;
  line-height: 1.6;
  margin: 1.2em 0;
}
.article-body pre code { background: none; padding: 0; }
.article-body blockquote {
  border-left: 4px solid var(--fp-light-blue);
  margin: 1.2em 0;
  padding: 12px 20px;
  background: rgba(157,196,224,0.1);
  border-radius: 0 var(--fp-radius) var(--fp-radius) 0;
  color: var(--fp-dark-gray);
}
.article-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 1.2em 0;
}
.article-body th {
  background: var(--fp-navy);
  color: var(--fp-white);
  text-align: left;
  padding: 10px 14px;
  font-weight: 600;
}
.article-body td {
  padding: 10px 14px;
  border-bottom: 1px solid #e5e7eb;
}
.article-body tr:nth-child(even) td { background: var(--fp-light-gray); }

/* Content tags */
.content-tags {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
  font-size: 13px;
  color: var(--fp-medium-gray);
}
.content-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
}
.content-tag-item a {
  display: inline-block;
  padding: 4px 12px;
  background: var(--fp-light-gray);
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  font-size: 13px;
  color: var(--fp-dark-gray);
  text-decoration: none;
  transition: background var(--fp-transition), border-color var(--fp-transition);
}
.content-tag-item a:hover {
  background: var(--fp-navy);
  color: var(--fp-white);
  border-color: var(--fp-navy);
}

/* Attachments */
.article-attachments-footer {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
}
.article-attachments-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--fp-navy);
  margin: 0 0 16px;
}
.attachments { list-style: none; padding: 0; margin: 0; }
.attachment-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
}
.attachment-icon { color: var(--fp-medium-gray); flex-shrink: 0; }
.attachment-item a { color: var(--fp-coral); text-decoration: none; }
.attachment-item a:hover { text-decoration: underline; }
.attachment-meta { margin-left: auto; }
.attachment-meta-item { color: var(--fp-medium-gray); font-size: 13px; }

/* Article footer row (share + comment count) */
.article-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid #e5e7eb;
  margin-top: 32px;
}

.article-comment-count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--fp-medium-gray);
  text-decoration: none;
}
.article-comment-count:hover { color: var(--fp-navy); }

/* Article votes */
.article-votes {
  width: 100%;
  box-sizing: border-box;
  background: var(--fp-light-gray);
  border-radius: var(--fp-radius);
  padding: 28px 32px;
  text-align: center;
  margin-top: 32px;
}

.article-votes-question {
  font-size: 17px;
  font-weight: 600;
  color: var(--fp-navy);
  margin: 0 0 20px;
}

.article-votes-controls {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.article-vote {
  padding: 10px 28px;
  border-radius: var(--fp-radius);
  border: 2px solid var(--fp-navy);
  background: transparent;
  color: var(--fp-navy);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--fp-transition), color var(--fp-transition);
}
.article-vote:hover,
.article-vote.button-primary {
  background: var(--fp-navy);
  color: var(--fp-white);
  text-decoration: none;
}

/* Article "Have we missed something?" CTA */
.article-more-questions {
  width: 100%;
  box-sizing: border-box;
  background: linear-gradient(135deg, var(--fp-navy) 0%, #1e2a52 100%);
  border-radius: var(--fp-radius);
  padding: 28px 32px;
  margin-top: 24px;
  text-align: center;
}

.article-more-questions .article-votes-question {
  color: var(--fp-white);
  margin-bottom: 16px;
}

.article-more-questions .button,
.article-more-questions .button-primary {
  background: var(--fp-coral);
  color: var(--fp-navy);
  border: none;
  padding: 11px 28px;
  border-radius: var(--fp-radius);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  display: inline-block;
  transition: background var(--fp-transition), color var(--fp-transition);
}
.article-more-questions .button:hover,
.article-more-questions .button-primary:hover {
  background: var(--fp-white);
  color: var(--fp-navy);
}

/* Return to top — flex row with date on left, link on right (below all cards) */
.article-return-to-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
}
.article-return-to-top .meta-data,
.article-return-to-top a {
  font-size: 13px;
  color: var(--fp-medium-gray);
  font-weight: 400;
}
.article-return-to-top a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}
.article-return-to-top a:hover { color: var(--fp-navy); }
.article-return-to-top-icon { transform: rotate(180deg); }

/* Recently viewed / related articles — collapsible cards (JS adds .collapsible-sidebar) */
/* ZD renders: section.recent-articles / section.related-articles > h2 + ul              */
.article-relatives { margin-top: 32px; display: flex; flex-direction: column; gap: 16px; }

.article-relatives .collapsible-sidebar {
  position: static; /* never sticky */
  width: 100%;
  box-sizing: border-box;
}

.article-relatives ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.article-relatives li {
  margin: 0;
}

/* Links inside relatives cards */
.article-relatives .collapsible-sidebar a {
  display: block;
  padding: 8px 0;
  color: var(--fp-dark-gray);
  text-decoration: none;
  border-bottom: 1px solid #e5e7eb;
  border-radius: 0;
  font-size: 14px;
  transition: color var(--fp-transition);
}
.article-relatives .collapsible-sidebar li:last-child a { border-bottom: none; }
.article-relatives .collapsible-sidebar a:hover { color: var(--fp-navy); background: transparent; }

/* Mobile sidebar duplicate — hidden on desktop */
.article-sidebar-mobile { display: none; }

/* --------------------------------------------------------------------------
   Section page: article-preview cards (articles-grid)
   -------------------------------------------------------------------------- */
.articles-section {
  margin-top: 40px;
}

.articles-section-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--fp-navy);
  margin: 0 0 20px;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.article-card-link {
  text-decoration: none;
}

.article-preview {
  background: var(--fp-white);
  border: 1px solid #e5e7eb;
  border-radius: var(--fp-radius);
  padding: 24px;
  transition: box-shadow var(--fp-transition), transform var(--fp-transition), border-color var(--fp-transition);
}
.article-card-link:hover .article-preview {
  box-shadow: var(--fp-shadow-lift);
  transform: translateY(-2px);
  border-color: var(--fp-light-blue);
}

.article-preview .article-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--fp-navy);
  margin: 0 0 10px;
  line-height: 1.4;
}

.article-excerpt {
  font-size: 14px;
  color: var(--fp-medium-gray);
  line-height: 1.6;
  margin: 0 0 12px;
}

.read-more {
  font-size: 13px;
  font-weight: 600;
  color: var(--fp-coral);
}

/* --------------------------------------------------------------------------
   Category / Section pages: card-grid
   -------------------------------------------------------------------------- */
.content-section { padding: 0 0 48px; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.card-link {
  text-decoration: none;
  display: block;
}

.card {
  background: var(--fp-white);
  border: 1px solid #e5e7eb;
  border-radius: var(--fp-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: box-shadow var(--fp-transition), transform var(--fp-transition), border-color var(--fp-transition);
}

.card-link:hover .card {
  box-shadow: var(--fp-shadow-lift);
  transform: translateY(-3px);
  border-color: var(--fp-light-blue);
}

.card-content {
  padding: 24px;
  flex: 1;
}

.card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--fp-navy);
  margin: 0 0 8px;
  line-height: 1.35;
}

.card-description {
  font-size: 14px;
  color: var(--fp-medium-gray);
  line-height: 1.55;
  margin: 0;
}

.card-image-wrapper {
  height: 140px;
  background: var(--fp-light-gray);
  overflow: hidden;
}

.card-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.4s ease;
}

.card-link:hover .card-image {
  transform: scale(1.04);
}

/* --------------------------------------------------------------------------
   Search results page
   -------------------------------------------------------------------------- */
.search-results {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  padding: 48px 0 80px;
}

.search-results-sidebar {
  flex: 0 0 200px;
}

.search-results-column {
  flex: 1;
  min-width: 0;
}

.filters-in-section {
  background: var(--fp-light-gray);
  border-radius: var(--fp-radius);
  padding: 16px;
  margin-bottom: 16px;
}

.filters-in-section .collapsible-sidebar-title,
.filters-in-section .sidenav-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fp-medium-gray);
  margin: 0 0 10px;
}

.multibrand-filter-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.multibrand-filter-list li { margin: 0; }

.sidenav-subitem { font-size: 13px; }
.filter-name { color: var(--fp-dark-gray); }
.doc-count { color: var(--fp-medium-gray); }

.sidenav-item.current {
  background: var(--fp-navy);
  color: var(--fp-white);
  font-weight: 600;
}
.sidenav-item.current .filter-name,
.sidenav-item.current .doc-count {
  color: inherit;
}

.see-all-filters {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--fp-coral);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 0;
  margin-top: 4px;
}

/* Search result items */
.search-result-link {
  display: block;
  text-decoration: none;
  padding: 20px;
  background: var(--fp-white);
  border: 1px solid #e5e7eb;
  border-radius: var(--fp-radius);
  margin-bottom: 12px;
  transition: box-shadow var(--fp-transition), border-color var(--fp-transition);
}
.search-result-link:hover {
  box-shadow: var(--fp-shadow-soft);
  border-color: var(--fp-light-blue);
}

.search-result-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--fp-navy);
  margin: 0 0 6px;
}

.search-result-description {
  font-size: 14px;
  color: var(--fp-medium-gray);
  line-height: 1.55;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Error page
   -------------------------------------------------------------------------- */
.error-page {
  max-width: 560px;
  margin: 80px auto;
  padding: 48px;
  background: var(--fp-white);
  border-radius: var(--fp-radius);
  box-shadow: var(--fp-shadow-soft);
  text-align: center;
}

.error-page h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--fp-navy);
  margin: 0 0 16px;
}

.error-page p {
  color: var(--fp-medium-gray);
  font-size: 15px;
  margin: 0 0 24px;
  line-height: 1.6;
}

.error-page a {
  display: inline-block;
  padding: 12px 28px;
  background: var(--fp-coral);
  color: var(--fp-navy);
  border-radius: var(--fp-radius);
  font-weight: 700;
  text-decoration: none;
  transition: background var(--fp-transition), color var(--fp-transition);
}
.error-page a:hover {
  background: var(--fp-navy);
  color: var(--fp-white);
}

/* --------------------------------------------------------------------------
   Subscribe / share / follow controls (generic overrides)
   -------------------------------------------------------------------------- */
.article-subscribe,
.article-share {
  font-size: 13px;
}

.article-subscribe a,
.article-share a {
  color: var(--fp-medium-gray);
  text-decoration: none;
  transition: color var(--fp-transition);
}
.article-subscribe a:hover,
.article-share a:hover { color: var(--fp-navy); }

/* --------------------------------------------------------------------------
   Collapsible sidebar toggle (mobile)
   -------------------------------------------------------------------------- */
.collapsible-sidebar-toggle-icon { pointer-events: none; }
.collapsible-sidebar-toggle .x-icon { display: none; }
.collapsible-sidebar-toggle[aria-expanded="true"] .x-icon { display: block; }
.collapsible-sidebar-toggle[aria-expanded="true"] .chevron-icon { display: none; }

/* --------------------------------------------------------------------------
   Responsive — inner pages
   -------------------------------------------------------------------------- */

/* Tablet and below: hide desktop sidebar, collapse article cards */
@media (max-width: 1024px) {
  .article-container,
  .search-results {
    flex-direction: column;
    gap: 24px;
  }

  /* Hide desktop sidebar; mobile copy appears after the article content */
  .article-sidebar { display: none; }
  .article-sidebar-mobile { display: block; margin-top: 16px; }

  /* Consistent spacing between footer cards and the collapsible cards */
  .article-relatives { margin-top: 16px; }

  /* Article fills full column width — flex-start was preventing stretch */
  .article-container { align-items: stretch; }
  .article { width: 100%; }

  /* Collapsible cards: grid ensures toggle icon and title are always
     on the same row with perfect vertical centering */
  .collapsible-sidebar {
    position: static;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 8px;
    align-items: center;
  }

  .collapsible-sidebar-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    grid-column: 1;
    grid-row: 1;
    color: var(--fp-navy);
  }

  .collapsible-sidebar-title {
    grid-column: 2;
    grid-row: 1;
    display: block;
    margin: 0; /* remove default bottom margin inside header row */
  }

  .collapsible-sidebar-body {
    display: none;
    grid-column: 1 / -1;
    margin-top: 12px;
  }

  .collapsible-sidebar-toggle[aria-expanded="true"] ~ .collapsible-sidebar-body {
    display: block;
  }
}

/* Mobile: search sidebar stacks */
@media (max-width: 768px) {
  .search-results-sidebar {
    flex: none;
    width: 100%;
    position: static;
  }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .heading-section { min-height: 500px; padding: 90px 0 180px; }
  .heading-section h1 { font-size: 24px; }
  .heading-section .sub-nav { flex-direction: column; align-items: flex-start; }
  .heading-section .breadcrumbs ol { flex-wrap: wrap; }
  .fp-page-body { margin-left: 8px; margin-right: 8px; }
  .card-grid { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: 1fr; }
  .article-container { padding: 32px 0 48px; }
  .article-title { font-size: 24px; }
  .article-votes { padding: 20px 16px; }
  .article-more-questions { padding: 20px 16px; }
  .error-page { margin: 40px auto; padding: 32px 20px; }
}

/* ==========================================================================
   HubSpot Mirror — New Patterns
   ========================================================================== */

/* Header gradient fade — full viewport width, floats header over hero images */
.fp-header::before {
  content: '';
  width: 100%;
  height: 45px;
  background: linear-gradient(to bottom, rgba(17, 22, 45, 0.6), rgba(17, 22, 45, 0));
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: -1;
}

/* Decorative SVG ring — applied to dark-background hero/banner sections */
.fp-decorated {
  position: relative;
  overflow: hidden;
}

.fp-decorated::after {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Ccircle cx='100' cy='100' r='90' fill='none' stroke='rgba(255%2C255%2C255%2C0.06)' stroke-width='30'/%3E%3Ccircle cx='100' cy='100' r='55' fill='none' stroke='rgba(255%2C255%2C255%2C0.04)' stroke-width='20'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 0;
}

/* Overlapping content card — lifts over the mini-hero like fp-contact */
.fp-page-body {
  background-color: #fff;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.12);
  margin-top: -160px;
  margin-left: 30px;
  margin-right: 30px;
  position: relative;
  z-index: 2;
  padding-top: 30px;
  padding-bottom: 60px;
  min-height: 400px;
  overflow: hidden;
}


/* Inner content — padding/layout only, card styling lives on fp-page-body */
.fp-page-body-inner {
  background-color: transparent;
  border-radius: 0;
  box-shadow: none;
  padding-top: 0;
  padding-bottom: 0;
}

@media (max-width: 768px) {
  .fp-page-body { margin-top: -120px; }
  .fp-page-body-inner {
    padding-top: 0;
    padding-bottom: 0;
  }
}


/* --------------------------------------------------------------------------
   Profile header — shorter hero, content flows from top
   -------------------------------------------------------------------------- */
.profile-header.heading-section {
  min-height: auto;
  justify-content: flex-start;
  padding: 120px 0 64px;
}

/* --------------------------------------------------------------------------
   Activity / profile nav tabs inside fp-page-body card
   -------------------------------------------------------------------------- */
.fp-page-body .my-activities-nav,
.fp-page-body .profile-nav {
  border-bottom: 1px solid var(--fp-border);
  margin-bottom: 32px;
}

.fp-page-body .my-activities-nav .container,
.fp-page-body .profile-nav .container {
  padding-left: 0;
  padding-right: 0;
}

.fp-page-body .my-activities-nav .collapsible-nav-list,
.fp-page-body .profile-nav .collapsible-nav-list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 0;
}

.fp-page-body .my-activities-nav .collapsible-nav-list li a,
.fp-page-body .profile-nav .collapsible-nav-list li a {
  display: block;
  padding: 10px 20px 12px;
  color: var(--fp-medium-gray);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  transition: color var(--fp-transition), border-color var(--fp-transition);
}

.fp-page-body .my-activities-nav .collapsible-nav-list li.current a,
.fp-page-body .profile-nav .collapsible-nav-list li.current a {
  color: var(--fp-navy);
  border-bottom-color: var(--fp-coral);
}

.fp-page-body .my-activities-nav .collapsible-nav-list li a:hover,
.fp-page-body .profile-nav .collapsible-nav-list li a:hover {
  color: var(--fp-navy);
}

.fp-page-body .my-activities-nav .collapsible-nav-toggle,
.fp-page-body .profile-nav .collapsible-nav-toggle {
  display: none;
}
