@charset "utf-8";
/* CSS Document */

/*
Theme Name: PatsFans 2026
Theme URI: https://www.patsfans.com
Author: PatsFans.com
Author URI: https://www.patsfans.com
Description: PatsFans 2026 — Editorial redesign for Google News/Discover optimization. Navy, gold, and red Patriots palette with Playfair Display headlines and Source Serif 4 body type.
Version: 2026.1.0
License: Private
License URI: https://www.patsfans.com
Text Domain: patsfans-2026
Tags: news, sports, editorial, patriots
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
    --pf-navy:          #002244;
    --pf-navy-mid:      #0a2f5c;
    --pf-gold:          #c8a84b;
    --pf-gold-dark:     #a8883b;
    --pf-gold-pale:     #faf6ec;
    --pf-gold-border:   #e5d48a;
    --pf-red:           #c60c30;
    --pf-red-dark:      #9e0a26;
    --pf-red-pale:      #fdf0f2;
    --pf-silver:        #b0b7bc;
    --pf-silver-light:  #f4f5f6;
    --pf-silver-border: #dde0e3;

    --pf-font-display:  'Playfair Display', Georgia, serif;
    --pf-font-serif:    'Source Serif 4', Georgia, serif;
    --pf-font-sans:     'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    --pf-radius-sm:     4px;
    --pf-radius-md:     8px;
    --pf-radius-lg:     12px;
}

/* ============================================================
   BASE RESET & TYPOGRAPHY
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: var(--pf-font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: #212121;
    background: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Override Bootstrap p tag */
p {
    font-family: var(--pf-font-sans);
    font-size: 16px;
    line-height: 28px;
}

/* ============================================================
   UTILITY
   ============================================================ */
.pf-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}


/* ============================================================
   PORTED FROM main.css — classes used by headlines() / archive
   output that are not in Bootstrap or pfcss.css.
   main.css is not loaded by this theme; these rules replace it.
   ============================================================ */

/* Fixed-width flex column — used by thumbnail and date columns
   in the headlines() card grid */
.col-pixel-width-90 {
    flex: 0 0 90px !important;
    max-width: 90px !important;
    width: 90px !important;
}

/* Thumbnail image sizing */
.thumb_right {
    width: 90px;
    height: auto;
    border-radius: 5px;
}

/* Thumbnail cell column */
.thumb_right_cell {
    width: 100px;
    padding: 5px;
    padding-top: 4px;
}

/* Custom padding class used by date column */
.padding-1 {
    padding: 4px;
}

/* Headlines date column — pin to top-right of card */
#pfarticle .container.mb-2 .col-pixel-width-90.thumb_right_cell.padding-1,
#pfarticle .container.mb-2 .col.col-pixel-width-90 {
    align-self: flex-start;
    text-align: right;
    padding-top: 6px !important;
}

/* ============================================================
   BREADCRUMBS  (section-breadcrumbs.php)
   ============================================================ */
.pf-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 0 12px;
    font-family: var(--pf-font-sans);
    font-size: 12px;
    color: #666;
    flex-wrap: wrap;
}

.pf-breadcrumb a {
    color: var(--pf-navy);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s;
}

.pf-breadcrumb a:hover {
    color: var(--pf-red);
}

.pf-breadcrumb-sep {
    opacity: 0.35;
    font-size: 10px;
}

/* ============================================================
   ARTICLE HEADER  (single.php)
   ============================================================ */
.pf-cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--pf-red);
    color: #fff;
    font-family: var(--pf-font-sans);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: var(--pf-radius-sm);
    margin-bottom: 14px;
    text-decoration: none;
}

.pf-cat-pill:hover {
    background: var(--pf-red-dark);
    color: #fff;
    text-decoration: none;
}

.pf-live-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255,255,255,0.85);
    animation: pf-blink 2s infinite;
    flex-shrink: 0;
}

@keyframes pf-blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.3; }
}

/* Article H1 */
.pf-article-headline {
    font-family: var(--pf-font-display);
    font-size: clamp(24px, 4vw, 34px);
    font-weight: 900;
    line-height: 1.18;
    letter-spacing: -0.4px;
    color: #212121;
    margin: 0 0 10px;
}

/* Article H2 subhead / tagline */
.pf-article-tagline {
    font-family: var(--pf-font-serif);
    font-size: 17px;
    font-weight: 400;
    font-style: italic;
    line-height: 1.55;
    color: #333;
    margin: 0 0 18px;
    border-left: 3px solid var(--pf-gold);
    padding-left: 14px;
}

/* ============================================================
   BYLINE  (section-author_twitter.php)
   ============================================================ */
.pf-byline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-top: 0.5px solid var(--pf-silver-border);
    border-bottom: 0.5px solid var(--pf-silver-border);
    margin-bottom: 0;
    flex-wrap: wrap;
    gap: 10px;
    font-family: var(--pf-font-sans);
}

.pf-byline-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pf-byline-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--pf-red);
    flex-shrink: 0;
    background: var(--pf-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--pf-gold);
}

.pf-byline-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pf-byline-name {
    font-size: 13px;
    font-weight: 600;
    color: #212121;
    display: block;
}

.pf-byline-role {
    font-size: 11px;
    color: #666;
    display: block;
    margin-top: 1px;
}

.pf-byline-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.pf-byline-meta-item {
    font-size: 11px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 4px;
}

.pf-byline-meta-sep {
    color: var(--pf-silver-border);
    font-size: 10px;
}

/* ============================================================
   FOLLOW BAR  (section-followbar.php)
   ============================================================ */
.pf-follow-bar {
    background: var(--pf-gold-pale);
    border: 0.5px solid var(--pf-gold-border);
    border-left: 3px solid var(--pf-red);
    border-radius: 0 var(--pf-radius-md) var(--pf-radius-md) 0;
    padding: 12px 18px;
    margin: 14px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    font-family: var(--pf-font-sans);
}

.pf-follow-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--pf-navy);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.pf-follow-btns {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    align-items: center;
}

.pf-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: var(--pf-radius-sm);
    padding: 6px 13px;
    font-family: var(--pf-font-sans);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.15s;
    line-height: 1;
}

