*, *:hover {
    box-sizing: border-box !important;
    padding: 0;
    margin: 0;
    text-decoration: none !important;
    list-style: none !important;
}

a:hover {
    color: #000 !important;
}

/* ✅ 기본 바디 폰트 → Noto Sans KR Regular */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;

    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont,
                 "Apple SD Gothic Neo", "Malgun Gothic", sans-serif !important;
    font-weight: 400;
    letter-spacing: -0.2px;
}

/* ✅ 상단 제목 / 탭 / 강조 → Bold */
.f-exbold,
.nav-link-cus,
.notice-title,
.header-title {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont,
                 "Apple SD Gothic Neo", "Malgun Gothic", sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: -0.3px;
}

/* ✅ 일반 볼드 → Medium */
.f-bold,
.fn-bold {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont,
                 "Apple SD Gothic Neo", "Malgun Gothic", sans-serif !important;
    font-weight: 500 !important;
    letter-spacing: -0.2px;
}

/* ✅ 일반 텍스트 → Regular */
.fn-reg {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont,
                 "Apple SD Gothic Neo", "Malgun Gothic", sans-serif !important;
    font-weight: 400 !important;
    letter-spacing: -0.1px;
}

/* ✅ 게시글 제목 → Medium */
.post-section .text-\[15px\] {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont,
                 "Apple SD Gothic Neo", "Malgun Gothic", sans-serif !important;
    font-weight: 500 !important;
    font-size: 17px !important;
    line-height: 1.4 !important;
}

/* ✅ 닉네임 / 날짜 / 조회수 → Regular */
.post-section .text-\[12px\] {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont,
                 "Apple SD Gothic Neo", "Malgun Gothic", sans-serif !important;
    font-weight: 400 !important;
    font-size: 13px !important;
    color: #777 !important;
}

/* ✅ 카테고리 */
.post-section .text-\[#aaa\] {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont,
                 "Apple SD Gothic Neo", "Malgun Gothic", sans-serif !important;
    font-weight: 400 !important;
    font-size: 12px !important;
    color: #888 !important;
}

/* ✅ N 뱃지 (정중앙 + 소형화 최종) */
.new-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 9px;
    height: 9px;

    border-radius: 50%;
    background: #e60023;
    color: #fff;

    font-size: 6px;
    font-weight: 700;

    line-height: 9px;
    vertical-align: middle;

    margin-top: 0;
    margin-left: -6px;
    margin-right: 4px;
}

/* ✅ 댓글 수 원 (다음카페 스타일) */
.comment-count-box {
    min-width: 34px !important;
    height: 34px !important;
    border-radius: 50%;
    background: #fff;
    border: 1.5px solid #ccc;
    color: #444;
    font-size: 14px;
    font-weight: 800;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont,
                 "Apple SD Gothic Neo", "Malgun Gothic", sans-serif !important;
}

/* ✅ 썸네일 */
.right-preview {
    width: 54px !important;
    height: 54px !important;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid #ddd;
    background: #f5f5f5;
}

.right-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ✅ 전체 글자 렌더링 보정 */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ================================
   기존 레이아웃 유지
================================ */

.main {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
    min-height: 100vh;
}

.hero-section {
    width: 100%;
    height: inherit;
    display: flex;
    flex-direction: column;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 0px -70px;
}

.card:hover {
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
}

.sub-content {
    border: 1px solid #ccc;
    padding: 15px;
    min-height: 400px;
}

ul.nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-item {
    flex: 1 1 auto;
    text-align: start;
}

.nav-link-cus {
    color: #282828;
    background-color: transparent !important;
    padding: 8px;
    min-height: 44px;
}

.nav-link-cus.active {
    border-bottom-width: 2px;
    border-color: #e42315;
    color: #e42315 !important;
}

@media (max-width: 768px) {
    .d-flex {
        flex-direction: column;
    }
}

.fixed-footer {
    width: 100%;
    color: white;
    padding: 0;
    position: fixed;
    height: max-content;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    bottom: 0;
}

.navbar {
    border: 1px solid #ccc;
}

a {
    text-decoration: none;
    color: #000;
}

.avatar-div {
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.avatar-div .avatar-img {
    border-radius: 16px;
    width: 80px;
    height: 80px;
}

.icon-nav-item {
    display: flex;
}

#customLoader {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ✅ 첫댓글 빨간 마크 (내용 왼쪽용) */
.reply-badge {
    font-size: 10px;
    font-weight: 600;
    color: #e60023;
    border: 1px solid #e60023;
    border-radius: 10px;
    padding: 1px 6px;
    line-height: 1;
    white-space: nowrap;
    margin-top: 2px;
}

/* ✅ 게시글 제목 – 다음카페(제주맘) 동일한 두께로 최종 보정 */
.post-section .text-\[15px\],
.post-section .text-\[17px\],
.post-section .font-bold,
.post-section strong {
    font-family: 'Noto Sans KR', sans-serif !important;
    font-weight: 400 !important;   /* ✅ 다음카페랑 동일 */
    font-synthesis: none !important;
    -webkit-font-smoothing: antialiased;
}

/* ✅ 모바일에서 유독 더 진해지는 현상 추가 차단 */
@supports (-webkit-touch-callout: none) {
    .post-section .text-\[15px\],
    .post-section .text-\[17px\],
    .post-section .font-bold,
    .post-section strong {
        font-weight: 400 !important;
    }
}


.spacing-0 {
    letter-spacing: 0 !important;
}

.expand svg {
    transform: rotate(180deg);
}
