/* --- Standard Scoped Styles for Mindfulness4dogs Blog --- */
#m4d-blog-wrapper {
    --primary-color: #a987c2; /* Brand Color */
    --text-color: #333;
    --panel-bg: #f9f9f9; /* Color for Media Panels */
    
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    max-width: 800px;
    margin: 0 auto; 
    padding: 40px;
}

/* Headings */
#m4d-blog-wrapper h1, 
#m4d-blog-wrapper h2, 
#m4d-blog-wrapper h3, 
#m4d-blog-wrapper h4 {
    color: var(--primary-color);
    margin-top: 1.5em;
    font-family: 'Fredoka', sans-serif;
    font-weight: 600; 
    line-height: 1.3;
}

#m4d-blog-wrapper h1 { font-size: 2.2rem; text-align: center; margin-bottom: 0.5em; }
#m4d-blog-wrapper h2 { font-size: 1.6rem; text-align: left; }
#m4d-blog-wrapper h3 { font-size: 1.3rem; margin-bottom: 0.5em; }

/* Body Text */
#m4d-blog-wrapper p { margin-bottom: 1em; font-size: 1.1rem; line-height: 1.8; }

/* Lists */
#m4d-blog-wrapper ul { padding-left: 20px; margin-bottom: 1.5em; }
#m4d-blog-wrapper li { margin-bottom: 0.8em; font-size: 1.1rem; }

/* --- Image/Video Panel Styling --- */
#m4d-blog-wrapper .img-placeholder,
#m4d-blog-wrapper .video-placeholder {
    background-color: var(--panel-bg);
    border: 2px dashed #ccc;
    padding: 15px; 
    border-radius: 8px;
    margin: 30px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    color: #666;
}

#m4d-blog-wrapper .img-placeholder img {
    width: 100%; height: auto; display: block;
    border-radius: 4px; max-height: 600px; object-fit: cover;
}

/* Highlight Box (Quotes) */
#m4d-blog-wrapper .highlight-box {
    background-color: #fff;
    border-left: 5px solid var(--primary-color);
    padding: 20px; margin: 30px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    font-style: italic; font-size: 1.2rem;
}

/* Footer / Share Section */
#m4d-blog-wrapper .blog-footer {
    margin-top: 50px; padding-top: 30px;
    border-top: 1px solid #ddd; text-align: center;
}

#m4d-blog-wrapper .share-buttons {
    display: flex; justify-content: center; gap: 15px; margin-top: 20px; flex-wrap: wrap;
}

#m4d-blog-wrapper .share-btn {
    background-color: var(--primary-color); color: white;
    padding: 8px 15px; border-radius: 4px; text-decoration: none;
    font-size: 0.9rem; transition: opacity 0.3s;
}
#m4d-blog-wrapper .share-btn:hover { opacity: 0.8; }

/* --- Responsive --- */
@media screen and (max-width: 768px) {
    #m4d-blog-wrapper { padding: 20px; }
    #m4d-blog-wrapper h1 { font-size: 1.8rem; }
}