/* Pools4You inner pages on the kit's system (linen-harbour, Onest) */
:root {
  --p-bg: #f3f1ec; --p-surface: #e6e2d9; --p-ink: #1d2530; --p-muted: #5a6270;
  --p-accent: #2c5877; --p-accent-ink: #ffffff; --p-action: #2c5877; --p-action-ink: #ffffff;
  --p-inv-bg: #1d2530; --p-inv-surface: #29313b; --p-inv-ink: #f3f1ec; --p-inv-muted: #9a9d9f;
  --p-inv-accent: #f3f1ec; --p-inv-accent-ink: #1d2530; --p-inv-action: #f3f1ec; --p-inv-action-ink: #1d2530;
  --font-display: "Onest", system-ui, sans-serif; --font-text: "Onest", system-ui, sans-serif;
  --display-weight: 400; --display-tracking: -0.035em; --display-tracking-xl: -0.04em;
}
.page-hero { background: none !important; padding: calc(var(--nav-h, 72px) + 56px) 0 40px; }
.page-hero h1 { font-size: var(--t-h1); max-width: 22ch; margin: 12px 0 16px; }
.page-hero .eyebrow { font-size: var(--t-label); color: var(--accent); letter-spacing: .02em; }
.page-lead { font-size: var(--t-lead); color: var(--muted); max-width: 62ch; margin: 0; }
.page-meta { margin-top: 12px; color: var(--muted); font-size: var(--t-small); }
.breadcrumbs { font-size: var(--t-small); color: var(--muted); margin-bottom: 20px; }
.breadcrumbs a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumbs span { margin: 0 4px; }
.page-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; padding-bottom: 64px; align-items: start; }
.page-wrap-full { padding-bottom: 64px; }
.prose { font-size: 1.0625rem; line-height: 1.75; max-width: 72ch; min-width: 0; }
.prose h2 { font-size: var(--t-h3); margin: 48px 0 12px; }
.prose h3 { font-size: 1.2rem; margin: 32px 0 8px; }
.prose p, .prose ul, .prose ol { margin: 0 0 16px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose blockquote { border-left: 3px solid var(--accent); margin: 24px 0; padding: 4px 20px; color: var(--muted); }
.page-img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-lg, 16px); margin: 0 0 32px; display: block; }
.table-wrap { overflow-x: auto; margin: 24px 0; }
.prose table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { font-weight: 500; background: var(--p-surface); }
.page-aside { position: sticky; top: calc(var(--nav-h, 72px) + 24px); display: flex; flex-direction: column; gap: 24px; }
.aside-box { background: var(--p-surface); border-radius: var(--r-lg, 16px); padding: 28px; }
.aside-box h3 { font-size: var(--t-card, 1.25rem); margin: 0 0 8px; }
.aside-box p { color: var(--muted); font-size: var(--t-small); }
.aside-box .btn { width: 100%; justify-content: center; margin-top: 8px; }
.aside-link { display: block; margin-top: 12px; color: var(--accent); font-size: var(--t-small); }
.aside-links ul { list-style: none; margin: 0; padding: 0; }
.aside-links li { border-bottom: 1px solid var(--line); }
.aside-links a { display: block; padding: 10px 0; font-size: .95rem; }
.aside-links a:hover { color: var(--accent); }
.page-faq { margin-top: 48px; }
.page-faq > h2 { margin-bottom: 16px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; list-style: none; padding: 16px 32px 16px 0; font-weight: 500; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.4rem; color: var(--accent); }
.faq-item[open] summary::after { content: "–"; }
.faq-item > div { padding: 0 0 12px; color: var(--muted); }
.related { padding: 16px 0 64px; }
.related > h2 { font-size: var(--t-h3); margin-bottom: 24px; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.post-card { display: flex; flex-direction: column; color: inherit; }
.post-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-lg, 16px); transition: transform .4s var(--ease, ease); }
.post-card:hover img { transform: scale(1.025); }
.post-card > img { overflow: hidden; }
.post-card-body { padding: 16px 0 0; }
.post-card h3 { font-size: var(--t-card, 1.25rem); margin: 4px 0 8px; }
.post-card p { color: var(--muted); font-size: var(--t-small); margin: 0 0 8px; }
.post-meta { font-size: var(--t-small); color: var(--muted); }
.post-more { color: var(--accent); font-size: var(--t-small); font-weight: 500; }
.page-cta { background: var(--p-inv-bg); color: var(--p-inv-ink); border-radius: var(--r-lg, 16px); padding: 56px 40px; margin: 0 0 80px; display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; align-items: center; }
.page-cta h2 { color: var(--p-inv-ink); margin: 0; font-size: var(--t-h2); }
.page-cta p { color: var(--p-inv-muted); margin: 8px 0 0; }
.page-cta .btn-row { margin: 0; }
.page-cta .btn--secondary { color: var(--p-inv-ink); }
.blog-more { margin-top: 40px; color: var(--muted); }
.blog-more a { color: var(--accent); text-decoration: underline; }
@media (max-width: 1023px) {
  .page-wrap { grid-template-columns: 1fr; gap: 40px; }
  .page-aside { position: static; }
  .page-cta { grid-template-columns: 1fr; padding: 40px 24px; }
}
.prose ul { list-style: disc; } .prose ol { list-style: decimal; }
.product-img { aspect-ratio: 1 / 1; object-fit: contain; background: #fff; }
.product-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; margin: -16px 0 24px; }
.product-thumbs img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: 10px; }
.post-card img[width="400"][height="400"] { object-fit: contain; background: #fff; }
.shop-cat { padding: 24px 0 40px; scroll-margin-top: 96px; }
.shop-cat > h2 { font-size: var(--t-h3); margin-bottom: 20px; }
.shop-jump { margin-top: 20px; font-size: var(--t-small); line-height: 2; }
.shop-jump a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.proj-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-bottom: 24px; }
.proj-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.p4y-consent { position: fixed; z-index: 90; left: 16px; right: 16px; bottom: 16px; max-width: 560px; margin: 0 auto; background: var(--p-inv-bg, #1d2530); color: #f3f1ec; border-radius: 14px; padding: 16px 18px; box-shadow: 0 12px 40px rgb(0 0 0 / .25); font-size: .92rem; }
.p4y-consent p { margin: 0 0 12px; }
.p4y-consent__btns { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.p4y-consent button { font: inherit; border-radius: 10px; padding: 10px 16px; min-height: 44px; cursor: pointer; border: 1px solid rgb(243 241 236 / .4); background: transparent; color: inherit; }
.p4y-consent button.is-primary { background: #f3f1ec; color: #1d2530; border-color: #f3f1ec; }
@media (max-width: 767px) { .p4y-consent { bottom: 84px; } }
