.hrmg-insights-view {
    --insights-orange: #ff672f;
    --insights-orange-deep: #d94816;
    --insights-cyan: #42c8ee;
    --insights-mint: #4fd6b0;
    --insights-ink: #111b27;
    --insights-navy: #071827;
    --insights-night: #07121e;
    --insights-text: #42536a;
    --insights-muted: #718096;
    --insights-line: #dce4eb;
    --insights-soft: #f3f6f8;
    --insights-white: #ffffff;
    background: var(--insights-soft);
}

/* The7 gives its page templates a constrained inner wrapper. Insights owns
   only the content canvas; the existing masthead and footer stay untouched. */
.hrmg-insights-view #main {
    padding: 0 !important;
    background: var(--insights-soft) !important;
}

.hrmg-insights-view #main > .wf-wrap {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
}

.hrmg-insights-view #main .wf-container-main {
    display: block !important;
    margin: 0 !important;
}

.hrmg-insights-view #content.hrmg-insights-content {
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.hrmg-insights,
.hrmg-insights * {
    box-sizing: border-box;
}

.hrmg-insights {
    overflow: hidden;
    color: var(--insights-ink);
    font-family: inherit;
}

.hrmg-insights a {
    color: inherit;
    text-decoration: none;
}

.hrmg-insights a:focus-visible,
.hrmg-insights button:focus-visible {
    outline: 3px solid var(--insights-cyan);
    outline-offset: 4px;
}

.hrmg-insights-shell {
    width: min(100% - 64px, 1360px);
    margin-inline: auto;
}

.hrmg-insights-hero {
    position: relative;
    isolation: isolate;
    min-height: 610px;
    padding: clamp(78px, 9vw, 132px) 0 clamp(70px, 8vw, 112px);
    overflow: hidden;
    color: var(--insights-white);
    background:
        radial-gradient(circle at 87% 10%, rgba(66, 200, 238, 0.18), transparent 27%),
        radial-gradient(circle at 12% 100%, rgba(255, 103, 47, 0.17), transparent 35%),
        linear-gradient(120deg, #07131f 0%, #0a1c2d 52%, #10253a 100%);
}

.hrmg-insights-hero::before,
.hrmg-insights-hero::after {
    position: absolute;
    z-index: -1;
    border: 1px solid rgba(66, 200, 238, 0.22);
    border-radius: 50%;
    content: "";
}

.hrmg-insights-hero::before {
    top: -330px;
    right: -210px;
    width: 720px;
    height: 720px;
}

.hrmg-insights-hero::after {
    top: -220px;
    right: -105px;
    width: 485px;
    height: 485px;
    border-color: rgba(255, 103, 47, 0.16);
}

.hrmg-insights-hero__texture {
    position: absolute;
    z-index: -1;
    inset: 0;
    opacity: 0.34;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: linear-gradient(90deg, black, transparent 78%);
}

.hrmg-insights-hero__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
    gap: clamp(54px, 8vw, 125px);
    align-items: center;
}

.hrmg-insights-eyebrow {
    display: block;
    margin: 0 0 20px;
    color: var(--insights-cyan);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.hrmg-insights-eyebrow--dark {
    color: var(--insights-orange-deep);
}

.hrmg-insights-hero h1 {
    max-width: 850px;
    margin: 0;
    color: var(--insights-white);
    font-size: clamp(58px, 7vw, 106px);
    font-weight: 850;
    line-height: 0.94;
    letter-spacing: -0.065em;
}

.hrmg-insights-hero__copy > p {
    max-width: 760px;
    margin: 34px 0 0;
    color: #c8d5e1;
    font-size: clamp(19px, 2vw, 25px);
    line-height: 1.55;
}

.hrmg-insights-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 39px;
}

.hrmg-insights-button {
    display: inline-flex;
    min-height: 54px;
    padding: 0 23px;
    border: 1px solid transparent;
    border-radius: 9px;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.hrmg-insights-button:hover {
    transform: translateY(-2px);
}

.hrmg-insights-button--primary {
    color: #fff !important;
    background: var(--insights-orange);
    box-shadow: 0 14px 34px rgba(255, 103, 47, 0.2);
}

.hrmg-insights-button--primary:hover {
    background: #f45922;
}

.hrmg-insights-button--quiet {
    color: #eef7fb !important;
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.05);
}

.hrmg-insights-button--quiet:hover {
    border-color: rgba(255, 255, 255, 0.48);
    background: rgba(255, 255, 255, 0.09);
}

.hrmg-insights-hero__formats {
    position: relative;
    padding: clamp(30px, 4vw, 46px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 22px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.065);
    box-shadow: 0 28px 75px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(12px);
}

