/*
Theme Name: ACCESS KL Art Fair
Version: 1.0
Requires at least: 6.6
Requires PHP: 7.4
Description: Editable block theme for ACCESS Art Platform.
*/
*{box-sizing:border-box}
:root{--fair-green:var(--wp--preset--color--access-green,#9ec132);--fair-button:var(--wp--preset--color--button,#c7e864)}
body{margin:0}a{color:inherit;text-underline-offset:.18em}
.access-main,.access-head,.access-footer,.editor-styles-wrapper .is-root-container{width:min(96%,1600px);margin-inline:auto}
.wp-site-blocks>header{position:sticky;top:0;background:var(--wp--preset--color--paper,#fbfaf8);z-index:20;margin:0}
.admin-bar .wp-site-blocks>header{top:var(--wp-admin--admin-bar--height,32px)}
.access-head{display:flex;justify-content:space-between;align-items:center;padding:18px 0;border-bottom:1px solid #ccc;gap:1rem}
.access-head figure{max-width:145px;margin:0}.access-head nav{margin:0}
.access-head .wp-block-navigation-item:last-child>a{background:var(--fair-green);border-radius:2rem;padding:8px 20px;color:#18200a}
.access-main{margin-block:24px 64px}.access-main h1,.access-main h2,.editor-styles-wrapper h1,.editor-styles-wrapper h2{font-weight:450;letter-spacing:-.055em;line-height:1.03;margin:0 0 .35em}
.access-main h2,.editor-styles-wrapper h2{font-size:clamp(2rem,4vw,4.75rem)}
.access-main p{max-width:68ch}.access-main figure,.access-footer figure{margin:0}
.access-main img,.access-head img{display:block;width:100%;height:auto}
.access-page-title,.access-stay{background:var(--fair-green);padding:clamp(26px,5vw,76px);border-radius:10px}
.access-page-title h1,.access-hero h1,.access-stay h2{font-size:clamp(3.3rem,7.8vw,8rem)}
.access-hero{position:relative;isolation:isolate;overflow:hidden;border-radius:10px;min-height:clamp(400px,45vw,690px);display:grid;align-items:center;color:white}
.access-hero>figure{position:absolute;inset:0;z-index:-2}
.access-hero>figure img{width:100%;height:100%;object-fit:cover}
.access-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#111d,#1116 62%,transparent);z-index:-1;pointer-events:none}
.access-hero-copy{padding:clamp(24px,4.7vw,80px);max-width:65ch}
.access-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(22px,6vw,100px);align-items:center;margin-block:clamp(32px,5vw,90px)}
.access-reverse>div:first-child{order:2}
.access-pair figure img,.access-photo-pair img{aspect-ratio:4/3;object-fit:cover;border-radius:7px}
.access-story>div:last-child{max-width:570px;width:100%;justify-self:center}
.access-photo-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px}.access-photo-pair figure:nth-child(2){margin-top:42px}
.access-label{font:600 1.15rem/1.35 Avenir,'Avenir Next',Arial,sans-serif}
.access-rule{border-top:1px solid #353b2745;padding-top:.6em;margin-block:.6em}.access-rule p{margin:.2em 0}
.access-band{min-height:320px}.access-band .access-hero-copy{width:100%;max-width:none}.access-stats{display:flex;gap:clamp(14px,6vw,100px);flex-wrap:wrap}.access-stats p{margin:0}.access-number{font-size:clamp(2.5rem,5vw,5.5rem);line-height:1.1}
.access-reel{display:flex;gap:14px;overflow-x:auto;padding-bottom:12px}.access-reel figure{flex:0 0 clamp(210px,28vw,440px)}.access-reel img{aspect-ratio:4/3;object-fit:cover;border-radius:6px}
.access-footer{color:#f7f8f4;background:#181916;padding:clamp(24px,4vw,65px);display:grid;grid-template-columns:1fr .65fr 1.8fr;gap:3vw;border-radius:9px;scroll-margin-top:95px}
.access-footer h2,.access-footer p{margin:0 0 .8em}.access-footer a{color:inherit}.access-footer .wp-social-link a{color:white}
.access-form{display:grid;grid-template-columns:1fr 1fr;gap:12px}.access-form label{font-size:.95rem}.access-form input,.access-form select,.access-form textarea{display:block;width:100%;font:inherit;padding:.65em;border:1px solid #888;border-radius:4px;background:white;color:#171815;min-width:0}.access-form textarea,.access-form .wide,.access-form button{grid-column:1/-1}.access-form .check input{display:inline;width:auto}
.access-forms summary,.access-form button,.access-close,.access-motion{cursor:pointer;font:inherit}.access-forms details{border-top:1px solid #666;padding:.75rem 0}.access-forms summary{font-weight:650}.access-forms form{margin-top:1rem}
.access-form button,.access-close,.access-motion{background:var(--fair-button);color:#18200a;padding:.65rem 1.2rem;border:0;border-radius:2rem;justify-self:start}
.access-motion{display:block;margin:8px 0 24px}.access-dialog{background:#fbfaf8;color:#1f211c;border:0;border-radius:12px;width:min(94vw,620px);max-height:90vh;padding:clamp(20px,4vw,40px)}.access-dialog::backdrop{background:#1119}.access-close{float:right}.access-dialog h2{margin-top:0}
.access-status:empty{display:none}.access-status{margin:1em 0;font-weight:600}.access-trap{position:absolute;left:-10000px}
@media(max-width:800px){.access-pair,.access-footer{grid-template-columns:1fr}.access-reverse>div:first-child{order:0}.access-hero{min-height:400px}.access-band{min-height:260px}.access-head{padding:11px 0}.access-head figure{max-width:110px}.access-footer{gap:22px}.access-main{margin-top:12px}.access-stay h2{font-size:clamp(3rem,14vw,6rem)}}
@media(max-width:520px){.access-form{grid-template-columns:1fr}.access-stats{gap:18px}.access-hero-copy{padding:22px}.access-photo-pair{gap:8px}}
.editor-styles-wrapper .access-page-title h1,.editor-styles-wrapper .access-hero h1,.editor-styles-wrapper .access-stay h2{font-size:clamp(3.3rem,7.8vw,8rem)}
.editor-styles-wrapper .access-hero>figure{z-index:0}.editor-styles-wrapper .access-hero:before{z-index:1}.editor-styles-wrapper .access-hero-copy{position:relative;z-index:2}
@media(min-width:801px){.access-stay{grid-template-columns:1.35fr 1fr}}
