/* =========================================================
   125 JOOR VERBUNDE — CUSTOM DESIGN
   ========================================================= */

:root {
    --purple: #280078;
    --purple-dark: #1d0058;
    --orange: #ff8b10;
    --orange-light: #ffad4d;
    --cream: #f7f5f1;
    --light: #ffffff;
    --text: #24232a;
    --muted: #68666f;
    --border: #e7e4eb;
    --shadow: 0 12px 35px rgba(40, 0, 120, 0.10);
    --radius: 18px;
}

/* =========================================================
   BASE
   ========================================================= */

html {
    scroll-behavior: smooth;
}

body.ebl-hubspot-theme.ebl-anniversary-page {
    margin: 0;
    background: #fff;
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 17px;
    line-height: 1.7;
}

body *,
body *::before,
body *::after {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    transition: all .25s ease;
}


/* =========================================================
   HEADER
   ========================================================= */

#anniversary-header {
    position: relative;
    z-index: 100;
    background: var(--purple);
    box-shadow: 0 4px 18px rgba(0, 0, 0, .12);
}

#anniversary-header .container {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}

#anniversary-header .nav-collapsable {
    min-height: 88px;
    position: relative;
}

/* Menu */

#anniversary-header .menu {
    margin: 0;
}

#anniversary-header .menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 8px;
}

#anniversary-header .menu li {
    margin: 0;
}

#anniversary-header .menu-link {
    display: block;
    position: relative;
    padding: 30px 18px;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .03em;
}

#anniversary-header .menu-link::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 21px;
    height: 3px;
    border-radius: 10px;
    background: var(--orange);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .25s ease;
}

#anniversary-header .menu-link:hover,
#anniversary-header .menu-link.active-item {
    color: #fff;
}

#anniversary-header .menu-link:hover::after,
#anniversary-header .menu-link.active-item::after {
    transform: scaleX(1);
}

/* Logo */

#anniversary-header .logo {
    width: 170px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#anniversary-header .logo a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

/*
   Якщо логотип має окремий файл — можна додати його сюди:
   background-image: url('/images/logo.svg');
*/

#anniversary-header .logo a::before {
    content: "125";
    display: block;
    color: #fff;
    font-size: 34px;
    font-weight: 900;
    line-height: 1;
    text-align: center;
}

#anniversary-header .logo a::after {
    content: "JOOR VERBUNDE";
    display: block;
    margin-top: 3px;
    color: var(--orange);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .18em;
    text-align: center;
}

/* Burger */

#anniversary-header .burger {
    display: none;
}


/* =========================================================
   HERO
   ========================================================= */

.box-slider-hero-module {
    position: relative;
    min-height: 650px !important;
    aspect-ratio: auto !important;
    padding-bottom: 120px !important;
    background: #222;
}

#cascade-slider {
    min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

#cascade-slider::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(40, 0, 120, .78) 0%,
            rgba(40, 0, 120, .35) 48%,
            rgba(0, 0, 0, .15) 100%
        );
    z-index: 0;
}

#cascade-slider .boxes {
    position: relative;
    z-index: 3;
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

#cascade-slider .box-title {
    position: absolute;
    top: 25px;
    left: 0;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .2em;
    text-transform: uppercase;
    margin: 0;
}

#cascade-slider .box {
    max-width: 560px;
    margin: 0 auto;
    color: #fff;
}

#cascade-slider .box-inner {
    background: rgba(255, 255, 255, .96);
    color: var(--text);
    border-radius: 22px;
    padding: 38px 42px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, .22);
}

#cascade-slider .box-content {
    padding: 0;
}

#cascade-slider .box-dates {
    color: var(--orange);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .04em;
    margin-bottom: 12px;
}

#cascade-slider .box h3,
#cascade-slider .box h4 {
    margin: 0 0 14px;
    color: var(--purple);
    font-size: 32px;
    line-height: 1.15;
    font-weight: 800;
}

#cascade-slider .box-description {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.65;
}

#cascade-slider .box-nav {
    list-style: none;
    padding: 0;
    margin: 26px 0 0;
}

#cascade-slider .box-nav li {
    margin: 0;
}

#cascade-slider .box-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 23px;
    border-radius: 999px;
    background: var(--orange);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 7px 18px rgba(255, 139, 16, .25);
}

#cascade-slider .box-nav a:hover {
    background: var(--purple);
    transform: translateY(-2px);
}

#cascade-slider .slider-arrows {
    position: absolute;
    z-index: 10;
    right: 7%;
    bottom: 145px;
    display: flex;
    gap: 12px;
}

