/*
Theme Name: Opositando Agente
Theme URI: https://opositandoagente.local/
Author: Opositando Agente
Description: Tema hijo de Twenty Twenty-Five para Opositando Agente.
Requires at least: 6.7
Tested up to: 7.0
Requires PHP: 7.2
Version: 0.1.0
Template: twentytwentyfive
Text Domain: opositando-agente
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/*
 * Estilos propios del tema hijo.
 * Sincronizados con la web estatica de Opositando Agente.
 */
@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600..800&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f2f1ec;
  --ink: #171717;
  --muted: #5f625f;
  --line: #e4e1d8;
  --brand: #315f4d;
  --brand-dark: #203f34;
  --danger-soft: #fff4e2;
  --radius: 8px;
  --shadow: 0 18px 50px rgba(23, 23, 23, 0.08);
  --container: 1200px;
  --container-two: 1000px;
  --content-width: 1000px;
  --section: clamp(48px, 7vw, 60px);
  --gap: clamp(16px, 2vw, 28px);
  --font-body: "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-heading: "Fraunces", Georgia, "Times New Roman", Times, serif;
  font-family: var(--font-body);
}

/* Base */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-size: 1rem;
  line-height: 1.65;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(32px, 5vw, 52px);
}

h1 .text-brand {
  color: var(--brand);
}

h2 {
  max-width: 760px;
  font-size: clamp(25px, 4vw, 40px);
}

h3 {
  font-size: clamp(18px, 2.2vw, 22px);
}

p {
  margin: 0;
  color: var(--muted);
}

/* Layout */
.section {
  padding: var(--section) 0;
}

.section-two {
  padding: 0 0 var(--section) 0;
}

.section-two .container+.container {
  margin-top: var(--section);
}

.container {
  width: min(100% - 32px, var(--container-two));
  margin: 0 auto;
}

.grid {
  display: grid;
  gap: var(--gap);
}

.grid.two {
  grid-template-columns: repeat(2, 1fr);
  margin: 30px auto;
}

.grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 1fr);
  gap: var(--gap);
  align-items: end;
  margin-bottom: 28px;
}

.intro-media {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
  gap: clamp(24px, 4vw, 20px);
  align-items: center;
  margin-bottom: 28px;
}

.intro-media__copy p {
  margin-top: 22px;
}

.intro-media__image {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.intro-media__image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  display: block;
}

.soft-band {
  background: var(--surface-soft);
  border-block: 1px solid var(--line);
}

.lead {
  margin-top: 36px;
  max-width: var(--content-width);
}

.lead-two {
  margin-top: 30px;
}

section>.container>.eyebrow {
  display: flex;
  margin: 0 auto 36px;
}

/* Accessibility */
.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 20;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 16px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
}

.nav {
  width: min(100% - 32px, var(--container));
  padding: 20px 0;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(150px, 1fr) auto minmax(150px, 1fr);
  align-items: center;
  gap: 18px;
}

.brand {
  font-weight: 760;
  text-decoration: none;
  letter-spacing: 0;
  line-height: 1.1;
}

.brand span {
  display: block;
  color: var(--brand);
  font-size: 12px;
  font-weight: 650;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.nav-links a {
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--brand);
  background: transparent;
}

.nav-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 12px 30px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}

.nav-cta:hover {
  background: var(--brand-dark);
}

/* Heroes */
.hero,
.hero-two {
  position: relative;
  overflow-x: auto;
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
}

.hero {
  padding: clamp(32px, 6vw, 50px) 0 60px 0;
}

.hero-two {
  padding: clamp(32px, 6vw, 50px) 0;
}

.hero h1,
.hero .lead,
.hero-two h1,
.hero-two .lead {
  margin-inline: auto;
}

.hero .lead {
  max-width: 768px;
}

.hero-two h1 {
  font-size: clamp(24px, 3vw, 36px);
}

.hero-apuntes {
  text-align: left;
}

.hero-apuntes-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.6fr) minmax(280px, 0.40fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.hero-apuntes-copy h1,
.hero-apuntes-copy .lead {
  margin-inline: 0;
}

.hero-apuntes .hero-actions {
  justify-content: flex-start;
}

.hero-apuntes-list {
  margin: 24px 0 0;
}

.hero-apuntes-list li {
  color: var(--ink);
}

.hero-apuntes-list li::before {
  content: "✓";
  top: 0;
  width: auto;
  height: auto;
  border: 0;
  color: var(--brand);
  font-weight: 800;
}

.hero-apuntes-list li::after {
  content: none;
}

.hero-apuntes-media {
  margin: 0;
  justify-self: center;
  width: 100%;
  background: transparent;
}

.hero-apuntes-media img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 0 auto;
}

