/*
 * Sistema visual editorial HLUNA.
 * Está limitado a .theme-editorial para no alterar formularios ni procesos existentes.
 */
.theme-editorial {
    --hl-ink: #090909;
    --hl-paper: #ffffff;
    --hl-soft: #f3f2ee;
    --hl-line: #d8d7d2;
    --hl-muted: #66645f;
    --hl-display: ui-serif, Georgia, 'Times New Roman', serif;
    --hl-ui: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    background: var(--hl-paper);
    color: var(--hl-ink);
    font-family: var(--hl-ui);
}

.theme-editorial *::selection {
    background: var(--hl-ink);
    color: var(--hl-paper);
}

.public-home .interfaceprocesando.editorial-local-preview {
    display: none;
}

.theme-editorial .editorial-kicker,
.theme-editorial .editorial-index {
    display: inline-block;
    color: var(--hl-muted);
    font-family: var(--hl-ui);
    font-size: 1.05rem;
    font-style: normal;
    font-weight: 600;
    letter-spacing: 0.18em;
    line-height: 1.4;
    text-transform: uppercase;
}

/* Portada pública */
.public-home {
    min-height: 100vh;
    grid-template-rows: auto 1fr auto;
    overflow-x: hidden;
}

.public-home__header {
    padding: 0 clamp(0.8rem, 1.2vw, 2rem);
}