.pf-btn-gnews {
    background: #fff;
    border: 1px solid var(--pf-silver-border);
    color: #1a73e8;
}

.pf-btn-gnews:hover {
    border-color: #1a73e8;
    color: #1a73e8;
    text-decoration: none;
}

.pf-btn-apple {
    background: #1c1c1e;
    border: 1px solid #1c1c1e;
    color: #fff;
}

.pf-btn-apple:hover {
    opacity: 0.85;
    color: #fff;
    text-decoration: none;
}

.pf-btn-newsletter {
    background: var(--pf-navy);
    border: 1px solid var(--pf-navy);
    color: var(--pf-gold);
}

.pf-btn-newsletter:hover {
    opacity: 0.88;
    color: var(--pf-gold);
    text-decoration: none;
}

/* Sidebar follow widget variant */
.pf-follow-sidebar {
    padding: 14px;
}

.pf-follow-sidebar .pf-btn {
    width: 100%;
    justify-content: center;
    margin-bottom: 6px;
}

.pf-follow-sidebar .pf-btn:last-child {
    margin-bottom: 0;
}

/* ============================================================
   HERO IMAGE  (section-mainimage.php)
   ============================================================ */
.pf-hero-wrap {
    border-radius: var(--pf-radius-md);
    overflow: hidden;
    background: #0d1824;
    margin-bottom: 0;
}

.pf-hero-wrap img {
    display: block;
    width: 100%;
    height: auto;
}

.pf-hero-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 0 14px;
    flex-wrap: wrap;
    gap: 8px;
    font-family: var(--pf-font-sans);
}

.pf-hero-caption {
    font-size: 11px;
    color: #888;
}

.pf-hero-caption strong {
    color: #444;
}

.pf-hero-pills {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pf-hero-readtime {
    font-size: 11px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 4px;
}

.pf-hero-cat-badge {
    font-size: 10px;
    font-weight: 700;
    background: var(--pf-navy);
    color: #fff;
    padding: 2px 9px;
    border-radius: var(--pf-radius-sm);
    text-decoration: none;
    font-family: var(--pf-font-sans);
}

.pf-hero-cat-badge:hover {
    background: var(--pf-red);
    color: #fff;
    text-decoration: none;
}

/* ============================================================
   ARTICLE BODY  (section-blogcontent.php)
   ============================================================ */

/* The wrapper div is intentionally NOT given a font-family so that spans,
   strongs and divs nested inside (e.g. the "More Headlines" card block)
   inherit DM Sans from body.  Only <p> elements get the serif treatment. */
#pfarticle {
    font-size: 17px;
    line-height: 1.78;
    color: #222;
}

#pfarticle p {
    font-family: var(--pf-font-serif);
    font-size: 17px;
    font-weight: 300;
    line-height: 1.78;
    color: #333;
    margin-bottom: 1.1em;
}

/* Drop cap on first paragraph */
#pfarticle > p:first-of-type::first-letter,
#pfarticle .pf-dropcap::first-letter {
    font-family: var(--pf-font-display);
    font-size: 58px;
    font-weight: 900;
    float: left;
    line-height: 0.85;
    padding-right: 8px;
    padding-top: 6px;
    color: var(--pf-gold);
}

/* ── Article heading scale ─────────────────────────────────────
   h2 / h3 : Playfair Display — major & minor section breaks
              Gold accent bar signals editorial authority
   h4       : DM Sans — callout subhead, red left border
   h5       : DM Sans — inline label, navy, slightly smaller
   h6       : DM Sans — micro-label, uppercase, muted
   ─────────────────────────────────────────────────────────── */

#pfarticle h2 {
    font-family: var(--pf-font-display);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
    margin: 1.6em 0 0.6em;
    color: #212121;
    padding-bottom: 8px;
    border-bottom: 1.5px solid var(--pf-silver-border);
    position: relative;
}

#pfarticle h2::after {
    content: '';
    position: absolute;
    bottom: -1.5px;
    left: 0;
    width: 36px;
    height: 1.5px;
    background: var(--pf-gold);
}

#pfarticle h3 {
    font-family: var(--pf-font-display);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    margin: 1.4em 0 0.5em;
    color: #212121;
    padding-bottom: 7px;
    border-bottom: 1px solid var(--pf-silver-border);
    position: relative;
}

#pfarticle h3::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 28px;
    height: 1px;
    background: var(--pf-gold);
}

#pfarticle h4 {
    font-family: var(--pf-font-sans);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    margin: 1.3em 0 0.4em;
    color: #212121;
    padding-left: 12px;
    border-left: 3px solid var(--pf-red);
}

#pfarticle h5 {
    font-family: var(--pf-font-sans);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    margin: 1.2em 0 0.35em;
    color: var(--pf-navy);
}

#pfarticle h6 {
    font-family: var(--pf-font-sans);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    margin: 1.1em 0 0.3em;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

#pfarticle strong {
    font-weight: 600;
}

#pfarticle a {
    color: var(--pf-navy);
}

#pfarticle a:hover {
    color: var(--pf-red);
}

#pfarticle a.post-content-link {
    text-decoration: underline;
    text-decoration-color: var(--pf-gold);
    text-underline-offset: 2px;
}

/* Blockquote / pullquote */
/* Blockquote — original PatsFans dark card style preserved.
   !important needed to beat pf_bg_sb.css which loads inline
   inside the article body after style.css. */
#pfarticle blockquote,
#pfarticle .wp-block-quote {
    position: relative;
    margin: 2.25rem 0 !important;
    padding: 1.6rem 1.75rem 1.6rem 2.25rem !important;
    border-left: 5px solid #D7192D !important;
    border-top: 1px solid #2e3d50 !important;
    border-right: 1px solid #2e3d50 !important;
    border-bottom: 1px solid #2e3d50 !important;
    background: #111c27 !important;
    border-radius: 0 8px 8px 0 !important;
    overflow: hidden;
    font-style: normal;
}

#pfarticle blockquote::before,
#pfarticle .wp-block-quote::before {
    content: '\201C';
    position: absolute;
    top: -10px;
    left: 16px;
    font-size: 110px;
    line-height: 1;
    color: #e8464e;
    opacity: 0.7;
    font-family: Georgia, serif;
    pointer-events: none;
}

