/* ge-best.css  —  The best golf courses pages (/best-golf-courses/) and the "Best golf courses in <county>"
   card on the /club/ county pages (My Golf phase 6, Nov 2026). Loaded after ge-hubs.css.
   DESTINATION: /css/ge-best.css */

.cm-sec { margin: 0 0 20px; }
.cm-kicker { margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #B8860B; }
.cm-lead { margin: 0 0 12px; font-size: 15px; line-height: 1.55; color: #33485c; }
.cm-h3 { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.cm-h3 i { color: #254e71; }
.cm-tiles { margin: 0 0 20px; }

/* The ranked list */
.cm-rank { list-style: none; margin: 0; padding: 0; }
.cm-rank__row { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 12px 2px; border-bottom: 1px solid #edf1f5; }
.cm-rank__row:last-child { border-bottom: 0; }
.cm-rank__n { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: #eef2f6; color: #254e71; font-weight: 700; font-size: 14px; }
.cm-rank__row--1 .cm-rank__n { background: #FECE20; color: #1f2937; }
.cm-rank__row--2 .cm-rank__n { background: #d9dee4; color: #1f2937; }
.cm-rank__row--3 .cm-rank__n { background: #e8c7a2; color: #1f2937; }
.cm-rank__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cm-rank__name { font-size: 16px; font-weight: 700; color: #254e71; text-decoration: none; }
.cm-rank__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 13px; color: #5b6b7a; }
.cm-rank__more { font-size: 13px; color: #5b6b7a; }
.cm-rank__more:empty { display: none; }
.cm-rank__more a { color: #254e71; font-weight: 600; }
.cm-rank__score { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; text-align: right; white-space: nowrap; }
.cm-rank__score b { font-size: 18px; color: #1f2937; line-height: 1.1; }
.cm-rank__score small { font-size: 12px; color: #6b7280; }
.cm-stars { color: #B8860B; font-size: 12px; letter-spacing: 1px; }
.cm-tag { display: inline-block; padding: 1px 7px; border-radius: 6px; font-size: 11.5px; font-weight: 700; line-height: 1.6; }
.cm-tag--top { background: #fbf3df; color: #7A5806; }
.cm-tag--links { background: #e3f4f2; color: #0f5e57; }
@media (max-width: 560px) {
  .cm-rank__row { grid-template-columns: 30px minmax(0, 1fr); }
  .cm-rank__score { grid-column: 2; flex-direction: row; align-items: center; gap: 8px; justify-content: flex-start; }
  .cm-rank__score b { font-size: 15px; }
}
.cm-waiting { margin: 14px 0 0; font-size: 14px; color: #33485c; }
.cm-waiting a { color: #254e71; font-weight: 600; }

/* Rate your courses */
.cm-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 16px 0 0; padding: 14px 16px; background: #fbf3df; border: 1px solid #f2e2b5; border-radius: 10px; }
.cm-cta p { flex: 1 1 280px; margin: 0; font-size: 14.5px; line-height: 1.5; color: #33485c; }
.cm-cta__btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 0; border-radius: 8px; background: #254e71; color: #fff !important; font: inherit; font-size: 14.5px; font-weight: 700; text-decoration: none; cursor: pointer; }
.cm-cta__btn:hover { background: #1c3d59; }
.cm-cta__btn i { color: #FECE20; }

/* Short lists */
.cm-top li a, .cm-top__name { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.cm-top small { font-size: 12px; font-weight: 400; color: #6b7280; }
.cm-top__name { font-weight: 600; color: #1f2937; }
.cm-collectors { margin: 0; }

/* Every county: the same column widths in every country's table */
.cm-country { margin-top: 26px; }
.cm-country:first-of-type { margin-top: 8px; }
.cm-table-wrap { overflow-x: auto; }
.cm-table { width: 100%; min-width: 520px; border-collapse: collapse; table-layout: fixed; font-size: 14px; }
.cm-table__c1 { width: 30%; } .cm-table__c2 { width: 40%; } .cm-table__c3 { width: 30%; }
.cm-table th, .cm-table td { padding: 9px 12px 9px 0; border-bottom: 1px solid #edf1f5; text-align: left; vertical-align: middle; }
.cm-table thead th { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: #6b7280; }
.cm-table__area { font-weight: 700; color: #254e71; text-decoration: none; }
.cm-table__area i { font-size: 10px; margin-left: 2px; opacity: .6; }
.cm-table__club { font-weight: 500; color: #1f2937; text-decoration: none; }
.cm-pill { display: inline-flex; align-items: center; gap: 3px; margin-left: 4px; padding: 1px 7px; border-radius: 999px; background: #fbf3df; color: #7A5806; font-size: 12px; font-weight: 700; white-space: nowrap; }
.cm-pill i { font-size: 10px; color: #B8860B; }
.cm-table__v { margin-left: 4px; font-size: 12.5px; color: #6b7280; white-space: nowrap; }
.cm-table__none { font-size: 13px; color: #9aa5b1; }

/* Nearby areas */
.cm-areas { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.cm-areas a { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border: 1px solid #e3e8ed; border-radius: 10px; color: #254e71; font-weight: 700; text-decoration: none; }
.cm-areas small { font-size: 12.5px; font-weight: 400; color: #5b6b7a; }
.cm-side__text { margin: 0 0 8px; font-size: 14px; line-height: 1.5; color: #33485c; }

/* The card on the /club/ county pages */
.cm-card { margin: 0 0 20px; }
.cm-card__lead { margin: 0 0 4px; font-size: 14px; color: #5b6b7a; }

/* Links: navy with an underline on hover (wine is kept for Premium and upgrades) */
.cm-rank__name:hover, .cm-rank__more a:hover, .cm-waiting a:hover, .cm-top a:hover, .cm-areas a:hover,
.cm-card .rh-head a:hover, .cm-card .rh-card__note a:hover, .cm-sec .rh-head a:hover, .cm-sec .st-key a:hover,
.cm-table__area:hover, .cm-table__club:hover, .cm-strip a:hover { color: #1c3d59; text-decoration: underline; }
.cm-areas a:hover { border-color: #254e71; text-decoration: none; }

/* The strip above a /club/ county page's listing */
.cm-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 0 0 12px; padding: 10px 14px; background: #fbf3df; border: 1px solid #f2e2b5; border-radius: 10px; font-size: 14px; }
.cm-strip__label { font-weight: 700; color: #1f2937; }
.cm-strip__label i { color: #B8860B; }
.cm-strip__list { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0; padding: 0; list-style: none; }
.cm-strip__list li { display: inline-flex; align-items: center; gap: 5px; }
.cm-strip__n { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: #fff; color: #254e71; font-size: 11.5px; font-weight: 700; }
.cm-strip__list a { color: #254e71; font-weight: 600; text-decoration: none; }
.cm-strip__v { font-size: 12.5px; color: #7A5806; font-weight: 700; }
.cm-strip__more { margin-left: auto; color: #254e71; font-weight: 700; text-decoration: none; white-space: nowrap; }
@media (max-width: 560px) { .cm-strip__more { margin-left: 0; } }
#best-courses { scroll-margin-top: var(--ch-top, 120px); }
