/**
 * DLH — Dinas Lingkungan Hidup
 * Inspired by dlh.semarangkota.go.id layout
 */

:root {
    --dlh-primary: #1a7a42;
    --dlh-primary-dark: #0d5c2e;
    --dlh-primary-darker: #084422;
    --dlh-primary-light: #2d9a52;
    --dlh-secondary: #0d5c4b;
    --dlh-accent: #4caf50;
    --dlh-accent-light: #a5d6a7;
    --dlh-light: #f4faf6;
    --dlh-light-alt: #e8f5e9;
    --dlh-dark: #1a2e1f;
    --dlh-muted: #5a6b5e;
    --dlh-white: #ffffff;
    --dlh-shadow: 0 4px 20px rgba(13, 92, 46, 0.1);
    --dlh-shadow-lg: 0 8px 30px rgba(13, 92, 46, 0.15);
    --dlh-radius: 0.5rem;
    --dlh-radius-lg: 0.75rem;
    --dlh-transition: 0.3s ease;
}

/* ---- Base ---- */
body.dlh-body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--dlh-dark);
    background-color: var(--dlh-white);
    line-height: 1.6;
}

.text-dlh-primary { color: var(--dlh-primary) !important; }
.text-dlh-dark { color: var(--dlh-dark) !important; }
.text-dlh-muted { color: var(--dlh-muted) !important; }
.bg-dlh-light { background-color: var(--dlh-light) !important; }
.bg-dlh-accent { background-color: var(--dlh-accent) !important; }

.dlh-section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--dlh-primary);
    margin-bottom: 0.35rem;
}

.dlh-section-desc {
    max-width: 560px;
}

/* ---- Buttons ---- */
.btn-dlh-primary {
    background-color: var(--dlh-primary);
    border-color: var(--dlh-primary);
    color: var(--dlh-white);
    font-weight: 500;
    transition: var(--dlh-transition);
}

.btn-dlh-primary:hover,
.btn-dlh-primary:focus {
    background-color: var(--dlh-primary-dark);
    border-color: var(--dlh-primary-dark);
    color: var(--dlh-white);
}

.btn-outline-dlh-primary {
    color: var(--dlh-primary);
    border-color: var(--dlh-primary);
    font-weight: 500;
    transition: var(--dlh-transition);
}

.btn-outline-dlh-primary:hover,
.btn-outline-dlh-primary:focus {
    background-color: var(--dlh-primary);
    border-color: var(--dlh-primary);
    color: var(--dlh-white);
}

/* ---- Top Bar ---- */
.dlh-topbar {
    background: var(--dlh-primary-darker);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    padding: 0.4rem 0;
}

.dlh-topbar a {
    color: rgba(255, 255, 255, 0.85);
    margin-left: 0.75rem;
    transition: var(--dlh-transition);
}

.dlh-topbar a:hover {
    color: var(--dlh-white);
}

/* ---- Brand Header ---- */
.dlh-brand-header {
    background: var(--dlh-white);
    border-bottom: 3px solid var(--dlh-primary);
    box-shadow: var(--dlh-shadow);
}

.dlh-brand-logo {
    height: 72px;
    width: auto;
    object-fit: contain;
}

.dlh-brand-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--dlh-primary-dark);
    line-height: 1.3;
}

.dlh-brand-subtitle {
    font-size: 0.9rem;
    color: var(--dlh-muted);
}

.dlh-brand-search .form-control {
    border-color: #dee2e6;
    font-size: 0.9rem;
}

.dlh-brand-search .form-control:focus {
    border-color: var(--dlh-primary);
    box-shadow: 0 0 0 0.2rem rgba(26, 122, 66, 0.15);
}

