/* Vrat Katha — bilingual story pages */

/* ── Ekadashi Vrat Kathas sub-section (on the category landing page) ── */
.vk-subsection {
  margin-top: 1.6rem;
  padding-top: 1.2rem;
  border-top: 2px solid #efe4d3;
}

.vk-subsection__head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0 0 0.35rem;
}

.vk-subsection__title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary, #7a1834);
}

/* The colour capsule next to the sub-section heading. */
.vk-capsule {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #e9952f, #d56f20);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(213, 111, 32, 0.3);
}

.vk-subsection__intro {
  margin: 0 0 0.9rem;
  color: var(--color-muted, #6b5e58);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* Small colour capsule on each Ekadashi card showing its lunar month + paksha. */
.vk-card-tag {
  display: inline-block;
  margin-top: 0.35rem;
  padding: 0.12rem 0.55rem;
  border-radius: 999px;
  background: #fbecd7;
  color: #9a531a;
  border: 1px solid #f0d4ad;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.4;
}

/* Own square icon (a scroll/book glyph): show it whole on the maroon bar —
   no circular clip and no edge cropping. */
body.page-vrat-katha .milan-app-bar__logo {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 0;
  object-fit: contain;
}

body.page-vrat-katha .vk-app {
  overflow: hidden;
}

body.page-vrat-katha .vk-body {
  padding: 1.1rem 1.15rem 1.4rem;
}

body.page-vrat-katha .vk-title {
  margin: 0 0 0.4rem;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: clamp(1.35rem, 4.5vw, 1.8rem);
  font-weight: 700;
  color: var(--maroon, #7a1834);
  line-height: 1.2;
}

body.page-vrat-katha .vk-intro {
  margin: 0 0 1.1rem;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--muted);
}

body.page-vrat-katha .vk-lang {
  display: inline-flex;
  gap: 0.25rem;
  margin: 0 0 1.1rem;
  padding: 0.25rem;
  background: var(--cream-card);
  border: 1px solid var(--cream-border);
  border-radius: 999px;
}

body.page-vrat-katha .vk-lang__btn {
  min-height: 2.75rem;
  padding: 0.4rem 1rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

body.page-vrat-katha .vk-lang__btn.is-active {
  background: var(--maroon, #7a1834);
  color: #fff;
}

body.page-vrat-katha .vk-katha {
  display: none;
}

body.page-vrat-katha .vk-katha.is-active {
  display: block;
}

body.page-vrat-katha .vk-katha p {
  margin: 0 0 0.95rem;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--ink);
}

body.page-vrat-katha .vk-katha strong {
  color: var(--maroon, #7a1834);
  font-weight: 700;
}

body.page-vrat-katha .vk-katha--hindi p {
  font-size: 1.08rem;
  line-height: 1.85;
}

body.page-vrat-katha .vk-empty {
  padding: 1rem;
  background: var(--cream-card);
  border: 1px solid var(--cream-border);
  border-radius: 10px;
  color: var(--muted);
}

@media (max-width: 480px) {
  body.page-vrat-katha .vk-lang {
    display: flex;
    width: 100%;
  }
  body.page-vrat-katha .vk-lang__btn {
    flex: 1 1 0;
    padding: 0.4rem 0.5rem;
  }
}

/* ── Hindi audio narration player ── */
body.page-vrat-katha .vk-audio {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 1.15rem;
  padding: 0.7rem 0.85rem;
  background: linear-gradient(135deg, #fff7ec, #fdeedd);
  border: 1px solid #f0d9b8;
  border-radius: 14px;
}

body.page-vrat-katha .vk-audio__play {
  flex: 0 0 auto;
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #8a1f3d, #6d162f);
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(122, 24, 52, 0.3);
  -webkit-tap-highlight-color: transparent;
}

body.page-vrat-katha .vk-audio__play:hover {
  filter: brightness(1.06);
}

body.page-vrat-katha .vk-audio__ic--pause {
  display: none;
}

body.page-vrat-katha .vk-audio.is-playing .vk-audio__ic--play {
  display: none;
}

body.page-vrat-katha .vk-audio.is-playing .vk-audio__ic--pause {
  display: inline;
}

body.page-vrat-katha .vk-audio__main {
  flex: 1 1 auto;
  min-width: 0;
}

body.page-vrat-katha .vk-audio__label {
  margin: 0 0 0.3rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: #7a1834;
}

body.page-vrat-katha .vk-audio__sub {
  margin-left: 0.45rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #9a7b53;
}

body.page-vrat-katha .vk-audio__seek {
  width: 100%;
  height: 1.6rem;
  margin: 0;
  accent-color: #b5832b;
  cursor: pointer;
}

body.page-vrat-katha .vk-audio__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.1rem;
  flex-wrap: wrap;
}

body.page-vrat-katha .vk-audio__time {
  font-size: 0.78rem;
  color: #6b5e58;
  font-variant-numeric: tabular-nums;
}

body.page-vrat-katha .vk-audio__btns {
  display: inline-flex;
  gap: 0.35rem;
}

body.page-vrat-katha .vk-audio__mini {
  min-height: 2.4rem;
  padding: 0.2rem 0.6rem;
  border: 1px solid #e6cfa8;
  border-radius: 999px;
  background: #ffffff;
  color: #7a1834;
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

body.page-vrat-katha .vk-audio__mini:hover {
  background: #fbecd7;
}

@media (max-width: 480px) {
  body.page-vrat-katha .vk-audio__sub {
    display: block;
    margin-left: 0;
  }
}
