/* AWSD Szczecin — komponenty strony głównej i wspólne UI — wersja 3.4.7. */

.hero {
  background: var(--color-background);
}

.slider-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-2);
  border-radius: var(--radius-pill);
  background: rgba(var(--rgb-black), 0.18);
  backdrop-filter: blur(6px);
}

.hero-identity {
  width: min(var(--container-max), calc(100% - 2 * var(--container-gutter)));
  margin: 0 auto;
  padding: var(--space-5) var(--space-6) var(--space-5);
  border: var(--border-subtle);
  border-radius: var(--radius-card);
  background: rgba(var(--rgb-surface), 0.985);
  box-shadow: var(--shadow-xs);
  text-align: center;
}

.hero-title {
  margin: 0 auto;
  color: var(--color-text);
  font-size: clamp(1.35rem, 2.1vw, 2rem);
  line-height: var(--leading-tight);
  letter-spacing: -0.015em;
  font-weight: var(--font-weight-bold);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-invite::before {
  content: "";
  height: 1px;
  background: linear-gradient(90deg, rgba(var(--rgb-accent), 0), rgba(var(--rgb-accent), 0.48));
}

.hero-invite::after {
  content: "";
  height: 1px;
  background: linear-gradient(90deg, rgba(var(--rgb-accent), 0), rgba(var(--rgb-accent), 0.48));
  transform: rotate(180deg);
}

.hero-link {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 var(--space-3);
  border: var(--border-strong);
  border-radius: var(--radius-control);
  color: var(--color-primary);
  background: var(--color-surface);
  font-size: var(--text-ui);
  font-weight: var(--font-weight-semibold);
  white-space: nowrap;
  transition: background var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) var(--ease-standard);
}

.hero-link.primary {
  background: var(--color-primary-soft);
  border-color: var(--color-border-hover);
}

.hero-link:hover {
  background: var(--color-primary-soft);
  border-color: var(--color-border-hover);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}

.entry-card {
  overflow: hidden;
  display: grid;
  grid-template-rows: 180px 1fr;
  min-height: 430px;
  border: var(--border-subtle);
  border-radius: var(--radius-card);
  background: var(--color-surface);
  box-shadow: var(--shadow-md);
  transition: transform var(--duration-fast) var(--ease-standard), box-shadow var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) var(--ease-standard);
}

.entry-card:hover {
  transform: translateY(-2px);
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-lg);
}

.entry-card__image {
  position: relative;
  overflow: hidden;
  background: var(--color-image-placeholder);
  border-bottom: var(--border-subtle);
}

.entry-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-normal) var(--ease-standard);
}

.entry-card:hover .entry-card__image img {
  transform: scale(1.025);
}

.entry-card__body {
  display: flex;
  flex-direction: column;
  padding: var(--space-4) var(--space-4) var(--space-4);
}

.entry-card__date {
  display: block;
  margin: 0 0 var(--space-2);
  color: var(--color-accent);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-bold);
}

.entry-card__title {
  margin: 0 0 var(--space-2);
  color: var(--color-text);
  font-size: var(--text-lg);
  line-height: var(--leading-tight);
  font-weight: var(--font-weight-bold);
  letter-spacing: -0.01em;
}

.entry-card__excerpt {
  margin: 0 0 var(--space-3);
  color: var(--color-text-muted);
  font-size: var(--text-body);
  line-height: var(--leading-normal);
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  margin-top: auto;
  padding-top: var(--space-4);
  color: var(--color-primary);
  font-size: var(--text-ui);
  font-weight: var(--font-weight-bold);
}

.read-more::after {
  content: "→";
  transform: translateY(-1px);
}

.news-bottom {
  display: flex;
  justify-content: center;
  margin-top: var(--space-5);
}

.all-news-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 var(--space-4);
  border: var(--border-strong);
  border-radius: var(--radius-control);
  background: var(--color-surface);
  color: var(--color-primary);
  font-size: var(--text-ui);
  font-weight: var(--font-weight-semibold);
  white-space: nowrap;
  transition: background var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) var(--ease-standard);
}

