/* @theme Name: Chillicothe Park District 2023
@Description: This site was built by Central States Marketing. For more information about the site or this custom WordPress theme, you can contact Central States Marketing at: info@centralstatesmedia.com or call us at: 309-693-2345.
@Author: Central States Marketing
@Author URI: http://www.centralstatesmarketing.com/
@Version: 1.0
@Date: September 2023
@charset "utf-8"; */

/* ========== Fonts ========== */
@import url('https://fonts.googleapis.com/css2?family=Antonio:wght@700&family=Poppins:wght@400;700&display=swap');

/* ========== CSS Custom Properties ========== */
:root {
	--navy-blue: rgb(21, 41, 81);
	--fire-red: rgb(227, 60, 49);
	--cream: rgb(245, 243, 239);
	--forest-green: rgb(0, 133, 71);
	--sunny: rgb(244, 169, 28);
	--sky-blue: rgb(75, 199, 234);
	--leaf: rgb(147, 200, 61);
	--seafoam: rgb(217, 230, 223);
	--white: rgb(255, 255, 255);
	--gray: rgb(128, 128, 128);
	--black: rgb(26, 32, 35);

	--primary: var(--navy-blue);
	--secondary: var(--fire-red);
	--nav-color: #e1ecfd;

	--gutter-lg: 10%;
	--gutter-sm: 5%;
	--margin: 1.5rem;
	--max-w: 1600px;

	--font: Poppins, sans-serif;
	--font-accent: Antonio, sans-serif;

	--xs: clamp(0.6rem, calc(0.56rem + 0vw), 0.7rem);
	--sm: clamp(0.7rem, calc(0.68rem + 0.08vw), 0.85rem);
	--base: clamp(0.9rem, calc(0.83rem + 0.21vw), 1rem);
	--md: clamp(1rem, calc(1.01rem + 0.4vw), 1.33rem);
	--lg: clamp(1.2rem, calc(1.23rem + 0.68vw), 1.78rem);
	--xl: clamp(1.35rem, calc(1.3rem + 1.1vw), 2.37rem);
	--xxl: clamp(1.5rem, calc(1.4rem + 1.7vw), 3.16rem);
	--jumbo: clamp(1.7rem, calc(1.4rem + 2.56vw), 4.21rem);

	--transition: all 0.3s ease-in-out;
}

:is(h1, h2, h3, h4, h5, h6) {
	--color: var(--primary);
	font-weight: 700;
	position: relative;
	color: var(--color);
	margin: 0;
	padding: 1rem 0;
}

:is(h1, h2, h3, h4, h5)::before {
	/* .header__decoration:is(h1, h2, h3, h4, h5) { */
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 36px;
	height: 0.3rem;
	background-color: var(--color);
}

h1 {
	font-size: var(--jumbo);
	margin: 1rem 0;
}

h2 {
	--color: var(--secondary);
	font-size: var(--xxl);
	margin: 0.8rem 0;
}

h3 {
	font-size: var(--xl);
	margin: 0.6rem 0;
}

h4 {
	--color: var(--secondary);
	font-size: var(--lg);
	margin: 0.4rem 0;
}

h5 {
	font-size: var(--md);
	margin: 0.2rem 0;
}

h6 {
	font-size: var(--base);
}

p {
	line-height: 1.4;
}

/* ========== Reset ========== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

body { overflow-x: hidden; }

html,
body {
	padding: 0;
	margin: 0;
	font-family: var(--font);
	background-color: var(--cream);
}

img,
picture,
iframe {
	max-width: 100%;
	display: block;
}

input,
button,
textarea,
select {
	font: inherit;
}

ul,
ol {
	list-style-position: inside;
}

hr {
	width: 100%;
	height: 1px;
	border: none;
	margin: 2rem 0;
	background-color: var(--white);
}

@media (prefers-reduced-motion: reduce) {
	html:focus-within {
		scroll-behavior: auto;
	}
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

a,
::after,
::before {
	text-decoration: none;
	-webkit-transition: var(--transition);
	transition: var(--transition);
	font-family: var(--font-body);
}

/* ========== Components ========== */
.btn {
	display: inline-block;
	padding: 0.8rem 2.6rem;
	border-radius: 3rem;
	background-color: var(--primary);
	color: var(--white);
	font-weight: 700;
}

.btn:hover {
	background-color: var(--secondary);
}

.btn__ghost {
	display: inline-block;
	position: relative;
	padding-inline: 1.25rem 0.75rem;
	padding-block: 0.8rem;
	color: var(--primary);
	font-weight: 700;
	background-image: url(images/icon-arrow.svg);
	background-size: 0.7rem;
	background-repeat: no-repeat;
	background-position: left center;
}

.btn__ghost:hover {
	padding-inline-start: 1.75rem;
}

