/* ==========================================================================
   PRBASE - Main Consolidated Stylesheet
   ========================================================================== */

/* ==========================================================================
   Section 1: Core Theme, Typography & Layout
   
	--pri-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--pri-serif: Georgia, "Times New Roman", serif;
	--pri-mono: Consolas, Menlo, monospace;

   ========================================================================== */

:root {
    --pri-ink: #161616;
    --pri-paper: #ffffff;
    --pri-muted: #585858;
    --pri-faint: #a2a2a2;
    --pri-pure: #eaeaea;
    --pri-rule: #d9d9d9;
    --pri-accent: #0A4084;
    --pri-accent-dark: #163e79;
    --pri-accent-hover: #173b75;
    --pri-sans: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
    /* ── Bootstrap token overrides ────────────────────────────────────────────
       Bootstrap ships its own --bs-* palette. Its .text-secondary / .text-muted /
       .text-dark helpers paint text with `!important` using these RGB triplets,
       so any site rule that sets `color` without `!important` silently loses and
       the text renders in Bootstrap's grey (which reads as washed-out / glowing
       against the white paper). Re-pointing the tokens here fixes every helper
       at once, instead of duplicating each utility with !important.
       ---------------------------------------------------------------------- 
    --bs-body-color: #161616;
    --bs-body-color-rgb: 22, 22, 22;
    --bs-emphasis-color: #000000;
    --bs-emphasis-color-rgb: 0, 0, 0;
    --bs-heading-color: #161616;
    --bs-secondary-color: #585858;
    --bs-secondary-rgb: 88, 88, 88;
    --bs-tertiary-color: #a2a2a2;
    --bs-dark-rgb: 22, 22, 22;
    --bs-body-bg: #ffffff;
    --bs-body-font-family: var(--pri-sans);
    --bs-link-color: #2459a9;
    --bs-link-hover-color: #163e79;
*/

/* Belt-and-braces: pin the text helpers that Bootstrap declares with !important.
   Same specificity, but declared later, so these win over the CDN stylesheet. */
.text-body,
.text-dark,
.text-black {
    color: var(--pri-ink) !important;
}
.text-secondary,
.text-muted {
    color: var(--pri-muted) !important;
}
.text-secondary-emphasis {
    color: var(--pri-ink) !important;
}

body {
    color: var(--pri-ink);
    background-color: var(--pri-paper);
    font-family: var(--pri-sans);
    font-optical-sizing: auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
}
html {
    overflow-x: hidden;
}
main { flex: 1 0 auto; }

/* ---- Type system ---- */
h1, h2, h3, .pri-display {
    font-family: var(--pri-sans);
    letter-spacing: -0.015em;
    font-weight: 700;
}
.pri-eyebrow {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--pri-ink);
}
.pri-meta {
    font-size: 0.75rem;
    color: var(--pri-muted);
}
.pri-meta a { color: inherit; text-decoration: none; }
.pri-meta a:hover { color: var(--pri-accent); }
.pri-header .nav-item .pri-sep { padding: 0 0.5rem; }
@media (max-width: 991.98px) {
    .pri-header .nav-item .pri-sep { display: none !important; }
}
.pri-cat {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--pri-accent);
    text-decoration: none;
}
.pri-cat.pri-cat--sub { color: var(--pri-muted); }
/* Content-type label in the dateline reads in body ink, not the accent. */
.pri-cat.pri-cat--ink { color: var(--pri-ink); }

/* ---- Brand ---- */
.pri-brand {
    font-family: var(--pri-sans);
    font-weight: 400;
    font-size: 1.55rem;
    color: var(--pri-ink);
    text-decoration: none;
    letter-spacing: -0.01em;
    line-height: 1;
    white-space: nowrap !important;
}
.pri-brand:hover { color: var(--pri-ink); }
.pri-brand em { font-style: normal; color: var(--pri-accent); }
.pri-tagline { display: none; }
.pri-nav-side {
    width: 44px;
    flex-shrink: 0;
}
@media (max-width: 991.98px) {
    .pri-brand { font-size: clamp(1.08rem, 4.6vw, 1.35rem) !important; }
}
@media (min-width: 992px) {
    .pri-nav-side { min-width: 200px; width: auto; }
}

