/* Gwinnett Community Hub — component styles. Themes override the --gch-* tokens. */
:root {
	--gch-ink: #17211C;
	--gch-muted: #5C6660;
	--gch-bg: #FAF6EF;
	--gch-card: #FFFFFF;
	--gch-line: #E7E0D3;
	--gch-brand: #0F3B2E;
	--gch-brand-2: #1E6A4F;
	--gch-accent: #E8572A;
	--gch-accent-ink: #FFFFFF;
	--gch-gold: #F2B544;
	--gch-soft: #F1EBDF;
	--gch-radius: 16px;
	--gch-shadow: 0 1px 2px rgba(23, 33, 28, .06), 0 8px 24px -12px rgba(23, 33, 28, .18);
	--gch-font-display: "Fraunces", Georgia, serif;
}

.gch-hp { position: absolute !important; left: -9999px !important; height: 0; overflow: hidden; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.gch-icon { flex: none; vertical-align: -0.2em; }

/* Buttons */
.gch-btn { display: inline-flex; align-items: center; justify-content: center; gap: .45em; padding: .72em 1.25em; border: 0; border-radius: 999px; background: var(--gch-accent); color: var(--gch-accent-ink) !important; font: inherit; font-weight: 700; text-decoration: none !important; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s; line-height: 1.1; }
.gch-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px -8px var(--gch-accent); }
.gch-btn:focus-visible { outline: 3px solid var(--gch-gold); outline-offset: 2px; }
.gch-btn--ghost { background: transparent; color: var(--gch-brand) !important; box-shadow: inset 0 0 0 2px var(--gch-brand); }
.gch-btn--ghost:hover { background: var(--gch-brand); color: #fff !important; box-shadow: none; }
.gch-btn--lg { padding: .95em 1.6em; font-size: 1.05rem; }

/* Badges */
.gch-badges { display: flex; flex-wrap: wrap; gap: 6px; min-height: 0; margin-bottom: 6px; }
.gch-badges:empty { display: none; }
.gch-badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; background: var(--gch-soft); color: var(--gch-muted); font-size: .72rem; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
.gch-badge--premium { background: #FFF1D6; color: #8A5A00; }
.gch-badge--featured { background: #E3F1EA; color: var(--gch-brand-2); }
.gch-badge--verified { background: #E7F0FF; color: #1D4ED8; }
.gch-badge--free { background: #E3F1EA; color: var(--gch-brand-2); }

/* Filter bars */
.gch-filter { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 12px; margin: 0 0 18px; background: var(--gch-card); border: 1px solid var(--gch-line); border-radius: calc(var(--gch-radius) + 4px); box-shadow: var(--gch-shadow); }
.gch-filter select, .gch-filter input[type="search"] { height: 46px; padding: 0 14px; border: 1px solid var(--gch-line); border-radius: 12px; background: var(--gch-bg); color: var(--gch-ink); font: inherit; min-width: 0; }
.gch-filter > label { flex: 1 1 160px; display: flex; }
.gch-filter > label > select { width: 100%; }
.gch-filter__search { flex: 3 1 260px !important; position: relative; align-items: center; }
.gch-filter__search .gch-icon { position: absolute; left: 14px; color: var(--gch-muted); }
.gch-filter__search input { width: 100%; padding-left: 42px !important; }
.gch-filter .gch-btn { height: 46px; }
.gch-filter--events { justify-content: space-between; }
.gch-count { color: var(--gch-muted); font-size: .9rem; margin: 0 0 12px; }

/* Chips */
.gch-chips { display: flex; flex-wrap: wrap; gap: 8px; flex: 1 1 100%; }
.gch-chip { cursor: pointer; }
.gch-chip input { position: absolute; opacity: 0; pointer-events: none; }
.gch-chip span { display: inline-block; padding: 8px 14px; border-radius: 999px; background: var(--gch-soft); color: var(--gch-ink); font-size: .9rem; font-weight: 600; transition: background .15s; }
.gch-chip:hover span { background: var(--gch-line); }
.gch-chip input:checked + span { background: var(--gch-brand); color: #fff; }
.gch-chip input:focus-visible + span { outline: 3px solid var(--gch-gold); }
.gch-chips--links { margin: 0 0 24px; }
.gch-chips--links a { text-decoration: none; }

/* Grids */
.gch-grid { display: grid; gap: 16px; }
.gch-grid--biz { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.gch-grid--res { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }

/* Business card */
.gch-biz { display: flex; gap: 14px; padding: 16px; background: var(--gch-card); border: 1px solid var(--gch-line); border-radius: var(--gch-radius); transition: transform .18s ease, box-shadow .18s ease; position: relative; }
.gch-biz:hover { transform: translateY(-2px); box-shadow: var(--gch-shadow); }
.gch-biz--premium { border-color: #F2D49A; background: linear-gradient(180deg, #FFFBF2 0%, var(--gch-card) 60%); }
.gch-biz--featured { border-color: #BFDCCD; }
.gch-biz__media { flex: none; width: 64px; height: 64px; border-radius: 14px; overflow: hidden; display: block; }
.gch-avatar__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gch-avatar__initials { display: grid; place-items: center; width: 100%; height: 100%; background: hsl(var(--h, 150) 45% 90%); color: hsl(var(--h, 150) 50% 25%); font-family: var(--gch-font-display); font-weight: 700; font-size: 1.35rem; }
.gch-biz__body { min-width: 0; flex: 1; }
.gch-biz__title { margin: 0 0 2px; font-size: 1.08rem; line-height: 1.25; }
.gch-biz__title a { color: var(--gch-ink); text-decoration: none; }
.gch-biz__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.gch-biz__meta { margin: 0 0 6px; color: var(--gch-muted); font-size: .88rem; }
.gch-biz__excerpt { margin: 0 0 8px; font-size: .92rem; color: var(--gch-ink); }
.gch-biz__actions { display: flex; flex-wrap: wrap; gap: 6px 14px; position: relative; z-index: 1; }
.gch-biz__actions a { display: inline-flex; align-items: center; gap: 5px; color: var(--gch-brand-2); font-size: .88rem; font-weight: 700; text-decoration: none; }
.gch-biz__actions a:hover { text-decoration: underline; }

/* Events */
.gch-events { display: grid; gap: 12px; }
.gch-events--grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.gch-event { display: flex; gap: 16px; align-items: center; padding: 14px; background: var(--gch-card); border: 1px solid var(--gch-line); border-radius: var(--gch-radius); position: relative; transition: transform .18s ease, box-shadow .18s ease; }
.gch-event:hover { transform: translateY(-2px); box-shadow: var(--gch-shadow); }
.gch-event--featured { border-color: #F2D49A; background: linear-gradient(90deg, #FFFBF2, var(--gch-card)); }
.gch-event__date { flex: none; width: 64px; padding: 8px 0; border-radius: 14px; background: var(--gch-brand); color: #fff; text-align: center; line-height: 1; display: flex; flex-direction: column; gap: 3px; }
.gch-event__mon { font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gch-gold); }
.gch-event__day { font-family: var(--gch-font-display); font-size: 1.75rem; font-weight: 700; }
.gch-event__dow { font-size: .7rem; opacity: .8; text-transform: uppercase; letter-spacing: .08em; }
.gch-event__body { flex: 1; min-width: 0; }
.gch-event__title { margin: 0 0 4px; font-size: 1.05rem; line-height: 1.3; }
.gch-event__title a { color: var(--gch-ink); text-decoration: none; }
.gch-event__title a::after { content: ""; position: absolute; inset: 0; }
.gch-event__meta { margin: 0; display: flex; gap: 6px; align-items: center; color: var(--gch-muted); font-size: .88rem; }
.gch-event__thumb { flex: none; width: 96px; height: 72px; border-radius: 12px; overflow: hidden; }
.gch-event__thumb img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 520px) { .gch-event__thumb { display: none; } }

/* Empty states */
.gch-empty { text-align: center; padding: 36px 20px; border: 2px dashed var(--gch-line); border-radius: var(--gch-radius); color: var(--gch-muted); background: color-mix(in srgb, var(--gch-card) 60%, transparent); }
.gch-empty .gch-icon { color: var(--gch-brand-2); }
.gch-empty h3 { color: var(--gch-ink); margin: 10px 0 4px; font-size: 1.15rem; }
.gch-empty p { margin: 0 0 14px; }
.gch-empty--promo { border-color: #F2D49A; background: #FFFBF2; }

/* Pager */
.gch-pager { display: flex; gap: 6px; justify-content: center; margin: 24px 0 0; flex-wrap: wrap; }
.gch-pager a { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--gch-line); background: var(--gch-card); color: var(--gch-ink); text-decoration: none; font-weight: 700; }
.gch-pager a.is-current { background: var(--gch-brand); color: #fff; border-color: var(--gch-brand); }

/* Forms */
.gch-form { display: grid; gap: 18px; padding: clamp(18px, 4vw, 32px); background: var(--gch-card); border: 1px solid var(--gch-line); border-radius: calc(var(--gch-radius) + 4px); box-shadow: var(--gch-shadow); }
.gch-form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 14px; }
.gch-form legend { font-family: var(--gch-font-display); font-size: 1.3rem; font-weight: 700; margin-bottom: 10px; color: var(--gch-ink); }
.gch-form__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 14px; }
.gch-field { display: grid; gap: 6px; }
.gch-field__label { font-weight: 700; font-size: .9rem; color: var(--gch-ink); }
.gch-field__hint { font-size: .82rem; color: var(--gch-muted); }
.gch-form input:not([type="radio"]):not([type="checkbox"]):not([type="file"]), .gch-form select, .gch-form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--gch-line); border-radius: 12px; background: var(--gch-bg); color: var(--gch-ink); font: inherit; box-sizing: border-box; }
.gch-form input:focus, .gch-form select:focus, .gch-form textarea:focus, .gch-filter input:focus, .gch-filter select:focus { outline: 3px solid color-mix(in srgb, var(--gch-gold) 70%, transparent); border-color: var(--gch-brand-2); }
.gch-form .gch-btn { justify-self: start; }
.gch-upsell { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: #FFF6E5; border: 1px solid #F2D49A; cursor: pointer; }
.gch-upsell input { margin-top: 4px; accent-color: var(--gch-accent); }

.gch-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 10px; }
.gch-plan { position: relative; display: grid; gap: 2px; padding: 14px 16px; border: 2px solid var(--gch-line); border-radius: 14px; cursor: pointer; background: var(--gch-bg); }
.gch-plan input { position: absolute; top: 14px; right: 14px; accent-color: var(--gch-brand); }
.gch-plan:has(input:checked) { border-color: var(--gch-brand); background: #EEF6F1; }
.gch-plan:has(input:disabled) { opacity: .55; cursor: not-allowed; }
.gch-plan--best { border-color: #F2D49A; }
.gch-plan__name { font-weight: 800; }
.gch-plan__price { font-family: var(--gch-font-display); font-size: 1.4rem; font-weight: 700; }
.gch-plan__price small { font-size: .8rem; font-family: inherit; color: var(--gch-muted); }
.gch-plan__desc { font-size: .84rem; color: var(--gch-muted); }

/* Pricing cards */
.gch-pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 18px; margin: 24px 0; align-items: stretch; }
.gch-price-card { position: relative; display: flex; flex-direction: column; padding: 26px; background: var(--gch-card); border: 1px solid var(--gch-line); border-radius: 22px; box-shadow: var(--gch-shadow); }
.gch-price-card h3 { margin: 0; font-size: 1.1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gch-muted); }
.gch-price-card__price { font-family: var(--gch-font-display); font-size: 2.6rem; font-weight: 700; margin: 6px 0 14px; color: var(--gch-ink); }
.gch-price-card__price small { font-family: inherit; font-size: .95rem; color: var(--gch-muted); font-weight: 500; }
.gch-price-card ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 9px; flex: 1; }
.gch-price-card li { display: flex; gap: 8px; align-items: flex-start; }
.gch-price-card li .gch-icon { color: var(--gch-brand-2); margin-top: 3px; }
.gch-price-card .gch-btn, .gch-price-card form .gch-btn { width: 100%; }
.gch-price-card--best { background: var(--gch-brand); color: #EAF4EE; border-color: var(--gch-brand); transform: translateY(-6px); }
.gch-price-card--best h3, .gch-price-card--best .gch-price-card__price small { color: #A9CDBB; }
.gch-price-card--best .gch-price-card__price { color: #fff; }
.gch-price-card--best li .gch-icon { color: var(--gch-gold); }
.gch-price-card__flag { position: absolute; top: -12px; right: 20px; background: var(--gch-gold); color: #3A2A00; font-size: .75rem; font-weight: 800; padding: 5px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em; }

/* Notices */
.gch-notice { padding: 14px 18px; border-radius: 14px; margin: 0 0 18px; font-weight: 600; }
.gch-notice--ok { background: #E3F1EA; color: #10432F; }
.gch-notice--warn { background: #FFF4DB; color: #6B4A00; }
.gch-notice--err { background: #FDE7E1; color: #8A2B10; }

/* Ads */
.gch-ad { position: relative; margin: 0 0 24px; }
.gch-ad__label { position: absolute; top: 8px; right: 10px; z-index: 1; font-size: .65rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; background: rgba(255,255,255,.88); color: var(--gch-muted); padding: 2px 7px; border-radius: 999px; }
.gch-ad a { display: block; border-radius: var(--gch-radius); overflow: hidden; text-decoration: none; }
.gch-ad img { display: block; width: 100%; height: auto; }
.gch-ad--house a { padding: 22px 24px; background: repeating-linear-gradient(135deg, var(--gch-soft) 0 12px, color-mix(in srgb, var(--gch-soft) 60%, #fff) 12px 24px); border: 1px dashed #D8CDB8; }
.gch-ad__house { display: grid; gap: 4px; color: var(--gch-ink); }
.gch-ad__house strong { font-family: var(--gch-font-display); font-size: 1.15rem; }
.gch-ad__house span { color: var(--gch-accent); font-weight: 700; }
.gch-ad__text { display: block; padding: 24px; background: var(--gch-soft); color: var(--gch-ink); font-weight: 700; }

/* Newsletter forms */
.gch-subscribe { display: flex; flex-wrap: wrap; gap: 10px; }
.gch-subscribe input[type="email"] { flex: 1 1 220px; height: 52px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--gch-line); background: #fff; color: var(--gch-ink); font: inherit; }
.gch-subscribe .gch-btn { height: 52px; padding: 0 24px; }
.gch-subscribe__msg { flex: 1 1 100%; margin: 0; font-weight: 600; min-height: 1.2em; }
.gch-subscribe--card { padding: 24px; background: var(--gch-brand); border-radius: 22px; }
.gch-subscribe--card .gch-subscribe__msg { color: #fff; }
.gch-subscribe.is-done input, .gch-subscribe.is-done button { display: none; }

/* Cities */
.gch-cities { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 14px; }
.gch-city { position: relative; display: grid; gap: 6px; padding: 20px 20px 46px; min-height: 140px; border-radius: 20px; background: var(--gch-card); border: 1px solid var(--gch-line); text-decoration: none; color: var(--gch-ink); overflow: hidden; transition: transform .18s, box-shadow .18s, background .18s; }
.gch-city::before { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: hsl(calc(140 + var(--i, 0) * 13) 40% 88%); opacity: .7; transition: transform .3s; }
.gch-city:hover { transform: translateY(-3px); box-shadow: var(--gch-shadow); }
.gch-city:hover::before { transform: scale(1.4); }
.gch-city__name { position: relative; font-family: var(--gch-font-display); font-size: 1.35rem; font-weight: 700; }
.gch-city__desc { position: relative; font-size: .88rem; color: var(--gch-muted); }
.gch-city__go { position: absolute; left: 20px; bottom: 16px; color: var(--gch-accent); }
.gch-city-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.gch-city-chips a { padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.12); color: #fff; text-decoration: none; font-weight: 600; font-size: .9rem; border: 1px solid rgba(255,255,255,.22); transition: background .15s; }
.gch-city-chips a:hover { background: rgba(255,255,255,.25); }

/* Resources */
.gch-emergency { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; margin: 0 0 22px; border-radius: 16px; background: #FDE7E1; color: #7A240C; }
.gch-emergency a { color: inherit; font-weight: 800; }
.gch-resource-group { margin: 0 0 34px; scroll-margin-top: 90px; }
.gch-resource-group h2 { font-family: var(--gch-font-display); margin: 0 0 14px; }
.gch-resource { padding: 18px; background: var(--gch-card); border: 1px solid var(--gch-line); border-radius: var(--gch-radius); display: flex; flex-direction: column; gap: 8px; }
.gch-resource h3 { margin: 0; font-size: 1.05rem; }
.gch-resource h3 a { color: var(--gch-ink); text-decoration: none; }
.gch-resource p { margin: 0; font-size: .92rem; color: var(--gch-muted); }
.gch-verified-on { display: flex; gap: 5px; align-items: center; font-size: .78rem !important; color: var(--gch-brand-2) !important; margin-top: auto !important; }

.gch-roundup li { margin-bottom: 8px; }
.gch-source { font-size: .9rem; color: var(--gch-muted); border-top: 1px solid var(--gch-line); padding-top: 12px; }

@media (prefers-reduced-motion: reduce) {
	.gch-biz, .gch-event, .gch-city, .gch-btn, .gch-city::before { transition: none !important; }
}
