 :root{--s3-link-decoration:none}/* Duchovní – všechny boxy pod sebou */
.spiritual-grid {
  grid-template-columns: 1fr !important;
}

.spiritual-grid > .team-member {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  max-width: none !important;
  display: grid !important;
  grid-template-columns: minmax(160px, 260px) 1fr !important;
  gap: 1.5rem 2rem !important;
  align-items: start !important;
}

.spiritual-grid > .team-member .spiritual-photo {
  width: 100% !important;
}

.spiritual-grid > .team-member .team-member-image {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* Na mobilu fotka nad textem */
@media (max-width: 600px) {
  .spiritual-grid > .team-member {
    grid-template-columns: 1fr !important;
  }
  .spiritual-grid > .team-member .spiritual-photo {
    max-width: 260px;
  }
}

.header-day-quote .header-quote-text {
  font-size: 18px;      /* původně 14px */
  line-height: 1.5;
}

/* volitelně i odkaz na verš (např. „Ž 55,17“) */
.header-day-quote .header-quote-reference {
  font-size: 14px;
}

/* ==========================================================================
   PŘEPÍNAČ JAZYKŮ – šablona svatykrizpraha.cz (flags + "Original" button)
   Script inserts <div id="ef-lang"> at the top of #header (sticky wrapper
   around <header id="site-header">). Colors come from the template's
   CSS variables (--brand, --line, --wash, --muted, --radius), so the bar
   follows the site's color scheme automatically.
   ========================================================================== */

/* --- Flag bar: thin strip above the logo row, aligned with .container --- */
#header #ef-lang{
  display:flex; justify-content:flex-end; align-items:center; gap:6px;
  box-sizing:border-box;
  width:100%; margin:0;
  /* right edge lines up with the 1380px .container */
  padding:6px max(32px, calc((100% - 1380px) / 2 + 32px)) 0;
  background:var(--paper,#fff);           /* #header is sticky + transparent */
  position:relative; z-index:41;          /* above #site-header (z-index 40) */
}
#ef-lang .ef-flag{
  width:24px; height:16px; border-radius:2px; display:block; flex:0 0 auto;
  background-size:cover; background-position:center;
  box-shadow:0 0 0 1px rgba(0,0,0,.15) inset;
  opacity:.85; transition:opacity .15s, transform .15s, box-shadow .15s;
  text-indent:-9999px; overflow:hidden; cursor:pointer;
}
#ef-lang .ef-flag:hover,
#ef-lang .ef-flag:focus-visible{opacity:1; transform:translateY(-1px)}
#ef-lang .ef-flag:focus-visible{outline:2px solid var(--brand,#0a435f); outline-offset:2px}

