.pm-page {
    --pm-navy: #092f4a;
    --pm-deep: #061f33;
    --pm-accent: #1770d5;
    --pm-accent-soft: #e9f3ff;
    --pm-ink: #102a43;
    --pm-muted: #52677d;
    --pm-line: #dce6ee;
    --pm-soft: #f4f8fb;
    overflow: hidden;
    color: var(--pm-ink);
    background: #fff;
}

.pm-page--self-service {
    --pm-accent: #147d87;
    --pm-accent-soft: #e6f6f6;
}

.pm-page--attendance {
    --pm-accent: #d66b2c;
    --pm-accent-soft: #fff0e7;
}

.pm-page--employee-relations {
    --pm-accent: #b34d65;
    --pm-accent-soft: #fbeaf0;
}

.pm-page--manager-service {
    --pm-accent: #5969c9;
    --pm-accent-soft: #edf0ff;
}

.pm-page--payroll {
    --pm-accent: #087c70;
    --pm-accent-soft: #e5f6f2;
}

.pm-page--personnel {
    --pm-accent: #3664b8;
    --pm-accent-soft: #eaf1ff;
}

.pm-page--performance {
    --pm-accent: #7454c7;
    --pm-accent-soft: #f0ecff;
}

.pm-page--compben {
    --pm-accent: #b87918;
    --pm-accent-soft: #fff4df;
}

.pm-page--profiling {
    --pm-accent: #2777a8;
    --pm-accent-soft: #e8f4fb;
}

.pm-page--recruitment {
    --pm-accent: #bc516f;
    --pm-accent-soft: #fceaf0;
}

.pm-page--health {
    --pm-accent: #18845f;
    --pm-accent-soft: #e6f7f0;
}

.pm-page--training {
    --pm-accent: #d06a24;
    --pm-accent-soft: #fff0e4;
}

.pm-shell {
    width: min(1160px, calc(100% - 40px));
    margin-inline: auto;
}

.pm-hero {
    position: relative;
    isolation: isolate;
    padding: clamp(4.75rem, 8vw, 7.3rem) 0 clamp(5rem, 8vw, 7rem);
    color: #fff;
    background: radial-gradient(circle at 82% 15%, color-mix(in srgb, var(--pm-accent) 36%, transparent), transparent 27rem), linear-gradient(128deg, var(--pm-deep), #0b4263);
}

    .pm-hero::after {
        position: absolute;
        z-index: -1;
        width: 28rem;
        height: 28rem;
        right: -9rem;
        bottom: -17rem;
        content: "";
        border: 1px solid rgba(255,255,255,.1);
        border-radius: 50%;
    }

.pm-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
    gap: clamp(3rem, 7vw, 6rem);
    align-items: center;
}

.pm-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    margin-bottom: .95rem;
    color: var(--pm-accent);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

    .pm-eyebrow::before {
        width: 1.75rem;
        height: 2px;
        content: "";
        background: currentColor;
    }

.pm-eyebrow--light {
    color: #83dfe4;
}

.pm-hero__copy h1 {
    max-width: 750px;
    margin: 0;
    color: #fff;
    font-size: clamp(2.55rem, 5.1vw, 4.65rem);
    font-weight: 750;
    line-height: 1.03;
    letter-spacing: -.045em;
}

.pm-hero__copy > p {
    max-width: 660px;
    margin: 1.55rem 0 0;
    color: rgba(255,255,255,.78);
    font-size: clamp(1rem, 1.5vw, 1.16rem);
    line-height: 1.75;
}

.pm-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    margin-top: 2rem;
}

.pm-button {
    display: inline-flex;
    min-height: 3.15rem;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .78rem 1.35rem;
    border: 1px solid transparent;
    border-radius: .75rem;
    font-size: .92rem;
    font-weight: 750;
    text-decoration: none;
    transition: transform .2s ease, background-color .2s ease;
}

    .pm-button:hover {
        transform: translateY(-2px);
    }

