/*
Theme Name: Kadence XA
Theme URI: https://xastanford.org/
Description: Child theme of Kadence for Stanford Chi Alpha (xastanford.org). Holds site-specific overrides ported from the previous Customizr setup.
Author: Stanford Chi Alpha
Template: kadence
Version: 0.1.0
Text Domain: kadence-xa
*/

/* ==========================================================================
   Ported from the old Customizr "Additional CSS" (custom_css post 3407).
   Used on the Life Groups page and by Popup Maker. Do not remove without
   checking /lifegroups/ and that popups still render.
   ========================================================================== */

.lifegroup {
	padding: 20px;
	clear: both;
	overflow: auto;
	/* outer shadow */
	-webkit-box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.4);
	-moz-box-shadow: 0px 1px 6px rgba(23, 69, 88, .5);
	box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.4);
	/* rounded corners */
	-webkit-border-radius: 12px;
	-moz-border-radius: 7px;
	border-radius: 7px;
}

.gals {
	background-color: #ffe4e1;
	background-image: linear-gradient(#ffe4e1, #f7f7f9);
}

.guys {
	background-color: lightblue;
	background-image: linear-gradient(lightblue, #f7f7f9);
}

.coed {
	background-color: #f5deb3;
	background-image: linear-gradient(#f5deb3, #f7f7f9);
}

.table-striped tr:nth-child(odd) {
	background-color: #f2f2f2;
}

.table-striped thead tr th {
	background-color: darkgray;
	color: white;
}

.pum-overlay.pum-active,
.pum-overlay.pum-active .popmake.active {
	display: block !important;
}

/* ==========================================================================
   Homepage (Kadence migration) — helper classes for polish that core block
   attributes can't express. Sections are built from native blocks; these
   classes carry shadows, hover lifts, and image cropping. Editable here.
   ========================================================================== */

/* Hero */
.xa-hero { min-height: 90vh; }
.xa-hero .wp-block-cover__inner-container { max-width: 820px; }
.xa-eyebrow {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

/* Trust bar */
.xa-trust .num { font-size: 1.55rem; font-weight: 800; line-height: 1.2; display: block; }
.xa-trust .lbl { font-size: 12px; opacity: 0.85; letter-spacing: 0.04em; }

/* Feature cards */
.xa-card {
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 2px 20px rgba(0, 0, 0, 0.07);
	border-top: 4px solid #8C1515;
	transition: transform 0.2s, box-shadow 0.2s;
	height: 100%;
}
.xa-card:hover { transform: translateY(-5px); box-shadow: 0 10px 36px rgba(0, 0, 0, 0.11); }

/* Split sections */
.xa-split-img img {
	border-radius: 16px;
	width: 100%;
	height: 420px;
	object-fit: cover;
}

/* Footer (dark, branded) */
.site-footer .xa-footer-logo img { filter: brightness(0) invert(1); opacity: 0.85; }
.site-footer .footer-widget-area { color: rgba(255, 255, 255, 0.6); }
.site-footer .footer-widget-area h2,
.site-footer .footer-widget-area h3,
.site-footer .footer-widget-area h4 {
	color: #fff;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-size: 12px;
	margin-bottom: 18px;
}
.site-footer .footer-widget-area a { color: rgba(255, 255, 255, 0.6); text-decoration: none; }
.site-footer .footer-widget-area a:hover { color: #fff; text-decoration: none; }
.site-footer .footer-widget-area ul { list-style: none; padding: 0; margin: 0; }
.site-footer .footer-widget-area li { margin-bottom: 10px; }
.site-footer .footer-social-wrap a,
.site-footer .social-button { color: rgba(255, 255, 255, 0.65); background: transparent; }
.site-footer .footer-social-wrap a:hover,
.site-footer .social-button:hover { color: #fff; }

