/* =========================================================
   ActiFi — static rebuild of the WordPress theme
   Palette / type scale lifted from the original theme CSS
   ========================================================= */

:root {
    --navy: #003a70;
    --blue: #236092;
    --cyan: #00b4ff;
    --yellow: #fece00;
    --slate: #495867;
    --pale: #ecf8fe;
    --border: #ccc;
    --white: #fff;

    --gradient: linear-gradient(to right, var(--navy) 30%, var(--blue) 100%);
    --gradient-flat: linear-gradient(to right, var(--navy) 0, var(--blue) 100%);
    --gradient-diag: linear-gradient(20deg, var(--navy) 30%, var(--blue) 100%);

    --header-h: 74px;
}

/* ---------- reset ---------- */
*, *::before, *::after {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    overflow-x: hidden;
    color: var(--slate);
    font-family: Roboto, Arial, Helvetica, sans-serif;
    line-height: 1.5;
    background: var(--white);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

button {
    font: inherit;
    outline: 0;
}

a[href^="tel"] {
    color: inherit;
    text-decoration: none;
}

/* ---------- typography ---------- */
h1, h2, h3, .h3, .h4, .h5 {
    font-family: Montserrat, sans-serif;
    color: var(--navy);
    margin: 0;
}

h1 {
    font-size: 60px;
    line-height: 1.2;
    font-weight: 700;
}

h2 {
    font-size: 46px;
    line-height: 1.15em;
    font-weight: 600;
}

h3, .h3, .h3 * {
    font-size: 28px;
    line-height: 1.3;
    font-weight: 700;
}

.h4 {
    font-size: 24px;
    line-height: 1.2em;
    font-weight: 700;
}

.h5 {
    font-size: 18px;
    line-height: 1.4em;
    font-weight: 700;
}

.text, .text p, p {
    font-size: 16px;
    line-height: 1.5em;
    font-family: Roboto, sans-serif;
    font-weight: 400;
    margin: 0 0 20px;
}

.text p:last-child, p:last-of-type {
    margin-bottom: 0;
}

.text--large, .text--large p {
    font-size: 24px;
}

.label {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--navy);
    font-family: Roboto, sans-serif;
}

a {
    color: var(--navy);
}

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

.text--white, .text--white * {
    color: var(--white);
}

.rel {
    position: relative;
}

.z10 {
    z-index: 10;
}

@media screen and (max-width: 1024px) {
    h1 { font-size: 50px; }
}

@media screen and (max-width: 640px) {
    h1 { font-size: 46px; }
    h2 { font-size: 40px; }
    h3, .h3, .h3 * { font-size: 23px; }
    .h4 { font-size: 21px; }
    .h5 { font-size: 18px; }
    .text--large, .text--large p { font-size: 21px; }
}

/* ---------- layout ---------- */
.row {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.row.max--1024 { max-width: 1024px; }
.row.max--900  { max-width: 900px; }
.row.max--700  { max-width: 700px; }
.max--900      { max-width: 900px; margin-left: auto; margin-right: auto; }

.grid {
    display: grid;
    gap: 40px;
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

@media screen and (max-width: 1024px) {
    .grid--2, .grid--3 { grid-template-columns: 1fr; }
}

.section-pad { padding-top: 100px; }

.bg-color {
    margin-top: 100px;
    padding-top: 100px;
    padding-bottom: 100px;
}

.bg-color + .bg-color,
.bg-color + .footer { margin-top: 0; }

@media screen and (max-width: 640px) {
    .section-pad { padding-top: 40px; }
    .bg-color { margin-top: 40px; padding-top: 40px; padding-bottom: 40px; }
}

.m-t-5   { margin-top: 5px !important; }
.m-t-10  { margin-top: 10px !important; }
.m-t-15  { margin-top: 15px !important; }
.m-t-20  { margin-top: 20px !important; }
.m-t-30  { margin-top: 30px !important; }
.m-b-10  { margin-bottom: 10px !important; }
.m-b-20  { margin-bottom: 20px !important; }

main { position: relative; z-index: 5; }
main section { position: relative; z-index: 5; }

/* ---------- skip link ---------- */
.skip-link {
    position: absolute;
    left: -9999rem;
    top: 2.5rem;
    z-index: 999999999;
}

.skip-link:focus {
    left: 6px;
    top: 7px;
    background: #f7f7f7;
    padding: 15px 23px 14px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 3px;
}

/* visually hidden, still read by screen readers.
   The markup uses the theme's .screen-reader-text convention; without this rule
   the label renders as real text and knocks its field out of alignment. */
.screen-reader-text {
    border: 0;
    clip-path: inset(50%);
    height: 1px;
    width: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    white-space: nowrap;
}

.screen-reader-text:focus {
    clip-path: none;
    height: auto;
    width: auto;
    margin: 0;
    position: static !important;
    background: #f7f7f7;
    border-radius: 3px;
    padding: 15px 23px 14px;
    font-size: 14px;
    font-weight: 700;
}

/* ---------- buttons ---------- */
.button {
    color: var(--navy);
    border: 2px solid var(--yellow);
    padding: 10px 25px;
    background: var(--yellow);
    transition: .25s ease-out;
    font-weight: 700;
    font-size: 16px;
    font-family: Roboto, sans-serif;
    display: inline-block;
    cursor: pointer;
    text-decoration: none;
    text-transform: uppercase;
    line-height: 1;
}

.button:hover {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

.button:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.button:disabled:hover {
    background: var(--yellow);
    color: var(--navy);
    border-color: var(--yellow);
}

.button.button--ghost {
    border: 5px solid var(--yellow);
    background: none;
}

.button.button--ghost:hover {
    border-color: var(--navy);
    background: var(--navy);
    color: var(--white);
}

.button.button--video {
    padding: 10px 45px 10px 25px;
    position: relative;
}

.button.button--video::before {
    content: "";
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    background: currentColor;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
}

@media screen and (max-width: 640px) {
    .button { font-size: 14px; }
}

/* ---------- header ---------- */
#topNav {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 15;
    background: var(--white);
    padding: 15px 2rem;
    border-bottom: 1px solid #ddd;
}

#topNav .mobile-header { display: none; }

#topNav .desktop-header .header__wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#topNav .logo img { height: 40px; width: auto; }

#topNav .nav .menu {
    display: flex;
    align-items: center;
}

#topNav .nav .menu-item {
    padding: 10px 0;
    margin: 0 0 0 20px;
}

