* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    font-style: normal;
}

body {
    font-size: 1rem;
    margin-top: 100px;
    background-color: #002f51;
    overflow-y: scroll;
    overflow-x: hidden;
}

/* Estilo del header */
header {
    background-color: #00416b;
    color: #eef9ff;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    padding-left: 200px;
    padding-right: 200px;
    opacity: 0.9;
}

.logoNav {
    transform: scale(75%);
}

/* Modifica el color de la navbar */
.navbar.navbar-dark.bg-dark,
.bg-dark {
    background-color: rgba(0, 65, 107, 1) !important;
    color: rgb(255, 255, 255) !important;
    height: 100px;
}

/* Estilo dropdown cambiar idioma */
#intDropdown {
    translate: 50%;
    width: 10vh;
}

.dropdown:hover>.dropdown-menu {
    display: block;
}

.dropdown>.dropdown-toggle:active {
    /*Without this, clicking will make it sticky*/
    pointer-events: none;
}

/* Estilo general para los contenedores de pestañas */
.inicioContainer,
.nosotrosContainer,
.negociosContainer,
.solucionesContainer,
.catalogoContainer,
.reclutamientoContainer,
.contactoContainer,
.inicioContent {
    background-color: #001624;
    padding: 50px 200px 50px 200px;
    text-align: center;
    color: #ffffff;
}

.videosContainer,
.catalogoscont,
.reclutamientoCont,
#contactoCont,
#nosotrosCont,
#imgNegocios {
    max-width: 1520px;
    margin: 0 auto;
}

/* Estilo inicio */
#noticias {
    width: 100%;
    padding-left: 200px;
    padding-right: 200px;
    padding-top: 20px;
}

#noticias h2 {
    color: #ffffff;
}

#videoInicio {
    min-height: 100vh;
    position: relative;
}

#videoPrincipalBackgroud {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(30px);
    clip-path: inset(0);
}

#textInicio {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    color: white;
    text-align: center;
}

#textInicio h1 {
    font-size: 60px;
    font-weight: 900;
    font-style: normal;
    text-transform: uppercase;
}

#textInicio h2 {
    text-transform: uppercase;
}

/* Estilo nosotros */
.inicioContent .col {
    text-align: left;
}

.nosotrosContainer {
    background-size: cover;
    background-position: center;
    color: #ffffff;
}

#imgBgNosotros {
    background-image:
        url("/src/public/img/fondos/background2.jpg"),
        linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    background-blend-mode: multiply;
    background-position: center center;
    background-size: cover;
    width: 100%;
    height: 500px;
    color: #ffffff;
    margin: 0 0;
}

#imgBgNosotros {
    text-align: center;
    padding-top: 400px;
    padding-left: 200px;
    padding-right: 200px;
}

#imgBgNosotros h1 {
    text-transform: uppercase;
}

/* Estilo Negocios */
#imgBgNegocios {
    background-image:
        url("/src/public/img/fondos/bgNegocios.jpg"),
        linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    background-blend-mode: multiply;
    background-position: center center;
    background-size: cover;
    width: 100%;
    height: 500px;
    color: #ffffff;
    margin: 0 0;
}

#imgBgNegocios {
    text-align: center;
    padding-top: 400px;
    padding-left: 200px;
    padding-right: 200px;
}

#imgBgNegocios h1 {
    text-transform: uppercase;
}

#imgNegocios img {
    background-color: #ffffff;
    width: 320px;
    height: 220px;
    padding: 30px;
    margin: 10px;
    border-radius: 10%;
    max-height: 220px;
    max-width: 320px;
    object-fit: contain;
    position: relative;
}

#textUnidadNegocios img {
    border-radius: 10%;
}

/* Estilo soluciones */
#imgProductos div {
    padding-bottom: 15px;
}

#imgBgSoluciones {
    background-image:
        url("/src/public/img/fondos/bgSoluciones.jpg"),
        linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    background-blend-mode: multiply;
    background-position: center center;
    background-size: cover;
    width: 100%;
    height: 500px;
    color: #ffffff;
    margin: 0 0;
}

#imgBgSoluciones {
    text-align: center;
    padding-top: 400px;
    padding-left: 200px;
    padding-right: 200px;
}

#imgBgSoluciones h1 {
    text-transform: uppercase;
}

.solucionesContainer {
    color: #ffffff;
}

