/*
  Vida Divina public landing overrides.
  Loaded after the inline legacy styles so the main page can be tuned without
  affecting the /app dashboard.

  Sections:
  1. Global shell
  2. Header + search
  3. Hero + stats
  4. Shared cards
  5. Feature sections
  6. Content rails
  7. Footer + policy
  8. Login modal
  9. Responsive
*/

/* 1. Global shell */
html,
body {
  overflow-x: hidden;
}

.vd-wrap,
.vd-feature-strip,
.vd-footer-grid,
.vd-stats {
  width: min(1500px, calc(100% - 56px));
  margin-left: auto;
  margin-right: auto;
}

.vd-wrap {
  max-width: none;
  padding-inline: 0;
}

.vd-site::before {
  display: none;
}

/* 2. Header + search */
.vd-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 10px 0 8px;
  backdrop-filter: blur(18px);
}

.vd-nav-inner {
  display: grid;
  grid-template-columns: 284px minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  position: relative;
  min-height: 74px;
  padding: 10px 18px;
  border: 1px solid rgba(216,168,95,.18);
  border-radius: 18px;
  background: rgba(7,6,18,.48);
  box-shadow: 0 18px 46px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.055);
  backdrop-filter: blur(22px);
  overflow: hidden;
}

body[data-theme="light"] .vd-nav-inner {
  background: rgba(255,255,255,.72);
}

.vd-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.vd-brand img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #24101a;
  object-fit: contain;
}

.vd-brand strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  line-height: 1;
  letter-spacing: 0;
}

.vd-brand span {
  display: block;
  margin-top: 3px;
  color: var(--vd-muted);
  font-size: 11px;
}

.vd-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

body[data-theme="light"] .vd-links {
  color: var(--vd-ink);
}

.vd-links a {
  position: relative;
  padding: 18px 0;
  border-radius: 0;
}

.vd-links a:hover {
  color: #f5cc6d;
  background: transparent;
}

.vd-links a.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  right: auto;
  bottom: 9px;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--vd-primary), var(--vd-accent));
}

.vd-nav-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}

.vd-icon-btn {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
}

.vd-icon-btn.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--vd-primary), var(--vd-secondary));
  box-shadow: 0 12px 34px color-mix(in srgb, var(--vd-primary) 26%, transparent);
}

.vd-login-cta {
  min-height: 48px;
  padding: 12px 32px;
  font-size: 13px;
  white-space: nowrap;
}

.vd-nav-menu-btn {
  display: none;
}

.vd-nav-menu-btn svg {
  width: 18px;
  height: 18px;
}

.vd-search-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: start center;
  padding: 88px 20px 20px;
  background: rgba(6, 7, 18, .58);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

.vd-search-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.vd-search-shell {
  width: min(760px, 100%);
  transform: translateY(-8px) scale(.985);
  transition: transform .38s cubic-bezier(.16, 1, .3, 1);
}

.vd-search-modal.is-open .vd-search-shell {
  transform: translateY(0) scale(1);
}

.vd-question-bar {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto 42px;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 14px;
  border: 1px solid color-mix(in srgb, var(--vd-primary) 22%, transparent);
  border-radius: 999px;
  background: rgba(12,10,24,.96);
  box-shadow: 0 28px 58px rgba(0,0,0,.28);
}

body[data-theme="light"] .vd-question-bar {
  background: rgba(255,255,255,.98);
}

.vd-question-bar svg {
  width: 20px;
  height: 20px;
  color: var(--vd-accent);
}

.vd-question-bar input {
  min-height: 42px;
  border: 0;
  color: var(--vd-ink);
  background: transparent;
  outline: none;
  font-size: 14px;
}

.vd-question-bar input::placeholder {
  color: color-mix(in srgb, var(--vd-muted) 84%, white);
}

.vd-search-close {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  color: var(--vd-ink);
  background: rgba(255,255,255,.04);
  cursor: pointer;
  transition: transform .3s ease, border-color .3s ease, background .3s ease;
}

.vd-search-close:hover {
  transform: rotate(90deg);
  border-color: color-mix(in srgb, var(--vd-accent) 54%, white);
  background: rgba(255,255,255,.1);
}

.vd-search-panel {
  width: 100%;
  margin: 14px auto 0;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 28px;
  background: rgba(11,9,24,.92);
  box-shadow: 0 28px 48px rgba(0,0,0,.26);
  backdrop-filter: blur(20px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .32s ease, transform .36s ease;
}

.vd-search-panel.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

body[data-theme="light"] .vd-search-panel {
  background: rgba(255,255,255,.95);
}

.vd-search-panel-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 18px;
}

.vd-search-answer {
  min-height: 138px;
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 22px;
  background: rgba(255,255,255,.04);
  color: #eee7f6;
  font-size: 15px;
  line-height: 1.65;
  white-space: pre-line;
}

body[data-theme="light"] .vd-search-answer {
  color: #2b2034;
}

.vd-search-answer.is-loading {
  color: var(--vd-muted);
}

.vd-search-answer.is-error {
  color: #f3a8b5;
}

body[data-theme="light"] .vd-search-answer.is-error {
  color: #b42346;
}

.vd-search-tip {
  margin-top: 12px;
  color: var(--vd-muted);
  font-size: 12px;
  line-height: 1.45;
}

/* 3. Hero + stats */
.vd-hero {
  position: relative;
  z-index: 1;
  min-height: 610px;
  padding-top: 8px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.vd-hero-bg {
  position: absolute;
  inset: 0 0 auto;
  height: 660px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,.08);
  z-index: -2;
}

.vd-hero-bg img,
.vd-hero-bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
  opacity: 0;
  transition: opacity .7s ease;
}

.vd-hero-bg img.is-active,
.vd-hero-bg video.is-active {
  opacity: .94;
}

.vd-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 58% 52%, rgba(216,168,95,.24), transparent 28%),
    radial-gradient(circle at 77% 22%, rgba(199,44,108,.16), transparent 24%),
    linear-gradient(90deg, rgba(3,5,18,.98) 0%, rgba(5,5,18,.82) 32%, rgba(5,5,18,.14) 59%, rgba(5,5,18,.52) 100%),
    linear-gradient(180deg, rgba(5,5,16,.02), rgba(5,5,16,.12) 62%, var(--vd-bg) 100%);
}

body[data-theme="light"] .vd-hero-bg::after {
  background:
    linear-gradient(90deg, rgba(255,248,239,.94) 0%, rgba(255,248,239,.64) 32%, rgba(255,248,239,.18) 54%, rgba(255,248,239,.72) 100%),
    linear-gradient(180deg, rgba(255,248,239,.06), rgba(255,248,239,.18) 56%, var(--vd-bg) 100%);
}

.vd-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(20px, 2vw, 30px);
  align-items: start;
  padding-top: 4px;
}

.vd-hero-copy-block {
  position: relative;
  margin-top: 26px;
  max-width: 560px;
  min-height: 340px;
}

.vd-hero-slides {
  position: relative;
  min-height: 340px;
}

.vd-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
  pointer-events: none;
}

.vd-hero-slide.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.vd-hero-slide-app .vd-eyebrow {
  color: #f5d48d;
}

.vd-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--vd-accent);
  font-size: 13px;
  font-weight: 1000;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.vd-hero h1 {
  max-width: 560px;
  margin: 16px 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 72px;
  line-height: .95;
  letter-spacing: 0;
  font-weight: 800;
}

