/* ==========================================================================
   PsModern.css  -  shared styles for the "modern" solution pages
   (Disaster Case Management, and any new page using this design).

   Usage:
     1. In the view's HeadContent section add
          <link rel="stylesheet" href="~/css/PsModern.css" asp-append-version="true">
        (plus the Sora + Manrope Google Font link, see DisasterCaseManagement.cshtml)
     2. Give <main> the class "pm-page".
     3. Build the page from the blocks below. Page-specific tweaks stay in the view.

   Blocks:  pm-wrap  pm-section(.is-gray/.is-mint)  pm-head  pm-eyebrow  pm-divider
            pm-btn(.is-outline/.is-white)  pm-hero  pm-strip  pm-ico  pm-card-grid
            pm-card  pm-steps  pm-tiles  pm-points  pm-split  pm-video  pm-faq  pm-final
   ========================================================================== */

.pm-page {
    --pm-navy: #091f3b;
    --pm-copy: #586474;
    --pm-green: #20a04e;
    --pm-green-dark: #1a8a42;
    --pm-green-deep: #005129;
    --pm-mint: #e9f7f2;
    --pm-icon-bg: rgba(32, 160, 78, .12);
    --pm-gray: #f4f5f7;
    --pm-line: #e3e5e7;
    --pm-dark: #00293b;
    --pm-head-font: Sora, "Segoe UI", system-ui, sans-serif;
    font-family: Manrope, "Segoe UI", system-ui, sans-serif;
    color: var(--pm-copy);
    background: #fff;
    line-height: 1.6;
}

    .pm-page *, .pm-page *::before, .pm-page *::after {
        box-sizing: border-box;
    }

    /* Constants.css forces Poppins on every element with !important: override it here */
    .pm-page *:not(.bi) {
        font-family: Manrope, "Segoe UI", system-ui, sans-serif !important;
    }

    .pm-page :is(h1, h2, h3, h4, .pm-strip-item, .pm-acc-btn), .pm-page :is(h1, h2, h3, h4, .pm-strip-item, .pm-acc-btn) *:not(.bi) {
        font-family: Sora, "Segoe UI", system-ui, sans-serif !important;
    }

    /* site CSS colours bare tags; neutralise inside the page */
    .pm-page i, .pm-page b, .pm-page strong, .pm-page span, .pm-page small {
        color: inherit;
    }

    .pm-page i {
        font-style: normal;
    }

    .pm-page h1, .pm-page h2, .pm-page h3, .pm-page h4 {
        font-family: var(--pm-head-font);
        color: var(--pm-navy);
        margin: 0;
    }

    .pm-page h1, .pm-page h2 {
        font-weight: 800;
    }

    .pm-page h3, .pm-page h4 {
        font-weight: 700;
    }

    .pm-page p {
        color: var(--pm-copy);
        font-weight: 400;
        margin: 0;
    }

    .pm-page img {
        max-width: 100%;
    }

.pm-wrap {
    max-width: 1232px;
    margin: 0 auto;
    padding: 0 24px;
}

.pm-green {
    color: var(--pm-green) !important;
}

.pm-link {
    color: var(--pm-green-dark);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

    .pm-link:hover {
        color: var(--pm-navy);
    }

/* ---------- sections ---------- */
.pm-section {
    padding: 80px 0;
}

    .pm-section.is-gray {
        background: var(--pm-gray);
        border-block: 1px solid var(--pm-line);
    }

    .pm-section.is-mint {
        background: var(--pm-mint);
        border-block: 1px solid var(--pm-line);
    }

.pm-head {
    max-width: 780px;
    margin: 0 auto 48px;
    text-align: center;
}

    .pm-head.is-left {
        margin-left: 0;
        text-align: left;
    }

    .pm-head h2, .pm-h2 {
        font-size: clamp(1.75rem, 3.4vw, 2.25rem);
        line-height: 1.12;
    }

    .pm-head p {
        font-size: 1.125rem;
        line-height: 1.55;
        margin-top: 18px;
    }

        .pm-head p + p {
            font-size: 1rem;
            margin-top: 16px;
        }

.pm-page .pm-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--pm-green);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

    .pm-eyebrow::before {
        content: "";
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--pm-green);
    }

