/*
Theme Name: Astra Child
Description: Child theme for Hess Group Investment Blog
Author: Jim Hess
Template: astra
Version: 1.0.0
*/


/* Primary navigation dropdown menu */
.ast-desktop .main-header-menu .sub-menu {
    background-color: #1f4f78 !important;
}

.ast-desktop .main-header-menu .sub-menu .menu-link {
    color: #ffffff !important;
    background-color: #1f4f78 !important;
}

.ast-desktop .main-header-menu .sub-menu .menu-link:hover {
    color: #ffffff !important;
    background-color: #2b6699 !important;
}

/* Remove Astra side padding from Landing Page */
body.landing-page .site-content > .ast-container {
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Post content heading spacing */
.single-post .entry-content > h1:first-child {
    margin-top: 0;
}

/* Remove excess space above single posts */
@media (min-width: 993px) {
    .single-post.ast-separate-container #primary {
        margin-top: 0;
    }
}

/* Single post title */
.single-post .entry-content > h1:first-child {
    margin-top: 0;
    font-size: 42px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.single-post .entry-content hr {
    margin: 32px 0 48px;
}

.single-post .entry-content h2 {
    font-size: 32px;
}

@media (min-width: 922px) {
    .ast-narrow-container .site-content > .ast-container {
        width: 90%;
        max-width: 1000px;
    }
}

@media (min-width: 922px) {
    .single-post .entry-content {
        max-width: 720px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 544px) {
    .ast-separate-container #primary {
        padding-top: 2em;
        padding-bottom: 2em;
    }

    .entry-content h1 {
        font-size: 2.25rem;
        line-height: 1.12;
    }
}

/* Reduce vertical space around article on phones */
@media (max-width: 544px) {
    .ast-separate-container #primary {
        padding-top: 2em;
        padding-bottom: 2em;
    }
}

@media (max-width: 544px) {
    .site-title {
        font-size: 2rem;
        line-height: 1.1;
    }
}

/* Mobile spacing between series hero and post list */
@media (max-width: 600px) {
    .sp-posts {
        padding-top: 32px !important;
    }
}