:root {
    --wine: #641d35;
    --ink: #282226;
    --paper: #fcfaf8;
    --line: #e7dedb;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: "DM Sans", sans-serif;
    color: var(--ink);
    background: var(--paper);
}

h1,
h2,
h3,
.brand {
    font-family: "Playfair Display", serif;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: var(--wine);
}

.container {
    max-width: 1280px;
}

.eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--wine);
}

.topline {
    background: var(--wine);
    color: #fff;
    text-align: center;
    font-size: 12px;
    letter-spacing: 0.11em;
    padding: 9px;
}

.masthead {
    padding: 25px 0;
}

.brand {
    font-size: 37px;
    letter-spacing: -1px;
    line-height: 1;
}

.brand span {
    color: var(--wine);
}

.brand small {
    display: block;
    font:
        10px "DM Sans",
        sans-serif;
    letter-spacing: 0.24em;
    text-align: center;
    margin-top: 10px;
}

.btn-wine {
    background: var(--wine);
    color: white;
    border-radius: 0;
    padding: 12px 23px;
    font-size: 14px;
}

.btn-wine:hover {
    background: #421225;
    color: #fff;
}

.nav-shell {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(252, 250, 248, 0.97);
    border-block: 1px solid var(--line);
}

.navbar-nav {
    gap: 19px;
}

.nav-link {
    font-size: 14px;
    color: var(--ink);
    white-space: nowrap;
}

.dropdown-menu {
    border-radius: 0;
    border-color: var(--line);
}

.dropdown-item {
    font-size: 14px;
    padding: 10px 20px;
}

.hero {
    padding: 32px 0 55px;
}

.hero-photo {
    height: 560px;
    position: relative;
    overflow: hidden;
    background: #5d4c46;
}

.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-photo:after {
    content: "";
    position: absolute;
    inset: 35% 0 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
}

.hero-caption {
    position: absolute;
    bottom: 35px;
    left: 35px;
    right: 30px;
    z-index: 1;
    color: #fff;
    max-width: 560px;
}

.hero-caption h1 {
    font-size: 44px;
    line-height: 1.15;
    margin: 15px 0;
}

.hero-caption .eyebrow {
    color: #fff;
}

.text-link {
    font-size: 14px;
    border-bottom: 1px solid currentColor;
    padding-bottom: 4px;
}

.side-feature img {
    width: 100%;
    height: 217px;
    object-fit: cover;
}

.side-feature h3 {
    font-size: 24px;
    line-height: 1.3;
    margin: 9px 0;
}

.side-feature+.side-feature {
    margin-top: 24px;
}

.meta {
    font-size: 12px;
    color: #827477;
}

.section {
    padding: 55px 0;
    border-top: 1px solid var(--line);
}

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

.section-head h2 {
    font-size: 36px;
    margin: 6px 0 0;
}

.story img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    margin-bottom: 20px;
}

.story h3 {
    font-size: 25px;
    line-height: 1.3;
    margin: 9px 0 12px;
}

.story p {
    font-size: 15px;
    color: #71676b;
    line-height: 1.7;
}

.advert {
    background: #eee7e2;
    border: 1px solid #e2d5cc;
    min-height: 110px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 35px;
    gap: 20px;
}

.advert h3 {
    font-size: 26px;
    margin: 6px 0;
}

.ad-label {
    font-size: 10px;
    letter-spacing: 0.18em;
    color: #827477;
}

.podcast {
    background: var(--wine);
    color: white;
    padding: 55px 0;
}

.podcast .eyebrow {
    color: #e8c9aa;
}

.podcast h2 {
    font-size: 45px;
    line-height: 1.2;
}

.pod-art {
    border: 1px solid #a56479;
    aspect-ratio: 1;
    max-width: 330px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #7c2b46;
    text-align: center;
    position: relative;
}

.pod-art:before {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px solid #b6778a;
}

.pod-art span {
    font-size: 13px;
    letter-spacing: 0.2em;
}

.pod-art strong {
    font:
        44px/1.1 "Playfair Display",
        serif;
    margin: 25px 0;
}

.episodes {
    border-top: 1px solid #9a536a;
    margin-top: 22px;
}

.episode {
    display: flex;
    gap: 17px;
    align-items: center;
    border-bottom: 1px solid #9a536a;
    padding: 16px 0;
}

.episode button {
    border: 1px solid #c88fa1;
    background: none;
    color: white;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
}

.episode h3 {
    font:
        17px "DM Sans",
        sans-serif;
    margin: 0 0 6px;
}

.episode small {
    color: #e3c5cf;
}

.category {
    display: block;
    border: 1px solid var(--line);
    padding: 26px 23px;
    height: 100%;
    background: #fff;
    transition: 0.2s;
}

.category:hover {
    border-color: var(--wine);
    transform: translateY(-3px);
}

.category .num {
    color: #ae7c62;
    font-family: "Playfair Display", serif;
    font-size: 25px;
}

.category h3 {
    font-size: 23px;
    margin: 18px 0 12px;
}

.category p {
    font-size: 14px;
    color: #827477;
    margin: 0;
}

.fashion-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.fashion-box {
    position: relative;
    height: 380px;
    overflow: hidden;
}

