/**
 * Site styles: header, navigation, page heading, footer and the PHP
 * templates (blog, search, 404). Loaded on the front end only.
 *
 * Site design 1. Colors and sizes come from theme.json, mostly
 * settings.custom.header and .footer. Change those first.
 *
 * Breakpoints: 1080px (navigation collapses into the Menu button),
 * 781px (smaller section padding), 400px (smaller logo).
 *
 * Contents
 *   1. Layout
 *   2. Header
 *   3. Navigation (desktop)
 *   4. Navigation (mobile drawer)
 *   5. Transparent header
 *   6. Page heading
 *   7. Footer
 *   8. Templates
 *   9. Guides (blog list and posts)
 */


/* ------------------------------------------------------------------
 * 1. Layout
 * ------------------------------------------------------------------ */

.hc-container {
    width: 100%;
    max-width: calc(var(--wp--style--global--wide-size) + var(--wp--style--root--padding-left) + var(--wp--style--root--padding-right));
    padding-right: var(--wp--style--root--padding-right);
    padding-left: var(--wp--style--root--padding-left);
    margin-right: auto;
    margin-left: auto;
}

/* Keep the footer at the bottom on short pages. */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.hc-main {
    display: block;
    flex: 1 0 auto;
}

/* Sections sit flush against the header and footer. */
.hc-main > article > .entry-content > :first-child {
    margin-block-start: 0;
}

.hc-main > article > .entry-content > :last-child {
    margin-block-end: 0;
}


/* ------------------------------------------------------------------
 * 2. Header
 * White bar: rocket logo, menu, phone number and the orange button.
 * ------------------------------------------------------------------ */

.hc-header {
    position: sticky;
    top: var(--wp-admin--admin-bar--height, 0);
    z-index: 100;
    color: var(--wp--custom--header--text);
    background-color: var(--wp--custom--header--background);
    border-bottom: 1px solid var(--wp--preset--color--border);
    transition: box-shadow var(--wp--custom--transition--base);
}

/* The admin bar stops being fixed on small screens. */
@media (max-width: 600px) {

    .hc-header {
        top: 0;
    }
}

.hc-header.is-scrolled {
    box-shadow: 0 2px 12px rgba(0, 37, 63, 0.08);
}

.hc-header__inner {
    display: flex;
    gap: 12px 24px;
    align-items: center;
    justify-content: space-between;
    min-height: var(--wp--custom--header--height);
}

.hc-header__brand {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
}

a.hc-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.hc-logo__image {
    display: block;
    width: 231px;
    max-width: 100%;
    height: auto;
}

.hc-header__panel {
    display: flex;
    flex: 1 1 auto;
    gap: 12px 26px;
    align-items: center;
    justify-content: flex-end;
}

.hc-header__actions {
    display: flex;
    flex: 0 0 auto;
    gap: 16px;
    align-items: center;
}

a.hc-header__phone {
    padding: 10px 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--wp--preset--color--contrast);
    text-decoration: none;
    white-space: nowrap;
}

a.hc-header__phone:hover {
    color: var(--wp--preset--color--accent-text);
    text-decoration: none;
}

a.hc-header__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    font-family: var(--wp--preset--font-family--heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--wp--preset--color--dark);
    text-decoration: none;
    white-space: nowrap;
    background-color: var(--wp--preset--color--accent);
    border-radius: var(--wp--custom--button--radius);
}

a.hc-header__cta:hover {
    color: var(--wp--preset--color--dark);
    text-decoration: none;
    background-color: var(--wp--preset--color--accent-hover);
}

/* Menu button: hidden on desktop. */
.hc-nav-toggle {
    display: none;
}

@media (max-width: 1080px) {

    .hc-header__inner {
        min-height: var(--wp--custom--header--height-mobile);
    }

    .hc-header__actions {
        flex-wrap: wrap;
    }
}

@media (max-width: 400px) {

    .hc-logo__image {
        width: 190px;
    }
}


/* ------------------------------------------------------------------
 * 3. Navigation (desktop, 1080px and up)
 * ------------------------------------------------------------------ */

