/* ==========================================================
   MOF MAGAZINE - SEPTEMBER 2026
   Works inside the standard MOF column_container / card layout
   ========================================================== */

.mof-magazine-page,
.mof-magazine-reader-page {
    background-color: #111;
}

.magazine-card,
.magazine-reader-card {
    overflow: hidden;
    padding: 0 !important;
    background: #0d1013;
    color: #eee;
}

.magazine-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(280px, 390px) minmax(0, 1fr);
    align-items: center;
    gap: 52px;
    padding: 44px;
    background:
        radial-gradient(circle at 22% 40%, rgba(37, 139, 87, .20), transparent 34%),
        radial-gradient(circle at 85% 18%, rgba(38, 83, 145, .14), transparent 30%),
        linear-gradient(135deg, #07090b, #12171c 58%, #080a0c);
}

.magazine-hero-cover img {
    display: block;
    width: 100%;
    border-radius: 3px;
    box-shadow: 0 22px 50px rgba(0,0,0,.65);
}

.magazine-kicker,
.magazine-section-kicker {
    color: #5bc58b;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.magazine-hero-copy h2 {
    margin: 8px 0 3px;
    color: #fff;
    font-size: 52px;
    line-height: .95;
    letter-spacing: -2px;
}

.magazine-issue {
    margin: 14px 0 3px;
    color: #aeb7bf;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.magazine-hero-copy h3 {
    margin: 7px 0 12px;
    color: #fff;
    font-size: 27px;
}

.magazine-hero-copy p {
    margin: 0;
    color: #c5cbd0;
    font-size: 14px;
    line-height: 1.7;
}

.magazine-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.magazine-btn {
    display: inline-block;
    padding: 13px 16px;
    border-radius: 3px;
    border: 1px solid rgba(255,255,255,.15);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .5px;
    text-decoration: none !important;
}

.magazine-btn span {
    display: block;
    margin-top: 2px;
    font-size: 9px;
    opacity: .75;
}

.magazine-btn-read {
    background: #f4f4f4;
    color: #111 !important;
}

.magazine-btn-buy {
    background: #2a9c62;
    border-color: #2a9c62;
    color: #fff !important;
}

.magazine-btn-pdf {
    background: #161b20;
    color: #eee !important;
}

.magazine-hero-line {
    margin: 0 !important;
}

.magazine-section {
    padding: 34px 40px 40px;
    background: #101419;
}

.magazine-section-title {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.magazine-section-title h3 {
    margin: 3px 0 0;
    color: #fff;
    font-size: 26px;
}

.magazine-section-title > a {
    color: #66d197 !important;
    font-size: 12px;
    font-weight: bold;
    text-decoration: none !important;
}

.magazine-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.magazine-feature {
    min-height: 195px;
    padding: 22px;
    border: 1px solid rgba(255,255,255,.10);
    border-top: 3px solid #3e9b69;
    background: #151a1f;
}

.magazine-feature:nth-child(2) {
    border-top-color: #c43d44;
}

.magazine-feature:nth-child(3) {
    border-top-color: #c69b51;
}

.magazine-feature-label {
    color: #939da6;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.3px;
}

.magazine-feature h4 {
    margin: 10px 0;
    color: #fff;
    font-size: 18px;
    line-height: 1.25;
}

.magazine-feature p {
    margin: 0;
    color: #aeb7bf;
    font-size: 13px;
    line-height: 1.6;
}

.magazine-archive-section {
    background: #0c0f12;
}

.magazine-archive-card {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    max-width: 680px;
    padding: 14px;
    border: 1px solid rgba(255,255,255,.10);
    background: #14191e;
}

.magazine-archive-card img {
    width: 78px;
}

.magazine-archive-info strong {
    display: block;
    color: #fff;
    font-size: 16px;
}

.magazine-archive-info span {
    display: block;
    margin-top: 4px;
    color: #939da6;
    font-size: 11px;
}

.magazine-archive-card > a {
    padding: 11px 14px;
    border-radius: 3px;
    background: #f2f2f2;
    color: #111 !important;
    font-size: 10px;
    font-weight: 800;
    text-decoration: none !important;
}

/* Reader */

.magazine-reader-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 22px 28px;
    background: #0b0e11;
}