.vd-hero-copy {
  max-width: 470px;
  color: #eee7f6;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  line-height: 1.22;
}

body[data-theme="light"] .vd-hero-copy {
  color: #3c3048;
}

.vd-hero-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 12px 18px;
  border: 1px solid color-mix(in srgb, var(--vd-primary) 26%, white 10%);
  border-radius: 999px;
  background: rgba(42,13,63,.72);
  color: #f5edd7;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

body[data-theme="light"] .vd-hero-note {
  background: rgba(255,255,255,.72);
  color: #3c3048;
}

.vd-hero-note svg {
  width: 18px;
  height: 18px;
  color: var(--vd-accent);
  flex: 0 0 auto;
}

.vd-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 24px;
}

.vd-hero-cta .vd-btn {
  min-height: 56px;
  padding: 16px 28px;
  font-size: 13px;
}

.vd-hero-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  z-index: 2;
}

.vd-hero-pagers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.vd-hero-pager {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.2);
  cursor: pointer;
  transition: transform .24s ease, background .24s ease, width .24s ease;
}

.vd-hero-pager:hover {
  transform: scaleY(1.1);
  background: rgba(255,255,255,.34);
}

.vd-hero-pager.is-active {
  width: 12px;
  background: linear-gradient(90deg, var(--vd-primary), var(--vd-accent));
}

body[data-theme="light"] .vd-hero-pager {
  background: rgba(42,24,45,.18);
}

body[data-theme="light"] .vd-hero-pager.is-active {
  background: linear-gradient(90deg, var(--vd-primary), var(--vd-secondary));
}

.vd-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  width: 100%;
  margin-top: 28px;
  border: 1px solid rgba(216,168,95,.22);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(12,9,25,.38);
  box-shadow: 0 18px 44px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.055);
  backdrop-filter: blur(22px);
}

.vd-stat {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 96px;
  padding: 18px 20px;
  background: rgba(255,255,255,.02);
}

.vd-stat i,
.vd-stat svg {
  display: grid;
  place-items: center;
  color: var(--vd-accent);
  width: 34px;
  height: 34px;
  padding: 13px;
  box-sizing: content-box;
  border: 1px solid rgba(216,168,95,.28);
  border-radius: 50%;
  background: rgba(120,43,166,.34);
}

.vd-stat strong {
  display: block;
  font-size: 28px;
  line-height: 1;
}

.vd-stat span {
  display: block;
  margin-top: 5px;
  color: var(--vd-muted);
  font-size: 16px;
}

/* 4. Shared cards */
.vd-layout {
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.vd-book-promo,
.vd-app-card {
  max-width: 380px;
}

.vd-book-promo {
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 15px;
}

.vd-book-promo img {
  width: 118px;
  height: 166px;
}

.vd-book-promo h2 {
  font-size: clamp(20px, 1.35vw, 24px);
}

.vd-app-card h2 {
  font-size: 20px;
}

.vd-phone-mock {
  min-height: 215px;
}

.vd-carousel {
  grid-auto-columns: minmax(220px, 240px);
  gap: 12px;
}

.vd-section {
  padding: 16px 0;
}

.vd-section h2 {
  font-size: clamp(22px, 1.5vw, 27px);
}

.vd-section-head.vd-section-head-tight {
  margin-bottom: 8px;
}

.vd-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
  row-gap: 28px;
}

.vd-glass {
  position: relative;
  overflow: hidden;
  min-height: 172px;
  padding: 18px;
  border-radius: 22px;
}

.vd-glass.vd-event-card-wide {
  grid-column: 1 / -1;
}

.vd-library-only-card {
  grid-column: 1 / -1;
}

.vd-library-only-card .vd-library-tabs {
  max-width: none;
}

.vd-library-only-card .vd-library-tab-books {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-height: 330px;
}

.vd-community-events-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 18px;
  align-items: stretch;
}

.vd-community-events-grid .vd-event-card-wide {
  grid-column: auto;
}

.vd-glass.with-image {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 12px;
}

.vd-glass h3 {
  margin: 0 0 10px;
  font-size: 26px;
  font-weight: 800;
}

.vd-glass p {
  margin: 0;
  line-height: 1.55;
}

.vd-glass .vd-btn {
  margin-top: 18px;
}

.vd-book-img {
  align-self: end;
  width: 120px;
  height: 142px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, .3);
}

/* 5. Feature sections: Biblioteca / Comunidad / Eventos */
.vd-feature-hero-card {
  min-height: 560px;
  padding: clamp(30px, 3.2vw, 44px);
  border-radius: 34px;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 28px 68px rgba(0,0,0,.34);
}

.vd-feature-hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 16%, rgba(255,214,115,.18), transparent 20%),
    radial-gradient(circle at 88% 72%, rgba(255,152,58,.22), transparent 24%);
  opacity: .95;
}

.vd-library-hero {
  align-self: start;
  min-height: 560px;
  max-width: none;
  display: grid;
  isolation: isolate;
  background:
    radial-gradient(circle at 82% 46%, rgba(255,154,55,.28), transparent 22%),
    radial-gradient(circle at 80% 82%, rgba(255,215,125,.16), transparent 20%),
    radial-gradient(circle at 32% 20%, rgba(199,44,108,.14), transparent 30%),
    linear-gradient(145deg, rgba(27,13,35,.98), rgba(7,7,20,.98) 62%, rgba(4,4,14,.99));
  border-color: rgba(246,195,92,.62);
  box-shadow: 0 28px 68px rgba(0,0,0,.36), inset 0 1px 0 rgba(255,255,255,.06);
}

.vd-library-hero::before {
  background:
    radial-gradient(circle at 96% 48%, rgba(255,190,83,.16), transparent 22%),
    linear-gradient(145deg, rgba(255,255,255,.03), transparent 42%);
}

.vd-library-hero::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: 24px;
  z-index: 0;
  width: 360px;
  height: 170px;
  pointer-events: none;
  border-radius: 50%;
  border: 2px solid rgba(255,188,78,.72);
  border-top-color: transparent;
  border-left-color: transparent;
  transform: rotate(-12deg);
  filter: drop-shadow(0 0 18px rgba(255,173,65,.62));
  opacity: .9;
}

.vd-community-hero {
  min-height: 560px;
  background:
    radial-gradient(circle at 78% 24%, rgba(243,91,255,.24), transparent 20%),
    radial-gradient(circle at 70% 64%, rgba(255,140,88,.18), transparent 24%),
    linear-gradient(145deg, rgba(34,10,44,.98), rgba(14,8,28,.96));
  border-color: rgba(242, 85, 214, .55);
  box-shadow: 0 28px 68px rgba(0,0,0,.34), 0 0 0 1px rgba(255,255,255,.035), 0 0 58px rgba(199,44,108,.12);
}

.vd-community-hero::after {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: 0;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,.055);
  border-radius: 26px;
}

.vd-feature-hero-content,
.vd-community-hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
}

.vd-library-hero .vd-feature-hero-content {
  max-width: 390px;
  gap: 14px;
}

.vd-library-hero .vd-feature-kicker {
  gap: 8px;
  font-size: 10px;
  letter-spacing: .08em;
}