.solucionesContainer h2,
.catalogoContainer h2 {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 20px;
    text-align: left;
}

.solucionesContainer h4 {
    font-weight: 300;
    text-align: center;
}

#videoFb iframe {
    width: 100%;
    height: 410px;
}

/* Estilo catalogo */
#catalogoTitle {
    text-align: left;
}

/* Estilo carousel */
#carouselIndicators {
    z-index: 1;
}

.carousel-inner {
    padding: 40px;
}

.pdfEmbed {
    width: 65%;
    height: 85vh;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.5));
}

/* Estilo videos */
#playlistYoutube1 {
    width: 75%;
    height: 630px;
    margin: 0 auto;
}

/* Estilo videos */
#playlistYoutube2 {
    width: 50%;
    height: 420px;
    margin: 0 auto;
}

/* Estilo Reclutamiento */
.reclutamientoContainer {
    text-align: center;
}

#textReclutamiento {
    padding-left: 300px;
    padding-right: 300px;
}

#imgBgReclutamiento {
    background-image:
        url("/src/public/img/fondos/bgReclutamiento.jpg"),
        linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    background-blend-mode: multiply;
    background-position: center center;
    background-size: cover;
    width: 100%;
    height: 500px;
    color: #ffffff;
    margin: 0 0;
    text-align: center;
    padding-top: 400px;
    padding-left: 200px;
    padding-right: 200px;
}

#imgBgReclutamiento h1 {
    text-transform: uppercase;
}

/* Estilo contactanos */
#imgBgContactanos {
    background-image:
        url("/src/public/img/fondos/bgContactanos.jpg"),
        linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    background-blend-mode: multiply;
    background-position: center center;
    background-size: cover;
    width: 100%;
    height: 500px;
    color: #ffffff;
    margin: 0 0;
}

#imgBgContactanos {
    text-align: center;
    padding-top: 400px;
    padding-left: 200px;
    padding-right: 200px;
}

#imgBgContactanos h1 {
    text-transform: uppercase;
}

#iconosRedes {
    padding-bottom: 20px;
}

#iconosRedes a {
    font-size: 40px;
    padding-inline: 20px;
}

#cardMap .card {
    color: #000000;
    box-shadow: 0 0 10px 5px rgb(0, 0, 0);
    max-height: 310px;
    font-size: 14px;
    margin-left: 150px;
    margin-right: 150px;
}

.contactoContainer #pText {
    padding-top: 30px;
    padding-bottom: 30px;
}

/* Centra y coloca el footer al final de la pagina */
footer {
    position: relative;
    bottom: 0;
    width: 100%;
    background-color: #eef9ff;
    color: rgb(0, 0, 0);
    box-shadow: 0 0 5px #00416b;
    z-index: 11;
}

a {
    color: rgb(0, 0, 0);
}

/* Estilo boton back-to-top */
#btnBackTop {
    display: none;
    background: rgb(0, 0, 0);
    text-align: center;
    font-size: 30px;
    color: rgb(255, 255, 255);
    cursor: pointer;
    position: fixed;
    bottom: 80px;
    right: 20px;
    z-index: 1000;
}

#btnCollapseNavbar {
    visibility: hidden;
}

/* Banner de galletas (cookie) */
#cb-cookie-banner {
    position: fixed;
    bottom: 0;
    width: 100%;
    display: none;
    z-index: 1001;
}

/* Estilo modal */
.modal-content {
    background-color: #001624;
    color: #ffffff;
}

.modal-content .modal-header {
    background-color: #00416b;
}

/* Estilo sidebar soluciones */
.sidebar {
    position: fixed;
    width: 17vw;
    height: 100vh;
    z-index: 10;
    background-color: #001624;
    color: #ffffff;
    box-shadow: 0 0 1px #ffffff;
    padding: 20px 0 0 0;
    transition: background-color 0.3s ease-in-out;
}

.sidebar h2 {
    text-align: center;
}

.sidebar a {
    display: block;
    margin-left: 30px;
    margin-right: 30px;
    margin-bottom: 5px;
    background-color: #ffffff;
    color: #000000;
    text-decoration: none;
    font-size: 16px;
}

.sidebar a:hover {
    background-color: #006091;
}

/* ANIMACIONES PRODUCTOS */
#card {
    border-radius: 10px;
    transition: transform 0.1s;
    margin-left: -20px;
    margin-bottom: 8px;
}