#topNav .nav .menu-item a {
    font-size: 16px;
    font-weight: 600;
    font-family: Roboto, sans-serif;
    text-decoration: none;
    color: var(--navy);
    letter-spacing: 1px;
    transition: color .25s;
}

#topNav .button.button--ghost {
    border: none;
    padding: 0;
    letter-spacing: 0;
}

#topNav .button.button--ghost:hover { background: none; }

#topNav .button.button--ghost a {
    border: 4px solid var(--yellow);
    padding: 8px 15px;
    display: inline-block;
    transition: .25s ease-out;
}

#topNav .button.button--ghost a:hover {
    background: var(--navy);
    color: var(--white);
}

/* hamburger */
.hamburger {
    padding: 7px 5px 3px;
    display: inline-block;
    cursor: pointer;
    background: none;
    border: 0;
    margin: 0;
}

.hamburger:hover { opacity: .7; }

.hamburger-box {
    width: 30px;
    height: 24px;
    display: inline-block;
    position: relative;
}

.hamburger-inner,
.hamburger-inner::after,
.hamburger-inner::before {
    width: 30px;
    height: 2px;
    background-color: var(--navy);
    border-radius: 4px;
    position: absolute;
    transition: transform .15s ease;
}

.hamburger-inner {
    display: block;
    top: 50%;
    margin-top: -1px;
}

.hamburger-inner::after,
.hamburger-inner::before {
    content: "";
    display: block;
}

.hamburger-inner::before { top: -10px; }
.hamburger-inner::after  { bottom: -10px; }

.hamburger.is-active .hamburger-inner { background-color: transparent; }
.hamburger.is-active .hamburger-inner::before { transform: translate3d(0, 10px, 0) rotate(45deg); }
.hamburger.is-active .hamburger-inner::after  { transform: translate3d(0, -10px, 0) rotate(-45deg); }

@media screen and (max-width: 1024px) {
    #topNav {
        padding: 0;
        position: fixed;
    }

    #topNav .mobile-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: relative;
        z-index: 9;
        padding: 10px 1.25rem;
    }

    #topNav .mobile-header .logo img {
        height: 27px;
        margin: 5px 0;
    }

    #topNav .desktop-header { display: block; }
    #topNav .header--left, #topNav .header__logo { display: none; }

    #topNav .header--right {
        width: 100%;
        background: var(--gradient);
    }

    #topNav .nav { display: none; }
    #topNav.is-active .nav { display: block; }

    #topNav .nav .menu {
        display: block;
        padding: 30px 0;
    }

    #topNav .nav .menu-item {
        padding: 0;
        margin: 0 1rem 15px;
    }

    #topNav .nav .menu-item a {
        display: block;
        color: var(--white);
    }

    main { margin-top: 47px; }
}

/* ---------- jump nav ---------- */
.jump-nav {
    padding: 3px 2rem;
    background: var(--gradient);
    position: sticky;
    top: var(--header-h);
    left: 0;
    z-index: 14;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--white);
}

.jump-nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: .2s ease-out;
    padding: 10px 0;
}

.jump-nav a:hover { color: var(--yellow); }

.jump-nav a.active-jump {
    color: var(--yellow);
    box-shadow: 0 3px 0 0 var(--yellow);
}

@media screen and (max-width: 1024px) {
    .jump-nav { display: none; }
}

/* ---------- animated word highlight ---------- */
.highlight-wrap { position: relative; }

.highlight {
    position: relative;
    z-index: 6;
    display: inline-block;
    padding: 0 10px;
    transition: color .3s ease-out .45s;
}

.highlight-bg, .highlight-bg2, .highlight-bg3 {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    transform-origin: left;
    transform: scaleX(0);
    transition: transform .4s ease-out;
}

/* stacking matches the theme: navy sweeps in underneath, then mid-blue over it,
   then cyan on top — so the highlight settles on light blue, not navy */
.highlight-bg  { background: var(--navy); z-index: 1; }
.highlight-bg2 { background: var(--blue); z-index: 2; transition-delay: .15s; }
.highlight-bg3 { background: var(--cyan); z-index: 3; transition-delay: .3s; }

.is-lit .highlight-bg,
.is-lit .highlight-bg2,
.is-lit .highlight-bg3 { transform: scaleX(1); }

.is-lit .highlight { color: var(--white); }

/* ---------- hero ---------- */
.hero {
    margin-top: 0;
    padding: 0;
    position: relative;
}

.hero h1, .hero h1 * { color: var(--navy); }

.hero .info {
    position: absolute;
    top: 50%;
    left: calc(50% - 600px);
    width: 420px;
    transform: translateY(-50%);
    z-index: 10;
}

.hero .overlay--white {
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    z-index: 5;
    background: linear-gradient(to right, #fff 40%, rgba(255, 255, 255, 0) 100%);
}

.hero .image-hero__wrap {
    width: 100%;
    height: calc(100vh - 130px);
    background: var(--slate);
    overflow: hidden;
    z-index: 1;
}

.hero .image-hero__wrap img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    object-position: center;
}

.hero .hero__svg {
    position: absolute;
    bottom: 100px;
    left: calc(50% - 100px);
    z-index: 7;
}

@media screen and (max-width: 1320px) {
    .hero .info { left: calc(2% + 1rem); }
}