/* ---- Hairline structure ---- */
.pri-pure-top { border-top: 1px solid var(--pri-pure); }
.pri-rule-top { border-top: 1px solid var(--pri-rule); }
.pri-rule-bottom { border-bottom: 1px solid var(--pri-rule); }

/* ---- Buttons ---- */
.pri-btn {
    display: inline-block;
    padding: 0.375rem 1rem;
    border: 1px solid var(--pri-ink);
    border-radius: 2px;
    background: transparent;
    color: var(--pri-ink);
    font-family: var(--pri-sans);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-decoration: none;
}
.pri-btn:hover { background: var(--pri-accent); border-color: var(--pri-accent); color: #fff; }

.pri-btn--solid,
.pri-btn--accent {
    background-color: var(--pri-accent) !important;
    border-color: var(--pri-accent) !important;
    color: #ffffff !important;
}
.pri-btn--solid:hover,
.pri-btn--accent:hover {
    background-color: var(--pri-accent-hover) !important;
    border-color: var(--pri-accent-hover) !important;
    color: #ffffff !important;
}
.pri-btn--secondary { background: #686868; border-color: #686868; color: #fff; }
.pri-btn--secondary:hover { background: #505050; border-color: #505050; color: #fff; }

.btn-primary {
    background-color: var(--pri-accent) !important;
    border-color: var(--pri-accent) !important;
    color: #ffffff !important;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--pri-accent-hover) !important;
    border-color: var(--pri-accent-hover) !important;
    color: #ffffff !important;
}
.pri-btn:focus-visible,
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--pri-accent);
    outline-offset: 2px;
}

/* ---- Header ---- */
.pri-header {
    background-color: var(--pri-accent) !important;
    color: #ffffff !important;
    overflow: visible !important;
}
.pri-header.pri-header--hidden {
    transform: translateY(-100%) !important;
}
.pri-top-bar {
    position: relative;
    z-index: 1050;
}
.pri-header .pri-brand,
.pri-header .pri-brand em {
    color: #ffffff !important;
}
.pri-header .nav-link {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #ffffff !important;
    padding: 0.4rem 0.8rem;
}
/* Logged-in header links injected by site.js (Submit Release / My Account).
   Stated explicitly so they don't inherit an unthemed colour. */
.pri-header .pri-header-link {
    color: #ffffff !important;
}
.pri-header .pri-header-link:hover {
    color: rgba(255, 255, 255, 0.82) !important;
}
.pri-header .nav-link:hover { color: rgba(255, 255, 255, 0.82) !important; }
.pri-header .pri-sep { color: rgba(255, 255, 255, 0.35) !important; }
.pri-header-quicklink {
    padding: 0.2rem 0;
    border-bottom: 2px solid transparent;
}
.pri-header-quicklink:hover {
    color: #ffffff !important;
    border-bottom-color: rgba(255, 255, 255, 0.8);
}
.pri-footer .pri-sep { padding: 0 0.5rem; }

/* ---- Fullscreen / Topbar Search Overlay Layer ---- */
.pri-search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(18, 24, 38, 0.78);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 2000;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding-top: 12vh;
}
.pri-search-overlay__box {
    width: 100%;
    max-width: 720px;
    padding: 0 1rem;
    position: relative;
}
.pri-search-overlay .input-group {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35) !important;
}
.pri-search-overlay .form-control {
    border: none !important;
    border-radius: 4px 0 0 4px !important;
    font-size: 1.05rem !important;
    padding: 0.9rem 1.25rem !important;
    box-shadow: none !important;
}
.pri-search-overlay .btn-dark {
    border-radius: 0 4px 4px 0 !important;
    background-color: var(--pri-ink) !important;
    border: none !important;
}
.pri-search-overlay__close {
    position: absolute;
    top: -42px;
    right: 1rem;
    color: #ffffff;
    font-size: 1.75rem;
    line-height: 1;
    background: transparent;
    border: none;
    cursor: pointer;
}
.pri-search-overlay__close:hover {
    color: var(--pri-accent);
}
.pri-search-overlay .pri-search-suggest {
    top: calc(100% + 4px);
    border-radius: 4px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
}
/* ---- Category sub-menu bar (White Background Nav) ---- */
.pri-cat-bar {
    position: relative;
    z-index: 1030;
    overflow: visible !important;
    background-color: #f6f6f6 !important;
    border-bottom: 1px solid var(--pri-rule) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.pri-cat-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2px 6px;
    margin: 0;
    padding: 0.35rem 0;
    list-style: none;
}
.pri-cat-dropdown { position: relative; }
.pri-cat-link {
    font-size: 0.85rem;
    letter-spacing: 0.03em;
    font-weight: 600;
    color: var(--pri-accent) !important;
    padding: 0.35rem 0.65rem !important;
    white-space: nowrap;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border-radius: 2px;
}
.pri-cat-link:hover,
.pri-cat-dropdown:hover > .pri-cat-link,
.pri-cat-dropdown.is-open > .pri-cat-link {
    color: var(--pri-accent) !important;
    background-color: rgba(36, 89, 169, 0.08);
}
.pri-cat-link i,
#moreCategoriesBtn i { color: #8c98a4 !important; }
.pri-cat-link:hover i,
.pri-cat-dropdown:hover > .pri-cat-link i,
#moreCategoriesBtn:hover i { color: var(--pri-accent) !important; }
#moreCategoriesBtn { color: var(--pri-accent) !important; font-weight: 600; }
#moreCategoriesBtn:hover { color: var(--pri-accent) !important; }