.vd-library-hero .vd-feature-kicker .vd-feature-kicker-icon {
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.vd-library-hero .vd-feature-kicker .vd-feature-kicker-icon svg {
  width: 16px;
  height: 16px;
}

.vd-library-hero .vd-feature-title {
  max-width: 340px;
  font-size: clamp(34px, 3.4vw, 48px);
  line-height: .98;
  letter-spacing: -.035em;
}

.vd-library-hero .vd-feature-divider {
  display: none;
}

.vd-library-hero .vd-feature-copy {
  max-width: 350px;
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.58;
  color: rgba(255,248,239,.82);
}

.vd-library-hero .vd-feature-list {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  margin: 8px 0 10px;
}

.vd-library-hero .vd-feature-list li {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 5px;
  min-width: 58px;
  color: rgba(255,248,239,.82);
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  text-align: center;
}

.vd-library-hero .vd-feature-list span {
  width: 48px;
  height: 48px;
  border-color: rgba(255,212,118,.48);
  background: rgba(255,186,75,.08);
}

.vd-library-hero .vd-feature-list span svg {
  width: 22px;
  height: 22px;
}

.vd-library-hero .vd-btn.gold {
  min-height: 52px;
  width: max-content;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.vd-library-public-content {
  max-width: none;
}

.vd-library-data-row {
  display: none;
  flex-wrap: wrap;
  gap: 10px;
  margin: 4px 0 2px;
}

.vd-library-data-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid rgba(255,212,118,.26);
  border-radius: 999px;
  color: rgba(255,248,239,.82);
  background: rgba(255,186,75,.075);
  font-size: 12px;
  font-weight: 800;
}

.vd-library-data-row svg {
  width: 15px;
  height: 15px;
  color: #f2c96d;
}

.vd-library-feature-book {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(140px, .8fr) minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  margin-top: 4px;
  padding: 20px;
  border: 1px solid rgba(216,168,95,.34);
  border-radius: 26px;
  background:
    radial-gradient(circle at 12% 76%, rgba(255,191,87,.2), transparent 32%),
    rgba(255,255,255,.045);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 18px 42px rgba(0,0,0,.22);
}

.vd-library-feature-cover {
  display: grid;
  place-items: center;
  min-height: 236px;
}

.vd-library-feature-cover img,
.vd-library-feature-book > img {
  width: min(190px, 94%);
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 24px 52px rgba(0,0,0,.5), -12px 18px 34px rgba(216,168,95,.13);
}

.vd-library-feature-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 7px;
  color: #f2c96d;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.vd-library-feature-label svg {
  width: 15px;
  height: 15px;
}

.vd-library-feature-book h4 {
  margin: 0 0 8px;
  color: #fff8ef;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 2.6vw, 44px);
  line-height: 1;
}

.vd-library-feature-book p {
  max-width: 100%;
  margin: 0 0 12px;
  color: rgba(255,248,239,.74);
  font-size: 14px;
  line-height: 1.5;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.vd-library-book-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.vd-library-book-meta span {
  max-width: 100%;
  padding: 6px 9px;
  border-radius: 999px;
  color: rgba(255,248,239,.82);
  background: rgba(216,168,95,.1);
  font-size: 12px;
  font-weight: 800;
}

.vd-library-feature-actions,
.vd-library-footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.vd-library-feature-actions .vd-btn {
  min-height: 42px;
  margin-top: 0;
  padding: 10px 14px;
  font-size: 12px;
}

.vd-library-mini-books {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.vd-library-mini-book {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 96px;
  overflow: hidden;
  padding: 12px;
  border: 1px solid rgba(216,168,95,.16);
  border-radius: 20px;
  background:
    radial-gradient(circle at 12% 72%, rgba(216,168,95,.12), transparent 34%),
    rgba(255,255,255,.035);
}

.vd-library-mini-book img {
  width: 58px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 14px 28px rgba(0,0,0,.34);
}

.vd-library-mini-book strong {
  color: #fff8ef;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  line-height: 1.22;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.vd-library-mini-book small {
  display: block;
  margin-top: 5px;
  color: rgba(255,248,239,.58);
  font-size: 11px;
  line-height: 1.25;
}

.vd-library-tabs {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(216,168,95,.18);
  border-radius: 22px;
  background: rgba(0,0,0,.16);
}

.vd-library-tab-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.vd-library-tab-heading span {
  color: #f2c96d;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.vd-library-tab-heading small {
  color: rgba(255,248,239,.56);
  font-size: 12px;
  line-height: 1.35;
  text-align: right;
}

.vd-library-tab-list {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 1px 1px 6px;
  scrollbar-width: thin;
}

.vd-library-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  min-height: 32px;
  padding: 7px 10px;
  border: 1px solid rgba(216,168,95,.2);
  border-radius: 999px;
  color: rgba(255,248,239,.8);
  background: rgba(255,255,255,.045);
  font: inherit;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .03em;
  text-transform: uppercase;
  cursor: pointer;
}

.vd-library-tab span {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  color: #17101f;
  background: rgba(255,224,138,.86);
  font-size: 10px;
}

.vd-library-tab.is-active {
  border-color: rgba(255,224,138,.72);
  color: #17101f;
  background: linear-gradient(135deg, #ffe08a, #d89f36);
}

.vd-library-category-chips .vd-library-tab-list {
  flex-wrap: wrap;
  overflow: visible;
}

.vd-library-category-chips .vd-library-tab {
  flex: 1 1 auto;
  justify-content: center;
  min-width: min(100%, 170px);
  text-align: center;
}

.vd-library-tab-panel {
  display: none;
}

.vd-library-tab-panel.is-active {
  display: block;
}

.vd-library-tab-books {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  max-height: 260px;
  overflow: auto;
  padding-right: 4px;
  scrollbar-width: thin;
}

.vd-library-tab-book {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  min-height: 72px;
  padding: 8px;
  border: 1px solid rgba(216,168,95,.15);
  border-radius: 18px;
  background:
    radial-gradient(circle at 12% 78%, rgba(216,168,95,.12), transparent 36%),
    rgba(255,255,255,.035);
  transition: transform .2s ease, border-color .2s ease;
}

.vd-library-tab-book:hover {
  transform: translateY(-2px);
  border-color: rgba(216,168,95,.42);
}

.vd-library-tab-book img {
  width: 46px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 9px;
  box-shadow: 0 12px 24px rgba(0,0,0,.32);
}

.vd-library-tab-book strong {
  display: -webkit-box;
  overflow: hidden;
  color: #fff8ef;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  line-height: 1.18;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.vd-library-tab-book small {
  display: block;
  margin-top: 4px;
  overflow: hidden;
  color: rgba(255,248,239,.58);
  font-size: 10px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vd-library-tab-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  margin-top: 10px;
  padding: 9px 14px;
  border: 1px solid rgba(216,168,95,.22);
  border-radius: 999px;
  color: #f2c96d;
  background: rgba(216,168,95,.07);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.vd-library-tab-more svg {
  width: 15px;
  height: 15px;
}

.vd-library-footer-actions {
  margin-top: 2px;
}

.vd-library-footer-actions .vd-btn {
  min-height: 48px;
  margin-top: 0;
}

.vd-library-home-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.vd-library-home-card {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 26px;
  background:
    radial-gradient(circle at 50% 34%, rgba(216,168,95,.1), transparent 34%),
    linear-gradient(180deg, rgba(17,14,31,.86), rgba(7,6,18,.98));
  box-shadow: 0 24px 54px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.05);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.vd-library-home-card:hover {
  transform: translateY(-4px);
  border-color: rgba(216,168,95,.48);
  box-shadow: 0 30px 70px rgba(0,0,0,.34), 0 0 0 1px rgba(216,168,95,.08);
}

.vd-library-home-cover {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 330px;
  padding: 28px 24px 18px;
  background:
    radial-gradient(circle at 50% 74%, rgba(255,196,86,.34), transparent 28%),
    radial-gradient(circle at center, rgba(59,35,85,.5), rgba(13,13,18,.96) 72%);
}

.vd-library-home-cover::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 14px;
  width: min(220px, 82%);
  height: 42px;
  transform: translateX(-50%);
  border: 1px solid rgba(255,217,126,.45);
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255,203,89,.72), rgba(255,170,32,.22) 42%, rgba(255,218,151,0) 72%);
  box-shadow: 0 0 36px rgba(255,178,57,.38);
  filter: blur(1px);
}