/* ---- Main Navigation ---- */
.dlh-main-nav {
    background: linear-gradient(90deg, var(--dlh-primary-dark) 0%, var(--dlh-primary) 50%, var(--dlh-primary-dark) 100%);
    padding: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.dlh-main-nav .navbar-toggler-icon {
    filter: invert(1);
}

.dlh-main-nav .dlh-nav-link {
    color: rgba(255, 255, 255, 0.92) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 1rem 1.15rem !important;
    border-bottom: 3px solid transparent;
    transition: var(--dlh-transition);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.dlh-main-nav .dlh-nav-link:hover,
.dlh-main-nav .dlh-nav-link:focus,
.dlh-main-nav .nav-item.show .dlh-nav-link {
    color: var(--dlh-white) !important;
    background: rgba(255, 255, 255, 0.1);
    border-bottom-color: var(--dlh-accent-light);
}

.dlh-main-nav .dropdown-menu {
    border: none;
    border-radius: 0 0 var(--dlh-radius) var(--dlh-radius);
    box-shadow: var(--dlh-shadow-lg);
    margin-top: 0;
}

.dlh-main-nav .dropdown-item {
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
}

.dlh-main-nav .dropdown-item:hover {
    background: var(--dlh-light);
    color: var(--dlh-primary);
}

/* ---- Info Banner ---- */
.dlh-info-banner {
    background: var(--dlh-light-alt);
    border-bottom: 1px solid rgba(26, 122, 66, 0.12);
    padding: 0.85rem 0;
}

.dlh-info-marquee {
    font-size: 0.9rem;
    color: var(--dlh-primary-dark);
    font-weight: 500;
}

.dlh-info-marquee i {
    color: var(--dlh-primary);
}

.dlh-badge-outline {
    background: transparent;
    border: 1px solid var(--dlh-primary);
    color: var(--dlh-primary);
    font-weight: 500;
    font-size: 0.8rem;
    padding: 0.4em 0.8em;
}

/* ---- Slider ---- */
.dlh-slider-section {
    position: relative;
}

.dlh-slider-frame {
    position: relative;
    height: 480px;
    overflow: hidden;
}

.dlh-slider-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dlh-slider-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8, 68, 34, 0.75) 0%, rgba(8, 68, 34, 0.35) 50%, transparent 100%);
}

.dlh-slider-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0 0 3.5rem;
    text-align: left;
}

.dlh-slider-label {
    display: inline-block;
    background: var(--dlh-accent);
    color: var(--dlh-white);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.3rem 0.75rem;
    border-radius: 2rem;
    margin-bottom: 0.75rem;
}

.dlh-slider-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--dlh-white);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
    margin-bottom: 0.5rem;
}

.dlh-slider-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
}

.dlh-carousel-indicators {
    margin-bottom: 1.5rem;
}

.dlh-carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--dlh-white);
    background: transparent;
    opacity: 0.7;
}

.dlh-carousel-indicators button.active {
    background: var(--dlh-white);
    opacity: 1;
}

.dlh-carousel-control {
    width: 5%;
}

.dlh-carousel-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    color: var(--dlh-white);
    font-size: 1.25rem;
    backdrop-filter: blur(4px);
    transition: var(--dlh-transition);
}

.dlh-carousel-control:hover .dlh-carousel-btn {
    background: var(--dlh-primary);
    border-color: var(--dlh-primary);
}

/* ---- Quick Links ---- */
.dlh-quick-links-section {
    padding: 2.5rem 0;
    margin-top: -2rem;
    position: relative;
    z-index: 2;
}

.dlh-quick-card {
    display: block;
    background: var(--dlh-white);
    border-radius: var(--dlh-radius-lg);
    padding: 1.75rem 1.25rem;
    text-align: center;
    box-shadow: var(--dlh-shadow);
    border: 1px solid rgba(26, 122, 66, 0.08);
    height: 100%;
    transition: var(--dlh-transition);
}

.dlh-quick-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--dlh-shadow-lg);
    border-color: var(--dlh-primary);
}

.dlh-quick-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--dlh-primary-light), var(--dlh-primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--dlh-white);
}

