/*
 Theme Name: Attitude Child
 Template: attitude
 Description: Child theme for preserving customizations to Attitude.
 Version: 1.0.0
*/

/*
 * Customizations identified by comparing the current edited stylesheet
 * with the unedited baseline stylesheet.
 * This file contains overrides only; it does not replace the parent CSS.
 */

/* Heading sizes currently used by the edited parent theme. */
h1 {
    line-height: 36px;
}

h2 {
    font-size: 24px;
    line-height: 40px;
}

h3 {
    /* Kept exactly as found in the current stylesheet: verify separately. */
    font-size: 180px;
    line-height: 35px;
}

h4 {
    font-size: 16px;
    line-height: 30px;
}

h5 {
    font-size: 14px;
    line-height: 28px;
}

h6 {
    font-size: 12px;
    line-height: 25px;
}

/* Site title. */
#site-title {
    font: 30px 'Philosopher', sans-serif;
    line-height: 42px;
}

/* Preserve title line heights from Attitude 3.0.9. */
#site-description {
    line-height: 20px;
}

.page-title {
    line-height: 30px;
}

.entry-title {
    line-height: 30px;
}

.widget-title {
    line-height: 30px;
}

#colophon .widget-title {
    line-height: 25px;
}

/* Preserve additional title line heights from Attitude 3.0.9. */
#content .service-item .service-title {
    line-height: 25px;
}

.custom-gallery-title a {
    line-height: 25px;
}

.featured-text .featured-title {
    line-height: 30px;
}

.widget_promotional_bar .promotional-text {
    line-height: 30px;
}

/* Main content heading spacing (global rule in the current stylesheet). */
#content h1,
#content h2,
#content h3,
#content h4,
#content h5,
#content h6 {
    padding-bottom: 0px;
}

/* Sticky content block. */
#content .sticky {
    padding: 50px 20px 30px;
}

/* The edited stylesheet changes these heading styles in the mobile layout. */
@media only screen and (max-width: 767px) {
    #content h1,
    #content h2 {
        padding-bottom: .5em;
        border-bottom: 1px solid #ccc;
    }

    #content h3,
    #content h4,
    #content h5,
    #content h6 {
        padding-bottom: 10px;
    }

    .comments-title,
    #respond h3#reply-title {
        line-height: 32px;
    }
    
    /* Put the mobile menu below the site logo. */
    .hgroup-wrap {
        display: flex;
        flex-direction: column;
    }

    #site-logo {
        order: 1;
        float: none;
        width: 100%;
    }

    .hgroup-right {
        order: 2;
        float: none;
        width: 100%;
        margin-top: 15px;
    }

    .hgroup-right .menu-toggle {
        float: right;
        margin-top: 0;
    }
}