/* Hey Global – extra styles for the Stadium, Pitch Hire and Clubhouse pages.
   Colours and fonts come from Elementor → Site Settings (global colours), so they always match the homepage. */

/* Team photo: show the top of the head (homepage "Beginning to end.") */
.hg-team-photo img[src*="team-haps"] { object-position: 50% 0 !important; }

/* Extra image ratios */
.elementor-widget.hg-ar-21-9 img { aspect-ratio: 21 / 9; }
@media (max-width: 767px) { .elementor-widget.hg-ar-21-9 img { aspect-ratio: 16 / 10; } }

/* Small uppercase labels */
.hgx-upper, .hgx-upper p { text-transform: uppercase; letter-spacing: .12em; }
.hgx-label p { color: var(--e-global-color-primary) !important; }
.hgx-hint p { font-size: 13px; opacity: .8; }
.hgx-contact-line a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.hgx-contact-line a:hover { color: var(--e-global-color-primary); }

/* Lists inside cards */
.hgx-list { list-style: none; margin: 0; padding: 0; }
.hgx-list li { position: relative; padding: 8px 0 8px 18px; border-top: 1px solid var(--e-global-color-hgline); line-height: 1.45; }
.hgx-list li:first-child { border-top: 0; padding-top: 2px; }
.hgx-list li::before { content: ""; position: absolute; left: 0; top: 15px; width: 6px; height: 6px; border-radius: 50%; background: var(--e-global-color-primary); }
.hgx-list li:first-child::before { top: 9px; }
.hgx-dark .hgx-list li { border-color: var(--e-global-color-hglined); }
.hgx-list--cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; }
.hgx-list--cols li, .hgx-list--cols li:first-child { border-top: 1px solid var(--e-global-color-hglined); padding-top: 10px; }
.hgx-list--cols li::before, .hgx-list--cols li:first-child::before { top: 17px; }
.hgx-list--row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 24px; }
.hgx-list--row li, .hgx-list--row li:first-child { border-top: 0; padding-top: 4px; }
.hgx-list--row li::before, .hgx-list--row li:first-child::before { top: 11px; }
@media (max-width: 1024px) { .hgx-list--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hgx-list--row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .hgx-list--cols, .hgx-list--row { grid-template-columns: 1fr; } }

/* Cards stretch to the same height in a row */
.hgx-grid > .e-con { height: 100%; }

/* Pitch hire: season panel + price */
.hgx-season { min-height: 220px; }
.hgx-bigprice .hgx-per { font-size: 17px; font-weight: 700; letter-spacing: 0; text-transform: none; opacity: .8; margin-left: 4px; }

/* Price table — scrolls sideways on small screens */
.hgx-table-wrap { width: 100%; margin-top: 40px; }
.hgx-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--e-global-color-hgline); border-radius: 16px; background: var(--e-global-color-hgcard); }
.hgx-table-scroll:focus-visible { outline: 2px solid var(--e-global-color-primary); outline-offset: 2px; }
.hgx-table { width: 100%; min-width: 560px; border-collapse: collapse; font-family: Arial, sans-serif; margin: 0; }
.hgx-table th, .hgx-table td { padding: 20px 24px; text-align: right; border: 0; border-top: 1px solid var(--e-global-color-hgline); color: var(--e-global-color-secondary); font-size: 18px; background: transparent; }
.hgx-table thead th { border-top: 0; background: var(--e-global-color-secondary); color: var(--e-global-color-hgcream); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; vertical-align: bottom; }
.hgx-table thead th span { display: block; margin-top: 4px; font-size: 11px; font-weight: 500; letter-spacing: .04em; text-transform: none; opacity: .7; }
.hgx-table th:first-child, .hgx-table td:first-child { text-align: left; }
.hgx-table tbody th { font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; }
.hgx-table tbody tr:nth-child(even) { background: rgba(28, 23, 18, .03); }
.hgx-table .hgx-hour { font-size: 24px; font-weight: 900; color: var(--e-global-color-primary); }
.hgx-tag { display: inline-block; margin-left: 10px; padding: 4px 10px; border-radius: 999px; background: var(--e-global-color-secondary); color: var(--e-global-color-hgcream); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: none; vertical-align: middle; white-space: nowrap; }
.hgx-scroll-hint { display: none; margin: 10px 0 0; font-size: 13px; color: var(--e-global-color-text); }
@media (max-width: 640px) {
  .hgx-table th, .hgx-table td { padding: 16px 14px; font-size: 16px; }
  .hgx-table .hgx-hour { font-size: 20px; }
  .hgx-tag { display: block; margin: 6px 0 0; width: max-content; }
  .hgx-scroll-hint { display: block; }
}

/* 10-week blocks on dark */
.hgx-blocks > .e-con { border: 1px solid var(--e-global-color-hglined); border-radius: 12px; background: rgba(243, 236, 223, .04) !important; }

