/*
Theme Name: Broder Theme
Theme URI: https://seusite.com/
Author: Gabriel
Author URI: https://seusite.com/
Description: Tema leve e otimizado para o Gerador de Artigo Broder.
Version: 1.0
Requires at least: 5.0
Tested up to: 6.5
*/

/* --- Reset Básico e Padrões do Corpo --- */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff; /* Garante que o fundo de todo o site seja branco. */
    margin: 0;
    padding: 0;
}

/* --- Link "Pular para o Conteúdo" (Acessibilidade) --- */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #2271b1;
    color: white;
    padding: 8px;
    z-index: 100000;
}

.skip-link:focus {
    top: 0;
}

/* --- Padrão para texto de leitor de tela (Acessibilidade) --- */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}


/* --- Estrutura e Layout Principal --- */
.site {
    max-width: 1100px; /* Largura máxima do conteúdo */
    margin: 0 auto; /* Centraliza o site na página */
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
}

#site-header, #site-footer {
    text-align: center;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 20px; /* Aumenta o preenchimento vertical para acomodar menus de duas linhas */
    max-width: 1200px;
    margin: 0 auto;
}

#site-header {
    background-color: #fff; /* Garante um fundo branco para o cabeçalho */
    border-bottom: 1px solid #eee;
    margin-bottom: 30px;
}

/* Remove margens do H1/p da logo para um alinhamento limpo */
#site-header h1, #site-header .site-title {
    margin: 0;
}

/* --- Logo do Site --- */
.site-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-icon {
    display: block;
    width: 48px; /* Tamanho aumentado para melhor equilíbrio no cabeçalho mais alto */
    height: 48px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.site-logo-link:hover .logo-icon {
    transform: scale(1.1) rotate(-5deg); /* Adiciona um efeito mais dinâmico */
}

#site-footer {
    margin-top: 40px;
    border-top: 1px solid #eee;
    font-size: 0.9em;
    color: #555; /* Cor escurecida para contraste excelente (WCAG AAA) */
}

.footer-separator {
    margin: 0 10px;
    color: #999; /* Cor escurecida para melhor visibilidade */
}

.tmdb-disclaimer {
    font-size: 0.8em;
    color: #555; /* Cor escurecida para consistência e contraste excelente */
    margin-top: 10px;
}

/* --- Tipografia --- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

.entry-title {
    font-size: 2.5em;
    margin-bottom: 20px;
}

a {
    color: #005177;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* --- Sistema de Notas (Estrelas) --- */
.star-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.star-rating .rating-value {
    font-size: 1.4em;
    font-weight: 700;
    color: #005177;
}

.star-rating .stars-wrapper {
    display: flex;
    align-items: center;
}

.star-rating .star {
    display: inline-block;
    width: 24px;
    height: 24px;
    color: #ffb900; /* Amarelo para estrelas */
}

.star-rating .star-empty {
    color: #ccc;
}

/* O path dentro do SVG herda a cor do elemento pai */
.star-rating .star svg {
    width: 100%;
    height: 100%;
    display: block;
}


/* --- Conteúdo do Artigo --- */
.post-thumbnail img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* --- Seção Principal do Filme (Single) --- */
.movie-main-info {
    display: flex;
    gap: 30px;
    margin-top: 20px;
    margin-bottom: 30px;
}

.movie-main-info .post-thumbnail {
    width: 300px; /* Largura fixa para o pôster */
    flex-shrink: 0;
}

.movie-main-info .post-thumbnail img {
    margin-bottom: 0; /* Remove a margem padrão quando dentro desta seção */
}

.movie-meta-details {
    flex: 1; /* Ocupa o espaço restante */
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* --- Metadados do Filme (Single) --- */
.entry-meta-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.meta-item {
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.meta-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.meta-label {
    display: block;
    font-weight: 600;
    font-size: 0.9em;
    color: #555;
    margin-bottom: 4px;
}

.meta-value {
    font-size: 1em;
    color: #333;
}

.meta-value a {
    text-decoration: underline;
    text-decoration-skip-ink: auto;
}

/* Movemos a seção "Onde Assistir" para cima, então removemos a margem superior dela */
.movie-meta-details .broder-onde-assistir {
    margin-top: 0;
}

.entry-content p, .entry-content ul, .entry-content ol, .entry-content table {
    margin-bottom: 1.5em;
}

/* Garante que links dentro do conteúdo sejam sublinhados para acessibilidade */
.entry-content a,
.comment-content a,
.widget .textwidget a,
.archive-description a,
#site-footer p a {
    text-decoration: underline;
    text-decoration-skip-ink: auto; /* Melhora a legibilidade do sublinhado */
    text-underline-offset: 2px;
}

.entry-content a:hover,
.comment-content a:hover,
.widget .textwidget a:hover,
.archive-description a:hover,
#site-footer p a:hover {
    text-decoration-thickness: 2px; /* Torna o sublinhado um pouco mais grosso no hover */
}

