/*
 * PSCJ — Paróquia Sagrado Coração de Jesus.
 * Parish layer over the template stylesheets (loaded last): the liturgical palette (wine, red and gold) on the
 * template's own sections, plus the pieces the template does not have (top bar, search, slides, tithe card,
 * priest, TV banner, participation and news cards). Option colors and fonts (config/options.json) override the
 * variables below through @themeHead.
 */
:root {
  --pscj-primary: #7A1A10;
  --pscj-primary-dark: color-mix(in srgb, var(--pscj-primary) 78%, #000);
  --pscj-wine: #3D0B07;
  --pscj-accent: #C9A24A;
  --pscj-heading: #1F1A17;
  --pscj-topbar-h: 52px;

  --tp-theme-color: var(--pscj-heading);
  --tp-secoundery-color: var(--pscj-accent);
  --tp-orange-color: var(--pscj-primary);
}

/* ---------- Compact scale: section spacing and template headings, smaller than the template defaults ---------- */
.pscj-theme .pt-120 {
  padding-top: 90px;
}
.pscj-theme .pb-120 {
  padding-bottom: 90px;
}
.pscj-theme .pt-100 {
  padding-top: 76px;
}
.pscj-theme .pb-100 {
  padding-bottom: 76px;
}
.pscj-theme .mb-60 {
  margin-bottom: 40px;
}
.pscj-theme .mb-50 {
  margin-bottom: 36px;
}
.pscj-theme .pt-50 {
  padding-top: 40px;
}
.pscj-theme .tp-section-title {
  font-size: 42px;
}
.pscj-theme .tp-section-title-mid {
  font-size: 34px;
}
.pscj-theme .tp-breadcrumb-title {
  font-size: 54px;
}
@media (max-width: 1399.98px) {
  .pscj-theme .tp-section-title {
    font-size: 38px;
  }
  .pscj-theme .tp-breadcrumb-title {
    font-size: 48px;
  }
}
@media (max-width: 1199.98px) {
  .pscj-theme .tp-section-title {
    font-size: 34px;
  }
  .pscj-theme .tp-section-title-mid {
    font-size: 30px;
  }
  .pscj-theme .tp-breadcrumb-title {
    font-size: 42px;
  }
}
@media (max-width: 767.98px) {
  .pscj-theme .pt-120,
  .pscj-theme .pt-100 {
    padding-top: 60px;
  }
  .pscj-theme .pb-120,
  .pscj-theme .pb-100 {
    padding-bottom: 60px;
  }
  .pscj-theme .tp-section-title,
  .pscj-theme .tp-section-title-mid {
    font-size: 28px;
  }
  .pscj-theme .tp-breadcrumb-title {
    font-size: 34px;
  }
}

/* ---------- Palette on the template sections ---------- */
.pscj-theme .tp-section-title span,
.pscj-theme .tp-section-title-larg span {
  color: var(--pscj-primary);
}
.pscj-theme .tp-text-white span,
.pscj-theme .tp-section-title.tp-text-white span {
  color: var(--pscj-accent);
}
.pscj-theme .tp-bg-black {
  background-color: var(--pscj-wine);
}
.pscj-theme .tp-btn {
  background-color: var(--pscj-primary);
  color: #fff;
}
.pscj-theme .tp-btn .tp-btn-icon {
  background-color: var(--pscj-accent);
  color: var(--pscj-heading);
}
.pscj-theme .tp-btn.tp-btn-border {
  background-color: transparent;
  color: var(--pscj-heading);
  border-color: color-mix(in srgb, var(--pscj-heading) 20%, transparent);
}
.pscj-theme .tp-btn.tp-btn-border .tp-btn-icon {
  background-color: var(--pscj-primary);
  color: #fff;
}
.pscj-theme .tp-btn.tp-btn-border-white {
  color: #fff;
  border-color: rgba(255, 255, 255, .35);
}
.pscj-theme .tp-btn.tp-btn-border-white .tp-btn-icon {
  background-color: var(--pscj-accent);
  color: var(--pscj-heading);
}
.pscj-theme .tp-btn.tp-btn-white {
  background-color: #fff;
  color: var(--pscj-primary);
}
.pscj-theme .tp-btn.tp-btn-white .tp-btn-icon {
  background-color: var(--pscj-primary);
  color: #fff;
}
.pscj-theme .tp-footer-bottom.tp-bg-secoundery {
  background-color: var(--pscj-primary);
}
.pscj-theme .tp-footer-bottom-logo img {
  max-width: min(900px, 100%);
  height: auto;
  opacity: .95;
}
.pscj-theme #magic-cursor #ball {
  background-color: var(--pscj-primary);
}
.pscj-theme .back-to-top-btn {
  background-color: var(--pscj-primary);
  color: #fff;
}
.pscj-theme .object {
  background-color: var(--pscj-primary);
}

