/* Racket Chronicle Directory. Layout follows a classic directory (banner, sidebar, compact cards);
   styling is Racket Chronicle: navy #0B2545, blue #2B7BB9, page grey #F3F2F2, Archivo (inherited from the theme). */
.rcd {
	--rc-navy: #0b2545;
	--rc-navy-deep: #07162b;
	--rc-navy-hover: #081a30;
	--rc-blue: #2b7bb9;
	--rc-bg: #f3f2f2;
	--rc-text: #1c1c1c;
	--rc-muted: #5f6670;
	--rc-line: #dcdfe3;
	--rc-card: #ffffff;
	--rc-star: #e8a317;
	--rc-radius: 10px;
	font-family: inherit;
	color: var(--rc-text);
	max-width: 1200px;
	margin: 0 auto;
	padding: 8px 0 56px;
	line-height: 1.55;
	box-sizing: border-box;
}
.rcd *, .rcd *::before, .rcd *::after { box-sizing: border-box; }
.rcd h1, .rcd h2, .rcd h3 { color: var(--rc-navy); line-height: 1.2; margin: 0 0 .5em; }
.rcd h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); font-weight: 800; }
.rcd h2 { font-size: 1.2rem; font-weight: 700; }
.rcd a { color: var(--rc-blue); }
.rcd [hidden] { display: none !important; }
body.rcd-page { overflow-x: hidden; background: var(--rc-bg); }
.rcd-themewrap { max-width: 1240px; margin: 0 auto; padding: 0 16px; }

/* Full-width bands (banner, action bar) that break out of the theme's content column */
.rcd-bleed { position: relative; left: 50%; right: 50%; width: 100vw; margin-left: -50vw; margin-right: -50vw; }

/* Breadcrumb */
.rcd-crumbs ol { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; font-size: .82rem; color: var(--rc-muted); }
.rcd-crumbs li + li::before { content: "\203A"; margin-right: 4px; }
.rcd-crumbs a { text-decoration: none; }
.rcd-crumbs a:hover { text-decoration: underline; }

