:root{
    --brand-primary: rgb(72 89 86)
}

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

.bg-white {
    background-color: white;
    width: 100%;
}

.font-sora {
    font-family: 'Sora', sans-serif;
}

.border-brand-primary {
    border-color: var(--brand-primary) !important;
}

.transition-all {
    transition-duration: 0.3s;
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 768px){
    .border-md-0 {
        border-width: 0 !important;
    }
    .min-vh-md-50 {
        min-height: 50vh;
    }
}

/* Header */

header {
    background-color: transparent;
    transition-duration: 0.3s;
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

header:hover {
    backdrop-filter: blur(1.25rem);
    background-color: rgba(72, 89, 86, 0.3);
    padding-bottom: 20px;
}

header.change {
    background-color: rgba(72, 89, 86, 0.9);
    height: 100%;
    overflow-y: auto;
}

.navbar {
    background-color: transparent;
}

.navbar-brand {
    font-weight: 800;
    letter-spacing: 2px;
    font-size: 1.5rem;
}

.custom-logo {
    filter: brightness(99999);
}

.nav-link {
    font-size: 1rem;
    color: #ffffff !important;
    letter-spacing: 0.5px;
    position: relative;
    padding: 0 0 !important;
    margin: 0 12px;
    white-space: nowrap;
}

@media (min-width: 1280px) {
    .nav-link {
        font-size: 1.125rem;
    }
}

@media (min-width: 1330px) {
    .nav-link {
        font-size: 1.25rem;
    }
}

#mobileMenu .nav-link {
    font-size: 1.5rem;
    font-weight: 400;
}

#mobileMenu .nav-item {
    margin: 12px 0;
}

#mobileMenu>.container>.row:nth-child(2) {
    margin-top: 100px;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: rgb(255, 255, 255);
    transition: width 0.3s ease;
}

#mobileMenu .nav-link::after {
    display: none;
}

.nav-link:hover::after {
    width: 100%;
}

.utility-link {
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    color: #ffffff;
    cursor: pointer;
    transition: color 0.2s;
}

#searchOverlay {
    background-color: var(--brand-primary);
    z-index: 2000;
}

.search-input {
    border: none;
    background: transparent;
    color: white;
    opacity: 0.5;
    font-size: 2rem;
    outline: none;
    width: 100%;
    max-width: 600px;
}

.search-input::placeholder {
    color: white;
    opacity: 0.5;
}

.search-btn-group:hover .arrow-line {
    width: 32px;
}

.search-btn-group:hover .arrow-head {
    transform: translateX(5px);
}

.search-btn-group:hover {
    opacity: 0.8;
}

.close-search{
    font-size: 0.8rem;
    color: white !important;
    letter-spacing: 0.5px;
    position: relative;
    padding: 0 0 !important;
    margin: 0 12px;
    text-decoration: none;
}

.close-search::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: white;
    transition: width 0.3s ease;
}

.close-search:hover::after {
    width: 100%;
}

#languageCollapse ul, #languageCollapseM ul {
    list-style: none;
    padding-left: 0;
    padding-top: 3px;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
    border-top: 1px solid white;
}

.utility-c {
    margin-top: 12px;
}

.hamburger :is(.bar1, .bar2, .bar3) {
    width: 45px;
    height: 2px;
    background-color: white;
    margin: 6px 0;
    transition: 0.4s;
}

.hamburger .bar2 {
    width: 25px;
    margin-left: auto;
}

.hamburger.change .bar1 {
    transform: translate(0, 8px) rotate(-45deg);
}

.hamburger.change .bar2 {
    opacity: 0;
}

.hamburger.change .bar3 {
    transform: translate(0, -8px) rotate(45deg);
}

.headscrolled {
    mix-blend-mode: difference;
}

.headscrolled:hover {
    mix-blend-mode: normal;
}

.headscrolled .hamburger :is(.bar1, .bar2, .bar3),
header.header-about-us .hamburger :is(.bar1, .bar2, .bar3) {
    background-color: #485956;
}

