body.page-videos.wp-theme-serviceopus:not(.builder-shell-body):not(.forum-body) .videos-hero {
    padding: 5rem 0 3.5rem;
    background: #f6f8fb;
}

.videos-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 2rem;
    align-items: center;
}

.videos-hero-copy {
    max-width: 780px;
}

.videos-hero-copy h1 {
    margin: 1rem 0 1rem;
    color: #101828;
    font-family: var(--font-display);
    font-size: clamp(2.35rem, 4vw, 4.5rem);
    line-height: 1.02;
}

.videos-hero-copy p {
    max-width: 720px;
    color: #667085;
    font-size: 1.13rem;
    line-height: 1.6;
}

.videos-hero-copy .cta-buttons {
    margin-top: 1.5rem;
}

.videos-hero-panel {
    display: grid;
    gap: 1px;
    overflow: hidden;
    border: 1px solid rgba(16, 24, 40, 0.1);
    border-radius: 8px;
    background: rgba(16, 24, 40, 0.1);
    box-shadow: 0 18px 42px rgba(16, 24, 40, 0.09);
}

.videos-hero-panel div {
    display: grid;
    gap: 0.25rem;
    background: #ffffff;
    padding: 1.25rem;
}

.videos-hero-panel strong {
    color: #101828;
    font-family: var(--font-display);
    font-size: 1.05rem;
}

.videos-hero-panel span {
    color: #667085;
}

body.page-videos.wp-theme-serviceopus:not(.builder-shell-body):not(.forum-body) .videos-player-section,
body.page-videos.wp-theme-serviceopus:not(.builder-shell-body):not(.forum-body) .videos-cta-section {
    background: #ffffff;
}

body.page-videos.wp-theme-serviceopus:not(.builder-shell-body):not(.forum-body) .videos-topics-section {
    background: #f6f8fb;
}

.videos-player-header {
    display: flex;
    gap: 1rem;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.videos-player-header div {
    max-width: 740px;
}

.videos-player-header h2,
.videos-cta-panel h2 {
    margin: 0.85rem 0 0.55rem;
    color: #101828;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 2vw, 2.45rem);
    line-height: 1.12;
}

.videos-player-header p,
.videos-cta-panel p {
    color: #667085;
    font-size: 1.03rem;
    line-height: 1.6;
}

.videos-player-card {
    overflow: hidden;
    margin: 0;
    border: 1px solid rgba(16, 24, 40, 0.1);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 20px 54px rgba(16, 24, 40, 0.12);
}

.videos-player-card video {
    display: block;
    width: 100%;
    aspect-ratio: 25 / 18;
    max-height: 78vh;
    background: #101828;
}

.videos-player-card figcaption {
    display: grid;
    gap: 0.25rem;
    padding: 1rem 1.15rem;
    color: #667085;
}

.videos-player-card figcaption strong {
    color: #101828;
    font-family: var(--font-display);
}

.videos-topic-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.videos-topic-card {
    display: grid;
    gap: 0.55rem;
    align-content: start;
    min-height: 210px;
    border: 1px solid rgba(16, 24, 40, 0.1);
    border-radius: 8px;
    background: #ffffff;
    padding: 1.25rem;
    box-shadow: 0 14px 36px rgba(16, 24, 40, 0.07);
}

.videos-topic-card span {
    color: #17b26a;
    font-size: 0.78rem;
    font-weight: 900;
}

.videos-topic-card h3 {
    margin: 0;
    color: #101828;
    font-family: var(--font-display);
    font-size: 1.12rem;
}

.videos-topic-card p {
    margin: 0;
    color: #667085;
    line-height: 1.55;
}

.videos-cta-panel {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(16, 24, 40, 0.1);
    border-radius: 8px;
    background: #f6f8fb;
    padding: 1.5rem;
}

.videos-cta-panel > div:first-child {
    max-width: 720px;
}

@media (max-width: 1024px) {
    .videos-hero-grid,
    .videos-topic-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .videos-hero-copy {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    body.page-videos.wp-theme-serviceopus:not(.builder-shell-body):not(.forum-body) .videos-hero {
        padding: 3.5rem 0 2.5rem;
    }

    .videos-hero-grid,
    .videos-topic-grid {
        grid-template-columns: 1fr;
    }

    .videos-player-header,
    .videos-cta-panel {
        display: grid;
        align-items: start;
    }

    .videos-player-header .btn,
    .videos-cta-panel .btn {
        width: 100%;
    }

    .videos-player-card video {
        max-height: none;
    }
}
