.rh-detail-hero {
    padding: 42px 0 56px;
    background: linear-gradient(108deg, #fffefd 0%, #fff5ec 100%);
}

.rh-detail-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    gap: 64px;
    align-items: center;
    margin-top: 38px;
}

.rh-detail-introduction {
    min-width: 0;
}

.rh-detail-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 17px;
}

.rh-detail-badges .rh-badge {
    background: #FFA600;
    color: #fff;
    font-weight: 700;
}

.rh-detail-title {
    max-width: 720px;
    margin: 0 0 18px;
    font-family: Tajawal, sans-serif;
    font-size: clamp(34px, 3.7vw, 52px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.025em;
}

.rh-detail-excerpt {
    margin: 0 0 12px;
    color: #666;
    font-size: 18px;
    line-height: 1.55;
}

.rh-detail-published {
    margin: 0 0 22px;
    color: #76716b;
    font-size: 14px;
    line-height: 1.5;
}

.rh-detail-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 22px;
    margin: 4px 0 18px;
    color: #27333b;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .03em;
}

.rh-detail-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.rh-detail-meta-icon {
    display: inline-grid;
    place-items: center;
    width: 20px;
    height: 20px;
    color: #FFA600;
    flex: 0 0 20px;
}

.rh-detail-meta-icon svg {
    display: block;
    width: 20px;
    height: 20px;
}

.rh-detail-status,
.rh-detail-status--ended {
    background: #FFA600 !important;
    border: 0;
    color: #fff !important;
    font-weight: 700;
}

.rh-detail-hero-image {
    width: 100%;
    overflow: hidden;
    border-radius: 24px;
}

.rh-detail-hero-image img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.rh-workshop-booking {
    width: 100%;
    max-width: 370px;
    justify-self: end;
    padding: 32px 0 32px 30px;
    border-left: 1px solid #ebd9c8;
}

.rh-workshop-booking-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 16px;
    margin: 0 0 18px;
}

.rh-workshop-format {
    margin: 0 0 18px;
    color: #886000;
    font-size: 15px;
    font-weight: 700;
}

