/*
Theme Name: MAHARATI NEWS
Description: A green-and-gold editorial child theme for WordPress, built on WpBerita.
Author: MAHARATI NEWS
Version: 1.2.8
Requires at least: 5.5
Requires PHP: 7.0
Template: wpberita
Text Domain: maharati-news
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
*/
:root {
  --mn-forest: #06452f;
  --mn-forest-deep: #033522;
  --mn-forest-mid: #0c6847;
  --mn-gold: #d8a72e;
  --mn-gold-soft: #f5e9c9;
  --mn-ink: #18241e;
  --mn-muted: #77817b;
  --mn-line: #e6eae6;
  --mn-paper: #fff;
  --mn-canvas: #f7f8f6;
  --mn-radius: 10px;
  --mn-shadow: 0 8px 24px rgba(3,53,34,.055);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--mn-canvas); color: var(--mn-ink); font-family: inherit; }
a { color: var(--mn-forest-mid); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover, a:focus { color: var(--mn-gold); }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--mn-gold); outline-offset: 3px; }
.container { width: calc(100% - 40px); max-width: 1240px; }
#content.gmr-content { padding: 28px 0 42px; }
#content.gmr-content > .container > .row { margin-left: -14px; margin-right: -14px; }
#primary.site-main, #secondary.widget-area { padding-left: 14px; padding-right: 14px; min-width: 0; }
.site-main { min-width: 0; }
.page-header { margin: 0 0 24px; padding: 0 0 12px; border-bottom: 1px solid var(--mn-line); }
.page-title { color: var(--mn-forest-deep); font-weight: 800; letter-spacing: -.025em; }
.page-title:after { background: var(--mn-gold) !important; }

/* Header: white space, brand-first logo, restrained green utility strip */
#topnavwrap { background: var(--mn-forest-deep); color: #fff; border: 0; }
#topnavwrap a { color: #fff; }
#topnavwrap .gmr-topnotification { background: transparent; color: #fff; }
#topnavwrap .text-marquee { color: var(--mn-gold); font-weight: 700; }
.site-header { background: var(--mn-paper); padding: 22px 0; border-bottom: 1px solid var(--mn-line); }
.site-branding, .gmr-logo-wrap { display: flex; align-items: center; }
.custom-logo { display: block; max-width: 100%; max-height: 92px; width: auto; height: auto; object-fit: contain; }
.site-title a { color: var(--mn-forest-deep); font-weight: 900; }
.site-description { color: var(--mn-muted); }
.gmr-logo-mobile .custom-logo { max-height: 48px; }