.magazine-reader-header h2 {
    margin: 3px 0 0;
    color: #fff;
    font-size: 20px;
}

.magazine-reader-header-actions {
    display: flex;
    gap: 8px;
}

.magazine-reader-header-actions a {
    display: inline-block;
    padding: 10px 13px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 800;
    text-decoration: none !important;
}

.magazine-reader-link {
    border: 1px solid rgba(255,255,255,.13);
    background: #161b20;
    color: #eee !important;
}

.magazine-reader-buy {
    background: #288f5a;
    color: #fff !important;
}

.magazine-reader-stage {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 720px;
    padding: 24px 12px;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 42%, rgba(255,255,255,.09), transparent 38%),
        #080b0e;
}

.magazine-reader-stage:after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 3%;
    width: 75%;
    height: 35px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: rgba(0,0,0,.75);
    filter: blur(22px);
}

.mof-book {
    position: relative;
    z-index: 2;
}

.mof-book .page {
    overflow: hidden;
    background: #111;
}

.mof-book .page img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: fill;
    user-select: none;
}

.magazine-reader-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 15px 24px;
    border-top: 1px solid rgba(255,255,255,.1);
    background: #0b0e11;
}

.magazine-reader-nav,
.magazine-reader-options {
    display: flex;
    align-items: center;
    gap: 8px;
}

.magazine-reader-nav button,
.magazine-reader-options button,
.magazine-reader-options select,
.magazine-reader-options a {
    min-height: 36px;
    padding: 0 11px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 3px;
    background: #161b20;
    color: #eee !important;
    font-size: 10px;
    font-weight: 800;
    text-decoration: none !important;
}

.magazine-reader-options select {
    max-width: 210px;
}

.magazine-reader-options label {
    color: #8f99a2;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
}

.magazine-page-counter {
    min-width: 65px;
    color: #fff;
    text-align: center;
    font-size: 12px;
    font-weight: bold;
}

.magazine-reader-help {
    padding: 9px 15px 13px;
    color: #707a83;
    background: #0b0e11;
    font-size: 10px;
    text-align: center;
}

@media only screen and (max-width: 900px) {
    .magazine-hero {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 28px;
    }

    .magazine-hero-cover {
        width: min(72%, 380px);
        margin: 0 auto;
    }

    .magazine-feature-grid {
        grid-template-columns: 1fr;
    }

    .magazine-reader-stage {
        min-height: 560px;
    }

    .magazine-reader-controls {
        flex-direction: column;
    }
}

@media only screen and (max-width: 600px) {
    .magazine-hero-copy h2 {
        font-size: 38px;
    }

    .magazine-actions {
        flex-direction: column;
    }

    .magazine-btn {
        text-align: center;
    }

    .magazine-section {
        padding: 26px 20px 30px;
    }

    .magazine-section-title {
        align-items: flex-start;
        flex-direction: column;
    }

    .magazine-archive-card {
        grid-template-columns: 62px 1fr;
    }

    .magazine-archive-card img {
        width: 62px;
    }

    .magazine-archive-card > a {
        grid-column: 1 / -1;
        text-align: center;
    }

    .magazine-reader-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .magazine-reader-stage {
        min-height: 500px;
        padding: 12px 4px;
    }

    .magazine-reader-nav,
    .magazine-reader-options {
        flex-wrap: wrap;
        justify-content: center;
    }

    .magazine-reader-options label {
        width: 100%;
        text-align: center;
    }
}


/* ==========================================================
   MOF MAGAZINE - spacing / CTA refinements
   ========================================================== */

