/* ACCESSIBILITY HELPERS AND DIRECTORY INTRODUCTION */
.daftar-page .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    clip-path: inset(50%);
}

.daftar-heading-box {
    position: relative;
    overflow: hidden;
    margin: 4px 0 20px;
    padding: 15px 21px;
    border: 1px solid #f2e2dc;
    border-radius: 11px;
    background: linear-gradient(115deg, #fff 4%, #fff8f4 62%, #ffe9df 100%);
    box-shadow: 0 4px 16px rgba(24, 35, 55, 0.045);
}

.daftar-heading-box::before {
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    border-radius: 11px 0 0 11px;
    background: linear-gradient(180deg, #ff8a4c, #ee4d2d);
    content: "";
}

.daftar-heading-box .marketplace-eyebrow {
    padding: 5px 9px;
    border-radius: 999px;
    background: #fff0eb;
    color: #ed4c2b;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.2;
    text-transform: capitalize;
}

.daftar-heading-box h1 {
    margin: 0 0 8px;
    color: #252a34;
    font-size: clamp(19px, 2.2vw, 24px);
    font-weight: 750;
    letter-spacing: -0.025em;
    line-height: 1.25;
}

.daftar-heading-box>p:last-child {
    display: none;
}

/* DIRECTORY NOTICE, ARTICLE, AND REVIEW SECTIONS */
.daftar-notice-section {
    margin: 36px 0 28px;
}

.daftar-content-section {
    margin-top: 30px;
}

.daftar-content-section .marketplace-section-heading {
    margin-bottom: 15px;
}

.daftar-article-copy {
    box-sizing: border-box;
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 19px 22px 19px 24px;
    border: 1px solid #f3c4b4;
    border-left: 3px solid #f4512b;
    border-radius: 9px;
    background: linear-gradient(110deg, #fff 0%, #fffaf7 100%);
    color: #596273;
    font-size: 14px;
    line-height: 1.85;
    overflow-wrap: anywhere;
    box-shadow: 0 4px 14px rgba(28, 39, 56, 0.045);
}

.daftar-article-copy p {
    margin: 0;
}

.daftar-article-copy p+p {
    margin-top: 16px;
}

.daftar-content-section .home-testimonial-grid {
    align-items: stretch;
}

.daftar-testimonial-card {
    display: flex;
    min-height: 155px;
    flex-direction: column;
    align-items: flex-start;
}

.daftar-testimonial-card blockquote {
    flex: 1 1 auto;
}

.daftar-content-section .daftar-review-rating {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.daftar-review-stars {
    display: block;
    color: #f28a22;
    font-size: 15px;
    letter-spacing: 1px;
    line-height: 1.2;
}

.daftar-review-profile {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 11px;
}

.daftar-review-person {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.daftar-review-person h3 {
    margin: 0;
    color: #252a34;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
}

.daftar-review-rating {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.daftar-review-avatar {
    display: grid;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    place-items: center;
    border: 1px solid #ffd7c8;
    border-radius: 50%;
    background: linear-gradient(145deg, #fff0e9, #ffd8c9);
    color: #df492b;
    font-size: 12px;
    font-weight: 800;
}

.daftar-review-profile strong {
    overflow: hidden;
    color: #252a34;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.daftar-review-score {
    margin: 0;
    color: #697386;
    font-size: 11px;
    white-space: nowrap;
}

/* WEBSITE DIRECTORY AND CATEGORY NAVIGATION */
.landing-category-heading {
    margin: 8px 0 20px;
    padding: 17px 20px;
    border: 1px solid #f2e2dc;
    border-radius: 11px;
    background: linear-gradient(115deg, #fff 4%, #fff8f4 62%, #ffe9df 100%);
    box-shadow: 0 4px 16px rgba(24, 35, 55, 0.045);
}

.landing-category-heading h1 {
    margin: 5px 0 8px;
    color: #252a34;
    font-size: clamp(25px, 3.2vw, 36px);
    line-height: 1.2;
}

.landing-category-heading>p:last-child {
    display: none;
}

.daftar-category-empty {
    margin: 18px 0;
    color: #758093;
    font-size: 13px;
    text-align: center;
}

.daftar-category-empty[hidden] {
    display: none;
}

.landing-page .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.category-directory-section {
    margin-top: 18px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.category-directory-section.category-directory-listing {
    margin-top: 0;
}

.category-directory-count {
    display: flex;
    justify-content: flex-end;
    margin: 0 0 12px;
    color: #697386;
    font-size: 12px;
}

.category-site-tile[hidden] {
    display: none !important;
}

.category-site-favicon {
    padding: 1px;
    background: #000;
}

.category-site-favicon img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 6px;
    object-fit: contain;
}

.category-site-favicon-fallback {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    border-radius: 6px;
    background: linear-gradient(145deg, #ff6842, #d93324);
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.02em;
}

.category-directory-empty {
    margin: 8px 0 0;
    padding: 18px 10px;
    border: 1px dashed #dfe3ea;
    border-radius: 8px;
    color: #758093;
    font-size: 12px;
    text-align: center;
}

.category-directory-empty[hidden] {
    display: none;
}

.category-switch-section {
    margin: 22px 0 30px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.category-switch-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border: 1px solid #ffe0d5;
    border-radius: 999px;
    background: #fff2ed;
    color: #ed4c2b;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.02em;
}

.category-switch-list {
    display: flex;
    flex-wrap: wrap;
    margin-top: 13px;
    gap: 8px;
}

.category-switch-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    gap: 7px;
    padding: 5px 10px;
    border: 1px solid #dfe3ea;
    border-radius: 8px;
    background: #fff;
    color: #465064;
    font: inherit;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.25;
    cursor: pointer;
    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        background 0.18s ease,
        color 0.18s ease,
        box-shadow 0.18s ease;
}

.category-switch-tab[hidden] {
    display: none !important;
}

.category-switch-tab:hover {
    transform: translateY(-1px);
    border-color: #f0a28e;
    color: #d84224;
}

.category-switch-tab span {
    display: grid;
    min-width: 19px;
    height: 19px;
    place-items: center;
    padding: 0 4px;
    border-radius: 99px;
    background: #f1f3f6;
    color: #758093;
    font-size: 10px;
}

.category-switch-tab.is-active {
    border-color: #ee4d2d;
    background: linear-gradient(135deg, #f45a35, #ed402d);
    color: #fff;
    box-shadow: 0 5px 12px rgba(238, 77, 45, 0.2);
}

.category-switch-tab.is-active span {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.category-switch-tab.category-all-tab {
    text-decoration: none;
}

.category-switch-tab.category-all-tab:hover {
    border-color: #ee4d2d;
    color: #d84224;
}

/* RESPONSIVE DIRECTORY LAYOUT */
@media (max-width: 700px) {
    .daftar-heading-box {
        margin: 2px 0 16px;
        padding: 12px 13px 13px 16px;
        border-radius: 10px;
    }

    .daftar-heading-box::before {
        width: 3px;
        border-radius: 10px 0 0 10px;
    }

    .daftar-heading-box .marketplace-eyebrow {
        font-size: 10px;
    }

    .daftar-heading-box h1 {
        margin-bottom: 6px;
        font-size: clamp(17px, 5vw, 19px);
        line-height: 1.3;
    }

    .daftar-heading-box>p:last-child {
        font-size: 12px;
        line-height: 1.6;
    }

    .daftar-notice-section {
        margin-top: 22px;
    }

    .daftar-content-section {
        margin-top: 25px;
    }

    .daftar-content-section .marketplace-section-heading {
        margin-bottom: 12px;
    }

    .daftar-article-copy {
        width: 100%;
        max-width: 100%;
        padding: 11px 12px 11px 14px;
        border-radius: 8px;
        font-size: 12px;
        line-height: 1.55;
    }

    .daftar-article-copy p+p {
        margin-top: 7px;
    }

    .daftar-testimonial-card {
        min-height: 0;
    }

    .landing-category-heading {
        margin: 7px 0 16px;
        padding: 13px 14px;
        border-radius: 10px;
    }

    .category-directory-section {
        margin-top: 14px;
        padding: 0;
    }

    .category-switch-section {
        margin: 17px 0 22px;
        padding: 0;
    }

    .category-switch-eyebrow {
        padding: 5px 9px;
        font-size: 10px;
    }

    .category-switch-list {
        margin-top: 10px;
        gap: 7px;
    }

    .category-switch-tab {
        min-height: 31px;
        gap: 5px;
        padding: 5px 8px;
        border-radius: 7px;
        font-size: 10px;
    }

    .category-switch-tab span {
        min-width: 17px;
        height: 17px;
        font-size: 9px;
    }
}

