@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700&family=Source+Serif+4:ital,opsz,wght@0,8..60,400;0,8..60,600;1,8..60,400&display=swap");

/* ---------- Base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: #ffffff;
  color: #1f2b24;
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  color: inherit;
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.15;
}

p {
  margin: 0 0 0.75em;
}

.Text p:last-child {
  margin-bottom: 0;
}

a {
  color: #1e4a34;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #b51212;
  text-decoration-thickness: 2px;
}

a:focus-visible {
  outline: 3px solid #b51212;
  outline-offset: 2px;
}

::selection {
  background: #e8efe9;
}

/* Wix left formatting tags and inline styles all over the text;
   let the stylesheet decide fonts, sizes and colours instead. */
font {
  color: inherit;
  font-family: inherit;
  font-size: inherit;
}

span[style],
em[style] {
  font-family: inherit !important;
  font-size: inherit !important;
  font-style: inherit !important;
  line-height: inherit !important;
}

[style*="text-align"] {
  text-align: inherit !important;
}

h1[style], h2[style], h3[style], h4[style], h5[style], h6[style] {
  line-height: 1.15 !important;
}

.bold,
strong,
b {
  font-weight: 700;
}

.italic {
  font-style: italic;
}

/* ---------- Things that no longer work, or never showed ---------- */

/* Picture boxes: the photos were loaded by Wix's scripts, so they are empty */
.image,
.image h3:empty,
.image span:empty,
.SocialLinkBar,
#ckyb,
#mainPage > span:empty,
#SITE_FOOTER > span:empty,
#cw47 ~ .fb-like,          /* second copy of the Like button */
[id="cs45"],               /* "Title. Double click me." template leftover */
#pqu > p:first-child,      /* empty spacer paragraph */
#u0o br,
#u0o br ~ span,
#c1r6h {
  display: none;
}

/* "Click here" / "Find out more" texts whose links were lost in the export */
#wxc,
#c1rrm,
#cl25,
#cmwq,
#c1pn2,
#c20no {
  display: none;
}

#fb-root {
  position: absolute;
}

/* Picture boxes that still carry a working link become text links */
#cg5s,
#clj6,
#c16fg,
#c1iz6,
#ch20,
#c22dv,
#c14li,
#c100b {
  display: block;
}

#cg5s a,
#clj6 a,
#c16fg a,
#c1iz6 a,
#ch20 a,
#c22dv a,
#c14li a,
#c100b a {
  display: inline-block;
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
}

#cg5s a::after  { content: "Play and Stay details"; }
#clj6 a::after  { content: "About our courses"; }
#c16fg a::after { content: "Society packages"; }
#c1iz6 a::after { content: "About the Academy"; }
#ch20 a::after  { content: "Club events"; }
#c22dv a::after { content: "See all society packages"; }
#c14li a::after { content: "See all Play and Stay packages"; }
#c100b a::after { content: "View the photo gallery"; }

/* ---------- Header: crest and club name ---------- */

#SITE_HEADER {
  padding: 1rem 1.25rem;
}

#SITE_HEADER > section {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1rem;
  align-items: center;
}

/* the club crest, cropped to the shield from Wix's copy of the image */
#c17jf {
  display: block;
  grid-column: 1;
  grid-row: 1 / 3;
  width: 4.5rem;
  height: 3.87rem;
  background: url("https://static.wixstatic.com/media/52a8f2_9a0193151cf19b86247660001d4e2f8b.png") no-repeat;
  background-position: -0.23rem -0.47rem;
  background-size: 5.03rem auto;
}

#SITE_HEADER > section::before {
  content: "Dewstow Golf Club";
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  color: #1e4a34;
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: clamp(1.625rem, 4vw, 2.25rem);
  font-weight: 700;
  line-height: 1;
}

#SITE_HEADER > section::after {
  content: "Caerwent, Monmouthshire";
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  margin-top: 0.2rem;
  color: #56635b;
  font-style: italic;
  font-size: 1rem;
  line-height: 1.3;
}

/* ---------- Page layout (phones first: one column) ---------- */

#mainPage {
  display: flex;
  flex-direction: column;
  padding-bottom: 3.5rem;
}

#mainPage > * {
  margin-inline: 1.25rem;
}

