/* 기본 영역 */
.seton-board-tabs {
    width:80%;
    max-width:none;
    margin:16px auto;
    padding:0 18px;
    font-family:'Noto Sans KR',system-ui,-apple-system,BlinkMacSystemFont,sans-serif;
    color:#221b18;
    box-sizing:border-box;
}

.seton-board-tabs * {
    box-sizing:border-box;
}


/* 상단 제목 / 탭 */
.seton-tabs-head {
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:20px;
    margin-bottom:14px;
}

.seton-tabs-eyebrow {
    display:inline-block;
    margin-bottom:6px;
    font-size:12px;
    font-weight:800;
    letter-spacing:.18em;
    text-transform:uppercase;
    color:#D84E5B;
}

.seton-tabs-head h2 {
    margin:0;
    font-size:28px;
    line-height:1.2;
    color:#231713;
}

.seton-tabs-nav {
    display:flex;
    gap:8px;
    flex-wrap:wrap;
    justify-content:flex-end;
}

.seton-tab-btn {
    border:1px solid #FEE3DE;
    background:#fff;
    border-radius:999px;
    padding:10px 17px;
    font-size:15px;
    font-weight:800;
    color:#5b4a43;
    cursor:pointer;
    transition:.22s;
}

.seton-tab-btn:hover,.seton-tab-btn.is-active {
    background:#D84E5B;
    border-color:#D84E5B;
    color:#fff;
    box-shadow:0 10px 24px rgba(216,78,91,.18);
}


/* 탭 패널 */
.seton-tab-panel {
    display:none;
    border-top:2px solid #221b18;
    padding-top:14px;
}

.seton-tab-panel.is-active {
    display:block;
}

.seton-panel-top {
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:12px;
}

.seton-panel-top strong {
    font-size:18px;
}

.seton-panel-top a {
    font-size:14px;
    font-weight:800;
    color:#D84E5B;
    text-decoration:none;
}


/* 공통 레이아웃 */
.seton-news-layout {
    display:grid;
    gap:22px;
}

.seton-news-photo {
    grid-template-columns:minmax(0,1.22fr) minmax(430px,.78fr);
    align-items:stretch;
}


/* 이미지형 대표 카드 */
.seton-main-card {
    display:grid;
    grid-template-rows:auto auto;
    text-decoration:none;
    color:inherit;
    border-radius:0;
    overflow:visible;
    background:transparent;
    box-shadow:none;
    border:0;
}