.hrmg-insights-hero__formats::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 90px;
    height: 4px;
    background: linear-gradient(90deg, var(--insights-orange), var(--insights-cyan));
    content: "";
}

.hrmg-insights-hero__formats-label {
    display: block;
    margin-bottom: 13px;
    color: var(--insights-mint);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hrmg-insights-hero__formats > strong {
    display: block;
    max-width: 350px;
    color: #fff;
    font-size: clamp(23px, 2vw, 30px);
    line-height: 1.25;
}

.hrmg-insights-hero__formats ul {
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.hrmg-insights-hero__formats li {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 12px;
    padding: 14px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.11);
    align-items: center;
    color: #d6e0e9;
    font-size: 15px;
    font-weight: 650;
}

.hrmg-insights-hero__formats li span {
    color: var(--insights-cyan);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.hrmg-insights-focus {
    border-bottom: 1px solid #d8e1e8;
    background: #fff;
}

.hrmg-insights-focus .hrmg-insights-shell {
    display: flex;
    min-height: 80px;
    align-items: center;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.hrmg-insights-focus .hrmg-insights-shell::-webkit-scrollbar {
    display: none;
}

.hrmg-insights-focus span {
    flex: 0 0 auto;
    padding: 6px clamp(16px, 2.5vw, 31px);
    border-left: 1px solid var(--insights-line);
    color: #526174;
    font-size: 13px;
    font-weight: 750;
    white-space: nowrap;
}

.hrmg-insights-focus span:first-child {
    padding-left: 0;
    border-left: 0;
}

.hrmg-insights-focus .hrmg-insights-focus__label {
    color: var(--insights-orange-deep);
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hrmg-insights-body {
    padding: clamp(72px, 8vw, 118px) 0 clamp(80px, 10vw, 150px);
    scroll-margin-top: 80px;
}

.hrmg-insights-section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
    gap: 40px;
    margin-bottom: 34px;
    align-items: end;
}

.hrmg-insights-section-heading h2 {
    margin: 0;
    color: var(--insights-ink);
    font-size: clamp(40px, 4vw, 62px);
    font-weight: 850;
    line-height: 1;
    letter-spacing: -0.05em;
}

.hrmg-insights-section-heading > p {
    margin: 0 0 3px;
    color: var(--insights-text);
    font-size: 17px;
    line-height: 1.55;
}

.hrmg-insights-feature {
    margin-bottom: clamp(85px, 10vw, 145px);
}

.hrmg-insights-feature__card {
    display: grid;
    grid-template-columns: minmax(0, 1.14fr) minmax(380px, 0.86fr);
    min-height: 530px;
    border: 1px solid var(--insights-line);
    border-radius: 22px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 28px 80px rgba(17, 27, 39, 0.09);
}

.hrmg-insights-feature__media,
.hrmg-insight-card__media {
    position: relative;
    display: block;
    overflow: hidden;
    background: var(--insights-navy);
}

.hrmg-insights-feature__media::after,
.hrmg-insight-card__media::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(3, 13, 22, 0.38));
    content: "";
    pointer-events: none;
}

.hrmg-insights-feature__media .hrmg-insight-image,
.hrmg-insights-feature__media .hrmg-insight-placeholder {
    width: 100%;
    height: 100%;
    min-height: 530px;
    object-fit: cover;
    transition: transform 450ms cubic-bezier(.2, .7, .2, 1);
}

.hrmg-insights-feature__media:hover .hrmg-insight-image {
    transform: scale(1.025);
}

.hrmg-insight-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--insights-cyan);
    background:
        radial-gradient(circle at 70% 20%, rgba(66, 200, 238, 0.28), transparent 28%),
        radial-gradient(circle at 18% 90%, rgba(255, 103, 47, 0.24), transparent 38%),
        linear-gradient(130deg, #071827, #16263b);
}

.hrmg-insight-placeholder > span {
    display: flex;
    width: 72px;
    height: 72px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 22px;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
}

.hrmg-insight-placeholder svg {
    width: 30px;
    height: 30px;
}

.hrmg-insights-format-chip {
    position: absolute;
    z-index: 2;
    left: 22px;
    bottom: 22px;
    display: inline-flex;
    min-height: 42px;
    padding: 0 15px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    align-items: center;
    gap: 8px;
    color: #fff;
    background: rgba(5, 19, 31, 0.78);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(10px);
    font-size: 12px;
    font-weight: 800;
}

.hrmg-insights-format-chip svg {
    color: var(--insights-cyan);
}