#pfarticle blockquote p,
#pfarticle .wp-block-quote p {
    margin: 0 0 0.4rem;
    font-family: var(--pf-font-serif);
    font-size: 21px !important;
    line-height: 1.6 !important;
    font-style: italic;
    font-weight: 400;
    color: #eef0f3;
    letter-spacing: 0.01em;
}

#pfarticle blockquote cite,
#pfarticle .wp-block-quote cite {
    display: block;
    font-size: 11px;
    font-style: normal;
    font-family: var(--pf-font-sans);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #e8464e;
    margin-top: 1rem;
    padding-top: 0.7rem;
    border-top: 1px solid rgba(255,255,255,0.08);
}

#pfarticle blockquote cite::before,
#pfarticle .wp-block-quote cite::before {
    content: '— ';
}

/* Lists */
#pfarticle :is(ol, ul) {
    margin-left: 15px !important;
    padding-left: 5px !important;
    list-style-position: inside;
}

#pfarticle :is(ol, ul) > li {
    display: list-item !important;
    margin-bottom: 15px !important;
    font-size: 17px;
    font-family: var(--pf-font-serif);
    font-weight: 300;
    line-height: 1.65;
}

#pfarticle :is(ol, ul) > li:last-child {
    margin-bottom: 0 !important;
}

#pfarticle ol {
    list-style: none;
    counter-reset: item;
}

#pfarticle ol > li {
    counter-increment: item;
    position: relative;
    padding-left: 1.6em;
}


#pfarticle ol > li::before {
    content: counter(item) ") ";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--pf-red);
    font-weight: 700;
    font-family: var(--pf-font-sans);
    font-size: 14px;
}

/* ============================================================
   KEY POINTS BOX  (functions.php → pf_render_key_points)
   ============================================================ */
.pf-key-points {
    border: 0.5px solid var(--pf-silver-border);
    border-top: 3px solid var(--pf-navy);
    border-radius: 0 0 var(--pf-radius-lg) var(--pf-radius-lg);
    overflow: hidden;
    margin: 0 0 24px;
    font-family: var(--pf-font-sans);
}

