
/* =========================================
BLOG HERO
========================================= */

.blog-hero {
margin-top: 30px;
  min-height: 60vh;

  display: flex;
  align-items: center;
  justify-content: center;
border-radius: 15px;
  text-align: center;

  padding: 4rem 1.5rem;

  background:
    linear-gradient(rgba(0, 0, 0, .65),
      rgba(0, 0, 0, .65)),
    url("../imgs/fondo2.png");

  background-size: cover;
  background-position: center;
}

.blog-hero-content {

  max-width: 900px;
}

.blog-tag {

  display: inline-block;

  background: rgba(255, 255, 255, .15);

  color: white;

  padding: .7rem 1.2rem;

  border-radius: 999px;

  margin-bottom: 1.5rem;

  font-weight: 600;
}

.blog-hero h1 {

  color: white;

  font-size: clamp(2.4rem, 5vw, 4.5rem);

  margin-bottom: 1.5rem;

  line-height: 1.1;
}

.blog-hero p {

  color: rgba(255, 255, 255, .85);

  font-size: 1.1rem;

  line-height: 1.8;
}

/* =========================================
BLOG
========================================= */

.blog-section {

  padding: 6rem 1.5rem;
}

.blog-grid {

  display: grid;

  grid-template-columns:
    repeat(auto-fit, minmax(300px, 1fr));

  gap: 2rem;

  margin-top: 3rem;
}
/* ── YouTube section spacing ── */
.youtube-section {
  border-radius: 15px;

  padding: 4rem 2rem;
  background: rgb(51, 51, 51);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}
.youtube-section .section-title {
  text-align: center;
  margin-bottom: 2.5rem;
}
.youtube-section .section-title h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: .6rem;
  color: rgb(43, 42, 42);
}
.youtube-section .section-title p {
 
  color: rgb(43, 42, 42);
}
.youtube-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}
.video-card {
  background: var(--surface, #fff);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
  border: 1px solid var(--border, #e2e8f0);
}
.video-card iframe {
  width: 100%;
  aspect-ratio: 16/9;
  display: block;
  border: none;
}
.video-info {
  padding: 1rem 1.25rem;
}
.video-info h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .35rem;
  color: var(--title, #0f172a);
}
.video-info p {
  font-size: .875rem;
  color: var(--text-light, #64748b);
  line-height: 1.5;
}