.pm-divider {
    width: 48px;
    height: 2px;
    margin: 24px auto 0;
    background: var(--pm-green);
}

.is-left .pm-divider, .pm-divider.is-left {
    margin-left: 0;
}

/* ---------- buttons ---------- */
.pm-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border: 1px solid var(--pm-green);
    border-radius: 999px;
    background: var(--pm-green);
    color: #fff !important;
    font-size: .875rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(32, 160, 78, .25);
    transition: background-color .2s, transform .2s;
}

    .pm-btn:hover, .pm-btn:focus {
        background: var(--pm-green-dark);
        color: #fff !important;
        transform: translateY(-1px);
    }

    .pm-btn.is-outline {
        background: #fff;
        border-color: var(--pm-line);
        color: var(--pm-navy) !important;
        box-shadow: none;
    }

        .pm-btn.is-outline:hover, .pm-btn.is-outline:focus {
            background: var(--pm-mint);
            color: var(--pm-navy) !important;
        }

    .pm-btn.is-white {
        padding: 14px 28px;
        background: #fff;
        border-color: #fff;
        color: var(--pm-navy) !important;
        font-size: 1rem;
        box-shadow: none;
    }

        .pm-btn.is-white:hover, .pm-btn.is-white:focus {
            background: #e9f7f2;
            color: var(--pm-navy) !important;
        }

/* ---------- icon tile (SVG icon on tinted square) ---------- */
.pm-ico {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--pm-icon-bg);
    box-shadow: inset 0 0 0 1px rgba(32, 160, 78, .12);
}

    .pm-ico img {
        display: block;
        width: 20px;
        height: 20px;
    }

    .pm-ico.is-round {
        width: 58px;
        height: 58px;
        border-radius: 50%;
        background: #dff2e6;
        box-shadow: none;
    }

        .pm-ico.is-round img {
            width: 24px;
            height: 24px;
        }

/* ---------- hero ---------- */
.pm-hero {
    padding: 150px 0 0;
}

.pm-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 56px;
    align-items: center;
}

    .pm-hero-grid > div {
        min-width: 0;
    }

.pm-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border: 1px solid var(--pm-line);
    border-radius: 999px;
    background: #fff;
    color: var(--pm-green-deep);
    font-size: .75rem;
    font-weight: 600;
}

    .pm-pill img {
        width: 14px;
        height: 14px;
    }

.pm-hero h1 {
    margin: 20px 0 24px;
    font-size: clamp(2rem, 3.8vw, 3rem);
    line-height: 1.25;
}

.pm-hero-lead {
    max-width: 560px;
    margin-bottom: 32px !important;
    font-size: 1.125rem;
    line-height: 1.55;
}

.pm-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.pm-hero-visual {
    position: relative;
    margin: 0 0 24px;
}

.pm-hero-frame {
    overflow: hidden;
    border: 1px solid var(--pm-line);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(9, 31, 59, .12);
}

    .pm-hero-frame img {
        display: block;
        width: 100%;
        height: auto;
    }

.pm-float {
    position: absolute;
    left: 24px;
    bottom: -21px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px 12px 14px;
    border: 1px solid var(--pm-line);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(9, 31, 59, .12);
}

    .pm-float div strong {
        display: block;
        color: var(--pm-navy);
        font-size: .875rem;
        font-weight: 700;
        line-height: 1.3;
    }

    .pm-float div span {
        display: block;
        font-size: .875rem;
        line-height: 1.3;
    }

.pm-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 64px;
    padding: 24px 8px;
    border-radius: 24px;
    background: var(--pm-mint);
}

.pm-strip-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 8px 32px;
    color: var(--pm-navy);
    font-family: var(--pm-head-font);
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.4;
}

    .pm-strip-item + .pm-strip-item {
        border-left: 1px solid #cfe3dc;
    }

    .pm-strip-item img {
        flex: 0 0 auto;
        width: 40px;
        height: 40px;
    }