header.header-about-us:hover .hamburger :is(.bar1, .bar2, .bar3){
    background-color: white;
}

.headscrolled .nav-link {
    color: #485956 !important;
}

.headscrolled .utility-link {
    color: #485956 !important;
    border-color: #485956 !important;
}

.headscrolled .custom-logo {
    filter: brightness(1);
}

.headscrolled:hover .hamburger :is(.bar1, .bar2, .bar3) {
    background-color: white;
}

.headscrolled:hover .nav-link,
header.header-about-us:hover .nav-link {
    color: white !important;
}

.headscrolled:hover .utility-link,
header.header-about-us:hover .utility-link {
    color: white !important;
    border-color: white !important;
}

.headscrolled:hover .btn:hover,
header.header-about-us:hover .btn:hover {
    color: var(--brand-primary) !important;
}

.headscrolled:hover .custom-logo,
header.header-about-us:hover .custom-logo {
    filter: brightness(99999);
}

header.header-about-us .nav-link {
    color: var(--brand-primary) !important;
}

header.header-about-us .custom-logo {
    filter: brightness(1);
}

header.header-about-us .utility-link{
    color: var(--brand-primary) !important;
    border-color: var(--brand-primary) !important;
}

.ps-custom-large {
    padding-left: 10.75rem;
}

.w-30 {
    width: 31%;
}

.custom-header-link .hover-reveal-img {
    height: 20rem;
    max-width: 100%;
    object-fit: cover;
    aspect-ratio: 1.3 / 2;
    z-index: -1;
    top: -5rem;
    right: 0;
    opacity: 0;
    pointer-events: none;
    transition-duration: 0.5s;
}

.custom-header-link:hover .hover-reveal-img {
    opacity: 1;
}

.custom-header-link:hover .arrow-line {
    width: 32px !important;
}

.custom-header-link .arrow-wrapper {
    opacity: 0;
}

.custom-header-link:hover .arrow-wrapper {
    opacity: 1;
    transform: translateX(6px);
}

.custom-dropdown>a {
    display: flex;
    flex-direction: row-reverse;
}

.custom-dropdown>a:before {
    content: "+";
    margin-left: 4px;
    width: 14px;
}

.menuopen .custom-dropdown>a:before,
.mobile-menu-open .custom-dropdown>a:before {
    content: "-" !important;
    margin-left: 4px;
    width: 14px;
}

/* Index page */