#cascade-slider .box-arrow {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .2);
    transition: all .25s ease;
}

#cascade-slider .box-arrow:hover {
    background: var(--orange);
    transform: translateY(-3px);
}

#cascade-slider .box-arrow svg {
    width: 13px;
    height: 22px;
}

#cascade-slider .box-arrow:hover svg path {
    fill: #fff;
    stroke: #fff;
}


/* =========================================================
   WAVE
   ========================================================= */

.box-slider-hero-module .wave-overlay {
    z-index: 5;
    bottom: -1px;
}

.box-slider-hero-module .wave-overlay svg {
    display: block;
}


/* =========================================================
   MAIN CONTENT
   ========================================================= */

#main-section {
    background: #fff;
}

#main-section > .container-fluid {
    padding: 0;
}

#main-section .dnd-section {
    padding-left: 20px;
    padding-right: 20px;
}

#main-section .row-fluid {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   HEADINGS
   ========================================================= */

.headline_section {
    text-align: center;
    margin: 70px auto 35px;
    max-width: 850px;
}

.headline_section .subheadline {
    display: block;
    margin-bottom: 10px;
    color: var(--orange);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .16em;
    line-height: 1.4;
    text-transform: uppercase;
}

.headline_section h2 {
    margin: 0;
    color: var(--purple);
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -.025em;
}


/* =========================================================
   TEXT
   ========================================================= */

.widget-type-rich_text {
    max-width: 850px;
    margin-left: auto !important;
    margin-right: auto !important;
}

.widget-type-rich_text p {
    margin: 0 0 22px;
    color: #4f4d55;
    font-size: 17px;
    line-height: 1.8;
}

.widget-type-rich_text p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   GREY / HIGHLIGHT SECTION
   ========================================================= */

.dnd_area-row-5-background-layers {
    position: relative;
    margin-top: 80px;
    padding-top: 30px !important;
    padding-bottom: 80px !important;
    background-color: var(--cream) !important;
    background-position: center !important;
}

.dnd_area-row-5-background-layers::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 100vw;
    height: 100%;
    transform: translateX(-50%);
    background: var(--cream);
    z-index: -1;
}

.dnd_area-row-5-background-layers .headline_section {
    margin-top: 30px;
}


/* =========================================================
   VIDEO EMBEDS
   ========================================================= */

.hs-embed-wrapper {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #000;
}

.hs-embed-content-wrapper {
    border-radius: inherit;
    overflow: hidden;
}


/* =========================================================
   CTA
   ========================================================= */

.hs-cta-img {
    display: inline-block;
    max-width: 100%;
    transition: transform .25s ease, filter .25s ease;
}

.hs-cta-img:hover {
    transform: translateY(-3px);
    filter: drop-shadow(0 8px 14px rgba(40, 0, 120, .18));
}


/* =========================================================
   PURPLE CHRONIST SECTION
   ========================================================= */

.dnd_area-row-7-background-layers {
    position: relative;
    margin-top: 90px;
    padding: 95px 20px !important;
    background: var(--purple) !important;
    overflow: hidden;
}

.dnd_area-row-7-background-layers::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255, 139, 16, .10);
    top: -250px;
    right: -150px;
}

.dnd_area-row-7-background-layers .headline_section {
    margin-top: 0;
}

.dnd_area-row-7-background-layers .headline_section h2 {
    color: #fff;
}

.dnd_area-row-7-background-layers .slide-content {
    max-width: 780px;
    margin: 30px auto 0;
}

.dnd_area-row-7-background-layers p {
    color: rgba(255, 255, 255, .9);
    font-size: 17px;
    line-height: 1.8;
}

.dnd_area-row-7-background-layers .hs-cta-wrapper {
    display: inline-block;
    margin-top: 20px;
}

.dnd_area-row-7-background-layers .hs-cta-img {
    filter: none;
}


/* =========================================================
   FOOTER
   ========================================================= */

.ebl-anniversary-footer {
    background: #16003f;
    color: #fff;
}

.ebl-anniversary-footer .footer-top {
    padding: 65px 30px 55px;
}

.ebl-anniversary-footer .footer-links {
    max-width: 1050px;
    margin: 0 auto;
}

.ebl-anniversary-footer .footer-menu .row {
    display: flex;
    justify-content: space-between;
    gap: 60px;
}

.ebl-anniversary-footer .footer-menu .col {
    flex: 1;
}

.ebl-anniversary-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ebl-anniversary-footer .footer-nav li {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, .65);
}

.ebl-anniversary-footer .footer-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.ebl-anniversary-footer .footer-nav a:hover {
    color: var(--orange);
}

