/*
 * SRIHATI Frontpage Landing Styles
 *
 * Scope: Site Home only (body.srihati-fullwidth-frontpage).
 * Rationale: Improve mobile responsiveness and consistent sizing without
 * impacting course pages, dashboards or admin screens.
 */

/* Prevent horizontal scroll caused by wide decorative elements. */
body.srihati-fullwidth-frontpage {
  overflow-x: hidden;
}

/* Hover lift used across cards and CTAs (disabled on touch-only devices). */
body.srihati-fullwidth-frontpage .srihati-hover-lift {
  --srihati-hover-shadow: 0 18px 46px rgba(149, 54, 102, 0.16);
  will-change: transform;
}

body.srihati-fullwidth-frontpage .srihati-video-card {
  --srihati-hover-shadow: 0 20px 60px rgba(149, 54, 102, 0.25);
}

@media (hover: hover) and (pointer: fine) {
  body.srihati-fullwidth-frontpage .srihati-hover-lift {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  body.srihati-fullwidth-frontpage .srihati-hover-lift:hover {
    transform: translateY(-6px);
    box-shadow: var(--srihati-hover-shadow) !important;
  }
}

/* Hero right-column feature grid: 2 columns on desktop, 1 on small screens. */
body.srihati-fullwidth-frontpage .srihati-hero-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 576px) {
  body.srihati-fullwidth-frontpage .srihati-hero-feature-grid {
    grid-template-columns: 1fr;
  }
}

