/* =========================================================
   สหกรณ์ออมทรัพย์ตำรวจภูธรจังหวัดลำปาง จำกัด
   Modern theme — "Ledger & Seal"
   Palette: Navy (authority) / Forest (growth) / Brass (seal & accent)
   ========================================================= */

:root{
  --navy:        #16243D;
  --navy-deep:   #0E1830;
  --navy-soft:   #233A5E;
  --forest:      #2F5D50;
  --forest-soft: #DCE9E4;
  --brass:       #C9A227;
  --brass-light: #E8CE82;
  --cream:       #F7F4ED;
  --paper:       #FFFFFF;
  --ink:         #232A33;
  --muted:       #6E7787;
  --border:      #E4DECE;

  --font-display: 'Noto Serif Thai', serif;
  --font-body: 'IBM Plex Sans Thai', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius: 14px;
  --shadow-soft: 0 8px 24px rgba(22, 36, 61, 0.08);
  --shadow-lift: 0 14px 34px rgba(22, 36, 61, 0.14);
}

*{ box-sizing: border-box; }

html, body{
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  font-size: 16px;
  line-height: 1.7;
}

h1,h2,h3,h4,.font-display{
  font-family: var(--font-display);
  color: var(--navy);
  letter-spacing: 0.01em;
}

a{ text-decoration: none; }
a:focus, button:focus, .navbar-toggler:focus{
  outline: 3px solid var(--brass-light);
  outline-offset: 2px;
}

img{ max-width: 100%; }