/* ---- Nav Dropdown Popups ---- */
.pri-cat-submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff !important;
    border: 1px solid var(--pri-rule) !important;
    border-radius: 2px;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.18) !important;
    z-index: 1080;
    padding: 0.85rem;
    min-width: 260px;
    color: var(--pri-accent) !important;
}
.pri-cat-submenu .pri-eyebrow {
    color: var(--pri-accent) !important;
    border-bottom: 1px solid #e9ecef !important;
    font-weight: 700;
}
.pri-cat-submenu a,
.pri-cat-submenu .dropdown-item {
    color: var(--pri-accent) !important;
    font-weight: 600;
    font-size: 0.8125rem;
}
.pri-cat-submenu a:hover,
.pri-cat-submenu .dropdown-item:hover,
.pri-cat-submenu .dropdown-item:focus {
    color: var(--pri-accent-dark) !important;
    background-color: rgba(36, 89, 169, 0.08) !important;
}
.pri-cat-submenu::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
}
.pri-cat-dropdown:hover > .pri-cat-submenu,
.pri-cat-dropdown:focus-within > .pri-cat-submenu,
.pri-cat-dropdown.is-open > .pri-cat-submenu {
    display: block !important;
}
.drawer-rotate { transform: rotate(180deg); }

/* More Categories Wide Panel */
#moreCategoriesPanel {
    background-color: #ffffff !important;
    color: var(--pri-accent) !important;
    border-bottom: 1px solid var(--pri-rule) !important;
}
#moreCategoriesPanel a {
    color: var(--pri-accent) !important;
    font-weight: 500;
}
#moreCategoriesPanel a:hover {
    color: var(--pri-accent-dark) !important;
    text-decoration: underline;
}
#moreCategoriesPanel .fw-bold a { font-weight: 700; }

/* Header User/Newsroom Dropdown Menus */
.pri-header .dropdown-menu {
    background-color: #ffffff !important;
    color: var(--pri-accent) !important;
    border: 1px solid var(--pri-rule) !important;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.18) !important;
    z-index: 1060 !important;
}
.pri-header .dropdown-menu a.dropdown-item {
    color: var(--pri-accent) !important;
    font-weight: 500;
}
.pri-header .dropdown-menu a.dropdown-item:hover,
.pri-header .dropdown-menu a.dropdown-item:focus {
    color: var(--pri-accent-dark) !important;
    background-color: rgba(36, 89, 169, 0.08) !important;
}
.pri-header .dropdown-menu .dropdown-header,
.pri-header .dropdown-menu .fw-bold,
.pri-header .dropdown-menu i {
    color: var(--pri-accent) !important;
}

.pri-drawer {
    width: 320px !important;
    max-width: 85vw !important;
    background-color: var(--pri-paper);
    z-index: 1060;
}
.pri-drawer .list-group-item {
    background-color: transparent;
    color: var(--pri-ink);
    font-size: 0.875rem;
}
.pri-drawer .list-group-item:hover {
    background-color: rgba(0, 0, 0, 0.03);
    color: var(--pri-accent);
}

