:root {
	--primary-color: #01677b;
	--primary-lighter-color: #00778F; 
	--primary-darker-color: #005769; 
	--secondary-color: #ec7600;
	--secondary-lighter-color: #fa7e02;
	--link-color: #111111;
	--font-family-heading: 'Montserrat', sans-serif;
}

.mb-0 { margin-bottom: 0 !important }

.offset-top {
	position: relative;
	top: -24px;
}

.rewired-runner-ui .pagination {
	margin-bottom: 42px;
}

.rewired-runner-ui .nav-links {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
}
.rewired-runner-ui .nav-links a {
	color: var(--secondary-color) !important;
	background-color: #f2f2f2;
	border-radius: 4px;
	display: block;
	padding: 6px;
}

.rewired-runner-ui .footer-social-inner-wrap a {
	background-color: #333 !important;
}

.rewired-runner-ui .footer-social-inner-wrap a svg {
	fill: #fff !important;
	height: 24px;
	width: 24px;
}

.rewired-runner-ui .footer-social-inner-wrap a:hover {
	background-color: #ccc !important;
}

.rewired-runner-ui .footer-social-inner-wrap a:hover svg {
	fill: #333 !important;
}

body .srfm-form-container.srfm-bg-color {
	background-color: transparent;
}

.page-details-description {
	padding: 64px 0 42px;
}

.page-details-description .container {
	display: flex;
	flex-flow: row wrap;
	align-items: flex-start;
}

.page-details-description .page-details-description-content,
.page-details-description .page-details-description-action {
	width: 100%;
}

.page-details-description .page-details-description-content *:last-child {
	margin-bottom: 0 !important;
}

/* Test */
.rewired-runner-ui .image-offset-backing {
	position: relative;
}

.rewired-runner-ui .image-offset-backing .uagb-container-inner-blocks-wrap {
	z-index: 1;
}

.rewired-runner-ui .image-offset-backing:after {
	content: '';
	background-color: #ffffff;
	position: absolute;
	left: 0; bottom: 0;
	height: 200px;
	width: 100%;
	z-index: 0;
}

.rewired-runner-ui .image-offset-vertical {
	position: relative;
	background-color: #ffffff;
	box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.1);
	border-radius: 6px;
	overflow: hidden;
}

.rewired-runner-ui .image-offset-vertical img {
	
}

.rewired-runner-ui .content-md-max-width {
	max-width: 464px;
	margin: 0 auto;
}

.rewired-runner-ui .custom-cover-hero {
	max-height: 600px;
	min-height: 0;
}

/* Header */
.rewired-runner-ui .ast-primary-header-bar {
	background-color: #ffffff;
}

.rewired-runner-ui #ast-mobile-header .ast-primary-header-bar {
	background-color: #ffffff;
}

.rewired-runner-ui #ast-mobile-header .custom-logo-link img {
	max-width: 92px;
	width: 92px;
}

.rewired-runner-ui #ast-mobile-header .menu-toggle.main-header-menu-toggle {
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
	justify-content: center;
	background-color: var(--secondary-color);
	border-radius: 42px;
	padding: 0 0 0 0;
	height: 42px;
	width: 42px;
}

.rewired-runner-ui #ast-mobile-header .site-header-section {
	align-content: center;
}

.rewired-runner-ui #masthead {
	position: relative;
	border-top: 8px solid var(--secondary-color);
	background-color: #ffffff;
}

.rewired-runner-ui .ast-transparent-mobile-logo {
	display: block;
}

.rewired-runner-ui .ast-transparent-mobile-logo:hover {
	opacity: 0.6;
}

/* Header Social */
.rewired-runner-ui .site-header .site-header-primary-section-right {
	position: relative;
}

.rewired-runner-ui .site-header .site-header-primary-section-right .ast-header-social-wrap {
	display: flex;
	align-items: center;
	gap: 12px;
}

