/* Styles only the WordPress site needs (WooCommerce, plain pages, form notices). site.css is a straight copy of the design. */

/* WordPress-only bits */
.prose { max-width: 70ch; font-size: 18px; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.1em; }
.prose h2, .prose h3 { margin: 1.6em 0 .6em; }
.prose a, .page-hero p a { text-decoration: underline; text-underline-offset: 3px; }
.form-notice { padding: 14px 18px; border-radius: 14px; background: var(--sage); color: #000; }
.form-notice--error { background: #F6D9D6; }

/* WooCommerce cart, checkout and account pages */
.page-hero--small { padding: 72px 0 32px; }
.page-hero--small h1 { font-size: clamp(36px, 5vw, 64px); }
.shop { font-size: 16px; }
.shop .wc-block-components-button:not(.is-link), .shop .woocommerce-button, .shop .button, .shop button[type="submit"] { background: var(--fg); color: var(--bg); border: 0; border-radius: 999px; min-height: 52px; padding: 0 26px; font: 500 16px/1 "Geist", system-ui, sans-serif; }
.shop .wc-block-components-button:not(.is-link):hover, .shop .button:hover { background: var(--charcoal); color: #fff; }
.shop input:not([type="checkbox"]):not([type="radio"]), .shop select, .shop textarea { border-radius: 14px !important; }
.shop .wc-block-components-sidebar { background: var(--soft); border-radius: 24px; padding: 24px; }
.shop .woocommerce-message, .shop .woocommerce-info, .shop .woocommerce-error, .shop .wc-block-components-notice-banner { border-radius: 14px; }
.shop a:not(.wc-block-components-button):not(.button) { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 600px) { .page-hero--small { padding: 48px 0 24px; } .shop .wc-block-components-sidebar { padding: 16px; } }
.shop .wc-block-components-order-summary-item__image { display: none; } /* services have no product photos */
.shop .wc-block-components-order-summary-item { padding-left: 0; }

/* Blog: category chips, breadcrumbs, post page, pagination */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 40px; }
.chips a { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; font-weight: 500; }
.chips a { transition: transform .18s var(--ease), border-color .18s; }
.chips a { display: inline-flex; align-items: center; min-height: 44px; }
.chips a:hover { border-color: var(--fg); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .chips a:hover { transform: translateY(-2px); } }
.chips a[aria-current="page"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; font-size: 14px; color: var(--muted); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; margin: -14px 0; }
.crumbs a:hover { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
.page-hero--topic h1 { font-size: clamp(40px, 6vw, 80px); max-width: 18ch; }
.page-hero--post { padding: 72px 0 24px; }
.page-hero--post h1 { font-size: clamp(34px, 5vw, 64px); max-width: 22ch; margin-top: 20px; line-height: 1.04; }
.page-hero--post p { font-size: 20px; color: var(--muted); max-width: 60ch; margin-top: 20px; }
.page-hero--post .byline { font-size: 15px; margin-top: 24px; }
.page-hero--post .post-meta { margin-top: 0; }
@media (max-width: 760px) { .page-hero--post { padding: 40px 0 16px; } .page-hero--post p { font-size: 18px; } }
.cover--photo { overflow: hidden; padding: 0; }
.cover--photo img { width: 100%; height: 100%; object-fit: cover; }
.cover--wide { aspect-ratio: 16 / 8; margin-top: 16px; }
.prose--post { font-size: 19px; line-height: 1.7; }
.prose--post h2 { font-size: clamp(26px, 3vw, 34px); line-height: 1.15; }
.prose--post h3 { font-size: 22px; }
.prose--post ul, .prose--post ol { padding-left: 1.3em; }
.prose--post li { margin-bottom: .4em; }
.prose--post blockquote { margin: 1.6em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--fg); color: var(--muted); }
.prose--post img { border-radius: 16px; height: auto; }
.prose--post table { width: 100%; border-collapse: collapse; font-size: 16px; }
.prose--post th, .prose--post td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.prose--post code { padding: 2px 6px; border-radius: 6px; background: var(--soft); font-size: .9em; }
.prose--post pre { padding: 16px; border-radius: 14px; background: var(--soft); overflow-x: auto; }
.more-title { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 32px; }
.empty { font-size: 18px; color: var(--muted); }
.empty a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
.pagination { margin-top: 56px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pagination .page-numbers { min-width: 44px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; text-align: center; font-weight: 500; }
.pagination a.page-numbers:hover { border-color: var(--fg); }
.pagination .current { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.pagination .dots { border: 0; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
