/* ==========================================================
   PONUKA
   Slovakia Christiana
========================================================== */

:root {
    --offer-bg: #f3f1eb;
    --offer-surface: #fffdf8;

    --offer-text: #272b2a;
    --offer-muted: #707673;

    --offer-red: #8d2938;
    --offer-red-dark: #70202c;

    --offer-petrol: #2f6868;
    --offer-petrol-dark: #234f50;
    --offer-petrol-light: #e7efed;

    --offer-gold: #b59a65;
    --offer-border: #dedbd2;

    --offer-radius: 18px;
}


/* ==========================================================
   RESET
========================================================== */

html {
    scroll-behavior: smooth;
}

body.ponuka-page {
    margin: 0;
    padding: 0;

    background: var(--offer-bg);
    color: var(--offer-text);

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;
}

body.ponuka-page * {
    box-sizing: border-box;
}

body.ponuka-page a {
    text-decoration: none;
}


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

.offer-header {
    position: relative;
    z-index: 20;

    background: rgba(255, 253, 248, 0.96);

    border-bottom: 1px solid var(--offer-border);
}

.offer-header-inner {
    width: min(1180px, calc(100% - 48px));

    margin: 0 auto;

    min-height: 82px;

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

    gap: 40px;
}


/* BRAND */

.offer-brand {
    display: flex;
    flex-direction: column;

    color: var(--offer-text);
}

.offer-brand-small {
    color: var(--offer-petrol);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;
}

.offer-brand-main {
    margin-top: 4px;

    color: var(--offer-red);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 22px;
    font-weight: 700;
}


/* NAV */

.offer-nav {
    display: flex;
    align-items: center;

    gap: 32px;
}

.offer-nav a {
    position: relative;

    padding: 30px 0;

    color: #494d4b;

    font-size: 13px;
    font-weight: 600;
}

.offer-nav a::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 22px;

    width: 0;
    height: 1px;

    margin: auto;

    background: var(--offer-red);

    transition: width 0.2s ease;
}

.offer-nav a:hover {
    color: var(--offer-red);
}

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


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

.offer-hero {
    position: relative;

    padding: 92px 24px 88px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 82% 30%,
            rgba(47, 104, 104, 0.16),
            transparent 34%
        ),
        linear-gradient(
            135deg,
            #f5f2e9 0%,
            #edf2ee 55%,
            #e4ece8 100%
        );

    border-bottom: 1px solid var(--offer-border);
}

.offer-hero::before {
    content: "";

    position: absolute;

    width: 430px;
    height: 430px;

    left: -200px;
    bottom: -260px;

    border-radius: 50%;

    background: rgba(141, 41, 56, 0.06);
}

.offer-hero-inner {
    position: relative;
    z-index: 2;

    max-width: 760px;

    margin: 0 auto;

    text-align: center;
}

.offer-kicker {
    margin: 0 0 19px !important;

    color: var(--offer-petrol) !important;

    font-size: 12px !important;
    font-weight: 700;

    letter-spacing: 2.5px;

    text-transform: uppercase;
}

.offer-hero h1 {
    margin: 0;

    color: var(--offer-petrol-dark);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(54px, 6vw, 78px);

    font-weight: 400;

    line-height: 1;
}

.offer-hero h1 span {
    color: var(--offer-red);

    font-weight: 600;
}

.offer-line {
    width: 54px;
    height: 2px;

    margin: 30px auto;

    background: var(--offer-gold);
}

.offer-intro {
    max-width: 660px;

    margin: 0 auto !important;

    color: var(--offer-muted) !important;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 19px !important;

    line-height: 1.7 !important;
}


/* ==========================================================
   PRODUCTS AREA
========================================================== */

.offer-main {
    padding: 85px 24px 115px;

    background: var(--offer-bg);
}

.offer-container {
    width: min(1160px, 100%);

    margin: 0 auto;
}


/* ==========================================================
   GRID
========================================================== */

.offer-container .offer-grid {
    display: grid !important;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    column-gap: 30px;
    row-gap: 30px;

    width: 100% !important;

    margin: 0 !important;
}


/*
 * Ak mas vo WordPresse viac samostatnych
 * offer-grid blokov pod sebou.
 *
 * Toto vytvori medzeru medzi 1. a 2. radom.
 */
.offer-container .offer-grid + .offer-grid {
    margin-top: 55px !important;
}


.offer-container .offer-grid > .wp-block-column {
    min-width: 0 !important;

    margin: 0 !important;
}


/* ==========================================================
   CARD
========================================================== */

.offer-container .offer-card {
    position: relative;

    height: 100%;

    display: flex !important;
    flex-direction: column !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden;

    background: var(--offer-surface);

    border: 1px solid var(--offer-border);

    border-radius: var(--offer-radius);

    box-shadow:
        0 12px 38px rgba(38, 49, 47, 0.07);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.offer-container .offer-card:hover {
    transform: translateY(-7px);

    border-color: #d2cabd;

    box-shadow:
        0 22px 55px rgba(38, 49, 47, 0.12);
}


/* ==========================================================
   PRODUCT IMAGE
========================================================== */

.offer-container .offer-card .wp-block-image {
    position: relative;

    width: 100% !important;
    height: 350px !important;

    margin: 0 !important;
    padding: 0 !important;

    display: flex;

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

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            #eeeae1,
            #f8f6f0
        );
}

.offer-container .offer-card .wp-block-image a {
    width: 100%;
    height: 100%;

    display: flex;

    align-items: center;
    justify-content: center;
}