@media screen and (max-width: 1024px) {
    .hero .info {
        position: relative;
        left: unset;
        top: unset;
        transform: none;
        padding: 40px 0 0;
        margin: 0 auto;
        width: 600px;
        max-width: calc(100% - 2rem);
    }

    .hero .overlay--white { display: none; }

    .hero .image-hero__wrap {
        height: 500px;
        position: relative;
    }

    .hero .image-hero__wrap::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        background: linear-gradient(to bottom, #fff 0, rgba(255, 255, 255, 0) 100%);
        height: 60px;
        width: 100%;
        z-index: 5;
    }

    .hero .hero__svg {
        bottom: 40px;
        left: calc(50% - 200px);
    }
}

@media screen and (max-width: 640px) {
    .hero .image-hero__wrap { height: 300px; }
    .hero .image-hero__wrap img { object-position: center top; }
    .hero .hero__svg { left: calc(50% - 140px); bottom: 20px; }
    .hero .hero__svg img { height: 270px; width: auto; }
}

/* ---------- about / paragraph ---------- */
.paragraph {
    position: relative;
    overflow: hidden;
    background: var(--gradient-diag);
    padding-bottom: 120px;
}

.paragraph::after {
    content: "";
    position: absolute;
    bottom: 45px;
    left: calc(50% - 18px);
    width: 36px;
    height: 19px;
    background: var(--white);
    clip-path: polygon(0 0, 50% 100%, 100% 0, 100% 25%, 50% 100%, 0 25%);
}

/* ---------- icon cards row ---------- */
.cards-icon-row, .cards-icon-repeater, .tabs, .quiz, .image-path, .team-row, .contact-form {
    scroll-margin-top: 110px;
}

.cards-icon-row .card-row {
    text-align: center;
    margin-top: 40px;
}

.cards-icon-row .card {
    position: relative;
    height: 100%;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
}

.cards-icon-row .card .icon img {
    margin: 0 auto;
    height: 164px;
    width: auto;
}

.cards-icon-row .card .text { flex: 1; }

.cards-icon-row .card .button { align-self: center; }

@media screen and (max-width: 1024px) {
    .cards-icon-row .card { padding: 0; }
}

/* ---------- edition cards ---------- */
.cards-icon-repeater .card-section__title { margin-top: 60px; margin-bottom: 40px; }

.cards-icon-repeater .card__wrap {
    padding-top: 92px;
    height: 100%;
}

.cards-icon-repeater .card {
    height: 100%;
    border: 3px solid var(--navy);
    padding: 100px 40px 40px;
    position: relative;
    text-align: center;
}

.cards-icon-repeater .icon {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--white);
    padding: 20px;
}

.cards-icon-repeater .icon img { width: 140px; height: auto; }

.cards-icon-repeater .list { text-align: left; }

.cards-icon-repeater .list ul li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 30px;
    line-height: 1.2em;
}

.cards-icon-repeater .list ul li:last-child { margin-bottom: 0; }

.cards-icon-repeater .list ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: -3px;
    width: 25px;
    height: 25px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26'%3E%3Cpath fill='%2300B4FF' d='M13 .5C6.1.5.5 6.1.5 13S6.1 25.5 13 25.5 25.5 19.9 25.5 13 19.9.5 13 .5zm0 22.7C7.4 23.2 2.8 18.6 2.8 13S7.4 2.8 13 2.8 23.2 7.4 23.2 13 18.6 23.2 13 23.2z'/%3E%3Cpath fill='%2300B4FF' d='M17.9 8.5l-6.4 6.4-2.3-2.3c-.5-.5-1.2-.5-1.7 0s-.5 1.2 0 1.7l3.1 3.1c.5.5 1.2.5 1.7 0l7.3-7.3c.5-.5.5-1.2 0-1.7s-1.2-.4-1.7.1z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

@media screen and (max-width: 640px) {
    .cards-icon-repeater .card { padding: 100px 30px 30px; }
    .cards-icon-repeater .card-section__title { margin-top: 30px; }
}

/* ---------- bullet list (hero-style) ---------- */
.info ul li {
    padding: 3px 0 3px 23px;
    line-height: 1.3em;
    position: relative;
    margin-bottom: 10px;
    font-weight: 700;
}

.info ul li::before {
    content: "";
    position: absolute;
    top: 11px;
    left: 0;
    width: 11px;
    height: 11px;
    border-radius: 11px;
    background: var(--yellow);
}

/* ---------- tabs ---------- */
.tabs { background: var(--gradient); }

.tabs h2, .tabs h2 * { color: var(--white); }

.r-tabs-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.r-tabs-tab {
    display: block;
    border: 2px solid var(--yellow);
    border-top-width: 4px;
    border-bottom-width: 4px;
    flex: 1;
    text-align: center;
}

.r-tabs-tab:first-child { border-left-width: 4px; }
.r-tabs-tab:last-child  { border-right-width: 4px; }

.tab-link {
    display: block;
    text-decoration: none;
    padding: 20px;
    text-transform: uppercase;
    color: var(--white);
}

.r-tabs-tab.is-active { background: var(--yellow); }
.r-tabs-tab.is-active .tab-link { color: var(--navy); }

.r-tabs-panel {
    padding: 15px 15px 160px;
    display: none;
    position: relative;
}

.r-tabs-panel.is-active { display: block; }

.r-tabs-accordion-title { display: none; }

.tab-heading { margin: 30px 0 0; }

