/* =========================================================
   МІНЕРАЛИ УКРАЇНИ
   HOME PAGE
   ========================================================= */


/* =========================================================
   1. KADENCE / WORDPRESS RESET ДЛЯ ГОЛОВНОЇ
   ========================================================= */

/* Прибираємо стандартний заголовок сторінки */
.home .entry-hero,
.home .entry-header {
    display: none !important;
}

/* Прибираємо стандартні обмеження Kadence */
.home #primary,
.home .content-area,
.home .site-main,
.home article,
.home .entry-content-wrap,
.home .entry-content,
.home .site-container,
.home .content-container {
    width: 100% !important;
    max-width: none !important;

    margin-left: 0 !important;
    margin-right: 0 !important;

    padding-left: 0 !important;
    padding-right: 0 !important;
}

.home #primary,
.home .content-area {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.home .site-main {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.home .entry-content-wrap {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.home .entry-content {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.home .content-bg {
    background: transparent !important;
}


/* =========================================================
   2. SITEORIGIN RESET
   ========================================================= */

.home .panel-grid,
.home .panel-grid-cell,
.home .so-panel {
    width: 100% !important;
    max-width: none !important;
}

.home .panel-grid {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.home .panel-grid-cell {
    padding-left: 0 !important;
    padding-right: 0 !important;
}


/* =========================================================
   3. ЗАГАЛЬНИЙ КОНТЕЙНЕР
   ========================================================= */

.mu-container {
    width: calc(100% - 60px);
    max-width: 1720px;
    margin: 0 auto;
}


/* =========================================================
   4. HERO
   ========================================================= */

.mu-hero {
    width: 100%;
    padding: 95px 0 90px;
    background: #ffffff;
    overflow: hidden;
}

.mu-hero__content {
    width: 100%;

    display: grid;

    /*
     * Тексту даємо трохи більше місця,
     * щоб "Мінерали України" поміщалося в один рядок.
     */
    grid-template-columns:
        minmax(700px, 1.15fr)
        minmax(500px, 0.85fr);

    align-items: center;
    gap: clamp(30px, 4vw, 80px);
}


/* =========================================================
   5. ЛІВА ЧАСТИНА HERO
   ========================================================= */

.mu-hero__text {
    min-width: 0;
}


/* --- Громадська організація --- */

.mu-hero__eyebrow {
    display: flex;
    align-items: center;
    gap: 28px;
    width: fit-content;
    margin: 0 0 48px;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #1d2523;
}


/* зелено-сіро-золота риска */

.mu-hero__eyebrow::after {
    content: "";

    display: block;

    width: 140px;
    height: 3px;

    flex-shrink: 0;

    background: linear-gradient(
        to right,
        #174c3a 0%,
        #174c3a 42%,

        #c7c7c7 42%,
        #c7c7c7 66%,

        #d6a12b 66%,
        #d6a12b 100%
    );
}


/* =========================================================
   6. ГОЛОВНИЙ ЗАГОЛОВОК
   ========================================================= */

.mu-hero__title {
    margin: 0 0 34px;

    font-size: clamp(64px, 5.3vw, 102px);
    line-height: 0.98;
    font-weight: 700;
    letter-spacing: -0.045em;
    color: #202020;
    white-space: nowrap;
}


/* =========================================================
   7. ОПИС
   ========================================================= */

.mu-hero__lead {
    max-width: 850px;

    margin: 0;

    font-size: clamp(21px, 1.55vw, 28px);
    line-height: 1.55;

    font-weight: 400;

    color: #343b3a;
}


/* =========================================================
   8. КНОПКИ
   ========================================================= */

.mu-hero__actions {
    display: flex;
    align-items: center;

    gap: 42px;

    margin-top: 42px;
}


/* Основна кнопка */

.mu-button {
    display: inline-flex;

    align-items: center;
    justify-content: space-between;

    gap: 45px;

    min-width: 230px;

    padding: 18px 26px;

    background: #102f28;

    color: #ffffff !important;

    text-decoration: none !important;

    font-size: 18px;
    line-height: 1.4;

    font-weight: 600;

    border: 0;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.mu-button:hover {
    background: #19483d;

    color: #ffffff !important;

    transform: translateY(-1px);
}

.mu-button span {
    font-size: 21px;
    line-height: 1;
}


/* Друге посилання */

.mu-link {
    display: inline-flex;

    align-items: center;

    gap: 24px;

    color: #161616 !important;

    text-decoration: none !important;

    font-size: 18px;
    line-height: 1.4;

    font-weight: 400;

    transition: color 0.2s ease;
}

.mu-link:hover {
    color: #174c3a !important;
}

.mu-link span {
    font-size: 21px;
    line-height: 1;
}


/* =========================================================
   9. ПРАВА ЧАСТИНА — КАРТА
   ========================================================= */

.mu-hero__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    padding-right: 95px;
    transform: translateY(-10px);
}


/* Карта */

.mu-hero__map {
    display: block;

    width: 100%;

    max-width: 690px;

    height: auto;

    object-fit: contain;
}



/* =========================================================
   11. ВЕЛИКІ, АЛЕ НЕ ДУЖЕ ШИРОКІ ЕКРАНИ
   ========================================================= */

@media (max-width: 1500px) {

    .mu-container {
        width: calc(100% - 56px);
    }

    .mu-hero__content {
        grid-template-columns:
            minmax(620px, 1.1fr)
            minmax(460px, 0.9fr);

        gap: 35px;
    }

    .mu-hero__title {
        font-size: clamp(62px, 5vw, 82px);
    }

    .mu-hero__lead {
        font-size: 23px;
    }

    .mu-hero__map {
        max-width: 620px;
    }

}


/* =========================================================
   12. NOTEBOOK / SMALL DESKTOP
   ========================================================= */

@media (max-width: 1250px) {

    .mu-hero {
        width: 100%;
        padding: 25px 0 65px;
        background: #ffffff;
        overflow: hidden;
    }

    .mu-hero__content {
        grid-template-columns:
            minmax(540px, 1.05fr)
            minmax(400px, 0.95fr);

        gap: 25px;
    }

    .mu-hero__title {
        font-size: 64px;
    }

    .mu-hero__lead {
        font-size: 21px;
    }

    .mu-hero__visual {
        padding-right: 75px;
    }

    .mu-hero__keywords {
        padding-left: 16px;

        font-size: 12px;
    }

}


/* =========================================================
   13. TABLET
   ========================================================= */

@media (max-width: 1050px) {

    .mu-container {
        width: calc(100% - 40px);
    }

    .mu-hero {
        padding: 60px 0;
    }

    .mu-hero__content {
        grid-template-columns: 1fr 0.8fr;

        gap: 30px;
    }

    .mu-hero__title {
        font-size: clamp(52px, 6vw, 68px);

        white-space: normal;
    }

    .mu-hero__eyebrow {
        margin-bottom: 20px;
    }

    .mu-hero__lead {
        font-size: 20px;
    }

    .mu-hero__visual {
        padding-right: 0;
    }

    /*
     * На планшеті слова вже заважають карті.
     */
    .mu-hero__keywords {
        display: none;
    }

}


/* =========================================================
   14. MOBILE
   ========================================================= */

@media (max-width: 760px) {

    .mu-container {
        width: calc(100% - 32px);
    }

    .mu-hero {
        min-height: auto;

        padding: 48px 0 55px;
    }

    .mu-hero__content {
        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 42px;
    }


    /* ---------- eyebrow ---------- */

    .mu-hero__eyebrow {
        gap: 16px;
        margin-bottom: 28px;
        font-size: 11px;
        letter-spacing: 0.1em;
    }

    .mu-hero__eyebrow::after {
        width: 65px;
        height: 2px;
    }


    /* ---------- title ---------- */

    .mu-hero__title {
        margin-bottom: 24px;

        font-size: clamp(46px, 13vw, 64px);

        line-height: 0.98;

        white-space: normal;
    }


    /* ---------- description ---------- */

    .mu-hero__lead {
        max-width: 100%;

        font-size: 19px;

        line-height: 1.5;
    }


    /* ---------- buttons ---------- */

    .mu-hero__actions {
        flex-wrap: wrap;

        gap: 24px;

        margin-top: 32px;
    }

    .mu-button {
        min-width: 190px;

        padding: 15px 20px;

        font-size: 16px;
    }

    .mu-link {
        font-size: 16px;
    }


    /* ---------- map ---------- */

    .mu-hero__visual {
        order: 2;

        padding-right: 0;
    }

    .mu-hero__map {
        width: 100%;

        max-width: 560px;

        margin: 0 auto;
    }

}


/* =========================================================
   15. SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .mu-container {
        width: calc(100% - 28px);
    }

    .mu-hero {
        padding-top: 40px;
        padding-bottom: 45px;
    }

    .mu-hero__title {
        font-size: clamp(42px, 13vw, 54px);
    }

    .mu-hero__lead {
        font-size: 18px;
    }

    .mu-hero__actions {
        align-items: flex-start;

        flex-direction: column;

        gap: 20px;
    }

    .mu-button {
        width: 100%;

        max-width: 280px;
    }

}
.home .mu-hero__eyebrow {
    margin-bottom: 40px !important;
}

.home h1.mu-hero__title {
    margin-top: 0 !important;
    margin-bottom: 34px !important;
}
/* Відступи всього хедера від країв екрана */
.site-header-row-container-inner > .site-container {
    width: calc(100% - 72px) !important;
    max-width: 1720px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Планшет */
@media (max-width: 1100px) {
    .site-header-row-container-inner > .site-container {
        width: calc(100% - 48px) !important;
    }
}

/* Телефон */
@media (max-width: 760px) {
    .site-header-row-container-inner > .site-container {
        width: calc(100% - 32px) !important;
    }
}