/*
 Theme Name:   Skate Australia
 Theme URI:    https://www.skateaustralia.org.au/
 Description:  Skate Australia Theme
 Author:       The Other Dimension
 Author URI:   https://theotherdimension.com
 Template:     Divi
 Version:      1.0
*/

:root {
	--green: #006134;
	--gold: #FACE08;
	--black: #232122;
	--grey: #f5f5f5;
	--skateboarding: #232122;
	  --sa-rings-url: url("/wp-content/themes/Skate Australia/img/olympic-rings.svg");
  --sa-medal-gold: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 1h4.5l3 9H9z' fill='%23006134'/%3E%3Cpath d='M18 1h-4.5l-3 9H15z' fill='%23004a27'/%3E%3Ccircle cx='12' cy='16' r='6.5' fill='%23FACE08' stroke='%23B8960A' stroke-width='1.5'/%3E%3Ccircle cx='12' cy='16' r='3.5' fill='none' stroke='%23B8960A'/%3E%3C/svg%3E");
  --sa-medal-silver: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 1h4.5l3 9H9z' fill='%23006134'/%3E%3Cpath d='M18 1h-4.5l-3 9H15z' fill='%23004a27'/%3E%3Ccircle cx='12' cy='16' r='6.5' fill='%23D9DDE1' stroke='%238E969E' stroke-width='1.5'/%3E%3Ccircle cx='12' cy='16' r='3.5' fill='none' stroke='%238E969E'/%3E%3C/svg%3E");
  --sa-medal-bronze: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 1h4.5l3 9H9z' fill='%23006134'/%3E%3Cpath d='M18 1h-4.5l-3 9H15z' fill='%23004a27'/%3E%3Ccircle cx='12' cy='16' r='6.5' fill='%23D08B4E' stroke='%238A5328' stroke-width='1.5'/%3E%3Ccircle cx='12' cy='16' r='3.5' fill='none' stroke='%238A5328'/%3E%3C/svg%3E");
}


/*** General Styling ***/

::selection {
	background-color: #006134;
	color: #ffffff;
}

.placeholder {
	-webkit-filter: grayscale(100%) brightness(40%) sepia(100%) hue-rotate(268deg) saturate(590%) contrast(1);
	filter: grayscale(100%) brightness(40%) sepia(100%) hue-rotate(268deg) saturate(590%) contrast(1);
}


/*** Navigation Styling ***/

.join-btn a {
	border: 2px solid var(--gold);
    padding: .75em 1em !important;
    border-radius: 30px;
    font-weight: bold;
}

.join-btn a:hover {
	background-color: var(--gold);
	color: var(--green);
}

#top-menu-nav li a {
	font-weight: 600;
}

#top-menu li {
	padding-right: 11px;
	padding-left: 11px;
}

body .et-fixed-header #top-menu li.current-menu-item>a {
	color: var(--green) !important;
}

#main-header:not(.et-fixed-header) #top-menu > li > a {
    text-shadow: 1px 1px 6px #000000;
}

#top-menu-nav>ul>li>a:hover {
	opacity: 1;
}

.nav li ul {width: 280px;}

#top-menu li li a { width: auto;}

.nav ul li a:hover {background-color: transparent; opacity: 1;}

#main-header .et_mobile_menu {background-color: #ffffff !important; border-top: 3px solid var(--gold);}

.et_mobile_menu li a {color: var(--black) !important;}

#top-menu-nav ul > li:not(.join-btn):not(.menu-item-has-children):after {
    content: "";
    position: absolute;
    display: block;
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--gold);
    top: calc(100% - 3px) !important;
    transform: scaleX(0);
    transform-origin: center;
    transition: 0.37s all cubic-bezier(0.23, 0.46, 0.4, 1);
    backface-visibility: hidden;
}
#top-menu-nav ul > li:not(.join-btn):hover:after {
    transform: scaleX(1);
}

.mobile_menu_bar:before { color: var(--gold);}

/* High Performance */

.sa-hp-subnav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
}
.sa-hp-subnav__back {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #ffffff;
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
}
.sa-hp-subnav__back:hover { color: var(--gold); }

.sa-hp-subnav__list {
	list-style: none;
	margin: 0;
	padding: 0 !important;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.sa-hp-subnav__list li { margin: 0; padding: 0; list-style-type: none; }

.sa-hp-subnav__pill {
	display: inline-block;
	padding: 8px 16px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.3);
	color: #ffffff;
	font-weight: 700;
	font-size: 15px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	line-height: 1.2;
	transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.sa-hp-subnav__pill:hover {
	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(255, 255, 255, 0.6);
	color: #ffffff;
}
.sa-hp-subnav__pill.is-current,
.sa-hp-subnav__pill.is-current:hover {
	background: var(--gold);
	border-color: var(--gold);
	color: var(--black);
}

@media (max-width: 980px) {
	.sa-hp-subnav { flex-direction: column; align-items: flex-start; gap: 16px; }
}


/*** Typography Styling ***/

h1 {
	font-size: clamp(2rem, 10.7vw - 3.2rem, 3.5rem) !important;
}

h2 {
	font-size: clamp(1.5rem, 6.7vw - 1.4rem, 3rem) !important;
}

h3 {
	font-size: clamp(1.25rem, 6.7vw - 1.9rem, 2rem) !important;
}

h4 {
	font-size: clamp(1rem, 5vw - 1.5rem, 1.5rem) !important;
}

h1, h2, h3, h4, h5, h6 {
	line-height: 1.25em;
	letter-spacing: -0.5;
}

.home-hero h1 {
	font-size: clamp(2rem, 10.7vw - 3.2rem, 5.5rem) !important;
}

body .et_pb_module ul,
body .et_pb_module ol {
  list-style-position: outside !important;
  padding-left: 2em !important;
  margin-left: 0;
}

body .et_pb_module li {
  padding-left: 0em !important;
}

/* nested lists */
body .et_pb_module ul ul,
body .et_pb_module ol ol {
  padding-left: 1.5em !important;
  padding-bottom: 0;
}


/*** Module Styling ***/

/*MW*/
.et_pb_button,
.et_pb_module .et_pb_button,
a.et_pb_button {
    padding: 1em 2em !important;
}

.et_pb_button:hover,
.et_pb_module .et_pb_button:hover,
a.et_pb_button:hover {
    padding: 1em 2em !important;
}

.dsm_card_carousel_child_0.dsm_card_carousel_child>div:first-of-type {
    padding-right: 3rem !important;
    padding-bottom: 2rem !important;
    padding-left: 3rem !important;
}

/* Skate Australia: Membership Benefits and Fees table */
.sa-mtable-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #e3e1e2;
  border-radius: 16px;
  background: #ffffff;
}
.sa-mtable-wrap:focus-visible {
  outline: 3px solid #FACE08;
  outline-offset: 3px;
}

/* body prefix beats Divi's .entry-content table defaults */
body .sa-mtable-wrap table.sa-mtable {
  width: 100%;
  min-width: 1080px;
  margin: 0;
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  font-size: 14px;
  line-height: 1.35;
}
body .sa-mtable-wrap .sa-mtable th,
body .sa-mtable-wrap .sa-mtable td {
  padding: 14px 10px;
  border: 0;
  border-bottom: 1px solid #e3e1e2;
  text-align: center;
  vertical-align: middle;
  color: #232122;
}
body .sa-mtable-wrap .sa-mtable td {
  border-left: 1px solid #efedee;
}

