/* ==========================================================
   DIPLOMATURA EN CONSEJERÍA BÍBLICA — Stylesheet
   Prefijo: dip-
   Scope:   .page-template-page-consejeria .dip-page
   Estilos compartidos (inner, section, hero, eyebrow, fade-up,
   botones) → ibg-base.css
   ========================================================== */

.dip-page {
  --dip-orange: #FF5C1B;
  --dip-teal: #024555;
  --dip-ink: #3E3838;
  --dip-body: #555;
  --dip-muted: #777;
  --dip-line: #e8e0d8;
  --dip-soft: #FFF0EB;
}

/* El tema corta palabras con guiones ("di-ciembre"); acá no */
.page-template-page-consejeria .dip-page,
.page-template-page-consejeria .dip-page * {
  -webkit-hyphens: manual;
  hyphens: manual;
}

/* ----------------------------------------------------------
   Tipografía — blindaje contra Elementor Kit
---------------------------------------------------------- */
.page-template-page-consejeria .dip-page h1.ibg-hero-title {
  font-size: 46px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.06;
  color: #fff;
  margin: 0 0 0.85rem;
  text-transform: none !important;
}

.page-template-page-consejeria .dip-page h2.ibg-section-title,
.page-template-page-consejeria .dip-page h2.dip-contact-title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--dip-ink);
  margin: 0 0 0.5rem;
  text-transform: none !important;
}

.page-template-page-consejeria .dip-page h3.dip-step-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--dip-ink);
  margin: 0 0 0.4rem;
  text-transform: none !important;
}

.dip-page .ibg-hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.78);
}

.dip-page .dip-dot--off { background: #999; }

/* ----------------------------------------------------------
   Hero — foto de la cursada
---------------------------------------------------------- */
.dip-page .dip-hero {
  background-position: center 40%;
}

.dip-page .dip-hero .ibg-hero-eyebrow { color: #FF7A45; }
.dip-page .dip-hero .ibg-hero-eyebrow-line { background: #FF7A45; }

.dip-page .dip-hero .ibg-hero-overlay {
  background:
    linear-gradient(90deg, rgba(2,20,28,0.78) 0%, rgba(2,20,28,0.45) 45%, rgba(2,20,28,0) 75%),
    linear-gradient(to top, rgba(2,20,28,0.9) 0%, rgba(2,30,40,0.45) 50%, rgba(2,30,40,0.2) 100%);
}

/* ----------------------------------------------------------
   Alianza — bloque co-branded (azul y dorado del seminario)
---------------------------------------------------------- */
.dip-page {
  --dip-navy: #0B1D3A;
  --dip-navy-2: #10295A;
  --dip-gold: #D4B06A;
  --dip-gold-soft: rgba(212,176,106,0.35);
}

.dip-alliance {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 4rem;
  color: #fff;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 55% at 50% 0%, rgba(212,176,106,0.16), transparent 70%),
    radial-gradient(ellipse 80% 60% at 50% 120%, rgba(16,41,90,0.9), transparent 70%),
    linear-gradient(180deg, var(--dip-navy) 0%, #081631 100%);
}

.dip-alliance::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 0.5px solid var(--dip-gold-soft);
  border-radius: 18px;
  pointer-events: none;
}

.dip-lockup {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.dip-lockup-mark {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 1px var(--dip-gold-soft), 0 18px 40px rgba(0,0,0,0.35);
}

.dip-lockup-mark--ibg { background: #FF5C1B; }
.dip-lockup-mark--ibg img { width: 64px; height: auto; }
.dip-lockup-mark--sbs { background: transparent; box-shadow: 0 18px 40px rgba(0,0,0,0.35); }
.dip-lockup-mark--sbs img { width: 112px; height: auto; display: block; }

.dip-lockup-x {
  font-size: 22px;
  font-weight: 300;
  color: var(--dip-gold);
  line-height: 1;
}

.dip-alliance-head {
  max-width: 640px;
  margin: 0 auto;
}

.dip-alliance-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dip-gold);
  margin-bottom: 0.9rem;
}

.dip-alliance-eyebrow::before,
.dip-alliance-eyebrow::after {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--dip-gold);
}

.page-template-page-consejeria .dip-page h2.dip-alliance-title {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: #fff;
  margin: 0 0 1rem;
  text-transform: none !important;
}

.dip-page .dip-alliance-lead {
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,0.75);
}

.dip-page .dip-alliance-lead strong { color: #fff; font-weight: 600; }

.dip-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin: 2.5rem 0 0;
  text-align: left;
}

.dip-pillar {
  padding: 1.35rem 1.3rem 1.4rem;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 0.5px solid rgba(212,176,106,0.28);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.dip-pillar-kicker {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dip-gold);
  margin-bottom: 0.55rem;
}

.page-template-page-consejeria .dip-page h3.dip-pillar-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  margin: 0 0 0.4rem;
  text-transform: none !important;
}