.vd-library-home-cover img {
  position: relative;
  z-index: 1;
  width: auto;
  height: 96%;
  max-width: 100%;
  object-fit: contain;
  border-radius: 12px;
  filter: drop-shadow(0 24px 42px rgba(0,0,0,.55));
}

.vd-library-home-body {
  display: grid;
  gap: 9px;
  padding: 0 22px 22px;
}

.vd-library-home-body h3 {
  margin: 0;
  color: #fff8ef;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(21px, 1.45vw, 29px);
  line-height: .98;
  letter-spacing: -.025em;
}

.vd-library-home-body p {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: rgba(255,248,239,.74);
  font-size: 15px;
  line-height: 1.35;
}

.vd-library-home-body p i {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  color: #e6b84e;
}

.vd-library-home-category {
  color: #d994ef !important;
}

.vd-library-home-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 10px;
}

.vd-library-home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.vd-library-home-btn i {
  width: 17px;
  height: 17px;
}

.vd-library-home-btn.ghost {
  border: 1px solid rgba(214,101,221,.5);
  color: #eeb5ff;
  background: rgba(255,255,255,.025);
}

.vd-library-home-btn.gold {
  color: #17101f;
  background: linear-gradient(135deg, #ffe08a, #d89f36);
  box-shadow: 0 18px 34px rgba(216,168,95,.22);
}

@media (max-width: 1280px) {
  .vd-library-home-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .vd-library-feature-book {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .vd-library-feature-cover {
    min-height: 250px;
  }

  .vd-library-feature-cover img,
  .vd-library-feature-book > img {
    width: min(190px, 72%);
  }

  .vd-library-feature-book h4 {
    font-size: clamp(32px, 3.6vw, 42px);
  }

  .vd-library-feature-book p {
    -webkit-line-clamp: 3;
  }
}

.vd-community-hero .vd-feature-title {
  max-width: 560px;
  font-size: clamp(48px, 4.4vw, 68px);
}

.vd-community-hero .vd-feature-copy {
  max-width: 560px;
  font-size: clamp(17px, 1.2vw, 20px);
  line-height: 1.58;
}

.vd-feature-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #f5c75d;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.vd-community-hero .vd-feature-kicker {
  color: #ff4dc2;
}

.vd-feature-kicker .vd-feature-kicker-icon {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  border: 1px solid currentColor;
  box-shadow: 0 0 0 4px rgba(255,255,255,.04), 0 0 30px currentColor;
}

.vd-feature-kicker .vd-feature-kicker-icon svg {
  width: 30px;
  height: 30px;
}

.vd-feature-title {
  margin: 0;
  max-width: 420px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 4vw, 62px);
  line-height: .95;
  letter-spacing: -.04em;
  color: #fff9f0;
}

.vd-feature-divider {
  width: min(100%, 360px);
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,199,93,.55), rgba(255,199,93,.05));
  box-shadow: 0 0 18px rgba(255,199,93,.55);
}

.vd-feature-copy {
  max-width: 400px;
  margin: 0;
  color: #e7d8f1;
  font-size: 17px;
  line-height: 1.52;
}

.vd-feature-list {
  display: grid;
  gap: 14px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}

.vd-feature-list li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  color: #f8f1dd;
  font-size: 17px;
  font-weight: 700;
}

.vd-feature-list span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,212,118,.42);
  background: rgba(255,186,75,.09);
  box-shadow: 0 0 20px rgba(255,183,72,.2);
  color: #ffcb63;
}

.vd-feature-list span svg {
  width: 20px;
  height: 20px;
}

.vd-library-art {
  position: absolute;
  right: 18px;
  bottom: 44px;
  width: 248px;
  height: 330px;
  pointer-events: none;
  z-index: 0;
}

.vd-library-art::before {
  content: "";
  position: absolute;
  right: -22px;
  bottom: -18px;
  width: 260px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,214,118,.55) 0%, rgba(255,169,50,.18) 38%, transparent 70%);
  filter: blur(10px);
  opacity: .92;
}

.vd-library-stack-book {
  display: none;
}

.vd-library-main-book {
  position: absolute;
  right: 28px;
  bottom: 54px;
  width: 162px;
  max-width: none;
  aspect-ratio: 2 / 3;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 26px 46px rgba(0,0,0,.62), -12px 18px 34px rgba(255,160,59,.16);
  transform: rotate(0deg);
  border: 1px solid rgba(255,247,229,.34);
}

.vd-community-panels {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 6px;
}

.vd-community-panel {
  display: grid;
  justify-items: center;
  gap: 9px;
  padding: 16px 10px 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 22px;
  background: rgba(255,255,255,.035);
  text-align: center;
}

.vd-community-panel span {
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 16px 28px rgba(0,0,0,.24);
}

.vd-community-panel strong {
  display: block;
  color: #fff5ff;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 800;
}

