/* =========================================================
   LANDING PAGE
   ========================================================= */

.landing-page {
    width: 100%;
}

.landing-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}


/* =========================================================
   HERO
   ========================================================= */

.landing-hero {
    width: 100%;
    padding: 80px 0;
}

.landing-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 70px;
    align-items: center;
}


/* =========================================================
   LEFT COLUMN
   ========================================================= */

.landing-hero__content {
    width: 100%;
}


/* =========================================================
   EYEBROW
   ========================================================= */

.landing-hero__eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;

    color: #014688;

    font-size: 10px;
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
}

.landing-hero__eyebrow-line {
    display: block;
    width: 25px;
    height: 1px;
    flex: 0 0 25px;

    background-color: #014688;
}

.landing-hero__eyebrow-text {
    display: block;
}


/* =========================================================
   H1
   ========================================================= */

.landing-hero__title {
    margin: 35px 0 0;

    color: #16324a;

    font-size: 36px;
    line-height: 1.2;
    font-weight: 700;
}

.landing-hero__title span {
    color: #2f7bc4;
    font-style: italic;
}


/* =========================================================
   BULLETS
   ========================================================= */

.landing-hero__bullets {
    display: flex;
    flex-direction: column;
    gap: 15px;

    margin: 40px 0 0;
    padding: 0;

    list-style: none;
}

.landing-hero__bullet {
    display: flex;
    align-items: center;
    gap: 13px;

    margin: 0;
    padding: 0;
}

.landing-hero__bullet-icon {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background-color: #2f7bc4;
    color: #ffffff;
}

.landing-hero__bullet-icon svg {
    width: 12px;
    height: 12px;
}

.landing-hero__bullet-text {
    color: #001f39;

    font-size: 14px;
    line-height: 1.45;
    font-weight: 700;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.landing-hero__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    margin-top: 36px;
}

.landing-button {
    width: 240px;
    min-height: 52px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;
    padding: 12px 24px;

    border-radius: 30px;

    font-size: 16px;
    line-height: 1.2;
    font-weight: 700;
    text-decoration: none;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}


/* =========================================================
   PRIMARY BUTTON
   ========================================================= */

.landing-button--primary {
    border: 1px solid #2f7bc4;

    background-color: #2f7bc4;
    color: #ffffff;
}

.landing-button--primary:hover,
.landing-button--primary:focus {
    border-color: #d2e3f2;

    background-color: #ffffff;
    color: #001f39;
}


/* =========================================================
   SECONDARY BUTTON
   ========================================================= */

.landing-button--secondary {
    border: 1px solid #d2e3f2;

    background-color: #ffffff;
    color: #001f39;
}

.landing-button--secondary:hover,
.landing-button--secondary:focus {
    border-color: #2f7bc4;

    background-color: #2f7bc4;
    color: #ffffff;
}


/* =========================================================
   RIGHT COLUMN / IMAGE
   ========================================================= */

.landing-hero__media {
    position: relative;

    width: 100%;
    padding-left: 25px;
    padding-bottom: 25px;
}

.landing-hero__image-wrap {
    width: 100%;
    overflow: hidden;

    border-radius: 18px;

    box-shadow: 0 12px 30px rgba(0, 31, 57, 0.14);
}

.landing-hero__image {
    display: block;

    width: 100%;
    height: auto;

    aspect-ratio: 1 / 1;
    object-fit: cover;
}


/* =========================================================
   IMAGE TEXT BOX
   ========================================================= */

.landing-hero__image-box {
    position: absolute;
    left: 0;
    bottom: 0;

    width: 234px;
    min-height: 125px;

    padding: 25px;

    box-sizing: border-box;

    border: 1px solid #d4e4f0;
    border-radius: 18px;

    background-color: #ffffff;

    color: #476078;

    font-size: 14px;
    line-height: 1.5;

    box-shadow: 0 12px 30px rgba(0, 31, 57, 0.14);
}

.landing-hero__image-box strong {
    display: block;

    color: #2f7bc4;

    font-size: 36px;
    line-height: 1.1;
    font-weight: 700;
}

.landing-hero__image-box p {
    margin-top: 0;
}

.landing-hero__image-box p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   VIDEO / TEXT BLOCK
   ========================================================= */

.landing-video-block {
    width: 100%;
    padding: 80px 0;
}

.landing-video-block__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 70px;
    align-items: center;
}


/* =========================================================
   VIDEO
   ========================================================= */

.landing-video {
    position: relative;

    width: 100%;

    overflow: hidden;

    border-radius: 18px;

    box-shadow: 0 12px 30px rgba(0, 31, 57, 0.14);

    background-color: #16324a;
}

.landing-video__element {
    display: block;

    width: 100%;
    height: auto;

    aspect-ratio: 587 / 330;

    object-fit: cover;
}


/* =========================================================
   VIDEO OVERLAY
   ========================================================= */

