@import url("https://fonts.googleapis.com/css?family=Mukta:200,300,400,500,600,700,800");

/* ─── RESET & BASE ─── */
* {
  font-family: mukta, sans-serif;
}

body {
  background: #f8f9fa;
}

:root {
  --jft-main-color: #b1001e;
}

a {
  color: #666;

  text-decoration: none;
  transition: ease-in-out 0.3s;
}

img {
  width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  /* font-family: mukta, sans-serif; */
  margin-top: 0;
  padding: 0;
  font-weight: 600;
}

h1 {
  font-size: 45px;
  line-height: 60px;
}

h2 {
  font-size: 30px;
  line-height: 42px;
}

h3 {
  font-size: 20px;
  line-height: 1.5;
}

h4 {
  font-size: 20px;
  line-height: 31px;
}

h5 {
  font-size: 20px;
  line-height: 30px;
}

.bg-ratopati {
  background-color: #2b6777;
}

.text-ratopati {
  color: var(--jft-main-color) !important;
}

.border-ratopati {
  border-color: var(--jft-main-color) !important;
}

/* ─── TOP BAR ─── */
.top-bar {
  font-size: 12px;
  padding: 9px 0;
  letter-spacing: 0.3px;
}

.top-bar .social-links a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  transition: opacity 0.2s;
  text-decoration: none;
  margin-left: 12px;
}

.top-bar .social-links a:hover {
  opacity: 0.7;
}

.top-bar .date-time i {
  font-size: 11px;
  opacity: 0.8;
  margin-right: 4px;
}

/* ─── DESKTOP HEADER (logo above nav) ─── */
.desktop-header {
  background: #ffffff;
  /* border-bottom: 2px solid var(--jft-main-color); */
  margin: 20px 0px;
}

.desktop-header .tagline {
  font-size: 14px;
  color: #666;
  font-weight: 400;
  border-left: 1px solid #ddd;
  padding-left: 12px;
  margin-left: 8px;
  line-height: 1.3;
  display: inline-block;
}

/* ─── MAIN NAVBAR ─── */
.main-navbar {
  padding: 0px;
  /* border-top: 1px solid #000; */
  /* border-bottom: 1px solid #000; */
  background: #2b6777;
  /* padding: 10px 0; */
  /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03); */
}

.main-navbar .navbar-brand {
  font-weight: 800;
  font-size: 28px;
  color: var(--jft-main-color);
  letter-spacing: -0.5px;
  line-height: 1;
}

.main-navbar .navbar-brand span {
  color: #222;
}

.main-navbar .tagline {
  font-size: 11px;
  color: #666;
  font-weight: 400;
  border-left: 1px solid #ddd;
  padding-left: 12px;
  margin-left: 8px;
  line-height: 1.3;
  display: inline-block;
}

/* ─── DESKTOP NAV LINKS (left aligned) ─── */
.navbar-nav .nav-link {
  /* font-weight: 600; */
  font-size: 18px;
  color: #fff !important;
  padding: 0.5rem 1rem !important;
  transition: color 0.2s, background 0.2s;
  position: relative;
  white-space: nowrap;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: none;
}

.navbar-nav .nav-link.active::after {
  /* content: ''; */
  /* position: absolute; */
  /* bottom: -2px; */
  /* left: 1rem; */
  /* right: 1rem; */
  /* height: 3px; */
  /* background: var(--jft-main-color); */
  /* border-radius: 2px 2px 0 0; */
}

/* ─── DROPDOWN — SINGLE CARET ─── */
.dropdown-toggle::after {
  font-size: 10px;
  vertical-align: middle;
  margin-left: 6px;
  transition: transform 0.25s;
}

.dropdown:hover .dropdown-toggle::after {
  transform: rotate(180deg);
}

/* ─── DESKTOP DROPDOWN HOVER ─── */
@media (min-width: 992px) {
  .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
  }

  .dropdown-menu {
    border: none;
    border-top: 3px solid var(--jft-main-color);
    border-radius: 0 0 8px 8px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    padding: 6px 0;
    min-width: 200px;
  }

  .dropdown-menu .dropdown-item {
    font-size: 17px;
    font-weight: 500;
    padding: 10px 20px;
    color: #333;
    border-left: 3px solid transparent;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
  }

  .dropdown-menu .dropdown-item:hover {
    background: #f9f0f0;
    color: var(--jft-main-color);
    border-left-color: var(--jft-main-color);
  }
}