/* Header row */
body .sa-mtable-wrap .sa-mtable thead th {
  padding: 18px 10px;
  background: #006134;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  border-bottom: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}
body .sa-mtable-wrap .sa-mtable thead th.sa-corner {
  position: sticky;
  left: 0;
  z-index: 2;
  width: 240px;
  padding-left: 18px;
  background: #232122;
  color: #FACE08;
  text-align: left;
  border-left: 0;
}
.sa-mtable .sa-ico {
  display: block;
  width: 24px;
  height: 24px;
  margin: 0 auto 8px;
  fill: none;
  stroke: #FACE08;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Row labels stay visible while scrolling sideways */
body .sa-mtable-wrap .sa-mtable tbody th[scope="row"] {
  position: sticky;
  left: 0;
  z-index: 1;
  padding-left: 18px;
  background: #ffffff;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 1px 0 0 #e3e1e2;
}
body .sa-mtable-wrap .sa-mtable tr.sa-fee th[scope="row"] {
  font-weight: 700;
}

/* Group rows: Fees / What's included */
body .sa-mtable-wrap .sa-mtable tr.sa-group th {
  padding: 12px 18px;
  background: #f5f5f5;
  color: #006134;
  font-size: 15px;
  font-weight: 800;
  text-align: left;
}

/* Merged cells */
body .sa-mtable-wrap .sa-mtable td.sa-merged {
  font-size: 16px;
  font-weight: 600;
}

/* Included / not included markers */
.sa-mtable td.is-yes::before {
  content: "";
  display: inline-block;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  vertical-align: middle;
  background: #006134 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='5 12 10 17 19 7'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
}
.sa-mtable td.is-no::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 2px;
  vertical-align: middle;
  background: #c9c6c7;
}

.sa-mtable .sa-fn {
  display: inline-block;
  margin-left: 2px;
  font-size: 0.8em;
  font-weight: 700;
  line-height: 1;
  vertical-align: super;
}
.sa-mtable .sa-note {
  font-size: 0.85em;
  line-height: 1.45;
  text-align: left;
  vertical-align: top;
}
.sa-mtable-key {
  font-size: 0.85em;
  margin-top: 8px;
}

/* Screen reader only */
.sa-sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Scroll hint, only when the table overflows */
.sa-mtable-hint {
  display: none;
  margin-top: 10px;
  padding: 0 !important;
  font-size: 14px;
  color: #4a4748;
}
@media (max-width: 1100px) {
  .sa-mtable-hint { display: block; }
}
@media (max-width: 767px) {
  body .sa-mtable-wrap table.sa-mtable { min-width: 900px; }
  body .sa-mtable-wrap .sa-mtable thead th.sa-corner { width: 170px; }
  body .sa-mtable-wrap .sa-mtable tbody th[scope="row"] {
    padding-left: 14px;
    font-size: 14px;
  }
}

.middle-row {
	align-items: center;
	-webkit-align-items: center;
	display: flex;
}

/* --- Outer section: creates scroll runway --- */
.horizontal-scroll-section {
  position: relative !important;
  overflow: visible !important;
}

.hs-pinned {
  position: sticky;
  top: 90px;
  height: calc(100vh - 90px);
  overflow: hidden;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  display: flex;
  align-items: center;
}

/* --- Track: holds all rows in a horizontal line --- */
.hs-track {
  display: flex;
  flex-direction: row;
  height: 80vh;
  will-change: transform;
}

/* --- Each Divi row becomes a full-viewport panel --- */
.horizontal-scroll-section .et_pb_row {
  flex: 0 0 100vw !important;
  width: 100vw !important;
  max-width: 100vw !important;
  height: 80vh !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: stretch !important;
}

/* --- Columns fill their half --- */
.horizontal-scroll-section .et_pb_row .et_pb_column {
  height: 100% !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
}

/* --- Image column --- */
.horizontal-scroll-section .et_pb_row .et_pb_column .et_pb_image {
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.horizontal-scroll-section .et_pb_row .et_pb_column .et_pb_image img,
.horizontal-scroll-section .et_pb_row .et_pb_column .et_pb_image .et_pb_image_wrap,
.horizontal-scroll-section .et_pb_row .et_pb_column .et_pb_image .et_pb_image_wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 30px;
}

/* --- Content column: center content vertically --- */
.discipline-content-col,
.horizontal-scroll-section .et_pb_row .et_pb_column:not(.discipline-image-col) {
  justify-content: center !important;
  padding: 4rem 5rem !important;
}

/* --- Alternating backgrounds --- */
.horizontal-scroll-section .et_pb_row:nth-child(odd) .discipline-content-col,
.horizontal-scroll-section .et_pb_row:nth-child(odd) .et_pb_column:last-child {
  background: #ffffff;
}

.horizontal-scroll-section .et_pb_row:nth-child(even) .discipline-content-col,
.horizontal-scroll-section .et_pb_row:nth-child(even) .et_pb_column:first-child {
}

/* --- Category label --- */
.discipline-category {
  color: var(--black);
}

/* --- Title styling --- */
.discipline-title h2,
.discipline-title .et_pb_module_header {
  font-size: clamp(2.2rem, 4vw, 3.2rem) !important;
  font-weight: 800 !important;
  line-height: 1.05 !important;
  margin-bottom: 1rem !important;
  color: var(--green) !important;
}

/* --- Description --- */
.discipline-description,
.discipline-description p {
  color: var(--black);
  font-weight: 500;
  max-width: 600px !important;
  margin-bottom: 2em !important;
}

/* --- CTA Button --- */
.discipline-cta .et_pb_button {
}

.discipline-cta .et_pb_button:hover {
}

/* --- Progress dots --- */
.hs-dots {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.hs-dots.visible {
  opacity: 1;
}

.hs-dots .hs-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.15);
  transition: background 0.3s, transform 0.3s;
}

.hs-dots .hs-dot.active {
  background: #1B6B3A;
  transform: scale(1.4);
}

