/* HornSports Article Cards Widget v1.2 */

/* ---- LIST (single column, full width rows) ---- */
.hs-ac-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.hs-ac-empty {
    font-family: 'Oswald', 'Arial Narrow', sans-serif !important;
    color: #7a7570;
    padding: 2rem;
    text-align: center;
}

/* ---- CARD — horizontal layout ---- */
.hs-ac-card {
    background: #ffffff;
    border-bottom: 1px solid #e0ddd8;
    display: grid;
    grid-template-columns: 200px 1fr;
    align-items: stretch;
    transition: background 150ms ease;
    text-decoration: none;
}
.hs-ac-card:first-child {
    border-top: 1px solid #e0ddd8;
    border-radius: 0.75rem 0.75rem 0 0;
    overflow: hidden;
}
.hs-ac-card:last-child {
    border-radius: 0 0 0.75rem 0.75rem;
    overflow: hidden;
}
.hs-ac-card:hover { background: #faf9f7; }

/* ---- IMAGE ---- */
.hs-ac-img-wrap {
    display: block;
    position: relative;
    overflow: hidden;
    background: #edeae5;
    min-height: 130px;
    align-self: stretch;
    text-decoration: none;
}
.hs-ac-img-wrap img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 300ms ease;
}
.hs-ac-card:hover .hs-ac-img-wrap img { transform: scale(1.03); }
.hs-ac-img-placeholder {
    position: absolute;
    inset: 0;
    background: #e8e5e0;
}

/* ---- BODY ---- */
.hs-ac-body {
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.35rem;
}

/* ---- META ROW (category + date inline) ---- */
.hs-ac-meta {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.hs-ac-category {
    display: inline-block;
    background: #bf5700;
    color: #fff !important;
    font-family: 'Oswald', 'Arial Narrow', sans-serif !important;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 0.25rem;
    text-decoration: none !important;
    transition: background 150ms ease;
    white-space: nowrap;
}
.hs-ac-category:hover { background: #9e4700; }

.hs-ac-date {
    font-family: 'Oswald', 'Arial Narrow', sans-serif !important;
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: #9a9591;
    text-transform: uppercase;
}

/* ---- TITLE ---- */
.hs-ac-title {
    font-family: 'Oswald', 'Arial Narrow', sans-serif !important;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.25;
    color: #1a1a1a;
    margin: 0;
}
.hs-ac-title a {
    color: #1a1a1a;
    font-family: 'Oswald', 'Arial Narrow', sans-serif !important;
    text-decoration: none;
    transition: color 150ms ease;
}
.hs-ac-title a:hover { color: #bf5700; }

/* ---- EXCERPT ---- */
.hs-ac-excerpt {
    font-family: 'Oswald', 'Arial Narrow', sans-serif !important;
    font-size: 0.82rem;
    font-weight: 400;
    line-height: 1.5;
    color: #6b6865;
    margin: 0;
}

/* ---- CTA BUTTON ---- */
.hs-ac-footer {
    display: flex;
    justify-content: center;
    padding-top: 1.5rem;
}
.hs-ac-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #bf5700;
    color: #fff !important;
    font-family: 'Oswald', 'Arial Narrow', sans-serif !important;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none !important;
    padding: 0.7rem 2rem;
    border-radius: 0.375rem;
    transition: background 180ms ease, transform 180ms ease;
}
.hs-ac-btn:hover { background: #9e4700; transform: translateY(-1px); }
.hs-ac-btn svg { flex-shrink: 0; }

/* ---- RESPONSIVE ---- */
@media (max-width: 600px) {
    .hs-ac-card {
        grid-template-columns: 110px 1fr;
    }
    .hs-ac-img-wrap { min-height: 90px; }
    .hs-ac-body { padding: 0.75rem 1rem; }
    .hs-ac-title { font-size: 0.9rem; }
    .hs-ac-excerpt { display: none; }
}