#mainPage > #Cntnr10 { order: 1; margin-inline: 0; }
#mainPage > #ce9e    { order: 2; margin-inline: 0; }
#mainPage > #cvxz    { order: 3; margin-inline: 0; }
#mainPage > #Cntnr3a { order: 4; margin-top: 2rem; }
#mainPage > #Cntnra-mql { order: 5; }
#mainPage > #c19qy   { order: 6; margin-top: 3rem; }
#mainPage > #Cntnr18 { order: 7; }
#mainPage > #Cntnrr  { order: 8; margin-top: 3rem; }
#mainPage > #Cntnr1x { order: 9; margin-top: 3rem; }
#mainPage > #Cntnr1v { order: 10; margin-top: 1.5rem; }
#mainPage > #Cntnrj  { order: 11; margin-top: 1.5rem; }
#mainPage > #Cntnr1k { order: 12; margin-top: 2.5rem; }
#mainPage > .fb-like { order: 13; margin-top: 1.5rem; }

/* ---------- Menu: the top row of the card ---------- */

#Cntnr10 {
  border-top: 1px solid #c5d1c8;
  border-bottom: 3px solid #1e4a34;
  background: #ffffff;
}

#LEGACY-MENU {
  display: flex;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  list-style: none;
  border-left: 1px solid #c5d1c8;
  scrollbar-width: thin;
}

#LEGACY-MENU li {
  flex: 1 0 auto;
  border-right: 1px solid #c5d1c8;
}

#LEGACY-MENU a {
  display: block;
  padding: 0.8rem clamp(0.5rem, 0.9vw, 0.75rem);
  color: #1e4a34;
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: clamp(1rem, 1.2vw, 1.0625rem);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

#LEGACY-MENU a:hover {
  background: #e8efe9;
  color: #1e4a34;
  text-decoration: underline;
}

#LEGACY-MENU a:focus-visible {
  outline-offset: -3px;
}

/* ---------- Anniversary band ---------- */

#ce9e {
  padding: 2.5rem 1.25rem 1rem;
  background: #1e4a34;
  color: #ffffff;
}

#ce9e h2 {
  max-width: 20ch;
  font-size: clamp(2.25rem, 5vw, 4.25rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.005em;
}

#cvxz {
  padding: 0 1.25rem 2.5rem;
  background: #1e4a34;
  color: #e3ece6;
}

#cvxz h5 {
  max-width: 40rem;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.1875rem;
  font-weight: 400;
  line-height: 1.55;
}

#cvxz .font_7 {
  color: #b9cfc0;
  font-size: 1.0625rem;
}

/* Gardens teaser: a small card */
[id="1nof"] p,
#Cntnr3a p {
  margin: 0;
  color: #1e4a34;
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

#Cntnr3a {
  padding: 0.55rem 1.25rem;
  border: 1px solid #c5d1c8;
  border-bottom: 0;
  background: #e8efe9;
}

#Cntnra-mql {
  padding: 1.1rem 1.25rem 1.25rem;
  border: 1px solid #c5d1c8;
  background: #ffffff;
}

#pqu h6 {
  margin-bottom: 0.4rem;
  color: #1e4a34;
  font-size: 1.5rem;
}

#pqu p {
  font-size: 1rem;
}

/* ---------- Latest offers: the scorecard grid ---------- */

#c19qy h1 {
  margin-bottom: 1.25rem;
  color: #1e4a34;
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  font-weight: 700;
  line-height: 1.05;
}

#Cntnr18 {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  border: 1px solid #c5d1c8;
  background: #c5d1c8; /* shows through the gaps as the card's ruled lines */
}

#Cntnr18 > section {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: #ffffff;
}

#Cntnr18 > section > .Text + .Text,
#Cntnr18 > section > .Text + .image,
#Cntnr18 > section > .image + .Text {
  margin-top: 0.6rem;
}

/* Offer titles */
#c6i4 h6,
#c75j h6,
#fg6 h6,
#cop3 h5,
#c17bm h4 {
  color: #1e4a34;
  font-size: 1.625rem;
  font-weight: 700;
  line-height: 1.1;
}

/* Titles typed in capitals read as sentence case */
#c6i4,
#c75j,
#fg6 {
  text-transform: lowercase;
}

#c6i4::first-letter,
#c75j::first-letter,
#fg6::first-letter {
  text-transform: uppercase;
}