.word-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 var(--space-4);
  border: var(--border-strong);
  border-radius: var(--radius-control);
  background: var(--color-surface);
  color: var(--color-primary);
  font-size: var(--text-ui);
  font-weight: var(--font-weight-semibold);
  white-space: nowrap;
  transition: background var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) var(--ease-standard);
}

.all-news-link:hover {
  background: var(--color-primary-soft);
  border-color: var(--color-border-hover);
}

.word-button:hover {
  background: var(--color-primary-soft);
  border-color: var(--color-border-hover);
}

.home-section-surface {
  padding: var(--content-space);
  border: var(--border-subtle);
  border-radius: var(--radius-card);
  background: rgba(var(--rgb-surface), 0.72);
  box-shadow: var(--shadow-sm);
}

.contact-section .home-section-surface {
  margin-bottom: var(--space-7);
}

.vocation-hero::after {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(var(--rgb-white), 0.24);
  border-radius: var(--radius-inner);
  pointer-events: none;
  z-index: 1;
}

.vocation-content {
  position: relative;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 2;
  padding: var(--space-6);
}

.vocation-heading {
  max-width: 520px;
  color: var(--color-white);
}

.vocation-heading h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2.25vw, 2.05rem);
  line-height: var(--leading-tight);
  letter-spacing: -.015em;
  font-weight: var(--font-weight-bold);
}

.vocation-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
  margin-top: 70px;
}

.vocation-card {
  min-height: 126px;
  padding: var(--space-4) var(--space-4) var(--space-4);
  border: 1px solid rgba(var(--rgb-border), 0.92);
  border-radius: var(--radius-card);
  background: rgba(var(--rgb-surface),.94);
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(10px);
  transition: transform var(--duration-fast) var(--ease-standard), background var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) var(--ease-standard);
}

.vocation-card:hover {
  transform: translateY(-2px);
  background: var(--color-surface);
  border-color: var(--color-border-strong);
}

.panel-head span {
  display: block;
  color: var(--color-accent);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-heavy);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.vocation-card span {
  display: block;
  color: var(--color-accent);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-heavy);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.vocation-card h3 {
  margin: 0 0 var(--space-2);
  color: var(--color-text);
  font-size: var(--text-lg);
  line-height: var(--leading-tight);
  font-weight: var(--font-weight-bold);
}

.vocation-card p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: var(--text-ui);
  line-height: var(--leading-normal);
}

.vocation-card strong {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  margin-top: var(--space-3);
  color: var(--color-primary);
  font-size: var(--text-ui);
}

.vocation-card strong::after {
  content: "→";
  transform: translateY(-1px);
}

.vocation-card.is-primary {
  background: rgba(var(--rgb-primary-soft), 0.96);
  border-color: rgba(var(--rgb-border-hover), 0.95);
}

.faithful-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}

.faithful-tile {
  position: relative;
  min-height: 248px;
  overflow: hidden;
  border: var(--border-subtle);
  border-radius: var(--radius-card);
  background: var(--color-border);
  box-shadow: var(--shadow-md);
  transition: transform var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) var(--ease-standard), box-shadow var(--duration-fast) var(--ease-standard);
}

.faithful-tile:hover {
  transform: translateY(-2px);
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-lg);
}

.faithful-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(var(--rgb-black), 0.56) 0%, rgba(var(--rgb-black), 0.26) 42%, rgba(var(--rgb-black), 0.04) 76%);
  z-index: 1;
}

.faithful-tile::after {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: 2;
  border: 1px solid rgba(var(--rgb-white), 0.22);
  border-radius: var(--radius-inner);
  pointer-events: none;
}

.faithful-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-normal) var(--ease-standard);
}

.faithful-tile:hover img {
  transform: scale(1.025);
}

.tile-title {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 21px;
  z-index: 3;
  color: var(--color-white);
}

