/*
Theme Name: Zegen Child
Template: zegen
Description: Child theme of Zegen for the Diocese of Colombo. Holds the church templates and styles.
Version: 1.0.5
Requires PHP: 8.0
Text Domain: zegen-child
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/*
 * The Theme Name must stay "Zegen Child": Zegen Core disables itself for any
 * other theme name once the purchase token is verified.
 */

/* Matches Zegen's theme options (theme-color, secondary-color, link hover). */
:root {
	--doc-primary: #670f48;
	--doc-accent: #ab1b5f;
	--doc-hover: #bf0a30;
}

/* Single ministry and institution pages: narrower, centred content column for readability. */
.single-zegen-ministries .ministries,
.single-institution .ministries {
	max-width: 900px;
	margin-right: auto;
	margin-left: auto;
}

/* Institutions listing: spacing the Ministries widget sets inline, and equal-height photos. */
.doc-institutions .ministries-inner > .ministries-thumb {
	margin-bottom: 25px;
}

.doc-institutions .ministries-inner > .ministries-title {
	margin-bottom: 15px;
}

.doc-institutions .ministries-thumb img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

.doc-institution-thumb--empty {
	aspect-ratio: 3 / 2;
	background: linear-gradient(135deg, var(--doc-primary), var(--doc-accent));
}

.doc-institutions .doc-search-scope .row > [data-doc-search] {
	margin-bottom: 30px;
}

.doc-institutions__empty {
	padding: 40px 0;
	text-align: center;
}

/* Footer (widgets set in Appearance > Widgets: Footer 1-4; copyright in Zegen's Footer Bottom). */
.site-footer .doc-footer-logo {
	display: block;
	width: auto;
	height: 90px;
	margin-bottom: 18px;
}

.site-footer .doc-footer-about p {
	color: rgba(255, 255, 255, 0.85);
}

.site-footer .doc-footer-statements {
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer .doc-footer-statements li {
	padding: 10px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	line-height: 1.5;
}

.site-footer .doc-footer-statements li:first-child {
	padding-top: 0;
}

.site-footer .doc-footer-statements a {
	display: block;
	font-weight: 600;
}

.site-footer .doc-footer-statements time {
	color: rgba(255, 255, 255, 0.65);
	font-size: 13px;
}

.site-footer .doc-footer-more {
	margin: 14px 0 0;
	font-size: 14px;
}

.site-footer .doc-footer-contact {
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer .doc-footer-contact li {
	display: flex;
	gap: 12px;
	margin-bottom: 14px;
	line-height: 1.6;
}

.site-footer .doc-footer-contact [class^="ti-"] {
	flex: 0 0 auto;
	margin-top: 5px;
	color: #ffffff;
}

.site-footer .copyright-text-wrap {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 6px 24px;
	width: 100%;
}

.site-footer .footer-bottom-wrap .footer-bottom-items,
.site-footer .footer-bottom-wrap .footer-bottom-items > li {
	width: 100%;
}

@media (max-width: 767px) {
	.site-footer .copyright-text-wrap {
		justify-content: center;
		text-align: center;
	}
}

/* Header logo. The crest is portrait, so Zegen's option heights (70/65/45px) plus its 10px padding left it
   too small; these override the generated Customizer CSS. */
.navbar-items > li {
	height: 110px;
	line-height: 110px;
}

.navbar-items > li img,
.header-inner .main-logo img {
	max-height: 100px;
}

.main-logo img.custom-logo,
.header-inner .main-logo img,
.header-inner .sticky-logo img {
	padding: 6px 0;
}

.header-sticky .navbar-items > li,
.sticky-scroll.show-menu .navbar-items > li {
	height: 84px;
	line-height: 84px;
}

.header-inner .sticky-logo img,
.sticky-scroll.show-menu .navbar img.custom-logo {
	max-height: 80px;
}

.mobile-header-items > li,
.header-sticky .mobile-header-items > li,
.show-menu .mobile-header-items > li {
	height: 76px;
	line-height: 76px;
}

.mobile-header-inner .mobile-logo img {
	max-height: 70px;
}