.dip-page .dip-pillar-desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255,255,255,0.68);
}

.page-template-page-consejeria .dip-page .dip-motto {
  margin: 2.5rem auto 0;
  padding: 0;
  border: none;
}

.page-template-page-consejeria .dip-page .dip-motto blockquote {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 24px;
  letter-spacing: 0.02em;
  color: var(--dip-gold);
  quotes: none;
}

.page-template-page-consejeria .dip-page .dip-motto blockquote::before,
.page-template-page-consejeria .dip-page .dip-motto blockquote::after { content: none; }

.dip-page .dip-motto figcaption {
  margin-top: 0.4rem;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}

.dip-page .dip-alliance-link { margin: 1.5rem 0 0; }

.dip-page .dip-alliance-link a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid var(--dip-gold-soft);
  transition: color 0.15s, border-color 0.15s;
}

.dip-page .dip-alliance-link a:hover { color: var(--dip-gold); border-color: var(--dip-gold); }

/* ----------------------------------------------------------
   Para quién es
---------------------------------------------------------- */
.dip-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 2rem;
}

.dip-card {
  background: #fff;
  border: 0.5px solid #e8e8e8;
  border-radius: 14px;
  padding: 1.4rem 1.3rem 1.5rem;
  transition: border-color 0.2s, transform 0.2s;
}

.dip-card:hover { border-color: #FFCDB8; transform: translateY(-2px); }

.page-template-page-consejeria .dip-page h3.dip-card-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--dip-ink);
  margin: 0.9rem 0 0.4rem;
  text-transform: none !important;
}

.dip-page .dip-card-desc {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--dip-body);
}

/* ----------------------------------------------------------
   Qué vas a aprender
---------------------------------------------------------- */
.dip-learn {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.page-template-page-consejeria .dip-page .dip-learn-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.page-template-page-consejeria .dip-page .dip-learn-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin: 0;
  padding: 0.95rem 1.1rem;
  background: #fff;
  border: 0.5px solid #e8e8e8;
  border-radius: 12px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--dip-ink);
}

.dip-learn-check {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--dip-soft);
  color: var(--dip-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dip-learn-check svg { width: 15px; height: 15px; }

/* ----------------------------------------------------------
   Quién enseña
---------------------------------------------------------- */
.dip-teacher {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  margin-top: 1.75rem;
  padding: 1.75rem;
  background: #fff;
  border: 0.5px solid #e8e8e8;
  border-radius: 16px;
}

.dip-teacher-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--dip-teal);
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px var(--dip-soft);
}

.dip-page img.dip-teacher-avatar--photo {
  object-fit: cover;
  background: #eee;
  max-width: none;
}

.page-template-page-consejeria .dip-page h3.dip-teacher-name {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--dip-ink);
  margin: 0;
  text-transform: none !important;
}

.dip-page .dip-teacher-role {
  margin: 0.15rem 0 0.75rem;
  font-size: 14px;
  font-weight: 600;
  color: var(--dip-orange);
}

