@charset "utf-8";

/* 공통 레이아웃 */
:root {
    --renewal-width: 1168px;
    --renewal-accent: #d91c24;
    --renewal-gap: 16px;
}

#hd,
#wrapper,
#ft {
    min-width: 0;
}

#hd_pop,
#hd_wrapper,
#tnb .inner,
#gnb .gnb_wrap,
#container_wr,
#ft_wr,
#ft_copy {
    width: calc(100% - 40px);
    max-width: var(--renewal-width);
    margin-left: auto;
    margin-right: auto;
}

#container,
#aside {
    min-width: 0;
}

body.is-main #container {
    padding: 0;
}

/* 카테고리 버튼 */
.main-cate-list {
    gap: 8px;
}

.main-cate-divider {
    display: none;
}

.main-cate-tab {
    min-height: 40px;
    padding: 10px 18px;
    border: 1px solid #e8eaee;
    background: #fff;
    color: #666;
    font-size: 15px;
    font-weight: 600;
    transition:
        color .2s ease,
        background-color .2s ease,
        border-color .2s ease;
}

.main-cate-tab:hover {
    border-color: #f0b7bb;
    color: var(--renewal-accent);
}

.main-cate-tab.active {
    border-color: #ffd5d8;
    background: #fff0f1;
    color: var(--renewal-accent);
}

.main-cate-tab:focus-visible {
    outline: 2px solid var(--renewal-accent);
    outline-offset: 3px;
}

/* 작은 PC·태블릿 */
@media (max-width: 1100px) {
    .today-date-box {
        display: none;
    }

    .hd_sch_wr {
        position: static;
        width: min(449px, 55%);
        margin-left: auto;
        transform: none;
    }

    #hd_sch form {
        display: flex;
    }

    #hd_sch #sch_stx {
        float: none;
        flex: 1;
        width: 0;
        min-width: 0;
    }

    #hd_sch #sch_submit {
        float: none;
        flex: 0 0 52px;
        width: 52px;
    }

    .main-content-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .main-random-card-box {
        min-height: 0;
    }

    body.is-sub #container_wr {
        grid-template-columns: minmax(0, 1fr);
    }

    body.is-sub #container {
        padding-right: 0;
        border-right: 0;
    }

    body.is-sub #aside {
        float: none;
        width: 100%;
        height: auto;
        margin: 0;
    }

    body.is-sub .sub-gnb {
        gap: 8px;
        margin-left: 30px;
    }

    body.is-sub .sub-gnb a {
        padding: 0 16px;
        font-size: 15px;
    }
}

/* 모바일 */
@media (max-width: 767px) {
    #hd_pop,
    #hd_wrapper,
    #tnb .inner,
    #gnb .gnb_wrap,
    #container_wr,
    #ft_wr,
    #ft_copy {
        width: calc(100% - 32px);
    }

    #hd {
        margin-bottom: 20px;
    }

    #hd_qnb li {
        margin-top: 12px;
        margin-bottom: 12px;
        font-size: 11px;
    }

    #hd_wrapper {
        height: auto;
        min-height: 76px;
        padding: 12px 0;
        gap: 18px;
        flex-wrap: wrap;
    }

    #logo img {
        max-width: 100%;
        height: 28px;
    }

    .hd_sch_wr {
        width: 100%;
        padding: 0;
        margin: 0;
    }

    #gnb {
        padding-top: 8px;
    }

    #gnb_1dul {
        width: 100%;
        gap: 8px;
        flex-wrap: wrap;
    }

    #gnb #gnb_1dul .gnb_1dli {
        float: none;
        line-height: normal;
    }

    #gnb_1dul .gnb_1da {
        flex-direction: row;
        gap: 7px;
        padding: 9px 12px;
        border-radius: 999px;
        background: #fff;
        font-size: 13px;
    }

    #gnb_1dul .gnb_icon {
        width: 24px;
        height: 24px;
    }

    #container {
        margin-top: 16px;
        margin-bottom: 40px;
    }

    .main-hero-banner {
        width: 100%;
        height: 130px;
        margin: 0 0 20px;
        border-radius: 16px;
    }

    .main-hero-slide {
        padding: 20px 24px;
    }

    .main-hero-slide strong {
        font-size: 17px;
        word-break: keep-all;
    }

    .main-hero-slide span {
        font-size: 12px;
    }

    .main-board-head {
        gap: 12px;
        padding: 18px 16px;
        flex-wrap: wrap;
    }

    .main-cate-tab {
        min-height: 38px;
        padding: 9px 14px;
        font-size: 14px;
    }

    .main-trislab-body {
        padding: 12px 16px 20px;
    }

    .main-trislab-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
    }

    .main-trislab-thumb-list {
        gap: 16px;
    }

    .main-trislab-thumb-item {
        grid-template-columns: 112px minmax(0, 1fr);
        gap: 12px;
    }

    .main-trislab-thumb {
        width: 100%;
    }

    .main-trislab-text-list li {
        padding: 8px 0;
    }

    body.is-sub #container_wr {
        padding-top: 16px;
        gap: 20px;
    }

    body.is-sub .sub-gnb {
        order: 3;
        width: 100%;
        margin: 0;
        gap: 6px;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    body.is-sub .sub-gnb a {
        height: 38px;
        padding: 0 13px;
        font-size: 13px;
    }

    .pc-search-wrap {
        right: 0;
        top: 8px;
    }

    .search-layer {
        width: min(420px, calc(100vw - 32px));
    }

    .search-layer-head input {
        min-width: 0;
        width: 0;
    }

    .webzine-wrap .gall_row .col-gn-2 {
        width: 100%;
        margin-bottom: 18px;
    }

    .webzine-wrap #bo_gall .gall_img {
        width: 100px;
        flex-basis: 100px;
        height: 72px !important;
    }

    .health-notice {
        width: 100%;
        padding: 0;
        font-size: 12px;
        margin-bottom:20px
    }

    #ft_wr {
        padding: 24px 0;
    }

    #ft_wr .ft_cnt {
        padding: 0;
        gap: 10px 16px;
        flex-wrap: wrap;
        line-height: 1.7;
        margin-bottom: 20px;
    }

    #ft_copy {
        padding: 16px 0;
        line-height: 1.6;
    }
}




/* 상단: 배너 + 로그인 */
.main-top-grid {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
    gap: var(--renewal-gap);
    align-items: stretch;
    margin: 16px 0;
}

.main-top-grid > * {
    min-width: 0;
}

/* .main-top-grid .main-hero-banner {
    width: 100%;
    max-width: none;
    height: auto;
    min-height: 130px;
    margin: 0;
    border-radius: 16px;
    box-shadow: none;
} */

/* .main-top-grid .main-hero-slide {
    padding: 24px 32px;
} */

/* .main-top-grid .main-hero-slide strong {
    font-size: 19px;
    line-height: 1.5;
    word-break: keep-all;
    overflow-wrap: anywhere;
} */

/* 로그인 공통 */
.main-login-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    min-height: 134px;
    padding: 17px 22px 13px;
    border: 1px solid #eceef2;
    border-radius: 16px;
    background: #fff;
}

.main-login-guide {
    color: #858891;
    font-size: 12px;
    line-height: 1.5;
    word-break: keep-all;
}

.main-login-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    padding: 10px 14px;
    border-radius: 9px;
    background: var(--renewal-accent);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    transition: background-color .2s ease;
}

.main-login-button:hover {
    background: #bd1720;
    color: #fff;
}

.main-login-button:focus-visible {
    outline: 2px solid var(--renewal-accent);
    outline-offset: 3px;
}

.main-login-links,
.main-member-links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 12px;
}

.main-login-links a,
.main-member-links a {
    color: #858891;
    font-size: 12px;
    line-height: 1.5;
}

.main-login-links a:hover,
.main-member-links a:hover {
    color: var(--renewal-accent);
    text-decoration: underline;
}

/* 로그인 후 */
.main-member-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.main-member-name {
    min-width: 0;
    color: #555;
    font-size: 15px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.main-member-name strong {
    color: #222;
    font-weight: 700;
}

.main-admin-link {
    flex-shrink: 0;
    padding: 5px 10px;
    border-radius: 999px;
    background: #fff0f1;
    color: var(--renewal-accent);
    font-size: 12px;
    font-weight: 600;
}

.main-member-links {
    padding-top: 12px;
    border-top: 1px solid #f0f1f4;
}

/* 태블릿·모바일 */
@media (max-width: 1100px) {
    .main-top-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .main-top-grid .main-hero-banner {
        min-height: 150px;
    }
}

@media (max-width: 767px) {
    .main-top-grid {
        gap: 16px;
        margin: 0 0 20px;
    }

    .main-top-grid .main-hero-banner {
        min-height: 140px;
    }

    /* .main-top-grid .main-hero-slide {
        padding: 20px 24px;
    }

    .main-top-grid .main-hero-slide strong {
        font-size: 17px;
    } */

    .main-login-box {
        min-height: 0;
        padding: 20px;
    }
}


/* 메인 전용 헤더 */
body.is-main .renewal-main-header {
    margin-bottom: 0;
}

.renewal-header-inner {
    width: calc(100% - 40px);
    max-width: var(--renewal-width);
    margin: 0 auto;
}

.renewal-utility {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 18px;
    padding: 16px 0 8px;
}

.renewal-utility a {
    color: #92959c;
    font-size: 12px;
}

.renewal-utility a:hover {
    color: var(--renewal-accent);
}

/* 로고·중앙 검색 */
.renewal-search-row {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 126px;
}

.renewal-logo {
    position: absolute;
    left: 0;
    display: block;
    width: 205px;
}

.renewal-logo img {
    display: block;
    width: 100%;
    height: auto;
}

.renewal-search {
    width: 560px;
    max-width: 100%;
    padding: 2px;
    border-radius: 999px;
    background: linear-gradient(
        110deg,
        #ff9da9,
        #df3347 48%,
        #f3ae74
    );
}

.renewal-search form {
    display: flex;
    align-items: center;
    min-height: 52px;
    border-radius: inherit;
    background: #fff;
    overflow: hidden;
}

.renewal-search input {
    flex: 1;
    width: 0;
    min-width: 0;
    height: 52px;
    padding: 0 26px;
    border: 0;
    background: transparent;
    color: #222;
    font-size: 15px;
    outline: none;
}

.renewal-search input::placeholder {
    color: #93969e;
}

.renewal-search:focus-within {
    box-shadow: 0 0 0 4px rgba(217, 28, 36, .08);
}

.renewal-search button {
    flex: 0 0 58px;
    align-self: stretch;
    border: 0;
    background: transparent;
    color: var(--renewal-accent);
    font-size: 21px;
}

/* 메뉴·인기글 공통 줄 */
.renewal-navigation-row {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
    align-items: center;
    gap: var(--renewal-gap);
    padding: 8px 0 0;
}

.renewal-category-menu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.renewal-category-menu a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 16px 8px 10px;
    border: 1px solid #edf0f3;
    border-radius: 999px;
    background: #fff;
    color: #333;
    font-size: 15px;
    font-weight: 600;
    transition: color .2s ease, border-color .2s ease;
}

.renewal-category-menu a:hover {
    border-color: #f0b7bb;
    color: var(--renewal-accent);
}

.renewal-category-menu img {
    display: block;
    width: 28px;
    height: 28px;
    object-fit: contain;
}

/* 인기글 한 줄 */
.renewal-popular {
    position: relative;
    min-width: 0;
    z-index: 50;
}

.renewal-popular-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
}

.renewal-popular-badge {
    flex-shrink: 0;
    padding: 5px 10px;
    border-radius: 999px;
    background: #ffe6e9;
    color: var(--renewal-accent);
    font-size: 12px;
    font-weight: 700;
}

.renewal-popular-current {
    flex: 1;
    min-width: 0;
}

.renewal-popular-entry {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #222;
    font-size: 16px;
    line-height: 1.5;
}

.renewal-popular-entry[hidden],
.renewal-popular-panel[hidden] {
    display: none;
}

.renewal-popular-entry b {
    flex-shrink: 0;
    min-width: 16px;
    text-align: center;
}

.renewal-popular-entry span {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.renewal-popular-entry:hover span {
    text-decoration: underline;
}

.renewal-popular-empty {
    color: #999;
    font-size: 12px;
}

.renewal-popular-toggle,
.renewal-popular-close {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #666;
    font-size: 23px;
}

.renewal-popular-toggle:hover,
.renewal-popular-close:hover {
    background: #f2f4f7;
}

/* 펼친 인기글 목록 */
.renewal-popular-panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 400px;
    max-width: calc(100vw - 32px);
    padding: 20px;
    border: 1px solid #eceef2;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 36px rgba(15, 23, 42, .14);
}

.renewal-popular-panel-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.renewal-popular-panel-head strong {
    color: #111;
    font-size: 17px;
}

.renewal-popular-panel-head > span {
    margin-left: auto;
    color: #999;
    font-size: 12px;
}

