/* 10-11 맨 아래 새 안: About 와 방문 안내를 사진과 여러 칸으로 */
.ab-sec {
  --ab-w: 1080px;
  background: #fff;
  padding: clamp(64px, 9vw, 112px) clamp(20px, 6vw, 100px);
}
.ab-sec.ab-alt { background: #f7f9fb; }
.ab-sec.ab-sec > * { max-width: var(--ab-w); margin-left: auto; margin-right: auto; }
.ab-sec.about-sec { padding-top: clamp(96px, 13vw, 160px); }
.site-header[data-tone="light"]:has(.site-nav a[href="#about"].is-current) { background-color: var(--paper); }
.ab-sec .community-head,
.ab-sec .guide-head { margin-bottom: clamp(32px, 5vw, 56px); text-align: center; }
.ab-sec .community-intro { margin-top: 20px; }

.ab-title {
  font-family: var(--serif); font-size: clamp(20px, 2.2vw, 27px); font-weight: 600;
  color: var(--ink); line-height: 1.4; margin-bottom: 10px;
}
.ab-title-sub { margin-top: clamp(40px, 6vw, 64px); }
.ab-lead { font-size: clamp(14px, 1.4vw, 16px); line-height: 1.8; color: #5a6068; margin-bottom: clamp(22px, 3vw, 34px); }
.ab-more { margin-top: clamp(20px, 3vw, 30px); }
.ab-sec .branch-link { font-size: 14px; }

/* 위치 */
.ab-place {
  display: grid; grid-template-columns: 1.1fr 1fr;
  background: #fff; border: 1px solid #e3e8ee;
}
.ab-place-photo { min-width: 0; min-height: 320px; display: grid; background: #eef1f4; }
.location-grid {
  list-style: none; display: grid; gap: 4px; padding: 0; margin: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(0, 1fr);
}
.location-grid.is-exterior { grid-template-columns: minmax(0, 1fr) min(33%, 180px); }
.location-grid.is-single { grid-template-columns: 1fr; }
.location-grid li { position: relative; min-width: 0; overflow: hidden; }
.location-grid img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; cursor: zoom-in;
}
.location-grid.is-exterior li:last-child img { object-position: 90% center; }
.location-grid li:focus-visible img { outline: 2px solid var(--blue); outline-offset: -2px; }
.ab-place-body { padding: clamp(24px, 3.6vw, 44px); display: flex; flex-direction: column; justify-content: center; }
.ab-addr { font-family: var(--serif); font-size: clamp(20px, 2.2vw, 28px); font-weight: 500; color: var(--ink); margin-bottom: 20px; line-height: 1.4; }
.ab-floors { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 8px; }
.ab-floors li:not(:has(button)),
.ab-floors button {
  display: grid; grid-template-columns: 44px 1fr auto; align-items: center; column-gap: 12px;
  padding: 11px 14px; background: #f7f9fb; border: 1px solid #e3e8ee;
}
.ab-floors button { width: 100%; text-align: left; font: inherit; cursor: pointer; }
.ab-floors button[aria-pressed="true"] { background: #eaf6ff; border-color: #bfe1fb; }
.ab-floors button:hover, .ab-floors button:focus-visible { border-color: var(--blue); }
.ab-floors button b { white-space: nowrap; }
.ab-floors b { font-family: var(--eng); font-size: 13px; font-weight: 600; color: var(--blue); }
.ab-floors span { font-size: 14.5px; color: #2f343b; }
.ab-floors em { font-style: normal; font-size: 12.5px; color: var(--gray); }
.ab-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.ab-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; white-space: nowrap;
  min-height: 46px; padding: 0 20px;
  font-size: 14px; font-weight: 600; color: #2f343b; text-decoration: none;
  background: #fff; border: 1px solid #cfd6de;
}
.ab-btn svg { flex: none; }
.ab-btn.is-primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.ab-btn:hover { filter: brightness(0.96); }

/* 예배 시간 */
.ab-times { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.ab-time { padding: 22px 20px; background: #fff; border: 1px solid #e3e8ee; display: flex; flex-direction: column; gap: 8px; }
.ab-time.is-main { grid-column: span 4; flex-direction: row; align-items: baseline; flex-wrap: wrap; gap: 8px 28px; padding: 26px 28px; background: var(--ink); border-color: var(--ink); }
.ab-time-name { font-family: var(--serif); font-size: 17px; font-weight: 600; color: var(--ink); }
.ab-time-when { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 14px; color: #5a6068; }
.ab-time-when b { font-family: var(--eng); font-size: clamp(22px, 2.6vw, 30px); font-weight: 600; color: var(--ink); letter-spacing: 0.01em; margin-left: 4px; }
.ab-time-where { font-size: 13px; color: var(--gray); }
.ab-time.is-main .ab-time-name { color: #fff; font-size: 20px; }
.ab-time.is-main .ab-time-when { color: rgba(255,255,255,0.7); }
.ab-time.is-main .ab-time-when b { color: #fff; font-size: clamp(28px, 3.4vw, 40px); }
.ab-time.is-main .ab-time-where { color: rgba(255,255,255,0.6); margin-left: auto; }

/* 세 갈래 */
.ab-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ab-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #e3e8ee; overflow: hidden; }
.ab-card img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.ab-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }

/* 차세대 */
.ab-sing { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.ab-sing-item { padding: 20px 18px; background: #fff; border: 1px solid #e3e8ee; }
.ab-sing-name { font-family: var(--serif); font-size: 18px; font-weight: 600; color: var(--ink); margin-bottom: 14px; }
.ab-sing-name span { display: block; margin-top: 3px; font-family: var(--sans); font-size: 12.5px; font-weight: 400; color: var(--gray); }
.ab-sing-when { font-family: var(--eng); font-size: 20px; font-weight: 600; color: var(--blue); margin-bottom: 4px; }
.ab-sing-where { font-size: 13.5px; color: #3c4148; }
.ab-groups { list-style: none; margin: 14px auto 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.ab-groups li { padding: 18px; background: #eaf6ff; border: 1px solid #cde6f8; }
.ab-group-key { font-family: var(--eng); font-size: 22px; font-weight: 600; color: var(--blue); letter-spacing: 0.04em; }
.ab-group-name { font-family: var(--serif); font-size: 15.5px; font-weight: 600; color: var(--ink); margin: 4px 0 8px; }
.ab-group-body { font-size: 13.5px; line-height: 1.7; color: #4a5059; }

/* 돌봄과 선교 */
.ab-care { display: grid; gap: 14px; }
.ab-care-main { display: grid; grid-template-columns: 1fr 1fr; background: #fff; border: 1px solid #e3e8ee; overflow: hidden; }
.ab-care-main img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; display: block; }
.ab-care-text { padding: clamp(22px, 3.4vw, 40px); display: flex; flex-direction: column; justify-content: center; }
.ab-care-kind { font-family: var(--eng); font-size: 12px; font-weight: 600; letter-spacing: 0.12em; color: var(--blue); margin-bottom: 8px; }
.ab-care-name { font-family: var(--serif); font-size: clamp(20px, 2.2vw, 26px); font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.ab-care-body { font-size: 14.5px; line-height: 1.8; color: #3a3f47; }
.ab-hope { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.ab-hope li { position: relative; overflow: hidden; background: #fff; border: 1px solid #e3e8ee; aspect-ratio: 4 / 3; }
.ab-hope img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ab-hope p { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 12px; font-size: 14px; font-weight: 600; color: #fff; background: linear-gradient(to top, rgba(0,0,0,0.62), rgba(0,0,0,0)); }
.ab-hope .ab-hope-text { display: grid; place-items: center; background: #eaf6ff; border-color: #cde6f8; }
.ab-hope .ab-hope-text p { position: static; padding: 0; background: none; color: var(--blue); font-family: var(--serif); font-size: 17px; }

/* 처음 오시는 분 */
.ab-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ab-steps li { padding: 22px 22px 24px; background: #fff; border: 1px solid #e3e8ee; }
.ab-step-no { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--blue); color: #fff; font: 600 14px/1 var(--eng); margin-bottom: 14px; }
.ab-step-name { font-family: var(--serif); font-size: 17px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.ab-step-body { font-size: 14px; line-height: 1.75; color: #4a5059; }
.ab-nurture { list-style: none; margin: 12px auto 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ab-nurture li { padding: 18px 20px; background: #fff; border: 1px solid #e3e8ee; }
.ab-nur-key { font-family: var(--eng); font-size: 20px; font-weight: 600; color: var(--blue); letter-spacing: 0.06em; }
.ab-nur-name { font-family: var(--serif); font-size: 16px; font-weight: 600; color: var(--ink); margin: 3px 0 6px; }
.ab-nur-body { font-size: 13.5px; line-height: 1.7; color: #4a5059; }

/* 문답 */
.ab-faq { display: grid; gap: 8px; margin-top: 18px; }
.ab-qa { background: #fff; border: 1px solid #e3e8ee; padding: 0 20px; }
.ab-qa summary { list-style: none; cursor: pointer; padding: 16px 28px 16px 0; position: relative; margin: 0; font-size: 15.5px; font-weight: 600; color: var(--ink); }
.ab-qa summary::-webkit-details-marker { display: none; }
.ab-qa summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 2px solid var(--gray); border-bottom: 2px solid var(--gray); transform: rotate(45deg); transition: transform .2s; }
.ab-qa[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.ab-qa .qa-a { padding: 0 0 18px; }
.ab-links { margin-top: clamp(36px, 5vw, 60px); }

@media (max-width: 960px) {
  .ab-cards { grid-template-columns: 1fr 1fr; }
  .ab-cards .ab-card:last-child { grid-column: span 2; flex-direction: row; }
  .ab-cards .ab-card:last-child img { width: 45%; aspect-ratio: auto; height: auto; }
  .ab-times { grid-template-columns: repeat(2, 1fr); }
  .ab-time.is-main { grid-column: span 2; }
  .ab-sing, .ab-groups { grid-template-columns: repeat(2, 1fr); }
  .ab-hope { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .ab-place { grid-template-columns: 1fr; }
  .ab-place-photo { min-height: 0; }
  .location-grid { min-height: 168px; aspect-ratio: 16 / 9; }
  .location-grid:has(> li:nth-child(3)) { aspect-ratio: 1; }
  .ab-times { grid-template-columns: 1fr 1fr; }
  .ab-time.is-main { grid-column: span 2; }
  .ab-time.is-main .ab-time-where { margin-left: 0; width: 100%; }
  .ab-cards { grid-template-columns: 1fr; }
  .ab-cards .ab-card:last-child { grid-column: auto; flex-direction: column; }
  .ab-cards .ab-card:last-child img { width: 100%; aspect-ratio: 3 / 2; }
  .ab-care-main { grid-template-columns: 1fr; }
  .ab-care-main img { min-height: 0; aspect-ratio: 3 / 2; }
  .ab-steps { grid-template-columns: 1fr; }
  .ab-nurture { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .ab-sing, .ab-groups { grid-template-columns: 1fr; }
  .ab-floors li:not(:has(button)), .ab-floors button { grid-template-columns: 36px 1fr; }
  .ab-floors em { grid-column: 2; }
  .ab-btn { flex: 1 1 100%; }
}