.pm-button--primary {
    color: #fff;
    background: var(--pm-accent);
    box-shadow: 0 12px 30px color-mix(in srgb, var(--pm-accent) 35%, transparent);
}

    .pm-button--primary:hover {
        color: #fff;
        filter: brightness(.94);
    }

.pm-button--ghost {
    color: #fff;
    border-color: rgba(255,255,255,.28);
    background: rgba(255,255,255,.08);
}

    .pm-button--ghost:hover {
        color: #fff;
        background: rgba(255,255,255,.14);
    }

.pm-proof {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem 1.25rem;
    margin: 2rem 0 0;
    padding: 0;
    color: rgba(255,255,255,.72);
    font-size: .84rem;
    list-style: none;
}

    .pm-proof li::before {
        margin-right: .4rem;
        color: #7cdae1;
        content: "✓";
        font-weight: 800;
    }

.pm-hero__visual {
    position: relative;
    min-height: 450px;
    display: grid;
    place-items: center;
}

.pm-hero__image-wrap {
    position: relative;
    width: min(100%, 480px);
    height: 420px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 1.35rem;
    box-shadow: 0 30px 70px rgba(0,0,0,.32);
}

    .pm-hero__image-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.pm-float-card {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: .75rem;
    width: max-content;
    max-width: 260px;
    padding: .8rem 1rem;
    color: var(--pm-ink);
    border-radius: .85rem;
    background: rgba(255,255,255,.95);
    box-shadow: 0 16px 38px rgba(3,26,44,.25);
}

.pm-float-card--top {
    top: 1rem;
    left: -1rem;
}

.pm-float-card--bottom {
    right: -1.2rem;
    bottom: 1.2rem;
}

.pm-float-card small, .pm-float-card strong {
    display: block;
}

.pm-float-card small {
    color: #72869a;
    font-size: .65rem;
}

.pm-float-card strong {
    margin-top: .1rem;
    font-size: .78rem;
}

.pm-float-icon {
    display: grid;
    min-width: 2.15rem;
    height: 2.15rem;
    place-items: center;
    color: #fff;
    border-radius: .6rem;
    background: var(--pm-accent);
    font-size: .69rem;
    font-weight: 800;
}

.pm-status-dot {
    width: .75rem;
    height: .75rem;
    border-radius: 50%;
    background: #29ba80;
    box-shadow: 0 0 0 5px rgba(41,186,128,.15);
}

.pm-summary {
    position: relative;
    z-index: 2;
    margin-top: -1.3rem;
}

.pm-summary__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
    border: 1px solid var(--pm-line);
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 18px 45px rgba(16,42,67,.1);
}

.pm-summary article {
    display: grid;
    grid-template-columns: 2.5rem 1fr;
    gap: .85rem;
    padding: 1.35rem;
}

    .pm-summary article + article {
        border-left: 1px solid var(--pm-line);
    }

    .pm-summary article > span {
        display: grid;
        width: 2.5rem;
        height: 2.5rem;
        place-items: center;
        color: var(--pm-accent);
        border-radius: .65rem;
        background: var(--pm-accent-soft);
        font-size: .72rem;
        font-weight: 800;
    }

.pm-summary strong {
    color: var(--pm-navy);
    font-size: .88rem;
}

.pm-summary p {
    margin: .2rem 0 0;
    color: var(--pm-muted);
    font-size: .72rem;
    line-height: 1.5;
}

.pm-section {
    padding: clamp(5rem, 8vw, 7.3rem) 0;
}

.pm-section--soft {
    background: var(--pm-soft);
}

.pm-heading {
    max-width: 690px;
    margin-bottom: 2.5rem;
}

.pm-heading--center {
    margin-inline: auto;
    text-align: center;
}

    .pm-heading--center .pm-eyebrow {
        justify-content: center;
    }

