/* =============================================================
   BLOG SKI PORTILLO — blog.css  v2.0
   Paleta de marca: Blue #1146AE | Yellow #f2c90f | Dark #071D49 | Body #838EAC
   Tipografía: Titillium Web (headings/ui) | Lato (cuerpo)
   Encolado únicamente en páginas de blog via blog_enqueue_assets()
   ============================================================= */

/* ---- Variables ---- */
:root {
  --b-blue:       #1146AE;
  --b-blue-dark:  #071D49;
  --b-blue-mid:   #0d2060;
  --b-yellow:     #f2c90f;
  --b-yellow-dk:  #e0b800;
  --b-body:       #838EAC;
  --b-border:     rgba(129, 192, 227, 0.35);
  --b-bg:         #F4F7FC;
  --b-white:      #FFFFFF;
  --b-shadow:     0 8px 32px rgba(17, 70, 174, 0.10);
  --b-radius:     8px;
  --b-tt:         'Titillium Web', sans-serif;
  --b-lato:       'Lato', sans-serif;
  /* Curva elegante de desaceleración (ease-out-quint) para microinteracciones */
  --b-curve:      cubic-bezier(0.22, 1, 0.36, 1);
  --b-ease:        0.3s var(--b-curve);   /* general: color, borde, opacidad */
  --b-ease-lift:   0.45s var(--b-curve);  /* elevación de cards al hover */
  --b-ease-img:    0.7s var(--b-curve);   /* zoom suave de imágenes */
  --b-ease-shadow: 0.2s linear;           /* aparición sutil de la sombra */
}

/* =============================================================
   BASE
   ============================================================= */
.blogPage {
  background: var(--b-white);
  min-height: 100vh;
  font-family: var(--b-lato);
  color: var(--b-body);
}

/* =============================================================
   CATEGORY PILL — compartido en todo el blog
   ============================================================= */
.blogCategoryPill {
  display: inline-block;
  align-self: flex-start;   /* no estirarse al alto/ancho del contenedor flex */
  padding: 4px 14px;
  border: 1px solid rgba(17, 70, 174, 0.25);
  color: var(--b-blue);
  background: transparent;
  font-family: var(--b-tt);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 3px;
  transition: background var(--b-ease), border-color var(--b-ease), color var(--b-ease);
  cursor: pointer;
  white-space: nowrap;
}
.blogCategoryPill:hover,
.blogCategoryPill--active {
  background: var(--b-yellow);
  border-color: var(--b-yellow);
  color: var(--b-blue-dark) !important;
}
.blogCategoryPill--sm { font-size: 9px; padding: 3px 10px; }
.blogCategoryPill--xs { font-size: 8px; padding: 2px 8px; }

/* =============================================================
   HERO — BLOG HOME (Listing)
   ============================================================= */
.blogHero {
  position: relative;
  min-height: 88vh;
  background-size: cover;
  background-position: center top;
  background-color: var(--b-blue-dark);
  display: flex;
  align-items: center;
}

.blogHero--overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(7, 29, 73, 0.94) 0%,
    rgba(7, 29, 73, 0.72) 50%,
    rgba(7, 29, 73, 0.28) 100%
  );
  z-index: 1;
}

.blogHero .container {
  position: relative;
  z-index: 2;
  padding-top: 100px;
  padding-bottom: 60px;
}

.blogHero--eyebrow {
  font-family: var(--b-tt);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--b-yellow);
  margin-bottom: 16px;
  display: block;
}

.blogHero--title {
  font-family: var(--b-tt);
  font-size: clamp(28px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 20px;
}
.blogHero--title a { color: inherit; text-decoration: none; }
.blogHero--title a:hover { color: var(--b-yellow); }

.blogHero--excerpt {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 520px;
}

.blogHero--date {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.5px;
  margin-bottom: 28px;
}

.blogHero--cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--b-yellow);
  color: var(--b-blue-dark);
  font-family: var(--b-tt);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 13px 28px;
  border-radius: var(--b-radius);
  transition: background var(--b-ease), transform var(--b-ease);
}
.blogHero--cta:hover {
  background: var(--b-yellow-dk);
  color: var(--b-blue-dark);
  transform: translateY(-2px);
}

