.proj-card .proj-title {
    font-size: clamp(13px, 0.9vw, 15px);
    line-height: clamp(16px, 1.08vw, 18px);
    letter-spacing: 0.03em;
}

/* Project detail: video + text + video on one row */
.proj-video-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.8fr) minmax(0, 1fr);
    align-items: center;
    gap: 32px;
    margin: 42px 0;
}

.proj-video-row--two {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 1fr);
}

.proj-video-row__media,
.proj-video-row__content {
    min-width: 0;
}

.proj-video-row__media iframe,
.proj-video-row__media video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border: 0;
}

.proj-video-row__content {
    font-size: 18px;
    line-height: 1.65;
    color: #3f4654;
}

.proj-video-row__content p:last-child {
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .proj-video-row,
    .proj-video-row--two {
        display: block;
        margin: 32px 0;
    }

    .proj-video-row__media,
    .proj-video-row__content {
        margin-bottom: 24px;
    }

    .proj-video-row__media:last-child,
    .proj-video-row__content:last-child {
        margin-bottom: 0;
    }
}

/* Cariere page override CSS. Keep the global header/footer from styles.css unchanged. */
body {
    background: #fff;
}

.car-hero,
.car-jobs,
.car-articles {
    overflow: hidden;
}

/* HERO */
.car-hero {
    background: #f4f7fc;
    padding: 64px 0 30px;
    min-height: 570px;
    position: relative;
    overflow: hidden;
}

.car-hero .wrap {
    position: relative;
}

.car-hero__grid {
    min-height: 498px;
    display: grid;
    grid-template-columns: 1fr 600px;
    gap: 0;
    align-items: end;
}

.car-hero__grid > .anim-left {
    align-self: center;
    padding-bottom: 0;
    max-width: 100%;
}

.car-hero__eyebrow {
    gap: 12px;
    margin-bottom: 20px;
}

.car-hero__eyebrow-line {
    background: var(--ab-800);
}

.car-hero__eyebrow-text {
    color: var(--ab-800);
}

.car-hero__heading {
    font-size: clamp(58px, 7.8vw, 104px);
    line-height: .86;
    letter-spacing: -.8px;
    margin-bottom: 30px;
}

.car-hero__heading .line-dim {
    color: transparent;
    -webkit-text-stroke: 1.6px var(--ab-800);
    text-stroke: 1.6px var(--ab-800);
    opacity: .78;
}

.car-hero__desc {
    max-width: 100%;
    color: #111827;
    font-size: 14px;
    line-height: 1.55;
    font-weight: 600;
    margin-bottom: 32px;
}

.car-hero .btn-secondary {
    min-width: 174px;
    height: 48px;
    justify-content: center;
    border-color: var(--rosu);
    color: var(--rosu);
    background: #fff;
    font-size: 13px;
    padding: 0 20px;
}

.car-hero .btn-secondary:hover {
    background: var(--rosu);
    color: #fff;
}

.car-hero__photo-wrap {
    position: relative;
    min-height: 498px;
    align-self: stretch;
    justify-content: center;
    align-items: flex-end;
    overflow: visible;
}