/* Navigation */
.gmr-mainmenu, #primary-menu { background: var(--mn-forest); }
.gmr-mainmenu { border-top: 2px solid var(--mn-gold); box-shadow: 0 3px 12px rgba(3,53,34,.08); }
.gmr-mainmenu ul > li > a, .gmr-mainmenu .menu > li > a { color: #fff; font-weight: 650; padding: 15px 17px; transition: background-color .15s ease, color .15s ease; }
.gmr-mainmenu ul > li:hover > a, .gmr-mainmenu ul > li:focus-within > a,
.gmr-mainmenu ul > li.current-menu-item > a, .gmr-mainmenu ul > li.current-menu-ancestor > a { background: var(--mn-forest-deep); color: #f4d887; }
.gmr-mainmenu ul .sub-menu, .gmr-mainmenu ul .children { background: #fff; border: 1px solid var(--mn-line); border-radius: 0 0 8px 8px; box-shadow: var(--mn-shadow); }
.gmr-mainmenu ul .sub-menu a, .gmr-mainmenu ul .children a { color: var(--mn-ink); }
.gmr-mainmenu ul .sub-menu a:hover, .gmr-mainmenu ul .children a:hover { background: #f4f7f4; color: var(--mn-forest); }
#gmr-responsive-menu { color: var(--mn-forest); }
.gmr-mobilemenuwrap { background: var(--mn-forest-deep); }
.gmr-mobilemenuwrap a { color: #fff; }

/* Lead story and article cards */
.gmr-bigheadline { margin: 0 0 30px; }
.gmr-bigheadline .post-thumbnail, #infinite-container .post-thumbnail,
article .post-thumbnail { display: block; overflow: hidden; background: #edf2ed; border-radius: 8px; }
.gmr-bigheadline .post-thumbnail img, #infinite-container .post-thumbnail img,
article .post-thumbnail img { display: block; width: 100%; height: auto; object-fit: cover; transition: transform .25s ease; }
.gmr-bigheadline .post-thumbnail:hover img, #infinite-container .post-thumbnail:hover img,
article .post-thumbnail:hover img { transform: scale(1.015); }
.gmr-bigheadline .gmr-slide-titlelink, .gmr-bigheadline .recent-title,
.entry-title a { color: var(--mn-ink); font-weight: 800; }
.gmr-bigheadline .gmr-slide-titlelink:hover, .gmr-bigheadline .recent-title:hover,
.entry-title a:hover { color: var(--mn-forest-mid); }
.gmr-bigheadline .gmr-big-headline .gmr-slide-titlelink { font-size: clamp(1.55rem, 2.5vw, 2.35rem); line-height: 1.16; letter-spacing: -.025em; }
.gmr-bigheadline-right .gmr-slider-content { border-bottom: 1px solid var(--mn-line); padding: 13px 0; }
.gmr-bigheadline-right .gmr-slider-content:first-child { padding-top: 0; }
.gmr-bigheadline-right .gmr-slider-content:last-child { border-bottom: 0; }
.gmr-bigheadline .cat-links a, .entry-meta .cat-links a, .gmr-category a, .post-categories a { color: var(--mn-forest-mid); font-weight: 750; }

/* Home feed: simple cards, consistent thumbnail sizing */
#infinite-container { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
#infinite-container > article { width: auto; max-width: none; min-width: 0; margin: 0; padding: 0 0 20px; border-bottom: 1px solid var(--mn-line); }
#infinite-container article .post-thumbnail { width: 100%; margin: 0 0 12px; }
#infinite-container article .post-thumbnail img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
#infinite-container .entry-title { margin: 10px 0 8px; font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.3; letter-spacing: -.015em; }
.entry-meta, .meta-content, .posted-on, .byline { color: var(--mn-muted); font-size: .82rem; }
.entry-meta a, .meta-content a { color: var(--mn-forest-mid); }
.pagination .page-numbers, .nav-links a { border-color: var(--mn-line); border-radius: 5px; }
.pagination .current, .pagination a:hover, .nav-links a:hover { background: var(--mn-forest); color: #fff; }

/* Sidebar modules */
#secondary, .widget-area { min-width: 0; }
.widget { background: var(--mn-paper); border: 1px solid var(--mn-line); border-radius: var(--mn-radius); padding: 18px; margin-bottom: 20px; box-shadow: var(--mn-shadow); }
.widget-title, .widget .widget-title { margin: 0 0 14px; padding: 0 0 11px; color: var(--mn-forest-deep); border-bottom: 2px solid var(--mn-gold); font-weight: 800; line-height: 1.25; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: 10px 0; border-bottom: 1px solid var(--mn-line); }
.widget li:last-child { border-bottom: 0; padding-bottom: 0; }
.widget li a { color: var(--mn-ink); font-weight: 650; }
.widget li a:hover { color: var(--mn-forest-mid); }
.widget .post-date, .widget .count { color: var(--mn-muted); }

/* Single article */
.single #primary.site-main, .page #primary.site-main { background: var(--mn-paper); padding: 26px 28px 30px; border: 1px solid var(--mn-line); border-radius: var(--mn-radius); }
.single .entry-title { color: var(--mn-forest-deep); font-size: clamp(1.85rem, 3vw, 2.7rem); line-height: 1.14; font-weight: 850; letter-spacing: -.03em; }
.single .gmr-thumbnail-single { margin: 22px 0 26px; }
.single .gmr-thumbnail-single img { display: block; width: 100%; height: auto; border-radius: 8px; }
.entry-content-single { color: #28352d; font-size: 1.08rem; line-height: 1.82; }
.entry-content-single a { color: var(--mn-forest-mid); text-decoration: underline; }
.entry-content-single blockquote { border-left: 3px solid var(--mn-gold); background: #f7f8f4; padding: 16px 20px; margin: 24px 0; border-radius: 0 8px 8px 0; }
.entry-footer-single { border-top: 1px solid var(--mn-line); padding-top: 16px; }
.related-post, .gmr-related-post { border-top: 2px solid var(--mn-gold); padding-top: 16px; }

/* Empty results and notices: avoid legacy red alert treatment */
.no-results, .not-found, .search-no-results .page-content { color: var(--mn-muted); }
.no-results .page-title, .not-found .page-title { color: var(--mn-forest-deep); }
.no-results h2, .not-found h2 { color: var(--mn-forest-deep); font-weight: 750; }
hr { border: 0; border-top: 1px solid var(--mn-line); }

/* Footer */
.site-footer, #colophon { background: var(--mn-forest-deep); color: rgba(255,255,255,.82); }
.site-footer a, #colophon a { color: #fff; }
.site-footer a:hover, #colophon a:hover { color: #f4d887; }
.site-footer .widget-title, #colophon .widget-title { color: #fff; border-color: var(--mn-gold); }

/* Forms and controls */
input[type="text"], input[type="search"], input[type="email"], textarea, select { border: 1px solid #d6ded7; border-radius: 6px; }
button, input[type="submit"], .button { background: var(--mn-forest); color: #fff; border-color: var(--mn-forest); border-radius: 5px; }
button:hover, input[type="submit"]:hover, .button:hover { background: var(--mn-forest-deep); color: #f4d887; }
.screen-reader-text:focus { background: var(--mn-gold-soft); color: var(--mn-forest-deep); }

/* Breakpoints */
@media (min-width: 1200px) { .container { width: calc(100% - 48px); max-width: 1240px; } }
@media (max-width: 991px) {
  .site-header { padding: 16px 0; }
  .custom-logo { max-height: 76px; }
  .gmr-mainmenu ul > li > a { padding: 13px 11px; }
  #content.gmr-content { padding-top: 22px; }
}
@media (max-width: 767px) {
  .container { width: calc(100% - 24px); max-width: none; }
  #content.gmr-content > .container > .row { margin-left: -10px; margin-right: -10px; }
  #primary.site-main, #secondary.widget-area { padding-left: 10px; padding-right: 10px; }
  #infinite-container { grid-template-columns: minmax(0,1fr); gap: 20px; }
  .gmr-bigheadline { margin-bottom: 22px; }
  .gmr-bigheadline .gmr-big-headline .gmr-slide-titlelink { font-size: 1.55rem; }
  .single #primary.site-main, .page #primary.site-main { padding: 18px 16px 22px; }
  .widget { padding: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}


/* Breaking-news ticker: align it with the site's content container, not viewport width. */
#topnavwrap .container,
#topnavwrap .gmr-topnotification {
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
}
#topnavwrap .gmr-topnotification {
  width: 100%;
  box-sizing: border-box;
  border-radius: 0;
}
@media (min-width: 1200px) {
  #topnavwrap .container,
  #topnavwrap .gmr-topnotification {
    max-width: 1240px;
  }
}
@media (max-width: 767px) {
  #topnavwrap .container,
  #topnavwrap .gmr-topnotification {
    max-width: calc(100% - 24px);
  }
}


/* Breaking-news strip: white surface with a fine green-and-gold edge. */
#topnavwrap {
  background: #ffffff !important;
  border-bottom: 2px solid #d8a72e;
  color: #06452f;
}
#topnavwrap .gmr-topnotification {
  background: #ffffff !important;
  color: #06452f !important;
  border-bottom: 1px solid #06452f;
}
#topnavwrap .gmr-topnotification a,
#topnavwrap .gmr-topnotification a.gmr-recent-marquee {
  color: #06452f !important;
}
#topnavwrap .text-marquee {
  background: #f5e9c9 !important;
  color: #06452f !important;
  border: 1px solid #d8a72e;
  font-weight: 750;
}
#topnavwrap .wrap-marquee,
#topnavwrap .gmr-topnotification div.marquee {
  background: transparent !important;
}
#topnavwrap .gmr-topnotification .gmr-search-form,
#topnavwrap .gmr-topnotification .search-form,
#topnavwrap .gmr-topnotification .gmr-search,
#topnavwrap .gmr-topnotification .gmr-menu-toggle {
  color: #06452f !important;
}


/* Distinct two-tier header: gold breaking-news band, white utility/navigation band. */
#topnavwrap {
  background: #ffffff !important;
  border-bottom: 1px solid #e5e9e5;
  color: #06452f;
}
#topnavwrap .gmr-topnotification {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 5px 0 !important;
  background: #e4b43b !important;
  color: #063b29 !important;
  border: 0 !important;
}
#topnavwrap .gmr-topnotification > .container {
  max-width: 1240px;
  width: calc(100% - 40px);
  margin-left: auto;
  margin-right: auto;
}
#topnavwrap .gmr-topnotification .text-marquee {
  display: inline-block;
  padding: 3px 10px !important;
  background: #ffffff !important;
  color: #06452f !important;
  border: 1px solid rgba(6,69,47,.16);
  border-radius: 4px;
  font-weight: 750;
}
#topnavwrap .gmr-topnotification a,
#topnavwrap .gmr-topnotification a.gmr-recent-marquee {
  color: #063b29 !important;
}
#topnavwrap .gmr-topnotification .wrap-marquee,
#topnavwrap .gmr-topnotification div.marquee {
  background: transparent !important;
}
#topnavwrap > .container {
  max-width: 1240px;
  width: calc(100% - 40px);
  margin-left: auto;
  margin-right: auto;
  background: #ffffff !important;
}
#topnavwrap > .container .gmr-navleft,
#topnavwrap > .container .gmr-navright,
#topnavwrap > .container .gmr-navcenter {
  background: #ffffff !important;
  color: #06452f !important;
}
#topnavwrap #gmr-responsive-menu,
#topnavwrap .gmr-navleft a,
#topnavwrap .gmr-navright a,
#topnavwrap .gmr-navcenter a {
  color: #06452f !important;
}
#topnavwrap .gmr-navright input,
#topnavwrap .gmr-navcenter input {
  background: #f7f8f6;
  border-color: #e2e7e2;
}
@media (max-width: 767px) {
  #topnavwrap .gmr-topnotification > .container,
  #topnavwrap > .container {
    width: calc(100% - 24px);
  }
}