.magazine-issue {
    margin-bottom: 14px;
}

.magazine-hero-copy h3 {
    margin-bottom: 20px;
}

.magazine-section-kicker {
    display: block;
    margin-bottom: 9px;
}

.magazine-btn-buy {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.05;
    min-width: 185px;
}

.magazine-btn-buy strong {
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .5px;
}

.magazine-btn-buy span {
    display: block;
    margin-top: 5px;
    font-size: 9px;
    line-height: 1;
    opacity: .78;
}


/* ==========================================================
   READER V2 - centered image flipbook + clearer action text
   ========================================================== */

.magazine-reader-stage {
    min-height: 760px;
    width: 100%;
    padding: 30px 22px;
}

.mof-book {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto !important;
}

.magazine-reader-header-actions {
    gap: 12px;
}

.magazine-reader-header-actions a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .15px;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.magazine-reader-link {
    color: #f2f2f2 !important;
}

.magazine-reader-buy {
    font-weight: 600 !important;
}

.magazine-reader-controls button,
.magazine-reader-controls select,
.magazine-reader-controls a,
.magazine-reader-options label,
.magazine-page-counter {
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

@media only screen and (max-width: 900px) {
    .magazine-reader-stage {
        min-height: 620px;
        padding: 18px 6px;
    }

    .mof-book {
        max-width: 100%;
    }
}

@media only screen and (max-width: 600px) {
    .magazine-reader-header-actions a {
        font-size: 12px;
        padding: 0 13px;
    }

    .magazine-reader-stage {
        min-height: 520px;
    }
}


/* ==========================================================
   READER V3 - self contained book reader (no external library)
   ========================================================== */

.magazine-reader-stage {
    min-height: 760px;
    padding: 28px 18px 34px;
    perspective: 2200px;
}

.magazine-book-shell {
    position: relative;
    width: min(1080px, 94%);
    aspect-ratio: 2.002 / 1.25;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: stretch;
    perspective: 2200px;
    filter: drop-shadow(0 24px 28px rgba(0,0,0,.58));
}

.magazine-page-slot {
    position: relative;
    width: 50%;
    height: 100%;
    overflow: hidden;
    background: #0b0d0f;
}

.magazine-page-left {
    border-radius: 3px 0 0 3px;
    box-shadow: inset -16px 0 24px -20px rgba(0,0,0,.9);
}

.magazine-page-right {
    border-radius: 0 3px 3px 0;
    box-shadow: inset 16px 0 24px -20px rgba(0,0,0,.9);
}

.magazine-page-slot img,
.magazine-flip-sheet img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: fill;
    user-select: none;
    -webkit-user-drag: none;
}

.magazine-book-shell:after {
    content: "";
    position: absolute;
    z-index: 5;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    transform: translateX(-1px);
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,.48) 6%, rgba(0,0,0,.68) 50%, rgba(0,0,0,.48) 94%, transparent);
    box-shadow: 0 0 18px rgba(0,0,0,.45);
    pointer-events: none;
}

.magazine-book-shell.is-cover {
    width: min(540px, 86%);
    aspect-ratio: 1281 / 1600;
}

.magazine-book-shell.is-cover .magazine-page-right {
    width: 100%;
    border-radius: 3px;
}

.magazine-book-shell.is-cover:after {
    display: none;
}

.magazine-book-shell.is-final .magazine-page-right {
    background: #090b0d;
}

.magazine-flip-sheet {
    display: none;
    position: absolute;
    z-index: 20;
    top: 0;
    width: 50%;
    height: 100%;
    transform-style: preserve-3d;
    pointer-events: none;
}

.magazine-flip-front,
.magazine-flip-back {
    position: absolute;
    inset: 0;
    overflow: hidden;
    backface-visibility: hidden;
    background: #111;
}

.magazine-flip-back {
    transform: rotateY(180deg);
}

.magazine-flip-sheet.flip-next {
    transform-origin: left center;
    transform: rotateY(0deg);
}