/* ---------- 4-up connected steps (round icons joined by dotted line) ---------- */
.pm-points {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 56px;
}

.pm-point {
    position: relative;
    text-align: center;
}

    .pm-point + .pm-point::before {
        content: "";
        position: absolute;
        top: 29px;
        right: calc(50% + 44px);
        width: calc(100% - 88px);
        border-top: 2px dotted #cfe6dc;
    }

    .pm-point .pm-ico {
        position: relative;
        margin-bottom: 20px;
    }

    .pm-point h3 {
        margin-bottom: 10px;
        font-size: 1rem;
        line-height: 1.5;
    }

    .pm-point p {
        font-size: .9375rem;
        line-height: 1.55;
    }

/* ---------- card grids ---------- */
.pm-card-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
}

    .pm-card-grid.cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }

.pm-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 24px;
    border: 1px solid var(--pm-line);
    border-radius: 12px;
    background: #fff;
}

.pm-card-top {
    display: flex;
    align-items: center;
    gap: 16px;
}

.pm-card h3 {
    font-size: 1.0625rem;
    line-height: 1.4;
}

.pm-card p {
    font-size: .9375rem;
    line-height: 1.6;
}

.pm-card.is-compact {
    gap: 6px;
    padding: 20px 24px;
}

    .pm-card.is-compact .pm-card-top {
        align-items: flex-start;
    }

    .pm-card.is-compact h3 {
        margin: 0 0 4px;
        font-size: 1rem;
    }

    .pm-card.is-compact > div {
        min-width: 0;
    }

/* coloured audience tiles */
.pm-tiles {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: start;
}

.pm-tile {
    padding: 24px;
    border-radius: 8px;
    background: #dbf3ff;
}

    .pm-tile.is-green {
        background: #d7f4e0;
    }

    .pm-tile.is-orange {
        background: #ffead8;
    }

    .pm-tile .pm-card-top {
        margin-bottom: 12px;
        gap: 12px;
    }

        .pm-tile .pm-card-top img {
            flex: 0 0 auto;
            width: 36px;
            height: 36px;
        }

    .pm-tile h3 {
        font-size: 1rem;
        line-height: 1.5;
    }

    .pm-tile p {
        font-size: .9375rem;
        line-height: 1.55;
    }

/* 3-up feature columns with green accent rule */
.pm-feature h3 {
    margin: 0;
    font-size: 1.0625rem;
}

.pm-feature .pm-card-top {
    margin-bottom: 20px;
    gap: 14px;
}

.pm-feature p {
    font-size: .9375rem;
    line-height: 1.6;
}

.pm-feature::after {
    content: "";
    display: block;
    width: 32px;
    height: 2px;
    margin-top: 20px;
    background: var(--pm-green);
}

/* ---------- text + media split ---------- */
.pm-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 64px;
    align-items: center;
}

    .pm-split h2 {
        font-size: clamp(1.75rem, 3.4vw, 2.25rem);
        line-height: 1.12;
        margin-bottom: 20px;
    }

    .pm-split p {
        font-size: 1.0625rem;
        line-height: 1.6;
    }

        .pm-split p + p {
            margin-top: 14px;
        }

/* video thumbnail with play button */
.pm-video {
    position: relative;
    display: block;
    max-width: 480px;
    margin-left: auto;
    overflow: hidden;
}

    .pm-video img.pm-video-thumb {
        display: block;
        width: 100%;
        height: auto;
    }

.pm-page .pm-play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--pm-green);
    color: #fff;
    font-size: 2.25rem;
    transform: translate(-50%, -50%);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
    transition: transform .2s, background-color .2s;
}

.pm-video:hover .pm-play {
    background: var(--pm-green-dark);
    transform: translate(-50%, -50%) scale(1.08);
}

/* ---------- FAQ (Bootstrap accordion) ---------- */
.pm-faq-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    gap: 64px;
    align-items: start;
}

    .pm-faq-grid h2 {
        font-size: clamp(2rem, 3.8vw, 3rem);
        line-height: 1.25;
    }

