/* ============================================================
   EAS UNT — Custom Stylesheet
   Escuela de Agricultura y Sacarotecnia · UNT
   ============================================================ */

/* ---------- Variables ---------- */
:root {
  --eas-primary:    #0054ab;
  --eas-primary-dk: #003d80;
  --eas-secondary:  #e21e24;
  --eas-secondary-dk: #b81519;
  --eas-bg:         #f4f7fb;
  --eas-surface:    #ffffff;
  --eas-text:       #132035;
  --eas-muted:      #5b6979;
  --eas-border:     #d5dfe9;
  --eas-green:      #2d7a3e;
  --eas-radius:     16px;
  --eas-shadow-sm:  0 2px 8px rgba(10,30,60,.07);
  --eas-shadow:     0 8px 28px rgba(10,30,60,.10);
  --eas-shadow-lg:  0 20px 50px rgba(10,30,60,.15);
  --eas-max-wide:   1360px;
}

/* ---------- Base ---------- */
body {
  background: var(--eas-bg);
  color: var(--eas-text);
}

/* ---------- HERO ---------- */
.eas-hero-wrap {
  position: relative;
  width: 100%;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #071a30 0%, #082f58 55%, #0a4a8a 100%);
}

.eas-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  opacity: 0.35;
  transition: opacity .4s ease;
}

.eas-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(7,26,48,.92) 0%,
    rgba(7,26,48,.75) 50%,
    rgba(7,26,48,.30) 100%
  );
}

.eas-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--eas-max-wide);
  margin: 0 auto;
  padding: clamp(4rem,8vw,7rem) clamp(1.5rem,4vw,3rem);
}

.eas-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(226,30,36,.9);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .4rem .85rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.eas-hero-title {
  font-size: clamp(2rem,4.5vw,3.6rem) !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  color: #fff !important;
  max-width: 700px;
  margin-bottom: 1rem !important;
}

.eas-hero-subtitle {
  font-size: clamp(1rem,1.8vw,1.25rem) !important;
  color: rgba(255,255,255,.85) !important;
  max-width: 580px;
  line-height: 1.6 !important;
  margin-bottom: 2rem !important;
}

.eas-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .875rem;
  margin-top: .5rem;
}

.eas-btn-primary {
  display: inline-block !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}
.eas-btn-primary .wp-block-button__link,
.eas-btn-primary a.wp-element-button,
.eas-btn-primary a {
  display: inline-flex !important;
  align-items: center !important;
  gap: .45rem !important;
  background: var(--eas-secondary) !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: .975rem !important;
  padding: 0.8rem 1.75rem !important;
  border-radius: 10px !important;
  text-decoration: none !important;
  box-shadow: 0 4px 16px rgba(226,30,36,0.35) !important;
  transition: background .2s, transform .2s, box-shadow .2s !important;
  height: 48px !important;
  line-height: 1 !important;
  box-sizing: border-box !important;
}
.wp-block-button.eas-btn-primary:hover .wp-block-button__link,
.wp-block-button.eas-btn-primary:hover a.wp-element-button,
.eas-btn-primary a:hover {
  background: var(--eas-secondary-dk) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(226,30,36,0.45) !important;
  color: #fff !important;
}

.eas-btn-outline {
  display: inline-block !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}
.eas-btn-outline .wp-block-button__link,
.eas-btn-outline a.wp-element-button,
.eas-btn-outline a {
  display: inline-flex !important;
  align-items: center !important;
  gap: .45rem !important;
  background: transparent !important;
  color: #fff !important;
  font-weight: 600 !important;
  font-size: .975rem !important;
  padding: 0.75rem 1.6rem !important;
  border-radius: 10px !important;
  border: 2px solid rgba(255,255,255,0.6) !important;
  text-decoration: none !important;
  box-shadow: none !important;
  transition: border-color .2s, background .2s, transform .2s, color .2s !important;
  height: 48px !important;
  line-height: 1 !important;
  box-sizing: border-box !important;
}
.wp-block-button.eas-btn-outline:hover .wp-block-button__link,
.wp-block-button.eas-btn-outline:hover a.wp-element-button,
.eas-btn-outline a:hover {
  border-color: #fff !important;
  background: rgba(255,255,255,0.1) !important;
  transform: translateY(-2px) !important;
  color: #fff !important;
}

/* ---------- STATS BAND ---------- */
.eas-stats-band {
  background: var(--eas-primary);
  padding: 2rem clamp(1.5rem,4vw,3rem);
}

.eas-stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: var(--eas-max-wide);
  margin: 0 auto;
  text-align: center;
}

.eas-stat {
  padding: .75rem;
  border-right: 1px solid rgba(255,255,255,.15);
}
.eas-stat:last-child { border-right: none; }

.eas-stat-number {
  display: block;
  font-size: clamp(2rem,3.5vw,3rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.eas-stat-label {
  display: block;
  font-size: .82rem;
  font-weight: 500;
  color: rgba(255,255,255,.75);
  margin-top: .35rem;
  letter-spacing: .03em;
}

@media (max-width: 640px) {
  .eas-stats-inner { grid-template-columns: repeat(2,1fr); }
  .eas-stat:nth-child(2) { border-right: none; }
}

/* ---------- SECCIONES GENÉRICAS ---------- */
.eas-section,
.editor-styles-wrapper .eas-section {
  padding: clamp(3rem,6vw,5rem) clamp(1.5rem,4vw,3rem) !important;
  max-width: var(--eas-max-wide) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.eas-section-label {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--eas-primary);
  margin-bottom: .6rem;
}

.eas-section-title {
  font-size: clamp(1.6rem,2.8vw,2.4rem) !important;
  font-weight: 800 !important;
  color: var(--eas-text) !important;
  line-height: 1.2 !important;
  margin-bottom: .5rem !important;
}

.eas-section-sub {
  font-size: 1.05rem;
  color: var(--eas-muted);
  max-width: 580px;
  line-height: 1.65;
  margin-bottom: 2.5rem !important;
}

/* ---------- SOBRE LA ESCUELA ---------- */
.eas-about-section {
  background: var(--eas-surface);
}

.eas-about-text h2 {
  font-size: clamp(1.55rem,2.5vw,2.2rem);
  font-weight: 800;
  color: var(--eas-text);
  margin-bottom: .75rem;
}

.eas-about-text p {
  color: var(--eas-muted);
  line-height: 1.75;
  font-size: 1.02rem;
}

.eas-about-img {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--eas-shadow-lg);
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
}

/* ---------- CARRERAS ---------- */
.eas-careers-section {
  background: linear-gradient(180deg, var(--eas-bg) 0%, #eaf2ff 100%);
}

.eas-career-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  margin-top: 2.5rem;
}

@media (max-width: 768px) {
  .eas-career-grid { grid-template-columns: 1fr; }
}

.eas-career-card {
  background: var(--eas-surface);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  border: 1px solid var(--eas-border);
  box-shadow: var(--eas-shadow);
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.eas-career-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: var(--eas-primary);
}
.eas-career-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--eas-shadow-lg);
}

.eas-career-card--agro::before { background: var(--eas-green); }
.eas-career-card--quim::before { background: var(--eas-primary); }

.eas-career-icon {
  font-size: 2.8rem;
  margin-bottom: 1.1rem;
  display: block;
}

.eas-career-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--eas-text);
  margin-bottom: .6rem;
  line-height: 1.25;
}

.eas-career-card p {
  color: var(--eas-muted);
  line-height: 1.65;
  font-size: .97rem;
  margin-bottom: 1.5rem;
}

.eas-career-meta {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.eas-career-tag {
  background: #eaf2ff;
  color: var(--eas-primary);
  font-size: .78rem;
  font-weight: 700;
  padding: .3rem .75rem;
  border-radius: 999px;
  letter-spacing: .03em;
}

.eas-career-tag--green {
  background: #eaf5ec;
  color: var(--eas-green);
}

.eas-career-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--eas-primary);
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none !important;
  border-bottom: 2px solid transparent;
  transition: border-color .2s, gap .2s;
}
.eas-career-link:hover {
  border-color: var(--eas-primary);
  gap: .65rem;
}

/* ---------- PILARES / VIDA ESCOLAR ---------- */
.eas-pillars-section {
  background: var(--eas-surface);
}

.eas-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

@media (max-width: 768px) {
  .eas-pillars-grid { grid-template-columns: 1fr; }
}

.eas-pillar-card {
  background: var(--eas-bg);
  border-radius: 18px;
  padding: 2rem 1.5rem;
  border: 1px solid var(--eas-border);
  transition: box-shadow .25s ease, transform .25s ease;
}
.eas-pillar-card:hover {
  box-shadow: var(--eas-shadow);
  transform: translateY(-4px);
}

.eas-pillar-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  margin-bottom: 1.1rem;
  background: linear-gradient(135deg, var(--eas-primary) 0%, #2e7cc6 100%);
  color: #fff;
}
.eas-pillar-icon--green {
  background: linear-gradient(135deg, var(--eas-green) 0%, #3fa055 100%);
}
.eas-pillar-icon--red {
  background: linear-gradient(135deg, var(--eas-secondary) 0%, #f05a5e 100%);
}

.eas-pillar-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--eas-text);
  margin-bottom: .5rem;
}

.eas-pillar-card p {
  color: var(--eas-muted);
  font-size: .95rem;
  line-height: 1.65;
}

/* ---------- NOTICIAS ---------- */
.eas-news-section {
  background: linear-gradient(180deg, var(--eas-bg) 0%, #f8f9fd 100%);
}

/* Cards horizontales de noticias */
.eas-news-query ul.wp-block-post-template,
.eas-news-query .wp-block-post-template,
.eas-news-query.wp-block-query > ul {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0,1fr)) !important;
  gap: 1.5rem !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

@media (max-width: 900px) {
  .eas-news-query ul.wp-block-post-template,
  .eas-news-query .wp-block-post-template {
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  }
}
@media (max-width: 600px) {
  .eas-news-query ul.wp-block-post-template,
  .eas-news-query .wp-block-post-template {
    grid-template-columns: 1fr !important;
  }
}

.eas-news-card-h {
  background: var(--eas-surface);
  border-radius: 16px;
  border: 1px solid var(--eas-border);
  overflow: hidden;
  box-shadow: var(--eas-shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex !important;
  flex-direction: column;
}
.eas-news-card-h:hover {
  transform: translateY(-4px);
  box-shadow: var(--eas-shadow);
}

.eas-news-card-h .wp-block-post-featured-image {
  display: block;
  flex-shrink: 0;
}
.eas-news-card-h .wp-block-post-featured-image img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}
/* Placeholder cuando no hay imagen */
.eas-news-card-h .wp-block-post-featured-image:empty,
.eas-news-card-h .wp-block-post-featured-image a:empty {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #1a3a5c 0%, #2a5f8a 100%);
}

.eas-news-card-body { flex: 1; }

.eas-news-card-h .wp-block-post-title {
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  margin-bottom: .5rem !important;
}
.eas-news-card-h .wp-block-post-title a {
  color: var(--eas-text) !important;
  text-decoration: none !important;
}
.eas-news-card-h .wp-block-post-title a:hover { color: var(--eas-primary) !important; }

.eas-news-card-h .wp-block-post-date {
  font-size: .8rem !important;
  color: var(--eas-muted) !important;
  margin-bottom: .4rem !important;
}

.eas-news-card-h .wp-block-post-excerpt p {
  font-size: .9rem !important;
  color: var(--eas-muted) !important;
  line-height: 1.55 !important;
  margin-bottom: .5rem !important;
}
.eas-news-card-h .wp-block-post-excerpt .wp-block-post-excerpt__more-link {
  font-size: .85rem !important;
  font-weight: 700 !important;
  color: var(--eas-primary) !important;
  text-decoration: none !important;
}

/* Ocultar fallback si hay sticky posts */
.eas-news-fallback { display: none; }

.eas-news-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.eas-news-link-all {
  font-size: .875rem;
  font-weight: 700;
  color: var(--eas-primary);
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  border-bottom: 2px solid transparent;
  transition: border-color .2s;
}
.eas-news-link-all:hover { border-color: var(--eas-primary); }

