/*/***** Colors *****/
:root {
    --clr-grey: #C5D5EA;
    --clr-grey-dark: #434950;
    --clr-blue: #1D7D9E;
    --clr-orange: #D46A41;
    --clr-brown: #38302E;
    --clr-yellow: #EECF6D;
}

/***** Universal Styles *****/
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: 'Libre Franklin', sans-serif;
    padding: 0;
    margin: 0;
    color: var(--clr-grey-dark);
}

img {
    max-width: 100%;
    display: block;
    height: auto;
    border-radius: 15px;
}

a {
    text-decoration: none;
    color: var(--clr-grey-dark);
}

a:visited {
    text-decoration: none;
    color: var(--clr-grey-dark);
}

a:hover,
a:focus {
    color: #D46A41;
}

/***** Utility Classes *****/
.container {
    padding: 0 1.5em;
    max-width: 1200px;
    margin: 1em auto;
}

.even-columns {
    display: flex;
    flex-direction: column;
}

.even-columns > * {
    width: 100%;
}

.flow > * + * {
    margin-top: 1rem;
}

/***** Typography *****/

.section-heading {
    font-family: 'Fontdiner Swanky', cursive;
    color: var(--clr-blue);
    text-shadow: 1px 1px var(--clr-grey);
    font-size: 2rem;
    letter-spacing: 2px;
    text-align: center;
    border-top: 2px solid var(--clr-grey);
    border-bottom: 2px solid var(--clr-grey);
    padding: .5rem;
    /* margin-bottom: 2em; */
}

.post-title {
    font-family: 'Fontdiner Swanky', cursive;
    color: var(--clr-blue);
    font-size: 2.5em;
    padding-bottom: 0 ;
    margin-bottom: 0;
}

/***** Buttons *****/
.btn,
.wpforms-submit {
    background-color: var(--clr-blue);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: .5rem 1.5rem;
    display: inline-block;
    text-decoration: none;
    letter-spacing: 1.25;
    box-shadow: 2px 2px 4px var(--clr-grey-dark);
}

a.btn {
    color: #fff;
    text-shadow: 1px 1px var(--clr-grey-dark);
}

a.btn:hover,
a.btn:focus {
    color: var(--clr-yellow);
}

main {
    display: flex;
    gap: 20px;
}

article {
    width: 100%;
}

aside {
    width: 33%;
    display: none;
    flex-direction: column;
}

@media screen and (min-width: 40em) {
    .even-columns {
        flex-direction: row;
    }
    article {
        width: 66%;
    }

    aside {
      display: flex;
    }
}

/***** Header *****/
.main-header {
    margin-bottom: 3em;
}

.header-logo {
    height: 6rem;
    margin: 0 auto;
}

.logo-container {
    border-bottom: 1px solid var(--clr-blue);
    box-shadow: 0px 2px 3px var(--clr-grey);

}

/***** Navigation *****/
.nav {
    display: flex;
    list-style: none;
}

.main-nav {
    justify-content: center;
}

.nav-link a {
    text-decoration: none;
    color: black;
    padding: 0 2rem;
    font-weight: bold;
    color: var(--clr-grey-dark);
}

.nav-link a:hover,
.nav-link a:focus {
    text-decoration: none;
    color: var(--clr-orange);
}

.mobile-nav-toggle {
    display: none;
}

@media (max-width: 35em) {
    .main-nav {
        position: fixed;
        inset: 0 0 0 30%;
        background: hsl(0 0% 100% /0.4);
        z-index: 1000;
        height: 100vh;
        flex-direction: column;
        justify-content: flex-start;
        margin: 0;
        font-size: 1.5rem;
        padding: 8rem 2em;
        backdrop-filter: blur(0.75rem);
        transform: translateX(100%);
        transition: 300ms ease-out;
    }

    .main-nav[data-visible="true"] {
        transform: translateX(0%);
    }

    .nav-link {
        padding: 1rem 0;    }

    .mobile-nav-toggle {
        position: absolute;
        display: block;
        z-index: 9999;
        background-color: transparent;
        background-image: url('../images/icon-hamburger.svg');
        background-repeat: no-repeat;
        width: 2rem;
        border: 0;
        aspect-ratio: 1;
        top: 2rem;
        right: 2rem;
    }

    .mobile-nav-toggle[aria-expanded="true"] {
        background-image: url('../images/icon-close.svg');
    } 
}

/***** Hero *****/

.hero {
    margin-bottom: 3em;
    gap: 20px;
}

.hero-article-img {
    overflow: hidden;
}

.hero-article-img img {
    object-fit: cover;
}



.hero-article-title {
    background: var(--clr-orange);
    color: #fff;
    text-shadow: 2px 2px var(--clr-grey-dark);
    display: flex;
    text-align: center;
    align-items: center;
    border-radius: 15px;
    margin: 0;
    padding: 1rem 1rem;
    font-size: 1rem;
    font-weight: bold;
}

.archive-title {
    font-size: 2.5rem;
}

.hero-article-title h1,
.hero-article-title p {
    padding: 1rem;
}

.hero-article-title a {
    text-decoration: none;
    color: #fff;
}

.hero-article-title a:hover,
.hero-article-title a:focus {
    color: var(--clr-yellow);
}

@media screen and (min-width: 40em) {
    .hero {
        max-height: 60vh;
    }
    .hero-article-img img {
        max-height: 60vh;
    }
}

/***** Small Card *****/
.small-card {
    margin-bottom: 2em;
}

.small-card-img,
.large-card-img {
    overflow: hidden;
    border-radius: 1rem;
}

.small-card img {
    object-fit: cover;
    max-width: 100%;
    aspect-ratio: 3/2;
}

@media screen and (min-width: 40em) {
    .feature-small {
        gap: 1.25rem;
    }
    .small-card img {
        aspect-ratio: 1;
}
}

/***** Large Card *****/
.large-card {
    margin-bottom: 2em;
}

.large-card-img {
    /* object-fit: cover; */
    max-width: 100%;
    aspect-ratio: 3/2;
}

@media screen and (min-width: 40em) {
    .feature-large {
        gap: 1.25rem;
    }
}

/***** Footer Nav *****/
.main-footer {
    border-top: 2px solid var(--clr-grey);
}
.footer-nav {
    padding-left: 0;
    justify-content: center;
}

.social-icon {
    height: 1.5rem;
    width: 1.5rem;
    /* margin-right: 1rem; */
    fill: var(--clr-grey-dark);
}

.social-icon:hover,
.social-icon:focus {
    fill: var(--clr-orange);
}

/***** Post Page *****/
.post-meta-data {
    display: flex;
    list-style: none;
    padding-left: 0;
}

.post-meta-data li {
    padding-right: 1rem;
}


/***** Forms *****/
#wpforms-88-field_1 {
    font-size: 1rem;
}