/* Elegant breaking-news treatment: ivory field, green badge, hairline gold accent. */
#topnavwrap .gmr-topnotification {
  background: #f7f6f1 !important;
  color: #174b37 !important;
  border-top: 1px solid #e8e4d8 !important;
  border-bottom: 1px solid #e3e7e2 !important;
  padding: 6px 0 !important;
}
#topnavwrap .gmr-topnotification .text-marquee {
  background: #075038 !important;
  color: #ffffff !important;
  border: 0 !important;
  border-radius: 4px !important;
  padding: 4px 12px !important;
  font-weight: 700 !important;
  letter-spacing: .01em;
}
#topnavwrap .gmr-topnotification a,
#topnavwrap .gmr-topnotification a.gmr-recent-marquee {
  color: #174b37 !important;
}
#topnavwrap .gmr-topnotification .wrap-marquee,
#topnavwrap .gmr-topnotification div.marquee {
  background: transparent !important;
}
#topnavwrap .gmr-topnotification > .container {
  border-bottom: 1px solid rgba(216,167,46,.55);
}
#topnavwrap > .container {
  background: #ffffff !important;
}


/* MAHARATI NEWS 1.1.0 — responsive layout refinements */
:root {
  --mn-forest: #06452f;
  --mn-forest-deep: #033522;
  --mn-forest-mid: #0c6847;
  --mn-gold: #d8a72e;
  --mn-gold-soft: #f5e9c9;
  --mn-ink: #18241e;
  --mn-muted: #77817b;
  --mn-line: #e6eae6;
  --mn-paper: #fff;
  --mn-canvas: #f7f8f6;
}
html { scroll-behavior: smooth; }
body { overflow-wrap: break-word; }
.container { width: calc(100% - 40px); max-width: 1200px; }
#content.gmr-content { padding-top: 24px; padding-bottom: 40px; }
#content.gmr-content > .container > .row { margin-left: -12px; margin-right: -12px; }
#primary.site-main, #secondary.widget-area { padding-left: 12px; padding-right: 12px; min-width: 0; }
#primary.site-main { overflow-wrap: anywhere; }
img, video, iframe { max-width: 100%; }
.gmr-bigheadline img, #infinite-container img, .single .gmr-thumbnail-single img { height: auto; }
#infinite-container { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
#infinite-container > article { min-width: 0; width: auto; max-width: none; margin: 0; }
#infinite-container article .post-thumbnail img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.gmr-bigheadline .gmr-slide-titlelink,
.gmr-bigheadline .recent-title,
#infinite-container .entry-title a,
.single .entry-title { overflow-wrap: anywhere; }
.widget { min-width: 0; }
.widget img { max-width: 100%; height: auto; }
.single .entry-content-single { max-width: 820px; margin-left: auto; margin-right: auto; }
.single .gmr-thumbnail-single { max-width: 100%; }
#topnavwrap .gmr-topnotification { overflow: hidden; }
#topnavwrap .gmr-topnotification .list-flex { min-width: 0; }
#topnavwrap .gmr-topnotification .wrap-marquee { min-width: 0; }
#topnavwrap .gmr-topnotification .marquee { max-width: 100%; }

