.v-align,
.v-align:before {
    height: auto !important;
}

/* Fix para el contraste del texto en el formulario del footer */
.form-contact-footer input.textfield, 
.form-contact-footer textarea.textfield {
    color: #333333 !important;
    font-weight: 500;
}


.l-verde {
    color: #356546;
}

.l-naranja {
    color: #c28439;
}

.l-gris {
    color: #f9f9f9;
}

.l-negro {
    color: black !important;
}

.ws {
    white-space: pre-line;
}

.l-gris-claro {
    color: #333 !important;
}


.bkg-gris {
    background-color: #f8f8f8;
}


.t-left {
    text-align: left;
}

.t-center {
    text-align: center;
}

.t-right {
    text-align: right;
}

.t-justify {
    text-align: justify;
}

.mt0 {
    margin-top: 0px !important;
}

.pt0 {
    padding-top: 0px !important;
}

.pb0 {
    padding-bottom: 0px !important;
}

.pr-30 {
    padding-right: 30px;
}

.mt-30 {
    margin-top: 30px;
}

.mt-60 {
    margin-top: 60px;
}

.col-MB-0 {
    margin-bottom: 0px;
    margin-top: 0px
}

.col-MB-10 {
    margin-bottom: 10px !important;
}

.col-MB-20 {
    margin-bottom: 20px !important;
}

.col-MB-90 {
    margin-bottom: 90px !important;
}

.col-MB-60 {
    margin-bottom: 60px !important;
}

.col-MB-30 {
    margin-bottom: 30px !important;
}

.col-MB-25 {
    margin-bottom: 25px !important;
}

.col-MB-20 {
    margin-bottom: 20px !important;
}

.col-MB-15 {
    margin-bottom: 15px !important;
}


@media only screen and (min-width: 768px) {
    .top-bar--style-3:not(.fixed) .container:before {
        background-color: transparent !important;
    }
}

@media only screen and (min-width: 1200px) {

    .intro__subtitle,
    .intro__title {
        letter-spacing: 0.5rem !important;
    }
}

@media only screen and (min-width: 768px) {
    .top-bar--style-3:not(.fixed) #top-bar__navigation>ul>li>a:not(:hover):not(:focus) {
        color: #fff;
    }
}

@media only screen and (min-width: 768px) {
    .top-bar--style-3:not(.fixed) #top-bar__logo {
        background-image: url(../imagenes/logo-amberstone.svg);
    }
}


.btn_slider a {
    color: white !important;
    font-size: 16px;
}


.start-screen__content p {
    font-size: 20px;
    line-height: 25px;
    font-weight: 600;
}

.custom-btn.primary {
    border-color: #c28439 !important;
}

.btn_slider {
    padding-top: 30px;
}

#top-bar__navigation a:not(.custom-btn) {
    color: white;
}

.start-screen__content .custom-btn.primary {
    border-radius: 15px;
}

.titulos-home h2 {
    font-size: 2.7rem;
    color: #356546;
}

.titulos-interiores h3 {
    font-size: 2.7rem;
    color: #356546;
    font-weight: 700;
}

.titulos-home h1 {
    color: #356546;
}

.blog__entry p {
    font-size: 1.2rem;
    text-align: justify;
}

.certificaciones-about .slide {
    text-align: center;
    padding: 20px;
}

.certificaciones-about .slide .logo {
    position: relative !important;
    margin: 0 auto 20px auto !important;
    max-width: 80px;
    height: auto;
}

/* Clean class for Certifications section */
.t-certificaciones-about {
    margin-top: 0;
    font-size: 1.6rem;
    font-weight: 700;
    color: black !important;
    line-height: 1.4;
}

p.p-certificaciones-about {
    font-size: 14px;
}

/* New clean class specifically for Specialized Trade Solutions */
.t-specialized-solutions {
    margin-top: 0;
    font-size: 1.35rem;
    /* Un poquito más grande como se pidió */
    font-weight: 700;
    color: black !important;
    line-height: 1.4;
}

.p-blog-sub {
    color: #b3b2bc;
    font-size: 16px;
}

.form-contact-footer .textfield::-webkit-input-placeholder {
    color: white;
    -webkit-transition: color .3s ease-in-out;
    -o-transition: color .3s ease-in-out;
    transition: color .3s ease-in-out
}

.form-contact-footer .textfield::-moz-placeholder {
    color: white;
    -webkit-transition: color .3s ease-in-out;
    -o-transition: color .3s ease-in-out;
    transition: color .3s ease-in-out
}