/* Cards secundarias en el hero */
.blogHero--secondary {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.blogHeroSecCard {
  display: flex;
  gap: 14px;
  background: rgba(7, 29, 73, 0.60);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--b-radius);
  text-decoration: none;
  overflow: hidden;
  transition: border-color var(--b-ease), transform var(--b-ease);
  backdrop-filter: blur(6px);
}
.blogHeroSecCard:hover {
  border-color: var(--b-yellow);
  transform: translateX(4px);
}

.blogHeroSecCard--img {
  width: 120px;
  min-height: 100px;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
}

.blogHeroSecCard--body {
  padding: 16px 16px 16px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.blogHeroSecCard--title {
  font-family: var(--b-tt);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  line-height: 1.35;
  margin: 0;
}

.blogHeroSecCard--date {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.42);
}

/* =============================================================
   CATEGORY BAR — tabs de categorías (sticky)
   ============================================================= */
.blogCategoryBar {
  background: var(--b-white);
  border-bottom: 1px solid var(--b-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(17, 70, 174, 0.06);
}

.blogCategoryBar--inner {
  display: flex;
  gap: 6px;
  padding: 12px 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.blogCategoryBar--inner::-webkit-scrollbar { display: none; }

/* =============================================================
   BREADCRUMB
   ============================================================= */
.blogBreadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.blogBreadcrumb a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color var(--b-ease);
}
.blogBreadcrumb a:hover { color: var(--b-yellow); }
.blogBreadcrumb--sep { color: rgba(255, 255, 255, 0.25); }

/* =============================================================
   ARCHIVE BANNER
   ============================================================= */
.blogArchiveBanner {
  position: relative;
  background: var(--b-blue-dark);
  display: flex;
  flex-direction: column;
  justify-content: center;   /* centra el contenido en el espacio disponible */
  min-height: 400px;
  padding: 130px 0 0;        /* el top reserva el alto del header fijo */
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.blogArchiveBanner--label {
  font-family: var(--b-tt);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--b-yellow);
  margin-bottom: 14px;
  display: block;
}

.blogArchiveBanner--title {
  font-family: var(--b-tt);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}

.blogArchiveBanner--desc {
  color: rgba(255, 255, 255, 0.62);
  font-size: 16px;
  max-width: 600px;
}

/* =============================================================
   BLOG MAIN GRID + SIDEBAR
   ============================================================= */
.blogMain {
  padding: 60px 0 80px;
  background: var(--b-bg);
}

.blogGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
@media (max-width: 767px) { .blogGrid { grid-template-columns: 1fr; } }

/* =============================================================
   BLOG CARD
   ============================================================= */
.blogCard {
  background: var(--b-white);
  border: 1px solid var(--b-border);
  border-radius: var(--b-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  will-change: transform;
  box-shadow: 0 1px 2px rgba(17, 70, 174, 0.04);
  transition: border-color var(--b-ease-lift),
              transform var(--b-ease-lift),
              box-shadow var(--b-ease-shadow);
}
.blogCard:hover {
  border-color: rgba(17, 70, 174, 0.25);
  transform: translateY(-6px);
  box-shadow: 0 14px 34px -16px rgba(17, 70, 174, 0.13),
              0 4px 12px -8px rgba(17, 70, 174, 0.08);
}

.blogCard--imgWrap {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.blogCard--img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform var(--b-ease-img);
}
.blogCard:hover .blogCard--img { transform: scale(1.06); }
.blogCard--img__placeholder { background: var(--b-bg); }

.blogCard--body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.blogCard--title {
  font-family: var(--b-tt);
  font-size: 16px;
  font-weight: 600;
  color: var(--b-blue-dark);
  line-height: 1.35;
  margin: 0;
}
.blogCard--title a { color: inherit; text-decoration: none; transition: color var(--b-ease); }
.blogCard--title a:hover { color: var(--b-blue); }

.blogCard--date {
  font-size: 11px;
  color: rgba(131, 142, 172, 0.6);
  display: block;
}

/* =============================================================
   SIDEBAR — LISTING PAGE
   ============================================================= */
.blogSidebarWrap { position: sticky; top: 60px; }
.blogSidebar { display: flex; flex-direction: column; gap: 40px; }

.blogSidebar--title {
  font-family: var(--b-tt);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--b-blue);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--b-yellow);
  display: inline-block;
}