.btn__nav {
	font-weight: 700;
	display: inline-block;
	padding: 0.4rem 1.6rem 0.4rem 2.8rem;
	border-radius: 3rem;
	background-color: var(--secondary);
	background-image: url(images/icon-heart.svg);
	background-size: 0.8rem;
	background-repeat: no-repeat;
	background-position-x: 1.5rem;
	background-position-y: center;
	margin-right: 1rem;
	transition: var(--transition);
}

.btn__nav a {
	color: var(--white);
}

.btn__nav:hover {
	background-color: var(--primary);
	background-image: url(images/icon-heart-full.svg);
}

.btn__blue {
	background-color: var(--sky-blue);
	margin-top: 2rem;
}

.btn__yellow {
	background-color: var(--sunny);
	margin-top: 2rem;
}

.btn__red {
	background-color: var(--fire-red);
	margin-top: 2rem;
}

:is(.btn__blue, .btn__yellow, .btn__red):hover {
	background-color: var(--primary);
}

/* ========== Utils ========== */
.header.scroll {
	background-color: var(--cream);
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.header.scroll .logo img {
	max-height: 90px;
	padding-block: 0.5rem;
}

.red {
	color: var(--fire-red);
}

.blue {
	color: var(--sky-blue);
}

.yellow {
	color: var(--sunny);
}

/* ========== Search ========== */
.search__container img {
	height: 20px;
	width: 20px;
	margin-inline: 2rem 1rem;
	cursor: pointer;
}

.search__box {
	display: none;
	position: absolute;
	top: 70%;
	width: 50%;
	padding: 2rem;
	background-color: var(--white);
	align-items: center;
	justify-content: end;
	left: 25%;
	border-radius: 2rem;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.search__box.open {
	display: flex;
}

.search__box form {
	display: flex;
	gap: 1rem;
	width: 100%;
	align-items: center;
}

.search__box input {
	color: var(--cream);
	background-color: transparent;
	border: none;
}

.search__box input[name='s'] {
	width: 100%;
	border-bottom: 2px solid var(--primary);
	color: var(--primary);
}

.search__box .btn__search--close {
	height: 28px;
	width: 28px;
	cursor: pointer;
}

form input.btn-search {
	background-color: var(--primary);
	cursor: pointer;
	border-radius: 50px;
	padding: 0.5rem 1rem;
	transition: var(--transition);
}

form input.btn-search:hover {
	background-color: var(--secondary);
}

::placeholder {
	color: var(--primary);
}

/* ========== Navigation ========== */
.header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 10000;
	padding: 0 var(--gutter-sm);
}

.header__wrapper {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
}

.header__wrapper .logo img {
	padding: 1rem 0;
	height: 140px;
}

.nav {
	justify-self: end;
}

:is(.menu, .sub-menu) {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	align-items: center;
}

.menu {
	gap: 3rem;
}

.menu:hover > .menu-item:not(.btn__nav),
.menu:hover .menu-item-has-children::after {
	opacity: 0.6;
}

.menu > .menu-item:not(.btn__nav):hover {
	opacity: 1;
}

.menu-item {
	position: relative;
}

.menu > .menu-item-has-children:hover::before {
	content: '';
	position: absolute;
	bottom: -6px;
	left: 50%;
	transform: translateX(-50%);
	height: 24px;
	width: 24px;
	background-image: url(images/icon-callout.svg);
	background-repeat: no-repeat;
	background-size: 100%;
	z-index: 10;
	filter: drop-shadow(0 -2px 2px rgba(0, 0, 0, 0.3));
}

.menu-item:not(.btn__nav) a {
	display: block;
	color: var(--primary);
	font-size: var(--base);
	padding-block: 1rem;
}

.sub-menu {
	display: none;
	position: absolute;
	overflow: hidden;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	background-color: var(--cream);
	align-items: center;
	justify-content: center;
	flex-direction: column;
	border-radius: 1rem;
	z-index: 9;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
	text-align: center;
	min-width: max-content;
}

.sub-menu .menu-item {
	width: 100%;
	align-self: center;
}

.sub-menu .menu-item a {
	padding: 1rem 2rem;
}

.menu .menu-item:hover .sub-menu {
	display: flex;
}

.sub-menu .menu-item:hover {
	background-color: var(--primary);
}

.sub-menu .menu-item:hover a {
	color: var(--white);
}

.menu-item-has-children {
	padding-right: 1.5rem;
	cursor: pointer;
}

.menu-item-has-children::after {
	content: '';
	position: absolute;
	right: 0;
	top: 40%;
	height: 0.8rem;
	width: 0.8rem;
	background-image: url(images/icon-arrow-down.svg);
	background-size: 0.8rem;
	background-repeat: no-repeat;
	background-position-x: right;
	background-position-y: center;
	transition: var(--transition);
}

.menu-item-has-children:hover::after {
	transform: rotate(180deg);
}

.menu-open {
	display: none;
	height: 32px;
	width: 32px;
}

/* ========== Drawer ========== */
.drawer {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	width: 75vw;
	height: 100dvh;
	background-color: var(--primary);
	z-index: 100000;
	text-align: right;
	transform: translateX(100%);
	transition: var(--transition);
}

.drawer.open {
	transform: translateX(0px);
}

.drawer__container {
	display: flex;
	flex-direction: column;
	align-items: end;
	justify-content: space-between;
	height: 100%;
	padding: 2rem var(--gutter-sm) 4rem;
}

.drawer .menu-close {
	max-height: 40px;
	cursor: pointer;
}

.drawer .nav {
	width: 100%;
	height: 100%;
	overflow-y: auto;
}

.drawer .menu-main-menu-container {
	height: 100%;
}

.drawer .menu {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	height: 100%;
	list-style: none;
	overflow-x: hidden;
	gap: unset;
}

.drawer .menu-item.btn__nav {
	all: unset;
}

.drawer .menu:hover > .menu-item.btn__nav {
	opacity: 0.6;
}

.drawer .menu > .menu-item.btn__nav:hover {
	opacity: 1;
}

.drawer .menu .menu-item a {
	color: var(--white);
	font-size: var(--lg);
	padding: 1rem 0;
	font-weight: 700;
	text-transform: uppercase;
	display: block;
}

.drawer .menu .menu-item .sub-menu .menu-item a {
	padding: 0.5rem 0;
}

.drawer .menu-item-has-children {
	padding-right: 0;
}

.drawer .menu-item-has-children::after {
	display: none;
}

.drawer .sub-menu {
	display: none;
	right: 0;
	border-radius: 0;
	box-shadow: none;
	top: unset;
	left: unset;
	transform: unset;
	background-color: unset;
	text-align: unset;
	border-right: 2px solid var(--white);
	padding-right: 1rem;
}

.drawer .menu-item-has-children::before {
	display: none;
}

.drawer .sub-menu .menu-item a {
	font-size: var(--md);
	font-weight: 400;
	text-transform: none;
}

.drawer .menu .menu-item:hover .sub-menu {
	display: block;
	position: relative;
}

.drawer .menu .menu-item .sub-menu:hover .menu-item {
	opacity: 0.6;
}

.drawer .menu .menu-item:hover .sub-menu .menu-item:hover {
	opacity: 1;
}

.drawer ul ul li ul {
	display: none;
}

.drawer ul ul ul li a {
	font-size: var(--md);
	font-weight: 400;
	text-transform: none;
}

.drawer ul ul li:hover > ul {
	display: block;
}

.drawer__container--socials {
	display: flex;
	gap: 1rem;
	justify-self: end;
}

.drawer__container--socials img {
	width: 28px;
	height: 28px;
}

/* ========== Hero ========== */

.hero {
	display: grid;
	position: relative;
	padding: var(--margin);
	background-color: var(--cream);
}

.hero__image {
	grid-column: 1 / -1;
	grid-row: 1 / -1;
	border-radius: 4rem;
	overflow: hidden;
	background-color: rgb(225, 236, 253);

	@media (width < 1000px) {
		border-radius: 2rem;
	}
}

.hero__image picture {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.hero__content {
	grid-column: 1 / -1;
	grid-row: 1 / -1;
	z-index: 3;
	padding: 10rem var(--gutter-sm) 2rem;
	color: var(--primary);
}

.hero__content h1 {
	--color: var(--primary);
	font-size: var(--jumbo);
	padding-block-end: 0;
	margin-block-end: 0;
	line-height: 1;
	max-width: 30ch;
	text-wrap: balance;
}

.hero__content .subhead {
	color: var(--primary);
	font-size: var(--xxl);
	padding: 0;
	margin: 0;
	text-wrap: balance;
}

.hero__content p {
	font-size: var(--md);
	padding: .25rem 0;
	margin-block: 0;
	max-width: 72ch;
}

.hero__content .callout {
	max-width: unset;
	padding-block: .5rem;
	display: flex;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
}

.hero__content .callout .btn {
	font-size: var(--base);
	padding: .5rem 1.8rem;
	width: max-content;
}

.hours {
	background-color: var(--fire-red);
	color: var(--white);
}

.hours__wrapper {
	display: flex;
	align-items: center;
	gap: 1rem;
	justify-content: center;
	padding: 2rem;
}

.hours__wrapper img {
	height: 80px;
	width: 80px;
}

.hours__wrapper--content p {
	margin-block: 0.25rem;
}

.hours__wrapper--content a {
	font-size: var(--sm);
	color: var(--white);
	position: relative;
	z-index: 3;
}

.hours__wrapper--content span img {
	display: inline-block;
	height: var(--xs);
	width: auto;
	margin-left: 0;
	transition: var(--transition);
}

.hours__wrapper--content a:hover img {
	margin-left: 0.25rem;
}

/* ========== Intro ========== */
.intro {
	padding: 5rem var(--gutter-lg) 5rem;
	background-color: var(--white);
}

.home .intro {
	background-color: unset;
}

:is(.intro__wrapper, .cta__wrapper) {
	max-width: var(--max-w);
	margin: 0 auto;
	align-items: center;
	justify-items: end;
}

:is(.intro__text, .cta__text) {
	color: var(--gray);
	width: min(800px, 100%);
	margin: 0 auto;
	text-align: center;
}

.intro__text h2 {
	--color: var(--primary);
}

.intro__text h2::before {
	display: none;
}

.intro__carousel {
	color: var(--primary);
	text-align: center;
	cursor: pointer;
}

.intro__carousel a {
	color: var(--primary);
}

.intro__carousel--item .number, .facility__carousel--item .number {
	font-size: var(--xl);
	line-height: 1;
	font-family: var(--font-accent);
	font-variant-numeric: tabular-nums;
}

.intro__carousel--item .title, .facility__carousel--item .title {
	font-size: var(--md);
	font-weight: 700;
}

.intro__carousel--item .desc, .facility__carousel--item .desc {
	font-size: var(--base);
	padding: 0 1rem;
	color: var(--gray);
}

.image-bg {
	display: grid;
	place-items: center;
	background-color: var(--primary);
	border-radius: 50%;
	max-width: 80%;
	height: 160px;
	width: 160px;
	margin: 0 auto;
	transition: var(--transition);
}

.image-bg .color-bg img {
	max-height: 100%;
	max-width: 100%;
	height: 50px;
	width: auto;
	transition: var(--transition);
}

.timeline {
	position: relative;
	width: 100%;
	height: 3px;
	background-color: var(--primary);
	margin: 2.5rem 0 2rem;
}

.timeline::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 25px;
	height: 25px;
	background-color: var(--cream);
	border: 3px solid var(--primary);
	border-radius: 50%;
}

.intro__carousel--item:hover .image-bg {
	background-color: var(--secondary);
}

.intro__carousel--item:hover .timeline::after {
	background-color: var(--primary);
}

/* ========== Showcase ========== */
.showcase {
	background-color: var(--seafoam);
	position: relative;
}

.showcase::before {
	content: url(images/curve-top.svg);
	transform: rotate(180deg);
	position: absolute;
	top: -10px;
	left: 0;
	width: 100%;
	height: auto;
}

.showcase::after {
	content: url(images/curve-bottom.svg);
	transform: rotateY(180deg);
	position: absolute;
	bottom: -10px;
	left: 0;
	width: 100%;
	height: auto;
	z-index: 5;
}

.showcase__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 5vw;
}

