/* OFWZ Signature Special Edition V2 */

.ofwz-premium-issue-heading {
    border-top:5px solid #00732f;
    border-left:5px solid #ce1126;
    padding:14px 20px;
}

.ofwz-premium-issue-heading .eyebrow {
    color:#00732f;
    font-weight:700;
}

/* Refined white editorial paper. */

#book .sheet:not(.front_cover):not(.back_cover):not(.advertisement):has(> .ofwz-premium) {
    background:#fffdf8;
    color:#151515;
}

#book .sheet:not(.front_cover):not(.back_cover):not(.advertisement) > .ofwz-premium {
    color:#151515;
}

#book .sheet:not(.front_cover):not(.back_cover):not(.advertisement) > .ofwz-premium h2 {
    color:#163d2c;
}

#book .sheet:not(.front_cover):not(.back_cover):not(.advertisement) > .ofwz-premium .page-body,
#book .sheet:not(.front_cover):not(.back_cover):not(.advertisement) > .ofwz-premium .page-subtitle {
    color:#202020;
}

#book .sheet:not(.front_cover):not(.back_cover):not(.advertisement):has(> .ofwz-premium) > .page-number {
    color:#151515;
}

/* OFWZ masthead and official brand expansion. */

.ofwz-fit-content.ofwz-premium .page-brand {
    font-family:Arial,Helvetica,sans-serif;
    font-weight:800;
    letter-spacing:-1.5px;
    padding-bottom:8px;
    border-bottom:3px solid #00732f;
}

.ofwz-premium .ofwz-brand-tagline {
    display:block;
    font-family:Arial,Helvetica,sans-serif;
    font-size:clamp(8px,2.3cqw,12px);
    font-weight:500;
    line-height:1.3;
    letter-spacing:.1px;
    margin-top:3px;
}

.ofwz-fit-content.ofwz-premium .page-label {
    color:inherit;
    letter-spacing:1.5px;
}

/* Full-width segment masthead. */

.ofwz-premium .ofwz-segment-hero {
    position:relative;
    isolation:isolate;
    box-sizing:border-box;
    width:100%;
    min-height:60px;
    margin:7px 0 12px;
    padding:14px 12px;
    border-left:5px solid #ce1126;
    border-bottom:4px solid #00732f;
    background:linear-gradient(
        110deg,#111111 10%,#124a34 100%
    );
    overflow:hidden;
    display:flex;
    align-items:flex-end;
}

.ofwz-premium .ofwz-segment-hero.ofwz-hero-has-image {
    min-height:clamp(100px,29cqw,170px);
}

.ofwz-premium .ofwz-segment-hero::after {
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(
        0deg,rgba(0,0,0,.83),
        rgba(0,0,0,.08)
    );
    pointer-events:none;
    z-index:1;
}

.ofwz-premium .ofwz-segment-title {
    position:relative;
    z-index:2;
    color:#ffffff;
    font-family:Arial,Helvetica,sans-serif;
    font-size:clamp(19px,5.8cqw,34px);
    font-weight:800;
    letter-spacing:.5px;
    line-height:1.12;
    overflow-wrap:anywhere;
}

/* Actual uploaded artwork fills the segment banner. */

.ofwz-fit-content.ofwz-premium .ofwz-segment-hero .magazine-media {
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    max-width:none;
    margin:0;
    padding:0;
    overflow:hidden;
    z-index:0;
}

.ofwz-fit-content.ofwz-premium .ofwz-segment-hero .magazine-media img {
    display:block;
    width:100%;
    height:100%;
    max-height:none;
    max-width:none;
    object-fit:cover;
    object-position:center;
}

/* Compact fitting for longer editorial pages. */

.ofwz-premium.fit-compact .ofwz-segment-hero {
    min-height:50px;
    padding:10px;
    margin-bottom:7px;
}

.ofwz-premium.fit-compact .ofwz-hero-has-image {
    min-height:100px;
}

.ofwz-premium.fit-tight .ofwz-segment-hero {
    min-height:44px;
    padding:8px;
    margin-bottom:5px;
}

.ofwz-premium.fit-tight .ofwz-hero-has-image {
    min-height:85px;
}

.ofwz-premium.fit-tight .ofwz-segment-title {
    font-size:clamp(16px,4.5cqw,26px);
}

/* Premium typography. */

.ofwz-fit-content.ofwz-premium h2 {
    font-family:Georgia,"Times New Roman",serif;
    font-weight:700;
    letter-spacing:-.35px;
}