.eas-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .eas-news-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .eas-news-grid { grid-template-columns: 1fr; }
}

/* Gutenberg post-template cards override */
.eas-news-section .wp-block-post-template {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 1.5rem !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

@media (max-width: 900px) {
  .eas-news-section .wp-block-post-template {
    grid-template-columns: 1fr 1fr !important;
  }
}
@media (max-width: 600px) {
  .eas-news-section .wp-block-post-template {
    grid-template-columns: 1fr !important;
  }
}

.eas-news-section .wp-block-post-template li {
  background: var(--eas-surface);
  border-radius: 16px;
  border: 1px solid var(--eas-border);
  overflow: hidden;
  box-shadow: var(--eas-shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
}
.eas-news-section .wp-block-post-template li:hover {
  transform: translateY(-4px);
  box-shadow: var(--eas-shadow);
}

.eas-news-section .wp-block-post-featured-image img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.eas-news-section .wp-block-post-title {
  font-size: 1rem !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  padding: 1rem 1.1rem .5rem !important;
}

.eas-news-section .wp-block-post-title a {
  color: var(--eas-text) !important;
  text-decoration: none !important;
}
.eas-news-section .wp-block-post-title a:hover {
  color: var(--eas-primary) !important;
}

.eas-news-section .wp-block-post-date {
  font-size: .8rem !important;
  color: var(--eas-muted) !important;
  padding: 0 1.1rem .75rem !important;
}

.eas-news-section .wp-block-post-excerpt p {
  font-size: .9rem !important;
  color: var(--eas-muted) !important;
  padding: 0 1.1rem .5rem !important;
  line-height: 1.55 !important;
}

/* ---------- ACCESOS RÁPIDOS ---------- */
.eas-access-section {
  background: var(--eas-primary);
  padding: clamp(2.5rem,5vw,4rem) clamp(1.5rem,4vw,3rem);
}

.eas-access-inner {
  max-width: var(--eas-max-wide);
  margin: 0 auto;
}

.eas-access-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.eas-access-header .eas-section-label {
  color: rgba(255,255,255,.7);
}

.eas-access-header h2 {
  color: #fff !important;
  font-size: clamp(1.4rem,2.5vw,2rem);
  font-weight: 800;
  margin-bottom: 0;
}

.eas-access-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

@media (max-width: 780px) {
  .eas-access-grid { grid-template-columns: repeat(2,1fr); }
}

.eas-access-card {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 16px;
  padding: 1.5rem 1.25rem;
  text-align: center;
  text-decoration: none !important;
  transition: background .2s, transform .25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  color: #fff !important;
}
.eas-access-card:hover {
  background: rgba(255,255,255,.2);
  transform: translateY(-4px);
}

.eas-access-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.eas-access-card-title {
  font-weight: 700;
  font-size: .95rem;
  line-height: 1.25;
}

.eas-access-card-desc {
  font-size: .8rem;
  color: rgba(255,255,255,.7);
  line-height: 1.4;
}

/* ---------- CTA INGRESO ---------- */
.eas-cta-section {
  background: linear-gradient(135deg, #071a30 0%, #082f58 100%);
  padding: clamp(3rem,6vw,5rem) clamp(1.5rem,4vw,3rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.eas-cta-section::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 999px;
  background: rgba(0,84,171,.25);
  top: -200px; right: -100px;
}

.eas-cta-section::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 999px;
  background: rgba(226,30,36,.15);
  bottom: -100px; left: -50px;
}

.eas-cta-inner {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
}

.eas-cta-year {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: 1rem;
}

.eas-cta-section h2 {
  font-size: clamp(1.75rem,3vw,2.6rem) !important;
  font-weight: 800 !important;
  color: #fff !important;
  line-height: 1.2 !important;
  margin-bottom: 1rem !important;
}

.eas-cta-section p {
  color: rgba(255,255,255,.75) !important;
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 2rem !important;
}

/* ---------- AVISO INSTITUCIONAL ---------- */
.eas-aviso {
  border-radius: 12px;
  padding: 1rem 1.25rem;
  border-left: 6px solid var(--eas-primary);
  max-width: var(--eas-max-wide);
  margin: 1rem auto;
}
.eas-aviso.is-hidden { display: none; }
.eas-aviso--informativo { border-left-color: #2e7cc6; background: #ebf4ff; }
.eas-aviso--urgente    { border-left-color: var(--eas-secondary); background: #fff0f0; }
.eas-aviso--academico  { border-left-color: var(--eas-green); background: #ecfaf5; }
.eas-aviso--administrativo { border-left-color: #8a5d00; background: #fff9eb; }

/* ---------- CABECERA PÁGINAS INTERIORES ---------- */
.eas-page-hero {
  background: linear-gradient(120deg, #071a30 0%, var(--eas-primary) 100%) !important;
  color: #fff !important;
  border-radius: 0 !important;
  padding: clamp(2.5rem,4vw,3.5rem) 0 !important;
  margin-bottom: 2rem !important;
  width: 100% !important;
}
.eas-page-hero-inner {
  max-width: var(--eas-max-wide) !important;
  margin: 0 auto !important;
  padding: 0 clamp(1.5rem,4vw,3rem) !important;
  box-sizing: border-box !important;
}
.eas-page-hero h1,
.eas-page-hero p { color: #fff !important; }

.eas-page-hero-badge {
  font-size: .78rem !important;
  font-weight: 700 !important;
  letter-spacing: .1em !important;
  text-transform: uppercase !important;
  color: rgba(255,255,255,.65) !important;
  display: block !important;
  margin-bottom: .5rem !important;
}

.eas-page-hero-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem) !important;
  font-weight: 800 !important;
  margin: .5rem 0 .75rem !important;
  color: #ffffff !important;
  line-height: 1.25 !important;
}

.eas-page-hero-desc {
  font-size: 1rem !important;
  max-width: 560px !important;
  line-height: 1.6 !important;
  color: rgba(255,255,255,.78) !important;
  margin: 0 !important;
}

.eas-arrival-card {
  background: #fff !important;
  border: 1px solid #d5dfe9 !important;
  border-radius: 14px !important;
  padding: 1.5rem !important;
  margin-bottom: 1.25rem !important;
  box-shadow: 0 2px 8px rgba(10,30,60,.06) !important;
}
.eas-arrival-card h3 {
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: var(--eas-primary) !important;
  margin: 0 0 0.85rem !important;
}
.eas-arrival-card p {
  color: var(--eas-muted) !important;
  font-size: 0.9rem !important;
  line-height: 1.65 !important;
  margin: 0 !important;
}
.eas-arrival-card p.eas-card-warning {
  font-size: 0.8rem !important;
  color: #8a9ab0 !important;
  margin-top: 0.85rem !important;
}

.eas-arrival-card--contact {
  background: #eaf2ff !important;
  border: 1px solid #c7ddfa !important;
  border-radius: 14px !important;
  padding: 1.25rem 1.5rem !important;
}
.eas-arrival-card--contact h3 {
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: var(--eas-primary) !important;
  margin: 0 0 0.6rem !important;
}
.eas-arrival-card--contact p {
  color: #2a3b52 !important;
  font-size: 0.9rem !important;
  line-height: 1.7 !important;
  margin: 0 !important;
}
.eas-arrival-card--contact a {
  color: var(--eas-primary) !important;
  text-decoration: none !important;
}
.eas-arrival-card--contact a:hover {
  text-decoration: underline !important;
}

.eas-map-caption {
  font-size: 0.8rem !important;
  color: var(--eas-muted) !important;
  margin-top: 0.75rem !important;
}
.eas-column-title {
  font-size: 1.4rem !important;
  font-weight: 800 !important;
  color: var(--eas-text) !important;
  margin-bottom: 1.5rem !important;
}
.eas-section .wp-block-columns {
  gap: 3rem !important;
}


/* ---------- HEADER REFINEMENTS ---------- */
.wp-block-site-title a {
  font-weight: 800 !important;
  color: var(--eas-text) !important;
  text-decoration: none !important;
}

.wp-block-navigation a {
  font-weight: 600 !important;
  font-size: .9rem !important;
  color: var(--eas-text) !important;
}

.wp-block-navigation a:hover {
  color: var(--eas-primary) !important;
}

/* ---------- FOOTER REFINEMENTS ---------- */
.eas-footer {
  background: #0a1e35;
  color: #c8d8ee;
}

.eas-footer h4 {
  color: #fff !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  margin-bottom: .75rem !important;
}

.eas-footer p,
.eas-footer a {
  color: #a8bdd5 !important;
  font-size: .875rem !important;
  text-decoration: none !important;
}

.eas-footer a:hover {
  color: #fff !important;
}

.eas-footer-divider {
  border-color: rgba(255,255,255,.1) !important;
  margin: 1.5rem 0 !important;
}

/* ---------- AUTORIDADES ---------- */
@media (max-width: 780px) {
  .eas-authority-card { padding: 1.5rem 1rem; }
  /* 4 columnas → 2 en móvil */
  div[style*="grid-template-columns:repeat(4,1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 400px) {
  div[style*="grid-template-columns:repeat(4,1fr)"] {
    grid-template-columns: 1fr 1fr !important;
  }
}
/* Responsive para grids 2 columnas en páginas interiores */
@media (max-width: 680px) {
  div[style*="grid-template-columns:1fr 1.5fr"],
  div[style*="grid-template-columns:1fr 1.4fr"],
  div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}
.eas-authority-card {
  background: var(--eas-surface);
  border: 1px solid var(--eas-border);
  border-radius: 18px;
  padding: 2rem 1.5rem 1.5rem;
  text-align: center;
  box-shadow: var(--eas-shadow-sm);
  transition: transform .25s, box-shadow .25s;
}
.eas-authority-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--eas-shadow);
}
.eas-authority-photo img {
  width: 120px !important;
  height: 120px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 4px solid #e8edf5 !important;
  margin: 0 auto 1rem !important;
  display: block !important;
  transition: border-color .2s;
}
.eas-authority-card:hover .eas-authority-photo img {
  border-color: var(--eas-primary) !important;
}
.eas-authority-name {
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: var(--eas-text) !important;
  margin-bottom: .25rem !important;
}
.eas-authority-role {
  font-size: .875rem !important;
  font-weight: 600 !important;
  color: var(--eas-primary) !important;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin: 0 !important;
}

/* ---------- PÁGINAS INTERIORES ---------- */
.eas-grid-card {
  background: var(--eas-surface);
  border: 1px solid var(--eas-border);
  border-radius: 14px;
  padding: 1.25rem;
  box-shadow: var(--eas-shadow-sm);
}

.eas-timeline .wp-block-group {
  border-left: 4px solid #bdd6f1;
  padding-left: 1.25rem;
  margin-bottom: 1.25rem;
}

.eas-kpi {
  display: inline-block;
  background: #eaf2ff;
  border: 1px solid #c7ddfa;
  color: #0e2e4f;
  border-radius: 999px;
  padding: .25rem .8rem;
  font-size: .82rem;
  margin: .2rem;
}

/* ---------- BLOG / ARCHIVE ---------- */
/* Forzar grid en cualquier query que tenga eas-archive-query */
.eas-archive-query ul.wp-block-post-template,
.eas-archive-query .wp-block-post-template,
.eas-archive-query.wp-block-query > ul,
.eas-archive-query.wp-block-query > .wp-block-post-template {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0,1fr)) !important;
  gap: 1.5rem !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
@media (max-width: 900px) {
  .eas-archive-query ul.wp-block-post-template,
  .eas-archive-query .wp-block-post-template {
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  }
}
@media (max-width: 600px) {
  .eas-archive-query ul.wp-block-post-template,
  .eas-archive-query .wp-block-post-template {
    grid-template-columns: 1fr !important;
  }
}

/* Paginación */
.wp-block-query-pagination {
  display: flex !important;
  justify-content: center !important;
  gap: .5rem !important;
  margin-top: 2.5rem !important;
}
.wp-block-query-pagination a,
.wp-block-query-pagination .wp-block-query-pagination-numbers a {
  display: inline-flex !important;
  align-items: center !important;
  padding: .45rem .9rem !important;
  border: 1px solid var(--eas-border) !important;
  border-radius: 8px !important;
  color: var(--eas-primary) !important;
  font-weight: 600 !important;
  font-size: .875rem !important;
  text-decoration: none !important;
  transition: background .2s, border-color .2s !important;
}
.wp-block-query-pagination a:hover {
  background: var(--eas-primary) !important;
  color: #fff !important;
  border-color: var(--eas-primary) !important;
}

/* Nav — botón Dónde Estamos destacado */
.eas-nav-ubicacion > a {
  background: var(--eas-secondary) !important;
  color: #fff !important;
  padding: .35rem .85rem !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
}
.eas-nav-ubicacion > a:hover {
  background: var(--eas-secondary-dk) !important;
  color: #fff !important;
}

/* Página Dónde Estamos — responsive */
@media (max-width: 780px) {
  .eas-section > div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

/* ---------- SIDEBAR NOTICIAS ---------- */
.eas-news-sidebar {
  position: sticky;
  top: 1.5rem;
  align-self: flex-start;
}

/* Búsqueda */
.eas-news-sidebar .wp-block-search__inside-wrapper {
  border: 1px solid var(--eas-border) !important;
  border-radius: 8px !important;
  overflow: hidden;
  display: flex;
}
.eas-news-sidebar .wp-block-search__input {
  border: none !important;
  padding: .6rem .9rem !important;
  font-size: .9rem !important;
  flex: 1;
  outline: none;
}
.eas-news-sidebar .wp-block-search__button {
  background: var(--eas-primary) !important;
  color: #fff !important;
  border: none !important;
  padding: .6rem 1rem !important;
  font-size: .85rem !important;
  font-weight: 600 !important;
  cursor: pointer;
  border-radius: 0 !important;
}

/* Widget genérico */
.eas-sidebar-widget {
  background: var(--eas-surface);
  border: 1px solid var(--eas-border);
  border-radius: 14px;
  padding: 1.25rem 1.1rem;
}

.eas-sidebar-title {
  font-size: .82rem !important;
  font-weight: 700 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  color: var(--eas-primary) !important;
  margin-bottom: .85rem !important;
  padding-bottom: .6rem;
  border-bottom: 2px solid #e8edf5;
}

/* Lista de categorías */
.eas-category-list ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.eas-category-list li {
  border-bottom: 1px solid #f0f4f8;
  padding: .45rem 0;
}
.eas-category-list li:last-child { border-bottom: none; }
.eas-category-list a {
  color: var(--eas-text) !important;
  font-size: .875rem !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color .15s;
}
.eas-category-list a:hover { color: var(--eas-primary) !important; }
.eas-category-list .wp-block-categories-list-item-count {
  background: #e8edf5;
  color: #5b6979;
  font-size: .72rem;
  padding: .15rem .5rem;
  border-radius: 99px;
}

/* Entradas recientes */
.eas-news-sidebar .wp-block-latest-posts {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.eas-news-sidebar .wp-block-latest-posts li {
  padding: .5rem 0;
  border-bottom: 1px solid #f0f4f8;
  font-size: .875rem !important;
}
.eas-news-sidebar .wp-block-latest-posts li:last-child { border-bottom: none; }
.eas-news-sidebar .wp-block-latest-posts a {
  color: var(--eas-text) !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  line-height: 1.4;
  display: block;
}
.eas-news-sidebar .wp-block-latest-posts a:hover { color: var(--eas-primary) !important; }
.eas-news-sidebar .wp-block-latest-posts__post-date {
  font-size: .75rem !important;
  color: var(--eas-muted) !important;
  display: block;
  margin-top: .2rem;
}

/* Placeholder cuando un post no tiene imagen destacada */
.eas-news-card-h .wp-block-post-featured-image:not(:has(img)) {
  display: block;
  background: linear-gradient(135deg,#1a3a5c 0%,#2a5f8a 100%);
  aspect-ratio: 16/9;
  width: 100%;
  position: relative;
}
.eas-news-card-h .wp-block-post-featured-image:not(:has(img))::after {
  content: '📰';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  font-size: 2.5rem;
  opacity: .4;
}

/* En móvil el sidebar va debajo */
@media (max-width: 780px) {
  .eas-news-sidebar { position: static; }
}

/* ---------- RESPONSIVE GLOBAL ---------- */
@media (max-width: 600px) {
  .eas-hero-wrap { min-height: 520px; }
  .eas-hero-actions { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   EAS UNT — Gutenberg Visual Block Styling System
   ============================================================ */

/* ---------- TIMELINE (HISTORIA) ---------- */
.eas-timeline {
  position: relative;
  padding-left: 2rem !important;
  border-left: 3px solid #d5dfe9 !important;
  max-width: 860px;
  margin: 0 auto !important;
}
.eas-timeline-item {
  position: relative;
  margin-bottom: 2rem !important;
  padding-left: 1.5rem !important;
}
.eas-timeline-item::before {
  content: '';
  position: absolute;
  left: -2.6rem;
  top: .2rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--eas-primary);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--eas-primary);
  z-index: 2;
}
.eas-timeline-year {
  font-size: .78rem !important;
  font-weight: 700 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  color: var(--eas-primary) !important;
  margin: 0 0 .2rem !important;
}
.eas-timeline-title {
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: var(--eas-text) !important;
  margin: 0 0 .35rem !important;
}
.eas-timeline-desc {
  color: var(--eas-muted) !important;
  font-size: .93rem !important;
  line-height: 1.65 !important;
  margin: 0 !important;
}

/* ---------- STATS GRID (LA ESCUELA / ORIENTACION) ---------- */
.eas-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
  gap: 1.25rem !important;
  margin-bottom: 3rem !important;
}
.eas-stats-card {
  background: #fff !important;
  border: 1px solid #d5dfe9 !important;
  border-radius: 14px !important;
  padding: 1.25rem !important;
  display: flex !important;
  gap: .85rem !important;
  align-items: flex-start !important;
}
.eas-stats-card-icon {
  font-size: 1.6rem !important;
  flex-shrink: 0 !important;
  line-height: 1 !important;
}
.eas-stats-card-content {
  display: flex;
  flex-direction: column;
}
.eas-stats-card-label {
  font-size: .75rem !important;
  font-weight: 700 !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
  color: var(--eas-primary) !important;
  margin: 0 0 .2rem !important;
}
.eas-stats-card-value {
  font-size: .92rem !important;
  color: var(--eas-text) !important;
  font-weight: 600 !important;
  margin: 0 !important;
  line-height: 1.3 !important;
}
.eas-stats-card--center {
  background: #fff !important;
  border: 1px solid #d5dfe9 !important;
  border-radius: 14px !important;
  padding: 1.25rem !important;
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  height: 100% !important;
  min-height: 120px !important;
  box-sizing: border-box !important;
}
.eas-stats-card--center p:first-child {
  font-size: 2rem !important;
  font-weight: 800 !important;
  color: var(--eas-primary) !important;
  margin: 0 0 .25rem !important;
  line-height: 1.1 !important;
}
.eas-stats-card--center p:last-child {
  font-size: .78rem !important;
  font-weight: 700 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  color: var(--eas-muted) !important;
  margin: 0 !important;
  line-height: 1.3 !important;
}
.eas-school-intro-text {
  font-size: 1.05rem !important;
  line-height: 1.8 !important;
  color: var(--eas-muted) !important;
  max-width: 860px;
  margin-bottom: 1.25rem !important;
}

/* ---------- DOWNLOAD CARDS & ALERT BOX (CONCURSOS / INTERINATOS) ---------- */
.eas-alert-box {
  background: #fff8eb !important;
  border-left: 5px solid #d4a017 !important;
  border-radius: 8px !important;
  padding: 1.25rem !important;
  margin-bottom: 2rem !important;
  color: #7a5200 !important;
  font-size: 0.92rem !important;
  line-height: 1.6 !important;
}
.eas-alert-box p {
  color: #7a5200 !important;
  margin: 0 !important;
  font-size: 0.92rem !important;
}
.eas-alert-box p:first-child {
  font-weight: 700 !important;
  margin-bottom: 0.5rem !important;
}
.eas-download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  gap: 1.5rem !important;
  margin-bottom: 2rem !important;
}
.eas-download-card {
  border: 1px solid #d5dfe9 !important;
  border-radius: 12px !important;
  padding: 1.25rem !important;
  background: #f4f7fb !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  height: 100% !important;
}
.eas-download-card h4 {
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  color: var(--eas-text) !important;
  margin: 0 0 0.5rem !important;
}
.eas-download-card p {
  color: var(--eas-muted) !important;
  font-size: 0.85rem !important;
  line-height: 1.5 !important;
  margin: 0 0 1rem !important;
}
.eas-download-card a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: var(--eas-primary) !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 0.82rem !important;
  padding: 0.6rem 1rem !important;
  border-radius: 6px !important;
  text-decoration: none !important;
  transition: background 0.15s ease !important;
  margin-top: auto !important;
}
.eas-download-card a:hover {
  background: var(--eas-primary-dk) !important;
}

/* ---------- INFO NOTES & ACCOUNTS (INTERINATOS) ---------- */
.eas-account-box {
  background: #f4f7fb !important;
  border: 1px solid #d5dfe9 !important;
  border-radius: 10px !important;
  padding: 1rem !important;
  font-size: 0.88rem !important;
  color: var(--eas-text) !important;
}
.eas-account-box p {
  margin: 0 0 0.25rem !important;
  font-size: 0.88rem !important;
}
.eas-account-box p:last-child {
  margin: 0 !important;
}
.eas-account-box span {
  font-family: monospace !important;
  font-weight: 700 !important;
  color: var(--eas-text) !important;
}
.eas-info-note {
  margin-top: 1.5rem !important;
  background: #eaf2ff !important;
  border-radius: 10px !important;
  padding: .9rem 1rem !important;
  font-size: .85rem !important;
  color: #2a3b52 !important;
}
.eas-info-note p {
  color: #2a3b52 !important;
  font-size: .85rem !important;
  margin: 0 !important;
}
.eas-action-card-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  gap: 1.5rem !important;
  margin-top: 2.5rem !important;
}
.eas-action-card {
  border: 1px solid #d5dfe9 !important;
  border-radius: 12px !important;
  padding: 1.5rem !important;
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  background: #f4f7fb !important;
  height: 100% !important;
}
.eas-action-card.eas-action-card--highlight {
  background: #eaf2ff !important;
  border-color: #c7ddfa !important;
}
.eas-action-card-icon {
  font-size: 2rem !important;
  display: block !important;
  margin-bottom: 0.75rem !important;
}
.eas-action-card h4 {
  font-size: 1rem !important;
  font-weight: 800 !important;
  color: var(--eas-text) !important;
  margin: 0 0 0.5rem !important;
}
.eas-action-card p {
  color: var(--eas-muted) !important;
  font-size: 0.85rem !important;
  line-height: 1.6 !important;
  margin: 0 0 1.25rem !important;
}
.eas-action-card a {
  display: inline-block !important;
  background: var(--eas-primary) !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  padding: 0.75rem 1.2rem !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  transition: background 0.15s ease !important;
  margin-top: auto !important;
}
.eas-action-card a:hover {
  background: var(--eas-primary-dk) !important;
}
.eas-action-card.eas-action-card--highlight a {
  background: var(--eas-secondary) !important;
}
.eas-action-card.eas-action-card--highlight a:hover {
  background: var(--eas-secondary-dk) !important;
}

/* ---------- CONTACT PAGE ---------- */
.eas-contact-card-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 1rem !important;
}
.eas-contact-card {
  background: #fff !important;
  border: 1px solid #d5dfe9 !important;
  border-radius: 12px !important;
  padding: 1.1rem 1.25rem !important;
  display: flex !important;
  gap: .85rem !important;
  align-items: flex-start !important;
}
.eas-contact-card-icon {
  font-size: 1.4rem !important;
  flex-shrink: 0 !important;
}
.eas-contact-card h4 {
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  color: var(--eas-text) !important;
  margin: 0 0 .2rem !important;
}
.eas-contact-card p {
  color: var(--eas-muted) !important;
  font-size: .9rem !important;
  margin: 0 !important;
  line-height: 1.55 !important;
}
.eas-contact-card a {
  color: var(--eas-primary) !important;
  text-decoration: none !important;
}
.eas-contact-card a:hover {
  text-decoration: underline !important;
}
.eas-contact-form-container {
  background: #fff !important;
  border: 1px solid #d5dfe9 !important;
  border-radius: 16px !important;
  padding: 2rem !important;
  box-shadow: 0 4px 16px rgba(10,30,60,.07) !important;
  height: 100% !important;
  box-sizing: border-box !important;
}
.eas-contact-form-container h3 {
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: var(--eas-text) !important;
  margin: 0 0 1.25rem !important;
}
.eas-contact-placeholder-box {
  background: #f4f7fb !important;
  border: 2px dashed #d5dfe9 !important;
  border-radius: 10px !important;
  padding: 2rem !important;
  text-align: center !important;
  color: var(--eas-muted) !important;
}
.eas-contact-placeholder-box p {
  font-size: .875rem !important;
  line-height: 1.6 !important;
  margin: 0 0 1rem !important;
  color: var(--eas-muted) !important;
}
.eas-contact-placeholder-box p:first-child {
  font-size: 1.5rem !important;
  margin-bottom: .75rem !important;
}
.eas-contact-placeholder-box a {
  display: inline-flex !important;
  align-items: center !important;
  background: var(--eas-primary) !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: .9rem !important;
  padding: .7rem 1.5rem !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  transition: background 0.15s ease !important;
}
.eas-contact-placeholder-box a:hover {
  background: var(--eas-primary-dk) !important;
}

/* ---------- TABLES & BANNER (ORIENTACION) ---------- */
.eas-table-container {
  margin-bottom: 1.5rem !important;
  border: 1px solid #d5dfe9 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
}
.eas-table-container table {
  width: 100% !important;
  border-collapse: collapse !important;
  font-size: .92rem !important;
}
.eas-table-container th {
  background: #f0f4fa !important;
  text-align: left !important;
  padding: .65rem 1rem !important;
  font-weight: 700 !important;
  color: var(--eas-text) !important;
  border-bottom: 2px solid #d5dfe9 !important;
}
.eas-table-container td {
  padding: .6rem 1rem !important;
  border-bottom: 1px solid #edf0f5 !important;
}
.eas-table-container tr:nth-child(even) {
  background: #fafbfd !important;
}
.eas-table-container tr.eas-table-subtotal {
  background: #e8f0fa !important;
}
.eas-table-container tr.eas-table-subtotal td {
  font-weight: 700 !important;
  color: var(--eas-primary) !important;
  border-bottom: none !important;
}
.eas-table-total-row {
  background: #e8f0fa !important;
  border-radius: 10px !important;
  padding: .85rem 1.25rem !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-top: 1rem !important;
  margin-bottom: 2.5rem !important;
}
.eas-table-total-row span:first-child {
  font-weight: 800 !important;
  color: var(--eas-text) !important;
}
.eas-table-total-row span:last-child {
  font-weight: 800 !important;
  color: var(--eas-primary) !important;
  font-size: 1.05rem !important;
}
.eas-subject-card {
  background: #fff !important;
  border: 1px solid #d5dfe9 !important;
  border-radius: 14px !important;
  padding: 1.25rem !important;
}
.eas-subject-card h4 {
  font-size: .78rem !important;
  font-weight: 700 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  color: var(--eas-primary) !important;
  margin: 0 0 .4rem !important;
}
.eas-subject-card p {
  font-size: .9rem !important;
  color: var(--eas-muted) !important;
  line-height: 1.65 !important;
  margin: 0 !important;
}
.eas-subject-card strong {
  color: var(--eas-text) !important;
}
.eas-cta-banner {
  background: linear-gradient(120deg, #071a30 0%, var(--eas-primary) 100%) !important;
  border-radius: 16px !important;
  padding: 2rem 2.5rem !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 1.5rem !important;
  align-items: center !important;
  justify-content: space-between !important;
}
.eas-cta-banner h3 {
  color: #fff !important;
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  margin: 0 0 .35rem !important;
}
.eas-cta-banner p {
  color: rgba(255,255,255,.9) !important;
  font-size: .93rem !important;
  margin: 0 !important;
}
.eas-cta-banner .eas-cta-buttons {
  display: flex !important;
  gap: .75rem !important;
  flex-wrap: wrap !important;
}
.eas-cta-banner a {
  font-weight: 700 !important;
  font-size: .9rem !important;
  padding: .65rem 1.2rem !important;
  border-radius: 10px !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}
.eas-cta-banner a.eas-cta-btn-white {
  background: #fff !important;
  color: var(--eas-primary) !important;
}
.eas-cta-banner a.eas-cta-btn-white:hover {
  background: #f4f7fb !important;
}
.eas-cta-banner a.eas-cta-btn-outline {
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.4) !important;
}
.eas-cta-banner a.eas-cta-btn-outline:hover {
  background: rgba(255,255,255,.1) !important;
}

/* ---------- HERO TAGS ---------- */
.eas-page-hero-tags {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: .6rem !important;
  margin-top: 1rem !important;
}
.eas-page-hero-tag {
  color: #fff !important;
  background: rgba(255,255,255,.15) !important;
  font-size: .8rem !important;
  font-weight: 600 !important;
  padding: .3rem .8rem !important;
  border-radius: 20px !important;
  border: 1px solid rgba(255,255,255,.25) !important;
}

/* ---------- CAREER HEADERS ---------- */
.eas-career-header {
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
  margin-bottom: 1.5rem !important;
  flex-wrap: wrap !important;
}
.eas-career-badge {
  background: var(--eas-primary) !important;
  color: #fff !important;
  font-size: .85rem !important;
  font-weight: 800 !important;
  padding: .4rem .9rem !important;
  border-radius: 8px !important;
  text-transform: uppercase !important;
  letter-spacing: .05em !important;
  white-space: nowrap !important;
}
.eas-career-badge.eas-career-badge--purple {
  background: #8e44ad !important;
}
.eas-career-header h2 {
  font-size: 1.8rem !important;
  font-weight: 800 !important;
  color: var(--eas-text) !important;
  margin: 0 !important;
}

/* ---------- COMPETENCY CARDS ---------- */
.eas-competency-card {
  background: #fff !important;
  border: 1px solid #d5dfe9 !important;
  border-radius: 16px !important;
  padding: 1.75rem !important;
  height: 100% !important;
  box-sizing: border-box !important;
}
.eas-competency-card-header {
  display: flex !important;
  align-items: center !important;
  gap: .75rem !important;
  padding-bottom: .85rem !important;
  border-bottom: 2px solid #e8f0fa !important;
  margin-bottom: 1rem !important;
}
.eas-competency-card-icon {
  font-size: 1.5rem !important;
  line-height: 1 !important;
}
.eas-competency-card-title {
  font-size: .82rem !important;
  font-weight: 700 !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
  color: var(--eas-primary) !important;
  margin: 0 !important;
}
.eas-competency-card-title.eas-competency-card-title--purple {
  color: #8e44ad !important;
}
.eas-competency-card ol,
.eas-competency-card ul {
  margin: 0 !important;
  padding-left: 1.25rem !important;
  display: flex !important;
  flex-direction: column !important;
  gap: .65rem !important;
}
.eas-competency-card li {
  font-size: .88rem !important;
  color: var(--eas-muted) !important;
  line-height: 1.55 !important;
}
.eas-competency-card li strong {
  color: var(--eas-text) !important;
}

/* ---------- HOMEPAGE UTILITIES ---------- */
.eas-about-paragraph {
  color: #5b6979 !important;
  line-height: 1.75 !important;
  font-size: .97rem !important;
  margin-bottom: 1.75rem !important;
}
.eas-text-center {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* ---------- CUSTOM GRID COLUMNS ---------- */
.eas-two-columns {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 3rem !important;
  margin-bottom: 2rem !important;
}
.eas-three-columns {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 2rem !important;
  margin-bottom: 2rem !important;
}
.eas-column {
  display: flex !important;
  flex-direction: column !important;
}
@media (max-width: 900px) {
  .eas-three-columns {
    grid-template-columns: 1fr 1fr !important;
  }
}
@media (max-width: 768px) {
  .eas-two-columns {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  .eas-three-columns {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
}

/* ---------- YEAR DIVIDER ---------- */
.eas-year-divider {
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
  margin-bottom: 2.5rem !important;
  margin-top: 1.5rem !important;
}
.eas-year-badge {
  background: var(--eas-primary) !important;
  color: #fff !important;
  font-size: .85rem !important;
  font-weight: 800 !important;
  padding: .4rem .9rem !important;
  border-radius: 8px !important;
  white-space: nowrap !important;
  margin: 0 !important;
}
.eas-year-line {
  height: 2px !important;
  background: var(--eas-border) !important;
  flex: 1 !important;
}

/* ---------- TABLE TOTAL ROW EXTENSION ---------- */
.eas-table-total-row span:first-child,
.eas-table-total-row p:first-child {
  font-weight: 800 !important;
  color: var(--eas-text) !important;
}
.eas-table-total-row span:last-child,
.eas-table-total-row p:last-child {
  font-weight: 800 !important;
  color: var(--eas-primary) !important;
  font-size: 1.05rem !important;
}
.eas-table-total-row p {
  margin: 0 !important;
}

/* ---------- COMPETENCY CARD ICON AS PARAGRAPH ---------- */
p.eas-competency-card-icon {
  font-size: 1.5rem !important;
  line-height: 1 !important;
  margin: 0 !important;
}

/* ---------- GUTENBERG EDITOR COMPATIBILITY ---------- */
.editor-styles-wrapper .eas-stats-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 1.25rem !important;
  margin-bottom: 3rem !important;
}
@media (max-width: 900px) {
  .editor-styles-wrapper .eas-stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 640px) {
  .editor-styles-wrapper .eas-stats-grid {
    grid-template-columns: 1fr !important;
  }
}

.editor-styles-wrapper .eas-two-columns {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 3rem !important;
  margin-bottom: 2rem !important;
}
.editor-styles-wrapper .eas-three-columns {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 2rem !important;
  margin-bottom: 2rem !important;
}

.editor-styles-wrapper .eas-stats-card--center {
  background: #fff !important;
  border: 1px solid #d5dfe9 !important;
  border-radius: 14px !important;
  padding: 1.25rem !important;
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  height: 100% !important;
  min-height: 120px !important;
  box-sizing: border-box !important;
}
.editor-styles-wrapper .eas-stats-card--center p {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.2 !important;
}
.editor-styles-wrapper .eas-stats-card--center p:first-child {
  font-size: 2rem !important;
  font-weight: 800 !important;
  color: var(--eas-primary) !important;
  margin-bottom: .25rem !important;
  line-height: 1.1 !important;
}
.editor-styles-wrapper .eas-stats-card--center p:last-child {
  font-size: .78rem !important;
  font-weight: 700 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  color: var(--eas-muted) !important;
  line-height: 1.3 !important;
}

/* Fix title padding and weight inside editor */
.editor-styles-wrapper .eas-page-hero-inner {
  max-width: var(--eas-max-wide) !important;
  margin: 0 auto !important;
  padding: 0 clamp(1.5rem,4vw,3rem) !important;
  box-sizing: border-box !important;
}
.editor-styles-wrapper .eas-page-hero-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem) !important;
  font-weight: 800 !important;
  margin: .5rem 0 .75rem !important;
  color: #ffffff !important;
  line-height: 1.25 !important;
}
.editor-styles-wrapper .eas-page-hero-desc {
  font-size: 1rem !important;
  max-width: 560px !important;
  line-height: 1.6 !important;
  color: rgba(255,255,255,.78) !important;
  margin: 0 !important;
}

/* ---------- SUBJECT ITEM CARDS (REDESIGN ORIENTACION) ---------- */
.eas-subjects-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
  gap: 1.25rem !important;
  margin-bottom: 2.5rem !important;
}
.editor-styles-wrapper .eas-subjects-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 1.25rem !important;
  margin-bottom: 2.5rem !important;
}
@media (max-width: 900px) {
  .editor-styles-wrapper .eas-subjects-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 640px) {
  .editor-styles-wrapper .eas-subjects-grid {
    grid-template-columns: 1fr !important;
  }
}

.eas-subject-item-card {
  background: #f6f9ff !important;
  border: 1px solid #d5dfe9 !important;
  border-radius: 12px !important;
  padding: 1.15rem !important;
  box-sizing: border-box !important;
}
.eas-subject-item-card p:first-child {
  font-size: .98rem !important;
  font-weight: 700 !important;
  color: var(--eas-text) !important;
  margin: 0 0 .4rem !important;
}
.eas-subject-item-card p:last-child {
  font-size: .84rem !important;
  color: var(--eas-muted) !important;
  margin: 0 !important;
  line-height: 1.55 !important;
}

/* ---------- GUTEBNERG COLUMNS CARD COMPATIBILITY ---------- */
.wp-block-column.eas-stats-card--center {
  background: #fff !important;
  border: 1px solid #d5dfe9 !important;
  border-radius: 14px !important;
  padding: 1.25rem !important;
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  height: 100% !important;
  min-height: 120px !important;
  box-sizing: border-box !important;
}
.wp-block-column.eas-stats-card--center p {
  margin: 0 !important;
  padding: 0 !important;
}
.wp-block-column.eas-stats-card--center p:first-child {
  font-size: 2rem !important;
  font-weight: 800 !important;
  color: var(--eas-primary) !important;
  margin-bottom: .25rem !important;
  line-height: 1.1 !important;
}
.wp-block-column.eas-stats-card--center p:last-child {
  font-size: .78rem !important;
  font-weight: 700 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  color: var(--eas-muted) !important;
  line-height: 1.3 !important;
}

.wp-block-column.eas-subject-item-card {
  background: #f6f9ff !important;
  border: 1px solid #d5dfe9 !important;
  border-radius: 12px !important;
  padding: 1.15rem !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  height: 100% !important;
}
.wp-block-column.eas-subject-item-card p {
  margin: 0 !important;
}
.wp-block-column.eas-subject-item-card p:first-child {
  font-size: .98rem !important;
  font-weight: 700 !important;
  color: var(--eas-text) !important;
  margin: 0 0 .4rem !important;
}
.wp-block-column.eas-subject-item-card p:last-child {
  font-size: .84rem !important;
  color: var(--eas-muted) !important;
  margin: 0 !important;
  line-height: 1.55 !important;
}

.wp-block-column.eas-subject-card {
  background: #fff !important;
  border: 1px solid #d5dfe9 !important;
  border-radius: 14px !important;
  padding: 1.25rem !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  height: 100% !important;
  box-sizing: border-box !important;
}
.wp-block-column.eas-subject-card h4 {
  font-size: .95rem !important;
  font-weight: 700 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  color: var(--eas-primary) !important;
  margin: 0 0 .5rem !important;
}
.wp-block-column.eas-subject-card p {
  font-size: .9rem !important;
  color: var(--eas-muted) !important;
  line-height: 1.65 !important;
  margin: 0 !important;
}

/* ---------- ALIGNWIDE SECTION LAYOUT ---------- */
.alignwide.eas-section,
.editor-styles-wrapper .alignwide.eas-section {
  max-width: var(--eas-max-wide) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  width: 100% !important;
  padding: clamp(2rem,4vw,3.5rem) clamp(1.5rem,4vw,3rem) !important;
  box-sizing: border-box !important;
}

/* ---------- SUBJECT ITEM CARDS LABELS & DIVIDERS SPACING ---------- */
.eas-section .eas-year-divider,
.editor-styles-wrapper .eas-section .eas-year-divider {
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
  margin-top: 2rem !important;
  margin-bottom: 1rem !important;
}
.eas-section .eas-table-total-row,
.editor-styles-wrapper .eas-section .eas-table-total-row {
  margin-top: 1.5rem !important;
  margin-bottom: 0 !important;
}
.eas-section p.eas-stats-card-label,
.editor-styles-wrapper .eas-section p.eas-stats-card-label {
  margin: 2.25rem 0 0.75rem !important;
}
.eas-section .eas-year-divider + p.eas-stats-card-label,
.editor-styles-wrapper .eas-section .eas-year-divider + p.eas-stats-card-label {
  margin-top: 0.5rem !important;
}

/* ---------- GUTENBERG COLUMNS LAYOUT & WIDTH FORCING ---------- */
.eas-section .wp-block-columns,
.editor-styles-wrapper .eas-section .wp-block-columns {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 1.25rem !important; /* Mobile/default gap */
  margin-top: 0 !important;
  margin-bottom: 1.5rem !important;
  justify-content: flex-start !important;
}

@media (min-width: 782px) {
  .eas-section .wp-block-columns,
  .editor-styles-wrapper .eas-section .wp-block-columns {
    gap: 3rem !important; /* Desktop gap */
    flex-wrap: nowrap !important;
  }
  .wp-block-column.eas-subject-item-card,
  .editor-styles-wrapper .wp-block-column.eas-subject-item-card {
    flex: 0 0 calc(33.33% - 2rem) !important;
    max-width: calc(33.33% - 2rem) !important;
  }
  .wp-block-column.eas-subject-card,
  .editor-styles-wrapper .wp-block-column.eas-subject-card {
    flex: 0 0 calc(33.33% - 2rem) !important;
    max-width: calc(33.33% - 2rem) !important;
  }
}

/* ---------- RESET GUTENBERG LAYOUT FLOW INTRUSIVE MARGINS ---------- */
.eas-section .wp-block-columns > .wp-block-column,
.editor-styles-wrapper .eas-section .wp-block-columns > .wp-block-column {
  margin-top: 0 !important;
  margin-block-start: 0 !important;
  margin-bottom: 0 !important;
  margin-block-end: 0 !important;
}

.eas-three-columns > .eas-column,
.eas-two-columns > .eas-column,
.editor-styles-wrapper .eas-three-columns > .eas-column,
.editor-styles-wrapper .eas-two-columns > .eas-column {
  margin-top: 0 !important;
  margin-block-start: 0 !important;
  margin-bottom: 0 !important;
  margin-block-end: 0 !important;
}


.wp-block-column.eas-subject-item-card p,
.editor-styles-wrapper .wp-block-column.eas-subject-item-card p {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}
.wp-block-column.eas-subject-item-card p:first-child,
.editor-styles-wrapper .wp-block-column.eas-subject-item-card p:first-child {
  margin-bottom: 0.4rem !important;
  margin-block-end: 0.4rem !important;
}

.wp-block-column.eas-stats-card--center p,
.editor-styles-wrapper .wp-block-column.eas-stats-card--center p {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}
.wp-block-column.eas-stats-card--center p:first-child,
.editor-styles-wrapper .wp-block-column.eas-stats-card--center p:first-child {
  margin-bottom: 0.25rem !important;
  margin-block-end: 0.25rem !important;
}

.wp-block-column.eas-subject-card p,
.editor-styles-wrapper .wp-block-column.eas-subject-card p {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}

p.eas-stats-card-icon {
  margin: 0 !important;
}

/* Anular márgenes superiores intrusivos de Gutenberg en todos nuestros contenedores flex/grid */
.eas-stats-grid > *,
.eas-download-grid > *,
.eas-two-columns > *,
.eas-three-columns > *,
.eas-subjects-grid > *,
.editor-styles-wrapper .eas-stats-grid > *,
.editor-styles-wrapper .eas-download-grid > *,
.editor-styles-wrapper .eas-two-columns > *,
.editor-styles-wrapper .eas-three-columns > *,
.editor-styles-wrapper .eas-subjects-grid > * {
  margin-top: 0 !important;
  margin-block-start: 0 !important;
}

/* ═══════════════════════════════════════════════════════════
   FAQ — Preguntas Frecuentes (ID 505)
   ═══════════════════════════════════════════════════════════ */
.eas-faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 3rem;
}
.eas-faq-list.wp-block-group,
.editor-styles-wrapper .eas-faq-list.wp-block-group {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.eas-faq-item {
  background: #fff;
  border: 1px solid #d5dfe9;
  border-radius: 14px;
  padding: 1.5rem;
}
.eas-faq-item.wp-block-group,
.editor-styles-wrapper .eas-faq-item.wp-block-group {
  background: #fff;
  border: 1px solid #d5dfe9;
  border-radius: 14px;
  padding: 1.5rem;
}
p.eas-faq-question,
h3.eas-faq-question {
  font-size: 1.05rem;
  font-weight: 800;
  color: #132035;
  margin: 0 0 0.65rem !important;
}
p.eas-faq-answer {
  font-size: 0.92rem;
  color: #5b6979;
  line-height: 1.65;
  margin: 0 0 0.5rem !important;
}
.eas-faq-item > * {
  margin-top: 0 !important;
  margin-block-start: 0 !important;
}
.eas-cta-links {
  margin-bottom: 3.5rem;
}
.eas-cta-links p {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 0 !important;
}
.eas-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  padding: 0.85rem 1.75rem;
  border-radius: 10px;
  text-decoration: none;
  font-size: 0.95rem;
}
.eas-btn-primary {
  background: #0054ab;
  color: #fff !important;
}
.eas-btn-primary:hover { background: #003f82; }
.eas-btn-secondary {
  background: #fff;
  border: 1px solid #d5dfe9;
  color: #132035 !important;
}
.eas-btn-secondary:hover { background: #f0f4fa; }

/* ═══════════════════════════════════════════════════════════
   Proyectos Productivos Integradores (ID 2710)
   ═══════════════════════════════════════════════════════════ */
.eas-ppi-year {
  margin-bottom: 3rem;
}
.eas-ppi-year-header {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #d5dfe9;
  padding-bottom: 0.75rem;
}
.eas-ppi-year-header.wp-block-group,
.editor-styles-wrapper .eas-ppi-year-header.wp-block-group {
  flex-direction: row;
  flex-wrap: nowrap;
}
p.eas-ppi-year-badge {
  display: inline-block;
  background: #0054ab;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 0.4rem 0.9rem;
  border-radius: 8px;
  white-space: nowrap;
  margin: 0 !important;
  flex-shrink: 0;
}
p.eas-ppi-year-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #132035;
  margin: 0 !important;
}
.eas-project-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.eas-project-grid.wp-block-group,
.editor-styles-wrapper .eas-project-grid.wp-block-group {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.eas-project-card {
  background: #fff;
  border: 1px solid #d5dfe9;
  border-radius: 14px;
  padding: 1.5rem;
}
.eas-project-card.wp-block-group,
.editor-styles-wrapper .eas-project-card.wp-block-group {
  background: #fff;
  border: 1px solid #d5dfe9;
  border-radius: 14px;
  padding: 1.5rem;
}
p.eas-project-card-icon {
  font-size: 1.8rem;
  margin: 0 0 0.5rem !important;
  line-height: 1;
}
.eas-project-card-title.wp-block-heading,
h3.eas-project-card-title {
  font-size: 1rem;
  font-weight: 800;
  color: #132035;
  margin: 0 0 0.75rem !important;
}
p.eas-project-card-focus-label,
p.eas-project-card-content-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0054ab;
  margin: 0 0 0.4rem !important;
}
p.eas-project-card-focus {
  font-size: 0.9rem;
  color: #5b6979;
  line-height: 1.65;
  margin: 0 0 0.75rem !important;
}
p.eas-project-card-content {
  font-size: 0.88rem;
  color: #5b6979;
  line-height: 1.6;
  margin: 0 !important;
}
.eas-project-grid > *,
.eas-ppi-year-header > * {
  margin-top: 0 !important;
  margin-block-start: 0 !important;
}

/* Stats grid para PPI (números de distribución de carga) */
.eas-stats-grid.wp-block-group,
.editor-styles-wrapper .eas-stats-grid.wp-block-group {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
  margin-bottom: 3rem;
}
.eas-stats-card {
  background: #fff;
  border: 1px solid #d5dfe9;
  border-radius: 14px;
  padding: 1.25rem;
  text-align: center;
}
p.eas-stats-card-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: #0054ab;
  margin: 0 0 0.25rem !important;
}
p.eas-stats-card-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5b6979;
  margin: 0 !important;
}
.eas-stats-grid > *,
.editor-styles-wrapper .eas-stats-grid > * {
  margin-top: 0 !important;
  margin-block-start: 0 !important;
}