.pm-acc-item {
    border-bottom: 1px solid var(--pm-line);
}

    .pm-acc-item:first-child {
        border-top: 0;
    }

.pm-acc-btn {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
    padding: 24px 0;
    border: 0;
    background: none;
    color: var(--pm-navy);
    font-family: var(--pm-head-font);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.55;
    text-align: left;
    cursor: pointer;
}

    .pm-acc-btn img {
        flex: 0 0 auto;
        width: 22px;
        height: 22px;
        margin-top: 2px;
    }

    .pm-acc-btn .pm-chev {
        flex: 0 0 auto;
        margin: 4px 0 0 auto;
        font-size: .8rem;
        transition: transform .2s;
    }

    .pm-acc-btn:not(.collapsed) .pm-chev {
        transform: rotate(180deg);
    }

    .pm-acc-btn span.pm-q {
        flex: 1 1 auto;
    }

.pm-acc-body {
    padding: 0 40px 24px 38px;
}

    .pm-acc-body p {
        font-size: 1.0625rem;
        line-height: 1.7;
    }

/* ---------- final CTA ---------- */
.pm-final {
    padding: 72px 0;
    background: var(--pm-dark);
}

    .pm-page .pm-final .pm-eyebrow {
        color: #3dc46a;
    }

    .pm-final h2 {
        max-width: 640px;
        color: #f3fbf6;
        font-size: clamp(1.75rem, 3.4vw, 2.25rem);
        line-height: 1.12;
    }

    .pm-final p {
        max-width: 640px;
        margin-top: 16px;
        color: #f3fbf6;
        opacity: .9;
    }

.pm-final-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

    .pm-final-row .pm-btn {
        flex: 0 0 auto;
    }

/* ---------- responsive ---------- */
@media (max-width: 991.98px) {
    .pm-section {
        padding: 64px 0;
    }

    .pm-hero {
        padding-top: 120px;
    }

    .pm-hero-grid, .pm-split, .pm-faq-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .pm-strip {
        grid-template-columns: 1fr 1fr;
        row-gap: 8px;
    }

    .pm-strip-item:nth-child(3) {
        border-left: 0;
    }

    .pm-points {
        grid-template-columns: 1fr 1fr;
        row-gap: 40px;
    }

    .pm-point::before {
        display: none;
    }

    .pm-card-grid, .pm-tiles {
        grid-template-columns: 1fr 1fr;
    }

    .pm-video {
        margin: 0 auto;
    }
}

@media (max-width: 575.98px) {
    .pm-wrap {
        padding: 0 16px;
    }

    .pm-section {
        padding: 48px 0;
    }

    .pm-strip, .pm-points, .pm-card-grid, .pm-card-grid.cols-2, .pm-tiles {
        grid-template-columns: 1fr;
    }

    .pm-strip-item {
        padding: 12px 16px;
    }

        .pm-strip-item + .pm-strip-item {
            border-left: 0;
            border-top: 1px solid #cfe3dc;
        }

    .pm-final-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .pm-acc-body {
        padding: 0 0 20px;
    }

    .pm-btn {
        justify-content: center;
    }
}

/* ==========================================================================
   Foundation shared by the earlier modern pages (EMAR, Street Outreach).
   Only rules that were byte-identical in both pages live here; each page keeps
   its own values (padding, font sizes, colours that differ) in its inline style.
   Selectors are single-class on purpose so a page can still override them.
   New pages should use the pm-* blocks above instead of adding to this list.
   ========================================================================== */
.emar-page *, .emar-page *::before, .emar-page *::after,
.so-page *, .so-page *::before, .so-page *::after {
    box-sizing: border-box;
}

/* site CSS colours bare tags; neutralise inside the page */
.emar-page i, .emar-page b, .emar-page strong, .emar-page span, .emar-page small,
.so-page i, .so-page b, .so-page strong, .so-page span, .so-page small {
    color: inherit;
}

.emar-page i, .so-page i {
    font-style: normal;
}

.emar-text-green, .so-green {
    color: #3daf49 !important;
}