.seton-main-img {
    height:360px;
    background:linear-gradient(135deg,#FFF8D6,#FEE3DE);
    overflow:hidden;
}

.seton-main-img img {
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:transform .4s;
}

.seton-main-card:hover .seton-main-img img {
    transform:scale(1.04);
}

.seton-no-img {
    height:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:38px;
    font-weight:900;
    letter-spacing:.1em;
    color:#75B0B6;
}

.seton-main-body {
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
    padding:22px 0 22px;
}

.seton-main-body h3 {
    margin:0 0 15px;
    font-size:27px;
    font-weight:400;
    letter-spacing:-0.02em;
    line-height:1.34;
    color:#18110f;
    letter-spacing:-.04em;
}

.seton-main-body p {
    display:-webkit-box;
    margin:0;
    font-size:18px;
    line-height:1.8;
    color:#6a5b54;
    overflow:hidden;
    -webkit-line-clamp:5;
    -webkit-box-orient:vertical;
}

.seton-main-meta {
    display:flex;
    align-items:center;
    gap:10px;
    margin-top:14px;
    font-size:14px;
    color:#8d7d75;
}

.seton-main-meta b {
    display:inline-flex;
    align-items:center;
    height:27px;
    padding:0 11px;
    border-radius:999px;
    background:#FFF8D6;
    border:1px solid #75B0B6;
    color:#D84E5B;
    font-size:13px;
}


/* 우측 썸네일 목록 */
.seton-side-list {
    display:flex;
    flex-direction:column;
    border-top:1px solid #FEE3DE;
}

.seton-side-item {
    display:grid;
    grid-template-columns:132px minmax(0,1fr);
    gap:14px;
    align-items:center;
    min-height:112px;
    padding:12px 0;
    border-bottom:1px solid #FEE3DE;
    text-decoration:none;
    color:inherit;
}

.seton-side-thumb {
    width:132px;
    height:82px;
    border-radius:14px;
    overflow:hidden;
    background:#FEE3DE;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
}

.seton-side-thumb img {
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.seton-side-thumb em {
    font-style:normal;
    font-size:12px;
    font-weight:900;
    color:#75B0B6;
}

.seton-side-text strong {
    display:-webkit-box;
    font-size:17px;
    font-weight:400;
    line-height:1.42;
    max-height:50px;
    overflow:hidden;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    color:#191311;
    letter-spacing:-.02em;
}

.seton-side-summary {
    display:none!important;
}

.seton-side-text small {
    display:block;
    margin-top:7px;
    font-size:14px;
    color:#8d7d75;
}


/* 글만 있는 게시판: 공지사항 / 영성의 향기 */
.seton-news-text {
    grid-template-columns:1fr;
    min-height:548px;
    border-top:1px solid #FEE3DE;
    border-bottom:1px solid #FEE3DE;
    background:#fff;
}

.seton-text-item {
    display:grid;
    grid-template-columns:68px minmax(0,1fr) 124px;
    gap:18px;
    align-items:center;
    min-height:112px;
    height:112px;
    padding:0 18px;
    border-bottom:1px solid #FEE3DE;
    text-decoration:none;
    color:inherit;
    transition:background .18s;
}

.seton-text-item:last-child {
    border-bottom:0;
}

.seton-text-item:hover {
    background:#FFF8D6;
}

.seton-text-no {
    font-size:21px;
    font-weight:900;
    color:#75B0B6;
    letter-spacing:-.02em;
}

.seton-text-title {
    display:block;
    min-width:0;
    padding-top:0;
}

.seton-text-title strong {
    display:block;
    font-size:26px;
    font-weight:850;
    line-height:1.35;
    color:#18110f;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    letter-spacing:-.045em;
}

.seton-inline-summary {
    display:block;
    margin-top:8px;
    font-style:normal;
    font-size:17px;
    font-weight:400;
    line-height:1.55;
    color:#76665f;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.seton-text-date {
    padding-top:0;
    text-align:right;
    font-size:16px;
    color:#85746d;
}

.seton-text-item:hover .seton-text-title strong,.seton-side-item:hover strong,.seton-main-card:hover h3 {
    color:#D84E5B;
}


/* 반응형 */
@media(max-width:1100px) {
    .seton-news-photo {
        grid-template-columns:1fr;
    }

    .seton-main-img {
        height:330px;
    }

    
/* 글만 있는 게시판: 공지사항 / 영성의 향기 */
.seton-news-text {
    grid-template-columns:1fr;
    min-height:548px;
    border-top:1px solid #FEE3DE;
    border-bottom:1px solid #FEE3DE;
    background:#fff;
}

}

@media(max-width:900px) {
    
/* 상단 제목 / 탭 */
.seton-tabs-head {
        display:block;
    }

    .seton-tabs-nav {
        justify-content:flex-start;
        margin-top:14px;
    }

    .seton-main-img {
        height:260px;
    }

    .seton-main-body h3 {
        font-size:24px;
    }

    .seton-main-body p {
        font-size:16px;
        -webkit-line-clamp:3;
    }

    .seton-text-item {
    display:grid;
    grid-template-columns:68px minmax(0,1fr) 124px;
    gap:18px;
    align-items:center;
    min-height:112px;
     height:auto;          /* 변경 */

    padding:0 18px;
    border-bottom:1px solid #FEE3DE;
    text-decoration:none;
    color:inherit;
    transition:background .18s;
}

    .seton-text-title strong {
        font-size:21px;
    }

    .seton-inline-summary {
    display:block;
    margin-top:8px;
    font-style:normal;
    font-size:17px;
    font-weight:400;
    line-height:1.55;
    color:#76665f;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

    .seton-text-date {
    padding-top:0;
    text-align:right;
    font-size:16px;
    color:#85746d;
}

}

@media(max-width:560px) {
    /* 기본 영역 */
.seton-board-tabs {
        margin:22px auto;
        padding:0 12px;
    }

    .seton-tabs-head h2 {
        font-size:24px;
    }

    .seton-tab-btn {
        padding:9px 13px;
        font-size:14px;
    }

    .seton-main-body {
        padding:18px 18px 20px;
    }

    .seton-main-body h3 {
        font-size:20px;
    }

    .seton-side-item {
        grid-template-columns:104px minmax(0,1fr);
        gap:11px;
    }

    .seton-side-thumb {
        width:104px;
        height:68px;
    }

    .seton-side-text strong {
        font-size:15px;
    }

    .seton-text-item {
    display:grid;
    grid-template-columns:68px minmax(0,1fr) 124px;
    gap:18px;
    align-items:center;
    min-height:112px;
    height:112px;
    padding:0 18px;
    border-bottom:1px solid #FEE3DE;
    text-decoration:none;
    color:inherit;
    transition:background .18s;
}

    .seton-text-title strong {
        font-size:18px;
    }

    .seton-inline-summary {
    display:block;
    margin-top:8px;
    font-style:normal;
    font-size:17px;
    font-weight:400;
    line-height:1.55;
    color:#76665f;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

    .seton-text-date {
    padding-top:0;
    text-align:right;
    font-size:16px;
    color:#85746d;
}

}

/* =========================================================
   FINAL OVERRIDE - 글만 있는 게시판 간격/정렬 최종 정리
   공지사항 / 영성의 향기
========================================================= */

.seton-news-text{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:0 !important;
    min-height:auto !important;
    border-top:1px solid #FEE3DE !important;
    border-bottom:1px solid #FEE3DE !important;
    background:#fff !important;
}

.seton-text-item{
    display:grid !important;
    grid-template-columns:68px minmax(0,1fr) 124px !important;
    gap:16px !important;
    align-items:center !important;
    min-height:86px !important;
    height:86px !important;
    padding:0 18px !important;
    border-bottom:1px solid #FEE3DE !important;
    text-decoration:none !important;
    color:inherit !important;
    background:#fff !important;
    transition:background .18s, color .18s !important;
}

.seton-text-item:last-child{
    border-bottom:0 !important;
}

.seton-text-item:hover{
    background:#FFF8D6 !important;
}

.seton-text-no{
    align-self:center !important;
    font-size:21px !important;
    font-weight:900 !important;
    color:#75B0B6 !important;
    line-height:1 !important;
}

.seton-text-title{
    display:block !important;
    min-width:0 !important;
    overflow:hidden !important;
    padding:0 !important;
    margin:0 !important;
}

.seton-text-title strong{
    display:block !important;
    width:100% !important;
    max-width:100% !important;

    font-size:20px !important;      /* 기존 25px → 20px */
    font-weight:500 !important;      /* 850 → 500 */

    line-height:1.35 !important;
    letter-spacing:-0.02em !important;

    color:#18110f !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
}

.seton-inline-summary{
    display:block !important;
   margin-top:4px !important;
    font-style:normal !important;
    font-size:15px !important;
    font-weight:400 !important;
    line-height:1.4 !important;
    color:#777 !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    min-height:17px !important;
}

.seton-text-date{
    align-self:center !important;
    padding:0 !important;
    margin:0 !important;
    text-align:right !important;
    font-size:16px !important;
    line-height:1 !important;
    color:#85746d !important;
    white-space:nowrap !important;
}

.seton-text-item:hover .seton-text-title strong{
    color:#D84E5B !important;
}

/* 900px 이하 */
@media(max-width:900px){
    .seton-text-item{
        grid-template-columns:56px minmax(0,1fr) 108px !important;
        gap:12px !important;
        min-height:82px !important;
        height:82px !important;
        padding:0 14px !important;
    }

   .seton-text-title strong{
    font-size:24px !important;
    font-weight:400 !important;
    letter-spacing:-0.02em !important;
}

    .seton-inline-summary{
        font-size:13px !important;
        margin-top:4px !important;
        min-height:16px !important;
    }

    .seton-text-date{
        font-size:14px !important;
    }
}

/* 모바일 */
@media(max-width:560px){
    .seton-text-item{
        grid-template-columns:38px minmax(0,1fr) !important;
        gap:10px !important;
        min-height:76px !important;
        height:76px !important;
        padding:0 10px !important;
    }

    .seton-text-no{
        font-size:17px !important;
    }

    .seton-text-title strong{
        font-size:18px !important;
        line-height:1.25 !important;
    }

    .seton-inline-summary{
        font-size:12px !important;
        line-height:1.25 !important;
        margin-top:3px !important;
        min-height:15px !important;
    }

    .seton-text-date{
        display:none !important;
    }
}


/* =========================================================
   FINAL OVERRIDE - 대표뉴스 박스 제거 + 요청 색상 적용
   #FEE3DE / #FFF8D6 / #75B0B6
========================================================= */
.seton-main-card{
    background:transparent !important;
    border:0 !important;
    border-radius:0 !important;
    box-shadow:none !important;
    overflow:visible !important;
}

.seton-main-body{
    padding:22px 0 22px !important;
}

.seton-main-img{
    border-radius:0 !important;
}

.seton-tab-btn{
    background:#fff !important;
    border-color:#FEE3DE !important;
    color:#D84E5B !important;
}

.seton-tab-btn:hover,
.seton-tab-btn.is-active{
    background:#FEE3DE !important;
    border-color:#FEE3DE !important;
    color:#D84E5B !important;
    box-shadow:none !important;
}

.seton-panel-top a,
.seton-main-card:hover h3,
.seton-side-item:hover strong,
.seton-text-item:hover .seton-text-title strong{
    color:#D84E5B !important;
}

.seton-main-meta b{
    background:#FFF8D6 !important;
    border:1px solid #75B0B6 !important;
    color:#D84E5B !important;
}

.seton-main-body p,
.seton-inline-summary{
    color:#F57A35 !important;
}

.seton-news-text,
.seton-text-item,
.seton-side-list,
.seton-side-item,
.seton-tab-panel{
    border-color:#FEE3DE !important;
}

.seton-text-item:hover{
    background:#FFF8D6 !important;
}

.seton-no-img,
.seton-side-thumb em,
.seton-text-no{
    color:#75B0B6 !important;
}

.seton-main-img,
.seton-side-thumb{
    background:#FFF8D6 !important;
}



/* ===============================
   최종 탭 버튼 색상
   파일 맨 마지막에 이것만 남길 것
================================ */
/* ===============================
   최종 탭 버튼 색상
   파일 맨 마지막에 이것만 둘 것
================================ */

/* 전체 기본값: 선택 안 됨 */
.seton-tabs-nav .seton-tab-btn,
.seton-tabs-nav .seton-tab-btn:nth-child(1),
.seton-tabs-nav .seton-tab-btn:nth-child(2),
.seton-tabs-nav .seton-tab-btn:nth-child(3),
.seton-tabs-nav .seton-tab-btn:nth-child(n+4){
    background:#fff !important;
    color:#D84E5B !important;
    border:1px solid #A4E0E0 !important;
    border-radius:999px !important;
    padding:9px 18px !important;
    font-size:15px !important;
    font-weight:500 !important;
    box-shadow:none !important;
}

/* hover */
.seton-tabs-nav .seton-tab-btn:hover{
    background:#A4E0E0 !important;
    color:#fff !important;
    border-color:#A4E0E0 !important;
}

/* 선택됨: 수도원소식 */
.seton-tabs-nav .seton-tab-btn:nth-child(1).is-active{
    background:#A4E0E0 !important;
    border-color:#A4E0E0 !important;
    color:#fff !important;
}

/* 선택됨: 나눔 */
.seton-tabs-nav .seton-tab-btn:nth-child(2).is-active{
    background:#A4E0E0 !important;
    border-color:#A4E0E0 !important;
    color:#fff !important;
}

/* 선택됨: 선교이야기 */
.seton-tabs-nav .seton-tab-btn:nth-child(3).is-active{
    background:#E2F5F7 !important;
    border-color:#A4E0E0 !important;
    color:#D84E5B !important;
}

/* 선택됨: 4번째 이후 */
.seton-tabs-nav .seton-tab-btn:nth-child(n+4).is-active{
    background:#A4E0E0 !important;
    border-color:#A4E0E0 !important;
    color:#fff !important;
}