/* Mũi tên banner dạng chevron tối giản, đặt nổi trực tiếp trên ảnh. */
.hero-controls {
    inset: 0;
    display: block;
    pointer-events: none;
}

.hero-controls > button {
    position: absolute;
    top: 50%;
    width: 48px;
    height: 80px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: transparent;
    font-size: 0;
    backdrop-filter: none;
    opacity: .82;
    transform: translateY(-50%);
    pointer-events: auto;
}

.hero-controls > button[data-hero-prev] { left: 10px; }
.hero-controls > button[data-hero-next] { right: 10px; }

.hero-controls > button::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .48));
    transition: transform .2s ease;
}

.hero-controls > button[data-hero-prev]::before {
    transform: translate(-35%, -50%) rotate(-135deg);
}

.hero-controls > button[data-hero-next]::before {
    transform: translate(-65%, -50%) rotate(45deg);
}

.hero-controls > button:hover,
.hero-controls > button:focus-visible {
    background: transparent;
    border-color: transparent;
    opacity: 1;
    outline: 0;
}

.hero-controls > button:focus-visible {
    outline: 2px solid rgba(255, 255, 255, .75);
    outline-offset: -7px;
}

.hero-controls > button[data-hero-prev]:hover::before {
    transform: translate(-55%, -50%) rotate(-135deg);
}

.hero-controls > button[data-hero-next]:hover::before {
    transform: translate(-45%, -50%) rotate(45deg);
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 122px;
    transform: translateX(-50%);
    pointer-events: auto;
}

.hero-timer {
    left: calc(50% - 110px);
    right: auto;
    bottom: 112px;
    width: 220px;
}

.hero-detail {
    max-width: 610px;
    margin: -16px 0 28px;
    color: rgba(255, 255, 255, .88);
    font-size: 14px;
    line-height: 1.7;
    white-space: pre-line;
}

/* Bốn nhóm dự án nằm trên cùng một hàng ở màn hình máy tính. */
.project-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.project-card {
    height: 420px;
}

.project-info {
    left: 22px;
    right: 22px;
    bottom: 24px;
}

.project-info h3 {
    font-size: clamp(24px, 2vw, 31px);
    line-height: 1.12;
}

.project-info p {
    max-width: calc(100% - 48px);
    font-size: 13px;
    line-height: 1.55;
}

.circle-arrow {
    width: 42px;
    height: 42px;
    font-size: 18px;
}

@media(max-width:1000px) {
    .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media(max-width:700px){.hero-controls>button{top:43%;width:40px;height:68px}.hero-controls>button[data-hero-prev]{left:2px}.hero-controls>button[data-hero-next]{right:2px}.hero-dots{bottom:205px}.hero-dots button{width:23px}.hero-timer{left:calc(50% - 85px);right:auto;bottom:195px;width:170px}.project-grid{grid-template-columns:1fr}.project-card{height:430px}}
@media(prefers-reduced-motion:reduce){.hero-slide,.hero-slide .hero-content,.hero-slide .hero-media{transition:none!important}.hero-timer{display:none}}
