* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --blue-color: #0805A4;
  --green-color: #00927A;
  --red-color: #E72627;
  --white-color: #ffffff;
  --black-color: #222;
  --yellow-color: #D9920C;
  --bg-color: radial-gradient(1200px 600px at 20% -10%, rgba(124, 58, 237, .16), transparent 60%), radial-gradient(900px 500px at 90% 0%, rgba(14, 165, 233, .18), transparent 60%), #f6f8fb !important;
  --text-color: #2d3034;
  --hover-color: #09a78d;
}

html,
body {
  font-size: 16px;
  /* height: 100%; */
}

main {
  flex: 1;
}






body {
  display: block;
  margin: 0;
  font-family: 'Noto Sans Devanagari', sans-serif;
  background: var(--bg-color);
}

@media screen {
  html {
    margin: 0 !important;
  }
}

a {
  text-decoration: none;
  color: var(--black-color);
  transition: all 0.3s ease-in-out;
}

a:hover {
  color: var(--red-color);
}

a:hover h2 {
  color: var(--red-color);
}

p {
  font-size: 16px;
  color: var(--text-color);
  line-height: 1.6;
  outline: medium none;
}


ol,
ul {
  font-size: 14px;
  color: var(--text-color);
  line-height: 1.6;
  outline: medium none;
  list-style-position: inside;

}

h1 {
  font-size: 2.2rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  transition: all 0.3s ease-in-out;
  font-family: 'Baloo Bhai 2', cursive;
}

.custom-logo {
  width: 100%;
  height: auto;
}

.page-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* FONT SECTION */

@font-face {
  font-family: 'Baloo Bhai 2';
  src: url('../fonts/baloo-bhai-2/BalooBhai2-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Baloo Bhai 2';
  src: url('../fonts/baloo-bhai-2/BalooBhai2-Medium.ttf') format('truetype');
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: 'Baloo Bhai 2';
  src: url('../fonts/baloo-bhai-2/BalooBhai2-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: 'Noto Sans Devanagari';
  src: url('../fonts/noto-sans-devanagari/NotoSansDevanagari-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Noto Sans Devanagari';
  src: url('../fonts/noto-sans-devanagari/NotoSansDevanagari-Medium.ttf') format('truetype');
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: 'Noto Sans Devanagari';
  src: url('../fonts/noto-sans-devanagari/NotoSansDevanagari-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}


/* TICKER SECTION */
.ticker-wrap {
  width: 100%;
  overflow: hidden;
  background: #000000;
  padding: 10px 0;
}

/* Moving ticker */
.ticker {
  display: flex;
  width: max-content;
  animation: scroll 20s linear infinite;
}

/* Ticker items */
.ticker .ticker-item {
  color: var(--black-color);
  font-size: 16px;
  padding: 0 40px;
  white-space: nowrap;
}

/* Animation */
@keyframes scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.breaking-ticker {
  position: absolute;
  top: 0;
  height: 40px;
}

.breaking-bg-mobile {
  position: absolute;
  top: 0;
  visibility: hidden;
}

.ticker-holder-inner {
  position: relative;
}

.ticker-heading {
  position: absolute;
  top: 9px;
  color: #fff;
  font-size: 20px;
  padding: 0 30px;
  white-space: nowrap;
  font-weight: bold;
}

#currentDateTime {
  position: absolute;
  bottom: 40px;
  right: 0;
  z-index: 100;
  font-size: 0.8rem;
}

@media screen and (max-width:480px) {
  .breaking-bg {
    visibility: hidden;
  }

  .breaking-bg-mobile {
    visibility: visible;
  }

  .ticker-heading {
    top: 12px;
    font-size: 16px;
    padding: 0 8px;
  }
}

/* date and time */
header {
  position: relative;
}

/* ==================================================
   BASE MENU
================================================== */
.nav-container {
  margin-top: -7px;
}

.primary-menu {
  background: #000000;
}

.primary-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.primary-menu li {
  position: relative;
}

.primary-menu a {
  display: block;
  padding: 0.5rem 1.1rem;
  color: var(--white-color);
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.25s ease, color 0.25s ease;
}

/* Hover: white text + red background */
.primary-menu a:hover {
  color: var(--white-color);
}

/* ==================================================
   SUBMENU – DESKTOP
================================================== */
.primary-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--black-color);
  display: none;
  flex-direction: column;
  z-index: 1000;
}

/* Show dropdown on hover (desktop only) */
@media (min-width: 1025px) {
  .primary-menu li:hover>.sub-menu {
    display: block;
  }
}

/* ==================================================
   3RD LEVEL FLYOUT
================================================== */
.primary-menu .sub-menu .sub-menu {
  top: 0;
  left: 100%;
}

/* Flip left when needed */
.primary-menu .sub-menu .sub-menu.open-left {
  left: auto;
  right: 100%;
}

/* ==================================================
   SUBMENU ARROWS
================================================== */
.primary-menu .menu-item-has-children>a {
  padding-right: 1.8rem;
}

.primary-menu .menu-item-has-children>a::after {
  content: "▼";
  position: absolute;
  right: 0.7rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.65em;
  color: var(--white-color);
}

.primary-menu .menu-item-has-children>a:hover::after {
  color: var(--black-color);
}

/* ==================================================
   TOGGLE BUTTON
================================================== */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white-color);
  display: block;
  margin: 5px 0;
}

