/*
Theme Name: Royal Falcons CC
Theme URI: https://royalfalconscc.com/
Author: Royal Falcons Cricket Club
Description: Custom hand-crafted theme for Royal Falcons Cricket Club, Weybridge, Surrey. Built from scratch specifically for this club website. No third-party themes used.
Version: 1.1.10
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: royal-falcons
Tags: custom-menu, custom-logo, featured-images, translation-ready
*/

:root {
  --navy: #071a36;
  --navy-light: #102b50;
  --gold: #d9a83d;
  --gold-light: #f5d783;
  --cream: #f7f5ef;
  --divider: #e2e7ee;
  --white: #ffffff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  color: #17243a;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
.container { width: min(1160px, 92%); margin: auto; }

/* CONTACT BAR */
.topbar {
  background: #041126;
  color: white;
  padding: 9px 0;
  font-size: 13px;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.topbar a { color: var(--gold-light); }

/* NAVIGATION */
header {
  background: var(--navy);
  color: white;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav {
  min-height: 85px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img {
  width: 65px;
  height: 65px;
  object-fit: contain;
  background: white;
  border-radius: 10px;
  padding: 3px;
}
.brand strong {
  display: block;
  font-family: Georgia, serif;
  letter-spacing: 1px;
  font-size: 17px;
}
.brand small {
  display: block;
  color: var(--gold-light);
  letter-spacing: 2px;
  font-size: 10px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
}
.nav-links a:hover { color: var(--gold-light); }
.menu-toggle {
  display: none;
  background: transparent;
  color: white;
  border: 1px solid #607089;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 22px;
  cursor: pointer;
}
.button {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 30px;
  background: var(--gold);
  color: var(--navy);
  font-weight: bold;
  border: 0;
  cursor: pointer;
}
.button:hover { background: var(--gold-light); }
.button-outline {
  background: transparent;
  border: 1px solid white;
  color: white;
}

/* HOMEPAGE HERO IMAGE */
.hero {
  min-height: 620px;
  display: flex;
  align-items: center;
  color: white;
  background:
    linear-gradient(90deg, rgba(4,17,38,.92), rgba(4,17,38,.35)),
    url("/wp-content/uploads/2026/10/Royal-Falcons-Cricket-Club-Sunset.png")
    center/cover no-repeat;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 35px;
  align-items: center;
  padding-top: 65px;
  padding-bottom: 65px;
}
.eyebrow {
  color: var(--gold-light);
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 12px;
}
.hero h1 {
  font-family: Georgia, serif;
  font-size: clamp(44px, 6vw, 78px);
  line-height: 1;
  margin: 18px 0;
}
.hero h1 span { color: var(--gold-light); }
.hero p {
  max-width: 590px;
  font-size: 18px;
  color: #e6ebf3;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.hero-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-logo img {
  width: min(100%, 310px);
  max-height: 330px;
  object-fit: contain;
  background: rgba(255,255,255,.95);
  border-radius: 22px;
  padding: 10px;
  box-shadow: 0 15px 50px rgba(0,0,0,.25);
}

/* VALUES BAR */
.values-bar { background: var(--gold); color: var(--navy); text-align: center; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
}
.value-item { padding: 22px 10px; }
.value-item strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 22px;
}
.value-item span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* GENERAL SECTIONS */
section { padding: 80px 0; }
.light { background: var(--cream); }
.section-title {
  color: var(--navy);
  font-family: Georgia, serif;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
  margin: 10px 0 20px;
}
.section-intro { color: #657286; max-width: 650px; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 45px;
}
.about-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(4,18,39,.15);
}
.about-copy p { color: #657286; }
.about-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 25px;
}
.about-point {
  padding: 15px;
  border-left: 3px solid var(--gold);
  background: var(--cream);
}
.about-point strong { display: block; color: var(--navy); }
.about-point small { color: #657286; }

/* PHOTO GALLERY */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: var(--navy);
  min-height: 280px;
}
.gallery-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform .4s;
}
.gallery-card:hover img { transform: scale(1.04); }
.gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  color: white;
  padding: 40px 20px 20px;
  font-family: Georgia, serif;
  font-size: 23px;
  background: linear-gradient(transparent, rgba(4,17,38,.9));
}

