/* Msza Online — O projekcie v0.4.2
   Własny namespace moop4 celowo izoluje tę wersję od CSS starych duplikatów. */

.moop4 {
    --m4-bg-a: #fbfaf6;
    --m4-bg-b: #f8f5ef;
    --m4-border: #d6c7a6;
    --m4-title: #111111;
    --m4-text: #6a5e4f;
    --m4-quote: #211a13;
    --m4-gold: #b8914c;
    --m4-gold-deep: #9a7840;
    --m4-separator: #e8decb;
    --m4-quote-bar: #cacaca;

    width: 100%;
    margin: 0;
    padding: 0;
    color: var(--m4-text);
}

.moop4,
.moop4 * {
    box-sizing: border-box;
}

.moop4__card {
    width: 100%;
    max-width: 1792px;
    margin: 0 auto;
    overflow: hidden;
    background: linear-gradient(120deg, var(--m4-bg-a) 0%, var(--m4-bg-b) 100%);
    border: 1px solid var(--m4-border);
    border-radius: 22px;
    box-shadow: none;
}

/* Geometria desktopowa odtworzona z referencji:
   96 px wewnętrznego marginesu, 808 px lewej strefy,
   74 px oddechu po obu stronach separatora. */
.moop4__grid {
    display: grid;
    grid-template-columns: minmax(0, 808px) 1px minmax(0, 1fr);
    column-gap: 74px;
    align-items: stretch;
    width: 100%;
    padding: 103px 96px 100px;
}

.moop4__content,
.moop4__quote {
    min-width: 0;
}

.moop4__content {
    width: 100%;
    max-width: 808px;
}

.moop4__eyebrow {
    margin: 0 0 54px !important;
    padding: 0 !important;
    color: var(--m4-gold) !important;
    font-family: Inter, Arial, sans-serif !important;
    font-size: 18px !important;
    line-height: 1.15 !important;
    font-weight: 600 !important;
    letter-spacing: 0.18em !important;
    text-transform: uppercase !important;
}

.moop4__title {
    margin: 0 0 38px !important;
    padding: 0 !important;
    color: var(--m4-title) !important;
    font-family: "Playfair Display", Georgia, "Times New Roman", serif !important;
    font-size: 67px !important;
    line-height: 1.02 !important;
    font-weight: 400 !important;
    font-style: normal !important;
    letter-spacing: -0.025em !important;
    text-transform: none !important;
}

.moop4__copy {
    width: 100%;
    max-width: 760px;
    margin: 0 !important;
    padding: 0 !important;
    color: var(--m4-text) !important;
    font-family: Inter, Arial, sans-serif !important;
}

.moop4__copy p {
    margin: 0 0 23px !important;
    padding: 0 !important;
    color: var(--m4-text) !important;
    font-family: Inter, Arial, sans-serif !important;
    font-size: 18px !important;
    line-height: 1.70 !important;
    font-weight: 400 !important;
    font-style: normal !important;
    letter-spacing: -0.008em !important;
    text-decoration: none !important;
}

.moop4__copy p:last-child {
    margin-bottom: 0 !important;
}

.moop4__copy em {
    color: inherit !important;
    font-family: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
    font-weight: 400 !important;
    font-style: italic !important;
    text-decoration: none !important;
}

/* Fraza o wspólnocie pozostaje zwykłym tekstem: bez bolda i bez podkreślenia. */
.moop4__copy strong,
.moop4__copy b {
    font-weight: 400 !important;
    text-decoration: none !important;
}

.moop4__button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 28px !important;
    min-width: 320px;
    min-height: 68px;
    margin: 35px 0 0 !important;
    padding: 18px 30px 18px 34px !important;
    border: 1.5px solid #bd8e3f !important;
    border-radius: 18px !important;
    background: linear-gradient(180deg, #fff9e9 0%, #f8e9c4 100%) !important;
    color: #755521 !important;
    font-family: Inter, Arial, sans-serif !important;
    font-size: 18px !important;
    line-height: 1 !important;
    font-weight: 600 !important;
    letter-spacing: -0.012em !important;
    text-decoration: none !important;
    box-shadow:
        0 7px 18px rgba(96, 67, 22, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.90) !important;
    transition:
        background .16s ease,
        border-color .16s ease,
        box-shadow .16s ease,
        color .16s ease,
        transform .16s ease;
}

.moop4__button:hover,
.moop4__button:focus-visible {
    background: linear-gradient(180deg, #fff6dd 0%, #f3ddb0 100%) !important;
    border-color: #a7782e !important;
    color: #644718 !important;
    box-shadow:
        0 9px 22px rgba(96, 67, 22, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.92) !important;
    transform: translateY(-2px);
}

.moop4__button:active {
    transform: translateY(0);
    box-shadow:
        0 4px 10px rgba(96, 67, 22, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.80) !important;
}

.moop4__button:focus-visible {
    outline: 3px solid rgba(184, 145, 76, 0.20) !important;
    outline-offset: 3px;
}

.moop4__arrow {
    display: inline-block;
    font-size: 24px !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    transform: translateY(-1px);
}

.moop4__separator {
    width: 1px;
    min-height: 530px;
    align-self: center;
    background: var(--m4-separator);
}

.moop4__quote {
    position: relative;
    width: 100%;
    max-width: 637px;
    align-self: center;
    margin: 0 !important;
    padding: 5px 0 0 48px !important;
}

.moop4__quote::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 58px;
    left: 0;
    width: 8px;
    background: var(--m4-quote-bar);
}

.moop4__quote-text {
    width: 100%;
    max-width: 565px;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    color: var(--m4-quote) !important;
    font-family: "Playfair Display", Georgia, "Times New Roman", serif !important;
    font-size: 64px !important;
    line-height: 1.18 !important;
    font-weight: 400 !important;
    font-style: italic !important;
    letter-spacing: -0.024em !important;
    text-transform: none !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
}