.car-hero__deco {
    position: absolute;
    top: -127px;
    right: -98px;
    left: auto;
    width: 705px;
    height: 713px;
    background: url(../../../assets/poligon.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.car-hero__photo {
    position: absolute;
    right: -32px;
    bottom: -30px;
    z-index: 1;
    width: auto;
    max-width: none;
    height: 580px;
    object-fit: contain;
    object-position: bottom right;
}

/* SEARCH BAR */
.car-search {
    background: var(--rosu);
    padding: 0;
    position: relative;
    z-index: 4;
}

.car-search__inner {
    min-height: 70px;
    align-items: stretch;
    background: transparent;
    gap: 0;
}

.car-search__text,
.car-search__select,
.car-search__btn {
    height: 48px;
    align-self: center;
}

.car-search__text {
    flex: 1 1 auto;
    min-width: 340px;
    border: 0;
    padding: 10px 18px;
    color: var(--ab-800);
    font-weight: 600;
}

.car-search__label {
    min-width: 0;
    padding: 0 14px 0 18px;
    background: #fff;
    align-self: center;
    height: 48px;
    color: var(--rosu);
    font-size: 11px;
    border-left: 1px solid #edf1f9;
}

.car-search__select {
    min-width: 145px;
    border-left: 0;
    color: #111827;
}

.car-search__btn {
    min-width: 118px;
    justify-content: center;
    background: var(--ab-800);
}

/* JOBS */
.car-jobs {
    padding: 58px 0 82px;
    background: #fff;
}

.car-jobs__eyebrow {
    margin-bottom: 12px;
}

.car-jobs__count {
    margin-bottom: 58px;
    font-size: clamp(40px, 5vw, 60px);
}

.jobs-cards-grid {
    background: transparent;
    border: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.jc {
    min-height: 215px;
    padding: 24px;
    border: none;
    box-shadow: 2px 2px 8px 0px #0021691F;
    gap: 16px;
}

.jc:hover {
    background: var(--ab-100);
    border-top: 1px solid var(--ab-800);
}

.jc__badge {
    color: var(--rosu);
    background: #fff0f4;
    font-size: 13px;
    font-weight: 500;
    line-height: 100%;
    padding: 4px 8px;
}

.jc__badge_ab {
    background: var(--ab-200);
    color: var(--ab-800);
}

.jc__title {
    font-size: 24px;
    line-height: 100%;
    min-height: 87px;
    max-width: 100%;
    font-weight: 700;
}

.jc__meta {
    margin-top: auto;
    font-size: 13px;
    line-height: 18px;
    color: var(--ab-800);
}

.jc__tags {
    margin-top: 16px;
}

.jc__tag {
    background: var(--ab-200);
    color: var(--ab-800);
    border: 0;
    font-size: 13px;
    padding: 4px 8px;
}

.jc__link {
    justify-content: flex-end;
    color: var(--ab-800);
    font-size: 15px;
    line-height: 100%;
    margin-top: 0;
    text-transform: uppercase;
}

/* TEAM CTA */
.car-team-cta {
    background: var(--rosu-800);
    min-height: 242px;
    padding: 96px 0 64px;
    position: relative;
}

.car-team-cta::before,
.car-team-cta::after {
    display: none;
}

/*.car-team-cta::before,
.car-team-cta::after,
.car-team-cta__inner::before,
.car-team-cta__inner::after {
    content: '';
    position: absolute;
    pointer-events: none;
    background: rgba(255, 255, 255, .16);
}

.car-team-cta::before {
    right: 3%;
    top: -65px;
    width: 410px;
    height: 160px;
    border-radius: 90px;
    transform: rotate(22deg);
}

.car-team-cta::after {
    left: 49%;
    top: -30px;
    width: 130px;
    height: 190px;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
}*/

.car-team-cta__inner {
    position: relative;
    z-index: 1;
    align-items: center;
}

.car-team-cta__inner::before {
    left: 45%;
    bottom: -92px;
    width: 350px;
    height: 160px;
    transform: rotate(28deg);
}

.car-team-cta__inner::after {
    right: 9%;
    bottom: -8px;
    width: 118px;
    height: 118px;
    border-radius: 34px;
    transform: rotate(28deg);
}

.car-team-cta__label::before {
    content: '— ';
}

.car-team-cta__label {
    color: rgba(255, 255, 255, .72);
}

.car-team-cta__heading {
    font-size: clamp(34px, 4.4vw, 50px);
    margin-bottom: 10px;
}

.car-team-cta__desc {
    max-width: 690px;
    color: rgba(255, 255, 255, .78);
}

.car-team-cta__btn {
    color: var(--rosu);
    padding: 14px 28px;
}

/* ARTICLES */
.car-articles {
    background: var(--ab-100);
    padding: 96px 0 64px;
}

.car-articles__heading {
    margin-bottom: 60px;
    color: var(--grey-800);
}

.articles-grid {
    border: 0;
    gap: 0;
    background: #fff;
}

.art-card {
    background: #fff;
    border-right: 3px solid #f4f7fc;
}

.art-card:last-child {
    border-right: 0;
}

.art-card__img {
    position: relative;
    aspect-ratio: 16 / 9.1;
}

.art-card__body {
    padding: 18px 20px 22px;
}

.art-card__badge {
    position: absolute;
    top: 16px;
    left: 16px;
    color: #fff;
    background: var(--rosu);
}

.art-card__title {
    font-size: 16px;
    font-weight: 500;
}

.art-card__desc {
    color: #303846;
}

.filter-bar--red {
    background: var(--rosu);
}

/* RESPONSIVE - CARIERE */
@media (max-width: 1199px) {
    .car-hero__deco {
        right: -260px;
        width: 900px;
    }

    .car-hero__photo {
        right: -70px;
        height: 498px;
    }

    .jobs-cards-grid {
        gap: 18px;
    }
}

@media (max-width: 959px) {
    .car-hero {
        padding-top: 56px;
    }

    .car-hero__grid {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .car-hero__grid > .anim-left {
        padding-bottom: 0;
    }

    .car-hero__photo-wrap {
        min-height: 380px;
        overflow: hidden;
    }

    .car-hero__photo {
        right: 0;
        height: 380px;
        width: auto;
    }

    .car-hero__deco {
        left: auto;
        right: -140px;
        width: 700px;
        height: 380px;
        clip-path: polygon(44% 0, 100% 0, 100% 86%, 86% 100%, 58% 100%, 0 55%);
    }

    .jobs-cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .car-search__inner {
        gap: 8px;
        padding: 12px 0;
    }

    .car-search__label {
        display: none;
    }

    .car-search__text,
    .car-search__select,
    .car-search__btn {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 639px) {
    .car-hero__heading {
        font-size: 54px;
    }

    .car-hero__photo-wrap {
        min-height: 300px;
    }

    .car-hero__photo {
        height: 300px;
    }

    .car-hero__deco {
        left: auto;
        right: -150px;
        width: 520px;
        height: 300px;
        clip-path: polygon(42% 0, 100% 0, 100% 88%, 84% 100%, 56% 100%, 0 56%);
    }

    .jobs-cards-grid {
        grid-template-columns: 1fr;
    }

    .jc {
        min-height: 190px;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .art-card {
        border-right: 0;
        border-bottom: 3px solid #f4f7fc;
    }

    .car-team-cta__btn {
        width: 100%;
        justify-content: center;
    }
}

/* Rapoarte page fixes only */
.rapoarte-page .rapp-section--hero {
    padding: 120px 0 64px;
    background: #edf1f9;
}

.rapoarte-page .rapp-section--white {
    padding: 96px 0 64px;
}

.rapoarte-page .rapp-layout {
    align-items: center;
}

.rapoarte-page .rapp-heading {
    letter-spacing: 0;
}

.rapoarte-page .rapp-heading--hero {
    margin-bottom: 30px;
}

.rapoarte-page .rapp-desc:not(.descriere_raport) {
    max-width: 517px;
}

.rapoarte-page .rapp-desc.descriere_raport {
    max-width: 750px;
}

.rapp-heading {
    color: var(--grey-800);
}

.rapoarte-page .rapp-img {
    justify-content: flex-end;
}

.rapoarte-page .rapp-img:not(.rapp-img2) img {
    max-width: 300px;
    margin:0 auto;
}

.rapoarte-page .rapp-btns {
    gap: 14px;
}

.rapoarte-page .btn-dl {
    min-height: 42px;
    padding: 0 28px;
    background: #fff;
}

.rapoarte-page .rapp-stats {
    padding: 64px 0;
    border-top: none;
}

.rapoarte-page .rapp-stats__grid {
    background: transparent;
    gap: 11px;
}

.rapoarte-page .rapp-stat__val {
    font-size: clamp(42px, 4.6vw, 48px);
    font-weight: 700;
}

.rapoarte-page .rapp-stat__label {
    max-width: 100%;
    font-size: 15px;
    color: var(--grey-800);
    line-height: 24px;
}

@media (max-width: 1023px) {
    .rapoarte-page .rapp-section--hero {
        padding: 72px 0 72px;
    }

    .rapoarte-page .rapp-section--white {
        padding: 64px 0;
    }

    .rapoarte-page .rapp-img {
        justify-content: flex-start;
    }

    .rapoarte-page .rapp-img img {
        max-width: 520px;
    }

    .rapoarte-page .rapp-stats__grid {
        gap: 32px;
    }
}

@media (max-width: 575px) {
    .rapoarte-page .rapp-btns {
        flex-direction: column;
        align-items: flex-start;
    }

    .rapoarte-page .btn-dl {
        width: 100%;
        justify-content: center;
    }
}

/* Programe studenti page fixes only */
.studenti-page .stud-hero {
    background: #edf1f9;
    padding: 0;
    min-height: 560px;
    overflow: hidden;
    position: relative;
}

.studenti-page .stud-hero__inner {
    min-height: 560px;
    align-items: end;
    gap: 0;
}

.studenti-page .stud-hero__copy {
    position: relative;
    z-index: 3;
    align-self: center;
    padding: 72px 0 70px;
    max-width: 500px;
}

.studenti-page .stud-hero__eyebrow-line {
    background: var(--ab-800);
}

.studenti-page .stud-hero__eyebrow-text {
    color: var(--ab-800);
}

.studenti-page .stud-hero__title {
    font-size: clamp(58px, 7.8vw, 88px);
    line-height: .96;
    color: var(--rosu);
    margin-bottom: 40px;
}

.studenti-page .stud-hero__title .line-red,
.studenti-page .stud-hero__title .line-outline {
    display: block;
}

.studenti-page .stud-hero__title .line-outline {
    color: transparent;
    -webkit-text-stroke: 1.6px var(--ab-800);
    text-stroke: 1.6px var(--ab-800);
}

.studenti-page .stud-hero__desc {
    max-width: 530px;
    color: #111827;
    font-size: 15px;
    line-height: 1.55;
    font-weight: 700;
    margin-bottom: 34px;
}

.studenti-page .stud-hero__btn {
    min-width: 238px;
    height: 48px;
    justify-content: center;
    border-color: var(--rosu);
    color: var(--rosu);
    background: #fff;
    font-size: 15px;
    padding: 0 24px;
}

.studenti-page .stud-hero__btn:hover {
    background: var(--rosu);
    color: #fff;
}

.studenti-page .stud-hero__visual {
    position: relative;
    min-height: 560px;
    align-self: stretch;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    overflow: visible;
}

.studenti-page .stud-hero__deco {
    position: absolute;
    top: 0;
    right: 0;
    left: auto;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background-color: #f3cfd8;
    -webkit-mask-image: var(--stud-hero-vector);
    mask-image: var(--stud-hero-vector);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-position: top right;
    mask-position: top right;
}

.studenti-page .stud-hero__img {
    position: absolute;
    right: 0px;
    bottom: 0;
    z-index: 1;
    width: 755px;
    max-width: none;
    height: 713px;
    object-fit: contain;
    object-position: bottom right;
    max-height: 713px;
}

/* Red internship banner */
.studenti-page .stud-banner {
    padding: 0;
    background: var(--rosu);
}

.studenti-page .stud-banner__inner {
    min-height: 118px;
    align-items: center;
}

.studenti-page .stud-banner__text {
    font-size: clamp(34px, 4.8vw, 58px);
    line-height: 1;
    color: #fff;
}

.studenti-page .stud-banner__btn {
    min-width: 116px;
    height: 54px;
    justify-content: center;
    background: var(--ab-800);
    color: #fff;
    border: 1px solid #fff;
    padding: 0 28px;
}

.studenti-page .stud-banner__btn:hover {
    background: var(--ab-900);
    color: #fff;
}

.studenti-page .stud-section-title {
    font-family: var(--cond);
    font-size: clamp(34px, 4.8vw, 58px);
    font-weight: 800;
    line-height: .95;
    color: var(--grey-800);
    margin-bottom: 22px;
}

.studenti-page .stud-section-title span {
    color: var(--rosu);
}

/* Partner section */
.studenti-page .stud-partner {
    padding: 72px 0 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.studenti-page .stud-partner__bg {
    position: absolute;
    top: 150px;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(980px, 62vw);
    height: auto;
    z-index: 0;
    pointer-events: none;
    background-color: var(--ab-200);
    -webkit-mask-image: var(--stud-partner-vector);
    mask-image: var(--stud-partner-vector);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-position: right top;
    mask-position: right top;
}

.studenti-page .stud-partner .wrap {
    position: relative;
    z-index: 1;
}

.studenti-page .stud-partner__grid {
    gap: 54px;
    align-items: center;
    margin-top: 70px;
}

.studenti-page .stud-partner__img {
    width: 100%;
    max-width: 560px;
    display: block;
}

.studenti-page .stud-partner__items {
    gap: 42px;
}

.studenti-page .stud-partner__item {
    align-items: flex-start;
}

.studenti-page .stud-partner__chevron {
    margin-top: 8px;
}

.studenti-page .stud-partner__item-title {
    font-size: 28px;
    line-height: 1.05;
    margin-bottom: 12px;
}

.studenti-page .stud-partner__item-body {
    font-size: 16px;
    line-height: 1.55;
}

/* Features */
.studenti-page .stud-features {
    position: relative;
    z-index: 2;
    background: transparent;
    border-top: 0;
    border-bottom: 0;
    margin-top: 76px;
    padding-bottom: 70px;
}

.studenti-page .stud-features__inner {
    position: relative;
    z-index: 2;
    gap: 18px;
}

.studenti-page .stud-feature {
    border-right: 0;
    border-top: 2px solid var(--rosu);
    margin-top: -2px;
    padding-top: 42px;
}

.studenti-page .stud-feature:hover {
    background: transparent;
}

.studenti-page .stud-feature__icon {
    width: 75px;
    height: 75px;
    object-fit: contain;
    display: block;
}

.studenti-page .stud-feature__label {
    font-size: 15px;
}

/* Testimonial */
.studenti-page .stud-testimonial {
    padding: 80px 0;
}

/* Articles */
.studenti-page .stud-articles,
.studenti-page .car-articles {
    background: #f4f7fc;
    padding: 72px 0 80px;
}

.studenti-page .stud-articles__grid,
.studenti-page .articles-grid {
    background: #fff;
    border: 0;
}

.studenti-page .art-card {
    background: #fff;
    border-right: 3px solid #f4f7fc;
}

.studenti-page .art-card:last-child {
    border-right: 0;
}

.studenti-page .art-card__img {
    position: relative;
    aspect-ratio: 16 / 9.1;
}

.studenti-page .art-card__badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    color: #fff;
    background: var(--rosu);
    font-family: var(--cond);
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.studenti-page .art-card__img a {
    display: block;
    height: 100%;
}

.studenti-page .art-card__img a img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.studenti-page .art-card__title a {
    color: inherit;
    text-decoration: none;
}

.studenti-page .art-card__title a:hover {
    color: var(--rosu);
}

/* Jobs */
.studenti-page .stud-jobs {
    background: #fff;
    padding: 72px 0 88px;
}

.studenti-page .stud-jobs__grid {
    background: transparent;
    border: 0;
    gap: 24px;
}

.studenti-page .jc {
    min-height: 205px;
    border: 1px solid #edf1f9;
    box-shadow: 0 6px 18px rgba(0, 33, 105, .08);
}

.studenti-page .jc__badge {
    color: var(--ab-800);
    background: #edf3ff;
}

.studenti-page .jc__link {
    justify-content: flex-end;
    margin-top: auto;
}

/* CTA */
.studenti-page .studenti-cta {
    background: #a20f2f;
}

/* Responsive - Studenti */
@media (max-width: 1199px) {
    .studenti-page .stud-hero__img {
        right: -42px;
        height: 490px;
    }

    .studenti-page .stud-partner__bg {
        top: 170px;
        right: -40px;
        bottom: 0;
        width: min(860px, 64vw);
    }

    .studenti-page .stud-partner__grid {
        gap: 40px;
    }

    .studenti-page .stud-partner__item-title {
        font-size: 24px;
    }
}

@media (max-width: 1023px) {
    .studenti-page .stud-hero {
        min-height: auto;
        padding-top: 56px;
    }

    .studenti-page .stud-hero__inner {
        min-height: auto;
        gap: 24px;
    }

    .studenti-page .stud-hero__copy {
        padding: 0 0 24px;
    }

    .studenti-page .stud-hero__visual {
        min-height: 390px;
        overflow: hidden;
    }

    .studenti-page .stud-hero__deco {
        top: 0;
        right: 0;
        width: 100%;
        height: 390px;
    }

    .studenti-page .stud-hero__img {
        right: 0;
        height: 370px;
    }

    .studenti-page .stud-banner__inner {
        min-height: 92px;
    }

    .studenti-page .stud-banner__text {
        font-size: clamp(28px, 5vw, 42px);
    }

    .studenti-page .stud-partner {
        overflow: hidden;
        padding-bottom: 0;
    }

    .studenti-page .stud-partner__bg {
        top: auto;
        right: -40px;
        bottom: 0;
        width: 78vw;
        min-width: 420px;
    }

    .studenti-page .stud-partner__grid {
        margin-top: 48px;
        gap: 28px;
    }

    .studenti-page .stud-partner__items {
        gap: 28px;
    }

    .studenti-page .stud-partner__item-title {
        font-size: 22px;
    }

    .studenti-page .stud-features {
        margin-top: 52px;
        padding-bottom: 50px;
    }
}

@media (max-width: 767px) {
    .studenti-page .stud-hero__visual {
        min-height: 300px;
    }

    .studenti-page .stud-hero__deco {
        right: 0;
        width: 100%;
        height: 300px;
    }

    .studenti-page .stud-hero__img {
        right: -30px;
        height: 285px;
    }

    .studenti-page .stud-banner__inner {
        min-height: auto;
        padding: 22px 16px;
        gap: 18px;
    }

    .studenti-page .stud-banner__btn {
        width: 100%;
    }

    .studenti-page .stud-partner__bg {
        right: -70px;
        bottom: 0;
        width: 95vw;
        min-width: 360px;
    }

    .studenti-page .stud-partner__item-title {
        font-size: 20px;
    }

    .studenti-page .stud-feature {
        padding-top: 28px;
    }

    .studenti-page .art-card {
        border-right: 0;
        border-bottom: 3px solid #f4f7fc;
    }
}

@media (max-width: 575px) {
    .studenti-page .stud-hero__title {
        font-size: 48px;
    }

    .studenti-page .stud-hero__img {
        right: -70px;
    }
}

/* ==========================================================
   SUSTENABILITATE - CUSTOM FIXES
   ========================================================== */

.sustenabilitate-page .sust-pilier .svc-heading {
    margin-bottom: 24px;
}

.sustenabilitate-page .sust-pilier .svc-desc {
    max-width: 100%;
    margin-bottom: 24px;
}

.sustenabilitate-page .sust-pilier .svc-desc p + p {
    margin-top: 14px;
}

.sustenabilitate-page .sust-pilier .detail-blocks {
    margin-top: 40px;
    padding-left: 40px;
}

.sustenabilitate-page .sust-pilier .detail-list li {
    line-height: 1.65;
}

.sustenabilitate-page .sust-pilier .detail-list strong {
    color: var(--ab-800);
    font-weight: 800;
}

.sustenabilitate-page .detail-list li span.detail-list__title {
    display: block;
    font-weight: 700;
    color: var(--ab-800);
    margin-top: 0;
    margin-bottom: 4px;
}

.sustenabilitate-page .detail-list li span.detail-list__text {
    display: block;
    font-weight: 400;
    color: var(--grey-800);
    line-height: 1.6;
}

/* Pillar layout: text = 2/3, image = 1/3 */
.sustenabilitate-page .sust-pilier__grid {
    display: grid;
    grid-template-columns: 1fr 433px;
    gap: 40px;
    align-items: center;
}

/* Image-left: image = 1/3, text = 2/3 */
.sustenabilitate-page .sust-pilier__grid--image-left {
    grid-template-columns: minmax(260px, 1fr) minmax(0, 2fr);
}

.sustenabilitate-page .sust-pilier__grid:not(.sust-pilier__grid--image-left) .sust-left {
    grid-column: 1;
}

.sustenabilitate-page .sust-pilier__grid:not(.sust-pilier__grid--image-left) .sust-right {
    grid-column: 2;
}

.sustenabilitate-page .sust-pilier__grid--image-left .sust-left {
    grid-column: 1;
}

.sustenabilitate-page .sust-pilier__grid--image-left .sust-right {
    grid-column: 2;
}

/* Important: image width 1/3, no vertical crop */
.sustenabilitate-page .pilier-photo,
.sustenabilitate-page .pilier-photo--tall {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center;
    aspect-ratio: auto;
}

/* Quote banners */
.sust-quote-banner {
    min-height: 188px;
    padding: 40px 80px;
    display: flex;
    align-items: center;
}

.sust-quote-banner .wrap {
    width: 100%;
    max-width: 1352px;
    min-height: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sust-quote-banner__text {
    width: 100%;
    max-width: 1352px;
    min-height: 0;
    height: auto;
    padding: 0;
    margin: 0;
    font-weight: 700;
    font-size: 32px;
    line-height: 1.25;
    letter-spacing: 0;
    text-align: center;
}

.sust-quote-banner--image {
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.sust-quote-banner--image .wrap {
    flex-direction: column;
    gap: 12px;
}

.sust-quote-banner--image .sust-quote-banner__text {
    color: #fff;
}

.sust-quote-banner__author {
    margin: 0;
    font-weight: 400;
    font-size: 13px;
    line-height: 1;
    letter-spacing: 0;
    text-align: center;
}

.sust-quote-banner--image .sust-quote-banner__author {
    color: #fff;
}

.sust-quote-banner--italic .wrap {
    gap: 16px;
}

@media (max-width: 991px) {
    .sustenabilitate-page .sust-pilier__grid,
    .sustenabilitate-page .sust-pilier__grid--image-left {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .sustenabilitate-page .sust-pilier__grid .sust-left,
    .sustenabilitate-page .sust-pilier__grid .sust-right,
    .sustenabilitate-page .sust-pilier__grid--image-left .sust-left,
    .sustenabilitate-page .sust-pilier__grid--image-left .sust-right {
        grid-column: auto;
    }

    .sustenabilitate-page .pilier-photo,
    .sustenabilitate-page .pilier-photo--tall {
        max-height: none;
    }

    .sust-quote-banner {
        min-height: auto;
        padding: 36px 20px;
    }

    .sust-quote-banner .wrap {
        min-height: auto;
    }

    .sust-quote-banner__text {
        font-size: 24px;
        line-height: 1.15;
    }

    .sust-quote-banner__author {
        font-size: 13px;
        line-height: 1.15;
    }
}

.sust-angajament {
    background-repeat: no-repeat;
    background-position: top 0 right 0;
    background-size: auto 300px;
}

@media (max-width: 991px) {
    .sust-angajament {
        background-size: auto 220px;
        background-position: top 0 right -120px;
    }
}

.page-404 {
    min-height: calc(100vh - 300px);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--ab-100) url("../../../assets/bg-agentii.svg");
    background-size: contain;
    background-position: right bottom;
    background-repeat: no-repeat;
}

.page-404::before {
    content: "404";
    position: absolute;
    right: -40px;
    bottom: -70px;
    font-family: var(--cond);
    font-size: clamp(180px, 28vw, 420px);
    font-weight: 800;
    line-height: .8;
    color: rgba(0, 33, 105, .06);
    pointer-events: none;
}

.page-404__inner {
    position: relative;
    z-index: 1;
    max-width: 820px;
    padding: 90px 0;
}

.page-404__title {
    margin: 18px 0 24px;
    color: var(--ab-800);
}

.page-404__desc {
    max-width: 680px;
    margin: 0 0 36px;
    color: var(--grey-800);
    font-size: 18px;
    line-height: 1.65;
}

.page-404__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.page-404__actions .btn-secondary,
.page-404__actions .btn-outline {
    min-height: 48px;
    align-items: center;
}

@media (max-width: 767px) {
    .page-404 {
        min-height: auto;
        background-size: 520px auto;
        background-position: right -180px bottom;
    }

    .page-404__inner {
        padding: 70px 0;
    }

    .page-404__desc {
        font-size: 16px;
    }

    .page-404__actions a {
        width: 100%;
        justify-content: center;
    }
}

.detail-list li > div > div {
    color: var(--grey-800);
    font-size: 15px;
    font-weight: 400;
    line-height: 24px;
    display: block;
    margin-top: 8px;
}

.dstire-navigation {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 24px;
    margin-top: 64px;
}

.dstire-navigation__previous {
    display: flex;
    justify-content: flex-start;
}

.dstire-navigation__next {
    display: flex;
    justify-content: flex-end;
}

.dstire-navigation .btn-dl {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

@media (max-width: 575px) {
    .dstire-navigation {
        grid-template-columns: 1fr;
    }

    .dstire-navigation__previous,
    .dstire-navigation__next {
        justify-content: stretch;
    }

    .dstire-navigation .btn-dl {
        width: 100%;
    }
}

.dj-form-row3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

@media (min-width: 640px) {
    .dj-form-row3 {
        grid-template-columns: repeat(3, 1fr);
    }
}


/* STIRI - CSS preluat */

/* ==========================================================
   IMAGES INSIDE IMPORTED ARTICLE CONTENT
   ========================================================== */

.dstire-body img {
    box-sizing: border-box;
    height: auto;
    max-width: 100%;
    vertical-align: bottom;
}

.dstire-body img[class*="wp-image-"] {
    height: auto;
    max-width: 100%;
}


/* ==========================================================
   STANDALONE WORDPRESS IMAGE BLOCKS
   ========================================================== */

.dstire-body .wp-block-image {
    box-sizing: border-box;
    max-width: 100%;
    margin: 0 0 1.5rem;
}

.dstire-body .wp-block-image figure {
    margin: 0;
}

.dstire-body .wp-block-image > a,
.dstire-body .wp-block-image > figure > a {
    display: inline-block;
    max-width: 100%;
}

.dstire-body .wp-block-image.alignwide,
.dstire-body .wp-block-image.alignfull,
.dstire-body .wp-block-image.alignwide > a,
.dstire-body .wp-block-image.alignfull > a {
    width: 100%;
}

.dstire-body .wp-block-image.alignwide img,
.dstire-body .wp-block-image.alignfull img {
    height: auto;
    width: 100%;
}


/* ==========================================================
   IMAGE ALIGNMENT
   ========================================================== */

.dstire-body .wp-block-image.aligncenter,
.dstire-body .wp-block-image .aligncenter {
    clear: both;
    display: table;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.dstire-body .wp-block-image.alignleft,
.dstire-body .wp-block-image .alignleft {
    display: table;
    float: left;
    margin: 0.5em 1.5em 1em 0;
}

.dstire-body .wp-block-image.alignright,
.dstire-body .wp-block-image .alignright {
    display: table;
    float: right;
    margin: 0.5em 0 1em 1.5em;
}


/* ==========================================================
   STANDALONE IMAGE CAPTIONS
   ========================================================== */

.dstire-body .wp-block-image figcaption,
.dstire-body .wp-element-caption {
    caption-side: bottom;
    color: #666;
    display: table-caption;
    font-size: 14px;
    line-height: 1.45;
    margin: 0.5em 0 0;
    text-align: center;
}


/* ==========================================================
   IMAGE STYLES
   ========================================================== */

.dstire-body .wp-block-image[style*="border-radius"] img,
.dstire-body .wp-block-image[style*="border-radius"] > a {
    border-radius: inherit;
}

.dstire-body .wp-block-image.is-style-rounded img,
.dstire-body .wp-block-image .is-style-rounded img,
.dstire-body .wp-block-image.is-style-circle-mask img {
    border-radius: 9999px;
}


/* ==========================================================
   WORDPRESS NESTED GALLERIES
   ========================================================== */

.dstire-body .wp-block-gallery.has-nested-images {
    --wp--style--unstable-gallery-gap: 0.5em;

    align-items: normal;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    gap: var(--wp--style--unstable-gallery-gap);
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
    width: 100%;
}

.dstire-body .wp-block-gallery.has-nested-images figure.wp-block-image {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: center;
    margin: 0;
    max-width: 100%;
    position: relative;
}

/* Default gallery layout: two columns */
.dstire-body .wp-block-gallery.has-nested-images
figure.wp-block-image:not(#individual-image) {
    width: calc(
            50% - var(--wp--style--unstable-gallery-gap) / 2
    );
}

.dstire-body .wp-block-gallery.has-nested-images
figure.wp-block-image > a,
.dstire-body .wp-block-gallery.has-nested-images
figure.wp-block-image > div {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    margin: 0;
    max-width: 100%;
}

.dstire-body .wp-block-gallery.has-nested-images
figure.wp-block-image img {
    display: block;
    height: auto;
    max-width: 100% !important;
    width: auto;
}


/* ==========================================================
   CROPPED GALLERY IMAGES
   ========================================================== */

.dstire-body .wp-block-gallery.has-nested-images.is-cropped
figure.wp-block-image:not(#individual-image) {
    align-self: inherit;
}

.dstire-body .wp-block-gallery.has-nested-images.is-cropped
figure.wp-block-image:not(#individual-image) > a,
.dstire-body .wp-block-gallery.has-nested-images.is-cropped
figure.wp-block-image:not(#individual-image) > div {
    display: flex;
}

.dstire-body .wp-block-gallery.has-nested-images.is-cropped
figure.wp-block-image:not(#individual-image) a,
.dstire-body .wp-block-gallery.has-nested-images.is-cropped
figure.wp-block-image:not(#individual-image) img {
    flex: 1 0 0%;
    height: 100%;
    object-fit: cover;
    width: 100%;
}


/* ==========================================================
   GALLERY COLUMN COUNTS
   ========================================================== */

.dstire-body .wp-block-gallery.has-nested-images.columns-1
figure.wp-block-image:not(#individual-image) {
    width: 100%;
}

.dstire-body .wp-block-gallery.has-nested-images.columns-2
figure.wp-block-image:not(#individual-image) {
    width: calc(
            50% - var(--wp--style--unstable-gallery-gap) / 2
    );
}

@media (min-width: 600px) {
    .dstire-body .wp-block-gallery.has-nested-images.columns-3
    figure.wp-block-image:not(#individual-image) {
        width: calc(
                33.33333% -
                var(--wp--style--unstable-gallery-gap) * 0.66667
        );
    }

    .dstire-body .wp-block-gallery.has-nested-images.columns-4
    figure.wp-block-image:not(#individual-image) {
        width: calc(
                25% -
                var(--wp--style--unstable-gallery-gap) * 0.75
        );
    }

    .dstire-body .wp-block-gallery.has-nested-images.columns-5
    figure.wp-block-image:not(#individual-image) {
        width: calc(
                20% -
                var(--wp--style--unstable-gallery-gap) * 0.8
        );
    }

    .dstire-body .wp-block-gallery.has-nested-images.columns-6
    figure.wp-block-image:not(#individual-image) {
        width: calc(
                16.66667% -
                var(--wp--style--unstable-gallery-gap) * 0.83333
        );
    }

    .dstire-body .wp-block-gallery.has-nested-images.columns-7
    figure.wp-block-image:not(#individual-image) {
        width: calc(
                14.28571% -
                var(--wp--style--unstable-gallery-gap) * 0.85714
        );
    }

    .dstire-body .wp-block-gallery.has-nested-images.columns-8
    figure.wp-block-image:not(#individual-image) {
        width: calc(
                12.5% -
                var(--wp--style--unstable-gallery-gap) * 0.875
        );
    }
}


/* ==========================================================
   GALLERY CAPTIONS
   ========================================================== */

.dstire-body .wp-block-gallery.has-nested-images
figure.wp-block-image figcaption {
    background: linear-gradient(
            0deg,
            rgba(0, 0, 0, 0.4),
            transparent
    );
    bottom: 0;
    box-sizing: border-box;
    color: #fff;
    display: block;
    font-size: 13px;
    left: 0;
    line-height: 1.4;
    margin: 0;
    max-height: 100%;
    overflow: auto;
    padding: 1em;
    position: absolute;
    right: 0;
    text-align: center;
    text-shadow: 0 0 1.5px #000;
    width: 100%;
    z-index: 2;
}

.dstire-body .wp-block-gallery.has-nested-images
figure.wp-block-image figcaption a {
    color: inherit;
}


/* ==========================================================
   CLEAR FLOATS
   ========================================================== */

.dstire-body::after {
    clear: both;
    content: "";
    display: table;
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 767.98px) {
    .dstire-body .wp-block-image,
    .dstire-body .wp-block-image.alignleft,
    .dstire-body .wp-block-image.alignright,
    .dstire-body .wp-block-image.aligncenter,
    .dstire-body .wp-block-image .alignleft,
    .dstire-body .wp-block-image .alignright,
    .dstire-body .wp-block-image .aligncenter {
        display: block;
        float: none;
        margin: 0 0 1.25rem;
        max-width: 100%;
        width: 100%;
    }

    .dstire-body .wp-block-image img {
        display: block;
        height: auto;
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
    }

    .dstire-body .wp-block-image > a {
        display: block;
        max-width: 100%;
    }

    /*
     * Restore gallery item behavior overridden by the standalone
     * mobile image rules above. The original page keeps two columns
     * for a columns-2 gallery on mobile.
     */
    .dstire-body .wp-block-gallery.has-nested-images
    figure.wp-block-image {
        display: flex;
        margin: 0;
    }

    .dstire-body .wp-block-gallery.has-nested-images.columns-1
    figure.wp-block-image:not(#individual-image) {
        width: 100%;
    }

    .dstire-body .wp-block-gallery.has-nested-images.columns-2
    figure.wp-block-image:not(#individual-image) {
        width: calc(
                50% - var(--wp--style--unstable-gallery-gap) / 2
        );
    }

    .dstire-body .wp-block-gallery.has-nested-images
    figure.wp-block-image > a {
        display: flex;
        max-width: 100%;
    }

    .dstire-body .wp-block-gallery.has-nested-images.is-cropped
    figure.wp-block-image img {
        height: 100%;
        margin: 0;
        object-fit: cover;
        width: 100%;
    }
}

.proj-card:hover .proj-meta__line {
    color: var(--ab-100);
}

.svc-section .svc-grid {
    align-items: flex-start;
}

.svc-section .svc-right {
    align-self: flex-start;
    margin: 0;
    padding: 4px 0 0;
}

.svc-section .svc-right .detail-blocks,
.svc-section .svc-right .detail-block {
    margin-top: 0;
    padding-top: 0;
}

@media (max-width: 991.98px) {
    .svc-section .svc-right {
        padding-top: 0;
    }
}

.exp-card--cta {
    text-decoration: none;
    display: block;
}

/* 1. Blochează imaginea CTA la culoarea bleu deschis și poziționare relativă */
.exp-card__img.sustain-teaser {
    background-color: #D6E4FF; /* Bleu deschis din design */
    background-image: none !important;
    position: relative;
}

/* 2. Overlay absolut – împiedică butonul să extindă înălțimea imaginii */
.sustain-teaser__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    box-sizing: border-box;
}

/* 3. Stilul butonului marin din centru */
.exp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #002B66; /* Albastru Viarom */
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    padding: 14px 24px;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Hover efect - schimbă butonul în roșu Viarom */
.exp-card--cta:hover .exp-btn {
    background-color: #E30613;
    transform: translateY(-2px);
}

.value-icon-item i {
    width: 100%;
    height: auto;
}

@media (max-width: 767px) {
    .productie-statistici-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (min-width: 768px) {
    .productie-statistici-grid,
    .productie-statii-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

