/* Clubs & Courses pages (clubs.html, club-*.html). Scoped with the cl- prefix so nothing else on the site is affected. */
.cl-hero { background: linear-gradient(135deg, #1a3a1a 0%, #2d5a27 60%, #3a7a32 100%); padding: 120px 16px 40px; text-align: center; color: #fff; }
.cl-hero h1 { font-size: 2.4rem; font-weight: 700; margin: 0 0 10px; letter-spacing: 1px; color: #fff; }
.cl-hero p { font-size: 1.05rem; opacity: .85; margin: 0 auto; max-width: 60ch; }

.cl-wrap { max-width: 1100px; margin: 0 auto; padding: 32px 20px 56px; color: #1d2433; }
.cl-detail-top { padding-top: 110px; }
.cl-wrap h1, .cl-wrap h2, .cl-wrap h3 { color: #18254F; line-height: 1.2; margin: 0 0 .5rem; }
.cl-wrap p { margin: 0 0 1rem; line-height: 1.6; }
.cl-meta { color: #5b6475; font-size: .9rem; margin: 0 0 .5rem; }
.cl-link { color: #2d5a27; font-weight: 600; }
.cl-h2 { margin-top: 2.5rem !important; }

/* Buttons */
.cl-btn { display: inline-block; padding: .6rem 1.3rem; border-radius: 999px; border: 2px solid #2d5a27; font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer; text-align: center; }
.cl-btn.primary { background: #2d5a27; color: #fff; }
.cl-btn.primary:hover { background: #1a3a1a; border-color: #1a3a1a; }
.cl-btn.ghost { background: transparent; color: #18254F; border-color: #18254F; }
.cl-btn.ghost:hover { background: #18254F; color: #fff; }
.cl-btn.off { background: transparent; color: #6b7280; border: 2px dashed #b9bec8; cursor: not-allowed; }
.cl-btn.small { padding: .3rem .9rem; font-size: .875rem; }
.cl-btn.block { display: block; margin-top: 1.25rem; }
.cl-btns { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1rem; }

/* Filters */
.cl-filters { display: flex; flex-wrap: wrap; gap: 1rem; align-items: end; }
.cl-filters label { display: block; font-size: .875rem; font-weight: 600; margin-bottom: .25rem; }
.cl-filters select, .cl-filters input[type="search"] { font: inherit; padding: .55rem .75rem; min-width: 200px; border: 1.5px solid #b9bec8; border-radius: 8px; background: #fff; color: #1d2433; }
.cl-results { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; margin: 1.5rem 0 1rem; color: #5b6475; font-size: .9rem; }
.cl-empty { text-align: center; color: #5b6475; padding: 2rem 0; }

/* Directory cards */
.cl-listing { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.cl-card { border: 1.5px solid #dfe3ea; border-radius: 14px; background: #fff; overflow: hidden; box-shadow: 0 2px 10px rgba(0, 0, 0, .06); display: flex; flex-direction: column; }
.cl-card-img { width: 100%; height: 190px; object-fit: cover; display: block; }
.cl-card-body { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; }
.cl-card-body .cl-btns { margin-top: auto; padding-top: 1rem; }
.cl-badge { display: inline-block; border: 1.5px solid #18254F; border-radius: 999px; padding: 0 .65rem; font-size: .8rem; font-weight: 600; margin: 0 .35rem .5rem 0; color: #18254F; }
.cl-badge.soft { border-color: #b9bec8; color: #5b6475; font-weight: 500; }
.cl-facts { list-style: none; margin: 0 0 1rem; padding: 0; font-size: .95rem; }
.cl-facts li { padding: .15rem 0; }
.cl-card.plain { padding: 1.25rem; overflow: visible; display: block; }

.cl-cta { margin-top: 3rem; display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; border: 1.5px solid #dfe3ea; border-radius: 14px; padding: 1.5rem; background: #f6f8f6; }
.cl-cta h2 { margin: 0 0 .25rem; }
.cl-cta p { margin: 0; }

/* Detail page */
.cl-crumbs { font-size: .9rem; color: #5b6475; margin-bottom: 1rem; }
.cl-crumbs a { color: #2d5a27; }
.cl-detail { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: 2rem; align-items: start; }
@media (max-width: 900px) { .cl-detail { grid-template-columns: minmax(0, 1fr); } .sticky { position: static; } }
.cl-main, .cl-side { min-width: 0; }
.sticky { position: sticky; top: 110px; }
.cl-gallery { position: relative; border-radius: 14px; overflow: hidden; background: #e6e8ec; }
.cl-gallery img { width: 100%; height: 380px; object-fit: cover; display: block; }
@media (max-width: 560px) { .cl-gallery img { height: 240px; } }
.gbtn { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid #b9bec8; background: #fff; color: #18254F; font-size: 1.4rem; line-height: 1; cursor: pointer; }
.gprev { left: 12px; }
.gnext { right: 12px; }
.gcount { position: absolute; left: 12px; bottom: 12px; background: #fff; border-radius: 999px; padding: 0 .65rem; font-size: .8rem; }
.cl-tabs { display: flex; flex-direction: row; justify-content: flex-start; align-items: flex-end; position: static; z-index: auto; padding: 0; gap: 1.5rem; border-bottom: 1.5px solid #dfe3ea; margin: 1.25rem 0 1.5rem; }
.cl-tabs a { font-size: 1rem; padding: .6rem .25rem; text-decoration: none; font-weight: 600; color: #5b6475; border-bottom: 3px solid transparent; margin-bottom: -1.5px; }
.cl-tabs a[aria-current="true"] { color: #18254F; border-bottom-color: #2d5a27; }
html { scroll-padding-top: 90px; }

.cl-grid.ev3 { display: grid; gap: 1.25rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 700px) { .cl-grid.ev3 { grid-template-columns: 1fr; } }
.cl-evcard { display: block; border: 1.5px solid #dfe3ea; border-radius: 14px; padding: 1.1rem; text-decoration: none; color: inherit; background: #fff; }
.cl-evcard:hover { border-color: #2d5a27; }

.cl-tablewrap { overflow-x: auto; border-radius: 10px; border: 1.5px solid #dfe3ea; }
.cl-tees { width: 100%; border-collapse: collapse; min-width: 480px; text-align: center; }
.cl-tees th { background: #18254F; color: #fff; padding: .6rem; font-size: .9rem; }
.cl-tees td { padding: .6rem; border-top: 1px solid #e6e8ec; }
.cl-cols3 { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin: 2rem 0 1rem; }
.cl-cols3 h3 { font-size: 1.05rem; }
.cl-evcard { overflow: hidden; padding: 0; }
.cl-evcard > :not(img) { margin-left: 1.1rem; margin-right: 1.1rem; }
.cl-evcard > .cl-badge { margin-top: 1rem; }
.cl-evcard > .cl-meta { margin-bottom: 1.1rem; }
.cl-evimg { width: 100%; height: 130px; object-fit: cover; display: block; }
.cl-card-imglink { display: block; }
.cl-card-title { color: inherit; text-decoration: none; }
.cl-card-title:hover { color: #2d5a27; text-decoration: underline; }
.cl-detail.single { grid-template-columns: minmax(0, 1fr); }
.cl-keyfacts { list-style: none; margin: 0 0 1.5rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 2rem; }
.cl-tabs .cl-keyfacts { margin: 0 0 .5rem auto; align-self: center; gap: .25rem 1.25rem; font-size: .95rem; }
.cl-tabs { flex-wrap: wrap; }
/* Pill chips with a tick for the facts list on directory cards */
.cl-card-body .cl-facts { display: block; }
.cl-card-body .cl-facts li { padding: .15rem 0; font-size: .95rem; line-height: 1.4; }
.cl-card-body .cl-facts li::before { content: "\2713"; margin-right: .4rem; color: #1d2433; }

/* Responsive */
@media (max-width: 640px) {
	.cl-hero { padding: 175px 16px 28px; }
	.cl-hero h1 { font-size: 1.8rem; }
	.cl-wrap { padding: 24px 16px 40px; }
	.cl-detail-top { padding-top: 175px; }
	.cl-listing { grid-template-columns: minmax(0, 1fr); }
	.cl-card-img { height: 170px; }
	.cl-tabs { gap: .75rem; }
	.cl-tabs .cl-keyfacts { margin-left: 0; width: 100%; padding-bottom: .5rem; }
	.cl-wrap h1 { font-size: 1.6rem; }
	.cl-btn { padding: .55rem 1.1rem; }
}
.mobile-menu-btn { color: #18254F; }
.cl-hero-crumbs { font-size: .9rem; margin: 0 0 .75rem !important; opacity: .85; }
.cl-hero-crumbs a { color: #fff; }
.cl-hero-slim { padding: 120px 16px 20px; text-align: left; }
.cl-hero-slim .cl-hero-crumbs { max-width: 1100px; margin: 0 auto !important; padding: 0 4px; }
@media (max-width: 640px) { .cl-hero-slim { padding: 175px 16px 16px; } }
.cl-events { margin-top: 2rem; }
.cl-side .cl-events { margin-top: 1.5rem; }
.cl-side .cl-events .cl-h2 { margin-top: 0 !important; font-size: 1.4rem; }
.cl-side .cl-grid.ev3 { grid-template-columns: minmax(0, 1fr); gap: 1rem; }

/* Events list inside the right-hand column: one card per row */
.cl-side .cl-events .cl-grid.ev3 { display: grid; grid-template-columns: minmax(0, 1fr) !important; gap: 1rem; }
.cl-side .cl-evcard { min-width: 0; }
.cl-side .cl-evcard h3 { font-size: 1.1rem; overflow-wrap: anywhere; margin-bottom: .25rem; }
.cl-side .cl-evimg { height: 150px; }
.cl-side .cl-evcard > .cl-meta { margin-bottom: 1rem; }
