/* 방문자가 자주 찾는 기능을 메인 비주얼 바로 아래에 배치합니다. */
.quick-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 34px);
  position: relative;
  z-index: 3;
  transform: translateY(-22px);
}

.quick-links a {
  min-height: 120px;
  padding: 25px;
  border-right: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.quick-links a:first-child {
  border-radius: 8px 0 0 8px;
}

.quick-links a:last-child {
  border-right: 0;
  border-radius: 0 8px 8px 0;
}

.quick-links span,
.label,
.notice-list span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.quick-links strong {
  color: var(--blue-900);
  font-size: 1.08rem;
}

.section-summary {
  max-width: 760px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.05rem;
  word-break: keep-all;
}

.section {
  padding: 110px clamp(20px, 7vw, 96px);
}

/* 홈 화면의 주요 섹션에서 공통으로 사용하는 레이아웃입니다. */
.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

h2 {
  margin-bottom: 0;
  color: var(--blue-900);
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.16;
  letter-spacing: 0;
  word-break: keep-all;
}

h3 {
  color: var(--blue-900);
  font-size: var(--type-card-title);
  line-height: 1.28;
}

.intro {
  background: linear-gradient(
    180deg,
    var(--white) 0%,
    var(--surface-cool) 100%
  );
}
.vision-grid,
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.vision-grid article {
  min-height: 235px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.vision-grid span {
  display: block;
  margin-bottom: 45px;
  color: var(--blue-500);
  font-size: 0.88rem;
  font-weight: 800;
}
.vision-grid p,
.resource-grid p,
.worship-main p,
.newcomer p,
.location p,
.sermon-feature p {
  color: var(--muted);
  word-break: keep-all;
}

.resource-grid span {
  display: inline-flex;
  margin-bottom: 30px;
  color: var(--green);
  font-weight: 800;
}

.worship {
  background: var(--white);
}

.worship-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
}

.worship-main {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 38px;
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(0deg, rgba(22, 60, 104, 0.82), rgba(22, 60, 104, 0.1)),
    var(--worship-image) center / cover;
}

.worship-main h3,
.worship-main p,
.worship-main .label {
  color: var(--white);
}

.worship-main h3 {
  margin-bottom: 12px;
  font-size: var(--type-feature-title);
}

.worship-main a {
  display: inline-flex;
  width: fit-content;
  margin-top: 18px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.72);
  color: var(--white);
  font-weight: 800;
}

.home-worship-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.home-worship-board article {
  min-height: 126px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-cool);
}

.home-worship-board span,
.home-worship-board strong,
.home-worship-board p {
  display: block;
}

.home-worship-board span {
  margin-bottom: 8px;
  color: var(--muted);
  font-weight: 700;
}

.home-worship-board strong {
  color: var(--blue-900);
  font-size: 1.08rem;
}

.home-worship-board p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  word-break: keep-all;
}

.news {
  background: var(--white);
}

body .news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
}

.sermon-feature {
  min-height: 360px;
  padding: 38px;
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(0deg, rgba(22, 60, 104, 0.86), rgba(22, 60, 104, 0.25)),
    var(--sermon-image) center / cover;
}

body .news .sermon-feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(10, 18, 15, 0.18), rgba(10, 18, 15, 0.9)),
    var(--sermon-image) center / cover;
}

body .news .sermon-feature h3 {
  margin-top: 12px;
}

body .news .sermon-feature h3,
body .news .sermon-feature p {
  max-width: 850px;
}

.sermon-feature h3,
.sermon-feature p,
.sermon-feature .label {
  color: var(--white);
}

body .sermon-feature h3 {
  margin-top: 120px;
  margin-bottom: 12px;
  font-size: clamp(1.25rem, 1.45vw, 1.75rem);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.sermon-feature a {
  display: inline-flex;
  margin-top: 18px;
  font-weight: 800;
}

.notice-list {
  display: grid;
  gap: 14px;
}

.notice-list a {
  display: flex;
  min-height: 110px;
  flex-direction: column;
  justify-content: center;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-cool);
}

