/* Landing 2026
   The public navigation lives outside the editable canvas so access to the
   classroom cannot be removed accidentally. */

html {
    scroll-behavior: smooth;
}

body.page-landing {
    background: #f3e8d3;
    color: var(--geo-ink);
}

body.page-landing main {
    background:
        radial-gradient(circle at 92% 4%, rgba(22, 69, 135, 0.1), transparent 28rem),
        linear-gradient(145deg, #f8efdf 0%, var(--geo-yellow) 100%);
    display: block;
    overflow: visible;
    padding: 0.75rem 0 0;
}

body.page-landing main *,
.landing-rendered * {
    box-sizing: border-box;
}

body.page-landing main,
body.page-landing main p,
body.page-landing main li,
body.page-landing main label,
body.page-landing main input,
body.page-landing main textarea,
body.page-landing main button,
.landing-rendered,
.landing-rendered p,
.landing-rendered li,
.landing-rendered label,
.landing-rendered input,
.landing-rendered textarea,
.landing-rendered button {
    font-family: var(--geo-body-font);
}

body.page-landing main h1,
body.page-landing main h2,
body.page-landing main h3,
body.page-landing main h4,
.landing-rendered h1,
.landing-rendered h2,
.landing-rendered h3,
.landing-rendered h4 {
    font-family: var(--geo-display-font);
    font-weight: 400;
    letter-spacing: -0.025em;
}

/* Stable application header */

.landing-site-header {
    align-items: center;
    backdrop-filter: blur(18px);
    background: rgba(255, 255, 255, 0.91);
    border: 1px solid rgba(22, 69, 135, 0.13);
    border-radius: 18px;
    box-shadow: 0 12px 34px rgba(19, 39, 68, 0.12);
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(190px, auto) minmax(0, 1fr) auto;
    margin: 0 auto 0.75rem;
    max-width: 1760px;
    padding: 0.55rem 0.65rem;
    position: sticky;
    top: 0.75rem;
    width: calc(100% - 1.5rem);
    z-index: 1200;
}

.landing-site-header,
.landing-site-header * {
    font-family: var(--geo-body-font);
}

.landing-site-header a,
.landing-site-header a:hover,
.landing-site-header a:focus,
.landing-site-header a:focus-visible {
    font-family: var(--geo-body-font);
}

.landing-site-header__brand {
    align-items: center;
    border-radius: 12px;
    color: var(--geo-ink);
    display: inline-flex;
    gap: 0.7rem;
    min-width: 0;
    padding: 0.2rem 0.35rem;
    text-decoration: none;
}

.landing-site-header__logo {
    background: #fff;
    border: 1px solid rgba(22, 69, 135, 0.16);
    border-radius: 50%;
    box-shadow: 0 5px 14px rgba(19, 39, 68, 0.1);
    flex: 0 0 44px;
    height: 44px;
    object-fit: contain;
    padding: 2px;
    width: 44px;
}

.landing-site-header__brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    min-width: 0;
}

.landing-site-header__brand-copy strong {
    color: var(--geo-ink);
    font-size: 0.9rem;
    font-weight: 800;
    white-space: nowrap;
}

.landing-site-header__brand-copy small {
    color: var(--geo-muted);
    font-size: 0.68rem;
    font-weight: 600;
    margin-top: 0.2rem;
    white-space: nowrap;
}

.landing-site-header__links {
    align-items: center;
    display: flex;
    gap: 0.15rem;
    justify-content: center;
    min-width: 0;
}

.landing-site-header__links a {
    border-radius: 10px;
    color: var(--geo-muted);
    font-size: 0.84rem;
    font-weight: 750;
    padding: 0.65rem 0.75rem;
    text-decoration: none;
    transition: background-color 160ms ease, color 160ms ease;
    white-space: nowrap;
}

.landing-site-header__links a:hover,
.landing-site-header__links a:focus-visible,
.landing-site-header__links a.is-active,
.landing-site-header__links a.active {
    background: var(--geo-blue-soft);
    color: var(--geo-blue);
}

.landing-site-header__login {
    align-items: center;
    background: var(--geo-blue);
    border: 1px solid var(--geo-blue);
    border-radius: 11px;
    color: #fff;
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 800;
    gap: 0.45rem;
    justify-content: center;
    min-height: 42px;
    padding: 0.55rem 0.8rem;
    text-decoration: none;
    transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.landing-site-header__login svg {
    fill: none;
    height: 17px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    width: 17px;
}

.landing-site-header__login:hover,
.landing-site-header__login:focus-visible {
    background: var(--geo-blue-deep);
    box-shadow: 0 8px 20px rgba(22, 69, 135, 0.22);
    color: #fff;
    transform: translateY(-1px);
}

.landing-site-header__toggle {
    align-items: center;
    background: var(--geo-surface-soft);
    border: 1px solid var(--geo-line);
    border-radius: 10px;
    display: none;
    flex-direction: column;
    gap: 4px;
    height: 42px;
    justify-content: center;
    padding: 0;
    width: 42px;
}

.landing-site-header__toggle span {
    background: var(--geo-ink);
    border-radius: 999px;
    display: block;
    height: 2px;
    transition: transform 160ms ease, opacity 160ms ease;
    width: 17px;
}

.landing-site-header__toggle[aria-expanded="true"] span:first-child {
    transform: translateY(6px) rotate(45deg);
}

.landing-site-header__toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.landing-site-header__toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-6px) rotate(-45deg);
}