/* ==================================================
   CLOSE BUTTON
================================================== */
.menu-close {
  position: absolute;
  right: 0.75rem;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--white-color);
  cursor: pointer;
  display: none;
  z-index: 10002;
}

/* ==================================================
   OVERLAY
================================================== */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 10000;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ==================================================
   MOBILE OFFCANVAS
================================================== */
@media (max-width: 1024px) {

  .nav-container {
    background-color: #000000;
    padding: 7px;
  }

  .menu-toggle {
    display: block;
    padding: 5px;
  }

  .primary-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    transform: translateX(-100%);
    transition: transform 0.35s ease;
    z-index: 10001;
    padding-top: 6px;
    overflow-y: auto;
  }

  .primary-menu.active {
    transform: translateX(0);
  }

  .menu-close {
    display: block;
  }

  #menu-primary-menu {
    margin-bottom: 60px;
  }

  .primary-menu ul {
    flex-direction: column;
  }

  /* Disable hover dropdowns */
  .primary-menu li:hover>.sub-menu {
    display: none;
  }

  /* Accordion submenu */
  .primary-menu .sub-menu {
    position: static;
    display: none;
  }

  .primary-menu .menu-item-has-children.active>.sub-menu {
    display: block;
  }

  /* Indentation */
  .primary-menu .sub-menu a {
    padding-left: 2rem;
    font-size: 0.95em;
  }

  .primary-menu .sub-menu .sub-menu a {
    padding-left: 3rem;
    font-size: 0.9em;
  }

  .primary-menu .menu-item-has-children>a {
    position: relative;
    line-height: 1.2;
  }

  .primary-menu .menu-item-has-children>a::after {
    top: 0.8rem;
    transform: none;
  }

  .primary-menu .menu-item-has-children.active>a::after {
    transform: rotate(180deg);
  }
}


/* ===========================
   RIPPLE ZOOM HOVER EFFECT
=========================== */
.primary-menu a {
  position: relative;
  overflow: hidden;
  z-index: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

/* Ripple layer */
.primary-menu a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 140%;
  height: 140%;
  background-color: var(--white-color);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.5s cubic-bezier(.4, 0, .2, 1);
  z-index: -1;
  border-radius: 2px;
}

/* Hover: ripple expands */
.primary-menu a:hover::before {
  transform: translate(-50%, -50%) scale(1);
}

/* Keep text visible */
.primary-menu a:hover {
  color: var(--black-color);
}

.category-swiper-wrap {
  display: none;
}

.ticker {
  display: flex;
  align-items: center;
  overflow: hidden;
}

.ticker-item {
  display: flex;
  align-items: center;
  margin-right: 2rem;
  white-space: nowrap;
}

.ticker-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
}

.ticker-thumb {
  display: flex;
  align-items: center;
  /* center image inside wrapper */
  justify-content: center;
}

.ticker-thumb img {
  display: block;
  width: 25px;
  height: 25px;
  object-fit: cover;
  border-radius: 3px;
}

.ticker-title {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--white-color);
}

/* Other Styles Here  */
.block-title {
  margin-bottom: 0.5rem;
  border: 1px solid #777777ad;
  padding: 10px 10px 0px 10px;
  color: var(--black-color);
  background-color: #F5D669;
}


/* Ad css starts here */
#variable-ad-one,
#variable-ad-two {
  position: relative;
}

.ad-wrapper {
  position: relative;
  display: inline-block;
  margin-top: 0.5rem;
}

