/*
 * Page sections (site design 1).
 *
 * Styles for the code-built page patterns. Each section is a Group block
 * with the .hc-ds class plus a variant (hero, paper, alaska, space...).
 * Loaded on the site and in the editor.
 *
 * Section backgrounds (map pins, paper, rocket) are set on each Group block's
 * Background image, so they can be swapped in the editor.
 */

/* ------------------------------------------------------------------
 * 1. Tokens and type
 * ------------------------------------------------------------------ */

.hc-ds {
    --ds-navy: #003f69;
    --ds-navy-dark: #00253f;
    --ds-orange: #f06d22;
    --ds-orange-text: #b8480f;
    --ds-orange-light: #ffb98f;
    --ds-light-blue: #eaf3fa;
    --ds-text: #1d2733;
    --ds-text-soft: #33475b;
    --ds-muted: #4a5d70;
    --ds-border: #d6e2ec;
    --ds-on-dark: #d9e6f0;
    --ds-heading: "Montserrat", "Helvetica Neue", Arial, sans-serif;
    --ds-body: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

    font-family: var(--ds-body);
    font-size: 17px;
    line-height: 1.6;
    color: var(--ds-text);
    padding-top: 88px;
    padding-bottom: 88px;
}

/* Sections sit flush against each other. */
.entry-content > .hc-ds,
.is-root-container > .hc-ds {
    margin-block-start: 0;
    margin-block-end: 0;
}

.hc-ds :where(h1, h2, h3, h4) {
    font-family: var(--ds-heading);
    font-weight: 800;
    color: var(--ds-navy);
    line-height: 1.15;
    letter-spacing: 0;
    margin: 0;
}

.hc-ds h1 {
    font-size: clamp(36px, 4.8vw, 58px);
    letter-spacing: -0.01em;
}

.hc-ds.hc-ds-hero-home h1 {
    font-size: clamp(40px, 5.2vw, 64px);
}

.hc-ds h2 {
    font-size: clamp(30px, 3.6vw, 44px);
}

.hc-ds h2.hc-ds-h2-sm {
    font-size: clamp(28px, 3.2vw, 38px);
}

.hc-ds h3 {
    font-size: 24px;
    font-weight: 700;
}

.hc-ds p {
    margin: 0;
}

.hc-ds a:where(:not(.wp-element-button)) {
    color: var(--ds-navy);
}

.hc-ds a:where(:not(.wp-element-button)):hover {
    color: var(--ds-orange-text);
}

.hc-ds .hc-ds-eyebrow {
    font: 700 13px/1.3 var(--ds-heading);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ds-orange-text);
}

.hc-ds .hc-ds-lead {
    font-size: 20px;
    color: var(--ds-text-soft);
    max-width: 560px;
}

.hc-ds .hc-ds-pullquote {
    font: 700 20px/1.4 var(--ds-heading);
    color: var(--ds-navy);
}

.hc-ds .hc-ds-small {
    font-size: 15px;
    color: var(--ds-muted);
}

.hc-ds .hc-ds-label {
    font: 700 18px/1.3 var(--ds-heading);
    color: var(--ds-navy);
}

.hc-ds .hc-ds-stat {
    font: 800 30px/1.1 var(--ds-heading);
    color: var(--ds-navy);
}

.hc-ds .hc-ds-more {
    font-weight: 700;
}

.hc-ds .hc-ds-more a {
    text-decoration: none;
}

.hc-ds .hc-ds-caps {
    font-size: 14px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hc-ds .hc-ds-label-sm {
    color: var(--ds-navy);
}

.hc-ds .hc-ds-label-sm strong {
    font-weight: 600;
}

.hc-ds .hc-ds-nowrap {
    white-space: nowrap;
}

.hc-ds.hc-ds-center {
    text-align: center;
}

.hc-ds.hc-ds-center > * > .is-layout-flex,
.hc-ds.hc-ds-center > .is-layout-flex {
    align-items: center;
}

.hc-ds .hc-ds-narrow {
    max-width: 900px;
    margin-inline: auto;
}

.hc-ds.hc-ds-center .hc-ds-narrow {
    max-width: 860px;
}

.hc-ds .hc-ds-lead.hc-ds-lead-wide {
    max-width: 680px;
    font-size: 18px;
}

.hc-ds.hc-ds-center .hc-ds-lead {
    margin-inline: auto;
}

.hc-ds.hc-ds-space .hc-ds-lead {
    font-size: 19px;
}

/* ------------------------------------------------------------------
 * 2. Buttons
 * ------------------------------------------------------------------ */

.hc-ds .wp-block-button .wp-block-button__link,
.hc-ds .hc-ds-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border: 0;
    border-radius: 8px;
    box-shadow: none;
    background: var(--ds-orange);
    color: var(--ds-navy-dark);
    font: 700 16px/1.2 var(--ds-heading);
    text-decoration: none;
    cursor: pointer;
}

