.elementor-1088 .elementor-element.elementor-element-9117c91{--display:flex;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-1088 .elementor-element.elementor-element-0a2ac41 > .elementor-widget-container{margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;}.elementor-1088 .elementor-element.elementor-element-5da9503{--display:grid;--e-con-grid-template-columns:repeat(2, 1fr);--e-con-grid-template-rows:repeat(1, 1fr);--gap:0px 47px;--row-gap:0px;--column-gap:47px;--grid-auto-flow:row;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-1088 .elementor-element.elementor-element-bc1a4f3 .elementor-wrapper{--video-aspect-ratio:1.77777;}.elementor-1088 .elementor-element.elementor-element-431c43d{--display:flex;--justify-content:center;--align-items:center;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--gap:15px 0px;--row-gap:15px;--column-gap:0px;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-1088 .elementor-element.elementor-element-431c43d.e-con{--align-self:center;}.elementor-widget-text-editor{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );color:var( --e-global-color-text );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}@media(max-width:1024px){.elementor-1088 .elementor-element.elementor-element-5da9503{--grid-auto-flow:row;}}@media(max-width:767px){.elementor-1088 .elementor-element.elementor-element-5da9503{--e-con-grid-template-columns:repeat(1, 1fr);--grid-auto-flow:row;}.elementor-1088 .elementor-element.elementor-element-431c43d{--gap:7px 7px;--row-gap:7px;--column-gap:7px;}}/* Start custom CSS for shortcode, class: .elementor-element-0a2ac41 *//* ========================================
   PORTFOLIO SECTION - WRAPPER & TITLE
   ======================================== */

.portfolio-section-wrapper {
    width: 100%;
    background: #FFFFFF;
    padding: 90px 100px;
}

.portfolio-header {
    display: flex;
    justify-content: flex-start;
    padding: 0 0 37px 0;
}

.portfolio-main-title {
    font-family: 'Mozilla Text', sans-serif;
    font-size: 40px !important;
    font-weight: 500;
    color: #000000;
    margin: 0;
    line-height: 130%;
}

/* ========================================
   PORTFOLIO GRID CONTAINER
   ======================================== */

.portfolio-grid-container {
    width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    justify-content: center;
    gap: 18px;
    margin: 0 auto;
    padding: 0;
    width: 100%;
    background: #fff;
}

/* ========================================
   PORTFOLIO CARD STYLES
   ======================================== */

.portfolio-wrapper {
    width: 100%;
    height: auto;
    aspect-ratio: 329 / 224;
    position: relative;
}

.portfolio {
    position: relative;
    background-position: center;
    background-size: cover;
    width: 100%;
    height: 100%;
    border: none;
    cursor: pointer;
    overflow: hidden;
    /* ✅ CRITICAL: Ocultar la imagen de fondo completamente */
    background-image: none !important;
}

/* ✅ SOLID GRAY BACKGROUND - Cubre completamente cualquier imagen */
.portfolio::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #F7F7F7;
    transition: opacity 0.3s ease;
    z-index: 1;
}

/* Remove gray overlay on hover to reveal video (desktop only) */
@media (min-width: 768px) {
    .portfolio:hover::before {
        opacity: 0;
    }
}

/* Logo container */
.content-logo {
    position: relative;
    z-index: 2;
    padding: 0 40px;
    transition: opacity 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.logo-container-full {
    height: 100%;
}

.portfolio .logo-carousel-default {
    display: block;
    max-width: 230px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Hide default logo on hover (desktop only) */
@media (min-width: 768px) {
    .portfolio:hover .content-logo {
        opacity: 0;
    }
}

/* ✅ NEW: White logo container - aparece en hover */
.content-logo-white {
    position: absolute;
    top: 0;
    left: 0;
    padding: 0 40px;
    z-index: 3;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.portfolio .logo-carousel-white {
    display: block;
    max-width: 180px;
    max-height: 80px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Show white logo on hover (desktop only) */
@media (min-width: 768px) {
    .portfolio:hover .content-logo-white {
        opacity: 1;
    }
}

/* ✅ Hover video styles - Positioned UNDER the gray overlay */
.hover-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    z-index: 0;
    pointer-events: none;
}

/* ========================================
   RESPONSIVE - LARGE DESKTOP (1920px+)
   ======================================== */

@media (min-width: 1921px) {
    .portfolio-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 18px;
    }
}

/* ========================================
   RESPONSIVE - DESKTOP (1720px - 1920px)
   ======================================== */

@media (max-width: 1920px) and (min-width: 1721px) {
    .portfolio-section-wrapper {
        padding: 90px 100px;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 18px;
    }
}

/* ========================================
   RESPONSIVE - DESKTOP 4 COLUMNS (1440px - 1720px)
   ======================================== */

@media (max-width: 1720px) and (min-width: 1441px) {
    .portfolio-section-wrapper {
        padding: 90px 80px;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 18px;
    }
}

/* ========================================
   RESPONSIVE - STANDARD DESKTOP (1024px - 1440px)
   ======================================== */

@media (max-width: 1440px) and (min-width: 1025px) {
    .portfolio-section-wrapper {
        padding: 90px 80px;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 18px;
    }
}

/* ========================================
   RESPONSIVE - TABLET (768px - 1024px)
   ======================================== */

@media (max-width: 1024px) and (min-width: 768px) {
    .portfolio-section-wrapper {
        padding: 90px 30px;
    }
    
    .portfolio-main-title {
        font-size: 36px !important;
    }
    
    .portfolio-header {
        padding: 0 0 26px 0;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .portfolio .logo-carousel-default {
        max-width: 150px;
    }
    
    .portfolio .logo-carousel-white {
        max-width: 150px;
        max-height: 65px;
    }
}

/* ========================================
   RESPONSIVE - MOBILE (430px - 767px)
   ⭐ SOLUCIÓN EFECTIVA PARA SAFARI iOS
   ======================================== */

@media (max-width: 767px) and (min-width: 580px) {
    .portfolio-section-wrapper {
        padding: 26px 25px 30px 25px;
    }
    
    .portfolio-main-title {
        font-size: 36px !important;
        line-height: 130%;
        text-align: left;
    }
    
    .portfolio-header {
        padding: 0 0 26px 0;
    }
    
    .portfolio-grid {
        display: grid;
        grid-template-columns: repeat(2, 210px);
        /* ⭐ CAMBIO: Solo column-gap, el row lo hacemos con padding */
        column-gap: 10px;
        row-gap: 0;
        justify-content: center;
        /* ⭐ MARGIN-BOTTOM para separar del siguiente contenido */
        margin-bottom: 60px;
    }
    
    .portfolio-wrapper {
        width: 210px;
        height: 210px;
        aspect-ratio: unset;
        /* ⭐ SOLUCIÓN: Padding-bottom en lugar de row-gap */
        padding-bottom: 10px;
    }
    
    /* Keep gray overlay on mobile */
    .portfolio::before {
        display: block;
        opacity: 1 !important;
    }
    
    /* Show default logo always on mobile */
    .portfolio .content-logo {
        opacity: 1 !important;
    }
    
    /* Hide white logo on mobile */
    .portfolio .content-logo-white {
        display: none;
    }
    
    /* No hover video on mobile */
    .portfolio .hover-video {
        display: none;
    }
    
    .portfolio .logo-carousel-default {
        max-width: 140px;
    }
    
    .content-logo {
        padding: 0 30px;
    }
}

/* ========================================
   RESPONSIVE - SMALL MOBILE (max 430px)
   ⭐ SOLUCIÓN EFECTIVA PARA SAFARI iOS
   ======================================== */

@media (max-width: 580px) {
    .portfolio-section-wrapper {
         padding: 26px 25px 30px 25px;
    }
    
    .portfolio-main-title {
        font-size:25px !important;
        line-height: 130%;
        text-align: left;
        padding: 0;
    }
    
    .portfolio-header {
        padding: 0 0 50px 0;
    }
    
    .portfolio-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        /* ⭐ CAMBIO: Solo column-gap, el row lo hacemos con padding */
        column-gap: 10px;
        row-gap: 0;
        max-width: unset;
        margin: 0 auto;
        padding: 0;
        /* ⭐ MARGIN-BOTTOM para separar del siguiente contenido */
        margin-bottom: 60px;
    }
    
    .portfolio-wrapper {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        max-width: unset;
        max-height: none;
        /* ⭐ SOLUCIÓN: Padding-bottom en lugar de row-gap */
        padding-bottom: 10px;
    }
    
    .portfolio {
        /* ⭐ CRÍTICO: El portfolio ocupa 100% del wrapper MENOS el padding-bottom */
        height: 100%;
    }
    
    /* Keep gray overlay on mobile */
    .portfolio::before {
        display: block;
        opacity: 1 !important;
    }
    
    /* Show default logo always on mobile */
    .portfolio .content-logo {
        opacity: 1 !important;
    }
    
    /* Hide white logo on mobile */
    .portfolio .content-logo-white {
        display: none;
    }
    
    /* No hover video on mobile */
    .portfolio .hover-video {
        display: none;
    }
    
    .portfolio .logo-carousel-default {
        max-width: 160px;
    }
    
    .content-logo {
        padding: 0 15px;
    }
}

/* ========================================
   RESPONSIVE - EXTRA SMALL (max 380px)
   ======================================== */

@media (max-width: 380px) {
    .portfolio-section-wrapper {
        padding: 26px 25px 30px 25px;
    }
    
    .portfolio-main-title {
        font-size: 24px !important;
    }
    
    .portfolio-grid {
        column-gap: 10px;
        row-gap: 0;
        margin-bottom: 60px;
    }
    
    .portfolio-wrapper {
        padding-bottom: 10px;
    }
    
    .portfolio .logo-carousel-default {
        max-width: 120px;
    }
    
    .content-logo {
        padding: 0 10px;
    }
}/* End custom CSS */
/* Start custom CSS for text-editor, class: .elementor-element-3ae8fc3 */.elementor-1088 .elementor-element.elementor-element-3ae8fc3{
    color: #000 !important;
text-align: center;
font-family: "Mozilla Text";
font-size: 40px;
font-style: normal;
font-weight: 500;
line-height: normal;
}

@media (max-width: 1024px) and (min-width: 768px) {
    .elementor-1088 .elementor-element.elementor-element-3ae8fc3 {
        font-size: 36px ;
    }
    
}

@media (max-width: 768px) {

    .elementor-1088 .elementor-element.elementor-element-3ae8fc3 {
        color: #fff !important;
        text-align: center;
        font-family: "Mozilla Text";
        font-size: 25px;
        font-style: normal;
        font-weight: 500;
        line-height: normal;
    }

}/* End custom CSS */
/* Start custom CSS for text-editor, class: .elementor-element-26e154f */.elementor-1088 .elementor-element.elementor-element-26e154f{
    color: #000 !important;
text-align: center;
font-family: Figtree;
font-size: 20px;
font-style: normal;
font-weight: 400;
line-height: 31px; /* 155% */
}

@media (max-width:768px){
    .elementor-1088 .elementor-element.elementor-element-26e154f{
        color: #fff !important;
text-align: center;
font-family: Figtree;
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: 150%; /* 18px */
    }
}/* End custom CSS */
/* Start custom CSS for text-editor, class: .elementor-element-df00b85 */.elementor-1088 .elementor-element.elementor-element-df00b85 a{
    color: #000 !important;
    font-family: Figtree;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 24.201px; /* 151.254% */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: fit-content;
    margin: 0 auto;
}
.elementor-1088 .elementor-element.elementor-element-df00b85 svg {
    position: relative;
    top: 0.8px;
    transition: transform 0.3s ease;
}

.elementor-1088 .elementor-element.elementor-element-df00b85 a:hover svg {
    transform: translateX(4px);
}

@media (max-width:768px){
    .elementor-1088 .elementor-element.elementor-element-df00b85 a{
        color: #fff !important;
font-family: Figtree;
font-size: 17px;
font-style: normal;
font-weight: 600;
line-height: 100%; /* 12px */
    }
    .elementor-1088 .elementor-element.elementor-element-df00b85 svg path{
        stroke: #41B653;

    }
}/* End custom CSS */
/* Start custom CSS for container, class: .elementor-element-431c43d */.elementor-1088 .elementor-element.elementor-element-431c43d {
    background: #FFFFFF;
    padding: 0 103px;
    /* ⭐ CRÍTICO para Mac/Safari */
    height: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

@media (max-width: 1400px) {
    .elementor-1088 .elementor-element.elementor-element-431c43d {
        padding: 0 63px;
    }
}

@media (max-width: 1200px) {
    .elementor-1088 .elementor-element.elementor-element-431c43d {
        padding: 26px 33px;
        height: auto;
        min-height: auto;
        display: block;
    }
}

@media (max-width: 768px) {
    .elementor-1088 .elementor-element.elementor-element-431c43d {
        background: #414141;
        padding: 50px 25px;
        height: auto;
        min-height: auto;
    }
}/* End custom CSS */
/* Start custom CSS for container, class: .elementor-element-5da9503 */.elementor-1088 .elementor-element.elementor-element-5da9503 {
    padding: 110px 100px;
    background-color: #f0f0f0;
    /* ⭐ CRÍTICO: Forzar que los items tengan la misma altura */
    display: grid;
    align-items: stretch;
}

/* ⭐ Asegurar que ambos hijos del grid ocupen 100% de altura */
.elementor-1088 .elementor-element.elementor-element-5da9503 > * {
    height: 100%;
    min-height: 100%;
}

@media (max-width: 1440px) {
    .elementor-1088 .elementor-element.elementor-element-5da9503 {
        padding: 110px 80px;
        gap: 13px;
    }
}

@media (max-width: 1200px) {
    .elementor-1088 .elementor-element.elementor-element-5da9503 {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto !important;
    }
    
    /* ⭐ En mobile permitir altura automática */
    .elementor-1088 .elementor-element.elementor-element-5da9503 > * {
        height: auto;
        min-height: auto;
    }
}

@media (max-width: 1024px) {
    .elementor-1088 .elementor-element.elementor-element-5da9503 {
        padding: 50px 30px;
        gap: 13px;
    }
}

@media (max-width: 768px) {
    .elementor-1088 .elementor-element.elementor-element-5da9503 {
        background: #414141;
        padding: 0px 0px;
        gap: 0px;
    }
}

/* ⭐ FIX ESPECÍFICO PARA SAFARI MAC */
@supports (-webkit-appearance: none) and (not (overflow: -webkit-marquee)) {
    @media (min-width: 1201px) {
        .elementor-1088 .elementor-element.elementor-element-5da9503 {
            align-items: stretch !important;
        }
        
        .elementor-1088 .elementor-element.elementor-element-5da9503 > * {
            height: 100% !important;
            min-height: 100% !important;
            align-self: stretch !important;
        }
    }
}/* End custom CSS */
/* Start custom CSS for shortcode, class: .elementor-element-28e8d24 *//* ========================================
   INSIGHTS LIGHTBOX STYLES
   ======================================== */

/* Base lightbox container */
.insights-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.insights-lightbox.active {
    display: block;
}

.insights-lightbox.show {
    opacity: 1;
}

/* Overlay */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1;
}

/* Main container with max-width */
.lightbox-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 100px;
    z-index: 2;
    pointer-events: none;
}

/* Content wrapper */
.lightbox-content {
    position: relative;
    width: 100%;
    max-width: 1720px;
    max-height: 90vh;
    background: white;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    pointer-events: auto;
}

.insights-lightbox.show .lightbox-content {
    transform: scale(1);
}

/* ========================================
   FIXED ARROWS AND CLOSE BUTTON
   ======================================== */
.lightbox-fixed-arrows-and-close-container {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 25px 28px;
    z-index: 100;
    pointer-events: none;
}

.lightbox-arrows {
    display: flex;
    gap: 16px;
    pointer-events: auto;
}

.lightbox-arrow {
    width: 49px;
    height: 48px;
    padding: 0;
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
}

/* Flecha activa/clickeable - color oscuro #8A8C8E */
.lightbox-arrow:not(:disabled) svg circle,
.lightbox-arrow:not(:disabled) svg path {
    stroke: #8A8C8E;
    transition: stroke 0.2s ease;
}

/* Flecha deshabilitada - color claro #BABCBE */
.lightbox-arrow:disabled svg circle,
.lightbox-arrow:disabled svg path {
    stroke: #BABCBE;
}

.lightbox-arrow:disabled {
    cursor: not-allowed;
    opacity: 1;
}

.lightbox-arrow:hover {
    background-color: rgba(0,0,0,0);
}

.lightbox-arrow:focus {
    background-color: rgba(0,0,0,0);
}

.lightbox-arrow svg {
    width: 36px;
    height: 36px;
}

.lightbox-close-wrapper {
    pointer-events: auto;
}

.lightbox-close {
    width: 48px;
    height: 48px;
    color: white;
    border: none;
    padding: 0;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox-close:hover {
    background: rgba(0, 0, 0, 0);
}

.lightbox-close svg{
    width: 26px;
    height: 26px;
}

/* ========================================
   MAIN CONTENT LAYOUT (66% / 33%)
   ======================================== */
.lightbox-container-main {
    display: flex;
    gap: 80px;
    max-height: calc(90vh - 120px);
    overflow-y: auto;
    padding: 0 122px 40px 102px;
    overflow-x: hidden;
}

@media (max-width:1700px){
    .lightbox-container-main {
        display: flex;
        gap: 40px;
        max-height: calc(90vh - 120px);
        overflow-y: auto;
        padding: 0 122px 40px 102px;
        overflow-x: hidden;
    }
}

/* Left column - 66% */
.lightbox-left-content {
    flex: 0 0 70%;
    max-width:70%;
}

/* Right column - 33% */
.lightbox-right-content {
    flex: 0 0 30%;
    max-width: 405px;
    position: sticky;
    top: 0;
    align-self: flex-start;
}

.divider-lightbox{
    height:1px;
    background-color: #8A8A8E;
    width: 100%;
    margin: 34px 0;
}

/* ========================================
   LEFT CONTENT SECTIONS
   ======================================== */

/* Category and date */
.lightbox-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin: 0 0 29px 0;
}

.lightbox-category {
    display: inline-block;
    padding: 3px 10px;
    background: #f0f0f0;
    color: #000;
    text-align: center;
    font-family: Figtree !important;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 25px;
    letter-spacing: 0.28px;
    border-radius: 5px;
}

.lightbox-date {
    color: #000;
    text-align: right;
    font-family: Figtree !important;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 14px;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

/* Title */
.lightbox-title-container {
    margin-bottom: 21px;
}

.lightbox-title {
    color: #000;
    font-family: "Mozilla Text";
    font-size: 40px;
    font-style: normal;
    font-weight: 500;
    line-height: 45px;
}

/* Sub headline */
.lightbox-subheadline-container {
    margin-bottom: 0px;
}

.lightbox-subheadline {
    color: #8A8C8E;
    font-family: Figtree !important;
    font-size: 25px;
    font-style: normal;
    font-weight: 600;
    line-height: 32px;
}

.lightbox-written-by {
    color: #000;
    font-family: Figtree;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
}

.lightbox-author-name {
    color: #000;
    font-family: Figtree;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
    cursor: pointer;
}

/* Main content */
.lightbox-main-content {
    margin-bottom: 40px;
    color: #000;
    font-family: Figtree !important;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
}

.lightbox-main-content a{
    color: #000;
    font-family: Figtree;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
}

.lightbox-main-content p {
    margin-bottom: 20px;
}

.lightbox-main-content h2,
.lightbox-main-content h3 {
    margin: 30px 0 15px 0;
    color: #1a1a1a;
}

.lightbox-main-content h5 {
    margin: 0;
    color: #000;
    font-family: Figtree;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 28px;
}

.lightbox-main-content h6 {
    color: #000;
    font-family: Figtree;
    font-size: 22px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
}

/* ========================================
   ✅ TABLE WRAPPER STYLES - FIXED ALIGNMENT
   ======================================== */

/* ✅ Desktop: Sin márgenes negativos, perfectamente alineada */
.table-scroll-wrapper {
    width: 100%;
    margin: 20px 0;
    overflow-x: visible;
}

.table-scroll-wrapper table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.table-scroll-wrapper table th,
.table-scroll-wrapper table td {
    padding: 12px 15px;
    text-align: left;
    border: 1px solid #ddd;
}

.table-scroll-wrapper table th {
    background-color: #f5f5f5;
    font-weight: 600;
}

/* ✅ Mobile: Scroll horizontal SIN romper la alineación */
@media (max-width: 768px) {
    .table-scroll-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 20px 0;
        width: 100%;
    }
    
    .table-scroll-wrapper table {
        min-width: 700px;
        margin: 0;
    }
    
    .table-scroll-wrapper table th,
    .table-scroll-wrapper table td {
        padding: 10px 12px;
        white-space: nowrap;
    }
}

@media (max-width: 568px) {
    .table-scroll-wrapper table {
        min-width: 650px;
    }
    
    .table-scroll-wrapper table th,
    .table-scroll-wrapper table td {
        padding: 8px 10px;
        font-size: 14px;
    }
}

/* Share buttons */
.lightbox-share-container {
    display: flex;
    gap: 24px;
    padding-bottom: 33px;
}

.lightbox-share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: #000;
    font-family: Figtree !important;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 14px;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    border: none;
}

.lightbox-share-btn:hover {
    background:transparent;
    color: #000;
}

.lightbox-share-linkedin svg{
    width: 24px;
    height: 24px;
    position: relative;
    top: -4px
}

.lightbox-share-email svg{
    width: 24.545px;
    height: 19px;
    position: relative;
    top: -1px;
}

/* Author profile */
.lightbox-author-profile {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding:53px 0 92px 0;
    border-top: 1px solid #000000;
}

.lightbox-author-image-wrapper {
    flex-shrink: 0;
}

.lightbox-author-image {
    width: 215px;
    height: 242px;
    border-radius: 50%;
    object-fit: cover;
}

.lightbox-author-info {
    flex: 1;
}

.lightbox-author-profile-name {
    color: #000;
    font-family: Figtree;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 30px;
}

.lightbox-author-designation {
    color: #000;
    font-family: Figtree;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 30px;
}

/* ========================================
   RIGHT CONTENT SECTIONS
   ======================================== */

/* Featured image */
.lightbox-featured-image {
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    margin-bottom: 29px;
}

/* Related posts section */
.lightbox-related-section {
    margin-top: 30px;
    background: #F0F0F0;
    padding: 37px 33px
}

.lightbox-related-title {
    font-size: 20px;
    font-weight: 600;
    color: #000;
    line-height: 24.201px;
    font-family: Figtree;
    margin-bottom: 27px;
}

.lightbox-related-posts {
    display: flex;
    flex-direction: column;
    gap: 27px;
}

.lightbox-related-post {
    display: block;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.lightbox-related-post:hover {
    color: #000 !important;
}

.lightbox-related-post-title {
    color: #000;
    font-family: Figtree;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 28px;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
    margin: 0;
    transition: color 0.2s ease;
}

.lightbox-related-post:hover .lightbox-related-post-title {
    color: #000;
}

/* ========================================
   SCROLLBAR CUSTOMIZATION
   ======================================== */
.lightbox-container-main::-webkit-scrollbar {
    width: 8px;
}

.lightbox-container-main::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.lightbox-container-main::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.lightbox-container-main::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Desktop large */
@media (max-width: 1920px) {
    .lightbox-container {
        padding: 0 80px;
    }
}

/* Desktop medium */
@media (max-width: 1440px) {
    .lightbox-container-main {
        padding: 0 102px 40px 82px;
    }
    
    .lightbox-container {
        padding: 0 30px;
    }
    
    .lightbox-title {
        font-size: 40px;
    }
    
    .lightbox-subheadline {
        font-size: 22px;
        line-height: 28px;
    }
    
    .lightbox-main-content {
        margin-bottom: 40px;
        font-size: 20px;
        line-height: 28px;
    }
    
    .lightbox-main-content a{
        font-size: 20px;
        line-height: 28px;
    }
    
    .lightbox-main-content p {
        margin-bottom: 20px;
    }
    
    .lightbox-main-content h2,
    .lightbox-main-content h3 {
        margin: 30px 0 15px 0;
        color: #1a1a1a;
    }
    
    .lightbox-main-content h5 {
        font-size: 20px;
        line-height: 28px;
    }
    
    .lightbox-main-content h6 {
        font-size: 22px;
        line-height: 30px;
    }
    
    .lightbox-featured-image {
        height: 250px;
    }
    
    .lightbox-related-section {
        margin-top: 30px;
        background: #F0F0F0;
        padding: 30px 25px
    }
    
    .lightbox-related-title {
        font-size: 16px;
        line-height: 22.201px;
        margin-bottom: 27px;
    }
    
    .lightbox-related-posts {
        gap: 25px;
    }
    
    .lightbox-related-post-title {
        font-size: 16px;
        line-height: 22px;
    }
    
    .lightbox-author-profile {
        display: flex;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding:53px 0 92px 0;
        border-top: 1px solid #000000;
    }
    
    .lightbox-author-image-wrapper {
        flex-shrink: 0;
    }
    
    .lightbox-author-image {
        width: 185px;
        height: 212px;
        border-radius: 50%;
        object-fit: cover;
    }
    
    .lightbox-author-info {
        flex: 1;
    }
    
    .lightbox-author-profile-name {
        font-size: 16px;
        line-height: 22px;
    }
    
    .lightbox-author-designation {
        font-size: 16px;
        line-height: 22px;
    }
    
    .lightbox-written-by {
        font-size: 16px;
        line-height: 22px;
    }
    
    .lightbox-author-name {
        font-size: 16px;
        line-height: 22px;
    }
    
    .lightbox-share-btn {
        font-size: 13px;
        line-height: 13px;
    }
    
    .lightbox-share-linkedin svg{
        width: 18px;
        height: 18px;
        top: -3px
    }
    
    .lightbox-share-email svg{
        width: 19.5px;
        height: 16px;
        top: -0px;
    }
    
    .lightbox-share-container {
        display: flex;
        gap: 13px;
        padding-bottom: 33px;
    }
    
    .lightbox-meta {
        gap: 15px;
        margin: 0 0 29px 0;
    }
    
    .lightbox-category {
        padding: 3px 5px;
        font-size: 10px;
        line-height: 25px;
        letter-spacing: 0.28px;
        border-radius: 5px;
    }
    
    .lightbox-date {
        text-align: right;
        font-size: 13px;
        line-height: 23px;
    }
}

/* Laptop */
@media (max-width: 1024px) {
    .lightbox-container {
        padding: 0 40px;
    }
    
    .lightbox-container-main {
        flex-direction: column;
        gap: 30px;
    }
    
    .lightbox-left-content,
    .lightbox-right-content {
        flex: 1;
        max-width: 100%;
    }
    
    .lightbox-right-content {
        position: static;
        width:100%;
    }
    
    .lightbox-title {
        font-size: 32px;
    }
    
    .lightbox-featured-image {
        height: 350px;
    }
}

/* Tablet */
@media (max-width: 768px) {
    .lightbox-container {
        padding: 0 0px;
    }
    
    .lightbox-container-main {
        flex-direction: column;
        gap: 0px;
    }
    
    .lightbox-featured-image {
        display:none;
    }
    
    .lightbox-fixed-arrows-and-close-container {
        padding: 20px;
    }
    
    .lightbox-arrow,
    .lightbox-close {
        width: 40px;
        height: 40px;
    }
    
    .lightbox-container-main {
        padding: 0 0px 00px 0px;
    }
    
    .lightbox-left-content{
        padding: 20px 25px 0px 25px;
    }
    
    .lightbox-title {
        font-size: 25px;
        line-height: 120%;
    }
    
    .lightbox-main-content {
        font-size: 17px;
    }
    
    .lightbox-main-content a{
        font-size: 17px;
        line-height: 26px;
    }
    
    .lightbox-featured-image {
        height: 250px;
    }
    
    .lightbox-author-profile {
        flex-direction: row;
        align-items:center;
        display: flex;
        width: 100%;
        gap: 13px;
        padding:26px 0 26px 0;
        border-top: 1px solid #000000;
    }
    
    .lightbox-author-image {
        width: 74px;
        height: 84px;
        object-fit: cover;
    }
    
    .lightbox-author-profile-name {
        color: #000;
        font-family: Figtree;
        font-size: 17px;
        font-style: normal;
        font-weight: 600;
        line-height: 150%;
    }
    
    .lightbox-author-designation {
        color: #000;
        font-family: Figtree;
        font-size: 17px;
        font-style: normal;
        font-weight: 400;
        line-height: 150%;
    }
    
    .lightbox-related-section {
        margin-top: 0px;
        background: #F0F0F0;
        padding: 26px 25px;
    }
    
    .lightbox-related-title {
        font-size: 17px;
        line-height: 26px;
        margin-bottom: 27px;
    }
    
    .lightbox-related-posts {
        gap: 25px;
    }
    
    .lightbox-related-post-title {
        max-width:80%;
        font-size: 16px;
        line-height: 130%;
    }
    
    .lightbox-meta{
        margin: 0 0 13px 0;
    }
    
    .lightbox-title-container {
        margin-bottom:13px;
    }
    
    .lightbox-title {
        margin:0;
    }
    
    .divider-lightbox{
        margin:26px 0;
    }
}

@media (max-width:568px){
    .lightbox-close {
        width:22px;
        height:22px;
    }
    
    .lightbox-close svg{
        width:22px;
        height:22px;
    }
    
    .lightbox-arrow {
        width: 22px;
        height: 22px;
    }
    
    .lightbox-arrow svg {
        width: 22px;
        height: 22px;
    }
    
    .lightbox-fixed-arrows-and-close-container {
        padding: 20px 25px;
    }
    
    .lightbox-title {
        font-size: 25px;
        line-height: 120%;
        margin:0;
    }
    
    .lightbox-subheadline {
        font-size: 17px;
        line-height: 26px; 
    }
    
    .lightbox-written-by {
        font-size: 17px;
        line-height: 150%px;
    }
    
    .lightbox-author-name {
        font-size: 17px;
        line-height: 150%px;
    }
    
    .lightbox-main-content, .lightbox-main-content a, .lightbox-main-content strong {
        color: #000;
        font-family: Figtree;
        font-size: 17px;
        font-style: normal;
        line-height: 150%;
    }
    
    .lightbox-main-content h3{
        color: #000;
        font-family: Figtree;
        font-size: 20px;
        font-style: normal;
        font-weight: 400;
        line-height: 150%;
    }
    
    .lightbox-main-content h5{
        color: #000;
        font-family: Figtree;
        font-size: 17px;
        font-style: normal;
        line-height: 150%;
    }
    
    .lightbox-related-title {
        font-size: 17px;
        line-height: 130%;
        margin-bottom: 13px;
    }
    
    .lightbox-related-posts {
        gap: 13px;
    }
    
    .lightbox-related-post-title {
        max-width: 85%;
        font-size: 17px;
        line-height: 130%;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .lightbox-container {
        padding: 0 0;
    }
    
    .lightbox-arrows {
        gap: 8px;
    }
    
    .lightbox-featured-image {
        height: 200px;
    }
}

/* La imagen mobile está oculta por defecto (desktop) */
.lightbox-featured-right-image {
    display: none;
}

/* Solo se muestra en mobile (debajo de 768px) */
@media (max-width: 768px) {
    .lightbox-featured-image {
        display: none;
    }
    
    .lightbox-featured-right-image {
        display: block;
        width: 100%;
        height: 300px;
        background-size: cover;
        background-repeat: no-repeat;
        margin-top: 0px;
        margin-bottom: 20px;
    }
}

@media (max-width: 568px) {
    .lightbox-main-content {
        margin-bottom: 0px;
    }
    
    .lightbox-featured-right-image {
        display: block;
        width: 100%;
        height: 213px;
        background-size: cover;
        background-repeat: no-repeat;
        margin-top: 0px;
        margin-bottom: 26px;
    }
}

/* Prevent body scroll when lightbox is open */
body.lightbox-open {
    overflow: hidden;
    padding-right: 15px;
}

@media (max-width:768px){
    body.lightbox-open {
        overflow: hidden;
        padding-right: 0;
    }
}/* End custom CSS */
/* Start custom CSS for shortcode, class: .elementor-element-aed99ba *//* ========================================
   TEAM LIGHTBOX - CSS COMPLETO Y CORREGIDO
   Incluye TODOS los estilos necesarios
   ======================================== */

/* Base lightbox container */
#team-lightbox.insights-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#team-lightbox.insights-lightbox.active {
    display: block;
}

#team-lightbox.insights-lightbox.show {
    opacity: 1;
}

/* Overlay */
#team-lightbox .lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1;
}