.tabs .tab__content {
    padding-top: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

.tabs .tab__content img { width: 100%; max-width: 420px; }

.tabs .slider { position: relative; }

.tabs .slides { position: relative; }

.tabs .slide {
    display: none;
    animation: fade-in .35s ease-out;
}

.tabs .slide.is-active { display: block; }

@keyframes fade-in {
    from { opacity: 0; transform: translateX(20px); }
    to   { opacity: 1; transform: none; }
}

.tabs .controls-container {
    position: relative;
    width: 160px;
    margin-top: 20px;
}

.tabs .button-controls {
    width: 160px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tabs .prev-button, .tabs .next-button {
    cursor: pointer;
    background: none;
    border: 0;
    width: 24px;
    height: 34px;
    padding: 0;
    position: relative;
}

.tabs .prev-button::before, .tabs .next-button::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--yellow);
    clip-path: polygon(100% 0, 100% 20%, 40% 50%, 100% 80%, 100% 100%, 0 50%);
}

.tabs .next-button::before { transform: scaleX(-1); }

.tabs .nav-buttons {
    display: flex;
    justify-content: center;
}

.tabs .nav-buttons__pager {
    width: 15px;
    height: 15px;
    border-radius: 100%;
    border: 2px solid var(--yellow);
    margin: 0 6px;
    cursor: pointer;
    background: none;
    padding: 0;
}

.tabs .nav-buttons__pager.is-active { background: var(--yellow); }

.tabs .slider-cta {
    position: absolute;
    bottom: 15px;
    left: calc(50% + 1rem);
    width: 50%;
    max-width: 400px;
    z-index: 10;
}

@media screen and (max-width: 1024px) {
    .r-tabs-nav { display: none; }

    .r-tabs-accordion-title {
        display: block;
        border: 2px solid var(--yellow);
        background: var(--yellow);
        padding: 15px;
        margin-top: 10px;
    }

    .r-tabs-accordion-title:first-of-type { margin-top: 40px; }

    .r-tabs-accordion-title a {
        color: var(--navy);
        text-decoration: none;
        font-family: Roboto, sans-serif;
        font-size: 16px;
        font-weight: 700;
        display: block;
        position: relative;
        text-transform: uppercase;
        padding-right: 30px;
    }

    .r-tabs-accordion-title a::before {
        content: "";
        width: 16px;
        height: 10px;
        transition: .25s ease-out;
        background: var(--navy);
        clip-path: polygon(0 0, 100% 0, 50% 100%);
        position: absolute;
        top: 50%;
        right: 0;
        transform: translateY(-50%);
    }

    .r-tabs-accordion-title.is-active a::before { transform: translateY(-50%) rotate(180deg); }

    .r-tabs-panel { padding: 0; }

    .tabs .tab__content { grid-template-columns: 1fr; }
    .tabs .tab__content img { margin: 0 auto 20px; }

    .tabs .slider-cta {
        position: static;
        width: 100%;
        max-width: 100%;
        margin: 30px 0;
    }
}

@media screen and (max-width: 640px) {
    .tabs .tab__content img { width: 90%; max-width: 300px; }
}

/* ---------- quiz ---------- */
.quiz {
    background: var(--gradient);
    padding-top: 0;
    scroll-margin-top: 120px;
}

.quiz .content__wrap {
    background: var(--white);
    padding: 60px 1rem;
}

.quiz h2, .quiz h2 * { color: var(--navy); }

.quiz .form__wrap {
    max-width: 700px;
    margin: 40px auto 0;
    text-align: left;
}

.quiz-progress {
    height: 6px;
    background: #e6ecf2;
    margin-bottom: 30px;
}

.quiz-progress__bar {
    display: block;
    height: 100%;
    width: 0;
    background: var(--yellow);
    transition: width .3s ease-out;
}

.quiz-step { display: none; }
.quiz-step.is-active { display: block; animation: fade-in .3s ease-out; }

.quiz-question {
    font-family: Montserrat, sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: var(--navy);
    margin-bottom: 20px;
}

.quiz-option {
    display: block;
    border: 2px solid #d8d8d8;
    padding: 15px 20px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: .2s ease-out;
    font-weight: 500;
}

.quiz-option:hover { border-color: var(--cyan); }

.quiz-option input { margin-right: 10px; accent-color: var(--navy); }

.quiz-option.is-selected {
    border-color: var(--navy);
    background: var(--pale);
}

.quiz-nav {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 30px;
}

.quiz-nav [data-quiz-back][hidden] { display: none; }

.quiz-result {
    text-align: left;
    border: 3px solid var(--navy);
    padding: 40px;
    margin-top: 20px;
}

.quiz-result .verdict {
    font-family: Montserrat, sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}

.quiz-result ul li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 10px;
}

.quiz-result ul li::before {
    content: "";
    position: absolute;
    top: 7px;
    left: 0;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--yellow);
}

.quiz-result .actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 25px;
}

@media screen and (max-width: 640px) {
    .quiz .content__wrap { padding: 40px 1rem; }
    .quiz-question { font-size: 20px; }
    .quiz-result { padding: 25px; }
}

/* ---------- image path (how it works) ---------- */
.image-path .row { overflow-x: hidden; }

.image-path .text-image {
    position: relative;
    margin-bottom: 140px;
}

.image-path .text-image:first-of-type { margin-top: 60px; }
.image-path .text-image:last-of-type { margin-bottom: 0; }

.image-path .image__shrink {
    width: 70%;
    position: relative;
    z-index: 5;
}

.image-path .image__shrink.left { left: 30%; }