.fashion-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fashion-box:after {
    content: "";
    position: absolute;
    inset: 35% 0 0;
    background: linear-gradient(transparent, #000b);
}

.fashion-copy {
    position: absolute;
    z-index: 1;
    color: #fff;
    bottom: 25px;
    left: 25px;
    right: 25px;
}

.fashion-copy h3 {
    font-size: 30px;
}

.business {
    background: #eee6e1;
}

.business-item {
    padding: 23px 0;
    border-bottom: 1px solid #d6c6be;
}

.business-item h3 {
    font-size: 23px;
    margin: 8px 0;
}

.business-item:first-child {
    padding-top: 0;
}

.footer {
    background: #291f23;
    color: #fff;
    padding: 45px 0 25px;
}

.footer a {
    color: #ddced3;
    font-size: 14px;
}

.footer .brand {
    margin-bottom: 22px;
}

.footer-bottom {
    border-top: 1px solid #544049;
    padding-top: 22px;
    margin-top: 32px;
    color: #b8a4ad;
    font-size: 12px;
}

.modal-content {
    border-radius: 0;
}

.modal-body {
    line-height: 1.8;
}

.read {
    cursor: pointer;
}

.nav-home {
    color: var(--wine);
    border-bottom: 2px solid var(--wine);
}

@media (max-width: 991px) {
    .navbar-nav {
        gap: 0;
        padding: 12px 0;
    }

    .nav-link {
        padding: 10px 0;
    }

    .hero-photo {
        height: 490px;
    }

    .hero-caption h1 {
        font-size: 36px;
    }

    .side-feature {
        margin-top: 25px;
    }

    .side-feature img {
        height: 220px;
    }

    .masthead {
        padding: 20px 0;
    }

    .brand {
        font-size: 30px;
    }

    .section-head h2 {
        font-size: 31px;
    }

    .podcast h2 {
        font-size: 36px;
    }
}

@media (max-width: 575px) {
    .hero {
        padding-top: 20px;
    }

    .hero-photo {
        height: 470px;
    }

    .hero-caption {
        left: 22px;
        bottom: 26px;
    }

    .hero-caption h1 {
        font-size: 33px;
    }

    .masthead .btn {
        padding: 9px 12px;
        font-size: 12px;
    }

    .brand {
        font-size: 25px;
    }

    .brand small {
        font-size: 8px;
    }

    .section {
        padding: 38px 0;
    }

    .section-head {
        align-items: center;
    }

    .section-head h2 {
        font-size: 28px;
    }

    .text-link {
        font-size: 12px;
    }

    .fashion-grid {
        grid-template-columns: 1fr;
    }

    .advert {
        padding: 22px;
        align-items: start;
        flex-direction: column;
    }

    .story img {
        height: 260px;
    }

    .pod-art {
        max-width: none;
    }

    .topline {
        font-size: 10px;
    }

    .fashion-box {
        height: 340px;
    }
}

/* Additional section styles */
.section-style-1 {
    object-position: 25% center;
}

.section-style-2 {
    object-position: 70% center;
}

.section-style-3 {
    height: 320px;
    object-fit: cover;
}

.section-style-4 {
    color: #d6a38a;
}

.section-style-5 {
    color: #ddced3;
    max-width: 330px;
}


/* Desktop dropdowns on hover */
@media (min-width: 992px) {

    .navbar .dropdown:hover>.dropdown-menu,
    .navbar .dropdown:focus-within>.dropdown-menu {
        display: block;
        margin-top: 0;
    }

    .navbar .dropdown>.dropdown-menu {
        top: 100%;
        margin-top: 0;
    }
}

.wm-social i {
    font-size: 16px;
    line-height: 1;
}

/* Header update. Load after the existing style.css. */
.wm-masthead {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 20px;
    padding-top: 28px;
    padding-bottom: 28px;
}

.wm-header-left {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    justify-self: start;
}

.wm-socials {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wm-social {
    width: 22px;
    height: 28px;
    display: grid;
    place-items: center;
}

.wm-social svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.wm-social[aria-label="Instagram"] svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
}

.wm-subscribe,
.wm-search-form>button[type="submit"],
.wm-subscribe-submit {
    background: var(--wine, #641d35);
    border: 1px solid var(--wine, #641d35);
    color: #fff;
    padding: 10px 17px;
    font: inherit;
    font-size: 14px;
    cursor: pointer;
}

.wm-logo {
    justify-self: center;
    text-align: center;
    white-space: nowrap;
}

.wm-header-right {
    justify-self: end;
}

.wm-search-toggle {
    display: grid;
    place-items: center;
    border: 0;
    background: transparent;
    padding: 12px;
    color: inherit;
}

.wm-search-toggle svg {
    width: 25px;
    height: 25px;
    stroke: currentColor;
    stroke-width: 1.7;
}

.wm-search-panel {
    background: #f6f1ef;
    border-top: 1px solid #e7dedb;
    padding: 22px 0;
}

.wm-search-panel[hidden] {
    display: none !important;
}

.wm-search-form {
    display: flex;
    gap: 10px;
}

.wm-search-form input {
    flex: 1;
    min-width: 0;
    border: 1px solid #d8cdca;
    background: #fff;
    font-size: 16px;
    padding: 12px 15px;
}

.wm-search-close {
    border: 0;
    background: transparent;
    font-size: 28px;
    padding: 0 10px;
}

.wm-search-results:not(:empty) {
    border-top: 1px solid #d8cdca;
    margin-top: 18px;
    padding-top: 15px;
}

.wm-search-results a {
    display: block;
    padding: 10px 0;
    text-decoration: underline;
}

.wm-subscribe-modal .modal-content {
    border: 0;
    border-radius: 0;
    border-top: 4px solid var(--wine, #641d35);
}

.wm-subscribe-modal .modal-header {
    border: 0;
    padding: 24px 28px 0;
}

.wm-subscribe-modal .modal-body {
    padding: 20px 28px 28px;
}

.wm-subscribe-modal h2 {
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 15px;
}

.wm-subscribe-modal p {
    font-size: 15px;
    color: #71676b;
    line-height: 1.7;
}

#wmSubscribeForm>label {
    display: block;
    margin: 15px 0 7px;
    font-size: 14px;
}

#wmSubscribeForm>input {
    width: 100%;
    border: 1px solid #d8cdca;
    padding: 12px;
    font-size: 16px;
}

#wmSubscribeForm .wm-consent {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 18px 0;
    font-size: 13px;
}

.wm-consent input {
    margin-top: 4px;
}

.wm-subscribe-submit {
    width: 100%;
}

.wm-subscribe-status {
    margin: 12px 0 0;
}

.wm-result-target {
    scroll-margin-top: 100px;
}

.wm-result-highlight {
    outline: 2px solid var(--wine, #641d35);
    outline-offset: 6px;
}

@media (min-width: 992px) {
    .navbar-nav {
        gap: 12px;
    }

    .nav-link {
        font-size: 13px;
    }
}

@media (max-width: 767px) {
    .wm-masthead {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        gap: 8px;
        padding-top: 20px;
        padding-bottom: 18px;
    }

    .wm-logo {
        grid-column: 2;
        grid-row: 1;
        font-size: 29px;
    }

    .wm-header-right {
        grid-column: 3;
        grid-row: 1;
    }

    .wm-header-left {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-self: center;
        margin-top: 15px;
        gap: 22px;
    }

    .wm-search-form {
        flex-wrap: wrap;
    }

    .wm-search-form input {
        width: 100%;
        flex-basis: calc(100% - 50px);
    }

    .wm-search-close {
        order: 1;
    }

    .wm-search-form>button[type="submit"] {
        order: 2;
    }
}

/* Reference header: compact subscription link, social row and text search. */
.wm-header-left {
    gap: 14px;
}

.wm-subscribe {
    background: transparent;
    border: 0;
    border-right: 1px solid #d7cecb;
    color: var(--ink, #282226);
    padding: 0 15px 0 0;
    font-size: 12px;
    text-transform: uppercase;
    white-space: nowrap;
}

.wm-subscribe span {
    margin-right: 5px;
}

.wm-socials {
    gap: 10px;
}

.wm-search-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wm-search-label {
    font-size: 12px;
    text-transform: uppercase;
    padding-right: 12px;
    border-right: 1px solid #d7cecb;
}

.wm-search-toggle svg {
    color: var(--wine, #641d35);
    width: 20px;
    height: 20px;
}

@media (max-width: 575px) {
    .wm-search-label {
        display: none;
    }

    .wm-header-left {
        gap: 14px;
    }
}


/* Single-row navigation with automatic overflow into More. */
.wm-updated-menu>[hidden] {
    display: none !important;
}

.wm-more-menu {
    min-width: 235px;
    max-width: min(320px, calc(100vw - 32px));
    max-height: 70vh;
    overflow-y: auto;
}

.wm-more-menu .dropdown-item {
    white-space: normal;
}

@media (min-width: 992px) {
    #mainNav {
        min-width: 0;
    }

    .navbar-nav.wm-updated-menu {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: flex-start !important;
        align-items: center;
        gap: 0;
        width: 100%;
        min-width: 0;
        padding: 0;
    }

    .wm-updated-menu>.nav-item {
        flex: 0 0 auto;
    }

    .navbar-nav.wm-updated-menu>.nav-item>.nav-link {
        display: block;
        padding: 14px 8px;
        font-size: 13px;
        line-height: 1.4;
        white-space: nowrap;
    }

    .wm-updated-menu>.wm-more {
        margin-left: auto;
    }

    .wm-more>.dropdown-menu {
        left: auto;
        right: 0;
        top: 100%;
        margin-top: 0;
    }

    .wm-more:hover>.dropdown-menu,
    .wm-more:focus-within>.dropdown-menu {
        display: block;
    }
}

@media (max-width: 991px) {
    .navbar-nav.wm-updated-menu {
        flex-direction: column;
        gap: 0;
        padding: 12px 0;
    }

    .navbar-nav.wm-updated-menu>.nav-item>.nav-link {
        display: block;
        padding: 11px 4px;
        font-size: 14px;
        white-space: normal;
    }
}

/* Header: logo left, social icons, Subscribe and Search right. */
header.wm-masthead.wm-header-aligned {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.wm-header-aligned .wm-logo {
    margin: 0;
    text-align: left;
    flex: 0 1 auto;
}

.wm-header-aligned .wm-logo small {
    text-align: left;
}

.wm-header-aligned .wm-header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    margin-left: auto;
    flex: 0 0 auto;
}

.wm-header-aligned .wm-subscribe {
    border-right: 0;
    border-left: 1px solid #d7cecb;
    padding: 0 0 0 18px;
}

@media (max-width: 767px) {
    header.wm-masthead.wm-header-aligned {
        gap: 12px;
    }

    .wm-header-aligned .wm-logo {
        font-size: 25px;
    }

    .wm-header-aligned .wm-logo small {
        font-size: 8px;
        letter-spacing: .12em;
    }

    .wm-header-aligned .wm-header-right {
        gap: 10px;
        flex-wrap: wrap;
        max-width: 50%;
    }

    .wm-header-aligned .wm-socials {
        flex-basis: 100%;
        justify-content: flex-end;
        gap: 9px;
    }

    .wm-header-aligned .wm-subscribe {
        border: 0;
        padding: 0;
        font-size: 11px;
    }

    .wm-header-aligned .wm-search-toggle {
        padding: 6px;
    }
}

/* Responsive sizing and zoom reflow fixes. */
html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-width: 0;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

.container {
    width: 100%;
    max-width: 1280px;
    min-width: 0;
    margin-right: auto;
    margin-left: auto;
    padding-right: clamp(16px, 2vw, 28px);
    padding-left: clamp(16px, 2vw, 28px);
}

.nav-shell>.navbar.container {
    width: 100%;
    max-width: 1280px;
    min-width: 0;
}

.row>*,
main,
section,
article,
.wm-header-aligned .wm-logo,
.wm-header-aligned .wm-header-right {
    min-width: 0;
}

img,
video {
    max-width: 100%;
}

p,
h1,
h2,
h3,
h4 {
    overflow-wrap: anywhere;
}

header.wm-masthead.wm-header-aligned {
    width: 100%;
    max-width: 1280px;
    padding-right: clamp(16px, 2vw, 28px);
    padding-left: clamp(16px, 2vw, 28px);
    gap: 20px;
}

.wm-header-aligned .wm-logo {
    font-size: clamp(26px, 3.3vw, 37px);
    flex: 0 1 auto;
    max-width: 100%;
}

.wm-header-aligned .wm-logo small {
    white-space: normal;
    line-height: 1.5;
}

.wm-header-aligned .wm-header-right {
    flex: 0 1 auto;
    max-width: 100%;
    flex-wrap: wrap;
    gap: 12px;
}

.wm-search-form,
.wm-search-form input {
    min-width: 0;
    max-width: 100%;
}

@media (min-width: 992px) {
    .navbar-expand-lg #mainNav {
        flex: 1 1 0%;
        min-width: 0;
        max-width: 100%;
    }

    .navbar-nav.wm-updated-menu {
        min-width: 0;
        max-width: 100%;
        width: 100%;
        flex: 1 1 0%;
        flex-wrap: nowrap;
    }

    .wm-more-menu {
        min-width: min(235px, calc(100vw - 48px));
        max-width: min(320px, calc(100vw - 48px));
        overflow-wrap: anywhere;
    }
}

@media (max-width: 991px) {
    .navbar>#mainNav {
        flex-basis: 100%;
        width: 100%;
        min-width: 0;
    }

    .navbar-nav.wm-updated-menu {
        width: 100%;
        min-width: 0;
    }

    .wm-header-aligned .wm-header-right {
        max-width: 50%;
    }

    .wm-header-aligned .wm-socials {
        flex-basis: 100%;
        justify-content: flex-end;
    }
}

@media (max-width: 575px) {
    header.wm-masthead.wm-header-aligned {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .wm-header-aligned .wm-logo {
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
        font-size: 30px;
        white-space: normal;
    }

    .wm-header-aligned .wm-header-right {
        grid-column: 1;
        grid-row: 2;
        justify-self: end;
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        gap: 10px 14px;
        flex-wrap: wrap;
    }

    .wm-header-aligned .wm-socials {
        flex: 1 1 auto;
        justify-content: flex-start;
        gap: 9px;
    }

    .wm-header-aligned .wm-subscribe {
        padding-left: 0;
        border: 0;
    }

    .wm-search-toggle .wm-search-label {
        display: none;
    }

    .hero-caption {
        left: 20px;
        right: 20px;
        max-width: calc(100% - 40px);
    }

    .hero-caption h1 {
        font-size: clamp(26px, 7vw, 33px);
    }

    .advert {
        min-width: 0;
        max-width: 100%;
    }

    .wm-subscribe-modal .modal-dialog {
        margin: 12px;
    }
}

/* Homepage category sections and individual category archives. */
.category-home-intro {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 32px;
    padding-top: 42px;
    padding-bottom: 38px;
}

.category-home-intro h1 {
    font-size: clamp(30px, 3.4vw, 44px);
    line-height: 1.2;
    margin: 10px 0 0;
}

.category-home-intro>p {
    max-width: 430px;
    color: #71676b;
    line-height: 1.75;
    margin: 0;
}

.category-home-section {
    padding: 42px 0 48px;
    border-top: 1px solid var(--line, #e7dedb);
}

.category-tinted {
    background: #f5f0ed;
}

.category-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--wine, #641d35);
}

.category-section-heading h2 {
    margin: 0;
    font-size: clamp(26px, 2.8vw, 35px);
    line-height: 1.25;
}

.category-view-more {
    flex-shrink: 0;
    border: 1px solid var(--wine, #641d35);
    color: var(--wine, #641d35);
    padding: 9px 18px;
    font-size: 14px;
}

.category-view-more:hover {
    color: #fff;
    background: var(--wine, #641d35);
}

.category-story-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.category-story {
    min-width: 0;
    scroll-margin-top: 110px;
}

.category-story-image {
    display: block;
    overflow: hidden;
}

.category-story-image img {
    display: block;
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.category-story-copy {
    padding-top: 18px;
}

.category-story h3 {
    font-size: 25px;
    line-height: 1.3;
    margin: 10px 0 12px;
}

.category-story p {
    font-size: 15px;
    line-height: 1.75;
    color: #71676b;
    margin-bottom: 18px;
}

.category-story .eyebrow {
    font-size: 12px;
    line-height: 1.5;
}

.category-story .text-link {
    font-size: 14px;
}

.category-feature-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr);
}

.category-feature-grid .category-story:first-child h3 {
    font-size: 29px;
}

.category-feature-grid .category-story:first-child .category-story-image img {
    height: 290px;
}

.category-archive {
    padding: 22px 0 60px;
}

.category-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #71676b;
}

.category-breadcrumb a {
    color: var(--wine, #641d35);
}

.category-archive-heading {
    padding: 30px 0;
    border-bottom: 2px solid var(--wine, #641d35);
    margin-bottom: 30px;
}

.category-archive-heading h1 {
    font-size: clamp(32px, 4vw, 48px);
    margin: 10px 0 14px;
}

.category-archive-heading p {
    max-width: 740px;
    color: #71676b;
    line-height: 1.75;
    margin: 0;
}

.category-story-details summary {
    color: var(--wine, #641d35);
    font-size: 14px;
    cursor: pointer;
    width: fit-content;
}

.category-story-details[open]>p {
    margin-top: 15px;
}

.category-back {
    display: inline-block;
    padding: 12px 22px;
    margin-top: 35px;
    border: 1px solid var(--wine, #641d35);
}

.category-footer-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px 25px;
}

.category-footer-links a {
    line-height: 1.5;
}

.footer>.container>.row p {
    font-size: 15px;
    line-height: 1.7;
}

@media (max-width: 991px) {
    .category-home-intro {
        align-items: start;
        flex-direction: column;
        gap: 20px;
    }

    .category-home-intro>p {
        max-width: 100%;
    }

    .category-story-grid,
    .category-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .category-feature-grid .category-story:first-child h3 {
        font-size: 25px;
    }

    .category-feature-grid .category-story:first-child .category-story-image img {
        height: 240px;
    }
}

@media (max-width: 575px) {

    .category-story-grid,
    .category-feature-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
    }

    .category-section-heading {
        gap: 15px;
        align-items: flex-start;
    }

    .category-section-heading h2 {
        font-size: 25px;
    }

    .category-view-more {
        padding: 8px 10px;
        font-size: 12px;
    }

    .category-home-section {
        padding: 30px 0;
    }

    .category-story-image img {
        height: 230px;
    }

    .category-footer-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Nine magazine compositions below the retained original hero. */
.home-edit {
    padding: 48px 0;
    border-top: 1px solid var(--line);
}

.edit-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 2px solid var(--wine);
    padding-bottom: 16px;
    margin-bottom: 28px;
}

.edit-heading h2 {
    margin: 0;
    font-size: clamp(26px, 3vw, 36px);
}

.edit-view,
.event-button {
    display: inline-block;
    flex-shrink: 0;
    border: 1px solid currentColor;
    color: var(--wine);
    font-size: 14px;
    padding: 9px 17px;
}

.edit-view:hover,
.event-button:hover {
    background: var(--wine);
    color: #fff;
}

.edit-card,
.edit-copy {
    min-width: 0;
}

.edit-image {
    display: block;
    overflow: hidden;
}

.edit-image img,
.event-image img,
.technology-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.edit-image img {
    height: 250px;
}

.edit-copy {
    padding-top: 18px;
}

.edit-copy h3,
.event-copy h3,
.technology-story h3 {
    font-size: 26px;
    line-height: 1.3;
    margin: 10px 0 12px;
}

.edit-copy p,
.event-copy p,
.technology-story p,
.technology-intro p {
    font-size: 15px;
    line-height: 1.75;
    color: #71676b;
    margin-bottom: 16px;
}

.edit-read {
    display: inline-block;
    font-size: 14px;
    border-bottom: 1px solid currentColor;
    padding-bottom: 3px;
}

/* 1. Lead report with compact horizontal news stories. */
.news-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 35px;
}

.news-lead .edit-image img {
    height: 340px;
}

.news-lead h3 {
    font-size: 31px;
}

.news-stack .edit-card {
    display: grid;
    grid-template-columns: 165px minmax(0, 1fr);
    gap: 22px;
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--line);
}

.news-stack .edit-image img {
    height: 210px;
}

.news-stack .edit-copy {
    padding: 0;
}

.news-stack h3 {
    font-size: 23px;
}

.news-stack p {
    font-size: 14px;
}

/* 2. Landscape interview and large pull-quote panel. */
.edit-interviews {
    background: #f3eeeb;
}

.interview-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 35px;
    align-items: center;
}

.interview-feature {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 26px;
    align-items: center;
}

.interview-feature .edit-image img {
    height: 360px;
}

.opinion-panel {
    border-left: 2px solid var(--wine);
    padding: 20px 30px;
}

.opinion-panel blockquote {
    font: italic 33px/1.35 'Playfair Display', serif;
    margin: 20px 0;
}

.opinion-panel p {
    font-size: 15px;
    line-height: 1.7;
}

/* 3. Three directory profile cards with inset text panels. */
.planner-layout {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.planner-card .edit-image img {
    height: 310px;
}

.planner-card .edit-copy {
    position: relative;
    margin: -35px 18px 0;
    background: #fff;
    border-top: 3px solid var(--wine);
    padding: 22px;
}

.planner-card h3 {
    font-size: 23px;
}

/* 4. Wide venue image with overlaid caption; two text-led stories below. */
.edit-venues {
    background: #f5f0ed;
}

.venue-spotlight {
    position: relative;
}

.venue-spotlight .edit-image img {
    height: 440px;
}

.venue-spotlight .edit-copy {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 70px 35px 30px;
    color: #fff;
    background: linear-gradient(transparent, #000e);
}

.venue-spotlight .eyebrow,
.venue-spotlight p {
    color: #fff;
}

.venue-spotlight h3 {
    max-width: 700px;
    font-size: 35px;
}

.venue-spotlight p {
    max-width: 720px;
}

.venue-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 35px;
    margin-top: 28px;
}

.venue-list .edit-card {
    display: grid;
    grid-template-columns: 115px minmax(0, 1fr);
    gap: 20px;
}

.venue-list .edit-image img {
    height: 130px;
}

.venue-list .edit-copy {
    padding: 0;
}

.venue-list h3 {
    font-size: 24px;
}

.venue-list p {
    display: none;
}

/* 5. Image mosaic: tall left tile, two wide right tiles. */
.destination-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 24px;
}

.destination-layout .edit-card {
    position: relative;
    min-height: 270px;
}

.destination-layout .destination-tall {
    grid-row: span 2;
}

.destination-layout .edit-image,
.destination-layout .edit-image img {
    height: 100%;
    min-height: 270px;
}

.destination-layout .edit-copy {
    position: absolute;
    inset: auto 0 0;
    padding: 60px 25px 25px;
    color: #fff;
    background: linear-gradient(transparent, #000e);
}

.destination-layout .eyebrow {
    color: #fff;
}

.destination-layout .edit-copy p {
    display: none;
}

.destination-tall h3 {
    font-size: 35px;
}

/* 6. Dark entertainment spread with lead story and paired small cards. */
.edit-entertainment {
    background: #292027;
    color: #fff;
}

.edit-entertainment .edit-heading {
    border-color: #b9788d;
}

.edit-entertainment .edit-view,
.edit-entertainment .eyebrow {
    color: #f2c0cf;
}

.edit-entertainment p {
    color: #e0d0d7;
}

.entertainment-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 32px;
}

.entertainment-lead .edit-image img {
    height: 345px;
}

.entertainment-side {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    align-items: start;
}

.entertainment-side .edit-image img {
    height: 220px;
}

.entertainment-side h3 {
    font-size: 23px;
}

.entertainment-side p {
    display: none;
}

/* 7. Fashion cover at left with two offset portrait stories at right. */
.fashion-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 42px;
}

.fashion-cover .edit-image img {
    height: 520px;
}

.fashion-cover h3 {
    font-size: 32px;
}

.fashion-column {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
    align-items: start;
}

.fashion-column .edit-card:last-child {
    margin-top: 0;
}

.fashion-column .edit-image img {
    height: 300px;
}

.fashion-column h3 {
    font-size: 24px;
}

.fashion-column p {
    display: none;
}

/* 8. Technology introduction and numbered news rows. */
.edit-technology {
    background: #eef1f1;
}

.technology-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: 48px;
}