/* FIXTURES */
.fixtures {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.fixture-list {
  border: 1px solid #e2e7ee;
  border-radius: 15px;
  overflow: hidden;
}
.fixture {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: white;
  border-bottom: 1px solid #e2e7ee;
}
.fixture:last-child { border-bottom: 0; }
.fixture-date {
  min-width: 70px;
  text-align: center;
  padding: 10px;
  background: var(--navy);
  color: white;
  border-radius: 10px;
  font-size: 12px;
}
.fixture-date strong {
  display: block;
  color: var(--gold-light);
  font-size: 20px;
}
.fixture h3 { margin: 0; color: var(--navy); font-size: 16px; }
.fixture p { margin: 4px 0 0; color: #657286; font-size: 13px; }
.notice {
  padding: 30px;
  background: var(--navy);
  color: white;
  border-radius: 18px;
}
.notice h3 { font: 30px Georgia, serif; }
.notice p { color: #d0d9e5; }

/* CONTACT SECTION */
.join {
  background: linear-gradient(120deg, var(--navy), var(--navy-light));
  color: white;
}
.join-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
  align-items: center;
}
.join p { color: #d0d9e5; }
.join-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 25px;
}
.join-point {
  padding: 14px;
  border: 1px solid #52647b;
  border-radius: 10px;
  color: var(--gold-light);
}
form {
  background: white;
  color: var(--navy);
  padding: 28px;
  border-radius: 18px;
}
form h3 { margin-top: 0; font: 28px Georgia, serif; }
.field { margin-bottom: 15px; }
label {
  display: block;
  font-weight: bold;
  font-size: 13px;
  margin-bottom: 6px;
}
input, select, textarea {
  display: block;
  width: 100%;
  padding: 12px;
  border: 1px solid #d5dce6;
  border-radius: 9px;
  font: inherit;
}
textarea { min-height: 100px; resize: vertical; }
.form-note { color: #657286; font-size: 12px; }

/* FOOTER */
footer {
  background: #041126;
  color: white;
  padding: 45px 0 20px;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  padding-bottom: 25px;
}
.footer-logo {
  width: 75px;
  height: 75px;
  object-fit: contain;
  background: white;
  padding: 4px;
  border-radius: 10px;
}
footer h3 { font-family: Georgia, serif; letter-spacing: 1px; }
footer p, footer a { color: #c1ccda; }
footer a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid #344257;
  padding-top: 18px;
  color: #a9b6c8;
  font-size: 13px;
}

/* ============================================================
   ELEMENTOR PAGE BUILDER SUPPORT
   The homepage is built with Elementor on top of the design
   above. These rules map Elementor's markup back to the exact
   layout, gutters, gaps and breakpoints of the original design.
   ============================================================ */

/* Elementor sections must not inherit the theme's `section { padding }`.
   Top sections receive their padding from Elementor's generated CSS. */
.elementor .elementor-section {
  padding-top: 0;
  padding-bottom: 0;
}

/* Horizontal gutters identical to .container { width: min(1160px, 92%) } */
/* Only true top-level sections get the gutters (nested sections carry the
   same classes in Elementor v4, so scope with a direct-child combinator). */
body .elementor > .elementor-top-section.elementor-section {
  padding-left: 4%;
  padding-right: 4%;
}
/* Nested (inner) sections keep zero horizontal padding — their columns
   already sit inside the gutted container. */
body .elementor .elementor-column .elementor-section {
  padding-left: 0;
  padding-right: 0;
}

/* Elementor v4.3.5 redefined the classic `.elementor-col-N` classes (col-12
   now computes to 12.5%, col-6 to 6%, …) and no longer emits column-width
   CSS for classic sections, which collapses every section. Restore the
   original 12-column percentages this page was designed with. ID-based
   rules below (hero 60/40, stacking at breakpoints) still win by
   specificity. */
body .elementor .elementor-section .elementor-column.elementor-col-12 { width: 100%; }
body .elementor .elementor-section .elementor-column.elementor-col-7 { width: 58.3333%; }
body .elementor .elementor-section .elementor-column.elementor-col-6 { width: 50%; }
body .elementor .elementor-section .elementor-column.elementor-col-5 { width: 41.6667%; }
body .elementor .elementor-section .elementor-column.elementor-col-4 { width: 33.3333%; }

/* ---- EDITOR PREVIEW PARITY ---------------------------------------- *
 * Inside the Elementor editor the classic column is rendered with a
 * data-col attribute and WITHOUT the elementor-col-N class, so the five
 * rules above never match there: E4's raw utility answers apply instead
 * (data-col 12 -> 12.5%, 4 -> no rule -> 100%), which squeezes whole
 * sections into a 116px strip in the editor. Mirror the widths for
 * data-col so the canvas matches the live page. E4 has no utility for
 * 34 (used by the rebuilt gallery thirds), so map that one for both
 * spellings. Home (39) still stores 12th-based sizes — its legacy
 * data-col values are scoped to page-id-39 so a user-typed percent on
 * the rebuilt pages is never hijacked. */
body .elementor .elementor-column[data-col="34"],
body .elementor .elementor-section .elementor-column.elementor-col-34 { width: 33.3333%; }
body.page-id-39 .elementor .elementor-column[data-col="12"] { width: 100%; }
body.page-id-39 .elementor .elementor-column[data-col="7"] { width: 58.3333%; }
body.page-id-39 .elementor .elementor-column[data-col="6"] { width: 50%; }
body.page-id-39 .elementor .elementor-column[data-col="5"] { width: 41.6667%; }
body.page-id-39 .elementor .elementor-column[data-col="4"] { width: 33.3333%; }

/* Why every size needs an explicit width: a column with NO matching width
   rule sizes itself from its content — in the gallery that is the raw
   image (~2000px) — and flex-shrink then crushes its width-honouring
   siblings from 309px down to ~110px in the editor canvas. E4's own
   utilities are only a normal (0,2,0) rule and cover 34 not at all, so
   mirror the whole utility table here (both the class spelling used on the
   live page and data-col used by the editor). Desktop-only: below 768px
   E4's stacking rule (.elementor-column { width: 100% }) must win, and the
   gallery's own !important rules handle its 2-col / 1-col steps. */
@media (min-width: 768px) {
  body .elementor .elementor-column[data-col="100"],
  body .elementor .elementor-section .elementor-column.elementor-col-100 { width: 100%; }
  body .elementor .elementor-column[data-col="33"],
  body .elementor .elementor-section .elementor-column.elementor-col-33 { width: 33.3333%; }
  body .elementor .elementor-column[data-col="66"] { width: 66.6667%; }
  body .elementor .elementor-column[data-col="75"] { width: 75%; }
  body .elementor .elementor-column[data-col="60"] { width: 60%; }
  body .elementor .elementor-column[data-col="70"] { width: 70%; }
  body .elementor .elementor-column[data-col="80"] { width: 80%; }
  body .elementor .elementor-column[data-col="90"] { width: 90%; }
  body .elementor .elementor-column[data-col="83"] { width: 83.3333%; }
  body .elementor .elementor-column[data-col="50"] { width: 50%; }
  body .elementor .elementor-column[data-col="40"] { width: 40%; }
  body .elementor .elementor-column[data-col="25"] { width: 25%; }
  body .elementor .elementor-column[data-col="30"] { width: 30%; }
  body .elementor .elementor-column[data-col="20"] { width: 20%; }
  body .elementor .elementor-column[data-col="16"] { width: 16.6667%; }
  body .elementor .elementor-column[data-col="14"] { width: 14.2857%; }
  body .elementor .elementor-column[data-col="12"] { width: 12.5%; }
  body .elementor .elementor-column[data-col="11"] { width: 11.1111%; }
  body .elementor .elementor-column[data-col="10"] { width: 10%; }
}

/* Grid gaps (original .hero-grid / .about-grid / .gallery-grid gaps) */
#home .elementor-container { gap: 35px; }
#about .elementor-container { gap: 45px; }
#gallery .elementor-container { gap: 20px; }
#join .elementor-container { gap: 45px; }
#hero-actions .elementor-container { gap: 12px; }
#about-points .elementor-container { gap: 12px; }
#gallery-grid .elementor-container { gap: 20px; }
#join-points-1 .elementor-container { gap: 12px; }
#join-points-2 .elementor-container { gap: 12px; }

/* The reference design's .fixtures block has no working grid (its CSS
   rule is dropped by a stray "#"), so the fixture list and the notice
   always stack on top of each other with no gap. */
#fixtures .elementor-container,
#fixtures-grid .elementor-container { gap: 0; }
#fixtures-grid .elementor-container { flex-wrap: wrap; }
#fixtures-grid .elementor-container > .elementor-column { width: 100%; }

/* Fixture rows sit flush: kill Elementor's default 20px widget spacing and
   keep the reference's 1px dividers between rows (the row dividers live on
   the article, which is :last-child inside its own widget wrapper). */
#fixtures .elementor-widget-rfc-fixture-item { margin-block-end: 0; }
#fixtures .elementor-widget-rfc-fixture-item .fixture {
  border-bottom: 1px solid #e2e7ee;
}
#fixtures .elementor-widget-rfc-fixture-item:last-child .fixture {
  border-bottom: 0;
}

/* Hero: original 1.2fr .8fr columns, buttons in a single flex row */
#home #hero-actions .elementor-column { width: auto; flex-basis: auto; }
@media (min-width: 901px) {
  #home .elementor-container > .elementor-column:first-child { width: 60%; }
  #home .elementor-container > .elementor-column:last-child { width: 40%; }
}

/* Centre the about/join columns like the original align-items: center */
@media (min-width: 768px) {
  #about > .elementor-container > .elementor-column,
  #join > .elementor-container > .elementor-column { align-self: center; }
}

/* Elementor resets img { height: auto } – keep the design's heights */
.elementor .gallery-card img { height: 320px; }
.elementor .about-image img { height: 420px; }

/* ORIGINAL BREAKPOINTS */
@media (max-width: 900px) {
  #home > .elementor-container > .elementor-column,
  #about > .elementor-container > .elementor-column,
  #join > .elementor-container > .elementor-column { width: 100%; }
  .elementor .hero-logo { display: none; }
  .elementor .about-image img { height: 320px; }
}
@media (max-width: 600px) {
  .elementor .gallery-card img { height: 260px; }
  body .elementor .elementor-top-section.elementor-section:not(.values-bar) {
    padding-top: 55px;
    padding-bottom: 55px;
  }
  #home.elementor-top-section {
    padding-top: 120px;
    padding-bottom: 120px;
  }
  body .elementor .values-bar > .elementor-container > .elementor-column.elementor-col-4,
  #about-points > .elementor-container > .elementor-column,
  #gallery-grid > .elementor-container > .elementor-column,
  #join-points-1 > .elementor-container > .elementor-column,
  #join-points-2 > .elementor-container > .elementor-column { width: 100%; }
}

.site-content { margin: 0; padding: 0; }

/* MOBILE */
@media(max-width:900px) {
  .menu-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 85px;
    left: 0;
    right: 0;
    padding: 22px;
    background: var(--navy);
    flex-direction: column;
    align-items: stretch;
  }
  .nav-links.open { display: flex; }
  .hero-grid, .about-grid, .fixtures, .join-grid {
    grid-template-columns: 1fr;
  }
  .hero-logo { display: none; }
  .about-image img { height: 320px; }
}
@media(max-width:600px) {
  .container { width: 92%; }
  section { padding: 55px 0; }
  .topbar-inner { display: block; }
  .topbar-inner span { display: block; margin: 3px 0; }
  .brand strong { font-size: 14px; }
  .brand small { font-size: 9px; letter-spacing: 1px; }
  .brand img { width: 52px; height: 52px; }
  .values-grid, .about-points, .gallery-grid, .join-points {
    grid-template-columns: 1fr;
  }
  .gallery-card img { height: 260px; }
  .fixture { align-items: flex-start; padding: 14px; }
}

/* ============================================================
   v1.1.0 — Main Menu (wp_nav_menu), page templates, scroll
   reveal + hover word animations, Contact Form 7, big footer,
   flex-gap fixes for the 601–1024px range.
   ============================================================ */

/* ---------- WORDPRESS MAIN MENU ---------- */
.nav-links .nav-menu {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links .nav-menu a {
  color: white;
  text-decoration: none;
}
.nav-links .nav-menu li.current-menu-item > a { color: var(--gold-light); }
.nav-links .nav-menu li.button > a {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 30px;
  background: var(--gold);
  color: var(--navy);
  font-weight: bold;
}
.nav-links .nav-menu li.button > a:hover {
  background: var(--gold-light);
  color: var(--navy);
}
@media(max-width:900px) {
  .nav-links .nav-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    width: 100%;
  }
  .nav-links .nav-menu > li > a {
    display: block;
    padding: 11px 6px;
  }
  .nav-links .nav-menu li.button { margin-top: 10px; }
  .nav-links .nav-menu li.button > a { text-align: center; }
}