.image-path .info {
    background: var(--gradient-flat);
    padding: 30px;
    max-width: 360px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.image-path .info.left  { left: 0; }
.image-path .info.right { right: 0; }

.image-path .dotted {
    position: absolute;
    bottom: calc(50% + 70px);
    left: 10%;
    width: 80%;
    z-index: 1;
}

.image-path .dotted svg { width: 100%; height: auto; display: block; }

.image-path .dotted .mask-path {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    transition: stroke-dashoffset 1.6s ease-out;
}

.image-path .dotted.is-drawn .mask-path { stroke-dashoffset: 0; }

@media screen and (max-width: 1024px) {
    .image-path .image__shrink { width: 100%; }
    .image-path .image__shrink.left { left: unset; }

    .image-path .info {
        width: 100%;
        max-width: none;
        position: relative;
        top: unset;
        left: unset;
        right: unset;
        transform: none;
        padding: 20px;
    }

    .image-path .dotted { display: none; }
    .image-path .text-image { margin-bottom: 60px; }
}

/* image sizers */
.image__sizer {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 75%;
}

.image__sizer--16x9 { padding-top: 56.25%; }
.image__sizer--4x3  { padding-top: 75%; }

.image__sizer .image__wrap {
    overflow: hidden;
    position: absolute;
    inset: 0;
}

.image__sizer .image__wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* ---------- CTA ---------- */
.cta .h4 { color: var(--navy); }

/* ---------- team ---------- */
.team-row {
    padding-bottom: 40px;
    background: var(--gradient-diag);
}

.team-row h2 { color: var(--white); }

.team-row .title-row { padding-bottom: 60px; }

/* cards in a row share a height, so the differing role lines don't stagger them */
.team-row .card-row { align-items: stretch; }

.team-row .team__col {
    display: flex;
    flex-direction: column;
}

.team-row .team__item {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.team-row .team__item .info { flex: 1 1 auto; }

/* while a bio is expanded, stop stretching — otherwise the open card's extra
   height would drag its neighbour's white panel down with it */
.team-row .card-row.has-open { align-items: start; }
.team-row .card-row.has-open .team__item,
.team-row .card-row.has-open .team__item .info { flex: 0 0 auto; }

.team-row .team__item {
    padding-bottom: 30px;
    cursor: pointer;
}

.team-row .team__item .image__wrap img { transition: 1.75s ease-in; }
.team-row .team__item:hover .image__wrap img { transform: scale(1.1); }

.team-row .team__item .info {
    background: var(--white);
    padding: 30px 60px 30px 30px;
    min-height: 134px;
    position: relative;
}

.team-row .team__item .info::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    background: var(--pale);
    z-index: 10;
    transition: .25s ease-out;
}

.team-row .team__item .info::after {
    content: "+";
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    z-index: 15;
    color: var(--navy);
    font-size: 36px;
    transition: .25s ease-out;
}

.team-row .team__col.is-open .info::before { background: var(--navy); }

.team-row .team__col.is-open .info::after {
    content: "–";
    color: var(--white);
}

.team-row .description { display: none; }

.team-row .team__col.is-open .description {
    display: block;
    background: var(--white);
    padding: 30px;
    position: relative;
    margin-bottom: 30px;
}

.team-row .team__col.is-open .description::before {
    content: "";
    width: 0;
    height: 0;
    border: 16px solid transparent;
    border-bottom-color: var(--white);
    position: absolute;
    top: -32px;
    left: calc(50% - 16px);
}

.team-row .socials a { display: inline-block; margin-right: 10px; }
.team-row .socials img { width: 26px; height: auto; }

@media screen and (max-width: 640px) {
    .team-row .title-row { padding-bottom: 20px; }
    .team-row .team__item .info { padding: 20px 55px 20px 20px; }
}

/* ---------- contact form ---------- */
.contact-form {
    position: relative;
    z-index: 1;
    background: var(--gradient-flat);
}

.contact-form h2 { color: var(--white); }

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.required-legend {
    grid-column: 1 / -1;
    font-size: 14px;
    margin: 0;
}

.field { grid-column: 1 / -1; }
.field--half { grid-column: span 1; }

.field label {
    display: block;
    color: var(--white);
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 16px;
}

.req { color: var(--white); }

.contact-form input[type=text],
.contact-form input[type=email],
.contact-form input[type=tel] {
    appearance: none;
    width: 100%;
    height: 42px;
    border: 1px solid #d8d8d8;
    border-radius: 0;
    background: var(--white);
    padding: 5px 15px;
    font: inherit;
}

.contact-form textarea {
    width: 100%;
    border: 1px solid #d8d8d8;
    background: var(--white);
    padding: 10px 15px;
    font: inherit;
    border-radius: 0;
}

.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
    outline: 3px solid var(--yellow);
    outline-offset: 1px;
}

.field-error {
    display: block;
    color: var(--white);
    background: #c02b0a;
    font-size: 14px;
    border-radius: 4px;
    padding: 4px 8px;
    margin-top: 6px;
}

.field-error:empty { display: none; }

.form-footer {
    grid-column: 1 / -1;
    text-align: center;
}

.form-status {
    color: var(--white);
    margin-top: 15px;
    font-weight: 500;
}

@media screen and (max-width: 640px) {
    .form-grid { grid-template-columns: 1fr; gap: 20px; }
    .field--half { grid-column: 1 / -1; }
}

/* ---------- footer ---------- */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--border);
    position: relative;
    z-index: 4;
}

.footer__wrap {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    align-items: center;
    gap: 20px;
}

.footer .desktop--left  { text-align: left; }
.footer .desktop--right { text-align: right; }

.footer .footer-text p, .footer strong {
    color: var(--navy);
    font-weight: 600;
}

.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; }

.footer .social__item img { width: 26px; display: inline-block; }

@media screen and (max-width: 1024px) {
    .footer__wrap { grid-template-columns: 1fr; }
    .footer .desktop--left, .footer .desktop--right { text-align: center; }
    .footer .desktop--left img { margin: 0 auto; }
    .footer .social__item img { margin: 0 auto; }
}

/* ---------- video lightbox ---------- */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 20, 40, .92);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.lightbox[hidden] { display: none; }

.lightbox__frame {
    width: min(1000px, 100%);
    aspect-ratio: 16 / 9;
    background: #000;
}

.lightbox__frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.lightbox__close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: 0;
    color: var(--white);
    font-size: 44px;
    line-height: 1;
    cursor: pointer;
}

/* ---------- scroll reveal ---------- */
.reveal, .image-path .image__shrink, .image-path .info {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .7s ease-out, transform .7s ease-out;
}