/* ---------- Header: logo, menu, top bar and search ---------- */
.pscj-header-nav {
  display: flex;
  justify-content: center;
}
.pscj-header .tp-header-menu ul li {
  margin: 0 12px;
}
.pscj-header .tp-header-menu {
  padding: 0;
}
.pscj-header .tp-header-menu ul li a {
  font-size: 15.5px;
  white-space: nowrap;
  padding: 14px 0;
  line-height: 1.4;
  transform: none;
}
.pscj-header .tp-header-menu ul li > a::before {
  bottom: 10px;
}
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .pscj-header .tp-header-menu ul li {
    margin: 0 8px;
  }
  .pscj-header .tp-header-menu ul li a {
    font-size: 14.5px;
  }
}
.pscj-header .tp-header-menu ul li .sub-menu li a {
  white-space: normal;
  padding: 10px 30px;
  line-height: 1.45;
}
/* Multi-level dropdowns: each level opens only its own direct sub-menu, sideways. */
.pscj-header .tp-header-menu ul li .sub-menu li .sub-menu {
  top: -22px;
  left: 100%;
  width: 260px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(8px);
}
.pscj-header .tp-header-menu ul li .sub-menu li:hover > .sub-menu,
.pscj-header .tp-header-menu ul li .sub-menu li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.pscj-header .tp-header-menu nav > ul > li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  top: 105%;
}
/* The last top-level items open their deeper levels to the left, so they stay inside the viewport. */
.pscj-header .tp-header-menu nav > ul > li:nth-last-child(-n+2) .sub-menu .sub-menu {
  left: auto;
  right: 100%;
  transform: translateX(-8px);
}
.pscj-header .tp-header-menu nav > ul > li:nth-last-child(-n+2) .sub-menu li:hover > .sub-menu,
.pscj-header .tp-header-menu nav > ul > li:nth-last-child(-n+2) .sub-menu li:focus-within > .sub-menu {
  transform: none;
}
.pscj-header .tp-header-menu .sub-menu li.has-dropdown > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.pscj-submenu-caret {
  display: inline-flex;
  flex-shrink: 0;
  color: var(--pscj-primary);
  transition: transform .25s;
}
.pscj-header .tp-header-menu .sub-menu li.has-dropdown:hover > a .pscj-submenu-caret {
  transform: translateX(3px);
}
.pscj-header .tp-header-menu ul li .sub-menu li a .pscj-submenu-caret::before {
  display: none;
}
.tp-offcanvas-menu .pscj-submenu-caret {
  display: none;
}
.tp-offcanvas-menu ul li .sub-menu li.has-dropdown > .tp-menu-close {
  top: 8px;
}
.pscj-header-logo img {
  height: 58px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
@media (max-width: 767.98px) {
  .pscj-header-logo img {
    height: 44px;
  }
}

.pscj-topbar {
  position: relative;
  color: rgba(255, 255, 255, .92);
  font-size: 14px;
  background:
    radial-gradient(60% 220% at 50% 0%, color-mix(in srgb, var(--pscj-primary) 100%, #fff 6%) 0%, transparent 70%),
    linear-gradient(90deg, var(--pscj-wine) 0%, var(--pscj-primary) 50%, var(--pscj-wine) 100%);
}
.pscj-topbar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--pscj-accent) 80%, transparent), transparent);
}
.pscj-topbar-inner {
  min-height: var(--pscj-topbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.pscj-topbar ul {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pscj-topbar-info {
  gap: 0;
}
.pscj-topbar-info li {
  display: flex;
  align-items: center;
}
.pscj-topbar-info li + li::before {
  content: "";
  width: 1px;
  height: 16px;
  margin: 0 18px;
  background: rgba(255, 255, 255, .25);
}
.pscj-topbar-info li,
.pscj-topbar-info a {
  gap: 8px;
  color: rgba(255, 255, 255, .92);
  line-height: 1.2;
  transition: color .2s;
}
.pscj-topbar-info a {
  display: inline-flex;
  align-items: center;
}
.pscj-topbar-info a:hover {
  color: var(--pscj-accent);
}
.pscj-topbar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: var(--pscj-accent);
}
.pscj-topbar-social {
  gap: 6px;
}
.pscj-topbar-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .28);
  color: #fff;
  transition: background-color .25s, border-color .25s, color .25s, transform .25s;
}
.pscj-topbar-social a:hover {
  background: var(--pscj-accent);
  border-color: var(--pscj-accent);
  color: var(--pscj-wine);
  transform: translateY(-1px);
}
@media (max-width: 991.98px) {
  .pscj-topbar-info li + li::before {
    display: none;
  }
}
@media (max-width: 575.98px) {
  .pscj-topbar {
    font-size: 12px;
  }
  .pscj-topbar-social a {
    width: 24px;
    height: 24px;
  }
}

.pscj-topbar-icon {
  width: 26px !important;
  height: 26px !important;
}
.pscj-topbar-social a {
  width: 30px !important;
  height: 30px !important;
}
/* Menu and top bar follow the page container, like the footer (the template pads its wide header instead). */
.pscj-header .tp-header-wrap {
  padding: 0;
}

/* The sticky header keeps only the navigation bar. */
.header-sticky .pscj-topbar,
.pscj-header .header-sticky .pscj-topbar {
  display: none;
}

.pscj-search {
  position: relative;
}
.pscj-search-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--pscj-heading) 15%, transparent);
  color: var(--pscj-heading);
  transition: background-color .25s, color .25s, border-color .25s;
}
.pscj-search-toggle:hover,
.pscj-search-toggle.is-open {
  background: var(--pscj-primary);
  border-color: var(--pscj-primary);
  color: #fff;
}
.pscj-search-toggle-icon {
  display: inline-flex;
}