/* --- Image hover effect --- */
.horizontal-scroll-section .et_pb_row:hover .et_pb_image img {
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.horizontal-scroll-section .et_pb_image img {
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* --- SVG overlay on images --- */

/*
.horizontal-scroll-section .discipline-image-col .et_pb_image_wrap::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(https://skateaustralia.kinsta.cloud/wp-content/uploads/2026/02/SA-hero-overlay.svg);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  mix-blend-mode: overlay;
  z-index: 2;
  pointer-events: none;
  opacity: .6;
}
*/

.horizontal-scroll-section .discipline-image-col .et_pb_image_wrap {
  position: relative !important;
}

/* --- Mobile: stack vertically, disable horizontal scroll --- */
@media (max-width: 980px) {
  .horizontal-scroll-section {
    height: auto !important;
  }

  .hs-pinned {
    position: relative !important;
    height: auto !important;
    width: 100% !important;
    margin-left: 0 !important;
    top: auto !important;
  }

  .hs-track {
    flex-direction: column !important;
    transform: none !important;
    height: auto !important;
  }

  .horizontal-scroll-section .et_pb_row {
    flex: none !important;
    width: 100% !important;
    max-width: 90% !important;
	  margin: 0 auto !important;
    height: auto !important;
    flex-direction: column !important;
    min-height: 80vh;
  }

  .horizontal-scroll-section .et_pb_row .et_pb_column {
    width: 100% !important;
    min-height: 30vh;
  }

  .discipline-content-col,
  .horizontal-scroll-section .et_pb_row .et_pb_column:not(.discipline-image-col) {
        padding: 0 2rem 1.5rem !important;
        justify-content: flex-start !important;
  }
	 .et_pb_section_5.horizontal-scroll-section .et_pb_row.middle-row {
    display: flex;
    flex-direction: column;
  }

  .et_pb_section_5.horizontal-scroll-section .et_pb_row.middle-row::after {
    display: none;
  }

  .et_pb_section_5.horizontal-scroll-section .discipline-image-col {
    order: 1;
    margin-bottom: 30px !important;
  }

  .et_pb_section_5.horizontal-scroll-section .discipline-content-col {
    order: 2;
    margin-bottom: 0 !important;
  }

  .hs-dots {
    display: none !important;
  }
}

.intro-row .dsm_card {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}

.intro-row .dsm_card {
  position: relative;
  overflow: hidden;
}

.intro-row .dsm_card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: inherit;
  transition: transform 0.4s ease;
  z-index: 1;
}

.intro-row .dsm_card:hover::after {
  transform: scale(1.1);
}

.intro-row .dsm_card .et_pb_module_inner {
	z-index: 99;
}

.intro-row.coach-row .et_pb_more_button,
.intro-row.coach-row .dsm_card_description .alt-btn {
	font-size: 16px;
	padding: .75em 1.5em !important;
	margin-top: 0;
	height: 50px;
	display: inline-block;
}

.intro-row > .et_pb_column_empty {
  display: none;
}

@media (min-width: 981px) {
  .intro-row:has(> .et_pb_column_empty) {
    display: flex;
    justify-content: center;
  }

  .intro-row > .et_pb_column:has(+ .et_pb_column_empty:last-child) {
    margin-right: 0;
  }
}

.member-cat .dsm_flipbox_child {
	display: flex;
	flex-direction: column;
}

.member-cat .dsm_flipbox_child .et_pb_module_inner {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	height: 100%;
}

.member-cat .dsm_flipbox_wrapper {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	flex: 1 1 auto;
	height: 100%;
}

.member-cat .dsm_flipbox_wrapper .et_pb_button_wrapper {
	margin-top: auto;
}

.ss-car .dsm_card_carousel_child_badge_text {
	width: 55px;
	height: 55px;
}

.ss-car .dsm_card_carousel_child_image_wrapper {
	top: 2em;
    left: 2em;
    margin-bottom: 1em;
}

.ss-car .dsm_card_carousel_child_image_wrapper img {
	width: 100px;
	height: 100px;
	border-radius: 50%;
	object-fit: cover;
}

.sa-cta-buttons .et_pb_column {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.sa-cta-buttons .et_pb_button_module_wrapper {
  margin-bottom: 0 !important;
}

.sj-row .et_pb_column {
	border-top: 4px solid var(--green);
}

.sj-row .et_pb_column:hover {
	border-top: 1px solid var(--green);
}

.journey-tabs .dsm-inner-content-wrapper .dsm-image {
	width: 60%;
    max-width: 500px;
	margin-right: 1em;
}

.journey-tabs .dsm-inner-content-wrapper .dsm-image img {
	border-radius: 12px;
}

.sa-page-hero:before {
	content: "";
	background-image: url('https://skateaustralia.kinsta.cloud/wp-content/uploads/2026/02/SA-hero-overlay.svg');
	width: 100%;
	height: 100%;
	background-size: 100%;
	background-position: center;
	display: block;
	z-index: 1;
	position: absolute;
	top: 0;
	left: 0;
	opacity: .4;
	mix-blend-mode: overlay;
}

.news-feed-state article {
	transition: all 0.3s ease;
	border: 1px solid var(--grey);
}

.news-feed article {
	display: flex;
    grid-template-columns: 200px 1fr;
	border-radius: 20px;
	padding: 24px;
	border: 2px solid var(--green);
	margin-bottom: 1em;
	transition: all 0.3s ease;
}

.news-feed.state-feed article {
	display: block;
}

.news-feed article:hover,
.news-feed-state article:hover {
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

body.skateboarding .news-feed article {
	border: 2px solid var(--skateboarding);
}

.news-feed article img {
	object-fit: cover;
	border-radius: 6px;
	max-width: 300px;
}

.news-feed.state-feed article img {
	max-width: 100%;
}

.news-feed article .post-content {
	margin-left: 2em;
}

.news-feed.state-feed article .post-content {
	margin-left: 0;
}

.news-feed article .post-content .entry-meta {
	font-size: 14px;
    color: var(--black);
}

.news-feed article .post-content p:not(.entry-meta) {
	color: var(--black);
}

.news-feed article .post-content .read-more-btn {
	background: var(--gold);
    color: var(--green);
    padding: 8px 20px;
    border-radius: 30px;
    margin-top: 1em;
    display: inline-block;
    font-size: 16px;
}

.stat-number {
	font-size: 48px;
	font-weight: 900;
	line-height: 1.2;
	margin-bottom: 8px;
	color: #ffffff;
}

.stat-label {
	font-size: 16px;
	color: #ffffff;
	font-weight: 500;
}

.stat-outter {
	display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 1em;
}

.stat-outter .stat-block {
	display: flex;
    flex-direction: column;
    align-items: center;
}

/* Responsive - Stack on mobile */
@media (max-width: 768px) {
	.sport-stats-container {
		flex-direction: column;
		gap: 16px;
		padding: 16px;
	}

	.stat-number {
		font-size: 36px;
	}
}

.sa-athlete-grid > .et_pb_column {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}
 
.sa-athlete-grid > .et_pb_column::before,
.sa-athlete-grid > .et_pb_column::after {
  display: none;
}
 
.sa-athlete-grid > .et_pb_column > .et_pb_module {
  margin-bottom: 0 !important;
}
 
@media (max-width: 980px) {
  .sa-athlete-grid > .et_pb_column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}
 
@media (max-width: 767px) {
  .sa-athlete-grid > .et_pb_column {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 12px;
  }
}
 
/* ---------- Card shell ---------- */
 
.et_pb_module.sa-athlete-card {
  position: relative;
  padding: 0 !important;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
 
.et_pb_module.sa-athlete-card:hover {
  transform: translateY(-4px);
}

.sa-athlete-card .sa-highlights {
  margin: 0;
  padding: 0 0 12px;
}
 
.sa-athlete-card p.sa-highlights-heading {
  padding-bottom: 0;
}
 
/* Toggle row: label left, + on the right */
.sa-athlete-card .sa-highlights-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 4px 0;
  border: 0;
  background: none;
  font: inherit;
  line-height: inherit;
  text-align: left;
  color: inherit;
  cursor: pointer;
}
 
/* Circular + icon, becomes a minus when open */
.sa-athlete-card .sa-highlights-icon {
  position: relative;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--grey, #f5f5f5);
  transition: background-color 0.2s ease;
}
 
.sa-athlete-card .sa-highlights-icon::before,
.sa-athlete-card .sa-highlights-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  border-radius: 2px;
  background: var(--green, #006134);
  transition: transform 0.25s ease;
}
 
.sa-athlete-card .sa-highlights-icon::after {
  transform: rotate(90deg);
}
 
.sa-athlete-card .sa-highlights-toggle:hover .sa-highlights-icon,
.sa-athlete-card .sa-highlights-toggle[aria-expanded="true"] .sa-highlights-icon {
  background: var(--gold, #FACE08);
}
 
.sa-athlete-card .sa-highlights-toggle[aria-expanded="true"] .sa-highlights-icon::after {
  transform: rotate(0deg);
}
 
.sa-athlete-card .sa-highlights-toggle:focus-visible {
  outline: 2px solid var(--green, #006134);
  outline-offset: 2px;
  border-radius: 6px;
}
 
/* Screen reader only text ("for Arisa Trew") */
.sa-athlete-card .sa-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
 
/* Panel */
.sa-athlete-card .sa-highlights-panel {
  padding-top: 10px;
}
 
.sa-athlete-card .sa-highlights-panel:not([hidden]) {
  animation: saHighlightsIn 0.25s ease;
}
 
.sa-athlete-card .sa-highlights-panel p,
.sa-athlete-card .sa-highlights-panel p:last-child {
  padding-bottom: 8px;
}
 
@keyframes saHighlightsIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: none; }
}
 
/* Phones */
@media (max-width: 767px) {
  .sa-athlete-card .sa-highlights {
    padding-bottom: 8px;
  }
 
  .sa-athlete-card .sa-highlights-toggle {
    gap: 8px;
    padding: 2px 0;
  }
 
  .sa-athlete-card .sa-highlights-icon {
    flex-basis: 24px;
    width: 24px;
    height: 24px;
  }
 
  .sa-athlete-card .sa-highlights-icon::before,
  .sa-athlete-card .sa-highlights-icon::after {
    width: 10px;
    margin-left: -5px;
  }
}
 
@media (prefers-reduced-motion: reduce) {
  .sa-athlete-card .sa-highlights-panel:not([hidden]) {
    animation: none;
  }
 
  .sa-athlete-card .sa-highlights-icon,
  .sa-athlete-card .sa-highlights-icon::before,
  .sa-athlete-card .sa-highlights-icon::after {
    transition: none;
  }
}
 
/* Every wrapper between the card and the text: full width, no padding,
   no max-width, so the photo runs edge to edge */
.et_pb_module.sa-athlete-card div,
.et_pb_module.sa-athlete-card span:has(img),
.et_pb_module.sa-athlete-card a:has(img) {
  max-width: none;
  margin: 0;
  text-align: left;
}
 
/* Stretch the chain of wrappers down to the Instagram line so the footer
   sits on the bottom edge and cards in a row line up */
.et_pb_module.sa-athlete-card:has(p:last-child a[href*="instagram.com"]),
.et_pb_module.sa-athlete-card *:has(p:last-child a[href*="instagram.com"]) {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
 
/* ---------- Photo ---------- */
 
.et_pb_module.sa-athlete-card :has(> img) {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  line-height: 0;
  border-bottom: 4px solid var(--gold, #FACE08);
}
 
.et_pb_module.sa-athlete-card img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  aspect-ratio: 4 / 4;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.4s ease;
}
 
.et_pb_module.sa-athlete-card:hover img {
  transform: scale(1.04);
}
 
/* ---------- Name ---------- */
 
.et_pb_module.sa-athlete-card :is(h1, h2, h3, h4, h5, h6) {
  margin: 0;
  padding: 22px 24px 14px;
  text-align: left;
  font-weight: 800;
  font-size: 30px;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--black, #232122);
}
 
.et_pb_module.sa-athlete-card :is(h1, h2, h3, h4, h5, h6) a {
  color: inherit;
}
 
/* ---------- Details ---------- */
 
.et_pb_module.sa-athlete-card p {
  padding: 0 24px 6px;
  line-height: 1.45;
}
 
.et_pb_module.sa-athlete-card p:last-child {
  padding-bottom: 22px;
}
 
.et_pb_module.sa-athlete-card p strong {
  font-weight: 700;
  color: var(--green, #006134);
}
 
.et_pb_module.sa-athlete-card :has(> img) {
  position: relative;
}
 
.et_pb_module.sa-athlete-card.sa-olympian :has(> img)::before,
.et_pb_module.sa-athlete-card.sa-medallist :has(> img)::after {
  content: "";
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  height: 40px;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
 
.et_pb_module.sa-athlete-card.sa-olympian :has(> img)::before {
  width: 76px;
  border-radius: 999px;
  background-image: var(--sa-rings-url);
  background-size: 54px auto;
}
 
.et_pb_module.sa-athlete-card.sa-medallist :has(> img)::after {
  width: 40px;
  border-radius: 50%;
  background-image: var(--sa-medal-gold);
  background-size: 26px 26px;
}
 
.et_pb_module.sa-athlete-card.sa-olympian.sa-medallist :has(> img)::after {
  left: 96px;
}
 
.et_pb_module.sa-athlete-card.sa-medal-silver :has(> img)::after {
  background-image: var(--sa-medal-silver);
}
 
.et_pb_module.sa-athlete-card.sa-medal-bronze :has(> img)::after {
  background-image: var(--sa-medal-bronze);
}
 
 
/* ---------- Instagram footer (only when the last line links to Instagram) ---------- */
 
.et_pb_module.sa-athlete-card p:last-child:has(a[href*="instagram.com"]) {
  margin-top: auto;
  padding: 14px 24px 16px;
  border-radius: 40px;
  background: var(--grey, #f5f5f5);
}
 
.et_pb_module.sa-athlete-card p:has(+ p:last-child a[href*="instagram.com"]) {
  padding-bottom: 20px;
}
 
.et_pb_module.sa-athlete-card a[href*="instagram.com"] {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--black, #232122);
  text-decoration: none;
  transition: color 0.2s ease;
}
 
.et_pb_module.sa-athlete-card a[href*="instagram.com"]:hover {
  color: var(--green, #006134);
}
 
.et_pb_module.sa-athlete-card a[href*="instagram.com"]::before {
  content: "";
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  background-color: var(--green, #006134);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.5' cy='6.5' r='1.2' fill='black' stroke='none'/%3E%3C/svg%3E") no-repeat center / contain;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.5' cy='6.5' r='1.2' fill='black' stroke='none'/%3E%3C/svg%3E") no-repeat center / contain;
}
 
 
/* ---------- Responsive type ---------- */
 
@media (max-width: 980px) {
  .et_pb_module.sa-athlete-card :is(h1, h2, h3, h4, h5, h6) {
    font-size: 26px;
  }
}
 
@media (max-width: 767px) {
.et_pb_module.sa-athlete-card {
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(35, 33, 34, 0.12);
  }
 
  .et_pb_module.sa-athlete-card :has(> img) {
    border-bottom-width: 3px;
  }
 
  .et_pb_module.sa-athlete-card :is(h1, h2, h3, h4, h5, h6) {
    padding: 14px 12px 8px;
    font-size: clamp(17px, 5vw, 22px);
    overflow-wrap: break-word;
  }
 
  .et_pb_module.sa-athlete-card p {
    padding: 0 12px 4px;
    font-size: 13px;
    line-height: 1.35;
  }
 
  .et_pb_module.sa-athlete-card p:last-child {
    padding-bottom: 14px;
  }
 
  .et_pb_module.sa-athlete-card p:has(+ p:last-child a[href*="instagram.com"]) {
    padding-bottom: 12px;
  }
 
  .et_pb_module.sa-athlete-card p:last-child:has(a[href*="instagram.com"]) {
    padding: 10px 12px 12px;
  }
 
  .et_pb_module.sa-athlete-card a[href*="instagram.com"] {
    gap: 6px;
    min-width: 0;
    font-size: 12px;
    overflow-wrap: anywhere;
  }
 
  .et_pb_module.sa-athlete-card a[href*="instagram.com"]::before {
    flex-basis: 14px;
    width: 14px;
    height: 14px;
  }
 
  .et_pb_module.sa-athlete-card [class*="badge"]:not(:has([class*="badge"])) {
    top: 8px;
    right: 8px;
    padding: 6px 9px;
    font-size: 12px;
  }
 
  .et_pb_module.sa-athlete-card.sa-olympian :has(> img)::before,
  .et_pb_module.sa-athlete-card.sa-medallist :has(> img)::after {
    left: 8px;
    bottom: 8px;
    height: 30px;
  }
 
  .et_pb_module.sa-athlete-card.sa-olympian :has(> img)::before {
    width: 56px;
    background-size: 40px auto;
  }
 
  .et_pb_module.sa-athlete-card.sa-medallist :has(> img)::after {
    width: 30px;
    background-size: 20px 20px;
  }
 
  .et_pb_module.sa-athlete-card.sa-olympian.sa-medallist :has(> img)::after {
    left: 70px;
  }
}
 
 
/* ---------- Reduced motion ---------- */
 
@media (prefers-reduced-motion: reduce) {
  .et_pb_module.sa-athlete-card,
  .et_pb_module.sa-athlete-card img {
    transition: none;
  }
 
  .et_pb_module.sa-athlete-card:hover,
  .et_pb_module.sa-athlete-card:hover img {
    transform: none;
  }
}

/* =========================================================
   Skate Australia – News filters (Ajax Load More Filters)
   Scoped to #alm-filters-news so other ALM filters are untouched.
   ========================================================= */

#alm-filters-news {
  --sa-green: #006134;
  --sa-gold: #FACE08;
  --sa-black: #232122;
  --sa-grey: #f5f5f5;
  --sa-line: #e2e2e2;
  --chip: var(--sa-green);

  position: relative;
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 0;
  background: var(--sa-grey);
  font-family: 'Barlow', sans-serif;
  color: var(--sa-black);
}

/* Reset ALM default group spacing/borders */
#alm-filters-news .alm-filter {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
}

/* ---------- Headings (Search label + filter titles) ---------- */
#alm-filters-news .alm-filter--text label,
#alm-filters-news .alm-filter--title h3 {
  display: block;
  margin: 0 0 12px;
  padding: 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--sa-green);
}

/* ---------- Search field ---------- */
#alm-filters-news .alm-filter--text-wrap {
  margin: 0;
  padding: 0;
}

#alm-filters-news .alm-filter--textfield {
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
  width: 100%;
  height: 48px;
  margin: 0;
  padding: 0 18px 0 46px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23006134' stroke-width='2.5' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 17px 50% / 18px 18px;
  border: 2px solid var(--sa-line);
  border-radius: 999px;
  box-shadow: none;
  font-family: 'Barlow', sans-serif;
  font-size: 16px; /* 16px stops iOS zooming on focus */
  font-weight: 500;
  line-height: 1;
  color: var(--sa-black);
  transition: border-color .15s ease, box-shadow .15s ease;
}

#alm-filters-news .alm-filter--textfield::placeholder {
  color: #8a8889;
  opacity: 1;
}

#alm-filters-news .alm-filter--textfield:hover {
  border-color: #c9c9c9;
}

#alm-filters-news .alm-filter--textfield:focus {
  outline: none;
  border-color: var(--sa-green);
  box-shadow: 0 0 0 3px rgba(250, 206, 8, .6);
}