.pm-heading h2, .pm-split__copy h2, .pm-dark-grid h2, .pm-cta h2 {
    margin: 0;
    color: var(--pm-navy);
    font-size: clamp(2rem, 3.7vw, 3rem);
    font-weight: 750;
    line-height: 1.12;
    letter-spacing: -.035em;
}

.pm-heading > p, .pm-split__copy > p {
    margin: 1rem 0 0;
    color: var(--pm-muted);
    line-height: 1.75;
}

.pm-card-grid {
    display: grid;
    gap: 1rem;
}

.pm-card-grid--three {
    grid-template-columns: repeat(3, 1fr);
}

.pm-feature-card {
    padding: 1.75rem;
    border: 1px solid var(--pm-line);
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 12px 32px rgba(16,42,67,.045);
}

.pm-feature-card__icon {
    display: grid;
    width: 3rem;
    height: 3rem;
    place-items: center;
    margin-bottom: 1.35rem;
    color: var(--pm-accent);
    border-radius: .8rem;
    background: var(--pm-accent-soft);
    font-size: 1.15rem;
}

.pm-feature-card h3, .pm-showcase-card h3 {
    margin: 0 0 .6rem;
    color: var(--pm-navy);
    font-size: 1.06rem;
    font-weight: 750;
}

.pm-feature-card p, .pm-showcase-card p {
    margin: 0;
    color: var(--pm-muted);
    font-size: .87rem;
    line-height: 1.68;
}

.pm-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 7vw, 6rem);
    align-items: center;
}

.pm-split--reverse .pm-split__copy {
    order: 2;
}

.pm-check-list {
    display: grid;
    gap: .75rem;
    margin: 1.7rem 0 0;
    padding: 0;
    list-style: none;
}

    .pm-check-list li {
        position: relative;
        padding-left: 1.8rem;
        color: var(--pm-ink);
        font-size: .9rem;
        line-height: 1.55;
    }

        .pm-check-list li::before {
            position: absolute;
            left: 0;
            top: .08rem;
            display: grid;
            width: 1.2rem;
            height: 1.2rem;
            place-items: center;
            color: #fff;
            content: "✓";
            border-radius: 50%;
            background: var(--pm-accent);
            font-size: .65rem;
            font-weight: 800;
        }

.pm-product-preview {
    position: relative;
    min-height: 440px;
    overflow: hidden;
    border: 1px solid var(--pm-line);
    border-radius: 1.35rem;
    background: #fff;
    box-shadow: 0 25px 60px rgba(16,42,67,.14);
}

    .pm-product-preview img {
        width: 100%;
        height: 440px;
        object-fit: cover;
    }

.pm-preview-label {
    position: absolute;
    inset: auto 1rem 1rem;
    padding: 1rem 1.15rem;
    color: #fff;
    border-radius: .8rem;
    background: rgba(6,31,51,.9);
    backdrop-filter: blur(8px);
}

    .pm-preview-label strong, .pm-preview-label span {
        display: block;
    }

    .pm-preview-label strong {
        font-size: .88rem;
    }

    .pm-preview-label span {
        margin-top: .15rem;
        color: rgba(255,255,255,.68);
        font-size: .72rem;
    }

.pm-showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
}

.pm-showcase-grid--three {
    grid-template-columns: repeat(3, 1fr);
}

.pm-showcase-card {
    overflow: hidden;
    border: 1px solid var(--pm-line);
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 12px 32px rgba(16,42,67,.05);
}

    .pm-showcase-card img {
        width: 100%;
        aspect-ratio: 16 / 9;
        object-fit: cover;
        border-bottom: 1px solid var(--pm-line);
    }

    .pm-showcase-card > div {
        padding: 1.35rem;
    }

        .pm-showcase-card > div > span {
            display: block;
            margin-bottom: .55rem;
            color: var(--pm-accent);
            font-size: .68rem;
            font-weight: 800;
            letter-spacing: .1em;
            text-transform: uppercase;
        }

