/* GERAL PARA PÁGINAS INTERNAS */
.page-header {
    background-color: var(--color-primary);
    color: white;
    padding: 4rem 20px;
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

.page-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px 4rem 20px;
}

.page-text {
    font-size: 1.1rem;
    color: var(--color-text);
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 2rem;
}

.page-text h2 {
    color: var(--color-primary);
    font-size: 1.8rem;
    margin: 2rem 0 1rem 0;
}

.page-text ul {
    list-style: none;
    margin: 1.5rem 0;
}

.page-text li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* GALERIA HISTÓRIA */
.img-history {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.img-history img {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    object-fit: cover;
    height: 200px;
    width: 100%;
}

/* ACORDEÕES (Departamentos, Escolas, Conselhos) */
.full-box {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.full-width-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
}

.card-header {
    padding: 1.5rem;
    background: var(--color-surface);
    cursor: pointer;
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--color-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header:hover {
    background-color: var(--color-bg);
}

.card-body {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.card-body.show, .card-body[style*="display: block"] {
    padding: 1.5rem;
    max-height: 2000px;
    border-top: 1px solid var(--color-border);
}

.card-body h2 {
    font-size: 1.1rem;
    color: var(--color-secondary);
    margin: 1rem 0 0.5rem 0;
}

.card-body p {
    color: var(--color-text-light);
    margin-bottom: 1rem;
}

#bold {
    background: var(--color-bg);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--color-secondary);
    margin-bottom: 1rem;
}

.card-map iframe {
    width: 100%;
    height: 300px;
    border: none;
    border-radius: var(--radius-md);
    margin-top: 1rem;
}

/* PROGRAMAS (Cards Expansíveis) */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card-expandable {
    background: var(--color-surface);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
    overflow: hidden;
}

.card-expandable img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    text-align: center;
    cursor: pointer;
    background: var(--color-bg);
    transition: var(--transition);
}

.card-content:hover {
    color: var(--color-secondary);
}

.expandable-content {
    display: none;
    padding: 1.5rem;
    color: var(--color-text-light);
    text-align: justify;
    border-top: 1px solid var(--color-border);
}