/* =========================================================
   Carmelia theme stylesheet
   Design tokens extracted from carmelia-revive-blossom.lovable.app
   ========================================================= */

:root {
	/* Palet 2027: alabaster / parchment / perunggu */
	--background: #FAF8F5;
	--foreground: #1E1C1A;
	--card: #FFFFFF;
	--card-foreground: #1E1C1A;
	--primary: #8C5A3C;
	--primary-foreground: #FAF8F5;
	--secondary: #F3EFE8;
	--secondary-foreground: #6E452C;
	--muted: #F3EFE8;
	--muted-foreground: #635D56;
	--accent: #EDE6DA;
	--accent-foreground: #6E452C;
	--border: #E5DFD5;
	--input: #E5DFD5;
	--ring: #8C5A3C;
	--brand: #8C5A3C;
	--brand-foreground: #FAF8F5;
	--brand-deep: #6E452C;
	--gold: #B58A66;
	--gold-foreground: #1E1C1A;
	--cream: #F3EFE8;
	--radius: .75rem;
	--gradient-brand: linear-gradient(120deg, var(--brand-deep), var(--brand));
	--shadow-soft: 0 1px 2px rgba(30, 28, 26, .04), 0 10px 30px -20px rgba(30, 28, 26, .18);
	--shadow-lift: 0 20px 40px -20px rgba(30, 28, 26, .16);

	--font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
	--font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--background);
	color: var(--foreground);
	font-family: var(--font-sans);
	font-size: 16px;
	line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-serif);
	font-weight: 600;
	line-height: 1.2;
	margin: 0 0 .5em;
	color: var(--foreground);
}

.screen-reader-text {
	position: absolute !important;
	clip: rect(1px, 1px, 1px, 1px);
	width: 1px; height: 1px; overflow: hidden;
}
.skip-link.screen-reader-text:focus {
	position: fixed; top: 8px; left: 8px;
	width: auto; height: auto; clip: auto;
	background: var(--brand); color: var(--brand-foreground);
	padding: 10px 16px; border-radius: var(--radius); z-index: 1000;
}

.container {
	width: 100%;
	max-width: 1200px;
	margin-inline: auto;
	padding-inline: 24px;
}

/* ---------- Buttons & badges ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5em;
	padding: .75em 1.5em;
	border-radius: var(--radius);
	font-weight: 600;
	font-size: .95rem;
	border: 1px solid transparent;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}
.btn-primary { background: var(--gradient-brand); color: var(--brand-foreground); box-shadow: var(--shadow-soft); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: var(--shadow-lift); }
.btn-outline { background: transparent; border-color: var(--border); color: var(--foreground); }
.btn-outline:hover { background: var(--accent); }
.btn-outline-light { background: transparent; border-color: color-mix(in oklab, white 40%, transparent); color: var(--brand-foreground); }
.btn-outline-light:hover { background: color-mix(in oklab, white 12%, transparent); }
.btn-block { width: 100%; }

.badge {
	display: inline-block;
	padding: .3em .8em;
	border-radius: 999px;
	background: var(--accent);
	color: var(--accent-foreground);
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .02em;
	text-transform: uppercase;
	margin-bottom: .6em;
}

/* ---------- Header ---------- */
.site-header {
	background: var(--card);
	border-bottom: 1px solid var(--border);
	position: sticky;
	top: 0;
	z-index: 100;
}
.site-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-block: 16px;
}
.site-logo, .custom-logo-link { display: flex; align-items: center; gap: 14px; }
.site-logo-mark {
	font-size: 1.85rem;
	color: var(--gold);
	line-height: 1;
}
.site-logo-mark-image {
	display: block;
	width: 50px;
	height: 50px;
}
.site-logo-mark-image .custom-logo {
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.site-logo-text { display: flex; flex-direction: column; }
.site-logo-name {
	font-family: var(--font-serif);
	font-weight: 700;
	font-size: clamp(1.5rem, 1.15rem + 1.1vw, 1.9rem);
	color: var(--primary);
	line-height: 1.15;
	letter-spacing: -.01em;
}
.site-logo-tagline { font-size: .75rem; color: var(--muted-foreground); letter-spacing: .04em; text-transform: uppercase; margin-top: .15em; }

.primary-nav .nav-menu { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.primary-nav .nav-menu > li { position: relative; }
.primary-nav .nav-menu a {
	display: flex;
	align-items: center;
	gap: 6px;
	font-weight: 500;
	font-size: .95rem;
	color: var(--foreground);
	padding: 8px 0;
}
.primary-nav .nav-menu a:hover { color: var(--primary); }

/* Dropdown arrow on items that have children. */
.primary-nav .menu-item-has-children > a::after {
	content: '';
	width: 6px;
	height: 6px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg);
	margin-top: -4px;
	opacity: .6;
}

/* Submenu: hidden by default, shown as a dropdown on hover/focus. */
.primary-nav .sub-menu {
	display: block;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow-lift);
	padding: 8px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .15s ease, transform .15s ease, visibility .15s;
	z-index: 10;
}
.primary-nav .sub-menu .sub-menu {
	top: 0;
	left: 100%;
	margin-left: 8px;
}
.primary-nav .menu-item-has-children:hover > .sub-menu,
.primary-nav .menu-item-has-children:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.primary-nav .sub-menu li { position: relative; }
.primary-nav .sub-menu a { padding: 8px 12px; border-radius: calc(var(--radius) - 2px); white-space: nowrap; }
.primary-nav .sub-menu a:hover { background: var(--accent); }
.primary-nav .sub-menu .menu-item-has-children > a::after { margin-left: auto; }

