﻿/* styles.css - base funcional del motor Unique */

/* Variables base. La marca puede sobrescribirlas en Tema/theme.css. */
:root {
    --bg: #ffffff;
    --text: #0e141b;
    --muted: #5b6774;
    --line: #e6e9ee;
    --primary: #1f6fe5;
    --primary2: #0b3a99;
    --teal: #0b8f7a;
    --shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    --radius: 16px;
    --container: 1160px;
    /* Aliases para compatibilidad con Unique */
    --color-black: var(--text);
    --color-white: var(--bg);
    --color-gray: var(--muted);
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top, rgba(31, 111, 229, 0.08), transparent 28%),
        linear-gradient(180deg, #fbfcfe 0%, #f3f6fb 100%);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow: hidden;
}

/* Header al estilo empresa: sticky, borde inferior, limpio */
header {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    color: var(--text);
    padding: 0;
    box-shadow: 0 10px 30px rgba(11, 28, 52, 0.05);
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 18px;
    min-height: 78px;
    padding: 12px 24px;
}

.header-brand {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    text-decoration: none;
}

.header-brand__logo {
    display: block;
    height: 38px;
    width: auto;
    object-fit: contain;
}

.header-nav {
    position: static;
    transform: none;
    width: auto;
    flex: 1 1 auto;
    display: flex;
    justify-content: flex-start;
    min-width: 0;
}

.header-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex: 0 0 auto;
    min-height: 48px;
    min-width: 198px;
    padding: 0 16px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #2f8f77, #47ab85);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(24, 136, 100, 0.2);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.header-contact[hidden] {
    display: none;
}

.header-contact:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(24, 136, 100, 0.24);
    filter: saturate(1.02);
}

.header-contact__label {
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}

.header-contact__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    flex: 0 0 auto;
}

.header-contact__icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

/* Barra de botones nivel 1: estilo nav / pills */
.level1-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    width: 100%;
    padding: 10px 8px;
    margin-left: 0;
    overflow: visible;
    position: relative;
    z-index: 2;
}

.level1-buttons .button {
    margin: 0;
    flex: 0 0 auto;
}

/* Barras de botones nivel 2 y 3 */
.level-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    position: relative;
    z-index: 1;
}

.level-buttons .button {
    margin: 0;
}

#level2-buttons {
    display: none;
}

#level3-buttons {
    display: none;
}

#level2-buttons.level-buttons--popup.is-open {
    display: flex;
}

#level3-buttons.level-buttons--popup.is-open {
    display: flex;
}

.level-buttons--popup {
    display: none;
    position: fixed;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(31, 111, 229, 0.12);
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(8, 17, 31, 0.14);
    z-index: 120;
    transform-origin: top left;
    will-change: opacity, transform;
}

.level-buttons--popup.is-open {
    display: flex;
}

.level-buttons--popup .button.level2 {
    width: 100%;
    justify-content: flex-start;
    white-space: nowrap;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    will-change: transform, opacity;
}

.level-buttons--popup .button.level3 {
    width: 100%;
    justify-content: flex-start;
    white-space: nowrap;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    will-change: transform, opacity;
}

.subcategory-switcher {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    min-height: 52px;
    padding: 8px 22px 8px calc(22px + 320px + 22px);
    background: rgba(255, 255, 255, 0.72);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 18px rgba(11, 28, 52, 0.03);
    position: relative;
    z-index: 35;
}

.subcategory-switcher[hidden] {
    display: none;
}

.subcategory-switcher__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    max-width: min(420px, 45vw);
    padding: 0 16px;
    border: none;
    border-radius: 0;
    background: transparent;
    color: #0e141b;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: color 0.18s ease, background-color 0.18s ease;
}

.subcategory-switcher__button[hidden] {
    display: none;
}

.subcategory-switcher__button::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 0;
    height: 2px;
    background: #0e141b;
}

.subcategory-switcher__button:hover,
.subcategory-switcher__button[aria-expanded="true"] {
    background: rgba(31, 111, 229, 0.06);
    color: #0e141b;
}

.subcategory-switcher__label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.subcategory-switcher__chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    transition: transform 0.18s ease;
}

.subcategory-switcher__button[aria-expanded="true"] .subcategory-switcher__chevron {
    transform: rotate(180deg);
}

.subcategory-switcher__chevron svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
    padding: 22px;
    background: linear-gradient(180deg, #fbfcfe 0%, #f4f7fb 100%);
}

