/* Pagina lăcașului: preotul în mijloc, pozele bisericii de jur împrejur; rugăciunile pe icoană (29 nov 2026, Primarul). Vezi _p_lacas.py. */
.lc-pg h1 { margin: 6px 0 0; }
.lc-hram { margin: 6px 0 0; font-size: 18px; color: var(--text2, #555); }

/* scena: fond în culoarea site-ului, trei coloane: 3 poze | preotul | 3 poze */
.lc-scena { margin-top: 26px; padding: 40px 0 46px; background: linear-gradient(180deg, var(--ac-i) 0%, color-mix(in srgb, var(--ac-i) 82%, #000) 100%); }
.lc-grila { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1fr); gap: 22px; align-items: center; }
.lc-col { display: grid; gap: 18px; }
.lc-jur { display: block; aspect-ratio: 3 / 2; border-radius: 10px; overflow: hidden; box-shadow: 0 14px 28px -18px rgb(0 0 0 / .8); border: 3px solid rgb(255 255 255 / .9); }
.lc-jur img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.lc-jur:hover img, .lc-jur:focus-visible img { transform: scale(1.05); }

/* preotul: cadru arcuit, ca o ușă de biserică, cu tiv auriu; textul alb jos, pe poză */
.lc-preot { position: relative; margin: 0; aspect-ratio: 857 / 1500; max-height: 760px; justify-self: center; width: 100%;
  border-radius: 999px 999px 14px 14px / 34% 34% 14px 14px; overflow: hidden; border: 4px solid #d9b56a;
  box-shadow: 0 0 0 8px rgb(255 255 255 / .12), 0 30px 50px -26px rgb(0 0 0 / .85); }
.lc-preot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lc-preot figcaption { position: absolute; inset: auto 0 0 0; padding: 90px 22px 24px; text-align: center; color: #fff;
  background: linear-gradient(180deg, transparent 0%, rgb(0 0 0 / .55) 38%, rgb(0 0 0 / .82) 100%); }
.lc-preot figcaption p { margin: 0 0 10px; font: 600 21px/1.3 var(--titlu); letter-spacing: .02em; text-shadow: 0 1px 4px rgb(0 0 0 / .7); }
.lc-preot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.lc-preot li a { display: inline-block; padding: 4px 6px; color: #fff; font: 700 26px/1.25 var(--titlu); letter-spacing: .02em; text-decoration: underline;
  text-decoration-color: rgb(217 181 106 / .9); text-decoration-thickness: 2px; text-underline-offset: .22em; text-shadow: 0 1px 4px rgb(0 0 0 / .8); }
.lc-preot li a:hover, .lc-preot li a:focus-visible { color: #ffd969; }

.lc-inapoi { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 26px 0 40px; font-weight: 600; }
.lc-inapoi a { color: var(--ac-i); }

/* ------------------------------------------------ rugăciunea pe icoană: rândul de acum la mijloc, celelalte se sting spre margini */
.rg-scena { position: relative; isolation: isolate; overflow: hidden; margin-top: 22px; height: min(86vh, 860px); min-height: 520px; background: #1a1410;
  display: grid; place-items: center; }
.rg-fond { position: absolute; inset: -40px; z-index: -2; background-size: cover; background-position: center; filter: blur(28px) brightness(.45) saturate(1.2); }
.rg-icoana { position: absolute; z-index: -1; height: 94%; width: auto; max-width: 94%; object-fit: contain; border-radius: 6px; box-shadow: 0 30px 60px -20px rgb(0 0 0 / .9); }
/* voalul peste icoană, ca scrisul alb să se citească, mai închis la mijloc */
.rg-scena::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, transparent 12%, rgb(0 0 0 / .62) 30%, rgb(0 0 0 / .7) 50%, rgb(0 0 0 / .62) 70%, transparent 88%); }
.rg-f { width: min(980px, 94%); height: 330px; padding: 0 3%; box-sizing: border-box; overflow: hidden; overflow: clip;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 78%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 78%, transparent 100%); }
.rg-v { list-style: none; margin: 0; padding: 0; text-align: center; transition: transform .9s cubic-bezier(.2, .7, .3, 1); will-change: transform; }
.rg-v li { padding: 7px 4px; overflow-wrap: anywhere; font: 700 34px/1.3 var(--titlu); letter-spacing: .02em; color: rgb(255 255 255 / .82);
  text-shadow: 0 1px 2px #000, 0 0 12px rgb(0 0 0 / .9), 0 0 26px rgb(0 0 0 / .7); transition: color .6s, transform .6s; }
.rg-v li.rg-nou { margin-top: 22px; }
.rg-v li.trecut { color: rgb(255 255 255 / .7); }
.rg-v li.acum { color: #ffe08a; transform: scale(1.03); }
.rg-bt { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; }
.rg-b { font: 600 15px/1 var(--text, inherit); padding: 11px 18px; border-radius: 999px; border: 1px solid rgb(255 255 255 / .5); background: rgb(0 0 0 / .45);
  color: #fff; cursor: pointer; white-space: nowrap; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.rg-b:hover, .rg-b:focus-visible { background: rgb(0 0 0 / .65); border-color: #fff; }
/* pauză / de la început: doar simbolul, rotund */
.rg-i { width: 48px; height: 48px; padding: 0; display: grid; place-items: center; }
.rg-s { width: 22px; height: 22px; }
.rg-s-pauza, .rg-s-porneste { fill: currentColor; }
.rg-i .rg-s-porneste, .rg-i.oprit .rg-s-pauza { display: none; }
.rg-i.oprit .rg-s-porneste { display: block; }
/* viteza: 1x 1,5x 2x, cea aleasă plină */
.rg-viteze { display: flex; gap: 4px; margin-left: 6px; padding: 4px; border-radius: 999px; background: rgb(0 0 0 / .35); }
.rg-vit { padding: 9px 13px; font-variant-numeric: tabular-nums; border-color: transparent; background: transparent; }
.rg-vit[aria-pressed="true"] { background: #fff; color: #1a1410; border-color: #fff; }

.rg-jos { max-width: 820px; text-align: center; }   /* 29 nov seara (Tudor): rugăciunea scrisă pe mijloc */
.rg-scris { margin-top: 36px; }
.rg-scris h2 { font: 600 26px/1.2 var(--titlu); letter-spacing: .03em; }
.rg-scris p { font-size: 19px; line-height: 1.75; margin: 0 0 1.1em; text-wrap: balance; }
.rg-jos .lc-inapoi { text-align: left; }

@media (max-width: 900px) {
  .lc-scena { padding: 26px 0 30px; }
  .lc-grila { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .lc-preot { grid-column: 1 / -1; grid-row: 1; width: min(420px, 100%); }
  .lc-col { gap: 12px; }
  .lc-preot figcaption p { font-size: 18px; }
  .lc-preot li a { font-size: 22px; }
  .rg-scena { height: 78vh; min-height: 460px; }
  .rg-f { height: 280px; }
  .rg-v li { font-size: 23px; padding: 5px 2px; }
  .rg-f { width: 96%; padding: 0 2%; }
  .rg-bt { gap: 6px; bottom: 14px; }
  .rg-i { width: 44px; height: 44px; }
  .rg-vit { padding: 8px 10px; }
  .rg-v li.rg-nou { margin-top: 14px; }
  .rg-scris p { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .rg-v, .rg-v li, .lc-jur img { transition: none; }
}