/* ---------- Category chips ---------- */
#alm-filters-news .alm-filter--taxonomy ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0 !important;
  list-style: none;
}

#alm-filters-news .alm-filter--taxonomy li {
  margin: 0;
  padding: 0;
  list-style: none;
  line-height: 1;
}

#alm-filters-news .alm-filter--checkbox .alm-filter--link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-sizing: border-box;
  min-height: 38px;
  margin: 0;
  padding: 7px 14px 7px 11px;
  background: #fff;
  border: 2px solid var(--sa-line);
  border-radius: 999px;
  font-family: 'Barlow', sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--sa-black);
  text-decoration: none;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

/* Colour dot (replaces ALM's checkbox square) */
#alm-filters-news .alm-filter--checkbox .alm-filter--link::before {
  content: '';
  position: static;
  display: block;
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--chip);
  box-shadow: 0 0 0 1px rgba(35, 33, 34, .12);
  transform: none;
  opacity: 1;
}

/* Remove ALM's checkmark */
#alm-filters-news .alm-filter--checkbox .alm-filter--link::after {
  content: none;
  display: none;
}

#alm-filters-news .alm-filter--checkbox .alm-filter--link:hover {
  border-color: var(--chip);
}

#alm-filters-news .alm-filter--checkbox .alm-filter--link:focus {
  outline: none;
}

