/* Sri Ram Exams V6.4.4 — Homepage lower-section visual upgrade.
   Everything is scoped to classes applied only on the front page. */

/* Shared section treatment — no global theme variables/selectors changed. */
.e2-section.sre-v644-ready{
  position:relative;
  isolation:isolate;
}
.e2-section.sre-v644-ready:before{
  content:"";
  position:absolute;
  inset:8px 0 8px;
  z-index:-1;
  pointer-events:none;
  opacity:.72;
}
.e2-section.sre-v644-current:before{
  background:linear-gradient(180deg,rgba(37,99,235,.045),rgba(37,99,235,0));
}
.e2-section.sre-v644-news:before{
  background:linear-gradient(180deg,rgba(245,158,11,.052),rgba(245,158,11,0));
}
.e2-section.sre-v644-mains:before{
  background:linear-gradient(180deg,rgba(124,58,237,.048),rgba(124,58,237,0));
}

.sre-v644-ready .e2-section-head{
  margin-bottom:20px;
}
.sre-v644-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:7px;
  margin:0 0 7px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid transparent;
  font-size:10px;
  line-height:1;
  font-weight:950;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.sre-v644-eyebrow b{font-size:13px;line-height:1}
.sre-v644-current .sre-v644-eyebrow{background:#eff6ff;color:#1d4ed8;border-color:#bfdbfe}
.sre-v644-news .sre-v644-eyebrow{background:#fff7ed;color:#c2410c;border-color:#fed7aa}
.sre-v644-mains .sre-v644-eyebrow{background:#faf5ff;color:#7e22ce;border-color:#e9d5ff}

.sre-v644-ready .e2-section-head h2{
  line-height:1.15;
}
.sre-v644-ready .e2-section-sub{
  max-width:720px;
  color:#53657f;
}
.sre-v644-ready .e2-section-head>.e2-btn{
  border-radius:999px;
  padding:9px 14px;
  box-shadow:0 7px 18px rgba(15,23,42,.06);
}

/* Feed cards */
.sre-v644-feed-grid{
  gap:18px;
}
.sre-v644-feed-grid>.sre-v644-feed-card{
  min-width:0;
  position:relative;
  overflow:hidden;
  padding:22px;
  border-radius:21px;
  border-top:4px solid;
  box-shadow:0 12px 30px rgba(15,23,42,.075);
  transform:none;
}
.sre-v644-feed-grid>.sre-v644-feed-card:after{
  content:"";
  position:absolute;
  width:120px;
  height:120px;
  right:-54px;
  top:-60px;
  border-radius:50%;
  pointer-events:none;
  opacity:.55;
}
.sre-v644-current .sre-v644-feed-card{border-top-color:#2563eb}
.sre-v644-current .sre-v644-feed-card:after{background:#dbeafe}
.sre-v644-news .sre-v644-feed-card{border-top-color:#f97316}
.sre-v644-news .sre-v644-feed-card:after{background:#ffedd5}
.sre-v644-mains .sre-v644-feed-card{border-top-color:#8b5cf6}
.sre-v644-mains .sre-v644-feed-card:after{background:#ede9fe}

.sre-v644-feed-grid>.sre-v644-feed-card:hover{
  transform:translateY(-3px);
  box-shadow:0 17px 38px rgba(15,23,42,.105);
}
.sre-v644-feed-grid>.sre-v644-featured{
  box-shadow:0 15px 34px rgba(15,23,42,.095);
}
.sre-v644-current .sre-v644-featured{background:linear-gradient(155deg,#f8fbff,var(--card) 47%)}
.sre-v644-news .sre-v644-featured{background:linear-gradient(155deg,#fffaf5,var(--card) 47%)}
.sre-v644-mains .sre-v644-featured{background:linear-gradient(155deg,#fbf9ff,var(--card) 47%)}

.sre-v644-card-badge{
  display:inline-flex;
  align-items:center;
  margin:0 0 10px;
  padding:5px 9px;
  border-radius:999px;
  font-size:9px;
  line-height:1;
  font-weight:950;
  letter-spacing:.075em;
  position:relative;
  z-index:1;
}
.sre-v644-current .sre-v644-card-badge{background:#dbeafe;color:#1d4ed8}
.sre-v644-news .sre-v644-card-badge{background:#ffedd5;color:#c2410c}
.sre-v644-mains .sre-v644-card-badge{background:#ede9fe;color:#6d28d9}

.sre-v644-feed-card .e2-meta{
  margin:0 0 9px;
  position:relative;
  z-index:1;
}
.sre-v644-feed-card .e2-pill{
  background:color-mix(in srgb,var(--card) 88%,#f8fafc);
  border-color:var(--border);
  font-weight:800;
}
.sre-v644-feed-card h3{
  margin:0 0 9px;
  font-size:19px;
  line-height:1.38;
  position:relative;
  z-index:1;
}
.sre-v644-feed-card h3 a:hover{
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:3px;
}
.sre-v644-feed-card p{
  min-height:46px;
  line-height:1.65;
  color:#53657f;
  position:relative;
  z-index:1;
}
.sre-v644-open-link{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  min-height:36px;
  margin-top:16px!important;
  padding:8px 12px;
  border-radius:10px;
  border:1px solid transparent;
  font-size:12px!important;
  position:relative;
  z-index:1;
}
.sre-v644-current .sre-v644-open-link{background:#eff6ff;color:#1d4ed8!important;border-color:#bfdbfe}
.sre-v644-news .sre-v644-open-link{background:#fff7ed;color:#c2410c!important;border-color:#fed7aa}
.sre-v644-mains .sre-v644-open-link{background:#faf5ff;color:#7e22ce!important;border-color:#e9d5ff}

/* The preparation-loop band was already strong; this adds only premium finishing. */
.sre-feature-band.sre-v644-loop-band{
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 22px 48px rgba(15,23,42,.16);
}
.sre-v644-loop-kicker{
  display:inline-flex;
  margin-bottom:10px;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.11);
  border:1px solid rgba(255,255,255,.14);
  color:#e0e7ff;
  font-size:10px;
  font-weight:900;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.sre-v644-loop-band .sre-feature-list div{
  backdrop-filter:blur(4px);
  transition:transform .18s ease,background .18s ease;
}
.sre-v644-loop-band .sre-feature-list div:hover{
  transform:translateY(-2px);
  background:rgba(255,255,255,.12);
}

/* Premium free-account / dashboard CTA */
.sre-newsletter.sre-v644-signup{
  position:relative;
  overflow:hidden;
  grid-template-columns:minmax(0,1fr) auto;
  gap:26px;
  padding:clamp(26px,4vw,38px);
  border:1px solid rgba(255,255,255,.12);
  border-radius:28px;
  background:
    radial-gradient(circle at 88% 12%,rgba(255,255,255,.16),transparent 25%),
    linear-gradient(135deg,#0b1f3a 0%,#1e3a8a 54%,#6d28d9 100%);
  color:#fff;
  box-shadow:0 22px 48px rgba(15,23,42,.16);
}
.sre-v644-signup:after{
  content:"";
  position:absolute;
  width:260px;
  height:260px;
  right:-110px;
  bottom:-150px;
  border-radius:50%;
  background:rgba(255,255,255,.08);
  pointer-events:none;
}
.sre-v644-signup>div,
.sre-v644-signup>.e2-btn{position:relative;z-index:1}
.sre-v644-signup-kicker{
  display:inline-flex;
  margin-bottom:8px;
  padding:6px 9px;
  border-radius:999px;
  background:rgba(255,255,255,.11);
  border:1px solid rgba(255,255,255,.15);
  color:#dbeafe;
  font-size:10px;
  line-height:1;
  font-weight:950;
  letter-spacing:.08em;
}
.sre-newsletter.sre-v644-signup h3{
  margin:0 0 7px;
  color:#fff;
  font-size:clamp(24px,3vw,31px);
  line-height:1.15;
  letter-spacing:-.5px;
}
.sre-newsletter.sre-v644-signup p{
  max-width:720px;
  color:#dbeafe;
  line-height:1.65;
}
.sre-v644-benefits{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:15px;
}
.sre-v644-benefits span{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.08);
  color:#eef2ff;
  font-size:11px;
  font-weight:800;
}
.sre-v644-benefits b{font-size:12px}
.sre-newsletter.sre-v644-signup>.e2-btn{
  min-height:48px;
  padding:12px 18px;
  border:1px solid rgba(255,255,255,.75);
  border-radius:13px;
  background:#fff;
  color:#1e3a8a;
  box-shadow:0 12px 28px rgba(0,0,0,.14);
  white-space:nowrap;
}
.sre-newsletter.sre-v644-signup>.e2-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 16px 34px rgba(0,0,0,.18);
}

@media(max-width:900px){
  .sre-v644-feed-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .sre-newsletter.sre-v644-signup{grid-template-columns:1fr}
  .sre-newsletter.sre-v644-signup>.e2-btn{justify-self:start}
}

@media(max-width:700px){
  .e2-section.sre-v644-ready:before{inset:4px 0}
  .sre-v644-ready .e2-section-head{gap:10px}
  .sre-v644-ready .e2-section-head>.e2-btn{padding:8px 11px;font-size:12px}
  .sre-v644-feed-grid{grid-template-columns:1fr;gap:13px}
  .sre-v644-feed-grid>.sre-v644-feed-card{padding:18px;border-radius:17px}
  .sre-v644-feed-card h3{font-size:17px}
  .sre-v644-feed-card p{min-height:0;font-size:13px}
  .sre-v644-open-link{width:100%}
  .sre-newsletter.sre-v644-signup{padding:24px 20px;border-radius:21px}
  .sre-v644-benefits{display:grid;grid-template-columns:1fr 1fr;gap:7px}
  .sre-v644-benefits span{border-radius:10px;justify-content:flex-start}
  .sre-newsletter.sre-v644-signup>.e2-btn{width:100%;justify-self:stretch}
}

@media(max-width:420px){
  .sre-v644-benefits{grid-template-columns:1fr}
}

html[data-theme="dark"] .sre-v644-ready .e2-section-sub,
html[data-theme="dark"] .sre-v644-feed-card p{color:var(--muted)}
html[data-theme="dark"] .sre-v644-current .sre-v644-featured,
html[data-theme="dark"] .sre-v644-news .sre-v644-featured,
html[data-theme="dark"] .sre-v644-mains .sre-v644-featured{background:var(--card)}
html[data-theme="dark"] .sre-v644-current .sre-v644-eyebrow,
html[data-theme="dark"] .sre-v644-news .sre-v644-eyebrow,
html[data-theme="dark"] .sre-v644-mains .sre-v644-eyebrow,
html[data-theme="dark"] .sre-v644-current .sre-v644-card-badge,
html[data-theme="dark"] .sre-v644-news .sre-v644-card-badge,
html[data-theme="dark"] .sre-v644-mains .sre-v644-card-badge,
html[data-theme="dark"] .sre-v644-open-link{filter:saturate(.9);}
