.journal-detail .journal-detail__head{max-width:none;width:auto;margin:24px clamp(18px,3vw,56px);padding:32px 0}
.journal-detail .editorial-cover-hero{position:relative;isolation:isolate;min-height:460px;display:flex;align-items:end;padding:clamp(24px,5vw,80px);overflow:hidden;border-radius:24px;background:#27231e}
.editorial-cover-hero__image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.editorial-cover-hero:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#17130de8,#17130d35),linear-gradient(0deg,#17130d90,transparent)}
.journal-detail .editorial-cover-hero h1{color:#fff9ed;font-size:clamp(34px,4.5vw,76px);max-width:1100px}
.journal-detail .editorial-cover-hero p{color:#e5dccc;max-width:850px;font-size:16px;line-height:1.8}
.editorial-cover-hero__copy>span{color:#bd9659;font-size:11px;letter-spacing:.14em}
.editorial-divider{border:0;border-top:1px solid #d9cbb4;margin:36px clamp(18px,3vw,56px)}
.journal-detail .journal-reading{display:block;max-width:none;padding:0 clamp(18px,3vw,56px);margin:40px 0}
.journal-detail .journal-reading .journal-body{max-width:none;width:100%;font-size:16px;line-height:1.85}
.journal-detail .journal-body p,.journal-detail .journal-body li{font-size:16px;line-height:1.85}
@media(min-width:768px){.journal-detail .reading-sidebar{display:none}}
@media(max-width:767px){.journal-detail .reading-sidebar{position:static;margin-bottom:28px}.journal-detail .editorial-cover-hero{min-height:360px}}
.editorial-materials,.editorial-events{padding-block:28px}
.editorial-materials>.editorial-materials__grid,.editorial-events{display:grid;gap:18px}
.editorial-materials>.editorial-materials__grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr))}
.editorial-materials a,.editorial-events article{padding:24px;border:1px solid #e0d3bf;border-radius:16px;background:#fffaf2;color:#51432d;text-decoration:none}
.editorial-materials a>span{font-size:12px;color:#97713a}
.editorial-events button{padding:12px 24px;background:#8c6b35;color:#fff;border:0;border-radius:8px;cursor:pointer}
.editorial-file{display:flex;align-items:center;gap:20px;padding:22px 24px;border:1px solid #e3d7c4;border-radius:18px;background:#fffdf8;box-shadow:0 8px 28px #4b372107}
.editorial-file__icon{display:grid;place-items:center;flex:0 0 44px;height:44px;border:1px solid #dac49e;border-radius:13px;color:#906b33;font-size:24px}
.editorial-file__copy{flex:1;min-width:0}.editorial-file__copy strong{font:600 16px/1.5 system-ui}.editorial-file__copy p{margin:6px 0;color:#827461;font-size:13px}
.editorial-materials .editorial-file a{display:inline-block;padding:6px 0;border:0;border-radius:0;background:none;color:#89632c;font:500 12px/1.5 system-ui}
.editorial-file__qr{align-self:flex-start;font:12px/1.5 system-ui;color:#8d734d}.editorial-file__qr summary{cursor:pointer;padding:10px}.editorial-file__qr img{display:block;margin-top:12px}
@media(max-width:600px){.editorial-file{gap:12px;padding:18px}.editorial-file__qr[open]{flex-basis:100%}.editorial-file:has(details[open]){flex-wrap:wrap}}
.editorial-materials .editorial-file__qr{display:flex;flex:0 0 120px;flex-direction:column;align-items:center;align-self:center;padding:0;font-size:10px;gap:6px}
.editorial-file__qr img{width:120px;height:120px;margin:0;padding:6px;background:white;border:1px solid #e9dcc7;border-radius:12px}
@media(max-width:480px){.editorial-file__icon{display:none}.editorial-materials .editorial-file__qr{flex-basis:100px}.editorial-file__qr img{width:100px;height:100px}}


/* MASTERCLASS DOWNLOADS */

.masterclass-downloads {
    margin-top: clamp(34px, 5vw, 72px);
    margin-bottom: clamp(38px, 6vw, 84px);
}

.masterclass-downloads__head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
    margin-bottom: 22px;
}

.masterclass-downloads__eyebrow,
.masterclass-downloads__label {
    display: block;
    margin-bottom: 8px;
    font-size: 11px;
    line-height: 1.3;
    letter-spacing: .16em;
    text-transform: uppercase;
    opacity: .56;
}

.masterclass-downloads__head h2 {
    margin: 0;
}

.masterclass-downloads__head p {
    margin: 8px 0 0;
    opacity: .62;
}

.masterclass-file-types {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 18px;
}

.masterclass-file-type {
    min-width: 90px;
    display: inline-flex;
    align-items: center;
    gap: 11px;
    padding: 9px 13px 9px 9px;
    border: 1px solid rgba(20,20,20,.10);
    border-radius: 12px;
    background: rgba(255,255,255,.45);
}

.masterclass-file-type__icon {
    display: grid;
    place-items: center;
    min-width: 42px;
    height: 42px;
    padding: 0 7px;
    border-radius: 9px;
    background: #1c1c1c;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .06em;
}

.masterclass-file-type__count {
    font-size: 20px;
    line-height: 1;
    font-weight: 650;
}

.masterclass-downloads__panel {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: clamp(24px, 5vw, 58px);
    padding: clamp(24px, 4vw, 42px);
    border: 1px solid rgba(20,20,20,.09);
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(255,255,255,.78), rgba(243,241,235,.78));
    box-shadow: 0 18px 50px rgba(20,20,20,.05);
}

.masterclass-downloads__qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    text-decoration: none;
    color: inherit;
}

.masterclass-downloads__qr img {
    display: block;
    width: 176px;
    max-width: 100%;
    height: auto;
    padding: 9px;
    border-radius: 16px;
    background: #fff;
}

.masterclass-downloads__qr span {
    font-size: 11px;
    opacity: .55;
}

.masterclass-downloads__copy h3 {
    margin: 0 0 12px;
    font-size: clamp(25px, 3vw, 38px);
    line-height: 1.08;
}

.masterclass-downloads__copy > p {
    max-width: 690px;
    margin: 0 0 20px;
    line-height: 1.7;
    opacity: .70;
}

.masterclass-downloads__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 12px;
    margin-bottom: 22px;
}

.masterclass-downloads__meta strong {
    font-size: 18px;
}

.masterclass-downloads__meta span {
    margin-right: 15px;
    font-size: 13px;
    opacity: .55;
}

.masterclass-downloads__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 999px;
    background: #1c1c1c;
    color: #fff;
    text-decoration: none;
    font-weight: 650;
    transition: transform .18s ease, opacity .18s ease;
}

.masterclass-downloads__button:hover {
    transform: translateY(-1px);
    opacity: .88;
}

.masterclass-downloads__list {
    margin-top: 14px;
    border: 1px solid rgba(20,20,20,.08);
    border-radius: 14px;
    overflow: hidden;
}

.masterclass-downloads__list summary {
    cursor: pointer;
    padding: 16px 18px;
    font-weight: 600;
}

.masterclass-downloads__list > div {
    border-top: 1px solid rgba(20,20,20,.07);
}

.masterclass-downloads__list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 13px 18px;
    border-bottom: 1px solid rgba(20,20,20,.06);
    color: inherit;
    text-decoration: none;
}

.masterclass-downloads__list a:last-child {
    border-bottom: 0;
}

.masterclass-downloads__list a span {
    min-width: 0;
}

.masterclass-downloads__list a strong,
.masterclass-downloads__list a small {
    display: block;
}

.masterclass-downloads__list a small {
    margin-top: 3px;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: .48;
}

@media (max-width: 700px) {
    .masterclass-downloads__panel {
        grid-template-columns: 1fr;
    }

    .masterclass-downloads__qr {
        justify-self: start;
    }

    .masterclass-file-type {
        min-width: 82px;
    }
}


/* MASTERCLASS VIDEO ARCHIVE QR */

.masterclass-video-caption {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: clamp(20px, 4vw, 44px);
}

.masterclass-video-caption__copy {
    min-width: 0;
}

.masterclass-video-caption__copy > b {
    display: block;
    margin-bottom: 8px;
}

.masterclass-video-archive {
    display: grid;
    grid-template-columns: 88px auto;
    align-items: center;
    gap: 13px;
    flex: 0 0 auto;
    padding: 9px 12px 9px 9px;
    border: 1px solid rgba(20,20,20,.09);
    border-radius: 14px;
    background: rgba(255,255,255,.72);
    color: inherit;
    text-decoration: none;
    transition:
        transform .18s ease,
        border-color .18s ease,
        box-shadow .18s ease;
}

.masterclass-video-archive:hover {
    transform: translateY(-1px);
    border-color: rgba(20,20,20,.16);
    box-shadow: 0 10px 28px rgba(20,20,20,.06);
}

.masterclass-video-archive img {
    display: block;
    width: 88px;
    height: 88px;
    padding: 4px;
    border-radius: 9px;
    background: #fff;
}

.masterclass-video-archive > span {
    display: block;
    min-width: 92px;
}

.masterclass-video-archive strong,
.masterclass-video-archive small {
    display: block;
}

.masterclass-video-archive strong {
    font-size: 13px;
    line-height: 1.3;
}

.masterclass-video-archive small {
    margin-top: 5px;
    font-size: 11px;
    line-height: 1.3;
    opacity: .55;
}

@media (max-width: 700px) {
    .masterclass-video-caption {
        grid-template-columns: 1fr;
    }

    .masterclass-video-archive {
        width: fit-content;
        grid-template-columns: 72px auto;
    }

    .masterclass-video-archive img {
        width: 72px;
        height: 72px;
    }
}

/* ============================================================
   Yeti³ Device Handoff · Resource video player
   ============================================================ */

.masterclass-handoff-player {
    position: relative;
    overflow: hidden;
    background: #050505;
}

.masterclass-handoff-player > video {
    display: block;
    width: 100%;
    height: auto;
}

/* Handoff lives inside the video surface. */
.masterclass-handoff-player__transfer {
    position: absolute;
    right: 18px;
    bottom: 58px;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.masterclass-handoff-player__trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 9px 13px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px;
    background: rgba(8,8,8,.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: #fff;
    font: inherit;
    font-size: 12px;
    line-height: 1;
    letter-spacing: .02em;
    cursor: pointer;
    box-shadow: 0 8px 28px rgba(0,0,0,.18);
    transition:
        background .18s ease,
        border-color .18s ease,
        transform .18s ease,
        opacity .18s ease;
}

.masterclass-handoff-player__trigger:hover {
    background: rgba(18,18,18,.9);
    border-color: rgba(255,255,255,.4);
    transform: translateY(-1px);
}

.masterclass-handoff-player__trigger:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.masterclass-handoff-player__trigger > span:first-child {
    font-size: 16px;
    line-height: 1;
}

.masterclass-handoff-player__panel {
    width: 176px;
    padding: 12px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 16px;
    background: rgba(8,8,8,.88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    color: #fff;
    text-align: center;
    box-shadow: 0 18px 50px rgba(0,0,0,.3);
}

.masterclass-handoff-player__panel[hidden] {
    display: none;
}

.masterclass-handoff-player__qr {
    width: 152px;
    height: 152px;
    margin: 0 auto 10px;
    padding: 5px;
    border-radius: 10px;
    background: #fff;
}

.masterclass-handoff-player__qr img,
.masterclass-handoff-player__qr canvas,
.masterclass-handoff-player__qr svg {
    display: block;
    width: 100%;
    height: 100%;
}

.masterclass-handoff-player__panel strong,
.masterclass-handoff-player__panel > span,
.masterclass-handoff-player__panel small {
    display: block;
}

.masterclass-handoff-player__panel strong {
    font-size: 12px;
    line-height: 1.35;
}

.masterclass-handoff-player__panel > span {
    margin-top: 5px;
    font-size: 20px;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

.masterclass-handoff-player__panel small {
    margin-top: 6px;
    font-size: 10px;
    line-height: 1.35;
    opacity: .62;
}

/* The link under the video is intentionally quiet. */
.masterclass-video-materials-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 12px;
    color: inherit;
    font-size: 13px;
    text-decoration: none;
    opacity: .62;
    transition: opacity .18s ease;
}

.masterclass-video-materials-link:hover {
    opacity: 1;
}

@media (max-width: 700px) {
    .masterclass-handoff-player__transfer {
        right: 10px;
        bottom: 54px;
    }

    .masterclass-handoff-player__trigger {
        min-height: 40px;
        padding: 8px 11px;
    }

    .masterclass-handoff-player__trigger > span:last-child {
        display: none;
    }

    .masterclass-handoff-player__panel {
        width: 156px;
    }

    .masterclass-handoff-player__qr {
        width: 132px;
        height: 132px;
    }
}

