/* ==========================================================================
   BROADSHEET  -  premium print skin for PR Urgent News
   --------------------------------------------------------------------------
   Loaded after style.css, so everything here is an override. Warm paper,
   serif headlines, hairline rules and a deep ink-navy accent. Responsive.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800;900&family=Source+Sans+3:wght@400;500;600;700&display=swap');

:root {
    /* Also restyles the inline pricing cards, which read these. */
    --news-red:   #8c1d2c;
    --news-black: #14213d;

    --ink:       #14213d;
    --ink-2:     #24325a;
    --ink-soft:  #55607d;
    --ink-dim:   #8a92a8;

    --accent:    #8c1d2c;
    --accent-2:  #a8283a;
    --accent-lt: #f6e9eb;

    --paper:     #fffdf9;
    --paper-2:   #faf6ef;
    --rule:      #e2dbcd;
    --rule-dark: #cdc3b0;

    --shadow-sm: 0 1px 3px rgba(20, 33, 61, .06);
    --shadow-md: 0 8px 26px rgba(20, 33, 61, .09);
    --shadow-lg: 0 20px 46px rgba(20, 33, 61, .14);
}

body {
    font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif;
    background: var(--paper-2);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
}

::selection { background: var(--ink); color: var(--paper); }

a { text-decoration: none; }

h1, h2, h3, h4,
.hero-title, .post-title, .plan-name,
.section-title, .category-title, .widget-title, .news-card h4 {
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    letter-spacing: -.2px;
}

/* ---------------------------------------------------------------- header */
.site-header {
    background: var(--paper);
    padding: 18px 0 0;
    border-bottom: 3px double var(--ink);
}

.logo img { filter: none; }