.site-header-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
	display: none;
	background: none; border: 1px solid var(--border); border-radius: var(--radius);
	width: 40px; height: 40px; position: relative;
}
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
	content: ''; display: block; position: absolute; left: 8px; right: 8px; height: 2px; background: var(--foreground);
}
.nav-toggle-bar { top: 50%; transform: translateY(-50%); }
.nav-toggle-bar::before { top: -7px; }
.nav-toggle-bar::after { top: 7px; }

.mobile-nav { display: none; border-top: 1px solid var(--border); padding: 16px 24px; max-height: calc(100vh - 80px); overflow-y: auto; }
.mobile-nav .nav-menu { display: flex; flex-direction: column; gap: 14px; }
.mobile-nav .menu-item-has-children { position: relative; }
.mobile-nav .menu-item-has-children > a { padding-right: 36px; }

/* Collapsed by default — expanded via the toggle button injected by main.js,
   so a menu with several parents doesn't dump every child onscreen at once
   and push items further down out of easy reach. */
.mobile-nav .sub-menu {
	display: none;
	flex-direction: column;
	gap: 10px;
	margin-top: 10px;
	padding-left: 16px;
	border-left: 2px solid var(--border);
}
.mobile-nav .menu-item-has-children.is-submenu-open > .sub-menu { display: flex; }

.mobile-submenu-toggle {
	position: absolute;
	top: 0;
	right: 0;
	width: 32px;
	height: 32px;
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
}
.mobile-submenu-toggle::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 8px;
	height: 8px;
	border-right: 1.5px solid var(--foreground);
	border-bottom: 1.5px solid var(--foreground);
	transform: translate(-50%, -65%) rotate(45deg);
	transition: transform .15s ease;
}
.mobile-nav .menu-item-has-children.is-submenu-open > .mobile-submenu-toggle::after {
	transform: translate(-50%, -35%) rotate(-135deg);
}

@media (max-width: 860px) {
	.primary-nav { display: none; }
	.nav-toggle { display: block; }
	.site-header-cta .btn-outline { display: none; }
	.mobile-nav.is-open { display: block; }
}

/* ---------- Promo cards ---------- */
.promo-cards { padding-block: 64px; }
.promo-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.promo-card {
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 32px;
	box-shadow: var(--shadow-soft);
	transition: transform .2s ease, box-shadow .2s ease;
}
.promo-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.promo-card-icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 48px; height: 48px; border-radius: 50%;
	background: var(--accent); color: var(--primary);
	font-size: 1.3rem; margin-bottom: 1em;
}
.promo-card-title { font-size: 1.25rem; margin-bottom: .4em; }
.promo-card-desc { color: var(--muted-foreground); font-size: .95rem; margin: 0; }

