.zg-hof {
    color: #202429;
    font-family: Hoves, Manrope, Inter, Arial, sans-serif;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 80px 80px;
    font-size: 16px;
    font-weight: 700;
    line-height: 28.8px;
    letter-spacing: 0.6px;
}

.zg-hof * {
    box-sizing: border-box;
}

.zg-hof__heading {
    max-width: 1280px;
    margin: 0 auto 58px;
    color: #202429;
    font-size: 48px;
    font-weight: 700;
    line-height: 56.64px;
    letter-spacing: -0.48px;
    text-align: center;
}

.zg-hof__group {
    max-width: 1280px;
    margin: 0 auto 76px;
}

.zg-hof__group:last-child {
    margin-bottom: 0;
}

.zg-hof__group-title {
    margin: 0 0 22px;
    color: #202429;
    font-size: 32px;
    font-weight: 700;
    line-height: 37.76px;
    letter-spacing: -0.32px;
}

.zg-hof__mosaic {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
    max-width: none;
    margin: 0 auto;
}

.zg-hof__column {
    display: grid;
    align-content: start;
    gap: 20px;
}

.zg-hof__mosaic-wrap {
    position: relative;
}

.zg-hof__see-more {
    display: none;
    min-width: 168px;
    margin: 24px auto 0;
    padding: 13px 30px;
    border: 0;
    border-radius: 999px;
    background: #202429;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.1px;
}

.zg-hof__see-more:hover {
    background: #c93219;
}

/* Desktop only: hide cards flagged as "extra" until See more is clicked. */
@media (min-width: 1181px) {
    .zg-hof__group--collapsed .zg-hof-card--extra {
        display: none;
    }

    .zg-hof__group--collapsible .zg-hof__see-more {
        display: block;
    }
}

.zg-hof-card {
    display: block;
    overflow: hidden;
    border: 0;
    border-radius: 12px;
    background: #f4f4f4;
    color: #202429;
    text-decoration: none;
}

.zg-hof-card--mention {
    display: grid;
    gap: 18px;
    min-height: 0;
    padding: 15px;
}

.zg-hof-card__byline {
    display: flex;
    align-items: center;
    gap: 12px;
}

.zg-hof-card__avatar {
    display: grid;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    place-items: center;
    border-radius: 999px;
    background: #090909;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: -0.02em;
    overflow: hidden;
}

.zg-hof-card__avatar img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    clip-path: circle(50%);
    object-fit: cover;
}

.zg-hof-card__avatar--image {
    background-color: transparent;
    background-image: var(--zg-hof-avatar);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.zg-hof-card__byline strong {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -0.13px;
    line-height: 16.9px;
}

.zg-hof-card__byline em {
    display: block;
    margin-top: 4px;
    color: #687078;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.1;
}

.zg-hof-card__verified {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: 4px;
    vertical-align: middle;
}

.zg-hof-card__quote {
    display: block;
    color: #202429;
    font-size: 15px;
    font-weight: 400;
    line-height: 19.5px;
    letter-spacing: -0.15px;
}

/* ---- Instagram-reel video card ---- */

.zg-hof-card--video {
    position: relative;
    background: #ebebeb;
    border-radius: 8px;
}

.zg-hof-reel {
    position: relative;
}

.zg-hof-reel__header {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 12px 12px 22px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0));
    color: #fff;
    text-decoration: none;
}

a.zg-hof-reel__header:hover .zg-hof-reel__name strong,
a.zg-hof-reel__header:hover .zg-hof-reel__handle {
    text-decoration: underline;
}

