:root {
    --content-blue: #0077d3;
    --content-navy: #003865;
    --content-surface: #eaf6fb;
    --content-line: #c8dee8;
    --content-text: #20262d;
    --content-muted: #66717a;
}

#hero.hero--content-room {
    min-height: 400px;
}

#hero.hero--content-room #nuevo-texto {
    top: 62%;
}

#hero.hero--content-room #nuevo-texto h1 {
    font-size: clamp(2.25rem, 4vw, 4.2rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-bottom: 1.1rem;
}

.content-hero-breadcrumb {
    align-items: center;
    display: flex;
    font-size: 0.7rem;
    font-weight: 700;
    gap: 0.55rem;
    justify-content: center;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.content-hero-breadcrumb a,
.content-hero-breadcrumb span {
    color: #fff;
}

#hero.hero--content-room #nuevo-texto .content-hero-breadcrumb span {
    background: none;
    border-radius: 0;
    color: #a6b2c2;
    font-size: inherit;
    font-weight: 400;
    line-height: inherit;
    padding: 0;
}

.content-hero-breadcrumb i {
    background: #f9b814;
    border-radius: 50%;
    height: 5px;
    width: 5px;
}

.content-room-main,
.content-single-main {
    background: var(--content-surface);
    color: var(--content-text);
    overflow-x: hidden;
}

.content-room-main *,
.content-single-main * {
    box-sizing: border-box;
}

.content-room-main {
    padding: 4.2rem 0 5.5rem;
}

.content-single-main {
    padding: 1.4rem 0 5rem;
}

.content-room-container {
    box-sizing: border-box;
    margin: 0 auto;
    max-width: 1328px;
    min-width: 0;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    width: 100%;
}

.content-room-intro {
    align-items: center;
    border-bottom: 1px solid var(--content-line);
    display: flex;
    gap: 2rem;
    justify-content: space-between;
    padding-bottom: 2.25rem;
}

.content-room-intro__copy {
    align-items: baseline;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    min-width: 0;
}

.content-room-intro__copy h1,
.content-room-intro__copy p {
    line-height: 1.12;
    margin: 0;
}

.content-room-intro__copy h1 {
    font-size: clamp(1.55rem, 2.4vw, 2.2rem);
    font-weight: 800;
}

.content-room-intro__copy p {
    color: #505b64;
    font-size: clamp(1.35rem, 2.2vw, 2rem);
    font-weight: 300;
    overflow-wrap: anywhere;
}

.content-room-search {
    align-items: center;
    background: #fff;
    border: 1px solid #d8e1e6;
    border-radius: 999px;
    display: flex;
    flex: 0 0 min(100%, 300px);
    position: relative;
    z-index: 4;
}

.content-room-search input {
    background: transparent;
    border: 0;
    color: var(--content-text);
    flex: 1;
    font-size: 0.85rem;
    min-width: 0;
    outline: 0;
    padding: 0.8rem 0 0.8rem 1.15rem;
}

.content-room-search input::placeholder {
    color: #929ca4;
}

.content-room-search:focus-within {
    border-color: var(--content-blue);
}

.content-room-search button {
    align-items: center;
    color: var(--content-blue);
    display: flex;
    flex: 0 0 2.85rem;
    justify-content: center;
}

.content-room-search img {
    height: 23px;
    width: 23px;
}

.content-search-suggestions {
    background: var(--content-navy);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 1rem;
    box-shadow: 0 14px 34px rgba(0, 42, 75, 0.3);
    color: #fff;
    left: 0;
    max-height: 25rem;
    overflow-y: auto;
    padding: 0.55rem;
    position: absolute;
    right: 0;
    top: calc(100% + 0.5rem);
}

.content-search-suggestions[hidden] {
    display: none;
}

.content-search-suggestions__heading {
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    margin: 0;
    padding: 0.55rem 0.65rem 0.35rem;
    text-transform: uppercase;
}

