.wp-block-post-author, .wp-block-post-author__byline, .wp-block-post-date, .wp-block-post-author a, .wp-block-post-date a { color: #f0f0f0 !important; }

/* Sitewide muted sports background — added Oct 26, 2026. Remove this block to revert. */
body {
  background-color: #000000;
  background-image: linear-gradient(rgba(0, 0, 0, 0.20), rgba(0, 0, 0, 0.20)), url("https://earthlovesportsclub.com/wp-content/uploads/2026/10/media-generation-muted-sports-background-0-e07ed461-f6e3-40ed-a410-d3aa01c8ab6b.webp");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center center;
  background-size: cover;
}

/* Readable gold content links over the 20% background overlay - added Oct 26, 2026. Remove this block to revert to the theme's dark-red links. Gold #E8C766 fits the club's black-and-gold colors. Scoped to main content only, so the red menu bar, buttons, header and banquet banner are not recolored. No fonts, sizes, layout or background changes. */
main .wp-block-post-title a,
main .wp-block-post-title,
main .wp-block-query-loop .wp-block-post-title a,
main .wp-block-post-excerpt__more-link,
main a.more-link,
main .more-link a,
main .wp-block-read-more,
main .wp-block-query-pagination a,
main .wp-block-query-pagination-next,
main .wp-block-query-pagination-previous,
main .nav-links a,
main .pagination a,
main .wp-block-post-author__byline,
main .wp-block-post-author,
main .wp-block-post-date,
main table a,
main .wp-block-table a,
main .sp-league-table a,
main .sp-data-table a,
main a.sp-team-link,
main .sp-team-link,
main .sp-template-league-table a,
main .sp-template-team-list a,
main ul.products li.product .woocommerce-loop-product__title a,
main ul.products li.product .woocommerce-loop-product__title,
main .related.products .woocommerce-loop-product__title a,
main .related.products .price,
main ul.products li.product .price,
main .woocommerce-loop-product__title a {
  color: #E8C766 !important;
}
main .wp-block-post-title a:hover,
main .wp-block-post-title a:focus,
main .wp-block-post-excerpt__more-link:hover,
main .wp-block-post-excerpt__more-link:focus,
main a.more-link:hover,
main a.more-link:focus,
main .more-link a:hover,
main .more-link a:focus,
main .wp-block-read-more:hover,
main .wp-block-read-more:focus,
main .wp-block-query-pagination a:hover,
main .wp-block-query-pagination a:focus,
main .wp-block-query-pagination-next:hover,
main .wp-block-query-pagination-next:focus,
main .wp-block-query-pagination-previous:hover,
main .wp-block-query-pagination-previous:focus,
main .nav-links a:hover,
main .nav-links a:focus,
main .pagination a:hover,
main .pagination a:focus,
main table a:hover,
main table a:focus,
main .wp-block-table a:hover,
main .wp-block-table a:focus,
main .sp-league-table a:hover,
main .sp-league-table a:focus,
main .sp-data-table a:hover,
main .sp-data-table a:focus,
main a.sp-team-link:hover,
main a.sp-team-link:focus,
main .sp-team-link:hover,
main .sp-team-link:focus,
main .sp-template-league-table a:hover,
main .sp-template-league-table a:focus,
main .sp-template-team-list a:hover,
main .sp-template-team-list a:focus,
main ul.products li.product .woocommerce-loop-product__title a:hover,
main ul.products li.product .woocommerce-loop-product__title a:focus,
main .related.products .woocommerce-loop-product__title a:hover,
main .related.products .woocommerce-loop-product__title a:focus,
main .woocommerce-loop-product__title a:hover,
main .woocommerce-loop-product__title a:focus {
  color: #F5D98A !important;
}

/* Page titles — smaller with black background — added Oct 26, 2026. Remove this block to revert. Scoped to singular pages only: the unlinked post-title on a page, plus the Shop header title. Linked titles in query loops, latest-posts lists, and the sidebar Recent posts are excluded by :not(:has(a)) and are not targeted here. Color, font, and all other properties are left unchanged. */
body.page .wp-block-post-title:not(:has(a)),
body.page .entry-title:not(:has(a)),
body.woocommerce-shop .woocommerce-products-header__title {
  font-size: 2rem;
  padding: 0.5rem 1rem;
  background-color: #000000;
  display: inline-block;
}

/* Header language selector - white globe + EN / FR - added Oct 26, 2026. Remove this block to revert to plain EN / FR text links. */.wp-block-navigation-item.lang-switch { align-self: center; }
.lang-switch > a { color: #ffffff !important; text-decoration: none; }
.lang-switch-en > a::before { content: ""; display: inline-block; width: 1.15em; height: 1.15em; margin-right: 0.4em; vertical-align: -0.2em; background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='white'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Ccircle%20cx='12'%20cy='12'%20r='10'/%3E%3Cpath%20d='M12%202a14.5%2014.5%200%200%200%200%2020%2014.5%2014.5%200%200%200%200-20'/%3E%3Cpath%20d='M2%2012h20'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; background-size: contain; }
.lang-switch-en > a::after { content: "/"; margin: 0 0.45em; color: #ffffff; }
/* Keep the Menu 2 item descriptions (English / Francais) available to screen readers while only EN / FR is visible, if the theme renders them. */
.lang-switch .wp-block-navigation-item__description { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }

/* Blog post titles at 2rem — added Oct 26, 2026. Size only: no background, padding, box or color change. Scoped to main content on the posts feed and single posts, so the sidebar Recent posts widget titles are not changed. Remove this block to revert. */
body.blog main .wp-block-post-title,
body.single .wp-block-post-title {
  font-size: 2rem;
}

/* Teams & League page styling — added Oct 27, 2026. Scoped to the English Teams & League page only; remove this block to revert. */
body.page-id-2173 main table { width: 100%; border-collapse: collapse; background: rgba(0, 0, 0, 0.78); color: #ffffff; border: 1px solid rgba(232, 199, 102, 0.35); margin-bottom: 2rem; }
body.page-id-2173 main table th { background: #000000; color: #E8C766; border-bottom: 2px solid #E8C766; padding: 0.65rem 0.75rem; text-align: left; }
body.page-id-2173 main table td { color: #ffffff; border-bottom: 1px solid rgba(232, 199, 102, 0.25); padding: 0.6rem 0.75rem; }
body.page-id-2173 main table tbody tr:nth-child(even) td { background: rgba(232, 199, 102, 0.07); }
body.page-id-2173 main table a { color: #E8C766; }
body.page-id-2173 main table a:hover, body.page-id-2173 main table a:focus { color: #F5D98A; }
body.page-id-2173 main .wp-block-table table tbody tr:nth-child(3) td { background: rgba(232, 199, 102, 0.20); border-top: 1px solid #E8C766; border-bottom: 1px solid #E8C766; font-weight: 700; color: #ffffff; }
body.page-id-2173 main h2:not(.wp-block-post-title) { font-size: 1.6rem; line-height: 1.25; color: #ffffff; margin: 2.5rem 0 0.75rem; padding-bottom: 0.35rem; border-bottom: 2px solid rgba(232, 199, 102, 0.5); }
body.page-id-2173 main h4 { font-size: 1.15rem; color: #E8C766; margin: 1.5rem 0 0.75rem; }
body.page-id-2173 main p { margin-bottom: 1.25rem; }
body.page-id-2173 main ul { margin-bottom: 2rem; }body.page-id-2173 table { background: rgba(0, 0, 0, 0.78) !important; color: #ffffff !important; }
body.page-id-2173 table th { background: #000000 !important; color: #E8C766 !important; border-bottom: 2px solid #E8C766 !important; }
body.page-id-2173 table td { background: rgba(0, 0, 0, 0.78) !important; color: #ffffff !important; border-bottom: 1px solid rgba(232, 199, 102, 0.25) !important; padding: 0.6rem 0.75rem !important; }
body.page-id-2173 table a { color: #E8C766 !important; }
body.page-id-2173 h2:not(.wp-block-post-title) { border-bottom: 2px solid rgba(232, 199, 102, 0.5) !important; }
body.page-id-2173 table td *:not(a) { color: #ffffff !important; }
body.page-id-2173 table tbody tr:nth-child(even) td { background: rgba(232, 199, 102, 0.10) !important; }
body.page-id-2173 .wp-block-table table tbody tr:nth-child(3) td { background: rgba(232, 199, 102, 0.22) !important; border-top: 1px solid #E8C766 !important; border-bottom: 1px solid #E8C766 !important; font-weight: 700 !important; }
body.page-id-2173 h2:not(.wp-block-post-title) { font-size: 1.6rem !important; line-height: 1.25 !important; color: #ffffff !important; margin: 2.5rem 0 0.75rem !important; padding-bottom: 0.35rem !important; border-bottom: 2px solid rgba(232, 199, 102, 0.5) !important; }
body.page-id-2173 h4 { font-size: 1.15rem !important; color: #E8C766 !important; margin: 1.5rem 0 0.75rem !important; }
body.page-id-2173 ul.wp-block-list { margin-bottom: 2rem !important; }body.page-id-2173 h4 { background: #000000 !important; padding: 0.5rem 0.75rem !important; }
/* Teams & League table panels  added Oct 27, 2026. Red 25% background behind both tables, with padding around each table. Remove this block to revert. Scoped to English Teams & League (page-id-2173) only. */body.page-id-2173 figure.wp-block-table,body.page-id-2173 .sp-table-wrapper {  background-color: rgba(255, 0, 0, 0.25);  padding: 1rem;}

/* Teams & League photo and season-summary panels — added Oct 27, 2026. Same red 25% panel treatment as the table panels, scoped to the English Teams & League page (page-id-2173) only. Remove this block to revert. */
body.page-id-2173 figure.wp-block-image.teams-league-photo-panel {
  background-color: rgba(255, 0, 0, 0.25);
  padding: 1rem;
}
body.page-id-2173 p.teams-league-season-summary-panel {
  background-color: rgba(255, 0, 0, 0.25);
  padding: 1rem;
  color: #ffffff;
}





/* Earth Love United team page only (SportsPress team post 2140) — Teams & League dark/gold treatment, added Oct 27, 2026. Scoped to body.postid-2140 .entry-content only, so no other page is affected. The main page title is intentionally not restyled here. The standings header row counts as the first table row, so Earth Love United is the fourth row. Remove this whole block to revert. */
body.postid-2140 .entry-content table {
  width: 100%;
  background-color: rgba(0, 0, 0, 0.78);
  color: #ffffff;
  border-collapse: collapse;
  border: 1px solid rgba(232, 199, 102, 0.5);
  box-shadow: 0 0 0 1rem rgba(255, 0, 0, 0.25);
  margin: 1.5rem 0;
}
body.postid-2140 .entry-content table th {
  background-color: #000000;
  color: #E8C766;
  border-bottom: 2px solid #E8C766;
  padding: 0.75rem 0.9rem;
}
body.postid-2140 .entry-content table td {
  color: #ffffff;
  border: 1px solid rgba(232, 199, 102, 0.35);
  padding: 0.6rem 0.75rem;
}
body.postid-2140 .entry-content table td span,
body.postid-2140 .entry-content table td small,
body.postid-2140 .entry-content table td em {
  color: #ffffff;
}
body.postid-2140 .entry-content table tbody tr:nth-child(even) td {
  background-color: rgba(232, 199, 102, 0.10);
}
body.postid-2140 .entry-content table a {
  color: #E8C766;
}
body.postid-2140 .entry-content table a:hover,
body.postid-2140 .entry-content table a:focus {
  color: #F5D98A;
}
body.postid-2140 .entry-content table:has(td:nth-child(10)) tbody tr:nth-child(4) td {
  background-color: rgba(232, 199, 102, 0.22);
  border-top: 2px solid #E8C766;
  border-bottom: 2px solid #E8C766;
  font-weight: 700;
  color: #ffffff;
}
body.postid-2140 .entry-content table:has(td:nth-child(10)) tbody tr:nth-child(4) td a {
  color: #ffffff;
}
body.postid-2140 .entry-content ul {
  width: 100%;
  background-color: rgba(0, 0, 0, 0.78);
  color: #ffffff;
  border: 1px solid rgba(232, 199, 102, 0.5);
  padding: 1rem 1rem 1rem 2rem;
  box-shadow: 0 0 0 1rem rgba(255, 0, 0, 0.25);
  margin: 1.5rem 0;
}
body.postid-2140 .entry-content ul li {
  color: #ffffff;
  padding: 0.25rem 0;
}
body.postid-2140 .entry-content p:last-of-type {
  background-color: rgba(0, 0, 0, 0.78);
  color: #ffffff;
  border: 1px solid rgba(232, 199, 102, 0.5);
  padding: 1rem;
  box-shadow: 0 0 0 1rem rgba(255, 0, 0, 0.25);
  margin: 1.5rem 0;
}
body.postid-2140 .entry-content h2:not(.wp-block-post-title, .entry-title),
body.postid-2140 .entry-content h3 {
  font-size: 1.6rem;
  color: #ffffff;
  border-bottom: 2px solid rgba(232, 199, 102, 0.9);
  padding-bottom: 0.35rem;
}
/* === SITEWIDE: Earth Love stats treatment - added Oct 27, 2026 === */
/* Applies the Earth Love United dark/gold table and subheading treatment to main content sitewide. To revert, delete this whole block only. */
/* The earlier Teams & League (page-id-2173) and Earth Love United (postid-2140) blocks are excluded below, so they keep rendering exactly as before. Cart, checkout and account pages are also excluded. */
/* No global p:last-of-type rule and no global standings-row highlight are included. */
/* Red panel: figure-wrapped tables get the red panel from their figure padding; all other tables get the red box-shadow spread. Never both on the same table. */
body:not(.page-id-2173):not(.postid-2140):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) .entry-content table:not(.shop_table):not(.variations),
body:not(.page-id-2173):not(.postid-2140):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) .wp-block-post-content table:not(.shop_table):not(.variations) {
 width: 100%;
 background-color: rgba(0,0,0,0.78);
 color: #ffffff;
 border-collapse: collapse;
 border: 1px solid rgba(232,199,102,0.5);
 box-shadow: 0 0 0 1rem rgba(255,0,0,0.25);
 margin: 1.5rem 0;
}
body:not(.page-id-2173):not(.postid-2140):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) .entry-content figure.wp-block-table,
body:not(.page-id-2173):not(.postid-2140):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) .wp-block-post-content figure.wp-block-table {
 background-color: rgba(255,0,0,0.25);
 padding: 1rem;
}
body:not(.page-id-2173):not(.postid-2140):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) .entry-content figure.wp-block-table table:not(.shop_table):not(.variations),
body:not(.page-id-2173):not(.postid-2140):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) .wp-block-post-content figure.wp-block-table table:not(.shop_table):not(.variations) {
 box-shadow: none;
}
body:not(.page-id-2173):not(.postid-2140):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) .entry-content table:not(.shop_table):not(.variations) th,
body:not(.page-id-2173):not(.postid-2140):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) .wp-block-post-content table:not(.shop_table):not(.variations) th {
 background-color: #000000;
 color: #E8C766;
 border-bottom: 2px solid #E8C766;
 padding: 0.75rem 0.9rem;
}
body:not(.page-id-2173):not(.postid-2140):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) .entry-content table:not(.shop_table):not(.variations) td,
body:not(.page-id-2173):not(.postid-2140):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) .wp-block-post-content table:not(.shop_table):not(.variations) td {
 color: #ffffff;
 border: 1px solid rgba(232,199,102,0.35);
 padding: 0.6rem 0.75rem;
}
body:not(.page-id-2173):not(.postid-2140):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) .entry-content table:not(.shop_table):not(.variations) td span,
body:not(.page-id-2173):not(.postid-2140):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) .entry-content table:not(.shop_table):not(.variations) td small,
body:not(.page-id-2173):not(.postid-2140):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) .entry-content table:not(.shop_table):not(.variations) td em {
 color: #ffffff;
}
body:not(.page-id-2173):not(.postid-2140):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) .entry-content table:not(.shop_table):not(.variations) tbody tr:nth-child(even) td,
body:not(.page-id-2173):not(.postid-2140):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) .wp-block-post-content table:not(.shop_table):not(.variations) tbody tr:nth-child(even) td {
 background-color: rgba(232,199,102,0.10);
}
body:not(.page-id-2173):not(.postid-2140):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) .entry-content table:not(.shop_table):not(.variations) a,
body:not(.page-id-2173):not(.postid-2140):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) .wp-block-post-content table:not(.shop_table):not(.variations) a {
 color: #E8C766;
}
body:not(.page-id-2173):not(.postid-2140):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) .entry-content table:not(.shop_table):not(.variations) a:hover,
body:not(.page-id-2173):not(.postid-2140):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) .entry-content table:not(.shop_table):not(.variations) a:focus {
 color: #F5D98A;
}
/* Content subheadings. Page and post titles and .entry-title are excluded. WooCommerce product titles are excluded. */
body:not(.page-id-2173):not(.postid-2140) .entry-content h2:not(.wp-block-post-title,.entry-title),
body:not(.page-id-2173):not(.postid-2140) .entry-content h3,
body:not(.page-id-2173):not(.postid-2140) .wp-block-post-content h2:not(.wp-block-post-title,.entry-title),
body:not(.page-id-2173):not(.postid-2140) .wp-block-post-content h3,
body:not(.page-id-2173):not(.postid-2140):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) .woocommerce h2:not(.woocommerce-loop-product__title,.product_title),
body:not(.page-id-2173):not(.postid-2140):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) .woocommerce h3:not(.woocommerce-loop-product__title,.product_title) {
 font-size: 1.6rem;
 color: #ffffff;
 border-bottom: 2px solid rgba(232,199,102,0.9);
 padding-bottom: 0.35rem;
}
/* Own-team standings highlights. One rule per team page, using that page's own team row in the 10-column standings table (header row counts as the first tbody row, so row = position + 1). Earth Love United (postid-2140, row 4) is already covered by its own earlier block and is not duplicated here. */
body.postid-2146 .entry-content table:has(td:nth-child(10)) tbody tr:nth-child(2) td { background-color: rgba(232,199,102,0.22); border-top: 2px solid #E8C766; border-bottom: 2px solid #E8C766; font-weight: 700; color: #ffffff; }
body.postid-2146 .entry-content table:has(td:nth-child(10)) tbody tr:nth-child(2) td a { color: #ffffff; }
body.postid-2145 .entry-content table:has(td:nth-child(10)) tbody tr:nth-child(3) td { background-color: rgba(232,199,102,0.22); border-top: 2px solid #E8C766; border-bottom: 2px solid #E8C766; font-weight: 700; color: #ffffff; }
body.postid-2145 .entry-content table:has(td:nth-child(10)) tbody tr:nth-child(3) td a { color: #ffffff; }
body.postid-2147 .entry-content table:has(td:nth-child(10)) tbody tr:nth-child(5) td { background-color: rgba(232,199,102,0.22); border-top: 2px solid #E8C766; border-bottom: 2px solid #E8C766; font-weight: 700; color: #ffffff; }
body.postid-2147 .entry-content table:has(td:nth-child(10)) tbody tr:nth-child(5) td a { color: #ffffff; }
body.postid-2148 .entry-content table:has(td:nth-child(10)) tbody tr:nth-child(6) td { background-color: rgba(232,199,102,0.22); border-top: 2px solid #E8C766; border-bottom: 2px solid #E8C766; font-weight: 700; color: #ffffff; }
body.postid-2148 .entry-content table:has(td:nth-child(10)) tbody tr:nth-child(6) td a { color: #ffffff; }
body.postid-2153 .entry-content table:has(td:nth-child(10)) tbody tr:nth-child(7) td { background-color: rgba(232,199,102,0.22); border-top: 2px solid #E8C766; border-bottom: 2px solid #E8C766; font-weight: 700; color: #ffffff; }
body.postid-2153 .entry-content table:has(td:nth-child(10)) tbody tr:nth-child(7) td a { color: #ffffff; }
body.postid-2149 .entry-content table:has(td:nth-child(10)) tbody tr:nth-child(8) td { background-color: rgba(232,199,102,0.22); border-top: 2px solid #E8C766; border-bottom: 2px solid #E8C766; font-weight: 700; color: #ffffff; }
body.postid-2149 .entry-content table:has(td:nth-child(10)) tbody tr:nth-child(8) td a { color: #ffffff; }
body.postid-2152 .entry-content table:has(td:nth-child(10)) tbody tr:nth-child(9) td { background-color: rgba(232,199,102,0.22); border-top: 2px solid #E8C766; border-bottom: 2px solid #E8C766; font-weight: 700; color: #ffffff; }
body.postid-2152 .entry-content table:has(td:nth-child(10)) tbody tr:nth-child(9) td a { color: #ffffff; }
body.postid-2151 .entry-content table:has(td:nth-child(10)) tbody tr:nth-child(10) td { background-color: rgba(232,199,102,0.22); border-top: 2px solid #E8C766; border-bottom: 2px solid #E8C766; font-weight: 700; color: #ffffff; }
body.postid-2151 .entry-content table:has(td:nth-child(10)) tbody tr:nth-child(10) td a { color: #ffffff; }
body.postid-2150 .entry-content table:has(td:nth-child(10)) tbody tr:nth-child(11) td { background-color: rgba(232,199,102,0.22); border-top: 2px solid #E8C766; border-bottom: 2px solid #E8C766; font-weight: 700; color: #ffffff; }
body.postid-2150 .entry-content table:has(td:nth-child(10)) tbody tr:nth-child(11) td a { color: #ffffff; }
/* === END SITEWIDE BLOCK === */

/* Standardized main-content titles — added Oct 27, 2026. Remove this block to revert. Applies the one page-title standard (gold #E8C766, 2rem, padding 0.5rem 1rem, solid black background, inline-block) to main-content titles only: static pages, single posts, teams, single products, and archive/shop headers, including the site-root posts feed. The box is set on the title element itself, not on its link, so linked and unlinked titles match; setting the same padding/background values (not adding to them) avoids double padding/boxes on titles that already match. Deliberately not targeted: sidebar/footer widget titles, menu items, the site title, buttons, forms, the banquet banner, subheadings, and WooCommerce shop-grid product titles. */
main .wp-block-post-title,
main .wp-block-query-title,
main .entry-title,
main .page-title,
main .woocommerce-products-header__title,
main .product_title {
  color: #E8C766 !important;
  font-size: 2rem !important;
  padding: 0.5rem 1rem !important;
  background: #000000 !important;
  background-color: #000000 !important;
  display: inline-block !important;
}
main .wp-block-post-title a,
main .wp-block-query-title a,
main .entry-title a,
main .page-title a,
main .woocommerce-products-header__title a,
main .product_title a {
  color: #E8C766 !important;
}
main .wp-block-post-title a:hover,
main .wp-block-query-title a:hover,
main .entry-title a:hover,
main .page-title a:hover,
main .woocommerce-products-header__title a:hover,
main .product_title a:hover {
  color: #F5D98A !important;
}


/* Same Oct 27, 2026 standardized-title block, continued: single-post and static-page templates do not wrap the title in <main>, so the same treatment is repeated here for the title classes themselves, still excluding sidebar/footer widgets, menu items, buttons, forms and the banquet banner. */
article .wp-block-post-title,
article .entry-title,
.wp-block-post-title,
.entry-title,
.page-title,
.woocommerce-products-header__title,
.product_title,
.wp-block-query-title {
  color: #E8C766 !important;
  font-size: 2rem !important;
  padding: 0.5rem 1rem !important;
  background: #000000 !important;
  background-color: #000000 !important;
  display: inline-block !important;
}
.wp-block-post-title a,
.entry-title a,
.page-title a,
.woocommerce-products-header__title a,
.product_title a,
.wp-block-query-title a {
  color: #E8C766 !important;
}
.wp-block-post-title a:hover,
.entry-title a:hover,
.page-title a:hover,
.woocommerce-products-header__title a:hover,
.product_title a:hover,
.wp-block-query-title a:hover {
  color: #F5D98A !important;
}

/* Sidebar/footer safeguard for the Oct 27 standardized-title block: restore widget titles that are not main-content titles. */
aside .wp-block-post-title,
.widget-area .wp-block-post-title,
#secondary .wp-block-post-title,
.sidebar .wp-block-post-title,
footer .wp-block-post-title {
  color: #ffffff !important;
  background: transparent !important;
  padding: 0 !important;
  display: block !important;
  font-size: 1.5em !important;
}
aside .wp-block-post-title a,
.widget-area .wp-block-post-title a,
#secondary .wp-block-post-title a,
.sidebar .wp-block-post-title a,
footer .wp-block-post-title a {
  color: #ffffff !important;
}


/* Sidebar/footer safeguard for the Oct 27 standardized-title block: restore widget titles that are not main-content titles. */
aside .wp-block-post-title,
.widget-area .wp-block-post-title,
#secondary .wp-block-post-title,
.sidebar .wp-block-post-title,
footer .wp-block-post-title,
.wp-block-template-part .wp-block-post-title {
  color: #ffffff !important;
  background: transparent !important;
  padding: 0 !important;
  display: block !important;
  font-size: 1.5em !important;
}
aside .wp-block-post-title a,
.widget-area .wp-block-post-title a,
#secondary .wp-block-post-title a,
.sidebar .wp-block-post-title a,
footer .wp-block-post-title a,
.wp-block-template-part .wp-block-post-title a,
aside .wp-block-post-title a:hover,
.widget-area .wp-block-post-title a:hover,
#secondary .wp-block-post-title a:hover,
.sidebar .wp-block-post-title a:hover,
footer .wp-block-post-title a:hover,
.wp-block-template-part .wp-block-post-title a:hover {
  color: #ffffff !important;
}

/* Reapply the Oct 27 standard to main-content titles only, after the safeguard above: titles inside <main>, and single/page titles that are not inside a query loop (so sidebar query-loop titles stay restored). The repeated class raises specificity above the safeguard. */
main .wp-block-post-title.wp-block-post-title,
main .entry-title.entry-title,
main .page-title.page-title,
main .woocommerce-products-header__title.woocommerce-products-header__title,
main .product_title.product_title,
main .wp-block-query-title.wp-block-query-title {
  color: #E8C766 !important;
  font-size: 2rem !important;
  padding: 0.5rem 1rem !important;
  background: #000000 !important;
  background-color: #000000 !important;
  display: inline-block !important;
}
body.single .wp-block-post-title.wp-block-post-title:not(.wp-block-query .wp-block-post-title),
body.page .wp-block-post-title.wp-block-post-title:not(.wp-block-query .wp-block-post-title),
body.single .entry-title.entry-title:not(.wp-block-query .entry-title),
body.page .entry-title.entry-title:not(.wp-block-query .entry-title) {
  color: #E8C766 !important;
  font-size: 2rem !important;
  padding: 0.5rem 1rem !important;
  background: #000000 !important;
  background-color: #000000 !important;
  display: inline-block !important;
}
main .wp-block-post-title.wp-block-post-title a,
main .entry-title.entry-title a,
main .page-title.page-title a,
main .woocommerce-products-header__title.woocommerce-products-header__title a,
main .product_title.product_title a,
main .wp-block-query-title.wp-block-query-title a,
body.single .wp-block-post-title.wp-block-post-title:not(.wp-block-query .wp-block-post-title) a,
body.page .wp-block-post-title.wp-block-post-title:not(.wp-block-query .wp-block-post-title) a {
  color: #E8C766 !important;
}
main .wp-block-post-title.wp-block-post-title a:hover,
main .entry-title.entry-title a:hover,
main .page-title.page-title a:hover,
main .woocommerce-products-header__title.woocommerce-products-header__title a:hover,
main .product_title.product_title a:hover,
main .wp-block-query-title.wp-block-query-title a:hover,
body.single .wp-block-post-title.wp-block-post-title:not(.wp-block-query .wp-block-post-title) a:hover,
body.page .wp-block-post-title.wp-block-post-title:not(.wp-block-query .wp-block-post-title) a:hover {
  color: #F5D98A !important;
}
/* Smaller Shop grid item titles + readable variation choice text — added Oct 27, 2026. Remove this block to revert. FIX 1: size only for Shop grid loop titles (no color, background, padding or box change; single-product titles at 2rem and the STORE header are untouched). FIX 2: narrow exception for variable-product variation controls only — white labels, black text on a white select field so the choice and selected value read against the dark background; no option, price, stock, layout or cart change. */
body.woocommerce-shop ul.products li.product .woocommerce-loop-product__title,
body.woocommerce-shop ul.products li.product .woocommerce-loop-product__title a {
  font-size: 1rem !important;
  line-height: 1.3 !important;
}
body.single-product form.variations_form table.variations th.label label,
body.single-product form.variations_form table.variations td.label label,
body.single-product form.variations_form .variations label,
body.single-product form.variations_form .woocommerce-variation-availability,
body.single-product form.variations_form .reset_variations {
  color: #ffffff !important;
}
body.single-product form.variations_form table.variations select,
body.single-product form.variations_form select {
  background-color: #ffffff !important;
  color: #000000 !important;
}
body.single-product form.variations_form table.variations select option,
body.single-product form.variations_form select option {
  background-color: #ffffff !important;
  color: #000000 !important;
}

/* Smaller WooCommerce Add to Cart / Select options button text — added Oct 27, 2026. Font size only; no color, background, padding, or behavior changes. Remove this block to revert. */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.button,
.woocommerce ul.products li.product .add_to_cart_button {
  font-size: 11px;
}
.woocommerce div.product form.cart .button,
.woocommerce div.product form.cart .single_add_to_cart_button {
  font-size: 18px;
}

/* Consistent shop button size - added Oct 27, 2026. Unifies the earlier 11px shop-grid rule and 18px single-product rule at 14px: readable in the grid, not oversized on the product page. Placed after those earlier rules and using !important, so this block intentionally overrides them; the earlier rules are left in place. Size and padding only - no colors, backgrounds, text, or behavior changes. To revert, delete only this block. */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.button,
.woocommerce ul.products li.product .add_to_cart_button,
.woocommerce div.product form.cart .button,
.woocommerce div.product form.cart .single_add_to_cart_button,
.woocommerce-cart .button,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce-checkout .button,
.woocommerce-checkout button#place_order,
.woocommerce-checkout a.checkout-button {
  font-size: 14px !important;
  padding: 12px 20px !important;
}
/* Cart Proceed to Checkout, match Google Pay button, added Oct 27, 2026. The Oct 27 unified rule targets classic .woocommerce-cart .wc-proceed-to-checkout a.checkout-button, but the live cart is the WooCommerce block cart, whose submit link is .wc-block-cart__submit-button, so that rule never reached it. This block sizes only that cart submit button (classic button as fallback) to the Google Pay button above it: full width of the totals column, one line, about 40-45px tall. No color, wording, link, or Google Pay change; Google Pay is in a payment iframe and is left untouched. Remove this block to revert. */ .woocommerce-cart .wc-proceed-to-checkout a.checkout-button, .wp-block-woocommerce-cart .wc-block-cart__submit-button, .wc-block-cart .wc-block-cart__submit-button, a.wc-block-cart__submit-button { font-size: 18px !important; line-height: 1.25 !important; padding: 10px 20px !important; width: 100% !important; box-sizing: border-box !important; display: flex !important; align-items: center !important; justify-content: center !important; text-align: center !important; white-space: nowrap !important; }

/* Standard fixed-size shop buttons and mini-cart drawer pair - added Oct 27, 2026. Remove this block to revert. Fixed height 44px and 14px font for all shop buttons below. Standalone shop buttons are 200px wide with centered, single-line labels - wide enough for SELECT OPTIONS in related products, with room to spare, and for Proceed to Checkout text at 14px. The two mini-cart drawer buttons share one equal half-drawer width so they fit side by side. The cart-page Proceed to Checkout button is the one deliberate exception: it keeps the previous full totals-column / Google Pay-matched width, at the same 44px height. No colors, wording, links, or behavior are changed. */
.woocommerce ul.products li.product a.button,
.woocommerce ul.products li.product button.button,
.woocommerce div.product form.cart button.single_add_to_cart_button,
.woocommerce div.product form.cart a.button,
.woocommerce div.product form.cart button.button,
.woocommerce-cart table.cart .button,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.wc-block-grid__products li.wc-block-grid__product a.button,
.wp-block-woocommerce-product-button .wp-block-button__link {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 200px !important;
  max-width: 100% !important;
  height: 44px !important;
  min-height: 44px !important;
  padding: 0 16px !important;
  font-size: 14px !important;
  line-height: 1 !important;
  text-align: center !important;
  white-space: nowrap !important;
}
.wc-block-mini-cart__footer-actions,
.woocommerce-mini-cart__buttons {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 12px !important;
}
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer-actions a,
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer-actions button,
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer-actions .wc-block-components-button,
.wc-block-mini-cart__footer-view-cart,
.wc-block-mini-cart__footer-checkout,
.woocommerce-mini-cart__buttons a,
.widget_shopping_cart .buttons a {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 1 1 calc(50% - 6px) !important;
  width: calc(50% - 6px) !important;
  max-width: calc(50% - 6px) !important;
  min-width: 0 !important;
  height: 44px !important;
  min-height: 44px !important;
  padding: 0 12px !important;
  font-size: 14px !important;
  line-height: 1 !important;
  text-align: center !important;
  white-space: nowrap !important;
}
.wc-block-mini-cart__drawer .wp-block-button__link,
.wc-block-mini-cart__drawer .wc-block-components-button {
  box-sizing: border-box !important;
  height: 44px !important;
  min-height: 44px !important;
  font-size: 14px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}
body.woocommerce-cart .wc-block-cart__submit-button,
body.woocommerce-cart .wc-block-cart__footer .wc-block-cart__submit-button,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.wp-block-woocommerce-cart .wc-block-cart__submit-button,
.wc-block-cart__submit-container a,
.wc-block-cart__submit-button {
  width: 100% !important;
  max-width: 100% !important;
  flex: none !important;
  height: 44px !important;
  min-height: 44px !important;
  font-size: 14px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

/* Related-product clarification, part of the Oct 27, 2026 block above: related buttons must not shrink below the 200px standard, even in narrow related columns. */
.woocommerce .related ul.products li.product a.button,
.woocommerce .related ul.products li.product button.button,
.related ul.products li.product a.button,
body.single-product .related ul.products li.product .button {
  width: 200px !important;
  min-width: 200px !important;
  max-width: none !important;
  flex-shrink: 0 !important;
  height: 44px !important;
  font-size: 14px !important;
  white-space: nowrap !important;
}
/* High-specificity related-section override, part of the Oct 27, 2026 block above. */
body.woocommerce.single-product section.related ul.products li.product a.button,
body.woocommerce.single-product section.related ul.products li.product button.button,
body.single-product section.related .button {
  width: 200px !important;
  min-width: 200px !important;
  max-width: none !important;
  flex-shrink: 0 !important;
  height: 44px !important;
  font-size: 14px !important;
  white-space: nowrap !important;
  overflow: visible !important;
}

/* Broad shop-button fallback, part of the Oct 27, 2026 block above. */
.woocommerce a.button,
.woocommerce button.button,
a.button,
button.button {
  width: 200px !important;
  min-width: 200px !important;
  max-width: none !important;
  flex-shrink: 0 !important;
  height: 44px !important;
  font-size: 14px !important;
  white-space: nowrap !important;
}
/* Related container and checkout exception, part of the Oct 27, 2026 block above. */
section.related .wp-block-button,
section.related .wp-block-woocommerce-product-button,
.related .wp-block-button,
.related .wp-block-woocommerce-product-button {
  width: 200px !important;
  max-width: none !important;
}
body.woocommerce-checkout button#place_order,
.woocommerce-checkout button#place_order {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: 44px !important;
  font-size: 14px !important;
}


/* === SHOP GRID UNIFIED CARD DESIGN - added Oct 27, 2026. SHOP GRID CARDS ONLY. Remove this block to revert. Sizes and spacing only: title gold color, button size 200px x 44px, button colors and all wording, prices, images and links are unchanged. Scale: title 0.95rem, price 0.9rem, button text 14px (unchanged), so the title no longer dominates the price or button. No title or price is clipped or hidden; long titles wrap. */
body.post-type-archive-product ul.products li.product,
body.woocommerce-shop ul.products li.product {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
body.post-type-archive-product ul.products li.product > a:first-child,
body.woocommerce-shop ul.products li.product > a:first-child {
  display: block;
  width: 100%;
  margin: 0 0 14px;
}
body.post-type-archive-product ul.products li.product > a:first-child img,
body.woocommerce-shop ul.products li.product > a:first-child img {
  display: block;
  margin-bottom: 0;
}
body.post-type-archive-product ul.products li.product h2,
body.post-type-archive-product ul.products li.product .woocommerce-loop-product__title,
body.woocommerce-shop ul.products li.product h2,
body.woocommerce-shop ul.products li.product .woocommerce-loop-product__title {
  font-size: 0.95rem !important;
  line-height: 1.4 !important;
  margin: 0 0 8px !important;
  min-height: 4.2em;
}
body.post-type-archive-product ul.products li.product .price,
body.woocommerce-shop ul.products li.product .price {
  font-size: 0.9rem !important;
  line-height: 1.4 !important;
  margin: 0 0 16px !important;
}
body.post-type-archive-product ul.products li.product .button,
body.woocommerce-shop ul.products li.product .button {
  margin-top: auto !important;
  align-self: flex-start;
}


/* === SHOP GRID UNIFIED CARD DESIGN, TITLE-LINK CORRECTION - added Oct 27, 2026. Part of the shop grid block above: the visible title size is set on the link inside the heading, not on the heading alone, so this rule sets that link to the same 0.95rem / 1.4 scale. SHOP GRID CARDS ONLY, excluding single product pages. Remove this block together with the block above to revert. No color, wording, price, image, link, button size or button color change. */
body:not(.single-product) ul.products li.product h2 a,
body:not(.single-product) ul.products li.product .woocommerce-loop-product__title a,
body:not(.single-product) ul.products li.product h3 a {
  font-size: 0.95rem !important;
  line-height: 1.4 !important;
}



/* === SHOP GRID UNIFIED CARD DESIGN, FINAL TITLE-LINK RULE - added Oct 27, 2026. The product title link carries the visible size, so this rule sets it to the same 0.95rem / 1.4 scale as the heading rule above. Scoped by the WooCommerce product-title class and excluded on single product pages. No color, wording, price, image, link, button size or button color change. */
body:not(.single-product) .woocommerce-loop-product__title a,
.woocommerce-loop-product__title a {
  font-size: 0.95rem !important;
  line-height: 1.4 !important;
}




/* === SHOP GRID UNIFIED CARD DESIGN, OPERATIVE TITLE RULE - added Oct 27, 2026. This is the rule that controls the shop grid titles on this theme: the titles are h2 links inside main, and the classic WooCommerce product-title class and shop body classes did not match this theme's markup in testing. Excludes single product pages. Title 0.95rem, line-height 1.4, matching the heading rule above. No color, wording, price, image, link, button size or button color change. */
body:not(.single-product) main h2 a {
  font-size: 0.95rem !important;
  line-height: 1.4 !important;
}



/* === SHOP GRID SINGLE-TILE CARDS - added Oct 27, 2026. One tile per shop-grid product, all card information centered inside the tile. Scoped to body.woocommerce-shop li.product only, so single product pages, the related-products row, cart, checkout, and other pages are not affected. Removing this block reverts the change. Button width/height, button colors, title color, and price content are not changed. */ body.woocommerce-shop li.product { display: flex; flex-direction: column; align-items: center; box-sizing: border-box; background-color: rgba(0, 0, 0, 0.55); border: 1px solid rgba(232, 199, 102, 0.35); border-radius: 8px; padding: 16px 16px 20px; text-align: center; overflow: visible; } body.woocommerce-shop li.product > * { width: 100%; } body.woocommerce-shop li.product > :last-child { margin-top: auto; } body.woocommerce-shop li.product > a:first-child { display: block; } body.woocommerce-shop li.product img { display: block; width: 100%; height: auto; } body.woocommerce-shop li.product h2, body.woocommerce-shop li.product h2 a, body.woocommerce-shop li.product .price { text-align: center; width: 100%; white-space: normal; overflow: visible; text-overflow: clip; } body.woocommerce-shop li.product h2 { font-size: 0.95rem !important; line-height: 1.4 !important; min-height: 2.8em; margin: 12px 0 6px; } body.woocommerce-shop li.product .price { font-size: 0.9rem !important; margin: 0 0 14px; } body.woocommerce-shop li.product div { text-align: center; } body.woocommerce-shop li.product .button, body.woocommerce-shop li.product a.button, body.woocommerce-shop li.product button.button { font-size: 14px; margin-left: auto !important; margin-right: auto !important; margin-top: auto; margin-bottom: 0; text-align: center; }
/* === RECENT POSTS SIDEBAR: SINGLE-COLUMN READABILITY REDESIGN - added Oct 27, 2026. Changes ONLY the Recent posts list in the site sidebar (red sidebar box): one full-width column instead of two narrow columns, comfortable title size/line-height, clear separation between posts, and smaller, muted dates subordinate to titles. Sidebar box colours/background and all other blocks, main content, header and footer are unchanged. Remove this block to revert to the previous two-column layout. === */
/* 1. Single column, full sidebar width: undo grid / multi-column / flex-wrap layouts used by the Recent posts list, in both classic-widget and block forms. */
aside .wp-block-post-template, .sidebar .wp-block-post-template, #secondary .wp-block-post-template, .widget-area .wp-block-post-template, [class*="sidebar"] .wp-block-post-template, aside .wp-block-latest-posts, .sidebar .wp-block-latest-posts, #secondary .wp-block-latest-posts, .widget-area .wp-block-latest-posts, [class*="sidebar"] .wp-block-latest-posts, .widget_recent_entries ul, .widget_block .wp-block-latest-posts, aside ul.wp-block-latest-posts {
  display: block !important;
  grid-template-columns: 1fr !important;
  column-count: 1 !important;
  column-width: auto !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  gap: 0 !important;
}
/* 2. Each post takes the full sidebar width and is visually separated from the next. */
aside .wp-block-post-template > *, .sidebar .wp-block-post-template > *, #secondary .wp-block-post-template > *, .widget-area .wp-block-post-template > *, [class*="sidebar"] .wp-block-post-template > *, aside .wp-block-latest-posts > li, .sidebar .wp-block-latest-posts > li, #secondary .wp-block-latest-posts > li, .widget-area .wp-block-latest-posts > li, [class*="sidebar"] .wp-block-latest-posts > li, .widget_recent_entries ul > li, .widget_block .wp-block-latest-posts > li {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
  float: none !important;
  padding-bottom: 16px !important;
  margin-bottom: 16px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25) !important;
}
aside .wp-block-post-template > *:last-child, .sidebar .wp-block-post-template > *:last-child, #secondary .wp-block-post-template > *:last-child, .widget-area .wp-block-post-template > *:last-child, [class*="sidebar"] .wp-block-post-template > *:last-child, aside .wp-block-latest-posts > li:last-child, .sidebar .wp-block-latest-posts > li:last-child, #secondary .wp-block-latest-posts > li:last-child, .widget-area .wp-block-latest-posts > li:last-child, [class*="sidebar"] .wp-block-latest-posts > li:last-child, .widget_recent_entries ul > li:last-child, .widget_block .wp-block-latest-posts > li:last-child {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
  border-bottom: none !important;
}
/* 3. Comfortable, scannable titles: full-width, readable size and line-height, no cramped wrapping. */
aside .wp-block-post-title, .sidebar .wp-block-post-title, #secondary .wp-block-post-title, .widget-area .wp-block-post-title, [class*="sidebar"] .wp-block-post-title, aside .wp-block-post-title a, .sidebar .wp-block-post-title a, #secondary .wp-block-post-title a, .widget-area .wp-block-post-title a, [class*="sidebar"] .wp-block-post-title a, aside .wp-block-latest-posts__post-title, .sidebar .wp-block-latest-posts__post-title, #secondary .wp-block-latest-posts__post-title, .widget-area .wp-block-latest-posts__post-title, [class*="sidebar"] .wp-block-latest-posts__post-title, aside .wp-block-latest-posts__post-title a, .sidebar .wp-block-latest-posts__post-title a, #secondary .wp-block-latest-posts__post-title a, .widget-area .wp-block-latest-posts__post-title a, [class*="sidebar"] .wp-block-latest-posts__post-title a, .widget_recent_entries ul > li > a {
  display: block !important;
  width: 100% !important;
  font-size: 17px !important;
  line-height: 1.5 !important;
  margin: 0 0 4px 0 !important;
}
/* 4. Dates, if shown, stay subordinate to titles: smaller and muted. */
aside .wp-block-post-date, .sidebar .wp-block-post-date, #secondary .wp-block-post-date, .widget-area .wp-block-post-date, [class*="sidebar"] .wp-block-post-date, aside .wp-block-latest-posts__post-date, .sidebar .wp-block-latest-posts__post-date, #secondary .wp-block-latest-posts__post-date, .widget-area .wp-block-latest-posts__post-date, [class*="sidebar"] .wp-block-latest-posts__post-date, .widget_recent_entries .post-date {
  display: block !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
  opacity: 0.85 !important;
  margin-top: 4px !important;
}

/* Fallback for block-theme sidebar template parts / groups: the same single-column rules, still scoped outside the main post listing by the template-part wrapper. */
.wp-block-template-part .wp-block-post-template, .wp-block-template-part .wp-block-latest-posts, .wp-block-group .wp-block-post-template, .wp-block-column .wp-block-post-template {
  display: block !important;
  grid-template-columns: 1fr !important;
  column-count: 1 !important;
  flex-direction: column !important;
  width: 100% !important;
  max-width: 100% !important;
  gap: 0 !important;
}
.wp-block-template-part .wp-block-post-template > *, .wp-block-template-part .wp-block-latest-posts > li, .wp-block-group .wp-block-post-template > *, .wp-block-column .wp-block-post-template > * {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
  padding-bottom: 16px !important;
  margin-bottom: 16px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25) !important;
}
.wp-block-template-part .wp-block-post-template > *:last-child, .wp-block-template-part .wp-block-latest-posts > li:last-child, .wp-block-group .wp-block-post-template > *:last-child, .wp-block-column .wp-block-post-template > *:last-child {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
  border-bottom: none !important;
}
.wp-block-template-part .wp-block-post-title, .wp-block-template-part .wp-block-post-title a, .wp-block-template-part .wp-block-latest-posts__post-title, .wp-block-template-part .wp-block-latest-posts__post-title a {
  display: block !important;
  width: 100% !important;
  font-size: 17px !important;
  line-height: 1.5 !important;
  margin: 0 0 4px 0 !important;
}
.wp-block-template-part .wp-block-post-date, .wp-block-template-part .wp-block-latest-posts__post-date {
  display: block !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
  opacity: 0.85 !important;
  margin-top: 4px !important;
}

/* Mobile standings-table fix — added Oct 27, 2026. Remove this block to revert to the previous mobile rendering. On screens up to 768px wide only, the 10-column standings tables (Pos./Pos, Team, MP, W, L, D, GF, GA, GD, PTS) on the Teams & League page and the team pages scroll horizontally instead of being crushed. No column is hidden and no colour, content or desktop rule is changed. */
@media (max-width: 768px) {
  :is(figure, div, section, article):has(> table:has(tr > :nth-child(10))) {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  table:has(tr > :nth-child(10)) {
    min-width: 720px;
    width: max-content;
    table-layout: auto !important;
  }
  table:has(tr > :nth-child(10)) th,
  table:has(tr > :nth-child(10)) td {
    white-space: nowrap;
    word-break: normal;
    overflow-wrap: normal;
  }
  table:has(tr > :nth-child(10)) th:nth-child(1),
  table:has(tr > :nth-child(10)) td:nth-child(1) {
    min-width: 48px;
  }
  table:has(tr > :nth-child(10)) th:nth-child(2),
  table:has(tr > :nth-child(10)) td:nth-child(2) {
    min-width: 170px;
    white-space: nowrap;
  }
  table:has(tr > :nth-child(10)) th:nth-child(n+3),
  table:has(tr > :nth-child(10)) td:nth-child(n+3) {
    min-width: 48px;
  }
}

/* Sponsors & Affiliates page only: smaller sponsor slot titles - added Oct 27, 2026. Remove this block to revert. Page ID 885; targets only h3 headings inside the Custom HTML sponsor slots, not the page title or other pages. */
body.page-id-885 .wp-block-html h3 {
  font-size: 1.25rem;
}
/* Sponsors & Affiliates page only: smaller sponsor slot titles - added Oct 27, 2026. Remove this block to revert. Targets only h3 headings inside the dark sponsor panels (background #111111) on page 885, not the page title, sidebar, or other pages. */
body.page-id-885 div[style*="background:#111111"] h3 {
  font-size: 1.25rem !important;
}
/* Contact page mobile CONTACT US button fix - added Oct 27, 2026. Remove this block to revert. Scoped to Contact Us (page-id-47) and Nous joindre (page-id-2319) only, screens 768px and below. On mobile the form submit button collapsed to a narrow vertical strip at the left edge, with CONTACT US wrapping letter by letter. This restores it, in its existing place below the Message field, to a full-width tappable button inside the viewport, without changing its text, color, link/submit action, or desktop appearance. */
@media (max-width: 768px) {
  body.page-id-47 form .wp-block-button,
  body.page-id-2319 form .wp-block-button,
  body.page-id-47 .wp-block-jetpack-contact-form .wp-block-button,
  body.page-id-2319 .wp-block-jetpack-contact-form .wp-block-button {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 12px 0 0 0 !important;
    padding: 0 !important;
    position: static !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    float: none !important;
    overflow: visible !important;
  }
  body.page-id-47 form button,
  body.page-id-2319 form button,
  body.page-id-47 form .wp-block-button__link,
  body.page-id-2319 form .wp-block-button__link,
  body.page-id-47 form button[type="submit"],
  body.page-id-2319 form button[type="submit"] {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    position: static !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    float: none !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    text-align: center !important;
    margin: 0 !important;
    padding: 14px 16px !important;
    overflow: visible !important;
  }
  body.page-id-47 form,
  body.page-id-2319 form {
    max-width: 100% !important;
    overflow: visible !important;
  }
}
