/* Karczma „Pod Strzechą” – szablon strony
 * Treści modułów to zwykły HTML z edytora – style opierają się na strukturze
 * (np. akapit przed nagłówkiem = „eyebrow”, ostatni link = przycisk), bez klas.
 */

/* ---------- Fonty ---------- */
@font-face { font-family: "Source Serif 4"; font-weight: 500; font-display: swap; src: url(../fonts/source-serif-4-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, 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"; font-weight: 500; font-display: swap; src: url(../fonts/source-serif-4-latin-ext-500-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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"; font-weight: 600; font-display: swap; src: url(../fonts/source-serif-4-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, 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"; font-weight: 600; font-display: swap; src: url(../fonts/source-serif-4-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: "DM Sans"; font-weight: 400; font-display: swap; src: url(../fonts/dm-sans-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "DM Sans"; font-weight: 400; font-display: swap; src: url(../fonts/dm-sans-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: "DM Sans"; font-weight: 500; font-display: swap; src: url(../fonts/dm-sans-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "DM Sans"; font-weight: 500; font-display: swap; src: url(../fonts/dm-sans-latin-ext-500-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: "DM Sans"; font-weight: 600; font-display: swap; src: url(../fonts/dm-sans-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "DM Sans"; font-weight: 600; font-display: swap; src: url(../fonts/dm-sans-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- Tokeny ---------- */
:root {
	--cream: #f5efe7;
	--cream-2: #ede3d6;
	--paper: #fbf8f4;
	--line: #e4d8ca;
	--text: #2b211c;
	--muted: #6b5c52;
	--brown-950: #1f130e;
	--brown-900: #2e1d16;
	--brown-800: #45291f;
	--brown-700: #5c3a2c;
	--accent: #a26f57;
	--accent-soft: #c99a7c;
	--sand: #ead7c3;

	--serif: "Source Serif 4", Georgia, "Times New Roman", serif;
	--sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

	--container: 1240px;
	--gutter: clamp(16px, 4vw, 40px);
	--radius: 8px;
	--shadow: 0 1px 2px rgb(46 29 22 / 4%), 0 12px 32px -12px rgb(46 29 22 / 18%);
	--header-h: 84px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Baza ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--text); font: 400 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
.mod-custom { display: contents; } /* wrapper modułu „Własny HTML” nie bierze udziału w układzie */
a { color: var(--brown-800); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: -.01em; color: var(--brown-900); margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 1.6rem + 3.2vw, 4.25rem); }
h2 { font-size: clamp(2rem, 1.5rem + 1.8vw, 3rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--brown-800); color: #fff; padding: 10px 16px; border-radius: 99px; }
.skip-link:focus { left: 8px; }

/* Eyebrow: mały, rozstrzelony napis z kreską. W modułach = akapit tuż przed nagłówkiem h1/h2. */
.eyebrow,
:is(.hero__content, .section-head, .about, .gallery-strip, .reviews) p:has(+ :is(h1, h2)) {
	display: flex; align-items: center; gap: 14px; margin: 0 0 1.1em;
	font: 500 .72rem/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::after,
:is(.hero__content, .section-head, .about, .gallery-strip, .reviews) p:has(+ :is(h1, h2))::after { content: ""; width: 36px; height: 1px; background: currentColor; opacity: .6; }

/* ---------- Przyciski ---------- */
.btn,
:is(.hero__content, .about__text) p:last-child a {
	display: inline-flex; align-items: center; gap: 14px; padding: 13px 22px 13px 26px;
	border-radius: 999px; border: 0; cursor: pointer; text-decoration: none;
	font: 500 .95rem/1 var(--sans); background: var(--brown-800); color: #fff;
	transition: background .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
:is(.hero__content, .about__text) p:last-child a::after {
	content: ""; width: 18px; height: 18px; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform .25s var(--ease);
}
.btn:hover, :is(.hero__content, .about__text) p:last-child a:hover { background: var(--brown-900); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgb(46 29 22 / 60%); }
:is(.hero__content, .about__text) p:last-child a:hover::after, .btn:hover .icon-arrow { transform: translateX(3px); }
.btn .icon { transition: transform .25s var(--ease); }
.btn--light { background: var(--sand); color: var(--brown-900); }
.btn--light:hover { background: #fff; color: var(--brown-900); }
.btn--small { padding: 10px 18px; font-size: .85rem; }

/* Okrągła strzałka (karty oferty, galeria) */
.circle-link,
.card p:last-child a {
	display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%;
	background: var(--accent); color: #fff; font-size: 0; text-decoration: none;
	transition: background .25s var(--ease), transform .25s var(--ease);
}
.circle-link::before,
.card p:last-child a::before {
	content: ""; width: 18px; height: 18px; background: #fff;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.circle-link--dark { background: var(--brown-800); }

/* ---------- Nagłówek ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50; height: var(--header-h);
	border-bottom: 1px solid rgb(228 216 202 / 70%); transition: box-shadow .3s var(--ease);
}
/* Rozmyte tło na osobnej warstwie: backdrop-filter na samym nagłówku zamykałby w nim
   menu mobilne (position: fixed liczone względem nagłówka zamiast ekranu). */
.site-header::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: rgb(251 248 244 / 92%); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
}
.site-header.is-scrolled { box-shadow: 0 8px 30px -18px rgb(46 29 22 / 45%); }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.site-logo img { height: 64px; width: auto; }
.site-nav { margin-left: auto; margin-right: auto; }
.site-nav__cta-mobile { display: none; }
.menu, .menu__sub { list-style: none; margin: 0; padding: 0; }
.menu { display: flex; align-items: center; gap: 6px; }
.menu__item { position: relative; display: flex; align-items: center; }
.menu__link {
	position: relative; display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px;
	font: 500 .95rem/1 var(--sans); color: var(--text); text-decoration: none; background: none; border: 0; cursor: pointer;
}
.menu__link .icon { width: 14px; height: 14px; transition: transform .2s; }
.menu__item--level1 > .menu__link::after {
	content: ""; position: absolute; left: 14px; right: 14px; bottom: -2px; height: 1.5px; background: var(--brown-800);
	transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.menu__item--level1:hover > .menu__link::after,
.menu__item--level1.is-active > .menu__link::after { transform: scaleX(1); }
.menu__caret { display: none; }
.menu__sub {
	position: absolute; top: calc(100% + 10px); left: 0; min-width: 250px; padding: 10px;
	background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s var(--ease);
}
.menu__sub::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.menu__item:hover > .menu__sub, .menu__item:focus-within > .menu__sub, .menu__item.is-open > .menu__sub { opacity: 1; visibility: visible; transform: none; }
.menu__item:hover > .menu__toggle .icon, .menu__item.is-open > .menu__toggle .icon { transform: rotate(180deg); }
.menu__sub .menu__item { display: block; }
.menu__sub .menu__link { display: block; padding: 10px 12px; border-radius: 6px; font-size: .92rem; }
.menu__sub .menu__link:hover, .menu__sub .is-active > .menu__link { background: var(--cream); color: var(--brown-800); }
.menu__sub .menu__sub { position: static; opacity: 1; visibility: inherit; transform: none; box-shadow: none; border: 0; padding: 0 0 4px 12px; background: none; min-width: 0; }
.menu__sub .menu__sub .menu__link { font-size: .87rem; padding: 7px 12px; color: var(--muted); }
.menu__sub .menu__caret { display: none; }
.nav-toggle { display: none; }

/* ---------- Hero (strona główna) ---------- */
.hero {
	/* Film ma proporcje 3,2:1 – wysokość ~44vw ogranicza powiększanie (ostrzejszy obraz) */
	position: relative; min-height: clamp(560px, 44vw, 700px); display: flex; isolation: isolate; overflow: hidden;
	background: var(--cream) var(--hero-img) right center / cover no-repeat;
}
.hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background:
		linear-gradient(90deg, rgb(245 239 231 / 97%) 0%, rgb(245 239 231 / 88%) 28%, rgb(245 239 231 / 35%) 48%, rgb(245 239 231 / 0%) 62%),
		linear-gradient(0deg, rgb(245 239 231 / 85%) 0%, rgb(245 239 231 / 0%) 22%);
}
.hero__video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 65% center; opacity: 0; transition: opacity 1.2s var(--ease); }
.hero__video.is-playing { opacity: 1; }
.hero__inner { display: flex; flex-direction: column; justify-content: center; padding-block: 64px 40px; position: relative; }
.hero__content { max-width: 640px; }
.hero__content h1 { font-size: clamp(2.4rem, 1.5rem + 3vw, 4rem); }
.hero__content h1 { margin-bottom: .45em; }
.hero__content p:not(:first-child):not(:last-child) { font-size: 1.08rem; color: #3d302a; max-width: 29em; }
.hero__content p:last-child { margin: 1.8em 0 0; }
.scroll-hint {
	position: absolute; left: var(--gutter); bottom: 40px; display: flex; align-items: center; gap: 16px;
	font: 500 .7rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--muted); text-decoration: none;
}
.scroll-hint__mouse { width: 20px; height: 32px; border: 1.5px solid currentColor; border-radius: 12px; position: relative; }
.scroll-hint__mouse::after { content: ""; position: absolute; left: 50%; top: 6px; width: 2px; height: 6px; margin-left: -1px; border-radius: 2px; background: currentColor; animation: scroll-dot 1.8s infinite; }
@keyframes scroll-dot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(10px); } }

/* ---------- Sekcje ---------- */
.section { padding-block: clamp(64px, 8vw, 110px); }
.section-head { margin-bottom: clamp(32px, 4vw, 52px); max-width: 720px; }
.section-head h2 { margin: 0; }
.section-head--split { max-width: none; display: grid; grid-template-columns: 1fr minmax(0, 380px); gap: 16px 60px; align-items: end; }
.section-head--split p:has(+ h2) { grid-column: 1 / -1; margin-bottom: -4px; }
.section-head--split h2 { grid-column: 1; }
.section-head--split h2 + p { grid-column: 2; margin: 0; color: var(--muted); font-size: .98rem; }

/* Karty oferty */
.offer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.offer-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
	position: relative; display: flex; flex-direction: column; background: var(--paper); border-radius: var(--radius);
	box-shadow: var(--shadow); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgb(46 29 22 / 5%), 0 24px 44px -18px rgb(46 29 22 / 32%); }
.card img, .card p:has(> img:only-child) img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .7s var(--ease); }
.offer-grid--3 .card img { aspect-ratio: 3 / 2; }
.card p:has(> img:only-child) { margin: 0; overflow: hidden; }
.card:hover img { transform: scale(1.04); }
.card :is(h3, p:not(:has(> img:only-child))) { padding-inline: 24px; }
.card h3 { margin: 24px 0 12px; font-size: 1.45rem; }
.card p { color: var(--muted); font-size: .94rem; line-height: 1.6; }
.card p:last-child { margin: auto 0 0; padding-top: 8px; padding-bottom: 26px; }
.card p:last-child a::after { content: ""; position: absolute; inset: 0; } /* cała karta klikalna */
/* Przesuwamy tylko ikonkę: transform na samym linku zmniejszyłby jego warstwę ::after (klik w całą kartę) do kółka */
.card:hover p:last-child a { background: var(--brown-800); }
.card p:last-child a::before { transition: transform .25s var(--ease); }
.card:hover p:last-child a::before { transform: translateX(3px); }

/* O nas */
.about { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 560px; background: var(--cream-2); overflow: hidden; isolation: isolate; }
.about > .moduletable, .about > div { display: contents; }
.about img, .about p:has(> img:only-child) {
	grid-column: 2; grid-row: 1; width: 100%; height: 100%; margin: 0; object-fit: cover;
}
.about p:has(> img:only-child) { position: relative; }
.about::after {
	content: ""; grid-column: 2; grid-row: 1; z-index: 1; pointer-events: none;
	background: linear-gradient(90deg, var(--cream-2) 0%, rgb(237 227 214 / 55%) 14%, rgb(237 227 214 / 0%) 38%);
}
.about__text { grid-column: 1; grid-row: 1; align-self: center; padding: clamp(56px, 7vw, 96px) clamp(24px, 4vw, 64px) clamp(56px, 7vw, 96px) max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); }
.about__text p { color: #4a3b33; }
.about__text p:last-child { margin: 1.8em 0 0; }

/* Galeria – pasek przewijany */
.gallery-strip .gallery-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.gallery-strip .gallery-head h2 { margin: 0; }
.gallery-strip .gallery-more { display: inline-flex; align-items: center; gap: 14px; font-weight: 500; color: var(--brown-900); text-decoration: underline; text-underline-offset: 5px; }
.gallery-strip .gallery-more .circle-link { width: 38px; height: 38px; }
.gallery-track {
	display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 23%, 300px); gap: 14px; overflow-x: auto;
	scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0; padding-bottom: 4px;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track a, .gallery-track img { scroll-snap-align: start; }
.gallery-track img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 6px; transition: transform .5s var(--ease), filter .3s; }
.gallery-track a { display: block; overflow: hidden; border-radius: 6px; }
.gallery-track a:hover img { transform: scale(1.05); filter: brightness(1.05); }
.gallery-wrap { position: relative; }
.gallery-nav { position: absolute; top: 50%; translate: 0 -50%; width: 46px; height: 46px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; background: rgb(251 248 244 / 92%); color: var(--brown-900); box-shadow: var(--shadow); transition: opacity .2s, transform .2s; }
.gallery-nav:hover { transform: scale(1.06); }
.gallery-nav[disabled] { opacity: 0; pointer-events: none; }
.gallery-nav--prev { left: -18px; }
.gallery-nav--next { right: -18px; }