/* The previous navigation may still be present in stored editor content. */

.landing-rendered > .sesion,
.landing-rendered > #navID,
.landing-builder-root > .sesion,
.landing-builder-root > #navID {
    display: none !important;
}

body.page-landing .cabeceraMovil,
.landing-rendered .cabeceraMovil {
    display: none !important;
}

/* Section system */

body.page-landing main section,
.landing-rendered section {
    border: 1px solid rgba(22, 69, 135, 0.1);
    border-radius: 28px;
    box-shadow: 0 18px 48px rgba(51, 43, 28, 0.08);
    isolation: isolate;
    margin: 0 auto 0.8rem;
    max-width: 1760px;
    min-height: 0;
    overflow: hidden;
    padding: 0;
    position: relative;
    scroll-margin-top: 6.5rem;
    width: calc(100% - 1.5rem);
}

body.page-landing main section::after,
.landing-rendered section::after {
    border: 1px solid currentColor;
    border-radius: 50%;
    content: "";
    height: 25rem;
    opacity: 0.055;
    pointer-events: none;
    position: absolute;
    right: -12rem;
    top: -13rem;
    width: 25rem;
    z-index: -1;
}

body.page-landing main section > .articulo,
body.page-landing main section > .editor-section__inner,
.landing-rendered section > .articulo,
.landing-rendered section > .editor-section__inner {
    margin: 0 auto;
    max-width: none;
    padding: clamp(4.5rem, 8vw, 7.5rem) clamp(1.5rem, 4vw, 4rem);
    text-align: left;
    width: 100%;
}

body.page-landing main section > .articulo::before,
.landing-rendered section > .articulo::before {
    background: none;
    border-radius: 0;
    color: currentColor;
    display: block;
    font-size: 0.8rem;
    font-weight: 800;
    height: auto;
    letter-spacing: 0.14em;
    margin-bottom: 1rem;
    opacity: 0.68;
    text-transform: uppercase;
    width: auto;
}

body.page-landing main section h1,
.landing-rendered section h1 {
    font-size: clamp(4.25rem, 7.5vw, 7.5rem);
    line-height: 0.94;
    margin: 0 0 clamp(1.5rem, 3vw, 2.5rem);
    max-width: 12ch;
}

body.page-landing main section p,
.landing-rendered section p {
    font-size: clamp(1.08rem, 1.35vw, 1.25rem);
    line-height: 1.72;
    max-width: 72ch;
    text-align: left;
}

body.page-landing main section strong,
.landing-rendered section strong {
    font-family: inherit;
    font-weight: 800;
}

/* Editorial content hierarchy
   Number and title introduce each section across the full card. The content
   then keeps a clear reading rhythm without sacrificing usable width. */

body.page-landing #about,
.landing-rendered #about,
body.page-landing #curso,
.landing-rendered #curso {
    --landing-copy-line: rgba(22, 69, 135, 0.14);
    --landing-copy-muted: #475467;
}

body.page-landing #oposiciones,
.landing-rendered #oposiciones {
    --landing-copy-line: rgba(255, 255, 255, 0.17);
    --landing-copy-muted: rgba(248, 251, 255, 0.78);
}

body.page-landing #about > .articulo > h1,
body.page-landing #oposiciones > .articulo > h1,
body.page-landing #curso > .articulo > h1,
.landing-rendered #about > .articulo > h1,
.landing-rendered #oposiciones > .articulo > h1,
.landing-rendered #curso > .articulo > h1 {
    max-width: none;
}

body.page-landing #about > .articulo > p,
body.page-landing #oposiciones > .articulo > p,
body.page-landing #curso > .articulo > p,
.landing-rendered #about > .articulo > p,
.landing-rendered #oposiciones > .articulo > p,
.landing-rendered #curso > .articulo > p {
    border-bottom: 0;
    color: var(--landing-copy-muted);
    margin: 0;
    max-width: none;
    padding: 0.8rem 0;
    width: 100%;
}

body.page-landing #about > .articulo > h1 + p,
body.page-landing #oposiciones > .articulo > h1 + p,
body.page-landing #curso > .articulo > h1 + p,
.landing-rendered #about > .articulo > h1 + p,
.landing-rendered #oposiciones > .articulo > h1 + p,
.landing-rendered #curso > .articulo > h1 + p {
    color: currentColor;
    font-size: clamp(1.25rem, 1.6vw, 1.5rem);
    font-weight: 650;
    letter-spacing: -0.018em;
    line-height: 1.55;
    border-bottom: 1px solid var(--landing-copy-line);
    margin-bottom: 0.45rem;
    padding: 0 0 1.35rem;
}

