
:root {
  --okra: #ffffff;
  --salmon: #f6f5f3;
  --mustard: #f6f5f3;
  --coffee: #e5ebe6;
  --moztasa: #baece8;
  --white: #d6c27a;
  --ink: #111;
}

.teladoc-style-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 24px;
}

/* Base card */
.card {
  border-radius: 20px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(0,0,0,0.05);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.card p {
  font-size: 14px;
  line-height: 1.4;
}

/* Sizes */
.small {
  grid-column: span 1;
}

.large {
  grid-column: 2 / span 2;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.tall {
  grid-row: span 2;
}

.tall-1 {
  grid-row: span 3;
}
/* Colors */
.okra { background: var(--okra); }
.salmon { background: var(--salmon); }
.mustard { background: var(--mustard); }
.coffee { background: var(--coffee); color: #fff; }
.white { background: var(--white); }
.moztasa { background: var(--moztasa); }

/* Image cards */
.card.image {
  padding: 0;
}

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

/* Video */
.card.video .play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: #fff;
  background: rgba(0,0,0,0.25);
}

/* Tag */
.tag {
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .8;
  margin-bottom: 8px;
}

/* Hover */
.card:hover {
  transform: translateY(-4px);
  transition: transform .25s ease;
}

/* Responsive */
@media (max-width: 1000px) {
  .teladoc-style-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .large {
    grid-column: span 2;
  }
}

@media (max-width: 600px) {
  .teladoc-style-grid {
    grid-template-columns: 1fr;
  }
}
.video-vertical {
  padding: 0;
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
}

.video-thumb {
  position: relative;
}

.video-thumb img {
  width: 100%;
  height: auto;
  display: block;
}

.video-thumb .play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.video-content {
  padding: 20px 22px 24px;
}

.video-content .stat {
  font-size: 16px;
  line-height: 1.4;
  margin: 0 0 8px;
}

.video-content .stat span {
  color: #6b4f2c; /* café / ocre */
  font-weight: 600;
}

.video-content .description {
  font-size: 14px;
  color: #444;
  margin: 0 0 12px;
}

.video-content a {
  font-size: 14px;
  text-decoration: none;
  font-weight: 500;
  color: #6b4f2c;
}

.large-1 {
  grid-column: 1 / span 1;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.card.large {
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.card.large .card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

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

.card.large .card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.card.large.coffee {
  background: #4b382a;
  color: #fff;
}

.card.large.coffee a {
  color: #e3b23c; /* mostaza */
  text-decoration: none;
  font-weight: 500;
}

.card.large .tag {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 8px;
}

@media (max-width: 1000px) {
  .teladoc-style-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }

  .large,
  .large-1 {
    grid-column: span 2;
  }

  .tall,
  .tall-1 {
    grid-row: span 2;
  }
}

@media (max-width: 600px) {
  .teladoc-style-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 16px;
  }

  /* Reset de spans editoriales */
  .small,
  .large,
  .large-1,
  .tall,
  .tall-1 {
    grid-column: auto;
    grid-row: auto;
  }

  /* Cards */
  .card {
    padding: 20px;
    border-radius: 16px;
  }

  .card h3 {
    font-size: 18px;
  }

  .card p {
    font-size: 14px;
  }

  /* Image cards */
  .card.image img {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  /* Large cards con imagen */
  .card.large {
    padding: 0;
  }

  .card.large .card-image {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .card.large .card-content {
    padding: 20px;
  }

  /* Video card */
  .video-thumb img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }

  .video-content {
    padding: 18px 20px;
  }
}
.card {
  transition: transform .25s ease, box-shadow .25s ease;
}

@media (hover: hover) {
  .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 42px rgba(0,0,0,0.08);
  }
}