.dlh-quick-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dlh-primary-dark);
    margin-bottom: 0.35rem;
}

.dlh-quick-desc {
    font-size: 0.8rem;
    color: var(--dlh-muted);
    margin-bottom: 0;
    line-height: 1.4;
}

/* ---- Program Cards ---- */
.dlh-program-section {
    padding: 3.5rem 0;
}

.dlh-program-card {
    display: block;
    background: var(--dlh-white);
    border-radius: var(--dlh-radius-lg);
    padding: 1.75rem;
    height: 100%;
    border: 1px solid rgba(26, 122, 66, 0.1);
    transition: var(--dlh-transition);
}

.dlh-program-card:hover {
    box-shadow: var(--dlh-shadow-lg);
    border-color: var(--dlh-primary);
    transform: translateY(-4px);
}

.dlh-program-icon {
    width: 52px;
    height: 52px;
    background: var(--dlh-light-alt);
    border-radius: var(--dlh-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--dlh-primary);
    margin-bottom: 1rem;
}

.dlh-program-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dlh-primary-dark);
    margin-bottom: 0.5rem;
}

.dlh-program-desc {
    font-size: 0.85rem;
    color: var(--dlh-muted);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.dlh-program-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dlh-primary);
}

/* ---- Stats ---- */
.dlh-stats-section {
    background: linear-gradient(135deg, var(--dlh-primary-dark) 0%, var(--dlh-primary) 100%);
    padding: 0;
}

.dlh-stats-row {
    border-radius: 0;
}

.dlh-stat-item {
    text-align: center;
    padding: 2.5rem 1rem;
    color: var(--dlh-white);
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.dlh-stats-row .col-6:last-child .dlh-stat-item,
.dlh-stats-row .col-lg-3:last-child .dlh-stat-item {
    border-right: none;
}

.dlh-stat-icon {
    font-size: 2rem;
    opacity: 0.85;
    margin-bottom: 0.5rem;
    display: block;
}

.dlh-stat-value {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
}

.dlh-stat-label {
    font-size: 0.85rem;
    opacity: 0.85;
    margin-top: 0.25rem;
}

/* ---- Profile ---- */
.dlh-profile-section {
    padding: 3rem 0;
}

.dlh-profile-card {
    background: var(--dlh-white);
    border-radius: var(--dlh-radius-lg);
    padding: 2rem;
    border-left: 4px solid var(--dlh-primary);
    box-shadow: var(--dlh-shadow);
}

.dlh-profile-photo-frame {
    --dlh-photo-w: 200px;
    --dlh-photo-h: 240px;
    --dlh-photo-radius: 28px;
    --dlh-photo-pad: 8px;

    display: inline-block;
    width: calc(var(--dlh-photo-w) + (var(--dlh-photo-pad) * 2));
    height: calc(var(--dlh-photo-h) + (var(--dlh-photo-pad) * 2));
    margin: 0;
    padding: var(--dlh-photo-pad);
    border-radius: calc(var(--dlh-photo-radius) + var(--dlh-photo-pad));
    background: linear-gradient(145deg, var(--dlh-primary) 0%, var(--dlh-accent-light) 100%);
    box-shadow: 0 12px 32px rgba(27, 94, 55, 0.22);
    line-height: 0;
    overflow: hidden;
    isolation: isolate;
}

.dlh-profile-photo {
    width: var(--dlh-photo-w);
    height: var(--dlh-photo-h);
    max-width: none;
    object-fit: cover;
    object-position: top center;
    display: block;
    border: 0;
    border-radius: var(--dlh-photo-radius);
    clip-path: inset(0 round var(--dlh-photo-radius));
    -webkit-clip-path: inset(0 round var(--dlh-photo-radius));
    transform: translateZ(0);
}

.dlh-profile-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dlh-primary-dark);
}

.dlh-profile-role {
    font-size: 0.9rem;
    color: var(--dlh-primary);
    font-weight: 500;
}

