/*
Theme Name: Zephyr Child
Template: Zephyr
Version: 1.0
Author:	UpSolution
Theme URI: http://zephyr.us-themes.com/
Author URI: http://us-themes.com/
*/
section.l-section:not(.color_alternate, .color_footer-bottom) {
	background: #ffffff;
}


/*  MENÚ PRINCIPAL (escritorio */
.l-header .w-nav.type_desktop {
    --rdi-menu-line: rgba(255, 255, 255, 0.35);
    --rdi-menu-line-h: 40px;   /* Altura de todas las líneas */
        --rdi-menu-gap: clamp(12px, calc((100vw - 1100px) / 26), 32px);  /* 32px en 1920, ~15px en 1500 */
    align-self: stretch;
    display: flex;
}

@media (min-width: 1025px) {

    .l-header .l-subheader.at_middle .l-subheader-h {
        display: flex;
    }

    .l-header .l-subheader.at_middle .l-subheader-cell.at_left,
    .l-header .l-subheader.at_middle .l-subheader-cell.at_right {
        flex: 1 1 0;
        min-width: max-content;
    }

    .l-header .l-subheader.at_middle .l-subheader-cell.at_left {
        justify-content: flex-start;
    }

    .l-header .l-subheader.at_middle .l-subheader-cell.at_right {
        justify-content: flex-end;
    }

    .l-header .l-subheader.at_middle .l-subheader-cell.at_center {
        flex: 0 1 auto;
        position: static !important;
        transform: none !important;
        margin: 0 2rem;   /* Separación mínima con el logo y con la lupa */
    }
}

.l-header .l-subheader.at_middle .l-subheader-cell.at_center,
.l-header .l-subheader.at_middle .l-subheader-cell.at_right {
    align-self: stretch;
}

.l-header .l-subheader.at_middle .l-subheader-cell.at_right>* {
	margin-left: 0;
}

.l-header .w-nav.type_desktop .w-nav-list.level_1 {
    display: flex !important;
    align-items: stretch;
    height: 100%;
    margin: 0;
    padding: 0;
}

.l-header .w-nav.type_desktop .w-nav-list.level_1 > li.level_1 {
    display: flex;
    align-items: center;
    float: none;
}

.l-header .w-nav.type_desktop .w-nav-anchor.level_1 {
    display: flex;
    align-items: center;
    height: 100%;              /* Toda la columna es clicable */
    min-height: 0 !important;
    padding: 0 0.6rem !important;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
}


/*  Líneas divisorias */

.l-header .w-nav.type_desktop li.MtMg,
.l-header .w-nav.type_desktop li.NgMg,
.l-header .w-nav.type_desktop li.YcMg,
.l-header .w-nav.type_desktop li.YcMg + li,
.l-header .w-nav.type_desktop li.js-download-open {
    border-left: 1px solid transparent;
    border-image: linear-gradient(
        to bottom,
        transparent          calc(50% - var(--rdi-menu-line-h) / 2),
        var(--rdi-menu-line) calc(50% - var(--rdi-menu-line-h) / 2),
        var(--rdi-menu-line) calc(50% + var(--rdi-menu-line-h) / 2),
        transparent          calc(50% + var(--rdi-menu-line-h) / 2)
    ) 1;
}


/* Apartados con icono */

.l-header .w-nav.type_desktop li.CnMg { --rdi-menu-icon: url('/wp-content/uploads/2026/10/ConsoleMenu.svg'); }
.l-header .w-nav.type_desktop li.MtMg { --rdi-menu-icon: url('/wp-content/uploads/2026/10/MeetingSMenu.svg'); }
.l-header .w-nav.type_desktop li.NgMg { --rdi-menu-icon: url('/wp-content/uploads/2026/10/NightMenu.svg'); }
.l-header .w-nav.type_desktop li.YcMg { --rdi-menu-icon: url('/wp-content/uploads/2026/10/4YCMenu.svg'); }

.l-header .w-nav.type_desktop li.CnMg,
.l-header .w-nav.type_desktop li.MtMg,
.l-header .w-nav.type_desktop li.NgMg,
.l-header .w-nav.type_desktop li.YcMg {
    justify-content: center;
}

.l-header .w-nav.type_desktop li.CnMg > .w-nav-anchor,
.l-header .w-nav.type_desktop li.MtMg > .w-nav-anchor,
.l-header .w-nav.type_desktop li.NgMg > .w-nav-anchor,
.l-header .w-nav.type_desktop li.YcMg > .w-nav-anchor {
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 0 var(--rdi-menu-gap) !important;
    font-size: 14px;
}

