/* Khối Khóa Học Liên Quan - Phần 2: Cẩm Nang Mẹo Thi */
.related-guides-section {
    background: #FFFFFF;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    padding: 18px 14px;
    margin-bottom: 26px;
    box-sizing: border-box;
    width: 100%;
    overflow: hidden;
}
.related-header-tag.related-tag-green {
    background: #ECFDF5;
    color: #059669;
    border-color: #A7F3D0;
}
.related-guides-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    width: 100%;
    box-sizing: border-box;
}
.related-guide-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    transition: transform 0.2s, box-shadow 0.2s;
}
.related-guide-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
    border-color: #CBD5E1;
}
.guide-thumb-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    overflow: hidden;
    background: #F1F5F9;
}
.guide-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.3s;
}

.guide-icon-placeholder {
    height: 70px;
    background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
    border-bottom: 1px solid #FDE68A;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #D97706;
    font-size: 28px;
}
.guide-card-body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
    box-sizing: border-box;
}
.guide-tag-badge {
    display: inline-block;
    align-self: flex-start;
    background: #EFF6FF;
    color: #2563EB;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    margin-bottom: 6px;
}
.guide-meta-top {
    font-size: 11.5px;
    color: #94A3B8;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 6px;
}
.guide-card-title {
    margin: 0 0 6px 0;
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.4;
}
.guide-card-title a {
    color: #1E293B;
    text-decoration: none;
    transition: color 0.2s;
}
.guide-card-title a:hover {
    color: #8B1E1E;
}
.guide-card-excerpt {
    margin: 0 0 10px 0;
    font-size: 12.5px;
    color: #64748B;
    line-height: 1.5;
    word-break: break-word;
}
.guide-card-link {
    margin-top: auto;
    font-size: 12.5px;
    font-weight: 700;
    color: #8B1E1E;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.2s;
}
.guide-card-link:hover {
    gap: 8px;
}

@media (min-width: 640px) {
    .related-guides-section {
        padding: 22px;
    }
    .related-guides-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}

@media (min-width: 980px) {
    .related-guides-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}