.technology-intro h3 {
    font-size: 37px;
    margin: 18px 0;
}

.technology-story {
    display: grid;
    grid-template-columns: 45px minmax(0, 1fr) 125px;
    gap: 22px;
    padding: 22px 0;
    border-bottom: 1px solid #d1d8d7;
}

.technology-story:first-child {
    padding-top: 0;
}

.technology-number {
    font: italic 30px 'Playfair Display', serif;
    color: var(--wine);
}

.technology-story h3 {
    font-size: 24px;
}

.technology-story p {
    margin: 0;
}

.technology-thumb img {
    height: 130px;
}

/* 9. Full-width event rows with thumbnail, copy and independent CTA. */
.events-layout {
    display: grid;
    gap: 22px;
}

.event-card {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr) auto;
    gap: 30px;
    align-items: center;
    border: 1px solid var(--line);
    padding: 20px;
}

.event-image img {
    height: 155px;
}

.event-copy h3 {
    font-size: 27px;
}

.event-copy p {
    margin: 0;
}

@media (max-width: 991px) {

    .news-layout,
    .interview-layout,
    .entertainment-layout,
    .fashion-layout,
    .technology-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .planner-layout {
        gap: 18px;
    }

    .planner-card .edit-copy {
        margin: -30px 8px 0;
        padding: 18px 12px;
    }

    .venue-list {
        gap: 25px;
    }

    .fashion-cover {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 30px;
        align-items: center;
    }

    .fashion-cover .edit-image img {
        height: 380px;
    }

    .fashion-column .edit-card:last-child {
        margin-top: 0;
    }

    .event-card {
        grid-template-columns: 160px minmax(0, 1fr);
        gap: 22px;
    }

    .event-button {
        grid-column: 2;
        justify-self: start;
    }
}