/* --- Estilos para Tabelas no Conteúdo --- */
.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5em;
    font-size: 0.95em;
    border: 1px solid #e0e0e0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.entry-content th,
.entry-content td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.entry-content thead th {
    background-color: #f9f9f9;
    font-weight: 600;
    color: #333;
    border-bottom-width: 2px;
}

.entry-content tbody tr:nth-child(even) {
    background-color: #fdfdfd;
}

.entry-content tbody tr:hover {
    background-color: #f5f5f5;
}

/* --- Responsividade --- */
@media (max-width: 768px) {
    .site {
        padding: 15px;
    }
    .entry-title {
        font-size: 2em;
    }

    .movie-main-info {
        flex-direction: column; /* Empilha as colunas em telas pequenas */
    }

    .movie-main-info .post-thumbnail {
        width: 100%;
        max-width: 300px; /* Limita o tamanho do pôster para não ficar gigante */
        margin-left: auto;
        margin-right: auto;
    }

    /* Torna as tabelas roláveis horizontalmente em telas pequenas */
    .entry-content table {
        display: block;
        overflow-x: auto;
    }
}

/* --- Navegação Principal --- */
.main-navigation {
    display: none; /* Escondido por padrão em mobile */
}

@media (min-width: 769px) {
    .main-navigation {
        display: block; /* Visível em telas grandes */
    }
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap; /* Permite que o menu quebre para a próxima linha se não houver espaço */
    gap: 10px;
}

.main-navigation a {
    display: block;
    padding: 10px 15px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    color: #333;
    border-radius: 4px;
    transition: background-color 0.2s, color 0.2s;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a {
    color: #fff;
    background-color: #005177;
}

.menu-toggle {
    display: none; /* Escondido em telas grandes */
}

/* --- Navegação Responsiva (Mobile) --- */
@media (max-width: 768px) {
    .header-inner {
        flex-wrap: wrap;
        justify-content: center;
    }

    .menu-toggle {
        display: block;
        background: none;
        border: 1px solid #ccc;
        border-radius: 4px;
        padding: 0; /* Remove o padding para controlar o tamanho pelo ícone */
        width: 40px; /* Define uma largura fixa */
        height: 40px; /* Define uma altura fixa */
        cursor: pointer;
        position: absolute;
        top: 35px; /* Ajustado para o novo preenchimento do cabeçalho */
        right: 20px;
    }

    .menu-toggle .icon-menu {
        width: 24px;
        height: 24px;
    }

    .main-navigation.toggled {
        display: block; /* Mostra o menu quando a classe 'toggled' é adicionada */
        width: 100%;
        margin-top: 20px;
        border-top: 1px solid #eee;
        padding-top: 10px;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 0;
        text-align: center;
    }

    /* Em telas móveis, o campo de busca ocupa sua própria linha abaixo da logo. */
    .header-search {
        width: 100%;
        order: 3; /* Garante que a busca venha depois dos outros elementos flex */
        margin-top: 30px; /* Aumenta o espaço entre a logo e a busca em telas móveis */
    }

    .header-search .search-field {
        width: 100%; /* O campo de busca ocupa toda a largura */
        box-sizing: border-box; /* Garante que o padding não quebre o layout */
    }

    .header-search .search-field:focus {
        width: 100%; /* Mantém a largura total no foco, sobrescrevendo o estilo padrão */
    }
}

/* --- Formulário de Busca no Cabeçalho --- */
.header-search {
    display: flex;
    align-items: center;
}

.header-search .search-form {
    position: relative;
}

.header-search .search-field {
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 8px 40px 8px 15px;
    transition: width 0.3s ease, border-color 0.3s ease;
    width: 180px;
    background-color: #f9f9f9;
}

/* Garante contraste suficiente para o placeholder */
.header-search .search-field::placeholder {
    color: #555;
    opacity: 1; /* Firefox precisa disso para sobrescrever o padrão */
}

.header-search .search-field:focus {
    width: 250px;
    border-color: #005177;
    outline: none;
    background-color: #fff;
}

.header-search .search-submit {
    position: absolute;
    top: 50%;
    right: 5px;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    color: #555; /* Cor escurecida para contraste (WCAG AA) */
    line-height: 1;
}
.header-search .search-submit .icon-search {
    width: 20px;
    height: 20px;
    display: block;
}

/* --- Estilos da Grade de Filmes (Home/Archive) --- */
.movie-grid {
    display: grid;
    /* Cria colunas responsivas: elas terão no mínimo 180px, mas se ajustarão para preencher o espaço. */
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 25px; /* Espaço entre os cards */
    margin: 0;
}

/* Layout Hero para a primeira seção da Home */
.movie-grid-hero {
    /* Cria colunas maiores, resultando em menos itens por linha */
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.movie-grid-hero .movie-card-title {
    font-size: 1.2em;
}

@media (max-width: 600px) {
    .movie-grid-hero {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

.movie-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.movie-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.movie-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.movie-card-thumbnail {
    position: relative;
    padding-top: 150%; /* Proporção de pôster (altura = 1.5 * largura) */
    background-color: #eee;
}

.movie-card-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.movie-card-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    padding: 20px 15px 15px;
    font-size: 1em;
    color: #fff;
    text-align: center;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 20%, transparent);
}

/* Ano de lançamento no card do filme */
.movie-card-year {
    font-weight: 400; /* Deixa o ano com peso normal, destacando o título */
    opacity: 0.85;
    font-size: 0.9em;
    margin-left: 4px;
}

/* Nota sobreposta no card */
.movie-card-rating {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.8);
    color: #ffb900; /* Amarelo para combinar com as estrelas */
    font-weight: 700;
    font-size: 0.9em;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid rgba(255, 185, 0, 0.5);
}

/* --- Estilos do Cabeçalho de Arquivo --- */
.archive-header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    text-align: center;
}

