body {
    font-family: 'Figtree', sans-serif;
    --dark-blue: #233A62;
    --teal: #0BAA9F;
    --gray: #707070;
}
html {
    scroll-behavior: smooth;
}

h1, .h1 {
    font-size: 4rem;
    line-height: 5rem;
}
.h1sm {
    font-size: 3.5rem;
    line-height: 4rem;
}
h2, .h2 {
    font-size: 3rem;
    line-height: 3rem;
}
h3, .h3 {
    font-size: 1.75rem;
    line-height: 2rem;
}

p {
    font-size: 1.25rem;
    font-weight: 300;
}
.use-small-p p {
    font-size: 1rem;
}

article h2 {
    font-size: 1.75rem;
    line-height: 2rem;
}
article h3 {
    font-size: 1.5rem;
    line-height: 2rem;
}

.v-margin {
    margin-top: 100px;
    margin-bottom: 100px;
}
.v-padding {
    padding-top: 100px;
    padding-bottom: 100px;
}

@media (min-width: 1440px) {
    .container {
        max-width: 1300px;
    }
}
@media (min-width: 1920px) {
    .container {
        max-width: 1700px;
    }
}

.subtitle {
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.text-dark-blue {
    color: var(--dark-blue);
}
.text-gray {
    color: var(--gray);
}
.bg-dark-blue {
    background-color: var(--dark-blue);
}

.main-navigation {
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: white;
    padding-left: 1rem;
    padding-right: 1rem;
}

.hf-full-vh {
	height: 100vh;
	min-height: 600px;
}

#member-spotlight {
    position: relative;
}
#member-spotlight:before {
    position: absolute;
    content: '';
    top: 0;
    bottom: 0;
    right: 0;
    left: 25%;
    background-color: var(--dark-blue);
    z-index: -1;
}
#member-spotlight:after {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 25%;
    height: 90%;
    background-color: var(--light);
    z-index: -2;
}

#mobile-navbar {
    z-index: 99999;
    width: 80%;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    overflow-y: scroll;
}

#mobile-nav > li:not(:first-child) {
    padding-left: 1rem;
    padding-right: 1rem;
}

#mobile-navbar + #mobile-menu-overlay {
    transition: background-color 0.3s ease-in-out;
    position: fixed;
}

#mobile-navbar.show + #mobile-menu-overlay {
    background-color: #434343;
    opacity: 0.57;
    z-index: 99998;
    width: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

#mobile-navbar.collapsing {
    height: unset;
}

#mobile-navbar.show {
    transform: translateX(0);
}

#mobile-nav {
    min-height: 100%;
    z-index: 1000;
    justify-content: center;
}

#mobile-navbar .nav-item:not(:first-child) {
    font-size: 1.2rem;
    border-bottom: 1px solid var(--light);
    padding-top: 1rem;
}

#mobile-navbar .collapse .nav-link, #mobile-navbar .collapsing .nav-link {
    font-size: 1rem;
    color: rgba(0, 0, 0, 0.5);
}

#main-navigation [data-bs-toggle="collapse"]:after {
    font-family: "Font Awesome 5 Pro";
    font-size: 0.8rem;
}

#main-navigation [data-bs-target="#mobile-navbar"]:after, #main-navigation [aria-controls="search-nav"]:after {
    display: none;
}

#main-navigation [data-bs-toggle="collapse"]:not(.collapsed):after {
    content: "\f077";
}

#main-navigation [data-bs-toggle="collapse"].collapsed:after {
    content: "\f078";
}

#top-nav-links a {
    font-size: 1rem;
    color: black;
}

#main-nav-links a:not(.btn) {
    font-size: 0.9rem;
    font-family: 'Figtree', sans-serif;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #233A62;
}

#search-nav input {
    height: 3.5rem;
}

#main-navigation:not(.fixed-header) nav.navbar, #main-navigation.fixed-header.active nav.navbar {
    border-bottom: 1px solid var(--light);
}
.navbar-brand {
    max-width: 350px;
}

.nav-section-link {
    padding-top: 1rem;
    padding-bottom: 1rem;
    color: black !important;
}
.nav-section-link:hover {
    background-color: rgba(0, 0, 0, 0.1);
    text-decoration: none;
}
#main-navigation-expand h3 {
    font-size: 1.15rem;
    line-height: 1.15rem;
}
.nav-section-link p {
    font-size: 1rem;
    font-weight: 300;
}
.nav-section-link p:last-child {
    margin-bottom: 0;
}

.btn {
    padding: 0.75rem 1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 1rem;
    border-radius: 0;
}
.btn.btn-sm {
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
}
.btn.btn-lg {
    padding: 1rem;
    font-size: 1.25rem;
    line-height: 1.5;
}