/* ─── SEARCH BUTTON (right side only) ─── */
.nav-search-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 17px;
  padding: 0 8px;
  transition: color 0.2s;
  cursor: pointer;
}

.nav-search-btn:hover {
  color: var(--jft-main-color);
}

/* ─── STICKY NAV WRAPPER ─── */
.sticky-nav-wrapper {
  position: sticky;
  top: 0;
  z-index: 1030;
  transition: box-shadow 0.25s ease;
}

.sticky-nav-wrapper.scrolled {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

/* ─── REMOVE NAV BAR BORDER ON DESKTOP ─── */
@media (min-width: 992px) {
  .main-navbar {
    /* border-bottom: none !important; */
  }

  .navbar-nav {
    margin-right: auto !important;
  }
}

/* ─── MOBILE NAVBAR ─── */
@media (max-width: 991.98px) {
  .main-navbar {
    /* border-bottom: 2px solid var(--jft-main-color); */
    height: 65px;
  }

  .main-navbar .tagline {
    display: none;
  }

  .main-navbar .navbar-brand {
    font-size: 22px;
  }

  .top-bar .date-time {
    font-size: 10px;
  }

  .top-bar .social-links a {
    font-size: 11px;
    margin-left: 8px;
  }

  #mainNavbar {
    display: none !important;
  }
}

@media (max-width: 575.98px) {
  .main-navbar .navbar-brand {
    font-size: 18px;
  }

  .top-bar {
    font-size: 10px;
    padding: 2px 0;
  }

  .top-bar .social-links a {
    font-size: 10px;
    margin-left: 6px;
  }

  .desktop-header .tagline {
    font-size: 12px;
  }
}

/* ─── OFFCANVAS (MOBILE SIDEBAR) ─── */
.offcanvas {
  max-width: 290px;
  width: 80%;
  background: #fff;
  padding: 0;
}

.offcanvas-header {
  border-bottom: 1px solid #eee;
  padding: 16px 20px;
}

.offcanvas-header .offcanvas-title {
  font-weight: 800;
  font-size: 24px;
  color: var(--jft-main-color);
}

.offcanvas-header .offcanvas-title span {
  color: #222;
}

.offcanvas-header .btn-close {
  font-size: 22px;
  opacity: 0.6;
}

.offcanvas-body {
  padding: 0;
}

.offcanvas-body .mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.offcanvas-body .mobile-nav-list>li {
  border-bottom: 1px solid #f0f0f0;
}

.offcanvas-body .mobile-nav-list>li>a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  text-decoration: none;
  color: #222;
  font-weight: 500;
  font-size: 15px;
  transition: background 0.15s, color 0.15s;
}

.offcanvas-body .mobile-nav-list>li>a:hover {
  background: #f8f0f0;
  color: var(--jft-main-color);
}

.offcanvas-body .mobile-nav-list>li>a .arrow {
  font-size: 12px;
  color: #aaa;
  transition: transform 0.25s;
}

.offcanvas-body .mobile-nav-list>li>a[aria-expanded="true"] .arrow {
  transform: rotate(90deg);
}

.offcanvas-body .sub-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  background: #fafafa;
  border-top: 1px solid #f0f0f0;
}

.offcanvas-body .sub-menu li a {
  display: block;
  padding: 10px 20px 10px 36px;
  text-decoration: none;
  color: #444;
  font-size: 14px;
  transition: background 0.15s, color 0.15s;
  border-left: 3px solid transparent;
}

.offcanvas-body .sub-menu li a:hover {
  background: #f0eaea;
  color: var(--jft-main-color);
  border-left-color: var(--jft-main-color);
}

.offcanvas-social {
  padding: 20px;
  border-top: 1px solid #eee;
  margin-top: 8px;
  display: flex;
  gap: 18px;
  justify-content: center;
}

.offcanvas-social a {
  color: #555;
  font-size: 20px;
  transition: color 0.2s;
  text-decoration: none;
}

.offcanvas-social a:hover {
  color: var(--jft-main-color);
}

/* ─── SEARCH OVERLAY ─── */
.search-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  z-index: 9999;
  justify-content: center;
  align-items: flex-start;
  padding-top: 120px;
}