.hc-ds .wp-block-button .wp-block-button__link:hover,
.hc-ds .hc-ds-form button:hover {
    background: #f48a4c;
    color: var(--ds-navy-dark);
    text-decoration: none;
}

.hc-ds .wp-block-button.is-style-outline .wp-block-button__link {
    background: #fff;
    color: var(--ds-navy);
    border: 2px solid var(--ds-navy);
}

.hc-ds .wp-block-button.is-style-outline .wp-block-button__link:hover {
    background: var(--ds-light-blue);
    color: var(--ds-navy);
}

/* ------------------------------------------------------------------
 * 3. Section backgrounds
 * The images come from each Group's Background image setting.
 * ------------------------------------------------------------------ */

.hc-ds.hc-ds-hero {
    background-color: #f4f8fc;
    padding-top: 96px;
    padding-bottom: 104px;
}

.hc-ds.hc-ds-paper {
    background-color: var(--ds-light-blue);
}

.hc-ds.hc-ds-white {
    background-color: #fff;
}

/* Alaska: trees and mountains along the bottom, over the paper texture. */
.hc-ds.hc-ds-alaska {
    position: relative;
    isolation: isolate;
    background-color: var(--ds-light-blue);
    padding-top: 72px;
    padding-bottom: 165px;
}

.hc-ds.hc-ds-alaska::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 120px;
    background: url("../images/design/alaska-trees.webp") center bottom / auto 120px repeat-x;
    pointer-events: none;
    z-index: -1;
}

/* Rocket call-to-action band. */
.hc-ds.hc-ds-space {
    background-color: var(--ds-navy);
    background-blend-mode: luminosity;
    padding-top: 100px;
    padding-bottom: 100px;
    color: var(--ds-on-dark);
}

.hc-ds.hc-ds-space h2 {
    color: #fff;
    font-size: clamp(32px, 4vw, 50px);
}

.hc-ds.hc-ds-space p {
    color: var(--ds-on-dark);
}

.hc-ds.hc-ds-space a:where(:not(.wp-element-button)) {
    color: var(--ds-orange-light);
    font-weight: 700;
}

/* ------------------------------------------------------------------
 * 4. Cards, pills and placeholders
 * ------------------------------------------------------------------ */

.hc-ds .hc-ds-card {
    background: #fff;
    border: 1px solid var(--ds-border);
    border-radius: 14px;
    padding: 28px;
    box-sizing: border-box;
}

.hc-ds .hc-ds-card.hc-ds-card-sm {
    padding: 22px;
}

.hc-ds .hc-ds-card.hc-ds-card-flush {
    padding: 0;
    overflow: hidden;
}

.hc-ds .hc-ds-card.hc-ds-card-flush > :not(.hc-ds-ph) {
    padding-left: 22px;
    padding-right: 22px;
}

.hc-ds .hc-ds-card.hc-ds-card-flush > :last-child {
    padding-bottom: 22px;
}

.hc-ds .hc-ds-card.hc-ds-card-raised {
    box-shadow: 0 18px 40px rgba(0, 37, 63, 0.12);
}

.hc-ds .hc-ds-card.hc-ds-card-navy {
    background: var(--ds-navy);
    border-color: var(--ds-navy);
}

.hc-ds .hc-ds-card.hc-ds-card-navy h3 {
    color: #fff;
}

.hc-ds .hc-ds-card.hc-ds-card-navy p {
    color: var(--ds-on-dark);
}

.hc-ds .hc-ds-card.hc-ds-card-navy a:where(:not(.wp-element-button)) {
    color: var(--ds-orange-light);
}