/* ---------- Content layout ---------- */
.content-area { padding-block: 24px 80px; }
.content-area-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.content-area-narrow { max-width: 760px; }
.section-heading { font-size: 1.75rem; margin-bottom: 1em; padding-top: .2em; }
.empty-state, .archive-description { color: var(--muted-foreground); }

/* ---------- Article cards ---------- */
.article-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 3em; }
.article-card {
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow-soft);
	transition: transform .2s ease, box-shadow .2s ease;
	margin: 0;
}
.article-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.article-card-media { display: block; aspect-ratio: 16/10; background: var(--secondary); overflow: hidden; }
.article-card-media img { width: 100%; height: 100%; object-fit: cover; }
.article-card-media-placeholder {
	display: flex; align-items: center; justify-content: center;
	width: 100%; height: 100%;
	font-size: 2rem; color: var(--gold);
	background: var(--gradient-brand);
	color: var(--brand-foreground);
}
.article-card-body { padding: 20px; }
.article-card-title { font-size: 1.2rem; margin-bottom: .3em; }
.article-card-title a:hover { color: var(--primary); }
.article-card-excerpt { color: var(--muted-foreground); margin-bottom: 1em; }
.article-card-meta { font-size: .82rem; color: var(--muted-foreground); display: flex; align-items: center; gap: 6px; }

.article-card-featured { grid-column: 1 / -1; }
.article-card-featured .article-card-body { display: block; }
.article-card-featured .article-card-title { font-size: 1.6rem; }
@media (min-width: 640px) {
	.article-card-featured { display: grid; grid-template-columns: 1.1fr 1fr; }
	.article-card-featured .article-card-media { aspect-ratio: auto; height: 100%; }
}

/* ---------- Pagination ---------- */
.pagination { margin: 2.5em 0; }
.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}
.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 14px;
	border-radius: var(--radius);
	border: 1px solid var(--border);
	background: var(--card);
	color: var(--foreground);
	font-weight: 600;
	font-size: .92rem;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.pagination a.page-numbers:hover {
	background: var(--accent);
	border-color: var(--accent);
	color: var(--accent-foreground);
}
.pagination .page-numbers.current {
	background: var(--gradient-brand);
	border-color: transparent;
	color: var(--brand-foreground);
}
.pagination .page-numbers.dots {
	border: none;
	background: transparent;
	color: var(--muted-foreground);
	min-width: auto;
	padding: 0 4px;
}
.pagination .page-numbers.prev,
.pagination .page-numbers.next {
	padding: 0 18px;
	font-weight: 600;
}

/* ---------- Sidebar ---------- */
.site-sidebar { display: flex; flex-direction: column; gap: 24px; }
.sidebar-widget {
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 24px;
	box-shadow: var(--shadow-soft);
}
.sidebar-widget-title { font-size: 1.2rem; margin-bottom: .8em; }
.sidebar-widget-desc { color: var(--muted-foreground); font-size: .9rem; margin-top: -.5em; margin-bottom: 1em; }

.category-list-item a {
	display: flex; align-items: center; justify-content: space-between;
	padding: .6em 0; border-bottom: 1px solid var(--border);
	font-size: .95rem;
}
.category-list-item:last-child a { border-bottom: none; }
.category-list-item a:hover { color: var(--primary); }
.category-list-count { color: var(--muted-foreground); font-size: .82rem; }

.most-read-item { display: flex; align-items: baseline; gap: 12px; padding: .6em 0; border-bottom: 1px solid var(--border); }
.most-read-item:last-child { border-bottom: none; }
.most-read-rank { font-family: var(--font-serif); font-weight: 700; font-size: 1.1rem; color: var(--gold); flex-shrink: 0; }
.most-read-title { font-size: .92rem; }
.most-read-title:hover { color: var(--primary); }

