/* ==========================================================
   BOZIE MILOSRDENSTVO
   Modern / clean version
========================================================== */

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

    --bm-text: #252828;
    --bm-muted: #6f7472;

    --bm-accent: #8d2938;
    --bm-accent-dark: #70202c;

    --bm-petrol: #2f6868;
    --bm-petrol-dark: #234f50;
    --bm-petrol-light: #e5efed;

    --bm-gold: #b59a65;
    --bm-gold-light: #d3bf94;

    --bm-border: #dedbd2;

    --bm-dark: #263b3b;

    --bm-radius: 18px;
}


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

html {
    scroll-behavior: smooth;
}

body.bozie-milosrdenstvo {
    margin: 0;
    padding: 0;

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

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

    text-align: left;
}

body.bozie-milosrdenstvo * {
    box-sizing: border-box;
}

body.bozie-milosrdenstvo img {
    max-width: 100%;
    height: auto;
}

body.bozie-milosrdenstvo a {
    text-decoration: none;
}


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

.bm-hero {
    position: relative;

    padding: 80px 24px 70px;

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

    border-bottom: 1px solid var(--bm-border);

    overflow: hidden;
}

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

    position: absolute;

    width: 420px;
    height: 420px;

    left: -180px;
    bottom: -230px;

    border-radius: 50%;

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

    pointer-events: none;
}

.bm-hero-inner {
    position: relative;
    z-index: 1;

    width: min(1180px, 100%);
    margin: 0 auto;

    display: grid;
    grid-template-columns: 0.9fr 1.1fr;

    align-items: center;

    gap: 80px;
}


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

.bm-hero-text {
    max-width: 520px;
}

.bm-kicker {
    margin: 0 0 22px !important;
    padding: 0 !important;

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

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

    letter-spacing: 2.5px;

    text-transform: uppercase;
}

.bm-hero h1 {
    margin: 0;

    color: var(--bm-petrol-dark) !important;

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

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

    font-weight: 400;

    line-height: 1.02;

    letter-spacing: -2px;
}

.bm-hero h1 span {
    display: block;

    color: var(--bm-accent);

    font-weight: 600;
}