/* Search panel below the header, over a dimmed page. */
.pscj-search-backdrop {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 100vh;
  background: rgba(31, 26, 23, .35);
}
.pscj-search-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 1;
  padding: 34px 0 38px;
  background: #fff;
  border-top: 1px solid color-mix(in srgb, var(--pscj-accent) 30%, transparent);
  box-shadow: 0 30px 60px -30px rgba(61, 11, 7, .45);
}
.pscj-search-panel-inner {
  max-width: 880px;
  margin: 0 auto;
}
.pscj-search-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.pscj-search-field {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 8px 8px 22px;
  border-radius: 60px;
  background: #fff;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--pscj-accent) 35%, transparent), 0 18px 40px -28px rgba(61, 11, 7, .5);
  transition: box-shadow .25s;
}
.pscj-search-field:focus-within {
  box-shadow: 0 0 0 2px var(--pscj-primary);
}
.pscj-search-field-icon {
  display: inline-flex;
  flex-shrink: 0;
  color: var(--pscj-primary);
}
.pscj-search-field input {
  flex: 1;
  min-width: 0;
  height: 52px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 20px;
  color: var(--pscj-heading);
  outline: none;
}
.pscj-search-field input::placeholder {
  color: color-mix(in srgb, var(--pscj-heading) 40%, transparent);
}
.pscj-search-field input::-webkit-search-cancel-button {
  cursor: pointer;
}
.pscj-search-submit {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 8px 0 24px;
  border-radius: 40px;
  background: var(--pscj-primary);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  transition: background-color .25s;
}
.pscj-search-submit:hover {
  background: var(--pscj-wine);
}
.pscj-search-submit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--pscj-accent);
  color: var(--pscj-wine);
  transition: transform .25s;
}
.pscj-search-submit:hover .pscj-search-submit-icon {
  transform: rotate(45deg);
}
.pscj-search-hint {
  margin: 14px 0 0;
  padding-left: 22px;
  font-size: 14px;
  color: color-mix(in srgb, var(--pscj-heading) 60%, transparent);
}
.pscj-search-hint kbd {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 6px;
  border: 1px solid color-mix(in srgb, var(--pscj-heading) 18%, transparent);
  border-bottom-width: 2px;
  background: #fff;
  font-family: inherit;
  font-size: 12px;
  color: var(--pscj-heading);
}
.pscj-search-quick {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px dashed color-mix(in srgb, var(--pscj-accent) 45%, transparent);
}
.pscj-search-quick-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--pscj-primary);
}
.pscj-search-quick ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pscj-search-quick a {
  display: inline-flex;
  align-items: center;
  padding: 7px 15px;
  border-radius: 40px;
  border: 1px solid color-mix(in srgb, var(--pscj-accent) 40%, transparent);
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  color: var(--pscj-heading);
  transition: background-color .25s, color .25s, border-color .25s;
}
.pscj-search-quick a:hover,
.pscj-search-quick a:focus-visible {
  background: var(--pscj-primary);
  border-color: var(--pscj-primary);
  color: #fff;
}
.pscj-search-enter,
.pscj-search-leave {
  transition: opacity .22s ease, transform .22s ease;
}
.pscj-search-enter-start {
  opacity: 0;
  transform: translateY(-10px);
}
.pscj-search-enter-end {
  opacity: 1;
  transform: none;
}
@media (max-width: 767.98px) {
  .pscj-search-panel {
    padding: 22px 0 26px;
  }
  .pscj-search-field {
    padding-left: 16px;
    gap: 10px;
  }
  .pscj-search-field input {
    height: 46px;
    font-size: 17px;
  }
  .pscj-search-submit {
    width: 46px;
    height: 46px;
    padding: 0;
    justify-content: center;
  }
  .pscj-search-submit > span:first-child {
    display: none;
  }
  .pscj-search-submit-icon {
    background: transparent;
    color: #fff;
  }
  .pscj-search-hint {
    padding-left: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pscj-search-enter,
  .pscj-search-leave {
    transition: none;
  }
}
/* ---------- Page title (breadcrumb) with the red filter ---------- */
.pscj-breadcrumb {
  background: var(--pscj-wine);
  isolation: isolate;
}
.pscj-breadcrumb-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: 62% center;
  filter: grayscale(.25) contrast(1.05) brightness(.95);
  transform: scale(1.03);
}
/* Red filter: a multiplied crimson layer, then a wine gradient that keeps the text side readable. */
.pscj-breadcrumb-tint {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: color-mix(in srgb, var(--pscj-primary) 85%, #ff2a10);
  mix-blend-mode: multiply;
  opacity: .78;
}
.pscj-breadcrumb-tint::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--pscj-wine) 92%, transparent) 0%, color-mix(in srgb, var(--pscj-wine) 55%, transparent) 45%, transparent 75%),
    linear-gradient(0deg, color-mix(in srgb, var(--pscj-wine) 70%, transparent) 0%, transparent 45%);
  mix-blend-mode: normal;
}
.pscj-breadcrumb::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--pscj-accent), transparent);
  opacity: .85;
}
.pscj-breadcrumb-solid .pscj-breadcrumb-tint {
  mix-blend-mode: normal;
  opacity: 1;
  background: radial-gradient(90% 140% at 100% 0%, var(--pscj-primary) 0%, var(--pscj-wine) 70%);
}
.pscj-breadcrumb .pscj-breadcrumb-inner {
  min-height: 300px;
  padding: 80px 0 50px;
}
.pscj-breadcrumb .tp-breadcrumb-menu::before {
  display: none;
}
.pscj-breadcrumb .tp-breadcrumb-menu span {
  display: inline-flex;
  align-items: center;
}
.pscj-breadcrumb .tp-breadcrumb-menu span a:hover {
  color: var(--pscj-accent);
}
.pscj-breadcrumb .tp-breadcrumb-dvdr {
  color: var(--pscj-accent);
}
.pscj-breadcrumb .tp-breadcrumb-title {
  text-shadow: 0 6px 30px rgba(0, 0, 0, .25);
}
@media (max-width: 991.98px) {
  .pscj-breadcrumb .pscj-breadcrumb-inner {
    min-height: 240px;
    padding: 60px 0 40px;
  }
  .pscj-breadcrumb-image {
    background-position: 70% center;
  }
}

/* ---------- Internal page content ---------- */
.pscj-text-heading .tp-section-title {
  font-size: clamp(28px, 2.6vw, 38px);
  line-height: 1.15;
}
@media (min-width: 992px) {
  .pscj-text-heading {
    position: sticky;
    top: 130px;
    padding-right: 40px;
  }
}
.pscj-text-rule {
  display: block;
  width: 70px;
  height: 3px;
  margin-top: 26px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--pscj-primary), var(--pscj-accent));
}
.pscj-text-body {
  font-size: 16px;
  line-height: 1.8;
}
.pscj-text-body > p:first-child::first-letter {
  float: left;
  margin: 6px 12px 0 0;
  font-family: var(--tp-playfair-font);
  font-size: 52px;
  line-height: .85;
  color: var(--pscj-primary);
}
.pscj-theme .pscj-content blockquote {
  position: relative;
  margin: 30px 0;
  padding: 6px 0 6px 52px;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--pscj-heading);
  font-family: var(--tp-playfair-font);
  font-style: italic;
  font-size: 19px;
  line-height: 1.5;
}
.pscj-theme .pscj-content blockquote::before {
  content: "\201C";
  position: absolute;
  left: 0;
  top: -4px;
  font-size: 64px;
  line-height: 1;
  color: var(--pscj-accent);
}
.pscj-theme .pscj-content blockquote p {
  margin: 0;
  color: inherit;
}
.pscj-text-image img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Blog sidebar: compact recent posts. */
.pscj-theme .tprecentpost {
  align-items: center;
  padding: 12px;
  border-radius: 16px;
  transition: background-color .25s;
}
.pscj-theme .tprecentpost:hover {
  background: var(--tp-gray-color, #f5f5f5);
}
.pscj-theme .tprecentpost__thumb {
  flex: 0 0 84px;
  margin-right: 16px !important;
}
.pscj-theme .tprecentpost__thumb a,
.pscj-theme .tprecentpost__thumb img {
  display: block;
  width: 84px;
  height: 84px;
  border-radius: 12px;
  object-fit: cover;
}
.pscj-theme .tprecentpost__title {
  font-size: 16px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pscj-theme .tprecentpost__title a:hover {
  color: var(--pscj-primary);
}
.pscj-theme .tprecentpost__meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  white-space: nowrap;
}

/* ---------- Hero slides ---------- */
/* Room for the overlaid header: its real height (--pscj-header-h, measured by resources/js/app.js), with the
   computed height (vertical padding + 58px logo, plus the top bar) as fallback before the script runs. */
.pscj-theme {
  --pscj-header-fallback: 114px;
}
.pscj-theme:has(.pscj-topbar) {
  --pscj-header-fallback: calc(114px + var(--pscj-topbar-h));
}
.pscj-hero-spacing {
  padding-top: var(--pscj-header-h, var(--pscj-header-fallback));
}
@media (max-width: 1199.98px) {
  .pscj-theme {
    --pscj-header-fallback: 98px;
  }
  .pscj-theme:has(.pscj-topbar) {
    --pscj-header-fallback: calc(98px + var(--pscj-topbar-h));
  }
}
@media (max-width: 767.98px) {
  .pscj-theme {
    --pscj-header-fallback: 76px;
  }
  .pscj-theme:has(.pscj-topbar) {
    --pscj-header-fallback: calc(76px + var(--pscj-topbar-h));
  }
}
.pscj-hero-slider .swiper-slide img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 2;
  object-fit: cover;
}
.pscj-hero-controls {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px;
  border-radius: 40px;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(8px);
}
.pscj-hero-nav {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--pscj-heading);
  transition: background-color .25s, color .25s;
}
.pscj-hero-nav:hover {
  background: var(--pscj-primary);
  color: #fff;
}
.pscj-hero-pagination {
  position: static !important;
  display: flex;
  align-items: center;
  gap: 6px;
  width: auto !important;
}
.pscj-hero-pagination .swiper-pagination-bullet {
  width: 7px;
  height: 7px;
  margin: 0 !important;
  background: var(--pscj-heading);
  opacity: .25;
  transition: width .3s, opacity .3s;
}
.pscj-hero-pagination .swiper-pagination-bullet-active {
  width: 22px;
  border-radius: 6px;
  background: var(--pscj-primary);
  opacity: 1;
}
@media (max-width: 767.98px) {
  .pscj-hero-slider .swiper-slide img {
    aspect-ratio: 16 / 9;
  }
  .pscj-hero-controls {
    right: 12px;
    bottom: 12px;
  }
  .pscj-hero-nav {
    width: 32px;
    height: 32px;
  }
}