.l-header .w-nav.type_desktop li.CnMg > .w-nav-anchor {
    padding-left: 0 !important;
}

.l-header .w-nav.type_desktop li.CnMg > .w-nav-anchor::before,
.l-header .w-nav.type_desktop li.MtMg > .w-nav-anchor::before,
.l-header .w-nav.type_desktop li.NgMg > .w-nav-anchor::before,
.l-header .w-nav.type_desktop li.YcMg > .w-nav-anchor::before {
    content: "";
    display: block;
    width: 44px;
    height: 30px;
    background-color: currentColor;
    -webkit-mask: var(--rdi-menu-icon) center / contain no-repeat;
    mask: var(--rdi-menu-icon) center / contain no-repeat;
}


/*  Mismo espacio respecto a sus líneas */

/* About RDI (el primero tras 4YC) */
.l-header .w-nav.type_desktop li.YcMg + li > .w-nav-anchor {
    padding-left: var(--rdi-menu-gap) !important;
}

/* Contact (el último antes de Download Area) */
.l-header .w-nav.type_desktop li:has(+ li.js-download-open) > .w-nav-anchor {
    padding-right: var(--rdi-menu-gap) !important;
}


/* Download Area */

.l-header .w-nav.type_desktop li.js-download-open > .w-nav-anchor {
    gap: 8px;
    /* Es el último del bloque centrado: sin espacio extra a la derecha */
    padding: 0 0 0 var(--rdi-menu-gap) !important;
}

.l-header .w-nav.type_desktop li.js-download-open > .w-nav-anchor::before {
    content: "";
    flex: none;
    width: 14px;
    height: 14px;
    background-color: currentColor;
    -webkit-mask: url('/wp-content/uploads/2026/10/downMenu.svg') center / contain no-repeat;
    mask: url('/wp-content/uploads/2026/10/downMenu.svg') center / contain no-repeat;
}


@media (max-width: 1300px) {

    .l-header .w-nav.type_desktop {
        --rdi-menu-gap: 1rem;
    }

    .l-header .w-nav.type_desktop .w-nav-anchor.level_1 {
        padding: 0 0.4rem !important;
        font-size: 11px;
    }

    .l-header .w-nav.type_desktop li.CnMg > .w-nav-anchor,
    .l-header .w-nav.type_desktop li.MtMg > .w-nav-anchor,
    .l-header .w-nav.type_desktop li.NgMg > .w-nav-anchor,
    .l-header .w-nav.type_desktop li.YcMg > .w-nav-anchor {
        font-size: 13px;
    }
}


/* SELECTOR DE IDIOMA */
.l-header .wpml-ls {
    width: auto;
    margin-left: 0.5rem;
    padding: 0;
    border: 0;
}