.prayer-form .form-row { margin-bottom: 14px; }
.prayer-form label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .4em; }
.prayer-form input[type="text"],
.prayer-form input[type="email"],
.prayer-form textarea {
	width: 100%;
	padding: .7em .9em;
	border: 1px solid var(--input);
	border-radius: var(--radius);
	background: var(--background);
	color: var(--foreground);
	font-family: inherit;
	font-size: .95rem;
	resize: vertical;
}
.prayer-form input:focus, .prayer-form textarea:focus { outline: 2px solid var(--ring); outline-offset: 1px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 9999; max-width: calc(100vw - 32px); padding: 14px 22px; border-radius: 8px; background: var(--primary); color: #fff; font-weight: 600; font-size: .95rem; box-shadow: 0 8px 24px rgba(0,0,0,.25); animation: toast-life 5s ease forwards; }
@keyframes toast-life { 0% { opacity: 0; transform: translate(-50%, 16px); } 8%, 85% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; visibility: hidden; } }

.testimonial-item { padding: 1em 0; border-bottom: 1px solid var(--border); }
.testimonial-item:last-child { border-bottom: none; }
.testimonial-quote { font-family: var(--font-serif); font-style: italic; font-size: 1.05rem; margin: 0 0 .5em; }
.testimonial-author { font-size: .85rem; color: var(--muted-foreground); }
.testimonial-role { display: block; font-size: .78rem; }