/* ---------- Today in the parish: full-width band in three flat columns (masses, devotions, liturgy) ---------- */
.pscj-schedule-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--pscj-parchment, #F4EDE1);
}
.pscj-schedule-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 56px max(28px, 4vw) 50px;
  color: color-mix(in srgb, var(--pscj-heading) 80%, transparent);
}
.pscj-schedule-col + .pscj-schedule-col {
  border-left: 1px solid color-mix(in srgb, var(--pscj-accent) 35%, transparent);
}
.pscj-schedule-col.is-masses {
  background: var(--pscj-primary);
  color: rgba(255, 255, 255, .85);
}
.pscj-schedule-col.is-masses + .pscj-schedule-col {
  border-left: 0;
}
.pscj-schedule-title {
  margin: 0 0 26px;
  font-family: var(--tp-playfair-font);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--pscj-heading);
}
.is-masses .pscj-schedule-title {
  color: #fff;
}
.pscj-schedule-list {
  width: 100%;
  display: grid;
  gap: 18px;
  margin: 0 0 28px;
}
.pscj-schedule-row dt {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  font-size: 15px;
  font-weight: 700;
  color: var(--pscj-heading);
}
.is-masses .pscj-schedule-row dt {
  color: #fff;
}
.pscj-schedule-row dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}
.pscj-schedule-row time {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.pscj-schedule-today {
  padding: 1px 8px;
  border-radius: 2px;
  background: var(--pscj-accent);
  color: var(--pscj-wine);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.7;
  text-transform: uppercase;
}
.pscj-schedule-row.is-today dd {
  color: var(--pscj-heading);
}
.is-masses .pscj-schedule-row.is-today dd {
  color: #fff;
}
.pscj-schedule-note {
  margin: 0 0 20px;
  font-size: 14px;
  font-style: italic;
}
.pscj-schedule-date {
  margin: -14px 0 14px;
  font-size: 14px;
  letter-spacing: .04em;
}
.pscj-schedule-celebration {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 18px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--pscj-heading);
}
.pscj-schedule-celebration .pscj-liturgy-swatch {
  flex-shrink: 0;
  transform: translateY(1px);
}
.pscj-schedule-gospel {
  margin: 0 0 28px;
  font-family: var(--tp-playfair-font);
  font-style: italic;
  font-size: 17px;
  line-height: 1.6;
  color: color-mix(in srgb, var(--pscj-heading) 80%, transparent);
}
.pscj-schedule-gospel cite {
  display: block;
  margin-top: 8px;
  font-family: var(--tp-theme-font);
  font-style: normal;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--pscj-primary);
}
.pscj-schedule-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--pscj-primary);
}
.is-masses .pscj-schedule-link {
  color: var(--pscj-accent);
}
.pscj-schedule-link svg {
  transition: transform .25s;
}
.pscj-schedule-link:hover svg {
  transform: translateX(4px);
}
@media (max-width: 991.98px) {
  .pscj-schedule-band {
    grid-template-columns: 1fr;
  }
  .pscj-schedule-col + .pscj-schedule-col {
    border-left: 0;
    border-top: 1px solid color-mix(in srgb, var(--pscj-accent) 35%, transparent);
  }
  .pscj-schedule-col {
    padding: 44px 24px 40px;
  }
}
/* ---------- Tithe card ---------- */
.pscj-dizimo-card {
  padding: 70px 0;
  background: radial-gradient(120% 140% at 0% 0%, var(--pscj-primary) 0%, var(--pscj-wine) 75%);
}
.pscj-dizimo-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .14;
  mix-blend-mode: luminosity;
}
.pscj-dizimo-icon {
  width: 110px;
  height: auto;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, .35));
}
.pscj-dizimo .tp-section-title {
  font-size: clamp(26px, 2.6vw, 36px);
}
@media (max-width: 991.98px) {
  .pscj-dizimo-card {
    text-align: center;
  }
  .pscj-dizimo-button {
    justify-content: center !important;
  }
}

/* ---------- Parish priest ---------- */
.pscj-priest-text {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 70px 60px 70px max(30px, calc((100vw - 1400px) / 2));
}
.pscj-priest-text p {
  margin-bottom: 18px;
}
.pscj-priest-photo {
  height: 100%;
  min-height: 500px;
}
.pscj-priest-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}
.pscj-priest-photo::before {
  content: "";
  position: absolute;
  z-index: 2;
  left: 0;
  top: 16%;
  bottom: 16%;
  width: 8px;
  border-radius: 0 8px 8px 0;
  background: var(--pscj-primary);
}
@media (max-width: 991.98px) {
  .pscj-priest-text {
    padding: 50px 24px 60px;
  }
  .pscj-priest-photo {
    min-height: 380px;
  }
}

/* ---------- TV banner ---------- */
.pscj-tv {
  padding: 100px 0;
  background-size: cover;
  background-position: center;
}
.pscj-tv::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, color-mix(in srgb, var(--pscj-wine) 80%, transparent), color-mix(in srgb, var(--pscj-wine) 94%, transparent));
}
@media (max-width: 767.98px) {
  .pscj-tv {
    padding: 70px 0;
  }
}

