/*
Theme Name: Hideout Workshops
Theme URI: https://hideoutworkshops.co.uk
Description: Child theme of Twenty Twenty-Five for Hideout Leathercraft Workshops. Sage and forest palette, serif type, scroll-aware header.
Author: Hideout Workshops
Template: twentytwentyfive
Version: 1.0.10
Text Domain: hideout-workshops
*/
:root{--hw-sage:#5F7958;--hw-forest:#313E2F;--hw-cream:#F5F1EA;--hw-ink:#2A2A23;--hw-green:#4A6344;--hw-muted:#5F5C50;--hw-tan:#8A5A36;--hw-hover:#4D6547;--hw-sand:#E7DBC4;--hw-gold:#C2A36A;--hw-line:#DDD5C4}
html{scroll-behavior:smooth}
body{font-family:Perpetua,"Iowan Old Style","Palatino Linotype",Palatino,Georgia,serif;color:var(--hw-ink);background:#fff}
.wp-site-blocks>*{margin-block-start:0!important}
.wp-site-blocks>header,.wp-site-blocks>.wp-block-template-part:first-child{position:sticky;top:0;z-index:100}
.admin-bar .wp-site-blocks>header,.admin-bar .wp-site-blocks>.wp-block-template-part:first-child{top:32px}
a{text-underline-offset:.2em}
/* Header */
.hw-header{background:var(--hw-sage);border-bottom:1px dashed rgba(231,219,196,.45);padding:14px 24px;transition:background-color .25s ease,padding .25s ease}
body.hw-scrolled .hw-header{background:var(--hw-forest);padding-block:8px}
.hw-header__inner{max-width:1180px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:24px}
.hw-header .wp-block-site-logo{margin:0}
.hw-header .wp-block-site-logo img{width:260px;height:auto;display:block;transition:width .25s ease}
body.hw-scrolled .hw-header .wp-block-site-logo img{width:220px}
.hw-header .wp-block-navigation{font-size:1rem;margin:0}
.hw-header .wp-block-navigation a,.hw-header .wp-block-navigation .wp-block-navigation-item__content{color:#fff!important;text-decoration:none;letter-spacing:.02em}
.hw-header .wp-block-navigation .wp-block-navigation-item__content:hover{text-decoration:underline;text-underline-offset:.3em}
.hw-header .wp-block-navigation .hw-nav-cta>a{background:var(--hw-cream);color:var(--hw-forest)!important;padding:.6em 1.15em;border-radius:2px}
.hw-header .wp-block-navigation .hw-nav-cta>a:hover{background:#fff;text-decoration:none}
.hw-header .wp-block-navigation__responsive-container-open,.hw-header .wp-block-navigation__responsive-container-close{color:#fff}
.hw-header .wp-block-navigation__responsive-container.is-menu-open{background:var(--hw-forest);color:#fff;padding:24px}
@media(max-width:600px){.hw-header .wp-block-site-logo img{width:190px}body.hw-scrolled .hw-header .wp-block-site-logo img{width:170px}}
/* Bands */
.hw-band{padding:clamp(44px,6vw,80px) 24px;margin-block:0!important}
.hw-band--cream{background:var(--hw-cream)}
.hw-band--white{background:#fff}
.hw-eyebrow{font-size:.8rem;letter-spacing:.18em;text-transform:uppercase;color:var(--hw-tan);margin:0 0 .6rem}
.hw-h1{font-size:clamp(2rem,4.6vw,3.1rem);margin:0 0 1rem}
.hw-band h2{font-size:clamp(1.6rem,3vw,2.25rem);margin:0 0 .75rem}
.hw-lead{font-size:1.2rem;color:var(--hw-green)}
.hw-note{color:var(--hw-muted);font-size:1rem}
/* Buttons */
.wp-block-buttons{gap:12px;margin-top:1.5rem}
.hw-btn .wp-block-button__link{background:var(--hw-sage);color:#fff;border:1px solid var(--hw-sage);border-radius:2px;min-height:44px;display:inline-flex;align-items:center;padding:.6em 1.4em;font-family:inherit;font-size:1rem;text-decoration:none}
.hw-btn .wp-block-button__link:hover{background:var(--hw-hover);border-color:var(--hw-hover);color:#fff}
.hw-btn.is-style-outline .wp-block-button__link{background:transparent;color:var(--hw-green);border-color:var(--hw-sage)}
.hw-btn.is-style-outline .wp-block-button__link:hover{background:var(--hw-sage);color:#fff}
/* Cards */
.hw-cards>*{margin:0!important}
.hw-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:20px;margin-top:2rem}
.hw-card{background:#fff;border:1px solid var(--hw-line);border-top:3px solid var(--hw-sage);border-radius:2px;padding:24px}
.hw-card h3{font-size:1.3rem;margin:.25rem 0 .5rem}
.hw-card p{margin:0;color:var(--hw-muted);font-size:1rem}
.hw-card p.hw-card__tag{font-size:.75rem;letter-spacing:.16em;text-transform:uppercase;color:var(--hw-tan)}
/* Workshop list */
.hw-events{display:grid;gap:12px;margin:1.25rem 0}
.hw-event{display:grid;grid-template-columns:72px 1fr auto;gap:20px;align-items:center;background:var(--hw-cream);border:1px solid var(--hw-line);border-left:3px solid var(--hw-sage);border-radius:2px;padding:16px 20px}
.hw-event__date{text-align:center;color:var(--hw-forest);line-height:1}
.hw-event__day{display:block;font-size:2rem}
.hw-event__month{display:block;font-size:.8rem;letter-spacing:.16em;text-transform:uppercase;color:var(--hw-tan);margin-top:.35rem}
.hw-event__title{font-size:1.2rem;margin:0}
.hw-event__title a{color:var(--hw-forest);text-decoration:none}
.hw-event__title a:hover{text-decoration:underline}
.hw-event__meta{margin:.25rem 0 0;color:var(--hw-muted);font-size:.95rem}
.hw-event__action{display:flex;flex-direction:column;align-items:flex-end;gap:6px;font-size:.95rem}
.hw-event__seats{color:var(--hw-muted)}
.hw-event__full{font-weight:600;color:var(--hw-forest)}
.hw-event__btn{background:var(--hw-sage);color:#fff;padding:.6em 1.2em;border-radius:2px;text-decoration:none;min-height:44px;box-sizing:border-box;display:inline-flex;align-items:center}
.hw-event__btn:hover{background:var(--hw-hover);color:#fff}
.hw-event__link{color:var(--hw-green)}
.hw-empty{margin:0;padding:20px 24px;background:var(--hw-cream);border:1px dashed #B9B09A;border-radius:2px;color:var(--hw-muted)}
@media(max-width:640px){.hw-event{grid-template-columns:56px 1fr;gap:14px}.hw-event__action{grid-column:1/-1;align-items:flex-start}}
/* Forms */
.hw-form{max-width:640px;display:grid;gap:16px}
.hw-form label{display:block;font-size:.95rem;color:var(--hw-forest);margin-bottom:4px}
.hw-form input[type=text],.hw-form input[type=email],.hw-form textarea{width:100%;box-sizing:border-box;font:inherit;padding:.65em .8em;min-height:44px;border:1px solid #8E9788;border-radius:2px;background:#fff;color:var(--hw-ink)}
.hw-form textarea{min-height:160px}
.hw-form input:focus,.hw-form textarea:focus{outline:2px solid var(--hw-sage);outline-offset:1px}
.hw-form button{justify-self:start;min-height:44px;padding:.6em 1.6em;background:var(--hw-sage);color:#fff;border:1px solid var(--hw-sage);border-radius:2px;font:inherit;cursor:pointer}
.hw-form button:hover{background:var(--hw-hover)}
.hw-form .hw-fine{font-size:.9rem;color:var(--hw-muted);margin:0}
.hw-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.hw-notice{max-width:640px;padding:14px 18px;border-radius:2px;margin:0 0 18px}
.hw-notice--ok{background:#E8EFE5;border:1px solid var(--hw-sage);color:var(--hw-forest)}
.hw-notice--error{background:#F6E9E3;border:1px solid #9B4A2E;color:#5E2A17}
/* Events Manager booking form */
.em-booking-form input[type=submit],.em-booking-form button[type=submit],.em.input .button.button-primary{background:var(--hw-sage);color:#fff;border:1px solid var(--hw-sage);border-radius:2px;min-height:44px;padding:.6em 1.4em;font:inherit;cursor:pointer}
.em-booking-form input[type=submit]:hover,.em-booking-form button[type=submit]:hover{background:var(--hw-hover)}
/* Footer */
.hw-footer{background:var(--hw-forest);color:var(--hw-sand);padding:48px 24px 24px;border-top:1px dashed rgba(231,219,196,.45);margin:0}
.hw-footer__grid{max-width:1180px;margin:0 auto;display:grid;grid-template-columns:1.6fr 1fr;gap:40px}
.hw-footer__grid>*{margin:0!important}
@media(max-width:800px){.hw-footer__grid{grid-template-columns:1fr;gap:28px}}
.hw-footer .wp-block-site-logo img{width:240px;height:auto;display:block}
.hw-footer p{margin:0 0 .5rem;font-size:1rem}
.hw-footer p.hw-footer__h{font-size:.8rem;letter-spacing:.18em;text-transform:uppercase;color:var(--hw-gold);margin:0 0 .75rem}
.hw-footer a{color:#fff;text-decoration:none}
.hw-footer a:hover{text-decoration:underline}
.hw-footer__brand p{margin-top:1rem;max-width:30ch}
#subscribe{scroll-margin-top:90px}
.hw-footer .hostinger-reach-block-form-fields{display:flex;gap:8px;flex-wrap:wrap;align-items:flex-end}
.hw-footer .hostinger-reach-block-form-field{flex:1 1 200px}
.hw-footer .hostinger-reach-block-form-field label{display:block;color:var(--hw-sand);font-size:.9rem;margin-bottom:4px}
.hw-footer .hostinger-reach-block-form-field .required{color:var(--hw-sand)}
.hw-footer input[type=email]{width:100%;box-sizing:border-box;min-height:44px;padding:.6em .8em;border:1px solid var(--hw-sand);border-radius:2px;background:#fff;color:var(--hw-ink);font:inherit}
.hw-footer .hostinger-reach-block-submit{min-height:44px;background:var(--hw-sand)!important;color:var(--hw-forest)!important;border:0;border-radius:2px;padding:.6em 1.3em;font:inherit;cursor:pointer}
.hw-footer .hostinger-reach-block-submit:hover{background:#fff!important}
.hw-footer__base{max-width:1180px;margin:36px auto 0;padding-top:16px;border-top:1px dashed rgba(231,219,196,.35)}
.hw-footer__base p{font-size:.9rem;margin:0}
/* Workshop list: override Events Manager defaults */
body .hw-events,body .hw-events *{font-family:Perpetua,'Iowan Old Style','Palatino Linotype',Palatino,Georgia,serif!important}
body .hw-events .hw-event .hw-event__title{font-size:1.25rem!important;line-height:1.25!important;margin:0!important;font-weight:400!important}
body .hw-events .hw-event .hw-event__title a,body .hw-events .hw-event .hw-event__title a:visited{color:#313E2F!important;text-decoration:none!important}
body .hw-events .hw-event .hw-event__title a:hover{text-decoration:underline!important}
body .hw-events .hw-event a.hw-event__btn,body .hw-events .hw-event a.hw-event__btn:visited{color:#fff!important;text-decoration:none!important}
body .hw-events .hw-event a.hw-event__link,body .hw-events .hw-event a.hw-event__link:visited{color:#4A6344!important}
body .hw-events .hw-event .hw-event__day{font-size:2rem!important;font-weight:400!important;line-height:1!important;color:#313E2F!important}
body .hw-events .hw-event .hw-event__meta{font-size:.95rem!important;margin:.25rem 0 0!important}
.hw-footer .hostinger-reach-block-subscription-form-wrapper,.hw-footer .hostinger-reach-block-subscription-form,.hw-footer .hostinger-reach-block-form-fields{width:100%;max-width:none;margin:0;padding:0;box-sizing:border-box}
.hw-footer .hostinger-reach-block-form-field{margin:0}
.hw-footer .hostinger-reach-block-form-fields{display:flex;flex-direction:column;align-items:stretch;gap:12px}
.hw-footer .hostinger-reach-block-form-fields>*{flex:0 0 auto!important;width:100%;box-sizing:border-box}
.hw-footer .hostinger-reach-block-form-fields>*:empty{display:none}
.hw-footer .hostinger-reach-block-submit{width:auto;align-self:flex-start}
body .hw-empty,body .hw-empty *{font-family:Perpetua,'Iowan Old Style','Palatino Linotype',Palatino,Georgia,serif!important}
body .hw-empty{font-size:1rem}
body .hw-empty a,body .hw-empty a:visited{color:#4A6344!important}
.em.pixelbones{--accent-color:#4A6344;--accent-color-hover:#4D6547}
.em.pixelbones .hw-empty a,.em.pixelbones .hw-empty a:visited{color:#4A6344!important}
.hw-band>.hw-form,.hw-band>.hw-notice{max-width:760px!important;width:100%;box-sizing:border-box;margin-inline:auto!important}
body .hw-header .wp-block-navigation__responsive-container.is-menu-open,body .hw-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog{background-color:#313E2F!important;color:#fff!important}
body .hw-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container{gap:1.1rem;align-items:flex-start}
body .hw-header .wp-block-navigation__responsive-container.is-menu-open a{font-size:1.25rem}