/* ---------- Single article ---------- */
.single-article-title, .single-page-title { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.single-article-meta { color: var(--muted-foreground); font-size: .9rem; display: flex; gap: 6px; align-items: center; margin-bottom: 2em; }
.article-card-dot { opacity: .6; }
.single-article-media, .single-page-media { border-radius: var(--radius); overflow: hidden; margin-bottom: 2em; box-shadow: var(--shadow-soft); }
.single-article-content, .single-page-content { font-size: 1.08rem; line-height: 1.8; }
.single-article-content p, .single-page-content p { margin: 0 0 1.4em; }
.single-article-content h2, .single-page-content h2 { margin-top: 1.6em; }
.single-article-content ul, .single-page-content ul {
	list-style: disc;
	margin: 0 0 1.4em;
	padding-left: 1.4em;
}
.single-article-content ol, .single-page-content ol {
	list-style: decimal;
	margin: 0 0 1.4em;
	padding-left: 1.4em;
}
.single-article-content li, .single-page-content li { margin-bottom: .5em; }
.single-article-content ul ul, .single-article-content ol ul,
.single-page-content ul ul, .single-page-content ol ul { list-style: circle; }
.single-article-content blockquote {
	border-left: 3px solid var(--gold);
	margin: 1.6em 0; padding: .4em 1.2em;
	font-family: var(--font-serif); font-style: italic; color: var(--secondary-foreground);
}
.single-article-comments { margin-top: 3em; }

/* ---------- Search ---------- */
.search-form { display: flex; gap: 10px; }
.search-form input[type="search"] {
	flex: 1; padding: .7em .9em; border: 1px solid var(--input); border-radius: var(--radius);
	background: var(--card); color: var(--foreground); font-family: inherit;
}
.error-404-content { text-align: center; padding-block: 60px; }
.error-404-content .search-form { max-width: 420px; margin: 2em auto 0; }

/* ---------- Footer ---------- */
.site-footer {
	--footer-background: var(--brand-deep);
	--footer-foreground: var(--brand-foreground);
	background: var(--footer-background);
	color: color-mix(in oklab, var(--footer-foreground) 90%, transparent);
	margin-top: 40px;
}
.footer-inner {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 32px;
	padding-block: 56px 32px;
}
.footer-logo .site-logo-name { color: var(--footer-foreground); }
.footer-tagline { color: color-mix(in oklab, var(--footer-foreground) 70%, transparent); font-size: .92rem; margin-top: 1em; max-width: 320px; }
.footer-col-title { color: var(--footer-foreground); font-size: 1rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 1em; }
.footer-menu li { margin-bottom: .7em; }
.footer-menu a { color: color-mix(in oklab, var(--footer-foreground) 75%, transparent); font-size: .92rem; }
.footer-menu a:hover { color: var(--gold); }
.footer-bottom {
	border-top: 1px solid color-mix(in oklab, var(--footer-foreground) 15%, transparent);
	padding-block: 20px;
	font-size: .82rem;
	color: color-mix(in oklab, var(--footer-foreground) 60%, transparent);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
	.content-area-grid { grid-template-columns: 1fr; }
	.article-grid { grid-template-columns: 1fr; }
	.promo-cards-grid { grid-template-columns: 1fr; }
	.footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
	.footer-inner { grid-template-columns: 1fr; }
	.article-card-featured { grid-template-columns: 1fr; }
}

/* Popup beranda */
.carmelia-popup {
	padding: 0; border: 0; border-radius: 1rem; overflow: hidden;
	max-width: min(92vw, 520px); background: var(--card);
	box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
}
.carmelia-popup::backdrop { background: rgba(0, 0, 0, .6); }
.carmelia-popup img { display: block; width: 100%; height: auto; max-height: 85vh; object-fit: contain; }
.carmelia-popup-close {
	position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; border: 0; border-radius: 50%;
	background: rgba(0, 0, 0, .55); color: #fff; font-size: 22px; line-height: 1; cursor: pointer;
}

/* =========================================================
   Carmelia 2027: komponen desain baru
   ========================================================= */
::selection { background: rgba(140, 90, 60, .18); }
body { -webkit-font-smoothing: antialiased; overflow-x: hidden; }

/* Tombol pil */
.btn { border-radius: 999px; font-weight: 500; letter-spacing: .01em; }
.btn-primary { background: var(--primary); box-shadow: none; }
.btn-primary:hover { background: var(--brand-deep); box-shadow: none; }
.btn-outline { border-color: rgba(30, 28, 26, .2); }
.btn-outline:hover { background: transparent; border-color: var(--primary); color: var(--primary); }
.site-header-cta .btn-outline { font-size: .8rem; padding: .55em 1.2em; border-color: rgba(140, 90, 60, .4); color: var(--primary); }
.site-header-cta .btn-outline:hover { background: var(--primary); color: var(--primary-foreground); }

/* Header kaca */
.site-header { background: rgba(250, 248, 245, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom-color: rgba(229, 223, 213, .7); }
.site-logo-name { color: var(--foreground); }
.site-logo-tagline { letter-spacing: .18em; font-size: .68rem; }
.primary-nav .nav-menu a { color: var(--muted-foreground); font-size: .875rem; }
.primary-nav .nav-menu a:hover { color: var(--primary); }

/* Hero */
.hero {
	padding-block: clamp(56px, 8vw, 104px);
	border-bottom: 1px solid rgba(229, 223, 213, .6);
	background: radial-gradient(circle at 50% 35%, rgba(140, 90, 60, .09) 0%, rgba(243, 239, 232, .4) 45%, rgba(250, 248, 245, 0) 75%);
}
.hero-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 56px; align-items: center; }
.hero-eyebrow {
	display: inline-block; margin: 0 0 1.4em; padding: .4em 1em; border-radius: 999px;
	background: var(--secondary); border: 1px solid var(--border);
	font-size: .72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--primary);
}
.hero-title { font-size: clamp(2.4rem, 5vw, 3.75rem); font-weight: 600; line-height: 1.1; letter-spacing: -.01em; margin-bottom: .45em; }
.hero-title em { font-weight: 400; color: var(--primary); }
.hero-subtitle { font-size: 1.05rem; color: var(--muted-foreground); max-width: 34em; margin-bottom: 2em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-verse { margin: 2.2em 0 0; padding-top: 1.2em; border-top: 1px solid var(--border); max-width: 28em; font-family: var(--font-serif); font-style: italic; font-size: 1.05rem; color: var(--muted-foreground); }

.hero-arch-wrap { display: flex; justify-content: center; }
.hero-arch {
	width: 100%; max-width: 360px; aspect-ratio: 4 / 5; padding: 18px;
	border: 1px solid var(--border); background: rgba(243, 239, 232, .7); box-shadow: var(--shadow-soft);
	border-radius: 9999px 9999px 24px 24px;
}
.hero-arch-inner {
	height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: space-between; text-align: center;
	padding: 22% 24px 28px; border: 1px solid rgba(140, 90, 60, .25); border-radius: 9999px 9999px 20px 20px;
	background: linear-gradient(180deg, #EFE9DF, #F7F4EE 50%, #FAF8F5);
}
.hero-arch-motto { text-wrap: balance; max-width: 20em; font-size: .66rem; line-height: 1.6; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-foreground); }
.hero-arch-icon { width: 72px; height: 96px; color: rgba(140, 90, 60, .8); }
.hero-arch-quote { font-family: var(--font-serif); font-style: italic; font-size: 1.2rem; margin: 0 0 .2em; }
.hero-arch-by { font-size: .7rem; color: var(--muted-foreground); margin: 0; letter-spacing: .04em; }

/* Seksi beranda */
.home-section { padding-block: clamp(56px, 7vw, 96px); border-bottom: 1px solid rgba(229, 223, 213, .6); }
.home-section-tint { background: rgba(243, 239, 232, .5); }
.container-narrow { max-width: 860px; }
.section-head { max-width: 40rem; margin-bottom: 2.6rem; }
.section-head h2, .panel h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); margin: .3em 0 0; }
.section-eyebrow { margin: 0; font-size: .72rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--primary); }