.blogSidebar--cats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.blogSidebar--cat a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 12px;
  color: var(--b-body);
  text-decoration: none;
  font-size: 14px;
  border-radius: var(--b-radius);
  transition: background var(--b-ease), color var(--b-ease);
}
.blogSidebar--cat a:hover,
.blogSidebar--cat__active a {
  background: rgba(17, 70, 174, 0.07);
  color: var(--b-blue);
}

.blogSidebar--cat__count {
  font-size: 11px;
  color: rgba(131, 142, 172, 0.55);
  background: var(--b-bg);
  padding: 2px 7px;
  border-radius: 20px;
}

.blogSidebar--recent {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.blogSidebar--recent__link {
  display: flex;
  gap: 12px;
  text-decoration: none;
  align-items: flex-start;
  transition: opacity var(--b-ease);
}
.blogSidebar--recent__link:hover { opacity: 0.75; }

.blogSidebar--recent__img {
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  border-radius: var(--b-radius);
  background-size: cover;
  background-position: center;
  background-color: var(--b-bg);
}

.blogSidebar--recent__info { display: flex; flex-direction: column; gap: 5px; }

.blogSidebar--recent__title {
  font-family: var(--b-tt);
  font-size: 13px;
  font-weight: 600;
  color: var(--b-blue-dark);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blogSidebar--instaCTA__inner {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  border-radius: var(--b-radius);
  padding: 28px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.blogSidebar--instaCTA .fa-instagram { font-size: 36px; color: #fff; }
.blogSidebar--instaCTA p { font-size: 13px; color: rgba(255,255,255,0.9); margin: 0; line-height: 1.5; }
.blogSidebar--instaCTA .blogHero--cta { background: #fff; color: #833ab4; font-size: 11px; padding: 10px 20px; }
.blogSidebar--instaCTA .blogHero--cta:hover { background: rgba(255,255,255,0.88); }

/* =============================================================
   PAGINACIÓN
   ============================================================= */
.blogPagination { padding: 40px 0; }

/* Oculta el encabezado "Paginación de entradas", deja solo los botones */
.blogPagination .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.blogPagination .nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.blogPagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--b-border);
  color: var(--b-body);
  text-decoration: none;
  font-size: 14px;
  border-radius: var(--b-radius);
  transition: all var(--b-ease);
}
.blogPagination .page-numbers:hover,
.blogPagination .page-numbers.current {
  background: var(--b-blue);
  border-color: var(--b-blue);
  color: #fff;
}

/* =============================================================
   SINGLE — HERO
   ============================================================= */
.blogSingleHero {
  position: relative;
  min-height: 78vh;
  background-size: cover;
  background-position: center 25%;
  background-color: var(--b-blue-dark);
  display: flex;
  align-items: flex-end;
}

.blogSingleHero--overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(7, 29, 73, 0.95) 0%,
    rgba(7, 29, 73, 0.62) 40%,
    rgba(7, 29, 73, 0.15) 100%
  );
  z-index: 1;
}

.blogSingleHero .container {
  position: relative;
  z-index: 2;
  padding-top: 100px;
  padding-bottom: 64px;
}

.blogSingleHero--content { max-width: 780px; }

.blogSingleHero--title {
  font-family: var(--b-tt);
  font-size: clamp(26px, 4.5vw, 54px);
  font-weight: 700;
  color: #fff;
  line-height: 1.12;
  margin: 16px 0 28px;
}

.blogSingleHero--meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.blogSingleHero--meta__info {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.blogSingleHero--meta__by { font-size: 12px; color: rgba(255,255,255,0.45); }

.blogSingleHero--meta__author {
  font-family: var(--b-tt);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--b-ease);
}
.blogSingleHero--meta__author:hover { color: var(--b-yellow); }
.blogSingleHero--meta__author .fa-linkedin { color: var(--b-yellow); font-size: 13px; }

.blogSingleHero--meta__sep { color: rgba(255,255,255,0.25); }
.blogSingleHero--meta__date { font-size: 12px; color: rgba(255,255,255,0.45); }

/* =============================================================
   SINGLE — CUERPO (2 columnas: contenido + galería)
   ============================================================= */
.blogSingleBody {
  padding: 56px 0 0;
  background: var(--b-white);
}

/* =============================================================
   CONTENIDO DEL POST
   ============================================================= */
.blogSingleContent {
  font-family: var(--b-lato);
  font-size: 17px;
  line-height: 1.82;
  color: #5a6580;
  margin-bottom: 48px;
}

.blogSingleContent h2 {
  font-family: var(--b-tt);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  color: var(--b-blue-dark);
  margin: 48px 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--b-border);
  scroll-margin-top: 80px;
}

