/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

/* =============================================================
   Blog Archive / Category - Premium Red-Gold Card Grid
   ============================================================= */

/* Override Astra's .ast-row flexbox → CSS Grid */
.archive .site-main > .ast-row,
.blog .site-main > .ast-row {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 0 0 24px;
}

/* Reset Astra's width on articles */
.archive .site-main .ast-article-post,
.blog .site-main .ast-article-post {
    width: auto !important;
    margin-bottom: 0 !important;
    border-bottom: none !important;
}

/* Pagination full-width row */
.archive .site-main .ast-pagination,
.blog .site-main .ast-pagination {
    grid-column: 1 / -1;
}

/* Card - Premium transparent style, no white frame */
.archive .ast-article-post,
.blog .ast-article-post {
    background: transparent !important;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(201, 168, 76, 0.2);
}

.archive .ast-article-post:hover,
.blog .ast-article-post:hover {
    box-shadow: 0 6px 24px rgba(201, 168, 76, 0.3), 0 4px 16px rgba(0, 0, 0, 0.2);
    transform: translateY(-4px);
    border-color: rgba(201, 168, 76, 0.5);
}

/* Remove any inner white backgrounds from Astra */
.archive .ast-article-inner,
.blog .ast-article-inner {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Featured Image - full width, no padding, larger */
.archive .ast-blog-featured-section,
.blog .ast-blog-featured-section {
    margin: 0;
    padding: 0;
}

.archive .ast-blog-featured-section a,
.blog .ast-blog-featured-section a {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.archive .ast-blog-featured-section img,
.blog .ast-blog-featured-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.archive .ast-blog-featured-section a:hover img,
.blog .ast-blog-featured-section a:hover img {
    transform: scale(1.08);
}

/* Post Content Area - tight padding */
.archive .post-content,
.blog .post-content {
    padding: 8px 10px 10px;
    display: flex;
    flex-direction: column;
    flex: 1;
    background: rgba(26, 26, 46, 0.6) !important;
}

/* Post Title - Premium style */
.archive .entry-title,
.blog .entry-title {
    font-size: 0.88em;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.archive .entry-title a,
.blog .entry-title a {
    color: #f0e6d3;
    text-decoration: none;
    transition: color 0.2s ease;
}

.archive .entry-title a:hover,
.blog .entry-title a:hover {
    color: #e8c96d;
}

/* Read More Button - compact, gold accent */
.archive .ast-read-more-container,
.blog .ast-read-more-container {
    margin-top: auto;
}

.archive .ast-read-more-container a,
.blog .ast-read-more-container a {
    display: block;
    text-align: center;
    padding: 5px 8px;
    background: linear-gradient(135deg, #c9a84c, #a8893a);
    color: #1a1a2e;
    border-radius: 4px;
    font-size: 0.72em;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    letter-spacing: 0.3px;
}

.archive .ast-read-more-container a:hover,
.blog .ast-read-more-container a:hover {
    background: linear-gradient(135deg, #e8c96d, #c9a84c);
    box-shadow: 0 2px 8px rgba(201, 168, 76, 0.4);
}

/* =============================================================
   Pagination - Gold Frame
   ============================================================= */
.archive .ast-pagination,
.blog .ast-pagination {
    text-align: center;
    padding: 20px 0;
}

.archive .ast-pagination .nav-links,
.blog .ast-pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.archive .ast-pagination .page-numbers,
.blog .ast-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border: 2px solid #c9a84c;
    border-radius: 6px;
    background: transparent;
    color: #c9a84c;
    font-weight: 600;
    font-size: 0.9em;
    text-decoration: none;
    transition: all 0.2s ease;
}

.archive .ast-pagination .page-numbers:hover,
.blog .ast-pagination .page-numbers:hover {
    background: #c9a84c;
    color: #1a1a2e;
}

.archive .ast-pagination .page-numbers.current,
.blog .ast-pagination .page-numbers.current {
    background: linear-gradient(135deg, #c9a84c, #e8c96d);
    color: #1a1a2e;
    border-color: #c9a84c;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(201, 168, 76, 0.35);
}

.archive .ast-pagination .page-numbers.dots,
.blog .ast-pagination .page-numbers.dots {
    border: none;
    background: none;
    color: #c9a84c;
    min-width: auto;
    padding: 0 4px;
}

.archive .ast-pagination .page-numbers.next,
.archive .ast-pagination .page-numbers.prev,
.blog .ast-pagination .page-numbers.next,
.blog .ast-pagination .page-numbers.prev {
    border-color: #c9a84c;
    color: #c9a84c;
    font-weight: 700;
}

.archive .ast-pagination .page-numbers.next:hover,
.archive .ast-pagination .page-numbers.prev:hover,
.blog .ast-pagination .page-numbers.next:hover,
.blog .ast-pagination .page-numbers.prev:hover {
    background: #c9a84c;
    color: #1a1a2e;
}

/* =============================================================
   Responsive: Large Desktop (≥1440px) - 5 columns
   ============================================================= */
@media (min-width: 1440px) {
    .archive .site-main > .ast-row,
    .blog .site-main > .ast-row {
        grid-template-columns: repeat(5, 1fr);
        gap: 18px;
    }
}

/* =============================================================
   Responsive: Desktop (≥1200px) - 4 columns (default above)
   ============================================================= */

/* =============================================================
   Responsive: Laptop (992–1199px) - 3 columns
   ============================================================= */
@media (max-width: 1199px) {
    .archive .site-main > .ast-row,
    .blog .site-main > .ast-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
    }

    .archive .entry-title,
    .blog .entry-title {
        font-size: 0.85em;
    }
}

/* =============================================================
   Responsive: Tablet (768–991px) - 2 columns
   ============================================================= */
@media (max-width: 991px) {
    .archive .site-main > .ast-row,
    .blog .site-main > .ast-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .archive .post-content,
    .blog .post-content {
        padding: 7px 8px 8px;
    }

    .archive .entry-title,
    .blog .entry-title {
        font-size: 0.84em;
    }

    .archive .ast-pagination .page-numbers,
    .blog .ast-pagination .page-numbers {
        min-width: 34px;
        height: 34px;
        font-size: 0.85em;
    }
}

/* =============================================================
   Responsive: Mobile (<768px) - 1 column
   ============================================================= */
@media (max-width: 767px) {
    .archive .site-main > .ast-row,
    .blog .site-main > .ast-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .archive .ast-blog-featured-section a,
    .blog .ast-blog-featured-section a {
        aspect-ratio: 16 / 8;
    }

    .archive .post-content,
    .blog .post-content {
        padding: 8px 10px 10px;
    }

    .archive .entry-title,
    .blog .entry-title {
        font-size: 0.9em;
        margin-bottom: 6px;
    }

    .archive .ast-read-more-container a,
    .blog .ast-read-more-container a {
        padding: 6px 10px;
        font-size: 0.75em;
    }

    .archive .ast-pagination .page-numbers,
    .blog .ast-pagination .page-numbers {
        min-width: 32px;
        height: 32px;
        font-size: 0.8em;
        padding: 0 6px;
    }
}
