.saec-card {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.saec-title {
    margin: 0 0 0.15rem 0;
    font-size: 1.05em;
    letter-spacing: 0.01em;
}

.saec-title a {
    text-decoration: none;
}

.saec-title a:hover,
.saec-title a:focus {
    text-decoration: underline;
}

.saec-excerpt {
    line-height: 1.6;
    margin-top: 0.1rem;
}

.saec-read-more-wrap {
    margin-top: 0.35rem;
}

.saec-read-more {
    display: inline-block;
    padding: 0.3em 0.75em;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.18);
    font-size: 0.85em;
    text-decoration: none;
    background: rgba(15, 23, 42, 0.02);
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

.saec-read-more:hover,
.saec-read-more:focus {
    background: rgba(15, 23, 42, 0.06);
    border-color: rgba(15, 23, 42, 0.3);
    transform: translateY(-1px);
}

.saec-meta-row {
    display: flex;
    justify-content: space-between;
    margin-top: 0.35rem;
    font-size: 0.85em;
    opacity: 0.9;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.saec-meta-left {
    display: flex;
    align-items: center;
}

.saec-meta-right {
    margin-left: auto;
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

/* Dates layout modifiers */
.saec-meta-right.saec-dates-inline {
    flex-direction: row;
}

.saec-meta-right.saec-dates-stacked {
    flex-direction: column;
    align-items: flex-end;
}

.saec-meta-author {
    font-style: italic;
}

.saec-meta-date {
    white-space: nowrap;
}

.saec-meta-modified {
    font-style: italic;
}

/* Hide meta row completely on mobile when the class is present */
@media (max-width: 600px) {
    .saec-meta-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .saec-meta-right {
        margin-left: 0;
        justify-content: flex-start;
        align-items: flex-start;
    }
    .saec-hide-meta-mobile {
        display: none;
    }
}
