.tggcg{--tggcg-navy:#272f6e;--tggcg-ink:#19233a;--tggcg-gold:#c9a84c;--tggcg-border:#e0d9cc;max-width:1180px;margin:44px auto;padding:clamp(18px,3vw,34px);box-sizing:border-box;background:#faf8f3;border:1px solid var(--tggcg-border);border-top:4px solid var(--tggcg-gold);font-family:Montserrat,Arial,sans-serif;color:var(--tggcg-ink);overflow-wrap:anywhere}.tggcg *{box-sizing:border-box}.tggcg-head{margin-bottom:25px}.tggcg-kicker{display:block;font-size:11px;font-weight:700;line-height:1.5;letter-spacing:.12em;text-transform:uppercase;color:#806637}.tggcg h2,.tggcg h3,.tggcg h4{font-family:'Cormorant Garamond',Georgia,serif;color:var(--tggcg-navy);font-weight:500;line-height:1.18;margin:8px 0 12px}.tggcg h2{font-size:clamp(30px,4vw,46px)}.tggcg h3{font-size:clamp(24px,3vw,32px)}.tggcg h4{font-size:24px}.tggcg p{font-size:15px;line-height:1.65;margin:0 0 12px}.tggcg-layout,.tggcg-panel{background:white;border:1px solid var(--tggcg-border);padding:clamp(14px,2.4vw,26px);margin:0 0 20px}.tggcg-layout.tggcg-has-map{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:24px}.tggcg-figure{margin:0 0 12px}.tggcg-figure img{display:block;max-width:100%;width:100%;height:auto;object-fit:contain}.tggcg-figure figcaption,.tggcg .tggcg-muted,.tggcg-foot{font-size:12px;line-height:1.6;color:#526078}.tggcg-figure figcaption{padding:6px 0}.tggcg a.tggcg-link{color:var(--tggcg-navy);text-decoration:underline;text-underline-offset:3px;font-weight:650}.tggcg-tee{margin:10px 0;border:1px solid var(--tggcg-border)}.tggcg-tee summary{cursor:pointer;padding:12px 14px;background:#f6f2e9;color:var(--tggcg-navy);line-height:1.5}.tggcg-tee summary span{display:inline-block;margin-left:12px;font-size:13px;font-weight:500}.tggcg-tee .tggcg-muted{padding:10px 14px 0}.tggcg-score-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:12px}.tggcg table{border-collapse:collapse;width:100%;margin:0;font-size:13px;font-variant-numeric:tabular-nums}.tggcg table caption{text-align:left;font-weight:700;color:var(--tggcg-navy);padding:0 0 8px}.tggcg th,.tggcg td{padding:8px 6px;border:0;border-bottom:1px solid #e8e5de;text-align:center}.tggcg thead{background:var(--tggcg-navy);color:white}.tggcg thead th{color:white}.tggcg tbody tr:nth-child(even){background:#faf8f3}.tggcg tfoot{background:#f0e9d9;font-weight:700}.tggcg-holes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.tggcg-hole{border:1px solid var(--tggcg-border);min-width:0}.tggcg-hole .tggcg-figure{margin:0}.tggcg-hole .tggcg-figure figcaption{padding:6px 12px}.tggcg-hole-body{padding:16px}.tggcg-history{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px 20px;margin:0}.tggcg-history dt{font-weight:700}.tggcg-history dd{margin:0}.tggcg-foot{border-top:1px solid var(--tggcg-border);padding-top:12px}.tggcg a:focus-visible,.tggcg summary:focus-visible{outline:3px solid var(--tggcg-gold);outline-offset:3px}@media(max-width:700px){.tggcg-layout.tggcg-has-map,.tggcg-score-grid,.tggcg-holes{grid-template-columns:1fr}.tggcg-history{grid-template-columns:1fr;gap:4px}.tggcg-history dd{margin-bottom:10px}.tggcg-tee summary span{display:block;margin:4px 0 0 15px}.tggcg-score-grid{padding:8px}.tggcg th,.tggcg td{padding:7px 4px}.tggcg{margin:30px 0}}
/* Shared structured profile; only applies when a complete approved profile is rendered. */
.tggp{--tggcg-navy:#272f6e;--tggcg-ink:#19233a;--tggcg-gold:#c9a84c;--tggcg-border:#e0d9cc;max-width:1180px;margin:0 auto 40px;font-family:Montserrat,Arial,sans-serif;color:var(--tggcg-ink);overflow-wrap:anywhere}.tggp *{box-sizing:border-box}.tggp-hero{position:relative;min-height:clamp(330px,44vw,510px);display:flex;align-items:flex-end;overflow:hidden;background:#19233a;border-bottom:4px solid var(--tggcg-gold)}.tggp-hero-image{position:absolute;inset:0;width:100%;height:100%!important;object-fit:cover;object-position:center;max-width:none!important}.tggp-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(8,18,39,.87),rgba(8,18,39,.15) 72%)}.tggp-hero-copy{position:relative;z-index:1;max-width:900px;padding:clamp(24px,5vw,50px);color:white}.tggp-hero-copy h1{font:500 clamp(36px,6vw,74px)/1.04 'Cormorant Garamond',Georgia,serif!important;color:white!important;-webkit-text-fill-color:white!important;margin:9px 0 14px!important}.tggp-hero-copy .tggcg-kicker{color:#f4d58c}.tggp-hero-copy p{color:white!important;margin:0;line-height:1.65}.tggp-photo-credit,.tggp-note{font-size:12px;color:#526078}.tggp-note{text-align:center;padding:16px 0;border-top:1px solid var(--tggcg-border)}.tggp-panel{border:1px solid var(--tggcg-border);background:#faf8f3;padding:clamp(20px,3vw,34px);margin:26px 0}.tggp-panel h2,.tggp-panel h3{font-family:'Cormorant Garamond',Georgia,serif;font-weight:500;color:var(--tggcg-navy);line-height:1.15}.tggp-panel h2{font-size:clamp(30px,4vw,44px);margin:8px 0 20px}.tggp-panel h3{font-size:clamp(23px,3vw,30px);margin:10px 0}.tggp-panel p{font-size:15px;line-height:1.7;margin:0 0 14px}.tggp-facts{margin-top:0;border-top:0}.tggp-facts dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:0}.tggp-facts dl>div{border-left:2px solid var(--tggcg-gold);padding:0 12px}.tggp-facts dt{font-size:11px;font-weight:700;color:#806637;text-transform:uppercase;letter-spacing:.06em}.tggp-facts dd{margin:5px 0 0;font-weight:600}.tggp .tggcg{margin:26px 0}.tggp-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.tggp-cards article{background:white;border:1px solid var(--tggcg-border);padding:20px;min-width:0}.tggp-contact{display:grid;grid-template-columns:125px minmax(0,1fr);gap:12px;margin:0 0 20px}.tggp-contact dt{font-weight:700;color:#806637}.tggp-contact dd{margin:0}.tggp-actions{display:flex;flex-wrap:wrap;gap:10px}.tggp-action{display:inline-block;padding:12px 18px;background:var(--tggcg-navy);color:white!important;font-size:13px;font-weight:700;text-decoration:none;white-space:normal}.tggp-action:nth-child(2){background:var(--tggcg-gold);color:var(--tggcg-ink)!important}.tggp-text-link,.tggp-contact a{color:var(--tggcg-navy);text-decoration:underline;text-underline-offset:3px}.tggp-facilities{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 18px;list-style:none;padding:0!important}.tggp-facilities li{border-bottom:1px solid var(--tggcg-border);padding:10px 0}.tggp-related li{margin:8px 0}.tggp a:focus-visible{outline:3px solid var(--tggcg-gold);outline-offset:3px}body.single-tgg_course article:has(#tgg-structured-course-profile) :is(.entry-header,.entry-title,.post-title,.page-title,.wp-block-post-title,.post-thumbnail,.post-featured-image,.entry-thumbnail):not(#tgg-structured-course-profile *){display:none!important}body.single-tgg_course:has(#tgg-structured-course-profile) .entry-content{max-width:none!important;width:100%!important}@media(max-width:700px){.tggp-facts dl,.tggp-facilities{grid-template-columns:repeat(2,minmax(0,1fr))}.tggp-cards{grid-template-columns:1fr}.tggp-contact{grid-template-columns:1fr;gap:4px}.tggp-contact dd{margin-bottom:10px}.tggp-hero-copy{padding:28px 20px}}@media(max-width:380px){.tggp-facts dl,.tggp-facilities{grid-template-columns:1fr}}

.tggp-map{margin:18px 0 0}.tggp-map summary{cursor:pointer;font-weight:700;color:var(--tggcg-navy)}.tggp-map iframe{display:block;width:100%;height:300px;border:1px solid var(--tggcg-border);margin-top:10px}

/* v1.1.1: actual rendered structured profile owns the visible hero.
   Legacy theme wrappers are known from existing TGG course CSS. Never hide
   them on draft, unapproved or incomplete profiles. */
body.single-tgg_course:has(#tgg-structured-course-profile .tggp-hero h1) :is(.tgg-course-universal-hero,.tgg-dynamic-course-hero,.tgg-course-facts-prehero,.tgg-course-meta-prehero):not(#tgg-structured-course-profile *):not(:has(#tgg-structured-course-profile)){display:none!important}
body.single-tgg_course :is(main,article):has(#tgg-structured-course-profile .tggp-hero h1) :is(.entry-title,.post-title,.page-title,.wp-block-post-title,.post-thumbnail,.post-featured-image,.entry-thumbnail,figure.wp-block-post-featured-image):not(#tgg-structured-course-profile *):not(:has(#tgg-structured-course-profile)){display:none!important}


/* v1.1.2: native, data-driven section navigation. Nothing is fixed or sticky. */
#tgg-structured-course-profile{--tggp-anchor-offset:160px}
body.admin-bar #tgg-structured-course-profile{--tggp-anchor-offset:192px}
#tgg-structured-course-profile [id][tabindex="-1"]{scroll-margin-top:var(--tggp-anchor-offset)}
#tgg-structured-course-profile .tggp-quick-links{display:block;padding:clamp(16px,2.5vw,24px);margin:18px 0 20px;border:1px solid var(--tggcg-border);border-top:2px solid var(--tggcg-gold);background:#faf8f3;min-width:0}
#tgg-structured-course-profile .tggp-quick-title{font-size:11px;letter-spacing:.12em;text-transform:uppercase;font-weight:800;color:#806637;margin:0 0 10px;line-height:1.5}
#tgg-structured-course-profile .tggp-quick-links ul{display:flex;flex-wrap:wrap;align-items:stretch;gap:8px;padding:0!important;margin:0!important;list-style:none!important}
#tgg-structured-course-profile .tggp-quick-links li{display:flex;list-style:none!important;padding:0!important;margin:0!important;min-width:0}
#tgg-structured-course-profile .tggp-quick-links li:before{content:none!important}
#tgg-structured-course-profile .tggp-quick-links a{display:flex;align-items:center;justify-content:center;min-height:44px;padding:9px 14px;border:1px solid #d4ccbd;background:#fff;color:var(--tggcg-navy)!important;text-decoration:none!important;font-size:13px;line-height:1.4;font-weight:650;text-align:center;white-space:normal;overflow-wrap:anywhere}
#tgg-structured-course-profile .tggp-quick-links a:hover{background:#f2e9d4;border-color:#a68b4b}
#tgg-structured-course-profile .tggp-quick-links a:focus-visible,#tgg-structured-course-profile .tggp-back-to-links a:focus-visible{outline:3px solid #806637;outline-offset:2px}
#tgg-structured-course-profile .tggp-quick-links+.tggp-facts{border-top:1px solid var(--tggcg-border)}
#tgg-structured-course-profile .tggp-back-to-links{text-align:right;margin:0 0 18px;font-size:13px}
#tgg-structured-course-profile .tggp-back-to-links a{display:inline-flex;align-items:center;gap:7px;min-height:44px;color:var(--tggcg-navy);text-decoration:underline;text-underline-offset:3px}
@media(max-width:700px){
 #tgg-structured-course-profile{--tggp-anchor-offset:112px}
 body.admin-bar #tgg-structured-course-profile{--tggp-anchor-offset:160px}
 #tgg-structured-course-profile .tggp-quick-links{margin:14px 0 18px}
 #tgg-structured-course-profile .tggp-quick-links ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
 #tgg-structured-course-profile .tggp-quick-links a{width:100%;padding:8px;font-size:12px}
}

/* Optional photography gallery, confined to the reviewed course profile. */
#tgg-structured-course-profile .tggp-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
#tgg-structured-course-profile .tggp-gallery-item{min-width:0;margin:0!important;border:1px solid var(--tggcg-border);background:white;overflow:hidden}
#tgg-structured-course-profile .tggp-gallery-photo{position:relative;display:block;overflow:hidden;background:#e7e4d9;aspect-ratio:4/3;text-decoration:none!important}
#tgg-structured-course-profile .tggp-gallery-image{display:block;width:100%!important;height:100%!important;object-fit:cover;max-width:none!important;margin:0!important;transition:transform .2s ease}
#tgg-structured-course-profile .tggp-gallery-photo:hover .tggp-gallery-image{transform:scale(1.025)}
#tgg-structured-course-profile .tggp-gallery-expand{position:absolute;right:9px;bottom:9px;background:rgba(18,31,55,.88);color:#fff;font-size:11px;font-weight:700;line-height:1.4;padding:7px 9px}
#tgg-structured-course-profile .tggp-gallery-photo:focus-visible{outline-offset:-4px}
#tgg-structured-course-profile .tggp-gallery-item figcaption{display:block;padding:12px 14px;font-size:13px;line-height:1.6;color:var(--tggcg-ink);text-align:left}
#tgg-structured-course-profile .tggp-gallery-credit{display:block;color:#526078;font-size:11px;line-height:1.55;margin-top:4px;overflow-wrap:anywhere}
#tgg-structured-course-profile .tggp-gallery-credit a{color:var(--tggcg-navy);text-decoration:underline;text-underline-offset:2px}
@media(max-width:850px){#tgg-structured-course-profile .tggp-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}
@media(max-width:520px){#tgg-structured-course-profile .tggp-gallery-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){#tgg-structured-course-profile .tggp-gallery-image{transition:none}#tgg-structured-course-profile .tggp-gallery-photo:hover .tggp-gallery-image{transform:none}}

/* Demo-only presentation. Actual course and global site styles are unchanged. */
.tggp-demo .tggp-demo-label{display:inline-block;max-width:100%;margin:0 0 12px;padding:7px 11px;background:#c9a84c;color:#19233a;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;line-height:1.5}
.tggp-demo .tggp-demo-notice{padding:16px 20px;background:#fff7e4;border:1px solid #e4d4a9;color:#51462f;font-size:13px;line-height:1.65}
.tggp-demo .tggp-hero-copy h1{font-size:clamp(34px,5.5vw,64px)!important;overflow-wrap:normal}
.tggp-demo .tggp-hero-copy p{max-width:720px}
body:has(.tggp-demo) main :is(.wp-block-post-title,.wp-block-post-featured-image,.entry-title,.page-title):not(.tggp-demo *):not(:has(.tggp-demo)){display:none!important}
@media(max-width:700px){.tggp-demo .tggp-hero{min-height:380px}.tggp-demo .tggp-hero-copy{padding:22px 18px}.tggp-demo .tggp-hero-copy h1{font-size:clamp(32px,8.5vw,45px)!important}.tggp-demo .tggp-hero-copy p{font-size:14px;line-height:1.55}}
/* The four fictional demo views use their native wide aspect ratio. */
#tgg-structured-course-profile.tggp-demo-gold .tggp-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
#tgg-structured-course-profile.tggp-demo-gold .tggp-gallery-photo{aspect-ratio:1672/941}
@media(max-width:520px){#tgg-structured-course-profile.tggp-demo-gold .tggp-gallery-grid{grid-template-columns:1fr}}
#tgg-structured-course-profile.tggp-demo-gold .tggp-gallery-expand{top:9px;bottom:auto}