.emar-page a.emar-link, .so-page a.so-link {
    color: #279e51;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* buttons */
.emar-btn, .so-page a.so-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-radius: 999px;
    background: #279e51;
    color: #fff !important;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(39, 158, 81, .25);
    transition: background-color .2s ease, transform .2s ease;
}

/* FAQ block */
.emar-faq, .so-faq {
    padding: 90px 0;
}

.emar-faq-grid, .so-faq-grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 64px;
    align-items: start;
}

.emar-acc-item, .so-acc-item {
    border-bottom: 1px solid #dfe8ee;
}

.emar-acc-btn, .so-acc-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    border: 0;
    background: transparent;
    font-family: inherit;
    font-weight: 700;
    text-align: left;
}

    .emar-acc-btn .chev, .so-acc-btn .so-chev {
        margin-left: auto;
        color: #6f8396;
        transition: transform .2s ease;
    }

    .emar-acc-btn:not(.collapsed) .chev, .so-acc-btn:not(.collapsed) .so-chev {
        transform: rotate(180deg);
    }

    .emar-acc-btn:focus-visible, .so-acc-btn:focus-visible {
        outline: 2px solid #3daf49;
        outline-offset: 2px;
    }

.emar-acc-body p, .so-acc-body p {
    margin: 0;
}

/* closing band row */
.emar-final-row, .so-final-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* ==========================================================================
   Blocks added for the Home page redesign. All are generic pm-* blocks and
   can be reused on any page that uses this design.
     pm-mi (recolourable mask icon)  pm-btn.is-navy  pm-hero.is-glow
     pm-hero-visual.has-back  pm-marquee  pm-explorer  pm-orgs  pm-visual
     pm-section.is-dark  pm-blogs  pm-banner  pm-secure  pm-closing
   ========================================================================== */

/* SVG icon that takes the text colour:
   <span class="pm-mi" style="--i:url(/img/x.svg)"></span> */
.pm-mi {
    display: inline-block;
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    background-color: currentColor;
    -webkit-mask: var(--i) center / contain no-repeat;
    mask: var(--i) center / contain no-repeat;
}

.pm-btn.is-navy {
    background: var(--pm-dark);
    border-color: var(--pm-dark);
    box-shadow: 0 10px 24px rgba(0, 41, 59, .22);
}

    .pm-btn.is-navy:hover, .pm-btn.is-navy:focus {
        background: #003a54;
    }

.pm-pill .pm-mi {
    width: 14px;
    height: 14px;
}

/* text wordmark used where a logo file is not available */
.pm-page .pm-wordmark {
    color: var(--pm-navy);
    font-family: var(--pm-head-font) !important;
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
}

    .pm-page .pm-wordmark span {
        color: var(--pm-green);
    }

.pm-ico.is-lg {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #d9f4e0;
    box-shadow: none;
}

    .pm-ico.is-lg img {
        width: 32px;
        height: 32px;
    }