.showcase__grid--image {
	max-height: 1000px;
	overflow: hidden;
}

.showcase__grid--image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top;
	z-index: 3;
	position: relative;
}

.showcase__grid--text {
	align-self: center;
	color: var(--gray);
	z-index: 10;
	max-width: 85%;
}

.showcase__grid--text h2 {
	--color: var(--primary);
	max-width: 14ch;
}

.showcase__grid--text .btn__container {
	display: grid;
  gap: 1rem;
  padding-top: 1rem;
  font-size: var(--base);
  grid-template-columns: repeat(2, 1fr);
  width: fit-content;
  text-align: center;
}

/* ========== Numbers ========== */
.numbers {
	padding: 4rem var(--gutter-sm) 6rem;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: var(--white);
}

.numbers__counter {
	display: flex !important;
	flex-direction: column;
	align-items: center;
	position: relative;
	gap: 0.5rem;
	padding-inline: 6rem;
}

.numbers__counter:not(:last-child)::after {
	content: '';
	position: absolute;
	top: 20%;
	right: 0;
	width: 2px;
	height: 60%;
	background-color: hsl(48, 3%, 68%);
}

.numbers__counter > * {
	color: var(--primary);
	margin: 0;
	width: max-content;
}

.numbers__counter--number {
	font-size: 4rem;
	min-height: 110px;
	line-height: 1;
	padding-block: 1rem;
	font-family: var(--font-accent);
	font-variant-numeric: tabular-nums;
}

