/*
Theme Name: Spokane Golf
Description: A local course guide for Spokane, Washington.
Version: 1.0.9
Text Domain: spokane-golf
*/

:root {
  --sg-ink: #18342f;
  --sg-green: #315747;
  --sg-cream: #f4f1e8;
  --sg-paper: #ebe7da;
  --sg-clay: #c75a3c;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--sg-cream); color: var(--sg-ink); }
.sg-header { display: flex; align-items: center; justify-content: space-between; gap: 28px; background: var(--sg-ink); color: var(--sg-cream); padding: 22px 6.4vw; }
.sg-brand { font-family: Georgia, serif; font-size: 1.45rem; letter-spacing: -.05em; }
.sg-brand a, .sg-header a { color: inherit; }
.sg-brand em { color: #c4d0ad; }
.sg-brand-mark { display: inline-grid; place-items: center; width: 29px; height: 29px; margin-right: 9px; border: 1px solid currentColor; border-radius: 50%; font: 700 9px Arial, sans-serif; vertical-align: 2px; }
.sg-nav { font-size: .72rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }.sg-nav .wp-block-navigation-item__content { padding: 8px 0; }.sg-nav .wp-block-navigation-item__content:hover { color: #c4d0ad; }
.sg-hero { min-height: 600px; padding: 108px 6.4vw 76px; background: var(--sg-ink); color: var(--sg-cream); position: relative; overflow: hidden; }
.sg-hero::after { content: ''; position: absolute; z-index: 0; width: 62vw; height: 620px; right: -8vw; bottom: -190px; border-radius: 50% 50% 0 0; background: radial-gradient(ellipse at 62% 12%, #d8d28e 0 9%, transparent 9.2%), radial-gradient(ellipse at 48% 62%, #789c63 0 21%, transparent 21.3%), radial-gradient(ellipse at 70% 83%, #1f4a3b 0 49%, transparent 49.3%), #375b49; transform: rotate(-7deg); }
.sg-hero > * { position: relative; z-index: 1; }
.sg-eyebrow { color: var(--sg-clay); font-size: .68rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.sg-hero .sg-eyebrow { color: #c4d0ad; }
.sg-hero h1, .sg-section-title { font-family: Georgia, serif; font-weight: 400; letter-spacing: -.06em; line-height: .88; }
.sg-hero h1 { font-size: clamp(4.5rem, 9vw, 8rem); margin: 18px 0 24px; }
.sg-hero h1 em { color: #c4d0ad; }
.sg-hero-copy { max-width: 590px; }
.sg-hero-copy > p:last-child { max-width: 365px; font-size: 1.1rem; line-height: 1.55; color: #d6dbcf; }
.sg-button .wp-block-button__link { padding: 14px 19px; border-radius: 2px; background: var(--sg-cream); color: var(--sg-ink); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.sg-intro { padding: 112px 6.4vw; max-width: 930px; }
.sg-section-title { font-size: clamp(3rem, 5.3vw, 5.2rem); margin: 0 0 24px; }
.sg-intro > p:last-child { max-width: 555px; font-size: 1.2rem; line-height: 1.62; }
.sg-directory { padding: 88px 6.4vw 112px; background: var(--sg-paper); }
.sg-directory-note { max-width: 520px; margin: -6px 0 34px; color: #52655c; font-size: .86rem; line-height: 1.5; }
.sg-course-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; align-items: stretch; border-top: 1px solid rgba(24,52,47,.22); border-left: 1px solid rgba(24,52,47,.22); }.sg-course-grid > .sg-course-card { margin-block: 0 !important; }
.sg-course-card { display: flex; flex-direction: column; padding: 28px 27px 30px; min-height: 320px; border-right: 1px solid rgba(24,52,47,.22); border-bottom: 1px solid rgba(24,52,47,.22); background: #f5f2e9; transition: transform .2s ease, box-shadow .2s ease; }
.sg-course-card:hover { transform: translateY(-3px); box-shadow: 0 9px 20px rgba(24,52,47,.12); }.sg-course-card::before { content: ''; display: block; height: 112px; margin: -28px -27px 26px; background-image: linear-gradient(180deg, rgba(24,52,47,.04), rgba(24,52,47,.32)), url('assets/images/illustrative-woodland-fairway.png'); background-position: center; background-size: cover; }.sg-course-card:nth-child(3n+2)::before { background-image: linear-gradient(180deg, rgba(24,52,47,.04), rgba(24,52,47,.32)), url('assets/images/illustrative-valley-fairway.png'); }.sg-course-card:nth-child(3n)::before { background-image: linear-gradient(180deg, rgba(24,52,47,.04), rgba(24,52,47,.32)), url('assets/images/illustrative-open-fairway.png'); }
.sg-course-card h3 { min-height: 2em; font-family: Georgia, serif; font-size: 2rem; line-height: 1; letter-spacing: -.05em; margin: 0 0 7px; }.sg-course-card h3 a { color: inherit; }.sg-course-card h3 a:hover { color: var(--sg-green); }
.sg-course-card p { font-size: .9rem; line-height: 1.45; }.sg-course-card .sg-card-label { color: var(--sg-clay); font-size: .63rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }.sg-course-card .sg-card-place { min-height: 1.45em; color: #52655c; font-size: .8rem; }.sg-course-card > p:last-child { margin-bottom: 0; }
.sg-plan { display: grid; grid-template-columns: 1fr 1fr; }.sg-plan-copy { padding: 100px 10vw 105px 6.4vw; background: #c5cfaa; }.sg-plan-list { padding: 88px 6.4vw 60px; margin: 0; background: var(--sg-green); color: var(--sg-cream); counter-reset: item; list-style: none; }.sg-plan-list li { padding: 0 0 28px 58px; margin-bottom: 28px; border-bottom: 1px solid rgba(244,241,232,.3); position: relative; }.sg-plan-list li::before { counter-increment: item; content: '0' counter(item); position: absolute; left: 0; color: #c4d0ad; font-size: .7rem; letter-spacing: .1em; }.sg-plan-list h3 { font: 400 1.75rem/1 Georgia, serif; letter-spacing: -.04em; margin: 0 0 8px; }.sg-plan-list p { color: #d8dfd0; line-height: 1.45; }
.sg-footer { padding: 48px 6.4vw; background: var(--sg-ink); color: var(--sg-cream); }.sg-footer p { color: #aebda6; font-size: .78rem; }
.sg-page { max-width: 880px; padding: 94px 6.4vw 112px; }.sg-page .wp-block-post-title { font: 400 clamp(3.2rem, 6vw, 5.5rem)/.95 Georgia, serif; letter-spacing: -.06em; margin: 0 0 42px; overflow-wrap: normal; word-break: normal; hyphens: none; }.sg-page .wp-block-post-content { max-width: 680px; font-size: 1.08rem; line-height: 1.65; }.sg-page .wp-block-post-content h2 { font: 400 2.1rem/1 Georgia, serif; letter-spacing: -.04em; margin-top: 2.4em; }.sg-page .wp-block-post-content .wp-block-button__link { background: var(--sg-green); color: var(--sg-cream); border-radius: 2px; padding: 14px 19px; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.sg-location { margin-top: 3.6rem; padding-top: 1px; border-top: 1px solid rgba(24,52,47,.22); }.sg-location-grid { display: grid; grid-template-columns: minmax(180px, .7fr) minmax(0, 1.3fr); gap: 28px; align-items: start; }.sg-location-grid p { margin-top: 0; }.sg-location-grid iframe { width: 100%; min-height: 300px; filter: saturate(.75) contrast(.94); }.sg-location-grid a:not(.wp-block-button__link) { color: var(--sg-green); text-decoration: underline; text-underline-offset: .15em; }
.sg-quick-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 2.8rem 0; background: rgba(24,52,47,.2); border: 1px solid rgba(24,52,47,.2); }.sg-quick-facts div { padding: 16px 18px; background: var(--sg-paper); }.sg-quick-facts strong { display: block; color: var(--sg-clay); font-size: .67rem; letter-spacing: .12em; text-transform: uppercase; }.sg-quick-facts span { display: block; margin-top: 4px; font-weight: 700; }.sg-course-alert { padding: 22px 24px; margin: 2.4rem 0; border-left: 4px solid var(--sg-clay); background: var(--sg-paper); }.sg-course-alert p { margin: 0; }.sg-filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin: 38px 0 24px; }.sg-filter-bar button { padding: 10px 13px; border: 1px solid rgba(24,52,47,.35); border-radius: 999px; background: transparent; color: var(--sg-ink); cursor: pointer; font: 700 .69rem Arial, sans-serif; letter-spacing: .07em; text-transform: uppercase; }.sg-filter-bar button:hover,.sg-filter-bar button.is-active { border-color: var(--sg-green); background: var(--sg-green); color: var(--sg-cream); }.sg-finder-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(24,52,47,.2); border: 1px solid rgba(24,52,47,.2); }.sg-finder-card { min-height: 170px; padding: 23px; background: #f5f2e9; color: var(--sg-ink); }.sg-finder-card:hover { background: #dce4cd; }.sg-finder-card span { display: block; color: var(--sg-clay); font-size: .62rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }.sg-finder-card strong { display: block; margin: 18px 0 8px; font: 400 2rem/1 Georgia, serif; letter-spacing: -.05em; }.sg-finder-card small { color: #52655c; font-size: .88rem; }.sg-filter-empty { padding: 28px 0; }
.sg-course-notes { margin-top: 3.6rem; padding: 2px 26px 24px; border-left: 3px solid var(--sg-clay); background: var(--sg-paper); }
.sg-course-pricing { margin-top: 3.6rem; padding-top: 1px; border-top: 1px solid rgba(24,52,47,.22); }.sg-course-pricing .sg-quick-facts { margin-bottom: 1.2rem; }.sg-course-pricing > p:last-child { color: #52655c; font-size: .94rem; }
.sg-visit-plan { margin-top: 3.6rem; padding: 28px; background: #dce4cd; }.sg-visit-plan > h2 { margin-top: .2em !important; }.sg-visit-plan .sg-eyebrow { margin: 0 0 10px; }.sg-visit-plan .sg-quick-facts { margin: 1.6rem 0; }.sg-visit-plan .sg-quick-facts div { background: rgba(245,242,233,.82); }.sg-visit-plan > p:last-child { margin-bottom: 0; }.sg-visit-plan a:not(.wp-block-button__link) { color: var(--sg-green); font-weight: 700; text-decoration: underline; text-underline-offset: .15em; }
.sg-compare { margin-top: 74px; padding: 38px; background: #dce4cd; }.sg-compare h2 { margin: 7px 0 12px; font: 400 clamp(2.2rem,4vw,3.5rem)/.96 Georgia,serif; letter-spacing: -.05em; }.sg-compare > p:not(.sg-eyebrow) { max-width: 540px; line-height: 1.55; }.sg-compare-controls { display: grid; grid-template-columns: 1fr 1fr auto; gap: 14px; align-items: end; margin-top: 26px; }.sg-compare-controls label { display: grid; gap: 7px; color: #52655c; font: 700 .66rem Arial,sans-serif; letter-spacing: .1em; text-transform: uppercase; }.sg-compare-controls select { min-height: 44px; padding: 0 11px; border: 1px solid rgba(24,52,47,.35); border-radius: 0; background: #f5f2e9; color: var(--sg-ink); font: 400 1rem Georgia,serif; }.sg-compare-controls button { min-height: 44px; padding: 0 16px; border: 0; background: var(--sg-green); color: var(--sg-cream); cursor: pointer; font: 700 .69rem Arial,sans-serif; letter-spacing: .08em; text-transform: uppercase; }.sg-compare-result { overflow-x: auto; margin-top: 28px; }.sg-compare-result table { width: 100%; border-collapse: collapse; background: #f5f2e9; text-align: left; }.sg-compare-result th,.sg-compare-result td { padding: 14px 15px; border: 1px solid rgba(24,52,47,.2); vertical-align: top; line-height: 1.4; }.sg-compare-result thead th { color: var(--sg-cream); background: var(--sg-green); font: 400 1.35rem Georgia,serif; }.sg-compare-result thead th a { color: inherit; }.sg-compare-result tbody th { width: 24%; color: var(--sg-clay); font: 700 .65rem Arial,sans-serif; letter-spacing: .09em; text-transform: uppercase; }
@media (max-width: 780px) { .sg-header { padding-top: 16px; padding-bottom: 16px; }.sg-hero { min-height: 575px; padding-top: 82px; }.sg-hero::after { width: 130vw; height: 320px; right: -38vw; bottom: -110px; }.sg-directory, .sg-intro { padding-top: 76px; padding-bottom: 76px; }.sg-course-grid, .sg-plan, .sg-location-grid, .sg-finder-grid, .sg-compare-controls { grid-template-columns: 1fr; }.sg-course-card { min-height: 0; }.sg-plan-copy, .sg-plan-list { padding: 74px 6.4vw; }.sg-location-grid iframe { min-height: 250px; }.sg-quick-facts { grid-template-columns: 1fr; }.sg-visit-plan { padding: 24px 20px; }.sg-compare { padding: 28px 20px; }.sg-compare-result table { min-width: 600px; } }