#alm-filters-news .alm-filter--checkbox .alm-filter--link:focus-visible {
  outline: 3px solid var(--sa-gold);
  outline-offset: 2px;
}

/* Selected */
#alm-filters-news .alm-filter--checkbox .alm-filter--link.active,
#alm-filters-news .alm-filter--checkbox .alm-filter--link[aria-checked="true"] {
  padding-right: 12px;
  background: var(--sa-green);
  border-color: var(--sa-green);
  color: #fff;
}

#alm-filters-news .alm-filter--checkbox .alm-filter--link.active::before,
#alm-filters-news .alm-filter--checkbox .alm-filter--link[aria-checked="true"]::before {
  box-shadow: 0 0 0 2px #fff;
}

#alm-filters-news .alm-filter--checkbox .alm-filter--link.active::after,
#alm-filters-news .alm-filter--checkbox .alm-filter--link[aria-checked="true"]::after {
  content: '\00D7';
  position: static;
  display: block;
  width: auto;
  height: auto;
  margin: 0 0 1px 2px;
  border: 0;
  background: none;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  color: rgba(255, 255, 255, .85);
  transform: none;
}

/* ---------- Discipline colours ---------- */
#alm-filters-news [data-value="artistic"]               { --chip: #ff4fa3; }
#alm-filters-news [data-value="inline-hockey"]          { --chip: #2C91FF; }
#alm-filters-news [data-value="rink-hockey"]            { --chip: #00AD08; }
#alm-filters-news [data-value="roller-derby"]           { --chip: #D06CFF; }
#alm-filters-news [data-value="inline"]                 { --chip: #00b9b5; }
#alm-filters-news [data-value="scooter"],
#alm-filters-news [data-value="scootering"]             { --chip: #677577; }
#alm-filters-news [data-value="skateboarding"],
#alm-filters-news [data-value="downhill-skateboarding"] { --chip: #232122; }
#alm-filters-news [data-value="speed"]                  { --chip: #f04444; }
#alm-filters-news [data-value="olympics"],
#alm-filters-news [data-value="paris-2024"],
#alm-filters-news [data-value="tokyo-2020"]             { --chip: #FACE08; }

/* Push the Olympic chips to the end, after the disciplines */
#alm-filters-news .alm-filter--taxonomy li:has([data-value="olympics"]),
#alm-filters-news .alm-filter--taxonomy li:has([data-value="paris-2024"]),
#alm-filters-news .alm-filter--taxonomy li:has([data-value="tokyo-2020"]) {
  order: 2;
}

/* ---------- Reset + admin edit link ---------- */
#alm-filters-news .alm-filters--controls {
  margin: 0;
  padding: 0;
}

#alm-filters-news .alm-filters--controls:has(.alm-filters--reset-button[style*="none"]) {
  display: none;
}

#alm-filters-news .alm-filters--reset-button {
  margin: 0;
  padding: 9px 18px;
  background: transparent;
  border: 2px solid var(--sa-black);
  border-radius: 999px;
  font-family: 'Barlow', sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  color: var(--sa-black);
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}

#alm-filters-news .alm-filters--reset-button:hover {
  background: var(--sa-black);
  color: #fff;
}

#alm-filters-news .alm-filters--reset-button:focus-visible {
  outline: 3px solid var(--sa-gold);
  outline-offset: 2px;
}

/* Take ALM's loading indicator out of the flow so it doesn't add a gap */
#alm-filters-news .alm-filters--loading {
  position: absolute;
  top: 24px;
  right: 24px;
  margin: 0;
}

#alm-filters-news .alm-filters-edit {
  align-self: flex-start;
  margin-top: -12px;
  font-size: 13px;
  color: #6b6969;
  text-decoration: underline;
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
  #alm-filters-news {
    gap: 22px;
    padding: 22px 18px 20px;
    border-radius: 16px;
  }

  #alm-filters-news .alm-filter--checkbox .alm-filter--link {
    min-height: 36px;
    padding: 6px 12px 6px 10px;
    font-size: 14px;
  }
}


/* =========================================================
   Upcoming Events — Ajax Load More Repeater Styles
   Match: screenshot card UI
   ========================================================= */

.alm-listing {
    display: flex;
    flex-direction: column;
}

/* Individual event row */
.event-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid #e5e7eb;
}

.event-item:last-child {
    border-bottom: none;
}

/* Left: title + venue */
.event-item__body {
    flex: 1;
    min-width: 0;
}

.event-item__title {
    font-size: 1rem;         /* ~16px */
    font-weight: 700;
    color: #111827;
    margin: 0 0 4px;
    line-height: 1.3;
}

.event-item__title-link {
    text-decoration: none;
    color: inherit;
}

.event-item__venue {
    font-size: 0.875rem;     /* ~14px */
    color: #6b7280;
    margin: 0;
    line-height: 1.4;
}

/* Right: date block */
.event-item__date {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex-shrink: 0;
    text-align: right;
}

.event-item__date-day {
    font-size: 0.9375rem;    /* ~15px */
    font-weight: 600;
    color: #111827;
    white-space: nowrap;
}

.event-item__date-year {
    font-size: 0.8125rem;    /* ~13px */
    color: #6b7280;
    line-height: 1.4;
}

/* ALM load more button — optional base styles */
.alm-btn-wrap {
    text-align: center;
    margin-top: 24px;
}

.alm-load-more-btn {
    display: inline-block;
    padding: 10px 28px;
    background: #111827;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.alm-load-more-btn:hover {
    background: #374151;
}

.alm-load-more-btn.done {
    display: none;
}

.event-feed-sidebar .alm-btn-wrap {display: none !important;}

/* =========================================================================
   Skate Australia – Events feed (ALM template_2)
   Add to the child theme stylesheet or Divi > Theme Options > Custom CSS.
   ========================================================================= */

