/*
Theme Name: Astra Child - BRCRD
Theme URI: https://wpastra.com/
Description: Child theme of Astra for the parish site facelift.
Author: BRCRD
Template: astra
Version: 2.0.0
Text Domain: astra-child
*/

/* =====================================================================
   BRCRD — modern design system
   Same data/markup hooks as the legacy theme (ids kept where JS/plugins
   bind to them), entirely new visual layer.
   ===================================================================== */

:root {
	--color-primary: #a6304a;
	--color-primary-dark: #7c2438;
	--color-primary-soft: #f6e6e9;
	--color-accent: #c79a3d;
	--color-accent-soft: #f7edd9;
	--color-ink: #241f1c;
	--color-ink-soft: #6b6259;
	--color-bg: #faf7f2;
	--color-surface: #ffffff;
	--color-border: #ece4d8;
	--radius-sm: 8px;
	--radius-md: 14px;
	--radius-lg: 22px;
	--shadow-sm: 0 1px 3px rgba(36, 31, 28, 0.06);
	--shadow-md: 0 10px 30px -12px rgba(36, 31, 28, 0.18);
	--font-display: 'Fraunces', 'Caudex', Georgia, serif;
	--font-body: 'Inter', 'Andika', -apple-system, BlinkMacSystemFont, sans-serif;
	--container: 1180px;
}

/* -------------------------- Reset & base -------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
img { border-style: none; max-width: 100%; height: auto; }
/* Old posts often have raw pasted embeds (YouTube's default 560x315
   iframe, etc.) with no responsive wrapper. Without this, they overflow
   the content column — and drag any sibling element (hr, etc.) along
   with them — on any screen narrower than the embed's fixed width. */
iframe { max-width: 100%; }
.clear { clear: both; }
.hidden, .hide { display: none !important; }

body {
	font-family: var(--font-body);
	color: var(--color-ink);
	background: var(--color-bg);
	-webkit-font-smoothing: antialiased;
	line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	color: var(--color-ink);
	font-weight: 600;
	line-height: 1.2;
	margin: 0 0 0.5em;
}
h1 { font-size: clamp(28px, 4vw, 42px); font-weight: 500; }
h2 { font-size: clamp(22px, 3vw, 30px); }
h3 { font-size: 20px; }
h4 { font-size: 17px; font-weight: 600; }

p { color: var(--color-ink); font-size: 1rem; line-height: 1.7; }
p + p { margin-top: 1em; }

a { color: var(--color-primary); text-decoration: none; transition: color 150ms ease; }
a:hover { color: var(--color-primary-dark); }

ul { list-style: none; }

/* ------------------------------ Buttons ------------------------------ */
.button, input[type="submit"], .ph-button, .rmore.all, #pagina a.prev, #pagina a.next, .sinod .gotoform {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: var(--color-primary);
	color: #fff !important;
	border: none;
	border-radius: 999px;
	padding: 10px 22px;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	transition: background 150ms ease, transform 150ms ease;
}
.button:hover, input[type="submit"]:hover, .ph-button:hover, .rmore.all:hover {
	background: var(--color-primary-dark);
	transform: translateY(-1px);
	color: #fff !important;
}

/* ------------------------------ Layout shell ------------------------------ */
#wrapper { min-height: 100%; }

.site-main { padding: 32px 20px 64px; }

.page-wrap {
	max-width: var(--container);
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 32px;
	align-items: start;
}
.page-wrap.no-sidebar { grid-template-columns: minmax(0, 1fr); }

.card {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
	padding: clamp(24px, 4vw, 48px);
}

.page-content { min-width: 0; }
.table-scroll { overflow-x: auto; margin: 16px 0; -webkit-overflow-scrolling: touch; }
.table-scroll table { height: auto !important; border-collapse: collapse; }
.table-scroll td, .table-scroll th { padding: 8px 12px; }
.page-title { border-bottom: 2px solid var(--color-accent-soft); padding-bottom: 16px; margin-bottom: 24px; }
.page-content .wp-post-image { border-radius: var(--radius-md); margin-bottom: 20px; }
.page-content p { margin-bottom: 1em; }