.magazine-flip-sheet.flip-next.is-turning {
    transform: rotateY(-180deg);
    transition: transform .68s cubic-bezier(.25,.7,.25,1);
}

.magazine-flip-sheet.flip-prev {
    transform-origin: right center;
    transform: rotateY(0deg);
}

.magazine-flip-sheet.flip-prev.is-turning {
    transform: rotateY(180deg);
    transition: transform .68s cubic-bezier(.25,.7,.25,1);
}

.magazine-flip-sheet:after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(255,255,255,.12), transparent 18%, transparent 70%, rgba(0,0,0,.24));
    backface-visibility: hidden;
}

.magazine-edge-zone {
    position: absolute;
    z-index: 12;
    top: 0;
    bottom: 0;
    width: 12%;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
}

.magazine-edge-left {
    left: 0;
    cursor: w-resize;
}

.magazine-edge-right {
    right: 0;
    cursor: e-resize;
}

.magazine-edge-zone:hover {
    background: linear-gradient(90deg, rgba(255,255,255,.07), transparent);
}

.magazine-edge-right:hover {
    background: linear-gradient(270deg, rgba(255,255,255,.07), transparent);
}

/* Reader button typography + matching hover effects */
.magazine-reader-header-actions a,
.magazine-reader-nav button,
.magazine-reader-options button,
.magazine-reader-options a {
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
}

.magazine-reader-header-actions a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .1px;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.magazine-reader-header-actions a:hover,
.magazine-reader-nav button:hover,
.magazine-reader-options button:hover,
.magazine-reader-options a:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 18px rgba(0,0,0,.35);
}

.magazine-reader-link:hover,
.magazine-reader-nav button:hover,
.magazine-reader-options button:hover {
    background: #22292f;
    border-color: rgba(255,255,255,.22);
}

.magazine-reader-buy:hover {
    background: #34ad70;
}

.magazine-reader-nav button:disabled {
    opacity: .35;
    cursor: default;
    transform: none !important;
    box-shadow: none !important;
}

.magazine-reader-nav button,
.magazine-reader-options button,
.magazine-reader-options select {
    font-weight: 500;
    font-size: 12px;
}

.magazine-page-counter {
    font-weight: 600;
    font-size: 13px;
}

@media only screen and (max-width: 900px) {
    .magazine-reader-stage {
        min-height: 620px;
        padding: 18px 5px 24px;
    }

    .magazine-book-shell {
        width: min(96%, 720px);
    }

    .magazine-reader-header-actions a {
        font-size: 12px;
    }
}

@media only screen and (max-width: 650px) {
    .magazine-reader-stage {
        min-height: 500px;
    }

    .magazine-book-shell,
    .magazine-book-shell.is-cover {
        width: min(92%, 440px);
        aspect-ratio: 1281 / 1600;
    }

    .magazine-book-shell:not(.is-cover) .magazine-page-left {
        display: none !important;
    }

    .magazine-book-shell:not(.is-cover) .magazine-page-right {
        width: 100%;
        border-radius: 3px;
    }

    .magazine-book-shell:after {
        display: none;
    }

    .magazine-flip-sheet {
        width: 100%;
        left: 0 !important;
    }

    .magazine-reader-controls {
        gap: 12px;
    }
}


/* ==========================================================
   READER V4 - path fixes, header spacing, diagnostics
   ========================================================== */
.magazine-reader-header .magazine-kicker {
    margin-bottom: 10px;
}

.magazine-reader-header h2 {
    margin-top: 0 !important;
}

.magazine-reader-link {
    gap: 9px;
}

.magazine-reader-link i {
    margin-right: 0 !important;
}

.magazine-reader-status {
    display: none;
    padding: 10px 18px;
    background: #511a1d;
    border-top: 1px solid #7f2c31;
    border-bottom: 1px solid #7f2c31;
    color: #fff;
    font-size: 12px;
    line-height: 1.45;
    text-align: center;
}