.top-level {
    display: flex;
    flex: 1;
    flex-direction: row;
    gap: 22px;
    overflow: hidden;
    min-height: 0;
    align-items: stretch;
}

.top-level.home-view {
    display: block;
    overflow: hidden;
}

.top-level.home-view .lateral-buttons {
    display: none;
}

.top-level.home-view #content-area {
    display: block;
    overflow: hidden;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

/* Panel lateral: estilo sidebar empresa (bordes redondeados, lÃ­nea) */
.lateral-buttons {
    width: 320px;
    min-width: 320px;
    background: #ffffff;
    padding: 18px 18px 20px;
    overflow-y: auto;
    border: 1px solid rgba(31, 111, 229, 0.09);
    border-radius: 26px;
    background-clip: padding-box;
    box-shadow: 0 10px 22px rgba(11, 28, 52, 0.05);
}

.lateral-buttons {
    scrollbar-color: #0f5092 rgba(15, 80, 146, 0.08);
    scrollbar-width: thin;
}

.lateral-buttons::-webkit-scrollbar {
    width: 10px;
}

.lateral-buttons::-webkit-scrollbar-track {
    background: rgba(15, 80, 146, 0.08);
    border-radius: 999px;
}

.lateral-buttons::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #2d6db0, #0f5092);
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.75);
}

.lateral-buttons::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #3a7cc0, #0f5092);
}

#content-area {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    overflow: hidden;
    padding: 28px;
    background: #ffffff;
    color: var(--text);
    min-height: 0;
    border: 1px solid rgba(31, 111, 229, 0.09);
    border-radius: 28px;
    background-clip: padding-box;
    box-shadow: 0 12px 26px rgba(11, 28, 52, 0.05);
}

#content-area > * {
    flex: 1 1 auto;
    height: 100%;
}

#content-area > .category-content {
    flex: 1 1 auto;
    height: 100%;
    overflow-y: auto;
}

/* --- Botones: estilo sencillo (blanco, texto negro, sin formas) como nivel 2 --- */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid var(--line);
    cursor: pointer;
    background: var(--bg);
    color: var(--text);
    transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
    position: relative;
    overflow: hidden;
}

/* Evitar que el ripple haga crecer el botÃ³n al hacer clic */
.button .ripple {
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.08);
    transform: scale(0);
    animation: ripple-fade 0.6s ease-out;
}

.subcategory-switcher__button .ripple {
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.08);
    transform: scale(0);
    animation: ripple-fade 0.6s ease-out;
}

@keyframes ripple-fade {
    to {
        transform: scale(2);
        opacity: 0;
    }
}

/* Nivel 1, 2 y 3: mismo estilo (blanco, letras negras, borde sutil) */
.button.level1,
.button.level2,
.button.level3 {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: 12px;
}

.button.level1 {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 12px 18px 14px;
    position: relative;
    box-shadow: none;
}

.button.level1::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 1px;
    height: 28px;
    background: #d4dae3;
    transform: translateY(-50%);
}

.button.level1::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 0;
    height: 2px;
    background: #0e141b;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.18s ease;
}

.button.level1:hover,
.button.level2:hover,
.button.level3:hover {
    background: rgba(31, 111, 229, 0.06);
    border-color: rgba(31, 111, 229, 0.25);
    color: var(--text);
}

.button.level1:hover {
    background: transparent;
    border-color: transparent;
    color: #0e141b;
}

.button.level1.active,
.button.level2.active,
.button.level3.active {
    background: rgba(31, 111, 229, 0.12);
    color: var(--text);
    border-color: rgba(31, 111, 229, 0.4);
}

.button.level1.active {
    background: transparent;
    border-color: transparent;
    color: #0e141b;
}

.button.level1.active::after {
    transform: scaleX(1);
}

.level-buttons--popup .button.level2,
.level-buttons--popup .button.level3 {
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

.level-buttons--popup .button.level2:hover,
.level-buttons--popup .button.level3:hover,
.level-buttons--popup .button.level2.active,
.level-buttons--popup .button.level3.active {
    border: none;
    border-radius: 0;
    background: rgba(31, 111, 229, 0.06);
}

.level-buttons--popup .button.level2::after,
.level-buttons--popup .button.level3::after {
    content: "";
    position: absolute;
    left: 10%;
    right: 10%;
    bottom: 0;
    height: 1px;
    background: rgba(14, 20, 27, 0.14);
    transform: none;
}

.level-buttons--popup .button.level2:last-child::after,
.level-buttons--popup .button.level3:last-child::after {
    display: none;
}

/* Laterales: estilo nav__link / sidebar link */
.button.lateral {
    display: block;
    width: 100%;
    margin: 8px 0;
    text-align: left;
    padding: 14px 54px 14px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.6);
    color: #26344d;
    font-weight: 600;
    font-size: 15px;
    border: 1px solid transparent;
    border-left: 4px solid transparent;
    box-shadow: 0 6px 18px rgba(11, 28, 52, 0.03);
}

