/*
Theme Name: Eweboys
Theme URI: https://eweboys.co.uk
Author: Eweboys Limited
Description: Block theme for Eweboys short and mid stays, built from the Eweboys Claude Design. Green, gold and terracotta palette, Bricolage Grotesque and Inter, woven stripe accents, and ready-made patterns for the home, stay, landlord, terms and privacy pages.
Version: 1.4.0
Requires at least: 6.5
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: eweboys
*/

/* Woven stripe band */
.ewe-weave{height:8px;padding:0!important;margin:0!important;background-image:repeating-linear-gradient(90deg,#1F4D3B 0 18px,#D9A23A 18px 26px,#B4532A 26px 32px,#F7F4EE 32px 36px,#1A1F1C 36px 44px,#F7F4EE 44px 48px)}

/* Sections */
.ewe-section{padding-top:clamp(56px,8vw,96px);padding-bottom:clamp(56px,8vw,96px)}
.ewe-section-tight{padding-top:32px;padding-bottom:32px}
.ewe-band{background:#F7F4EE;border-top:1px solid #E4DED3;border-bottom:1px solid #E4DED3}
.ewe-dark{background:#1A1F1C;color:#F7F4EE}
.ewe-dark h1,.ewe-dark h2,.ewe-dark h3{color:#F7F4EE}
.ewe-dark p{color:rgba(247,244,238,.85)}
.ewe-dark .ewe-eyebrow{color:#D9A23A}
.ewe-dark .ewe-lead{color:rgba(247,244,238,.85)}
.ewe-divider{margin-top:56px!important;padding-top:56px;border-top:1px solid rgba(247,244,238,.18)}
.ewe-green{background:#1F4D3B;color:#F7F4EE}
.ewe-green h2,.ewe-green h3{color:#F7F4EE}
.ewe-green p,.ewe-green li{color:rgba(247,244,238,.88)}
.ewe-green .ewe-eyebrow{color:#D9A23A}

/* Text helpers */
.ewe-eyebrow{font-size:13px!important;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:#B4532A;margin:0}
.ewe-lead{font-size:19px;line-height:1.55;color:#4C544F;max-width:560px}
.ewe-muted{color:#5B635E;font-size:14px}
.ewe-small{font-size:13px;color:#5B635E}
.ewe-display{font-size:clamp(44px,6vw,76px)!important;line-height:.98!important;letter-spacing:-.03em}
.ewe-h2{font-size:clamp(34px,4vw,52px)!important;line-height:1!important;letter-spacing:-.02em}
.ewe-stat{font-family:var(--wp--preset--font-family--bricolage);font-size:30px;font-weight:800;margin:0;color:#1A1F1C}

/* Pills */
.ewe-pill{display:inline-block;background:#fff;border:1px solid #E4DED3;border-radius:999px;padding:7px 14px;font-size:14px;font-weight:500;margin:0}

/* Cards */
.ewe-card{background:#fff;border:1px solid #E4DED3;border-radius:24px;padding:28px}
.ewe-card h3{margin:0}
.ewe-card p{margin:0;font-size:15px;line-height:1.55;color:#4C544F}
.ewe-card-green{background:#1F4D3B;color:#F7F4EE;border:0}
.ewe-card-green h3{color:#F7F4EE}
.ewe-card-green p{color:rgba(247,244,238,.85)}
.ewe-card-featured{border:2px solid #1F4D3B;border-radius:28px;padding:36px}
.ewe-card-plain{border-radius:28px;padding:36px}
.ewe-stay{padding:0;overflow:hidden}
.ewe-stay .ewe-stay-body{padding:22px}
.ewe-stay .ewe-photo img,.ewe-stay .ewe-photo-placeholder{border-radius:0;height:220px}
.ewe-quote p:first-of-type{font-size:18px;line-height:1.5;color:#1A1F1C}
.ewe-review-logo{margin:0 0 4px}
.ewe-review-logo img{height:40px;width:auto;display:block}
.ewe-review-logo-tall img{height:72px}

/* Photos */
.ewe-photo{margin:0}
.ewe-photo img{width:100%;height:100%;object-fit:cover;border-radius:24px;display:block}
.ewe-photo-tall img{min-height:460px}
.ewe-photo-short img{height:223px}
.ewe-photo-placeholder{min-height:214px;border-radius:24px;background:#E7E0D3 repeating-linear-gradient(135deg,rgba(26,31,28,.05) 0 12px,rgba(26,31,28,0) 12px 24px);display:flex;align-items:flex-end;padding:18px}
.ewe-placeholder-label{font-size:13px;color:#5B635E;margin:0}
.ewe-ba figure{position:relative;margin:0}
.ewe-ba figure img{aspect-ratio:3/2;object-fit:cover;width:100%;border-radius:20px}
.ewe-ba .ewe-tag{position:relative;top:0;display:inline-block;margin:0 0 8px;padding:5px 12px;border-radius:999px;font-size:13px;font-weight:600;background:#1A1F1C;color:#fff}
.ewe-ba .ewe-tag-after{background:#1F4D3B}

/* Lists with ticks */
.ewe-ticks{list-style:none;padding-left:0}
.ewe-ticks li{position:relative;padding-left:30px;margin:0 0 10px}
.ewe-ticks li:before{content:"";position:absolute;left:2px;top:.35em;width:14px;height:8px;border-left:2.5px solid currentColor;border-bottom:2.5px solid currentColor;transform:rotate(-45deg);color:#1F4D3B}
.ewe-green .ewe-ticks li:before{color:#D9A23A}

/* FAQ */
.ewe-faq{background:#fff;border:1px solid #E4DED3;border-radius:18px;padding:0 22px;margin:0 0 12px}
.ewe-faq summary{cursor:pointer;padding:20px 0;font-family:var(--wp--preset--font-family--bricolage);font-size:19px;font-weight:700}
.ewe-faq p{margin:0;padding:0 0 20px;color:#4C544F;line-height:1.65}

/* Table */
.ewe-table{background:#fff;border:1px solid #E4DED3;border-radius:24px;overflow-x:auto}
.ewe-table table{border-collapse:collapse;min-width:620px}
.ewe-table th,.ewe-table td{border:0;border-bottom:1px solid #EFEAE1;padding:18px 24px;text-align:left}
.ewe-table thead th{font-family:var(--wp--preset--font-family--bricolage);font-size:18px;border-bottom:1px solid #E4DED3}
.ewe-table thead{border:0}
.ewe-table td:nth-child(2){color:#1F4D3B;font-weight:500}
.ewe-table td:first-child{font-weight:600}

/* Steps */
.ewe-step-num{width:44px;height:44px;border-radius:999px;background:#F1E6D2;color:#8A5A12;display:flex!important;align-items:center;justify-content:center;font-family:var(--wp--preset--font-family--bricolage);font-weight:800;font-size:20px;margin:0}

/* Header */
.ewe-header{padding-top:18px;padding-bottom:18px}
.ewe-brand img{width:38px;height:auto}
.ewe-brand .wp-block-site-title a{text-decoration:none;color:#1A1F1C}
.ewe-wordmark{font-family:var(--wp--preset--font-family--bricolage);font-weight:800;font-size:26px;letter-spacing:-.03em;line-height:1;margin:0}
.ewe-wordmark a{text-decoration:none;color:#1A1F1C}
.ewe-nav a{text-decoration:none}

/* Footer */
.ewe-footer{padding-top:32px;padding-bottom:24px;border-top:1px solid #E4DED3}
.ewe-footer a{color:#1F4D3B}
.ewe-legal{font-size:13px;color:#5B635E;line-height:1.6}

/* Legal pages */
.ewe-legal-body h2{font-size:26px;margin-top:40px;padding-top:28px;border-top:1px solid #E4DED3}
.ewe-legal-body p,.ewe-legal-body li{color:#3F4642;line-height:1.7}

@media (max-width:781px){.ewe-photo-tall img{min-height:300px}}