.hero-section {
    position: relative;
    background-image: url('/assets/img/Home-Page-scaled.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.btn-circle {
    width: 100px;
    height: 100px;
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-circle svg path {
    fill: white;
    transition: fill 0.3s ease;
}

.hero-section a:has(.btn-circle):hover .btn-circle{
    background-color: white;
    transform: scale(1.08);
}

.hero-section a:has(.btn-circle):hover svg path {
    fill: #000;
}

@media(min-width: 768px) and (max-width: 991px){
    .start-md-lg-n10 {
        left: -10% !important;
    }
}

.title-h1 {
    font-size: 2.5rem;
    line-height: 1;
}

.title-h1.fs-b {
    font-size: 5rem;
}

.title-h2 {
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.05;
}

.title-h2 .btn-company {
    font-size: 1rem;
    line-height: 1;
    font-weight: 600;
    height: 2rem;
    padding: 0 1.2rem 0 0.4rem;
    vertical-align: middle;
    transform: translateY(-0.25rem);
}

.title-h2 .btn-company .icon-circle {
    width: 1.2rem;
    height: 1.2rem;
    margin-right: 8px;
}

.title-h3 {
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.2;
}

.title-h4 {
    font-size: 1.375rem;
    font-weight: 500;
    line-height: 1.2;
}

.paragraph-primary {
    color: var(--brand-primary);
}

.paragraph-primary p a {
    color: var(--brand-primary);
    text-decoration: underline;
}

.fs-1-c {
    font-size: 1rem;
}

.fs-075-c {
    font-size: 0.75rem;
    line-height: 1;
}

@media (min-width: 1280px) {
    .title-h1, .title-h1.fs-b {
        font-size: 10rem;
    }
    h1.w-c-55 {
        width: 55%;
    }
    .title-h2 {
        font-size: 5.5rem;
    }
    .title-h2 .btn-company {
        font-size: 1.5rem;
        height: 4.5rem;
        transform: translateY(-0.5rem);
    }
    .title-h3 {
        font-size: 2.5rem;
    }
    .title-h4 {
        font-size: 2rem;
        line-height: 1.23;
    }
    .fs-1-c {
        font-size: 1.5rem;
    }
    .fs-075-c {
        font-size: 1.375rem;
    }
    .fs-075-c.fs-s {
        font-size: 1rem;
    }
}

@media(min-width: 1280px) {
    .paragraph-primary {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    .paragraph-white p{
        font-size: 1.5rem;
    }
}

.section-padding {
    padding: 5rem 0;
}

.section-padding-bottom {
    padding-bottom: 5rem;
}

.section-padding-top {
    padding-top: 5rem;
}

.section-padding-small {
    padding: 2.5rem 0;
}

@media (min-width: 1280px) {
    .section-padding {
        padding: 7.5rem 0;
    }
    .section-padding-bottom {
        padding-bottom: 7.5rem;
    }
    .section-padding-top {
        padding-top: 7.5rem;
    }
    .section-padding-small {
        padding: 5rem 0;
    }
}

.section-padding-large {
    padding: 5rem 0;
}

@media (min-width: 1200px) {
    .section-padding-large {
        padding: 11rem 0;
    }
}

.line-clamp-2,
.line-clamp-3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    line-clamp: 3;
    -webkit-line-clamp: 3;
}

.line-clamp-2 {
    line-clamp: 2;
    -webkit-line-clamp: 2;
}

.inset-0 {
    inset: 0;
}

.custom-link .arrow-line {
    width: 20px;
    transition: width 0.3s ease;
    transform-origin: left;
}
.custom-link:hover .arrow-line {
    width: 32px;
}
.custom-link .arrow-wrapper {
    transition: transform 0.3s ease;
}
.custom-link:hover .arrow-wrapper {
    transform: translateX(-6px);
}

.border-primary-custom {
    border-left: 2px solid var(--brand-primary);
}

.sliderEvidenza .swiper-pagination > .swiper-pagination-bullet {
    opacity: 0.5;
    background-color: rgb(156 211 171);
}
.sliderEvidenza .swiper-pagination > .swiper-pagination-bullet-active {
    opacity: 1;
    background-color: rgb(72 89 86);
}

.bg-brand-primary {
    background-color: rgb(72 89 86);
}

@media (min-width: 1280px) {
    .pt-custom-lg {
        padding-top: 10.625rem !important;
    }
    .custom-link {
        font-size: 1.5rem;
    }
}

.btn-company {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.5rem 0.5rem 0.5rem;
    border: 2px solid white;
    border-radius: 50px;
    color: white;
    background-color: transparent;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-company-inverted {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

.btn-company .icon-circle {
    background-color: white;
    color: var(--brand-primary);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    transition: all 0.3s ease;
}

.btn-company-inverted .icon-circle {
    background-color: var(--brand-primary);
    color: white;
}

.btn-company:hover {
    background-color: white;
    color: var(--brand-primary);
}

.btn-company-inverted:hover,
.btn-company-inverted.active {
    background-color: var(--brand-primary);
    color: white;
}

.btn-company:hover .icon-circle {
    transform: scale(1.2);
    background-color: var(--brand-primary);
    color: white;
}

.btn-company-inverted:hover .icon-circle {
    background-color: white;
    color: var(--brand-primary);
}

.paragraph-white p {
    color: white;
    margin-bottom: 1.5rem;
}

.video-hero {
    position: relative;
    overflow: hidden;
    width: 100%;
  }

.hero-video-bg {
    width: 100%;
    display: block;
    object-fit: cover;
    aspect-ratio: 375 / 667;
}

@media (min-width: 768px) {
    .video-hero {
        height: 100vh;
    }
    .hero-video-bg {
        height: 100%;
        aspect-ratio: auto;
    }
}

.overlay-dark {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.video-content-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: 2;
    padding-bottom: 5rem;
}

.btn-play-custom {
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.btn-play-custom:hover .btn-circle {
    background-color: white;
    transform: scale(1.08);
}

.btn-play-custom:hover svg path {
    fill: var(--brand-primary)
}

.modal-video-fullscreen {
    background: rgba(156, 211, 171, 0.4);
    backdrop-filter: blur(40px);
}

.modal-dialog-video {
    max-width: 90vw;
    margin: 1.75rem auto;
}

.arrow-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

@media(min-width: 1280px) {
    .arrow-link span {
        font-size: 1.5rem;
    }
}

.arrow-link .arrow-line {
    width: 20px;
    height: 2px;
    background-color: #9CD3AB;
    transition: width 0.3s ease;
    margin-left: 10px;
}

.arrow-link:hover .arrow-line {
    width: 32px;
}

.arrow-link .arrow-head {
    transform: translateX(-5px);
    transition: transform 0.3s ease;
  }

.arrow-link:hover .arrow-head {
    transform: translateX(0px);
}

.bg-tertiary {
    background-color: #fbffebfb;
}

.text-brand-primary {
    color: var(--brand-primary);
}

.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    height: 11rem;
}

.marquee-content {
    display: inline-block;
    font-family: 'Sora', sans-serif;
    font-size: 10rem;
    line-height: 1;
    animation: marquee-scroll 30s linear infinite;
}

@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.gallery-small-img {
    width: 25%;
    position: absolute;
    bottom: -10%;
    right: 5%;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .marquee-content {
        font-size: 5rem;
    }
}

.mySwiperGalleria {
    overflow: visible;
}

.mySwiperGalleria .swiper-slide {
    width: 100% !important;
    max-width: 90vw;
}

.mySwiperGalleria .swiper-slide > div {
    max-width: 100% !important;
    margin-right: 0 !important;
}

.mySwiperGalleria .swiper-slide span {
    bottom: -50px;
}

@media (min-width: 768px){
    .mySwiperGalleria .swiper-slide {
        width: auto !important;
        max-width: none;
    }
    .mySwiperGalleria .swiper-slide > div {
        max-width: 640px !important;
        margin-right: 3.125rem !important;
    }
}

.marquee-logo {
    height: 3.5rem;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .marquee-logo {
        height: 2rem;
    }
}

.special-grid-wrapper {
    height: 100vh;
    min-height: 800px;
}

.gridspecial {
    position: relative;
    width: 100%;
    height: 100vh;
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    grid-template-rows: repeat(10, 1fr);
    will-change: transform;
}

.grid__item {
    position: relative;
    width: 100%;
    height: 100%;
    will-change: transform;
}

.pos-1 { grid-area: 1 / 2 / 3 / 4; }
.pos-2 { grid-area: 1 / 8 / 3 / 10; }
.pos-3 { grid-area: 4 / 1 / 6 / 2; }
.pos-4 { grid-area: 3 / 4 / 5 / 6; }
.pos-5 { grid-area: 5 / 9 / 7 / 11; }
.pos-6 { grid-area: 8 / 1 / 10 / 3; }
.pos-7 { grid-area: 8 / 4 / 10 / 5; }
.pos-8 { grid-area: 7 / 6 / 9 / 8; }
.pos-9 { grid-area: 2 / 6 / 4 / 7; }
.pos-10 { grid-area: 8 / 8 / 10 / 10; }

.grid__item-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
}

/* Footer */

.footer-link {
    display: inline-flex;
    position: relative;
    padding-bottom: 2px;
    transition: opacity 0.3s ease;
    width: fit-content;
}

.footer-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: white;
    transition: width 0.3s ease-in-out;
}

.footer-link:hover::after {
    width: 100%;
}

.footer-link:hover {
    opacity: 1;
}

.btn-company.small {
    font-size: 0.75rem;
    padding: 0.4rem 1rem;
}

/* Company page */

.footer-link.underline-b-primary::after {
    background-color: var(--brand-primary);
}

.company-hero-img {
    aspect-ratio: 1 / 1;
    display: block;
}

@media (min-width: 1280px) {
    .company-hero-img {
        aspect-ratio: 1512 / 848;
    }
}

.mySwiperStory {
    padding-top: 20px;
    cursor: grab;
    overflow: visible !important;
}

.mySwiperStory:active {
    cursor: grabbing;
}

.mySwiperStory .swiper-slide {
    max-width: 85vw;
}

.about-us-slider-line {
    height: 2px;
    left: 0;
    top: 90px;
}

@media (min-width: 1280px) {
    .about-us-slider-line {
        top: 108px;
    }
    .mySwiperStory .swiper-slide {
        max-width: 420px;
    }
}

/* Sustainability */

.chart-bar {
    height: 0%;
    background-color: rgb(156, 211, 171);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 1rem;
}

.chart-label {
    min-width: 60px;
    text-align: center;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    display: inline-block;
}

@media (min-width: 1280px) {
    .chart-label {
        min-width: 80px;
    }
}

@media(min-width: 1200px) {
    .w-xl-50 {
        width: 50% !important;
    }
}

.staggered-slide {
    width: 13.75rem !important;
}
.staggered-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.staggered-slide.odd { height: 10.3125rem; }
.staggered-slide.even { height: 18.3125rem; }

@media (min-width: 992px) {
    .staggered-slide {
        width: 25rem !important;
    }
    .staggered-slide.odd { height: 18.75rem; }
    .staggered-slide.even { height: 33.3125rem; }
}

.swiper-slide-people {
    width: 80% !important;
    height: auto;
}

@media (min-width: 768px) {
    .swiper-slide-people {
        width: 40% !important;
    }
}

.mySwiperPeople {
    overflow: visible;
}

/* Design */

.mySwiperCatalogues {
    overflow: visible;
}

.mySwiperCatalogues .swiper-slide {
    width: 20rem;
}

/* Projects */
.hover-zoom {
    transition: transform 0.3s ease;
}

.hover-zoom:hover {
    transform: scale(1.05);
}

.cursor-pointer {
    cursor: pointer;
}

.text-transform-none {
    text-transform: none !important;
}

.hover-bg-primary-dark:hover,
.hover-bg-primary-dark:focus {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.custom-checkbox {
    width: 1.25em;
    height: 1.25em;
    background-color: #9CD3AB;
    border: 1px solid #9CD3AB;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}

.custom-checkbox.round {
    background-color: transparent;
    border-color: var(--brand-primary);
    height: 42px;
    width: 42px;
    border-radius: 50px !important;
    flex-shrink: 0;
    float: none;
}

.custom-checkbox:focus {
    box-shadow: none;
    border-color: white;
}

.custom-checkbox:checked {
    background-color: #9CD3AB;
    border-color: #9CD3AB;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23485956' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e");
}

.custom-checkbox.round:checked {
    background-color: transparent;
    border-color: var(--brand-primary);
}

.dropdown-menu {
    margin-top: 11px !important;
}

.dropdown-menu.dropdown-menu-custom,
#countryDropdown .dropdown-list,
#regionDropdown .dropdown-list {
    max-height: 200px;
    overflow-y: auto;
}

.dropdown-menu.dropdown-menu-custom::-webkit-scrollbar,
.scrollable-filter-list::-webkit-scrollbar,
#countryDropdown .dropdown-list::-webkit-scrollbar,
#regionDropdown .dropdown-list::-webkit-scrollbar{
    width: 6px;
}

.dropdown-menu.dropdown-menu-custom::-webkit-scrollbar-track,
.scrollable-filter-list::-webkit-scrollbar-track,
#countryDropdown .dropdown-list::-webkit-scrollbar-track,
#regionDropdown .dropdown-list::-webkit-scrollbar-track{
    background: var(--brand-primary);
}

.dropdown-menu.dropdown-menu-custom::-webkit-scrollbar-thumb,
.scrollable-filter-list::-webkit-scrollbar-thumb,
#countryDropdown .dropdown-list::-webkit-scrollbar-thumb,
#regionDropdown .dropdown-list::-webkit-scrollbar-thumb{
    background: #9CD3AB;
}

