/*---------------------------------------------------------------------
    Style "Łąka" - professional version.
    A calm, well-ordered page in the parish's own colours: deep navy and the
    gold of the parish banner. The banner itself - Our Lady, Christ the King
    and St Hugh in stained glass - opens every page, set in a band that takes
    the colour of the liturgical season. Serif headings, clear sans-serif
    text, generous margins, no ornament that does not carry meaning.
    Type: Source Serif 4 and Source Sans 3 (SIL Open Font License).
---------------------------------------------------------------------*/
@import url(jquery-ui.css);
@import url(owl.carousel.min.css);

@font-face { font-family: 'Source Serif 4'; src: url(../fonts/source-serif-4-latin-ext-400-normal.woff2) format('woff2'); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Source Serif 4'; src: url(../fonts/source-serif-4-latin-400-normal.woff2) format('woff2'); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Source Serif 4'; src: url(../fonts/source-serif-4-latin-ext-600-normal.woff2) format('woff2'); font-weight: 600; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Source Serif 4'; src: url(../fonts/source-serif-4-latin-600-normal.woff2) format('woff2'); font-weight: 600; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Source Serif 4'; src: url(../fonts/source-serif-4-latin-ext-400-italic.woff2) format('woff2'); font-weight: 400; font-style: italic; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Source Serif 4'; src: url(../fonts/source-serif-4-latin-400-italic.woff2) format('woff2'); font-weight: 400; font-style: italic; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Source Sans 3'; src: url(../fonts/source-sans-3-latin-ext-400-normal.woff2) format('woff2'); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Source Sans 3'; src: url(../fonts/source-sans-3-latin-400-normal.woff2) format('woff2'); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Source Sans 3'; src: url(../fonts/source-sans-3-latin-ext-400-italic.woff2) format('woff2'); font-weight: 400; font-style: italic; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Source Sans 3'; src: url(../fonts/source-sans-3-latin-400-italic.woff2) format('woff2'); font-weight: 400; font-style: italic; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Source Sans 3'; src: url(../fonts/source-sans-3-latin-ext-600-normal.woff2) format('woff2'); font-weight: 600; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Source Sans 3'; src: url(../fonts/source-sans-3-latin-600-normal.woff2) format('woff2'); font-weight: 600; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Source Sans 3'; src: url(../fonts/source-sans-3-latin-ext-700-normal.woff2) format('woff2'); font-weight: 700; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Source Sans 3'; src: url(../fonts/source-sans-3-latin-700-normal.woff2) format('woff2'); font-weight: 700; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
    --season-rgb: 144, 238, 144;                       /* replaced each season by includes/season.php */
    --season: rgb(var(--season-rgb));
    --season-deep: color-mix(in srgb, rgb(var(--season-rgb)) 45%, #0E2240);
    --season-deep: hsl(from rgb(var(--season-rgb)) h 48% 35%);      /* same hue, deep enough for white text (gold stays gold) */
    --navy: #0E2240; --navy-2: #17325C; --gold: #C9A23A; --gold-soft: #F6EFD9; --stone: #F5F3EE;
    --paper: #FFFFFF; --ink: #16233A; --muted: #4E5B70; --title: var(--navy);
    --display: 'Source Serif 4', Georgia, serif; --sans: 'Source Sans 3', system-ui, sans-serif;
    --dw: 600; --dls: -.01em;
    --link: #1C4FA0; --link-hover: var(--navy); --focus: #1C4FA0; --alert: #B42318;
    --accent: var(--season-deep); --accent-ink: #fff; --wash: var(--stone); --line: #CDD3DD; --dot: #C8CED8; --rule: #DDE1E8;
    --progress: var(--gold);
    --img-radius: 6px; --img-shadow: 0 18px 40px -28px rgba(14, 34, 64, .6);
    --btn-bg: var(--navy); --btn-fg: #fff; --btn-bg-hover: var(--season-deep); --btn-fg-hover: #fff; --btn-radius: 4px;
    --bullet: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'><rect x='2' y='2' width='6' height='6' transform='rotate(45 5 5)'/></svg>");
}
/* =====================================================================
   Layout shared by the three styles. Colours, type and ornament come from
   each style's variables (top of this file) - the rules below only use them.
   ===================================================================== */

/* ---------- base ---------- */
html { scroll-behavior: smooth; }
body {
    margin: 0; background: var(--paper); color: var(--ink);
    font-family: var(--sans); font-weight: 400; font-size: 17px; line-height: 1.75;
    -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
html.t-menu-open body { overflow: hidden; }
img { max-width: 100%; height: auto; }
a { color: var(--link); text-decoration: none; transition: color .25s; }
.t-main { overflow-wrap: break-word; }
.t-main a { overflow-wrap: anywhere; }
a:hover { color: var(--link-hover); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
strong, b { font-weight: 600; }
p { margin: 0 0 1.05em; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.22; margin: 0 0 .55em; }
h1 { font-family: var(--display); font-weight: var(--dw); font-size: clamp(1.9rem, 3.6vw, 2.7rem); letter-spacing: var(--dls, 0); }
h2 { font-family: var(--sans); font-weight: 600; font-size: clamp(1.2rem, 2vw, 1.5rem); }
h3 { font-family: var(--sans); font-weight: 600; font-size: clamp(1.08rem, 1.6vw, 1.28rem); }
ul, ol { padding-left: 1.3em; }
li { margin-bottom: .35em; }
li::marker { color: var(--accent); }
marquee { color: var(--alert); font-weight: 600; }
.t-skip { position: absolute; left: -999px; }

/* ---------- reading progress ---------- */
.t-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; pointer-events: none; }
.t-progress span { display: block; height: 100%; background: var(--progress); transform: scaleX(0); transform-origin: 0 50%; }

/* ---------- menu ---------- */
.t-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.t-nav__item { position: relative; margin: 0; }
.t-nav__link { display: block; padding: 10px 15px; font-size: .98rem; transition: color .25s, background-color .25s; }
.t-sub {
    list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 6px); left: 0; min-width: 240px; z-index: 5;
    opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .3s ease, transform .3s ease, visibility .3s;
}
.t-nav__item.has-sub:hover > .t-sub, .t-nav__item.has-sub:focus-within > .t-sub { opacity: 1; visibility: visible; transform: none; }
.t-sub li { margin: 0; }
.t-sub a { display: block; padding: 8px 12px; font-size: .95rem; }
.t-burger { display: none; }
@media (max-width: 991px) {
    .t-burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 6px; width: 46px; height: 46px; padding: 11px; border: 0; cursor: pointer; z-index: 60; position: relative; }
    .t-burger span { display: block; height: 2px; border-radius: 2px; transition: transform .35s ease, opacity .25s; }
    .t-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .t-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .t-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    .t-nav { position: fixed; inset: 0; z-index: 55; padding: 96px 28px 40px; overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility .4s; }
    .t-nav.is-open { opacity: 1; visibility: visible; }
    .t-nav__list { flex-direction: column; }
    .t-nav__link { font-size: 1.45rem; padding: 8px 0; }
    .t-sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 8px 16px; min-width: 0; background: none; }
    .t-sub a { padding: 5px 0; font-size: 1.02rem; }
    .t-brand { position: relative; z-index: 60; }
}

