.eg-blog {
  --eg-navy: #061a33;
  --eg-navy-2: #09264d;
  --eg-yellow: #ffd400;
  --eg-bg: #f4f7fb;
  --eg-text: #111827;
  --eg-muted: #667085;
  --eg-border: #d9e1ef;
  --eg-shadow: 0 14px 35px rgba(6, 26, 51, 0.10);
  --eg-radius: 18px;
  background: var(--eg-bg);
  color: var(--eg-text);
}

/* Sin regla global .eg-blog a: ocultaba enlaces del artículo (heredaban color del párrafo). */
.eg-blog-card a,
.eg-blog-card-footer a,
.eg-blog-cat-list a,
.eg-blog-popular-item a,
.eg-blog-pagination a,
.eg-blog-read-more,
.eg-blog-show-nav-card,
.eg-blog-related-course-list > li > a {
  color: inherit;
  text-decoration: none;
}

.topbar .menu > a.blog-nav-active,
.volta-mobile-nav-links > a.blog-nav-active {
  color: #fff;
  position: relative;
}

.topbar .menu > a.blog-nav-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -25px;
  height: 3px;
  border-radius: 10px;
  background: var(--eg-yellow);
}

.eg-blog-hero {
  background: linear-gradient(120deg, #061a33 0%, #092b58 58%, #0d356b 100%);
  color: #fff;
  min-height: 330px;
  overflow: hidden;
  position: relative;
}

.eg-blog-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 62% 15%, rgba(255, 255, 255, 0.10), transparent 24%),
    radial-gradient(circle at 92% 0%, rgba(255, 212, 0, 0.14), transparent 22%);
  pointer-events: none;
}

.eg-blog-hero-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 42px 48px 46px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.eg-blog-badge {
  display: inline-flex;
  align-items: center;
  background: #1559aa;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  padding: 8px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.eg-blog-hero h1 {
  font-size: 50px;
  line-height: 1.05;
  letter-spacing: -2px;
  font-weight: 900;
  margin-bottom: 16px;
}

.eg-blog-hero h1 span {
  color: var(--eg-yellow);
}

.eg-blog-hero > .eg-blog-hero-inner > div:first-child > p,
.eg-blog-hero-intro {
  font-size: 20px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  max-width: 690px;
}

.eg-blog-hero-features {
  display: flex;
  gap: 34px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.eg-blog-hero-feature {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 190px;
}

.eg-blog-hero-feature .icon {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 22px;
  flex-shrink: 0;
}

.eg-blog-icon-grid::before {
  content: "";
  width: 18px;
  height: 18px;
  border: 2px solid #fff;
  border-radius: 2px;
  box-shadow: inset 0 0 0 2px transparent, 6px 6px 0 -2px #fff, 6px 0 0 -2px #fff, 0 6px 0 -2px #fff;
}

.eg-blog-icon-grad::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-bottom: 8px solid #fff;
  margin-bottom: -2px;
}

.eg-blog-icon-grad::after {
  content: "";
  width: 20px;
  height: 10px;
  background: #fff;
  border-radius: 0 0 3px 3px;
}

