/*
Theme Name: LogicMint Search
Theme URI: https://facebook.com/LogicMint24
Author: Talukdar Saiful
Author URI: https://facebook.com/TSaiful24
Description: A modern, fast, and fully responsive WordPress news theme designed for Bengali newspapers, online magazines, blogs, and news portals.
Version: 1.3.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: logicmint-search
Tags: news, newspaper, magazine, blog, responsive, custom-logo, custom-menu, featured-images, widgets, editor-style, translation-ready, rtl-language-support, seo
*/

/* ---------------------------------------------------------
   1. Tokens (all controlled from Theme Options / Customizer)
--------------------------------------------------------- */
:root {
  --lm-primary: #c8102e;
  --lm-primary-dark: #9c0c23;
  --lm-dark: #12181f;
  --lm-bg: #f4f5f7;
  --lm-card: #ffffff;
  --lm-text: #1b2027;
  --lm-muted: #6b7280;
  --lm-border: #e5e7eb;
  --lm-radius: 6px;
  --lm-menu-size: 18px;
  --lm-font: "Noto Serif Bengali", "SolaimanLipi", "Hind Siliguri", system-ui, sans-serif;
  --lm-shadow: 0 2px 10px rgba(16, 24, 40, .08);
  --lm-print: #1a8a3e;
  --lm-photocard: #c8102e;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--lm-font);
  background: var(--lm-bg);
  color: var(--lm-text);
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.lm-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 14px; }
.lm-hidden { display: none !important; }

/* ---------------------------------------------------------
   2. Topbar
--------------------------------------------------------- */
.lm-topbar {
  background: var(--lm-dark);
  color: #fff;
  font-size: 14px;
}
.lm-topbar .lm-container {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 38px;
}
.lm-topbar-date { opacity: .85; }
.lm-topbar-links { display: flex; align-items: center; gap: 14px; }
.lm-topbar-links a:hover { color: #ffd9df; }

/* ---------------------------------------------------------
   3. Header / branding
--------------------------------------------------------- */
.lm-header { background: var(--lm-card); border-bottom: 1px solid var(--lm-border); }
.lm-header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
}
.lm-brand img { max-height: 62px; width: auto; }
.lm-brand-text { font-size: 30px; font-weight: 800; color: var(--lm-primary); }
.lm-header-ad { justify-self: center; min-width: 0; }
.lm-header-actions { display: flex; align-items: center; gap: 8px; }
.lm-icon-btn {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px; flex: 0 0 auto;
  border: 1px solid var(--lm-border); background: transparent;
  border-radius: var(--lm-radius); cursor: pointer; color: var(--lm-text);
}
.lm-icon-btn:hover { background: var(--lm-bg); }

/* ---------------------------------------------------------
   4. Navigation (font size from Theme Options)
--------------------------------------------------------- */
.lm-nav { background: var(--lm-primary); position: relative; z-index: 40; }
.lm-nav-inner { display: flex; align-items: center; gap: 8px; }
.lm-menu { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.lm-menu > li { position: relative; }
.lm-menu a {
  display: block; color: #fff; padding: 12px 13px;
  font-size: var(--lm-menu-size); font-weight: 600; white-space: nowrap;
}
.lm-menu > li:hover > a,
.lm-menu > li.current-menu-item > a { background: var(--lm-primary-dark); }
.lm-menu .sub-menu {
  position: absolute; top: 100%; left: 0; min-width: 210px;
  background: var(--lm-card); list-style: none; margin: 0; padding: 6px 0;
  box-shadow: var(--lm-shadow); display: none; z-index: 50;
}
.lm-menu li:hover > .sub-menu { display: block; }
.lm-menu .sub-menu a { color: var(--lm-text); font-size: calc(var(--lm-menu-size) - 2px); padding: 8px 14px; }
.lm-menu .sub-menu a:hover { background: var(--lm-bg); color: var(--lm-primary); }
.lm-nav-toggle { display: none; }
.lm-nav-toggle-label { display: none; }
.lm-sub-toggle { border: 0; background: transparent; }

/* Mobile drawer */
.lm-drawer {
  position: fixed; inset: 0 auto 0 0; width: 300px; max-width: 86vw;
  background: var(--lm-card); z-index: 999; padding: 16px;
  transform: translateX(-105%); transition: transform .28s ease;
  overflow-y: auto; box-shadow: var(--lm-shadow);
}
.lm-drawer.is-open { transform: translateX(0); }
.lm-drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.lm-drawer .lm-menu { display: block; }
.lm-drawer .lm-menu a { color: var(--lm-text); border-bottom: 1px solid var(--lm-border); padding: 11px 4px; }
.lm-drawer .lm-menu .sub-menu {
  position: static; display: block; box-shadow: none; padding: 0 0 0 14px;
}
.lm-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.45);
  opacity: 0; visibility: hidden; transition: .25s; z-index: 998;
}
.lm-overlay.is-open { opacity: 1; visibility: visible; }

/* Search panel */
.lm-searchpanel {
  display: none; background: var(--lm-card); border-bottom: 1px solid var(--lm-border); padding: 14px 0;
}
.lm-searchpanel.is-open { display: block; }
.lm-searchform { display: flex; gap: 8px; }
.lm-searchform input[type="search"] {
  flex: 1 1 auto; min-width: 0; padding: 10px 12px;
  border: 1px solid var(--lm-border); border-radius: var(--lm-radius); font-family: inherit;
}
.lm-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--lm-primary); color: #fff; border: 0;
  padding: 10px 16px; border-radius: var(--lm-radius); cursor: pointer;
  font-family: inherit; font-size: 15px; font-weight: 600;
}
.lm-btn:hover { background: var(--lm-primary-dark); }
.lm-btn-outline { background: transparent; color: var(--lm-primary); border: 1px solid var(--lm-primary); }

