/* style/danh-gia-nha-cai-uy-tin.css */
:root {
    --primary-color: #F2C14E;
    --secondary-color: #FFD36B;
    --background-color: #0A0A0A;
    --card-background: #111111;
    --text-main: #FFF6D6;
    --border-color: #3A2A12;
    --glow-color: #FFD36B;
    --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    --light-text-on-dark: #FFF6D6;
    --dark-text-on-light: #333333; /* Fallback for light backgrounds */
}

.page-danh-gia-nha-cai-uy-tin {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--light-text-on-dark); /* Default text color for dark body background */
    background-color: var(--background-color); /* Inherited from body via shared.css */
}

.page-danh-gia-nha-cai-uy-tin__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Hero Section --- */
.page-danh-gia-nha-cai-uy-tin__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, assuming body handles --header-offset */
    margin-bottom: 40px;
    overflow: hidden; /* Ensure slider content stays within bounds */
}

.page-danh-gia-nha-cai-uy-tin__hero-slider {
    position: relative;
    width: 100%;
    height: 600px; /* Adjust as needed for desktop */
    overflow: hidden;
    border-radius: 10px;
}

.page-danh-gia-nha-cai-uy-tin__hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.page-danh-gia-nha-cai-uy-tin__hero-slide.is-active {
    opacity: 1;
}

.page-danh-gia-nha-cai-uy-tin__hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-width: 200px; /* Min size requirement */
    min-height: 200px; /* Min size requirement */
}

.page-danh-gia-nha-cai-uy-tin__hero-slider-prev,
.page-danh-gia-nha-cai-uy-tin__hero-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--light-text-on-dark);
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 10;
    font-size: 24px;
    border-radius: 5px;
}

.page-danh-gia-nha-cai-uy-tin__hero-slider-prev {
    left: 10px;
}

.page-danh-gia-nha-cai-uy-tin__hero-slider-next {
    right: 10px;
}

.page-danh-gia-nha-cai-uy-tin__hero-content-wrapper {
    position: relative; /* Changed from absolute to relative to be below the image */
    margin-top: 20px; /* Spacing between image and text content */
    text-align: center;
    padding: 0 20px;
    z-index: 5;
}

.page-danh-gia-nha-cai-uy-tin__hero-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--card-background); /* Dark background for text content */
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    box-shadow: 0 0 15px rgba(255, 211, 107, 0.2);
    color: var(--light-text-on-dark);
}

.page-danh-gia-nha-cai-uy-tin__main-title {
    font-size: 3.2em;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-danh-gia-nha-cai-uy-tin__description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--text-main);
}

.page-danh-gia-nha-cai-uy-tin__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-danh-gia-nha-cai-uy-tin__btn-primary,
.page-danh-gia-nha-cai-uy-tin__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    max-width: 100%; /* For button responsiveness */
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-danh-gia-nha-cai-uy-tin__btn-primary {
    background: var(--button-gradient);
    color: var(--dark-text-on-light); /* Dark text on bright button */
    border: none;
    box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

.page-danh-gia-nha-cai-uy-tin__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 211, 107, 0.6);
}

.page-danh-gia-nha-cai-uy-tin__btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-danh-gia-nha-cai-uy-tin__btn-secondary:hover {
    background: var(--primary-color);
    color: var(--dark-text-on-light);
}

/* --- General Section Styling --- */
.page-danh-gia-nha-cai-uy-tin__section {
    padding: 60px 0;
    margin-bottom: 30px;
}

.page-danh-gia-nha-cai-uy-tin__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}