/* Main container with max-width */
#team-lightbox .lightbox-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 100px;
    z-index: 2;
    pointer-events: none;
}

/* Content wrapper */
#team-lightbox .lightbox-content {
    position: relative;
    width: 100%;
    max-width: 1720px;
    max-height: 90vh;
    background: white;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    pointer-events: auto;
}

#team-lightbox.show .lightbox-content {
    transform: scale(1);
}

/* ========================================
   FIXED ARROWS AND CLOSE BUTTON
   ======================================== */
#team-lightbox .lightbox-fixed-arrows-and-close-container {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 25px 28px;
    z-index: 100;
    pointer-events: none;
}

#team-lightbox .lightbox-arrows {
    display: flex;
    gap: 16px;
    pointer-events: auto;
}

#team-lightbox .lightbox-arrow {
    width: 49px;
    height: 48px;
    padding: 0;
    color: white;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
}

#team-lightbox .lightbox-arrow:not(:disabled) svg circle,
#team-lightbox .lightbox-arrow:not(:disabled) svg path {
    stroke: #8A8C8E;
    transition: stroke 0.2s ease;
}

#team-lightbox .lightbox-arrow:disabled svg circle,
#team-lightbox .lightbox-arrow:disabled svg path {
    stroke: #BABCBE;
}

