html {
    scroll-behavior: smooth;
}

/* ==========================
   Global layout helpers
   ========================== */
.mar-container {
    max-width: 1392px;
    margin: 0 auto;
    padding: 0 24px;
}

.mar-inner-container {
    max-width: 680px;
    margin: 0 auto;
}

.mar-text-center {
    text-align: center;
}

.mar-text-left {
    text-align: left;
}

.mar-text-500 {
    font-family: 'BlissPro-Medium';
}

.mar-section-title {
    margin-bottom: 48px;
    font-size: 20px;
    line-height: 30px;
}

section.mar-section {
    padding: 40px 0;
    background: #fff;
}

@media (min-width: 1024px) {
    .mar-section-title {
        margin-bottom: 72px;
    }

    section.mar-section {
        padding: 60px 0;
    }
}

/* ==========================
   Shared buttons
   ========================== */
.mar-buttons {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.mar-button {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    height: 45px;
    padding: 0 36px;
    border: 1px solid #000;
}

@media (max-width: 767px) {
    .mar-buttons {
        flex-direction: column;
    }

    .mar-central-simple-content .mar-button {
        flex: auto;
    }

    .mar-central-simple-content .mar-button:not(:last-child) {
        border-bottom: none;
    }
}

@media (min-width: 768px) {
    .mar-central-simple-content .mar-button:not(:last-child) {
        border-right: none;
    }
}

@media (min-width: 1024px) {
    .mar-buttons {
        width: 120%;
        margin-left: -10%;
    }
}

/* ==========================
   Image + text full width block
   ========================== */
.mar-media-text-fw__inner {
    display: flex;
    flex-direction: column;
}

.mar-media-text-fw__media picture,
.mar-media-text-fw__media img {
    display: block;
    width: 100%;
}

.mar-media-text-fw__media img {
    height: auto;
    aspect-ratio: 4 / 3.2;
    object-fit: cover;
}

.mar-media-text-fw__content {
    padding: 32px 24px 40px;
    border-top: 1px solid #f0f0f0;
}

.mar-media-text-fw__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.mar-media-text-fw__badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 12px;
    border: 1px solid #828282;
    background: #f3f3f3;
    font-size: 14px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.mar-media-text-fw__content h2,
.mar-media-text-fw__content h3,
.mar-media-text-fw__title {
    margin: 0 0 24px;
    padding: 0;
    border-bottom: none;
    font-size: 24px;
}

.mar-media-text-fw__content h3 {
    font-size: 20px;
}

.mar-media-text-fw__text {
    margin-bottom: 24px;
}

.mar-media-text-fw__text p {
    margin: 0 0 8px;
    font-size: 16px;
}

.mar-media-text-fw__text p:last-child {
    margin-bottom: 0;
}

.mar-media-text-fw__link {
    display: inline-block;
    text-decoration: underline;
}

@media (min-width: 768px) {
    .mar-media-text-fw__content {
        padding: 48px 32px 56px;
    }
}

@media (max-width: 1023px) {
    .mar-media-text-fw__content {
        margin-bottom: 40px;
    }
}

@media (min-width: 1024px) {
    .mar-media-text-fw__inner {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: stretch;
    }

    .mar-media-text-fw__media {
        order: 2;
        min-height: 100%;
    }

    .mar-media-text-fw__media picture,
    .mar-media-text-fw__media img {
        height: 100%;
    }

    .mar-media-text-fw__content {
        order: 1;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        padding: 80px 74px 80px max(20px, calc((100vw - 1200px) / 2));
    }

    .mar-media-text-fw__content-inner {
        max-width: 560px;
    }

    .mar-media-text-fw__title {
        font-size: 32px;
    }
}

/* ==========================
   Image + text left/right block
   ========================== */
.mar-media-text {
    overflow: hidden;
}

.mar-media-text__inner {
    display: flex;
    flex-direction: column;
}

.mar-media-text__content {
    align-items: center;
    padding-top: 24px;
}

.mar-media-text__media img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 2.7;
    object-fit: cover;
}

.mar-media-text__text {
    margin-bottom: 24px;
}

.mar-media-text__text h2,
.mar-media-text__text h3 {
    margin-bottom: 16px;
    padding-bottom: 0;
    border-bottom: none;
    text-align: left;
    letter-spacing: 0;
}

.mar-media-text__text h2 {
    font-size: 24px;
}

.mar-media-text__text h3 {
    font-size: 20px;
}

.mar-media-text__button {
    display: inline-block;
    text-decoration: underline;
}

@media (max-width: 767px) {
    .mar-section.mar-media-text {
        padding-bottom: 0;
    }
}