.form-contact-footer .textfield:-moz-placeholder {
    color: white;
    -webkit-transition: color .3s ease-in-out;
    -o-transition: color .3s ease-in-out;
    transition: color .3s ease-in-out
}

.form-contact-footer .textfield:-ms-input-placeholder {
    color: white;
    -webkit-transition: color .3s ease-in-out;
    -o-transition: color .3s ease-in-out;
    transition: color .3s ease-in-out
}

.form-contact .textfield::-webkit-input-placeholder {
    color: black;
    -webkit-transition: color .3s ease-in-out;
    -o-transition: color .3s ease-in-out;
    transition: color .3s ease-in-out
}

.form-contact .textfield::-moz-placeholder {
    color: black;
    -webkit-transition: color .3s ease-in-out;
    -o-transition: color .3s ease-in-out;
    transition: color .3s ease-in-out
}

.form-contact .textfield:-moz-placeholder {
    color: black;
    -webkit-transition: color .3s ease-in-out;
    -o-transition: color .3s ease-in-out;
    transition: color .3s ease-in-out
}

.form-contact .textfield:-ms-input-placeholder {
    color: black;
    -webkit-transition: color .3s ease-in-out;
    -o-transition: color .3s ease-in-out;
    transition: color .3s ease-in-out
}


.custom-btn.btn-contacto {
    border-color: #356546 !important;
    width: 40%;
    border-color: #356546;
    ;
    color: black;
}

.custom-btn.btn-contacto:active,
.custom-btn.btn-contacto:focus,
.custom-btn.btn-contacto:hover {
    background-color: #356546;
    color: white;
}

#top-bar__navigation a {
    /*color: white;*/
    font-size: 16px;
}


.btn-transparent {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: black !important;
    border-color: #c28439 !important;
}

.blog__entry__title a {
    font-size: 1.6rem;
    color: black;
    font-weight: 600;
    text-align: justify;
}

.icono-pleca-home {
    width: 120px;
}


.icono-contacto {
    width: 25px;
    margin-right: 5px;
}

.icono-redes {
    width: 55px;
}

.icono-interior-producto {
    width: 160px;
}

.icono-contacto-interior {
    width: 90px;
}


.page-home #top-bar__navigation .home a {
    color: #c28439 !important;
}

.page-about #top-bar__navigation .about a {
    color: #c28439 !important;
}

.page-products #top-bar__navigation .products a {
    color: #c28439 !important;
}

.page-blog #top-bar__navigation .blog a {
    color: #c28439 !important;
}

.page-contacts #top-bar__navigation .contacts a {
    color: #c28439 !important;
}



.certificaciones-about {
    margin-top: 60px;
    margin-bottom: 60px;
}

.certificaciones-products {
    margin-top: 60px;
    margin-bottom: 60px;
}

.contact__item p {
    color: black;
    font-weight: 600;
}

.d-footer {
    align-content: flex-end;
}

.enlace-deshabilitado {
    pointer-events: none;
    /* Evita clics y eventos de ratón */
    color: gray;
    /* Cambia el color para indicar que está inactivo */
    cursor: default;
    /* Muestra el cursor normal en lugar de la manita */
    text-decoration: none;
    /* Opcional: quita el subrayado */
}

.header-blog-interior .intro__subtitle {
    letter-spacing: 0px !important;
    text-transform: none;
    font-weight: 400;
}

.header-blog-interior .intro__title {
    margin-bottom: 0px;
}


#top-bar__logo {
    position: relative;
    z-index: 9999;
}



/* Ensure container acts as the anchor point */
.owl-carousel {
    position: relative;
}

/* Base style for both button containers */
.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 5px 10px;
    font-size: 30px !important;
    cursor: pointer;
}

/* Snap the previous button to the left edge */
.owl-carousel .owl-nav button.owl-prev {
    left: -50px;
}

/* Snap the next button to the right edge */
.owl-carousel .owl-nav button.owl-next {
    right: -50px;
}

/* Optional: Add hover state effects */
.owl-carousel .owl-nav button:hover {
    background: #000;
}


.subtitulo-interior-blog {
    color: #356546;
    text-transform: uppercase;
}

.contenido-parrafo {
    color: black;
    font-weight: 400;
    text-align: justify;
    line-height: 2.5rem;
}

.mapa-home {
    width: stretch;
}


.map-container {
    width: 100%;
    /* max-width: 1182px; */
    height: auto;
    /* aspect-ratio: 1182.86 / 765.42; */
    /* background: #1e293b; */
    border-radius: 16px;
    /* box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3); */
    /* padding: 10px; */
    box-sizing: border-box;
}

