
@charset 'utf-8';
/*
Theme Name:Free Church-child
Theme URI: https://free-church.themerex.net/
Description: Free Church - Multipurpose and Multiskin Responsive Wordpress theme
Author: ThemeREX
Author URI:  https://themerex.net/
Template: free-church
Version: 1.0
License: GNU General Public License
License URI: license.txt
Tags: flexible-header, accessibility-ready, custom-background, custom-colors, custom-header, custom-menu, featured-image-header, featured-images, full-width-template, microformats, post-formats, theme-options, threaded-comments, translation-ready
Text Domain: free-church
*/


/* =Theme customization starts here
-------------------------------------------------------------- */

/* Estilos personalizados del child theme */

/* Banner en el header title - Altura fija para todos los headers */
.top_panel_title.sc_layouts_row.sc_layouts_row_type_normal {
	position: relative;
	height: 300px !important;
	min-height: 300px !important;
	max-height: 300px !important;
	display: flex;
	align-items: center;
	overflow: hidden;
	/* Aplicar estilos de imagen de fondo igual que sc_layouts_featured.with_image */
	background-size: cover !important;
	background-position: center center !important;
	background-repeat: no-repeat !important;
}

.top_panel_title_overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.2);
	z-index: 1;
}

.top_panel_title.sc_layouts_row_type_normal .content_wrap {
	position: relative;
	z-index: 2;
}

.top_panel_title.sc_layouts_row_type_normal .sc_layouts_title {
	color: #fff;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.top_panel_title.sc_layouts_row_type_normal .sc_layouts_title_caption {
	color: #fff;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.top_panel_title.sc_layouts_row_type_normal .sc_layouts_title_breadcrumbs {
	color: #fff;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.top_panel_title.sc_layouts_row_type_normal .sc_layouts_title_breadcrumbs a {
	color: #fff;
}

.top_panel_title.sc_layouts_row_type_normal .sc_layouts_title_breadcrumbs a:hover {
	color: rgba(255, 255, 255, 0.8);
}

/* Centrar verticalmente todos los elementos del header de navegación */
.top_panel_navi .sc_layouts_row {
	display: flex;
	align-items: center;
}

.top_panel_navi .columns_wrap {
	display: flex;
	align-items: center;
}

.top_panel_navi .sc_layouts_column {
	display: flex;
	align-items: center;
}

.top_panel_navi .sc_layouts_item {
	display: flex;
	align-items: center;
}

/* Ajustar ancho de la columna del logo en el menú */
.top_panel_navi .sc_layouts_column.column-1_6 {
	width: auto !important;
	max-width: 200px !important;
	flex: 0 0 auto !important;
}

.top_panel_navi .sc_layouts_column.column-5_6 {
	width: 100% !important;
	flex: 1 1 100% !important;
	max-width: 100% !important;
}

/* Fijar tamaño del logo del header a 71x71px */
.sc_layouts_logo img {
	width: 71px !important;
	height: 71px !important;
	max-width: 71px !important;
	max-height: 71px !important;
	min-width: 71px !important;
	min-height: 71px !important;
	object-fit: contain;
	flex-shrink: 0;
}

