/* 기본 영역 */
.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:#8a1737;
}

.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 #e5d8cf;
    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:#8a1737;
    border-color:#8a1737;
    color:#fff;
    box-shadow:0 10px 24px rgba(138,23,55,.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:#8a1737;
    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:22px;
    overflow:hidden;
    background:#fff;
    box-shadow:0 18px 46px rgba(35,23,19,.11);
    border:1px solid #eee4dd;
}

.seton-main-img {
    height:360px;
    background:linear-gradient(135deg,#f6efe9,#eadbd2);
    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:#b99383;
}

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

.seton-main-body h3 {
    margin:0 0 15px;
    font-size:28px;
    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:#f6eee9;
    color:#8a1737;
    font-size:13px;
}


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

.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 #eadfd8;
    text-decoration:none;
    color:inherit;
}

.seton-side-thumb {
    width:132px;
    height:82px;
    border-radius:14px;
    overflow:hidden;
    background:#f1e6df;
    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:#b99383;
}

.seton-side-text strong {
    display:-webkit-box;
    font-size:17px;
    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 #eadfd8;
    border-bottom:1px solid #eadfd8;
    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 #eadfd8;
    text-decoration:none;
    color:inherit;
    transition:background .18s;
}

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

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

.seton-text-no {
    font-size:21px;
    font-weight:900;
    color:#c7a99b;
    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:#8a1737;
}


/* 반응형 */
@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 #eadfd8;
    border-bottom:1px solid #eadfd8;
    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 #eadfd8;
    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 #eadfd8;
    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 #eadfd8 !important;
    border-bottom:1px solid #eadfd8 !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 #eadfd8 !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:#fff8f5 !important;
}

.seton-text-no{
    align-self:center !important;
    font-size:21px !important;
    font-weight:900 !important;
    color:#c7a99b !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:25px !important;
    font-weight:850 !important;
    line-height:1.25 !important;
    color:#18110f !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    letter-spacing:-.045em !important;
    margin:0 !important;
    padding:0 !important;
}

.seton-inline-summary{
    display:block !important;
    margin-top:5px !important;
    font-style:normal !important;
    font-size:14px !important;
    font-weight:400 !important;
    line-height:1.25 !important;
    color:#8a5d50 !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:#8a1737 !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:21px !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;
    }
}