#c6i4 br,
#c75j br {
  display: none;
}

#fg6 h6 {
  display: inline;
}

#Cntnr18 p {
  font-size: 1rem;
}

#Cntnr18 p .bold,
#Cntnr18 p strong {
  font-weight: inherit;
}

[id="c2wp"] p {
  color: #56635b;
}

/* Price row at the foot of each offer */
#Cntnr18 > section > section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-top: auto;
  padding-top: 1.5rem;
}

#Cntnr18 > section > section > .Text {
  order: -1;
}

/* Prices ringed in red pen, like a birdie on a card */
#cy67 p,
#c11bo p,
#c1dfm p,
[id="1m2t"] strong,
#cy3n h6:last-child {
  position: relative;
  display: inline-block;
  margin: 0.35rem 0.5rem;
  padding: 0.3rem 0.8rem;
  color: #b51212;
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

#cy67 p::before,
#c11bo p::before,
#c1dfm p::before,
[id="1m2t"] strong::before,
#cy3n h6:last-child::before {
  content: "";
  position: absolute;
  top: -0.3rem;
  right: -0.45rem;
  bottom: -0.3rem;
  left: -0.45rem;
  border: 2px solid #b51212;
  border-radius: 52% 46% 55% 48% / 58% 50% 52% 46%;
  transform: rotate(-3deg);
  pointer-events: none;
}

/* Racecourse break: link sits at the foot */
#c1xne {
  margin-top: auto;
  padding-top: 1.25rem;
}

#c1xne a,
#c1oqt a,
#c1unk a {
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
}

/* The Academy */
#c1uyx h5 {
  margin-top: 0.4rem;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.1875rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.4;
}

#c1uyx .bold {
  font-weight: 400;
}

#cy3n h6:first-child {
  font-size: 1.25rem;
}

#cy3n h6:last-child {
  margin-top: 0.5rem;
}

#c11rx p {
  color: #56635b;
}

/* ---------- Club news column ---------- */

#Cntnrr {
  border: 1px solid #c5d1c8;
  background: #ffffff;
}

#Cntnrr > .Text,
#Cntnrr > .image {
  padding-inline: 1.25rem;
}

/* Shaded header rows */
#Cntnr37,
#Cntnr2q,
#Cntnr2o,
#Cntnrr > [id^="Cntnr-fbff"] {
  padding: 0.55rem 1.25rem;
  border-block: 1px solid #c5d1c8;
  background: #e8efe9;
}

#Cntnr37 {
  border-top: 0;
}

#Cntnrr > section:not(:first-child) {
  margin-top: 1.75rem;
}

#Cntnrr > section + * {
  margin-top: 1rem;
}

#Cntnrr > .Text + .Text,
#Cntnrr > .Text + .image,
#Cntnrr > .image + .Text {
  margin-top: 0.6rem;
}

#Cntnr37 p,
#Cntnr2q p,
#Cntnr2o p,
#Cntnrr > [id^="Cntnr-fbff"] p {
  margin: 0;
  color: #1e4a34;
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

#Cntnrr p {
  font-size: 1rem;
}

#dvu h5,
#c18sz p,
#c1ecw p,
#cv04 h5,
[id="c1x07"] h5 {
  color: #1e4a34;
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.15;
}

#cv04 h5 {
  display: inline;
}

#u0o p {
  color: #b51212;
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
}

#c1ra1 p {
  margin: 0; /* the empty paragraphs between act as the line spacing */
}

[id="1cgv"] p {
  color: #b51212;
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: 1.1875rem;
  font-weight: 700;
}

#Cntnrr > #c1ecw {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #c5d1c8;
}

/* Newsletter box closes the column */
#Cntnri {
  padding: 1.25rem;
  border-top: 1px solid #c5d1c8;
  background: #e8efe9;
}

#c1t8 h5 {
  margin-bottom: 0.35rem;
  color: #1e4a34;
  font-size: 1.375rem;
  font-weight: 700;
}

#c1l9v p {
  display: inline;
}

/* ---------- Clubhouse, spa and gardens cards ---------- */

#Cntnr1x,
#Cntnr1v,
#Cntnrj {
  padding: 1.5rem;
  border: 1px solid #c5d1c8;
  border-top: 4px solid #1e4a34;
  background: #ffffff;
}

