/*
Theme Name: Rakuza Seventeen
Theme URI: https://rakuza.org/
Description: Twenty Seventeen child theme; optional native site title and tagline above the Rakuza customer greeting.
Author: Rakuza
Template: twentyseventeen
Version: 1.1.20
Text Domain: rakuza-seventeen
*/

/* Title/tagline use Twenty Seventeen's original responsive font sizes. */
#masthead .rakuza-header-branding .site-branding-text .site-title,
#masthead .rakuza-header-branding .site-branding-text .site-title a,
#masthead .rakuza-header-branding .site-branding-text .site-description {
    font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
    font-weight: 300;
    color: #44484b !important;
    -webkit-text-stroke: .65px rgba(255,255,255,.92);
    paint-order: stroke fill;
    text-shadow: 0 0 1px rgba(255,255,255,.36);
}
#masthead .rakuza-header-branding .site-branding-text .site-description {
    opacity: 1;
}

/* The parent theme switches this body class when the Site Identity checkbox changes. */
body.title-tagline-hidden #masthead .rakuza-header-branding .site-branding-text {
    display: none !important;
}

/* Keep greeting below the optional title/tagline, independently of their visibility. */
#masthead .rakuza-header-branding .rakuza-header-greeting {
    display: block;
    clear: both;
    width: fit-content;
    max-width: 100%;
    margin-top: 12px;
}
body.title-tagline-hidden #masthead .rakuza-header-branding .rakuza-header-greeting {
    margin-top: 0;
}

/* The shortcode is inside the actual header; no box behind it. */
#masthead .rakuza-header-branding .rakuza-header-greeting {
    display: block;
    box-sizing: border-box;
    max-width: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none !important;
}
#masthead .rakuza-header-branding .rakuza-header-greeting .rakuza_cb2-greeting-widget {
    background: transparent !important;
    color: #44484b;
}
#masthead .rakuza-header-branding .rakuza-header-greeting .rakuza_cb2-greeting-text {
    font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
    font-weight: 400;
    color: #44484b;
    -webkit-text-stroke: .7px rgba(255,255,255,.95);
    paint-order: stroke fill;
    text-shadow: 0 0 1px rgba(255,255,255,.36);
}
#masthead .rakuza-header-branding .rakuza-header-greeting .rakuza_cb2-greeting-main {
    justify-content: flex-start;
}
/* Keep the login/mypage button readable; do not add strokes to it. */

/* Twenty Seventeen places .site-branding at the bottom of the hero image. */
.has-header-image .rakuza-header-branding,
.has-header-video .rakuza-header-branding {
    z-index: 6;
}
@media screen and (max-width: 767px) {
    .rakuza-header-branding .rakuza-header-greeting {
        padding: 0;
        max-width: 100%;
    }
    .rakuza-header-branding .rakuza-header-greeting .rakuza_cb2-greeting-main {
        gap: 7px;
    }
    .rakuza-header-branding .rakuza-header-greeting .rakuza_cb2-greeting-text {
        font-size: 14px;
    }
    .rakuza-header-branding .rakuza-header-greeting .rakuza_cb2-greeting-button {
        font-size: 12px;
        padding: 7px 10px;
    }
}

/* The title is omitted in PHP; only expand the content width when hidden. */
body.page-two-column #primary article.rakuza-page-title-hidden .entry-content,
body.page-two-column #primary article.rakuza-page-title-hidden .recent-posts {
    float: none;
    width: 100%;
}