/* Conversion CTA button styling (frontpage only). */
body.srihati-fullwidth-frontpage .btn-hero-primary {
  border-radius: 999px;
  background: linear-gradient(135deg, #953666, #BE3862);
  border: none;
  color: #fff;
  box-shadow: 0 8px 20px rgba(149, 54, 102, 0.25);
}

body.srihati-fullwidth-frontpage .btn-hero-primary:hover,
body.srihati-fullwidth-frontpage .btn-hero-primary:focus {
  color: #fff;
}

/* Shared section typography on the landing page. */
body.srihati-fullwidth-frontpage .srihati-section-title {
  color: #953666;
  font-weight: 800;
  line-height: 1.2;
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 12px;
}

body.srihati-fullwidth-frontpage .srihati-section-subtitle {
  color: #6b7280;
  font-size: clamp(16px, 2.2vw, 19px);
  line-height: 1.6;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* Leadership / trust block: standardise spacing and responsive typography. */
body.srihati-fullwidth-frontpage .srihati-leadership-section {
  padding: clamp(10px, 7vw, 2px) 2px;
  background: linear-gradient(135deg, #f8f9fa 0%, #f3f4f6 50%, #f8f9fa 100%);
  position: relative;
  overflow: hidden;
}

body.srihati-fullwidth-frontpage .srihati-section-wrapper {
  padding: 2px 0;
}

body.srihati-fullwidth-frontpage #frontpage-course-list,
body.srihati-fullwidth-frontpage .srihati-public-courses-section {
  margin: 0rem auto;
}

body.srihati-fullwidth-frontpage .srihati-leadership-container {
  position: relative;
}

body.srihati-fullwidth-frontpage .srihati-section-heading {
  text-align: center;
  margin-bottom: clamp(28px, 5vw, 60px);
}

body.srihati-fullwidth-frontpage .srihati-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #953666, #BE3862);
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

body.srihati-fullwidth-frontpage .srihati-gradient-title {
  margin: 0 0 16px;
  font-weight: 800;
  line-height: 1.15;
  font-size: clamp(30px, 5vw, 48px);
  background: linear-gradient(135deg, #953666, #BE3862);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.srihati-fullwidth-frontpage .srihati-section-lead {
  margin: 0 auto;
  max-width: 720px;
  color: #6b7280;
  font-size: clamp(16px, 2.4vw, 20px);
  line-height: 1.6;
}

body.srihati-fullwidth-frontpage .srihati-leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

@media (max-width: 576px) {
  body.srihati-fullwidth-frontpage .srihati-leadership-grid {
    gap: 18px;
  }
}

/* Shared panel style (stats, trainers, trust). */
body.srihati-fullwidth-frontpage .srihati-panel {
  margin-top: clamp(24px, 5vw, 40px);
  padding: clamp(22px, 4vw, 48px);
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(149, 54, 102, 0.10);
  box-shadow: 0 10px 40px rgba(149, 54, 102, 0.08);
}

body.srihati-fullwidth-frontpage .srihati-panel--trust {
  background: linear-gradient(135deg, rgba(149, 54, 102, 0.05) 0%, rgba(190, 56, 98, 0.03) 100%);
  border: 2px solid rgba(149, 54, 102, 0.10);
}

body.srihati-fullwidth-frontpage .srihati-panel-title {
  text-align: center;
  margin: 0 0 28px;
  font-weight: 800;
  color: #953666;
  font-size: clamp(22px, 3.2vw, 32px);
}

body.srihati-fullwidth-frontpage .srihati-panel-heading {
  text-align: center;
  margin-bottom: 28px;
}

body.srihati-fullwidth-frontpage .srihati-panel-heading .srihati-panel-title {
  margin-bottom: 10px;
}

body.srihati-fullwidth-frontpage .srihati-panel-lead {
  margin: 0 auto;
  max-width: 800px;
  color: #6b7280;
  font-size: 16px;
  line-height: 1.6;
}

/* Stats grid: avoid 4 fixed columns on mobile. */
body.srihati-fullwidth-frontpage .srihati-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  text-align: center;
}

body.srihati-fullwidth-frontpage .srihati-stat-number {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(135deg, #953666, #BE3862);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.srihati-fullwidth-frontpage .srihati-stat-label {
  margin-top: 8px;
  color: #6b7280;
  font-size: 16px;
}

@media (max-width: 576px) {
  body.srihati-fullwidth-frontpage .srihati-stat-label {
    font-size: 14px;
  }
}

/* Trainers: cards and image sizing. */
body.srihati-fullwidth-frontpage .srihati-trainers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

body.srihati-fullwidth-frontpage .srihati-trainer-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(149, 54, 102, 0.12);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

body.srihati-fullwidth-frontpage .srihati-trainer-img {
  width: 100%;
  height: clamp(220px, 45vw, 320px);
  object-fit: cover;
  display: block;
}

body.srihati-fullwidth-frontpage .srihati-trainer-body {
  padding: 16px 18px;
}

body.srihati-fullwidth-frontpage .srihati-trainer-name {
  font-weight: 800;
  color: #953666;
  font-size: 18px;
  line-height: 1.25;
}

body.srihati-fullwidth-frontpage .srihati-trainer-title {
  color: #6b7280;
  font-size: 14px;
  margin-top: 6px;
  line-height: 1.4;
}

/* Trust grid: avoid 3 fixed columns on mobile. */
body.srihati-fullwidth-frontpage .srihati-trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

/* Video showcase: centralise layout and reduce large fixed margins. */
body.srihati-fullwidth-frontpage .srihati-video-showcase-section {
  margin-top: clamp(40px, 6vw, 60px);
  padding: 20px 20px;
}

body.srihati-fullwidth-frontpage .srihati-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

body.srihati-fullwidth-frontpage .srihati-section-cta {
  text-align: center;
  margin-top: 32px;
}

/* Pricing plans: responsive card grid and consistent spacing. */
body.srihati-fullwidth-frontpage .srihati-plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  align-items: stretch;
}

body.srihati-fullwidth-frontpage .srihati-plan-card {
  --srihati-plan-accent: #953666;
  --srihati-plan-accent-2: #BE3862;
  --srihati-plan-chip-bg: rgba(149, 54, 102, 0.10);
  --srihati-plan-cta-shadow: rgba(149, 54, 102, 0.22);

  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(149, 54, 102, 0.06), rgba(255, 255, 255, 1));
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  box-shadow: 0 18px 60px rgba(15, 23, 42, 0.08);
  padding: clamp(18px, 3vw, 30px);
  display: flex;
  flex-direction: column;
}

body.srihati-fullwidth-frontpage .srihati-plan-card.srihati-hover-lift {
  --srihati-hover-shadow: 0 22px 70px var(--srihati-plan-cta-shadow);
}

body.srihati-fullwidth-frontpage .srihati-plan-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--srihati-plan-accent), var(--srihati-plan-accent-2));
}

