.elementor-4825 .elementor-element.elementor-element-691108c{--display:flex;}/* Start custom CSS for shortcode, class: .elementor-element-f4593ff *//* --- Wrapper for the Sitemap --- */
.custom-sitemap-style {
    padding: 20px 0;
}

/* --- Style the Main Headings (Pages, Categories, Posts) --- */
.custom-sitemap-style h2, 
.custom-sitemap-style h3 {
    color: #2c3e50;
    font-size: 24px;
    border-bottom: 2px solid #0073aa; /* Change #0073aa to your brand color */
    padding-bottom: 10px;
    margin-top: 40px;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Create a Responsive Grid for the Lists --- */
.custom-sitemap-style ul {
    list-style-type: none !important;
    padding-left: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Creates equal responsive columns */
    gap: 20px;
}

/* --- Style the Individual Links as Cards --- */
.custom-sitemap-style ul li {
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 15px 20px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    display: flex;
    align-items: flex-start;
    flex-direction: column;
}

/* --- Add a modern arrow icon before the text --- */
.custom-sitemap-style ul li > a::before {
    content: "\2192"; /* Unicode for Right Arrow */
    color: #0073aa; /* Change to your brand color */
    margin-right: 10px;
    font-weight: bold;
    display: inline-block;
    transition: transform 0.3s ease;
}

/* --- Link Styling --- */
.custom-sitemap-style ul li a {
    text-decoration: none !important;
    color: #444;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
    width: 100%;
}

/* --- Beautiful Hover Effects --- */
.custom-sitemap-style ul li:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    border-color: #0073aa; /* Change to your brand color */
}

.custom-sitemap-style ul li a:hover {
    color: #0073aa; /* Change to your brand color */
}

.custom-sitemap-style ul li:hover > a::before {
    transform: translateX(5px); /* Arrow moves slightly on hover */
}

/* --- Handling Nested Lists (Sub-pages or Sub-categories) --- */
.custom-sitemap-style ul li ul {
    display: block; /* Turns off grid for nested items inside the card */
    margin-top: 15px;
    padding-left: 15px;
    border-left: 2px dashed #ddd;
    width: 100%;
}

.custom-sitemap-style ul li ul li {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 8px 0;
    border-radius: 0;
}

.custom-sitemap-style ul li ul li:hover {
    transform: none; /* Stops the inner items from floating */
    box-shadow: none;
}/* End custom CSS */