.eg-blog-icon-globe::before {
  content: "";
  width: 20px;
  height: 20px;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.eg-blog-filter-search-icon {
  width: 18px;
  height: 18px;
  border: 2px solid var(--eg-muted, #6b7a90);
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}

.eg-blog-filter-search-icon::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 2px;
  background: var(--eg-muted, #6b7a90);
  bottom: -4px;
  right: -5px;
  transform: rotate(45deg);
  border-radius: 1px;
}

.eg-blog-hero-feature strong {
  display: block;
  font-size: 14px;
}

.eg-blog-hero-feature small {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.4;
}

.eg-blog-hero-visual {
  height: 285px;
  border-radius: 28px;
  background:
    linear-gradient(90deg, rgba(6, 26, 51, 0.2), rgba(6, 26, 51, 0.1)),
    url("https://images.unsplash.com/photo-1498050108023-c5249f4df085?q=80&w=1400&auto=format&fit=crop") center/cover;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
}

.eg-blog-hero-visual::before {
  content: "Blog EstudiaGratis";
  position: absolute;
  right: 28px;
  top: 28px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--eg-navy);
  padding: 16px 18px;
  border-radius: 16px;
  font-weight: 900;
  box-shadow: var(--eg-shadow);
}

.eg-blog-main {
  max-width: 1320px;
  margin: 0 auto;
  padding: 28px 48px 36px;
  display: grid;
  grid-template-columns: 1fr 250px;
  gap: 24px;
}

.eg-blog-filters {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 190px 190px 190px;
  gap: 22px;
}

.eg-blog-filter-box {
  height: 58px;
  background: #fff;
  border: 1px solid var(--eg-border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  padding: 0 18px;
  gap: 12px;
  box-shadow: 0 3px 12px rgba(6, 26, 51, 0.04);
  color: #536079;
  font-size: 14px;
}

.eg-blog-filter-box input,
.eg-blog-filter-box select {
  border: 0;
  outline: 0;
  flex: 1;
  font-size: 15px;
  color: var(--eg-navy);
  background: transparent;
  min-width: 0;
}

.eg-blog-filter-box label {
  display: block;
  margin-bottom: 3px;
  font-size: 13px;
  font-weight: 700;
  color: var(--eg-navy);
}

.eg-blog-filter-field {
  flex: 1;
  min-width: 0;
}

.eg-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.eg-blog-card {
  background: #fff;
  border: 1px solid var(--eg-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(6, 26, 51, 0.06);
  transition: 0.25s ease;
}

.eg-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--eg-shadow);
}

.eg-blog-card-media {
  display: block;
  position: relative;
  text-decoration: none;
  color: inherit;
}

.eg-blog-card-media .eg-blog-tag {
  z-index: 2;
}

.eg-blog-card-media__frame {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 14rem;
  overflow: hidden;
  background: #e8eef7;
}

.eg-blog-card-media__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.eg-blog-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  border-radius: 8px;
  padding: 8px 10px;
}