/* ═══════════════════════════════════════════════════════════
   Contacto — tarjeta con cuerpo (ID 2697)
   ═══════════════════════════════════════════════════════════ */
.eas-contact-card.wp-block-group,
.editor-styles-wrapper .eas-contact-card.wp-block-group {
  display: flex !important;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.75rem;
}
p.eas-contact-card-icon {
  font-size: 1.5rem;
  margin: 0 !important;
  flex-shrink: 0;
  line-height: 1.2;
}
.eas-contact-card-body {
  flex: 1;
}
.eas-contact-card-body > *,
.editor-styles-wrapper .eas-contact-card-body > * {
  margin-top: 0 !important;
  margin-block-start: 0 !important;
}
.eas-contact-card > *,
.editor-styles-wrapper .eas-contact-card > * {
  margin-top: 0 !important;
  margin-block-start: 0 !important;
}

/* ═══════════════════════════════════════════════════════════
   CTA Banner (shared pattern across pages)
   ═══════════════════════════════════════════════════════════ */
.eas-cta-banner.wp-block-group,
.editor-styles-wrapper .eas-cta-banner.wp-block-group {
  background: linear-gradient(120deg, #071a30 0%, #0054ab 100%);
  border-radius: 16px;
  padding: 2rem 2.5rem;
  display: flex !important;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
  color: #fff;
}
.eas-cta-banner h3,
.eas-cta-banner p {
  color: #fff !important;
  margin: 0 !important;
}
.eas-cta-banner-text {
  flex: 1;
}
p.eas-cta-banner-action {
  flex-shrink: 0;
}
.eas-cta-banner > *,
.eas-cta-banner-text > *,
.editor-styles-wrapper .eas-cta-banner > *,
.editor-styles-wrapper .eas-cta-banner-text > * {
  margin-top: 0 !important;
  margin-block-start: 0 !important;
}

/* Inscripción — action card icon */
p.eas-action-card-icon {
  font-size: 2rem;
  margin: 0 0 0.5rem !important;
  line-height: 1;
}

/* ═══════════════════════════════════════════════════════════
   Info cards (Libre Deuda, Inasistencias) — Lote 5
   ═══════════════════════════════════════════════════════════ */
.eas-info-card-list.wp-block-group,
.editor-styles-wrapper .eas-info-card-list.wp-block-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.eas-info-card {
  background: #fff;
  border: 1px solid #d5dfe9;
  border-radius: 10px;
  padding: 0.9rem 1rem;
}
.eas-info-card.wp-block-group,
.editor-styles-wrapper .eas-info-card.wp-block-group {
  display: flex !important;
  flex-direction: row;
  gap: 0.75rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #d5dfe9;
  border-radius: 10px;
  padding: 0.9rem 1rem;
}
p.eas-info-card-icon {
  font-size: 1.3rem;
  margin: 0 !important;
  flex-shrink: 0;
  line-height: 1.2;
}
.eas-info-card-body,
.editor-styles-wrapper .eas-info-card-body {
  flex: 1;
}
p.eas-info-card-title {
  font-weight: 700;
  color: #132035;
  font-size: 0.9rem;
  margin: 0 0 0.15rem !important;
}
.eas-info-card > *,
.eas-info-card-body > *,
.editor-styles-wrapper .eas-info-card > *,
.editor-styles-wrapper .eas-info-card-body > * {
  margin-top: 0 !important;
  margin-block-start: 0 !important;
}

/* Steps list (Inasistencias) */
.eas-steps-list.wp-block-group,
.editor-styles-wrapper .eas-steps-list.wp-block-group {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1rem;
}
.eas-step-item.wp-block-group,
.editor-styles-wrapper .eas-step-item.wp-block-group {
  display: flex !important;
  flex-direction: row;
  gap: 0.85rem;
  align-items: flex-start;
}
p.eas-step-number {
  background: #0054ab;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin: 0 !important;
  line-height: 28px;
  text-align: center;
}
p.eas-step-text {
  color: #5b6979;
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0 !important;
}
.eas-step-item > *,
.editor-styles-wrapper .eas-step-item > * {
  margin-top: 0 !important;
  margin-block-start: 0 !important;
}

/* Form container */
.eas-form-container.wp-block-group,
.editor-styles-wrapper .eas-form-container.wp-block-group {
  background: #fff;
  border: 1px solid #d5dfe9;
  border-radius: 16px;
  padding: 2rem;
}
p.eas-form-title {
  font-weight: 700;
  color: #132035;
  font-size: 1.05rem;
  margin: 0 0 1.25rem !important;
}
.eas-form-container > *,
.editor-styles-wrapper .eas-form-container > * {
  margin-top: 0 !important;
  margin-block-start: 0 !important;
}

/* Schedule placeholder (Horarios) */
.eas-schedule-placeholder.wp-block-group,
.editor-styles-wrapper .eas-schedule-placeholder.wp-block-group {
  border: 1px solid #d5dfe9;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 2.5rem;
  padding: 2rem;
  text-align: center;
  background: #fff;
  color: #5b6979;
}
.eas-schedule-placeholder > *,
.editor-styles-wrapper .eas-schedule-placeholder > * {
  margin-top: 0 !important;
  margin-block-start: 0 !important;
}

/* Reset margin for info card list children */
.eas-info-card-list > *,
.eas-steps-list > *,
.editor-styles-wrapper .eas-info-card-list > *,
.editor-styles-wrapper .eas-steps-list > * {
  margin-top: 0 !important;
  margin-block-start: 0 !important;
}



/* ==========================================================================
   Lote 7: Career Plan Page Styles (Técnico Químico & Técnico Agropecuario)
   ========================================================================== */

/* Spec Grid (Ficha técnica) */
.eas-spec-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 1rem !important;
  margin-bottom: 2rem !important;
}
@media (max-width: 900px) {
  .eas-spec-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 600px) {
  .eas-spec-grid {
    grid-template-columns: 1fr !important;
  }
}