.numbers__counter--label {
	font-size: var(--md);
}

/* ========== Events ========== */
.events {
	padding: 2rem var(--gutter-sm) 6rem;
}

.events__sm {
	display: none;
}

.events__item {
	display: grid;
	grid-template-columns: 80px 1fr 1fr;
	gap: 2rem;
	padding-bottom: 3rem;
}

.events__item--day {
	border-right: 2px solid var(--secondary);
}

.events__item--info {
	display: grid;
	grid-template-rows: repeat(3, auto) 1fr;
}

.events__item--info .date {
	font-weight: 700;
	font-family: var(--font-accent);
	color: var(--primary);
}

.events__item--info .title {
	font-size: var(--lg);
	font-weight: 700;
	padding: 0;
	margin: 0;
}

.events__item--info .title::before {
	display: none;
}

.events__item--info .desc {
	color: var(--gray);
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
}

.events__item--info .location {
	font-size: var(--base);
	color: var(--primary);
	align-self: end;
}

.events__item--info .location span {
	font-weight: 700;
	padding-right: 1rem;
}

.events__item--image {
	height: 280px;
}

.events__item--image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
.events p.events-btn-wrap {
	text-align: center;
}

/* Tribe Events */

/* pushes content down due to fixed header */
body.post-type-archive-tribe_events,
body.single-tribe_events {
	margin-top: 75px;
}