/* Tiga pilar (kartu promo) */
.promo-cards { padding: 0; }
.promo-card { background: rgba(243, 239, 232, .65); box-shadow: none; border-radius: 1rem; padding: 32px; transition: transform .45s cubic-bezier(.22, 1, .36, 1), box-shadow .45s cubic-bezier(.22, 1, .36, 1), border-color .3s ease; }
.promo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: rgba(140, 90, 60, .35); }
.promo-card-icon { background: var(--background); border: 1px solid var(--border); border-radius: .8rem; width: 44px; height: 44px; transition: background .2s, color .2s; }
.promo-card:hover .promo-card-icon { background: var(--primary); color: var(--primary-foreground); }
.promo-card-title { font-size: 1.6rem; }
.promo-card:hover .promo-card-title { color: var(--primary); }

/* Renungan */
.reflection-card { background: var(--background); border: 1px solid var(--border); border-radius: 1.5rem; padding: clamp(24px, 5vw, 48px); box-shadow: var(--shadow-soft); }
.reflection-card h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin: .3em 0 .6em; }
.reflection-card h2 a:hover { color: var(--primary); }
.reflection-excerpt { color: var(--muted-foreground); }
.reflection-excerpt p:first-child::first-letter { float: left; font-family: var(--font-serif); font-size: 3.6rem; line-height: .82; padding: 4px 12px 0 2px; color: var(--primary); font-weight: 600; }
.reflection-foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 1.5rem; padding-top: 1.2rem; border-top: 1px solid var(--border); font-size: .8rem; color: var(--muted-foreground); }
.reflection-foot a { color: var(--primary); font-weight: 500; }
.reflection-foot a:hover { text-decoration: underline; }

/* Filter kategori + grid artikel */
.filter-pills { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 14px; margin-bottom: 1.6rem; }
.filter-pills a { white-space: nowrap; padding: .5em 1.1em; border-radius: 999px; background: var(--secondary); border: 1px solid var(--border); font-size: .78rem; font-weight: 500; color: var(--muted-foreground); transition: border-color .2s, color .2s; }
.filter-pills a:hover { border-color: var(--primary); color: var(--foreground); }
.article-grid-3 { grid-template-columns: repeat(3, 1fr); margin-bottom: 0; }
.article-card { border-radius: 1rem; box-shadow: none; background: var(--background); transition: transform .45s cubic-bezier(.22, 1, .36, 1), box-shadow .45s cubic-bezier(.22, 1, .36, 1), border-color .3s; }
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: rgba(140, 90, 60, .35); }
.article-card-title { font-size: 1.45rem; line-height: 1.25; }
.badge { background: transparent; padding: 0; color: var(--primary); font-size: .7rem; letter-spacing: .12em; }

