/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: hello-elementor
Author: Elementor Team
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 3.4.9.1783529196
Updated: 2026-07-08 16:46:36

*/



/* ========================================================
   1. POST GRID STYLING (Shortcode)
======================================================== */
.vilar-post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin: 40px 0;
}

.vilar-post-card {
    background: #ffffff;
    border: 1px solid #eaeaea;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.vilar-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(111, 24, 13, 0.08); /* Subtle shadow using primary color */
}

.vilar-post-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.vilar-post-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.vilar-post-title {
    font-family: 'Oswald', sans-serif;
    font-weight: 300;
    text-transform: uppercase;
    color: #6f180d;
    font-size: 1.6rem;
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 15px;
}

.vilar-post-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.vilar-post-title a:hover {
    color: #4a0f08; /* Slightly darker shade for hover */
}

.vilar-post-excerpt {
    font-size: 1rem;
    line-height: 1.6;
    color: #555555;
    margin-bottom: 25px;
    flex-grow: 1;
}

.vilar-read-more {
    font-family: 'Oswald', sans-serif;
    font-weight: 300;
    text-transform: uppercase;
    color: #6f180d;
    text-decoration: none;
    font-size: 1.1rem;
    align-self: flex-start;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.vilar-read-more:hover {
    border-bottom-color: #6f180d;
}

/* ========================================================
   SINGLE POST PAGE STYLING (Document Style)
======================================================== */

/* 1. The Document Wrapper */
.single-post .site-main {
    max-width: 850px; /* Optimal reading width */
    margin: 60px auto; /* Centers the document on the page */
    padding: 70px 80px; /* Generous inside padding like a real document */
    background-color: #ffffff;
    border: 1px solid #eaeaea; /* Subtle border */
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.04); /* Soft shadow to lift it off the background */
    border-radius: 4px;
}

/* Mobile Adjustments for the Document Wrapper */
@media (max-width: 768px) {
    .single-post .site-main {
        margin: 30px 15px;
        padding: 40px 25px;
    }
}

/* 2. Main Title (H1) */
.single-post .entry-title {
    font-family: 'Oswald', sans-serif;
    font-weight: 300;
    text-transform: uppercase;
    color: #6f180d; /* Primary Color */
    font-size: 3rem;
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 40px;
    text-align: center;
    border-bottom: 2px solid #f5f5f5; /* Subtle separator line */
    padding-bottom: 30px;
}

/* 3. Typography & Spacing (The Body Content) */
.single-post .entry-content {
    font-size: 1.15rem; /* Slightly larger base font for readability */
    line-height: 1.8; /* Excellent line spacing for heavy text */
    color: #333333;
}

/* Paragraphs */
.single-post .entry-content p {
    margin-bottom: 1.8em; /* Good separation between paragraphs */
}

/* Bold text inside content */
.single-post .entry-content strong, 
.single-post .entry-content b {
    color: #111111;
    font-weight: 600;
}

/* 4. Lists (Optimized Spacing & Indentation - Corrected for Hello Elementor) */
.single-post .page-content ul,
.single-post .page-content ol,
.single-post .page-content .wp-block-list {
    margin: 1.5em 0 2em 0 !important; 
    padding-left: 1.8em !important; 
    list-style-position: outside !important; 
}

/* Individual List Items */
.single-post .page-content li {
    margin-bottom: 1em !important; /* Increased slightly for better breathing room */
    padding-left: 0.4em !important; 
    line-height: 1.7 !important;
}

/* Remove bottom margin on the very last item so the list doesn't create a massive gap */
.single-post .page-content li:last-child {
    margin-bottom: 0 !important;
}

/* Handle nested lists perfectly */
.single-post .page-content li ul,
.single-post .page-content li ol {
    margin-top: 0.8em !important;
    margin-bottom: 0 !important;
}

/* 5. Subheadings (H2, H3, etc.) */
.single-post .entry-content h2,
.single-post .entry-content h3,
.single-post .entry-content h4 {
    font-family: 'Oswald', sans-serif;
    font-weight: 300;
    text-transform: uppercase;
    color: #6f180d; /* Primary Color */
    margin-top: 2.2em; /* Extra space above headings to separate sections */
    margin-bottom: 1em;
    line-height: 1.3;
}

/* 6. Blockquotes (For callouts or legal citations) */
.single-post .entry-content blockquote {
    border-left: 4px solid #6f180d;
    margin: 2.5em 0;
    padding: 1.5em 2.5em;
    background-color: #fafafa;
    font-style: italic;
    font-size: 1.25rem;
    color: #555555;
}

/* 7. Post Featured Image */
.single-post .post-thumbnail {
    margin-bottom: 50px;
    text-align: center;
}

.single-post .post-thumbnail img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}