.pub-article {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;   /* main flexes, sidebar = its own width */
    gap: 56px;
    align-items: start;
    padding: 32px 0 32px;
}

/* ── More stories — full-width row (sibling of .pub-article inside .container) ── */
.pub-more { margin: 0 0 56px; padding-top: 24px; border-top: 3px solid #111; }
.pub-more__head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.pub-more__title { margin: 0; font-size: clamp(28px, 3vw, 33px); font-weight: 500; letter-spacing: -0.01em; color: #111; line-height: 1.05; }
.pub-more__all { flex: none; font-size: 15px; font-weight: 700; color: #111; text-decoration: underline; text-underline-offset: 3px; }
.pub-more__all:hover { color: #e02d2d; }

.pub-more__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.pub-more-card { display: flex; flex-direction: column; color: inherit; text-decoration: none; }
.pub-more-card__img { display: block; width: 100%; aspect-ratio: 3 / 2; background: #ddd9d2; border-radius: 2px; margin-bottom: 14px; }
.pub-more-card__img img { border-radius: 8px; }
.pub-more-card__cat { font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #e02d2d; margin-bottom: 8px; }
.pub-more-card__headline { font-size: 21px; font-weight: 800; line-height: 1.2; color: #111; }
.pub-more-card:hover .pub-more-card__headline { color: #e02d2d; }

@media (max-width: 991px) {
    .pub-more__grid { grid-template-columns: repeat(2, 1fr); gap: 24px 20px; }
}
@media (max-width: 520px) {
    .pub-more__grid { grid-template-columns: 1fr; }
    .pub-more-card__img { aspect-ratio: 16 / 9; }
}

/* ── Sidebar: 300px NET content width ──
    box-sizing:content-box means any padding/border you add later sits
    OUTSIDE the 300px, so a 300px ad always fits exactly. The `auto` grid
    track sizes to this. */
.pub-article__aside {
    box-sizing: content-box;
    width: 300px;
    /* Stretch the track to the main column's height so the smart-sticky JS has
       room to travel. Harmless without JS (the inner just sticks at the top). */
    align-self: stretch;
}
/* Default = plain CSS sticky (fallback / short sidebars). The smart-sticky JS
   (master.js) takes over with a transform only when the sidebar is TALLER than
   the viewport, on desktop. */
.pub-article__sticky { position: sticky; top: 24px; }

/* ── Main content ── */
.pub-article__breadcrumb { font-size: 15px; color: #555; margin: 0 0 28px; }
.pub-article__breadcrumb a { color: #555; text-decoration: underline; text-underline-offset: 3px; }
.pub-article__breadcrumb .sep { margin: 0 9px; color: #bbb; text-decoration: none; }

.pub-article__eyebrow {
    margin: 0 0 16px;
    font-size: 14px; font-weight: 800; letter-spacing: 0.08em;
    text-transform: uppercase; color: #e02d2d;
}
.pub-article__title {
    margin: 0 0 24px;
    font-size: clamp(34px, 5vw, 56px); font-weight: 800;
    line-height: 1.05; letter-spacing: -0.02em; color: #111;
}
.pub-article__standfirst {
    margin: 0 0 32px;
    font-family: 'Gilroy', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    font-size: 22px; line-height: 1.45; color: #333;
}

.pub-article__meta {
    display: flex; align-items: center; justify-content: space-between;
    gap: 20px 24px; flex-wrap: wrap;
    padding: 20px 0; margin: 0 0 32px;
    border-top: 1px solid #e6e6e6; border-bottom: 1px solid #e6e6e6;
}
.pub-article__byline { display: flex; align-items: center; gap: 14px; }
.pub-article__avatar { width: 48px; height: 48px; border-radius: 50%; background: #d7d3cc; flex: none; overflow: hidden; }
.pub-article__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pub-article__byline-text { font-size: 15px; line-height: 1.45; color: #333; }
.pub-article__byline-text a { color: #111; text-decoration: underline; text-underline-offset: 2px; }
.pub-article__published { color: #777; }

.pub-article__share { display: flex; gap: 12px; }
.pub-article__share-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 10px 18px; border: 1px solid #ddd; border-radius: 999px;
    background: #fff; color: #111; font-size: 14px; font-weight: 700; cursor: pointer;
}
.pub-article__share-btn:hover { background: #f6f6f6; }
.pub-article__share-btn--icon { padding: 10px; width: 42px; position: relative; }
.pub-article__share-btn--icon.is-copied { color: #1a7f37; border-color: #1a7f37; }
.pub-article__share-btn--icon.is-copied::after {
    content: "Copied!";
    position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%);
    background: #111; color: #fff; font-size: 12px; font-weight: 700;
    padding: 4px 8px; border-radius: 4px; white-space: nowrap; pointer-events: none;
}

.pub-article__figure { margin: 0 0 32px; }
.pub-article__figure img,
.pub-article__figure picture,
.pub-article__figure .lottie-desktop { display: block; width: 100%; }
/* 7:5 is the standard featured-image ratio. Reserving it with aspect-ratio
   prevents layout shift (CLS) before the image loads, and object-fit: cover
   crops off-ratio images to 7:5 without distorting them. */
.pub-article__figure img { aspect-ratio: 7 / 5; object-fit: cover; border-radius: 8px; }
.pub-article__caption { margin-top: 10px; font-size: 13px; color: #777; }

.pub-article__body {
    font-family: 'Gilroy', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    font-size: 19px; line-height: 1.75; color: #222;
}
.pub-article__body p { margin: 0 0 24px; }
.pub-article__body h2 { font-size: 30px; font-weight: 800; line-height: 1.2; letter-spacing: -0.01em; margin: 40px 0 16px; }
.pub-article__body h3 { font-size: 24px; font-weight: 800; line-height: 1.25; margin: 32px 0 14px; }
.pub-article__body h4 { font-size: 20px; font-weight: 800; margin: 28px 0 12px; }
.pub-article__body a  { text-decoration: underline; text-underline-offset: 2px; }
.pub-article__body ul, .pub-article__body ol { margin: 0 0 24px; padding-left: 1.4em; }
.pub-article__body li { margin-bottom: 10px; }
.pub-article__body blockquote {
    margin: 28px 0; padding: 4px 0 4px 24px; border-left: 4px solid #e02d2d;
    font-size: 22px; font-weight: 700; line-height: 1.4; color: #111;
}
.pub-article__body img { max-width: 100%; height: auto; }

/* Tags — outlined pills under the article body.
    Scoped under .pub-article__body so these win over the generic
    `.pub-article__body a` rule (same specificity would lose on source order). */
.pub-article__body .pub-article__tags { list-style: none; margin: 32px 0 0; padding: 0; margin-left: 0; padding-left: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.pub-article__body .pub-article__tag {
    display: inline-flex; align-items: center;
    padding: 9px 20px; border: 1px solid #d9d9d9; border-radius: 999px;
    font-size: 15px; font-weight: 700; color: #000; text-decoration: none;
    transition: border-color .15s, background-color .15s;
}
.pub-article__body .pub-article__tag:hover { border-color: #111; background: #f6f6f6; }

/* About the author.
    Scoped under .pub-article__body because the block lives inside it —
    otherwise `.pub-article__body p` / `a` (specificity 0,1,1) override
    the single-class author rules. */
.pub-article__body .pub-author { margin: 40px 0 0; padding-top: 24px; border-top: 3px solid #111; display: flex; gap: 24px; align-items: flex-start; }
.pub-article__body .pub-author__avatar { flex: none; width: 96px; height: 96px; border-radius: 50%; overflow: hidden; background: #d2d0cc; }
.pub-article__body .pub-author__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pub-article__body .pub-author__info { min-width: 0; }
.pub-article__body .pub-author__eyebrow { margin: 0 0 2px; font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #777; }
.pub-article__body .pub-author__name { margin: 0 0 4px; font-size: 26px; font-weight: 800; line-height: 1.15; color: #111; }
.pub-article__body .pub-author__bio { margin: 0 0 6px; font-size: 17px; line-height: 1.45; color: #333; }
.pub-article__body .pub-author__more { font-size: 14px; font-weight: 700; color: #e02d2d; text-decoration: underline; text-underline-offset: 2px; }
.pub-article__body .pub-author__more:hover { color: #b1392b; }
@media (max-width: 600px) {
    .pub-article__body .pub-author__avatar { width: 72px; height: 72px; }
    .pub-article__body .pub-author__name { font-size: 22px; }
}

/* Section header (rendered as a styled <p>) + tight heading */
.article-section-header { margin: 40px 0 16px; font-size: 14px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #e02d2d; }
.article-header--tight { margin-bottom: 8px; }

/* Figures (image block) */
.article-figure { margin: 28px 0; }
.article-figure img { width: 100%; height: auto; display: block; border-radius: 2px; }
.article-figure figcaption { margin-top: 10px; font-size: 13px; color: #777; }
.article-figure--spaced { margin-top: 36px; }
/* Half-size images: two (or more) in a flex row — 20px gap in the middle,
    both flush to the container edges. A single half sits at ~half width. */
.article-half-row { display: flex; flex-wrap: wrap; gap: 20px; margin: 28px 0; align-items: start; }
.article-half-row > .article-figure--half,
.article-half-row > a { flex: 0 0 calc(50% - 10px); min-width: 0; margin: 0; }
.article-half-row > a > .article-figure--half { width: 100%; margin: 0; }
.article-half-row .article-figure { margin: 0; }
@media (max-width: 500px) {
    .article-half-row > .article-figure--half,
    .article-half-row > a { flex: 0 0 100%; }   /* stack on small phones */
}

/* Button block */
.article-button {
    display: inline-block; margin: 8px 0 24px; padding: 14px 28px;
    background: #e02d2d; color: #fff; font-weight: 800; border-radius: 999px; text-decoration: none;
}
.article-button:hover { background: #c42020; }

/* Media embed (lazy) */
.article-embed { margin: 28px 0; text-align: center; }
.article-embed__loading { padding: 24px 0; color: #999; font-size: 14px; }

/* ── Event embed card (eventDealEmbed) ──
    All styling is scoped to the --event modifier so other embeds
    (spacesEmbed, future types) can define their own look on the shared
    .article-embed-card / __body / __tag / __btn … hooks without clashing. */
.article-embed-card--event {
    display: flex; gap: 0; margin: 32px 0;
    border: 1px solid #e6e6e6; border-radius: 10px; overflow: hidden; background: #fff;
}
/* Media: show the whole image (contain) over a blurred fill of the same image. */
.article-embed-card--event .article-embed-card__media { flex: 0 0 38%; position: relative; overflow: hidden; background: #eee; }
.article-embed-card--event .article-embed-card__media-bg,
.article-embed-card--event .article-embed-card__media-img { position: absolute; inset: 0; width: 100%; height: 100%; }
.article-embed-card--event .article-embed-card__media-bg { object-fit: cover; filter: blur(18px) brightness(.85); transform: scale(1.1); }
.article-embed-card--event .article-embed-card__media-img { object-fit: contain; }

.article-embed-card--event .article-embed-card__body { flex: 1; min-width: 0; padding: 20px 22px; display: flex; flex-direction: column; gap: 8px; background: #fff; }

/* Tag = Events & Deals orange pill. */
.article-embed-card--event .article-embed-card__tag {
    align-self: flex-start; margin-bottom: 10px;
    padding: 6px 12px; border-radius: 6px;
    background: #ff8427; color: #fff;
    font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
}

.article-embed-card--event .article-embed-card__title { font-size: 23px; font-weight: 800; line-height: 1.15; color: #000; text-decoration: none; }
.article-embed-card--event .article-embed-card__title:hover { color: #e02d2d; }

/* When / Where rows — label column + value column. */
.article-embed-card--event .article-embed-card__meta-list { margin: 4px 0 0; display: flex; flex-direction: column; gap: 0; font-size: 16px;}
.article-embed-card--event .article-embed-card__meta-row { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 12px; }
.article-embed-card--event .article-embed-card__meta-row dt { margin: 0; font-weight: 800; color: #111; }
.article-embed-card--event .article-embed-card__meta-row dd { margin: 0; color: #333; }
.article-embed-card--event .article-embed-card__meta-row dd.is-nowrap { white-space: nowrap; }

.article-embed-card--event .article-embed-card__desc { margin: 4px 0 0; line-height: 1.5; color: #444; font-size:16px; }

/* Buttons */
.article-embed-card--event .article-embed-card__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.article-embed-card--event .article-embed-card__btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 12px 26px; border: 1px solid #111; border-radius: 999px;
    font-weight: 800; font-size: 15px; text-decoration: none; background: #111; color: #fff;
}
.article-embed-card--event .article-embed-card__btn:hover { opacity: .9; }
.article-embed-card--event .article-embed-card__btn--primary { background: #ff8427; border-color: #ff8427; color: #fff; text-decoration: none; }
.article-embed-card--event .article-embed-card__btn--outline { background: #fff; border-color: #111; color: #111; }
.article-embed-card--event .article-embed-card__btn--outline:hover { background: #111; color: #fff; opacity: 1; }

@media (max-width: 600px) {
    .article-embed-card--event { flex-direction: column; }
    .article-embed-card--event .article-embed-card__media { flex: none; aspect-ratio: 16 / 9; }
    /* Let the date wrap on narrow screens so it can't force the card wide. */
    .article-embed-card--event .article-embed-card__meta-row dd.is-nowrap { white-space: normal; }
}

/* ── Spaces embed card (spacesEmbed) ──
    Design copied from V3 spaces_embed. Scoped to the --spaces modifier so
    it's independent of the event card. */
.article-embed-card--spaces {
    display: flex; gap: 0; margin: 32px 0;
    border: 1px solid #e6e6e6; border-radius: 10px; overflow: hidden; background: #fff;
}
/* Media: whole image (contain) over a washed-out blurred fill of the same image. */
.article-embed-card--spaces .article-embed-card__media { flex: 0 0 38%; position: relative; overflow: hidden; background: #fff; }
.article-embed-card--spaces .article-embed-card__media-bg,
.article-embed-card--spaces .article-embed-card__media-img { position: absolute; inset: 0; width: 100%; height: 100%; }
.article-embed-card--spaces .article-embed-card__media-bg { object-fit: cover; filter: blur(16px); opacity: .5; transform: scale(1.1); }
.article-embed-card--spaces .article-embed-card__media-img { object-fit: contain; }

.article-embed-card--spaces .article-embed-card__body { flex: 1; min-width: 0; padding: 24px 26px; display: flex; flex-direction: column; gap: 10px; background: #fff; }

.article-embed-card--spaces .article-embed-card__title { font-size: 23px; font-weight: 800; line-height: 1.2; color: #000; text-decoration: none; }
.article-embed-card--spaces .article-embed-card__title:hover { color: #e02d2d; }

/* Location — pin icon + bold district. */
.article-embed-card--spaces .article-embed-card__loc { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: #111; font-size:16px; }
.article-embed-card--spaces .article-embed-card__loc svg { width: 15px; height: 15px; flex: none; }

/* Description — clamp to 3 lines with an ellipsis. */
.article-embed-card--spaces .article-embed-card__desc {
    margin: 0; line-height: 1.5; color: #444;
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3;
    overflow: hidden; font-size:16px;
}

/* Footer — SPACES brand logo. */
.article-embed-card--spaces .article-embed-card__footer { margin-top: 6px; }
.article-embed-card--spaces .article-embed-card__brand { height: 30px; width: auto; }

@media (max-width: 600px) {
    .article-embed-card--spaces { flex-direction: column; }
    .article-embed-card--spaces .article-embed-card__media { flex: none; aspect-ratio: 16 / 9; }
}

/* Accordion block (accordion.twig) — native <details>/<summary>, Gilroy. */
.article-accordion { margin: 28px 0; border-top: 1px solid #e6e6e6; }
.article-accordion__item { border-bottom: 1px solid #e6e6e6; }
.article-accordion__q {
    list-style: none; cursor: pointer;
    display: flex; align-items: flex-start; gap: 14px;
    padding: 20px 0;
    font-size: 20px; font-weight: 800; line-height: 1.3; color: #111;
}
/* Hide the browser's default disclosure triangle (Safari + others). */
.article-accordion__q::-webkit-details-marker { display: none; }
.article-accordion__q::marker { content: ""; }
/* Custom triangle marker: points right when closed, down when open. */
.article-accordion__marker {
    flex: 0 0 auto; margin-top: 7px;
    width: 0; height: 0;
    border-style: solid;
    border-width: 6px 0 6px 9px;
    border-color: transparent transparent transparent #111;
    transition: transform .2s ease;
}
.article-accordion__item[open] .article-accordion__marker { transform: rotate(90deg); }
/* Answer — indented to line up under the question text (marker 9px + gap 14px). */
.article-accordion__a {
    padding: 0 0 22px 23px;
    font-size: 18px; line-height: 1.55; color: #333;
}
.article-accordion__a p { margin: 0 0 12px; }
.article-accordion__a p:last-child { margin-bottom: 0; }

/* Dining Passport embed block (diningPassportEmbed.twig). */
.article-dp {
    display: flex; align-items: center; gap: 24px; margin: 32px 0;
    padding: 22px; border: 1px solid #e6e6e6; border-radius: 12px; background: #fff;
}
.article-dp__media { flex: 0 0 140px; }
.article-dp__media img {
    width: 140px; height: 140px; object-fit: cover;
    border-radius: 8px; display: block; background: #e9cfd3;
}
.article-dp__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.article-dp__tag {
    align-self: flex-start; padding: 5px 12px; border-radius: 6px;
    background: #9c1f1f; color: #fff;
    font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
}
.article-dp__title { font-size: 23px; font-weight: 800; line-height: 1.2; color: #111; text-decoration: none; }
.article-dp__title:hover { color: #9c1f1f; }
.article-dp__sub { margin: 0; font-size: 16px; color: #666; }
.article-dp__btn {
    flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 28px; border: 1px solid #111; border-radius: 999px;
    font-weight: 800; font-size: 15px; color: #111; background: #fff; text-decoration: none;
}
.article-dp__btn:hover { background: #111; color: #fff; }
@media (max-width: 600px) {
    .article-dp { flex-wrap: wrap; }
    .article-dp__media { flex-basis: auto; }
    .article-dp__media img { width: 100%; height: auto; aspect-ratio: 1 / 1; }
    .article-dp__btn { width: 100%; }
}

/* Auto in-content ad */
.pub-article__inad { margin: 36px 0; }
.pub-article__inad-ph {
    display: flex; align-items: center; justify-content: center; min-height: 90px;
    background: #f2f0ec; color: #999; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase;
}

/* ── Sidebar widgets ── */
.pub-article__ad-label {
    margin: 0 0 10px;
    font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
    text-transform: uppercase; color: #999;
}
.pub-article__ad { width: 300px; }
.pub-article__ad-ph {
    display: flex; align-items: center; justify-content: center;
    width: 300px; height: 600px; background: #e7e4df; color: #999; font-size: 14px;
}

/* Sidebar global styling */
.sidebar-section{
    padding-bottom: 60px;
}

/* ── Tablet / mobile: stack, centre the ad ── */
@media (max-width: 991px) {
    .pub-article { grid-template-columns: 1fr; gap: 40px; }
    .pub-article__aside { width: 100%; }
    .pub-article__sticky { position: static; }
    .pub-article__ad, .pub-article__ad-ph { width: 300px; margin: 0 auto; }
    .pub-article__ad-label { text-align: center; }
}