/* =============================================
   मदर हॉस्पिटल वेलनेस — Stylesheet
   Hindi-first · Saffron palette · Eczar headings
   ============================================= */

:root {
  /* Brand colors — Saffron / Indian Heritage palette */
  --color-primary: #5C2E1F;
  --color-primary-light: #7A3D28;
  --color-accent: #C2734A;
  --color-accent-soft: #A0593F;
  --color-gold: #DDA15E;

  /* Backgrounds */
  --color-bg: #FBF7F4;
  --color-bg-warm: #F0E2D8;
  --color-bg-warm-dark: #E8DDD0;
  --color-white: #FFFFFF;

  /* Text */
  --color-text: #3D2418;
  --color-text-muted: #6B4A38;
  --color-text-light: #8B5A45;
  --color-text-on-dark: #F0E2D8;

  /* Borders */
  --color-border: #E8DDD0;
  --color-border-warm: #DDB89A;

  /* Typography */
  --font-display: 'Eczar', Georgia, serif;
  --font-logo: 'Rozha One', Georgia, serif;
  --font-body: 'Mukta', -apple-system, system-ui, sans-serif;

  /* Sizes */
  --container-max: 1280px;
  --section-py: 80px;
  --section-px: 48px;

  /* Radii */
  --radius-sm: 2px;
  --radius-md: 8px;
  --radius-pill: 999px;
}

/* ============ RESET & BASE ============ */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  opacity: 0.85;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--color-primary);
  margin: 0;
  letter-spacing: -0.3px;
}

p {
  margin: 0;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

address {
  font-style: normal;
}

/* ============ BUTTONS ============ */
.btn-primary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-bg);
}

.btn-primary:hover {
  background: var(--color-primary-light);
  opacity: 1;
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-bg);
  opacity: 1;
}

/* ============ TOP BAR ============ */
.top-bar {
  background: var(--color-primary);
  color: var(--color-text-on-dark);
  font-size: 13px;
}

.top-bar-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.top-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.top-link i, .top-info i {
  font-size: 14px;
}

.top-divider {
  color: var(--color-gold);
  opacity: 0.5;
}

/* ============ LANGUAGE TOGGLE ============ */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(221, 161, 94, 0.15);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-gold);
}

.lang-icon {
  font-size: 14px;
  color: var(--color-gold);
}

.lang-btn {
  font-size: 12px;
  font-weight: 500;
  color: var(--color-gold);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  transition: all 0.2s ease;
}

.lang-btn.active {
  background: var(--color-gold);
  color: var(--color-bg);
  font-weight: 600;
}

.lang-btn:not(.active):hover {
  background: rgba(221, 161, 94, 0.25);
}

/* ============ MAIN HEADER ============ */
.main-header {
  background: var(--color-white);
  border-bottom: 0.5px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.logo-block {
  flex-shrink: 0;
}

.logo-title {
  font-family: var(--font-logo);
  font-size: 26px;
  color: var(--color-primary);
  line-height: 1;
}

.logo-subtitle {
  font-size: 10px;
  color: var(--color-accent-soft);
  letter-spacing: 3px;
  margin-top: 4px;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  gap: 30px;
  font-size: 14px;
  font-weight: 500;
}

.main-nav a {
  color: var(--color-text);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}

.main-nav a:hover {
  color: var(--color-primary);
  border-bottom-color: var(--color-accent);
  opacity: 1;
}

.main-nav .has-dropdown i {
  font-size: 12px;
}

.header-cta {
  padding: 11px 22px;
  font-size: 13px;
}

.mobile-menu-toggle {
  display: none;
  font-size: 24px;
  color: var(--color-primary);
}

/* ============ HERO ============ */
.hero {
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-warm) 100%);
  padding: 80px 0;
}

.hero-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--section-px);
}

.hero-eyebrow {
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--color-accent-soft);
  font-weight: 500;
  margin-bottom: 20px;
  text-transform: uppercase;
}

/* IMPORTANT: hero-title spacing fix for Devanagari
   Devanagari matras (ी, ू, े, ै) extend above/below baseline.
   We use display:block on each line + margin-bottom for clean spacing. */