.rewired-runner-ui .site-header .site-header-primary-section-right .ast-header-social-wrap:before {
	content: 'Subscribe & Follow';
	color: #111111;
	border-right: 1px solid #f2f2f2;
	padding-right: 12px;
	font-size: 12px;
}

/* .rewired-runner-ui .site-header #ast-desktop-header .site-header-primary-section-right > .ast-builder-layout-element:last-child {
	position: absolute;
	top: 6px; right: 0;
} */

/* Main Navigation */
.rewired-runner-ui .site-header .site-navigation {
	
}

.rewired-runner-ui .site-header .site-navigation .main-header-menu > .menu-item {
	
}

.rewired-runner-ui .site-header .site-navigation .main-header-menu > .menu-item > a {
	display: flex;
	padding: 12px 16px;
	color: var(--link-color);
	font-weight: bold;
	line-height: 1em;
}

.rewired-runner-ui .site-header .site-navigation .main-header-menu > .menu-item > .ast-menu-toggle {
	top: 0;
}

.rewired-runner-ui .site-header .site-navigation .main-header-menu > .menu-item.menu-item-support > a {
	padding: 12px 14px;
	background-color: var(--primary-color);
	color: #fff;
}

.rewired-runner-ui .site-header .site-navigation .main-header-menu > .menu-item.menu-item-support:hover > a {
	opacity: 0.6;
	color: #fff;	
}

.rewired-runner-ui .site-header .site-navigation .main-header-menu > .menu-item:hover > a {
	opacity: 1;
	color: var(--primary-color);
}


.rewired-runner-ui .site-header .site-navigation .main-header-menu > .current-menu-item {
	
}

.rewired-runner-ui .site-header .site-navigation .main-header-menu > .current-menu-item > a, 
.rewired-runner-ui .site-header .site-navigation .main-header-menu > .current_page_parent > a {
	color: var(--secondary-color);
}

.rewired-runner-ui .site-header .site-navigation .main-header-menu > .current-menu-item:hover > a,
.rewired-runner-ui .site-header .site-navigation .main-header-menu > .current_page_parent:hover > a {
	color: var(--secondary-color);
}

.rewired-runner-ui .site-header .site-navigation .main-header-menu .menu-item > .sub-menu {
	background-color: #f2f2f2;
}

.rewired-runner-ui .site-header .site-navigation .main-header-menu .menu-item > .sub-menu .menu-item > a {
	color: var(--link-color);
	font-size: 14px;
}

.rewired-runner-ui .site-header .site-navigation .main-header-menu .menu-item > .sub-menu .menu-item:hover > a {
	opacity: 0.6;
	color: #fff;
}

.rewired-runner-ui .srfm-form-container h1,
.rewired-runner-ui .srfm-form-container h2,
.rewired-runner-ui .srfm-form-container h3,
.rewired-runner-ui .srfm-form-container h4,
.rewired-runner-ui .srfm-form-container h5,
.rewired-runner-ui .srfm-form-container h6 {
	font-size: 24px;
	font-family: var(--font-family-heading);
	color: #ffffff;
}

/* Header Search */
.rewired-runner-ui .ast-header-search {
	padding-right: 0;
}

.rewired-runner-ui .ast-header-search .icon-search {
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
	justify-content: center;
	background-color: var(--secondary-color);
	border-radius: 42px;
	padding: 0 0 0 0;
	height: 42px;
	width: 42px;
}

.rewired-runner-ui .ast-header-search .icon-search svg {
	fill: #ffffff;
	display: block;
	padding: 0;
	margin: 0;
}

.rewired-runner-ui .ast-header-search .search-form {
	border-radius: 50px;
	right: -4px;
}

.rewired-runner-ui .ast-header-search .search-form label {
	border-radius: 50px;
}

/* Footer */
.rewired-runner-ui .site-footer {
	
}

.rewired-runner-ui .site-footer .site-primary-footer-wrap {
	overflow: hidden;
	position: relative;
	border-top: 10px solid var(--secondary-color);
	background-color: var(--primary-color);
	padding-right: 16px;
	padding-left: 16px;
}