#card:hover {
    box-shadow: 0px 0px 50px #000000;
}

/* RESPONSIVE DESIGN ----------------------------------------------------------------------------------------------------------- */
@media (max-width: 1370px) {


    /* Estilo inicio */
    #noticias {
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media only screen and (min-width: 0px) and (max-width: 460px) {

    body {
        margin-top: 80px;
    }

    .col {
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* Estilo del header */
    header {
        padding-left: 10px;
        padding-right: 10px;
        padding-bottom: 10px;
        opacity: 1;
    }

    /* Modifica el color de la navbar */
    .navbar.navbar-dark.bg-dark,
    .bg-dark {
        height: 70px;
    }

    /* Estilo dropdown*/
    .dropdown {
        position: relative;
    }

    .dropdown-menu {
        position: absolute;
        transform: translateX(-80%);
        text-align: center;
    }

    .imgLogo {
        width: 150px;
    }

    .optionNav {
        display: none;
    }

    #btnCollapseNavbar {
        background-color: #00406b;
        color: #ffffff;
        visibility: visible;
        font-size: 30px;
        border: none;
    }

    .optionNav2 {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .optionNav2>* {
        width: 100%;
    }

    .optionNav2 a {
        color: #001624;
        padding: 10px;
        margin: 3px;
        border-radius: 5px;
        background-color: #ffffff;
        transition: background-color 0.3s ease;
    }

    .optionNav2 a:hover {
        background-color: #00406b;
    }

    /* Estilo general para los contenedores de pestañas */
    .inicioContainer,
    .nosotrosContainer,
    .negociosContainer,
    .solucionesContainer,
    .catalogoContainer,
    .contactoContainer,
    .inicioContent,
    .reclutamientoContainer {
        padding: 20px 5px 20px 5px;
        text-align: center;
    }

    #textInicio {
        margin: 24px 0 0;
        padding: 0 0;
    }

    #textInicio h1 {
        font-size: 40px;
        font-weight: 700;
    }

    /* Estilo negocios */
    .negociosContainer #textUnidadNegocios {
        text-align: justify;
        margin: 20px;
    }

    .negociosContainer h5 {
        margin-top: 20px;
    }

    #imgNegocios img {
        width: 180px;
        height: 120px;
        padding: 10px;
        margin: 10px;
        max-height: 120px;
        max-width: 220px;
    }

    /* Estilo soluciones */
    .carousel-inner {
        padding: 50px;
    }

    .pdfEmbed {
        width: 100%;
        height: 80vh;
    }

    /* Estilo videos */
    #playlistYoutube1,
    #playlistYoutube2 {
        width: 100%;
        height: 240px;
    }

    .videosContainer h4 {
        text-align: left;
        padding-bottom: 20px;
        font-size: medium;
    }

    .videosContainer h2 {
        font-size: larger;
    }

    #videoFb iframe {
        width: 100%;
        height: 240px;
        margin-bottom: 30px;
    }

    /* Estilo sidebar soluciones */
    .sidebar {
        position: relative;
        width: 100vw;
        height: 23vh;
        z-index: 10;
        padding: 10px 0 0 0;
    }

    .sidebar a {
        margin-left: 10px;
        margin-right: 10px;
        margin-bottom: 3px;
        font-size: 12px;
    }

    /* Estilo reclutamiento */
    #textReclutamiento {
        padding-left: 0px;
        padding-right: 0px;
    }

    /* Estilo contacto */
    .contactoContainer #map {
        width: 45vh;
        height: 200px;
    }

    #cardMap {
        margin: 24px 0 0;
    }

    #cardMap .card {
        color: #000000;
        box-shadow: 0 0 30px rgb(0, 0, 0);
        margin-left: 0px;
        margin-right: 0px;
    }

    /* Estilo boton back-to-top */
    #btnBackTop {
        text-align: center;
        bottom: 40px;
        translate: -10px;
    }

    /* Estilo imagen titular */
    #imgBgNosotros,
    #imgBgNegocios,
    #imgBgSoluciones,
    #imgBgReclutamiento,
    #imgBgContactanos {
        height: 150px;
        padding-top: 100px;
        padding-left: 10px;
        padding-right: 10px;
    }

    #intDropdown {
        visibility: hidden;
    }

    /* ANIMACIONES PRODUCTOS */
    #card {
        margin-left: 0px;
        margin-bottom: 0px;
    }
}