.hero .eyebrow {
  gap: 8px;
  margin-bottom: 42px;
}

.hero .eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 12px;
  margin: 42px 0 0 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-meta span,
.hero-meta a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-meta-separator {
  color: #c8c8c8;
}

.hero-meta-source {
  gap: 8px;
}

.hero-meta svg,
.button svg {
  flex: 0 0 auto;
}

.hero-meta svg {
  width: 16px;
  height: 16px;
}

.hero-meta a {
  text-underline-offset: 3px;
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 36px;
}

.hero-actions {
  justify-content: center;
}

.hero-cards {
  margin-top: 30px;
  text-align: left;
}

/* Components */
.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 32px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #edf3ef;
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow-two {
  background: var(--brand);
  color: var(--surface-soft);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid var(--brand);
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  background: var(--brand-dark);
  border-color: var(--brand-dark);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  border-color: var(--line);
}

.button.secondary:hover {
  background: var(--surface);
}

.inline-cta {
  margin-top: 22px;
}

.inline-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 20px;
  border: 1px solid var(--brand);
  border-radius: var(--radius);
  color: var(--surface);
  background: var(--brand);
  font-size: 16px;
  text-decoration: none;
}

.inline-cta a:hover {
  background: #edf3ef;
  color: var(--brand-dark);
  border-color: var(--brand-dark);
}

.stat,
.card,
.note,
.price-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.card {
  padding: 24px;
}

a.card {
  color: inherit;
  text-decoration: none;
}

a.card:hover {
  border-color: var(--brand);
  box-shadow: 0 14px 34px rgba(23, 23, 23, 0.07);
}

.card p,
.card li {
  font-size: 15px;
}

.card .kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.card h3+p {
  margin-top: 12px;
}

.full-width-card {
  margin-top: var(--gap);
}

