.dkld-directory {
    padding-top: 30px;
    padding-bottom: 60px;
}

.dkld-directory-hero {
    padding: 48px 32px;
    margin: 24px 0 36px;
    border-radius: 20px;
    background: linear-gradient(135deg, #103b62, #087a91);
    color: #fff;
}

.dkld-directory-hero h1 {
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.2;
    margin: 12px 0 16px;
    color: #fff;
}

.dkld-directory-hero p {
    max-width: 720px;
    margin-bottom: 24px;
}

.dkld-directory-hero label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
}

#dkld-center-search {
    display: block;
    width: 100%;
    max-width: 720px;
    padding: 16px 18px;
    border: 1px solid #dce5ed;
    border-radius: 12px;
    background: #fff;
    color: #172b4d;
    font-size: 16px;
}

.dkld-center-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin: 28px 0 36px;
}

.dkld-center-card {
    padding: 24px;
    background: #fff;
    border: 1px solid #e3e9ef;
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(16, 59, 98, .05);
}

.dkld-center-card[hidden],
#dkld-no-results[hidden] {
    display: none !important;
}

.dkld-center-code {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 8px;
    background: #e8f5f7;
    color: #087a91;
    font-size: 13px;
    font-weight: 700;
}

.dkld-center-card h3 {
    margin: 16px 0;
    font-size: 20px;
    line-height: 1.4;
}

.dkld-center-card h3 a {
    color: #103b62;
    text-decoration: none;
}

.dkld-center-card p {
    color: #526273;
    line-height: 1.65;
}

.dkld-center-link {
    display: inline-block;
    margin-top: 12px;
    font-weight: 700;
    color: #087a91;
}

.dkld-directory-help {
    padding: 28px;
    background: #f1f7fa;
    border-radius: 16px;
}

.dkld-directory-note {
    margin-top: 24px;
    color: #64748b;
    font-size: 14px;
}

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

@media (max-width: 600px) {
    .dkld-directory-hero {
        padding: 28px 20px;
    }

    .dkld-center-grid {
        grid-template-columns: 1fr;
    }

    .dkld-center-card {
        padding: 20px;
    }
}


/* DKLD DIRECTORY WIDTH FIX */
body.page-id-93.dkld-detail-page .container {
    width: calc(100% - 48px);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
}

body.page-id-93 .dkld-center-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

@media (max-width: 900px) {
    body.page-id-93 .dkld-center-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    body.page-id-93.dkld-detail-page .container {
        width: calc(100% - 32px);
    }

    body.page-id-93 .dkld-center-grid {
        grid-template-columns: 1fr;
    }
}