/* Trending companies strip */
#trendingPrevBtn:hover,
#trendingNextBtn:hover { color: var(--pri-accent) !important; }
.pri-company-chip:hover span { color: var(--pri-accent) !important; }
.pri-company-chip:hover .object-fit-contain {
    transform: scale(1.04);
}

/* ---- PR Listing Item ---- */
.pri-pr-item {
    padding: 1.25rem 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.pri-pr-item:last-child {
    border-bottom: none !important;
    padding-bottom: 0.25rem;
}
.pri-tags-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 0.4rem;
    flex-wrap: wrap;
}
.pri-tag-marker {
    flex-shrink: 0;
    fill: var(--pri-ink);
}
.pri-tag-link {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--pri-ink);
    text-decoration: none;
}
.pri-tag-link:hover { color: var(--pri-accent); }
.pri-tag-link--accent { color: var(--pri-accent) !important; }
.pri-pr-title {
    font-size: 1.1rem;
    line-height: 1.28;
    margin: 0 0 0.5rem 0;
    font-weight: 400;
    letter-spacing: -0.01em;
}
.pri-pr-title a {
    color: var(--pri-ink);
    text-decoration: none;
}
.pri-pr-title a:hover { color: var(--pri-accent); }
.pri-post-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--pri-muted);
}
.pri-post-info__author-start {
    color: #888;
    font-style: italic;
}
.pri-post-info__author-link {
    color: var(--pri-ink);
    text-decoration: none;
    font-weight: 600;
}
.pri-post-info__author-link:hover { color: var(--pri-accent); }
.pri-post-info__date { color: var(--pri-muted); }

/* Newspaper vertical divider columns */
.pri-col-border {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}
.pri-col-border:first-child { padding-left: 0; }
.pri-col-border:last-child { border-right: none; padding-right: 0; }
@media (max-width: 991.98px) {
    .pri-col-border {
        border-right: none;
        border-bottom: 1px solid var(--pri-rule);
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 1.5rem;
        margin-bottom: 1.5rem;
    }
    .pri-col-border:last-child {
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 0;
    }
}

/* ---- Hero (home) ---- */
.pri-hero { padding: 3rem 0 2.5rem; }
.pri-hero h1 {
    font-size: clamp(2rem, 1.2rem + 3.2vw, 3.25rem);
    font-weight: 700;
    line-height: 1.08;
    margin-bottom: 0.75rem;
}
.pri-hero p { color: var(--pri-muted); font-size: 1.0625rem; max-width: 38em; }
.pri-search { max-width: 640px; }
.pri-search .form-control {
    border: 1px solid var(--pri-ink);
    border-radius: 2px;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    box-shadow: none;
}
.pri-search .form-control:focus {
    border-color: var(--pri-accent);
    box-shadow: 0 0 0 3px rgba(36, 86, 198, 0.12);
}
.pri-search .btn { border-radius: 2px; }
.pri-bg-vr { background: var(--pri-paper); }

/* Live Auto-Suggest Popup for Homepage Search */
.pri-search-suggest {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid var(--pri-rule);
    border-radius: 4px;
    z-index: 1070;
    max-height: 480px;
    overflow-y: auto;
    text-align: left;
}
.pri-search-suggest__group-title {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--pri-muted);
    padding: 0.5rem 0.85rem 0.25rem;
    background: #f8f9fa;
    border-bottom: 1px solid #f1f3f5;
}
.pri-search-suggest__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.55rem 0.85rem;
    text-decoration: none;
    color: var(--pri-ink);
    border-bottom: 1px solid #f8f9fa;
}
.pri-search-suggest__item:hover,
.pri-search-suggest__item:focus,
.pri-search-suggest__item.is-selected {
    background-color: rgba(36, 89, 169, 0.06);
    color: var(--pri-accent);
}
.pri-search-suggest__footer {
    padding: 0.6rem 0.85rem;
    background: #fdfdfd;
    border-top: 1px solid var(--pri-rule);
    text-align: center;
    font-size: 0.8125rem;
}
.pri-search-suggest__footer a {
    color: var(--pri-accent);
    font-weight: 600;
    text-decoration: none;
}
.pri-search-suggest__footer a:hover {
    text-decoration: underline;
}