@media (max-width: 575px) {
    .home-edit {
        padding: 32px 0;
    }

    .edit-heading {
        gap: 12px;
        align-items: flex-start;
    }

    .edit-view {
        font-size: 12px;
        padding: 8px 10px;
    }

    .news-lead .edit-image img {
        height: 260px;
    }

    .news-stack .edit-card {
        grid-template-columns: 110px minmax(0, 1fr);
        gap: 16px;
    }

    .news-stack .edit-image img {
        height: 155px;
    }

    .news-stack h3 {
        font-size: 22px;
    }

    .news-stack p {
        display: none;
    }

    .interview-feature,
    .planner-layout,
    .venue-list,
    .destination-layout,
    .fashion-cover,
    .fashion-column {
        grid-template-columns: minmax(0, 1fr);
    }

    .interview-feature .edit-image img {
        height: 280px;
    }

    .opinion-panel {
        padding: 12px 22px;
    }

    .opinion-panel blockquote {
        font-size: 29px;
    }

    .planner-layout {
        gap: 30px;
    }

    .planner-card .edit-copy {
        margin: -35px 18px 0;
        padding: 22px;
    }

    .venue-spotlight .edit-image img {
        height: 440px;
    }

    .venue-spotlight .edit-copy {
        padding: 70px 22px 24px;
    }

    .venue-spotlight h3,
    .destination-tall h3 {
        font-size: 29px;
    }

    .venue-spotlight p {
        display: none;
    }

    .destination-layout .destination-tall {
        grid-row: auto;
        height: 390px;
    }

    .destination-layout .edit-card:not(.destination-tall) {
        height: 290px;
    }

    .entertainment-lead .edit-image img {
        height: 270px;
    }

    .entertainment-side {
        gap: 16px;
    }

    .entertainment-side .edit-image img {
        height: 160px;
    }

    .entertainment-side h3 {
        font-size: 21px;
    }

    .fashion-column .edit-card:last-child {
        margin-top: 0;
    }

    .fashion-cover .edit-image img {
        height: 400px;
    }

    .fashion-column .edit-card {
        display: grid;
        grid-template-columns: 120px minmax(0, 1fr);
        gap: 20px;
    }

    .fashion-column .edit-image img {
        height: 180px;
    }

    .fashion-column .edit-copy {
        padding: 0;
    }

    .technology-story {
        grid-template-columns: 30px minmax(0, 1fr) 75px;
        gap: 12px;
    }

    .technology-story h3 {
        font-size: 21px;
    }

    .technology-story p {
        display: none;
    }

    .technology-thumb img {
        height: 95px;
    }

    .event-card {
        grid-template-columns: 90px minmax(0, 1fr);
        gap: 15px;
        padding: 15px;
    }

    .event-image img {
        height: 120px;
    }

    .event-copy h3 {
        font-size: 22px;
    }

    .event-copy p {
        display: none;
    }
}