.landing-video__overlay {
    position: absolute;
    inset: 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    padding: 30px;

    box-sizing: border-box;

    pointer-events: none;
}


/* =========================================================
   VIDEO CONTROLS
   ========================================================= */

.landing-video__controls {
    width: 80px;
    height: 80px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background-color: rgba(255, 255, 255, 0.92);

    pointer-events: auto;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        visibility 0.2s ease;
}


/* =========================================================
   PLAY / STOP BUTTONS
   ========================================================= */

.landing-video__control {
    width: 24px;
    height: 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0;
    padding: 0;

    border: 0;

    background: transparent;

    color: #2f7bc4;

    cursor: pointer;
}

.landing-video__control svg {
    display: block;

    width: 24px;
    height: 24px;
}


/* =========================================================
   DEFAULT STATE
   ========================================================= */

/* Play látszik */

.landing-video__control--play {
    display: flex;
}


/* Stop nem látszik */

.landing-video__control--stop {
    display: none;
}


/* =========================================================
   PLAYING STATE
   ========================================================= */

/*
 * Lejátszás közben a teljes fehér kör eltűnik.
 */

.landing-video.is-playing .landing-video__controls {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: scale(0.9);
}


/*
 * A videó címe is eltűnik.
 */

.landing-video.is-playing .landing-video__title {
    opacity: 0;
    visibility: hidden;
}


/*
 * Play gomb ne legyen elérhető lejátszás közben.
 */

.landing-video.is-playing .landing-video__control--play {
    display: none;
}


/*
 * Stop alapból továbbra is rejtve.
 */

.landing-video.is-playing .landing-video__control--stop {
    display: none;
}


/* =========================================================
   STOP HOVER
   ========================================================= */

/*
 * Ha a videó fölé visszük az egeret,
 * megjelenik a Stop gomb a fehér körben.
 */

.landing-video.is-playing:hover .landing-video__controls {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform: scale(1);

    animation: landing-video-stop-in 0.2s ease forwards;
}


/*
 * Hover közben csak a Stop látszik.
 */

.landing-video.is-playing:hover .landing-video__control--stop {
    display: flex;
}


/* =========================================================
   STOP ANIMATION
   ========================================================= */

@keyframes landing-video-stop-in {

    from {
        opacity: 0;
        transform: scale(0.85);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }

}


/* =========================================================
   CONTROL HOVER
   ========================================================= */

.landing-video__control:hover,
.landing-video__control:focus {
    color: #014688;
}


/* =========================================================
   VIDEO TITLE
   ========================================================= */

.landing-video__title {
    margin: 20px 0 0;

    color: #ffffff;

    font-size: 30px;
    line-height: 1.2;
    font-weight: 700;

    text-align: center;

    transition:
        opacity 0.2s ease,
        visibility 0.2s ease;
}


/* =========================================================
   VIDEO TEXT / WYSIWYG
   ========================================================= */

.landing-video-block__content {
    color: #2e4a66;

    font-size: 16px;
    line-height: 1.4;
}


/*
 * Bekezdések között 40px.
 */

.landing-video-block__content p {
    margin-top: 0;
    margin-bottom: 40px;
}

.landing-video-block__content p:last-child {
    margin-bottom: 0;
}


/* WYSIWYG egyéb elemek */

.landing-video-block__content strong {
    font-weight: 700;
}

.landing-video-block__content a {
    color: inherit;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .landing-hero {
        padding: 60px 0;
    }

    .landing-hero__grid {
        gap: 45px;
    }

    .landing-hero__title {
        font-size: 32px;
    }


    /* VIDEO BLOCK */

    .landing-video-block {
        padding: 60px 0;
    }

    .landing-video-block__grid {
        gap: 45px;
    }

    .landing-video__title {
        font-size: 27px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .landing-container {
        padding-left: 20px;
        padding-right: 20px;
    }


    /* =====================================================
       HERO
       ===================================================== */

    .landing-hero {
        padding: 45px 0 60px;
    }

    .landing-hero__grid {
        display: flex;
        flex-direction: column;
        gap: 50px;
        align-items: stretch;
    }

    .landing-hero__title {
        margin-top: 25px;

        font-size: 30px;
        line-height: 1.2;
    }

    .landing-hero__bullets {
        margin-top: 30px;
        gap: 13px;
    }

    .landing-hero__bullet {
        align-items: flex-start;
    }

    .landing-hero__bullet-icon {
        margin-top: 1px;
    }

    .landing-hero__bullet-text {
        font-size: 14px;
    }

    .landing-hero__buttons {
        flex-direction: column;
        gap: 10px;

        margin-top: 30px;
    }

    .landing-button {
        width: 100%;
    }

    .landing-hero__media {
        padding-left: 15px;
        padding-bottom: 20px;
    }

    .landing-hero__image-wrap {
        border-radius: 15px;
    }

    .landing-hero__image {
        aspect-ratio: 4 / 3;
    }

    .landing-hero__image-box {
        width: calc(100% - 30px);
        max-width: 234px;

        min-height: 110px;

        padding: 20px;

        border-radius: 15px;

        font-size: 13px;
    }

    .landing-hero__image-box strong {
        font-size: 30px;
    }


    /* =====================================================
       VIDEO / TEXT BLOCK
       ===================================================== */

    .landing-video-block {
        padding: 45px 0 60px;
    }

    .landing-video-block__grid {
        display: flex;
        flex-direction: column;
        gap: 40px;
        align-items: stretch;
    }


    /* VIDEO */

    .landing-video {
        border-radius: 15px;
    }

    .landing-video__element {
        aspect-ratio: 587 / 330;
    }


    /* CONTROLS */

    .landing-video__controls {
        width: 70px;
        height: 70px;
    }


    /* TITLE */

    .landing-video__title {
        font-size: 26px;
    }


    /* TEXT */

    .landing-video-block__content {
        font-size: 16px;
        line-height: 1.4;
    }

    .landing-video-block__content p {
        margin-bottom: 40px;
    }

}
/* =========================================================
   IMAGE / TEXT BLOCK
   ========================================================= */

.landing-content-block {
    width: 100%;
    padding: 80px 0;
}

.landing-content-block__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 70px;
    align-items: center;
}


