/*
Theme Name: Linn Creek Christian Church
Theme URI: https://linncreek.wemanageweb.com
Description: Church block theme for Linn Creek Christian Church, modeled on the ShareFaith layout (full-width hero, service times, Plan a Visit, events, ministries, give). Child of Twenty Twenty-Five.
Author: WeManage.Tech
Author URI: https://wemanage.tech
Template: twentytwentyfive
Version: 1.0.0
Requires at least: 6.7
Tested up to: 7.1
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: linncreek
*/

/* --- Global polish beyond theme.json --- */
.lc-hero {
	position: relative;
	isolation: isolate;
}
.lc-hero .wp-block-cover__background {
	background: linear-gradient(180deg, rgba(11, 26, 51, .35) 0%, rgba(11, 26, 51, .75) 100%) !important;
}
.lc-eyebrow {
	letter-spacing: .18em;
	text-transform: uppercase;
	font-weight: 700;
	font-size: .8rem;
}
.lc-card {
	transition: transform .2s ease, box-shadow .2s ease;
}
.lc-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 40px -20px rgba(11, 26, 51, .45);
}
.lc-service-bar {
	box-shadow: 0 20px 50px -30px rgba(11, 26, 51, .6);
	margin-top: -3.5rem;
	position: relative;
	z-index: 2;
}
@media (max-width: 781px) {
	.lc-service-bar { margin-top: 0; }
}
.wp-block-button.is-style-lc-pill .wp-block-button__link {
	border-radius: 999px;
	padding: .9rem 2rem;
	font-weight: 700;
	letter-spacing: .02em;
}
.wp-block-button.is-style-lc-outline-light .wp-block-button__link {
	background: transparent;
	border: 2px solid currentColor;
	color: var(--wp--preset--color--contrast);
	border-radius: 999px;
	padding: .8rem 1.9rem;
	font-weight: 700;
}
.lc-map iframe {
	width: 100%;
	min-height: 320px;
	border: 0;
	border-radius: 12px;
	filter: grayscale(.15);
}
/* Footer / dark sections: make links legible on navy */
footer.wp-block-template-part a,
.has-accent-5-background-color a:not(.wp-block-button__link) {
	color: var(--wp--preset--color--accent-1);
}
footer.wp-block-template-part a:hover {
	color: var(--wp--preset--color--contrast);
}

/* Upcoming events list */
.lc-events { display: grid; gap: 1rem; }
.lc-event {
	display: flex; gap: 1.25rem; align-items: center;
	padding: 1rem 1.25rem; border: 1px solid var(--wp--preset--color--accent-4);
	border-radius: 14px; text-decoration: none; color: inherit; background: var(--wp--preset--color--base);
	transition: transform .2s ease, box-shadow .2s ease;
}
.lc-event:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -20px rgba(11,26,51,.45); }
.lc-event__date {
	flex: 0 0 64px; text-align: center; border-radius: 10px; padding: .5rem 0;
	background: var(--wp--preset--color--contrast); color: var(--wp--preset--color--base);
	font-family: var(--wp--preset--font-family--heading);
}
.lc-event__mon { display: block; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--wp--preset--color--accent-1); }
.lc-event__day { display: block; font-size: 1.6rem; font-weight: 800; line-height: 1.1; }
.lc-event__title { margin: 0 0 .15rem; font-size: 1.1rem; }
.lc-event__meta { margin: 0; font-size: .9rem; color: var(--wp--preset--color--accent-6); }

/* Mobile */
@media (max-width: 781px) {
	.lc-hero { min-height: 70vh !important; }
	.lc-hero .has-hero-font-size { font-size: 2.4rem !important; }
	.lc-service-bar { padding: 1.5rem !important; border-radius: 0 !important; }
	.lc-service-bar .wp-block-columns { gap: 1.25rem; }
	.wp-block-columns.alignwide { gap: 1.5rem !important; }
	.wp-block-post-template.is-layout-grid { grid-template-columns: 1fr !important; }
	.lc-map iframe { min-height: 240px; }
	/* hide the header Give pill on phones; sticky button takes over */
	header .wp-block-buttons.is-style-lc-pill { display: none; }
}

.lc-sticky-give {
	position: fixed;
	right: 1.25rem;
	bottom: 1.25rem;
	z-index: 50;
}
@media (min-width: 782px) {
	.lc-sticky-give { display: none; }
}

/* Header: keep title and Give pill on one line */
header .wp-block-site-title { white-space: nowrap; }
header .wp-block-site-title a { font-size: clamp(.95rem, 1.1vw, 1.2rem); }
header .wp-block-button__link { white-space: nowrap; }
header .wp-block-navigation { white-space: nowrap; }
@media (max-width: 1024px) {
	header .wp-block-site-title { white-space: normal; max-width: 12rem; line-height: 1.2; }
}

@media (max-width: 781px) {
	.lc-hero.lc-page-hero { min-height: 38vh !important; padding-top: 3rem !important; padding-bottom: 3rem !important; }
	.lc-hero.lc-page-hero .has-hero-font-size { font-size: 2.1rem !important; }
}

/* =========================================================
   Contemporary pass — glass header, gradient hero, overlay cards
   ========================================================= */
:root {
	--lc-radius: 20px;
	--lc-glass: rgba(20, 33, 61, .55);
	--lc-glass-border: rgba(255, 255, 255, .08);
	--lc-glow: radial-gradient(60% 60% at 50% 0%, rgba(212, 175, 55, .10), transparent 70%);
}
body { -webkit-font-smoothing: antialiased; }

