/* 벧엘장로교회 메인 시안 - 따뜻하고 차분한 반응형 디자인 */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@500;600;700&display=swap');
:root{--bh-navy:#142c49;--bh-green:#586b45;--bh-ink:#202a35;--bh-muted:#727a80;--bh-paper:#faf8f2;--bh-line:#e8e4db;--bh-gold:#d7ad58}
#bethel-home{font-family:'Pretendard','Noto Sans KR','Malgun Gothic',sans-serif;color:var(--bh-ink);background:var(--bh-paper);overflow:hidden;-webkit-font-smoothing:antialiased}
#bethel-home *{box-sizing:border-box}#bethel-home a{text-decoration:none}#bethel-home .bh-container{width:min(1200px,calc(100% - 48px));margin:0 auto}
/* hero */
#bethel-home .bh-hero{position:relative;min-height:450px;height:600px;display:flex;align-items:center;color:#fff;isolation:isolate;overflow:hidden;background:#27362b}
#bethel-home .bh-hero-bg{position:absolute;inset:0;z-index:-3;background-size:cover;background-position:center 56%;transform:scale(1.015)}#bethel-home .bh-hero-shade{position:absolute;inset:0;z-index:-2;background:transparent}
#bethel-home .bh-hero-content{padding:58px 0 70px}#bethel-home .bh-eyebrow{display:flex;align-items:center;gap:14px;color:#e9c778;font-size:11px;font-weight:700;letter-spacing:.2em;margin:0 0 28px}#bethel-home .bh-eyebrow span{display:block;width:40px;height:1px;background:#e9c778}
#bethel-home .bh-hero h1{text-shadow:0 2px 8px rgba(0,0,0,.35);font-family:'Noto Serif KR',serif;font-size:clamp(22px,2.6vw,36px);font-weight:600;line-height:1.42;letter-spacing:-.055em;margin:0;word-break:keep-all}#bethel-home .bh-hero h1 em{font-style:normal;color:#f0cd82}#bethel-home .bh-hero-copy{text-shadow:0 1px 5px rgba(0,0,0,.45);font-size:16px;line-height:1.8;color:rgba(255,255,255,.88);margin:22px 0 24px}
#bethel-home .bh-hero-button{display:inline-flex;align-items:center;gap:28px;padding:13px 20px 13px 24px;border:1px solid rgba(255,255,255,.7);border-radius:28px;color:#fff;background:rgba(255,255,255,.12);font-size:13px;font-weight:700;transition:.2s}#bethel-home .bh-hero-button:hover{background:#fff;color:var(--bh-navy)}#bethel-home .bh-hero-caption{position:absolute;right:max(24px,calc((100% - 1200px)/2));bottom:22px;font-size:11px;letter-spacing:.08em;color:rgba(255,255,255,.78)}
/* section common */
#bethel-home .bh-section{padding:54px 0}#bethel-home .bh-section-heading{display:flex;align-items:flex-end;gap:28px;margin-bottom:24px}#bethel-home .bh-section-heading h2{font-family:'Noto Serif KR',serif;font-size:30px;line-height:1.25;letter-spacing:-.05em;color:var(--bh-navy);font-weight:600;margin:7px 0 0}#bethel-home .bh-kicker{display:block;font-size:10px;letter-spacing:.2em;color:#66705f;font-weight:700}#bethel-home .bh-section-heading>p{font-size:13px;line-height:1.7;color:var(--bh-muted);margin:0 0 3px}#bethel-home .bh-heading-rule{display:block;width:100%;height:2px;background:var(--bh-gold)}#bethel-home .bh-text-link{margin-left:auto;white-space:nowrap;color:var(--bh-navy);font-size:12px;font-weight:700;padding-bottom:5px}#bethel-home .bh-text-link i{margin-left:7px;transition:transform .2s}#bethel-home .bh-text-link:hover i{transform:translateX(4px)}
/* quick cards */
#bethel-home .bh-shortcuts{padding-top:38px;padding-bottom:42px;background:#f5f2e9}#bethel-home .bh-shortcut-heading{align-items:center;margin-bottom:22px}#bethel-home .bh-shortcut-heading h2{font-size:28px}#bethel-home .bh-shortcut-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
#bethel-home .bh-shortcut{position:relative;display:flex;flex-direction:column;align-items:flex-start;min-height:165px;padding:20px 22px 22px;border-radius:13px;overflow:hidden;color:var(--bh-ink);transition:transform .22s,box-shadow .22s}#bethel-home .bh-shortcut:before{content:'';position:absolute;width:130px;height:130px;right:-24px;bottom:-45px;border:1px solid rgba(255,255,255,.7);border-radius:50%;box-shadow:0 0 0 18px rgba(255,255,255,.13),0 0 0 36px rgba(255,255,255,.1)}#bethel-home .bh-shortcut:hover{transform:translateY(-4px);box-shadow:0 12px 25px rgba(37,47,41,.1)}#bethel-home .bh-green{background:#e4e8d8}#bethel-home .bh-blue{background:#e2e9ed}#bethel-home .bh-sage{background:#e1e5d5}#bethel-home .bh-sand{background:#ebe5d4}
#bethel-home .bh-shortcut-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:50%;background:var(--bh-green);color:white;font-size:19px;margin-bottom:12px;box-shadow:0 0 0 5px rgba(255,255,255,.4)}#bethel-home .bh-blue .bh-shortcut-icon{background:#315777}#bethel-home .bh-sand .bh-shortcut-icon{background:#686d4b}#bethel-home .bh-shortcut strong{font-size:18px;letter-spacing:-.04em;color:#17242b}#bethel-home .bh-shortcut small{font-size:12px;line-height:1.55;color:#626b6d;margin-top:6px;max-width:95%}#bethel-home .bh-shortcut>b{position:absolute;right:17px;bottom:16px;width:23px;height:23px;display:grid;place-items:center;border-radius:50%;background:var(--bh-green);color:white;font-size:10px}#bethel-home .bh-blue>b{background:#547c99}#bethel-home .bh-sand>b{background:#686d4b}
/* sermon cards */
#bethel-home .bh-sermons{background:#fffefa}#bethel-home .bh-sermon-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}#bethel-home .bh-sermon-card{display:block;min-width:0;background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 5px 22px rgba(35,43,47,.055);border:1px solid rgba(30,44,50,.04);color:inherit;transition:transform .2s,box-shadow .2s}#bethel-home .bh-sermon-card:hover{transform:translateY(-4px);box-shadow:0 12px 28px rgba(35,43,47,.12)}#bethel-home .bh-sermon-image{height:165px;background-size:cover;background-position:center;position:relative}#bethel-home .bh-sermon-image:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,rgba(11,24,31,.34),transparent 65%)}#bethel-home .bh-sermon-image span{position:absolute;z-index:1;top:16px;left:16px;padding:7px 12px;border-radius:20px;background:rgba(29,55,75,.88);color:white;font-size:11px;font-weight:700}#bethel-home .bh-image-bible span{background:rgba(79,98,57,.92)}#bethel-home .bh-image-evening span{background:rgba(35,57,80,.9)}#bethel-home .bh-sermon-info{padding:17px 20px 18px}#bethel-home .bh-sermon-info h3{font-size:17px;letter-spacing:-.035em;margin:0;color:var(--bh-navy)}#bethel-home .bh-sermon-info p{font-size:12px;color:var(--bh-muted);margin:7px 0 20px}#bethel-home .bh-sermon-info>div{display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid #f0eee8;padding-top:13px}#bethel-home .bh-sermon-info small{color:#858a8d;font-size:11px}#bethel-home .bh-sermon-info b{font-size:11px;color:#284766}#bethel-home .bh-sermon-info b i{margin-right:4px}#bethel-home .bh-sermon-info b i:last-child{margin-left:6px;margin-right:0}
/* news and gallery */
#bethel-home .bh-community{background:#f8f6ef;padding-top:24px;padding-bottom:48px}#bethel-home .bh-community-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px}#bethel-home .bh-compact-heading{align-items:center;margin-bottom:18px}#bethel-home .bh-compact-heading h2{font-size:27px}#bethel-home .bh-compact-heading p{font-size:12px;color:var(--bh-muted);margin:6px 0 0}#bethel-home .bh-news-list .latests,#bethel-home .bh-news-list .latest{margin:0;padding:0}#bethel-home .bh-news-list ul{list-style:none;margin:0;padding:0}#bethel-home .bh-news-list li{border-bottom:1px solid #e8e5dd;padding:12px 0;margin:0}#bethel-home .bh-news-list li a{display:flex;align-items:center;gap:10px;color:#343e46;font-size:13px;min-width:0}#bethel-home .bh-news-list li a:hover{color:#56704a}#bethel-home .bh-news-list li a .bo_cate_link,#bethel-home .bh-news-list li .lt_cate{flex:0 0 auto;font-size:10px;padding:4px 7px;border-radius:4px;background:#e2e7d9;color:#4e6540}#bethel-home .bh-news-list li a .lt_title,#bethel-home .bh-news-list li a strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500}#bethel-home .bh-news-list li .lt_date{margin-left:auto;white-space:nowrap;color:#909397;font-size:10px}
#bethel-home .bh-gallery-content .lt_gallery,#bethel-home .bh-gallery-content .latest-gallery{margin:0}#bethel-home .bh-gallery-content ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;list-style:none;padding:0;margin:0}#bethel-home .bh-gallery-content li{margin:0;padding:0;min-width:0}#bethel-home .bh-gallery-content li a{display:block;color:var(--bh-navy)}#bethel-home .bh-gallery-content li img{width:100%;height:115px;object-fit:cover;border-radius:8px;display:block}#bethel-home .bh-gallery-content li .lt_title{display:block;font-size:12px;margin-top:7px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* Bible verse and footer transition */
#bethel-home .bh-verse{padding:28px 0 26px;text-align:center;background:linear-gradient(110deg,#e8e5d9,#f7f0df 50%,#e4e6dc);color:var(--bh-navy)}#bethel-home .bh-verse p{font-family:'Noto Serif KR',serif;font-size:20px;letter-spacing:-.04em;margin:0 0 7px}#bethel-home .bh-verse span{font-size:11px;color:#76796e;letter-spacing:.12em}
/* accessibility and responsive */
@media(max-width:1000px){#bethel-home .bh-container{width:calc(100% - 36px)}#bethel-home .bh-shortcut-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#bethel-home .bh-community-grid{gap:28px}#bethel-home .bh-sermon-image{height:145px}#bethel-home .bh-section-heading h2{font-size:27px}}
@media(max-width:700px){
    #bethel-home .bh-sermon-latest-card .bh-image-worship{background-size:cover;background-position:center;}#bethel-home .bh-container{width:calc(100% - 30px)}#bethel-home .bh-hero{height:235px;min-height:0;align-items:flex-end}#bethel-home .bh-hero-bg{background-position:60% center}#bethel-home .bh-hero-shade{background:transparent}#bethel-home .bh-hero-content{padding:50px 0 76px}#bethel-home .bh-eyebrow{font-size:9px;margin-bottom:18px}#bethel-home .bh-hero h1{font-size:clamp(20px,4.9vw,28px)}#bethel-home .bh-hero-copy{text-shadow:0 1px 5px rgba(0,0,0,.45);font-size:14px;margin:17px 0 20px}#bethel-home .bh-hero-caption{display:none}#bethel-home .bh-section{padding:38px 0}#bethel-home .bh-section-heading{gap:14px;flex-wrap:wrap;margin-bottom:19px}#bethel-home .bh-section-heading h2{font-size:25px}#bethel-home .bh-shortcut-heading{align-items:flex-start}#bethel-home .bh-shortcut-heading>p{width:100%;font-size:12px;margin-top:-4px}#bethel-home .bh-shortcut-grid{gap:10px}#bethel-home .bh-shortcut{min-height:158px;padding:16px 14px 20px;border-radius:11px}#bethel-home .bh-shortcut-icon{width:40px;height:40px;font-size:16px;margin-bottom:10px}#bethel-home .bh-shortcut strong{font-size:15px}#bethel-home .bh-shortcut small{font-size:11px}#bethel-home .bh-shortcut>b{right:11px;bottom:11px;width:20px;height:20px}#bethel-home .bh-sermon-grid{grid-template-columns:1fr;gap:14px}#bethel-home .bh-sermon-card{display:grid;grid-template-columns:39% 1fr}#bethel-home .bh-sermon-image{height:100%;min-height:150px}#bethel-home .bh-sermon-image span{left:9px;top:10px;padding:6px 8px;font-size:10px}#bethel-home .bh-sermon-info{padding:15px 13px;display:flex;flex-direction:column;justify-content:center}#bethel-home .bh-sermon-info h3{font-size:15px}#bethel-home .bh-sermon-info p{font-size:11px;margin:6px 0 13px}#bethel-home .bh-sermon-info>div{padding-top:10px}#bethel-home .bh-sermon-info small{display:none}#bethel-home .bh-sermon-info b{font-size:10px}#bethel-home .bh-community-grid{grid-template-columns:1fr;gap:35px}#bethel-home .bh-compact-heading h2{font-size:24px}#bethel-home .bh-news-list li{padding:10px 0}#bethel-home .bh-news-list li a{font-size:12px}#bethel-home .bh-gallery-content li img{height:120px}#bethel-home .bh-verse{padding:24px 15px}#bethel-home .bh-verse p{font-size:16px;line-height:1.7}}
@media(max-width:380px){#bethel-home .bh-container{width:calc(100% - 24px)}#bethel-home .bh-shortcut{padding-left:11px;padding-right:10px}#bethel-home .bh-shortcut strong{font-size:14px}#bethel-home .bh-shortcut small{font-size:10px}#bethel-home .bh-sermon-card{grid-template-columns:36% 1fr}#bethel-home .bh-sermon-info{padding:12px 10px}}
@media(prefers-reduced-motion:reduce){#bethel-home *{scroll-behavior:auto!important;transition:none!important}}
/* 제목 묶음이 좁아져도 황금색 줄이 제목 글씨 길이를 유지하도록 고정 */
#bethel-home .bh-section-heading>div{flex:0 0 auto;max-width:100%}#bethel-home .bh-section-heading h2{white-space:nowrap}#bethel-home .bh-heading-rule{width:100%}
/* 교회소식·앨범 영역 위 여백 50% 축소 (모바일 38px -> 19px) */
@media(max-width:700px){#bethel-home .bh-community{padding-top:19px}}
/* ===== 바로가기 카드: 화살표를 아이콘 옆으로 이동, 높이 축소 ===== */
#bethel-home .bh-shortcut{display:grid;grid-template-columns:1fr auto;grid-template-areas:"ico arrow" "title title" "desc desc";align-items:center;align-content:start;min-height:0;padding:16px 20px 18px}
#bethel-home .bh-shortcut-icon{grid-area:ico;justify-self:start;width:42px;height:42px;font-size:17px;margin:0}
#bethel-home .bh-shortcut strong{grid-area:title;margin-top:12px}
#bethel-home .bh-shortcut small{grid-area:desc;margin-top:4px}
#bethel-home .bh-shortcut>b{grid-area:arrow;position:static;justify-self:end;width:26px;height:26px}
/* 1줄(성경): 파스텔 카드, 위에 아이콘·화살표 / 아래 글 */
/* 2줄(찬송가): 흰 카드 + 금색 포인트, 가로형(아이콘 | 글 | 화살표) */
#bethel-home .bh-shortcuts--hymn{background:#fffefa}
#bethel-home .bh-shortcuts--hymn .bh-shortcut{grid-template-columns:auto 1fr auto;grid-template-areas:"ico title arrow" "ico desc arrow";column-gap:14px;row-gap:0;padding:15px 18px;background:#fff;border:1px solid var(--bh-line);border-radius:10px;box-shadow:0 3px 14px rgba(35,43,47,.05)}
#bethel-home .bh-shortcuts--hymn .bh-shortcut:before{display:none}
#bethel-home .bh-shortcuts--hymn .bh-shortcut-icon{width:46px;height:46px;border-radius:12px;box-shadow:none}
#bethel-home .bh-shortcuts--hymn .bh-shortcut strong{margin:0;font-size:16px}
#bethel-home .bh-shortcuts--hymn .bh-shortcut small{margin-top:3px;max-width:100%}
#bethel-home .bh-shortcuts--hymn .bh-shortcut>b{width:auto;height:auto;background:transparent;color:var(--bh-gold);font-size:14px;transition:transform .2s}
#bethel-home .bh-shortcuts--hymn .bh-shortcut:hover{border-color:var(--bh-gold);box-shadow:0 10px 22px rgba(35,43,47,.09)}
#bethel-home .bh-shortcuts--hymn .bh-shortcut:hover>b{transform:translateX(4px)}
@media(max-width:700px){
#bethel-home .bh-shortcut{padding:13px 13px 15px}
#bethel-home .bh-shortcut-icon{width:36px;height:36px;font-size:15px}
#bethel-home .bh-shortcut strong{margin-top:9px}
#bethel-home .bh-shortcut>b{width:22px;height:22px}
#bethel-home .bh-shortcuts--hymn .bh-shortcut-grid{grid-template-columns:1fr}
#bethel-home .bh-shortcuts--hymn .bh-shortcut{padding:12px 14px}
#bethel-home .bh-shortcuts--hymn .bh-shortcut-icon{width:40px;height:40px}
#bethel-home .bh-shortcuts--hymn .bh-shortcut strong{margin:0}
#bethel-home .bh-shortcuts--hymn .bh-shortcut>b{width:auto;height:auto}
}
/* 말씀과 예배: 이미지 위의 라벨(주일예배 등)을 이미지 중앙으로 이동 */
#bethel-home .bh-sermon-image span{top:50%;bottom:auto;left:50%;transform:translate(-50%,-50%);white-space:nowrap}


/* ===== 말씀과 예배: 이미지 옆에 그누보드 최신글 표시 ===== */
#bethel-home .bh-sermon-latest-grid{
    grid-template-columns:1fr;
    gap:24px;
}
#bethel-home .bh-sermon-latest-card{
    display:grid;
    grid-template-columns:40% minmax(0,1fr);
    min-height:285px;
    border-radius:22px;
}
#bethel-home .bh-sermon-latest-card .bh-sermon-image{
    display:block;
    height:100%;
    min-height:285px;
    background-size:cover;
    background-position:center;
}
/* PC 주일예배 이미지: 좌우가 잘려 십자가가 보이지 않는 문제를 줄이도록 전체 이미지가 보이게 조정 */
#bethel-home .bh-sermon-latest-card .bh-image-worship{
    background-size:100% 100%;
    background-position:center center;
}
#bethel-home .bh-sermon-latest-card .bh-sermon-image:after{
    display:none;
}
#bethel-home .bh-sermon-latest-card .bh-sermon-image span{
    top:50%;
    left:50%;
    bottom:auto;
    transform:translate(-50%,-50%);
    white-space:nowrap;
    max-width:90%;
    text-align:center;
}
#bethel-home .bh-sermon-latest-info{
    min-width:0;
    padding:28px 26px 24px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}