.blogSingleContent h3 {
  font-family: var(--b-tt);
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 600;
  color: var(--b-blue);
  margin: 36px 0 14px;
  scroll-margin-top: 80px;
}

.blogSingleContent h4 {
  font-family: var(--b-tt);
  font-size: 17px;
  font-weight: 700;
  color: var(--b-blue-dark);
  margin: 28px 0 12px;
}

.blogSingleContent p { margin-bottom: 22px; }

.blogSingleContent a {
  color: var(--b-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--b-ease);
}
.blogSingleContent a:hover { color: var(--b-blue-dark); }

.blogSingleContent ul,
.blogSingleContent ol { margin: 0 0 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.blogSingleContent li { line-height: 1.7; }

.blogSingleContent blockquote {
  border-left: 5px solid var(--b-yellow);
  background: var(--b-bg);
  margin: 36px 0;
  padding: 20px 24px;
  border-radius: 0 var(--b-radius) var(--b-radius) 0;
  font-family: var(--b-tt);
  font-size: 20px;
  color: var(--b-blue-dark);
  font-style: italic;
  line-height: 1.55;
}

.blogSingleContent img {
  max-width: 100%;
  height: auto;
  border-radius: var(--b-radius);
  box-shadow: var(--b-shadow);
  margin: 8px 0 24px;
}

.blogSingleContent .alignleft  { float: left;  margin: 0 24px 16px 0; max-width: 45%; }
.blogSingleContent .alignright { float: right; margin: 0 0 16px 24px; max-width: 45%; }
.blogSingleContent .aligncenter { display: block; margin: 0 auto 24px; }

.blogSingleContent figure { margin: 0 0 28px; }
.blogSingleContent figcaption {
  font-size: 12px;
  color: rgba(131,142,172,0.65);
  text-align: center;
  margin-top: 8px;
  font-style: italic;
}

.blogSingleContent table { width: 100%; border-collapse: collapse; margin-bottom: 24px; font-size: 15px; }
.blogSingleContent th { background: var(--b-bg); color: var(--b-blue); font-weight: 700; text-align: left; padding: 12px 16px; border-bottom: 2px solid var(--b-yellow); }
.blogSingleContent td { padding: 10px 16px; border-bottom: 1px solid var(--b-border); color: var(--b-body); vertical-align: top; }
.blogSingleContent tr:hover td { background: rgba(17,70,174,0.03); }

.blogSingleVideo { margin-bottom: 48px; }
.blogSingleVideo--embed { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: var(--b-radius); }
.blogSingleVideo--embed iframe,
.blogSingleVideo--embed object,
.blogSingleVideo--embed embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* =============================================================
   COMPARTIR
   ============================================================= */
.blogShare {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px 0;
  border-top: 1px solid var(--b-border);
  border-bottom: 1px solid var(--b-border);
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.blogShare--label {
  font-family: var(--b-tt);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--b-body);
}

.blogShare--icons { display: flex; gap: 8px; }

.blogShare--icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--b-border);
  border-radius: 50%;
  color: var(--b-body);
  text-decoration: none;
  font-size: 13px;
  transition: all var(--b-ease);
}
.blogShare--icon:hover { transform: translateY(-2px); }
.blogShare--icon__fb:hover { background: #1877f2; border-color: #1877f2; color: #fff; }
.blogShare--icon__tw:hover { background: #000; border-color: #000; color: #fff; }
.blogShare--icon__li:hover { background: #0077b5; border-color: #0077b5; color: #fff; }
.blogShare--icon__wa:hover { background: #25d366; border-color: #25d366; color: #fff; }

/* =============================================================
   AUTOR BOX
   ============================================================= */
.blogAuthor {
  background: var(--b-bg);
  border: 1px solid var(--b-border);
  border-radius: var(--b-radius);
  padding: 28px;
  margin-bottom: 48px;
}

.blogAuthor--inner { display: flex; gap: 20px; align-items: flex-start; }

.blogAuthor--avatar { flex-shrink: 0; }
.blogAuthor--avatar img {
  width: 72px; height: 72px;
  border-radius: 50%; object-fit: cover;
  border: 3px solid var(--b-yellow); display: block;
}

.blogAuthor--label {
  font-family: var(--b-tt);
  font-size: 9px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--b-body); display: block; margin-bottom: 6px;
}

.blogAuthor--name {
  font-family: var(--b-tt);
  font-size: 18px; font-weight: 700; color: var(--b-blue-dark); margin: 0 0 10px;
}
.blogAuthor--name a { color: var(--b-blue); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: color var(--b-ease); }
.blogAuthor--name a:hover { color: var(--b-blue-dark); }

.blogAuthor--desc { font-size: 14px; color: var(--b-body); line-height: 1.6; margin: 0; }

/* =============================================================
   FAQ
   ============================================================= */
.blogFaq { margin-bottom: 60px; }
.blogFaq--title { margin-bottom: 24px; }
.blogFaq--item { border-bottom: 1px solid var(--b-border); }

.blogFaq--question {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  background: transparent; border: none;
  color: var(--b-blue-dark);
  font-family: var(--b-tt); font-size: 16px; font-weight: 600; text-align: left;
  padding: 18px 0; cursor: pointer; transition: color var(--b-ease);
}
.blogFaq--question:hover { color: var(--b-blue); }
.blogFaq--question[aria-expanded="true"] { color: var(--b-blue); }

.blogFaq--chevron {
  flex-shrink: 0; font-size: 12px; color: var(--b-body);
  transition: transform var(--b-ease);
}
.blogFaq--question[aria-expanded="true"] .blogFaq--chevron {
  transform: rotate(180deg); color: var(--b-blue);
}

.blogFaq--answer__inner {
  padding: 0 0 22px; color: var(--b-body); font-size: 15px; line-height: 1.7;
}

/* =============================================================
   GALERÍA SIDEBAR
   ============================================================= */
.blogGallerySidebar {
  position: sticky;
  top: 90px;
}

.blogGallery {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.blogGallery--label {
  font-family: var(--b-tt);
  font-size: 10px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--b-blue); margin-bottom: 6px;
  padding-bottom: 10px; border-bottom: 2px solid var(--b-yellow);
  display: inline-block;
}

.blogGallery--main {
  display: block; position: relative; overflow: hidden;
  border-radius: var(--b-radius); background: var(--b-bg);
}
.blogGallery--main img {
  width: 100%; height: 220px; object-fit: cover;
  display: block; transition: transform var(--b-ease-img);
}
.blogGallery--main:hover img { transform: scale(1.04); }

.blogGallery--grid { display: grid; gap: 6px; }
.blogGallery--grid__2 { grid-template-columns: 1fr 1fr; }
.blogGallery--grid__3 { grid-template-columns: repeat(3, 1fr); }

.blogGallery--thumb {
  display: block; position: relative; overflow: hidden;
  border-radius: 5px; aspect-ratio: 1; background: var(--b-bg);
}
.blogGallery--thumb img {
  width: 100%; height: 100%; object-fit: cover;
  display: block; transition: transform var(--b-ease-img);
}
.blogGallery--thumb:hover img { transform: scale(1.07); }

.blogGallery--expand {
  position: absolute; inset: 0;
  background: rgba(7,29,73,0);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 18px; opacity: 0;
  transition: opacity var(--b-ease), background var(--b-ease);
}
.blogGallery--main:hover .blogGallery--expand,
.blogGallery--thumb:hover .blogGallery--expand {
  background: rgba(7,29,73,0.38); opacity: 1;
}

/* =============================================================
   CTA QUICK LINKS — full-bleed con foto de montaña
   ============================================================= */
.blogCTA {
  position: relative;
  overflow: hidden;
  background-image: url('https://images.unsplash.com/photo-1551698618-1dfe5d97d256?w=1920&q=85');
  background-size: cover;
  background-position: center 40%;
  padding: 96px 0;
}

.blogCTA--overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(7,29,73,0.88) 0%,
    rgba(17,70,174,0.78) 60%,
    rgba(7,29,73,0.92) 100%
  );
}

.blogCTA .container { position: relative; z-index: 2; }

.blogCTA--header { text-align: center; margin-bottom: 52px; }

.blogCTA--eyebrow {
  font-family: var(--b-tt);
  font-size: 10px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  color: var(--b-yellow); margin-bottom: 14px; display: block;
}

.blogCTA--title {
  font-family: var(--b-tt);
  font-size: clamp(26px, 4vw, 44px); font-weight: 700;
  color: #fff; line-height: 1.15; margin-bottom: 14px;
}

.blogCTA--sub {
  font-size: 16px; color: rgba(255,255,255,0.60);
  max-width: 460px; margin: 0 auto;
}

.blogCTA--grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.blogCTA--card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px; padding: 28px 24px 24px;
  text-decoration: none; will-change: transform;
  transition: background var(--b-ease),
              border-color var(--b-ease),
              transform var(--b-ease-lift),
              box-shadow var(--b-ease-shadow);
}
.blogCTA--card:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(242,201,15,0.45);
  transform: translateY(-6px);
  box-shadow: 0 16px 36px -16px rgba(7,29,73,0.24),
              0 5px 14px -10px rgba(7,29,73,0.18);
}