.magazine-reader-status.is-visible {
    display: block;
}


/* ==========================================================
   READER V5 - larger desktop reader + arrow alignment
   ========================================================== */

/* Let the reader break wider than the normal MOF content card */
.magazine-reader-card {
    width: min(1560px, calc(100vw - 32px));
    max-width: none !important;
    margin-left: 50%;
    transform: translateX(-50%);
}

/* Give the actual magazine much more screen space */
.magazine-reader-stage {
    min-height: 930px;
    padding: 28px 14px 36px;
}

.magazine-book-shell {
    width: min(1480px, 97%);
    max-width: none;
}

/* Cover should also be substantially larger */
.magazine-book-shell.is-cover {
    width: min(735px, 72vw);
}

/* Keep Magazine Home icon perfectly aligned with its text */
.magazine-reader-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 9px;
}

.magazine-reader-link i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1 !important;
    position: relative;
    top: 1px;
    margin: 0 !important;
}

.magazine-reader-link span {
    display: inline-block;
    line-height: 1;
}

/* Larger controls to match the larger reader */
.magazine-reader-controls {
    padding: 17px 28px;
}

.magazine-reader-nav button,
.magazine-reader-options button,
.magazine-reader-options select {
    min-height: 40px;
    font-size: 13px;
}

.magazine-page-counter {
    font-size: 14px;
}

@media only screen and (max-width: 1200px) {
    .magazine-reader-card {
        width: min(1180px, calc(100vw - 24px));
    }

    .magazine-reader-stage {
        min-height: 760px;
    }

    .magazine-book-shell {
        width: min(1120px, 96%);
    }

    .magazine-book-shell.is-cover {
        width: min(590px, 78vw);
    }
}

@media only screen and (max-width: 900px) {
    .magazine-reader-card {
        width: calc(100vw - 16px);
    }

    .magazine-reader-stage {
        min-height: 620px;
    }

    .magazine-book-shell {
        width: 98%;
    }

    .magazine-book-shell.is-cover {
        width: min(500px, 88vw);
    }
}


/* ==========================================================
   MOF MAGAZINE V6 - alignment + page-turn cursor refinements
   ========================================================== */

/* Landing page: align the editorial copy with the TOP of the cover */
.magazine-hero {
    align-items: start;
}

.magazine-hero-cover,
.magazine-hero-copy {
    align-self: start;
}

.magazine-hero-copy {
    padding-top: 0;
}

.magazine-hero-copy .magazine-kicker {
    margin-top: 0;
}

/* Reader: arrow and "Magazine Home" share the exact same baseline */
.magazine-reader-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.magazine-home-arrow {
    display: inline-block;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
    transform: translateY(0);
}

.magazine-reader-link > span:last-child {
    display: inline-block;
    line-height: 1;
}

/* Page edge should feel clickable like a hand, not a resize cursor */
.magazine-edge-left,
.magazine-edge-right {
    cursor: pointer !important;
}

/* Keep the edge hint very subtle */
.magazine-edge-zone:hover {
    background: linear-gradient(90deg, rgba(255,255,255,.045), transparent);
}

.magazine-edge-right:hover {
    background: linear-gradient(270deg, rgba(255,255,255,.045), transparent);
}


/* ==========================================================
   MOF MAGAZINE V7 - MAXIMUM DESKTOP READER SIZE
   ========================================================== */

/* Use nearly the full browser width for the magazine reader */
.magazine-reader-card {
    width: min(1780px, calc(100vw - 16px));
    max-width: none !important;
}

/* Larger viewing area */
.magazine-reader-stage {
    min-height: 1040px;
    padding: 22px 8px 30px;
}

/* Two-page spread */
.magazine-book-shell {
    width: min(1700px, 99%);
    max-width: none !important;
}