/* ---------- BIG FOOTER ---------- */
.footer-cta {
  background: linear-gradient(120deg, var(--gold), var(--gold-light));
  color: var(--navy);
}
.footer-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  flex-wrap: wrap;
  padding: 34px 0;
}
.footer-cta-eyebrow {
  display: block;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  font-weight: bold;
  margin-bottom: 6px;
}
.footer-cta h3 {
  font: 30px Georgia, serif;
  margin: 0 0 6px;
}
.footer-cta p { margin: 0; font-weight: 600; }
.footer-cta-btn {
  background: var(--navy);
  color: white;
  flex-shrink: 0;
}
.footer-cta-btn:hover { background: #0b2049; color: white; }

footer { padding: 65px 0 25px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr;
  gap: 40px;
  padding-bottom: 35px;
}
.footer-col h4 {
  font: 16px Georgia, serif;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin: 0 0 18px;
}
.footer-about h3 { font-size: 18px; margin: 14px 0 10px; }
.footer-blurb { color: #c1ccda; line-height: 1.75; margin: 0 0 16px; }
.footer-social { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-social a {
  padding: 7px 14px;
  border: 1px solid #52647b;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.5px;
  text-decoration: none;
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold-light); }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 11px; color: #c1ccda; line-height: 1.5; }
.footer-links a { text-decoration: none; }
.footer-contact-list .fc-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold-light);
  font-weight: bold;
  margin-bottom: 2px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-motto { color: var(--gold-light); font-weight: bold; letter-spacing: 1px; }
@media(max-width:900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media(max-width:600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-cta-inner { text-align: center; justify-content: center; }
  .footer-cta h3 { font-size: 24px; }
}

/* ---------- PAGE TEMPLATES ---------- */
.page-hero {
  background:
    linear-gradient(120deg, rgba(4,17,38,.95), rgba(11,42,104,.85)),
    url("/wp-content/uploads/2026/10/Royal-Falcons-Cricket-Club-Sunset.png") center/cover no-repeat;
  color: white;
  padding: 90px max(4%, (100% - 1160px) / 2) 80px;
}
.page-eyebrow {
  display: block;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: bold;
  font-size: 13px;
  margin-bottom: 14px;
}
.page-title {
  font: 46px Georgia, serif;
  margin: 0 0 18px;
  max-width: 800px;
}
.page-lede {
  color: #d0d9e5;
  font-size: 17px;
  line-height: 1.8;
  max-width: 720px;
  margin: 0;
}
.entry-content {
  width: min(92%, 1160px);
  margin: 0 auto;
  padding: 70px 0 90px;
}
.content-section { margin-bottom: 65px; }
.content-section:last-child { margin-bottom: 0; }
.content-section h2 {
  font: 34px Georgia, serif;
  color: var(--navy);
  margin: 0 0 22px;
  position: relative;
  padding-bottom: 14px;
}
.content-section h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 4px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}
.content-section h3 {
  font: 24px Georgia, serif;
  color: var(--navy);
  margin: 30px 0 12px;
}
.content-section p {
  color: #3d4b60;
  line-height: 1.9;
  font-size: 16.5px;
  margin: 0 0 18px;
}
.content-section a { color: var(--gold); font-weight: bold; }
.content-section ul {
  margin: 0 0 20px;
  padding-left: 24px;
  color: #3d4b60;
  line-height: 1.9;
}
.content-section li { margin-bottom: 10px; }
.content-figure { margin: 30px 0; }
.content-figure img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--divider);
}
.content-figure figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: #657286;
  text-align: center;
  font-style: italic;
}
.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 30px 0;
}
.content-grid .content-figure { margin: 0; }
.content-grid .content-figure img { height: 260px; }
blockquote {
  margin: 30px 0;
  padding: 24px 28px;
  background: #f6f8fc;
  border-left: 5px solid var(--gold);
  border-radius: 0 14px 14px 0;
  font: italic 19px/1.7 Georgia, serif;
  color: var(--navy);
}
.content-callout {
  background: linear-gradient(120deg, var(--navy), var(--navy-light));
  color: white;
  padding: 40px 45px;
  border-radius: 20px;
  margin: 45px 0;
}
.content-callout h2,
.content-callout h3 { font: 28px Georgia, serif; color: var(--gold-light); margin: 0 0 14px; }
.content-callout p { color: #d0d9e5; margin: 0 0 12px; line-height: 1.8; }
.content-callout p:last-child { margin-bottom: 0; }
.content-callout a { color: var(--gold-light); font-weight: bold; }
.join-form-section { scroll-margin-top: 110px; }
.join-form-wrap { margin-top: 25px; }
@media(max-width:600px) {
  .page-hero { padding: 60px 4% 55px; }
  .page-title { font-size: 32px; }
  .content-section h2 { font-size: 26px; }
  .content-figure img { height: 240px; }
  .content-callout { padding: 28px 22px; }
  .entry-content { padding: 50px 0 65px; }
  .content-section { margin-bottom: 48px; }
}

/* ---------- SCROLL REVEAL ANIMATIONS ---------- */
html.js-reveal [data-reveal],
html.js-reveal .reveal-item {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
  transition-delay: var(--rv-delay, 0ms);
}
html.js-reveal .is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html.js-reveal [data-reveal],
  html.js-reveal .reveal-item {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- HOVER WORD REVEAL ----------
   Words are ghost outlines until the cursor passes over the
   heading, then fill in one by one with the gold theme color. */
.wr-w {
  color: transparent;
  -webkit-text-stroke: 1px rgba(4,17,38,.5);
  transition: color .5s ease, -webkit-text-stroke-color .5s ease;
  transition-delay: calc(var(--wi, 0) * 45ms);
}
h2:hover .wr-w,
h3:hover .wr-w,
h4:hover .wr-w {
  color: var(--gold);
  -webkit-text-stroke-color: rgba(217,168,61,0);
}
.content-callout h2 .wr-w,
.content-callout h3 .wr-w,
.footer-cta h3 .wr-w,
.footer-col h4 .wr-w {
  -webkit-text-stroke-color: rgba(255,255,255,.45);
}
.content-callout h2:hover .wr-w,
.content-callout h3:hover .wr-w,
.footer-cta h3:hover .wr-w,
.footer-col h4:hover .wr-w {
  color: var(--gold-light);
  -webkit-text-stroke-color: rgba(245,215,131,0);
}
/* Touch devices have no hover — keep text readable. */
@media (hover: none) {
  .wr-w {
    color: inherit;
    -webkit-text-stroke: 0;
  }
}

/* ---------- CONTACT FORM 7 — PREMIUM JOIN FORM ----------
   The form lives in a rounded navy feature panel with gold glows
   and a faint crest watermark. The form itself is a white card
   with a gold crown bar, 2-column grid fields, custom select and
   checkbox, and a gradient gold call-to-action. */
.join-form-section {
  position: relative;
  margin: 0;
  padding: 56px 40px 60px;
  border-radius: 26px;
  overflow: hidden;
  background:
    radial-gradient(760px 420px at 88% -18%, rgba(217,168,61,.20), transparent 62%),
    radial-gradient(620px 380px at -10% 112%, rgba(217,168,61,.12), transparent 60%),
    linear-gradient(180deg, #041126 0%, #0a1f42 52%, #041126 100%);
  background-color: #041126; /* solid base so the white heading never sits on white */
}
.join-form-section::before {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -110px;
  width: 440px;
  height: 440px;
  background: url("/wp-content/uploads/2026/10/Royal-Falcons-Cricket-Club-Crest.png") center/contain no-repeat;
  opacity: .05;
  pointer-events: none;
}
.join-form-section > * { position: relative; z-index: 1; }
.join-form-section h2 { color: #fff; }
.join-form-section h2 .wr-w { -webkit-text-stroke-color: rgba(255,255,255,.55); }
.join-form-section h2:hover .wr-w {
  color: var(--gold-light);
  -webkit-text-stroke-color: rgba(245,215,131,0);
}
.join-form-section > p { color: rgba(255,255,255,.78); max-width: 760px; }

.join-form-wrap { max-width: 940px; margin: 34px auto 0; }

.wpcf7 {
  position: relative;
  background: #fff;
  color: var(--navy);
  padding: 44px 46px 42px;
  border-radius: 22px;
  border: 0;
  overflow: hidden;
  box-shadow: 0 34px 80px rgba(0,0,0,.45), 0 0 0 1px rgba(217,168,61,.22);
}
.wpcf7::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 7px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
}
.wpcf7 form {
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 22px;
}
.wpcf7 form p { margin: 0; }
.wpcf7 form p:has(textarea),
.wpcf7 .wpcf7-response-output { grid-column: 1 / -1; }
.wpcf7 form p:has(.wpcf7-acceptance) { align-self: center; }
.wpcf7 fieldset { display: none; }
.wpcf7 label { display: block; font-weight: bold; font-size: 13px; margin-bottom: 6px; }
.wpcf7 .form-row { margin-bottom: 0; }
span.wpcf7-form-control-wrap { display: block; width: 100%; }
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  margin: 0;
  padding: 14px 16px;
  border: 1.5px solid #dde4ee;
  border-radius: 12px;
  font: inherit;
  font-size: 15.5px;
  background: #f8fafc;
  color: var(--navy);
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder { color: #97a3b6; opacity: 1; }
.wpcf7 input:hover,
.wpcf7 select:hover,
.wpcf7 textarea:hover { border-color: #c3cede; }
.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(217,168,61,.18);
}
.wpcf7 input[aria-invalid="true"],
.wpcf7 select[aria-invalid="true"],
.wpcf7 textarea[aria-invalid="true"] {
  border-color: #d04545;
  background: #fff7f7;
}
.wpcf7 select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 46px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23d9a83d' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 14px 9px;
}
.wpcf7 select:has(option:checked[value="Interested In"]) { color: #97a3b6; }
.wpcf7 textarea { min-height: 160px; line-height: 1.7; resize: vertical; }
.wpcf7 .wpcf7-acceptance .wpcf7-list-item label {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 13.5px;
  line-height: 1.5;
  color: #55637a;
}
.wpcf7 .wpcf7-acceptance input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  margin: 0;
  border: 1.5px solid #ccd5e2;
  border-radius: 7px;
  background: #f8fafc;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.wpcf7 .wpcf7-acceptance input[type="checkbox"]:hover { border-color: var(--gold); }
.wpcf7 .wpcf7-acceptance input[type="checkbox"]:checked {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(217,168,61,.18);
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='10' viewBox='0 0 13 10'%3E%3Cpath d='M1 5l4 4 7-8' fill='none' stroke='%23071a36' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px 10px no-repeat;
}
.wpcf7-submit {
  align-self: center;
  width: 100%;
  padding: 16px 24px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 45%, #c6922b 100%);
  color: var(--navy);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: .3px;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(217,168,61,.35);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease, opacity .2s ease;
}
.wpcf7-submit:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: 0 18px 34px rgba(217,168,61,.45);
}
.wpcf7-submit:active { transform: translateY(0); }
.wpcf7-submit:focus-visible { outline: 3px solid rgba(217,168,61,.45); outline-offset: 2px; }
.wpcf7 form.submitting .wpcf7-submit { opacity: .6; pointer-events: none; }
.wpcf7 .wpcf7-response-output {
  position: relative;
  margin: 4px 0 0;
  padding: 15px 20px 15px 46px;
  border: 1px solid var(--gold);
  border-radius: 12px;
  background: #fdf7e6;
  color: var(--navy);
  font-size: 14.5px;
  font-weight: 600;
}
.wpcf7 .wpcf7-response-output::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  background: center/14px 11px no-repeat;
}
.wpcf7 form.sent .wpcf7-response-output { border-color: #2e9e5b; background: #eaf7ef; }
.wpcf7 form.sent .wpcf7-response-output::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='10' viewBox='0 0 13 10'%3E%3Cpath d='M1 5l4 4 7-8' fill='none' stroke='%232e9e5b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output { border-color: #d04545; background: #fdeeee; }
.wpcf7 form.invalid .wpcf7-response-output::before,
.wpcf7 form.failed .wpcf7-response-output::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 11 11'%3E%3Cpath d='M1 1l9 9M10 1l-9 9' fill='none' stroke='%23d04545' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E");
}
.wpcf7-not-valid-tip { display: block; color: #d04545; font-size: 12.5px; font-weight: 600; margin: 6px 0 0; }
.wpcf7-list-item { margin: 0; }

@media (max-width: 700px) {
  .join-form-section { padding: 40px 16px 44px; border-radius: 18px; }
  .wpcf7 { padding: 34px 22px 30px; border-radius: 18px; }
  .wpcf7 form { grid-template-columns: 1fr; gap: 16px; }
}

/* ---------- FLEX-GAP FIXES ----------
   Elementor switches .elementor-container to flex-wrap: wrap at
   ≤1024px. Column widths are pure percentages, so any container
   with a gap overflows and wraps (2+1 cards, 1-per-row bullets)
   instead of the reference's CSS-grid 1fr math. Forcing nowrap
   lets flex-shrink absorb the gaps exactly like grid tracks. */
@media(min-width:901px) {
  #home .elementor-container,
  #about .elementor-container,
  #join .elementor-container { flex-wrap: nowrap; }
}
@media(min-width:601px) {
  #about-points .elementor-container,
  #gallery-grid .elementor-container,
  #join-points-1 .elementor-container,
  #join-points-2 .elementor-container { flex-wrap: nowrap; }
}

/* ==============================================================
   JOIN THE CLUB — UNIQUE "GOLDEN THREAD" PAGE DESIGN
   Scoped to body.page-id-81 so no other page is affected.
   Identity: gold diagonal sashes + crest medallion hero,
   numbered chapters with hairline dividers, editorial drop
   caps, cricket-ball bullet lists, Q-badge FAQ, framed photos,
   a navy feature quote, a gold "Still Deciding?" panel and a
   gold-railed closing card before the form.
   ============================================================== */

/* ---------- HERO: sashes, crest watermark, gold rule, medallion ---------- */
body.page-id-81 .page-hero {
  position: relative;
  overflow: hidden;
  padding-bottom: 96px;
  background:
    linear-gradient(115deg, transparent 56%, rgba(217,168,61,.10) 56.4%, rgba(217,168,61,.10) 59%, transparent 59.4%),
    linear-gradient(115deg, transparent 70%, rgba(245,215,131,.07) 70.4%, rgba(245,215,131,.07) 73%, transparent 73.4%),
    linear-gradient(90deg, var(--gold), var(--gold-light)) bottom left / 100% 4px no-repeat,
    linear-gradient(120deg, rgba(4,17,38,.95), rgba(11,42,104,.85)),
    url("/wp-content/uploads/2026/10/Royal-Falcons-Cricket-Club-Sunset.png") center/cover no-repeat;
}
body.page-id-81 .page-hero::before {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -80px;
  width: 430px;
  height: 430px;
  background: url("/wp-content/uploads/2026/10/Royal-Falcons-Cricket-Club-Crest.png") center/contain no-repeat;
  opacity: .10;
  z-index: 0;
  pointer-events: none;
}
body.page-id-81 .page-hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -32px;
  width: 64px;
  height: 64px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #fff url("/wp-content/uploads/2026/10/Royal-Falcons-Cricket-Club-Crest.png") center/38px no-repeat;
  border: 3px solid var(--gold);
  box-shadow: 0 10px 26px rgba(4,17,38,.35);
  z-index: 3;
}
body.page-id-81 .page-hero > * { position: relative; z-index: 2; }
body.page-id-81 .page-eyebrow {
  display: inline-block;
  padding: 7px 16px;
  border: 1px solid rgba(217,168,61,.55);
  border-radius: 999px;
  background: rgba(217,168,61,.12);
  letter-spacing: 3.5px;
  margin-bottom: 18px;
}
body.page-id-81 .page-title::after {
  content: "";
  display: block;
  width: 110px;
  height: 6px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), transparent);
  margin-top: 16px;
}
body.page-id-81 .page-lede {
  border-left: 3px solid rgba(217,168,61,.6);
  padding-left: 18px;
}