.l-header .wpml-ls ul {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

.l-header .wpml-ls li {
    margin: 0;
    padding: 0;
}

.l-header .wpml-ls a {
    display: block;
    padding: 0 0.4em;
    border: 0;
    background: none;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
}

.l-header .wpml-ls .wpml-ls-current-language > a,
.l-header .wpml-ls a:hover {
    color: #ffffff;
}

/*  NAVEGACION INTERNA */
/* Ruta del icono flecha ya subido */
:root {
    --arrow-hvr-url: url('http://roomdimensions.groggystudio.com/wp-content/uploads/2026/06/arrow-hvr.svg');
}

nav.w-menu.us_menu_1 > ul.menu {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

nav.w-menu.us_menu_1 > ul.menu > li {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    align-items: start;
    column-gap: 40px;
}

nav.w-menu.us_menu_1 > ul.menu > li > ul.sub-menu {
    border-top: 1px solid #e2e2e2;
}

nav.w-menu.us_menu_1 > ul.menu > li > ul.sub-menu > li {
    border-bottom: 1px solid #e2e2e2;
    position: relative;
}

nav.w-menu.us_menu_1 > ul.menu > li > ul.sub-menu > li > a {
    display: block;
    color: #1a1a1a;
    text-decoration: none;
    padding: 5px 0;
    position: relative;
    transition: background-color 0.25s ease;
}

nav.w-menu.us_menu_1 > ul.menu > li > ul.sub-menu > li > a::before {
    content: "";
    position: absolute;
    left: -25px;
    top: 50%;
    width: 18px;
    height: 14px;
    background-image: var(--arrow-hvr-url);
    background-repeat: no-repeat;
    background-position: left center;
    background-size: contain;
    opacity: 0;
    transform: translate(-6px, -50%);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Hover normal en cualquier item que NO sea el actual */
nav.w-menu.us_menu_1 > ul.menu > li > ul.sub-menu > li:not(.current-menu-item) > a:hover {
    background-color: #f5f5f5;
}

/* Estado por defecto del item de la pagina actual */
nav.w-menu.us_menu_1 > ul.menu > li > ul.sub-menu > li.current-menu-item > a {
    background-color: #efefef;
}

nav.w-menu.us_menu_1 > ul.menu > li > ul.sub-menu > li.current-menu-item > a::before,
nav.w-menu.us_menu_1 > ul.menu > li > ul.sub-menu > li > a:hover::before {
    opacity: 1;
    transform: translate(0, -50%);
}

/* ============ NUEVO: hover exclusivo ============
   Cada rama (Audiovisuals, 4YC VoIP, 4YC Platform...) tiene su propio
   ul.sub-menu, asi que "escuchamos" el hover en ul.menu (el contenedor
   que envuelve TODAS las ramas), no en cada ul.sub-menu por separado.
   Asi, hover en cualquier punto del menu completo apaga el resaltado
   fijo del item actual, salvo que sea precisamente ese item el que
   se esta hoverando. Al salir del menu, recupera su resaltado normal. */
nav.w-menu.us_menu_1 > ul.menu:hover li.current-menu-item:not(:hover) > a {
    background-color: transparent;
}

nav.w-menu.us_menu_1 > ul.menu:hover li.current-menu-item:not(:hover) > a::before {
    opacity: 0;
    transform: translate(-6px, -50%);
}

/*  TABLA DE ESPECIFICACIONES TÉCNICAS */
#Specs .wpb_text_column:not(:last-child) {
	margin-bottom: 5px;
}

#Specs  h6 {
	color: #8C9193;
}

#Specs .cols_1-3 {
	margin-top: 1rem;
}

#Specs .w-image-h {
	border: 1px solid #8e8e8d;
    border-radius: 4px;
    overflow: hidden;      /* recorta la imagen a las esquinas redondeadas */
    box-sizing: border-box;
}

#Specs .w-image-h img {
    display: block;
    border: 0;
    border-radius: 0;
}

#Specs a.w-btn.us-btn-style_2 .w-btn-inner {
    color: #8C9193;
}

#Specs .wpb_text_column + .rdi-specs-table {
	margin-top: 3rem;
}

.rdi-specs-table {
    width: 100%;
}

.rdi-specs-group {
    display: grid;
    grid-template-columns: 1fr 3fr;
    column-gap: 40px;
    padding: 10px 0;
    border-top: 1px solid #CCCBCB;
}

.rdi-specs-group:first-child {
    border-top: 1px solid #CCCBCB;
}

/* ViDEO BG */
#VdBg {
	padding-bottom: 14rem !important;
	padding-top: 14rem !important;
}

/* Contenedor de filas campo/valor */
.rdi-specs-rows {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rdi-specs-row {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    column-gap: 24px;
}

.rdi-specs-group-title {
    font-weight: 800;
    color: #000000;
    font-size: 14px;
}

.rdi-specs-field,
.rdi-specs-value {
    color: #000000;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.2em ;
}
.rdi-specs-group--sin-titulo {
    display: block;
    border-top: none;
    padding: 0;
}
 
/* ...y en su lugar, cada fila individual lleva su propia línea */
.rdi-specs-group--sin-titulo .rdi-specs-rows {
    gap: 0;
}

.rdi-specs-group--sin-titulo {
    display: flex;
    width: 100%; 
    border-top: 0 !important;
}

.rdi-specs-group--sin-titulo .rdi-specs-rows {
    width: 100%;
}
 
.rdi-specs-group--sin-titulo .rdi-specs-row {
    grid-template-columns: 1fr 1fr;
    column-gap: 5fr;
    padding: 16px 0;
    border-top: 1px solid #d9d9d9;
}
 
.rdi-specs-group--sin-titulo .rdi-specs-field {
    font-weight: 600;
    color: #1a1a1a;
}

/*  PAGINA INTERNA */
#ThCl .w-image {
	margin-bottom: 20px;
} 

#ThCl .wpb_text_column:not(:last-child) {
	margin-bottom: 1rem;
}

#ThCl .wpb_text_column h6 {
	color: #8C9193;
}

#ThCl .wpb_text_column p {
	font-size: 12px;
    line-height: 1.5em;
}