.ad-close {
  position: absolute;
  top: 0px;
  right: 6px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 18px;
  line-height: 28px;
  text-align: center;
  cursor: pointer;
  z-index: 10;
}

.ad-close:hover {
  background: rgba(0, 0, 0, 0.9);
}

.ad-image {
  display: block;
  max-width: 100%;
  height: auto;
}


/* ===============================
   Shared Ad Styles
================================ */
#featured-ad-one {
  position: fixed;
  width: 120px;
  height: 600px;
  top: 20px;
  left: 0;
}

#featured-ad-two {
  position: fixed;
  width: 120px;
  height: 600px;
  top: 20px;
  right: 0;
}



/* Show after JS injects content */
.featured-ad img {
  width: 100%;
  height: auto;
  display: block;
}


/* Left Ad */
.featured-ad-one {
  margin-left: 5px;
}

/* Right Ad */
.featured-ad-two {
  margin-right: 5px;
}

/* Display after content is injected */
.featured-ad:has(img) {
  display: block;
}

/* ===============================
   Responsive: Hide on Mobile
================================ */

@media (max-width: 1200px) {
  .featured-ad {
    display: none !important;
  }
}

.latest-post-item {
  background-color: var(--white-color);
  position: relative;
}

.latest-post-content {
  padding: 10px;
}

.latest-post-meta {
  font-size: 0.85rem;
  line-height: 1.4;
  color: #2a2a2a;
  margin-bottom: 0.2rem;
}

.latest-post-readmore {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #0b2e59;
  /* dark blue */
  background-color: transparent;
  text-decoration: none;
  transition: color 0.2s ease;
  margin: 0.5rem 0;
}

/* footer starts */
footer {
  background-color: #EFE6D8;
  padding-top: 10px;
  margin-top: 10px;
  position: relative;
  z-index: 9;
}

.footer-logo {
  width: fit-content;
  margin: 15px auto;
  background: white;
  padding: 10px;
  border-radius: 30px;
}

.footer-logo img {
  width: 100px;
  height: auto;
}

footer .block-title {
  background-color: #F6EFE7;
  ;
}

.copyright-text {
  text-align: center;
  color: var(--black-color);
  padding-bottom: 44px;
  padding-top: 4px;
  border-top: 1px solid gray;
}

.wp-post-image {
  width: 100%;
  height: auto;
}

footer .entire-page {
  max-width: 1200px;
  display: flex;
  margin: 0 auto;
  padding: 20px 0;
  gap: 1rem;
}

footer .col1 {
  width: 33%
}

footer .col2 {
  width: 33%
}

footer .col3 {
  width: 33%
}


@media screen and (max-width:1024px) {
  main {
    padding: 0 5px;
  }

  .featured-post-content h3 {
    font-size: 0.8rem !important;
  }

  footer .entire-page {
    padding: 10px;
  }

  #currentDateTime {
    position: absolute;
    bottom: 15px;
    right: 10px;
    color: var(--white-color);
  }

  .category-swiper-wrap {
    display: flex;
  }
}

@media (max-width: 768px) {
  footer {
    padding-top: 30px;
  }

  footer .col {
    width: 100%;
  }
}



@media screen and (max-width:480px) {
  .block-title {
    margin: 0.5rem 0;
  }

  footer .entire-page {
    flex-direction: column;
    padding: 10px;
  }

  .ad-image {
    margin: 0.5rem 0;
  }
}

.pagination {
  margin: 20px auto;
}




/* ===============================
   Featured Posts List (Flexbox)
================================ */
.khas-container {
  background-color: var(--red-color);
  padding: 10px;
}

.featured-posts-grid {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}

/* Card wrapper */
.featured-post-item {
  display: flex;
  width: 100%;
  background: var(--white-color);
  border: 1px solid #e5e5e5;
  overflow: hidden;
  align-items: stretch;
  transition: all 0.3s ease-in-out;
}

.featured-post-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, .08);
}

/* ===============================
   Left Image Column (30%)
================================ */

.featured-post-thumb {
  flex: 0 0 30%;
  max-width: 30%;
  overflow: hidden;
  display: flex;
  align-self: stretch;
}

.latest-post-large-thumb {
  max-width: 100%;
}

.latest-post-large-thumb img {
  width: 100%;
  height: auto;
}

.featured-post-thumb a {
  display: flex;
  width: 100%;
  height: 100%;
}

.featured-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ===============================
   Right Content Column (70%)
================================ */

.featured-post-content {
  flex: 0 0 70%;
  max-width: 70%;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
}