@media only screen and (min-width: 460px) and (max-width: 720px) {

    .col {
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* Estilo del header */
    header {
        padding-left: 10px;
        padding-right: 10px;
        padding-bottom: 10px;
        opacity: 1;
    }

    /* Estilo dropdown*/
    .dropdown {
        position: relative;
    }

    .dropdown-menu {
        position: absolute;
        transform: translateX(-80%);
        text-align: center;
    }


    .imgLogo {
        width: 300px;
    }

    .optionNav {
        display: none;
    }

    #btnCollapseNavbar {
        background-color: #00406b;
        color: #ffffff;
        visibility: visible;
        font-size: 50px;
        border: none;
    }

    .optionNav2 {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .optionNav2>* {
        width: 100%;
    }

    .optionNav2 a {
        color: #001624;
        padding: 10px;
        margin: 3px;
        border-radius: 5px;
        background-color: #ffffff;
        transition: background-color 0.3s ease;
    }

    .optionNav2 a:hover {
        background-color: #00406b;
    }

    /* Modifica el color de la navbar */
    .navbar.navbar-dark.bg-dark,
    .bg-dark {
        height: 100px;
    }

    /* Estilo general para los contenedores de pestañas */
    .inicioContainer,
    .nosotrosContainer,
    .negociosContainer,
    .solucionesContainer,
    .catalogoContainer,
    .contactoContainer,
    .inicioContent,
    .reclutamientoContainer {
        padding: 0px 15px 50px 15px;
        text-align: center;
    }

    /* Estilo inicio */

    #textInicio {
        margin: 24px 0 0;
        padding: 0 0;
    }

    #textInicio h1 {
        font-size: 40px;
        font-weight: 700;
    }

    /* Estilo negocios */
    .negociosContainer #textUnidadNegocios {
        text-align: justify;
        margin: 20px;
    }

    .negociosContainer h5 {
        margin-top: 20px;
    }

    /* Estilo sidebar soluciones */
    .sidebar {
        position: relative;
        width: 100vw;
        height: 23vh;
        z-index: 10;
        padding: 10px 0 0 0;
    }

    .sidebar a {
        margin-left: 10px;
        margin-right: 10px;
        margin-bottom: 3px;
        font-size: 12px;
    }

    /* Estilo carousel */

    .carousel-inner {
        padding: 50px;
    }

    .pdfEmbed {
        width: 100%;
        height: 80vh;
    }

    /* Estilo reclutamiento */
    #textReclutamiento {
        padding-left: 0px;
        padding-right: 0px;
    }

    /* Estilo contacto */
    #iframeContainer .iframe {
        height: 900px;
    }

    .contactoContainer #map {
        width: 45vh;
        height: 200px;
    }

    #cardMap {
        margin: 24px 0 0;
    }

    #cardMap .card {
        color: #000000;
        box-shadow: 0 0 30px rgb(0, 0, 0);
    }

    /* Estilo boton back-to-top */
    #btnBackTop {
        text-align: center;
        bottom: 40px;
        translate: -10px;
    }

    /* Estilo imagen titular */
    #imgBgNosotros,
    #imgBgNegocios,
    #imgBgSoluciones,
    #imgBgReclutamiento,
    #imgBgContactanos {
        height: 150px;
        padding-top: 100px;
        padding-left: 10px;
        padding-right: 10px;
    }

    #intDropdown {
        visibility: hidden;
    }
}

