/*
Theme Name: Blogum Child
Template: blogum
Author: Lore Lixenberg Voice Archive
Description: Editorial child theme for the Lore Lixenberg Voice archive.
Version: 1.4
Requires at least: 6.3
Requires PHP: 8.0
Text Domain: blogum-child
*/

:root {
    --lore-ink: #0e0d0c;
    --lore-paper: #f4f0e7;
    --lore-gold: #c6a45a;
}

.blg-read-more {
    display: inline-block;
    margin-top: .45rem;
    color: inherit;
    font-weight: 700;
    text-decoration-thickness: 1px;
    text-underline-offset: .2em;
}

.blg-cover-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, .74), rgba(0, 0, 0, .34) 48%, rgba(0, 0, 0, .86)) !important;
}

.blg-overlay-menu::before {
    background-image: none !important;
}

.blg-feed {
    background: var(--lore-paper);
}

.blg-section-header h2,
.blg-post-title,
.blg-single-title {
    text-wrap: balance;
}

.blg-single-content img,
.entry-content img {
    max-width: 100%;
    height: auto;
}

.blg-feed-nav a,
.blg-overlay-menu a,
.blg-read-more {
    min-height: 44px;
}

@media (max-width: 1024px) {
    .blg-layout:not(.blg-layout--editor) .blg-cover,
    .blg-layout:not(.blg-layout--editor) .tft-single-hero,
    .blg-layout:not(.blg-layout--editor) #blg-cover {
        min-height: clamp(540px, 68vh, 680px) !important;
    }
}

@media (max-width: 600px) {
    .blg-layout:not(.blg-layout--editor) .blg-cover,
    .blg-layout:not(.blg-layout--editor) .tft-single-hero,
    .blg-layout:not(.blg-layout--editor) #blg-cover {
        height: 760px !important;
        min-height: 760px !important;
        max-height: 760px !important;
    }

    .blg-feed-section,
    .blg-feed-section article,
    .blg-post-card {
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    .blg-feed-container {
        padding-inline: 20px !important;
    }

    .blg-cover-content {
        padding: 22px !important;
    }

    .blg-section-header {
        gap: 12px;
    }

    .blg-section-link {
        white-space: nowrap;
    }
}