.tribe-common-l-container {
	padding-bottom: 0 !important;
}
.tribe-common--breakpoint-medium.tribe-events .tribe-events-l-container {
	min-height: 300px !important;
}

/* removes red bar above headings */
h1.tribe-events-calendar-list__month-separator::before,
h1.tribe-events-single-event-title::before,
h2.tribe-events-calendar-list__month-separator::before,
h2.tribe-events-single-section-title::before,
h3.tribe-events-calendar-list__month-separator::before,
body.home .events .tribe-events-calendar-list h3::before,
h4.tribe-events-calendar-list__month-separator::before,
h3.tribe-events-calendar-list__event-title::before,
.tribe-events-schedule h2::before {
	content: none;
}

/* changes most link text to green */
.tribe-events-event-meta a, .tribe-events-event-meta a:visited, .tribe-events .tribe-events-calendar-series-archive__link,
.tribe-events-c-view-selector__list-item-text {
	color: var(--forest-green);
}
.tribe-events-event-meta a:hover, .tribe-events-event-meta a:visited, .tribe-events .tribe-events-calendar-series-archive__link,
.tribe-events-c-view-selector__list-item-text:hover{
	text-decoration: underline;
}

/* styles buttons */
.tribe-common-c-btn,
.tribe-events-c-subscribe-dropdown__button-text,
.tribe-events-c-top-bar__datepicker-button {
	background: var(--primary);
	color: #fff;
	border: none;
	
}
.tribe-common-c-btn:hover,
.tribe-events-c-top-bar__datepicker-button:hover {
	background: var(--secondary);
}
.tribe-events-c-subscribe-dropdown__button-text {
	padding: 5px !important;
}

/* removes tribe header on home page */
body.home .events .tribe-events-header,
body.home .events .tribe-events-c-nav__list,
body.home .events .tribe-events-c-subscribe-dropdown__container {
	display: none !important;
}

/* adds red border to event on home page */
body.home .events .tribe-events-calendar-list .tribe-events-calendar-list__event-wrapper {
	border-left: 2px solid var(--fire-red);
	padding-left: 20px;
}

/* removes tribe content below the events */
.body.home .events .tribe-events-calendar-list .tribe-events-c-subscribe-dropdown__container {
	display: none;
}
.body.home .tribe-events h2.tribe-events-calendar-list__month-separator::after,
.body.home .tribe-events .tribe-events-calendar-list h2.tribe-events-calendar-list__month-separator::before {
    display: none !important;
	content: none !important;
}
.tribe-events .tribe-events-calendar-list-nav,
.tribe-events .tribe-events-c-nav {
	display: none !important;
	border-top: none !important;
}

/* styles headings to match theme */
.tribe-events-calendar-list__event-title-link {
	color: rgb(21, 41, 81) !important;
	font-size: 2rem;
	font-family: poppins, sans-serif !important;
}
.tribe-events-calendar-list__event-title-link:hover {
	text-decoration: underline;
}
.tribe-events-calendar-list__event-datetime {
	font-weight: 600;
	font-size: 1rem;
	font-family: var(--font-body) !important;
	color: rgb(21, 41, 81) !important;
}

/* END TRIBE STYLES */


/* ========== CTA ========== */
.cta {
	padding: 5rem var(--gutter-lg) 3rem;
}

.cta__text h2 {
	--color: var(--primary);
}

.cta :is(h2, h3)::before {
	display: none;
}

.cta__carousel {
	padding: 4rem 0 2rem;
	color: var(--gray);
	text-align: center;
	max-width: var(--max-w);
}

.cta__carousel--card {
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
	width: min(400px, 100%);
	padding: 2rem;
	margin: 1rem;
	border-radius: 3rem;
	background-color: var(--white);
	height: 100%;
}

