/* PTTK Inowrocław 0.7 — subpages: header band, two-column layout, content typography, legacy content fixes. */

/* ---------- Header band ---------- */
.page-band { position: relative; overflow: hidden; background: linear-gradient(160deg, #f3f8f5 0%, #e4f0e9 70%, #d9eadf 100%); border-bottom: 1px solid #d3e3d9; }
.page-band::after { content: ""; position: absolute; inset: auto 0 -1px; height: 64px; background: url("../images/forest-edge.svg") no-repeat right bottom / auto 100%; opacity: .1; pointer-events: none; }
.page-band-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: 32px; padding-block: 26px 46px; }
.page-band-has-image .page-band-inner { grid-template-columns: minmax(0, 1.25fr) minmax(260px, .85fr); }
.page-band h1 { margin: 6px 0 0; font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.1; color: var(--forest-dark); max-width: 22ch; }
.page-band-post h1 { max-width: 28ch; font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.page-band-lead { max-width: 62ch; margin: 14px 0 0; font-size: 1.15rem; line-height: 1.55; color: #34433c; }
.page-band-eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 18px 0 0; font-family: var(--font-cond); font-weight: 700; font-size: .95rem; letter-spacing: .03em; text-transform: uppercase; color: var(--forest); }
.page-band-eyebrow > .icon { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--forest); color: #fff; }
.page-band-eyebrow > span { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.band-chip { display: inline-flex; align-items: center; min-height: 30px; padding: 2px 10px; border-radius: 4px; background: #fff; border: 1px solid #c9ddd0; color: var(--forest); text-decoration: none; }
.band-chip:hover { background: var(--forest); border-color: var(--forest); color: #fff; }
.page-band-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 16px; font-size: .95rem; color: #3d4b44; }
.page-band-meta span { display: inline-flex; align-items: center; gap: 7px; }
.page-band-meta .icon { width: 18px; height: 18px; color: var(--forest); }
.page-band-image { margin: 0; position: relative; min-width: 0; }
.page-band-copy { min-width: 0; }
.page-band-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; box-shadow: 0 18px 40px rgb(10 58 42 / .22); }
.page-band-image::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 2px solid #b9d4c4; border-radius: 12px; z-index: -1; }

/* Breadcrumbs */
.breadcrumbs { margin: 0; font-size: .86rem; color: var(--muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 0; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li { display: inline-flex; align-items: center; }
.breadcrumbs li + li::before { content: ""; width: 6px; height: 6px; margin: 0 10px; border: solid #8aa496; border-width: 1.5px 1.5px 0 0; transform: rotate(45deg); }
.breadcrumbs a { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; color: var(--forest); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs .icon { width: 15px; height: 15px; }
.breadcrumbs [aria-current] { color: #4f5d56; overflow-wrap: anywhere; }

/* Section chips (phones and tablets; the sidebar takes over on desktop) */
.page-chips { position: relative; z-index: 1; margin-top: -28px; padding-bottom: 18px; }
.page-chips ul { display: flex; gap: 8px; margin: 0; padding: 2px 0 6px; list-style: none; overflow-x: auto; scrollbar-width: thin; }
.page-chips a { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid #cfe0d6; color: var(--forest-dark); font-weight: 600; font-size: .92rem; white-space: nowrap; text-decoration: none; }
.page-chips a:hover { border-color: var(--forest); }
.page-chips a[aria-current] { background: var(--forest); border-color: var(--forest); color: #fff; }
.page-band-list .page-chips { display: block; }
@media (min-width: 1001px) {
	.page-band:not(.page-band-list) .page-chips { display: none; }
}

/* Year archive links under the news band */
.year-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding-top: 18px; font-size: .92rem; color: var(--muted); }
.year-chips ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.year-chips a { display: inline-flex; align-items: center; min-height: 34px; padding: 4px 12px; border: 1px solid var(--line); border-radius: 6px; color: var(--forest-dark); font-weight: 600; text-decoration: none; }
.year-chips a:hover { border-color: var(--forest); background: var(--mint); }
.year-chips + .listing { padding-top: 22px; }

/* ---------- Layout ---------- */
.page-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; padding-block: 40px 64px; }
.page-layout-hub { grid-template-columns: minmax(0, 1fr) 320px; }
.page-main { min-width: 0; }
.subpage .entry-content { max-width: 760px; margin: 0; }
.subpage .entry-content .alignwide, .subpage .entry-content .alignfull { width: 100%; max-width: 100%; margin-left: 0; transform: none; }

/* ---------- Content typography ---------- */
.subpage .entry-content { font-size: 1.08rem; line-height: 1.75; color: #24342d; }
.subpage .entry-content > :first-child { margin-top: 0; }
.subpage .entry-content p { margin: 0 0 1.15em; }
.subpage .entry-content h2 { position: relative; margin: 2.1em 0 .7em; padding-top: 18px; font-size: clamp(1.45rem, 2.3vw, 1.85rem); line-height: 1.2; scroll-margin-top: 24px; }
.subpage .entry-content h2::before { content: ""; position: absolute; top: 0; left: 0; width: 48px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--forest) 60%, var(--red) 60%); }
.subpage .entry-content > h2:first-child { margin-top: 0; }
.subpage .entry-content h3 { margin: 1.8em 0 .5em; font-family: var(--font-sans); font-size: 1.22rem; font-weight: 700; color: var(--forest-dark); scroll-margin-top: 24px; }
.subpage .entry-content h4 { margin: 1.5em 0 .4em; font-size: 1.05rem; color: var(--forest-dark); }
.subpage .entry-content a { color: var(--forest); text-decoration-color: #9cc3ad; text-underline-offset: .2em; }
.subpage .entry-content a:hover { text-decoration-color: currentColor; }
.subpage .entry-content strong { color: #17261f; }
.subpage .entry-content ul, .subpage .entry-content ol { padding-left: 1.3em; margin: 0 0 1.3em; }
.subpage .entry-content li { margin-bottom: .35em; padding-left: .2em; }
.subpage .entry-content ul li::marker { color: var(--forest); }
.subpage .entry-content ol li::marker { color: var(--forest); font-weight: 700; }
.subpage .entry-content blockquote { margin: 2em 0; padding: 22px 26px 22px 64px; position: relative; border: 0; border-radius: 10px; background: var(--mint); font-family: var(--font-serif); font-size: 1.3rem; line-height: 1.45; color: var(--forest-dark); }
.subpage .entry-content blockquote::before { content: "„"; position: absolute; left: 18px; top: -4px; font-size: 4rem; line-height: 1; color: var(--forest); opacity: .6; }
.subpage .entry-content blockquote p:last-child { margin: 0; }
.subpage .entry-content hr { margin: 2.5em 0; border: 0; height: 22px; background: url("../images/brush.svg") no-repeat center / 120px 22px; }
.subpage .entry-content table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; font-size: .97rem; }
.subpage .entry-content th { background: var(--forest); color: #fff; text-align: left; font-weight: 600; border: 0; }
.subpage .entry-content td { border: 0; border-top: 1px solid var(--line); }
.subpage .entry-content tr:nth-child(even) td { background: #f6faf8; }
.subpage .entry-content th, .subpage .entry-content td { padding: 10px 14px; }
.subpage .entry-content img { border-radius: 8px; }
.subpage .entry-content figure { margin: 1.6em 0; }
.subpage .entry-content figcaption { margin-top: 8px; font-size: .88rem; color: var(--muted); }

/* ---------- Legacy content fixes ---------- */
.entry-content img.emoji, .entry-content img[src*="/images/core/emoji/"] { display: inline !important; width: 1em !important; height: 1em !important; margin: 0 .08em; vertical-align: -.12em; border-radius: 0 !important; box-shadow: none !important; }
.entry-content svg:not([width]):not(.icon) { width: 1.3em; height: 1.3em; vertical-align: -.2em; fill: currentColor; }
.entry-content article footer[role], .entry-content article footer[id] { display: none; }
.entry-content article { margin: 0; }

/* File links → download rows */
.subpage .entry-content a:is([href$=".pdf" i], [href$=".doc" i], [href$=".docx" i], [href$=".xls" i], [href$=".xlsx" i], [href$=".odt" i], [href$=".zip" i]) { display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--forest-dark); font-weight: 600; text-decoration: none; box-shadow: 0 1px 3px #0a3a2a10; line-height: 1.35; }
.subpage .entry-content a:is([href$=".pdf" i], [href$=".doc" i], [href$=".docx" i], [href$=".xls" i], [href$=".xlsx" i], [href$=".odt" i], [href$=".zip" i]):hover { border-color: var(--forest); background: var(--mint); }
.subpage .entry-content a:is([href$=".pdf" i], [href$=".doc" i], [href$=".docx" i], [href$=".xls" i], [href$=".xlsx" i], [href$=".odt" i], [href$=".zip" i]) svg { display: none; }
.subpage .entry-content a:is([href$=".pdf" i], [href$=".doc" i], [href$=".docx" i], [href$=".xls" i], [href$=".xlsx" i], [href$=".odt" i], [href$=".zip" i])::before { flex: 0 0 auto; display: grid; place-items: center; width: 40px; height: 44px; border-radius: 4px 12px 4px 4px; background: #4c5c55; color: #fff; font: 700 .7rem/1 var(--font-cond); letter-spacing: .04em; }
.subpage .entry-content a[href$=".pdf" i]::before { content: "PDF"; background: #c3172c; }
.subpage .entry-content a:is([href$=".doc" i], [href$=".docx" i], [href$=".odt" i])::before { content: "DOC"; background: #2b5797; }
.subpage .entry-content a:is([href$=".xls" i], [href$=".xlsx" i])::before { content: "XLS"; background: #1e7145; }
.subpage .entry-content a[href$=".zip" i]::before { content: "ZIP"; }
.subpage .entry-content li:has(> a:is([href$=".pdf" i], [href$=".doc" i], [href$=".docx" i], [href$=".xls" i], [href$=".xlsx" i], [href$=".odt" i])) { list-style: none; margin-bottom: 10px; padding: 0; }
.subpage .entry-content ul:has(> li > a:is([href$=".pdf" i], [href$=".doc" i], [href$=".docx" i])) { padding-left: 0; }

/* Repaired tabs */
.pttk-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 6px; border-radius: 10px; background: var(--mint); }
.pttk-tabs [role=tab] { min-height: 44px; padding: 8px 18px; border: 0; border-radius: 7px; background: transparent; color: var(--forest-dark); font-family: var(--font-sans); font-weight: 600; font-size: 1rem; cursor: pointer; }
.pttk-tabs [role=tab]:hover { background: #fff; }
.pttk-tabs [role=tab][aria-selected=true] { background: var(--forest); color: #fff; box-shadow: 0 2px 6px #0a3a2a33; }
.pttk-tab-panel { padding: 4px 0 8px; }
.pttk-tab-panel:focus-visible { outline-offset: 6px; }
.entry-content > p > button[role=tab] { margin: 0 6px 6px 0; padding: 8px 14px; border: 1px solid var(--line); border-radius: 6px; background: #fff; font: inherit; }

/* ---------- Galleries ---------- */
.pttk-auto-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 16px; align-items: start; margin: 1.6em 0; }
.pttk-auto-gallery-item { margin: 0 !important; }
.pttk-auto-gallery-item img { width: 100%; height: auto; border-radius: 8px; box-shadow: 0 2px 10px rgb(10 58 42 / .14); background: #fff; }
.pttk-auto-gallery-item a { display: block; }
.subpage .wp-block-gallery.has-nested-images { gap: 10px; }
.subpage .wp-block-gallery.has-nested-images figure.wp-block-image img { border-radius: 8px; }
.subpage .gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.subpage .gallery-item { margin: 0; }
.subpage .gallery-item img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.lb-trigger { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.lb-zoomable { position: relative; cursor: zoom-in; }
.lb-zoomable img { transition: filter .2s ease; }
.lb-zoomable:hover img { filter: brightness(.92); }
.wp-block-gallery .lb-trigger, .wp-block-gallery .lb-trigger img { height: 100%; }

/* Lightbox */
.pttk-lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(6 24 18 / .94); color: #fff; }
.pttk-lightbox::backdrop { background: rgb(6 24 18 / .6); }
.pttk-lightbox figure { display: grid; place-items: center; gap: 10px; height: 100%; margin: 0; padding: 56px 72px 24px; }
.pttk-lightbox img { max-width: 100%; max-height: calc(100vh - 110px); object-fit: contain; border-radius: 6px; }
.pttk-lightbox figcaption { font-size: .9rem; opacity: .8; }
.pttk-lightbox button { position: fixed; display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%; background: #ffffff1f; color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; }
.pttk-lightbox button:hover { background: #ffffff38; }
.pttk-lightbox .lb-close { top: 14px; right: 14px; }
.pttk-lightbox .lb-prev { left: 14px; top: 50%; translate: 0 -50%; }
.pttk-lightbox .lb-next { right: 14px; top: 50%; translate: 0 -50%; }
.pttk-lightbox.lb-single :is(.lb-prev, .lb-next) { display: none; }

/* ---------- Sidebar ---------- */
.page-aside { position: sticky; top: 20px; display: grid; gap: 18px; }
.aside-card { padding: 20px; border: 1px solid #e0e8e3; border-radius: 10px; background: #fff; box-shadow: var(--card-shadow); }
.aside-title { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-family: var(--font-cond); font-size: 1.15rem; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: var(--forest-dark); }
.aside-title .icon { width: 22px; height: 22px; color: var(--forest); }
.aside-section ul, .aside-toc ol, .aside-contact ul { margin: 0; padding: 0; list-style: none; }
.aside-section a { display: flex; align-items: center; gap: 12px; min-height: 42px; padding: 6px 10px; border-radius: 7px; color: var(--ink); font-weight: 500; text-decoration: none; }
.aside-section a .icon { width: 20px; height: 20px; color: var(--forest); }
.aside-section a:hover { background: var(--mint); color: var(--forest); }
.aside-section a[aria-current] { background: var(--forest); color: #fff; font-weight: 600; }
.aside-section a[aria-current] .icon { color: #fff; }
.aside-toc ol { counter-reset: toc; border-left: 2px solid var(--line); }
.aside-toc li { margin: 0; }
.aside-toc a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; color: #3a4a43; font-size: .95rem; line-height: 1.35; text-decoration: none; }
.aside-toc .toc-h3 a { padding-left: 28px; font-size: .9rem; }
.aside-toc a:hover { color: var(--forest); border-left-color: var(--forest); }
.aside-toc a.is-active { color: var(--forest); border-left-color: var(--red); font-weight: 600; }
.aside-contact { position: relative; overflow: hidden; padding-bottom: 96px; background: linear-gradient(180deg, var(--forest) 0%, var(--forest-deep) 100%); border: 0; color: #fff; }
.aside-contact::after { content: ""; position: absolute; inset: auto -10px -1px; height: 80px; background: url("../images/forest-edge.svg") no-repeat right bottom / auto 100%; filter: brightness(.7); pointer-events: none; }
.aside-contact .aside-title { color: #fff; font-family: var(--font-serif); font-size: 1.4rem; text-transform: none; letter-spacing: 0; margin-bottom: 4px; }
.aside-contact p { margin: 0 0 12px; color: #d8e8de; font-size: .95rem; }
.aside-contact li { display: flex; align-items: center; gap: 10px; min-height: 38px; font-size: .97rem; }
.aside-contact a { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.aside-contact a:hover { text-decoration: underline; }
.aside-contact .icon { width: 20px; height: 20px; flex: 0 0 auto; }
.aside-hours { font-size: .9rem !important; }
.aside-hours strong { font-weight: 600; margin-right: 4px; }
.aside-contact .membership-button { position: relative; z-index: 1; width: 100%; margin-top: 14px; justify-content: center; }

/* ---------- Hub tiles ---------- */
.hub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.hub-card { position: relative; display: grid; align-content: start; gap: 8px; height: 100%; padding: 22px 22px 54px; border: 1px solid #e0e8e3; border-radius: 10px; background: #fff; box-shadow: var(--card-shadow); color: var(--ink); text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.hub-card:hover { transform: translateY(-2px); border-color: var(--forest); box-shadow: 0 10px 24px rgb(10 58 42 / .14); }
.hub-media { display: block; margin: -22px -22px 0; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 10px 10px 0 0; }
.hub-image { width: 100%; height: 100%; object-fit: cover; }
.hub-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--forest); color: #fff; }
.hub-card-image .hub-icon { margin-top: -38px; border: 3px solid #fff; position: relative; }
.hub-icon .icon { width: 28px; height: 28px; }
.hub-title { margin-top: 4px; font-family: var(--font-cond); font-size: 1.3rem; font-weight: 700; line-height: 1.15; color: var(--forest-dark); }
.hub-lead { font-size: .95rem; line-height: 1.45; color: #3d4b44; }
.hub-arrow { position: absolute; right: 18px; bottom: 18px; width: 22px; height: 22px; color: var(--forest-dark); transition: transform .18s ease; }
.hub-card:hover .hub-arrow { transform: translateX(3px); }

/* Cards without photo or description: compact row */
.hub-card:not(.hub-card-image):not(:has(.hub-lead)) { grid-template-columns: auto 1fr; align-items: center; gap: 16px; padding: 16px 52px 16px 16px; min-height: 86px; }
.hub-card:not(.hub-card-image):not(:has(.hub-lead)) .hub-title { margin: 0; }
.hub-card:not(.hub-card-image):not(:has(.hub-lead)) .hub-arrow { top: 50%; bottom: auto; margin-top: -11px; }
.hub-card:not(.hub-card-image):has(.hub-lead) { grid-template-columns: auto 1fr; column-gap: 16px; }
.hub-card:not(.hub-card-image):has(.hub-lead) .hub-icon { grid-row: span 2; }

/* Lists of documents and icon links from the old page builder */
.subpage .entry-content ul:has(> li > a > svg) { padding-left: 0; }
.subpage .entry-content ul:has(> li > a > svg) > li { list-style: none; margin-bottom: 10px; padding: 0; }
.subpage .entry-content li > a:has(> svg) { display: inline-flex; align-items: center; gap: 10px; }

/* ---------- Empty notice ---------- */
.empty-notice { display: flex; gap: 22px; align-items: flex-start; padding: 28px; border-radius: 12px; background: var(--mint); border: 1px dashed #b9d4c4; }
.empty-icon { flex: 0 0 auto; width: 48px; height: 48px; color: var(--forest); }
.empty-notice h2 { margin: 0 0 8px; font-size: 1.5rem; }
.empty-notice p { margin: 0 0 14px; max-width: 58ch; color: #34433c; }
.empty-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.button-quiet { background: #fff; color: var(--forest-dark); border-color: var(--forest); }
.button-quiet:hover { background: var(--mint); color: var(--forest-dark); }
.empty-notice .search-form { margin-bottom: 14px; }

/* ---------- Posts ---------- */
.article-figure { margin: 0 0 32px; }
.subpage .article-image { width: 100%; max-height: 560px; margin: 0; object-fit: cover; border-radius: 12px; box-shadow: 0 10px 30px rgb(10 58 42 / .14); }
.share-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; max-width: 760px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-weight: 600; color: var(--muted); }
.share-link { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--forest-dark); font: 600 .92rem var(--font-sans); text-decoration: none; cursor: pointer; }
.share-link:hover { border-color: var(--forest); background: var(--mint); }
.share-link .icon { width: 18px; height: 18px; }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; max-width: 760px; margin: 28px 0 0; }
.post-tags a { padding: 3px 10px; border-radius: 4px; background: var(--mint); font-size: .88rem; text-decoration: none; }
.post-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-bottom: 12px; }
.pager-card { display: flex; align-items: center; gap: 14px; padding: 12px; border: 1px solid #e0e8e3; border-radius: 10px; background: #fff; color: var(--forest-dark); font-weight: 600; line-height: 1.3; text-decoration: none; box-shadow: var(--card-shadow); }
.pager-card:hover { border-color: var(--forest); }
.pager-card img { width: 72px; height: 72px; flex: 0 0 auto; object-fit: cover; border-radius: 7px; }
.pager-card small { display: block; margin-bottom: 3px; font-family: var(--font-cond); font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.pager-next { flex-direction: row-reverse; text-align: right; }
.related-posts { border-top: 1px solid var(--line); }
.post-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.listing .post-card .card-body, .related-posts .post-card .card-body { padding: 15px; }
.listing { padding-top: 36px; }
.listing-search { max-width: 520px; margin-bottom: 26px; }
.pagination .nav-links, .pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 36px 0 0; padding: 0; list-style: none; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--forest-dark); font-weight: 600; text-decoration: none; }
.pagination a.page-numbers:hover { border-color: var(--forest); }
.pagination .page-numbers.current { background: var(--forest); border-color: var(--forest); color: #fff; }

/* Opening hours page */
.office-card { max-width: 760px; padding: 32px; border-radius: 12px; background: var(--mint); }
.office-hours-large { display: grid; gap: 6px; margin: 0 0 22px; font-size: clamp(1.1rem, 2.4vw, 1.45rem); }
.office-hours-large div { display: grid; grid-template-columns: minmax(11em, auto) 1fr; gap: 16px; padding-bottom: 6px; border-bottom: 1px solid #cfe0d6; }
.office-hours-large dt { font-weight: 600; }
.office-hours-large dd { margin: 0; }
.office-address { display: flex; align-items: center; gap: 10px; }
.office-address .icon { width: 22px; height: 22px; color: var(--forest); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
	.page-layout, .page-layout-hub { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-block: 28px 48px; }
	.page-aside { position: static; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
	.page-aside .aside-section { display: none; }
	.page-band-has-image .page-band-inner { grid-template-columns: minmax(0, 1fr); }
	.page-band-image { max-width: 560px; }
	.post-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
	.page-band-inner { gap: 20px; padding-block: 14px 40px; }
	.page-band h1 { font-size: clamp(1.8rem, 8.5vw, 2.4rem); }
	.page-band-lead { font-size: 1.02rem; }
	.page-band-image img { aspect-ratio: 16 / 9; }
	.page-band-image::before { display: none; }
	.breadcrumbs li:not(:first-child):not(:last-child) { display: none; }
	.breadcrumbs li:last-child::before { content: "…"; width: auto; height: auto; border: 0; transform: none; margin: 0 8px; }
	.breadcrumbs li:nth-child(2):last-child::before { content: ""; width: 6px; height: 6px; border: solid #8aa496; border-width: 1.5px 1.5px 0 0; transform: rotate(45deg); margin: 0 10px; }
	.subpage .entry-content { font-size: 1.02rem; }
	.subpage .entry-content blockquote { padding: 18px 18px 18px 48px; font-size: 1.12rem; }
	.subpage .entry-content blockquote::before { left: 10px; font-size: 3rem; }
	.subpage .entry-content .wp-block-table, .subpage .entry-content table { display: block; overflow-x: auto; }
	.pttk-auto-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.empty-notice { flex-direction: column; padding: 22px; }
	.post-grid-3 { grid-template-columns: minmax(0, 1fr); }
	.post-pager { grid-template-columns: minmax(0, 1fr); }
	.pager-next { flex-direction: row; text-align: left; }
	.pttk-lightbox figure { padding: 60px 8px 20px; }
	.pttk-lightbox .lb-prev, .pttk-lightbox .lb-next { top: auto; bottom: 14px; translate: none; }
	.pttk-tabs [role=tab] { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
	.hub-card, .hub-card:hover, .hub-arrow, .lb-zoomable img { transition: none; transform: none; }
}
@media print {
	.page-aside, .page-chips, .share-row, .post-pager, .related-posts, .site-header, .site-footer, .regional-strip, .mobile-contact { display: none !important; }
	.page-layout { display: block; }
	.page-band { background: none; border: 0; }
}
.subpage .wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) { flex-grow: 0; }
