/* Estilos MN Legal Firm */

.logo-mare-nostrum {
    height: 90px;
    width: auto;
}

.logo-mare-nostrum-pie {
    height: 70px;
    width: auto;
}

.icono-idioma {
    height: 26px;
    width: auto;
}

/*
.fondo-hero {
    background-image: url(../images/fondo-hero.webp);
}
    */

.pict-servicios {
    height: 35px;
    width: auto;
}

.mnl-footer {
    background-color: #2E4D7A;
    /* tu color corporativo */
    color: #ffffff;
    font-family: 'ACaslonPro', serif;
}

.mnl-footer p,
.mnl-footer li,
.mnl-footer span {
    color: #ffffff;
    font-size: 16px;
}

.mnl-footer-title {
    color: #CBA571;
    /* dorado / acento corporativo */
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

.mnl-footer-contact {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 10px;
}

.mnl-contact-info {
    margin: 0;
}

.mnl-contact-info span {
    display: block;
    font-size: 12px;
    color: #e0e0e0;
}

.mnl-footer-legal {
    list-style: none;
    padding: 0;
}

.mnl-footer-legal li {
    margin-bottom: 8px;
}

.mnl-footer-legal li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
}

.mnl-footer-legal li a:hover {
    color: #CBA571;
}

.mnl-redes a {
    color: #ffffff;
    font-size: 16px;
}

.mnl-redes a:hover {
    color: #CBA571;
}

.mnl-bottom-text {
    color: #e0e0e0;
    font-size: 13px;
}

@media only screen and (max-width: 980px) {
    .icono-idioma {
        height: 20px;
    }
}

/* SELECTOR DE IDIOMAS */
.mnl-select-idioma {
    appearance: none;
    background: white;
    border: 2px solid #2c4a6b;
    border-radius: 8px;
    padding: 0.5rem 2.5rem 0.5rem 1rem;
    font-size: 0.95rem;
    color: #2c4a6b;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%232c4a6b' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    min-width: 120px;
}

.mnl-select-idioma:hover {
    border-color: #c9a871;
    box-shadow: 0 2px 8px rgba(201, 168, 113, 0.3);
}

.mnl-select-idioma:focus {
    outline: none;
    border-color: #c9a871;
    box-shadow: 0 0 0 3px rgba(201, 168, 113, 0.2);
}

.mnl-select-idioma option {
    background: white;
    color: #2c4a6b;
    padding: 0.75rem;
    font-weight: 500;
}

/* SLIDER PORTADA */

.mnl-hero-slider {
    position: relative;
}

.mnl-hero-slide {
    min-height: 78vh;
    display: flex !important;
    align-items: center;
}

/* Flechas de navegación personalizadas */
.mnl-hero-slider .slick-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    font-size: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.mnl-hero-slider .slick-arrow:hover {
    background: rgba(201, 168, 113, 0.8);
    border-color: #c9a871;
}

.mnl-hero-slider .slick-prev {
    left: 30px;
}

.mnl-hero-slider .slick-next {
    right: 30px;
}

/* Dots de navegación personalizados */
.mnl-hero-slider .slick-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex !important;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.mnl-hero-slider .slick-dots li {
    margin: 0;
}

.mnl-hero-slider .slick-dots li button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
    background: transparent;
    padding: 0;
    font-size: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mnl-hero-slider .slick-dots li.slick-active button {
    background: #c9a871;
    border-color: #c9a871;
    width: 40px;
    border-radius: 6px;
}

/* Responsive */
@media (max-width: 768px) {
    .mnl-hero-slider .slick-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .mnl-hero-slider .slick-prev {
        left: 15px;
    }

    .mnl-hero-slider .slick-next {
        right: 15px;
    }
}

.slick-initialized.slick-slider .slick-track {
    gap: 0px !important;
}

.diapositiva01 {
    background-image: url('../images/diapositiva01.webp');
    background-repeat: no-repeat;
}

.diapositiva02 {
    background-image: url('../images/diapositiva02.webp');
    background-repeat: no-repeat;
}