/* Opinie */
.reviews { padding-top: 0; }
.reviews-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, calc((100% - 40px) / 3)); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 4px 12px; margin: 0 -4px; }
.reviews-track::-webkit-scrollbar { display: none; }
.reviews blockquote { scroll-snap-align: start; margin: 0; padding: 28px 28px 24px; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.reviews blockquote::before { content: "★★★★★"; letter-spacing: 3px; color: #c58b3e; font-size: .9rem; margin-bottom: 12px; }
.reviews blockquote p { font-family: var(--serif); font-size: 1.08rem; line-height: 1.55; color: var(--text); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 7; overflow: hidden; }
.reviews blockquote p:last-child { margin: auto 0 0; padding-top: 10px; font: 500 .85rem/1.3 var(--sans); color: var(--muted); display: block; }

/* ---------- Sekcja kontaktu ---------- */
.contact-band { position: relative; isolation: isolate; color: #eadfd3; padding-block: clamp(64px, 7vw, 96px); background: var(--brown-900) var(--contact-img) center / cover no-repeat; }
.contact-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(31 19 14 / 94%) 0%, rgb(31 19 14 / 86%) 50%, rgb(31 19 14 / 72%) 100%); }
.contact-band__grid { display: grid; grid-template-columns: 1fr 1.25fr .95fr; gap: 48px; align-items: center; }
.contact-band h2 { color: #fbf3ea; font-size: clamp(2rem, 1.5rem + 1.6vw, 2.8rem); }
.contact-band .eyebrow { color: var(--accent-soft); }
.contact-band__intro p { color: #d6c7b8; max-width: 26em; }
.contact-band__intro .btn { margin-top: 12px; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; font-size: .95rem; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list strong { color: #fbf3ea; font-weight: 500; }
.contact-list a { color: #eadfd3; text-decoration: none; }
.contact-list a:hover { color: #fff; text-decoration: underline; }
.contact-list__icon { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); color: var(--brown-800); }
.contact-list .hours { display: grid; gap: 10px; }
.contact-list .hours p { margin: 0; line-height: 1.55; }
.map-card { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: #eee6da; box-shadow: 0 20px 40px -20px rgb(0 0 0 / 60%); }
.map-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-card__placeholder {
	position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; color: var(--brown-900); padding: 20px;
	background:
		radial-gradient(circle at 58% 46%, rgb(162 111 87 / 18%) 0 60px, transparent 61px),
		repeating-linear-gradient(28deg, transparent 0 46px, rgb(255 255 255 / 70%) 46px 49px),
		repeating-linear-gradient(-62deg, transparent 0 70px, rgb(255 255 255 / 55%) 70px 72px),
		linear-gradient(160deg, #efe8dd, #e2d8c9);
}
.map-card__pin { color: #b3412f; }
.map-card__pin .icon { width: 36px; height: 36px; fill: #c8513c; stroke: #8c2d20; }
.map-card__placeholder strong { font-family: var(--serif); font-size: 1.2rem; }
.map-card__placeholder span { font-size: .85rem; color: var(--muted); }
.map-card__placeholder .btn { margin-top: 10px; }
.map-card__link { font-size: .82rem; color: var(--brown-800); margin-top: 4px; }

/* ---------- Stopka ---------- */
.site-footer { background: var(--brown-950); color: #b9a99a; font-size: .9rem; }
.site-footer a { color: #d9cabb; text-decoration: none; }
.site-footer a:hover { color: #fff; }
/* logo | menu (środek) | social – kolumny boczne równej szerokości, więc menu jest dokładnie na środku */
.site-footer__grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px; padding-block: 36px; }
.site-footer__logo { justify-self: start; }
.site-footer__social { justify-self: end; }
.site-footer__logo img { height: 64px; width: auto; filter: brightness(0) invert(.88) sepia(.25); }
.site-footer__nav { display: flex; gap: 8px 28px; flex-wrap: wrap; justify-content: center; }
.site-footer__social { display: flex; gap: 10px; }
.site-footer__social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgb(255 255 255 / 16%); }
.site-footer__social .icon { width: 20px; height: 20px; }
.site-footer__social a:hover { background: rgb(255 255 255 / 8%); }
.site-footer__bottom { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 12px 32px; padding-block: 22px 26px; flex-wrap: wrap; font-size: .82rem; }
.site-footer__bottom::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: rgb(255 255 255 / 10%); } /* linia równo z treścią, bez paddingu kontenera */
.site-footer__bottom p { margin: 0; }

/* ---------- Podstrony ---------- */
.page-hero {
	position: relative; isolation: isolate; padding-block: clamp(80px, 11vw, 150px) clamp(36px, 4vw, 56px); color: #fff;
	background: var(--brown-900) var(--page-img) center / cover no-repeat;
}
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgb(31 19 14 / 85%) 0%, rgb(31 19 14 / 45%) 55%, rgb(31 19 14 / 30%) 100%); }
.page-hero__title { color: #fbf3ea; margin: 0; max-width: 18em; font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.6rem); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; color: #e3d3c3; }
.breadcrumbs a { color: #e3d3c3; text-decoration: none; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs__sep { opacity: .5; }
.page-body { padding-block: clamp(48px, 6vw, 84px); max-width: 1000px; }
.page-bottom { padding-top: 0; }
.page-bottom .container { max-width: 1000px; }

/* Treść artykułów (HTML z edytora, w tym stare klasy Bootstrapa) */
.article-body, .page-body { font-size: 1.05rem; line-height: 1.75; color: #3a2e28; }
.article-body::after { content: ""; display: table; clear: both; }
.article-body h2 { margin-top: 1.6em; font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.3rem); }
.article-body h3 { margin-top: 1.4em; }
.article-body strong { color: var(--brown-900); font-weight: 600; }
.article-body ul { padding-left: 1.2em; }
.article-body li { margin: .2em 0; }
.article-body li::marker { color: var(--accent); }
.article-body li p { margin: 0; }
.article-body p.subheading { margin-top: 1.4em; margin-bottom: .4em; font-family: var(--serif); font-size: 1.25rem; }
.article-body p:empty, .article-body p:has(> br:only-child) { display: none; }
.article-body hr { border: 0; height: 1px; background: var(--line); margin: 2.5em 0; }
.article-body img { border-radius: var(--radius); }
.article-body .pull-right, .article-body .img-toRight { float: right; width: min(46%, 480px); margin: .3em 0 1.4em 2.4em; box-shadow: var(--shadow); }
.article-body .pull-left { float: left; width: min(46%, 480px); margin: .3em 2.4em 1.4em 0; }
.article-body table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .97rem; }
.article-body th, .article-body td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.article-body th { font-family: var(--serif); color: var(--brown-900); }
.article-body a[href^="tel:"] { font-weight: 600; white-space: nowrap; }
.text-center { text-align: center; }
.row { display: flex; flex-wrap: wrap; margin-inline: -12px; }
.row > [class*="col-"] { width: 100%; padding-inline: 12px; }
@media (min-width: 768px) {
	.col-sm-6 { width: 50% !important; }
	.col-md-3 { width: 25% !important; } .col-md-4 { width: 33.333% !important; } .col-md-6 { width: 50% !important; } .col-md-8 { width: 66.666% !important; }
}
/* Karty menu w Restauracji / Barze: kolejne akapity z samym obrazkiem -> siatka (klasę dodaje JS) */
.image-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; margin: 1.5em 0; }
.image-grid > p { margin: 0; }
.article-body a:has(> img) { display: block; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.article-body a:has(> img) img { transition: transform .5s var(--ease); width: 100%; }
.article-body a:has(> img):hover img { transform: scale(1.03); }
/* Galeria w artykule: akapit z wieloma obrazkami */
.article-body p:has(> img:nth-of-type(3)), .article-body p:has(> a:nth-of-type(3) > img) {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px;
}
.article-body p:has(> img:nth-of-type(3)) img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; cursor: zoom-in; }

/* Formularz kontaktowy (RSForm) */
.page-bottom form, .article-body form { background: var(--paper); padding: clamp(24px, 4vw, 44px); border-radius: var(--radius); box-shadow: var(--shadow); }
.page-bottom h3 { font-size: 1.8rem; }
.page-bottom input[type="text"], .page-bottom input[type="email"], .page-bottom input[type="tel"], .page-bottom textarea, .page-bottom select {
	width: 100%; padding: 13px 16px; border: 1px solid var(--line); border-radius: 6px; background: #fff; font: inherit; color: var(--text); transition: border-color .2s, box-shadow .2s;
}
.page-bottom input:focus, .page-bottom textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px rgb(162 111 87 / 18%); }
.page-bottom textarea { min-height: 150px; }
.page-bottom label { font-weight: 500; font-size: .92rem; }
.page-bottom .formRed, .page-bottom .formError, .page-bottom .formNoError + .formValidation { color: #a3372a; font-size: .85rem; }
.page-bottom button[type="submit"], .page-bottom input[type="submit"] { background: var(--brown-800); color: #fff; border: 0; border-radius: 999px; padding: 14px 30px; font: 500 1rem var(--sans); cursor: pointer; }
.page-bottom button[type="submit"]:hover, .page-bottom input[type="submit"]:hover { background: var(--brown-900); }

/* ---------- Lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgb(20 12 9 / 92%); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox__img { max-width: min(92vw, 1400px); max-height: 86vh; width: auto; border-radius: 6px; box-shadow: 0 30px 80px rgb(0 0 0 / 50%); }
.lightbox button { position: fixed; border: 0; background: rgb(255 255 255 / 12%); color: #fff; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.lightbox button:hover { background: rgb(255 255 255 / 22%); }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__prev { left: 18px; top: 50%; translate: 0 -50%; }
.lightbox__next { right: 18px; top: 50%; translate: 0 -50%; }

/* ---------- Strona błędu ---------- */
.error-page { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px var(--gutter); }
.error-page .site-logo { margin-bottom: 36px; }
.error-page .eyebrow { justify-content: center; }

/* ---------- Animacje wejścia ---------- */
@media (prefers-reduced-motion: no-preference) {
	.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
	.js .reveal.is-visible { opacity: 1; transform: none; }
	.js .offer-grid .reveal:nth-child(2) { transition-delay: .08s; }
	.js .offer-grid .reveal:nth-child(3) { transition-delay: .16s; }
	.js .offer-grid .reveal:nth-child(4) { transition-delay: .24s; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }

/* ---------- Responsywność ---------- */
@media (max-width: 1100px) {
	.offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.contact-band__grid { grid-template-columns: 1fr 1fr; }
	.contact-band__intro { grid-column: 1 / -1; }
	.menu__link { padding-inline: 10px; }
}

@media (max-width: 960px) {
	:root { --header-h: 72px; }
	.site-logo img { height: 52px; }
	.site-header__cta { display: none; }
	.nav-toggle {
		display: grid; place-items: center; margin-left: auto; width: 46px; height: 46px; border-radius: 50%;
		border: 1px solid var(--line); background: var(--paper); color: var(--brown-900); cursor: pointer;
	}
	.nav-toggle .icon-close, .nav-open .nav-toggle .icon-menu { display: none; }
	.nav-open .nav-toggle .icon-close { display: block; }
	.site-nav {
		position: fixed; inset: var(--header-h) 0 0; margin: 0; padding: 20px var(--gutter) 40px; overflow-y: auto;
		background: var(--paper); display: flex; flex-direction: column; gap: 24px;
		opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .25s var(--ease);
	}
	.nav-open .site-nav { opacity: 1; visibility: visible; transform: none; }
	.nav-open { overflow: hidden; }
	.menu { flex-direction: column; align-items: stretch; gap: 0; }
	.menu__item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
	.menu__item--level1 > .menu__link { flex: 1; padding: 18px 0; font: 600 1.35rem/1.2 var(--serif); justify-content: space-between; }
	.menu__item--level1 > .menu__link::after { display: none; }
	.menu__caret { display: grid; place-items: center; width: 44px; height: 44px; background: none; border: 0; color: inherit; }
	.menu__sub, .menu__sub .menu__sub { position: static; width: 100%; min-width: 0; box-shadow: none; border: 0; background: none; padding: 0 0 12px; opacity: 1; visibility: visible; transform: none; display: none; }
	.menu__item.is-open > .menu__sub { display: block; }
	.menu__sub .menu__item { border: 0; }
	.menu__sub .menu__link { padding: 10px 0; font-size: 1rem; }
	.menu__sub .menu__sub { padding-left: 16px; display: block; }
	.site-nav__cta-mobile { display: inline-flex; align-self: flex-start; }

	.section-head--split { grid-template-columns: 1fr; }
	.section-head--split h2 + p { grid-column: 1; }
	.about { grid-template-columns: 1fr; }
	.about img, .about p:has(> img:only-child) { grid-column: 1; grid-row: 2; height: 320px; }
	.about::after { grid-column: 1; grid-row: 2; background: linear-gradient(180deg, var(--cream-2) 0%, rgb(237 227 214 / 0%) 30%); }
	.about__text { grid-row: 1; padding: 64px var(--gutter) 40px; }
	.offer-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.reviews-track { grid-auto-columns: minmax(280px, 80%); }
}

@media (max-width: 640px) {
	body { font-size: 15.5px; }
	.hero { min-height: auto; background-position: 70% center; }
	.hero::before { background: linear-gradient(180deg, rgb(245 239 231 / 94%) 0%, rgb(245 239 231 / 86%) 55%, rgb(245 239 231 / 40%) 100%); }
	.hero__inner { padding-block: 56px 120px; }
	.offer-grid, .offer-grid--3 { grid-template-columns: 1fr; }
	.card img, .card p:has(> img:only-child) img { aspect-ratio: 16 / 10; }
	.contact-band__grid { grid-template-columns: 1fr; gap: 36px; }
	.gallery-strip .gallery-head { flex-direction: column; align-items: flex-start; }
	.gallery-track { grid-auto-columns: 78%; }
	.gallery-nav { display: none; }
	.article-body .pull-right, .article-body .img-toRight, .article-body .pull-left { float: none; width: 100%; margin: 0 0 1.4em; }
	.site-footer__grid { grid-template-columns: 1fr; justify-items: start; gap: 24px; }
	.site-footer__nav { justify-content: flex-start; }
	.site-footer__social { justify-self: start; }
}

/* RSForm: komunikaty walidacji tylko przy błędzie */
.formNoError { display: none; }
.formError { display: block; color: #a3372a; font-size: .85rem; margin-top: 4px; }
.page-bottom .form-group, .page-bottom .rsform-block { margin-bottom: 18px; }
.page-bottom fieldset { border: 0; padding: 0; margin: 0; }
.page-bottom .rsform-block-agree, .page-bottom [class*="rsform-block-zgoda"] { font-size: .85rem; line-height: 1.55; color: var(--muted); }

/* ======================================================================
   Bar na pierwszym planie + odświeżone podstrony
   ====================================================================== */

/* Hero: drugi link w ostatnim akapicie = przycisk obrysowany */
.hero__content .mod-custom p:last-of-type { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__content .mod-custom p:last-of-type a + a { background: transparent; color: var(--brown-900); box-shadow: inset 0 0 0 1.5px var(--brown-800); }
.hero__content .mod-custom p:last-of-type a + a:hover { background: var(--brown-800); color: #fff; }
.hero__content .mod-custom p:last-of-type a + a::after {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.6 3.5h2.8l1.4 4.2-2 1.3a12 12 0 0 0 6.2 6.2l1.3-2 4.2 1.4v2.8a2 2 0 0 1-2.2 2A17 17 0 0 1 4.6 5.7a2 2 0 0 1 2-2.2z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.6 3.5h2.8l1.4 4.2-2 1.3a12 12 0 0 0 6.2 6.2l1.3-2 4.2 1.4v2.8a2 2 0 0 1-2.2 2A17 17 0 0 1 4.6 5.7a2 2 0 0 1 2-2.2z'/%3E%3C/svg%3E");
}
.open-status { display: inline-flex; align-items: center; gap: 10px; margin: 22px 0 0; padding: 8px 14px 8px 12px; border-radius: 999px; background: rgb(251 248 244 / 80%); backdrop-filter: blur(6px); font-size: .88rem; color: var(--text); box-shadow: 0 1px 0 var(--line); }
.open-status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #b0a49a; }
.open-status.is-open::before { background: #3f9b52; box-shadow: 0 0 0 4px rgb(63 155 82 / 18%); animation: pulse 2s infinite; }
.open-status strong { font-weight: 600; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgb(63 155 82 / 0%); } }

/* Plakietka na karcie (akapit z <mark>) – nad zdjęciem */
.card p:has(> mark) { position: absolute; top: 14px; left: 14px; z-index: 2; margin: 0; padding: 0 !important; }
.card mark { display: inline-block; padding: 7px 12px; border-radius: 999px; background: var(--paper); color: var(--brown-800); font: 600 .74rem/1 var(--sans); letter-spacing: .04em; box-shadow: var(--shadow); }
.card:first-child mark { background: var(--brown-800); color: #fff; }

/* Sekcja Baru na stronie głównej: zdjęcie po lewej, tekst + cennik po prawej */
.feature { padding-block: clamp(64px, 8vw, 110px); }
.feature > .mod-custom, .feature > div { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.feature p:has(> img:only-child) { margin: 0; position: relative; }
.feature p:has(> img:only-child)::after { content: ""; position: absolute; inset: 18px -18px -18px 18px; z-index: -1; border-radius: var(--radius); border: 1.5px solid var(--accent-soft); }
.feature img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.feature__text p:has(+ h2) { display: flex; align-items: center; gap: 14px; margin: 0 0 1.1em; font: 500 .72rem/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--accent); }
.feature__text p:has(+ h2)::after { content: ""; width: 36px; height: 1px; background: currentColor; opacity: .6; }
.feature__text > p { color: #4a3b33; }
.feature__text ul, .price-list { list-style: none; margin: 1.6em 0; padding: 0; }
.feature__text li { display: flex; align-items: baseline; gap: 10px; padding: 9px 0; font-weight: 500; color: var(--brown-900); }
.feature__text li::after { content: ""; order: 1; flex: 1; border-bottom: 1.5px dotted var(--accent-soft); transform: translateY(-4px); }
.feature__text li span { order: 2; font-family: var(--serif); font-weight: 600; white-space: nowrap; }
.feature__text p:last-child { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.feature__text p:last-child a { display: inline-flex; align-items: center; padding: 13px 24px; border-radius: 999px; background: var(--brown-800); color: #fff; text-decoration: none; font-weight: 500; transition: background .25s; }
.feature__text p:last-child a:hover { background: var(--brown-900); }
.feature__text p:last-child a + a { background: transparent; color: var(--brown-900); box-shadow: inset 0 0 0 1.5px var(--brown-800); }
.feature__text p:last-child a + a:hover { background: var(--brown-800); color: #fff; }

/* Podstrony: treść + boczna karta */
.page-layout { padding-block: clamp(48px, 6vw, 84px); max-width: 1000px; }
.page-layout--aside { max-width: var(--container); display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.page-aside__inner { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 18px; }
.page-aside__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.info-card { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; }
.info-card .eyebrow { margin-bottom: .8em; }
.info-card__lead { font-family: var(--serif); font-size: 1.2rem; line-height: 1.35; color: var(--brown-900); }
.info-card__phone { width: 100%; justify-content: center; font-size: 1.05rem; }
.info-card__hours { display: flex; gap: 12px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .93rem; color: var(--muted); }
.info-card__hours .icon { color: var(--accent); margin-top: 3px; }
.info-card__hours p { margin: 0; }
.info-card__hours strong { color: var(--brown-900); }
.info-card__link { display: inline-block; margin-top: 14px; font-weight: 500; font-size: .93rem; }
.article-body > p:first-of-type { font-size: 1.15rem; line-height: 1.7; }
.article-body > p:first-of-type strong { font-weight: 600; }

/* Komunikat (np. remont restauracji) */
.notice { position: relative; margin: 0 0 2.2em; padding: 26px 28px 24px 74px; background: var(--brown-800); color: #eadfd3; border-radius: var(--radius); box-shadow: var(--shadow); }
.notice::before { content: ""; position: absolute; left: 26px; top: 28px; width: 28px; height: 28px; background: var(--accent-soft);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a4 4 0 0 0-5.4 5.3L3 17.9V21h3.1l6.3-6.3a4 4 0 0 0 5.3-5.4l-2.6 2.6-2.5-.5-.5-2.5z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a4 4 0 0 0-5.4 5.3L3 17.9V21h3.1l6.3-6.3a4 4 0 0 0 5.3-5.4l-2.6 2.6-2.5-.5-.5-2.5z'/%3E%3C/svg%3E") center / contain no-repeat; }
.notice p { margin: 0 0 .6em; font-size: 1rem; }
.article-body .notice p.subheading, .article-body .notice strong { color: #fbf3ea; font-family: var(--serif); font-size: 1.3rem; margin-top: 0; }
.notice p:last-child { margin: 1em 0 0; }
.notice a { display: inline-flex; padding: 11px 20px; border-radius: 999px; background: var(--sand); color: var(--brown-900); text-decoration: none; font-weight: 500; }
.notice a:hover { background: #fff; color: var(--brown-900); }

/* Karta menu (Bar) */
.menu-wrap { padding-bottom: clamp(56px, 6vw, 88px); }
.menu-card { clear: both; position: relative; margin: 0; padding: clamp(28px, 4vw, 56px); background: var(--paper); border-radius: 12px; box-shadow: var(--shadow); scroll-margin-top: calc(var(--header-h) + 16px); }
.menu-card::before { content: ""; position: absolute; inset: 12px; border: 1px solid var(--line); border-radius: 8px; pointer-events: none; }
.menu-card > p:first-child { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 0 0 .8em; font: 500 .72rem/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--accent); }
.menu-card > p:first-child::before, .menu-card > p:first-child::after { content: ""; width: 36px; height: 1px; background: currentColor; opacity: .6; }
.menu-card h2 { text-align: center; margin: 0 0 .3em; }
.menu-card h2 + p { text-align: center; color: var(--muted); max-width: 34em; margin: 0 auto 1.6em; font-size: 1rem; }
.menu-card > p:last-child { text-align: center; font-size: .85rem; color: var(--muted); margin: 2em 0 0; }
.menu-tabs { justify-content: safe center; position: sticky; top: calc(var(--header-h) + 8px); z-index: 5; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -8px 1.4em; padding: 8px; background: rgb(251 248 244 / 94%); backdrop-filter: blur(8px); border-radius: 999px; }
.menu-tabs::-webkit-scrollbar { display: none; }
.menu-tabs a { flex: none; padding: 9px 16px; border-radius: 999px; font-size: .88rem; font-weight: 500; color: var(--brown-900); text-decoration: none; background: var(--cream); transition: background .2s, color .2s; }
.menu-tabs a:hover { background: var(--brown-800); color: #fff; }
.menu-grid { columns: 2 340px; column-gap: 56px; }
.menu-section { break-inside: avoid; padding-top: 6px; margin-bottom: 30px; scroll-margin-top: calc(var(--header-h) + 80px); }
.menu-card h3 { display: flex; align-items: center; gap: 14px; margin: 0 0 .5em; font-size: 1.45rem; }
.menu-card h3::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.menu-section > p { margin: -.2em 0 .6em; font-size: .85rem; color: var(--accent); font-style: italic; }
.menu-card table, .menu-card tbody { display: block; width: 100%; margin: 0; font-size: .98rem; }
/* Wiersz: nazwa ····· porcja cena (kropki = ::after z order:1) */
.menu-card tr { display: flex; align-items: baseline; gap: 10px; padding: 7px 0; }
.menu-card tr::after { content: ""; order: 1; flex: 1; min-width: 16px; border-bottom: 1.5px dotted var(--accent-soft); transform: translateY(-4px); }
.menu-card td { border: 0; padding: 0; }
.menu-card td:first-child { font-weight: 500; color: var(--brown-900); }
.menu-card td:nth-child(2) { order: 2; white-space: nowrap; font-size: .82rem; color: var(--muted); }
.menu-card td:last-child { order: 3; white-space: nowrap; font-family: var(--serif); font-weight: 600; color: var(--brown-900); min-width: 4.6em; text-align: right; }
.menu-card td:empty { display: none; }

/* Pasek CTA (imprezy) */
.cta-band { padding-block: 0 clamp(56px, 6vw, 88px); }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; padding: clamp(28px, 4vw, 48px); border-radius: 12px; background: var(--cream-2); }
.cta-band h2 { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); margin-bottom: .3em; }
.cta-band p:not(.eyebrow) { margin: 0; color: var(--muted); max-width: 36em; }
.related { padding-top: 0; }

@media (max-width: 960px) {
	.feature > .mod-custom, .feature > div { grid-template-columns: 1fr; }
	.feature p:has(> img:only-child)::after { display: none; }
	.page-layout--aside { grid-template-columns: 1fr; }
	.page-aside { order: -1; }
	.page-aside__inner { position: static; grid-template-columns: 1fr 1fr; align-items: start; }
	.page-aside__img { height: 100%; aspect-ratio: auto; }
	.menu-grid { columns: 1; }
}
@media (max-width: 640px) {
	.page-aside__inner { grid-template-columns: 1fr; }
	.page-aside__img { aspect-ratio: 16 / 10; }
	.notice { padding: 24px 22px; }
	.notice::before { display: none; }
	.menu-card { padding: 28px 18px; }
	.menu-card::before { inset: 6px; }
}

/* Oferta weselna itp.: karty z listami i kafelki z numerami (klasy dodaje JS) */
.list-grid { columns: 2 260px; column-gap: 18px; margin: 1.6em 0; }
.list-card { break-inside: avoid; margin-bottom: 18px; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px 26px 18px; }
.article-body .list-card p.subheading { margin: 0 0 .6em; padding-bottom: .5em; border-bottom: 1px solid var(--line); font-size: 1.3rem; }
.list-card > p:not(.subheading) { margin: -.2em 0 .5em; font-size: .88rem; color: var(--accent); font-style: italic; }
.list-card ul { margin: 0; padding: 0; list-style: none; font-size: .97rem; }
.list-card li { position: relative; padding: 5px 0 5px 20px; margin: 0; }
.list-card li::before { content: ""; position: absolute; left: 2px; top: 1em; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--accent); }
.steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 1.4em 0 2em; counter-reset: step; }
.step { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border-radius: var(--radius); background: var(--cream-2); }
.step__no { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--brown-800); color: #fff; font: 600 1.1rem/1 var(--serif); }
.step p { margin: 0; font-size: .98rem; line-height: 1.55; color: var(--brown-900); font-weight: 500; }
.article-body h2 { text-transform: none; }
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; } }

/* Hero na telefonie: równe przyciski na całą szerokość, krótszy „eyebrow”, bez podpowiedzi przewijania */
@media (max-width: 640px) {
	.hero__inner { padding-block: 44px 48px; }
	.hero__content p:has(+ h1) { letter-spacing: .2em; line-height: 1.5; }
	.hero__content p:has(+ h1)::after { display: none; }
	.hero__content .mod-custom p:last-of-type { flex-direction: column; gap: 10px; margin-top: 1.4em; }
	.hero__content .mod-custom p:last-of-type a { justify-content: center; width: 100%; padding-block: 15px; }
	.hero__content .mod-custom p:last-of-type a + a { background: rgb(251 248 244 / 82%); backdrop-filter: blur(6px); }
	.open-status { margin-top: 16px; }
	.scroll-hint { display: none; }
}

/* ======================================================================
   Telefon wg mobile.jpeg: film jako blok u góry, tekst pod nim, ikony na skróty, karty-zdjęcia
   ====================================================================== */
.quick-links { display: none; }

@media (max-width: 640px) {
	/* Nagłówek: większe logo, przycisk widoczny obok hamburgera */
	:root { --header-h: 84px; }
	.site-logo img { height: 66px; }
	.site-header__inner { gap: 12px; }
	.site-header__cta { display: inline-flex; margin-left: auto; padding: 11px 16px 11px 18px; font-size: .88rem; gap: 8px; }
	.site-header__cta .icon { width: 16px; height: 16px; }
	.nav-toggle { margin-left: 0; border: 0; background: none; width: 44px; }
	.nav-toggle .icon { width: 28px; height: 28px; }
	.site-nav__cta-mobile { display: none; }

	/* Hero: film/zdjęcie na górze, treść pod spodem na jasnym tle */
	.hero { flex-direction: column; min-height: 0; background: var(--cream); }
	.hero::before { display: none; }
	.hero__video { position: relative; inset: auto; z-index: 0; height: 300px; opacity: 1; object-position: 55% center; background: var(--cream-2) var(--hero-img) center / cover; }
	.hero__inner { padding-block: 26px 28px; text-align: center; }
	.hero__content { max-width: none; }
	.hero__content p:has(+ h1) { justify-content: center; letter-spacing: .26em; font-size: .68rem; }
	.hero__content p:has(+ h1)::before, .hero__content p:has(+ h1)::after { display: none; }
	.hero__content h1 { font-size: clamp(2.1rem, 9vw, 2.6rem); margin-bottom: .35em; }
	.hero__content p:not(:first-child):not(:last-child) { font-size: 1rem; margin-inline: auto; }
	.hero__content .mod-custom p:last-of-type { flex-direction: row; gap: 10px; }
	.hero__content .mod-custom p:last-of-type a { flex: 1 1 0; width: auto; padding: 14px 8px; font-size: .88rem; gap: 6px; white-space: nowrap; }
	.hero__content .mod-custom p:last-of-type a::after { width: 16px; height: 16px; }
	.hero__content .mod-custom p:last-of-type a + a { background: transparent; backdrop-filter: none; }
	.open-status { margin-top: 18px; }

	/* Pasek ikon na skróty */
	.quick-links {
		display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 12px; padding: 16px 4px;
		background: var(--paper); border-radius: 14px; box-shadow: var(--shadow);
	}
	.quick-links a { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 6px 4px 10px; text-decoration: none; color: var(--brown-900); text-align: center; position: relative; }
	.quick-links a + a { border-left: 1px solid var(--line); }
	.quick-links a::after { content: ""; position: absolute; bottom: 0; width: 26px; height: 1px; background: var(--accent-soft); }
	.quick-links .icon { width: 34px; height: 34px; stroke-width: 1.3; color: var(--brown-800); }
	.quick-links span { font: 600 .66rem/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; }

	/* Karty oferty: zdjęcie na całą kartę, tytuł i tekst na zdjęciu */
	.offer { padding-top: 52px; }
	.offer-grid { gap: 14px; }
	.offer .card { min-height: 300px; justify-content: flex-end; color: #fff; isolation: isolate; }
	.offer .card p:has(> img:only-child) { position: absolute; inset: 0; z-index: -2; }
	.offer .card p:has(> img:only-child) img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
	.offer .card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgb(31 19 14 / 92%) 0%, rgb(31 19 14 / 55%) 45%, rgb(31 19 14 / 5%) 75%); }
	.offer .card h3 { color: #fbf3ea; font-size: 1.8rem; margin-top: 0; }
	.offer .card p { color: #e6d9cc; }
	.offer .card :is(h3, p:not(:last-child)) { padding-right: 84px !important; } /* miejsce na strzałkę */
	.offer .card p:last-child { position: absolute; right: 20px; bottom: 22px; padding: 0 !important; }
	.offer .card p:last-child a { width: 48px; height: 48px; background: var(--sand); }
	.offer .card p:last-child a::before { background: var(--brown-900); }
	.offer .card h3:first-of-type { margin-top: auto; }
	.offer .card > :nth-last-child(2) { padding-bottom: 24px; margin-bottom: 0; }
}

/* Strony z komponentów (polityki): tytuł jest w nagłówku strony – ukryj powtórzony <h1> z treści */
.page-body h1 { display: none; }
.page-body { font-size: 1rem; }
.page-body [style*="justify"] { text-align: left !important; }

/* Nagłówek podstron na telefonie: wyższy, tytuł na dole, z okruszków tylko „← rodzic” */
@media (max-width: 640px) {
	.page-hero { padding-block: 120px 30px; }
	.page-hero__title { font-size: clamp(1.9rem, 8vw, 2.3rem); }
	.breadcrumbs { margin-bottom: 12px; font-size: .72rem; letter-spacing: .12em; }
	.breadcrumbs > :not(:nth-last-child(3)) { display: none; }
	.breadcrumbs > :nth-last-child(3)::before { content: "← "; }
}

/* Strona bez treści artykułu (np. Kontakt) – formularz zaraz pod nagłówkiem, z normalnym odstępem */
.page-hero + .page-bottom { padding-top: clamp(48px, 6vw, 84px); }

@media (max-width: 640px) {
	.page-aside__img { display: none; } /* zdjęcie jest już w nagłówku strony */
	.page-layout { padding-top: 28px; }
}

/* ======================================================================
   Nagłówek podstron w stylu strony głównej: jasne tło, zdjęcie z prawej przenika się z kremem
   (nadpisuje wcześniejszy ciemny wariant)
   ====================================================================== */
.page-hero {
	display: flex; align-items: center; min-height: clamp(320px, 30vw, 420px); padding-block: 56px;
	color: var(--text); background: var(--cream); overflow: hidden;
}
.page-hero::after { content: ""; position: absolute; inset: 0 0 0 36%; z-index: -2; background: var(--page-img) center / cover no-repeat; }
.page-hero::before {
	z-index: -1;
	background:
		linear-gradient(90deg, var(--cream) 0%, var(--cream) 36%, rgb(245 239 231 / 82%) 46%, rgb(245 239 231 / 0%) 68%),
		linear-gradient(0deg, rgb(245 239 231 / 70%) 0%, rgb(245 239 231 / 0%) 26%);
}
.page-hero .container { width: 100%; }
.page-hero__title { color: var(--brown-900); max-width: 13em; font-size: clamp(2.2rem, 1.5rem + 2.4vw, 3.6rem); }
.breadcrumbs, .breadcrumbs a { color: var(--accent); }
.breadcrumbs a:hover { color: var(--brown-900); }
.breadcrumbs { font-weight: 500; letter-spacing: .2em; font-size: .72rem; }
.article-body hr { display: none; } /* separatory ze starego kreatora */

@media (max-width: 640px) {
	/* telefon: zdjęcie jako blok u góry, tytuł pod nim – jak hero strony głównej */
	.page-hero { display: block; min-height: 0; padding: 236px 0 8px; }
	.page-hero::after { inset: 0 0 auto 0; height: 220px; }
	.page-hero::before { background: linear-gradient(0deg, var(--cream) 0%, rgb(245 239 231 / 0%) 18%) top / 100% 220px no-repeat; }
	.page-hero__title { font-size: clamp(1.9rem, 8vw, 2.3rem); }
}

/* Druga część artykułu na pełną szerokość (np. oferta weselna) */
.offer-full { padding-bottom: clamp(56px, 6vw, 88px); }
.offer-full > h2:first-child, .offer-full > :first-child h2:first-child { text-align: center; margin: 0 0 .9em; text-transform: none; }
.offer-full .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.offer-full .list-grid { columns: 3 280px; }
@media (max-width: 1100px) { .offer-full .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .offer-full .steps { grid-template-columns: 1fr; } }

/* Ramka z informacjami (cena, uwagi) i tytuł nad kafelkami – klasy dodaje JS */
.info-box { max-width: 820px; margin: 2.4em auto; padding: clamp(24px, 3vw, 36px) clamp(24px, 4vw, 48px); background: var(--paper); border-radius: 12px; box-shadow: var(--shadow); border-top: 3px solid var(--accent); text-align: center; }
.info-box p { margin: 0 0 .7em; font-size: 1rem; color: #4a3b33; }
.info-box p:last-child { margin-bottom: 0; }
.info-box strong { font-weight: 500; }
.info-box p:first-child strong:only-child { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; color: var(--brown-900); }
.info-box .info-box__price { margin: .4em 0 .6em; font-family: var(--serif); font-size: clamp(1.4rem, 1.1rem + 1vw, 1.8rem); color: var(--brown-900); }
.info-box .info-box__price strong { font-weight: 600; }
.info-box em { font-style: normal; }
.info-box a { font-weight: 600; }
.article-body p.steps-title { text-align: center; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); margin: 2em 0 .2em; }

/* Widżet Cloudflare Turnstile (wstawia wtyczka karczmaturnstile) */
.karczma-turnstile { margin: 6px 0 20px; min-height: 65px; }

/* Numery w sekcji kontaktu: Bar (stacjonarny/komórkowy) i Organizacja imprez */
.contact-list .phones p { margin: 0 0 12px; line-height: 1.65; }
.contact-list .phones p:last-child { margin-bottom: 0; }
.phones__type { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; font-size: .72rem; letter-spacing: .04em; background: rgb(234 215 195 / 16%); color: #cdbcab; vertical-align: 1px; }
.info-card__alt { margin: 10px 0 0; text-align: center; font-size: .9rem; color: var(--muted); }
.info-card__alt a { font-weight: 600; white-space: nowrap; }

/* Kontakt: 3 karty nad formularzem */
.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding-block: clamp(40px, 5vw, 64px) 0; }
.contact-card { background: var(--paper); border-radius: 12px; box-shadow: var(--shadow); padding: 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.contact-card__icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--cream-2); color: var(--brown-800); margin-bottom: 8px; }
.contact-card__icon .icon { width: 26px; height: 26px; stroke-width: 1.4; }
.contact-card h2 { font-size: 1.6rem; margin: 0; }
.contact-card__lead { margin: 0 0 10px; color: var(--muted); font-size: .93rem; }
.contact-card__phone { display: inline-flex; align-items: center; gap: 10px; margin: 2px 0; font: 600 1.2rem/1.4 var(--serif); color: var(--brown-900); text-decoration: none; word-break: break-word; }
.contact-card__phone:hover { color: var(--accent); }
.contact-card__phone .icon { width: 18px; height: 18px; color: var(--accent); flex: none; }
.contact-card__phone span { font: 500 .72rem/1 var(--sans); letter-spacing: .04em; padding: 4px 8px; border-radius: 999px; background: var(--cream-2); color: var(--muted); }
.contact-card__note { margin: 10px 0 0; font-size: .9rem; color: var(--muted); }
.contact-cards + .page-bottom { padding-top: clamp(32px, 4vw, 48px); }
@media (max-width: 960px) { .contact-cards { grid-template-columns: 1fr; } }
.contact-band__alt { margin: 14px 0 0; font-size: .92rem; color: #cdbcab; }
.contact-band__alt a { color: #fbf3ea; font-weight: 600; text-decoration: none; white-space: nowrap; }
.contact-band__alt a:hover { text-decoration: underline; }
/* Sekcja kontaktu z dłuższym nagłówkiem („Zamów jedzenie na dowóz i na wynos”) – szersza kolumna z tytułem */
@media (min-width: 1101px) {
	.contact-band__grid { grid-template-columns: 1.3fr 1fr .9fr; gap: 44px; }
}
.contact-band h2 { font-size: clamp(2rem, 1.4rem + 1.5vw, 2.6rem); }
.contact-band .eyebrow { letter-spacing: .24em; white-space: nowrap; }

/* Udogodnienia (np. Motel): kafelki z ikoną „✓” */
.article-body ul.amenities { list-style: none; padding: 0; margin: 1.2em 0 2.4em; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.article-body ul.amenities li { position: relative; margin: 0; padding: 20px 20px 20px 62px; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); font-size: .97rem; line-height: 1.5; color: var(--muted); }
.article-body ul.amenities li strong { display: block; font-family: var(--serif); font-size: 1.12rem; color: var(--brown-900); }
.article-body ul.amenities li::before { content: ""; position: absolute; left: 20px; top: 22px; width: 28px; height: 28px; border-radius: 50%; background: var(--cream-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2345291f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 16px no-repeat; }
.offer-full > h2 { margin-top: 0; }
.offer-full h2 + p:has(> a > img) { margin-top: 0; }
@media (max-width: 960px) { .article-body ul.amenities { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .article-body ul.amenities { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
	.article-body ul.amenities { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.article-body ul.amenities li { padding: 52px 14px 14px; font-size: .86rem; }
	.article-body ul.amenities li::before { left: 14px; top: 14px; }
	.article-body ul.amenities li strong { font-size: 1rem; }
	.article-body p:has(> a:nth-of-type(3) > img) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
}
.article-body p:has(> a:nth-of-type(3) > img) a img { aspect-ratio: 4 / 3; object-fit: cover; }

/* ======================================================================
   Mniej „szablonowo”: prostokątne przyciski bez strzałek, linki tekstowe na kartach,
   bez rozstrzelonych napisów nad nagłówkami, bez gwiazdek przy opiniach
   ====================================================================== */
.eyebrow,
:is(.hero__content, .section-head, .about, .gallery-strip, .reviews, .feature__text, .menu-card) p:has(+ :is(h1, h2)) { display: none !important; }

.btn,
:is(.hero__content, .about__text) p:last-child a,
.hero__content .mod-custom p:last-of-type a,
.feature__text p:last-child a,
.notice a,
.page-bottom button[type="submit"], .page-bottom input[type="submit"] {
	border-radius: 4px; padding: 14px 22px; gap: 10px; font-weight: 600; letter-spacing: 0; box-shadow: none; transform: none !important;
}
:is(.hero__content, .about__text) p:last-child a::after,
.hero__content .mod-custom p:last-of-type a + a::after { content: none; }
.btn .icon-arrow { display: none; }
.btn:hover, :is(.hero__content, .about__text) p:last-child a:hover { box-shadow: none; }
.hero__content .mod-custom p:last-of-type a + a,
.feature__text p:last-child a + a { box-shadow: inset 0 0 0 1px var(--brown-800); }
.site-header__cta { padding: 11px 18px; }

/* Karty: zamiast okrągłej strzałki zwykły podkreślony link */
.card p:last-child a, .offer .card p:last-child a {
	display: inline; width: auto; height: auto; border-radius: 0; background: none !important; color: var(--brown-800);
	font: 600 .95rem/1.4 var(--sans); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px;
}
.card p:last-child a::before { content: none; }
.card:hover p:last-child a { color: var(--accent); }
.card:hover { transform: none; }
.card:hover img { transform: none; }
@media (max-width: 640px) {
	.offer .card p:last-child a { color: #fbf3ea; }
	.offer .card p:last-child { position: static; padding: 0 24px 22px !important; }
	.offer .card :is(h3, p:not(:last-child)) { padding-right: 24px !important; }
}
.gallery-more { font-weight: 600; }
.reviews blockquote::before { content: none; }
.reviews blockquote { padding-top: 24px; }
.menu-card > p:first-child { display: none; }
.menu-card h2 + p { margin-bottom: 1.2em; }
.info-card__lead { font-size: 1.05rem; }
.open-status { border-radius: 4px; }
.open-status.is-open::before { animation: none; box-shadow: none; }

.scroll-hint { display: none; }
/* Jedna linia: © | polityki | autor (na telefonie pod sobą) */
.site-footer__bottom { flex-wrap: nowrap; }
.site-footer__author { opacity: .75; white-space: nowrap; }
@media (max-width: 1100px) { .site-footer__bottom { flex-wrap: wrap; } }
.site-footer__author a { text-decoration: underline; text-underline-offset: 3px; }

/* Galeria z dokładnie 5 zdjęć (np. „Nasza sala”): pierwsze duże + 4 mniejsze, bez dziur */
@media (min-width: 641px) {
	.article-body p:has(> a:nth-of-type(5) > img):not(:has(> a:nth-of-type(6))) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.article-body p:has(> a:nth-of-type(5) > img):not(:has(> a:nth-of-type(6))) > a:first-child { grid-column: span 2; grid-row: span 2; }
	.article-body p:has(> a:nth-of-type(5) > img):not(:has(> a:nth-of-type(6))) > a:first-child img { height: 100%; aspect-ratio: auto; }
}
@media (max-width: 640px) {
	.article-body p:has(> a:nth-of-type(5) > img):not(:has(> a:nth-of-type(6))) > a:first-child { grid-column: span 2; }
}
