/*
Theme Name: Merock Builder Theme
Theme URI: https://example.com/
Author: Bansita / Merock
Author URI: https://example.com/
Description: Minimal full-width theme designed to work with Merock Website Maker page builder. Uses header/footer shortcodes by default and has an entry header with featured image background.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: merock-builder-theme
*/

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    line-height: 1.6;
}

.site {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-content {
    flex: 1;
}

.site-main.mwm-page {
    width: 100%;
}

.site-header-inner,
.site-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
}

/* ENTRY HEADER (featured image background) */
.entry-header.hero-header {
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: #ffffff;
    padding: 100px 20px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.55) 0%,
        rgba(0, 0, 0, 0.65) 40%,
        rgba(0, 0, 0, 0.85) 100%
    );
}

.hero-inner {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-header .entry-title {
    margin: 0 0 10px;
    font-size: 36px;
    font-weight: 700;
}

.hero-header .entry-excerpt {
    max-width: 700px;
    font-size: 16px;
    opacity: 0.9;
}

.hero-header .entry-meta {
    font-size: 13px;
    margin-bottom: 10px;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .entry-header.hero-header {
        padding: 70px 15px;
    }
    .hero-header .entry-title {
        font-size: 26px;
    }
    .hero-header .entry-excerpt {
        font-size: 14px;
    }
}