.diapositiva03 {
    background-image: url('../images/diapositiva03.webp');
    background-repeat: no-repeat;
}

.btn--marenostrum {
    background-color: #35537E;
    color: #fff;
    border: 1px solid transparent;
    font-weight: 300;
    font-size: 16px;
    text-align: center;
    font-family: var(--body-font);
    transition: 0.2s linear;
}

.btn--marenostrum:hover,
.btn--marenostrum:active,
.btn--marenostrum:focus {
    background-color: #185CBB !important;
    color: #fff !important;
    border: 1px solid transparent !important;
}

.btn-outline--marenostrum {
    color: #fff !important;
    border: 1px solid #fff !important;
    padding: 10px 32px;
}

.btn-outline--marenostrum:hover,
.btn-outline--marenostrum:focus {
    background-color: #35537E !important;
    color: #fff !important;
    border: 1px solid #35537E !important;
}

.campo-error {
    border: 1px solid #DC3545 !important;
}

#mapa_oficinas {
    height: 500px;
    width: 100%;
}

.lienzo-img {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    z-index: 2;
    max-height: 280px;
}

.lienzo-img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.lienzo-img img:hover {
    transform: scale(1.1);
}

.carrusel-articulo {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    z-index: 2;
    max-height: 450px;
}

.carrusel-articulo img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}


.sombra {
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.08),
        0 4px 8px rgba(0, 0, 0, 0.06);
}

.btn-buscador {
    min-width: 30px !important;
    border: var(--bs-border-width) solid var(--bs-border-color) !important;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out !important;
}

.alto-articulo {
    height: 585px !important;
    overflow: hidden !important;
}

.parrafo-articulo,
.parrafo-articulo p {
    color: #222 !important;
    font-size: 18px !important;
}

.parrafo-articulo p {
    margin-bottom: 30px !important;
    font-size: 18px !important;
}

.parrafo-articulo ul li {
    margin-bottom: 30px !important;
    margin-left: 40px !important;
    list-style: disc !important;
    font-size: 18px !important;
}

.parrafo-articulo ol li {
    margin-left: 40px !important;
    list-style: decimal !important;
    font-size: 18px !important;
}

/* Estilo para imagen flotante en artículos */
.imagen-articulo-flotante {
    max-width: 400px;
    width: 100%;
    margin-right: 50px !important;
}

@media (max-width: 768px) {
    .imagen-articulo-flotante {
        float: none !important;
        margin: 0 auto 1.5rem auto !important;
        max-width: 100%;
        display: block;
    }
}

/* Asegurar que el texto fluya correctamente */
.parrafo-articulo {
    overflow: hidden;
}

.parrafo-articulo p:first-of-type {
    margin-top: 0;
}

.color-corporativo {
    color: #2c4a6b;
}


.cc-nb-okagree {
    background-color: #2c4a6b !important;
    color: #fff !important;
}

.cc-nb-reject {
    background-color: #2c4a6b !important;
    color: #fff !important;
}

.cc-cp-foot-save {
    background-color: #2c4a6b !important;
    color: #fff !important;
}

.cc-pc-head-lang select:focus {
    box-shadow: 0 0 0 2px #2c4a6b !important;
}

.cc-cp-foot-byline {
    color: #F2F2F2 !important;
}

.cc-cp-foot-byline a {
    color: #F2F2F2 !important;
    pointer-events: none;
    cursor: default;
    text-decoration: none;
}

.cc-pc-head-title-text {
    color: white !important;
}

.notas-legales {
    font-size: 18px !important;
    line-height: 28px !important;
    color: #1A1A1A !important;
}

.notas-legales h2,
.notas-legales h3 {
    font-size: 22px !important;
    line-height: 32px !important;
}

.notas-legales h2,
.notas-legales h3,
.notas-legales p {
    margin-bottom: 30px !important;
}

.notas-legales li {
    margin-bottom: 15px !important;
}

.notas-legales ul li {
    list-style: disc !important;
}

.notas-legales ol li {
    list-style: decimal !important;
    padding-left: 15px !important;
}