/* Sticky translucent header */
header.wp-block-template-part > .wp-block-group.alignfull {
	position: sticky; top: 0; z-index: 40;
	background: rgba(11, 26, 51, .72) !important;
	backdrop-filter: saturate(160%) blur(14px);
	-webkit-backdrop-filter: saturate(160%) blur(14px);
	border-bottom-color: var(--lc-glass-border) !important;
	padding-top: .75rem !important; padding-bottom: .75rem !important;
}
header .wp-block-site-logo img { border-radius: 12px; width: 44px !important; height: 44px !important; }
header .wp-block-navigation a { opacity: .82; transition: opacity .2s, color .2s; }
header .wp-block-navigation a:hover { opacity: 1; color: var(--wp--preset--color--accent-1); }

/* Hero: melt into the page, tighter type */
.lc-hero { min-height: 92vh !important; }
.lc-hero .wp-block-cover__background {
	background: linear-gradient(180deg, rgba(5, 11, 23, .35) 0%, rgba(11, 26, 51, .55) 55%, var(--wp--preset--color--base) 100%) !important;
}
.lc-hero .wp-block-cover__image-background { filter: saturate(1.05) contrast(1.02); }
.lc-hero .has-hero-font-size { letter-spacing: -0.04em; text-wrap: balance; }
.lc-hero .has-large-font-size { max-width: 40rem; margin-inline: auto; color: rgba(241, 244, 249, .85); font-weight: 400; }

/* Eyebrows: small gold bar */
.lc-eyebrow { font-size: .72rem; letter-spacing: .22em; opacity: .9; }
.lc-eyebrow::before { content: ""; display: inline-block; width: 18px; height: 2px; background: currentColor; vertical-align: middle; margin-right: .6rem; border-radius: 2px; }
.has-text-align-center.lc-eyebrow::before { display: none; }

/* Glass cards */
.lc-service-bar,
.lc-card,
.lc-event,
.wp-block-group.lc-card.has-accent-3-background-color {
	background: var(--lc-glass) !important;
	border: 1px solid var(--lc-glass-border) !important;
	border-radius: var(--lc-radius) !important;
	backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
	box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .8);
}
.lc-service-bar { margin-top: -6rem; }
.lc-service-bar h3 { letter-spacing: -0.02em; }
.lc-card:hover, .lc-event:hover { border-color: rgba(212, 175, 55, .35) !important; }

/* Ministries: image cards with overlaid text */
.lc-ministry-card { position: relative; overflow: hidden; border-radius: var(--lc-radius); background: none !important; border: 0 !important; backdrop-filter: none !important; }
.lc-ministry-card .wp-block-image { margin: 0; }
.lc-ministry-card .wp-block-image img { aspect-ratio: 3/4 !important; width: 100%; border-radius: var(--lc-radius) !important; transform: scale(1); transition: transform .5s ease; }
.lc-ministry-card:hover .wp-block-image img { transform: scale(1.05); }
.lc-ministry-card::after {
	content: ""; position: absolute; inset: 0; border-radius: var(--lc-radius); pointer-events: none;
	background: linear-gradient(180deg, rgba(5, 11, 23, 0) 35%, rgba(5, 11, 23, .92) 100%);
}
.lc-ministry-card h3, .lc-ministry-card p {
	position: absolute; left: 1.4rem; right: 1.4rem; z-index: 2; margin: 0;
}
.lc-ministry-card h3 { bottom: 3.6rem; font-size: 1.5rem; letter-spacing: -0.02em; }
.lc-ministry-card p { bottom: 1.3rem; font-size: .9rem; line-height: 1.4; color: rgba(241, 244, 249, .8) !important; }

/* Photos & gallery */
.wp-block-image img, .wp-block-gallery .wp-block-image img, .wp-block-post-featured-image img { border-radius: var(--lc-radius) !important; }
.wp-block-gallery.has-nested-images figure.wp-block-image img { border-radius: 16px !important; }
.wp-block-post-featured-image img { border-radius: var(--lc-radius) var(--lc-radius) 0 0 !important; }

/* Buttons: gradient gold, soft glow */
.wp-block-button__link { transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.wp-block-button:not(.is-style-outline):not(.is-style-lc-outline-light) .wp-block-button__link:not(.has-background) {
	background: linear-gradient(135deg, #e3c25a 0%, #c9a227 100%);
	box-shadow: 0 10px 30px -12px rgba(212, 175, 55, .6);
}
.wp-block-button__link:hover { transform: translateY(-2px); }
.is-style-outline .wp-block-button__link, .is-style-lc-outline-light .wp-block-button__link {
	border-color: rgba(255, 255, 255, .25); color: var(--wp--preset--color--contrast);
}
.is-style-outline .wp-block-button__link:hover, .is-style-lc-outline-light .wp-block-button__link:hover {
	background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .5);
}

/* Section glow + rhythm */
main > .wp-block-group.alignfull:not(.lc-hero) { position: relative; }
main > .wp-block-group.alignfull.has-accent-5-background-color { background-image: var(--lc-glow); }
main .wp-block-heading.has-xx-large-font-size { text-wrap: balance; }

/* Events list refinement */
.lc-event__date { border-radius: 14px; background: linear-gradient(135deg, #e3c25a, #c9a227); color: #0b1a33; }
.lc-event__mon { color: rgba(11, 26, 51, .7); }

/* Footer */
footer.wp-block-template-part > .wp-block-group { border-top: 1px solid var(--lc-glass-border); }

@media (max-width: 781px) {
	.lc-service-bar { margin-top: -3rem; }
	.lc-ministry-card .wp-block-image img { aspect-ratio: 4/3 !important; }
	.lc-hero .has-hero-font-size { font-size: 2.6rem !important; }
}

