:root {
  --ns-accent: #ff4d4d;
  --ns-accent-2: #ff7a18;
  --ns-surface: #ffffff;
  --ns-surface-soft: #f7f8fc;
  --ns-border: rgba(18, 24, 39, 0.08);
  --ns-text: #111827;
  --ns-muted: #6b7280;
  --ns-shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
  --ns-shadow-md: 0 12px 30px rgba(15, 23, 42, 0.08);
  --ns-radius-xl: 24px;
  --ns-radius-lg: 18px;
  --ns-radius-md: 14px;
}

html {
  scroll-behavior: smooth;
}

body,
button,
input,
select,
textarea {
  font-family: var(--bodyFont);
}

body {
  color: var(--ns-text);
  background:
    radial-gradient(circle at top left, rgba(255, 77, 77, 0.07), transparent 28%),
    radial-gradient(circle at top right, rgba(255, 122, 24, 0.07), transparent 24%),
    linear-gradient(180deg, #f9fafc 0%, #f3f5f9 100%);
}

h1, h2, h3, h4, h5, h6,
.site-title,
.navbar-wp,
.mg-sec-title h4,
.mg-sidebar .mg-widget .wtitle {
  font-family: var(--headFont);
  letter-spacing: -0.02em;
}

a {
  transition: color 0.25s ease, opacity 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

a:hover {
  text-decoration: none;
}

.wrapper {
  overflow-x: clip;
}

header .container-fluid,
.mg-menu-full .container-fluid,
#content.container-fluid.home,
footer .container-fluid,
.mg-head-detail .container-fluid,
.mg-nav-widget-area .container-fluid {
  width: min(100%, 1500px);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.mg-headwidget {
  padding-top: 12px;
}

.mg-head-detail {
  margin: 0 auto 14px;
  border-radius: var(--ns-radius-lg);
  background: rgba(10, 15, 30, 0.86);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--ns-shadow-md);
  backdrop-filter: blur(14px);
}

.mg-head-detail .info-left,
.mg-head-detail .mg-social {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0;
  padding: 10px 0;
}

.mg-head-detail .info-left li,
.mg-head-detail .mg-social li {
  margin: 0;
}

.mg-head-detail .mg-social li a,
.mg-head-detail .info-left a,
.mg-head-detail .info-left span {
  border-radius: 999px;
}

span.time {
  background: linear-gradient(135deg, var(--ns-accent), var(--ns-accent-2));
  color: #fff;
  margin-left: 8px;
  padding: 5px 10px;
  line-height: 1.2;
  box-shadow: 0 8px 18px rgba(255, 77, 77, 0.22);
}

.mg-social li span.icon-soci {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mg-social li a:hover span.icon-soci {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--ns-accent), var(--ns-accent-2));
}

.mg-nav-widget-area-back {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background-position: center;
  background-size: cover;
  box-shadow: var(--ns-shadow-lg);
}

.mg-nav-widget-area-back::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(7, 10, 19, 0.88) 0%, rgba(7, 10, 19, 0.55) 46%, rgba(255, 77, 77, 0.18) 100%),
    radial-gradient(circle at right top, rgba(255, 122, 24, 0.2), transparent 26%);
  pointer-events: none;
}

.mg-nav-widget-area-back .overlay,
.mg-nav-widget-area-back .overlay .inner {
  position: relative;
  background: transparent !important;
}

.mg-nav-widget-area {
  padding: 20px 0 24px;
}

.navbar-header {
  position: relative;
  z-index: 1;
}

.site-logo img,
.custom-logo {
  max-height: 68px;
  width: auto;
}

.site-title,
.site-title a {
  color: #fff;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 800;
  line-height: 1.05;
}

.site-description {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.98rem;
  margin-top: 8px;
  max-width: 42rem;
}

.mg-headwidget .heacent,
.mg-headwidget .heacent .widget,
.mg-headwidget .heacent img,
.mg-headwidget .heacent iframe {
  border-radius: 20px;
  overflow: hidden;
}

.mg-headwidget .heacent .widget,
.mg-headwidget .heacent .banner,
.mg-headwidget .heacent a img {
  box-shadow: var(--ns-shadow-md);
}

.mg-menu-full {
  position: sticky;
  top: 12px;
  z-index: 999;
  padding: 16px 0 0;
  background: transparent;
}

.navbar-wp {
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.58);
  box-shadow: var(--ns-shadow-md);
  backdrop-filter: blur(16px);
  min-height: 72px;
  padding: 0 10px;
}