.tile-title span {
  display: block;
  font-size: var(--text-xs);
  font-weight: var(--font-weight-heavy);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: var(--space-1);
  color: rgba(var(--rgb-white), 0.76);
}

.tile-title h3 {
  margin: 0;
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  line-height: var(--leading-tight);
  font-weight: var(--font-weight-bold);
  letter-spacing: -.01em;
}

.follow-grid {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr) 260px;
  gap: var(--space-4);
  align-items: stretch;
}

.awsd-panel {
  overflow: hidden;
  border: var(--border-subtle);
  border-radius: var(--radius-card);
  background: var(--color-surface);
  box-shadow: var(--shadow-md);
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-bottom: var(--border-subtle);
  background: rgba(var(--rgb-surface), 0.96);
}

.panel-head h3 {
  margin: 0;
  color: var(--color-text);
  font-size: var(--text-lg);
  line-height: var(--leading-tight);
  font-weight: var(--font-weight-bold);
}

.recommend-panel {
  display: flex;
  flex-direction: column;
  min-height: 430px;
}

.word-panel {
  min-height: 430px;
  display: flex;
  flex-direction: column;
}

.word-content {
  flex: 1;
  padding: var(--space-7) var(--space-7);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.word-content h3 {
  margin: 0 0 var(--space-3);
  color: var(--color-text);
  font-size: clamp(1.24rem, 1.8vw, 1.55rem);
  line-height: var(--leading-tight);
  font-weight: var(--font-weight-bold);
  letter-spacing: -.012em;
}

.word-content blockquote {
  margin: 0 0 var(--space-4);
  padding-left: var(--space-4);
  border-left: 3px solid var(--color-accent);
  color: var(--color-text-body);
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  line-height: var(--leading-normal);
  font-style: italic;
}

.contact-panel {
  overflow: hidden;
  border: var(--border-subtle);
  border-radius: var(--radius-card);
  background: var(--color-surface);
  box-shadow: var(--shadow-lg);
}

.word-actions {
  margin-top: var(--space-4);
}

.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr);
  min-height: 320px;
  border-bottom: var(--border-subtle);
}

.address-block::after {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(var(--rgb-white), 0.22);
  border-radius: var(--radius-inner);
  pointer-events: none;
}

.contact-address::after {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(var(--rgb-white), 0.22);
  border-radius: var(--radius-inner);
  pointer-events: none;
}

.address-block > * {
  position: relative;
  z-index: 1;
}

.contact-address > * {
  position: relative;
  z-index: 1;
}

.address-block .small-label {
  color: rgba(var(--rgb-white), 0.72);
}

.contact-address .small-label {
  color: rgba(var(--rgb-white), 0.72);
}

.address-block h2 {
  max-width: 560px;
  margin: 0 0 var(--space-4);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: var(--leading-tight);
  letter-spacing: -.015em;
  font-weight: var(--font-weight-semibold);
}

.contact-address h3 {
  max-width: 560px;
  margin: 0 0 var(--space-4);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: var(--leading-tight);
  letter-spacing: -.015em;
  font-weight: var(--font-weight-semibold);
}

.address-block address {
  margin: 0;
  color: rgba(var(--rgb-white), 0.88);
  font-style: normal;
  font-size: var(--text-base);
  line-height: var(--leading-normal);
}

.address-line {
  margin: 0;
  color: rgba(var(--rgb-white), 0.88);
  font-style: normal;
  font-size: var(--text-base);
  line-height: var(--leading-normal);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-5);
}

.awsd-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 var(--space-3);
  border: 1px solid rgba(var(--rgb-white), 0.34);
  border-radius: var(--radius-control);
  background: rgba(var(--rgb-white), 0.1);
  color: var(--color-white);
  font-size: var(--text-ui);
  font-weight: var(--font-weight-semibold);
  white-space: nowrap;
  transition: background var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) var(--ease-standard);
}