.eas-spec-card {
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
  background: #fff !important;
  border: 1px solid #d5dfe9 !important;
  border-radius: 12px !important;
  padding: 1rem 1.25rem !important;
}
.eas-spec-card-icon {
  font-size: 1.5rem !important;
  margin: 0 !important;
  line-height: 1 !important;
}
.eas-spec-card-body {
  flex: 1 !important;
}
.eas-spec-card-label {
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  color: var(--eas-muted) !important;
  margin: 0 0 0.15rem !important;
}
.eas-spec-card-value {
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  color: var(--eas-text) !important;
  margin: 0 !important;
}

/* Distribution Grid (Carga horaria) */
.eas-dist-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 1.25rem !important;
  margin-bottom: 2.5rem !important;
}
@media (max-width: 768px) {
  .eas-dist-grid {
    grid-template-columns: 1fr !important;
  }
}
.eas-dist-card {
  background: #fff !important;
  border: 1px solid #d5dfe9 !important;
  border-left: 5px solid var(--accent) !important;
  border-radius: 12px !important;
  padding: 1.5rem !important;
  box-shadow: 0 4px 12px rgba(10,30,60,0.03) !important;
}
.eas-dist-pct {
  font-size: 2rem !important;
  font-weight: 800 !important;
  margin: 0 0 0.25rem !important;
  line-height: 1.1 !important;
}
.eas-dist-field {
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  color: var(--eas-text) !important;
  margin: 0 0 0.5rem !important;
}
.eas-dist-hours {
  font-size: 0.85rem !important;
  color: var(--eas-muted) !important;
  margin: 0 !important;
}

