/*
Theme Name: Hello Elementor Child
Theme URI: https://livinginhispresence.org
Description: Child theme for Living In His Presence Church.
Author: Ben Coyour Design
Author URI: https://bencoyourdesign.com
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
*/

/* === LIHPC - SITE SYSTEM (lihpc-*) ===
   1. Tokens and shared pieces
   2. Header
   3. Footer
   4. Home hero
   5. Message cards and list
   6. Single message
   7. Forms (Give, Prayer)
   8. Breakpoints
*/

/* 1. Tokens and shared pieces */
:root {
	--lihpc-focus: var(--e-global-color-accent);
}
.lihpc-push { margin-top: auto; }
.lihpc-fill { min-width: 0; }
a:focus-visible,
button:focus-visible,
.elementor-button:focus-visible { outline: 2px solid var(--lihpc-focus); outline-offset: 3px; }

/* 2. Header: free-floating platform icons */
.lihpc-header-social .elementor-social-icon { background: transparent; }
.lihpc-header-social .elementor-social-icon svg { width: 1em; height: 1em; }

/* 3. Footer and info band: links inside icon-box descriptions stay white */
.lihpc-info-item .elementor-icon-box-description a,
.lihpc-footer .elementor-icon-box-description a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.lihpc-info-item .elementor-icon-box-description a:hover,
.lihpc-footer .elementor-icon-box-description a:hover { color: var(--e-global-color-c_lt_pb); }

/* 4. Home hero: "to" chip before the church name */
.lihpc-to {
	display: inline-flex; align-items: center; justify-content: center;
	width: 1.45em; height: 1.45em; margin-right: .3em; border-radius: 50%;
	background: var(--e-global-color-primary); color: var(--e-global-color-c_white);
	font-size: .9em; line-height: 1; vertical-align: .05em;
}

/* 5. Message cards and list */
.lihpc-latest .e-loop-item { display: flex; }
.lihpc-latest .e-loop-item > .lihpc-card { width: 100%; }
.lihpc-card .lihpc-note { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.lihpc-row .elementor-heading-title a,
.lihpc-card .elementor-heading-title a { color: inherit; }
.lihpc-row .elementor-heading-title a:hover,
.lihpc-card .elementor-heading-title a:hover { color: var(--e-global-color-secondary); }
.lihpc-terms a { color: inherit; }
.lihpc-message-list .elementor-pagination { margin-top: 36px; text-align: center; font-size: 18px; }
.lihpc-message-list .elementor-pagination .page-numbers { display: inline-block; padding: 6px 10px; }
.lihpc-message-list .elementor-pagination .current { color: var(--e-global-color-secondary); font-weight: 700; }
.lihpc-series-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.lihpc-series-card {
	display: flex; flex-direction: column; gap: 6px; padding: 28px 28px 26px;
	background: var(--e-global-color-c_white); border-top: 4px solid var(--e-global-color-primary); border-radius: 6px;
	box-shadow: 0 6px 24px rgba(20, 30, 60, .07); color: var(--e-global-color-text); text-decoration: none;
	transition: transform .2s ease, box-shadow .2s ease;
}
.lihpc-series-card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(20, 30, 60, .12); }
.lihpc-series-card__name { font-size: 20px; font-weight: 700; line-height: 1.3; color: var(--e-global-color-c_black); }
.lihpc-series-card__count { font-size: 15px; text-transform: uppercase; letter-spacing: 2px; color: var(--e-global-color-secondary); font-weight: 700; }

.lihpc-book-card ul { margin: 0; padding-left: 1.1em; }
.lihpc-book-card li { margin: 2px 0; }

/* 6. Single message */
.lihpc-video { position: relative; height: 0; padding-top: 56.25%; background: #000; border-radius: 6px; overflow: hidden; }
.lihpc-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.lihpc-audio__label { margin: 0 0 10px; font-weight: 700; color: var(--e-global-color-c_black); }
.lihpc-audio__label a { margin-left: 10px; font-weight: 400; font-size: 15px; }
.lihpc-notes { margin: 24px 0 0; }

/* 7. Forms (Gravity Forms markup) */
.lihpc-form .gform_wrapper input:not([type=submit]):not([type=checkbox]):not([type=radio]),
.lihpc-form .gform_wrapper select,
.lihpc-form .gform_wrapper textarea {
	border: 1px solid #cfd3e0; border-radius: 4px; padding: 12px 14px; font-size: 17px; background: #fff;
}
.lihpc-form .gform_wrapper input:not([type=submit]):not([type=checkbox]):not([type=radio]),
.lihpc-form .gform_wrapper select { box-sizing: border-box; height: 48px; min-height: 48px; line-height: 1.2; padding-top: 0; padding-bottom: 0; }
.lihpc-form .gform_wrapper input:focus,
.lihpc-form .gform_wrapper select:focus,
.lihpc-form .gform_wrapper textarea:focus { border-color: var(--e-global-color-primary); outline: none; box-shadow: 0 0 0 3px rgba(92, 109, 172, .18); }
.lihpc-form .gform_wrapper .gfield_label { font-weight: 700; color: var(--e-global-color-c_black); }
.lihpc-form .gform_footer { margin-top: 24px; }
.lihpc-form .gform_footer input[type=submit],
.lihpc-form .gform_footer button {
	width: 100%; padding: 18px 24px; border: 0; border-radius: 4px; cursor: pointer;
	background: var(--e-global-color-primary); color: #fff;
	font-family: var(--e-global-typography-btn_lg-font-family), sans-serif; font-size: 19px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
	transition: background-color .2s ease;
}
.lihpc-form .gform_footer input[type=submit]:hover,
.lihpc-form .gform_footer button:hover { background: var(--e-global-color-c_dk_pb); }

/* 8. Breakpoints */
@media (max-width: 1024px) {
	/* Hero text sits on a soft white card below the faces on tablets and phones */
	.lihpc-hero-text { background: rgba(255, 255, 255, .9); border-radius: 6px; box-shadow: 0 8px 30px rgba(20, 30, 60, .12); }
}
@media (max-width: 767px) {
}