body.newstack-scrolled .navbar-wp {
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.14);
}

.navbar-wp .nav > li > a,
.navbar-wp .navbar-nav > li > a {
  color: #111827;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 999px;
  padding: 12px 18px !important;
  margin: 6px 3px;
}

.navbar-wp .nav > li > a:hover,
.navbar-wp .nav > li.current-menu-item > a,
.navbar-wp .nav > li.current-menu-ancestor > a,
.navbar-wp .navbar-nav > li > a:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--ns-accent), var(--ns-accent-2));
  box-shadow: 0 10px 24px rgba(255, 77, 77, 0.24);
}

.mobilehomebtn,
.navbar-wp .dropdown-toggle,
.navbar-wp .mg-search-box .dropdown-toggle,
.navbar-wp .desk-header > * > a,
.navbar-wp .desk-header .dropdown-toggle,
.navbar-wp .desk-header button {
  border-radius: 999px;
}

.tpt-tag-area,
.mg-tpt-tag-area,
.mg-latest-news-sec {
  margin-top: 22px;
}

.mg-tpt-tag-area,
.mg-latest-news-sec,
.mg-widget,
.mg-posts-sec-inner .mg-posts-sec-post,
.mg-posts-modul-6 .mg-sec-top-post,
.mg-blog-post,
.mg-blog-post-box,
.mg-sidebar .mg-widget,
.mg-blog-post.lg,
.mg-blog-post.md,
.mg-sec-post,
.mg-post-box,
.widget,
article.post,
article.page {
  border-radius: 22px;
  border: 1px solid var(--ns-border);
  box-shadow: var(--ns-shadow-md);
  overflow: hidden;
}

.mg-widget,
.mg-posts-sec-inner .mg-posts-sec-post,
.mg-sidebar .mg-widget,
article.post,
article.page,
.mg-blog-post-box {
  background: rgba(255, 255, 255, 0.92);
}

#content.container-fluid.home {
  padding-top: 28px;
  padding-bottom: 36px;
}

#content.container-fluid.home > .row {
  row-gap: 28px;
}

#sidebar-left,
#sidebar-right {
  display: grid;
  gap: 24px;
}

.mg-sidebar .mg-widget,
.mg-posts-sec-inner .mg-posts-sec-post {
  padding: 0;
}

.mg-widget .wtitle,
.mg-sec-title h4,
footer .mg-widget h6,
.wp-block-search .wp-block-search__label,
.mg-widget .wp-block-group h2 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #0f172a;
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0;
  padding: 0;
}

.mg-wid-title,
.mg-sec-title,
footer .mg-widget h6,
.wp-block-search .wp-block-search__label,
.mg-widget .wp-block-group h2 {
  position: relative;
  padding: 18px 22px 16px;
  background: linear-gradient(180deg, rgba(247, 248, 252, 0.9), rgba(255, 255, 255, 0));
  border-bottom: 1px solid rgba(18, 24, 39, 0.06);
}

.mg-wid-title::after,
.mg-sec-title::after {
  content: "";
  position: absolute;
  left: 22px;
  bottom: 0;
  width: 64px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--ns-accent), var(--ns-accent-2));
}

.mg-widget > *:not(.mg-wid-title),
.mg-posts-sec-inner .mg-posts-sec-post > *:not(.mg-sec-title) {
  padding-left: 22px;
  padding-right: 22px;
}

.mg-widget > ul,
.mg-widget > div,
.mg-widget .tab-content,
.mg-sidebar .mg-widget .tab-content,
.mg-posts-sec-inner .mg-posts-sec-post .small-list-post,
.mg-posts-sec-inner .mg-posts-sec-post .mg-post-thumb,
.mg-posts-sec-inner .mg-posts-sec-post .mg-post-box,
.mg-posts-sec-inner .mg-posts-sec-post .mg-blog-post-box,
.mg-posts-sec-inner .mg-posts-sec-post .mg-posts-sec-post-inner {
  padding-bottom: 22px;
}

.mg-blog-category a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.mg-post-thumb,
.mg-blog-post .img-fluid,
.mg-blog-post img,
.post-thumbnail img,
.wp-post-image {
  border-radius: 18px;
}

.mg-blog-post,
.mg-posts-sec-inner .mg-posts-sec-post,
.mg-widget,
.mg-blog-post-box,
article.post,
article.page {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.mg-blog-post:hover,
.mg-posts-sec-inner .mg-posts-sec-post:hover,
.mg-widget:hover,
.mg-blog-post-box:hover,
article.post:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 54px rgba(15, 23, 42, 0.14);
  border-color: rgba(255, 77, 77, 0.16);
}

