/* Premium Blog Grid Improvements - Suffix 41823fb3 */

/* Target Elementor Posts, Astra Grid Articles, and standard WordPress Loop Cards scoped to site main content */
.elementor-posts-container .elementor-post,
.site-main .ast-row article.post,
.blog-layout-grid article.post,
.archive .site-main article.post {
    background-color: #FFFFF0 !important; /* Ivory background */
    padding: 24px !important;
    border-radius: 16px !important;
    border: 1px solid rgba(104, 60, 17, 0.08) !important; /* Subtle brown tint border */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important; /* Soft shadow */
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.35s cubic-bezier(0.25, 1, 0.5, 1) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    height: 100% !important;
    overflow: hidden !important;
}

/* Hover Animation - Lift & shadow scoped to main content */
.elementor-posts-container .elementor-post:hover,
.site-main .ast-row article.post:hover,
.blog-layout-grid article.post:hover,
.archive .site-main article.post:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 12px 30px rgba(104, 60, 17, 0.1) !important; /* Subtle brown-accented shadow expansion */
}

/* Image Container */
.elementor-posts-container .elementor-post__thumbnail,
.site-main .ast-row article.post .ast-blog-featured-section,
.blog-layout-grid article.post .post-thumbnail {
    overflow: hidden !important;
    border-radius: 12px 12px 0 0 !important; /* Match top corners of card */
    margin: -24px -24px 20px -24px !important; /* Flush image with container top/sides */
    aspect-ratio: 16 / 10 !important;
}

/* Image Hover Zoom */
.elementor-posts-container .elementor-post__thumbnail img,
.site-main .ast-row article.post .ast-blog-featured-section img,
.blog-layout-grid article.post .post-thumbnail img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.elementor-posts-container .elementor-post:hover .elementor-post__thumbnail img,
.site-main .ast-row article.post:hover .ast-blog-featured-section img,
.blog-layout-grid article.post:hover .post-thumbnail img {
    transform: scale(1.05) !important; /* Premium subtle zoom */
}

/* Typography Styling */
.elementor-posts-container .elementor-post__title,
.elementor-posts-container .elementor-post__title a,
.site-main .ast-row article.post .entry-title,
.site-main .ast-row article.post .entry-title a,
.blog-layout-grid article.post .entry-title,
.blog-layout-grid article.post .entry-title a {
    color: #683C11 !important; /* Dark Brown */
    font-weight: 700 !important;
    line-height: 1.4 !important;
    margin-bottom: 12px !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

.elementor-posts-container .elementor-post__title a:hover,
.site-main .ast-row article.post .entry-title a:hover,
.blog-layout-grid article.post .entry-title a:hover {
    color: #8b531b !important;
}

/* Excerpt / Content color */
.elementor-posts-container .elementor-post__excerpt,
.site-main .ast-row article.post .entry-content,
.site-main .ast-row article.post .entry-content p,
.blog-layout-grid article.post .entry-content p {
    color: #4A4A4A !important; /* Premium readable dark grey */
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    margin-bottom: 20px !important;
}

/* Meta Data (Date, Author, etc.) */
.elementor-posts-container .elementor-post__meta-data,
.site-main .ast-row article.post .entry-meta,
.blog-layout-grid article.post .entry-meta {
    font-size: 0.85rem !important;
    color: #8C7B70 !important;
    margin-bottom: 12px !important;
}

/* Read More Button Styling */
.elementor-posts-container .elementor-post__read-more,
.site-main .ast-row article.post .read-more-button,
.site-main .ast-row article.post .ast-button,
.blog-layout-grid article.post .more-link {
    display: inline-block !important;
    background-color: #683C11 !important; /* Primary brand color (dark brown) */
    color: #FFFFF0 !important; /* Ivory text */
    padding: 10px 22px !important;
    border-radius: 30px !important; /* Clean rounded pill */
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease !important;
    text-align: center !important;
    align-self: flex-start !important;
    margin-top: auto !important; /* Push buttons to align at bottom of cards */
    border: none !important;
}

/* Read More Button Hover */
.elementor-posts-container .elementor-post__read-more:hover,
.site-main .ast-row article.post .read-more-button:hover,
.site-main .ast-row article.post .ast-button:hover,
.blog-layout-grid article.post .more-link:hover {
    background-color: #4e2c0b !important; /* Slightly darker brown */
    box-shadow: 0 4px 12px rgba(104, 60, 17, 0.2) !important; /* Subtle elevation */
    transform: translateY(-1px) !important;
}

/* Grid Spacing / Consistency improvements scoped to main content container */
.elementor-posts,
.site-main .ast-row {
    gap: 32px !important; /* Rich padding/spacing between grid cards */
}
