/* Hamfest Calendar — site look (Astra header/footer + our listings, search, form). */
:root {
	--hfc-navy: #0a2e5d;
	--hfc-navy-2: #164a86;
	--hfc-navy-3: #1d5fa8;
	--hfc-red: #ce0a17;
	--hfc-red-2: #a8070f;
	--hfc-sky: #99cdec;
	--hfc-sky-soft: #eaf5fc;
	--hfc-sky-line: #cde6f6;
	--hfc-ink: #17212e;
	--hfc-muted: #5d6878;
	--hfc-line: #e3e8ef;
	--hfc-bg: #f5f7fa;
	--hfc-red-text: #b42318;
	--hfc-radius: 14px;
	--hfc-shadow: 0 1px 2px rgba(15, 42, 71, .06), 0 4px 16px rgba(15, 42, 71, .06);
	--hfc-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Site chrome (Astra) ---------- */
body { font-family: var(--hfc-font); color: var(--hfc-ink); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, h4, .site-title { font-family: var(--hfc-font); letter-spacing: -.01em; }
.site-header, .main-header-bar { border-bottom: 1px solid var(--hfc-line) !important; background: #fff; }
.ast-primary-header-bar { padding: 6px 0; }
.site-title { font-size: 1.35rem !important; font-weight: 800; margin: 0; }
.site-title a { color: var(--hfc-navy) !important; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.site-logo-img img, .custom-logo { width: auto !important; max-height: 56px; }
.ast-site-title-wrap { display: none; }
.main-header-menu .menu-link { color: var(--hfc-ink) !important; font-weight: 600; font-size: .95rem; }
.main-header-menu .menu-link:hover, .main-header-menu .current-menu-item > .menu-link { color: var(--hfc-navy-3) !important; }
.main-header-menu .hfc-menu-cta { display: flex; align-items: center; }
.main-header-menu .hfc-menu-cta > .menu-link {
	background: var(--hfc-red); color: #fff !important; border-radius: 8px; padding: 9px 18px !important;
	line-height: 1.2 !important; height: auto !important; min-height: 0 !important; margin-left: 10px; font-weight: 700;
}
.main-header-menu .hfc-menu-cta > .menu-link:hover { background: var(--hfc-red-2); color: #fff !important; }
.ast-mobile-menu-buttons .menu-toggle { background: var(--hfc-navy) !important; border-radius: 8px; }
.site-footer, .site-below-footer-wrap, .ast-footer-copyright { background: var(--hfc-navy) !important; color: #c9d4e3 !important; }
.site-footer a { color: #fff !important; }
.site-below-footer-wrap { border-top: 0 !important; padding: 18px 0 !important; font-size: .85rem; }
.home .site-content > .ast-container, .hfc-view .site-content > .ast-container { padding-top: 0; }
.home .ast-plain-container .site-main, .hfc-view .ast-plain-container .site-main { margin-top: 0; }
.home #primary, .hfc-view #primary { margin-top: 0 !important; padding-top: 0 !important; }
.home .entry-content > p:first-child:empty { display: none; }

/* ---------- Shared ---------- */
.hfc { color: var(--hfc-ink); font-family: var(--hfc-font); }
.hfc a { color: var(--hfc-navy-3); text-decoration: none; }
.hfc a:hover { text-decoration: underline; }
.hfc-muted { color: var(--hfc-muted); }
.hfc-small { font-size: .875em; }

.hfc-btn, .hfc a.hfc-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; padding: 0 20px;
	border: 0; border-radius: 10px; background: var(--hfc-navy); color: #fff; font-weight: 700; font-size: 1rem;
	text-decoration: none; cursor: pointer; line-height: 1.2; white-space: nowrap; font-family: inherit;
}
.hfc-btn:hover, .hfc a.hfc-btn:hover { background: var(--hfc-navy-2); color: #fff; text-decoration: none; }
.hfc-btn-amber, .hfc-btn-red { background: var(--hfc-red); color: #fff; }
.hfc-btn-amber:hover, .hfc-btn-red:hover { background: var(--hfc-red-2); color: #fff; }
.hfc-btn-ghost, .hfc a.hfc-btn-ghost { background: #fff; color: var(--hfc-navy); box-shadow: inset 0 0 0 1.5px var(--hfc-navy); }
.hfc-btn-ghost:hover, .hfc a.hfc-btn-ghost:hover { background: var(--hfc-bg); color: var(--hfc-navy); }
.hfc-btn-sm, .hfc a.hfc-btn-sm { min-height: 36px; padding: 0 14px; font-size: .9rem; border-radius: 8px; }
.hfc-btn-lg { min-height: 54px; padding: 0 32px; font-size: 1.1rem; }

/* ---------- Hero + search ---------- */
.hfc-hero {
	margin: 0 calc(50% - 50vw) 28px; padding: 30px calc(50vw - 50%) 30px;
	background: radial-gradient(1100px 420px at 88% -15%, rgba(153, 205, 236, .22), transparent 60%),
		linear-gradient(160deg, var(--hfc-navy) 0%, #143a63 60%, var(--hfc-navy-2) 100%);
	color: #fff;
}
.hfc-hero-sm { padding-top: 26px; padding-bottom: 26px; }
.hfc-eyebrow { display: inline-block; margin: 0 0 12px; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: var(--hfc-sky); font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.hfc-hero-title { color: #fff !important; font-size: clamp(1.9rem, 4.6vw, 3rem); font-weight: 800; line-height: 1.1; margin: 0 0 10px; }
.hfc-hero-sm .hfc-hero-title { font-size: clamp(1.6rem, 3.6vw, 2.3rem); }
.hfc-hero-sub { color: #d4def0; font-size: 1.1rem; max-width: 46em; margin: 0 0 24px; }
.hfc-hero-sub a { color: var(--hfc-sky); text-decoration: underline; }
.hfc-hero-sub strong { color: #fff; }
.hfc-hero-row { display: flex; align-items: center; gap: 28px; }
.hfc-hero-text { flex: 1; min-width: 0; }
.hfc-soon { flex: 0 0 250px; margin: 0 0 24px; padding: 16px 18px; border-radius: var(--hfc-radius); background: rgba(255, 255, 255, .08); border: 1.5px dashed rgba(153, 205, 236, .55); }
.hfc-soon-tag { display: inline-block; padding: 3px 10px; border-radius: 999px; background: #f2b632; color: var(--hfc-navy); font-size: .72rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.hfc .hfc-soon-title { display: flex; align-items: center; gap: 8px; margin: 10px 0 4px; color: #fff; font-size: 1.2rem; font-weight: 800; }
.hfc-soon-title svg { color: var(--hfc-sky); }
.hfc .hfc-soon-text { margin: 0; color: #d4def0; font-size: .92rem; line-height: 1.4; }
@media (max-width: 900px) {
	.hfc-hero-row { display: block; }
	.hfc-soon { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: -8px 0 18px; padding: 10px 14px; }
	.hfc .hfc-soon-title { margin: 0; font-size: 1rem; }
	.hfc .hfc-soon-text { flex-basis: 100%; font-size: .88rem; }
}

.hfc-search { display: grid; grid-template-columns: 1.15fr 1fr; gap: 14px; background: #fff; color: var(--hfc-ink); border-radius: var(--hfc-radius); padding: 18px; box-shadow: 0 12px 40px rgba(0, 0, 0, .25); }
.hfc-search form { margin: 0; }
.hfc-search-near { border-left: 1px solid var(--hfc-line); padding-left: 16px; }
.hfc-lbl { display: block; font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--hfc-muted); margin: 0 0 6px; }
.hfc-row { display: flex; gap: 8px; }
.hfc-search select, .hfc-search input[type=text] {
	min-height: 46px; padding: 0 12px; border: 1.5px solid #cdd5e0; border-radius: 10px; background: #fff; font-size: 1rem;
	color: var(--hfc-ink); font-family: inherit; margin: 0;
}
.hfc-search select:focus, .hfc-search input:focus { border-color: var(--hfc-navy-3); outline: 3px solid rgba(36, 96, 157, .18); }
.hfc-search-where select { flex: 1; min-width: 0; }
.hfc-search-near input[type=text] { width: 7.5em; flex: 1; min-width: 0; }
.hfc-search-near select { width: auto; }
.hfc-js .hfc-nojs { display: none; }

.hfc-toggle { display: inline-flex; align-items: center; gap: 10px; margin-top: 12px; cursor: pointer; font-weight: 600; user-select: none; }
.hfc-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.hfc-toggle-ui { width: 40px; height: 24px; border-radius: 999px; background: #cdd5e0; position: relative; transition: background .15s; flex: none; }
.hfc-toggle-ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .15s; }
.hfc-toggle input:checked + .hfc-toggle-ui { background: var(--hfc-navy-3); }
.hfc-toggle input:checked + .hfc-toggle-ui::after { transform: translateX(16px); }
.hfc-toggle input:focus-visible + .hfc-toggle-ui { outline: 3px solid rgba(36, 96, 157, .35); outline-offset: 2px; }

.hfc-linkbtn { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 0; background: none; border: 0; color: var(--hfc-navy-3); font-weight: 700; font-size: .95rem; cursor: pointer; font-family: inherit; }
.hfc-linkbtn:hover { text-decoration: underline; background: none; color: var(--hfc-navy); }

.hfc-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.hfc .hfc-tab { padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #e6edf7; font-weight: 600; font-size: .92rem; text-decoration: none; }
.hfc .hfc-tab:hover { background: rgba(255, 255, 255, .2); color: #fff; text-decoration: none; }
.hfc .hfc-tab.is-on { background: #fff; color: var(--hfc-navy); }
.hfc .hfc-tab-add { margin-left: auto; background: var(--hfc-red); color: #fff; font-weight: 700; }
.hfc .hfc-tab-add:hover { background: var(--hfc-red-2); color: #fff; }

/* ---------- Sections ---------- */
.hfc-sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 8px 0 12px; }
.hfc-sec-title { font-size: 1.45rem; font-weight: 800; color: var(--hfc-navy); margin: 0; }
.hfc-count-line { color: var(--hfc-muted); font-size: .92rem; margin: 0 0 6px; }
.hfc-nearme { margin: 0 0 36px; }
.hfc-near-status { color: var(--hfc-muted); font-size: .92rem; }
.hfc-near-more { margin: 10px 0 0; font-weight: 700; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.hfc-near-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: -4px 0 14px; }
.hfc-near-pick span { color: var(--hfc-muted); font-size: .9rem; margin-right: 2px; }
.hfc-near-pick button { min-height: 34px; padding: 4px 14px; border: 1px solid #cfe0f2; border-radius: 999px; background: #fff; color: var(--hfc-navy); font: inherit; font-size: .9rem; font-weight: 700; cursor: pointer; }
.hfc-near-pick button:hover { border-color: var(--hfc-navy); }
.hfc-near-pick button[aria-pressed="true"] { background: var(--hfc-navy); border-color: var(--hfc-navy); color: #fff; }
.hfc-zchip { position: relative; display: inline-flex; }
.hfc-near-pick .hfc-zchip button[data-zip] { padding-right: 34px; }
.hfc-near-pick .hfc-zchip-x { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; min-height: 0; padding: 0; border: 0; border-radius: 50%; background: var(--hfc-red); color: #fff; font-size: 16px; font-weight: 700; line-height: 22px; text-align: center; }
.hfc-near-pick .hfc-zchip-x:hover, .hfc-near-pick .hfc-zchip-x:focus-visible { background: #a00015; border: 0; }
.hfc-nearme.is-empty .hfc-cards { display: none; }
.hfc-nearme .hfc-cards:empty::before { content: ""; display: block; height: 96px; border-radius: var(--hfc-radius); background: linear-gradient(90deg, var(--hfc-bg) 25%, #eef2f7 50%, var(--hfc-bg) 75%); background-size: 200% 100%; animation: hfc-shimmer 1.4s infinite; }
@keyframes hfc-shimmer { to { background-position: -200% 0; } }

.hfc-month { display: flex; align-items: center; gap: 12px; font-size: .85rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--hfc-muted); margin: 28px 0 10px; }
.hfc-month::after { content: ""; flex: 1; height: 1px; background: var(--hfc-line); }

/* ---------- Cards ---------- */
.hfc-cards { display: grid; gap: 10px; }
.hfc-card {
	position: relative; display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; align-items: center;
	background: #fff; border: 1px solid var(--hfc-line); border-radius: var(--hfc-radius); padding: 14px 16px;
	transition: box-shadow .15s, border-color .15s, transform .15s;
}
.hfc-card:hover { border-color: #c5d0de; box-shadow: var(--hfc-shadow); transform: translateY(-1px); }
.hfc-card.is-off { opacity: .65; }
.hfc-card.is-off .hfc-card-title a { text-decoration: line-through; }
.hfc-date { display: flex; flex-direction: column; align-items: center; justify-content: center; align-self: start; height: 68px; border-radius: 12px; background: var(--hfc-sky-soft); border: 1px solid var(--hfc-sky-line); line-height: 1; text-align: center; }
.hfc-date-m { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--hfc-red); }
.hfc-date-d { white-space: nowrap; font-size: 1.5rem; font-weight: 800; color: var(--hfc-navy); margin: 3px 0 2px; }
.hfc-date-w { font-size: .7rem; font-weight: 600; color: var(--hfc-muted); }
.hfc-card-body { min-width: 0; }
.hfc-card-title { font-size: 1.08rem; font-weight: 700; line-height: 1.3; margin: 0 0 4px; }
.hfc .hfc-card-title a { color: var(--hfc-ink); text-decoration: none; }
.hfc .hfc-card-title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--hfc-radius); } /* whole card clickable */
.hfc .hfc-card:hover .hfc-card-title a { color: var(--hfc-navy-3); }
.hfc-card p { margin: 0; }
.hfc-card-where { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-weight: 600; font-size: .95rem; color: var(--hfc-ink); }
.hfc-card-where svg { color: var(--hfc-red); flex: none; }
.hfc-card-venue { color: var(--hfc-muted); font-weight: 400; }
.hfc-card-venue::before { content: "·"; margin-right: 6px; }
.hfc-card-club { color: var(--hfc-muted); font-size: .88rem; margin-top: 2px !important; }
.hfc-badges { list-style: none; margin: 8px 0 0 !important; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 6px; }
.hfc-badges li { margin: 0 !important; font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--hfc-bg); color: var(--hfc-muted); }
.hfc-badges .hfc-b-arrl { background: #e8f0fa; color: var(--hfc-navy-2); }
.hfc-badges .hfc-b-cancel { background: #fde8e7; color: var(--hfc-red-text); }
.hfc-card-side { display: flex; align-items: center; gap: 8px; color: #9aa6b6; }
.hfc-dist { font-weight: 800; color: var(--hfc-navy); white-space: nowrap; font-size: .95rem; background: var(--hfc-bg); padding: 4px 10px; border-radius: 999px; }
.hfc-empty { background: var(--hfc-bg); border-radius: var(--hfc-radius); padding: 28px; text-align: center; color: var(--hfc-muted); margin-top: 1em; }
.hfc-feed { margin-top: 2.2em; font-size: .9rem; color: var(--hfc-muted); }

/* ---------- State grid ---------- */
.hfc-states { margin: 44px 0 10px; padding: 26px; background: var(--hfc-bg); border-radius: var(--hfc-radius); }
.hfc-states h2 { font-size: 1.3rem; font-weight: 800; color: var(--hfc-navy); margin: 0 0 14px; }
.hfc-states ul { list-style: none; margin: 0 !important; padding: 0 !important; columns: 4 170px; column-gap: 28px; }
.hfc-states li { margin: 0 0 7px !important; break-inside: avoid; display: flex; justify-content: space-between; gap: 8px; }
.hfc-states li a { color: var(--hfc-ink); font-weight: 500; }
.hfc-states li.is-empty a { color: #8995a6; }
.hfc-count { min-width: 1.7em; padding: 1px 7px; border-radius: 999px; background: var(--hfc-navy); color: #fff; font-size: .72rem; font-weight: 700; text-align: center; height: fit-content; }

/* ---------- Single hamfest ---------- */
.single-hamfest .entry-title { color: var(--hfc-navy); font-weight: 800; font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
.single-hamfest .entry-meta, .single-hamfest .ast-single-post-order .entry-meta { display: none; }
.hfc-details { margin: 0 0 1.6em; border: 1px solid var(--hfc-line); border-radius: var(--hfc-radius); overflow: hidden; box-shadow: var(--hfc-shadow); }
.hfc-d-row { display: grid; grid-template-columns: 170px 1fr; border-top: 1px solid var(--hfc-line); }
.hfc-d-row:first-child { border-top: 0; }
.hfc-details dt { background: var(--hfc-bg); padding: 12px 16px; font-weight: 700; color: var(--hfc-navy); margin: 0; font-size: .92rem; }
.hfc-details dd { padding: 12px 16px; margin: 0; }
.hfc-links { display: flex; flex-wrap: wrap; gap: 8px; }
.hfc-alert { background: #fde8e7; border: 1px solid #f4b4ae; color: #7a1a12; padding: 12px 16px; border-radius: var(--hfc-radius); font-weight: 600; }
.hfc-alert ul { margin: 6px 0 0 1.2em; font-weight: 400; }
.hfc-alert-info { background: var(--hfc-sky-soft); border-color: var(--hfc-sky-line); color: #5c3d00; }
.hfc-single-foot { margin-top: 2em; padding-top: 1em; border-top: 1px solid var(--hfc-line); }

/* ---------- Form (compact, fast entry) ---------- */
.hfc-form-wrap { max-width: 920px; }
.hfc-form-note { color: var(--hfc-muted); font-size: .88rem; margin: 0 0 12px; }
.hfc-form-note em, .hfc-field em, .hfc-check em { color: var(--hfc-red); font-style: normal; font-weight: 700; }
.hfc-form fieldset { border: 1px solid var(--hfc-line); border-radius: var(--hfc-radius); padding: 14px 18px 16px; margin: 0 0 14px; background: #fff; }
.hfc-form legend { display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--hfc-navy); padding: 0 6px; font-size: 1.02rem; }
.hfc-step { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--hfc-navy); color: #fff; font-size: .75rem; font-weight: 800; }
.hfc-fgrid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px 14px; }
.hfc-span-1 { grid-column: span 1; } .hfc-span-2 { grid-column: span 2; } .hfc-span-3 { grid-column: span 3; }
.hfc-span-4 { grid-column: span 4; } .hfc-span-6 { grid-column: span 6; }
.hfc-field { display: block; margin: 0; min-width: 0; }
.hfc-field[hidden] { display: none; }
.hfc-field > span { display: block; font-weight: 600; margin-bottom: 3px; font-size: .84rem; color: #2b3746; }
.hfc-field input, .hfc-field select, .hfc-field textarea {
	width: 100%; min-height: 40px; padding: 6px 10px; border: 1.5px solid #cdd5e0; border-radius: 8px; font-size: .97rem;
	background: #fff; font-family: inherit; color: var(--hfc-ink); margin: 0;
}
.hfc-field textarea { min-height: 0; }
.hfc-field input::placeholder, .hfc-field textarea::placeholder { color: #9aa6b6; }
.hfc-field input:focus, .hfc-field select:focus, .hfc-field textarea:focus { border-color: var(--hfc-navy-3); outline: 3px solid rgba(29, 95, 168, .16); }
.hfc-field input:user-invalid, .hfc-field select:user-invalid { border-color: var(--hfc-red); }
.hfc-hint { color: var(--hfc-muted); font-size: .84rem; margin: 10px 0 0; }
.hfc-hint-top { margin: 0 0 10px; }
.hfc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.hfc-chip { position: relative; cursor: pointer; margin: 0; }
.hfc-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.hfc-chip span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border: 1.5px solid #cdd5e0; border-radius: 999px; font-size: .9rem; font-weight: 600; color: #2b3746; background: #fff; transition: all .12s; }
.hfc-chip span::before { content: "+"; font-weight: 800; color: var(--hfc-muted); }
.hfc-chip input:checked + span { background: var(--hfc-navy); border-color: var(--hfc-navy); color: #fff; }
.hfc-chip input:checked + span::before { content: "✓"; color: var(--hfc-sky); }
.hfc-chip input:focus-visible + span { outline: 3px solid rgba(29, 95, 168, .3); outline-offset: 2px; }
.hfc-more { margin-top: 10px; }
.hfc-more summary { cursor: pointer; color: var(--hfc-navy-3); font-weight: 700; font-size: .92rem; width: fit-content; }
.hfc-more[open] summary { margin-bottom: 6px; }
.hfc-check { display: flex; align-items: flex-start; gap: 8px; margin: 10px 0 0; cursor: pointer; font-size: .93rem; }
.hfc-check input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--hfc-navy-3); }
[data-hfc-contact] { margin-top: 10px; }
[data-hfc-contact][hidden] { display: none; }
.hfc-send { background: var(--hfc-bg); border-radius: var(--hfc-radius); padding: 14px 18px 18px; }
.hfc-send-checks { display: grid; gap: 0; margin-bottom: 12px; }
.hfc-send .hfc-btn-lg { width: 100%; max-width: 320px; }
.hfc-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hfc-thanks { background: #eaf6ee; border: 1px solid #a7d8b5; border-radius: var(--hfc-radius); padding: 22px 24px; }
.hfc-thanks h2 { margin-top: 0; color: #146c2e; }
.hfc-thanks .hfc-btn { margin: 4px 8px 4px 0; }
.cf-turnstile { margin: 0 0 12px; }

/* ---------- Phone ---------- */
@media (max-width: 760px) {
	.hfc-fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hfc-span-3, .hfc-span-4, .hfc-span-6 { grid-column: span 2; }
	.hfc-span-2 { grid-column: span 2; }
	.hfc-span-1 { grid-column: span 1; }
	.hfc-form fieldset { padding: 12px 12px 14px; }
	.hfc-send .hfc-btn-lg { max-width: none; }
	.hfc-hero { padding: 22px 16px 22px; margin-left: -20px; margin-right: -20px; }
	.hfc-search { grid-template-columns: 1fr; padding: 14px; }
	.hfc-search-near { border-left: 0; padding-left: 0; border-top: 1px solid var(--hfc-line); padding-top: 14px; }
	.hfc-hero-sub { font-size: 1rem; }
	.hfc .hfc-tab-add { margin-left: 0; }
	.hfc-card { grid-template-columns: 54px 1fr; gap: 12px; padding: 12px; }
	.hfc-date { height: 60px; }
	.hfc-date-d { font-size: 1.25rem; }
	.hfc-card-side { grid-column: 2; }
	.hfc-card-venue { flex-basis: 100%; } .hfc-card-venue::before { content: none; } /* venue on its own line, no stray dot */
	.hfc-chev { display: none; }
	.hfc-d-row { grid-template-columns: 1fr; }
	.hfc-details dt { padding-bottom: 4px; }
	.hfc-states ul { columns: 2; }
	.hfc-states { padding: 18px; }
	.site-description { display: none; }
}
@media (prefers-reduced-motion: reduce) { .hfc-card, .hfc-toggle-ui::after { transition: none; } .hfc-nearme .hfc-cards:empty::before { animation: none; } }

/* Astra underlines content links; not on our tabs, buttons and cards */
.hfc a.hfc-tab, .hfc a.hfc-btn, .hfc .hfc-card-title a, .hfc .hfc-states a, .hfc-near-more a { text-decoration: none !important; }
.hfc .hfc-states a:hover, .hfc-near-more a:hover { text-decoration: underline !important; }
.site-footer { border-top: 4px solid var(--hfc-red); }

/* International: country picker + link back to US search */
.hfc-intl-back { display: flex; flex-direction: column; justify-content: flex-start; }
.hfc-intl-back .hfc-btn { align-self: flex-start; min-height: 46px; }
.hfc-js .hfc-search-intl .hfc-nojs { display: none; }

/* Header stays at the top while scrolling ("freeze", Jae 2026-11-15) */
#masthead.site-header { position: sticky; top: 0; z-index: 999; box-shadow: 0 1px 0 var(--hfc-line); }
.admin-bar #masthead.site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar #masthead.site-header { top: 0; } }
#masthead.site-header.hfc-scrolled { box-shadow: 0 4px 18px rgba(10, 46, 93, .12); }

/* Earlier / later hamfest buttons on a hamfest page */
.single-hamfest .post-navigation, .single-hamfest .navigation.post-navigation { display: none !important; }
.hfc-pn-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 28px 0 8px; }
.hfc a.hfc-pn { display: flex; flex-direction: column; gap: 2px; padding: 14px 18px; border: 1.5px solid var(--hfc-line); border-radius: 12px; background: #fff; text-decoration: none !important; transition: border-color .15s, box-shadow .15s, transform .15s; }
.hfc a.hfc-pn:hover { border-color: var(--hfc-navy-3); box-shadow: var(--hfc-shadow); transform: translateY(-1px); }
.hfc-pn-next { text-align: right; align-items: flex-end; }
.hfc-pn-dir { font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--hfc-red); }
.hfc-pn-title { font-weight: 700; color: var(--hfc-navy); line-height: 1.3; }
.hfc-pn-when { font-size: .85rem; color: var(--hfc-muted); }
@media (max-width: 600px) { .hfc-pn-wrap { grid-template-columns: 1fr; } .hfc-pn-next { text-align: left; align-items: flex-start; } }

/* ---------- Hamfest page (banner, cards, sidebar) ---------- */
.single-hamfest .entry-header, .single-hamfest .post-thumb, .single-hamfest .ast-single-post-featured-section { display: none !important; }
.single-hamfest .site-content > .ast-container, .single-hamfest #primary { padding-top: 0 !important; margin-top: 0 !important; }
.single-hamfest .entry-content > .hfc-ev:first-child { margin-top: 0; }
.hfc-i { flex: none; vertical-align: middle; }
.hfc-ev-hero { padding-top: 40px; padding-bottom: 34px; }
.hfc-ev-top { display: grid; grid-template-columns: 116px 1fr; gap: 26px; align-items: start; }
.hfc-ev-date { display: flex; flex-direction: column; align-items: center; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); text-align: center; line-height: 1; }
.hfc-ev-date .m { width: 100%; background: var(--hfc-red); color: #fff; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .85rem; padding: 8px 0; }
.hfc-ev-date .d { font-size: 2.6rem; font-weight: 800; color: var(--hfc-navy); padding: 10px 6px 4px; }
.hfc-ev-date .w { font-size: .78rem; font-weight: 700; color: var(--hfc-muted); }
.hfc-ev-date .y { font-size: .72rem; color: #9aa6b6; padding: 4px 0 10px; }
.hfc-ev-head .hfc-eyebrow { display: inline-flex; align-items: center; gap: 6px; }
.hfc-ev-sub { color: #d4def0; font-size: 1.08rem; margin: 0 0 14px; }
.hfc-ev-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px !important; padding: 0 !important; }
.hfc-ev-chips li { display: inline-flex; align-items: center; gap: 6px; margin: 0 !important; padding: 5px 12px; border-radius: 999px; background: rgba(153, 205, 236, .18); color: #e8f3fb; font-size: .85rem; font-weight: 700; }
.hfc-ev-chips li .hfc-i { color: var(--hfc-sky); }
.hfc-ev-chips li.is-red { background: var(--hfc-red); color: #fff; }
.hfc-ev-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hfc-ev-actions .hfc-btn { min-height: 42px; padding: 0 16px; font-size: .95rem; }
.hfc a.hfc-btn.hfc-btn-glass { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
.hfc a.hfc-btn.hfc-btn-glass:hover { background: rgba(255, 255, 255, .22); color: #fff; }
.hfc a.hfc-btn.hfc-btn-sky { background: var(--hfc-sky); color: var(--hfc-navy); }
.hfc a.hfc-btn.hfc-btn-sky:hover { background: #b8dcf2; color: var(--hfc-navy); }
.hfc a.hfc-btn.hfc-btn-fb { background: #1877f2; color: #fff; }
.hfc a.hfc-btn.hfc-btn-fb:hover { background: #0f63d1; color: #fff; }
.hfc a.hfc-btn.hfc-btn-white { background: #fff; color: var(--hfc-navy); box-shadow: inset 0 0 0 1px var(--hfc-sky-line); justify-content: flex-start; width: 100%; margin-top: 8px; white-space: normal; word-break: break-all; text-align: left; }
.hfc a.hfc-btn.hfc-btn-white:hover { background: #fff; color: var(--hfc-red); }

.hfc-ev-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; align-items: start; }
.hfc-ev-card { background: #fff; border: 1px solid var(--hfc-line); border-radius: var(--hfc-radius); padding: 18px 20px; margin: 0 0 16px; box-shadow: var(--hfc-shadow); }
.hfc-ev-card h2 { display: flex; align-items: center; gap: 10px; font-size: 1.12rem; font-weight: 800; color: var(--hfc-navy); margin: 0 0 12px; }
.hfc-ev-ic { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; flex: none; }
.hfc-ev-ic.is-navy { background: var(--hfc-navy); color: #fff; }
.hfc-ev-ic.is-red { background: #fde7e8; color: var(--hfc-red); }
.hfc-ev-ic.is-sky { background: var(--hfc-sky-soft); color: var(--hfc-navy-3); }
.hfc-kvs { margin: 0; }
.hfc-kv { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 8px 0; border-top: 1px dashed var(--hfc-line); }
.hfc-kv:first-child { border-top: 0; padding-top: 0; }
.hfc-kv dt { font-weight: 700; color: var(--hfc-muted); font-size: .9rem; margin: 0; }
.hfc-kv dd { margin: 0; }
.hfc .hfc-inline { font-weight: 700; color: var(--hfc-red); white-space: nowrap; }
.hfc-ev-tiles { list-style: none; margin: 0 !important; padding: 0 !important; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.hfc-ev-tiles li { display: flex; align-items: center; gap: 12px; margin: 0 !important; padding: 10px 12px; border-radius: 12px; background: var(--hfc-sky-soft); border: 1px solid var(--hfc-sky-line); }
.hfc-ev-tiles li .hfc-ev-ic { background: #fff; }
.hfc-ev-tiles strong { display: block; color: var(--hfc-navy); font-size: .95rem; }
.hfc-ev-tiles small { display: block; color: var(--hfc-muted); font-size: .82rem; }
.hfc-ev-talkin { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 10px 16px; border-radius: 10px; background: var(--hfc-navy); color: #fff; font: 700 1.05rem/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .02em; }
.hfc-ev-talkin .hfc-i { color: var(--hfc-red); background: #fff; border-radius: 6px; padding: 2px; width: 24px; height: 24px; }
.hfc-ev-desc p:last-child { margin-bottom: 0; }

.hfc-ev-side { position: sticky; top: 96px; }
.hfc-ev-side-card { border-radius: var(--hfc-radius); padding: 16px 18px; margin: 0 0 14px; background: #fff; border: 1px solid var(--hfc-line); }
.hfc-ev-side-card h2 { display: flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--hfc-muted); margin: 0 0 10px; }
.hfc-ev-side-card.is-navy { background: linear-gradient(160deg, var(--hfc-navy), var(--hfc-navy-2)); border: 0; color: #fff; }
.hfc-ev-side-card.is-navy h2 { color: var(--hfc-sky); }
.hfc-ev-club { font-size: 1.1rem; font-weight: 800; margin: 0; color: #fff; }
.hfc-ev-call { display: inline-block; margin: 8px 0 0; padding: 3px 10px; border-radius: 6px; background: var(--hfc-red); color: #fff; font: 700 .95rem ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .06em; }
.hfc-ev-side-card.is-sky { background: var(--hfc-sky-soft); border-color: var(--hfc-sky-line); }
.hfc-ev-side-card.is-sky h2 { color: var(--hfc-navy-3); }
.hfc-ev-who { font-weight: 700; margin: 0; color: var(--hfc-navy); }
.hfc a.hfc-ev-link { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--hfc-line); color: var(--hfc-navy); font-weight: 700; text-decoration: none !important; }
.hfc a.hfc-ev-link:first-of-type { border-top: 0; }
.hfc a.hfc-ev-link .hfc-i { color: var(--hfc-red); }
.hfc a.hfc-ev-link:hover { color: var(--hfc-red); }
.hfc-ev-foot { margin-top: 10px; padding-top: 16px; border-top: 1px solid var(--hfc-line); }
.hfc-ev-foot-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.hfc .hfc-ev-foot-actions .hfc-btn { text-decoration: none !important; }
@media (max-width: 900px) {
	.hfc-ev-grid { grid-template-columns: 1fr; }
	.hfc-ev-side { position: static; }
}
@media (max-width: 600px) {
	.hfc-ev-top { grid-template-columns: 1fr; gap: 16px; }
	.hfc-ev-date { flex-direction: row; width: fit-content; }
	.hfc-ev-date .m { width: auto; padding: 10px 12px; }
	.hfc-ev-date .d { font-size: 1.6rem; padding: 6px 10px; }
	.hfc-ev-date .w, .hfc-ev-date .y { padding: 0 10px 0 0; }
	.hfc-ev-actions .hfc-btn { flex: 1 1 calc(50% - 10px); }
	.hfc-kv { grid-template-columns: 1fr; gap: 2px; }
}

.hfc a.hfc-btn.hfc-btn-red, .hfc button.hfc-btn.hfc-btn-red { background: var(--hfc-red); color: #fff; }
.hfc a.hfc-btn.hfc-btn-red:hover, .hfc button.hfc-btn.hfc-btn-red:hover { background: var(--hfc-red-2); color: #fff; }
.hfc a.hfc-btn.hfc-btn-ghost { background: #fff; color: var(--hfc-navy); box-shadow: inset 0 0 0 1.5px var(--hfc-navy); }
.hfc a.hfc-btn.hfc-btn-ghost:hover { background: var(--hfc-sky-soft); color: var(--hfc-navy); }

/* ---------- Sign in / join / account ---------- */
.hfc-auth { max-width: 460px; margin: 48px auto 24px; }
.hfc-auth-card { background: #fff; border: 1px solid var(--hfc-line); border-top: 5px solid var(--hfc-red); border-radius: var(--hfc-radius); padding: 26px 28px; box-shadow: 0 12px 40px rgba(10, 46, 93, .1); }
.hfc-auth-card h1 { font-size: 1.6rem; font-weight: 800; color: var(--hfc-navy); margin: 0 0 6px; }
.hfc-auth-intro { color: var(--hfc-muted); margin: 0 0 18px; }
.hfc-auth-form .hfc-field { margin-bottom: 12px; }
.hfc-auth-2 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; }
.hfc-auth-foot { text-align: center; margin-top: 14px; color: var(--hfc-muted); }
.hfc-auth .cf-turnstile { margin: 6px 0 12px; }
.hfc .hfc-btn-block, .hfc button.hfc-btn-block { width: 100%; }
.hfc-code { font: 700 1.6rem/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important; letter-spacing: .35em; text-align: center; }
.hfc-alert-ok { background: #eaf6ee; border: 1px solid #a7d8b5; color: #14532d; }
.hfc-auth-page .hfc-alert { margin: 0 0 14px; }
.hfc-acct-hero { padding-bottom: 26px; }
.hfc-acct-id { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hfc-acct-id > div { flex: 1; min-width: 200px; }
.hfc-acct-id .hfc-hero-title { margin-bottom: 4px; }
.hfc-acct-id .hfc-hero-sub { margin: 0; }
.hfc-acct-avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--hfc-red); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.3rem; box-shadow: 0 0 0 4px rgba(255, 255, 255, .2); }
.hfc-acct-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; }
.hfc-acct-list { list-style: none; margin: 0 0 12px !important; padding: 0 !important; }
.hfc-acct-list li { padding: 8px 0; border-top: 1px dashed var(--hfc-line); margin: 0 !important; }
.hfc-acct-list li:first-child { border-top: 0; }
.hfc-pill { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: .75rem; font-weight: 700; background: #fff4d6; color: #7a5200; }
.hfc-pill.is-publish { background: #e6f4ea; color: #146c2e; }
.hfc-qr { background: #fff; padding: 10px; border-radius: 10px; width: 210px; margin: 0 0 8px; }
.hfc-qr svg { display: block; width: 100%; height: auto; }
.hfc-secret { font-size: .85rem; word-break: break-all; }
.hfc-recovery { columns: 2; font-size: .95rem; padding-left: 1.4em; }
.hfc-ok { color: #146c2e; font-weight: 700; margin: 0 0 4px; }
.hfc-acct-signout { margin-top: 12px; }
.hfc-ev-side-card form { margin: 0; }
.main-header-menu .hfc-menu-acct > .menu-link { font-weight: 700; }
@media (max-width: 900px) { .hfc-acct-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .hfc-auth-2 { grid-template-columns: 1fr; } .hfc-auth-card { padding: 20px; } }

/* No gap between the header and our navy banners (Astra's boxed-page padding) */
body.hfc-view, body.home { background: #fff; }
.hfc-view #primary, .hfc-view #primary > .site-main > article, .home #primary > .site-main > article {
	margin-top: 0 !important; padding-top: 0 !important; background: transparent !important; box-shadow: none !important;
}
.hfc-view #primary > .site-main > article { padding-left: 0 !important; padding-right: 0 !important; }

/* ---------- Manage (admins) ---------- */
.hfc a.hfc-btn.hfc-btn-green, .hfc button.hfc-btn.hfc-btn-green, .hfc-btn-green { background: #15803d; color: #fff; }
.hfc a.hfc-btn.hfc-btn-green:hover, .hfc button.hfc-btn.hfc-btn-green:hover { background: #116430; color: #fff; }
.hfc button.hfc-btn.hfc-btn-ghost { background: #fff; color: var(--hfc-navy); box-shadow: inset 0 0 0 1.5px var(--hfc-navy); }
.hfc button.hfc-btn.hfc-btn-ghost:hover { background: var(--hfc-sky-soft); }
.hfc-mg-hero { padding-bottom: 22px; }
.hfc-mg-hero .hfc-hero-sub a { color: var(--hfc-sky); }
.hfc-tab-n { display: inline-block; min-width: 1.6em; padding: 0 6px; margin-left: 4px; border-radius: 999px; background: rgba(255,255,255,.2); font-size: .78rem; text-align: center; }
.hfc .hfc-tab.is-on .hfc-tab-n { background: var(--hfc-sky-soft); color: var(--hfc-navy); }
.hfc-tab-n.is-alert, .hfc .hfc-tab.is-on .hfc-tab-n.is-alert { background: var(--hfc-red); color: #fff; }
.hfc-mg-filter { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 12px; }
.hfc-mg-filter input[type=search], .hfc-mg-filter select { min-height: 38px; padding: 4px 10px; border: 1.5px solid #cdd5e0; border-radius: 8px; font: inherit; }
.hfc-mg-filter input[type=search] { min-width: 240px; }
.hfc-mg-filter .hfc-check { margin: 0; }
.hfc-mg-bar { position: sticky; top: 72px; z-index: 5; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 14px; background: var(--hfc-sky-soft); border: 1px solid var(--hfc-sky-line); border-radius: 12px; margin: 0 0 10px; }
.hfc-mg-bar .hfc-check { margin: 0; font-weight: 700; }
.hfc-mg-bar-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.hfc-mg-list { display: grid; gap: 10px; }
.hfc-mg-card { display: grid; grid-template-columns: 28px 60px minmax(0, 1fr) auto; gap: 14px; align-items: start; background: #fff; border: 1px solid var(--hfc-line); border-radius: var(--hfc-radius); padding: 14px 16px; }
.hfc-mg-card.is-off { opacity: .7; }
.hfc-mg-card:has(input[name="ids[]"]:checked) { border-color: #15803d; box-shadow: 0 0 0 2px rgba(21, 128, 61, .25); }
.hfc-mg-pick input { width: 20px; height: 20px; margin-top: 4px; accent-color: #15803d; }
.hfc-mg-card .hfc-date { height: 64px; }
.hfc-mg-body h3 { font-size: 1.05rem; margin: 0 0 4px; line-height: 1.35; }
.hfc .hfc-mg-body h3 a { color: var(--hfc-navy); text-decoration: none; }
.hfc .hfc-mg-body h3 a.hfc-ev-call { color: #fff; font-size: .8rem; vertical-align: middle; }
.hfc-mg-line { margin: 0 0 2px; font-size: .93rem; }
.hfc-mg-links { margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .88rem; font-weight: 700; }
.hfc-mg-sub, .hfc-mg-note, .hfc-mg-geo { margin: 6px 0 0; font-size: .86rem; color: var(--hfc-muted); }
.hfc-mg-geo span { display: inline-block; min-width: 86px; font-weight: 700; color: var(--hfc-ink); }
.hfc-mg-geo b.is-warn { color: var(--hfc-red); }
.hfc-mg-warn { margin: 6px 0 0; padding: 6px 10px; border-radius: 8px; background: #fff4d6; color: #7a5200; font-size: .86rem; font-weight: 600; }
.hfc-mg-src { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: .7rem; font-weight: 800; letter-spacing: .03em; vertical-align: middle; background: var(--hfc-bg); color: var(--hfc-muted); }
.hfc-mg-src.is-arrl { background: #e8f0fa; color: var(--hfc-navy-2); }
.hfc-mg-src.is-web { background: #f3e8ff; color: #6b21a8; }
.hfc-mg-src.is-submitted { background: #e6f4ea; color: #146c2e; }
.hfc-mg-src.is-cancel, .hfc-mg-src.is-blocked { background: #fde8e7; color: var(--hfc-red); }
.hfc-mg-src.is-pending { background: #fff4d6; color: #7a5200; }
.hfc-mg-src.is-active { background: #e6f4ea; color: #146c2e; }
.hfc-mg-src.is-admin { background: var(--hfc-navy); color: #fff; }
.hfc-mg-actions { display: flex; flex-direction: column; gap: 6px; align-items: stretch; min-width: 120px; }
.hfc-mg-actions form { margin: 0; }
.hfc-mg-actions .hfc-btn { width: 100%; }
.hfc-mg-member { grid-template-columns: 54px minmax(0, 1fr) auto; }
.hfc-mg-member .hfc-acct-avatar { width: 48px; height: 48px; font-size: 1rem; box-shadow: none; }
.hfc-mg-sub-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.hfc .hfc-mg-sub-tabs a { padding: 6px 14px; border-radius: 999px; background: var(--hfc-bg); color: var(--hfc-navy); font-weight: 700; text-decoration: none; font-size: .9rem; }
.hfc .hfc-mg-sub-tabs a.is-on { background: var(--hfc-navy); color: #fff; }
.hfc-mg-sub-tabs a span { opacity: .7; margin-left: 2px; }
.hfc-mg-pages { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0; }
.hfc .hfc-mg-pages a, .hfc-mg-pages span { min-width: 36px; padding: 6px 10px; border-radius: 8px; text-align: center; background: var(--hfc-bg); color: var(--hfc-navy); font-weight: 700; text-decoration: none; }
.hfc-mg-pages span.is-on { background: var(--hfc-navy); color: #fff; }
.hfc-mg-add { margin-top: 20px; }
.hfc-mg-edit .hfc-chips { margin-bottom: 12px; }
.main-header-menu .hfc-menu-manage > .menu-link { font-weight: 800; color: var(--hfc-navy) !important; }
.hfc-badge { display: inline-block; min-width: 20px; padding: 1px 6px; border-radius: 999px; background: var(--hfc-red); color: #fff; font-size: .72rem; font-weight: 800; text-align: center; line-height: 1.5; margin-left: 2px; }
@media (max-width: 760px) {
	.hfc-mg-card { grid-template-columns: 24px 50px minmax(0, 1fr); }
	.hfc-mg-actions { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
	.hfc-mg-actions .hfc-btn, .hfc-mg-actions form { width: auto; flex: 1; }
	.hfc-mg-member { grid-template-columns: 48px minmax(0, 1fr); }
	.hfc-mg-filter input[type=search] { min-width: 0; flex: 1; }
}

/* Header fits on one line with Manage + My account + the red button */
@media (min-width: 922px) {
	.main-header-menu .menu-item > .menu-link { padding-left: .7em !important; padding-right: .7em !important; font-size: .93rem; }
	.main-header-menu { flex-wrap: nowrap !important; }
	.main-header-menu .hfc-menu-cta > .menu-link { margin-left: 6px; padding: 9px 16px !important; white-space: nowrap; }
}
@media (min-width: 922px) and (max-width: 1180px) {
	.main-header-menu .menu-item > .menu-link { padding-left: .5em !important; padding-right: .5em !important; font-size: .88rem; }
	.custom-logo { max-width: 240px; height: auto; }
}
@media (min-width: 922px) {
	.main-header-menu .menu-link { white-space: nowrap; }
	.site-header-primary-section-right, .ast-builder-menu-1 { flex: 0 0 auto !important; }
	.site-header-primary-section-left { min-width: 0; flex: 1 1 auto !important; }
	.site-logo-img img.custom-logo { max-width: 100% !important; }
}
@media (min-width: 922px) and (max-width: 1080px) {
	.main-header-menu .menu-item > .menu-link { padding-left: .4em !important; padding-right: .4em !important; font-size: .84rem; }
	.custom-logo { max-width: 200px !important; }
}

/* Manage: filter row on one line, roomier cards (Jae 2026-11-15) */
.hfc-mg-filter { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 12px; padding: 14px 16px; background: #fff; border: 1px solid var(--hfc-line); border-radius: var(--hfc-radius); margin: 0 0 10px; }
.hfc-mg-f { display: flex; flex-direction: column; gap: 3px; margin: 0; }
.hfc-mg-f > span { font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--hfc-muted); }
.hfc-mg-filter .hfc-mg-f input, .hfc-mg-filter .hfc-mg-f select { width: auto !important; min-width: 0; min-height: 40px; padding: 4px 10px; border: 1.5px solid #cdd5e0; border-radius: 8px; font: inherit; font-size: .93rem; background: #fff; margin: 0; }
.hfc-mg-f-q { flex: 1 1 240px; }
.hfc-mg-filter .hfc-mg-f-q input { width: 100% !important; }
.hfc-mg-f-sm select { min-width: 70px; }
.hfc-mg-filter .hfc-btn { min-height: 40px; }
.hfc .hfc-mg-clear { align-self: center; font-weight: 700; color: var(--hfc-red); }
.hfc-mg-count { margin: 0 0 10px; color: var(--hfc-muted); }
.hfc-mg-count strong { color: var(--hfc-navy); font-size: 1.1rem; }
.hfc button.hfc-btn.hfc-btn-green-o { background: #fff; color: #15803d; box-shadow: inset 0 0 0 1.5px #15803d; }
.hfc button.hfc-btn.hfc-btn-green-o:hover { background: #e6f4ea; }
.hfc-mg-card { gap: 18px 28px; padding: 18px 20px; }
.hfc-mg-body { padding-right: 12px; }
.hfc-mg-body h3 { margin-bottom: 8px; }
.hfc-mg-line { margin-bottom: 4px; }
.hfc-mg-links { margin-top: 8px; }
.hfc-mg-actions { min-width: 132px; gap: 8px; }
.hfc-mg-list { gap: 14px; }

/* Hamfest page disclaimer */
.hfc-disclaimer { display: flex; gap: 14px; align-items: flex-start; margin: 0 0 18px; padding: 14px 18px; border-radius: var(--hfc-radius); background: #fff8e6; border: 1px solid #f3d38a; border-left: 6px solid #e0a100; color: #4a3500; }
.hfc-disclaimer p { margin: 0; font-size: .95rem; line-height: 1.5; }
.hfc-disclaimer strong { color: #3a2a00; }
.hfc .hfc-disclaimer a { color: #7a4f00; font-weight: 700; text-decoration: underline; }
.hfc-disclaimer-ic { flex: none; width: 28px; height: 28px; border-radius: 50%; background: #e0a100; color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 1.05rem; margin-top: 1px; }

/* Manage: more breathing room (Jae 2026-11-15) */
.hfc-mg-count { margin: 6px 0 16px; }
.hfc-mg-bar { margin: 0 0 22px; padding: 14px 18px; box-shadow: 0 6px 16px rgba(10, 46, 93, .08); }
.hfc-mg-list { gap: 18px; }
.hfc-mg-card { padding: 22px 24px; gap: 20px 32px; scroll-margin-top: 150px; }
.hfc-mg-pick input { margin-top: 6px; }
.hfc-mg-body h3 { margin-top: 2px; }

/* Reject buttons in red (Jae 2026-11-15) */
.hfc button.hfc-btn.hfc-btn-reject { background: var(--hfc-red); color: #fff; box-shadow: none; }
.hfc button.hfc-btn.hfc-btn-reject:hover { background: var(--hfc-red-2); color: #fff; }

/* Manage colors: logo navy / sky / red only, no green (Jae 2026-11-15: "looks like Christmas") */
.hfc a.hfc-btn.hfc-btn-green, .hfc button.hfc-btn.hfc-btn-green, .hfc-btn-green { background: var(--hfc-navy); color: #fff; }
.hfc a.hfc-btn.hfc-btn-green:hover, .hfc button.hfc-btn.hfc-btn-green:hover { background: var(--hfc-navy-2); color: #fff; }
.hfc button.hfc-btn.hfc-btn-green-o { background: #fff; color: var(--hfc-navy); box-shadow: inset 0 0 0 1.5px var(--hfc-navy); }
.hfc button.hfc-btn.hfc-btn-green-o:hover { background: var(--hfc-sky-soft); }
.hfc a.hfc-btn.hfc-btn-edit { background: var(--hfc-sky); color: var(--hfc-navy); }
.hfc a.hfc-btn.hfc-btn-edit:hover { background: #b8dcf2; color: var(--hfc-navy); }
.hfc-mg-pick input { accent-color: var(--hfc-navy); }
.hfc-mg-card:has(input[name="ids[]"]:checked) { border-color: var(--hfc-navy-3); box-shadow: 0 0 0 2px rgba(29, 95, 168, .25); background: var(--hfc-sky-soft); }

/* Manage banner + action bar stay put while scrolling (Jae 2026-11-15) */
@media (min-width: 761px) {
	.hfc-mg-hero { position: sticky; top: var(--hfc-head, 99px); z-index: 60; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; padding-top: 18px !important; padding-bottom: 18px !important; margin-bottom: 22px; }
	.hfc-mg-hero .hfc-hero-title { margin: 0; font-size: 1.9rem; }
	.hfc-mg-hero .hfc-tabs { margin: 0; }
	.hfc-mg-hero .hfc-hero-sub { flex-basis: 100%; margin: 0; }
	.hfc-mg-bar { top: calc(var(--hfc-head, 99px) + var(--hfc-mghero, 80px) + 8px); }
}

/* ---------- Option C (Jae 2026-11-15): gold accent + light blue page ---------- */
:root { --hfc-gold: #d99a00; --hfc-gold-light: #f5c542; --hfc-gold-soft: #fff3cf; --hfc-page: #e8f1fa; }
body.home, body.hfc-view { background: var(--hfc-page) !important; }
body.home .site-content, body.hfc-view .site-content, body.home #primary, body.hfc-view #primary { background: transparent !important; }
/* section titles with a gold bar */
.hfc-sec-title { display: inline-flex; align-items: center; gap: 10px; }
.hfc-sec-title::before { content: ""; width: 6px; height: 1.25em; border-radius: 3px; background: var(--hfc-gold); }
/* month dividers: navy pill with gold letters, then a soft line */
h2.hfc-month { display: flex; align-items: center; gap: 12px; margin: 30px 0 12px; font-size: .78rem; letter-spacing: .1em; color: var(--hfc-muted); }
h2.hfc-month::after { background: #d5e3f1; }
.hfc-month-pill { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--hfc-navy); color: var(--hfc-gold-light); font-weight: 800; }
/* cards: white on the light blue page, gold stripe on the left */
.hfc-card { border-left: 5px solid var(--hfc-gold); box-shadow: 0 2px 8px rgba(10, 46, 93, .07); background: #fff; }
.hfc-card:hover { border-color: #c5d0de; border-left-color: var(--hfc-red); box-shadow: 0 6px 18px rgba(10, 46, 93, .12); }
/* date tile: navy with gold month and white day */
.hfc-card .hfc-date, .hfc-mg-card .hfc-date { background: var(--hfc-navy); border-color: var(--hfc-navy); }
.hfc-card .hfc-date-m, .hfc-mg-card .hfc-date-m { color: var(--hfc-gold-light); }
.hfc-card .hfc-date-d, .hfc-mg-card .hfc-date-d { color: #fff; }
.hfc-card .hfc-date-w, .hfc-mg-card .hfc-date-w { color: var(--hfc-sky); }
/* badges: each kind its own color */
.hfc-badges .hfc-b-arrl { background: #e8f0fa; color: var(--hfc-navy-2); }
.hfc-badges .hfc-b-ve { background: var(--hfc-gold-soft); color: #6b4a00; }
.hfc-badges .hfc-b-tail { background: #fde7e8; color: #a8070f; }
.hfc-badges .hfc-b-forum { background: #eaf5fc; color: var(--hfc-navy-3); }
/* white boxes on the blue page */
.hfc-states { background: #fff; box-shadow: 0 2px 8px rgba(10, 46, 93, .06); }
.hfc-empty { background: #fff; border: 1px dashed #c8d7e6; }
.hfc-nearme .hfc-cards:empty::before { background: linear-gradient(90deg, #fff 25%, #eaf2fa 50%, #fff 75%); background-size: 200% 100%; }
.hfc-mg-filter, .hfc-mg-card, .hfc-ev-card, .hfc-form fieldset { box-shadow: 0 2px 8px rgba(10, 46, 93, .06); }

/* Note for visitors (e.g. conflicting dates) */
.hfc-visitor-note { margin: 0 0 14px; padding: 14px 18px; border-radius: var(--hfc-radius); background: #fff; border: 1px solid var(--hfc-sky-line); border-left: 6px solid var(--hfc-navy-3); box-shadow: 0 2px 8px rgba(10, 46, 93, .06); }
.hfc-visitor-note strong { display: inline-flex; align-items: center; gap: 6px; color: var(--hfc-navy); }
.hfc-visitor-note p { margin: 6px 0 0; }

.hfc-near-btn { min-height: 40px; font-size: .95rem; }
.hfc-nearme.is-empty .hfc-sec-head { margin-bottom: 0; }

/* Date tiles: multi-day ranges stay on one line inside the tile */
.hfc-date { height: auto !important; min-height: 68px; padding: 7px 3px; gap: 1px; }
.hfc-date-d { white-space: nowrap; }
.hfc-date.is-range .hfc-date-d { font-size: 1.08rem; letter-spacing: -.03em; margin: 4px 0 3px; }
.hfc-date.is-range .hfc-date-w { font-size: .64rem; }
@media (max-width: 600px) { .hfc-date.is-range .hfc-date-d { font-size: .95rem; } }

/* Distances from the member's saved ZIP codes */
.hfc-dists { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 8px 0 0 !important; font-size: .82rem; color: var(--hfc-muted); }
.hfc-dists .hfc-i { color: var(--hfc-navy-3); }
.hfc-mi { display: inline-block; padding: 2px 9px; border-radius: 999px; background: var(--hfc-sky-soft); border: 1px solid var(--hfc-sky-line); color: var(--hfc-navy); }
.hfc-mi b { font-weight: 800; }
.hfc-kv dd .hfc-dists { margin: 0 !important; }
.hfc-zip-rows { display: grid; gap: 8px; margin: 10px 0 12px; }
.hfc-zip-row { display: grid; grid-template-columns: 110px 1fr 40px; gap: 8px; }
.hfc-zip-x { width: 40px; min-height: 40px; padding: 0; margin: 0; border: 1.5px solid #cdd5e0; border-radius: 8px; background: #fff; color: #6b7a90; font-size: 22px; line-height: 1; cursor: pointer; }
.hfc-zip-x:hover, .hfc-zip-x:focus-visible { border-color: var(--hfc-red); color: var(--hfc-red); background: #fff5f5; }
.hfc-zip-row input { min-height: 40px; padding: 6px 10px; border: 1.5px solid #cdd5e0; border-radius: 8px; font: inherit; margin: 0; }

/* Major hamfests: gold */
.hfc .hfc-tab.hfc-tab-major { background: var(--hfc-gold); color: var(--hfc-navy); font-weight: 800; }
.hfc .hfc-tab.hfc-tab-major:hover { background: var(--hfc-gold-light); color: var(--hfc-navy); }
.hfc .hfc-tab.hfc-tab-major.is-on { background: #fff; color: var(--hfc-navy); box-shadow: inset 0 0 0 2px var(--hfc-gold); }
.hfc-badges .hfc-b-major { background: var(--hfc-gold); color: var(--hfc-navy); }

/* About page: who runs it */
.hfc-creator { display: flex; gap: 18px; align-items: center; padding: 18px 22px; margin: 6px 0 22px; background: #fff; border: 1px solid var(--hfc-line); border-left: 6px solid var(--hfc-gold); border-radius: var(--hfc-radius); box-shadow: 0 2px 8px rgba(10, 46, 93, .06); }
.hfc-creator p { margin: 0 0 4px; }
.hfc-creator-name { font-weight: 800; color: var(--hfc-navy); font-size: 1.08rem; }
.hfc-creator-call { flex: none; display: grid; place-items: center; width: 78px; height: 78px; border-radius: 50%; background: var(--hfc-navy); color: var(--hfc-gold-light); font: 800 1.15rem ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .04em; box-shadow: 0 0 0 4px var(--hfc-sky-soft); }
.hfc-creator .hfc-btn { margin-top: 6px; text-decoration: none !important; }
@media (max-width: 480px) { .hfc-creator { flex-direction: column; align-items: flex-start; } }

/* On hold: date / venue to be announced */
.hfc-date.is-tba .hfc-date-d { font-size: 1.05rem; letter-spacing: .04em; color: var(--hfc-gold-light) !important; }
.hfc-card.is-tba { border-left-style: dashed; }
.hfc-card-tba { font-size: .85rem; color: #6b4a00; font-weight: 600; margin-top: 2px !important; }
.hfc-badges .hfc-b-tba { background: var(--hfc-gold-soft); color: #6b4a00; border: 1px dashed #e0b84c; }
.hfc-tba-note { border-left-color: var(--hfc-gold); }

/* Major hamfests tab looks like the other tabs; only the star is gold (Jae 2026-11-15) */
.hfc .hfc-tab.hfc-tab-major { background: rgba(255, 255, 255, .1); color: #e6edf7; font-weight: 600; box-shadow: none; }
.hfc .hfc-tab.hfc-tab-major:hover { background: rgba(255, 255, 255, .2); color: #fff; }
.hfc .hfc-tab.hfc-tab-major.is-on { background: #fff; color: var(--hfc-navy); box-shadow: none; }
.hfc .hfc-tab.hfc-tab-major::first-letter { color: var(--hfc-gold-light); }
.hfc .hfc-tab.hfc-tab-major.is-on::first-letter { color: var(--hfc-gold); }

.hfc-mi.is-origin { background: var(--hfc-navy); border-color: var(--hfc-navy); color: #fff; }
.hfc-mi.is-origin b { color: var(--hfc-gold-light); }

/* Show more / how many */
.hfc-pager { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 22px 0 6px; }
.hfc-pager .hfc-more { margin-right: 10px; }
.hfc-show-label { color: var(--hfc-muted); font-weight: 700; font-size: .9rem; }
.hfc a.hfc-show { padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--hfc-line); color: var(--hfc-navy); font-weight: 700; font-size: .9rem; text-decoration: none !important; }
.hfc a.hfc-show:hover { border-color: var(--hfc-navy-3); }
.hfc a.hfc-show.is-on { background: var(--hfc-navy); border-color: var(--hfc-navy); color: #fff; }
#hfc-list { scroll-margin-top: 110px; }

.hfc-mg-msg { grid-template-columns: minmax(0, 1fr) auto; }
.hfc-mg-msgtext { margin-top: 10px; padding: 12px 14px; background: var(--hfc-bg); border-radius: 10px; white-space: normal; }
.hfc-mg-msg .hfc-mg-actions form { display: grid; gap: 6px; }

/* Advertise page stats */
.hfc-adstats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 10px 0 24px; }
.hfc-adstats > div { background: var(--hfc-navy); color: #fff; border-radius: var(--hfc-radius); padding: 18px 20px; }
.hfc-adstats b { display: block; font-size: 2rem; font-weight: 800; color: var(--hfc-gold-light); line-height: 1.1; }
.hfc-adstats span { color: #d4def0; font-size: .9rem; }

.hfc-foot-links { display: inline-block; margin-bottom: 6px; font-weight: 600; }
.hfc-foot-links a { color: #fff !important; text-decoration: none; }
.hfc-foot-links a:hover { color: var(--hfc-gold-light) !important; text-decoration: underline; }
.entry-content a.hfc-btn, .hfc a.hfc-btn { text-decoration: none !important; }

.hfc-powered { display: inline-block; margin-top: 6px; font-size: .8rem; color: #9fb3cc; letter-spacing: .02em; }

/* ---------- ♡ Save (outlined heart, red when saved), members-only box, email settings (Jae 2026-11-15) ---------- */
.hfc-save { position: absolute; top: 8px; right: 8px; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 10px; background: transparent; color: #9aa6b6; cursor: pointer; }
.hfc-save svg { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linejoin: round; }
.hfc-save:hover, .hfc-save:focus-visible { background: #fdeceb; color: var(--hfc-red); }
.hfc-save[aria-pressed="true"] { color: var(--hfc-red); }
.hfc-save[aria-pressed="true"] svg { fill: var(--hfc-red); stroke: var(--hfc-red); }
.hfc-card-title { padding-right: 34px; }
.hfc .hfc-save-btn { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; border: 0; font: inherit; font-weight: 700; background: rgba(255, 255, 255, .12); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
.hfc .hfc-save-btn svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.hfc .hfc-save-btn[aria-pressed="true"] { background: #fff; color: var(--hfc-navy); box-shadow: none; }
.hfc .hfc-save-btn[aria-pressed="true"] svg { fill: var(--hfc-red); stroke: var(--hfc-red); }
.hfc-near-alert { margin: 14px 0 0 !important; }
.hfc .hfc-near-alert .hfc-btn { display: inline-flex; align-items: center; gap: 8px; }
.hfc-members-link { font-weight: 700; }
.hfc-ev-ic.is-heart { background: #fdeceb; color: var(--hfc-red); font-size: 1.15rem; }
.hfc-mail-opt { margin: 12px 0 0 !important; line-height: 1.6; }
.hfc-mail-opt select { display: inline-block; width: auto; min-height: 0; padding: 2px 6px; margin: 0 2px; font-size: .9rem; border: 1px solid var(--hfc-line); border-radius: 6px; background: #fff; }
.hfc-saved-list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.hfc-saved-list li.is-past { opacity: .6; }
.hfc-inline-form { display: inline; margin: 0 0 0 auto; }
.hfc-linkbtn { border: 0; background: none; padding: 0; color: var(--hfc-red-text); font: inherit; font-size: .85rem; font-weight: 700; cursor: pointer; text-decoration: underline; }
.hfc-toast { position: fixed; left: 50%; bottom: 24px; z-index: 100000; transform: translateX(-50%); max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: 10px; background: var(--hfc-navy); color: #fff; font-weight: 600; box-shadow: 0 8px 30px rgba(0, 0, 0, .25); transition: opacity .5s; }
.hfc-toast.is-out { opacity: 0; }
.hfc-members-dlg { width: min(460px, calc(100vw - 32px)); padding: 26px 24px 20px; border: 0; border-top: 5px solid var(--hfc-red); border-radius: var(--hfc-radius); color: var(--hfc-ink); font-family: var(--hfc-font); box-shadow: 0 20px 60px rgba(0, 0, 0, .35); }
.hfc-members-dlg::backdrop { background: rgba(10, 46, 93, .55); }
.hfc-members-dlg h2 { margin: 4px 0 8px; font-size: 1.4rem; font-weight: 800; color: var(--hfc-navy); }
.hfc-members-dlg p { margin: 0 0 8px; }
.hfc-members-dlg ul { list-style: none; margin: 0 0 16px; padding: 0; }
.hfc-members-dlg li { display: flex; gap: 10px; padding: 6px 0; margin: 0; }
.hfc-members-dlg li b { flex: none; width: 22px; text-align: center; color: var(--hfc-gold); }
.hfc-members-dlg li b.is-heart { color: var(--hfc-red); }
.hfc-dlg-tag { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--hfc-gold-soft); color: #7a5200; font-size: .75rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.hfc-dlg-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.hfc-dlg-btns .hfc-btn { flex: 1; justify-content: center; text-decoration: none !important; }
.hfc-dlg-note { margin: 12px 0 0 !important; color: var(--hfc-muted); font-size: .85rem; text-align: center; }
.hfc-members-dlg .hfc-dlg-x, .hfc .hfc-save, .hfc .hfc-linkbtn { box-shadow: none !important; min-height: 0 !important; }
.hfc-members-dlg .hfc-dlg-x { position: absolute; top: 8px; right: 10px; width: 36px; height: 36px; padding: 0 !important; border: 0 !important; border-radius: 8px; background: none !important; font-size: 1.6rem; line-height: 1; color: var(--hfc-muted) !important; cursor: pointer; }
.hfc-members-dlg .hfc-dlg-x:hover { background: var(--hfc-bg) !important; color: var(--hfc-ink) !important; }
.hfc .hfc-save { background: transparent !important; padding: 0 !important; color: #9aa6b6 !important; }
.hfc .hfc-save:hover, .hfc .hfc-save:focus-visible { background: #fdeceb !important; color: var(--hfc-red) !important; }
.hfc .hfc-save[aria-pressed="true"] { color: var(--hfc-red) !important; }
.hfc .hfc-linkbtn { background: none !important; padding: 0 !important; color: var(--hfc-red-text) !important; }
.hfc-req-note { margin: 8px 0 0 !important; }
.hfc-auth-next { margin: 10px 0 0 !important; text-align: center; }
.hfc input[name=call], .hfc input[name$="_call"] { text-transform: uppercase; }
.hfc input[name=call]::placeholder, .hfc input[name$="_call"]::placeholder { text-transform: none; }
.hfc-phone-field { margin: 0; }
.hfc-phone { display: flex; gap: 6px; }
.hfc-cc { position: relative; flex: none; display: flex; align-items: center; gap: 4px; min-height: 40px; padding: 0 26px 0 10px; border: 1.5px solid #cdd5e0; border-radius: 8px; background: #fff; font-weight: 600; font-size: .95rem; white-space: nowrap; cursor: pointer; }
.hfc-cc::after { content: ""; position: absolute; right: 10px; top: 50%; width: 7px; height: 7px; margin-top: -5px; border: solid var(--hfc-muted); border-width: 0 2px 2px 0; transform: rotate(45deg); pointer-events: none; }
.hfc-cc select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.hfc-cc:focus-within { border-color: var(--hfc-navy-3); box-shadow: 0 0 0 3px rgba(29, 95, 168, .15); }
.hfc-phone input[type=tel] { flex: 1; min-width: 0; }
.hfc-auth-2.hfc-auth-callphone { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
@media (max-width: 480px) { .hfc-auth-2.hfc-auth-callphone { grid-template-columns: 1fr; } }
/* Distance features, locked for visitors (Jae 2026-11-15) */
.hfc-lbl-tag { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: var(--hfc-gold-soft); color: #7a5200; font-size: .68rem; font-weight: 800; letter-spacing: .05em; vertical-align: 1px; }
.hfc-near-locked { margin: 0 0 36px; padding: 22px 24px; background: #fff; border: 1px solid var(--hfc-line); border-left: 5px solid var(--hfc-red); border-radius: var(--hfc-radius); box-shadow: 0 2px 8px rgba(10, 46, 93, .07); }
.hfc-near-locked .hfc-dlg-tag { display: table; margin: 0 0 8px; }
.hfc-near-locked .hfc-sec-title { display: flex; margin: 0 0 6px; }
.hfc-near-locked p { margin: 0 0 12px; max-width: 640px; }
.hfc .hfc-near-locked-btns { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 !important; }
.hfc-near-locked-btns .hfc-btn { text-decoration: none !important; }
#hfc-list + .hfc-near-locked { margin-top: 4px; }
/* Account header: antenna icon instead of initials; space between call sign and email (Jae 2026-11-15) */
.hfc-acct-avatar svg, .hfc-acct-avatar img { display: block; }
.hfc .hfc-acct-avatar { background: #fff; box-shadow: 0 0 0 3px var(--hfc-red), 0 0 0 7px rgba(255, 255, 255, .2); } /* white disc so the red waves + navy tower show */
.hfc .hfc-mg-member .hfc-acct-avatar { box-shadow: 0 0 0 2px var(--hfc-red); }
.hfc .hfc-acct-line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 6px; line-height: 1.3; }
.hfc .hfc-acct-line .hfc-ev-call { margin: 0; line-height: 1.3; }
/* ♥ Saved tab (Jae 2026-11-15: "favorites list tab") */
.hfc-tab-heart { color: #ff6b75; }
.hfc-tab.is-on .hfc-tab-heart { color: var(--hfc-red); }
.hfc-tab-saved .hfc-tab-n { margin-left: 2px; }
/* Manage → Members: name, call sign and status pills on one centered line */
.hfc .hfc-mg-body h3.hfc-mg-name { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.hfc .hfc-mg-name .hfc-ev-call { margin: 0; line-height: 1.3; }
/* ---------- Support tickets (Jae 2026-11-15, like MileBeacon) ---------- */
.hfc-tk-wrap { max-width: 860px; margin: 0 auto; display: grid; gap: 18px; }
.hfc-tk-new > summary { display: inline-flex; list-style: none; cursor: pointer; }
.hfc-tk-new > summary::-webkit-details-marker { display: none; }
.hfc-tk-new[open] > summary { margin-bottom: 14px; }
.hfc-tk-form { max-width: 640px; }
.hfc-tk-form .hfc-field { margin-bottom: 12px; }
.hfc-tk-form input[disabled] { background: var(--hfc-bg); color: var(--hfc-muted); }
.hfc-tk-list { display: grid; gap: 8px; }
.hfc .hfc-tk-row { display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 6px 12px; padding: 12px 14px; border: 1px solid var(--hfc-line); border-radius: 10px; background: #fff; color: var(--hfc-ink); text-decoration: none; }
.hfc .hfc-tk-row:hover { border-color: #c5d0de; box-shadow: var(--hfc-shadow); }
.hfc-tk-admin .hfc-tk-row { grid-template-columns: auto auto auto 1fr auto; }
.hfc-tk-no { font: 700 .85rem ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--hfc-navy); }
.hfc-tk-st { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .72rem; font-weight: 800; background: var(--hfc-bg); color: var(--hfc-muted); white-space: nowrap; }
.hfc-tk-st.is-new { background: #e8f0fa; color: var(--hfc-navy-2); }
.hfc-tk-st.is-progress { background: #fff4d6; color: #7a5200; }
.hfc-tk-st.is-waiting { background: #f3e8ff; color: #6b21a8; }
.hfc-tk-st.is-pending { background: #e0f2fe; color: #075985; }
.hfc-tk-st.is-resolved, .hfc-tk-st.is-b-released { background: #e6f4ea; color: #146c2e; }
.hfc-tk-st.is-overdue { background: var(--hfc-red); color: #fff; }
.hfc-tk-subj { min-width: 0; font-weight: 700; }
.hfc-tk-subj small { display: block; font-weight: 400; color: var(--hfc-muted); font-size: .82rem; margin-top: 2px; }
.hfc-tk-go { color: #9aa6b6; font-size: 1.3rem; }
.hfc-tk-back { margin: 0 0 6px !important; }
.hfc-hero .hfc-tk-back a { color: #cfe0f5; }
.hfc-tk-head { margin: 0 0 6px !important; }
.hfc-hero .hfc-tk-no { color: #fff; }
.hfc-tk-conv { display: grid; gap: 12px; }
.hfc-tk-msg { border: 1px solid var(--hfc-line); border-radius: 10px; padding: 10px 14px; background: #fff; }
.hfc-tk-msg.is-staff { background: #f2f7fd; border-color: #cfe0f5; }
.hfc-tk-msg.is-internal { background: #fff8e1; border-color: #f2d48a; border-style: dashed; }
.hfc-tk-msg-h { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; font-size: .85rem; margin-bottom: 4px; }
.hfc-tk-msg-h time { color: var(--hfc-muted); }
.hfc-tk-msg-b { white-space: normal; line-height: 1.55; overflow-wrap: anywhere; }
.hfc-tk-reply { display: grid; gap: 10px; margin-top: 6px; }
.hfc-tk-reply > .hfc-btn { justify-self: start; }
.hfc-tk-reply-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.hfc-tk-reply-row .hfc-btn { margin-left: auto; }
.hfc-tk-after select, .hfc-tk-filter select, .hfc-tk-inline select { width: auto; display: inline-block; padding: 4px 8px; border: 1px solid var(--hfc-line); border-radius: 6px; background: #fff; }
.hfc-tk-note { margin: 0 !important; color: var(--hfc-muted); }
.hfc .hfc-tk-closed { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin: 8px 0 0; padding: 14px; border-radius: 10px; background: #fff3e6; color: #8a4b00; font-weight: 600; text-align: center; }
.hfc-tk-filter { margin: -6px 0 12px; }
.hfc-tk-admin-head { margin: 0 0 14px; }
.hfc-tk-admin-head h2 { margin: 6px 0 2px; font-size: 1.4rem; color: var(--hfc-navy); }
.hfc-tk-admin-head p { margin: 0; }
.hfc-tk-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; align-items: start; }
.hfc-tk-grid > div { display: grid; gap: 18px; }
.hfc-tk-side h2 { font-size: 1rem; margin: 0 0 8px; }
.hfc-tk-side p { margin: 0 0 8px; }
.hfc-tk-ua { font-size: .75rem; overflow-wrap: anywhere; }
.hfc-tk-logbug { display: grid; gap: 8px; margin-top: 10px; }
.hfc-tk-log { list-style: none; margin: 0; padding: 0; font-size: .85rem; display: grid; gap: 6px; }
.hfc-tk-log time { color: var(--hfc-muted); }
.hfc-tk-trello { margin: -4px 0 12px !important; }
.hfc-support-why { margin: 0 0 16px; padding-left: 1.2em; line-height: 1.7; }
@media (max-width: 760px) {
	.hfc-tk-grid { grid-template-columns: 1fr; }
	.hfc .hfc-tk-row, .hfc-tk-admin .hfc-tk-row { grid-template-columns: auto 1fr auto; }
	.hfc-tk-row .hfc-tk-subj { grid-column: 1 / -1; grid-row: 2; }
	.hfc-tk-row .hfc-tk-go { grid-row: 1; grid-column: -2; }
}
.hfc-tk-row .hfc-tk-st { justify-self: start; }
.hfc .hfc-tk-side a.hfc-ev-call, .hfc .hfc-tk-side a.hfc-ev-call:hover { color: #fff; text-decoration: none; font-size: .8rem; padding: 1px 8px; }
.hfc-tk-newbtn { margin: 0 !important; }
.hfc-tk-form > .hfc-btn { justify-self: start; }
/* New-ticket pop-ups for admins (bottom right; click opens the ticket) */
.hfc-pops { position: fixed; right: 16px; bottom: 16px; z-index: 100001; display: grid; gap: 8px; width: min(340px, calc(100vw - 32px)); }
.hfc-pop { position: relative; display: grid; gap: 2px; padding: 12px 34px 12px 14px; border-radius: 10px; background: #fff; border-left: 5px solid var(--hfc-red); box-shadow: 0 10px 30px rgba(10, 46, 93, .25); color: var(--hfc-ink) !important; text-decoration: none !important; font-size: .9rem; }
.hfc-pop b { color: var(--hfc-red); font-size: .8rem; letter-spacing: .03em; text-transform: uppercase; }
.hfc-pop span { font-weight: 700; }
.hfc-pop small { color: var(--hfc-muted); }
.hfc-pop i { position: absolute; top: 6px; right: 10px; font-style: normal; font-size: 1.2rem; color: var(--hfc-muted); cursor: pointer; }
.hfc-tk-desk { margin-left: 10px; font-size: .85rem; }
/* Bell + Sign out in the header (Jae 2026-11-15) */
.hfc-menu-bell { position: relative; display: flex; align-items: center; }
.hfc .hfc-bell, .hfc-bell { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px !important; margin: 0 2px; border: 0 !important; border-radius: 10px; background: transparent !important; color: var(--hfc-navy) !important; cursor: pointer; box-shadow: none !important; min-height: 0 !important; }
.hfc-bell:hover, .hfc-bell[aria-expanded="true"] { background: var(--hfc-bg) !important; }
.hfc-bell .hfc-bell-n { position: absolute; top: 2px; right: 0; margin: 0; font-size: .65rem; min-width: 17px; padding: 0 4px; }
.hfc-bell .hfc-bell-n[hidden] { display: none; }
.hfc-bell-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hfc-bell-panel { position: absolute; top: calc(100% + 6px); right: -60px; z-index: 100002; width: min(360px, calc(100vw - 24px)); background: #fff; border: 1px solid var(--hfc-line); border-radius: 12px; box-shadow: 0 16px 40px rgba(10, 46, 93, .22); text-align: left; font-size: .9rem; line-height: 1.35; }
.hfc-bell-panel[hidden] { display: none; }
.hfc-bell-head, .hfc-bell-foot { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--hfc-line); color: var(--hfc-navy); }
.hfc-bell-foot { border-bottom: 0; border-top: 1px solid var(--hfc-line); }
.hfc-bell-list { max-height: 60vh; overflow-y: auto; }
.hfc-bell-item { display: grid; gap: 1px; padding: 10px 14px; border-bottom: 1px solid #eef2f7; color: var(--hfc-ink) !important; text-decoration: none !important; }
.hfc-bell-item:hover { background: var(--hfc-bg); }
.hfc-bell-item b { font-weight: 600; }
.hfc-bell-item.is-new { background: #f2f7fd; }
.hfc-bell-item.is-new b { font-weight: 800; }
.hfc-bell-item span { color: var(--hfc-muted); font-size: .85rem; }
.hfc-bell-item small { color: #9aa6b6; font-size: .75rem; }
.hfc-bell-empty { margin: 0; padding: 18px 14px; color: var(--hfc-muted); }
.hfc-pop span { font-weight: 700; color: var(--hfc-navy); }
@media (max-width: 921px) {
	.hfc-menu-bell { display: block; padding: 0; }
	.hfc-menu-bell .hfc-bell { width: 100%; justify-content: flex-start; margin: 0; padding: 12px 20px !important; border-radius: 0; font-size: inherit; }
	.hfc-bell-label { position: static; width: auto; height: auto; clip: auto; font-weight: 600; }
	.hfc-bell .hfc-bell-n { position: static; }
	.hfc-bell-panel { position: static; width: auto; margin: 6px 0; box-shadow: none; }
}
.hfc .hfc-tk-row, .hfc .hfc-tk-row:hover, .hfc .hfc-tk-row * { text-decoration: none !important; }
/* Header (Jae 2026-11-15): main links next to the logo; only the bell + Sign out (or Sign in / Join free) at the far right */
@media (min-width: 922px) {
	#ast-desktop-header .ast-primary-header-bar .ast-builder-grid-row { grid-template-columns: auto 1fr; }
	#ast-desktop-header .site-header-primary-section-right { justify-content: flex-start; padding-left: 48px; }
	#ast-desktop-header .site-header-primary-section-right .ast-builder-menu-1,
	#ast-desktop-header .site-header-primary-section-right .ast-main-header-bar-alignment,
	#ast-desktop-header .site-header-primary-section-right .main-header-bar-navigation,
	#ast-desktop-header .site-header-primary-section-right .site-navigation,
	#ast-desktop-header .site-header-primary-section-right .main-navigation,
	#ast-desktop-header .main-header-menu { flex: 1 1 auto; width: 100%; }
	#ast-desktop-header .main-header-menu .hfc-menu-bell, #ast-desktop-header .main-header-menu .hfc-menu-right { margin-left: auto; }
}
/* Advertise page: "Ask about advertising" form (no account needed) */
.hfc-ad-wrap { margin: 28px 0 8px; scroll-margin-top: 90px; }
.hfc-ad-card { max-width: 820px; }
.hfc-ad-form { display: grid; gap: 14px; margin-top: 10px; }
.hfc-ad-form .hfc-chips { margin: 4px 0 0; }
.hfc-ad-form > .hfc-btn { justify-self: start; }
.hfc-resend { display: inline; margin: 0; }
.hfc .hfc-resend .hfc-linkbtn { font-size: inherit; color: var(--hfc-navy-3) !important; }
.hfc .hfc-how-app { margin-top: 10px; }
/* Near you: add-a-ZIP box for members with none saved; Save to my ZIP codes in the ZIP search (Jae 2026-11-15) */
.hfc-near-zip { display: grid; gap: 8px; margin: 4px 0 6px; padding: 14px 16px; background: #fff; border: 1px solid var(--hfc-line); border-left: 5px solid var(--hfc-gold); border-radius: var(--hfc-radius); }
.hfc-near-zip label { font-weight: 600; color: var(--hfc-navy); }
.hfc-near-zip-row { display: flex; gap: 8px; max-width: 320px; }
.hfc-near-zip-row input { flex: 1; min-width: 0; padding: 8px 10px; border: 1.5px solid #cdd5e0; border-radius: 8px; }
.hfc-near-zip-msg { color: var(--hfc-muted); font-size: .9rem; }
.hfc-near-zip-msg:empty { display: none; }
.hfc-zip-save { margin: 6px 0 0 !important; font-size: .9rem; }
#near { scroll-margin-top: 90px; }