.mg-blog-post .title,
.mg-blog-post h4,
.mg-posts-sec-inner .title,
.mg-posts-modul-6 .mg-sec-top-post .title,
.widget .title,
.entry-title {
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.mg-blog-post.lg .title,
.mg-blog-post.md .title,
.mg-blog-post.lg h4,
.mg-blog-post.md h4 {
  font-size: clamp(1.4rem, 2.3vw, 2.5rem);
  line-height: 1.08;
}

.mg-blog-post .title a,
.mg-blog-post h4 a,
.mg-posts-sec-inner .title a,
.widget .title a,
.entry-title a {
  color: inherit;
}

.mg-blog-post .title a:hover,
.mg-blog-post h4 a:hover,
.mg-posts-sec-inner .title a:hover,
.widget .title a:hover,
.entry-title a:hover {
  color: #fff;
  opacity: 0.92;
}

.mg-blog-post .mg-blog-img,
.mg-blog-post .post-thumbnail,
.mg-post-thumb,
.post-thumbnail {
  overflow: hidden;
}

.mg-blog-post img,
.mg-post-thumb img,
.post-thumbnail img,
.wp-post-image {
  transition: transform 0.6s ease;
}

.mg-blog-post:hover img,
.mg-post-thumb:hover img,
.post-thumbnail:hover img {
  transform: scale(1.05);
}

.mg-blog-post .bottom,
.mg-blog-post-box .mg-header,
.mg-post-box .mg-header {
  position: relative;
}

.mg-blog-post .bottom::before,
.mg-blog-post-box .mg-header::before,
.mg-post-box .mg-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.02) 0%, rgba(15, 23, 42, 0.72) 65%, rgba(15, 23, 42, 0.92) 100%);
  pointer-events: none;
}

.mg-blog-post .bottom > *,
.mg-blog-post-box .mg-header > *,
.mg-post-box .mg-header > * {
  position: relative;
  z-index: 1;
}

.mg-blog-post .bottom,
.mg-blog-post-box .mg-header {
  padding: 24px;
}

.mg-blog-post .mg-author,
.mg-blog-post .mg-blog-date,
.mg-blog-post .mg-blog-meta,
.mg-blog-post .mg-blog-meta span,
.mg-blog-post .mg-blog-meta a {
  color: rgba(255, 255, 255, 0.82);
}

.mg-latest-news-sec,
.mg-tpt-tag-area {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(18, 24, 39, 0.06);
  border-radius: 20px;
  box-shadow: var(--ns-shadow-md);
  overflow: hidden;
}

.mg-latest-news-sec .mg-latest-news,
.mg-tpt-tag-area .mg-tpt-txnlst {
  padding: 12px 16px;
}

.mg-latest-news .bn_title,
.mg-tpt-tag-area .mg-tpt-txnlst strong,
.mg-tpt-tag-area .mg-tpt-txnlst .tag-title {
  background: linear-gradient(135deg, var(--ns-accent), var(--ns-accent-2));
  color: #fff;
  border: 0;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(255, 77, 77, 0.18);
}

.mg-tpt-tag-area a,
.mg-latest-news a {
  color: #111827;
  font-weight: 600;
}

.mg-tpt-tag-area a:hover,
.mg-latest-news a:hover {
  color: var(--ns-accent);
}

.tab-content .mg-posts-sec-post,
.widget .small-post,
.widget .mg-post-box,
.widget .mg-blog-post-box,
.widget .post,
.mg-posts-modul-6 .small-list-post,
.mg-sidebar .nav-tabs,
.mg-sidebar .nav-pills,
.mg-sidebar .nav-tabs > li,
.mg-sidebar .tab-content > .tab-pane > * {
  border-radius: 16px;
}

.mg-sidebar .nav-tabs,
.mg-sidebar .nav-pills {
  margin: 16px 22px 0;
  padding: 6px;
  background: #f3f4f8;
  border-radius: 16px;
  gap: 6px;
  border: 0;
}

.mg-sidebar .nav-tabs > li > a,
.mg-sidebar .nav-pills > li > a {
  border-radius: 12px;
  font-weight: 700;
  color: #4b5563;
}