.vd-community-panel.whatsapp span { background: linear-gradient(135deg, #1fc95f, #3de36a); }
.vd-community-panel.zoom span { background: linear-gradient(135deg, #3181ff, #59b4ff); }
.vd-community-panel.programs span { background: linear-gradient(135deg, #ad39ff, #d45cff); }
.vd-community-panel.active span { background: linear-gradient(135deg, #f3a225, #ffca55); }

.vd-community-panel svg {
  width: 24px;
  height: 24px;
}

.vd-community-focus {
  display: grid;
  gap: 12px;
  margin-top: 4px;
  padding: 16px 18px;
  border: 1px solid rgba(255,91,194,.28);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(86,13,78,.45), rgba(38,10,50,.48));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

.vd-community-focus-head {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.vd-community-focus-icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f22998, #b72dff);
  color: #fff;
  box-shadow: 0 16px 28px rgba(177,36,130,.35);
}

.vd-community-focus-icon svg {
  width: 24px;
  height: 24px;
}

.vd-community-focus h4 {
  margin: 0 0 4px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 2.1vw, 34px);
  line-height: 1;
  color: #fff8fb;
}

.vd-community-focus p {
  margin: 0;
  color: #ead6f0;
  font-size: 14px;
  line-height: 1.35;
}

.vd-community-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f22998, #e55acb);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
  white-space: nowrap;
}

.vd-community-times {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.vd-community-time {
  display: grid;
  gap: 4px;
  justify-items: center;
  text-align: center;
  color: #fbeeff;
}

.vd-community-time strong {
  display: block;
  font-size: 12px;
  font-weight: 900;
}

.vd-community-time span {
  display: block;
  color: #d8c5e5;
  font-size: 11px;
  line-height: 1.25;
}

.vd-community-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 4px;
}

.vd-community-actions .vd-btn {
  min-height: 52px;
  padding-inline: 22px;
  font-size: 14px;
}

.vd-community-actions .vd-btn.secondary {
  background: rgba(255,255,255,.03);
  border-color: rgba(255,255,255,.18);
}

.vd-events {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.vd-event {
  display: grid;
  grid-template-columns: 92px 58px 1fr;
  gap: 13px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  background: rgba(255,255,255,.04);
}

.vd-event img {
  width: 92px;
  height: 72px;
  object-fit: cover;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
}

.vd-date {
  display: grid;
  place-items: center;
  min-height: 58px;
  border: 1px solid color-mix(in srgb, var(--vd-primary) 50%, transparent);
  border-radius: 12px;
  color: var(--vd-primary);
  font-weight: 1000;
}

.vd-date span {
  display: block;
  font-size: 11px;
  color: var(--vd-muted);
}

.vd-event-content {
  min-width: 0;
  align-self: start;
}

.vd-event small {
  color: var(--vd-muted);
}

.vd-community-events-grid .vd-events {
  gap: 16px;
}

.vd-community-events-grid .vd-event {
  grid-template-columns: 118px 68px 1fr;
  gap: 16px;
  min-height: 112px;
  padding: 14px;
  border-radius: 20px;
}

.vd-community-events-grid .vd-event img {
  width: 118px;
  height: 88px;
  border-radius: 15px;
}

.vd-community-events-grid .vd-date {
  min-height: 68px;
  border-radius: 15px;
  font-size: 22px;
}

.vd-community-events-grid .vd-date span {
  margin-top: 3px;
  font-size: 12px;
}

.vd-community-events-grid .vd-event-content strong {
  display: block;
  font-size: 17px;
  line-height: 1.25;
}

.vd-community-events-grid .vd-event small {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.4;
}

/* 6. Content rails: video, carousels, highlights */
.vd-youtube-row {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
  gap: 24px;
}

.vd-youtube-row > * {
  min-width: 0;
}

.vd-video-card {
  min-height: 220px;
  border-radius: 22px;
  background:
    linear-gradient(90deg, rgba(8,6,18,.86), rgba(8,6,18,.36)),
    var(--vd-video-card-bg, url('/images/vida-divina-hero-luisa-right.png')) center / cover;
}

.vd-latest {
  display: grid;
  grid-template-columns: minmax(280px, 400px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  min-height: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.vd-latest-visual {
  position: relative;
  min-height: 0;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(0,0,0,.04), rgba(0,0,0,.18)),
    var(--latest-program-thumbnail, url('/images/vida-divina-hero-luisa-right.png')) center / cover;
}

.vd-latest-visual .vd-play {
  right: 12px;
  top: 12px;
}

.vd-latest-copy {
  min-width: 0;
  padding: 4px 0 0;
}

.vd-latest-copy h3 {
  margin: 0 0 5px;
  font-size: 15px;
  font-weight: 800;
}

.vd-latest-copy h2 {
  margin: 4px 0 12px;
  font-size: 28px;
  line-height: 1.18;
  font-weight: 900;
}

.vd-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 240px);
  gap: 12px;
  overflow-x: auto;
  padding: 2px 2px 10px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--vd-primary) transparent;
}

#programas .vd-carousel {
  grid-auto-flow: initial;
  grid-auto-columns: initial;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
  overflow-x: visible;
  padding-bottom: 8px;
}

.vd-program-card,
.vd-qa-card,
.vd-glass {
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.045);
  box-shadow: 0 10px 26px rgba(0,0,0,.18);
  backdrop-filter: blur(18px);
}

.vd-program-card {
  position: relative;
  min-height: 152px;
  overflow: hidden;
  border-radius: 12px;
  scroll-snap-align: start;
  background: rgba(9,7,20,.48);
  border: 1px solid rgba(216,168,95,.18);
  box-shadow: 0 18px 38px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.05);
  backdrop-filter: blur(16px);
}

.vd-program-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .86;
  border-radius: 0;
  filter: saturate(1.18) contrast(1.04);
  transition: transform .55s ease, opacity .55s ease;
}

.vd-program-card:hover img {
  transform: scale(1.07);
}

.vd-program-card::after {
  content: "";
  position: absolute;
  inset: 0;
  display: block;
  background:
    radial-gradient(circle at 72% 16%, rgba(216,168,95,.18), transparent 26%),
    linear-gradient(180deg, rgba(6,5,18,.02), rgba(6,5,18,.58) 58%, rgba(6,5,18,.96));
}

.vd-program-content {
  position: absolute;
  left: 18px;
  right: 48px;
  bottom: 16px;
  z-index: 2;
  padding: 0;
}

.vd-play {
  position: absolute;
  right: 16px;
  top: 18px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #f2c96d;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(5,5,18,.42);
  box-shadow: 0 16px 36px rgba(0,0,0,.24);
}

.vd-program-content h3 {
  margin: 0 0 5px;
  color: #fff8ef;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.22;
  font-weight: 800;
}

.vd-program-content span {
  color: #bdb5ce;
  font-size: 14px;
}

.vd-radio-section {
  padding-top: 0;
}

.vd-radio-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .78fr);
  gap: clamp(24px, 4vw, 54px);
  overflow: hidden;
  min-height: 330px;
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid rgba(216,168,95,.34);
  border-radius: 28px;
  background:
    radial-gradient(circle at 84% 18%, rgba(216,168,95,.22), transparent 30%),
    radial-gradient(circle at 10% 78%, rgba(199,44,108,.22), transparent 32%),
    linear-gradient(135deg, rgba(16,12,30,.94), rgba(7,6,18,.98));
  box-shadow: 0 28px 70px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.06);
}

.vd-radio-copy h2 {
  margin: 14px 0 12px;
  color: #fff8ef;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4.8vw, 64px);
  line-height: .94;
  letter-spacing: -.045em;
}

.vd-radio-copy p {
  max-width: 620px;
  margin: 0;
  color: rgba(255,248,239,.76);
  font-size: 18px;
  line-height: 1.62;
}

.vd-radio-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.vd-radio-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  color: #f1d7a0;
  background: rgba(255,255,255,.045);
  font-size: 13px;
  font-weight: 800;
}

.vd-radio-meta i {
  width: 16px;
  height: 16px;
}

.vd-radio-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.vd-radio-player {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 260px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 50%, rgba(216,168,95,.3), transparent 30%),
    linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
}

