/* ==========================================================================
   Editorial Polish — a premium broadsheet retouch layered on top of the
   base theme. Loaded last, so it wins on cascade without
   needing !important everywhere. Nothing here renames existing classes —
   it only restyles what's already in the markup.
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;0,800;0,900;1,700&family=Jost:wght@300;400;500;600;700&display=swap");

:root {
  /* Ink & paper, not screen-glow blue/teal */
  --maan-color-black: #171512;
  --maan-color-black2: #171512;
  --maan-color-black3: #171512;
  --maan-color-gray: #5c574f;
  --maan-color-gray2: #8a8478;
  --maan-color-gray3: #6b665d;
  --maan-color-gray4: #6b665d;
  --maan-color-border: #e7e2d9;
  --maan-color-border2: #d8d2c5;
  --maan-color-white2: #faf8f4;
  --maan-color-white3: #f3efe7;

  /* A single confident accent replaces the rainbow of tag colors */
  --editorial-accent: #9a1c25;
  --editorial-accent-dark: #6f1319;
  --editorial-ink: #171512;
  --editorial-paper: #fdfcfa;
  --editorial-rule: #e7e2d9;
  --editorial-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --editorial-sans: "Jost", "Helvetica Neue", Arial, sans-serif;
}

body {
  font-family: var(--editorial-sans);
  color: var(--editorial-ink);
  background: var(--editorial-paper);
}

/* ---------- Headlines everywhere get the serif treatment ---------- */
h1, h2, h3, h4, h5, h6,
.maan-title-text h2,
.maan-title-center h2,
.card .maan-card-body .maan-text h4 a,
.maan-post-title,
.maan-news-list li .maan-list-text h4 a {
  font-family: var(--editorial-serif);
  color: var(--editorial-ink);
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* ---------- Masthead: top utility bar — plain white, like the reference
   site's minimal header (it has no dark bar at all; this keeps our
   date/social row but drops the heavy dark treatment to match its feel). ---------- */
.maan-top-bar {
  background: var(--editorial-paper) !important;
  border-bottom: 1px solid var(--editorial-rule);
  padding-top: 8px;
  padding-bottom: 8px;
}
.maan-top-bar .maan-current-date,
.maan-top-bar .digital-clock,
.maan-top-bar #clock {
  font-family: var(--editorial-sans) !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 12px !important;
  color: var(--maan-color-gray) !important;
}
.maan-top-bar .maan-current-date .icon svg,
.maan-top-bar .maan-current-date .icon svg path {
  fill: var(--editorial-accent) !important;
}
.maan-top-bar .maan-social-link ul {
  border-left-color: var(--editorial-rule) !important;
}
.maan-top-bar .maan-social-link ul li a {
  color: var(--editorial-ink) !important;
  opacity: 0.75;
  transition: opacity 0.2s ease, color 0.2s ease;
}
.maan-top-bar .maan-social-link ul li a:hover {
  opacity: 1;
  color: var(--editorial-accent) !important;
}

/* ---------- Masthead: logo + ad row ---------- */
.maan-mid-bar {
  background: var(--editorial-paper);
  border-bottom: 1px solid var(--editorial-rule);
  padding-top: 22px;
  padding-bottom: 22px;
}
.maan-mid-bar .maan-logo img {
  max-height: 64px;
  width: auto;
}
/* Desktop masthead brand block: logo + site name + tagline, mirroring the
   mobile header — adapted for the light mid-bar (dark text, not white). */
.maan-mid-bar .vn-desktop-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  max-width: none !important;   /* beat the theme's .maan-logo max-width:120px */
}
.maan-mid-bar .vn-desktop-brand img {
  height: 64px !important;       /* beat the theme's width:100% on logo img */
  width: auto !important;
  max-width: none !important;
  flex: 0 0 auto;
}
.maan-mid-bar .vn-brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.maan-mid-bar .vn-brand-title {
  font-family: var(--editorial-serif);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--editorial-ink);
}
.maan-mid-bar .vn-brand-subtitle {
  font-family: var(--editorial-serif);
  font-style: italic;
  font-size: 14px;
  color: var(--maan-color-gray);
  margin-top: 4px;
}
.vn-tagline {
  font-family: var(--editorial-serif);
  font-style: italic;
  font-size: 13px;
  color: var(--maan-color-gray);
  margin: 6px 0 0;
  white-space: normal;
}