.rewired-runner-ui .site-footer .site-primary-footer-wrap:before {
	z-index: 0;
	content: '';
	right: -124px; bottom: -124px;
	position: absolute;
	background-size: cover;
	background-image: url('https://rewiredrunner.com/wp-content/uploads/2025/09/brandmark.png');
	height: 585px;
	width: 565px;
	opacity: 0.4;
}

@media (min-width: 922px) {
	.rewired-runner-ui .site-footer .site-primary-footer-wrap:before {
		right: 0; top: 50%;
		transform: translate(0, -50%);
		bottom: auto;
	}
}

.rewired-runner-ui .site-footer .site-primary-footer-wrap .ast-builder-grid-row-container-inner {
	z-index: 1;
	position: relative;
}

.rewired-runner-ui .site-footer .site-below-footer-wrap {
	background-color: var(--primary-darker-color);
	padding-right: 20px;
	padding-left: 20px;
}

.rewired-runner-ui .site-footer .ast-footer-copyright,
.rewired-runner-ui .site-footer .site-primary-footer-wrap,
.rewired-runner-ui .site-footer .site-below-footer-wrap {
	color: rgba(255, 255, 255, 0.8) !important;
}

.rewired-runner-ui .site-footer .site-primary-footer-wrap a,
.rewired-runner-ui .site-footer .site-below-footer-wrap a {
	color: rgba(255, 255, 255, 1) !important;
}

.rewired-runner-ui .colophon-disclaimer {
	font-size: 10px;
	line-height: 1em;
}

.rewired-runner-ui .colophon-site {
	
}

.rewired-runner-ui .site-below-footer-wrap {
	padding: 32px 0;
}

.rewired-runner-ui .site-footer .widget {
	margin-bottom: 32px;
}

.rewired-runner-ui .site-footer .widget .uagb-heading-text,
.rewired-runner-ui .site-footer .widget  .widget-title {
	padding-bottom: 10px;
	font-family: var(--font-family-heading);
	font-weight: bold;
	font-size: 24px !important;
	color: var(--secondary-color);
	position: relative;
	line-height: 1.7em;
}

.rewired-runner-ui .site-footer .widget .uagb-heading-text:after,
.rewired-runner-ui .site-footer .widget  .widget-title:after {
	content: '';
	background-color: #ffffff;
	position: absolute;
	left: 0; bottom: 0;
	width: 100px;
	height: 2px;
	
}

/* Global */
.rewired-runner-ui .custom-button,
.rewired-runner-ui .custom-button-alt,
.rewired-runner-ui #srfm-submit-btn {
	font-size: 16px;
	font-weight: 600;
	border-radius: 4px;
	font-family: var(--font-family-heading);
	border: 1px solid transparent;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	height: 46px;
	padding: 0 32px;
}

.rewired-runner-ui .custom-button,
.rewired-runner-ui #srfm-submit-btn {
	background: var(--secondary-color);
	border: 1px solid var(--secondary-color);
	color: #fff;
}

.rewired-runner-ui .custom-button:hover,
.rewired-runner-ui #srfm-submit-btn:hover {
	background: var(--secondary-lighter-color);
	border: 1px solid var(--secondary-lighter-color);
	color: #ffffff;
}

.rewired-runner-ui .custom-button-alt {
	background: var(--primary-color);
	border: 1px solid var(--primary-color);
	color: #fff;
}

.rewired-runner-ui .custom-button-alt:hover {
	background: var(--primary-lighter-color);
	border: 1px solid var(--primary-lighter-color);
	color: #ffffff;	
}

/* Form */
html .rewired-runner-ui .srfm-input-common {
	background-color: #ffffff !important;
	border: 1px solid rgba(0, 0, 0, 0.6) !important;
}

html .rewired-runner-ui .srfm-form-container .srfm-block .srfm-error-wrap {
	height: auto;
}