/* ---- Article body ---- */
.article-content p {
    line-height: 1.8;
    font-size: 1.0625rem;
    margin-bottom: 1.375rem;
    color: #2A2D34;
}
.article-content p:first-of-type { font-size: 1.1875rem; line-height: 1.65; color: var(--pri-ink); }

/* ---- Link hierarchy ---- */
a.pri-link-nav {
    color: var(--pri-accent);
    text-decoration: none;
    font-weight: 500;
}
a.pri-link-nav:hover { text-decoration: underline; }

a.pri-link-external {
    font-family: var(--pri-sans);
    font-size: 0.75rem;
    color: var(--pri-muted);
    text-decoration: none;
    padding-bottom: 1px;
    word-break: break-all;
}
a.pri-link-external::after {
    content: '\00a0↗';
    font-style: normal;
    font-size: 0.65rem;
    color: var(--pri-faint);
}
a.pri-link-external:hover { color: var(--pri-accent); border-color: var(--pri-accent); }

a.pri-link-cta {
    color: var(--pri-ink);
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 600;
    border-bottom: 1px solid var(--pri-ink);
    padding-bottom: 1px;
}
a.pri-link-cta:hover { color: var(--pri-accent); border-color: var(--pri-accent); }

/* ---- Tag pills ---- */
.pri-tag {
    display: inline-block;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    color: var(--pri-muted);
    text-decoration: none;
    border: 1px solid var(--pri-rule);
    padding: 0.2em 0.6em;
    border-radius: 2px;
    line-height: 1.6;
    white-space: nowrap;
}
.pri-tag:hover { color: var(--pri-accent); border-color: var(--pri-accent); }

/* ---- Homepage Hot Topics Cloud (Border-free Pills) ---- */
.pri-topic-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.6rem;
}
.pri-topic-badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.4;
    color: var(--pri-muted);
    background-color: #f1f3f5;
    border: none !important;
    border-radius: 4px;
    text-decoration: none;
    white-space: nowrap;
}
.pri-topic-badge:hover {
    color: var(--pri-accent) !important;
    background-color: rgba(36, 89, 169, 0.12) !important;
}

/* ---- Verified badge ---- */
.pri-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3em;
    margin-left: 0.5rem;
    padding: 0.15em 0.55em;
    border: 1px solid var(--pri-accent);
    border-radius: 999px;
    background: rgba(36, 89, 169, 0.08);
    color: var(--pri-accent);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.4;
    vertical-align: middle;
    white-space: nowrap;
}
.pri-verified-badge i { font-size: 0.85em; }

/* ---- Pagination ---- */
.pri-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    height: 2rem;
    padding: 0 0.5rem;
    font-size: 0.75rem;
    color: var(--pri-muted);
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 2px;
}
.pri-page-btn:hover { color: var(--pri-ink); border-color: var(--pri-rule); }
.pri-page-btn--active { color: var(--pri-ink); border-color: var(--pri-ink); font-weight: 600; }
.pri-page-btn--active:hover { color: var(--pri-ink); border-color: var(--pri-ink); }
.pri-page-btn--gap { cursor: default; color: var(--pri-faint); }

/* ---- Footer ---- */
.pri-footer { background: var(--pri-paper); }
.pri-footer h6 {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--pri-faint);
}
.pri-footer a { color: var(--pri-muted); text-decoration: none; font-size: 0.8125rem; }
.pri-footer a:hover { color: var(--pri-accent); }

/* ==========================================================================
   Section 2: Press Release Detail Page
   ========================================================================== */

.pri-inline-share a,
.pri-inline-share button {
    color: var(--pri-muted);
    text-decoration: none;
    padding: 4px 6px;
    line-height: 1;
    font-size: 0.95rem;
}
.pri-inline-share a:hover,
.pri-inline-share button:hover { color: var(--pri-accent) !important; }