.renewal-popular-panel ol {
    max-height: min(480px, 60vh);
    margin: 0;
    padding: 0;
    list-style: none;
    overflow-y: auto;
}

.renewal-popular-panel li a {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 6px 8px;
    border-radius: 8px;
    color: #333;
    font-size: 17px;
    line-height: 1.5;
}

.renewal-popular-panel li a:hover {
    background: #fff3f4;
    color: var(--renewal-accent);
}

.renewal-popular-panel li b {
    flex: 0 0 20px;
    text-align: center;
}

.renewal-popular-panel li a > span {
    min-width: 0;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.renewal-main-header a:focus-visible,
.renewal-main-header button:focus-visible {
    outline: 2px solid var(--renewal-accent);
    outline-offset: 3px;
}

/* 태블릿 */
@media (max-width: 1100px) {
    .renewal-search-row {
        justify-content: space-between;
        gap: 28px;
    }

    .renewal-logo {
        position: static;
        flex: 0 0 180px;
        width: 180px;
    }

    .renewal-search {
        flex: 1;
        width: auto;
        max-width: 560px;
        min-width: 0;
    }

    .renewal-navigation-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .renewal-popular {
        width: 100%;
    }
}

/* 모바일 */
@media (max-width: 767px) {
    .renewal-header-inner {
        width: calc(100% - 32px);
    }

    .renewal-utility {
        gap: 14px;
        padding-top: 12px;
    }

    .renewal-utility a {
        font-size: 11px;
    }

    .renewal-search-row {
        min-height: 0;
        padding: 18px 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .renewal-logo {
        flex: none;
        width: 180px;
    }

    .renewal-search {
        flex: none;
        width: 100%;
        max-width: none;
    }

    .renewal-search form {
        min-height: 48px;
    }

    .renewal-search input {
        height: 48px;
        padding: 0 18px;
        font-size: 16px;
    }

    .renewal-search button {
        flex-basis: 48px;
        font-size: 19px;
    }

    .renewal-navigation-row {
        padding: 0 0 16px;
        gap: 12px;
    }

    .renewal-category-menu {
        gap: 6px;
    }

    .renewal-category-menu a {
        gap: 5px;
        min-height: 40px;
        padding: 7px 10px;
        font-size: 12px;
    }

    .renewal-category-menu img {
        width: 23px;
        height: 23px;
    }

    .renewal-popular-bar {
        gap: 8px;
        padding: 4px 8px;
        border-radius: 10px;
        background: rgba(255, 255, 255, .65);
    }

    .renewal-popular-entry {
        font-size: 13px;
    }

    .renewal-popular-panel {
        width: 100%;
        padding: 16px;
        border-radius: 16px;
    }
}




/* 상단 여백 */
.renewal-main-header .renewal-search-row {
    margin-top: 20px;
}

@media (max-width: 767px) {
    .renewal-main-header .renewal-search-row {
        margin-top: 8px;
    }
}




/* 서브: 다음 스타일 헤더 */
body.is-sub #hd.renewal-sub-header {
    margin-bottom: 0;
    border-bottom: 0;
}

.renewal-sub-header .renewal-sub-inner {
    position: relative;
    z-index: 1;
    width: calc(100% - 40px);
    max-width: var(--renewal-width);
    margin: 0 auto;
}

.renewal-sub-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 84px;
}

.renewal-sub-logo {
    display: block;
    width: 205px;
    max-width: calc(100% - 64px);
}

.renewal-sub-logo img {
    display: block;
    width: 100%;
    height: auto;
}

/* 검색 */
.renewal-sub-search {
    position: relative;
    flex-shrink: 0;
    z-index: 30;
}

.renewal-sub-search summary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid #e6e9ed;
    border-radius: 50%;
    background: #fff;
    color: #333;
    font-size: 17px;
    list-style: none;
    cursor: pointer;
}

.renewal-sub-search summary::-webkit-details-marker {
    display: none;
}

.renewal-sub-search[open] summary {
    border-color: #f0b7bb;
    color: var(--renewal-accent);
}

.renewal-sub-search-panel {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 400px;
    max-width: calc(100vw - 32px);
    padding: 14px;
    border: 1px solid #eceef2;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .12);
}

.renewal-sub-search-panel form {
    display: flex;
    align-items: center;
    border: 1px solid #e3e6eb;
    border-radius: 10px;
    overflow: hidden;
}

.renewal-sub-search-panel input {
    flex: 1;
    width: 0;
    min-width: 0;
    height: 46px;
    padding: 0 14px;
    border: 0;
    background: #fff;
    font-size: 16px;
}

.renewal-sub-search-panel button {
    align-self: stretch;
    flex: 0 0 46px;
    border: 0;
    background: #fff;
    color: var(--renewal-accent);
    font-size: 17px;
}

.renewal-sub-search-panel form:focus-within {
    border-color: var(--renewal-accent);
}

/* 카테고리 박스 */
.renewal-sub-nav {
    border: 1px solid #eceef2;
    border-radius: 16px;
    background: #fff;
}

.renewal-sub-nav-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0 24px;
    padding: 0 24px;
}

.renewal-sub-nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 66px;
    color: #333;
    font-size: 17px;
    font-weight: 700;
    white-space: nowrap;
}

.renewal-sub-nav-link:hover,
.renewal-sub-nav-link.is-active {
    color: var(--renewal-accent);
}

.renewal-sub-nav-link.is-active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: var(--renewal-accent);
}

.renewal-sub-nav-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 16px;
    min-height: 48px;
    padding: 12px 24px;
    border-top: 1px solid #f0f1f4;
}

.renewal-sub-nav-bottom > span {
    color: #9399a3;
    font-size: 13px;
}

.renewal-sub-nav-bottom a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #777;
    font-size: 13px;
}

.renewal-sub-nav-bottom a:hover,
.renewal-sub-nav-bottom a.is-active {
    color: var(--renewal-accent);
}

.renewal-sub-header a:focus-visible,
.renewal-sub-header summary:focus-visible,
.renewal-sub-header button:focus-visible {
    outline: 2px solid var(--renewal-accent);
    outline-offset: 3px;
}


/* 메뉴 하단: 키워드 / 안내 */
.renewal-sub-header .renewal-sub-nav-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 56px;
}

/* 키워드 목록 */
.renewal-sub-header .renewal-sub-keywords {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
    padding: 8px 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.renewal-sub-keywords::-webkit-scrollbar {
    display: none;
}

/* 기존 하단 링크 스타일보다 우선 적용 */
.renewal-sub-header .renewal-sub-keywords > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    gap: 3px;
    margin: 0;
    padding: 6px 12px;
    border: 1px solid #e8ebef;
    border-radius: 999px;
    background: #f6f7f9;
    color: #606975;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
    text-decoration: none;
    white-space: nowrap;
    transition:
        background-color .2s ease,
        border-color .2s ease,
        color .2s ease;
}

.renewal-sub-header .renewal-keyword-badge > span {
    color: #a0a7b1;
    font-size: inherit;
    transition: color .2s ease;
}

.renewal-sub-header .renewal-sub-keywords > a:hover,
.renewal-sub-header .renewal-sub-keywords > a.is-selected {
    border-color: #f2cbd1;
    background: #fff1f3;
    color: #d72d48;
}

.renewal-sub-header .renewal-keyword-badge:hover > span,
.renewal-sub-header .renewal-keyword-badge.is-selected > span {
    color: #d72d48;
}

/* 검색 해제 버튼 */
.renewal-sub-header .renewal-sub-keywords > .renewal-keyword-all {
    border-color: transparent;
    background: transparent;
}

.renewal-sub-header .renewal-sub-keywords > a:focus-visible {
    outline: 2px solid #d72d48;
    outline-offset: 3px;
}

/* 우측 전체보기 */
.renewal-sub-header .renewal-sub-all-link {
    flex: 0 0 auto;
    white-space: nowrap;
}

@media (max-width: 767px) {
    .renewal-sub-header .renewal-sub-nav-bottom {
        flex-wrap: wrap;
        gap: 0 12px;
    }

    .renewal-sub-header .renewal-sub-keywords {
        flex: 1 1 100%;
    }

    .renewal-sub-header .renewal-sub-keywords > a {
        padding: 6px 10px;
        font-size: 12px;
    }

    .renewal-sub-header .renewal-sub-all-link {
        margin-left: auto;
        padding-top: 6px;
        padding-bottom: 10px;
    }
}












/* 헤더 아래 본문 간격 */
body.is-sub #container_wr {
    padding-top: 20px;
}

body.is-sub #container {
    margin-top: 0;
}

/* health의 중복 분류 메뉴는 상단 통합 메뉴로 대체 */
body.bo-health #bo_cate {
    display: none;
}

/* 모바일: 카테고리를 가로 스크롤로 표시 */
@media (max-width: 767px) {
    .renewal-sub-header .renewal-sub-inner {
        width: calc(100% - 32px);
    }

    .renewal-sub-top {
        min-height: 72px;
    }

    .renewal-sub-logo {
        width: 180px;
    }

    .renewal-sub-nav {
        border-radius: 12px;
    }

    .renewal-sub-nav-list {
        flex-wrap: nowrap;
        gap: 22px;
        padding: 0 16px;
        overflow-x: auto;
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
    }

    .renewal-sub-nav-link {
        flex-shrink: 0;
        min-height: 54px;
        font-size: 14px;
    }

    .renewal-sub-nav-bottom {
        min-height: 44px;
        padding: 10px 16px;
    }

    .renewal-sub-nav-bottom > span,
    .renewal-sub-nav-bottom a {
        font-size: 12px;
    }

    body.is-sub #container_wr {
        padding-top: 16px;
    }

    body.is-sub #container_title {
        padding: 22px 18px;
    }
}




/* 서브 게시판: 텍스트 + 오른쪽 썸네일 목록 */
body.is-sub {
    background: #f2f4f7;
}

body.is-sub #container_wr {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

body.is-sub #container {
    min-width: 0;
    padding: 0 24px 28px;
    border: 0;
    border-radius: 16px;
    background: #fff;
}

body.is-sub #container_title {
    margin: 0;
    padding: 26px 0 18px;
    border: 0;
    background: transparent;
    font-size: 20px;
    line-height: 1.5;
}

body.is-sub #aside {
    float: none;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
}

.webzine-wrap #bo_gall {
    width: 100% !important;
}

.webzine-wrap #gall_ul.renewal-article-list {
    display: block;
    margin: 0;
    padding: 0;
    list-style: none;
}

.webzine-wrap .renewal-article-item {
    position: relative;
    float: none;
    width: 100%;
    margin: 0;
    padding: 20px 0;
    border-bottom: 1px solid #f0f1f3;
}

.webzine-wrap .renewal-article-item:last-child {
    border-bottom: 0;
}

.renewal-article-body {
    display: flex;
    align-items: center;
    gap: 24px;
    min-width: 0;
}

.renewal-article-text {
    flex: 1;
    min-width: 0;
}

.renewal-article-category {
    display: inline-block;
    margin-bottom: 7px;
    color: #d91c24;
    font-size: 12px;
    font-weight: 700;
}

.renewal-article-notice {
    display: inline-block;
    margin: 0 6px 7px 0;
    padding: 3px 7px;
    border-radius: 5px;
    background: #fff0f0;
    color: #d91c24;
    font-size: 11px;
    font-weight: 700;
}

.renewal-article-title {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: #17191c;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.renewal-article-title:hover {
    text-decoration: underline;
}

.renewal-article-new {
    margin-left: 4px;
    color: #d91c24;
    font-size: 11px;
    vertical-align: middle;
}

.renewal-article-comments {
    margin-left: 4px;
    color: #888;
    font-size: 12px;
}

.renewal-article-summary {
    display: -webkit-box;
    overflow: hidden;
    margin-top: 8px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: #555d68;
    font-size: 15px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.renewal-article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 10px;
    margin-top: 10px;
    color: #8a919c;
    font-size: 12px;
    line-height: 1.5;
}

.renewal-article-meta > span + span {
    position: relative;
}

.renewal-article-meta > span + span::before {
    content: "·";
    position: absolute;
    left: -7px;
}

.renewal-article-thumb {
    display: block;
    flex: 0 0 160px;
    width: 160px;
    height: 104px;
    overflow: hidden;
    border-radius: 8px;
    background: #f2f4f7;
}

.renewal-article-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.renewal-article-check {
    position: relative;
    height: 22px;
    margin-bottom: 6px;
}

.renewal-article-check label {
    position: relative;
    display: inline-block;
    min-width: 22px;
    min-height: 22px;
}

.renewal-article-empty {
    padding: 70px 16px;
    color: #888;
    text-align: center;
}

.webzine-wrap #bo_list_total {
    margin-top: 16px;
    color: #8a919c;
    font-size: 12px;
}