.moop4__reference {
    margin: 31px 0 0 !important;
    padding: 0 !important;
    color: var(--m4-gold-deep) !important;
    font-family: Inter, Arial, sans-serif !important;
    font-size: 19px !important;
    line-height: 1.2 !important;
    font-weight: 600 !important;
    letter-spacing: -0.01em !important;
}

/* Węższy desktop: zachowujemy dwie kolumny, ale skalujemy geometrię. */
@media (max-width: 1600px) and (min-width: 1181px) {
    .moop4__grid {
        grid-template-columns: minmax(0, 52fr) 1px minmax(0, 48fr);
        column-gap: clamp(42px, 4.2vw, 66px);
        padding: 82px clamp(54px, 5.2vw, 82px) 80px;
    }

    .moop4__content {
        max-width: none;
    }

    .moop4__copy {
        max-width: 700px;
    }

    .moop4__eyebrow {
        margin-bottom: 42px !important;
        font-size: 16px !important;
    }

    .moop4__title {
        margin-bottom: 32px !important;
        font-size: clamp(52px, 4.4vw, 64px) !important;
    }

    .moop4__copy p {
        font-size: 17px !important;
        line-height: 1.68 !important;
    }

    .moop4__quote {
        padding-left: 42px !important;
    }

    .moop4__quote-text {
        font-size: clamp(45px, 4vw, 60px) !important;
    }
}

/* Tablet i mały laptop: cytat pod treścią. */
@media (max-width: 1180px) {
    .moop4__grid {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 46px;
        padding: 68px 58px 64px;
    }

    .moop4__content,
    .moop4__copy {
        max-width: 820px;
    }

    .moop4__separator {
        width: 100%;
        min-height: 1px;
        height: 1px;
        margin: 0;
    }

    .moop4__quote {
        max-width: 760px;
        padding: 0 0 0 38px !important;
    }

    .moop4__quote::before {
        top: 0;
        bottom: 52px;
        width: 6px;
    }

    .moop4__quote-text {
        max-width: 700px;
        font-size: clamp(44px, 6.5vw, 58px) !important;
    }
}

@media (max-width: 700px) {
    .moop4__card {
        border-radius: 18px;
    }

    .moop4__grid {
        row-gap: 38px;
        padding: 43px 26px 45px;
    }

    .moop4__eyebrow {
        margin-bottom: 27px !important;
        font-size: 13px !important;
        letter-spacing: 0.17em !important;
    }

    .moop4__title {
        margin-bottom: 27px !important;
        font-size: clamp(42px, 12vw, 54px) !important;
        line-height: 1.03 !important;
    }

    .moop4__copy p {
        margin-bottom: 20px !important;
        font-size: 16px !important;
        line-height: 1.68 !important;
        letter-spacing: -0.004em !important;
    }

    .moop4__button {
        width: 100%;
        min-height: 56px;
        margin-top: 28px !important;
    }

    .moop4__quote {
        padding-left: 27px !important;
    }

    .moop4__quote::before {
        bottom: 46px;
        width: 5px;
    }

    .moop4__quote-text {
        font-size: clamp(36px, 10.5vw, 47px) !important;
        line-height: 1.14 !important;
    }

    .moop4__reference {
        margin-top: 24px !important;
        font-size: 16px !important;
    }
}


/* v0.4.1 — proporcje dopasowane do karty „O Fundacji” względem menu strony.
   Na desktopie karta ma ten sam optyczny moduł: ok. 1236 px szerokości,
   68 px lewego marginesu wewnętrznego i spokojniejszą skalę typografii. */
@media (min-width: 1181px) {
    .moop4__card {
        width: min(100%, 1236px) !important;
        max-width: 1236px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .moop4__grid {
        grid-template-columns: minmax(0, 556px) 1px minmax(0, 1fr) !important;
        column-gap: 50px !important;
        padding: 67px 67px 68px !important;
        align-items: stretch !important;
    }

    .moop4__content {
        width: 100% !important;
        max-width: 556px !important;
    }

    .moop4__eyebrow {
        margin-bottom: 36px !important;
        font-size: 14px !important;
        line-height: 1.2 !important;
        letter-spacing: 0.17em !important;
    }

    .moop4__title {
        margin-bottom: 28px !important;
        font-size: 52px !important;
        line-height: 1.02 !important;
        letter-spacing: -0.026em !important;
        white-space: nowrap !important;
    }

    .moop4__copy {
        width: 100% !important;
        max-width: 520px !important;
    }

    .moop4__copy p {
        margin-bottom: 20px !important;
        font-size: 16.5px !important;
        line-height: 1.72 !important;
        letter-spacing: -0.006em !important;
    }

    .moop4__button {
        min-height: 54px !important;
        margin-top: 28px !important;
        padding: 15px 24px !important;
        border-radius: 15px !important;
        font-size: 15px !important;
    }

    .moop4__separator {
        min-height: 366px !important;
        height: auto !important;
        align-self: center !important;
    }

    .moop4__quote {
        max-width: 445px !important;
        padding: 4px 0 0 36px !important;
    }

    .moop4__quote::before {
        bottom: 48px !important;
        width: 6px !important;
    }

    .moop4__quote-text {
        max-width: 395px !important;
        font-size: 49px !important;
        line-height: 1.18 !important;
        letter-spacing: -0.022em !important;
    }

    .moop4__reference {
        margin-top: 23px !important;
        font-size: 16px !important;
    }
}

@media (max-width: 700px) {
    .moop4__button {
        width: 100%;
        min-width: 0;
        min-height: 62px;
        padding: 16px 22px 16px 24px !important;
        font-size: 17px !important;
    }
}
