﻿/* ==== Corporate Premium Style 2025 ==== */

.detail-ser {
    background: #fff;
    color: #222;
    font-family: "Inter", "Roboto", sans-serif;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(70%);
}

.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 60px 40px;
    color: #fff;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.65) 90%);
}

    .hero-content h1 {
        font-size: 38px;
        font-weight: 700;
        margin: 0;
        line-height: 1.3;
    }

    .hero-content p {
        font-size: 18px;
        max-width: 700px;
        margin-top: 12px;
        opacity: 0.9;
    }

/* ===== Meta Info ===== */
.meta {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 20px 40px;
    border-bottom: 1px solid #e5e5e5;
    font-size: 14px;
    color: #666;
}

.meta-item i {
    margin-right: 6px;
    color: var(--default-color-2);
}
/* ===== Theme & base ===== */
:root{
  --bg: #ffffff;
  --card: #fbfcfd;
  --muted: #6b7280;
  --border: #e6e9ee;
  --accent: #2563eb;      /* màu chính — đổi dễ dàng */
  --accent-600: #1e40af;
  --row-odd: #f8fafc;
  --shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
  --radius: 12px;
  --pad: 12px;
  --max-width: 100%;
  --font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI",
                 Roboto, "Helvetica Neue", Arial;
}

/* ===== Container & responsive wrapper ===== */
._tableContainer_1rjym_1{
  font-family: var(--font-family);
  width: 100%;
  background: var(--bg);
  color: #0f172a;
  padding: 8px;
  box-sizing: border-box;
}

/* wrapper giữ scroll ngang cho màn nhỏ, đồng thời tạo bóng và bo góc */
._tableWrapper_1rjym_13 {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.6), rgba(255,255,255,0.4));
  box-shadow: var(--shadow);
  padding: 10px;
}

/* làm cho bảng không quá rộng trên desktop, nhưng vẫn co dãn */
._tableWrapper_1rjym_13 table {
  border-collapse: collapse;
  width: 100%;
  min-width: 640px; /* nếu muốn bảng nhỏ hơn, giảm giá trị này */
  background: var(--card);
  box-sizing: border-box;
  color: inherit;
}

/* header */
._tableWrapper_1rjym_13 thead th {
  position: sticky;
  top: 0;
  background: linear-gradient(90deg, var(--card), #f7fbff);
  text-align: left;
  font-weight: 600;
  padding: 14px var(--pad);
  border-bottom: 1px solid var(--border);
  color: #0b1220;
  font-size: 14px;
  white-space: nowrap;
  z-index: 2;
}

/* body rows & cells */
._tableWrapper_1rjym_13 tbody td {
  padding: 12px var(--pad);
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  vertical-align: middle;
   /* cho phép xuống dòng */
  max-width: 420px;
}

/* zebra rows */
._tableWrapper_1rjym_13 tbody tr:nth-child(odd) {
  background: var(--row-odd);
}

/* hover */
._tableWrapper_1rjym_13 tbody tr:hover {
  background: linear-gradient(90deg, rgba(37,99,235,0.04), rgba(37,99,235,0.02));
  transform: translateZ(0);
}

/* first column (Tiêu chí) nổi bật hơn */
._tableWrapper_1rjym_13 tbody td:first-child {
  font-weight: 600;
  color: #0b1220;
  width: 240px;
  min-width: 160px;
}

/* small devices: giảm padding, cho bảng cuộn ngang đẹp */
@media (max-width: 720px) {
  :root { --pad: 10px; --radius: 8px; }
  ._tableWrapper_1rjym_13 table { min-width: 560px; }
  ._tableWrapper_1rjym_13 thead th,
  ._tableWrapper_1rjym_13 tbody td { padding: 10px 8px; font-size: 13px; }
}

/* accessible focus styles (nếu người dùng tab tới các ô) */
._tableWrapper_1rjym_13 tbody td:focus {
  outline: 3px solid rgba(37,99,235,0.18);
  outline-offset: 2px;
}

/* optional: nhấn mạnh cột ký số từ xa */
._tableWrapper_1rjym_13 thead th + th + th,
._tableWrapper_1rjym_13 tbody td:nth-child(3) {
  color: var(--default-color-2);
}

/* optional: làm mượt chuyển đổi */
._tableWrapper_1rjym_13 tbody tr,
._tableWrapper_1rjym_13 thead th {
  transition: background-color 160ms ease, transform 120ms ease;
}

/* ===== Main Content ===== */
.detail-content {
    padding: 40px;
    line-height: 1.8;
    font-size: 16px;
}

    .detail-content section h2,
    .detail-content section h3 {
        color: var(--default-color-2);
        margin-top: 30px;
        margin-bottom: 15px;
        font-weight: 600;
    }

    .detail-content section p {
        margin-bottom: 16px;
        color: #333;
    }

/* ===== Related Services ===== */
.related-services {
    padding: 50px 40px 70px;
    background: #f8f9fa;
}

    .related-services h3 {
        font-size: 24px;
        color: var(--default-color-2);
        margin-bottom: 30px;
        text-align: center;
        font-weight: 700;
    }

.related-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 25px;
}

.related-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    width: 100%;
}

    .related-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    }

.card-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.header-banner-wrap {
    display: none
}

.card-content {
    padding: 12px 20px 1px;
}

    .card-content h4 {
        font-size: 18px;
        color: var(--default-color-1);
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        display: -webkit-box;
        margin-bottom: 10px;
        margin: 0;
    }

    .card-content p {
        font-size: 14px;
        color: #555;
        line-height: 1.6;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        display: -webkit-box;
    }

/* ===== Responsive ===== */
@media (max-width: 1023px) {
    .hero {
        height: 400px;
    }

    .hero-content {
        padding: 10px 13px;
    }

    .detail-content {
        padding: 30px 25px;
    }

    .related-services {
        padding: 40px 5px;
        padding-top: 20px;
    }
}

@media (max-width: 739px) {
    .hero {
        height: 100%;
    }

    .hero-content h1 {
        font-size: 21px;
    }

    .hero-content p {
        font-size: 15px;
    }

    .meta {
        padding: 15px 20px;
        gap: 15px;
    }

    .detail-content {
        font-size: 15px;
    }

    .related-card .card-img img {
        height: 180px;
    }
}