/* Accessible contrast for headings and links on image/dark sections. */
.edit-entertainment .edit-copy h3 a:hover,
.edit-entertainment .edit-copy h3 a:focus-visible,
.edit-entertainment .edit-read:hover,
.edit-entertainment .edit-read:focus-visible {
    color: #ffd3df;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.edit-entertainment .edit-view:hover,
.edit-entertainment .edit-view:focus-visible {
    color: #292027;
    background: #ffd3df;
    border-color: #ffd3df;
}

.venue-spotlight h3 a:hover,
.venue-spotlight h3 a:focus-visible,
.destination-layout h3 a:hover,
.destination-layout h3 a:focus-visible {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.technology-intro-image {
    display: block;
    margin-bottom: 22px;
}

.technology-intro-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/* Category pages: article-style sidebar and a balanced story grid. */
.category-archive-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 40px;
    align-items: start;
    margin-top: 24px;
}

.category-archive-main {
    min-width: 0;
}

.category-archive-main .category-archive-heading {
    padding-top: 0;
}

.category-archive-main .category-story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 26px;
}

.category-sidebar {
    min-width: 0;
}

@media (max-width: 991px) {
    .category-archive-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 35px;
    }

    .category-sidebar {
        width: 100%;
        border-left: 0;
        border-top: 1px solid var(--line);
        padding: 25px 0 0;
    }
}