.cta__carousel--card:hover {
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.cta__card--wrapper {
	display: grid;
	grid-template-rows: auto 1fr auto;
	min-height: 450px;
}

.cta__carousel--card img {
	max-height: 50px;
	margin: 0 auto;
}

.cta__carousel--card .btn {
	align-self: end;
	justify-self: center;
}

.cta__cards--content h3 {
	font-size: var(--lg);
	margin: 0;
}

.cta__cards--content p {
	margin: 0;
}

.cost__grid {
	display: grid;
	grid-template-columns: 1fr auto;
	max-width: 180px;
	margin: 0 auto;
	padding: 1rem 0;
	font-size: var(--sm);
}

.cost__grid > * {
	padding: 0.25rem 0;
}

.cost__grid .left {
	justify-self: left;
}

.cost__grid .right {
	justify-self: right;
	color: var(--primary);
	font-weight: 700;
}

.cta__carousel--card span.red {
	display: block;
}

.cta__carousel--card span.red:last-of-type {
	padding-bottom: 1rem;
}

.cta__carousel--card:has(.blue) .cta__cards--content > p:last-of-type {
	font-size: var(--xs);
}

.cta__cards--content {
	color: var(--gray);
}

.cta__cards--content span {
	font-weight: 700;
}

.map {
	overflow: hidden;
	display: block;
}

@media (min-width: 751px) {
	.map {
		aspect-ratio: 2100 / 1189;
	}
}

.map img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

/* ========== Instagram ========== */
.instagram {
	padding: 4rem var(--gutter-lg) 6rem;
	text-align: center;
}

.instagram p {
	color: var(--primary);
	font-size: var(--lg);
	padding-top: 2rem;
}

.instagram a {
	color: var(--primary);
}

.instagram a:hover {
	text-decoration: underline;
}

/* ========== Footer ========== */
.footer {
	padding: 6rem var(--gutter-lg) 4rem;
	background-color: var(--forest-green);
	color: var(--white);
}

.footer__wrapper {
	display: grid;
	grid-template-columns: repeat(3, 1fr) auto;
	gap: 1.5rem 3rem;
}

.footer__wrapper h3 {
	color: var(--white);
	font-size: var(--base);
	width: 100%;
}

.footer__wrapper h3::before {
	display: none;
}

.footer__wrapper h3::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 70%;
	height: 1px;
	background-color: var(--white);
}

:is(
		.footer__wrapper--resident,
		.footer__wrapper--links,
		.footer__wrapper--contact
	) {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 0.5rem;
}

.footer__wrapper a:not(.btn) {
	color: var(--white);
}

.footer__wrapper a:not(.btn):hover {
	text-decoration: underline;
}

.footer__wrapper--resident p {
	max-width: 28ch;
	margin-top: 0;
}

