/*
Theme Name: Dr. Burute Child Care Clinic
Theme URI: https://drburutechildcareclinic.com/
Author: Antigravity
Author URI: https://drburutechildcareclinic.com/
Description: Custom WordPress theme for Dr. Burute Child Care Clinic Blog matching the main website design system.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: drburute-clinic
*/

/* Scoped Blog Typography and Layout Adjustments */
body, html {
    font-family: 'Montserrat', sans-serif !important;
}

h1, h2, h3, h4, h5, h6, .title, .dz-title {
    font-family: 'Montserrat', sans-serif !important;
}

.blog-hero-banner {
    position: relative;
    padding: 85px 0 65px;
    background: #0c7883;
    background-size: cover;
    background-position: center;
    color: #ffffff;
    overflow: hidden;
}

.blog-hero-banner .banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 30, 40, 0.65);
    z-index: 1;
}

.blog-hero-banner .container {
    position: relative;
    z-index: 2;
}

.blog-hero-title {
    font-size: 38px;
    font-weight: 700;
    color: #ffffff !important;
    margin-bottom: 12px;
}

.blog-hero-breadcrumb {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
}

.blog-hero-breadcrumb a {
    color: #ffffff;
    text-decoration: none;
}

.blog-hero-breadcrumb a:hover {
    color: #f7f3eb;
    text-decoration: underline;
}

.blog-card-custom {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.35s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #eef2f5;
}

.blog-card-custom:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(12, 120, 131, 0.12);
}

.blog-card-media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    width: 100%;
    background: #f0f4f7;
}

.blog-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card-custom:hover .blog-card-media img {
    transform: scale(1.05);
}

.blog-card-body {
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #0c7883;
    font-weight: 600;
}

.blog-card-meta i {
    margin-right: 5px;
}

.blog-card-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 14px;
    color: #1a1a1a;
}

.blog-card-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-card-title a:hover {
    color: #0c7883;
}

.blog-card-excerpt {
    font-size: 14px;
    line-height: 1.65;
    color: #555555;
    margin-bottom: 22px;
    flex-grow: 1;
}

.blog-read-more-btn {
    display: inline-flex;
    align-items: center;
    color: #0c7883;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-top: auto;
}

.blog-read-more-btn i {
    margin-left: 8px;
    transition: transform 0.2s ease;
}

.blog-read-more-btn:hover {
    color: #08555d;
}

.blog-read-more-btn:hover i {
    transform: translateX(4px);
}

/* Single Post Specific */
.single-post-wrapper {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #eef2f5;
}

.single-post-featured-image {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 30px;
}

.single-post-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333333;
}

.single-post-content h2, .single-post-content h3 {
    color: #1a1a1a;
    font-weight: 700;
    margin-top: 32px;
    margin-bottom: 16px;
}

.single-post-content p {
    margin-bottom: 20px;
}

.single-post-content ul, .single-post-content ol {
    margin-bottom: 20px;
    padding-left: 24px;
}

.single-post-content li {
    margin-bottom: 8px;
}

@media (max-width: 991px) {
    .blog-hero-title {
        font-size: 30px;
    }
    .single-post-wrapper {
        padding: 24px 18px;
    }
}