/* ---------- Masthead: nav bar ----------
   body[class] boosts specificity to reliably beat the theme-color-specific
   .theme-blue/.theme-violet/... rules in color-change.css, which vary in
   whether they use !important — a plain class selector can lose ties. */
body[class] .maan-manu-bar {
  background: var(--editorial-ink) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.maan-manu-bar .maan-main-manu > ul > li > a {
  font-family: var(--editorial-sans);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #ece8e0;
  padding: 16px 14px;
  position: relative;
  transition: color 0.2s ease;
}
.maan-manu-bar .maan-main-manu > ul > li > a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 8px;
  height: 2px;
  background: var(--editorial-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.maan-manu-bar .maan-main-manu > ul > li > a:hover,
.maan-manu-bar .maan-main-manu > ul > li > a:hover::after {
  color: #ffffff;
  transform: scaleX(1);
}
.maan-manu-bar .maan-search-btn svg,
.maan-manu-bar .maan-profile-btn svg {
  fill: #ece8e0;
}
.maan-manu-bar .dropdown-menu {
  border: 1px solid var(--editorial-rule);
  border-radius: 0;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}
/* Mobile hamburger: the nav bar is dark (ink) at every width, so the toggle's
   three bars must be light or they vanish against it (dark-on-dark). Only
   shown below lg, where the bar is always dark. */
.maan-manu-bar .manu-btn span {
  background-color: #ffffff !important;
}
/* The theme's off-canvas open rule (.maan-main-manu.active) is overridden by a
   later conflicting rule, so tapping the hamburger never slid the menu in.
   Force the open state here (loaded last, high specificity + !important). */
body[class] .maan-manu-bar .maan-main-manu.active {
  left: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* ---------- Section titles: thin rule instead of a solid block ---------- */
.maan-title .maan-title-text h2,
.maan-title-center h2 {
  font-size: 26px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--editorial-ink);
  display: inline-block;
}
body[class] section .maan-title::after,
body[class] section .maan-title-center::after {
  background: var(--editorial-accent) !important;
  height: 3px !important;
}

/* ---------- Category tags: one confident accent, not a rainbow ---------- */
body[class] [class^="maan-tag-"], body[class] [class*=" maan-tag-"] {
  background: transparent !important;
  color: var(--editorial-accent) !important;
  font-family: var(--editorial-sans);
  font-size: 11px !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid var(--editorial-accent) !important;
  border-radius: 2px;
  padding: 3px 10px !important;
}

/* ---------- Cards: hairline border instead of heavy shadow ---------- */
.card.maan-default-post {
  border: 1px solid var(--editorial-rule);
  border-radius: 2px;
  box-shadow: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card.maan-default-post:hover {
  border-color: var(--editorial-accent);
  transform: translateY(-2px);
}
.maan-post-img img {
  border-radius: 0;
}
.card .maan-card-body .maan-text h4 a {
  font-size: 18px;
  line-height: 1.35;
}
.card .maan-card-body .maan-text h4 a:hover {
  color: var(--editorial-accent) !important;
}

/* Byline / meta row: quiet, small caps, dot-separated */
.maan-text ul li .maan-item-text,
.maan-post-meta,
.maan-list-text span {
  font-family: var(--editorial-sans);
  font-size: 12px;
  color: var(--maan-color-gray2);
  letter-spacing: 0.02em;
}
.maan-text ul li .maan-icon svg path,
.maan-list-text .maan-icon svg path {
  fill: var(--maan-color-gray2);
}

/* ---------- Links & buttons: ink or accent, sharp corners ---------- */
body[class] a.link-btn,
body[class] .d-btn,
body[class] .maan-btn,
body[class] button.maan-btn {
  background: var(--editorial-ink) !important;
  border-radius: 2px;
  font-family: var(--editorial-sans);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 12px;
  transition: background 0.2s ease;
}
body[class] a.link-btn:hover,
body[class] .d-btn:hover,
body[class] .maan-btn:hover {
  background: var(--editorial-accent) !important;
}
a, .maan-news-list li .maan-list-text a:hover {
  color: inherit;
}
a:hover {
  color: var(--editorial-accent);
}

/* ---------- Breadcrumb ---------- */
.maan-breadcrumb {
  background: var(--editorial-ink);
  padding: 14px 0;
}
.maan-breadcrumb .breadcrumb {
  background: transparent;
  margin: 0;
  font-family: var(--editorial-sans);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.maan-breadcrumb .breadcrumb-item a {
  color: #cfc9bd;
}
.maan-breadcrumb .breadcrumb-item.active {
  color: var(--editorial-accent);
}
.maan-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  color: #6b665d;
}

/* ---------- Article detail ---------- */
.maan-archive-details h1,
.maan-archive-details .maan-title-border-none h1 {
  font-family: var(--editorial-serif);
  font-size: 32px;
  line-height: 1.25;
  font-weight: 800;
}
.maan-archive-details .maan-archive-content,
.maan-archive-details p {
  font-size: 16px;
  line-height: 1.8;
  color: #2c2a26;
}

/* ---------- Pagination ---------- */
.pagination .page-link {
  border-radius: 2px;
  border-color: var(--editorial-rule);
  color: var(--editorial-ink);
  font-family: var(--editorial-sans);
}
.pagination .page-item.active .page-link {
  background: var(--editorial-ink);
  border-color: var(--editorial-ink);
}
.pagination .page-link:hover {
  color: var(--editorial-accent);
  border-color: var(--editorial-accent);
}

/* ---------- Footer ---------- */
/* The stock bridge photo (set via a JS-driven data-background attribute,
   effectively an inline style) doesn't fit the masthead at all — drop it
   for a plain ink field, consistent with the rest of the page. */
.maan-info-footer.maan-data-background {
  background-image: none !important;
}
.maan-info-footer {
  background-color: var(--editorial-ink) !important;
}
/* Every theme color paints its own tint here (meant to color-wash the photo
   we just removed) — kill the overlay entirely rather than chase 12 colors. */
body[class] .maan-info-footer::after {
  background: transparent !important;
}
body[class] .maan-info-footer .row.maan-link-footer .maan-news-tags ul {
  display: flex !important;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 15px;
}
body[class] .maan-info-footer .row.maan-link-footer .maan-news-tags ul li a {
  display: inline-block;
  background: transparent !important;
  color: #f3efe7 !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: 2px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  margin: 0;
  transition: border-color 0.2s ease, color 0.2s ease;
}
body[class] .maan-info-footer .row.maan-link-footer .maan-news-tags ul li a:hover {
  border-color: var(--editorial-accent) !important;
  color: var(--editorial-accent) !important;
}
.maan-info-footer .maan-main-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  padding: 14px 0;
}
.maan-info-footer .maan-main-footer h6 {
  font-size: 12px;
  font-weight: 400;
  opacity: 0.7;
}
.maan-info-footer .maan-main-footer h6:last-child {
  text-align: right;
}
@media (max-width: 575px) {
  .maan-info-footer .maan-main-footer {
    flex-direction: column;
    text-align: center;
    gap: 4px;
  }
  .maan-info-footer .maan-main-footer h6:last-child {
    text-align: center;
  }
}
.maan-info-footer input.form-control {
  border-radius: 2px;
}
.maan-info-footer .maan-title-text h2,
.maan-info-footer h4 {
  font-family: var(--editorial-serif);
  color: #fff;
}
.maan-info-footer a {
  color: #cfc9bd;
}
.maan-info-footer a:hover {
  color: var(--editorial-accent);
}

/* ---------- Thumbnail legibility gradient: every theme-color variant hard-
   codes this in its own accent (blue, violet, ...) — pin it to the editorial
   accent regardless of which color scheme is active in Theme Settings. ---- */
body[class] .maan-top-news-section .topnews-big-card .card.maan-card-img .topnews-thumb:before,
body[class] .maan-card-img .topnews-thumb:before {
  background: linear-gradient(0deg, var(--editorial-accent) 0%, rgba(23, 21, 18, 0) 100%) !important;
}

body[class] .maan-most-popular-section .news-tab .nav-pills button::before {
  background: var(--editorial-accent) !important;
}

/* ---------- Top Categories tiles: swap the light-blue pill for paper tones ---------- */
.maan-top-categories-section .maan-card-img a {
  background: rgba(253, 252, 250, 0.92) !important;
  border: 1px solid var(--editorial-rule);
}
.maan-top-categories-section .maan-card-img a span:first-child {
  font-family: var(--editorial-serif);
}

/* ---------- Placeholder ("no image") tiles ---------- */
img[src*="editorial_placeholder"],
img[src*="default_image"] {
  object-fit: cover !important;
}

/* ---------- Breaking news ticker: a bold solid bar like the reference site,
   not the theme default's quiet 10%-opacity tint. ---------- */
body[class] .maan-breaking-news-section {
  background: var(--editorial-accent) !important;
  padding: 14px 0 !important;
}
body[class] .maan-breaking-news-section .maan-slide-title::before {
  background: rgba(0, 0, 0, 0.2) !important;
  opacity: 1 !important;
}
.maan-breaking-news-section .maan-slide-title .icon svg {
  fill: #fff !important;
}
.maan-breaking-news-section .maan-slide-title h6 {
  color: #fff;
  font-family: var(--editorial-sans);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 13px;
  margin: 0;
}
.maan-breaking-news-section .maan-slide-text p a {
  color: #fff;
  font-family: var(--editorial-sans);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
/* Post thumbnail (leads each slide) + site logo (trails). Small, rounded. */
.maan-breaking-news-section .maan-slide-text .vn-bn-thumb,
.maan-breaking-news-section .maan-slide-text .vn-bn-logo {
  height: 30px !important;      /* beat the theme's width:100% on ticker imgs */
  width: 30px !important;
  max-width: 30px !important;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 4px;
  background: #fff;
}
.maan-breaking-news-section .maan-slide-text .vn-bn-logo {
  object-fit: contain;
  padding: 2px;
}
.maan-breaking-news-section .maan-slide-text .vn-bn-title {
  min-width: 0;
}
/* Animate the active slide's content in on each transition + a soft pulse
   ring on the leading thumbnail so the ticker feels live. */
.maan-breaking-news-section .maan-slide-text .slick-current p a {
  animation: vnBnSlideIn 0.5s ease both;
}
.maan-breaking-news-section .maan-slide-text .slick-current .vn-bn-thumb {
  animation: vnBnPulse 1.8s ease-in-out infinite;
}
@keyframes vnBnSlideIn {
  from { opacity: 0; transform: translateX(14px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes vnBnPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5); }
  50%      { box-shadow: 0 0 0 4px rgba(255, 255, 255, 0); }
}
/* Breaking-ticker prev/next arrows: the theme gives the buttons a white
   background, which on the crimson bar with a white chevron read as blank
   white squares. Make the button transparent so the white chevron shows. */
.maan-breaking-news-section .maan-slide-text .slick-arrow {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
.maan-breaking-news-section .maan-slide-text .slick-arrow svg {
  fill: #fff;
}
.maan-breaking-news-section .maan-slide-text .slick-arrow:hover svg {
  fill: rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   Homepage feed — single-column article list, inspired by khaborsojasuji.com
   (the site this content was migrated from): bordered post cards, an author
   avatar + byline, and a lightweight sidebar, instead of a busy magazine grid.
   ========================================================================== */
.vn-feed-section {
  padding: 40px 0 60px;
}

.vn-feed-item {
  border: 1px solid var(--editorial-rule);
  border-radius: 2px;
  margin-bottom: 24px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.vn-feed-item:hover {
  border-color: var(--editorial-accent);
}
.vn-feed-thumb {
  display: block;
}
.vn-feed-thumb img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
}
.vn-feed-body {
  padding: 22px 24px 24px;
}
.vn-feed-title {
  margin-bottom: 10px;
}
.vn-feed-title a {
  font-family: var(--editorial-serif);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--editorial-accent);
}
.vn-feed-title a:hover {
  color: var(--editorial-accent-dark);
}
.vn-feed-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 12px;
}
.vn-feed-meta-item {
  font-family: var(--editorial-sans);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--maan-color-gray2);
}
.vn-feed-meta-item i {
  color: var(--editorial-accent);
  margin-right: 4px;
}
.vn-feed-excerpt {
  font-family: var(--editorial-sans);
  font-size: 15px;
  line-height: 1.7;
  color: #2c2a26;
  margin-bottom: 18px;
}
.vn-feed-byline {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--editorial-rule);
}
.vn-feed-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--editorial-ink);
  display: flex;
  align-items: center;
  justify-content: center;
}
.vn-feed-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.vn-feed-avatar span {
  color: #fff;
  font-family: var(--editorial-serif);
  font-weight: 700;
  font-size: 16px;
}
.vn-feed-byline-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.vn-feed-byline-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--maan-color-gray2);
}
.vn-feed-byline-text strong {
  font-family: var(--editorial-sans);
  font-size: 14px;
  color: var(--editorial-ink);
}
.vn-pagination {
  display: flex;
  justify-content: center;
  margin-top: 12px;
}