.pf-kp-header {
    background: var(--pf-navy);
    padding: 10px 18px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 9px;
    font-family: var(--pf-font-sans);
    font-size: 11px;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.pf-kp-icon {
    font-size: 14px;
    color: var(--pf-gold);
}

.pf-kp-title {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.pf-kp-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pf-kp-list li {
    padding: 10px 18px;
    border-bottom: 0.5px solid var(--pf-silver-border);
    font-size: 13px;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-family: var(--pf-font-sans);
    font-weight: 400;
    margin-bottom: 0 !important;
}

.pf-kp-list li:last-child {
    border-bottom: none;
}

.pf-kp-list li::before {
    content: '✓';
    color: var(--pf-gold);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
    font-size: 12px;
}

/* ============================================================
   FAQ BOX  (section-blogcontent.php)
   ============================================================ */
.pfeai-summary-box {
    background-color: #fff !important;
    border-left: none !important;
    border: 0.5px solid var(--pf-silver-border) !important;
    border-top: 3px solid var(--pf-navy) !important;
    border-radius: 0 0 var(--pf-radius-lg) var(--pf-radius-lg) !important;
    padding: 0 !important;
    margin: 24px 0 !important;
    overflow: hidden;
    font-family: var(--pf-font-sans);
}

.pfeai-summary-box h3 {
    background: var(--pf-navy) !important;
    color: rgba(255,255,255,0.9) !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 10px 18px !important;
    margin: 0 0 0 0 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    font-family: var(--pf-font-sans) !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pfeai-summary-box h4 {
    font-family: var(--pf-font-sans) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #212121 !important;
    padding: 12px 18px 3px !important;
    margin: 0 !important;
    display: flex;
    align-items: flex-start;
    gap: 7px;
}

.pfeai-summary-box h4::before {
    content: 'Q';
    background: var(--pf-red);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 2px;
    flex-shrink: 0;
    margin-top: 2px;
    letter-spacing: 0.3px;
    line-height: 1.4;
}

.pfeai-summary-box p {
    font-family: var(--pf-font-sans) !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.55 !important;
    color: #555 !important;
    padding: 0 18px 12px 18px !important;
    margin: 0 !important;
    border-bottom: 0.5px solid var(--pf-silver-border) !important;
}

.pfeai-summary-box p:last-child {
    border-bottom: none !important;
}

/* ============================================================
   READ NEXT  (section-blogcontent.php)
   ============================================================ */
.pf-read-next {
    background: var(--pf-silver-light);
    border: 0.5px solid var(--pf-silver-border);
    border-radius: var(--pf-radius-sm);
    padding: 12px 16px;
    margin: 18px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: border-color 0.15s;
    font-family: var(--pf-font-sans);
}

.pf-read-next:hover {
    border-color: var(--pf-navy);
    text-decoration: none;
}

.pf-read-next-label {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #fff;
    background: var(--pf-red);
    padding: 3px 8px;
    border-radius: 2px;
    white-space: nowrap;
    flex-shrink: 0;
}

.pf-read-next-title {
    font-size: 13px;
    font-weight: 500;
    color: #212121;
    line-height: 1.4;
}

/* Override old read-next styles */
.mb-3[style*="border:solid 1px #DEDEDE"] {
    background: var(--pf-silver-light) !important;
    border: 0.5px solid var(--pf-silver-border) !important;
    border-radius: var(--pf-radius-sm) !important;
    padding: 12px 16px !important;
    margin: 18px 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

/* ============================================================
   AUTHOR BIO  — clean new markup from wpb_author_info_box()
   Structure: .pf-author-bio > .pf-bio-header + .pf-bio-body + .pf-bio-link
   Avatar floats left inside .pf-bio-body; text wraps around it.
   ============================================================ */
.pf-author-bio {
    background: var(--pf-silver-light);
    border: 0.5px solid var(--pf-silver-border);
    border-top: 3px solid var(--pf-navy);
    border-radius: 0 0 var(--pf-radius-lg) var(--pf-radius-lg);
    padding: 18px;
    margin: 22px 0;
    font-family: var(--pf-font-sans);
    font-size: 14px;
    overflow: hidden; /* clearfix for floated avatar */
}

.pf-bio-header {
    font-size: 14px;
    font-weight: 700;
    color: #212121;
    margin-bottom: 12px;
}

/* Avatar — floated left so bio text wraps around it */
img.pf-bio-avatar {
    float: left;
    width: 80px !important;
    height: 80px !important;
    border-radius: 50% !important;
    object-fit: cover;
    margin: 0 16px 10px 0;
    border: 2px solid var(--pf-red) !important;
    display: block;
}

.pf-bio-body {
    overflow: hidden; /* inner clearfix */
}

.pf-bio-body p {
    font-family: var(--pf-font-sans) !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.65 !important;
    color: #444;
    margin: 0 !important;
}

/* "View all posts" — clears the float and centers */
.pf-bio-link {
    clear: both;
    text-align: center;
    padding-top: 14px;
    font-weight: 700;
}

.pf-bio-link a,
.pf-bio-link a:link,
.pf-bio-link a:visited {
    color: var(--pf-navy);
    font-weight: 700;
    text-decoration: none;
}

.pf-bio-link a:hover { color: var(--pf-red); }

/* ============================================================
   TAGS  (section-blogcontent.php)
   ============================================================ */
.badge.badge-warning {
    background: var(--pf-silver-light) !important;
    color: #555 !important;
    border: 0.5px solid var(--pf-silver-border);
    border-radius: var(--pf-radius-sm);
    font-size: 11px;
    font-weight: 500;
    padding: 4px 10px !important;
    margin: 3px !important;
    font-family: var(--pf-font-sans);
    transition: all 0.15s;
}

.badge.badge-warning:hover {
    background: var(--pf-navy) !important;
    color: var(--pf-gold) !important;
    border-color: var(--pf-navy);
}

/* ============================================================
   RELATED / MORE HEADLINES  (section-blogcontent.php)
   ============================================================ */
.latest_header {
    font-family: var(--pf-font-display);
    font-size: 18px;

    font-weight: 700;
    color: #212121;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.latest_header::after {
    content: '';
    flex: 1;
    border-top: 0.5px solid var(--pf-silver-border);
}

/* Headline list cards (app-headlines.php output) */
.pf-headline-card {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 0.5px solid var(--pf-silver-border);
    text-decoration: none;
}

.pf-headline-card:last-child {
    border-bottom: none;
}

.pf-headline-card:hover .pf-headline-card-title {
    color: var(--pf-red);
}

.pf-headline-card-thumb {
    width: 90px;
    height: 60px;
    border-radius: var(--pf-radius-sm);
    object-fit: cover;
    flex-shrink: 0;
}

.pf-headline-card-content {
    flex: 1;
    min-width: 0;
}

.pf-headline-card-cat {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--pf-red);
    margin-bottom: 3px;
    font-family: var(--pf-font-sans);
}

.pf-headline-card-title {
    font-family: var(--pf-font-sans);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    color: #212121;
    margin-bottom: 4px;
    transition: color 0.15s;
}

.pf-headline-card-meta {
    font-size: 10px;
    color: #888;
    font-family: var(--pf-font-sans);
}

/* Existing app-headlines.php styling overrides */
.col.col-pixel-width-90 img.thumb_right {
    border-radius: var(--pf-radius-sm) !important;
}

/* ============================================================
   SIDEBAR BLOCKS  (single.php)
   ============================================================ */
.pf-sidebar-block {
    border: 0.5px solid var(--pf-silver-border);
    border-radius: var(--pf-radius-md);
    overflow: hidden;
    margin-bottom: 18px;
    font-family: var(--pf-font-sans);
}

.pf-sidebar-hd {
    background: var(--pf-navy);
    padding: 9px 14px;
    font-size: 10px;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.pf-sidebar-hd-icon {
    color: var(--pf-gold);
    font-size: 14px;
}

/* Popular articles numbered list */
.pf-popular-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    border-bottom: 0.5px solid var(--pf-silver-border);
    font-family: var(--pf-font-sans);
}

.pf-popular-item:last-child {
    border-bottom: none;
}

.pf-popular-num {
    font-family: var(--pf-font-display);
    font-size: 22px;
    font-weight: 900;
    color: var(--pf-gold);
    opacity: 0.5;
    min-width: 24px;
    line-height: 1;
    flex-shrink: 0;
}

.pf-popular-title {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
    color: #212121;
}

.pf-popular-title a {
    color: #212121;
    text-decoration: none;
}

.pf-popular-title a:hover {
    color: var(--pf-red);
}

/* PatsFans History sidebar */
.patriots-history {
    font-family: var(--pf-font-sans);
    border: 0.5px solid var(--pf-silver-border);
    border-top: 3px solid var(--pf-navy);
    border-radius: 0 0 var(--pf-radius-md) var(--pf-radius-md);
    padding: 14px;
    margin-bottom: 18px;
}

.patriots-history h2 {
    font-family: var(--pf-font-sans);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--pf-navy);
    margin-bottom: 4px;
}

.patriots-history .date-range {
    font-size: 11px;
    color: #888;
    margin-bottom: 12px;
}

.patriots-history ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.patriots-history ul li {
    font-size: 12px;
    padding: 6px 0;
    border-bottom: 0.5px solid var(--pf-silver-border);
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    line-height: 1.35;
    margin-bottom: 0 !important;
}


.patriots-history ul li:last-child {
    border-bottom: none;
}

.patriots-history ul li a {
    color: var(--pf-navy);
    text-decoration: none;
    font-weight: 500;
    flex: 1;
    min-width: 0;
}

.patriots-history ul li a:hover {
    color: var(--pf-red);
}

.patriots-history ul li span {
    font-size: 10px;
    color: #999;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ============================================================
   ARCHIVE / CATEGORY PAGE  (archive.php + section-archive.php)
   ============================================================ */
.pf-archive-header {
    font-family: var(--pf-font-display);
    font-size: 26px;
    font-weight: 900;
    color: #212121;
    padding: 14px 0 8px;
    border-bottom: 3px solid var(--pf-navy);
    margin-bottom: 0;
    position: relative;
}

.pf-archive-header::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--pf-red);
}

.pf-archive-sub {
    font-family: var(--pf-font-sans);
    font-size: 11px;
    color: #888;
    padding: 6px 0 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.pf-archive-sub a {
    color: var(--pf-red);
    text-decoration: none;
    font-weight: 600;
}

.pf-archive-sub a:hover {
    text-decoration: underline;
}

/* Featured card (first post) */
.pf-arc-card-featured {
    border: 0.5px solid var(--pf-silver-border);
    border-radius: var(--pf-radius-lg);
    overflow: hidden;
    margin-bottom: 14px;
    text-decoration: none;
    display: block;
    transition: border-color 0.15s;
    font-family: var(--pf-font-sans);
}

.pf-arc-card-featured:hover {
    border-color: var(--pf-gold);
    text-decoration: none;
}

.pf-arc-feat-img-wrap {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.pf-arc-feat-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.pf-arc-feat-cat {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--pf-red);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 2px;
}

.pf-arc-feat-body {
    padding: 14px 16px;
}

.pf-arc-feat-title {
    font-family: var(--pf-font-display);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
    color: #212121;
    margin-bottom: 7px;
}

.pf-arc-feat-excerpt {
    font-family: var(--pf-font-sans);
    font-size: 13px;
    color: #666;
    line-height: 1.55;
    margin-bottom: 10px;
}

.pf-arc-feat-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: #888;
    flex-wrap: wrap;
    font-family: var(--pf-font-sans);
}

.pf-arc-feat-meta-sep {
    opacity: 0.35;
}

.pf-arc-feat-author {
    font-weight: 600;
    color: #444;
}

.pf-arc-time-badge {
    margin-left: auto;
    background: var(--pf-silver-light);
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 600;
    color: #666;
    white-space: nowrap;
}

/* List cards (subsequent posts) */
.pf-arc-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 14px 0;
    border-bottom: 0.5px solid var(--pf-silver-border);
    text-decoration: none;
    font-family: var(--pf-font-sans);
    transition: none;
}

