/*
Theme Name: Tyler Lorette
Template: astra
Author: MediaDoc Inc.
Text Domain: tyler-lorette
Version: 0.7
*/

html {
	scroll-behavior: smooth;
}

.entry-content > .wp-block-group.tl-section,
.entry-content > .wp-block-group.tl-section--alt,
.entry-content > .wp-block-spectra-container.tl-section {
	--wp--style--global--content-size: 1100px;
	padding: 88px 24px;
	background: var(--ast-global-color-4, #172943);
	color: var(--ast-global-color-2, #fff);
	scroll-margin-top: 96px;
}

.wp-block-spectra-container.alignfull.tl-section {
	padding-left: max(24px, calc(50% - 550px));
	padding-right: max(24px, calc(50% - 550px));
}

.tl-section {
	padding: 88px 24px;
	background: var(--ast-global-color-4, #172943);
	color: var(--ast-global-color-2, #fff);
	scroll-margin-top: 96px;
}

.tl-section--alt,
.entry-content > .wp-block-group.tl-section.tl-section--alt {
	background: var(--ast-global-color-5, #1d3354);
}

.tl-break {
	margin: 0;
	line-height: 0;
}

.tl-break img {
	display: block;
	width: 100%;
	height: min(72vh, 780px);
	object-fit: cover;
	object-position: center 42%;
}

.tl-section .tl-wrap {
	max-width: 1100px;
	margin: 0 auto;
}

.tl-section h2 {
	margin: 0 0 28px;
	color: #fff;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.wp-block-spectra-container.tl-section p,
.tl-section p,
.tl-about p {
	margin: 0 0 1em;
	color: var(--ast-global-color-3, rgba(255, 255, 255, 0.75));
	font-size: 1.05rem;
	line-height: 1.7;
}

.tl-photos {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.tl-photos .wp-block-image:first-child,
.tl-photos img:first-child {
	width: 86%;
	align-self: flex-start;
	margin-left: 0;
	margin-right: auto;
}

.tl-photos .wp-block-image:last-child,
.tl-photos img:last-child {
	width: 86%;
	align-self: flex-end;
	margin-left: auto;
	margin-right: 0;
}

.tl-photos .wp-block-image {
	margin: 0;
}

.tl-photos img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 4px;
}

.tl-music-embed {
	margin: 0 0 28px;
	overflow: hidden;
	border-radius: 8px;
}

.tl-music-embed iframe,
.tl-section iframe {
	display: block;
	width: 100%;
	max-width: 1100px;
	margin-left: auto;
	margin-right: auto;
	border: 0;
}

.tl-highlights,
.tl-section .wp-block-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.tl-highlights li,
.tl-section .wp-block-list li {
	margin: 0;
	padding: 14px 0;
	border-bottom: 1px solid var(--ast-global-color-6, rgba(255, 255, 255, 0.2));
	color: var(--ast-global-color-3, rgba(255, 255, 255, 0.75));
}

.tl-section .wp-block-heading.has-text-align-center,
.tl-section .has-text-align-center {
	text-align: center;
}

.tl-section .wp-block-buttons {
	margin-top: 8px;
}

.tl-section .wp-element-button,
.tl-section .wp-block-button__link {
	background: var(--ast-global-color-0, #20a5a5);
	color: #fff;
	border-radius: 2px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.tl-contact {
	text-align: center;
}

.tl-contact p {
	margin: 0 0 24px;
	color: var(--ast-global-color-3, rgba(255, 255, 255, 0.75));
}

.ast-builder-menu-1 .menu-item > .menu-link,
.ast-builder-menu-1 .menu-item.current-menu-item > .menu-link {
	color: #fff !important;
}

.ast-builder-menu-1 .menu-item > .menu-link:hover {
	color: var(--ast-global-color-1, #2ad0bc) !important;
}

.ast-builder-menu-1 .main-header-menu {
	justify-content: center;
}

.site-header-primary-section-center {
	justify-content: center;
}

.site-header .ast-builder-social-element,
.site-footer .ast-builder-social-element,
.ast-mobile-popup-drawer .ast-builder-social-element,
.ast-mobile-header-content .ast-builder-social-element {
	color: #fff;
	background: transparent !important;
}

.site-header .ast-builder-social-element:hover,
.site-footer .ast-builder-social-element:hover,
.ast-mobile-popup-drawer .ast-builder-social-element:hover,
.ast-mobile-header-content .ast-builder-social-element:hover {
	color: var(--ast-global-color-1, #2ad0bc);
}

.ast-mobile-popup-inner,
.ast-mobile-header-content {
	background-color: var(--ast-global-color-4, #172943) !important;
}

.ast-mobile-popup-drawer .menu-toggle-close {
	color: #fff;
}

.ast-footer-copyright {
	color: var(--ast-global-color-3, rgba(255, 255, 255, 0.75));
}

@media (max-width: 781px) {
	.tl-section,
	.entry-content > .wp-block-group.tl-section,
	.entry-content > .wp-block-group.tl-section--alt,
	.entry-content > .wp-block-spectra-container.tl-section {
		padding: 64px 20px;
	}

	.wp-block-spectra-container.alignfull.tl-section {
		padding-left: 20px;
		padding-right: 20px;
	}

	.tl-break img {
		height: min(42vh, 320px);
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}