@media (max-width: 575px) {
    .category-archive-main .category-story-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Reference-style category listings: heading above image and story summary. */
.category-archive-main .category-story-grid {
    display: block;
}

.category-list-item {
    padding: 22px 0;
    border-bottom: 1px solid #dfe2e5;
}

.category-list-item:first-child {
    padding-top: 0;
}

.category-list-item .listing-headline {
    margin: 0 0 15px;
    font-family: 'DM Sans', Arial, sans-serif;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.28;
    color: #101010;
}

.category-list-item .listing-headline a:hover {
    color: var(--wine, #641d35);
}

.listing-row {
    display: grid;
    grid-template-columns: minmax(0, 265px) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.listing-image {
    display: block;
}

.listing-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 265 / 155;
    object-fit: cover;
    border: 1px solid #dfe2e5;
    display: block;
}

.listing-content {
    min-width: 0;
}

.category-list-item .listing-description {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 17px;
    line-height: 1.5;
    margin: 0 0 10px;
    color: #242424;
}

.listing-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px 8px;
    font-size: 12px;
    color: #60666b;
    line-height: 1.5;
}

.listing-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    margin-top: 14px;
}

.listing-share-button {
    display: inline-grid;
    place-items: center;
    width: 29px;
    height: 29px;
    padding: 3px;
    background: transparent;
    border: 0;
    color: #666b70;
    font-size: 17px;
    line-height: 1;
}

.listing-share-button:hover,
.listing-share-button:focus-visible {
    color: var(--wine, #641d35);
    background: #efe7e7;
}

.listing-share-status {
    display: block;
    font-size: 12px;
    line-height: 1.5;
    color: #60666b;
    overflow-wrap: anywhere;
}

.category-list-item .category-story-details {
    margin-top: 8px;
}

.category-list-item .category-story-details summary {
    font-size: 13px;
}

@media (max-width: 1199px) and (min-width: 992px) {
    .listing-row {
        grid-template-columns: minmax(0, 40%) minmax(0, 1fr);
    }
}

@media (max-width: 575px) {
    .category-list-item .listing-headline {
        font-size: 21px;
    }

    .listing-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 15px;
    }

    .listing-image img {
        aspect-ratio: 16 / 9;
    }

    .listing-share-button {
        width: 36px;
        height: 36px;
    }
}

/* Article detail page — uses the existing local website assets. */
.article-page {
    padding: 25px 0 55px;
}

.article-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    font-size: 13px;
    color: #71676b;
    margin-bottom: 30px;
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 45px;
    align-items: start;
}

.article-heading h1 {
    font-size: clamp(30px, 3.4vw, 47px);
    line-height: 1.18;
    margin: 16px 0;
    font-weight: 700;
}

.article-deck {
    color: #71676b;
    font-size: 19px;
    line-height: 1.6;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 20px;
    font-size: 12px;
    color: #71676b;
    padding: 10px 0 20px;
}

.article-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    border-block: 1px solid var(--line);
    padding: 12px 0;
    margin-bottom: 25px;
    font-size: 13px;
}

.article-toolbar a,
.article-toolbar button {
    display: grid;
    place-items: center;
    background: none;
    border: 0;
    color: var(--wine);
    padding: 6px;
    min-width: 30px;
    min-height: 30px;
    font-size: 19px;
}

.article-figure {
    margin: 0 0 28px;
}

.article-video-figure {
    margin: 0 0 28px;
    width: 100%;
}

.article-video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 870 / 470;
    background-color: #000000;
    overflow: hidden;
}

.article-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.article-figure img {
    display: block;
    width: 100%;
    height: auto;
}

.article-figure figcaption {
    font-size: 12px;
    color: #71676b;
    margin-top: 9px;
}

.video-play-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(100, 29, 53, 0.9);
    color: #ffffff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    pointer-events: none;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.listing-image {
    position: relative;
    display: block;
}

.listing-image:hover .video-play-badge,
.edit-image:hover .video-play-badge {
    transform: scale(1.1);
    background-color: var(--wine, #641d35);
}

.article-body {
    max-width: 760px;
    font-size: 18px;
    line-height: 1.85;
}

.article-body>p {
    margin-bottom: 22px;
}

.article-source {
    background: #f2ecea;
    border-left: 3px solid var(--wine);
    padding: 22px;
    margin: 30px 0;
    font-size: 15px;
}

.article-source p {
    margin: 10px 0;
}

.article-source a {
    color: var(--wine);
    text-decoration: underline;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.article-tags a {
    border: 1px solid var(--line);
    padding: 5px 12px;
    font-size: 13px;
}

.article-sidebar {
    border-left: 1px solid var(--line);
    padding-left: 25px;
}

.article-side-ad {
    background: #f0e6e5;
    text-align: center;
    padding: 40px 15px;
    margin-bottom: 30px;
}

.article-side-ad>span {
    font-size: 10px;
    letter-spacing: .15em;
    color: #71676b;
}

.article-side-ad h2 {
    font-size: 30px;
    margin: 25px 0;
}

.article-side-ad p {
    font-size: 14px;
}

.article-related-title {
    font-size: 25px;
    border-bottom: 2px solid var(--wine);
    padding-bottom: 12px;
}

.article-related {
    border-bottom: 1px solid var(--line);
    padding: 20px 0;
}

.article-related img {
    width: 100%;
    height: 155px;
    object-fit: cover;
    margin-bottom: 14px;
}

.article-related h3 {
    font-size: 22px;
    line-height: 1.35;
    margin-top: 10px;
}

.article-back {
    display: inline-block;
    border-bottom: 1px solid var(--wine);
    margin-top: 35px;
    padding-bottom: 4px;
    font-size: 14px;
}

@media (max-width: 991px) {
    .article-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .article-sidebar {
        border-left: 0;
        border-top: 1px solid var(--line);
        padding: 25px 0 0;
    }

    .article-side-ad {
        max-width: 400px;
    }

    .article-related img {
        max-width: 400px;
        height: 200px;
    }
}

@media (max-width: 575px) {
    .article-deck {
        font-size: 17px;
    }

    .article-body {
        font-size: 17px;
        line-height: 1.8;
    }

    .article-source {
        padding: 18px;
    }
}

/* Related stories follow article text, then the tags section. */
.article-toolbar a:hover,
.article-toolbar button:hover {
    background: #f0e6e5;
}

.article-bottom-related {
    margin-top: 40px;
    border-top: 2px solid var(--wine);
    padding-top: 22px;
}

.article-bottom-related>h2,
.article-tag-section>h2 {
    font-size: 28px;
    margin: 0 0 22px;
}

.article-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.article-related-card {
    min-width: 0;
}

.article-related-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    margin-bottom: 16px;
}

.article-related-card h3 {
    font-size: 22px;
    line-height: 1.35;
    margin: 10px 0 15px;
}

.article-tag-section {
    border-top: 1px solid var(--line);
    margin-top: 32px;
    padding-top: 24px;
}

.article-tag-section .article-tags a:hover {
    color: #fff;
    background: var(--wine);
    border-color: var(--wine);
}

#copyArticleStatus {
    overflow-wrap: anywhere;
    max-width: 100%;
}