.search-overlay.open {
  display: flex;
}

.search-overlay .search-card {
  background: #fff;
  width: 90%;
  max-width: 640px;
  padding: 16px 20px;
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
  animation: slideDown 0.25s ease;
}

@keyframes slideDown {
  0% {
    opacity: 0;
    transform: translateY(-30px) scale(0.97);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.search-overlay .search-card input {
  border: none;
  outline: none;
  font-size: 18px;
  padding: 12px 4px;
  width: 100%;
  background: transparent;
}

.search-overlay .search-card input::placeholder {
  color: #aaa;
}

.search-overlay .search-card .btn-close-custom {
  background: none;
  border: none;
  font-size: 30px;
  color: #999;
  cursor: pointer;
  padding: 0 8px;
  transition: color 0.2s;
}

.search-overlay .search-card .btn-close-custom:hover {
  color: #222;
}

.search-overlay .search-card .btn-search-submit {
  background: var(--jft-main-color);
  border: none;
  color: #fff;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.search-overlay .search-card .btn-search-submit:hover {
  background: #8f0018;
}

/* ─── FLEX ORDER FOR NAV ─── */
.navbar .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

@media (min-width: 992px) {
  .navbar .container {
    flex-wrap: nowrap;
  }

  .navbar-collapse {
    order: 1;
    flex: 1;
  }

  .navbar-nav {
    margin-right: auto !important;
  }

  .nav-right-wrapper {
    order: 2;
    flex-shrink: 0;
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .navbar-toggler {
    display: none !important;
  }
}

@media (max-width: 991.98px) {
  .navbar .container {
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  .navbar-brand {
    order: 0;
    flex-shrink: 0;
  }

  .nav-right-wrapper {
    order: 1;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
  }

  .navbar-collapse {
    display: none !important;
  }
}

/* ─── प्रदेश मुख्य समाचार SECTION ─── */
.province-section {
  padding: 40px 0 20px;
  background: #f8f9fa;
}

.province-section .section-heading {
  font-weight: 800;
  font-size: 28px;
  color: var(--jft-main-color);
  border-bottom: 3px solid var(--jft-main-color);
  padding-bottom: 10px;
  margin-bottom: 24px;
  display: inline-block;
  position: relative;
}

.province-section .section-heading::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--jft-main-color);
}

.province-section .news-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
  height: 100%;
  border: 1px solid #eee;
}

.province-section .news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.province-section .news-card .card-img-top {
  height: 180px;
  object-fit: cover;
  background: #ddd;
}

.province-section .news-card .card-body {
  padding: 16px;
}

.province-section .news-card .card-title {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.4;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.province-section .news-card .card-title a {
  text-decoration: none;
  color: #1a1a1a;
  transition: color 0.2s;
}

.province-section .news-card .card-title a:hover {
  color: var(--jft-main-color);
}

.province-section .news-card .card-text {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 12px;
}

.province-section .news-card .news-meta {
  font-size: 12px;
  color: #999;
  display: flex;
  align-items: center;
  gap: 6px;
}

.province-section .news-card .news-meta i {
  font-size: 11px;
}

/* ─── DEMO CONTENT (kept for reference) ─── */
.demo-content {
  padding: 40px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.demo-content h1 {
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
}

.demo-content p {
  color: #444;
  line-height: 1.8;
}

.demo-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #eee;
  height: 100%;
}

.demo-card h5 {
  color: var(--jft-main-color);
  font-weight: 700;
}

.navbar-brand {
  text-decoration: none;
}

/*custom css*/
.custom-logo-link img {
  width: 100%;
  height: auto;
}

.jft-tag h5 {
  background: #2b6777;
  display: inline-block;
  color: #fff;
  font-size: 18px;
  font-weight: 400;
  padding: 2px 10px;
  line-height: normal;
  border-radius: 5px;
  margin-bottom: 15px;
}

/*flash news*/

.flash-item {
  text-align: center;
  border: 1px solid #ddd;
  padding: 25px 30px;
  margin-bottom: 15px;
  border-radius: 10px;
}

.flash-item>a {
  text-align: center;
  font-size: 60px;
  color: #333;
  text-decoration: none;
  display: block;
  line-height: 1.3;
  /* font-family: 'Mukta'; */
  font-weight: 700;
  /* margin-top: 20px; */
}

.author-wrap {
  display: -webkit-inline-flex;
  align-items: center;
  margin-right: 6px;
}

.author-wrap label {
  vertical-align: top;
  color: rgba(0, 0, 0, 0.5);
  margin: 0;
}

.author-wrap label a {
  color: rgba(0, 0, 0, 0.5);
}

span.author-img {
  height: 30px;
  width: 30px;
  max-width: 30px;
  border-radius: 50%;
  overflow: hidden;
  display: inline-block;
  margin-right: 10px;
  border: 1px dotted #d10015;
}

time {
  color: rgba(0, 0, 0, 0.5);
  font-size: 16px;
  /* font-weight: 600; */
  line-height: 30px;
}

.flash-item .post-img {
  width: 100%;
  /* max-width: 100%; */
  /* float: none; */
  /* height: auto; */
  /* margin: 0 auto; */
  border-radius: 4px;
}

.flash-item p {
  margin: 20px 0;
  font-size: 21px;
  /* color: rgba(0, 0, 0, .6); */
  color: #000000a8;
  text-align: center;
  line-height: 150%;
  position: relative;
  /* border-bottom: solid 1px rgba(0,0,0,.14); */
  padding-bottom: 30px;
}

.post-meta {
  color: rgba(0, 0, 0, 0.5);
  font-size: 16px;
  /* font-weight: 600; */
  line-height: 30px;
  margin-bottom: 10px;
  margin-top: 12px;
  display: inline-flex;
  /* text-align: center; */
  /* margin: auto; */
}

.post-img img {
  border-radius: 4px;
  /* width: 85%; */
}

/*single page*/

.single_title h1 {
  color: #4a4c4e !important;
  font-size: 47px;
  font-weight: 700;
  /* margin-top: 20px; */
  line-height: 1.2;
  border-bottom: 1px solid #eee;
  padding-bottom: 5px;
  /* margin-bottom: 25px; */
  /* font-family: mukta; */
}

.very-small-box {
  display: inline-block;
  margin-bottom: 8px;
  /*border-bottom: 1px dotted #ddd;*/
  width: 100%;
}

.very-small-box img {
  float: left;
  display: block;
  margin-right: 15px;
  margin-bottom: 11px;
  height: 90px;
  width: 90px;
  object-fit: cover;
  border-radius: 4px;
}

.very-small-box.bichar img {
  height: 80px;
  width: 80px;
  border-radius: 50%;
}

.small-title {
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
  /* color: #222; */
}

.jft-small-box-img img {
  width: 100%;
  height: 175px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 15px;
}

.jft-small-box-title h3 {
  font-size: 20px;
  line-height: 1.8rem;
  font-weight: 600;
}

.text-on-image {
  margin-bottom: 19px;
  position: relative;
}

.text-on-image img {
  width: 100%;
  height: 290px;
  object-fit: cover;
}

.text-on-image h3 {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  margin-bottom: 0;
  line-height: 1.5;
  background: rgba(0, 0, 0, 0) linear-gradient(to bottom,
      rgba(5, 5, 5, 0) 0,
      rgba(0, 0, 0, 0) 0,
      rgba(71, 71, 71, 0) 0,
      rgba(102, 102, 102, 0) 0,
      rgba(28, 28, 28, 0) 0,
      rgba(20, 20, 20, 0.59) 32%,
      rgba(13, 13, 13, 1) 62%,
      rgba(3, 3, 3, 1) 100%) repeat scroll 0 0;
}

.text-on-image h3 a {
  color: #fff;
}

.story-promo {
  margin-bottom: 10px;
}

.story-img {
  margin-bottom: 15px;
}

.story-img img {
  width: 100%;
  height: 175px;
  object-fit: cover;
  border-radius: 4px;
}

.story-docs h3 {
  font-size: 18px;
  /* line-height: 1.8rem; */
  font-weight: 500;
}

.rd-catgory-title a {
  padding: 5px 15px;
  display: inline-block;
}

.rd-catgory-title::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: #2b6777;
  z-index: 11;
}

.rd-catgory-title-main {
  padding-left: 30px;
  background-color: transparent;
}

.rd-catgory-title-main::before {
  content: "";
  left: 30px;
}

.rd-catgory-title-main-wrapper {
  position: relative;
}

.rd-catgory-title-main-wrapper::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 3px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #2b6777;
  z-index: 1;
}

