.escolas-container {
    max-width: 800px;
    margin: 0 auto;
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.noticia-foto {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto 20px auto;
    border-radius: 8px;
}

.noticia-texto {
    font-size: 1rem;
    text-align: justify;
}

/* Box do link de cadastramento */
.cadastro-link-box {
    background-color: #f0f7f0;
    border-left: 4px solid #2e7d32;
    border-radius: 4px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
}

.cadastro-link-box a {
    word-break: break-all;
}

/* Grid de escolas por cidade */
.escolas-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.escola-cidade-bloco {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.cidade-nome {
    background-color: #2e7d32;
    color: #fff;
    margin: 0;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.escola-card {
    padding: 0.75rem 1rem 0.5rem;
    background-color: #fff;
    flex: 1;
}

.escola-card p {
    margin-bottom: 0.35rem;
    font-size: 0.95rem;
}

.escola-nome {
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem !important;
}

/* e-mails e sites longos quebram em qualquer ponto para não alargar a página no celular */
.escola-card p,
.escola-card a {
    overflow-wrap: anywhere;
}

@media (min-width: 640px) {
    .escolas-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

/* Mapa de SC por mesorregião */
.sc-map-wrapper {
    background-color: #f0f7f0;
    border-radius: 8px;
    padding: 0.75rem;
}

.sc-map {
    display: block;
    width: 100%;
    max-width: 640px;
    height: auto;
    margin: 0 auto;
}

.sc-map a {
    text-decoration: none;
    outline: none;
}

.sc-map__region path {
    fill: #8fc79b;
    stroke: #fff;
    stroke-width: 2;
    transition: fill 0.2s;
}

.sc-map__region.empty path {
    fill: #d5e6d8;
}

.sc-map__region:hover path,
.sc-map__region:focus path {
    fill: #d28b39;
}

.sc-map__region.active path {
    fill: #2e7d32;
}

.sc-map__label,
.sc-map__count {
    text-anchor: middle;
    pointer-events: none;
    fill: #0a3622;
    font-family: Arial, sans-serif;
}

.sc-map__label {
    font-size: 14px;
    font-weight: 700;
    paint-order: stroke;
    stroke: rgba(255, 255, 255, 0.6);
    stroke-width: 3px;
}

.sc-map__count {
    font-size: 20px;
    font-weight: 700;
}

.sc-map__region.active .sc-map__label,
.sc-map__region.active .sc-map__count {
    fill: #fff;
}

.sc-map__region.active .sc-map__label {
    stroke: none;
}