.rh-workshop-dates {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.rh-workshop-date {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.rh-workshop-date-icon {
    color: #ffa600;
    flex: 0 0 30px;
}

.rh-workshop-date time {
    font-family: Tajawal, sans-serif;
    font-size: 27px;
    font-weight: 800;
    line-height: 1.2;
}

.rh-workshop-date p {
    color: #555;
    margin: 6px 0 0;
    font-size: 15px;
    line-height: 1.5;
}

.rh-workshop-date p span {
    white-space: nowrap;
}

.rh-workshop-duration {
    color: #886000;
    font-family: "Inter Tight", sans-serif;
    font-weight: 700;
}

.rh-workshop-date-location {
    margin: 4px 0 0;
    color: #555;
    font-family: "Inter Tight", sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

.rh-workshop-booking-note {
    margin: 20px 0;
    font-size: 15px;
    line-height: 1.5;
    color: #666;
}

.rh-workshop-booking .rh-button {
    width: 100%;
    margin-top: 10px;
    background: #FFA600;
    border-color: #FFA600;
    color: #fff;
    font-weight: 700;
}

.rh-workshop-booking .rh-button:hover {
    background: #1e1c1b;
    border-color: #1e1c1b;
    color: #fff;
}

.rh-workshop-booking .rh-button--outline {
    background: #fff;
    color: #1e1c1b;
    font-weight: 600;
}

.rh-workshop-booking .rh-button--outline:hover {
    background: #1e1c1b;
    border-color: #1e1c1b;
    color: #fff;
}

.rh-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 2.35fr) minmax(245px, 1fr);
    align-items: start;
    gap: 64px;
}

.rh-detail-body,
.rh-detail-sidebar {
    min-width: 0;
}

.rh-detail-sidebar {
    display: grid;
    gap: 22px;
}

.rh-detail-block {
    margin: 0 0 50px;
    scroll-margin-top: 110px;
}

.rh-detail-block:last-child {
    margin-bottom: 0;
}

.rh-detail-block h2 {
    margin: 0 0 22px;
    font-family: Tajawal, sans-serif;
    font-size: 34px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.02em;
}

.rh-article-copy p {
    margin: 0 0 18px;
    color: #666;
    font-size: 17px;
    line-height: 1.75;
    text-align: justify;
}

.rh-article-copy p:last-child {
    margin-bottom: 0;
}

.rh-video-about {
    color: #666;
    font-size: 17px;
    line-height: 1.75;
    text-align: justify;
}

.rh-resource-video {
    position: relative;
    display: block;
    width: 100%;
    min-height: 280px;
    aspect-ratio: 16 / 9;
    padding: 0;
    border: 0;
    border-radius: 22px;
    overflow: hidden;
    background: #c8c8c8;
    color: #fff;
    cursor: pointer;
    text-align: left;
}

.rh-resource-video-poster {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.rh-resource-video--poster .rh-resource-video-overlay {
    background: linear-gradient(180deg, rgba(17, 17, 17, 0.08) 28%, rgba(17, 17, 17, 0.62) 100%);
}

.rh-resource-video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    padding: 28px;
}

.rh-resource-video-copy {
    display: grid;
    gap: 7px;
}

.rh-resource-video-kicker,
.rh-resource-video-duration {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
    color: #fff;
}

.rh-resource-video-title {
    font-family: Tajawal, sans-serif;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
}

.rh-resource-play {
    flex: 0 0 58px;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #ffa600;
    color: #fff;
    transition: transform .25s ease;
}

.rh-resource-play svg {
    width: 18px;
    height: 21px;
    margin-left: 4px;
}

.rh-resource-video:hover .rh-resource-play {
    transform: scale(1.08);
}

.rh-resource-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.rh-video-hero { min-width: 0; }
.rh-video-hero .rh-recording { margin: 0; }
.rh-video-hero .rh-resource-video { min-height: 0; }

.rh-speaker-list {
    display: grid;
    gap: 16px;
}

.rh-speaker {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 10px;
    border-radius: 22px;
    background: #f6f6f6;
}

.rh-speaker > img {
    flex: 0 0 136px;
    width: 136px;
    height: 146px;
    object-fit: cover;
    object-position: center top;
    border-radius: 16px;
}

.rh-speaker > div {
    min-width: 0;
    padding: 12px 16px 12px 0;
}

.rh-speaker h3 {
    margin: 0 0 3px;
    font-family: Tajawal, sans-serif;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.2;
}

.rh-speaker-label {
    color: #FFA600;
    margin: 0 0 8px;
    font-weight: 700;
    line-height: 1.3;
}

.rh-speaker-social {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 12px;
}

.rh-speaker-social a {
    display: inline-flex;
    color: #FFA600;
    text-decoration: none;
}

.rh-speaker-social svg {
    display: block;
    width: 28px;
    height: 28px;
}

.rh-speaker-role {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    color: #666;
}

.rh-takeaways {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 45px 28px;
    padding: 52px 32px 30px;
    background: #f6f6f6;
    border-radius: 22px;
}

.rh-takeaway {
    position: relative;
    min-width: 0;
    padding: 58px 26px 26px;
    background: #fff;
    border-radius: 20px;
}

.rh-takeaway-icon {
    position: absolute;
    top: -20px;
    left: 26px;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #ffa600;
}

.rh-takeaway-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.rh-takeaway p {
    color: #343434;
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.55;
}

.rh-learning-list {
    display: grid;
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.rh-learning-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 17px;
    line-height: 1.5;
}

.rh-learning-list svg,
.rh-learning-icon {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    color: #ff681d;
    margin-top: 1px;
}

.rh-learning-icon {
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #ffa600;
}

.rh-learning-icon img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.rh-conference-promo {
    padding: 25px;
    background: #f5f5f5;
    border-radius: 24px;
}

.rh-conference-promo h2,
.rh-conference-promo h3 {
    margin: 0 0 6px;
    font-family: Tajawal, sans-serif;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.15;
    color: #27333b;
}

.rh-conference-promo-image {
    display: block;
    overflow: hidden;
    border-radius: 12px;
    margin: 0 0 17px;
}

.rh-conference-promo-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.rh-conference-promo p {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 8px 0;
    font-family: 'Inter Tight', sans-serif;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.4;
    color: #666;
}

.rh-conference-promo p.rh-conference-promo-message {
    display: block;
    white-space: pre-line;
}

.rh-conference-promo p svg {
    flex: 0 0 19px;
    color: #FFA600;
}

.rh-conference-promo .rh-button {
    margin-top: 8px;
    padding: 8px 22px;
    min-height: 40px;
    background: #FFA600;
    border-color: #FFA600;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.rh-conference-promo .rh-button:hover {
    background: #1e1c1b;
    border-color: #1e1c1b;
    color: #fff;
}

.rh-document-hero {
    justify-self: center;
    display: grid;
    justify-items: center;
    gap: 20px;
    width: min(100%, 270px);
}

.rh-document-cover {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 4px 17px 17px 4px;
    overflow: hidden;
    background: #fff;
    box-shadow: 8px 12px 28px rgb(77 48 15 / 11%);
    border-left: 7px solid #ff9300;
}

.rh-document-cover-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .12;
}