/* ---------- CHAPTERS: numbers, hairline dividers, drop caps ---------- */
body.page-id-81 .content-section { counter-increment: jchapter; position: relative; }
body.page-id-81 .content-section + .content-section::before {
  content: "";
  position: absolute;
  top: -33px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--divider) 15%, var(--divider) 85%, transparent);
}
body.page-id-81 .content-section h2::before {
  content: counter(jchapter, decimal-leading-zero);
  display: block;
  font: italic 700 15px Georgia, serif;
  letter-spacing: 5px;
  color: var(--gold);
  margin-bottom: 8px;
}
body.page-id-81 .join-form-section h2::before { content: none; }
body.page-id-81 .content-section h2 + p::first-letter,
body.page-id-81 .content-callout h2 + p::first-letter {
  float: left;
  font: 700 54px/0.95 Georgia, serif;
  color: var(--gold);
  padding: 4px 12px 0 0;
}

/* ---------- FAQ: gold Q badges ---------- */
body.page-id-81 .content-section h3 {
  counter-increment: jfaq;
  position: relative;
  padding-left: 54px;
  margin-top: 36px;
}
body.page-id-81 .content-section h3::before {
  content: "Q" counter(jfaq);
  position: absolute;
  left: 0;
  top: 4px;
  width: 40px;
  height: 27px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy);
  font: 800 12px/27px Arial, Helvetica, sans-serif;
  text-align: center;
  letter-spacing: .5px;
  -webkit-text-stroke: 0;
}