@media (max-width: 1100px) {
    body.is-sub #container_wr {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 767px) {
    body.is-sub #container {
        padding: 0 18px 22px;
        border-radius: 12px;
    }

    body.is-sub #container_title {
        padding: 22px 0 14px;
        font-size: 18px;
    }

    .webzine-wrap .renewal-article-item {
        padding: 18px 0;
    }

    .renewal-article-body {
        gap: 14px;
        align-items: flex-start;
    }

    .renewal-article-title {
        font-size: 16px;
    }

    .renewal-article-summary {
        margin-top: 6px;
        font-size: 14px;
    }

    .renewal-article-thumb {
        flex-basis: 100px;
        width: 100px;
        height: 76px;
        margin-top: 3px;
    }

    .renewal-article-meta {
        gap: 4px 10px;
        margin-top: 8px;
        font-size: 11px;
    }
}


/* 리뉴얼 전용 사이드바 */
#aside .renewal-side-box {
    margin: 0 0 16px;
    padding: 24px;
    border-radius: 16px;
    background: #fff;
}

#aside .renewal-side-box h3 {
    margin: 0;
    padding: 0 0 18px;
    border-bottom: 1px solid #f0f1f3;
    color: #17191c;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.5;
}

#aside .renewal-side-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

#aside .renewal-side-list > li {
    margin: 0;
    padding: 0;
    border: 0;
    border-bottom: 1px solid #f0f1f3;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

#aside .renewal-side-list > li:last-child {
    border-bottom: 0;
}

#aside .renewal-side-link {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 16px 0;
    color: #222;
    text-decoration: none;
}

#aside .renewal-side-text {
    flex: 1;
    min-width: 0;
}

#aside .renewal-side-title {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: #25282d;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

#aside .renewal-side-link:hover .renewal-side-title {
    text-decoration: underline;
}

#aside .renewal-side-meta {
    display: block;
    margin-top: 6px;
    color: #9198a3;
    font-size: 12px;
    line-height: 1.5;
}

#aside .renewal-side-rank {
    flex: 0 0 22px;
    align-self: flex-start;
    color: #9198a3;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

#aside .renewal-side-popular li:nth-child(-n+3)
.renewal-side-rank {
    color: #d91c24;
}

#aside .renewal-side-thumb {
    display: block;
    flex: 0 0 80px;
    width: 80px;
    height: 56px;
    overflow: hidden;
    border-radius: 7px;
    background: #f2f4f7;
}

#aside .renewal-side-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#aside .renewal-side-empty {
    padding: 28px 0;
    color: #888;
    font-size: 13px;
    text-align: center;
}

@media (max-width: 767px) {
    #aside .renewal-side-box {
        padding: 20px 18px;
        border-radius: 12px;
    }

    #aside .renewal-side-box h3 {
        font-size: 18px;
        border-bottom: 0;
    }
}



/* 사이드바 높이 제한과 내부 스크롤 해제 */
body.is-sub #aside {
    position: static;
    top: auto;
    height: auto;
    max-height: none;
    overflow: visible;
}




/* 읽기 화면 전용 상단 바 */
body.is-board-view #hd.renewal-view-header {
    position: relative;
    margin: 0;
    border: 0;
    background: #fff;
}

.renewal-view-header-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: calc(100% - 40px);
    max-width: var(--renewal-width, 1200px);
    min-height: 64px;
    margin: 0 auto;
}

.renewal-view-logo {
    display: block;
    width: 190px;
    max-width: 50%;
}

.renewal-view-logo img {
    display: block;
    width: 100%;
    height: auto;
}

/* .renewal-view-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.renewal-view-actions a,
.renewal-view-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 40px;
    padding: 0 13px;
    border: 1px solid #eceef2;
    border-radius: 999px;
    background: #fff;
    color: #444;
    font: inherit;
    font-size: 13px;
    text-decoration: none;
    cursor: pointer;
}

.renewal-view-actions i {
    font-size: 16px;
}

.renewal-view-actions a:hover,
.renewal-view-actions button:hover {
    background: #f5f6f8;
} */


/* 읽기화면 상단 도구 */
.renewal-view-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.renewal-view-actions a,
.renewal-view-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    gap: 8px;
    min-width: 44px;
    min-height: 44px;
    padding: 0 10px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    box-shadow: none;
    color: #202329;
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .2s ease;
}

.renewal-view-actions svg {
    display: block;
    flex-shrink: 0;
    width: 23px;
    height: 23px;
}

.renewal-view-actions a:hover,
.renewal-view-actions button:hover {
    background: #f3f4f6;
}

.renewal-view-actions a:focus-visible,
.renewal-view-actions button:focus-visible {
    outline: 2px solid #8652d7;
    outline-offset: 2px;
}

@media (max-width: 767px) {
    .renewal-view-actions {
        gap: 2px;
    }

    .renewal-view-actions a,
    .renewal-view-actions button {
        gap: 7px;
        padding: 0 9px;
        font-size: 13px;
    }
}



/* 읽기 화면 본문 */
body.is-board-view #container_wr {
    padding-top: 16px;
}

body.is-board-view #container {
    padding: 36px 40px;
}

body.is-board-view #bo_v {
    width: 100% !important;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

body.is-board-view #bo_v_title {
    margin: 0 0 22px;
    padding: 0;
}

body.is-board-view #bo_v_title .bo_v_tit {
    font-size: 28px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

body.is-board-view #bo_v_info {
    margin-bottom: 30px;
}

/* 읽기 전용 사이드바 */
#aside .renewal-view-side-box {
    margin: 0 0 16px;
    padding: 24px;
    border-radius: 16px;
    background: #fff;
}

#aside .renewal-view-side-box h3 {
    margin: 0;
    padding: 0 0 18px;
    border-bottom: 1px solid #f0f1f3;
    color: #17191c;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.5;
}

/* 서비스 바로가기 제목 구분선 제거 */
#aside nav.renewal-view-side-box[aria-label="서비스 바로가기"] h3 {
    border-bottom: 0;
}

.renewal-product-banner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    min-height: 230px;
    padding: 24px;
    border: 1px solid #e5ebe7;
    border-radius: 10px;
    background: #f3f7f4;
    color: #344b3c;
    text-decoration: none;
}

.renewal-product-banner > span:first-child {
    font-size: 11px;
    letter-spacing: 0.08em;
}

.renewal-product-banner strong {
    font-size: 23px;
    line-height: 1.5;
}

.renewal-product-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    padding-top: 15px;
    border-top: 1px solid #dce5df;
    font-size: 13px;
}

.renewal-view-side-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    color: #969da7;
    font-size: 13px;
    text-align: center;
}




/* 읽기화면: 서비스 바로가기를 태그 형태로 */
.renewal-service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.renewal-service-grid > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 100%;
    min-width: 0;
    padding: 8px 4px;
    min-height: 36px;
    padding: 8px 14px;
    box-sizing: border-box;
    border: 1px solid transparent;
    border-radius: 999px;
    background: #f3f5f8;
    color: #596373;
    font-size: 13px;
    font-weight: 600;
    letter-spacing:-0.2px;
    line-height: 1.5;
    text-decoration: none;
    transition:
        background-color .2s ease,
        color .2s ease,
        border-color .2s ease;
}

.renewal-service-grid > a:hover {
    border-color: #f0d2c4;
    background: #fff1e8;
    color: #985b40;
}

.renewal-service-grid > a:focus-visible {
    outline: 2px solid #d58c76;
    outline-offset: 2px;
}
/* 모바일: 글자 길이에 맞춰 태그 자유 배치 */
@media (max-width: 767px) {
    .renewal-service-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .renewal-service-grid > a {
        flex: 0 0 auto;
        width: auto;
        max-width: 100%;
        font-size:14px;
        padding: 8px 13px;
        white-space: nowrap;
    }
}




@media (max-width: 767px) {
    .renewal-view-header-inner {
        width: calc(100% - 16px);
        min-height: 60px;
        gap: 12px;
    }

    .renewal-view-logo {
        width: 165px;
    }

    /* .renewal-view-actions {
        gap: 6px;
    }

    .renewal-view-actions a,
    .renewal-view-actions button {
        gap: 5px;
        min-height: 38px;
        padding: 0 10px;
        font-size: 12px;
    } */

    body.is-board-view #container {
        padding: 26px 18px;
    }

    body.is-board-view #bo_v_title .bo_v_tit {
        font-size: 23px;
        line-height: 1.5;
    }

    #aside .renewal-view-side-box {
        padding: 20px 18px;
        border-radius: 12px;
    }
}

/* 읽기 전용 상단 바 표시 */
body.is-board-view #hd.renewal-view-header {
    display: block !important;
    visibility: visible;
    opacity: 1;
    height: auto;
    transform: none;
}

/* 읽기 화면 상단 바 고정 */
body.is-board-view #hd.renewal-view-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    border-bottom: 1px solid #eceef2;
}

/* 읽기 화면 랜덤 추천 글 */
#aside .renewal-view-recommend-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

#aside .renewal-view-recommend-list > li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #f0f1f3;
}

#aside .renewal-view-recommend-list > li:last-child {
    border-bottom: 0;
}

.renewal-view-recommend-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 0;
    color: #25282d;
    text-decoration: none;
}

.renewal-view-recommend-text {
    flex: 1;
    min-width: 0;
}

.renewal-view-recommend-text strong {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.renewal-view-recommend-text > span {
    display: block;
    margin-top: 7px;
    color: #9198a3;
    font-size: 12px;
}

.renewal-view-recommend-link:hover strong {
    text-decoration: underline;
}

.renewal-view-recommend-thumb {
    display: block;
    flex: 0 0 90px;
    width: 90px;
    height: 64px;
    overflow: hidden;
    border-radius: 7px;
    background: #f2f4f7;
}

.renewal-view-recommend-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}




/* 읽기 화면 실시간 트렌드 */
#aside .renewal-trend-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

#aside .renewal-trend-heading h3 {
    padding: 0;
    border: 0;
}

.renewal-trend-time {
    flex-shrink: 0;
    color: #969da7;
    font-size: 11px;
}

.renewal-trend-period {
    margin: 8px 0 12px;
    color: #969da7;
    font-size: 12px;
}

#aside .renewal-trend-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

#aside .renewal-trend-list > li {
    margin: 0;
    padding: 0;
}

.renewal-trend-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 35px;
    color: #25282d;
    text-decoration: none;
}

.renewal-trend-rank {
    flex: 0 0 20px;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.renewal-trend-title {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    font-size: 16px;
    line-height: 1.5;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-weight: 500
}

.renewal-trend-list a:hover .renewal-trend-title {
    text-decoration: underline;
}

.renewal-trend-change {
    flex: 0 0 32px;
    color: #adb3bc;
    font-size: 10px;
    font-weight: 700;
    text-align: right;
}

.renewal-trend-change.is-up,
.renewal-trend-change.is-new {
    color: #f45151;
}

.renewal-trend-change.is-down {
    color: #438cf3;
}


/* PC 서브화면: 사이드바 고정 + 내부 스크롤 */
@media (min-width: 1101px) {
    body.is-sub #container_wr {
        align-items: start;
    }

    body.is-sub #aside {
        position: sticky;
        top: 16px;

        height: auto;
        max-height: calc(100vh - 32px);
        max-height: calc(100dvh - 32px);

        overflow-x: hidden;
        overflow-y: auto;

        scrollbar-width: thin;
        scrollbar-color: #d2d7df transparent;
    }

    /* 읽기 화면은 고정 상단 바 아래에 배치 */
    body.is-board-view #aside {
        top: 80px;
        max-height: calc(100vh - 96px);
        max-height: calc(100dvh - 96px);
    }

    body.is-sub #aside::-webkit-scrollbar {
        width: 5px;
    }

    body.is-sub #aside::-webkit-scrollbar-thumb {
        border-radius: 999px;
        background: #d2d7df;
    }

    body.is-sub #aside::-webkit-scrollbar-track {
        background: transparent;
    }
}

/* PC 사이드바: 스크롤 기능을 유지하고 막대만 숨김 */
@media (min-width: 1101px) {
    body.is-sub #aside {
        scrollbar-width: none;
    }

    body.is-sub #aside::-webkit-scrollbar {
        display: none;
        width: 0;
    }
}


/* 모바일 화면 정리 */
@media (max-width: 767px) {
    /* 상단 흰색 그라데이션 필터 제거 */
    #hd::before {
        display: none;
    }

    /* 읽기 화면: 읽기 모드 버튼 숨김 */
    body.is-board-view .reader-mode-btn-wrap {
        display: none;
    }

    /* 읽기 화면: 상단 로고 숨김 */
    body.is-board-view .renewal-view-logo {
        display: none;
    }

    /* 목록·공유 버튼은 오른쪽 정렬 */
    body.is-board-view .renewal-view-header-inner {
        justify-content: flex-end;
    }
}




/* 메인 트렌드 제목과 순위 변동 표시 */
.renewal-popular-badge {
    flex-shrink: 0;
    white-space: nowrap;
}