/* hero with soft mint glow, and a green slab peeking out behind the image */
.pm-hero.is-glow {
    padding-bottom: 72px;
    background: radial-gradient(900px 480px at 8% 0, #d9f0e2 0, rgba(217, 240, 226, 0) 70%), linear-gradient(180deg, #eef8f1 0, #fff 100%);
}

.pm-hero-visual.has-back {
    margin: 0;
}

    .pm-hero-visual.has-back::before {
        content: "";
        position: absolute;
        top: 28px;
        right: -14px;
        bottom: -14px;
        left: 14px;
        border-radius: 24px;
        background: var(--pm-green);
        opacity: .9;
    }

    .pm-hero-visual.has-back .pm-hero-frame {
        position: relative;
    }

/* ---------- logo marquee (continuous, pauses on hover) ----------
   Put the logo cards in .pm-marquee-track, then repeat the same cards once more
   with aria-hidden="true" so the loop is seamless. */
.pm-marquee {
    overflow: hidden;
    padding: 6px 0 22px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}

.pm-marquee-track {
    display: flex;
    width: max-content;
    animation: pm-marquee 40s linear infinite;
}

.pm-marquee:hover .pm-marquee-track,
.pm-marquee:focus-within .pm-marquee-track {
    animation-play-state: paused;
}

@keyframes pm-marquee {
    to {
        transform: translateX(-50%);
    }
}

.pm-logo-card {
    display: flex;
    flex: 0 0 200px;
    align-items: center;
    justify-content: center;
    height: 140px;
    margin-right: 24px;
    padding: 20px;
    border: 1px solid var(--pm-line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 14px 28px -10px rgba(9, 31, 59, .18);
    transition: transform .2s, box-shadow .2s;
}

    .pm-logo-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 18px 32px -10px rgba(9, 31, 59, .26);
    }

    .pm-logo-card img {
        display: block;
        width: auto;
        max-width: 100%;
        max-height: 80px;
        object-fit: contain;
        filter: grayscale(1);
        opacity: .85;
    }

@media (max-width: 575.98px) {
    .pm-logo-card {
        flex-basis: 150px;
        height: 110px;
        margin-right: 14px;
    }
}

/* ---------- explorer: vertical tab list + dark detail panel ---------- */
.pm-explorer {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 32px;
    align-items: stretch;
}

.pm-tablist {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.pm-tab {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d3e8dc;
    border-radius: 12px;
    background: #f2faf5;
    color: var(--pm-navy);
    font-size: .9375rem;
    font-weight: 600;
    line-height: 1.3;
    text-align: left;
    cursor: pointer;
    transition: background-color .2s, border-color .2s, color .2s;
}

    .pm-tab .pm-ico {
        width: 32px;
        height: 32px;
        border-radius: 8px;
        background: #d9f4e0;
        box-shadow: none;
        color: var(--pm-green);
    }

    .pm-tab:hover {
        border-color: var(--pm-green);
    }

    .pm-tab.active {
        border-color: var(--pm-green);
        background: var(--pm-dark);
        color: #fff;
        box-shadow: 0 10px 24px rgba(0, 41, 59, .22);
    }

        .pm-tab.active .pm-ico {
            background: var(--pm-green);
            color: #f7fef8;
        }

    .pm-tab:focus-visible {
        outline: 2px solid var(--pm-green);
        outline-offset: 2px;
    }

.pm-panel {
    padding: 24px;
    border-radius: 28px;
    background: var(--pm-dark) radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px) 0 0 / 22px 22px;
    color: #e6f1f5;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

    /* every pane fills the same box: its height follows the tab list and the picture shrinks to fit */
    .pm-panel > .tab-pane.active {
        display: flex;
        flex: 1 1 auto;
        flex-direction: column;
        min-height: 0;
    }

    .pm-panel .pm-panel-img {
        flex: 1 1 0;
        width: 100%;
        max-width: none;
        height: 0;
        min-height: 0;
        object-fit: contain;
        background: transparent;
    }

    /* smooth tab change: panel height eases between panes, the pane fades,
       and its content rises in one piece after another */
    .pm-panel > .tab-pane.fade {
        transition: opacity .25s ease;
    }

    .pm-panel > .tab-pane.show .pm-panel-head,
    .pm-panel > .tab-pane.show .pm-panel-inner > p,
    .pm-panel > .tab-pane.show .pm-flow,
    .pm-panel > .tab-pane.show .pm-panel-logo,
    .pm-panel > .tab-pane.show .pm-panel-img {
        animation: pm-rise .55s cubic-bezier(.2, .7, .2, 1) both;
    }

    .pm-panel > .tab-pane.show .pm-panel-inner > p {
        animation-delay: .08s;
    }

    .pm-panel > .tab-pane.show .pm-flow,
    .pm-panel > .tab-pane.show .pm-panel-logo {
        animation-delay: .16s;
    }

    .pm-panel > .tab-pane.show .pm-panel-img {
        animation-delay: .24s;
    }

@keyframes pm-rise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.pm-panel-inner {
    padding-left: 20px;
    border-left: 3px solid var(--pm-green);
}

.pm-panel-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

    .pm-panel-head .pm-ico {
        width: 48px;
        height: 48px;
        border-radius: 12px;
        background: var(--pm-green);
        box-shadow: none;
        color: #f7fef8;
    }

    .pm-panel-head .pm-mi {
        width: 24px;
        height: 24px;
    }

.pm-page .pm-panel h3 {
    color: #fff;
    font-size: 1.5rem;
    line-height: 1.25;
}

.pm-page .pm-panel p {
    color: #e6f1f5;
    font-size: 1.0625rem;
    line-height: 1.6;
}

.pm-page .pm-panel a.pm-link {
    color: #5fd68a;
}

    .pm-page .pm-panel a.pm-link:hover {
        color: #fff;
    }

.pm-flow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 6px;
    margin-top: 20px;
}

.pm-page .pm-chip {
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font-size: .875rem;
    font-weight: 500;
    line-height: 1.3;
}

.pm-flow .bi {
    color: #3dc46a;
    font-size: .875rem;
}

.pm-panel-logo {
    display: inline-flex;
    align-items: center;
    margin-top: 18px;
    padding: 8px 14px;
    border-radius: 10px;
    background: #fff;
}

    .pm-panel-logo img {
        display: block;
        width: auto;
        height: 32px;
    }

.pm-panel-img {
    display: block;
    width: 100%;
    max-width: 620px;
    height: auto;
    margin: 28px auto 4px;
    border-radius: 8px;
    background: #fff;
}

/* ---------- audience grid (icon cells + compact sub-tiles) ---------- */
.pm-orgs {
    padding: 32px;
    border: 1px solid var(--pm-line);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 24px 60px -12px rgba(9, 31, 59, .14);
}

.pm-org-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 32px;
}