.ofwz-fit-content.ofwz-premium .page-body {
    font-family:Georgia,"Times New Roman",serif;
}

/* Retain native multimedia controls and dimensions. */

.ofwz-premium .magazine-media video {
    display:block;
    width:100%;
    object-fit:contain;
    background:#111;
    border-radius:4px;
}

.ofwz-premium .magazine-media audio {
    display:block;
    width:100%;
    max-width:100%;
}

.ofwz-premium .magazine-media a {
    pointer-events:auto;
}

@media(max-width:600px){

    .ofwz-premium .ofwz-segment-title {
        font-size:clamp(17px,5.5cqw,26px);
    }

    .ofwz-premium .ofwz-segment-hero {
        padding:9px;
    }
}

/* =====================================
   OFWZ LUXURY EDITORIAL SIGNATURE V3
   UAE SPECIAL EDITION
   ===================================== */

.ofwz-premium {
    --edition-red:#ce1126;
    --edition-green:#00732f;
    --edition-black:#111111;
    --edition-paper:#fffdfa;
    --edition-gold:#b49a62;
}

/* Distinguished international cover */

#book .sheet.front_cover:has(> .ofwz-premium) {
    background:#111111 !important;
    color:#ffffff !important;
    box-shadow:inset 0 0 0 7px #ce1126;
}

#book .sheet.front_cover > .ofwz-premium {
    color:#ffffff;
    display:flex;
    flex-direction:column;
    gap:5px;
}

.front_cover .ofwz-premium > * {
    flex-shrink:0;
}

#book .front_cover .ofwz-premium .page-brand {
    font-family:Arial,Helvetica,sans-serif;
    font-size:clamp(43px,20cqw,100px);
    line-height:.92;
    font-weight:900;
    letter-spacing:-.085em;
    text-align:center;
    color:#fff;
    border:0;
    margin:5px 0 8px;
    padding-bottom:10px;
    border-bottom:3px solid #00732f;
}

#book .front_cover .ofwz-brand-tagline {
    font-size:clamp(9px,2.6cqw,14px);
    font-weight:400;
    letter-spacing:.15px;
    line-height:1.5;
    margin-top:10px;
}

#book .front_cover .ofwz-premium .page-label {
    color:#fff;
    font-size:clamp(9px,2.5cqw,12px);
    font-weight:600;
    letter-spacing:1.5px;
    text-align:center;
    margin:5px 0;
}

#book .front_cover .ofwz-premium h2 {
    color:#ffffff;
    font-family:Georgia,"Times New Roman",serif;
    font-size:clamp(24px,8cqw,45px);
    line-height:1.04;
    font-weight:400;
    letter-spacing:-1.2px;
    margin:8px 0;
}

#book .front_cover .ofwz-premium .page-subtitle {
    color:#e5d7bc;
    font-size:clamp(12px,3.7cqw,17px);
    font-family:Georgia,serif;
    font-style:italic;
}

#book .front_cover .ofwz-premium .page-body {
    color:#fff;
    font-size:clamp(12px,3cqw,15px);
    line-height:1.45;
    border-top:1px solid #b49a62;
    padding-top:10px;
}

#book .front_cover .ofwz-premium .magazine-media {
    margin:5px 0;
    width:100%;
}

#book .front_cover .ofwz-premium .magazine-media img,
#book .front_cover .ofwz-premium .magazine-media video {
    width:100%;
    height:auto;
    max-height:clamp(120px,55cqw,250px);
    object-fit:contain;
}

#book .front_cover .fit-tight .magazine-media img,
#book .front_cover .fit-tight .magazine-media video {
    max-height:140px;
}

#book .front_cover:has(> .ofwz-premium) > .page-number {
    color:#ffffff;
}

/* Premium editorial typography */

#book .sheet:not(.front_cover):not(.back_cover):not(.advertisement):has(> .ofwz-premium) {
    background:#fffdfa !important;
    color:#111111 !important;
}

#book .sheet:not(.front_cover):not(.back_cover):not(.advertisement) .ofwz-premium .page-brand {
    font-size:clamp(23px,7cqw,36px);
    color:#111111;
    border-bottom:1px solid #00732f;
    padding-bottom:6px;
    margin-bottom:8px;
}

#book .ofwz-premium .page-label {
    font-family:Arial,Helvetica,sans-serif;
    font-size:10px;
    letter-spacing:1.5px;
    text-transform:uppercase;
}