#cer2 h4,
#cf8m h4,
[id="5ne"] h4 {
  margin-bottom: 0.6rem;
  color: #1e4a34;
  font-size: 1.625rem;
  font-weight: 700;
  line-height: 1.1;
}

#cer2 a {
  text-decoration: none;
}

#cer2 a:hover {
  text-decoration: underline;
}

#cdp0 p,
#cvp8 p,
[id="l6v"] p {
  font-size: 1rem;
}

[id="l6v"] strong {
  font-weight: inherit;
}

#Cntnr1h,
#Cntnr23 {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid #c5d1c8;
}

#Cntnr1h + #Cntnr23 {
  margin-top: 0.85rem;
}

#c1xd9 h5,
#c1up8 h5 {
  font-size: 1.25rem;
  font-weight: 600;
}

#c1up8 h5 {
  display: inline;
}

#c1xd9 .bold,
#c1up8 .bold {
  font-weight: 600;
}

[id="1m2t"] h5 {
  font-size: 1.25rem;
}

[id="1m2t"] h6 {
  margin: 0.35rem 0 0.75rem;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1rem;
  font-weight: 400;
}

#c1oqt,
#c1unk {
  margin-top: 0.75rem;
}

/* Gallery link and Like button under the cards */
#Cntnr1k {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #c5d1c8;
}

#c10eq h6 {
  color: #1e4a34;
  font-size: 1.375rem;
  font-weight: 700;
}

/* ---------- Footer ---------- */

#SITE_FOOTER {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem 1.5rem;
  padding: 3rem 1.25rem 2.5rem;
  background: #1e4a34;
  color: #dfe9e2;
}

#SITE_FOOTER .Text p {
  margin: 0;
}

#SITE_FOOTER .bold {
  font-weight: inherit;
}

#c23jk        { order: 1; grid-column: 1 / -1; }
#component_89557 { order: 2; grid-column: 1 / -1; margin-bottom: 1.5rem; }
#c1tu9        { order: 3; grid-column: 1 / -1; margin-bottom: 0.25rem; }
#SITE_FOOTER .Button { order: 4; }
#cr0q         { order: 5; grid-column: 1 / -1; margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.2); }
#c1nmc        { order: 6; grid-column: 1 / -1; }

#c23jk h6 {
  color: #ffffff;
  font-size: 1.75rem;
  font-weight: 700;
}

#component_89557 p {
  font-size: 1rem;
  line-height: 1.5;
}

#c1tu9 p {
  color: #ffffff;
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
}

#SITE_FOOTER .Button {
  justify-self: start;
  padding: 0.2rem 0;
  color: #ffffff;
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: 1.0625rem;
  font-weight: 600;
  text-decoration: none;
}

#SITE_FOOTER .Button:hover {
  color: #ffffff;
  text-decoration: underline;
}

#SITE_FOOTER .Button:focus-visible {
  outline-color: #ffffff;
}

#cr0q p,
#c1nmc p {
  color: #b9cfc0;
  font-size: 0.8125rem;
}

/* ---------- Wider screens ---------- */

@media (min-width: 40rem) {
  #Cntnr18 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* the Academy spreads across the full width of the card */
  #Cntnr18 > #Cntnr0 {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 2rem;
    align-items: start;
  }

  #Cntnr0 > #c17bm { grid-column: 1; grid-row: 1; }
  #Cntnr0 > #c1uyx { grid-column: 1; grid-row: 2; margin-top: 0; }
  #Cntnr0 > #cy3n  { grid-column: 2; grid-row: 1 / 3; margin-top: 0; }
  #Cntnr0 > #c11rx { grid-column: 2; grid-row: 3; }
  #Cntnr0 > #c1iz6 { grid-column: 1; grid-row: 3; align-self: end; margin-top: 1rem; }
}

@media (min-width: 48rem) {
  #SITE_FOOTER {
    grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr));
    padding-inline: max(2.75rem, calc((100% - 70.5rem) / 2));
  }

  #c23jk           { grid-column: 1; grid-row: 1; }
  #component_89557 { grid-column: 1; grid-row: 2 / 4; margin-bottom: 0; }
  #c1tu9           { grid-column: 2 / 6; grid-row: 1; align-self: end; }
  #cr0q            { grid-column: 1; grid-row: 4; }
  #c1nmc           { grid-column: 2 / 6; grid-row: 4; margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.2); }
}

