/* HornSports Featured Posts Widget v1.4.0 — hornsports-featured-posts.css */

.hs-featured-posts { width: 100%; font-family: 'Oswald', 'Arial Narrow', sans-serif !important; }

.hs-featured-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 1.5rem;
    align-items: start;
}

/* ---- HERO CARD ---- */
.hs-hero-card {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    background: #f7f6f2;
    box-shadow: 0 12px 40px rgba(0,0,0,0.6);
    min-height: 460px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.hs-hero-img,
.hs-hero-img-placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hs-hero-img-placeholder { background: #e8e5e0; }
.hs-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.05) 100%);
}
.hs-hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    color: #fff;
    font-family: 'Oswald', 'Arial Narrow', sans-serif !important;
}
.hs-category-badge {
    display: inline-block;
    background: #bf5700;
    color: #fff;
    font-family: 'Oswald', 'Arial Narrow', sans-serif !important;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    border-radius: 0.375rem;
    margin-bottom: 0.75rem;
    text-decoration: none;
}
.hs-hero-headline {
    font-family: 'Oswald', 'Arial Narrow', sans-serif !important;
    font-size: clamp(1.4rem, 2.8vw, 2.2rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 0.75rem;
    color: #fff;
}
.hs-hero-headline a {
    color: #fff;
    text-decoration: none;
    font-family: 'Oswald', 'Arial Narrow', sans-serif !important;
    transition: color 180ms ease;
}
.hs-hero-headline a:hover { color: #c8a951; }
.hs-hero-meta {
    font-family: 'Oswald', 'Arial Narrow', sans-serif !important;
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: rgba(255,255,255,0.65);
}

/* ---- SECONDARY CARDS ---- */
.hs-secondary-stack { display: flex; flex-direction: column; gap: 1rem; }

.hs-secondary-card {
    background: #ffffff;
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid #e0ddd8;
    display: grid;
    grid-template-columns: 110px 1fr;
    grid-template-rows: 1fr;      /* single row that stretches to content height */
    align-items: stretch;         /* force both columns to match full row height */
    box-shadow: 0 1px 3px rgba(0,0,0,0.4);
    transition: box-shadow 180ms ease, border-color 180ms ease;
}
.hs-secondary-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.5);
    border-color: #bf5700;
}

/* Image spans full card height */
.hs-sec-img {
    width: 110px;
    height: 100%;          /* fills the grid row height set by text content */
    min-height: 100px;
    object-fit: cover;
    object-position: center;
    display: block;
    grid-row: 1 / -1;      /* explicitly span the full grid row */
}
.hs-sec-img-placeholder {
    width: 110px;
    min-height: 100px;
    background: #e8e5e0;
    grid-row: 1 / -1;
    height: 100%;
}

.hs-sec-body {
    padding: 0.85rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.3rem;
    font-family: 'Oswald', 'Arial Narrow', sans-serif !important;
}
.hs-sec-category {
    font-family: 'Oswald', 'Arial Narrow', sans-serif !important;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #bf5700;
    text-decoration: none;
    line-height: 1;
}
.hs-sec-title {
    font-family: 'Oswald', 'Arial Narrow', sans-serif !important;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.25;
    color: #1a1a1a;
}
.hs-sec-title a {
    color: #1a1a1a;
    font-family: 'Oswald', 'Arial Narrow', sans-serif !important;
    text-decoration: none;
    transition: color 180ms ease;
}
.hs-sec-title a:hover { color: #bf5700; }
.hs-sec-date {
    font-family: 'Oswald', 'Arial Narrow', sans-serif !important;
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: #7a7570;
    margin-top: 2px;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
    .hs-featured-grid { grid-template-columns: 1fr; }
    .hs-secondary-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
}
@media (max-width: 600px) {
    .hs-secondary-stack { grid-template-columns: 1fr; }
    .hs-hero-content { padding: 1.25rem; }
}