body.page-landing #about > .articulo > p:last-child,
body.page-landing #oposiciones > .articulo > p:last-child,
body.page-landing #curso > .articulo > p:last-child,
.landing-rendered #about > .articulo > p:last-child,
.landing-rendered #oposiciones > .articulo > p:last-child,
.landing-rendered #curso > .articulo > p:last-child {
    border-bottom: 0;
}

body.page-landing #about > .articulo > p strong,
body.page-landing #curso > .articulo > p strong,
.landing-rendered #about > .articulo > p strong,
.landing-rendered #curso > .articulo > p strong {
    color: var(--geo-blue);
}

body.page-landing #oposiciones > .articulo > p strong,
.landing-rendered #oposiciones > .articulo > p strong {
    color: #fff;
}

body.page-landing #about > .articulo > .video-container-landing-div,
body.page-landing #oposiciones > .articulo > .video-container-landing-div,
body.page-landing #curso > .articulo > .container,
.landing-rendered #about > .articulo > .video-container-landing-div,
.landing-rendered #oposiciones > .articulo > .video-container-landing-div,
.landing-rendered #curso > .articulo > .container {
    margin-bottom: 1.4rem;
    margin-top: 1.4rem;
}

body.page-landing #about > .articulo > br,
.landing-rendered #about > .articulo > br,
body.page-landing .video-container-landing-div > br,
.landing-rendered .video-container-landing-div > br {
    display: none;
}

body.page-landing #inicio,
.landing-rendered #inicio,
body.page-landing #oposiciones,
.landing-rendered #oposiciones,
body.page-landing #planes,
.landing-rendered #planes {
    background:
        radial-gradient(circle at 78% 12%, rgba(255, 255, 255, 0.1), transparent 27rem),
        linear-gradient(140deg, #245393 0%, var(--geo-blue-deep) 100%);
    border-color: rgba(255, 255, 255, 0.12);
    color: #f8fbff;
}

body.page-landing #about,
.landing-rendered #about,
body.page-landing #curso,
.landing-rendered #curso,
body.page-landing #contacto,
.landing-rendered #contacto {
    background:
        radial-gradient(circle at 88% 8%, rgba(255, 255, 255, 0.48), transparent 24rem),
        linear-gradient(145deg, #f8edda 0%, #ead4aa 100%);
    color: var(--geo-ink);
}

body.page-landing main .editor-section,
.landing-rendered .editor-section {
    background: rgba(255, 255, 255, 0.9);
    color: var(--geo-ink);
}

body.page-landing #inicio .articulo::before,
.landing-rendered #inicio .articulo::before {
    content: "Preparación de oposiciones · Geografía e Historia";
}

body.page-landing #about .articulo::before,
.landing-rendered #about .articulo::before {
    content: "01 · Quién soy";
}

body.page-landing #oposiciones .articulo::before,
.landing-rendered #oposiciones .articulo::before {
    content: "02 · El proceso";
}

body.page-landing #curso .articulo::before,
.landing-rendered #curso .articulo::before {
    content: "03 · La preparación";
}

body.page-landing #planes .articulo::before,
.landing-rendered #planes .articulo::before {
    content: "04 · Modalidades";
}

body.page-landing #contacto .articulo::before,
.landing-rendered #contacto .articulo::before {
    content: "05 · Hablemos";
}

/* Hero */

body.page-landing #inicio,
.landing-rendered #inicio {
    min-height: min(800px, calc(100vh - 6.5rem));
}

body.page-landing #inicio > .articulo,
.landing-rendered #inicio > .articulo {
    align-content: center;
    display: grid;
    gap: 1.25rem clamp(2.5rem, 6vw, 6rem);
    grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
    min-height: min(800px, calc(100vh - 6.5rem));
}

body.page-landing #inicio .articulo::before,
.landing-rendered #inicio .articulo::before {
    grid-column: 1;
    margin: 0;
}

body.page-landing #inicio h1,
.landing-rendered #inicio h1 {
    font-size: clamp(5.8rem, 10.5vw, 10.5rem);
    grid-column: 1;
    line-height: 0.86;
    margin: 0;
    max-width: none;
}

body.page-landing #inicio h3,
.landing-rendered #inicio h3 {
    color: rgba(255, 255, 255, 0.82);
    font-family: var(--geo-body-font);
    font-size: clamp(1.2rem, 1.9vw, 1.75rem);
    font-weight: 600;
    grid-column: 1;
    letter-spacing: -0.025em;
    line-height: 1.4;
    margin: 0;
    max-width: 27ch;
}

body.page-landing #inicio .landing-publications,
body.page-landing #inicio .landing-widget-placeholder,
.landing-rendered #inicio .landing-publications,
.landing-rendered #inicio .landing-widget-placeholder {
    align-self: center;
    grid-column: 2;
    grid-row: 1 / span 4;
    margin: 0 !important;
    min-width: 0;
    width: 100%;
}