/* Sidebar */
.vn-sidebar-widget {
  border: 1px solid var(--editorial-rule);
  border-radius: 2px;
  padding: 22px;
  margin-bottom: 24px;
}
.vn-sidebar-title {
  font-family: var(--editorial-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--editorial-ink);
  padding-bottom: 10px;
  margin-bottom: 18px;
  border-bottom: 3px solid var(--editorial-accent);
  display: inline-block;
}
/* Homepage: give the sidebar a bit more width on desktop (33% -> 38%); the
   feed column shrinks to match. Scoped to the feed section so other
   col-lg-8/col-lg-4 layouts on the site are unaffected. */
@media (min-width: 992px) {
  .vn-feed-section .row > .col-lg-8 { flex: 0 0 62%; max-width: 62%; }
  .vn-feed-section .row > .col-lg-4 { flex: 0 0 38%; max-width: 38%; }
}

.vn-social-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  justify-content: space-between;
}
.vn-social-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: var(--editorial-ink);
  color: #fff;
  font-size: 18px;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.vn-social-icon:hover {
  transform: translateY(-2px);
  opacity: 0.9;
  color: #fff;
}
.vn-social-icon i.fa-facebook-f { background: transparent; }
.vn-social-icon:has(i.fa-facebook-f) { background: #1877f2; }
.vn-social-icon:has(i.fa-twitter) { background: #1da1f2; }
.vn-social-icon:has(i.fa-instagram) { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.vn-social-icon:has(i.fa-linkedin-in) { background: #0a66c2; }
.vn-social-icon:has(i.fa-youtube) { background: #ff0000; }
.vn-social-icon.vn-social-epaper { background: var(--maan-color-gray2); }

.vn-sidebar-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.vn-sidebar-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--editorial-rule);
}
.vn-sidebar-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.vn-sidebar-list a {
  font-family: var(--editorial-serif);
  font-weight: 700;
  color: var(--editorial-ink);
  font-size: 14px;
  line-height: 1.4;
  display: block;
}
.vn-sidebar-list a:hover {
  color: var(--editorial-accent);
}
.vn-sidebar-list span {
  font-size: 11px;
  color: var(--maan-color-gray2);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.vn-sidebar-categories {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.vn-sidebar-categories a {
  display: inline-block;
  font-family: var(--editorial-sans);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--editorial-ink);
  border: 1px solid var(--editorial-rule);
  border-radius: 2px;
  padding: 5px 10px;
}
.vn-sidebar-categories a:hover {
  border-color: var(--editorial-accent);
  color: var(--editorial-accent);
}

/* ---------- Contact page map: the theme's fixed 40rem iframe height is
   too tall on phones; keep it short so the map doesn't push the contact
   form far below the fold. ---------- */
@media (max-width: 767px) {
  .g-map--wrapper iframe {
    height: 260px;
  }
}

/* ---------- Homepage feed / sidebar: tighten padding and type at phone
   widths so cards don't feel oversized on a narrow screen. ---------- */
@media (max-width: 575px) {
  .vn-feed-body {
    padding: 16px 16px 18px;
  }
  .vn-feed-title a {
    font-size: 20px;
  }
  .vn-feed-thumb img {
    max-height: 220px;
  }
  .vn-feed-meta {
    gap: 10px;
  }
  .vn-sidebar-widget {
    padding: 16px;
  }
  .maan-breaking-news-section .maan-slide-text p a {
    font-size: 13px;
  }
}

/* ==========================================================================
   Mobile top area (MOBILE ONLY — desktop ≥992px is untouched).
   Line 1 (.maan-manu-bar): brand block (logo + title + subtitle) on the left,
   hamburger on the right. Search + sign-in live inside the hamburger menu, so
   their header icons are hidden here. Mirrors the live khaborsojasuji.com
   mobile header (positioning), adapted to v2's dark ink bar with light text.
   Line 2 (.maan-breaking-news-section): ⚡ breaking logo + scroll on one line.
   ========================================================================== */
@media (max-width: 991px) {
  /* Brand block: logo + [title / subtitle] on one row, beside the hamburger. */
  .maan-manu-bar .vn-mobile-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    width: 100%;
    max-width: none !important;   /* beat the theme's .maan-logo max-width:120px */
    min-width: 0;                 /* allow the text block to shrink/ellipsis */
  }
  .maan-manu-bar .vn-mobile-brand img {
    height: 42px !important;
    width: auto !important;
    flex: 0 0 auto;
  }
  .maan-manu-bar .vn-brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1 1 auto;          /* take the space beside the logo */
    min-width: 0;
    line-height: 1.15;
  }
  .maan-manu-bar .vn-brand-title {
    font-size: 19px;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .maan-manu-bar .vn-brand-subtitle {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.72);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 1px;
  }

  /* Move search + sign-in into the hamburger menu: hide the header icons but
     keep the <li> in place (its child modals open from the menu links; a
     display:none <li> would prevent the modal from ever showing). */
  .maan-manu-bar .maan-right-btns .vn-hide-mobile { margin: 0 !important; }
  .maan-manu-bar .maan-right-btns .vn-hide-mobile .maan-search-btn,
  .maan-manu-bar .maan-right-btns .vn-hide-mobile .maan-profile-btn {
    display: none !important;
  }
}
@media (max-width: 767px) {
  /* Line 2: the ⚡ label column (col-md-3) and the scroll column (col-md-9)
     become full-width and stack below 768px — force them onto one line. Target
     the actual Bootstrap columns (the flex items), not the inner divs. */
  .maan-breaking-news-section .row { flex-wrap: nowrap; align-items: center; }
  .maan-breaking-news-section .row > div:first-child {   /* ⚡ label column */
    flex: 0 0 auto;
    width: auto;
    max-width: none;
  }
  .maan-breaking-news-section .row > div:last-child {    /* scroll column */
    flex: 1 1 0;
    width: auto;
    max-width: none;
    min-width: 0;
    overflow: hidden;
    display: flex;            /* center the scroll text against the ⚡ icon */
    align-items: center;
  }
  /* Keep just the ⚡ logo (drop the "Breaking News" text on phones). */
  .maan-breaking-news-section .maan-slide-title h6 { display: none; }
  /* Vertically center the ⚡ icon + scroll text, and trim the bar height. */
  .maan-breaking-news-section .maan-slide-title {
    padding: 0 !important;          /* drop asymmetric padding */
    justify-content: center;        /* horizontally centre the ⚡ in its column */
  }
  .maan-breaking-news-section .maan-slide-title .icon { margin: 0 !important; }
  .maan-breaking-news-section .maan-slide-text { width: 100%; margin-top: 0 !important; margin-bottom: 0 !important; }
  .maan-breaking-news-section .maan-slide-text p { margin: 0; }
  body[class] .maan-breaking-news-section { padding-top: 7px !important; padding-bottom: 7px !important; }
  /* Smaller ticker thumbnails on phones so the single-line bar stays compact. */
  .maan-breaking-news-section .maan-slide-text .vn-bn-thumb,
  .maan-breaking-news-section .maan-slide-text .vn-bn-logo { height: 22px !important; width: 22px !important; max-width: 22px !important; }
}

/* ---------- Sidebar Facebook page plugin ----------
   The plugin renders inside a cross-origin iframe, including its own right-edge
   scrollbar. Give the embed room so the timeline content and that scrollbar
   aren't jammed against the widget border. */
/* Leave ~9px breathing room inside the widget's 22px padding (was edge-to-edge)
   and never clip Facebook's scrollbar. The breakout stays within the widget's
   own padding, so the widget box keeps the same width as every other sidebar
   widget. */
.vn-fb-widget .vn-fb-page {
  margin: 0 -13px -22px;
  overflow: visible;
}
.vn-fb-widget .vn-fb-page iframe {
  width: 100% !important;
  display: block;
  border: 0;
}
@media (max-width: 575px) {
  /* widget padding drops to 16px on phones — keep a small gap, no widening. */
  .vn-fb-widget .vn-fb-page {
    margin: 0 -8px -16px;
  }
}
