/*
Welcome to Custom CSS!

To learn how this works, see https://wp.me/PEmnE-Bt
*/
/* Change links color to purple | 28929796-hc ja  */
a, a:link, a:visited {
	color: purple;
}

#block-38, #block-39, #block-27 {
	display:none;
}

#menu-item-12313 {
    border: solid 1px #fff;
}

.natural-logo-center #navigation, .natural-logo-center #masthead {
    text-align: center;
    padding: 10px 0;
}

.featured-posts {
    display: inline-block;
    width: 100%;
    margin-bottom: 24px;
    display: none;
}

#custom-header.radius-top {
    background-color: #ffffff;
    padding: 0px;
}

.featured-pages a.button {
	color: #fff;
}

body {
	color: #000;
}

/* Force First Column width on Table | #30674698-hc KEF */
.page-id-2146 table td:first-child {
	width: 180px;
}

/* Impede que as colunas estiquem para acompanhar a maior */
.home-featured-page,
.featured-page-column {
    height: auto !important;
    align-self: flex-start;
}

/* Transforma o container da coluna em Flexbox para alinhar o conteúdo */
.home-featured-page, 
.featured-page-column {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Faz o texto expandir para empurrar o botão para o rodapé */
.home-featured-page p,
.featured-page-column p {
    flex-grow: 1;
}

/* Garante alinhamento do botão */
.home-featured-page .more-link,
.featured-page-column .more-link,
.featured-page-column button {
    margin-top: auto;
}

.home-featured-page img,
.featured-page-column img {
    width: 100%;
    height: 200px; /* Ajuste a altura desejada */
    object-fit: cover; /* Evita que a imagem fique distorcida */
}

.featured-pages .information {
    background: #FFFFFF;
    height: auto;
    padding: 0px;
}

/* Espaçamento e layout da grade */
.wp-block-coblocks-posts .wp-block-coblocks-posts__inner {
    display: flex !important;
    gap: 20px !important;
}

/* Forçar a borda e aparência do card */
.wp-block-coblocks-posts .wp-block-coblocks-posts__item {
    border: 2px solid #ccc !important; /* Borda bem visível */
    border-radius: 8px !important;
    background-color: #ffffff !important;
    padding: 15px !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08) !important;
    box-sizing: border-border-box !important;
}

/* Ajuste da Imagem dentro do Card */
.wp-block-coblocks-posts .wp-block-coblocks-posts__image {
    width: 100% !important;
    height: 180px !important;
    margin-bottom: 12px !important;
}

.wp-block-coblocks-posts .wp-block-coblocks-posts__image a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    background-size: cover !important;
    background-position: center !important;
    border-radius: 4px !important;
}

/* Ajustes de texto interno */
.wp-block-coblocks-posts .wp-block-coblocks-posts__content {
    padding: 0 !important;
}

/* Estilização Geral do Contêiner do Rodapé (Fundo Rosa Claro) */
.footer {
    background-color: #fdf2f8 !important; /* Tom rosa claro suave */
    border-top: 1px solid #fbcfe8 !important; /* Linha de divisão sutil em rosa */
    color: #4a044e !important;
    padding: 50px 20px 30px !important;
    font-family: inherit !important;
}

/* Estrutura de Colunas dos Widgets */
.footer-widgets {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-around !important;
    align-items: flex-start !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    gap: 30px !important;
}

/* Cada Coluna/Widget Individual */
.footer-widgets .widget {
    flex: 1 1 250px !important;
    margin-bottom: 20px !important;
}

/* Ajuste da Logo (Primeira Coluna) */
.footer-widgets #block-20 img {
    max-width: 140px !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
}

/* Títulos dos Widgets (Menu / Social Media) */
.footer-widgets h2, 
.footer-widgets h3,
.footer-widgets .widgettitle {
    color: #701a75 !important; /* Tom magenta/púrpura escuro para destaque */
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    margin-bottom: 15px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

/* Menu de Navegação (Lista e Links) */
.footer-widgets .widget_nav_menu ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-widgets .widget_nav_menu li {
    margin-bottom: 10px !important;
}

.footer-widgets .widget_nav_menu a {
    color: #86198f !important; /* Links em vinho/magenta intermediário */
    text-decoration: none !important;
    font-size: 0.95rem !important;
    transition: color 0.2s ease, padding-left 0.2s ease !important;
    display: inline-block !important;
}

/* Efeito Hover nos links do Menu */
.footer-widgets .widget_nav_menu a:hover {
    color: #c026d3 !important; /* Destaque rosa vibrante ao passar o mouse */
    padding-left: 5px !important;
}

/* Ícones Sociais Lado a Lado */
.footer-widgets #block-17 ul,
.footer-widgets #block-17 .wp-block-social-links {
    display: flex !important;
    gap: 15px !important;
    padding: 0 !important;
    list-style: none !important;
}

.footer-widgets #block-17 svg {
    transition: transform 0.2s ease !important;
}

.footer-widgets #block-17 a:hover svg {
    transform: scale(1.15) !important;
}

.footer-widgets {
    margin: 0px auto 0px;
    padding: 24px;
    overflow: hidden;
    border-bottom: none;
}

/* Transforma o rodapé em uma grade de 3 colunas */
.footer-widgets {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: space-between !important;
  gap: 20px !important;
}

/* Força cada widget individual a ocupar ~1/3 da largura */
.footer-widgets .widget {
  width: calc(33.333% - 14px) !important;
  box-sizing: border-box !important;
  margin-bottom: 20px !important;
}

/* Responsividade: Volta para 1 coluna no celular */
@media (max-width: 768px) {
  .footer-widgets .widget {
    width: 100% !important;
  }
}


/* Responsividade para Celulares */
@media (max-width: 768px) {
    /* Força a centralização do bloco de redes sociais */
#block-33 .wp-block-social-links {
  justify-content: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

#block-33 .footer-widget {
  text-align: center !important;
}
	
	
	.footer-widgets {
        flex-direction: column !important;
        text-align: center !important;
    }
    
    .footer-widgets .widget_nav_menu a:hover {
        padding-left: 0 !important;
    }

    .footer-widgets #block-17 ul {
        justify-content: center !important;
    }
}

.widget-title {
    margin-top: 0px;
    margin-bottom: 12px;
    padding-top: 0px;
    padding-bottom: 0px;
    border-bottom: none;
    text-align: center;
}

/* Reduz o espaçamento entre as linhas do menu */
#menu-footer li {
    margin-bottom: 3px !important; /* Diminui a margem inferior de cada item */
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    line-height: 1.2 !important;    /* Reduz a altura da linha do texto */
}

/* Garante que os links também fiquem compactos */
#menu-footer li a {
    padding-top: 2px !important;
    padding-bottom: 2px !important;
    display: inline-block !important;
}

.footer-information {
    border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
    padding-top: 15px !important;
    margin-top: 20px !important;
}

.footer-content p {
    text-align: center !important;
    font-size: 0.85rem !important;
    color: #64748b !important;
    margin: 0 !important;
}

.footer-content a {
    color: #701a75 !important;
    text-decoration: none !important;
}

.footer-content a:hover {
    text-decoration: underline !important;
}

/* Limpa qualquer conteúdo antigo e insere o novo texto */
.footer-content {
    display: block !important;
    text-align: center !important;
}

.footer-content::after {
    content: "© 2026 IAPESGW. All rights reserved. | International Association of Physical Education and Sport for Girls and Women.";
    display: block;
    font-size: 0.85rem;
    color: #86198f;
    padding: 10px 0;
}