body.page-landing #inicio > .articulo > p:last-child,
.landing-rendered #inicio > .articulo > p:last-child {
    align-items: center;
    display: flex;
    gap: 0.65rem;
    grid-column: 1;
    margin: 0 !important;
}

body.page-landing #inicio .imgIndex,
.landing-rendered #inicio .imgIndex {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    box-shadow: none;
    height: 44px;
    margin: 0;
    padding: 3px;
    transition: transform 160ms ease;
    width: 44px;
}

body.page-landing #inicio a:hover .imgIndex,
.landing-rendered #inicio a:hover .imgIndex {
    transform: translateY(-2px);
}

/* Existing editor drafts can still contain the previous Twitter asset. */

body.page-landing #inicio a[href*="twitter.com/danielgeohis"],
.landing-rendered #inicio a[href*="twitter.com/danielgeohis"] {
    background: #fff url("../img/x.svg") center / cover no-repeat;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    display: inline-flex;
    height: 44px;
    overflow: hidden;
    width: 44px;
}

body.page-landing #inicio a[href*="twitter.com/danielgeohis"] .imgIndex,
.landing-rendered #inicio a[href*="twitter.com/danielgeohis"] .imgIndex {
    opacity: 0;
}

/* Publications */

body.page-landing .landing-publications,
.landing-rendered .landing-publications {
    color: var(--geo-ink) !important;
}

body.page-landing .landing-publications .tarjeta__aula,
.landing-rendered .landing-publications .tarjeta__aula,
body.page-landing #tarjeta__aula--alertas,
.landing-rendered #tarjeta__aula--alertas {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 20px;
    box-shadow: 0 18px 44px rgba(8, 27, 56, 0.2);
    height: auto;
    margin: 0;
    max-height: none;
    min-height: 470px;
    overflow: hidden;
    padding: 0;
}

body.page-landing .landing-publications .tarjeta__aula,
.landing-rendered .landing-publications .tarjeta__aula {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    height: 470px;
    max-height: 470px;
    min-height: 470px;
}

body.page-landing .landing-publications .filtros,
.landing-rendered .landing-publications .filtros,
body.page-landing #filtros__alertas,
.landing-rendered #filtros__alertas {
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--geo-line);
    margin: 0;
    padding: 1.15rem 1.25rem;
    text-align: left;
    width: 100%;
}

body.page-landing .landing-publications .filtros h2,
.landing-rendered .landing-publications .filtros h2,
body.page-landing #filtros__alertas h2,
.landing-rendered #filtros__alertas h2 {
    color: var(--geo-ink);
    font-family: var(--geo-body-font);
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    margin: 0;
    text-transform: uppercase;
}

body.page-landing .landing-publications ul,
.landing-rendered .landing-publications ul {
    display: block;
    flex: 1 1 auto;
    margin: 0;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: auto;
    padding: 0;
    scrollbar-color: #b8c7db transparent;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
}

body.page-landing .landing-publications ul::-webkit-scrollbar,
.landing-rendered .landing-publications ul::-webkit-scrollbar {
    width: 8px;
}

body.page-landing .landing-publications ul::-webkit-scrollbar-thumb,
.landing-rendered .landing-publications ul::-webkit-scrollbar-thumb {
    background: #b8c7db;
    border: 2px solid transparent;
    border-radius: 999px;
    background-clip: padding-box;
}

body.page-landing .landing-publications ul:focus-visible,
.landing-rendered .landing-publications ul:focus-visible {
    box-shadow: inset 0 0 0 2px rgba(22, 69, 135, 0.28);
    outline: none;
}

body.page-landing .landing-publications li,
.landing-rendered .landing-publications li,
body.page-landing #tarjeta__aula--alertas li,
.landing-rendered #tarjeta__aula--alertas li {
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--geo-line);
    border-radius: 0;
    box-shadow: none;
    margin: 0;
    padding: 0;
}

body.page-landing .landing-publications li,
.landing-rendered .landing-publications li {
    height: 50%;
    min-height: 0;
}

body.page-landing .landing-publications li:last-child,
.landing-rendered .landing-publications li:last-child {
    border-bottom: 0;
}

body.page-landing .landing-publications li > a,
.landing-rendered .landing-publications li > a {
    color: var(--geo-ink);
    display: grid;
    gap: 0.65rem;
    grid-template-columns: minmax(0, 1fr) auto;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    padding: 1rem 1.15rem;
    text-decoration: none;
    transition: background-color 160ms ease;
}

body.page-landing .landing-publications li > a:hover,
.landing-rendered .landing-publications li > a:hover {
    background: var(--geo-surface-soft);
}

body.page-landing .landing-publications .cabecera__notificacion,
.landing-rendered .landing-publications .cabecera__notificacion {
    align-items: center;
    display: flex;
    gap: 0.65rem;
    grid-column: 1;
    min-width: 0;
}