#ThCl .w-image {
    border: 1px solid #c7c7c7!important;
	border-radius: 5px;
}

#Port .owl-nav button {
	padding: 3px 6px;
}

#Port article.w-grid-item .w-grid-item-h {
	text-align: center;
}

#Port .w-btn-wrapper.align_right {
	position: relative;
}

/*  BLOG I POST */
#Nw .owl-nav button,
#Crs .owl-nav button{
	padding: 3px 6px;
}

#Nw .w-btn-wrapper.align_right,
#Crs .w-btn-wrapper.align_right {
	position: relative;
}

.full-bleed-right {
    width: 100vw;
    max-width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding-left: max(30px, calc(50vw - 750px));
    padding-right: 0;
    box-sizing: border-box;
}
.full-bleed-right .l-section-h,
.full-bleed-right > * {
    max-width: none;
    margin-left: 0;
}

#Crs img {
	border-radius: 3px;
}

#Pst h3.post_title {
	margin-bottom: 0;
	width: 70%;
}

#Pst .l-section-h.i-cf {
    padding-top: 0;
}

#Pst .CnPst .wpb_text_column {
	width: 65%;
}

/* HOME */
#Hd.l-section.height_huge {
    padding-top: 20rem;
    padding-bottom: 16rem;
}

#FtPrj .usg_hwrapper_1 {
    display: flex;
    justify-content: space-between;
}

#FtPrj article.w-grid-item .w-grid-item-h {
    width: 50%;
}

#FtPrj article.w-grid-item:nth-child(odd) .w-grid-item-h {
    float: right;
}

.rdi-same-ratio .w-post-elm.post_image {
    aspect-ratio: 16 / 9;     
    overflow: hidden;
}

.rdi-same-ratio .w-post-elm.post_image > a,
.rdi-same-ratio .w-post-elm.post_image img {
    display: block;
    width: 100%;
    height: 100%;
}

.rdi-same-ratio .w-post-elm.post_image img {
    object-fit: cover;        /* Llena el recuadro recortando lo que sobra */
    object-position: center;
}

#trssMd {
    overflow: hidden;
}

#trssMd .w-vwrapper h6 {
	font-size: 13px;
	font-weight: 400;
}

/* PROJECTS */
body.single-us_portfolio #Hd.l-section.height_huge {
    padding-top: 10rem;
    padding-bottom: 20rem;
}

#Hd h1.post_title {
    width: 50%;
    float: right;
}

#nfPrj .wpb_text_column {
    width: 65%;
}

#Prjc .w-hwrapper.HdrSrc {
    display: flex;
    justify-content: space-between;
}

#Prjc .w-hwrapper.HdrSrc .w-search {
    width: 200px;
}

#Prjc .w-hwrapper.HdrSrc .w-search input {
    background: #ffffff;
    border: 1px solid #8C9193;
	height: 38px;
	min-height: 38px;
}

#Prjc .w-hwrapper.HdrSrc .w-search .w-search-form-btn.w-btn {
    color: #8C9193;
}

#Prjc .w-grid .w-hwrapper {
    grid-gap: 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr ;
    align-items: center;
}

#Prjc .w-hwrapper p.w-post-elm {
    margin-bottom: 0;
}

#Prjc .w-grid-item-h {
  position: relative;
}

#Prjc .w-grid-item-h::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  pointer-events: none;
  transition: background-color .15s ease;
}

#Prjc .w-grid-item-h:hover::before {
  background-color: rgb(124 124 124 / 30%); 
}

#Prjc .HdrSrc .wpb_text_column {
    margin-bottom: 0 !important;
}

#Prjc { padding-bottom: 0 !important;}

body {
  overflow-x: hidden;
}

body.single-us_portfolio #Nw .us-btn-style_1>.w-btn-inner {
    padding: 0.5em 0.75em;
}

body.single-us_portfolio #Nw .w-btn.with_border_animation::before {
    display: none;
}

.Dbl .txtCl h5 {
	padding-top: 0;
}

/*  FOOTER */
#Ftr {
    padding-bottom: 0;
}

#Ftr .w-image {
    margin-bottom: 2rem;
}

#Ftr .w-image img {
    max-width: 160px;
}

#Ftr .w-iconbox {
    margin-bottom: 10px;
   align-items: flex-start;
}

#Ftr .w-iconbox:last-child {
    margin-bottom: 0;
}

#Ftr .w-iconbox-icon {
    margin-right: 15px;
}

#Ftr .w-iconbox-icon i {
    color: #ffffff;
}