/* ---------- LISTS: cricket-ball bullets ---------- */
body.page-id-81 .content-section ul {
  list-style: none;
  padding-left: 30px;
}
body.page-id-81 .content-section li { position: relative; }
body.page-id-81 .content-section li::before {
  content: "";
  position: absolute;
  left: -27px;
  top: 11px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, var(--gold-light) 0%, var(--gold) 60%, #a8791f 100%);
  box-shadow: 0 0 0 3px rgba(217,168,61,.15);
}

/* ---------- FIGURES: gold corner frame + caption rail ---------- */
body.page-id-81 .content-figure {
  position: relative;
  margin: 44px 0;
}
body.page-id-81 .content-figure img {
  height: 430px;
  border: 0;
  border-radius: 22px;
  box-shadow: 0 24px 50px rgba(4,17,38,.20);
}
body.page-id-81 .content-figure::before {
  content: "";
  position: absolute;
  top: -12px;
  left: -12px;
  width: 96px;
  height: 96px;
  border-top: 4px solid var(--gold);
  border-left: 4px solid var(--gold);
  border-radius: 22px 0 0 0;
  z-index: 2;
  pointer-events: none;
}
body.page-id-81 .content-figure figcaption {
  margin-top: 16px;
  padding-left: 16px;
  border-left: 3px solid var(--gold);
  text-align: left;
  font-size: 13.5px;
  color: #56647c;
}

/* ---------- BLOCKQUOTE: navy feature quote ---------- */
body.page-id-81 .content-section blockquote {
  position: relative;
  margin: 48px 0;
  padding: 40px 44px 34px;
  background: linear-gradient(135deg, #0a1e3d, var(--navy));
  border-left: 0;
  border-radius: 20px;
  box-shadow: 0 24px 50px rgba(4,17,38,.28);
  text-align: center;
}
body.page-id-81 .content-section blockquote::before {
  content: "\201C";
  display: block;
  font: 700 72px/0.55 Georgia, serif;
  color: var(--gold);
  margin-bottom: 16px;
}
body.page-id-81 .content-section blockquote p {
  margin: 0;
  color: #fff;
  font: italic 21px/1.75 Georgia, serif;
}
body.page-id-81 .content-section blockquote::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin: 20px auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

/* ---------- "STILL DECIDING?" gold panel (join) ---------- */
body.page-id-81 .content-callout {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(520px 240px at 92% -10%, rgba(217,168,61,.38), transparent 65%),
    linear-gradient(120deg, #fdf7e6 0%, #fbe9c0 100%);
  color: var(--navy);
  border: 1px solid rgba(217,168,61,.55);
  border-radius: 22px;
  padding: 46px 48px;
  box-shadow: 0 20px 48px rgba(217,168,61,.22);
}
body.page-id-81 .content-callout::after {
  content: "";
  position: absolute;
  right: -55px;
  bottom: -75px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, rgba(217,168,61,.45) 0%, rgba(217,168,61,.14) 62%, transparent 66%);
  pointer-events: none;
}
body.page-id-81 .content-callout > * { position: relative; z-index: 1; }
body.page-id-81 .content-callout h2 {
  font-size: 32px;
  color: var(--navy);
}
body.page-id-81 .content-callout h2 .wr-w { -webkit-text-stroke-color: rgba(4,17,38,.42); }
body.page-id-81 .content-callout h2:hover .wr-w {
  color: var(--gold);
  -webkit-text-stroke-color: rgba(217,168,61,0);
}
body.page-id-81 .content-callout p { color: #4a5872; }

/* ---------- CLOSING CARD: "Ready to Get Started?" ---------- */
body.page-id-81 .entry-content > .content-section:nth-last-child(2) {
  background: #fff;
  border: 1px solid var(--divider);
  border-left: 6px solid var(--gold);
  border-radius: 20px;
  padding: 44px 48px;
  box-shadow: 0 20px 48px rgba(4,17,38,.10);
}

/* ---------- CONTENT WATERMARK (desktop only) ---------- */
body.page-id-81 .entry-content { position: relative; }
body.page-id-81 .entry-content::before {
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 540px;
  height: 540px;
  background: url("/wp-content/uploads/2026/10/Royal-Falcons-Cricket-Club-Crest.png") center/contain no-repeat;
  opacity: .045;
  pointer-events: none;
  z-index: 0;
}
body.page-id-81 .entry-content > * { position: relative; z-index: 1; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  body.page-id-81 .entry-content::before { display: none; }
}
@media (max-width: 700px) {
  body.page-id-81 .page-hero { padding-bottom: 84px; }
  body.page-id-81 .page-hero::before { width: 260px; height: 260px; right: -70px; bottom: -60px; }
  body.page-id-81 .page-hero::after { width: 54px; height: 54px; bottom: -27px; background-size: 32px; }
  body.page-id-81 .page-title::after { width: 84px; height: 5px; }
  body.page-id-81 .content-section h2 + p::first-letter,
  body.page-id-81 .content-callout h2 + p::first-letter { font-size: 44px; }
  body.page-id-81 .content-section h3 { padding-left: 48px; margin-top: 30px; }
  body.page-id-81 .content-figure { margin: 34px 0; }
  body.page-id-81 .content-figure::before { display: none; }
  body.page-id-81 .content-section blockquote { padding: 32px 22px 28px; }
  body.page-id-81 .content-callout { padding: 34px 26px; }
  body.page-id-81 .content-callout h2 { font-size: 26px; }
  body.page-id-81 .entry-content > .content-section:nth-last-child(2) { padding: 32px 26px; }
}

/* ================================================================
   GOLDEN THREAD FOR ALL CONTENT PAGES
   (About 77 · Fixtures 27 · Gallery 78 · Community 80)
   Shared foundation, then a distinct identity per page:
   About = heritage gold circles · Fixtures = matchday tabs +
   navy panels · Gallery = photo frames + masonry grids ·
   Community = warm cream cards. Home page (39) untouched.
   ================================================================ */

/* ---------- SHARED HERO: sashes, crest watermark, rule, medallion ---------- */
body.page-id-77 .page-hero,
body.page-id-27 .page-hero,
body.page-id-78 .page-hero,
body.page-id-80 .page-hero {
  position: relative;
  overflow: hidden;
  padding-bottom: 96px;
  background:
    linear-gradient(var(--gt-sash, 115deg), transparent 56%, rgba(217,168,61,.10) 56.4%, rgba(217,168,61,.10) 59%, transparent 59.4%),
    linear-gradient(var(--gt-sash, 115deg), transparent 70%, rgba(245,215,131,.07) 70.4%, rgba(245,215,131,.07) 73%, transparent 73.4%),
    linear-gradient(90deg, var(--gold), var(--gold-light)) bottom left / 100% 4px no-repeat,
    linear-gradient(120deg, rgba(4,17,38,.95), rgba(11,42,104,.85)),
    url("/wp-content/uploads/2026/10/Royal-Falcons-Cricket-Club-Sunset.png") center/cover no-repeat;
}
body.page-id-77 .page-hero::before,
body.page-id-27 .page-hero::before,
body.page-id-78 .page-hero::before,
body.page-id-80 .page-hero::before {
  content: "";
  position: absolute;
  left: var(--gt-crest-l, auto);
  right: var(--gt-crest-r, -30px);
  bottom: -80px;
  width: 430px;
  height: 430px;
  background: url("/wp-content/uploads/2026/10/Royal-Falcons-Cricket-Club-Crest.png") center/contain no-repeat;
  opacity: .10;
  z-index: 0;
  pointer-events: none;
}
body.page-id-77 .page-hero::after,
body.page-id-27 .page-hero::after,
body.page-id-78 .page-hero::after,
body.page-id-80 .page-hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -32px;
  width: 64px;
  height: 64px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #fff url("/wp-content/uploads/2026/10/Royal-Falcons-Cricket-Club-Crest.png") center/38px no-repeat;
  border: 3px solid var(--gold);
  box-shadow: 0 10px 26px rgba(4,17,38,.35);
  z-index: 3;
}
body.page-id-77 .page-hero > *,
body.page-id-27 .page-hero > *,
body.page-id-78 .page-hero > *,
body.page-id-80 .page-hero > * { position: relative; z-index: 2; }
body.page-id-77 .page-eyebrow,
body.page-id-27 .page-eyebrow,
body.page-id-78 .page-eyebrow,
body.page-id-80 .page-eyebrow {
  display: inline-block;
  padding: 7px 16px;
  border: 1px solid rgba(217,168,61,.55);
  border-radius: 999px;
  background: rgba(217,168,61,.12);
  letter-spacing: 3.5px;
  margin-bottom: 18px;
}
body.page-id-77 .page-title::after,
body.page-id-27 .page-title::after,
body.page-id-78 .page-title::after,
body.page-id-80 .page-title::after {
  content: "";
  display: block;
  width: 110px;
  height: 6px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), transparent);
  margin-top: 16px;
}
body.page-id-77 .page-lede,
body.page-id-27 .page-lede,
body.page-id-78 .page-lede,
body.page-id-80 .page-lede {
  border-left: 3px solid rgba(217,168,61,.6);
  padding-left: 18px;
}
/* per-page hero variation */
body.page-id-77 .page-hero { --gt-sash: 245deg; --gt-crest-l: -30px; --gt-crest-r: auto; }
body.page-id-80 .page-hero { --gt-sash: 245deg; --gt-crest-l: -30px; --gt-crest-r: auto; }
body.page-id-78 .page-hero { --gt-sash: 205deg; }