.blogCTA--card__iconWrap {
  width: 52px; height: 52px;
  background: rgba(242,201,15,0.15);
  border: 1px solid rgba(242,201,15,0.3);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: var(--b-yellow); flex-shrink: 0;
  transition: background var(--b-ease);
}
.blogCTA--card:hover .blogCTA--card__iconWrap { background: rgba(242,201,15,0.26); }

.blogCTA--card__body { flex: 1; }

.blogCTA--card__title {
  font-family: var(--b-tt); font-weight: 700; font-size: 15px;
  color: #fff; display: block; margin-bottom: 5px;
}

.blogCTA--card__sub {
  font-size: 12px; color: rgba(255,255,255,0.50); line-height: 1.5;
}

.blogCTA--card__arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--b-tt); font-size: 11px; font-weight: 700;
  letter-spacing: 0.5px; text-transform: uppercase;
  color: var(--b-yellow); transition: gap var(--b-ease);
}
.blogCTA--card:hover .blogCTA--card__arrow { gap: 10px; }

/* =============================================================
   RELATED POSTS
   ============================================================= */
.blogRelated {
  padding: 60px 0;
  border-bottom: 1px solid var(--b-border);
  background: var(--b-white);
}

.blogRelated--title { margin-bottom: 32px; }

.blogRelated--grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blogRelatedCard {
  display: flex; flex-direction: column;
  background: var(--b-white);
  border: 1px solid var(--b-border);
  border-radius: var(--b-radius);
  overflow: hidden; text-decoration: none;
  will-change: transform;
  box-shadow: 0 4px 16px rgba(17,70,174,0.07);
  transition: border-color var(--b-ease-lift),
              transform var(--b-ease-lift),
              box-shadow var(--b-ease-shadow);
}
.blogRelatedCard:hover {
  border-color: rgba(17,70,174,0.22);
  transform: translateY(-6px);
  box-shadow: 0 14px 32px -16px rgba(17,70,174,0.12),
              0 4px 12px -8px rgba(17,70,174,0.07);
}

