.elementor-28938 .elementor-element.elementor-element-3e2be84{--display:flex;}.elementor-28938 .elementor-element.elementor-element-2a43b6f{--display:flex;}/* Start custom CSS for shortcode, class: .elementor-element-cf89201 *//* Sivukartan pääsäiliö ja sarakkeet */
.custom-sitemap > ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Kolme tasalevyistä saraketta */
    gap: 20px; /* Väli sarakkeiden välillä */
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Mobiilioptimointi: Vaihdetaan yhteen sarakkeeseen pienillä näytöillä */
@media (max-width: 1024px) {
    .custom-sitemap > ul {
        grid-template-columns: repeat(2, 1fr); /* Tableteille kaksi saraketta */
    }
}
@media (max-width: 767px) {
    .custom-sitemap > ul {
        grid-template-columns: 1fr; /* Puhelimille yksi sarake */
    }
}

/* Pääsivujen (Korttien) tyyli */
.custom-sitemap > ul > li {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #eee;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.2s ease;
    height: fit-content; /* Kortti on vain sisällön mittainen */
}

.custom-sitemap > ul > li:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

/* Pääotsikoiden (Parent) tyyli */
.custom-sitemap > ul > li > a {
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
    color: #2c3e50;
    text-transform: uppercase;
    border-bottom: 3px solid #FFD700; /* Lastenkirkon keltainen */
    padding-bottom: 8px;
    margin-bottom: 15px;
    text-decoration: none;
}

/* Alasivujen listat */
.custom-sitemap ul ul {
    list-style: none;
    padding-left: 0;
    margin-top: 10px;
}

/* Alasivujen rivit */
.custom-sitemap ul ul li {
    padding: 6px 0;
    font-size: 0.95rem;
    border-bottom: 1px dotted #eee;
}

.custom-sitemap ul ul li:last-child {
    border-bottom: none;
}

/* Visuaalinen merkki alasivuille */
.custom-sitemap ul ul li::before {
    content: "•";
    color: #FFD700;
    font-weight: bold;
    display: inline-block; 
    width: 1em;
}

.custom-sitemap ul ul a {
    color: #555;
    text-decoration: none;
}

.custom-sitemap ul ul a:hover {
    color: #e67e22;
}/* End custom CSS */
/* Start custom CSS *//* Sivukartan pääsäiliö ja sarakkeet */
.custom-sitemap > ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Kolme tasalevyistä saraketta */
    gap: 20px; /* Väli sarakkeiden välillä */
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Mobiilioptimointi: Vaihdetaan yhteen sarakkeeseen pienillä näytöillä */
@media (max-width: 1024px) {
    .custom-sitemap > ul {
        grid-template-columns: repeat(2, 1fr); /* Tableteille kaksi saraketta */
    }
}
@media (max-width: 767px) {
    .custom-sitemap > ul {
        grid-template-columns: 1fr; /* Puhelimille yksi sarake */
    }
}

/* Pääsivujen (Korttien) tyyli */
.custom-sitemap > ul > li {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #eee;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.2s ease;
    height: fit-content; /* Kortti on vain sisällön mittainen */
}

.custom-sitemap > ul > li:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

/* Pääotsikoiden (Parent) tyyli */
.custom-sitemap > ul > li > a {
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
    color: #2c3e50;
    text-transform: uppercase;
    border-bottom: 3px solid #FFD700; /* Lastenkirkon keltainen */
    padding-bottom: 8px;
    margin-bottom: 15px;
    text-decoration: none;
}

/* Alasivujen listat */
.custom-sitemap ul ul {
    list-style: none;
    padding-left: 0;
    margin-top: 10px;
}

/* Alasivujen rivit */
.custom-sitemap ul ul li {
    padding: 6px 0;
    font-size: 0.95rem;
    border-bottom: 1px dotted #eee;
}

.custom-sitemap ul ul li:last-child {
    border-bottom: none;
}

/* Visuaalinen merkki alasivuille */
.custom-sitemap ul ul li::before {
    content: "•";
    color: #FFD700;
    font-weight: bold;
    display: inline-block; 
    width: 1em;
}

.custom-sitemap ul ul a {
    color: #555;
    text-decoration: none;
}

.custom-sitemap ul ul a:hover {
    color: #e67e22;
}/* End custom CSS */