#team-lightbox .lightbox-arrow:disabled {
    cursor: not-allowed;
    opacity: 1;
}

#team-lightbox .lightbox-arrow:hover {
    background-color: rgba(0,0,0,0);
}

#team-lightbox .lightbox-arrow svg {
    width: 36px;
    height: 36px;
}

#team-lightbox .lightbox-close-wrapper {
    pointer-events: auto;
}

#team-lightbox .lightbox-close {
    width: 48px;
    height: 48px;
    color: white;
    border: none;
    background: transparent;
    padding: 0;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
}

#team-lightbox .lightbox-close:hover {
    background: rgba(0, 0, 0, 0);
}

#team-lightbox .lightbox-close svg {
    width: 26px;
    height: 26px;
}

/* ========================================
   MAIN CONTENT LAYOUT (66% / 33%)
   ======================================== */
#team-lightbox .lightbox-container-main {
    display: flex;
    gap: 80px;
    max-height: calc(90vh - 120px);
    overflow-y: auto;
    padding: 0 122px 40px 102px;
    overflow-x: hidden;
}

/* Left column - 66% */
#team-lightbox .lightbox-left-content {
    flex: 0 0 66%;
    max-width: 66%;
}

/* Right column - 33% */
#team-lightbox .lightbox-right-content {
    flex: 0 0 33%;
    max-width: 33%;
    position: sticky;
    top: 0;
    align-self: flex-start;
}

