/* =============================================================================
   Featured Trending Articles — style.css
   Prefix: lx-featured-trending-articles-
   Helper classes on section: lx-trending-*
   All rules scoped under .lx-featured-trending-articles-section
   ============================================================================= */

/* ── Section & Container ──────────────────────────────────────────────────── */
.lx-featured-trending-articles-section {
    padding-top: var(--lxfta-pt-mobile, 32px);
    padding-bottom: var(--lxfta-pb-mobile, 32px);
    padding-left: 0;
    padding-right: 0;
    margin-top: 0;
    margin-bottom: 0;
    position: relative;
    font-family: "Instrument Sans", sans-serif;
    color: #000;
    background: #fff;
    line-height: 1.6;
    box-sizing: border-box;
}

.lx-featured-trending-articles-section *,
.lx-featured-trending-articles-section *::before,
.lx-featured-trending-articles-section *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.lx-featured-trending-articles-section .lx-featured-trending-articles-container {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
}

/* ── Header row ───────────────────────────────────────────────────────────── */
.lx-featured-trending-articles-section .lx-featured-trending-articles-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

/* ── Section title ────────────────────────────────────────────────────────── */
.lx-featured-trending-articles-section .lx-featured-trending-articles-title {
    font-family: "Libre Caslon Display", serif;
    font-size: 40px;
    line-height: 48px;
    font-weight: 400;
    margin: 0;
    padding: 0;
}

.lx-featured-trending-articles-section .lx-featured-trending-articles-title a {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
    color: inherit;
    text-decoration: none;
    display: inline;
    transition: opacity 0.2s ease;
}

.lx-featured-trending-articles-section .lx-featured-trending-articles-title a:hover {
    opacity: 0.7;
}

/* ── SEE ALL button — hidden by default; modifier class shows it ──────────── */
.lx-featured-trending-articles-section .lx-featured-trending-articles-see-all {
    font-family: "Instrument Sans", sans-serif;
    font-size: 14px;
    font-weight: normal;
    letter-spacing: 1.8px;
    line-height: 16px;
    text-transform: uppercase;
    text-decoration: none;
    color: #000;
    border: 1px solid #000;
    padding: 0 32px;
    height: 48px;
    min-width: 64px;
    border-radius: 0;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.3s, color 0.3s;
    cursor: pointer;
    background: #fff;
    flex-shrink: 0;
}

.lx-featured-trending-articles-section.lx-trending-display-see-all-btn .lx-featured-trending-articles-see-all {
    display: inline-flex;
}

.lx-featured-trending-articles-section .lx-featured-trending-articles-see-all:hover {
    background-color: #000;
    color: #fff;
}

/* ── Article grid — mobile: single column ─────────────────────────────────── */
.lx-featured-trending-articles-section .lx-featured-trending-articles-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

/* ── Article card ─────────────────────────────────────────────────────────── */
.lx-featured-trending-articles-section .lx-featured-trending-articles-article {
    display: flex;
    flex-direction: column;
}

/* ── Article image wrapper ────────────────────────────────────────────────── */
.lx-featured-trending-articles-section .lx-featured-trending-articles-article-image-wrapper {
    position: relative;
    overflow: hidden;
    background-color: #e5e5e5;
    margin: 0 0 24px;
    padding: 0;
}

.lx-featured-trending-articles-section .lx-featured-trending-articles-article-image-link {
    display: block;
    overflow: hidden;
}

.lx-featured-trending-articles-section .lx-featured-trending-articles-article-image {
    width: 100%;
    height: auto;
    min-height: 400px;
    max-height: 400px;
    object-fit: cover;
    object-position: 50% 50%;
    display: block;
    margin: 0;
    padding: 0;
    transition: transform 0.5s ease;
}

.lx-featured-trending-articles-section
.lx-featured-trending-articles-article-image-wrapper:hover
.lx-featured-trending-articles-article-image {
    transform: scale(1.05);
}

/* ── Base first two images on mobile ─────────────────────────────────────── */
.lx-featured-trending-articles-section .lx-featured-trending-articles-article:nth-child(1)
  .lx-featured-trending-articles-article-image,
.lx-featured-trending-articles-section .lx-featured-trending-articles-article:nth-child(2)
  .lx-featured-trending-articles-article-image {
    min-height: 336px;
    max-height: 336px;
}