.hc-nav__menu,
.hc-nav__menu .sub-menu {
    padding: 0;
    margin: 0;
    list-style: none;
}

.hc-nav__menu a {
    color: inherit;
    text-decoration: none;
}

.hc-nav__menu a:hover {
    text-decoration: none;
}

.hc-submenu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: inherit;
    cursor: pointer;
    background: none;
    border: 0;
}

.hc-submenu-toggle .hc-icon {
    width: 1rem;
    height: 1rem;
    transition: transform var(--wp--custom--transition--fast);
}

.hc-submenu-toggle[aria-expanded="true"] .hc-icon {
    transform: rotate(180deg);
}

@media (min-width: 1081px) {

    .hc-nav__menu {
        display: flex;
        flex-wrap: wrap;
        gap: 0 26px;
        align-items: center;
    }

    .hc-nav__menu li {
        position: relative;
        display: flex;
        align-items: center;
    }

    /* Plain text links that turn orange, as in the design. */
    .hc-nav__menu > li > a {
        padding: 10px 0;
        font-size: 15px;
        font-weight: 600;
        line-height: 1.4;
        transition: color var(--wp--custom--transition--fast);
    }

    .hc-nav__menu > li > a:hover,
    .hc-nav__menu > li:hover > a,
    .hc-nav__menu > li > a[aria-current="page"],
    .hc-nav__menu > li.current-menu-item > a,
    .hc-nav__menu > li.current-menu-ancestor > a {
        color: var(--wp--custom--header--link-hover);
    }

    .hc-nav__menu > li > .hc-submenu-toggle {
        width: 1.5rem;
        height: 2rem;
        margin-left: 2px;
    }

    /* Dropdowns */
    .hc-nav__menu .sub-menu {
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 10;
        display: none;
        min-width: 220px;
        padding: 8px 0;
        border: 1px solid var(--wp--preset--color--border);
        border-radius: var(--wp--custom--radius--small);
        color: var(--wp--custom--header--submenu-text);
        background-color: var(--wp--custom--header--submenu-background);
        box-shadow: 0 12px 28px rgba(0, 37, 63, 0.12);
    }

    .hc-nav__menu li:hover > .sub-menu,
    .hc-nav__menu li:focus-within > .sub-menu,
    .hc-nav__menu .hc-submenu-toggle[aria-expanded="true"] + .sub-menu {
        display: block;
    }

    .hc-nav__menu .sub-menu li {
        justify-content: space-between;
    }

    .hc-nav__menu .sub-menu a {
        flex: 1 1 auto;
        padding: 0.6em 1.2em;
        font-size: 14px;
        font-weight: 400;
        white-space: nowrap;
    }

    .hc-nav__menu .sub-menu a:hover,
    .hc-nav__menu .sub-menu a[aria-current="page"] {
        background-color: var(--wp--custom--header--submenu-hover);
    }

    .hc-nav__menu .sub-menu .hc-submenu-toggle {
        width: 2rem;
        height: 2rem;
        margin-right: 0.5rem;
    }

    .hc-nav__menu .sub-menu .hc-submenu-toggle .hc-icon {
        transform: rotate(-90deg);
    }

    .hc-nav__menu .sub-menu .sub-menu {
        top: calc(var(--wp--preset--spacing--10) * -1);
        left: 100%;
    }

    /* site.js adds .is-flipped when a flyout would leave the screen. */
    .hc-nav__menu .sub-menu.is-flipped {
        right: 0;
        left: auto;
    }

    .hc-nav__menu .sub-menu .sub-menu.is-flipped {
        right: 100%;
    }
}


/* ------------------------------------------------------------------
 * 4. Navigation (mobile drawer, 1080px and below)
 * ------------------------------------------------------------------ */