.eg-blog-tag.blue { background: #1d63ff; }
.eg-blog-tag.orange { background: #f97316; }
.eg-blog-tag.green { background: #059669; }
.eg-blog-tag.purple { background: #6d28d9; }
.eg-blog-tag.yellow { background: #ffd400; color: #061a33; }

.eg-blog-card-body {
  padding: 22px;
}

.eg-blog-date {
  color: #536079;
  font-size: 13px;
  margin-bottom: 12px;
}

.eg-blog-card h3 {
  color: #07162b;
  font-size: 21px;
  line-height: 1.25;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.eg-blog-card p {
  color: #536079;
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 22px;
}

.eg-blog-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #536079;
  font-size: 13px;
  gap: 12px;
}

.eg-blog-read-more {
  color: #185cff;
  font-weight: 800;
  white-space: nowrap;
}

.eg-blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.eg-blog-newsletter {
  background: linear-gradient(140deg, #061a33, #082c5b);
  color: #fff;
  border-radius: 12px;
  padding: 30px 24px;
  box-shadow: var(--eg-shadow);
}

.eg-blog-newsletter-icon {
  width: 68px;
  height: 68px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 30px;
  margin-bottom: 28px;
}

.eg-blog-newsletter h3 {
  font-size: 23px;
  line-height: 1.2;
  margin-bottom: 12px;
}

.eg-blog-newsletter > p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  line-height: 1.5;
  margin-bottom: 22px;
}

.eg-blog-newsletter input {
  width: 100%;
  height: 46px;
  border: 0;
  border-radius: 7px;
  padding: 0 14px;
  margin-bottom: 10px;
  outline: 0;
}

.eg-blog-newsletter button {
  width: 100%;
  height: 46px;
  border: 0;
  border-radius: 7px;
  background: var(--eg-yellow);
  color: #07162b;
  font-weight: 900;
  cursor: pointer;
}

.eg-blog-side-box {
  background: #fff;
  border: 1px solid var(--eg-border);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 14px rgba(6, 26, 51, 0.05);
}

.eg-blog-side-box h3 {
  font-size: 18px;
  color: var(--eg-navy);
  margin-bottom: 18px;
}

.eg-blog-cat-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 14px;
  color: #344054;
  list-style: none;
  padding: 0;
  margin: 0;
}

.eg-blog-cat-list li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.eg-blog-cat-list a:hover {
  color: #185cff;
}

.eg-blog-popular-item {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}

.eg-blog-popular-item img {
  width: 62px;
  height: 55px;
  object-fit: cover;
  border-radius: 8px;
}

.eg-blog-popular-item strong {
  font-size: 12px;
  line-height: 1.25;
  display: block;
  color: var(--eg-navy);
}

.eg-blog-popular-item small {
  color: #667085;
  font-size: 11px;
}

.eg-blog-pagination {
  grid-column: 1 / 2;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.eg-blog-page-btn {
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--eg-border);
  border-radius: 8px;
  background: #fff;
  color: var(--eg-navy);
  font-weight: 800;
  display: grid;
  place-items: center;
}

.eg-blog-page-btn.active {
  background: var(--eg-navy);
  color: #fff;
  border-color: var(--eg-navy);
}

.eg-blog-page-btn.disabled {
  opacity: 0.45;
  pointer-events: none;
}

.eg-blog-cta {
  max-width: 1240px;
  margin: 14px auto 36px;
  background: linear-gradient(120deg, #061a33, #0b3470);
  border-radius: 14px;
  color: #fff;
  padding: 40px 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  box-shadow: var(--eg-shadow);
  overflow: hidden;
  position: relative;
}

.eg-blog-cta::before,
.eg-blog-cta::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.eg-blog-cta::before { left: -80px; top: -90px; }
.eg-blog-cta::after { right: -80px; bottom: -90px; }

.eg-blog-cta-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 26px;
}

.eg-blog-cta-icon {
  width: 76px;
  height: 76px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 34px;
  flex: 0 0 auto;
}

.eg-blog-cta h3 {
  font-size: 29px;
  margin-bottom: 8px;
}

.eg-blog-cta p {
  color: rgba(255, 255, 255, 0.85);
}

.eg-blog-cta-link {
  position: relative;
  z-index: 1;
  background: var(--eg-yellow);
  color: var(--eg-navy);
  border-radius: 8px;
  padding: 18px 36px;
  font-weight: 900;
  white-space: nowrap;
  font-size: 15px;
}

.eg-blog-empty {
  grid-column: 1 / -1;
  background: #fff;
  border: 1px dashed var(--eg-border);
  border-radius: 12px;
  padding: 48px 24px;
  text-align: center;
  color: var(--eg-muted);
}

@media (max-width: 1150px) {
  .eg-blog-hero-inner {
    grid-template-columns: 1fr;
    padding: 36px 24px;
  }

  .eg-blog-main {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .eg-blog-filters {
    grid-template-columns: 1fr 1fr;
  }

  .eg-blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .eg-blog-pagination {
    grid-column: 1 / -1;
  }

  .eg-blog-cta {
    margin-left: 24px;
    margin-right: 24px;
  }
}

@media (max-width: 720px) {
  .eg-blog-hero h1 {
    font-size: 38px;
  }

  .eg-blog-hero-intro {
    font-size: 17px;
  }

  .eg-blog-hero-features {
    gap: 18px;
  }

  .eg-blog-filters {
    grid-template-columns: 1fr;
  }

  .eg-blog-grid {
    grid-template-columns: 1fr;
  }

  .eg-blog-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 24px;
  }

  .eg-blog-cta-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .eg-blog-cta-link {
    width: 100%;
    text-align: center;
  }
}

/* —— Artículo individual —— */
.eg-blog-show-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 30px 40px 28px;
}

.eg-blog-show-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: #536079;
  font-size: 14px;
  margin: 4px 0 24px;
}

.eg-blog-show-breadcrumbs a {
  color: #3d4a63;
}

.eg-blog-show-breadcrumbs a:hover {
  color: #185cff;
}

.eg-blog-show-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
  align-items: start;
}

.eg-blog-show-article {
  background: #fff;
  border: 1px solid var(--eg-border);
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(6, 26, 51, 0.05);
  padding: 30px;
}

.eg-blog-show-badge {
  display: inline-flex;
  align-items: center;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  border-radius: 8px;
  padding: 8px 11px;
  margin-bottom: 18px;
}

.eg-blog-show-badge--blue { background: #185cff; }
.eg-blog-show-badge--orange { background: #f97316; }
.eg-blog-show-badge--green { background: #059669; }
.eg-blog-show-badge--purple { background: #6d28d9; }
.eg-blog-show-badge--yellow { background: #ffd400; color: #061a33; }

.eg-blog-show-title {
  font-size: 45px;
  line-height: 1.08;
  letter-spacing: -1.8px;
  color: var(--eg-navy);
  font-weight: 900;
  max-width: 790px;
  margin-bottom: 16px;
}

.eg-blog-show-subtitle {
  font-size: 19px;
  line-height: 1.55;
  color: #405070;
  max-width: 820px;
  margin-bottom: 26px;
}

.eg-blog-show-meta {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  color: #536079;
  font-size: 14px;
  margin-bottom: 28px;
}

.eg-blog-show-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.eg-blog-show-author img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.eg-blog-show-author strong {
  color: var(--eg-navy);
  display: block;
  font-size: 14px;
}

.eg-blog-show-author small {
  font-size: 12px;
  color: #667085;
}

.eg-blog-show-hero {
  width: 100%;
  height: 370px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 28px;
  box-shadow: 0 12px 24px rgba(6, 26, 51, 0.08);
}

.eg-blog-show-content {
  color: #1d2939;
  font-size: 16px;
  line-height: 1.72;
}

.eg-blog-show-content p {
  margin-bottom: 20px;
}

.eg-blog-show-content h2 {
  color: var(--eg-navy);
  font-size: 22px;
  line-height: 1.3;
  margin: 25px 0 10px;
  letter-spacing: -0.4px;
}

.eg-blog-show-content h3 {
  color: var(--eg-navy);
  font-size: 18px;
  margin: 20px 0 8px;
}

/* Enlaces del artículo: visibles frente a volta-home.css (a { color: inherit }) */
.eg-blog-show-article .eg-blog-show-content a,
.eg-blog-show-article .eg-blog-show-content a:link,
.eg-blog-show-article .eg-blog-show-content a:visited,
.eg-blog-show-content a.eg-blog-inline-link {
  color: #185cff;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.eg-blog-show-article .eg-blog-show-content a:hover,
.eg-blog-show-content a.eg-blog-inline-link:hover {
  color: #0f4fd4;
  text-decoration-color: #0f4fd4;
}

.eg-blog-show-article .eg-blog-show-content a:focus-visible,
.eg-blog-show-content a.eg-blog-inline-link:focus-visible {
  outline: 2px solid #185cff;
  outline-offset: 2px;
  border-radius: 2px;
}

.eg-blog-show-quote {
  background: #f5f7fb;
  border-left: 5px solid var(--eg-yellow);
  border-radius: 10px;
  padding: 22px 26px;
  margin: 24px 0;
  display: flex;
  gap: 16px;
  color: #344054;
  font-style: italic;
  font-weight: 500;
}

.eg-blog-show-quote-mark {
  color: var(--eg-yellow);
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
  flex: 0 0 auto;
}

.eg-blog-show-quote p {
  margin: 0;
}

.eg-blog-show-share {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--eg-border);
}

.eg-blog-show-share > strong {
  color: var(--eg-navy);
  font-size: 14px;
  margin-right: 10px;
}

.eg-blog-show-share-btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--eg-border);
  border-radius: 9px;
  background: #fff;
  display: grid;
  place-items: center;
  color: #185cff;
  font-weight: 900;
  cursor: pointer;
  transition: 0.2s ease;
  font-family: inherit;
  font-size: 14px;
}

.eg-blog-show-share-btn:hover,
.eg-blog-show-share-btn.is-copied {
  background: #185cff;
  color: #fff;
  border-color: #185cff;
}

.eg-blog-show-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}

.eg-blog-show-nav-card {
  border: 1px solid var(--eg-border);
  border-radius: 10px;
  padding: 18px;
  background: #fff;
  min-height: 86px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  transition: 0.2s ease;
}

.eg-blog-show-nav-card:hover {
  box-shadow: 0 8px 20px rgba(6, 26, 51, 0.08);
  transform: translateY(-2px);
}

.eg-blog-show-nav-card--next {
  text-align: right;
  align-items: flex-end;
}

.eg-blog-show-nav-card--empty {
  border-style: dashed;
  opacity: 0.35;
  pointer-events: none;
}

.eg-blog-show-nav-card span {
  color: #536079;
  font-size: 12px;
}

.eg-blog-show-nav-card strong {
  color: var(--eg-navy);
  font-size: 14px;
  line-height: 1.25;
}

.eg-blog-newsletter-note {
  margin-top: 16px;
  margin-bottom: 0;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.75);
}

.eg-blog-show .eg-blog-popular-item img {
  width: 68px;
  height: 60px;
}

@media (max-width: 1100px) {
  .eg-blog-show-wrap {
    padding: 24px;
  }

  .eg-blog-show-layout {
    grid-template-columns: 1fr;
  }

  .eg-blog-show .eg-blog-sidebar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .eg-blog-show .eg-blog-newsletter {
    grid-row: span 2;
  }
}

.eg-blog-toc {
  margin: 24px 0;
  padding: 18px 20px;
  border: 1px solid var(--eg-border);
  border-radius: 12px;
  background: #f8fafc;
}

.eg-blog-toc-title {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--eg-navy);
}

.eg-blog-toc ol {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 8px;
}

.eg-blog-toc a {
  color: #185cff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.eg-blog-toc-level-3 {
  list-style: circle;
  margin-left: 12px;
}

.eg-blog-course-cta {
  margin: 28px 0 8px;
  padding: 22px 24px;
  border-radius: 14px;
  background: linear-gradient(120deg, #061a33 0%, #0d356b 100%);
  color: #fff;
}

.eg-blog-course-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.eg-blog-course-cta-kicker {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #93c5fd;
}

.eg-blog-course-cta h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.eg-blog-course-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
}

.eg-blog-course-cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--eg-yellow);
  color: #061a33;
  font-weight: 800;
  font-size: 14px;
  white-space: nowrap;
}