.project-slide-container {
    height: 700px;
}
.btn-circle-zoom:hover {
    background-color: white !important;
}
.btn-circle-zoom:hover svg {
    color: var(--brand-primary) !important;
}
.swiper-slide-thumb-active {
    opacity: 1 !important;
}
.z-index-top {
    z-index: 1055;
}

#galleryModal .btn-circle svg path,
#colorGalleryModal .btn-circle svg path {
    fill: currentColor;
}

.w-fit-content {
    width: fit-content;
}

/* Products */

.product-dropdown .dropdown-menu {
    margin-top: 0 !important;
}

.product-dropdown button {
    padding-bottom: 11px !important;
}

.plus-hover svg {
    transition: transform 0.3s ease;
}

.plus-hover:hover svg {
    transform: scale(1.5);
}

#mobileFilterOffcanvas .accordion-button:not(.collapsed) {
    color: var(--brand-primary);
}

#mobileFilterOffcanvas .offcanvas-header .btn:hover {
    color: var(--brand-primary);
}

.scrollable-filter-list {
    max-height: 175px; 
    overflow-y: auto;
}

/* Contacts */

#countryDropdown .dropdown-item,
#regionDropdown .dropdown-item {
    background-color: #485956;
    color: white;
}

.outline-none {
    outline: none;
}

