/* =========================================================
   LUMICRIB — NEWS SINGLE ARTICLE ONLY
   This stylesheet is for single.php.

   Archive-page styles have intentionally been removed.
   Keep this file separate from the News Archive stylesheet.
   ========================================================= */

/* ---------------------------------------------------------
   SINGLE PAGE CONTAINER + TWO-COLUMN LAYOUT
   --------------------------------------------------------- */

.lc-news-single {
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.lc-news-article {
    min-width: 0;
    width: 100%;
    padding: 0 0 20px;
    box-sizing: border-box;
}

/* ---------------------------------------------------------
   GENERATEPRESS / WORDPRESS DEFAULT SIDEBAR
   --------------------------------------------------------- */

/* ---------------------------------------------------------
   BREADCRUMB
   --------------------------------------------------------- */

/* Breadcrumb: shared .ls-crumbs in global.css. */

/* ---------------------------------------------------------
   ARTICLE HEADER / TITLE BOX
   --------------------------------------------------------- */

.lc-news-article-header {
    width: 100%;
    margin: 0 0 24px;
    padding: 22px 24px 20px;
    border: 1px solid #DCE5EF;
    border-radius: 8px;
    background: #FFFFFF;
    box-shadow: 0 2px 8px rgba(7, 29, 51, .035);
    box-sizing: border-box;
}

.lc-news-article-header h1 {
    max-width: none;
    margin: 0 0 12px;
    color: #071D33;
}

.lc-news-article-excerpt {
    max-width: none;
    margin: 0;
    color: #526477;
    font-size: 17px;
    line-height: 1.65;
}

/* ---------------------------------------------------------
   ARTICLE META

   Left:
   Author • Date • Reading time • Views

   Right:
   Category
   --------------------------------------------------------- */

.lc-news-article-meta {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    width: 100%;
    gap: 10px;
    margin-top: 19px;
    color: #6B7D90;
    font-size: 12px;
    line-height: 1.4;
    box-sizing: border-box;
}

/* Author stays with the left-side metadata. */

.lc-news-article-meta .lc-news-author {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    margin: 0;
}

.lc-news-author-avatar {
    width: 30px !important;
    height: 30px !important;
    flex: 0 0 30px;
    border-radius: 50%;
}

.lc-news-author strong {
    display: inline;
    margin: 0;
    color: #071D33;
    font-size: 12px;
    line-height: 1.4;
}

.lc-news-author small {
    display: none;
}

/* Date, separators, reading time and views remain on the left. */

.lc-news-article-meta > span:not(.lc-news-author) {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    margin: 0;
    white-space: nowrap;
}

.lc-news-article-meta > span[aria-hidden="true"] {
    color: #A4B2C0;
}

/* Category is pushed to the extreme right. */

.lc-news-article-meta .lc-news-category {
    display: inline-flex;
    align-items: center;
    align-self: center;
    flex: 0 0 auto;
    order: 20;
    margin: 0 0 0 auto;
    padding: 5px 9px;
    border-radius: 4px;
    background: #EEF6FF;
    color: #0878E8 !important;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: .45px;
    text-transform: uppercase;
    text-decoration: none !important;
    white-space: nowrap;
}

.lc-news-article-meta .lc-news-category:hover {
    background: #0878E8;
    color: #FFFFFF !important;
}

/* ---------------------------------------------------------
   FEATURED IMAGE
   --------------------------------------------------------- */

.lc-news-article-featured-image {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0 0 30px;
    padding: 0;
    overflow: hidden;
    border: 1px solid #DCE5EF;
    border-radius: 8px;
    background: #F3F7FB;
    box-sizing: border-box;
}

.lc-news-article-featured-image img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 620px;
    margin: 0;
    object-fit: cover;
}

/* ---------------------------------------------------------
   ARTICLE BODY

   Same width as the featured image — no narrower max-width.
   --------------------------------------------------------- */

.lc-news-article-body {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    color: #243B53;
    box-sizing: border-box;
}

.lc-news-article-body > *:first-child {
    margin-top: 0;
}

.lc-news-article-body h2,
.lc-news-article-body h3,
.lc-news-article-body h4 {
    color: #071D33;
}

.lc-news-article-body h2 {
    margin-top: 32px;
    margin-bottom: 14px;
}

.lc-news-article-body h3 {
    margin-top: 28px;
    margin-bottom: 12px;
}

