/* Página 5 - CSS extraído de includes/index-5.php + remoção de inline */

/* Cores dos botões - Index 5 (estava com seletor .color-3 no inline) */
.color-5 .navbar-btn {
    background-color: #CBD3D7;
}

.color-5 .navbar-btn:hover {
    background-color: #FFCC00;
}

/* Sidebar: quadro branco */
.color-5 .sidebar-header {
    background-color: #C8D7E3;
    padding: 15px;
    margin-bottom: 15px;
}

.color-5 .sidebar-header .city-info-card {
    width: 100%;
    background-color: #FFFFFF;
    padding: 18px;
}

.color-5 .sidebar-header .city-info-section {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 0;
    border: none;
}

.color-5 .sidebar-header .city-info-left {
    flex-shrink: 0;
}

.color-5 .sidebar-header .city-logo-small {
    width: 88px;
    height: 88px;
    background-color: #D9D9D9;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #AFAFAF;
    padding: 0;
}

.color-5 .sidebar-header .city-logo-small .logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    max-width: none;
}

.color-5 .sidebar-header .city-info-center {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.color-5 .sidebar-header .city-name-uf {
    color: #2C2C2C;
    font-size: 16px;
    font-weight: bold;
    margin: 0;
    padding: 0;
    line-height: 1.2;
}

.color-5 .sidebar-header .menu-principal {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.color-5 .sidebar-header .menu-link {
    text-decoration: none;
    color: var(--text-body);
    padding: 2px 0;
    font-size: 13px;
    transition: background-color 0.3s;
    display: block;
}

.color-5 .sidebar-header .menu-link:hover {
    text-decoration: underline;
}

.color-5 .sidebar-header .menu-link.active {
    text-decoration: underline;
}

/* Exibir + (padronizado) */
.color-5 .btn-exibir-mais {
    background-color: #CBD3D7;
    border-color: #CBD3D7;
    color: #FFFFFF;
}

.color-5 .btn-exibir-mais:hover {
    background-color: #FFCC00;
    border-color: #FFCC00;
    color: #FFFFFF;
}

/* components/index-5/assistente-servicos.php (remoção de inline) */
.color-5 .assistente-section {
    margin-top: 0px;
}
.color-5 .assistente-section .assistente-title-text {
    font-size: 20px;
    font-weight: bold;
}

.color-5 .assistente-section .city-name,
.color-5 .assistente-section .city-uf {
    color: #FFFFFF;
}

.color-5 .assistente-section .city-links .city-link {
    color: #FFFFFF;
}

.color-5 .assistente-section .city-logo-small {
    background-color: #D9D9D9;
    border: 1px solid #D9D9D9;
    border-radius: 10px;
    overflow: hidden;
}

.color-5 .assistente-section .city-logo-small .logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: inherit;
    max-width: none;
    max-height: none;
}


.color-5 .main-content {
    background-color: #7a7a7a;
}

.color-5 .city-nav-btn {
    text-decoration: none;
}

.color-5 .city-dropdown-list {
    display: flex;
    flex-direction: column;
}

.color-5 .city-dropdown-link {
    padding: 10px 15px;
    border-bottom: 1px solid #ececec;
    color: #444444;
    text-decoration: none;
    font-size: 13px;
}

.color-5 .city-dropdown-link:hover {
    background: #f7f7f7;
}

.color-5 .ecossistema-guia-dropdown {
    background: #d7e2ec;
    border-top: none;
    border-bottom: none;
}

.color-5 .ecossistema-guia-dropdown.active {
    max-height: none;
    overflow: visible;
    border-top: 1px solid rgba(255, 255, 255, 0.35);
    border-bottom: 1px solid rgba(146, 173, 201, 0.45);
}

.color-5 .ecossistema-guia-dropdown .city-dropdown-list {
    background: transparent;
}

.color-5 .ecossistema-guia-dropdown .city-dropdown-link {
    padding: 10px 16px;
    font-size: 13px;
    color: #30485f;
    border-bottom: 1px solid rgba(146, 173, 201, 0.35);
    background: transparent;
}

.color-5 .ecossistema-guia-dropdown .city-dropdown-link:hover {
    background: rgba(255, 255, 255, 0.55);
}

.color-5 .assistente-placeholder {
    border: none;
    width: calc(100% - 30px);
    height: auto;
    background: transparent;
    margin: 0 15px;
    padding: 0;
    overflow: visible;
    cursor: pointer;
}

.color-5 .assistente-placeholder-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: top center;
    display: block;
    border-radius: 20px;
}