.content-search-suggestions__item {
    align-items: center;
    border-radius: 0.7rem;
    color: #fff;
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
    padding: 0.65rem;
}

.content-search-suggestions__item:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 0;
}

.content-search-suggestions > div + div {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    margin-top: 0.4rem;
    padding-top: 0.35rem;
}

.content-search-suggestions__item:hover,
.content-search-suggestions__item:focus-visible,
.content-search-suggestions__item.is-active {
    background: var(--content-blue);
    outline: none;
}

.content-search-suggestions__item > span:first-child {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.content-search-suggestions__item strong {
    font-size: 0.78rem;
    line-height: 1.25;
}

.content-search-suggestions__item small {
    color: #d7eaf4;
    font-size: 0.68rem;
    line-height: 1.3;
    margin-top: 0.2rem;
}

.content-search-suggestions__meta {
    color: #8ed7ff;
    flex: 0 0 auto;
    font-size: 0.62rem;
    font-weight: 700;
}

.content-search-suggestions__empty {
    color: #d7eaf4;
    font-size: 0.75rem;
    margin: 0;
    padding: 0.85rem 0.65rem;
}

.content-room-filters {
    align-items: flex-end;
    display: flex;
    gap: 2rem;
    justify-content: space-between;
    padding: 2.2rem 0 3rem;
}

.content-room-filters h2 {
    font-size: 0.9rem;
    font-weight: 800;
    margin: 0 0 0.8rem;
}

.content-room-type-filter {
    align-items: center;
    display: flex;
    flex-shrink: 0;
    gap: 0.6rem;
}

.content-room-type-filter label {
    font-size: 0.72rem;
    font-weight: 700;
}

.content-room-type-filter select {
    background: #fff;
    border: 1px solid #b9d1df;
    border-radius: 999px;
    color: #53616c;
    cursor: pointer;
    font-size: 0.72rem;
    min-height: 2.4rem;
    padding: 0.4rem 1.7rem 0.4rem 0.8rem;
}

.content-filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.content-filter-pills a {
    background: #d3d7da;
    border-radius: 999px;
    color: #6a7075;
    display: inline-flex;
    font-size: 0.72rem;
    font-weight: 700;
    justify-content: center;
    line-height: 1;
    min-width: 7.4rem;
    padding: 0.65rem 1rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.content-filter-pills a:hover,
.content-filter-pills a:focus-visible,
.content-filter-pills a.is-active {
    background: var(--content-blue);
    color: #fff;
}

.content-room-category-dropdown {
    display: none;
    position: relative;
    width: 100%;
    z-index: 3;
}

.content-room-category-dropdown summary {
    align-items: center;
    background: #fff;
    border: 1px solid #b9d1df;
    border-radius: 999px;
    color: #53616c;
    cursor: pointer;
    display: flex;
    font-size: 0.75rem;
    justify-content: space-between;
    list-style: none;
    min-height: 2.8rem;
    padding: 0.65rem 1.2rem;
    user-select: none;
}

.content-room-category-dropdown summary::-webkit-details-marker {
    display: none;
}

.content-room-category-dropdown summary::after {
    border-bottom: 2px solid var(--content-navy);
    border-right: 2px solid var(--content-navy);
    content: '';
    height: 0.45rem;
    margin: -0.2rem 0.15rem 0 1rem;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
    width: 0.45rem;
}

.content-room-category-dropdown[open] summary {
    border-color: var(--content-blue);
}

.content-room-category-dropdown[open] summary::after {
    margin-top: 0.25rem;
    transform: rotate(225deg);
}

.content-room-category-dropdown summary:focus-visible {
    outline: 2px solid var(--content-blue);
    outline-offset: 2px;
}

.content-room-category-options {
    background: var(--content-navy);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 1rem;
    box-shadow: 0 14px 34px rgba(0, 42, 75, 0.3);
    left: 0;
    margin-top: 0.45rem;
    overflow: hidden;
    padding: 0.45rem;
    position: absolute;
    right: 0;
    top: 100%;
}

.content-room-category-options a {
    color: #fff;
    display: block;
    font-size: 0.75rem;
    padding: 0.72rem 0.8rem;
}

.content-room-category-options a:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.content-room-category-options a:hover,
.content-room-category-options a:focus-visible,
.content-room-category-options a.is-active {
    background: var(--content-blue);
    border-radius: 0.65rem;
    outline: none;
}

.content-card-grid {
    display: grid;
    gap: 2rem 1.7rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.content-card {
    background: #fff;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
}

.content-card__image {
    aspect-ratio: 16 / 9;
    display: block;
    margin: 0.85rem 0.85rem 0;
    overflow: hidden;
    border-radius: 0.85rem;
}

.content-card__image img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    width: 100%;
}

.content-card:hover .content-card__image img {
    transform: scale(1.025);
}

.content-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1rem 1rem 1.25rem;
}

.content-card__category,
.content-single-category {
    color: var(--content-blue);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.025em;
    margin: 0;
    text-transform: uppercase;
}

.content-card__meta,
.content-single-meta {
    color: #737d85;
    display: flex;
    flex-wrap: wrap;
    font-size: 0.6rem;
    font-weight: 600;
    gap: 0.45rem;
    letter-spacing: 0.025em;
    margin: 0.4rem 0 0.8rem;
    text-transform: uppercase;
}

.content-card__title {
    color: #252c31;
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.2;
    margin: 0 0 0.7rem;
}

.content-card__title a:hover,
.content-card__title a:focus-visible {
    color: var(--content-blue);
}

.content-card__excerpt {
    color: #657078;
    font-size: 0.75rem;
    line-height: 1.35;
    margin: 0 0 1rem;
}

.content-card__link {
    color: #004a7f;
    font-size: 0.72rem;
    font-weight: 800;
    margin-top: auto;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.content-video-section {
    border-bottom: 1px solid var(--content-line);
    border-top: 1px solid var(--content-line);
    margin: 3.5rem 0;
    padding: 2.4rem 0 3.3rem;
}

.content-section-heading {
    margin-left: auto;
    margin-right: auto;
    max-width: 1120px;
}

.content-section-heading h2 {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0 0 1.4rem;
}

.content-video-shell {
    margin-left: auto;
    margin-right: auto;
    max-width: 1120px;
    position: relative;
}

.content-video-viewport {
    -ms-overflow-style: none;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.content-video-viewport::-webkit-scrollbar {
    display: none;
}

.content-video-track {
    display: flex;
    gap: 1.7rem;
}

.content-video-card {
    background: #000;
    border-radius: 1rem;
    box-shadow: 0 2px 6px rgba(0, 42, 75, 0.08);
    color: #fff;
    flex: 0 0 calc((100% - 6.8rem) / 5);
    min-width: 0;
    overflow: hidden;
    position: relative;
}

.content-video-card__media {
    aspect-ratio: 9 / 16;
    background: #000;
    overflow: hidden;
    position: relative;
}

.content-video-card__media::after {
    background: linear-gradient(180deg, transparent 55%, #000 100%);
    content: '';
    inset: 0;
    pointer-events: none;
    position: absolute;
    z-index: 1;
}

.content-video-card video {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.content-video-play {
    color: #fff;
    height: 4.25rem;
    left: 50%;
    padding: 0;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.2s ease, transform 0.2s ease;
    width: 4.25rem;
    z-index: 3;
}

.content-video-play:hover,
.content-video-play:focus-visible {
    transform: translate(-50%, -50%) scale(1.07);
}

.content-video-play svg {
    fill: rgba(0, 24, 44, 0.34);
    height: 100%;
    overflow: visible;
    stroke: currentColor;
    stroke-width: 2.1;
    width: 100%;
}

.content-video-play path {
    fill: #fff;
    stroke: none;
}

.content-video-card__copy {
    background: linear-gradient(180deg, transparent, #000 45%);
    bottom: 0;
    left: 0;
    padding: 2.5rem 1rem 1rem;
    pointer-events: none;
    position: absolute;
    right: 0;
    transition: opacity 0.2s ease;
    z-index: 2;
}

.content-video-card.is-playing .content-video-play,
.content-video-card.is-playing .content-video-card__copy,
.content-video-card.is-playing .content-video-card__media::after {
    opacity: 0;
    pointer-events: none;
}

.content-video-card__copy p {
    font-size: 0.6rem;
    font-weight: 800;
    margin: 0 0 0.25rem;
    text-transform: uppercase;
}

.content-video-card__copy h3 {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.1;
    margin: 0;
}

.content-video-arrow {
    align-items: center;
    background: #00558d;
    border-radius: 50%;
    color: #fff;
    display: flex;
    height: 2.35rem;
    justify-content: center;
    line-height: 1;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2.35rem;
    z-index: 2;
}

.content-video-arrow svg {
    fill: none;
    height: 1.15rem;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.4;
    width: 1.15rem;
}

.content-video-arrow:disabled {
    cursor: default;
    opacity: 0.9;
}

.content-video-arrow--prev {
    left: -3.4rem;
}

.content-video-arrow--next {
    right: -3.4rem;
}

.content-card-grid--after-videos {
    padding-top: 0.5rem;
}

.content-room-empty {
    background: #fff;
    border-radius: 1rem;
    color: var(--content-muted);
    padding: 1.5rem;
}

.content-room-pagination {
    display: flex;
    justify-content: center;
    margin-top: 3.5rem;
}

.content-room-pagination ul.page-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.content-room-pagination ul.page-numbers a,
.content-room-pagination ul.page-numbers span {
    align-items: center;
    background: #fff;
    border-radius: 6px;
    color: #999;
    display: flex;
    font-size: 16px;
    font-weight: 400;
    height: 50px;
    justify-content: center;
    min-width: 50px;
    padding: 0 8px;
}

.content-room-pagination ul.page-numbers span.current {
    background: var(--content-blue);
    color: #fff;
}

.content-room-pagination ul.page-numbers span.dots {
    background: transparent;
}

.content-room-pagination a:hover,
.content-room-pagination a:focus-visible {
    outline: 2px solid var(--content-blue);
    outline-offset: 2px;
}

.content-single-actions {
    align-items: center;
    display: flex;
    justify-content: space-between;
    padding: 0.2rem 0 3.7rem;
}

.content-single-actions a,
.content-single-actions button {
    align-items: center;
    color: #2d363d;
    display: inline-flex;
    font-size: 0.8rem;
    font-weight: 600;
    gap: 0.45rem;
}

.content-single-actions svg {
    fill: none;
    height: 1.15rem;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
    width: 1.15rem;
}

.content-single-layout {
    align-items: start;
    display: grid;
    gap: 3rem;
    grid-template-columns: minmax(0, 3fr) minmax(260px, 1fr);
}

.content-single-article h1 {
    color: #363d43;
    font-size: clamp(2rem, 3.7vw, 3.5rem);
    font-weight: 300;
    letter-spacing: -0.02em;
    line-height: 1.05;
    margin: 0.75rem 0 1rem;
}

.content-single-lead {
    color: #5f6971;
    font-size: 1rem;
    line-height: 1.45;
    margin: 0 0 1.1rem;
}

.content-single-meta {
    margin-bottom: 2rem;
}

.content-single-featured {
    aspect-ratio: 16 / 8;
    border-radius: 1rem;
    margin: 0 0 2.5rem;
    overflow: hidden;
}

.content-single-featured img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.content-single-body {
    color: #59646c;
    font-size: 0.98rem;
    line-height: 1.55;
}

.content-single-body > * + * {
    margin-top: 1.1rem;
}

.content-single-body h2,
.content-single-body h3,
.content-single-body h4 {
    color: #20262d;
    font-weight: 800;
    line-height: 1.2;
    margin-top: 2rem;
}

.content-single-body h2 {
    font-size: 1.55rem;
}

.content-single-body h3 {
    font-size: 1.25rem;
}

.content-single-body ul,
.content-single-body ol {
    padding-left: 1.4rem;
}

.content-single-body a {
    color: var(--content-blue);
    text-decoration: underline;
}

.content-single-body img {
    border-radius: 0.75rem;
    height: auto;
}

.content-single-aside {
    padding-top: 2rem;
}

.content-single-aside > h2 {
    font-size: 1.35rem;
    font-weight: 800;
    margin: 0 0 1.8rem;
}

.content-single-aside__cards {
    display: grid;
    gap: 1.8rem;
}

.content-card--compact .content-card__title {
    font-size: 1.05rem;
}

.content-card--compact .content-card__excerpt {
    font-size: 0.69rem;
}

.content-single-related {
    border-top: 1px solid var(--content-line);
    margin-top: 4.5rem;
    padding-top: 3.5rem;
}

.content-single-related > h2 {
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    font-weight: 800;
    margin: 0 0 2rem;
}

.content-room-contact h2 {
    color: #111;
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 500;
    margin: 0 0 1.7rem;
}

.content-room-contact address {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    font-size: 1.05rem;
    font-style: normal;
    gap: 1rem 2rem;
    justify-content: center;
}

.content-room-contact a {
    color: #2f373d;
}

.content-room-contact strong {
    color: var(--content-blue);
}

@media (max-width: 1390px) {
    .content-video-arrow--prev {
        left: -1.2rem;
    }

    .content-video-arrow--next {
        right: -1.2rem;
    }
}

@media (max-width: 1100px) {
    .content-card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .content-video-card {
        flex-basis: calc((100% - 3.4rem) / 3);
    }

    .content-single-layout {
        grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr);
    }
}

@media (max-width: 820px) {
    #hero.hero--content-room {
        min-height: 320px !important;
    }

    #hero.hero--content-room #nuevo-texto {
        top: 64%;
    }

    .content-room-main {
        padding: 3rem 0 4rem;
    }

    .content-single-main {
        padding: 1.25rem 0 4rem;
    }

    .content-room-container {
        padding-left: 1.1rem;
        padding-right: 1.1rem;
    }

    .content-room-intro,
    .content-room-filters {
        align-items: stretch;
        flex-direction: column;
    }

    .content-room-search {
        flex-basis: auto;
        max-width: 100%;
        width: 100%;
    }

    .content-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .content-video-card {
        flex-basis: calc((100% - 1.7rem) / 2);
    }

    .content-single-layout {
        display: block;
    }

    .content-single-aside {
        border-top: 1px solid var(--content-line);
        margin-top: 3.5rem;
        padding-top: 2.5rem;
    }

    .content-single-aside__cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    #hero.hero--content-room #nuevo-texto h1 {
        font-size: 2rem;
    }

    .content-room-intro__copy {
        display: block;
    }

    .content-room-intro__copy h1 {
        margin-bottom: 0.35rem;
    }

    .content-filter-pills {
        display: none;
    }

    .content-filter-pills a {
        flex: 0 0 auto;
    }

    .content-room-category-dropdown {
        display: block;
    }

    .content-room-type-filter select {
        max-width: 100%;
    }

    .content-search-suggestions {
        max-height: min(60vh, 25rem);
    }

    .content-search-suggestions__item {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.3rem;
    }

    .content-card-grid,
    .content-single-aside__cards {
        grid-template-columns: 1fr;
    }

    .content-video-card {
        flex-basis: 82%;
    }

    .content-video-arrow {
        height: 2.1rem;
        width: 2.1rem;
    }

    .content-video-arrow--prev {
        left: -0.75rem;
    }

    .content-video-arrow--next {
        right: -0.75rem;
    }

    .content-single-actions {
        padding-bottom: 2.5rem;
    }

    .content-single-featured {
        aspect-ratio: 4 / 3;
    }

    .content-room-contact address {
        flex-direction: column;
    }
}