/* =========================================================
   IMAGE
   ========================================================= */

.landing-content-block__media {
    width: 100%;
}

.landing-content-block__image-wrap {
    width: 100%;
    overflow: hidden;

    border-radius: 18px;

    box-shadow: 0 12px 30px rgba(0, 31, 57, 0.14);
}

.landing-content-block__image {
    display: block;

    width: 100%;
    height: auto;

    aspect-ratio: 1 / 1;
    object-fit: cover;
}


/* =========================================================
   TEXT CONTENT
   ========================================================= */

.landing-content-block__content {
    width: 100%;
}

.landing-content-block__eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;

    color: #014688;

    font-size: 10px;
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
}

.landing-content-block__eyebrow-line {
    display: block;
    width: 25px;
    height: 1px;
    flex: 0 0 25px;

    background-color: #014688;
}

.landing-content-block__eyebrow-text {
    display: block;
}


/* =========================================================
   H2
   ========================================================= */

.landing-content-block__title {
    margin: 35px 0 0;

    color: #16324a;

    font-size: 36px;
    line-height: 1.2;
    font-weight: 700;
}

.landing-content-block__title span {
    color: #2f7bc4;
    font-style: italic;
}


/* =========================================================
   WYSIWYG
   ========================================================= */

.landing-content-block__wysiwyg {
    margin-top: 30px;

    color: #2e4a66;

    font-size: 16px;
    line-height: 1.5;
}

.landing-content-block__wysiwyg p {
    margin-top: 0;
    margin-bottom: 20px;
}

.landing-content-block__wysiwyg p:last-child {
    margin-bottom: 0;
}

.landing-content-block__wysiwyg strong {
    font-weight: 700;
}

.landing-content-block__wysiwyg a {
    color: inherit;
}

.landing-content-block__wysiwyg ul,
.landing-content-block__wysiwyg ol {
    margin: 20px 0;
    padding-left: 22px;
}

.landing-content-block__wysiwyg ul {
    list-style-type: disc;
}

.landing-content-block__wysiwyg ol {
    list-style-type: decimal;
}

.landing-content-block__wysiwyg li {
    margin: 0 0 10px;
    padding-left: 3px;
}

.landing-content-block__wysiwyg li::marker {
    color: #014688;
}

.landing-content-block__wysiwyg li:last-child {
    margin-bottom: 0;
}


/* =========================================================
   IMAGE / TEXT BLOCK - TABLET
   ========================================================= */

@media (max-width: 900px) {

    .landing-content-block {
        padding: 60px 0;
    }

    .landing-content-block__grid {
        gap: 45px;
    }

    .landing-content-block__title {
        font-size: 32px;
    }

}


/* =========================================================
   IMAGE / TEXT BLOCK - MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .landing-content-block {
        padding: 45px 0 60px;
    }

    .landing-content-block__grid {
        display: flex;
        flex-direction: column;
        gap: 40px;
        align-items: stretch;
    }

    .landing-content-block__image-wrap {
        border-radius: 15px;
    }

    .landing-content-block__image {
        aspect-ratio: 4 / 3;
    }

    .landing-content-block__title {
        margin-top: 25px;

        font-size: 30px;
        line-height: 1.2;
    }

    .landing-content-block__wysiwyg {
        margin-top: 25px;

        font-size: 16px;
        line-height: 1.4;
    }

    .landing-content-block__wysiwyg ul,
    .landing-content-block__wysiwyg ol {
        margin-top: 18px;
        margin-bottom: 18px;
        padding-left: 20px;
    }

}