svg {
    width: 100%;
    height: 100%;
}

/* Estilos de Nodos */
.hub {
    fill: #f59e0b;
    cursor: pointer;
    transition: fill 0.3s, r 0.3s;
}

.destination {
    fill: #64748b;
    cursor: pointer;
    transition: fill 0.3s, r 0.3s;
    display: none !important;
}

.label-bg {
    fill: #f59e0b;
    /* Fondo Naranja */
    rx: 4;
    /* Esquinas redondeadas (horizontal) */
    ry: 4;
    /* Esquinas redondeadas (vertical) */
}

.label {
    font-size: 12px;
    font-weight: bold;
    fill: #ffffff;
    /* Texto Blanco */
    pointer-events: none;
    text-anchor: middle;
    dominant-baseline: middle;
    /* Centra el texto verticalmente en el recuadro */
}

/* Estilos de Rutas/Flechas */
.route-arrow {
    fill: none;
    stroke: #38bdf8;
    stroke-width: 3;
    stroke-dasharray: 8;
    opacity: 0.15;
    pointer-events: none;
    transition: opacity 0.4s, stroke 0.4s;
}

#arrowhead {
    fill: #38bdf8;
}

/* Lógica de Hover */
.hub:hover {
    fill: #ef4444;
    r: 20;
}

.destination:hover {
    fill: #38bdf8;
    r: 15;
}

/* Hover sobre USA enciende TODAS las rutas */
#usa:hover~.route-arrow {
    opacity: 1;
    stroke: #f59e0b;
    animation: routeFlow 2s linear infinite;
}

/* Hovers individuales para aislar una sola ruta */
#canada:hover~.to-canada,
#mexico:hover~.to-mexico,
#argentina:hover~.to-argentina,
#brazil:hover~.to-brazil,
#spain:hover~.to-spain,
#morocco:hover~.to-morocco,
#ukraine:hover~.to-ukraine,
#india:hover~.to-india,
#japan:hover~.to-japan {
    opacity: 1;
    stroke: #38bdf8;
    animation: routeFlow 1.5s linear infinite;
}

@keyframes routeFlow {
    to {
        stroke-dashoffset: -32;
    }
}







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

    .v-align,
    .v-align:before {
        height: auto !important;
    }

    .start-screen__content {
        padding-top: 220px !important;

    }

    .intro {
        min-height: 500px
    }

    .intro-blog-entrada {
        font-size: 3rem !important;
    }

    .container-c {
        max-width: 720px;
        margin: auto;
    }

    #footer .site-logo {
        width: 200px !important;
        text-align: center;
        margin: 0 auto;
    }

    #footer .footer__item {
        text-align: center;
    }

    .vegas-control {
        display: none !important;
    }
}

/* Menu: the theme's horizontal nav only fits from 1200px up once the
   WhatsApp button and longer labels are added, so keep the hamburger
   toggler active through tablet/laptop widths too. */
@media only screen and (min-width: 768px) and (max-width: 1199px) {
    #top-bar {
        overflow: hidden;
    }

    #top-bar__navigation-toggler {
        display: block !important;
    }

    #top-bar__navigation {
        position: absolute !important;
        top: 70px !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        padding-left: 0 !important;
        margin-left: 0 !important;
        text-align: center !important;
        overflow-y: auto !important;
    }

    #top-bar__navigation>ul {
        display: inline-block !important;
    }

    #top-bar__navigation li {
        display: block !important;
        margin-left: 0 !important;
        margin-top: 15px !important;
    }

    #top-bar__navigation li.li-btn {
        float: none !important;
        margin-top: 15px !important;
    }

    #top-bar.expanded {
        background-color: #fff !important;
    }

    #top-bar.expanded .container:before {
        background-color: #fff !important;
    }

    #top-bar.expanded #top-bar__navigation a:not(.custom-btn) {
        color: #333 !important;
    }
}

.contenido-parrafo {
    color: black;
    font-weight: 400;
    text-align: justify;
    line-height: 2.5rem;
}

.mapa-home {
    width: stretch;
}


.map-container {
    width: 100%;
    /* max-width: 1182px; */
    height: auto;
    /* aspect-ratio: 1182.86 / 765.42; */
    /* background: #1e293b; */
    border-radius: 16px;
    /* box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3); */
    /* padding: 10px; */
    box-sizing: border-box;
}

svg {
    width: 100%;
    height: 100%;
}