.pm-section--dark {
    color: #fff;
    background: linear-gradient(130deg, var(--pm-deep), var(--pm-navy));
}

.pm-dark-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: clamp(3rem, 8vw, 7rem);
    align-items: center;
}

    .pm-dark-grid h2 {
        color: #fff;
    }

    .pm-dark-grid p {
        margin: 1rem 0 0;
        color: rgba(255,255,255,.7);
        line-height: 1.75;
    }

.pm-dark-list {
    display: grid;
    gap: .75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

    .pm-dark-list li {
        padding: 1rem 1.15rem;
        border: 1px solid rgba(255,255,255,.13);
        border-radius: .8rem;
        background: rgba(255,255,255,.06);
        font-size: .88rem;
    }

        .pm-dark-list li::before {
            margin-right: .6rem;
            color: #83dfe4;
            content: "✓";
            font-weight: 800;
        }

.pm-cta {
    padding: clamp(4.5rem, 8vw, 7rem) 0;
}

.pm-cta__panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    padding: clamp(2rem, 5vw, 3.5rem);
    border: 1px solid var(--pm-line);
    border-radius: 1.35rem;
    background: linear-gradient(120deg, var(--pm-accent-soft), #fbfdff);
}

    .pm-cta__panel > div {
        max-width: 720px;
    }

.pm-cta h2 {
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
}

.pm-cta p {
    margin: .8rem 0 0;
    color: var(--pm-muted);
    line-height: 1.7;
}

.pm-cta .pm-button {
    flex: 0 0 auto;
}


/* =========================================
   NEWS LISTING — HORIZONTAL ARTICLE ROWS
   ========================================= */

.pm-news-row {
    display: grid;
    grid-template-columns: minmax(240px, 31%) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
    padding: 32px 0;
    border-bottom: 1px solid var(--pm-border, #d5d5d5);
}

.pm-news-row__image {
    display: block;
    overflow: hidden;
    border-radius: 6px;
    aspect-ratio: 4 / 3;
}

    .pm-news-row__image img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.pm-news-row__content h3 {
    margin: 0 0 10px;
    font-size: clamp(1.25rem, 2vw, 1.65rem);
    line-height: 1.35;
}

    .pm-news-row__content h3 a {
        color: var(--pm-primary, #1769aa);
        text-decoration: none;
        font-weight: 600;
        text-underline-offset: 3px;
        transition: color 0.2s ease;
    }

        .pm-news-row__content h3 a:hover {
            color: var(--pm-primary-dark, #104d80);
            text-decoration: underline;
        }

        /* Keep keyboard navigation accessible */
        .pm-news-row__content h3 a:focus-visible {
            outline: 2px solid var(--pm-primary, #1769aa);
            outline-offset: 4px;
            border-radius: 2px;
        }

.pm-news-row__lead {
    margin: 0 0 18px;
    line-height: 1.65;
}

.pm-news-row__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    padding: 12px 16px;
    background: var(--pm-surface-soft, #f5f5f5);
    border-radius: 6px;
    font-size: 0.95rem;
}

.pm-news-row__read {
    display: inline-block;
    margin-top: 16px;
    font-weight: 600;
    text-decoration: none;
}

    .pm-news-row__read:hover {
        text-decoration: underline;
    }



/* =========================================
   COMMUNITY STORY SECTIONS — LIGHT BACKGROUND
   Scoped to CommunityStorySection only.
   ========================================= */
.pm-community-story .pm-hero__copy h2 {
    color: var(--pm-navy, #12304a);
}

.pm-community-story .pm-hero__copy > p {
    color: var(--pm-text-muted, #5e6d7b);
}

.pm-community-story .pm-hero__copy .pm-eyebrow,
.pm-community-story .pm-hero__copy .pm-eyebrow--light {
    color: var(--pm-primary, #176fb7);
}

.pm-community-story .pm-hero__copy .pm-proof {
    color: var(--pm-text-muted, #5e6d7b);
}

    .pm-community-story .pm-hero__copy .pm-proof li::before {
        color: var(--pm-primary, #176fb7);
    }

.pm-community-story .pm-hero__copy .pm-button--ghost {
    color: var(--pm-navy, #12304a);
    border-color: var(--pm-border, #dbe3ea);
    background: #fff;
}

    .pm-community-story .pm-hero__copy .pm-button--ghost:hover {
        color: #fff;
        border-color: var(--pm-primary, #176fb7);
        background: var(--pm-primary, #176fb7);
    }

    .pm-community-story .pm-hero__copy .pm-button--ghost:focus-visible {
        outline: 2px solid var(--pm-primary, #176fb7);
        outline-offset: 3px;
    }


/* =========================================
   Tooltip Styles
   ========================================= */
.aclt-tooltip {
    position: relative;
    display: inline-block;
    width: fit-content;
}

    .aclt-tooltip.disabled {
        cursor: not-allowed;
        opacity: 0.65;
        text-decoration: none;
    }

    .aclt-tooltip::after {
        content: attr(data-tooltip);
        position: absolute;
        left: 0;
        bottom: calc(100% + 8px);
        width: 320px;
        max-width: 80vw;
        padding: 10px 14px;
        background: #252525;
        color: #fff;
        border: 1px solid #aeb5c2;
        border-radius: 3px;
        font-size: 14px;
        font-weight: 400;
        line-height: 1.5;
        white-space: normal;
        overflow-wrap: break-word;
        text-align: left;
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        z-index: 1000;
        transition: opacity 0.15s ease-in-out;
    }

    .aclt-tooltip:hover::after,
    .aclt-tooltip:focus-visible::after {
        visibility: visible;
        opacity: 1;
    }

@media (max-width: 767px) {
    .pm-news-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
        padding: 24px 0;
    }

    .pm-news-row__image {
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 980px) {
    .pm-hero__grid {
        grid-template-columns: 1fr;
    }

    .pm-hero__copy {
        max-width: 770px;
    }

    .pm-hero__visual {
        width: min(100%, 650px);
        margin-inline: auto;
    }

    .pm-summary__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pm-summary article:nth-child(3) {
        border-top: 1px solid var(--pm-line);
        border-left: 0;
    }

    .pm-summary article:nth-child(4) {
        border-top: 1px solid var(--pm-line);
    }

    .pm-card-grid--three, .pm-showcase-grid--three {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 720px) {
    .pm-shell {
        width: min(100% - 28px, 1160px);
    }

    .pm-hero {
        padding-top: 4rem;
    }

    .pm-hero__visual {
        min-height: 380px;
    }

    .pm-hero__image-wrap {
        height: 350px;
    }

    .pm-float-card--top {
        left: 0;
    }

    .pm-float-card--bottom {
        right: 0;
    }

    .pm-split, .pm-dark-grid {
        grid-template-columns: 1fr;
    }

    .pm-split--reverse .pm-split__copy {
        order: initial;
    }

    .pm-showcase-grid {
        grid-template-columns: 1fr;
    }

    .pm-cta__panel {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 520px) {
    .pm-hero__copy h1 {
        font-size: 2.4rem;
    }

    .pm-actions .pm-button {
        width: 100%;
    }

    .pm-proof {
        flex-direction: column;
    }

    .pm-summary__grid, .pm-card-grid--three, .pm-showcase-grid--three {
        grid-template-columns: 1fr;
    }

    .pm-summary article + article, .pm-summary article:nth-child(4) {
        border-top: 1px solid var(--pm-line);
        border-left: 0;
    }

    .pm-float-card {
        max-width: 220px;
    }

        .pm-float-card small {
            display: none;
        }

    .pm-product-preview, .pm-product-preview img {
        min-height: 320px;
        height: 320px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pm-button {
        transition: none;
    }
}