/* Competence Grid (Áreas de competencia) */
.eas-competence-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 1.5rem !important;
  margin-bottom: 2.5rem !important;
}
@media (max-width: 768px) {
  .eas-competence-grid {
    grid-template-columns: 1fr !important;
  }
}
.eas-competence-card {
  background: #fff !important;
  border: 1px solid #d5dfe9 !important;
  border-radius: 16px !important;
  padding: 2rem !important;
  box-shadow: 0 4px 12px rgba(10,30,60,0.03) !important;
}
.eas-competence-icon {
  font-size: 2rem !important;
  margin: 0 0 0.75rem !important;
  line-height: 1 !important;
}
.eas-competence-title {
  font-size: 1.1rem !important;
  font-weight: 800 !important;
  color: var(--eas-text) !important;
  margin: 0 0 0.6rem !important;
}
.eas-competence-desc {
  font-size: 0.92rem !important;
  color: var(--eas-muted) !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}

/* Capability Grid (Habilidades de alto nivel) */
.eas-capability-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 1.5rem !important;
  margin-bottom: 2.5rem !important;
}
@media (max-width: 768px) {
  .eas-capability-grid {
    grid-template-columns: 1fr !important;
  }
}
.eas-capability-card {
  background: #fff !important;
  border: 1px solid #d5dfe9 !important;
  border-radius: 16px !important;
  padding: 2rem !important;
  box-shadow: 0 4px 12px rgba(10,30,60,0.03) !important;
}
.eas-capability-title {
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  color: var(--eas-text) !important;
  margin: 0 0 1rem !important;
}
.eas-capability-list {
  margin: 0 !important;
  padding-left: 1.25rem !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.65rem !important;
}
.eas-capability-list li {
  font-size: 0.88rem !important;
  color: var(--eas-muted) !important;
  line-height: 1.5 !important;
}