@media (min-width: 64rem) {
  #SITE_HEADER {
    padding: 1.25rem max(2.75rem, calc((100% - 70.5rem) / 2));
  }

  #c17jf {
    width: 5.5rem;
    height: 4.73rem;
    background-position: -0.28rem -0.58rem;
    background-size: 6.14rem auto;
  }

  /* Twelve-column page; the outer tracks let bands run edge to edge */
  #mainPage {
    display: grid;
    grid-template-columns:
      [full-start] minmax(1.25rem, 1fr)
      [content-start] repeat(12, minmax(0, 4.5rem))
      [content-end] minmax(1.25rem, 1fr)
      [full-end];
    column-gap: 1.5rem;
    align-items: start;
  }

  #mainPage > * {
    margin-inline: 0;
  }

  /* the green anniversary band behind rows 2 and 3 */
  #mainPage::before {
    content: "";
    grid-column: full-start / full-end;
    grid-row: 2 / 4;
    align-self: stretch;
    background: #1e4a34;
  }

  #mainPage > #Cntnr10 {
    grid-column: full-start / full-end;
    grid-row: 1;
    padding-inline: max(2.75rem, calc((100% - 70.5rem) / 2));
  }

  #mainPage > #ce9e {
    grid-column: 2 / 10;
    grid-row: 2;
    padding: clamp(3rem, 6vw, 5rem) 0 1.5rem;
    background: none;
  }

  #mainPage > #Cntnr3a {
    grid-column: 10 / 14;
    grid-row: 2;
    align-self: end;
    margin-top: 0;
    border: 0;
  }

  #mainPage > #cvxz {
    grid-column: 2 / 10;
    grid-row: 3;
    padding: 0 0 clamp(3rem, 6vw, 4.5rem);
    background: none;
  }

  #mainPage > #Cntnra-mql {
    grid-column: 10 / 14;
    grid-row: 3;
    margin-bottom: clamp(3rem, 6vw, 4.5rem);
    border: 0;
  }

  #mainPage > #c19qy {
    grid-column: 2 / 10;
    grid-row: 4;
    margin-top: 4rem;
  }

  #mainPage > #Cntnr18 {
    grid-column: 2 / 10;
    grid-row: 5;
  }

  #mainPage > #Cntnrr {
    grid-column: 10 / 14;
    grid-row: 4 / 8;
    margin-top: 4rem;
  }

  #mainPage > #Cntnr1x {
    grid-column: 2 / 6;
    grid-row: 6;
    align-self: stretch;
    margin-top: 1.5rem;
  }

  #mainPage > #Cntnr1v {
    grid-column: 6 / 10;
    grid-row: 6;
    align-self: stretch;
    margin-top: 1.5rem;
  }

  #mainPage > #Cntnrj {
    grid-column: 2 / 6;
    grid-row: 7;
    align-self: stretch;
    margin-top: 1.5rem;
  }

  #mainPage > #Cntnr1k {
    grid-column: 6 / 10;
    grid-row: 7;
    margin-top: 1.5rem;
  }

  #mainPage > .fb-like {
    grid-column: 2 / 10;
    grid-row: 8;
  }
}

/* =====================================================================
   New pages
   ---------------------------------------------------------------------
   Everything above is a shim for the old Wix export markup (#c6i4, #Cntnr18
   and so on). Everything below is for clean, hand-written markup and is what
   the new pages use. The two halves are independent.
   ===================================================================== */

.page {
  max-width: 70.5rem;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.75rem);
}

/* ---------- Header and menu ---------- */

.site-header {
  padding: 1.25rem 0;
}

.brand {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1rem;
  align-items: center;
  text-decoration: none;
}

.brand .crest {
  grid-row: 1 / 3;
  width: 4.5rem;
  height: 3.87rem;
  background: url("https://static.wixstatic.com/media/52a8f2_9a0193151cf19b86247660001d4e2f8b.png") no-repeat;
  background-position: -0.23rem -0.47rem;
  background-size: 5.03rem auto;
}

.brand .name {
  align-self: end;
  color: #1e4a34;
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: clamp(1.625rem, 4vw, 2.25rem);
  font-weight: 700;
  line-height: 1;
}