.renewal-popular-current {
    min-width: 0;
}

.renewal-popular .renewal-popular-entry,
.renewal-popular .renewal-popular-results a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.renewal-popular .renewal-popular-entry[hidden] {
    display: none;
}

.renewal-popular .renewal-popular-subject {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.renewal-popular .renewal-popular-change {
    display: inline-block;
    flex: 0 0 32px;
    width: 32px;
    margin-left: auto;
    overflow: visible;
    color: #adb3bc;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.5;
    text-align: right;
    white-space: nowrap;
}

.renewal-popular .renewal-popular-change.is-up,
.renewal-popular .renewal-popular-change.is-new {
    color: #f45151;
}

.renewal-popular .renewal-popular-change.is-down {
    color: #438cf3;
}

.renewal-popular-results {
    list-style: none;
}



/* 메인 칼럼 펼침창을 기존 표시 영역 위에 겹쳐 배치 */
.renewal-popular {
    position: relative;
}

.renewal-popular .renewal-popular-panel {
    top: 0;
    right: 0;
    width: 100%;
    box-sizing: border-box;
}




@media (min-width: 1101px) {
    .renewal-popular {
        --popular-panel-extra: 80px;
        --popular-panel-padding: 16px;
    }

    /* 기존 바 오른쪽 끝에 열기 버튼 배치 */
    .renewal-popular .renewal-popular-toggle {
        margin-left: auto;
    }

    /* 패널은 왼쪽으로 확장 */
    .renewal-popular .renewal-popular-panel {
        top: -1px;
        right: calc(-1 * var(--popular-panel-padding) - 1px);
        left: auto;
        width: calc(
            100% + var(--popular-panel-extra)
            + var(--popular-panel-padding) + 1px
        );
        padding: 0 var(--popular-panel-padding) 16px;
        border: 1px solid #eceef2;
        box-sizing: border-box;
    }

    /* 기존 바와 동일한 높이 */
    .renewal-popular .renewal-popular-panel-head {
        position: relative;
        height: 44px;
        min-height: 44px;
        margin-bottom: 12px;
        padding: 0 42px 0 0;
        box-sizing: border-box;
    }

    /* 열기 버튼과 같은 자리에 닫기 버튼 배치 */
    .renewal-popular .renewal-popular-close {
        position: absolute;
        top: 50%;
        right: 0;
        margin: 0;
        transform: translateY(-50%);
    }
}



@media (min-width: 1101px) {
    /* 왼쪽 확장 폭 축소: 80px → 24px */
    .renewal-popular {
        --popular-panel-extra: 24px;
    }

    /* 위쪽 여백을 늘린 만큼 패널을 위로 이동 */
    .renewal-popular .renewal-popular-panel {
        top: -13px;
        padding-top: 12px;
    }

    /* 좁아진 패널에서 보조 설명 줄바꿈 방지 */
    .renewal-popular-panel-head > span {
        min-width: 0;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .renewal-popular-panel-head strong {
        flex-shrink: 0;
    }
}


/* 메인 칼럼 패널 등장·퇴장 */
.renewal-popular .renewal-popular-panel {
    transform-origin: calc(100% - 32px) 34px;
}

.renewal-popular .renewal-popular-panel[hidden] {
    display: none;
}

.renewal-popular-panel.is-opening {
    animation: popularPanelOpen 280ms
        cubic-bezier(.2, .75, .25, 1) both;
}

.renewal-popular-panel.is-closing {
    pointer-events: none;
    animation: popularPanelClose 200ms ease-in both;
}

/* 목록이 위에서 아래로 순차 등장 */
.renewal-popular-panel.is-opening
.renewal-popular-results > li {
    animation: popularListReveal 300ms ease-out both;
    animation-delay: calc(60ms + var(--item-index, 0) * 35ms);
}

@keyframes popularPanelOpen {
    from {
        opacity: 0;
        transform: translateY(-4px) scale(.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes popularPanelClose {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    to {
        opacity: 0;
        transform: translateY(-4px) scale(.96);
    }
}

@keyframes popularListReveal {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .renewal-popular-panel.is-opening,
    .renewal-popular-panel.is-closing,
    .renewal-popular-panel.is-opening
    .renewal-popular-results > li {
        animation: none;
    }
}


/* PC 읽기 화면: 흰색 필터를 본문 아래로 배치 */
@media (min-width: 768px) {
    body.is-board-view #hd::before {
        display: none;
    }

    body.is-board-view::before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 280px;
        z-index: 0;
        background: linear-gradient(
            180deg,
            #fff 0,
            rgba(255, 255, 255, .6) 40%,
            rgba(255, 255, 255, 0)
        );
        pointer-events: none;
    }

    body.is-board-view #wrapper {
        position: relative;
        z-index: 1;
    }
}



/* 읽기 화면: 왼쪽 뒤로가기 / 오른쪽 공유 */
body.is-board-view .renewal-view-header-inner {
    justify-content: space-between;
}

.renewal-view-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: #333;
    font-size: 32px;
    text-decoration: none;
}

.renewal-view-back:hover {
    background: #f2f4f7;
}

.renewal-view-back:focus-visible {
    outline: 2px solid #d91c24;
    outline-offset: 3px;
}


/* 헤더 읽기 모드 버튼: 모바일에서는 숨김 */
@media (max-width: 767px) {
    body.is-board-view .renewal-view-reader {
        display: none;
    }
}

/* 읽기 모드에서는 일반 화면 헤더 숨김 */
body.is-board-view.reader-mode-lock #hd.renewal-view-header {
    visibility: hidden;
    pointer-events: none;
}




/* 전체 주제 메뉴 기준점 */
.renewal-main-header .renewal-topic-wrap {
    position: relative;
    flex: 0 1 auto;
    min-width: 0;
}

.renewal-main-header .renewal-category-menu {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* 전체 주제 버튼 */
.renewal-main-header .renewal-topic-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    flex-shrink: 0;
    height: 44px;
    margin: 0;
    padding: 0 16px;
    border: 1px solid #eceef1;
    border-radius: 999px;
    background: #fff;
    color: #59616c;
    font: inherit;
    font-size: 14px;
    cursor: pointer;
    transition:
        background-color .2s ease,
        border-color .2s ease,
        color .2s ease;
}

.renewal-topic-toggle > i {
    transition: transform .2s ease;
}

.renewal-main-header .renewal-topic-toggle:hover,
.renewal-main-header .renewal-topic-toggle[aria-expanded="true"] {
    border-color: #f2cbd1;
    background: #fff1f3;
    color: #d72d48;
}

.renewal-topic-toggle[aria-expanded="true"] > i {
    transform: rotate(180deg);
}

/* 펼침 패널 */
.renewal-main-header .renewal-topic-panel {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    z-index: 100;
    box-sizing: border-box;
    width: 580px;
    max-width: calc(100vw - 40px);
    padding: 22px;
    border: 1px solid #e9edf2;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(35, 48, 68, .12);
}

.renewal-topic-panel[hidden] {
    display: none !important;
}

.renewal-topic-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.renewal-topic-head > strong {
    color: #303741;
    font-size: 15px;
    line-height: 1.5;
}

.renewal-main-header .renewal-topic-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f5f6f8;
    color: #7b8490;
    font-size: 13px;
    cursor: pointer;
}

/* 전체 주제 3열 */
.renewal-topic-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.renewal-main-header .renewal-topic-item {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    padding: 12px 8px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: #f8f9fb;
    color: #424a56;
    font-size: 14px;
    line-height: 1.4;
    text-decoration: none;
    transition:
        background-color .2s ease,
        border-color .2s ease,
        color .2s ease;
}

.renewal-main-header .renewal-topic-item:hover {
    border-color: #f2d4da;
    background: #fff3f5;
    color: #d72d48;
}

.renewal-topic-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
}

.renewal-topic-icon > img {
    display: block;
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.renewal-topic-icon.is-health {
    border-radius: 10px;
    background: #edf2f8;
    color: #7a91b0;
    font-size: 17px;
}

.renewal-topic-toggle:focus-visible,
.renewal-topic-close:focus-visible,
.renewal-topic-item:focus-visible {
    outline: 2px solid #d72d48;
    outline-offset: 3px;
}

@media (max-width: 767px) {
    .renewal-main-header .renewal-category-menu {
        gap: 7px;
    }

    .renewal-main-header .renewal-topic-panel {
        width: 360px;
        padding: 16px;
    }

    .renewal-topic-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* 검색창 안의 J 심볼 */
.renewal-main-header .renewal-search form {
    position: relative;
}

.renewal-main-header .renewal-search-brand {
    position: absolute;
    top: 50%;
    left: 18px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 40px;
    border-radius: 8px;
    transform: translateY(-50%);
}

.renewal-main-header .renewal-search-brand svg {
    display: block;
    width: 30px;
    height: 34px;
    transition: transform .2s ease;
}

.renewal-main-header .renewal-search-brand:hover svg {
    transform: translateY(-1px);
}

.renewal-main-header .renewal-search-brand:focus-visible {
    outline: 2px solid #ff568b;
    outline-offset: 3px;
}

/* 로고와 검색어가 겹치지 않도록 여백 확보 */
.renewal-main-header .renewal-search #renewal-search-input {
    padding-left: 68px;
}


/* 메인 메뉴: 테두리 대신 은은한 그림자 */
.renewal-main-header .renewal-category-menu > a,
.renewal-main-header .renewal-category-menu > .renewal-topic-toggle {
    border: 1px solid transparent;
    background: #fff;
    box-shadow:
        0 2px 6px rgba(30, 45, 65, .035),
        0 0 2px rgba(30, 45, 65, .025);
    transition:
        background-color .2s ease,
        box-shadow .2s ease,
        color .2s ease;
}

/* 마우스를 올리면 살짝 또렷하게 */
.renewal-main-header .renewal-category-menu > a:hover,
.renewal-main-header .renewal-category-menu > .renewal-topic-toggle:hover {
    border-color: transparent;
    background: #fff;
    box-shadow:
        0 3px 10px rgba(30, 45, 65, .075),
        0 0 2px rgba(30, 45, 65, .035);
}

/* 전체 주제가 열려 있을 때 */
.renewal-main-header .renewal-topic-toggle[aria-expanded="true"] {
    border-color: transparent;
    background: #fff1f3;
    color: #d72d48;
    box-shadow: 0 2px 8px rgba(215, 45, 72, .07);
}

/* 공통 폰트 */
body {
    font-family:
        'Pretendard',
        -apple-system,
        BlinkMacSystemFont,
        'Segoe UI',
        'Malgun Gothic',
        sans-serif;
}

/* 입력창과 버튼에도 동일한 폰트 적용 */
h1,
h2,
h3,
h4,
h5,
h6,
button,
input,
select,
textarea {
    font-family: inherit;
}


/* 로그인 회원 정보 */
.main-login-box .main-member-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.main-login-box .main-logout-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 8px 12px;
    border: 1px solid #e9ebee;
    border-radius: 8px;
    background: #fff;
    color: #555;
    font-size: 13px;
    line-height: 1.4;
    text-decoration: none;
}

.main-login-box .main-logout-link:hover {
    background: #f7f8fa;
}

/* 게시판별 글쓰기 */
.main-login-box .main-write-area {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #f0f1f4;
}

.main-login-box .main-write-label {
    display: block;
    margin-bottom: 9px;
    color: #939aa5;
    font-size: 11px;
}

.main-login-box .main-write-links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
}

.main-login-box .main-write-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 5px 2px;
    border-radius: 7px;
    color: #545d69;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
    transition:
        background-color .2s ease,
        color .2s ease;
}

.main-login-box .main-write-links a:hover {
    background: #fff1f3;
    color: #d72d48;
}

.main-login-box .main-write-links a:focus-visible,
.main-login-box .main-logout-link:focus-visible {
    outline: 2px solid #d72d48;
    outline-offset: 2px;
}


/* 로그인 상태: 간결한 두 줄 구성 */
.main-login-box:has(.main-member-heading) {
    padding: 20px 22px 10px;
    min-height: 0;
    gap: 0;
    justify-content: flex-start;
}

.main-login-box .main-member-heading {
    margin: 0;
    min-height: 38px;
}

.main-login-box .main-member-name {
    margin: 0;
    color: #222;
    font-size: 17px;
    line-height: 1.4;
}

.main-login-box .main-member-name strong {
    font-weight: 700;
}

.main-login-box .main-logout-link {
    padding: 8px 13px;
    color: #444;
    font-size: 14px;
}

/* 구분선 아래 글쓰기 바로가기 */
.main-login-box .main-write-area {
    margin-top: 14px;
    padding-top: 10px;
    border-top: 1px solid #f0f1f4;
}

.main-login-box .main-write-links {
    gap: 4px;
}

.main-login-box .main-write-links a {
    min-height: 36px;
    padding: 5px 2px;
    color: #30343b;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
}


