MediaWiki:Common.css: Difference between revisions

From Sanatan Hindu Dharma
No edit summary
No edit summary
 
(681 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 {
/* Hide the entire page tools section (content navigation) for users not logged in */
     height: 3.5rem;
body:not(.mw-editable) #p-contentnavigation {
     display: none !important;
}
}




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


.p-logo img  {
/* Hide "Page", "Discussion", "View source", "View history" bar for anonymous visitors */
padding-left:30px;
body:not(.logged-in) .page-tools,
    height: 5.5rem;
body:not(.logged-in) .chameleon-page-tools,
     margin-top:.2rem;
body:not(.logged-in) .mw-portlet-page-tools {
     display: none !important;
}
}


.bodyContent{ border:1px solid rgba(0,0,0,0.1); padding:16px; border-radius:.25rem;}
.mw-body a,
.firstHeading,h2,h3,h4{font-weight: 700;}
.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;}


.mw-parser-output a.extiw:visited, .mw-parser-output a.external:visited, a, a[href].new  {
    color: #1b599b;
    text-decoration: none;
    background-color: transparent
}


/* 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}


a:hover, a[href].new:hover {
    color: #10345a;
    text-decoration: underline
}




a:visited, a[href].new:visited {
.container.flex-fill{ max-width: 1351px !important; width: 100% !important; margin: 0 auto !important; padding: 0 15px !important; /* overflow:hidden; */}
    color: #1b599b;
}


.footercontainer{max-width:100%;}
.container.flex-fill > .row:last-child{ overflow: hidden; padding-bottom:20px;}


.mw-body.content{max-width:1140px; margin:0 auto;}
.p-navbar .navbar-brand.p-logo { height: 3rem; }
.p-navbar .navbar-brand img { height: 3rem; }




.tableVideo{text-align : center; margin: 0 auto;}
.p-logo a {display: block;}
.embedvideo-wrapper{ border:1px solid #ccc;}
.p-logo a:hover,
.embedvideo-loader__footer{display : none !important}
.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}


.panchangimg img{max-width:800px; width:100%; height:auto; margin:10px auto; display:table;}
#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 ;}


.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-personal.pull-right .p-personal-tools, .p-personal.pull-right .p-personal-tools{ align-items:center; }


.p-navbar.collapsible .navbar-nav .dropdown-menu{height:auto; max-height:95vh; overflow: auto;}
#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; }


/* Hide the entire page tools section (content navigation) for users not logged in */
#mw-navigation .nav-link::before, a.pt-createaccount:before { margin-right: 0;}
body:not(.mw-editable) #p-contentnavigation {
#mw-navigation a.dropdown-toggle::after {font-family: "Font Awesome 6 Free" !important; content: '\f078'; border: none !important; font-weight: 900;}
    display: none !important;
}


span.mw-editsection {
#mw-navigation a.dropdown-toggle:hover,
    display: none !important;
#mw-navigation a.dropdown-toggle:focus,
}
#mw-navigation a.dropdown-toggle:active,