.mg-sidebar .nav-tabs > li.active > a,
.mg-sidebar .nav-pills > li.active > a,
.mg-sidebar .nav-tabs > li > a:hover,
.mg-sidebar .nav-pills > li > a:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--ns-accent), var(--ns-accent-2));
  box-shadow: 0 10px 24px rgba(255, 77, 77, 0.16);
}

input,
select,
textarea,
.wp-block-search__input,
.search-form input[type="search"] {
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

button,
input[type="submit"],
input[type="button"],
.wp-block-search__button,
.btn,
.more-link {
  min-height: 48px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--ns-accent), var(--ns-accent-2));
  color: #fff;
  font-weight: 700;
  box-shadow: 0 12px 26px rgba(255, 77, 77, 0.2);
}

button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
.wp-block-search__button:hover,
.btn:hover,
.more-link:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(255, 77, 77, 0.22);
}

footer {
  margin-top: 32px;
}

footer .mg-footer-widget-area,
footer .mg-widget,
footer .site-info {
  border-radius: 24px 24px 0 0;
}

footer .mg-widget,
footer .site-info {
  background: linear-gradient(180deg, #0b1020 0%, #0f172a 100%);
  color: rgba(255, 255, 255, 0.8);
  border-color: rgba(255, 255, 255, 0.06);
}

footer a,
footer .mg-widget h6,
footer .site-title,
footer .site-description {
  color: #fff;
}

@media (max-width: 1199px) {
  .site-title,
  .site-title a {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
  }

  .navbar-wp .nav > li > a,
  .navbar-wp .navbar-nav > li > a {
    padding: 10px 14px !important;
  }
}

@media (max-width: 991px) {
  .m-header {
    display: flex;
  }

  .desk-header {
    display: none;
  }

  .mg-menu-full {
    top: 8px;
  }

  .navbar-wp {
    min-height: 64px;
    padding: 8px 10px;
  }

  .navbar-collapse {
    margin-top: 10px;
    padding: 10px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
  }

  .mg-nav-widget-area-back {
    border-radius: 24px;
  }

  .mg-headwidget {
    padding-top: 8px;
  }
}

@media (max-width: 767px) {
  header .container-fluid,
  .mg-menu-full .container-fluid,
  #content.container-fluid.home,
  footer .container-fluid,
  .mg-head-detail .container-fluid,
  .mg-nav-widget-area .container-fluid {
    padding-left: 16px;
    padding-right: 16px;
  }

  .mg-head-detail {
    border-radius: 16px;
  }

  .mg-nav-widget-area {
    padding: 18px 0 20px;
  }

  .site-title,
  .site-title a {
    font-size: 1.9rem;
  }

  .site-description {
    font-size: 0.92rem;
  }

  .mg-nav-widget-area-back,
  .navbar-wp,
  .mg-widget,
  .mg-posts-sec-inner .mg-posts-sec-post,
  .mg-sidebar .mg-widget,
  .mg-blog-post,
  .mg-blog-post-box,
  .mg-latest-news-sec,
  .mg-tpt-tag-area {
    border-radius: 18px;
  }

  .mg-blog-post .bottom,
  .mg-blog-post-box .mg-header {
    padding: 18px;
  }

  .mg-blog-post.lg .title,
  .mg-blog-post.md .title,
  .mg-blog-post.lg h4,
  .mg-blog-post.md h4 {
    font-size: 1.45rem;
  }
}


/* --- refinement pass: lighter hero overlays + roomier widgets --- */
.mg-fea-area .mg-blog-post,
.mg-fea-area .mg-blog-post-box,
.mg-fea-area .mg-post-box,
.mg-fea-area .mg-posts-sec,
.mg-fea-area .mg-blog-post.lg,
.mg-fea-area .mg-blog-post.md,
.mg-fea-area .mg-blog-post.lg.mins {
  position: relative;
  overflow: hidden;
}

.mg-fea-area .mg-blog-post .bottom,
.mg-fea-area .mg-blog-post-box .mg-header,
.mg-fea-area .mg-post-box .mg-header {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 20px 18px;
}

.mg-fea-area .mg-blog-post .bottom::before,
.mg-fea-area .mg-blog-post-box .mg-header::before,
.mg-fea-area .mg-post-box .mg-header::before {
  background: linear-gradient(180deg, rgba(8, 12, 24, 0.02) 0%, rgba(8, 12, 24, 0.14) 38%, rgba(8, 12, 24, 0.74) 72%, rgba(8, 12, 24, 0.94) 100%);
}

.mg-fea-area .mg-blog-category {
  margin-bottom: 8px;
}

.mg-fea-area .mg-blog-post .mg-blog-category a,
.mg-fea-area .mg-blog-post-box .mg-blog-category a,
.mg-fea-area .mg-post-box .mg-blog-category a {
  min-height: 24px;
  padding: 4px 10px;
  font-size: 10px;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.14);
}