.bm-line {
    width: 55px;
    height: 2px;

    margin: 32px 0;

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

.bm-subtitle {
    margin: 0 0 36px !important;

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

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

    font-size: 24px !important;

    font-style: italic;

    line-height: 1.5 !important;
}


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

.bm-button {
    display: inline-flex;

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

    min-height: 50px;

    padding: 0 28px;

    background: var(--bm-accent);

    color: white !important;

    border: 1px solid var(--bm-accent);
    border-radius: 8px;

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

    letter-spacing: 0.4px;

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

.bm-button:hover {
    background: var(--bm-accent-dark);

    transform: translateY(-2px);

    box-shadow:
        0 10px 25px rgba(112, 32, 44, 0.15);
}


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

.bm-hero-image {
    display: flex;

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

.bm-hero-image img {
    display: block;

    width: 100%;
    max-width: 520px;

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

    box-shadow:
        0 25px 65px rgba(0, 0, 0, 0.14);
}


/* ==========================================================
   QUOTE
========================================================== */

.bm-quote {
    padding: 80px 24px;

    background: var(--bm-dark);

    color: white;

    text-align: center;

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

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

.bm-quote-inner {
    max-width: 900px;

    margin: 0 auto;
}

.bm-symbol {
    margin: 0 0 24px !important;
    padding: 0 !important;

    color: var(--bm-gold-light) !important;

    font-size: 22px !important;
}

.bm-quote blockquote {
    max-width: 820px;

    margin: 0 auto 24px;
    padding: 0;

    border: none;

    color: white;

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

    font-size: clamp(28px, 4vw, 42px);

    font-style: italic;

    line-height: 1.4;
}

.bm-quote-author {
    margin: 0 !important;
    padding: 0 !important;

    color: #cfc7b7 !important;

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

    letter-spacing: 2px;

    text-transform: uppercase;
}


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

.bm-main {
    padding: 90px 24px 110px;

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

.bm-content {
    width: min(860px, 100%);

    margin: 0 auto;

    padding: 64px 72px 72px;

    background: var(--bm-surface);

    border: 1px solid #dfdbd0;
    border-top: 3px solid var(--bm-gold);

    border-radius: 14px;

    box-shadow:
        0 18px 50px rgba(46, 54, 51, 0.06);
}


/* ==========================================================
   CONTENT - NORMAL TEXT
========================================================== */

.bm-content p {
    max-width: 720px;

    margin:
        0 auto
        24px !important;

    padding: 0 !important;

    color: #343434 !important;

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

    font-size: 18px !important;

    line-height: 1.75 !important;

    text-align: center;
}


/* Italic prayer text */

.bm-content em,
.bm-content i {
    color: #373330;

    font-style: italic;
}


/* ==========================================================
   CONTENT - HEADINGS
========================================================== */

.bm-content h1,
.bm-content h2,
.bm-content h3,
.bm-content h4 {
    font-family:
        Georgia,
        "Times New Roman",
        serif !important;

    line-height: 1.2;

    text-align: center;
}


/* H1 */

.bm-content h1 {
    max-width: 720px;

    margin:
        0 auto
        42px;

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

    font-size: 40px;
}


/* Main section headings */

.bm-content h2 {
    position: relative;

    max-width: 720px;

    margin:
        68px auto
        34px;

    padding-bottom: 20px;

    color: var(--bm-accent) !important;

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

    line-height: 1.15;
}


/* small gold line under main headings */

.bm-content h2::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: 0;

    width: 46px;
    height: 2px;

    background: var(--bm-gold);

    transform: translateX(-50%);
}


/* First heading doesn't need huge top gap */

.bm-content h2:first-of-type {
    margin-top: 0;
}


/* Subheadings - Na zaciatku etc. */

.bm-content h3 {
    max-width: 700px;

    margin:
        34px auto
        14px;

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

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


/* Small heading */

.bm-content h4 {
    max-width: 700px;

    margin:
        30px auto
        14px;

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

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


/* ==========================================================
   AUTHOR / SUBTITLE AFTER HEADING
========================================================== */

.bm-content h2 + p {
    margin-top: -18px !important;
    margin-bottom: 38px !important;

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

    font-size: 17px !important;

    font-style: italic;
}


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

.bm-content strong,
.bm-content b {
    color: var(--bm-text);

    font-weight: 700;
}


/* ==========================================================
   SEPARATION BETWEEN LARGE SECTIONS
========================================================== */

.bm-content h2:not(:first-of-type) {
    margin-top: 70px;

    padding-top: 55px;

    border-top: 1px solid var(--bm-border);
}


/*
   Because padding is added above later h2 headings,
   move decorative underline to correct position.
*/

.bm-content h2:not(:first-of-type)::after {
    bottom: 0;
}


/* ==========================================================
   WORDPRESS ALIGNMENT HELPERS
========================================================== */

.bm-content .has-text-align-center {
    text-align: center;
}

.bm-content .has-text-align-left {
    text-align: left;
}

.bm-content .has-text-align-right {
    text-align: right;
}


/* ==========================================================
   LISTS
========================================================== */

.bm-content ul,
.bm-content ol {
    max-width: 700px;

    margin:
        26px auto
        32px;

    padding-left: 28px;
}

.bm-content li {
    margin-bottom: 12px;

    color: #343434;

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

    font-size: 18px;

    line-height: 1.7;

    text-align: left;
}


/* ==========================================================
   IMAGES INSIDE CONTENT
========================================================== */

.bm-content figure,
.bm-content .wp-block-image {
    margin: 45px auto;

    text-align: center;
}

.bm-content figure img,
.bm-content .wp-block-image img {
    border-radius: 12px;

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.07);
}


/* ==========================================================
   BLOCKQUOTES INSIDE WORDPRESS CONTENT
========================================================== */

.bm-content blockquote {
    max-width: 700px;

    margin:
        45px auto;

    padding:
        28px 34px;

    background: var(--bm-petrol-light);

    border: none;
    border-left: 3px solid var(--bm-petrol);

    border-radius: 0 10px 10px 0;
}

.bm-content blockquote p {
    margin-bottom: 0 !important;

    color: var(--bm-petrol-dark) !important;

    font-size: 19px !important;

    font-style: italic;
}


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

.bm-footer {
    padding: 70px 24px;

    background: var(--bm-surface);

    border-top: 1px solid var(--bm-border);

    text-align: center;
}

.bm-footer-title {
    margin:
        0 0
        12px !important;

    color: var(--bm-accent) !important;

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

    font-size: 30px !important;

    font-style: italic;
}

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

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

    font-size: 13px !important;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}

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

    margin-top: 22px;

    padding-bottom: 4px;

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

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

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


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

@media (max-width: 900px) {

    .bm-hero {
        padding-top: 60px;
    }

    .bm-hero-inner {
        grid-template-columns: 1fr;

        gap: 50px;

        text-align: center;
    }

    .bm-hero-text {
        max-width: 680px;

        margin: 0 auto;
    }

    .bm-line {
        margin-left: auto;
        margin-right: auto;
    }

    .bm-hero-image img {
        max-width: 460px;
    }

    .bm-content {
        padding:
            58px 50px
            64px;
    }

}


/* ==========================================================
   ORDER FORM
========================================================== */

.bm-form-section {
    padding: 100px 24px;

    background:
        linear-gradient(
            180deg,
            var(--bm-petrol-light) 0%,
            #f4f2ec 100%
        );

    border-top: 1px solid var(--bm-border);
}

.bm-form-inner {
    width: min(860px, 100%);
    margin: 0 auto;
}

.bm-form-kicker {
    margin: 0 0 12px !important;
    padding: 0 !important;

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

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

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

    letter-spacing: 2.2px;

    text-align: center;
    text-transform: uppercase;
}

.bm-form-section h2 {
    margin: 0;

    color: var(--bm-accent);

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

    font-size: 40px;

    line-height: 1.2;

    text-align: center;
}

.bm-form-intro {
    max-width: 620px;

    margin: 18px auto 45px !important;

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

    font-size: 17px !important;

    line-height: 1.65 !important;

    text-align: center;
}

.bm-form-box {
    padding: 50px 55px;

    background: var(--bm-surface);

    border: 1px solid var(--bm-border);
    border-top: 3px solid var(--bm-gold);

    border-radius: 14px;

    box-shadow:
        0 18px 50px rgba(46, 54, 51, 0.07);
}


/* WPForms */

.bm-form-box .wpforms-container {
    margin: 0 !important;
}

.bm-form-box .wpforms-field {
    padding: 10px 0 !important;
}

.bm-form-box .wpforms-field-label {
    margin-bottom: 7px !important;

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

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

.bm-form-box input[type="text"],
.bm-form-box input[type="email"],
.bm-form-box input[type="tel"],
.bm-form-box input[type="number"],
.bm-form-box select,
.bm-form-box textarea {
    width: 100% !important;

    min-height: 48px;

    padding: 11px 14px !important;

    background: #ffffff !important;

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

    border: 1px solid #d7d3ca !important;

    border-radius: 7px !important;

    font-size: 16px !important;

    box-shadow: none !important;
}

.bm-form-box textarea {
    min-height: 130px;
}

.bm-form-box input:focus,
.bm-form-box select:focus,
.bm-form-box textarea:focus {
    border-color: var(--bm-petrol) !important;

    outline: none !important;

    box-shadow:
        0 0 0 3px rgba(47, 104, 104, 0.10) !important;
}


/* Submit */

.bm-form-box button[type="submit"],
.bm-form-box input[type="submit"] {
    min-height: 52px !important;

    padding: 0 30px !important;

    background: var(--bm-accent) !important;

    color: white !important;

    border: 1px solid var(--bm-accent) !important;

    border-radius: 8px !important;

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

    cursor: pointer;

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

.bm-form-box button[type="submit"]:hover,
.bm-form-box input[type="submit"]:hover {
    background: var(--bm-accent-dark) !important;

    transform: translateY(-1px);
}


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

@media (max-width: 650px) {

    .bm-hero {
        padding:
            55px 20px
            50px;
    }

    .bm-hero-inner {
        gap: 38px;
    }

    .bm-kicker {
        font-size: 11px !important;

        letter-spacing: 2px;
    }

    .bm-hero h1 {
        font-size: 46px;

        letter-spacing: -1px;
    }

    .bm-subtitle {
        font-size: 21px !important;
    }

    .bm-button {
        min-height: 48px;

        padding: 0 23px;

        font-size: 13px;
    }


    /* quote */

    .bm-quote {
        padding:
            60px 20px;
    }

    .bm-quote blockquote {
        font-size: 28px;
    }


    /* content */

    .bm-main {
        padding:
            45px 14px
            65px;
    }

    .bm-content {
        padding:
            40px 22px
            48px;

        border-radius: 12px;
    }

    .bm-content p {
        font-size: 17px !important;

        line-height: 1.7 !important;

        margin-bottom: 21px !important;
    }

    .bm-content h1 {
        font-size: 31px;
    }

    .bm-content h2 {
        margin-top: 52px;

        padding-bottom: 18px;

        font-size: 27px;
    }

    .bm-content h2:first-of-type {
        margin-top: 0;
    }

    .bm-content h2:not(:first-of-type) {
        margin-top: 55px;

        padding-top: 42px;
    }

    .bm-content h3 {
        margin-top: 30px;

        font-size: 20px;
    }

    .bm-content h4 {
        font-size: 18px;
    }

    .bm-content h2 + p {
        margin-top: -15px !important;
        margin-bottom: 30px !important;
    }


    .bm-form-section {
        padding: 65px 14px;
    }

    .bm-form-section h2 {
        font-size: 31px;
    }

    .bm-form-box {
        padding: 32px 22px;
    }


    /* footer */

    .bm-footer {
        padding:
            55px 20px;
    }

    .bm-footer-title {
        font-size: 27px !important;
    }

}