.image-path .image__shrink { transform: translateX(60px); }
.image-path .text-image.right .image__shrink { transform: translateX(-60px); }
.is-visible.reveal, .is-visible .image__shrink { opacity: 1; transform: none; }

/* .info is vertically centred with translateY(-50%) on desktop, so the
   reveal offset has to be folded into the same transform. */
.image-path .info { transform: translate(-60px, -50%); }
.image-path .text-image.right .info { transform: translate(60px, -50%); }
.image-path .text-image.is-visible .info { opacity: 1; transform: translateY(-50%); }

@media screen and (max-width: 1024px) {
    .image-path .info,
    .image-path .text-image.right .info { transform: translateY(40px); }
    .image-path .text-image.is-visible .info { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    .reveal, .image-path .image__shrink {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .image-path .info { opacity: 1; transform: translateY(-50%); transition: none; }
    .image-path .text-image.right .info { transform: translateY(-50%); }

    .highlight-bg, .highlight-bg2, .highlight-bg3 { transition: none; }
    .image-path .dotted .mask-path { transition: none; stroke-dashoffset: 0; }
}

/* =========================================================
   Long-form content pages (privacy policy, etc.)
   ========================================================= */
.content-section {
    padding-bottom: 100px;
}

.content-section h2 {
    font-size: 34px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.content-section h2:not(:first-child) {
    margin-top: 20px;
}

.content-section h3 {
    font-size: 20px;
    margin-top: 35px;
    margin-bottom: 12px;
}

.content-section p {
    margin-bottom: 18px;
}

.content-section ul {
    margin: 0 0 18px;
    padding: 0;
}

.content-section ul li {
    position: relative;
    padding-left: 23px;
    margin-bottom: 10px;
    line-height: 1.5em;
}

.content-section ul li::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 0;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--yellow);
}

.content-section a {
    color: var(--blue);
    word-break: break-word;
}

.content-section .rule {
    border: 0;
    border-top: 2px solid var(--border);
    margin: 50px 0 40px;
}

.content-section .contact-block {
    font-style: normal;
    line-height: 1.6;
    border-left: 4px solid var(--yellow);
    padding-left: 20px;
    margin: 0 0 18px;
}

.content-section .last-edited {
    margin-top: 40px;
    font-size: 14px;
    color: #77808c;
}

@media screen and (max-width: 640px) {
    .content-section { padding-bottom: 40px; }
    .content-section h2 { font-size: 28px; }
    .content-section h3 { font-size: 18px; }
}

/* =========================================================
   Engagement Hub (blog index)
   ========================================================= */

/* current page in the main nav — dashed cyan underline */
#topNav .nav .menu-item.is-current {
    background-image: url("data:image/svg+xml,%3Csvg width='124' height='3' viewBox='0 0 124 3' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='1.5' y1='1.5' x2='122.5' y2='1.5' stroke='%2300B4FF' stroke-width='3' stroke-dasharray='4,5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-size: contain;
    background-position: left bottom;
    background-repeat: no-repeat;
}

.text--primary { color: var(--navy); }
.text--small    { font-size: 14px; }
.m-b-40 { margin-bottom: 40px !important; }

/* inline "arrow" link */
.link {
    text-decoration: none;
    color: var(--navy);
    font-size: 16px;
    font-weight: 700;
    border: none;
    background: none;
    position: relative;
    padding-right: 25px;
    display: inline-block;
}

.link::after {
    content: "";
    width: 8px;
    height: 13px;
    position: absolute;
    right: 4px;
    top: 4px;
    background: var(--navy);
    clip-path: polygon(0 0, 100% 50%, 0 100%, 0 72%, 55% 50%, 0 28%);
    transition: .25s ease-out;
}

.link:hover { text-decoration: underline; }
.link:hover::after { transform: translateX(4px); }

/* ---------- featured post ---------- */
.featured-post {
    margin-top: 0;
    background: var(--gradient-flat);
}

.featured-post h1 { color: var(--white); }

.featured-post__wrap {
    display: grid;
    grid-template-columns: 7fr 5fr;
    align-items: stretch;
}

.featured-post .image__feature {
    overflow: hidden;
    min-height: 300px;
}

.featured-post .image__feature img {
    object-fit: cover;
    object-position: center center;
    width: 100%;
    height: 100%;
}

.featured-post .info {
    background: var(--white);
    padding: 40px;
}

.featured-post .info a { text-decoration: none; }
.featured-post .info a:hover .h4 { color: var(--blue); }

.featured-post .date,
.posts-row .date {
    color: var(--slate);
    font-weight: 600;
}

@media screen and (max-width: 1024px) {
    .featured-post__wrap { grid-template-columns: 1fr; }
    .featured-post .info { padding: 30px; }
}

@media screen and (max-width: 640px) {
    .featured-post .info { padding: 10px 25px 25px; }
    .featured-post .image__feature { min-height: 200px; }
}

/* ---------- category pills ---------- */
.categories { padding-top: 10px; }

.categories > div {
    display: inline-block;
    text-transform: uppercase;
}

.categories > div::after { content: "\00a0•\00a0"; }
.categories > div:last-child::after { content: ""; }

/* ---------- filters ---------- */
.posts-index-cards-2 { position: relative; }

.posts-index-cards-2 .filters-row { position: relative; z-index: 10; }

.filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.filters .filter { width: calc(33% - 1rem); }

.toggles { display: flex; }

.toggles .toggle {
    cursor: pointer;
    background: var(--white);
    color: var(--navy);
    padding: 7px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 14px;
    font-family: Roboto, sans-serif;
    border: 2px solid var(--yellow);
    border-top-width: 4px;
    border-bottom-width: 4px;
    flex: 1;
}

.toggles .toggle:first-child { border-left-width: 4px; }
.toggles .toggle:last-child  { border-right-width: 4px; }
.toggles .toggle.active-toggle { background: var(--yellow); }

.button--category {
    border: 1px solid var(--border);
    padding: 5px 40px 5px 15px;
    width: 100%;
    background: var(--white);
    text-align: left;
    cursor: pointer;
    position: relative;
    font-size: 16px;
    height: 36px;
    color: #757575;
}

.button--category .plus {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 9px;
    background: #424b5a;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    transition: .25s ease-out;
}

.button--category[aria-expanded="true"] .plus { transform: translateY(-50%) rotate(180deg); }

.checkbox-filters {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    padding: 10px 20px;
    box-shadow: 3px 3px 5px rgba(22, 22, 22, .1);
    border: 1px solid var(--border);
    z-index: 10;
}

.checkbox-filters.active { display: block; }

.checkbox-filters label {
    color: #757575;
    margin-left: 8px;
    cursor: pointer;
}

.checkbox-filters input { accent-color: var(--navy); cursor: pointer; }

.checkbox-filters .cat-filter {
    padding: 10px 0;
    border-top: 1px solid var(--border);
}

.checkbox-filters .cat-filter:first-child { border-top: none; }
.checkbox-filters .button-row { display: none; }

.search-filter { position: relative; width: 100%; }

#search-input {
    border: 1px solid var(--border);
    padding: 5px 36px 5px 15px;
    width: 100%;
    appearance: none;
    -webkit-appearance: textfield;
    height: 36px;
    font-size: 16px;
    font-family: Roboto, sans-serif;
    border-radius: 0;
}