@media (min-width: 1024px) {
    .mar-media-text__inner {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 90px;
    }

    .mar-media-text__media {
        order: 2;
    }

    .mar-media-text__content {
        order: 1;
        display: flex;
        padding-top: 0;
    }

    .mar-media-text__content-inner {
        width: 100%;
    }

    .mar-media-text__text h2,
    .mar-media-text__text h3 {
        margin-bottom: 30px;
    }

    .mar-media-text__text h2 {
        font-size: 32px;
    }

    .mar-media-text__text h3 {
        font-size: 28px;
    }

    /* Reverse the media/content order when the modifier class is added. */
    .mar-media-text--reversed .mar-media-text__media {
        order: 1;
    }

    .mar-media-text--reversed .mar-media-text__content {
        order: 2;
        justify-content: flex-end;
    }
}

/* ==========================
   Grid items block
   ========================== */
.grid-items__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.grid-items__item {
    text-align: center;
    line-height: 1.5;
}

.grid-items__image {
    margin-bottom: 18px;
}

.grid-items__image img {
    display: block;
    margin: 0 auto;
}

.grid-items__title {
    margin-bottom: 16px;
    font-size: 14px;
}

/* Mobile defaults. */
.grid-items--cols-3 .grid-items__item {
    width: 100%;
    text-align: left;
}

.grid-items--cols-4 .grid-items__item {
    width: calc(50% - 12px);
}

.grid-items--cols-3 .grid-items__grid {
    gap: 40px;
}

.grid-items--cols-3 .grid-items__image {
    margin-bottom: 24px;
}

.grid-items--cols-3 .grid-items__image img {
    width: 100%;
    aspect-ratio: 4 / 2.7;
    object-fit: cover;
}

.grid-items--cols-3 .grid-items__title {
    font-size: 20px;
}

@media (max-width: 767px) {
    .grid-items--cols-4 .grid-items__image img {
        max-width: 112px;
    }
}

@media (min-width: 1024px) {
    .grid-items--cols-3 .grid-items__grid {
        gap: 80px 40px;
    }

    .grid-items--cols-3 .grid-items__item {
        width: calc(33.333% - 26.66px);
    }

    .grid-items--cols-4 .grid-items__item {
        width: calc(25% - 18px);
    }

    .grid-items--cols-4 .grid-items__title {
        font-size: 15px;
    }
}

/* ==========================
   Simple central content block
   ========================== */
.mar-central-simple-content,
.mar-central-simple-content p {
    font-size: 16px;
}

.mar-central-simple-content h1,
.mar-central-simple-content h2,
.mar-central-simple-content h3,
.mar-central-simple-content h4 {
    display: inline-block;
    margin-bottom: 40px;
    padding-bottom: 5px;
    border-bottom: none;
    line-height: 1.5;
    text-decoration: underline;
    text-underline-offset: 5px;
}

.mar-central-simple-content h1 {
    display: block;
    font-size: 26px;
}

.mar-central-simple-content h2 {
    font-size: 20px;
}

.mar-central-simple-content h3 {
    font-size: 19px;
}

.mar-central-simple-content h4 {
    font-size: 18px;
}

.mar-central-simple-content .mar-buttons:has(.mar-button:nth-child(2)) .mar-button {
    padding: 0 24px;
}

.mar-central-simple-content .mar-button--white {
    position: relative;
}