.pf-arc-card:hover .pf-arc-card-title {
    color: var(--pf-red);
}

.pf-arc-card:hover {
    text-decoration: none;
}

.pf-arc-card-img-wrap {
    width: 110px;
    height: 74px;
    border-radius: var(--pf-radius-sm);
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    background: #1a1a2e;
}

.pf-arc-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pf-arc-card-img-cat {
    position: absolute;
    bottom: 4px;
    left: 4px;
    background: var(--pf-red);
    color: #fff;
    font-size: 7px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    padding: 2px 5px;
    border-radius: 2px;
}

.pf-arc-card-content {
    flex: 1;
    min-width: 0;
}

.pf-arc-card-title {
    font-family: var(--pf-font-display);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    color: #212121;
    margin-bottom: 5px;
    transition: color 0.15s;
    display: block;
}

.pf-arc-card-excerpt {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 7px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pf-arc-card-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    color: #888;
    flex-wrap: wrap;
}

.pf-arc-card-author {
    font-weight: 600;
    color: #555;
}

.pf-arc-card-sep {
    opacity: 0.35;
}

.pf-arc-time {
    background: var(--pf-silver-light);
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 9px;
    font-weight: 600;
    color: #666;
    margin-left: auto;
}

/* Archive pagination */
.pf-pagination {
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: center;
    padding: 20px 0 10px;
    font-family: var(--pf-font-sans);
}

.navigation.pagination ul,
.navigation ul {
    display: flex;
    gap: 5px;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
}

.navigation ul li a,
.navigation ul li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    border-radius: var(--pf-radius-sm);
    font-size: 12px;
    font-weight: 600;
    border: 0.5px solid var(--pf-silver-border);
    color: #555;
    text-decoration: none;
    transition: all 0.15s;
}

.navigation ul li.active a,
.navigation ul li span.current {
    background: var(--pf-navy);
    color: #fff;
    border-color: var(--pf-navy);
}

.navigation ul li a:hover {
    border-color: var(--pf-navy);
    color: var(--pf-navy);
}

/* ============================================================
   TIME AGO  (app-timeago.php)
   ============================================================ */
.time_ago {
    font-size: 10px;
    color: #888;
    font-family: var(--pf-font-sans);
}

/* ============================================================
   GLOBAL BADGES / MISC
   ============================================================ */
.badge {
    color: #fff !important;
}

/* Category badge (navy with white text) in byline area */
a.badge.text-color {
    font-family: var(--pf-font-sans);
    font-size: 10px !important;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 4px 10px !important;
    border-radius: var(--pf-radius-sm) !important;
}

/* ============================================================
   ARCHIVE DATE BLOCK RESPONSIVE
   ============================================================ */
@media (max-width: 850px) {
    .archive_date_block {
        display: none;
    }
}

/* ============================================================
   ARTICLE PAGE LAYOUT
   ============================================================ */
.pf-article-wrap {
    padding-top: 8px;
}

@media (max-width: 991px) {
    .pf-article-headline {
        font-size: 26px;
    }

    #pfarticle {
        font-size: 16px;
    }

    #pfarticle p {
        font-size: 16px;
    }

    .pf-follow-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .pf-arc-feat-img {
        height: 160px;
    }

    .pf-arc-card-img-wrap {
        width: 90px;
        height: 60px;
    }

    .pf-arc-card-title {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .pf-byline {
        flex-direction: column;
        align-items: flex-start;
    }

    .pf-follow-btns {
        flex-wrap: wrap;
    }

    .pf-arc-feat-img {
        height: 130px;
    }

    .pf-article-tagline {
        font-size: 15px;
    }
}

/* ============================================================
   PF KP STYLE (pf_kp_style.css overrides for new design)
   ============================================================ */
.pf_kp_container {
    border: 0.5px solid var(--pf-silver-border);
    border-top: 3px solid var(--pf-navy);
    border-radius: 0 0 var(--pf-radius-lg) var(--pf-radius-lg);
    overflow: hidden;
    margin: 0 0 24px;
    font-family: var(--pf-font-sans);
}