#Ftr .w-iconbox-meta p {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5em;
}

#Ftr .w-socials-list {
    text-align: right;
    margin-bottom: 1rem;
}

#Ftr .w-socials-list .w-socials-item-link {
    border: 2px solid #ffffff;
    background: #2c3e4e !important;
    height: 45px;
    width: 45px;
}

#Ftr .w-socials-list .w-socials-item-link i {
    color: #ffffff;
}

#Ftr .wpcf7 {
    text-align: right;
    float: right;
}

#Ftr .wpcf7 form  {
    width: 320px;
}

#Ftr .wpcf7 .one {
    margin-bottom: 10px;
}

#Ftr .wpcf7 .send .wpcf7-spinner {
    display: none;
}

#Ftr .wpcf7 .send input {
    border-radius: 25px;
}

#Cpr {
    padding-top: 0;
    padding-bottom: 1.5rem;
}

#Cpr a {
    font-size: 14px;
    text-decoration: underline;
}

#Cpr a:hover {
	color: #ffffff;
}

/*  PAGINA CONTACTO */
#Frm .wpcf7 {
    margin-top: 4rem;
    width: 70%;
}

#Frm .wpcf7 .hlf,
#Frm .wpcf7 .one,
#Frm .wpcf7 .oneM {
    margin-bottom: 2rem;
}

#Frm .wpcf7 .hlf p,
#Frm .wpcf7 .one p {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
}

#Frm .wpcf7 .oneM p {
    width: 65%;
}

#Frm .wpcf7 .hlf span {
    margin-top: 0;
}

#Frm .wpcf7 .send input {
    color: #ffffff !important;
    background: #2d3e4e;
}

#Frm .wpcf7 .send input:hover {
    color: #2d3e4e !important;
    background: #ffffff;
}

#ThCl.CrrsL .l-section-h.i-cf {
	width: 85%;
}

#ThCl.CrrsL .has_aspect_ratio img {
	height: 100%;
    object-fit: cover;
}

#ThCl.CrrsL button:hover {
	background: transparent !important;
	opacity: 0.7;
}

#mgFll img {
	width: 100%;
}


/* HERO SLIDER (#Sld) */

#Sld {
    --rdi-hero-h: min(56.25vw, calc(100svh - 300px));
}

section.js-over > .l-section-h {
    padding-top: 0 !important;
}

body.home section.js-over {
    padding-top: 2.5rem !important;
}

/* Quita el 16:9 forzado por "Items Aspect Ratio" */
#Sld .us_post_carousel .w-grid-item-h::before {
    display: none !important;
}

/* Cada imagen ocupa la altura del hero y se recorta sin deformarse */
#Sld .us_post_carousel .w-post-elm.post_image {
    aspect-ratio: auto !important;
    height: var(--rdi-hero-h);
}

#Sld .us_post_carousel .w-post-elm.post_image img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
}

/* Puntos encima de la imagen, abajo (no suman altura) */
#Sld .us_post_carousel .owl-carousel {
    position: relative;
}

#Sld .us_post_carousel .owl-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 24px;
    z-index: 5;
    margin: 0 !important;
}

#Sld .owl-dots span {
    background-color: rgba(255, 255, 255, 0.6);
	opacity: 1;
}

#Sld .owl-dots .active span {
    background-color: #ffffff !important;
}

/* Título centrado encima del slider, fuera del flujo */
#Sld .vc_column-inner {
    position: relative;
}

#Sld .wpb_text_column.js-reveal {
    position: absolute !important;
    top: 50% !important;
    left: 50px !important;
    right: 0 !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    padding: 0 1.5rem;
    z-index: 4;
    pointer-events: none; /* deja pasar el arrastre y las flechas */
}

#Sld .wpb_text_column.js-reveal h1 {
    margin: 0;
	color: #ffffff !important;
}

#Sld,
#Sld > .l-section-h {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Tablet */
@media only screen and (max-width: 1024px) {
    #Sld { --rdi-hero-h: min(56.25vw, 70svh); }
}

/* Móvil: el 16:9 se queda muy bajo, mejor una altura fija */
@media only screen and (max-width: 767px) {
    #Sld { --rdi-hero-h: 65svh; }
}

/* Copias del carrusel (Owl, loop infinito) */
.js-anim .owl-item.cloned .js-mask,
.js-anim .owl-item.cloned .js-mask-grid .w-post-elm.post_image {
	opacity: 1 !important;
}