/* ---------- Owl: until the script runs, show the first picture / the starting slide only ---------- */
.t-owl:not(.owl-loaded) > :not(:first-child) { display: none; }
.t-banner__owl:not(.owl-loaded) > :not(.is-start) { display: none; }
.owl-carousel .animated { animation-duration: 1.1s; animation-fill-mode: both; }
.owl-carousel .owl-animated-in { z-index: 0; }
.owl-carousel .owl-animated-out { z-index: 1; }
.owl-carousel .fadeOut { animation-name: fadeOut; }
@keyframes fadeOut { 0% { opacity: 1; } 100% { opacity: 0; } }

/* ---------- page title ---------- */
.t-main { position: relative; z-index: 3; }
.page_title, .centered-text h1, .contact_taital {
    font-family: var(--display); font-weight: var(--dw); letter-spacing: var(--dls, 0);
    font-size: clamp(2.1rem, 5vw, 3.8rem) !important; line-height: 1.1; text-align: center; text-wrap: balance; color: var(--title, var(--ink));
}
.t-main > :first-child h2 { font-family: var(--sans); font-weight: 400; font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 46rem; margin: 0 auto .5em; line-height: 1.75; }
.centered-text { text-align: center; padding: 0 16px; }
.church_title { font-family: var(--display); font-weight: var(--dw); text-align: center; font-size: clamp(1.7rem, 3.4vw, 2.5rem); }