@media (max-width: 575px) {
    .article-related-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .article-related-card img {
        height: auto;
        aspect-ratio: 16 / 10;
    }

    .article-toolbar {
        gap: 8px;
    }

    .article-toolbar>span:first-child {
        flex-basis: 100%;
    }
}

/* ==========================================================================
   Tags Page & Topic Directory Styles
   ========================================================================== */
.tags-directory-page {
    padding-bottom: 50px;
}

.tags-search-wrapper .form-control {
    border-color: var(--line);
    background: #fff;
    padding: 10px 14px;
    font-size: 15px;
}

.tags-search-wrapper .form-control:focus {
    border-color: var(--wine);
    box-shadow: 0 0 0 0.2rem rgba(100, 29, 53, 0.15);
}

.tags-search-wrapper .input-group-text {
    border-color: var(--line);
    padding: 10px 14px;
}

.tags-nav-scroller {
    overflow-x: auto;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
}

.tags-nav-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag-nav-btn {
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
}

.tag-nav-btn:hover {
    border-color: var(--wine);
    color: var(--wine);
    background: #fff;
}

.tag-nav-btn.active {
    background: var(--wine) !important;
    color: #fff !important;
    border-color: var(--wine) !important;
    box-shadow: 0 2px 6px rgba(100, 29, 53, 0.25);
}

.tags-cloud-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    transition: opacity 0.2s ease;
}

.tag-list-item {
    list-style: none;
}

.tag-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    font-size: 14px;
    color: var(--ink);
    transition: all 0.2s ease;
    text-decoration: none;
}

.tag-chip:hover {
    background: var(--wine);
    border-color: var(--wine);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(100, 29, 53, 0.18);
}

.tag-chip .tag-count {
    display: inline-block;
    font-size: 11px;
    padding: 1px 7px;
    border-radius: 12px;
    background: rgba(100, 29, 53, 0.08);
    color: var(--wine);
    font-weight: 700;
    transition: all 0.2s ease;
}

.tag-chip:hover .tag-count {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

/* ==========================================================================
   Authors Directory & Author Detail Page Styles
   ========================================================================== */
.authors-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

@media (max-width: 767px) {
    .authors-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.author-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 24px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.author-card:hover {
    transform: translateY(-2px);
    border-color: var(--wine);
    box-shadow: 0 8px 24px rgba(100, 29, 53, 0.08);
}

.author-card-avatar {
    margin-bottom: 16px;
}

.author-card-avatar img,
.author-avatar-fallback {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--wine);
}

.author-avatar-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--wine);
    color: #fff;
    font-family: "Playfair Display", serif;
    font-size: 26px;
    font-weight: 700;
    user-select: none;
}

.author-avatar-fallback.large {
    width: 100px;
    height: 100px;
    font-size: 38px;
}

.author-card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.author-card-name {
    font-size: 20px;
    margin: 0 0 6px;
    line-height: 1.3;
}

.author-card-name a:hover {
    color: var(--wine);
}

.author-card-designation {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.author-story-badge {
    font-size: 12px;
    font-weight: 600;
    color: var(--wine);
    background: rgba(100, 29, 53, 0.08);
    padding: 3px 10px;
    border-radius: 12px;
}

.author-card-bio {
    font-size: 14px;
    line-height: 1.5;
    color: #666;
    margin-bottom: 16px;
    flex-grow: 1;
}

.author-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    margin-top: auto;
}

.author-social-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.author-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--line);
    color: var(--ink);
    font-size: 13px;
    transition: all 0.2s ease;
    background: #fff;
}

.author-social-btn:hover {
    background: var(--wine);
    border-color: var(--wine);
    color: #fff;
}

.author-view-link {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--wine);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s ease;
}

.author-view-link:hover {
    gap: 8px;
    color: var(--wine);
}

/* Author Profile Hero on Detail Page */
.author-profile-hero {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 28px;
}

.author-profile-card {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

@media (max-width: 575px) {
    .author-profile-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

.author-profile-avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--wine);
}

.author-profile-info {
    flex-grow: 1;
}

.author-profile-name {
    font-size: 30px;
    margin: 4px 0 2px;
    color: var(--ink);
}

.author-profile-role {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--wine);
    margin-bottom: 12px;
}

.author-profile-bio {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 16px;
}

.author-profile-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

/* ==========================================================================
   Pagination Styling (Luxury Theme)
   ========================================================================== */
.pagination {
    margin: 0;
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
}

.my-4.d-flex.justify-content-center {
    width: 100%;
}

.my-4.d-flex.justify-content-center>nav {
    width: 100%;
}

.page-item .page-link {
    color: var(--ink);
    background-color: #fff;
    border: 1px solid var(--line);
    padding: 8px 14px;
    border-radius: 6px !important;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    text-align: center;
}

.page-item .page-link:hover {
    background-color: var(--wine);
    border-color: var(--wine);
    color: #fff;
}

.page-item.active .page-link {
    background-color: var(--wine) !important;
    border-color: var(--wine) !important;
    color: #fff !important;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(100, 29, 53, 0.25);
}

.page-item.disabled .page-link {
    color: #aaa;
    background-color: #f7f5f3;
    border-color: var(--line);
    cursor: not-allowed;
}

nav[role="navigation"] svg {
    max-width: 18px;
    max-height: 18px;
    display: inline-block;
    vertical-align: middle;
}

/* ==========================================================================
   e4m Ads & Takeovers Integration (Gates, In-Story, Banners)
   ========================================================================== */
.leftgate,
.rightgate {
    display: block;
    position: fixed;
    top: 140px;
    z-index: 99;
}

.leftgate {
    left: calc(50% - 640px - 135px);
    width: 120px;
}

.rightgate {
    right: calc(50% - 640px - 135px);
    width: 120px;
}

@media (max-width: 1540px) {

    .leftgate,
    .rightgate {
        display: none !important;
    }
}

.ad-slot-horizontal {
    margin: 1.5rem auto;
    text-align: center;
    max-width: 100%;
    overflow: hidden;
}

.ad-slot-horizontal img,
.ad-slot-horizontal iframe {
    max-width: 100% !important;
    height: auto;
}

