/**
 * Hawk for Texas — Site-Specific Overrides
 * Loads after dandysite-victoria/style.css
 *
 * This file contains ONLY Hawk-specific overrides.
 * All shared section/component layout lives in Victoria's style.css.
 */

/* ============================================================
   BRAND COLOR OVERRIDES
   ============================================================ */

:root {
    --color-primary:     #C8102E;   /* campaign red */
    --color-secondary:   #1d3557;   /* Oxford Navy */
    --color-accent:      #C8102E;
    --color-accent-on-dark:      #aecbff; /*light cornflower */
    --color-surface:     #f5f5f5;
    --color-button-bg:   #C8102E;
    --color-button-text: #ffffff;

    /* Typography */
    --font-primary:   'Barlow', system-ui, sans-serif;
    --font-secondary: 'Barlow', system-ui, sans-serif;

    /* Header — solid background matches site header color */
    --header-solid-bg:     #1d3557;   /* Oxford Navy */
    --header-solid-color:  #ffffff;
    --header-solid-border: transparent;

    /* Mobile menu panel */
    --header-mobile-menu-bg:     #1d3557;
    --header-mobile-menu-color:  #ffffff;
    --header-mobile-menu-shadow: -4px 0 20px rgba(0,0,0,0.3);

    /* Revealed header (scroll-up) — match solid header */
    --header-revealed-solid-bg:    #1d3557;
    --header-revealed-solid-color: #ffffff;
}

/* ============================================================
   HEADER
   ============================================================ */

.site-header {
    background: var(--color-primary);
}
.site-header a,
.site-header .site-title a {
    color: #fff;
}
.site-header a:hover {
    color: var(--color-accent-on-dark);
    text-decoration: none;
}

/* ============================================================
   HERO
   ============================================================ */

.hero--fullbleed .hero__overlay {
    background: linear-gradient(
        to right,
        rgba(29, 53, 87, 0.75) 40%,
        rgba(29, 53, 87, 0.1) 100%
    );
}

.hero__content {
    text-align: left;
    max-width: 560px;
}

.hero__eyebrow {
    display: inline-block;
    background: var(--color-primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.3em 0.9em;
    border-radius: 2px;
    margin-bottom: 1rem;
}

/* ============================================================
   BIO SECTION — dark background for Hawk
   ============================================================ */

.section-bio {
    background: var(--color-secondary);
}
.section-bio .section-label {
    color: var(--color-accent-on-dark);
}
.section-bio__text h2 {
    color: #ffffff;
}
.section-bio__text p {
    color: rgba(255,255,255,0.8);
}
.section-bio__pullquote {
    color: rgba(255,255,255,0.9);
    background: rgba(255,255,255,0.06);
    border-left-color: var(--color-primary);
}
.section-bio__content a {
    color: var(--color-accent-on-dark);
}
.section-bio__content a:hover {
    color: #fff;
}
.section-bio .btn--outline {
    color: #fff;
    border-color: #fff;
}
.section-bio .btn--outline:hover {
    background: #fff;
    color: var(--color-secondary);
}

/* ============================================================
   #NEWS — publication logo treatment
   Red border separator below the contained logo
   ============================================================ */

#news .news-card__thumbnail--contain {
    border-bottom: 3px solid var(--color-primary);
}

/* ============================================================
   #ARTICLES — no thumbnails
   ============================================================ */

#articles .news-card__thumbnail {
    display: none;
}



/* ============================================================
   HEADER — keep logo white on scroll-up reveal
   Victoria's header.css sets filter:none on .header--revealed
   for sites with a light revealed header. Hawk's header is
   always red so we keep the white filter.
   ============================================================ */

body.header-reveal-solid .site-header.header--revealed .site-logo {
    filter: brightness(0) invert(1);
}

/* ============================================================
   ENDORSEMENTS — redesigned
   Hide title/subtitle. Bold, open cards — no grey background.
   ============================================================ */

/* Hide section heading for endorsements */
.section-endorsements .section-title,
.section-endorsements .section-subtitle {
    display: none;
}

/* Wider, fewer-column grid */
.section-endorsements .endorsements-grid {
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}

/* Card — open, white, strong left border */
.section-endorsements .endorsement-card {
    background: #fff;
    border-top: none;
    border-left: 6px solid var(--color-primary);
    border-radius: 0;
    padding: 2rem 2rem 2rem 1.75rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    position: relative;
}