.sa-events-feed {
	--sa-green: var(--green, #006134);
	--sa-gold: var(--gold, #FACE08);
	--sa-black: var(--black, #232122);
	--sa-grey: var(--grey, #f5f5f5);
	--sa-line: #e3e3e3;
	--sa-muted: #5c5a5b;
	font-family: 'Barlow', sans-serif;
	color: var(--sa-black);
}

/* ---- Card ---------------------------------------------------------- */

.sa-events-feed .sa-event {
	display: grid;
	grid-template-columns: 92px minmax(0, 1fr) auto;
	align-items: center;
	gap: 24px;
	margin: 0 0 16px;
	padding: 20px 24px 20px 20px;
	background: #fff;
	border-radius: 12px;
}

/* ---- Date block ---------------------------------------------------- */

.sa-events-feed .sa-event__date {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 92px;
	padding: 10px 6px;
	background: var(--sa-green);
	border-radius: 10px;
	color: #fff;
	font-family: 'Barlow Condensed', sans-serif;
	text-transform: uppercase;
	line-height: 1;
	text-align: center;
}

.sa-events-feed .sa-event__date-day {
	font-size: 40px;
	font-weight: 700;
	color: var(--sa-gold);
}

.sa-events-feed .sa-event__date-month {
	margin-top: 4px;
	font-size: 18px;
	font-weight: 600;
	letter-spacing: .06em;
}

.sa-events-feed .sa-event__date-year {
	margin-top: 4px;
	font-size: 13px;
	font-weight: 500;
	opacity: .75;
}

/* ---- Tags (discipline / state / type) ------------------------------ */

.sa-events-feed .sa-event__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 8px !important;
	padding: 0 !important;
	list-style: none;
}

.sa-events-feed .sa-event__tag {
	display: inline-block;
	margin: 0 !important;
	padding: 3px 11px !important;
	border-radius: 999px;
	background: var(--sa-grey);
	color: var(--sa-black);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.5;
}

/* Discipline colour comes from PHP as --tag-bg; labels always white */
.sa-events-feed .sa-event__tag--discipline {
	background: var(--tag-bg, var(--sa-green));
	color: #fff;
}

/* Inline Hockey: white label on blue */
.sa-events-feed .sa-event__tag--discipline[style*="#2c91ff" i] {
	color: #fff;
}

.sa-events-feed .sa-event__tag--state {
	background: var(--sa-gold);
	color: var(--sa-black);
}

/* ---- Title + meta -------------------------------------------------- */

.sa-events-feed .sa-event__title {
	margin: 0 0 8px;
	padding: 0;
	font-family: 'Barlow Condensed', sans-serif;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.15;
	color: var(--sa-black);
}

.sa-events-feed .sa-event__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 20px;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none;
	font-size: 15px;
	line-height: 1.5;
	color: var(--sa-muted);
}

.sa-events-feed .sa-event__meta-item {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 0;
}

.sa-events-feed .sa-event__meta-item svg {
	flex: none;
	width: 16px;
	height: 16px;
	color: var(--sa-green);
}

.sa-events-feed .sa-event__time {
	white-space: nowrap;
}

/* ---- More info toggle ---------------------------------------------- */

.sa-events-feed .sa-event__more {
	margin-top: 10px;
}

.sa-events-feed .sa-event__more summary {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	cursor: pointer;
	list-style: none;
	color: var(--sa-green);
	font-size: 14px;
	font-weight: 700;
}

.sa-events-feed .sa-event__more summary::-webkit-details-marker {
	display: none;
}

.sa-events-feed .sa-event__more summary::after {
	content: '+';
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--sa-green);
	color: #fff;
	font-size: 14px;
	line-height: 1;
}

.sa-events-feed .sa-event__more[open] summary::after {
	content: '–';
}

.sa-events-feed .sa-event__more-body {
	margin-top: 10px;
	padding: 12px 16px;
	background: var(--sa-grey);
	border-radius: 8px;
	font-size: 15px;
	line-height: 1.6;
}

.sa-events-feed .sa-event__more-body p {
	padding: 0 0 .8em;
}

.sa-events-feed .sa-event__more-body > :last-child {
	margin-bottom: 0;
	padding-bottom: 0;
}

/* WYSIWYG content */
.sa-events-feed .sa-event__more-body ul,
.sa-events-feed .sa-event__more-body ol {
	margin: 0 0 .8em;
	padding: 0 0 0 1.3em;
	line-height: 1.6;
}

.sa-events-feed .sa-event__more-body ul {
	list-style: disc;
}

.sa-events-feed .sa-event__more-body ol {
	list-style: decimal;
}

.sa-events-feed .sa-event__more-body li {
	margin: 0 0 .3em;
	padding: 0;
}

.sa-events-feed .sa-event__more-body a {
	color: var(--sa-green);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.sa-events-feed .sa-event__more-body a:hover {
	color: var(--sa-black);
}

.sa-events-feed .sa-event__more-body h2,
.sa-events-feed .sa-event__more-body h3,
.sa-events-feed .sa-event__more-body h4 {
	margin: 0 0 .4em;
	padding: 0;
	font-family: 'Barlow Condensed', sans-serif;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.25;
	color: var(--sa-black);
}

.sa-events-feed .sa-event__more-body img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
}

.sa-events-feed .sa-event__more-body iframe {
	display: block;
	width: 100%;
	max-width: 640px;
	height: auto;
	aspect-ratio: 16 / 9;
	border: 0;
	border-radius: 8px;
}

/* ---- Buttons ------------------------------------------------------- */

.sa-events-feed .sa-event__actions {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 8px;
	min-width: 168px;
}

.sa-events-feed .sa-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 9px 20px;
	border: 2px solid transparent;
	border-radius: 999px;
	font-family: 'Barlow', sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.sa-events-feed .sa-btn svg {
	width: 11px;
	height: 11px;
}

.sa-events-feed .sa-btn--primary {
	background: var(--sa-gold);
	border-color: var(--sa-gold);
	color: var(--sa-black);
}

.sa-events-feed .sa-btn--primary:hover,
.sa-events-feed .sa-btn--primary:focus-visible {
	background: var(--sa-green);
	border-color: var(--sa-green);
	color: #fff;
}

.sa-events-feed .sa-btn--secondary {
	background: transparent;
	border-color: var(--sa-green);
	color: var(--sa-green);
}

.sa-events-feed .sa-btn--secondary:hover,
.sa-events-feed .sa-btn--secondary:focus-visible {
	background: var(--sa-green);
	color: #fff;
}

.sa-events-feed .sa-btn:focus-visible,
.sa-events-feed .sa-event__more summary:focus-visible {
	outline: 3px solid var(--sa-gold);
	outline-offset: 2px;
}

.sa-events-feed .sa-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

/* ---- Past events --------------------------------------------------- */

.sa-events-feed .sa-event--past {
	border-left-color: #bdbbbc;
}

.sa-events-feed .sa-event--past .sa-event__date {
	background: var(--sa-black);
}

.sa-events-feed .sa-event--past .sa-event__date-day {
	color: #fff;
}

/* ---- ALM load more + empty state ----------------------------------- */

.sa-events-feed .alm-btn-wrap {
	padding: 8px 0 0;
	text-align: center;
}

.sa-events-feed .alm-btn-wrap .alm-load-more-btn {
	height: auto !important;
	padding: 12px 30px !important;
	background: var(--sa-green) !important;
	border: 0 !important;
	border-radius: 999px !important;
	box-shadow: none !important;
	color: #fff !important;
	font-family: 'Barlow', sans-serif !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	transition: background-color .2s ease, color .2s ease;
}

.sa-events-feed .alm-btn-wrap .alm-load-more-btn:hover {
	background: var(--sa-gold) !important;
	color: var(--sa-black) !important;
}

.sa-events-feed .alm-btn-wrap .alm-load-more-btn.done {
	display: none !important;
}

.sa-events-feed .sa-events-feed__empty {
	padding: 28px 24px;
	background: #ffffff;
	border-left: 6px solid var(--sa-gold);
	border-radius: 12px;
	font-size: 16px;
	font-weight: 500;
	text-align: center;
}

/* ---- Responsive ---------------------------------------------------- */

@media (max-width: 980px) {
	.sa-events-feed .sa-event {
		grid-template-columns: 80px minmax(0, 1fr);
		gap: 18px;
	}

	.sa-events-feed .sa-event__actions {
		grid-column: 2;
		flex-direction: row;
		flex-wrap: wrap;
		min-width: 0;
	}
}

@media (max-width: 600px) {
	.sa-events-feed .sa-event {
		grid-template-columns: 64px minmax(0, 1fr);
		align-items: start;
		gap: 14px;
		padding: 16px;
	}

	.sa-events-feed .sa-event__date {
		min-height: 72px;
	}

	.sa-events-feed .sa-event__date-day {
		font-size: 30px;
	}

	.sa-events-feed .sa-event__date-month {
		font-size: 15px;
	}

	.sa-events-feed .sa-event__title {
		font-size: 21px;
	}

	.sa-events-feed .sa-event__actions {
		grid-column: 1 / -1;
	}

	.sa-events-feed .sa-event__actions .sa-btn {
		flex: 1 1 auto;
	}
}


/* =========================================================================
   Skate Australia – ALM Filters: events (#alm-filters-events)
   Inline on desktop, stacked on mobile. White fields for the grey section.
   !important is used where ALM's default filter styles would otherwise win.
   ========================================================================= */

#alm-filters-events.alm-filters {
	--sa-green: var(--green, #006134);
	--sa-gold: var(--gold, #FACE08);
	--sa-black: var(--black, #232122);
	--sa-field-border: #dcdcdc;
	position: relative;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0 0 32px !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	font-family: 'Barlow', sans-serif;
}

/* ---- Filter groups ------------------------------------------------- */

#alm-filters-events .alm-filter {
	flex: 1 1 180px;
	min-width: 0;
	margin: 0 !important;
	padding: 0 !important;
	background: none !important;
	border: 0 !important;
}

#alm-filters-events .event-search {
	flex: 2 1 300px;
}

#alm-filters-events .date-search {
	flex: 1.2 1 220px;
}