/* ========================================
   DUAL IMAGE SYSTEM - NUEVAS REGLAS
   Desktop: muestra imagen derecha, oculta mobile
   Mobile: muestra imagen arriba, oculta desktop
   ======================================== */

/* DESKTOP: Mostrar solo imagen desktop (derecha) */
#team-lightbox .lightbox-right-content-mobile {
    display: none;
}

#team-lightbox .lightbox-right-content-desktop {
    display: block;
}

/* ========================================
   FIN DUAL IMAGE SYSTEM
   ======================================== */

#team-lightbox .divider-lightbox {
    height: 1px;
    background-color: #8A8A8E;
    width: 100%;
    margin: 34px 0;
}

/* ========================================
   LEFT CONTENT SECTIONS
   ======================================== */

/* Title */
#team-lightbox .lightbox-title-container {
    margin-bottom: 5px;
}

#team-lightbox .lightbox-title {
    color: #000;
    font-family: "Mozilla Text";
    font-size: 40px;
    font-style: normal;
    font-weight: 500;
    line-height: 45px;
    margin: 0;
}

/* Designation with social links */
#team-lightbox .lightbox-designation-social {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 0;
    padding-bottom: 32px;
}

#team-lightbox .lightbox-designation {
    color: #000;
    font-family: Figtree;
    font-size: 25px;
    font-style: normal;
    font-weight: 400;
    line-height: 30px;
    margin: 0;
}

