.hagedorn-social {
    --hs-yellow: #fdc600;
    --hs-black: #000;
    --hs-blue: #1f384c;
    --hs-head-bg: #fff;
    --hs-placeholder: #dfe5e5;

    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background: var(--hs-head-bg);
    color: var(--hs-black);
    font-family: "Radio Canada Big", Arial, sans-serif;
    overflow: hidden;
}

.hsocial-head {
    width: 100%;
    min-height: 190px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: clamp(30px, 6vw, 100px);
    padding: 32px clamp(24px, 7vw, 110px) 34px;
    background: #fff;
}

.hsocial-head__copy {
    min-width: 0;
}

.hsocial-kicker {
    margin: 0 0 15px;
    color: var(--hs-blue);
    font-size: 14px;
    line-height: 1.2;
    font-weight: 400;
}

.hsocial-heading {
    max-width: 720px;
    margin: 0 !important;
    color: #000 !important;
    font-family: "Radio Canada Big", Arial, sans-serif !important;
    font-size: clamp(36px, 4.45vw, 64px) !important;
    line-height: .96 !important;
    font-weight: 700 !important;
    letter-spacing: -.025em;
}

.hsocial-head__accent {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    padding-top: 16px;
}

.hsocial-corner {
    display: block;
    width: 72px;
    height: 62px;
    border-right: 18px solid var(--hs-yellow);
    border-bottom: 18px solid var(--hs-yellow);
}

.hsocial-debug {
    padding: 8px clamp(24px, 7vw, 110px);
    background: #fff4c2;
    color: #222;
    font: 12px/1.4 monospace;
}

.hsocial-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    background: #111;
}

.hsocial-card {
    position: relative;
    min-width: 0;
    margin: 0;
    overflow: hidden;
}

.hsocial-card__surface {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    color: #fff !important;
    text-decoration: none !important;
    background: #cfd7d7;
}

.hsocial-card__media,
.hsocial-card__media img,
.hsocial-card__placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hsocial-card__media img {
    display: block;
    object-fit: cover;
    transform: scale(1.002);
    transition: transform .55s ease;
}

.hsocial-card__surface:hover .hsocial-card__media img {
    transform: scale(1.045);
}

.hsocial-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(135deg, rgba(255,255,255,.24), rgba(255,255,255,0) 42%),
        var(--hs-placeholder);
    color: #718080;
}

.hsocial-card:nth-child(3n+2) .hsocial-card__placeholder {
    background:
        linear-gradient(135deg, rgba(255,255,255,.2), rgba(255,255,255,0) 42%),
        #cbd4d4;
}

.hsocial-card:nth-child(3n+3) .hsocial-card__placeholder {
    background:
        linear-gradient(135deg, rgba(255,255,255,.18), rgba(255,255,255,0) 42%),
        #bfcaca;
}

.hsocial-card__placeholder span {
    padding: 9px 13px;
    border: 1px solid rgba(31,56,76,.28);
    font-size: 13px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: .02em;
}

.hsocial-card__platform {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 4;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--hs-yellow);
    color: #fff;
    border-radius: 2px;
    font-size: 14px;
    line-height: 1;
}

.hsocial-card__overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    min-height: 45%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px 22px 22px;
    color: #fff;
    pointer-events: none;
    background: linear-gradient(to top, rgba(0,0,0,.84) 0%, rgba(0,0,0,.42) 55%, rgba(0,0,0,0) 100%);
}

.hsocial-card.is-placeholder .hsocial-card__overlay {
    background: linear-gradient(to top, rgba(19,38,49,.72), rgba(19,38,49,0));
}

.hsocial-card__date {
    margin: 0 0 7px;
    color: rgba(255,255,255,.88);
    font-size: 11px;
    line-height: 1.2;
    font-weight: 400;
}

.hsocial-card__title {
    max-width: 92%;
    margin: 0 !important;
    color: #fff !important;
    font-family: "Radio Canada Big", Arial, sans-serif !important;
    font-size: clamp(17px, 1.55vw, 25px) !important;
    line-height: 1.08 !important;
    font-weight: 700 !important;
    letter-spacing: -.015em;
}

@media (max-width: 1199.98px) {
    .hsocial-head {
        padding-left: 40px;
        padding-right: 40px;
    }

    .hsocial-heading {
        font-size: clamp(34px, 5vw, 52px) !important;
    }

    .hsocial-card__surface {
        aspect-ratio: 1.22 / 1;
    }
}

@media (max-width: 899.98px) {
    .hsocial-head {
        min-height: 0;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 20px;
    }

    .hsocial-head__accent {
        padding-top: 4px;
    }

    .hsocial-corner {
        width: 58px;
        height: 50px;
        border-right-width: 14px;
        border-bottom-width: 14px;
    }

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

    .hsocial-card__title {
        font-size: 20px !important;
    }
}

@media (max-width: 599.98px) {
    .hsocial-head {
        padding: 28px 20px 30px;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 14px;
    }

    .hsocial-kicker {
        margin-bottom: 10px;
        font-size: 13px;
    }

    .hsocial-heading {
        font-size: clamp(32px, 9vw, 42px) !important;
        line-height: .98 !important;
    }

    .hsocial-corner {
        width: 42px;
        height: 38px;
        border-right-width: 10px;
        border-bottom-width: 10px;
    }

    .hsocial-grid {
        grid-template-columns: 1fr;
    }

    .hsocial-card__surface {
        aspect-ratio: 1.18 / 1;
    }

    .hsocial-card__platform {
        top: 12px;
        right: 12px;
    }

    .hsocial-card__overlay {
        padding: 18px;
    }
}