@media only screen and (min-width: 720px) and (max-width: 1370px) {

    .col {
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* Estilo del header */
    header {
        padding-left: 0px;
        padding-right: 0px;
        padding-bottom: 10px;
        opacity: 1;
        background-color: rgba(0, 0, 0, 0);
    }

    /* Estilo dropdown cambiar idioma */
    .dropdown {
        position: relative;
    }

    .dropdown-menu {
        position: absolute;
        transform: translateX(-80%);
        text-align: center;
    }

    .optionNav {
        display: none;
    }

    #btnCollapseNavbar {
        background-color: #00406b;
        color: #ffffff;
        visibility: visible;
        font-size: 50px;
        border: none;
    }

    .optionNav2 {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .optionNav2>* {
        width: 100%;
    }

    .optionNav2 a {
        color: #001624;
        padding: 10px;
        margin: 3px;
        border-radius: 5px;
        background-color: #ffffff;
        transition: background-color 0.3s ease;
    }

    .optionNav2 a:hover {
        background-color: #00406b;
    }

    /* Modifica el color de la navbar */
    .navbar.navbar-dark.bg-dark,
    .bg-dark {
        height: 100px;
        padding-left: 10px;
        padding-right: 10px;
    }

    /* Estilo general para los contenedores de pestañas */
    .inicioContainer,
    .nosotrosContainer,
    .negociosContainer,
    .solucionesContainer,
    .catalogoContainer,
    .contactoContainer,
    .inicioContent,
    .reclutamientoContainer {
        padding: 50px 5px 50px 5px;
        text-align: center;
    }

    /* Estilo inicio */
    #textInicio {
        margin: 24px 0 0;
        padding: 0 0;
    }

    #textInicio h1 {
        font-size: 40px;
        font-weight: 700;
    }

    /* Estilo negocios */
    .negociosContainer #textUnidadNegocios {
        text-align: justify;
        margin: 20px;
    }

    .negociosContainer h5 {
        margin-top: 20px;
    }

    #imgNegocios img {
        width: 220px;
        height: 120px;
        padding: 10px;
        margin: 10px;
        max-height: 120px;
        max-width: 220px;
    }

    /* Estilo sidebar soluciones */
    .sidebar {
        position: relative;
        width: 100vw;
        height: 23vh;
        z-index: 10;
        padding: 10px 0 0 0;
    }

    .sidebar a {
        margin-left: 10px;
        margin-right: 10px;
        margin-bottom: 3px;
        font-size: 12px;
    }

    /* Estilo carousel */

    .carousel-inner {
        padding: 50px;
    }

    .pdfEmbed {
        width: 100%;
        height: 80vh;
    }

    /* Estilo reclutamiento */
    #textReclutamiento {
        padding-left: 0px;
        padding-right: 0px;
    }

    /* Estilo contacto */
    #cardMap {
        margin: 24px 0 0;
    }

    #cardMap .card {
        color: #000000;
        box-shadow: 0 0 30px rgb(0, 0, 0);
        min-height: 300px;
    }

    /* Estilo imagen titular */
    #imgBgNosotros,
    #imgBgNegocios,
    #imgBgSoluciones,
    #imgBgReclutamiento,
    #imgBgContactanos {
        height: 250px;
        padding-top: 150px;
        padding-left: 10px;
        padding-right: 10px;
    }

    #intDropdown {
        visibility: hidden;
    }
}

/*///////////////////////////////////////////////////////////////////////////////////////////////////////*/