.text-decoration-none {
    text-decoration: none;
}
#form input,
#form textarea{
    font-size: 1.5rem;
}

#form textarea {
    height: 73px;
}

#form input::placeholder,
#form textarea::placeholder{
    opacity: 0.5; 
}

.btn-form-arrow {
    font-size: 0.75rem;
}

.btn-form-arrow.text-brand-primary:hover {
    color: var(--brand-primary);
}

.btn-form-arrow:hover::after {
    transform: scaleX(1.4) translateX(0.5rem);
    transition-duration: 0.3s;
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4,0,0.2,1);
}

.btn-form-arrow::after {
    content: url(/assets/img/Union.de36dd.svg);
    margin-left: 8px;
    margin-top: 6px;
    width: 24px;
}

@media (min-width: 1280px) {
    .btn-form-arrow {
        font-size: 1.5rem;
    }
    .btn-form-arrow::after {
        margin-top: 4px;
    }
}

#countryDropdown .hover-bg-primary-dark:hover,
#countryDropdown .hover-bg-primary-dark:focus {
    background-color: var(--brand-primary);
    opacity: 0.9;
}

/* Google Maps */

.gm-style .gm-style-iw.gm-style-iw-c[role=dialog] {
    background-color: #485956;
    border-radius: 0;
    box-shadow: none;
    color: #fff;
    font-size: 16px;
    padding: 24px!important
}