/* WebKit adds its own clear button to type=search; it would sit on top of ours */
#search-input::-webkit-search-cancel-button,
#search-input::-webkit-search-decoration {
    -webkit-appearance: none;
    appearance: none;
}

.search-filter button {
    position: absolute;
    border: none;
    background: none;
    padding: 0;
    top: 0;
    right: 8px;
    height: 36px;
    width: 20px;
    cursor: pointer;
}

.search-filter button::before {
    content: "";
    position: absolute;
    top: 9px;
    left: 1px;
    width: 13px;
    height: 13px;
    border: 2px solid var(--slate);
    border-radius: 50%;
}

.search-filter button::after {
    content: "";
    position: absolute;
    top: 22px;
    left: 12px;
    width: 7px;
    height: 2px;
    background: var(--slate);
    transform: rotate(45deg);
}

@media screen and (max-width: 1024px) {
    .filters { display: block; }

    .filters .filter {
        width: 100%;
        margin-bottom: 10px;
    }

    .filters .filter:last-child { margin-bottom: 0; }
}

@media screen and (max-width: 640px) {
    .checkbox-filters {
        position: fixed;
        top: 47px;
        left: 0;
        width: 100%;
        height: calc(100vh - 47px);
        overflow-y: auto;
        padding-bottom: 0;
        z-index: 20;
    }

    .checkbox-filters .button-row {
        display: block;
        background: var(--white);
        padding: 10px 0;
        position: sticky;
        bottom: 0;
        left: 0;
        width: 100%;
        border-top: 2px solid var(--border);
    }
}

/* ---------- post cards ---------- */
.posts-row {
    padding-top: 60px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 2rem;
    align-items: stretch;
    position: relative;
    z-index: 5;
}

@media screen and (max-width: 1024px) {
    .posts-row { grid-template-columns: repeat(2, 1fr); }
}

@media screen and (max-width: 640px) {
    .posts-row { grid-template-columns: 1fr; padding-top: 40px; }
}

.post-col[hidden] { display: none; }

.post-card {
    background: var(--pale);
    height: 100%;
    animation: fade-in .35s ease-out;
    display: flex;
    flex-direction: column;
}

.post-card__media {
    position: relative;
    display: block;
}

.post-card .info {
    padding: 10px 30px 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-card .info a { text-decoration: none; }
.post-card .info a:hover .h4 { color: var(--blue); }
.post-card .info .link { margin-top: auto; }

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 68px;
    height: 68px;
    border: 5px solid rgba(255, 255, 255, .66);
    border-radius: 50%;
    transition: .25s ease-out;
}

.play-overlay::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 54%;
    transform: translate(-50%, -50%);
    width: 22px;
    height: 26px;
    background: rgba(255, 255, 255, .66);
    clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.post-card__media:hover .play-overlay {
    border-color: #fff;
    transform: translate(-50%, -50%) scale(1.08);
}