.navbar-nav .nav-link,
.nav-link {
    color: var(--ink);
    font-weight: 600;
    font-size: 14.5px;
    letter-spacing: .4px;
    text-transform: uppercase;
    margin-left: 4px;
    padding: 10px 12px;
    border-bottom: 2px solid transparent;
    border-radius: 0;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active,
.nav-link:hover {
    color: var(--accent);
    background: transparent;
    border-bottom-color: var(--accent);
}

.navbar-toggler { border: 1px solid var(--rule-dark); }
.navbar-toggler-icon { filter: invert(1) brightness(.35); }

.dropdown-menu {
    background: var(--paper);
    border: 1px solid var(--rule);
    border-top: 2px solid var(--ink);
    border-radius: 2px;
    padding: 6px;
    box-shadow: var(--shadow-md);
}

.dropdown-item {
    color: var(--ink);
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 2px;
}

.dropdown-item:hover { background: var(--paper-2); color: var(--accent); }

.nav-auth .nav-link { text-transform: none; }

.nav-auth .btn.btn-danger {
    background: var(--ink);
    border: none;
    color: var(--paper);
    font-weight: 600;
    border-radius: 2px;
    letter-spacing: .4px;
}

.nav-auth .btn.btn-danger:hover { background: var(--accent); color: #fff; }

/* ------------------------------------------------------------- headings
   One rule, under the label, with its first inch in the accent.

   The hairline used to be an ::after with flex:1, meant to run out to the end
   of the column. Under `align-items: baseline` an empty flex item baselines
   off its own bottom edge, so it sat level with the text baseline - partway
   down the heading - while border-bottom drew a second line beneath the whole
   element. Two lines, one floating in the middle. */
.section-title,
.category-title {
    position: relative;
    display: block;
    width: 100%;
    background: transparent;
    color: var(--ink);
    border-left: none;
    border-bottom: 2px solid var(--ink);
    border-radius: 0;
    padding: 0 0 8px;
    margin-bottom: 22px;
    font-weight: 800;
    font-size: 27px;
}

/* Sits exactly on the border: bottom:-2px clears the padding box, and the
   height matches the border it covers. */
.section-title::before,
.category-title::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 64px;
    height: 2px;
    background: var(--accent);
}

/* ---------------------------------------------------------------- heroes */
.hero-box,
.text-hero {
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
}

.hero-kicker,
.hero-category {
    display: inline-block;
    color: var(--accent);
    border-top: 2px solid var(--accent);
    padding: 8px 0 0;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.hero-title {
    color: var(--ink);
    font-weight: 900;
    line-height: 1.12;
}

.hero-title span,
.hero-title em { color: var(--accent); font-style: italic; }

.hero-subtitle,
.hero-description {
    color: var(--ink-soft);
    font-size: 17.5px;
    line-height: 1.75;
}

.hero-image img,
.text-hero img {
    border: 1px solid var(--rule);
    border-radius: 2px;
    box-shadow: var(--shadow-sm);
}

.hero-btn,
.hero-cta,
.btn-danger {
    background: var(--ink);
    border: none;
    color: var(--paper);
    font-weight: 600;
    letter-spacing: .5px;
    border-radius: 2px;
    transition: background .18s ease, color .18s ease;
}

.hero-btn:hover,
.hero-cta:hover,
.btn-danger:hover { background: var(--accent); color: #fff; }

.btn-primary {
    background: var(--ink);
    border: none;
    color: var(--paper);
    font-weight: 600;
    border-radius: 2px;
}

.btn-primary:hover { background: var(--accent); color: #fff; }

.btn-outline-primary,
.btn-outline-secondary {
    border: 1px solid var(--ink);
    color: var(--ink);
    border-radius: 2px;
    font-weight: 600;
}

.btn-outline-primary:hover,
.btn-outline-secondary:hover { background: var(--ink); color: var(--paper); }

/* ----------------------------------------------------------------- cards */
.featured-news,
.category-section,
.single-post { background: transparent; }

.category-section.alt-bg { background: var(--paper); }

.news-card {
    background: var(--paper);
    border: 1px solid var(--rule);
    border-top: 1px solid var(--rule);
    border-radius: 2px;
    padding: 0 0 18px;
    overflow: hidden;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: box-shadow .2s ease, border-color .2s ease;
}

.news-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--rule-dark);
}

.news-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    filter: saturate(.92);
}

.news-card .date,
.news-card h4,
.news-card p { padding-inline: 18px; }

.news-card h4 {
    margin-top: 12px;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.28;
}

.news-card p {
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.6;
}

.widget a,
.news-card a { color: var(--ink) !important; }
.news-card a:hover { color: var(--accent) !important; }

.date {
    color: var(--ink-dim);
    font-size: 11.5px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
}

/* ------------------------------------------------------------- sponsored */
.sponsored-news {
    background: var(--ink);
    color: var(--paper);
    padding: 44px 0;
    border-radius: 2px;
    margin: 26px 0;
}

.sponsored-news .section-title {
    color: var(--paper);
    border-bottom-color: rgba(255, 255, 255, .5);
}

.sponsored-news .section-title::before { background: var(--accent-2); }

.sponsored-card {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 2px;
    padding: 0 0 16px;
    overflow: hidden;
    height: 100%;
    transition: background .2s ease;
}

.sponsored-card:hover { background: rgba(255, 255, 255, .11); }

.sponsored-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.sponsored-card .date,
.sponsored-card h4,
.sponsored-card p { padding-inline: 16px; }

.sponsored-card h4 { margin-top: 10px; font-size: 19px; }
.sponsored-card .date { color: #c4cbdd; }
.sponsored-card a { color: var(--paper) !important; }
.sponsored-card a:hover { color: #f0c8ce !important; }

/* --------------------------------------------------------------- pricing */
.pricing-section {
    background: var(--paper);
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    margin: 26px 0;
}

/* Centred, and with no rule for the accent to sit on. */
.pricing-section .section-title { color: var(--ink); text-align: center; border-bottom: none; }
.pricing-section .section-title::before { display: none; }
.section-subtitle { color: var(--ink-soft); }

.pricing-box {
    background: var(--paper-2);
    border: 1px solid var(--rule);
    border-top: 3px solid var(--ink);
    border-radius: 2px;
    box-shadow: none;
    transition: box-shadow .2s ease, transform .2s ease;
}

.pricing-box:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

.pricing-box.popular {
    background: var(--paper);
    border-top: 3px solid var(--accent);
    box-shadow: var(--shadow-lg);
}

.badge-popular {
    background: var(--ink);
    color: var(--paper);
    border-radius: 2px;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 14px;
}

.pricing-box.popular .badge-popular { background: var(--accent); }

.plan-name { color: var(--ink); font-weight: 800; }
.plan-desc { color: var(--ink-soft); font-weight: 600; }
.price { color: var(--ink); font-weight: 800; }
.currency { color: var(--accent); }
.duration { color: var(--ink-dim); }

.features li {
    color: var(--ink-soft);
    padding-bottom: 8px;
    border-bottom: 1px dotted var(--rule);
}

/* Inline pricing cards */
.pr-card  { border-radius: 2px; border: 1px solid rgba(255, 255, 255, .12); }
.pr-black { background: var(--ink) !important; }
.pr-red   { background: var(--accent) !important; }
.pr-btn, .pr-btn-white { border-radius: 2px; letter-spacing: 1px; }
.pr-btn-white { color: var(--accent); }

/* ----------------------------------------------------------- single post */
.post-category {
    display: inline-block;
    color: var(--accent);
    border-top: 2px solid var(--accent);
    padding: 8px 0 0;
    letter-spacing: 1.6px;
    font-size: 12px;
}

.post-title {
    color: var(--ink);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -1px;
}

.single-post article,
.single-post .col-12 {
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 2px;
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

/* Print-style opening line. */
.single-post article > p:first-of-type::first-letter,
.single-post .col-12 > p:first-of-type::first-letter {
    float: left;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 62px;
    line-height: .82;
    font-weight: 800;
    color: var(--accent);
    padding: 6px 10px 0 0;
}

.single-post p {
    color: #2b3448;
    font-size: 17.5px;
    line-height: 1.8;
}

.post-meta {
    color: var(--ink-dim);
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    padding: 10px 0;
    letter-spacing: .3px;
}

.post-hero,
.single-post img.img-fluid {
    border: 1px solid var(--rule);
    border-radius: 2px;
}

blockquote {
    border-left: 3px solid var(--accent);
    background: var(--accent-lt);
    border-radius: 0;
    padding: 18px 22px;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 19px;
    color: var(--ink-2);
}

.share-btn {
    border: 1px solid var(--rule-dark);
    color: var(--ink);
    background: var(--paper);
    border-radius: 2px;
}

.share-btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* --------------------------------------------------------------- sidebar */
.sidebar-widget {
    background: var(--paper);
    border: 1px solid var(--rule);
    border-top: 3px solid var(--ink);
    border-radius: 2px;
    box-shadow: var(--shadow-sm);
}

.sidebar-widget.bg-dark,
.sponsored-widget { background: var(--ink) !important; color: var(--paper); }

.widget-title {
    font-weight: 700;
    border-bottom: 1px solid var(--rule);
    padding-bottom: 8px;
}

.sponsored-widget .widget-title { border-bottom-color: rgba(255, 255, 255, .22); }
.sidebar-news img { border-radius: 2px; border: 1px solid var(--rule); }
.sidebar-news a { color: var(--ink); font-weight: 600; }
.sidebar-news a:hover { color: var(--accent); }
.sponsored-widget .sidebar-news a { color: var(--paper); }
.sponsored-widget .date { color: #c4cbdd; }

/* ---------------------------------------------------------------- footer */
.footer-widgets {
    background: var(--ink);
    border-bottom: none;
    border-top: 3px double rgba(255, 255, 255, .3);
}

.site-footer {
    background: #0f1930;
    border-top: none;
    color: #aab3c7;
}

.footer-widget h4 {
    color: var(--paper);
    font-weight: 700;
    letter-spacing: .3px;
    border-bottom: 1px solid rgba(255, 255, 255, .18);
    padding-bottom: 8px;
}

.footer-widget p,
.footer-widget ul li a { color: #aab3c7; }
.footer-widget ul li a:hover { color: #f0c8ce; }
footer a { color: #d7dcea; }

.social-icon {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 2px;
}

.social-icon:hover { background: var(--accent); border-color: transparent; }

/* ------------------------------------------------- forms / account pages */

/* Pull the stray pure-black and pure-white panels onto the ink/paper palette
   so the whole site reads as one print design. */
.bg-black { background: var(--ink) !important; }
.bg-white { background: var(--paper) !important; border: 1px solid var(--rule); }
.bg-light { background: var(--paper-2) !important; }
.list-group-item { border-color: var(--rule); }
.rounded, .rounded-3 { border-radius: 2px !important; }

.form-container,
.register-card,
.card,
.table-container {
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 2px;
    box-shadow: var(--shadow-sm);
}

.form-control,
.form-select {
    border: 1px solid var(--rule-dark);
    border-radius: 2px;
    background: var(--paper);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--ink);
    box-shadow: 0 0 0 .18rem rgba(20, 33, 61, .12);
}

.pkg-card { border: 1px solid var(--rule-dark); border-radius: 2px; background: var(--paper); }
.pkg-card:hover { border-color: var(--ink); }
.pkg-card.active { border-color: var(--accent); background: var(--accent-lt); }

.credit-chip {
    background: var(--accent-lt);
    color: var(--accent);
    border: 1px solid #e8ccd0;
    border-radius: 2px;
}

.step-rail div { border-radius: 2px; }
.step-rail div.on { background: var(--ink); }
.step-rail div.done { background: #1d6b46; }

.table-light th {
    background: var(--paper-2);
    color: var(--ink);
    border-color: var(--rule);
    letter-spacing: .4px;
    text-transform: uppercase;
    font-size: 12.5px;
}

.alert { border-radius: 2px; }
.alert-success { border-left: 3px solid #1d6b46; }
.alert-danger  { border-left: 3px solid var(--accent); }
.alert-warning { border-left: 3px solid #b58900; }
.alert-info    { border-left: 3px solid var(--ink); }

/* ================================================================ mobile */
@media (max-width: 991px) {
    .navbar-collapse {
        background: var(--paper);
        border: 1px solid var(--rule);
        padding: 10px 14px;
        margin-top: 12px;
    }

    .navbar-nav .nav-link {
        border-bottom: 1px solid var(--rule);
        border-left: 2px solid transparent;
    }

    .navbar-nav .nav-link:hover { border-left-color: var(--accent); }
}

@media (max-width: 768px) {
    .site-header { padding-top: 14px; }

    .sponsored-news { border-radius: 0; margin-inline: -12px; }

    .single-post article,
    .single-post .col-12 { padding: 22px; }

    .single-post article > p:first-of-type::first-letter,
    .single-post .col-12 > p:first-of-type::first-letter { font-size: 46px; }

    .section-title,
    .category-title { font-size: 22px; }

    .news-card h4 { font-size: 18px; }

    .post-title { letter-spacing: -.4px; }
}

@media (max-width: 480px) {
    .news-card img,
    .sponsored-card img { aspect-ratio: 16 / 10; }
}

@media (prefers-reduced-motion: reduce) {
    .news-card, .sponsored-card, .pricing-box { transition: none; }
    .pricing-box:hover { transform: none; }
}

/* ------------------------------------------------------ release body ---- */
.post-summary {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 21px;
    line-height: 1.5;
    font-style: italic;
    color: var(--ink-2);
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    padding: 18px 0;
    margin: 26px 0;
}
.post-body p { font-size: 17.5px; line-height: 1.8; color: #2b3448; margin-bottom: 20px; }
.post-body a { color: var(--accent); border-bottom: 1px solid rgba(140, 29, 44, .3); }
.post-body img { border: 1px solid var(--rule); margin: 8px 0; }
.post-body li { margin-bottom: 7px; line-height: 1.7; }
.post-body h2, .post-body h3, .post-body h4 {
    font-family: "Playfair Display", Georgia, serif; color: var(--ink); margin-top: 30px;
}
.post-body td, .post-body th { border-color: var(--rule); }
/* The drop cap belongs on the body's first paragraph now. */
.post-body > p:first-of-type::first-letter {
    float: left;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 62px; line-height: .82; font-weight: 800;
    color: var(--accent); padding: 6px 10px 0 0;
}
@media (max-width: 768px) {
    .post-summary { font-size: 18px; padding: 14px 0; margin: 18px 0; }
    .post-body p  { font-size: 16.5px; margin-bottom: 17px; }
    .post-body > p:first-of-type::first-letter { font-size: 46px; }
}
