/* =====================================================================
   Golf Empire â€” region, event type, collection and Aâ€“Z hub pages   /css/ge-hubs.css
   The styles that used to sit in <style> blocks inside the includes listed
   below, moved here (Nov 2026) so they're cached instead of sent with every page.
   Loaded by the headtag on these pages (see /includes/php/ge-assets.php);
   any include used somewhere else loads it itself, once, with ge_css('hubs').
   ===================================================================== */
/* ---- from /includes/content/category-hub.php ---- */
.ch-sec { margin: 34px 0 0; scroll-margin-top: 90px; }
.ch-sec > .gc-section__header { margin-bottom: 10px; }
.ch-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ch-lead { margin: 0 0 12px; font-size: 15px; color: #33485c; }
.ch-alert { margin-top: 18px; }
/* Phones: keep the bell beside the text (the place picker made the text too wide, so it dropped below the bell) */
.ch-alert .ge-alert__text { min-width: 0; flex: 1 1 200px; }
.ch-alert__where { flex-wrap: wrap; }
.ch-alert__where select { min-width: 0; flex: 1 1 150px; }
@media (max-width: 560px) { .ch-alert { align-items: flex-start; } .ch-alert .ge-alert__text { flex-basis: calc(100% - 54px); } }
.ch-alert__where { display: flex; align-items: center; gap: 8px; margin: 6px 0 4px; }
.ch-alert__where label { font-size: 14px; font-weight: 600; color: #5b4a12; }
.ch-alert__where select { font: inherit; font-size: 14px; font-weight: 500; color: #33485c; border: 1px solid #d8c88f; border-radius: 6px;
  padding: 4px 8px; background: #fff; max-width: 100%; min-width: 0; cursor: pointer; }
/* Level tabs: the same shape and count badge as the county pills */
.ch-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.ch-tab { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-size: 14px; font-weight: 600; color: #254e71;
  background: #f6f8fb; border: 1px solid #e3e8ed; border-radius: 8px; padding: 8px 10px 8px 14px; cursor: pointer; line-height: 1.2;
  transition: background .15s ease, border-color .15s ease; }
.ch-tab:hover { border-color: #254e71; background: #e8eef5; }
.ch-tab__n { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px; box-sizing: border-box;
  background: #254e71; color: #fff; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .3px; }
.ch-tab[aria-selected=true], .ch-tab[aria-current=true] { background: #254e71; border-color: #254e71; color: #fff; }
.ch-tab[aria-selected=true] .ch-tab__n, .ch-tab[aria-current=true] .ch-tab__n { background: #fff; color: #254e71; }
a.ch-tab { text-decoration: none !important; }
a.ch-tab[aria-current=true], a.ch-tab[aria-current=true]:hover { color: #fff !important; }
a.ch-tab:not([aria-current="true"]), a.ch-tab:not([aria-current="true"]):hover { color: #254e71 !important; }
#ch-list .ch-areas { margin-bottom: 16px; }
.ch-panel__note { margin: 0 0 10px; font-size: 14px; color: #5b6b7a; }
.ch-foot { margin: 10px 0 0; font-size: 14px; color: #5b6b7a; }
.ch-foot a { font-weight: 700; color: #254e71; }
/* Season at a glance */
.ch-months-wrap { height: 150px; display: flex; flex-direction: column; justify-content: flex-end; }
.ch-months { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px; align-items: end; }
.ch-month { display: flex; flex-direction: column; align-items: center; gap: 4px; text-decoration: none !important; color: #33485c; min-width: 0; }
.ch-month__n { font-size: 12px; font-weight: 700; color: #254e71; }
.ch-month__bar { display: block; width: 100%; max-width: 38px; min-height: 3px; background: #254e71; border-radius: 4px 4px 0 0; transition: background .15s; }
.ch-month:hover .ch-month__bar { background: #A3003F; }
.ch-month--none .ch-month__bar { background: #d9e2ea; }
.ch-month__m { font-size: 12px; font-weight: 600; }
.ch-month__y { font-size: 10.5px; color: #8a97a3; margin-top: -4px; }
@media (max-width: 540px) { .ch-months { gap: 3px; } .ch-month__m, .ch-month__n { font-size: 11px; } }
/* Softer counts and bars: pale badges with navy numbers, mid-blue bars with this month in navy */
.ch-tab:not([aria-selected="true"]):not([aria-current="true"]) .ch-tab__n { background: #dfe7f0; color: #254e71; }
.ch-month__bar { background: #7f9db9; }
.ch-month--now .ch-month__bar { background: #254e71; }
.ch-month--none .ch-month__bar { background: #d9e2ea; }
.ch-month:hover .ch-month__bar { background: #A3003F; }
.ch-month__n { color: #5b6b7a; }
.ch-month--now .ch-month__n { color: #254e71; }
/* County grid: smaller country headings under the section heading */
#ch-regions .cat-region-block { margin: 26px 0; }
#ch-regions .cat-region-block:first-of-type { margin-top: 8px; }
#ch-regions .cat-region-block__title { font-size: 18px; }
/* Tours */
.ch-tbox { margin: 18px 0 0; padding: 16px 18px 18px; background: #f6f8fb; border: 1px solid #e3e8ed; border-radius: 12px; }
.ch-tbox__h { margin: 0 0 4px; font-size: 17px; color: #1f2937; }
.ch-tbox__sub { margin: 0 0 12px; font-size: 13.5px; color: #5b6b7a; }
.ch-tlist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
@media (max-width: 640px) { .ch-tlist { grid-template-columns: 1fr; } }
.ch-tlist li { display: flex; }
.ch-tlist a { display: flex; flex-direction: column; gap: 4px; width: 100%; padding: 12px 14px; background: #fff; border: 1px solid #e3e8ed; border-radius: 10px;
  color: inherit; text-decoration: none !important; transition: border-color .15s ease, box-shadow .15s ease; }
.ch-tlist a:hover { border-color: #254e71; box-shadow: 0 4px 12px rgba(0,0,0,.06); }
.ch-tlist__name { font-size: 15px; font-weight: 700; color: #254e71; line-height: 1.3; }
.ch-tlist__name i { font-size: 11px; color: #8a97a3; margin-left: 4px; }
.ch-tlist__blurb { font-size: 13px; line-height: 1.45; color: #5b6b7a;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
/* Questions */
.ch-faq details { border: 1px solid #e3e8ed; border-radius: 10px; background: #fff; margin: 0 0 8px; }
.ch-faq summary { cursor: pointer; padding: 12px 14px; font-weight: 700; color: #1f2937; list-style: none; position: relative; padding-right: 36px; }
.ch-faq summary::-webkit-details-marker { display: none; }
.ch-faq summary::after { content: "+"; position: absolute; right: 14px; top: 9px; font-size: 20px; color: #254e71; font-weight: 600; }
.ch-faq details[open] summary::after { content: "\2013"; }
.ch-faq__a { padding: 0 14px 12px; font-size: 15px; line-height: 1.55; color: #33485c; }
.ch-faq__a p { margin: 0 0 8px; }
/* Related */
.ch-related { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
@media (max-width: 540px) { .ch-related { grid-template-columns: 1fr; } }
.ch-related a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 8px; background: #f6f8fb; border: 1px solid #e3e8ed;
  color: #254e71; font-weight: 600; font-size: 14px; text-decoration: none; }
.ch-related a:hover { border-color: #254e71; background: #e8eef5; }
.ch-related i { width: 18px; text-align: center; }

/* ---- from /includes/content/region-hub.php ---- */
.ch-sec { margin: 34px 0 0; scroll-margin-top: 90px; }
.ch-sec > .gc-section__header { margin-bottom: 10px; }
.ch-lead { margin: 0 0 12px; font-size: 15px; color: #33485c; }
.ch-alert { margin-top: 18px; }
/* Phones: keep the bell beside the text (the place picker made the text too wide, so it dropped below the bell) */
.ch-alert .ge-alert__text { min-width: 0; flex: 1 1 200px; }
.ch-alert__where { flex-wrap: wrap; }
.ch-alert__where select { min-width: 0; flex: 1 1 150px; }
@media (max-width: 560px) { .ch-alert { align-items: flex-start; } .ch-alert .ge-alert__text { flex-basis: calc(100% - 54px); } }
.ch-alert__where { display: flex; align-items: center; gap: 8px; margin: 6px 0 4px; }
.ch-alert__where label { font-size: 14px; font-weight: 600; color: #5b4a12; }
.ch-alert__where select { font: inherit; font-size: 14px; font-weight: 500; color: #33485c; border: 1px solid #d8c88f; border-radius: 6px;
  padding: 4px 8px; background: #fff; max-width: 100%; min-width: 0; cursor: pointer; }
.ch-foot { margin: 10px 0 0; font-size: 14px; color: #5b6b7a; }
.ch-foot a { font-weight: 700; color: #254e71; }
/* Counties */
.rg-places { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
@media (max-width: 720px) { .rg-places { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .rg-places { grid-template-columns: 1fr; } }
.rg-places li { display: flex; }
.rg-place { display: flex; flex-direction: column; gap: 2px; width: 100%; padding: 12px 14px; background: #f6f8fb; border: 1px solid #e3e8ed; border-radius: 10px;
  color: inherit; text-decoration: none !important; transition: border-color .15s ease, background .15s ease; }
a.rg-place:hover { border-color: #254e71; background: #e8eef5; }
.rg-place__name { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 16px; font-weight: 700; color: #254e71; line-height: 1.25; }
.rg-place__name i { font-size: 12px; color: #8a97a3; }
.rg-place__meta { font-size: 13.5px; color: #5b6b7a; }
.rg-place__meta strong { color: #1f2937; }
/* Types: the same shape and count badge as the hub pills */
.rg-types { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.rg-type { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #254e71 !important; background: #f6f8fb;
  border: 1px solid #e3e8ed; border-radius: 8px; padding: 8px 10px 8px 12px; line-height: 1.2; text-decoration: none !important;
  transition: background .15s ease, border-color .15s ease; }
.rg-type:hover { border-color: #254e71; background: #e8eef5; color: #254e71 !important; }
.rg-type > i { font-size: 13px; width: 16px; text-align: center; color: #5b6b7a; }
.rg-type__n { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px; box-sizing: border-box;
  background: #254e71; color: #fff; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .3px; }
/* Season at a glance (as the hubs) */
.ch-months-wrap { height: 150px; display: flex; flex-direction: column; justify-content: flex-end; }
.ch-months { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px; align-items: end; }
.ch-month { display: flex; flex-direction: column; align-items: center; gap: 4px; text-decoration: none !important; color: #33485c; min-width: 0; }
.ch-month__n { font-size: 12px; font-weight: 700; color: #254e71; }
.ch-month__bar { display: block; width: 100%; max-width: 38px; min-height: 3px; background: #254e71; border-radius: 4px 4px 0 0; transition: background .15s; }
.ch-month:hover .ch-month__bar { background: #A3003F; }
.ch-month--none .ch-month__bar { background: #d9e2ea; }
.ch-month__m { font-size: 12px; font-weight: 600; }
.ch-month__y { font-size: 10.5px; color: #8a97a3; margin-top: -4px; }
@media (max-width: 540px) { .ch-months { gap: 3px; } .ch-month__m, .ch-month__n { font-size: 11px; } }
/* Softer counts and bars: pale badges with navy numbers, mid-blue bars with this month in navy */
.ch-tab:not([aria-selected="true"]):not([aria-current="true"]) .ch-tab__n { background: #dfe7f0; color: #254e71; }
.ch-month__bar { background: #7f9db9; }
.ch-month--now .ch-month__bar { background: #254e71; }
.ch-month--none .ch-month__bar { background: #d9e2ea; }
.ch-month:hover .ch-month__bar { background: #A3003F; }
.ch-month__n { color: #5b6b7a; }
.ch-month--now .ch-month__n { color: #254e71; }
.rg-type__n { background: #dfe7f0; color: #254e71; }
/* The guide below: next open under each club */
.rg-guide { margin-top: 38px; }
.rg-next { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; clear: both; margin: -4px 0 22px; padding: 10px 14px;
  background: #f6f8fb; border: 1px solid #e3e8ed; border-left: 4px solid #254e71; border-radius: 8px; font-size: 14.5px; line-height: 1.45; color: #33485c; }
.rg-next > i { color: #254e71; }
.rg-next__txt { flex: 1 1 260px; min-width: 0; }
.rg-next__txt a { font-weight: 700; color: #254e71; }
.rg-next__all { margin-left: auto; font-size: 14px; font-weight: 700; color: #254e71; white-space: nowrap; text-decoration: none; }
.rg-next__all:hover { text-decoration: underline; }

/* ---- from /includes/content/category-region-grid.php ---- */
.cat-region-block{
  margin: 60px 0;
  padding: 0;
}
.cat-region-block:first-of-type{ margin-top: 24px; }
.cat-region-block__header{
  border-bottom: 2px solid #254e71;
  padding-bottom: 8px;
  margin-bottom: 16px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.cat-region-block__title{
  font-size: 22px;
  font-weight: 700;
  color: #254e71;
  margin: 0;
  line-height: 1.2;
}
.cat-region-block__link, .cat-region-block__link:visited{ color: inherit; text-decoration: none; }
.cat-region-block__link:hover{ text-decoration: underline; }
.cat-region-block__meta{
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  margin: 0;
  letter-spacing: 0.2px;
}
.cat-region-block__counties{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 8px;
}
.cat-county-pill{
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 8px;
  background: #f6f8fb;
  border: 1px solid #e3e8ed;
  color: #254e71;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
  line-height: 1.2;
}
.cat-county-pill:hover{
  background: #e8eef5;
  border-color: #254e71;
  transform: translateY(-1px);
  text-decoration: none;
}
.cat-county-pill__name{
  flex: 1;
  min-width: 0;
}
.cat-county-pill__count{
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  background: #254e71;
  color: #fff;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
}
.cat-county-pill--empty{ opacity: 0.55; }
.cat-county-pill--empty:hover{ opacity: 0.85; }
@media (max-width: 540px){
  .cat-region-block__header{
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .cat-region-block__title{ font-size: 20px; }
  .cat-region-block__counties{ grid-template-columns: 1fr; }
}

.cat-region-block__counties--two-col{
  grid-template-columns: 1fr 1fr;
}

.cat-county-pill__subtitle{
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: #6b7280;
  letter-spacing: 0.2px;
  margin-top: 2px;
  text-transform: none;
}

@media (max-width: 540px){
  .cat-region-block__counties--two-col{
    grid-template-columns: 1fr;
  }
}

/* ---- from /includes/content/collection-index.php ---- */
.gix-tools { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 4px; }
.gix-tools button { font: inherit; font-size: 13px; font-weight: 700; color: #254e71; background: #f4f7fa; border: 1px solid #d8e2ec; border-radius: 99px; padding: 6px 12px; cursor: pointer; }
.gix-tools button[aria-pressed=true] { background: #254e71; color: #fff; border-color: #254e71; }
.gix-tools [data-gix-member] { display: none; }
.gix--member .gix-tools [data-gix-member] { display: inline-block; }
.gix-sec { margin: 22px 0 0; }
.gix-sec h2 small { font-size: 13px; font-weight: 600; color: #5b6b7a; margin-left: 6px; }
.gix-grid { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; }
.gix-grid li[hidden] { display: none; }
.gix-club { position: relative; display: block; height: 100%; box-sizing: border-box; padding: 9px 12px 9px 12px; background: #fff; border: 1px solid #d6e3ee; border-radius: 9px; color: inherit; }
.gix-club, .gix-club * { text-decoration: none !important; }
.gix-club:hover { border-color: rgba(37,78,113,.55); box-shadow: 0 4px 12px rgba(0,0,0,.06); }
.gix-club__name { display: block; padding-right: 22px; font-size: 14.5px; font-weight: 700; color: #254e71; line-height: 1.3; }
.gix-club__courses { display: block; font-size: 12.5px; color: #5b6b7a; line-height: 1.35; margin-top: 1px; }
.gix-club__opens { display: inline-block; margin-top: 5px; font-size: 12px; font-weight: 700; color: #1f6b33; background: #e7f4ea; border-radius: 4px; padding: 1px 6px; }
.gix-club__opens--none { color: #6b7280; background: #f1f4f7; font-weight: 600; }
.gix-club__mark { position: absolute; top: 8px; right: 9px; font-size: 14px; }
.gix-club--played { border-color: #9fd3ac; background: #f6fbf7; }
.gix-club--played .gix-club__mark::before { content: "\2713"; color: #1f8b3b; font-weight: 800; }
.gix-club--want .gix-club__mark::before { content: "\2691"; color: #B8860B; }
.gix-club--closed { opacity: .6; }
.gix-empty { margin: 8px 0 0; font-size: 14px; color: #5b6b7a; }

/* ---- from /includes/content/collection-sidebar.php ---- */
.gecp h3 { display: flex; align-items: center; gap: 6px; }
.gecp h3 i { color: #1f8b3b; }
.rightnav.gecp::before { background: #1f8b3b; }
.gecp__text { margin: 0 0 10px; font-size: 14px; line-height: 1.5; color: #33485c; }
.gecp__foot { margin: 8px 0 0; font-size: 13.5px; }
.gecp__foot a { font-weight: 700; color: #254e71; }
.gecp__btn { display: block; width: 100%; box-sizing: border-box; text-align: center; font: inherit; font-size: 14px; font-weight: 700;
  color: #fff !important; background: #1f8b3b; border: 0; border-radius: 8px; padding: 9px 12px; cursor: pointer; text-decoration: none !important; }
.gecp__btn:hover { background: #18722f; }
.gecp__big { margin: 0; line-height: 1.1; color: #1f2937; }
.gecp__big strong { font-size: 34px; font-weight: 800; color: #1f8b3b; }
.gecp__big span { font-size: 16px; font-weight: 600; color: #5b6b7a; }
.gecp__bar { height: 8px; margin: 8px 0 4px; background: #e6eef3; border-radius: 99px; overflow: hidden; }
.gecp__bar span { display: block; height: 100%; width: 0; background: #1f8b3b; border-radius: 99px; transition: width .6s ease; }
.gecp__cap { margin: 0; font-size: 12.5px; color: #5b6b7a; }
.gecp__want { margin: 12px 0 0; padding-top: 10px; border-top: 1px solid #eef1f5; font-size: 13px; line-height: 1.45; color: #33485c; }
.gecp__want p { margin: 0 0 6px; font-size: 13px; }
.gecp__want ul { list-style: none; margin: 0; padding: 0; }
.gecp__want li { padding: 3px 0; }
.gecp__want a { font-weight: 700; color: #254e71; }
.gecp__want small { color: #5b6b7a; }
.ge-uc__link { display: flex; align-items: center; gap: 12px; color: #33485c; font-size: 14px; line-height: 1.45; font-weight: 400; text-decoration: none !important; }
.ge-uc__row .ge-uc__link img { flex: 0 0 64px; width: 64px; max-width: 64px; height: auto; margin: 0; border: 0; box-shadow: none; border-radius: 4px; }
.ge-uc__link strong { color: #254e71; }
.ge-uc__link:hover strong { text-decoration: underline; }
.ge-uc__link i { font-size: 11px; color: #254e71; }

/* ---- from /includes/content/collection-hub.php ---- */
.gh-sec { margin: 26px 0 0; }
.gh-sec:first-child { margin-top: 10px; }
.gh-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 12px 0 0; }
.gh-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 640px) { .gh-grid, .gh-grid--3 { grid-template-columns: 1fr; } }
.gh-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #e3e9ef; border-radius: 12px; overflow: hidden; color: inherit;
  box-shadow: 0 1px 2px rgba(0,0,0,.04); transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease; }
.gh-card, .gh-card * { text-decoration: none !important; }
.gh-card:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.08); border-color: rgba(37,78,113,.35); }
.gh-card__img { display: block; width: 100%; height: auto; aspect-ratio: 708 / 300; object-fit: cover; border-radius: 0; background: #eef3f8; }
.gh-card__body { display: block; padding: 12px 14px 14px; }
.gh-card__title { display: block; font-size: 17px; font-weight: 700; color: #1f2937; }
.gh-card__title i { font-size: 13px; color: #254e71; margin-left: 4px; }
.gh-card__meta { display: block; margin-top: 4px; font-size: 14px; color: #33485c; }
.gh-card__meta strong { color: #254e71; }
.gh-card__next { display: block; font-size: 13px; color: #5b6b7a; }
.gh-grid--3 .gh-card__title { font-size: 15.5px; }
/* Featured */
.gh-feat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 12px 0 0; }
.gh-feat--1 { grid-template-columns: minmax(0, 1fr); max-width: 420px; }
.gh-feat--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .gh-feat, .gh-feat--2 { grid-template-columns: 1fr; } }
.gh-feat .fe-card + .fe-card { margin-top: 0; }
.gh-foot { margin: 10px 0 0; font-size: 13.5px; color: #5b6b7a; }
.gh-foot a { font-weight: 700; color: #254e71; }

/* ---- from /includes/content/category-sidebar.php ---- */
.cs-list { list-style: none; margin: 0; padding: 0; }
.cs-tour__link { display: block; color: inherit; text-decoration: none !important; line-height: 1.4 !important; }
.cs-tour__link > span { line-height: 1.4 !important; height: auto !important; }
.cs-tour__img { line-height: 0; }
.cs-tour__img { display: block; width: 100%; height: auto; border-radius: 8px; margin: 0 0 10px; background: #eef3f8; }
.cs-tour__title { display: block; font-size: 16px; font-weight: 700; color: #1f2937; line-height: 1.3; }
.cs-tour__meta { display: block; margin-top: 3px; font-size: 13.5px; color: #5b6b7a; }
.cs-tour__cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 14px; font-weight: 700; color: #254e71; }
.cs-tour__link:hover .cs-tour__title { color: #254e71; }
.cs-list li + li { border-top: 1px solid #edf1f5; }
.cs-list a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 2px; color: #254e71; font-size: 14.5px;
  font-weight: 600; text-decoration: none; }
.cs-list a:hover { color: #254e71; text-decoration: underline; }
.cs-list__n { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px;
  box-sizing: border-box; background: #dfe7f0; color: #254e71; border-radius: 999px; font-size: 11px; font-weight: 700; }
.cs-list__sub { display: block; font-size: 12.5px; font-weight: 500; color: #6b7280; margin-top: 1px; }
.cs-foot { margin: 8px 0 0; font-size: 13.5px; }
.cs-foot a { font-weight: 700; color: #254e71; }
.cs-q a { display: block; padding: 8px 2px; font-size: 14px; font-weight: 600; color: #254e71; text-decoration: none; line-height: 1.35; }
.cs-q a:hover { color: #A3003F; }
.cs-q li + li { border-top: 1px solid #edf1f5; }
.cs-q ul { list-style: none; margin: 0; padding: 0; }

/* ---- from /includes/php/ge-category.php ---- */
.ge-glance { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
@media (max-width: 720px) { .ge-glance { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ge-glance li { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px; background: #f6f8fb; border: 1px solid #e3e8ed; border-radius: 10px; min-width: 0; }
.ge-glance__v { font-size: 22px; font-weight: 700; color: #1f2937; line-height: 1.15; overflow-wrap: break-word; }
.ge-glance__v--m { font-size: 18px; }
.ge-glance__v--s { font-size: 15.5px; }
.ge-glance__l { font-size: 13px; color: #5b6b7a; line-height: 1.35; }
.ge-glance__note { margin: 8px 0 0; font-size: 12.5px; color: #8a97a3; }
.ge-glance__note a { font-weight: 700; color: #254e71; white-space: nowrap; }
.ge-next-more{margin:14px 2px 8px;font-size:12.5px;font-weight:700;letter-spacing:.4px;text-transform:uppercase;color:#6b7280}

/* ---- from /includes/content/golf-clubs-az.php ---- */
.gcf-box h3 { display: flex; align-items: center; gap: 6px; }
.gcf-box h3 i { color: #B8860B; }
.gcf-club { display: flex !important; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid #eef1f5; text-decoration: none !important; color: inherit; line-height: 1.35; }
.gcf-club[hidden] { display: none !important; }
.gcf-club.is-first { border-top: 0; }
.gcf-club img { width: 64px !important; height: 48px !important; max-width: 64px; flex: 0 0 64px; object-fit: cover; border-radius: 6px; margin: 0; background: #e9eef3; }
.gcf-club__body { min-width: 0; }
.gcf-club__name { display: block; font-size: 14px; font-weight: 700; line-height: 1.3; color: #254e71; }
.gcf-club:hover .gcf-club__name { text-decoration: underline; }
.gcf-club__meta { display: block; font-size: 12.5px; line-height: 1.35; color: #5b6b7a; margin-top: 1px; }
.gcf-club__meta b { color: #1f8b3b; font-weight: 700; }
.gcf-more { margin: 8px 0 0; }
.gcf-more__btn { width: 100%; font: inherit; font-size: 13px; font-weight: 700; color: #254e71; background: #f4f7fa; border: 1px solid #d8e2ec; border-radius: 8px; padding: 7px 10px; cursor: pointer; }
.gcf-more__btn:hover { background: #e9f0f6; }
.gcf-more__list { list-style: none; margin: 8px 0 0; padding: 0; max-height: 360px; overflow-y: auto; }
.gcf-more__list li { border-top: 1px solid #eef1f5; }
.gcf-more__list a { display: block; padding: 7px 2px; text-decoration: none; color: inherit; }
.gcf-more__list a:hover .gcf-more__name { text-decoration: underline; }
.gcf-more__name { display: block; font-size: 13.5px; font-weight: 700; line-height: 1.35; color: #1f2937; }
.gcf-more__meta { display: block; font-size: 12.5px; color: #5b6b7a; }

/* ---- from /includes/php/overseas-extras.php ---- */
.ov-showall{margin:16px 0 0;text-align:center}.ov-showall button.md-btn{font:inherit;font-size:15px;font-weight:700;background:#fff;color:#254e71;border:1px solid rgba(37,78,113,.3);box-shadow:none}.ov-showall button.md-btn:hover{background:rgba(37,78,113,.08);border-color:#254e71}


/* =====================================================================
   Page styles from the hub index pages (Nov 2026), moved out of each page's <head>
   ===================================================================== */

/* ---- from /golf-clubs/golf-clubs.htm (Aâ€“Z clubs) ---- */
.az-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 12px;
  margin: 16px 0;
  background: #f5f5f5;
  border-radius: 6px;
  justify-content: center;
}

.az-jump a {
  display: inline-block;
  min-width: 24px;
  padding: 6px 6px;
  text-align: center;
  font-weight: 600;
  text-decoration: none;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  color: #254e71;
}

.az-jump a:hover,
.az-jump a:focus {
  background: #254e71;
  color: #fff;
  border-color: #254e71;
}

.az-anchor {
  display: block;
  margin: 32px 0 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid #254e71;
  font-size: 1.75rem;
  font-weight: 700;
  color: #254e71;
  scroll-margin-top: 80px;
}

#clubSearch {
  position: relative;
  margin: 16px 0;
  max-width: 500px;
}

#clubSearch input {
  width: 100%;
  padding: 8px 12px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

#clubResults {
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  max-height: 320px;
  overflow-y: auto;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  display: none;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  box-sizing: border-box;
}

#clubResults.open {
  display: block;
}

#clubResults li {
  margin: 0;
  padding: 0;
}

#clubResults li a {
  display: block;
  padding: 8px 12px;
  text-decoration: none;
  color: #254e71;
  border-bottom: 1px solid #f0f0f0;
}

#clubResults li:nth-child(even) a {
  background: #f7f9fb;
}

#clubResults li:last-child a {
  border-bottom: none;
}

#clubResults li a:hover,
#clubResults li a:focus,
#clubResults li a.active {
  background: #254e71;
  color: #fff;
  outline: none;
}

#clubCount {
  margin-top: 6px;
  font-size: 0.9rem;
  color: #666;
}


/* ---- A-Z extras (Nov 2026): sticky letters, county + upcoming opens, featured clubs ---- */
.az-jump { position: sticky; top: var(--ge-sticky-h, 0px); z-index: 20; flex-wrap: nowrap; gap: 3px; padding: 8px;
  background: #f5f7fa; border: 1px solid #e3e8ed; box-shadow: 0 4px 10px rgba(0, 0, 0, .05); }
.az-jump a { flex: 1 1 0; min-width: 0; padding: 5px 0; font-size: 14px; }
.az-jump a.is-current { background: #254e71; color: #fff; border-color: #254e71; }
@media (max-width: 640px) {
  .az-jump { overflow-x: auto; justify-content: flex-start; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .az-jump::-webkit-scrollbar { display: none; }
  .az-jump a { flex: 0 0 auto; min-width: 30px; padding: 6px 4px; }
}
.az-anchor { scroll-margin-top: 64px; }
.az-club { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin: 0; padding: 7px 0; border-bottom: 1px solid #eef1f4; }
.az-club a { font-weight: 600; }
.az-county { font-size: 13px; color: #6b7a88; }
.az-tag { font-size: 11px; font-weight: 700; line-height: 1; padding: 3px 7px; border-radius: 99px; white-space: nowrap; }
.az-tag--opens { background: #e7f5ec; color: #1f8b3b; }
.az-tag--closed { background: #f1f4f8; color: #8a97a3; }
.az-club--closed a { color: #8a97a3; font-weight: 500; }
#clubResults li a .az-res-county { margin-left: 6px; font-size: 12px; color: #6b7a88; font-weight: 400; }

/* ---- from /category/autumn-winter.htm ---- */
.aw-region-heading {
  margin: 28px 0 12px 0;
  padding: 0 0 8px 0;
  font-size: 18px;
  font-weight: 700;
  color: #254e71;
  border-bottom: 2px solid #254e71;
}

.aw-region-heading:first-of-type {
  margin-top: 16px;
}

/* ---- from /category/category.htm (event types index) ---- */
.ci-block { margin: 44px 0 0; }
.ci-block:first-of-type { margin-top: 30px; }
.ci-block__header { border-bottom: 2px solid #254e71; padding-bottom: 8px; margin-bottom: 14px; display: flex; align-items: baseline;
  justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.ci-block__title { font-size: 22px; font-weight: 700; color: #254e71; margin: 0; line-height: 1.2; }
.ci-block__meta { font-size: 13px; font-weight: 600; color: #6b7280; margin: 0; }
.ci-block__meta a { color: #254e71; font-weight: 700; text-decoration: none; white-space: nowrap; }
.ci-block__meta a:hover { text-decoration: underline; }
.ci-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.ci-tile { display: flex; flex-direction: column; gap: 4px; height: 100%; box-sizing: border-box; padding: 12px 14px 11px; border-radius: 10px;
  background: #f6f8fb; border: 1px solid #e3e8ed; color: #33485c; text-decoration: none; transition: background .15s, border-color .15s, transform .15s; }
.ci-tile:hover { background: #eef3f8; border-color: #254e71; transform: translateY(-1px); text-decoration: none; }
.ci-tile__top { display: flex; align-items: center; gap: 9px; }
.ci-tile__icon { flex: 0 0 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px;
  background: #e3ebf3; color: #254e71; font-size: 14px; }
.ci-tile__name { flex: 1; min-width: 0; font-size: 15.5px; font-weight: 700; color: #254e71; line-height: 1.2; }
.ci-tile__n { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 7px;
  box-sizing: border-box; background: #254e71; color: #fff; border-radius: 999px; font-size: 11px; font-weight: 700; }
.ci-tile__desc { margin: 2px 0 0; font-size: 13.5px; line-height: 1.4; color: #5b6b7a; }
.ci-tile__facts { margin-top: auto; padding-top: 7px; display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12.5px; color: #6b7a88; }
.ci-tile__facts strong { color: #33485c; font-weight: 700; }
.ci-tile--empty { opacity: .6; }
.ci-foot { margin: 12px 0 0; font-size: 13.5px; color: #6b7a88; }
.ci-foot a { font-weight: 700; color: #254e71; }
@media (max-width: 540px) {
  .ci-block__title { font-size: 20px; }
  .ci-tiles { grid-template-columns: 1fr; }
}

/* ---- from /region/regions.htm (regions index) ---- */
/* ============================================================
   Regions index page (regions.htm)
   ============================================================ */
.region-block{
  margin: 60px 0;
  padding: 0;
}

.region-block:first-of-type{
  margin-top: 24px;
}

.region-block__header{
  border-bottom: 2px solid #254e71;
  padding-bottom: 8px;
  margin-bottom: 16px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.region-block__title{
  font-size: 22px;
  font-weight: 700;
  color: #254e71;
  margin: 0;
  line-height: 1.2;
}

.region-block__title a{
  color: inherit;
  text-decoration: none;
}

.region-block__title a:hover{
  text-decoration: underline;
}

.region-block__meta{
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  margin: 0;
  letter-spacing: 0.2px;
}

.region-block__counties{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 8px;
}

.county-pill{
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 8px;
  background: #f6f8fb;
  border: 1px solid #e3e8ed;
  color: #254e71;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
  line-height: 1.2;
}

.county-pill:hover{
  background: #e8eef5;
  border-color: #254e71;
  transform: translateY(-1px);
  text-decoration: none;
}

.county-pill__name{
  flex: 1;
  min-width: 0;
}

.county-pill__count{
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  background: #254e71;
  color: #fff;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.county-pill--empty{
  opacity: 0.55;
}

.county-pill--empty:hover{
  opacity: 0.85;
}

.county-pill__subtitle{
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: #6b7280;
  letter-spacing: 0.2px;
  margin-top: 2px;
  text-transform: none;
}

@media (max-width: 540px){
  .region-block__header{
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .region-block__title{
    font-size: 20px;
  }
  .region-block__counties{
    grid-template-columns: 1fr;
  }
}

/* New layout */
.ge-panel .region-block { margin: 44px 0 0; }
.ge-panel .region-block:first-of-type { margin-top: 30px; }
.region-block__meta a.region-block__go { color: #254e71; font-weight: 700; text-decoration: none; white-space: nowrap; }
.region-block__meta a.region-block__go:hover { text-decoration: underline; }
.ri-alert .ge-alert__btn[disabled] { opacity: .55; cursor: not-allowed; }





/* =====================================================================
   Region hub (step 2.6 brief, Nov 2026). Pilot: /region/east-midlands.htm
   Markup: /includes/content/region-page.php, region-side.php, /includes/php/ge-region-hub.php
   Laid out as the Region mock-up: white cards on the grey page.
   ===================================================================== */
main.ge-col.rh-wrap { max-width: 1320px; padding: 18px 16px 0; }
.rh-card { background: #fff; border: 1px solid #e9edf0; border-radius: 12px; padding: 18px 20px; min-width: 0; box-sizing: border-box; }
.rh-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 12px; padding: 0 0 9px; border-bottom: 2px solid #254e71; }
.rh-head h2 { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.25; color: #254e71; }
.rh-head a { flex: 0 0 auto; font-size: 13.5px; font-weight: 700; color: #254e71; text-decoration: none; white-space: nowrap; }
.rh-head a:hover { text-decoration: underline; }
.rh-card__note { margin: 10px 0 0; font-size: 13.5px; line-height: 1.45; color: #5b6b7a; }
.rh-card__note a { font-weight: 700; color: #254e71; }

/* Hero beside the photo */
.rh-top { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 20px; margin: 0 0 20px; }
.rh-top--nophoto { grid-template-columns: 1fr; }
.rh-hero.ge-hero { margin: 0; padding: 26px 28px; display: flex; flex-direction: column; justify-content: center; }
.rh-hero h1 { font-size: 1.9em; }
.rh-hero .ge-hero__stats { margin-top: 14px; }
.rh-hero__btns { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0 !important; }
.ge-hero a.rh-btn, .ge-hero a.rh-btn:hover { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 8px; font-size: 15px; font-weight: 700;
  line-height: 1.2; text-decoration: none !important; white-space: nowrap; }
.ge-hero a.rh-btn--gold { background: #fece20; color: #1f2937 !important; border: 1px solid #fece20; }
.ge-hero a.rh-btn--gold:hover { background: #f5c400; }
.rh-top #sectionimage { position: relative; margin: 0; min-height: 0; }
.rh-top #sectionimage img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.rh-top #sectionimage > a { display: block; height: 100%; }

/* Four "in numbers" tiles */
.rh-glance { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0 0 20px; padding: 0; list-style: none; }
.rh-glance li { display: flex; flex-direction: column; gap: 3px; min-width: 0; padding: 14px 18px; background: #fff; border: 1px solid #e9edf0; border-radius: 12px; container-type: inline-size; }
/* Values never break mid-word ("Warwickshir/e"): they shrink to fit the tile instead (cqi = % of the tile's width) */
.rh-glance__v { font-size: 24px; font-size: min(24px, 15cqi); font-weight: 700; line-height: 1.15; color: #254e71; overflow-wrap: normal; word-break: keep-all; hyphens: manual; }
.rh-glance__l { font-size: 13.5px; line-height: 1.35; color: #5b6b7a; }
.rh-glance__v.rh-glance__v--m { font-size: 21px; font-size: min(21px, 12.5cqi); }
.rh-glance__v.rh-glance__v--s { font-size: 18px; font-size: min(18px, 10.5cqi); }

/* By county · by event type · the season · email alert */
.rh-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; align-items: stretch; margin: 0 0 20px; }   /* cards in a row share one height */
.rh-plist { margin: 0; padding: 0; list-style: none; }
.rh-plist li + li { border-top: 1px solid #edf1f5; }
.rh-plist a, .rh-plist__row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 10px; padding: 9px 0; text-decoration: none; }
.rh-plist__n { min-width: 0; font-size: 15px; font-weight: 500; color: #254e71; }
.rh-plist__m { margin-left: auto; font-size: 13px; color: #6b7280; white-space: nowrap; }
.rh-plist a:hover .rh-plist__n { color: #254e71; text-decoration: underline; }
.rh-row .rg-types { gap: 10px; }
.rh-row .rg-type { font-size: 15px; padding: 9px 12px; }
.rh-season .ch-months-wrap { height: 128px; }
.rh-season .ch-months { gap: 4px; }
.rh-season .ch-month__bar { background: #254e71; }
.rh-season .ch-month--none .ch-month__bar { background: #d9e2ea; }
.rh-season .ch-month:hover .ch-month__bar { background: #fece20; }
.rh-season .ch-month__m { font-size: 11px; color: #5b6b7a; }
.rh-more { display: none; width: 100%; margin: 8px 0 0; padding: 7px 10px; font: inherit; font-size: 13px; font-weight: 700; color: #254e71;
  background: #f4f7fa; border: 1px solid #d8e2ec; border-radius: 8px; cursor: pointer; }
.rh-more:hover { background: #e9f0f6; }

/* Plan a trip: the page's highlight card (warm cream, as the alert card on county pages);
   the tool's own colour (Trip Builder teal) on its label and button */
.rh-tripcard { min-width: 0; padding: 18px 20px; border-radius: 12px; background: #FBF4E2; border: 1px solid #E7D9A6;
  color: #5A4708; scroll-margin-top: 90px; }
.rh-tripcard__kicker { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gef-trips, #0f766e); }
.rh-tripcard__h { margin: 0 0 8px; font-size: 17px; font-weight: 700; line-height: 1.3; color: #3f3206; }
.rh-tripcard__text { margin: 0 0 8px; font-size: 14px; line-height: 1.5; color: #5A4708; }
.rh-tripcard__base { margin: 0 0 14px; font-size: 14px; line-height: 1.5; color: #5A4708; }
.rh-tripcard__base a { font-weight: 700; color: var(--gef-trips, #0f766e); text-decoration: underline; text-underline-offset: 2px; }
.rh-tripcard__base a:hover { color: #115e59; }
a.rh-tripcard__btn { display: inline-flex; align-items: center; padding: 9px 16px; border-radius: 8px; background: var(--gef-trips, #0f766e); color: #fff !important;
  font-size: 14.5px; font-weight: 700; text-decoration: none !important; }
a.rh-tripcard__btn:hover { background: #115e59; }

/* Region sponsor (takes the season card's place while active) */
.rh-sponsor { position: relative; display: flex; flex-direction: column; align-items: center; padding: 12px; }
.rh-sponsor__label { align-self: stretch; margin: 0 0 8px; font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #8a97a3; text-align: center; }
.rh-sponsor img { display: block; max-width: 100%; height: auto; }

/* Two columns below: main + sidebar (as .ge-layout) */
.rh-cols { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px 20px; align-items: start; }
.rh-main { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.rh-main > .incontent { margin: 0; padding: 4px 0; }
/* Ads sit in a white card like everything else once they've filled (an empty slot stays invisible).
   Desktop only: on phones some ads are wider than a padded card and would scroll sideways. */
@media (min-width: 901px) {
  .rh-ad .incontent:has(iframe) { margin: 0; padding: 12px 16px 16px; background: #fff; border: 1px solid #e9edf0; border-radius: 12px; }
  .rh-side .mpu:has(iframe) { padding: 10px 10px 14px; background: #fff; border: 1px solid #e9edf0; border-radius: 12px; }
}

/* Coming up: event cards in two columns (calendar and card from ge-cards.css; no button, the whole card is the link) */
.rh-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.rh-cards .gec-row { min-width: 0; }
.rh-cards .gec-row > a { height: 100%; box-sizing: border-box; }
.rh-cards .gec-cta { display: none; }
.rh-cards .gec-chev { display: inline; flex: 0 0 auto; margin-left: auto; }

/* Featured opens: a card holding three cream cards with their photo, "View event" lined up along the bottom */
.rh-featured .gh-feat { margin: 0; }
.rh-featured .fe-card__img { aspect-ratio: 708 / 349; object-fit: cover; }   /* the images' own shape, so multi-day flyers aren't cropped */
.rh-featured .fe-card { position: relative; display: flex; flex-direction: column; height: 100%; box-sizing: border-box; border-color: #ecd98f;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.rh-featured .fe-card:hover { border-color: #d9b64a; box-shadow: 0 6px 16px rgba(0, 0, 0, .07); transform: translateY(-2px); }
.rh-featured .fe-card__body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 14px 16px 14px; }
.rh-featured .fe-card__label { align-self: flex-start; background: #254e71; color: #fff; }
.rh-featured .fe-card__label::before { content: "\2605"; margin-right: 5px; color: #fece20; }
.rh-featured .fe-card__title { margin: 8px 0 6px; font-size: 16px; line-height: 1.3; color: #254e71; }
.rh-featured .fe-card__meta { font-size: 13.5px; }
.rh-featured .fe-card__cta { margin-top: auto; padding-top: 12px; border-top: 1px solid #f1e6bd; }
.rh-featured .fe-card:hover .fe-card__cta { text-decoration: underline !important; }
.rh-featured .fe-promo { margin: 0; }

/* Leaderboard box inside its card (the card has the heading) */
.rh-board .mclb { margin: 0; padding: 0; border: 0; box-shadow: none; background: none; }
.rh-board .mclb::before { display: none; }
.rh-board .mclb > h3 { display: none; }
.rh-board__cols { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.rh-board .mclb__tab { flex: 1 1 0; }
.rh-review { margin: 0; padding-left: 24px; border-left: 1px solid #edf1f5; }
.rh-review__kicker { margin: 4px 0 8px; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #6b7280; }
.rh-review__club { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 10px; margin: 0 0 8px; font-size: 15.5px; font-weight: 700; line-height: 1.3; }
.rh-review__club a { color: #254e71; text-decoration: none; }
.rh-review__club a:hover { text-decoration: underline; }
.rh-review__stars { font-size: 14px; font-weight: 600; color: #1f2937; white-space: nowrap; }
.rh-review__stars i { color: #B8860B; font-size: 12.5px; }
.rh-review__text { margin: 0; padding: 0 0 0 12px; border: 0; border-left: 3px solid #e3e8ed; background: none; font-style: normal; }
.rh-review__text p { margin: 0; font-size: 13.5px; line-height: 1.5; color: #33485c; }
.rh-review__by { margin: 8px 0 0; font-size: 12.5px; color: #6b7280; }
.rh-review .mclb__foot { margin: 10px 0 0; font-size: 13.5px; }
.rh-review .mclb__foot a { font-weight: 700; color: #254e71; }

/* Top courses */
.rh-courses .gh-grid { margin: 0; }
.rh-courses .gh-card__title { color: #254e71; }
.rh-courses .gh-card__img { aspect-ratio: 16 / 8; }

/* About the region */
.rh-about.rg-guide { margin-top: 0; }
.rh-about > .region-region:first-child .article-heading { margin-top: 0; }
.rh-readmore { margin-top: 4px; }

/* Sidebar: navy headings, as the main column */
.rh-side .rightnav:first-child { margin-top: 0; }
.rh-side .rightnav h3 { color: #254e71; }

/* Links on the hub: the same navy on hover, underlined (wine is kept for Premium) */
.rh-wrap .side-list a:hover, .rh-wrap .rh-head a:hover, .rh-wrap .rh-card__note a:hover,
.rh-wrap .mclb__foot a:hover { color: #254e71; text-decoration: underline; }
.rh-wrap .cs-list a:hover { color: #254e71; text-decoration: none; }
.rh-wrap .cs-list a:hover > span:first-child { text-decoration: underline; text-underline-offset: 2px; }
.rh-wrap .cs-list__sub { display: inline-block; width: 100%; }   /* keeps the "Next:" line from underlining with the name */

/* Links in the region guide: underline on hover, like every other text link */
.rh-about a:hover { color: #254e71; text-decoration: underline; text-underline-offset: 2px; }

/* Narrower screens */
@media (max-width: 1100px) {
  .rh-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rh-board__cols { grid-template-columns: 1fr; gap: 18px; }
  .rh-review { padding: 16px 0 0; border-left: 0; border-top: 1px solid #edf1f5; }
  .rh-cards { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .rh-top { grid-template-columns: 1fr; }
  .rh-glance { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .rh-cols { grid-template-columns: 1fr; }
  .rh-list:not(.is-open) > li:nth-child(n+6) { display: none; }
  .rh-more { display: block; }
}
@media (max-width: 640px) {
  main.ge-col.rh-wrap { padding: 14px 12px 0; }
  .rh-head { flex-wrap: wrap; row-gap: 6px; }
  .rh-head h2 { font-size: 16.5px; }
  .rh-head a { margin-left: auto; font-size: 13px; }
  .rh-board .mclb__tab { padding-left: 4px; padding-right: 4px; font-size: 13px; white-space: nowrap; }
  .rh-row { grid-template-columns: 1fr; gap: 14px; }
  .rh-board__cols { grid-template-columns: 1fr; gap: 18px; }
  .rh-review { padding: 16px 0 0; border-left: 0; border-top: 1px solid #edf1f5; }
  .rh-top, .rh-glance, .rh-row { margin-bottom: 14px; }
  .rh-main, .rh-cols { gap: 14px; }
  .rh-card { padding: 16px 14px; }
  .rh-hero.ge-hero { padding: 20px 16px; }
  .rh-hero h1 { font-size: 1.5em; }
  .rh-glance li { padding: 12px 12px; }
  .rh-glance__v { font-size: 20px; font-size: min(20px, 15cqi); }
  .rh-glance__v.rh-glance__v--m { font-size: 17px; font-size: min(17px, 12.5cqi); }
  .rh-glance__v.rh-glance__v--s { font-size: 15px; font-size: min(15px, 10.5cqi); }
}

/* Sidebar: the same 28px between boxes as the main column */
.rh-side { display: flex; flex-direction: column; gap: 28px; }
.rh-side > .rightnav, .rh-side > .rightnavimage, .rh-side > .mpu, .rh-side > div { margin-top: 0; margin-bottom: 0; }

/* Phones: one column, with the most useful cards first. The row and column wrappers step aside
   (display: contents) so every card can be placed in its own order. */
@media (max-width: 900px) {
  .rh-flow { display: flex; flex-direction: column; gap: 14px; }
  .rh-flow .rh-row, .rh-flow .rh-cols, .rh-flow .rh-main { display: contents; }
  .rh-flow .rh-top, .rh-flow .rh-glance { margin: 0; }
  .rh-flow .rh-top      { order: 1; }
  .rh-flow .rh-county   { order: 2; }
  .rh-flow .rh-coming   { order: 3; }
  .rh-flow .rh-featured { order: 4; }
  .rh-flow .rh-types    { order: 5; }
  .rh-flow .rh-tripcard { order: 6; }
  .rh-flow .rh-ad1      { order: 7; }
  .rh-flow .rh-board    { order: 8; }
  .rh-flow .rh-glance   { order: 9; }
  .rh-flow .rh-courses  { order: 10; }
  .rh-flow .rh-season, .rh-flow .rh-sponsor { order: 11; }
  .rh-flow .rh-ad2      { order: 12; }
  .rh-flow .rh-about    { order: 13; }
  .rh-flow .rh-ad3      { order: 14; }
  .rh-flow .rh-side     { order: 15; }
}

/* All regions (/region/regions.htm): the regions as a grid of cards */
.ri-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; align-items: stretch; margin: 0 0 28px; }   /* cards in a row share one height */
.ri-card .rh-head h2 a { color: #254e71; text-decoration: none; }
.ri-card .rh-head h2 a:hover { text-decoration: underline; }
.ri-card__meta { margin: -4px 0 6px; font-size: 13.5px; color: #5b6b7a; }
.ri-card__meta strong { color: #1f2937; }
.rh-wrap > .ge-sp-slot { margin: 0 0 20px; }
@media (max-width: 1100px) { .ri-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px)  { .ri-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
@media (max-width: 560px)  { .ri-grid { grid-template-columns: 1fr; } }

/* Sidebar: golf weeks in the region (Golf Weeks orange) */
.rh-weeks h3 i { color: var(--gef-weeks, #c2410c); }
.rh-weeks__intro { margin: 0 0 6px; font-size: 13.5px; line-height: 1.45; color: #5b6b7a; }
.rh-weeks .cs-list__n.rh-weeks__days { width: auto; min-width: 30px; padding: 0 7px; border-radius: 999px; background: #fdeee6; color: var(--gef-weeks, #c2410c); font-weight: 700; }

/* Sidebar: opens by date (mini calendar, /js/ge-mini-cal.js). Shading = how busy the day is */
.ge-mcal__bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 2px 0 8px; }
.ge-mcal__title { flex: 1; text-align: center; font-size: 15px; font-weight: 700; color: #254e71; }
.ge-mcal__nav { width: 32px; height: 32px; border: 1px solid #dfe5eb; border-radius: 6px; background: #fff; color: #254e71; font-size: 20px; line-height: 1; cursor: pointer; }
.ge-mcal__nav:hover:not(:disabled) { border-color: #254e71; background: #f4f6f9; }
.ge-mcal__nav:disabled { opacity: .35; cursor: default; }
.ge-mcal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; min-height: 242px; align-content: start; }
.ge-mcal__dow { padding: 2px 0 4px; text-align: center; font-size: 11px; font-weight: 700; color: #5b6b7a; }
.ge-mcal__cell { display: flex; align-items: center; justify-content: center; height: 34px; border-radius: 6px; background: #f4f6f9; font-size: 13.5px; font-weight: 600; color: #1f2937; text-decoration: none; }
.ge-mcal__cell.is-blank { background: transparent; }
.ge-mcal__cell.is-past, .ge-mcal__cell.is-none { color: #a3adb8; font-weight: 400; }
.ge-mcal__cell.is-past { background: transparent; }
.ge-mcal__cell.is-today { box-shadow: inset 0 0 0 2px #FECE20; }
a.ge-mcal__cell.is-l1, .ge-mcal__sw.is-l1 { background: #dbe6f0; color: #1f3f5c; }
a.ge-mcal__cell.is-l2, .ge-mcal__sw.is-l2 { background: #8fb0cc; color: #fff; }
a.ge-mcal__cell.is-l3, .ge-mcal__sw.is-l3 { background: #254e71; color: #fff; }
a.ge-mcal__cell:hover { outline: 2px solid #254e71; outline-offset: 1px; text-decoration: none; }
.ge-mcal__key { display: flex; align-items: center; gap: 3px; margin: 10px 0 0; font-size: 12.5px; color: #5b6b7a; }
.ge-mcal__sw { display: inline-block; width: 12px; height: 12px; border-radius: 3px; }
.ge-mcal__sw.is-l3 { margin-right: 5px; }
.ge-mcal__prem { display: inline-block; margin-left: 4px; padding: 2px 7px; border-radius: 6px; background: #f6e6ec; color: #a3003f; font-size: 10px; font-weight: 700; letter-spacing: .06em; vertical-align: 1px; }
.ge-mcal__foot a:hover .ge-mcal__prem { text-decoration: none; }

/* ==========================================================================
   /club/ county pages on the hub layout (club-hub-page.php; pilot: Nottinghamshire)
   Uses the region hub's hero, columns and cards above; these are the county-only parts.
   ========================================================================== */

/* Hero: event-type links under the Search button (phones use the top bar's) */
.ch-types { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .16); }
.ch-types__label { flex-basis: 100%; margin-bottom: 2px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.ch-types a { padding: 5px 11px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; font-size: 13.5px; font-weight: 600; color: #fff !important; text-decoration: none !important; }
.ch-types a:hover { background: #fff; border-color: #fff; color: #254e71 !important; }

/* Hero stat tiles (desktop and tablet); they replace the one-line count, which phones keep */
.ch-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 20px 0 0 !important; padding: 0 !important; list-style: none; }
.ch-stats li { display: flex; flex-direction: column; gap: 2px; min-width: 0; margin: 0 !important; padding: 10px 12px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); border-radius: 10px; }
.ch-stats__k { font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: rgba(255, 255, 255, .7); white-space: nowrap; }
.ch-stats__v { font-size: 21px; font-weight: 700; line-height: 1.2; color: #FECE20; white-space: nowrap; }
.ch-stats__v small { margin-left: 3px; font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, .75); }
.ch-wrap .rh-hero .ge-hero__stats { display: none; }
.ch-wrap .rh-hero .rh-hero__btns { order: 5; }
.ch-wrap .rh-hero .ch-stats { order: 4; }
.ch-wrap .rh-hero .ch-types { order: 6; }

/* The Featured Club beside the hero */
.ch-feat { display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: #fff; border: 1px solid #e9edf0; border-radius: 12px; }
.ch-feat__img { position: relative; display: block; aspect-ratio: 708 / 349; background: #e9edf0; }
.ch-feat__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ch-feat__avail { position: absolute; left: 12px; bottom: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(15, 31, 46, .78); color: #fff; font-size: 12.5px; font-weight: 700; }
.ch-feat__body { display: flex; flex-direction: column; gap: 6px; padding: 14px 18px 16px; }
.ch-feat__kicker { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #8a6d00; }
.ch-feat__kicker i { color: #FECE20; text-shadow: 0 0 1px #8a6d00; }
.ch-feat__name { margin: 0; font-size: 18px; line-height: 1.25; }
.ch-feat__name a { color: #254e71; text-decoration: none; }
.ch-feat__name a:hover { text-decoration: underline; }
.ch-feat__text, .ch-feat__text p { margin: 0; font-size: 14px; line-height: 1.5; color: #374151; }
.ch-feat__text { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ch-feat__cta { align-self: flex-start; margin-top: 4px; font-size: 14px; font-weight: 700; color: #254e71; text-decoration: none; }
.ch-feat__cta:hover { text-decoration: underline; }
/* The Featured Club place still for sale: muted, dashed, like an empty Spotlight */
.ch-feat--free { background: #f6f8fb; border: 1.5px dashed #b8c4d0; }
.ch-feat--free .ch-feat__img img { filter: grayscale(1); opacity: .55; }
.ch-feat--free .ch-feat__kicker { color: #5b6b7a; }
.ch-feat--free .ch-feat__kicker i { color: #b8c4d0; text-shadow: none; }
.ch-feat--free .ch-feat__name a, .ch-feat--free .ch-feat__cta { color: #5b6b7a; }
.ch-feat--free .ch-feat__text, .ch-feat--free .ch-feat__text p { color: #6b7280; }
.ch-feat--legacy { padding: 14px; }
.ch-feat--legacy img { max-width: 100%; height: auto; }

/* The two Spotlight clubs: a row under the hero, text cut at three lines */
.ch-spots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 0 0 20px; }
.ch-spot { display: flex; gap: 16px; align-items: stretch; min-width: 0; padding: 16px; background: #fff; border: 1px solid #e9edf0; border-radius: 12px; }
.ch-spot__img { flex: 0 0 200px; display: block; min-height: 150px; border-radius: 8px; overflow: hidden; background: #e9edf0; }
.ch-spot__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ch-spot__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 2px 0; }
.ch-spot__kicker { margin: 0; font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #5b6b7a; }
.ch-spot__name { margin: 0; font-size: 17px; line-height: 1.25; }
.ch-spot__name a { color: #254e71; text-decoration: none; }
.ch-spot__name a:hover { text-decoration: underline; }
.ch-spot__text, .ch-spot__text p { margin: 0; font-size: 14px; line-height: 1.5; color: #374151; }
.ch-spot__text { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ch-spot__cta { margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 700; color: #254e71; text-decoration: none; }
.ch-spot__cta:hover { text-decoration: underline; }
/* A place still for sale: muted, dashed */
.ch-spot--free { background: #f6f8fb; border: 1.5px dashed #b8c4d0; }
.ch-spot--free .ch-spot__img img { filter: grayscale(1); opacity: .55; }
.ch-spot--free .ch-spot__name a, .ch-spot--free .ch-spot__cta { color: #5b6b7a; }
.ch-spot--free .ch-spot__text, .ch-spot--free .ch-spot__text p { color: #6b7280; }

/* ---- The listing: one white card per club, its heading stays in view while you scroll its opens ---- */
.ch-wrap .ch-list { margin: 0 0 20px; padding: 0; background: none; border: 0; box-shadow: none; }
.ch-wrap .ch-list .event-feed { margin: 0; padding: 0; background: none; border: 0; border-radius: 0; gap: 0; }
.ch-wrap .ch-list .gec-bar { margin: 4px 0 18px; background: #fff; }
.ch-wrap .ch-list > .ge-pred-scope > .event-feed, .ch-wrap .ch-list > .event-feed { margin: 0 0 16px; }
.ch-wrap .gc-section { margin: 0 0 16px; background: #fff; border: 1px solid #e9edf0; border-radius: 12px; }
.ch-wrap .gc-section:first-of-type { margin-top: 0; }
.ch-wrap .gc-section__header { position: sticky; top: var(--ch-top, 116px); z-index: 4; align-items: center; margin: 0; padding: 12px 18px; background: #fff; border-bottom: 1px solid #e9edf0; border-radius: 12px 12px 0 0; }
.ch-wrap .gc-section__header { gap: 24px; }
.ch-wrap .gc-section__heading-wrap { align-items: center; gap: 12px; }
.ch-wrap .gc-club-thumb { width: 56px; height: 56px; border-radius: 8px; }
.ch-wrap .gc-section__header h2 { font-size: 18px; }
.ch-wrap .recommended-tagline { margin-top: 2px; font-size: 13.5px; }
.ch-wrap .gc-section__cta { display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; font-size: 13.5px; font-weight: 600; color: #5b6b7a; text-decoration: none; white-space: nowrap; }
.ch-wrap .gc-section__cta:hover { color: #254e71; text-decoration: underline; }
.ch-wrap .gc-section__cta i { font-size: 11px; }
.ch-wrap .gc-section__chevron { display: none; }
/* Paid clubs: a gold edge (Featured) or a light navy one (Spotlight) down the whole card */
.ch-wrap .gc-section--featured { border-left: 4px solid #FECE20; }
.ch-wrap .gc-section--spotlight { border-left: 4px solid #b0cde5; }
/* Opens inside a club: flat rows with a line between them, not cards in a box */
.ch-wrap .gc-section .event-feed { padding: 4px 8px 8px; border: 0; }   /* the club card is the white card */
.ch-wrap .gc-section .gec-row > a { border: 0; border-radius: 8px; padding: 8px 10px; gap: 12px; }
.ch-wrap .gc-section .gec-row > a:hover { background: #f6f8fb; }
.ch-wrap .gc-section .gec-row--tier > a { border-left: 0; padding-left: 10px; }
/* Prompts and ads between clubs keep their own look */
.ch-wrap .ch-list .ef-insert { margin: 0; }

@media (max-width: 900px) {
  .ch-spots { gap: 12px; margin-bottom: 14px; }
  .ch-spot__img { flex-basis: 160px; min-height: 120px; }
}
@media (max-width: 640px) {
  .ch-types { display: none; }
  .ch-spots { grid-template-columns: 1fr; }
  .ch-spot { gap: 12px; padding: 12px; }
  .ch-spot__img { flex-basis: 110px; min-height: 96px; }
  .ch-spot__name { font-size: 16px; }
  .ch-spot__text, .ch-spot__text p { font-size: 13.5px; }
  .ch-feat__body { padding: 12px 14px 14px; }
  .ch-wrap .gc-section__header { padding: 10px 12px; }
  .ch-wrap .gc-club-thumb { width: 44px; height: 44px; }
  .ch-wrap .gc-section__heading-wrap { flex-direction: row; align-items: center; }
  .ch-wrap .gc-section__header h2 { font-size: 16.5px; }
  .ch-wrap .gc-section__cta { display: none; }
  .ch-wrap .recommended-tagline { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; line-height: 1.4; }
  .ch-stats { display: none; }
  .ch-wrap .rh-hero .ge-hero__stats { display: block; }
  .ch-wrap .gc-section .event-feed { padding: 2px 4px 6px; }
}

/* Sidebar leaderboard: three tabs on one line ("Most wanted" was wrapping) */
.rh-side .mclb__tab { flex: 1 1 0; padding-left: 4px; padding-right: 4px; font-size: 13.5px; white-space: nowrap; }

/* ==========================================================================
   /county/ event-type pages on the hub layout (county-hub-page.php; pilot: Lancashire)
   Uses the /club/ hero, tiles and type links above; these are the event-type-only parts.
   ========================================================================== */

/* Hero: the one-line count stays (no tiles here); the page prints its own Premium-aware button */
.cy-wrap .rh-hero .ge-hero__stats { display: block; }
.cy-wrap .rh-hero .rh-hero__btns { display: none; }
.cy-wrap .rh-hero .cy-hero-btns { margin: 16px 0 0 !important; }
.cy-prem { margin-left: 4px; padding: 1px 6px; border-radius: 4px; background: #A3003F; color: #fff; font-size: 11px; font-weight: 700; }

/* The sponsor banner beside the hero: always its own 708 x 349 shape (set in area-banner.php), centred in the space */
.cy-banner { align-self: center; min-width: 0; overflow: hidden; border-radius: 12px; }
.cy-banner #sectionimage { margin: 0; }
.cy-banner a { display: block; }
.cy-banner img { display: block; width: 100%; height: auto; aspect-ratio: 708 / 349; }
/* No banner: the Featured Club's photo, the same shape, with a small caption (or the muted place for sale) */
.cy-banner--club, .cy-banner--free { position: relative; margin: 0; }
.cy-banner--club img, .cy-banner--free img { object-fit: cover; }
.cy-banner__cap { position: absolute; left: 12px; bottom: 12px; padding: 5px 11px; border-radius: 999px; background: rgba(15, 31, 46, .8); color: #fff; font-size: 13px; font-weight: 700; }
.cy-banner__cap i { color: #FECE20; }
.cy-banner--free img { filter: grayscale(1); opacity: .55; }
.cy-banner--free { background: #f6f8fb; border: 1.5px dashed #b8c4d0; }

/* The top-slim billboard: on a white card on desktop once a real ad has filled it (the page's script adds
   .is-filled); nothing round it when the crown takes over, or on phones. The old grey line under it goes. */
.cy-topad { margin: 0 0 20px; }
.cy-topad .billboard { min-height: 0; padding: 0; border-bottom: 0; }
.cy-topad #snack-top-slim { margin: 0 auto; }
@media (min-width: 641px) {
  .cy-topad.is-filled { padding: 10px 16px 14px; background: #fff; border: 1px solid #e9edf0; border-radius: 12px; }
}

/* The email alert strip, with a slim tool card beside it (Partner Finder or Trip Builder) */
.cy-alert { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; margin: 0 0 20px; }
.cy-alert .ge-alert { margin: 0; border-radius: 12px; }
.cy-tool { display: flex; align-items: center; gap: 14px; min-width: 0; padding: 14px 18px; background: #fff; border: 1px solid #e9edf0; border-radius: 12px; color: inherit; text-decoration: none !important; }
.cy-tool:hover { border-color: #b0cde5; }
.cy-tool__icon { flex: 0 0 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 17px; }
.cy-tool--trips .cy-tool__icon { background: var(--gef-trips-tint, #e2f3f1); color: var(--gef-trips, #0f766e); }
.cy-tool--partners .cy-tool__icon { background: var(--gef-partners-tint, #ebeafb); color: var(--gef-partners, #4338ca); }
.cy-tool__text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; font-size: 13.5px; line-height: 1.4; color: #5b6b7a; }
.cy-tool__text strong { font-size: 15px; color: #254e71; }
.cy-tool__btn { flex: 0 0 auto; padding: 8px 14px; border-radius: 8px; font-size: 14px; font-weight: 700; color: #fff; white-space: nowrap; }
.cy-tool--trips .cy-tool__btn { background: var(--gef-trips, #0f766e); }
.cy-tool--partners .cy-tool__btn { background: var(--gef-partners, #4338ca); }

/* Calendar days jump to the list: land below the sticky bars, and show which open it is */
.cy-list .gec-row[id^="d-"] { scroll-margin-top: 140px; }
.cy-list .gec-row:target > a { background: #fff7d6; }

/* In the Spotlight: the region pages' "Featured opens" cards (.rh-featured .fe-card, above), three places */
.cy-spot { margin: 0; }
.cy-spot .cy-spot__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; }
.cy-spot .fe-card__meta i.fa-tag { color: #8a97a3; }
/* The places not taken: one muted card across them; across two or three it lies on its side */
.cy-spot .cy-spot__free { background: #f6f8fb; border: 1.5px dashed #b8c4d0; }
.cy-spot .cy-spot__free:hover { border-color: #94a3b8; box-shadow: none; transform: none; }
.cy-spot .cy-spot__free .fe-card__img { filter: grayscale(1); opacity: .55; }
.cy-spot .cy-spot__free .fe-card__label { background: #94a3b8; }
.cy-spot .cy-spot__free .fe-card__label::before { content: none; }
.cy-spot .cy-spot__free .fe-card__title { color: #5b6b7a; }
.cy-spot .cy-spot__free .fe-card__cta { color: #5b6b7a; border-top-color: #e2e8f0; }
.cy-spot .cy-spot__free--2 { grid-column: span 2; }
.cy-spot .cy-spot__free--3 { grid-column: 1 / -1; }
.cy-spot .cy-spot__free--2, .cy-spot .cy-spot__free--3 { flex-direction: row; }
.cy-spot .cy-spot__free--2 .fe-card__img, .cy-spot .cy-spot__free--3 .fe-card__img { flex: 0 0 40%; width: 40%; max-width: 280px; height: auto; aspect-ratio: auto; object-fit: cover; }
.cy-wrap .rh-main { gap: 20px; }

/* The list */
.cy-list { margin: 0; }
/* The list's title and the predicted dates switch share one white panel (title on top, switch below) */
.cy-list > .rh-head { margin: 0; padding: 16px 20px 10px; background: #fff; border: 1px solid #e9edf0; border-bottom: 0; border-radius: 12px 12px 0 0; }
.cy-list > .rh-head h2 { font-size: 19px; }
.cy-list:not(:has(.ge-pred-scope > div.gec-bar)) > .rh-head { border-bottom: 1px solid #e9edf0; border-radius: 12px; margin-bottom: 16px; }
/* The panel's lower half is the switch, which keeps its own dashed outline inside the panel */
.cy-list .ge-pred-scope > div.gec-bar { position: relative; margin: 0 0 16px; padding: 10px 30px 26px 34px; background: #fff; border: 1px solid #e9edf0; border-top: 0; border-radius: 0 0 12px 12px; }
.cy-list .ge-pred-scope > div.gec-bar::before { content: ""; position: absolute; inset: 0 20px 16px; border: 1.5px dashed #94a3b8; border-radius: 8px; background: #f8fafc; }
.cy-list .ge-pred-scope > div.gec-bar > * { position: relative; }
.cy-list .ge-pred-scope > p.gec-bar { margin: 0 0 16px; }

/* The ad a short list gets after it: the same white card as the other in-content ads (desktop only) */
@media (min-width: 641px) {
  .ch-wrap .incontent:has(iframe) { margin: 16px 0; padding: 10px 16px 14px; background: #fff; border: 1px solid #e9edf0; border-radius: 12px; }
}

@media (max-width: 1100px) {
  .cy-alert { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 760px) {
  .cy-spot .cy-spot__grid { grid-template-columns: 1fr; }
  .cy-spot .cy-spot__free--2, .cy-spot .cy-spot__free--3 { grid-column: auto; flex-direction: column; }
  .cy-spot .cy-spot__free--2 .fe-card__img, .cy-spot .cy-spot__free--3 .fe-card__img { width: 100%; max-width: none; flex: none; aspect-ratio: 708 / 349; }
}
@media (max-width: 640px) {
  .cy-alert { margin-bottom: 14px; }
  .cy-tool { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 8px 12px; padding: 12px 14px; }
  .cy-tool__btn { grid-column: 2; justify-self: start; }
}

/* ==========================================================================
   /category/ event-type hubs on the hub layout (category-hub-page.php; pilot: Seniors)
   Uses the region hero, tiles, row and featured cards, and the /county/ alert + tool pair.
   ========================================================================== */
.ct-wrap .rh-main { gap: 20px; }
.ct-wrap [id^="ch-"] { scroll-margin-top: 90px; }

/* Search Wizard beside the alert (the Search+ navy) */
.cy-tool--wizard .cy-tool__icon { background: var(--gef-search-tint, #eaf0f6); color: var(--gef-search, #254e71); }
.cy-tool--wizard .cy-tool__btn { background: var(--gef-search, #254e71); }
.ct-wrap .cy-alert .ch-alert { margin: 0; }

/* Row of three: by county · the season · other event types */
.ct-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* The county list shows the busiest 8 on every screen, then "Show all" */
.ct-wrap .rh-list:not(.is-open) > li:nth-child(n+9) { display: none; }
.ct-wrap .rh-list:not(.is-open) > li:nth-child(-n+8) { display: list-item; }
.ct-wrap .rh-more { display: block; }
.ct-row .rg-type__n { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px; box-sizing: border-box;
  border-radius: 999px; background: #dfe7f0; color: #254e71; font-size: 11px; font-weight: 700; }

/* Featured and upcoming: one card, age / handicap tabs, the opens in two columns (as the region pages' "Coming up") */
.ct-next__lead { margin: 0; font-size: 14px; line-height: 1.5; color: #5b6b7a; }
.ct-next__tag { display: inline-block; padding: 1px 6px; border-radius: 4px; background: #254e71; color: #fff; font-size: 11px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; vertical-align: 1px; }
.ct-next .ch-tabs { margin: 14px 0 14px; }
.ct-next .ch-panel__note { margin: 0 0 10px; }
.ct-next:not(:has(.ch-tabs)) .ch-panel { margin-top: 14px; }
.ct-tours .ct-next__lead { margin-bottom: 14px; }
.rh-cards .ge-next-more { grid-column: 1 / -1; margin: 6px 0 0; }

/* Under each tab: Premium members go straight to Search+ with the filter; everyone else gets the Premium offer */
.ct-more { margin: 14px 0 0; text-align: right; }
.ct-more__link { font-weight: 700; font-size: 14px; color: #254e71; text-decoration: none; }
.ct-more__link:hover { text-decoration: underline; }
.ct-prem { display: flex; align-items: center; gap: 12px; margin: 14px 0 0; padding: 12px 14px; border-radius: 10px;
  background: #fbf3f6; border: 1px solid #f0d5df; }
.ct-prem__icon { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: #a3003f; color: #fece20; font-size: 15px; }
.ct-prem__text { flex: 1 1 auto; min-width: 0; font-size: 13.5px; line-height: 1.45; color: #3b4652; }
.ct-prem__text strong { display: block; font-size: 14.5px; color: #a3003f; }
.ct-prem a.ct-prem__btn { flex: 0 0 auto; padding: 9px 14px; border-radius: 8px; background: #a3003f; color: #fece20; font-size: 13px; font-weight: 700;
  text-decoration: none; white-space: nowrap; }
.ct-prem a.ct-prem__btn:hover, .ct-prem a.ct-prem__btn:focus { background: #8a0035; color: #fece20; text-decoration: none; }
@media (max-width: 640px) {
  .ct-prem { flex-wrap: wrap; }
  .ct-prem__text { flex-basis: calc(100% - 46px); }
  .ct-prem a.ct-prem__btn { flex: 1 1 100%; text-align: center; }
  .ct-more { text-align: left; }
}

/* Questions and related links in their cards. The open-question sign is written as an escape, so it shows
   right whatever character set the stylesheet is read in (a typed dash came out as "â€“") */
.ch-faq details[open] summary::after { content: "\2013"; }
.ct-faq details:last-child { margin-bottom: 0; }
.ct-about p:last-child { margin-bottom: 0; }

@media (max-width: 1100px) {
  .ct-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ct-row > .rh-types:nth-child(3) { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .ct-row { grid-template-columns: 1fr; }
  .ct-row > .rh-types:nth-child(3) { grid-column: auto; }
}
/* Smaller pills in the row's types card, and a taller season chart, so the three cards sit closer in height */
.ct-row .rg-types { gap: 6px; }
.ct-row .rg-type { font-size: 14px; padding: 6px 8px 6px 11px; }
.ct-row .rh-season .ch-months-wrap { height: 170px; }

/* Scratch: TaylorMade's TP5 panel in the banner place beside the title (ge-sponsor.js fills [data-sp-anchor]) */
.ct-tp5 > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ct-tp5.is-filled { background: none; box-shadow: none; overflow: visible; align-self: stretch; }
.ct-tp5.is-filled img { aspect-ratio: auto; height: auto; }   /* not the banner's 708 x 349 shape */
.ct-tp5 .ge-sp-tp5f { margin: 0; height: 100%; display: flex; flex-direction: column; }
.ct-tp5 .ge-sp-tp5f .ge-sp-label { margin: 0 0 4px; }
.ct-tp5 .ge-sp-tp5f__box { flex: 1 1 auto; padding: 18px 20px; align-items: flex-start; }
.ct-tp5 .ge-sp-tp5f__body { padding-right: 120px; }
.ct-tp5 .ge-sp-tp5f__ball { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 120px; }
.ct-tp5 .ge-sp-tp5f__logo { width: 120px; margin-bottom: 8px; }
.ct-tp5 .ge-sp-tp5f__h { font-size: 19px !important; line-height: 1.25; }
.ct-tp5 .ge-sp-tp5f__text, .ct-tp5 .ge-sp-tp5f__pts li { font-size: 13.5px; }
.ct-tp5 .ge-sp-tp5f__pts { margin-bottom: 12px !important; }
@media (max-width: 760px) {
  .ct-tp5 .ge-sp-tp5f__body { padding-right: 0; }
  .ct-tp5 .ge-sp-tp5f__ball { top: 26px; transform: none; width: 96px; }
}

/* Scratch: "All" on the left, then one labelled row per group (handicap limit, holes), the labels in a column */
.ch-tabs--grouped { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; align-items: start; }
.ch-tabs__groups { display: grid; gap: 8px; }
.ch-tabs__group { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ch-tabs__label { flex: 0 0 112px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #6b7a89; }
@media (max-width: 640px) {
  .ch-tabs--grouped { grid-template-columns: 1fr; }
  .ch-tabs--grouped > .ch-tab { justify-self: start; }
  .ch-tabs__label { flex-basis: 100%; }
}

/* ==========================================================================
   /category/ index (category.htm), Winter and Overseas
   ========================================================================== */
.ci-wrap .rh-main, .ov-wrap .rh-main { gap: 20px; }
.ci-card { margin: 0 0 20px; }
.ci-card__n { margin-left: 8px; font-size: 13px; font-weight: 600; color: #6b7280; }
.ci-card .ci-tiles { margin: 4px 0 0; }
.ci-card .rh-card__note { margin-top: 14px; }

/* A list's heading with a line (and on Overseas the countries) under it, all on one white panel (Winter, Overseas) */
.ct-list__head { margin: 0 0 16px; padding: 16px 20px; background: #fff; border: 1px solid #e9edf0; border-radius: 12px; }
.ct-list__head .rh-head { margin: 0; }
.ct-list__note { margin: 10px 0 0; font-size: 14px; line-height: 1.5; color: #5b6b7a; }
.ct-list__head .ct-countries { margin: 14px 0 0; }

/* Hero: a second, outlined button */
.ge-hero a.rh-btn--ghost { background: transparent; color: #fff !important; border: 1px solid rgba(255, 255, 255, .55); }
.ge-hero a.rh-btn--ghost:hover { background: rgba(255, 255, 255, .1); }

/* Overseas: the featured multi-day events in one card, up front */
.ov-feat { margin: 0 0 20px; }
.ov-feat .ov-featured { margin: 0; }
.ov-feat .ov-head { display: flex; align-items: baseline; justify-content: space-between; gap: 6px 14px; flex-wrap: wrap;
  margin: 0 0 14px; padding-bottom: 8px; border-bottom: 2px solid #254e71; }
.ov-feat .ov-head__title { margin: 0; font-size: 20px; color: #254e71; }
.ov-feat .md-cta-strip { margin: 16px 0 0; }
.ov-tours-side .md-side__title { margin: 0 0 8px; font-size: 17px; font-weight: 700; color: #254e71; }

/* Index tiles: lighter descriptions; the next date as a small calendar icon */
.ci-wrap .ci-tile__desc { font-size: 13px; font-weight: 400; color: #6b7a89; }
.ci-wrap .ci-tile__facts { align-items: center; }
.ci-next { display: flex; align-items: center; gap: 9px; margin-top: auto; padding-top: 8px; border-top: 1px solid #e3e9ef; min-width: 0; }
.ci-tile__facts + .ci-next { margin-top: 6px; }
.ci-next__t { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.ci-next__l { font-size: 12px; color: #6b7a88; }
.ci-next__club { font-size: 13px; font-weight: 600; color: #33485c; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ci-cal { display: inline-flex; flex-direction: column; align-items: center; width: 30px; overflow: hidden; border: 1px solid #d5dde5; border-radius: 5px;
  background: #fff; line-height: 1; }
.ci-cal__m { display: block; width: 100%; padding: 2px 0; background: #b91c1c; color: #fff; font-size: 8.5px; font-weight: 700; text-align: center; text-transform: uppercase; letter-spacing: .04em; }
.ci-cal__d { display: block; padding: 2px 0 3px; font-size: 13px; font-weight: 800; color: #1f2937; }

/* Course types: a club photo on top of the tile */
.ci-tile--pic { padding-top: 0; overflow: hidden; }
.ci-tile__pic { position: relative; display: block; margin: 0 -14px 8px; aspect-ratio: 16 / 8; overflow: hidden; background: #e9edf0; }
.ci-tile__pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ci-tile__club { position: absolute; left: 8px; bottom: 8px; max-width: calc(100% - 16px); padding: 3px 8px; border-radius: 999px; background: rgba(15, 31, 46, .78);
  color: #fff; font-size: 11px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Overseas: tours with overseas events in two columns */
.ov-tours-card .md-more__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; margin: 0; padding: 0; list-style: none; }
.ov-tours-card .md-side__all { display: none; }   /* (the card's heading has "All amateur tours") */
@media (max-width: 640px) { .ov-tours-card .md-more__list { grid-template-columns: 1fr; } }

/* Phones: a long place name wraps inside the search button instead of pushing the page sideways */
@media (max-width: 600px) {
  .ge-hero a.rh-btn, .ge-hero a.rh-btn:hover { white-space: normal; max-width: 100%; }
}

/* ==========================================================================
   Top 100 and Links Golf on the hub layout (collection-page.php, Nov 2026)
   Uses the region hero, the /club/ figures and club cards, and the /county/ list panel above;
   these are the collection-only parts.
   ========================================================================== */
.col-wrap .rh-main { gap: 20px; }
.col-wrap [id^="col-"] { scroll-margin-top: 120px; }

/* Country cards across the page (landing pages) */
.col-countries { margin: 0 0 20px; }
.col-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
.col-cards .gh-card__title { color: #254e71; }
.col-cards .gh-card__img { aspect-ratio: 16 / 8; }
.col-more .gh-grid { margin: 0; }

/* The opens: the next 10 (with the Premium box) and the full list share one anchor */
.col-opens { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.col-preview .ge-feature-locked { margin: 16px 0 0; }
.col-list { margin: 0; }
.col-list .ef-empty { padding: 16px 18px; background: #fff; border: 1px solid #e9edf0; border-radius: 12px; }

/* Every UK venue (Open, Ryder Cup, Royal): three columns of names */
.col-venues__list { columns: 3; column-gap: 24px; margin: 0; padding: 0; list-style: none; }
.col-venues__list li { break-inside: avoid; padding: 5px 0; font-size: 14.5px; line-height: 1.4; color: #33485c; border-bottom: 1px solid #edf1f5; }

/* About these courses */
.col-about p { margin: 0 0 10px; font-size: 15px; line-height: 1.6; color: #33485c; }
.col-about p:last-child, .col-about .ge-readmore__body > :last-child { margin-bottom: 0; }
.col-about .magazinelist { margin: 4px 0 12px; padding: 0; list-style: none; }
.col-about .magazinelist li { padding: 3px 0; font-size: 14.5px; }
.col-about a:hover { color: #254e71; text-decoration: underline; }

/* The A to Z inside its card: its country headings are plain headings, not the club list's sticky bars */
.col-index .gix-tools { margin-top: 0; }
.col-index .gix-sec:first-of-type { margin-top: 10px; }
.col-wrap .col-index .gc-section__header { position: static; display: block; margin: 0 0 4px; padding: 0 0 8px; background: none;
  border: 0; border-bottom: 2px solid #254e71; border-radius: 0; }
.col-wrap .col-index .gc-section__header h2 { font-size: 18px; }

@media (max-width: 1100px) {
  .col-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .col-venues__list { columns: 2; }
}
@media (max-width: 640px) {
  .col-countries { margin-bottom: 14px; }
  .col-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .col-cards .gh-card__body { padding: 10px 10px 12px; }
  .col-cards .gh-card__title { font-size: 15px; }
  .col-cards .gh-card__meta { font-size: 13px; }
  .col-wrap .rh-main, .col-opens { gap: 14px; }
  .col-venues__list { columns: 1; }
}

/* Members' favourite courses with no review beside it: the leaderboard takes the card's full width */
.rh-board__cols--solo { grid-template-columns: 1fr; }

/* Phones: the two hero buttons share one row */
@media (max-width: 640px) {
  .col-wrap .rh-hero__btns { flex-wrap: nowrap; gap: 8px; margin-top: 16px !important; }
  .col-wrap .ge-hero a.rh-btn { flex: 1 1 0; justify-content: center; min-width: 0; padding: 11px 10px; font-size: 14.5px; text-align: center; }
}

/* Course Index: a club where they've played one listed course but not all of them (St Andrews: the Old, not the Eden) */
.gix-club--part { border-color: #e7d9a6; background: #fffdf4; }
.gix-club--part .gix-club__mark::before { content: "\25D0"; color: #B8860B; }
.gix-club__todo { display: block; margin-top: 4px; font-size: 12px; font-weight: 600; line-height: 1.35; color: #8a6d00; }
