body {
    font-family: "Source Sans Pro", sans-serif;
    /* font-weight: 300; */
    color: #3a3a3a;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: Georgia, serif;
}

.text-oh-blue {
    color: #215f9a;
}

.text-oh-light-blue {
    color: #a6caec;
}

.text-oh-light-grey {
    color: #c7c7c7;
}

.text-oh-grey {
    color: #3a3a3a;
}

/* Tailwind CSS */

.pt-4 {
    padding-top: 1rem;
}

.mb-4 {
    margin-bottom: 1rem /* 16px */;
}

.mb-10 {
    margin-bottom: 2.5rem /* 40px */;
}

.p-4 {
    padding: 1rem;
}

.grid {
    display: grid;
}

.grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media only screen and (max-width: 400px) {
    .grid {
        display: block;
    }
}

/* components */

.card {
    border-radius: 10px;
    overflow: hidden;
}

.card p:first-child {
    padding-top: 1rem;
}

.card p {
    padding-left: 1rem;
    padding-right: 1rem;
}

.card p:last-child {
    padding-bottom: 0;
}

/* Header */

.site-header {
    box-shadow: none;
    position: relative;
    width: 100%;
    background-color: #215f9a;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    /* padding: 10px 0; */
}

.site-header .wrap {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-end;
}

.title-area {
    float: none;
}

.header-widget-area {
    flex: 1;
}

.header-widget-area .widget {
    margin-bottom: 0px;
}

.genesis-nav-menu {
    float: right;
    width: auto;
}

.genesis-nav-menu > li a {
    font-size: 19px;
    line-height: 26px;
    padding: 10px 20px;
    font-weight: 300;
}

.genesis-nav-menu > li > a,
.genesis-nav-menu > li.current-menu-item > a {
    color: #ffffff;
}

.genesis-nav-menu > li > a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.genesis-nav-menu .sub-menu {
    right: 0px;
    left: auto;
    text-align: right;
}

.genesis-nav-menu .sub-menu > li {
    padding: 0px;
    margin: 0px;
    background: transparent;
}
.genesis-nav-menu .sub-menu > li a {
    padding: 10px 20px;
}

@media only screen and (min-width: 1024px) {
    .site-header {
        transition: all 0.3s ease;
        background: linear-gradient(to bottom, #215f9a, transparent);
        box-shadow: none;
        position: fixed;
        width: 100%;
    }

    .site-header.scrolled {
        background-color: #215f9a;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        border-bottom: 1px solid #2f2f2f;
        /* padding: 10px 0; */
    }
}

@media only screen and (max-width: 1024px) {
    .mobmenu-content li > .sub-menu li {
        padding-left: 20px;
    }

    .mobmenu-right-panel {
        width: 100vw;
    }
}

/* layout */

.site-inner {
    padding-top: 0px;
}

@media only screen and (min-width: 960px) {
    .content {
        float: left;
        width: 80%;
    }
}

@media only screen and (max-width: 1024px) {
    .gb-block-container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* archive */

/* Grid container */
.archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Post items */
.archive-grid .entry {
    border: 1px solid #e0e0e0;
    padding: 20px;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* featurd images */

.hero-featured-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 250px 20px;
    text-align: center;
    color: #fff;
    position: relative;

    margin-left: calc(-100vw / 2 + 100% / 2);
    margin-right: calc(-100vw / 2 + 100% / 2);
    max-width: 100vw;

    /* background-position: 80% 20%; */
}

@media only screen and (min-width: 1024px) {
    .no-featured-image:not(.home) {
        padding-top: 150px;
    }
}

@media only screen and (max-width: 1024px) {
    .hero-featured-image {
        padding: 200px 20px;
    }
}

.hero-featured-image::after {
    content: "";
    background: rgba(0, 0, 0, 0.4); /* dark overlay */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-inner {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3rem;
    margin: 0;
    color: #fff;
}

/* Footer */

.footer-widgets,
.site-footer {
    background-color: #2f2f2f;
    color: #ffffff;
    border: 0px;
    padding: 20px 0;
}

.site-footer {
    border-top: 1px solid #3a3a3a;
}

.footer-widgets a,
.site-footer a {
    color: #ffffff;
}

.above-footer-widgets {
    background-color: #2f2f2f;
    color: #ffffff;
    padding: 20px;
}

.above-footer-widgets .widget {
    margin: 0;
}

.above-footer-right {
    text-align: right;
}

@media only screen and (max-width: 640px) {
    .footer-widgets,
    .above-footer-left,
    .above-footer-right {
        text-align: center;
    }
}

@media only screen and (min-width: 960px) {
    .above-footer-widgets .wrap {
        max-width: 1140px;
    }
}

.above-footer-widgets .wrap {
    margin-left: auto;
    margin-right: auto;
}
