/* ==========================================================================
   1. VARIABLES Y CONFIGURACIÓN BASE
   ========================================================================== */
:root {
  --bg-dark: #0a0a0a;
  --bg-card: #141414;
  --primary-wine: #7b0f12;
  --accent-gold: #d4af37;
  --text-main: #f0f0f0;
  --text-muted: #a0a0a0;
  --font-heading: "Playfair Display", serif;
  --font-body: "Inter", sans-serif;
  --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  margin-top: 0 !important; /* Fix Google Translate */
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  top: 0 !important; /* Fix Google Translate */
  position: relative !important;
}

/* ==========================================================================
     2. TIPOGRAFÍA Y UTILIDADES
     ========================================================================== */
h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-main);
}

h1 {
  font-size: 3.5rem;
  letter-spacing: -1px;
  margin-bottom: 1rem;
}
h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: var(--accent-gold);
}
p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.highlight {
  color: var(--primary-wine);
}
.text-center {
  text-align: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section-dark {
  background-color: var(--bg-dark);
  padding: 80px 0;
}
.section-wine {
  background: linear-gradient(to bottom, #0f0f0f, #1a0506);
  padding: 80px 0;
}
.section-black {
  background-color: #000;
  padding: 80px 0;
}

.subtitle {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.85rem;
  color: var(--primary-wine);
  font-weight: 600;
  display: block;
  margin-bottom: 10px;
}

/* ==========================================================================
     3. NAVEGACIÓN (NAVBAR)
     ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 15px 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo con imagen */
.logo {
  font-size: 0;
  text-decoration: none;
}
.logo-img-nav {
  height: 40px;
  width: auto;
  max-width: 180px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-main);
  font-size: 0.95rem;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--accent-gold);
}

.btn-nav {
  border: 1px solid var(--accent-gold);
  padding: 8px 20px;
  border-radius: 50px;
  color: var(--accent-gold) !important;
}

.btn-nav:hover {
  background: var(--accent-gold);
  color: #000 !important;
}

.menu-toggle {
  display: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Selector de Idioma */
.lang-selector {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 15px;
}

.lang-selector img {
  width: 20px;
  height: auto;
  cursor: pointer;
  transition: transform 0.3s ease;
  filter: grayscale(40%);
}

.lang-selector img:hover,
.lang-selector img.active-lang {
  transform: scale(1.2);
  filter: grayscale(0%);
}

.lang-selector span {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ==========================================================================
     4. HERO SECTION
     ========================================================================== */
.hero-section {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background: url("assets/Fondo Mago Tate.webp") no-repeat left top/cover;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.7) 0%,
    rgba(10, 10, 10, 0.9) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.slogan {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.2rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 1rem;
}

.logo-img-hero {
  width: 400px;
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.4));
  margin-bottom: 2rem;
}

.bio-text {
  margin-bottom: 2.5rem;
  font-weight: 300;
  color: #e0e0e0;
}

.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
  animation: bounce 2s infinite;
  opacity: 0.7;
}

/* ==========================================================================
     5. BOTONES Y COMPONENTES
     ========================================================================== */
.btn {
  display: inline-block;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
}

.btn:disabled {
  cursor: wait;
  opacity: 0.65;
}

.btn-primary {
  background-color: var(--primary-wine);
  color: #fff;
  box-shadow: 0 4px 15px rgba(123, 15, 18, 0.4);
}
.btn-primary:hover {
  background-color: #9e1c1f;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  margin-left: 10px;
}
.btn-secondary:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.btn-outline {
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
  margin-top: 2rem;
}
.btn-outline:hover {
  background: var(--accent-gold);
  color: #000;
}

.full-width {
  width: 100%;
}
.center-btn {
  text-align: center;
}

/* ==========================================================================
     6. GRID DE BLOG Y VIDEOS
     ========================================================================== */
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.card {
  background: var(--bg-card);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-color: var(--primary-wine);
}

.card-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #fff;
}
.card-excerpt {
  font-size: 0.95rem;
  color: #888;
  flex-grow: 1;
  margin-bottom: 20px;
}
.card-link {
  color: var(--accent-gold);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}
.card-link:hover {
  text-decoration: underline;
}

/* Presentación editorial de la serie completa */
.series-editorial {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 32px;
  align-items: stretch;
  margin: 48px 0 18px;
  padding: 34px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(123, 15, 18, 0.3), rgba(20, 20, 20, 0.95)),
    var(--bg-card);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
}

.series-kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--accent-gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.series-editorial h3 {
  max-width: 780px;
  margin-bottom: 16px;
  font-size: 2rem;
}

.series-editorial p {
  max-width: 780px;
  margin-bottom: 12px;
}

.series-editorial-stat {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 28px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2);
  text-align: center;
}

