/*
Theme Name: Astra Child
Template: astra
Author: Property Tale
Description: Astra Child Theme
Version: 1.0.0
*/

/* =========================================
   Featured Bento Grid (Elementor Shortcode)
========================================= */
:root {
    --font-heading: "Montserrat", sans-serif;
    --font-body: "Inter", sans-serif;
    --color-text: #18181B;
    --color-accent: #9F1239;
}
.featured-bento {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 2rem;
    height: 550px;
    margin-bottom: 3rem;
    width: 100%;
}
.bento-item {
    position: relative;
    overflow: hidden;
    background-color: var(--color-text);
    border-radius: 4px;
}
.bento-item:hover .image-wrapper {
    transform: scale(1.05);
}
.bento-item .image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease;
    opacity: 0.8;
    background-position: center;
    background-size: cover;
    z-index: 1;
}
.bento-item a {
    z-index: 5;
    position: relative;
}
.bento-item .content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
    color: white;
    z-index: 2;
    pointer-events: none;
}
.bento-item .content a {
    pointer-events: auto;
}
.main-feature {
    grid-row: 1 / 3;
    grid-column: 1 / 2;
}
.side-feature:nth-child(2) {
    grid-row: 1 / 2;
    grid-column: 2 / 3;
}
.side-feature:nth-child(3) {
    grid-row: 2 / 3;
    grid-column: 2 / 3;
}
.featured-bento .category-badge {
    background-color: var(--color-accent);
    color: white;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    display: inline-block;
    text-transform: uppercase;
}
.main-feature h2 {
    font-size: 3rem;
    color: white;
    margin-bottom: 1rem;
    text-transform: none;
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}
.main-feature p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #e4e4e7;
    max-width: 80%;
    font-family: var(--font-body);
}
.side-feature h3 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 0.5rem;
    text-transform: none;
    font-family: var(--font-heading);
    line-height: 1.3;
}
.featured-bento .author {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    color: #a1a1aa;
    text-transform: uppercase;
}
@media (max-width: 1024px) {
    .featured-bento {
        height: auto;
        grid-template-columns: 1fr;
        grid-template-rows: 400px 250px 250px;
    }
    .main-feature {
        grid-row: 1 / 2;
        grid-column: 1 / 2;
    }
    .main-feature h2 {
        font-size: 2.2rem;
    }
    .side-feature:nth-child(2) {
        grid-row: 2 / 3;
        grid-column: 1 / 2;
    }
    .side-feature:nth-child(3) {
        grid-row: 3 / 4;
        grid-column: 1 / 2;
    }
}


/* Force Montserrat on all headings and blog post titles */
h1, h2, h3, h4, h5, h6, .entry-title, .ast-single-post .entry-title, .ast-archive-description .ast-archive-title { font-family: 'Montserrat', sans-serif !important; }
body, p, .entry-content p { font-family: 'Inter', sans-serif !important; }