body.srihati-fullwidth-frontpage .srihati-plan-card--corporate {
  --srihati-plan-accent: #0f766e;
  --srihati-plan-accent-2: #14b8a6;
  --srihati-plan-chip-bg: rgba(20, 184, 166, 0.12);
  --srihati-plan-cta-shadow: rgba(20, 184, 166, 0.22);

  background: linear-gradient(135deg, rgba(20, 184, 166, 0.08), rgba(255, 255, 255, 1));
}

body.srihati-fullwidth-frontpage .srihati-plan-header {
  text-align: center;
  margin-bottom: 16px;
}

body.srihati-fullwidth-frontpage .srihati-plan-icon {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--srihati-plan-accent), var(--srihati-plan-accent-2));
  box-shadow: 0 14px 40px var(--srihati-plan-cta-shadow);
}

body.srihati-fullwidth-frontpage .srihati-plan-icon svg {
  width: 30px;
  height: 30px;
  display: block;
}

body.srihati-fullwidth-frontpage .srihati-plan-type {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 12px;
  margin: 0 auto 10px;
  border-radius: 999px;
  background: var(--srihati-plan-chip-bg);
  color: var(--srihati-plan-accent);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

body.srihati-fullwidth-frontpage .srihati-plan-title {
  margin: 0 0 10px;
  color: var(--srihati-plan-accent);
  font-weight: 800;
  font-size: 22px;
}

body.srihati-fullwidth-frontpage .srihati-plan-subtitle {
  margin: 0;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.5;
}

body.srihati-fullwidth-frontpage .srihati-plan-pricing {
  text-align: center;
  margin: 18px 0 12px;
}

body.srihati-fullwidth-frontpage .srihati-plan-pricing .price {
  color: var(--srihati-plan-accent);
  font-weight: 900;
  font-size: clamp(32px, 4.5vw, 44px);
  line-height: 1.05;
}

body.srihati-fullwidth-frontpage .srihati-plan-pricing .period {
  color: #6b7280;
  font-size: 14px;
  margin-top: 6px;
}

body.srihati-fullwidth-frontpage .srihati-plan-pricing .perday {
  color: var(--srihati-plan-accent-2);
  font-size: 13px;
  margin-top: 8px;
  font-weight: 700;
}

body.srihati-fullwidth-frontpage .srihati-plan-features {
  list-style: none;
  padding: 0;
  margin: 18px 0 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

body.srihati-fullwidth-frontpage .srihati-plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #1f2937;
  font-size: 14px;
  line-height: 1.5;
}

body.srihati-fullwidth-frontpage .srihati-plan-check {
  color: #22c55e;
  line-height: 1.2;
  margin-top: 1px;
}

body.srihati-fullwidth-frontpage .srihati-plan-check svg {
  width: 18px;
  height: 18px;
  display: block;
}

body.srihati-fullwidth-frontpage .srihati-plan-cta {
  margin-top: auto;
  display: block;
  text-align: center;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  padding: 14px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--srihati-plan-accent), var(--srihati-plan-accent-2));
  box-shadow: 0 12px 28px var(--srihati-plan-cta-shadow);
}

body.srihati-fullwidth-frontpage .srihati-plan-cta:hover,
body.srihati-fullwidth-frontpage .srihati-plan-cta:focus {
  color: #fff;
  text-decoration: none;
}

/* Social media section: compact cards with strong contrast and mobile-first spacing. */
body.srihati-fullwidth-frontpage .srihati-social-section {
  padding: clamp(40px, 6vw, 70px) 0;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 10%, rgba(149, 54, 102, 0.18) 0%, rgba(149, 54, 102, 0.00) 55%),
    radial-gradient(circle at 88% 18%, rgba(24, 119, 242, 0.18) 0%, rgba(24, 119, 242, 0.00) 52%),
    radial-gradient(circle at 76% 92%, rgba(20, 184, 166, 0.14) 0%, rgba(20, 184, 166, 0.00) 55%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-top: 1px solid rgba(148, 163, 184, 0.55);
  border-bottom: 1px solid rgba(148, 163, 184, 0.55);
}

body.srihati-fullwidth-frontpage .srihati-social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  align-items: stretch;
  margin-top: 18px;
}

body.srihati-fullwidth-frontpage .srihati-social-card {
  --srihati-social-accent: #953666;
  --srihati-social-accent-2: #BE3862;

  position: relative;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  box-shadow: 0 18px 60px rgba(15, 23, 42, 0.08);
  padding: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

body.srihati-fullwidth-frontpage .srihati-social-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--srihati-social-accent), var(--srihati-social-accent-2));
}