.awsd-button:hover {
  background: rgba(var(--rgb-white), 0.17);
  border-color: rgba(var(--rgb-white), 0.5);
}

.awsd-button.light {
  background: var(--color-surface);
  border-color: var(--color-white);
  color: var(--color-primary);
}

.map-block {
  min-height: 320px;
  background: var(--color-accent-soft);
}

.map-card {
  min-height: 320px;
  background: var(--color-accent-soft);
}

.map-block iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  display: block;
  filter: grayscale(.12) saturate(.85);
}

.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  display: block;
  filter: grayscale(.12) saturate(.85);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-card {
  min-height: 178px;
  border-right: var(--border-subtle);
  background: var(--color-surface);
  padding: var(--content-space);
}

.contact-card:last-child {
  border-right: 0;
}

.contact-card h3 {
  margin: 0 0 var(--space-3);
  color: var(--color-text);
  font-size: var(--text-lg);
  line-height: var(--leading-tight);
  font-weight: var(--font-weight-bold);
}

.contact-row {
}

.contact-row span {
  display: block;
  color: var(--color-accent);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-heavy);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.contact-row a {
  color: var(--color-primary);
  font-size: var(--text-body);
  font-weight: var(--font-weight-semibold);
  word-break: break-word;
}

.follow-section .social-tile::after {
  display: none;
  content: none;
}

.follow-section .social-tile::before {
  display: none;
  content: none;
}

.follow-section .social-tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  filter: saturate(1.02);
}

.follow-section .social-tile.instagram .social-icon {
  color: var(--color-instagram-icon);
}

.follow-section .social-tile .instagram-icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

.follow-section .social-tile .instagram-icon circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
}

.follow-section .social-tile .instagram-icon rect {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
}

.vocation-quote {
  margin: var(--space-3) 0 0;
  padding: var(--space-2) var(--space-3);
  border: 1px solid rgba(var(--rgb-white), 0.28);
  border-radius: var(--radius-pill);
  background: rgba(var(--rgb-white), 0.12);
  color: rgba(var(--rgb-white), 0.9);
  backdrop-filter: blur(8px);
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  font-style: italic;
  width: fit-content;
  max-width: min(620px, 100%);
  white-space: normal;
}

.vocation-hero {
  position: relative;
  overflow: hidden;
  min-height: 500px;
  border: var(--border-subtle);
  border-radius: var(--radius-card);
  background-color: var(--color-primary);
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: var(--shadow-lg);
}

.vocation-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg, rgba(var(--rgb-primary),.72) 0%, rgba(var(--rgb-primary),.46) 34%, rgba(var(--rgb-primary),.14) 64%, rgba(var(--rgb-primary),.02) 100%), linear-gradient(0deg, rgba(var(--rgb-dark), 0.54) 0%, rgba(var(--rgb-dark), 0.16) 45%, rgba(var(--rgb-dark), 0.04) 100%);
  pointer-events: none;
}

.follow-section .social-stack {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: var(--space-2);
  min-height: 430px;
  max-height: 430px;
}

.follow-section .social-tile {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-md);
  transition: transform var(--duration-fast) var(--ease-standard), box-shadow var(--duration-fast) var(--ease-standard), filter var(--duration-fast) var(--ease-standard);
  min-height: 0;
  padding: var(--space-3) var(--space-4);
  justify-content: center;
  border: 0;
}

.follow-section .social-tile.facebook {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-md);
  transition: transform var(--duration-fast) var(--ease-standard), box-shadow var(--duration-fast) var(--ease-standard), filter var(--duration-fast) var(--ease-standard);
  background: var(--color-facebook);
  color: var(--color-white);
  min-height: 0;
  padding: var(--space-3) var(--space-4);
  justify-content: center;
  border: 0;
}

.follow-section .social-tile.instagram {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-md);
  transition: transform var(--duration-fast) var(--ease-standard), box-shadow var(--duration-fast) var(--ease-standard), filter var(--duration-fast) var(--ease-standard);
  background: var(--gradient-instagram);
  color: var(--color-white);
  min-height: 0;
  padding: var(--space-3) var(--space-4);
  justify-content: center;
  border: 0;
}