.pm-org {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 20px 0 26px;
    border-bottom: 1px solid var(--pm-line);
    color: var(--pm-navy);
    font-family: var(--pm-head-font);
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
}

.pm-org-sub-head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 28px 0 24px;
    color: var(--pm-navy);
    font-family: var(--pm-head-font);
    font-size: 1.0625rem;
    font-weight: 700;
}

.pm-org-sub {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.pm-org-tile {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    border: 1px solid #cfe9d8;
    border-radius: 8px;
    background: #eef8f1;
    color: var(--pm-navy);
    font-size: .9375rem;
    font-weight: 600;
    line-height: 1.4;
}

    .pm-org-tile img {
        flex: 0 0 auto;
        width: 36px;
        height: 36px;
    }

/* ---------- image with a tilted navy slab behind it ---------- */
.pm-visual {
    position: relative;
    padding: 12px;
}

    .pm-visual::before {
        content: "";
        position: absolute;
        inset: 0 0 8px 14px;
        border-radius: 28px;
        background: var(--pm-dark);
        transform: rotate(2.5deg);
    }

    .pm-visual img {
        position: relative;
        display: block;
        width: 100%;
        height: auto;
        border-radius: 20px;
        background: #fff;
        box-shadow: 0 18px 44px rgba(9, 31, 59, .18);
    }

/* ---------- dark section: recent blogs + newsletter banner ---------- */
.pm-section.is-dark {
    background: var(--pm-dark);
}

    .pm-page .pm-section.is-dark h2 {
        color: #fff;
    }

.pm-blogs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
    margin-top: 32px;
}

.pm-blog {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 24px;
    background: #0c2f45;
    text-decoration: none;
    transition: transform .2s, border-color .2s;
}

    .pm-blog:hover {
        border-color: var(--pm-green);
        transform: translateY(-3px);
    }

    .pm-blog img {
        display: block;
        width: 100%;
        aspect-ratio: 16 / 9;
        object-fit: cover;
    }

    .pm-blog .pm-blog-body {
        display: flex;
        flex: 1 1 auto;
        flex-direction: column;
        padding: 24px 28px 28px;
    }

    .pm-page .pm-blog h3 {
        min-height: 3.2em;
        color: #fff;
        font-size: 1.25rem;
        line-height: 1.4;
    }

    .pm-blog .bi {
        display: block;
        margin-top: auto;
        padding-top: 16px;
        color: #3dc46a;
        font-size: 1.125rem;
    }

.pm-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 48px;
    padding: 28px 32px;
    border-radius: 24px;
    background: var(--pm-green);
}