.eg-blog-related-course {
  margin: 24px 0;
  padding-top: 8px;
  border-top: 1px solid var(--eg-border);
}

.eg-blog-related-course h3 {
  margin: 0 0 14px;
  font-size: 18px;
  color: var(--eg-navy);
}

.eg-blog-related-course-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.eg-blog-related-course-list > li > a {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--eg-border);
  border-radius: 10px;
  background: #fff;
  text-decoration: none;
}

.eg-blog-related-course-list > li > a:hover {
  border-color: #185cff;
  box-shadow: 0 6px 16px rgba(24, 92, 255, 0.12);
}

.eg-blog-related-course-list strong {
  display: block;
  color: var(--eg-navy);
  font-size: 15px;
  margin-bottom: 4px;
}

.eg-blog-related-course-list span {
  color: var(--eg-muted);
  font-size: 13px;
  line-height: 1.4;
}

.eg-blog-show-content details {
  margin: 16px 0;
  border: 1px solid var(--eg-border);
  border-radius: 10px;
  padding: 0 14px;
  background: #fff;
}

.eg-blog-show-content summary {
  cursor: pointer;
  font-weight: 700;
  padding: 14px 0;
  color: var(--eg-navy);
}

@media (max-width: 720px) {
  .eg-blog-show-article {
    padding: 22px;
  }

  .eg-blog-show-title {
    font-size: 34px;
  }

  .eg-blog-show-subtitle {
    font-size: 17px;
  }

  .eg-blog-show-hero {
    height: 240px;
  }

  .eg-blog-show-meta {
    gap: 16px;
  }

  .eg-blog-show .eg-blog-sidebar {
    display: flex;
    flex-direction: column;
  }

  .eg-blog-show-nav {
    grid-template-columns: 1fr;
  }

  .eg-blog-show-nav-card--next {
    text-align: left;
    align-items: flex-start;
  }
}

