/* Msza Online – Liturgia dnia
 * v0.1.9: shortcode-only. CSS wyłącznie wewnątrz .mol-liturgia.
 */
.mol-liturgia{
  --mol-panel:#0d0d0b;
  --mol-ink:#e7e2d9;
  --mol-body:#c1bdb5;
  --mol-muted:#817d75;
  --mol-gold:#9f7c31;
  --mol-gold-soft:#b99750;
  --mol-line:rgba(176,138,54,.18);
  --mol-line-strong:rgba(176,138,54,.38);
  width:100%;
  max-width:none;
  margin:0;
  padding:18px 0 72px;
  color:var(--mol-body);
  background:transparent;
  font-family:"Inter",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-weight:300;
  line-height:1.72;
}
.mol-liturgia *{box-sizing:border-box}

.mol-liturgia .mol-day-head{
  position:relative;
  padding:0 2px 30px;
  text-align:left;
  border-bottom:1px solid var(--mol-line);
}
.mol-liturgia .mol-title-row{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:28px;
  margin:0 0 25px;
}
.mol-liturgia .mol-page-title{
  margin:0;
  color:var(--mol-ink);
  font-family:"Playfair Display",Georgia,serif;
  font-size:50px !important;
  font-weight:400;
  line-height:58px !important;
  letter-spacing:-.025em;
  text-transform:none;
}
.mol-liturgia .mol-date{
  margin:0 0 7px;
  color:#aaa39a;
  font-family:"Inter",Arial,sans-serif;
  font-size:18px;
  font-weight:300;
  line-height:32px;
  white-space:nowrap;
}
.mol-liturgia .mol-liturgy-kicker{
  margin:0 0 9px;
  color:var(--mol-gold-soft);
  font-family:"Inter",Arial,sans-serif;
  font-size:14px;
  font-weight:500;
  line-height:1.4;
  letter-spacing:.105em;
  text-transform:uppercase;
}
.mol-liturgia .mol-day-title{
  max-width:1160px;
  margin:0;
  color:var(--mol-ink);
  font-family:"Playfair Display",Georgia,serif;
  font-size:34px;
  font-weight:400;
  line-height:43px;
  letter-spacing:-.018em;
}
.mol-liturgia .mol-day-meta{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:9px;
  margin-top:12px;
  color:#aaa39a;
  font-family:"Inter",Arial,sans-serif;
  font-size:15px;
  font-weight:300;
  line-height:1.55;
}
.mol-liturgia .mol-meta-sep{color:#6f6759}
.mol-liturgia .mol-color-meta{display:inline-flex;align-items:center;gap:7px}
.mol-liturgia .mol-color-dot{
  width:10px;height:10px;border-radius:50%;display:inline-block;
  border:1px solid rgba(255,255,255,.30);
  box-shadow:inset 0 0 0 2px rgba(0,0,0,.25);
}
.mol-liturgia .mol-color-zielony{background:#4f745a}
.mol-liturgia .mol-color-bialy{background:#e8e4db}
.mol-liturgia .mol-color-czerwony{background:#8f3539}
.mol-liturgia .mol-color-fioletowy{background:#6f5677}
.mol-liturgia .mol-color-rozowy{background:#b46f7f}
.mol-liturgia .mol-color-czarny{background:#242424}
.mol-liturgia .mol-head-link{color:var(--mol-gold-soft);text-decoration:none;border-bottom:1px solid rgba(185,151,80,.42);padding-bottom:1px}
.mol-liturgia .mol-head-link:hover{color:#d2b36f;border-bottom-color:#d2b36f}
.mol-liturgia .mol-head-refs{
  margin-top:9px;
  color:#8e8981;
  font-family:"Inter",Arial,sans-serif;
  font-size:14px;
  font-weight:300;
  line-height:1.55;
}
.mol-liturgia .mol-head-refs-label{color:#aaa39a;font-weight:500}
.mol-liturgia .mol-section-kicker{
  color:var(--mol-gold-soft);
  font-size:.76rem;
  font-weight:600;
  letter-spacing:.105em;
  text-transform:uppercase;
}

.mol-liturgia .mol-quote-card{
  position:relative;
  margin:28px 0 48px;
  padding:clamp(28px,4vw,48px) clamp(28px,5vw,62px);
  text-align:left;
  background:linear-gradient(90deg,rgba(28,24,16,.42),rgba(14,13,11,.92) 30%,rgba(12,12,10,.95));
  border:1px solid rgba(159,124,49,.30);
  border-radius:9px;
  overflow:hidden;
}
.mol-liturgia .mol-quote-card:before{
  content:"";
  position:absolute;
  left:0;top:0;bottom:0;width:4px;
  background:var(--mol-gold);
}
.mol-liturgia .mol-quote{
  max-width:1120px;
  margin:17px 0 8px;
  padding:0;
  border:0;
  color:var(--mol-ink);
  font-family:"Playfair Display",Georgia,serif;
  font-size:clamp(1.85rem,2.8vw,2.95rem);
  font-weight:400;
  line-height:1.22;
  letter-spacing:-.016em;
}
.mol-liturgia .mol-quote-ref{margin-top:13px;color:var(--mol-gold-soft);font-size:.95rem;font-weight:600}
.mol-liturgia .mol-commentary{max-width:930px;margin:26px 0 0;color:#bbb6ae;font-size:clamp(1rem,1.4vw,1.1rem);line-height:1.78}
.mol-liturgia .mol-bt-source{max-width:930px;margin-top:22px;padding-top:15px;border-top:1px solid rgba(176,138,54,.12);color:#757169;font-size:.73rem}

/* Sigla */
.mol-liturgia .mol-references{margin:0 0 38px}
.mol-liturgia .mol-references h2,
.mol-liturgia .mol-modern-readings h2,
.mol-liturgia .mol-wujek h2{
  margin:6px 0 18px;
  color:var(--mol-ink);
  font-family:"Playfair Display",Georgia,serif;
  font-size:clamp(1.8rem,2.7vw,2.65rem);
  font-weight:400;
  line-height:1.15;
  letter-spacing:-.015em;
}
.mol-liturgia .mol-reference-list{margin:0;padding:0;list-style:none;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  border:1px solid var(--mol-line);
  border-radius:8px;
  overflow:hidden;
  background:rgba(13,13,11,.72);
}
.mol-liturgia .mol-reference-item{
  display:flex;
  justify-content:space-between;
  gap:20px;
  padding:17px 20px;
  border-bottom:1px solid var(--mol-line);
}
.mol-liturgia .mol-reference-item:nth-child(odd){border-right:1px solid var(--mol-line)}
.mol-liturgia .mol-reference-item:nth-last-child(-n+2){border-bottom:0}
.mol-liturgia .mol-reference-label{color:#9b968d;font-size:.76rem;font-weight:600;letter-spacing:.065em;text-transform:uppercase}
.mol-liturgia .mol-reference-value{color:var(--mol-gold-soft);font-size:.94rem;font-weight:500;text-align:right}

/* Współczesne czytania – iframe. */
.mol-liturgia .mol-modern-readings{margin:0 0 52px}
.mol-liturgia .mol-frame-shell{
  width:100%;
  height:700px !important;
  min-height:700px !important;
  max-height:700px !important;
  overflow:hidden;
  background:#fff;
  border:1px solid var(--mol-line-strong);
  border-radius:8px;
}
.mol-liturgia .mol-reading-frame{display:block;width:100%;height:700px !important;min-height:700px !important;max-height:700px !important;border:0;background:#fff}
.mol-liturgia .mol-frame-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:13px}
.mol-liturgia .mol-frame-source{color:#716d65;font-size:.75rem}
.mol-liturgia .mol-external{
  display:inline-block;
  color:var(--mol-gold-soft);
  font-size:.82rem;
  font-weight:500;
  text-decoration:none;
}
.mol-liturgia .mol-external:hover{text-decoration:underline;text-underline-offset:4px}

/* Wujek – celowo dyskretny, dodatkowy feature. */
.mol-liturgia .mol-wujek{
  margin-top:0;
  padding:28px 0 0;
  border-top:1px solid var(--mol-line);
}
.mol-liturgia .mol-wujek-intro{display:block}
.mol-liturgia .mol-wujek h2{margin-bottom:9px;font-size:clamp(1.65rem,2.35vw,2.25rem)}
.mol-liturgia .mol-wujek-intro p{max-width:880px;margin:0;color:#8d8981;font-size:.9rem;line-height:1.65}
.mol-liturgia .mol-wujek-intro .mol-wujek-note{margin-top:8px;color:#6f6b64;font-size:.74rem}
.mol-liturgia .mol-wujek-button{
  appearance:none;
  padding:11px 17px;
  color:var(--mol-gold-soft);
  background:transparent;
  border:1px solid rgba(176,138,54,.35);
  border-radius:999px;
  font:500 .84rem/1.2 "Inter",system-ui,sans-serif;
  cursor:pointer;
  white-space:nowrap;
  margin-top:18px;
  transition:border-color .2s ease,background .2s ease,color .2s ease;
}
.mol-liturgia .mol-wujek-button:hover{color:#ddc687;border-color:rgba(176,138,54,.65);background:rgba(176,138,54,.04)}
.mol-liturgia .mol-wujek-details{margin:0;padding:0}
.mol-liturgia .mol-wujek-details > summary{list-style:none}
.mol-liturgia .mol-wujek-details > summary::-webkit-details-marker{display:none}
.mol-liturgia .mol-wujek-summary-open{display:none}
.mol-liturgia .mol-wujek-details[open] .mol-wujek-summary-closed{display:none}
.mol-liturgia .mol-wujek-details[open] .mol-wujek-summary-open{display:inline}
.mol-liturgia .mol-wujek-content{margin-top:25px}
.mol-liturgia .mol-wujek-error{padding:17px 20px;border:1px solid var(--mol-line);border-radius:8px;color:#b7a788;background:rgba(13,13,11,.8)}

/* Historyczne teksty są w HTML od pierwszej odpowiedzi i rozwijają się natywnie przez <details>. */
.mol-liturgia .mol-reading{position:relative;margin:0;padding:clamp(25px,3.4vw,42px) clamp(24px,4vw,46px);background:rgba(13,13,11,.88);border:1px solid rgba(176,138,54,.14);border-bottom:0}
.mol-liturgia .mol-reading:first-child{border-radius:8px 8px 0 0}
.mol-liturgia .mol-reading:last-of-type{border-bottom:1px solid rgba(176,138,54,.14);border-radius:0 0 8px 8px}
.mol-liturgia .mol-reading-gospel{background:linear-gradient(90deg,rgba(27,23,15,.40),rgba(13,13,11,.92) 36%);border-left:4px solid var(--mol-gold)}
.mol-liturgia .mol-reading-meta{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:baseline;gap:22px;margin:0 0 18px;padding:0 0 14px;border-bottom:1px solid rgba(176,138,54,.11)}
.mol-liturgia .mol-reading-label{color:var(--mol-gold-soft);font-size:.82rem;font-weight:600;letter-spacing:.075em;text-transform:uppercase}
.mol-liturgia .mol-reading-ref{color:#88847c;font-size:.9rem;white-space:nowrap}
.mol-liturgia .mol-reading-title{margin:8px 0 20px;color:#dbd6ce;font-family:"Playfair Display",Georgia,serif;font-size:clamp(1.3rem,1.9vw,1.7rem);font-weight:400;line-height:1.3}
.mol-liturgia .mol-reading-text{max-width:1180px;color:#bdb9b1;font-size:clamp(1rem,1.25vw,1.08rem);line-height:1.9}
.mol-liturgia .mol-reading-text p{margin:.63em 0}
.mol-liturgia .mol-verse{display:inline-block;vertical-align:super;margin-right:.38em;color:var(--mol-gold-soft);font-size:.63em;font-weight:600;line-height:0}
.mol-liturgia .mol-wujek-source{margin-top:18px;color:#6f6b64;font-size:.74rem}
.mol-liturgia .mol-wujek-source strong{color:#99948a;font-weight:500}

.mol-liturgia .mol-fallback{position:relative;padding:clamp(32px,6vw,58px);color:var(--mol-body);background:linear-gradient(90deg,rgba(34,28,14,.44),rgba(13,13,11,.94));border:1px solid var(--mol-line-strong);border-left:4px solid var(--mol-gold);border-radius:8px;text-align:left}
.mol-liturgia .mol-fallback .mol-kicker{color:var(--mol-gold-soft);font-size:.76rem;font-weight:600;letter-spacing:.11em;text-transform:uppercase}
.mol-liturgia .mol-fallback h1{margin:10px 0;color:var(--mol-ink);font-family:"Playfair Display",Georgia,serif;font-size:clamp(2rem,4vw,3.3rem);font-weight:400;line-height:1.15}
.mol-liturgia .mol-fallback p{max-width:780px;margin:0 0 25px;color:var(--mol-muted)}
.mol-liturgia .mol-button{display:inline-block;padding:11px 18px;color:var(--mol-gold-soft);background:transparent;border:1px solid rgba(176,138,54,.52);border-radius:999px;font-weight:500;text-decoration:none}

@media (max-width:820px){
  .mol-liturgia{padding:14px 0 54px}
  .mol-liturgia .mol-day-head{padding-bottom:24px}
  .mol-liturgia .mol-title-row{align-items:flex-start;margin-bottom:22px}
  .mol-liturgia .mol-date{margin-top:6px;white-space:normal}
  .mol-liturgia .mol-quote-card{margin-top:22px;margin-bottom:40px;padding:30px 24px 32px}
  .mol-liturgia .mol-reference-list{margin:0;padding:0;list-style:none;grid-template-columns:1fr}
  .mol-liturgia .mol-reference-item,.mol-liturgia .mol-reference-item:nth-child(odd){border-right:0;border-bottom:1px solid var(--mol-line)}
  .mol-liturgia .mol-reference-item:last-child{border-bottom:0}
  .mol-liturgia .mol-frame-shell{height:640px !important;min-height:640px !important;max-height:640px !important}
  .mol-liturgia .mol-reading-frame{height:640px !important;min-height:640px !important;max-height:640px !important}
  .mol-liturgia .mol-frame-footer{display:block}
  .mol-liturgia .mol-frame-footer .mol-external{margin-top:7px}
  .mol-liturgia .mol-reading{padding:27px 23px}
}
@media (max-width:560px){
  .mol-liturgia .mol-title-row{display:block}
  .mol-liturgia .mol-page-title{font-size:42px !important;line-height:50px !important}
  .mol-liturgia .mol-date{margin:7px 0 0;font-size:16px;line-height:26px}
  .mol-liturgia .mol-liturgy-kicker{margin-top:21px}
  .mol-liturgia .mol-day-title{font-size:29px;line-height:37px}
  .mol-liturgia .mol-day-meta{font-size:14px}
  .mol-liturgia .mol-head-refs{font-size:13px}
  .mol-liturgia .mol-quote{font-size:clamp(1.8rem,8.4vw,2.45rem)}
  .mol-liturgia .mol-reference-item{display:block}
  .mol-liturgia .mol-reference-value{display:block;margin-top:3px;text-align:left}
  .mol-liturgia .mol-frame-shell{height:560px !important;min-height:560px !important;max-height:560px !important;border-radius:6px}
  .mol-liturgia .mol-reading-frame{height:560px !important;min-height:560px !important;max-height:560px !important}
  .mol-liturgia .mol-reading-meta{display:block}
  .mol-liturgia .mol-reading-ref{display:block;margin-top:4px;white-space:normal}
}