#alm-filters-events .alm-filter--inner,
#alm-filters-events .alm-filter--text,
#alm-filters-events .alm-filter--select,
#alm-filters-events .alm-filter--date_picker,
#alm-filters-events .alm-filter--text-wrap {
	margin: 0 !important;
	padding: 0 !important;
}



/* ---- Fields -------------------------------------------------------- */

#alm-filters-events .alm-filter--textfield,
#alm-filters-events .alm-filter--select select {
	box-sizing: border-box !important;
	width: 100% !important;
	height: 50px !important;
	margin: 0 !important;
	padding: 0 20px !important;
	background-color: #fff !important;
	background-repeat: no-repeat !important;
	border: 1px solid var(--sa-field-border) !important;
	border-radius: 999px !important;
	box-shadow: none !important;
	color: var(--sa-black) !important;
	font-family: 'Barlow', sans-serif !important;
	font-size: 15px !important;
	font-weight: 500;
	line-height: 48px !important;
	-webkit-appearance: none;
	appearance: none;
	transition: border-color .2s ease, box-shadow .2s ease;
}

#alm-filters-events .alm-filter--textfield::placeholder {
	color: #6b6969;
	opacity: 1;
}

#alm-filters-events .alm-filter--textfield:focus,
#alm-filters-events .alm-filter--select select:focus {
	outline: none !important;
	border-color: var(--sa-green) !important;
	box-shadow: 0 0 0 3px rgba(0, 97, 52, .18) !important;
}

/* Search icon, left */
#alm-filters-events .event-search .alm-filter--textfield {
	padding-left: 46px !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='7' cy='7' r='5' fill='none' stroke='%23006134' stroke-width='1.8'/%3E%3Cpath d='m11 11 3.5 3.5' stroke='%23006134' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") !important;
	background-position: 18px center !important;
	background-size: 17px 17px !important;
}

/* Chevron, right */
#alm-filters-events .alm-filter--select select {
	padding-right: 46px !important;
	cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23006134' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
	background-position: right 18px center !important;
	background-size: 16px 16px !important;
}

/* ALM's own select arrow, if it adds one */
#alm-filters-events .alm-filter--select::after {
	display: none !important;
}

/* Calendar icon, right */
#alm-filters-events .date-search .alm-filter--textfield {
	padding-right: 46px !important;
	cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect x='2' y='3' width='12' height='11' rx='2' fill='none' stroke='%23006134' stroke-width='1.5'/%3E%3Cpath d='M2 6.5h12M5.5 1.5v3M10.5 1.5v3' stroke='%23006134' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") !important;
	background-position: right 18px center !important;
	background-size: 17px 17px !important;
}

/* ---- Submit -------------------------------------------------------- */

#alm-filters-events .alm-filters--controls,
#alm-filters-events .alm-filters--submit {
	flex: 0 0 auto;
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
	background: none !important;
	border: 0 !important;
	text-align: right;
}

#alm-filters-events .alm-filters--submit-button {
	height: 50px !important;
	margin: 0 !important;
	padding: 0 34px !important;
	background: var(--sa-green) !important;
	border: 0 !important;
	border-radius: 999px !important;
	box-shadow: none !important;
	color: #fff !important;
	cursor: pointer;
	font-family: 'Barlow', sans-serif !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	text-transform: none !important;
	transition: background-color .2s ease, color .2s ease;
}

#alm-filters-events .alm-filters--submit-button:hover {
	background: var(--sa-gold) !important;
	color: var(--sa-black) !important;
}

#alm-filters-events .alm-filters--submit-button:focus-visible {
	outline: 3px solid var(--sa-gold) !important;
	outline-offset: 2px;
}

body #main-content .alm-filters-container .alm-filter--text-wrap {
	background-color: transparent;
	border: none;
}

/* Month / year header: undo theme input + select styles that clip it */
.flatpickr-calendar .flatpickr-months,
.flatpickr-calendar .flatpickr-months .flatpickr-month {
	height: 44px !important;
	overflow: visible !important;
}

.flatpickr-calendar .flatpickr-months .flatpickr-prev-month,
.flatpickr-calendar .flatpickr-months .flatpickr-next-month {
	height: 44px !important;
	padding: 14px 12px !important;
	line-height: 1 !important;
}

.flatpickr-calendar .flatpickr-months .flatpickr-prev-month:hover svg,
.flatpickr-calendar .flatpickr-months .flatpickr-next-month:hover svg {
	fill: var(--green, #006134) !important;
}

.flatpickr-calendar .flatpickr-current-month {
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 6px;
	height: 44px !important;
	padding: 0 !important;
	font-size: 15px !important;
	line-height: 1 !important;
}

.flatpickr-calendar .flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-calendar .flatpickr-current-month input.cur-year {
	box-sizing: border-box !important;
	height: 30px !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 6px !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 6px !important;
	box-shadow: none !important;
	color: var(--black, #232122) !important;
	font-family: 'Barlow', sans-serif !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	line-height: 30px !important;
	vertical-align: middle !important;
}

.flatpickr-calendar .flatpickr-current-month .flatpickr-monthDropdown-months {
	width: auto !important;
	-webkit-appearance: menulist !important;
	appearance: menulist !important;
	cursor: pointer;
}

.flatpickr-calendar .flatpickr-current-month .flatpickr-monthDropdown-months:hover,
.flatpickr-calendar .flatpickr-current-month input.cur-year:hover {
	background: #f0f0f0 !important;
}

.flatpickr-calendar .flatpickr-current-month .numInputWrapper {
	width: 7ch !important;
	height: 30px !important;
}

.flatpickr-calendar .flatpickr-current-month input.cur-year {
	width: 100% !important;
}

/* ---- Admin "Edit Filter" link (logged-in only) --------------------- */

#alm-filters-events .alm-filters-edit {
	position: absolute;
	top: -22px;
	right: 0;
	font-size: 12px;
	line-height: 1;
}

/* ---- Mobile: stack ------------------------------------------------- */

@media (max-width: 767px) {
	#alm-filters-events.alm-filters {
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
	}

	#alm-filters-events .alm-filter,
	#alm-filters-events .alm-filters--controls {
		flex: 1 1 auto;
		width: 100%;
	}

	#alm-filters-events .alm-filters--submit-button {
		width: 100% !important;
	}
}

/* ---- Flatpickr calendar (appended to <body>, so not scoped) ---------
   Applies to every flatpickr on the site. */