.in-story-ad {
    margin: 2rem auto;
    padding: 1rem 0;
    text-align: center;
    max-width: 100%;
    border-top: 1px dashed var(--line);
    border-bottom: 1px dashed var(--line);
    overflow: hidden;
}

.in-story-ad img,
.in-story-ad iframe {
    max-width: 100% !important;
    height: auto;
}

.ad-slot-sidebar {
    margin: 1.25rem 0;
    text-align: center;
    overflow: hidden;
}

.ad-slot-sidebar img,
.ad-slot-sidebar iframe {
    max-width: 100% !important;
    height: auto;
}

.mobitband {
    margin: 0.5rem auto;
    text-align: center;
}

/* Article photography: shared 900 x 470 ratio on every page. */
.hero-photo,
.edit-image,
.event-image,
.technology-thumb,
.technology-intro-image,
.listing-image {
  display: block;
  height: auto !important;
  min-height: 0 !important;
  align-self: start;
}
.hero-photo {
  aspect-ratio: 900 / 470;
}
.hero-photo img,
.side-feature img,
.story-card img,
.story img,
.fashion-box img,
.category-story-image img,
.category-card img,
.edit-image img,
.event-image img,
.technology-thumb img,
.technology-intro-image img,
.listing-image img,
.article-figure img,
.article-related img,
.article-related-card img {
  display: block;
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  max-height: none;
  aspect-ratio: 900 / 470 !important;
  object-fit: cover;
  object-position: center;
}
/* Keep mosaic images proportional instead of stretching across grid rows. */
.destination-layout {
  align-items: start;
}
.destination-layout .edit-card {
  min-height: 0;
}
.destination-layout .destination-tall {
  grid-row: auto;
}
.destination-layout .edit-copy {
  position: static;
  padding: 20px 24px 24px;
  background: #292027;
}
.hero-caption h1 {
  font-size: clamp(22px, 3vw, 44px);
}
@media (max-width: 767.98px) {
  /* Long captions flow below the image on narrow screens. */
  .hero-photo {
    aspect-ratio: auto;
  }
  .hero-photo:after {
    display: none;
  }
  .hero-caption {
    position: static;
    padding: 18px 20px;
    max-width: none;
    background: #292027;
  }
  .venue-spotlight .edit-copy {
    position: static;
    padding: 20px;
    background: #292027;
  }
}

/* Destinations & Decor: aligned landscape cards, CSS-only layout fix. */
.edit-destinations .destination-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: auto;
  gap: 28px;
  align-items: stretch;
}
.edit-destinations .destination-layout > .edit-card {
  display: flex;
  flex-direction: column;
  grid-row: auto;
  grid-column: auto;
  min-width: 0;
  min-height: 0;
  margin: 0;
  background: #292027;
}
.edit-destinations .destination-layout .edit-image {
  flex: 0 0 auto;
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  overflow: hidden;
}
.edit-destinations .destination-layout .edit-image img {
  display: block;
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 900 / 470 !important;
  object-fit: cover;
}
.edit-destinations .destination-layout .edit-copy {
  position: static;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  padding: 24px;
  margin: 0;
  background: #292027;
  color: #fff;
}
.edit-destinations .destination-layout .eyebrow {
  color: #f2c0cf;
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 1.5px;
}
.edit-destinations .destination-layout h3 {
  font-size: clamp(23px, 1.8vw, 29px);
  line-height: 1.3;
  margin: 12px 0 22px;
}
.edit-destinations .destination-layout h3 a,
.edit-destinations .destination-layout .edit-read {
  color: #fff;
}
.edit-destinations .destination-layout .edit-read {
  margin-top: auto;
  align-self: flex-start;
}
.edit-destinations .destination-layout h3 a:hover,
.edit-destinations .destination-layout h3 a:focus-visible,
.edit-destinations .destination-layout .edit-read:hover,
.edit-destinations .destination-layout .edit-read:focus-visible {
  color: #ffd3df;
  text-decoration: underline;
  text-underline-offset: 4px;
}
@media (max-width: 767.98px) {
  .edit-destinations .destination-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .edit-destinations .destination-layout .edit-copy {
    padding: 22px;
  }
  .edit-destinations .destination-layout h3 {
    font-size: 25px;
  }
}


/* First homepage section: article text below the lead image. */
.hero .hero-photo {
  display: block;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: auto;
  overflow: visible;
  background: transparent;
}
.hero .hero-photo::after {
  display: none;
  content: none;
}
.hero .hero-photo img {
  display: block;
  width: 100%;
  height: auto !important;
  aspect-ratio: 900 / 470 !important;
  object-fit: cover;
}
.hero .hero-caption {
  position: static;
  inset: auto;
  width: 100%;
  max-width: none;
  padding: 24px 0 0;
  margin: 0;
  background: transparent;
  color: var(--ink, #292126);
  overflow-wrap: anywhere;
}
.hero .hero-caption .eyebrow {
  color: var(--wine, #641d35);
}
.hero .hero-caption h1 {
  margin: 12px 0 14px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.2;
  color: var(--ink, #292126);
}
.hero .hero-caption h1 a,
.hero .hero-caption .text-link,
.hero .hero-caption a {
  color: var(--ink, #292126);
}
.hero .hero-caption p {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.7;
  color: #71676b;
}
.hero .hero-caption a:hover,
.hero .hero-caption a:focus-visible {
  color: var(--wine, #641d35);
}
@media (max-width: 575.98px) {
  .hero .hero-caption {
    padding-top: 18px;
  }
  .hero .hero-caption h1 {
    font-size: 28px;
  }
  .hero .hero-caption p {
    font-size: 15px;
  }
}

/* Industry News: larger thumbnails and balanced supporting story rows. */
.edit-industry .news-stack,
.news-layout > .news-stack {
  display: grid;
  grid-template-rows: repeat(2, auto);
  align-content: start;
  gap: 24px;
  min-width: 0;
}
.news-layout .news-stack .edit-card {
  display: grid;
  grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
  align-items: start;
  gap: 22px;
  margin: 0;
  padding: 0 0 24px;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}
.news-layout .news-stack .edit-image {
  display: block;
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
}
.news-layout .news-stack .edit-image img {
  display: block;
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 900 / 470 !important;
  object-fit: cover;
}
.news-layout .news-stack .edit-copy {
  min-width: 0;
  padding: 0;
}
.news-layout .news-stack .eyebrow {
  font-size: 10px;
  letter-spacing: 1.4px;
  line-height: 1.5;
}
.news-layout .news-stack h3 {
  margin: 9px 0 10px;
  font-size: clamp(20px, 1.6vw, 22px);
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.news-layout .news-stack p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.65;
  color: #71676b;
}
.news-layout .news-stack .edit-read {
  display: inline-block;
  font-size: 13px;
  margin-top: 0;
}
@media (max-width: 575.98px) {
  .news-layout .news-stack .edit-card {
    grid-template-columns: minmax(0, 40fr) minmax(0, 60fr);
    gap: 16px;
    padding-bottom: 20px;
  }
  .news-layout .news-stack h3 {
    margin-top: 6px;
    font-size: 19px;
  }
  .news-layout .news-stack p {
    display: none;
  }
}