.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 5.5vw, 64px);
  line-height: 1.45;
  color: var(--color-primary);
  letter-spacing: -0.4px;
  max-width: 92%;
  margin: 0;
}

.hero-line-1 {
  display: block;
  margin-bottom: 18px;
}

.hero-line-2 {
  display: block;
}

.hero-accent {
  color: var(--color-accent);
  font-weight: 600;
}

.hero-description {
  font-size: 17px;
  color: var(--color-text);
  line-height: 1.9;
  max-width: 580px;
  margin-top: 32px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 64px;
  padding-top: 36px;
  border-top: 1px solid var(--color-border-warm);
}

.stat-number {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 3.5vw, 44px);
  color: var(--color-primary);
  line-height: 1.1;
}

.stat-number .star {
  font-size: 0.6em;
  color: var(--color-gold);
}

.stat-label {
  font-size: 12px;
  color: var(--color-accent-soft);
  font-weight: 500;
  margin-top: 6px;
}

/* ============ SECTION HEADERS ============ */
.section-header,
.section-header-left {
  max-width: var(--container-max);
  margin: 0 auto 48px;
  padding: 0 var(--section-px);
}

.section-header {
  text-align: center;
}

.section-eyebrow {
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--color-accent-soft);
  font-weight: 500;
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.3;
  margin-top: 14px;
  letter-spacing: -0.3px;
}

.section-description {
  font-size: 15px;
  color: var(--color-text-muted);
  max-width: 540px;
  margin: 18px auto 0;
  line-height: 1.8;
}

/* ============ TREATMENTS GRID ============ */
.treatments {
  background: var(--color-white);
  padding: var(--section-py) 0;
}

.treatments-grid {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--section-px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
}

.treatment-card {
  background: var(--color-white);
  padding: 32px 24px;
  display: block;
  transition: background 0.25s ease;
}

.treatment-card:hover {
  background: var(--color-bg);
  opacity: 1;
}

.treatment-card i {
  font-size: 32px;
  color: var(--color-accent);
}

.treatment-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.4;
  margin-top: 16px;
  margin-bottom: 8px;
}

.treatment-card p {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* ============ DOCTOR SECTION ============ */
.doctor-section {
  background: var(--color-primary);
  color: var(--color-text-on-dark);
  padding: var(--section-py) 0;
}

.doctor-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--section-px);
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
  align-items: center;
}

.doctor-image {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-accent-soft) 100%);
  border-radius: 4px;
  overflow: hidden;
}

.doctor-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.doctor-eyebrow {
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--color-gold);
  font-weight: 500;
  text-transform: uppercase;
}

.doctor-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.2;
  margin-top: 16px;
  color: var(--color-text-on-dark);
  letter-spacing: -0.5px;
}

.doctor-title {
  font-size: 14px;
  color: var(--color-gold);
  letter-spacing: 1.5px;
  margin-top: 12px;
  font-weight: 500;
}

.doctor-bio {
  font-size: 16px;
  line-height: 1.9;
  color: var(--color-text-on-dark);
  margin-top: 24px;
  font-weight: 300;
}

.doctor-credentials {
  display: flex;
  gap: 40px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 0.5px solid var(--color-primary-light);
  flex-wrap: wrap;
}

.cred-label {
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--color-gold);
  text-transform: uppercase;
}

.cred-value {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  margin-top: 6px;
  color: var(--color-text-on-dark);
}

/* ============ PROCESS SECTION ============ */
.process {
  padding: var(--section-py) 0;
  background: var(--color-bg);
}

.process-grid {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--section-px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.step-number {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 56px;
  color: var(--color-gold);
  line-height: 1;
}

.process-step h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  margin-top: 16px;
  line-height: 1.4;
}

.process-step p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-top: 10px;
}

/* ============ TESTIMONIALS ============ */
.testimonials {
  background: var(--color-white);
  padding: var(--section-py) 0;
}