/* Hero */
.rewired-runner-ui .custom-hero {
	position: relative;
	display: flex;
	align-items: center;
	background: #01677B;
	background: linear-gradient(45deg,rgba(1, 103, 123, 1) 0%, rgba(236, 118, 0, 1) 100%);
	padding-top: 92px;
	padding-bottom: 92px;
}

.custom-hero-background {
	max-width: 100% !important;
	display: block;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	position: absolute;
	left: 0; top: 0;
	height: 100%;
	width: 100%;
	z-index: 0;
	opacity: .4;
}

.rewired-runner-ui .custom-hero-container {
}

.rewired-runner-ui .custom-hero-content {
	text-align: center;
	margin-right: auto;
	position: relative;
	z-index: 1;
	width: 100%;
	padding-left: 20px;
	padding-right: 20px;
}

.rewired-runner-ui .custom-hero-title {
	font-size: 3rem;
	line-height: 1em;
	font-family: var(--font-family-heading);
	font-weight: 600;
	color: #fff;
}

.rewired-runner-ui .custom-hero-title span {
	display: block;
}

.rewired-runner-ui span.custom-hero-subtitle {
	color: var(--secondary-color);
	font-family: var(--font-family-heading);
	font-size: 1.6rem;
	font-weight: 400;
}

.rewired-runner-ui .custom-hero-action {
	margin-top: 32px;
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	justify-content: center;
	gap: 16px;
}

@media (min-width: 922px) {
	.rewired-runner-ui .custom-hero-content {
		text-align: left;	
		padding-left: 0;
		padding-right: 0;
	}
	.rewired-runner-ui .custom-hero-title {
		font-family: var(--font-family-heading);
	}
	.rewired-runner-ui span.custom-hero-subtitle {
		font-size: 2.6rem;
	}
	.rewired-runner-ui .custom-hero-action {
		justify-content: flex-start;
	}
	.rewired-runner-ui .custom-hero {
		height: 724px;
		padding-top: 0;
		padding-bottom: 0;
	}
}

/* Sponsors */
.rewired-runner-ui .logo-container {
	padding: 32px 20px 42px;
}

.rewired-runner-ui .logo-container-title {
	display: flex;
	flex-flow: row nowrap;
	justify-content: center;
	font-family: var(--font-family-heading);
	font-weight: bold;
	font-size: 3.33333rem !important;
	color: var(--secondary-color);
	position: relative;
	margin: 0 0 16px 0;
	padding: 0;
}

.rewired-runner-ui .logo-marquee {
  overflow: hidden;
  width: 100%;
  background: #ffffff
  box-sizing: border-box;
  padding: 0;
}


.rewired-runner-ui .logo-track {
  display: flex;
  gap: 32px;
  align-items: center;
}

.rewired-runner-ui .animation-marquee .logo-track {
	animation: marquee 20s linear infinite;
}

.rewired-runner-ui .no-marquee .logo-track {
	justify-content: space-between;
	padding: 16px 0;
}

.rewired-runner-ui .no-marquee .logo-track .logo {
	max-width: 16.6666667%;
}

.rewired-runner-ui .logo-marquee .logo {
	flex: 0 0 auto;
	width: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	background-color: #ffffff;
	box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.1);
	border-radius: 6px;
	height: 92px;
	padding: 0 16px;
}

@media (min-width: 922px) {
	.rewired-runner-ui .logo-marquee .logo {
		padding: 0 32px;
	}
}

.rewired-runner-ui .logo-marquee .logo img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.rewired-runner-ui .logo-marquee:hover .logo-track,
.rewired-runner-ui .logo-marquee:focus-within .logo-track {
  animation-play-state: paused;
}

.rewired-runner-ui .page-header,
.rewired-runner-ui .custom-page-header {
	display: block;
	padding: 32px 20px 32px;
	background-color: var(--primary-color);
	width: 100%;
}

.rewired-runner-ui .page-header.page-header-article .container {
	text-align: center;
	max-width: 960px;
}