.offer-container .offer-card .wp-block-image img {
    display: block;

    width: 100% !important;
    height: 100% !important;

    max-width: none !important;

    object-fit: cover !important;
    object-position: center !important;

    border-radius: 0 !important;

    transition: transform 0.35s ease;
}

.offer-container .offer-card:hover .wp-block-image img {
    transform: scale(1.025);
}


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

.offer-container .offer-card > *:not(.wp-block-image) {
    margin-left: 28px !important;
    margin-right: 28px !important;
}


.offer-container .offer-card h1,
.offer-container .offer-card h2,
.offer-container .offer-card h3,
.offer-container .offer-card h4 {
    margin-top: 28px !important;
    margin-bottom: 13px !important;

    color: var(--offer-text) !important;

    font-family:
        Georgia,
        "Times New Roman",
        serif !important;

    font-size: 25px !important;
    font-weight: 700;

    line-height: 1.22 !important;

    text-align: left !important;
}


.offer-container .offer-card h1 a,
.offer-container .offer-card h2 a,
.offer-container .offer-card h3 a,
.offer-container .offer-card h4 a {
    color: inherit !important;

    text-decoration: none !important;
}


.offer-container .offer-card h1 a:hover,
.offer-container .offer-card h2 a:hover,
.offer-container .offer-card h3 a:hover,
.offer-container .offer-card h4 a:hover {
    color: var(--offer-red) !important;
}


.offer-container .offer-card p {
    margin-top: 0 !important;
    margin-bottom: 22px !important;

    color: var(--offer-muted) !important;

    font-size: 14px !important;

    line-height: 1.65 !important;

    text-align: left !important;
}


/* ==========================================================
   BUTTON
========================================================== */

.offer-container .offer-card .wp-block-buttons {
    width: auto !important;

    margin:
        auto 28px
        28px !important;

    padding-top: 15px;
}

.offer-container .offer-card .wp-block-button {
    width: 100%;
}

.offer-container .offer-card .wp-block-button__link {
    width: 100%;

    min-height: 50px;

    display: flex;

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

    padding: 13px 22px !important;

    background: var(--offer-red) !important;

    color: white !important;

    border: 1px solid var(--offer-red);

    border-radius: 8px !important;

    font-size: 14px !important;
    font-weight: 700 !important;

    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.offer-container .offer-card .wp-block-button__link:hover {
    background: var(--offer-red-dark) !important;

    transform: translateY(-1px);

    box-shadow:
        0 9px 22px rgba(112, 32, 44, 0.17);
}


/* ==========================================================
   DONATION
========================================================== */

.offer-container .offer-donation {
    color: var(--offer-petrol) !important;

    font-size: 13px !important;

    font-weight: 700;
}


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

.offer-footer {
    padding: 68px 24px;

    background: var(--offer-petrol-dark);

    color: white;

    text-align: center;

    border-top:
        1px solid rgba(181, 154, 101, 0.35);
}

.offer-footer-inner {
    max-width: 700px;

    margin: 0 auto;
}

.offer-footer-title {
    margin: 0 0 11px !important;

    color: white !important;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 27px !important;
}

.offer-footer p:not(.offer-footer-title) {
    margin: 0 !important;

    color: #cbd4d1 !important;

    font-size: 12px !important;

    letter-spacing: 1.3px;

    text-transform: uppercase;
}

.offer-footer a {
    display: inline-block;

    margin-top: 20px;

    padding-bottom: 4px;

    color: #ffffff !important;

    font-size: 13px;
    font-weight: 600;

    border-bottom: 1px solid var(--offer-gold);
}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 950px) {

    .offer-container .offer-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        column-gap: 24px;
        row-gap: 30px;
    }


    .offer-container .offer-grid + .offer-grid {
        margin-top: 40px !important;
    }

}


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

@media (max-width: 680px) {

    .offer-header-inner {
        width: calc(100% - 32px);

        min-height: 70px;
    }


    .offer-brand-main {
        font-size: 18px;
    }


    .offer-nav {
        gap: 16px;
    }


    .offer-nav a {
        padding: 25px 0;

        font-size: 12px;
    }


    .offer-hero {
        padding:
            65px 20px
            60px;
    }


    .offer-hero h1 {
        font-size: 52px;
    }


    .offer-intro {
        font-size: 17px !important;
    }


    .offer-main {
        padding:
            55px 14px
            75px;
    }


    /*
     * Na mobile uz vzdy iba jedna karta
     * na jednom riadku.
     */
    .offer-container .offer-grid {
        grid-template-columns: 1fr;

        column-gap: 0;
        row-gap: 25px;
    }


    /*
     * Medzera medzi dvoma samostatnymi
     * offer-grid blokmi.
     */
    .offer-container .offer-grid + .offer-grid {
        margin-top: 25px !important;
    }


    .offer-container .offer-card .wp-block-image {
        height: 330px !important;
    }


    .offer-container .offer-card h1,
    .offer-container .offer-card h2,
    .offer-container .offer-card h3,
    .offer-container .offer-card h4 {
        font-size: 24px !important;
    }

}


/* ==========================================================
   VERY SMALL MOBILE
========================================================== */

@media (max-width: 470px) {

    .offer-header-inner {
        flex-direction: column;

        justify-content: center;

        gap: 2px;

        padding: 15px 0;
    }


    .offer-nav a {
        padding: 10px 0;
    }


    .offer-hero h1 {
        font-size: 44px;
    }


    .offer-container .offer-card .wp-block-image {
        height: 300px !important;
    }

}