/*
 Theme Name: Twenty Seventeen Child Theme
 Theme URI: https://brockvlog.com/bvlog
 Author: Your Name
 Author URI: https://brockvlog.com
 Template: twentyseventeen
 Description: Child theme for Twenty Seventeen.
 Version: 0.1
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Tags:
 Text Domain: twentyseventeen-child
 */

/* === Full-width responsive header image === */

/* Override all parent theme header sizing */
.custom-header,
.has-header-image .custom-header,
.has-header-image.twentyseventeen-front-page .custom-header,
.has-header-image.home.blog .custom-header {
    display: block !important;
    height: auto !important;
    width: 100% !important;
}

.custom-header-media,
.has-header-image .custom-header-media,
.has-header-image.twentyseventeen-front-page .custom-header-media,
.has-header-image.home.blog .custom-header-media,
.has-header-image:not(.twentyseventeen-front-page):not(.home) .custom-header-media {
    position: relative !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
}

.wp-custom-header,
#wp-custom-header {
    display: block !important;
    width: 100% !important;
}

/* The image itself - override fixed positioning, transforms, object-fit */
.wp-custom-header img,
.has-header-image .custom-header-media img,
.has-header-image:not(.twentyseventeen-front-page):not(.home) .custom-header-media img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    position: static !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    -webkit-transform: none !important;
    -ms-transform: none !important;
    -moz-transform: none !important;
    object-fit: contain !important;
    -o-object-fit: contain !important;
    min-height: 0 !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Override the @supports block from parent */
@supports (object-fit: cover) {
    .has-header-image .custom-header-media img,
    .has-header-image:not(.twentyseventeen-front-page):not(.home) .custom-header-media img {
        height: auto !important;
        left: auto !important;
        object-fit: contain !important;
        top: auto !important;
        transform: none !important;
        -webkit-transform: none !important;
        position: static !important;
    }
}

/* Site branding - keep it below the image */
.site-branding,
.has-header-image.twentyseventeen-front-page .site-branding,
.has-header-image.home.blog .site-branding {
    position: relative !important;
    display: block !important;
    height: auto !important;
}

.has-header-image .site-header,
.has-header-image.twentyseventeen-front-page .site-header,
.has-header-image.home.blog .site-header {
    min-height: 0 !important;
    height: auto !important;
    padding: 0 !important;
}

/* Remove dark gradient overlay */
.custom-header-media:before {
    display: none !important;
}