.hrmg-insights-format-chip--small {
    left: 16px;
    bottom: 15px;
    min-height: 36px;
    padding: 0 12px;
}

.hrmg-insights-format-chip--small svg {
    width: 17px;
    height: 17px;
}

.hrmg-insights-feature__copy {
    display: flex;
    padding: clamp(38px, 5vw, 70px);
    flex-direction: column;
    justify-content: center;
}

.hrmg-insights-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--insights-muted);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hrmg-insights-meta span:first-child {
    color: var(--insights-orange-deep);
}

.hrmg-insights-feature__copy h3 {
    margin: 21px 0 0;
    color: var(--insights-ink);
    font-size: clamp(35px, 3.2vw, 53px);
    font-weight: 850;
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.hrmg-insights-feature__copy h3 a:hover,
.hrmg-insight-card h3 a:hover {
    color: var(--insights-orange-deep);
}

.hrmg-insights-feature__copy > p {
    margin: 25px 0 0;
    color: var(--insights-text);
    font-size: 17px;
    line-height: 1.72;
}

.hrmg-insights-feature__footer {
    display: flex;
    margin-top: 34px;
    padding-top: 25px;
    border-top: 1px solid var(--insights-line);
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: var(--insights-muted);
    font-size: 13px;
    font-weight: 700;
}

.hrmg-insights-feature__footer a {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    color: var(--insights-orange-deep);
    font-size: 14px;
    font-weight: 850;
}

.hrmg-insights-feature__footer a span,
.hrmg-insight-card__footer a span {
    transition: transform 160ms ease;
}

.hrmg-insights-feature__footer a:hover span,
.hrmg-insight-card__footer a:hover span {
    transform: translateX(4px);
}

.hrmg-insights-section-heading--latest {
    padding-bottom: 28px;
    border-bottom: 1px solid var(--insights-line);
}

.hrmg-insights-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.hrmg-insight-card {
    display: flex;
    min-width: 0;
    min-height: 100%;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid var(--insights-line);
    border-radius: 17px;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 12px 35px rgba(17, 27, 39, 0.04);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.hrmg-insight-card:hover {
    border-color: #c8d3dd;
    transform: translateY(-4px);
    box-shadow: 0 22px 50px rgba(17, 27, 39, 0.09);
}

.hrmg-insight-card__media {
    aspect-ratio: 16 / 10;
}

.hrmg-insight-card__media .hrmg-insight-image,
.hrmg-insight-card__media .hrmg-insight-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 400ms cubic-bezier(.2, .7, .2, 1);
}

.hrmg-insight-card:hover .hrmg-insight-image {
    transform: scale(1.035);
}

.hrmg-insight-card__body {
    padding: 25px 25px 18px;
}

.hrmg-insight-card h3 {
    margin: 17px 0 0;
    color: var(--insights-ink);
    font-size: clamp(23px, 2vw, 30px);
    font-weight: 830;
    line-height: 1.12;
    letter-spacing: -0.035em;
}

.hrmg-insight-card__body > p {
    margin: 17px 0 0;
    color: var(--insights-text);
    font-size: 15px;
    line-height: 1.65;
}

.hrmg-insight-card__footer {
    display: flex;
    margin-top: auto;
    padding: 18px 25px 22px;
    border-top: 1px solid #edf1f4;
    align-items: center;
    justify-content: space-between;
    color: var(--insights-muted);
    font-size: 12px;
    font-weight: 750;
}

.hrmg-insight-card__footer a {
    display: flex;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: var(--insights-orange-deep);
    background: #fff0ea;
    font-size: 17px;
}

.hrmg-insights-pagination {
    margin-top: 50px;
}

.hrmg-insights-pagination ul {
    display: flex;
    margin: 0;
    padding: 0;
    align-items: center;
    justify-content: center;
    gap: 8px;
    list-style: none;
}

.hrmg-insights-pagination a,
.hrmg-insights-pagination .current {
    display: inline-flex;
    min-width: 44px;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid var(--insights-line);
    border-radius: 9px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--insights-text);
    background: #fff;
    font-size: 13px;
    font-weight: 800;
}

.hrmg-insights-pagination a:hover {
    border-color: var(--insights-orange);
    color: var(--insights-orange-deep);
}

.hrmg-insights-pagination .current {
    border-color: var(--insights-ink);
    color: #fff;
    background: var(--insights-ink);
}

.hrmg-insights-empty {
    padding: 70px 32px;
    border: 1px dashed #cbd6df;
    border-radius: 16px;
    text-align: center;
    background: #fff;
}

.hrmg-insights-empty strong {
    display: block;
    color: var(--insights-ink);
    font-size: 25px;
}