/* Middlesex Stadium site map */
.hgx-sitemap img { width: 100%; height: auto; border: 1px solid var(--e-global-color-hgline); cursor: zoom-in; }

/* The Clubhouse menu bar (sticks under the site header) */
.hgx-subnav-sec { position: sticky !important; top: var(--hgx-top, 0px); z-index: 40; }
/* Fixed site header: start the bar below it, and drop the hero's header gap (the bar now fills it) */
.hgx-fixed-header .hgx-subnav-sec { margin-top: var(--hgx-hh, 0px) !important; }
.hgx-fixed-header .hgx-subnav-sec + .hg-pagehero > .e-con-inner { padding-top: 64px !important; }
@media (max-width: 767px) { .hgx-fixed-header .hgx-subnav-sec + .hg-pagehero > .e-con-inner { padding-top: 40px !important; } }
.hgx-subnav-sec .elementor-widget-html { width: 100%; }
.hgx-subnav-in { display: flex; align-items: center; gap: 24px; min-height: 52px; }
.hgx-subnav-name { flex: none; color: var(--e-global-color-hgcream) !important; font: 800 12px/1 Arial, sans-serif; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.hgx-subnav-name::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--e-global-color-primary); }
.hgx-subnav-links { display: flex; gap: 6px; margin-left: auto; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.hgx-subnav-links::-webkit-scrollbar { display: none; }
.hgx-subnav-links a { flex: none; padding: 9px 14px; border-radius: 999px; color: rgba(243, 236, 223, .78) !important; font: 700 13px/1 Arial, sans-serif; text-decoration: none; white-space: nowrap; transition: background-color .2s, color .2s; }
.hgx-subnav-links a:hover, .hgx-subnav-links a.is-on { background: rgba(243, 236, 223, .1); color: var(--e-global-color-hgcream) !important; }
@media (max-width: 767px) {
  .hgx-subnav-in { gap: 0; padding-left: 20px; }
  .hgx-subnav-name { display: none; }
  .hgx-subnav-links { margin-left: 0; padding: 8px 20px 8px 0; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
}
[id="tour"], [id="venue"], [id="occasions"], [id="food"], [id="reviews"], [id="prices"] { scroll-margin-top: 140px; }

/* Clubhouse hero photo and video */
.hgx-video .elementor-wrapper, .hgx-video video { border-radius: 16px; overflow: hidden; }
.hgx-video .elementor-custom-embed-image-overlay { border-radius: 16px; }
.hgx-card-link:hover { border-color: var(--e-global-color-primary) !important; }

/* Google rating */
.hgx-rating { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font-family: Arial, sans-serif; color: var(--e-global-color-secondary); }
.hgx-score { font-size: 48px; font-weight: 900; line-height: 1; letter-spacing: -.03em; }
.hgx-stars { display: inline-flex; gap: 3px; }
.hgx-star { position: relative; width: 22px; height: 22px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l3.1 6.6 7.2.9-5.3 5 1.4 7.1L12 18.1 5.6 21.6 7 14.5 1.7 9.5l7.2-.9z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l3.1 6.6 7.2.9-5.3 5 1.4 7.1L12 18.1 5.6 21.6 7 14.5 1.7 9.5l7.2-.9z'/%3E%3C/svg%3E") center/contain no-repeat; }
.hgx-star::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--e-global-color-primary) var(--f), rgba(28, 23, 18, .15) var(--f)); }
.hgx-count { font-size: 14px; color: var(--e-global-color-text); }
.hgx-reviews-list:not(:empty) { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--e-global-color-hgline); }
.hgx-stack .elementor-widget-button, .hgx-stack .elementor-button { width: 100%; }
.hgx-stack .elementor-button-content-wrapper { justify-content: center; }

/* Funerals & memorials: calmer */
.hgx-soft .hg-eyebrow .elementor-heading-title::before { background: var(--e-global-color-text); }
.hgx-crumbs a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.hgx-notes p { margin: 0 0 6px; }
.hgx-step { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--e-global-color-secondary); color: var(--e-global-color-hgcream); font: 900 18px/1 Arial, sans-serif; }

/* Instagram feed (Smash Balloon) */
.hgx-insta-feed #sb_instagram { padding-bottom: 0 !important; }
.hgx-insta-feed #sb_instagram .sbi_photo { border-radius: 10px; }

/* Phones: easy-to-tap buttons, full-width button rows */
@media (max-width: 767px) {
  .hg-btn .elementor-button { min-height: 48px; }
  .hgx-score { font-size: 40px; }
}

/* Pitch Hire: subline under the H1 */
.hgx-pitch-sub p{margin:14px 0 0;font:900 clamp(20px,2.2vw,28px)/1.1 Arial,sans-serif;text-transform:uppercase;letter-spacing:-.01em;color:var(--e-global-color-secondary)}