@media (min-width: 1105px) {
#p-personal #pt-createaccount a:hover,
.navbar-expand-cmln, .p-navbar.collapsible {flex-flow: row wrap;}
#p-personal #pt-createaccount a:focus,
.navbar-expand-cmln .navbar-nav, .p-navbar.collapsible .navbar-nav {flex-wrap: wrap; justify-content: center;}
#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;}




@media (max-width: 575.98px) {
/* === Custom Navbar Styling === */
.flex-fill.container .row:first-child {justify-content: center;}
.navbar-light .navbar-toggler, .p-navbar .navbar-toggler {color: #fff;  border-color: rgba(255, 255, 255, 0.5); }
.tableVideo {
.main-navbar {background: #531101; padding: 8px 5px; margin:0 -15px !important }
    max-width: 300px;
.main-navbar a { color: #fff !important; font-weight: 400; }
    width: 100% !important;
.main-navbar a:hover, .main-navbar a:active { color: #fefefe !important;}
    height: 169px !important
}


.embedvideo-wrapper, .embedvideo {
.main-navbar .dropdown-menu { background-color: #fff !important; border: 1px solid #ccc; border-radius: 5px; }
    max-width: 300px;
.main-navbar .dropdown-menu .dropdown-item, .main-navbar .dropdown-menu a { color: #000 !important;   padding: .35rem 1.5rem !important; }
    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;}
}
.page-title, .firstHeading, #firstHeading {
  display: none !important;
}
.mw-headline,


.page-title,
.main-navbar .dropdown-menu .dropdown-item, .main-navbar .dropdown-menu a:hover,
.firstHeading,
.main-navbar .dropdown-menu .dropdown-item, .main-navbar .dropdown-menu a:active{ color: #000 !important; background: #e9ecef !important; }
h1, h2, h3 {
  border: none !important;
  box-shadow: none !important;
}
/* Remove default footer */
.footercontainer {
  display: none !important;
}


.thumb,
.main-navbar .dropdown-toggle{ display:flex}
.thumbinner,
.main-navbar .dropdown-toggle::after{
.image,
font-family: "Font Awesome 6 Free"!important; content: '\f078'; border:none !important; font-weight: 900;}
img.thumbimage {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 auto !important;
}






/*  Clean up MediaWiki layout spacing */
.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;}


html, body {
.navbar-nav > .mw-list-item:nth-child(3) { order: 7;}
  margin: 0 !important;
.navbar-nav > .nav-item.dropdown:nth-child(4) { order: 2;}
  padding: 0 !important;
.navbar-nav > .nav-item.dropdown:nth-child(5) { order: 3;}
  overflow-x: hidden !important;
.navbar-nav > .nav-item.dropdown:nth-child(6) { order: 4;}
  box-sizing: border-box;
.navbar-nav > .nav-item.dropdown:nth-child(7) { order: 5;}
}
.navbar-nav > .nav-item.dropdown:nth-child(8) { order: 8;}


.mw-body,
.p-navbar.collapsible .navbar-nav .nav-link { padding-right: .7rem; padding-left: .7rem;}
.mw-body-content,
.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;
}




/* -- 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;}


/* Full width Slider */


/* Full-bleed slider (stretches to viewport edges while remaining inside the page flow) */
.btn{padding: 15px 40px;}
.mw-fullslider {
.btn-primary,.btn-donate { background: #f87d22 !important; color:#fff !important; border: none!important;}
  position: relative;
.btn-primary{width: 100%;}
  width: 100vw;
.btn-primary:hover,.btn-primary:focus,
  left: 50%;
.btn-primary:focus:active,
  right: 50%;
.btn-donate:hover,.btn-donate:focus,
  margin-left: -50vw;
.btn-donate:focus:active {background: #da670f !important; color:#fff !important; box-shadow: none !important; text-decoration: none !important;}
  margin-right: -50vw;
.btn-donate span{ display: flex !important; align-items: center !important; gap: 5px !important;}
  box-sizing: border-box;
  background: #111;
  color: #fff;
  overflow: visible;
  --fs-height: 420px; /* desktop height; adjust as needed */
}


/* Viewport and track */
.mw-body .mw-indicators{ display: none !important; position: absolute !important; z-index: -1;}
.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 */
body.page-Main_Page #firstHeading{display: none}
.mw-fullslide .fs-img {
#p-contentnavigation{ margin-top: 15px;}
  position: absolute;
.hero-banner-section{margin: 0 -15px;}
  inset: 0;
.hero-banner-section .container{max-width: 1351px !important; padding: 0 !important;}
  overflow: hidden;
.hero-banner-section .adsBannerSliderHero  {position: relative;} /* -- Slick Wisdom Slider -- */
  height: 100%;
.hero-banner-section .slick-track{display: flex;}
  width: 100%;
.hero-banner-section .adsBannerSliderHero .slick-slide{position: relative; display: inline-block; width:1351px !important}
  z-index: 0;
.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}
.mw-fullslide .fs-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}


/* Text overlay area */
.hero-banner-heading {font-size: 2.6rem; font-weight: 700; margin-bottom: 10px;}
.mw-fullslide .fs-text {
.hero-banner-subheading {font-size: 1.8rem; font-weight: 600}
  position: relative;
  z-index: 2;
  padding: 36px;
  max-width: 1200px;
  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 */
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;}
.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 */
.discover-Learn-Live-section{padding: 40px 40px 10px 40px; background: #ffffff; color:#000;}
.mw-fullslider-dots {
.discover-Learn-Live-section .section-heading{ text-align: left; margin-bottom: 30px; margin-top: 0; padding-top: 5px;}
  position: absolute;
.discover-Learn-Live-section img {width: 100%; max-width: 539px;}
  left: 50%;
.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;}
  transform: translateX(-50%);
.discover-Learn-Live-btn:visited{ color: #fff !important;}
  bottom: 14px;
.discover-Learn-Live-btn:hover{ color: #fff; background: #410d01;}
  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 */
.sanatan-circle { position: relative; width: 520px; height: 488px; margin: 0px auto 30px auto; font-family: "Poppins", sans-serif;}
@media (max-width: 900px) {
.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;}
  .mw-fullslider { --fs-height: 320px; }
.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;}
  .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 */
.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;}
.mw-fullslider-btn:focus,
.mw-fullslider-dots .dot:focus { outline: 3px solid rgba(255,255,255,0.16); outline-offset: 2px; }


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


.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;}


.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');
@media screen and (max-width:400px) {
  background-size: cover;
.sanatan-circle {margin: 20px 0 30px 0; width: 100%; height: 360px; }
  background-position: center;
.center-text {width: 145px; height: 145px; font-size: 12px;}
  background-attachment: fixed;
.dotted-arc {width: 185px; height: 185px; border: 1px dashed #531101;}
 
  text-align: center;
  color: #fff;
  box-sizing: border-box;
  overflow: hidden;
}


/* Dark overlay for readability */
.icon {width: 45px; height: 45px;}
.hero-section::before {
.icon img { width: 24px; height: 24px;}
  content: "";
.icon1 {top: 28px; left: 14%;}
  position: absolute;
.icon2 {top: 48px; left: 34%;}
  inset: 0;
.icon3 {top: 105px; left: 49%;}
  background: rgba(0, 0, 0, 0.4);
.icon4 {top: 180px; left: 52%;}
  z-index: 1;
.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;}


.hero-content {
.iconTextBlock{font-size: 11px;}
  position: relative;
.iconText1 {left: 50px;top: -30px; width: 200px;}
  z-index: 2;
.iconText2 {left: 56px; top: 5px; width: 165px;}
  max-width: 800px;
.iconText3 {left: 55px; top: -5px;  width: 118px;}
  width: 90%;
.iconText4 {left: 55px; top: 0;width: 110px;}
  margin: 0 auto;
.iconText5 {left: 58px;top: 12px; width: 135px;}
.iconText6 {left: 56px; top: 20px; width: 200px;}
}
}


.hero-content h1 {
.explore-sanatan-wisdom-section{/*padding: 0px 40px 0 40px;*/ padding: 0px; background: #ffffff;}
  font-size: 3rem;
.sanatanWisdomSlider {position: relative;} /* -- Slick Wisdom Slider -- */
  font-weight: 800;
.sanatanWisdomSlider .slick-track{display: flex; gap:30px;}
  color: #fff;
.sanatanWisdomSlider .slick-track div{display: inline-block;}
  margin-bottom: 15px;
.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;}


.hero-content p {
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.6;
  color: #FFE687;
}


/* ----------------------------- */
.latest-articles-section { padding: 0px 40px 40px 40px; background: #ffffff;}
/* 4️⃣ Responsive adjustments */
.latestArticlesSlider {position: relative;} /* -- Latest Articles Slider -- */
/* ----------------------------- */
.latestArticlesSlider .slick-track{display: flex; gap:20px;}
@media (max-width: 1024px) {
.latestArticlesSlider .slick-track div{display: inline-block;}
  .hero-section {
.latestArticlesSlider a{white-space: nowrap; text-align: center; background: #f87d22 !important; padding: 8px 20px; display: block; text-decoration: none; color: #fff; border-radius: 5px;}
    background-attachment: scroll;
.latestArticlesSlider a:hover{ color: #fff; background: #531101 !important}
    padding: 80px 15px;
  }
  .hero-content h1 { font-size: 2.4rem; }
  .hero-content p { font-size: 1.1rem; }
}


@media (max-width: 768px) {
  .hero-section {
    min-height: 70vh;
    padding: 70px 15px;
  }
    .hero-content h1 { font-size: 2rem; }
  .hero-content p { font-size: 1rem; }
}


@media (max-width: 480px) {
.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%);}
  .hero-section {
.prev-arrow {left: 0; border-radius: 5px; padding: 0;}
    padding: 60px 10px;
.next-arrow {right: 0; border-radius: 5px; padding: 0;}
  }
  .hero-content h1 { font-size: 1.6rem; }
  .hero-content p { font-size: 0.95rem; }
}




.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;}




/*  Clean up MediaWiki layout spacing */
.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;}


html, body {
.join-and-collaborate-section {padding: 0px 40px 40px 40px; text-align: center; background: #ffffff;}
  margin: 0 !important;
.join-and-collaborate-section .btn-coin-collaborate-block { display: flex; gap: 30px; flex-wrap: wrap; justify-content: center;}
  padding: 0 !important;
.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;}
  overflow-x: hidden !important;
.join-and-collaborate-section .btn-coin-collaborate-block a:hover,
  box-sizing: border-box;
.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;}


.mw-body,
.mw-body-content,
.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;
}


/* Two-column layout container */
.custom-two-column {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}


/* Left column - holds image */
.firstHeading, h1, h2, h3, h4{font-weight: 700; }
.custom-two-column .left-column {
h2, h3, h4{ border-bottom:0 !important}
  flex: 1 1 45%;
#bodyContent ul,#bodyContent ol{margin-bottom: 1rem;}
  text-align: center;
#bodyContent ul li,#bodyContent ol li{margin-bottom: 1rem;}
}


.custom-two-column .left-column img {
  width: 100%;
  height: auto;
  max-width: 500px;
  border-radius: 12px;
  display: block;
  margin: 0 auto;
}
/* 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 {
.right-template-category-block{float:right; width:300px; border:1px solid #ccc; background-color:#f9f9f9; padding:10px; margin-bottom:20px; border-radius:8px;}
  font-size: 1.8rem;
.right-template-category-block h2{ font-weight: bold;
  font-weight: 700;
    margin-bottom: 8px;
  color: #222;
    background: #e9e9e9;
  margin-bottom: 15px;
    padding: 15px 10px;
  border-bottom: 2px solid #FFD44C;
    border-radius: 4px;
  display: inline-block;
    margin: 0 0 15px 0;
  padding-bottom: 5px;
    font-size: 1.4rem;}
}


.custom-two-column .right-column ul {
.right-template-category-block ul li,
  list-style: none;
.right-template-category-block ol li { margin-bottom: .5rem; font-size: 1rem;}
  margin: 0;
.right-template-category-block a { font-weight: 400;}
  padding: 0;
}


.custom-two-column .right-column li {
.panchang_block,.panchangimg { display: flex; gap:15px; flex-direction: column; align-items: center;}
  margin: 10px 0;
}


.custom-two-column .right-column a {
#mw-custom-footer { background-color: #531101;}
  text-decoration: none;
.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;}
  font-weight: 600;
.footer h3{ font-size: 1rem; font-weight: 600; margin-top: 10px; margin-bottom: 15px; color: #fff;}
  font-size: 1.1rem;
.footer ul { margin: 0; padding: 0; list-style: none;}
  color: #0056b3;
.footer ul.need-help li {display: flex; align-items: baseline; gap:10px; margin-bottom: 5px;}
  transition: color 0.2s ease;
.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;}


.custom-two-column .right-column a:hover {
  color: #FFD44C;
}


/* Responsive Design */
.my-createaccount-custom-box{display: flex; gap: 50px;}
@media (max-width: 992px) {
  .custom-two-column {
    flex-direction: column;
    text-align: center;
  }


  .custom-two-column .right-column h2 {
div.mw-ui-container { display: flex; flex-direction: column-reverse; align-items: center; }
    text-align: 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}


  .custom-two-column .right-column ul {
.mw-ui-button.mw-ui-progressive:not(:disabled) {
     display: inline-block;
    background-color: #ff7500;
     text-align: left;
    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{
.engage-section {
    background-color: #da670f;
  width: 100%;
    color: #fff;
  display: flex;
    border-color: #da670f;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 35px 20px;
  text-align: center;
}
}


.engage-section h1 {
#mw-createaccount-join {
  color: maroon;
    background-color: #f8f9fa;
  font-size: 2.5rem;
    color: #ff6b00;
  margin-bottom: 10px;
  font-weight: bold;
}
}


.engage-section h2 {
#mw-createaccount-cta{padding-top: 3.5em; text-align: center;}
  color: #333;
  font-size: 1.4rem;
  font-weight: normal;
  margin: 0;
}


/*  Mobile responsiveness */
@media (max-width: 767px) {
@media (max-width: 600px) {
.container.flex-fill .row:nth-child(1) {justify-content:center;}
  .engage-section {
.container.flex-fill .row:nth-child(1) .align-items-center {flex-direction: column;}
    padding: 30px 15px;
.p-personal.pull-right {float:inherit !important}
  }
#p-personal.pull-right .p-personal-tools, .p-personal.pull-right .p-personal-tools {justify-content:center}


  .engage-section h1 {
.top-head{ justify-content: center; gap: 10px;}
    font-size: 1.8rem;
  }


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


.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%;}


/* Core categories section */
.my-createaccount-custom-box{ gap:0; flex-direction: column;}


.three-cards-wrap {
.mw-ui-vform > div .mw-ui-vform-field {width:100% !important;}
  width: 100%;
  max-width: 1320px;
  margin: 40px auto;
  padding: 0px 30px;
  box-sizing: border-box;
  /* remove outer gaps — if you want inner page padding, wrap this in .container */
}


/* row */
.three-cards-row {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  gap: 0; /* no gap between children */
}
}


/* each card: exactly one-third width on desktop (no gap) */
/* Templates: State pages only*/
.three-cards-row .card {
.templesIntro {padding:0 0 20px 0; width:auto !important;}
  box-sizing: border-box;
.templesIntro .templeImg {height: 100%; max-height: 400px; border: 2px solid #5d0900; border-radius: 20px; overflow: hidden;}
  flex: 0 0 calc(33.3333%); /* three equal columns */
.templesIntro img{width: 100%; height: 100%; object-fit: cover;}
  padding: 0;               /* no padding between cards */
.templesIntro .templeContentBlock {height: 100%; max-height: 400px;  padding: 10px 15px 15px 15px; border:2px solid #5d0900;  border-radius: 20px;}
  margin: 0;
.templesIntro h2 {width:100%; color:#ff7500; margin:0; padding:0; margin: 0 0 10px 0; font-size: 1.5rem; text-align: center;}
  border: none;
.templesIntro ul { margin: 0 !important; padding: 0; height: 100%;  max-height: 320px; overflow: auto; list-style: none;}
  background: #fffcef;
.templesIntro ul li {margin:0 !important; padding:10px 0; border-top:1px solid #cccccc; display: flex; flex-wrap: wrap; gap: 5px 10px;}
  /* subtle divider between cards (optional). If you truly want no visual gap set border:none;*/
.templesIntro b {font-weight: 600; width:100% !important; min-width: 160px;}
  /* border-left: 1px solid rgba(0,0,0,0.03); */
.templesIntro a {position: relative; white-space:nowrap;}
  display: flex;
.templesIntro a:after {content:"|"; color:#ccc; margin-left: 7px;}
  flex-direction: column;
.templesIntro a:last-child::after{ display: none}
  align-items: stretch;
justify-content:center;
}


/* remove default link/image frames added by wiki/skin when using [[File:...]] */
.templesIntro .templeHead { font-size:1rem; font-weight: 600; width:100%; max-width: 160px; }
.three-cards-row .card img,
.templesIntro .templeContent { font-size: 1rem; display: flex; flex-wrap: wrap; gap: 5px 7px;}
.three-cards-row .card .thumbimage,
.templesIntro .templeContent a {position: relative;}
.three-cards-row .card .thumbinner {
.templesIntro .templeContent a:after {content:"|"; color:#ccc; margin-left: 7px;}
  border: none !important;
.templesIntro .templeContent a:last-child::after{ display: none}
  background: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 auto;
  display: block;
}


/* image area */
.card .card-image {
  width: 100%;
  height: 220px;
  align-items:center;
justify-content: center;              /* image box height */
  overflow: hidden;
  flex: 0 0 auto;
}


.card .card-image img {
/* Aarti: page*/
  width: 150px;
.rootpage-Aartis h3{ text-align: center; border-bottom: 1px solid #eee !important; margin-bottom: 20px;}
  object-fit: cover;  
.aartisFilterBlock {padding:0 0 20px 0;}
vertical-align: middle;           /* keeps image aspect and fills area */
.aartisFilterBlock ul { margin: 0 !important; padding: 0;  display: flex; flex-wrap:wrap; justify-content: center; gap:20px; list-style: none; }
  display: block;
.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}


/* content area */
.aartisFilterBlock .aartiItemImg { width: 80px;height: 80px;border: 1px solid #ccc;border-radius: 5px;overflow: hidden; box-sizing: border-box;}
.card .card-body {
.aartisFilterBlock .aartiItemImg .thumb {float: none !important; width: 100%; margin: 0; padding: 0;}
  padding: 28px 24px;
.aartisFilterBlock .aartiItemImg .thumb .thumbinner {border: 0; width: 100%; max-width: 100%; box-sizing: border-box;}
  text-align: center;
.aartisFilterBlock .aartiItemImg img{width: 100%; height: 100%; max-height:78px; object-fit: cover; border:0 !important}
  flex: 1 1 auto;
.aartisFilterBlock > ul .aartiHeadingLInks {width: calc(100% - 110px);}
  display: flex;
.aartisFilterBlock > ul .aartiHeadingLInks .itemHeading{margin: 0; font-size: 1rem; font-weight:600; width:100%; center; color:#ff7500;}
  flex-direction: column;
.aartisFilterBlock > ul ul {display: block; list-style: none;}
  justify-content: space-between;
.aartisFilterBlock > ul ul li{ margin: 0 !important; padding: 0; font-size: 1rem;}
}
.aartisFilterBlock > ul ul  a {display:block; margin-top:5px;}


/* title / paragraph */
/* Other Related Aartis */
.card h3 {
.otherRelatedAartisBlock { background:#fffcf5; padding:15px 15px 30px 15px;}
  margin: 0 0 12px 0;
.otherRelatedAartisBlock h3 { padding-top:0 !important;  margin-top:0 !important; text-align:center}
  font-size: 1.25rem;
.otherRelatedAartisBlock ul {display: flex; flex-wrap: wrap; justify-content: center; gap:15px; width: 100%; margin: 0 !important; padding:0; list-style: none; }
  color: #222;
.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;}
  font-weight: 700;
.otherRelatedAartisBlock ul li:hover{background: #fff; border: 1px solid #999;}
}
.otherRelatedAartisBlock ul li a, .otherRelatedAartisBlock ul li:hover a {text-decoration: none; color:#000;}


.card p {
.otherRelatedAartisBlock ul li img {width:100%; height:100%; max-height:150px; border-radius:5px; object-fit: cover;}
  margin: 0 0 20px 0;
.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; }
  color: #555;
.otherRelatedAartisBlock ul li p { padding:0 10px; font-size:.9rem}
  line-height: 1.6;
.beforeMenuTagline { text-align: center;font-size: 16px;padding: 20px 0 0 0;display: inline-table;color: #ff7500;font-weight: 600; }
  font-size: 0.98rem;
.beforeMenuTagline .hi{ font-size: 18px; }
}


/* button */
.card .card-btn {
  display: inline-block;
  text-decoration: none;
  background: #0b66d1;
  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); }


/* ===== Responsive adjustments ===== */
@media (max-width: 767px) {
@media (max-width: 1024px) {
.templesIntro .templeContentBlock { margin-top:20px; max-height: inherit; height: inherit;}
  .three-cards-row .card {
.templesIntro .templeHead,.templesIntro b {max-width: inherit; }
    flex: 0 0 calc(50%); /* two columns */
.templesIntro ul li{display: block;}
  }
  .card .card-image { height: 200px; }
}


@media (max-width: 640px) {
.otherRelatedAartisBlock ul li { width: calc(100% / 3 - 12px);}
  .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; }
}
}


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


/* Sanatan Dharma two-column section */
.otherRelatedAartisBlock ul li { width: 100%;}
.sdh-section {
  width: 100%;
  background: #fffaf0;
  padding: 40px 20px;
  box-sizing: border-box;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  margin: 40px auto;
  max-width: 1200px;
}
}


.sdh-title {
  text-align: center;
  font-size: 2rem;
  color: #800000;
  font-weight: 700;
  margin-bottom: 30px;
  font-family: "Georgia", serif;
}


.sdh-columns {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}


.sdh-column {
/* End Pushkar Dayal Code */
  flex: 1 1 45%;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.08);
}


.sdh-column ul {
#floatingCreateBtn { animation: floatUp 0.3s ease-in-out; }
  list-style-type: none;
@keyframes floatUp { from { transform: scale(0.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
  padding: 0;
#createPopupBox input:focus { border-color: #0078D7; outline: none;
  margin: 0;
}
}


.sdh-column li {
/* Balaji code (Dont change it) starting */
  font-size: 1.05rem;
.mw-editsection {
  color: #333;
    display: none !important;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  line-height: 1.5;
}
}


.sdh-column li:last-child {
body.page-Special_TeamDashboard #firstHeading,
  border-bottom: none;
body.page-Special_TeamDashboard #contentSub {
    display: none !important;
}
}


/* Responsive Design */
@media (max-width: 900px) {
  .sdh-columns {
    flex-direction: column;
    gap: 20px;
  }
  .sdh-column {
    flex: 1 1 100%;
  }
}


 
.htmlform-tip {
/* For Content Writers */
    display: none !important;
.content_writing1{
Display :flex;
Min-height:100vh;
Background-color:#FFF9E5;
}
}
 
.mw-createacct-benefits-container {
 
     display: none !important;
/* Custom  Page Footer * /
.Custom-footer{
display:flex;
    background: #ffd38c;
    background: linear-gradient(90deg,rgba(255, 211, 140, 1) 0%, rgba(255, 244, 199, 1) 54%, rgba(255, 206, 122, 1) 100%);
    padding: 40px 20px 20px;
  }
  .footer-top {
     display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto 30px;
  }
  .footer-column {
    flex: 1 1 20%;
    min-width: 180px;
    margin-bottom: 2px;
  }
  .footer-column h4 {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: maroon;
    border-bottom: 1px solid #54545427;
    padding-bottom: 8px;
  }
  .footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .footer-column ul li {
    margin-bottom: 10px;
  }
  .footer-column ul li a {
    color: black;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
  }
  .footer-column ul li a:hover,
  .footer-column ul li a:focus {
    color: #fff;
    outline: none;
  }
  .footer-bottom {
  border-top: 1px solid #54545427;
  max-width: 1200px;
  margin: 0;
  padding-top: 15px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between; /* links left, copyright right */
  align-items: center;
}
}
  .footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
  }
  .footer-bottom-links a {
    color: #4e1111;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  .footer-bottom-links a:hover,
  .footer-bottom-links a:focus {
    color: #000;
  outline: none;
  }
  .copyright {
    color: #4e1111;
    font-size: 0.9rem;
    margin-top: 10px;
  }


  /* Responsive */
/* ================================
  @media (max-width: 900px) {
  LATEST ARTICLES BLOCK FRONTEND
    .footer-top {
  ================================ */
      justify-content: center;
    }
    .footer-column {
      flex: 1 1 45%;
      max-width: 45%;
      margin-bottom: 30px;
    }
    .footer-bottom {
      flex-direction: column;
      align-items: flex-start;
      gap: 10px;
    }
    .copyright {
      margin-top: 0;
    }
  }
  @media (max-width: 480px) {
    .footer-column {
      flex: 1 1 100%;
      max-width: 100%;
    }
    .footer-bottom-links {
     
      flex-direction: column;
      gap: 8px;
    }
  }


/* Slider One */
/* Outer wrapper */
.slider {
.latestArticlesSlider {
    max-width: 1200px;
    margin: 40px auto;
    overflow: hidden;
    position: relative;
  }
  .slider-track {
    display: flex;
    padding-left: 100px;
    padding-right: 100px;
    transition: transform 0.4s ease-in-out;
  }
  .slide {
    flex: 0 0 33.333%; /* show 3 slides at a time on desktop */
    padding: 15px;
  }
  .slide-content {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  .slide img {
     width: 100%;
     width: 100%;
     height: 180px;
     overflow-x: auto;
    object-fit: cover;
     overflow-y: hidden;
    display: block;
     white-space: nowrap;
  }
     padding: 20px 0;
  .slide h3 {
     scroll-behavior: smooth;
    margin: 15px;
    font-size: 1.2rem;
    color: #333;
  }
  .slide p {
    margin: 0 15px 15px;
    color: #666;
     flex-grow: 1;
  }
 
  /* Navigation Buttons */
  .nav-btn {
     z-index: 10;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.8);
    border: none;
     padding: 7px 15px;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    font-size: 18px;
     user-select: none;
  }
  .nav-btn:focus {
    outline: none;
    background-color: #ffd476;
  }
  .nav-prev {
    left: 40px;
  }
  .nav-next {
    right: 40px;
  }
 
  /* Responsive */
  @media (max-width: 768px) {
    .slide {
      flex: 0 0 50%; /* show 2 slides at a time */
    }
    .slide img {
      height: 140px;
    }
  }
  @media (max-width: 480px) {
    .slide {
      flex: 0 0 100%; /* show 1 slide at a time */
    }
    .slide img {
      height: 200px;
    }
  }
 
/* Slider base */
.mw-slider {
  position: relative;
  --gap: 16px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}
}


/* Buttons */
/* Inner flex container */
.mw-slider-btn {
.latestArticlesInner,
  position: absolute;
#LatestArticlesOutput {
  top: 50%;
    display: inline-flex;
  transform: translateY(-50%);
    gap: 18px;
  z-index: 10;
    padding-left: 10px;
  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 */
/* Article Button Styling */
.mw-slider-viewport {
.latestArticleBtn {
  overflow: hidden;
    background: #ff8a2a;
  padding: 8px 56px; /* space for buttons */
    color: #ffffff !important;
}
    padding: 14px 28px;
.mw-slider-track {
    font-weight: 600;
  display: flex;
    border-radius: 10px;
  gap: var(--gap);
    display: inline-block;
  transition: transform 350ms cubic-bezier(.22,.9,.2,1);
    white-space: nowrap;
  will-change: transform;
    text-decoration: none !important;
  align-items: stretch;
    box-shadow: 0px 3px 8px rgba(0,0,0,0.12);
  padding-bottom: 8px;
    transition: all 0.2s ease-in-out;
}
}


/* Item */
/* Hover effect */
.mw-slider-item {
.latestArticleBtn:hover {
  background: #fff;
    background: #ff7a0c;
  border-radius: 8px;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.15);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transform: translateY(-2px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex: 0 0 calc((100% - (2 * var(--gap))) / 3); /* default: 3 items */
  box-sizing: border-box;
}
}


/* Image */
/* Scrollbar styling for webkit */
.mw-slider-item img {
.latestArticlesSlider::-webkit-scrollbar {
  width: 100%;
    height: 8px;
  height: auto;
  display: block;
  object-fit: cover;
}
}


/* Text */
.latestArticlesSlider::-webkit-scrollbar-thumb {
.mw-slider-item h3 {
    background-color: #ff8a2a;
  margin: 12px 12px 6px;
    border-radius: 10px;
  font-size: 1.05rem;
}
.mw-slider-item p {
  margin: 0 12px 12px;
  font-size: 0.95rem;
  color: #444;
  line-height: 1.3;
}
}


/* Responsive breakpoints */
.latestArticlesSlider::-webkit-scrollbar-track {
@media (max-width: 900px) {
    background-color: #ffe0c2;
  .mw-slider-item { flex: 0 0 calc((100% - var(--gap)) / 2); } /* 2 items */
  .mw-slider-viewport { padding: 8px 46px; }
}
}


/* Responsive (Mobile) */
@media (max-width: 600px) {
@media (max-width: 600px) {
  .mw-slider-item { flex-basis: 100%; }
    .latestArticleBtn {
  .mw-slider-viewport { padding: 8px 56px; } /* leave room for arrows on both sides */
        padding: 12px 20px;
  .mw-slider-btn {
        font-size: 14px;
    display: flex;
     }
    width: 48px;
}
    height: 48px;
/* ====== AUTO-SCROLL MARQUEE SYSTEM ====== */
    border-radius: 50%;
.latestArticlesMarquee {
    top: 50%;
     width: 100%;
    transform: translateY(-50%);
     overflow: hidden;
    background: rgba(0,0,0,0.55);
     position: relative;
    font-size: 24px;
     padding: 20px 0;
     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 */
.latestArticlesTrack {
  aspect-ratio: 4 / 3;
    display: flex;
 
    flex-wrap: nowrap;
  /* Fallback for older browsers: padding-top for 4:3 */
    gap: 18px;
  height: 0;
    animation: marqueeLoop 30s linear infinite;
  padding-top: 75%; /* 3/4 = 75% */
    will-change: transform;
}
}


/* 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;
  margin: 10px 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;
  Hide Tools for everyone by default
  align-items: center;
----------------------------------------- */
  gap: 20px;
.p-tb,
  margin: 0 auto;
.p-tb-dropdown,
.p-tb-toggle {
    display: none;
}
}


/* Navbar links */
/* ----------------------------------------
.main-navbar a {
  Show Tools ONLY for admins
  color: #fff !important;
----------------------------------------- */
  font-weight: 600;
body.show-tools-admin .p-tb,
  text-transform: uppercase;
body.show-tools-admin .p-tb-dropdown,
body.show-tools-admin .p-tb-toggle {
    display: block;
}
}


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


/* === Dropdown (submenu) styling === */
#contentSub a {
.main-navbar .dropdown-menu {
    font-size: 16px;
  background-color: #ffcc80 !important;
    font-weight: 600;
  border: 1px solid #e07b00;
}
  border-radius: 6px;
#toc .toctogglelabel {
    border: none !important;
    outline: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
}
}


.main-navbar .dropdown-item {
/* Control actual VisualEditor inspector content height */
  color: #000 !important;
.oo-ui-menuLayout-content {
  font-weight: 500;
    max-height: calc(100vh - 220px); /* toolbar + actions */
    overflow-y: auto;
    overflow-x: hidden;
}
}


.main-navbar .dropdown-item:hover,
/* Keep link inspector above footer */
.main-navbar .dropdown-item:focus {
.ve-ui-fragmentInspector-container {
  background-color: #ff9933 !important;
    position: relative;
  color: #fff !important;
    z-index: 10060;
}
}
 
#catlinks{
/* === Responsive Fixes === */
display: none !important;
@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) {
.mw-search-profile-tabs,
  /* Mobile View */
#mw-searchoptions
  .main-navbar {
{
    flex-direction: column;
display: none !important;
    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;
    text-align: center;
  }
}
}
.main-navbar .p-Donate-dropdown > a {
#mw-fulltext-results
  background-color: #FFDAAD !important;  /* saffron orange */
{
  color: maroon !important;
display: none !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 */
End (Balaji) */
.main-navbar .p-Donate-dropdown > a:hover {
  background-color: #cc5200 !important;  /* darker orange on hover */
  color: #fff !important;
  transform: translateY(-2px);
  text-decoration: none !important; }

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) */