.post-card__media:hover .play-overlay::after { background: #fff; }

.no-results {
    color: var(--navy);
    font-weight: 600;
    margin-bottom: 20px;
}

.load-more {
    /* the posts grid ends flush against the button; give it room to breathe */
    margin-top: 40px;
}

.load-more[hidden] { display: none; }

/* =========================================================
   FAQ page
   Its own palette — this page shipped with a design system
   distinct from the main theme's navy/yellow.
   ========================================================= */
.faq-wrap {
    --actifi-navy: #254979;
    --actifi-royal: #2c5586;
    --actifi-electric: #52b4fd;
    --actifi-sky-200: #b2cbd3;
    --actifi-sky-100: #eef3f6;

    --faq-primary: var(--actifi-royal);
    --faq-text: #61605f;
    --faq-muted: var(--actifi-sky-200);
    --faq-radius: 14px;
    --faq-shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 8px 24px rgba(16, 24, 40, .06);

    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 1rem 2rem;
    color: var(--faq-text);
}

.faq-wrap h1,
.faq-wrap h2 {
    font-family: Montserrat, sans-serif;
    color: var(--actifi-navy);
    letter-spacing: -.01em;
}

.faq-wrap h1 {
    font-weight: 800;
    font-size: clamp(2rem, 1.8rem + 1.5vw, 3rem);
    line-height: 1.15;
    margin: .25rem 0 1rem;
}

.faq-wrap p,
.faq-wrap li { line-height: 1.7; }

.faq-lede {
    font-size: 1.125rem;
    margin: .25rem 0 1.25rem;
    max-width: 72ch;
    color: var(--faq-text);
}

/* table of contents — gradient border via two backgrounds */
.faq-toc {
    background: linear-gradient(0deg, #fff, #fff) padding-box,
                linear-gradient(135deg, var(--actifi-electric), var(--actifi-sky-200)) border-box;
    border: 1px solid transparent;
    border-radius: var(--faq-radius);
    box-shadow: var(--faq-shadow);
    padding: 18px 22px;
    margin: 1.25rem 0 2rem;
}

.faq-toc h2 {
    margin: 0 0 .5rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}

/* numbered bars — the theme's global <ol> treatment:
   pale yellow row with a solid #fece00 number block in the list's left padding */
.faq-toc ol {
    margin: 10px 0 10px;
    padding-left: 40px;
    list-style: none;
    counter-reset: item;
}

.faq-toc ol li {
    padding: 10px;
    margin: 0 0 20px;
    background-color: rgba(254, 206, 0, .2);
    color: var(--yellow);
    text-transform: uppercase;
    counter-increment: item;
    position: relative;
}

.faq-toc ol li:last-child { margin-bottom: 0; }

.faq-toc ol li::before {
    content: counter(item);
    position: absolute;
    left: -38px;
    top: 0;
    width: 38px;
    height: 100%;
    background: var(--yellow);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    font-weight: 700;
}

.faq-toc a {
    color: var(--faq-primary);
    text-decoration: none;
    display: block;
}

.faq-toc a:hover,
.faq-toc a:focus { text-decoration: underline; }

@media screen and (max-width: 640px) {
    .faq-toc { padding: 18px 16px 18px 20px; }
    .faq-toc ol li { font-size: 14px; }
}

.faq-section { margin: 2.5rem 0; }

.faq-section > h2 {
    scroll-margin-top: 96px;
    font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
    position: relative;
}

.faq-section > h2::after {
    content: "";
    display: block;
    height: 3px;
    width: 56px;
    background: var(--actifi-electric);
    border-radius: 2px;
    margin-top: .5rem;
}

/* accordion */
.faq-accordion details {
    border: 1px solid var(--faq-muted);
    border-radius: var(--faq-radius);
    margin: 14px 0;
    background: #fff;
    box-shadow: var(--faq-shadow);
    overflow: hidden;
}

.faq-accordion summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 22px;
    font-weight: 600;
    color: var(--actifi-navy);
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-accordion summary::-webkit-details-marker { display: none; }

.faq-accordion summary::after {
    content: "";
    margin-left: auto;
    flex: none;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--faq-primary);
    border-bottom: 2px solid var(--faq-primary);
    transform: rotate(-45deg);
    transition: transform .18s ease;
}

.faq-accordion details[open] summary { border-bottom: 1px solid var(--faq-muted); }
.faq-accordion details[open] summary::after { transform: rotate(45deg); }

.faq-accordion summary:focus-visible {
    outline: 3px solid var(--actifi-electric);
    outline-offset: -3px;
}

.faq-accordion details > div { padding: 18px 22px; }
.faq-accordion p { margin: 0 0 .85rem; }
.faq-accordion p:last-child { margin-bottom: 0; }

.faq-meta {
    font-size: .9rem;
    color: #555;
    margin-top: 2rem;
}

@media (prefers-reduced-motion: reduce) {
    .faq-accordion summary::after { transition: none; }
}

/* =========================================================
   Single post / article template
   Heading sizes here are the theme's .single-template scale,
   which is a step down from the marketing pages.
   ========================================================= */
.single-template .article-layout {
    display: grid;
    grid-template-columns: 8fr 4fr;
    gap: 2rem;
    padding-top: 40px;
    align-items: start;
}

@media screen and (max-width: 1024px) {
    .single-template .article-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* ---------- article body ---------- */
.article-main h1 {
    font-size: 46px;
    line-height: 1.15em;
    font-weight: 600;
    color: var(--navy);
}

@media screen and (max-width: 640px) {
    .article-main h1 { font-size: 30px; }
}

.article-main p { margin-bottom: 20px; }

.article-main .article-list {
    margin: 0 0 20px;
    padding-left: 22px;
    list-style: disc;
}

.article-main .article-list li {
    margin-bottom: 14px;
    line-height: 1.5em;
}

.article-main .article-list li::marker { color: var(--yellow); }

.article-main .button { align-self: flex-start; }

/* categories read cyan on an article, navy on the hub index */
.single-template .categories > div {
    display: inline-block;
    text-transform: uppercase;
    color: var(--cyan);
}

.single-template .categories > div::after { content: "\00a0•\00a0"; }
.single-template .categories > div:last-child::after { content: ""; }

.single-template .date {
    color: var(--slate);
    font-weight: 600;
    font-size: 16px;
}

/* ---------- "Featured News" sidebar ---------- */
.article-sidebar h2 {
    font-size: 28px;
    line-height: 1.3;
    font-weight: 700;
    color: var(--navy);
}

.article-sidebar .post-card {
    background: none;
    margin-bottom: 40px;
}

.article-sidebar .post-card:last-child { margin-bottom: 0; }

.article-sidebar .post-card .info { padding: 10px 0 0; }

.article-sidebar .post-card h3 {
    font-size: 18px;
    line-height: 1.4em;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}

.article-sidebar .post-card .date { margin-bottom: 10px; }

/* the contact block keeps the marketing-page heading size */
.single-template .contact-heading {
    font-size: 46px;
    line-height: 1.15em;
    font-weight: 600;
    color: var(--white);
}

@media screen and (max-width: 640px) {
    .single-template .contact-heading { font-size: 40px; }
}

.article-main .article-figure {
    margin: 0 0 20px;
}

.article-main .article-figure img {
    width: 100%;
    height: auto;
}

.article-main .article-figure figcaption {
    font-size: 14px;
    color: var(--slate);
    margin-top: 8px;
}
