@charset "UTF-8";
/* ─────────────────────────────────────────────────────────────
   Tesveco · Blog index
   Paleta: negros, blancos y grises. Tipografía: Montserrat.
   ───────────────────────────────────────────────────────────── */
/* ─── Página completa con fondo oscuro y filtro ─────────────── */
.bl-page {
  position: relative;
  background: #1f2226;
  padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 4vw, 3rem) clamp(4rem, 8vw, 6rem);
  overflow: hidden;
}

.bl-page__shade {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 44vw;
  max-height: 620px;
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.55) 70%, rgb(31, 34, 38) 100%), url("../../media/cabecera%20blog.png");
  background-repeat: no-repeat, no-repeat;
  background-position: center, center;
  background-size: 100% 100%, cover;
  pointer-events: none;
  z-index: 0;
}

.bl-page > *:not(.bl-page__shade) {
  position: relative;
  z-index: 1;
}

/* ─── Cabecera (texto/formato/fuente original intacto) ──────── */
.bl-page__header {
  max-width: 880px;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
  text-align: center;
  color: #ffffff;
}

.blog-foto__eyebrow {
  display: inline-block;
  font-family: "Montserrat", "Segoe UI", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.5rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.blog-foto__title {
  font-family: "Montserrat", "Segoe UI", sans-serif;
  font-weight: 300;
  font-size: clamp(2rem, 5.2vw, 3.6rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 1.25rem;
  color: #ffffff;
}

.blog-foto__sub {
  font-family: "Montserrat", "Segoe UI", sans-serif;
  font-weight: 300;
  font-size: clamp(0.95rem, 1.7vw, 1.1rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  max-width: 640px;
  margin: 0 auto;
}

.blog-foto__line {
  width: 44px;
  height: 2px;
  background: #ffffff;
  margin: 2rem auto 0;
}

/* ─── Card destacado central ────────────────────────────────── */
.bl-featured {
  position: relative;
  cursor: pointer;
  max-width: 1180px;
  margin: clamp(2rem, 4vw, 3rem) auto clamp(2.5rem, 5vw, 4rem);
  border-radius: 16px;
  overflow: hidden;
  min-height: clamp(360px, 42vw, 460px);
  display: flex;
  align-items: stretch;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55);
  isolation: isolate;
}
.bl-featured::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  pointer-events: none;
  z-index: 3;
}

.bl-featured__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.bl-featured__media img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}

.bl-featured:hover .bl-featured__media img {
  transform: scale(1.03);
}

.bl-featured__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.55) 45%, rgba(0, 0, 0, 0.15) 100%), linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.5) 100%);
  pointer-events: none;
}

.bl-featured__content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  padding: clamp(2rem, 4vw, 3rem);
  max-width: 620px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.bl-featured__cat {
  align-self: flex-start;
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-family: "Montserrat", "Segoe UI", sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.42rem 0.85rem;
  border-radius: 2px;
  backdrop-filter: blur(4px);
}

.bl-featured__title {
  margin: 0;
  font-family: "Montserrat", "Segoe UI", sans-serif;
  font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: #ffffff;
}
.bl-featured__title a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease;
}
.bl-featured__title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.bl-featured__title a:hover, .bl-featured__title a:focus-visible {
  opacity: 0.85;
  outline: none;
}

.bl-featured__excerpt {
  margin: 0;
  font-family: "Montserrat", "Segoe UI", sans-serif;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.65;
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  max-width: 520px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bl-featured__cta {
  position: relative;
  align-self: flex-start;
  margin-top: 0.6rem;
  display: inline-block;
  font-family: "Montserrat", "Segoe UI", sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #1a1a1a;
  text-decoration: none;
  padding: 2px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.04);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: background 0.3s ease, border-color 0.3s ease;
}
.bl-featured__cta::before {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 4px;
  background: linear-gradient(to right, #5a5a5a 0%, #888888 12%, #cfcfcf 35%, #f5f5f5 50%, #cfcfcf 65%, #888888 88%, #5a5a5a 100%);
  border: 1px solid #3a3a3a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), inset 0 -1px 0 rgba(0, 0, 0, 0.25), 0 1px 2px rgba(0, 0, 0, 0.4);
  z-index: 0;
  transition: filter 0.3s ease, box-shadow 0.3s ease;
}
.bl-featured__cta:hover, .bl-featured__cta:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.35);
  outline: none;
}
.bl-featured__cta:hover::before, .bl-featured__cta:focus-visible::before {
  filter: brightness(1.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), inset 0 -1px 0 rgba(0, 0, 0, 0.25), 0 2px 4px rgba(0, 0, 0, 0.45);
}
.bl-featured__cta:active::before {
  background: linear-gradient(to right, #4a4a4a 0%, #707070 12%, #b0b0b0 35%, #d8d8d8 50%, #b0b0b0 65%, #707070 88%, #4a4a4a 100%);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
}

.bl-featured__cta-text {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 0.3rem 0.95rem;
}

/* ─── Grid de cards inferiores ──────────────────────────────── */
.bl-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 1.6vw, 1.5rem);
}

