/* ======================================
सुभाषित | CSS
====================================== */

/* ======================================
१) मुख्य रंग व Variables
येथे रंग बदलले तर संपूर्ण template मध्ये परिणाम दिसेल.
====================================== */
:root{
  --sbh-red:#e40914;
  --sbh-red-dark:#a3050f;
  --sbh-orange:#ff5a3c;
  --sbh-flare:#ffb347;
  --sbh-gold:#e8c25c;
  --sbh-gold-light:#ffc94d;
  --sbh-cream:#fff8e7;
  --sbh-cream-2:#fff1d6;
  --sbh-ink:#4a3200;
  --sbh-maroon:#5a1418;
  --sbh-maroon-2:#7a1d1a;
  --sbh-line:rgba(228,9,20,.18);
  --sbh-shadow:rgba(139,69,19,.22);
}

/* ======================================
२) मुख्य Wrap - संपूर्ण सुभाषित पोस्टचा बाह्य बॉक्स
====================================== */
#sds-subhashit-root, #sds-subhashit-root *{
  box-sizing:border-box;
}

#sds-subhashit-root{
  width:100%;
  margin:0 auto;
  font-family:'Hind',Georgia,sans-serif;
  font-size:16px;
  line-height:1.75;
  color:var(--sbh-ink) !important;
  background:linear-gradient(180deg,var(--sbh-cream),#fffdf7 30%,var(--sbh-cream)) !important;
  border:2px solid var(--sbh-gold) !important;
  border-radius:24px !important;
  overflow:hidden;
  box-shadow:0 14px 32px var(--sbh-shadow);
}

/* ======================================
३) हिरो विभाग - ॐ चिन्ह, शीर्षक, तारीख, रचनाकार
====================================== */
.sbh-hero{
  position:relative;
  padding:36px 26px;
  text-align:center;
  color:#fff;
  overflow:hidden;
  background:linear-gradient(135deg,var(--sbh-orange) 0%,var(--sbh-red) 45%,var(--sbh-red-dark) 100%);
}

.sbh-hero-glow-1{
  position:absolute;
  top:-130px;
  right:-110px;
  width:360px;
  height:360px;
  background:radial-gradient(circle,var(--sbh-flare) 0%,transparent 70%);
  border-radius:50%;
  opacity:.85;
}

