/* Sitemap Page Styles */

/* Sitemap Container */
.ems-sitemap {
    padding: 60px 0 80px;
    background-color: var(--purple-050);
    min-height: 60vh;
}

.ems-sitemap__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.ems-sitemap__title {
    font-size: 36px;
    font-weight: 600;
    color: #111928;
    margin-bottom: 12px;
}

.ems-sitemap__subtitle {
    font-size: 16px;
    color: #6b7280;
    max-width: 600px;
    margin: 10px auto!Important;
}

/* Search Box */
.ems-sitemap__search {
    max-width: 50%;
    margin: 0px 0px;
    position: relative;
}

.ems-sitemap__search-input {
    width: 100%;
    height: 48px;
    padding: 12px 20px 12px 48px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
    background-color: #fff;
    transition: all 0.3s ease;
}

.ems-sitemap__search-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.ems-sitemap__search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
}

/* Sitemap Grid */
.ems-sitemap__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

@media (max-width: 1199px) {
    .ems-sitemap__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .ems-sitemap__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 575px) {
    .ems-sitemap__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ems-sitemap {
        padding: 40px 0 60px;
    }

    .ems-sitemap__title {
        font-size: 28px;
    }
}

/* Sitemap Section */
.ems-sitemap__section {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.ems-sitemap__section:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.ems-sitemap__section-title {
    font-size: 16px;
    font-weight: 600;
    color: #111928;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #3b82f6;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ems-sitemap__section-title svg {
    width: 20px;
    height: 20px;
    color: #3b82f6;
}

.ems-sitemap__section-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eff6ff;
    border-radius: 6px;
    color: #3b82f6;
}

/* Sitemap Links */
.ems-sitemap__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ems-sitemap__item {
    margin-bottom: 8px;
}

.ems-sitemap__item:last-child {
    margin-bottom: 0;
}

.ems-sitemap__link {
    display: block;
    font-size: 14px;
    color: #4b5563;
    text-decoration: none;
    padding: 6px 0;
    transition: all 0.2s ease;
    position: relative;
    padding-left: 16px;
}

.ems-sitemap__link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: #d1d5db;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.ems-sitemap__link:hover {
    color: #3b82f6;
    padding-left: 20px;
}

.ems-sitemap__link:hover::before {
    background: #3b82f6;
}

/* Highlight for search results */
.ems-sitemap__link.highlight {
    background: #fef3c7;
    border-radius: 4px;
    padding: 6px 8px 6px 20px;
    margin-left: -4px;
}

.ems-sitemap__link mark {
    background: #fbbf24;
    color: #111928;
    padding: 0 2px;
    border-radius: 2px;
}

/* Section with full width for important sections */
.ems-sitemap__section--featured {
    grid-column: span 1;
}

@media (max-width: 575px) {
    .ems-sitemap__section--featured {
        grid-column: span 1;
    }
}

/* No results message */
.ems-sitemap__no-results {
    text-align: center;
    padding: 40px 20px;
    color: #6b7280;
    font-size: 15px;
    display: none;
}

.ems-sitemap__no-results.show {
    display: block;
}

/* Banner Section */
.ems-sitemap-banner {
    background:linear-gradient(180deg, #FFF8F1 0%, #FFFBF8 77.6%, rgba(255, 255, 255, 0) 100%);
    padding: 60px 0;
    margin-top: 80px;
    text-align: center;
    color: var(--bs-body-color);
}

.ems-sitemap-banner__title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
}

.ems-sitemap-banner__subtitle {
    font-size: 1.375rem;
    opacity: 0.9;
    max-width: 70%;
    margin: 10px auto !important;
}

@media (max-width: 767px) {
    .ems-sitemap-banner {
        padding: 40px 0;
    }

    .ems-sitemap-banner__title {
        font-size: 32px;
    }

    .ems-sitemap-banner__subtitle {
        font-size: 16px;
    }
}

/* Breadcrumb */
.ems-sitemap-breadcrumb {
    padding: 16px 0;
    background: #fff;
    border-bottom: 1px solid #dbe1ff;
}

.ems-sitemap-breadcrumb__list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
}

.ems-sitemap-breadcrumb__item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ems-sitemap-breadcrumb__link {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s ease;
}

.ems-sitemap-breadcrumb__link:hover {
    color: #3b82f6;
}

.ems-sitemap-breadcrumb__separator {
    color: #d1d5db;
}

.ems-sitemap-breadcrumb__current {
    color: #111928;
    font-weight: 500;
}