.apuntes-pricing-grid {
  width: 100%;
  max-width: 1200px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.apuntes-pricing-card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto 1fr auto auto auto;
  gap: 14px;
  min-height: 510px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.apuntes-pricing-featured {
  border-color: var(--brand);
  box-shadow: 0 14px 28px rgba(23, 23, 23, 0.14);
}

.apuntes-badge {
  position: absolute;
  top: -10px;
  right: 30px;
  padding: 8px 12px;
  border-radius: 4px;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.apuntes-book-icon {
  width: 28px;
  height: 28px;
  background: var(--ink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 7v14'/%3E%3Cpath d='M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 7v14'/%3E%3Cpath d='M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.apuntes-pricing-card h3 {
  font-size: 24px;
}

.apuntes-pricing-subtitle {
  color: var(--muted);
  font-size: 17px;
}

.apuntes-feature-list {
  display: grid;
  align-content: start;
  gap: 10px;
  margin: 16px 0 8px;
  padding: 0;
  list-style: none;
}

.apuntes-feature-list li {
  position: relative;
  padding-left: 24px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.45;
}

.apuntes-feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25em;
  width: 14px;
  height: 14px;
  border: 1.5px solid var(--brand);
  border-radius: 50%;
}

.apuntes-feature-list li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.52em;
  width: 6px;
  height: 3px;
  border-left: 1.5px solid var(--brand);
  border-bottom: 1.5px solid var(--brand);
  transform: rotate(-45deg);
}

.apuntes-price {
  color: var(--ink);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.apuntes-price span {
  margin-right: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: line-through;
}

.apuntes-price strong {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  margin-left: 6px;
  padding: 3px 6px;
  border-radius: 4px;
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.apuntes-buy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 5px;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.apuntes-testimonials-grid {
  columns: 3 260px;
  column-gap: 20px;
}

.apuntes-testimonial-card {
  display: inline-block;
  width: 100%;
  margin: 0 0 20px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  break-inside: avoid;
}

.apuntes-testimonial-card p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
  font-style: italic;
}

.testimonial-author,
.testimonial-role {
  display: block;
}

.testimonial-author {
  color: var(--ink);
  font-weight: 800;
}

.testimonial-role {
  margin-top: 4px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
}

.apuntes-faq {
  max-width: var(--content-width);
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.faq-item+.faq-item {
  margin-top: 14px;
}

.faq-question-heading {
  margin: 0;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 20px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
}

.faq-question:hover,
.faq-question:focus-visible {
  color: var(--brand-dark);
}

.faq-icon {
  position: relative;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 3px;
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
  transition: transform 180ms ease;
}

.faq-icon::after {
  transform: rotate(90deg);
}

.faq-item.active .faq-icon::after {
  transform: rotate(0deg);
}

.faq-answer {
  padding: 0 20px 20px;
  color: var(--muted);
  line-height: 1.65;
}

.faq-answer p {
  margin: 0;
}

.faq-enhanced .faq-answer {
  height: auto;
  overflow: hidden;
  padding-bottom: 0;
  transition: height 220ms ease;
}

.faq-enhanced .faq-item.active .faq-answer {
  padding-bottom: 20px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: clamp(32px, 5vw, 54px);
}

.stat {
  padding: 18px;
}

.stat strong {
  display: block;
  color: var(--brand-dark);
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.45;
}

.price-card {
  padding: clamp(24px, 4vw, 40px);
  text-align: center;
}

.price-card strong {
  display: block;
  color: var(--brand-dark);
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1;
}

.price-card span {
  color: var(--muted);
  font-size: 14px;
}

.note {
  padding: 18px;
  background: var(--danger-soft);
  margin: 30px 0 0 0;
}

.table-wrap {
  display: grid;
  width: 100%;
  overflow-x: auto;
  border: 1px solid #eadcc3;
  border-radius: var(--radius);
}

.table-row {
  display: grid;
  min-width: var(--table-min-width, 620px);
  border-bottom: 1px solid #eadcc3;
}

.table-row:last-child {
  border-bottom: 0;
}

.table-row:nth-child(odd) {
  background: #fff8eb;
}

.table-row:nth-child(even) {
  background: #fdf1dc;
}

.table-head {
  background: #f7e7c9;
}

.table-row span {
  padding: 12px 14px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.table-row small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.table-head span {
  color: var(--ink);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.table-wrap-status {
  max-width: var(--content-width);
  margin: 30px auto 0;
}

.table-wrap-status .table-row {
  grid-template-columns: repeat(3, minmax(180px, 1fr));
}

.table-wrap-places {
  --table-min-width: 520px;
  max-width: var(--content-width);
  margin: 30px auto 0;
}

.table-wrap-places .table-row {
  grid-template-columns: minmax(260px, 1fr) minmax(260px, 1fr);
}

.table-wrap-examenes {
  margin: 30px auto 0;
}

.table-wrap-examenes .table-row {
  grid-template-columns: minmax(110px, 0.6fr) minmax(260px, 1.5fr) minmax(150px, 0.8fr) minmax(180px, 1fr);
}

.table-wrap-penalizacion {
  margin: 30px auto 0;
}

.table-wrap-penalizacion .table-row {
  grid-template-columns: repeat(4, minmax(130px, 1fr));
}

.table-wrap-practico {
  margin: 30px auto 0;
}

.table-wrap-practico .table-row {
  grid-template-columns: repeat(3, minmax(170px, 1fr));
}

.table-wrap-nota-final {
  margin: 30px auto 0;
}

.table-wrap-nota-final .table-row {
  grid-template-columns: repeat(3, minmax(170px, 1fr));
}

.table-wrap-reserva-nota {
  margin: 30px auto 0;
}

.table-wrap-reserva-nota .table-row {
  grid-template-columns: repeat(6, minmax(150px, 1fr));
}

.table-wrap-requisitos {
  --table-min-width: 620px;
  max-width: var(--content-width);
  margin: 30px auto 0;
}

.table-wrap-requisitos .table-row {
  grid-template-columns: minmax(150px, 0.45fr) minmax(360px, 1fr);
}

.table-wrap-salario-basico {
  --table-min-width: 620px;
  margin: 30px auto 0;
}

.table-wrap-salario-basico .table-row {
  grid-template-columns: repeat(3, minmax(150px, 1fr));
}

.table-wrap-salario-destino {
  --table-min-width: 720px;
  margin: 30px auto 0;
}

.table-wrap-salario-destino .table-row {
  grid-template-columns: repeat(4, minmax(145px, 1fr));
}

.table-wrap-salario-carrera,
.table-wrap-salario-total {
  --table-min-width: 900px;
  margin: 30px auto 0;
}

.table-wrap-salario-carrera .table-row,
.table-wrap-salario-total .table-row {
  grid-template-columns: repeat(5, minmax(150px, 1fr));
}

.table-wrap-status .table-row span,
.table-wrap-places .table-row span,
.table-wrap-salario-basico .table-row span,
.table-wrap-salario-destino .table-row span,
.table-wrap-salario-carrera .table-row span {
  white-space: nowrap;
}

.timeline {
  display: grid;
  gap: 12px;
  counter-reset: step;
}

.timeline li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: start;
  list-style: none;
  color: var(--muted);
}

.timeline li::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 13px;
  font-weight: 760;
}

.clean-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

.clean-list li {
  padding: 12px 0;
  color: var(--muted);
}

/* Forms */
.form {
  display: grid;
  gap: 14px;
  max-width: 680px;
}

.section-two .form {
  margin-inline: auto;
}

label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 12px 13px;
  color: var(--ink);
  font: inherit;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

/* Internal pages */
.content-page h2 {
  max-width: none;
  margin: 0 auto 36px;
  text-align: center;
  font-size: 24px;
}

.temario-tema {
  margin: 0 0 18px;
  color: var(--ink);
  line-height: 1.75;
  text-align: justify;
}

.tema-label {
  color: var(--brand);
  font-weight: 800;
}

.section-copy {
  max-width: var(--content-width);
  margin: -12px auto 22px;
  text-align: center;
}

.section-copy-two {
  max-width: var(--content-width);
  margin: 0 auto 22px;
  text-align: center;
}

.section-copy-three {
  max-width: var(--content-width);
  margin: 30px auto;
  text-align: center;
}

.section-copy-four {
  max-width: var(--content-width);
  margin: -12px auto 36px;
  text-align: center;
}

.salary-note {
  margin: 12px 0 22px;
}

.source-note {
  max-width: var(--content-width);
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.source-note a {
  color: var(--ink);
  font-weight: 700;
  text-underline-offset: 3px;
}

/* Footer */
.site-footer {
  padding: 36px 0;
  border-top: 1px solid var(--line);
  background: #f5f3ed;
}

.footer-inner {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

.footer-inner a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

/* Responsive */
@media (max-width: 920px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-apuntes-grid,
  .apuntes-pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid.four {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid.three,
  .section-head,
  .intro-media {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 1080px) {
  .nav {
    min-height: auto;
    align-items: flex-start;
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    grid-column: 1 / -1;
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .nav {
    padding: 14px 0;
  }

  .nav-cta {
    padding: 7px 11px;
    font-size: 13px;
  }

  .nav-links a {
    white-space: nowrap;
    padding: 7px 10px;
    font-size: 13px;
  }

  .hero,
  .hero-two {
    text-align: left;
  }

  .hero>.container>.eyebrow {
    display: none;
  }

  .hero h1,
  .hero .lead,
  .hero-two h1,
  .hero-two .lead {
    margin-inline: 0;
  }

  .hero-apuntes-grid,
  .apuntes-pricing-grid {
    grid-template-columns: 1fr;
  }

  .apuntes-pricing-card {
    min-height: auto;
  }

  .hero-meta,
  .hero-actions {
    justify-content: flex-start;
  }

  .temario-tema {
    text-align: left;
  }

  .content-page h2,
  .content-page .section-copy,
  .content-page .section-copy-two,
  .content-page .section-copy-three,
  .content-page .source-note,
  .content-page .note,
  .content-page .table-row span {
    text-align: left;
  }

  section>.container>.eyebrow {
    margin: 0 auto 36px 0;
  }

  .content-page .card .kicker {
    margin-right: auto;
    margin-left: auto;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat {
    text-align: center;
  }

  .grid.two,
  .grid.three {
    grid-template-columns: 1fr;
  }

  .clean-list {
    text-align: left;
  }

  .card {
    padding: 20px;
  }

  .footer-inner {
    flex-direction: column;
  }
}
/* Ajustes especificos de WordPress */
.home .entry-content.has-global-padding {
  padding-right: 0;
  padding-left: 0;
}

.home .entry-content > .wp-block-group:has(.hero) {
  width: 100%;
  max-width: none;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

.wp-block-site-title a:focus,
.wp-block-navigation .wp-block-navigation-item__content:focus {
  outline: none;
}

.wp-block-site-title a:focus-visible,
.wp-block-navigation .wp-block-navigation-item__content:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}