.rd-catgory-title-main a {
  position: relative;
  background-color: #f8f9fa;
  z-index: 10;
  font-size: 18px;
  font-weight: 600;
  color: #000;
}

.rd-catgory-title-main a::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 4px;
  height: 100%;
  background-color: #2b6777;
}

.single-img {
  background: #eee;
  text-align: center;
}

.single-detail p {
  font-size: 22px;
  text-align: justify;
  line-height: 1.75;
  font-weight: 400;
}

#single-page .post-meta span {
  font-size: 17px;
  font-weight: 500;
}


.footer .footer-navigation {
  background: #2b6777;
  float: left;
  width: 100%;
  padding: 10px 0 5px 0;
}



.footer .social-icons {
  float: right;
  margin-top: 45px;
}

.footer .social-icons .follow-title {
  float: left;
  margin: 0 15px 0 0;
  font-size: 16px;
  font-weight: 700;
  color: #263238;
  text-transform: none;
}

.footer .social-icons ul {
  margin: 0;
  padding: 0;
  float: left;
}

.footer .social-icons ul li:nth-child(1) {
  margin-top: 0;
  margin-left: 0;
}

.footer .social-icons ul li a {
  color: #fff;
}

.footer .social-icons ul li .left-icon {
  line-height: 24px;
  margin-right: 0;
  text-align: center;
  -webkit-transition: .3s ease-in-out;
  -moz-transition: .3s ease-in-out;
  -o-transition: .3s ease-in-out;
  transition: .3s ease-in-out;
  float: left;
  position: relative;
  top: 2px;
  font-size: 29px;
  color: rgba(38, 50, 56, .75);
}