#main-hero {
    height: 100vh;
    background-image: url("/wp-content/themes/basic-hunchfree/img/hero.png");
    background-size: cover;
    background-position: center;
    position: relative;
}
#main-hero:before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: black;
    opacity: 0.29;
    z-index: 1;
}
#main-hero > *:last-child {
    position: relative;
    z-index: 2;
    padding-left: 6rem;
    padding-bottom: 6rem;
}

#main-hero h1 {
    font-size: clamp(2.5rem, 4vw, 4rem);
    line-height: 4rem;
}
#main-hero .btn {
    font-size: 1.15rem;
    padding: 1rem;
}

.sponsor-cta {
    position: relative;
    background-image: url("/wp-content/themes/basic-hunchfree/img/sponsor-cta-bg.png");
    background-size: cover;
    background-position: center;
    color: white;
    padding: 3rem;
    text-align: center;
}
.sponsor-cta:before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #36363C;
    opacity: 0.87;
    z-index: 1;
}
.sponsor-cta > * {
    position: relative;
    z-index: 2;
}

.btn-white:not(.active) {
    background-color: white;
    color: black;
}
.btn-white:focus, .btn-white:hover {
    background-color: black;
    color: white;
}

.contact-socials {
    display: flex;
    gap: 1rem;
}

.text-white .contact-socials a {
    color: white;
}

footer {
    background-color: #3E6E9A;
    font-size: 1rem;
}
footer p {
    font-size: 1rem;
}
footer a:not(.btn) {
    color: white;
}
footer h3 {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

#main-navigation.fixed-header {
    position: fixed;
    background-color: transparent;
    transition: 0.2s ease-in-out;
}
#main-navigation.fixed-header:not(.active) {
    box-shadow: none !important;
}
#main-navigation.fixed-header:not(.active) a:not(.btn) {
    color: white;
}
#main-navigation.fixed-header.active {
    background-color: white;
}
#main-navigation.fixed-header:not(.active) #main-navigation-expand {
    display: none;
}
#main-navigation-expand [data-bs-parent="#main-navigation"] > div {
    margin-top: 1rem;
}

.featured-event img {
    aspect-ratio: 5/4;
    object-fit: cover;
    width: 100%;
}
.featured-event .event-info-line {
    color: var(--teal);
    margin-bottom: 0.5rem;
}
.featured-event h3 {
    font-weight: 300;
}
.featured-event p {
    font-size: 1.25rem;
    font-weight: 300;
    color: #36363C;
}
.featured-event .event-sponsor {
    font-size: 0.8rem;
    font-style: italic;
    font-weight: 300;
    margin-top: 1rem;
    color: var(--gray);
}

#stay-connected-cta {
    font-family: 'Roboto', sans-serif;
    position: relative;
}
#stay-connected-cta:before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    height: 50%;
    width: 100%;
    background-color: var(--light);
    z-index: 1;
}
.near-footer #stay-connected-cta:before {
    top: unset;
    bottom: 0;
    background-color: var(--secondary);
}
#stay-connected-cta > * {
    position: relative;
    z-index: 2;
}
#stay-connected-cta h2 {
    font-weight: 400;
}
#stay-connected-cta p {
    font-size: 1.25rem;
}
#stay-connected-cta label {
    font-size: 1rem;
}
#stay-connected-cta input {
    height: 50px;
}
#stay-connected-cta .btn {
    font-family: 'Figtree', sans-serif;
}

.use-underline-link a:not(.btn) {
    color: unset;
    text-decoration: underline;
}

.search-container {
    position: relative;
}
.search-container:after {
    content: "\f002";
    font-family: "Font Awesome 7 Pro";
    font-weight: bold;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary);
    display: block;
    font-size: 2rem;
    z-index: 2;
}
.search-container input {
    height: 5rem;
    font-size: 1.25rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    background-color: var(--light);
    border: 1px solid var(--secondary);
    border-radius: 0;
}
.search-container .btn {
    width: 4rem;
    background-color: var(--light);
    border: 1px solid var(--secondary);
    border-radius: 0;
    position: relative;
}

.news-item .news-date {
    color: var(--teal);
    font-size: 1.25rem;
}
.news-item .news-blurb p {
    font-size: 1.25rem;
}

.large-lead {
    font-size: 1.75rem;
    font-weight: 300;
}

footer li {
    margin-bottom: 0.5rem;
}

footer .mobile-list li {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.footer-image {
    position: absolute;
    z-index: 1;
}

.upcoming-event {
    padding-bottom: 1rem;
    margin-bottom: 1.25rem;
}
.upcoming-event:not(:last-child) {
    border-bottom: 1px solid #BEBEBE;
}
.upcoming-event .event-date {
    font-size: 1.4rem;
    line-height: 1.4rem;
    font-weight: bold;
    color: var(--secondary);
    text-transform: uppercase;
    text-align: center;
}
.upcoming-event .event-link {
    font-size: 1.1rem;
    line-height: 1.1rem;
    color: black;
}

.new-member-link {
    text-transform: none;
    display: inline-block;
    letter-spacing: 1px;
}

#new-members {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

#chamber-members img {
    width: 300px;
    aspect-ratio: 1;
    object-fit: contain;
    margin-right: 1.5rem;
}