.color-5 .city-info-header .city-name a {
    color: inherit;
    text-decoration: none;
}

.color-5 .city-info-header .city-name a:hover {
    color: inherit;
    text-decoration: none;
}

.color-5 .city-info-header .city-name a:focus,
.color-5 .city-info-header .city-name a:active,
.color-5 .city-info-header .city-name a:visited {
    color: inherit;
    text-decoration: none;
}

.color-5 .city-news-image-btn,
.color-5 .city-place-image-btn {
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.color-5 .city-news-image-btn img {
    width: 85px;
    height: auto;
    object-fit: contain;
    object-position: top center;
    display: block;
}

.color-5 .city-place-image-link {
    width: 85px;
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.color-5 .city-place-image-link img {
    width: 85px;
    height: 85px;
    object-fit: cover;
    display: block;
}

.color-5 .city-news-title a,
.color-5 .city-place-details a {
    color: #003399;
    text-decoration: none;
}

.color-5 .city-news-title a:hover,
.color-5 .city-place-details a:hover {
    text-decoration: underline;
}

.color-5 .city-news-details,
.color-5 .city-place-details {
    color: #333333;
}

.color-5 .city-news-details p,
.color-5 .city-place-details p {
    color: #333333;
}

/* Conteúdo rico vindo do Painel > Index (Desenvolvimento Urbano/Turístico) */
.color-5 .index5-editor-text {
    background: #ffffff;
    border: 1px solid #d6dfe8;
    border-radius: 8px;
    padding: 14px 16px;
    color: #3a4b5c;
    line-height: 1.65;
}

.color-5 .index5-editor-text > .city-section-scrollable > *:first-child {
    margin-top: 0;
}

.color-5 .index5-editor-text > .city-section-scrollable > *:last-child {
    margin-bottom: 0;
}

.color-5 .index5-editor-text p {
    margin: 0 0 12px 0;
    font-size: 13px;
}

.color-5 .index5-editor-text h1,
.color-5 .index5-editor-text h2,
.color-5 .index5-editor-text h3 {
    margin: 0 0 10px 0;
    color: #2e4358;
    line-height: 1.35;
}

.color-5 .index5-editor-text h1 { font-size: 18px; }
.color-5 .index5-editor-text h2 { font-size: 16px; }
.color-5 .index5-editor-text h3 { font-size: 14px; }

.color-5 .index5-editor-text ul,
.color-5 .index5-editor-text ol {
    margin: 0 0 12px 18px;
    padding: 0;
}

.color-5 .index5-editor-text li {
    margin: 0 0 6px 0;
    font-size: 13px;
}

.color-5 .index5-editor-text a {
    color: #003399;
    text-decoration: none;
}

.color-5 .index5-editor-text a:hover {
    text-decoration: underline;
}

.color-5 .index5-editor-text blockquote {
    margin: 0 0 12px 0;
    padding: 10px 12px;
    border-left: 3px solid #92adc9;
    background: #f6f9fc;
    color: #3f5162;
}

/* Dropdown topo do assistente (index 5) */
.color-5 #section-assistente-top-5 {
    max-height: none;
    overflow: visible;
    transition: max-height 0.3s ease;
}

.color-5 #section-assistente-top-5:not(.active) {
    max-height: 0;
    overflow: hidden;
}
