MediaWiki:Common.css: Difference between revisions

From Sanatan Hindu Dharma
No edit summary
No edit summary
 
(465 intermediate revisions by 2 users not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
.flex-fill.container,.flex-fill.container{ max-width:100% !important}
.p-navbar .navbar-brand.p-logo {
    height: 3rem;
}
.p-navbar .navbar-brand img {
    height: 3.5rem;
}
.p-logo {
    height: 6rem;
}
.p-logo img  {
padding-left:30px;
height: 5.5rem;
    margin-top:.2rem;
}
@media (max-width: 575.98px) {
.p-logo img  {
padding:5px;
}}
.bodyContent{ border:1px solid rgba(0,0,0,0.1); padding:16px; border-radius:.25rem;}
.firstHeading,h2,h3,h4{font-weight: 700;}
.mw-parser-output a.extiw:visited, .mw-parser-output a.external:visited, a, a[href].new  {
    color: #1b599b;
    text-decoration: none;
    background-color: transparent
}
a:hover, a[href].new:hover {
    color: #10345a;
    text-decoration: underline
}


a:visited, a[href].new:visited {
    color: #1b599b;
}
.footercontainer{max-width:100%;}
.mw-body.content{max-width:1140px; margin:0 auto;}
.tableVideo{text-align : center; margin: 0 auto;}
.embedvideo-wrapper{ border:1px solid #ccc;}
.embedvideo-loader__footer{display : none !important}
.panchangimg img{max-width:800px; width:100%; height:auto; margin:10px auto; display:table;}
.panchangimg a[href].external{ position: fixed; bottom: 20px; right: 20px; background-color:#1B599B; color: #ffffff; padding: 10px 20px; border-radius: 5px; box-shadow: 0px 0px 4px #d1d1d1; font-weight: 600;z-index: 9;}
.p-navbar.collapsible .navbar-nav .dropdown-menu{height:auto; max-height:95vh; overflow: auto;}


/* Hide the entire page tools section (content navigation) for users not logged in */
/* Hide the entire page tools section (content navigation) for users not logged in */
Line 72: Line 7:
}
}


span.mw-editsection {
 
/* body:not(.group-sysop) #mw-navigation {
     display: none !important;
     display: none !important;
}
} */


@media (min-width: 1105px) {
/* Hide "Page", "Discussion", "View source", "View history" bar for anonymous visitors */
.navbar-expand-cmln, .p-navbar.collapsible {flex-flow: row wrap;}
body:not(.logged-in) .page-tools,
.navbar-expand-cmln .navbar-nav, .p-navbar.collapsible .navbar-nav {flex-wrap: wrap; justify-content: center;}
body:not(.logged-in) .chameleon-page-tools,
body:not(.logged-in) .mw-portlet-page-tools {
    display: none !important;
}
}


.mw-body a,
.mw-body a:visited,
.mw-body a:hover,
.mw-body a:active,
.mw-body a:focus,
.mw-body a.external:visited{color:#1B599B;}
.mw-parser-output  > .mw-empty-elt {display: none;}


@media (max-width: 575.98px) {
.flex-fill.container .row:first-child {justify-content: center;}
.tableVideo {
    max-width: 300px;
    width: 100% !important;
    height: 169px !important
}


.embedvideo-wrapper, .embedvideo {
/* Start Pushkar Dayal Code */
    max-width: 300px;
body {font-family: "Poppins", sans-serif; font-weight: 400; font-style: normal; font-size: 1rem;}
    width: 100% !important;
    height: 169px !important
}
.panchangimg a[href].external{ bottom: 20px; right: 20px; padding: 10px 15px; border-radius: 4px;;}
.panchangimg img{width:100%; height:auto;}
}


body.skin-chameleon .col > #content.mw-body{padding: 0px !important}


.mw-headline,


.page-title,
.firstHeading,
h1, h2, h3 {
  border: none !important;
  box-shadow: none !important;
}
.footercontainer { display:block !important; background:#eee; padding:20px; }


.container.flex-fill{ max-width: 1351px !important; width: 100% !important; margin: 0 auto !important; padding: 0 15px !important; /* overflow:hidden; */}


.container.flex-fill > .row:last-child{ overflow: hidden; padding-bottom:20px;}


.thumb,
.p-navbar .navbar-brand.p-logo { height: 3rem; }
.thumbinner,
.p-navbar .navbar-brand img { height: 3rem; }
.image,
img.thumbimage {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 auto !important;
}


/* Hide only the A–Z headers on Category pages, keep all links visible */
.mw-category-group > h3 {
  display: none !important;
}


.p-logo a {display: block;}
.p-logo a:hover,
.p-logo a:focus,
.p-logo a:active,
.p-logo a:focus-visible { outline: 0;}
.p-logo img  {height: 6.5rem; padding: 5px 0;}
#p-personal {padding:5px 0}


#p-personal .p-personal-tools > *,
.p-personal .p-personal-tools > * { margin-left: 0.35rem !important; margin-right: 0.35rem !important; display: flex ; align-items: center ;}


/*  Clean up MediaWiki layout spacing for particular Pages */
#p-personal.pull-right .p-personal-tools, .p-personal.pull-right .p-personal-tools{ align-items:center; }


body.page-Main_Page .mw-body,
#mw-navigation { padding-right: 0.7rem !important; background: #fff;}
body.page-Main_Page .mw-body-content,
#mw-navigation a.dropdown-toggle,
body.page-Main_Page .mw-content-container,
#p-personal #pt-createaccount a,
body.page-Main_Page .container.flex-fill {
#p-personal #pt-login a,
  padding: 0 !important;
#p-personal #pt-logout a{ background: #f87d22 !important; border: none!important; padding: 10px 15px !important; color: #fff; border-radius:5px; display: flex; align-items: center; gap: 5px; height: 41px; }
}


/* Spacing in Media wiki Body Containers */
#mw-navigation .nav-link::before, a.pt-createaccount:before { margin-right: 0;}
body.skin-chameleon .col > #content.mw-body {
#mw-navigation a.dropdown-toggle::after {font-family: "Font Awesome 6 Free" !important; content: '\f078'; border: none !important; font-weight: 900;}
  padding: 30px 30px 0 30px !important; /* top, right, bottom, left */
  box-sizing: border-box !important;
}


/*  Clean up MediaWiki layout spacing */
#mw-navigation a.dropdown-toggle:hover,
#mw-navigation a.dropdown-toggle:focus,
#mw-navigation a.dropdown-toggle:active,


html, body {
#p-personal #pt-createaccount a:hover,
  margin: 0 !important;
#p-personal #pt-createaccount a:focus,  
  padding: 0 !important;
#p-personal #pt-createaccount a:active,
  overflow-x: hidden !important;
#p-personal #pt-login a:hover,
  box-sizing: border-box;
#p-personal #pt-login a:focus,
}
#p-personal #pt-login a:active,
#p-personal #pt-logout a a:hover,
#p-personal #pt-logout a a:focus,
#p-personal #pt-logout a a:active{background: #da670f !important; box-shadow: none !important; text-decoration: none !important; color: #fff;}


.mw-body,
#p-personal #pt-login a::before,
.mw-body-content,
#p-personal #pt-logout a::before { margin-right: 0; font-family: "Font Awesome 6 Free"!important; content: '\f007'; border:none !important; font-weight: 400;}
.mw-parser-output,
#content,
#bodyContent,
#mw-content-text {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
  box-sizing: border-box;
  max-width: none !important;
  width: 100% !important;
}




/* === Custom Navbar Styling === */
.navbar-light .navbar-toggler, .p-navbar .navbar-toggler {color: #fff;  border-color: rgba(255, 255, 255, 0.5); }
.main-navbar {background: #531101; padding: 8px 5px; margin:0 -15px !important }
.main-navbar a { color: #fff !important; font-weight: 400; }
.main-navbar a:hover, .main-navbar a:active { color: #fefefe !important;}


.main-navbar .dropdown-menu { background-color: #fff !important; border: 1px solid #ccc; border-radius: 5px; }
.main-navbar .dropdown-menu .dropdown-item, .main-navbar .dropdown-menu a { color: #000 !important;    padding: .35rem 1.5rem !important; }


/* Full width Slider */
.main-navbar .dropdown-menu .dropdown-item, .main-navbar .dropdown-menu a:hover,
.main-navbar .dropdown-menu .dropdown-item, .main-navbar .dropdown-menu a:active{ color: #000 !important; background: #e9ecef !important; }


/* Full-bleed slider (stretches to viewport edges while remaining inside the page flow) */
.main-navbar .dropdown-toggle{ display:flex}
.mw-fullslider {
.main-navbar .dropdown-toggle::after{
  position: relative;
font-family: "Font Awesome 6 Free"!important; content: '\f078'; border:none !important; font-weight: 900;}
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  box-sizing: border-box;
  background: #111;
  color: #fff;
  overflow: visible;
  --fs-height: 420px; /* desktop height; adjust as needed */
}


/* Viewport and track */
.mw-fullslider-viewport {
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}
.mw-fullslider-track {
  display: flex;
  gap: 0;
  transition: transform 500ms cubic-bezier(.22,.9,.2,1);
  will-change: transform;
  align-items: stretch;
  flex-wrap: nowrap;
}


/* Single slide: full viewport width */
.mw-fullslide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  min-height: var(--fs-height);
  box-sizing: border-box;
  position: relative;
}


/* Image wrapper enforces consistent size */
.navbar-nav > .mw-list-item:nth-child(1) { order: 1;}
.mw-fullslide .fs-img {
.navbar-nav > .mw-list-item:nth-child(2) { order: 6;}
  position: absolute;
.navbar-nav > .mw-list-item:nth-child(2) a{ display: flex; background: #f87d22; border-radius: 5px; gap: 5px; align-items: center; color: #fff;}
  inset: 0;
.navbar-nav > .mw-list-item:nth-child(2) a::before{
  overflow: hidden;
font-family: "Font Awesome 6 Free"!important; content: '\f004'; border:none !important; font-weight: 900;}
  height: 100%;
  width: 100%;
  z-index: 0;
}
.mw-fullslide .fs-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}


/* Text overlay area */
.navbar-nav > .mw-list-item:nth-child(3) { order: 7;}
.mw-fullslide .fs-text {
.navbar-nav > .nav-item.dropdown:nth-child(4) { order: 2;}
  position: relative;
.navbar-nav > .nav-item.dropdown:nth-child(5) { order: 3;}
  z-index: 2;
.navbar-nav > .nav-item.dropdown:nth-child(6) { order: 4;}
  padding: 36px;
.navbar-nav > .nav-item.dropdown:nth-child(7) { order: 5;}
  max-width: 1200px;
.navbar-nav > .nav-item.dropdown:nth-child(8) { order: 8;}
  margin: 0 auto;
  color: #fff;
  text-shadow: 0 6px 22px rgba(0,0,0,.6);
  box-sizing: border-box;
}
.mw-fullslide h2 { margin: 0 0 8px; font-size: 2rem; }
.mw-fullslide p { margin: 0; font-size: 1rem; opacity: .95; }


/* Buttons */
.p-navbar.collapsible .navbar-nav .nav-link { padding-right: .7rem; padding-left: .7rem;}
.mw-fullslider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.45);
  color: #fff;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.mw-fullslider-btn.prev { left: 12px; }
.mw-fullslider-btn.next { right: 12px; }
.mw-fullslider-btn:disabled { opacity: .35; cursor: default; }


/* Pagination dots */
.mw-fullslider-dots {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 14px;
  display: flex;
  gap: 8px;
  z-index: 12;
}
.mw-fullslider-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: none;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  padding: 0;
}
.mw-fullslider-dots .dot[aria-pressed="true"],
.mw-fullslider-dots .dot.active {
  background: #fff;
  width: 12px;
  height: 12px;
}


/* Small-screen / responsive tweaks */
/* -- Slick Core Styles -- */
@media (max-width: 900px) {
@import url('https://cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.css');
  .mw-fullslider { --fs-height: 320px; }
@import url('https://cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick-theme.css');
  .mw-fullslide h2 { font-size: 1.5rem; }
  .mw-fullslide .fs-text { padding: 20px; }
  .mw-fullslider-btn { width: 44px; height: 44px; font-size: 24px; }
}
@media (max-width: 480px) {
  .mw-fullslider { --fs-height: 220px; }
  .mw-fullslide h2 { font-size: 1.15rem; }
  .mw-fullslide p { font-size: .95rem; }
  .mw-fullslider-btn { width: 40px; height: 40px; }
  .mw-fullslider-dots { bottom: 10px; }
}


/* Accessibility focus styles */
.p-search { margin-bottom:7px;}
.mw-fullslider-btn:focus,
.p-search .input-group > .form-control{ height:40px;}
.mw-fullslider-dots .dot:focus { outline: 3px solid rgba(255,255,255,0.16); outline-offset: 2px; }
.p-search .searchGoButton {background: #f87d22 !important; border: none!important; padding: 8px 15px !important; margin-left: auto; color: #fff !important; border-radius: 0 .25rem .25rem 0 !important;}
.p-search .searchGoButton:hover,.p-search .searchGoButton:focus,.p-search .searchGoButton:focus:active{background: #da670f !important; box-shadow: none !important; text-decoration: none !important; color: #fff !important;}


/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .mw-fullslider-track { transition: none !important; }
}


.btn{padding: 15px 40px;}
.btn-primary,.btn-donate { background: #f87d22 !important; color:#fff !important; border: none!important;}
.btn-primary{width: 100%;}
.btn-primary:hover,.btn-primary:focus,
.btn-primary:focus:active,
.btn-donate:hover,.btn-donate:focus,
.btn-donate:focus:active {background: #da670f !important; color:#fff !important; box-shadow: none !important; text-decoration: none !important;}
.btn-donate span{ display: flex !important; align-items: center !important; gap: 5px !important;}


/* Hero Section with Fixed Background */
.mw-body .mw-indicators{ display: none !important; position: absolute !important; z-index: -1;}


.hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 75vh;
  width: 100%;           
  margin: 0 auto;
  padding: 100px 20px;


  background-image: url('https://palegoldenrod-hawk-418440.hostingersite.com/wp-content/uploads/2025/10/19376570_w66m_ob1h_190906-scaled.jpg');
body.page-Main_Page #firstHeading{display: none}
  background-size: cover;
#p-contentnavigation{ margin-top: 15px;}
  background-position: center;
.hero-banner-section{margin: 0 -15px;}
  background-attachment: fixed;
.hero-banner-section .container{max-width: 1351px !important; padding: 0 !important;}
.hero-banner-section .adsBannerSliderHero  {position: relative;} /* -- Slick Wisdom Slider -- */
.hero-banner-section .slick-track{display: flex;}
.hero-banner-section .adsBannerSliderHero .slick-slide{position: relative; display: inline-block; width:1351px !important}
.hero-banner-section img{ width: 100%; height: 450px; object-fit: cover;}
.hero-banner-block { position: absolute; background: rgba(0,0,0,.5); text-align: center; max-width: 1000px; width: 100%; color: #fff; bottom: 0; left: 50%; transform: translate(-50%,-150px); padding: 20px; border-radius: 5px}


  text-align: center;
.hero-banner-heading {font-size: 2.6rem; font-weight: 700; margin-bottom: 10px;}
  color: #fff;
.hero-banner-subheading {font-size: 1.8rem; font-weight: 600}
  box-sizing: border-box;
  overflow: hidden;
}


/* Dark overlay for readability */
h2.section-heading{ font-size: 2.5rem; font-weight: 700; color: #531101; padding-top:25px; margin-top:0; margin-bottom: 30px !important; text-align: center; border:0;}
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}


.discover-Learn-Live-section{padding: 40px 40px 10px 40px; background: #ffffff; color:#000;}
.discover-Learn-Live-section .section-heading{ text-align: left; margin-bottom: 30px; margin-top: 0; padding-top: 5px;}
.discover-Learn-Live-section img {width: 100%; max-width: 539px;}
.discover-Learn-Live-btn{ background: #531101; width: 200px; border-radius: .5rem; display: table; padding: 1rem; margin: 20px auto 0 auto; text-align: center; text-decoration: none; color: #fff !important; font-size: 1rem; white-space: nowrap;}
.discover-Learn-Live-btn:visited{ color: #fff !important;}
.discover-Learn-Live-btn:hover{ color: #fff; background: #410d01;}


.hero-content {
.sanatan-circle { position: relative; width: 520px; height: 488px; margin: 0px auto 30px auto; font-family: "Poppins", sans-serif;}
  position: relative;
.center-text {position: absolute; top: 50%; left: 0%; width: 175px; height: 175px; transform: translate(-0%, -50%); border-radius: 50%; background: #fff; color: #333; font-size: 14px; font-weight: 500; line-height: 1.4; text-align: center; display: flex; align-items: center; justify-content: center; padding: 15px; box-shadow: 0 0 15px rgba(0, 0, 0, 0.15); z-index: 2;}
  z-index: 2;
.dotted-arc {position: absolute; top: 50%; left: 0%; width: 245px; height: 245px; transform: translate(-12%, -50%); border: 2px dashed #531101; border-radius: 50%; clip-path: inset(0 0 0 50%); /* show only right half */ z-index: 1;}
  max-width: 800px;
  width: 90%;
  margin: 0 auto;
}


.hero-content h1 {
.icon {position: absolute; width: 77px; height: 77px; box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, .15); border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; z-index: 3;}
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 15px;
}


.hero-content p {
.icon img { width: 40px; height: 40px;}
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.6;
  color: #FFE687;
}
 
 
@media (max-width: 1024px) {
  .hero-section {
    background-attachment: scroll;
    padding: 80px 15px;
  }
  .hero-content h1 { font-size: 2.4rem; }
  .hero-content p { font-size: 1.1rem; }
}


@media (max-width: 768px) {
.icon1 { top: 20px; left: 10%; }
  .hero-section {
.icon2 { top: 50px; left: 30%;}
    min-height: 70vh;
.icon3 {top: 135px; left: 44%;}
    padding: 70px 15px;
.icon4 { top: 245px; left: 45%;}
  }
.icon5 {top: 345px; left: 35%;}
    .hero-content h1 { font-size: 2rem; }
.icon6 {top: 393px; left: 15%;}
  .hero-content p { font-size: 1rem; }
}


@media (max-width: 480px) {
.roundbullet{ position: absolute; width: 8px; height: 8px; border-radius: 4px; background-color: #531101;}
  .hero-section {
.roundbullet1 {left: 36px; top: 99px;}
    padding: 60px 10px;
.roundbullet2 {left: 6px; top: 92px;}
  }
.roundbullet3 {left: -25px; top: 65px;}
  .hero-content h1 { font-size: 1.6rem; }
.roundbullet4 {left: -28px; top: 30px;}
  .hero-content p { font-size: 0.95rem; }
.roundbullet5 {left: -20px; top: -8px;}
}
.roundbullet6 {left: 14px; top: -31px;}


.iconTextBlock { position: absolute;}
.iconText1 {left:83px; top:-25px; width: 305px;}
.iconText2 {left:87px; top:13px; width: 300px; }
.iconText3 {left:87px; top:10px; width: 250px; }
.iconText4 {left:87px; top:10px; width: 280px;}
.iconText5 {left: 88px; top:18px; width: 250px;}
.iconText6 {left:90px; top:40px; width: 320px;}




@media screen and (max-width:400px) {
.sanatan-circle {margin: 20px 0 30px 0; width: 100%; height: 360px; }
.center-text {width: 145px; height: 145px; font-size: 12px;}
.dotted-arc {width: 185px; height: 185px; border: 1px dashed #531101;}


.icon {width: 45px; height: 45px;}
.icon img { width: 24px; height: 24px;}
.icon1 {top: 28px; left: 14%;}
.icon2 {top: 48px; left: 34%;}
.icon3 {top: 105px; left: 49%;}
.icon4 {top: 180px; left: 52%;}
.icon5 {top: 249px;left: 42%;}
.icon6 {top: 287px; left: 22%;}


.roundbullet {width: 6px; height: 6px; border-radius: 3px;}
.roundbullet1 {left: 23px; top: 56px;}
.roundbullet2 {left: 7px; top: 52px;}
.roundbullet3 {left: -8px; top: 40px;}
.roundbullet4 {left: -15px; top: 21px;}
.roundbullet5 {left: -10px; top: -3px;}
.roundbullet6 {left: 0px; top: -18px;}


/* Two-column layout container */
.iconTextBlock{font-size: 11px;}
.custom-two-column {
.iconText1 {left: 50px;top: -30px; width: 200px;}
  display: flex;
.iconText2 {left: 56px; top: 5px; width: 165px;}
  flex-wrap: wrap;
.iconText3 {left: 55px; top: -5px;  width: 118px;}
  justify-content: space-between;
.iconText4 {left: 55px; top: 0;width: 110px;}
  align-items: center;
.iconText5 {left: 58px;top: 12px; width: 135px;}
  gap: 20px;
.iconText6 {left: 56px; top: 20px; width: 200px;}
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}
}


/* Left column - holds image */
.explore-sanatan-wisdom-section{/*padding: 0px 40px 0 40px;*/ padding: 0px; background: #ffffff;}
.custom-two-column .left-column {
.sanatanWisdomSlider {position: relative;} /* -- Slick Wisdom Slider -- */
  flex: 1 1 45%;
.sanatanWisdomSlider .slick-track{display: flex; gap:30px;}
  text-align: center;
.sanatanWisdomSlider .slick-track div{display: inline-block;}
}
.sanatanWisdomSlider a{background: #fff !important; display: block; text-decoration: none; color: #000; border-radius: 10px; overflow: hidden; box-shadow: 0px 0px 10px 0px rgba(0,0,0,.2); margin-bottom: 20px;}
.sanatanWisdomSlider a .sanatan-wisdom-title{ padding: 15px; color:#000000; display: block; text-align: center; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; overflow: hidden; text-overflow: ellipsis; height:54px; line-height:32px;}
.sanatanWisdomSlider img {width: 100%;height: auto; display: block;}


.custom-two-column .left-column img {
  width: 100%;
  height: auto;
  max-width: 500px;
  border-radius: 12px;


  display: block;
.latest-articles-section { padding: 0px 40px 40px 40px; background: #ffffff;}
  margin: 0 auto;
.latestArticlesSlider {position: relative;} /* -- Latest Articles Slider -- */
}
.latestArticlesSlider .slick-track{display: flex; gap:20px;}
.latestArticlesSlider .slick-track div{display: inline-block;}
.latestArticlesSlider a{white-space: nowrap; text-align: center; background: #f87d22 !important; padding: 8px 20px; display: block; text-decoration: none; color: #fff; border-radius: 5px;}
.latestArticlesSlider a:hover{ color: #fff; background: #531101 !important}


/* Right column - list of articles */
.custom-two-column .right-column {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
align-items:center;
  padding: 10px;
  box-sizing: border-box;
}


.custom-two-column .right-column h2 {
.slick-arrow { position: absolute; z-index: 999; color: #fff; top: 50%; width: 25px; height: 30px; border: 0; background: rgba(0, 0, 0, .3); transform: translate(0, -50%);}
  font-size: 1.8rem;
.prev-arrow {left: 0; border-radius: 5px; padding: 0;}
  font-weight: 700;
.next-arrow {right: 0; border-radius: 5px; padding: 0;}
  color: #222;
  margin-bottom: 15px;
  border-bottom: 2px solid #FFD44C;
  display: inline-block;
  padding-bottom: 5px;
}


.custom-two-column .right-column ul {
  list-style: none;


  margin: 0;
.featured-and-highlights-section{padding: 0px 40px 40px 40px; margin: 0 -15px; background: #fff4f2;}
  padding: 0;
.featured-and-highlights-section img {width: 100%; overflow: hidden; border-radius: 15px; object-fit: cover; height: 345px;}
}
.home-featured-content{margin: 20px 0; padding: 0 20px; text-align: center; color: #000; height: 45px; line-height: 22px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; text-overflow: ellipsis;}


.custom-two-column .right-column li {
  margin: 10px 0;
}


.custom-two-column .right-column a {
.home-featured-btn{ background: #531101; width: 200px; border-radius: .5rem; display: table; padding: 1rem 2rem; margin: 0 auto; text-align: center; text-decoration: none; color: #fff !important; font-size: 1rem;}
  text-decoration: none;
.home-featured-btn:hover,
  font-weight: 600;
.home-featured-btn:active{color: #fff; background: #410d01 !important;}
  font-size: 1.1rem;
.home-featured-btn:visited{color: #fff !important;}
  color: #0056b3;
  transition: color 0.2s ease;
}


.custom-two-column .right-column a:hover {
.join-and-collaborate-section {padding: 0px 40px 40px 40px; text-align: center; background: #ffffff;}
  color: #FFD44C;
.join-and-collaborate-section .btn-coin-collaborate-block { display: flex; gap: 30px; flex-wrap: wrap; justify-content: center;}
}
.join-and-collaborate-section .btn-coin-collaborate-block a{background: #f87d22 !important; border: none !important; padding: 1rem 2rem; color: #fff; font-size: 1.5rem; font-weight: 600; text-decoration: none; width: 325px; border-radius: .5rem; display: flex; align-items: center; justify-content: center; gap:20px;}
.join-and-collaborate-section .btn-coin-collaborate-block a:hover,
.join-and-collaborate-section .btn-coin-collaborate-block a:active{color: #fff; background: #da670f !important;}
.join-and-collaborate-section .btn-coin-collaborate-block a:visited{color: #fff !important;}


@media (max-width: 992px) {
  .custom-two-column {
    flex-direction: column;
    text-align: center;
  }


  .custom-two-column .right-column h2 {
    text-align: center;
  }


  .custom-two-column .right-column ul {
.firstHeading, h1, h2, h3, h4{font-weight: 700; }
    display: inline-block;
h2, h3, h4{ border-bottom:0 !important}
    text-align: left;
#bodyContent ul,#bodyContent ol{margin-bottom: 1rem;}
  }
#bodyContent ul li,#bodyContent ol li{margin-bottom: 1rem;}
}


.engage-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 35px 20px;
  text-align: center;
}


.engage-section h1 {
.right-template-category-block{float:right; width:300px; border:1px solid #ccc; background-color:#f9f9f9; padding:10px; margin-bottom:20px; border-radius:8px;}
  color: maroon;
.right-template-category-block h2{ font-weight: bold;
  font-size: 2.5rem;
    margin-bottom: 8px;
  margin-bottom: 10px;
    background: #e9e9e9;
  font-weight: bold;
    padding: 15px 10px;
}
    border-radius: 4px;
    margin: 0 0 15px 0;
    font-size: 1.4rem;}


.engage-section h2 {
.right-template-category-block ul li,
  color: #333;
.right-template-category-block ol li { margin-bottom: .5rem; font-size: 1rem;}
  font-size: 1.4rem;
.right-template-category-block a { font-weight: 400;}
  font-weight: normal;
  margin: 0;
}


@media (max-width: 600px) {
.panchang_block,.panchangimg { display: flex; gap:15px; flex-direction: column; align-items: center;}
  .engage-section {
    padding: 30px 15px;
  }


  .engage-section h1 {
#mw-custom-footer { background-color: #531101;}
    font-size: 1.8rem;
.footer{ clear:both; background-color: #531101; color: #fff; font-size: .9rem; font-weight: 300; line-height: 1.8;  margin:0 auto; max-width:1351px !important; padding: 15px 15px 0 15px !important;}
  }
.footer h3{ font-size: 1rem; font-weight: 600; margin-top: 10px; margin-bottom: 15px; color: #fff;}
.footer ul { margin: 0; padding: 0; list-style: none;}
.footer ul.need-help li {display: flex; align-items: baseline; gap:10px; margin-bottom: 5px;}
.footer a { text-decoration: none; color:#fff !important;}
.footer a:hover{ color: #fff; text-decoration: underline;}
.footer .form-text{ color: #fff;}
.footer .form-control,
.footer .form-control:hover,
.footer .form-control:focus,
.footer .form-control:active{ height: 50px; border: none; box-shadow: none;}
.footer ul.social-media{display: flex; gap:15px; margin-top: 10px; font-size: 1.6rem;}
.footer .footerBottom {padding:30px 0; border-top: 1px solid #fff;margin-top: 20px;}
.footer .footerBottom ul{ margin: 0; display: flex; justify-content: center; flex-wrap: wrap; gap:10px; line-height: 1;}
.footer .footerBottom ul li:not(:last-child) {border-right: 1px solid #fff; padding-right: 10px;}


  .engage-section h2 {
    font-size: 1.1rem;
  }
}


.my-createaccount-custom-box{display: flex; gap: 50px;}


div.mw-ui-container { display: flex; flex-direction: column-reverse; align-items: center; }
.mw-ui-container #userloginForm {position: relative; width: 100%; padding: 0; margin: 0 auto !important; max-width:580px; padding: 20px; border: 1px solid #aaa; border-radius: 10px;}
.mw-ui-vform{ width:100% !important;}
/* .mw-ui-vform > div { display: flex; flex-wrap: wrap; gap: 15px 20px; } */
/* .mw-htmlform-field-HTMLInfoField { width: 100% !important; position: absolute; top: -10px; transform: translate(-50%, 0px); left: 50%;} */
/* .mw-ui-vform > div .mw-ui-vform-field{ width: calc(50% - 10px)} */
.mw-ui-vform > div .mw-ui-input {line-height:2rem !important;}
.mw-ui-button:not(.mw-ui-icon-element){max-width:100% !important}
.mw-htmlform-field-HTMLSubmitField{margin: 0;}
.footercontainer.container {padding:0 15px !important}


 
.mw-ui-button.mw-ui-progressive:not(:disabled) {
/* Core categories section */
    background-color: #ff7500;
 
    color: #fff;
.three-cards-wrap {
    border-color: #ff6b00;
  width: 100%;
    padding: 10px 30px;
  max-width: 1320px;
    display: table;
  margin: 40px auto;
    width: auto;
  padding: 0px 30px;
    border-radius: 5px;
    margin: 20px auto ;
  box-sizing: border-box;
    /* position: absolute;
    left: 50%;
    transform: translate(-50%, 30px); */
}
}
 
.mw-ui-button.mw-ui-progressive:not(:disabled):hover{
/* row */
    background-color: #da670f;
.three-cards-row {
    color: #fff;
  display: flex;
    border-color: #da670f;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  gap: 0; /* no gap between children */
}
}


.three-cards-row .card {
#mw-createaccount-join {
  box-sizing: border-box;
    background-color: #f8f9fa;
  flex: 0 0 calc(33.3333%); /* three equal columns */
    color: #ff6b00;
  padding: 0;              /* no padding between cards */
  margin: 0;
  border: none;
  background: #fffcef;
  display: flex;
  flex-direction: column;
  align-items: stretch;
justify-content:center;
}
}


/* remove default link/image frames added by wiki/skin when using [[File:...]] */
#mw-createaccount-cta{padding-top: 3.5em; text-align: center;}
.three-cards-row .card img,
.three-cards-row .card .thumbimage,
.three-cards-row .card .thumbinner {
  border: none !important;
  background: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 auto;
  display: block;
}


/* image area */
@media (max-width: 767px) {
.card .card-image {
.container.flex-fill .row:nth-child(1) {justify-content:center;}
  width: 100%;
.container.flex-fill .row:nth-child(1) .align-items-center {flex-direction: column;}
  height: 220px;
.p-personal.pull-right {float:inherit !important}
  align-items: center;
#p-personal.pull-right .p-personal-tools, .p-personal.pull-right .p-personal-tools {justify-content:center}
justify-content: center;
  overflow: hidden;
  flex: 0 0 auto;
}


.card .card-image img {
.top-head{ justify-content: center; gap: 10px;}
  width: 150px;
  object-fit: cover;
vertical-align: middle;           /* keeps image aspect and fills area */
  display: block;
}


/* content area */
.card .card-body {
  padding: 28px 24px;
  text-align: center;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}


/* title / paragraph */
.navbar-nav { align-items:flex-start; width: 100%; padding: 0 15px;}
.card h3 {
.navbar-nav > .mw-list-item:nth-child(1), .navbar-nav > .mw-list-item:nth-child(2), .navbar-nav > .mw-list-item:nth-child(3),
  margin: 0 0 12px 0;
.navbar-nav #n-Home, .navbar-nav #n-Donate, .navbar-nav #n-Submit-Useful-Content, .navbar-nav .nav-item {width:100%}
  font-size: 1.25rem;
#n-Donate a {padding-left:15px; padding-right:15px;}
  color: #222;
  font-weight: 700;
}


.card p {
.hero-banner-section img{ height: 350px;}
  margin: 0 0 20px 0;
.hero-banner-block {transform: translate(-50%, -90px);}
  color: #555;
.hero-banner-heading {font-size: 1.6rem;}
  line-height: 1.6;
.hero-banner-subheading {font-size: 1.2rem;}
  font-size: 0.98rem;
.discover-Learn-Live-section .section-heading{ margin-top:1rem; padding-top:0.5rem; }
}
h2.section-heading{font-size: 1.9rem;}


/* button */
.featured-and-highlights-section{margin: 0;}
.card .card-btn {
.discover-Learn-Live-section,.explore-sanatan-wisdom-section, .latest-articles-section, .featured-and-highlights-section, .join-and-collaborate-section{padding: 0 0 40px 0;}
  display: inline-block;
.home-featured-content{ padding: 0; max-height: 65px; height: auto;}
  text-decoration: none;
.latest-articles-section h2.section-heading{padding-top:0 !important;}
  background: #0b66d1;
.join-and-collaborate .btn-coin-collaborate-block a{ padding: 1rem 2rem; width: 100%;}
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 600;
  transition: background .15s ease, transform .12s ease;
  align-self: center;
}
.card .card-btn:hover { background: #085bb0; transform: translateY(-2px); }


.my-createaccount-custom-box{ gap:0; flex-direction: column;}


@media (max-width: 1024px) {
.mw-ui-vform > div .mw-ui-vform-field {width:100% !important;}
  .three-cards-row .card {
    flex: 0 0 calc(50%); /* two columns */
  }
  .card .card-image { height: 200px; }
}


@media (max-width: 640px) {
  .three-cards-wrap { margin: 20px auto; }
  .three-cards-row .card {
    flex: 0 0 100%; /* one column */
  }
  .card .card-image { height: 180px; }
  .card .card-body { padding: 20px; }
  .card h3 { font-size: 1.1rem; }
  .card p { font-size: 0.95rem; }
}
}


/* Templates: State pages only*/
.templesIntro {padding:0 0 20px 0; width:auto !important;}
.templesIntro .templeImg {height: 100%; max-height: 400px; border: 2px solid #5d0900; border-radius: 20px; overflow: hidden;}
.templesIntro img{width: 100%; height: 100%; object-fit: cover;}
.templesIntro .templeContentBlock {height: 100%; max-height: 400px;  padding: 10px 15px 15px 15px; border:2px solid #5d0900;  border-radius: 20px;}
.templesIntro h2 {width:100%; color:#ff7500; margin:0; padding:0; margin: 0 0 10px 0; font-size: 1.5rem; text-align: center;}
.templesIntro ul { margin: 0 !important; padding: 0; height: 100%;  max-height: 320px; overflow: auto; list-style: none;}
.templesIntro ul li {margin:0 !important; padding:10px 0; border-top:1px solid #cccccc; display: flex; flex-wrap: wrap; gap: 5px 10px;}
.templesIntro b {font-weight: 600; width:100% !important; min-width: 160px;}
.templesIntro a {position: relative; white-space:nowrap;}
.templesIntro a:after {content:"|"; color:#ccc; margin-left: 7px;}
.templesIntro a:last-child::after{ display: none}


.templesIntro .templeHead { font-size:1rem; font-weight: 600; width:100%; max-width: 160px; }
.templesIntro .templeContent { font-size: 1rem; display: flex; flex-wrap: wrap; gap: 5px 7px;}
.templesIntro .templeContent a {position: relative;}
.templesIntro .templeContent a:after {content:"|"; color:#ccc; margin-left: 7px;}
.templesIntro .templeContent a:last-child::after{ display: none}




/* Aarti: page*/
.rootpage-Aartis h3{ text-align: center; border-bottom: 1px solid #eee !important; margin-bottom: 20px;}
.aartisFilterBlock {padding:0 0 20px 0;}
.aartisFilterBlock ul { margin: 0 !important; padding: 0;  display: flex; flex-wrap:wrap; justify-content: center; gap:20px; list-style: none; }
.aartisFilterBlock > ul > li{width: calc(50% - 10px); margin-bottom:0 !important; border:0; display: flex; gap: 10px; background: #fbfbfb; box-shadow: 0 1px 2px rgba(0, 0, 0, .3); padding: 10px;}
.aartisFilterBlock .aartiItemImg .center,.aartisFilterBlock .aartiItemImg .center .floatnone,.aartisFilterBlock .aartiItemImg a {height:100%; display: block}


.aartisFilterBlock .aartiItemImg { width: 80px;height: 80px;border: 1px solid #ccc;border-radius: 5px;overflow: hidden; box-sizing: border-box;}
.aartisFilterBlock .aartiItemImg .thumb {float: none !important; width: 100%; margin: 0; padding: 0;}
.aartisFilterBlock .aartiItemImg .thumb .thumbinner {border: 0; width: 100%; max-width: 100%; box-sizing: border-box;}
.aartisFilterBlock .aartiItemImg img{width: 100%; height: 100%; max-height:78px; object-fit: cover; border:0 !important}
.aartisFilterBlock > ul .aartiHeadingLInks {width: calc(100% - 110px);}
.aartisFilterBlock > ul .aartiHeadingLInks .itemHeading{margin: 0; font-size: 1rem; font-weight:600; width:100%; center; color:#ff7500;}
.aartisFilterBlock > ul ul {display: block; list-style: none;}
.aartisFilterBlock > ul ul li{ margin: 0 !important; padding: 0; font-size: 1rem;}
.aartisFilterBlock > ul ul  a {display:block; margin-top:5px;}


/* Custom Page Footer * /
/* Other Related Aartis */
.otherRelatedAartisBlock { background:#fffcf5; padding:15px 15px 30px 15px;}
.otherRelatedAartisBlock h3 { padding-top:0 !important; margin-top:0 !important; text-align:center}
.otherRelatedAartisBlock ul {display: flex; flex-wrap: wrap; justify-content: center; gap:15px; width: 100%; margin: 0 !important; padding:0; list-style: none; }
.otherRelatedAartisBlock ul li { width: calc(100% / 5 - 12px);  padding-left: 0; margin-bottom: 0px !important; background: #f9f9f9; border: 1px solid #ccc; border-radius: 7px; overflow: hidden;}
.otherRelatedAartisBlock ul li:hover{background: #fff; border: 1px solid #999;}
.otherRelatedAartisBlock ul li a, .otherRelatedAartisBlock ul li:hover a {text-decoration: none; color:#000;}


.otherRelatedAartisBlock ul li img {width:100%; height:100%; max-height:150px; border-radius:5px; object-fit: cover;}
.otherRelatedAartisBlock ul li h3{ margin:0 0 10px 0; padding:10px !important; font-size: 1rem; background:#fffaec;  font-weight:600; width:100%; center; color:#ff7500; }
.otherRelatedAartisBlock ul li p { padding:0 10px; font-size:.9rem}
.beforeMenuTagline { text-align: center;font-size: 16px;padding: 20px 0 0 0;display: inline-table;color: #ff7500;font-weight: 600; }
.beforeMenuTagline .hi{ font-size: 18px; }


/* Base footer */
.mw-footer {
 
  font-family: poppins , system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  background-color: #800000; /* maroon */
  color: white;
  padding: 30px 5%;
  box-sizing: border-box;
}


/* Links */
@media (max-width: 767px) {
.mw-footer a {
.templesIntro .templeContentBlock { margin-top:20px; max-height: inherit; height: inherit;}
  color: #ffe6e6;
.templesIntro .templeHead,.templesIntro b {max-width: inherit; }
  text-decoration: none;
.templesIntro ul li{display: block;}
}
.mw-footer a:hover,
.mw-footer a:focus {
  color: #ffffff;
  text-decoration: underline;
  outline: none;
}


/* Container / grid */
.otherRelatedAartisBlock ul li { width: calc(100% / 3 - 12px);}
.mw-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: start;
  box-sizing: border-box;
}
}


/* Columns */
@media (max-width: 475px) {
.mw-footer-col { min-width: 0; }
.pa-related-box {margin: 12px 0 24px 0 !important;}
.mw-footer-title { font-weight: 700; margin: 0 0 8px; display: block; color: #fff; }
.aartisFilterBlock > ul > li{width: 100%;}


/* Lists and text */
.otherRelatedAartisBlock ul li { width: 100%;}
.mw-footer-list { list-style: none; margin: 0; padding: 0; }
.mw-footer-list li { margin: 8px 0; color: #ffeceb; padding-left:0;}
.mw-footer-col ul {
  margin-left: 0;
}
.mw-footer .donate-button {
  background-color: #e07b00 !important;
  color: #ffffff !important;
  border: 2px solid #e07b00 !important;
  border-radius: 6px !important;
  padding: 10px!important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  margin-top: 12px !important;
  display: inline-block !important;
  width: auto !important;
}
}


.mw-footer .donate-button:hover,
.mw-footer .donate-button:focus {
  background-color: #ffffff !important;
  color: #800000 !important;
  border-color: #ffffff !important;
  outline: none !important;
  box-shadow: 0 0 8px rgba(255,255,255,0.4) !important;
}
.mw-footer-text { margin: 8px 0 0; color: #ffeceb; }


/* Newsletter & social */
.mw-newsletter {
  display: flex;
  gap: 8px;
  margin: 8px 0 0;
  align-items: center;
}
.mw-newsletter input[type="email"] {
  padding: 8px 10px;
  border-radius: 6px;
  border: none;
  min-width: 0;
  flex: 1;
  background: rgba(255,255,255,0.06);
  color: #fff;
}
.mw-newsletter input[type="email"]:focus {
  outline: 3px solid rgba(255,255,255,0.12);
  outline-offset: 1px;
  background: rgba(255,255,255,0.08);
}


/* Newsletter button - keep visually styled distinct */
/* End Pushkar Dayal Code */
.mw-newsletter button {
  padding: 8px 12px;
  border-radius: 6px;
  border: none;
  background: #2563eb;
  color: #fff;
  cursor: pointer;
  font-weight: 600;
}
.mw-newsletter button:hover,
.mw-newsletter button:focus { background: #1e4fc2; outline: none; }


/* Social icons */
#floatingCreateBtn { animation: floatUp 0.3s ease-in-out; }
.mw-social { display: flex; gap: 10px; margin-top: 10px; }
@keyframes floatUp { from { transform: scale(0.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.mw-social-link {
#createPopupBox input:focus { border-color: #0078D7; outline: none;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.06);
  border-radius: 6px;
  text-decoration: none;
}
}
.mw-social-link svg { display: block; fill: currentColor; }


/* Bottom row */
/* Balaji code (Dont change it) starting */
.mw-footer-bottom {
.mw-editsection {
  max-width: 1200px;
    display: none !important;
  margin: 18px auto 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.06);
  box-sizing: border-box;
}
}
.mw-footer-copyright { color: rgba(255,255,255,0.9); }
.mw-footer-legallinks a { color: #ffe6e6; }


/* Accessibility helper (screen-reader only) */
body.page-Special_TeamDashboard #firstHeading,
.sr-only {
body.page-Special_TeamDashboard #contentSub {
  position: absolute !important;
    display: none !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
}


/* ---- Toggle reset: make toggles visually plain but keyboard operable ---- */
/* Use for section headings on mobile: keep semantics of button but remove chrome */
.mw-footer-toggle {
  -webkit-appearance: none;
  appearance: none;
  border: none;
  background: transparent;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  display: block;
}


/* chevron indicator */
.htmlform-tip {
.mw-footer-toggle::after {
    display: none !important;
  content: "▾";
  margin-left: 12px;
  opacity: 0.85;
  transition: transform .18s ease;
  transform-origin: center;
  color: inherit;
}
}
.mw-footer-toggle[aria-expanded="false"]::after { transform: rotate(-90deg); }
.mw-createacct-benefits-container {
 
    display: none !important;
/* Focus style for toggle */
.mw-footer-toggle:focus {
  outline: 3px solid rgba(255,255,255,0.12);
  outline-offset: 2px;
  border-radius: 4px;
}
}


/* Ensure lists/text/internals have readable color */
/* ================================
.mw-footer-list,
  LATEST ARTICLES BLOCK FRONTEND
.mw-footer-text,
  ================================ */
.mw-footer-connect { color: #ffeceb; }


/* ---- Responsive: medium and mobile ---- */
/* Outer wrapper */
@media (max-width: 900px) {
.latestArticlesSlider {
  .mw-footer-inner { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .mw-footer { padding: 28px 14px 14px; }
}
 
@media (max-width: 600px) {
  .mw-footer-inner { grid-template-columns: 1fr; gap: 12px; }
 
  /* Make toggles full width and bolder on mobile */
  .mw-footer-toggle {
     width: 100%;
     width: 100%;
     font-weight: 700;
     overflow-x: auto;
     padding: 6px 0;
     overflow-y: hidden;
    display: flex;
     white-space: nowrap;
     justify-content: space-between;
     padding: 20px 0;
    align-items: center;
     scroll-behavior: smooth;
     font-size: 1rem;
  }
 
  /* Default hide lists/connect/text on mobile; shown when aria-expanded="true" */
  .mw-footer-list,
  .mw-footer-text,
  .mw-footer-connect {
    display: none;
    margin: 8px 0 12px;
  }
 
  /* Show following/adjacent blocks when expanded (covers several markup patterns) */
  .mw-footer-toggle[aria-expanded="true"] + .mw-footer-list,
  .mw-footer-toggle[aria-expanded="true"] + .mw-footer-text,
  .mw-footer-toggle[aria-expanded="true"] + .mw-footer-connect,
  .mw-footer-toggle[aria-expanded="true"] ~ .mw-footer-list,
  .mw-footer-toggle[aria-expanded="true"] ~ .mw-footer-text,
  .mw-footer-toggle[aria-expanded="true"] ~ .mw-footer-connect {
     display: block;
  }
 
  .mw-newsletter { flex-direction: column; }
  .mw-newsletter input, .mw-newsletter button { width: 100%; }
 
  .mw-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
}


/* Reduced motion preference */
/* Inner flex container */
@media (prefers-reduced-motion: reduce) {
.latestArticlesInner,
  .mw-footer-toggle::after { transition: none; }
#LatestArticlesOutput {
    display: inline-flex;
    gap: 18px;
    padding-left: 10px;
}
}


/* Small visual polish */
/* Article Button Styling */
.mw-footer-list li a { display: inline-block; padding: 2px 0; }
.latestArticleBtn {
.mw-footer-text p { margin: 0; }
    background: #ff8a2a;
 
    color: #ffffff !important;
/* Ensure adequate contrast for small text */
    padding: 14px 28px;
.mw-footer small, .mw-footer .muted { color: rgba(255,255,255,0.8); }
    font-weight: 600;
 
    border-radius: 10px;
/* Safety: override any framework button styles inside footer to keep plain appearance */
    display: inline-block;
.mw-footer button:not(.mw-newsletter button) {
    white-space: nowrap;
  background: transparent;
    text-decoration: none !important;
  border: none;
    box-shadow: 0px 3px 8px rgba(0,0,0,0.12);
  padding: 0;
    transition: all 0.2s ease-in-out;
  margin: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
}


/* Optional: increase hit area for social icons on touch devices */
/* Hover effect */
@media (hover: none) {
.latestArticleBtn:hover {
  .mw-social-link { width: 44px; height: 44px; border-radius: 8px; }
    background: #ff7a0c;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}
}


/* Slider base */
/* Scrollbar styling for webkit */
.mw-slider {
.latestArticlesSlider::-webkit-scrollbar {
  position: relative;
    height: 8px;
  --gap: 16px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}
}


/* Buttons */
.latestArticlesSlider::-webkit-scrollbar-thumb {
.mw-slider-btn {
    background-color: #ff8a2a;
  position: absolute;
    border-radius: 10px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.6);
  color: white;
  font-size: 22px;
  line-height: 1;
  display: flex;
align-items:center;
justify-content:center;
 
  cursor: pointer;
}
}
.mw-slider-btn.prev { left: 8px; }
.mw-slider-btn.next { right: 8px; }
.mw-slider-btn:disabled { opacity: 0.35; cursor: default; }


/* Viewport and track */
.latestArticlesSlider::-webkit-scrollbar-track {
.mw-slider-viewport {
    background-color: #ffe0c2;
  overflow: hidden;
  padding: 8px 56px; /* space for buttons */
}
.mw-slider-track {
  display: flex;
  gap: var(--gap);
  transition: transform 350ms cubic-bezier(.22,.9,.2,1);
  will-change: transform;
  align-items: stretch;
  padding-bottom: 8px;
}
}


/* Item */
/* Responsive (Mobile) */
.mw-slider-item {
@media (max-width: 600px) {
  background: #fff;
    .latestArticleBtn {
  border-radius: 8px;
        padding: 12px 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
        font-size: 14px;
  overflow: hidden;
    }
  display: flex;
  flex-direction: column;
  flex: 0 0 calc((100% - (2 * var(--gap))) / 3); /* default: 3 items */
  box-sizing: border-box;
}
}
 
/* ====== AUTO-SCROLL MARQUEE SYSTEM ====== */
/* Image */
.latestArticlesMarquee {
.mw-slider-item img {
    width: 100%;
  width: 100%;
    overflow: hidden;
  height: auto;
    position: relative;
  display: block;
    padding: 20px 0;
  object-fit: cover;
}
 
/* Text */
.mw-slider-item h3 {
  margin: 12px 12px 6px;
  font-size: 1.05rem;
}
.mw-slider-item p {
  margin: 0 12px 12px;
  font-size: 0.95rem;
  color: #444;
  line-height: 1.3;
}
 
/* Responsive breakpoints */
@media (max-width: 900px) {
  .mw-slider-item { flex: 0 0 calc((100% - var(--gap)) / 2); } /* 2 items */
  .mw-slider-viewport { padding: 8px 46px; }
}
}


@media (max-width: 600px) {
.latestArticlesTrack {
  .mw-slider-item { flex-basis: 100%; }
  .mw-slider-viewport { padding: 8px 56px; } /* leave room for arrows on both sides */
  .mw-slider-btn {
     display: flex;
     display: flex;
     width: 48px;
     flex-wrap: nowrap;
    height: 48px;
     gap: 18px;
    border-radius: 50%;
     animation: marqueeLoop 30s linear infinite;
     top: 50%;
     will-change: transform;
     transform: translateY(-50%);
     background: rgba(0,0,0,0.55);
    font-size: 24px;
    align-items: center;
    justify-content: center;
    z-index: 30;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
  .mw-slider-btn.prev { left: 8px; }
  .mw-slider-btn.next { right: 8px; }
 
  /* Slightly larger hit area for accessibility */
  .mw-slider-btn::after {
    content: "";
    position: absolute;
    inset: -6px; /* increases clickable area without changing visual size */
    border-radius: 50%;
  }
}
/* Image wrapper: enforces same aspect ratio and prevents layout shifts */
.mw-slider-item .img-wrap {
  width: 100%;
  overflow: hidden;
  position: relative;
 
  /* Preferred modern API */
  aspect-ratio: 4 / 3;
 
  /* Fallback for older browsers: padding-top for 4:3 */
  height: 0;
  padding-top: 75%; /* 3/4 = 75% */
}
}


/* Make the image fill the wrapper and crop while keeping center */
/* Pause on hover */
.mw-slider-item .img-wrap img {
.latestArticlesMarquee:hover .latestArticlesTrack {
  position: absolute;
    animation-play-state: paused;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  -webkit-user-drag: none;
  user-select: none;
}
}


/* Responsive: slightly wider on narrower screens (16:9) */
/* Buttons */
@media (max-width: 900px) {
.latestArticleBtn {
  .mw-slider-item .img-wrap {
    background:#ff8a2a;
     aspect-ratio: 16 / 9;
    color:#fff !important;
     padding-top: 56.25%; /* 9/16 = 56.25% */
    padding:12px 24px;
  }
    border-radius:10px;
    font-weight:600;
    text-decoration:none !important;
     white-space:nowrap;
     box-shadow:0 3px 10px rgba(0,0,0,0.15);
}
}


/* Small tweak for mobile rendering smoothness */
/* Smooth Infinite Loop */
@media (max-width: 600px) {
@keyframes marqueeLoop {
  .mw-slider-item .img-wrap {
    from {
    aspect-ratio: 16 / 9;
        transform: translateX(0);
     padding-top: 56.25%;
     }
  }
    to {
  .mw-slider-item .img-wrap img {
        transform: translateX(-50%);
    -webkit-backface-visibility: hidden;
     }
     backface-visibility: hidden;
  }
}
}


/* Small accessibility tweak */
.mw-slider-item:focus { outline: 3px solid rgba(21,156,228,0.35); }




/* === Custom Navbar Styling === */
/* Hide Tools dropdown on Create Account and Login pages */
.main-navbar {
body.page-Special_CreateAccount .p-tb-dropdown,
  display: flex;
body.page-Special_UserLogin .p-tb-dropdown {
  justify-content: center;
    display: none !important;
  align-items: center;
  gap: 10px;
  background: maroon;
  border-bottom: 2px solid #e07b00;
  padding: 8px 20px;
}
}
#footer,
        #mw-footer,
        .footercontainer,
        .footercontainer.container,
        #footer-info,
        #footer-places,
        .footer-info,
        .footer-places,
        footer,
        .mw-footer-container {
            display: none !important;
            visibility: hidden !important;
            height: 0 !important;
            padding: 0 !important;
            margin: 0 !important;
        }


/* Navbar links container */
.main-navbar .navbar-nav {
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 0 auto;
}


/* Navbar links */
/* ----------------------------------------
.main-navbar a {
  Hide Tools for everyone by default
  color: #fff !important;
----------------------------------------- */
  font-weight: 600;
.p-tb,
 
.p-tb-dropdown,
}
.p-tb-toggle {
 
    display: none;
.main-navbar a:hover {
  color: #ffe082 !important;
}
 
/* === Dropdown (submenu) styling === */
.main-navbar .dropdown-menu {
  background-color: #ffffff !important;
  border: 1px solid #e07b00;
  border-radius: 6px;
}
 
/* Force dropdown text color to black */
.main-navbar .dropdown-menu .dropdown-item,
.main-navbar .dropdown-menu a {
  color: #000 !important;
  font-weight: 500;
}
}


/* Fix for link states (MediaWiki override prevention) */
/* ----------------------------------------
.main-navbar .dropdown-menu .dropdown-item:link,
  Show Tools ONLY for admins
.main-navbar .dropdown-menu .dropdown-item:visited,
----------------------------------------- */
.main-navbar .dropdown-menu .dropdown-item:active {
body.show-tools-admin .p-tb,
  color: #000 !important;
body.show-tools-admin .p-tb-dropdown,
}
body.show-tools-admin .p-tb-toggle {
 
/* Hover / Focus state */
.main-navbar .dropdown-item:hover,
.main-navbar .dropdown-item:focus {
  background-color: #ff9933 !important;
  color: #000 !important;
}
 
/* === Responsive Fixes === */
@media (min-width: 992px) {
  /* Desktop only */
  .main-navbar .navbar-collapse {
    display: flex !important;
    justify-content: center;
    align-items: center;
  }
 
  .main-navbar .navbar-nav {
    flex-direction: row !important;
  }
 
  .main-navbar .nav-item {
    display: inline-flex !important;
    align-items: center;
  }
}
 
@media (max-width: 991px) {
  /* Mobile View */
  .main-navbar {
margin:10px;
    flex-direction: column;
    padding: 10px;
  }
 
  .main-navbar .navbar-collapse {
    display: none; /* Let Bootstrap JS control visibility */
  }
 
  .navbar-collapse.show {
    display: block !important;
  }
 
  .main-navbar .navbar-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
 
  .main-navbar .nav-item {
     display: block;
     display: block;
    text-align: center;
  }
}
.main-navbar .p-Donate-dropdown > a {
  background-color: #FFDAAD !important;  /* saffron orange */
  color: maroon !important;
  border-radius: 6px;
  padding: 8px 16px !important;
  font-weight: 700;
  text-transform: uppercase;
  margin-left: 15px !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}
}


/* Hover effect */
body.page-Special_AdminDashboard h1.firstHeading {
.main-navbar .p-Donate-dropdown > a:hover {
    display: none !important;
  background-color: #cc5200 !important;  /* darker orange on hover */
  color: #fff !important;
  transform: translateY(-2px);
  text-decoration: none !important; }
 
/* For Article Horizontally Running */
#horizontal-article-bar {
  display: flex;
  overflow: hidden;
  padding: 10px 0;
  background: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  white-space: nowrap;
  position: relative;
}
}
 
#contentSub {
#horizontal-article-bar .scrolling-wrapper {
    font-size: 16px;      /* increase overall size */
  display: inline-flex;
    font-weight: 500;
  animation: scroll-left 20s linear infinite;
    margin-bottom: 12px;
}
}


#horizontal-article-bar:hover .scrolling-wrapper {
#contentSub a {
  animation-play-state: paused;
    font-size: 16px;
    font-weight: 600;
}
}
 
#horizontal-article-bar a {
#toc .toctogglelabel {
  flex: 0 0 auto;
     border: none !important;
  margin-right: 15px;
     outline: none !important;
  padding: 8px 16px;
     background: transparent !important;
  border: 1px solid #ccc;
     box-shadow: none !important;
  border-radius: 6px;
    padding: 0 !important;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
  background-color: #fafafa;
  text-decoration: none;
  color: #0645ad;
  font-weight: 600;
  white-space: nowrap;
  font-size: 16px;
  transition: background-color 0.3s, box-shadow 0.3s;
}
 
#horizontal-article-bar a:last-child {
  margin-right: 0;
}
 
#horizontal-article-bar a:hover {
  background-color: #800000;
  color: #fafafa;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
 
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
 
/* Responsive adjustments */
@media screen and (max-width: 768px) {
  #horizontal-article-bar {
    padding: 8px 0;
     border: none;
     box-shadow: none;
  }
 
  #horizontal-article-bar a {
     margin-right: 10px;
    padding: 6px 12px;
    font-size: 14px;
  }
}
 
@media screen and (max-width: 480px) {
  #horizontal-article-bar a {
    margin-right: 8px;
     padding: 5px 10px;
    font-size: 13px;
  }
}
 
/* mw-accordion */
 
.mw-accordion-container {
  max-width: 800px;
  margin: 1.5em auto;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  overflow: hidden;
}
 
.mw-accordion-item + .mw-accordion-item {
  border-top: 1px solid #ddd;
}
 
.mw-accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  font-size: 1.5rem;
  font-weight: 600;
  background: #fff;
  cursor: pointer;
  user-select: none;
  color: #222;
  transition: background-color 0.3s ease;
  border: none;
}
 
.mw-accordion-header:hover,
.mw-accordion-checkbox:checked + .mw-accordion-header {
  background-color: #e1eaff;
}
 
.mw-accordion-icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}
 
.mw-accordion-checkbox:checked + .mw-accordion-header .mw-accordion-icon {
  transform: rotate(180deg);
}
 
.mw-accordion-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 24px;
  font-size: 1.1rem;
  color: #444;
  line-height: 1.5;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
}


.mw-accordion-checkbox:checked ~ .mw-accordion-content {
/* Control actual VisualEditor inspector content height */
  max-height: 500px; /* large enough to reveal content */
.oo-ui-menuLayout-content {
  padding: 18px 24px;
    max-height: calc(100vh - 220px); /* toolbar + actions */
    overflow-y: auto;
    overflow-x: hidden;
}
}


/* Responsive for tablets */
/* Keep link inspector above footer */
@media (max-width: 768px) {
.ve-ui-fragmentInspector-container {
  .mw-accordion-container {
     position: relative;
     max-width: 90%;
     z-index: 10060;
  }
 
  .mw-accordion-header {
    font-size: 1.3rem;
    padding: 14px 20px;
  }
 
  .mw-accordion-content {
    font-size: 1rem;
     padding: 0 20px;
  }
 
  .mw-accordion-checkbox:checked ~ .mw-accordion-content {
    padding: 14px 20px;
  }
}
}
 
#catlinks{
/* Responsive for mobiles */
display: none !important;
@media (max-width: 480px) {
  .mw-accordion-header {
    font-size: 1.1rem;
    padding: 12px 16px;
  }
 
  .mw-accordion-content {
    font-size: 0.95rem;
    padding: 0 16px;
  }
 
  .mw-accordion-checkbox:checked ~ .mw-accordion-content {
    padding: 12px 16px;
  }
}
/* ----- Page Grid Container ----- */
.page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 20px;
  padding: 10px;
}
 
/* ----- Individual Page Card ----- */
/* --- Related Pages Section (Desktop + Mobile Responsive) --- */
 
.page-links-container {
  width: 280px;
  display: flex;
  float: right;
  justify-content: flex-end;
  margin: 0 5px 10px 5px; /* tighter sides */
}
 
.page-links-list {
  background: #fff;
  padding: 18px 18px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.12);
  width: 100%;
  max-width: 100%;
}
 
/* --- List styling --- */
.page-links-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
 
.page-links-list li {
  margin: 8px 0;
  text-align: left;
}
 
.page-links-list a {
  display: block;
  background: #f8f9fa;
  padding: 8px 12px;
  border-radius: 6px;
  text-decoration: none;
  color: #1565c0;
  font-weight: 500;
  transition: all 0.2s ease;
}
 
.page-links-list a:hover {
  background: #e3f2fd;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transform: translateY(-2px);
}
 
/* --- Mobile Styling --- */
@media screen and (max-width: 768px) {
  .page-links-container {
    float: none;
    width: calc(100% - 10px); /* reduce default padding */
    margin: 0 5px;
    justify-content: flex-start;
  }
 
  .page-links-list {
    max-width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
 
  /* Collapsible Header */
  .page-links-header {
    display: flex;
    background: #1565c0;
    color: #fff;
    padding: 12px 16px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    user-select: none;
    align-items: center;
    justify-content: space-between;
    border-radius: 10px 10px 0 0;
  }
 
  .page-links-header::after {
    content: "▼";
    font-size: 12px;
    transition: transform 0.3s ease;
  }
 
  .page-links-header.active::after {
    transform: rotate(-180deg);
  }
 
  .page-links-content {
    display: none;
    background: #fff;
    padding: 12px 16px;
    border-radius: 0 0 10px 10px;
  }
 
  .page-links-content.open {
    display: block;
  }
 
  .page-links-title {
    display: none; /* hide desktop heading inside mobile */
  }
}
}


/* Start Pushkar Dayal Code */
.mw-search-profile-tabs,
 
#mw-searchoptions
body.skin-chameleon .col > #content.mw-body{0px !important}
{
 
display: none !important;
/* -- Slick Core Styles -- */
@import url('https://cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.css');
@import url('https://cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick-theme.css');
 
body {font-family: "Poppins", sans-serif; font-weight: 400; font-style: normal; font-size: 1rem;}
body .container { width: 100% !important;  max-width: 1280px !important; padding: 0 15px !important; margin: 0 auto !important; }
 
.btn-search {background: #f87d22 !important; border: none!important; padding: 10px 20px !important; margin-left: auto; color: #fff; border-radius: 0 .25rem .25rem 0 !important;}
.btn-search:hover,.btn-search:focus,.btn-search:focus:active{background: #da670f !important; box-shadow: none !important; text-decoration: none !important; color: #fff;}
 
 
.btn{padding: 15px 40px;}
.btn-primary,.btn-donate { background: #f87d22 !important; border: none!important;}
.btn-primary{width: 100%;}
.btn-primary:hover,.btn-primary:focus,
.btn-primary:focus:active,
.btn-donate:hover,.btn-donate:focus,
.btn-donate:focus:active {background: #da670f !important; box-shadow: none !important; text-decoration: none !important;}
.btn-donate span{ display: flex !important; align-items: center !important; gap: 5px !important;}
 
#firstHeading{display: none}
 
.hero-banner-section .container{max-width: 1351px !important; padding: 0 !important;}
.hero-banner-section .adsBannerSliderHero  {position: relative;} /* -- Slick Wisdom Slider -- */
.hero-banner-section .slick-track{display: flex;}
.hero-banner-section .adsBannerSliderHero .slick-slide{position: relative; display: inline-block; width:1351px !important}
.hero-banner-section img{ width: 100%; height: 720px; object-fit: cover;}
.hero-banner-block { position: absolute; background: rgba(0,0,0,.5); text-align: center; max-width: 1000px; width: 100%; color: #fff; bottom: 0; left: 50%; transform: translate(-50%,-40px); padding: 20px; border-radius: 5px}
 
.hero-banner-heading {font-size: 2.6rem; font-weight: 700; margin-bottom: 10px;}
.hero-banner-subheading {font-size: 1.8rem; font-weight: 600}
 
 
 
h2.section-heading{ font-size: 2.5rem; font-weight: 700; color: #531101; margin-bottom: 80px; text-align: center;}
 
.discover-Learn-Live-section{padding: 80px 40px 0 40px; background: #ffffff; color:#000;}
.discover-Learn-Live-section .section-heading{ text-align: left; margin-bottom: 30px;}
.discover-Learn-Live-section img {width: 100%; max-width: 539px;}
.discover-Learn-Live-btn{ background: #531101; width: 200px; border-radius: .5rem; display: table; padding: 1rem; margin: 20px auto 0 auto; text-align: center; text-decoration: none; color: #fff; font-size: 1rem;}
.discover-Learn-Live-btn:hover{ color: #fff; background: #410d01;}
 
 
.explore-sanatan-wisdom-section{padding: 00px 40px 0 40px; background: #ffffff;}
.explore-sanatan-wisdom-section h2.section-heading {margin-bottom: 40px;}
.sanatanWisdomSlider {position: relative;} /* -- Slick Wisdom Slider -- */
.sanatanWisdomSlider .slick-track{display: flex; gap:30px;}
.sanatanWisdomSlider .slick-track div{display: inline-block;}
.sanatanWisdomSlider a{background: #fff !important; display: block; text-decoration: none; color: #000; border-radius: 10px; overflow: hidden; box-shadow: 0px 0px 10px 0px rgba(0,0,0,.2); margin-bottom: 20px;}
.sanatanWisdomSlider a .sanatan-wisdom-title{ padding: 15px; color:#000000; display: block; text-align: center;}
.sanatanWisdomSlider img {width: 100%;height: auto; display: block;}
 
 
.latest-articles-section { padding: 40px 40px 60px 40px; background: #ffffff;}
.latestArticlesSlider {position: relative;} /* -- Latest Articles Slider -- */
.latestArticlesSlider .slick-track{display: flex; gap:20px;}
.latestArticlesSlider .slick-track div{display: inline-block;}
.latestArticlesSlider a{white-space: nowrap; text-align: center; background: #f87d22 !important; padding: 8px 20px; display: block; text-decoration: none; color: #fff; border-radius: 5px;}
.latestArticlesSlider a:hover{background: #531101 !important}
 
 
.slick-arrow { position: absolute; z-index: 999; color: #fff; top: 50%; width: 25px; height: 30px; border: 0; background: rgba(0, 0, 0, .3); transform: translate(0, -50%);}
.prev-arrow {left: 0; border-radius: 5px; padding: 0;}
.next-arrow {right: 0; border-radius: 5px; padding: 0;}
 
 
.featured-and-highlights-section{padding: 40px; 40px; 60px; 40px; background: #fff4f2;}
.featured-and-highlights-section img {width: 100%; overflow: hidden; border-radius: 15px; object-fit: cover; height: 345px;}
.home-featured-content{margin: 25px 0; padding: 0 50px; text-align: center; color: #000; height: 65px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; text-overflow: ellipsis;}
 
 
.home-featured-btn{ background: #531101; width: 200px; border-radius: .5rem; display: table; padding: 1rem 2rem; margin: 0 auto; text-align: center; text-decoration: none; color: #fff; font-size: 1rem;}
.home-featured-btn:hover{color: #fff; background: #410d01;}
 
 
.join-and-collaborate-section {padding: 40px; text-align: center; background: #ffffff;}
.join-and-collaborate-section .btn-coin-collaborate-block { display: flex; gap: 30px; flex-wrap: wrap; justify-content: center;}
.join-and-collaborate-section .btn-coin-collaborate-block a{background: #f87d22 !important; border: none !important; padding: 1rem 2rem; color: #fff; font-size: 1.5rem; font-weight: 600; text-decoration: none; width: 325px; border-radius: .5rem; display: flex; align-items: center; justify-content: center; gap:20px;}
 
 
.footer{ background-color: #531101; color: #fff; font-size: .9rem; font-weight: 300; line-height: 1.8; padding-top: 58px;}
.footer h3{ font-size: 1rem; font-weight: 600; margin-top: 10px; margin-bottom: 15px; color: #fff;}
.footer ul { margin: 0; padding: 0; list-style: none;}
.footer ul.need-help li {display: flex; align-items: baseline; gap:10px; margin-bottom: 5px;}
.footer a { text-decoration: none; color:#fff;}
.footer a:hover{ color: #fff; text-decoration: underline;}
.footer .form-text{ color: #fff;}
.footer .form-control, .footer .form-control: hover, .footer .form-control: focus, .footer .form-control: active{ height: 50px; border: none; box-shadow: none;}
.footer ul.social-media{display: flex; gap:15px; margin-top: 10px; font-size: 1.6rem;}
.footer .footerBottom {padding:30px 0; border-top: 1px solid #fff;margin-top: 20px;}
.footer .footerBottom ul{ margin: 0; display: flex; justify-content: center; flex-wrap: wrap; gap:10px; line-height: 1;}
.footer .footerBottom ul li:not(:last-child) {border-right: 1px solid #fff; padding-right: 10px;}
 
@media (max-width: 767px) {
.top-head{ justify-content: center; gap: 10px;}
    .hero-banner-section img{ height: 450px;}
    .hero-banner-heading {
    font-size: 1.6rem;
}
}
 
#mw-fulltext-results
.hero-banner-subheading {font-size: 1.2rem;}
{
 
display: none !important;
h2.section-heading{ margin-bottom: 40px; font-size: 1.9rem;}
 
.discover-Learn-Live-section,.explore-sanatan-wisdom-section, .latest-articles-section, .featured-and-highlights-section, .join-and-collaborate{padding: 40px 0;}
.home-featured-content{ padding: 0; max-height: 65; height: auto;}
.join-and-collaborate .btn-coin-collaborate-block a{ padding: 1rem 2rem; width: 100%;}
 
}
}


/* End Pushkar Dayal Code */
End (Balaji) */
 
 
 
#floatingCreateBtn {
  animation: floatUp 0.3s ease-in-out;
}
@keyframes floatUp {
  from { transform: scale(0.6); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
#createPopupBox input:focus {
  border-color: #0078D7;
  outline: none;
}

Latest revision as of 16:47, 9 February 2026

/* CSS placed here will be applied to all skins */


/* Hide the entire page tools section (content navigation) for users not logged in */
body:not(.mw-editable) #p-contentnavigation {
    display: none !important;
}


/* body:not(.group-sysop) #mw-navigation {
    display: none !important;
} */

/* Hide "Page", "Discussion", "View source", "View history" bar for anonymous visitors */
body:not(.logged-in) .page-tools,
body:not(.logged-in) .chameleon-page-tools,
body:not(.logged-in) .mw-portlet-page-tools {
    display: none !important;
}

.mw-body a, 
.mw-body a:visited,
.mw-body a:hover,
.mw-body a:active,
.mw-body a:focus,
.mw-body a.external:visited{color:#1B599B;}
.mw-parser-output  > .mw-empty-elt {display: none;}


/* Start Pushkar Dayal Code */
body {font-family: "Poppins", sans-serif; font-weight: 400; font-style: normal; font-size: 1rem;}

body.skin-chameleon .col > #content.mw-body{padding: 0px !important}



.container.flex-fill{ max-width: 1351px !important; width: 100% !important; margin: 0 auto !important; padding: 0 15px !important; /* overflow:hidden; */}

.container.flex-fill > .row:last-child{ overflow: hidden; padding-bottom:20px;}

.p-navbar .navbar-brand.p-logo { height: 3rem; }
.p-navbar .navbar-brand img { height: 3rem; }


.p-logo a {display: block;}
.p-logo a:hover,
.p-logo a:focus,
.p-logo a:active,
.p-logo a:focus-visible { outline: 0;}
.p-logo img  {height: 6.5rem; padding: 5px 0;}
#p-personal {padding:5px 0}

#p-personal .p-personal-tools > *, 
.p-personal .p-personal-tools > * { margin-left: 0.35rem !important; margin-right: 0.35rem !important; display: flex ; align-items: center ;}

#p-personal.pull-right .p-personal-tools, .p-personal.pull-right .p-personal-tools{ align-items:center; }

#mw-navigation { padding-right: 0.7rem !important; background: #fff;}
#mw-navigation a.dropdown-toggle,
#p-personal #pt-createaccount a,
#p-personal #pt-login a,
#p-personal #pt-logout a{ background: #f87d22 !important; border: none!important; padding: 10px 15px !important; color: #fff; border-radius:5px; display: flex; align-items: center; gap: 5px; height: 41px; }

#mw-navigation .nav-link::before, a.pt-createaccount:before { margin-right: 0;}
#mw-navigation a.dropdown-toggle::after {font-family: "Font Awesome 6 Free" !important; content: '\f078'; border: none !important; font-weight: 900;}

#mw-navigation a.dropdown-toggle:hover, 
#mw-navigation a.dropdown-toggle:focus, 
#mw-navigation a.dropdown-toggle:active,

#p-personal #pt-createaccount a:hover, 
#p-personal #pt-createaccount a:focus, 
#p-personal #pt-createaccount a:active,
#p-personal #pt-login a:hover, 
#p-personal #pt-login a:focus, 
#p-personal #pt-login a:active,
#p-personal #pt-logout a a:hover, 
#p-personal #pt-logout a a:focus, 
#p-personal #pt-logout a a:active{background: #da670f !important; box-shadow: none !important; text-decoration: none !important; color: #fff;}

#p-personal #pt-login a::before,
#p-personal #pt-logout a::before { margin-right: 0; font-family: "Font Awesome 6 Free"!important; content: '\f007'; border:none !important; font-weight: 400;}


/* === Custom Navbar Styling === */
.navbar-light .navbar-toggler, .p-navbar .navbar-toggler {color: #fff;  border-color: rgba(255, 255, 255, 0.5); }
.main-navbar {background: #531101; padding: 8px 5px; margin:0 -15px !important }
.main-navbar a { color: #fff !important; font-weight: 400; }
.main-navbar a:hover, .main-navbar a:active { color: #fefefe !important;}

.main-navbar .dropdown-menu { background-color: #fff !important; border: 1px solid #ccc; border-radius: 5px; }
.main-navbar .dropdown-menu .dropdown-item, .main-navbar .dropdown-menu a { color: #000 !important;    padding: .35rem 1.5rem !important; }

.main-navbar .dropdown-menu .dropdown-item, .main-navbar .dropdown-menu a:hover,
.main-navbar .dropdown-menu .dropdown-item, .main-navbar .dropdown-menu a:active{ color: #000 !important; background: #e9ecef !important; }

.main-navbar .dropdown-toggle{ display:flex}
.main-navbar .dropdown-toggle::after{
font-family: "Font Awesome 6 Free"!important; content: '\f078'; border:none !important; font-weight: 900;}



.navbar-nav > .mw-list-item:nth-child(1) { order: 1;}
.navbar-nav > .mw-list-item:nth-child(2) { order: 6;}
.navbar-nav > .mw-list-item:nth-child(2) a{ display: flex; background: #f87d22; border-radius: 5px; gap: 5px; align-items: center; color: #fff;}
.navbar-nav > .mw-list-item:nth-child(2) a::before{
font-family: "Font Awesome 6 Free"!important; content: '\f004'; border:none !important; font-weight: 900;}

.navbar-nav > .mw-list-item:nth-child(3) { order: 7;}
.navbar-nav > .nav-item.dropdown:nth-child(4) { order: 2;}
.navbar-nav > .nav-item.dropdown:nth-child(5) { order: 3;}
.navbar-nav > .nav-item.dropdown:nth-child(6) { order: 4;}
.navbar-nav > .nav-item.dropdown:nth-child(7) { order: 5;}
.navbar-nav > .nav-item.dropdown:nth-child(8) { order: 8;}

.p-navbar.collapsible .navbar-nav .nav-link { padding-right: .7rem; padding-left: .7rem;}


/* -- Slick Core Styles -- */
@import url('https://cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.css');
@import url('https://cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick-theme.css');

.p-search { margin-bottom:7px;}
.p-search .input-group > .form-control{ height:40px;}
.p-search .searchGoButton {background: #f87d22 !important; border: none!important; padding: 8px 15px !important; margin-left: auto; color: #fff !important; border-radius: 0 .25rem .25rem 0 !important;}
.p-search .searchGoButton:hover,.p-search .searchGoButton:focus,.p-search .searchGoButton:focus:active{background: #da670f !important; box-shadow: none !important; text-decoration: none !important; color: #fff !important;}


.btn{padding: 15px 40px;}
.btn-primary,.btn-donate { background: #f87d22 !important; color:#fff !important; border: none!important;}
.btn-primary{width: 100%;}
.btn-primary:hover,.btn-primary:focus,
.btn-primary:focus:active,
.btn-donate:hover,.btn-donate:focus,
.btn-donate:focus:active {background: #da670f !important; color:#fff !important; box-shadow: none !important; text-decoration: none !important;}
.btn-donate span{ display: flex !important; align-items: center !important; gap: 5px !important;}

.mw-body .mw-indicators{ display: none !important; position: absolute !important; z-index: -1;}


body.page-Main_Page #firstHeading{display: none}
#p-contentnavigation{ margin-top: 15px;}
.hero-banner-section{margin: 0 -15px;}
.hero-banner-section .container{max-width: 1351px !important; padding: 0 !important;}
.hero-banner-section .adsBannerSliderHero  {position: relative;} /* -- Slick Wisdom Slider -- */
.hero-banner-section .slick-track{display: flex;}
.hero-banner-section .adsBannerSliderHero .slick-slide{position: relative; display: inline-block; width:1351px !important}
.hero-banner-section img{ width: 100%; height: 450px; object-fit: cover;}
.hero-banner-block { position: absolute; background: rgba(0,0,0,.5); text-align: center; max-width: 1000px; width: 100%; color: #fff; bottom: 0; left: 50%; transform: translate(-50%,-150px); padding: 20px; border-radius: 5px}

.hero-banner-heading {font-size: 2.6rem; font-weight: 700; margin-bottom: 10px;}
.hero-banner-subheading {font-size: 1.8rem; font-weight: 600}

 h2.section-heading{ font-size: 2.5rem; font-weight: 700; color: #531101; padding-top:25px; margin-top:0; margin-bottom: 30px !important; text-align: center; border:0;}

.discover-Learn-Live-section{padding: 40px 40px 10px 40px; background: #ffffff; color:#000;}
.discover-Learn-Live-section .section-heading{ text-align: left; margin-bottom: 30px; margin-top: 0; padding-top: 5px;}
.discover-Learn-Live-section img {width: 100%; max-width: 539px;}
.discover-Learn-Live-btn{ background: #531101; width: 200px; border-radius: .5rem; display: table; padding: 1rem; margin: 20px auto 0 auto; text-align: center; text-decoration: none; color: #fff !important; font-size: 1rem; white-space: nowrap;}
.discover-Learn-Live-btn:visited{ color: #fff !important;}
.discover-Learn-Live-btn:hover{ color: #fff; background: #410d01;}

.sanatan-circle { position: relative; width: 520px; height: 488px; margin: 0px auto 30px auto; font-family: "Poppins", sans-serif;}
.center-text {position: absolute; top: 50%; left: 0%; width: 175px; height: 175px; transform: translate(-0%, -50%); border-radius: 50%; background: #fff; color: #333; font-size: 14px; font-weight: 500; line-height: 1.4; text-align: center; display: flex; align-items: center; justify-content: center; padding: 15px; box-shadow: 0 0 15px rgba(0, 0, 0, 0.15); z-index: 2;}
.dotted-arc {position: absolute; top: 50%; left: 0%; width: 245px; height: 245px; transform: translate(-12%, -50%); border: 2px dashed #531101; border-radius: 50%;  clip-path: inset(0 0 0 50%); /* show only right half */ z-index: 1;}

.icon {position: absolute; width: 77px; height: 77px; box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, .15); border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; z-index: 3;}

.icon img { width: 40px; height: 40px;}

.icon1 { top: 20px; left: 10%; }
.icon2 { top: 50px; left: 30%;}
.icon3 {top: 135px; left: 44%;}
.icon4 { top: 245px; left: 45%;}
.icon5 {top: 345px; left: 35%;}
.icon6 {top: 393px; left: 15%;}

.roundbullet{ position: absolute; width: 8px; height: 8px; border-radius: 4px; background-color: #531101;}
.roundbullet1 {left: 36px; top: 99px;}
.roundbullet2 {left: 6px; top: 92px;}
.roundbullet3 {left: -25px; top: 65px;}
.roundbullet4 {left: -28px; top: 30px;}
.roundbullet5 {left: -20px; top: -8px;}
.roundbullet6 {left: 14px; top: -31px;}

.iconTextBlock { position: absolute;}
.iconText1 {left:83px; top:-25px; width: 305px;}
.iconText2 {left:87px; top:13px; width: 300px; }
.iconText3 {left:87px; top:10px; width: 250px; }
.iconText4 {left:87px; top:10px; width: 280px;}
.iconText5 {left: 88px; top:18px; width: 250px;}
.iconText6 {left:90px; top:40px; width: 320px;}


@media screen and (max-width:400px) {
.sanatan-circle {margin: 20px 0 30px 0; width: 100%; height: 360px; }
.center-text {width: 145px; height: 145px; font-size: 12px;}
.dotted-arc {width: 185px; height: 185px; border: 1px dashed #531101;}

.icon {width: 45px; height: 45px;}
.icon img { width: 24px; height: 24px;}
.icon1 {top: 28px; left: 14%;}
.icon2 {top: 48px; left: 34%;}
.icon3 {top: 105px; left: 49%;}
.icon4 {top: 180px; left: 52%;}
.icon5 {top: 249px;left: 42%;}
.icon6 {top: 287px; left: 22%;}

.roundbullet {width: 6px; height: 6px; border-radius: 3px;}
.roundbullet1 {left: 23px; top: 56px;}
.roundbullet2 {left: 7px; top: 52px;}
.roundbullet3 {left: -8px; top: 40px;}
.roundbullet4 {left: -15px; top: 21px;}
.roundbullet5 {left: -10px; top: -3px;}
.roundbullet6 {left: 0px; top: -18px;}

.iconTextBlock{font-size: 11px;}
.iconText1 {left: 50px;top: -30px; width: 200px;}
.iconText2 {left: 56px; top: 5px; width: 165px;}
.iconText3 {left: 55px; top: -5px;  width: 118px;}
.iconText4 {left: 55px; top: 0;width: 110px;}
.iconText5 {left: 58px;top: 12px; width: 135px;}
.iconText6 {left: 56px; top: 20px; width: 200px;}
}

.explore-sanatan-wisdom-section{/*padding: 0px 40px 0 40px;*/ padding: 0px; background: #ffffff;}
.sanatanWisdomSlider {position: relative;} /* -- Slick Wisdom Slider -- */
.sanatanWisdomSlider .slick-track{display: flex; gap:30px;}
.sanatanWisdomSlider .slick-track div{display: inline-block;}
.sanatanWisdomSlider a{background: #fff !important; display: block; text-decoration: none; color: #000; border-radius: 10px; overflow: hidden; box-shadow: 0px 0px 10px 0px rgba(0,0,0,.2); margin-bottom: 20px;}
.sanatanWisdomSlider a .sanatan-wisdom-title{ padding: 15px; color:#000000; display: block; text-align: center; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; overflow: hidden; text-overflow: ellipsis; height:54px; line-height:32px;}
.sanatanWisdomSlider img {width: 100%;height: auto; display: block;}


.latest-articles-section { padding: 0px 40px 40px 40px; background: #ffffff;}
.latestArticlesSlider {position: relative;} /* -- Latest Articles Slider -- */
.latestArticlesSlider .slick-track{display: flex; gap:20px;}
.latestArticlesSlider .slick-track div{display: inline-block;}
.latestArticlesSlider a{white-space: nowrap; text-align: center; background: #f87d22 !important; padding: 8px 20px; display: block; text-decoration: none; color: #fff; border-radius: 5px;}
.latestArticlesSlider a:hover{ color: #fff; background: #531101 !important}


.slick-arrow { position: absolute; z-index: 999; color: #fff; top: 50%; width: 25px; height: 30px; border: 0; background: rgba(0, 0, 0, .3); transform: translate(0, -50%);}
.prev-arrow {left: 0; border-radius: 5px; padding: 0;}
.next-arrow {right: 0; border-radius: 5px; padding: 0;}


.featured-and-highlights-section{padding: 0px 40px 40px 40px; margin: 0 -15px; background: #fff4f2;}
.featured-and-highlights-section img {width: 100%; overflow: hidden; border-radius: 15px; object-fit: cover; height: 345px;}
.home-featured-content{margin: 20px 0; padding: 0 20px; text-align: center; color: #000; height: 45px; line-height: 22px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; text-overflow: ellipsis;}


.home-featured-btn{ background: #531101; width: 200px; border-radius: .5rem; display: table; padding: 1rem 2rem; margin: 0 auto; text-align: center; text-decoration: none; color: #fff !important; font-size: 1rem;}
.home-featured-btn:hover,
.home-featured-btn:active{color: #fff; background: #410d01 !important;}
.home-featured-btn:visited{color: #fff !important;}

.join-and-collaborate-section {padding: 0px 40px 40px 40px; text-align: center; background: #ffffff;}
.join-and-collaborate-section .btn-coin-collaborate-block { display: flex; gap: 30px; flex-wrap: wrap; justify-content: center;}
.join-and-collaborate-section .btn-coin-collaborate-block a{background: #f87d22 !important; border: none !important; padding: 1rem 2rem; color: #fff; font-size: 1.5rem; font-weight: 600; text-decoration: none; width: 325px; border-radius: .5rem; display: flex; align-items: center; justify-content: center; gap:20px;}
.join-and-collaborate-section .btn-coin-collaborate-block a:hover,
.join-and-collaborate-section .btn-coin-collaborate-block a:active{color: #fff; background: #da670f !important;}
.join-and-collaborate-section .btn-coin-collaborate-block a:visited{color: #fff !important;}



.firstHeading, h1, h2, h3, h4{font-weight: 700; }
h2, h3, h4{ border-bottom:0 !important}
#bodyContent ul,#bodyContent ol{margin-bottom: 1rem;}
#bodyContent ul li,#bodyContent ol li{margin-bottom: 1rem;}


.right-template-category-block{float:right; width:300px; border:1px solid #ccc; background-color:#f9f9f9; padding:10px; margin-bottom:20px; border-radius:8px;}
.right-template-category-block h2{ font-weight: bold;
    margin-bottom: 8px;
    background: #e9e9e9;
    padding: 15px 10px;
    border-radius: 4px;
    margin: 0 0 15px 0;
    font-size: 1.4rem;}

.right-template-category-block ul li,
.right-template-category-block ol li { margin-bottom: .5rem; font-size: 1rem;}
.right-template-category-block a { font-weight: 400;}

.panchang_block,.panchangimg { display: flex; gap:15px; flex-direction: column; align-items: center;}

#mw-custom-footer { background-color: #531101;}
.footer{ clear:both; background-color: #531101; color: #fff; font-size: .9rem; font-weight: 300; line-height: 1.8;  margin:0 auto; max-width:1351px !important; padding: 15px 15px 0 15px !important;}
.footer h3{ font-size: 1rem; font-weight: 600; margin-top: 10px; margin-bottom: 15px; color: #fff;}
.footer ul { margin: 0; padding: 0; list-style: none;}
.footer ul.need-help li {display: flex; align-items: baseline; gap:10px; margin-bottom: 5px;}
.footer a { text-decoration: none; color:#fff !important;}
.footer a:hover{ color: #fff; text-decoration: underline;}
.footer .form-text{ color: #fff;}
.footer .form-control, 
.footer .form-control:hover, 
.footer .form-control:focus, 
.footer .form-control:active{ height: 50px; border: none; box-shadow: none;}
.footer ul.social-media{display: flex; gap:15px; margin-top: 10px; font-size: 1.6rem;}
.footer .footerBottom {padding:30px 0; border-top: 1px solid #fff;margin-top: 20px;}
.footer .footerBottom ul{ margin: 0; display: flex; justify-content: center; flex-wrap: wrap; gap:10px; line-height: 1;}
.footer .footerBottom ul li:not(:last-child) {border-right: 1px solid #fff; padding-right: 10px;}


.my-createaccount-custom-box{display: flex; gap: 50px;}

div.mw-ui-container { display: flex; flex-direction: column-reverse; align-items: center; }
.mw-ui-container #userloginForm {position: relative; width: 100%; padding: 0; margin: 0 auto !important; max-width:580px; padding: 20px; border: 1px solid #aaa; border-radius: 10px;}
.mw-ui-vform{ width:100% !important;}
/* .mw-ui-vform > div { display: flex; flex-wrap: wrap; gap: 15px 20px; } */
/* .mw-htmlform-field-HTMLInfoField { width: 100% !important; position: absolute; top: -10px; transform: translate(-50%, 0px); left: 50%;} */
/* .mw-ui-vform > div .mw-ui-vform-field{ width: calc(50% - 10px)} */
.mw-ui-vform > div .mw-ui-input {line-height:2rem !important;}
.mw-ui-button:not(.mw-ui-icon-element){max-width:100% !important}
.mw-htmlform-field-HTMLSubmitField{margin: 0;}
.footercontainer.container {padding:0 15px !important}

.mw-ui-button.mw-ui-progressive:not(:disabled) {
    background-color: #ff7500;
    color: #fff;
    border-color: #ff6b00;
    padding: 10px 30px;
    display: table;
    width: auto;
    border-radius: 5px;
    margin: 20px auto ;
    /* position: absolute;
    left: 50%;
    transform: translate(-50%, 30px); */
}
.mw-ui-button.mw-ui-progressive:not(:disabled):hover{
    background-color: #da670f;
    color: #fff;
    border-color: #da670f;
}

#mw-createaccount-join {
    background-color: #f8f9fa;
    color: #ff6b00;
}

#mw-createaccount-cta{padding-top: 3.5em; text-align: center;}

@media (max-width: 767px) {
.container.flex-fill .row:nth-child(1) {justify-content:center;}
.container.flex-fill .row:nth-child(1) .align-items-center {flex-direction: column;}
.p-personal.pull-right {float:inherit !important}
#p-personal.pull-right .p-personal-tools, .p-personal.pull-right .p-personal-tools {justify-content:center}

.top-head{ justify-content: center; gap: 10px;}


.navbar-nav { align-items:flex-start; width: 100%; padding: 0 15px;}
.navbar-nav > .mw-list-item:nth-child(1), .navbar-nav > .mw-list-item:nth-child(2), .navbar-nav > .mw-list-item:nth-child(3),
.navbar-nav #n-Home, .navbar-nav #n-Donate, .navbar-nav #n-Submit-Useful-Content, .navbar-nav .nav-item {width:100%}
#n-Donate a {padding-left:15px; padding-right:15px;}

.hero-banner-section img{ height: 350px;}
.hero-banner-block {transform: translate(-50%, -90px);}
.hero-banner-heading {font-size: 1.6rem;}
.hero-banner-subheading {font-size: 1.2rem;}
.discover-Learn-Live-section .section-heading{ margin-top:1rem; padding-top:0.5rem; }
h2.section-heading{font-size: 1.9rem;}

.featured-and-highlights-section{margin: 0;}
.discover-Learn-Live-section,.explore-sanatan-wisdom-section, .latest-articles-section, .featured-and-highlights-section, .join-and-collaborate-section{padding: 0 0 40px 0;}
.home-featured-content{ padding: 0; max-height: 65px; height: auto;}
.latest-articles-section h2.section-heading{padding-top:0 !important;}
.join-and-collaborate .btn-coin-collaborate-block a{ padding: 1rem 2rem; width: 100%;}

.my-createaccount-custom-box{ gap:0; flex-direction: column;}

.mw-ui-vform > div .mw-ui-vform-field {width:100% !important;}

}

/* Templates: State pages only*/
.templesIntro {padding:0 0 20px 0; width:auto !important;}
.templesIntro .templeImg {height: 100%; max-height: 400px; border: 2px solid #5d0900; border-radius: 20px; overflow: hidden;}
.templesIntro img{width: 100%; height: 100%; object-fit: cover;}
.templesIntro .templeContentBlock {height: 100%; max-height: 400px;  padding: 10px 15px 15px 15px; border:2px solid #5d0900;  border-radius: 20px;}
.templesIntro h2 {width:100%; color:#ff7500; margin:0; padding:0; margin: 0 0 10px 0; font-size: 1.5rem; text-align: center;}
.templesIntro ul { margin: 0 !important; padding: 0; height: 100%;  max-height: 320px; overflow: auto; list-style: none;}
.templesIntro ul li {margin:0 !important; padding:10px 0; border-top:1px solid #cccccc; display: flex; flex-wrap: wrap; gap: 5px 10px;}
.templesIntro b {font-weight: 600; width:100% !important; min-width: 160px;}
.templesIntro a {position: relative; white-space:nowrap;}
.templesIntro a:after {content:"|"; color:#ccc; margin-left: 7px;}
.templesIntro a:last-child::after{ display: none}

.templesIntro .templeHead { font-size:1rem; font-weight: 600; width:100%; max-width: 160px; }
.templesIntro .templeContent { font-size: 1rem; display: flex; flex-wrap: wrap; gap: 5px 7px;}
.templesIntro .templeContent a {position: relative;}
.templesIntro .templeContent a:after {content:"|"; color:#ccc; margin-left: 7px;}
.templesIntro .templeContent a:last-child::after{ display: none}


/* Aarti: page*/
.rootpage-Aartis h3{ text-align: center; border-bottom: 1px solid #eee !important; margin-bottom: 20px;}
.aartisFilterBlock {padding:0 0 20px 0;}
.aartisFilterBlock ul { margin: 0 !important; padding: 0;  display: flex; flex-wrap:wrap; justify-content: center; gap:20px; list-style: none; }
.aartisFilterBlock > ul > li{width: calc(50% - 10px); margin-bottom:0 !important; border:0; display: flex; gap: 10px; background: #fbfbfb; box-shadow: 0 1px 2px rgba(0, 0, 0, .3); padding: 10px;}
.aartisFilterBlock .aartiItemImg .center,.aartisFilterBlock .aartiItemImg .center .floatnone,.aartisFilterBlock .aartiItemImg a {height:100%; display: block}

.aartisFilterBlock .aartiItemImg { width: 80px;height: 80px;border: 1px solid #ccc;border-radius: 5px;overflow: hidden; box-sizing: border-box;}
.aartisFilterBlock .aartiItemImg .thumb {float: none !important; width: 100%; margin: 0; padding: 0;}
.aartisFilterBlock .aartiItemImg .thumb .thumbinner {border: 0; width: 100%; max-width: 100%; box-sizing: border-box;}
.aartisFilterBlock .aartiItemImg img{width: 100%; height: 100%; max-height:78px; object-fit: cover; border:0 !important}
.aartisFilterBlock > ul .aartiHeadingLInks {width: calc(100% - 110px);}
.aartisFilterBlock > ul .aartiHeadingLInks .itemHeading{margin: 0; font-size: 1rem; font-weight:600; width:100%; center; color:#ff7500;}
.aartisFilterBlock > ul ul {display: block; list-style: none;}
.aartisFilterBlock > ul ul li{ margin: 0 !important; padding: 0; font-size: 1rem;}
.aartisFilterBlock > ul ul  a {display:block; margin-top:5px;}

/* Other Related Aartis */
.otherRelatedAartisBlock { background:#fffcf5; padding:15px 15px 30px 15px;}
.otherRelatedAartisBlock h3 { padding-top:0 !important;  margin-top:0 !important; text-align:center}
.otherRelatedAartisBlock ul {display: flex; flex-wrap: wrap; justify-content: center; gap:15px; width: 100%; margin: 0 !important; padding:0; list-style: none; }
.otherRelatedAartisBlock ul li { width: calc(100% / 5 - 12px);  padding-left: 0; margin-bottom: 0px !important; background: #f9f9f9; border: 1px solid #ccc; border-radius: 7px; overflow: hidden;}
.otherRelatedAartisBlock ul li:hover{background: #fff; border: 1px solid #999;}
.otherRelatedAartisBlock ul li a, .otherRelatedAartisBlock ul li:hover a {text-decoration: none; color:#000;}

.otherRelatedAartisBlock ul li img {width:100%; height:100%; max-height:150px; border-radius:5px; object-fit: cover;}
.otherRelatedAartisBlock ul li h3{ margin:0 0 10px 0; padding:10px !important; font-size: 1rem; background:#fffaec;  font-weight:600; width:100%; center; color:#ff7500; }
.otherRelatedAartisBlock ul li p { padding:0 10px; font-size:.9rem}
.beforeMenuTagline { text-align: center;font-size: 16px;padding: 20px 0 0 0;display: inline-table;color: #ff7500;font-weight: 600; }
.beforeMenuTagline .hi{ font-size: 18px; }


@media (max-width: 767px) {
.templesIntro .templeContentBlock { margin-top:20px; max-height: inherit; height: inherit;}
.templesIntro .templeHead,.templesIntro b {max-width: inherit; }
.templesIntro ul li{display: block;}

.otherRelatedAartisBlock ul li { width: calc(100% / 3 - 12px);}
}

@media (max-width: 475px) {
.pa-related-box {margin: 12px 0 24px 0 !important;}
.aartisFilterBlock > ul > li{width: 100%;}

.otherRelatedAartisBlock ul li { width: 100%;}
}



/* End Pushkar Dayal Code */

#floatingCreateBtn { animation: floatUp 0.3s ease-in-out; }
@keyframes floatUp { from { transform: scale(0.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
#createPopupBox input:focus { border-color: #0078D7; outline: none;
}

/* Balaji code (Dont change it) starting */
.mw-editsection {
    display: none !important;
}

body.page-Special_TeamDashboard #firstHeading,
body.page-Special_TeamDashboard #contentSub {
    display: none !important;
}


.htmlform-tip {
    display: none !important;
}
.mw-createacct-benefits-container {
    display: none !important;
}

/* ================================
   LATEST ARTICLES BLOCK FRONTEND
   ================================ */

/* Outer wrapper */
.latestArticlesSlider {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    padding: 20px 0;
    scroll-behavior: smooth;
}

/* Inner flex container */
.latestArticlesInner,
#LatestArticlesOutput {
    display: inline-flex;
    gap: 18px;
    padding-left: 10px;
}

/* Article Button Styling */
.latestArticleBtn {
    background: #ff8a2a;
    color: #ffffff !important;
    padding: 14px 28px;
    font-weight: 600;
    border-radius: 10px;
    display: inline-block;
    white-space: nowrap;
    text-decoration: none !important;
    box-shadow: 0px 3px 8px rgba(0,0,0,0.12);
    transition: all 0.2s ease-in-out;
}

/* Hover effect */
.latestArticleBtn:hover {
    background: #ff7a0c;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

/* Scrollbar styling for webkit */
.latestArticlesSlider::-webkit-scrollbar {
    height: 8px;
}

.latestArticlesSlider::-webkit-scrollbar-thumb {
    background-color: #ff8a2a;
    border-radius: 10px;
}

.latestArticlesSlider::-webkit-scrollbar-track {
    background-color: #ffe0c2;
}

/* Responsive (Mobile) */
@media (max-width: 600px) {
    .latestArticleBtn {
        padding: 12px 20px;
        font-size: 14px;
    }
}
/* ====== AUTO-SCROLL MARQUEE SYSTEM ====== */
.latestArticlesMarquee {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.latestArticlesTrack {
    display: flex;
    flex-wrap: nowrap;
    gap: 18px;
    animation: marqueeLoop 30s linear infinite;
    will-change: transform;
}

/* Pause on hover */
.latestArticlesMarquee:hover .latestArticlesTrack {
    animation-play-state: paused;
}

/* Buttons */
.latestArticleBtn {
    background:#ff8a2a;
    color:#fff !important;
    padding:12px 24px;
    border-radius:10px;
    font-weight:600;
    text-decoration:none !important;
    white-space:nowrap;
    box-shadow:0 3px 10px rgba(0,0,0,0.15);
}

/* Smooth Infinite Loop */
@keyframes marqueeLoop {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}



/* Hide Tools dropdown on Create Account and Login pages */
body.page-Special_CreateAccount .p-tb-dropdown,
body.page-Special_UserLogin .p-tb-dropdown {
    display: none !important;
}
#footer,
        #mw-footer,
        .footercontainer,
        .footercontainer.container,
        #footer-info,
        #footer-places,
        .footer-info,
        .footer-places,
        footer,
        .mw-footer-container {
            display: none !important;
            visibility: hidden !important;
            height: 0 !important;
            padding: 0 !important;
            margin: 0 !important;
        }


/* ----------------------------------------
   Hide Tools for everyone by default
----------------------------------------- */
.p-tb,
.p-tb-dropdown,
.p-tb-toggle {
    display: none;
}

/* ----------------------------------------
   Show Tools ONLY for admins
----------------------------------------- */
body.show-tools-admin .p-tb,
body.show-tools-admin .p-tb-dropdown,
body.show-tools-admin .p-tb-toggle {
    display: block;
}

body.page-Special_AdminDashboard h1.firstHeading {
    display: none !important;
}
#contentSub {
    font-size: 16px;       /* increase overall size */
    font-weight: 500;
    margin-bottom: 12px;
}

#contentSub a {
    font-size: 16px;
    font-weight: 600;
}
 
#toc .toctogglelabel {
    border: none !important;
    outline: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* Control actual VisualEditor inspector content height */
.oo-ui-menuLayout-content {
    max-height: calc(100vh - 220px); /* toolbar + actions */
    overflow-y: auto;
    overflow-x: hidden;
}

/* Keep link inspector above footer */
.ve-ui-fragmentInspector-container {
    position: relative;
    z-index: 10060;
}
#catlinks{
display: none !important;
}

.mw-search-profile-tabs,
#mw-searchoptions
{
display: none !important;
}
#mw-fulltext-results
{
display: none !important;
}

End (Balaji) */