body.page-landing .landing-publications .publicacion__icono,
.landing-rendered .landing-publications .publicacion__icono {
    background: var(--geo-yellow-soft);
    border: 1px solid rgba(22, 69, 135, 0.1);
    border-radius: 50%;
    height: 34px;
    object-fit: contain;
    padding: 2px;
    width: 34px;
}

body.page-landing .landing-publications .notificacion__fecha--titulo,
.landing-rendered .landing-publications .notificacion__fecha--titulo {
    min-width: 0;
}

body.page-landing .landing-publications .publicacion__titulo,
.landing-rendered .landing-publications .publicacion__titulo {
    color: var(--geo-ink);
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.25;
    margin: 0;
}

body.page-landing .landing-publications .publicacion__fecha,
.landing-rendered .landing-publications .publicacion__fecha {
    color: var(--geo-muted);
    font-size: 0.72rem;
    line-height: 1.2;
    margin: 0.15rem 0 0;
}

body.page-landing .landing-publications .publicacion__global,
.landing-rendered .landing-publications .publicacion__global {
    grid-column: 1;
    margin: 0;
    min-width: 0;
}

body.page-landing .landing-publications .publicacion__contenido,
.landing-rendered .landing-publications .publicacion__contenido {
    color: var(--geo-muted);
    display: -webkit-box;
    font-size: 0.84rem;
    line-height: 1.5;
    margin: 0;
    max-width: none;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

body.page-landing .landing-publications .ver-mas,
.landing-rendered .landing-publications .ver-mas {
    align-self: center;
    border: 0;
    color: var(--geo-blue);
    font-size: 0.78rem;
    font-weight: 800;
    grid-column: 2;
    grid-row: 1 / span 2;
    padding: 0;
    white-space: nowrap;
}

body.page-landing .landing-publications .ver-mas svg,
.landing-rendered .landing-publications .ver-mas svg {
    fill: none;
    height: 15px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    transition: transform 160ms ease;
    width: 15px;
}

body.page-landing .landing-publications li > a:hover .ver-mas svg,
.landing-rendered .landing-publications li > a:hover .ver-mas svg {
    transform: translateX(2px);
}

body.page-landing .landing-widget-placeholder,
.landing-rendered .landing-widget-placeholder {
    background:
        repeating-linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.98),
            rgba(255, 255, 255, 0.98) 14px,
            rgba(234, 241, 251, 0.96) 14px,
            rgba(234, 241, 251, 0.96) 28px
        );
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    color: var(--geo-blue);
    min-height: 180px;
    padding: 2rem;
}

body.page-landing .landing-widget-placeholder:has(.landing-publications),
body.page-landing .landing-widget-placeholder:has(.landing-contact-widget),
.landing-rendered .landing-widget-placeholder:has(.landing-publications),
.landing-rendered .landing-widget-placeholder:has(.landing-contact-widget) {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    min-height: 0;
    padding: 0;
}

/* Content, video and table rhythm */

body.page-landing .video-container-landing-div,
.landing-rendered .video-container-landing-div {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 2.25rem 0;
}

body.page-landing .video-container-landing,
.landing-rendered .video-container-landing {
    aspect-ratio: 16 / 9;
    background: #0c1420;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    box-shadow: var(--geo-shadow-sm);
    max-width: none;
    overflow: hidden;
    position: relative;
    width: 100%;
}

body.page-landing .video-container-landing > iframe,
.landing-rendered .video-container-landing > iframe {
    border: 0;
    height: 100%;
    width: 100%;
}

body.page-landing #oposiciones .video-container-landing > iframe,
.landing-rendered #oposiciones .video-container-landing > iframe {
    height: 100%;
}

body.page-landing .video-container-landing h3,
.landing-rendered .video-container-landing h3 {
    background: rgba(12, 20, 32, 0.82);
    border-radius: 8px;
    color: #fff;
    font-family: var(--geo-body-font);
    font-size: 0.72rem;
    font-weight: 750;
    left: 0.65rem;
    letter-spacing: 0;
    margin: 0;
    padding: 0.4rem 0.55rem;
    position: absolute;
    top: 0.65rem;
    z-index: 2;
}

body.page-landing table,
.landing-rendered table {
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-collapse: separate;
    border-radius: 16px;
    border-spacing: 0;
    left: auto;
    margin: 2.25rem 0;
    overflow: hidden;
    position: relative;
    width: 100%;
}

body.page-landing td,
.landing-rendered td {
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    border-right: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 0.86rem;
    line-height: 1.55;
    padding: 0.9rem;
}

body.page-landing .tablaTitulo,
.landing-rendered .tablaTitulo {
    background: rgba(255, 255, 255, 0.12);
    font-size: 0.72rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

/* Course features */

body.page-landing #curso .container,
.landing-rendered #curso .container {
    margin: 2.5rem 0;
    max-width: 100%;
    padding: 0;
}