/* ------------------------------ Header ------------------------------ */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(250, 247, 242, 0.92);
	backdrop-filter: blur(10px);
}
.site-header::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 3px;
	background: linear-gradient(90deg, #CE1126 0 33.33%, #FCD116 33.33% 66.66%, #002B7F 66.66% 100%);
}
.site-header__inner {
	max-width: var(--container);
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 20px;
	gap: 24px;
}
.site-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	color: var(--color-ink) !important;
}
.site-brand__mark-wrap {
	position: relative;
	display: block;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	padding: 2px;
	background: conic-gradient(from -90deg, #CE1126 0 33.33%, #FCD116 33.33% 66.66%, #002B7F 66.66% 100%);
	flex-shrink: 0;
}
.site-brand__mark {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid var(--color-bg);
}
.site-brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.site-brand__text strong { font-family: var(--font-display); font-size: 18px; font-weight: 600; }
.site-brand__text small { font-size: 12px; color: var(--color-ink-soft); letter-spacing: 0.2px; }
.site-brand__celtic {
	position: absolute;
	bottom: -7px;
	right: -7px;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--color-surface);
	border: 1.5px solid var(--color-border);
	box-shadow: var(--shadow-sm);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #169B62;
}

.nav-toggle {
	display: none;
	width: 40px;
	height: 40px;
	border: none;
	background: transparent;
	cursor: pointer;
	position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
	content: '';
	position: absolute;
	left: 8px;
	right: 8px;
	height: 2px;
	background: var(--color-ink);
	transition: transform 200ms ease, opacity 200ms ease;
}
.nav-toggle span { top: 19px; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle.is-active span { background: transparent; }
.nav-toggle.is-active span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span::after { transform: translateY(-7px) rotate(-45deg); }

.site-nav__list { display: flex; align-items: center; gap: 4px; }
.site-nav__list li { position: relative; }
.site-nav__list > li > a {
	display: block;
	padding: 10px 14px;
	color: var(--color-ink);
	font-weight: 600;
	font-size: 14.5px;
	border-radius: 999px;
	transition: background 150ms ease, color 150ms ease;
}
.site-nav__list > li > a:hover,
.site-nav__list > li.current-menu-item > a,
.site-nav__list > li.current_page_item > a {
	background: var(--color-primary-soft);
	color: var(--color-primary-dark);
}
.site-nav__list ul {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-md);
	padding: 8px;
	z-index: 10;
}
.site-nav__list li:hover > ul { display: block; }
.site-nav__list ul li a { display: block; padding: 8px 12px; border-radius: var(--radius-sm); font-size: 14px; }
.site-nav__list ul li a:hover { background: var(--color-primary-soft); }

@media (max-width: 860px) {
	.nav-toggle { display: block; }
	.site-nav {
		display: none;
		width: 100%;
		order: 3;
	}
	.site-nav.is-open { display: block; }
	.site-header__inner { flex-wrap: wrap; }
	.site-nav__list { flex-direction: column; align-items: stretch; gap: 2px; padding: 10px 0; }
	.site-nav__list ul { position: static; box-shadow: none; display: block; padding-left: 12px; }
}
@media (max-width: 420px) {
	.site-brand__text strong { font-size: 15px; }
	.site-brand__text small { font-size: 11px; }
	.site-brand__mark-wrap { width: 38px; height: 38px; }
}

