/* Tài liệu tham khảo — trang chủ (nhấn đỏ) */
.tl-section {
    position: relative;
    overflow: hidden;
    background: var(--bg-zone-ember);
    padding: var(--section-y) 0;
}

.tl-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 36px;
    padding-bottom: 22px;
    border-bottom: 2px solid rgba(214, 40, 40, 0.28);
}

.tl-header > div {
    flex: 1;
    min-width: 0;
}

.tl-kicker {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ember-deep);
    margin: 0 0 8px;
    padding: 3px 8px;
    background: rgba(214, 40, 40, 0.1);
    border-left: 3px solid var(--ember);
}

.tl-title {
    font-family: var(--font-display);
    font-size: clamp(24px, 2.6vw, 34px);
    color: var(--ink);
    margin: 0 0 10px;
    letter-spacing: -0.02em;
}

.tl-desc {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: var(--ink-soft);
}

.tl-all {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: 700;
    color: #fff !important;
    text-decoration: none !important;
    padding: 11px 18px;
    border-radius: var(--radius);
    background: var(--grad-ember);
    box-shadow: 0 6px 16px rgba(214, 40, 40, 0.25);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.tl-all:hover {
    background: var(--grad-ember-hover);
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(214, 40, 40, 0.32);
}

.tl-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.tl-card {
    background: #fff;
    border: 1px solid rgba(0, 58, 140, 0.12);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    padding: 18px 16px 16px;
    box-shadow: var(--shadow-md);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.tl-card:hover {
    border-color: rgba(214, 40, 40, 0.4);
    box-shadow: 0 14px 32px rgba(214, 40, 40, 0.12);
    transform: translateY(-6px);
}

.tl-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.tl-tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ember-deep);
    background: rgba(214, 40, 40, 0.1);
    padding: 3px 8px;
}

.tl-format {
    font-size: 12px;
    font-weight: 700;
    color: var(--muted);
}

.tl-name {
    font-family: var(--font-display);
    font-size: 16px;
    line-height: 1.35;
    margin: 0 0 8px;
}
.tl-name a {
    color: var(--ink) !important;
    text-decoration: none !important;
}
.tl-name a:hover {
    color: var(--brand) !important;
}

.tl-text {
    margin: 0 0 14px;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--ink-soft);
    flex: 1;
}

.tl-more {
    font-size: 14px;
    font-weight: 700;
    color: var(--ember) !important;
    text-decoration: none !important;
    transition: padding-left 0.2s ease;
}
.tl-more:hover {
    padding-left: 4px;
    color: var(--ember-deep) !important;
}

@media (max-width: 1100px) {
    .tl-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 720px) {
    .tl-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .tl-grid {
        grid-template-columns: 1fr;
    }
}
