@import url("bootstrap.css");
@import url("site-core.css");
@import url("site-chat.css");
@import url("site-cards.css");
@import url("cookie-notice.css");
@import url("page-marketing.css");

/* Secondary pages — cancel site-core section side padding */
.about-page section {
  padding-inline: 0;
}

/* Secondary-page layout (replaces Bootstrap grid) */
.container {
  width: 100%;
  max-width: var(--ds-container-max);
  margin-inline: auto;
  padding-inline: var(--ds-header-pad-x);
}

/* Let .container handle horizontal inset — matches header .header-bar */
section.padding:has(> .container) {
  padding-inline: 0;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-inline: -0.75rem;
}

.row > [class*="col-"] {
  padding-inline: 0.75rem;
  width: 100%;
}

.col-12 {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 992px) {
  .col-lg-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
  }
}

.row.justify-content-center {
  justify-content: center;
}

.mt-3 {
  margin-top: 1rem;
}

.mt-4 {
  margin-top: 1.5rem;
}

@media (max-width: 600px) {
  .container {
    padding-inline: 14px;
  }
}

/* Button rows — match header .header-actions spacing */
.ds-actions,
.ap-hero-actions,
.ctabtn,
.ctabtninline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--ds-space-3);
}

.ds-actions .btn,
.ap-hero-actions .btn,
.ctabtn .btn,
.ctabtninline .btn {
  margin: 0;
}

/* Hero primary CTA — consistent placement and size across page tops */
.marketing-page .mp-hero-copy .ds-tag-list,
.about-page .ap-hero-copy .ds-tag-list {
  margin-bottom: var(--ds-space-6);
}

.marketing-page .mp-hero-copy .ds-actions,
.about-page .ap-hero-copy .ds-actions {
  margin-top: 0;
}

.ds-actions .scoop-cta--hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 14px 28px;
  font-size: var(--ds-text-md);
  line-height: 1;
  white-space: nowrap;
}

.ds-actions .scoop-cta--hero .icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.about-page .ap-hero-actions .btn.bord {
  min-height: 52px;
  padding: 14px 24px;
  font-size: var(--ds-text-md);
  line-height: 1;
}

/* Hero image scoop — decorative accent (primary CTA lives in copy) */
.mp-hero-card .ap-hero-scoop,
.ap-hero-card .ap-hero-scoop {
  padding: 8px 0 0 10px;
}

.mp-hero-card .ap-hero-scoop .scoop-cta--sm,
.ap-hero-card .ap-hero-scoop .scoop-cta--sm {
  min-width: 40px;
  min-height: 40px;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  pointer-events: none;
  cursor: default;
  box-shadow: 0 6px 16px rgba(236, 34, 44, 0.22);
}

.mp-hero-card .ap-hero-scoop .scoop-cta--sm .icon,
.ap-hero-card .ap-hero-scoop .scoop-cta--sm .icon {
  width: 14px;
  height: 14px;
}

@media (max-width: 767px) {
  .ds-actions .scoop-cta--hero,
  .about-page .ap-hero-actions .btn.bord {
    min-height: 48px;
    padding: 12px 22px;
    font-size: var(--ds-text-sm);
  }
}