body.page-landing #curso .row,
.landing-rendered #curso .row {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0 0 0.85rem;
}

body.page-landing #curso .col.iconosCurso,
.landing-rendered #curso .col.iconosCurso {
    align-items: center;
    background: rgba(255, 255, 255, 0.54);
    border: 1px solid rgba(22, 69, 135, 0.1);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 1.3rem;
    text-align: center;
    width: auto;
}

body.page-landing #curso img.iconosCurso,
.landing-rendered #curso img.iconosCurso {
    height: 66px;
    margin: 0 0 0.8rem;
    object-fit: contain;
    width: 66px;
}

body.page-landing .iconos-text,
.landing-rendered .iconos-text {
    font-size: 0.78rem;
    font-weight: 750;
    line-height: 1.4;
}

/* Plans */

body.page-landing #planes > .articulo,
.landing-rendered #planes > .articulo {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.page-landing #planes .articulo::before,
body.page-landing #planes h1,
.landing-rendered #planes .articulo::before,
.landing-rendered #planes h1 {
    grid-column: 1 / -1;
}

body.page-landing .planes-pricing,
.landing-rendered .planes-pricing {
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 20px;
    box-shadow: 0 16px 38px rgba(8, 27, 56, 0.18);
    color: var(--geo-ink);
    margin: 0;
    padding: clamp(1.5rem, 3vw, 2.2rem);
}

body.page-landing .planes-pricing .titulo-plan,
.landing-rendered .planes-pricing .titulo-plan {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin: 0 0 1.25rem;
}

body.page-landing .planes-pricing h3,
.landing-rendered .planes-pricing h3 {
    font-size: clamp(2.4rem, 4vw, 3.6rem);
    margin: 0;
}

body.page-landing .precio,
.landing-rendered .precio {
    background: var(--geo-blue);
    border-radius: 999px;
    color: #fff;
    flex: 0 0 auto;
    font-size: 0.76rem;
    font-weight: 800;
    margin: 0;
    padding: 0.55rem 0.75rem;
}

body.page-landing .planes-pricing p,
body.page-landing .planes-pricing li,
.landing-rendered .planes-pricing p,
.landing-rendered .planes-pricing li {
    color: #344054;
    font-size: 0.9rem;
    line-height: 1.6;
}

body.page-landing .planes-pricing ul,
.landing-rendered .planes-pricing ul {
    display: grid;
    gap: 0.65rem;
    margin: 1.25rem 0 0;
    padding: 0;
}

body.page-landing .planes-pricing li,
.landing-rendered .planes-pricing li {
    padding-left: 1.35rem;
    position: relative;
}

body.page-landing .planes-pricing li::before,
.landing-rendered .planes-pricing li::before {
    color: var(--geo-blue);
    content: "✓";
    font-weight: 800;
    left: 0;
    position: absolute;
}

/* Contact */

body.page-landing #contacto > .articulo,
.landing-rendered #contacto > .articulo {
    align-items: start;
    display: grid;
    gap: 1.25rem clamp(2.5rem, 7vw, 7rem);
    grid-template-columns: minmax(0, 0.75fr) minmax(380px, 1.25fr);
}

body.page-landing #contacto .articulo::before,
body.page-landing #contacto h1,
body.page-landing #contacto > .articulo > p,
.landing-rendered #contacto .articulo::before,
.landing-rendered #contacto h1,
.landing-rendered #contacto > .articulo > p {
    grid-column: 1;
}

body.page-landing #contacto .landing-contact-widget,
.landing-rendered #contacto .landing-contact-widget,
body.page-landing #contacto .landing-widget-placeholder,
.landing-rendered #contacto .landing-widget-placeholder {
    grid-column: 2;
    grid-row: 1 / span 4;
    margin: 0;
    max-width: none;
    padding: 0;
    text-align: left !important;
    width: 100%;
}

body.page-landing .landing-contact-widget form,
.landing-rendered .landing-contact-widget form,
body.page-landing #contact_form,
.landing-rendered #contact_form {
    background: rgba(255, 255, 255, 0.67);
    border: 1px solid rgba(22, 69, 135, 0.12);
    border-radius: 20px;
    display: block;
    padding: clamp(1.25rem, 3vw, 2rem);
}

body.page-landing .landing-contact-widget form ul,
.landing-rendered .landing-contact-widget form ul {
    display: grid;
    column-gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 1.25rem;
    margin: 0;
    padding: 0;
}

body.page-landing .landing-contact-widget form li,
.landing-rendered .landing-contact-widget form li {
    display: grid;
    gap: 0.25rem;
}

body.page-landing .landing-contact-fields,
.landing-rendered .landing-contact-fields {
    display: grid;
    column-gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 1.25rem;
}

body.page-landing .landing-contact-field,
.landing-rendered .landing-contact-field {
    display: grid;
    gap: 0.25rem;
    min-width: 0;
}

body.page-landing .landing-contact-field--full,
.landing-rendered .landing-contact-field--full {
    grid-column: 1 / -1;
}