/* --- "Original" button (return to the site's original language) --- */
#ef-lang .ef-original{
  width:auto; height:auto;
  margin-left:6px; padding:2px 10px;
  font:600 12px/1.4 Arial,Helvetica,sans-serif;
  color:var(--muted,#66635e); background:var(--wash,#f7f6f3);
  border:1px solid var(--line,#e5e1dc); border-radius:999px;
  text-decoration:none; white-space:nowrap; cursor:pointer;
  transition:background .15s, border-color .15s, color .15s;
}
#ef-lang .ef-original::before{content:"\21BB"; margin-right:5px}  /* ↻ icon; delete this line to drop it */
#ef-lang .ef-original:hover,
#ef-lang .ef-original:focus-visible{
  color:var(--brand,#0a435f); border-color:var(--brand,#0a435f); background:#fff;
}

/* --- Mobile: match the narrower container padding --- */
@media (max-width:991.98px){
  #header #ef-lang{padding:6px 16px 0}
}

/* --- Flags (drawn in CSS as background images) --- */
#ef-lang .ef-flag-de{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2060%2040%22%3E%3Crect%20width%3D%2260%22%20height%3D%2240%22%20fill%3D%22%23000000%22%2F%3E%3Crect%20y%3D%2213.33%22%20width%3D%2260%22%20height%3D%2213.33%22%20fill%3D%22%23dd0000%22%2F%3E%3Crect%20y%3D%2226.66%22%20width%3D%2260%22%20height%3D%2213.34%22%20fill%3D%22%23ffce00%22%2F%3E%3C%2Fsvg%3E")}
#ef-lang .ef-flag-en{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2060%2040%22%3E%3Crect%20width%3D%2260%22%20height%3D%2240%22%20fill%3D%22%23012169%22%2F%3E%3Cpath%20d%3D%22M0%2C0%20L60%2C40%20M60%2C0%20L0%2C40%22%20stroke%3D%22%23ffffff%22%20stroke-width%3D%228%22%2F%3E%3Cpath%20d%3D%22M0%2C0%20L60%2C40%20M60%2C0%20L0%2C40%22%20stroke%3D%22%23c8102e%22%20stroke-width%3D%224%22%2F%3E%3Cpath%20d%3D%22M30%2C0%20V40%20M0%2C20%20H60%22%20stroke%3D%22%23ffffff%22%20stroke-width%3D%2212%22%2F%3E%3Cpath%20d%3D%22M30%2C0%20V40%20M0%2C20%20H60%22%20stroke%3D%22%23c8102e%22%20stroke-width%3D%226%22%2F%3E%3C%2Fsvg%3E")}

/* --- Hide the built-in Google translator, its top bar and the
       blue hover highlight it adds to translated text --- */
.goog-te-gadget{position:absolute !important; left:-9999px !important; top:auto !important; height:0 !important; overflow:hidden !important}
.goog-te-banner-frame, iframe.skiptranslate{display:none !important; visibility:hidden !important}
body{top:0 !important}
.goog-tooltip, .goog-tooltip:hover,
#goog-gt-tt, .goog-te-balloon-frame, .jfk-bubble{display:none !important; visibility:hidden !important}
.goog-text-highlight{background:none !important; background-color:transparent !important; box-shadow:none !important; border:none !important}
/* Italská vlajka */
#ef-lang .ef-flag-it {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2060%2040%22%3E%3Crect%20width%3D%2220%22%20height%3D%2240%22%20fill%3D%22%23009246%22%2F%3E%3Crect%20x%3D%2220%22%20width%3D%2220%22%20height%3D%2240%22%20fill%3D%22%23ffffff%22%2F%3E%3Crect%20x%3D%2240%22%20width%3D%2220%22%20height%3D%2240%22%20fill%3D%22%23ce2b37%22%2F%3E%3C%2Fsvg%3E");
}

/* Zvýraznění aktuálně zvoleného jazyka */
#ef-lang .ef-flag.ef-active {
  opacity: 1;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.15), 0 0 0 2px var(--brand, #0a435f);
}

/* ==========================================================================
   TABULKY V ČLÁNCÍCH (např. otevírací doba)
   Stačí vložit obyčejnou tabulku v editoru, vzhled se nastaví sám.
   Další čas do stejné buňky = Shift+Enter, šedý text = kurzíva.
   ========================================================================== */
.article-body table{
  width:auto; max-width:100%; min-width:min(100%, 420px);
  border-collapse:separate; border-spacing:0;
  border:1px solid var(--line,#e5e1dc); border-top:3px solid var(--brand,#0a435f);
  border-radius:6px; overflow:hidden; margin:1.25rem 0;
  background:var(--paper,#fff);
}
.article-body table td, .article-body table th{
  border:0; border-bottom:1px solid var(--line,#e5e1dc);
  padding:12px 20px; vertical-align:top; text-align:left; line-height:1.7;
}
.article-body table tr:last-child td, .article-body table tr:last-child th{border-bottom:0}
.article-body table tr:nth-child(even){background:var(--wash,#f7f6f3)}
.article-body table td:first-child{font-weight:600; padding-right:32px}
.article-body table td em{font-style:normal; color:var(--muted,#66635e)}
.article-body table p{margin:0}
@media (max-width:575.98px){
  .article-body table td, .article-body table th{padding:10px 14px}
}

/* Béžové podbarvení jen v obsahu – záhlaví, jazyky, rychlá tlačítka a lišta aplikace zůstávají bílé */
#ef-lang,
#main-content .home-quick-panel,
.s3-install-toast{background-color:#ffffff !important}