.marquee {
    --gap: 1rem;
    position: relative;
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: var(--gap);
}
.marquee__content {
    flex-shrink: 0;
    display: flex;
    justify-content: space-around;
    gap: var(--gap);
    min-width: 100%;
    animation: scroll 120s linear infinite;
}
.marquee__content .card {
    width: 500px;
    max-width: 100%;
    background: var(--light-gray);
    border-color: var(--light-gray);
}
@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-100% - var(--gap)));
    }
}
/* Pause animation when reduced-motion is set */
@media (prefers-reduced-motion: reduce) {
    .marquee__content {
        animation-play-state: paused !important;
    }
}

.people-list div img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
}

#posts-categories .btn {
    letter-spacing: initial;
    text-transform: none;
}
#posts-empty {
    display: none;
}
#posts-empty:only-child {
    display: block;
}
#post-template {
    display: none;
}

.post-featured-image {
    width: 100%;
    max-height: 600px;
    object-fit: cover;
    background-color: var(--primary);
    margin-top: -20vh;
}

#member-support-sections a {
    color: #36363C;
    text-decoration: none;
}
#member-support-sections a:hover > div {
    background-color: rgba(0, 0, 0, 0.1);
}

.split-section {
    columns: 2;
    column-gap: 3rem;
}
.split-section p {
    break-inside: avoid;
}

#resources-list h2 {
    font-size: 1.75rem;
    line-height: 2rem;
    font-weight: 300;
    color: var(--primary)
}
#resources-list h2 strong, #resources-list h2 b {
    font-weight: 300;
}
#resources-list a {
    color: var(--dark);
    text-decoration: underline;
}
#resources-list p + h2 {
    margin-top: 3rem;
}

.resource img, .news-item img {
    aspect-ratio: 1.33;
    object-fit: cover;
}

.gradient-image img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 5/3;
}
.gradient-image .image {
    position: relative;
    display: inline-block;
    width: 300px;
}
.gradient-image .image div {
    position: absolute;
    bottom: 0.5rem;
    left: 1rem;
    right: 1rem;
    font-size: 0.9rem;
    font-weight: 300;
    color: white;
    z-index: 2;
}
.gradient-image .image:after {
    position: absolute;
    content: '';
    background: linear-gradient(3.02deg, rgba(0, 0, 0, 0.8) 0%, rgba(115, 115, 115, 0) 50%);
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    z-index: 1;
}

#main-hero-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
#main-hero-images .slick-list, #main-hero-images .slick-track {
    height: 100%;
}
#main-hero-images img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

#main-hero-images .slick-slide:not(.slick-current) {
    transform: scale(1.05);
}
#main-hero-images .slick-current {
    animation: zoom-in-bg 6s ease-out forwards;
    transform-origin: center;
}

@keyframes zoom-in-bg {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.05);
    }
}

.alignleft {
    float: left;
    margin: 0.5em 1em 0.5em 0;
}
.alignright {
    float: right;
    margin: 0.5em 0 0.5em 1em;
}

#posts-pages {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

@media (max-width: 1280px) {
    #main-hero {
        height: 500px;
    }

    #main-hero h1 {
        line-height: 3.5rem;
    }

    #main-hero > *:last-child {
        position: relative;
        z-index: 2;
        padding-left: 0;
        padding-bottom: 1rem;
    }

    #member-spotlight {
        background-color: var(--dark-blue);
    }
    #member-spotlight:before {
        display: none;
    }
    #member-spotlight:after {
        display: none;
    }
}

@media (max-width: 720px) {
    h1, .h1 {
        font-size: 2.25rem;
        line-height: 2.25rem;
    }
    .h1sm {
        font-size: 2.25rem;
        line-height: 2.25rem;
    }

    h2, .h2 {
        font-size: 2rem;
        font-weight: 500;
        line-height: 2rem;
    }

    h3, .h3 {
        font-size: 1.3rem;
        line-height: 1.7rem;
    }

    .navbar-brand {
        max-width: 250px;
    }

    .v-margin {
        margin-top: 2rem;
        margin-bottom: 2rem;
    }

    .v-padding {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    #main-hero h1 {
        line-height: 2.5rem;
    }

    .large-lead {
        font-size: 1.25rem;
    }

    .split-section {
        columns: 1;
    }

    .main-navigation {
        padding-left: 0;
        padding-right: 0;
    }

    footer .mobile-list li {
        text-align: left;
    }
}