#team-lightbox .lightbox-social-links {
    display: flex;
    gap: 28px;
    align-items: center;
   
}

#team-lightbox .lightbox-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
    text-decoration: none;
}



#team-lightbox .lightbox-social-link svg {
    width: 24px;
    height: 24px;
}

#team-lightbox .lightbox-email{
    position:relative !important;
    top: 3px !important;
}
/* Main content */
#team-lightbox .lightbox-main-content {
    margin-bottom: 40px;
    color: #000;
    font-family: Figtree !important;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
}

#team-lightbox .lightbox-main-content a {
    color: #000;
    font-family: Figtree;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
    text-decoration-line: underline;
}

#team-lightbox .lightbox-main-content p {
    margin-bottom: 20px;
}

#team-lightbox .lightbox-main-content h2,
#team-lightbox .lightbox-main-content h3 {
    margin: 30px 0 15px 0;
    color: #1a1a1a;
}

#team-lightbox .lightbox-main-content h5 {
    margin: 0;
    color: #000;
    font-family: Figtree;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 28px;
}

/* Companies section */
#team-lightbox .lightbox-companies-section {
    margin-top: 40px;
    padding-bottom: 40px;
}

#team-lightbox .lightbox-companies-title {
    color: #000;
    font-family: Figtree;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 28px;
    margin: 0 0 24px 0;
}

#team-lightbox .lightbox-companies-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

#team-lightbox .lightbox-company-card {
    background: #F0F0F0;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    border-radius: 4px;
}

#team-lightbox .lightbox-company-card img {
    max-width: 100%;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* ========================================
   RIGHT CONTENT SECTIONS
   ======================================== */

/* Featured image */
#team-lightbox .lightbox-featured-image {
    width: 100%;
    height: 584px;
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    margin-bottom: 29px;
}

/* ========================================
   SCROLLBAR CUSTOMIZATION
   ======================================== */
#team-lightbox .lightbox-container-main::-webkit-scrollbar {
    width: 8px;
}

#team-lightbox .lightbox-container-main::-webkit-scrollbar-track {
    background: #f1f1f1;
}

#team-lightbox .lightbox-container-main::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

#team-lightbox .lightbox-container-main::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1920px) {
    #team-lightbox .lightbox-container {
        padding: 0 80px;
    }
}

@media (max-width: 1700px) {
    #team-lightbox .lightbox-container-main {
        gap: 40px;
        padding: 0 122px 40px 102px;
    }
    /* Left column - 66% */
#team-lightbox .lightbox-left-content {
    flex: 0 0 60%;
    max-width: 60%;
}

/* Right column - 33% */
#team-lightbox .lightbox-right-content {
    flex: 0 0 40%;
    max-width: 40%;
    position: sticky;
    top: 0;
    align-self: flex-start;
}
}