/* Cards in a row: the last line (the link) sits at the bottom. */
.hc-ds .hc-ds-card.is-layout-flex > :last-child.hc-ds-more {
    margin-top: auto;
}

.hc-ds .hc-ds-pill {
    align-self: flex-start;
    display: inline-block;
    background: var(--ds-light-blue);
    color: var(--ds-navy);
    font: 700 12px/1.2 var(--ds-heading);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 10px;
    border-radius: 999px;
}

.hc-ds .hc-ds-card-navy .hc-ds-pill {
    background: var(--ds-orange);
    color: var(--ds-navy-dark);
}

.hc-ds .hc-ds-ph {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    padding: 16px;
    background: #dce7f0;
    border: 1px dashed #8fa9bf;
    border-radius: 14px;
    color: #3b556b;
    font-size: 14px;
    text-align: center;
    box-sizing: border-box;
}

.hc-ds .hc-ds-card-flush > .hc-ds-ph {
    min-height: 150px;
    border: 0;
    border-radius: 0;
}

/* Icon chip in the hero card. */
.hc-ds .hc-ds-chip {
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--ds-light-blue);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hc-ds .hc-ds-chip.is-orange {
    background: #fdebdf;
}

.hc-ds .hc-ds-divider {
    border-top: 1px solid var(--ds-border);
    padding-top: 18px;
}

/* ------------------------------------------------------------------
 * 5. Forms (visibility check)
 * ------------------------------------------------------------------ */

.hc-ds .hc-ds-form {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    max-width: 600px;
    margin: 0;
}

.hc-ds .hc-ds-form input[type="text"] {
    flex: 1 1 280px;
    min-height: 52px;
    padding: 0 16px;
    border: 1.5px solid #8fa9bf;
    border-radius: 8px;
    background: #fff;
    color: var(--ds-text);
    font: inherit;
    box-sizing: border-box;
}

.hc-ds .hc-ds-form button {
    min-height: 52px;
}

.hc-ds.hc-ds-space .hc-ds-form {
    width: 100%;
    margin-inline: auto;
    justify-content: center;
}

.hc-ds.hc-ds-space .hc-ds-form input[type="text"] {
    border: 0;
}

.hc-ds .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* ------------------------------------------------------------------
 * 6. Quotes and FAQ
 * ------------------------------------------------------------------ */

.hc-ds .wp-block-quote.hc-ds-review {
    max-width: none;
    margin: 0;
    padding: 28px;
    border: 1px solid var(--ds-border);
    border-radius: 14px;
    background: #fff;
    font-style: normal;
}

.hc-ds .wp-block-quote.hc-ds-review p {
    font-size: 19px;
    line-height: 1.55;
    color: var(--ds-text);
}

.hc-ds .wp-block-quote.hc-ds-review cite {
    display: block;
    margin-top: 14px;
    font-style: normal;
    font-weight: 600;
    font-size: 15px;
    color: var(--ds-muted);
}

.hc-ds .hc-ds-honor {
    font: 800 clamp(30px, 4vw, 48px)/1.2 var(--ds-heading);
    color: var(--ds-orange-text);
}

.hc-ds .hc-ds-faq {
    border-top: 1px solid var(--ds-border);
}

.hc-ds .wp-block-details {
    border-bottom: 1px solid var(--ds-border);
    padding: 20px 0;
    margin: 0;
}

.hc-ds .wp-block-details summary {
    font: 700 19px/1.3 var(--ds-heading);
    color: var(--ds-navy);
    cursor: pointer;
}

.hc-ds .wp-block-details p {
    margin-top: 10px;
    color: var(--ds-text-soft);
}


/* ------------------------------------------------------------------
 * 7. More section backgrounds (inner pages)
 * ------------------------------------------------------------------ */

/* Navy with topo lines: inner page headers and dark bands. */
.hc-ds.hc-ds-navy {
    background-color: var(--ds-navy);
    color: var(--ds-on-dark);
}

.hc-ds.hc-ds-navy :where(h1, h2, h3, .hc-ds-honor) {
    color: #fff;
}

.hc-ds.hc-ds-navy .hc-ds-eyebrow {
    color: var(--ds-orange-light);
}

.hc-ds.hc-ds-navy .hc-ds-lead,
.hc-ds.hc-ds-navy .hc-ds-small {
    color: var(--ds-on-dark);
}