.series-editorial-stat span {
  font-family: var(--font-heading);
  font-size: 4rem;
  line-height: 1;
  color: var(--accent-gold);
}

.series-editorial-stat small {
  max-width: 150px;
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.series-video-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  padding: 10px 16px;
  border: 1px solid var(--accent-gold);
  border-radius: 999px;
  color: var(--accent-gold);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: var(--transition);
}

.series-video-link:hover {
  background: var(--accent-gold);
  color: #000;
  transform: translateY(-2px);
}

.summary-card {
  position: relative;
  border-color: rgba(212, 175, 55, 0.16);
}

.summary-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.82);
  color: var(--accent-gold);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.series-actions {
  margin-top: 12px;
}

.series-actions .btn {
  min-width: 230px;
}

body.modal-open {
  overflow: hidden;
}

.chapters-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  padding: 22px;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(12px);
}

.chapters-modal.is-open {
  display: block;
}

.chapters-modal-panel {
  width: min(1180px, 100%);
  height: min(92vh, 980px);
  min-height: 0;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.24);
  border-radius: 8px;
  background: #0d0d0d;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.62);
  display: flex;
  flex-direction: column;
}

.chapters-modal-header {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 30px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.chapters-modal-header h2 {
  margin-bottom: 4px;
}

.chapters-count {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.chapters-modal-close {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: var(--transition);
}

.chapters-modal-close:hover,
.chapters-modal-close:focus-visible {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.chapters-modal-controls {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

.chapters-intro-link {
  margin-top: 0;
  white-space: nowrap;
}

.chapters-modal-tools {
  flex: 0 0 auto;
  position: relative;
  padding: 18px 30px 0;
}

.chapters-search-label {
  position: absolute;
  left: 46px;
  top: 31px;
  color: var(--text-muted);
  pointer-events: none;
}

.chapters-search {
  width: 100%;
  min-height: 50px;
  padding: 12px 18px 12px 48px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: #141414;
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
}

.chapters-search:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12);
}

.chapters-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: auto;
  align-content: start;
  align-items: stretch;
  flex: 1 1 auto;
  gap: 24px;
  margin-top: 0;
  min-height: 0;
  padding: 24px 30px 34px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: var(--accent-gold) rgba(255, 255, 255, 0.08);
  scrollbar-width: thin;
}

.chapters-grid::-webkit-scrollbar {
  width: 10px;
}

.chapters-grid::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.chapters-grid::-webkit-scrollbar-thumb {
  background: var(--accent-gold);
  border: 2px solid #0d0d0d;
  border-radius: 999px;
}

.chapters-grid .card {
  height: 450px;
  min-height: 0;
  align-self: stretch;
}

.chapters-grid .card-img {
  display: block;
  flex: 0 0 auto;
  height: 190px;
}

.chapters-grid .card-content {
  min-height: 0;
  padding: 20px;
  overflow: hidden;
}

.chapters-grid .card-title {
  font-size: 1.08rem;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.chapters-grid .card-excerpt {
  font-size: 0.88rem;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}

.chapters-empty {
  grid-column: 1 / -1;
}

/* Estilos específicos para Reels */
.reels-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}

.reels-loading {
  grid-column: 1 / -1;
  color: var(--text-muted);
  text-align: center;
}

.card-reel {
  padding: 0;
  overflow: hidden;
  position: relative;
  background: #0d0d0d;
}

.card-reel:hover {
  transform: translateY(-6px);
}

.reel-cover {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: #050505;
  color: #fff;
}

.reel-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.reel-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.36));
  opacity: 0.72;
  transition: opacity 0.35s ease;
}

.reel-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  transform: translate(-50%, -50%);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease, background 0.25s ease;
}

.reel-play::before {
  content: "";
  position: absolute;
  left: 30px;
  top: 22px;
  border-style: solid;
  border-width: 15px 0 15px 23px;
  border-color: transparent transparent transparent var(--primary-wine);
}

.reel-cover:hover img,
.reel-cover:focus-visible img {
  transform: scale(1.04);
  filter: saturate(1.08);
}

.reel-cover:hover::after,
.reel-cover:focus-visible::after {
  opacity: 0.42;
}

.reel-cover:hover .reel-play,
.reel-cover:focus-visible .reel-play {
  background: #fff;
  transform: translate(-50%, -50%) scale(1.06);
}

.reel-cover:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 4px;
}

/* ==========================================================================
     7. SECCIÓN CONTACTO
     ========================================================================== */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}
.contact-list {
  list-style: none;
  margin-top: 20px;
}
.contact-list li {
  margin-bottom: 15px;
  font-size: 1.1rem;
}
.contact-list a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}
.contact-list a:hover {
  color: var(--accent-gold);
}
.contact-list i {
  width: 25px;
  color: var(--primary-wine);
}