#bethel-home .bh-sermon-latest-info h3{
    font-size:23px;
    line-height:1.4;
}
#bethel-home .bh-sermon-latest-info>p{
    margin:7px 0 15px;
    padding-bottom:14px;
    border-bottom:1px solid #f0eee8;
    font-size:15px;
}
#bethel-home .bh-sermon-latest-list{
    min-width:0;
    overflow:hidden;
}
#bethel-home .bh-sermon-latest-list .latests,
#bethel-home .bh-sermon-latest-list .latest{
    margin:0;
    padding:0;
}
#bethel-home .bh-sermon-latest-list ul{
    list-style:none;
    margin:0;
    padding:0;
}
#bethel-home .bh-sermon-latest-list li{
    list-style:none;
    margin:0;
    padding:7px 0;
    border-bottom:1px solid #f3f1ec;
}
#bethel-home .bh-sermon-latest-list li a{
    display:flex;
    align-items:center;
    gap:8px;
    min-width:0;
    color:#34465a;
    font-size:13px;
    line-height:1.5;
}
#bethel-home .bh-sermon-latest-list li a:hover{
    color:#a77b2d;
}
#bethel-home .bh-sermon-latest-list li a .lt_title,
#bethel-home .bh-sermon-latest-list li a strong{
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
@media(max-width:700px){
    #bethel-home .bh-sermon-latest-grid{
        gap:18px;
    }
    #bethel-home .bh-sermon-latest-card{
        grid-template-columns:36% minmax(0,1fr);
        min-height:150px;
        height:150px;
        border-radius:18px;
    }
    #bethel-home .bh-sermon-latest-card .bh-sermon-image{
        min-height:150px;
        height:150px;
    }
    #bethel-home .bh-sermon-latest-card .bh-sermon-image span{
        left:50%;
        top:50%;
        padding:6px 8px;
        font-size:10px;
        white-space:normal;
        width:max-content;
        max-width:92%;
    }
    #bethel-home .bh-sermon-latest-info{
        padding:18px 12px 16px;
    }
    #bethel-home .bh-sermon-latest-info h3{
        font-size:16px;
        line-height:1.4;
    }
    #bethel-home .bh-sermon-latest-info>p{
        font-size:11px;
        line-height:1.5;
        margin:5px 0 9px;
        padding-bottom:9px;
    }
    #bethel-home .bh-sermon-latest-list li{
        padding:5px 0;
    }
    #bethel-home .bh-sermon-latest-list li a{
        font-size:11px;
        gap:5px;
    }
}
@media(max-width:380px){
    #bethel-home .bh-sermon-latest-card{
        grid-template-columns:34% minmax(0,1fr);
    }
    #bethel-home .bh-sermon-latest-info{
        padding-left:10px;
        padding-right:10px;
    }
    #bethel-home .bh-sermon-latest-info h3{
        font-size:14px;
    }
    #bethel-home .bh-sermon-latest-info>p{
        font-size:10px;
    }
}

