:root {
  --ink: #142338;
  --muted: #617188;
  --paper: #f7f7f2;
  --card: #ffffff;
  --green: #007b45;
  --green-dark: #063a2b;
  --red: #df2639;
  --yellow: #f4b942;
  --blue: #137fbc;
  --line: #dfe6e1;
  --shadow: 0 18px 50px rgba(15, 42, 31, .10);
  --sans: "Noto Sans Bengali", "Hind Siliguri", Arial, sans-serif;
  --serif: "Noto Serif Bengali", Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); }
a { color: inherit; text-decoration: none; }
.inner-topline { background: var(--green-dark); color: #b8d9c9; font-size: 12px; }
.inner-wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.inner-topline .inner-wrap { min-height: 35px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.inner-topline a { color: #f6cf69; }
.inner-masthead { background: #fff; border-bottom: 1px solid #e7ece8; }
.inner-masthead .inner-wrap { min-height: 102px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.inner-logo { width: 238px; max-width: 54vw; height: auto; border-radius: 5px; }
.inner-note { color: var(--muted); font-size: 13px; line-height: 1.7; }
.inner-note strong { color: var(--green); display: block; }
.inner-utility { display: flex; align-items: center; gap: 9px; }
.inner-utility a { border: 1px solid #d9e5dc; border-radius: 99px; padding: 9px 13px; color: var(--green); font-size: 12px; font-weight: 700; }
.inner-utility a:hover { background: #eef8f1; }
.inner-nav { background: linear-gradient(90deg, var(--green-dark), #087c69 58%, #126c9d); color: #e9fff6; border-bottom: 3px solid var(--red); }
.inner-nav .inner-wrap { min-height: 45px; display: flex; align-items: center; gap: 20px; overflow-x: auto; scrollbar-width: none; }
.inner-nav .inner-wrap::-webkit-scrollbar { display: none; }
.inner-nav a { flex: 0 0 auto; font-size: 12px; padding: 13px 0 11px; border-bottom: 2px solid transparent; }
.inner-nav a:hover, .inner-nav a[aria-current="page"] { color: #fadd7a; border-bottom-color: var(--yellow); }
.inner-main { padding: 42px 0 68px; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: #778697; font-size: 12px; margin-bottom: 17px; }
.breadcrumb a { color: var(--green); font-weight: 700; }
.breadcrumb span { color: #c0c9c3; }
.inner-layout { display: grid; grid-template-columns: minmax(0, 1fr) 286px; gap: 24px; align-items: start; }
.page-card, .side-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.page-card { padding: clamp(25px, 4vw, 52px); overflow: hidden; }
.page-kicker { color: var(--red); font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 12px; }
.page-card h1 { margin: 0; color: var(--ink); font: 800 clamp(31px, 5vw, 53px)/1.22 var(--serif); letter-spacing: -.02em; }
.page-intro { max-width: 760px; margin: 19px 0 0; color: #536479; font-size: 17px; line-height: 1.95; }
.page-rule { width: 96px; height: 4px; background: linear-gradient(90deg, var(--red), var(--yellow)); margin: 28px 0 30px; border-radius: 99px; }
.page-card h2 { margin: 31px 0 10px; color: var(--green-dark); font: 800 24px/1.4 var(--serif); }
.page-card h2:first-of-type { margin-top: 0; }
.page-card h3 { margin: 24px 0 8px; color: var(--blue); font-size: 16px; }
.page-card p, .page-card li { color: #536479; font-size: 15px; line-height: 1.95; }
.page-card ul, .page-card ol { padding-left: 23px; margin: 10px 0 20px; }
.page-card li { margin: 7px 0; }
.page-card strong { color: var(--ink); }
.page-card blockquote { margin: 23px 0; padding: 17px 20px; border-left: 4px solid var(--yellow); background: #fff9e7; color: #54664b; font: 700 18px/1.7 var(--serif); }
.page-card a:not(.button) { color: var(--green); text-decoration: underline; text-decoration-color: rgba(0,123,69,.25); text-underline-offset: 3px; }
.page-card a.button, .button { display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; padding: 12px 16px; background: var(--green); color: white; font-size: 13px; font-weight: 800; text-decoration: none; box-shadow: 0 7px 18px rgba(0,123,69,.18); }
.page-card a.button.alt, .button.alt { background: #eef7fb; color: var(--blue); box-shadow: none; }
.side-stack { display: grid; gap: 16px; position: sticky; top: 18px; }
.side-card { padding: 22px; }
.side-card h2 { margin: 0 0 14px; color: var(--green-dark); font: 800 20px/1.45 var(--serif); }
.side-card h3 { margin: 0 0 9px; color: var(--blue); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.side-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.side-links { display: grid; gap: 9px; }
.side-links a { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #607187; font-size: 13px; padding: 8px 0; border-bottom: 1px solid #edf1ee; }
.side-links a::after { content: "↗"; color: var(--red); }
.side-links a:hover { color: var(--green); }
.info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 17px 0 26px; }
.info-card { padding: 17px; background: #f6faf6; border: 1px solid #e1eee4; border-radius: 13px; }
.info-card strong { display: block; color: var(--green-dark); font-size: 15px; margin-bottom: 5px; }
.info-card span { color: var(--muted); font-size: 13px; line-height: 1.7; }
.callout { padding: 18px 20px; border-radius: 13px; background: linear-gradient(120deg, #edf9f0, #eef7fb); border: 1px solid #d7ebe0; margin: 22px 0; }
.callout strong { display: block; color: var(--green-dark); margin-bottom: 5px; }
.callout p { margin: 0; }
details { border-top: 1px solid var(--line); padding: 14px 0; }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; color: var(--green-dark); font-weight: 800; font-size: 15px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::after { content: "+"; color: var(--red); font-size: 20px; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { margin: 10px 0 2px; }
.sitemap-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px 22px; padding: 0; list-style: none; }
.sitemap-list li { margin: 0; padding: 9px 0; border-bottom: 1px solid #edf1ee; }
.sitemap-list a { display: flex; justify-content: space-between; gap: 10px; text-decoration: none !important; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 17px 0 26px; }
.contact-card { border: 1px solid var(--line); border-radius: 13px; padding: 17px; }
.contact-card .label { display: block; color: var(--red); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 7px; }
.contact-card strong, .contact-card a { color: var(--green-dark); font-size: 15px; }
.contact-card p { margin: 6px 0 0; font-size: 13px; }
.inner-footer { background: #061528; color: #93a5bd; border-top: 4px solid var(--yellow); padding: 42px 0 20px; }
.inner-footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 25px; padding-bottom: 27px; }
.inner-footer-logo { width: 190px; max-width: 100%; background: #fff; padding: 5px; border-radius: 5px; }
.inner-footer h2 { margin: 0 0 13px; color: #fff; font: 800 17px var(--serif); }
.inner-footer h3 { margin: 19px 0 8px; color: #e7f2ff; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.inner-footer h3:first-child { margin-top: 0; }
.inner-footer p { font-size: 12px; line-height: 1.8; }
.inner-footer a { display: block; color: #91a4bc; font-size: 12px; margin: 7px 0; }
.inner-footer a:hover { color: #55cae8; }
.inner-footer-bottom { border-top: 1px solid rgba(165,193,224,.14); padding-top: 16px; display: flex; justify-content: space-between; gap: 18px; font-size: 11px; color: #6f829b; }
@media (max-width: 900px) {
  .inner-layout { grid-template-columns: 1fr; }
  .side-stack { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inner-footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .inner-footer-grid > :first-child { grid-column: span 3; }
}
@media (max-width: 620px) {
  .inner-wrap { width: min(100% - 24px, 560px); }
  .inner-topline .inner-wrap { justify-content: center; text-align: center; }
  .inner-topline .inner-top-links { display: none; }
  .inner-masthead .inner-wrap { min-height: 88px; justify-content: center; }
  .inner-note, .inner-utility a:first-child { display: none; }
  .inner-logo { width: 245px; }
  .inner-nav .inner-wrap { gap: 15px; }
  .inner-nav a { font-size: 11px; }
  .inner-main { padding: 27px 0 45px; }
  .inner-layout { gap: 17px; }
  .page-card { padding: 24px 19px; border-radius: 16px; }
  .page-intro { font-size: 15px; }
  .page-card p, .page-card li { font-size: 14px; }
  .info-grid, .contact-grid, .sitemap-list { grid-template-columns: 1fr; }
  .side-stack { grid-template-columns: 1fr; }
  .inner-footer-grid { grid-template-columns: 1fr 1fr; gap: 20px 15px; }
  .inner-footer-grid > :first-child { grid-column: span 2; }
  .inner-footer-bottom { display: block; line-height: 1.8; }
  .inner-footer-bottom span { display: block; }
}


/* ============================================================
   Admin Login Screen
   ============================================================ */

.admin-login-card {
    max-width: 420px;
    margin: 0 auto;
    padding: 40px 36px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    background: var(--card);
}

.admin-login-card h1 {
    font-family: var(--serif);
    color: var(--green-dark);
    font-size: 28px;
    margin: 0 0 24px;
    text-align: center;
}

.admin-login-card label {
    display: block;
    margin-bottom: 16px;
    color: var(--muted);
    font-size: 13px;
}

.admin-login-card input[type="email"],
.admin-login-card input[type="password"] {
    width: 100%;
    border: 1px solid var(--line);
    padding: 10px 12px;
    border-radius: 8px;
    font-family: var(--sans);
    font-size: 15px;
    margin-top: 4px;
    background: var(--paper);
    color: var(--ink);
    transition: border-color .2s ease;
}

.admin-login-card input:focus {
    outline-color: var(--green);
    border-color: var(--green);
}

.admin-login-card .remember-label {
    display: flex;
    gap: 8px;
    align-items: center;
}

.admin-login-card input[type="checkbox"] {
    width: auto;
}

.admin-login-card button[type="submit"] {
    display: block;
    width: 100%;
    background: var(--green);
    color: #fff;
    padding: 12px 0;
    border: none;
    border-radius: 10px;
    font-family: var(--sans);
    font-weight: 800;
    font-size: 16px;
    cursor: pointer;
    margin-top: 22px;
    transition: background .2s ease;
}

.admin-login-card button[type="submit"]:hover {
    background: var(--green-dark);
}

@media (max-width: 480px) {
    .admin-login-card {
        padding: 28px 20px;
        border-radius: 14px;
    }
}

/* Category article list + detail hero image (Laravel category/article pages) */
.inner-article { padding: 24px 0; border-bottom: 1px solid var(--line); }
.inner-article:first-of-type { padding-top: 4px; }
.inner-article:last-of-type { border-bottom: 0; padding-bottom: 0; }
.inner-article h2 { margin: 0 0 8px; }
.inner-article h2 a { color: var(--green-dark); text-decoration: none; }
.inner-article h2 a:hover { color: var(--green); }
.inner-article .meta { color: var(--muted); font-size: 13px; margin: 0 0 10px; }
.inner-article p { margin: 0; }
.inner-thumb { width: 100%; height: auto; border-radius: 12px; display: block; margin: 0 0 14px; }
.article-hero { margin: 0 0 20px; }
.article-hero img { width: 100%; height: auto; border-radius: 12px; display: block; }



/* ============================================================
   Daily Janotar Desh Redesign: Category & Article Pages (Port)
   ============================================================ */

/* Breadcrumb Navigation */
.cat-breadcrumb {
  margin: 18px 0 20px;
  font-size: 13px;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  line-height: 1.4;
}
.cat-breadcrumb a {
  color: var(--ink-soft);
  text-decoration: none;
  transition: color .2s ease;
}
.cat-breadcrumb a:hover {
  color: var(--green);
}
.cat-breadcrumb .sep {
  color: #b5c2ba;
}
.cat-breadcrumb .current {
  color: var(--ink);
  font-weight: 700;
  max-width: 600px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Category Header Strip */
.cat-header-strip {
  margin-bottom: 26px;
}
.cat-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.cat-title {
  margin: 0;
  font: 800 clamp(26px, 3vw, 34px)/1.2 var(--serif);
  color: var(--ink);
  letter-spacing: -.03em;
}
.cat-count-badge {
  background: rgba(0, 123, 69, 0.08);
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(0, 123, 69, 0.18);
  white-space: nowrap;
}
.cat-accent-rule {
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--yellow), transparent);
  border-radius: 3px;
  margin-top: 10px;
}

/* 2-Column Main Layout: Feed (Left) + Sidebar (Right) */
.cat-layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 32px;
  align-items: start;
}
@media (max-width: 960px) {
  .cat-layout-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* Alternating Category News Stream: 2 side-by-side, 1 full-row, 2 side-by-side... */
.cat-news-stream {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
@media (max-width: 640px) {
  .cat-news-stream {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* News Card Base Styles */
.cat-news-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(23, 40, 29, .04);
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.cat-news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(23, 40, 29, .10);
  border-color: #cfd8ce;
}
.cat-news-card .card-thumb-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #e2ebe4;
}
.cat-news-card .card-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s ease;
}
.cat-news-card:hover .card-thumb-img {
  transform: scale(1.05);
}
.cat-news-card .card-cat-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(22, 34, 53, 0.90);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 4px;
  letter-spacing: .02em;
  backdrop-filter: blur(4px);
  pointer-events: none;
}
.cat-news-card .card-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.cat-news-card .card-headline {
  margin: 0 0 10px;
  font: 700 18px/1.4 var(--serif);
  letter-spacing: -.02em;
}
.cat-news-card .card-headline a {
  color: var(--ink);
  text-decoration: none;
  transition: color .2s ease;
}
.cat-news-card .card-headline a:hover {
  color: var(--green);
}
.cat-news-card .card-meta-bar {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed rgba(223, 229, 221, 0.7);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--ink-soft);
}
.cat-news-card .meta-author {
  font-weight: 600;
  color: var(--ink);
}
.cat-news-card .meta-dot {
  color: #adbdb2;
}
.cat-news-card .meta-date {
  color: var(--ink-soft);
}
.cat-news-card .meta-icon {
  font-style: normal;
  opacity: .75;
}

/* Solo / Full-Row Featured Card (1 in a row) */
.cat-card-solo {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(260px, 1.15fr) minmax(0, 1.4fr);
  border-left: 4px solid var(--green);
}
.cat-card-solo .card-thumb-wrap {
  aspect-ratio: auto;
  height: 100%;
  min-height: 220px;
}
.cat-card-solo .card-body {
  padding: 22px 24px;
  justify-content: center;
}
.cat-card-solo .card-headline {
  font-size: 22px;
  line-height: 1.35;
  margin-bottom: 12px;
}
.card-excerpt {
  color: var(--ink-soft);
  font: 400 14px/1.65 var(--sans);
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 720px) {
  .cat-card-solo {
    grid-column: span 1;
    display: flex;
    flex-direction: column;
  }
  .cat-card-solo .card-thumb-wrap {
    aspect-ratio: 16 / 10;
    min-height: auto;
  }
}

/* Pagination container */
.cat-pagination-wrap {
  margin: 36px 0 44px;
}

/* Right Sidebar: Trending News & Latest News Stack */
.cat-sidebar-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.djd-sidebar-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 18px;
  box-shadow: 0 4px 15px rgba(23, 40, 29, .04);
}
.sidebar-header {
  margin-bottom: 16px;
}
.sidebar-header h3 {
  margin: 0;
  font: 800 18px/1.2 var(--serif);
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}
.sidebar-header .header-icon {
  font-style: normal;
}
.sidebar-header .header-line {
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--yellow), transparent);
  border-radius: 2px;
  margin-top: 8px;
}

/* Trending Items Stack */
.trending-items-stack {
  display: flex;
  flex-direction: column;
}
.trending-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 68px;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.trending-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.trending-rank-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--green-dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  font-family: var(--sans);
}
.trending-row:nth-child(1) .trending-rank-num {
  background: var(--red);
}
.trending-row:nth-child(2) .trending-rank-num {
  background: #c53443;
}
.trending-title {
  margin: 0;
  font: 700 14px/1.4 var(--serif);
}
.trending-title a {
  color: var(--ink);
  text-decoration: none;
  transition: color .2s;
}
.trending-title a:hover {
  color: var(--green);
}
.trending-meta {
  font-size: 11px;
  color: var(--ink-soft);
  margin-top: 4px;
}
.trending-thumb {
  width: 68px;
  height: 50px;
  border-radius: 6px;
  overflow: hidden;
  background: #e2ebe4;
}
.trending-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Latest Items Stack */
.latest-items-stack {
  display: flex;
  flex-direction: column;
}
.latest-row {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.latest-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.latest-thumb {
  width: 74px;
  height: 54px;
  border-radius: 6px;
  overflow: hidden;
  background: #e2ebe4;
}
.latest-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.latest-cat-tag {
  font-size: 10px;
  font-weight: 800;
  color: var(--red);
  letter-spacing: .03em;
  display: inline-block;
  margin-bottom: 3px;
}
.latest-title {
  margin: 0;
  font: 700 13px/1.4 var(--serif);
}
.latest-title a {
  color: var(--ink);
  text-decoration: none;
  transition: color .2s;
}
.latest-title a:hover {
  color: var(--green);
}
.latest-meta {
  font-size: 11px;
  color: var(--ink-soft);
  margin-top: 4px;
}

/* ============================================================
   Article / News Post Sheet Redesign
   ============================================================ */

.article-detail-sheet {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px 34px;
  box-shadow: 0 4px 20px rgba(23, 40, 29, .04);
}
@media (max-width: 640px) {
  .article-detail-sheet {
    padding: 22px 18px;
    border-radius: 12px;
  }
}
.article-kicker-wrap {
  margin-bottom: 14px;
}
.article-cat-kicker {
  display: inline-block;
  background: var(--green-dark);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 6px;
  letter-spacing: .03em;
}
.article-headline {
  margin: 0 0 18px;
  font: 800 clamp(24px, 3.2vw, 36px)/1.32 var(--serif);
  color: var(--ink);
  letter-spacing: -.03em;
}

/* Byline and Share Row */
.article-byline-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.byline-meta-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-badge-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 123, 69, 0.12);
  color: var(--green-dark);
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.author-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}
.publish-stamp {
  font-size: 12px;
  color: var(--ink-soft);
}
.byline-share-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.share-text {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-soft);
  margin-right: 2px;
}
.share-pill {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: all .2s ease;
  font-family: var(--sans);
}
.share-fb:hover {
  background: #1877f2;
  color: #fff;
  border-color: #1877f2;
}
.share-wa:hover {
  background: #25d366;
  color: #fff;
  border-color: #25d366;
}
.share-copy:hover, .share-print:hover {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

/* Article Hero Block */
.article-hero-block {
  margin: 0 0 24px;
  border-radius: 12px;
  overflow: hidden;
  background: #e2ebe4;
}
.hero-image-media {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  display: block;
}
.hero-image-caption {
  padding: 8px 14px;
  font-size: 12px;
  color: var(--ink-soft);
  background: var(--paper);
  border-top: 1px solid var(--line);
  font-style: italic;
}
.article-divider-rule {
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--yellow), transparent);
  margin-bottom: 24px;
}

/* Article Typography Body */
.typography-brand {
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.85;
  color: var(--ink);
}
.typography-brand p {
  margin: 0 0 20px;
}
.typography-brand blockquote {
  border-left: 4px solid var(--green);
  background: rgba(0, 123, 69, 0.05);
  margin: 24px 0;
  padding: 16px 20px;
  font-style: italic;
  border-radius: 0 8px 8px 0;
}
.typography-brand h2, .typography-brand h3 {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--ink);
  margin: 28px 0 12px;
  line-height: 1.35;
}
.typography-brand img,
.article-detail-sheet img,
.article-detail-sheet figure img {
  max-width: 100% !important;
  height: auto !important;
  border-radius: 8px;
  display: block;
  margin: 20px auto;
  object-fit: contain;
}
.typography-brand figure {
  max-width: 100% !important;
  margin: 20px auto;
}

/* Topics / Tags Strip */
.article-topics-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.topics-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
}
.topic-tag {
  display: inline-block;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s ease;
}
.topic-tag:hover {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

/* ============================================================
   Above Footer Section: Related News From Same Category
   ============================================================ */

.cat-related-section {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 2px solid var(--line);
}
.section-heading-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  gap: 16px;
}
.section-title {
  font: 800 clamp(20px, 2.5vw, 24px)/1.2 var(--serif);
  color: var(--ink);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.title-accent {
  width: 4px;
  height: 22px;
  background: var(--red);
  display: inline-block;
  border-radius: 2px;
}
.view-all-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
  text-decoration: none;
  transition: color .2s;
}
.view-all-link:hover {
  color: var(--green-dark);
  text-decoration: underline;
}

/* Related Cards 4-column Grid */
.related-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
@media (max-width: 960px) {
  .related-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 540px) {
  .related-cards-grid {
    grid-template-columns: 1fr;
  }
}
.related-news-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.related-news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(23, 40, 29, .09);
  border-color: #cfd8ce;
}
.related-thumb-box {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e2ebe4;
}
.related-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.related-news-card:hover .related-thumb-box img {
  transform: scale(1.05);
}
.related-badge {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(0, 123, 69, 0.90);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
}
.related-card-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.related-card-title {
  margin: 0 0 8px;
  font: 700 15px/1.38 var(--serif);
}
.related-card-title a {
  color: var(--ink);
  text-decoration: none;
  transition: color .2s;
}
.related-card-title a:hover {
  color: var(--green);
}
.related-card-meta {
  margin-top: auto;
  font-size: 11px;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 6px;
}