.button-lateral__lead {
    display: inline-flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
    max-width: 100%;
}

.button-lateral__icon {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    color: #7b8da6;
    margin-top: 1px;
}

.button-lateral__icon svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.button-lateral__text {
    display: block;
    min-width: 0;
    line-height: 1.35;
}

.button-lateral__state {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    border-radius: 8px;
    border: 1.5px solid rgba(123, 141, 166, 0.55);
    background: rgba(255, 255, 255, 0.96);
    opacity: 0;
    transition: opacity 0.18s ease, border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.button-lateral__check {
    position: absolute;
    left: 6px;
    top: 3px;
    width: 7px;
    height: 11px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
}

.button.lateral:hover {
    background: rgba(31, 111, 229, 0.06);
    border-color: rgba(31, 111, 229, 0.1);
}

.button.lateral.active {
    background: linear-gradient(135deg, rgba(237, 244, 255, 0.96), rgba(230, 246, 241, 0.92));
    color: #18324b;
    border-color: rgba(15, 80, 146, 0.16);
    border-left: 4px solid #0f5092;
    box-shadow: 0 10px 24px rgba(15, 80, 146, 0.08);
}

.button.lateral.active .button-lateral__icon {
    color: #0f5092;
}

.button.lateral.active .button-lateral__state {
    opacity: 1;
    border-color: #0f5092;
    background: linear-gradient(135deg, #2d6db0, #0f5092);
}

.lateral-buttons #print-version-button {
    display: block;
    width: 100%;
    margin: 16px 0 10px;
    padding: 0 18px;
    min-height: 58px;
    border-radius: 18px;
    border: 1px solid rgba(31, 111, 229, 0.12);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 253, 0.96));
    color: #23344d;
    box-shadow: 0 12px 26px rgba(11, 28, 52, 0.08);
}

.lateral-buttons #print-version-button:hover {
    background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(241, 247, 252, 1));
    border-color: rgba(31, 111, 229, 0.18);
    box-shadow: 0 16px 30px rgba(11, 28, 52, 0.11);
}

.lateral-buttons #print-version-button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    box-shadow: none;
}

.print-button__lead {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
}

.print-button__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: #24a56c;
    flex: 0 0 auto;
}

.print-button__icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.print-button__text {
    display: inline-flex;
    align-items: center;
    color: #23344d;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.2;
    white-space: nowrap;
}


/* Contenido: imÃ¡genes, video, audio */
#content-area img,
#content-area embed,
#content-area video,
#content-area iframe {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    margin: 0;
}

#content-area img {
    flex: 0 0 auto;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    align-self: center;
    margin: auto;
}

#content-area video {
    flex: 0 0 auto;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    align-self: center;
    margin: auto;
    display: block;
    background: #000;
}

#content-area .media-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#content-area .media-video {
    flex: 0 0 auto;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
    margin: 0;
    display: block;
}

#content-area audio {
    width: 100%;
    align-self: center;
}

#content-area .audio-box {
    --audio-player-gap: 14px;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto auto;
    gap: var(--audio-player-gap);
    align-items: center;
    width: 100%;
    height: 100%;
    min-height: 0;
    overflow: hidden;
}

#content-area .audio-cover {
    align-self: center;
    justify-self: center;
    width: 100%;
    height: 100%;
    min-height: 0;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

#content-area .audio-player {
    align-self: end;
    width: 100%;
    min-height: 40px;
}

#content-area .audio-fallback {
    margin-top: 0 !important;
}

.category-content {
    display: block;
    width: 100%;
    color: #26344d;
    padding: 18px 32px 40px;
}

.category-content__hero {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
    gap: 42px;
    align-items: center;
    padding-bottom: 28px;
    border-bottom: 1px solid #dbe3ee;
}

.category-content__copy {
    min-width: 0;
}

.category-content__eyebrow {
    margin: 0 0 10px;
    color: #0f5092;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.category-content h1 {
    margin: 0;
    color: #1e293b;
    font-size: 52px;
    line-height: 1.05;
    font-weight: 800;
}

