/* ==========================================================================
   SOBIS AP — Noutăți
   ========================================================================== */

.sobis-news {
    padding: 150px 0 90px;
    background-color: #F3F3F3;
    color: #0C2F50;
    font-family: 'Roboto', sans-serif;
}

.sobis-news,
.sobis-news * {
    box-sizing: border-box;
}

.sobis-news .sobis-news__container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 50px;
}

/* Titlu și subtitlu — setări ca la Cariere */

.sobis-news__heading {
    margin: 0 0 44px;
}

.sobis-news__label {
    display: block;
    margin: 0 0 16px;
    color: #1277A0;
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.sobis-news__heading h1 {
    margin: 0 0 25px;
    color: #0C2F50;
    font-family: inherit;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.18;
    overflow-wrap: anywhere;
}

.sobis-news__heading p {
    max-width: 800px;
    margin: 0 0 14px;
    color: rgba(12, 47, 80, 0.74);
    font-size: 19px;
    line-height: 1.6;
}

/* Carduri */

.sobis-news__list {
    display: grid;
    gap: 28px;
}

.sobis-news__item {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr);
    gap: 34px;
    align-items: stretch;
    margin: 0;
    padding: 28px;
    border-radius: 12px;
    background-color: #FFFFFF;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
}

.sobis-news__item--text {
    grid-template-columns: 1fr;
}

/* Imagine — aceeași înălțime ca textul */

.sobis-news__image {
    position: relative;
    display: block;
    align-self: stretch;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    border-radius: 10px;
    text-decoration: none;
}

.sobis-news__image::after {
    display: none;
}

.sobis-news__image img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: none;
    margin: 0;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center center;
    transform: none;
}

.sobis-news__image:hover img {
    transform: none;
}

/* Conținut */

.sobis-news__content {
    min-width: 0;
}

.sobis-news__category {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    margin: 0 0 16px;
    padding: 5px 12px;
    border: 1px solid rgba(20, 124, 166, 0.45);
    border-radius: 50px;
    color: #147CA6;
    font-family: inherit;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.12em;
    text-indent: 0.12em;
    text-align: center;
    text-transform: uppercase;
    vertical-align: middle;
}

.sobis-news__content h2 {
    margin: 0 0 14px;
    color: #0C2F50;
    font-family: inherit;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.sobis-news__title,
.sobis-news__title:visited {
    display: inline;
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sobis-news__title::after {
    display: none;
}

.sobis-news__title:hover {
    color: #147CA6;
}

.sobis-news__excerpt {
    margin: 0 0 20px;
    color: #0C2F50;
    font-size: 18px;
    line-height: 1.6;
}

/* Citește mai mult */

.sobis-news__more,
.sobis-news__more:visited {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #147CA6;
    font-family: inherit;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sobis-news__more::after {
    display: none;
}

.sobis-news__more span {
    display: inline-block;
    transition: transform 0.3s ease;
}

.sobis-news__more:hover {
    color: #0C2F50;
    opacity: 1;
    text-decoration: none;
}

.sobis-news__more:hover span {
    transform: translateX(8px);
}

.sobis-news a:focus-visible {
    outline: 2px solid #147CA6;
    outline-offset: 5px;
}

/* Paginare */

.sobis-news__pagination {
    margin-top: 32px;
}

.sobis-news__pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    margin: 4px;
    padding: 6px 12px;
    border-radius: 8px;
    background-color: #FFFFFF;
    color: #0C2F50;
    font-size: 16px;
    line-height: 1.4;
    text-decoration: none;
}

.sobis-news__pagination .page-numbers::after {
    display: none;
}

.sobis-news__pagination a.page-numbers:hover,
.sobis-news__pagination .page-numbers.current {
    background-color: #0C2F50;
    color: #FFFFFF;
}

.sobis-news__pagination .page-numbers.dots {
    background-color: transparent;
}

/* Fără articole */

.sobis-news__empty {
    margin: 0;
    padding: 30px;
    border-radius: 12px;
    background-color: #FFFFFF;
    color: #0C2F50;
    font-size: 18px;
    line-height: 1.6;
}

/* Caseta de contact */

.sobis-news__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin-top: 65px;
    padding: 60px;
    border-radius: 12px;
    background-color: #FFFFFF;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
}

.sobis-news__cta > div {
    min-width: 0;
}

.sobis-news__cta h2 {
    margin: 0 0 12px;
    color: #0C2F50;
    font-family: inherit;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
}

.sobis-news__cta p {
    margin: 0;
    color: #0C2F50;
    font-size: 18px;
    line-height: 1.6;
}

/* Buton de contact */

.sobis-news__button,
.sobis-news__button:visited {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    min-width: 230px;
    min-height: 56px;
    padding: 16px 40px;
    border-radius: 50px;
    background: linear-gradient(
        90deg,
        #12769F 0%,
        #1D4266 100%
    );
    color: #FFFFFF;
    font-family: inherit;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    transition:
        transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        filter 0.3s ease;
}

.sobis-news__button::before,
.sobis-news__button::after {
    display: none;
    content: none;
}

.sobis-news__button:hover {
    color: #FFFFFF;
    text-decoration: none;
    transform: scale(1.03) translateY(-2px);
    filter: brightness(1.15);
}


/* Tabletă — păstrăm distanța de sus ca pe Cariere */

@media (max-width: 991px) {
    .sobis-news__item {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
        gap: 24px;
        padding: 24px;
    }

    .sobis-news__item--text {
        grid-template-columns: 1fr;
    }

    .sobis-news__content h2 {
        font-size: 25px;
    }

    .sobis-news__cta {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Carduri pe o singură coloană */

@media (max-width: 767px) {
    .sobis-news__list {
        gap: 22px;
    }

    .sobis-news__item {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 20px;
    }

    .sobis-news__image {
        aspect-ratio: 4 / 3;
    }

    .sobis-news__content h2 {
        font-size: 24px;
    }

    .sobis-news__excerpt,
    .sobis-news__cta p {
        font-size: 16px;
    }

    .sobis-news__more,
    .sobis-news__more:visited {
        font-size: 17px;
    }

    .sobis-news__cta {
        gap: 24px;
        margin-top: 40px;
        padding: 42px 28px;
    }

    .sobis-news__cta h2 {
        font-size: 26px;
    }

    .sobis-news__button {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        padding: 16px 24px;
        font-size: 17px;
    }

    .sobis-news__pagination .page-numbers {
        margin: 3px;
        font-size: 14px;
    }
}

/* Mobil — titlu și spațiu de sus ca pe pagina Cariere */

@media (max-width: 700px) {
    .sobis-news {
        padding: 140px 0 65px;
    }

    .sobis-news .sobis-news__container {
        width: 100%;
        max-width: 100%;
        padding-left: 32px;
        padding-right: 32px;
    }

    .sobis-news__heading {
        margin-bottom: 30px;
    }

    .sobis-news__label {
        font-size: 14px;
    }

    .sobis-news__heading h1 {
        margin-bottom: 25px;
        font-size: 32px;
        line-height: 1.22;
    }

    .sobis-news__heading p {
        font-size: 17px;
        line-height: 1.6;
    }
}

/* Telefoane mici */

@media (max-width: 480px) {
    .sobis-news__heading h1 {
        font-size: 28px;
        line-height: 1.25;
    }
}

/* Accesibilitate — reducerea animațiilor */

@media (prefers-reduced-motion: reduce) {
    .sobis-news__more,
    .sobis-news__more span,
    .sobis-news__title,
    .sobis-news__button {
        transition: none;
    }

    .sobis-news__more:hover span,
    .sobis-news__button:hover {
        transform: none;
    }
}