@media (max-width: 1080px) {

    .hc-nav-toggle {
        display: inline-flex;
        flex: 0 0 auto;
        gap: 0.6em;
        align-items: center;
        justify-content: center;
        min-width: 44px;
        height: 44px;
        padding: 0 0.9em;
        font-family: inherit;
        font-size: 14px;
        color: inherit;
        cursor: pointer;
        background: none;
        border: 0;
        border: 1px solid var(--wp--preset--color--border);
        border-radius: var(--wp--custom--radius--small);
    }

    /* Three bars drawn with one span and two pseudo-elements. */
    .hc-nav-toggle__bars,
    .hc-nav-toggle__bars::before,
    .hc-nav-toggle__bars::after {
        display: block;
        width: 18px;
        height: 2px;
        background-color: currentcolor;
        border-radius: 2px;
        transition: transform var(--wp--custom--transition--fast), opacity var(--wp--custom--transition--fast);
    }

    .hc-nav-toggle__bars {
        position: relative;
    }

    .hc-nav-toggle__bars::before,
    .hc-nav-toggle__bars::after {
        position: absolute;
        left: 0;
        content: "";
    }

    .hc-nav-toggle__bars::before {
        top: -6px;
    }

    .hc-nav-toggle__bars::after {
        top: 6px;
    }

    .hc-nav-toggle[aria-expanded="true"] .hc-nav-toggle__bars {
        background-color: transparent;
    }

    .hc-nav-toggle[aria-expanded="true"] .hc-nav-toggle__bars::before {
        transform: translateY(6px) rotate(45deg);
    }

    .hc-nav-toggle[aria-expanded="true"] .hc-nav-toggle__bars::after {
        transform: translateY(-6px) rotate(-45deg);
    }

    /* Drawer: full screen below the header. */
    .hc-header__panel {
        position: fixed;
        top: var(--hc-header-bottom, var(--wp--custom--header--height-mobile));
        right: 0;
        bottom: 0;
        left: 0;
        display: none;
        flex-direction: column;
        gap: var(--wp--preset--spacing--30);
        align-items: stretch;
        justify-content: flex-start;
        padding: var(--wp--preset--spacing--20) var(--wp--style--root--padding-right) var(--wp--preset--spacing--50) var(--wp--style--root--padding-left);
        overflow-y: auto;
        overscroll-behavior: contain;
        background-color: var(--wp--custom--header--background);
        border-top: 1px solid var(--wp--preset--color--border);
    }

    .hc-header__actions {
        flex-direction: column;
        align-items: stretch;
    }

    a.hc-header__phone {
        font-size: 17px;
    }

    .hc-header.is-open .hc-header__panel {
        display: flex;
    }

    .hc-nav__menu li {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        border-bottom: 1px solid var(--wp--preset--color--border);
    }

    .hc-nav__menu a {
        display: block;
        padding: 0.9rem 0;
        font-size: 17px;
        font-weight: 600;
    }

    .hc-nav__menu a[aria-current="page"] {
        color: var(--wp--custom--header--link-hover);
    }

    .hc-submenu-toggle {
        width: 44px;
        height: 44px;
    }

    .hc-nav__menu .sub-menu {
        display: none;
        grid-column: 1 / -1;
        padding-bottom: var(--wp--preset--spacing--20);
        padding-left: var(--wp--preset--spacing--30);
    }

    .hc-submenu-toggle[aria-expanded="true"] + .sub-menu {
        display: block;
    }

    .hc-nav__menu .sub-menu li {
        border-bottom: 0;
    }

    .hc-nav__menu .sub-menu a {
        padding: 0.6rem 0;
        font-size: 14px;
    }

    body.hc-menu-open {
        overflow: hidden;
    }
}


/* ------------------------------------------------------------------
 * 5. Transparent header
 * Turned on per page in the editor: Page > Page Settings.
 * ------------------------------------------------------------------ */

.has-transparent-header .hc-header {
    position: fixed;
    right: 0;
    left: 0;
    background-color: transparent;
}

.has-transparent-header .hc-header.is-scrolled,
.has-transparent-header .hc-header.is-open {
    background-color: var(--wp--custom--header--background);
}


/* ------------------------------------------------------------------
 * 6. Page heading
 * Navy band with topo lines, for archives, search, posts without their own
 * header section and pages that don't start with a design section.
 * ------------------------------------------------------------------ */

.hc-page-heading {
    color: var(--wp--preset--color--light-text);
    background: var(--wp--preset--color--primary) url("../images/design/topo-navy.webp") center / cover no-repeat;
}