.notice-list strong {
  color: var(--blue-900);
  font-size: 1.12rem;
}

.resources {
  background: linear-gradient(
    180deg,
    var(--white) 0%,
    var(--surface-cool) 100%
  );
}

.resource-grid {
  grid-template-columns: repeat(4, 1fr);
}

.resource-grid a {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(22, 60, 104, 0.08);
}

.resource-grid strong {
  margin-bottom: 12px;
  color: var(--blue-900);
  font-size: 1.28rem;
}

.resource-grid p {
  margin-bottom: 0;
}

.newcomer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(22, 60, 104, 0.92), rgba(22, 60, 104, 0.62)),
    var(--welcome-image) center / cover;
}

.newcomer h2,
.newcomer p,
.newcomer .eyebrow {
  color: var(--white);
}

.newcomer-copy {
  max-width: 690px;
}

.newcomer .button.primary {
  min-width: 170px;
  background: var(--white);
  color: var(--blue-900);
  box-shadow: none;
}

.location {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 34px;
  align-items: center;
  background: var(--surface-cool);
}

.map-panel {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.88),
      rgba(255, 255, 255, 0.55)
    ),
    repeating-linear-gradient(45deg, #d8e8f5 0 1px, transparent 1px 18px);
}

.map-panel span {
  color: var(--blue-500);
  font-weight: 800;
}

.map-panel strong {
  color: var(--blue-900);
  font-size: 2rem;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(104px, 0.34fr) minmax(340px, 1.66fr) auto;
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
  padding: 34px clamp(20px, 7vw, 96px);
  border-top: 0;
  color: rgba(255, 255, 255, 0.7);
  background: #17201d;
}

.footer-verse {
  grid-row: 1;
  grid-column: 1 / -1;
  width: 100%;
  margin: 0 0 8px;
  padding: 0 0 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  text-align: center;
}

body .site-footer .footer-verse p {
  max-width: 780px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(0.92rem, 1.15vw, 1.05rem);
  font-weight: 550;
  line-height: 1.7;
}

.footer-verse cite {
  display: block;
  margin-top: 10px;
  color: #7fc6e7;
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 650;
}

.footer-brand {
  display: flex;
  align-items: center;
}

body .site-footer .footer-logo {
  display: block;
  width: 92px;
  max-width: 100%;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.site-footer-slot {
  min-height: 180px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.72);
  background: #17201d;
}

.site-footer-slot.is-error {
  padding: 32px 20px;
  font-size: 0.88rem;
}

.footer-copy {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.site-footer .footer-copy p,
.site-footer .footer-copy address {
  max-width: none;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.88rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.65;
  word-break: keep-all;
}

.site-footer .footer-copy .footer-copyright {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
}

.footer-copy a {
  color: inherit;
  text-decoration: none;
}

.footer-copy a:hover,
.footer-copy a:focus-visible {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-social {
  justify-self: end;
}

.footer-social .social-link {
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--blue-900);
  background: var(--white);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.footer-social .social-link:hover {
  color: var(--white);
  background: var(--blue-700);
}

body.subpage .site-header {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 30px rgba(22, 60, 104, 0.1);
  backdrop-filter: blur(16px);
}

body.subpage .brand-logo {
  background: var(--white);
}

body.subpage .social-link {
  border-color: var(--line);
  color: var(--blue-900);
  background: var(--surface-cool);
}

.people-page {
  background:
    linear-gradient(180deg, var(--surface-cool) 0%, var(--white) 420px),
    var(--white);
}

.people-hero {
  padding: 170px clamp(20px, 7vw, 96px) 70px;
}

.people-hero h1 {
  max-width: 920px;
  margin-bottom: 18px;
  color: var(--blue-900);
  font-size: var(--type-page-title);
  line-height: 1.06;
}

.people-hero p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  word-break: keep-all;
}

.pastor-feature {
  display: grid;
  grid-template-columns: minmax(240px, 360px) minmax(320px, 1fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: center;
  padding: 0 clamp(20px, 7vw, 96px) 100px;
}

.pastor-photo {
  width: 100%;
  max-width: 360px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--surface-cool);
  box-shadow: var(--shadow);
}

.pastor-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.pastor-copy {
  max-width: 720px;
}

.pastor-copy h2 {
  margin-bottom: 12px;
}

.pastor-copy span,
.staff-card span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--green);
  font-weight: 800;
}