/* ---------- Top utility bar ---------- */
.topbar{
  background: var(--navy-deep);
  color: #cfd6e4;
  font-size: 0.85rem;
}
.topbar .container{
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding-top: 6px;
  padding-bottom: 6px;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar a{ color:#cfd6e4; }
.topbar a:hover{ color: var(--brass-light); }
.topbar .topbar-item{ display:flex; align-items:center; gap:6px; margin-right: 18px; }
.topbar .topbar-item:last-child{ margin-right:0; }
.topbar .social-link{
  display:inline-flex; align-items:center; justify-content:center;
  width:28px; height:28px;
  transition: background .2s ease, transform .2s ease;
}
.topbar .social-link:hover{ background: var(--brass); transform: translateY(-1px); }
.topbar .social-link img{ width:24px; height:24px; }

/* ---------- Header / Brand ---------- */
.site-header{
  background: var(--paper);
  border-bottom: 1px solid var(--border);
}
.site-header .container{
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 18px;
}
.brand{
  display:flex;
  align-items:center;
  gap: 16px;
}
.brand-logo{
  width: 120px;
  height: 120px;
  padding: 4px;
  background: var(--paper);
  object-fit: contain;
  flex-shrink:0;
}
.brand-text .eyebrow{
  display:block;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--brass);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 2px;
}
.brand-text h1{
  font-size: 1.35rem;
  margin: 0;
  line-height: 1.35;
}
.brand-text .sub{
  font-size: 0.85rem;
  color: var(--muted);
}
.header-aside{
  text-align: right;
  font-size: 0.92rem;
  color: var(--navy-soft);
}
.header-aside strong{ color: var(--navy); }

@media (max-width: 767px){
  .header-aside{ display:none; }

  .site-header .container{
    padding-top: 14px;
    padding-bottom: 14px;
    gap: 12px;
  }
  .brand{
    gap: 12px;
  }
  .brand-logo{
    width: 64px;
    height: 64px;
    padding: 2px;
  }
  .brand-text{
    min-width: 0;
  }
  .brand-text .eyebrow{
    font-size: 0.62rem;
    letter-spacing: 0.06em;
    word-break: break-word;
  }
  .brand-text h1{
    font-size: 1rem;
    line-height: 1.3;
  }
  .brand-text .sub{
    font-size: 0.75rem;
  }
}

@media (max-width: 400px){
  .brand-logo{
    width: 52px;
    height: 52px;
  }
  .brand-text h1{
    font-size: 0.9rem;
  }
  .brand-text .eyebrow{
    font-size: 0.58rem;
  }
}

/* ---------- Navigation ---------- */
.main-nav{
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 1030;
  box-shadow: 0 2px 10px rgba(0,0,0,0.12);
}
.main-nav .navbar{ padding: 0; }
.main-nav .navbar-brand-img{
  display:flex;
  align-items:center;
  justify-content:center;
  width: 52px;
  height: 52px;
  background: var(--brass);
  border-radius: 8px;
  margin: 8px 12px 8px 0;
  transition: background .2s ease;
}
.main-nav .navbar-brand-img:hover{ background: var(--brass-light); }
.main-nav .navbar-brand-img img{ width: 26px; height: 26px; filter: brightness(0) saturate(100%); }

.main-nav .nav-link,
.main-nav .navbar-nav > li > a{
  color: #E7ECF5 !important;
  font-weight: 500;
  padding: 18px 16px !important;
  transition: color .2s ease, background .2s ease;
}
.main-nav .navbar-nav > li > a:hover,
.main-nav .navbar-nav > li > a:focus{
  color: var(--brass-light) !important;
  background: rgba(255,255,255,0.04);
}
.main-nav .dropdown-menu{
  background: var(--navy-soft);
  border: none;
  border-radius: 0 0 10px 10px;
  margin-top: 0;
  box-shadow: var(--shadow-lift);
}
.main-nav .dropdown-menu > li > a{
  color: #E7ECF5;
  padding: 10px 18px;
  font-size: 0.94rem;
}
.main-nav .dropdown-menu > li > a:hover{
  background: var(--brass);
  color: var(--navy-deep);
}
.main-nav .navbar-toggler{
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 6px;
}
.main-nav .navbar-toggler-icon{
  filter: invert(1);
}

/* ---------- Hero / Carousel ---------- */
.hero-section{
  background-color: #f0f4f8;
  padding: 0;
}
.hero-section .carousel-item{
  height: 100%;
}
.hero-section .carousel-item img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-caption{
  position:absolute;
  left:0; right:0; bottom:0;
  padding: 28px 5% 26px;
  background: linear-gradient(180deg, rgba(14,24,48,0) 0%, rgba(14,24,48,0.85) 100%);
  text-align: left;
}
.hero-caption .eyebrow-pill{
  display:inline-block;
  background: var(--brass);
  color: var(--navy-deep);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.hero-caption a.hero-title{
  display:block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: #fff;
  font-weight: 700;
  line-height: 1.4;
}
.hero-caption a.hero-title:hover{ color: var(--brass-light); }

.hero-section .carousel-control-prev,
.hero-section .carousel-control-next{
  width: 6%;
  opacity: 0.85;
}
.hero-section .carousel-control-prev-icon,
.hero-section .carousel-control-next-icon{
  background-color: rgba(22,36,61,0.55);
  border-radius: 50%;
  padding: 18px;
  background-size: 50%;
}
.hero-section .carousel-indicators [data-bs-target]{
  background-color: rgba(255,255,255,0.5);
  width: 9px; height: 9px; border-radius: 50%;
  border: none;
}
.hero-section .carousel-indicators .active{
  background-color: var(--brass);
}

/* Hero Carousel — responsive height + crop */
.hero-section .carousel-item{
  height: 480px;          /* Desktop / PC */
  overflow: hidden;
}
.carousel-inner .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #f0f4f8;
    display: block;
}

/* Tablet */
@media (max-width: 991px){
  .hero-section .carousel-item{ height: 360px; }
}

/* Mobile */
@media (max-width: 767px){
  .hero-section .carousel-item{ height: 230px; }
  .hero-caption a.hero-title{ font-size: 1.05rem; }
}

/* Mobile เล็ก */
@media (max-width: 400px){
  .hero-section .carousel-item{ height: 190px; }
}

/* ---------- Section headers ---------- */
.section-head{
  display:flex;
  align-items:center;
  gap: 14px;
  margin: 0 0 22px;
}
.section-head .bar{
  width: 6px;
  height: 28px;
  background: var(--brass);
  border-radius: 3px;
  flex-shrink:0;
}
.section-head h2{
  font-size: 1.35rem;
  margin: 0;
}
.section-head .line{
  flex:1;
  height:1px;
  background: var(--border);
}

/* ---------- Services grid ---------- */
.services-section{
  background: var(--paper);
  padding: 48px 0;
}
.service-card{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap: 10px;
  padding: 22px 10px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  height: 100%;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  color: var(--ink);
}
.service-card:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: var(--brass);
}
.service-icon{
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--forest-soft);
  display:flex;
  align-items:center;
  justify-content:center;
}
.service-icon img{ width: 32px; height: 32px; object-fit:contain; }
.service-title{
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
}