.dlh-profile-text {
    font-size: 0.95rem;
    color: var(--dlh-muted);
    line-height: 1.8;
}

/* ---- News & Announcement ---- */
.dlh-news-announce-section {
    padding: 3.5rem 0;
}

.dlh-announce-box {
    background: var(--dlh-white);
    border-radius: var(--dlh-radius-lg);
    border: 1px solid rgba(26, 122, 66, 0.15);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--dlh-shadow);
}

.dlh-announce-header {
    background: linear-gradient(135deg, var(--dlh-primary-dark), var(--dlh-primary));
    color: var(--dlh-white);
    padding: 1.25rem 1.5rem;
}

.dlh-announce-title {
    font-size: 1.15rem;
    font-weight: 700;
}

.dlh-announce-subtitle {
    font-size: 0.8rem;
    opacity: 0.85;
}

.dlh-announce-list {
    flex: 1;
    padding: 0.5rem 0;
    max-height: 520px;
    overflow-y: auto;
}

.dlh-announce-item {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #f0f0f0;
    transition: var(--dlh-transition);
}

.dlh-announce-item:hover {
    background: var(--dlh-light);
}

.dlh-announce-item:last-child {
    border-bottom: none;
}

.dlh-announce-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--dlh-primary);
    background: var(--dlh-light-alt);
    padding: 0.15rem 0.5rem;
    border-radius: 2rem;
    margin-bottom: 0.35rem;
}

.dlh-announce-item-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    line-height: 1.4;
}

.dlh-announce-item-title a {
    color: var(--dlh-dark);
    text-decoration: none;
}

.dlh-announce-item-title a:hover {
    color: var(--dlh-primary);
}

.dlh-announce-date {
    font-size: 0.75rem;
    color: var(--dlh-muted);
}

.dlh-announce-more {
    display: block;
    text-align: center;
    padding: 0.85rem;
    background: var(--dlh-light);
    color: var(--dlh-primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    border-top: 1px solid rgba(26, 122, 66, 0.1);
    transition: var(--dlh-transition);
}

.dlh-announce-more:hover {
    background: var(--dlh-primary);
    color: var(--dlh-white);
}

/* ---- Sections ---- */
.dlh-main {
    min-height: 50vh;
}

.dlh-section {
    padding: 3.5rem 0;
}

.dlh-section-title {
    color: var(--dlh-primary-dark);
    font-weight: 700;
    font-size: 1.75rem;
}

.dlh-page-header {
    background: linear-gradient(135deg, var(--dlh-primary-dark), var(--dlh-primary));
    color: var(--dlh-white);
    padding: 3rem 0 2.5rem;
}

.dlh-page-title {
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.dlh-page-subtitle {
    opacity: 0.9;
    margin-bottom: 0;
}

.dlh-breadcrumb {
    --bs-breadcrumb-divider-color: rgba(255, 255, 255, 0.6);
}

.dlh-breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

.dlh-breadcrumb .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.7);
}

/* ---- News Cards ---- */
.dlh-news-card {
    transition: transform var(--dlh-transition), box-shadow var(--dlh-transition);
    border-radius: var(--dlh-radius-lg) !important;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
}

.dlh-news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--dlh-shadow-lg) !important;
}

.dlh-news-img {
    height: 180px;
    object-fit: cover;
    transition: transform var(--dlh-transition);
}

.dlh-news-card:hover .dlh-news-img {
    transform: scale(1.04);
}

.dlh-news-img-placeholder {
    height: 180px;
    background: var(--dlh-light);
}

.dlh-news-img-link {
    overflow: hidden;
    display: block;
}

/* ---- Gallery ---- */
.dlh-gallery-section {
    padding: 3.5rem 0;
}

.dlh-gallery-item {
    aspect-ratio: 4 / 3;
    border-radius: var(--dlh-radius);
    overflow: hidden;
}

.dlh-gallery-img {
    height: 100%;
    object-fit: cover;
    transition: transform var(--dlh-transition);
}