body.srihati-fullwidth-frontpage .srihati-social-card--facebook {
  --srihati-social-accent: #1877F2;
  --srihati-social-accent-2: #60a5fa;

  background:
    radial-gradient(circle at 22% 18%, rgba(24, 119, 242, 0.16) 0%, rgba(24, 119, 242, 0.00) 55%),
    linear-gradient(135deg, rgba(24, 119, 242, 0.06), rgba(255, 255, 255, 1));
  border-color: rgba(24, 119, 242, 0.28);
}

body.srihati-fullwidth-frontpage .srihati-social-card--community {
  --srihati-social-accent: #0f766e;
  --srihati-social-accent-2: #14b8a6;

  background:
    radial-gradient(circle at 18% 10%, rgba(149, 54, 102, 0.14) 0%, rgba(149, 54, 102, 0.00) 48%),
    radial-gradient(circle at 86% 80%, rgba(20, 184, 166, 0.12) 0%, rgba(20, 184, 166, 0.00) 55%),
    linear-gradient(135deg, rgba(15, 118, 110, 0.06), rgba(255, 255, 255, 1));
  border-color: rgba(15, 118, 110, 0.26);
}

body.srihati-fullwidth-frontpage .srihati-social-card__header {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

body.srihati-fullwidth-frontpage .srihati-social-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(135deg, var(--srihati-social-accent), var(--srihati-social-accent-2));
  color: #fff;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  flex: 0 0 auto;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

body.srihati-fullwidth-frontpage .srihati-social-card__badge--teal {
  --srihati-social-accent: #0f766e;
  --srihati-social-accent-2: #14b8a6;
}

body.srihati-fullwidth-frontpage .srihati-social-card__badgeicon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body.srihati-fullwidth-frontpage .srihati-social-card__badgeicon svg {
  width: 18px;
  height: 18px;
  display: block;
}

body.srihati-fullwidth-frontpage .srihati-social-card__meta {
  flex: 1 1 auto;
  min-width: 0;
}

body.srihati-fullwidth-frontpage .srihati-social-card__metatitle {
  font-weight: 900;
  color: #0f172a;
  line-height: 1.2;
}

body.srihati-fullwidth-frontpage .srihati-social-card__metasub {
  margin-top: 4px;
  color: #475569;
  font-weight: 700;
  font-size: 13px;
}

body.srihati-fullwidth-frontpage .srihati-social-embed {
  margin-top: 14px;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(255, 255, 255, 0.96);
  overflow: hidden;
}

body.srihati-fullwidth-frontpage .srihati-social-embed iframe {
  display: block;
  width: 100%;
  height: 520px;
  border: 0;
}

body.srihati-fullwidth-frontpage .srihati-social-card__footer {
  margin-top: 12px;
}

body.srihati-fullwidth-frontpage .srihati-social-stats {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

body.srihati-fullwidth-frontpage .srihati-social-stat {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(148, 163, 184, 0.55);
  border-radius: 18px;
  padding: 10px 12px;
  text-align: center;
}

body.srihati-fullwidth-frontpage .srihati-social-stat__value {
  font-weight: 900;
  color: var(--srihati-social-accent);
  font-size: 16px;
  line-height: 1.15;
}

body.srihati-fullwidth-frontpage .srihati-social-stat__label {
  margin-top: 4px;
  color: #475569;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}

body.srihati-fullwidth-frontpage .srihati-social-links {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

body.srihati-fullwidth-frontpage .srihati-social-link {
  --srihati-social-link-accent: #953666;
  --srihati-social-link-accent-2: #BE3862;

  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.92));
  color: #0f172a;
  text-decoration: none;
  font-weight: 900;
}

body.srihati-fullwidth-frontpage .srihati-social-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--srihati-social-link-accent), var(--srihati-social-link-accent-2));
  opacity: 0.9;
}

body.srihati-fullwidth-frontpage .srihati-social-link__left {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

body.srihati-fullwidth-frontpage .srihati-social-link__right {
  color: #475569;
  font-weight: 800;
  font-size: 12px;
  text-align: right;
}

body.srihati-fullwidth-frontpage .srihati-social-link__icon {
  width: 34px;
  height: 34px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--srihati-social-link-accent), var(--srihati-social-link-accent-2));
  color: #fff;
  flex: 0 0 auto;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12);
}