.archive-title {
    font-size: 2.2em;
    margin-bottom: 10px;
}

/* --- Página de Busca --- */
.archive-header .archive-title span {
    color: #005177;
}
.no-results {
    text-align: center;
    font-size: 1.2em;
    padding: 40px 20px;
}

/* --- Estilos da Paginação --- */
.pagination {
    clear: both;
    margin-top: 40px;
    text-align: center;
}

.nav-links {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.page-numbers {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #005177;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
}

.page-numbers:hover,
.page-numbers.current {
    background-color: #005177;
    color: #fff;
    border-color: #005177;
}

.page-numbers.dots {
    border: none;
    background: none;
    padding: 8px 0;
}

/* --- Estilos da Página Inicial Estruturada --- */
.home-section {
    margin-bottom: 50px;
}

.home-section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.home-section-title {
    font-size: 1.8em;
    color: #005177;
    margin: 0;
    padding: 0;
    border: none;
}

.home-section-view-all {
    font-size: 0.9em;
    font-weight: 600;
    text-decoration: none;
    flex-shrink: 0;
    margin-left: 15px;
}

/* --- Estilos para a Mensagem de "Nenhum Conteúdo" --- */
.no-content-found {
    text-align: center;
    padding: 60px 20px;
    background-color: #f9f9f9;
    border: 1px dashed #ddd;
    border-radius: 8px;
}

.no-content-found h2 {
    font-size: 2em;
    color: #005177;
    margin-bottom: 15px;
}

.no-content-found p {
    font-size: 1.1em;
    color: #555;
    max-width: 600px;
    margin: 0 auto 15px auto;
}

.no-content-found ol {
    display: inline-block;
    text-align: left;
    margin-top: 20px;
}

/* --- Estilos da Página 404 --- */
.error-404-container {
    text-align: center;
    padding: 80px 20px;
}

.error-404-container .page-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: #d63638; /* Um vermelho para indicar um erro */
}

.error-404-container .page-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