#book .sheet:not(.front_cover):not(.back_cover):not(.advertisement) .ofwz-premium h2 {
    font-family:Georgia,"Times New Roman",serif;
    font-size:clamp(20px,6.2cqw,34px);
    font-weight:400;
    line-height:1.12;
    color:#111111;
    letter-spacing:-.7px;
}

#book .ofwz-premium .page-body {
    font-family:Georgia,"Times New Roman",serif;
    font-size:clamp(14px,3.8cqw,18px);
    line-height:1.48;
    overflow-wrap:anywhere;
    max-height:none;
    text-overflow:clip;
}

#book .ofwz-premium.fit-compact .page-body {
    font-size:clamp(13px,3.4cqw,16px);
    line-height:1.38;
}

#book .ofwz-premium.fit-tight .page-body {
    font-size:13px;
    line-height:1.32;
}

/* Distinctive section mastheads */

#book .ofwz-premium .ofwz-segment-hero {
    border-left:6px solid #ce1126;
    border-bottom:4px solid #00732f;
    background:linear-gradient(
        105deg,#111111,#123f2c
    );
    margin-top:10px;
    margin-bottom:14px;
    padding:16px 12px;
}

#book .ofwz-premium .ofwz-segment-title {
    font-family:Georgia,"Times New Roman",serif;
    font-weight:400;
    font-size:clamp(21px,6.5cqw,36px);
    line-height:1.12;
    letter-spacing:.8px;
}

#book .ofwz-premium .ofwz-hero-has-image {
    min-height:clamp(110px,32cqw,190px);
}

#book .ofwz-premium.fit-tight .ofwz-segment-hero {
    padding:8px;
    margin-bottom:6px;
    margin-top:4px;
}

#book .ofwz-premium.fit-tight .ofwz-hero-has-image {
    min-height:95px;
}

#book .ofwz-premium.fit-tight .ofwz-segment-title {
    font-size:clamp(17px,4.8cqw,27px);
}

/* Premium advertising presentation */

#book .sheet.advertisement:has(> .ofwz-premium) {
    background:#111111 !important;
    color:#ffffff !important;
    box-shadow:inset 0 0 0 1px #b49a62;
}

#book .advertisement .ofwz-premium {
    color:#ffffff;
}

#book .advertisement .ofwz-premium .page-brand {
    color:#ffffff;
    border-bottom:1px solid #b49a62;
}

#book .advertisement .ofwz-premium .page-label {
    color:#cdb58c;
}

#book .advertisement .ofwz-premium h2 {
    font-family:Georgia,"Times New Roman",serif;
    font-weight:400;
    font-size:clamp(22px,7cqw,39px);
    line-height:1.1;
    color:#ffffff;
    margin-top:20px;
}

#book .advertisement .ofwz-premium .page-body,
#book .advertisement .ofwz-premium .page-subtitle {
    color:#ffffff;
}

#book .advertisement:has(> .ofwz-premium) > .page-number {
    color:#ffffff;
}

#book .advertisement .advertiser-link a {
    display:block;
    padding:12px 14px;
    background:#ffffff;
    color:#111111;
    text-align:center;
    text-decoration:none;
    font-weight:700;
    border:1px solid #b49a62;
}

/* Multimedia remains independently interactive. */

#book .ofwz-premium video,
#book .ofwz-premium audio {
    pointer-events:auto;
    max-width:100%;
}

#book .ofwz-premium .magazine-media video {
    background:#111111;
}

#book .ofwz-premium .magazine-media a {
    pointer-events:auto;
}

/* Matching back cover */

#book .sheet.back_cover:has(> .ofwz-premium) {
    background:#111111 !important;
    color:#ffffff !important;
    box-shadow:inset 0 0 0 7px #00732f;
}

#book .back_cover .ofwz-premium,
#book .back_cover .ofwz-premium h2,
#book .back_cover .ofwz-premium .page-body,
#book .back_cover .ofwz-premium .page-subtitle,
#book .back_cover .ofwz-premium .page-brand,
#book .back_cover:has(> .ofwz-premium) > .page-number {
    color:#ffffff;
}

#book .back_cover .ofwz-premium .page-brand {
    font-size:clamp(38px,15cqw,72px);
    text-align:center;
}

#book .back_cover .ofwz-premium h2 {
    font-size:clamp(26px,8cqw,42px);
    font-weight:400;
}

/* Maintain readable content and protected footers. */

#book.natural-book .sheet > .ofwz-premium {
    overflow-x:hidden;
    overflow-y:auto;
    overscroll-behavior:contain;
}