.hrmg-insights-empty p {
    margin: 9px 0 0;
    color: var(--insights-text);
}

.hrmg-insights-cta {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 50px;
    margin-top: clamp(85px, 10vw, 145px);
    padding: clamp(42px, 6vw, 78px);
    border-radius: 22px;
    overflow: hidden;
    align-items: center;
    color: #fff;
    background:
        radial-gradient(circle at 100% 0, rgba(66, 200, 238, 0.2), transparent 31%),
        linear-gradient(120deg, #081827, #172438);
}

.hrmg-insights-cta::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 135px;
    height: 5px;
    background: linear-gradient(90deg, var(--insights-orange), var(--insights-cyan));
    content: "";
}

.hrmg-insights-cta h2 {
    max-width: 720px;
    margin: 0;
    color: #fff;
    font-size: clamp(37px, 4.5vw, 65px);
    font-weight: 850;
    line-height: 1;
    letter-spacing: -0.05em;
}

.hrmg-insights-cta p {
    max-width: 760px;
    margin: 22px 0 0;
    color: #c9d5df;
    font-size: 17px;
    line-height: 1.65;
}

.hrmg-insights-cta .hrmg-insights-button {
    flex: 0 0 auto;
    white-space: nowrap;
}

@media (max-width: 1120px) {
    .hrmg-insights-hero__layout {
        grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
        gap: 48px;
    }

    .hrmg-insights-feature__card {
        grid-template-columns: minmax(0, 1fr) minmax(350px, 0.92fr);
    }

    .hrmg-insights-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hrmg-insights-cta {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hrmg-insights-cta .hrmg-insights-button {
        justify-self: start;
    }
}

@media (max-width: 850px) {
    .hrmg-insights-shell {
        width: min(100% - 38px, 1360px);
    }

    .hrmg-insights-hero {
        min-height: 0;
        padding: 76px 0 72px;
    }

    .hrmg-insights-hero__layout,
    .hrmg-insights-section-heading,
    .hrmg-insights-feature__card {
        grid-template-columns: 1fr;
    }

    .hrmg-insights-hero h1 {
        max-width: 700px;
        font-size: clamp(53px, 12vw, 82px);
    }

    .hrmg-insights-hero__formats {
        max-width: 620px;
    }

    .hrmg-insights-section-heading {
        gap: 17px;
    }

    .hrmg-insights-section-heading > p {
        max-width: 610px;
    }

    .hrmg-insights-feature__media .hrmg-insight-image,
    .hrmg-insights-feature__media .hrmg-insight-placeholder {
        min-height: 400px;
        max-height: 520px;
    }
}

@media (max-width: 650px) {
    .hrmg-insights-shell {
        width: min(100% - 30px, 1360px);
    }

    .hrmg-insights-hero {
        padding-top: 62px;
    }

    .hrmg-insights-hero h1 {
        font-size: clamp(49px, 16vw, 67px);
        letter-spacing: -0.058em;
    }

    .hrmg-insights-hero__copy > p {
        margin-top: 27px;
        font-size: 18px;
    }

    .hrmg-insights-hero__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hrmg-insights-hero__actions .hrmg-insights-button {
        width: 100%;
    }

    .hrmg-insights-focus .hrmg-insights-shell {
        min-height: 67px;
    }

    .hrmg-insights-focus span {
        padding-inline: 16px;
    }

    .hrmg-insights-body {
        padding-top: 65px;
    }

    .hrmg-insights-section-heading h2 {
        font-size: 42px;
    }

    .hrmg-insights-feature__media .hrmg-insight-image,
    .hrmg-insights-feature__media .hrmg-insight-placeholder {
        min-height: 285px;
        max-height: 360px;
    }

    .hrmg-insights-feature__copy {
        padding: 30px 25px 34px;
    }

    .hrmg-insights-feature__copy h3 {
        font-size: 35px;
    }

    .hrmg-insights-feature__footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .hrmg-insights-grid {
        grid-template-columns: 1fr;
    }

    .hrmg-insight-card__media {
        aspect-ratio: 16 / 9;
    }

    .hrmg-insights-pagination .prev span:nth-child(2),
    .hrmg-insights-pagination .next span:first-child {
        display: none;
    }

    .hrmg-insights-pagination a,
    .hrmg-insights-pagination .current {
        min-width: 40px;
        min-height: 40px;
        padding: 0 11px;
    }

    .hrmg-insights-cta {
        padding: 40px 25px;
    }

    .hrmg-insights-cta .hrmg-insights-button {
        width: 100%;
        white-space: normal;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hrmg-insights *,
    .hrmg-insights *::before,
    .hrmg-insights *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