/* Estilos de Nodos */
.hub {
    fill: #f59e0b;
    cursor: pointer;
    transition: fill 0.3s, r 0.3s;
}

.destination {
    fill: #64748b;
    cursor: pointer;
    transition: fill 0.3s, r 0.3s;
    display: none !important;
}

.label-bg {
    fill: #f59e0b;
    /* Fondo Naranja */
    rx: 4;
    /* Esquinas redondeadas (horizontal) */
    ry: 4;
    /* Esquinas redondeadas (vertical) */
}

.label {
    font-size: 12px;
    font-weight: bold;
    fill: #ffffff;
    /* Texto Blanco */
    pointer-events: none;
    text-anchor: middle;
    dominant-baseline: middle;
    /* Centra el texto verticalmente en el recuadro */
}

/* Estilos de Rutas/Flechas */
.route-arrow {
    fill: none;
    stroke: #38bdf8;
    stroke-width: 3;
    stroke-dasharray: 8;
    opacity: 0.15;
    pointer-events: none;
    transition: opacity 0.4s, stroke 0.4s;
}

#arrowhead {
    fill: #38bdf8;
}

/* Lógica de Hover */
.hub:hover {
    fill: #ef4444;
    r: 20;
}

.destination:hover {
    fill: #38bdf8;
    r: 15;
}

/* Hover sobre USA enciende TODAS las rutas */
#usa:hover~.route-arrow {
    opacity: 1;
    stroke: #f59e0b;
    animation: routeFlow 2s linear infinite;
}

/* Hovers individuales para aislar una sola ruta */
#canada:hover~.to-canada,
#mexico:hover~.to-mexico,
#argentina:hover~.to-argentina,
#brazil:hover~.to-brazil,
#spain:hover~.to-spain,
#morocco:hover~.to-morocco,
#ukraine:hover~.to-ukraine,
#india:hover~.to-india,
#japan:hover~.to-japan {
    opacity: 1;
    stroke: #38bdf8;
    animation: routeFlow 1.5s linear infinite;
}

@keyframes routeFlow {
    to {
        stroke-dashoffset: -32;
    }
}







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

    .v-align,
    .v-align:before {
        height: auto !important;
    }

    .start-screen__content {
        padding-top: 220px !important;

    }

    .intro {
        min-height: 500px
    }

    .intro-blog-entrada {
        font-size: 3rem !important;
    }

    .container-c {
        max-width: 720px;
        margin: auto;
    }

    #footer .site-logo {
        width: 200px !important;
        text-align: center;
        margin: 0 auto;
    }

    #footer .footer__item {
        text-align: center;
    }

    .vegas-control {
        display: none !important;
    }
}

/* Menu: the theme's horizontal nav only fits from 1200px up once the
   WhatsApp button and longer labels are added, so keep the hamburger
   toggler active through tablet/laptop widths too. */
@media only screen and (min-width: 768px) and (max-width: 1199px) {
    #top-bar__navigation-toggler {
        display: block !important;
    }

    /* Hide nav links when NOT expanded */
    #top-bar:not(.expanded) #top-bar__navigation {
        display: none !important;
    }

    /* When expanded, show as full-panel below the bar */
    #top-bar.expanded {
        background-color: #fff !important;
        overflow: visible !important;
    }

    #top-bar.expanded #top-bar__navigation {
        display: block !important;
        position: absolute !important;
        top: 90px !important;
        left: 0 !important;
        right: 0 !important;
        bottom: auto !important;
        height: auto !important;
        background-color: #fff !important;
        padding: 20px 0 40px !important;
        text-align: center !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
        z-index: 9999 !important;
    }

    #top-bar.expanded #top-bar__navigation>ul {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    #top-bar.expanded #top-bar__navigation li {
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        float: none !important;
    }

    #top-bar.expanded #top-bar__navigation li a {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        padding: 14px 20px !important;
        font-size: 16px !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        color: #333 !important;
        border-bottom: 1px solid #f0f0f0 !important;
    }

    #top-bar.expanded #top-bar__navigation .lang-switch {
        padding: 20px 0 0 !important;
        text-align: center !important;
    }

    #top-bar.expanded #top-bar__navigation .lang-switch-container {
        display: flex !important;
        justify-content: center !important;
        margin: 0 auto !important;
    }
}

/* Blog post body: stack image above text instead of two columns
   between tablet and laptop widths, where side-by-side gets cramped. */
