/*
Theme Name: Book Landing Page Child
Theme URI: https://example.com/
Description: Child theme for the Book Landing Page WordPress theme.
Author: Site Owner
Template: book-landing-page
Version: 1.2.1
Text Domain: book-landing-page-child
*/

.hymn-book-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px 32px;
    margin-bottom: 25px;
}

.hymn-book-header .entry-title,
.page .hymn-book-header .entry-title {
    color: #333;
    font-size: 40px;
    font-weight: 400;
    line-height: 1.2;
    margin: 0;
}

#primary.hymn-book-full-width {
    width: 100%;
}

.site-header {
    padding: 16px 0;
}

.site-header .container {
    flex-wrap: nowrap;
    gap: 18px;
}

.site-branding {
    flex: 0 1 auto;
    max-width: none;
}

.site-branding .site-title {
    white-space: nowrap;
}

#site-navigation {
    order: 2;
    flex: 1 1 auto;
    min-width: 0;
}

#site-navigation .menu {
    justify-content: flex-end;
    gap: 24px;
}

#site-navigation .menu > li {
    margin-left: 0;
}

.hymn-book-search {
    display: flex;
    flex: 0 1 360px;
    max-width: 100%;
    margin-left: auto;
}

.site-header-search {
    order: 3;
    flex: 0 1 300px;
    max-width: 100%;
    margin-left: 0;
}

.site-header-search .hymn-book-search {
    width: 100%;
    max-width: none;
    margin-left: 0;
}

.site-main,
.site-main .entry-content,
.site-main .entry-summary,
.site-main .page-content,
.site-main .entry-content p,
.site-main .entry-content li,
.site-main .entry-content td,
.site-main .entry-content th,
.site-main .entry-content blockquote,
.site-main .entry-content pre,
.site-main .entry-content code,
.site-main .entry-content h1,
.site-main .entry-content h2,
.site-main .entry-content h3,
.site-main .entry-content h4,
.site-main .entry-content h5,
.site-main .entry-content h6,
.site-main .wp-block-latest-posts,
.site-main .wp-block-latest-posts li,
.site-main .wp-block-latest-posts a {
    font-size: 18px !important;
    line-height: 1.7 !important;
    font-family: inherit;
}

.site-main .entry-title,
.site-main .page-title {
    font-family: inherit;
}

.site-main .post .entry-footer,
.site-main .entry-meta,
.author,
#comments,
.comments-area {
    display: none;
}

.hymn-book-search input[type="search"] {
    box-sizing: border-box;
    flex: 1;
    width: 100%;
    min-width: 0;
    min-height: 40px;
    margin: 0;
    padding: 7px 10px;
    border: 1px solid #b8b8b8;
    border-radius: 4px 0 0 4px;
    background: #fff;
    color: #333;
    font: inherit;
    font-size: 15px;
    line-height: 1.4;
}

.hymn-book-search button {
    flex-shrink: 0;
    min-height: 40px;
    margin: 0;
    padding: 7px 12px;
    border: 1px solid #087f70;
    border-radius: 0 4px 4px 0;
    background: #087f70;
    color: #fff;
    font: inherit;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 600;
    text-transform: none;
    cursor: pointer;
}

.hymn-book-search button:hover {
    border-color: #066456;
    background: #066456;
}

.hymn-book-search input:focus,
.hymn-book-search button:focus {
    position: relative;
    outline: 2px solid #087f70;
    outline-offset: 3px;
}

@media screen and (max-width: 767px) {
    .hymn-book-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .hymn-book-search {
        order: -1;
        flex: 0 1 auto;
        width: 100%;
        max-width: 360px;
        margin-left: 0;
    }

    .hymn-book-search input[type="search"] {
        font-size: 16px;
    }
}

@media screen and (max-width: 1024px) {
    .site-header .container {
        flex-wrap: wrap;
        gap: 0;
        justify-content: space-between;
    }

    .site-branding {
        flex: 1 1 auto;
        min-width: 0;
        max-width: calc(100% - 90px);
    }

    .site-branding .site-title {
        white-space: normal;
    }

    .site-header-search {
        order: 3;
        flex-basis: 100%;
        margin: 16px 82px 0 0;
    }
}

@media screen and (max-width: 767px) {
    .site-header-search {
        margin: 14px 64px 0 0;
    }
}

@media screen and (max-width: 480px) {
    .site-header-search {
        margin-right: 0;
    }
}