.flatpickr-calendar {
	font-family: 'Barlow', sans-serif;
	border-radius: 12px;
	box-shadow: 0 12px 32px rgba(35, 33, 34, .14);
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover {
	background: var(--green, #006134);
	border-color: var(--green, #006134);
	color: #fff;
}

.flatpickr-day.inRange {
	background: #e3efe8;
	border-color: #e3efe8;
	box-shadow: -5px 0 0 #e3efe8, 5px 0 0 #e3efe8;
}

.flatpickr-day.today {
	border-color: var(--gold, #FACE08);
}

.sa-share-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 2em 0;
    justify-content: center;
}

.sa-share-label {
    font-weight: 700;
    color: var(--yellow);
    margin-right: 4px;
}

.sa-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    color: #fff;
    transition: opacity 0.2s ease, transform 0.2s ease;
    line-height: 1;
}

.sa-share-btn:hover {
    opacity: 0.85;
    transform: translateY(-1px);
    color: #ffffff;
    text-decoration: none;
}

.sa-share-btn i {
    font-size: 1rem;
    line-height: 1;
}

.sa-share-facebook { background-color: var(--green); }
.sa-share-twitter  { background-color: var(--green); }
.sa-share-email    { background-color: var(--green); }

/* Darken cyan text for readability */
.sa-share-email {
    color: #ffffff;
}

.sa-share-email svg path,
.sa-share-email svg polyline {
    stroke: #ffffff;
}

.sa-share-email svg path[fill="currentColor"] {
    fill: #ffffff;
}

.news-feed .et_pb_post .entry-title a::after,
body .sa-related-posts .et_pb_post .entry-title a::after{
    content: '';
    position: absolute;
    inset: 0;
}

body .sa-related-posts .et_pb_image_container,
body .sa-news-feed-main .et_pb_image_container {
	margin: 0;
	overflow: hidden;
}

body .sa-related-posts article:hover .et_pb_image_container img,
body .sa-news-feed-main article:hover .et_pb_image_container img {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
}

body .sa-related-posts article .et_pb_image_container img,
body .sa-news-feed-main article .et_pb_image_container img {
	display: block;
    transition: all 300ms ease 0ms!important;
}

body .sa-related-posts article .post-meta,
body .sa-news-feed-main article .post-meta,
.dgbm_blog_module .post-meta>span {
	font-size: 16px;
	font-weight: 500;
}

body .sa-related-posts .post-content-inner {
	color: var(--black);
}

body .sa-related-posts article a.more-link {
	font-size: 16px;
	font-weight: 700;
}

body .sa-related-posts article .content-wrapper,
body .sa-news-feed-main .content-wrapper {
	padding: 10%;
}

.sa-related-posts .sa-blog.et_pb_blog_grid .column.size-1of3 {
	width: 33.333%;
	margin-right: 30px;
}

.sa-related-posts .sa-blog.et_pb_blog_grid {
	display: grid;
	grid-template-columns: repeat(3,minmax(0,1fr));
    column-gap: 30px;
}

.sa-related-posts .sa-blog.et_pb_blog_grid .column.size-1of3:nth-child(3n) {
	margin-right: 0;
}

.sa-related-posts article {
	border: none;
	padding: 0;
    border-radius: 15px;
	overflow: hidden;
	margin-bottom: 30px;
	background: #ffffff;
	position: relative;
}

.sa-related-posts article .et_pb_image_container {
	margin: 0;
}

.sa-related-posts article .entry-featured-image-url {
	margin-bottom: 0;
}

.sa-related-posts article .more-link {
	display: block;
	margin-top: 1em;
    text-align: right;
}

.sa-related-posts article .entry-title {
	text-transform: none;
}

/* Two-button variant: all sizes */
.cta-blurb--2btn .dsm_card_wrapper > .et_pb_button_wrapper {
  display: none;
}

.cta-blurb--2btn .cta-buttons {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: 20px;
}

.cta-blurb--2btn .cta-buttons br {
  display: none;
}

.cta-blurb--2btn .cta-buttons .et_pb_button {
  text-align: center;
  white-space: nowrap;
}


/*** Form Styling ***/

.gform_required_legend { display: none;}

.gform_wrapper.gravity-theme input[type=color], .gform_wrapper.gravity-theme input[type=date], .gform_wrapper.gravity-theme input[type=datetime-local], .gform_wrapper.gravity-theme input[type=datetime], .gform_wrapper.gravity-theme input[type=email], .gform_wrapper.gravity-theme input[type=month], .gform_wrapper.gravity-theme input[type=number], .gform_wrapper.gravity-theme input[type=password], .gform_wrapper.gravity-theme input[type=search], .gform_wrapper.gravity-theme input[type=tel], .gform_wrapper.gravity-theme input[type=text], .gform_wrapper.gravity-theme input[type=time], .gform_wrapper.gravity-theme input[type=url], .gform_wrapper.gravity-theme input[type=week], .gform_wrapper.gravity-theme, home select, .gform_wrapper.gravity-theme textarea {
	font-size: 16px;
    padding: 10px 16px;
    border: none;
    border-radius: 30px;
    height: auto;
    min-height: 50px;
}

body select {
	-webkit-appearance: none;
	appearance: none;
		font-size: 16px;
    padding: 10px 16px;
    border: none;
    border-radius: 30px;
    height: auto;
    min-height: 50px;
}

body input[type=checkbox] {
	height: 25px;
    min-width: 25px !important;
    background-color: #ffffff;
    border: none;
    box-shadow: none;
    padding: 2px !important;
    -webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	margin-top: 0;
	margin-right: 6px;
}

body input[type=checkbox]:checked {
	background: var(--green);
}

body input[type=checkbox]:checked:before {
	font-family: 'ETModules' !important;
	color: #ffffff;
	content: '\4e';
    font-weight: bold;
    font-size: 18px;
}

body input[type=radio] {
	height: 25px;
    min-width: 25px !important;
    background-color: #ffffff;
    border: none;
    box-shadow: none;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
    padding: 2px !important;
    -webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	margin-top: 0;
}

body input[type=radio]:checked {
	background: var(--green);
}

body input[type=radio]:checked:before {
	font-family: 'ETModules' !important;
	content: '\4e';
    font-weight: bold;
    font-size: 18px;
	color: #ffffff;
}

body .gform_footer input, body .gform_button.button {
	background: var(--green);
	color: var(--gold);
    padding: 1em 2em;
    border: none;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 700;
}

.sb-sub .gform_button.button {
	background: var(--gold);
	color: var(--green);
}

.gform_footer input:hover {
	cursor: pointer;
}

body .contact-form input, body .contact-form select, body .contact-form textarea { background-color: var(--grey); }

.gform_wrapper.gravity-theme .gform_validation_errors>h2 {
	font-size: 14px !important;
	color: #c02b0a !important;
}


/*** Responsive Styling ***/

/*** Responsive Styles Large Desktop And Above ***/
@media all and (min-width: 1405px) {

 
}

/*** Responsive Styles Standard Desktop Only ***/
@media all and (min-width: 1100px) and (max-width: 1405px) {


}

/*** Responsive Styles Tablet And Below ***/
@media all and (max-width: 980px) {
.swap_row,
.middle-row.swap_row {
		display: -webkit-box;
		display: -moz-box;
		display: -ms-flexbox;
		display: -webkit-flex;
		display: flex !important;
		-webkit-flex-wrap: wrap;
		flex-wrap: wrap;
	} 
	.first-on-mobile {
		-webkit-order: 1;
		order: 1;
		margin-bottom: 30px !important;
	} 
	.second-on-mobile {
		-webkit-order: 2;
		order: 2;
	} 
	.third-on-mobile {
		-webkit-order: 3;
		order: 3;
	} 
	.fourth-on-mobile {
		-webkit-order: 4;
		order: 4;
	}
	.swap_row:last-child .et_pb_column:not(.et-last-child) {
		margin-bottom: 0;
	}
	.middle-row {
		display: block;
	}
}
	#logo {
		background: white;
		padding: 1em;
		height: 120% !important;
		max-height: 120% !important;
		border-bottom-left-radius: 15px;
		border-bottom-right-radius: 15px;
	}
/*** Responsive Styles Tablet and ABOVE ***/
@media all and (min-width: 981px) {

	.et_header_style_left .et-fixed-header #et-top-navigation {
		padding-bottom: 20px;
	}
	#main-header.et-fixed-header #logo {
		height: 100% !important;
	}
	.cta-blurb .dsm_card_wrapper {
    flex: 1 1 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    column-gap: 48px;
    row-gap: 0;
    align-items: start;
  }
  .cta-blurb .dsm_card_title,
  .cta-blurb .dsm_card_description {
    grid-column: 1;
  }
  .cta-blurb .et_pb_button_wrapper {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    margin: 0;
  }
  .cta-blurb .et_pb_button {
    white-space: nowrap;
  }
	 .cta-blurb .dsm_card_wrapper {
    flex: 1 1 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    column-gap: 48px;
    row-gap: 0;
    align-items: start;
  }

  .cta-blurb .dsm_card_title,
  .cta-blurb .dsm_card_description {
    grid-column: 1;
  }

  .cta-blurb .et_pb_button_wrapper {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    margin: 0;
  }

  .cta-blurb .et_pb_button {
    white-space: nowrap;
  }

  /* Two-button variant */
  .cta-blurb--2btn .dsm_card_description {
    display: contents;
  }

  .cta-blurb--2btn .dsm_card_description > p {
    grid-column: 1;
    padding-bottom: 0;
  }

  .cta-blurb--2btn .cta-buttons {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    align-items: stretch;
    margin-top: 0;
  }
}



/*** Responsive Styles Tablet Only ***/
@media all and (min-width: 768px) and (max-width: 980px) {


}

/*** Responsive Styles Smartphone Only ***/
@media all and (max-width: 767px) {
	#main-content .et_pb_button {
		line-height: 1.25em !important;
	}
	.sa-cta-buttons .et_pb_column {
		flex-direction: column;
		align-items: center;
	}
	.news-feed article {
		display: block;
	}
	.news-feed article img {
		max-width: 100%;
	}
	.news-feed article .post-content {
		margin-left: 0;
	}
	.sa-related-posts .sa-blog.et_pb_blog_grid {
    	display: block;
	}
}

/*** Responsive Styles Smartphone Portrait ***/
@media all and (max-width: 479px) {

	
}