.pf_kp_header_bar {
    background: var(--pf-navy) !important;
    color: rgba(255,255,255,0.9) !important;
    padding: 10px 18px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    font-family: var(--pf-font-sans) !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pf_kp_item {
    padding: 9px 18px !important;
    border-bottom: 0.5px solid var(--pf-silver-border) !important;
    font-size: 13px !important;
    color: #444 !important;
    font-family: var(--pf-font-sans) !important;
}

/* ============================================================
   SIDEBAR — CONSISTENT ACROSS ALL TEMPLATES
   Covers: pf-sidebar-block, popular headlines (both my clean
   version and old pfcss markup), PatsFans History, follow block,
   MainFrontContainer feature block.
   ============================================================ */

/* ── Old pfcss trending block overrides ──
   These classes appear in any sidebar widget that uses the old
   popular_headlines() markup. Override everything to match the
   new pf-sidebar-hd navy treatment. */
.trending_news_block_header {
    background: var(--pf-navy) !important;
    padding: 9px 14px !important;
    border-bottom: none !important;
    border-radius: 0 !important;
}

.trending_news_block_header * { background: transparent !important; }

a.trending_title,
.trending_title,
a.trending_title:link,
a.trending_title:visited {
    font-family: var(--pf-font-sans) !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    color: rgba(255,255,255,0.85) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    text-decoration: none !important;
}

.news_trending_text {
    height: auto !important;
    border-bottom: none !important;
    padding: 0 !important;
}

/* ── Card image column in old popheadlines markup (.cols not .col-3) ── */
.cols {
    flex: 0 0 80px !important;
    max-width: 80px !important;
    width: 80px !important;
    padding: 4px 0 !important;
}

.cols img.thumb_right {
    width: 75px !important;
    height: 55px !important;
    object-fit: cover !important;
    border-radius: var(--pf-radius-sm) !important;
    display: block;
}

/* ── h3 inside old popheadlines cards (outside #pfarticle) ── */
.news_trending_text ~ .container h3,
.container.mb-2.bg-white .col h3 {
    font-family: var(--pf-font-sans) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    padding: 0 !important;
    margin: 0 0 3px !important;
    border: none !important;
}

.container.mb-2.bg-white .col h3::after { display: none !important; }

.container.mb-2.bg-white .col h3 a:link,
.container.mb-2.bg-white .col h3 a:visited { color: #212121 !important; }
.container.mb-2.bg-white .col h3 a:hover  { color: var(--pf-red) !important; }

/* By: Author and excerpt in old markup */
.container.mb-2.bg-white .col strong,
.container.mb-2.bg-white .col span.excerpt {
    font-family: var(--pf-font-sans) !important;
    font-size: 11px !important;
    color: #666 !important;
    line-height: 1.4 !important;
}

/* ── MainFrontContainer (sidebar feature block on article pages) ── */
#MainFrontContainer {
    border: 0.5px solid var(--pf-silver-border);
    border-radius: var(--pf-radius-md);
    overflow: hidden;
    margin-bottom: 18px;
    font-family: var(--pf-font-sans);
}

#MainImageFrontTop {
    background: var(--pf-navy);
    color: rgba(255,255,255,0.8);
    font-family: var(--pf-font-sans);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 9px 14px;
}

/* ── buttonnav (sidebar article link list below MainFrontContainer) ── */
#buttonnav {
    padding: 0;
    border-top: 0.5px solid var(--pf-silver-border);
}

#buttonnav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#buttonnav ul li {
    border-bottom: 0.5px solid var(--pf-silver-border);
    margin: 0;
}

#buttonnav ul li:last-child { border-bottom: none; }

#buttonnav ul li a {
    display: block;
    padding: 9px 12px;
    font-family: var(--pf-font-sans);
    font-size: 12px;
    font-weight: 600;
    color: #212121;
    text-decoration: none;
    line-height: 1.35;
    transition: background 0.1s;
}

#buttonnav ul li a:hover {
    background: var(--pf-silver-light);
    color: var(--pf-red);
}

/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {
    .pf-follow-bar,
    .pf-sidebar-block,
    #sidebar_site_block {
        display: none;
    }

    #pfarticle {
        font-size: 12pt;
        line-height: 1.6;
    }

    .pf-article-headline {
        font-size: 20pt;
    }
}

/* ============================================================
   LINK COLOR RESET
   pfcss.css sets  a:link { color: #960000 }  globally.
   style.css loads AFTER pfcss (dependency order in functions.php),
   so these rules win on equal specificity without !important.
   ============================================================ */
a:link,
a:visited {
    color: var(--pf-navy);
}
a:hover,
a:active {
    color: var(--pf-red);
    text-decoration: none;
}

/* Category pill — white on red, always */
a.pf-cat-pill,
a.pf-cat-pill:link,
a.pf-cat-pill:visited,
a.pf-cat-pill:hover {
    color: #fff !important;
    text-decoration: none;
}

/* Breadcrumbs */
.pf-breadcrumb a:link,
.pf-breadcrumb a:visited { color: var(--pf-navy); }
.pf-breadcrumb a:hover   { color: var(--pf-red); }

