/* ==========================================================================
   NEWS AND ARTICLES - section intros and article type labels
   Used by News Blocks on any page and by the News and Articles list (/news/).
   Colours are the brand slot colours, so seasonal palettes recolour them.
   ========================================================================== */

/* ----- Section intro: one line under a News Block's title + "view all" link ----- */
.news-section-intro {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem 1.5rem;
    margin: 0 0 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--news-accent, #1b5137);
}

.news-section-intro-text {
    flex: 1 1 420px;
    margin: 0;
    font-family: 'Work Sans', sans-serif;
    font-size: 1.05rem;
    line-height: 1.55;
    color: #333333;
}

.news-section-view-all {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 44px;
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--news-accent, #1b5137);
    text-decoration: none;
    white-space: nowrap;
}

.news-section-view-all:hover,
.news-section-view-all:focus-visible {
    text-decoration: underline;
}

.news-section-view-all svg {
    transition: transform 0.2s ease;
}

.news-section-view-all:hover svg {
    transform: translateX(3px);
}

/* ----- Article type label on cards ----- */
.news-type-label {
    display: inline-block;
    align-self: flex-start;
    margin: 0 0 0.5rem;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    font-family: 'Work Sans', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.02em;
    background: #3d7a86;   /* any other type */
    color: #ffffff;
}

