.afz-safe-news {
    width: 100%;
    border-top: 1px solid #768692;
    font-family: "Fira Sans", Arial, sans-serif;
}

.afz-safe-news-slot {
    width: min(calc(100% - 48px), 1400px);
    margin: 0 auto 80px;
}

.afz-safe-news--grid {
    display: grid;
    padding-top: 50px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 42px 28px;
}

.afz-safe-news--grid .afz-safe-news__item {
    display: flex;
    flex-direction: column;
    padding: 0 0 34px;
    gap: 22px;
}

.afz-safe-news--grid .afz-safe-news__image {
    max-width: none;
}

.afz-safe-news--grid .afz-safe-news__summary,
.afz-safe-news--grid .afz-safe-news__excerpt {
    padding: 0;
}

.afz-safe-news__item {
    display: grid;
    align-items: start;
    padding: 50px 0;
    border-bottom: 1px solid #768692;
    grid-template-columns: minmax(220px, 23%) minmax(260px, 32%) minmax(280px, 1fr);
    gap: 24px;
}

.afz-safe-news__image {
    display: block;
    overflow: hidden;
    width: 100%;
    max-width: 336px;
    height: 224px;
    border-radius: 24px;
    background: #eef2f4;
}

.afz-safe-news__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.afz-safe-news__summary {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding-left: 15px;
}

.afz-safe-news__summary time {
    color: #002f6c;
    font-size: 20px;
}

.afz-safe-news__summary h3 {
    margin: 0;
    font-size: 23px;
    font-weight: 600;
    line-height: 1.45;
}

.afz-safe-news__summary h3 a {
    color: #002f6c;
    text-decoration: none;
}

.afz-safe-news__more {
    display: inline-flex;
    align-items: center;
    gap: 30px;
    margin-top: 8px;
    padding: 10px 20px;
    border: 1px solid #002f6c;
    border-radius: 8px;
    color: #002f6c;
    font-size: 20px;
    line-height: 1.2;
    text-decoration: none;
}

.afz-safe-news__more:hover,
.afz-safe-news__more:focus-visible {
    color: #fff;
    background: #002f6c;
}

.afz-safe-news__excerpt {
    padding: 0 20px;
    color: #151414;
    font-size: 16px;
    line-height: 1.65;
}

.afz-safe-news__excerpt p {
    margin-top: 0;
}

.afz-safe-news--carousel {
    --afz-news-accent: #08aee1;
    --afz-news-blue: #002f6c;
    --afz-news-gap: 24px;
    position: relative;
    padding-top: 22px;
    border-top-color: #768692;
}

.afz-safe-news__controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    min-height: 48px;
}

.afz-safe-news__arrow {
    display: inline-grid;
    width: 46px;
    height: 46px;
    padding: 0;
    place-items: center;
    border: 1px solid var(--afz-news-blue);
    border-radius: 50%;
    color: var(--afz-news-blue);
    background: #fff;
    font: inherit;
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
    transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, opacity 180ms ease;
}

.afz-safe-news__arrow:hover,
.afz-safe-news__arrow:focus-visible {
    color: #fff;
    border-color: var(--afz-news-blue);
    outline: none;
    background: var(--afz-news-blue);
}

.afz-safe-news__arrow:disabled {
    opacity: 0.35;
    cursor: default;
}

.afz-safe-news__dots {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 76px;
    gap: 8px;
}

.afz-safe-news__dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #b4c2ca;
    cursor: pointer;
    transition: width 180ms ease, background-color 180ms ease;
}

.afz-safe-news__dot[aria-current="true"] {
    width: 28px;
    background: var(--afz-news-accent);
}

.afz-safe-news__dot:focus-visible {
    outline: 2px solid var(--afz-news-blue);
    outline-offset: 3px;
}

.afz-safe-news__viewport {
    overflow-x: auto;
    padding: 30px 2px 24px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
}

.afz-safe-news__viewport::-webkit-scrollbar {
    display: none;
}

.afz-safe-news__viewport:focus-visible {
    border-radius: 14px;
    outline: 2px solid var(--afz-news-accent);
    outline-offset: 4px;
}

.afz-safe-news__track {
    display: grid;
    grid-auto-columns: calc((100% - (2 * var(--afz-news-gap))) / 3);
    grid-auto-flow: column;
    gap: var(--afz-news-gap);
}