.public-home__sr-only {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.public-home .slider-container {
    background: var(--hl-ink);
    border: 0;
    border-radius: 0;
    margin-top: 1.2rem;
    max-width: 180rem;
    isolation: isolate;
}

.public-home .slide {
    background: var(--hl-ink);
    overflow: hidden;
}

.public-home .slide img {
    aspect-ratio: 1600 / 500;
    object-fit: cover;
    transform: scale(1.025);
    transform-origin: center;
}

.motion-ready .public-home .slide.active img {
    animation: hl-hero-drift 15s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.public-home .prev,
.public-home .next {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--hl-paper);
    border-radius: 50%;
    color: var(--hl-ink);
    font-size: 1.5rem;
    height: 4.6rem;
    padding: 0;
    transition: background 180ms ease, color 180ms ease;
    top: 50%;
    width: 4.6rem;
    z-index: 5;
}

.public-home .prev { left: 1.6rem; }
.public-home .next { right: 1.6rem; }

.public-home .prev:hover,
.public-home .next:hover,
.public-home .prev:focus-visible,
.public-home .next:focus-visible {
    background: var(--hl-ink);
    color: var(--hl-paper);
}

.public-home__main {
    margin: 0;
    padding: 0 2.4rem;
}

.public-home .public-home__manifesto {
    border-bottom: 1px solid var(--hl-line);
    display: grid;
    gap: 4rem;
    grid-template-columns: minmax(20rem, 0.75fr) minmax(32rem, 1.8fr);
    margin: 0 auto;
    max-width: 144rem;
    padding: clamp(4rem, 6vw, 8rem) 0;
}

.public-home__identity {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.public-home__statement h2 {
    display: block;
    font-family: var(--hl-display);
    font-size: clamp(3.4rem, 4.5vw, 6.8rem);
    font-weight: 500;
    letter-spacing: -0.035em;
    line-height: 0.98;
    margin: 2.2rem 0 2rem;
    max-width: 110rem;
    text-align: left;
    width: auto;
}

.public-home__summary {
    color: var(--hl-muted);
    font-size: clamp(1.4rem, 1.5vw, 1.8rem);
    line-height: 1.6;
    margin: 0 0 3.2rem;
    max-width: 72rem;
}

.public-home__disciplines {
    border-top: 1px solid var(--hl-ink);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.public-home__disciplines span {
    border-right: 1px solid var(--hl-line);
    font-size: 1.2rem;
    letter-spacing: 0.14em;
    padding: 1.6rem 1rem 0 0;
    text-transform: uppercase;
}

.public-home__disciplines span:last-child {
    border-right: 0;
    padding-left: 1.6rem;
}

.motion-ready .editorial-reveal {
    opacity: 0;
    transform: translate3d(0, 3.2rem, 0);
    transition: opacity 850ms ease, transform 850ms cubic-bezier(0.22, 1, 0.36, 1);
}

.motion-ready .editorial-reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.motion-ready .public-home__disciplines span {
    background-image: linear-gradient(var(--hl-ink), var(--hl-ink));
    background-position: left bottom;
    background-repeat: no-repeat;
    background-size: 0 1px;
    transition: background-size 520ms ease, padding-left 320ms ease;
}

.motion-ready .public-home__disciplines span:hover {
    background-size: 100% 1px;
    padding-left: 0.8rem;
}

@keyframes hl-hero-drift {
    from { transform: scale(1.025) translate3d(-0.4%, 0, 0); }
    to { transform: scale(1.075) translate3d(0.4%, -0.3%, 0); }
}

.public-home .asidemenu,
.public-home .asidemoneda,
.public-home .asidebusqueda,
.public-home .asidecestasesion {
    -webkit-backdrop-filter: blur(1.2rem);
    backdrop-filter: blur(1.2rem);
    background: rgba(255, 255, 255, 0.96);
    border: 0;
    box-shadow: 0 1.2rem 3.5rem rgba(0, 0, 0, 0.13), inset 0 0 0 1px var(--hl-ink);
    font-family: var(--hl-ui);
    padding: 0;
    transition: box-shadow 220ms ease, transform 220ms ease;
    z-index: 210;
}

.public-home .asidemenu:hover,
.public-home .asidemoneda:hover,
.public-home .asidebusqueda:hover,
.public-home .asidecestasesion:hover {
    box-shadow: 0 1.6rem 4rem rgba(0, 0, 0, 0.18), inset 0 0 0 1px var(--hl-ink);
}

.public-home .asidemenu {
    align-items: center;
    cursor: pointer;
    display: flex;
    height: 5.6rem;
    justify-content: center;
    left: 2.4rem;
    top: 11rem;
    width: 5.6rem;
}

.public-home .asidemenu .asidedivmenu div span {
    border-color: var(--hl-ink);
    width: 2.5rem;
}

.public-home .asidemenu .asidedivmenu div span:nth-of-type(2) {
    padding-top: 0.8rem;
}

.public-home .asidemenu:hover,
.public-home .asidemenu.active {
    background: var(--hl-ink);
}

.public-home .asidemenu:hover .asidedivmenu div span,
.public-home .asidemenu.active .asidedivmenu div span {
    border-color: var(--hl-paper);
}

.public-home .asidemenu.active .asidedivmenu div span {
    width: 2.3rem;
}

.public-home .asidemoneda {
    left: 2.4rem;
    padding: 1.2rem 1.4rem 1.1rem;
    top: 17.8rem;
    width: 10rem;
}

.public-home .asidemoneda label {
    color: var(--hl-muted);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    margin: 0 0 0.7rem;
    text-transform: uppercase;
}

.public-home .asidemoneda select {
    appearance: none;
    background: var(--hl-paper);
    background-image:
        linear-gradient(45deg, transparent 50%, var(--hl-ink) 50%),
        linear-gradient(135deg, var(--hl-ink) 50%, transparent 50%);
    background-position:
        calc(100% - 1rem) 55%,
        calc(100% - 0.6rem) 55%;
    background-repeat: no-repeat;
    background-size: 0.45rem 0.45rem, 0.45rem 0.45rem;
    border: 1px solid var(--hl-line);
    border-radius: 0;
    color: var(--hl-ink);
    font-family: var(--hl-ui);
    font-size: 1.25rem;
    font-weight: 600;
    padding: 0.75rem 2.4rem 0.75rem 0.8rem;
    width: 100%;
}

.public-home .asidemoneda select:hover,
.public-home .asidemoneda select:focus-visible {
    border-color: var(--hl-ink);
}

.public-home .asidebusqueda {
    right: 2.4rem;
    top: 11rem;
    width: 15rem;
}

.public-home .asidebusqueda .asidedivbusqueda span a {
    align-items: center;
    background: var(--hl-ink);
    border: 0;
    color: var(--hl-paper);
    display: flex;
    font-size: 1.2rem;
    font-weight: 600;
    justify-content: space-between;
    letter-spacing: 0.08em;
    padding: 1.8rem 1.5rem;
    text-transform: uppercase;
    width: 100%;
}

.public-home .asidebusqueda .asidedivbusqueda span a::after {
    content: '↗';
    font-size: 1.7rem;
    font-weight: 400;
    line-height: 1;
    transition: transform 180ms ease;
}

.public-home .asidebusqueda .asidedivbusqueda span a:hover::after,
.public-home .asidebusqueda .asidedivbusqueda span a:focus-visible::after {
    transform: translate3d(0.25rem, -0.25rem, 0);
}

.public-home .asidecestasesion {
    right: 2.4rem;
    top: 17.8rem;
    width: 18rem;
}

.public-home .asidecestasesion > div {
    border-bottom: 1px solid var(--hl-line);
    margin: 0;
    transition: background 180ms ease, color 180ms ease;
}

.public-home .asidecestasesion > div:last-child {
    border-bottom: 0;
}

.public-home .asidecestasesion > div:hover {
    background: var(--hl-ink);
}

.public-home .asidecestasesion .asidedivcestasesion__cesta {
    align-items: center;
    display: flex;
    justify-content: space-between;
    padding: 0 1.4rem;
}

.public-home .asidecestasesion .asidedivcestasesion__cesta span:first-child {
    flex: 1;
}

.public-home .asidecestasesion .asidedivcestasesion__cesta span:nth-of-type(2) {
    align-items: center;
    background: var(--hl-ink);
    border: 0;
    border-radius: 50%;
    display: flex;
    height: 2.6rem;
    justify-content: center;
    padding: 0;
    width: 2.6rem;
}

.public-home .asidecestasesion .asidedivcestasesion__cesta:hover span:nth-of-type(2) {
    background: var(--hl-paper);
}

.public-home .asidecestasesion .asidedivcestasesion__cesta span:nth-of-type(2) a {
    color: var(--hl-paper);
    font-size: 1.1rem;
    padding: 0;
}

.public-home .asidecestasesion .asidedivcestasesion__cesta:hover span:nth-of-type(2) a {
    color: var(--hl-ink);
}

.public-home .asidecestasesion .asidedivcestasesion__cesta span:first-child a,
.public-home .asidecestasesion .asidedivcestasesion__sesion span a,
.public-home .asidecestasesion .asidedivcestasesion__consultalicencia span a {
    display: block;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 1.45rem 1.4rem;
    text-align: left;
    text-transform: uppercase;
}

.public-home .asidecestasesion .asidedivcestasesion__cesta span:first-child a {
    padding-left: 0;
}

.public-home .asidecestasesion > div:hover a {
    color: var(--hl-paper);
}

/* Navegación institucional unificada */
.public-home__controlbar {
    align-items: stretch;
    background: var(--hl-paper);
    border: 1px solid var(--hl-ink);
    display: flex;
    margin: 1.4rem auto 0;
    max-width: 180rem;
    min-height: 5.8rem;
    position: sticky;
    top: 0;
    z-index: 220;
}

.public-home__controlbar .asidemenu,
.public-home__controlbar .asidemoneda,
.public-home__controlbar .asidebusqueda,
.public-home__controlbar .asidecestasesion {
    background: var(--hl-paper);
    box-shadow: none;
    flex: none;
    inset: auto;
    position: static;
    transform: none;
}

.public-home__controlbar .asidemenu {
    border-right: 1px solid var(--hl-line);
    gap: 1.1rem;
    height: auto;
    padding: 0 1.6rem;
    width: auto;
}

.public-home__controlbar .asidemenu:hover,
.public-home__controlbar .asidemenu.active {
    transform: none;
}

.public-home__control-label {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.public-home__controlbar .asidemenu:hover .public-home__control-label,
.public-home__controlbar .asidemenu.active .public-home__control-label {
    color: var(--hl-paper);
}

.public-home__controlbar .asidemoneda {
    align-items: center;
    border-right: 1px solid var(--hl-line);
    display: flex;
    padding: 0.7rem 1.2rem;
    width: 10.5rem;
}

.public-home__controlbar .asidemoneda label {
    display: none;
}

.public-home__controlbar .asidemoneda select {
    border: 0;
    height: 4.2rem;
}

.public-home__controlbar .asidebusqueda {
    border-left: 1px solid var(--hl-line);
    margin-left: auto;
    width: auto;
}

.public-home__controlbar .asidebusqueda .asidedivbusqueda,
.public-home__controlbar .asidebusqueda .asidedivbusqueda span,
.public-home__controlbar .asidebusqueda .asidedivbusqueda span a {
    height: 100%;
}

.public-home__controlbar .asidebusqueda .asidedivbusqueda span a {
    background: var(--hl-paper);
    color: var(--hl-ink);
    min-width: 12rem;
    padding: 0 1.5rem;
}

.public-home__controlbar .asidebusqueda .asidedivbusqueda span a:hover,
.public-home__controlbar .asidebusqueda .asidedivbusqueda span a:focus-visible {
    background: var(--hl-ink);
    color: var(--hl-paper);
}

.public-home__controlbar .asidecestasesion {
    display: flex;
    width: auto;
}

.public-home__controlbar .asidecestasesion > div {
    border-bottom: 0;
    border-left: 1px solid var(--hl-line);
    display: flex;
    margin: 0;
}

.public-home__controlbar .asidecestasesion .asidedivcestasesion__cesta {
    min-width: 10rem;
    padding: 0 1rem;
}

.public-home__controlbar .asidecestasesion .asidedivcestasesion__cesta span:first-child a,
.public-home__controlbar .asidecestasesion .asidedivcestasesion__sesion span a,
.public-home__controlbar .asidecestasesion .asidedivcestasesion__consultalicencia span a {
    align-items: center;
    display: flex;
    font-size: 0.95rem;
    height: 100%;
    padding: 0 1.25rem;
    white-space: nowrap;
}

.public-home__controlbar .asidecestasesion .asidedivcestasesion__cesta span:first-child a {
    padding-left: 0;
}

/* Acciones principales */
.public-home__actions {
    align-items: stretch;
    display: flex;
    gap: 1rem;
    margin-top: 3.2rem;
}

.public-home__actions button,
.public-home__actions a {
    align-items: center;
    border: 1px solid var(--hl-ink);
    border-radius: 0;
    display: inline-flex;
    font-family: var(--hl-ui);
    font-size: 1rem;
    font-style: normal;
    font-weight: 700;
    justify-content: center;
    letter-spacing: 0.12em;
    min-height: 5rem;
    padding: 1.2rem 2rem;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 180ms ease, color 180ms ease;
}

.public-home__actions button {
    background: var(--hl-ink);
    color: var(--hl-paper);
}

.public-home__actions a {
    background: var(--hl-paper);
    color: var(--hl-ink);
}

.public-home__actions button:hover,
.public-home__actions button:focus-visible {
    background: var(--hl-paper);
    color: var(--hl-ink);
}

.public-home__actions a:hover,
.public-home__actions a:focus-visible {
    background: var(--hl-ink);
    color: var(--hl-paper);
}

.public-home nav {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--hl-ink);
    border-top: 1px solid var(--hl-ink);
    font-family: var(--hl-ui);
    margin-top: 10rem;
    padding: 4rem clamp(2.4rem, 8vw, 12rem);
}

.public-home footer {
    margin-top: 0;
    padding: 3.2rem 2.4rem 2.4rem;
}

.public-home footer > div {
    border-bottom: 1px solid var(--hl-line);
    border-top: 1px solid var(--hl-ink);
    flex-wrap: wrap;
    gap: 2rem 4rem;
    justify-content: flex-start;
    margin: 0 auto;
    max-width: 144rem;
    padding: 2.2rem 0;
}

.public-home footer > h4 {
    font-family: var(--hl-ui);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    margin: 2rem auto 0;
    max-width: 144rem;
    text-align: left;
    text-transform: uppercase;
}

/* Panel administrativo */
.admin-home {
    background: var(--hl-soft);
}

.admin-home .contenido__header {
    background: var(--hl-paper);
    border-bottom: 1px solid var(--hl-ink);
}

.admin-home .contenido__header__sesion {
    background: var(--hl-ink);
    color: var(--hl-paper);
    font-family: var(--hl-ui);
    padding: 0.8rem clamp(2rem, 5vw, 7rem);
}

.admin-home .contenido__header__sesion p {
    font-family: var(--hl-ui);
    font-size: 1.15rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.admin-home .contenido__header__sesion > div {
    margin: 0;
}

.admin-home .contenido__header__empresa {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin: 0;
    padding: 2.4rem clamp(2rem, 5vw, 7rem);
    text-align: left;
}

.admin-home .contenido__header__empresa h1 {
    display: block;
    font-family: var(--hl-display);
    font-size: clamp(3.4rem, 4vw, 5.8rem);
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 0.95;
    margin: 0.8rem 0 0;
}

.admin-home .contenido__header__empresa img {
    height: auto;
    margin: 0;
    padding: 0;
    width: 18rem;
}

.admin-home .contenido__header__enlaces {
    right: clamp(2rem, 5vw, 7rem);
    top: 1.1rem;
}

.admin-home .contenido__header__enlaces__menu ul li a {
    background: transparent;
    border-bottom: 1px solid var(--hl-paper);
    border-radius: 0;
    color: var(--hl-paper);
    font-family: var(--hl-ui);
    font-size: 1.1rem;
    letter-spacing: 0.12em;
    padding: 0.4rem 0;
    text-transform: uppercase;
}

.admin-home .contenido__body {
    margin: 0 auto;
    max-width: 144rem;
    padding: clamp(3rem, 4vw, 5.5rem) clamp(2rem, 5vw, 7rem);
    width: 100%;
}

.admin-home__heading {
    align-items: start;
    border-bottom: 1px solid var(--hl-ink);
    display: grid;
    gap: 2rem;
    grid-template-columns: minmax(8rem, 0.35fr) 2fr;
    padding-bottom: 3rem;
}

.admin-home .admin-home__heading h2 {
    font-family: var(--hl-display);
    font-size: clamp(4rem, 5vw, 6.6rem);
    font-weight: 500;
    letter-spacing: -0.045em;
    line-height: 0.9;
    margin: 1rem 0 0;
    padding: 0;
    text-align: left;
}

.admin-home #tituloventana {
    color: var(--hl-muted);
    font-family: var(--hl-ui);
    font-size: 1.3rem;
    margin: 2rem 0 4rem;
    max-width: 80rem;
    padding: 0;
    text-align: left;
}

.admin-home__modules {
    display: grid;
    gap: 1px;
    grid-template-columns: minmax(0, 1.8fr) minmax(28rem, 0.7fr);
    background: var(--hl-line);
    border: 1px solid var(--hl-line);
}

.admin-home .contenido__body__contenedorfondo {
    align-items: stretch;
    background: var(--hl-paper);
    min-width: 0;
}

.admin-home .contenido__body__contenedorfondo:empty {
    display: none;
}

.admin-home .admin-home__logout {
    grid-column: auto;
}

.admin-home .admin-home__logout .contenido__body__contenidofondo {
    min-height: auto;
}

.admin-home .contenido__body__contenidofondo {
    background: var(--hl-paper);
    border-radius: 0;
    display: flex;
    flex-direction: column;
    margin: 0;
    min-height: 27rem;
    padding: 3.2rem;
    width: 100%;
}

.admin-home .contenido__body__contenidofondo h4 {
    border-bottom: 1px solid var(--hl-ink);
    color: var(--hl-ink);
    font-family: var(--hl-display);
    font-size: 3rem;
    font-weight: 600;
    margin: 0;
    padding-bottom: 1.4rem;
    text-align: left;
}

.admin-home .contenido__body__contenidofondo div {
    margin: 2rem 0 0;
}

.admin-home .contenido__body__contenidofondo__iconosection {
    align-items: center;
    display: flex;
    gap: 1rem;
    text-align: left;
}

.admin-home .contenido__body__contenidofondo__iconosection span {
    color: var(--hl-ink);
}

.admin-home .contenido__body__contenidofondo__iconosection strong {
    font-family: var(--hl-ui);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.admin-home .contenido__body__contenidofondo__descripcion {
    color: var(--hl-muted);
    font-family: var(--hl-ui);
    font-size: 1.35rem;
    line-height: 1.65;
    margin: 2.2rem 0 0;
    max-width: 72rem;
}

.admin-home .contenido__body__contenidofondo__linksection,
.admin-home .contenido__body__contenidofondo__linksection a,
.admin-home .contenido__body__contenidofondo__salida p {
    color: var(--hl-ink);
    font-family: var(--hl-ui);
}

.admin-home .contenido__body__contenidofondo__linksection a {
    border-bottom: 1px solid transparent;
}

.admin-home .contenido__body__contenidofondo__linksection--principal {
    margin-top: auto;
    padding-top: 2.6rem;
}

.admin-home .contenido__body__contenidofondo__linksection--principal a {
    align-items: center;
    background: var(--hl-ink);
    border: 1px solid var(--hl-ink);
    color: var(--hl-paper);
    display: flex;
    font-size: 1.15rem;
    font-weight: 600;
    justify-content: space-between;
    letter-spacing: 0.1em;
    max-width: 32rem;
    padding: 1.4rem 1.6rem;
    text-transform: uppercase;
}

.admin-home .contenido__body__contenidofondo__linksection--principal a:hover,
.admin-home .contenido__body__contenidofondo__linksection--principal a:focus-visible {
    background: var(--hl-paper);
    color: var(--hl-ink);
}

.admin-home .contenido__body__contenidofondo__linksection a:hover,
.admin-home .contenido__body__contenidofondo__linksection a:focus-visible {
    border-bottom-color: var(--hl-ink);
}

.admin-home .contenido__body__contenidofondo__salida p {
    font-size: 1.35rem;
    margin: 0 0 2rem;
    text-align: left;
}

.admin-home .contenido__body__contenidofondo__salida button {
    background: var(--hl-ink);
    border: 1px solid var(--hl-ink);
    border-radius: 0;
    color: var(--hl-paper);
    font-family: var(--hl-ui);
    letter-spacing: 0.08em;
    line-height: 1.35;
    padding: 1.2rem 2rem;
    text-transform: uppercase;
    white-space: normal;
    width: 100%;
}

.admin-home .contenido__body__contenidofondo__salida button:hover,
.admin-home .contenido__body__contenidofondo__salida button:focus-visible {
    background: var(--hl-paper);
    color: var(--hl-ink);
}

.admin-home footer {
    background: var(--hl-ink);
    color: var(--hl-paper);
    padding: 1.6rem 2rem;
}

.admin-home footer h4 {
    font-family: var(--hl-ui);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    margin: 0;
    text-transform: uppercase;
}

.theme-editorial a:focus-visible,
.theme-editorial button:focus-visible,
.theme-editorial select:focus-visible {
    outline: 2px solid var(--hl-ink);
    outline-offset: 3px;
}

@media (max-width: 900px) {
    .public-home .public-home__manifesto {
        grid-template-columns: 1fr;
    }

    .public-home__identity {
        align-items: center;
        flex-direction: row;
        justify-content: space-between;
    }

    .admin-home__modules {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .public-home__header,
    .public-home__main {
        padding-left: 1.6rem;
        padding-right: 1.6rem;
    }

    .public-home .slider-container {
        margin-top: 1.6rem;
    }

    .public-home .slide img {
        aspect-ratio: auto;
        object-fit: contain;
    }

    .public-home .prev,
    .public-home .next {
        height: 3.8rem;
        width: 3.8rem;
    }

    .public-home .asidemenu,
    .public-home .asidemoneda,
    .public-home .asidebusqueda,
    .public-home .asidecestasesion {
        border: 0;
        padding: 0;
    }

    .public-home .asidemenu {
        height: 4.8rem;
        left: 1.2rem;
        top: 1.2rem;
        width: 4.8rem;
    }

    .public-home .asidemoneda {
        height: 4.8rem;
        left: 7rem;
        padding: 0.55rem 0.7rem;
        top: 1.2rem;
        width: 8.6rem;
    }

    .public-home .asidemoneda label {
        display: none;
    }

    .public-home .asidemoneda select {
        height: 3.7rem;
        padding-bottom: 0.4rem;
        padding-top: 0.4rem;
    }

    .public-home .asidebusqueda {
        right: 1.2rem;
        top: 1.2rem;
        width: 10rem;
    }

    .public-home .asidebusqueda .asidedivbusqueda span a {
        height: 4.8rem;
        padding: 0 1.2rem;
    }

    .public-home .asidecestasesion {
        bottom: 1rem;
        display: grid;
        grid-template-columns: 0.8fr 1.2fr 1fr;
        left: 1rem;
        right: 1rem;
        top: auto;
        width: auto;
    }

    .public-home .asidecestasesion > div {
        align-items: center;
        border-bottom: 0;
        border-right: 1px solid var(--hl-line);
        display: flex;
        justify-content: center;
        min-width: 0;
    }

    .public-home .asidecestasesion > div:last-child {
        border-right: 0;
    }

    .public-home .asidecestasesion .asidedivcestasesion__cesta {
        padding: 0 0.8rem;
    }

    .public-home .asidecestasesion .asidedivcestasesion__cesta span:first-child a,
    .public-home .asidecestasesion .asidedivcestasesion__sesion span a,
    .public-home .asidecestasesion .asidedivcestasesion__consultalicencia span a {
        font-size: 0.86rem;
        overflow: hidden;
        padding: 1.35rem 0.7rem;
        text-align: center;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .public-home footer {
        padding-bottom: 8rem;
    }

    .public-home__controlbar {
        display: grid;
        grid-template-columns: 5.2rem 8rem 1fr;
        margin-top: 1rem;
        min-height: 5.2rem;
        width: 100%;
    }

    .public-home__controlbar .asidemenu {
        gap: 0;
        height: auto;
        inset: auto;
        padding: 0;
        position: static;
        width: auto;
    }

    .public-home__controlbar .public-home__control-label {
        display: none;
    }

    .public-home__controlbar .asidemoneda {
        height: auto;
        inset: auto;
        padding: 0.55rem;
        position: static;
        width: auto;
    }

    .public-home__controlbar .asidemoneda select {
        height: 4rem;
    }

    .public-home__controlbar .asidebusqueda {
        inset: auto;
        margin-left: 0;
        position: static;
        width: auto;
    }

    .public-home__controlbar .asidebusqueda .asidedivbusqueda span a {
        height: 100%;
        justify-content: center;
        min-width: 0;
        padding: 0 1rem;
    }

    .public-home__controlbar .asidecestasesion {
        bottom: 1rem;
        display: grid;
        grid-column: auto;
        grid-template-columns: 0.8fr 1.2fr 1fr;
        left: 1rem;
        position: fixed;
        right: 1rem;
        top: auto;
        width: auto;
    }

    .public-home__controlbar .asidecestasesion > div {
        border-bottom: 0;
        border-left: 0;
        border-right: 1px solid var(--hl-line);
    }

    .public-home__controlbar .asidecestasesion > div:last-child {
        border-right: 0;
    }

    .public-home__controlbar .asidecestasesion .asidedivcestasesion__cesta span:first-child a,
    .public-home__controlbar .asidecestasesion .asidedivcestasesion__sesion span a,
    .public-home__controlbar .asidecestasesion .asidedivcestasesion__consultalicencia span a {
        font-size: 0.82rem;
        justify-content: center;
        padding: 1.35rem 0.5rem;
        text-align: center;
        width: 100%;
    }

    .public-home__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .public-home nav {
        margin-top: 12rem;
        padding: 3rem 1.6rem;
    }

    .public-home__statement em {
        font-size: clamp(3.2rem, 10vw, 5rem);
    }

    .public-home__disciplines {
        grid-template-columns: 1fr;
    }

    .public-home__disciplines span,
    .public-home__disciplines span:last-child {
        border-bottom: 1px solid var(--hl-line);
        border-right: 0;
        padding: 1.2rem 0;
    }

    .admin-home .contenido__header {
        height: auto;
    }

    .admin-home .contenido__header__empresa {
        align-items: flex-start;
        flex-direction: column-reverse;
        gap: 2rem;
    }

    .admin-home .contenido__header__empresa img {
        width: 14rem;
    }

    .admin-home .contenido__body {
        margin-top: 0;
        padding-top: 4rem;
    }

    .admin-home__heading {
        grid-template-columns: 1fr;
    }

    .admin-home .admin-home__logout {
        grid-column: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .theme-editorial *,
    .theme-editorial *::before,
    .theme-editorial *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .motion-ready .editorial-reveal {
        opacity: 1;
        transform: none;
    }

}
