/*
 Theme Name:   Astra Child
 Theme URI:    https://wpastra.com/
 Description:  Astra Child Theme
 Author:       Brainstorm Force
 Author URI:   https://wpastra.com/about/
 Template:     astra
 Version:      1.0.0
 Text Domain:  astra-child
*/
/* Improved Blog Page Layout */

/* Fix header overlap */
.blog .site-content,
.archive .site-content {
    padding-top: 60px !important;
}

/* Card Styling */
.ast-article-post .ast-article-inner {
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    background: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

.ast-article-post .ast-article-inner:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.1);
}

.ast-article-post .post-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0 !important; 
}

/* Image */
.ast-article-post .ast-blog-featured-section {
    margin: 0 0 20px 0 !important;
}
.ast-article-post .ast-blog-featured-section img {
    border-radius: 12px 12px 0 0;
    width: 100%;
    display: block;
    object-fit: cover;
}

/* Padding for internal elements */
.ast-article-post .entry-title,
.ast-article-post .entry-header,
.ast-article-post .ast-excerpt-container,
.ast-article-post .ast-read-more-container {
    padding-left: 24px;
    padding-right: 24px;
}

/* Typography */
.ast-article-post .entry-title {
    font-size: 1.35rem;
    line-height: 1.4;
    margin-bottom: 12px;
    font-weight: 700;
}
.ast-article-post .entry-title a {
    color: #222222;
    text-decoration: none;
    transition: color 0.2s ease;
}
.ast-article-post .entry-title a:hover {
    color: #F7941D;
}

/* Meta Data - Clean pills */
.ast-article-post .entry-meta {
    font-size: 0; /* Hides the slashes */
    margin-bottom: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.ast-article-post .entry-meta > span {
    font-size: 0.75rem;
    color: #666666;
    background: #f4f6f8;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.ast-article-post .entry-meta a {
    color: inherit;
    text-decoration: none;
}
.ast-article-post .entry-meta a:hover {
    color: #F7941D;
}
/* Hide Leave a comment if preferred, or keep it. We keep it but styled nicely */

/* Excerpt */
.ast-article-post .ast-excerpt-container {
    color: #555555;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1; /* Push button to bottom */
}

/* Button */
.ast-article-post .ast-read-more-container {
    padding-bottom: 24px;
    margin-top: auto;
}
.ast-article-post .ast-read-more-container a {
    display: inline-block;
    padding: 10px 22px;
    background: #F7941D; 
    color: #ffffff;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
}
.ast-article-post .ast-read-more-container a:hover {
    background: #e08316;
    box-shadow: 0 4px 10px rgba(247, 148, 29, 0.3);
}
/* Hide category from post meta */
.ast-article-post .entry-meta .ast-taxonomy-container {
    display: none !important;
}