/* Fix the no-sidebar body class used by the child theme PHP. */
body.maharati-home-no-sidebar #primary.site-main {
  width: 100%;
  max-width: 100%;
  flex: 0 0 100%;
}
body.maharati-home-no-sidebar #infinite-container {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (min-width: 768px) and (max-width: 991px) {
  body.maharati-home-no-sidebar #infinite-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 991px) {
  .container { width: calc(100% - 32px); }
  #content.gmr-content { padding-top: 20px; }
  .gmr-mainmenu ul > li > a, .gmr-mainmenu .menu > li > a { padding: 12px 10px; }
  .custom-logo { max-height: 72px; width: auto; }
}
@media (max-width: 767px) {
  .container { width: calc(100% - 24px); max-width: none; }
  #content.gmr-content > .container > .row { margin-left: -8px; margin-right: -8px; }
  #primary.site-main, #secondary.widget-area { padding-left: 8px; padding-right: 8px; }
  #infinite-container,
  body.maharati-home-no-sidebar #infinite-container { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  #infinite-container > article { padding-bottom: 16px; }
  .gmr-bigheadline .gmr-big-headline .gmr-slide-titlelink { font-size: clamp(1.35rem, 5.5vw, 1.7rem); line-height: 1.2; }
  .single .entry-title { font-size: clamp(1.65rem, 6vw, 2.2rem); line-height: 1.2; }
  .single #primary.site-main, .page #primary.site-main { padding: 16px 14px 20px; }
  .entry-content-single { font-size: 1rem; line-height: 1.75; }
  .gmr-topnotification .text-marquee { font-size: 12px; padding: 3px 8px; }
}
@media (max-width: 420px) {
  .container { width: calc(100% - 20px); }
  .gmr-bigheadline .gmr-big-headline .gmr-slide-titlelink { font-size: 1.35rem; }
  #infinite-container .entry-title { font-size: 1.08rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}


/* MAHARATI NEWS 1.1.1 — corrective overrides for parent-theme Bootstrap layout */
@media (min-width: 1200px) {
  body .container {
    width: calc(100% - 40px) !important;
    max-width: 1240px !important;
  }
}
/* The parent theme applies column/floated layouts inside feed posts.
   Reset those nested columns so each card can use the available feed width. */
#infinite-container {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  align-items: start;
}
#infinite-container > article {
  display: block !important;
  float: none !important;
  clear: none !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  flex: none !important;
}
#infinite-container > article > .row,
#infinite-container > article .row {
  display: block !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