.container {
	max-width: var(--wp--custom--ast-content-width-size);
	margin-left: auto;
	margin-right: auto;
}

.rewired-runner-ui .page-header__title {
	color: var(--secondary-color);
	font-family: var(--font-family-heading);
	line-height: 1.3em;
}

.rewired-runner-ui .page-header__count {
	display: block;
	margin-top: 4px;
	color: rgba(255, 255, 255, 0.6);
}

.rewired-runner-ui .wp-block-uagb-faq {
	
}

.rewired-runner-ui .wp-block-uagb-faq-child {
	border-left: 6px solid var(--secondary-color);
	border-radius: 4px;
}

.rewired-runner-ui .wp-block-uagb-faq-child.uagb-faq-item-active {
	box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
}

.rewired-runner-ui .wp-block-uagb-faq-child .uagb-faq-questions-button {
	padding-top: 16px;
	padding-bottom: 16px;
}

.rewired-runner-ui .wp-block-uagb-faq-child .uagb-faq-content {
	padding: 0 32px 16px;
}

.reset-container .site-content .ast-container {
	display: block;
	max-width: 100%;
	padding: 0;
}

.page-details {
	background-color: #fff;
}

.page-post-grid {
    display: grid;
    grid-template-columns: 1fr;
	padding: 64px 20px; 
    gap: 36px;
}

.page-post-single {
	padding-top: 64px;
	padding-bottom: 64px;
}

.page-post-single-body {
/* 	padding: 32px; */
	max-width: 764px;
	width: 100%; margin: 0 auto;
/* 	background-color: #f2f2f2; */
/* 	border-radius: 4px; */
}

.page-post-single-action {
	display: flex;
	flex-flow: row nowrap;
	align-content: center;
	justify-content: center;
	margin-top: 32px;
}