.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border-radius: 4px;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-gold);
}

.thank-you-message {
  padding: 40px;
  border: 2px solid var(--accent-gold);
  border-radius: 8px;
  background: var(--bg-card);
  text-align: center;
}

/* ==========================================================================
     8. FOOTER Y ANIMACIONES
     ========================================================================== */
footer {
  padding: 40px 0;
  background: #050505;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
  color: #666;
}
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.social-links a {
  color: #888;
  margin-left: 20px;
  font-size: 1.2rem;
  transition: 0.3s;
}
.social-links a:hover {
  color: var(--accent-gold);
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.loader {
  text-align: center;
  color: var(--text-muted);
  font-style: italic;
  grid-column: 1 / -1;
}

/* ==========================================================================
     9. LIMPIEZA TOTAL GTRANSLATE (NUCLEAR)
     ========================================================================== */
.goog-te-banner-frame,
.goog-te-banner,
.skiptranslate[style*="top: 0"],
.skiptranslate[style*="top:0"],
.skiptranslate {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  opacity: 0 !important;
}
iframe.goog-te-banner-frame {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  opacity: 0 !important;
}

#goog-gt-tt,
.goog-te-balloon-frame,
.goog-text-highlight,
.goog-tooltip,
.goog-tooltip:hover {
  display: none !important;
  visibility: hidden !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

.goog-te-gadget {
  color: transparent !important;
  font-size: 0 !important;
}
.goog-te-gadget .goog-te-combo {
  display: none !important;
}

/* ==========================================================================
     10. RESPONSIVE (MEDIA QUERIES)
     ========================================================================== */
@media (max-width: 1024px) {
  .series-editorial {
    grid-template-columns: 1fr;
  }

  .series-editorial-stat {
    min-height: auto;
  }

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

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

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  .logo-img-nav {
    height: 30px;
  }
  .logo-img-hero {
    width: 300px;
  }
  .hero-section {
    background-position: 30% top;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--bg-dark);
    padding: 20px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    z-index: 1000;
  }

  .nav-links.active {
    display: flex;
  }
  .lang-selector {
    margin-top: 20px;
    justify-content: center;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  .thank-you-message {
    grid-column: 1 / 2;
  }

  .series-editorial {
    margin-top: 36px;
    padding: 26px;
  }

  .series-editorial h3 {
    font-size: 1.65rem;
  }

  .series-editorial-stat span {
    font-size: 3.2rem;
  }

  .chapters-modal {
    padding: 0;
    overflow: hidden;
  }

  .chapters-modal-panel {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    max-height: none;
    min-height: 0;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }

  .chapters-modal-header {
    flex-direction: column;
    gap: 14px;
    padding: 20px 20px 14px;
  }

  .chapters-modal-header h2 {
    font-size: 2rem;
  }

  .chapters-modal-controls {
    width: 100%;
    justify-content: space-between;
  }

  .chapters-intro-link {
    min-width: 0;
    padding: 11px 22px;
    text-align: center;
  }

  .chapters-modal-tools {
    padding: 14px 20px 0;
  }

  .chapters-search-label {
    left: 36px;
    top: 27px;
  }

  .chapters-grid {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    gap: 18px;
    min-height: 0;
    padding: 18px 20px 28px;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
  }

  .chapters-grid .card {
    display: flex;
    flex: 0 0 auto;
    height: auto;
    min-height: 0;
    align-self: stretch;
  }

  .chapters-grid .card-img {
    width: 100%;
    height: 190px !important;
    min-height: 190px;
    object-fit: cover;
  }

  .chapters-grid .card-content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
  }

  .chapters-grid .card-title,
  .chapters-grid .card-excerpt {
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
  }
}

@media (max-width: 640px) {
  .grid-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .series-editorial {
    padding: 22px;
  }

  .series-editorial p {
    font-size: 1rem;
  }

  .series-actions .btn {
    width: 100%;
    min-width: 0;
  }

  .chapters-modal-close {
    width: 42px;
    height: 42px;
  }

  .chapters-grid .card-img {
    height: 180px !important;
    min-height: 180px;
  }

  .reels-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 480px) and (orientation: portrait) {
  .chapters-modal-header {
    padding: 18px 18px 12px;
  }

  .chapters-modal-header h2 {
    font-size: 1.85rem;
  }

  .chapters-modal-tools {
    padding: 12px 18px 0;
  }

  .chapters-search-label {
    left: 34px;
    top: 25px;
  }

  .chapters-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 18px 18px 28px;
  }

  .chapters-grid .card {
    width: 100%;
  }

  .chapters-grid .card-img {
    height: 176px !important;
    min-height: 176px;
  }
}