.mar-central-simple-content .mar-button--white::after {
    content: '';
    display: inline-flex;
    width: 10px;
    height: 10px;
    margin-left: 8px;
    background-image: url('data:image/svg+xml,<svg width="10" height="10" viewBox="0 0 10 10" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(%23clip0_578_1438)"><path d="M9.90583 0.718836L9.29232 0.0946867C9.16694 -0.0328643 8.96467 -0.0328643 8.84097 0.0946867L5.00111 4.00115L1.15959 0.0946867C1.03421 -0.0328643 0.831939 -0.0328643 0.708234 0.0946867L0.0930555 0.720537C-0.0323206 0.848088 -0.0323206 1.05387 0.0930555 1.17972L4.76708 5.93482C4.89245 6.06237 5.09473 6.06237 5.21843 5.93482L9.90583 1.17972C10.0312 1.05217 10.0312 0.846387 9.90583 0.718836Z" fill="black"/><path d="M9.9068 4.68831L9.2933 4.06416C9.16792 3.93661 8.96565 3.93661 8.84194 4.06416L5.00209 7.97062L1.16057 4.06246C1.03519 3.93491 0.832915 3.93491 0.709211 4.06246L0.0940321 4.68831C-0.031344 4.81586 -0.031344 5.02164 0.0940321 5.14749L4.76805 9.9026C4.89343 10.0301 5.0957 10.0301 5.21941 9.9026L9.90513 5.14579C10.0305 5.01824 10.0305 4.81246 9.90513 4.68491L9.9068 4.68831Z" fill="black"/></g><defs><clipPath id="clip0_578_1438"><rect width="10" height="10" fill="white"/></clipPath></defs></svg>');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.mar-central-simple-content .mar-button--black {
    background: #000;
    color: #fff;
}

@media (min-width: 1024px) {
    .mar-central-simple-content .mar-buttons:has(.mar-button:nth-child(2)) .mar-button {
        flex: 1;
    }
}

/* ==========================
   Template header fixes
   ========================== */
.page-template-template-blocks-v2 .section-header {
    position: relative;
}

.page-template-template-blocks-v2 .section-header::after {
    content: '';
    position: absolute;
    inset: 0;
    display: block;
    background:
            linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
            linear-gradient(180deg, rgba(0, 0, 0, 0) 52.44%, rgba(0, 0, 0, 0.6) 95.43%);
}

.page-template-template-blocks-v2 .section-header .content {
    padding: 0 24px;
}

.page-template-template-blocks-v2 .section-header h1 {
    margin-bottom: 16px;
    border-bottom: none;
    font-size: 14px;
}

.page-template-template-blocks-v2 .section-header h3 {
    font-size: 32px;
}

@media (min-width: 1024px) {
    .page-template-template-blocks-v2 .section-header h3 {
        margin-bottom: 24px;
        font-size: 56px;
        text-decoration: none;
    }
}

/* ==========================
   Events slider
   ========================== */
.events-slider {
    position: relative;
    overflow: hidden;
}

.events-slider__wrapper {
    margin-left: 16px;
    padding-right: 40px;
}

.events-slider__title {
    font-size: 20px;
    font-weight: 500;
    line-height: 30px;
}

.events-slider__title,
.events-slider__text {
    margin-bottom: 40px;
    line-height: 150%;
}

.events-slider__item {
    position: relative;
    overflow: hidden;
}

.events-slider__image img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 2.67;
    object-fit: cover;
}

.events-slider__label {
    position: absolute;
    top: 14px;
    left: 14px;
    display: flex;
    padding: 6px 8px;
    border: 1px solid #fff;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
}

.events-slider__label span {
    width: 14px;
    height: 14px;
    margin-right: 8px;
    border-radius: 50%;
    background: #5bdbb3;
}

.events-slider__caption {
    margin-top: 16px;
    margin-bottom: 8px;
    font-size: 18px;
}

.events-slider__text-content,
.events-slider__text-content p {
    margin-bottom: 8px;
    padding: 0;
    font-family: 'BlissPro';
    font-size: 15px;
}

.events-slider__link {
    display: block;
    margin-top: 20px;
    text-decoration: underline;
}

/* Keep Owl width stable inside the custom wrapper. */
.events-slider .owl-carousel {
    width: 100%;
    text-align: center;
    touch-action: pan-y;
}

/* Allows the next slide to be visible on the right side. */
.events-slider .owl-stage-outer {
    overflow: visible;
}

.events-slider .owl-stage {
    display: flex;
    align-items: stretch;
}

.events-slider .owl-item {
    -webkit-backface-visibility: hidden;
    -webkit-transform: translate3d(0, 0, 0);
}

.events-slider .owl-controls {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 48px;
    padding: 24px 12px;
    transform: translateX(12px);
}

.events-slider .owl-nav {
    position: absolute;
    width: 100%;
}

.events-slider .owl-nav .owl-prev,
.events-slider .owl-nav .owl-next {
    position: absolute;
    top: -12px;
    width: 24px;
    height: 24px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    font-size: 0;
}

.events-slider .owl-prev {
    left: -12px;
    background-image: url('data:image/svg+xml,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M10 5.75L3.75 12L10 18.25M4.5 12H20.25" stroke="black" stroke-width="1.5" stroke-linecap="square"/></svg>');
}

.events-slider .owl-next {
    right: -12px;
    background-image: url('data:image/svg+xml,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M14 5.75L20.25 12L14 18.25M19.5 12H3.75" stroke="black" stroke-width="1.5" stroke-linecap="square"/></svg>');
}

.events-slider .owl-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 0 32px;
}

.events-slider .owl-dot {
    width: 40px;
    height: 2px;
    background: rgba(0, 0, 0, 0.2);
}

.events-slider .owl-dot.active {
    background: #000;
}

/* Left aligned slider variation. */
.events-slider--left_align .events-slider__caption,
.events-slider--left_align .events-slider__link,
.events-slider--left_align .events-slider__text-content {
    text-align: left;
}

.events-slider--left_align .events-slider__text-content,
.events-slider--left_align .events-slider__text-content p {
    margin-top: 16px;
    font-size: 16px;
}

@media (min-width: 1024px) {
    .events-slider__caption {
        margin-top: 24px;
        font-size: 20px;
    }
}

@media (min-width: 1300px) {
    .events-slider__wrapper {
        margin-left: calc((100vw - 1342px) / 2);
        padding-right: 105px;
        overflow: hidden;
    }

    .events-slider .owl-controls {
        transform: translateX(46px);
    }
}