@media (max-width: 1440px) {
    #team-lightbox .lightbox-container-main {
        padding: 0 102px 40px 82px;
        
    }
    
    #team-lightbox .lightbox-container {
        padding: 0 30px;
    }
    
    #team-lightbox .lightbox-title {
        font-size: 30px;
    }
    
    #team-lightbox .lightbox-designation {
        font-size: 22px;
        line-height: 22px;
    }
    
    #team-lightbox .lightbox-companies-title {
        font-size: 22px;
        line-height: 22px;
    }
    
    #team-lightbox .lightbox-social-link svg {
        width: 20px;
        height: 20px;
    }
    
    #team-lightbox .lightbox-companies-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    
    #team-lightbox .lightbox-main-content {
        margin-bottom: 40px;
        font-size: 22px;
        line-height: 150%;
    }
    
    #team-lightbox .lightbox-main-content a {
        font-size: 22px;
        line-height: 22px;
    }
    
    #team-lightbox .lightbox-main-content h5 {
        font-size: 22px;
        line-height: 22px;
    }
    
    
}

@media (max-width: 1024px) {
    #team-lightbox .lightbox-container {
        padding: 0 40px;
    }
    
    #team-lightbox .lightbox-container-main {
        flex-direction: column;
        gap: 30px;
    }
    
    #team-lightbox .lightbox-left-content,
    #team-lightbox .lightbox-right-content {
        flex: 1;
        max-width: 100%;
    }
    
    #team-lightbox .lightbox-right-content {
        position: static;
        width: 100%;
    }
    
    #team-lightbox .lightbox-title {
        font-size: 32px;
    }
    
    #team-lightbox .lightbox-featured-image {
        height: 450px;
        margin-bottom: 0px;
    }
    
    #team-lightbox .lightbox-companies-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* ========================================
       DUAL IMAGE SYSTEM - MOBILE
       Ocultar imagen desktop, mostrar imagen mobile
       ======================================== */
    #team-lightbox .lightbox-right-content-desktop {
        display:block!important;
        
    }
    #team-lightbox .lightbox-featured-image{
        display:block;
    }
    
    #team-lightbox .lightbox-right-content-mobile {
        display: none !important;
    }
}

@media (max-width: 768px) {
    #team-lightbox .lightbox-featured-image {
 
    margin-bottom: 26px;
}
 #team-lightbox .lightbox-featured-image.lightbox-featured-image-mobile{
    display:none;
}
#team-lightbox .lightbox-right-content-desktop {
        display:block!important;
        
    }

    #team-lightbox .lightbox-container {
        padding: 0 0px;
    }
    #team-lightbox .lightbox-featured-image {
        height: 450px;
        
    }
    
    #team-lightbox .lightbox-container-main {
        flex-direction: column;
        gap: 0px;
        padding: 0 0px 00px 0px;
    }
    
    #team-lightbox .lightbox-right-content {
        padding: 0 25px 20px 25px;
    }
    
    #team-lightbox .lightbox-left-content {
        padding: 0 25px 0px 25px;
    }
    
    
    
    #team-lightbox .lightbox-fixed-arrows-and-close-container {
        padding: 20px;
    }
    
    #team-lightbox .lightbox-arrow,
    #team-lightbox .lightbox-close {
        width: 40px;
        height: 40px;
    }
    
    #team-lightbox .lightbox-title {
        font-size: 25px;
        line-height: 150%;
        margin: 0 0 0 0;
        padding-top:20px;
    }
    
    #team-lightbox .lightbox-main-content {
        font-size: 17px;
    }
     #team-lightbox .lightbox-main-content a {
        font-size: 17px;
        line-height: 150%;
    }
    
    #team-lightbox .lightbox-main-content h5 {
        font-size: 17px;
        line-height: 150%;
    }
    
    #team-lightbox .lightbox-designation-social {
        padding-bottom:19px;
        gap: 16px;
    }
    
    #team-lightbox .lightbox-designation {
        font-size: 15px;
        line-height: 100%;
    }
    
    #team-lightbox .lightbox-social-links {
        gap: 13px;
    }
    
    #team-lightbox .lightbox-social-link svg {
        width: 18px;
        height: 18px;
    }
    #team-lightbox .lightbox-email{
    position:relative !important;
    top: 2px !important;
}
    #team-lightbox .lightbox-companies-section {
        margin-top: 26px;
    }
    
    #team-lightbox .lightbox-companies-title {
        font-size: 16px;
        line-height: 130%;
        margin-bottom: 16px;
    }
    
    #team-lightbox .lightbox-companies-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 13px;
    }
    
    #team-lightbox .lightbox-company-card {
        padding: 16px;
        min-height: 80px;
    }
    
    #team-lightbox .lightbox-company-card img {
        max-height: 50px;
    }
    
    #team-lightbox .lightbox-title-container {
        margin-bottom: 13px;
    }
    
    #team-lightbox .divider-lightbox {
        margin: 26px 0;
        background-color:#8A8C8E;
    }
    #team-lightbox .lightbox-companies-section {
    margin-top: 40px;
    padding-bottom: 20px;
}

}

@media (max-width: 568px) {
    #team-lightbox .lightbox-close {
        width: 22px;
        height: 22px;
    }
    
    #team-lightbox .lightbox-close svg {
        width: 22px;
        height: 22px;
    }
    
    #team-lightbox .lightbox-arrow {
        width: 22px;
        height: 22px;
    }
    
    #team-lightbox .lightbox-arrow svg {
        width: 22px;
        height: 22px;
    }
    
    #team-lightbox .lightbox-fixed-arrows-and-close-container {
        padding: 20px 25px;
    }
    
    #team-lightbox .lightbox-title {
        font-size: 25px;
        line-height: 150%;
        margin: 0;
        padding-top:20px;
    }
    
    #team-lightbox .lightbox-designation {
        font-size: 17px;
        line-height: 150%;
    }
    
    #team-lightbox .lightbox-social-link svg {
        width: 18px;
        height: 18px;
    }
    
    #team-lightbox .lightbox-companies-title {
        font-size: 17px;
        line-height: 150%;
        margin-bottom: 20px;
    }
    
    #team-lightbox .lightbox-companies-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 15px;
    row-gap: 13px;
}
    
    #team-lightbox .lightbox-company-card {
        padding: 12px;
        min-height: 80px;
    }
    
    #team-lightbox .lightbox-company-card img {
        max-height: 40px;
    }
    
    #team-lightbox .lightbox-main-content,
    #team-lightbox .lightbox-main-content a {
        font-size: 17px;
        line-height: 150%;
    }
    
    #team-lightbox .lightbox-main-content h5 {
        font-size: 17px;
        line-height: 150%;
    }
}

@media (max-width: 480px) {
    #team-lightbox .lightbox-container {
        padding: 0 0;
    }
    
    #team-lightbox .lightbox-arrows {
        gap: 8px;
    }
    
    #team-lightbox .lightbox-featured-image {
        height: 400px;
    }
}

/* Prevent body scroll when lightbox is open */
body.lightbox-open {
    overflow: hidden;
    padding-right: 15px;
}

@media (max-width: 768px) {
    body.lightbox-open {
        overflow: hidden;
        padding-right: 0;
    }
}/* End custom CSS */
/* Start custom CSS for container, class: .elementor-element-9117c91 */body .post-1088 .page-header{
    display: none;
}

.elementor-1088 .elementor-element.elementor-element-9117c91 .e-con-inner{
    width: 100% !important;
    max-width: unset;
    margin: 0;
   padding: 0 0 00px 0;
}




/* ========================================
   PORTFOLIO LIGHTBOX STYLES
   ======================================== */

#portfolio-lightbox.portfolio-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#portfolio-lightbox.portfolio-lightbox.active {
    display: block;
}

#portfolio-lightbox.portfolio-lightbox.show {
    opacity: 1;
}

/* Overlay */
#portfolio-lightbox .lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1;
}

/* Main container */
#portfolio-lightbox .lightbox-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 100px;
    z-index: 2;
    pointer-events: none;
}

/* Content wrapper */
#portfolio-lightbox .lightbox-content {
    position: relative;
    width: 100%;
    max-width: 1175px;
    max-height: 90vh;
    background: white;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    pointer-events: auto;
}

#portfolio-lightbox.show .lightbox-content {
    transform: scale(1);
}

/* ========================================
   FIXED ARROWS AND CLOSE BUTTON
   ======================================== */
#portfolio-lightbox .lightbox-fixed-arrows-and-close-container {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 25px 28px;
    z-index: 100;
    pointer-events: none;
}