/* Distribución de columnas en el footer - WPBakery Grid System */
.footer_wrap .vc_row.vc_inner.vc_row-fluid.vc_column-gap-10 {
	display: block !important;
	width: 100% !important;
	box-sizing: border-box !important;
	overflow: hidden;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.footer_wrap .vc_row.vc_inner.vc_row-fluid.vc_column-gap-10::after {
	content: "";
	display: table;
	clear: both;
}

/* Forzar ancho de columnas vc_col-sm-4 (4/12 = 33.333%) */
.footer_wrap .sc_content_container .vc_row.vc_inner.vc_row-fluid.vc_column-gap-10 > .wpb_column.vc_column_container.vc_col-sm-4,
.footer_wrap .vc_row.vc_inner.vc_row-fluid.vc_column-gap-10 > .wpb_column.vc_column_container.vc_col-sm-4 {
	width: 33.33333333% !important;
	max-width: 33.33333333% !important;
	min-width: 33.33333333% !important;
	float: left !important;
	box-sizing: border-box !important;
	padding-left: 5px !important;
	padding-right: 5px !important;
}

.footer_wrap .vc_row.vc_inner.vc_row-fluid.vc_column-gap-10 > .wpb_column {
	box-sizing: border-box !important;
	min-height: 1px;
}

.footer_wrap .vc_row.vc_inner .vc_column-inner {
	width: 100% !important;
	box-sizing: border-box !important;
}

/* Media queries para mantener 3 columnas en pantallas grandes */
@media (min-width: 992px) {
	.footer_wrap .sc_content_container .vc_row.vc_inner.vc_row-fluid.vc_column-gap-10 > .wpb_column.vc_column_container.vc_col-sm-4,
	.footer_wrap .vc_row.vc_inner.vc_row-fluid.vc_column-gap-10 > .wpb_column.vc_column_container.vc_col-sm-4 {
		width: 33.33333333% !important;
		max-width: 33.33333333% !important;
		min-width: 33.33333333% !important;
		float: left !important;
	}
}

/* Responsive: en tablets (2 columnas) */
@media (max-width: 991px) and (min-width: 769px) {
	.footer_wrap .sc_content_container .vc_row.vc_inner.vc_row-fluid.vc_column-gap-10 > .wpb_column.vc_column_container.vc_col-sm-4,
	.footer_wrap .vc_row.vc_inner.vc_row-fluid.vc_column-gap-10 > .wpb_column.vc_column_container.vc_col-sm-4 {
		width: 50% !important;
		max-width: 50% !important;
		min-width: 50% !important;
		float: left !important;
	}
}

/* Responsive: en móviles (1 columna) */
@media (max-width: 768px) {
	.footer_wrap .sc_content_container .vc_row.vc_inner.vc_row-fluid.vc_column-gap-10 > .wpb_column.vc_column_container.vc_col-sm-4,
	.footer_wrap .vc_row.vc_inner.vc_row-fluid.vc_column-gap-10 > .wpb_column.vc_column_container.vc_col-sm-4 {
		width: 100% !important;
		max-width: 100% !important;
		min-width: 100% !important;
		float: none !important;
		margin-bottom: 2em;
	}
}

/* Hacer que el menú principal ocupe todo el ancho disponible */
.top_panel_navi .sc_layouts_column.column-5_6 .sc_layouts_item {
	width: 100% !important;
	flex: 1 1 auto !important;
}

.top_panel_navi .sc_layouts_column.column-5_6 .sc_layouts_item > * {
	width: 100% !important;
}

/* Asegurar que el menú ocupe todo el espacio */
.top_panel_navi .sc_layouts_menu,
.top_panel_navi nav.sc_layouts_menu,
.top_panel_navi .sc_layouts_menu_nav,
.top_panel_navi ul.sc_layouts_menu_nav,
.top_panel_navi ul.menu {
	width: 100% !important;
	display: flex !important;
	justify-content: flex-start !important;
	align-items: center !important;
}

.top_panel_navi .sc_layouts_menu_nav > li {
	flex: 0 0 auto;
}

/* Columnas múltiples para listas de sacerdotes en Vicaría Pastoral */
.post_content.entry-content .decada-grupo {
	margin-bottom: 2.5em;
}

.post_content.entry-content .decada-grupo h4 {
	margin-bottom: 1em;
	font-size: 1.2em;
	font-weight: bold;
}

.post_content.entry-content .decada-grupo ul {
	column-width: 250px;
	column-gap: 2em;
	column-rule: 1px solid #e0e0e0;
	margin-bottom: 0;
	padding-left: 0;
	list-style: none;
}

.post_content.entry-content .decada-grupo ul li {
	break-inside: avoid;
	margin-bottom: 0.5em;
	page-break-inside: avoid;
	padding-left: 1.5em;
	position: relative;
	white-space: normal;
	word-break: normal;
	overflow-wrap: break-word;
	display: block;
}

.post_content.entry-content .decada-grupo ul li::before {
	content: "•";
	position: absolute;
	left: 0;
	color: #666;
}

/* Responsive: en tablets, 2 columnas */
@media (max-width: 991px) {
	.post_content.entry-content .decada-grupo ul {
		column-width: 300px;
	}
}

/* Responsive: en móviles, 1 columna */
@media (max-width: 768px) {
	.post_content.entry-content .decada-grupo ul {
		column-width: 100%;
		column-count: 1;
	}
}