/* health 게시판 본문 문단 */
body.bo-health #bo_v_atc > p,
body.bo-health .reader-mode-panel .reader-mode-content p {
    margin: 0 0 1.2em;
    line-height: 1.9;
    overflow-wrap: break-word;
}

/* 본문 소제목 */
body.bo-health #bo_v_atc > h3,
body.bo-health .reader-mode-panel .reader-mode-content h3 {
    margin: 2em 0 .7em;
    font-size: 1.2em;
    font-weight: 700;
    line-height: 1.5;
}

/* 본문 목록 */
body.bo-health #bo_v_atc > ul,
body.bo-health #bo_v_atc > ol,
body.bo-health .reader-mode-panel .reader-mode-content ul,
body.bo-health .reader-mode-panel .reader-mode-content ol {
    margin: 0 0 1.2em;
    padding-left: 1.5em;
    line-height: 1.9;
}

body.bo-health #bo_v_atc > ul > li,
body.bo-health #bo_v_atc > ol > li,
body.bo-health .reader-mode-panel .reader-mode-content ul > li,
body.bo-health .reader-mode-panel .reader-mode-content ol > li {
    margin-bottom: .45em;
}



/* 참고자료 구분선 */
body.bo-health #bo_v_atc > hr {
    margin: 2.5em 0 1.5em;
    border: 0;
    border-top: 1px solid #e8ebef;
}



/* 본문 하단 공통 성분 안내 */
/* 본문 하단 성분 안내: 기본 테마 */
.column-guide {
    --cg-accent: #8050c7;
    --cg-accent-end: #bd4fc4;
    --cg-soft: #f5f0ff;
    --cg-soft-end: #fff2f8;
    --cg-border: #e5d8f5;
    --cg-text: #463653;
    --cg-shadow: rgba(128, 80, 199, .16);

    position: relative;
    margin: 100px 0 0;
    padding: 26px;
    border: 1px solid var(--cg-border);
    border-radius: 16px;
    background: linear-gradient(
        115deg,
        var(--cg-soft),
        var(--cg-soft-end)
    );
    box-shadow: 0 8px 24px var(--cg-shadow);
    text-align: left;
    overflow: hidden;
    isolation: isolate;
}

/* 두드러기: 로즈 */
.column-guide[data-guide-theme="urticaria"] {
    --cg-accent: #bd4168;
    --cg-accent-end: #de7586;
    --cg-soft: #fff0f5;
    --cg-soft-end: #fff6f1;
    --cg-border: #f0d5df;
    --cg-text: #593b46;
    --cg-shadow: rgba(189, 65, 104, .12);
}

/* 비염: 청록 */
.column-guide[data-guide-theme="rhinitis"] {
    --cg-accent: #218680;
    --cg-accent-end: #4ba7bc;
    --cg-soft: #edf9f6;
    --cg-soft-end: #f0f8ff;
    --cg-border: #cde6e3;
    --cg-text: #34534f;
    --cg-shadow: rgba(33, 134, 128, .12);
}

/* 치질·혈행: 코랄 */
.column-guide[data-guide-theme="circulation"] {
    --cg-accent: #b95343;
    --cg-accent-end: #d78055;
    --cg-soft: #fff2ed;
    --cg-soft-end: #fff8ed;
    --cg-border: #eed8cc;
    --cg-text: #5b443c;
    --cg-shadow: rgba(185, 83, 67, .12);
}

/* 혈관·심장: 레드 */
.column-guide[data-guide-theme="heart"] {
    --cg-accent: #b83d53;
    --cg-accent-end: #d86b72;
    --cg-soft: #fff0f2;
    --cg-soft-end: #fff5f5;
    --cg-border: #efd3d9;
    --cg-text: #58383f;
    --cg-shadow: rgba(184, 61, 83, .12);
}

/* 혈당·대사: 앰버 */
.column-guide[data-guide-theme="metabolism"] {
    --cg-accent: #98651b;
    --cg-accent-end: #ba8732;
    --cg-soft: #fff7e8;
    --cg-soft-end: #fffaf0;
    --cg-border: #eadcbd;
    --cg-text: #584b32;
    --cg-shadow: rgba(152, 101, 27, .12);
}

/* 장·간·신장: 그린 */
.column-guide[data-guide-theme="digestive"] {
    --cg-accent: #45804e;
    --cg-accent-end: #7a9b50;
    --cg-soft: #eff8ee;
    --cg-soft-end: #f7f9ed;
    --cg-border: #d6e4cb;
    --cg-text: #40523b;
    --cg-shadow: rgba(69, 128, 78, .12);
}

/* 뇌·신경: 인디고 */
.column-guide[data-guide-theme="brain"] {
    --cg-accent: #6257b4;
    --cg-accent-end: #9071ca;
    --cg-soft: #f2f0ff;
    --cg-soft-end: #f8f2ff;
    --cg-border: #ddd7f1;
    --cg-text: #45405d;
    --cg-shadow: rgba(98, 87, 180, .12);
}

/* 관절·운동: 블루 */
.column-guide[data-guide-theme="joint"] {
    --cg-accent: #3779aa;
    --cg-accent-end: #509dad;
    --cg-soft: #eef6ff;
    --cg-soft-end: #effafa;
    --cg-border: #cfe1ed;
    --cg-text: #374e5d;
    --cg-shadow: rgba(55, 121, 170, .12);
}

/* 만성염증·기초: 플럼 */
.column-guide[data-guide-theme="inflammation"] {
    --cg-accent: #94538e;
    --cg-accent-end: #bc7295;
    --cg-soft: #faf0fa;
    --cg-soft-end: #fff3f6;
    --cg-border: #e8d5e6;
    --cg-text: #553d52;
    --cg-shadow: rgba(148, 83, 142, .12);
}

/* 둥근 상단 그라데이션 라인 */
.column-guide::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(
        100deg,
        var(--cg-accent),
        var(--cg-accent-end)
    );
}

.column-guide .column-guide__text {
    margin: 0;
    padding: 0;
    color: var(--cg-text);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.85;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.column-guide__links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.column-guide__links:has(a) {
    margin-top: 20px;
}

/* 버튼 기본 스타일 */
.column-guide .column-guide__links a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 44px;
    padding: 10px 15px;
    border: 1px solid var(--cg-border);
    border-radius: 10px;
    background: #fff;
    color: var(--cg-accent);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
    isolation: isolate;
    transition:
        color .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;

}

/* 강조 배경을 별도 레이어로 부드럽게 표시 */
.column-guide .column-guide__links a::before {
    content: "";
    position: absolute;
    inset: -1px;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(
        110deg,
        var(--cg-accent),
        var(--cg-accent-end)
    );
    box-shadow: 0 4px 12px var(--cg-shadow);
    opacity: 0;
    transition: opacity .3s ease;
}





/* 마우스나 키보드로 선택할 때는 선택한 버튼 강조 */
.column-guide .column-guide__links a:hover,
.column-guide .column-guide__links a:focus-visible {
    animation: none;
    border-color: var(--cg-accent);
    color: #fff;
    box-shadow: 0 4px 12px var(--cg-shadow);
}

.column-guide .column-guide__links a:hover::before,
.column-guide .column-guide__links a:focus-visible::before {
    animation: none;
    opacity: 1;
}

.column-guide .column-guide__links a:focus-visible {
    outline: 2px solid var(--cg-accent);
    outline-offset: 3px;
}

/* 동작 줄이기 설정에서는 순환 효과 해제 */
@media (prefers-reduced-motion: reduce) {
    .column-guide .column-guide__links a,
    .column-guide .column-guide__links a::before {
        animation: none;
        transition: none;
    }
}

/* 모바일 */
@media (max-width: 640px) {
    .column-guide {
        margin-top: 30px;
        padding: 22px 20px;
    }

    .column-guide .column-guide__text {
        font-size: 14px;
    }

    .column-guide__links {
        flex-direction: column;
    }

    .column-guide .column-guide__links a {
        width: 100%;
        box-sizing: border-box;
    }
}








/* 본문과 사이드바 하단 정렬 */
/* #container_wr {
    align-items: stretch;
}

#container_wr > #container {
    align-self: stretch;
    height: auto;
} */


/* 서브 화면: 본문 하단 여백 제거 및 높이 정렬 */
body.is-sub #container_wr {
    align-items: stretch;
}

body.is-sub #container_wr > #container {
    align-self: stretch;
    margin-bottom: 0;
}

/* PC 서브 화면: 본문 하단 여백 제거 및 높이 정렬 */
/* @media (min-width: 1101px) {
    body.is-sub #container_wr {
        align-items: stretch;
    }

    body.is-sub #container_wr > #container {
        align-self: stretch;
        margin-bottom: 0;
    }
} */




/* 포털형 목록에서만 바깥 흰색 배경 해제 */
body.is-sub #container_wr > #container.has-portal-feed {
    padding: 0;
    border-radius: 0;
    background: transparent;
}

/* 기존 페이지 제목 */
body.is-sub #container.has-portal-feed #container_title {
    padding: 6px 4px 18px;
}

.renewal-portal #fboardlist {
    margin: 0;
}

/* 관리 도구 영역 */
.renewal-portal #bo_btn_top,
.renewal-portal #gall_allchk,
.renewal-portal .bo_fx {
    padding-right: 12px;
    padding-left: 12px;
}

/* 5개 단위 독립 박스 */
.renewal-feed-box {
    min-width: 0;
    padding: 24px 24px 20px;
    border-radius: 16px;
    background: #fff;
}

.renewal-feed-box .renewal-feed-heading {
    margin: 0;
    padding: 0 0 14px;
    border-bottom: 1px solid #eef0f3;
    color: #202329;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
}

/* 기존 #gall_ul 스타일을 두 번째 목록에도 적용 */
.webzine-wrap ul.renewal-feed-list {
    display: block;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* PC 목록 높이 안정화 */
@media (min-width: 768px) {
    .renewal-feed-box .renewal-article-body {
        min-height: 132px;
    }
}

/* 각 박스 하단 버튼 */
.renewal-feed-footer {
    padding-top: 14px;
    text-align: center;
}

.renewal-feed-next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    padding: 10px 20px;
    border: 1px solid #e7e9ed;
    border-radius: 999px;
    background: #fff;
    color: #252a32;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.5;
    cursor: pointer;
    transition: background-color .2s, border-color .2s;
}

.renewal-feed-next b {
    color: #4169ed;
    font-weight: 500;
}

.renewal-feed-next:hover {
    border-color: #cbd5ee;
    background: #f7f9ff;
}

.renewal-feed-next:focus-visible {
    outline: 2px solid #4169ed;
    outline-offset: 4px;
}

.renewal-feed-next:disabled {
    opacity: .55;
    cursor: wait;
}

.renewal-feed-status {
    min-height: 18px;
    margin: 7px 0 0;
    color: #8a919c;
    font-size: 11px;
    line-height: 18px;
}

/* 중간 배너 */
/* 중간 제품 배너 */
.renewal-column-banner {
    margin: 16px 0;
    padding: 0;
    border: 1px solid #e1e9f1;
    border-radius: 16px;
    border-color: #f0e0d6;
    background: linear-gradient(
        115deg,
        #fff5e9 0%,
        #fff0e8 55%,
        #ffede8 100%
    );
    overflow: hidden;
    overflow-wrap: anywhere;
}

.renewal-column-banner > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-sizing: border-box;
    min-height: 150px;
    padding: 26px 30px;
    color: inherit;
    text-decoration: none;
}

