.title-section {
    text-align: center;
    padding: 20px 20px;
    background-color: #fff;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.title-section .main-title {
    margin-bottom: 40px;
    position: relative;
}

.title-section .main-title-link {
    color: #dc3545 !important;
    font-size: 36px;
    font-weight: bold;
    text-decoration: none !important;
    line-height: 1.4;
    display: inline-block;
    position: relative;
    padding-bottom: 15px;
    transition: all 0.3s ease;
}

.title-section .main-title-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #dc3545, transparent);
    border-radius: 2px;
}

.title-section .main-title-link:hover {
    color: #b02a37 !important;
    text-decoration: none !important;
}

.title-section .main-title-link:hover::after {
    background: linear-gradient(90deg, transparent, #b02a37, transparent);
    height: 4px;
}

.title-section .sub-titles {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.title-section .sub-title-item {
    display: flex;
    align-items: center;
    padding: 0 20px;
    transition: all 0.3s ease;
    min-width: 200px;
    max-width: 280px;
}

.title-section .sub-title-item:hover {
    transform: translateY(-2px);
}

.title-section .red-dot {
    width: 8px;
    height: 8px;
    background-color: #dc3545;
    border-radius: 50%;
    margin-right: 12px;
    flex-shrink: 0;
}

.title-section .sub-title-text {
    color: #333 !important;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none !important;
    line-height: 1.5;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.title-section .sub-title-text:hover {
    color: #dc3545 !important;
    text-decoration: none !important;
}

.title-section .sub-title-text:focus {
    color: #dc3545 !important;
    text-decoration: none !important;
    outline: none;
}

@media (max-width: 1024px) {
    .title-section .main-title-link {
        font-size: 32px;
    }
    
    .title-section .sub-titles {
        gap: 20px;
        max-width: 800px;
    }
    
    .title-section .sub-title-item {
        min-width: 180px;
        max-width: 240px;
    }
}

@media (max-width: 768px) {
    .title-section {
        padding: 30px 15px;
    }
    
    .title-section .main-title-link {
        font-size: 28px;
        padding-bottom: 12px;
    }
    
    .title-section .sub-titles {
        flex-direction: column;
        gap: 15px;
        max-width: 100%;
    }
    
    .title-section .sub-title-item {
        min-width: auto;
        max-width: 100%;
        width: 100%;
        padding: 10px 15px;
    }
    
    .title-section .sub-title-text {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .title-section .main-title-link {
        font-size: 24px;
    }
    
    .title-section .sub-title-text {
        font-size: 14px;
    }
    
    .title-section .red-dot {
        width: 6px;
        height: 6px;
        margin-right: 10px;
    }
}