/* Industry/PPI Module Grid */
.eas-industry-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 1.5rem !important;
  margin-bottom: 2.5rem !important;
}
@media (max-width: 900px) {
  .eas-industry-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 600px) {
  .eas-industry-grid {
    grid-template-columns: 1fr !important;
  }
}
.eas-industry-card {
  background: #fff !important;
  border: 1px solid #d5dfe9 !important;
  border-radius: 16px !important;
  padding: 1.75rem !important;
  box-shadow: 0 4px 12px rgba(10,30,60,0.03) !important;
}
.eas-industry-card-header {
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  margin-bottom: 1rem !important;
  border-bottom: 2px solid #f0f4f8 !important;
  padding-bottom: 0.75rem !important;
}
.eas-industry-card-emoji {
  font-size: 1.75rem !important;
  margin: 0 !important;
  line-height: 1 !important;
}
.eas-industry-card-title {
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  color: var(--eas-text) !important;
  margin: 0 !important;
}
.eas-industry-focus-label {
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  color: var(--eas-primary) !important;
  margin: 0 0 0.25rem !important;
}
.eas-industry-focus-desc {
  font-size: 0.88rem !important;
  color: var(--eas-muted) !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}

/* Culmination Grid (Prácticas + Trabajo Final) */
.eas-culmination-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 1.5rem !important;
  margin-bottom: 2.5rem !important;
}
@media (max-width: 768px) {
  .eas-culmination-grid {
    grid-template-columns: 1fr !important;
  }
}
.eas-culmination-card {
  background: #fff !important;
  border: 1px solid #d5dfe9 !important;
  border-radius: 16px !important;
  padding: 2rem !important;
  box-shadow: 0 4px 12px rgba(10,30,60,0.03) !important;
}

/* Job Grid (Salida laboral) */
.eas-job-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 1.5rem !important;
  margin-bottom: 2.5rem !important;
}
@media (max-width: 768px) {
  .eas-job-grid {
    grid-template-columns: 1fr !important;
  }
}
.eas-job-card {
  background: #fff !important;
  border: 1px solid #d5dfe9 !important;
  border-radius: 14px !important;
  padding: 1.5rem !important;
  box-shadow: 0 4px 12px rgba(10,30,60,0.03) !important;
}
.eas-job-card-title {
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: var(--eas-text) !important;
  margin: 0 0 0.5rem !important;
}
.eas-job-card-desc {
  font-size: 0.88rem !important;
  color: var(--eas-muted) !important;
  line-height: 1.55 !important;
  margin: 0 !important;
}