.bl-card {
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  padding: 10px;
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}
.bl-card:hover, .bl-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.45);
}
.bl-card:hover .bl-card__media img, .bl-card:focus-within .bl-card__media img {
  transform: scale(1.05);
}
.bl-card:hover .bl-card__cta span, .bl-card:focus-within .bl-card__cta span {
  transform: translateX(3px);
}

.bl-card__media {
  display: block;
  aspect-ratio: 16/11;
  overflow: hidden;
  background: #1a1a1a;
  border-radius: 8px;
}
.bl-card__media img {
  width: 100%;
  height: 100%;
  display: block;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.6s ease;
}

.bl-card__placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: #ffffff;
  font-family: "Montserrat", "Segoe UI", sans-serif;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #0d0d0d 0%, #2c2c2c 100%);
  font-size: 0.85rem;
}

.bl-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 10px;
  padding: 0;
  flex: 1;
  min-width: 0;
}

.bl-card__cat {
  font-family: "Montserrat", "Segoe UI", sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8a8a8a;
}

.bl-card__title {
  margin: 0;
  font-family: "Montserrat", "Segoe UI", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.005em;
}
.bl-card__title a {
  color: #0d0d0d;
  text-decoration: none;
  transition: color 0.3s ease;
}
.bl-card__title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.bl-card__media,
.bl-card__cta {
  position: relative;
  z-index: 2;
}
.bl-card__title a:hover, .bl-card__title a:focus-visible {
  color: #4a4a4a;
  outline: none;
}

.bl-card__excerpt {
  margin: 0;
  font-family: "Montserrat", "Segoe UI", sans-serif;
  font-weight: 400;
  color: #4a4a4a;
  line-height: 1.55;
  font-size: 0.82rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bl-card__cta {
  margin-top: 0.5rem;
  font-family: "Montserrat", "Segoe UI", sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: #0d0d0d;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.3s ease;
}
.bl-card__cta span {
  display: inline-block;
  transition: transform 0.3s ease;
  font-size: 1rem;
  line-height: 1;
}
.bl-card__cta:hover, .bl-card__cta:focus-visible {
  color: #4a4a4a;
  outline: none;
}

.bl-empty {
  grid-column: 1/-1;
  text-align: center;
  font-family: "Montserrat", "Segoe UI", sans-serif;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  padding: 3rem 1rem;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
}

/* ─── Vista show heredada ───────────────────────────────────── */
.blog-foto {
  position: relative;
  height: 70vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-foto img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  z-index: 0;
}
.blog-foto__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.65) 15%, rgba(0, 0, 0, 0.25) 35%, rgba(0, 0, 0, 0) 45%), linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.65) 15%, rgba(0, 0, 0, 0.25) 35%, rgba(0, 0, 0, 0) 45%);
  z-index: 1;
}
.blog-foto__caption {
  position: relative;
  z-index: 2;
  max-width: 880px;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  text-align: center;
  color: #ffffff;
}
.blog-foto__byline {
  margin-top: 1.5rem;
  font-family: "Montserrat", "Segoe UI", sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.blog-foto__byline time {
  color: rgba(255, 255, 255, 0.85);
}
.blog-foto__byline-sep {
  opacity: 0.7;
}
.blog-foto--show {
  min-height: 60vh;
  margin-top: -70px;
  align-items: flex-end;
  justify-content: center;
  padding: clamp(5rem, 12vw, 7rem) 0 clamp(2rem, 5vw, 4rem);
}
.blog-foto--show .blog-foto__overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.55) 70%, rgba(0, 0, 0, 0.85) 100%);
}
.blog-foto--show .blog-foto__caption {
  text-align: center;
}
.blog-foto--show .blog-foto__eyebrow,
.blog-foto--show .blog-foto__title,
.blog-foto--show .blog-foto__sub,
.blog-foto--show .blog-foto__byline {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55), 0 1px 2px rgba(0, 0, 0, 0.7);
}
.blog-foto--show .blog-foto__title {
  font-size: clamp(1.85rem, 4.4vw, 3rem);
  font-weight: 400;
}
@media (max-width: 640px) {
  .blog-foto--show {
    min-height: 70vh;
    align-items: center;
    padding: clamp(5rem, 18vw, 7rem) 1rem clamp(2rem, 6vw, 3rem);
  }
  .blog-foto--show .blog-foto__title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
  }
  .blog-foto--show .blog-foto__sub {
    font-size: 0.95rem;
    line-height: 1.55;
  }
}

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .bl-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 900px) {
  .bl-featured {
    min-height: 400px;
  }
  .bl-featured__shade {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.8) 100%);
  }
  .bl-featured__content {
    max-width: 100%;
  }
}
@media (max-width: 560px) {
  .bl-grid {
    grid-template-columns: 1fr;
  }
}/*# sourceMappingURL=tesvecoStyleBlog.css.map */