/* ---------- SHARED: chapters, dividers, drop caps ---------- */
body.page-id-77 .content-section,
body.page-id-27 .content-section,
body.page-id-78 .content-section,
body.page-id-80 .content-section { counter-increment: gtchap; position: relative; }
body.page-id-77 .content-section + .content-section::before,
body.page-id-27 .content-section + .content-section::before,
body.page-id-78 .content-section + .content-section::before,
body.page-id-80 .content-section + .content-section::before {
  content: "";
  position: absolute;
  top: -33px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--divider) 15%, var(--divider) 85%, transparent);
}
body.page-id-77 .content-section h2 + p::first-letter,
body.page-id-27 .content-section h2 + p::first-letter,
body.page-id-78 .content-section h2 + p::first-letter,
body.page-id-80 .content-section h2 + p::first-letter,
body.page-id-77 .content-callout h3 + p::first-letter,
body.page-id-27 .content-callout h3 + p::first-letter,
body.page-id-78 .content-callout h3 + p::first-letter,
body.page-id-80 .content-callout h3 + p::first-letter {
  float: left;
  font: 700 54px/0.95 Georgia, serif;
  color: var(--gold);
  padding: 4px 12px 0 0;
}
/* ABOUT: heritage gold circles */
body.page-id-77 .content-section h2::before {
  content: counter(gtchap, decimal-leading-zero);
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy);
  font: 800 16px/48px Arial, Helvetica, sans-serif;
  text-align: center;
  letter-spacing: 1px;
  margin-bottom: 14px;
  box-shadow: 0 8px 18px rgba(217,168,61,.35);
  -webkit-text-stroke: 0;
}
/* FIXTURES: matchday ticket tabs + dashed gold divider */
body.page-id-27 .content-section h2::before {
  content: counter(gtchap, decimal-leading-zero);
  display: inline-block;
  padding: 7px 16px 6px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy);
  font: 800 12px/1 Arial, Helvetica, sans-serif;
  letter-spacing: 5px;
  border-radius: 4px;
  margin-bottom: 12px;
  box-shadow: 0 8px 18px rgba(217,168,61,.3);
  -webkit-text-stroke: 0;
}
body.page-id-27 .content-section + .content-section::before {
  top: -34px;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(217,168,61,.55) 0 10px, transparent 10px 20px);
}
/* GALLERY: italic gold numbers (like the club album style) */
body.page-id-78 .content-section h2::before {
  content: counter(gtchap, decimal-leading-zero);
  display: block;
  font: italic 700 15px Georgia, serif;
  letter-spacing: 5px;
  color: var(--gold);
  margin-bottom: 8px;
}
/* COMMUNITY: outlined N-degree pills */
body.page-id-80 .content-section h2::before {
  content: "N\00B0 " counter(gtchap, decimal-leading-zero);
  display: inline-block;
  padding: 6px 16px 5px;
  border: 1px solid rgba(217,168,61,.65);
  border-radius: 999px;
  background: rgba(217,168,61,.10);
  color: #a8791f;
  font: 800 12px/1.4 Arial, Helvetica, sans-serif;
  letter-spacing: 3px;
  margin-bottom: 12px;
  -webkit-text-stroke: 0;
}

/* ---------- SHARED: cricket-ball bullets, framed figures ---------- */
body.page-id-77 .content-section ul,
body.page-id-27 .content-section ul,
body.page-id-78 .content-section ul,
body.page-id-80 .content-section ul {
  list-style: none;
  padding-left: 30px;
}
body.page-id-77 .content-section li,
body.page-id-27 .content-section li,
body.page-id-78 .content-section li,
body.page-id-80 .content-section li { position: relative; }
body.page-id-77 .content-section li::before,
body.page-id-27 .content-section li::before,
body.page-id-78 .content-section li::before,
body.page-id-80 .content-section li::before {
  content: "";
  position: absolute;
  left: -27px;
  top: 11px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, var(--gold-light) 0%, var(--gold) 60%, #a8791f 100%);
  box-shadow: 0 0 0 3px rgba(217,168,61,.15);
}
body.page-id-77 .content-figure,
body.page-id-27 .content-figure,
body.page-id-78 .content-figure,
body.page-id-80 .content-figure {
  position: relative;
  margin: 44px 0;
}
body.page-id-77 .content-figure img,
body.page-id-27 .content-figure img,
body.page-id-78 .content-figure img,
body.page-id-80 .content-figure img {
  height: 430px;
  border: 0;
  border-radius: 22px;
  box-shadow: 0 24px 50px rgba(4,17,38,.20);
}
body.page-id-77 .content-figure::before,
body.page-id-27 .content-figure::before,
body.page-id-78 .content-figure::before,
body.page-id-80 .content-figure::before {
  content: "";
  position: absolute;
  top: -12px;
  left: -12px;
  width: 96px;
  height: 96px;
  border-top: 4px solid var(--gold);
  border-left: 4px solid var(--gold);
  border-radius: 22px 0 0 0;
  z-index: 2;
  pointer-events: none;
}
body.page-id-77 .content-figure figcaption,
body.page-id-27 .content-figure figcaption,
body.page-id-78 .content-figure figcaption,
body.page-id-80 .content-figure figcaption {
  margin-top: 16px;
  padding-left: 16px;
  border-left: 3px solid var(--gold);
  text-align: left;
  font-size: 13.5px;
  color: #56647c;
}

/* ---------- SHARED: navy feature blockquote ---------- */
body.page-id-77 .content-section blockquote,
body.page-id-27 .content-section blockquote,
body.page-id-78 .content-section blockquote,
body.page-id-80 .content-section blockquote {
  position: relative;
  margin: 48px 0;
  padding: 40px 44px 34px;
  background: linear-gradient(135deg, #0a1e3d, var(--navy));
  border-left: 0;
  border-radius: 20px;
  box-shadow: 0 24px 50px rgba(4,17,38,.28);
  text-align: center;
}
body.page-id-77 .content-section blockquote::before,
body.page-id-27 .content-section blockquote::before,
body.page-id-78 .content-section blockquote::before,
body.page-id-80 .content-section blockquote::before {
  content: "\201C";
  display: block;
  font: 700 72px/0.55 Georgia, serif;
  color: var(--gold);
  margin-bottom: 16px;
}
body.page-id-77 .content-section blockquote p,
body.page-id-27 .content-section blockquote p,
body.page-id-78 .content-section blockquote p,
body.page-id-80 .content-section blockquote p {
  margin: 0;
  color: #fff;
  font: italic 21px/1.75 Georgia, serif;
}
body.page-id-77 .content-section blockquote::after,
body.page-id-27 .content-section blockquote::after,
body.page-id-78 .content-section blockquote::after,
body.page-id-80 .content-section blockquote::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin: 20px auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}
body.page-id-80 .content-section blockquote cite {
  display: block;
  margin-top: 16px;
  color: var(--gold-light);
  font: 700 12px/1.5 Arial, Helvetica, sans-serif;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-style: normal;
}