@media screen and (min-width: 922px) {
    .page-post-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Optional: style individual posts */
.post-grid-item {
    background: #f2f2f2;
	border-radius: 4px;
	overflow: hidden;
}

.post-grid-youtube {
	border-radius: 4px;
	position: relative;
	overflow: hidden;	
}

.post-grid-item .thumbnail img,
.post-grid-youtube .thumbnail img {
	transition: opacity .15s ease-in-out;
}

.post-grid-item .thumbnail {
	width: 100%;
	background: linear-gradient(45deg,rgba(1, 103, 123, 1) 0%, rgba(236, 118, 0, 1) 100%);
	border-bottom: 4px solid var(--primary-color);
	padding-bottom: 56.25%;
	position: relative;
	display: block;
}

.post-grid-youtube .thumbnail {
	display: block;
	position: relative;
	background: linear-gradient(45deg,rgba(1, 103, 123, 1) 0%, rgba(236, 118, 0, 1) 100%);
	border-bottom: 4px solid var(--primary-color);
	padding-bottom: 64%;
}

.post-grid-youtube .thumbnail img {
	object-fit: cover;
	object-position: center;
	position: absolute;
	left: 0; top: 0;
	height: 100%;
	width: 100%;
	display: block;	
	z-index: 1;
}

.post-grid-youtube-title {
	display: block;
	color: #ffffff;
	position: absolute;
	left: 0; bottom: 0;
	padding: 16px;
	z-index: 2;
	width: 100%;
	font-size: 1rem;
	font-family: var(--font-family-heading);
	font-size: 1.2rem;
}

.post-grid-item:hover .thumbnail img,
.post-grid-youtube:hover .thumbnail img {
	opacity: 0.5;
}

.post-grid-item .excerpt {
	display: block;
	margin-bottom: 24px;
}

.post-grid-item-read-more {
	color: var(--primary-color);
	text-decoration: underline;
}

.post-grid-item-read-more:hover {
	opacity: 0.6;
}

.post-grid-item .thumbnail img {
	display: block;
	object-fit: cover;
	object-position: center;
	transition: opacity .2s ease-in-out;
	position: absolute;
	left: 0; top: 0;
	height: 100%;
	width: 100%;
}

.pagination {
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
	justify-content: center;
	margin-top: 32px;
}

.post-grid-item-body {
	padding: 16px;
}

.post-grid-item-title {
	line-height: 1rem;
	display: block;
	margin-bottom: 0.4rem;
}

.post-grid-item-title a {
	font-size: 1rem;
	color: var(--secondary-color);
	font-family: var(--font-family-heading);
	font-size: 1.2rem;
}

@media (min-width: 992px) {
	.rewired-runner-ui .page-header,
	.rewired-runner-ui .custom-page-header {
		padding: 64px 0 32px;
	}
	.rewired-runner-ui .page-header__title {
	font-size: 3.3333333333333rem;
	}
}

/* Respect user preference for reduced motion */
@media (prefers-reduced-motion: reduce) {
  .rewired-runner-ui .logo-track {
    animation: none;
    transform: translateX(0);
  }
}


@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (max-width: 991px) {
	.rewired-runner-ui .ast-builder-grid-row-container-inner .ast-builder-footer-grid-columns {
		grid-template-columns: 1fr;
	}
	.rewired-runner-ui .site-footer .ast-footer-copyright,
	.rewired-runner-ui .site-footer .site-primary-footer-wrap,
	.rewired-runner-ui .site-footer .site-below-footer-wrap,
	.rewired-runner-ui .site-footer .colophon-site {
		display: block;
		text-align: center;
	}
}

@media (max-width: 600px) {
  .rewired-runner-ui .logo-marquee .logo { width: 90px; gap: 18px; }
  .rewired-runner-ui .logo-track { gap: 18px; animation-duration: 18s; }
}

@media (min-width: 921px) {
	.page-post-grid {
		padding-left: 0;
		padding-right: 0;
	}
	.rewired-runner-ui .site-header .site-navigation .main-header-menu > .menu-item > a {
		padding: 8px 0;
		margin: 0 0.5em;
		font-size: 14px;
	}
	.rewired-runner-ui .site-header .site-navigation .main-header-menu > .menu-item.menu-item-support > a{
		border-radius: 4px;
		padding: 8px 16;
	}
	.rewired-runner-ui .site-header .site-navigation .main-header-menu > .menu-item > .ast-menu-toggle {
		top: 5px;
	}
	.rewired-runner-ui .site-header .site-navigation .main-header-menu .menu-item > .sub-menu {
		background-color: #ffffff;
		border-top: 4px solid var(--secondary-color);
		box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.1);
		border-radius: 4px;
	}
	.rewired-runner-ui .site-header .site-navigation .main-header-menu .menu-item > .sub-menu .menu-item:hover > a {
		color: var(--link-color);	
	}
	.rewired-runner-ui .site-below-footer-wrap .ast-builder-grid-row {
		grid-template-columns: 1fr 2fr 1fr;
	}
	.page-details-description .page-details-description-content {
		padding-right: 42px;
		width: 88%;
	}
	
	.page-details-description .page-details-description-action {
		padding-left: 42px;
		width: 33.3333%;
	}
}

@media (min-width: 1224px) {
	.rewired-runner-ui .site-header .site-header-primary-section-right {
		padding-top: 16px;
	}
	.rewired-runner-ui .site-header .site-navigation .main-header-menu > .menu-item > a {
		font-size: 16px;
	}
	.rewired-runner-ui .site-header .site-navigation .main-header-menu > .menu-item > a {
		padding: 12px 0;
		margin: 0 12px;
	}
	.rewired-runner-ui .site-header .site-navigation .main-header-menu > .menu-item.menu-item-support > a {
		padding: 12px 16px;
	}
	.rewired-runner-ui .site-footer .site-primary-footer-wrap,
	.rewired-runner-ui .site-footer .site-below-footer-wrap {
		padding-left: 0;
		padding-right: 0;
	}
}