/* Byline author */
.pf-byline a:link,
.pf-byline a:visited { color: #212121; }
.pf-byline a:hover   { color: var(--pf-red); }

/* Article body */
#pfarticle a:link,
#pfarticle a:visited { color: var(--pf-navy); }
#pfarticle a:hover   { color: var(--pf-red); }

/* Tags */
a.badge.badge-warning,
a.badge.badge-warning:link,
a.badge.badge-warning:visited {
    color: #555 !important;
    text-decoration: none;
}
a.badge.badge-warning:hover {
    background: var(--pf-navy) !important;
    color: var(--pf-gold) !important;
    border-color: var(--pf-navy) !important;
}

/* Hero cat badge */
a.pf-hero-cat-badge:link,
a.pf-hero-cat-badge:visited { color: #fff; text-decoration: none; }

/* Read Next, Archive cards */
a.pf-read-next:link,
a.pf-read-next:visited,
a.pf-arc-card-featured:link,
a.pf-arc-card-featured:visited,
a.pf-arc-card:link,
a.pf-arc-card:visited { text-decoration: none; }

/* Sidebar */
.pf-popular-title a:link,
.pf-popular-title a:visited { color: #212121; }
.pf-popular-title a:hover   { color: var(--pf-red); }

.patriots-history ul li a:link,
.patriots-history ul li a:visited { color: var(--pf-navy); }
.patriots-history ul li a:hover   { color: var(--pf-red); }

.author_links a:link,
.author_links a:visited { color: var(--pf-navy) !important; }
.author_links a:hover   { color: var(--pf-red) !important; }

/* ============================================================
   MORE PATRIOTS HEADLINES BLOCK  (headlines() inside #pfarticle)
   Spans and strongs don't inherit from #pfarticle p, but we add
   explicit resets to ensure compact DM Sans sizing throughout.
   ============================================================ */

h2.latest_header {
    font-family: var(--pf-font-sans);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--pf-navy);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

h2.latest_header strong {
    font-family: var(--pf-font-sans);
    font-size: 14px;
    font-weight: 700;
}

/* Container reset */
#pfarticle .container.mb-2 {
    font-family: var(--pf-font-sans);
    font-size: 13px;
    line-height: 1.45;
    border-color: var(--pf-silver-border) !important;
    min-height: auto !important;
}

/* Excerpt span — 2-line clamp */
#pfarticle .container.mb-2 span.excerpt {
    font-family: var(--pf-font-sans);
    font-size: 12px;
    line-height: 1.5;
    color: #555;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* By: Author line */
#pfarticle .container.mb-2 strong {
    font-family: var(--pf-font-sans);
    font-size: 11px;
    font-weight: 600;
    color: #444;
}

/* Title h3 — !important needed to beat inline style="font-family:Days One" */
#pfarticle .container.mb-2 h3 {
    font-family: var(--pf-font-sans) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.35;
    margin: 0 0 2px;
    padding: 4px 0 0 !important;
    border: none;
}
#pfarticle .container.mb-2 h3::after { display: none; }

#pfarticle .container.mb-2 h3 a:link,
#pfarticle .container.mb-2 h3 a:visited { color: #212121 !important; }
#pfarticle .container.mb-2 h3 a:hover  { color: var(--pf-red) !important; }

/* Time ago */
#pfarticle .container.mb-2 .time_ago {
    font-family: var(--pf-font-sans);
    font-size: 10px;
    color: #888;
}

/* Thumbnail sizing */
#pfarticle .container.mb-2 img.thumb_right {
    border-radius: var(--pf-radius-sm);
    height: 60px !important;
    object-fit: cover;
}


/* ── BUTTON LINK COLOR FIXES ──────────────────────────────────
   Global  a:link { color: navy }  would override button text.
   Adding element+class+pseudo specificity (0,2,1) beats (0,1,1).
   Apple News and Newsletter use !important since dark backgrounds
   make invisible text unusable.
   ─────────────────────────────────────────────────────────── */
a.pf-btn-gnews:link,
a.pf-btn-gnews:visited { color: #1a73e8; }
a.pf-btn-gnews:hover   { color: #1a73e8; border-color: #1a73e8; }

a.pf-btn-apple,
a.pf-btn-apple:link,
a.pf-btn-apple:visited,
a.pf-btn-apple:hover { color: #fff !important; text-decoration: none; }

a.pf-btn-newsletter,
a.pf-btn-newsletter:link,
a.pf-btn-newsletter:visited { color: var(--pf-gold) !important; text-decoration: none; }
a.pf-btn-newsletter:hover   { color: var(--pf-gold) !important; opacity: 0.88; }

/* Sidebar variants */
.pf-follow-sidebar a.pf-btn-gnews:link,
.pf-follow-sidebar a.pf-btn-gnews:visited { color: #1a73e8; }

.pf-follow-sidebar a.pf-btn-apple,
.pf-follow-sidebar a.pf-btn-apple:link,
.pf-follow-sidebar a.pf-btn-apple:visited { color: #fff !important; }

.pf-follow-sidebar a.pf-btn-newsletter,
.pf-follow-sidebar a.pf-btn-newsletter:link,
.pf-follow-sidebar a.pf-btn-newsletter:visited { color: var(--pf-gold) !important; }

/* ── HEADLINES CARD LAYOUT FIXES ──────────────────────────────
   Three sources of excess spacing inside headlines() output:
   1. h3 has inline  style="padding:5px"  → override with !important
   2. <br> between "By:" strong and excerpt span → collapse to 0
   3. Bootstrap mt-1 on excerpt span → reset to 0
   4. align-items:flex-start so text col doesn't stretch to thumb height
   ─────────────────────────────────────────────────────────── */

/* 1. Collapse h3 top/bottom padding (inline style needs !important) */
#pfarticle .container.mb-2 h3 {
    padding: 0 0 2px 0 !important;
    margin-top: 6px !important;
}

/* 2. Collapse the <br> between "By:" and excerpt */
#pfarticle .container.mb-2 .col > br,
#pfarticle .container.mb-2 .col br {
    display: none;
}

/* 3. Remove Bootstrap mt-1 top margin from excerpt span */
#pfarticle .container.mb-2 span.excerpt {
    margin-top: 2px !important;
    display: block;
}

/* 4. Make "By:" inline-block with tight spacing */
#pfarticle .container.mb-2 .col > strong {
    display: block;
    margin: 1px 0 2px;
    line-height: 1.3;
}

/* 5. Row alignment so content col doesn't stretch to thumb height */
#pfarticle .container.mb-2 .row.m-0.p-0 {
    align-items: flex-start !important;
}

/* 6. Tighten the col padding */
#pfarticle .container.mb-2 .col {
    padding-top: 2px;
    padding-bottom: 8px;
}

/* VIEW MORE button */
#pfarticle .btn.btn-primary.btn-block {
    background-color: var(--pf-navy) !important;
    border-color: var(--pf-navy) !important;
    font-family: var(--pf-font-sans) !important;
    font-size: 13px !important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: var(--pf-radius-sm) !important;
}

/* ============================================================
   GOOGLE NEWS PREFERRED SOURCE CTA  (section-gnews-cta.php)
   Placed after article content before Read Next block.
   ============================================================ */