.follow-section .social-tile .social-icon {
  border-radius: var(--radius-circle);
  display: grid;
  place-items: center;
  background: rgba(var(--rgb-white), 0.96);
  color: var(--color-facebook);
  font-family: var(--font-icon);
  line-height: var(--leading-none);
  font-weight: var(--font-weight-heavy);
  box-shadow: var(--shadow-icon);
  width: 34px;
  height: 34px;
  font-size: var(--text-base);
}

.follow-section .social-tile .social-icon svg {
  width: 1em;
  height: 1em;
  display: block;
  fill: currentColor;
}

.follow-section .social-tile.facebook .social-icon svg {
  width: .72em;
}

.follow-section .social-tile.instagram .social-icon svg {
  width: .98em;
}

.follow-section .social-tile .small-label {
  color: rgba(var(--rgb-white), 0.78);
  margin-bottom: 2px;
  font-size: var(--text-xs);
}

.follow-section .social-tile h3 {
  margin: 0;
  color: var(--color-white);
  font-weight: var(--font-weight-bold);
  letter-spacing: -.01em;
  font-size: var(--text-body);
  line-height: var(--leading-tight);
}

.follow-section .social-tile p {
  margin: var(--space-2) 0 0;
  color: rgba(var(--rgb-white), 0.92);
  font-size: var(--text-xs);
  line-height: var(--leading-tight);
}

.address-block {
  position: relative;
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(90deg, rgba(var(--rgb-contact), 0.62) 0%, rgba(var(--rgb-contact), 0.50) 48%, rgba(var(--rgb-contact), 0.34) 100%), linear-gradient(0deg, rgba(var(--rgb-white), 0.08), rgba(var(--rgb-white), 0.02)), url("../images/contact-background.jpg") center center / cover;
  padding: var(--content-space);
}

.contact-address {
  position: relative;
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(90deg, rgba(var(--rgb-contact), 0.62) 0%, rgba(var(--rgb-contact), 0.50) 48%, rgba(var(--rgb-contact), 0.34) 100%), linear-gradient(0deg, rgba(var(--rgb-white), 0.08), rgba(var(--rgb-white), 0.02)), url("../images/contact-background.jpg") center center / cover;
  padding: var(--content-space);
}

.follow-section .social-tile.youtube {
  min-height: 0;
  padding: var(--space-3) var(--space-4);
  justify-content: center;
  border: 0;
  background: var(--color-youtube);
  color: var(--color-white);
}

.follow-section .social-tile.youtube .social-icon {
  color: var(--color-youtube);
}

.follow-section .social-tile.youtube .social-icon svg {
  width: 1.14em;
  height: 1em;
  display: block;
  fill: currentColor;
}

.news-section {
  padding: var(--section-space) 0;
  background: linear-gradient(180deg, rgba(var(--rgb-surface), 0.36), rgba(var(--rgb-surface), 0)), var(--color-background);
}

.faithful-section {
  padding: var(--section-space) 0;
  background: linear-gradient(180deg, rgba(var(--rgb-surface), 0.36), rgba(var(--rgb-surface), 0)), var(--color-background);
}

.follow-section {
  padding: var(--section-space) 0;
  background: linear-gradient(180deg, rgba(var(--rgb-surface), 0.36), rgba(var(--rgb-surface), 0)), var(--color-background);
}

.contact-section {
  padding: var(--section-space) 0;
  background: linear-gradient(180deg, rgba(var(--rgb-surface), 0.38), rgba(var(--rgb-surface), 0)), var(--color-background);
}

.hero-identity-wrap {
  position: relative;
  z-index: 3;
  margin-top: -18px;
  padding-bottom: var(--space-2);
}