@media only screen and (min-width: 768px) and (max-width: 1199px) {
    .blog.single-content .row {
        display: flex;
        flex-wrap: wrap;
    }

    .blog.single-content .row .col-md-6 {
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .blog.single-content .row .col-md-6:last-child {
        order: -1;
    }
}

/* Tablet / iPad Portrait */
@media only screen and (min-width: 768px) and (max-width: 991px) {
    .intro {
        min-height: 300px
    }

    .intro-blog-entrada {
        font-size: 3rem !important;
    }

    .container-c {
        max-width: 720px;
        margin: auto;
    }
}

/* Computer / Desktop / iPad Landscape */
@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .intro {
        min-height: 300px
    }

    .intro-blog-entrada {
        font-size: 3rem !important;
    }

    .container-c {
        max-width: 960px;
        margin: auto;
    }
}

/* Large Monitor */
@media only screen and (min-width: 1200px) and (max-width: 1919px) {
    .img_mapa_p {
        padding: 0px 0%;
    }

    .intro {
        min-height: 300px
    }

    .intro-blog-entrada {
        font-size: 3rem !important;
    }

    .container-c {
        max-width: 1170px;
        margin: auto;
    }

}



@media only screen and (min-width: 1920px) {
    .intro {
        min-height: 600px
    }

}




/* Language Switcher */
.lang-switch .lang-btn {
    text-decoration: none;
    font-weight: normal;
    color: #333;
}

.lang-switch .lang-btn.active {
    font-weight: bold;
    color: #c28439 !important;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 80px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
    text-decoration: none;
}

.whatsapp-float:hover {
    color: #fff;
    text-decoration: none;
}

.whatsapp-float i {
    margin: 0;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media screen and (max-width: 767px) {
    .whatsapp-float {
        bottom: 80px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 25px;
    }
}

/* Language Switcher in header */
#top-bar__navigation .lang-switch-container {
    display: inline-flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 4px;
    margin-left: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

/* When header becomes sticky/white, adjust the pill border */
.fixed #top-bar__navigation .lang-switch-container {
    background-color: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

#top-bar__navigation .lang-switch-container .lang-btn {
    padding: 5px 14px;
    font-size: 13px;
    font-weight: 700;
    color: #fff !important;
    /* Default to white text for transparent headers over images */
    border-radius: 20px;
    transition: all 0.3s ease;
    text-decoration: none;
    line-height: 1;
}

.fixed #top-bar__navigation .lang-switch-container .lang-btn:not(.active) {
    color: #555 !important;
    /* Dark text when header is sticky/white */
}

#top-bar__navigation .lang-switch-container .lang-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.fixed #top-bar__navigation .lang-switch-container .lang-btn:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