.hc-page-heading__inner {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding-top: 88px;
    padding-bottom: 88px;
}

.hc-page-heading__eyebrow {
    margin: 0;
    font-family: var(--wp--preset--font-family--heading);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.12em;
    color: #ffb98f;
    text-transform: uppercase;
}

.hc-page-heading__title {
    max-width: 860px;
    margin: 0;
    font-size: clamp(36px, 4.6vw, 56px);
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
}

.hc-page-heading__lead {
    max-width: 720px;
    margin: 0;
    font-size: 19px;
    color: var(--wp--preset--color--light-text);
}

.hc-page-heading__lead p {
    margin: 0;
}

.hc-breadcrumbs {
    font-size: 13px;
    color: var(--wp--preset--color--light-text);
}

.hc-breadcrumbs a {
    color: inherit;
}

.hc-breadcrumbs a:hover {
    color: #fff;
}

@media (max-width: 781px) {

    .hc-page-heading__inner {
        padding-top: 64px;
        padding-bottom: 64px;
    }
}


/* ------------------------------------------------------------------
 * 7. Footer
 * Navy: logo and tagline, two menus, contact, then the copyright line.
 * ------------------------------------------------------------------ */

.hc-footer {
    position: relative;
    padding: 64px 0 32px;
    font-size: 15px;
    color: var(--wp--custom--footer--text);
    background-color: var(--wp--custom--footer--background);
}

.hc-footer__main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
}

.hc-footer__column {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hc-footer__column--brand {
    gap: 14px;
}

.hc-footer .hc-logo--footer {
    margin: 0;
}

.hc-footer__tagline p {
    margin: 0;
}

.hc-footer__heading {
    margin: 0 0 4px;
    font-family: var(--wp--preset--font-family--heading);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--wp--custom--footer--heading);
}

.hc-footer__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.hc-footer a {
    color: var(--wp--custom--footer--link);
    text-decoration: none;
}

.hc-footer a:hover {
    color: var(--wp--custom--footer--link-hover);
    text-decoration: none;
}

.hc-footer a.hc-footer__inline-link {
    text-decoration: underline;
}

.hc-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    padding-top: 24px;
    margin-top: 40px;
    font-size: 14px;
    border-top: 1px solid var(--wp--custom--footer--divider);
}

.hc-footer__copyright {
    margin: 0;
}

/* Back to top: orange tab in the bottom corner. */
.hc-top-of-page {
    position: fixed;
    bottom: 0;
    left: 2%;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.6em;
    height: 2.6em;
    color: #d5d5d5;
    pointer-events: none;
    background-color: var(--wp--preset--color--accent);
    border-radius: 50% 50% 0 0;
    opacity: 0;
    transition: opacity var(--wp--custom--transition--base);
}

.hc-top-of-page.is-visible {
    pointer-events: auto;
    opacity: 0.5;
}

.hc-top-of-page.is-visible:hover,
.hc-top-of-page.is-visible:focus-visible {
    opacity: 0.9;
}

a.hc-top-of-page,
a.hc-top-of-page:hover {
    color: var(--wp--preset--color--base);
}

.hc-top-of-page__icon {
    width: 1.2em;
    height: 1.2em;
    transform: rotate(180deg);
}

@media (max-width: 1024px) {

    .hc-top-of-page {
        right: 2%;
        left: auto;
    }
}


/* ------------------------------------------------------------------
 * 8. Templates (archive, search, single post, project, 404)
 * ------------------------------------------------------------------ */

.hc-template {
    padding-top: var(--wp--preset--spacing--50);
    padding-bottom: var(--wp--preset--spacing--60);
}

.hc-template__search {
    margin-bottom: var(--wp--preset--spacing--50);
}

.hc-template__description {
    margin: 0 0 var(--wp--preset--spacing--30);
}

.hc-template__description p {
    margin: 0;
}

.hc-single__header {
    padding-top: var(--wp--preset--spacing--40);
}

.hc-single__meta {
    margin: 0;
    font-size: var(--wp--preset--font-size--small);
    color: var(--wp--preset--color--muted);
}