.renewal-column-banner__copy {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.renewal-column-banner__copy > span {
    color: #a17b68;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
}

.renewal-column-banner__copy > strong {
    color: #49382f;
    font-size: 21px;
    line-height: 1.5;
    word-break: keep-all;
}

.renewal-column-banner__copy > p {
    margin: 0;
    color: #8b7568;
    font-size: 13px;
    line-height: 1.7;
}

.renewal-column-banner__cta {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 18px;
    border: 1px solid #f1cfbd;
    border-radius: 999px;
    background: linear-gradient(110deg, #ffe5cf, #ffdccf);
    color: #45352d;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
    box-shadow: 0 3px 8px rgba(125, 83, 56, .05);
    transition:
        background .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}

.renewal-column-banner__cta > span {
    font-size: 16px;
    transition: transform .2s ease;
}

@media (hover: hover) {
    .renewal-column-banner > a:hover .renewal-column-banner__cta {
        transform: translateY(-2px);
        box-shadow: 0 5px 12px rgba(125, 83, 56, .12);
    }

    .renewal-column-banner > a:hover .renewal-column-banner__cta > span {
        transform: translate(2px, -2px);
    }
}

.renewal-column-banner > a:focus-visible {
    outline: 2px solid #a65e45;
    outline-offset: -4px;
}

@media (max-width: 767px) {
    .renewal-column-banner > a {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        padding: 22px 20px;
    }

    .renewal-column-banner__copy > strong {
        font-size: 18px;
    }

    .renewal-column-banner__cta {
        align-self: flex-end;
        padding: 11px 16px;
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .renewal-column-banner__cta,
    .renewal-column-banner__cta > span {
        transition: none;
        transform: none !important;
    }
}


/* 목록 랜덤 배너 색상 */
.renewal-column-banner--peach {
    border-color: #f0e0d6;
    background: linear-gradient(115deg, #fff5e9, #ffede8);
}

.renewal-column-banner--cream {
    border-color: #eee3cc;
    background: linear-gradient(115deg, #fff9ec, #fff2df);
}

.renewal-column-banner--rose {
    border-color: #f0dede;
    background: linear-gradient(115deg, #fff5f1, #fceced);
}

.renewal-column-banner--sand {
    border-color: #e9dfd4;
    background: linear-gradient(115deg, #faf5ed, #f5eade);
}

.renewal-column-banner--coral {
    border-color: #f1dcd2;
    background: linear-gradient(115deg, #fff2e8, #ffe8e1);
}








/* 모바일 */
@media (max-width: 767px) {
    .renewal-feed-box {
        padding: 20px 18px 16px;
        border-radius: 12px;
    }

    .renewal-feed-box .renewal-feed-heading {
        font-size: 18px;
        border-bottom: 0;
    }

    .renewal-column-banner {
        min-height: 132px;
        padding: 22px;
        border-radius: 12px;
    }

    .renewal-column-banner > strong {
        font-size: 18px;
    }
}


/* 관리자 전용 글 수 */
.renewal-portal .renewal-admin-count {
    float: left;
    margin: 0;
    padding: 10px 0;
    color: #818895;
    font-size: 12px;
    line-height: 20px;
}

.renewal-admin-count strong {
    margin-left: 4px;
    color: #414b5b;
    font-weight: 700;
}


/* 포털형 목록의 기존 게시판 제목 숨김 */
body.is-sub #container.has-portal-feed #container_title {
    display: none;
}




/* 본문 하단: 다른 칼럼으로 연결 */
.column-reading-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 80px 0;
}

.column-reading-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    min-width: 0;
    min-height: 132px;
    padding: 22px 48px 22px 22px;
    border: 1px solid #e9edf2;
    border-radius: 14px;
    background: #f8fafc;
    text-decoration: none;
    transition:
        background-color .2s ease,
        border-color .2s ease;
}

.column-reading-card__label {
    color: #7b8798;
    font-size: 12px;
    line-height: 1.5;
}

.column-reading-card__title {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: #283345;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.6;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.column-reading-card__arrow {
    position: absolute;
    top: 50%;
    right: 20px;
    color: #94a1b4;
    font-size: 25px;
    transform: translateY(-50%);
    transition: color .2s ease;
}

.column-reading-card:hover {
    border-color: #cdd9ef;
    background: #f0f5ff;
    text-decoration: none;
}

.column-reading-card:hover .column-reading-card__arrow {
    color: #4169ed;
}

.column-reading-card:focus-visible {
    outline: 2px solid #4169ed;
    outline-offset: 3px;
}

/* 연결할 글이 하나뿐이면 전체 너비 사용 */
.column-reading-card:only-child {
    grid-column: 1 / -1;
}

/* 모바일 */
@media (max-width: 767px) {
    .column-reading-links {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
        margin: 24px 0;
    }

    .column-reading-card {
        min-height: 110px;
        gap: 7px;
        padding: 18px 44px 18px 18px;
        border-radius: 12px;
    }

    .column-reading-card__title {
        font-size: 15px;
    }
}




/* 본문 중간 랜덤 배너 */
#bo_v_atc .column-mid-banner {
    --banner-bg: #f4efff;
    --banner-accent: #7440bc;
    --banner-text: #3e2b58;
    --banner-start: #9660ef;
    --banner-end: #d666cb;

    clear: both;
    margin: 32px 0;
    /* border: 1px solid rgba(100, 70, 140, .1); */
    border-radius: 14px;
    background: var(--banner-bg);
    overflow: hidden;
}

/* 5종 색상 */
#bo_v_atc .column-mid-banner[data-theme="rose"] {
    --banner-bg: #fff0f5;
    --banner-accent: #b33165;
    --banner-text: #593043;
    --banner-start: #e35c9b;
    --banner-end: #fa927e;
}

#bo_v_atc .column-mid-banner[data-theme="blue"] {
    --banner-bg: #edf5ff;
    --banner-accent: #3265b0;
    --banner-text: #2c4565;
    --banner-start: #648ce8;
    --banner-end: #79badf;
}

#bo_v_atc .column-mid-banner[data-theme="peach"] {
    --banner-bg: #fff4eb;
    --banner-accent: #a4512d;
    --banner-text: #60412f;
    --banner-start: #ed9870;
    --banner-end: #e77599;
}

#bo_v_atc .column-mid-banner[data-theme="indigo"] {
    --banner-bg: #f0f1ff;
    --banner-accent: #5850b2;
    --banner-text: #38345e;
    --banner-start: #7b73df;
    --banner-end: #ba7edb;
}

#bo_v_atc .column-mid-banner__link {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    min-height: 130px;
    color: var(--banner-text);
    text-decoration: none;
}

#bo_v_atc .column-mid-banner__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    
    background:
    linear-gradient(
        rgba(255, 255, 255, .8),
        rgba(255, 255, 255, .8)
    ),
    linear-gradient(
        135deg,
        var(--banner-start),
        var(--banner-end)
    );
}

/* 임시 그래픽 */
#bo_v_atc .column-mid-banner__visual::before,
#bo_v_atc .column-mid-banner__visual::after {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50%;
}

#bo_v_atc .column-mid-banner__visual::before {
    top: -35px;
    right: -45px;
}

#bo_v_atc .column-mid-banner__visual::after {
    bottom: -50px;
    left: -35px;
}

#bo_v_atc .column-mid-banner__mark {
    position: relative;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 76px;
    font-weight: 800;
    line-height: 1;
}

#bo_v_atc .column-mid-banner__number {
    position: absolute;
    right: 12px;
    bottom: 9px;
    color: rgba(255, 255, 255, .7);
    font-size: 11px;
    letter-spacing: .1em;
}

#bo_v_atc .column-mid-banner__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 7px;
    min-width: 0;
    padding: 20px 24px;
}

#bo_v_atc .column-mid-banner__tag {
    color: var(--banner-accent);
    font-size: 10px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: .08em;
    display:none
}

#bo_v_atc .column-mid-banner__title {
    color: var(--banner-text);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

#bo_v_atc .column-mid-banner__description {
    color: var(--banner-text);
    font-size: 12px;
    line-height: 1.7;
    opacity: .8;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

#bo_v_atc .column-mid-banner__button {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    margin-top: 3px;
    padding: 5px 12px;
    border-radius: 999px;
    background: #fff;
    color: var(--banner-accent);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.5;
    transition: box-shadow .2s ease;
}

#bo_v_atc .column-mid-banner__link:hover .column-mid-banner__button {
    box-shadow: 0 3px 12px rgba(40, 30, 70, .12);
}

#bo_v_atc .column-mid-banner__link:focus-visible {
    outline: 2px solid var(--banner-accent);
    outline-offset: -4px;
}

/* 모바일 */
@media (max-width: 640px) {
    #bo_v_atc .column-mid-banner {
        margin: 26px 0;
        border-radius: 12px;
    }

    #bo_v_atc .column-mid-banner__link {
        grid-template-columns: 84px minmax(0, 1fr);
        min-height: 158px;
    }

    #bo_v_atc .column-mid-banner__mark {
        font-size: 52px;
    }

    #bo_v_atc .column-mid-banner__content {
        gap: 6px;
        padding: 16px 14px;
    }

    #bo_v_atc .column-mid-banner__title {
        font-size: 16px;
    }

    #bo_v_atc .column-mid-banner__description {
        font-size: 11px;
    }

    #bo_v_atc .column-mid-banner__tag {
        font-size: 9px;
    }
}

/* 읽기모드·인쇄에서는 중간 배너 제외 */
.reader-mode-content .column-mid-banner {
    display: none !important;
}

@media print {
    .column-mid-banner {
        display: none !important;
    }
}




/* 중간 배너 등장 효과 */
#bo_v_atc .column-mid-banner.is-reveal-ready {
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity .7s ease,
        transform .7s ease;
}

#bo_v_atc .column-mid-banner.is-reveal-ready.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    #bo_v_atc .column-mid-banner.is-reveal-ready {
        opacity: 1;
        transform: none;
        transition: none;
    }
}



/* 본문 하단 주제별 목록 링크 */
/* 본문 하단: 다른 주제 둘러보기 */
/* 본문 하단: 주제별 콘텐츠 배너 */
.column-topic-nav {
    margin: 12px 0 32px;
    padding-top: 40px;
    border-top: 1px solid #edf0f3;
}

.column-topic-nav__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    color: #343c49;
    font-size: 15px;
    font-weight: 700;
}

.column-topic-nav__page {
    color: #929aa6;
    font-size: 11px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

/* 본문 너비의 96% */
.column-topic-nav__row {
    position: relative;
    width: 96%;
    margin: 0 auto;
}

.column-topic-nav__viewport {
    width: 100%;
    min-width: 0;
    overflow-x: auto;
    border-radius: 16px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.column-topic-nav__viewport::-webkit-scrollbar {
    display: none;
}

.column-topic-nav__track {
    display: flex;
    gap: 0;
}

/* 한 번에 배너 하나씩 */
.column-topic-nav__card {
    display: flex;
    flex: 0 0 100%;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 6px;
    min-width: 0;
    box-sizing: border-box;
    padding: 20px 32px;
    background: #f5f7fa;
    color: #303949;
    text-decoration: none;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.column-topic-nav__eyebrow {
    color: #89919d;
    font-size: 10px;
    line-height: 1.5;
}

.column-topic-nav__card strong {
    font-size: 19px;
    line-height: 1.5;
}

.column-topic-nav__more {
    margin-top: 5px;
    color: #737d8d;
    font-size: 11px;
    line-height: 1.5;
}

/* 배너 양끝에 걸치는 원형 화살표 */
.column-topic-nav__arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid #e5e8ed;
    border-radius: 50%;
    background: #fff;
    color: #596373;
    box-shadow: 0 3px 10px rgba(30, 40, 60, .08);
    cursor: pointer;
    transition: background-color .2s, border-color .2s;
}

.column-topic-nav__arrow--prev {
    left: 0;
    transform: translate(-50%, -50%);
}

.column-topic-nav__arrow--next {
    right: 0;
    transform: translate(50%, -50%);
}

.column-topic-nav__arrow svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.column-topic-nav__arrow:hover {
    border-color: #efc4b6;
    background: #fff4ee;
}

.column-topic-nav__arrow:focus-visible,
.column-topic-nav__card:focus-visible {
    outline: 2px solid #d58c76;
    outline-offset: -3px;
}

@media (max-width: 767px) {
    .column-topic-nav {
        margin-bottom: 24px;
        padding-top: 20px;
    }

    .column-topic-nav__heading {
        font-size: 14px;
    }

    .column-topic-nav__viewport {
        border-radius: 12px;
    }

    .column-topic-nav__card {
        gap: 4px;
        padding: 16px 24px;
    }

    .column-topic-nav__card strong {
        font-size: 16px;
    }

    .column-topic-nav__more {
        font-size: 10px;
    }

    .column-topic-nav__arrow {
        width: 30px;
        height: 30px;
    }
}


/* 로그인 전 박스 */
.main-login-box .main-login-guest {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
    min-height: 0;
}

.main-login-box .main-guest-guide {
    margin: 0;
    color: #737780;
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
    word-break: keep-all;
}

/* 로그인 버튼 */
.main-login-box .main-login-guest .main-login-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    height: 48px;
    margin: 0;
    padding: 0 16px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(110deg, #ffd5ce, #ffdfca);
    color: #302826;
    transition: filter .2s ease;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    box-shadow: none;
    box-sizing: border-box;
    transition: background-color .2s ease;
}

.main-login-box .main-login-guest .main-login-button:hover {
     background: linear-gradient(110deg, #ffd5ce, #ffdfca);
    filter: brightness(.97);
}

.main-login-box .main-login-guest .main-login-button i {
    font-size: 16px;
}

/* 로그인 유지 */
.main-login-options {
    display: flex;
    align-items: center;
    gap: 4px;
}

.main-login-keep {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    color: #555b63;
    font-size: 13px;
    line-height: 20px;
    cursor: pointer;
}

.main-login-keep input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
}

.main-login-check {
    position: relative;
    flex: 0 0 19px;
    width: 19px;
    height: 19px;
    border: 2px solid #e1e4e8;
    border-radius: 50%;
    background: #fff;
    box-sizing: border-box;
    transition: background-color .2s ease, border-color .2s ease;
}

.main-login-keep input:checked + .main-login-check {
    border-color: #ffd5ce;
    background: #ffd5ce;
}

.main-login-keep input:checked + .main-login-check::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 5px;
    width: 4px;
    height: 8px;
    border: solid #292929;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    border-color: #302826;
}

/* 안내 버튼 */
.main-login-help {
    position: relative;
}

.main-login-help-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #8b9098;
    cursor: pointer;
    transition: background-color .2s ease;
}