.category-content h2 {
    margin: 12px 0 20px;
    color: #697386;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 750;
}

.category-content p {
    max-width: 760px;
    color: #4b5b73;
    font-size: 17px;
    line-height: 1.55;
}

.category-content__media {
    margin: 0;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(31, 111, 229, 0.12);
    box-shadow: 0 14px 30px rgba(11, 28, 52, 0.10);
}

#content-area .category-content__media img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: cover;
    margin: 0;
}

.category-content__section {
    padding: 26px 0 0;
}

.category-content__section h3 {
    margin: 0 0 14px;
    color: #06152b;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 800;
}

.category-content ul {
    margin: 0;
    padding-left: 22px;
}

.category-content li {
    margin: 8px 0;
    color: #1f2d44;
    font-size: 16px;
    line-height: 1.45;
}

.category-content li::marker {
    color: #0f5092;
}

.category-content summary::marker {
    color: #0f5092;
}

.category-content summary::-webkit-details-marker {
    color: #0f5092;
}

.category-content a {
    color: #0f5092;
    font-weight: 750;
    text-decoration: none;
}

.category-content a:hover {
    text-decoration: underline;
}

.category-content__available-group {
    margin-top: 18px;
}

.category-content__available-group:first-of-type {
    margin-top: 0;
}

.category-content__available h4 {
    margin: 0 0 8px;
    color: #10233d;
    font-size: 16px;
    line-height: 1.25;
    font-weight: 800;
}

.category-content strong {
    color: #006852;
    font-weight: 800;
}

.category-content__cta {
    margin-top: 24px;
    padding: 20px 24px;
    border: 1px solid rgba(11, 143, 122, 0.22);
    border-radius: 8px;
    background: rgba(11, 143, 122, 0.06);
}

.category-content__cta h3,
.category-content__cta p {
    margin-top: 0;
}


/* Carrusel: colores y bordes empresa */
.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: grid;
    touch-action: pan-y;
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.carousel-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 12px 14px;
    color: var(--primary);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--line);
    border-radius: 12px;
    font-weight: 700;
    box-shadow: var(--shadow);
    transition: background 0.18s ease, color 0.18s ease;
}

.prev:hover,
.next:hover {
    background: var(--primary);
    color: #fff;
}

.prev {
    left: 12px;
}

.next {
    right: 12px;
}

.dot-container {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 12px;
    text-align: center;
}

.dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 4px;
    border-radius: 999px;
    background: var(--line);
    cursor: pointer;
    transition: background 0.2s ease;
}

.dot:hover {
    background: var(--muted);
}

.dot.active {
    background: var(--primary);
}

.home-embed {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 720px;
    border: 0;
    border-radius: 28px;
    background: #ffffff;
}

@media (max-width: 800px) {
    .header-content {
        min-height: 70px;
        padding: 10px 14px;
    }

    .header-brand__logo {
        height: 30px;
    }

    .header-nav {
        position: static;
        transform: none;
        flex: 1 1 auto;
        justify-content: flex-start;
        min-width: 0;
    }

    .header-contact {
        min-height: 46px;
        min-width: auto;
        padding: 0 16px;
        font-size: 14px;
    }

    .level1-buttons {
        justify-content: flex-start;
        padding: 8px 0 8px 12px;
    }

    .level-buttons--popup {
        left: 12px !important;
        right: 12px;
        min-width: 0 !important;
        width: auto;
    }

    #level3-buttons.level-buttons--popup {
        left: 12px !important;
        right: 12px;
        min-width: 0 !important;
        width: auto;
    }

    .subcategory-switcher {
        min-height: 48px;
        padding: 6px 14px;
    }

    .subcategory-switcher__button {
        width: 100%;
        justify-content: space-between;
        max-width: none;
        padding: 0 14px;
    }

    main {
        padding: 14px;
    }

    .top-level {
        gap: 14px;
        flex-direction: column;
    }

    .lateral-buttons {
        width: 100%;
        min-width: 0;
        max-height: 42vh;
    }

    #content-area {
        padding: 18px;
        border-radius: 22px;
    }

    .category-content {
        padding: 8px 4px 26px;
    }

    .category-content__hero {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .category-content h1 {
        font-size: 36px;
    }

    .category-content h2 {
        font-size: 22px;
    }

    .category-content p,
    .category-content li {
        font-size: 15px;
    }

    .home-embed {
        min-height: 560px;
        border-radius: 22px;
    }
}