.pastor-copy p {
  color: var(--muted);
  font-size: 1.06rem;
  word-break: keep-all;
}

.staff-section {
  padding: 96px clamp(20px, 7vw, 96px);
  background: var(--surface-soft);
}

.staff-section + .staff-section {
  padding-top: 0;
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 260px));
  justify-content: start;
  gap: 22px;
}

.elders-grid {
  grid-template-columns: repeat(2, minmax(230px, 260px));
  max-width: 542px;
}

.staff-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(22, 60, 104, 0.08);
}

.staff-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  background: var(--surface-cool);
}

.staff-card div {
  padding: 20px;
}

.staff-card h3 {
  margin-bottom: 10px;
}

.staff-card p {
  color: var(--muted);
  word-break: keep-all;
}

.intro-page {
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(180deg, var(--surface-cool) 0%, var(--white) 460px),
    var(--white);
}

.intro-detail-hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(340px, 1fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  padding: 168px clamp(20px, 7vw, 96px) 96px;
}

.intro-detail-media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  max-height: 430px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--surface-cool);
  box-shadow: var(--shadow);
}

.intro-detail-media img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center center;
}

.intro-detail-copy h1 {
  margin-bottom: 24px;
  color: var(--blue-900);
  font-size: var(--type-page-title);
  line-height: 1.06;
}

.intro-detail-copy p {
  color: var(--muted);
  font-size: 1.08rem;
  word-break: keep-all;
}

.intro-detail-copy strong {
  display: inline-flex;
  margin-top: 14px;
  color: var(--blue-900);
  font-size: 1.05rem;
}

.vision-detail {
  background: var(--surface-soft);
}

.vision-detail-map {
  --vision-connector: rgba(47, 120, 168, 0.34);
  max-width: 1180px;
  margin: 0 auto;
}

.vision-detail-core {
  position: relative;
  width: min(320px, 60vw);
  min-height: 132px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 7px;
  margin: 0 auto;
  padding: 26px 34px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  color: var(--white);
  text-align: center;
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.2), transparent 34%),
    linear-gradient(145deg, var(--blue-900), var(--blue-700));
  box-shadow: 0 18px 42px rgba(23, 49, 66, 0.18);
}

.vision-detail-core::after {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 1px;
  height: 36px;
  content: "";
  background: var(--vision-connector);
}

.vision-detail-core span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.vision-detail-core strong {
  color: var(--white);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  line-height: 1.3;
}

.vision-detail-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin-top: 72px;
}

.vision-detail-grid::before {
  position: absolute;
  top: -36px;
  right: 10%;
  left: 10%;
  height: 1px;
  content: "";
  background: var(--vision-connector);
}

.vision-detail-grid article {
  position: relative;
  z-index: 1;
  min-height: 220px;
  display: grid;
  grid-template-rows: 46px 28px minmax(0, 1fr);
  row-gap: 16px;
  align-content: start;
  align-items: start;
  justify-items: center;
  padding: 30px 24px;
  border: 1px solid rgba(47, 120, 168, 0.2);
  border-radius: 20px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 249, 252, 0.96)),
    var(--white);
  box-shadow: 0 14px 34px rgba(22, 60, 104, 0.07);
}

.vision-detail-grid article::before {
  position: absolute;
  bottom: 100%;
  left: 50%;
  width: 1px;
  height: 36px;
  content: "";
  background: var(--vision-connector);
}

.vision-detail-grid article::after {
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  border: 2px solid var(--white);
  border-radius: 50%;
  content: "";
  background: var(--blue-500);
  box-shadow: 0 0 0 1px var(--vision-connector);
  transform: translateX(-50%);
}