.poster-slider {
  position: relative;
  flex: 1;
  min-height: 330px;
  padding: var(--space-4);
  background: radial-gradient(circle at 50% 28%, rgba(var(--rgb-accent), 0.12), rgba(var(--rgb-accent), 0) 56%), var(--color-surface-soft);
  overflow: hidden;
}

.poster-slider .poster-slide {
  position: absolute;
  inset: 14px 34px;
  display: block;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-slow) var(--ease-standard);
  will-change: opacity;
}

.poster-slider .poster-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.poster-slider .poster-slide img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: var(--radius-inner);
  filter: drop-shadow(0 14px 20px rgba(var(--rgb-shadow), 0.16));
}

.poster-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: grid;
  place-items: center;
  border: 0;
  color: var(--color-white);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background var(--duration-fast) var(--ease-standard), transform var(--duration-fast) var(--ease-standard), box-shadow var(--duration-fast) var(--ease-standard);
  width: 32px;
  height: 46px;
  border-radius: var(--radius-control);
  background: rgba(var(--rgb-text), 0.54);
  box-shadow: var(--shadow-xl);
}

.poster-arrow:focus-visible {
  outline: none;
  background: rgba(var(--rgb-primary), 0.78);
  transform: translateY(-50%) scale(1.02);
  box-shadow: var(--shadow-xl);
}

.poster-arrow:hover {
  outline: none;
  background: rgba(var(--rgb-primary), 0.78);
  transform: translateY(-50%) scale(1.02);
  box-shadow: var(--shadow-xl);
}

.poster-arrow-prev {
  left: 9px;
}

.poster-arrow-next {
  right: 9px;
}

.poster-arrow span {
  display: block;
  border-top: 4px solid currentColor;
  border-right: 4px solid currentColor;
  width: 11px;
  height: 11px;
  border-top-width: 3px;
  border-right-width: 3px;
}

.poster-arrow-prev span {
  transform: rotate(-135deg);
  margin-left: var(--space-1);
}

.poster-arrow-next span {
  transform: rotate(45deg);
  margin-right: var(--space-1);
}

.poster-slider.is-single-slide .poster-arrow {
  display: none;
}

.poster-slider.is-single-slide .poster-slide {
  inset: 14px;
}

.word-content p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: var(--text-body);
  line-height: var(--leading-normal);
  max-width: 58ch;
}

.ewangelia_sigla {
  margin: 0 0 var(--space-2);
  color: var(--color-text);
  font-size: var(--text-lg);
}

.ewangelia_lead {
  margin: 0 0 var(--space-2);
  padding-left: var(--space-3);
  border-left: 3px solid var(--color-accent);
  color: var(--color-text);
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  font-style: italic;
  line-height: var(--leading-normal);
}

.ewangelia_content {
  margin: 0 0 var(--space-2);
  color: var(--color-text-muted);
  line-height: var(--leading-normal);
}

.poster-slider.has-placeholder {
  display: grid;
  place-items: center;
  padding: var(--space-5);
}

.poster-placeholder-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: var(--border-subtle);
  border-radius: var(--radius-circle);
  color: var(--color-accent);
  background: var(--color-surface);
  font-size: var(--text-2xl);
  line-height: var(--leading-none);
  font-weight: var(--font-weight-bold);
}

.poster-placeholder h4 {
  margin: 0;
  color: var(--color-text);
  font-size: var(--text-base);
}

.poster-placeholder p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: var(--text-ui);
  line-height: var(--leading-normal);
}

.poster-placeholder {
  width: min(280px, 100%);
  min-height: 250px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: var(--space-2);
  padding: var(--space-6) var(--space-4);
  border: 1px dashed var(--color-border-strong);
  border-radius: var(--radius-card);
  background: rgba(var(--rgb-surface), 0.62);
  text-align: center;
  position: relative;
}

.poster-placeholder-admin-link {
  text-decoration: none;
  transition: transform var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) var(--ease-standard), background var(--duration-fast) var(--ease-standard);
}