.js-anim .owl-item.cloned .js-mask > a,
.js-anim .owl-item.cloned .js-mask .w-image-h,
.js-anim .owl-item.cloned .js-mask img,
.js-anim .owl-item.cloned .js-mask-grid .w-post-elm.post_image > a {
	transform: none !important;
}

.js-anim .owl-item.cloned .w-grid-item-h > * {
	opacity: 1 !important;
	transform: none !important;
}

.js-anim .owl-item.cloned .js-reveal,
.js-anim .owl-item.cloned .js-reveal .line-inner {
	opacity: 1 !important;
	transform: none !important;
}
.js-anim .owl-item.cloned .js-reveal-block,
.js-anim .owl-item.cloned .js-reveal-block * {
	opacity: 1 !important;
	transform: none !important;
}

/* Miniatura de vista previa en el índice (Consoles, Nightingale...).. */
.rdi-menu-thumb {
    display: none;
}

@media (min-width: 1025px) and (hover: hover) {

    nav.w-menu.us_menu_1 > ul.menu > li > ul.sub-menu {
        position: relative;
    }

    /* Las filas dejan de ser la referencia: todas las miniaturas se
       colocan en el mismo sitio, respecto al submenú entero. */
    nav.w-menu.us_menu_1 > ul.menu > li > ul.sub-menu > li {
        position: static;
    }

    nav.w-menu.us_menu_1 .rdi-menu-thumb {
        display: block;
        position: absolute;
        top: 0;
        right: calc(100% + 40px);         /* 40px = column-gap: a la izquierda de la flecha */
        width: clamp(160px, 16vw, 240px); /* Se encoge en portátiles pequeños */
        aspect-ratio: 16 / 9;
        border-radius: 4px;
        overflow: hidden;
        pointer-events: none;
        opacity: 0;
        transition: opacity 0.35s ease;
    }

    nav.w-menu.us_menu_1 .rdi-menu-thumb img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }


    nav.w-menu.us_menu_1 .sub-menu > li:hover > .rdi-menu-thumb,
    nav.w-menu.us_menu_1 .sub-menu > li:focus-within > .rdi-menu-thumb {
        opacity: 1;
    }
}

body.single-post #PstHd {
    --rdi-news-header: 95px;      /* Alto de la cabecera fija */
    background: #ffffff;
}

/* La imagen empieza justo debajo de la cabecera, sin márgenes laterales */
body.single-post #PstHd > .l-section-h {
    padding: var(--rdi-news-header) 0 0 !important;
}

body.single-post #PstHd .w-image {
    width: 100%;
    margin: 0;
}

/* Franja baja: proporción 6:1 (~250px de alto en 1500px de ancho) */
body.single-post #PstHd .w-image-h {
    aspect-ratio: 6 / 1;
    min-height: 180px;            /* Que no quede demasiado fina en portátiles */
    overflow: hidden;
}

body.single-post #PstHd .w-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;      /* Parte de la foto que se ve: center, top, bottom */
}

/* Móvil: algo más alta, si no la franja queda muy estrecha */
@media (max-width: 767px) {
    body.single-post #PstHd {
        --rdi-news-header: 70px;
    }

    body.single-post #PstHd .w-image-h {
        aspect-ratio: 16 / 9;
        min-height: 0;
    }
}