.vision-detail-grid span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin: 0;
  border: 1px solid rgba(47, 120, 168, 0.22);
  border-radius: 50%;
  color: var(--blue-700);
  background: rgba(237, 244, 246, 0.92);
  font-weight: 800;
}

.vision-detail-grid h3 {
  margin: 0;
  line-height: 28px;
}

.vision-detail-grid p {
  margin: 0;
  color: var(--muted);
  word-break: keep-all;
}

.intro-history {
  background: var(--white);
}

.intro-history-heading {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.intro-history-heading h2 {
  white-space: nowrap;
  font-size: var(--type-section-title);
}

.intro-history-heading .button {
  flex: 0 0 auto;
}

.history-controls {
  max-width: 1180px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 42px auto 28px;
}

.history-year-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.history-year-filter {
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--blue-900);
  background: var(--white);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.history-year-filter:hover,
.history-year-filter:focus-visible,
.history-year-filter.is-active {
  border-color: var(--blue-900);
  color: var(--white);
  background: var(--blue-900);
}

.history-count {
  flex: 0 0 auto;
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.history-timeline {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 0;
}

.history-timeline::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  content: "";
  background: var(--line);
  transform: translateX(-50%);
}

.history-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 116px minmax(0, 1fr);
  align-items: start;
  min-height: 150px;
  padding: 18px 0;
}

.history-entry[hidden] {
  display: none;
}

.history-entry time {
  position: relative;
  z-index: 1;
  grid-column: 2;
  justify-self: center;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--blue-500);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.history-album-link {
  position: relative;
  display: grid;
  grid-column: 1;
  grid-template-columns: 1fr;
  width: 100%;
  max-width: 440px;
  gap: 12px;
  justify-self: end;
  padding: 0 0 14px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  box-shadow: none;
}

.history-entry:nth-child(even) .history-album-link {
  grid-column: 3;
  justify-self: start;
}

.history-image-placeholder {
  display: grid;
  width: 100%;
  aspect-ratio: 16 / 10;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(47, 120, 168, 0.12), rgba(255, 255, 255, 0.7)),
    repeating-linear-gradient(
      45deg,
      rgba(47, 120, 168, 0.09) 0 1px,
      transparent 1px 13px
    );
  color: var(--blue-500);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.history-thumbnail {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 6px;
  object-fit: cover;
}

.history-copy {
  display: grid;
  gap: 5px;
  padding-right: 34px;
}

.history-copy strong {
  color: var(--blue-900);
  font-size: clamp(1.08rem, 1.8vw, 1.32rem);
}

.history-copy span {
  color: var(--muted);
  font-size: 0.92rem;
}

.history-arrow {
  position: absolute;
  right: 0;
  bottom: 15px;
  color: var(--blue-500);
  font-size: 1.5rem;
  transition: transform 180ms ease;
}

.history-album-link:hover .history-arrow,
.history-album-link:focus-visible .history-arrow {
  transform: translate(3px, -3px);
}

.history-actions {
  position: relative;
  max-width: 1180px;
  display: grid;
  grid-template-columns: minmax(32px, 1fr) auto minmax(32px, 1fr);
  gap: 18px;
  align-items: center;
  margin: 34px auto 0;
}

.history-actions::before,
.history-actions::after {
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--line));
}

.history-actions::after {
  background: linear-gradient(90deg, var(--line), transparent);
}

.history-load-more {
  position: relative;
  min-width: 126px;
  padding-right: 42px;
  background: var(--white);
}

.history-load-more::after {
  position: absolute;
  top: 50%;
  right: 20px;
  width: 7px;
  height: 7px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  content: "";
  transform: translateY(-70%) rotate(45deg);
}

.history-load-more[hidden] {
  display: none;
}

.history-actions:has(.history-load-more[hidden]) {
  display: none;
}

.intro-worship {
  background: var(--white);
}

.worship-time-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
}

.time-panel {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-cool);
}

.time-panel h3 {
  margin-bottom: 22px;
}