/* Autora del blog (Valentina Rojas) */
.eg-blog-author-byline-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.15s ease;
}

.eg-blog-author-byline-link:hover {
  opacity: 0.88;
}

.eg-blog-author-byline-avatar {
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid #fff;
  box-shadow: 0 4px 12px rgba(6, 26, 51, 0.12);
}

.eg-blog-author-byline--card .eg-blog-author-byline-avatar {
  width: 42px;
  height: 42px;
}

.eg-blog-author-byline-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.eg-blog-author-byline-text strong {
  color: var(--eg-navy);
  font-size: 14px;
  line-height: 1.25;
}

.eg-blog-author-byline-text small {
  color: #536079;
  font-size: 12px;
  line-height: 1.35;
}

.eg-blog-show-meta .eg-blog-author-byline {
  flex: 1 1 220px;
}

.eg-blog-card-author {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--eg-border);
}

.eg-blog-card-author .eg-blog-author-byline-text strong {
  font-size: 13px;
}

.eg-blog-card-author .eg-blog-author-byline-text small {
  display: none;
}

.eg-blog-author-page .eg-blog-show-wrap {
  max-width: 1240px;
}

.eg-blog-author-hero {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--eg-border);
  border-radius: var(--eg-radius);
  padding: 28px 32px;
  margin-bottom: 28px;
  box-shadow: var(--eg-shadow);
}