.testimonials-grid {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--section-px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.testimonial {
  margin: 0;
  padding: 36px;
  background: var(--color-bg);
  border-left: 3px solid var(--color-accent);
}

.quote-mark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 80px;
  color: var(--color-gold);
  line-height: 0.5;
  height: 32px;
}

.testimonial p {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.7;
  color: var(--color-primary);
  font-style: italic;
}

.testimonial-meta {
  margin-top: 24px;
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--color-accent-soft);
  font-weight: 500;
}

/* ============ CTA SECTION ============ */
.cta-section {
  background: var(--color-bg-warm);
  padding: 72px var(--section-px);
  text-align: center;
}

.cta-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.35;
  max-width: 680px;
  margin: 0 auto;
  letter-spacing: -0.4px;
}

.cta-accent {
  color: var(--color-accent);
  font-weight: 600;
  display: inline-block;
  margin-top: 8px;
}

.cta-description {
  font-size: 15px;
  color: var(--color-text-muted);
  max-width: 500px;
  margin: 22px auto 0;
  line-height: 1.8;
}

.cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 36px;
  flex-wrap: wrap;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--color-primary);
  color: var(--color-gold);
  padding: 56px var(--section-px) 32px;
  font-size: 13px;
}

.footer-grid {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-logo {
  font-family: var(--font-logo);
  font-size: 28px;
  color: var(--color-text-on-dark);
  line-height: 1;
}

.footer-tagline {
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--color-gold);
  margin-top: 8px;
  text-transform: uppercase;
}

.footer-address {
  margin-top: 20px;
  line-height: 1.9;
  color: var(--color-text-on-dark);
}

.footer-heading {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--color-bg);
  font-weight: 500;
  text-transform: uppercase;
}

.footer-col ul {
  margin-top: 16px;
}

.footer-col li {
  line-height: 2.1;
}

.footer-col a {
  color: var(--color-gold);
}

.footer-col a:hover {
  color: var(--color-text-on-dark);
}

.footer-bottom {
  max-width: var(--container-max);
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 0.5px solid var(--color-primary-light);
  display: flex;
  justify-content: space-between;
  color: #A87858;
  font-size: 12px;
  flex-wrap: wrap;
  gap: 12px;
}

/* ============ MOBILE BOTTOM BAR ============ */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-white);
  border-top: 0.5px solid var(--color-border);
  padding: 8px 16px;
  justify-content: space-around;
  z-index: 99;
  box-shadow: 0 -2px 12px rgba(92, 46, 31, 0.06);
}

.mb-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 6px 4px;
  color: var(--color-text-light);
  font-size: 10px;
  letter-spacing: 1px;
  font-weight: 500;
}

.mb-item i {
  font-size: 20px;
}