.time-panel dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

.time-panel dl div {
  display: grid;
  grid-template-columns: minmax(120px, 0.35fr) 1fr;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.time-panel dl div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.time-panel dt {
  color: var(--blue-900);
  font-weight: 800;
}

.time-panel dd {
  margin: 0;
  color: var(--muted);
  word-break: keep-all;
}

.nextgen-time {
  background: var(--surface-soft);
}

.facility-guide {
  background: var(--surface-cool);
}

.facility-guide-heading {
  max-width: 820px;
}

.facility-floor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.facility-floor-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 18px 44px rgba(22, 60, 104, 0.1);
}

.facility-render-placeholder {
  position: relative;
  isolation: isolate;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 32px;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(22, 60, 104, 0.92), rgba(47, 120, 168, 0.7)),
    var(--blue-900);
}

.facility-render-placeholder::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.88), transparent 86%);
}

.facility-render-placeholder::after {
  position: absolute;
  z-index: -1;
  top: 20%;
  right: 8%;
  width: 58%;
  aspect-ratio: 1.45;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 8px;
  content: "";
  transform: skewY(-8deg) rotate(-4deg);
  box-shadow:
    -18px 18px 0 rgba(255, 255, 255, 0.08),
    -36px 36px 0 rgba(255, 255, 255, 0.05);
}

.facility-floor-card:nth-child(2) .facility-render-placeholder {
  background:
    linear-gradient(145deg, rgba(33, 103, 78, 0.92), rgba(56, 159, 106, 0.7)),
    var(--green);
}

.facility-floor-number {
  position: absolute;
  top: 28px;
  left: 30px;
  font-size: clamp(3.8rem, 8vw, 7rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.08em;
  opacity: 0.28;
}

.facility-render-label {
  margin-bottom: 5px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.facility-render-placeholder strong {
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
}

.facility-floor-copy {
  padding: 30px;
}

.facility-floor-copy h3 {
  margin-bottom: 12px;
  color: var(--blue-900);
  font-size: var(--type-card-title);
}

.facility-floor-copy > p:not(.eyebrow) {
  margin-bottom: 22px;
  color: var(--muted);
}

.facility-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.facility-tags span {
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--blue-900);
  background: var(--surface-cool);
  font-size: 0.78rem;
  font-weight: 800;
}

.facility-floor-media {
  background: var(--blue-900);
}

.facility-floor-media iframe {
  display: block;
  width: 100%;
  height: clamp(360px, 44vw, 600px);
  border: 0;
}

.facility-floor-link {
  margin-top: 20px;
}

.facility-tour-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 30px;
  border-bottom: 1px solid var(--line);
}

.facility-tour-floors {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.facility-tour-floors button {
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--blue-900);
  background: var(--white);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.facility-tour-floors button[aria-pressed="true"] {
  border-color: var(--blue-900);
  color: var(--white);
  background: var(--blue-900);
}

.facility-tour-floors button:hover {
  box-shadow: inset 0 0 0 1px var(--blue-900);
}

.facility-floor-copy[hidden] {
  display: none;
}

@media (max-width: 680px) {
  .facility-tour-header {
    padding: 16px 20px;
  }

  .facility-tour-floors {
    width: 100%;
  }

  .facility-tour-floors button {
    flex: 1;
    padding-right: 12px;
    padding-left: 12px;
    white-space: nowrap;
  }
}

.intro-location {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 34px;
  align-items: center;
  background: var(--surface-cool);
}

.intro-location p {
  color: var(--muted);
  word-break: keep-all;
}

.parking-panel {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.6)),
    repeating-linear-gradient(45deg, #d8e8f5 0 1px, transparent 1px 18px);
}

.parking-panel span {
  color: var(--blue-500);
  font-weight: 800;
}

.parking-panel strong {
  color: var(--blue-900);
  font-size: 1.65rem;
}

.parking-panel p {
  margin-bottom: 0;
}

.site-footer-slot p {
  margin: 0;
  padding: 24px;
  color: inherit;
  text-align: center;
}