/* ---------- sections ---------- */
.layout_padding { padding-top: 60px; padding-bottom: 60px; }
.container-fluid { padding-left: 20px; padding-right: 20px; }
.about_section .container, .contact_section .container { max-width: 1040px; }
.about_section .container > h2, .about_section .container > ul, .about_section .container > ol { max-width: 72ch; margin-left: auto; margin-right: auto; }
.about_section .container.u-ta-left > h2 { margin-top: 1.5em; }
.about_content { max-width: 1180px; margin: 0 auto; align-items: center; }
.about_text_container { padding: 10px 28px; }
.about_text { margin-bottom: 1rem; }
.about_text .u-fs-22pt { font-family: var(--display); font-weight: var(--dw); font-size: clamp(1.5rem, 2.6vw, 2.1rem) !important; line-height: 1.2; }
.about_text_container p { max-width: 62ch; }
.about_image_container { padding: 20px 36px; text-align: center; }
.about_img, .about_image_container img, .sakrament_image img, .owl-carousel .carousel-image img, .item .about_img, .contact_section img, .kimjestesmy_image img, #pdf-render {
    border-radius: var(--img-radius); box-shadow: var(--img-shadow);
}
.about_taital_main { margin: 0 auto; }
.about_taital, .services_taital, .contact_taital { font-family: var(--display); font-weight: var(--dw); text-align: center; font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: var(--dls, 0); }
.about_taital a { color: var(--ink); }
.about_taital a:hover { color: var(--link-hover); }
.services_section { text-align: center; }
.services_section h2 { font-size: 1.05rem; max-width: 760px; margin: 0 auto 1.4rem; }
.services_section_2 .row { justify-content: center; max-width: 900px; margin: 0 auto; }

/* ---------- buttons ---------- */
.btn_main, .btn_main_about, .read_bt { margin: 18px 0 8px; }
.btn_main a, .btn_main_about a, .read_bt a, .t-btn {
    display: inline-block; padding: .75em 1.6em; background: var(--btn-bg); color: var(--btn-fg); font-family: var(--sans); font-weight: 600; font-size: .98rem;
    border-radius: var(--btn-radius); border: var(--btn-border, 0); transition: background-color .3s, color .3s, transform .3s, box-shadow .3s;
}
.btn_main a:hover, .btn_main_about a:hover, .read_bt a:hover, .t-btn:hover { background: var(--btn-bg-hover); color: var(--btn-fg-hover); transform: translateY(-2px); }
.services_section_2 .btn_main a { min-width: 210px; }
.btn_container { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 1.5rem; }

/* ---------- sacrament pages ---------- */
.sakramenty_container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.sakrament_content { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 60px; align-items: start; }
.sakrament_text { max-width: 70ch; overflow-wrap: break-word; }
.sakrament_image { position: sticky; top: 110px; text-align: center; padding: 0 16px 16px 0; }
.sakrament_image br { display: none; }
.sakrament_image img { width: 100%; }
.custom-list { list-style: none; padding-left: 0; }
.custom-list li { position: relative; padding-left: 1.6em; }
.custom-list li::before { content: ""; position: absolute; left: 0; top: .42em; width: 14px; height: 14px; background: var(--accent); -webkit-mask: var(--bullet) center / contain no-repeat; mask: var(--bullet) center / contain no-repeat; }
.custom-list .custom-list { margin-top: .4em; }

/* sacraments overview carousel (its own Owl, set up by js/carousel-setup.js) */
.owl-carousel .carousel-content { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 52px; align-items: center; max-width: 1080px; margin: 0 auto; padding: 10px 36px 36px 28px; }
.owl-carousel .carousel-image img { width: 100%; }
.owl-carousel .carousel-text h3 { font-family: var(--display); font-weight: var(--dw); font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.owl-theme .owl-nav { margin-top: 10px; text-align: center; }
.owl-theme .owl-nav [class*=owl-] { background: var(--wash) !important; color: var(--ink) !important; font-size: 1.6rem !important; width: 44px; height: 44px; line-height: 40px !important; border-radius: 50% !important; }
.owl-theme .owl-nav [class*=owl-]:hover { background: var(--accent) !important; color: var(--accent-ink) !important; }
.owl-theme .owl-dots .owl-dot span { background: var(--dot); }
.owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span { background: var(--accent); }

/* "Kim jesteśmy" photos */
.kimjestesmy_item { padding: 12px 18px 26px; }
.kimjestesmy_image img { width: 100%; height: 300px; object-fit: cover; }

/* churches */
.item .row { align-items: center; margin-top: 28px; margin-bottom: 28px; }
.item .about_img { width: calc(100% - 16px); max-height: 520px; object-fit: cover; margin: 12px 0; }
.item h3 { font-size: 1.2rem; }
.map_section { text-align: center; padding: 20px 20px 50px; }
.map_section iframe { max-width: 100%; border-radius: var(--img-radius); box-shadow: var(--img-shadow); }
#cleaning-marquee { margin-top: .6rem; }

/* contact */
.contact_section h1 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); max-width: 34ch; margin-left: auto; margin-right: auto; }
.contact_section h1 strong { font-weight: inherit; }
.contact_section h2 { font-size: 1.15rem; }
.contact_section h2, .contact_section h1 { text-align: center; }