.main-login-help-button:hover,
.main-login-help-button[aria-expanded="true"] {
    background: #f2f3f5;
}

.main-login-help-button > span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 15px;
    height: 15px;
    border: 1.5px solid currentColor;
    border-radius: 50%;
    font-family: Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    box-sizing: border-box;
}

/* 말풍선 */
.main-login-popover {
    position: absolute;
    top: calc(100% + 9px);
    left: -100px;
    z-index: 50;
    width: 260px;
    padding: 17px 35px 17px 17px;
    border: 1px solid #e9ebee;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 26px rgb(25 35 50 / 14%);
    box-sizing: border-box;
}

.main-login-popover[hidden] {
    display: none;
}

.main-login-popover::before {
    content: "";
    position: absolute;
    top: -7px;
    left: 107px;
    width: 12px;
    height: 12px;
    border-top: 1px solid #e9ebee;
    border-left: 1px solid #e9ebee;
    background: #fff;
    transform: rotate(45deg);
}

.main-login-popover p {
    margin: 0;
    color: #50555c;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.6;
    word-break: keep-all;
}

.main-login-help-close {
    position: absolute;
    top: 9px;
    right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #9a9fa6;
    font-size: 23px;
    line-height: 1;
    cursor: pointer;
}

.main-login-box .main-login-button:focus-visible,
.main-login-keep input:focus-visible + .main-login-check,
.main-login-help-button:focus-visible,
.main-login-help-close:focus-visible {
    outline: 2px solid #555b63;
    outline-offset: 3px;
}


/* 읽기화면 우측 랜덤 배너 */
#aside .renewal-side-banner-box {
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 16px;
    background: transparent;
    box-shadow: none;
}

#aside .renewal-side-banner {
    display: block;
    overflow: hidden;
    border-radius: inherit;
}

#aside .renewal-side-banner img {
    display: block;
    width: 100%;
    height: auto;
}

#aside .renewal-side-banner:focus-visible {
    outline: 2px solid #a65e45;
    outline-offset: -3px;
}

/* 배너 광고 표시의 위치 기준 */
.renewal-side-banner {
    position: relative;
    display: block;
}

/* 광고 안내 배지 */
.renewal-side-banner .renewal-side-banner__ad {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 3px 7px;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
    color: #666;

    font-family: inherit;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0;
    white-space: nowrap;
    pointer-events: none;
}



/* PC 읽기화면 전용 너비 */
@media (min-width: 1101px) {
    body.is-board-view {
        --renewal-width: 1136px;
    }
}


/* PC에서만 줄바꿈 */
.br-pc {
    display: none;
}

@media (min-width: 1101px) {
    .br-pc {
        display: inline;
    }
}


/* 헤더 추천글: 부드러운 세로 롤링 */
.renewal-popular-current {
    position: relative;
    overflow: hidden;
}

/* 숨겨진 항목은 기존대로 제외 */
.renewal-popular-current > .renewal-popular-entry[hidden] {
    display: none !important;
}

/* 전환하는 두 항목만 같은 위치에 겹쳐 배치 */
.renewal-popular-current > .renewal-popular-entry.is-rolling {
    display: flex;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    align-items: center;
    opacity: 1;
    visibility: visible;
    transition: none;
    animation: none;
    will-change: transform;
}




/* 메인: 가로형 건강 키워드 */
.main-keyword-strip {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 0;
    min-height: 142px;
    padding: 22px;
    border: 1px solid #eceef2;
    border-radius: 16px;
    background: linear-gradient(115deg, #fff, #fff7f3);
    box-shadow: 0 8px 24px rgba(15, 23, 42, .025);
}

.main-keyword-strip__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: #fff0e7;
    color: #d78565;
    font-size: 28px;
}

.main-keyword-strip__content {
    flex: 1;
    min-width: 0;
}

.main-keyword-strip__heading {
    display: flex;
    align-items: center;
    gap: 10px;
}

.main-keyword-strip__heading h2 {
    margin: 0;
    color: #818894;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;
}

.main-keyword-strip__heading > span {
    color: #9ca3ad;
    font-size: 11px;
}

.main-keyword-strip__word {
    display: block;
    margin-top: 5px;
    color: #303640;
    font-size: 23px;
    line-height: 1.4;
    letter-spacing: -.03em;
}

.main-keyword-strip__content p {
    margin: 5px 0 0;
    color: #7c8591;
    font-size: 13px;
    line-height: 1.7;
    word-break: keep-all;
}

.main-keyword-strip__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    color: #ad7158;
    font-size: 12px;
    text-decoration: none;
}

/* 메인: 건강 영상 */
.main-video-box {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-self: stretch;
    min-width: 0;
    padding: 22px;
    border: 1px solid #eceef2;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .025);
}

.main-video-box > h2 {
    margin: 0 0 20px;
    color: #282c33;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    word-break: keep-all;
}

.main-video-box__player {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 12px;
    background: #edf0f4;
}

.main-video-box__preview {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.main-video-box__preview img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-video-box__play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 40px;
    border-radius: 12px;
    background: rgba(24, 28, 35, .8);
    color: #fff;
    font-size: 18px;
    transform: translate(-50%, -50%);
    transition: background .2s ease;
}

.main-video-box__preview:hover .main-video-box__play {
    background: #d91c24;
}

.main-video-box__player iframe {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.main-video-box__description {
    margin: 16px 0 22px;
    color: #7c8591;
    font-size: 13px;
    line-height: 1.8;
    word-break: keep-all;
}

.main-video-box__link {
    display: inline-flex;
    align-items: center;
    align-self: flex-end;
    gap: 9px;
    margin-top: auto;
    padding-top: 12px;
    color: #ad7158;
    font-size: 12px;
    text-decoration: none;
}

.main-keyword-strip__link:hover,
.main-video-box__link:hover {
    text-decoration: underline;
}

.main-keyword-strip__link:focus-visible,
.main-video-box__link:focus-visible {
    outline: 2px solid #d91c24;
    outline-offset: 4px;
}

.main-video-box__preview:focus-visible {
    outline: 3px solid #d91c24;
    outline-offset: -3px;
}

/* 건강 키워드 영상 배경 */
.main-keyword-strip {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

/* 섹션 크기에 맞춰 영상 채우기 */
.main-keyword-strip > .main-keyword-strip__video {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
}

/* 글자 가독성을 위한 흰색 레이어 */
.main-keyword-strip::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(255, 255, 255, .72);
    pointer-events: none;
}

/* 움직임 줄이기 설정에서는 정적인 배경 사용 */
@media (prefers-reduced-motion: reduce) {
    .main-keyword-strip > .main-keyword-strip__video {
        display: none;
    }
}


@media (max-width: 767px) {

    .main-keyword-strip {
        flex-direction: column;
        align-items: center;
        gap: 14px;
        padding: 24px 20px;
        text-align: center;
    }

    .main-keyword-strip__content {
        flex: none;
        width: 100%;
    }

    .main-keyword-strip__heading {
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
    }

    .main-keyword-strip__word {
        margin-top: 8px;
    }

    .main-keyword-strip__content p {
        margin-top: 8px;
    }

    /* .main-keyword-strip__link {
        margin: 0;
        align-self: center;
    } */
    .main-keyword-strip__link {
        justify-content: center;
        align-self: center;
        min-height: 40px;
        margin: 0;
        padding: 0 16px;
        border: 1px solid #f5cdb8;
        border-radius: 999px;
        background: linear-gradient(110deg, #ffead8, #ffddd1);
        color: #654638;
        font-weight: 600;
        line-height: 1.5;
        transition: background .2s ease, border-color .2s ease;
    }

    .main-keyword-strip__link:hover {
        border-color: #edb699;
        background: #ffdac5;
        text-decoration: none;
    }
}


/* 메인 영상 확대 레이어 */
html.main-video-modal-open {
    overflow: hidden;
}

.main-video-modal {
    position: fixed;
    inset: 0;
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0;
    padding: 48px 20px 24px;
    border: 0;
    background: transparent;
    overflow: auto;
}

.main-video-modal[open] {
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-video-modal::backdrop {
    background: rgba(15, 20, 28, .8);
}

.main-video-modal__panel {
    position: relative;
    flex-shrink: 0;
    width: min(100%, 1040px, calc((100dvh - 96px) * 16 / 9));
    margin: auto;
    transform-origin: top left;
}

.main-video-modal__screen {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 16px;
    background: #000;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .35);
}

.main-video-modal__screen > img,
.main-video-modal__screen > iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.main-video-modal__screen > img {
    object-fit: cover;
}

.main-video-modal__close {
    position: absolute;
    top: -46px;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font: 28px/1 Arial, sans-serif;
    cursor: pointer;
}

.main-video-modal__close:hover {
    background: rgba(255, 255, 255, .25);
}

.main-video-modal__close:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}




.renewal-category-menu .tr-menu-icon {
    display: block;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
}


/* 모바일: 건강정보 전체보기 링크 숨김 */
@media (max-width: 767px) {
    .renewal-sub-all-link {
        display: none !important;
    }
}


/* 모바일 읽기화면: 본문은 넓게, 하단 카드는 기존 형태 유지 */
@media (max-width: 767px) {
    body.is-board-view #container_wr {
        width: 100%;
        max-width: none;
        padding: 0 0 40px;
    }

    /* 본문을 감싼 흰색 박스 */
    body.is-board-view #container_wr > #container {
        min-width: 0;
        padding: 26px 18px;
        border: 0;
        border-radius: 0;
        background: linear-gradient(
    to bottom,
    #fff 0%,
    #fff calc(100% - 70px),
    rgba(255, 255, 255, 0) 100%
);
        box-shadow: none;
    }

    /* 하단 카드 영역은 양옆 공간 유지 */
    body.is-board-view #container_wr > #aside {
        width: calc(100% - 32px);
    min-width: 0;
    margin-left: 16px;
    margin-right: 16px;
    box-sizing: border-box;
    }
}


/* 모바일: 페이지 하단에 가까워지면 위로가기 표시 */
@media (max-width: 767px) {
    #top_btn {
        transition: opacity .2s ease, visibility .2s ease;
    }

    #top_btn.is-mobile-hidden {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}


/* 우측 하단 카카오톡 문의 */
.renewal-kakao-link {
    position: fixed;
    right: 24px;
    bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    z-index: 990;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    box-sizing: border-box;
    border-radius: 14px;
    background: #fff;
    color: #3c1e1e;
    box-shadow: 0 3px 12px rgba(30, 30, 30, .12);
    text-decoration: none;
    /* transition: box-shadow .2s ease; */
    transition:
    background-color .25s ease,
    box-shadow .25s ease;
}

.renewal-kakao-link svg {
    width: 30px;
    height: 30px;
}

.renewal-kakao-link__tooltip {
    position: absolute;
    top: 50%;
    right: calc(100% + 10px);
    padding: 8px 12px;
    border-radius: 8px;
    background: #34383e;
    color: #fff;
    font-size: 12px;
    line-height: 1.5;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-50%);
    pointer-events: none;
    transition: opacity .2s ease, visibility .2s ease;
}

.renewal-kakao-link:hover,
.renewal-kakao-link:focus-visible {
    background: #fee500;
    box-shadow: 0 4px 16px rgba(30, 30, 30, .2);
}

.renewal-kakao-link:hover .renewal-kakao-link__tooltip,
.renewal-kakao-link:focus-visible .renewal-kakao-link__tooltip {
    opacity: 1;
    visibility: visible;
}

.renewal-kakao-link:focus-visible {
    outline: 2px solid #3c1e1e;
    outline-offset: 3px;
}

.renewal-kakao-link svg text {
    transition: fill .25s ease;
}

.renewal-kakao-link:hover svg text,
.renewal-kakao-link:focus-visible svg text {
    fill: #fee500;
}

/* 위로가기 버튼은 카카오톡 버튼 위로 */
#top_btn {
    right: 24px;
    bottom: calc(84px + env(safe-area-inset-bottom, 0px));
}

@media (max-width: 767px) {
    .renewal-kakao-link {
        right: 16px;
        bottom: calc(16px + env(safe-area-inset-bottom, 0px));
        width: 44px;
        height: 44px;
    }

    .renewal-kakao-link svg {
        width: 28px;
        height: 28px;
    }

    #top_btn {
        right: 16px;
        bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    }
}


/* 칼럼 독자 반응 */
.column-reactions {
    margin: 40px 0 24px;
    text-align: center;
}