/* Re-estiliza o formulário de busca para o contexto da página 404 */
.error-404-container .search-form {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

.error-404-container .search-field {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border-radius: 30px;
    border: 2px solid #ddd;
    font-size: 1em;
    box-sizing: border-box;
}

.error-404-container .search-field:focus {
    border-color: #005177;
    outline: none;
}

.error-404-container .search-submit {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    color: #555;
}

/* --- Seção de Comentários --- */
.comments-area {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.comments-title,
.comment-reply-title {
    font-size: 1.8em;
    margin-bottom: 30px;
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment-body {
    padding: 20px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    margin-bottom: 20px;
    position: relative;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.comment-author .avatar {
    border-radius: 50%;
}

.comment-author .fn {
    font-weight: bold;
    font-style: normal;
}

.comment-meta {
    font-size: 0.9em;
    color: #555; /* Cor escurecida para contraste (WCAG AA) */
}

.comment-content p:last-child {
    margin-bottom: 0;
}

.reply {
    margin-top: 15px;
}

.reply a {
    font-size: 0.9em;
    font-weight: bold;
    text-decoration: none;
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: background-color 0.2s, color 0.2s;
}

.reply a:hover {
    background-color: #f0f0f0;
    text-decoration: none;
}

.children {
    list-style: none;
    padding-left: 40px;
    margin-top: 20px;
}

/* --- Formulário de Comentários --- */
.comment-form p {
    margin-bottom: 15px;
}

.comment-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    max-width: 100%; /* Impede que o campo ultrapasse a largura do container ao ser redimensionado */
}

.comment-form .form-submit .submit {
    background-color: #005177;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
}

/* --- Botão para Carregar Comentários (Lazy Load) --- */
.load-comments-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px 25px;
    font-size: 1.1em;
    font-weight: bold;
    color: #005177;
    background-color: #f0f2f5;
    border: 2px solid #e0e2e5;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.load-comments-button:hover {
    background-color: #e0e2e5;
    border-color: #d0d2d5;
}

.load-comments-button .comment-count-icon {
    line-height: 1;
}

.load-comments-button.loading {
    cursor: wait;
    color: #555;
    background-color: #f9f9f9;
}

#comments-lazy-load-wrapper {
    margin-top: 40px;
}

/* --- Layout com Barra Lateral --- */
.site-content-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px; /* Aumenta o espaço entre o conteúdo e a sidebar */
}

.main-content-area {
    flex: 1;
    min-width: 0; /* Previne que o conteúdo flexível transborde */
}

.widget-area {
    width: 300px;
    flex-shrink: 0; /* Impede que a sidebar encolha */
}

/* Em telas menores, a sidebar vai para baixo */
@media (max-width: 992px) {
    .widget-area {
        width: 100%;
        margin-top: 40px;
    }
}

/* --- Estilos dos Widgets --- */
.widget {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 8px;
}

.widget-title {
    font-size: 1.5em;
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
}

.widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget ul li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

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

.widget ul li a {
    text-decoration: none;
    font-weight: 500;
}

/* --- Seções do Plugin Broder (Single Post) --- */
.broder-sections {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.broder-section {
    padding: 25px;
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 8px;
}

.broder-section-title {
    font-size: 1.6em;
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
    color: #005177;
}

/* Mitigação de CLS para a seção de ofertas (anúncios) */
.broder-ofertas {
    /* Reserva um espaço vertical mínimo para o banner de anúncio, evitando que o conteúdo abaixo pule quando o anúncio carregar. */
    /* Ajuste este valor para a altura do seu banner. 90px é um padrão para banners leaderboard. */
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Estilos específicos para o trailer para garantir que seja responsivo */
.broder-trailer iframe {
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 9; /* Mantém a proporção de vídeo 16:9 */
    border-radius: 8px;
}

/* --- Seção de Filmes Relacionados (Single) --- */
.related-movies {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.related-movies-title {
    font-size: 1.8em;
    margin-bottom: 25px;
    color: #005177;
}

/* --- Breadcrumbs --- */
.breadcrumbs {
    font-size: 0.9em;
    color: #555;
    background-color: #f9f9f9;
    padding: 10px 15px;
    border-radius: 4px;
    margin-bottom: 30px;
    border: 1px solid #eee;
}

.breadcrumbs a {
    color: #005177;
    text-decoration: underline;
    text-decoration-skip-ink: auto; /* Melhora a legibilidade do sublinhado */
    text-underline-offset: 2px;
}

.breadcrumbs a:hover {
    text-decoration-thickness: 2px; /* Torna o sublinhado um pouco mais grosso no hover */
}

.breadcrumb-separator {
    margin: 0 8px;
    color: #555;
}

/* --- Estilos de Foco para Acessibilidade --- */
:is(a, button, input[type="submit"], input[type="search"], .comment-form input, .comment-form textarea):focus-visible {
    outline: 2px solid #005177;
    outline-offset: 2px;
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #005177;
    border-radius: 2px; /* Adiciona um leve arredondamento para combinar com o box-shadow */
}

/* --- Botão "Voltar ao Topo" --- */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #005177;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
    transform: translateY(20px);
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: #004161; /* Um tom mais escuro no hover */
    transform: scale(1.1);
    text-decoration: none;
}

/* --- Estilos da Página de Sitemap HTML --- */
.sitemap-content h2 {
    font-size: 1.8em;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
    color: #005177;
}

.sitemap-content ul {
    list-style: disc;
    padding-left: 20px; /* Garante o recuo para a bolinha da lista */
}

.sitemap-content ul li {
    margin-bottom: 10px;
}

/* Aplica o layout de duas colunas apenas em telas maiores */
@media (min-width: 600px) {
    .sitemap-content ul {
        column-count: 2;
        column-gap: 40px;
    }
}