#portfolio-lightbox .lightbox-arrows {
    display: flex;
    gap: 16px;
    pointer-events: auto;
}

#portfolio-lightbox .lightbox-arrow {
    width: 49px;
    height: 48px;
    padding: 0;
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
    background: transparent;
}

#portfolio-lightbox .lightbox-arrow:not(:disabled) svg circle,
#portfolio-lightbox .lightbox-arrow:not(:disabled) svg path {
    stroke: #8A8C8E;
    transition: stroke 0.2s ease;
}

#portfolio-lightbox .lightbox-arrow:disabled svg circle,
#portfolio-lightbox .lightbox-arrow:disabled svg path {
    stroke: #BABCBE;
}

#portfolio-lightbox .lightbox-arrow:disabled {
    cursor: not-allowed;
    opacity: 1;
}

#portfolio-lightbox .lightbox-arrow:hover {
    background-color: rgba(0,0,0,0);
}

#portfolio-lightbox .lightbox-arrow svg {
    width: 36px;
    height: 36px;
}

#portfolio-lightbox .lightbox-close-wrapper {
    pointer-events: auto;
}

#portfolio-lightbox .lightbox-close {
    width: 48px;
    height: 48px;
    color: white;
    border: none;
    padding: 0;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
    background: transparent;
}

#portfolio-lightbox .lightbox-close:hover {
    background: rgba(0, 0, 0, 0);
}

#portfolio-lightbox .lightbox-close svg {
    width: 26px;
    height: 26px;
}

/* ========================================
   MAIN CONTENT LAYOUT (100% FULL WIDTH)
   ======================================== */
#portfolio-lightbox .lightbox-container-main {
    display: flex;
    max-height: calc(90vh - 120px);
    overflow-y: auto;
    padding: 0 122px 40px 102px;
    overflow-x: hidden;
}

@media (max-width:1700px) {
    #portfolio-lightbox .lightbox-container-main {
        padding: 0 102px 40px 82px;
    }
}

/* Left column - 100% */
#portfolio-lightbox .lightbox-left-content {
    flex: 1;
    width: 100%;
    max-width: 100%;
}

#portfolio-lightbox .divider-lightbox {
    height: 1px;
    background-color: #8A8A8E;
    width: 100%;
    margin: 32px 0;
}

/* ========================================
   LEFT CONTENT SECTIONS
   ======================================== */

/* Title container with social links */
#portfolio-lightbox .lightbox-title-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 21px;
    gap: 20px;
}

#portfolio-lightbox .lightbox-title {
    color: #000;
    font-family: "Mozilla Text";
    font-size: 40px;
    font-style: normal;
    font-weight: 500;
    line-height: 45px;
    margin: 0;
}

/* Social links container */
#portfolio-lightbox .lightbox-social-links {
    display: flex;
    gap: 18px;
    align-items: center;
    flex-shrink: 0;
    position:relative;
}

#portfolio-lightbox .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    transition: opacity 0.2s ease, transform 0.2s ease;
    text-decoration: none;
}


#portfolio-lightbox .social-link svg {
    width: 24px;
    height: 24px;
}
#portfolio-lightbox .social-website{
    position: relative;
    top: 2px;
}
/* Main content */
#portfolio-lightbox .lightbox-main-content {
    margin-bottom: 40px;
    color: #000;
    font-family: Figtree !important;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
}

#portfolio-lightbox .lightbox-main-content a {
    color: #000;
    font-family: Figtree;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
    text-decoration-line: underline;
}

#portfolio-lightbox .lightbox-main-content p {
    margin-bottom: 20px;
}

#portfolio-lightbox .lightbox-main-content h2,
#portfolio-lightbox .lightbox-main-content h3 {
    margin: 30px 0 15px 0;
    color: #1a1a1a;
}

#portfolio-lightbox .lightbox-main-content h5 {
    margin: 0;
    color: #000;
    font-family: Figtree;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 28px;
}

#portfolio-lightbox .lightbox-main-content h6 {
    color: #000;
    font-family: Figtree;
    font-size: 22px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
}

/* Meta info section */
#portfolio-lightbox .lightbox-meta-info {
    display: flex;
    flex-direction: row;
    gap: 35px;
}

#portfolio-lightbox .meta-item {
    display: flex;
    gap: 8px;
    align-items: baseline;
}

#portfolio-lightbox .meta-label {
    color: #000;
    font-family: Figtree;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 28px;
}

#portfolio-lightbox .meta-value {
    color: #000;
    font-family: Figtree;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
}

/* Company news section */
#portfolio-lightbox .lightbox-company-news-section {
    margin-top: 40px;
}

#portfolio-lightbox .company-news-title {
    color: #000;
    font-family: Figtree;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 24.201px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 27px;
}

#portfolio-lightbox .company-news-title svg {
    width: 13px;
    height: 13px;
}

/* Company news cards grid - 2 columns on desktop, 1 on mobile */
#portfolio-lightbox .company-news-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
    margin: 0;
    width: 100%;
}

/* Company news card - EXACT SAME STRUCTURE AS NEWS CARD */
#portfolio-lightbox .company-news-card {
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    border-radius: 0px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    max-width: 100%;
    height: auto;
}

#portfolio-lightbox .news-card-image {
    position: relative;
    width: 100%;
    padding-top: 39.93%; /* Ratio 556/222 = 2.5045 -> 222/556 = 39.93% */
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#portfolio-lightbox .news-card-content {
    display: flex;
    flex-direction: column;
    padding: 26px 22.4px 22.4px 35px;
    flex-grow: 1;
    background: #F0F0F0;
}

#portfolio-lightbox .news-card-title {
    color: #000000;
    font-family: Figtree, sans-serif !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    margin: 0 0 auto 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: calc(1.4em * 3);
    position: relative;
}

#portfolio-lightbox .news-card-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #000000;
    transition: width 0.3s ease;
}

#portfolio-lightbox .company-news-card:hover .news-card-title::after {
    width: 100%;
}

#portfolio-lightbox .news-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 42px;
}

#portfolio-lightbox .news-card-date {
    color: #000000;
    font-family: Figtree, sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    margin: 0;
}

#portfolio-lightbox .news-card-category {
    font-family: Figtree, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    padding: 3px 10px;
    background: #FFFFFF;
    color: #1E2B17;
    border-radius: 5px;
}

#portfolio-lightbox .no-news {
    color: #999;
    font-size: 14px;
    font-style: italic;
}

/* ========================================
   SCROLLBAR CUSTOMIZATION
   ======================================== */
#portfolio-lightbox .lightbox-container-main::-webkit-scrollbar {
    width: 8px;
}

#portfolio-lightbox .lightbox-container-main::-webkit-scrollbar-track {
    background: #f1f1f1;
}

#portfolio-lightbox .lightbox-container-main::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

#portfolio-lightbox .lightbox-container-main::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Desktop large */
@media (max-width: 1920px) {
    #portfolio-lightbox .lightbox-container {
        padding: 0 80px;
    }
}

/* Desktop medium */
@media (max-width: 1440px) {
    #portfolio-lightbox .lightbox-container-main {
        padding: 0 102px 40px 82px;
    }
    
    #portfolio-lightbox .lightbox-container {
        padding: 0 30px;
    }
    
    #portfolio-lightbox .lightbox-title {
        font-size: 30px;
    }
    
    #portfolio-lightbox .lightbox-main-content {
        margin-bottom: 40px;
    }
    
    #portfolio-lightbox .lightbox-featured-image {
        height: 250px;
    }
    
    #portfolio-lightbox .news-card-content {
        padding: 26px 20px 22.4px 25px;
    }
    
    #portfolio-lightbox .news-card-footer {
        margin-top: 32px;
    }
}

/* Laptop */
@media (max-width: 1024px) {
    #portfolio-lightbox .lightbox-container {
        padding: 0 40px;
    }
    
    #portfolio-lightbox .lightbox-container-main {
        gap: 0;
    }
    
    #portfolio-lightbox .lightbox-title {
        font-size: 32px;
    }
    
    /* Company news cards to 1 column on laptop */
    #portfolio-lightbox .company-news-cards {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-bottom:40px;
    }
    
    #portfolio-lightbox .company-news-card {
        max-width: 100%;
    }
}