#infinite-container > article [class*="col-"] {
  display: block !important;
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  flex: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
#infinite-container > article .post-thumbnail {
  display: block !important;
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 0 12px !important;
}
#infinite-container > article .post-thumbnail img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
#infinite-container > article .entry-title,
#infinite-container > article .entry-title a,
#infinite-container > article .entry-content,
#infinite-container > article .entry-summary {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-wrap: anywhere;
}
@media (max-width: 991px) {
  #infinite-container {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 767px) {
  #infinite-container {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  body .container {
    width: calc(100% - 24px) !important;
    max-width: 100% !important;
  }
}


/* MAHARATI NEWS homepage hero slider — adaptive caption styling */
.mn-home-slider {
  position: relative; width: 100%; aspect-ratio: 16 / 8.2; min-height: 300px; max-height: 540px;
  overflow: hidden; isolation: isolate; background: #15251c; border-radius: 9px; margin: 0 0 30px;
  box-shadow: 0 8px 24px rgba(3,53,34,.10);
}
.mn-home-slider__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .55s ease, visibility .55s ease; }
.mn-home-slider__slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.mn-home-slider__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; opacity: .72; transform: scale(1.015); transition: transform 5s linear, opacity .6s ease; }
.mn-home-slider__slide.is-active .mn-home-slider__image { transform: scale(1); opacity: 1; }
.mn-home-slider__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.03) 12%, rgba(0,0,0,.12) 45%, rgba(0,0,0,.56) 100%); }
.mn-home-slider__caption {
  position: absolute; left: 50%; bottom: 12%; width: fit-content; max-width: calc(100% - 36px);
  text-align: center; color: #fff; opacity: 0; transform: translate(-50%, 30px);
  transition: opacity .5s ease .28s, transform .6s cubic-bezier(.2,.7,.25,1) .28s; z-index: 2;
}
.mn-home-slider__slide.is-active .mn-home-slider__caption { opacity: 1; transform: translate(-50%, 0); }
.mn-home-slider__text-panel {
  display: inline-flex; flex-direction: column; align-items: center; width: fit-content;
  max-width: 100%; box-sizing: border-box; padding: 12px 22px 11px;
  background: rgba(0,0,0,.48); border: 1px solid rgba(255,255,255,.08); border-radius: 10px;
}
.mn-home-slider__category {
  display: inline-block; align-self: center; margin: 0 0 6px; padding: 4px 11px;
  border-radius: 18px; background: #8d2025; color: #fff; font-size: .78rem;
  font-weight: 800; letter-spacing: .02em; text-transform: none;
}
.mn-home-slider .mn-home-slider__title {
  width: auto; max-width: min(76vw, 880px); margin: 0 auto 6px; font-size: clamp(17px, 1.55vw, 23px) !important;
  line-height: 1.24; font-weight: 800; text-wrap: balance; text-align: center;
}
.mn-home-slider .mn-home-slider__title a { font-size: inherit !important; line-height: inherit; }
.mn-home-slider__title a { color: #fff; text-decoration: none; text-shadow: 0 2px 8px rgba(0,0,0,.25); }
.mn-home-slider__title a:hover { color: #f5e9c9; }
.mn-home-slider__meta { margin: 0; color: rgba(255,255,255,.94); font-size: .86rem; line-height: 1.35; }
.mn-home-slider__arrow {
  position: absolute; z-index: 3; top: 50%; transform: translateY(-50%); width: 42px; height: 42px;
  display: grid; place-items: center; border: 1px solid rgba(255,255,255,.22); border-radius: 50%;
  background: rgba(0,0,0,.48); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer;
}
.mn-home-slider__arrow:hover, .mn-home-slider__arrow:focus { background: rgba(0,0,0,.72); color: #fff; }
.mn-home-slider__arrow--prev { left: 16px; } .mn-home-slider__arrow--next { right: 16px; }
.mn-home-slider__dots { position: absolute; z-index: 3; left: 0; right: 0; bottom: 16px; display: flex; justify-content: center; gap: 8px; }
.mn-home-slider__dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.58); cursor: pointer; }
.mn-home-slider__dot[aria-current="true"] { width: 25px; border-radius: 8px; background: #fff; }
@media (max-width: 767px) {
  .mn-home-slider { aspect-ratio: 4 / 3; min-height: 260px; margin-bottom: 22px; border-radius: 7px; }
  .mn-home-slider__caption { bottom: 14%; max-width: calc(100% - 24px); }
  .mn-home-slider__text-panel { padding: 10px 13px 9px; border-radius: 8px; }
  .mn-home-slider .mn-home-slider__title { max-width: 100%; font-size: clamp(15px, 3.4vw, 18px) !important; line-height: 1.23; }
  .mn-home-slider__category { margin-bottom: 5px; padding: 3px 9px; font-size: .68rem; }
  .mn-home-slider__meta { font-size: .75rem; }
  .mn-home-slider__arrow { width: 34px; height: 34px; font-size: 1.3rem; }
  .mn-home-slider__arrow--prev { left: 9px; } .mn-home-slider__arrow--next { right: 9px; }
  .mn-home-slider__dots { bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .mn-home-slider__slide, .mn-home-slider__image, .mn-home-slider__caption { transition: none !important; }
}


/* MAHARATI NEWS 1.2.8 — content-width slider panel, matching reference */
.mn-home-slider .mn-home-slider__caption {
  display: block !important;
  width: max-content !important;
  max-width: calc(100% - 40px) !important;
  left: 50% !important;
  right: auto !important;
  box-sizing: border-box !important;
}
.mn-home-slider .mn-home-slider__text-panel {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  width: max-content !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}
.mn-home-slider .mn-home-slider__category {
  align-self: flex-start !important;
  margin: 0 0 7px !important;
}
.mn-home-slider .mn-home-slider__title {
  display: block !important;
  width: max-content !important;
  max-width: min(78vw, 920px) !important;
  margin: 0 auto 7px !important;
  text-align: center !important;
  font-size: clamp(19px, 1.75vw, 27px) !important;
  line-height: 1.24 !important;
  overflow-wrap: anywhere;
}
.mn-home-slider .mn-home-slider__title a {
  display: inline !important;
  font-size: inherit !important;
  line-height: inherit !important;
}
.mn-home-slider .mn-home-slider__meta {
  align-self: center !important;
  max-width: 100%;
  text-align: center !important;
}
@media (max-width: 767px) {
  .mn-home-slider .mn-home-slider__caption {
    max-width: calc(100% - 24px) !important;
  }
  .mn-home-slider .mn-home-slider__title {
    max-width: calc(100vw - 56px) !important;
    font-size: clamp(16px, 4vw, 20px) !important;
    line-height: 1.23 !important;
  }
  .mn-home-slider .mn-home-slider__text-panel {
    padding: 10px 13px 9px !important;
  }
}