/* readings */
.blog_section .about_taital { margin-bottom: 1rem; }
#datepicker { margin: 10px auto 26px; padding: .55em 1em; border: 2px solid var(--line); border-radius: var(--btn-radius); background: #fff; text-align: center; font-family: var(--sans); color: #222; }
#additionalContent1, #additionalContent2 { text-align: center; color: var(--ink) !important; font-family: var(--display); font-weight: var(--dw) !important; }
#websiteContent { max-width: 72ch; margin: 1.5rem auto 0; color: var(--ink) !important; }

/* bulletins viewer */
#pdf-dropdown { border: 2px solid var(--line); border-radius: var(--btn-radius); background: #fff; font-family: var(--sans); color: #222; padding: .3em .6em; }
#pdf-render { max-width: 100%; background: #fff; }
#page-info { margin-top: 12px; color: var(--muted); }
#prev-page, #next-page { margin: 6px; padding: .6em 1.3em; background: var(--btn-bg); color: var(--btn-fg); border: var(--btn-border, 0); border-radius: var(--btn-radius); font-weight: 600; cursor: pointer; transition: background-color .3s; }
#prev-page:hover, #next-page:hover { background: var(--btn-bg-hover); color: var(--btn-fg-hover); }
.favicon { width: 20px; height: 20px; vertical-align: -4px; margin-right: 6px; border-radius: 4px; }

/* ---------- banner (slides fade into each other) ---------- */
.t-banner { position: relative; text-align: center; }
.t-banner__owl { max-width: 820px; margin: 0 auto; }
.t-banner__item { padding: 10px 10px 30px; }
.t-banner .banner_taital { font-family: var(--display); font-weight: var(--dw); font-size: clamp(2rem, 4.4vw, 3.2rem); margin-bottom: .35em; letter-spacing: var(--dls, 0); }
.t-banner .banner_text { max-width: 62ch; margin: 0 auto 1.2em; }
.t-banner .owl-dots { margin-top: 4px; }
.t-banner .owl-dots .owl-dot span { width: 9px; height: 9px; margin: 4px 6px; }

/* ---------- symbols between sections ---------- */
.t-div { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 10px auto; max-width: 520px; padding: 0 20px; }
.t-div::before, .t-div::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
.t-div__icon { display: inline-flex; color: var(--accent); }
.t-div__icon svg, .t-div__icon img { width: 44px; height: 44px; display: block; }

/* ---------- footer ---------- */
.t-contact { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 40px; }
.t-contact li { display: flex; align-items: center; gap: 12px; margin: 0; }
.t-contact img { height: 22px; width: auto; }
.t-contact a { font-weight: 500; font-size: 1.08rem; }
.t-social img { height: 32px; }
.copyright_section { padding: 18px 20px; text-align: center; }
.copyright_text { margin: 0; font-size: .85rem; }

/* ---------- gentle fade-in (only when the script runs) ---------- */
.t-reveal { opacity: 0; transform: translateY(18px); transition: opacity 1.1s ease, transform 1.1s cubic-bezier(.2, .7, .2, 1); }
.t-reveal.t-in { opacity: 1; transform: none; }