.news-type-label.news-type-news    { background: #8b2635; color: #ffffff; }
.news-type-label.news-type-article { background: #1b5137; color: #ffffff; }

/* ----- News and Articles list (/news/ with filters) ----- */
.news-archive-back {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0 0 1rem;
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
    color: #1b5137;
    text-decoration: none;
}

.news-archive-back:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .news-section-intro {
        flex-direction: column;
        align-items: flex-start;
    }

    .news-section-intro-text {
        flex-basis: auto;
        font-size: 1rem;
    }
}

/* ----- Share + "Was this useful?" bar at the end of an article ----- */
.soec-engage {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    margin: 2.5rem 0 1rem;
    padding: 1.25rem 1.5rem;
    border-radius: 14px;
    background: rgba(27, 81, 55, 0.06);
    font-family: 'Work Sans', sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    color: #333333;
}

.soec-engage-vote {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
}

.soec-engage-question {
    font-weight: 600;
    color: #1b5137;
}

.soec-engage-thumbs {
    display: flex;
    gap: 0.5rem;
}

.soec-engage-thumb,
.soec-engage-share-btn,
.soec-engage-more,
.soec-engage-open-form,
.soec-engage-copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-width: 44px;
    min-height: 44px;
    padding: 0 0.9rem;
    border: 2px solid #1b5137;
    border-radius: 999px;
    background: #ffffff;
    color: #1b5137;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.soec-engage-thumb { padding: 0; }

.soec-engage-thumb:hover,
.soec-engage-share-btn:hover,
.soec-engage-more:hover,
.soec-engage-open-form:hover,
.soec-engage-copy:hover,
.soec-engage-thumb.is-selected {
    background: #1b5137;
    color: #ffffff;
}

.soec-engage-thumb:focus-visible,
.soec-engage-share-btn:focus-visible,
.soec-engage-more:focus-visible,
.soec-engage-open-form:focus-visible,
.soec-engage-copy:focus-visible,
.soec-engage-share-panel a:focus-visible {
    outline: 3px solid #e1a038;
    outline-offset: 2px;
}

.soec-engage-count {
    font-size: 0.9rem;
    color: #5c6e7a;
}

.soec-engage-share { position: relative; }

.soec-engage-share-panel {
    position: absolute;
    right: 0;
    bottom: calc(100% + 0.5rem);
    z-index: 20;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    width: 260px;
    padding: 0.75rem;
    border-radius: 12px;
    background: #4f9aa8;
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.soec-engage-share-panel[hidden] { display: none; }

.soec-engage-share-panel a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 8px;
    background: transparent;
    color: #ffffff !important;
    font-weight: 600;
    text-decoration: none !important;
    transition: background 0.15s ease;
}

.soec-engage-share-panel a:hover,
.soec-engage-share-panel a:focus-visible,
.soec-engage-share-panel .soec-engage-copy:hover,
.soec-engage-share-panel .soec-engage-copy:focus-visible {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff !important;
}

.soec-engage-share-panel .soec-engage-copy {
    grid-column: span 2;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 8px;
    background: transparent;
    color: #ffffff;
}

.soec-engage-share-note {
    grid-column: span 2;
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.4;
    color: #ffffff;
    text-align: center;
}

.soec-engage-thanks {
    flex-basis: 100%;
    padding-top: 1rem;
    border-top: 1px solid rgba(27, 81, 55, 0.15);
}

.soec-engage-thanks[hidden] { display: none; }

.soec-engage-thanks p {
    margin: 0 0 0.75rem;
}

/* The article text styles (line limits on card text) mustn't show hidden parts */
.soec-engage [hidden] { display: none !important; }

/* Follow-up after a vote */
.soec-engage-prompt { color: #333333; }
.soec-engage-prompt strong { color: #1b5137; }
.soec-engage-why {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.25rem;
}
.soec-engage-why .soec-engage-prompt { margin: 0; }
.soec-engage-reasons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.soec-engage-reason {
    position: relative;
    cursor: pointer;
}
.soec-engage-reason input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}
.soec-engage-reason span {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 1rem;
    border: 2px solid #1b5137;
    border-radius: 999px;
    background: #ffffff;
    color: #1b5137;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.15s ease, color 0.15s ease;
}
.soec-engage-reason:hover span { background: rgba(27, 81, 55, 0.08); }
.soec-engage-reason input:checked + span {
    background: #1b5137;
    color: #ffffff;
}
.soec-engage-reason input:checked + span::before { content: '\2713\00a0'; }
.soec-engage-reason input:focus-visible + span {
    outline: 3px solid #e1a038;
    outline-offset: 2px;
}
.soec-engage-continue {
    min-height: 40px;
    padding: 0 1.4rem;
    border: 0;
    border-radius: 999px;
    background: #e1a038;
    color: #1b5137;
    font: 600 0.95rem 'Work Sans', sans-serif;
    cursor: pointer;
}
.soec-engage-continue:hover { background: #d0902b; }

/* "Leave Us A Comment": the invitation before the form */
.soec-engage-invite {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
}
.soec-engage-invite-text { margin: 0; color: #333333; }

/* Comment form */
.soec-engage-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.soec-engage-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}
.soec-engage-form label {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: #1b5137;
}
.soec-engage-form .soec-optional {
    font-weight: 400;
    color: #5c6e7a;
}
.soec-engage-form input,
.soec-engage-form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 0.6rem 0.75rem;
    border: 1px solid rgba(27, 81, 55, 0.35);
    border-radius: 8px;
    background: #ffffff;
    font: 400 1rem/1.4 'Work Sans', sans-serif;
    color: #333333;
}
.soec-engage-form input:focus,
.soec-engage-form textarea:focus {
    outline: 2px solid #e1a038;
    outline-offset: 1px;
    border-color: #1b5137;
}
.soec-engage-form textarea { resize: vertical; min-height: 110px; }
.soec-engage-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.soec-engage-form-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.soec-engage-send {
    min-height: 44px;
    padding: 0 1.5rem;
    border: 0;
    border-radius: 999px;
    background: #e1a038;
    color: #1b5137;
    font: 600 0.95rem 'Work Sans', sans-serif;
    cursor: pointer;
    transition: background 0.15s ease;
}
.soec-engage-send:hover { background: #d0902b; }
.soec-engage-send:disabled { opacity: 0.6; cursor: default; }
.soec-engage-form-msg { font-size: 0.9rem; color: #1b5137; }
.soec-engage-form-msg.is-error { color: #8b2635; font-weight: 600; }
.soec-engage-form-note,
.soec-engage-thanks .soec-engage-form-note {
    margin: 0;
    font-size: 0.8rem;
    color: #5c6e7a;
}
.soec-engage-sent { font-weight: 600; color: #1b5137; }

@media (max-width: 600px) {
    .soec-engage-form-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .soec-engage { padding: 1rem; }
    .soec-engage-share-panel { right: auto; left: 0; }
}

/* ----- Full list page (/news/?type=...): one bar of grouped buttons, page numbers ----- */
.news-list-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin: 1rem 0 1.75rem;
    font-family: 'Work Sans', sans-serif;
}

.news-list-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
}

.news-list-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

/* Vertical line between groups */
.news-list-divider {
    align-self: stretch;
    width: 1px;
    min-height: 32px;
    background: rgba(27, 81, 55, 0.3);
}

.news-list-pill,
.news-list-apply,
.news-list-clear,
.news-list-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 44px;
    padding: 0 1.1rem;
    border: 1px solid rgba(27, 81, 55, 0.35);
    border-radius: 999px;
    background: #ffffff;
    color: #1b5137;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
}

/* Show / Sort pills are radio buttons: the circle is hidden, the label is the button */
.news-list-pill { position: relative; }
.news-list-pill input[type="radio"],
.news-list-pill input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.news-list-pill:hover,
.news-list-clear:hover,
.news-list-chip:hover { border-color: #1b5137; }

.news-list-pill.is-active,
.news-list-pill:has(input:checked) {
    background: #1b5137;
    border-color: #1b5137;
    color: #ffffff;
}

.news-list-pill:focus-within,
.news-list-pill:focus-visible,
.news-list-apply:focus-visible,
.news-list-clear:focus-visible,
.news-list-chip:focus-visible,
.news-list-option input:focus-visible {
    outline: 3px solid #e1a038;
    outline-offset: 2px;
}

/* Apply, Clear and Back: amber */
.news-list-apply,
.news-list-clear {
    background: #e1a038;
    border-color: #e1a038;
    color: #1b5137;
}

.news-list-apply:hover,
.news-list-clear:hover { background: #d0902b; border-color: #d0902b; color: #1b5137; }

/* Each group's "on" colour is a different green:
   News / Articles - forest; Centre / Topic - emerald; Sort - sage */
.news-list-group-pick .news-list-pill.is-active {
    background: #2a7a52;
    border-color: #2a7a52;
    color: #ffffff;
}

.news-list-group-sort .news-list-pill.is-active,
.news-list-group-sort .news-list-pill:has(input:checked) {
    background: #8ca280;
    border-color: #8ca280;
    color: #0f3d26;
}

/* Centre / Topic: button that opens a panel of tick boxes */
.news-list-picker { position: relative; }

.news-list-picker-panel {
    position: absolute;
    top: calc(100% + 0.4rem);
    left: 0;
    z-index: 30;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-width: 230px;
    max-height: 340px;
    overflow-y: auto;
    padding: 0.9rem;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.news-list-picker-panel[hidden] { display: none; }

.news-list-picker-panel fieldset {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    margin: 0;
    padding: 0;
    border: 0;
}

.news-list-picker-panel legend {
    margin-bottom: 0.4rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #5c6e7a;
}

.news-list-option {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 40px;
    padding: 0 0.4rem;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #333333;
    cursor: pointer;
}

.news-list-option:hover { background: rgba(27, 81, 55, 0.07); }

.news-list-option input {
    width: 18px;
    height: 18px;
    accent-color: #1b5137;
}

.news-list-picker-apply { align-self: flex-start; }

.news-list-chip { background: rgba(225, 160, 56, 0.15); border-color: #e1a038; margin-left: 0.5rem; }

.news-list-count {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: 0;
    font-size: 0.9rem;
    color: #5c6e7a;
}

.news-list-empty {
    padding: 2.5rem 1rem;
    text-align: center;
    font-family: 'Work Sans', sans-serif;
    color: #5c6e7a;
}

.news-list-pagination {
    display: flex;
    justify-content: center;
    margin: 2rem 0 0.5rem;
}

.news-list-pagination ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.news-list-pagination a,
.news-list-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0 0.9rem;
    border-radius: 10px;
    font-family: 'Work Sans', sans-serif;
    font-size: 0.95rem;
    text-decoration: none;
}

.news-list-pagination a {
    background: #ffffff;
    color: #1b5137;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.news-list-pagination a:hover { background: #e1a038; }
.news-list-pagination .current { background: #1b5137; color: #ffffff; }
.news-list-pagination .dots { color: #5c6e7a; }

/* Phones: groups stack, the lines between them become horizontal */
@media (max-width: 760px) {
    .news-list-bar { flex-direction: column; align-items: center; }
    .news-list-group { justify-content: center; }
    .news-list-divider { width: 100%; height: 1px; min-height: 0; }
    .news-list-picker-panel { min-width: 260px; }
}

/* Full list page: a little more space between rows of cards */
.news-list-page .news-block-wrapper:not(.news-carousel-active) {
    row-gap: 32px !important;
}

@media (max-width: 768px) {
    .news-list-page .news-block-wrapper:not(.news-carousel-active) { row-gap: 24px !important; }
}

/* Full list page: Back button at the start of the filter bar.
   Strong selectors and !important because the site's general link styles
   otherwise turn it back into plain link text. */
.news-list-controls a.news-list-back,
.news-list-controls a.news-list-back:visited {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.45rem !important;
    min-height: 44px !important;
    padding: 0 1.15rem 0 0.9rem !important;
    border: 1px solid #e1a038 !important;
    border-radius: 999px !important;
    background: #e1a038 !important;
    color: #1b5137 !important;
    font-family: 'Work Sans', sans-serif !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

.news-list-controls a.news-list-back:hover {
    background: #d0902b !important;
    border-color: #d0902b !important;
    color: #1b5137 !important;
}

.news-list-controls a.news-list-back:focus-visible {
    outline: 3px solid #e1a038 !important;
    outline-offset: 2px !important;
}

.news-list-controls .news-list-back-icon {
    display: block !important;
    flex: 0 0 18px;
    width: 18px !important;
    height: 18px !important;
    fill: currentColor;
    transition: transform 0.15s ease;
}

.news-list-controls a.news-list-back:hover .news-list-back-icon {
    transform: translateX(-2px);
}

/* ----- News Block: card button hover (the theme's colour classes otherwise win) ----- */
.news-block-wrapper .split-card .split-card-button:hover,
.news-block-wrapper .split-card:not(.no-hover):hover .split-card-button {
    background-color: var(--button-hover-bg, #1b5137) !important;
    border-color: var(--button-hover-bg, #1b5137) !important;
    color: var(--button-hover-color, #ffffff) !important;
}

/* ----- News Block: type label sits on the bottom-left corner of the image ----- */
.news-block-wrapper .split-card .split-card-image { position: relative; }

.news-block-wrapper .split-card-image > .news-type-label {
    position: absolute;
    left: 10px;
    bottom: 10px;
    z-index: 4;
    margin: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    pointer-events: none;
}

/* ----- News Block: "View all" button at the bottom ----- */
.news-view-all-wrap {
    display: flex;
    margin: 1.5rem 0 0.5rem;
}

.news-view-all-wrap.align-left { justify-content: flex-start; }
.news-view-all-wrap.align-center { justify-content: center; }
.news-view-all-wrap.align-right { justify-content: flex-end; }

a.news-view-all-btn,
a.news-view-all-btn:visited {
    display: inline-flex !important;
    align-items: center;
    gap: 0.45rem;
    min-height: 44px;
    padding: 0 1.4rem;
    border: 2px solid var(--va-bg, #e1a038);
    border-radius: 999px;
    background: var(--va-bg, #e1a038) !important;
    color: var(--va-color, #1b5137) !important;
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
    line-height: 1;
    text-decoration: none !important;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

a.news-view-all-btn:hover {
    background: var(--va-hover, #1b5137) !important;
    border-color: var(--va-hover, #1b5137);
    color: #ffffff !important;
}

a.news-view-all-btn:focus-visible {
    outline: 3px solid #e1a038;
    outline-offset: 3px;
}

a.news-view-all-btn svg { transition: transform 0.15s ease; }
a.news-view-all-btn:hover svg { transform: translateX(3px); }

/* ==========================================================================
   AUTHORS (Nov 2026) - see inc/news-authors.php and assets/js/news-authors.js
   ========================================================================== */

/* Author pills on the article page. Same colours as the button on the
   card (Author Bios > Card style > Buttons); only the background changes
   on hover. */
.soec-byline {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}
.soec-byline-label {
    color: #666;
    margin-right: 2px;
}
.soec-byline .soec-author-pill,
.soec-byline a.soec-author-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border: 0;
    border-radius: 999px;
    background: var(--author-btn-bg, #e1a038) !important;
    color: var(--author-btn-text, #1b5137) !important;
    font: 600 0.85rem/1.3 'Work Sans', sans-serif;
    text-decoration: none !important;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}
.soec-byline .soec-author-pill:hover,
.soec-byline .soec-author-pill:focus-visible {
    background: var(--author-btn-hover, #8ca280) !important;
    color: var(--author-btn-text, #1b5137) !important;
    transform: translateY(-1px);
}
.soec-byline .soec-author-pill:focus-visible {
    outline: 2px solid var(--author-btn-text, #1b5137);
    outline-offset: 2px;
}

/* The cards, kept off screen until a pill opens one */
.soec-author-deck {
    position: fixed;
    left: -10000px;
    top: -3000px;
    width: 240px;
    pointer-events: none;
}

/* Hover preview of a card front, beside the pointer */
.soec-author-preview {
    position: fixed;
    z-index: 100001;
    width: 250px;
    pointer-events: none;
    opacity: 0;
    transform: translateY(4px) scale(0.98);
    transition: opacity 0.15s ease, transform 0.15s ease;
}
.soec-author-preview.is-visible {
    opacity: 1;
    transform: none;
}
.soec-author-preview .flip-card-grid-inner {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(6, 39, 53, 0.3);
    transform: none !important;
    visibility: visible !important;
}
/* Square photo, like the Our People cards */
.soec-author-preview .flip-card-front-image,
.soec-author-deck .flip-card-front-image {
    aspect-ratio: 1 / 1;
    width: 100%;
}
/* Photo background (Card style > Photo background) */
.soec-author-preview .flip-card-front-image,
.soec-author-deck .flip-card-front-image,
.soec-author-expanded .flip-card-back-image {
    background: var(--author-img-bg, #9b9b9b);
}
/* Photo size (each author's Size setting): smaller shows the whole image */
.soec-author-preview img.soec-img-scaled,
.soec-author-deck img.soec-img-scaled,
.soec-author-expanded .flip-card-back-image img.soec-img-scaled {
    transform: scale(var(--author-img-scale, 1));
}
.soec-author-preview img.is-fit,
.soec-author-deck img.is-fit,
.soec-author-expanded .flip-card-back-image img.is-fit {
    object-fit: contain !important;
}
.soec-author-preview .flip-card-front-image img,
.soec-author-deck .flip-card-front-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.soec-author-preview .flip-card-front-image svg,
.soec-author-deck .flip-card-front-image svg {
    width: 45%;
    height: auto;
    opacity: 0.8;
}
.soec-author-preview .flip-card-front-content {
    padding: 0.6rem 0.75rem 0.75rem;
}
.soec-author-preview .flip-front-name {
    font-size: 1.05rem !important;
}
.soec-author-preview .flip-front-title {
    font-size: 0.8rem !important;
}

/* The opened card: a little narrower than a Flip Block's */
.flip-card-expanded.soec-author-expanded {
    max-width: 900px;
}
.soec-author-expanded .flip-card-back-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.soec-author-expanded .flip-back-bio p {
    margin: 0 0 0.9em;
}
.soec-author-expanded .soec-author-more {
    display: flex;
    margin-top: auto;
    padding-top: 1rem;
}
.soec-author-expanded .soec-author-more-left { justify-content: flex-start; }
.soec-author-expanded .soec-author-more-center { justify-content: center; }
.soec-author-expanded .soec-author-more-right { justify-content: flex-end; }
.soec-author-expanded .soec-author-more .flip-card-button {
    display: inline-block;
    align-self: auto;
    padding: 0.55rem 1.2rem;
    border: 0 !important;
    border-radius: 999px;
    background: var(--author-btn-bg, #e1a038) !important;
    color: var(--author-btn-text, #1b5137) !important;
    font-weight: 600;
    text-decoration: none !important;
    transition: background-color 0.2s ease;
}
.soec-author-expanded .soec-author-more .flip-card-button:hover,
.soec-author-expanded .soec-author-more .flip-card-button:focus-visible {
    background: var(--author-btn-hover, #8ca280) !important;
    color: var(--author-btn-text, #1b5137) !important;
}


/* ==========================================================================
   DATE AND READING-TIME PILLS (Nov 2026)
   On cards and on the article page, the same size: white words and icons on
   charcoal at 50% (--meta-pill-opacity).
   On the article page the reading time and then the date sit on the right.
   ========================================================================== */
.split-card-meta.news-meta-pills,
.single-news-article .article-meta {
    --meta-pill-opacity: 0.5;
}
.split-card-meta.news-meta-pills {
    flex-wrap: wrap;
    gap: 0.35rem 0.5rem;
}
.split-card-meta.news-meta-pills .split-card-date,
.split-card-meta.news-meta-pills .split-card-read-time,
.single-news-article .article-meta .article-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35em;
    padding: 0.2em 0.7em;
    border-radius: 999px;
    background: rgba(51, 51, 51, var(--meta-pill-opacity, 0.3));
    color: #ffffff !important;
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
}
.single-news-article .article-meta .article-meta-pill {
    font-size: 0.85rem;
}
.split-card-meta.news-meta-pills svg,
.single-news-article .article-meta .article-meta-pill svg {
    width: 12px;
    height: 12px;
    fill: #ffffff !important;
    opacity: 1;
}
.single-news-article .article-meta .article-meta-pill svg path {
    fill: #ffffff;
}
.single-news-article .article-meta .article-meta-right {
    margin-left: auto;
}
.single-news-article .article-meta {
    align-items: center;
}

/* Arrow after the button text on cards */
.split-card-button .split-card-button-arrow {
    display: inline-block;
    width: 1em;
    height: 1em;
    margin-left: 0.4em;
    vertical-align: -0.15em;
    fill: currentColor;
    transition: transform 0.2s ease;
}
.split-card-button:hover .split-card-button-arrow {
    transform: translateX(3px);
}

/* "Back to all news / articles" at the end of an article */
.article-navigation a.article-back-btn,
.article-navigation a.article-back-btn:visited {
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    padding: 0.55rem 1.2rem;
    border-radius: 999px;
    color: #ffffff !important;
    font-weight: 600;
    text-decoration: none !important;
    transition: filter 0.15s ease;
}
.article-navigation a.article-back-btn.is-news { background: #8b2635 !important; }
.article-navigation a.article-back-btn.is-article { background: #1b5137 !important; }
.article-navigation a.article-back-btn:hover { filter: brightness(1.15); }

/* ==========================================================================
   HERO ITEM AND NEWS & ARTICLES TABS (Pass 3, Nov 2026)
   ========================================================================== */

/* Hero item: one wide card above the block's other cards */
.news-hero-wrap {
    margin-bottom: 24px;
}
.news-bare-cards .news-block-wrapper {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Blocks hidden by the tabs (and sections left empty) */
.soec-block[hidden],
.soec-section-wrapper[hidden] {
    display: none !important;
}

/* ----- Folder tabs: the live tab joins the panel below; the other sits
   behind it, faded, its title pulsing gently ----- */
.news-tabs {
    --tab-live-colour: var(--tab-all, #371c00);
}
.news-tabs[data-live="news"] {
    --tab-live-colour: var(--tab-news, #8b2635);
}
.news-tabs[data-live="article"] {
    --tab-live-colour: var(--tab-article, #1b5137);
}
.news-tabs-titles {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    margin: 0;
    padding: 0 6px;
}
.news-tab {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    align-items: center;
    padding: 0.5em 1em;
    border: 0;
    border-radius: 14px 14px 0 0;
    background: var(--tab-colour, #1b5137);
    color: #ffffff;
    font-family: var(--tab-title-font, 'Fraunces', serif);
    font-size: var(--tab-title-size, 22px);
    font-weight: var(--tab-title-weight, 700);
    font-style: var(--tab-title-style, normal);
    line-height: 1.2;
    text-align: var(--tab-title-align, left);
    justify-content: var(--tab-title-justify, flex-start);
    cursor: pointer;
    position: relative;
}
.news-tab.is-live {
    padding-top: 0.7em;
    padding-bottom: 0.7em;
    cursor: default;
    z-index: 2;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.12);
}
/* The tab behind: lower, faded, a shadow along its foot */
.news-tab:not(.is-live) {
    margin-bottom: 0;
    opacity: var(--tab-dormant, 0.5);
    box-shadow: inset 0 -8px 10px -8px rgba(0, 0, 0, 0.45);
    animation: soecTabPulse 2.4s ease-in-out infinite alternate;
}
.news-tab:not(.is-live):hover,
.news-tab:not(.is-live):focus-visible {
    animation: none;
    opacity: var(--tab-dormant-high, 0.75);
}
.news-tab:focus-visible {
    outline: 3px solid #e1a038;
    outline-offset: 2px;
}
@keyframes soecTabPulse {
    from { opacity: var(--tab-dormant, 0.5); }
    to   { opacity: var(--tab-dormant-high, 0.75); }
}
.news-tab-text { display: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.news-tab.is-live .news-tab-live-text,
.news-tab:not(.is-live) .news-tab-dormant-text { display: inline; }
/* What screen readers hear: the title, or "Show ..." on a dormant tab */
.news-tab .news-tab-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}
.news-tab.is-live .news-tab-sr-dormant,
.news-tab:not(.is-live) .news-tab-sr-live { display: none; }
.news-tab-arrow { font-family: 'Work Sans', sans-serif; }

/* The panel the live tab belongs to */
.news-tabs-body {
    position: relative;
    z-index: 1;
    border-top: 8px solid var(--tab-live-colour);
    border-radius: 0 0 18px 18px;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 24px rgba(6, 39, 53, 0.12);
    padding: 16px 18px 20px;
}
.news-tabs-intro-text {
    display: none;
    margin: 0 0 14px;
    font-family: var(--tab-intro-font, 'Work Sans', sans-serif);
    font-size: var(--tab-intro-size, 17px);
    font-weight: var(--tab-intro-weight, 400);
    font-style: var(--tab-intro-style, normal);
    text-align: var(--tab-intro-align, left);
    color: #333333;
}
.news-tabs[data-live="all"] .news-tabs-intro-text[data-type="all"],
.news-tabs[data-live="news"] .news-tabs-intro-text[data-type="news"],
.news-tabs[data-live="article"] .news-tabs-intro-text[data-type="article"] {
    display: block;
}

/* ----- The live tab's cards, full width (the other tab's are hidden) ----- */
.news-tabs-cards {
    display: block;
}
.news-tab-panel.is-dormant,
.news-tab-panel[hidden] {
    display: none !important;
}

@media (prefers-reduced-motion: reduce) {
    .news-tab-panel { transition: none; }
    .news-tab:not(.is-live) { animation: none; }
}

/* ----- Phones: the two titles as tabs, just the live item below ----- */
@media (max-width: 768px) {
    .news-tab { font-size: calc(var(--tab-title-size, 22px) * 0.8); padding: 0.55em 0.8em; }
    .news-tabs-intro-text { font-size: calc(var(--tab-intro-size, 17px) * 0.92); }
    .news-tab.is-live .news-tab-live-text,
    .news-tab:not(.is-live) .news-tab-dormant-text { display: none; }
    .news-tab.is-live .news-tab-phone-live,
    .news-tab:not(.is-live) .news-tab-phone-dormant { display: inline; }
    .news-tabs-body { padding: 12px; }

    /* Hero and tab cards on phones: 3:4, image above, text below */
    .news-bare-cards .news-card.layout-horizontal {
        flex-direction: column !important;
    }
    .news-bare-cards .news-card.layout-horizontal .split-card-image {
        flex: 0 0 50% !important;
        height: 50% !important;
        min-height: 0;
    }
    .news-bare-cards .news-card.layout-horizontal .split-card-text {
        flex: 1 1 auto !important;
        height: auto !important;
        min-height: 0;
    }
}


/* ==========================================================================
   NEWS & ARTICLES TABS: FILTERS, ORDER AND PAGE NUMBERS (Nov 2026)
   ========================================================================== */
.news-tab-count {
    margin-left: 0.35em;
    font-family: 'Work Sans', sans-serif;
    font-size: 0.7em;
    font-weight: 600;
    opacity: 0.85;
}
.news-tab-count:empty { display: none; }

.news-tabs-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;
    margin: 0 0 16px;
}
.news-tabs-filters-left,
.news-tabs-filters-right {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

/* Dropdown buttons: two-thirds the height of the old pills, gently rounded */
.news-tabs-filters { position: relative; }
/* The lists open from the left of the filter row, so wide ones have room */
.news-tabs-filter { position: static; }
.news-tabs-filter-btn,
.news-tabs-clear,
.news-tabs-chip,
.news-tabs-order select,
.news-tabs-search {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    height: 30px;
    padding: 0 0.75rem;
    border: 1px solid rgba(27, 81, 55, 0.35);
    border-radius: 8px;
    background: #ffffff;
    color: #1b5137;
    font: 600 0.88rem/1 'Work Sans', sans-serif;
    cursor: pointer;
    box-sizing: border-box;
}
.news-tabs-filter-btn:hover,
.news-tabs-chip:hover,
.news-tabs-order select:hover { border-color: #1b5137; }
.news-tabs-filter-btn.is-active {
    background: #2a7a52;
    border-color: #2a7a52;
    color: #ffffff;
}
.news-tabs-filter-count:empty { display: none; }
.news-tabs-filter-count::before { content: '('; }
.news-tabs-filter-count::after { content: ')'; }
.news-tabs-filter-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.news-tabs-filter-btn svg { transition: transform 0.15s ease; }

/* Clear: the same shape, a little darker */
.news-tabs-clear {
    background: #dfe8e2;
    border-color: #b9ccbf;
    color: #0f3d26;
}
.news-tabs-clear:hover { background: #cfdcd3; border-color: #1b5137; }
.news-tabs-clear[hidden] { display: none; }
/* Always there; faded until there is something to clear */
.news-tabs-clear.is-idle,
.news-tabs-clear:disabled { opacity: 0.45; cursor: default; }
.news-tabs-clear.is-idle:hover,
.news-tabs-clear:disabled:hover { background: #dfe8e2; border-color: #b9ccbf; }
.news-tabs-chip { background: #f3efe8; }

/* Search */
.news-tabs-search {
    cursor: text;
    padding: 0 0.6rem;
    font-weight: 400;
}
.news-tabs-search svg { flex: 0 0 auto; opacity: 0.7; }
.news-tabs-search input {
    width: 150px;
    height: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    font: 400 0.9rem 'Work Sans', sans-serif;
    color: #333333;
}
.news-tabs-search:focus-within { border-color: #1b5137; box-shadow: 0 0 0 2px rgba(225, 160, 56, 0.6); }

/* Order by */
.news-tabs-order {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font: 700 0.75rem 'Work Sans', sans-serif;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #5c6e7a;
}
.news-tabs-order select {
    appearance: auto;
    text-transform: none;
    letter-spacing: 0;
    padding-right: 0.4rem;
}

.news-tabs-filter-btn:focus-visible,
.news-tabs-clear:focus-visible,
.news-tabs-chip:focus-visible,
.news-tabs-order select:focus-visible,
.news-tabs-option input:focus-visible + span {
    outline: 3px solid #e1a038;
    outline-offset: 2px;
}

/* The list that drops down: "All ..." first, then columns of six */
.news-tabs-filter-panel {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 40;
    min-width: 220px;
    max-width: 100%;
    box-sizing: border-box;
    max-height: 60vh;
    overflow: auto;
    padding: 0.75rem;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}
.news-tabs-filter-panel.align-right { left: auto; right: 0; }
.news-tabs-filter-panel[hidden] { display: none; }
.news-tabs-filter-panel fieldset { margin: 0; padding: 0; border: 0; }
.news-tabs-filter-options {
    display: grid;
    grid-template-rows: repeat(6, auto);
    grid-auto-flow: column;
    grid-auto-columns: minmax(170px, 215px);
    column-gap: 0.75rem;
}
.news-tabs-filter-narrow {
    width: 100%;
    margin-bottom: 0.5rem;
    padding: 0.35rem 0.5rem;
    border: 1px solid #c3c4c7;
    border-radius: 6px;
    font: 400 0.9rem 'Work Sans', sans-serif;
    box-sizing: border-box;
}
.news-tabs-option {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 34px;
    padding: 0 0.4rem;
    border-radius: 6px;
    font: 400 0.92rem 'Work Sans', sans-serif;
    color: #333333;
    line-height: 1.25;
    cursor: pointer;
}
.news-tabs-option[hidden] { display: none; }
.news-tabs-option:hover { background: rgba(27, 81, 55, 0.07); }
.news-tabs-option input { width: 16px; height: 16px; accent-color: #2a7a52; }
.news-tabs-option.is-all { font-weight: 700; color: #1b5137; }

/* Topic: one column per theme, the theme heading ticks its topics */
.news-tabs-filter-panel.is-grouped { width: 100%; }
.news-tabs-filter-panel.is-grouped > fieldset > .news-tabs-option.is-all {
    margin-bottom: 0.4rem;
    padding-bottom: 0.15rem;
}
.news-tabs-filter-groups {
    display: grid;
    grid-template-columns: repeat(var(--groups, 6), minmax(0, 1fr));
    gap: 0.25rem 0.6rem;
    align-items: start;
}
.news-tabs-group {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.news-tabs-option.is-group {
    /* room for a two-line theme name, so every heading's underline lines up */
    min-height: 2.9em;
    align-items: flex-end;
    padding-bottom: 0.35rem;
    margin-bottom: 0.25rem;
    border-bottom: 2px solid #dfe8e2;
    border-radius: 6px 6px 0 0;
    font: 700 0.8rem 'Work Sans', sans-serif;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #1b5137;
}
.news-tabs-group .news-tabs-option:not(.is-group) { font-size: 0.88rem; align-items: flex-start; padding-top: 0.45rem; padding-bottom: 0.45rem; min-height: 0; }
.news-tabs-group .news-tabs-option:not(.is-group) input { margin-top: 1px; flex: 0 0 auto; }
@media (max-width: 1100px) {
    .news-tabs-filter-groups { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 0.75rem; }
}

/* Updating: a gentle fade while new cards load */
.news-tabs-cards { transition: opacity 0.15s ease; }
.news-tabs.is-loading .news-tabs-cards { opacity: 0.55; }

.news-tabs-empty {
    padding: 2rem 1rem;
    text-align: center;
    font-family: 'Work Sans', sans-serif;
    color: #333333;
}
.news-tabs-clear-inline {
    margin-top: 0.5rem;
    padding: 0.4rem 1rem;
    border: 0;
    border-radius: 8px;
    background: #dfe8e2;
    color: #0f3d26;
    font: 600 0.9rem 'Work Sans', sans-serif;
    cursor: pointer;
}

/* Page numbers */
.news-tabs-pages { margin: 24px 0 4px; }
.news-tabs-pages ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.news-tabs-pages a,
.news-tabs-pages span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 0.6rem;
    border-radius: 8px;
    border: 1px solid rgba(27, 81, 55, 0.3);
    background: #ffffff;
    color: #1b5137 !important;
    font: 600 0.9rem 'Work Sans', sans-serif;
    text-decoration: none !important;
    box-sizing: border-box;
}
.news-tabs-pages a:hover { border-color: #1b5137; }
.news-tabs-pages span[aria-current] { background: var(--tab-live-colour); border-color: var(--tab-live-colour); color: #ffffff !important; }
.news-tabs-pages li.gap { padding: 0 2px; color: #5c6e7a; align-self: center; }

@media (max-width: 768px) {
    .news-tabs-filters { flex-direction: column; align-items: stretch; }
    .news-tabs-search { flex: 1 1 100%; }
    .news-tabs-search input { width: 100%; }
    .news-tabs-filter-options { grid-template-rows: none; grid-auto-flow: row; grid-template-columns: 1fr; }
    .news-tabs-filter-groups { grid-template-columns: 1fr; row-gap: 0.6rem; }
    .news-tabs-filter-panel.is-grouped { width: auto; }
    .news-tabs-filter-panel { position: fixed; left: 12px !important; right: 12px !important; top: 18vh; max-width: none; max-height: 64vh; }
}
/* An open filter list sits above the tabs */
.news-tabs-body:has(.news-tabs-filter-panel:not([hidden])) { z-index: 5; }
@media (max-width: 768px) {
    .news-tab { font-size: calc(var(--tab-title-size, 22px) * 0.72); padding-left: 0.6em; padding-right: 0.6em; }
    .news-tab-arrow { display: none; }
}

/* ==========================================================================
   PILL ROW UNDER THE TITLE (Nov 2026) - soec_news_meta_pills() in news-hub.php
   One order everywhere: type, "By:" author, reading time, date.
   Cards: News | By: RG | 1 min | 29/08/26
   Article page: News | By: Richard Gerrish | 1 min read | Published: 29th Aug '26
   ========================================================================== */
.news-pills {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.4rem;
    margin: 0.35rem 0 0.75rem;
    font-family: 'Work Sans', sans-serif;
}
.news-pills .news-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.3em;
    padding: 0.2em 0.65em;
    border-radius: 999px;
    font-size: 0.8em;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
    color: #ffffff;
}
.news-pills .news-pill svg {
    flex: none;
    width: 1em;
    height: 1em;
    fill: currentColor;
}
/* Type: the same colours as the tabs */
.news-pills .news-pill-type.news-type-news    { background: #8b2635; }
.news-pills .news-pill-type.news-type-article { background: #1b5137; }
/* Reading time and date: white on see-through charcoal */
.news-pills .news-pill-meta { background: rgba(51, 51, 51, 0.5); }
.news-pills .news-pill-verified { background: #059669; }
.news-pills .news-pill-label { font-weight: 700; }
/* "By:" and the author pill(s) */
.news-pills .soec-byline { gap: 4px; font-size: 0.8em; }
.news-pills .soec-byline-label {
    color: #555555;
    font-weight: 600;
    margin-right: 0;
}
.news-pills .soec-byline .soec-author-pill,
.news-pills .soec-byline a.soec-author-pill {
    padding: 0.2em 0.65em;
    font-size: 1em;
    line-height: 1.4;
}
.news-pills .soec-byline.is-initials .soec-author-pill { letter-spacing: 0.04em; }
/* Article page: a little larger, with a rule underneath */
.single-news-article .news-pills-full,
.news-pills-full {
    gap: 0.45rem 0.5rem;
    margin: 0.25rem 0 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 1.05rem;
}
.single-news-article .news-pills-full > div { display: inline-flex; }

/* Tab icons: hourglass (News, of its time) and infinity (Articles, they last) */
.news-tab .news-tab-icon {
    display: inline-flex;
    flex: none;
    width: 0.8em;
    height: 0.8em;
    margin-right: 0.4em;
}
.news-tab-article .news-tab-icon { width: 1.05em; }
.news-tab .news-tab-icon svg { width: 100%; height: 100%; }

/* Phones: unequal tab widths so each short title fits (All 25%, News 30%,
   Articles 45%; the 6px gaps come off evenly) */
@media (max-width: 768px) {
    .news-tabs-titles .news-tab-all     { flex: 0 0 calc(25% - 4px); }
    .news-tabs-titles .news-tab-news    { flex: 0 0 calc(30% - 4px); }
    .news-tabs-titles .news-tab-article { flex: 0 0 calc(45% - 4px); }
}

/* Type pill: hourglass (News) / infinity (Articles). Cards show the icon
   alone; the article page shows the icon and the word */
.news-pills .news-pill-type .news-type-icon {
    display: inline-flex;
    width: 0.95em;
    height: 0.95em;
}
.news-pills .news-pill-type .news-type-icon.is-infinity { width: 1.25em; }
.news-pills .news-pill-type .news-type-icon svg { width: 100%; height: 100%; }
.news-pills .news-pill-type.is-icon {
    padding-left: 0.6em;
    padding-right: 0.6em;
    min-height: 1.8em;
    box-sizing: border-box;
}
/* The infinity sign is a line, not a filled shape */
.news-pills .news-type-icon.is-infinity svg,
.news-tab .news-type-icon.is-infinity svg {
    fill: none !important;
    stroke: currentColor;
}
.news-pills .news-pill-type .news-type-icon.is-infinity { width: 1.4em; }

/* ==========================================================================
   Read markers (Nov 2026): cards for articles this reader has already read
   fade by 25% and carry a "Read" mark beside the Read More button. Only for readers with Preferences
   cookies on (assets/js/news-read.js). Full strength again on hover/focus.
   ========================================================================== */
.news-card {
    transition: opacity 0.25s ease;
}
.news-card.is-read {
    opacity: var(--news-read-opacity, 0.75);
}
.news-card.is-read:hover,
.news-card.is-read:focus-within {
    opacity: 1;
}
/* The "Read" mark: level with the Read More button, on the side away from
   it (left when the button is centred or on the right; right when the
   button is on the left). The button stays exactly where it was. */
.news-card .split-card-button-wrapper.has-read-mark {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    column-gap: 0.5rem;
}
.news-card .split-card-button-wrapper.has-read-mark > .split-card-button { grid-row: 1; grid-column: 2; justify-self: center; }
.news-card .split-card-button-wrapper.has-read-mark > .news-read-mark   { grid-row: 1; grid-column: 1; justify-self: start; }
.news-card .split-card-button-wrapper.has-read-mark.align-left > .split-card-button  { grid-column: 1; justify-self: start; }
.news-card .split-card-button-wrapper.has-read-mark.align-left > .news-read-mark    { grid-column: 3; justify-self: end; }
.news-card .split-card-button-wrapper.has-read-mark.align-right > .split-card-button { grid-column: 3; justify-self: end; }
.news-read-mark {
    display: inline-flex;
    align-items: center;
    gap: 0.25em;
    padding: 0.2em 0.65em;
    border-radius: 999px;
    background: rgba(51, 51, 51, 0.5);
    color: #ffffff;
    font-family: 'Work Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
    pointer-events: none;
}
.news-read-mark svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
    flex: none;
}
.news-read-row {
    margin-top: auto;
    padding-top: 0.5rem;
}
@media (prefers-reduced-motion: reduce) {
    .news-card { transition: none; }
}