/* Tablet */
@media (max-width: 768px) {
    #portfolio-lightbox .lightbox-container {
        padding: 0 0px;
    }
    
    #portfolio-lightbox .lightbox-title-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    #portfolio-lightbox .lightbox-social-links {
    display: flex;
    gap: 13px;
    align-items: center;
    flex-shrink: 0;
    position:relative;
}
    #portfolio-lightbox .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    transition: opacity 0.2s ease, transform 0.2s ease;
    text-decoration: none;
}


#portfolio-lightbox .social-link svg {
    width: 17px;
    height: 17px;
}
    
    #portfolio-lightbox .lightbox-meta-info {
        display: flex;
        flex-direction: column;
        gap: 26px;
    }

    #portfolio-lightbox .divider-lightbox {
        height: 1px;
        background-color: #8A8A8E;
        width: 100%;
        margin: 16px 0;
    }
    
    #portfolio-lightbox .lightbox-container-main {
        gap: 0px;
    }
    
    #portfolio-lightbox .lightbox-fixed-arrows-and-close-container {
        padding: 20px;
    }
    
    #portfolio-lightbox .lightbox-arrow,
    #portfolio-lightbox .lightbox-close {
        width: 40px;
        height: 40px;
    }
    
    #portfolio-lightbox .lightbox-container-main {
        padding: 0 0px 0px 0px;
    }
    
    #portfolio-lightbox .lightbox-left-content {
        padding: 0 26px 0px 26px;
    }
    
    #portfolio-lightbox .lightbox-title {
        font-size: 28px;
        line-height: 150%;
    }
    
    #portfolio-lightbox .lightbox-main-content {
        font-size: 15px;
    }
    
    #portfolio-lightbox .lightbox-meta-info {
        gap: 10px;
    }
    
    #portfolio-lightbox .meta-label,
    #portfolio-lightbox .meta-value {
        font-size: 14px;
        line-height: 20px;
    }
    
    #portfolio-lightbox .company-news-title {
        font-size: 12px;
        line-height:24px;
        margin-bottom: 20px;
    }
    
    /* Company news cards to 1 column on tablet */
    #portfolio-lightbox .company-news-cards {
        grid-template-columns: 1fr;
        gap: 13px;
    }
    
    #portfolio-lightbox .company-news-card {
        max-width: 100%;
    }
    
    #portfolio-lightbox .news-card-content {
        padding: 16px;
    }
    
    #portfolio-lightbox .news-card-title {
        font-size: 16px !important;
        line-height: 1.4 !important;
        -webkit-line-clamp: 3;
        min-height: calc(1.4em * 3);
    }
    
    #portfolio-lightbox .news-card-footer {
        margin-top: 18px;
    }
    
    #portfolio-lightbox .news-card-date {
        font-size: 12px;
    }
    
    #portfolio-lightbox .news-card-category {
        font-size: 12px;
        padding: 2px 8px;
    }
    
    #portfolio-lightbox .lightbox-title {
        font-size: 25px;
        line-height: 150%;
        margin: 0;
        padding-top:20px;
    }
    
    #portfolio-lightbox .lightbox-main-content,
    #portfolio-lightbox .lightbox-main-content a,
    #portfolio-lightbox .lightbox-main-content strong {
        color: #000;
        font-family: Figtree;
        font-size: 17px;
        font-style: normal;
        line-height: 150%;
    }
    
    #portfolio-lightbox .lightbox-main-content {
        margin:0 !important;
    }
    
    #portfolio-lightbox .lightbox-main-content h3 {
        color: #000;
        font-family: Figtree;
        font-size: 20px;
        font-style: normal;
        font-weight: 400;
        line-height: 150%;
    }
    
    #portfolio-lightbox .lightbox-main-content h5 {
        color: #000;
        font-family: Figtree;
        font-size: 17px;
        font-style: normal;
        line-height: 150%;
    }
    
    #portfolio-lightbox .meta-label,
    #portfolio-lightbox .meta-value {
        font-size: 17px;
        line-height: 150%;
    }
    
    #portfolio-lightbox .company-news-title {
        margin-top:0;
        margin-bottom: 13px;
        font-size: 17px;
        line-height: 150%;
    }
    
    #portfolio-lightbox .news-card-image{
        max-height:190px !important;
        height:190px;
        padding-top:0;
    }
}

@media (max-width: 568px) {
    #portfolio-lightbox .lightbox-close {
        width: 22px;
        height: 22px;
    }
    
    #portfolio-lightbox .lightbox-close svg {
        width: 22px;
        height: 22px;
    }
    
    #portfolio-lightbox .lightbox-arrow {
        width: 22px;
        height: 22px;
    }
    
    #portfolio-lightbox .lightbox-arrow svg {
        width: 22px;
        height: 22px;
    }
    
    #portfolio-lightbox .lightbox-fixed-arrows-and-close-container {
        padding: 20px 25px;
    }
    
    #portfolio-lightbox .lightbox-title {
        font-size: 25px;
        line-height: 150%;
        margin: 0;
        padding-top:20px;
    }
    
    #portfolio-lightbox .lightbox-title-container {
        margin-bottom: 19px;
    }
    
    #portfolio-lightbox .lightbox-main-content,
    #portfolio-lightbox .lightbox-main-content a,
    #portfolio-lightbox .lightbox-main-content strong {
        color: #000;
        font-family: Figtree;
        font-size: 17px;
        font-style: normal;
        line-height: 150%;
    }
    
    #portfolio-lightbox .lightbox-main-content {
        margin:0 !important;
    }
    
    #portfolio-lightbox .lightbox-main-content h3 {
        color: #000;
        font-family: Figtree;
        font-size: 20px;
        font-style: normal;
        font-weight: 400;
        line-height: 150%;
    }
    
    #portfolio-lightbox .lightbox-main-content h5 {
        color: #000;
        font-family: Figtree;
        font-size: 17px;
        font-style: normal;
        line-height: 150%;
    }
    
    #portfolio-lightbox .meta-label,
    #portfolio-lightbox .meta-value {
        font-size: 17px;
        line-height: 150%;
    }
    
    #portfolio-lightbox .company-news-title {
        margin-top:0;
        margin-bottom: 13px;
        font-size: 17px;
        line-height: 150%;
    }
    
    #portfolio-lightbox .lightbox-company-news-section {
        margin-top: 0px;
    }
    
    /* Company news cards mobile layout - same as news cards */
    #portfolio-lightbox .company-news-cards {
        grid-template-columns: 1fr;
        gap: 13px;
    }
    
    #portfolio-lightbox .company-news-card {
        display: flex;
        flex-direction: row-reverse;
        max-width: 100%;
    }
    
    #portfolio-lightbox .news-card-image {
        width: 33.33%;
        padding-top: 0;
        height: auto;
        min-height: 100px;
    }
    
    #portfolio-lightbox .news-card-content {
        width: 66.67%;
        padding: 13px;
    }
    
    #portfolio-lightbox .news-card-title {
        font-size: 12px !important;
        line-height: 15px !important;
        font-weight: 500 !important;
        -webkit-line-clamp: 3;
        min-height: calc(15px * 3);
    }
    
    #portfolio-lightbox .news-card-date {
        font-size: 10px;
        line-height: 15px;
        letter-spacing: normal;
    }
    
    #portfolio-lightbox .news-card-category {
        font-size: 10px;
        line-height: 15px;
    }
    
    #portfolio-lightbox .news-card-footer {
        margin-top: 10px;
    }
    
    #portfolio-lightbox .divider-lightbox {
        margin: 16px 0;
    }
}

/* Mobile */
@media (max-width: 480px) {
    #portfolio-lightbox .lightbox-container {
        padding: 0 0;
    }
}

/* Prevent body scroll when lightbox is open */
body.lightbox-open {
    overflow: hidden;
    padding-right: 15px;
}

@media (max-width: 768px) {
    body.lightbox-open {
        overflow: hidden;
        padding-right: 0;
    }
}/* End custom CSS */