.dlh-gallery-placeholder {
    height: 100%;
    min-height: 160px;
    background: var(--dlh-primary);
}

.dlh-gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 92, 46, 0.85), transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1rem;
    opacity: 0;
    transition: opacity var(--dlh-transition);
}

.dlh-gallery-item:hover .dlh-gallery-overlay {
    opacity: 1;
}

.dlh-gallery-item:hover .dlh-gallery-img {
    transform: scale(1.05);
}

.dlh-gallery-title {
    color: var(--dlh-white);
    font-size: 0.875rem;
    font-weight: 600;
}

.dlh-gallery-zoom,
.dlh-gallery-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: var(--dlh-white);
    opacity: 0.9;
}

/* ---- Documents ---- */
.dlh-doc-card {
    border-radius: var(--dlh-radius-lg) !important;
    transition: transform var(--dlh-transition), box-shadow var(--dlh-transition);
}

.dlh-doc-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--dlh-shadow) !important;
}

.dlh-doc-icon {
    width: 56px;
    height: 56px;
    background: var(--dlh-light);
    border-radius: var(--dlh-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--dlh-primary);
}

/* ---- Article / Page Content ---- */
.dlh-content-shell {
    width: 100%;
}

.dlh-page-content-section,
.dlh-article-section {
    padding-top: 2.5rem;
    padding-bottom: 3rem;
}

.dlh-page-content.card {
    border-radius: var(--dlh-radius-lg);
    overflow: hidden;
    padding: 0;
}

.dlh-article-body {
    padding: 2rem 2.25rem;
}

.dlh-article-featured img {
    display: block;
    max-height: 480px;
    object-fit: cover;
}

.dlh-article-meta {
    margin-top: 0.75rem;
    font-size: 0.95rem;
    opacity: 0.92;
}

.dlh-article-content,
.dlh-page-content {
    font-size: 1.0625rem;
    line-height: 1.85;
    color: var(--dlh-dark);
}

.dlh-article-content > *:first-child,
.dlh-page-content > *:first-child {
    margin-top: 0;
}

.dlh-article-content > *:last-child,
.dlh-page-content > *:last-child {
    margin-bottom: 0;
}

.dlh-article-content img,
.dlh-page-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--dlh-radius);
}

@media (min-width: 992px) {
    .dlh-article-body {
        padding: 2.5rem 3rem;
    }
}

@media (max-width: 575.98px) {
    .dlh-article-body {
        padding: 1.25rem 1rem;
    }

    .dlh-article-featured img {
        max-height: 240px;
    }
}

/* ---- Footer ---- */
.dlh-footer {
    background: var(--dlh-dark);
    color: rgba(255, 255, 255, 0.85);
    margin-top: auto;
}

.dlh-footer-title {
    color: var(--dlh-white);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.dlh-footer-tagline {
    color: var(--dlh-accent-light);
    font-size: 0.9rem;
}

.dlh-contact-list li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.dlh-footer-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

.dlh-footer-link:hover {
    color: var(--dlh-accent-light);
}

.dlh-footer a {
    color: rgba(255, 255, 255, 0.75);
}

.dlh-footer a:hover {
    color: var(--dlh-accent-light);
}

.dlh-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--dlh-white);
    text-decoration: none;
    margin-right: 0.5rem;
    transition: var(--dlh-transition);
}

.dlh-social-btn:hover {
    background: var(--dlh-primary);
    color: var(--dlh-white);
}

.dlh-maps-embed iframe {
    width: 100%;
    min-height: 200px;
    border: 0;
}