body.page-landing .landing-contact-widget form li:nth-child(n + 3),
.landing-rendered .landing-contact-widget form li:nth-child(n + 3) {
    grid-column: 1 / -1;
}

body.page-landing .landing-contact-widget label,
.landing-rendered .landing-contact-widget label {
    color: var(--geo-ink);
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 0.1rem;
}

body.page-landing .landing-contact-widget input:not([type="submit"]),
body.page-landing .landing-contact-widget textarea,
.landing-rendered .landing-contact-widget input:not([type="submit"]),
.landing-rendered .landing-contact-widget textarea {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid #ccd6e2;
    border-radius: 11px;
    color: var(--geo-ink);
    font-size: 0.88rem;
    min-height: 44px;
    padding: 0.75rem 0.85rem;
    transition: border-color 160ms ease, box-shadow 160ms ease;
    margin: 0 !important;
    width: 100% !important;
}

body.page-landing .landing-contact-widget textarea,
.landing-rendered .landing-contact-widget textarea {
    min-height: 150px;
    resize: vertical;
}

body.page-landing .landing-contact-widget input:focus,
body.page-landing .landing-contact-widget textarea:focus,
.landing-rendered .landing-contact-widget input:focus,
.landing-rendered .landing-contact-widget textarea:focus {
    border-color: var(--geo-blue);
    box-shadow: 0 0 0 3px rgba(22, 69, 135, 0.12);
    outline: 0;
}

body.page-landing .landing-contact-widget .enviar,
.landing-rendered .landing-contact-widget .enviar {
    background: var(--geo-blue);
    border: 0;
    border-radius: 11px;
    color: #fff;
    display: block;
    font-size: 0.76rem;
    font-weight: 800;
    height: auto;
    margin: 1rem auto 0;
    min-height: 44px;
    padding: 0.75rem 1.15rem;
}

body.page-landing .landing-contact-widget .errorlist,
.landing-rendered .landing-contact-widget .errorlist {
    color: var(--geo-danger);
    font-size: 0.72rem;
    margin: 0;
}

/* Footer */

body.page-landing footer,
.landing-rendered footer {
    align-items: center;
    background: #273241;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    height: auto;
    justify-content: center;
    margin: 0;
    min-height: 220px;
    padding: 3rem 1.5rem;
}

body.page-landing footer .imgLogo,
.landing-rendered footer .imgLogo {
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    height: 64px;
    padding: 3px;
    width: 64px;
}

body.page-landing footer p,
.landing-rendered footer p {
    color: #aeb8c6;
    font-size: 0.76rem;
    line-height: 1.6;
    margin: 0;
    text-align: center;
}

@media (max-width: 1050px) {
    .landing-site-header {
        grid-template-columns: auto minmax(0, 1fr) auto;
    }

    .landing-site-header__brand-copy {
        display: none;
    }

    .landing-site-header__links a {
        padding-left: 0.55rem;
        padding-right: 0.55rem;
    }

    body.page-landing #inicio > .articulo,
    .landing-rendered #inicio > .articulo {
        gap: clamp(2.75rem, 5vw, 4rem);
        grid-template-columns: minmax(0, 1fr) minmax(340px, 0.94fr);
    }

    body.page-landing #inicio h1,
    .landing-rendered #inicio h1 {
        font-size: clamp(5.8rem, 9vw, 8rem);
    }

    body.page-landing #inicio .landing-publications,
    body.page-landing #inicio .landing-widget-placeholder,
    .landing-rendered #inicio .landing-publications,
    .landing-rendered #inicio .landing-widget-placeholder {
        justify-self: end;
        max-width: 500px;
    }

    body.page-landing #contacto > .articulo,
    .landing-rendered #contacto > .articulo {
        gap: 2rem;
    }
}