/* ---------- Content layout ---------- */
.content-section{ padding: 48px 0 56px; }

/* News list */
.news-card{
  display:flex;
  gap: 16px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  margin-bottom: 14px;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.news-card:hover{
  box-shadow: var(--shadow-soft);
  border-color: var(--brass);
}
.news-thumb{
  width: 140px;
  height: 100px;
  flex-shrink:0;
  border-radius: 10px;
  overflow:hidden;
  background: var(--forest-soft);
}
.news-thumb img{
  width:100%; height:100%; object-fit:cover;
}
.news-body{ flex:1; min-width:0; }
.news-body .news-link{
  font-weight: 600;
  color: var(--navy);
  font-size: 1.02rem;
  display:block;
  margin-bottom: 6px;
}
.news-body .news-link:hover{ color: var(--forest); }
.news-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap: 8px;
  margin-top: 10px;
}
.news-date{
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--muted);
}
.news-readmore{
  font-size: 0.85rem;
  font-weight:600;
  color: var(--forest);
  border:1px solid var(--forest);
  border-radius: 999px;
  padding: 3px 14px;
  transition: background .2s ease, color .2s ease;
}
.news-readmore:hover{ background: var(--forest); color:#fff; }
.badge-new{
  display:inline-block;
  background: var(--brass);
  color: var(--navy-deep);
  font-size: 0.68rem;
  font-weight:700;
  letter-spacing: .06em;
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 8px;
  vertical-align: middle;
}
.view-all-link{
  display:inline-block;
  margin-top: 6px;
  font-weight:600;
  color: var(--navy);
  border-bottom: 2px solid var(--brass);
  padding-bottom: 2px;
}
.view-all-link:hover{ color: var(--forest); }

/* ---------- Ledger cards (interest rates) — signature element ---------- */
.ledger-card{
  position: relative;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 22px 18px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.ledger-card::before{
  content:"";
  position:absolute;
  top:0; left:0; right:0;
  height: 4px;
  background: linear-gradient(90deg, var(--brass) 0%, var(--forest) 100%);
}
.ledger-stamp{
  position:absolute;
  top: 16px; right: 16px;
  width: 64px; height: 64px;
  border: 2px dashed var(--brass);
  border-radius: 50%;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight:700;
  color: var(--brass);
  letter-spacing: 0.05em;
  transform: rotate(-10deg);
  line-height: 1.1;
  padding: 4px;
}
.ledger-card h3{
  font-size: 1.08rem;
  margin: 0 0 14px;
  padding-right: 70px;
}
.ledger-row{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  padding: 9px 0;
  border-bottom: 1px dashed var(--border);
  gap: 12px;
}
.ledger-row:last-child{ border-bottom:none; }
.ledger-row .ledger-name{
  font-size: 0.92rem;
  color: var(--ink);
}
.ledger-row .ledger-rate{
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--forest);
  white-space: nowrap;
}
.ledger-row .ledger-rate::after{
  content: " %";
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
}
.ledger-head-row{
  display:flex;
  justify-content:space-between;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2px;
}

/* Stats card */
.stats-card{
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 24px;
}
.stats-card h3{
  color: #fff;
  font-size: 1.08rem;
  margin: 0 0 14px;
}
.stats-row{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.15);
}
.stats-row:last-child{ border-bottom:none; }
.stats-row .stats-label{ font-size: 0.88rem; color: #cfd6e4; }
.stats-row .stats-value{
  font-family: var(--font-mono);
  font-weight:700;
  font-size: 1.05rem;
  color: var(--brass-light);
}
.stats-row .stats-unit{ font-size: 0.75rem; color:#9fb0c8; margin-left:4px; }

/* Side widget card (weblinks / journal) */
.side-card{
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 24px;
}
.side-card h3{
  font-size: 1.05rem;
  margin: 0 0 12px;
}
.weblink-list{
  list-style:none;
  margin:0; padding:0;
}
.weblink-list li{
  border-bottom: 1px solid var(--border);
}
.weblink-list li:last-child{ border-bottom:none; }
.weblink-list a{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 9px 0;
  color: var(--ink);
  font-size: 0.92rem;
  transition: color .2s ease, padding-left .2s ease;
}
.weblink-list a:hover{
  color: var(--forest);
  padding-left: 4px;
}
.weblink-list a img{ width: 8px; height:8px; opacity:0.6; }

.journal-empty{
  text-align:center;
  padding: 18px 8px;
  color: var(--muted);
  font-size: 0.9rem;
}
.journal-empty a{
  display:inline-block;
  margin-top: 10px;
  font-weight:600;
  color: var(--forest);
  border-bottom: 2px solid var(--brass);
}

/* Facebook widget */
.fb-card{
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  text-align:center;
}

/* ---------- Footer ---------- */
.site-footer{
  background: var(--navy-deep);
  color: #cfd6e4;
  padding: 40px 0 24px;
}
.footer-grid{
  display:flex;
  flex-wrap:wrap;
  gap: 28px;
  align-items:flex-start;
  justify-content: space-between;
}
.footer-brand{
  display:flex;
  align-items:center;
  gap: 14px;
  max-width: 420px;
}
.footer-brand img{
  width: 56px; height:56px;
  padding:3px;
  flex-shrink:0;
}
.footer-brand h3{
  color:#fff;
  font-size: 1.05rem;
  margin:0 0 4px;
}
.footer-brand p{
  margin:0;
  font-size: 0.88rem;
  color: #9fb0c8;
  line-height:1.6;
}
.footer-contact{
  font-size: 0.9rem;
}
.footer-contact div{ margin-bottom: 6px; display:flex; gap:8px; align-items:flex-start;}
.footer-contact strong{ color:#fff; }
.footer-bottom{
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 28px;
  padding-top: 16px;
  text-align:center;
  font-size: 0.8rem;
  color: #8493ae;
}

/* ---------- Utility ---------- */
.text-brass{ color: var(--brass) !important; }
.bg-cream{ background: var(--cream); }

/* =========================================================
   SERVICES v2 — Icon grid + Login panel (matching Image 1)
   ========================================================= */

.services-v2-section {
  background: var(--cream);
  padding: 40px 0;
}

/* Outer wrapper: icon grid left, login right */
.services-v2-wrapper {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 28px;
  align-items: start;
}
@media (max-width: 991px) {
  .services-v2-wrapper { grid-template-columns: 1fr; }
}

/* Icon grid 3 × 2 */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
@media (max-width: 575px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}

.service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 30px 16px;
  text-align: center;
  color: var(--navy);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background .2s ease, color .2s ease;
  position: relative;
}
.service-item:nth-child(3n) { border-right: none; }
.service-item:nth-last-child(-n+3) { border-bottom: none; }
@media (max-width: 575px) {
  .service-item:nth-child(3n) { border-right: 1px solid var(--border); }
  .service-item:nth-child(2n) { border-right: none; }
  .service-item:nth-last-child(-n+3) { border-bottom: 1px solid var(--border); }
  .service-item:nth-last-child(-n+2) { border-bottom: none; }
}

.service-item:hover {
  background: var(--navy);
  color: #fff;
}
.service-item:hover .svc-icon-wrap { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.3); }
.service-item:hover .svc-icon-wrap img { filter: brightness(0) invert(1); }
.service-item:hover .svc-label { color: #fff; }

.svc-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  transition: background .22s ease, color .22s ease;
}
.svc-icon-wrap.ic-navy   { background: #EBF0F8; color: #16243D; }
.svc-icon-wrap.ic-forest { background: #DCE9E4; color: #2F5D50; }
.svc-icon-wrap.ic-brass  { background: #F5EDD5; color: #9B7A10; }
.svc-icon-wrap.ic-teal   { background: #E1F5EE; color: #0F6E56; }
.svc-icon-wrap.ic-coral  { background: #FAECE7; color: #993C1D; }
.svc-icon-wrap.ic-purple { background: #EEEDFE; color: #3C3489; }

.service-item:hover .svc-icon-wrap.ic-navy   { background: #16243D; color: #fff; }
.service-item:hover .svc-icon-wrap.ic-forest { background: #2F5D50; color: #fff; }
.service-item:hover .svc-icon-wrap.ic-brass  { background: #C9A227; color: #fff; }
.service-item:hover .svc-icon-wrap.ic-teal   { background: #0F6E56; color: #fff; }
.service-item:hover .svc-icon-wrap.ic-coral  { background: #993C1D; color: #fff; }
.service-item:hover .svc-icon-wrap.ic-purple { background: #3C3489; color: #fff; }

.svc-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.35;
  transition: color .2s ease;
}

/* Login panel */
.login-panel {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow-soft);
}
.login-panel h3 {
  font-size: 1.08rem;
  margin: 0 0 18px;
  color: var(--navy);
}
.login-panel .form-control {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.92rem;
  margin-bottom: 12px;
  width: 100%;
  color: var(--ink);
  background: var(--cream);
  transition: border-color .2s ease;
}
.login-panel .form-control:focus {
  outline: none;
  border-color: var(--navy-soft);
  background: var(--paper);
}
.login-panel .form-control::placeholder { color: var(--muted); }
.login-btn {
  display: block;
  width: 100%;
  padding: 11px;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s ease, transform .15s ease;
  font-family: var(--font-body);
  margin-bottom: 14px;
}
.login-btn:hover { background: var(--navy-soft); transform: translateY(-1px); }
.login-links {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
}
.login-links a { color: var(--muted); }
.login-links a:hover { color: var(--forest); }

/* =========================================================
   NEWS GRID v2 — 3-column card layout (matching Image 2)
   ========================================================= */

.news-v2-section {
  background: var(--paper);
  padding: 48px 0 56px;
}

.news-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.news-section-head h2 {
  font-size: 1.4rem;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.news-section-head h2::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 28px;
  background: var(--brass);
  border-radius: 3px;
}
.news-viewall {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy-soft);
  border-bottom: 2px solid var(--brass);
  padding-bottom: 2px;
  white-space: nowrap;
}
.news-viewall:hover { color: var(--forest); }

/* Grid: 3 columns */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 991px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .news-grid { grid-template-columns: 1fr; } }

.news-card-v2 {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex;
  flex-direction: column;
}
.news-card-v2:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lift);
}

.news-thumb-v2 {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--forest-soft);
}
.news-thumb-v2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.news-card-v2:hover .news-thumb-v2 img { transform: scale(1.04); }

.news-date-badge {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(14,24,48,0.72) 100%);
  padding: 18px 12px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.news-date-badge .cal-icon {
  font-size: 0.78rem;
  color: var(--brass-light);
}
.news-date-badge .date-text {
  font-size: 0.78rem;
  color: #fff;
  font-family: var(--font-mono);
}

.news-body-v2 {
  padding: 14px 14px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.news-body-v2 a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-body-v2 a:hover { color: var(--forest); }

/* News grid inside 8-col sidebar layout — 3 columns */
.col-lg-8 .news-grid {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 991px) {
  .col-lg-8 .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
  .col-lg-8 .news-grid { grid-template-columns: 1fr; }
}