/* ---------- small screens ---------- */
@media (max-width: 991px) {
    .sakrament_content, .owl-carousel .carousel-content { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .sakrament_image { position: static; max-width: 460px; margin: 0 auto; }
}
@media (max-width: 575px) {
    body { font-size: 16px; }
    .layout_padding { padding-top: 42px; padding-bottom: 42px; }
    .about_text_container, .about_image_container { padding: 8px 12px 18px; }
    .t-contact { flex-direction: column; gap: 14px; }
    .owl-carousel .carousel-content { padding: 10px 12px 30px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
/* ===================== this style ===================== */

body { font-size: 18px; line-height: 1.7; }
h1, h2, h3, h4 { color: var(--navy); }
h2, h3 { font-family: var(--display); font-weight: 600; }
.u-fw-bold, b, strong { font-weight: 700; }

/* ---------- season line and menu bar ---------- */
.t-stripe { height: 6px; background: var(--season-deep); }
.t-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--rule); transition: box-shadow .3s; }
.t-header.is-scrolled { box-shadow: 0 8px 24px -18px rgba(14, 34, 64, .5); }
.t-header__inner { max-width: 1180px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.t-brand img { height: 58px; width: auto; display: block; border-radius: 4px; }
.t-nav__link { color: var(--navy); font-weight: 600; font-size: 1.02rem; padding: 10px 16px; position: relative; }
.t-nav__link::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .3s; }
.t-nav__link:hover { color: var(--navy); }
.t-nav__link:hover::after, .t-nav__item.is-current > .t-nav__link::after { transform: none; }
.t-sub { background: #fff; border: 1px solid var(--rule); border-top: 3px solid var(--gold); border-radius: 0 0 6px 6px; box-shadow: 0 24px 48px -28px rgba(14, 34, 64, .5); }
.t-sub a { color: var(--ink); }
.t-sub a:hover, .t-sub a[aria-current] { background: var(--stone); color: var(--navy); }
.t-progress { position: absolute; }
@media (max-width: 991px) {
    .t-sub { background: none; border: 0; box-shadow: none; }
    .t-burger { background: var(--navy); border-radius: 4px; }
    .t-burger span { background: #fff; }
    .t-nav { background: #fff; }
    .t-nav__link { font-family: var(--display); font-size: 1.7rem; padding: 6px 0; }
    .t-nav__link::after { display: none; }
    .t-nav__item.is-current > .t-nav__link { color: var(--season-deep); }
    .t-sub a { color: var(--muted); }
}

/* ---------- the parish banner in a band of the season's colour ---------- */
.t-hero { position: relative; padding: 34px 16px; overflow: hidden; background: var(--navy); }
.t-hero::before { content: ""; position: absolute; inset: -20px; background: url(../images/misja/baner-tlo.webp) center / cover; opacity: .55; }
.t-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--season-deep) 62%, transparent), color-mix(in srgb, var(--season-deep) 88%, transparent)); }
.t-hero__frame { position: relative; z-index: 1; max-width: 1120px; margin: 0 auto; padding: 6px; background: #fff; border-radius: 6px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.t-hero__frame img { display: block; width: 100%; height: auto; border-radius: 3px; }

/* ---------- page ---------- */
.t-main > :first-child { padding-top: 54px; }
.page_title, .centered-text h1, .contact_taital { color: var(--navy); font-size: clamp(2.1rem, 4.6vw, 3.4rem) !important; }
.page_title::after, .centered-text h1::after { content: ""; display: block; width: 72px; height: 3px; background: var(--gold); margin: 20px auto 0; }
.about_taital, .services_taital, .church_title { color: var(--navy); }
.about_taital a { color: var(--navy); }

/* ---------- quiet bands ---------- */
.services_section { background: var(--stone); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.blog_section { background: var(--gold-soft); border-top: 1px solid #EADFBF; border-bottom: 1px solid #EADFBF; }
.services_section marquee { color: var(--alert) !important; }
.sakrament_section:nth-of-type(even) { background: var(--stone); }
.services_section_2 .btn_main a { background: #fff; color: var(--navy); border: 1px solid var(--line); }
.services_section_2 .btn_main a:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- small cross between the sections ---------- */
.t-div { margin: 26px auto; max-width: 360px; }
.t-div__icon { color: var(--gold); }
.t-div__icon svg { width: 16px; height: 22px; fill: currentColor; }

/* ---------- banner: navy with the gold of the windows ---------- */
.t-banner { margin-top: 30px; padding: 74px 20px 58px; color: #fff; overflow: hidden; background: var(--navy); border-top: 4px solid var(--gold); }
.t-banner::before { content: ""; position: absolute; inset: -20px; background: url(../images/misja/baner-tlo.webp) center / cover; opacity: .25; }
.t-banner__frame { position: relative; }
.t-banner .banner_taital { color: #fff; }
.t-banner .banner_text { color: #DCE3EF; }
.t-banner .t-btn { background: var(--gold); color: var(--navy); }
.t-banner .t-btn:hover { background: #fff; color: var(--navy); }
.t-banner .owl-dots .owl-dot span { background: rgba(255, 255, 255, .3); }
.t-banner.t-banner .owl-dots .owl-dot.active span { background: var(--gold); }
.t-banner--compact { padding-top: 56px; padding-bottom: 42px; }

/* ---------- footer ---------- */
.t-footer { background: #0A1A33; color: #C4CDDC; }
.t-banner + .t-footer, main:has(> .t-banner:last-child) + .t-footer { border-top: 1px solid rgba(255, 255, 255, .08); }
.t-footer__inner { padding: 44px 20px 32px; text-align: center; }
.t-footer__brand img { height: 64px; width: auto; border-radius: 4px; margin-bottom: 24px; }
.t-contact a { color: #fff; }
.t-contact a:hover { color: var(--gold); }
.copyright_section { border-top: 1px solid rgba(255, 255, 255, .1); }
.copyright_text { color: #8C99AF; }
.copyright_text a { color: #fff; }

@media (max-width: 767px) {
    .t-hero { padding: 16px 10px; }
    .t-hero__frame { padding: 3px; }
}
@media (max-width: 575px) {
    body { font-size: 17px; }
    .t-header__inner { padding: 10px 14px; }
    .t-brand img { height: 48px; }
    .t-main > :first-child { padding-top: 38px; }
    .t-banner { padding: 56px 16px 44px; }
}

/* ---------- small layout helpers kept from the original pages (fonts and colours come from this style) ---------- */
.u-bg-white { background: white !important; }
.u-br-12px { border-radius: 12px !important; }
.u-bs-solid { border-style: solid !important; }
.u-bw-5px { border-width: 5px !important; }
.u-c-blue { color: var(--link, inherit) !important; }
.u-d-flex { display: flex !important; }
.u-d-inline-block { display: inline-block !important; }
.u-float-left { float: left !important; }
.u-float-right { float: right !important; }
.u-fs-20px { font-size: 1.15rem !important; }
.u-fs-22pt { font-size: 1.6rem !important; }
.u-fs-22px { font-size: 1.3rem !important; }
.u-fs-25px { font-size: 1.45rem !important; }
.u-fs-30px { font-size: 1.6rem !important; }
.u-fs-35px { font-size: clamp(1.7rem, 3.4vw, 2.3rem) !important; }
.u-fw-600 { font-weight: 600 !important; }
.u-fw-bold { font-weight: bold !important; }
.u-h-25px { height: 25px !important; }
.u-h-291px { height: 291px !important; }
.u-h-500px { height: 500px !important; }
.u-h-600px { height: 600px !important; }
.u-h-auto { height: auto !important; }
.u-hr-thick { height: 1px !important; border-width: 0 !important; }
.u-jc-center { justify-content: center !important; }
.u-m-0-auto { margin: 0 auto !important; }
.u-mb-66px { margin-bottom: 0 !important; }
.u-ml-11px { margin-left: 11px !important; }
.u-ml-3px { margin-left: 3px !important; }
.u-mr-11px { margin-right: 11px !important; }
.u-mr-3px { margin-right: 3px !important; }
.u-mt-auto { margin-top: 0 !important; }
.u-mw-100pc { max-width: 100% !important; }
.u-mw-680px { max-width: 680px !important; }
.u-mw-900px { max-width: 900px !important; }
.u-ox-auto { overflow-x: auto !important; }
.u-p-10px { padding: 10px !important; }
.u-pb-10px { padding-bottom: 10px !important; }
.u-pb-20px { padding-bottom: 20px !important; }
.u-pb-5px { padding-bottom: 5px !important; }
.u-pl-60px { padding-left: 60px !important; }
.u-pr-10px { padding-right: 10px !important; }
.u-pt-10px { padding-top: 10px !important; }
.u-pt-20px { padding-top: 20px !important; }
.u-pt-5px { padding-top: 5px !important; }
.u-ta-center { text-align: center !important; }
.u-ta-justify { text-align: left !important; }
.u-ta-left { text-align: left !important; }
.u-ta-start { text-align: start !important; }
.u-td-none { text-decoration: none; }
.u-td-underline { text-decoration: underline; }
.u-va-middle { vertical-align: middle !important; }
.u-w-100pc { width: 100% !important; }
.u-w-25px { width: 25px !important; }
.u-w-287px { width: 287px !important; }
.u-w-354px { width: 354px !important; }


/* ===== 2026-10-24: footer as on the live site (port 80) - three crosses on the hill, contact below, copyright bar ===== */
.t-footer { background: #000 url(../images/footer-krzyze.webp) center top / 100% 100% no-repeat; color: #fff; }
.t-banner + .t-footer, main:has(> .t-banner:last-child) + .t-footer { border-top: 0; }
.t-footer__inner { padding: 250px 20px 30px; }
.t-footer .t-contact a { color: #fff; font-size: 16px; }
.t-footer .t-contact a:hover { color: #e27141; }
.t-footer .copyright_section { background: #122c2d; border-top: 0; }
.t-footer .copyright_text, .t-footer .copyright_text a { color: #fff; font-size: 16px; }
.t-footer .copyright_text a:hover { color: #e27141; }
@media (max-width: 991px) { .t-footer { background-size: cover; } .t-footer__inner { padding-top: 270px; } }
@media (max-width: 767px) { .t-footer__inner { padding: 230px 16px 50px; } }

/* ===== 2026-10-24: banner (slides) as in the "Światłość" version (port 8096) - lettering in candlelight ===== */
@font-face { font-family: 'Inter Display'; src: url(../fonts/interdisplay-extralight.woff) format('woff'); font-weight: 200; font-display: swap; }
.t-banner { margin: 40px 16px 0; padding: 80px 20px 60px; border-radius: 32px; border-top: 0; color: #fff; overflow: hidden; background: #0B1424 url(../images/swiatlo/swiece.webp) center 70% / cover; }
.t-banner::before { inset: 0; opacity: 1; background: linear-gradient(180deg, rgba(11, 20, 36, .78), rgba(11, 20, 36, .45) 60%, rgba(11, 20, 36, .2)); }
.t-banner .banner_taital { color: #fff; font-family: 'Inter Display', 'Source Sans 3', system-ui, sans-serif; font-weight: 200; letter-spacing: -.035em; font-size: clamp(2.4rem, 5vw, 3.8rem); }
.t-banner .banner_text { color: #E6ECF5; }
.t-banner .t-btn { background: #fff; color: #0F1B2D; border-radius: 999px; }
.t-banner .t-btn:hover { background: var(--season); color: #0F1B2D; }
.t-banner .owl-dots .owl-dot span { background: rgba(255, 255, 255, .35); }
.t-banner.t-banner .owl-dots .owl-dot.active span { background: #fff; }
.t-banner--compact { padding-top: 60px; padding-bottom: 44px; }
.t-banner + .t-footer, main:has(> .t-banner:last-child) + .t-footer { margin-top: 40px; }
@media (max-width: 575px) { .t-banner { margin: 30px 10px 0; border-radius: 24px; padding: 60px 16px 46px; } }

/* ===== 2026-10-24: menu as in the "Światłość" version (port 8096) - a floating, rounded bar ===== */
@font-face { font-family: 'Inter'; src: url(../fonts/inter-medium.woff) format('woff'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Inter Display'; src: url(../fonts/interdisplay-light.woff) format('woff'); font-weight: 300; font-display: swap; }
.t-header { position: fixed; top: 16px; left: 0; right: 0; z-index: 50; pointer-events: none; background: none; border: 0; box-shadow: none; }
.t-header.is-scrolled { box-shadow: none; }
.t-header__inner {
    pointer-events: auto; position: relative; max-width: 1080px; margin: 0 auto; padding: 8px 10px 8px 12px; display: flex; align-items: center; justify-content: space-between; gap: 18px;
    background: rgba(255, 255, 255, .72); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
    border: 1px solid rgba(255, 255, 255, .7); border-radius: 999px; box-shadow: 0 18px 40px -24px rgba(11, 20, 36, .55); transition: background-color .4s, box-shadow .4s;
}
.t-header.is-scrolled .t-header__inner { background: rgba(255, 255, 255, .9); }
.t-brand img { height: 46px; width: auto; display: block; border-radius: 999px; }
.t-progress { position: absolute; left: 30px; right: 30px; bottom: -1px; height: 2px; overflow: hidden; border-radius: 2px; }
.t-nav__link { color: #0F1B2D; font-family: 'Inter', 'Source Sans 3', system-ui, sans-serif; font-weight: 500; font-size: .96rem; border-radius: 999px; padding: 9px 16px; }
.t-nav__link::after { display: none; }
.t-nav__link:hover { background: rgba(15, 27, 45, .06); color: #0F1B2D; }
.t-nav__item.is-current > .t-nav__link { background: #0F1B2D; color: #fff; }
.t-sub { background: rgba(255, 255, 255, .95); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 0; border-radius: 18px; box-shadow: 0 30px 60px -28px rgba(11, 20, 36, .5); top: calc(100% + 12px); }
.t-sub a { color: #0F1B2D; border-radius: 10px; }
.t-sub a:hover, .t-sub a[aria-current] { background: #EEF3F9; color: #0F1B2D; }
.t-hero { padding-top: 104px; }
@media (max-width: 991px) {
    .t-sub { background: none; border: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
    html.t-menu-open .t-header__inner { backdrop-filter: none; -webkit-backdrop-filter: none; background: transparent; border-color: transparent; box-shadow: none; }
    .t-header { top: 10px; padding: 0 10px; }
    .t-burger { background: #0F1B2D; border-radius: 999px; }
    .t-burger span { background: #fff; }
    .t-nav { background: #fff; }
    .t-nav__link { font-family: 'Inter Display', 'Inter', system-ui, sans-serif; font-weight: 300; font-size: 1.8rem; padding: 6px 0; background: none !important; }
    .t-nav__item.is-current > .t-nav__link { color: var(--season-deep); background: none; }
    .t-sub a { color: var(--muted); }
}
@media (max-width: 767px) { .t-hero { padding-top: 84px; } }
@media (max-width: 575px) { .t-brand img { height: 42px; } .t-header__inner { padding: 6px 8px 6px 10px; } }

/* ===== 2026-10-24: colours follow the liturgical calendar everywhere (no fixed gold), sharp crosses in the footer,
   sub-menu items slide in from the right as on the live site (port 80) ===== */
:root {
    --gold: var(--season-deep);                                                       /* accents: lines, buttons, dots */
    --gold-soft: color-mix(in srgb, rgb(var(--season-rgb)) 26%, #FFFFFF);             /* "U stołu Słowa Bożego" band */
    --stone: color-mix(in srgb, rgb(var(--season-rgb)) 16%, #FFFFFF);                 /* other bands */
    --paper: color-mix(in srgb, rgb(var(--season-rgb)) 7%, #FFFFFF);                  /* page background */
    --progress: var(--season-deep);
}
body { background: var(--paper); }
.blog_section { border-top-color: color-mix(in srgb, rgb(var(--season-rgb)) 45%, #FFFFFF); border-bottom-color: color-mix(in srgb, rgb(var(--season-rgb)) 45%, #FFFFFF); }
.t-div__icon { color: var(--season-deep); }

/* footer: the picture is no longer squeezed - it is cropped to fit, the three crosses always in view */
.t-footer { background: #030303 url(../images/misja/stopka-krzyze.webp) center top / cover no-repeat; }
.t-footer .copyright_section { background: color-mix(in srgb, var(--season-deep) 55%, #050505); }
@media (max-width: 991px) { .t-footer { background-size: cover; background-position: center top; } }

/* sub-menu: items slide in one after another from the right */
@keyframes t-z-prawej { from { transform: translateX(100%); opacity: 0; } to { transform: none; opacity: 1; } }
@media (min-width: 992px) {
    .t-sub { overflow: hidden; }
    .t-nav__item.has-sub:hover > .t-sub li, .t-nav__item.has-sub:focus-within > .t-sub li { animation: t-z-prawej .5s ease-out both; }
    .t-sub li:nth-child(2) { animation-delay: .1s !important; }
    .t-sub li:nth-child(3) { animation-delay: .2s !important; }
    .t-sub li:nth-child(4) { animation-delay: .3s !important; }
    .t-sub li:nth-child(5) { animation-delay: .4s !important; }
    .t-sub li:nth-child(6) { animation-delay: .5s !important; }
    .t-sub li:nth-child(7) { animation-delay: .6s !important; }
}

/* footer, take 2: the whole picture from the live site with its dark wave on top, full width, in its own proportions
   (not squeezed, not cut) - the three crosses larger */
.t-footer { background: #030303 url(../images/footer-krzyze.webp) center top / 100% auto no-repeat; }
.t-footer__inner { padding-top: clamp(260px, 35vw, 680px); }
@media (max-width: 991px) { .t-footer { background-size: 150% auto; background-position: center top; } .t-footer__inner { padding-top: 46vw; } }
@media (max-width: 575px) { .t-footer { background-size: 190% auto; } .t-footer__inner { padding: 64vw 16px 40px; } }

/* footer, take 3: above the wave the page shows through (the picture is transparent there); dark only below it */
.t-footer {
    background: url(../images/footer-krzyze.webp) center top / 100% auto no-repeat,
                linear-gradient(#030303, #030303) center bottom / 100% 60% no-repeat;
}
.t-banner + .t-footer, main:has(> .t-banner:last-child) + .t-footer { margin-top: 24px; }
@media (max-width: 991px) { .t-footer { background-size: 150% auto, 100% 60%; } }
@media (max-width: 575px) { .t-footer { background-size: 190% auto, 100% 60%; } }

/* 2026-10-24: Jerusalem cross between the sections (from the "Jerozolima" version, port 8099) */
.t-div__icon svg { width: 30px; height: 30px; fill: currentColor; }

/* 2026-10-24: wider frame for the panoramic banner (baner-misja-3-panorama) */
.t-hero__frame { max-width: 1400px; }

/* Bierzmowanie: daty spotkań i informacje dla kandydatów */
.bierz-info { margin: 1.4em 0 1.6em; }
.bierz-info h3 { font-size: 1.15rem; font-weight: 700; margin: 1.2em 0 .45em; }
.bierz-info p { margin: 0 0 .8em; }
.bierz-daty { list-style: none; margin: 0 0 .6em; padding: 0; max-width: 300px; }
.bierz-daty li { display: flex; justify-content: space-between; padding: .4em 0; border-bottom: 1px solid rgba(0,0,0,.12); }
.bierz-daty li span { font-weight: 600; }
