/*
Theme Name: 1SH0T Golf
Theme URI: https://1sh0t.com/
Author: 1SH0T
Description: Mobile-first golf instruction theme designed for the 1SH0T Learning companion plugin.
Version: 1.9.0
Requires at least: 6.2
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: 1sh0t
*/
:root{--ink:#14232b;--panel:#22343d;--lime:#b9e85b;--white:#fff;--muted:#c8d5db;--line:#dce4e7;--body:#f5f8f8}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--body);color:#23333a;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.6}a{color:#185b58}a:hover{text-decoration:underline}img{max-width:100%;height:auto}.wrap{max-width:1160px;margin:auto;padding:0 22px}.site-header{background:var(--ink);color:white}.header-inner{display:flex;justify-content:space-between;align-items:center;gap:20px;min-height:84px}.brand{color:white;text-decoration:none;font-size:2rem;font-weight:900;letter-spacing:-.07em;line-height:1}.brand span{color:var(--lime)}.tagline{display:block;color:var(--lime);font-size:.63rem;letter-spacing:.14em;font-weight:750;margin-top:6px}.nav-menu{display:flex;gap:22px;list-style:none;margin:0;padding:0}.nav-menu a{color:white;text-decoration:none;font-size:.94rem;font-weight:650}.nav-menu a:hover,.nav-menu .current-menu-item a{color:var(--lime)}.hero{background:var(--ink);color:white;overflow:hidden}.hero-grid{display:grid;grid-template-columns:1.08fr .92fr;align-items:center;gap:32px;min-height:440px}.hero-copy{padding:60px 0}.eyebrow{text-transform:uppercase;letter-spacing:.13em;font-size:.76rem;font-weight:800;color:#6c9b16}.hero .eyebrow{color:var(--lime)}h1,h2,h3{line-height:1.17;letter-spacing:-.035em}h1{font-size:clamp(2.8rem,6vw,5.2rem);margin:12px 0 20px}h2{font-size:clamp(1.8rem,3.3vw,2.6rem);margin:0 0 16px}h3{font-size:1.22rem;margin:0 0 8px}.hero p{color:var(--muted);max-width:520px;font-size:1.08rem}.hero-art{min-height:380px;background:radial-gradient(circle at 65% 35%,#47614a 0,#2b4846 26%,#182e35 60%,#14232b 100%);position:relative;display:grid;place-items:center}.hero-art:before{content:"";width:220px;height:220px;border-radius:50%;border:2px solid #ffffff24;box-shadow:0 0 0 45px #ffffff0a,0 0 0 95px #ffffff06}.hero-art:after{content:"1";font-size:15rem;line-height:1;font-weight:900;color:#b9e85b99;position:absolute;transform:rotate(-12deg)}.hero-photo{width:100%;height:440px;object-fit:cover}.btn{display:inline-block;background:var(--lime);color:#15242b;border-radius:7px;padding:12px 20px;text-decoration:none;font-weight:800;margin:8px 10px 8px 0}.btn.secondary{background:transparent;color:white;border:1px solid #7d9099}.btn:hover{filter:brightness(.94);text-decoration:none}.section{padding:65px 0}.section.alt{background:#fff}.section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:25px}.section-head p{margin:0;color:#53646d}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.card{background:white;border:1px solid var(--line);border-radius:13px;overflow:hidden;box-shadow:0 5px 20px #11212a08}.card-content{padding:22px}.card p{color:#52636b;margin:8px 0 14px}.card a.card-link{font-weight:750;text-decoration:none}.thumb{aspect-ratio:16/9;background:linear-gradient(135deg,#294e4a,#172c36);display:grid;place-items:center;color:var(--lime);font-size:3rem;font-weight:900;overflow:hidden}.thumb img{width:100%;height:100%;object-fit:cover}.meta{color:#60717b;font-size:.83rem}.pill{display:inline-block;font-size:.72rem;text-transform:uppercase;letter-spacing:.07em;color:#44610b;background:#eaf6d3;padding:4px 9px;border-radius:20px;font-weight:750}.page-head{background:var(--ink);color:white;padding:50px 0}.page-head p{color:var(--muted);max-width:720px}.content-area{padding:52px 0 80px}.content-card{background:white;border-radius:12px;border:1px solid var(--line);padding:clamp(22px,4vw,48px);max-width:900px;margin:auto}.content-card img{border-radius:7px}.content-card iframe{max-width:100%}.embed{position:relative;aspect-ratio:16/9;background:#14232b;margin:20px 0}.embed iframe{position:absolute;inset:0;width:100%;height:100%;border:0}.drill{border-left:4px solid #9bcf3c;background:#f5f9ee;padding:18px 20px;margin:20px 0}.drill h3{margin:0 0 10px}.filters{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:25px}.filters select,.filters button{padding:10px 12px;border:1px solid #cad5d9;border-radius:7px;background:white;font:inherit}.filters button{background:var(--ink);color:white;cursor:pointer}.empty{background:#fff;padding:25px;border:1px dashed #b5c4c9;border-radius:10px}.site-footer{background:#14232b;color:#c7d5db;padding:30px 0}.site-footer a{color:#b9e85b}.footer-inner{display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap}.wp-block-image img{height:auto}.skip-link{position:absolute;left:-999px;top:10px;background:white;padding:8px;z-index:100}.skip-link:focus{left:10px}.nav-toggle{display:none}@media(max-width:760px){.header-inner{flex-wrap:wrap;min-height:72px;padding-top:14px;padding-bottom:14px}.nav-toggle{display:block;background:transparent;border:1px solid #6b8088;color:white;border-radius:5px;padding:8px 12px;font-size:1rem}.site-nav{width:100%;display:none}.site-nav.open{display:block}.nav-menu{display:flex;flex-direction:column;gap:0}.nav-menu li{border-top:1px solid #ffffff20;padding:10px 0}.hero-grid{grid-template-columns:1fr}.hero-copy{padding:48px 0 20px}.hero-art{min-height:190px}.hero-art:before{width:120px;height:120px;box-shadow:0 0 0 30px #ffffff0a}.hero-art:after{font-size:8rem}.hero-photo{height:240px}.grid{grid-template-columns:1fr}.section{padding:42px 0}.section-head{display:block}.content-area{padding:30px 0 50px}}@media(min-width:761px) and (max-width:1000px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media print{.site-header,.site-footer,.filters,.btn,.nav-toggle{display:none!important}.content-card{border:0;padding:0}.page-head{background:white;color:black;padding:0}.drill{break-inside:avoid}}

/* Version 1.1: unified title and subtitle treatment */
.hero-subtitle{font-size:clamp(1.08rem,2vw,1.32rem)!important;line-height:1.45;margin:0 0 24px;color:#d9e4e6!important;max-width:650px!important}
.page-head h1{font-size:clamp(2.2rem,4.5vw,4rem);margin:8px 0 6px}
.page-head .video-subtitle{font-size:clamp(1.05rem,2vw,1.4rem);line-height:1.4;color:#d4dee1;margin:4px 0 16px;max-width:950px}
.page-head .page-meta{font-size:.88rem;color:#b9e85b;margin:12px 0 0}
.single-shot_video .content-card{max-width:1100px}
.single-shot_video .embed{margin:0 0 28px;border-radius:9px;overflow:hidden}
@media(max-width:760px){.page-head{padding:34px 0}.hero-subtitle{margin-bottom:18px}}

/* Responsive video embeds */
.content-card .embed { position:relative; width:100%; aspect-ratio:16/9; overflow:hidden; background:#111; border-radius:12px; }
.content-card .embed iframe { display:block; width:100%; height:100%; border:0; }

/* v1.3 automatic YouTube video thumbnails */
.shot-card-link{display:block;color:inherit;text-decoration:none;height:100%}
.shot-card-link:hover{text-decoration:none}
.card .thumb{position:relative;overflow:hidden;aspect-ratio:16/9}
.card .thumb .shot-card-image{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s ease}
.card:hover .thumb .shot-card-image{transform:scale(1.035)}
.shot-play-overlay{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:58px;height:58px;border-radius:50%;background:rgba(16,32,34,.83);color:#c0ef54;font-size:25px;padding-left:4px;box-shadow:0 2px 15px rgba(0,0,0,.22)}
.shot-card-link:focus-visible{outline:3px solid #a5dc35;outline-offset:3px}
.shot-card-link:hover .shot-play-overlay{background:#b9e85b;color:#142129}
.card .card-content h3{text-decoration:none}

/* Homepage vacation message */
.hero-vacation{display:flex;flex-direction:column;gap:.45rem}
.hero-vacation-title{display:block;font-weight:750;font-size:clamp(1.3rem,2.4vw,2rem);line-height:1.2;color:inherit;text-decoration:none}
.hero-vacation-title:hover,.hero-vacation-title:focus-visible{text-decoration:underline}
.hero-vacation-caption{font-size:clamp(.95rem,1.45vw,1.15rem);line-height:1.5;margin:0;max-width:52ch}

/* v1.5: title is plain text, not a link */
.hero-vacation-title{color:#fff;text-decoration:none;cursor:default}

/* 1.7 hero emblem */
.hero-emblem{width:100%;display:flex;align-items:center;justify-content:center;min-width:0}.hero-emblem img{width:100%;height:auto;max-height:460px;object-fit:contain;display:block;border-radius:8px}@media(max-width:760px){.hero-emblem img{max-height:290px}}

/* v1.8: accessible hover/focus portrait for George */
.george-hover{position:relative;display:inline-block;white-space:nowrap}
.george-trigger{font:inherit;color:inherit;line-height:inherit;letter-spacing:inherit;background:transparent;border:0;border-bottom:1px dotted currentColor;padding:0;cursor:help}
.george-trigger:focus-visible{outline:2px solid #b9e85b;outline-offset:3px;border-radius:2px}
.george-popup{position:absolute;z-index:40;bottom:calc(100% + 12px);left:50%;transform:translate(-50%,5px);display:block;width:164px;padding:7px;background:#fff;border:1px solid #dbe3e5;border-radius:10px;box-shadow:0 12px 35px rgba(0,0,0,.35);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .15s ease,transform .15s ease,visibility .15s}
.george-popup:after{content:"";position:absolute;top:100%;left:50%;margin-left:-7px;border:7px solid transparent;border-top-color:#fff}
.george-popup img{display:block;width:100%;height:auto;border-radius:5px}
.george-hover:hover .george-popup,.george-hover:focus-within .george-popup{opacity:1;visibility:visible;transform:translate(-50%,0)}
@media(max-width:480px){.george-popup{left:auto;right:0;transform:translateY(5px)}.george-hover:hover .george-popup,.george-hover:focus-within .george-popup{transform:translateY(0)}.george-popup:after{left:auto;right:28px}}
@media(prefers-reduced-motion:reduce){.george-popup{transition:none}}

/* v1.9: mobile tap-to-open overlay; desktop hover remains */
.george-close{display:none;position:absolute;top:3px;right:4px;z-index:2;width:27px;height:27px;border:0;border-radius:50%;background:#102329;color:white;font-size:21px;line-height:1;cursor:pointer}
@media(hover:none), (pointer:coarse){
 .george-trigger{cursor:pointer;text-decoration:underline;text-decoration-style:dotted;text-underline-offset:4px}
 .george-hover:hover .george-popup,.george-hover:focus-within .george-popup{opacity:0;visibility:hidden;pointer-events:none}
 .george-hover.george-open .george-popup,.george-hover.george-open:hover .george-popup,.george-hover.george-open:focus-within .george-popup{opacity:1;visibility:visible;pointer-events:auto;transform:translate(-50%,0)}
 .george-popup{position:fixed;left:50%;right:auto;top:50%;bottom:auto;transform:translate(-50%,-46%);width:min(210px,75vw);padding:9px;z-index:1001}
 .george-hover.george-open .george-popup,.george-hover.george-open:hover .george-popup,.george-hover.george-open:focus-within .george-popup{transform:translate(-50%,-50%)}
 .george-popup:after{display:none}
 .george-close{display:block}
 body.george-modal-open:before{content:"";position:fixed;inset:0;background:rgba(0,0,0,.55);z-index:1000}
}