/* ---------- SHARED CALLOUT FRAME + ball watermark ---------- */
body.page-id-77 .content-callout,
body.page-id-27 .content-callout,
body.page-id-78 .content-callout,
body.page-id-80 .content-callout {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 46px 48px;
  border: 1px solid rgba(217,168,61,.5);
  box-shadow: 0 20px 48px rgba(4,17,38,.14);
}
body.page-id-77 .content-callout::after,
body.page-id-27 .content-callout::after,
body.page-id-78 .content-callout::after,
body.page-id-80 .content-callout::after {
  content: "";
  position: absolute;
  right: -55px;
  bottom: -75px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, rgba(217,168,61,.45) 0%, rgba(217,168,61,.14) 62%, transparent 66%);
  pointer-events: none;
}
body.page-id-77 .content-callout > *,
body.page-id-27 .content-callout > *,
body.page-id-78 .content-callout > *,
body.page-id-80 .content-callout > * { position: relative; z-index: 1; }
/* ABOUT + GALLERY: gold-cream panels */
body.page-id-77 .content-callout,
body.page-id-78 .content-callout {
  background:
    radial-gradient(520px 240px at 92% -10%, rgba(217,168,61,.38), transparent 65%),
    linear-gradient(120deg, #fdf7e6 0%, #fbe9c0 100%);
  color: var(--navy);
  box-shadow: 0 20px 48px rgba(217,168,61,.22);
}
body.page-id-77 .content-callout h3,
body.page-id-78 .content-callout h3 { color: var(--navy); font-size: 30px; }
body.page-id-77 .content-callout h3 .wr-w,
body.page-id-78 .content-callout h3 .wr-w { -webkit-text-stroke-color: rgba(4,17,38,.42); }
body.page-id-77 .content-callout h3:hover .wr-w,
body.page-id-78 .content-callout h3:hover .wr-w {
  color: var(--gold);
  -webkit-text-stroke-color: rgba(217,168,61,0);
}
body.page-id-77 .content-callout p,
body.page-id-78 .content-callout p { color: #4a5872; }
body.page-id-77 .content-callout a,
body.page-id-78 .content-callout a { color: #a8791f; }
/* FIXTURES: navy matchday panel */
body.page-id-27 .content-callout {
  background:
    radial-gradient(520px 240px at 90% -10%, rgba(217,168,61,.22), transparent 65%),
    linear-gradient(135deg, #0a1e3d, var(--navy));
  color: #fff;
}
body.page-id-27 .content-callout p { color: #d0d9e5; }
body.page-id-27 .content-callout a { color: var(--gold-light); }
/* COMMUNITY: white card with gold rail */
body.page-id-80 .content-callout {
  background: #fff;
  border: 1px solid var(--divider);
  border-left: 6px solid var(--gold);
  color: var(--navy);
  box-shadow: 0 20px 48px rgba(4,17,38,.10);
}
body.page-id-80 .content-callout h3 { color: var(--navy); font-size: 30px; }
body.page-id-80 .content-callout h3 .wr-w { -webkit-text-stroke-color: rgba(4,17,38,.42); }
body.page-id-80 .content-callout h3:hover .wr-w {
  color: var(--gold);
  -webkit-text-stroke-color: rgba(217,168,61,0);
}
body.page-id-80 .content-callout p { color: #4a5872; }
body.page-id-80 .content-callout a { color: #a8791f; }

/* ---------- COMMUNITY: warm cream section cards ---------- */
body.page-id-80 .content-section {
  background: linear-gradient(135deg, #fffdf7 0%, #f9f6ec 100%);
  border: 1px solid rgba(217,168,61,.28);
  border-radius: 22px;
  padding: 52px 48px;
  margin-bottom: 36px;
  box-shadow: 0 14px 36px rgba(4,17,38,.07);
}
body.page-id-80 .content-section + .content-section::before { display: none; }

/* ---------- ABOUT: white closing card (Come and Join Us) ---------- */
body.page-id-77 .entry-content > .content-section:last-child {
  background: #fff;
  border: 1px solid var(--divider);
  border-left: 6px solid var(--gold);
  border-radius: 20px;
  padding: 44px 48px;
  box-shadow: 0 20px 48px rgba(4,17,38,.10);
}

/* ---------- GALLERY: masonry photo frames with hover captions ---------- */
body.page-id-78 .gal-grid {
  columns: 3;
  column-gap: 22px;
  margin: 8px 0 54px;
}
body.page-id-78 .gal-item {
  break-inside: avoid;
  position: relative;
  margin: 0 0 22px;
  border-radius: 18px;
  overflow: hidden;
  border: 3px solid #fff;
  outline: 1px solid rgba(217,168,61,.4);
  box-shadow: 0 18px 40px rgba(4,17,38,.18);
}
body.page-id-78 .gal-item img {
  display: block;
  width: 100%;
  transition: transform .7s ease;
}
body.page-id-78 .gal-item:hover img { transform: scale(1.07); }
body.page-id-78 .gal-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4,17,38,0) 38%, rgba(4,17,38,.85) 100%);
  opacity: 0;
  transition: opacity .5s ease;
  z-index: 1;
  pointer-events: none;
}
body.page-id-78 .gal-item:hover::before { opacity: 1; }
body.page-id-78 .gal-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 18px 18px 14px;
  font: italic 13.5px/1.55 Georgia, serif;
  color: #fff;
  transform: translateY(103%);
  transition: transform .5s ease;
  z-index: 2;
}
body.page-id-78 .gal-item:hover figcaption { transform: translateY(0); }

/* ---------- SHARED: crest watermark behind content (desktop) ---------- */
body.page-id-77 .entry-content,
body.page-id-27 .entry-content,
body.page-id-78 .entry-content,
body.page-id-80 .entry-content { position: relative; }
body.page-id-77 .entry-content::before,
body.page-id-27 .entry-content::before,
body.page-id-78 .entry-content::before,
body.page-id-80 .entry-content::before {
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 540px;
  height: 540px;
  background: url("/wp-content/uploads/2026/10/Royal-Falcons-Cricket-Club-Crest.png") center/contain no-repeat;
  opacity: .045;
  pointer-events: none;
  z-index: 0;
}
body.page-id-77 .entry-content > *,
body.page-id-27 .entry-content > *,
body.page-id-78 .entry-content > *,
body.page-id-80 .entry-content > * { position: relative; z-index: 1; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  body.page-id-77 .entry-content::before,
  body.page-id-27 .entry-content::before,
  body.page-id-78 .entry-content::before,
  body.page-id-80 .entry-content::before { display: none; }
  body.page-id-78 .gal-grid { columns: 2; }
}
@media (max-width: 700px) {
  body.page-id-77 .page-hero,
  body.page-id-27 .page-hero,
  body.page-id-78 .page-hero,
  body.page-id-80 .page-hero { padding-bottom: 84px; }
  body.page-id-77 .page-hero::before,
  body.page-id-27 .page-hero::before,
  body.page-id-78 .page-hero::before,
  body.page-id-80 .page-hero::before { width: 260px; height: 260px; bottom: -60px; }
  body.page-id-77 .page-hero::after,
  body.page-id-27 .page-hero::after,
  body.page-id-78 .page-hero::after,
  body.page-id-80 .page-hero::after { width: 54px; height: 54px; bottom: -27px; background-size: 32px; }
  body.page-id-77 .page-title::after,
  body.page-id-27 .page-title::after,
  body.page-id-78 .page-title::after,
  body.page-id-80 .page-title::after { width: 84px; height: 5px; }
  body.page-id-77 .content-section h2 + p::first-letter,
  body.page-id-27 .content-section h2 + p::first-letter,
  body.page-id-78 .content-section h2 + p::first-letter,
  body.page-id-80 .content-section h2 + p::first-letter,
  body.page-id-77 .content-callout h3 + p::first-letter,
  body.page-id-27 .content-callout h3 + p::first-letter,
  body.page-id-78 .content-callout h3 + p::first-letter,
  body.page-id-80 .content-callout h3 + p::first-letter { font-size: 44px; }
  body.page-id-77 .content-figure,
  body.page-id-27 .content-figure,
  body.page-id-78 .content-figure,
  body.page-id-80 .content-figure { margin: 34px 0; }
  body.page-id-77 .content-figure::before,
  body.page-id-27 .content-figure::before,
  body.page-id-78 .content-figure::before,
  body.page-id-80 .content-figure::before { display: none; }
  body.page-id-77 .content-section blockquote,
  body.page-id-27 .content-section blockquote,
  body.page-id-78 .content-section blockquote,
  body.page-id-80 .content-section blockquote { padding: 32px 22px 28px; }
  body.page-id-77 .content-callout,
  body.page-id-27 .content-callout,
  body.page-id-78 .content-callout,
  body.page-id-80 .content-callout { padding: 34px 26px; }
  body.page-id-77 .content-callout h3,
  body.page-id-27 .content-callout h3,
  body.page-id-78 .content-callout h3,
  body.page-id-80 .content-callout h3 { font-size: 24px; }
  body.page-id-80 .content-section { padding: 36px 24px; }
  body.page-id-77 .entry-content > .content-section:last-child { padding: 32px 24px; }
}
@media (max-width: 560px) {
  body.page-id-78 .gal-grid { columns: 1; }
}

/* ================================================================
   ELEMENTOR BRIDGES — pages 77 / 27 / 78 / 80 / 81 rebuilt with
   NATIVE Elementor widgets (heading · text-editor · image ·
   shortcode — NO HTML widgets). Classes now sit on widget wrappers,
   so these selectors re-connect the classic styles to the inner
   tags. Classic rules above remain as fallback content styles.
   ================================================================ */

/* ---- KIT GLOBALS ------------------------------------------------
   Elementor4 writes kit-driven styles into each page's post-{id}.css
   AFTER the theme loads: headings get the kit's Roboto + #6EC1E4
   blue, text widgets get kit grey — which beat our specificity-0-1-1
   rules. Redefine the CSS variables in Golden Thread terms so those
   generated rules resolve back to the design (navy Georgia
   headings, gold eyebrow, white hero title, Arial body text).
   Scopes below win by custom-property inheritance — nearest
   ancestor value applies to the generated declarations. --------- */
body:is(.page-id-77, .page-id-27, .page-id-78, .page-id-80, .page-id-81) {
  --e-global-typography-primary-font-family: Georgia, serif;
  --e-global-typography-primary-font-weight: 400;
  --e-global-color-primary: var(--navy);
  --e-global-typography-text-font-family: Arial, Helvetica, sans-serif;
  --e-global-typography-text-font-weight: 400;
  --e-global-color-text: inherit;
}
body:is(.page-id-77, .page-id-27, .page-id-78, .page-id-80, .page-id-81) .page-hero {
  --e-global-color-primary: #ffffff;
}
body:is(.page-id-77, .page-id-27, .page-id-78, .page-id-80, .page-id-81) .page-eyebrow {
  --e-global-color-primary: var(--gold-light);
  --e-global-typography-primary-font-family: Arial, Helvetica, sans-serif;
  --e-global-typography-primary-font-weight: 700;
}
body:is(.page-id-77, .page-id-27, .page-id-78, .page-id-80, .page-id-81) .page-lede {
  --e-global-color-text: #d0d9e5;
}
/* fixtures callout = navy panel → gold headings (base design) */
body.page-id-27 .content-callout { --e-global-color-primary: var(--gold-light); }
/* join form sits on the navy panel → white heading */
body.page-id-81 .join-form-section { --e-global-color-primary: #ffffff; }

/* ---- HERO: style the inner tags behind the wrapper classes ---- */
.page-title .elementor-heading-title {
  font: 46px Georgia, serif;
  margin: 0;
  max-width: 800px;
}
.page-eyebrow .elementor-heading-title {
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}
.page-lede > p { margin: 0; }

/* ---- DROP CAPS: heading widget + text widget are sibling wrappers ---- */
body:is(.page-id-77, .page-id-27, .page-id-78, .page-id-80, .page-id-81)
  :is(.content-section, .content-callout)
  .elementor-widget-heading + .elementor-widget-text-editor
  > p:first-of-type::first-letter {
  float: left;
  font: 700 54px/0.95 Georgia, serif;
  color: var(--gold);
  padding: 4px 12px 0 0;
}

/* ---- JOIN: form intro paragraph (was .join-form-section > p) ---- */
body.page-id-81 .join-form-section .elementor-widget-text-editor p {
  color: rgba(255, 255, 255, .78);
  max-width: 760px;
}

/* ---- CLOSING CARDS: .entry-content > section is now column > section ---- */
body.page-id-81 .entry-content .content-section:nth-last-child(2) {
  background: #fff;
  border: 1px solid var(--divider);
  border-left: 6px solid var(--gold);
  border-radius: 20px;
  padding: 44px 48px;
  box-shadow: 0 20px 48px rgba(4, 17, 38, .10);
}
body.page-id-77 .entry-content .content-section:last-child {
  background: #fff;
  border: 1px solid var(--divider);
  border-left: 6px solid var(--gold);
  border-radius: 20px;
  padding: 44px 48px;
  box-shadow: 0 20px 48px rgba(4, 17, 38, .10);
}

/* ---- FIGURE CAPTIONS: Text Editor widget under each Image widget ---- */
.fig-cap { margin: -24px 0 34px; }
.fig-cap > p {
  font: italic 13.5px/1.6 Georgia, serif;
  color: #56647c;
  margin: 0;
  padding-left: 16px;
  border-left: 3px solid var(--gold);
}

/* ---- GALLERY: photo frames, hover zoom + overlay, caption rails ---- */
body.page-id-78 .gal-grid { padding-top: 0; padding-bottom: 0; }
/* The classic rule above sets columns: 3 (multicol masonry) for the
   fallback .gal-item markup. The Elementor grid is a section with
   three native columns instead — multicol would trap the whole
   .elementor-container in one 261px column strip. Reset it here
   (higher specificity wins inside the mobile media queries too) and
   give the columns their share: Elementor 4 ships no .elementor-col-4
   width utility, so the flex columns would collapse to min-content. */
body.page-id-78 .gal-grid.elementor-inner-section {
  column-count: auto;
  column-width: auto;
  column-gap: normal;
}
body.page-id-78 .gal-grid .elementor-container > .elementor-col-4,
body.page-id-78 .gal-grid .elementor-container > .elementor-col-33,
body.page-id-78 .gal-grid .elementor-container > .elementor-col-34,
body.page-id-78 .gal-grid .elementor-container > [data-col="4"],
body.page-id-78 .gal-grid .elementor-container > [data-col="33"],
body.page-id-78 .gal-grid .elementor-container > [data-col="34"] {
  width: calc(100% / 3);
}
body.page-id-78 .gal-grid .elementor-column {
  padding: 0 11px;
  box-sizing: border-box;
}
body.page-id-78 .gal-frame {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 3px solid #fff;
  outline: 1px solid rgba(217, 168, 61, .4);
  box-shadow: 0 18px 40px rgba(4, 17, 38, .18);
  margin-bottom: 12px;
}
body.page-id-78 .gal-frame img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transition: transform .7s ease;
}
body.page-id-78 .gal-frame:hover img { transform: scale(1.06); }
body.page-id-78 .gal-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 17, 38, 0) 38%, rgba(4, 17, 38, .85) 100%);
  opacity: 0;
  transition: opacity .5s ease;
  pointer-events: none;
  z-index: 1;
}
body.page-id-78 .gal-frame:hover::after { opacity: 1; }
body.page-id-78 .gal-cap { margin: 0 0 26px; }
body.page-id-78 .gal-cap > p {
  font: italic 13.5px/1.55 Georgia, serif;
  color: #56647c;
  margin: 0;
}

/* ---- RESPONSIVE BRIDGES ---- */
@media (max-width: 900px) {
  body:is(.page-id-77, .page-id-27, .page-id-78, .page-id-80, .page-id-81)
    :is(.content-section, .content-callout)
    .elementor-widget-heading + .elementor-widget-text-editor
    > p:first-of-type::first-letter { font-size: 44px; }
  body.page-id-78 .gal-grid .elementor-container { flex-wrap: wrap; }
  body.page-id-78 .gal-grid .elementor-col-4,
  body.page-id-78 .gal-grid .elementor-col-33,
  body.page-id-78 .gal-grid .elementor-col-34,
  body.page-id-78 .gal-grid [data-col="4"],
  body.page-id-78 .gal-grid [data-col="33"],
  body.page-id-78 .gal-grid [data-col="34"] { width: 50% !important; }
}
@media (max-width: 700px) {
  body.page-id-81 .entry-content .content-section:nth-last-child(2) { padding: 32px 26px; }
  body.page-id-77 .entry-content .content-section:last-child { padding: 32px 24px; }
}
@media (max-width: 600px) {
  .page-title .elementor-heading-title { font-size: 32px; }
}
@media (max-width: 560px) {
  body.page-id-78 .gal-grid .elementor-col-4,
  body.page-id-78 .gal-grid .elementor-col-33,
  body.page-id-78 .gal-grid .elementor-col-34,
  body.page-id-78 .gal-grid [data-col="4"],
  body.page-id-78 .gal-grid [data-col="33"],
  body.page-id-78 .gal-grid [data-col="34"] { width: 100% !important; }
}