.hc-ds.hc-ds-navy a:where(:not(.wp-element-button)) {
    color: var(--ds-orange-light);
}

/* Light grey with dots. */
.hc-ds.hc-ds-dots {
    background-color: #f3f5f7;
}

/* Header sections on inner pages. */
.hc-ds.hc-ds-hero-page {
    padding-top: 88px;
    padding-bottom: 96px;
}

.hc-ds.hc-ds-hero-page.hc-ds-hero-short {
    padding-top: 80px;
    padding-bottom: 80px;
}

.hc-ds.hc-ds-tight-top {
    padding-top: 64px;
}

.hc-ds.hc-ds-tight-bottom {
    padding-bottom: 40px;
}

.hc-ds.hc-ds-flush-top {
    padding-top: 0;
}

/* Cards keep their own colors inside dark sections. */
.hc-ds :where(.hc-ds-card:not(.hc-ds-card-navy)) {
    color: var(--ds-text);
}

.hc-ds.hc-ds-navy .hc-ds-card:not(.hc-ds-card-navy) :where(h2, h3) {
    color: var(--ds-navy);
}

.hc-ds.hc-ds-navy .hc-ds-card:not(.hc-ds-card-navy) .hc-ds-small {
    color: var(--ds-muted);
}

/* ------------------------------------------------------------------
 * 8. More type
 * ------------------------------------------------------------------ */

.hc-ds h2.hc-ds-h2-xs {
    font-size: 28px;
}

.hc-ds h2.hc-ds-h2-card {
    font-size: 28px;
}

.hc-ds .hc-ds-card-navy h2.hc-ds-h2-card {
    font-size: 32px;
    color: #fff;
}

.hc-ds h2.hc-ds-h2-card-sm {
    font-size: 20px;
}

.hc-ds h3.hc-ds-h3-sm {
    font-size: 19px;
}

.hc-ds h3.hc-ds-h3-md {
    font-size: 22px;
}

.hc-ds .hc-ds-muted {
    font-size: 16px;
    color: var(--ds-muted);
}

.hc-ds .hc-ds-soft {
    color: var(--ds-text-soft);
}

.hc-ds .hc-ds-note {
    color: var(--ds-muted);
    font-style: italic;
}

.hc-ds .hc-ds-measure {
    max-width: 860px;
}

.hc-ds .hc-ds-kicker {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ds-orange-text);
}

.hc-ds .hc-ds-price {
    font: 800 30px/1.15 var(--ds-heading);
    color: var(--ds-navy);
}

.hc-ds .hc-ds-price.hc-ds-price-lg {
    font-size: 44px;
}

.hc-ds .hc-ds-statement {
    font: 700 clamp(22px, 2.6vw, 30px)/1.4 var(--ds-heading);
    color: #fff;
}

.hc-ds .hc-ds-text-center {
    text-align: center;
}

.hc-ds .hc-ds-text-center.is-layout-flex {
    align-items: center;
}

.hc-ds.hc-ds-navy.hc-ds-center .hc-ds-lead {
    font-size: 18px;
}

/* Two cards that share the row instead of leaving an empty third column. */
.hc-ds .hc-ds-fit.is-layout-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
}

.hc-ds.hc-ds-center .wp-block-buttons {
    justify-content: center;
}

/* Heading on the left, link on the right. */
.hc-ds .hc-ds-split {
    justify-content: space-between;
}

/* ------------------------------------------------------------------
 * 9. More cards
 * ------------------------------------------------------------------ */

.hc-ds .hc-ds-card.hc-ds-card-lg {
    padding: 36px;
}

.hc-ds .hc-ds-card.hc-ds-card-md {
    padding: 32px;
}

.hc-ds .hc-ds-card.hc-ds-card-accent {
    border: 2px solid var(--ds-orange);
}

.hc-ds .hc-ds-card.hc-ds-card-soft {
    background: var(--ds-light-blue);
    border: 0;
}

.hc-ds .hc-ds-card.hc-ds-card-stat {
    padding: 22px 12px;
    text-align: center;
}

.hc-ds .hc-ds-card-stat .hc-ds-stat {
    font-size: 34px;
}

.hc-ds .hc-ds-card-navy.hc-ds-card-lg {
    padding: 40px;
}