.vd-radio-orb {
  position: absolute;
  inset: auto;
  display: grid;
  place-items: center;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  color: #17101f;
  background: linear-gradient(135deg, #ffe08a, #d89f36);
  box-shadow: 0 0 60px rgba(216,168,95,.38);
  opacity: .24;
}

.vd-radio-orb i {
  width: 48px;
  height: 48px;
}

.vd-radio-player iframe {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  min-height: 220px;
  border: 0;
  border-radius: 18px;
  background: rgba(5,5,18,.74);
  box-shadow: 0 22px 48px rgba(0,0,0,.34);
}

.vd-question-book-section {
  padding-top: 6px;
}

.vd-question-book-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 440px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(34px, 4.5vw, 68px);
  min-height: 390px;
  overflow: hidden;
  padding: clamp(30px, 4vw, 52px) clamp(30px, 4.6vw, 68px);
  border: 1px solid rgba(216,168,95,.7);
  border-radius: 18px;
  background:
    radial-gradient(circle at 13% 75%, rgba(250,190,94,.42), transparent 22%),
    radial-gradient(circle at 25% 28%, rgba(199,44,108,.26), transparent 32%),
    radial-gradient(circle at 92% 12%, rgba(139,43,217,.18), transparent 34%),
    linear-gradient(105deg, rgba(31,14,37,.98), rgba(10,7,25,.96) 58%, rgba(13,8,28,.97));
  box-shadow: 0 24px 70px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.06);
}

.vd-question-book-card::before,
.vd-question-book-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.vd-question-book-card::before {
  left: -60px;
  bottom: -96px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,197,94,.34), transparent 62%);
  filter: blur(10px);
}

.vd-question-book-card::after {
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.06), transparent 18%, transparent 76%, rgba(216,168,95,.08));
}

.vd-question-book-visual {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 340px;
}

.vd-question-book-visual::before,
.vd-question-book-visual::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.vd-question-book-visual::before {
  bottom: 20px;
  width: min(340px, 90%);
  height: 86px;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at center, rgba(255,238,190,.92), rgba(216,168,95,.38) 44%, rgba(255,171,64,.08) 70%, transparent 76%);
  border: 1px solid rgba(255,223,160,.48);
  box-shadow: 0 0 70px rgba(255,171,64,.52), 0 18px 42px rgba(0,0,0,.36);
}

.vd-question-book-visual::after {
  bottom: 5px;
  width: min(326px, 86%);
  height: 72px;
  border-radius: 0 0 50% 50% / 0 0 68% 68%;
  background:
    linear-gradient(180deg, rgba(255,232,180,.72), rgba(172,121,61,.62) 32%, rgba(50,31,25,.88) 100%);
  border: 1px solid rgba(255,223,160,.3);
  border-top: 0;
  box-shadow: inset 0 -18px 28px rgba(0,0,0,.32), 0 22px 38px rgba(0,0,0,.38);
}

.vd-question-book-visual img {
  position: relative;
  z-index: 2;
  width: min(270px, 82%);
  aspect-ratio: 2 / 3;
  object-fit: cover;
  margin-bottom: 46px;
  border-radius: 16px;
  box-shadow: 0 30px 74px rgba(0,0,0,.62), -18px 22px 44px rgba(255,139,54,.16);
}

.vd-question-book-copy {
  position: relative;
  z-index: 1;
}

.vd-question-book-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: #f2c96d;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.vd-question-book-kicker svg {
  width: 16px;
  height: 16px;
}

.vd-question-book-copy h2 {
  margin: 0;
  max-width: 720px;
  color: #fff8ef;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 4.3vw, 64px);
  line-height: 1.05;
}

.vd-question-book-copy p {
  max-width: 720px;
  margin: 20px 0 30px;
  color: rgba(255,248,239,.82);
  font-size: clamp(18px, 1.35vw, 21px);
  line-height: 1.62;
}

.vd-question-book-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.vd-question-book-meta div {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.vd-question-book-meta svg {
  width: 22px;
  height: 22px;
  color: #f2c96d;
}

.vd-question-book-meta strong {
  color: #fff8ef;
  font-size: 15px;
  line-height: 1.15;
}

.vd-question-book-meta span {
  color: rgba(255,248,239,.68);
  font-size: 13px;
  line-height: 1.25;
}

.vd-question-book-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.vd-qa-card {
  position: relative;
  overflow: hidden;
  min-height: 0;
  border-radius: 14px;
  scroll-snap-align: start;
}

.vd-qa-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  opacity: .82;
}

.vd-qa-card .vd-play {
  top: 10px;
  left: 10px;
  right: auto;
  width: 34px;
  height: 34px;
}

.vd-qa-body {
  padding: 10px 2px 0;
}

.vd-tag {
  display: inline-flex;
  padding: 5px 8px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--vd-primary), var(--vd-secondary));
  font-size: 11px;
  font-weight: 1000;
}

.vd-qa-body h3 {
  margin: 9px 0 5px;
  font-size: 16px;
  line-height: 1.25;
}

.vd-qa-body p {
  margin: 0;
  font-size: 13px;
}

.vd-feature-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin: 18px 0 0;
  border: 1px solid var(--vd-line);
  border-radius: 18px;
  background: rgba(255,255,255,.07);
}

.vd-feature {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  padding: 17px;
  background: rgba(255,255,255,.035);
  min-width: 0;
}

.vd-feature svg {
  color: var(--vd-accent);
  width: 34px;
  height: 34px;
}

.vd-feature strong {
  display: block;
}

.vd-feature span {
  display: block;
  margin-top: 4px;
  color: var(--vd-muted);
  font-size: 12px;
  line-height: 1.35;
}

/* 7. Footer + policy */
.vd-footer {
  padding: 34px 0 44px;
  border-top: 1px solid var(--vd-line);
  margin-top: 26px;
  padding-bottom: 40px;
}

.vd-footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) minmax(150px, .8fr) minmax(150px, .8fr) minmax(280px, 1fr);
  gap: 22px;
}

.vd-footer-grid > * {
  min-width: 0;
}

.vd-footer .vd-brand {
  margin-bottom: 18px;
}

.vd-footer .vd-brand img {
  width: 48px;
  height: 48px;
}

.vd-footer .vd-brand strong {
  font-size: 21px;
}

.vd-footer .vd-brand span {
  font-size: 12px;
}

.vd-footer h4 {
  margin: 0 0 12px;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-size: 12px;
  letter-spacing: .12em;
}

.vd-footer a,
.vd-footer p {
  display: block;
  margin: 6px 0;
  color: var(--vd-muted);
  font-size: 13px;
  line-height: 1.4;
}

.vd-footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.vd-footer-socials a {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0;
  border: 1px solid var(--vd-line);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: var(--vd-ink);
}

.vd-footer-socials svg {
  width: 18px;
  height: 18px;
}

.vd-newsletter {
  display: flex;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--vd-line);
  min-height: 46px;
  border-radius: 12px;
  background: rgba(255,255,255,.045);
}

.vd-newsletter input {
  flex: 1;
  min-width: 0;
  border: 0;
  color: var(--vd-ink);
  background: transparent;
  font-size: 13px;
  padding: 0 14px;
  outline: none;
}

.vd-newsletter button {
  width: 54px;
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--vd-primary), var(--vd-secondary));
  cursor: pointer;
}

.vd-newsletter-feedback {
  min-height: 20px;
  margin-top: 10px;
  font-size: 13px;
  color: var(--vd-muted);
}

.vd-newsletter-feedback.is-error {
  color: #f7a8b6;
}

.vd-newsletter-feedback.is-success {
  color: #b4e2bb;
}

.vd-footer-policy {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--vd-line);
  text-align: center;
}

