/*
Theme Name: Astra Child
Template: astra
Version: 1.0.0
*/
#ast-mobile-header,
#ast-desktop-header {
	position: fixed;
	width: 100%;
	top: 0;
	left: 0;
	background: rgba(178, 34, 34,0.75);
	backdrop-filter: blur(6px);
    .pll-parent-menu-item ul {
        background: rgba(100, 100, 100, 0.85);
    }

}
#ast-mobile-header {
    .ast-mobile-header-content,
    .menu-link,
    .main-header-menu {
        background: none !important;
    }
    .menu-link {
        color: white;
    }
    .ast-arrow-svg {
        fill: white;
    }
}
.ast-theme-transparent-header .main-header-menu .menu-item:hover > .menu-link,
.ast-theme-transparent-header .main-header-menu .current-menu-item > .menu-link,
.ast-theme-transparent-header .main-header-menu .current-menu-ancestor > .menu-link {
    color: #C5A059 !important;
	transition: all 0.25s;
}

.primary_button a {
	border: 1px solid rgba(197, 160, 89, 0.5);
    background: rgba(28, 28, 27, 0.5);
    backdrop-filter: blur(3px);
	&:hover {
		    border: 1px solid rgba(197, 160, 89, 1) !important;
    background: #1C1C1B !important;
	}
}

.button_blur a {
	backdrop-filter: blur(3px)
}

/* ============================================
   News Posts Grid
   ============================================ */

.news-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 2rem 0 12rem;
}

@media (max-width: 900px) {
    .news-posts-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .news-posts-grid { grid-template-columns: 1fr; }
}

/* ---- Card (the <a> itself) ---- */

.news-post-item {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e8e8e8;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-post-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.09);
    text-decoration: none; /* prevent Astra underlining the whole card */
}

/* ---- Thumbnail ---- */

.news-post-thumb {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f0f0f0;
}

.news-post-thumb--empty {
    background: #f5f5f5;
}

.news-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.news-post-item:hover .news-post-thumb img {
    transform: scale(1.04);
}

/* ---- Content ---- */

.news-post-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.25rem;
    flex: 1;
}

.news-post-content time {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #888;
}

.news-post-title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
    color: inherit;
    transition: color 0.15s ease;
}

.news-post-item:hover .news-post-title {
    color: #1a73e8; /* swap for your brand accent */
}

.news-post-excerpt {
    font-size: 0.875rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* ---- Empty state ---- */

.no-posts {
    grid-column: 1 / -1;
    text-align: center;
    color: #888;
    padding: 3rem 0;
}