/* WordPress additions. Loaded after the original stylesheets; the original design rules are untouched. */

/* Section backgrounds editable in ACF: same tints as style.css, image supplied via --section-bg. */
.about[style*="--section-bg"]{background-image:linear-gradient(120deg,#f5f4f0e8,#efede9ed),var(--section-bg)}
.gallery-content[style*="--section-bg"]{background-image:linear-gradient(#292929ed,#292929f5),var(--section-bg)}
.cta-band[style*="--section-bg"]{background-image:linear-gradient(#292929cf,#292929d9),var(--section-bg)}

/* Keep the sticky header below the WordPress admin toolbar for logged-in users. */
.admin-bar .header{top:32px}
@media screen and (max-width:782px){.admin-bar .header{top:46px}}
@media screen and (max-width:600px){.admin-bar .header{top:0}}

/* Contact Form 7 enquiry form: keep the original form look (status text like the original #form-status). */
.contact-grid>.wpcf7{align-self:start;min-width:0}
.wpcf7 .woc-enquiry-form .wpcf7-form-control-wrap{display:block}
.wpcf7 .woc-enquiry-form .wpcf7-not-valid-tip{font-size:12px;font-weight:normal;margin-top:6px}
.wpcf7 .woc-enquiry-form .wpcf7-not-valid{border-color:#dc3232}
.wpcf7 .woc-enquiry-form .wpcf7-response-output{display:block!important;margin:15px 0 22px;padding:0;border:0;font-size:13px;font-weight:normal}
.wpcf7 .woc-enquiry-form.submitting .btn{opacity:.6;cursor:wait;pointer-events:none}

/* Core WordPress helpers. */
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important}
.screen-reader-text:focus{background:#fff;clip:auto!important;clip-path:none;color:#031e4d;display:block;font-size:14px;height:auto;left:5px;padding:15px 23px;top:5px;width:auto;z-index:100000}
.alignleft{float:left;margin:0 1.5em 1em 0}
.alignright{float:right;margin:0 0 1em 1.5em}
.aligncenter{display:block;margin-left:auto;margin-right:auto}
.wp-caption,.wp-block-image figcaption{font-size:13px;color:#777}

/* Inner pages (page.php, single.php, archive.php, 404.php) reuse the site typography. */
.woc-page{padding-bottom:100px}
.woc-page-header{background:#f6f5f2;padding:70px 0 60px;margin-bottom:60px}
.woc-page-header h1{margin:0;font-size:clamp(34px,4vw,52px);line-height:1.15;letter-spacing:-1.5px;color:var(--brand-blue,#031e4d)}
.woc-page-header p{margin:12px 0 0;color:#777}
.entry-content{max-width:860px}
.entry-content>*:first-child{margin-top:0}
.entry-content img{max-width:100%;height:auto}
.entry-content a{color:var(--brand-red,#b0101a);text-decoration:underline}
.entry-content h2,.entry-content h3{line-height:1.25;margin:1.6em 0 .6em}
.woc-thumbnail{margin-bottom:35px}
.woc-thumbnail img{width:100%;height:auto;max-height:520px;object-fit:cover}
.woc-post-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:40px}
.woc-post-card img{width:100%;height:230px;object-fit:cover;margin-bottom:18px}
.woc-post-card h2{font-size:22px;letter-spacing:-.5px;line-height:1.3;margin:0 0 8px}
.woc-post-card h2 a:hover{color:var(--brand-red,#b0101a)}
.woc-meta{font-size:13px;color:#888}
.woc-pagination{margin-top:50px}
.woc-pagination .nav-links{display:flex;gap:10px;flex-wrap:wrap}
.woc-pagination .page-numbers{padding:6px 14px;border:1px solid #ddd}
.woc-pagination .page-numbers.current{background:var(--brand-blue,#031e4d);color:#fff;border-color:var(--brand-blue,#031e4d)}
.woc-404 .btn{margin-top:20px}
.comments-area{max-width:860px;margin-top:60px}
