/*
Theme Name: Oast House
Author: TMR Digital
Description: Custom lightweight WordPress theme for The Oast House. Elementor compatible, responsive and free of third party front end branding.
Version: 1.6.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: oast-house
*/
:root{--oh-accent:#7b2638;--oh-accent-hover:#5f1b2a;--oh-text:#202020;--oh-muted:#6b6865;--oh-bg:#fff;--oh-soft:#f6f4f1;--oh-border:#e7e2dc;--oh-dark:#171717;--oh-width:1280px;--oh-content:820px;--oh-radius:5px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--oh-bg);color:var(--oh-text);font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1.65;-webkit-font-smoothing:antialiased}img{max-width:100%;height:auto}a{color:var(--oh-accent)}a:hover{color:var(--oh-accent-hover)}button,input,textarea,select{font:inherit}.oh-container{width:min(var(--oh-width),calc(100% - 64px));margin:auto}
.site-header{background:var(--oh-header-bg,#fff);border-top:3px solid var(--oh-accent);border-bottom:1px solid var(--oh-header-border,var(--oh-border));position:relative;z-index:50}.site-header-inner{min-height:var(--oh-header-height,88px);display:flex;align-items:center;gap:36px}.site-branding{margin-right:auto;min-width:0}.custom-logo-link{display:block}.custom-logo{display:block;max-height:calc(var(--oh-header-height,88px) - 22px);max-width:var(--oh-logo-width,220px);width:auto}.site-title{margin:0;font-size:27px;line-height:1.05;font-weight:750;letter-spacing:-.7px}.site-title a{text-decoration:none;color:var(--oh-header-text,var(--oh-text))}.site-description{margin:7px 0 0;color:var(--oh-muted);font-size:12px;letter-spacing:.7px}.main-navigation{display:flex;align-items:center}.primary-menu{display:flex;gap:30px;align-items:center;list-style:none;margin:0;padding:0}.primary-menu a{text-decoration:none;color:var(--oh-header-text,var(--oh-text));font-weight:650;font-size:14px;display:block;padding:33px 0 31px;border-bottom:2px solid transparent}.primary-menu a:hover,.primary-menu .current-menu-item>a,.primary-menu .current_page_item>a{color:var(--oh-header-hover,var(--oh-accent));border-bottom-color:var(--oh-header-hover,var(--oh-accent))}.header-cta{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 21px;background:var(--oh-accent);border:1px solid var(--oh-accent);border-radius:var(--oh-radius);color:#fff!important;text-decoration:none;font-size:13px;font-weight:700;white-space:nowrap}.header-cta:hover{background:var(--oh-accent-hover);border-color:var(--oh-accent-hover)}.menu-toggle{display:none;border:1px solid var(--oh-border);background:#fff;color:var(--oh-text);border-radius:var(--oh-radius);padding:10px 13px;font-weight:700}
.site-main{min-height:55vh}.content-area{padding:76px 0}.content-narrow{width:min(var(--oh-content),calc(100% - 64px));margin:auto}.entry-header{margin-bottom:34px}.entry-title,.archive-title{margin:0;font-size:clamp(36px,5vw,60px);line-height:1.06;letter-spacing:-2px}.entry-meta{margin-top:14px;color:var(--oh-muted);font-size:14px}.entry-content{font-size:17px}.entry-content>*:first-child{margin-top:0}.entry-content h2{font-size:34px}.entry-content h3{font-size:26px}.entry-content h2,.entry-content h3,.entry-content h4{line-height:1.18;letter-spacing:-.5px;margin-top:1.5em}.entry-content p{margin:0 0 1.35em}.entry-content img{border-radius:var(--oh-radius)}.entry-content .alignwide{width:min(1100px,calc(100vw - 64px));max-width:none;margin-left:50%;transform:translateX(-50%)}.entry-content .alignfull{width:100vw;max-width:none;margin-left:50%;transform:translateX(-50%)}.featured-image{margin:0 0 34px}.featured-image img{display:block;width:100%;border-radius:var(--oh-radius)}
.blog-header,.archive-header{padding:68px 0 30px}.posts-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;padding:20px 0 76px}.post-card{border:1px solid var(--oh-border);background:#fff;border-radius:8px;overflow:hidden}.post-card-image{display:block;aspect-ratio:16/10;background:var(--oh-soft)}.post-card-image img{width:100%;height:100%;object-fit:cover;display:block}.post-card-body{padding:25px}.post-card h2{font-size:23px;line-height:1.2;margin:0 0 10px;letter-spacing:-.4px}.post-card h2 a{text-decoration:none;color:var(--oh-text)}.post-card .entry-meta{margin:0 0 12px}.post-card p{color:var(--oh-muted);margin:0}.pagination{grid-column:1/-1;margin-top:12px}.nav-links{display:flex;gap:8px;flex-wrap:wrap}.page-numbers{padding:8px 13px;border:1px solid var(--oh-border);text-decoration:none}.page-numbers.current{background:var(--oh-accent);border-color:var(--oh-accent);color:#fff}
.elementor-page .site-main{min-height:0}.page-template-template-full-width .site-main,.page-template-template-full-width .content-area{padding:0}.page-template-template-full-width .content-area{width:100%;max-width:none}.page-template-template-full-width .entry-content{font-size:inherit}.page-template-template-full-width .entry-content>*,.elementor-page .entry-content>*{max-width:none}
.site-footer{background:var(--oh-dark);color:#fff;margin-top:0}.footer-main{padding:58px 0 48px}.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:48px}.footer-title{margin:0 0 14px;font-size:22px;font-weight:750}.footer-description{margin:0;max-width:330px;color:#bdbdbd;font-size:14px;line-height:1.7}.footer-heading{margin:0 0 15px;font-size:13px;text-transform:uppercase;letter-spacing:1.4px;color:#aaa}.footer-menu{list-style:none;margin:0;padding:0}.footer-menu li+li{margin-top:9px}.footer-menu a{color:#eee;text-decoration:none;font-size:14px}.footer-menu a:hover{color:#fff;text-decoration:underline}.footer-text{color:#bbb;font-size:14px;line-height:1.7}.footer-text p{margin:0 0 8px}.footer-bottom{border-top:1px solid #303030;padding:19px 0}.footer-bottom-inner{display:flex;justify-content:space-between;gap:20px;align-items:center}.copyright{margin:0;color:#999;font-size:13px}.footer-legal{display:flex;gap:18px;list-style:none;margin:0;padding:0}.footer-legal a{color:#aaa;text-decoration:none;font-size:13px}
.oh-button,.wp-block-button__link{display:inline-flex;align-items:center;justify-content:center;background:var(--oh-accent);color:#fff!important;border-radius:var(--oh-radius);padding:12px 22px;text-decoration:none;font-weight:700}.oh-button:hover,.wp-block-button__link:hover{background:var(--oh-accent-hover)}.search-form{display:flex;gap:8px}.search-field{min-width:0;padding:11px 12px;border:1px solid var(--oh-border);border-radius:var(--oh-radius)}.search-submit{border:0;border-radius:var(--oh-radius);background:var(--oh-accent);color:#fff;padding:11px 16px}.not-found{padding:100px 0;text-align:center}.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1000px){.site-header-inner{min-height:78px;flex-wrap:wrap;padding:12px 0}.menu-toggle{display:block}.main-navigation{display:none;width:100%;order:4}.main-navigation.is-open{display:block}.primary-menu{display:block;border-top:1px solid var(--oh-border)}.primary-menu li{border-bottom:1px solid var(--oh-border)}.primary-menu a{padding:13px 2px;border:0}.header-cta{margin-left:auto}.posts-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.oh-container,.content-narrow{width:calc(100% - 32px)}.site-title{font-size:23px}.site-description{display:none}.header-cta{display:none}.content-area{padding:52px 0}.entry-title,.archive-title{letter-spacing:-1px}.entry-content{font-size:16px}.posts-grid{grid-template-columns:1fr;padding-bottom:55px}.blog-header,.archive-header{padding-top:48px}.footer-main{padding:45px 0}.footer-grid{grid-template-columns:1fr;gap:30px}.footer-bottom-inner{display:block}.footer-legal{margin-top:10px;flex-wrap:wrap}}
/* v1.2 theme options */
.content-wide{width:min(1180px,calc(100% - 64px));margin:auto}.content-full{width:100%;margin:0}.oh-layout-full .content-area{padding:0}.oh-layout-full .entry-content{font-size:inherit}.oh-sticky-header .site-header{position:sticky;top:0}.admin-bar.oh-sticky-header .site-header{top:32px}.footer-cols-1{grid-template-columns:1fr}.footer-cols-2{grid-template-columns:1.5fr 1fr}.footer-cols-3{grid-template-columns:1.5fr 1fr 1fr}.footer-cols-4{grid-template-columns:1.5fr 1fr 1fr 1fr}
@media(max-width:782px){.admin-bar.oh-sticky-header .site-header{top:46px}}
@media(max-width:650px){.content-wide{width:calc(100% - 32px)}}

/* v1.3 header and page title controls */
.oh-nav-left .site-branding{margin-right:0}.oh-nav-left .main-navigation{margin-right:auto}.page-title-area{background:var(--oh-title-bg,#fff);color:var(--oh-title-text,#202020);text-align:var(--oh-title-align,left)}.page-title-area .entry-title{font-size:clamp(30px,5vw,var(--oh-title-size,52px));color:inherit}.oh-breadcrumbs{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px;font-size:13px;color:var(--oh-muted)}.oh-breadcrumbs a{color:inherit}.oh-transparent-header .site-header{position:absolute;top:0;left:0;right:0;background:transparent;border-bottom-color:rgba(255,255,255,.25)}.admin-bar.oh-transparent-header .site-header{top:32px}.oh-transparent-header.oh-sticky-header .site-header{position:sticky;background:var(--oh-header-bg,#fff)}

.page-title-area{min-height:var(--oh-title-height,0);display:flex;flex-direction:column;justify-content:center}
@media(max-width:782px){.admin-bar.oh-transparent-header .site-header{top:46px}}

/* v1.4 typography, footer and general design */
body{font-family:var(--oh-body-font,Arial,Helvetica,sans-serif);font-size:var(--oh-body-size,16px);line-height:var(--oh-body-line-height,1.65);color:var(--oh-body-color,#202020)}
h1,h2,h3,h4,h5,h6,.site-title,.footer-title,.footer-heading{font-family:var(--oh-heading-font,Arial,Helvetica,sans-serif);font-weight:var(--oh-heading-weight,700);color:var(--oh-heading-color,#202020)}
a{color:var(--oh-link-color,var(--oh-accent))}.site-footer{background:var(--oh-footer-bg,#171717);color:var(--oh-footer-text,#bdbdbd)}.site-footer .footer-heading,.site-footer .footer-title{color:var(--oh-footer-heading,#fff)}.site-footer .footer-description,.site-footer .footer-text,.site-footer .copyright{color:var(--oh-footer-text,#bdbdbd)}
.site-footer .custom-logo{max-width:var(--oh-footer-logo-width,180px);max-height:none;margin-bottom:18px}.footer-social{display:flex;gap:14px;flex-wrap:wrap;margin-top:18px}.footer-social a{color:var(--oh-footer-heading,#fff);text-decoration:none;font-size:14px}.footer-social a:hover{text-decoration:underline}.oh-button,.wp-block-button__link,.header-cta,.search-submit{border-radius:var(--oh-button-radius,5px)}.post-card,.featured-image img,.entry-content img{border-radius:var(--oh-radius,5px)}

/* v1.5 blog layout options */
.posts-grid.oh-cols-1{grid-template-columns:1fr}.posts-grid.oh-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.post-taxonomy{font-size:13px;color:var(--oh-muted);margin-bottom:10px}
\n\n/* v1.6 header, footer and global buttons */
.primary-menu a{font-size:var(--oh-nav-font-size,14px);position:relative;border-bottom:0;padding:calc((var(--oh-header-height,88px) - 20px)/2) 0}
.primary-menu a:after{content:"";position:absolute;left:0;right:100%;bottom:20px;height:2px;background:var(--oh-header-hover,var(--oh-accent));transition:right .2s ease}
.primary-menu a:hover:after,.primary-menu .current-menu-item>a:after,.primary-menu .current_page_item>a:after{right:0}
.site-header{transition:box-shadow .2s ease,background .2s ease}.site-branding{display:flex;align-items:center}.custom-logo-link{line-height:0}.menu-toggle{min-width:44px;min-height:44px;cursor:pointer;transition:background .2s ease,border-color .2s ease}.menu-toggle:hover{background:var(--oh-soft);border-color:var(--oh-header-hover,var(--oh-accent))}
.header-cta,.oh-button,.wp-block-button__link,.search-submit{min-height:var(--oh-button-height,46px);padding:0 var(--oh-button-padding-x,22px);background:var(--oh-button-bg,var(--oh-accent));border:1px solid var(--oh-button-bg,var(--oh-accent));border-radius:var(--oh-button-radius,5px);color:var(--oh-button-text,#fff)!important;font-size:var(--oh-button-font-size,14px);font-weight:700;line-height:1;text-decoration:none;transition:background .2s ease,border-color .2s ease,transform .15s ease}
.header-cta:hover,.oh-button:hover,.wp-block-button__link:hover,.search-submit:hover{background:var(--oh-button-hover-bg,var(--oh-accent-hover));border-color:var(--oh-button-hover-bg,var(--oh-accent-hover));color:var(--oh-button-text,#fff)!important}
.footer-main{padding:var(--oh-footer-padding,58px) 0}.footer-grid{align-items:start}.footer-grid>div:empty{display:none}.footer-heading{margin-bottom:18px}.footer-menu a{transition:color .2s ease}.footer-menu a:hover{color:var(--oh-footer-heading,#fff);text-decoration:none}.footer-bottom{background:var(--oh-footer-bottom-bg,#111);border-top:1px solid rgba(255,255,255,.08)}.footer-social a{display:inline-flex;align-items:center;min-height:34px;padding:0 11px;border:1px solid rgba(255,255,255,.18);border-radius:var(--oh-button-radius,5px)}.footer-social a:hover{border-color:var(--oh-footer-heading,#fff);text-decoration:none}
@media(max-width:1000px){.site-header-inner{flex-wrap:nowrap}.main-navigation{position:absolute;left:0;right:0;top:100%;width:100%;background:var(--oh-header-bg,#fff);border-top:1px solid var(--oh-header-border,var(--oh-border));box-shadow:0 14px 25px rgba(0,0,0,.08);padding:0 32px}.primary-menu{border-top:0}.primary-menu li{border-bottom:1px solid var(--oh-header-border,var(--oh-border))}.primary-menu a{padding:15px 0}.primary-menu a:after{display:none}.menu-toggle{order:3}.header-cta{order:2}.main-navigation{order:4}.footer-grid{gap:36px}}
@media(max-width:650px){.site-header-inner{min-height:70px}.custom-logo{max-height:52px}.menu-toggle{font-size:0;padding:0;width:44px;position:relative}.menu-toggle:before,.menu-toggle:after,.menu-toggle{background-repeat:no-repeat}.menu-toggle:before{content:"☰";font-size:22px;line-height:1}.main-navigation{padding:0 16px}.header-cta{display:none}.footer-main{padding:calc(var(--oh-footer-padding,58px) * .75) 0}.footer-grid{gap:26px}.footer-bottom{padding:16px 0}}