/* 안내 문구 양옆 구분선 */
.column-reactions .column-reactions__title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 0 0 26px;
    color: #465166;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.6;
}

.column-reactions__title::before,
.column-reactions__title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e9edf2;
}

.column-reactions__buttons {
    display: flex;
    justify-content: center;
    gap: 36px;
}

/* 이모지 / 문구 / 숫자 세로 배치 */
.column-reactions .column-reactions__button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    min-width: 112px;
    padding: 8px 10px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    box-shadow: none;
    color: #87909d;
    font: inherit;
    text-align: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.column-reactions__emoji {
    display: inline-block;
    margin-bottom: 13px;
    font-size: 38px;
    line-height: 1.25;
    transform-origin: 50% 75%;
    transition: transform .2s ease;
}

.column-reactions__label {
    font-size: 12px;
    line-height: 1.6;
    white-space: nowrap;
    transition: color .2s ease;
}

.column-reactions__count {
    display: inline-block;
    margin-top: 3px;
    color: #303949;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    font-variant-numeric: tabular-nums;
}

.column-reactions__button:not(:disabled):hover
.column-reactions__emoji {
    transform: translateY(-3px);
}

.column-reactions__button:not(:disabled):hover
.column-reactions__label,
.column-reactions__button.is-selected
.column-reactions__label {
    color: #ad6b4e;
}

.column-reactions__button.is-selected
.column-reactions__count {
    color: #ad6b4e;
}

.column-reactions__button:disabled {
    cursor: default;
    opacity: 1;
}

.column-reactions__button:focus-visible {
    outline: 2px solid #d58c76;
    outline-offset: 3px;
}

.column-reactions .column-reactions__message {
    min-height: 20px;
    margin: 15px 0 0;
    color: #939ba6;
    font-size: 11px;
    line-height: 1.6;
}

/* 선택 순간 이모지 탄성 효과 */
.column-reactions__emoji.is-bouncing {
    animation: column-emoji-bounce .65s both;
}

@keyframes column-emoji-bounce {
    0% {
        opacity: .5;
        transform: scale(.8);
    }
    35% {
        opacity: 1;
        transform: translateY(-5px) scale(1.2);
    }
    58% {
        transform: translateY(1px) scale(.94);
    }
    78% {
        transform: translateY(-2px) scale(1.06);
    }
    100% {
        transform: translateY(0) scale(1);
    }
}

/* 숫자 변경 효과 */
.column-reactions__count.is-updated {
    animation: column-count-update .35s ease both;
}

@keyframes column-count-update {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 767px) {
    .column-reactions__buttons {
        gap: 24px;
    }

    .column-reactions .column-reactions__title {
        gap: 10px;
        font-size: 12px;
    }

    .column-reactions .column-reactions__button {
        min-width: 100px;
    }

    .column-reactions__emoji {
        font-size: 36px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .column-reactions__emoji,
    .column-reactions__label {
        transition: none;
    }

    .column-reactions__emoji.is-bouncing,
    .column-reactions__count.is-updated {
        animation: none;
    }

    .column-reactions__button:not(:disabled):hover
    .column-reactions__emoji {
        transform: none;
    }
}

/* 독자 반응 BEST */
#aside .reaction-best h3 {
    padding-bottom: 0;
    border-bottom: 0;
}

.reaction-best__period {
    margin: 6px 0 16px;
    color: #939ba6;
    font-size: 11px;
    line-height: 1.6;
}

/* 탭 전체 */
.reaction-best__tabs {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    margin-bottom: 12px;
    padding: 4px;
    border-radius: 12px;
    background: #f3f5f8;
}

/* 좌우로 이동하는 선택 배경 */
.reaction-best__tabs::before {
    content: "";
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: 4px;
    width: calc((100% - 12px) / 2);
    border-radius: 9px;
    background: #ffe9e5;
    box-shadow: 0 2px 8px rgba(239, 145, 87, .14);
    pointer-events: none;
    transform: translateX(0);
    transition: transform .35s cubic-bezier(.22, 1, .36, 1);
}

/* 두 번째 탭 선택 시 오른쪽으로 이동 */
.reaction-best__tabs:has(
    > .reaction-best__tab:nth-child(2)[aria-pressed="true"]
)::before {
    transform: translateX(calc(100% + 4px));
}

/* 탭 버튼 */
.reaction-best__tab {
    position: relative;
    z-index: 1;
    min-width: 0;
    padding: 9px 3px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #626d7d;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    cursor: pointer;
    transition: color .25s ease;
}

/* 선택된 버튼은 글자 색상만 변경 */
.reaction-best__tab[aria-pressed="true"] {
    background: transparent;
    color: #e76255;
    box-shadow: none;
}

@media (prefers-reduced-motion: reduce) {
    .reaction-best__tabs::before,
    .reaction-best__tab {
        transition: none;
    }
}

.reaction-best__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.reaction-best__list > li + li {
    border-top: 1px solid #f0f2f5;
}

.reaction-best__list a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 13px 0;
    color: #465166;
    text-decoration: none;
}

.reaction-best__rank {
    flex: 0 0 16px;
    color: #f24820;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
}

.reaction-best__text {
    flex: 1;
    min-width: 0;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 15px;
    color:#25282d;
    font-weight:600;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.reaction-best__count {
    flex-shrink: 0;
    min-width: 25px;
    padding: 3px 7px;
    border-radius: 7px;
    background: #f5f6f8;
    color: #626d7d;
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.reaction-best__list a:hover .reaction-best__text {
    color: #ad6b4e;
}

.reaction-best__tab:focus-visible,
.reaction-best__list a:focus-visible {
    outline: 2px solid #d58c76;
    outline-offset: 2px;
}

.reaction-best__empty {
    margin: 0;
    padding: 24px 0;
    color: #939ba6;
    font-size: 12px;
    text-align: center;
}

.reaction-best [hidden] {
    display: none !important;
}


/* 목록 사이드바 이미지 콘텐츠 */
#aside .tr-list-feature {
    min-width: 0;
    padding: 24px;
    margin-bottom: 16px;
    border-radius: 18px;
    background: #fff;
    box-sizing: border-box;
}

#aside .tr-list-feature > h3 {
    margin: 0 0 20px;
    padding: 0;
    border: 0;
    color: #17191c;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.6;
    word-break: keep-all;
}

.tr-list-feature__cards {
    display: grid;
    gap: 16px;
}

.tr-list-feature__card {
    display: block;
    min-width: 0;
    padding: 14px;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 14px;
    background: #fff;
    color: #303949;
    text-decoration: none;
    box-sizing: border-box;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.tr-list-feature__visual {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1.55;
    overflow: hidden;
    border-radius: 10px;
    background: #fff2e9;
}

.tr-list-feature__visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tr-list-feature__visual--selfcheck {
    background: linear-gradient(135deg, #eef7f2, #e5f1fa);
}

.tr-list-feature__placeholder {
    font-size: 62px;
    line-height: 1;
}

.tr-list-feature__content {
    padding: 14px 4px 2px;
}

.tr-list-feature__title {
    display: block;
    color: #202733;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.6;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

#aside .tr-list-feature__description {
    margin: 8px 0 12px;
    color: #626d7d;
    font-size: 15px;
    line-height: 1.5;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.tr-list-feature__source {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #8a929e;
    font-size: 11px;
    line-height: 1.6;
}

.tr-list-feature__card:hover {
    /* border-color: #e4bdab; */
    box-shadow: 0 4px 14px rgba(80, 55, 40, .05);
}

.tr-list-feature__card:hover .tr-list-feature__title {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.tr-list-feature__card:focus-visible {
    outline: 2px solid #d58c76;
    outline-offset: 3px;
}

@media (max-width: 767px) {
    #aside .tr-list-feature {
        padding: 22px;
    }
    .tr-list-feature .tr-list-feature__card {
        padding: 0 0 17px 0;
        overflow: hidden;
        border: 0
    }
    #aside .tr-list-feature > h3 {
        font-size: 18px;
        margin-bottom:25px
    }

}

/* 카드 이미지 확대 효과 */
.tr-list-feature__visual img {
    transform: scale(1);
    transition: transform .45s cubic-bezier(.2, .65, .3, 1);
}

@media (hover: hover) {
    .tr-list-feature__card:hover .tr-list-feature__visual img {
        transform: scale(1.05);
    }
}

.tr-list-feature__card:focus-visible .tr-list-feature__visual img {
    transform: scale(1.05);
}

@media (prefers-reduced-motion: reduce) {
    .tr-list-feature__visual img {
        transition: none;
        transform: none !important;
    }
}




/* =========================================
   목록 상단 3개 — 갤러리 카드
========================================= */
.webzine-wrap #bo_gall #gall_ul:not(.renewal-feed-list) {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 0;
    flex-wrap: wrap;
}

.webzine-wrap ul.renewal-feed-list.renewal-gallery-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin: 0;
    padding: 22px 0 6px;
    list-style: none;
}

.webzine-wrap .renewal-gallery-list .renewal-article-item {
    float: none;
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.webzine-wrap .renewal-gallery-list .renewal-article-body {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    min-height: 0;
}

/* 기존 HTML 순서와 관계없이 썸네일을 위로 */
.webzine-wrap .renewal-gallery-list .renewal-article-thumb {
    order: -1;
    flex: none;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    margin: 0;
    overflow: hidden;
    border-radius: 12px;
    background: #f2f4f7;
}

.webzine-wrap .renewal-gallery-list .renewal-article-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.webzine-wrap .renewal-gallery-list .renewal-article-text {
    flex: none;
    width: 100%;
    min-width: 0;
}

.webzine-wrap .renewal-gallery-list .renewal-article-title {
    font-size: 17px;
    line-height: 1.55;
    letter-spacing: -0.035em;
    -webkit-line-clamp: 2;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

/* 상단 카드는 제목 중심으로 간결하게 */
.webzine-wrap .renewal-gallery-list .renewal-article-summary {
    display: none;
}

.webzine-wrap .renewal-gallery-list .renewal-article-meta {
    margin-top: 10px;
    font-size: 11px;
}

/* 이미지 없는 카드 */
.webzine-wrap .renewal-gallery-list
.renewal-article-thumb--placeholder {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    isolation: isolate;
    background: linear-gradient(135deg, #edf8f3, #d8eee5);
}

.renewal-gallery-list
.renewal-article-thumb--placeholder::before,
.renewal-gallery-list
.renewal-article-thumb--placeholder::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 120px;
    height: 120px;
    border: 1px solid rgba(73, 156, 128, 0.15);
    border-radius: 50%;
    pointer-events: none;
}

.renewal-gallery-list
.renewal-article-thumb--placeholder::before {
    top: -55px;
    right: -35px;
}

.renewal-gallery-list
.renewal-article-thumb--placeholder::after {
    bottom: -65px;
    left: -35px;
    width: 150px;
    height: 150px;
}

.renewal-gallery-list .renewal-gallery-placeholder-label {
    padding: 16px;
    color: #397960;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: -0.04em;
    text-align: center;
    word-break: keep-all;
}

.webzine-wrap .renewal-gallery-list .renewal-article-empty {
    grid-column: 1 / -1;
}

@media (hover: hover) {
    .renewal-gallery-list .renewal-article-item:hover
    .renewal-article-thumb img {
        transform: scale(1.035);
    }
}

/* 모바일 — 가로 스크롤 없이 한 줄에 한 카드 */
@media (max-width: 767px) {
    .webzine-wrap ul.renewal-feed-list.renewal-gallery-list {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
        padding-top: 18px;
    }

    .webzine-wrap .renewal-gallery-list .renewal-article-thumb {
        aspect-ratio: 16 / 9;
    }

    .webzine-wrap .renewal-gallery-list .renewal-article-title {
        font-size: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .webzine-wrap .renewal-gallery-list .renewal-article-thumb img {
        transition: none;
        transform: none;
    }
}

/* 아래쪽 일반 목록에서는 대체 썸네일 숨김 */
.webzine-wrap .renewal-feed-list:not(.renewal-gallery-list)
.renewal-article-thumb--placeholder {
    display: none;
}


/* 상단 갤러리: 기존 ID 선택자보다 우선 적용 */
.webzine-wrap #gall_ul.renewal-gallery-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

/* 모바일 */
@media (max-width: 767px) {
    .webzine-wrap #gall_ul.renewal-gallery-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 14px;
    }

    .webzine-wrap .renewal-gallery-list .renewal-article-title {
        font-size: 15px;
        line-height: 1.55;
        -webkit-line-clamp: 3;
    }

    .webzine-wrap .renewal-gallery-list .renewal-article-body {
        gap: 10px;
    }

    .webzine-wrap .renewal-gallery-list .renewal-article-meta {
        gap: 4px 8px;
        font-size: 10px;
    }

    .webzine-wrap .renewal-gallery-list
    .renewal-gallery-placeholder-label {
        padding: 12px;
        font-size: 16px;
    }
}