.mg-fea-area .homemain .mg-blog-post.lg .title,
.mg-fea-area .homemain .mg-blog-post.lg h4 {
  font-size: clamp(1.6rem, 2.2vw, 2.2rem);
  line-height: 1.08;
  margin-bottom: 10px;
  max-width: 14ch;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.28);
}

.mg-fea-area .col-md-3 .mg-blog-post.lg.mins .title,
.mg-fea-area .col-md-3 .mg-blog-post.lg.mins h4 {
  font-size: clamp(1.05rem, 1.2vw, 1.35rem);
  line-height: 1.12;
  margin-bottom: 8px;
  max-width: 16ch;
}

.mg-fea-area .mg-blog-post .mg-blog-meta,
.mg-fea-area .mg-blog-post .mg-blog-date,
.mg-fea-area .mg-blog-post .mg-blog-meta a,
.mg-fea-area .mg-blog-post .mg-blog-meta span,
.mg-fea-area .mg-blog-post .mg-blog-meta i,
.mg-fea-area .mg-blog-post-box .mg-blog-meta,
.mg-fea-area .mg-blog-post-box .mg-blog-meta a,
.mg-fea-area .mg-post-box .mg-blog-meta,
.mg-fea-area .mg-post-box .mg-blog-meta a {
  font-size: 0.8rem;
  letter-spacing: 0.01em;
}

.mg-fea-area .mg-blog-post .mg-blog-meta .mg-blog-author,
.mg-fea-area .mg-blog-post .mg-blog-meta .mg-blog-date,
.mg-fea-area .mg-blog-post .mg-blog-meta .comments-link,
.mg-fea-area .mg-blog-post .mg-blog-meta .edit-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.mg-sidebar .mg-widget > ul,
.mg-sidebar .mg-widget > ol,
.mg-sidebar .mg-widget .menu,
.mg-sidebar .mg-widget .wp-block-categories-list,
.mg-sidebar .mg-widget .wp-block-archives-list,
.mg-sidebar .mg-widget .wp-block-latest-posts,
.mg-sidebar .mg-widget .wp-block-page-list {
  margin: 0;
  padding: 10px 22px 22px;
  list-style: none;
}

.mg-sidebar .mg-widget > ul > li,
.mg-sidebar .mg-widget > ol > li,
.mg-sidebar .mg-widget .menu > li,
.mg-sidebar .mg-widget .wp-block-categories-list > li,
.mg-sidebar .mg-widget .wp-block-archives-list > li,
.mg-sidebar .mg-widget .wp-block-latest-posts > li,
.mg-sidebar .mg-widget .wp-block-page-list > li {
  padding: 14px 0;
  border-bottom: 1px solid rgba(18, 24, 39, 0.08);
  line-height: 1.45;
}

.mg-sidebar .mg-widget > ul > li:last-child,
.mg-sidebar .mg-widget > ol > li:last-child,
.mg-sidebar .mg-widget .menu > li:last-child,
.mg-sidebar .mg-widget .wp-block-categories-list > li:last-child,
.mg-sidebar .mg-widget .wp-block-archives-list > li:last-child,
.mg-sidebar .mg-widget .wp-block-latest-posts > li:last-child,
.mg-sidebar .mg-widget .wp-block-page-list > li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.mg-sidebar .mg-widget li a {
  display: inline-block;
  padding: 2px 0;
}

.mg-sidebar .mg-widget .children,
.mg-sidebar .mg-widget .sub-menu {
  margin: 10px 0 0;
  padding: 0 0 0 16px;
}

.mg-sidebar .mg-widget .children li,
.mg-sidebar .mg-widget .sub-menu li {
  padding: 10px 0 0;
  border-bottom: 0;
}

.mg-sidebar .mg-widget .textwidget,
.mg-sidebar .mg-widget .wp-block-group__inner-container,
.mg-sidebar .mg-widget .tagcloud,
.mg-sidebar .mg-widget .calendar_wrap,
.mg-sidebar .mg-widget form {
  padding: 16px 22px 22px;
}

