/*
Theme Name: Ka'aper
Theme URI: https://kaaperofficial.com/
Author: Ka'aper
Description: A cinematic, dark custom theme for the Ka'aper band website. Preserves standard WordPress posts and category-based content.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
Text Domain: kaaper
*/

.hero__content img.custom-logo {
    max-height: 300px;
    display: block;
    margin: 0 auto;
}

/* Cinematic single-post hero */

.single .post-hero {
    position: relative;
    width: 100%;
    height: min(72vh, 760px);
    min-height: 380px;
    overflow: hidden;
    background: #080808;
}

.single .post-hero img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.single .post-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
            to bottom,
            transparent 25%,
            rgba(0,0,0,.15) 48%,
            rgba(0,0,0,.75) 78%,
            #080808 100%
    );
    pointer-events: none;
}

.single .post-hero-content {
    position: absolute;
    z-index: 2;
    bottom: 55px;
    left: max(5%, calc((100% - 1200px) / 2));
    right: 5%;
}

.single .post-meta {
    color: #aaa;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.single .post-hero-content h1 {
    color: #fff;
    font-size: clamp(2rem, 5vw, 4.5rem);
    line-height: 1.05;
    margin: 0;
}

.single .post-content {
    background: #080808;
    padding: 30px 5% 80px;
}

.single .content-inner {
    max-width: 900px;
    margin: 0 auto;
}

.single .post-no-hero {
    padding: 100px 5% 50px;
    background: #080808;
    color: #fff;
}

@media (max-width: 600px) {
    .single .post-hero {
        height: 55vh;
        min-height: 320px;
    }

    .single .post-hero-content {
        bottom: 30px;
    }
}

.single .post-hero {
    position: relative;
    width: 100%;
    height: min(72vh, 760px);
    min-height: 380px;
    overflow: hidden;
    background: #080808;
}

.single .post-hero img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    opacity: 0.8;
    filter: blur(4px);
}

.single .post-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
            to bottom,
            rgba(0,0,0,0) 30%,
            rgba(0,0,0,0.12) 48%,
            rgba(0,0,0,0.72) 75%,
            #080808 100%
    );
}

.single .post-hero-content {
    position: absolute;
    z-index: 2;
    bottom: 55px;
    left: max(5%, calc((100% - 1200px) / 2));
    right: 5%;
}