.hc-ds .hc-ds-card-navy .hc-ds-ph {
    min-height: 240px;
    background: #0b4e7e;
    border-color: #5c87a8;
    color: var(--ds-on-dark);
}

.hc-ds .hc-ds-card-navy .wp-block-columns {
    margin: 0;
}

.hc-ds .hc-ds-card.hc-ds-card-link-row {
    padding: 18px 22px;
}

/* Whole-card link: the title link covers the card. */
.hc-ds .hc-ds-card-flush {
    position: relative;
}

.hc-ds .hc-ds-card-flush .hc-ds-label a,
.hc-ds .hc-ds-card-flush .hc-ds-more a {
    text-decoration: none;
}

.hc-ds .hc-ds-card-flush .hc-ds-label a::after {
    content: "";
    position: absolute;
    inset: 0;
}

.hc-ds .hc-ds-card-flush > .hc-ds-label {
    padding-top: 14px;
    font-size: 17px;
}

.hc-ds .hc-ds-card-flush > .hc-ds-kicker {
    padding-top: 16px;
}

.hc-ds .hc-ds-card-flush:hover {
    border-color: #8fa9bf;
}

/* Numbered steps. */
.hc-ds .hc-ds-step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--ds-orange);
    color: var(--ds-navy-dark);
    font: 800 18px/1 var(--ds-heading);
}

/* Stat cards: three across, even on phones. */
.hc-ds .hc-ds-stats.is-layout-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Search channel cards with an icon on the left. */
.hc-ds .hc-ds-card.hc-ds-icon {
    position: relative;
    padding: 20px 22px 20px 62px;
}

.hc-ds .hc-ds-icon::before,
.hc-ds .hc-ds-icon-link::before {
    content: "";
    position: absolute;
    width: 26px;
    height: 26px;
    background: var(--ds-navy);
    -webkit-mask: var(--ds-icon) center / contain no-repeat;
    mask: var(--ds-icon) center / contain no-repeat;
}

.hc-ds .hc-ds-icon::before {
    top: 50%;
    left: 22px;
    transform: translateY(-50%);
}

.hc-ds .hc-ds-icon-spark::before {
    background: var(--ds-orange-text);
}

.hc-ds .hc-ds-icon-search {
    --ds-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-4-4'/%3E%3C/svg%3E");
}

.hc-ds .hc-ds-icon-pin {
    --ds-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5A7 7 0 0 1 19 9.5C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E");
}

.hc-ds .hc-ds-icon-spark {
    --ds-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l1.8 4.7L18.5 9.5l-4.7 1.8L12 16l-1.8-4.7L5.5 9.5l4.7-1.8z'/%3E%3C/svg%3E");
}

.hc-ds .hc-ds-icon-phone {
    --ds-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2'/%3E%3C/svg%3E");
}

.hc-ds .hc-ds-icon-calendar {
    --ds-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E");
}

.hc-ds .hc-ds-icon-mail {
    --ds-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E");
}

/* Contact links with an icon. */
.hc-ds .hc-ds-icon-link {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 44px;
    padding-left: 34px;
    font-weight: 600;
}

.hc-ds .hc-ds-icon-link::before {
    left: 0;
    width: 22px;
    height: 22px;
}

.hc-ds .hc-ds-icon-link a {
    text-decoration: none;
}

/* Project details list in the case study. */
.hc-ds .hc-ds-detail {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 16px;
    font-size: 15px;
}

.hc-ds .hc-ds-detail span {
    color: var(--ds-muted);
}

/* Navy client quote in the case study. */
.hc-ds .wp-block-quote.hc-ds-review.hc-ds-review-navy {
    background: var(--ds-navy);
    border-color: var(--ds-navy);
}

.hc-ds .wp-block-quote.hc-ds-review-navy p {
    font-size: 21px;
    color: #fff;
}

.hc-ds .wp-block-quote.hc-ds-review-navy cite {
    color: var(--ds-on-dark);
}

/* About photo: cut-out on paper, with an orange offset shadow. */
.hc-ds .wp-block-image.hc-ds-photo {
    margin: 0 10px 10px 0;
    max-width: 380px;
    border-radius: 20px;
    overflow: hidden;
    background: var(--ds-light-blue) url("../images/design/paper.webp") repeat;
    box-shadow: 10px 10px 0 var(--ds-orange);
}