.dip-page .dip-teacher-bio {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  color: var(--dip-body);
}

/* ----------------------------------------------------------
   Datos clave
---------------------------------------------------------- */
.dip-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-top: 2rem;
}

.dip-fact {
  background: #fff;
  border: 0.5px solid #e8e8e8;
  border-radius: 14px;
  padding: 1.1rem 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.dip-fact-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--dip-orange);
}

.dip-fact-value {
  font-size: 17px;
  font-weight: 700;
  color: var(--dip-ink);
  line-height: 1.3;
}

.dip-fact-sub {
  font-size: 14px;
  color: var(--dip-muted);
  line-height: 1.45;
}

.dip-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin-top: 1rem;
  padding: 1rem 1.2rem;
  background: var(--dip-soft);
  border: 0.5px solid #FFCDB8;
  border-radius: 14px;
}

.dip-notice-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dip-page .dip-notice p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--dip-body);
}

.dip-page .dip-notice strong { color: var(--dip-ink); }

/* ----------------------------------------------------------
   Toggle compartido (módulos + FAQ) — reset contra el tema
---------------------------------------------------------- */
.page-template-page-consejeria .dip-page .dip-toggle {
  appearance: none;
  -webkit-appearance: none;
  background: transparent !important;
  background-image: none !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  margin: 0 !important;
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.4rem !important;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  text-transform: none !important;
  letter-spacing: normal !important;
  transition: background-color 0.15s;
}

.page-template-page-consejeria .dip-page .dip-toggle:hover {
  background-color: #fdfaf8 !important;
}

.page-template-page-consejeria .dip-page .dip-toggle:focus-visible {
  outline: 2px solid var(--dip-orange) !important;
  outline-offset: -2px !important;
  border-radius: 14px !important;
}

.dip-chevron {
  flex-shrink: 0;
  color: #bbb;
  display: flex;
  line-height: 0;
  pointer-events: none;
  transition: transform 0.3s ease, color 0.2s;
}

.dip-open > .dip-toggle .dip-chevron {
  transform: rotate(180deg);
  color: var(--dip-orange);
}

.dip-collapse {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s ease;
}

.dip-open > .dip-collapse { grid-template-rows: 1fr; }

.dip-collapse-inner { overflow: hidden; }

/* ----------------------------------------------------------
   Plan de estudios — timeline
---------------------------------------------------------- */
.page-template-page-consejeria .dip-page .dip-modules {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.dip-modules::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 22px;
  bottom: 22px;
  width: 1.5px;
  background: #FFCDB8;
}

.page-template-page-consejeria .dip-page .dip-module {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.dip-module-num {
  position: relative;
  z-index: 1;
  width: 36px;
  height: 36px;
  margin-top: 1rem;
  border-radius: 50%;
  background: var(--dip-orange);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px #F5F4F0;
}

.dip-module-card {
  flex: 1;
  min-width: 0;
  background: #fff;
  border: 0.5px solid #e8e8e8;
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.dip-module-card.dip-open {
  border-color: #FFCDB8;
  box-shadow: 0 4px 24px rgba(255,92,27,0.07);
}

.dip-module-head {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.dip-page .dip-module-meta {
  font-size: 13px;
  font-weight: 600;
  color: var(--dip-muted);
  line-height: 1.45;
}

.dip-page .dip-module-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--dip-ink);
  line-height: 1.3;
}

.page-template-page-consejeria .dip-page .dip-topics {
  list-style: none;
  margin: 0;
  padding: 0.85rem 1.4rem 1.2rem;
  border-top: 0.5px solid #f0ede8;
  display: grid;
  gap: 0.45rem;
}

.page-template-page-consejeria .dip-page .dip-topics li {
  position: relative;
  margin: 0;
  padding-left: 1.1rem;
  font-size: 16px;
  line-height: 1.6;
  color: var(--dip-body);
}

.dip-topics li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--dip-orange);
}