.eg-blog-author-hero-photo img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  object-fit: cover;
  aspect-ratio: 1;
}

.eg-blog-author-kicker {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #185cff;
}

.eg-blog-author-hero h1 {
  margin: 0 0 8px;
  font-size: 36px;
  color: var(--eg-navy);
  letter-spacing: -0.5px;
}

.eg-blog-author-headline {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 600;
  color: #334155;
}

.eg-blog-author-location {
  margin: 0;
  color: #536079;
  font-size: 14px;
}

.eg-blog-author-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
  align-items: start;
}

.eg-blog-author-main {
  background: #fff;
  border: 1px solid var(--eg-border);
  border-radius: var(--eg-radius);
  padding: 28px 32px 32px;
}

.eg-blog-author-section {
  margin-bottom: 28px;
}

.eg-blog-author-section h2 {
  margin: 0 0 14px;
  font-size: 22px;
  color: var(--eg-navy);
}

.eg-blog-author-section p {
  margin: 0 0 14px;
  color: #1d2939;
  line-height: 1.72;
  font-size: 16px;
}

.eg-blog-author-list {
  margin: 0;
  padding-left: 1.25rem;
  display: grid;
  gap: 8px;
  color: #1d2939;
  line-height: 1.55;
}

.eg-blog-author-quote {
  margin: 28px 0;
  padding: 22px 24px;
  border-left: 5px solid var(--eg-yellow);
  background: #f8fafc;
  border-radius: 10px;
}

.eg-blog-author-quote-label {
  margin: 0 0 10px;
  font-weight: 800;
  color: var(--eg-navy);
  font-size: 14px;
}

.eg-blog-author-quote blockquote {
  margin: 0;
}

.eg-blog-author-quote blockquote p {
  margin: 0 0 10px;
  font-size: 17px;
  font-style: italic;
  color: #1e293b;
}

.eg-blog-author-quote footer {
  color: #536079;
  font-size: 14px;
  font-weight: 600;
}

.eg-blog-author-posts h2 {
  margin: 0 0 16px;
  font-size: 22px;
  color: var(--eg-navy);
}

.eg-blog-author-posts-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.eg-blog-author-posts-list a {
  display: block;
  padding: 16px 18px;
  border: 1px solid var(--eg-border);
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.eg-blog-author-posts-list a:hover {
  border-color: #185cff;
  box-shadow: 0 8px 20px rgba(24, 92, 255, 0.1);
}

.eg-blog-author-posts-list strong {
  display: block;
  color: var(--eg-navy);
  font-size: 16px;
  margin-bottom: 6px;
}

.eg-blog-author-posts-list span {
  display: block;
  color: #536079;
  font-size: 14px;
  line-height: 1.45;
  margin-bottom: 8px;
}

.eg-blog-author-posts-list time {
  font-size: 12px;
  color: #667085;
}

.eg-blog-author-pagination {
  margin-top: 20px;
}

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

@media (max-width: 1100px) {
  .eg-blog-author-layout {
    grid-template-columns: 1fr;
  }

  .eg-blog-author-page .eg-blog-sidebar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 720px) {
  .eg-blog-author-hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .eg-blog-author-hero-photo {
    max-width: 240px;
    margin: 0 auto;
  }

  .eg-blog-author-hero h1 {
    font-size: 28px;
  }

  .eg-blog-author-main {
    padding: 20px;
  }
}