.afz-safe-news--carousel .afz-safe-news__item {
    display: flex;
    overflow: hidden;
    align-self: stretch;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    padding: 0 0 28px;
    border: 1px solid #dce4e8;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(0, 47, 108, 0.09);
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.afz-safe-news--carousel .afz-safe-news__item:focus-within {
    border-color: var(--afz-news-accent);
    box-shadow: 0 14px 38px rgba(0, 47, 108, 0.16);
}

.afz-safe-news--carousel .afz-safe-news__image {
    width: 100%;
    max-width: none;
    height: 225px;
    border-radius: 0;
}

.afz-safe-news__image-fallback {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, var(--afz-news-blue), var(--afz-news-accent));
    font-size: 44px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.afz-safe-news--carousel .afz-safe-news__summary {
    gap: 11px;
    padding: 24px 24px 10px;
}

.afz-safe-news--carousel .afz-safe-news__summary time {
    color: #526774;
    font-size: 15px;
    font-weight: 500;
}

.afz-safe-news--carousel .afz-safe-news__summary h3 {
    display: -webkit-box;
    overflow: hidden;
    min-height: 4.35em;
    font-size: 21px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.afz-safe-news--carousel .afz-safe-news__summary h3 a {
    color: var(--afz-news-blue);
}

.afz-safe-news--carousel .afz-safe-news__summary h3 a:hover,
.afz-safe-news--carousel .afz-safe-news__summary h3 a:focus-visible {
    color: #006f9e;
    outline: none;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.afz-safe-news--carousel .afz-safe-news__excerpt {
    display: -webkit-box;
    overflow: hidden;
    min-height: 6.6em;
    padding: 0 24px;
    color: #34434c;
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.afz-safe-news--carousel .afz-safe-news__more {
    margin-top: auto;
    padding: 9px 16px;
    gap: 20px;
    border-color: var(--afz-news-blue);
    font-size: 16px;
}

/* News archive: preserve the published AFZ hierarchy while replacing the
 * unavailable JetEngine listings with one automatic, bilingual source. */
.afz-safe-news-slot--featured,
.afz-safe-news-slot--archive {
    width: 100%;
    margin: 0;
}

/* The local safe header overlays the page. Reserve its height on the two News
 * archive pages so the existing "AFZ News" heading remains fully visible. */
body.page-id-2406.afz-safe-shell .elementor-2406 > .e-con:first-child,
body.page-id-870.afz-safe-shell .elementor-870 > .e-con:first-child {
    padding-top: 134px;
}

body.page-id-2406.afz-safe-shell .elementor-element-038b661,
body.page-id-870.afz-safe-shell .elementor-element-038b661 {
    display: none;
}

.afz-safe-news--featured {
    border-top: 0;
}

.afz-safe-news--featured .afz-safe-news__item {
    display: grid;
    padding: 50px 0;
    border-bottom: 0;
    grid-template-columns: minmax(320px, 42%) minmax(0, 1fr);
    grid-template-areas:
        "image summary"
        "image excerpt"
        "image action";
    grid-template-rows: auto 1fr auto;
    column-gap: clamp(30px, 4vw, 58px);
    row-gap: 18px;
}

.afz-safe-news--featured .afz-safe-news__item + .afz-safe-news__item {
    border-top: 1px solid #c7d2d8;
}

.afz-safe-news--featured .afz-safe-news__image {
    height: 100%;
    min-height: 310px;
    max-width: none;
    grid-area: image;
    border-radius: 18px;
}

.afz-safe-news--featured .afz-safe-news__summary {
    padding: 0;
    grid-area: summary;
}

.afz-safe-news--featured .afz-safe-news__summary time,
.afz-safe-news--archive-grid .afz-safe-news__summary time {
    display: none;
}

.afz-safe-news--featured .afz-safe-news__summary h3 {
    font-size: clamp(25px, 2.3vw, 34px);
    line-height: 1.28;
}

.afz-safe-news--featured .afz-safe-news__excerpt {
    padding: 0;
    grid-area: excerpt;
    color: #17232b;
    font-size: 18px;
    line-height: 1.55;
}

.afz-safe-news--featured .afz-safe-news__more {
    justify-self: start;
    margin-top: 0;
    grid-area: action;
}

.afz-safe-news--archive-grid {
    padding-top: 8px;
    border-top: 0;
}

.afz-safe-news__archive-items {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 48px 30px;
}

.afz-safe-news--archive-grid .afz-safe-news__item {
    display: flex;
    align-items: stretch;
    flex-direction: column;
    min-width: 0;
    padding: 0 0 26px;
    border: 0;
    gap: 18px;
}

.afz-safe-news--archive-grid .afz-safe-news__item[hidden] {
    display: none;
}

.afz-safe-news--archive-grid .afz-safe-news__image {
    width: 100%;
    max-width: none;
    height: 230px;
    border-radius: 18px;
}

.afz-safe-news--archive-grid .afz-safe-news__summary,
.afz-safe-news--archive-grid .afz-safe-news__excerpt {
    padding: 0 10px;
}

.afz-safe-news--archive-grid .afz-safe-news__summary h3 {
    display: -webkit-box;
    overflow: hidden;
    min-height: 4.05em;
    font-size: 23px;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.afz-safe-news--archive-grid .afz-safe-news__excerpt {
    display: -webkit-box;
    overflow: hidden;
    color: #33434d;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.afz-safe-news--archive-grid .afz-safe-news__more {
    align-self: flex-start;
    margin: auto 10px 0;
}

.afz-safe-news__load-more-wrap {
    display: grid;
    justify-items: center;
    margin-top: 32px;
}

.afz-safe-news__load-more {
    display: inline-flex;
    min-width: 190px;
    min-height: 58px;
    align-items: center;
    justify-content: center;
    gap: 28px;
    padding: 12px 24px;
    border: 1px solid #002f6c;
    border-radius: 8px;
    color: #fff;
    background: #002f6c;
    font: inherit;
    font-size: 20px;
    cursor: pointer;
}

.afz-safe-news__load-more:hover,
.afz-safe-news__load-more:focus-visible {
    color: #002f6c;
    outline: none;
    background: #fff;
}

.afz-safe-news__load-more[hidden] {
    display: none;
}

.afz-safe-news__live {
    position: absolute;
    overflow: hidden;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.afz-safe-contact-form {
    display: grid;
    width: 100%;
    gap: 20px;
    font-family: "Fira Sans", Arial, sans-serif;
}

.afz-safe-contact-form__field {
    display: grid;
    gap: 10px;
}

.afz-safe-contact-form label {
    color: #002f6c;
    font-size: 18px;
    font-weight: 500;
}

.afz-safe-contact-form input,
.afz-safe-contact-form textarea {
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid #c4c4c4;
    border-radius: 0;
    color: #111;
    background: #fff;
    font: inherit;
}

.afz-safe-contact-form textarea {
    min-height: 210px;
    resize: vertical;
}

.afz-safe-contact-form button {
    justify-self: start;
    padding: 10px 45px 10px 40px;
    border: 1px solid #002f6c;
    border-radius: 8px;
    color: #fff;
    background: #002f6c;
    font: inherit;
    font-size: 18px;
    cursor: pointer;
}

.afz-safe-contact-form button:hover,
.afz-safe-contact-form button:focus-visible {
    color: #002f6c;
    background: #fff;
}

.afz-safe-contact-form__status {
    min-height: 1.5em;
    margin: 0;
    color: #002f6c;
}

.afz-safe-sustainability-gallery {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    height: clamp(400px, 35vw, 560px);
    overflow: hidden;
}

.afz-safe-sustainability-gallery__column {
    display: flex;
    min-width: 0;
    min-height: 0;
    flex-direction: column;
    gap: 10px;
}

.afz-safe-sustainability-gallery__item {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    min-height: 0;
    margin: 0;
    overflow: hidden;
    background: #eef3f6;
}

.afz-safe-sustainability-gallery__item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.afz-safe-sustainability-gallery__column--1 .afz-safe-sustainability-gallery__item {
    flex-basis: 100%;
}

.afz-safe-sustainability-gallery__column--2 .afz-safe-sustainability-gallery__item:nth-child(2),
.afz-safe-sustainability-gallery__column--3 .afz-safe-sustainability-gallery__item:nth-child(2),
.afz-safe-sustainability-gallery__column--4 .afz-safe-sustainability-gallery__item:nth-child(1),
.afz-safe-sustainability-gallery__column--5 .afz-safe-sustainability-gallery__item:nth-child(3) {
    flex-grow: 1.35;
}

body.page-id-1260 .elementor-element-cf6d8ba .ue-remote-carousel-navigation-wrapper,
body.page-id-1043 .elementor-element-3bb9389 .ue-remote-carousel-navigation-wrapper,
body.page-id-1260 .elementor-element-cf6d8ba .ue-remote-carousel-navigation,
body.page-id-1043 .elementor-element-3bb9389 .ue-remote-carousel-navigation {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

body.page-id-1260 .elementor-element-cf6d8ba .ue-remote-carousel-navigation,
body.page-id-1043 .elementor-element-3bb9389 .ue-remote-carousel-navigation {
    display: flex;
    justify-content: space-between;
    gap: 0 !important;
}

@media (max-width: 1024px) {
    .afz-safe-sustainability-gallery {
        gap: 8px;
        height: clamp(340px, 44vw, 470px);
    }

    .afz-safe-sustainability-gallery__column {
        gap: 8px;
    }
}

@media (max-width: 767px) {
    .afz-safe-sustainability-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 132px;
        height: auto;
    }

    .afz-safe-sustainability-gallery__column {
        display: contents;
    }

    .afz-safe-sustainability-gallery__item {
        aspect-ratio: auto;
    }

    .afz-safe-sustainability-gallery__item[data-image-id="1805"] {
        grid-row: span 2;
    }
}

@media (max-width: 900px) {
    .afz-safe-news__track {
        grid-auto-columns: calc((100% - var(--afz-news-gap)) / 2);
    }

    .afz-safe-news--grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .afz-safe-news__item {
        grid-template-columns: minmax(180px, 35%) 1fr;
    }

    .afz-safe-news__excerpt {
        padding: 0;
        grid-column: 1 / -1;
    }

    .afz-safe-news--featured .afz-safe-news__item {
        grid-template-columns: 1fr;
        grid-template-areas:
            "image"
            "summary"
            "excerpt"
            "action";
    }

    .afz-safe-news--featured .afz-safe-news__image {
        min-height: 0;
        aspect-ratio: 16 / 9;
    }

    .afz-safe-news__archive-items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1280px) {
    body.page-id-2406.afz-safe-shell .elementor-2406 > .e-con:first-child,
    body.page-id-870.afz-safe-shell .elementor-870 > .e-con:first-child {
        padding-top: 100px;
    }
}

@media (max-width: 600px) {
    body.page-id-2406.afz-safe-shell .elementor-2406 > .e-con:first-child,
    body.page-id-870.afz-safe-shell .elementor-870 > .e-con:first-child {
        padding-top: 82px;
    }

    .afz-safe-news-slot {
        width: min(calc(100% - 32px), 1400px);
        margin-bottom: 56px;
    }

    .afz-safe-news--grid {
        grid-template-columns: 1fr;
    }

    .afz-safe-news__archive-items {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .afz-safe-news--featured .afz-safe-news__item {
        padding: 36px 0;
        row-gap: 16px;
    }

    .afz-safe-news--featured .afz-safe-news__summary h3 {
        font-size: 24px;
    }

    .afz-safe-news--featured .afz-safe-news__excerpt {
        font-size: 16px;
    }

    .afz-safe-news--archive-grid .afz-safe-news__image {
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .afz-safe-news--archive-grid .afz-safe-news__summary h3 {
        min-height: auto;
    }

    .afz-safe-news--carousel {
        --afz-news-gap: 16px;
        padding-top: 16px;
    }

    .afz-safe-news__controls {
        justify-content: space-between;
    }

    .afz-safe-news__track {
        grid-auto-columns: 100%;
    }

    .afz-safe-news--carousel .afz-safe-news__item {
        padding-bottom: 24px;
    }

    .afz-safe-news--carousel .afz-safe-news__image {
        height: 215px;
    }

    .afz-safe-news--carousel .afz-safe-news__summary {
        padding: 20px 20px 10px;
    }

    .afz-safe-news--carousel .afz-safe-news__summary h3 {
        min-height: auto;
        font-size: 20px;
    }

    .afz-safe-news--carousel .afz-safe-news__excerpt {
        min-height: auto;
        padding: 0 20px;
    }

    .afz-safe-news__item {
        padding: 35px 0;
        grid-template-columns: 1fr;
    }

    .afz-safe-news__image {
        max-width: none;
        height: 220px;
    }

    .afz-safe-news__summary,
    .afz-safe-news__excerpt {
        padding: 0;
    }
}

/* Community testimonials: preserve the current public AFZ presentation when
 * Elementor Pro's per-widget custom CSS is unavailable in the clean runtime. */
.page-id-790 .elementor-widget.box1.sb7,
.page-id-2318 .elementor-widget.box1.sb7 {
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    border: 1px solid #e5007e;
    border-radius: 10px;
    color: #888;
    font-family: "Fira Sans", sans-serif;
    font-weight: 400;
    text-align: left;
}

.page-id-790 .elementor-widget.box1.sb7 blockquote,
.page-id-2318 .elementor-widget.box1.sb7 blockquote {
    display: inline;
    margin: 1.5em 0 10px -5px;
    padding: 0.5em 0;
    color: #888;
    quotes: "\201C" "\201D" "\2018" "\2019";
}

.page-id-790 .elementor-widget.box1.sb7 blockquote::before,
.page-id-2318 .elementor-widget.box1.sb7 blockquote::before {
    margin-right: 0.1em;
    color: #999;
    content: open-quote;
    font-size: 9em;
    line-height: 0;
    vertical-align: -0.4em;
}

.page-id-790 .elementor-widget.box1.sb7 blockquote::after,
.page-id-2318 .elementor-widget.box1.sb7 blockquote::after {
    margin-left: 0.1em;
    color: #999;
    content: close-quote;
    font-size: 9em;
    line-height: 0;
    vertical-align: -0.6em;
}

.page-id-790 .elementor-widget.box1.sb7::before,
.page-id-2318 .elementor-widget.box1.sb7::before {
    position: absolute;
    bottom: -20px;
    left: 20px;
    width: 0;
    height: 0;
    border: 10px solid transparent;
    border-top-color: #e5007e;
    border-left-color: #e5007e;
    content: "";
}

.page-id-790 .elementor-widget.box1.sb7::after,
.page-id-2318 .elementor-widget.box1.sb7::after {
    position: absolute;
    bottom: -18px;
    left: 21px;
    width: 0;
    height: 0;
    border: 10px solid transparent;
    border-top-color: #fff;
    border-left-color: #fff;
    content: "";
}

/* Keep the three new Home testimonial portraits proportional inside the existing Depicter frames. */
.depicter-9-element-183,
.depicter-9-element-195,
.depicter-9-element-207,
.depicter-9-element-231,
.depicter-49-element-169,
.depicter-49-element-181,
.depicter-49-element-193,
.depicter-49-element-214 { overflow: hidden; }

.depicter-9-element-183 img,
.depicter-9-element-195 img,
.depicter-9-element-207 img,
.depicter-9-element-231 img,
.depicter-49-element-169 img,
.depicter-49-element-181 img,
.depicter-49-element-193 img,
.depicter-49-element-214 img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center 24% !important;
}

/* Depicter stores compiled element styles separately from its document JSON.
 * Match the editor's alternating AFZ blue/green palette in both languages. */
.depicter-revert :is(
    .depicter-9-element-173, .depicter-9-element-197, .depicter-9-element-143,
    .depicter-49-element-160, .depicter-49-element-184, .depicter-49-element-143
) { background-color: #06b0ee !important; }

.depicter-revert :is(
    .depicter-9-element-185, .depicter-9-element-222, .depicter-9-element-130,
    .depicter-49-element-172, .depicter-49-element-205, .depicter-49-element-130
) { background-color: #72a603 !important; }

.depicter-revert :is(
    .depicter-9-element-174, .depicter-9-element-186, .depicter-9-element-198, .depicter-9-element-232,
    .depicter-49-element-161, .depicter-49-element-173, .depicter-49-element-185, .depicter-49-element-215
) {
    color: #fff;
    background-color: transparent;
    font-family: "Roboto", sans-serif;
    font-size: 23px;
    font-weight: 500;
    line-height: 120%;
    text-transform: uppercase;
}

.depicter-revert :is(
    .depicter-9-element-175, .depicter-9-element-187, .depicter-9-element-199, .depicter-9-element-224,
    .depicter-49-element-162, .depicter-49-element-174, .depicter-49-element-186, .depicter-49-element-207
) {
    color: #fff;
    background-color: transparent;
    font-family: "Roboto", sans-serif;
    font-size: 27px;
    font-weight: 600;
    line-height: 130%;
}

.depicter-revert :is(
    .depicter-9-element-176, .depicter-9-element-188, .depicter-9-element-200, .depicter-9-element-225,
    .depicter-49-element-163, .depicter-49-element-175, .depicter-49-element-187, .depicter-49-element-208
) {
    color: #fff;
    background-color: transparent;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    line-height: 130%;
}

.depicter-revert :is(.depicter-9-element-176, .depicter-49-element-163) { font-size: 17px; }
.depicter-revert .depicter-9-element-188 { font-size: 14px; }
.depicter-revert .depicter-49-element-175 { font-size: 11.5px; }
.depicter-revert .depicter-9-element-200 { font-size: 12.5px; }
.depicter-revert .depicter-49-element-187 { font-size: 13px; }
.depicter-revert :is(.depicter-9-element-225, .depicter-49-element-208) {
    max-height: 300px !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    font-size: 13px;
    line-height: 125%;
}

.depicter-revert :is(
    .depicter-9-element-180, .depicter-9-element-192, .depicter-9-element-204, .depicter-9-element-233,
    .depicter-49-element-166, .depicter-49-element-178, .depicter-49-element-190, .depicter-49-element-216
) {
    color: #fff;
    background-color: transparent;
    font-family: "Fira Sans", sans-serif;
    font-size: 23px;
    font-weight: 500;
    line-height: 0;
    text-transform: uppercase;
}

.depicter-revert :is(
    .depicter-9-element-181, .depicter-9-element-193, .depicter-9-element-205, .depicter-9-element-229,
    .depicter-49-element-167, .depicter-49-element-179, .depicter-49-element-191, .depicter-49-element-212
) {
    color: #fff;
    background-color: transparent;
    font-family: "Roboto", sans-serif;
    font-size: 27px;
    font-weight: 400;
    line-height: 130%;
    text-align: right;
}

.depicter-revert :is(
    .depicter-9-element-182, .depicter-9-element-194, .depicter-9-element-206, .depicter-9-element-230,
    .depicter-49-element-168, .depicter-49-element-180, .depicter-49-element-192, .depicter-49-element-213
) {
    color: #fff;
    background-color: transparent;
    font-family: "Roboto", sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 130%;
    text-align: right;
}

.depicter-revert :is(.depicter-9-element-230, .depicter-49-element-213) {
    width: 750px !important;
    font-size: 18px;
    line-height: 120%;
}

/* Ariel uses the same left-aligned attribution as the neighboring slides. */
.depicter-revert :is(
    .depicter-9-element-229, .depicter-9-element-230,
    .depicter-49-element-212, .depicter-49-element-213
) { text-align: left; }

/* The source slide carried a 1px duplicate heading; keep only its full-size copy. */
.depicter-revert :is(.depicter-9-element-223, .depicter-49-element-206) {
    visibility: hidden !important;
}

.depicter-revert :is(
    .depicter-9-element-177, .depicter-9-element-178,
    .depicter-9-element-189, .depicter-9-element-190,
    .depicter-9-element-201, .depicter-9-element-202, .depicter-9-element-226, .depicter-9-element-227,
    .depicter-49-element-164, .depicter-49-element-170,
    .depicter-49-element-176, .depicter-49-element-182,
    .depicter-49-element-188, .depicter-49-element-194, .depicter-49-element-209, .depicter-49-element-210
) {
    background-color: rgba(0, 0, 0, 0.3);
    border: 2px solid #fff;
    border-radius: 16px;
}

:is(
    .depicter-9-element-177, .depicter-9-element-178,
    .depicter-9-element-189, .depicter-9-element-190,
    .depicter-9-element-201, .depicter-9-element-202, .depicter-9-element-226, .depicter-9-element-227,
    .depicter-49-element-164, .depicter-49-element-170,
    .depicter-49-element-176, .depicter-49-element-182,
    .depicter-49-element-188, .depicter-49-element-194, .depicter-49-element-209, .depicter-49-element-210
) .depicter-symbol-container { fill: #fff; }

.depicter-revert :is(
    .depicter-9-section-172, .depicter-9-section-184, .depicter-9-section-196, .depicter-9-section-221,
    .depicter-49-section-159, .depicter-49-section-171, .depicter-49-section-183, .depicter-49-section-204
) .depicter-section-background { background-color: #fff; }

@media screen and (max-width: 767px) {
    .depicter-revert :is(
        .depicter-9-element-175, .depicter-9-element-187, .depicter-9-element-199, .depicter-9-element-224,
        .depicter-49-element-162, .depicter-49-element-174, .depicter-49-element-186, .depicter-49-element-207,
        .depicter-9-element-176, .depicter-9-element-188, .depicter-9-element-200, .depicter-9-element-225,
        .depicter-49-element-163, .depicter-49-element-175, .depicter-49-element-187, .depicter-49-element-208
    ) { text-align: center; }

    .depicter-revert :is(.depicter-9-element-176, .depicter-49-element-163) { font-size: 14px; }
    .depicter-revert .depicter-9-element-188 { font-size: 11px; }
    .depicter-revert .depicter-49-element-175 { font-size: 12px; }
    .depicter-revert :is(.depicter-9-element-200, .depicter-49-element-187) { font-size: 10px; }
    .depicter-revert :is(.depicter-9-element-225, .depicter-49-element-208) {
        max-height: 215px !important;
        font-size: 11px;
        line-height: 120%;
    }

    .depicter-revert :is(
        .depicter-9-element-181, .depicter-9-element-193, .depicter-9-element-205, .depicter-9-element-229
    ) { font-size: 26px; }

    .depicter-revert :is(
        .depicter-9-element-182, .depicter-9-element-194, .depicter-9-element-206, .depicter-9-element-230,
        .depicter-49-element-168, .depicter-49-element-180, .depicter-49-element-192, .depicter-49-element-213
    ) {
        font-size: 12px;
        line-height: 120%;
    }
    .depicter-revert :is(.depicter-9-element-230, .depicter-49-element-213) {
        width: 340px !important;
        font-size: 11px;
        white-space: normal;
    }
}

/* The HP and Vantive company titles have one extra nested Depicter group.
 * At desktop widths it scales their visible type to two-thirds of the other
 * testimonial titles. Counter that extra group scale in both languages;
 * keep the editor's tablet/mobile layout untouched. */
@media screen and (min-width: 1025px) {
    .depicter-revert :is(
        .depicter-9-element-219, .depicter-9-element-218, .depicter-9-element-235,
        .depicter-49-element-196, .depicter-49-element-200, .depicter-49-element-218
    ) {
        transform: scale(1.5);
        transform-origin: left center;
    }
}
@media screen and (min-width: 1025px) and (max-width: 1199px) {
    .depicter-revert :is(.depicter-9-element-219, .depicter-9-element-218, .depicter-9-element-235, .depicter-49-element-196, .depicter-49-element-200, .depicter-49-element-218) { transform: scale(1.75); }
}
@media screen and (min-width: 1360px) and (max-width: 1519px) {
    .depicter-revert :is(.depicter-9-element-219, .depicter-9-element-218, .depicter-9-element-235, .depicter-49-element-196, .depicter-49-element-200, .depicter-49-element-218) { transform: scale(1.33); }
}
@media screen and (min-width: 1520px) and (max-width: 1679px) {
    .depicter-revert :is(.depicter-9-element-219, .depicter-9-element-218, .depicter-9-element-235, .depicter-49-element-196, .depicter-49-element-200, .depicter-49-element-218) { transform: scale(1.2); }
}
@media screen and (min-width: 1680px) and (max-width: 1839px) {
    .depicter-revert :is(.depicter-9-element-219, .depicter-9-element-218, .depicter-9-element-235, .depicter-49-element-196, .depicter-49-element-200, .depicter-49-element-218) { transform: scale(1.1); }
}
@media screen and (min-width: 1840px) {
    .depicter-revert :is(.depicter-9-element-219, .depicter-9-element-218, .depicter-9-element-235, .depicter-49-element-196, .depicter-49-element-200, .depicter-49-element-218) { transform: scale(1); }
}
@supports (transform: scale(max(1, calc(1920px / 100vw)))) {
    @media screen and (min-width: 1025px) {
        .depicter-revert :is(.depicter-9-element-219, .depicter-9-element-218, .depicter-9-element-235, .depicter-49-element-196, .depicter-49-element-200, .depicter-49-element-218) {
            transform: scale(max(1, calc(1920px / 100vw)));
        }
    }
}

/* Keep the testimonial company headline next to its decorative quotation mark
 * at every desktop width. Depicter offsets grouped titles too far to the right
 * as its canvas scales down from 1920px. Text dimensions remain editor-owned. */
@media screen and (min-width: 1025px) {
    .depicter-revert :is(.depicter-9-element-175, .depicter-49-element-162) {
        translate: calc(33px + (100vw - 1920px) * 0.285) 0;
    }

    .depicter-revert :is(
        .depicter-9-element-187, .depicter-9-element-199, .depicter-9-element-224, .depicter-9-element-145,
        .depicter-49-element-174, .depicter-49-element-186, .depicter-49-element-207, .depicter-49-element-145
    ) {
        translate: calc((100vw - 1920px) * 0.285) 0;
    }
}

/* Community photo gallery — keeps the original WordPress media selection. */
.afz-safe-community-gallery {
    width: 100%;
    padding: 24px 20px 40px;
}

.afz-safe-community-gallery__masonry {
    width: 100%;
    column-count: 5;
    column-gap: 20px;
}

.afz-safe-community-gallery__masonry[data-afz-masonry-ready="true"] {
    position: relative;
    column-count: auto;
    column-gap: normal;
}

.afz-safe-community-gallery__item {
    display: inline-block;
    width: 100%;
    margin: 0 0 20px;
    overflow: hidden;
    break-inside: avoid;
    vertical-align: top;
}

.afz-safe-community-gallery__masonry[data-afz-masonry-ready="true"] .afz-safe-community-gallery__item {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
}

.afz-safe-community-gallery__item img {
    display: block;
    width: 100%;
    height: auto;
}

.afz-safe-community-gallery__item--balanced img {
    height: 100%;
    object-fit: cover;
}

@media screen and (max-width: 1100px) {
    .afz-safe-community-gallery__masonry {
        column-count: 4;
    }
}

@media screen and (max-width: 900px) {
    .afz-safe-community-gallery {
        padding-right: 16px;
        padding-left: 16px;
    }

    .afz-safe-community-gallery__masonry {
        column-count: 3;
        column-gap: 16px;
    }

    .afz-safe-community-gallery__item {
        margin-bottom: 16px;
    }
}

@media screen and (max-width: 640px) {
    .afz-safe-community-gallery {
        padding: 18px 12px 32px;
    }

    .afz-safe-community-gallery__masonry {
        column-count: 2;
        column-gap: 12px;
    }

    .afz-safe-community-gallery__item {
        margin-bottom: 12px;
    }
}

/* La Luz de Navidad — Community pages. */
.elementor-element.afz-community-empty-gallery {
    display: none !important;
}

.elementor-element.afz-christmas-section-host {
    width: 100%;
    max-width: none;
    padding: 80px 30px 30px;
}

.elementor-element.afz-community-services-host > .e-con-inner {
    padding-top: 35px !important;
}

.elementor-element.afz-community-user-guide-host > .e-con-inner {
    padding-bottom: 70px !important;
}

.elementor-element.afz-community-user-guide-host--empty {
    display: none !important;
}

.elementor-element.afz-community-user-guide-button {
    width: 302px;
    max-width: 100%;
    margin-top: 28px;
}

.elementor-element.afz-community-user-guide-button .elementor-button-content-wrapper {
    justify-content: space-between;
    gap: 20px;
}

.elementor-element.afz-community-user-guide-button .elementor-button-text {
    white-space: nowrap;
}

.afz-christmas-section {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    overflow: hidden;
    background: #642051;
    color: #fff;
}

.afz-christmas-section[data-afz-christmas-animation-ready="true"] {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity 720ms ease, transform 720ms ease;
    will-change: opacity, transform;
}

.afz-christmas-section[data-afz-christmas-animation-ready="true"].is-visible {
    opacity: 1;
    transform: translateY(0);
}

.afz-christmas-section__media {
    min-height: 560px;
}

.afz-christmas-section__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.afz-christmas-section__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(42px, 5vw, 78px);
}

.afz-christmas-section__content h2 {
    margin: 0 0 28px;
    color: #fff;
    font-family: "Fira Sans", sans-serif;
    font-size: clamp(38px, 4vw, 62px);
    font-weight: 600;
    line-height: 1.05;
}

.afz-christmas-section__content p {
    margin: 0 0 20px;
    color: #fff;
    font-family: "Fira Sans", sans-serif;
    font-size: clamp(17px, 1.3vw, 20px);
    font-weight: 300;
    line-height: 1.6;
}

.afz-christmas-section__content p:last-child {
    margin-bottom: 0;
}

@media screen and (max-width: 900px) {
    .elementor-element.afz-christmas-section-host {
        padding: 60px 24px 24px;
    }

    .elementor-element.afz-community-services-host > .e-con-inner {
        padding-top: 30px !important;
    }

    .elementor-element.afz-community-user-guide-host > .e-con-inner {
        padding-bottom: 54px !important;
    }

    .elementor-element.afz-community-user-guide-button {
        margin-top: 24px;
    }

    .afz-christmas-section {
        grid-template-columns: 1fr;
    }

    .afz-christmas-section__media {
        min-height: 0;
        aspect-ratio: 4 / 3;
    }
}

@media screen and (max-width: 767px) {
    .elementor-element.afz-christmas-section-host {
        padding: 48px 20px 24px;
    }

    .elementor-element.afz-community-user-guide-host > .e-con-inner {
        padding-bottom: 48px !important;
    }

    .elementor-element.afz-community-user-guide-button {
        margin-top: 20px;
    }

    .afz-christmas-section__content {
        padding: 36px 28px 40px;
    }

    .afz-christmas-section__content h2 {
        margin-bottom: 22px;
        font-size: 38px;
    }

    .afz-christmas-section__content p {
        font-size: 16px;
        line-height: 1.55;
    }
}

@media (prefers-reduced-motion: reduce) {
    .afz-christmas-section[data-afz-christmas-animation-ready="true"] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Keep certification carousel cards equal-height without fixing their height.
   Both language variants use the same Unlimited Elements / Owl structure. */
:is(#uc_image_card_carousel_elementor_eb0310a, #uc_image_card_carousel_elementor_9d60046) .owl-stage {
    display: flex;
    align-items: stretch;
}

:is(#uc_image_card_carousel_elementor_eb0310a, #uc_image_card_carousel_elementor_9d60046) .owl-item {
    display: flex;
    flex: 0 0 auto;
}

:is(#uc_image_card_carousel_elementor_eb0310a, #uc_image_card_carousel_elementor_9d60046) .ue-item-holder {
    display: flex;
    flex-direction: column;
    width: 100%;
}

:is(#uc_image_card_carousel_elementor_eb0310a, #uc_image_card_carousel_elementor_9d60046) .uc_dark_carousel_container_holder.ue-item {
    flex: 1 1 auto;
    width: 100%;
}

:is(#uc_image_card_carousel_elementor_eb0310a, #uc_image_card_carousel_elementor_9d60046) .uc_dark_carousel_content {
    flex: 1 1 auto;
}