#top-bar__navigation .lang-switch-container .lang-btn.active {
    background-color: var(--gold, #d1752b);
    color: #fff !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Fix header overlap in interior pages */
.intro {
    padding-top: 200px !important;
}

@media (max-width: 991px) {
    .intro {
        padding-top: 150px !important;
    }
}

/* Make AOS fade-up more dramatic (150px instead of 100px) */
[data-aos=fade-up] {
    transform: translate3d(0, 150px, 0) !important;
}

[data-aos=fade-up].aos-animate {
    transform: translateZ(0) !important;
}

/* =========================================================================
   EDITORIAL BLOG POST REDESIGN
   ========================================================================= */

/* Central readable column */
.blog-content-container {
    max-width: 800px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.8;
    color: #4a4a4a;
}


/* Drop Cap (Letra Capitular) */
.drop-cap::first-letter {
    font-size: 4rem;
    font-weight: 700;
    color: #d1752b;
    /* Amberstone Orange */
    float: left;
    line-height: 0.8;
    padding-top: 0.1em;
    padding-right: 0.1em;
    padding-bottom: 0.1em;
    margin-right: 10px;
    font-family: Georgia, serif;
}

/* Breakout Image */
.breakout-image {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: 40px;
    margin-bottom: 40px;
}

.breakout-image img {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

@media (max-width: 1250px) {
    .breakout-image {
        width: auto;
        left: auto;
        right: auto;
        margin-left: -20px;
        margin-right: -20px;
    }

    .breakout-image img {
        border-radius: 0;
    }
}

/* Blockquote (Cita Destacada) */
.editorial-quote {
    font-size: 1.5rem;
    font-style: italic;
    color: #333;
    border-left: 5px solid #d1752b;
    padding: 20px 30px;
    margin: 40px 0;
    background-color: #fcfaf8;
    position: relative;
    border-radius: 0 8px 8px 0;
    line-height: 1.6;
}

.editorial-quote::before {
    content: "“";
    position: absolute;
    top: -10px;
    left: 10px;
    font-size: 6rem;
    color: rgba(209, 117, 43, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

/* Date Pill in Header */
.intro__post-date-pill {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(5px);
    margin-top: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Header Text Enhancement */
.header-blog-interior .intro__title {
    font-size: 4rem;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.header-blog-interior .intro__subtitle {
    font-size: 1.5rem;
    color: #eee;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    max-width: 800px;
    margin: 0 0 auto;
}

/* =========================================================================
   1. Prevent Horizontal Scroll Globally
   ========================================================================= */
body,
html,
.main-wrapper {
    overflow-x: hidden !important;
}

/* =========================================================================
   BULLETPROOF MOBILE FIXES (max-width: 991px)
   ========================================================================= */
@media (max-width: 991px) {

    /* 2. Fix Blog Text getting cut off */
    .blog-content-container,
    .single-content p {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    /* 3. Hide nav when menu is CLOSED */
    #top-bar:not(.expanded) #top-bar__navigation {
        display: none !important;
    }

    /* 4. Fix Open Menu - override theme's bottom:0 which pushes content down */
    #top-bar.expanded {
        background-color: #fff !important;
        overflow: visible !important;
    }

    #top-bar.expanded #top-bar__navigation {
        display: block !important;
        position: absolute !important;
        top: 70px !important;
        left: 0 !important;
        right: 0 !important;
        bottom: auto !important;
        /* KEY FIX: was 0, which caused white space */
        height: auto !important;
        min-height: 0 !important;
        background-color: #fff !important;
        padding: 10px 0 40px 0 !important;
        text-align: center !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
        z-index: 9999 !important;
    }

    #top-bar.expanded #top-bar__navigation>ul {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        position: static !important;
        transform: none !important;
    }

    #top-bar.expanded #top-bar__navigation li {
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        float: none !important;
    }

    #top-bar.expanded #top-bar__navigation li a {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        font-size: 16px !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        color: #333 !important;
        padding: 14px 20px !important;
        border-bottom: 1px solid #f0f0f0 !important;
    }

    #top-bar.expanded #top-bar__navigation .lang-switch {
        padding: 20px 0 0 !important;
        text-align: center !important;
        float: none !important;
    }

    #top-bar.expanded #top-bar__navigation .lang-switch-container {
        display: flex !important;
        justify-content: center !important;
        margin: 0 auto !important;
    }
}


@media (max-width: 767px) {
    .header-blog-interior .intro__title {
        font-size: 2.2rem !important;
        word-wrap: break-word;
        hyphens: auto;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .header-blog-interior .intro__title {
        font-size: 3rem !important;
        word-wrap: break-word;
    }
}


/* =========================================================================
   MOBILE MENU FINAL POLISH
   ========================================================================= */

/* Fix logo clipping inside menu: lower its z-index so the nav panel renders on top */
@media (max-width: 1199px) {
    #top-bar.expanded #top-bar__logo {
        z-index: 1 !important;
        position: relative;
    }

    /* Language switcher in mobile menu: make both pills equal and side by side */
    #top-bar.expanded #top-bar__navigation .lang-switch-container {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        margin: 0 auto !important;
    }

    #top-bar.expanded #top-bar__navigation .lang-switch-container .lang-btn {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 6px 20px !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        border-radius: 20px !important;
        min-width: 50px !important;
        width: auto !important;
    }

    #top-bar.expanded #top-bar__navigation .lang-switch-container .lang-btn:not(.active) {
        background-color: transparent !important;
        color: #555 !important;
        border: 2px solid #ddd !important;
    }
}

/* =========================================================================
   FOOTER COMPACT STYLING (Desktop & Global)
   ========================================================================= */

#footer {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

#footer .footer__inner {
    margin-bottom: 0 !important;
}

#footer .footer__item {
    margin-bottom: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 90px;
    /* match logo height */
}

/* Specific alignments for columns in desktop */
@media (min-width: 992px) {
    #footer .col-lg-4:first-child .footer__item {
        justify-content: flex-start !important;
    }

    #footer .col-lg-4:last-child .footer__item {
        justify-content: flex-end !important;
        text-align: right !important;
    }

    #footer .col-lg-4:nth-child(2) .footer__item {
        justify-content: center !important;
    }
}

/* Fix primary button text color on hover */
.custom-btn.primary:hover,
.custom-btn.primary:focus,
.custom-btn.primary:active {
    color: #ffffff !important;
}