.gm-style .gm-style-iw.gm-style-iw-c[role=dialog] .gm-style-iw-d {
    overflow: unset!important
}

.gm-style .gm-style-iw.gm-style-iw-c[role=dialog] button {
    display: none!important
}

.gm-style .gm-style-iw-tc {
    display: none
}

.gm-style-mtc-bbw,.gm-svpc {
    display: none
}

.gm-control-active {
    background-color: #9cd3ab!important;
    border-radius: 9999px;
    padding: .75rem
}

.gm-control-active img {
    filter: brightness(.4);
    height: 16px;
    width: 16px
}

.gm-control-active img path {
    fill: #485956;
    width: 1px
}

.gmnoprint>div {
    background: #0000!important;
    box-shadow: none!important
}

.gmnoprint>div>button+div {
    background: #0000!important;
    height: .25rem!important
}

/* News */

.news-content-body {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.news-content-body>figure {
    width: 100%;
    align-self: center;
}

.news-content-intro p,
.news-content-body p,
.news-content-body .news-content-heading {
    width: 100%;
}

.news-content-intro p {
    margin-top: 2.5rem;
}

.news-content-body p { 
    margin-bottom: 1.25rem; 
    line-height: 1.3;
    align-self: center;
}

.news-content-body>figure .row figure {
    margin-bottom: 0;
}

.news-content-body .news-content-heading {
    font-size: 1.75rem;
    align-self: center;
    margin-bottom: 1.25rem;
}

.ratio-4x6 {
    --bs-aspect-ratio: 150%;
}

.news-content-body .news-content-img-link::before {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    backdrop-filter: blur(3px);
    content: "";
    height: 100%;
    max-height: 40%;
    mask-image: linear-gradient(0deg ,black 20%, transparent);
    z-index: 1;
}

.news-content-body figure figcaption {
    font-size: 13px;
    z-index: 1;
}

@media (min-width: 1200px) {
    .news-content-intro p,
    .news-content-body p {
        width: 50%;
    }
    .news-content-body p{
        margin-bottom: 2.5rem;
    }
    .news-content-body>figure {
        width: 66%;
    }
    .news-content-body .news-content-heading {
        font-size: 2.5rem;
        margin-bottom: 2.5rem;
        width: 50%;
    }
}

@media (min-width: 768px) {
    .news-content-body>figure {
        width: 75%;
    }
    .ratio-md-16x9 {
        --bs-aspect-ratio: 56.25%;
    }
}

mark.search-highlight {
    background-color: #ffc; 
    color: #000;
    padding: 0;
}

/* Legal/policy pages */


.legal-content-wrapper {
    color: var(--brand-primary);
}

.legal-content-wrapper h2,
.legal-content-wrapper h3 {
    font-family: 'Sora', sans-serif;
    font-weight: 400;
    line-height: 1.2;
    color: var(--brand-primary);
}

.legal-content-wrapper h2 {
    font-size: 2.5rem;
    margin-top: 2em;
    margin-bottom: 1em;
}

.legal-content-wrapper h3 {
    font-size: 1.5rem;
    margin-top: 1.6em;
    margin-bottom: 0.6em;
}

@media (min-width: 1280px) {
    .legal-content-wrapper h2 {
        font-size: 5.5rem;
    }
    .legal-content-wrapper h3 {
        font-size: 2.5rem;
    }
}

.legal-content-wrapper p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

@media (min-width: 1280px) {
    .legal-content-wrapper p {
        font-size: 1.5rem;
        line-height: 1.3;
    }
}

.legal-content-wrapper a {
    color: var(--brand-primary);
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.legal-content-wrapper a:hover {
    opacity: 0.7;
}

/* 404 page */

/* Ghost text effect for 404 page */
.error-ghost-text {
    font-size: 37.5rem;
    filter: blur(1.25rem);
    opacity: 0.3; /* Adjusted for better legibility against your brand primary */
    pointer-events: none;
    line-height: 1;
}

.error-ghost-text-mobile {
    font-size: 9rem;
    filter: blur(0.375rem);
    opacity: 0.3;
    line-height: 1;
}

@media (min-width: 768px) and (max-width: 1199px) {
    .error-ghost-text-mobile {
        font-size: 18rem;
        filter: blur(1rem);
    }
}

/* Ensure z-index-n1 works if not in your bootstrap version */
.z-n1 {
    z-index: -1;
}