/* ── Gold list flag ───────────────────────────────────────────────────────── */
.lx-featured-trending-articles-section .lx-featured-trending-articles-article-gold-flag {
    display: none;
    position: absolute;
    top: 0;
    right: 24px;
    z-index: 11;
    filter: drop-shadow(0px 4px 6px rgba(0, 0, 0, 0.3));
}

.lx-featured-trending-articles-section .lx-article-is-gold-list
.lx-featured-trending-articles-article-gold-flag {
    display: block;
}

/* ── Year badges ──────────────────────────────────────────────────────────── */
.lx-featured-trending-articles-section .lx-featured-trending-articles-article-badges {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    z-index: 10;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    pointer-events: none;
}

.lx-featured-trending-articles-section .lx-featured-trending-articles-article-badge {
    background-color: #ffffff;
    padding: 8px 20px;
    font-family: "Instrument Sans", sans-serif;
    font-size: 13px;
    font-weight: 400;
    border-radius: 20px;
    display: inline-block;
    text-decoration: none;
    color: #000000;
    line-height: 16px;
    white-space: nowrap;
    transition: all 0.3s ease;
    pointer-events: auto;
}

/* ── Category labels ──────────────────────────────────────────────────────── */
.lx-featured-trending-articles-section .lx-featured-trending-articles-article-categories {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.lx-featured-trending-articles-section .lx-featured-trending-articles-article-category {
    font-family: "Instrument Sans", sans-serif;
    font-size: 12px;
    font-weight: normal;
    letter-spacing: 1.8px;
    line-height: 16px;
    text-transform: uppercase;
    display: inline-block;
    text-decoration: underline;
    color: #000;
    transition: opacity 0.2s ease;
}

.lx-featured-trending-articles-section .lx-featured-trending-articles-article-category:hover {
    opacity: 0.6;
}

.lx-featured-trending-articles-section .lx-featured-trending-articles-article-category-dot {
    font-family: "Instrument Sans", sans-serif;
    font-size: 12px;
    line-height: 16px;
    color: #000;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

/* ── Article title ────────────────────────────────────────────────────────── */
.lx-featured-trending-articles-section .lx-featured-trending-articles-article-title {
    font-family: "Libre Caslon Display", serif;
    font-size: 32px;
    line-height: 40px;
    font-weight: 400;
    margin: 0;
    padding: 0;
}

.lx-featured-trending-articles-section .lx-featured-trending-articles-article-title a {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
    color: inherit;
    text-decoration: none;
    display: block;
    transition: opacity 0.2s ease;
}

.lx-featured-trending-articles-section .lx-featured-trending-articles-article-title a:hover {
    opacity: 0.7;
}

/* ── No results ───────────────────────────────────────────────────────────── */
.lx-featured-trending-articles-section .lx-featured-trending-articles-no-results {
    font-family: "Instrument Sans", sans-serif;
    font-size: 16px;
    color: #666;
    grid-column: 1 / -1;
    padding: 32px 0;
}

/* ── Load More — hidden by default; modifier class shows it ──────────────── */
.lx-featured-trending-articles-section .lx-featured-trending-articles-load-more-wrapper {
    display: none;
    justify-content: center;
    margin-top: 48px;
}

.lx-featured-trending-articles-section.lx-trending-display-load-more-btn
.lx-featured-trending-articles-load-more-wrapper {
    display: flex;
}

.lx-featured-trending-articles-section .lx-featured-trending-articles-load-more {
    font-family: "Instrument Sans", sans-serif;
    font-size: 14px;
    font-weight: normal;
    letter-spacing: 1.8px;
    line-height: 16px;
    text-transform: uppercase;
    text-decoration: none;
    color: #000;
    border: 1px solid #000;
    padding: 0 32px;
    height: 48px;
    min-width: 64px;
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.3s, color 0.3s;
    cursor: pointer;
    background: #fff;
    -webkit-appearance: none;
    appearance: none;
}

.lx-featured-trending-articles-section .lx-featured-trending-articles-load-more:hover {
    background-color: #000;
    color: #fff;
}

.lx-featured-trending-articles-section .lx-featured-trending-articles-load-more.is-loading {
    opacity: 0.6;
    cursor: wait;
}

/* ============================================================
   TABLET — min-width: 768px
   ============================================================ */

@media (min-width: 768px) {
    .lx-featured-trending-articles-section .lx-featured-trending-articles-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 24px;
    }

    .lx-featured-trending-articles-section .lx-featured-trending-articles-article {
        width: calc(50% - 12px);
    }

    /* Partner placeholder image height at tablet (768–1279px).
       All articles are 50% wide here, so the placeholder must match the
       standard article image height (400px base, 336px for first two). */
    .lx-featured-trending-articles-section .lx-fta-partner-image-wrap {
        height: 400px;
    }

    .lx-featured-trending-articles-section
      .lx-featured-trending-articles-article.lx-fta-partner-card:nth-child(1)
      .lx-fta-partner-image-wrap,
    .lx-featured-trending-articles-section
      .lx-featured-trending-articles-article.lx-fta-partner-card:nth-child(2)
      .lx-fta-partner-image-wrap {
        height: 336px;
    }
}

/* ============================================================
   DESKTOP — min-width: 1280px
   ============================================================ */

@media (min-width: 1280px) {
    /* Padding only — no margin */
    .lx-featured-trending-articles-section {
        padding-top: var(--lxfta-pt-desktop, 64px);
        padding-bottom: var(--lxfta-pb-desktop, 64px);
        padding-left: 0;
        padding-right: 0;
        margin-top: 0;
        margin-bottom: 0;
    }

    .lx-featured-trending-articles-section .lx-featured-trending-articles-header {
        margin-bottom: 40px;
    }

    .lx-featured-trending-articles-section .lx-featured-trending-articles-title {
        font-size: 48px;
        line-height: 56px;
    }

    /* Default layout: first 2 articles 50% (2-col large), rest 33.33% (3-col) */
    .lx-featured-trending-articles-section .lx-featured-trending-articles-article:nth-child(1),
    .lx-featured-trending-articles-section .lx-featured-trending-articles-article:nth-child(2) {
        width: calc(50% - 12px);
    }

    .lx-featured-trending-articles-section .lx-featured-trending-articles-article:nth-child(n + 3) {
        width: calc(33.333% - 16px);
    }

    /* First-two image heights in default layout */
    .lx-featured-trending-articles-section .lx-featured-trending-articles-article:nth-child(1)
      .lx-featured-trending-articles-article-image,
    .lx-featured-trending-articles-section .lx-featured-trending-articles-article:nth-child(2)
      .lx-featured-trending-articles-article-image {
        min-height: 413px;
        max-height: 413px;
    }

    /* All other articles: standard grid image height */
    .lx-featured-trending-articles-section .lx-featured-trending-articles-article:nth-child(n + 3)
      .lx-featured-trending-articles-article-image {
        min-height: 312px;
        max-height: 312px;
    }

    /* ── Partner card in first-row position (1 or 2) ─────────────────────────
       When partner position is set to 2, the card sits at nth-child(2) and must
       match the large first-row treatment: 50% width and 413px image height.
       The nth-child(1/2) article rules above already handle width correctly for
       all .lx-featured-trending-articles-article children. These overrides fix
       the image height for the placeholder wrap and live Nativo slot, which have
       their own height declarations that would otherwise stay at 312px.       */
    .lx-featured-trending-articles-section .lx-featured-trending-articles-article.lx-fta-partner-card:nth-child(1)
      .lx-fta-partner-image-wrap,
    .lx-featured-trending-articles-section .lx-featured-trending-articles-article.lx-fta-partner-card:nth-child(2)
      .lx-fta-partner-image-wrap {
        height: 413px;
    }

    .lx-featured-trending-articles-section .lx-featured-trending-articles-article.lx-fta-partner-card:nth-child(1)
      .lx-fta-nativo-slot .ntv-img,
    .lx-featured-trending-articles-section .lx-featured-trending-articles-article.lx-fta-partner-card:nth-child(2)
      .lx-fta-nativo-slot .ntv-img {
        height: 413px !important;
        min-height: 413px;
    }

    /* ── Modifier: uniform 3-col first row ────────────────────────────────── */
    .lx-featured-trending-articles-section.lx-trending-3-col-first-row
      .lx-featured-trending-articles-article:nth-child(1),
    .lx-featured-trending-articles-section.lx-trending-3-col-first-row
      .lx-featured-trending-articles-article:nth-child(2) {
        width: calc(33.333% - 16px);
    }

    .lx-featured-trending-articles-section.lx-trending-3-col-first-row
      .lx-featured-trending-articles-article:nth-child(1)
      .lx-featured-trending-articles-article-image,
    .lx-featured-trending-articles-section.lx-trending-3-col-first-row
      .lx-featured-trending-articles-article:nth-child(2)
      .lx-featured-trending-articles-article-image {
        min-height: 312px;
        max-height: 312px;
    }

    /* ── Uniform 3-col: reset partner card image heights at positions 1 & 2 ──
       Our partner-at-position-2 overrides above set 413px to match the large
       first row. When uniform 3-col is active, all cards must be 312px, so
       these rules override the partner overrides for both the placeholder wrap
       and the live Nativo slot.                                               */
    .lx-featured-trending-articles-section.lx-trending-3-col-first-row
      .lx-featured-trending-articles-article.lx-fta-partner-card:nth-child(1)
      .lx-fta-partner-image-wrap,
    .lx-featured-trending-articles-section.lx-trending-3-col-first-row
      .lx-featured-trending-articles-article.lx-fta-partner-card:nth-child(2)
      .lx-fta-partner-image-wrap {
        height: 312px;
    }

    .lx-featured-trending-articles-section.lx-trending-3-col-first-row
      .lx-featured-trending-articles-article.lx-fta-partner-card:nth-child(1)
      .lx-fta-nativo-slot .ntv-img,
    .lx-featured-trending-articles-section.lx-trending-3-col-first-row
      .lx-featured-trending-articles-article.lx-fta-partner-card:nth-child(2)
      .lx-fta-nativo-slot .ntv-img {
        height: 312px !important;
        min-height: 312px;
    }
}

/* ── Partner Content card ─────────────────────────────────────────────────── */

.lx-featured-trending-articles-section .lx-fta-partner-card {
    display: flex;
    flex-direction: column;
}

/* ── Nativo slot container ────────────────────────────────────────────────── */
.lx-featured-trending-articles-section .lx-fta-nativo-slot {
    display: block;
    width: 100%;
}

/* ── Nativo injected anchor wrapper ────────────────────────────────────────── */
.lx-featured-trending-articles-section .lx-fta-nativo-slot a,
.lx-featured-trending-articles-section .lx-fta-nativo-slot .ntv-headline-anchor {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* ── Nativo injected image container (.ntv-img) ──────────────────────────── */
.lx-featured-trending-articles-section .lx-fta-nativo-slot .ntv-img {
    position: relative;
    width: 100%;
    height: 400px !important;
    min-height: 400px;
    overflow: hidden;
    background-color: #e5e5e5;
    margin-bottom: 0 !important;
    display: block;
}

.lx-featured-trending-articles-section .lx-fta-nativo-slot .ntv-img-size {
    position: absolute !important;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
}

/* Nativo image itself */
.lx-featured-trending-articles-section .lx-fta-nativo-slot img,
.lx-featured-trending-articles-section .lx-fta-nativo-slot .c-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: 50% 50%;
    display: block;
    transition: transform 0.5s ease;
}

.lx-featured-trending-articles-section .lx-fta-nativo-slot a:hover img,
.lx-featured-trending-articles-section .lx-fta-nativo-slot a:hover .c-image {
    transform: scale(1.05);
}

/* ── Nativo disc wrap — "Partner Content" disclosure label row ─────────────── */
.lx-featured-trending-articles-section .lx-fta-nativo-slot .ntv-disc-wrap {
    display: flex !important;
    align-items: center;
    margin: 24px 0 16px 0 !important;
    padding: 0 !important;
}

/* Nativo "Partner Content" pill inside disc wrap */
.lx-featured-trending-articles-section .lx-fta-nativo-slot .c-link {
    font-family: "Instrument Sans", sans-serif !important;
    font-size: 12px !important;
    font-weight: normal !important;
    letter-spacing: 1.8px !important;
    line-height: 16px !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    color: #000 !important;
    border: 1px solid rgba(0, 0, 0, 0.5) !important;
    padding: 3px 8px 2px !important;
    border-radius: 0 !important;
    background: transparent !important;
    display: inline-block !important;
    position: static !important;
    top: auto !important;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.lx-featured-trending-articles-section .lx-fta-nativo-slot .c-link:hover {
    background-color: #000 !important;
    border-color: #000 !important;
    color: #fff !important;
}

/* ── Nativo injected headline ────────────────────────────────────────────── */
.lx-featured-trending-articles-section .lx-fta-nativo-slot h2,
.lx-featured-trending-articles-section .lx-fta-nativo-slot h3,
.lx-featured-trending-articles-section .lx-fta-nativo-slot .ntv-headline {
    font-family: "Libre Caslon Display", serif !important;
    font-size: 32px !important;
    line-height: 40px !important;
    font-weight: 400 !important;
    letter-spacing: initial !important;
    color: #000 !important;
    margin: 0 !important;
    padding: 0 !important;
    text-decoration: none !important;
}

/* ── "Partner Content" label (used in placeholder) ──────────────────────── */
.lx-featured-trending-articles-section .lx-fta-partner-label {
    font-family: "Instrument Sans", sans-serif;
    font-size: 12px;
    font-weight: normal;
    letter-spacing: 1.8px;
    line-height: 16px;
    text-transform: uppercase;
    text-decoration: none !important;
    color: #000;
    display: inline-block;
    border: 1px solid rgba(0, 0, 0, 0.5);
    padding: 3px 8px 2px;
    margin-top: -7px;
    cursor: default;
    pointer-events: none;
}

/* ── Placeholder card (shown when no Placement ID is configured) ─────────── */

/* Mobile: match the standard article image height */
.lx-featured-trending-articles-section .lx-fta-partner-image-wrap {
    position: relative;
    overflow: hidden;
    height: 400px;
    background-color: #e5e5e5;
}

.lx-featured-trending-articles-section .lx-fta-partner-img-fill {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e5e5e5;
}

.lx-featured-trending-articles-section .lx-fta-partner-img-label {
    font-family: "Instrument Sans", sans-serif;
    font-size: 12px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #999;
}

/* ── Desktop overrides for partner content ───────────────────────────────── */
@media (min-width: 1280px) {
    /* Nativo injected image — matches the 3-col grid card height (position 3+) */
    .lx-featured-trending-articles-section .lx-fta-nativo-slot .ntv-img {
        height: 312px !important;
        min-height: 312px;
    }

    /* Placeholder — partner card is always forced to 3-col width, so 312px
       matches the standard article image height regardless of DOM position.   */
    .lx-featured-trending-articles-section .lx-fta-partner-image-wrap {
        height: 312px;
    }
}

/* ── Gutenberg editor preview ─────────────────────────────────────────────── */
.block-editor-block-list__block .lx-featured-trending-articles-section {
    pointer-events: none;
}

/* Editor: placeholder image height defaults.
   Position 2 (nth-child(2)) gets 413px to match the large first-row articles.
   All other positions get 312px to match the standard 3-col articles. */
.block-editor-block-list__block .lx-fta-partner-image-wrap {
    height: 400px; /* mobile fallback */
}

@media (min-width: 1280px) {
    .block-editor-block-list__block .lx-fta-partner-image-wrap {
        height: 312px;
    }

    .block-editor-block-list__block
      .lx-featured-trending-articles-article.lx-fta-partner-card:nth-child(1)
      .lx-fta-partner-image-wrap,
    .block-editor-block-list__block
      .lx-featured-trending-articles-article.lx-fta-partner-card:nth-child(2)
      .lx-fta-partner-image-wrap {
        height: 413px;
    }

    /* Uniform 3-col active in editor: reset partner back to 312px */
    .block-editor-block-list__block .lx-trending-3-col-first-row
      .lx-featured-trending-articles-article.lx-fta-partner-card:nth-child(1)
      .lx-fta-partner-image-wrap,
    .block-editor-block-list__block .lx-trending-3-col-first-row
      .lx-featured-trending-articles-article.lx-fta-partner-card:nth-child(2)
      .lx-fta-partner-image-wrap {
        height: 312px;
    }
}

.block-editor-block-list__block .lx-fta-partner-img-fill {
    position: absolute;
    inset: 0;
    height: 100%;
    width: 100%;
}
/* ══════════════════════════════════════════════════════════════════════════
   Defensive overrides — block placed inside Gutenberg columns / entry content
   ──────────────────────────────────────────────────────────────────────────
   When this block sits inside .wp-block-column / .wp-block-columns /
   .entry-content, theme rules such as `.entry-content a { text-decoration:
   underline }` and global heading styles outrank the block's 2-class
   selectors and re-style the section title, article titles, and category
   links (underlines, wrong fonts/sizes). The section:is() wrapper below
   raises every rule to 3-class specificity so the block wins regardless of
   the container, without resorting to !important.
   ══════════════════════════════════════════════════════════════════════════ */

/* Section + article titles: enforce block typography, kill underlines.
   NOTE: no font-size/line-height here — sizing is handled by the original
   rules and their responsive media queries; overriding it at 3-class
   specificity would defeat the desktop 48px/56px bump. */
.lx-featured-trending-articles-section.lx-featured-trending-articles-section .lx-featured-trending-articles-title {
    font-family: "Libre Caslon Display", serif;
    font-weight: 400;
    letter-spacing: normal;
    text-transform: none;
    margin: 0;
    padding: 0;
    color: #000;
}

.lx-featured-trending-articles-section.lx-featured-trending-articles-section .lx-featured-trending-articles-article-title {
    font-family: "Libre Caslon Display", serif;
    font-weight: 400;
    letter-spacing: normal;
    text-transform: none;
    margin: 0;
    padding: 0;
    color: #000;
}

/* All anchors inside the block: no underline, inherit block typography.
   Covers title links, article title links, category links, SEE ALL, etc. */
.lx-featured-trending-articles-section.lx-featured-trending-articles-section .lx-featured-trending-articles-title a,
.lx-featured-trending-articles-section.lx-featured-trending-articles-section .lx-featured-trending-articles-article-title a,
.lx-featured-trending-articles-section.lx-featured-trending-articles-section .lx-featured-trending-articles-title a:visited,
.lx-featured-trending-articles-section.lx-featured-trending-articles-section .lx-featured-trending-articles-article-title a:visited {
    text-decoration: none;
    border-bottom: none;
    box-shadow: none; /* some themes underline links via box-shadow */
    background-image: none; /* or via gradient underlines */
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
}

.lx-featured-trending-articles-section.lx-featured-trending-articles-section .lx-featured-trending-articles-title a:hover,
.lx-featured-trending-articles-section.lx-featured-trending-articles-section .lx-featured-trending-articles-article-title a:hover {
    text-decoration: none;
    border-bottom: none;
    box-shadow: none;
    opacity: 0.7;
    color: inherit;
}

/* Category link: enforce its original styling (intentionally underlined,
   sans-serif) at 3-class specificity so theme link rules can't restyle it. */
.lx-featured-trending-articles-section.lx-featured-trending-articles-section .lx-featured-trending-articles-article-category,
.lx-featured-trending-articles-section.lx-featured-trending-articles-section .lx-featured-trending-articles-article-category:visited {
    font-family: "Instrument Sans", sans-serif;
    font-size: 12px;
    font-weight: normal;
    letter-spacing: 1.8px;
    line-height: 16px;
    text-transform: uppercase;
    display: inline-block;
    text-decoration: underline;
    color: #000;
    transition: opacity 0.2s ease;
    border-bottom: none;
    box-shadow: none;
    background-image: none;
}

.lx-featured-trending-articles-section.lx-featured-trending-articles-section .lx-featured-trending-articles-article-category:hover {
    opacity: 0.6;
    text-decoration: underline;
    color: #000;
    border-bottom: none;
    box-shadow: none;
}

/* Neutralise column-context width/margin constraints some themes apply to
   direct children of .wp-block-column (e.g. max-width on figures/sections). */
.wp-block-column .lx-featured-trending-articles-section,
.wp-block-columns .lx-featured-trending-articles-section,
.entry-content .lx-featured-trending-articles-section {
    max-width: none;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

/* Guard the grid itself against theme list/flow spacing inside columns */
.wp-block-column .lx-featured-trending-articles-section .lx-featured-trending-articles-grid > * ,
.entry-content .lx-featured-trending-articles-section .lx-featured-trending-articles-grid > * {
    margin-top: 0;
    margin-bottom: 0;
}