/* Intensi doa, retret, donasi */
.prayer-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 32px; align-items: start; }
.panel { background: var(--background); border: 1px solid var(--border); border-radius: 1.5rem; padding: clamp(24px, 4vw, 40px); }
.panel-desc { color: var(--muted-foreground); font-size: .92rem; margin: .8em 0 1.6em; }
.side-stack { display: flex; flex-direction: column; gap: 24px; }
.panel-dark { background: #262320; border-color: #262320; color: rgba(250, 248, 245, .78); }
.panel-dark .section-eyebrow { color: #D2B49C; }
.panel-dark h3 { color: var(--background); font-size: 1.7rem; margin: .4em 0; }
.panel-dark p { font-size: .9rem; }
.retret-list { margin: 1rem 0 1.4rem; }
.retret-list li { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.retret-list li:last-child { border-bottom: 0; }
.retret-list strong { display: block; font-weight: 500; }
.retret-list span { font-size: .78rem; color: var(--muted-foreground); }
.retret-list time { font-size: .78rem; font-weight: 500; color: var(--primary); text-align: right; max-width: 9em; }
.text-link { font-size: .8rem; font-weight: 500; color: var(--primary); }
.text-link:hover { text-decoration: underline; }
.prayer-form select { width: 100%; padding: .7em .9em; border: 1px solid var(--input); border-radius: var(--radius); background: var(--background); color: var(--foreground); font-family: inherit; font-size: .95rem; }
.prayer-form input[type="text"], .prayer-form input[type="email"], .prayer-form textarea { background: rgba(243, 239, 232, .6); }
.prayer-form .btn-block { width: auto; padding-inline: 2em; }

/* Footer terang */
.site-footer { margin-top: 0; border-top: 1px solid var(--border); }
.footer-col-title { font-size: .72rem; font-weight: 600; letter-spacing: .14em; font-family: var(--font-sans); }
.footer-menu a:hover { color: var(--primary); }

/* Gerak halus, parameter disamakan dengan konsep (GSAP power2.out). Hero jalan sendiri saat load;
   seksi dan kartu pilar menunggu masuk layar (kelas is-visible dari main.js). Tanpa JS tetap terlihat. */
:root { --ease-out: cubic-bezier(.5, 1, .89, 1); }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.hero-copy > * { animation: rise 1.05s var(--ease-out) both; }
.hero-copy > :nth-child(2) { animation-delay: .14s; }
.hero-copy > :nth-child(3) { animation-delay: .28s; }
.hero-copy > :nth-child(4) { animation-delay: .42s; }
.hero-copy > :nth-child(5) { animation-delay: .56s; }
.hero-arch { animation: rise 1.25s var(--ease-out) .25s both; }

.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal .promo-card { opacity: 0; transform: translateY(24px); transition: opacity .85s var(--ease-out), transform .85s var(--ease-out), box-shadow .45s, border-color .3s; }
.js .reveal.is-visible .promo-card { opacity: 1; transform: none; }
.js .reveal.is-visible .promo-card:nth-child(2) { transition-delay: .12s; }
.js .reveal.is-visible .promo-card:nth-child(3) { transition-delay: .24s; }
.js .reveal.is-visible .promo-card:hover { transform: translateY(-4px); transition-delay: 0s; }
@media (prefers-reduced-motion: reduce) {
	.hero-copy > *, .hero-arch { animation: none; }
	.js .reveal, .js .reveal .promo-card { opacity: 1; transform: none; transition: none; }
}

#reading-progress { position: fixed; top: 0; left: 0; height: 2.5px; width: 0; background: var(--primary); z-index: 200; }

@media (max-width: 900px) {
	.hero-grid, .prayer-grid { grid-template-columns: 1fr; }
	.hero-copy { text-align: center; }
	.hero-subtitle { margin-inline: auto; }
	.hero-actions { justify-content: center; }
	.hero-verse { margin-inline: auto; }
	.article-grid-3 { grid-template-columns: 1fr; }
}
@media (min-width: 640px) and (max-width: 900px) { .article-grid-3 { grid-template-columns: repeat(2, 1fr); } }

.home-section .promo-cards .container { padding-inline: 0; }

/* Placeholder kartu artikel: logo situs di atas parchment, bukan blok coklat. */
.article-card-media-placeholder { background: var(--secondary); color: var(--gold); }
.article-card-media .article-card-placeholder-logo { width: 34%; max-width: 140px; height: auto; max-height: 70%; object-fit: contain; opacity: .9; }