/* Estilo negocios cards */
/* Cards */
.postcard {
    flex-wrap: wrap;
    display: flex;

    box-shadow: 0 4px 21px -12px rgba(0, 0, 0, 0.66);
    border-radius: 10px;
    margin: 0 0 2rem 0;
    overflow: hidden;
    position: relative;
    color: #ffffff;

    &.dark {
        background-color: #001624;
    }

    .t-dark {
        color: #18151f;
    }

    a {
        color: inherit;
    }

    h1,
    .h1 {
        margin-bottom: 0.5rem;
        font-weight: 500;
        line-height: 1.2;
    }

    .small {
        font-size: 80%;
    }

    .postcard__title {
        font-size: 1.75rem;
    }

    .postcard__img {
        max-height: 180px;
        width: 100%;
        object-fit: cover;
        position: relative;
    }

    .postcard__img_link {
        display: contents;
    }

    .postcard__bar {
        width: 50px;
        height: 10px;
        margin: 10px 0;
        border-radius: 5px;
        background-color: #004472;
        transition: width 0.2s ease;
    }

    .postcard__text {
        padding: 1.5rem;
        position: relative;
        display: flex;
        flex-direction: column;
    }

    .postcard__preview-txt {
        overflow: hidden;
        text-overflow: ellipsis;
        text-align: justify;
        height: 100%;
    }

    &:before {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        opacity: 1;
        border-radius: 10px;
    }

    &:nth-child(2n+1) {
        background-image: linear-gradient(-70deg, #002743, transparent 50%);
    }

    &:nth-child(2n+0) {
        background-image: linear-gradient(70deg, #002743, transparent 50%);
    }

    &:hover .postcard__bar {
        width: 100px;
    }
}

@media screen and (min-width: 769px) {
    .postcard {
        flex-wrap: inherit;

        .postcard__title {
            font-size: 2rem;
        }

        .postcard__tagbox {
            justify-content: start;
        }

        .postcard__img {
            max-width: 300px;
            max-height: 100%;
            transition: transform 0.3s ease;
        }

        .postcard__text {
            padding: 3rem;
            width: 100%;
        }

        .media.postcard__text:before {
            content: "";
            position: absolute;
            display: block;
            background: #18151f;
            top: -20%;
            height: 130%;
            width: 55px;
        }

        &:hover .postcard__img {
            transform: scale(1.1);
        }

        &:nth-child(2n+1) {
            flex-direction: row;
        }

        &:nth-child(2n+0) {
            flex-direction: row-reverse;
        }

        &:nth-child(2n+1) .postcard__text::before {
            left: -12px !important;
            transform: rotate(4deg);
        }

        &:nth-child(2n+0) .postcard__text::before {
            right: -12px !important;
            transform: rotate(-4deg);
        }
    }
}

@media screen and (min-width: 1024px) {
    .postcard__text {
        padding: 2rem 3.5rem;
    }

    .postcard__text:before {
        content: "";
        position: absolute;
        display: block;

        top: -20%;
        height: 130%;
        width: 55px;
    }

    .postcard.dark {
        .postcard__text:before {
            background: #001624;
        }
    }
}

/* Estilo noticias cards */
/* Cards */
.postcardNews {
    flex-wrap: wrap;
    display: flex;

    box-shadow: 0 4px 21px -12px rgba(0, 0, 0, 0.66);
    border-radius: 10px;
    margin: 0 0 2rem 0;
    overflow: hidden;
    position: relative;
    color: #ffffff;

    &.dark {
        background-color: #001624;
    }

    .t-dark {
        color: #18151f;
    }

    a {
        color: inherit;
        text-decoration: none;
    }

    h1,
    .h1 {
        margin-bottom: 0.5rem;
        font-weight: 500;
        line-height: 1.2;
    }

    .small {
        font-size: 80%;
    }

    .postcardNews__title {
        font-size: 1.75rem;
    }

    .postcardNews__img {
        max-height: 180px;
        width: 100%;
        object-fit: cover;
        position: relative;
    }

    .postcardNews__img_link {
        display: contents;
    }

    .postcardNews__bar {
        width: 50px;
        height: 10px;
        margin: 10px 0;
        border-radius: 5px;
        background-color: #004472;
        transition: width 0.2s ease;
    }

    .postcardNews__text {
        padding: 1.5rem;
        position: relative;
        display: flex;
        flex-direction: column;
    }

    .postcardNews__preview-txt {
        overflow: hidden;
        text-overflow: ellipsis;
        text-align: justify;
        height: 100%;
    }

    &:before {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        opacity: 1;
        border-radius: 10px;
    }

    &:nth-child(2n+1) {
        background-image: linear-gradient(70deg, #002743, transparent 50%);
    }

    &:nth-child(2n+0) {
        background-image: linear-gradient(70deg, #002743, transparent 50%);
    }

    &:hover .postcardNews__bar {
        width: 100px;
    }
}

@media screen and (min-width: 769px) {
    .postcardNews {
        flex-wrap: inherit;

        .postcardNews__title {
            font-size: 2rem;
        }

        .postcardNews__tagbox {
            justify-content: start;
        }

        .postcardNews__img {
            max-width: 300px;
            max-height: 100%;
            transition: transform 0.3s ease;
        }

        .postcardNews__text {
            padding: 3rem;
            width: 100%;
        }

        .media.postcardNews__text:before {
            content: "";
            position: absolute;
            display: block;
            background: #18151f;
            top: -20%;
            height: 130%;
            width: 55px;
        }

        &:hover .postcardNews__img {
            transform: scale(1.1);
        }

        &:nth-child(2n+1) {
            flex-direction: row-reverse;
        }

        &:nth-child(2n+0) {
            flex-direction: row-reverse;
        }

        &:nth-child(2n+1) .postcardNews__text::before {
            right: -12px !important;
        }

        &:nth-child(2n+0) .postcardNews__text::before {
            right: -12px !important;
        }
    }
}

@media screen and (min-width: 1024px) {
    .postcardNews__text {
        padding: 2rem 3.5rem;
    }

    .postcardNews__text:before {
        content: "";
        position: absolute;
        display: block;

        top: -20%;
        height: 130%;
        width: 55px;
    }

    .postcardNews.dark {
        .postcardNews__text:before {
            background: #001624;
        }
    }
}