
/* --- Hero Section --- */
.hero-section {
    position: relative;
    height: 50vh;
    /* Chiều cao bằng 50% chiều cao màn hình */
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
    /* Đảm bảo ảnh nền không tràn ra ngoài */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Cắt ảnh nền cho vừa */
    z-index: -2;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* Lớp phủ mờ màu đen */
    z-index: -1;
}

.hero-content {
    z-index: 1;
    max-width: 600px;
    padding: 0 20px;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.search-form {
    position: relative;
}

.search-input {
    width: 100%;
    height: 55px;
    border-radius: 50px;
    /* Bo tròn hoàn toàn */
    border: none;
    padding: 10px 20px 10px 50px;
    /* Tăng padding trái cho icon */
    font-size: 1rem;
}

.search-input:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.4);
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: #6c757d;
}

/* --- Report Cards Section --- */
.section-container {
    padding-top: 50px;
    padding-bottom: 50px;
}

.report-card {
    border: 1px solid #e9ecef;
    border-radius: 12px;
    background-color: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.report-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.card-img-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: #f0f0f0;
}

.card-img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.report-card:hover .card-img-frame img {
    transform: scale(1.05);
}

.card-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 12px;
    border-radius: 6px;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.tag-seo {
    background-color: #3B82F6;
}

.tag-expert {
    background-color: #10B981;
}

.report-card .card-body {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.report-card .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 12px;
}

.report-card .card-text {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 20px;
}

.report-card .card-link {
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    color: #3B82F6;
    transition: color 0.3s ease;
    margin-top: auto;
    /* !! Đây là thay đổi quan trọng !! */
    align-self: flex-start;
    /* Đảm bảo link không bị kéo dài */
}

.report-card .card-link:hover {
    color: #1E40AF;
}

.report-card .card-footer {
    padding: 16px 24px;
    background-color: #ffffff;
    border-top: 1px solid #e9ecef;
    font-size: 0.8rem;
    color: #6c757d;
}