.footer__wrapper--socials {
	display: flex;
	gap: 1rem;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.footer__wrapper--socials img {
	width: 28px;
	height: 28px;
}

.footer__wrapper--contact p {
	margin: 0;
}

.footer__wrapper--logo {
	display: flex;
	gap: 2rem;
}

.footer__wrapper--logo a {
	display: block;
	max-width: 130px;
}

.footer__wrapper--logo a img {
	width: 100%;
	height: 100%;
	min-width: 120px;
}

.footer__wrapper--disclosure {
	text-align: end;
	align-self: center;
	grid-column: 2 / -1;
}

.footer__wrapper--disclosure p {
	margin: 0;
}

.footer__wrapper hr {
	grid-column: 1 / -1;
}

:is(.footer__wrapper--logo, .footer__wrapper--disclosure) :is(a, p) {
	color: var(--white);
	font-size: var(--sm);
}

.footer__wrapper a:not(.btn):hover {
	text-decoration: underline;
}

/* ========== Slick Slider ========== */
.slick-prev:before {
	content: url(images/icon-prev.svg);
}

.slick-next:before {
	content: url(images/icon-next.svg);
}

.slick-next {
	right: 10px;
	width: 15px;
	height: 15px;
}

.slick-prev {
	left: 10px;
	width: 15px;
	height: 15px;
}

.numbers__wrapper .slick-arrow {
	top: 65%;
}

.intro__wrapper .slick-next {
	right: 0;
}

.intro__wrapper .slick-prev {
	left: 0;
	z-index: 10;
}

/* ========== Inside (Content) Page ========== */
.content {
	padding: 2rem var(--gutter-sm) 5rem;
}

.content.full-width {
	padding: 2rem 0 5rem;
}

.content.text-only {
	max-width: 1000px;
	margin: 0 auto;
}

.content a:not(.btn, .button) {
	color: var(--secondary);
}

.content a:not(.btn, .button):hover {
	text-decoration: underline;
}

.content :is(h1, h2, h3, h4, h5, h6):not(.show-line)::before {
	display: none;
}

.content h1 {
	font-size: var(--xxl);
	margin: 0;
	padding: 0;
	text-align: center;
}

.content h2 {
	--color: var(--secondary);
	font-size: var(--xl);
	margin: 0.8rem 0;
}

.content h3 {
	font-size: var(--lg);
	margin: 0.6rem 0;
}

.content h4 {
	--color: var(--secondary);
	font-size: var(--lg);
	margin: 0.4rem 0;
}

.content h5 {
	font-size: var(--md);
	margin: 0.2rem 0;
}

.content h6 {
	font-size: var(--base);
}

.content.text-only :is(h3, p) {
	padding: 0;
	margin: 0;
}

.content.text-only a p {
	color: var(--primary);
}

.content.text-only .entry {
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
	padding: 2rem;
	border-radius: 2rem;
}

.content.text-only .entry:hover {
	background-color: var(--white);
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.content.text-only a:hover {
	text-decoration: none;
}

.featured {
	background-color: var(--cream);
	overflow: hidden;
	position: relative;
	min-height: 500px;
	display: flex;
}

.featured::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 50px;
	background-image: url(images/curve-bottom-inside.svg);
	background-repeat: repeat-x;
}

.featured__wrapper {
	margin-inline: var(--margin);
	margin-block: var(--margin) 0;
	position: relative;
	width: 100%;
}

.featured__wrapper .featured__wrapper--image img {
	position: relative;
	border-top-left-radius: 4rem;
	border-top-right-radius: 4rem;
	min-width: 100%;
	min-height: 100%;
	object-fit: cover;
}

.featured__wrapper::after {
	content: '';
	position: absolute;
	background: linear-gradient(to bottom, var(--nav-color) 10%, transparent 50%);
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
	right: 0;
	border-top-left-radius: 4rem;
	border-top-right-radius: 4rem;
}

.featured__image {
	position: absolute;
	height: 70%;
	width: auto;
	z-index: 1;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
}

.facility {
	padding: 0 var(--gutter-lg) 5rem;
}

.facility__wrapper {
	max-width: 1000px;
	margin: 0 auto;
}

.facility__text {
	text-align: center;
	max-width: 80ch;
	margin: 0 auto;
}

.facility__text h2 {
	padding: 0;
	margin: 0;
}

.facility__text p {
	color: var(--gray);
}

.facility__carousel {
	color: var(--primary);
	text-align: center;
}

.desc strong {
	display: block;
}

/* ========== Media Queries ========== */
@media (width <= 1400px) {
	.hero__content {
		background: linear-gradient(to bottom, var(--nav-color) 50vh, transparent 60vh);
	}
}
@media (width < 1100px) {
	.cta {
		padding-inline: var(--gutter-sm);
	}
}

@media (width > 1300px) {
	.hours {
		padding-block: 1rem;
		font-size: var(--md);
	}
	
	.hours__wrapper--content a {
		font-size: var(--base)
	}
	
	.hours__wrapper img {
		height: 110px;
		width: 110px;
	}
}

@media (1000px < width <= 1200px) {
	.menu {
		gap: 1.2rem;
	}
}

@media (width >= 1000px) {
	.hours {
		position: absolute;
		bottom: 100px;
		right: 0;
		width: 35vw;
		border-top-left-radius: 3rem;
		border-bottom-left-radius: 3rem;
		color: var(--white);
	}
}

@media (width < 1000px) {
	:root {
		--margin: 0.75rem;
	}
	
	.header__wrapper .logo img {
		padding: 0.5rem 0;
		height: 125px;
	}

	.header__wrapper {
		grid-template-columns: 50px 1fr 50px;
	}

	.header__wrapper .logo {
		grid-column: 2 / 3;
		display: grid;
		justify-items: center;
	}

	.search__container {
		display: none;
	}

	.header__wrapper nav {
		display: none;
	}

	.menu__btn {
		justify-self: end;
	}

	.menu-open {
		display: block;
	}

	.showcase__grid {
		grid-template-columns: 1fr;
	}

	.showcase__grid--text .btn__container .btn {
		padding: 0.8rem 1.4rem;
	}

	:is(
			.dedication-text,
			.dedication-image,
			.showcase__grid--image,
			.showcase__grid--text,
			.intro-text,
			.intro-carousel,
			.banner-text,
			.banner-image
		) {
		grid-column: 1 / -1;
	}

	.hero__image {
		min-height: 900px;
	}

	.hero__image picture {
		display: flex;
		align-items: flex-end;
	}

	.hero__content {
		padding-top: 8rem;
	}

	.hours {
		margin-inline: calc(-1 * var(--margin));
		margin-block: var(--margin) calc(-1 * var(--margin));
		width: calc(100vw + 0);
	}

	.showcase__grid--text {
		grid-row: 1 / 2;
		padding-top: 6rem;
		padding-inline: var(--gutter-lg);
		max-width: unset;
		width: max(60vw, 100%);
	}

	.showcase__grid--image {
		height: clamp(500px, 100vw, 800px);
		margin-block-start: 2rem;
		z-index: 4;
		object-fit: fill;
	}

	.showcase__grid--image img {
		object-position: center top;
		width: 125%;
		max-width: unset;
	}

	.cta {
		padding-inline: 0;
	}

	.cta__text {
		padding-inline: var(--gutter-lg);
	}

	.events {
		padding-block: 0 1rem;
	}

	.events__sm {
		display: block;
		padding-block-end: 2rem;
		text-align: center;

		& h3 {
			margin: 0;

			&::before {
				display: none;
			}
		}
	}

	.btn__events {
		display: none;
	}

	.events__item {
		grid-template-columns: 1fr;
		gap: 0;
		text-align: center;
	}

	.events__item--day {
		border-right: none;
		grid-row: 3 / 4;
		grid-column: 1 / -1;
		z-index: 1;
		color: var(--white);
		margin: 0;
	}

	.events__item--info {
		grid-row: 4 / 5;
		grid-column: 1 / -1;
		z-index: 1;
		font-size: var(--sm);
		margin-bottom: 0.5rem;
	}

	.events__item--info .title {
		font-size: var(--md);
		color: var(--white);
	}

	.events__item--image {
		grid-row: 1 / 5;
		grid-column: 1 / -1;
		position: relative;
	}

	.events__item--image::after {
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background-image: linear-gradient(
			to bottom,
			rgba(21, 41, 81, 0) 0%,
			rgba(21, 41, 81, 0.5) 70%,
			rgba(21, 41, 81, 0.8) 100%
		);
	}

	.events__item--info :is(.date, .desc, .location) {
		display: none;
	}

	.footer__wrapper {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	:is(
			.footer__wrapper--resident,
			.footer__wrapper--socials,
			.footer__wrapper--links,
			.footer__wrapper--contact
		) {
		align-items: center;
		justify-content: center;
		text-align: center;
	}

	.footer__wrapper h3::after {
		left: 15%;
	}

	.footer__wrapper--resident,
	.footer__wrapper--links,
	.footer__wrapper hr {
		display: none;
	}

	.footer__wrapper--contact {
		grid-column: 1 / -1;
	}

	.footer__wrapper--socials {
		flex-direction: row;
		grid-row: 3 / 4;
	}

	.footer__wrapper--logo {
		grid-row: 2 / 3;
		grid-column: 1 / -1;
		margin: 0 auto;
	}

	.footer__wrapper--disclosure {
		grid-row: 4 / 5;
		grid-column: 1 / -1;
		text-align: center;
	}
}

@media (width < 900px) {
	.intro-grid {
		display: block;
	}

	.cta__carousel--card {
		margin-inline: 0.25rem;
		transform: scale(1);
		transition: var(--transition);
	}

	.cta__carousel--card:not(.slick-center) {
		transform: scale(0.85);
	}
}

@media (width < 850px) {
	.hero__image {
		min-height: 850px;
	}
}

@media (width < 750px) {
	:root {
		--gutter-lg: 5%;
	}
	
	.header {
		padding: 0;
	}
	
	.header__wrapper {
		margin: 0 var(--margin);
	}

	.header__wrapper .logo-container img {
		max-height: 80px;
	}
	
	.hero__content .subhead {
		font-size: var(--lg);
		padding-block: .75rem .4rem;
	}
	
	.hero__content p {
		font-size: var(--base);
	}

	.numbers__wrapper {
		max-width: 90%;
		margin: 0 auto;
		padding-top: 8rem;
	}

	.numbers__counter::after {
		display: none;
	}

	.showcase__grid--image {
		max-height: 400px;
	}

	.map {
		overflow: hidden;
		height: 400px;
	}

	.map img {
		max-width: unset;
	}

	.featured__wrapper::after {
		border-top-left-radius: 2rem;
		border-top-right-radius: 2rem;
	}

	.featured__wrapper--background {
		border-top-left-radius: 2rem;
		border-top-right-radius: 2rem;
	}
	
	.hero__image {
		min-height: 750px;
	}
}

@media (width <= 500px) {
	.featured__image {
		height: 240px;
	}
}

@media (width > 420px) {
	.featured::after {
		height: 90px;
	}
}

/* ========== Keyframes ========== */

/* ========== Fixes ========== */
.slick-prev, .slick-next {
	font-size: unset !important;
}

span.red a {color: var(--fire-red)}
span.red a:hover {text-decoration: underline}