.rh-document-cover-page {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: #fff;
}

.rh-document-cover-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
    padding: 25px;
    background: linear-gradient(180deg, #fffaf2 13%, rgb(255 250 242 / 94%) 68%, rgb(255 250 242 / 67%));
}

.rh-document-brand {
    width: 140px;
    height: auto;
    margin-bottom: auto;
}

.rh-document-kicker {
    margin-top: 22px;
    color: #8a5200;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.rh-document-cover-content p {
    margin: 12px 0 20px;
    color: #222;
    font-family: Tajawal, sans-serif;
    font-size: 29px;
    font-weight: 800;
    line-height: 1.08;
}

.rh-document-edition {
    color: #555;
    font-size: 12px;
    line-height: 1.45;
}

.rh-document-hero .rh-button {
    width: 100%;
    background: #FFA600;
    border-color: #FFA600;
    color: #fff;
    font-weight: 700;
}

.rh-document-hero .rh-button:hover {
    background: #1e1c1b;
    border-color: #1e1c1b;
    color: #fff;
}

.rh-document-pages {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.rh-document-page {
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin: 0;
}

.rh-document-sheet {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 314px;
    padding: 22px 18px 36px;
    border: 1px solid #eeebe6;
    border-radius: 8px;
    background: #fffefa;
    box-shadow: 0 5px 14px rgb(61 45 21 / 5%);
}

.rh-document-sheet > img {
    width: 110px;
    max-width: 90%;
    height: auto;
    margin-bottom: 24px;
}

.rh-document-sheet-eyebrow {
    color: #a16a00;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.rh-document-sheet h3 {
    margin: 10px 0;
    font-family: Tajawal, sans-serif;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.1;
    color: #222;
}

.rh-document-sheet-rule {
    width: 30px;
    height: 3px;
    background: #ffa600;
    margin-bottom: 13px;
}

.rh-document-sheet p,
.rh-document-sheet-steps {
    color: #666;
    font-size: 10px;
    line-height: 1.6;
    margin: 0 0 12px;
}

.rh-document-sheet-callout {
    border-left: 2px solid #ffa600;
    padding: 8px;
    margin-top: 4px;
    background: #fff4de;
    font-size: 10px;
    line-height: 1.7;
}

.rh-document-sheet-steps {
    padding-left: 15px;
}

.rh-document-sheet-steps li {
    margin-bottom: 7px;
}

.rh-document-sheet-prompt {
    font-size: 9px;
    line-height: 1.3;
    color: #666;
    border-bottom: 1px solid #ded8ca;
    padding: 5px 0 16px;
    margin-bottom: 4px;
}

.rh-document-sheet-page {
    position: absolute;
    left: 18px;
    bottom: 13px;
    color: #76716b;
    font-size: 8px;
    letter-spacing: .04em;
}

.rh-document-page figcaption {
    text-align: center;
    font-size: 12px;
    line-height: 1.4;
    color: #666;
    margin-top: 10px;
}

.rh-document-preview-action {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.rh-document-preview-action .rh-button {
    background: #FFA600;
    border-color: #FFA600;
    color: #fff;
    font-weight: 700;
    text-align: center;
    white-space: normal;
}

.rh-document-preview-action .rh-button:hover {
    background: #1e1c1b;
    border-color: #1e1c1b;
    color: #fff;
}

@media (max-width: 991px) {
    .rh-detail-hero-grid {
        gap: 34px;
        grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    }

    .rh-detail-layout {
        gap: 30px;
        grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr);
    }

    .rh-detail-title {
        font-size: 40px;
    }

    .rh-detail-excerpt {
        font-size: 16px;
    }

    .rh-workshop-booking {
        padding-left: 20px;
    }

    .rh-takeaways {
        gap: 42px 18px;
        padding: 47px 20px 24px;
    }

    .rh-takeaway {
        padding: 49px 18px 22px;
    }

    .rh-takeaway-icon {
        left: 18px;
    }

    .rh-document-pages {
        gap: 10px;
    }

    .rh-document-sheet {
        padding-right: 11px;
        padding-left: 11px;
    }

    .rh-document-sheet h3 {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    .rh-detail-hero {
        padding: 26px 0 36px;
    }

    .rh-detail-hero-grid,
    .rh-detail-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

    .rh-detail-hero-grid {
        margin-top: 26px;
    }

    .rh-detail-title {
        font-size: 36px;
    }

    .rh-detail-excerpt {
        font-size: 16px;
    }

    .rh-detail-hero-image {
        max-width: 560px;
    }

    .rh-detail-hero-image img {
        aspect-ratio: 16 / 9;
    }

    .rh-workshop-booking {
        justify-self: start;
        max-width: none;
        padding: 25px;
        border-left: 3px solid #ffa600;
        background: #fff;
        border-radius: 0 18px 18px 0;
    }

    .rh-workshop-booking .rh-button {
        width: auto;
        margin-right: 7px;
    }

    .rh-detail-block {
        margin-bottom: 38px;
    }

    .rh-detail-block h2 {
        font-size: 30px;
    }

    .rh-detail-sidebar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
        margin-top: 18px;
    }

    .rh-conference-promo {
        padding: 24px;
    }

    .rh-document-hero {
        width: min(100%, 250px);
    }

    .rh-document-sheet {
        padding: 22px 16px 36px;
    }

    .rh-document-sheet h3 {
        font-size: 21px;
    }
}

@media (max-width: 479px) {
    .rh-detail-title {
        font-size: 32px;
    }

    .rh-detail-sidebar {
        grid-template-columns: minmax(0, 1fr);
    }

    .rh-detail-block h2 {
        font-size: 28px;
    }

    .rh-resource-video-overlay {
        padding: 18px;
        gap: 10px;
    }

    .rh-resource-video-title {
        font-size: 21px;
    }

    .rh-resource-video-kicker {
        font-size: 11px;
    }

    .rh-resource-video-duration {
        font-size: 12px;
    }

    .rh-resource-play {
        flex-basis: 46px;
        width: 46px;
        height: 46px;
    }

    .rh-speaker {
        gap: 16px;
    }

    .rh-speaker > img {
        flex-basis: 100px;
        width: 100px;
        height: 124px;
    }

    .rh-speaker h3 {
        font-size: 24px;
    }

    .rh-speaker-role {
        font-size: 14px;
    }

    .rh-takeaways {
        padding: 45px 14px 20px;
        gap: 37px 14px;
    }

    .rh-takeaway {
        padding: 47px 14px 20px;
        border-radius: 16px;
    }

    .rh-takeaway-icon {
        left: 14px;
        width: 48px;
        height: 48px;
    }

    .rh-takeaway p {
        font-size: 14px;
        line-height: 1.5;
    }

    .rh-learning-list li {
        font-size: 16px;
    }

    .rh-document-pages {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
        max-width: 285px;
        margin-inline: auto;
    }

    .rh-document-sheet {
        min-height: 360px;
        padding: 28px 28px 40px;
    }

    .rh-document-sheet h3 {
        font-size: 28px;
    }

    .rh-document-sheet p,
    .rh-document-sheet-steps,
    .rh-document-sheet-callout {
        font-size: 12px;
    }

    .rh-document-sheet-eyebrow,
    .rh-document-sheet-prompt {
        font-size: 11px;
    }

    .rh-document-sheet-page {
        left: 28px;
        font-size: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rh-resource-play {
        transition: none;
    }

    .rh-resource-video:hover .rh-resource-play {
        transform: none;
    }
}
