@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');
/* 이희연 기도원: 제공 시안 기반 별도 스타일 (기존 스킨 CSS 파일 변경 최소화) */
:root{--prayer-blue:#3676b7;--prayer-dark:#303030;--prayer-width:1376px}
html,body{margin:0;max-width:100%;font-family:'Pretendard','Apple SD Gothic Neo','Malgun Gothic',sans-serif;color:var(--prayer-dark);font-size:16px;overflow-x:clip}
body{background:#fff}*,*::before,*::after{box-sizing:border-box}
/* stock theme uses #hd/#wrapper/#ft fixed 1200px widths and dark backgrounds */
#hd.prayer-header,#wrapper.prayer-wrapper,#ft.prayer-footer{min-width:0;width:100%;max-width:100%}
#hd.prayer-header{background:transparent;position:absolute}
#hd.prayer-header-sub{position:sticky;top:0;background:#fff}
#hd.prayer-header-home.is-scrolled{position:fixed;top:0;background:#fff;box-shadow:0 1px 0 #ededed}
#ft.prayer-footer{background:var(--prayer-blue);padding:0;margin:0;text-align:left}
#ft.prayer-footer p{margin:0;padding:0;line-height:1.7}
#container.prayer-container{position:relative;float:none;width:100%;margin:0;padding:0;min-height:0;font-size:16px}
.prayer-wrapper h1,.prayer-wrapper h2,.prayer-wrapper h3,.prayer-wrapper h4,.prayer-header,.prayer-footer,.prayer-wrapper button{font-family:'Pretendard','Apple SD Gothic Neo','Malgun Gothic',sans-serif}

body a{color:inherit;text-decoration:none}body a:hover{color:inherit;text-decoration:none}
.prayer-width{width:min(var(--prayer-width),calc(100% - 72px));margin-inline:auto}
.prayer-skip{position:fixed;top:-80px;left:12px;z-index:9999;background:#fff;padding:12px 18px;color:#222}.prayer-skip:focus{top:10px}
.prayer-header{position:absolute;left:0;top:0;width:100%;z-index:90;background:transparent;border:0}
.prayer-wrapper-sub~.prayer-footer{}
#hd.prayer-header-sub{box-shadow:0 1px 0 #ededed}
.prayer-header-inner{height:106px;display:flex;align-items:center;justify-content:space-between;gap:32px}
.prayer-logo{white-space:nowrap;font-size:30px;font-weight:750;letter-spacing:-1.2px;color:#252525}
.prayer-nav ul{display:flex;align-items:center;gap:44px;padding:0;margin:0;list-style:none}
.prayer-nav a{display:block;font-size:20px;font-weight:550;color:#272727;white-space:nowrap;padding:12px 0;transition:color .2s}
.prayer-nav a:hover,.prayer-nav a:focus{color:#2472ba}
.prayer-nav-toggle{display:none}
.prayer-wrapper,.prayer-container{width:100%;max-width:none;min-height:0;margin:0;padding:0;float:none;overflow:visible;background:transparent}
.prayer-wrapper-home .prayer-container{margin:0;padding:0}
.prayer-section{padding-block:120px}
.prayer-hero{height:min(50vw,960px);min-height:700px;background-repeat:no-repeat;background-size:auto 140%;background-position:left top;display:flex;align-items:center}
.prayer-hero-inner{padding-top:0;transform:translateY(-30px)}
.prayer-hero h1{font-size:58px;line-height:1.2;letter-spacing:-2px;font-weight:500;margin:0 0 18px}
.prayer-hero h1 span{font-weight:800}.prayer-hero p{font-size:19px;color:#000;text-shadow:0 1px 5px rgba(0,0,0,.19);margin:0}
.prayer-intro-section{padding-block:175px}
.prayer-intro-grid{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:65px}
.prayer-intro-grid>img{display:block;width:100%;aspect-ratio:1.285;object-fit:cover}
.prayer-intro-copy{padding-left:8px}.prayer-intro-copy h2{font-size:29px;line-height:1.42;font-weight:780;letter-spacing:-1.3px;margin:0 0 70px}
.prayer-intro-copy h3{font-size:29px;font-weight:760;margin:0 0 10px}.prayer-intro-copy p{color:#888;font-size:18px;line-height:1.64;margin:0 0 12px;letter-spacing:-.45px}
.prayer-section-heading{text-align:center;margin-bottom:68px}.prayer-section-heading h2{font-size:31px;font-weight:760;letter-spacing:-.8px;margin:0 0 20px}.prayer-section-heading p{font-size:18px;color:#888;margin:0}
.prayer-worship-section{background-size:cover;background-position:center center;padding:100px 0 90px}
.prayer-worship-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.prayer-worship-card{min-width:0;min-height:310px;background:#fff;box-shadow:5px 7px 9px rgba(0,0,0,.14);display:flex;align-items:center;flex-direction:column;text-align:center;justify-content:center;padding:30px 14px 22px}
.prayer-worship-card img{width:72px;height:70px;object-fit:contain;margin-bottom:27px}
.prayer-worship-card h3{font-size:22px;font-weight:700;letter-spacing:-.8px;margin:0}.prayer-worship-card:nth-child(1) h3{color:#556c5d}.prayer-worship-card:nth-child(2) h3{color:#147348}.prayer-worship-card:nth-child(3) h3{color:#e3a342}.prayer-worship-card:nth-child(4) h3{color:#ab8654}
.prayer-card-rule{width:36px;height:2px;background:#777;margin:20px 0 17px}.prayer-worship-card p{color:#888;font-size:15px;margin:0 0 6px}.prayer-worship-card strong{font-size:16px;color:#494949;font-weight:650}.prayer-worship-card small{margin-top:4px;font-size:13px;color:#575757}
.prayer-facilities-section h2{font-size:31px;font-weight:750;letter-spacing:-.8px;margin:0 0 56px}
.prayer-facility-track{display:flex;gap:18px;overflow:auto;scroll-snap-type:x mandatory;scrollbar-width:none;outline-offset:6px}
.prayer-facility-track::-webkit-scrollbar{display:none}
.prayer-facility-card{flex:0 0 calc((100% - 36px)/3);min-width:0;scroll-snap-align:start}
.prayer-facility-card img{display:block;width:100%;height:300px;object-fit:cover;border-radius:28px}
.prayer-location-section{padding-top:75px;padding-bottom:105px}
.prayer-location-grid{display:grid;grid-template-columns:1fr 1fr;align-items:start;gap:92px}
.prayer-location-info h2{font-size:31px;font-weight:760;letter-spacing:-1px;margin:0 0 16px}
.prayer-location-lead{color:#999;font-size:18px;line-height:1.6;margin:0 0 46px}
.prayer-contact-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:24px;padding-bottom:45px;border-bottom:1px solid #bdbdbd}
.prayer-contact-item{display:flex;gap:15px;align-items:flex-start;min-width:0}.prayer-contact-item img,.prayer-transit img{width:44px;height:44px;object-fit:contain;flex-shrink:0}
.prayer-contact-item div{display:flex;flex-direction:column;align-items:flex-start;gap:6px}.prayer-contact-item span{color:#555;font-size:15px}.prayer-contact-item strong{font-size:20px;font-weight:740;margin-bottom:12px;white-space:nowrap;letter-spacing:-.3px}
.prayer-transit{display:flex;gap:20px;margin-top:44px}.prayer-transit span{font-size:15px;color:#555}.prayer-transit p{font-size:17px;line-height:1.8;margin:6px 0}.prayer-transit b{font-weight:750;display:inline-block;min-width:90px}
.prayer-transit em{font-style:normal;font-size:17px;font-weight:680;padding:1px 5px;border-radius:6px;white-space:nowrap;margin-right:2px}.prayer-bus-green{background:#b5e2cc}.prayer-bus-red{background:#f4b5bc}
.prayer-map img{display:block;width:min(100%,560px);max-height:630px;object-fit:contain;margin:0 auto}.prayer-map p{text-align:center;color:#999;font-size:16px;margin:10px 0 0}
.prayer-footer{background:var(--prayer-blue);color:#fff;margin:0}
.prayer-footer-inner{display:flex;justify-content:space-between;align-items:center;gap:55px;min-height:247px;padding-block:36px}
.prayer-footer-info{font-size:14px;line-height:1.7}.prayer-footer-links{display:flex;gap:28px;margin-bottom:35px}.prayer-footer a,.prayer-footer a:hover{color:#fff}.prayer-footer-info strong{font-size:17px;font-weight:740}.prayer-footer-info p{margin:0}
.prayer-footer-message{display:flex;align-items:center;gap:8px;line-height:1.45;font-size:20px;white-space:nowrap}.prayer-footer-cross{width:68px;height:68px;object-fit:contain;flex-shrink:0}
.prayer-sub-head{padding-top:70px;text-align:center}.prayer-sub-head h1{font-size:42px;line-height:1.3;letter-spacing:-1.2px;margin:0;font-weight:730}.prayer-sub-line{display:block;width:40px;height:3px;background:var(--prayer-blue);margin:22px auto 0}
.prayer-inner-page{max-width:1100px;padding-top:75px;padding-bottom:120px;min-height:52vh}
.prayer-about-intro{display:grid;grid-template-columns:minmax(0,420px) 1fr;gap:70px;align-items:center}.prayer-about-intro>img{width:100%;height:480px;object-fit:cover;object-position:center 35%;border-radius:4px}
.prayer-about-intro h2{font-size:32px;line-height:1.45;margin:0 0 30px}.prayer-about-intro p{font-size:18px;line-height:1.8;color:#555}
.prayer-name-meaning{background:#f8f9fa;padding:22px 28px;margin-top:20px}.prayer-name-meaning p{margin:5px 0}.prayer-name-meaning strong{font-size:22px;color:var(--prayer-blue)}
.prayer-body-copy{max-width:900px;margin:60px auto 0}.prayer-body-copy p{font-size:18px;line-height:2;letter-spacing:-.2px;margin:0 0 25px}
.prayer-history{text-align:center}.prayer-history h2{font-size:26px;margin:0 0 36px}.prayer-history img{max-width:100%;width:650px;height:auto;box-shadow:0 2px 25px rgba(0,0,0,.1)}
.prayer-worship-page .prayer-section-heading{margin-bottom:45px}.prayer-worship-page .prayer-worship-card{border:1px solid #f0f0f0}
.prayer-sub-location{gap:65px}.prayer-address{margin:-25px 0 35px;font-size:18px;font-weight:680}
/* 기존 게시판의 동작을 유지하며 기본 테마 스킨을 디자인과 맞춥니다. */
.prayer-wrapper-sub #container:has(#bo_gall){width:100%;max-width:1200px;margin:0 auto;padding:0 36px 100px}
#bo_gall{max-width:100%;width:100%!important;margin:0 auto}
#bo_gall #gall_ul{display:flex;flex-wrap:wrap;gap:26px;margin:0!important;padding:0!important}
#bo_gall #gall_ul .gall_li{width:calc((100% - 52px)/3)!important;float:none!important;margin:0!important;min-width:0}
#bo_gall .gall_box{margin-bottom:24px}#bo_gall .gall_img img{object-fit:cover;width:100%;height:100%}
#bo_gall .gall_img{border-radius:14px;overflow:hidden}#bo_gall .gall_text_href{text-align:left}
#bo_gall .pg_wrap{display:block;text-align:center;margin:35px auto}#bo_gall .bo_fx{float:right}
/* 모바일 레이아웃 */
@media (max-width:1180px){.prayer-width{width:calc(100% - 60px)}.prayer-header-inner{height:92px}.prayer-nav ul{gap:20px}.prayer-nav a{font-size:clamp(15px,1.7vw,20px)}.prayer-logo{font-size:26px}.prayer-hero{min-height:580px;background-size:auto 125%}.prayer-hero h1{font-size:clamp(40px,4.6vw,54px)}.prayer-section{padding-block:95px}.prayer-intro-section{padding-block:95px}.prayer-intro-grid{gap:45px}.prayer-intro-copy h2{font-size:25px;margin-bottom:40px}.prayer-intro-copy p{font-size:16px}.prayer-worship-card h3{font-size:18px}.prayer-location-grid{gap:35px}.prayer-contact-grid{gap:16px}.prayer-contact-item strong{font-size:16px}.prayer-footer-message{font-size:16px;white-space:normal}}
@media (max-width:767px){
 .prayer-width{width:calc(100% - 36px)}.prayer-header-inner{height:72px}.prayer-logo{font-size:22px}.prayer-nav-toggle{display:flex;width:40px;height:40px;padding:10px 7px;flex-direction:column;justify-content:space-around;border:0;background:transparent;cursor:pointer;z-index:2}.prayer-nav-toggle span{display:block;height:2px;background:#333;width:100%}
 .prayer-nav{display:none;position:absolute;top:72px;left:0;right:0;padding:10px 18px 20px;background:rgba(255,255,255,.98);box-shadow:0 6px 16px rgba(0,0,0,.09)}.prayer-nav.is-open{display:block}.prayer-nav ul{display:block}.prayer-nav li{border-bottom:1px solid #eee}.prayer-nav a{padding:14px 6px;font-size:16px}
 .prayer-hero{height:620px;min-height:0;background-size:auto 125%;background-position:32% top;align-items:flex-start}.prayer-hero-inner{padding-top:172px;transform:none}.prayer-hero h1{font-size:clamp(31px,8.6vw,49px);letter-spacing:-1.8px;line-height:1.25}.prayer-hero p{font-size:14px;color:#000;text-shadow:0 0 5px #fff}
 .prayer-section{padding-block:65px}.prayer-intro-section{padding-block:65px}.prayer-intro-grid{grid-template-columns:1fr;gap:30px}.prayer-intro-grid>img{height:auto;aspect-ratio:1.28}.prayer-intro-copy{padding:0}.prayer-intro-copy h2{font-size:22px;margin:0 0 25px}.prayer-intro-copy h3{font-size:23px}.prayer-intro-copy p{font-size:15px}.prayer-intro-copy br{display:none}
 .prayer-worship-section{padding-block:65px;background-position:center}.prayer-section-heading{margin-bottom:36px}.prayer-section-heading h2{font-size:24px}.prayer-section-heading p{font-size:14px;line-height:1.6}.prayer-worship-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.prayer-worship-card{min-height:240px;padding:22px 8px 18px}.prayer-worship-card img{width:56px;height:54px;margin-bottom:14px}.prayer-worship-card h3{font-size:16px;word-break:keep-all}.prayer-card-rule{margin:12px 0}.prayer-worship-card p{font-size:12px}.prayer-worship-card strong{font-size:13px}.prayer-worship-card small{font-size:11px}
 .prayer-facilities-section h2{font-size:24px;margin-bottom:24px}.prayer-facility-track{gap:12px}.prayer-facility-card{flex-basis:82%}.prayer-facility-card img{height:230px;border-radius:18px}
 .prayer-location-grid{grid-template-columns:1fr;gap:28px}.prayer-location-info h2{font-size:24px}.prayer-location-lead{font-size:15px;margin-bottom:30px}.prayer-contact-grid{grid-template-columns:1fr 1fr;gap:12px;padding-bottom:24px}.prayer-contact-item{gap:9px}.prayer-contact-item img,.prayer-transit img{width:30px;height:30px}.prayer-contact-item span{font-size:12px}.prayer-contact-item strong{font-size:13px;white-space:normal;margin-bottom:6px}.prayer-transit{margin-top:24px;gap:12px}.prayer-transit p{font-size:14px}.prayer-transit b{min-width:68px}.prayer-transit em{font-size:12px;margin-right:0;padding:1px 4px}.prayer-map img{max-height:480px}.prayer-map p{font-size:13px}
 .prayer-footer-inner{min-height:0;flex-direction:column;align-items:flex-start;gap:30px;padding-block:36px}.prayer-footer-info{font-size:12px}.prayer-footer-links{margin-bottom:20px}.prayer-footer-message{font-size:15px;gap:8px}.prayer-footer-cross{width:46px;height:46px}
 .prayer-sub-head{padding-top:48px}.prayer-sub-head h1{font-size:31px}.prayer-inner-page{padding-top:45px;padding-bottom:75px}.prayer-about-intro{grid-template-columns:1fr;gap:30px}.prayer-about-intro>img{max-height:400px}.prayer-about-intro h2{font-size:25px}.prayer-body-copy{margin-top:30px}.prayer-body-copy p,.prayer-about-intro p{font-size:15px;line-height:1.85}
 .prayer-wrapper-sub #container:has(#bo_gall){padding:0 18px 70px}.prayer-wrapper-sub #bo_gall #gall_ul{gap:12px}.prayer-wrapper-sub #bo_gall #gall_ul .gall_li{width:calc((100% - 12px)/2)!important}.prayer-wrapper-sub #bo_gall .gall_img{height:185px!important;max-height:185px!important}
}
@media (max-width:380px){.prayer-worship-card h3{font-size:14px}.prayer-worship-card strong{font-size:12px}.prayer-contact-grid{grid-template-columns:1fr}.prayer-hero{height:570px}.prayer-wrapper-sub #bo_gall #gall_ul .gall_li{width:100%!important}}
@media(prefers-reduced-motion:reduce){.prayer-facility-track{scroll-behavior:auto}.prayer-nav a{transition:none}}


/* 시설안내 상세페이지: 목록과 동일한 콘텐츠 폭 및 원본 사진 비율 유지 */
.prayer-wrapper-sub #container:has(#bo_v){
  width:100%;
  max-width:1200px;
  margin:0 auto;
  padding:0 36px 100px;
}
.prayer-wrapper-sub #bo_v{
  max-width:100%;
  margin:48px auto 0;
}
.prayer-wrapper-sub #bo_v_title .bo_v_tit{
  font-size:28px;
  font-weight:700;
  line-height:1.45;
  word-break:keep-all;
}
.prayer-wrapper-sub #bo_v_img{text-align:center;}
.prayer-wrapper-sub #bo_v_img a.view_image{display:block;max-width:100%;}
.prayer-wrapper-sub #bo_v_img img{
  display:block;
  width:auto;
  height:auto;
  max-width:100%;
  max-height:82vh;
  object-fit:contain;
  margin:0 auto 22px;
}
.prayer-wrapper-sub #bo_v_con{min-height:0;}
.prayer-wrapper-sub #bo_v_con img{
  display:block;
  max-width:100%;
  height:auto;
  margin-left:auto;
  margin-right:auto;
}
@media (max-width:767px){
  .prayer-wrapper-sub #container:has(#bo_v){padding:0 18px 70px;}
  .prayer-wrapper-sub #bo_v{margin-top:32px;}
  .prayer-wrapper-sub #bo_v_title .bo_v_tit{font-size:22px;}
  .prayer-wrapper-sub #bo_v_info .profile_info{max-width:100%;}
  .prayer-wrapper-sub #bo_v_img img{max-height:none;}
  .prayer-wrapper-sub .bo_v_nb li{overflow-wrap:anywhere;}
  .prayer-wrapper-sub .bo_v_nb .nb_date{float:none;}
}

/* 시설안내 상세: 모바일 스킨 옵션 메뉴의 '목록' 줄바꿈 방지 */
.prayer-wrapper-sub .btn_top ul.more_opt.is_view_btn {
    box-sizing: border-box;
    width: max-content;
    min-width: 112px;
    max-width: calc(100vw - 24px);
    white-space: nowrap;
}
.prayer-wrapper-sub .btn_top ul.more_opt.is_view_btn > li {
    display: block;
    white-space: nowrap;
}
.prayer-wrapper-sub .btn_top ul.more_opt.is_view_btn > li > a,
.prayer-wrapper-sub .btn_top ul.more_opt.is_view_btn > li > button {
    display: block;
    white-space: nowrap;
    word-break: keep-all;
}

/* 연혁: 제공된 기록을 날짜순으로 표시하는 반응형 세로 타임라인 */
.prayer-history-timeline{max-width:900px;margin:0 auto;text-align:left}
.prayer-history-timeline>h2{text-align:center;font-size:30px;margin:0 0 68px;letter-spacing:-.6px}
.prayer-history-timeline .prayer-timeline{list-style:none;margin:0;padding:0 0 0 0;position:relative}
.prayer-history-timeline .prayer-timeline:before{content:"";position:absolute;left:194px;top:12px;bottom:20px;width:2px;background:#dbe7f3}
.prayer-history-timeline .prayer-timeline-item{position:relative;display:grid;grid-template-columns:160px minmax(0,1fr);column-gap:68px;padding:0 0 38px;min-width:0}
.prayer-history-timeline .prayer-timeline-item:last-child{padding-bottom:0}
.prayer-history-timeline .prayer-timeline-item:before{content:"";position:absolute;left:187px;top:15px;width:16px;height:16px;border:4px solid #3778b9;border-radius:50%;background:#fff;z-index:1}
.prayer-history-timeline .prayer-timeline-date{display:flex;flex-direction:column;align-items:flex-end;padding-top:0;line-height:1.25;color:#3778b9;font-size:18px;font-weight:600}
.prayer-history-timeline .prayer-timeline-date strong{font-size:31px;font-weight:750;letter-spacing:-.6px}
.prayer-history-timeline .prayer-timeline-content{padding:21px 28px;min-width:0;background:#f8fafc;border:1px solid #edf2f7;border-radius:8px}
.prayer-history-timeline .prayer-timeline-content h3{font-size:21px;line-height:1.5;letter-spacing:-.5px;font-weight:720;margin:0}
.prayer-history-timeline .prayer-timeline-content p{margin:9px 0 0;color:#666;font-size:16px;line-height:1.65;word-break:keep-all;overflow-wrap:anywhere}
@media(max-width:767px){
 .prayer-history-timeline>h2{font-size:25px;margin-bottom:40px}
 .prayer-history-timeline .prayer-timeline{padding-left:24px}
 .prayer-history-timeline .prayer-timeline:before{left:7px;top:8px;bottom:15px}
 .prayer-history-timeline .prayer-timeline-item{display:block;padding-bottom:26px}
 .prayer-history-timeline .prayer-timeline-item:before{left:-24px;top:7px;width:16px;height:16px}
 .prayer-history-timeline .prayer-timeline-date{display:flex;flex-direction:row;align-items:baseline;gap:9px;padding:0 0 11px}
 .prayer-history-timeline .prayer-timeline-date strong{font-size:25px}
 .prayer-history-timeline .prayer-timeline-date span{font-size:15px}
 .prayer-history-timeline .prayer-timeline-content{padding:17px 18px}
 .prayer-history-timeline .prayer-timeline-content h3{font-size:18px}
 .prayer-history-timeline .prayer-timeline-content p{font-size:14px}
}