.brand .place {
  align-self: start;
  margin-top: 0.2rem;
  color: #56635b;
  font-size: 1rem;
  font-style: italic;
  line-height: 1.3;
}

.nav-main {
  display: flex;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  list-style: none;
  border-top: 1px solid #c5d1c8;
  border-bottom: 3px solid #1e4a34;
  border-left: 1px solid #c5d1c8;
  scrollbar-width: thin;
}

.nav-main li {
  flex: 1 0 auto;
  border-right: 1px solid #c5d1c8;
}

.nav-main a {
  display: block;
  padding: 0.8rem clamp(0.5rem, 0.9vw, 0.75rem);
  color: #1e4a34;
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: clamp(1rem, 1.2vw, 1.0625rem);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.nav-main a:hover {
  background: #e8efe9;
  color: #1e4a34;
  text-decoration: underline;
}

.nav-main [aria-current="page"] {
  background: #1e4a34;
  color: #ffffff;
}

.nav-main [aria-current="page"]:hover {
  background: #1e4a34;
  color: #ffffff;
}

/* ---------- Page intro ---------- */

.page-head {
  padding: clamp(2.5rem, 6vw, 4rem) 0 0;
}

.page-title {
  max-width: 18ch;
  color: #1e4a34;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.02;
}

.page-lead {
  max-width: 40rem;
  margin-top: 1rem;
  font-size: 1.1875rem;
  line-height: 1.55;
}

.page-main {
  padding: clamp(2rem, 5vw, 3rem) 0 clamp(3rem, 6vw, 4.5rem);
}

/* ---------- Prose ---------- */

.prose {
  max-width: 40rem;
}

.prose h2 {
  margin: 2.25rem 0 0.6rem;
  padding-top: 1.25rem;
  border-top: 1px solid #c5d1c8;
  color: #1e4a34;
  font-size: 1.625rem;
}

.prose h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.prose h3 {
  margin: 1.5rem 0 0.35rem;
  color: #1e4a34;
  font-size: 1.25rem;
}

.prose ul,
.prose ol {
  margin: 0 0 1em;
  padding-left: 1.25rem;
}

.prose li {
  margin-bottom: 0.3rem;
}

.prose li::marker {
  color: #b51212;
}

/* ---------- Two-column layout ---------- */

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

/* Section heading above a card grid */
.section-title {
  margin: 0 0 1.25rem;
  color: #1e4a34;
  font-size: 1.625rem;
}

.block-gap {
  margin-top: 2.5rem;
}

.spaced {
  margin-top: 1.25rem;
}

/* ---------- Scorecard-ruled card grid ---------- */

.card-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  border: 1px solid #c5d1c8;
  background: #c5d1c8;
}

.card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: #ffffff;
}

.card h3 {
  margin-bottom: 0.5rem;
  color: #1e4a34;
  font-size: 1.625rem;
  line-height: 1.1;
}

.card p {
  font-size: 1rem;
}

.card > :last-child {
  margin-bottom: 0;
}

.card-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-top: auto;
  padding-top: 1.5rem;
}