.zg-hof-reel__avatar {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    border-radius: 999px;
    background: #c93219;
    background: var(--zg-hof-accent, #c93219);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: -0.02em;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.9);
    overflow: hidden;
}

.zg-hof-reel__avatar--image {
    background-color: transparent;
    background-image: var(--zg-hof-avatar);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.zg-hof-reel__id {
    display: grid;
    gap: 1px;
    min-width: 0;
}

.zg-hof-reel__name {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
}

.zg-hof-reel__name strong {
    overflow: hidden;
    font-size: 13px;
    font-weight: 700;
    line-height: 16px;
    letter-spacing: -0.1px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.zg-hof-reel__name .zg-hof-card__verified {
    flex: 0 0 14px;
    width: 14px;
    height: 14px;
    margin-left: 0;
}

.zg-hof-reel__handle {
    overflow: hidden;
    color: rgba(255, 255, 255, 0.88);
    font-size: 11px;
    font-weight: 600;
    line-height: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.zg-hof-video {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    padding: 0;
    border: 0;
    border-radius: 8px;
    /* !important: the live product template paints bare/classed buttons brand-red,
       which showed through before the lazy video/poster loaded. */
    background: #ebebeb !important;
    color: #fff;
    cursor: pointer;
    text-align: left;
}

.zg-hof-video::before {
    display: block;
    aspect-ratio: 9 / 16;
    content: "";
}

.zg-hof-video video,
.zg-hof-video img,
.zg-hof-video__placeholder {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.zg-hof-video__placeholder {
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.14), transparent 28%),
        linear-gradient(150deg, #171717 0%, #3a2b21 45%, #111 100%);
}

.zg-hof-video__placeholder > span {
    display: grid;
    width: 86px;
    height: 86px;
    place-items: center;
    border: 2px solid rgba(255, 255, 255, 0.72);
    border-radius: 999px;
    color: #fff;
    font-size: 25px;
    font-weight: 900;
}

.zg-hof-video__fade {
    position: absolute;
    inset: auto 0 0 0;
    z-index: 1;
    height: 20%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
    pointer-events: none;
}

.zg-hof-video__play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    display: grid;
    width: 72px;
    height: 72px;
    place-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
    transform: translate(-50%, -50%);
}

.zg-hof-video__play::before {
    width: 0;
    height: 0;
    margin-left: 5px;
    border-top: 13px solid transparent;
    border-bottom: 13px solid transparent;
    border-left: 21px solid #151515;
    content: "";
}

.zg-hof-modal[hidden] {
    display: none;
}

.zg-hof-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
}

.zg-hof-modal__inner {
    position: relative;
    width: min(420px, 100%);
    overflow: hidden;
    border-radius: 12px;
    background: transparent;
    box-shadow: 0 20px 80px rgba(32, 36, 41, 0.22);
}

.zg-hof-modal video {
    display: block;
    width: 100%;
    max-height: min(82vh, 760px);
    border-radius: 12px;
    background: transparent;
}

.zg-hof-modal__close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #111;
    cursor: pointer;
    font-size: 27px;
    line-height: 1;
}

@media (max-width: 1180px) {
    .zg-hof {
        padding-right: 16px;
        padding-left: 16px;
    }

    .zg-hof__mosaic {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .zg-hof {
        width: 100vw !important;
        max-width: none !important;
        margin-right: calc(50% - 50vw) !important;
        margin-left: calc(50% - 50vw) !important;
        padding: 0 16px 48px !important;
        font-size: 15px;
        line-height: 27px;
        letter-spacing: 0.6px;
    }

    .zg-hof .zg-hof__heading {
        width: 100%;
        margin-bottom: 39px;
        font-size: 26px !important;
        font-weight: 700;
        line-height: 30.68px !important;
        letter-spacing: -0.26px;
        text-align: center;
    }

    .zg-hof__group {
        margin-bottom: 44px;
    }

    .zg-hof__group-title {
        margin-bottom: 16px;
        font-size: 22px;
        line-height: 25.96px;
        letter-spacing: -0.22px;
    }

    .zg-hof__mosaic {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
        max-width: none;
    }

    .zg-hof__column {
        gap: 16px;
    }

    .zg-hof-card--mention {
        gap: 12px;
        padding: 8.89px 8.3px;
        border-radius: 6.95px;
    }

    .zg-hof-card__byline {
        gap: 6.62px;
    }

    .zg-hof-card__byline > span {
        min-width: 0;
    }

    .zg-hof-card__avatar {
        width: 26px;
        height: 26px;
        flex-basis: 26px;
        font-size: 8px;
    }

    .zg-hof-card__byline strong {
        display: inline-block;
        max-width: calc(100% - 16px);
        overflow: hidden;
        font-size: 8px;
        font-weight: 600;
        line-height: 10.4px;
        letter-spacing: -0.08px;
        text-overflow: ellipsis;
        vertical-align: middle;
        white-space: nowrap;
    }

    .zg-hof-card__byline em {
        margin-top: 1px;
        font-size: 8px;
        line-height: 9.6px;
    }

    .zg-hof-card__verified {
        width: 10px;
        height: 10px;
        font-size: 7px;
    }

    .zg-hof-card__quote {
        font-size: 10px;
        line-height: 13px;
        letter-spacing: -0.1px;
    }

    .zg-hof-card--video,
    .zg-hof-video {
        border-radius: 6.95px;
    }

    .zg-hof-reel__header {
        gap: 6px;
        padding: 8px 8px 18px;
    }

    .zg-hof-reel__avatar {
        width: 24px;
        height: 24px;
        flex-basis: 24px;
        font-size: 8px;
        box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.9);
    }

    .zg-hof-reel__name strong {
        font-size: 10px;
        line-height: 12px;
    }

    .zg-hof-reel__name .zg-hof-card__verified {
        flex-basis: 10px;
        width: 10px;
        height: 10px;
    }

    .zg-hof-reel__handle {
        font-size: 8px;
        line-height: 10px;
    }

    .zg-hof-video__play {
        width: 52px;
        height: 52px;
    }

    .zg-hof-video__play::before {
        border-top-width: 10px;
        border-bottom-width: 10px;
        border-left-width: 16px;
    }
}
