/* 자동 생성 파일: tools/gen_narrow_css.py 가 style.css에서 만듦. 직접 고치지 마세요. */
@media (min-width: 861px) {
  html.narrow {scroll-padding-top: 100px;}
  :where(html.narrow) .menu-btn {display: none;}
  :where(html.narrow) .header .btn-pray {display: none;}
  :where(html.narrow) .header .wrap {flex-wrap: wrap; row-gap: 6px; padding-top: 10px; padding-bottom: 0;}
  :where(html.narrow) .nav {order: 3; flex: 0 0 100%; flex-wrap: nowrap; justify-content: space-between; align-items: center; gap: 6px; padding: 0 0 4px;}
  :where(html.narrow) .nav > a, :where(html.narrow) .nav-group-btn {padding: 6px 0; font-size: clamp(11.5px, 3.4vw, 15px); white-space: nowrap; color: var(--ink); background: none; border-radius: 0;}
  :where(html.narrow) .nav a:hover {color: var(--ink);}
  :where(html.narrow) .nav a.is-here, :where(html.narrow) .nav a.is-here:hover, :where(html.narrow) .nav-group.is-here > .nav-group-btn {color: var(--accent); font-weight: 700;}
}
@media (min-width: 561px) {
  :where(html.narrow) .col-item .cimg {width: 96px;}
}
@media (min-width: 641px) {
  :where(html.narrow) .cal .day {min-height: 56px; padding: 4px;}
  :where(html.narrow) .cal .ev {font-size: 0; height: 6px; padding: 0; width: 6px; border-radius: 50%; background: var(--accent);}
}
@media (min-width: 561px) {
  :where(html.narrow) .svc-table {font-size: 15px;}
  :where(html.narrow) .svc-table th, :where(html.narrow) .svc-table td {padding: 12px 10px;}
  :where(html.narrow) .svc-table tbody th {white-space: normal;}
  :where(html.narrow) .svc-one tbody th.svc-grp {padding: 10px 6px;}
}
@media (min-width: 561px) {
  :where(html.narrow) .sermon-link {flex-wrap: wrap; gap: 2px 12px;}
  :where(html.narrow) .sermon-link time {width: 100%; font-size: 14px;}
  :where(html.narrow) .sermon-arrow {display: none;}
}
@media (min-width: 641px) {
  :where(html.narrow) .brand-pastor {display: block;}
  :where(html.narrow) .brand-dot {display: none;}
  :where(html.narrow) .header .brand-logo {gap: 8px;}
  :where(html.narrow) .header .brand-logo img {width: 34px; height: 34px;}
  :where(html.narrow) .header .brand-logo img.brand-pck {width: auto; height: 19px;}
  :where(html.narrow) .header .brand-text {flex-direction: row; align-items: center; gap: 10px;}
  :where(html.narrow) .header .brand-text b {font-size: 24px; line-height: 1.1;}
  :where(html.narrow) .header .brand-text > span {font-size: 11.5px; line-height: 1.35;}
}
@media (min-width: 861px) {
  :where(html.narrow) .nav-group-btn {font-size: clamp(11.5px, 3.4vw, 15px); padding: 6px 0;}
  :where(html.narrow) .nav-sub {left: auto; right: 0; transform: none;}
}
@media (min-width: 861px) {
  :where(html.narrow) .hdeco-church {left: auto; right: 6px; top: 6px; height: 50px;}
}
@media (min-width: 641px) {
  :where(html.narrow) .section {padding-top: 26px;}
  :where(html.narrow) .hero {padding-top: 18px;}
}
@media (min-width: 861px) {
  :where(html.narrow) .hdeco-mark {left: auto; right: 19px; top: 1px; width: 16px; height: 16px;}
}
@media (min-width: 641px) {
  :where(html.narrow) .staff {grid-template-columns: repeat(3, 1fr); gap: 14px;}
  :where(html.narrow) .person b {font-size: 15px;}
  :where(html.narrow) .person-role {font-size: 13px;}
}
@media (min-width: 641px) {
  :where(html.narrow) .about-mark {flex-basis: 100%; flex-direction: row; justify-content: flex-start; padding: 12px 14px; gap: 12px; text-align: left;}
  :where(html.narrow) .about-mark img {height: 96px;}
}
@media (min-width: 641px) {
  :where(html.narrow) .about-mark {flex-wrap: wrap;}
  :where(html.narrow) .about-verify {margin-left: auto;}
}
@media (min-width: 641px) {
  :where(html.narrow) .about-photo {max-width: none;}
}
@media (min-width: 641px) {
  :where(html.narrow) .about-side {flex-basis: 100%; gap: 12px;}
  :where(html.narrow) .about-side .about-mark {flex-basis: auto;}
  :where(html.narrow) .church-mark {flex-wrap: nowrap;}
  :where(html.narrow) .church-mark img {height: 80px; flex: 0 0 auto;}
}
@media (min-width: 641px) {
  :where(html.narrow) .hero {padding-top: 10px; padding-bottom: 28px;}
}

/* 홈페이지 내용 폭을 휴대폰과 비슷하게 (양옆은 여백) */
html.narrow .wrap { max-width: 600px; }
html.narrow .sdialog { width: min(600px, calc(100vw - 24px)); }