/* Requirements Box & Grid */
.eas-requirements-box {
  background: #fff !important;
  border: 1px solid #d5dfe9 !important;
  border-radius: 16px !important;
  padding: 2rem !important;
  margin-bottom: 2.5rem !important;
  box-shadow: 0 4px 12px rgba(10,30,60,0.03) !important;
}
.eas-req-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 1.5rem !important;
  margin-top: 1.5rem !important;
}
@media (max-width: 768px) {
  .eas-req-grid {
    grid-template-columns: 1fr !important;
  }
}
.eas-req-item {
  display: flex !important;
  gap: 0.85rem !important;
  align-items: flex-start !important;
}
.eas-req-icon {
  font-size: 1.6rem !important;
  margin: 0 !important;
  line-height: 1.2 !important;
}
.eas-req-body {
  flex: 1 !important;
}
.eas-req-title {
  font-weight: 700 !important;
  color: var(--eas-text) !important;
  font-size: 0.95rem !important;
  margin: 0 0 0.25rem !important;
}
.eas-req-desc {
  font-size: 0.88rem !important;
  color: var(--eas-muted) !important;
  line-height: 1.5 !important;
  margin: 0 !important;
}

/* Year Divider Badge support */
.eas-year-divider {
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
  margin-top: 2rem !important;
  margin-bottom: 1rem !important;
}
.eas-year-badge {
  display: inline-block !important;
  background: var(--eas-primary) !important;
  color: #fff !important;
  font-size: .85rem !important;
  font-weight: 800 !important;
  padding: .4rem .9rem !important;
  border-radius: 8px !important;
  text-transform: uppercase !important;
  letter-spacing: .05em !important;
  white-space: nowrap !important;
}
.eas-total-row-label {
  font-weight: 800 !important;
  color: var(--eas-text) !important;
}
.eas-total-row-value {
  font-weight: 800 !important;
  color: var(--eas-primary) !important;
}

/* ==========================================================================
   Page Grid Custom Columns (2+2 layout)
   ========================================================================== */

/* Competency lists on Habilitaciones (2707) */
.eas-download-grid-2col,
.editor-styles-wrapper .eas-download-grid-2col {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 1.5rem !important;
  margin-bottom: 2rem !important;
}
@media (max-width: 768px) {
  .eas-download-grid-2col,
  .editor-styles-wrapper .eas-download-grid-2col {
    grid-template-columns: 1fr !important;
  }
}

/* Proyectos Productivos Integradores (2710) */
.eas-project-grid-2col,
.editor-styles-wrapper .eas-project-grid-2col {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 1.25rem !important;
}
@media (max-width: 768px) {
  .eas-project-grid-2col,
  .editor-styles-wrapper .eas-project-grid-2col {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================================
   Home Page Native Block Support Custom Styles
   ========================================================================== */

.eas-home-plan-card-blue {
  border-top: 5px solid #0054ab !important;
  padding: 1.5rem !important;
  background: #fff !important;
  border-left: 1px solid #d5dfe9 !important;
  border-right: 1px solid #d5dfe9 !important;
  border-bottom: 1px solid #d5dfe9 !important;
  border-radius: 14px !important;
}
.eas-home-plan-card-red {
  border-top: 5px solid #e21e24 !important;
  padding: 1.5rem !important;
  background: #fff !important;
  border-left: 1px solid #d5dfe9 !important;
  border-right: 1px solid #d5dfe9 !important;
  border-bottom: 1px solid #d5dfe9 !important;
  border-radius: 14px !important;
}
.eas-home-cycles-box {
  background: #fff !important;
  border: 1px solid #d5dfe9 !important;
  border-radius: 16px !important;
  padding: 2rem !important;
  margin-top: 1.25rem !important;
}
.eas-home-news-alert-wrapper {
  max-width: 1360px !important;
  margin: 0 auto !important;
  padding: 2rem clamp(1.5rem, 4vw, 3rem) 3rem !important;
}
.eas-access-card {
  position: relative !important;
}
.eas-access-card a {
  color: #fff !important;
  text-decoration: none !important;
}
.eas-access-card a::after {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 1 !important;
}

/* ==========================================================================
   Trámites Cards (2644)
   ========================================================================== */

.eas-premium-card,
.editor-styles-wrapper .eas-premium-card {
  background: #fff !important;
  border: 1px solid #d5dfe9 !important;
  border-radius: 16px !important;
  padding: 2.25rem !important;
  height: 100% !important;
  box-sizing: border-box !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
  box-shadow: 0 4px 12px rgba(10,30,60,0.05) !important;
}
.eas-premium-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 8px 24px rgba(10,30,60,0.08) !important;
}

/* ==========================================================================
   Correcciones de Alineación de Altura de Grillas & Clases Gutenberg Auxiliares
   ========================================================================== */

/* Anular márgenes superiores intrusivos de Gutenberg en todos nuestros contenedores flex/grid */
.eas-stats-grid > *,
.eas-download-grid > *,
.eas-two-columns > *,
.eas-three-columns > *,
.eas-subjects-grid > *,
.eas-spec-grid > *,
.eas-dist-grid > *,
.eas-competence-grid > *,
.eas-capability-grid > *,
.eas-industry-grid > *,
.eas-culmination-grid > *,
.eas-job-grid > *,
.eas-req-grid > *,
.eas-download-grid-2col > *,
.eas-project-grid-2col > *,
.eas-project-grid > *,
.eas-career-grid > *,
.eas-pillars-grid > *,
.eas-news-grid > *,
.eas-access-grid > *,
.eas-action-card-grid > *,
.editor-styles-wrapper .eas-stats-grid > *,
.editor-styles-wrapper .eas-download-grid > *,
.editor-styles-wrapper .eas-two-columns > *,
.editor-styles-wrapper .eas-three-columns > *,
.editor-styles-wrapper .eas-subjects-grid > *,
.editor-styles-wrapper .eas-spec-grid > *,
.editor-styles-wrapper .eas-dist-grid > *,
.editor-styles-wrapper .eas-competence-grid > *,
.editor-styles-wrapper .eas-capability-grid > *,
.editor-styles-wrapper .eas-industry-grid > *,
.editor-styles-wrapper .eas-culmination-grid > *,
.editor-styles-wrapper .eas-job-grid > *,
.editor-styles-wrapper .eas-req-grid > *,
.editor-styles-wrapper .eas-download-grid-2col > *,
.editor-styles-wrapper .eas-project-grid-2col > *,
.editor-styles-wrapper .eas-project-grid > *,
.editor-styles-wrapper .eas-career-grid > *,
.editor-styles-wrapper .eas-pillars-grid > *,
.editor-styles-wrapper .eas-news-grid > *,
.editor-styles-wrapper .eas-access-grid > *,
.editor-styles-wrapper .eas-action-card-grid > * {
  margin-top: 0 !important;
  margin-block-start: 0 !important;
}

/* Subclases para el acento de color de distribución de carga sin estilos en línea */
.eas-dist-card--blue {
  --accent: #0054ab !important;
}
.eas-dist-card--blue .eas-dist-pct {
  color: #0054ab !important;
}

.eas-dist-card--medium-blue {
  --accent: #2e7cc6 !important;
}
.eas-dist-card--medium-blue .eas-dist-pct {
  color: #2e7cc6 !important;
}

.eas-dist-card--light-blue {
  --accent: #5b9bd5 !important;
}
.eas-dist-card--light-blue .eas-dist-pct {
  color: #5b9bd5 !important;
}

.eas-dist-card--gray-blue {
  --accent: #8aa5c8 !important;
}
.eas-dist-card--gray-blue .eas-dist-pct {
  color: #8aa5c8 !important;
}

/* Clases auxiliares para la portada (Página 7) */
.eas-career-tag--orange {
  background: #fff8eb !important;
  color: #7a5200 !important;
}

.eas-home-plan-card-title {
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  margin-bottom: 0.5rem !important;
}
.eas-home-plan-card-blue .eas-home-plan-card-title {
  color: var(--eas-primary) !important;
}
.eas-home-plan-card-red .eas-home-plan-card-title {
  color: #c0392b !important;
}

.eas-home-plan-card-blue ul,
.eas-home-plan-card-red ul {
  margin: 0 !important;
  padding-left: 1.1rem !important;
  color: #5b6979 !important;
  font-size: 0.9rem !important;
  line-height: 1.8 !important;
}

.eas-home-cycles-box p.eas-cycle-label {
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  margin-bottom: 0.4rem !important;
  color: var(--eas-primary) !important;
}
.eas-home-cycles-box h4 {
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  color: #132035 !important;
  margin: 0 0 .5rem !important;
}
.eas-home-cycles-box p.eas-cycle-desc {
  color: #5b6979 !important;
  font-size: 0.93rem !important;
  line-height: 1.65 !important;
  margin: 0 !important;
}

/* Estilos de botones dentro de la portada en Gutenberg */
.eas-hero-cover .wp-block-button__link {
  border-radius: 10px !important;
  background-color: var(--eas-secondary) !important;
  color: #ffffff !important;
  padding: .8rem 1.75rem !important;
  font-weight: 700 !important;
  border: none !important;
  text-decoration: none !important;
  box-shadow: 0 4px 16px rgba(226,30,36,.35);
  transition: background .2s, transform .2s, box-shadow .2s;
}
.eas-hero-cover .wp-block-button__link:hover {
  background-color: var(--eas-secondary-dk) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(226,30,36,.45);
}

.eas-hero-cover .wp-block-button.is-style-outline .wp-block-button__link {
  background-color: transparent !important;
  color: #ffffff !important;
  border: 2px solid rgba(255,255,255,.6) !important;
  padding: .75rem 1.6rem !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}
.eas-hero-cover .wp-block-button.is-style-outline .wp-block-button__link:hover {
  border-color: #ffffff !important;
  background-color: rgba(255,255,255,.1) !important;
  transform: translateY(-2px);
}

/* Estilos de noticias para la página de archivo (Página 8) */
.eas-archive-query .wp-block-post-template li,
.eas-archive-query ul.wp-block-post-template li {
  background: var(--eas-surface);
  border-radius: 16px;
  border: 1px solid var(--eas-border);
  overflow: hidden;
  box-shadow: var(--eas-shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
}
.eas-archive-query .wp-block-post-template li:hover {
  transform: translateY(-4px);
  box-shadow: var(--eas-shadow);
}
.eas-archive-query .wp-block-post-featured-image img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}
.eas-archive-query .eas-news-card-body {
  padding: .9rem 1rem 1rem !important;
}
.eas-archive-query .wp-block-post-terms {
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  color: #0054ab !important;
  margin-bottom: 0.25rem !important;
}
.eas-archive-query .wp-block-post-terms a {
  color: #0054ab !important;
  text-decoration: none !important;
}
.eas-archive-query .wp-block-post-date {
  font-size: 0.78rem !important;
  color: #8a9ab0 !important;
  margin-bottom: 0.4rem !important;
}
.eas-archive-query .wp-block-post-title {
  font-size: 0.98rem !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  margin-top: 0 !important;
  margin-bottom: 0.5rem !important;
}
.eas-archive-query .wp-block-post-title a {
  color: #132035 !important;
  text-decoration: none !important;
}
.eas-archive-query .wp-block-post-title a:hover {
  color: var(--eas-primary) !important;
}
.eas-archive-query .wp-block-post-excerpt p {
  font-size: 0.875rem !important;
  color: #5b6979 !important;
  line-height: 1.55 !important;
  margin: 0 !important;
}
.eas-archive-query .wp-block-post-excerpt__more-link {
  color: var(--eas-primary) !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

/* Alineación de iconos de carreras al par del título y aumento de tamaño */
.eas-career-card-header {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 0.85rem !important;
  margin-bottom: 1.1rem !important;
}
.eas-career-card-header .eas-career-icon {
  font-size: 2.2rem !important;
  margin: 0 !important;
  line-height: 1 !important;
  flex-shrink: 0 !important;
}
.eas-career-card-header h3 {
  margin: 0 !important;
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  color: var(--eas-text) !important;
  line-height: 1.25 !important;
}

/* Padding global y diseño de las tarjetas de últimas noticias */
.eas-news-card-body {
  padding: 1.25rem !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.5rem !important;
  flex: 1 !important;
  box-sizing: border-box !important;
}
.eas-news-card-body > * {
  margin: 0 !important;
  padding: 0 !important;
}
.eas-news-card-body .wp-block-post-title {
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  margin-bottom: 0 !important;
}
.eas-news-card-body .wp-block-post-date {
  font-size: 0.8rem !important;
  color: var(--eas-muted) !important;
}
.eas-news-card-body .wp-block-post-excerpt p {
  font-size: 0.9rem !important;
  color: var(--eas-muted) !important;
  line-height: 1.55 !important;
}

/* Asegurar dimensiones y centrado de los iconos en la sección de vida escolar (Pilares) */
.eas-pillar-card .eas-pillar-icon {
  width: 64px !important;
  height: 64px !important;
  font-size: 1.9rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
}

/* Asegurar visualización correcta de los tags en línea de las carreras */
.eas-career-tag {
  display: inline-block !important;
}

/* Altura igual en tarjetas de carreras con columnas nativas */
.eas-career-grid,
.editor-styles-wrapper .eas-career-grid {
  display: flex !important;
}
.eas-career-grid .wp-block-column,
.editor-styles-wrapper .eas-career-grid .wp-block-column {
  display: flex !important;
  flex-direction: column !important;
}
.eas-career-grid .eas-career-card,
.editor-styles-wrapper .eas-career-grid .eas-career-card {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}
.eas-career-card > p:last-child {
  margin-top: auto !important;
}

/* Reset de márgenes en bucle de noticias */
.wp-block-post-template > li,
.wp-block-post-template li,
.eas-news-query ul.wp-block-post-template li,
.editor-styles-wrapper .wp-block-post-template li {
  margin-top: 0 !important;
  margin-block-start: 0 !important;
  margin-bottom: 0 !important;
  margin-block-end: 0 !important;
}


/* Limit hero content width to 50% left to keep school image visible on the right */
.eas-hero-content-left {
  max-width: 52% !important;
  width: 52% !important;
  margin-left: 0 !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
}

/* Ensure proper responsiveness */
@media (max-width: 992px) {
  .eas-hero-content-left {
    max-width: 100% !important;
    width: 100% !important;
  }
}


/* Layout columns using Gutenberg wp:group blocks */
.eas-aviso-transicion-inner {
  display: flex !important;
  gap: 1rem !important;
  align-items: flex-start !important;
}
.eas-plans-2col {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 1.25rem !important;
  width: 100% !important;
  margin-top: 1.5rem !important;
}
.eas-cycles-2col {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 2rem !important;
  width: 100% !important;
  margin-top: 1.25rem !important;
}
.eas-career-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 1.75rem !important;
  width: 100% !important;
  margin-top: 2.5rem !important;
}
@media (max-width: 992px) {
  .eas-plans-2col,
  .eas-cycles-2col,
  .eas-career-grid {
    grid-template-columns: 1fr !important;
  }
}


/* ==========================================================================
   EAS UNT — Estilos adicionales para estabilidad y compatibilidad con bloques
   ========================================================================== */

/* Estilos de alerta de transición curricular */
.eas-aviso-transicion {
  border: 1px solid #f0c040 !important;
  border-left: 5px solid #d4a017 !important;
  border-radius: 12px !important;
  padding: 1.1rem 1.4rem !important;
  margin-bottom: 2rem !important;
  background-color: #fffbeb !important;
}
.eas-aviso-transicion-title {
  font-weight: 700 !important;
  color: #7a5200 !important;
  margin: 0 0 .35rem !important;
  font-size: .95rem !important;
}
.eas-aviso-transicion-text {
  color: #8a6300 !important;
  font-size: .875rem !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}

/* Tarjetas de planes de estudio */
.eas-plan-card-agro,
.eas-plan-card-quim {
  border: 1px solid #d5dfe9 !important;
  border-radius: 14px !important;
  padding: 1.5rem !important;
  background-color: #ffffff !important;
}
.eas-plan-card-agro {
  border-top: 5px solid #0054ab !important;
}
.eas-plan-card-quim {
  border-top: 5px solid #e21e24 !important;
}
.eas-plan-card-title-agro {
  color: #0054ab !important;
  font-size: .75rem !important;
  font-weight: 700 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  margin-bottom: .5rem !important;
}
.eas-plan-card-title-quim {
  color: #c0392b !important;
  font-size: .75rem !important;
  font-weight: 700 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  margin-bottom: .5rem !important;
}

/* Estilos de ciclos de estudios */
.eas-cycles-2col {
  border: 1px solid #d5dfe9 !important;
  border-radius: 16px !important;
  padding: 2rem !important;
  background-color: #ffffff !important;
}
.eas-cycle-label {
  color: #0054ab !important;
  font-size: .78rem !important;
  font-weight: 700 !important;
  letter-spacing: .1em !important;
  text-transform: uppercase !important;
  margin-bottom: .4rem !important;
}
.eas-cycles-2col h4 {
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  color: #132035 !important;
  margin-bottom: .5rem !important;
}
.eas-cycles-2col p {
  color: #5b6979 !important;
  font-size: .93rem !important;
  line-height: 1.65 !important;
  margin: 0 !important;
}

/* Centrado de botones en CTA final */
.eas-cta-section .eas-hero-actions {
  justify-content: center !important;
}


/* ==========================================================================
   EAS UNT — Estilos adicionales para soporte de columnas nativas sin atributos
   ========================================================================== */

/* Ancho del Hero Cover en columnas nativas sin atributos */
.wp-block-cover .wp-block-columns .wp-block-column:first-child {
  flex-basis: 60% !important;
  max-width: 60% !important;
}
.wp-block-cover .wp-block-columns .wp-block-column:last-child {
  flex-basis: 40% !important;
  max-width: 40% !important;
}
@media (max-width: 992px) {
  .wp-block-cover .wp-block-columns .wp-block-column:first-child,
  .wp-block-cover .wp-block-columns .wp-block-column:last-child {
    flex-basis: 100% !important;
    max-width: 100% !important;
  }
}

/* Columnas de la sección Sobre Nosotros sin atributos */
.eas-about-section .wp-block-columns .wp-block-column {
  flex-basis: 50% !important;
  max-width: 50% !important;
}
@media (max-width: 768px) {
  .eas-about-section .wp-block-columns {
    flex-direction: column !important;
  }
  .eas-about-section .wp-block-columns .wp-block-column {
    flex-basis: 100% !important;
    max-width: 100% !important;
  }
}

/* Espaciado inferior de la sección de noticias */
.eas-news-section .eas-section {
  padding-bottom: 0 !important;
}

/* Clicabilidad del card de acceso directo completo */
.eas-access-card {
  position: relative;
}
.eas-access-card .eas-access-card-title a {
  color: #ffffff !important;
  text-decoration: none !important;
}
.eas-access-card .eas-access-card-title a::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
}


