/*
Theme Name: Shaw Stays
Theme URI: https://shawstays.co.uk/
Author: Shaw Stays
Description: Lightweight companion theme for the Shaw Stays website. Works with the Shaw Stays Core plugin and Elementor: the plugin supplies the pages, header, footer and styles; this theme provides a clean, fast base and a matching fallback layout for any page not built by the plugin.
Version: 1.0.0
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: shaw-stays-theme
Tags: one-column, custom-logo, custom-menu, featured-images, translation-ready
*/

/* Base styles for the fallback layout. Pages built by Shaw Stays Core use the plugin's own styles. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #F7F3EC; color: #3E3A36; font: 17px/1.65 Jost, "Avenir Next", "Segoe UI", Roboto, Arial, sans-serif; }
img, video { max-width: 100%; height: auto; }
a { color: #86601F; }
a:hover { color: #0F2A42; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid #86601F; outline-offset: 3px; }
h1, h2, h3, h4 { color: #0F2A42; font-family: "Bodoni Moda", Didot, "Times New Roman", serif; font-weight: 400; line-height: 1.15; }
h1 { font-size: clamp(34px, 5vw, 56px); margin: 0 0 .5em; }
h2 { font-size: clamp(26px, 3.4vw, 38px); margin: 1.6em 0 .5em; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.screen-reader-text:focus { position: static !important; width: auto; height: auto; clip: auto; padding: 10px 16px; background: #0F2A42; color: #F7F3EC; }
.st-container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.st-narrow { width: min(800px, 100% - 40px); margin-inline: auto; }
.st-main { padding: 64px 0 96px; }
.st-header { background: #F7F3EC; border-bottom: 1px solid #E2D9CA; }
.st-header .st-container { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; flex-wrap: wrap; }
.st-brand { font-family: "Bodoni Moda", Didot, serif; font-size: 26px; color: #0F2A42; text-decoration: none; }
.st-brand img { display: block; max-height: 56px; width: auto; }
.st-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 22px; }
.st-menu a { display: inline-flex; align-items: center; min-height: 44px; color: #0F2A42; text-decoration: none; }
.st-footer { background: #0F2A42; color: #C8CFDA; padding: 40px 0; font-size: 15px; }
.st-footer a { color: #E7EAF0; }
.st-entry + .st-entry { margin-top: 56px; padding-top: 40px; border-top: 1px solid #E2D9CA; }
.st-meta { color: #5F5A54; font-size: 15px; }
.st-content > * { max-width: 100%; }
.st-pagination { margin-top: 48px; display: flex; gap: 8px; flex-wrap: wrap; }
.st-pagination .page-numbers { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; border: 1px solid #CFC4B2; color: #0F2A42; text-decoration: none; }
.st-pagination .current { background: #0F2A42; color: #F7F3EC; border-color: #0F2A42; }
.st-search { display: flex; gap: 8px; max-width: 420px; }
.st-search input[type=search] { flex: 1; min-height: 44px; padding: 0 12px; border: 1px solid #CFC4B2; font: inherit; }
.st-search button { min-height: 44px; padding: 0 18px; background: #0F2A42; color: #F7F3EC; border: 0; font: inherit; cursor: pointer; }