.mb-item.active {
  color: var(--color-primary);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  :root {
    --section-px: 32px;
    --section-py: 64px;
  }

  .treatments-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .hero-stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  .doctor-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .doctor-image {
    max-width: 400px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-px: 22px;
    --section-py: 48px;
  }

  body {
    padding-bottom: 72px;
  }

  .top-bar-inner {
    padding: 8px 16px;
    font-size: 11px;
  }

  .top-info {
    display: none;
  }

  .top-divider {
    display: none;
  }

  .header-inner {
    padding: 14px 18px;
  }

  .main-nav,
  .header-cta {
    display: none;
  }

  .mobile-menu-toggle {
    display: inline-flex;
  }

  .logo-title {
    font-size: 20px;
  }

  .logo-subtitle {
    font-size: 8px;
    letter-spacing: 2px;
  }

  .hero {
    padding: 48px 0;
  }

  .hero-title {
    font-size: clamp(32px, 8vw, 42px);
    line-height: 1.4;
    max-width: 100%;
  }

  .hero-line-1 {
    margin-bottom: 14px;
  }

  .hero-description {
    font-size: 15px;
    margin-top: 24px;
  }

  .hero-ctas {
    flex-direction: column;
    margin-top: 28px;
  }

  .hero-ctas .btn-primary,
  .hero-ctas .btn-outline {
    justify-content: center;
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
    padding-top: 28px;
  }

  .stat-number {
    font-size: 28px;
  }

  .stat-label {
    font-size: 11px;
  }

  .treatments-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .treatment-card {
    padding: 22px 16px;
  }

  .treatment-card h3 {
    font-size: 17px;
  }

  .treatment-card p {
    font-size: 12px;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .step-number {
    font-size: 42px;
  }

  .doctor-credentials {
    gap: 24px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .testimonial {
    padding: 26px;
  }

  .testimonial p {
    font-size: 17px;
  }

  .cta-section {
    padding: 48px 22px;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-buttons .btn-primary,
  .cta-buttons .btn-outline {
    justify-content: center;
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .mobile-bottom-bar {
    display: flex;
  }
}

@media (max-width: 480px) {
  .top-bar-inner {
    flex-wrap: wrap;
    gap: 8px;
  }

  .lang-toggle {
    margin-left: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ============ VIDEO SECTION ============ */
.videos-section {
  padding: 80px 24px;
  background: #FBF7F4;
  max-width: 1200px;
  margin: 0 auto;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.video-card {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.video-card:hover {
  transform: translateY(-4px);
}

.video-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  background: #5C2E1F;
  box-shadow: 0 4px 12px rgba(92, 46, 31, 0.15);
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.video-card:hover .video-thumb img {
  transform: scale(1.05);
}

.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background: rgba(194, 115, 74, 0.95);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  padding-left: 4px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.video-card:hover .play-icon {
  background: #C2734A;
  transform: translate(-50%, -50%) scale(1.1);
}

.video-card h3 {
  font-family: 'Eczar', serif;
  font-size: 20px;
  font-weight: 500;
  color: #3D2418;
  margin: 16px 0 6px;
}

.video-card p {
  font-family: 'Mukta', sans-serif;
  font-size: 14px;
  color: #6B4A38;
  margin: 0;
}

.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.video-modal.active {
  display: flex;
}

.video-modal-content {
  position: relative;
  width: 100%;
  max-width: 900px;
  aspect-ratio: 16 / 9;
}

.video-modal-content iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
}

.video-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  line-height: 1;
}

@media (max-width: 768px) {
  .videos-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .videos-section {
    padding: 48px 16px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .videos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============ VIDEO SECTION FIX - HIGHER SPECIFICITY ============ */
section.videos-section {
  padding: 80px 24px;
  background: #FBF7F4;
  max-width: 1200px;
  margin: 0 auto;
  display: block;
}

section.videos-section .videos-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 28px !important;
  margin-top: 48px !important;
  width: 100%;
}

section.videos-section .video-card {
  cursor: pointer;
  display: block;
  width: 100%;
}

section.videos-section .video-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  background: #5C2E1F;
}

section.videos-section .video-thumb img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

section.videos-section .play-icon {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 64px !important;
  height: 64px !important;
  background: rgba(194, 115, 74, 0.95) !important;
  color: #fff !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 24px !important;
  padding-left: 4px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

@media (max-width: 768px) {
  section.videos-section .videos-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  section.videos-section .videos-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* ============ SHORTS FORMAT SUPPORT ============ */
section.videos-section .videos-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 24px !important;
  margin-top: 48px !important;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

/* Short format (9:16 vertical) */
section.videos-section .video-card[data-format="short"] .video-thumb {
  aspect-ratio: 9 / 16 !important;
}

/* Regular format (16:9 horizontal) */
section.videos-section .video-card[data-format="video"] .video-thumb {
  aspect-ratio: 16 / 9 !important;
}

/* Short badge */
.short-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  font-family: 'Mukta', sans-serif;
  z-index: 2;
}

/* Hide badge for regular videos */
section.videos-section .video-card[data-format="video"] .short-badge {
  display: none;
}

/* Video modal for Shorts */
.video-modal-content[data-format="short"] {
  max-width: 400px !important;
  aspect-ratio: 9 / 16 !important;
}

/* Mobile responsive */
@media (max-width: 768px) {
  section.videos-section .videos-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  section.videos-section .videos-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}