.sbh-hero-glow-2{
  position:absolute;
  bottom:-150px;
  left:-120px;
  width:380px;
  height:380px;
  background:radial-gradient(circle,#ff9e2e 0%,transparent 65%);
  border-radius:50%;
  opacity:.7;
}

.sbh-hero-lines{
  position:absolute;
  top:0;left:0;
  width:100%;
  height:100%;
  background-image:repeating-linear-gradient(115deg, rgba(255,255,255,.08) 0px, rgba(255,255,255,.08) 2px, transparent 2px, transparent 40px);
}

.sbh-hero-inner{
  position:relative;
}

.sbh-om-wrap{
  perspective:600px;
  display:inline-block;
}

@keyframes sbh-coin-spin{
  0%{ transform:rotateY(0deg); }
  100%{ transform:rotateY(360deg); }
}

.sbh-om{
  width:88px;
  height:88px;
  margin:0 auto 14px;
  border-radius:50%;
  display:grid;
  place-items:center;
  font-size:46px;
  background:radial-gradient(circle,#ffe9b3,var(--sbh-flare) 55%,#b5651d);
  box-shadow:inset 0 0 0 5px rgba(255,248,231,.4), 0 6px 16px rgba(0,0,0,.23);
  animation:sbh-coin-spin 3.2s linear infinite;
  transform-style:preserve-3d;
}

.sbh-kicker{
  display:inline-block;
  margin-bottom:10px;
  padding:6px 16px;
  border-radius:999px;
  background:rgba(255,255,255,.2);
  font-family:'Baloo 2',sans-serif;
  font-weight:700;
  font-size:16px;
}

.sbh-title{
  margin:0;
  font-family:'Khand',serif;
  font-size:36px;
  font-weight:700;
  line-height:1.3;
  color:#fff;
}

.sbh-meta{
  margin-top:12px;
  font-family:'Hind',sans-serif;
  font-weight:600;
  font-size:16px;
  opacity:.95;
}

.sbh-author-badge{
  margin-top:16px;
  display:inline-block;
  padding:10px 20px;
  border-radius:999px;
  background:var(--sbh-cream);
  color:#b5651d;
  font-family:'Baloo 2',sans-serif;
  font-weight:700;
  font-size:16px;
}

/* ======================================
४) सर्वसाधारण Section Title व Card
====================================== */
.sbh-section{
  padding:26px 26px 6px;
}

.sbh-section-title{
  font-family:'Khand',serif;
  font-size:24px;
  font-weight:700;
  color:#7a3b0a;
  margin:0 0 14px;
}

.sbh-card{
  border-radius:16px;
  padding:18px 20px;
  margin-bottom:20px;
  transition:transform .25s ease, box-shadow .25s ease;
  cursor:default;
}

.sbh-card:hover{
  transform:scale(1.03);
  box-shadow:0 14px 26px var(--sbh-shadow);
}

.sbh-card h3{
  font-family:'Baloo 2',sans-serif;
  font-size:17px;
  font-weight:700;
  margin:0 0 8px;
}

.sbh-card p{
  margin:0;
  font-size:16px;
  line-height:1.75;
}

/* परिचय कार्ड */
.sbh-intro{
  background:var(--sbh-cream-2);
  border:1px solid var(--sbh-gold);
}
.sbh-intro h3{ color:#7a3b0a; }
.sbh-intro p{ color:var(--sbh-ink); }

/* ======================================
५) मूळ सुभाषित कार्ड - वेगळा, उठावदार रंग
====================================== */
.sbh-shloka-wrap{
  padding:0 26px;
}

.sbh-shloka{
  background:linear-gradient(135deg,var(--sbh-maroon),var(--sbh-maroon-2));
  border:1px solid var(--sbh-gold);
  border-radius:16px;
  padding:30px 26px;
  text-align:center;
  position:relative;
  margin-bottom:22px;
}

.sbh-shloka-text{
  color:#fff3d6;
  font-size:22px;
  line-height:2;
  padding:10px 20px;
  margin:0;
}

.sbh-quote-mark{
  position:absolute;
  color:var(--sbh-gold-light);
  font-size:52px;
  font-family:Georgia,serif;
  line-height:1;
}
.sbh-quote-open{ top:2px; left:14px; }
.sbh-quote-close{ bottom:-8px; right:14px; }

.sbh-shloka-source{
  margin-top:12px;
  font-family:'Baloo 2',sans-serif;
  font-size:16px;
  color:var(--sbh-gold-light);
  font-weight:700;
}

/* सोपा अर्थ - सिंगल कॉलम */
.sbh-single-wrap{
  padding:0 26px;
  margin-bottom:16px;
}

.sbh-meaning{
  background:#e7f1e4;
  border:1px solid #9dbe8f;
}
.sbh-meaning h3{ color:#3e5e32; }
.sbh-meaning p{ color:#2e4526; }

/* उपयोजन - दोन कॉलम */
.sbh-apply-grid{
  padding:0 26px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  margin-bottom:20px;
}

.sbh-apply-grid .sbh-card{
  margin-bottom:0;
  padding:16px 18px;
}

.sbh-apply-1{
  background:#fde8dd;
  border:1px solid #e3a281;
}
.sbh-apply-1 h3{ color:#8a3d18; }
.sbh-apply-1 p{ color:#5c2a10; }

.sbh-apply-2{
  background:#e1eff3;
  border:1px solid #8fbac7;
}
.sbh-apply-2 h3{ color:#1f5566; }
.sbh-apply-2 p{ color:#173d49; }

/* विवेचन - सिंगल कॉलम */
.sbh-elaboration-wrap{
  padding:0 26px;
  margin-bottom:20px;
}

.sbh-elaboration{
  background:#efe4f1;
  border:1px solid #c79fcb;
}
.sbh-elaboration h3{ color:#5c3760; }
.sbh-elaboration p{ color:#432942; }

/* ======================================
६) चिंतन कार्ड - हिरोसारखाच रंग
====================================== */
.sbh-chintan-wrap{
  padding:0 26px 26px;
}

.sbh-chintan{
  position:relative;
  overflow:hidden;
  border-radius:16px;
  padding:24px 26px;
  text-align:center;
  background:linear-gradient(135deg,var(--sbh-orange) 0%,var(--sbh-red) 45%,var(--sbh-red-dark) 100%);
}

.sbh-chintan-glow{
  position:absolute;
  top:-80px;
  right:-70px;
  width:200px;
  height:200px;
  background:radial-gradient(circle,var(--sbh-flare) 0%,transparent 70%);
  border-radius:50%;
  opacity:.7;
}

.sbh-chintan-label{
  position:relative;
  font-family:'Baloo 2',sans-serif;
  color:#ffe9b3;
  font-size:16px;
  font-weight:700;
  margin-bottom:8px;
}

.sbh-chintan-text{
  position:relative;
  color:#fff8e7;
  font-size:18px;
  font-style:italic;
  margin:0;
}

/* ======================================
७) फूटर
====================================== */
.sbh-footer{
  background:var(--sbh-cream-2);
  border-top:1px solid var(--sbh-gold);
  padding:16px 26px;
  text-align:center;
  color:#7a3b0a;
  font-family:'Baloo 2',sans-serif;
  font-size:16px;
  font-weight:700;
}

/* ======================================
८) मोबाईल Media Query
====================================== */
@media (max-width:600px){
  #sds-subhashit-root{ border-radius:18px !important; }
  .sbh-hero{ padding:28px 18px; }
  .sbh-om{ width:70px; height:70px; font-size:36px; }
  .sbh-title{ font-size:28px; }
  .sbh-section{ padding:20px 18px 4px; }
  .sbh-shloka-wrap, .sbh-single-wrap, .sbh-apply-grid, .sbh-elaboration-wrap, .sbh-chintan-wrap{ padding-left:18px; padding-right:18px; }
  .sbh-shloka-text{ font-size:18px; padding:8px 4px; }
  .sbh-apply-grid{ grid-template-columns:1fr; }
  .sbh-quote-mark{ font-size:36px; }
}