/* Single cover */
.magazine-book-shell.is-cover {
    width: min(835px, 82vw);
}

/* Let the page images consume all available book space */
.magazine-page,
.magazine-page img {
    width: 100%;
    height: auto;
}

@media only screen and (max-width: 1500px) {
    .magazine-reader-card {
        width: calc(100vw - 12px);
    }

    .magazine-reader-stage {
        min-height: 900px;
    }

    .magazine-book-shell {
        width: 99%;
    }

    .magazine-book-shell.is-cover {
        width: min(720px, 82vw);
    }
}

@media only screen and (max-width: 1100px) {
    .magazine-reader-stage {
        min-height: 720px;
    }
}


/* V8 - Magazine Home arrow final alignment */
.magazine-home-arrow {
    font-size: 13px !important;
    line-height: 1 !important;
    position: relative;
    top: 0 !important;
    transform: translateY(1px) !important;
    font-weight: 400 !important;
}

.magazine-reader-link {
    align-items: center !important;
    gap: 6px !important;
}

.magazine-reader-link > span:last-child {
    line-height: 1.15 !important;
}


/* V9 - Force Magazine Home arrow with CSS so markup cannot override it */
.magazine-reader-link i,
.magazine-reader-link .magazine-home-arrow {
    display: none !important;
}

.magazine-reader-link::before {
    content: "\2190";
    display: inline-block;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
    margin-right: 5px;
    position: relative;
    top: 0;
    transform: translateY(0);
    vertical-align: middle;
}

.magazine-reader-link {
    display: inline-flex !important;
    align-items: center !important;
}


/* ==========================================================
   MOF MAGAZINE V11 - DOWNLOAD PDF BUTTON
   ========================================================== */

/* Keep all three main CTA buttons visually uniform */
.magazine-actions {
    align-items: stretch;
}

.magazine-btn-read,
.magazine-btn-buy,
.magazine-btn-pdf {
    min-width: 190px;
    min-height: 52px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 3px;
}

/* Read Digital + Download PDF use the same clean typography */
.magazine-btn-read,
.magazine-btn-pdf,
.magazine-btn-buy strong {
    font-size: 15px !important;
    font-weight: 500 !important;
    letter-spacing: .2px !important;
    line-height: 1.15 !important;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* BUY PRINT remains two lines */
.magazine-btn-buy {
    flex-direction: column;
}

.magazine-btn-buy span {
    display: block !important;
    margin-top: 4px !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    line-height: 1.15 !important;
}

/* PDF button - dark secondary CTA */
.magazine-btn-pdf {
    background: #20262c !important;
    border: 1px solid rgba(255,255,255,.18) !important;
    color: #f2f2f2 !important;
    text-decoration: none !important;
}

/* Matching hover behavior across all main buttons */
.magazine-btn-read,
.magazine-btn-buy,
.magazine-btn-pdf {
    transition:
        transform .18s ease,
        box-shadow .18s ease,
        background-color .18s ease,
        border-color .18s ease !important;
}

.magazine-btn-read:hover {
    transform: translateY(-2px) !important;
    background: #ffffff !important;
    color: #111 !important;
    box-shadow: 0 7px 18px rgba(0,0,0,.35) !important;
}

.magazine-btn-buy:hover {
    transform: translateY(-2px) !important;
    background: #34ad70 !important;
    border-color: #34ad70 !important;
    color: #fff !important;
    box-shadow: 0 7px 18px rgba(0,0,0,.35) !important;
}

.magazine-btn-pdf:hover {
    transform: translateY(-2px) !important;
    background: #2b333a !important;
    border-color: rgba(255,255,255,.28) !important;
    color: #fff !important;
    box-shadow: 0 7px 18px rgba(0,0,0,.35) !important;
}

@media only screen and (max-width: 600px) {
    .magazine-btn-read,
    .magazine-btn-buy,
    .magazine-btn-pdf {
        width: 100%;
        min-width: 0;
    }
}