/* ----------------------------------------------------------
   Inversión
---------------------------------------------------------- */
.dip-pay {
  margin-top: 2rem;
  border: 0.5px solid #e8e8e8;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.dip-pay-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.4rem;
  border-top: 0.5px solid #f0ede8;
}

.dip-pay-row:first-child { border-top: none; }

.dip-pay-row--first { background: #fffaf7; }

.dip-pay-what {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.dip-page .dip-pay-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--dip-ink);
  line-height: 1.4;
}

.dip-page .dip-pay-when {
  font-size: 14px;
  color: var(--dip-muted);
  line-height: 1.45;
}

.dip-page .dip-pay-amount {
  font-size: 17px;
  font-weight: 700;
  color: var(--dip-ink);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.dip-pay-row--total {
  background: var(--dip-teal);
  border-top: none;
}

.dip-page .dip-pay-row--total .dip-pay-title,
.dip-page .dip-pay-row--total .dip-pay-amount { color: #fff; }

.dip-page .dip-pay-row--total .dip-pay-amount { font-size: 20px; }

.dip-page .dip-pay-note {
  margin: 1rem 0 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--dip-muted);
}

/* ----------------------------------------------------------
   Inscripción — pasos
---------------------------------------------------------- */
.page-template-page-consejeria .dip-page .dip-steps {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.page-template-page-consejeria .dip-page .dip-step {
  margin: 0;
  background: #fff;
  border: 0.5px solid #e8e8e8;
  border-radius: 14px;
  padding: 1.3rem 1.3rem 1.4rem;
}

.dip-step-num {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--dip-soft);
  color: var(--dip-orange);
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
}

.dip-page .dip-step-desc {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--dip-body);
}

.dip-page .dip-step-desc a {
  color: var(--dip-orange);
  font-weight: 600;
  text-decoration: none;
  word-break: break-word;
}

.dip-page .dip-step-desc a:hover { text-decoration: underline; }

.dip-cta-row {
  margin-top: 1.75rem;
  display: flex;
  justify-content: center;
}

.page-template-page-consejeria .dip-page .dip-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  background: var(--dip-orange);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.15s, transform 0.1s;
}