/* Prices ringed in red pen, like a birdie on a scorecard */
.price {
  position: relative;
  display: inline-block;
  margin: 0.35rem 0.5rem;
  padding: 0.3rem 0.8rem;
  color: #b51212;
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.price::before {
  content: "";
  position: absolute;
  top: -0.3rem;
  right: -0.45rem;
  bottom: -0.3rem;
  left: -0.45rem;
  border: 2px solid #b51212;
  border-radius: 52% 46% 55% 48% / 58% 50% 52% 46%;
  transform: rotate(-3deg);
  pointer-events: none;
}

/* ---------- Side panels ---------- */

.panel {
  border: 1px solid #c5d1c8;
  background: #ffffff;
}

.panel + .panel {
  margin-top: 1.5rem;
}

.panel-title {
  margin: 0;
  padding: 0.55rem 1.25rem;
  border-bottom: 1px solid #c5d1c8;
  background: #e8efe9;
  color: #1e4a34;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.panel-body {
  padding: 1.25rem;
  font-size: 1rem;
}

.panel-body > :last-child {
  margin-bottom: 0;
}

.panel-body dl {
  margin: 0;
}

.panel-body dt {
  margin-top: 0.85rem;
  color: #56635b;
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.panel-body dt:first-child {
  margin-top: 0;
}

.panel-body dd {
  margin: 0.1rem 0 0;
}

/* Anything the club still needs to fill in */
.todo {
  padding: 0.05em 0.35em;
  border-bottom: 2px dotted #b51212;
  background: #fdf3e7;
  font-style: italic;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.cta .todo,
.site-footer .todo {
  border-bottom-color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

/* ---------- Scorecard table ---------- */

.scorecard-wrap {
  overflow-x: auto;
  margin: 0 0 1rem;
}

.scorecard {
  border-collapse: collapse;
  width: 100%;
  min-width: 44rem;
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
}

.scorecard th,
.scorecard td {
  padding: 0.4rem 0.3rem;
  border: 1px solid #c5d1c8;
  text-align: center;
}

.scorecard th[scope="row"] {
  padding-left: 0.7rem;
  background: #e8efe9;
  color: #1e4a34;
  text-align: left;
  white-space: nowrap;
}

.scorecard thead th {
  background: #1e4a34;
  color: #ffffff;
  font-weight: 600;
}

.scorecard .total {
  background: #f3f7f4;
  font-weight: 700;
}

/* ---------- Buttons and calls to action ---------- */

.btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  border: 0;
  background: #1e4a34;
  color: #ffffff;
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover {
  background: #b51212;
  color: #ffffff;
}

.btn--ghost {
  padding: 0.6rem 1.25rem;
  border: 2px solid #1e4a34;
  background: transparent;
  color: #1e4a34;
}

.btn--ghost:hover {
  background: #1e4a34;
  color: #ffffff;
}

.cta {
  margin-top: 2.5rem;
  padding: 1.75rem;
  background: #1e4a34;
  color: #ffffff;
}

.cta h2 {
  margin-bottom: 0.4rem;
  color: #ffffff;
  font-size: 1.75rem;
}

.cta p {
  max-width: 36rem;
  color: #dfe9e2;
  font-size: 1.0625rem;
}

.cta .btn {
  background: #ffffff;
  color: #1e4a34;
}

.cta .btn:hover {
  background: #b51212;
  color: #ffffff;
}

/* ---------- Forms ---------- */

.form-field {
  margin-bottom: 1rem;
}

.form-field label {
  display: block;
  margin-bottom: 0.25rem;
  color: #1e4a34;
  font-size: 0.9375rem;
  font-weight: 600;
}

.form-field input,
.form-field select,
.form-field textarea {
  display: block;
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid #c5d1c8;
  border-bottom-color: #7d867f;
  background: #fbfdfb;
  color: #1f2b24;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.4;
}

.form-field textarea {
  min-height: 9rem;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: #1e4a34;
  background: #ffffff;
  outline: 2px solid #b51212;
  outline-offset: 1px;
}

.form-consent {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  font-size: 0.9375rem;
}

.form-consent input {
  flex: 0 0 auto;
  width: 1.1rem;
  height: 1.1rem;
  margin: 0.2rem 0 0;
  accent-color: #1e4a34;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 3rem 0 2.5rem;
  background: #1e4a34;
  color: #dfe9e2;
  font-size: 0.9375rem;
}

.site-footer .foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.75rem;
}

.site-footer h2 {
  margin-bottom: 0.35rem;
  color: #ffffff;
  font-size: 1.125rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.site-footer .tel {
  color: #ffffff;
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  text-decoration: none;
}

.site-footer p {
  margin: 0 0 0.3rem;
  line-height: 1.5;
}

.site-footer ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.2rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a {
  color: #ffffff;
}

.site-footer .legal {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: #b9cfc0;
  font-size: 0.8125rem;
}

/* ---------- Wider screens ---------- */

@media (min-width: 40rem) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card-grid .card--wide {
    grid-column: 1 / -1;
  }

  .site-footer .foot-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr);
  }

  .site-footer ul {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (min-width: 56rem) {
  .layout--sidebar {
    grid-template-columns: minmax(0, 1fr) 19rem;
    gap: 2.5rem;
  }

  .brand .crest {
    width: 5.5rem;
    height: 4.73rem;
    background-position: -0.28rem -0.58rem;
    background-size: 6.14rem auto;
  }
}