/* 최신글 적용 후 카드 높이를 기존 예배 카드 크기로 복원 */
#bethel-home .bh-sermon-latest-card{height:165px;min-height:165px;overflow:hidden}
#bethel-home .bh-sermon-latest-card .bh-sermon-image{height:165px;min-height:165px}
#bethel-home .bh-sermon-latest-info{padding:12px 20px;overflow:hidden}
#bethel-home .bh-sermon-latest-info h3{font-size:18px;line-height:1.3;margin:0}
#bethel-home .bh-sermon-latest-info>p{font-size:12px;line-height:1.35;margin:4px 0 5px;padding-bottom:5px}
#bethel-home .bh-sermon-latest-list li{padding:1px 0;border-bottom:0}
#bethel-home .bh-sermon-latest-list li a{font-size:11px;line-height:1.3}
@media(max-width:700px){
 #bethel-home .bh-sermon-latest-card{height:150px;min-height:150px}
 #bethel-home .bh-sermon-latest-card .bh-sermon-image{height:150px;min-height:150px}
 #bethel-home .bh-sermon-latest-info{padding:8px 10px}
 #bethel-home .bh-sermon-latest-info h3{font-size:14px;line-height:1.25}
 #bethel-home .bh-sermon-latest-info>p{font-size:10px;line-height:1.3;margin:3px 0 4px;padding-bottom:4px}
 #bethel-home .bh-sermon-latest-list li a{font-size:10px;line-height:1.25}
}
@media(max-width:380px){#bethel-home .bh-sermon-latest-info{padding:7px 8px}}


/* 최신글 5개 기준으로 여백을 줄이고 이미지 높이를 목록 높이에 맞춤 */
#bethel-home .bh-sermons{padding-top:24px;padding-bottom:22px}
#bethel-home .bh-sermons .bh-section-heading{margin-bottom:14px}
#bethel-home .bh-sermon-latest-grid{gap:16px}
#bethel-home .bh-sermon-latest-card{height:auto;min-height:0;align-items:stretch}
#bethel-home .bh-sermon-latest-card .bh-sermon-image{height:auto;min-height:0;align-self:stretch}
#bethel-home .bh-sermon-latest-info{padding:6px 20px 4px;justify-content:flex-start;overflow:hidden}
#bethel-home .bh-sermon-latest-info h3{margin:0 0 4px;line-height:1.25}
#bethel-home .bh-sermon-latest-list{margin:0;padding:0}
#bethel-home .bh-sermon-latest-list li{padding:1px 0;line-height:1.25}
#bethel-home .bh-sermon-latest-list li a{line-height:1.25}
@media(max-width:700px){
  #bethel-home .bh-sermons{padding-top:20px;padding-bottom:18px}
  #bethel-home .bh-sermons .bh-section-heading{margin-bottom:12px}
  #bethel-home .bh-sermon-latest-grid{gap:12px}
  #bethel-home .bh-sermon-latest-info{padding:5px 10px 3px}
  #bethel-home .bh-sermon-latest-card .bh-sermon-image{min-height:0;height:auto}
}


/* 최신글 4개: PC 카드 높이는 유지하고 이미지가 카드 전체 높이를 채우도록 설정 */
@media(min-width:701px){
  #bethel-home .bh-sermon-latest-card{min-height:165px;align-items:stretch}
  #bethel-home .bh-sermon-latest-card .bh-sermon-image{min-height:165px;height:auto;align-self:stretch}
  #bethel-home .bh-sermon-latest-info{min-height:165px;box-sizing:border-box}
  #bethel-home .bh-sermon-latest-list li{padding:4px 0}
  #bethel-home .bh-sermon-latest-list li a{font-size:17.33px;line-height:1.35}
}
@media(max-width:700px){
  #bethel-home .bh-sermon-latest-list li a{font-size:10px;line-height:1.25}
}


/* 교회예배 영상 제목 링크 (/bbs/ddd.php) */
#bethel-home .bh-sermon-info h3 a{color:inherit;text-decoration:none;display:inline-block;transition:color .2s}
#bethel-home .bh-sermon-info h3 a:hover{color:#a77b2d;text-decoration:none}

/* 최신글(bh_worship) wr_2 우측 표시: PC에서만 */
#bethel-home .bh-sermon-latest-list .bh-worship-wr2{display:none}
@media(min-width:701px){
  #bethel-home .bh-sermon-latest-list .bh-worship-wr2{display:inline-block;flex:0 0 auto;margin-left:auto;padding-left:10px;font-size:13px;color:#8a8f93;white-space:nowrap}
  #bethel-home .bh-sermon-latest-list li a:hover .bh-worship-wr2{color:#a77b2d}
}

/* =====================================================
   하단 카드형 바로가기 - 고정 박스 + 내용 페이드 전환
   PC·태블릿 3개 / 모바일 1개
   ===================================================== */
section.tailCards{--gap:20px;--pp:3;--gold:#d3a04a;--ink:#1d2433;display:block!important;clear:both;position:relative;width:100%;padding:26px 0 20px;background:#f8f6ef;box-sizing:border-box}
section.tailCards *{box-sizing:border-box}
section.tailCards .tcInner{display:block;width:min(1200px,calc(100% - 48px));max-width:none;margin:0 auto}
section.tailCards .tcView{overflow:hidden;padding:6px 5px 10px;margin:-6px -5px -10px}
section.tailCards .tcList{display:grid!important;grid-template-columns:repeat(var(--pp),minmax(0,1fr));gap:var(--gap);position:relative;margin:0!important;padding:0!important;list-style:none!important}
section.tailCards .tcItem{display:block;min-width:0;float:none!important;width:auto;margin:0!important;padding:0!important;list-style:none!important;--c1:#5b6b3f;--c2:#6f8050}
section.tailCards .tcItem>a{position:relative;display:flex!important;align-items:center;gap:11px;height:100%;min-height:66px;padding:12px 30px 12px 13px;background:#f1f2f4;border:1px solid #e3e5e9;border-radius:11px;color:var(--ink);text-decoration:none;box-shadow:none;transition:border-color .25s,transform .25s,box-shadow .25s,background .25s}
section.tailCards .tcItem>a:after{content:"\f061";position:absolute;right:13px;top:50%;margin-top:-7px;font:normal 13px/14px FontAwesome;color:var(--gold);transition:right .25s}
section.tailCards .tcItem>a:hover{background:#fff;border-color:var(--gold);transform:translateY(-2px);box-shadow:0 8px 18px rgba(90,70,20,.12)}
section.tailCards .tcItem>a:hover:after{right:9px}
section.tailCards .tcIcon{order:1;display:flex;flex:0 0 40px;align-items:center;justify-content:center;width:40px;height:40px;border-radius:10px;background:linear-gradient(135deg,var(--c2),var(--c1));color:#fff;font-size:17px;box-shadow:0 3px 8px rgba(0,0,0,.12);transition:transform .25s}
section.tailCards .tcIcon .fa{font-size:17px;line-height:1}
section.tailCards .tcItem>a:hover .tcIcon{transform:scale(1.06) rotate(-4deg)}
section.tailCards .tcTxt{order:2;flex:1 1 auto;min-width:0;transition:opacity .35s ease}
section.tailCards .tcItem>a.tcFading .tcTxt,section.tailCards .tcItem>a.tcFading .tcIcon{opacity:0}
section.tailCards .tcTit{display:block;margin:0 0 3px;font-size:14px;font-weight:700;line-height:1.3;letter-spacing:-.04em;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
section.tailCards .tcDesc{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin:0;font-size:11.5px;line-height:1.35;color:#7d8594;letter-spacing:-.03em;word-break:keep-all}
section.tailCards .tcDots{display:none!important}
section.tailCards .tcDots button{width:6px;height:6px;padding:0;border:0;border-radius:50%;background:#d9dce1;cursor:pointer;transition:width .25s,background .25s}
section.tailCards .tcDots button.on{background:var(--gold);width:18px;border-radius:6px}
section.tailCards .tcItem:nth-child(6n+1){--c1:#566a3c;--c2:#6c8250}
section.tailCards .tcItem:nth-child(6n+2){--c1:#2f5578;--c2:#46739c}
section.tailCards .tcItem:nth-child(6n+3){--c1:#6b5a3a;--c2:#8a7650}
section.tailCards .tcItem:nth-child(6n+4){--c1:#8a3f3a;--c2:#aa5a52}
section.tailCards .tcItem:nth-child(6n+5){--c1:#3d6b66;--c2:#548a84}
section.tailCards .tcItem:nth-child(6n+6){--c1:#4b4a7a;--c2:#66659a}
@media(max-width:1100px){section.tailCards{--pp:3;--gap:12px}}
@media(max-width:768px){
  section.tailCards{--pp:1;--gap:10px;padding:18px 0 14px}
  /* 모바일에서는 index.php의 '유튜브 찬송가' 바로가기와 같은 가로형/폭으로 표시 */
  section.tailCards .tcInner{width:calc(100% - 30px);min-width:0;max-width:none}
  section.tailCards .tcView{padding:0;margin:0}
  section.tailCards .tcItem>a{display:grid!important;grid-template-columns:40px minmax(0,1fr);grid-template-areas:"icon text";column-gap:14px;align-items:center;min-height:66px;padding:12px 32px 12px 14px;border-radius:10px}
  section.tailCards .tcItem>a:after{right:14px}
  section.tailCards .tcIcon{grid-area:icon;order:0;flex:none;width:40px;height:40px;border-radius:12px}
  section.tailCards .tcTxt{grid-area:text;order:0}
  section.tailCards .tcTit{font-size:16px;margin:0;white-space:normal}
  section.tailCards .tcDesc{margin-top:3px;font-size:11px;line-height:1.45;-webkit-line-clamp:1}
  section.tailCards .tcDots{display:none!important}
}
/* 서브 페이지: 게시판 하단 ~ 카드 영역 간격 줄이기 */
#container{min-height:0!important;padding-bottom:20px!important;margin-bottom:0!important}
#ctWrap{min-height:0!important;padding-bottom:0!important;margin-bottom:0!important}
section.tailCards{margin-top:0!important;padding-top:16px!important}
/* 하단 푸터 높이 축소 */
#footer{min-height:0!important;height:auto!important;padding-top:14px!important;padding-bottom:14px!important}
#footer dl{margin:0 0 6px!important;padding:0!important}
#footer dl dd{margin:0!important;padding:0!important;line-height:1.4!important}
#footer dl dd a{padding-top:0!important;padding-bottom:0!important;line-height:1.4!important;font-size:13px!important}
#footer address{margin:0!important;padding:0!important;line-height:1.5!important;font-size:12px!important}
#footer address br{line-height:1}
@media(prefers-reduced-motion:reduce){section.tailCards .tcTxt{transition:none!important}}


/* 사용자 요청: 카드 영역 상하 여백 최소화, PC 4개 표시, 디졸브 30% 연장 */
section.tailCards{--pp:4!important;padding-top:2px!important;padding-bottom:2px!important}
section.tailCards .tcView{padding:0!important;margin:0!important}
section.tailCards .tcTxt{transition:opacity .455s ease!important}
section.tailCards .tcItem>a.tcFading .tcTxt,section.tailCards .tcItem>a.tcFading .tcIcon{opacity:0}
@media(max-width:1100px){section.tailCards{--pp:3!important}}
@media(max-width:768px){section.tailCards{--pp:1!important;padding-top:2px!important;padding-bottom:2px!important}}

/* 사용자 요청: 카드 아래 여백 제거, 위 여백 50% 축소, 카드 높이 30% 확대 */
section.tailCards{padding-top:1px!important;padding-bottom:0!important}
section.tailCards .tcItem>a{min-height:86px!important;padding-top:16px!important;padding-bottom:16px!important}
@media(max-width:768px){
  section.tailCards{padding-top:1px!important;padding-bottom:0!important}
  section.tailCards .tcItem>a{min-height:86px!important;padding-top:16px!important;padding-bottom:16px!important}
}

/* 최종 수정: 홈 교회소식/앨범 섹션의 아이콘 카드 아래 남는 하단 여백 제거 */
#bethel-home .bh-community{padding-bottom:0!important;margin-bottom:0!important}
#bethel-home section.tailCards{margin-bottom:0!important;padding-bottom:0!important}
#bethel-home section.tailCards .tcView{padding-bottom:0!important;margin-bottom:0!important}
#bethel-home section.tailCards .tcList{margin-bottom:0!important;padding-bottom:0!important}

/* 최종 여백 조정: 카드 위쪽 여백은 기존의 50%, 아래쪽은 위쪽 여백의 50% 유지 */
#bethel-home .bh-community.bh-section{padding-top:12px!important;padding-bottom:6px!important;margin-bottom:0!important}
#bethel-home section.tailCards{margin-top:0!important;padding-top:1px!important;padding-bottom:0!important;margin-bottom:0!important}
#bethel-home section.tailCards .tcView,
#bethel-home section.tailCards .tcList{margin-bottom:0!important;padding-bottom:0!important}
@media(max-width:768px){
  #bethel-home .bh-community.bh-section{padding-top:9.5px!important;padding-bottom:4.75px!important}
}
