/**
 * Module: article_listing
 * Auto-extracted from style.css
 */

/* ============================================
   ARTICLE LISTING
   ============================================ */

.t1-listing {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 6rem max(1.5rem, calc(50vw - var(--max-width) / 2 + 1.5rem));
}

.t1-listing--cols-1 { grid-template-columns: 1fr; margin: 0 auto; }
.t1-listing--cols-2 { grid-template-columns: repeat(2, 1fr); }

.t1-listing > hgroup {
    grid-column: 1 / -1;
    text-align: center;
    margin-bottom: 2rem;
}

.t1-listing__empty {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--stone);
    padding: 3rem;
}

.t1-listing article {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: box-shadow 0.2s;
}

.t1-listing article:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    /* removed transform */
}

.t1-listing article a {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.t1-listing article img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.t1-listing--img-4-3 article img { aspect-ratio: 4 / 3; }
.t1-listing--img-1-1 article img { aspect-ratio: 1 / 1; }
.t1-listing--img-auto article img { aspect-ratio: auto; }

.t1-listing__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 9;
    background: var(--pearl);
    color: var(--stone);
}

.t1-listing article small {
    display: block;
    padding: 1.25rem 1.25rem 0;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--jade);
}

.t1-listing article strong {
    display: block;
    padding: 0.5rem 1.25rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.3;
}

.t1-listing article > a > p {
    padding: 0 1.25rem;
    font-size: 0.9375rem;
    color: var(--charcoal);
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}

.t1-listing__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    margin-top: auto;
    border-top: 1px solid var(--pearl);
}

.t1-listing__meta time {
    font-size: 0.8125rem;
    color: var(--stone);
}

.t1-listing__meta em {
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 600;
    color: var(--jade);
}

/* Card style variants */
.t1-listing--minimal article {
    box-shadow: none;
    border: 1px solid var(--pearl);
}

.t1-listing--bordered article {
    border: 2px solid var(--pearl);
    box-shadow: none;
}

.t1-listing--elevated article {
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

@media (max-width: 900px) {
    .t1-listing,
    .t1-listing--cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .t1-listing,
    .t1-listing--cols-2 {
        grid-template-columns: 1fr;
    }
}