.blogRelatedCard--img {
  aspect-ratio: 16 / 9;
  background-size: cover; background-position: center;
  background-color: var(--b-bg);
  overflow: hidden; transition: transform var(--b-ease-img);
}
.blogRelatedCard:hover .blogRelatedCard--img { transform: scale(1.05); }

.blogRelatedCard--body {
  padding: 18px;
  display: flex; flex-direction: column; gap: 8px; flex: 1;
}

.blogRelatedCard--title {
  font-family: var(--b-tt); font-size: 14px; font-weight: 600;
  color: var(--b-blue-dark); line-height: 1.4; margin: 0;
  transition: color var(--b-ease);
}
.blogRelatedCard:hover .blogRelatedCard--title { color: var(--b-blue); }

.blogRelatedCard--date { font-size: 11px; color: rgba(131,142,172,0.60); }

.blogRelatedCard--cta {
  font-family: var(--b-tt); font-size: 11px; font-weight: 700; letter-spacing: 0.5px;
  color: var(--b-blue); display: inline-flex; align-items: center; gap: 6px;
  margin-top: auto; transition: gap var(--b-ease);
}
.blogRelatedCard:hover .blogRelatedCard--cta { gap: 10px; }

/* =============================================================
   ESTADO VACÍO
   ============================================================= */