/* ==========================================================================
   EAS UNT — Corrección de alineaciones, fuentes y botones
   ========================================================================== */

/* Achicar fuente de título del Hero a 3 renglones en escritorio */
.eas-hero-title {
  font-size: clamp(1.8rem, 3.8vw, 2.9rem) !important;
  line-height: 1.15 !important;
}

/* Alinear contenedor del Hero hacia la izquierda (alineado con logo) */
.wp-block-cover .wp-block-columns {
  margin-left: 0 !important;
  margin-right: auto !important;
  width: 100% !important;
}

/* Alinear verticalmente los elementos de la banda de estadísticas */
.eas-stats-inner {
  align-items: center !important;
}
.eas-stat {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
}

/* Evitar que las etiquetas de las carreras se desordenen o salten de renglón */
.eas-career-meta {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 0.5rem !important;
  align-items: center !important;
  margin-bottom: 1.75rem !important;
}
.eas-career-tag {
  margin: 0 !important;
  font-size: 0.72rem !important;
  padding: 0.25rem 0.6rem !important;
  white-space: nowrap !important;
}
@media (max-width: 576px) {
  .eas-career-meta {
    flex-wrap: wrap !important;
  }
}

/* Alineación exacta al tope de las tarjetas de planes de estudio y misma altura */
.eas-plans-2col {
  align-items: stretch !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 1.25rem !important;
}
.eas-plans-2col > * {
  margin-top: 0 !important;
  margin-block-start: 0 !important;
  margin-bottom: 0 !important;
  margin-block-end: 0 !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}
.eas-plan-card-agro,
.eas-plan-card-quim {
  flex: 1 !important;
}

/* Alineación exacta al tope de los bloques de ciclos de estudios */
.eas-cycles-2col {
  align-items: stretch !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 2rem !important;
}
.eas-cycles-2col > * {
  margin-top: 0 !important;
  margin-block-start: 0 !important;
  margin-bottom: 0 !important;
  margin-block-end: 0 !important;
}

/* ==========================================================================
   GLOBAL CUSTOM BUTTONS RESTRUCTURING (Safe and clean page-wide styling)
   ========================================================================== */

/* 1. Reset wrapper element properties to prevent double margin, padding, border or background */
.wp-block-button.eas-btn-primary,
.wp-block-button.eas-btn-outline,
.eas-cta-section .wp-block-button,
.wp-block-cover .wp-block-button {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  display: inline-block !important;
  height: auto !important;
  width: auto !important;
}

/* 2. Reset native block list spacing inside button wraps */
.wp-block-buttons > .wp-block-button {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* 3. Force button list alignment side-by-side (row layout) on desktop cover/cta */
.wp-block-cover .wp-block-buttons,
.eas-cta-section .wp-block-buttons {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  gap: 1.25rem !important;
  justify-content: flex-start !important;
  align-items: center !important;
}

.eas-cta-section .wp-block-buttons {
  justify-content: center !important;
}

/* 4. Unified primary button anchor stylesheet */
.wp-block-button.eas-btn-primary .wp-block-button__link,
.wp-block-button.eas-btn-primary a.wp-element-button,
.eas-cta-section .eas-btn-primary a,
.wp-block-cover .eas-btn-primary a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: var(--eas-secondary) !important;
  background: var(--eas-secondary) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 0.975rem !important;
  padding: 0.8rem 1.75rem !important;
  border-radius: 10px !important;
  border: none !important;
  box-shadow: 0 4px 16px rgba(226,30,36,0.35) !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s !important;
  height: 48px !important;
  line-height: 1 !important;
}

.wp-block-button.eas-btn-primary .wp-block-button__link:hover,
.wp-block-button.eas-btn-primary a.wp-element-button:hover,
.eas-cta-section .eas-btn-primary a:hover,
.wp-block-cover .eas-btn-primary a:hover {
  background-color: var(--eas-secondary-dk) !important;
  background: var(--eas-secondary-dk) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(226,30,36,0.45) !important;
  color: #ffffff !important;
}

/* 5. Unified outline button anchor stylesheet */
.wp-block-button.eas-btn-outline .wp-block-button__link,
.wp-block-button.eas-btn-outline a.wp-element-button,
.eas-cta-section .eas-btn-outline a,
.wp-block-cover .eas-btn-outline a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: transparent !important;
  background: transparent !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  font-size: 0.975rem !important;
  padding: 0.75rem 1.6rem !important;
  border-radius: 10px !important;
  border: 2px solid rgba(255,255,255,0.6) !important;
  box-shadow: none !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
  transition: border-color 0.2s, background 0.2s, transform 0.2s, color 0.2s !important;
  height: 48px !important;
  line-height: 1 !important;
  box-sizing: border-box !important;
}

.wp-block-button.eas-btn-outline .wp-block-button__link:hover,
.wp-block-button.eas-btn-outline a.wp-element-button:hover,
.eas-cta-section .eas-btn-outline a:hover,
.wp-block-cover .eas-btn-outline a:hover {
  border-color: #ffffff !important;
  background-color: rgba(255,255,255,0.1) !important;
  background: rgba(255,255,255,0.1) !important;
  transform: translateY(-2px) !important;
  color: #ffffff !important;
}