/* ---------------------------------------------------------
   5. News ticker (right -> left continuous scroll)
--------------------------------------------------------- */
.lm-ticker {
  background: var(--lm-card); border-bottom: 1px solid var(--lm-border);
  overflow: hidden;
}
.lm-ticker-inner { display: flex; align-items: stretch; gap: 0; }
.lm-ticker-label {
  flex: 0 0 auto; background: var(--lm-primary); color: #fff;
  padding: 9px 16px; font-weight: 700; font-size: 15px;
  display: inline-flex; align-items: center; gap: 8px;
}
.lm-ticker-label .lm-live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #fff;
  animation: lm-blink 1s steps(2, start) infinite;
}
@keyframes lm-blink { to { visibility: hidden; } }
.lm-ticker-viewport { flex: 1 1 auto; min-width: 0; overflow: hidden; position: relative; }
.lm-ticker-track {
  display: flex; align-items: center; width: max-content;
  animation: lm-marquee var(--lm-ticker-duration, 40s) linear infinite;
}
.lm-ticker-viewport:hover .lm-ticker-track { animation-play-state: paused; }
.lm-ticker-item {
  padding: 9px 22px; font-size: 16px; white-space: nowrap; position: relative;
}
.lm-ticker-item::after {
  content: ""; position: absolute; right: 0; top: 25%; height: 50%;
  width: 1px; background: var(--lm-border);
}
.lm-ticker-item:hover { color: var(--lm-primary); }
@keyframes lm-marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .lm-ticker-track { animation: none; }
}

/* ---------------------------------------------------------
   6. Layout & cards
--------------------------------------------------------- */
.lm-main { padding: 18px 0 30px; }
.lm-grid-main { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 24px; }
.lm-section { margin-bottom: 28px; }
.lm-section-head {
  display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center;
  gap: 12px; border-bottom: 2px solid var(--lm-primary); margin-bottom: 14px;
}
.lm-section-title {
  margin: 0; font-size: 20px; font-weight: 800; color: #fff;
  background: var(--lm-primary); display: inline-block;
  padding: 6px 16px; border-radius: var(--lm-radius) var(--lm-radius) 0 0;
}
.lm-section-more { font-size: 14px; color: var(--lm-primary); font-weight: 600; }

.lm-card {
  background: var(--lm-card); border-radius: var(--lm-radius);
  overflow: hidden; box-shadow: var(--lm-shadow); height: 100%;
}
.lm-card-thumb { position: relative; aspect-ratio: 16 / 9; background: var(--lm-bg); overflow: hidden; }
.lm-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.lm-card:hover .lm-card-thumb img { transform: scale(1.05); }
.lm-card-cat {
  position: absolute; left: 8px; top: 8px; background: var(--lm-primary);
  color: #fff; font-size: 12px; padding: 3px 9px; border-radius: 3px;
}
.lm-card-body { padding: 11px 12px 14px; }
.lm-card-title { margin: 0 0 6px; font-size: 17px; font-weight: 700; line-height: 1.5; }
.lm-card-title a:hover { color: var(--lm-primary); }
.lm-card-meta { font-size: 13px; color: var(--lm-muted); display: flex; flex-wrap: wrap; gap: 10px; }
.lm-card-excerpt { font-size: 14px; color: var(--lm-muted); margin: 6px 0 0; }

.lm-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.lm-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.lm-lead-title { font-size: 26px; }

.lm-list { list-style: none; margin: 0; padding: 0; }
.lm-list li {
  display: grid; grid-template-columns: 92px minmax(0,1fr); gap: 10px;
  padding: 10px 0; border-bottom: 1px solid var(--lm-border);
}
.lm-list li:last-child { border-bottom: 0; }
.lm-list img { aspect-ratio: 4/3; object-fit: cover; border-radius: 4px; }
.lm-list h4 { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.55; }