.footer ul.footer-nav {
  margin: 0;
  padding: 0;
  display: block;
}

.footer ul.footer-nav li:nth-child(1) {
  margin-left: 0;
}

.footer ul.footer-nav li:nth-child(1) {
  margin-left: 0;
  padding-left: 0;
}

.footer ul.footer-nav li {
  list-style: none;
  margin: 0 0 5px 0;
  padding: 0 0 0 30px;
  float: left;
  position: relative;
  font-size: 11px;
  display: block;
  font-weight: 500;
  color: hsla(0, 0%, 100%, .7490196078);
  line-height: 14px;
  font-family: "Montserrat", sans-serif;
}

.footer ul.footer-nav li a {
  font-size: 11px;
  display: block;
  font-weight: 500;
  color: hsla(0, 0%, 100%, .75);
  line-height: 14px;
  font-family: "Montserrat", sans-serif;
}

.footer ul.footer-nav li:before {
  content: "";
  background: hsla(0, 0%, 100%, .75);
  width: 1px;
  height: 11px;
  position: absolute;
  top: 2px;
  left: 14px;
}

.footer.sp-footer .items {
  text-align: left;
  font-size: 16px;
  margin: 0;
}

.footer.sp-footer .item-box,
.footer.sp-footer .box-item {
  padding: 15px 0 0 0;
  border-top: 0;
}

.footer.sp-footer .samachar-box .item-box .logo-box,
.footer.sp-footer .samachar-box .box-item .logo-box {
  text-align: left;
}

.footer.sp-footer .samachar-box .logo-box {
  margin-bottom: 0;
  max-width: 15%;
  flex: 0 0 15%;
  -ms-flex: 0 0 15%;
}

.logo-box {
  text-align: center;
  padding-top: 0;
  position: relative;
  margin: 0 0 17px;
}

.footer.sp-footer .samachar-box .company-info {
  max-width: 85%;
  flex: 0 0 85%;
  -ms-flex: 0 0 85%;
}

.footer.sp-footer .samachar-box .company-info .info-text {
  margin-top: 45px;
  float: left;
  font-size: 13px;
}

/* img.mobile-logo {
  width: 185px;
  height: auto;
} */

@media only screen and (max-width: 767px),
only screen and (max-device-width: 767px) {
  img.mobile-logo {
    width: 185px;
    height: auto;
  }

  .flash-item>a {
    font-size: 30px;
    line-height: 113%;
    font-weight: 600;
  }
}