body.srihati-fullwidth-frontpage .srihati-social-link__icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

body.srihati-fullwidth-frontpage .srihati-social-link--facebook {
  --srihati-social-link-accent: #1877F2;
  --srihati-social-link-accent-2: #60a5fa;

  border-color: rgba(24, 119, 242, 0.28);
}

body.srihati-fullwidth-frontpage .srihati-social-link--facebook .srihati-social-link__icon {
  box-shadow: 0 14px 34px rgba(24, 119, 242, 0.22);
}

body.srihati-fullwidth-frontpage .srihati-social-link--instagram {
  --srihati-social-link-accent: #BE3862;
  --srihati-social-link-accent-2: #f472b6;

  border-color: rgba(190, 56, 98, 0.25);
}

body.srihati-fullwidth-frontpage .srihati-social-link--instagram .srihati-social-link__icon {
  box-shadow: 0 14px 34px rgba(190, 56, 98, 0.22);
}

body.srihati-fullwidth-frontpage .srihati-social-link--linkedin {
  --srihati-social-link-accent: #0A66C2;
  --srihati-social-link-accent-2: #38bdf8;

  border-color: rgba(10, 102, 194, 0.26);
}

body.srihati-fullwidth-frontpage .srihati-social-link--linkedin .srihati-social-link__icon {
  box-shadow: 0 14px 34px rgba(10, 102, 194, 0.20);
}

body.srihati-fullwidth-frontpage .srihati-social-link--website {
  --srihati-social-link-accent: #953666;
  --srihati-social-link-accent-2: #14b8a6;

  border-color: rgba(149, 54, 102, 0.25);
}

body.srihati-fullwidth-frontpage .srihati-social-link--website .srihati-social-link__icon {
  box-shadow: 0 14px 34px rgba(149, 54, 102, 0.18);
}

body.srihati-fullwidth-frontpage .srihati-social-link--tiktok {
  --srihati-social-link-accent: #0f172a;
  --srihati-social-link-accent-2: #14b8a6;
}

body.srihati-fullwidth-frontpage .srihati-social-link--tiktok .srihati-social-link__icon {
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.14);
}

@media (hover: hover) and (pointer: fine) {
  body.srihati-fullwidth-frontpage .srihati-social-link:hover {
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.10);
  }
}

@media (max-width: 576px) {
  body.srihati-fullwidth-frontpage .srihati-social-section {
    padding: 34px 0;
  }

  body.srihati-fullwidth-frontpage .srihati-social-card {
    padding: 14px;
    border-radius: 20px;
  }

  body.srihati-fullwidth-frontpage .srihati-social-embed iframe {
    height: 420px;
  }

  body.srihati-fullwidth-frontpage .srihati-social-stats {
    grid-template-columns: 1fr;
  }
}

/* Course library (public course list) */
body.srihati-fullwidth-frontpage .srihati-course-library-section {
  background: radial-gradient(circle at 20% 10%, rgba(149, 54, 102, 0.08) 0%, rgba(149, 54, 102, 0.00) 55%),
    radial-gradient(circle at 85% 30%, rgba(190, 56, 98, 0.07) 0%, rgba(190, 56, 98, 0.00) 60%),
    linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
  overflow: hidden;
}

/* Ensure the course library never renders invisible on mobile due to reveal-animation defaults. */
body.srihati-fullwidth-frontpage .srihati-course-library-section.srihati-public-courses-section {
  opacity: 1 !important;
  transform: none !important;
}

body.srihati-fullwidth-frontpage .srihati-course-library-header {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

body.srihati-fullwidth-frontpage .srihati-course-library-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

body.srihati-fullwidth-frontpage .srihati-course-search {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 auto;
  min-width: 260px;
  max-width: 560px;
  min-height: 54px;
  padding: 10px 14px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(149, 54, 102, 0.22);
  box-shadow: 0 10px 24px rgba(149, 54, 102, 0.10);
  margin: 0;
}

body.srihati-fullwidth-frontpage .srihati-course-search svg {
  color: #953666;
  width: 18px;
  height: 18px;
  display: block;
}

body.srihati-fullwidth-frontpage .srihati-course-search:focus-within {
  border-color: rgba(149, 54, 102, 0.40);
  box-shadow: 0 14px 34px rgba(149, 54, 102, 0.16);
}

body.srihati-fullwidth-frontpage .srihati-course-search-input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 16px;
  color: #111827;
  padding: 0;
  height: 28px;
}