/*------------------------------------
    1.RESPONSIVE :: Mobile
------------------------------------*/
@media only screen and (max-width: 767px) {

    #FtPrj article.w-grid-item .w-grid-item-h { width: 100%;}
    #FtPrj .usg_hwrapper_1 { flex-direction: column;}

    #Ftr { padding-top: 2rem; }
    #Ftr .wpcf7 { text-align: center; float: initial;}
    #Ftr .wpcf7 form { width: 100%; margin: 0 auto;}
    #Ftr .wpcf7 .send input { font-size: 14px; padding: 10px 0; width: 100%;}
    #Ftr .w-socials-list,
    #Ftr .w-image-h { text-align: center;}
    #Ftr .w-iconbox { max-width: 270px; margin: 0 auto 10px;}
    #Cpr { padding-bottom: 2rem;}

    #Frm .wpcf7 { width: 100%;}
    #Frm .wpcf7 .hlf p, 
    #Frm .wpcf7 .one p { grid-template-columns: 1fr; grid-gap: 10px;}
    #Frm .wpcf7 .hlf, 
    #Frm .wpcf7 .one, 
    #Frm .wpcf7 .oneM { margin-bottom: 10px;}
    #Frm .wpcf7 .oneM p { width: 100%;}
    #Frm .wpcf7 .one span, 
    #Frm .wpcf7 .oneM span { margin-top: 0; }

    #page-header ul.w-nav-list { background: #2c3e50;padding-bottom: 20px !important; padding-top: 10px important;}

    #trssMd { padding-bottom: 2.5rem !important; }
    #trssMd .cols_2 { margin-top: 2rem !important;  grid-gap: 2.5rem !important; }
    #trssMd .w-vwrapper { margin-bottom: 2rem !important; }

    #Hd.js-stick.l-section {
        height: 80svh !important;
        min-height: 80svh !important;
        max-height: 80svh !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        display: flex !important;
        align-items: center !important;
    }

    #LnkTo nav.w-menu.us_menu_1 > ul.menu > li { display: flex;flex-direction: column; grid-gap: 20px;}
    #LnkTo nav.w-menu.us_menu_1 > ul.menu > li > ul.sub-menu { margin-left: 0; width: 100%;}
    #LnkTo nav.w-menu.us_menu_1 .menu-item-has-children > a { text-transform: uppercase; font-weight: 600;}
    #LnkTo nav.w-menu.us_menu_1 > ul.menu > li > ul.sub-menu > li.current-menu-item > a::before, 
    #LnkTo nav.w-menu.us_menu_1 > ul.menu > li > ul.sub-menu > li > a:hover::before { display: none;  }

    .Dbl .txtCl { order: 2; }
    .Dbl .mgCl { order: 1; }

    .rdi-specs-group { margin-top: 15px; }
    .rdi-specs-row { display: flex !important; flex-direction: column !important; gap: 0.25rem; padding-bottom: 0; margin-bottom: ; }
    .rdi-specs-field { width: 100% !important; font-weight: 600;}
    .rdi-specs-value { width: 100% !important;}
    .rdi-specs-group-title { margin-bottom: 1rem;}
    .rdi-specs-field,
    .rdi-specs-value,
    .rdi-specs-group-title {  white-space: normal; word-break: normal; overflow-wrap: break-word; hyphens: none;}

    #Port .mobiles-cols_1 { grid-gap: 2rem !important; }
    #Port { padding-bottom: 3rem; }
    .w-btn-wrapper.align_right { text-align: center !important; }

    #ThCl,
    #Prjc { padding-top: 2.5rem; padding-bottom: 2.5rem; }
    #ThCl p br { display: none; }
	

    #Prjc .w-grid .w-hwrapper {  grid-template-columns: 70% 30% !important; grid-gap: 0.5rem 1rem !important;  }
    #Prjc .w-grid .w-hwrapper > h6.w-post-elm.post_title {  grid-column: 1 / -1 !important;}
    #Prjc .w-grid .w-grid-list { grid-gap: 30px; }
    #Prjc .w-grid .w-grid-item-h:hover .usg_post_image_1 { display: none; }
    #Prjc .w-hwrapper.HdrSrc { flex-direction: column; align-items: flex-start; grid-gap: 7px;}

    #nfPrj .wpb_text_column { width: 100%;}

    #Pst h3.post_title,
    #Pst .CnPst .wpb_text_column { width: 90%;}

    #Prjc .w-grid-item-h::before { top: -3px;}

	
	#ThCl.CrrsL .l-section-h.i-cf {width: 100%;}

    .full-bleed-right { padding-left: 20px !important;}

    #Sld .wpb_text_column.js-reveal h1 { text-align: center !important; line-height: 1.05;  margin: 0; } 
	#Sld .wpb_text_column.js-reveal { left: 0 !important; top: 45% !important; }

    #FtPrj .w-btn-wrapper.align_left { text-align: center !important; }
	
	#ThCl .wpb_text_column h6 { margin-bottom: 10px}
	#ThCl h3 { text-align: center !important;}
	
	#GllryCns  .w-gallery.type_metro_5 .w-gallery-list {grid-template-columns: 100% !important; }
	#GllryCns .w-gallery.type_metro_5 .w-gallery-item:nth-child(5n+1) {  grid-column: 1;}
	
	#Port + #ThCl { padding-top: 0 !important;}

}

/*------------------------------------
    2.RESPONSIVE :: Table
------------------------------------*/
@media only screen and (min-width: 480px) and (max-width: 767px) {

    #Prjc .w-hwrapper.HdrSrc { flex-direction: row;}
    #Prjc .w-hwrapper.HdrSrc .w-search input { height: 34px;  min-height: 34px; font-size: 15px;}



}