.pf-gnews-cta {
    background: #111c27;
    border-radius: var(--pf-radius-lg);
    padding: 28px 28px 24px;
    margin: 28px 0;
    position: relative;
    overflow: hidden;
    font-family: var(--pf-font-sans);
}

/* Subtle red stripe at top */
.pf-gnews-cta::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--pf-red);
}

/* Gold accent glow — bottom-right */
.pf-gnews-cta::after {
    content: '';
    position: absolute;
    bottom: -40px; right: -40px;
    width: 180px; height: 180px;
    border-radius: 50%;
    background: var(--pf-gold);
    opacity: 0.06;
    pointer-events: none;
}

.pf-gnews-cta-inner {
    position: relative;
    z-index: 1;
}

/* ── Eyebrow ── */
.pf-gnews-cta-eyebrow {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--pf-gold);
    margin-bottom: 8px;
}

.pf-gnews-cta-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--pf-red);
    animation: pf-blink 2s infinite;
    flex-shrink: 0;
}

/* ── Headline ── */
.pf-gnews-cta-headline {
    font-family: var(--pf-font-display);
    font-size: 26px;
    font-weight: 900;
    color: #fff;
    margin: 0 0 8px;
    line-height: 1.15;
    letter-spacing: -0.3px;
}

/* ── Sub copy ── */
.pf-gnews-cta-sub {
    font-family: var(--pf-font-sans) !important;
    font-size: 14px !important;
    font-weight: 300 !important;
    line-height: 1.55 !important;
    color: rgba(255,255,255,0.65) !important;
    margin: 0 0 22px !important;
    max-width: 520px;
}

/* ── Primary button — Google News ── */
.pf-gnews-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    color: #202124;
    border: none;
    border-radius: 10px;
    padding: 12px 22px 12px 14px;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s;
    margin-bottom: 14px;
    max-width: 100%;
}

.pf-gnews-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    text-decoration: none;
    color: #202124;
}

.pf-gnews-btn-primary:link,
.pf-gnews-btn-primary:visited { color: #202124 !important; }

.pf-gnews-btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pf-gnews-btn-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.pf-gnews-btn-label {
    font-size: 15px;
    font-weight: 700;
    color: #202124;
    letter-spacing: -0.1px;
}

.pf-gnews-btn-sub {
    font-size: 12px;
    font-weight: 400;
    color: #5f6368;
}

/* ── Secondary row (Apple News + Newsletter) ── */
.pf-gnews-cta-secondary-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.pf-gnews-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.15s;
    letter-spacing: 0.1px;
}

.pf-gnews-btn-secondary:hover { opacity: 0.85; text-decoration: none; }

.pf-gnews-btn-apple {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff !important;
}

.pf-gnews-btn-apple:link,
.pf-gnews-btn-apple:visited { color: #fff !important; }

.pf-gnews-btn-nl {
    background: var(--pf-red);
    border: 1px solid var(--pf-red);
    color: #fff !important;
}

.pf-gnews-btn-nl:link,
.pf-gnews-btn-nl:visited { color: #fff !important; }

.pf-gnews-btn-nl:hover { background: var(--pf-red-dark); border-color: var(--pf-red-dark); }

/* ── Responsive ── */
@media (max-width: 600px) {
    .pf-gnews-cta { padding: 22px 18px 18px; }
    .pf-gnews-cta-headline { font-size: 22px; }
    .pf-gnews-btn-primary { padding: 11px 18px 11px 12px; }
    .pf-gnews-btn-label { font-size: 14px; }
}

/* ============================================================
   STATIC PAGE TEMPLATE  (page.php)
   Uses DM Sans body text — NOT the article serif stack.
   The article serif stack is scoped to #pfarticle only.
   ============================================================ */
.pf-page-article {
    margin-bottom: 32px;
}

.pf-page-content {
    font-family: var(--pf-font-serif);
    font-size: 17px;
    line-height: 1.78;
    color: #111;
}

.pf-page-content p {
    font-family: var(--pf-font-serif) !important;
    font-size: 17px !important;
    font-weight: 400 !important;
    line-height: 1.78 !important;
    margin-bottom: 1.1em;
    color: #333;
}

/* ── Page heading scale (static pages: About, Contact, etc.) ── */

.pf-page-content h2 {
    font-family: var(--pf-font-display);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
    margin: 1.5em 0 0.5em;
    color: var(--pf-navy);
    padding-bottom: 8px;
    border-bottom: 1.5px solid var(--pf-silver-border);
    position: relative;
}

.pf-page-content h2::after {
    content: '';
    position: absolute;
    bottom: -1.5px;
    left: 0;
    width: 32px;
    height: 1.5px;
    background: var(--pf-gold);
}

.pf-page-content h3 {
    font-family: var(--pf-font-display);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    margin: 1.3em 0 0.4em;
    color: var(--pf-navy);
}

.pf-page-content h4 {
    font-family: var(--pf-font-sans);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    margin: 1.2em 0 0.35em;
    color: #212121;
    padding-left: 10px;
    border-left: 3px solid var(--pf-red);
}

.pf-page-content h5 {
    font-family: var(--pf-font-sans);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    margin: 1.1em 0 0.3em;
    color: var(--pf-navy);
}

.pf-page-content h6 {
    font-family: var(--pf-font-sans);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    margin: 1em 0 0.25em;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.pf-page-content ul,
.pf-page-content ol {
    margin: 0 0 1em 1.5em;
}

.pf-page-content li {
    font-family: var(--pf-font-serif);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.78;
    color: #111;
    margin-bottom: 6px;
}

.pf-page-content a:link,
.pf-page-content a:visited { color: var(--pf-navy); }
.pf-page-content a:hover   { color: var(--pf-red); }

.pf-page-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--pf-radius-md);
    margin: 8px 0;
}

.pf-page-links {
    margin: 20px 0;
    font-family: var(--pf-font-sans);
    font-size: 13px;
}

.pf-page-links span {
    display: inline-block;
    margin: 0 4px;
    padding: 4px 10px;
    border: 0.5px solid var(--pf-silver-border);
    border-radius: var(--pf-radius-sm);
}