body.srihati-fullwidth-frontpage .srihati-course-search-input::placeholder {
  color: #9ca3af;
}

body.srihati-fullwidth-frontpage .srihati-course-search-clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 0;
  background: rgba(17, 24, 39, 0.06);
  color: #6b7280;
  padding: 0;
}

body.srihati-fullwidth-frontpage .srihati-course-search-clear svg {
  color: inherit;
  width: 16px;
  height: 16px;
  display: block;
}

@media (hover: hover) and (pointer: fine) {
  body.srihati-fullwidth-frontpage .srihati-course-search-clear:hover {
    background: rgba(17, 24, 39, 0.10);
  }
}

body.srihati-fullwidth-frontpage .srihati-course-library-ctas {
  display: flex;
  align-items: center;
  gap: 12px;
}

body.srihati-fullwidth-frontpage .srihati-course-search-empty {
  margin: 14px 0 0;
  text-align: center;
  color: #6b7280;
  font-weight: 700;
}

body.srihati-fullwidth-frontpage .srihati-course-category-list {
  display: flex;
  flex-direction: column;
  gap: 42px;
  margin-top: 34px;
}

body.srihati-fullwidth-frontpage .srihati-course-category {
  display: block;
  width: 100%;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(149, 54, 102, 0.08);
  border-radius: 26px;
  padding: clamp(16px, 2.6vw, 26px);
  box-shadow: 0 10px 40px rgba(149, 54, 102, 0.07);
}

body.srihati-fullwidth-frontpage .srihati-course-category-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  text-align: left;
  margin-bottom: 18px;
}

body.srihati-fullwidth-frontpage .srihati-course-category-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(149, 54, 102, 0.18);
  background: rgba(255, 255, 255, 0.92);
  color: #953666;
  padding: 0;
  position: relative;
}

body.srihati-fullwidth-frontpage .srihati-course-category-toggle::before,
body.srihati-fullwidth-frontpage .srihati-course-category-toggle::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transform: translate(-50%, -50%);
}

body.srihati-fullwidth-frontpage .srihati-course-category-toggle::after {
  width: 2px;
  height: 18px;
  transition: opacity 0.15s ease;
}

body.srihati-fullwidth-frontpage .srihati-course-category:not(.is-collapsed) .srihati-course-category-toggle::after {
  opacity: 0;
}

@media (hover: hover) and (pointer: fine) {
  body.srihati-fullwidth-frontpage .srihati-course-category-toggle:hover {
    background: #fff;
    border-color: rgba(149, 54, 102, 0.30);
  }
}

body.srihati-fullwidth-frontpage .srihati-course-category.is-collapsed .srihati-course-category-head {
  margin-bottom: 0;
}

body.srihati-fullwidth-frontpage .srihati-course-category-title {
  margin: 0;
  color: #953666;
  font-weight: 900;
  letter-spacing: -0.01em;
  font-size: clamp(18px, 2.8vw, 26px);
  line-height: 1.2;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}

body.srihati-fullwidth-frontpage .srihati-course-category-title-icon {
  width: 34px;
  height: 34px;
  border-radius: 14px;
  background: linear-gradient(135deg, #953666, #BE3862);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(149, 54, 102, 0.18);
  flex: 0 0 auto;
}

body.srihati-fullwidth-frontpage .srihati-course-category-title-icon svg {
  width: 16px;
  height: 16px;
  display: block;
}

body.srihati-fullwidth-frontpage .srihati-course-category-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

body.srihati-fullwidth-frontpage .srihati-category-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(149, 54, 102, 0.08);
  border: 1px solid rgba(149, 54, 102, 0.12);
  color: #953666;
  font-size: 12px;
  font-weight: 800;
}

body.srihati-fullwidth-frontpage .srihati-category-chip svg {
  width: 14px;
  height: 14px;
  display: block;
}

body.srihati-fullwidth-frontpage .srihati-category-chip.is-available {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.25);
  color: #166534;
}

body.srihati-fullwidth-frontpage .srihati-category-chip.is-coming {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.25);
  color: #92400e;
}