/* Large decorative quote mark */
.section-endorsements .endorsement-card::before {
    content: '\201D';
    font-size: 5rem;
    line-height: 1;
    color: var(--color-primary);
    opacity: 0.25;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    font-family: Georgia, serif;
}

/* Larger, bolder quote text */
.section-endorsements .endorsement-card__quote {
    font-size: 1.05rem;
    font-style: normal;
    font-weight: 500;
    color: var(--color-text);
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

/* Remove default curly quotes — we have the decorative one */
.section-endorsements .endorsement-card__quote::before,
.section-endorsements .endorsement-card__quote::after {
    content: '';
}

/* Bold name treatment */
.section-endorsements .endorsement-card__name {
    font-size: 1rem;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: 0.01em;
}
.section-endorsements .endorsement-card__name a {
    color: var(--color-primary);
}
.section-endorsements .endorsement-card__name a:hover {
    color: var(--color-secondary);
}
.section-endorsements .endorsement-card__title-org {
    font-size: 0.82rem;
    color: var(--color-text-light);
    margin-top: 0.2rem;
    font-weight: 500;
}

/* ============================================================
   SINGLE POST — IN THE NEWS
   ============================================================ */

/* Hide featured image on "In the News" posts —
   it's just the publication logo, not editorial content */
.category-in-the-news .entry-featured-image {
    display: none;
}

/* Hide the source label when an external link button is present —
   the button already says "Read at [Publication]", so it's duplicative */
.article-publication-bar:has(.article-publication-bar__link) .article-publication-bar__source {
    display: none;
}

/* Tone down the publication bar — subtle text links, not big buttons */
.article-publication-bar .btn {
    background: transparent;
    color: var(--color-text-light);
    border: 1px solid #999;
    font-size: 0.8rem;
    padding: 0.4em 1em;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 500;
    border-radius: 3px;
}
.article-publication-bar .btn:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
    background: transparent;
    transform: none;
}

/* PDF link — add download icon before the text */
.article-publication-bar__pdf::before {
    content: '↓ ';
    font-weight: 700;
    color: var(--color-primary);
}

/* ============================================================
   PAGINATION — cleaner treatment
   Victoria default uses a filled accent box which is too heavy.
   ============================================================ */

.page-numbers {
    padding: 0.4em 0.9em;
    border: 1px solid var(--color-border);
    color: var(--color-text);
    text-decoration: none;
    border-radius: 3px;
    font-size: 0.9rem;
    transition: border-color 0.2s ease, color 0.2s ease;
    background: transparent;
}
.page-numbers:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: transparent;
    text-decoration: none;
}
.page-numbers.current {
    border-color: var(--color-secondary);
    color: var(--color-secondary);
    background: transparent;
    font-weight: 700;
}
/* Next/Prev text links — no border */
.page-numbers.next,
.page-numbers.prev {
    border-color: transparent;
    color: var(--color-text-light);
}
.page-numbers.next:hover,
.page-numbers.prev:hover {
    color: var(--color-primary);
    border-color: transparent;
    background: transparent;
}

/* ============================================================
   TYPOGRAPHY — Barlow Semi Condensed for headings
   ============================================================ */

h1, h2, h3, h4, h5, h6,
.section-title,
.hero__headline,
.entry-title,
.archive-title,
.news-card__title {
    font-family: var(--font-secondary);
    font-weight: 700;
    letter-spacing: -0.01em;
}

/* Hero headline — heavier weight for impact */
.hero__content .hero__headline {
    font-weight: 800;
    font-size: clamp(1.6rem, 4vw, 2.6rem);
    line-height: 1.15;
}


/* Footer */
.site-footer {
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05)), url(https://hawkdunlap.143da.com/wp-content/uploads/2026/04/130645_2c61b7329c89403eaf25fa652c988465mv2.avif) !important;
    background-size: cover;
    background-position: center;
}
.footer-secondary {
    border-top: none;
}

/* ============================================================
   SOCIAL ICONS — larger than theme default
   (requires Victoria with the --ds-socials-size system)
   ============================================================ */

.ds-socials .ds-socials__icon {
    --ds-socials-size: 48px;
}


/* ============================================================
   CARD BLURBS — distinct from the date, with guaranteed air
   above the button when the date is hidden (imported articles)
   ============================================================ */

.news-card__blurb {
    color: var(--color-text);      /* darker than metadata */
    font-size: 0.92rem;
    margin-bottom: 0.9rem;         /* keeps spacing before the button when no date renders */
}
/* Date wears the same small-caps treatment as the source label */
.news-card__date {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent);
}