@media (min-width: 1440px) {
    .events-slider .owl-controls {
        transform: translateX(26px);
    }
}

/* ==========================
   Parallax block
   ========================== */
.mar-parallax {
    position: relative;
    overflow: hidden;
    margin: 0;
}

.mar-parallax-wrapper {
    overflow: hidden;
}

.mar-parallax img {
    display: block;
    width: 100%;
    height: auto;
    transform: translate3d(0, 0, 0) scale(1.15);
    transition: transform 0.1s linear;
    will-change: transform;
}

/* ==========================
   Events and journeys block
   ========================== */
.mar-journeys-block__filter {
    display: flex;
    justify-content: center;
}

.mar-journeys-block__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding-top: 48px;
}

.mar-journey-card {
    position: relative;
    width: 100%;
}

.mar-journey-card__thumb-img {
    aspect-ratio: 4 / 2.3;
    object-fit: cover;
}

.mar-journey-card__title {
    margin-top: 24px;
    font-size: 20px;
    line-height: 20px;
}

.mar-journey-card__play {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 62px;
    height: 40px;
    cursor: pointer;
    transition: transform 0.2s;
}

.mar-journey-card__play:hover {
    transform: scale(1.05);
}

.mar-journey-card__play svg {
    width: 100%;
    height: auto;
}

.mar-journeys-block__filter-item.is-active {
    background: #e3e3e3;
}

.mar-journeys-block__filter-item.is-active::before {
    content: '';
    display: inline-block;
    width: 11px;
    height: 11px;
    margin-right: 6px;
    border-radius: 50%;
    background: #000;
}

.mar-journeys-block__load-more {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin: 80px auto;
    border: none;
    background: transparent;
    box-shadow: none;
    font-size: 22px;
    transition: opacity 0.2s ease;
}

.mar-journeys-block__load-more::before {
    content: '\f103';
    font-family: 'fontawesome';
    font-size: 36px;
    color: #090304;
}

.mar-journeys-block__load-more.is-loading {
    opacity: 0.6;
    pointer-events: none;
}

.mar-journeys-block__load-more.is-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    transform: translateY(-50%);
    animation: mar-spin 0.6s linear infinite;
}

@media (max-width: 1023px) {
    .mar-journeys-block__filter {
        flex-direction: column;
    }

    .mar-journeys-block__filter .mar-button:not(:last-child) {
        border-bottom: none;
    }
}

@media (min-width: 768px) {
    .mar-journey-card {
        width: calc(50% - 20px);
    }
}

@media (min-width: 1024px) {
    .mar-journeys-block__grid {
        gap: 96px 40px;
    }

    .mar-journey-card {
        width: calc(33.33% - 27px);
    }

    .mar-journeys-block__filter .mar-button {
        flex: 1;
    }

    .mar-journeys-block__filter .mar-button:not(:last-child) {
        border-right: none;
    }
}

@keyframes mar-spin {
    to {
        transform: translateY(-50%) rotate(360deg);
    }
}




/*Contact*/
.mar-contact-text__inner{
    display: flex;
    flex-direction: column;
    gap: 32px;
    line-height: 1.5;
}

.mar-contact-text__contact{
    background: #000;
    color: #fff;
    padding: 32px 24px;
    width: 100%;
}

.mar-contact-text__contact p{
    color: #fff;
    margin-bottom: 24px;
    padding: 0
}

.mar-contact-text__contact p:last-child{
    margin-bottom: 0
}

.mar-contact-text__contact a,
.mar-contact-text__contact a:hover{
    text-decoration: underline;
    color: #fff;
    line-height: 2
}

.mar-contact-text__title{
    font-size: 32px;
    letter-spacing: 0;
    border-bottom: 0;
    margin-bottom: 0
}

.mar-contact-text__subtitle{
    font-size: 15px;
    letter-spacing: 0.4px
}

.mar-contact-text__text{
    margin: 24px 0
}

.mar-contact-text__content .button-container{
    float: none;
    justify-content: flex-start;
}

.mar-contact-text__content  .button-container .std-button-black{
    height: 45px;
}

@media (min-width: 1024px) {
    .mar-contact-text__inner{
        flex-direction: row;
        gap: 60px;
    }

    .mar-contact-text__contact{
        padding: 32px;
        max-width: 470px
    }

    .mar-contact-text__contact p{
        margin-bottom: 32px;
    }

    .mar-contact-text__title{
        margin-top: 32px;
    }

    .mar-contact-text__text{
        margin: 32px 0
    }
}

@media (min-width: 1300px) {
    .mar-contact-text__inner{
        flex-direction: row;
        gap: 100px;
    }

    .mar-contact-text__contact{
        padding: 48px;
    }
}