.lc-news-article-body h4 {
    margin-top: 24px;
    margin-bottom: 10px;
}

.lc-news-article-body p {
    margin: 0 0 20px;
}

.lc-news-article-body a {
    color: #0878E8;
}

.lc-news-article-body img {
    display: block;
    height: auto;
    max-width: 100%;
    border-radius: 6px;
}

.lc-news-article-body ul,
.lc-news-article-body ol {
    margin-bottom: 20px;
}

.lc-news-article-body blockquote {
    margin: 25px 0;
    padding: 16px 20px;
    border-left: 4px solid #0878E8;
    background: #F4F9FE;
    color: #23405d;
}

.lc-news-article-body table {
    width: 100%;
    margin: 24px 0;
    border-collapse: collapse;
}

.lc-news-article-body th,
.lc-news-article-body td {
    padding: 10px 12px;
    border: 1px solid #DCE5EF;
    text-align: left;
}

.lc-news-article-body th {
    color: #071D33;
    background: #F4F8FC;
    font-weight: 700;
}

/* ---------------------------------------------------------
   TAGS + SHARE
   --------------------------------------------------------- */

.lc-news-article-footer {
    width: 100%;
    margin: 26px 0 0;
    box-sizing: border-box;
}

/* Topics in this story: white chips with a blue #, story count, soft hover (text stays dark). */
.lc-news-tags { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; background: #fff; border: 1px solid #e1e9f4; border-radius: 14px; }
.lc-news-tags-title { display: inline-flex; align-items: center; gap: 8px; color: #071D33; font-size: 13px; font-weight: 800; letter-spacing: .2px; }
.lc-news-tags-title svg { width: 18px; height: 18px; fill: none; stroke: #0b5fd8; stroke-width: 2; stroke-linejoin: round; }
.lc-news-tags-title svg circle { fill: #0b5fd8; stroke: none; }
.lc-news-tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.lc-news-tag-list li { margin: 0; padding: 0; }
.lc-news-tags a.lc-news-tag {
    display: inline-flex; align-items: center; gap: 4px; min-height: 34px; padding: 0 12px 0 10px;
    border: 1px solid #d3deee; border-radius: 999px; background: #f6f9fe;
    color: #071D33 !important; font-size: 13px; font-weight: 700; line-height: 1; text-decoration: none !important;
    transition: background-color .15s, border-color .15s;
}
.lc-news-tag-hash { color: #0b5fd8; font-weight: 800; }
.lc-news-tag-count { margin-left: 4px; padding: 2px 7px; border-radius: 999px; background: #e3ecfa; color: #0b5fd8; font-size: 11px; font-weight: 800; }
.lc-news-tags a.lc-news-tag:hover, .lc-news-tags a.lc-news-tag:focus-visible { background: #eaf2ff; border-color: #0b5fd8; color: #071D33 !important; outline: none; }
.lc-news-tags a.lc-news-tag:focus-visible { box-shadow: 0 0 0 3px rgba(11, 95, 216, .2); }
.lc-news-tags a.lc-news-tag:hover .lc-news-tag-count { background: #0b5fd8; color: #fff; }

/* ---------------------------------------------------------
   RELATED NEWS
   --------------------------------------------------------- */

.lc-news-related {
    width: 100%;
    margin-top: 42px;
}

.lc-news-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 16px;
    padding-bottom: 9px;
    border-bottom: 2px solid #DCE5EF;
}

.lc-news-section-heading h2 {
    position: relative;
    margin: 0;
    padding-bottom: 2px;
    color: #071D33;
    font-size: 18px;
    font-weight: 800;
}

.lc-news-section-heading h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -11px;
    width: 44px;
    height: 3px;
    background: #0878E8;
}

.lc-news-section-heading a {
    color: #0878E8 !important;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
}

.lc-news-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.lc-news-related-card {
    display: grid;
    grid-template-columns: 105px minmax(0, 1fr);
    gap: 12px;
    min-width: 0;
    padding: 10px;
    border: 1px solid #DCE5EF;
    border-radius: 6px;
    background: #FFFFFF;
}

.lc-news-related-image {
    display: block;
    width: 105px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 5px;
    background: #F3F7FB;
}

.lc-news-related-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lc-news-related-card span {
    color: #718196;
    font-size: 9px;
}

.lc-news-related-card h3 {
    margin: 5px 0 0;
    color: #071D33;
    font-size: 12px;
    line-height: 1.4;
}

.lc-news-related-card h3 a {
    color: inherit;
    text-decoration: none;
}

.lc-news-related-card h3 a:hover {
    color: #0878E8;
}

/* ---------------------------------------------------------
   RESPONSIVE — TABLET
   --------------------------------------------------------- */

@media (max-width: 1000px) {
    

    

    .lc-news-related-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------------------------------------------------------
   RESPONSIVE — MOBILE
   --------------------------------------------------------- */

@media (max-width: 760px) {
    

    

    .lc-news-main,
    .lc-news-article {
        width: 100%;
        min-width: 0;
    }

    .lc-news-article-header {
        margin-bottom: 20px;
        padding: 18px 18px 17px;
    }

    

    .lc-news-article-excerpt {
        font-size: 15px;
        line-height: 1.6;
    }

    .lc-news-article-meta {
        flex-wrap: wrap;
        gap: 7px;
    }

    .lc-news-article-meta .lc-news-category {
        margin-left: auto;
    }

    .lc-news-article-featured-image,
    .lc-news-article-body {
        width: 100%;
        max-width: 100%;
    }

    

    .lc-news-tags { padding: 12px; }
}

/* ---------------------------------------------------------
   RESPONSIVE — SMALL PHONES
   --------------------------------------------------------- */

@media (max-width: 560px) {
    .lc-news-article-header {
        padding: 16px;
    }

    

    .lc-news-article-meta {
        gap: 6px;
        font-size: 11px;
    }

    .lc-news-author-avatar {
        width: 26px !important;
        height: 26px !important;
        flex-basis: 26px;
    }

    .lc-news-author strong {
        font-size: 11px;
    }

    .lc-news-article-meta .lc-news-category {
        font-size: 9px;
        padding: 4px 7px;
    }

    .lc-news-related-card {
        grid-template-columns: 90px minmax(0, 1fr);
    }

    .lc-news-related-image {
        width: 90px;
    }
}

/* Final single-news footer spacing */
.lc-news-article {
    padding-bottom: 20px;
}
@media (max-width: 760px) {
    .lc-news-article {
        padding-bottom: 10px;
    }
}

/* Shared tiered eye-icon view counter (news single and related metadata). */
.lumischema-views {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 650;
}
.lumischema-views-icon {
    display: inline-block;
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.lumischema-views-count { display: inline-block; }
/* View-count colours live in global.css (one place for every page). */

/* =========================================================
   SINGLE NEWS: USE ONE TWO-COLUMN LAYOUT
   The sidebar is rendered inside .lc-news-layout in single.php.
   Keep GeneratePress's outer wrapper full-width so it does not
   squeeze the nested article/sidebar grid into the content column.
   ========================================================= */

body.single-post .lc-news-layout > #secondary .widget,
body.single-post .lc-news-layout > #secondary .widget * {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}
body.single-post .lc-news-layout > #secondary img,
body.single-post .lc-news-layout > #secondary iframe,
body.single-post .lc-news-layout > #secondary video {
    max-width: 100%;
    height: auto;
}
body.single-post .lc-news-layout > #secondary a {
    overflow-wrap: anywhere;
    word-break: normal;
}


/* =========================================================
   NEWS HERO (design C)
   Navy band: JUST IN (published < 24h) or NEWS label, category, "Published X ago"
   (< 7 days), white headline, excerpt, author line. The featured image, framed in
   white, overlaps the bottom of the band; caption under it.
   ========================================================= */
.ls-nhero {
    margin: 0 0 24px;
    border: 1px solid #d6e4fb;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 24px rgba(7, 29, 51, .08);
}
.ls-nhero-band { padding: 22px 24px 88px; background: #071D33; color: #dbe4f0; }
.ls-nhero.is-noimage .ls-nhero-band { padding-bottom: 22px; }
.ls-nhero-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 12px; }
.ls-nhero-flag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 6px; background: #c62828; color: #fff !important; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-decoration: none !important; }
.ls-nhero-dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: ls-nhero-pulse 1.6s ease-in-out infinite; }
@keyframes ls-nhero-pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .ls-nhero-dot { animation: none; } }
.ls-nhero-cat { display: inline-flex; padding: 3px 10px; border-radius: 6px; background: #0b5fd8; color: #fff !important; font-size: 12px; font-weight: 700; text-decoration: none !important; }
.ls-nhero-cat:hover { background: #0849a8; }
.ls-nhero-when { color: #9fb0c8; font-size: 12px; }
.ls-nhero h1 { margin: 0 0 10px; color: #fff; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.18; font-weight: 800; letter-spacing: -.4px; }
.ls-nhero-excerpt { max-width: 720px; margin: 0 0 14px; color: #b7c4d8; font-size: 15px; line-height: 1.6; }
.ls-nhero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; color: #b7c4d8; font-size: 12px; }
.ls-nhero-author { display: inline-flex; align-items: center; gap: 8px; }
.ls-nhero-author img { width: 30px; height: 30px; border-radius: 50%; }
.ls-nhero-author a { color: #fff !important; font-weight: 700; text-decoration: none !important; }
.ls-nhero-meta .lc-news-views { display: inline-flex; align-items: center; gap: 4px; color: inherit; }
.ls-nhero-meta .lc-news-views svg { stroke: currentColor; }
.ls-nhero-figure { margin: -70px 24px 0; }
.ls-nhero-photo { overflow: hidden; border: 4px solid #fff; border-radius: 12px; background: #dfe7f3; box-shadow: 0 8px 22px rgba(7, 29, 51, .18); }
.ls-nhero-photo img { display: block; width: 100%; height: auto; max-height: 460px; object-fit: cover; }
.ls-nhero-figure figcaption { padding: 6px 2px 14px; color: #667085; font-size: 12px; line-height: 1.5; }
.ls-nhero-figure:not(:has(figcaption)) { padding-bottom: 18px; }

@media (max-width: 760px) {
    .ls-nhero-band { padding: 16px 16px 64px; }
    .ls-nhero.is-noimage .ls-nhero-band { padding-bottom: 16px; }
    .ls-nhero-excerpt { font-size: 14px; }
    .ls-nhero-figure { margin: -48px 12px 0; }
    .ls-nhero-photo { border-width: 3px; }
}

/* =========================================================
   KEEP READING (Related 2): navy header, up to 4 stories in 2 columns,
   big faded number, category, headline, date + read time, small photo.
   ========================================================= */
.ls-keep { margin: 28px 0 0; border: 1px solid #d6e4fb; border-radius: 14px; overflow: hidden; background: #fff; }
.ls-keep-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; background: #071D33; }
.ls-keep-head h2 { margin: 0; color: #fff; font-size: 17px; font-weight: 800; line-height: 1.2; }
.ls-keep-head a { color: #9cc8ff; font-size: 12px; font-weight: 700; text-decoration: none; }
.ls-keep-head a:hover { color: #fff; }
.ls-keep-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; margin: 0; padding: 4px 18px 6px; list-style: none; }
.ls-keep-item { display: flex; align-items: center; gap: 12px; margin: 0; padding: 12px 0; border-bottom: 1px solid #edf2fa; }
.ls-keep-item:nth-last-child(-n+2) { border-bottom: 0; }
.ls-keep-num { flex: 0 0 28px; color: #c3d3ea; font-size: 26px; font-weight: 800; line-height: 1; }
.ls-keep-link { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.ls-keep-text { min-width: 0; }
.ls-keep-cat { display: block; margin-bottom: 3px; color: #0b5fd8; font-size: 11px; font-weight: 700; }
.ls-keep-text strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: #071D33; font-size: 13px; line-height: 1.35; }
.ls-keep-link:hover strong { color: #0b5fd8; }
.ls-keep-when { display: block; margin-top: 3px; color: #667085; font-size: 11px; }
.ls-keep-thumb { margin-left: auto; flex: 0 0 72px; height: 54px; border-radius: 8px; overflow: hidden; background: #dfe7f3; }
.ls-keep-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 640px) {
    .ls-keep-list { grid-template-columns: minmax(0, 1fr); }
    .ls-keep-item:nth-last-child(2) { border-bottom: 1px solid #edf2fa; }
    .ls-keep-head { padding: 12px 14px; }
    .ls-keep-list { padding: 2px 14px 4px; }
}
/* Keep Reading: no underline on hover / focus (overrides article link styles). */
.ls-keep a,
.ls-keep a:hover,
.ls-keep a:focus,
.ls-keep a:hover strong,
.ls-keep a:focus strong { text-decoration: none !important; }