.vd-policy-disclosure {
  border: 1px solid var(--vd-line);
  border-radius: 18px;
  background: rgba(255,255,255,.04);
  overflow: hidden;
}

.vd-policy-disclosure summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
  color: var(--vd-ink);
  font-weight: 700;
}

.vd-policy-disclosure summary::-webkit-details-marker {
  display: none;
}

.vd-policy-summary-meta {
  color: var(--vd-muted);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.vd-policy-copy {
  padding: 0 20px 20px;
  color: var(--vd-muted);
}

.vd-policy-copy h4 {
  margin: 20px 0 10px;
  color: var(--vd-ink);
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: none;
}

.vd-policy-copy p,
.vd-policy-copy li {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.7;
}

.vd-policy-copy ul {
  margin: 0 0 14px 18px;
  padding: 0;
}

.vd-policy-copy a {
  color: var(--vd-ink);
}

/* 8. Login modal */
.vd-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0,0,0,.62);
  backdrop-filter: blur(14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .65s ease;
}

.vd-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.vd-login {
  width: min(470px, 100%);
  padding: 24px;
  border: 1px solid var(--vd-line);
  border-radius: 26px;
  background: #111025;
  box-shadow: var(--vd-shadow);
  transform: translateY(18px) scale(.98);
  transition: transform .75s cubic-bezier(.16, 1, .3, 1);
}

.vd-modal.is-open .vd-login {
  transform: translateY(0) scale(1);
}

body[data-theme="light"] .vd-login {
  background: #fff;
}

.vd-login-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.vd-login h2 {
  margin: 0;
  font-family: var(--vd-serif);
  font-size: 32px;
}

.vd-login p {
  margin: 8px 0 0;
  color: var(--vd-muted);
}

.vd-auth-panels {
  display: grid;
  overflow: hidden;
  transition: min-height .7s cubic-bezier(.16, 1, .3, 1);
}

.vd-login form {
  grid-area: 1 / 1;
  display: grid;
  gap: 13px;
  margin-top: 20px;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  visibility: hidden;
  transition:
    opacity .7s ease,
    transform .7s cubic-bezier(.16, 1, .3, 1),
    visibility .7s ease;
}

.vd-login form.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
}

.vd-auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 20px;
  padding: 5px;
  border: 1px solid var(--vd-line);
  border-radius: 999px;
  background: rgba(255,255,255,.055);
}

.vd-auth-tab {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  color: var(--vd-muted);
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 1000;
  text-transform: uppercase;
}

.vd-auth-tab.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--vd-primary), var(--vd-secondary));
}

body[data-theme="light"] .vd-auth-tab.is-active {
  color: #fff;
}

