/*
Theme Name: Twigs & Books — Willow type refresh
Author: Twigs & Books
Description: An editorial WordPress theme for wholesome reading, homestead stories, and a WooCommerce shop.
Version: 2.35.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: twigs-books
*/
:root{--ink:#1e3027;--green:#193b32;--cream:#f7f5ee;--copper:#9b6038;--line:#deded2;font-family:Georgia,serif;color:var(--ink);background:var(--cream)}*{box-sizing:border-box}body{margin:0}img{max-width:100%;height:auto}a{color:inherit;text-underline-offset:4px}a:hover{color:var(--copper)}.shell{width:100%;max-width:none;margin:0;padding-left:12px;padding-right:12px}.announcement{background:var(--green);color:var(--cream);text-align:center;padding:10px;font:600 12px/1.4 system-ui,sans-serif;letter-spacing:.13em;text-transform:uppercase}.site-header{display:flex;align-items:center;justify-content:space-between;gap:28px;min-height:86px;border-bottom:1px solid var(--line)}.site-title{font-size:30px;font-weight:bold;text-decoration:none;letter-spacing:-.055em;white-space:nowrap}.site-title span{color:#b87a4e}.primary-nav ul{list-style:none;display:flex;gap:26px;padding:0;margin:0;flex-wrap:wrap}.primary-nav a{font:600 13px system-ui,sans-serif;letter-spacing:.07em;text-decoration:none;text-transform:uppercase}.header-note{font:italic 16px Georgia,serif;color:#776e5e;white-space:nowrap}.hero{display:grid;grid-template-columns:1fr 1.05fr;min-height:520px}.hero-copy{padding:75px 50px 70px 0;display:flex;flex-direction:column;justify-content:center}.eyebrow{font:700 12px system-ui,sans-serif;text-transform:uppercase;letter-spacing:.2em;color:var(--copper);margin:0 0 24px}h1,h2,h3{font-weight:normal;letter-spacing:-.045em}h1{font-size:clamp(49px,6vw,82px);line-height:1.04;letter-spacing:-.055em;margin:0 0 28px}h1 em{color:var(--copper);font-weight:normal}.intro{font-size:19px;line-height:1.65;max-width:510px;margin:0 0 31px}.actions{display:flex;gap:13px;flex-wrap:wrap}.button,.wp-block-button__link,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{display:inline-block;border-radius:0;background:var(--green);color:#fff;padding:15px 23px;text-decoration:none;font:700 13px system-ui,sans-serif;letter-spacing:.05em;border:1px solid var(--green)}.button:hover,.wp-block-button__link:hover{background:#315b4d;color:white}.button.alt{background:transparent;color:var(--green)}.hero-image{position:relative;min-height:420px;background:#d8d4bf}.hero-image img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.hero-image .caption{position:absolute;right:18px;bottom:18px;background:var(--cream);padding:11px 15px;font:italic 15px Georgia,serif}.section{padding:68px 0;border-top:1px solid #d9d9ca}.section-title{display:flex;justify-content:space-between;gap:18px;align-items:end;margin-bottom:27px}.section h2{font-size:clamp(34px,4vw,49px);margin:0}.section-title p{margin:0;max-width:410px;line-height:1.55;color:#59675a}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.card{background:#eeeee3;padding:31px;min-height:244px;display:flex;flex-direction:column;justify-content:space-between;text-decoration:none}.card:nth-child(2){background:#e8e2d6}.card:nth-child(3){background:#dce5dc}.card .number{font:700 12px system-ui,sans-serif;letter-spacing:.12em;color:#8c5b3d}.card h3{font-size:29px;margin:25px 0 8px}.card p{line-height:1.5;margin:0;color:#4e5d52}.card .more{font:700 13px system-ui,sans-serif;margin-top:24px}.feature{background:var(--green);color:var(--cream);padding:65px 0}.feature-inner{display:grid;grid-template-columns:1fr 1fr;gap:80px}.feature .eyebrow{color:#dca678}.feature h2{font-size:clamp(36px,4vw,54px);line-height:1.1;margin:0}.feature p{font-size:18px;line-height:1.65;margin:4px 0 20px}.site-footer{padding:36px 32px 55px;display:flex;justify-content:space-between;gap:20px;color:#617064;font:14px system-ui,sans-serif}.site-footer strong{font:normal 24px Georgia,serif;color:var(--green)}.content{padding-top:55px;padding-bottom:85px;min-height:55vh}.content h1{font-size:clamp(42px,5vw,64px)}.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.post-card{border-top:1px solid var(--line);padding-top:22px}.post-card h2{font-size:24px;line-height:1.25;margin:8px 0}.post-card a{text-decoration:none}.post-card p,.entry-content{font-size:18px;line-height:1.7}.meta{font:600 12px system-ui,sans-serif;text-transform:uppercase;letter-spacing:.1em;color:var(--copper)}.entry{width:100%;max-width:none}.entry-content img{height:auto}.pagination{margin-top:36px}.screen-reader-text{position:absolute;clip:rect(1px,1px,1px,1px);height:1px;width:1px;overflow:hidden}.screen-reader-text:focus{position:static;clip:auto;height:auto;width:auto}.woocommerce .products li.product{background:#eeeee3;padding:18px}.woocommerce div.product{margin-top:30px}@media(max-width:900px){.site-header{flex-wrap:wrap;padding-top:18px;padding-bottom:18px}.header-note{display:none}.primary-nav{width:100%}.hero{grid-template-columns:1fr}.hero-copy{padding:60px 0}.hero-image{height:410px}.section-title{display:block}.section-title p{margin-top:15px}.cards,.post-grid{grid-template-columns:1fr}.card{min-height:210px}.feature-inner{grid-template-columns:1fr;gap:24px}}@media(max-width:500px){.shell{padding-left:20px;padding-right:20px}.site-title{font-size:27px}.primary-nav ul{gap:14px}.primary-nav a{font-size:11px}.hero-copy{padding:46px 0}.hero-image{height:310px;min-height:0}.intro{font-size:17px}.site-footer{display:block}.site-footer span{display:block;margin-top:15px}}
.search-band{border-top:1px solid var(--line);padding-top:43px;padding-bottom:43px;display:grid;grid-template-columns:minmax(180px,1fr) minmax(280px,2fr);align-items:center;gap:24px}.search-band h2{font-size:clamp(30px,3vw,42px);margin:0}.search-form{display:flex;width:100%;max-width:680px}.search-form label{flex:1}.search-field{width:100%;min-height:54px;padding:12px 16px;background:#fff;border:1px solid #aeb8ad;border-right:0;color:var(--ink);font:16px system-ui,sans-serif}.search-submit{min-height:54px;padding:0 23px;background:var(--green);border:1px solid var(--green);color:#fff;font:700 14px system-ui,sans-serif;cursor:pointer}.search-submit:hover{background:#315b4d}.post-card .post-image{display:block;aspect-ratio:4/3;overflow:hidden;margin-bottom:18px;background:#e8e2d6}.post-card .post-image img{width:100%;height:100%;object-fit:cover}.archive-intro{max-width:720px;font-size:19px;line-height:1.6;margin:0 0 46px}.archive-heading{font-size:clamp(42px,5vw,64px);margin-bottom:16px}.empty-note{font-size:18px;line-height:1.6;background:#eeeee3;padding:26px;max-width:720px}@media(max-width:700px){.search-band{grid-template-columns:1fr}.search-form{max-width:none}}
.section .post-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.post-card h3{font-size:22px;line-height:1.3;margin:8px 0}@media(max-width:900px){.section .post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.section .post-grid{grid-template-columns:1fr}}
.shop-categories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin:25px 0 60px}.shop-categories a{min-height:152px;background:#eeeee3;padding:26px;text-decoration:none;display:flex;flex-direction:column;justify-content:space-between}.shop-categories a:nth-child(3n+2){background:#e8e2d6}.shop-categories a:nth-child(3n+3){background:#dce5dc}.shop-categories a:hover{outline:2px solid var(--green);color:var(--ink)}.shop-categories span{font-size:26px;line-height:1.18;letter-spacing:-.03em}.shop-categories small{font:700 13px system-ui,sans-serif}.shop-list-heading{font-size:36px;margin:0 0 25px}@media(max-width:800px){.shop-categories{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:550px){.shop-categories{grid-template-columns:1fr}}
.site-footer{display:block;background:#e8e8df;padding:0;color:var(--ink);font:16px/1.6 system-ui,sans-serif}.footer-nav{display:flex;justify-content:center;gap:28px;flex-wrap:wrap;padding:28px 0;border-bottom:1px solid #cdd3c9}.footer-nav a,.footer-links a{text-decoration:underline;text-underline-offset:5px}.footer-columns{display:grid;grid-template-columns:1.4fr 1fr;gap:70px;padding:54px 0 70px}.footer-brand{font:normal 30px Georgia,serif;text-decoration:none;letter-spacing:-.04em}.footer-info p{margin:7px 0 28px}.footer-links{display:flex;flex-wrap:wrap;gap:12px 25px;max-width:600px;margin-bottom:35px;font-size:15px}.footer-info small{font-size:13px;color:#536458}.footer-newsletter h2{font:normal 34px/1.1 Georgia,serif;margin:0 0 14px}.footer-newsletter p{margin:0 0 21px}.footer-form-note{font-style:italic;color:#59675a}.footer-widget input[type="email"]{width:100%;padding:14px;border:1px solid #9da99f;font-size:16px}.footer-widget button,.footer-widget input[type="submit"]{padding:14px 25px;background:var(--green);color:#fff;border:1px solid var(--green);font:700 14px system-ui,sans-serif;cursor:pointer}.footer-widget h3{font:normal 22px Georgia,serif}@media(max-width:750px){.footer-columns{grid-template-columns:1fr;gap:36px}.footer-nav{justify-content:flex-start}.site-footer .shell{padding-left:20px;padding-right:20px}}
.shop-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:64px}.shop-sidebar{border-right:1px solid var(--line);padding-right:25px}.shop-sidebar h2{font-size:30px;margin:0 0 18px}.shop-sidebar ul{list-style:none;margin:0;padding:0}.shop-sidebar li{margin:0 0 11px}.shop-sidebar a{display:block;text-decoration:none;font:16px/1.4 system-ui,sans-serif;padding:5px 0}.shop-sidebar a.current{font-weight:700;color:var(--copper)}.shop-subcategories{padding:7px 0 7px 16px!important}.shop-subcategories a{font-size:15px}.shop-products{min-width:0}.shop-products h1{font-size:clamp(36px,4vw,54px);margin:0 0 12px}.shop-products .woocommerce .products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;clear:both}.shop-products .woocommerce ul.products li.product{float:none;width:auto;margin:0}.shop-products .woocommerce .products:before,.shop-products .woocommerce .products:after{display:none}@media(max-width:900px){.shop-layout{grid-template-columns:190px minmax(0,1fr);gap:30px}.shop-products .woocommerce .products{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.shop-layout{grid-template-columns:1fr;gap:30px}.shop-sidebar{border-right:0;border-bottom:1px solid var(--line);padding:0 0 20px}.shop-sidebar>nav>ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 15px}.shop-subcategories{display:block}.shop-products .woocommerce .products{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:440px){.shop-products .woocommerce .products{grid-template-columns:1fr}}

.primary-nav .nav-cart{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}.nav-cart svg{display:block}.cart-count{min-width:1ch;font:600 13px system-ui,sans-serif}

.book-list-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:48px}.book-list-sidebar{border-right:1px solid var(--line);padding-right:22px;align-self:start}.book-list-sidebar h2{font-size:28px;margin:0 0 20px}.book-list-sidebar ul{list-style:none;margin:0;padding:0}.book-list-sidebar li{border-bottom:1px solid var(--line);padding:9px 0}.book-list-sidebar a{font:16px/1.45 system-ui,sans-serif;text-decoration:none}.book-list-sidebar a:hover{text-decoration:underline}.book-list-results{min-width:0}.book-list-results .post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:750px){.book-list-layout{grid-template-columns:1fr;gap:30px}.book-list-sidebar{border-right:0;border-bottom:1px solid var(--line);padding:0 0 24px}}@media(max-width:500px){.book-list-results .post-grid{grid-template-columns:1fr}}
.contact-page{max-width:760px;margin:auto}.contact-form{display:grid;gap:12px;margin:30px 0 18px}.contact-form>label:not(.contact-checkbox){font:600 15px system-ui,sans-serif;margin-top:12px}.contact-form label span{font-weight:400}.contact-form input:not([type="checkbox"]),.contact-form textarea{width:100%;padding:13px 15px;border:1px solid #aab6ab;background:#fff;color:var(--ink);font:16px/1.5 system-ui,sans-serif}.contact-form input:focus-visible,.contact-form textarea:focus-visible{outline:2px solid var(--green);outline-offset:2px}.contact-checkbox{display:flex;align-items:center;gap:10px;font:15px/1.5 system-ui,sans-serif;margin:12px 0}.contact-checkbox input{width:19px;height:19px;accent-color:var(--green)}.contact-form button{justify-self:start;padding:15px 24px;border:0;background:var(--green);color:#fff;font:600 15px system-ui,sans-serif;cursor:pointer}.contact-feedback{padding:18px 22px;background:#e0eadd}.contact-error{background:#f6e7df}.contact-privacy{font:13px/1.6 system-ui,sans-serif;color:#526257}.contact-honeypot{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}

/* Olive-inspired contact page: soft sage, warm paper, editorial type. */
.contact-page{max-width:880px;margin:0 auto;padding:28px 0 80px}.contact-page>.eyebrow{color:#6b7969;letter-spacing:.22em}.contact-page>h1{font:normal clamp(52px,7vw,90px)/1.08 Georgia,serif;letter-spacing:-.045em;margin:10px 0 20px;color:#293f32}.contact-page>.entry-content{max-width:610px;color:#455747;font:18px/1.8 Georgia,serif;margin-bottom:38px}.contact-form{gap:0;margin:0;padding:clamp(24px,5vw,55px);background:#f4f3ed;border:1px solid #e1e3d9}.contact-form>label:not(.contact-checkbox){font:600 14px/1.4 system-ui,sans-serif;letter-spacing:.03em;color:#354838;margin:0 0 9px}.contact-form>label:not(.contact-checkbox) span{font-weight:400;color:#6e7c6e}.contact-form input:not([type="checkbox"]),.contact-form textarea{background:#fff;border:1px solid #c9d2c7;border-radius:0;color:#283d30;font:16px/1.5 system-ui,sans-serif;min-height:54px;padding:14px 17px;margin-bottom:27px;transition:border-color .2s,box-shadow .2s}.contact-form textarea{min-height:185px;resize:vertical}.contact-form input:not([type="checkbox"]):focus-visible,.contact-form textarea:focus-visible{border-color:#496c52;outline:2px solid #496c52;outline-offset:2px}.contact-checkbox{display:flex;align-items:flex-start;gap:13px;font:15px/1.55 system-ui,sans-serif;color:#415745;margin:-6px 0 29px}.contact-checkbox input{flex:none;width:19px;height:19px;margin:2px 0 0;accent-color:#4b7055}.contact-form button{margin-top:4px;background:#425f49;padding:17px 28px;font:600 14px system-ui,sans-serif;letter-spacing:.06em;text-transform:uppercase;transition:background .2s}.contact-form button:hover{background:#2a4835}.contact-form button span{font-size:19px;margin-left:12px;vertical-align:-1px}.contact-privacy{max-width:760px;margin:18px auto 0;font-size:13px;color:#667467}.contact-feedback{max-width:760px;margin:0 0 20px}@media(max-width:600px){.contact-page{padding:8px 0 55px}.contact-page>h1{font-size:54px}.contact-form{padding:24px 19px}}

/* Reusable book list pattern; cards wrap gracefully across screen sizes. */
.book-list-intro{max-width:840px;margin:0 0 28px}.book-list-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(18px,2.5vw,34px);align-items:start;margin:28px 0 48px}.book-list-grid>.book-list-card{min-width:0;margin:0;padding:0}.book-list-card .book-list-cover{margin:0 0 17px;line-height:0}.book-list-card .book-list-cover img{display:block;width:100%;height:auto;aspect-ratio:2/3;object-fit:cover;background:#edf0e9}.book-list-card h3{font-size:clamp(20px,2vw,25px);line-height:1.25;margin:0 0 6px}.book-list-card .book-list-author{font-size:15px;line-height:1.4;margin:0 0 12px}.book-list-card .book-list-rating{color:#556b50;font-weight:600;letter-spacing:.03em;margin:0 0 10px}.book-list-card .book-list-review{font-size:15px;line-height:1.6;margin:0}.book-list-card a:focus-visible{outline:2px solid currentColor;outline-offset:3px}@media(max-width:740px){.book-list-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.book-list-grid{grid-template-columns:1fr;max-width:410px}}

/* Book list posts use the full content width for four or five book covers. */
.content .entry:has(.book-list-grid){max-width:none;width:100%}.content .entry:has(.book-list-grid) .entry-content{max-width:none;width:100%}

/* Independent information links menu beside the footer copyright. */
.footer-legal-nav{display:flex;align-items:center;flex-wrap:wrap;gap:7px 20px;min-width:0}.footer-legal-menu{display:flex;flex-wrap:wrap;align-items:center;gap:7px 20px;list-style:none;margin:0;padding:0}.footer-legal-menu li{margin:0;padding:0}.footer-legal-menu a{white-space:nowrap}


/* Product detail: calm two-column composition with a clear purchase action. */
.woocommerce div.product{display:flow-root;margin:12px auto 0;max-width:1180px}
.woocommerce div.product div.images{width:48%;margin:0 0 48px}
.woocommerce div.product div.images img{display:block;width:100%;height:auto;border:1px solid var(--line,#e2e4df);border-radius:16px;background:#fff}
.woocommerce div.product div.summary{width:46%;margin:0 0 48px}
.woocommerce div.product .product_title{font-size:clamp(28px,3.2vw,43px);line-height:1.16;letter-spacing:-.035em;margin:0 0 18px}
.woocommerce div.product p.price,.woocommerce div.product span.price{font-size:21px;color:var(--ink,#22342a);margin:16px 0 25px}
.woocommerce div.product form.cart{display:flex;flex-wrap:wrap;gap:12px;margin:0 0 25px}
.woocommerce div.product form.cart .quantity{float:none;display:flex;align-items:center;margin:0}
.woocommerce div.product form.cart .quantity input.qty{width:82px;min-height:48px;border:1px solid var(--line,#d7ddd4);border-radius:6px;background:#fff;color:var(--ink,#22342a);font-size:17px;text-align:center}
.woocommerce div.product form.cart .single_add_to_cart_button{float:none;flex:1 1 100%;min-height:56px;width:100%;border-radius:7px;background:var(--green,#304f3d);color:white;font:600 15px/1.2 system-ui,sans-serif;letter-spacing:0;text-transform:none}
.woocommerce div.product form.cart .single_add_to_cart_button:hover{filter:brightness(1.12);color:white}
.twigs-product-description{border-top:1px solid var(--line,#d7ddd4);padding-top:23px;line-height:1.7}
.twigs-product-description h2{font:600 17px/1.4 system-ui,sans-serif;letter-spacing:0;margin:0 0 10px}
.twigs-product-description p{margin:0 0 12px}
.woocommerce div.product .woocommerce-tabs{clear:both;border-top:1px solid var(--line,#d7ddd4);padding-top:18px}
.woocommerce div.product section.related{clear:both;padding:32px 0 45px}
.woocommerce div.product section.related>h2{font:600 clamp(23px,2.6vw,32px)/1.2 system-ui,sans-serif;letter-spacing:-.02em;margin:0 0 26px}
.woocommerce div.product section.related ul.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}
.woocommerce div.product section.related ul.products:before,.woocommerce div.product section.related ul.products:after{display:none}
.woocommerce div.product section.related ul.products li.product{float:none;width:auto;margin:0;min-width:0}
.woocommerce div.product section.related ul.products li.product img{aspect-ratio:1;object-fit:cover;background:#fff}
@media(max-width:780px){.woocommerce div.product div.images,.woocommerce div.product div.summary{float:none;width:100%;margin-bottom:32px}.woocommerce div.product section.related ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Plain charcoal purchase button inspired by the product reference. */
.woocommerce div.product form.cart .single_add_to_cart_button,.woocommerce div.product form.cart .single_add_to_cart_button.button.alt{background:#22252a;color:#fff;border:0;border-radius:7px;box-shadow:none;text-transform:none;letter-spacing:0;font:600 15px/1.2 system-ui,sans-serif;min-height:56px}.woocommerce div.product form.cart .single_add_to_cart_button:hover,.woocommerce div.product form.cart .single_add_to_cart_button.button.alt:hover{background:#393d43;color:#fff;filter:none}


/* Reference product details: subtitle, restrained quantity control, spacious summary. */
.woocommerce div.product .twigs-product-subtitle{font:400 17px/1.5 system-ui,sans-serif;color:var(--ink,#333);opacity:.8;margin:0 0 27px}
.woocommerce div.product .product_title{margin-bottom:8px}
.woocommerce div.product form.cart .quantity{display:inline-flex;align-items:center;gap:7px;margin:0 0 14px}
.woocommerce div.product form.cart .quantity input.qty{width:42px;min-height:45px;border:0;background:transparent;appearance:textfield;-moz-appearance:textfield}
.woocommerce div.product form.cart .quantity input.qty::-webkit-inner-spin-button,.woocommerce div.product form.cart .quantity input.qty::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.woocommerce div.product .twigs-quantity-step{width:43px;height:43px;padding:0;border:1px solid var(--line,#ddd);border-radius:10px;background:transparent;color:var(--ink,#222);font:400 25px/1 system-ui,sans-serif;cursor:pointer}
.woocommerce div.product .twigs-quantity-step:hover{background:rgba(100,110,95,.08)}
.woocommerce div.product .twigs-quantity-step:focus-visible{outline:2px solid var(--green,#385d48);outline-offset:2px}

/* Keep the description in the right column before the purchase button. */
.woocommerce div.product .twigs-product-description{border-top:1px solid var(--line,#d7ddd4);padding:20px 0 8px;margin:10px 0 17px}.woocommerce div.product .twigs-product-description h2{margin-bottom:10px}.woocommerce div.product .twigs-product-description p{margin:0 0 12px}


/* Wider product canvas with lighter outer padding; other pages keep their margins. */
body.single-product .shop-content{max-width:1500px;padding-left:clamp(12px,1.6vw,24px);padding-right:clamp(12px,1.6vw,24px)}
body.single-product .shop-content .woocommerce div.product{max-width:none}
@media(max-width:600px){body.single-product .shop-content{padding-left:14px;padding-right:14px}}


/* Consistent narrower outer margins for the entire site. */
.shell{width:100%;max-width:none;margin-left:auto;margin-right:auto;padding-left:clamp(14px,1.6vw,24px);padding-right:clamp(14px,1.6vw,24px)}
.content .entry{max-width:none;margin-left:auto;margin-right:auto}
.content .entry:has(.book-list-grid){max-width:none}
@media(max-width:600px){.shell{padding-left:14px;padding-right:14px}}


/* Full-width layout with only a small inset on every page and post. */
.shell,body.single-product .shop-content{width:100%;max-width:none;padding-left:14px;padding-right:14px;margin-left:auto;margin-right:auto}
.content .entry,.content .entry:has(.book-list-grid){width:100%;max-width:none;margin-left:0;margin-right:0}
.content .entry-content{max-width:none;width:100%}
.contact-page,.contact-page>.entry-content{max-width:none}
.woocommerce div.product,body.single-product .shop-content .woocommerce div.product{max-width:none}
@media(max-width:600px){.shell,body.single-product .shop-content{padding-left:12px;padding-right:12px}}


/* Edge-to-edge content with a small, consistent safety inset. */
html body .shell,html body.single-product .shop-content{width:100%;max-width:none!important;margin-inline:0;padding-inline:12px!important}
html body .content,html body .content article.entry,html body .content article.entry .entry-content{width:100%;max-width:none!important;margin-inline:0}
html body.single .content article.entry{padding-inline:0}
html body .entry-content .is-layout-constrained,html body .entry-content .is-layout-constrained>*:not(.alignleft):not(.alignright){max-width:none!important;width:100%}
html body .contact-page,html body .contact-page>.entry-content{max-width:none!important;width:100%}
@media(max-width:600px){html body .shell,html body.single-product .shop-content{padding-inline:10px!important}}


/* Quiet linked tags beneath the full post, separated like the reference. */
.post-tags{display:flex;flex-wrap:wrap;align-items:center;gap:0 10px;margin:28px 0 35px;font:400 clamp(14px,1.3vw,17px)/1.7 system-ui,sans-serif;text-transform:lowercase;color:var(--ink,#222)}
.post-tags a{text-decoration:none;color:inherit}
.post-tags a:hover,.post-tags a:focus-visible{text-decoration:underline}
.post-tags-divider{color:#a2aaa0}
.archive-intro{line-height:1.65;margin-bottom:30px}
.archive-intro p{margin:0 0 12px}


/* The editable footer menu keeps the same layout as the sample links. */
.footer-menu{display:flex;flex-wrap:wrap;gap:10px 28px;list-style:none;margin:0;padding:0}
.footer-menu li{margin:0;padding:0}


/* Category landing pages: introduction, wide photograph, four recent stories. */
body.category .category-introduction{text-align:center;margin-bottom:38px}
body.category .category-introduction .archive-intro{margin:12px auto 28px;line-height:1.7}
body.category .category-intro-image{display:block;width:100%;height:auto;aspect-ratio:16/7;object-fit:cover;margin:24px 0 0}
body.category .content .post-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
body.category .post-card{min-width:0}
body.category .post-card .post-image{display:block;aspect-ratio:16/10;overflow:hidden}
body.category .post-card .post-image img{width:100%;height:100%;object-fit:cover}
@media(max-width:900px){body.category .content .post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){body.category .content .post-grid{grid-template-columns:1fr}}