/* ---------- Participation cards ---------- */
/* Bottom room for the cards' hover lift and entrance animation (the section clips its ornament). */
.pscj-participation {
  padding: 80px 0 100px;
}
@media (max-width: 767.98px) {
  .pscj-participation {
    padding: 60px 0 70px;
  }
}
.pscj-participation-bg {
  position: absolute;
  inset: auto 0 0 0;
  height: 70%;
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  opacity: .8;
  pointer-events: none;
}
.pscj-participation-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 50px 34px 40px;
  background: #fff;
  box-shadow: 0 24px 60px -32px rgba(31, 26, 23, .4);
  transition: background-color .35s, transform .35s;
}
.pscj-participation-card .pscj-participation-icon {
  margin-bottom: 28px;
}
.pscj-participation-card p {
  flex: 1;
}
.pscj-participation-number {
  position: absolute;
  top: 22px;
  right: 26px;
}
.pscj-participation-card:hover {
  background: var(--pscj-wine);
  transform: translateY(-6px);
}
.pscj-participation-card h3 {
  font-size: 21px;
  margin-bottom: 12px;
  transition: color .35s;
}
.pscj-participation-card p {
  margin-bottom: 30px;
  transition: color .35s;
}
.pscj-participation-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--pscj-primary) 10%, transparent);
  color: var(--pscj-primary);
  transition: background-color .35s, color .35s;
}
.pscj-participation-number {
  font-family: var(--tp-playfair-font);
  font-style: italic;
  font-size: 23px;
  color: color-mix(in srgb, var(--pscj-heading) 25%, transparent);
}
.pscj-participation-card:hover h3,
.pscj-participation-card:hover p,
.pscj-participation-card:hover .pscj-participation-number {
  color: #fff;
}
.pscj-participation-card:hover .pscj-participation-icon {
  background: var(--pscj-accent);
  color: var(--pscj-wine);
}
.pscj-circle-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--pscj-heading) 15%, transparent);
  color: var(--pscj-heading);
  transition: background-color .35s, border-color .35s, color .35s;
}
.pscj-participation-card:hover .pscj-circle-link {
  background: var(--pscj-accent);
  border-color: var(--pscj-accent);
  color: var(--pscj-wine);
}

/* ---------- News cards (news block and news page) ---------- */
.pscj-news {
  padding: 90px 0;
}
.pscj-news-listing {
  padding-top: 80px;
}
.pscj-news-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .07);
  box-shadow: 0 24px 60px -40px rgba(31, 26, 23, .45);
  transition: transform .35s, box-shadow .35s;
}
.pscj-news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 70px -36px rgba(31, 26, 23, .5);
}
.pscj-news-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 11;
}
.pscj-news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.pscj-news-card:hover .pscj-news-thumb img {
  transform: scale(1.05);
}
.pscj-news-date {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 6px 14px;
  border-radius: 30px;
  background: #fff;
  font-size: 13px;
  font-weight: 500;
  color: var(--pscj-heading);
  line-height: 1.2;
}
.pscj-news-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px 26px 26px;
}
.pscj-news-body .pscj-news-title {
  flex: 1;
  margin-bottom: 22px;
}
.pscj-news-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--pscj-heading);
}
.pscj-news-more-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--pscj-primary);
  color: #fff;
  transition: transform .3s, background-color .3s;
}
.pscj-news-card:hover .pscj-news-more-icon {
  transform: rotate(45deg);
  background: var(--pscj-accent);
  color: var(--pscj-wine);
}
.pscj-news-category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--pscj-primary);
}
.pscj-news-title {
  font-size: 19px;
  line-height: 1.35;
  margin: 0;
}
.pscj-news-title a:hover {
  color: var(--pscj-primary);
}
.pscj-search-results {
  font-size: 25px;
  margin-bottom: 30px;
}
.pscj-empty {
  font-size: 17px;
}

/* ---------- Footer ---------- */
.pscj-footer .tp-footer-area {
  position: relative;
  background:
    radial-gradient(70% 90% at 100% 0%, color-mix(in srgb, var(--pscj-primary) 55%, transparent) 0%, transparent 60%),
    radial-gradient(50% 70% at 0% 100%, color-mix(in srgb, var(--pscj-primary) 30%, transparent) 0%, transparent 70%),
    var(--pscj-wine);
}
.pscj-footer .tp-footer-area::before {
  content: "";
  position: absolute;
  z-index: 3;
  top: 0;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--pscj-accent), transparent);
  opacity: .8;
}
.pscj-footer .tp-footer-social ul li a {
  border-radius: 50%;
  border-color: rgba(255, 255, 255, .28);
  transition: background-color .25s, border-color .25s, color .25s, transform .25s;
}
.pscj-footer .tp-footer-social ul li a:hover {
  background: var(--pscj-accent);
  border-color: var(--pscj-accent);
  color: var(--pscj-wine);
  transform: translateY(-2px);
}
.pscj-footer-ornament {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
/* Damask border (cream PNG) turned into a faint white lace along the bottom edge. */
.pscj-footer-damask {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 75%;
  background-size: 1400px auto;
  background-position: center bottom;
  background-repeat: repeat-x;
  opacity: .055;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 55%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 55%);
}
@media (max-width: 991.98px) {
  .pscj-footer-damask {
    background-size: 900px auto;
  }
}
.pscj-footer .tp-linear-bg::before {
  background: linear-gradient(180deg, color-mix(in srgb, var(--pscj-wine) 70%, #000) 0%, var(--pscj-wine) 100%);
}
.pscj-footer .pscj-footer-copyright p {
  color: rgba(255, 255, 255, .6);
}
.pscj-footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
}
.pscj-footer-brand img {
  width: 58px;
  height: auto;
  flex-shrink: 0;
}
.pscj-footer-brand strong {
  display: block;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
}
.pscj-footer-brand span {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(255, 255, 255, .65);
}
.pscj-footer-contacts {
  margin: 0;
  padding: 0;
  list-style: none;
}
.pscj-footer-contacts li,
.pscj-footer-contacts a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255, 255, 255, .8);
  font-size: 15px;
  line-height: 1.5;
}
.pscj-footer-contacts li {
  margin-bottom: 10px;
}
.pscj-footer-contacts svg {
  flex-shrink: 0;
  margin-top: 4px;
  color: var(--pscj-accent);
}
.pscj-footer-contacts a:hover {
  color: #fff;
}
.pscj-footer-note {
  margin: 28px 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}
.pscj-footer-title {
  color: #fff;
  font-size: 18px;
  margin-bottom: 22px;
}
.pscj-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 50px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.pscj-footer-links a {
  color: rgba(255, 255, 255, .7);
  font-size: 15px;
}
.pscj-footer-links a:hover {
  color: var(--pscj-accent);
}
.pscj-footer-bottom {
  padding: 24px 0;
  background: color-mix(in srgb, var(--pscj-wine) 70%, #000);
  text-align: center;
}
.pscj-footer-bottom p {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, .6);
}
.pscj-footer-bottom strong {
  color: #fff;
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  .pscj-participation-card,
  .pscj-news-thumb img {
    transition: none;
  }
}