.hc-single__media {
    margin: var(--wp--preset--spacing--30) auto;
}

.hc-single__media img {
    display: block;
    width: 100%;
    height: auto;
}

.hc-single .entry-content {
    padding-bottom: var(--wp--preset--spacing--60);
}

/* Pages without full-width sections still get breathing room. */
.hc-main > article:not(.hc-project):not(.hc-article) > .entry-content > :is(p, ul, ol, h2, h3, h4):first-child {
    margin-top: var(--wp--preset--spacing--50);
}

.hc-project__nav {
    display: flex;
    flex-wrap: wrap;
    gap: var(--wp--preset--spacing--20);
    justify-content: space-between;
    padding-top: var(--wp--preset--spacing--40);
    padding-bottom: var(--wp--preset--spacing--50);
}

a.hc-project__nav-link {
    padding: 0.6em 1.2em;
    color: var(--wp--preset--color--base);
    background-color: var(--wp--preset--color--accent);
    border-radius: var(--wp--custom--radius--small);
}

a.hc-project__nav-link:hover {
    color: var(--wp--preset--color--base);
    text-decoration: none;
    background-color: var(--wp--preset--color--accent-hover);
}

.hc-project__nav-link--next {
    margin-left: auto;
}


/* ------------------------------------------------------------------
 * 9. Guides (blog list and posts)
 * ------------------------------------------------------------------ */

.hc-guides .hc-template {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding-top: 64px;
    padding-bottom: 88px;
}

.hc-guide-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--wp--preset--color--base);
    border: 1px solid var(--wp--preset--color--border);
    border-radius: var(--wp--custom--radius--medium);
}

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

.hc-guide-card__media {
    min-height: 180px;
    background: var(--wp--preset--color--surface-alt);
}

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

.hc-guide-card__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 22px;
}

.hc-guide-card__body > * {
    margin: 0;
}

.hc-guide-card__kicker {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--wp--preset--color--accent-text);
    text-transform: uppercase;
}

.hc-guide-card__title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.hc-guide-card__title a {
    color: var(--wp--preset--color--primary);
    text-decoration: none;
}

/* The title link covers the whole card. */
.hc-guide-card__title a::after {
    position: absolute;
    inset: 0;
    content: "";
}

.hc-guide-card__excerpt {
    color: var(--wp--preset--color--muted);
}

.hc-guide-card__excerpt p {
    margin: 0;
}

.hc-guide-card__more {
    font-size: 15px;
    font-weight: 700;
    color: var(--wp--preset--color--primary);
}

.hc-guide-card:hover .hc-guide-card__more {
    color: var(--wp--preset--color--accent-text);
}

.hc-guide-card--featured {
    flex-flow: row wrap;
}

.hc-guide-card--featured .hc-guide-card__media {
    flex: 1 1 420px;
    min-height: 300px;
}

.hc-guide-card--featured .hc-guide-card__body {
    flex: 1 1 420px;
    gap: 12px;
    justify-content: center;
    min-width: 0;
    padding: 36px;
}

.hc-guide-card--featured .hc-guide-card__title {
    font-size: 30px;
    font-weight: 800;
    line-height: 1.2;
}

.hc-guide-card--featured .hc-guide-card__more {
    font-size: 17px;
}

.hc-guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

/* Rocket call-to-action band at the end of the blog templates. */
.hc-ds.hc-ds-space-img {
    background: var(--wp--preset--color--primary) url("../images/design/rocket.webp") center / auto 88% no-repeat;
}

