/*
Theme Name: QuestionsGod
Description: Custom theme recreating the original questionsgod.com static site design.
Version: 1.0
Author: QuestionsGod
Text Domain: questionsgod
*/

/* --- Fixes for WordPress theme conversion --- */

/* Hamburger trigger icon: original CSS used a relative path that doesn't
   resolve inside the WP theme folder structure - point directly to the
   Media Library copy instead. */
.menupush-nav-trigger,
a.menupush-nav-trigger:hover,
a.menupush-nav-trigger:focus {
    background-image: url('http://questionsgod.local/wp-content/uploads/2026/09/menu-push-lines.png') !important;
}

/* Site name text: the original static site left this element empty
   (branding was carried by the logo graphic alone), so there was no
   CSS constraining its size. Scale it down to sit properly next to
   the logo and stop it colliding with the main navigation. */
.website-name {
    font-size: 24px;
    line-height: 1.2;
    display: inline-block;
    vertical-align: middle;
}
.website-name a {
    font-weight: bold;
}
.logo-wrapper {
    display: flex !important;
    align-items: center;
}
.logo-wrapper .website-name {
    margin-left: 12px;
}

/* Align the logo/site-name block and the main nav on the same row,
   in relation to each other, instead of the original's independent
   fixed-pixel positioning (which assumed an empty site-name field).
   Scoped to this wrapper only, so .phone-wrapper keeps its original
   untouched float:right behavior. */
@media (min-width: 992px) {
    .branding-nav-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        clear: both;
    }
    .branding-nav-row .logo-wrapper {
        margin: 10px 0;
    }
    .branding-nav-row .menu-wrapper {
        position: static;
        padding: 0;
    }
}

/* Breadcrumb bar: original CSS used relative paths that don't resolve
   inside the WP theme folder structure - point directly to the
   Media Library copies instead. */
.section--breadcrumb {
    background-image: url('http://questionsgod.local/wp-content/uploads/2026/09/bg-chalkboard.jpg') !important;
}
.section--breadcrumb .wrapper {
    background-image: url('http://questionsgod.local/wp-content/uploads/2026/09/bs-slider-paper-bottom.png') !important;
}