@media only screen and (min-width: 601px) and (max-width: 767px) {

    #FtPrj article.w-grid-item .w-grid-item-h { width: 50%;}

    #Ftr .wpcf7 form { width: 250px;}
    #Ftr .wpcf7 .send input { font-size: 13px; padding: 15px 0; width: 100%;}
    #Ftr .w-iconbox-icon { margin-right: 10px;}
    #Ftr .w-iconbox-meta p { font-size: 13px;}

    #LnkTo nav.w-menu.us_menu_1 > ul.menu > li { display: grid; grid-template-columns: 1fr 1.5fr; align-items: start; column-gap: 40px;}
    #LnkTo nav.w-menu.us_menu_1 > ul.menu > li > ul.sub-menu > li.current-menu-item > a::before, 
    #LnkTo nav.w-menu.us_menu_1 > ul.menu > li > ul.sub-menu > li > a:hover::before { display: initial !important;  }
    #LnkTo nav.w-menu.us_menu_1 > ul.menu > li { margin-bottom: 0 !important; }

    .Dbl .cols_2,
    #Specs .cols_1-3 { grid-template-columns: 100%; }

    .rdi-specs-row { flex-direction: row !important;}

    #Pst h3.post_title, 
    #Pst .CnPst .wpb_text_column {  width: 80%; }

    #Frm .wpcf7 .hlf p,
    #Frm .wpcf7 .one p { grid-template-columns: 1fr 1fr; }
    #Frm .wpcf7 .oneM p { width: 75%; }


}

/*------------------------------------
    3.RESPONSIVE :: Medium devices
------------------------------------*/
@media only screen and (min-width: 768px) and (max-width: 900px) {

    #Hd.js-stick.l-section {
        height: 70svh !important;
        min-height: 70svh !important;
        max-height: 70svh !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        display: flex !important;
        align-items: center !important;
    }

    #page-header ul.w-nav-list { background: #2c3e50;padding-bottom: 20px !important; padding-top: 10px important;}

    #Ftr .wpcf7 form { width: 275px;}
    #Ftr .wpcf7 .send input { font-size: 14px; padding: 15px 0; width: 100%;}

    body:not(.single-us_portfolio) .rdi-specs-row { display: flex !important; flex-direction: column !important; gap: 0.25rem; padding-bottom: 0; margin-bottom: ; }
    body:not(.single-us_portfolio) .rdi-specs-field { width: 100% !important; font-weight: 600;}

    #LnkTo nav.w-menu.us_menu_1 > ul.menu > li { margin-bottom: 0 !important; }

    #Prjc article .usg_post_image_1 { width: 130px !important; top: 30px !important;}

    #Pst .CnPst .wpb_text_column { width: 75%;}
	
	#ThCl.CrrsL .l-section-h.i-cf {width: 100%;}


}

/*------------------------------------
    4.RESPONSIVE :: Large devices
------------------------------------*/
@media only screen and (min-width: 901px) and (max-width: 1200px) {


    #Hd.js-stick.l-section {
        height: 70svh !important;
        min-height: 70svh !important;
        max-height: 70svh !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        display: flex !important;
        align-items: center !important;
    }

     #LnkTo nav.w-menu.us_menu_1 > ul.menu > li { margin-bottom: 0 !important; }
    
     #Prjc article .usg_post_image_1 { width: 150px !important; top: 30px !important;} 
	
	#ThCl.CrrsL .l-section-h.i-cf {width: 80%;}

}

@media (min-width: 1025px) {

    .l-header .l-subheader.at_middle .l-subheader-h {
        display: flex;
    }

    /* Logo y lupa ocupan solo lo que miden */
    .l-header .l-subheader.at_middle .l-subheader-cell.at_left,
    .l-header .l-subheader.at_middle .l-subheader-cell.at_right {
        flex: 0 0 auto;
        min-width: 0;
    }

    /* El menú se centra en el espacio que queda entre los dos */
    .l-header .l-subheader.at_middle .l-subheader-cell.at_center {
        flex: 1 1 auto;
        display: flex;
        justify-content: center;
        position: static !important;
        transform: none !important;
        margin: 0 2rem;   /* Separación mínima con el logo y con la lupa */
    }
}

/* Cabecera: logo en la misma posición que 360controlroom.com
   (50px a la izquierda, 28px a la derecha; arriba 30px ya coincide) */
@media (min-width: 1025px) {
    #page-header .l-subheader.at_middle {
        padding-left: 50px !important;
        padding-right: 28px !important;
    }
}