/* ---------------------------------------------------------
   6b. Popular / Latest tabs (জনপ্রিয় | সর্বশেষ)
--------------------------------------------------------- */
.lm-tabs { background: var(--lm-card); border-radius: var(--lm-radius); box-shadow: var(--lm-shadow); overflow: hidden; }
.lm-tabs-nav { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); }
.lm-tab {
  border: 0; cursor: pointer; font-family: inherit;
  background: #e3e5e9; color: var(--lm-text);
  font-size: 22px; font-weight: 800; padding: 14px 10px;
}
.lm-tab.is-active { background: var(--lm-primary); color: #fff; }
.lm-tab-panel { display: none; }
.lm-tab-panel.is-active { display: block; }
.lm-tab-list { list-style: none; margin: 0; padding: 0; }
.lm-tab-list li {
  display: grid; grid-template-columns: 148px minmax(0,1fr); gap: 14px;
  align-items: center; padding: 12px; border-bottom: 1px solid var(--lm-border);
}
.lm-tab-list li:last-child { border-bottom: 0; }
.lm-tab-thumb { display: block; border-radius: 4px; overflow: hidden; background: var(--lm-bg); }
.lm-tab-thumb img { aspect-ratio: 4/3; width: 100%; object-fit: cover; }
.lm-tab-title { margin: 0; font-size: 19px; font-weight: 700; line-height: 1.55; }
.lm-tab-title a:hover { color: var(--lm-primary); }

/* Centered section heading (homepage category sections) */
.lm-section-head-center {
  display: flex; align-items: center; justify-content: center;
  border-bottom: 0; margin-bottom: 16px;
}
.lm-section-head-center::before,
.lm-section-head-center::after {
  content: ""; flex: 1 1 auto; height: 1px; background: var(--lm-border);
}
.lm-section-head-center .lm-section-title {
  background: transparent; color: var(--lm-primary);
  padding: 0 16px; border-radius: 0; font-size: 24px;
}
.lm-section-foot { display: flex; justify-content: center; margin-top: 16px; }

/* ---------------------------------------------------------
   7. Category archive (searchtoday.news/politics style)
--------------------------------------------------------- */
.lm-archive-head {
  background: var(--lm-card); border-radius: var(--lm-radius);
  padding: 16px 18px; box-shadow: var(--lm-shadow); margin-bottom: 20px;
  border-left: 5px solid var(--lm-primary);
}
.lm-archive-head h1 { margin: 0; font-size: 24px; font-weight: 800; }
.lm-archive-head p { margin: 4px 0 0; color: var(--lm-muted); font-size: 14px; }
.lm-breadcrumb { font-size: 13px; color: var(--lm-muted); margin-bottom: 12px; }
.lm-breadcrumb a:hover { color: var(--lm-primary); }
.lm-archive-lead { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); gap: 18px; margin-bottom: 20px; }
.lm-pagination { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; }
.lm-pagination .page-numbers {
  display: inline-grid; place-items: center; min-width: 38px; height: 38px;
  padding: 0 10px; background: var(--lm-card); border: 1px solid var(--lm-border);
  border-radius: var(--lm-radius); font-size: 15px;
}
.lm-pagination .page-numbers.current,
.lm-pagination .page-numbers:hover { background: var(--lm-primary); color: #fff; border-color: var(--lm-primary); }

/* ---------------------------------------------------------
   8. Single post (searchtoday.news/post/ style)
--------------------------------------------------------- */
.lm-single { background: var(--lm-card); border-radius: var(--lm-radius); box-shadow: var(--lm-shadow); padding: 20px; }
.lm-single-cat { color: var(--lm-primary); font-weight: 700; font-size: 15px; }
.lm-single h1.lm-single-title { font-size: 30px; line-height: 1.45; margin: 8px 0 12px; font-weight: 800; }
.lm-single-meta {
  display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 12px; align-items: center;
  border-top: 1px solid var(--lm-border); border-bottom: 1px solid var(--lm-border);
  padding: 10px 0; margin-bottom: 16px; font-size: 14px; color: var(--lm-muted);
}
.lm-author { display: flex; min-width: 0; align-items: center; gap: 9px; }
.lm-author img { width: 38px; height: 38px; flex: 0 0 auto; border-radius: 50%; }
.lm-author strong { color: var(--lm-text); font-size: 15px; display: block; }
.lm-share { display: flex; gap: 6px; flex: 0 0 auto; }
.lm-share a, .lm-share button {
  width: 34px; height: 34px; display: inline-grid; place-items: center;
  border-radius: 50%; background: var(--lm-bg); color: var(--lm-text);
  border: 1px solid var(--lm-border); cursor: pointer;
}
.lm-share a:hover { background: var(--lm-primary); color: #fff; border-color: var(--lm-primary); }
.lm-featured { margin-bottom: 16px; }
.lm-featured figcaption { font-size: 13px; color: var(--lm-muted); padding-top: 6px; }
.lm-entry { font-size: 19px; line-height: 1.95; }
.lm-entry p { margin: 0 0 18px; }
.lm-entry h2, .lm-entry h3 { line-height: 1.5; }
.lm-entry blockquote {
  margin: 0 0 18px; padding: 12px 18px; border-left: 4px solid var(--lm-primary);
  background: var(--lm-bg); font-style: italic;
}
.lm-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.lm-tags a {
  background: var(--lm-bg); border: 1px solid var(--lm-border);
  padding: 5px 12px; border-radius: 20px; font-size: 14px;
}
.lm-tags a:hover { background: var(--lm-primary); color: #fff; }
.lm-related { margin-top: 26px; }

/* ---------------------------------------------------------
   9. District map (সকল জেলার খবর)
--------------------------------------------------------- */
.lm-districts {
  background: var(--lm-card); border-radius: var(--lm-radius);
  box-shadow: var(--lm-shadow); padding: 18px;
}
.lm-districts-grid { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 22px; align-items: start; }
.lm-map-wrap { position: relative; }
.lm-map { width: 100%; height: auto; }
.lm-map .lm-division {
  fill: #e8eef5; stroke: var(--lm-card); stroke-width: 2;
  cursor: pointer; transition: fill .2s ease;
}
.lm-map .lm-division:hover, .lm-map .lm-division.is-active { fill: var(--lm-primary); }
.lm-map text { font-size: 11px; fill: var(--lm-text); pointer-events: none; }
.lm-map .lm-division.is-active + text, .lm-map .lm-division:hover + text { fill: #fff; }
.lm-district-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.lm-district-list a {
  border: 1px solid var(--lm-border); background: var(--lm-bg);
  padding: 5px 12px; border-radius: 20px; font-size: 15px;
}
.lm-district-list a:hover, .lm-district-list a.is-active { background: var(--lm-primary); color: #fff; border-color: var(--lm-primary); }

/* ---------------------------------------------------------
   10. Opinion poll (with download button)
--------------------------------------------------------- */
.lm-poll {
  background: var(--lm-card); border-radius: var(--lm-radius);
  box-shadow: var(--lm-shadow); padding: 16px; margin-bottom: 20px;
}
.lm-poll-head {
  display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: start; gap: 10px;
}
.lm-poll-question { margin: 0; font-size: 18px; font-weight: 700; min-width: 0; }
.lm-poll-download {
  width: 38px; height: 38px; flex: 0 0 auto; display: inline-grid; place-items: center;
  border: 1px solid var(--lm-border); border-radius: var(--lm-radius);
  background: var(--lm-bg); cursor: pointer; color: var(--lm-primary);
}
.lm-poll-download:hover { background: var(--lm-primary); color: #fff; }
.lm-poll-options { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.lm-poll-option { display: grid; gap: 5px; cursor: pointer; }
.lm-poll-option-top { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px; font-size: 16px; }
.lm-poll-bar { height: 9px; background: var(--lm-bg); border-radius: 20px; overflow: hidden; }
.lm-poll-bar span { display: block; height: 100%; background: var(--lm-primary); width: 0; transition: width .5s ease; }
.lm-poll-footer { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 14px; font-size: 14px; color: var(--lm-muted); }
.lm-poll-msg { font-size: 14px; color: var(--lm-primary); }

/* ---------------------------------------------------------
   11. Sidebar & widgets
--------------------------------------------------------- */
.lm-sidebar { display: grid; gap: 20px; align-content: start; }
.lm-widget { background: var(--lm-card); border-radius: var(--lm-radius); box-shadow: var(--lm-shadow); padding: 14px; }
.lm-widget-title {
  margin: 0 0 12px; font-size: 17px; font-weight: 800;
  border-bottom: 2px solid var(--lm-primary); padding-bottom: 8px;
}

/* ---------------------------------------------------------
   12. Footer
--------------------------------------------------------- */
.lm-footer { background: var(--lm-dark); color: #d7dbe2; margin-top: 20px; }
.lm-footer a { color: #d7dbe2; }
.lm-footer a:hover { color: #fff; }
.lm-footer-top { padding: 34px 0 26px; }
.lm-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 26px; }
.lm-footer-logo img { max-height: 58px; margin-bottom: 12px; }
.lm-footer-about { font-size: 15px; opacity: .85; }
.lm-footer h4 {
  margin: 0 0 12px; font-size: 17px; color: #fff; font-weight: 700;
  position: relative; padding-bottom: 8px;
}
.lm-footer h4::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 42px; height: 3px; background: var(--lm-primary);
}
.lm-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.lm-footer-contact li { display: grid; grid-template-columns: 20px minmax(0,1fr); gap: 9px; }

.lm-social { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 14px; }
.lm-social a {
  width: 40px; height: 40px; display: inline-grid; place-items: center;
  border-radius: 50%; background: rgba(255,255,255,.08); color: #fff;
  transition: transform .2s ease, background .2s ease;
}
.lm-social a:hover { transform: translateY(-3px); }
.lm-social a.lm-facebook:hover  { background: #1877f2; }
.lm-social a.lm-x:hover         { background: #000; }
.lm-social a.lm-youtube:hover   { background: #ff0000; }
.lm-social a.lm-instagram:hover { background: linear-gradient(45deg,#f09433,#dc2743,#bc1888); }
.lm-social a.lm-linkedin:hover  { background: #0a66c2; }
.lm-social a.lm-whatsapp:hover  { background: #25d366; }
.lm-social a.lm-telegram:hover  { background: #229ed9; }
.lm-social svg { width: 19px; height: 19px; fill: currentColor; }

.lm-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding: 14px 0; font-size: 14px;
}
.lm-footer-bottom .lm-container {
  display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px; align-items: center;
}
.lm-footer-nav { display: flex; flex-wrap: wrap; gap: 14px; }


/* Centered footer (screenshot style) */
.lm-footer-centered { background: var(--lm-footer-bg, #f7f8fa); color: var(--lm-text); }
.lm-footer-centered a { color: var(--lm-text); }
.lm-footer-centered a:hover { color: var(--lm-primary); }
.lm-footer-center { display: grid; justify-items: center; text-align: center; gap: 14px; }
.lm-footer-center .lm-footer-logo img { max-height: 84px; margin: 0; }
.lm-footer-center .lm-brand-text { color: var(--lm-primary); }
.lm-footer-people, .lm-footer-address { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 18px; }
.lm-footer-people strong, .lm-footer-address strong { font-weight: 700; }
.lm-footer-inline { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0; list-style: none; padding: 0; margin: 0; font-size: 18px; }
.lm-footer-inline li { list-style: none; padding: 0 16px; border-left: 1px solid var(--lm-border); }
.lm-footer-inline li:first-child { border-left: 0; }
.lm-footer-social-title { margin: 8px 0 0; font-size: 22px; font-weight: 800; }
.lm-footer-centered .lm-social { justify-content: center; gap: 12px; margin-top: 4px; }
.lm-footer-centered .lm-social a {
  width: 48px; height: 48px; border-radius: 10px; background: transparent;
  border: none;
}
.lm-footer-centered .lm-social svg { width: 24px; height: 24px; }
.lm-footer-centered .lm-social a.lm-facebook  { color: #1877f2; }
.lm-footer-centered .lm-social a.lm-x         { color: #111; }
.lm-footer-centered .lm-social a.lm-linkedin  { color: #0a66c2; }
.lm-footer-centered .lm-social a.lm-instagram { color: #e1306c; }
.lm-footer-centered .lm-social a.lm-youtube   { color: #ff0000; }
.lm-footer-centered .lm-social a.lm-whatsapp  { color: #25d366; }
.lm-footer-centered .lm-social a.lm-telegram  { color: #229ed9; }
.lm-footer-centered .lm-social a:hover { color: #fff; }
.lm-footer-centered .lm-social a.lm-facebook:hover  { background: #1877f2; }
.lm-footer-centered .lm-social a.lm-x:hover         { background: #111; }
.lm-footer-centered .lm-social a.lm-linkedin:hover  { background: #0a66c2; }
.lm-footer-centered .lm-social a.lm-instagram:hover { background: #e1306c; }
.lm-footer-centered .lm-social a.lm-youtube:hover   { background: #ff0000; }
.lm-footer-centered .lm-social a.lm-whatsapp:hover  { background: #25d366; }
.lm-footer-centered .lm-social a.lm-telegram:hover  { background: #229ed9; }
.lm-footer-apps { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 6px; }
.lm-app-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: #0d0d0d; color: #fff !important; border-radius: 8px; padding: 9px 18px;
}
.lm-app-badge svg { width: 26px; height: 26px; fill: currentColor; }
.lm-app-badge span { display: grid; line-height: 1.15; text-align: left; }
.lm-app-badge small { font-size: 11px; text-transform: uppercase; opacity: .85; }
.lm-app-badge strong { font-size: 18px; font-weight: 700; }
.lm-footer-bottom-center {
  background: var(--lm-footer-bar, #29b6f6); color: #fff; border-top: 0; text-align: center; padding: 18px 0;
}
.lm-footer-bottom-center a { color: #fff5c2; }
.lm-footer-bottom-center p { margin: 0; font-size: 18px; }
.lm-footer-bottom-center .lm-footer-dev { margin-top: 6px; }

.lm-totop {
  position: fixed; right: 16px; bottom: 16px; z-index: 90;
  width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: var(--lm-primary); color: #fff; cursor: pointer;
  display: none; place-items: center; box-shadow: var(--lm-shadow);
}
.lm-totop.is-visible { display: grid; }

/* ---------------------------------------------------------
   13. Responsive
--------------------------------------------------------- */
@media (max-width: 1024px) {
  .lm-grid-main { grid-template-columns: minmax(0, 1fr); }
  .lm-footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .lm-districts-grid { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 860px) {
  .lm-header-ad { display: none; }
  .lm-grid-3, .lm-archive-lead { grid-template-columns: minmax(0,1fr); }
  .lm-grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
  .lm-lead-title { font-size: 21px; }
  .lm-single h1.lm-single-title { font-size: 23px; }
  .lm-entry { font-size: 18px; }
  .lm-single-meta { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 560px) {
  .lm-tab { font-size: 19px; }
  .lm-tab-list li { grid-template-columns: 116px minmax(0,1fr); gap: 10px; }
  .lm-tab-title { font-size: 17px; }
  .lm-footer-people, .lm-footer-address, .lm-footer-inline { font-size: 16px; }
  .lm-footer-inline li { padding: 0 10px; }
  .lm-section-head-center .lm-section-title { font-size: 20px; }
  .lm-footer-grid { grid-template-columns: minmax(0,1fr); }
  .lm-footer-bottom .lm-container { grid-template-columns: minmax(0,1fr); }
  .lm-topbar-date { display: none; }
  .lm-brand img { max-height: 46px; }
}

/* RTL support */
body.rtl .lm-drawer { inset: 0 0 0 auto; transform: translateX(105%); }
body.rtl .lm-drawer.is-open { transform: translateX(0); }
/* ---------------------------------------------------------
   14. Hamburger + horizontal nav (screenshot style)
--------------------------------------------------------- */
.lm-header--colored { background: var(--lm-primary); border-bottom: 0; }
.lm-header--colored .lm-brand-text { color: #fff; }
.lm-header--colored .lm-icon-btn { color: #fff; border-color: rgba(255,255,255,.55); }
.lm-header--colored .lm-icon-btn:hover { background: rgba(255,255,255,.14); }
.lm-subscribe {
  display: inline-flex; align-items: center; height: 40px; padding: 0 18px;
  border: 2px solid currentColor; border-radius: var(--lm-radius);
  font-weight: 700; font-size: 17px; color: #fff;
}
.lm-header--light .lm-subscribe { color: var(--lm-primary); }
.lm-subscribe:hover { background: rgba(255,255,255,.15); }

.lm-nav { background: var(--lm-card); border-bottom: 1px solid var(--lm-border); }
.lm-nav.is-sticky { position: sticky; top: 0; }
.lm-nav-inner { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; gap: 10px; }
.lm-nav-scroll { min-width: 0; overflow-x: auto; scrollbar-width: none; }
.lm-nav-scroll::-webkit-scrollbar { display: none; }
.lm-nav .lm-menu { display: flex; flex-wrap: nowrap; }
.lm-nav .lm-menu a { color: var(--lm-text); padding: 12px 14px; }
.lm-nav .lm-menu > li:hover > a,
.lm-nav .lm-menu > li.current-menu-item > a { background: transparent; color: var(--lm-primary); }

.lm-hamburger {
  display: inline-grid; gap: 4px; align-content: center; justify-items: stretch;
  width: 44px; height: 44px; padding: 0 8px; flex: 0 0 auto;
  background: transparent; border: 0; cursor: pointer;
}
.lm-hamburger span { display: block; height: 3px; border-radius: 3px; background: var(--lm-text); }
.lm-hamburger:hover span { background: var(--lm-primary); }

/* Trending tag bar */
.lm-trending { background: var(--lm-card); border-bottom: 1px solid var(--lm-border); }
.lm-trending-inner { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; gap: 12px; padding: 10px 14px; }
.lm-trending-label {
  display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto;
  background: var(--lm-primary); color: #fff; font-weight: 700; font-size: 17px;
  padding: 7px 8px 7px 18px; border-radius: 999px;
}
.lm-trending-icon {
  display: inline-grid; place-items: center; width: 30px; height: 30px;
  border-radius: 50%; background: rgba(255,255,255,.24);
}
.lm-trending-tags { display: flex; gap: 10px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.lm-trending-tags::-webkit-scrollbar { display: none; }
.lm-trending-tags a {
  flex: 0 0 auto; background: #e9eaee; border-radius: 999px;
  padding: 7px 20px; font-size: 17px; font-weight: 600; white-space: nowrap;
}
.lm-trending-tags a:hover { background: var(--lm-primary); color: #fff; }

/* ---------------------------------------------------------
   15. Homepage category section designs 1 / 2 / 3
--------------------------------------------------------- */
.lm-cat-lead { margin-bottom: 14px; }
.lm-cat-lead .lm-card { box-shadow: none; background: transparent; }
.lm-cat-lead .lm-card-body { padding: 10px 0 0; }
.lm-cat-lead .lm-card-title { font-size: 27px; font-weight: 800; }
.lm-cat-lead-overlay .lm-card { position: relative; min-height: 0; border-radius: 10px; overflow: hidden; }
.lm-cat-lead-overlay .lm-card-thumb { aspect-ratio: 16/9; }
.lm-cat-lead-overlay .lm-card-thumb::after {
  content: ""; position: absolute; inset: 35% 0 0;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,.88));
}
.lm-cat-lead-overlay .lm-card-body {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 0;
  padding: 22px 26px; color: #fff;
}
.lm-cat-lead-overlay .lm-card-title { margin: 0; font-size: 30px; line-height: 1.45; }
.lm-cat-lead-overlay .lm-card-meta { display: none; }
.lm-cat-lead-overlay .lm-card-cat { display: none; }
.lm-cat-duo { margin-bottom: 14px; }
.lm-cat-duo .lm-card { box-shadow: none; background: transparent; }
.lm-cat-duo .lm-card-body { padding: 8px 0 0; }
.lm-cat-duo .lm-card-title { font-size: 19px; }
.lm-list-lg li {
  grid-template-columns: minmax(150px, 38%) minmax(0,1fr); gap: 16px; align-items: center;
  padding: 16px 0;
}
.lm-list-lg img { width: 100%; aspect-ratio: 16/9; border-radius: 8px; }
.lm-list-lg h4 { font-size: 22px; font-weight: 700; line-height: 1.55; }
.lm-list-lg .lm-card-meta { display: none; }
.lm-cat-layout-3 .lm-card { box-shadow: none; background: transparent; }
.lm-cat-layout-3 .lm-card-body { padding: 8px 0 0; }
.lm-cat-layout-3 .lm-card-title { font-size: 22px; font-weight: 700; line-height: 1.55; }
.lm-cat-layout-3 .lm-card-meta, .lm-cat-layout-3 .lm-card-cat { display: none; }
.lm-cat-layout-3 .lm-card-thumb { border-radius: 8px; }
.lm-cat-section { border-bottom: 3px solid var(--lm-primary); padding-bottom: 18px; }

/* ---------------------------------------------------------
   16. আপনার এলাকার খবর (division / district / upazila finder)
--------------------------------------------------------- */
.lm-area {
  background: var(--lm-area-bg, #f0f3f4); border-radius: 0; padding: 24px;
}
.lm-area-title { margin: 0 0 18px; font-size: 28px; font-weight: 800; }
.lm-area-note { margin: -8px 0 16px; color: var(--lm-muted); font-size: 15px; }
.lm-area-form { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px 22px; }
.lm-area-select {
  width: 100%; appearance: none; background: #fff;
  border: 2px solid #d9dde3; border-radius: 10px;
  padding: 16px 48px 16px 20px; font-family: inherit; font-size: 21px; color: var(--lm-text);
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236b7280'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 24px;
}
.lm-area-select:disabled { opacity: .65; }
.lm-area-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--lm-area-btn, #c21b05); color: #fff; border: 0; cursor: pointer;
  border-radius: 10px; padding: 16px; font-family: inherit; font-size: 22px; font-weight: 600;
}
.lm-area-btn:hover { filter: brightness(.93); }
.lm-area-data { display: none; }

/* Tags label at the end of a post */
.lm-tags-label { font-weight: 700; align-self: center; }

@media (max-width: 860px) {
  .lm-nav .lm-menu a { padding: 11px 11px; }
  .lm-cat-lead .lm-card-title { font-size: 22px; }
  .lm-list-lg li { grid-template-columns: minmax(112px, 40%) minmax(0,1fr); gap: 12px; }
  .lm-list-lg h4 { font-size: 17px; }
  .lm-cat-layout-3 .lm-card-title { font-size: 17px; }
	.lm-cat-lead-overlay .lm-card-body { padding: 16px 18px; }
	.lm-cat-lead-overlay .lm-card-title { font-size: 22px; }
  .lm-area-title { font-size: 23px; }
  .lm-area-select, .lm-area-btn { font-size: 17px; padding-top: 13px; padding-bottom: 13px; }
  .lm-subscribe { font-size: 15px; padding: 0 12px; }
}

/* ---------------------------------------------------------
   14. Homepage hero / featured block
--------------------------------------------------------- */
.lm-hero { background: var(--lm-card); border-radius: var(--lm-radius); box-shadow: var(--lm-shadow); padding: 14px; }
.lm-hero-lead-thumb { display: block; border-radius: var(--lm-radius); overflow: hidden; background: var(--lm-bg); }
.lm-hero-lead-thumb img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.lm-hero-lead-body { padding: 12px 2px 4px; }
.lm-hero-lead-title { margin: 0 0 8px; font-size: 27px; font-weight: 800; line-height: 1.4; }
.lm-hero-lead-title a:hover { color: var(--lm-primary); }
.lm-hero-lead-excerpt { margin: 0 0 8px; color: var(--lm-muted); font-size: 16px; line-height: 1.7; }
.lm-hero-list { list-style: none; margin: 6px 0 0; padding: 0; }
.lm-hero-list li {
  display: grid; grid-template-columns: 170px minmax(0,1fr); gap: 14px;
  align-items: center; padding: 12px 0; border-bottom: 1px solid var(--lm-border);
}
.lm-hero-list li:last-child { border-bottom: 0; }
.lm-hero-thumb { display: block; border-radius: 6px; overflow: hidden; background: var(--lm-bg); }
.lm-hero-thumb img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.lm-hero-title { margin: 0; font-size: 20px; font-weight: 700; line-height: 1.55; }
.lm-hero-title a:hover { color: var(--lm-primary); }
.lm-hero-foot { margin-top: 12px; }
.lm-btn-block {
  display: block; text-align: center; width: 100%;
  background: var(--lm-primary); color: #fff; font-size: 19px; font-weight: 700;
  padding: 12px 16px; border-radius: 4px;
}
.lm-btn-block:hover { background: var(--lm-primary-dark); color: #fff; }

/* ---------------------------------------------------------
   15. Video section
--------------------------------------------------------- */
.lm-video-head {
  display: flex; align-items: stretch; justify-content: space-between;
  background: var(--lm-primary); color: #fff; border-radius: 3px; overflow: hidden;
}
.lm-video-title { padding: 12px 16px; font-size: 22px; font-weight: 800; background: #111; color: #fff; flex: 1 1 auto; }
.lm-video-more { display: grid; place-items: center; width: 54px; color: #fff; background: var(--lm-primary); }
.lm-video-list { display: grid; gap: 18px; margin-top: 14px; }
.lm-video-thumb { position: relative; display: block; border-radius: 4px; overflow: hidden; background: #000; }
.lm-video-thumb img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.lm-video-play {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: rgba(255,255,255,.92);
}
.lm-video-card-title { margin: 8px 0 0; font-size: 19px; font-weight: 700; line-height: 1.55; }
.lm-video-card-title a:hover { color: var(--lm-primary); }

/* ---------------------------------------------------------
   16. Single post publish line & related grid
--------------------------------------------------------- */
.lm-publish-line {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 15px; color: var(--lm-muted); margin: 0 0 10px;
}
.lm-publish-sep { color: var(--lm-border); }
.lm-publish-print { color: var(--lm-print); font-weight: 700; text-decoration: none; }
.lm-publish-photo { color: var(--lm-photocard); font-weight: 700; text-decoration: none; }
.lm-publish-print:hover, .lm-publish-photo:hover { text-decoration: none; }

.lm-related {
  background: var(--lm-card); border-radius: var(--lm-radius);
  box-shadow: var(--lm-shadow); padding: 16px;
}
.lm-related-head { border-bottom: 1px solid var(--lm-border); padding-bottom: 10px; margin-bottom: 14px; }
.lm-related-head h2 { margin: 0; font-size: 23px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.lm-related-head h2::before { content: ""; width: 16px; height: 16px; background: var(--lm-primary); display: inline-block; }
.lm-related-grid .lm-card { box-shadow: none; background: transparent; }
.lm-related-grid .lm-card-title { font-size: 19px; }

/* ---------------------------------------------------------
   17. Archive page (তারিখ থেকে / পর্যন্ত / ক্যাটাগরি)
--------------------------------------------------------- */
.lm-archive-box {
  background: var(--lm-card); border: 1px solid var(--lm-border);
  border-radius: 10px; padding: 18px;
}
.lm-archive-box-head { border-bottom: 1px solid var(--lm-border); position: relative; padding-bottom: 10px; margin-bottom: 16px; }
.lm-archive-box-head h1 { margin: 0; font-size: 30px; font-weight: 800; }
.lm-archive-box-head::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 110px; height: 4px; background: var(--lm-primary);
}
.lm-archive-form { display: grid; gap: 14px; }
.lm-archive-form input,
.lm-archive-form select {
  width: 100%; font-family: inherit; font-size: 19px; color: var(--lm-text);
  padding: 14px 16px; border: 1px solid var(--lm-border); border-radius: 10px; background: #fff;
}
.lm-archive-submit {
  border: 0; cursor: pointer; font-family: inherit; font-size: 21px; font-weight: 700;
  background: var(--lm-primary); color: #fff; padding: 14px 16px; border-radius: 8px;
}
.lm-archive-submit:hover { background: var(--lm-primary-dark); }
.lm-archive-results { margin-top: 20px; }

@media (max-width: 767px) {
  .lm-hero-lead-title { font-size: 22px; }
  .lm-hero-list li { grid-template-columns: 128px minmax(0,1fr); gap: 12px; }
  .lm-hero-title { font-size: 17px; }
  .lm-video-title { font-size: 19px; }
  .lm-related-grid { grid-template-columns: minmax(0,1fr); }
  .lm-archive-box-head h1 { font-size: 24px; }
}


/* ---------------------------------------------------------
   15. Screenshot header (accent band + logo + ই-পেপার + hamburger)
--------------------------------------------------------- */

/* Sticky header wrapper — keeps accentband + logo bar pinned to the top */
.lm-sticky-header {
  position: sticky;
  top: 0;
  z-index: 200;
}

.lm-accentband { height: 12px; background: var(--lm-primary); }

.lm-header, .lm-header--colored { background: var(--lm-card); border-bottom: 1px solid var(--lm-border); }
.lm-header--colored .lm-brand-text,
.lm-header .lm-brand-text { color: var(--lm-primary); }
.lm-header--colored .lm-icon-btn,
.lm-header .lm-icon-btn { color: var(--lm-text); border-color: var(--lm-border); }
.lm-header--colored .lm-icon-btn:hover { background: var(--lm-bg); }

.lm-header-inner {
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px; padding: 10px 0;
}
.lm-header .lm-brand img { max-height: 70px; }
.lm-header-actions { gap: 14px; }
.lm-epaper {
  font-size: 28px; font-weight: 800; color: var(--lm-primary); line-height: 1.2; white-space: nowrap;
}
.lm-epaper:hover { color: var(--lm-primary-dark); }
.lm-header .lm-hamburger span { height: 4px; background: #111; }
.lm-header .lm-hamburger { width: 42px; height: 42px; gap: 6px; }
.lm-hamburger--start { display: none; }

@media (max-width: 860px) {
  .lm-accentband { height: 8px; }
  .lm-hamburger--start { display: inline-grid; }
  .lm-hamburger--end { display: none; }
  .lm-header .lm-brand { justify-self: center; }
  .lm-header .lm-brand img { max-height: 46px; }
  .lm-epaper { font-size: 20px; }
  .lm-subscribe { display: none; }
  .lm-header-actions { gap: 8px; }
}

/* ---------------------------------------------------------
   16. Homepage category section — screenshot designs
--------------------------------------------------------- */
.lm-hero-lead { position: relative; border-radius: var(--lm-radius); overflow: hidden; margin-bottom: 6px; }
.lm-hero-lead img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.lm-hero-lead-title {
  position: absolute; left: 0; right: 0; bottom: 0; margin: 0;
  padding: 44px 16px 16px; color: #fff; font-size: 24px; font-weight: 800; line-height: 1.45;
  background: linear-gradient(to top, rgba(0,0,0,.85), rgba(0,0,0,0));
}
.lm-thumblist { list-style: none; margin: 0; padding: 0; }
.lm-thumblist li {
  display: grid; grid-template-columns: 108px minmax(0,1fr); gap: 14px;
  align-items: center; padding: 14px 0; border-bottom: 1px solid var(--lm-border);
}
.lm-thumblist li:last-child { border-bottom: 0; }
.lm-thumblist img { width: 108px; height: 108px; object-fit: cover; border-radius: 10px; }
.lm-thumblist h4 { margin: 0; font-size: 19px; font-weight: 700; line-height: 1.55; }
.lm-thumblist h4 a:hover { color: var(--lm-primary); }
.lm-section-foot { margin-top: 14px; text-align: center; }

/* Flat grid card (screenshot) */
.lm-card--grid { box-shadow: none; background: transparent; border-radius: 0; }
.lm-card--grid .lm-card-thumb { border-radius: 8px; aspect-ratio: 4 / 3; }
.lm-card--grid .lm-card-body { padding: 10px 0 0; }
.lm-card--grid .lm-card-title { font-size: 19px; font-weight: 700; }
.lm-card--grid .lm-card-meta { display: none; }
.lm-card--grid .lm-card-cat { display: none; }

/* ---------------------------------------------------------
   17. Category page (screenshot)
--------------------------------------------------------- */
.lm-catpage-title { margin: 4px 0 10px; font-size: 30px; font-weight: 800; }
.lm-catpage-chips {
  list-style: none; margin: 0 0 18px; padding: 0;
  display: flex; flex-wrap: wrap; gap: 6px 22px;
}
.lm-catpage-chips li { display: inline-flex; align-items: center; gap: 9px; font-size: 19px; font-weight: 600; }
.lm-catpage-chips li::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%; background: #9aa1ab; flex: 0 0 auto;
}
.lm-catpage-chips a:hover { color: var(--lm-primary); }
.lm-catpage-desc { color: var(--lm-muted); margin-bottom: 16px; }

.lm-catlead { margin-bottom: 26px; }
.lm-catlead-thumb { display: block; border-radius: 10px; overflow: hidden; }
.lm-catlead-thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.lm-catlead-title { margin: 14px 0 10px; font-size: 27px; font-weight: 800; line-height: 1.5; }
.lm-catlead-title a:hover { color: var(--lm-primary); }
.lm-catlead-excerpt { margin: 0; font-size: 18px; color: #333; text-align: justify; line-height: 1.8; }

.lm-catgrid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px 18px; }
.lm-loadmore { margin: 26px 0 6px; text-align: center; }
.lm-loadmore a {
  display: inline-block; padding: 8px 26px; font-size: 18px; font-weight: 600;
  border: 1px solid var(--lm-border); border-radius: 8px; background: var(--lm-card);
}
.lm-loadmore a:hover { background: var(--lm-primary); color: #fff; border-color: var(--lm-primary); }

@media (max-width: 560px) {
  .lm-catpage-title { font-size: 25px; }
  .lm-catlead-title { font-size: 22px; }
  .lm-catlead-excerpt { font-size: 16px; }
  .lm-hero-lead-title { font-size: 19px; padding: 34px 12px 12px; }
  .lm-thumblist li { grid-template-columns: 92px minmax(0,1fr); gap: 12px; }
  .lm-thumblist img { width: 92px; height: 92px; }
  .lm-thumblist h4 { font-size: 17px; }
  .lm-catgrid { gap: 18px 12px; }
  .lm-card--grid .lm-card-title { font-size: 17px; }
}

/* ---------------------------------------------------------
   18. Grid news item (category grid + related news)
--------------------------------------------------------- */
.lm-gitem-thumb { display: block; border-radius: 8px; overflow: hidden; background: var(--lm-bg); }
.lm-gitem-thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.lm-gitem-ph { display: block; width: 100%; aspect-ratio: 4 / 3; background: var(--lm-bg); }
.lm-gitem-title { margin: 10px 0 0; font-size: 19px; font-weight: 700; line-height: 1.55; }
.lm-gitem-title a { color: var(--lm-text); }
.lm-gitem-title a:hover { color: var(--lm-primary); }

.lm-related-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px 18px; }

@media (max-width: 767px) {
  .lm-related-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px 12px; }
  .lm-gitem-title { font-size: 17px; }
}

/* ---------------------------------------------------------
   19. Single post top card (bd71report style)
--------------------------------------------------------- */
.lm-postcard {
  border: 2px solid #f0a30a; border-radius: 4px;
  padding: 16px; margin-bottom: 18px; background: var(--lm-card);
}
.lm-postcard .lm-single-cat {
  display: inline-block; border-bottom: 2px solid var(--lm-primary);
  padding-bottom: 4px; font-size: 17px;
}
.lm-postcard h1.lm-single-title { font-size: 30px; margin: 12px 0 14px; }
.lm-postcard-author { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.lm-postcard-logo { width: auto; height: 46px; object-fit: contain; }
.lm-postcard-avatar { width: 48px; height: 48px; flex: 0 0 auto; border-radius: 50%; object-fit: cover; }
.lm-postcard-author-info { display: flex; flex-direction: column; gap: 2px; }
.lm-postcard-byline { font-size: 18px; font-weight: 700; color: var(--lm-text); }
.lm-postcard .lm-publish-line { border-top: 1px solid var(--lm-border); padding-top: 10px; margin: 0 0 12px; }
.lm-postcard .lm-share { margin: 0; }

@media (max-width: 767px) {
  .lm-postcard h1.lm-single-title { font-size: 24px; }
  .lm-postcard-logo { height: 40px; }
}