.featured-post-content h3 {
  font-size: 0.8rem;
}

/* Title */
.featured-post-title {
  font-size: 0.8rem;
  padding: 0;
}

.featured-post-title a {
  color: inherit;
  text-decoration: none;
}

/* Meta / Date */
.featured-post-meta {
  font-size: 0.7rem;
  color: #2a2a2a;
  margin-bottom: 0;
}

/* swiper slider start */
/* Wrapper */
.category-swiper-wrap {
  position: relative;
  width: 100%;
  padding: 10px 40px;
  box-sizing: border-box;
}

/* Swiper */
.category-swiper {
  width: 100%;
}

/* Slide width auto */
.category-swiper .swiper-slide {
  width: auto;
}

/* Category button */
.category-btn {
  display: inline-block;
  padding: 8px 16px;
  background: var(--white-color);
  border: 1px solid #f5f5f5;
  border-radius: 30px;
  font-size: 14px;
  white-space: nowrap;
  color: #000;
  text-decoration: none;
  transition: all 0.25s ease;
}

.category-btn:hover {
  background: #000;
  color: #fff;
  border-color: #000;
}

/* Navigation arrows */
.category-swiper-wrap .swiper-button-prev,
.category-swiper-wrap .swiper-button-next {
  color: #000;
}

.category-swiper-wrap .swiper-button-prev::after,
.category-swiper-wrap .swiper-button-next::after {
  font-size: 18px;
}

.align-right {
  text-align: right;
}

/* cricma Newsletter Form */
.cricma-newsletter-form {
  max-width: 420px;
  margin: 0 auto;
  padding: 18px;
  background: #f9f9f9;
  border: 1px solid #e2e2e2;
  border-radius: 6px;
  display: flex;
  gap: 10px;
}

.cricma-newsletter-form input[type="email"] {
  flex: 1;
  padding: 12px 14px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  outline: none;
}

.cricma-newsletter-form input[type="email"]:focus {
  border-color: #cc0000;
}

.cricma-newsletter-form button {
  padding: 12px 18px;
  background: #cc0000;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 15px;
  cursor: pointer;
  white-space: nowrap;
}

.cricma-newsletter-form button:hover {
  background: #a30000;
}

/* Messages */
.newsletter-success {
  color: #155724;
  background: #d4edda;
  padding: 10px;
  margin-top: 10px;
  border-radius: 4px;
  font-size: 14px;
}

.newsletter-error {
  color: #721c24;
  background: #f8d7da;
  padding: 10px;
  margin-top: 10px;
  border-radius: 4px;
  font-size: 14px;
}

/* Mobile */
@media (max-width: 480px) {
  .cricma-newsletter-form {
    flex-direction: column;
  }

  .cricma-newsletter-form button {
    width: 100%;
  }

  .align-right {
    text-align: left;
  }
}


/* ===============================
   Mobile Layout
================================ */

@media (max-width: 768px) {
  .featured-post-item {
    flex-direction: column;
  }

  .featured-post-thumb,
  .featured-post-content {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .featured-post-thumb {
    height: 220px;
  }
}

@media (max-width: 480px) {
  .featured-post-item {
    flex-direction: row;
  }

  .featured-post-thumb {
    flex: 0 0 30%;
    max-width: 30%;
    height: auto;
    overflow: hidden;
    display: flex;
  }

  .latest-post-large-thumb {
    max-width: 100%;
  }

  .featured-post-content {
    flex: 0 0 70%;
    max-width: 70%;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
  }

 footer .col1 {
    order: 2;
  }

 footer .col2 {
    order: 1;
  }

 footer .col3 {
    order: 3;
  }
}

footer .ticker-item {
  padding: 0 !important;
  margin-right: 0;
}

.ticker-link-footer {
  padding-right: 40px;
  color: var(--white-color);
  font-size: 0.95rem;
}

.ticker-link-footer a {
  color: white;
}

body>footer>.ticker-wrap {
  position: fixed;
  bottom: 0;
  z-index: 99;
}

.danger {
  background-color: var(--red-color);
}

.post-bookmark {
  margin-top: 10px;
  width: fit-content;
  padding: 10px 5px;
  background: #efefef;
}

.bookmark-btn {
  background: none;
  border: 1px solid #ddd;
  padding: 6px 12px;
  cursor: pointer;
  font-size: 14px;
}

.bookmark-login {
  font-size: 14px;
  opacity: 0.8;
}