/* Banner */
.rcd-hero { background: linear-gradient(110deg, var(--rc-navy-deep) 0%, var(--rc-navy) 50%, #1d5f95 100%); color: #fff; margin-bottom: 26px; }
.rcd-hero__in { max-width: 1200px; margin: 0 auto; padding: clamp(24px, 4vw, 40px) 16px; display: flex; gap: 24px; align-items: center; justify-content: space-between; }
.rcd-hero__text { min-width: 0; flex: 1; }
.rcd-hero h1, .rcd-hero h2 { color: #fff; margin-bottom: .3em; }
.rcd-hero a { color: #bcd9f0; }
.rcd-eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; font-weight: 700; margin: 0 0 8px; color: #9ec7e8; }
.rcd-lead { font-size: 1rem; max-width: 720px; margin: 0 0 8px; color: #d6e4f2; }
.rcd-lead p { margin: 0 0 .6em; }
.rcd-hero__count { text-align: right; line-height: 1.1; flex: none; }
.rcd-hero__count strong { display: block; font-size: 2rem; font-weight: 800; }
.rcd-hero__count span { color: #9ec7e8; font-size: .85rem; }
.rcd-hero--venue .rcd-hero__in { justify-content: flex-start; gap: 22px; }
.rcd-hero__meta { margin: 8px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; color: #d6e4f2; font-size: .95rem; }
.rcd-hero__meta strong { color: #fff; }
.rcd-dot::before { content: "\00b7"; margin-right: 10px; }

/* Buttons + search */
.rcd-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--rc-blue); color: #fff !important; border: 2px solid var(--rc-blue); border-radius: 6px; padding: 9px 18px; font-weight: 700; text-decoration: none !important; cursor: pointer; font-size: .92rem; line-height: 1.2; font-family: inherit; }
.rcd-btn:hover { background: var(--rc-navy); border-color: var(--rc-navy); }
.rcd-btn--ghost { background: #fff; color: var(--rc-navy) !important; border-color: var(--rc-line); }
.rcd-btn--ghost:hover { background: var(--rc-navy); color: #fff !important; border-color: var(--rc-navy); }
.rcd-btn--block { display: block; text-align: center; margin-top: 12px; }
.rcd-search { display: flex; gap: 8px; max-width: 520px; margin-top: 12px; }
.rcd-search input[type="search"] { flex: 1; min-width: 0; padding: 11px 14px; border-radius: 6px; border: 0; font-size: 1rem; font-family: inherit; }
.rcd-linkbtn { background: none; border: 0; color: var(--rc-blue); text-decoration: underline; cursor: pointer; padding: 8px 0 0; font-family: inherit; font-size: .88rem; }

/* Tiles (countries, areas, sports) */
.rcd-section { margin-bottom: 34px; }
.rcd-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.rcd-tile { display: flex; flex-direction: column; gap: 4px; background: var(--rc-card); border: 1px solid var(--rc-line); border-radius: var(--rc-radius); padding: 20px; text-decoration: none; transition: border-color .15s, transform .15s, box-shadow .15s; }
.rcd-tile:hover { border-color: var(--rc-blue); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(11,37,69,.08); }
.rcd-tile__name { color: var(--rc-navy); font-weight: 800; font-size: 1.08rem; }
.rcd-tile__count { color: var(--rc-muted); font-size: .88rem; }
.rcd-tile--big { background: linear-gradient(110deg, var(--rc-navy-deep), var(--rc-navy)); border-color: var(--rc-navy); min-height: 110px; justify-content: center; }
.rcd-tile--big .rcd-tile__name { color: #fff; font-size: 1.25rem; }
.rcd-tile--big .rcd-tile__count { color: #bcd9f0; }

/* Layout with sidebar */
.rcd-layout { display: grid; grid-template-columns: 240px 1fr; gap: 26px; align-items: start; }
.rcd-layout--venue { grid-template-columns: 1fr 340px; }
.rcd-sidecard { background: var(--rc-card); border-radius: var(--rc-radius); padding: 16px; box-shadow: 0 1px 2px rgba(11,37,69,.06); }
.rcd-side h2 { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--rc-muted); margin: 0 0 8px; }
.rcd-side__sub { margin-top: 16px !important; }
.rcd-sidelist { list-style: none; margin: 0; padding: 0; }
.rcd-sidelist a { display: flex; justify-content: space-between; padding: 7px 8px; border-radius: 6px; text-decoration: none; color: var(--rc-text); font-size: .93rem; }
.rcd-sidelist a:hover { background: #eef3f9; }
.rcd-sidelist .is-current a { color: var(--rc-blue); font-weight: 700; }
.rcd-sidelist span { color: var(--rc-muted); font-size: .8rem; }

/* Filters */
.rcd-filters { background: var(--rc-card); border-radius: var(--rc-radius); padding: 14px 16px; margin-bottom: 14px; box-shadow: 0 1px 2px rgba(11,37,69,.06); }
.rcd-filters__row { display: flex; flex-wrap: wrap; gap: 12px; }
.rcd-f { display: flex; flex-direction: column; gap: 4px; font-size: .72rem; font-weight: 700; color: var(--rc-muted); text-transform: uppercase; letter-spacing: .05em; min-width: 130px; }
.rcd-f--grow { flex: 1 1 220px; }
.rcd-f input, .rcd-f select { padding: 8px 10px; border: 1px solid var(--rc-line); border-radius: 6px; font-size: .92rem; font-family: inherit; text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--rc-text); background: #fff; }
.rcd-amen { border: 0; padding: 12px 0 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.rcd-amen legend { font-size: .72rem; font-weight: 700; color: var(--rc-muted); text-transform: uppercase; letter-spacing: .05em; padding: 0 0 4px; }
.rcd-amen label { font-size: .9rem; }
.rcd-resultbar { display: flex; justify-content: space-between; align-items: center; margin: 0 0 12px; color: var(--rc-muted); font-size: .9rem; }
.rcd-sort select { margin-left: 4px; padding: 6px 8px; border: 1px solid var(--rc-line); border-radius: 6px; font-family: inherit; background: #fff; }

/* Venue cards: compact, avatar tile, rank tab, divider footer */
.rcd-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rcd-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rcd-card { position: relative; background: var(--rc-card); border-radius: var(--rc-radius); box-shadow: 0 1px 2px rgba(11,37,69,.08); display: flex; flex-direction: column; transition: box-shadow .15s, transform .15s; margin-top: 12px; }
.rcd-card:hover { box-shadow: 0 8px 22px rgba(11,37,69,.12); transform: translateY(-2px); }
.rcd-rank { position: absolute; top: -12px; left: 0; background: #4a5a73; color: #fff; border-radius: 6px 6px 0 0; padding: 1px 9px; font-size: .75rem; font-weight: 800; }
.rcd-draftflag { position: absolute; top: -12px; right: 0; background: #b45309; color: #fff; border-radius: 6px 6px 0 0; padding: 1px 9px; font-size: .7rem; font-weight: 800; text-transform: uppercase; }
.rcd-card__head { display: flex; gap: 12px; padding: 16px 16px 8px; align-items: flex-start; }
.rcd-avatar { position: relative; flex: none; width: 56px; height: 56px; border-radius: 8px; background: #f2f5f9; border: 1px solid var(--rc-line); overflow: hidden; display: block; }
.rcd-avatar--lg { width: 96px; height: 96px; border-radius: 12px; border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.12); }
.rcd-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--rc-blue); font-size: 1.5rem; font-weight: 800; }
.rcd-avatar--lg .rcd-ph { color: #fff; font-size: 2.4rem; }
.rcd-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rcd-card__id { min-width: 0; }
.rcd-card__title { font-size: 1rem; margin: 0 0 3px; }
.rcd-card__title a { color: var(--rc-navy); text-decoration: none; }
.rcd-card__title a:hover { text-decoration: underline; }
.rcd-card__rating { font-size: .88rem; margin-bottom: 2px; }
.rcd-card__cat { color: var(--rc-muted); font-size: .82rem; }
.rcd-card__excerpt { margin: 0 16px 12px; padding: 0; font-size: .88rem; color: #3a3f46; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
.rcd-card__foot { border-top: 1px solid #eef0f3; padding: 10px 16px; background: #fafbfc; border-radius: 0 0 var(--rc-radius) var(--rc-radius); }
.rcd-more { text-decoration: none; font-weight: 700; font-size: .88rem; color: var(--rc-blue); }
.rcd-more:hover { color: var(--rc-navy); }

/* Stars (filled to --p) */
.rcd-stars { display: inline-block; letter-spacing: 1px; font-size: .95em; line-height: 1; background: linear-gradient(90deg, var(--rc-star) var(--p, 0%), #cfd5dc var(--p, 0%)); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; vertical-align: -1px; }
.rcd-hero .rcd-stars { background: linear-gradient(90deg, var(--rc-star) var(--p, 0%), rgba(255,255,255,.35) var(--p, 0%)); -webkit-background-clip: text; background-clip: text; }
.rcd-rating__n, .rcd-muted { color: var(--rc-muted); }
.rcd-rating--none { color: var(--rc-muted); font-size: .82rem; }

.rcd-empty { padding: 24px; text-align: center; background: var(--rc-card); border: 1px dashed var(--rc-line); border-radius: var(--rc-radius); }
.rcd-method { margin-top: 28px; padding: 16px 18px; background: var(--rc-card); border-left: 4px solid var(--rc-blue); border-radius: 6px; font-size: .9rem; }
.rcd-method h2 { font-size: 1rem; }

/* Venue profile */
.rcd-actionbar { background: #fff; border-bottom: 1px solid var(--rc-line); margin-bottom: 18px; }
.rcd-actionbar__in { max-width: 1200px; margin: 0 auto; padding: 12px 16px; display: flex; flex-wrap: wrap; gap: 10px; }
.rcd-hero + .rcd-actionbar { margin-top: -26px; }
.rcd-tabs { display: flex; gap: 22px; border-bottom: 1px solid var(--rc-line); margin-bottom: 20px; }
.rcd-tabs a { padding: 8px 2px; text-decoration: none; color: var(--rc-muted); font-weight: 600; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.rcd-tabs a:first-child { color: var(--rc-blue); border-color: var(--rc-blue); }
.rcd-tabs a:hover { color: var(--rc-navy); }
.rcd-box { background: var(--rc-card); border-radius: var(--rc-radius); padding: 18px 20px; margin-bottom: 16px; box-shadow: 0 1px 2px rgba(11,37,69,.06); }
.rcd-box--plain { background: transparent; box-shadow: none; padding: 0; }
.rcd-box--note { background: #fafbfc; font-size: .9rem; }
.rcd-box p:last-child { margin-bottom: 0; }
.rcd-side__title { font-size: .72rem !important; text-transform: uppercase; letter-spacing: .08em; color: var(--rc-muted) !important; margin-bottom: 10px !important; }
.rcd-q { font-size: 1rem; margin: 14px 0 4px; }
.rcd-facts { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; margin: 0; font-size: .92rem; }
.rcd-facts dt { color: var(--rc-muted); }
.rcd-facts dd { margin: 0; text-align: right; font-weight: 600; }
.rcd-map { height: 220px; border-radius: 8px; overflow: hidden; margin: 8px 0 10px; z-index: 0; background: #e8edf2; }
.rcd-box--map p { margin: 0 0 4px; font-size: .92rem; }
.rcd-hours { width: 100%; border-collapse: collapse; font-size: .92rem; margin: 0 !important; }
.rcd-hours th, .rcd-hours td { padding: 6px 0; font-weight: 400; text-align: left; }
.rcd-hours td { text-align: right; }
.rcd-hours .is-today th, .rcd-hours .is-today td { color: var(--rc-blue); font-weight: 800; }
.rcd-today { font-style: normal; background: var(--rc-blue); color: #fff; border-radius: 4px; padding: 0 6px; font-size: .68rem; text-transform: uppercase; margin-left: 4px; vertical-align: 1px; }
.rcd-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .92rem; }
.rcd-contact .rcd-ico { color: var(--rc-blue); margin-right: 8px; }
.rcd-contact a { word-break: break-word; }
.rcd-checklist { margin: 0; padding-left: 20px; columns: 2; }
.rcd-chip { display: inline-block; background: #e6eef7; color: var(--rc-navy); border-radius: 999px; padding: 2px 10px; margin: 2px 4px 2px 0; font-size: .83rem; }
.rcd-fine { font-size: .8rem; color: var(--rc-muted); }

/* CTA */
.rcd-cta { text-align: center; background: var(--rc-card); border-radius: var(--rc-radius); padding: 28px 16px; box-shadow: 0 1px 2px rgba(11,37,69,.06); }

/* Submit form */
.rcd-form { max-width: 640px; display: grid; gap: 14px; }
.rcd-form label { display: grid; gap: 4px; font-weight: 700; font-size: .92rem; }
.rcd-form input, .rcd-form select, .rcd-form textarea { padding: 10px 12px; border: 1px solid var(--rc-line); border-radius: 8px; font-family: inherit; font-size: 1rem; font-weight: 400; }
.rcd-hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.rcd-notice { padding: 14px 16px; border-radius: 8px; margin-bottom: 16px; }
.rcd-notice--ok { background: #e6f4ea; border: 1px solid #b7dfc2; }
.rcd-notice--err { background: #fdecea; border: 1px solid #f3b9b4; }

@media (max-width: 1000px) {
	.rcd-grid, .rcd-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.rcd-layout, .rcd-layout--venue { grid-template-columns: 1fr; }
	.rcd-hero__in { flex-direction: column; align-items: flex-start; }
	.rcd-hero__count { text-align: left; }
}
@media (max-width: 620px) {
	.rcd-grid, .rcd-grid--3 { grid-template-columns: 1fr; }
	.rcd-search { flex-direction: column; }
	.rcd-f { min-width: 100%; }
	.rcd-checklist { columns: 1; }
	.rcd-hero--venue .rcd-hero__in { flex-direction: column; }
}

/* Icons in buttons and contact rows */
.rcd-i { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rcd-btn .rcd-i { margin: 0; }
.rcd-contact li { display: flex; align-items: center; gap: 10px; }
.rcd-contact .rcd-i { color: var(--rc-blue); }

/* Highlights / Good to know */
.rcd-callouts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 16px; }
.rcd-callout { border-radius: var(--rc-radius); padding: 16px 18px; font-size: .92rem; }
.rcd-callout h2 { font-size: .95rem; margin: 0 0 8px; display: flex; align-items: center; gap: 8px; }
.rcd-callout h2 span { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; font-size: .75rem; font-weight: 800; color: #fff; }
.rcd-callout ul { margin: 0; padding-left: 18px; }
.rcd-callout li { margin-bottom: 4px; }
.rcd-callout--good { background: #eefaf1; border: 1px solid #cdebd6; }
.rcd-callout--good h2 { color: #14532d; }
.rcd-callout--good h2 span { background: #16a34a; }
.rcd-callout--know { background: #eef4fb; border: 1px solid #cfdff0; }
.rcd-callout--know h2 { color: var(--rc-navy); }
.rcd-callout--know h2 span { background: var(--rc-blue); font-style: italic; font-family: Georgia, serif; }

/* Badge */
.rcd-badge { max-width: 100%; height: auto; border-radius: 10px; display: block; }
.rcd-offscreen { position: absolute !important; left: -9999px !important; top: auto; width: 1px !important; height: 1px !important; opacity: 0; overflow: hidden; }
.rcd-badgecode label { display: block; font-size: .78rem; font-weight: 700; color: var(--rc-muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 4px; }
.rcd-badgecode .rcd-btn { margin-top: 8px; }
.rcd-reviewslink { color: #bcd9f0 !important; text-decoration: underline; text-underline-offset: 2px; }
.rcd-reviewslink:hover { color: #fff !important; }
.rcd-badgecode textarea { width: 100%; font-size: .78rem; font-family: ui-monospace, Menlo, monospace; border: 1px solid var(--rc-line); border-radius: 6px; padding: 8px; }
.rcd-box h2 + .rcd-checklist { margin-bottom: 14px; }
@media (max-width: 620px) { .rcd-callouts { grid-template-columns: 1fr; } }

/* Guide links on directory pages */
.rcd-guidebar { display: flex; align-items: center; gap: 12px; background: #eef4fb; border: 1px solid #cfdff0; border-radius: var(--rc-radius); padding: 14px 18px; margin: 0 0 18px; text-decoration: none; color: var(--rc-navy) !important; }
.rcd-guidebar:hover { background: #e4eefa; }
.rcd-guidebar span:nth-of-type(1) { flex: 1; }
.rcd-guidebar .rcd-i { color: var(--rc-blue); }
.rcd-featured { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rcd-featured li { display: flex; align-items: flex-start; gap: 10px; }
.rcd-featured .rcd-i { color: var(--rc-blue); margin-top: 3px; }
.rcd-featured a { font-weight: 600; }

/* Guide articles (posts) */
.rcd-guide { max-width: 860px; padding-top: 0; }
.rcd-guide h2 { font-size: 1.5rem; }
.rcdg-toc, .rcdg-box, .rcdg-method { background: #fff; border: 1px solid var(--rc-line); border-radius: var(--rc-radius); padding: 16px 20px; margin: 18px 0; }
.rcdg-toc h2, .rcdg-box h2, .rcdg-method h2 { font-size: 1.05rem; margin-bottom: 8px; }
.rcdg-toc ol { margin: 0; padding-left: 20px; columns: 2; font-size: .95rem; }
.rcdg-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.rcdg-cards a { display: block; background: #eef4fb; border: 1px solid #cfdff0; border-radius: 8px; padding: 10px 12px; text-decoration: none; font-weight: 600; color: var(--rc-navy); }
.rcdg-cards a:hover { background: #e4eefa; }
.rcdg-cards small { display: block; font-weight: 400; color: var(--rc-muted); }
.rcdg-entry { padding: 24px 0; border-top: 1px solid var(--rc-line); }
.rcdg-entry h2 { display: flex; align-items: center; gap: 12px; margin: 0 0 4px; }
.rcdg-entry h2 a { color: var(--rc-navy); text-decoration: none; }
.rcdg-entry h2 a:hover { text-decoration: underline; }
.rcdg-num { flex: none; display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; border-radius: 10px; background: var(--rc-navy); color: #fff; font-size: 1.05rem; font-weight: 800; }
.rcdg-tagline { margin: 0 0 6px; font-size: 1.05rem; font-weight: 600; color: var(--rc-navy); }
.rcdg-rating { margin: 0 0 10px; color: var(--rc-muted); font-size: .92rem; }
.rcdg-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 14px 0; }
.rcdg-cols > div { border-radius: var(--rc-radius); padding: 12px 16px; font-size: .92rem; }
.rcdg-h { font-size: .95rem; font-weight: 700; margin: 0 0 6px !important; color: var(--rc-navy); }
.rcdg-cols ul { margin: 0; padding-left: 18px; }
.rcdg-pros { background: #eefaf1; border: 1px solid #cdebd6; }
.rcdg-pros .rcdg-h { color: #14532d; }
.rcdg-know { background: #eef4fb; border: 1px solid #cfdff0; }
.rcdg-bestfor { margin: 0 0 12px; }
.rcdg-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.rcdg-faq h3 { font-size: 1rem; margin: 14px 0 4px; }
.rcdg-faq p { margin: 0; }
.rcdg-note { font-size: .85rem; color: var(--rc-muted); }
@media (max-width: 620px) { .rcdg-cols { grid-template-columns: 1fr; } .rcdg-toc ol { columns: 1; } }

/* Fallback: hide the site's automatic table of contents on guides */
body.rcd-guide-post #ez-toc-container, body.rcd-guide-post .ez-toc-v2_0_17, body.rcd-guide-post div[id^='ez-toc-container'] { display: none !important; }