.dlh-footer-bottom {
    background: rgba(0, 0, 0, 0.25);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

/* ---- Back to Top ---- */
.dlh-back-to-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    background: var(--dlh-primary);
    color: var(--dlh-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: var(--dlh-shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--dlh-transition);
    z-index: 1020;
}

.dlh-back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.dlh-back-to-top:hover {
    background: var(--dlh-primary-dark);
    color: var(--dlh-white);
    transform: translateY(-3px);
}

/* ---- Pagination ---- */
.pagination .page-item.active .page-link {
    background-color: var(--dlh-primary);
    border-color: var(--dlh-primary);
}

.pagination .page-link {
    color: var(--dlh-primary);
}

/* ---- Responsive ---- */
@media (max-width: 991.98px) {
    .dlh-brand-title {
        font-size: 1.1rem;
    }

    .dlh-brand-logo {
        height: 56px;
    }

    .dlh-main-nav .dlh-nav-link {
        padding: 0.75rem 1rem !important;
        border-bottom: none;
        border-left: 3px solid transparent;
    }

    .dlh-main-nav .dlh-nav-link:hover {
        border-left-color: var(--dlh-accent-light);
    }

    .dlh-quick-links-section {
        margin-top: 0;
        padding-top: 2rem;
    }
}

@media (max-width: 767.98px) {
    .dlh-slider-frame {
        height: 320px;
    }

    .dlh-slider-title {
        font-size: 1.5rem;
    }

    .dlh-slider-subtitle {
        font-size: 0.9rem;
    }

    .dlh-section {
        padding: 2.5rem 0;
    }

    .dlh-stat-item {
        padding: 1.5rem 0.75rem;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

    .dlh-stats-row .col-6:nth-child(odd) .dlh-stat-item {
        border-right: 1px solid rgba(255, 255, 255, 0.15);
    }

    .dlh-profile-photo-frame {
        --dlh-photo-w: 168px;
        --dlh-photo-h: 200px;
        --dlh-photo-radius: 24px;
        --dlh-photo-pad: 7px;
    }
}

/* ---- 404 Not Found ---- */
.dlh-not-found {
    padding: 3rem 0 4rem;
    background: linear-gradient(180deg, var(--dlh-light) 0%, var(--dlh-white) 45%);
}

.dlh-not-found-card {
    padding: 2.5rem 2rem 2rem;
    border-radius: var(--dlh-radius-lg);
    text-align: center;
}

.dlh-not-found-visual {
    position: relative;
    margin-bottom: 1.25rem;
}

.dlh-not-found-code {
    display: block;
    font-size: clamp(4rem, 12vw, 6.5rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    color: rgba(26, 122, 66, 0.12);
}

.dlh-not-found-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -35%);
    font-size: 3rem;
    color: var(--dlh-primary);
}

.dlh-not-found-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--dlh-dark);
    margin-bottom: 0.75rem;
}

.dlh-not-found-desc {
    max-width: 520px;
    margin: 0 auto 1.25rem;
}

.dlh-not-found-path {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.dlh-not-found-path code {
    display: inline-block;
    margin-top: 0.35rem;
    padding: 0.35rem 0.65rem;
    background: var(--dlh-light);
    border: 1px solid rgba(26, 122, 66, 0.15);
    border-radius: 0.35rem;
    color: var(--dlh-primary-dark);
    word-break: break-all;
}

.dlh-not-found-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 1.75rem;
}

.dlh-not-found-search {
    max-width: 480px;
    margin: 0 auto 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(26, 122, 66, 0.1);
}

.dlh-not-found-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem 0.75rem;
    font-size: 0.95rem;
}

.dlh-not-found-links a {
    color: var(--dlh-primary);
    text-decoration: none;
    font-weight: 500;
}

.dlh-not-found-links a:hover {
    color: var(--dlh-primary-dark);
    text-decoration: underline;
}

.dlh-not-found-links span {
    color: var(--dlh-muted);
}

@media (max-width: 575.98px) {
    .dlh-not-found {
        padding: 2rem 0 3rem;
    }

    .dlh-not-found-card {
        padding: 2rem 1.25rem 1.5rem;
    }

    .dlh-not-found-actions .btn-lg {
        width: 100%;
    }
}