.vd-login label {
  color: var(--vd-muted);
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.vd-login input {
  width: 100%;
  min-height: 48px;
  margin-top: 8px;
  border: 1px solid var(--vd-line);
  border-radius: 14px;
  color: var(--vd-ink);
  background: rgba(255,255,255,.06);
  padding: 0 14px;
  outline: none;
}

.vd-auth-message {
  min-height: 20px;
  margin: 8px 0 0;
  color: var(--vd-muted);
  font-size: 13px;
  line-height: 1.4;
}

.vd-auth-message.is-error {
  color: #fb7185;
}

.vd-auth-message.is-success {
  color: #86efac;
}

.vd-login-alerts {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.vd-login-alert {
  padding: 10px 12px;
  border: 1px solid rgba(251,113,133,.32);
  border-radius: 14px;
  color: #fecdd3;
  background: rgba(127,29,29,.22);
  font-size: 13px;
  font-weight: 800;
}

.vd-close {
  width: 40px;
  height: 40px;
  border: 1px solid var(--vd-line);
  border-radius: 14px;
  color: var(--vd-ink);
  background: rgba(255,255,255,.08);
  cursor: pointer;
}

/* 9. Responsive */
@media (max-width: 1280px) {
  .vd-wrap,
  .vd-feature-strip,
  .vd-footer-grid,
  .vd-stats {
    width: min(100% - 36px, 1280px);
  }

  .vd-nav-inner {
    grid-template-columns: 1fr;
    border-radius: 28px;
  }

  .vd-links {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .vd-nav-actions {
    justify-content: flex-start;
  }

  .vd-hero-grid,
  .vd-youtube-row,
  .vd-layout {
    grid-template-columns: 1fr;
  }

  .vd-feature-strip {
    grid-template-columns: 1fr 1fr;
  }

  .vd-book-promo,
  .vd-app-card {
    margin-left: 0;
  }

  .vd-glass.vd-event-card-wide {
    grid-column: 1 / -1;
  }

  .vd-community-panels,
  .vd-community-times {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .vd-wrap,
  .vd-feature-strip,
  .vd-footer-grid,
  .vd-stats {
    width: min(calc(100% - 36px), 100%);
  }

  .vd-search-modal {
    padding: 72px 12px 12px;
  }

  .vd-question-bar {
    grid-template-columns: 28px minmax(0, 1fr) auto 38px;
    gap: 8px;
    padding-inline: 12px;
  }

  .vd-question-bar input {
    min-width: 0;
    font-size: 13px;
  }

  .vd-search-panel {
    margin-top: 10px;
  }

  .vd-search-panel-grid {
    padding: 14px;
  }

  .vd-radio-card {
    grid-template-columns: 1fr;
    padding: 24px 18px;
  }

  .vd-radio-player {
    min-height: 230px;
  }

  .vd-radio-player iframe {
    min-height: 200px;
  }

  .vd-library-home-grid {
    grid-template-columns: 1fr;
  }

  .vd-library-home-cover {
    height: 300px;
  }

  .vd-hero-bg {
    height: 620px;
  }

  .vd-nav {
    position: relative;
  }

  .vd-nav-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 10px 12px 12px;
    border-radius: 22px;
  }

  .vd-brand strong {
    font-size: 18px;
  }

  .vd-brand span {
    font-size: 10px;
  }

  .vd-links {
    display: none;
    gap: 8px;
    padding-top: 8px;
    padding-bottom: 2px;
    grid-column: 1 / -1;
    overflow: visible;
    color: var(--vd-ink);
    scrollbar-width: none;
  }

  .vd-links::-webkit-scrollbar {
    display: none;
  }

  .vd-links a {
    padding: 10px 12px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.04);
    white-space: normal;
    font-size: 11px;
    line-height: 1.2;
  }

  .vd-nav-actions {
    justify-content: flex-end;
    gap: 8px;
    width: auto;
  }

  .vd-nav-menu-btn {
    display: inline-grid;
  }

  .vd-login-cta {
    min-height: 40px;
  }

  .vd-nav-actions > :not(.vd-nav-menu-btn) {
    display: none;
  }

  .vd-nav.is-mobile-open .vd-links {
    display: grid;
    grid-template-columns: 1fr;
  }

  .vd-nav.is-mobile-open .vd-nav-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
    width: 100%;
    padding-top: 2px;
    flex-wrap: wrap;
  }

  .vd-nav.is-mobile-open .vd-nav-actions > :not(.vd-nav-menu-btn) {
    display: inline-flex;
  }

  .vd-nav.is-mobile-open .vd-nav-menu-btn {
    margin-left: auto;
  }

  .vd-nav.is-mobile-open .vd-login-cta {
    flex: 1 1 100%;
    justify-content: center;
  }

  .vd-hero h1 {
    font-size: clamp(34px, 11vw, 48px);
    max-width: 100%;
  }

  .vd-hero-copy,
  .vd-hero-copy-block {
    max-width: 100%;
  }

  .vd-hero-controls {
    gap: 10px;
    bottom: 8px;
  }

  .vd-hero-pager {
    width: 38px;
  }

  .vd-hero-pager.is-active {
    width: 52px;
  }

  .vd-hero {
    min-height: auto;
  }

  .vd-hero-grid {
    padding-top: 22px;
  }

  .vd-hero-copy-block,
  .vd-hero-slides {
    min-height: 390px;
  }

  .vd-hero-note {
    margin-top: 12px;
    font-size: 12px;
  }

  .vd-hero-cta {
    display: grid;
    grid-template-columns: 1fr;
  }

  .vd-hero-cta .vd-btn {
    width: 100%;
    justify-content: center;
  }

  .vd-footer {
    padding: 30px 0 38px;
  }

  .vd-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 22px;
  }

  .vd-info-grid,
  .vd-community-events-grid,
  .vd-latest,
  .vd-feature-strip,
  .vd-footer-grid {
    grid-template-columns: 1fr;
  }

  .vd-library-only-card .vd-library-tab-books {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vd-book-promo {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .vd-book-promo img {
    width: 112px;
    height: 158px;
  }

  .vd-feature-hero-card {
    min-height: 0;
    padding: 24px 22px;
  }

  .vd-library-hero {
    min-height: 0;
  }

  .vd-feature-title {
    max-width: 100%;
    font-size: clamp(34px, 10vw, 46px);
  }

  .vd-feature-copy,
  .vd-hero-copy-block {
    max-width: 100%;
  }

  .vd-feature-copy {
    font-size: 16px;
  }

  .vd-feature-list li {
    gap: 12px;
    font-size: 15px;
  }

  .vd-library-art {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    min-height: 240px;
    margin-top: 10px;
  }

  .vd-community-panels,
  .vd-community-times {
    grid-template-columns: 1fr 1fr;
  }

  .vd-community-panel {
    padding: 14px 10px 12px;
  }

  .vd-community-panel strong {
    font-size: 11px;
  }

  .vd-community-focus-head {
    grid-template-columns: 1fr;
  }

  .vd-community-focus-icon,
  .vd-community-badge {
    justify-self: start;
  }

  .vd-community-actions {
    display: grid;
  }

  .vd-community-actions .vd-btn {
    width: 100%;
  }

  .vd-library-feature-book {
    grid-template-columns: minmax(130px, .72fr) minmax(0, 1fr);
  }

  .vd-library-feature-cover {
    min-height: 210px;
  }

  .vd-library-feature-cover img,
  .vd-library-feature-book > img {
    width: min(164px, 94%);
  }

  .vd-library-mini-books {
    grid-template-columns: 1fr 1fr;
  }

  .vd-event {
    grid-template-columns: 58px minmax(0, 1fr);
    align-items: start;
  }

  .vd-event img {
    grid-column: 1 / -1;
    width: 100%;
    height: 180px;
  }

  .vd-newsletter {
    min-height: 50px;
  }
}

@media (max-width: 560px) {
  .vd-wrap,
  .vd-feature-strip,
  .vd-footer-grid,
  .vd-stats {
    width: min(calc(100% - 28px), 100%);
  }

  .vd-question-bar {
    grid-template-columns: 24px minmax(0, 1fr) 34px;
    padding: 10px 10px 10px 11px;
  }

  .vd-nav-inner {
    padding: 9px 10px 11px;
  }

  .vd-links a {
    font-size: 10px;
  }

  .vd-question-bar .vd-btn[type="submit"] {
    display: none;
  }

  .vd-search-close {
    width: 34px;
    height: 34px;
  }

  .vd-hero-bg {
    height: 600px;
  }

  .vd-hero-grid {
    padding-top: 18px;
  }

  .vd-hero-copy-block,
  .vd-hero-slides {
    min-height: 350px;
  }

  .vd-hero h1 {
    font-size: clamp(30px, 10.5vw, 40px);
  }

  .vd-hero-copy {
    font-size: 15px;
  }

  .vd-stats {
    grid-template-columns: 1fr;
    margin-top: 18px;
  }

  .vd-stat {
    padding: 11px 12px;
  }

  .vd-stat strong {
    font-size: 18px;
  }

  .vd-feature-kicker {
    gap: 10px;
    font-size: 14px;
  }

  .vd-feature-kicker .vd-feature-kicker-icon {
    width: 52px;
    height: 52px;
  }

  .vd-feature-kicker .vd-feature-kicker-icon svg {
    width: 24px;
    height: 24px;
  }

  .vd-community-panels,
  .vd-community-times {
    grid-template-columns: 1fr;
  }

  .vd-community-focus {
    padding: 16px;
  }

  .vd-community-badge {
    min-height: 36px;
    padding-inline: 14px;
    font-size: 11px;
  }

  .vd-community-time {
    justify-items: start;
    text-align: left;
  }

  .vd-latest-copy h2 {
    font-size: 24px;
  }

  .vd-newsletter {
    display: grid;
    grid-template-columns: 1fr 50px;
  }

  .vd-event {
    gap: 10px;
    padding: 9px;
  }
}

@media (max-width: 1180px) {
  .vd-question-book-card {
    grid-template-columns: minmax(220px, 340px) minmax(0, 1fr);
  }

  .vd-question-book-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .vd-library-hero {
    max-width: none;
    min-height: 540px;
  }

  .vd-library-hero .vd-feature-hero-content {
    max-width: 260px;
  }

  .vd-library-only-card .vd-feature-hero-content {
    max-width: none;
  }

  .vd-library-hero .vd-feature-title {
    font-size: clamp(32px, 9vw, 42px);
  }

  .vd-library-hero .vd-feature-copy {
    max-width: 245px;
    font-size: 15px;
  }

  .vd-library-art {
    position: absolute;
    right: 0;
    bottom: 34px;
    width: 188px;
    height: 270px;
    min-height: 0;
    margin-top: 0;
  }

  .vd-library-main-book {
    right: 16px;
    width: 126px;
  }

  .vd-library-feature-book {
    grid-template-columns: 1fr;
  }

  .vd-library-feature-cover {
    min-height: 240px;
  }

  .vd-library-feature-cover img,
  .vd-library-feature-book > img {
    width: min(190px, 68%);
  }

  .vd-library-mini-books {
    grid-template-columns: 1fr;
  }

  .vd-library-tab-books {
    grid-template-columns: 1fr;
    max-height: 430px;
  }

  .vd-library-footer-actions .vd-btn,
  .vd-library-feature-actions .vd-btn {
    width: 100%;
  }

  .vd-question-book-card {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 26px 18px 30px;
  }

  .vd-question-book-visual {
    min-height: 330px;
  }

  .vd-question-book-visual img {
    width: min(230px, 72%);
    margin-bottom: 44px;
  }

  .vd-question-book-copy {
    text-align: left;
  }

  .vd-question-book-meta {
    grid-template-columns: 1fr 1fr;
    gap: 14px 12px;
  }

  .vd-question-book-actions .vd-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .vd-question-book-meta {
    grid-template-columns: 1fr;
  }
}