.blogEmpty {
  text-align: center; padding: 80px 20px;
  color: rgba(131,142,172,0.6); font-size: 18px;
}

/* =============================================================
   leftBorderTitle en contexto blog
   ============================================================= */
.blogPage .leftBorderTitle {
  font-family: var(--b-tt); font-weight: 600; font-size: 22px;
  color: var(--b-blue);
  border-left: 6px solid rgba(129,192,227,0.5);
  padding-left: 14px;
}

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 1100px) {
  .blogGallerySidebar { position: static; }
  .blogGallery--main img { height: 260px; }
  .blogCTA--grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 991px) {
  .blogHero { min-height: 65vh; }
  .blogSidebarWrap { position: static; margin-top: 48px; }
  .blogAuthor--inner { flex-direction: column; }
  .blogRelated--grid { grid-template-columns: repeat(2, 1fr); }
  .blogCTA { padding: 72px 0; }
}

@media (max-width: 767px) {
  .blogSingleHero { min-height: 58vh; }
  .blogSingleHero .container { padding-bottom: 44px; }
  .blogRelated--grid { grid-template-columns: 1fr; }
  .blogCTA--grid { grid-template-columns: 1fr 1fr; }
  .blogGrid { grid-template-columns: 1fr; }
  .blogArchiveBanner { min-height: 300px; padding: 104px 0 44px; }
}

@media (max-width: 480px) {
  .blogCTA--grid { grid-template-columns: 1fr; }
  .blogGallery--grid__2,
  .blogGallery--grid__3 { grid-template-columns: repeat(2, 1fr); }
  .blogShare { gap: 10px; }
  .blogSingleHero--meta__sep,
  .blogSingleHero--meta__date { display: none; }
}

/* =============================================================
   ACCESIBILIDAD — respeta "reducir movimiento"
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .blogPage *,
  .blogPage *::before,
  .blogPage *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