body.srihati-fullwidth-frontpage .srihati-course-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(149, 54, 102, 0.10);
}

body.srihati-fullwidth-frontpage .srihati-course-category.is-collapsed .srihati-course-card-grid {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

body.srihati-fullwidth-frontpage .srihati-course-card {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(149, 54, 102, 0.12);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
  height: 100%;
}

body.srihati-fullwidth-frontpage .srihati-course-card.is-coming {
  border-style: dashed;
  border-color: rgba(149, 54, 102, 0.22);
  background: rgba(255, 255, 255, 0.92);
}

body.srihati-fullwidth-frontpage .srihati-course-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

body.srihati-fullwidth-frontpage .srihati-course-card-link:hover,
body.srihati-fullwidth-frontpage .srihati-course-card-link:focus {
  text-decoration: none;
}

body.srihati-fullwidth-frontpage .srihati-course-card-media {
  position: relative;
  background: linear-gradient(135deg, rgba(149, 54, 102, 0.22), rgba(190, 56, 98, 0.16));
  overflow: hidden;
}

/* Mobile-safe 16:9 ratio (avoids aspect-ratio rendering issues on some WebViews). */
body.srihati-fullwidth-frontpage .srihati-course-card-media::before {
  content: '';
  display: block;
  padding-top: 56.25%;
}

body.srihati-fullwidth-frontpage .srihati-course-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  inset: 0;
}

body.srihati-fullwidth-frontpage .srihati-course-card-img--placeholder {
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.00) 55%),
    linear-gradient(135deg, rgba(149, 54, 102, 0.28), rgba(190, 56, 98, 0.20));
}

body.srihati-fullwidth-frontpage .srihati-course-card-overlay {
  position: absolute;
  inset: 0;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.00) 0%, rgba(17, 24, 39, 0.38) 100%);
  pointer-events: none;
}

body.srihati-fullwidth-frontpage .srihati-course-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: flex-start;
}

body.srihati-fullwidth-frontpage .srihati-course-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.01em;
  background: rgba(255, 255, 255, 0.92);
  color: #953666;
  border: 1px solid rgba(255, 255, 255, 0.55);
}

body.srihati-fullwidth-frontpage .srihati-course-chip.is-coming {
  background: rgba(190, 56, 98, 0.92);
  color: #fff;
}

body.srihati-fullwidth-frontpage .srihati-course-chip.is-duration {
  background: rgba(17, 24, 39, 0.72);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.12);
}

@media (hover: hover) and (pointer: fine) {
  body.srihati-fullwidth-frontpage .srihati-course-card .srihati-course-card-img {
    transition: transform 0.35s ease;
  }

  body.srihati-fullwidth-frontpage .srihati-course-card:hover .srihati-course-card-img {
    transform: scale(1.04);
  }
}

body.srihati-fullwidth-frontpage .srihati-course-card-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
}

body.srihati-fullwidth-frontpage .srihati-course-card-title {
  margin: 0;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: #111827;
  font-size: 18px;
  line-height: 1.25;
}

body.srihati-fullwidth-frontpage .srihati-course-card-summary {
  margin: 0;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(14px * 1.55 * 3);
}

body.srihati-fullwidth-frontpage .srihati-course-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.srihati-fullwidth-frontpage .srihati-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #374151;
  font-size: 12px;
  font-weight: 800;
}

body.srihati-fullwidth-frontpage .srihati-course-card-action {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(149, 54, 102, 0.10);
}

body.srihati-fullwidth-frontpage .srihati-course-card-cta {
  font-weight: 900;
  color: #953666;
}

body.srihati-fullwidth-frontpage .srihati-course-card-arrow {
  color: #953666;
  font-size: 18px;
}

@media (max-width: 576px) {
  body.srihati-fullwidth-frontpage .srihati-course-library-controls {
    flex-direction: column;
    align-items: stretch;
  }

  body.srihati-fullwidth-frontpage .srihati-course-library-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  body.srihati-fullwidth-frontpage .srihati-course-library-ctas a {
    width: 100%;
  }

  body.srihati-fullwidth-frontpage .srihati-course-card-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.srihati-fullwidth-frontpage .srihati-course-card-img,
  body.srihati-fullwidth-frontpage .srihati-hover-lift {
    transition: none !important;
    transform: none !important;
  }
}