@media (max-width: 767px) {
  .mg-fea-area .mg-blog-post .bottom,
  .mg-fea-area .mg-blog-post-box .mg-header,
  .mg-fea-area .mg-post-box .mg-header {
    padding: 14px 16px 16px;
  }

  .mg-fea-area .homemain .mg-blog-post.lg .title,
  .mg-fea-area .homemain .mg-blog-post.lg h4 {
    font-size: 1.35rem;
    max-width: 14ch;
  }

  .mg-fea-area .col-md-3 .mg-blog-post.lg.mins .title,
  .mg-fea-area .col-md-3 .mg-blog-post.lg.mins h4 {
    font-size: 1rem;
    max-width: 18ch;
  }

  .mg-sidebar .mg-widget > ul,
  .mg-sidebar .mg-widget > ol,
  .mg-sidebar .mg-widget .menu,
  .mg-sidebar .mg-widget .wp-block-categories-list,
  .mg-sidebar .mg-widget .wp-block-archives-list,
  .mg-sidebar .mg-widget .wp-block-latest-posts,
  .mg-sidebar .mg-widget .wp-block-page-list,
  .mg-sidebar .mg-widget .textwidget,
  .mg-sidebar .mg-widget .wp-block-group__inner-container,
  .mg-sidebar .mg-widget .tagcloud,
  .mg-sidebar .mg-widget .calendar_wrap,
  .mg-sidebar .mg-widget form {
    padding-left: 18px;
    padding-right: 18px;
  }
}


/* --- 2.6.3 full-width header banner adjustments --- */
.mg-headwidget {
  padding-top: 0;
}

.mg-headwidget .mg-head-detail {
  margin-bottom: 0;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
}

.mg-headwidget .mg-head-detail .container-fluid,
.mg-headwidget .mg-nav-widget-area .container-fluid,
.mg-headwidget .mg-menu-full .container-fluid {
  width: 100%;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.mg-nav-widget-area-back {
  border-radius: 0;
  box-shadow: none;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 100% 100%;
  aspect-ratio: 1902 / 366;
  min-height: clamp(220px, 19vw, 366px);
}

.mg-nav-widget-area-back::before {
  background: linear-gradient(90deg, rgba(6, 9, 18, 0.74) 0%, rgba(6, 9, 18, 0.42) 28%, rgba(6, 9, 18, 0.10) 56%, rgba(6, 9, 18, 0.20) 100%);
}

.mg-nav-widget-area {
  display: flex;
  align-items: stretch;
  min-height: 100%;
  padding: 0;
}

.mg-nav-widget-area .row.align-items-center {
  min-height: clamp(220px, 19vw, 366px);
  margin: 0;
}

.mg-nav-widget-area .col-md-3.text-center-xs,
.mg-nav-widget-area .col-12.text-center.mx-auto.mt-3 {
  display: flex;
  align-items: center;
  padding: clamp(18px, 2.2vw, 34px) clamp(22px, 3vw, 66px);
}

.mg-headwidget .navbar-header {
  max-width: 720px;
}

.mg-headwidget .site-title,
.mg-headwidget .site-title a {
  font-size: clamp(2rem, 3vw, 3.35rem);
  line-height: 0.95;
  text-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

.mg-headwidget .site-description {
  max-width: 38rem;
  text-shadow: 0 6px 22px rgba(0,0,0,0.28);
}

.mg-menu-full {
  top: 0;
  padding-top: 0;
}

.navbar-wp {
  border-radius: 0;
  border-left: 0;
  border-right: 0;
}

@media (max-width: 991px) {
  .mg-nav-widget-area-back {
    background-size: cover;
    min-height: 210px;
  }

  .mg-nav-widget-area .row.align-items-center {
    min-height: 210px;
  }

  .mg-headwidget .mg-head-detail .container-fluid,
  .mg-headwidget .mg-nav-widget-area .container-fluid,
  .mg-headwidget .mg-menu-full .container-fluid {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 767px) {
  .mg-nav-widget-area-back {
    aspect-ratio: auto;
    min-height: 180px;
  }

  .mg-nav-widget-area .row.align-items-center {
    min-height: 180px;
  }

  .mg-nav-widget-area .col-md-3.text-center-xs,
  .mg-nav-widget-area .col-12.text-center.mx-auto.mt-3 {
    padding: 18px 18px 20px;
  }

  .mg-headwidget .site-title,
  .mg-headwidget .site-title a {
    font-size: clamp(1.7rem, 7vw, 2.2rem);
  }
}
