/* /blog/blogStyles.css
   Complete drop-in replacement (matches your current /blog/index.php)
   Goal: Featured card looks identical to Latest cards (no special layout)
*/

/* Hero wrapper */
.blog-hero {
    border-radius: 14px;
    margin-top: 10px;
}

.blog-hero-inner {
    padding: 12px 14px;
}

/* Search row */
.blog-search-row {
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 10px;
    margin-top: 14px;
}

.blog-search,
.blog-select {
    width: 100%;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.14);
    outline: none;
    font-family: inherit;
}

.blog-search:focus,
.blog-select:focus {
    border-color: rgba(0,0,0,0.26);
}

/* Stack Featured and Latest sections (1 column layout) */
.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: start;
    margin-top: 14px;
}

/* Panels */
.blog-panel {
    border: 1px solid rgba(0,0,0,0.10);
    border-radius: 14px;
    padding: 10px 14px;
    background: rgba(0, 152, 121, 0.02);
}

.blog-panel h2 {
    margin: 6px 0 10px 0;
}

/* Cards list */
.blog-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.blog-card {
    display: block;
    text-decoration: none;
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,0.08);
    padding: 12px;
    color: #222;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);

    transition: 
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0,0,0,0.16);
}



/* Featured should look identical to normal cards */
.blog-card-featured {
    padding: 12px;
}

/* Meta row */
.blog-card-meta {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

/* Topic pill */
.blog-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,0.10);
    font-weight: 800;
    font-size: 0.85rem;
}

/* Date/readtime */
.blog-muted {
    opacity: 0.72;
    font-size: 0.92rem;
}

/* Title/excerpt */
.blog-card-title {
    font-size: 1.08rem;
    font-weight: 900;
    margin-top: 2px;
    color: #009879;
}

.blog-card-excerpt {
    margin-top: 8px;
    opacity: 0.9;
    line-height: 1.45;
    color: #222;
}

/* Featured includes an extra CTA line in the markup.
   Hide it so Featured matches Latest exactly. */
.blog-card-cta {
    display: none;
}

/* No results message */
.blog-no-results {
    margin-top: 12px;
    font-weight: 800;
    opacity: 0.8;
}

/* Mini note under featured */
.blog-mini-note {
    margin-top: 10px;
    opacity: 0.78;
    font-size: 0.95rem;
}

/* Responsive tweaks */
@media (max-width: 1000px) {
    .blog-search-row { grid-template-columns: 1fr; }
}