.pm-banner-text {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #fff;
    font-family: var(--pm-head-font);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.35;
}

    .pm-banner-text .pm-mi {
        width: 24px;
        height: 24px;
    }

/* ---------- security banner ---------- */
.pm-secure {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 40px 56px;
    border: 1px solid #d3e8dc;
    border-radius: 28px;
    background: #eef8f1;
}

    .pm-secure h2 {
        font-size: 1.75rem;
        line-height: 1.2;
    }

    .pm-secure p {
        margin-top: 12px;
        font-size: 1.0625rem;
    }

    .pm-secure .pm-more {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        margin-top: 20px;
        color: var(--pm-green-dark);
        font-weight: 700;
        text-decoration: none;
    }

        .pm-secure .pm-more:hover {
            color: var(--pm-navy);
        }

.pm-secure-icons {
    display: flex;
    flex: 0 0 auto;
    gap: 16px;
}

    .pm-secure-icons span {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 64px;
        height: 64px;
        border-radius: 16px;
        background: #fff;
        box-shadow: 0 10px 24px rgba(9, 31, 59, .1);
    }

    .pm-secure-icons img {
        width: 28px;
        height: 28px;
    }

/* ---------- closing: heading + 4 action cards ---------- */
.pm-closing {
    padding: 72px 0 96px;
    background: linear-gradient(180deg, #e3f4e9 0, #fff 100%);
}

    .pm-closing .pm-head {
        max-width: 1000px;
    }

        .pm-closing .pm-head p {
            max-width: 640px;
            margin-right: auto;
            margin-left: auto;
        }

        .pm-closing .pm-head h2 {
            font-size: clamp(2rem, 4vw, 3rem);
            line-height: 1.2;
        }

.pm-cta-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.pm-cta-card {
    display: block;
    padding: 28px;
    border: 1px solid var(--pm-line);
    border-radius: 24px;
    background: #fff;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
}

    .pm-cta-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 18px 36px -12px rgba(9, 31, 59, .22);
    }

    .pm-cta-card .pm-ico {
        width: 48px;
        height: 48px;
        margin-bottom: 20px;
        background: var(--pm-dark);
        box-shadow: none;
        color: #fff;
    }

    .pm-cta-card .pm-mi {
        width: 24px;
        height: 24px;
    }

    .pm-cta-card h3 {
        margin-bottom: 10px;
        font-size: 1.125rem;
    }

    .pm-cta-card p {
        font-size: .9375rem;
        line-height: 1.6;
    }

    .pm-cta-card.is-green {
        border-color: var(--pm-green);
        background: var(--pm-green);
    }

        .pm-cta-card.is-green .pm-ico {
            background: rgba(255, 255, 255, .22);
        }

.pm-page .pm-cta-card.is-green h3, .pm-page .pm-cta-card.is-green p {
    color: #fff;
}

/* ---------- responsive (blocks above) ---------- */
@media (max-width: 991.98px) {
    .pm-explorer {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pm-tablist {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 8px;
        scrollbar-width: thin;
    }

    .pm-panel {
        height: 720px;
    }

    .pm-tab {
        flex: 0 0 auto;
        width: auto;
        white-space: nowrap;
    }

    .pm-blogs {
        grid-template-columns: 1fr 1fr;
    }

    .pm-cta-cards {
        grid-template-columns: 1fr 1fr;
    }

    .pm-secure {
        padding: 32px;
    }

    .pm-org-grid, .pm-org-sub {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .pm-blogs, .pm-cta-cards, .pm-org-grid, .pm-org-sub {
        grid-template-columns: 1fr;
    }

    .pm-orgs {
        padding: 16px 20px;
    }

    .pm-panel {
        height: 760px;
        padding: 16px;
    }

    .pm-panel-inner {
        padding-left: 14px;
    }

    .pm-banner, .pm-secure {
        flex-direction: column;
        align-items: flex-start;
    }

    .pm-secure-icons {
        flex-wrap: wrap;
    }

    .pm-hero.is-glow {
        padding-bottom: 48px;
    }
}