.page-template-page-consejeria .dip-page .dip-btn:hover { opacity: 0.9; transform: translateY(-1px); color: #fff; }

/* ----------------------------------------------------------
   FAQ
---------------------------------------------------------- */
.dip-faq {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.dip-faq-item {
  background: #fff;
  border: 0.5px solid #e8e8e8;
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.dip-faq-item.dip-open {
  border-color: #FFCDB8;
  box-shadow: 0 4px 24px rgba(255,92,27,0.07);
}

.dip-page .dip-faq-q {
  font-size: 16px;
  font-weight: 700;
  color: var(--dip-ink);
  line-height: 1.4;
  transition: color 0.15s;
}

.dip-page .dip-toggle:hover .dip-faq-q { color: var(--dip-orange); }

.dip-page .dip-faq-a {
  margin: 0;
  padding: 0.85rem 1.4rem 1.3rem;
  font-size: 16px;
  line-height: 1.75;
  color: var(--dip-body);
  border-top: 0.5px solid #f0ede8;
}

/* ----------------------------------------------------------
   Contacto
---------------------------------------------------------- */
.dip-contact { text-align: center; }

.dip-contact-block {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.dip-contact-icon {
  width: 52px;
  height: 52px;
  background: var(--dip-soft);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.dip-page .dip-contact-desc {
  font-size: 16px;
  color: var(--dip-body);
  line-height: 1.7;
  margin: 0 0 1rem;
}

/* ----------------------------------------------------------
   Cierre
---------------------------------------------------------- */
.dip-final {
  padding: 4.5rem 0;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(ellipse 70% 80% at 50% 0%, rgba(255,92,27,0.22), transparent 70%),
    var(--dip-teal);
}

.dip-final-block {
  max-width: 600px;
  margin: 0 auto;
}

.page-template-page-consejeria .dip-page h2.dip-final-title {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #fff;
  margin: 0 0 0.75rem;
  text-transform: none !important;
}

.dip-page .dip-final-desc {
  margin: 0 0 1.75rem;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,0.75);
}

.dip-final-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.dip-page .dip-final-mail {
  margin: 1.25rem 0 0;
  font-size: 14px;
  color: rgba(255,255,255,0.55);
}

/* ----------------------------------------------------------
   Responsive
---------------------------------------------------------- */
@media (max-width: 860px) {
  .dip-facts { grid-template-columns: repeat(2, 1fr); }
  .dip-pillars, .dip-cards { grid-template-columns: 1fr; }
  .dip-learn { grid-template-columns: 1fr; gap: 1.5rem; }
  .page-template-page-consejeria .dip-page .dip-steps { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .page-template-page-consejeria .dip-page h1.ibg-hero-title { font-size: 34px; line-height: 1.1; }
  .page-template-page-consejeria .dip-page h2.ibg-section-title,
  .page-template-page-consejeria .dip-page h2.dip-contact-title { font-size: 24px; }
  .dip-page .ibg-hero-sub { font-size: 16px; }

  /* ibg-base oculta el badge en mobile; acá la fecha límite importa */
  .dip-page .ibg-hero-badge { display: inline-flex; margin-top: 1.25rem; }

  /* Hero móvil: crece con el contenido (base fija 520px y cortaba la etiqueta)
     y oscurece parejo, porque acá el texto ocupa todo el ancho de la foto. */
  .dip-page .dip-hero {
    height: auto;
    min-height: 520px;
    background-position: 62% center;
  }

  .dip-page .dip-hero .ibg-hero-content {
    padding-top: 2.75rem;
    padding-bottom: 2.5rem;
    gap: 0;
  }

  .dip-page .dip-hero .ibg-hero-overlay {
    background: linear-gradient(180deg, rgba(2,20,28,0.80) 0%, rgba(2,20,28,0.84) 45%, rgba(2,20,28,0.93) 100%);
  }

  .dip-page .dip-hero .ibg-hero-sub {
    color: rgba(255,255,255,0.88);
  }

  .dip-alliance { padding: 3.25rem 1.25rem 3rem; }
  .dip-alliance::before { inset: 8px; }
  .dip-lockup-mark { width: 84px; height: 84px; }
  .dip-lockup-mark--ibg img { width: 48px; }
  .dip-lockup-mark--sbs img { width: 84px; }
  .page-template-page-consejeria .dip-page h2.dip-alliance-title { font-size: 27px; }
  .page-template-page-consejeria .dip-page h2.dip-alliance-title br { display: none; }
  .dip-page .dip-alliance-lead { font-size: 16px; }
  .page-template-page-consejeria .dip-page .dip-motto blockquote { font-size: 21px; }

  .dip-teacher { flex-direction: column; gap: 1rem; padding: 1.35rem; }

  .dip-final { padding: 3.25rem 1.25rem; }
  .page-template-page-consejeria .dip-page h2.dip-final-title { font-size: 24px; }
  .dip-final-actions { flex-direction: column; }
  .dip-final-actions a { justify-content: center; }

  .dip-facts { grid-template-columns: 1fr; }

  .page-template-page-consejeria .dip-page .dip-toggle { padding: 1rem 1.15rem !important; }
  .dip-page .dip-module-title { font-size: 16px; }
  .page-template-page-consejeria .dip-page .dip-topics { padding: 0.75rem 1.15rem 1.1rem; }
  .dip-page .dip-faq-q { font-size: 15px; }
  .dip-page .dip-faq-a { padding: 0.75rem 1.15rem 1.1rem; font-size: 15px; }

  .dip-pay-row { padding: 0.9rem 1.15rem; }

  .page-template-page-consejeria .dip-page .dip-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .dip-collapse, .dip-chevron { transition: none; }
}