/* Builder preview of the hero without slides. */
.pscj-hero-empty {
  padding: 60px 30px;
  border: 2px dashed color-mix(in srgb, var(--pscj-primary) 35%, transparent);
  background: color-mix(in srgb, var(--pscj-primary) 5%, #fff);
  text-align: center;
}
.pscj-hero-empty p {
  margin: 0;
  color: var(--pscj-primary);
  font-weight: 500;
}

/* ---------- Daily liturgy (blocks/liturgy) ---------- */
.pscj-liturgy [x-cloak] {
  display: none !important;
}
.pscj-liturgy-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.pscj-liturgy-dates {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pscj-liturgy-step {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--pscj-heading) 15%, transparent);
  color: var(--pscj-heading);
  transition: background-color .25s, color .25s, border-color .25s;
}
.pscj-liturgy-step:hover {
  background: var(--pscj-primary);
  border-color: var(--pscj-primary);
  color: #fff;
}
.pscj-liturgy-date {
  display: flex;
  flex-direction: column;
  min-width: 180px;
  text-align: center;
  line-height: 1.3;
}
.pscj-liturgy-weekday {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--pscj-primary);
}
.pscj-liturgy-date time {
  font-size: 18px;
  font-weight: 600;
  color: var(--pscj-heading);
}
.pscj-liturgy-today {
  margin-left: 6px;
  padding: 8px 16px;
  border-radius: 40px;
  background: color-mix(in srgb, var(--pscj-accent) 18%, #fff);
  color: var(--pscj-heading);
  font-size: 14px;
  font-weight: 600;
}
.pscj-liturgy-today:hover {
  background: var(--pscj-accent);
  color: var(--pscj-heading);
}
.pscj-liturgy-celebrations {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}
.pscj-liturgy-celebrations button {
  padding: 10px 18px;
  border-radius: 40px;
  border: 1px solid color-mix(in srgb, var(--pscj-heading) 15%, transparent);
  font-size: 14px;
  font-weight: 500;
  color: var(--pscj-heading);
  text-align: start;
  transition: background-color .25s, color .25s, border-color .25s;
}
.pscj-liturgy-celebrations button.is-active {
  background: var(--pscj-primary);
  border-color: var(--pscj-primary);
  color: #fff;
}
.pscj-liturgy-card {
  padding: 32px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .07);
  box-shadow: 0 24px 60px -40px rgba(31, 26, 23, .45);
}
.pscj-liturgy-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(0, 0, 0, .07);
}
.pscj-liturgy-title {
  margin: 0;
  font-size: 22px;
  line-height: 1.3;
}
.pscj-liturgy-color {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: color-mix(in srgb, var(--pscj-heading) 75%, transparent);
}
.pscj-liturgy-swatch {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--swatch, var(--pscj-accent));
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18);
}
.pscj-liturgy-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 30px;
  padding: 6px;
  border-radius: 40px;
  background: color-mix(in srgb, var(--pscj-heading) 5%, #fff);
  overflow-x: auto;
  scrollbar-width: none;
}
.pscj-liturgy-tabs::-webkit-scrollbar {
  display: none;
}
.pscj-liturgy-tabs button {
  flex: 1 0 auto;
  padding: 10px 18px;
  border-radius: 40px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  color: color-mix(in srgb, var(--pscj-heading) 70%, transparent);
  transition: background-color .25s, color .25s;
}
.pscj-liturgy-tabs button:hover {
  color: var(--pscj-primary);
}
.pscj-liturgy-tabs button.is-active {
  background: var(--pscj-primary);
  color: #fff;
}
.pscj-liturgy-panel {
  max-width: 820px;
}
.pscj-liturgy-reference {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 12px;
  border-radius: 40px;
  background: color-mix(in srgb, var(--pscj-primary) 8%, #fff);
  color: var(--pscj-primary);
  font-size: 14px;
  font-weight: 600;
}
.pscj-liturgy-reading-title {
  margin-bottom: 16px;
  font-size: 18px;
  line-height: 1.4;
}
.pscj-liturgy-refrain {
  margin-bottom: 18px;
  padding: 14px 18px;
  border-left: 3px solid var(--pscj-accent);
  background: color-mix(in srgb, var(--pscj-accent) 10%, #fff);
  color: var(--pscj-heading);
  font-style: italic;
}
.pscj-liturgy-refrain strong {
  font-style: normal;
  color: var(--pscj-primary);
}
.pscj-liturgy-text p,
.pscj-liturgy-prayers dd p {
  margin-bottom: 14px;
  font-size: 16px;
  line-height: 1.8;
}
.pscj-liturgy-text sup {
  margin-right: 2px;
  font-size: 11px;
  font-weight: 600;
  color: var(--pscj-primary);
}
.pscj-liturgy-reading.is-psalm .pscj-liturgy-text p {
  padding-left: 14px;
}
.pscj-liturgy-response {
  margin-top: 6px;
  font-weight: 600;
  color: var(--pscj-primary);
}
.pscj-liturgy-or {
  margin: 30px 0;
  text-align: center;
  font-style: italic;
  color: color-mix(in srgb, var(--pscj-heading) 60%, transparent);
}
.pscj-liturgy-prayers {
  display: grid;
  gap: 24px;
  margin: 0;
}
.pscj-liturgy-prayers dt {
  margin-bottom: 6px;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--pscj-primary);
}
.pscj-liturgy-prayers dd {
  margin: 0;
}
.pscj-liturgy-source {
  margin: 16px 0 0;
  font-size: 13px;
  color: color-mix(in srgb, var(--pscj-heading) 55%, transparent);
}
@media (max-width: 767.98px) {
  .pscj-liturgy-card {
    padding: 24px 18px;
  }
  .pscj-liturgy-title {
    font-size: 19px;
  }
  .pscj-liturgy-dates {
    width: 100%;
    justify-content: space-between;
  }
  .pscj-liturgy-date {
    min-width: 0;
    flex: 1;
  }
  .pscj-liturgy-tabs {
    border-radius: 14px;
  }
}

/* ---------- Parish card of the news sidebar ---------- */
.pscj-parish-card .tp-sidebar-author-info {
  background: color-mix(in srgb, var(--pscj-primary) 5%, #fff);
  padding: 28px;
}
.pscj-parish-card-seal {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  padding: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 24px -14px rgba(31, 26, 23, .45);
}
.pscj-parish-card-seal img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
}
.pscj-parish-card .tp-sidebar-author-title {
  font-size: 17px;
  line-height: 1.3;
}
.pscj-parish-card .tp-sidebar-author-content span {
  margin-top: 4px;
  color: var(--pscj-primary);
  font-weight: 500;
}
.pscj-parish-card .tp-sidebar-author-cta {
  display: grid;
  gap: 12px;
  padding: 24px 28px;
}
.pscj-parish-card .tp-sidebar-author-cta > * {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 1.45;
  word-break: break-word;
}
.pscj-parish-card .tp-sidebar-author-cta svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--pscj-primary);
}
.pscj-parish-card .tp-sidebar-author-cta a:hover {
  color: var(--pscj-primary);
}