.hc-ds .wp-block-image.hc-ds-photo img {
    display: block;
    width: 100%;
    height: auto;
}

/* Placeholder sizes. */
.hc-ds .hc-ds-ph-xl .hc-ds-ph {
    min-height: 460px;
}

.hc-ds.hc-ds-ph-sm .hc-ds-ph {
    min-height: 160px;
}

.hc-ds.hc-ds-hero .hc-ds-ph {
    min-height: 340px;
    background: #fff;
}

.hc-ds.hc-ds-navy .hc-ds-ph {
    min-height: 340px;
    background: #fff;
}

/* ------------------------------------------------------------------
 * 10. Lists, tags and side menu
 * ------------------------------------------------------------------ */

.hc-ds .wp-block-list.hc-ds-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding-left: 22px;
    color: var(--ds-text-soft);
}

.hc-ds .wp-block-list.hc-ds-checks {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hc-ds .hc-ds-checks li {
    position: relative;
    padding-left: 34px;
}

.hc-ds .hc-ds-checks li::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 0;
    width: 22px;
    height: 22px;
    background: var(--ds-orange-text);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.hc-ds .hc-ds-tag {
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--ds-light-blue);
    color: var(--ds-navy);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
}

.hc-ds.hc-ds-paper .hc-ds-tag,
.hc-ds.hc-ds-alaska .hc-ds-tag {
    background: #fff;
}

.hc-ds .hc-ds-side-nav {
    position: sticky;
    top: 110px;
}

.hc-ds .hc-ds-side-link a {
    display: inline-block;
    padding: 6px 0;
    color: var(--ds-text);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

.hc-ds .hc-ds-side-link a:hover {
    color: var(--ds-orange-text);
}

/* Anchors land below the sticky header. */
.hc-ds [id] {
    scroll-margin-top: 100px;
}

.hc-ds .hc-ds-faq-sm .wp-block-details {
    padding: 18px 0;
}

.hc-ds .hc-ds-faq-sm .wp-block-details summary {
    font-size: 18px;
}

/* ------------------------------------------------------------------
 * 11. Request forms (stand-ins until the form plugin is set up)
 * ------------------------------------------------------------------ */

.hc-ds .hc-ds-form-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0;
}

.hc-ds .hc-ds-form-title {
    font-size: 24px;
}

.hc-ds .hc-ds-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hc-ds .hc-ds-field label {
    font-size: 15px;
    font-weight: 600;
}

.hc-ds .hc-ds-field :is(input, select, textarea) {
    min-height: 48px;
    padding: 0 14px;
    border: 1.5px solid #8fa9bf;
    border-radius: 8px;
    background: #fff;
    color: var(--ds-text);
    font: inherit;
    box-sizing: border-box;
}

.hc-ds .hc-ds-field textarea {
    padding: 12px 14px;
    resize: vertical;
}

.hc-ds .hc-ds-field-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.hc-ds .hc-ds-form-card button {
    min-height: 52px;
    width: 100%;
    border: 0;
    border-radius: 8px;
    background: var(--ds-orange);
    color: var(--ds-navy-dark);
    font: 700 16px/1.2 var(--ds-heading);
    cursor: pointer;
}

.hc-ds .hc-ds-form-card button:hover {
    background: #f48a4c;
}

.hc-ds .hc-ds-form-note {
    font-size: 14px;
    color: var(--ds-muted);
    text-align: center;
}

/* ------------------------------------------------------------------
 * 12. Small screens
 * ------------------------------------------------------------------ */

@media (max-width: 781px) {
    .hc-ds {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .hc-ds.hc-ds-hero {
        padding-top: 64px;
        padding-bottom: 72px;
    }

    .hc-ds.hc-ds-alaska {
        padding-bottom: 140px;
    }

    .hc-ds.hc-ds-hero-page,
    .hc-ds.hc-ds-hero-page.hc-ds-hero-short {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .hc-ds .hc-ds-side-nav {
        position: static;
    }

    .hc-ds .hc-ds-card.hc-ds-card-lg,
    .hc-ds .hc-ds-card-navy.hc-ds-card-lg {
        padding: 24px;
    }

    .hc-ds .hc-ds-ph-xl .hc-ds-ph {
        min-height: 260px;
    }
}