/* ------------------------------ Footer ------------------------------ */
.site-footer {
	background: var(--color-ink);
	color: #efe9e2;
	margin-top: 48px;
}
.site-footer__inner {
	max-width: var(--container);
	margin: 0 auto;
	padding: 56px 20px 24px;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
}
.site-footer h4 {
	color: #fff;
	font-family: var(--font-body);
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-bottom: 16px;
	opacity: 0.75;
}
.site-footer ul { padding-left: 0; margin-left: 0; }
.site-footer ul ul { padding-left: 16px; margin-top: 6px; }
.site-footer ul li { margin-bottom: 8px; }
.site-footer ul li a, .site-footer address, .site-footer li { color: #d8cfc4; font-size: 14.5px; font-style: normal; }
.site-footer ul li a:hover { color: #fff; }
.site-footer__bottom {
	border-top: 1px solid rgba(255,255,255,0.1);
	text-align: center;
	padding: 18px 20px;
	font-size: 13px;
	color: #a89e92;
}
@media (max-width: 760px) {
	.site-footer__inner { grid-template-columns: 1fr; gap: 28px; }
}

/* ------------------------------ Sidebar / info cards ------------------------------ */
.sidebar { display: flex; flex-direction: column; gap: 20px; }
.info-card {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
}
.info-card__link { display: block; background: var(--color-primary); }
.info-card__title { color: #fff !important; margin: 0; padding: 14px 18px; font-size: 16px; }
.info-card__body { padding: 16px 18px; }
.info-card__body p { font-size: 14px; margin-bottom: 8px; color: var(--color-ink-soft); }
.info-card__body .info-label { color: var(--color-ink); font-weight: 700; }
@media (max-width: 600px) {
	.sidebar { gap: 10px; }
	.info-card__title { padding: 8px 14px; font-size: 14px; }
	.info-card__body { padding: 10px 14px; }
	.info-card__body p { font-size: 13px; margin-bottom: 4px; }
}
@media (max-width: 900px) {
	.page-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.page-wrap { gap: 20px; }
	.site-main { padding: 20px 16px 40px; }
}

/* ------------------------------ Homepage ------------------------------ */
.myhomepage #content { padding: 0 20px 40px; }
#homepage_content { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
#maincont { min-width: 0; }
@media (max-width: 900px) { #homepage_content { grid-template-columns: 1fr; } }
@media (max-width: 600px) { #homepage_content { gap: 20px; } }

#overslider {
	border-radius: var(--radius-lg);
	overflow: hidden;
	margin: 24px auto 32px;
	max-width: var(--container);
	box-shadow: var(--shadow-md);
}
#slider2 img { width: 100%; display: block; }
#slider2 li { margin: 0; }
/* Before lightSlider initializes (JS removes this class once it has),
   show the first slide as a plain CSS background-image (set inline by
   PHP) and hide the <ul> via visibility so it still occupies its normal
   box — lightSlider measures the untouched <li>/img elements during
   init, so nothing about their layout is altered while loading. */
#overslider.is-loading { aspect-ratio: 1200 / 420; background-size: cover; background-position: center; }
#overslider.is-loading #slider2 { visibility: hidden; }

.daily-bar {
	display: grid;
	grid-template-columns: repeat(3, minmax(0,1fr));
	gap: 16px;
	margin-bottom: 28px;
}
@media (max-width: 700px) {
	.daily-bar { grid-template-columns: 1fr; }
}
.daily-card {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-top: 4px solid var(--color-accent);
	border-radius: var(--radius-md);
	padding: 20px;
	text-align: center;
	box-shadow: var(--shadow-sm);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}
.daily-card h5 { font-family: var(--font-body); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-ink-soft); margin-bottom: 8px; }
.daily-card .sfantofday { font-style: italic; color: var(--color-ink); }
#header_daily_image { display: block; width: 60px; height: 46px; background-repeat: no-repeat; background-position: center; background-size: contain; margin-bottom: 10px; margin-left: auto; margin-right: auto; }
#lectures { display: block; font-weight: 700; color: var(--color-primary); margin-top: 8px; }

#live_webcam { width: 100%; }
#live_webcam a { display: flex; justify-content: center; }
#live_webcam .holder { display: flex; justify-content: center; }
.livenow { display: flex; flex-direction: column; align-items: center; gap: 8px; font-weight: 700; color: var(--color-primary-dark); }
.livenow-dots { display: flex; align-items: center; justify-content: center; gap: 10px; }
.livenow-dots > div {
	width: 10px; height: 10px; border-radius: 50%; background: #e0344c;
	animation: live-pulse 1.4s infinite ease-in-out;
}
.livenow-dots > div:nth-child(2) { animation-delay: .2s; }
.livenow-dots > div:nth-child(3) { animation-delay: .4s; }
.livenow p { font-size: 14px; font-weight: 700; color: inherit; }
@keyframes live-pulse { 0%,80%,100% { transform: scale(0.7); opacity: .6; } 40% { transform: scale(1); opacity: 1; } }

.liturgical-card { margin-bottom: 20px; padding: 18px 28px; }
.liturgical-card #al-bar-wrap { margin-top: 0; padding-top: 0; border-top: none; }
.liturgical-card .al-next-feast-banner { margin-bottom: 4px; }
.liturgical-card .al-next-feast-label { font-size: 12px; margin-bottom: 4px; }
.liturgical-card .al-next-feast-name { font-size: 17px; }
.liturgical-card .al-next-feast-date { font-size: 14px; }
.liturgical-card .al-next-feast-when { font-size: 13px; }
.liturgical-card .al-expand-section { margin-top: 4px; padding: 8px 12px 2px; gap: 3px; }
.liturgical-card .al-expand-text { font-size: 16px; }

#hometext.white_partition, #hometext { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: clamp(20px, 4vw, 40px); box-shadow: var(--shadow-sm); }
#home_wysiwyg { font-family: var(--font-body); font-size: 16px; color: var(--color-ink); line-height: 1.75; }
#home_wysiwyg * { all: revert; font-family: var(--font-body); }
/* `all: revert` above also wipes the global img{max-width:100%} safety net
   (and box-sizing), which lets old images/tables/hrs with fixed pixel
   widths overflow the card and drag the whole page into horizontal
   scroll on narrow screens. Restore just the containment, nothing else. */
#home_wysiwyg * { max-width: 100%; box-sizing: border-box; }
#home_wysiwyg img { height: auto; }
#home_wysiwyg table { display: block; overflow-x: auto; }
#home_wysiwyg strong, #home_wysiwyg b { font-weight: 700 !important; }
#home_wysiwyg a { color: var(--color-primary); }

#common_prayer { margin-top: 20px; padding-top: 16px; border-top: 1px dashed var(--color-border); cursor: pointer; }
#common_prayer h6 { text-transform: uppercase; font-size: 12px; letter-spacing: .05em; color: var(--color-ink-soft); margin-bottom: 4px; }
#common_prayer p { font-size: 14px; font-style: italic; color: var(--color-ink-soft); }
#common_prayer p span { color: var(--color-primary); font-weight: 600; }

.modal { position: fixed; inset: 0; z-index: 999; display: flex; align-items: center; justify-content: center; background: rgba(36,31,28,.6); opacity: 0; pointer-events: none; transition: opacity 250ms ease; }
.modal-btn:checked ~ .modal { opacity: 1; pointer-events: auto; }
.modal-wrap { background: #fff; max-width: 480px; width: calc(100% - 40px); max-height: 80vh; overflow-y: auto; border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-md); transform: scale(0.95); transition: transform 250ms ease; }
.modal-btn:checked ~ .modal .modal-wrap { transform: scale(1); }
.modal-wrap img { border-radius: var(--radius-md); margin-bottom: 16px; }

#lastmedia { margin: 40px 0; overflow: hidden; }
/* .media_slick_item has its own left/right margin for card gutters, but
   slick's own .slick-list clips at the un-adjusted track edge — so a
   sliver of the neighbouring (or cloned, for the infinite loop) slide
   peeks out past the edge of the visible card. Expand the clip window
   to match. */
.media_slick.slick-slider { margin: 0 -8px; }
.media_slick .slick-list { overflow: hidden; }
#lastarticles h3.arttitle { margin-bottom: 20px; }
.media_slick_item { position: relative; border-radius: var(--radius-md); overflow: hidden; margin: 0 8px; box-shadow: var(--shadow-sm); }
.media_slick_item img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.media_slick_item .text { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(0deg, rgba(36,31,28,.85), transparent); color: #fff; font-size: 14px; font-weight: 600; padding: 24px 12px 10px; text-align: left; }
.media_slick_item p.date { top: 10px; right: 10px; left: auto; bottom: auto; background: none; font-size: 11px; padding: 0; }
.media_slick_item a.play { position: absolute; inset: 0; margin: auto; width: 46px; height: 46px; background: rgba(255,255,255,0.9) url(images/play-btn.png) center/20px no-repeat; border-radius: 50%; }
.slick-prev, .slick-next { z-index: 5; }
.arrows {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	box-shadow: var(--shadow-md);
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 150ms ease, transform 150ms ease;
}
.arrows:hover { background: var(--color-primary-soft); }
.arrows::before {
	content: '';
	display: block;
	width: 8px;
	height: 8px;
	border-style: solid;
	border-width: 0 2px 2px 0;
	border-color: var(--color-primary);
}
.prevm { left: 10px; }
.prevm::before { transform: rotate(135deg); margin-left: 3px; }
.nextm { right: 10px; }
.nextm::before { transform: rotate(-45deg); margin-right: 3px; }

#lastarticles { margin-top: 32px; }
.article-list { display: grid; gap: 16px; margin-top: 16px; }
.article-card, #lastarticles .article, #articles article { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 20px 24px; box-shadow: var(--shadow-sm); }
.article-card h3, #lastarticles .article h3, #articles article h3 { font-size: 19px; margin-bottom: 6px; }
.article-card .meta, #articles article header p { font-size: 13px; color: var(--color-ink-soft); }
.excerpt-byline { display: block; font-weight: 700; font-size: 13px; color: var(--color-ink-soft); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 6px; }

/* ------------------------------ Photo / video grids ------------------------------ */
.gallery-grid, #galerie, .picture { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; margin-top: 20px; }
.snip1572 { position: relative; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); aspect-ratio: 4/3; float: none; width: auto; max-width: none; max-height: none; }
.snip1572 .snip_album, .snip1572 a.cover { width: 100%; height: 100%; padding-bottom: 0; display: block; background-size: cover !important; background-position: center !important; }
.snip1572 h4 { position: absolute; left: 0; right: 0; bottom: 0; top: auto; margin: 0; padding: 14px; text-align: left; background: linear-gradient(0deg, rgba(0,0,0,.7), transparent); color: #fff; font-size: 15px; font-weight: 600; }
.snip1572 h4 a { color: #fff; font-size: inherit; }

#videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; margin-top: 20px; }
#videos .bvideo { float: none; width: auto; height: 200px; margin: 0; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }

/* ------------------------------ Contact / forms ------------------------------ */
#contact { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 24px; }
#leftform label { display: block; font-weight: 600; font-size: 14px; margin-top: 14px; margin-bottom: 4px; }
#leftform input[type="text"], #leftform input[type="email"], #leftform textarea {
	width: 100%; border: 1px solid var(--color-border); border-radius: var(--radius-sm); padding: 10px 12px; font-family: var(--font-body); font-size: 14px; background: var(--color-bg);
}
#rightform table { margin-top: 4px; margin-bottom: 24px; width: 100%; border-collapse: collapse; border: none; }
#rightform td { padding: 12px 14px; font-size: 15px; border: none; border-bottom: 1px solid var(--color-border); vertical-align: top; }
#rightform tr:last-child td { border-bottom: none; }
#rightform tr td:first-child { font-weight: 600; padding-left: 0; padding-right: 16px; white-space: nowrap; width: 1%; color: var(--color-ink-soft); }
#gmap iframe { width: 100%; border: none; border-radius: var(--radius-md); }
@media (max-width: 760px) { #contact { grid-template-columns: 1fr; } }

/* ------------------------------ Sitemap / priests ------------------------------ */
.sitemap ul { margin-top: 16px; }
.sitemap li { padding: 4px 0; }
.sitemap li a { font-size: 16px; }
.sitemap li ul { margin-left: 18px; }

.preoti #articles article { display: flex; gap: 20px; flex-wrap: wrap; }
.preoti #articles article img { border-radius: var(--radius-md); float: none; margin: 0; }
@media (max-width: 480px) {
	.preoti #articles article { flex-direction: column; align-items: center; text-align: center; }
}

/* ------------------------------ Pagination ------------------------------ */
#pagina { margin-top: 24px; display: flex; gap: 8px; flex-wrap: wrap; }
.page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--color-border); font-weight: 600; font-size: 14px; color: var(--color-ink); }
.page-numbers.current, a.page-numbers:hover { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }

/* ------------------------------ Video gallery play-button overlay ------------------------------ */
.snip1572.video-item .snip_album::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 56px;
	height: 56px;
	background: rgba(255,255,255,0.92);
	border-radius: 50%;
	transition: transform 200ms ease;
}
.snip1572.video-item .snip_album::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-40%, -50%);
	width: 0;
	height: 0;
	border-left: 18px solid var(--color-primary);
	border-top: 12px solid transparent;
	border-bottom: 12px solid transparent;
}
.snip1572.video-item:hover .snip_album::before { transform: translate(-50%, -50%) scale(1.08); }

/* ------------------------------ Single post / video / gallery ------------------------------ */
.goback { margin-bottom: 20px; }
#in_video { margin: 20px 0; }
.artt { margin-top: 24px; display: flex; justify-content: space-between; gap: 12px; }
.artt a { font-size: 13px; padding: 8px 16px; }
#shared { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--color-border); }
#album { margin-top: 20px; }

/* ------------------------------ Readings calendar ------------------------------ */
.readings #readings-today { margin-top: 8px; line-height: 1.9; }
#toggle-calendar { margin-bottom: 24px; }
#cal-popup { border-radius: var(--radius-lg) !important; font-family: var(--font-body); }
#cal-table td.today { background: var(--color-primary) !important; }
#cal-table td.selected { background: var(--color-ink) !important; }
#cal-table td:hover { background: var(--color-primary-soft) !important; }
#cal-nav button { border-radius: var(--radius-sm) !important; }

/* ------------------------------ Video single / live camera ------------------------------ */
.video_container { position: relative; width: 100%; height: 0; padding-bottom: 56.25%; border-radius: var(--radius-md); overflow: hidden; }
.video_container iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.video-pg-brcrd .video-js .vjs-big-play-button { background: var(--color-primary); border: none; }
#camera_1 { max-width: 100%; border-radius: var(--radius-md); }
#camera_buttons { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 16px; }

/* ------------------------------ Lumina Crestinului ------------------------------ */
.lumina_crestinului #maincont_lumina { max-width: 700px; margin: 0 auto; }

/* ------------------------------ Misc content polish ------------------------------ */
#wrapper img.aligncenter { display: block; margin: 0 auto 12px; border-radius: var(--radius-md); }
#wrapper img.alignright { float: right; margin: 4px 0 12px 20px; border-radius: var(--radius-md); }
#wrapper img.alignleft { float: left; margin: 4px 20px 12px 0; border-radius: var(--radius-md); }