/* ---------- Contact: office over the parish photo ---------- */
/* The template only reveals the office text inside its slider; here it is a single panel, so always show it. */
.pscj-theme .tp-contect-slider-info,
.pscj-theme .tp-contect-slider-mail {
  opacity: 1;
  transform: none;
}
.pscj-theme .tp-contect-slider-title {
  font-size: 24px;
  line-height: 1.35;
}
.pscj-office-name {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--pscj-accent);
}
.pscj-theme .tp-contect-slider-main {
  min-height: 480px;
}
.pscj-theme .tp-contect-slider-item.tp-linear-bg-7::after {
  background:
    linear-gradient(90deg, rgba(31, 10, 6, 0) 40%, rgba(31, 10, 6, .78) 75%),
    linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(31, 10, 6, .7) 100%);
}
@media (max-width: 767.98px) {
  .pscj-theme .tp-contect-slider-main {
    min-height: 360px;
  }
}

/* ---------- Article cover: the post photo edge to edge with the title over it ---------- */
.pscj-post-hero-media {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(420px, 62vh, 640px);
  overflow: hidden;
  background: radial-gradient(90% 120% at 100% 0%, var(--pscj-primary) 0%, var(--pscj-wine) 70%);
}
.pscj-post-hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.has-image .pscj-post-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(31, 10, 6, .82) 0%, rgba(31, 10, 6, .55) 45%, rgba(31, 10, 6, .1) 80%),
    linear-gradient(180deg, rgba(31, 10, 6, 0) 35%, rgba(31, 10, 6, .75) 100%);
}
.pscj-post-hero-body {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 120px 0 56px;
}
.pscj-post-hero-inner {
  max-width: 900px;
}
.pscj-post-hero-category {
  display: inline-block;
  margin-bottom: 18px;
  padding: 6px 14px;
  border-radius: 30px;
  background: var(--pscj-accent);
  color: var(--pscj-wine);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.pscj-post-hero-title {
  margin: 0 0 18px;
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.12;
  letter-spacing: -.02em;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .3);
}
.pscj-post-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 15px;
  color: rgba(255, 255, 255, .85);
}
.pscj-post-hero-media::before {
  content: "";
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--pscj-accent), transparent);
}
@media (max-width: 767.98px) {
  .pscj-post-hero-media {
    min-height: 380px;
  }
  .pscj-post-hero-body {
    padding: 90px 0 36px;
  }
}
.pscj-post-hero + .tp-postbox-area {
  padding-top: 70px;
}
@media (max-width: 767.98px) {
  .pscj-post-hero + .tp-postbox-area {
    padding-top: 48px;
  }
}

/* ---------- TV block: live broadcast and video carousel from the YouTube channel ---------- */
.pscj-tv.has-media {
  padding: 80px 0 70px;
}
.pscj-tv-live {
  max-width: 980px;
  margin: 36px auto 0;
}
.pscj-tv-live-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-bottom: 14px;
}
.pscj-tv-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 30px;
  background: #E3242B;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.pscj-tv-live-badge span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  animation: pscj-live-pulse 1.4s ease-in-out infinite;
}
@keyframes pscj-live-pulse {
  50% {
    opacity: .3;
  }
}
.pscj-tv-live-title {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
}
.pscj-tv-player {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 16px;
  background: #000;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
}
.pscj-tv-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.pscj-tv-videos {
  position: relative;
  margin-top: 40px;
}
.pscj-tv-videos-title {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, .85);
  font-size: 15px;
  font-weight: 600;
}
.pscj-tv-video {
  display: block;
  color: #fff;
}
.pscj-tv-video:hover {
  color: #fff;
}
.pscj-tv-video-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 14px;
  background: #000;
}
.pscj-tv-video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.pscj-tv-video:hover .pscj-tv-video-thumb img {
  transform: scale(1.05);
}
.pscj-tv-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: var(--pscj-primary);
  transform: translate(-50%, -50%);
  transition: background-color .25s, color .25s;
}
.pscj-tv-video:hover .pscj-tv-video-play {
  background: var(--pscj-accent);
  color: var(--pscj-wine);
}
.pscj-tv-video-title {
  display: -webkit-box;
  margin-top: 12px;
  overflow: hidden;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  text-align: left;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.pscj-tv-video-date {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, .65);
  font-size: 13px;
  text-align: left;
}
.pscj-tv-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}
.pscj-tv-nav button {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .35);
  color: #fff;
  transition: background-color .25s, border-color .25s, color .25s;
}
.pscj-tv-nav button:hover {
  background: var(--pscj-accent);
  border-color: var(--pscj-accent);
  color: var(--pscj-wine);
}
.pscj-tv-nav button.swiper-button-disabled {
  opacity: .35;
  pointer-events: none;
}
.pscj-tv-nav button.swiper-button-lock {
  display: none;
}
@media (prefers-reduced-motion: reduce) {
  .pscj-tv-live-badge span {
    animation: none;
  }
}

/* =====================================================================================================
   Mobile navigation (offcanvas) and compact mobile layouts of the home sections.
   ===================================================================================================== */
.pscj-offcanvas {
  width: min(400px, 88vw);
  padding: 26px 24px 36px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.pscj-offcanvas .tp-offcanvas-header {
  margin-bottom: 18px;
}
.pscj-offcanvas .tp-offcanvas-logo img {
  height: 46px;
  width: auto;
}
.pscj-offcanvas-close {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--pscj-primary) 8%, #fff);
  color: var(--pscj-primary);
  transition: background-color .25s, color .25s;
}
.pscj-offcanvas-close:hover {
  background: var(--pscj-primary);
  color: #fff;
}