.poster-placeholder-admin-link:focus {
  transform: translateY(-1px);
  border-color: var(--color-accent);
  background: var(--color-surface-soft);
  outline: none;
}

.poster-placeholder-admin-link:hover {
  transform: translateY(-1px);
  border-color: var(--color-accent);
  background: var(--color-surface-soft);
  outline: none;
}

.poster-placeholder-admin-note {
  font-size: var(--text-sm);
}

.poster-placeholder:not(:has(.poster-placeholder-admin-link)) {
  gap: var(--space-2);
  min-height: 220px;
}

.hero-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--color-dark);
  height: clamp(380px, calc(58vh + 20px), 640px);
}

.hero-slider .hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-position: center;
  background-size: cover;
  transition: opacity var(--duration-slow) var(--ease-standard);
}

.hero-slider .hero-slide.is-active {
  opacity: 1;
}

.hero-invite {
  width: min(420px, 100%);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-accent);
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  font-style: italic;
  line-height: var(--leading-none);
  margin: var(--space-5) auto 0;
}

.hero-actions-row {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-top: var(--space-5);
}

.slider-dots button {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  width: 28px;
  height: 3px;
  border-radius: var(--radius-pill);
  background: rgba(var(--rgb-white), 0.55);
}

.slider-dots span {
  width: 28px;
  height: 3px;
  border-radius: var(--radius-pill);
  background: rgba(var(--rgb-white), 0.55);
}

.slider-dots button.is-active {
  background: rgba(var(--rgb-white), 0.96);
}

.slider-dots span.is-active {
  background: rgba(var(--rgb-white), 0.96);
}

.slider-dots button:focus-visible {
  outline: 2px solid rgba(var(--rgb-white), 0.96);
  outline-offset: 4px;
}

@media (max-width: 1120px) {
  .follow-grid {
    grid-template-columns: 300px minmax(0, 1fr);
  }

  .follow-section .social-stack {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: 1fr;
    min-height: 170px;
    max-height: none;
  }

  .vocation-hero::before {
    background: linear-gradient(0deg, rgba(var(--rgb-primary),.76) 0%, rgba(var(--rgb-primary),.38) 52%, rgba(var(--rgb-primary),.08) 100%);
  }

  .follow-section .social-tile {
    min-height: 170px;
  }

  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-hero {
    grid-template-columns: 1fr;
  }

  .faithful-grid {
    grid-template-columns: 1fr;
  }

  .vocation-links {
    grid-template-columns: 1fr;
  }

  .contact-card {
    border-right: 0;
    border-bottom: var(--border-subtle);
  }

  .contact-card:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 720px) {
  .hero-title {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }

  .hero-actions-row {
    display: grid;
  }

  .hero-link {
    width: 100%;
  }

  .entry-card {
    min-height: auto;
  }

  .poster-slider {
    min-height: 380px;
  }

  .follow-section .social-stack {
    grid-column: auto;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, minmax(0, 1fr));
    min-height: auto;
  }

  .follow-section .social-tile {
    min-height: 126px;
  }

  .vocation-hero {
    min-height: 520px;
  }

  .poster-arrow {
    width: 30px;
    height: 42px;
  }

  .poster-arrow-prev {
    left: 6px;
  }

  .poster-arrow-next {
    right: 6px;
  }

  .poster-slider .poster-slide {
    inset: 12px 30px;
  }

  .contact-grid {
    gap: var(--space-3);
  }

  .faithful-grid {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }

  .follow-grid {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }

  .news-grid {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }

  .address-block::after {
    inset: 10px;
  }

  .contact-address::after {
    inset: 10px;
  }

  .contact-actions {
    display: grid;
  }

  .awsd-button {
    width: 100%;
  }

  .hero-slider {
    height: clamp(310px, calc(56vh - 35px), 570px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .poster-slider .poster-slide {
    transition: none;
    transform: none;
    filter: none;
  }

  .poster-slider .poster-slide img {
    transition: none;
    transform: none;
    filter: none;
  }
}
