/* page-service-detail.css */

/* Giao diện chung */
.service-detail-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

@media (min-width: 1024px) {
    .service-detail-wrapper {
        flex-direction: row;
        gap: 40px;
        align-items: flex-start;
    }
}

/* Sidebar bên trái */
.single__sidebar {
    flex: 0 0 100%;
}

@media (min-width: 768px) {
    .single__sidebar {
        flex: 0 0 200px;
    }
}

@media (min-width: 1024px) {
    .single__sidebar {
        flex: 0 0 300px;
        position: sticky;
        top: 100px; /* Cố định khi cuộn */
    }
}

@media (min-width: 1280px) {
    .single__sidebar {
        flex: 0 0 360px;
    }
}

/* Style cho widget menu */
.single__sidebar .widget {
    box-shadow: 0 10px 30px 5px rgba(115, 113, 255, .06);
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 32px;
    background: #fff;
}

.single__sidebar .widgettitle {
    margin: 0 0 20px 0;
    background: linear-gradient(115deg, #FF6004, #FE9E30);
    background-clip: border-box;
    -webkit-background-clip: text;
    -webkit-text-fill-color: rgba(0, 0, 0, 0);
    text-transform: capitalize;
    font-size: 24px;
    font-weight: 700;
}

.single__sidebar .widget ul {
    padding: 0;
    margin: 0;
}

.single__sidebar .widget ul li {
    list-style-type: none;
    border-bottom: 1px dashed #e1e1e1;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.single__sidebar .widget ul li:last-child {
    margin: 0;
    border: 0;
    padding: 0;
}

.single__sidebar .widget ul li a {
    display: block;
    font-size: 16px;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    color: var(--color-heading, #191919);
    text-decoration: none;
    transition: color 0.3s ease;
}

.single__sidebar .widget ul li:hover a {
    color: #ff6004;
}

/* Hộp liên hệ tư vấn */
.single__sidebar--box {
    background: linear-gradient(115deg, #103CE7, #64E9FF);
    padding: 30px;
    border-radius: 20px;
}

.single__sidebar--box h3 {
    color: #fff;
    font-size: 24px;
    margin-top: 0;
}

/* Cột phải: Nội dung */
.single__content {
    flex: 0 0 100%;
}

@media (min-width: 768px) {
    .single__content {
        flex: 0 0 calc(100% - 232px);
    }
}

@media (min-width: 1024px) {
    .single__content {
        flex: 0 0 calc(100% - 340px);
    }
}

@media (min-width: 1280px) {
    .single__content {
        flex: 0 0 calc(100% - 400px);
    }
}

/* Định dạng cơ bản cho chữ trong nội dung */
.single__content .content {
    color: #475569;
    font-size: 16px;
    line-height: 1.6;
}

.single__content .content h2,
.single__content .content h3 {
    color: #17386C;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 700;
}

.single__content .content img {
    border-radius: 12px;
    margin-bottom: 20px;
    max-width: 100%;
    height: auto;
}

/* Style đặc trưng từ bản mẫu */
.single__content .content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.single__content .content ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 8px;
}

.single__content .content ul li::before {
    content: "";
    background: url("https://alibabamedia.vn/wp-content/uploads/2025/11/check-list.svg");
    position: absolute;
    left: 0;
    top: 5px; /* Điều chỉnh để thẳng hàng với chữ */
    width: 16px;
    height: 16px;
    background-size: cover;
    background-repeat: no-repeat;
}

/* Các elements khác như .faqs__list, .why__content... nếu copy y hệt HTML sang */
.single__content .faqs__list .job__item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #d5d8dc;
}

.single__content .faqs__list .job__item--title {
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    color: #17386C;
    transition: all 0.3s;
}

.single__content .faqs__list .job__item--title:hover,
.single__content .faqs__list .job__item--title.active {
    background: linear-gradient(115deg, #FF6004, #FE9E30);
    background-clip: border-box;
    -webkit-background-clip: text;
    -webkit-text-fill-color: rgba(0, 0, 0, 0);
}

.single__content .why__content--desc ul li {
    position: relative;
    display: flex;
    padding: 8px 18px 8px 30px;
    border-radius: 100px;
    align-items: center;
    width: fit-content;
    background: #f4f7ff;
    margin-bottom: 10px;
    font-weight: 500;
    color: #17386C;
}

.single__content .why__content--desc ul li:before {
    content: "";
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: linear-gradient(115deg, #FF6004, #FE9E30);
    border-radius: 50%;
}