/* Menu: large tap targets, round toggles, nested levels indented with a gold thread. */
.pscj-offcanvas .tp-offcanvas-menu {
  margin-bottom: 26px;
}
.pscj-offcanvas .tp-offcanvas-menu ul li {
  padding: 0;
  border-bottom: 1px solid rgba(31, 26, 23, .08);
}
.pscj-offcanvas .tp-offcanvas-menu ul li a {
  display: block;
  padding: 15px 48px 15px 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--pscj-heading);
}
.pscj-offcanvas .tp-offcanvas-menu ul li.active > a {
  color: var(--pscj-primary);
}
.pscj-offcanvas .tp-menu-close,
.pscj-offcanvas .tp-offcanvas-menu ul li.active button {
  top: 11px;
  right: 0;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: color-mix(in srgb, var(--pscj-primary) 8%, #fff);
  color: var(--pscj-primary);
}
.pscj-offcanvas .tp-offcanvas-menu ul li.active > .tp-menu-close {
  background: var(--pscj-primary);
  color: #fff;
}
.pscj-offcanvas .tp-menu-close i {
  font-size: 12px;
}
.pscj-offcanvas .tp-offcanvas-menu ul .sub-menu {
  margin: 0 0 12px 2px;
  padding-left: 14px;
  border-left: 2px solid color-mix(in srgb, var(--pscj-accent) 45%, transparent);
}
.pscj-offcanvas .tp-offcanvas-menu ul .sub-menu li {
  padding-left: 0;
  border-bottom: 0;
}
.pscj-offcanvas .tp-offcanvas-menu ul .sub-menu li a {
  padding: 9px 44px 9px 0;
  font-size: 15px;
  font-weight: 500;
  color: color-mix(in srgb, var(--pscj-heading) 80%, transparent);
}
.pscj-offcanvas .tp-offcanvas-menu ul .sub-menu .tp-menu-close,
.pscj-offcanvas .tp-offcanvas-menu ul .sub-menu li.active button {
  top: 5px;
  width: 30px;
  height: 30px;
}

/* Contacts, WhatsApp button and social links. */
.pscj-offcanvas-label {
  display: block;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--pscj-primary);
}
.pscj-offcanvas-contact ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pscj-offcanvas-contact li,
.pscj-offcanvas-contact li a {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  line-height: 1.4;
  color: var(--pscj-heading);
}
.pscj-offcanvas-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--pscj-primary) 8%, #fff);
  color: var(--pscj-primary);
}
.pscj-offcanvas-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
  padding: 13px 18px;
  border-radius: 40px;
  background: var(--pscj-primary);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}
.pscj-offcanvas-whatsapp:hover {
  background: var(--pscj-wine);
  color: #fff;
}
.pscj-offcanvas-social {
  margin-top: 22px;
}
.pscj-offcanvas .tp-offcanvas-contect-social ul {
  gap: 8px;
}
.pscj-offcanvas .tp-offcanvas-contect-social ul li a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border-color: color-mix(in srgb, var(--pscj-heading) 15%, transparent);
}

@media (max-width: 767.98px) {
  /* Hero: small controls centred under the artwork. */
  .pscj-hero-controls {
    right: 50%;
    bottom: 10px;
    gap: 4px;
    padding: 4px;
    transform: translateX(50%);
  }
  .pscj-hero-nav {
    width: 28px;
    height: 28px;
  }

  /* Tithe band. */
  .pscj-dizimo-card {
    padding: 40px 0 44px;
  }
  .pscj-dizimo-icon {
    width: 72px;
  }

  /* Participation: compact rows (icon, title + text, arrow). */
  .pscj-participation .row {
    --bs-gutter-y: 12px;
  }
  .pscj-participation-card {
    display: grid;
    grid-template-columns: 52px 1fr 36px;
    grid-template-areas: "icon title link" "icon text link";
    align-items: center;
    column-gap: 14px;
    row-gap: 2px;
    padding: 18px 16px;
    text-align: left;
  }
  .pscj-participation-number {
    display: none;
  }
  .pscj-participation-card .pscj-participation-icon {
    grid-area: icon;
    width: 52px;
    height: 52px;
    margin: 0;
  }
  .pscj-participation-card .pscj-participation-icon svg {
    width: 24px;
    height: 24px;
  }
  .pscj-participation-card h3 {
    grid-area: title;
    margin: 0;
    font-size: 17px;
  }
  .pscj-participation-card p {
    grid-area: text;
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
  }
  .pscj-participation-card .pscj-circle-link {
    grid-area: link;
    width: 36px;
    height: 36px;
  }

  /* Parish priest: the first paragraph only (the button leads to the full page). */
  .pscj-priest-extra {
    display: none;
  }
  .pscj-priest-photo {
    min-height: 340px;
  }
  .pscj-priest-photo::before {
    display: none;
  }

  /* TV block. */
  .pscj-tv.has-media {
    padding: 56px 0 50px;
  }
  .pscj-tv-videos {
    margin-top: 28px;
  }

  /* News: the first card in full, the others as compact rows with a thumbnail. */
  .pscj-news {
    padding: 64px 0;
  }
  .pscj-news .row {
    --bs-gutter-y: 14px;
  }
  .pscj-news .row > [class*="col-"]:not(:first-child) .pscj-news-card {
    flex-direction: row;
    align-items: stretch;
  }
  .pscj-news .row > [class*="col-"]:not(:first-child) .pscj-news-thumb {
    width: 112px;
    flex-shrink: 0;
    aspect-ratio: auto;
  }
  .pscj-news .row > [class*="col-"]:not(:first-child) .pscj-news-date {
    display: none;
  }
  .pscj-news .row > [class*="col-"]:not(:first-child) .pscj-news-body {
    padding: 14px 16px;
  }
  .pscj-news .row > [class*="col-"]:not(:first-child) .pscj-news-title {
    margin-bottom: 8px;
    font-size: 16px;
  }
  .pscj-news .row > [class*="col-"]:not(:first-child) .pscj-news-category {
    margin-bottom: 4px;
    font-size: 11px;
  }

  /* Footer: tighter columns. */
  .pscj-footer .tp-footer-main {
    padding-top: 60px;
    padding-bottom: 40px;
  }
  .pscj-footer .tp-footer-main .row {
    --bs-gutter-y: 32px;
  }
  .pscj-footer .container {
    padding-left: 22px;
    padding-right: 22px;
  }
  .pscj-footer-col {
    text-align: center;
  }
  .pscj-footer-brand {
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    margin-bottom: 18px;
    text-align: center;
  }
  .pscj-footer-brand img {
    width: 64px;
  }
  .pscj-footer-note {
    margin-top: 18px;
    padding-top: 18px;
  }
  .pscj-footer-title {
    margin-bottom: 14px;
  }
  .pscj-footer-contacts li,
  .pscj-footer-contacts a {
    justify-content: center;
    text-align: center;
  }
  .pscj-footer-contacts li {
    margin-bottom: 8px;
  }
  .pscj-footer .tp-footer-social ul {
    display: flex;
    justify-content: center;
    gap: 8px;
  }
  .pscj-footer .tp-footer-social ul li {
    margin: 0;
  }
  .pscj-footer .tp-footer-social.pt-20 {
    padding-top: 16px;
  }
  /* Footer menu: a tidy two-column grid. */
  .pscj-footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 16px;
    margin-top: 32px;
    padding-top: 26px;
    text-align: center;
  }
  .pscj-footer-bottom {
    padding: 20px 0;
  }
  .pscj-footer-bottom p {
    font-size: 13px;
  }
}