@media (max-width: 850px) {
    body.page-landing main {
        padding-top: 0.5rem;
    }

    .landing-site-header {
        gap: 0.45rem;
        grid-template-columns: minmax(0, 1fr) auto auto;
        top: 0.5rem;
        width: calc(100% - 1rem);
    }

    .landing-site-header__brand-copy {
        display: flex;
    }

    .landing-site-header__links {
        align-items: stretch;
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid rgba(22, 69, 135, 0.12);
        border-radius: 15px;
        box-shadow: 0 16px 38px rgba(19, 39, 68, 0.14);
        display: none;
        flex-direction: column;
        left: 0;
        padding: 0.45rem;
        position: absolute;
        right: 0;
        top: calc(100% + 0.45rem);
    }

    .landing-site-header.is-open .landing-site-header__links {
        display: flex;
    }

    .landing-site-header__links a {
        padding: 0.75rem 0.85rem;
    }

    .landing-site-header__toggle {
        display: inline-flex;
    }

    body.page-landing main section,
    .landing-rendered section {
        border-radius: 22px;
        scroll-margin-top: 5.5rem;
        width: calc(100% - 1rem);
    }

    body.page-landing main section > .articulo,
    body.page-landing main section > .editor-section__inner,
    .landing-rendered section > .articulo,
    .landing-rendered section > .editor-section__inner {
        padding: 4rem clamp(1.25rem, 5vw, 2.5rem);
    }

    body.page-landing #inicio,
    .landing-rendered #inicio,
    body.page-landing #inicio > .articulo,
    .landing-rendered #inicio > .articulo {
        min-height: 0;
    }

    body.page-landing #inicio > .articulo,
    .landing-rendered #inicio > .articulo {
        display: flex;
        flex-direction: column;
    }

    body.page-landing #inicio .landing-publications,
    body.page-landing #inicio .landing-widget-placeholder,
    .landing-rendered #inicio .landing-publications,
    .landing-rendered #inicio .landing-widget-placeholder {
        max-width: none;
        margin-top: 1rem !important;
        width: 100%;
    }

    body.page-landing .landing-publications .tarjeta__aula,
    .landing-rendered .landing-publications .tarjeta__aula {
        height: min(470px, 70vh);
        max-height: min(500px, 70vh);
        min-height: 390px;
    }

    body.page-landing #contacto > .articulo,
    .landing-rendered #contacto > .articulo {
        display: block;
    }

    body.page-landing #contacto .landing-contact-widget,
    .landing-rendered #contacto .landing-contact-widget,
    body.page-landing #contacto .landing-widget-placeholder,
    .landing-rendered #contacto .landing-widget-placeholder {
        margin-top: 2rem;
    }

    body.page-landing #planes > .articulo,
    .landing-rendered #planes > .articulo {
        grid-template-columns: 1fr;
    }

    body.page-landing #curso .row,
    .landing-rendered #curso .row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .landing-site-header__brand-copy {
        display: none;
    }

    .landing-site-header__login {
        min-width: 42px;
        padding: 0;
        width: 42px;
    }

    .landing-site-header__login span {
        display: none;
    }

    body.page-landing main section h1,
    .landing-rendered section h1 {
        font-size: clamp(3.5rem, 18vw, 5.2rem);
    }

    body.page-landing #inicio h1,
    .landing-rendered #inicio h1 {
        font-size: clamp(5rem, 25vw, 7.35rem);
        padding-right: 0.35rem;
    }

    body.page-landing .landing-publications li > a,
    .landing-rendered .landing-publications li > a {
        grid-template-columns: 1fr;
    }

    body.page-landing .landing-contact-widget form ul,
    .landing-rendered .landing-contact-widget form ul,
    body.page-landing .landing-contact-fields,
    .landing-rendered .landing-contact-fields {
        grid-template-columns: 1fr;
    }

    body.page-landing .landing-contact-widget form li,
    .landing-rendered .landing-contact-widget form li,
    body.page-landing .landing-contact-field,
    .landing-rendered .landing-contact-field {
        grid-column: 1;
    }

    body.page-landing .landing-publications .ver-mas,
    .landing-rendered .landing-publications .ver-mas {
        grid-column: 1;
        grid-row: auto;
        justify-self: start;
    }

    body.page-landing .landing-publications .publicacion__contenido,
    .landing-rendered .landing-publications .publicacion__contenido {
        -webkit-line-clamp: 2;
    }

    body.page-landing .video-container-landing-div,
    .landing-rendered .video-container-landing-div {
        grid-template-columns: 1fr;
    }

    body.page-landing #curso .container,
    .landing-rendered #curso .container {
        display: grid;
        gap: 0.55rem;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin: 1.5rem 0;
        padding: 0;
    }

    body.page-landing #curso .row,
    .landing-rendered #curso .row {
        display: contents;
        margin: 0 !important;
    }

    body.page-landing #curso .col.iconosCurso,
    .landing-rendered #curso .col.iconosCurso {
        justify-content: center;
        min-height: 128px;
        padding: 0.8rem 0.55rem;
        width: auto;
    }

    body.page-landing #curso img.iconosCurso,
    .landing-rendered #curso img.iconosCurso {
        height: 52px;
        margin-bottom: 0.5rem;
        width: 52px;
    }

    body.page-landing #curso .iconos-text,
    .landing-rendered #curso .iconos-text {
        font-size: 0.74rem;
        line-height: 1.28;
    }

    body.page-landing #curso .row:last-child .col.iconosCurso:last-child,
    .landing-rendered #curso .row:last-child .col.iconosCurso:last-child {
        grid-column: 1 / -1;
        justify-self: center;
        width: calc(50% - 0.275rem);
    }

    body.page-landing table,
    .landing-rendered table {
        display: block;
        overflow-x: auto;
        white-space: normal;
    }

    body.page-landing td,
    .landing-rendered td {
        min-width: 150px;
    }

    body.page-landing .planes-pricing .titulo-plan,
    .landing-rendered .planes-pricing .titulo-plan {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .landing-site-header *,
    body.page-landing main section *,
    .landing-rendered section * {
        transition-duration: 0.01ms !important;
    }
}