.ebl-anniversary-footer .footer-nav .bold-true {
    color: var(--orange);
}

.ebl-media-partner {
    max-width: 1050px;
    margin: 50px auto 0;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .55);
    font-size: 13px;
}

.ebl-anniversary-footer .footer-bottom {
    background: rgba(0, 0, 0, .18);
    padding: 25px 30px;
}

.ebl-anniversary-footer .footer-bottom .container {
    width: min(1050px, 100%);
    margin: auto;
}

.ebl-anniversary-footer .footer-bottom .row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.ebl-anniversary-footer .footer-bottom strong {
    font-size: 13px;
}

.ebl-anniversary-footer .footer-bottom-nav {
    display: flex;
    gap: 20px;
    margin-top: 8px;
}

.ebl-anniversary-footer .footer-bottom-nav li,
.ebl-anniversary-footer .footer-bottom-nav a {
    color: rgba(255, 255, 255, .55);
    font-size: 12px;
    text-decoration: none;
}

.ebl-anniversary-footer .footer-bottom-nav a:hover {
    color: var(--orange);
}

.socials-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px 18px;
}

.socials-menu span {
    color: rgba(255, 255, 255, .65);
    font-size: 13px;
}


/* =========================================================
   BACK TO TOP
   ========================================================= */

.back-to-top-wrapper {
    display: none;
}


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

@media (max-width: 900px) {

    #anniversary-header .nav-collapsable {
        min-height: 72px;
        justify-content: center !important;
    }

    #anniversary-header .menu {
        display: none;
    }

    #anniversary-header .burger {
        display: block;
        position: absolute;
        left: 0;
        top: 25px;
        width: 28px;
        height: 22px;
        z-index: 20;
    }

    #anniversary-header .burger #icon-close {
        display: none;
    }

    #anniversary-header .logo {
        width: 145px;
        height: 55px;
    }

    #anniversary-header .logo a::before {
        font-size: 29px;
    }

    .box-slider-hero-module {
        min-height: 570px !important;
        padding-bottom: 80px !important;
    }

    #cascade-slider {
        min-height: 570px;
    }

    #cascade-slider .boxes {
        width: calc(100% - 30px);
    }

    #cascade-slider .box-inner {
        padding: 30px;
    }

    #cascade-slider .box h3,
    #cascade-slider .box h4 {
        font-size: 28px;
    }

    #cascade-slider .slider-arrows {
        right: 20px;
        bottom: 105px;
    }

    #cascade-slider .box-arrow {
        width: 45px;
        height: 45px;
    }

    .headline_section {
        margin-top: 55px;
    }

    .headline_section h2 {
        font-size: 36px;
    }

    .widget-type-rich_text p {
        font-size: 16px;
    }

    .dnd_area-row-7-background-layers {
        padding-top: 70px !important;
        padding-bottom: 70px !important;
    }

    .ebl-anniversary-footer .footer-menu .row {
        flex-direction: column;
        gap: 30px;
    }

    .ebl-anniversary-footer .footer-bottom .row {
        flex-direction: column;
        align-items: flex-start;
    }

    .socials-menu {
        justify-content: flex-start;
    }
}


@media (max-width: 600px) {

    #anniversary-header .container {
        width: calc(100% - 30px);
    }

    .box-slider-hero-module {
        min-height: 520px !important;
    }

    #cascade-slider {
        min-height: 520px;
    }

    #cascade-slider .box-inner {
        padding: 25px;
        border-radius: 17px;
    }

    #cascade-slider .box h3,
    #cascade-slider .box h4 {
        font-size: 25px;
    }

    #cascade-slider .box-description {
        font-size: 15px;
    }

    #cascade-slider .box-nav a {
        width: 100%;
    }

    #cascade-slider .slider-arrows {
        bottom: 75px;
        right: 15px;
    }

    .headline_section {
        margin-top: 45px;
    }

    .headline_section .subheadline {
        font-size: 11px;
    }

    .headline_section h2 {
        font-size: 31px;
    }

    #main-section .dnd-section {
        padding-left: 15px;
        padding-right: 15px;
    }

    .dnd_area-row-5-background-layers {
        margin-top: 50px;
        padding-bottom: 55px !important;
    }

    .dnd_area-row-7-background-layers {
        margin-top: 55px;
        padding: 55px 15px !important;
    }

    .dnd_area-row-7-background-layers p {
        font-size: 15px;
    }

    .ebl-anniversary-footer .footer-top {
        padding: 45px 20px;
    }

    .ebl-anniversary-footer .footer-bottom {
        padding: 20px;
    }
}