.section-page {
  --ink: #0b2d46;
  --muted: #455a66;
  --paper: #f8f6f0;
  --gold: #dbae55;
  --line: #d8d3c5;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.5 Arial, Helvetica, sans-serif;
}
.section-page *, .section-page *::before, .section-page *::after { box-sizing: border-box; }
.section-shell { width: min(68rem, calc(100% - 3rem)); margin: auto; padding: 1.5rem 0 2.75rem; }
.section-shell ul { list-style: none; margin: 0; padding: 0; }
.section-shell a { color: inherit; text-decoration: none; }
.section-shell a:focus-visible { outline: 3px solid #18729b; outline-offset: 3px; }
.section-shell :is(h1,h2,h3,p) { margin: 0; }
.section-cover {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 12.25rem;
  color: white;
  background: var(--ink);
  border-radius: .6rem;
}
.section-cover::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 0 37%;
  background-image: linear-gradient(90deg, var(--ink), rgba(11,45,70,.32) 32%, transparent 65%), var(--cover-photo);
  background-size: cover;
  background-position: center, var(--cover-position);
}
.cover-tools { --cover-photo: url("assets/winchester/buttercross.jpg"); --cover-position: 50% 52%; }
.cover-sports { --cover-photo: url("assets/section-pages/football-pitch.webp"); --cover-position: 50% 60%; }
.cover-copy { width: 48%; padding: 1.8rem clamp(1.25rem, 4vw, 3rem); }
.cover-copy h1 { font: 400 clamp(1.85rem, 3vw, 2.4rem)/1.12 Georgia, serif; color: white; }
.cover-copy h1::before { display: block; content: ""; width: 2.65rem; height: 3px; margin-bottom: .8rem; background: var(--gold); }
.cover-copy p { margin-top: .6rem; color: #f0f3f4; max-width: 35ch; font-size: .96rem; }
.section-shell .cover-button {
  display: inline-flex; align-items: center; gap: .8rem; min-height: 2.75rem; margin-top: 1rem;
  border-radius: .3rem; background: #f2ca79; color: var(--ink); font-size: .875rem; font-weight: bold; padding: .5rem .9rem;
}
.cover-button:hover { background: #ffe1a2; }
.section-shell .tool-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.4rem; margin-top: 1.55rem; }
.tool-card, .football-feature > a {
  height: 100%; display: flex; overflow: hidden; border: 1px solid var(--line); border-radius: .6rem;
  background: white; box-shadow: 0 3px 11px rgba(13,40,50,.05);
}
.tool-card { flex-direction: column; }
.tool-card:hover, .football-feature > a:hover, .club-list li:not(.football-feature) a:hover { border-color: #a88238; }
.tool-photo { height: clamp(9.5rem, 15vw, 12.4rem); overflow: hidden; position: relative; background: #ddd8c9; }
.tool-photo img, .football-feature img { width: 100%; height: 100%; display: block; object-fit: cover; }
.dining-photo img { object-position: center 46%; }
.dining-photo { background-color: #b9a476; }
.receipt {
  position: absolute; bottom: -.42rem; right: 6%; width: 7.3rem; padding: .75rem .8rem 1.25rem; transform: rotate(5deg);
  color: #273a41; background: #fbf6e6; border-top: 3px double #9f9888; box-shadow: 0 3px 10px #0005;
  font: .75rem/1.3 'Courier New',monospace;
}
.receipt small { text-transform: uppercase; font-size: .63rem; letter-spacing: .06em; }
.receipt b { display: block; margin: .12rem 0 .3rem; font-size: 1.18rem; }
.receipt span { display: block; padding-top: .3rem; border-top: 1px dashed #9a9589; }
.receipt strong { font-size: .78rem; }
.archive-photo img { object-position: center 51%; }
.card-copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 1.25rem 1.4rem; min-width: 0; }
.card-copy h2, .card-copy h3 { font: 400 clamp(1.25rem, 2.1vw, 1.6rem)/1.2 Georgia, serif; }
.card-copy p { margin: .55rem 0 1rem; color: var(--muted); font-size: .93rem; line-height: 1.5; max-width: 51ch; }
.card-action { display: inline-flex; align-items: center; gap: .6rem; margin-top: auto; font-size: .875rem; font-weight: 700; }
.card-action i, .directory-links i { color: #805a16; font: 400 1.15rem/1 Georgia, serif; }
a:hover .card-action, .directory-links a:hover strong, .club-list a:hover .wa-choice-title { text-decoration: underline; text-underline-offset: 3px; }
.sports-columns { margin-top: 1.65rem; }
.section-shell .list-heading { font: 400 1.35rem/1.25 Georgia,serif; margin-bottom: .8rem; }
.football-feature > a { display: grid; grid-template-columns: 40% minmax(0,1fr); }
.football-feature img { min-height: 10.5rem; object-position: 66% center; }
.club-list { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,21rem),1fr)); gap: .85rem; }
@media (min-width: 37.51rem) {
  .football-feature:only-child > a { grid-template-columns: minmax(12rem,28%) 1fr; }
  .football-feature img { height: 11rem; }
}
.club-list li:not(.football-feature) a, .directory-links a {
  display: grid; grid-template-columns: minmax(0,1fr) auto; align-content: center; column-gap: .7rem;
  padding: 1rem 1.1rem; min-height: 3rem; font-size: .93rem;
}
.club-list li:not(.football-feature) a { border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: .4rem; background: #fff; }
.wa-choice-title, .directory-links strong { font-weight: 700; overflow-wrap: anywhere; }
.wa-choice-detail, .directory-links a > span { grid-column: 1; color: var(--muted); font-size: .84rem; margin-top: .2rem; }
.wa-choice-arrow, .directory-links i { grid-area: 1 / 2 / 3 / 3; align-self: center; }
.wa-choice-arrow { color: #805a16; }
#club-list-status:not(:empty) { margin-top: .75rem; color: var(--muted); font-size: .875rem; }
.section-shell .directory-links { border-block: 1px solid var(--line); }
.directory-links a { padding-inline: .15rem; }
.directory-links li + li { border-top: 1px solid var(--line); }
@media (max-width: 48rem) {
  .section-shell { width: min(100% - 2rem, 68rem); }
  .cover-copy { width: 59%; padding: 1.5rem; }
  .section-cover::before { left: 36%; }
}
@media (max-width: 37.5rem) {
  .section-shell { padding-block: 1rem 1.75rem; }
  .section-cover { min-height: 11rem; }
  .section-cover::before {
    inset: 0;
    background-image: linear-gradient(90deg, rgba(7,32,50,.97), rgba(7,32,50,.86) 52%, rgba(7,32,50,.36)), var(--cover-photo);
  }
  .cover-copy { padding: 1.35rem 1.1rem; width: 87%; max-width: 25rem; }
  .section-shell .tool-pair { grid-template-columns: 1fr; gap: 1rem; margin-top: 1rem; }
  .tool-photo { height: 9.5rem; }
  .card-copy { padding: 1rem 1.1rem; }
  .sports-columns { margin-top: 1.15rem; }
  .football-feature > a { grid-template-columns: 1fr; }
  .football-feature img { height: 9.5rem; min-height: 0; object-position: center 62%; }
}

/* A shallow version of the Useful Tools cover keeps the search close to the top. */
.recommendations-cover {
  --ink: #0b2d46;
  --gold: #dbae55;
  --cover-photo: url("assets/winchester/high-street.jpg");
  --cover-position: 53% 54%;
  min-height: 0;
  margin-top: 1rem;
}
.recommendations-cover::before { left: 49%; }
.recommendations-cover .cover-copy {
  width: 59%;
  padding: .9rem clamp(1rem, 2.8vw, 2rem) 1rem;
}
.recommendations-cover h1 { margin: 0; font-size: clamp(1.5rem, 2.3vw, 1.95rem); }
.recommendations-cover h1::before { margin-bottom: .45rem; width: 2.35rem; }
.recommendations-cover p { max-width: 64ch; margin: .4rem 0 0; font-size: .875rem; line-height: 1.4; }
.recommendations-cover p + p { margin-top: .15rem; }
.waw-search .search-tools .search-label {
  margin: 0 0 .4rem; color: var(--navy); font: 500 1.125rem/1.22 Georgia,serif;
}
@media (max-width: 43rem) {
  .recommendations-cover { margin-top: .75rem; }
  .recommendations-cover::before {
    inset: 0;
    background-image: linear-gradient(90deg,rgba(7,32,50,.97) 8%,rgba(7,32,50,.88) 60%,rgba(7,32,50,.62)),var(--cover-photo);
  }
  .recommendations-cover .cover-copy { width: 96%; max-width: 34rem; padding: .85rem 1rem 1rem; }
}