/* Wrapped Lead Image inside article body */
.pri-lead-figure {
    position: relative;
    border-radius: 3px;
    margin: 0.25rem 0 1rem 0;
    width: 100%;
    clear: both;
}
@media (min-width: 768px) and (max-width: 991.98px) {
    .pri-lead-figure {
        float: right;
        width: 45%;
        margin: 0.25rem 0 1rem 1.5rem;
        clear: right;
    }
}
@media (min-width: 992px) {
    .pri-lead-figure {
        float: right;
        width: 38%;
        max-width: 340px;
        margin: 0.25rem 0 1.25rem 1.75rem;
        clear: right;
    }
}
.pri-lead-img-wrapper {
    position: relative;
    cursor: zoom-in;
    overflow: hidden;
    border-radius: 3px;
    display: block;
}
.pri-lead-img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    display: block;
}
.pri-lead-img-wrapper:hover .pri-lead-img { transform: scale(1.025); }
.pri-img-zoom-btn {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: #666666;
    color: #ffffff;
    border: none;
    border-radius: 3px;
    padding: 5px 8px;
    font-size: 0.8125rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    pointer-events: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}
.pri-lead-img-wrapper:hover .pri-img-zoom-btn {
    background: var(--pri-accent);
    transform: scale(1.08);
}

/* Lightbox Modal */
.pri-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}
.pri-lightbox__backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 1;
}
.pri-lightbox__content {
    position: relative;
    z-index: 2;
    width: 90vw;
    height: 85vh;
    max-width: 1100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}
.pri-lightbox__img {
    display: block;
    width: 100%;
    max-width: 1050px;
    max-height: 82vh;
    height: auto;
    object-fit: contain;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 24px 72px rgba(0, 0, 0, 0.95);
    pointer-events: auto;
    cursor: zoom-out;
}
.pri-lightbox__close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pri-lightbox__close:hover {
    background: var(--pri-accent);
    color: #ffffff;
    transform: scale(1.08);
}

/* ==========================================================================
   Section 3: Categories Directory Page
   ========================================================================== */

.pri-category-grid .col-12 a:hover {
    color: var(--pri-accent) !important;
    border-color: var(--pri-accent) !important;
}

/* ==========================================================================
   Section 4: Auth Header Hydration Utilities
   ========================================================================== */
.pri-btn--ghost-white {
    padding: 0.35rem 1rem;
    font-size: 0.75rem;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
    background-color: rgba(255, 255, 255, 0.1);
    text-decoration: none;
}
.pri-btn--ghost-white:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}
.pri-nav-link-sm { font-size: 0.8125rem; }
.pri-dropdown-sm { font-size: 0.875rem; }
.pri-dropdown-user { min-width: 220px; }
.pri-dropdown-item-nr { max-width: 200px; }
.pri-icon-xs { font-size: 0.65rem; }
.pri-eyebrow-xs { font-size: 0.625rem; }
.pri-suggest-logo { width: 28px; height: 28px; }
.pri-suggest-meta { font-size: 0.6875rem; }
.pri-suggest-tag { font-size: 0.72rem; font-weight: 500; }

/* Ensure rich-text images never blow out page container */
.pri-article-body img,
.pri-pr-content img,
article img {
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain;
}


/* ---- Press release detail footer ---------------------------------------
   The standard detail page and the ?mode=simple reading view end with the
   same archive footer. Styled here (not in a shared file) because each theme
   owns its colour tokens. */
.pri-detail-footer {
    border-top: 1px solid var(--pri-rule);
    margin-top: 3rem;
    padding: 1.5rem 0;
}
.pri-detail-footer__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .75rem 1.5rem;
}
.pri-detail-footer__nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem;
    font-size: .8rem;
}
.pri-detail-footer__nav a {
    color: var(--pri-accent);
    text-decoration: none;
}
.pri-detail-footer__nav a:hover { text-decoration: underline; }

/* Current detail pages read these links in body ink: they are a quiet site
   map, not calls to action competing with the release. The archive footer
   keeps its accent colour. */
.pri-detail-footer--new .pri-detail-footer__nav a { color: var(--pri-muted); }
.pri-detail-footer--new .pri-detail-footer__nav a:hover { color: var(--pri-ink); }
.pri-detail-footer__sep { color: var(--pri-rule); }
.pri-detail-footer__copy {
    margin: 0;
    font-size: .8rem;
    color: var(--pri-muted);
}