.hc-cta-band {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.hc-cta-band__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

/* A single post. */
.hc-article__header {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: calc(780px + var(--wp--style--root--padding-left) + var(--wp--style--root--padding-right));
    padding-top: 72px;
}

.hc-article__header > * {
    margin: 0;
}

.hc-article__back a {
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.hc-article__kicker {
    font-family: var(--wp--preset--font-family--heading);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.12em;
    color: var(--wp--preset--color--accent-text);
    text-transform: uppercase;
}

.hc-article__title {
    font-size: clamp(34px, 4.4vw, 52px);
    font-weight: 800;
    line-height: 1.15;
}

.hc-article__meta {
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 15px;
    color: var(--wp--preset--color--muted);
}

.hc-article__avatar {
    display: block;
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

.hc-article__media {
    max-width: calc(1000px + var(--wp--style--root--padding-left) + var(--wp--style--root--padding-right));
    margin: 36px auto 0;
}

.hc-article__media img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--wp--custom--radius--medium);
}

/* The article text: a narrow, roomy column. */
.hc-article__content {
    --wp--style--global--content-size: 780px;
    padding-top: 40px;
    font-size: 18px;
    line-height: 1.75;
}

.hc-article__content > * + * {
    margin-block-start: 22px;
}

.hc-article__content :is(h2, h3) {
    margin-block-start: 34px;
}

.hc-article__content h2 {
    font-size: 28px;
    font-weight: 800;
}

.hc-article__content h3 {
    font-size: 22px;
    font-weight: 700;
}

.hc-article__content :is(ul, ol) {
    padding-left: 24px;
}

.hc-article__content li + li {
    margin-top: 10px;
}

.hc-article__content blockquote,
.hc-article__content .wp-block-quote {
    padding: 24px 28px;
    margin-inline: 0;
    font-family: var(--wp--preset--font-family--heading);
    font-size: 21px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--wp--preset--color--primary);
    background: var(--wp--preset--color--surface);
    border: 0;
    border-radius: var(--wp--custom--radius--medium);
}

.hc-article__content blockquote p {
    margin: 0;
}

.hc-article__content blockquote cite {
    display: block;
    margin-top: 10px;
    font-family: var(--wp--preset--font-family--body);
    font-size: 15px;
    font-style: normal;
    font-weight: 600;
    color: var(--wp--preset--color--muted);
}

.hc-article__cta {
    max-width: calc(780px + var(--wp--style--root--padding-left) + var(--wp--style--root--padding-right));
    padding-top: 20px;
    padding-bottom: 88px;
}

.hc-article__cta-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 28px;
    color: var(--wp--preset--color--light-text);
    background: var(--wp--preset--color--primary);
    border-radius: var(--wp--custom--radius--medium);
}

.hc-article__cta-card > * {
    margin: 0;
}

.hc-article__cta-card h2 {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
}

.hc-article__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

a.hc-article__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    font-family: var(--wp--preset--font-family--heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--wp--preset--color--dark);
    text-decoration: none;
    background: var(--wp--preset--color--accent);
    border-radius: var(--wp--custom--button--radius);
}

a.hc-article__button:hover {
    color: var(--wp--preset--color--dark);
    text-decoration: none;
    background: var(--wp--preset--color--accent-hover);
}

a.hc-article__button--outline {
    color: var(--wp--preset--color--primary);
    background: #fff;
    border: 2px solid var(--wp--preset--color--primary);
}

a.hc-article__button--outline:hover {
    color: var(--wp--preset--color--primary);
    background: var(--wp--preset--color--surface);
}

/* Keep reading: three more posts on the paper texture. */
.hc-keep-reading {
    padding: 88px 0;
    background: var(--wp--preset--color--surface) url("../images/design/paper.webp") repeat;
}

.hc-keep-reading__title {
    margin: 0 0 24px;
    font-size: 26px;
    font-weight: 800;
}

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

a.hc-keep-reading__card {
    padding: 28px;
    font-family: var(--wp--preset--font-family--heading);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--wp--preset--color--primary);
    text-decoration: none;
    background: var(--wp--preset--color--base);
    border: 1px solid var(--wp--preset--color--border);
    border-radius: var(--wp--custom--radius--medium);
}

a.hc-keep-reading__card:hover {
    color: var(--wp--preset--color--accent-text);
    text-decoration: none;
    border-color: #8fa9bf;
}

@media (max-width: 781px) {

    .hc-guide-card--featured .hc-guide-card__body {
        padding: 24px;
    }

    .hc-guide-card--featured .hc-guide-card__title {
        font-size: 24px;
    }

    .hc-article__header {
        padding-top: 48px;
    }
}
