/* 호주장터 메인 페이지 스타일 */

/* 섹션 헤더 스타일 */
.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.section-title i {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.05rem;
    color: #6c757d;
    font-weight: 400;
}

/* 메인 검색 바 스타일 */
.main-search-container {
    max-width: 900px;
    margin: 0 auto 2.5rem;
    padding: 0 1rem;
}

.main-search-form {
    display: flex;
    gap: 0.8rem;
    align-items: stretch;
    background: white;
    padding: 1rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f3f4;
}

.recent-posts-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #f1f3f4;
}

.recent-posts-list {
    padding: 0;
}

.modern-post-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.2rem;
    border-bottom: 1px solid #f1f3f4;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    background: white;
}

.modern-post-item:hover {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.04), rgba(255, 140, 66, 0.02));
    transform: translateX(3px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.modern-post-item:last-child {
    border-bottom: none;
}

.modern-post-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--board-color, #ff6b35);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.modern-post-item:hover::before {
    transform: scaleY(1);
}

.recent-posts-list .modern-post-item .post-category {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.3rem !important;
    flex-shrink: 0 !important;
    min-width: 105px !important;
}

.recent-posts-list .modern-post-item .category-icon {
    width: 36px !important;
    height: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 10px !important;
    font-size: 1.1rem !important;
    transition: all 0.3s ease !important;
    flex-shrink: 0 !important;
    position: relative !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

.recent-posts-list .modern-post-item .category-icon::before {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    opacity: 1 !important;
    transition: opacity 0.3s ease !important;
    z-index: 0 !important;
}

.recent-posts-list .modern-post-item:hover .category-icon::before {
    opacity: 1 !important;
}

.recent-posts-list .modern-post-item .category-icon i {
    position: relative !important;
    z-index: 1 !important;
    transition: all 0.3s ease !important;
}

.recent-posts-list .modern-post-item:hover .category-icon i {
    transform: scale(1.1) !important;
}

.recent-posts-list .modern-post-item .category-name {
    font-weight: 600 !important;
    font-size: 0.8rem !important;
    white-space: nowrap !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
}

.recent-posts-list .modern-post-item:hover .category-name {
    transform: translateX(1px) !important;
}

.post-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.post-title-link {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
}

.post-title-link:hover {
    text-decoration: none;
}

.post-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.3s ease;
    letter-spacing: -0.2px;
}

.modern-post-item:hover .post-title {
    color: var(--board-color, #ff6b35);
}

/* PC에서도 내용 미리보기 표시 */
.post-preview {
    font-size: 0.85rem;
    line-height: 1.4;
    color: #6c757d;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
    padding-left: 0.8rem;
    border-left: 3px solid var(--board-color, #ff6b35);
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.8rem;
    color: #6c757d;
    margin-left: auto;
    flex-shrink: 0;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.5rem;
    background: #f8f9fa;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.post-meta span:hover {
    background: #e9ecef;
}

.post-meta i {
    font-size: 0.85rem;
}

.post-time {
    color: #6c757d;
}

.post-time i {
    color: #adb5bd;
}

.post-views {
    color: #6c757d;
}

.post-views i {
    color: #17a2b8;
}

.empty-posts-state {
    text-align: center;
    padding: 4rem 2rem;
    color: #6c757d;
}

.empty-posts-state i {
    font-size: 4rem;
    color: #dee2e6;
    margin-bottom: 1.5rem;
    display: block;
}

.empty-posts-state h4 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.empty-posts-state p {
    color: #6c757d;
    margin: 0;
}

/* 메인 검색 바 스타일 */
.main-search-container {
    max-width: 900px;
    margin: 0 auto 2.5rem;
    padding: 0 1rem;
}

.main-search-form {
    display: flex;
    gap: 0.8rem;
    align-items: stretch;
    background: white;
    padding: 1rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f3f4;
}

.main-search-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.main-search-wrapper i {
    position: absolute;
    left: 1.2rem;
    color: #6c757d;
    font-size: 1.2rem;
    pointer-events: none;
}

.main-search-input {
    width: 100%;
    padding: 1rem 1.2rem 1rem 3.5rem;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.main-search-input:focus {
    outline: none;
    border-color: #ff6b35;
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.main-search-input::placeholder {
    color: #adb5bd;
}

.main-search-filter {
    padding: 1rem 1.2rem;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 1rem;
    background: #f8f9fa;
    min-width: 140px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.main-search-filter:focus {
    outline: none;
    border-color: #ff6b35;
    background: white;
}

.main-search-btn {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.main-search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
}

.main-search-btn i {
    font-size: 1.1rem;
}

/* 모바일 최근 게시글 최적화 */
@media (max-width: 768px) {
    .section-header {
        margin-bottom: 2rem;
    }

    .section-title {
        font-size: 1.6rem;
        gap: 0.6rem;
    }

    .section-title i {
        font-size: 1.6rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    /* 모바일 검색 바 */
    .main-search-container {
        margin-bottom: 2rem;
    }

    .main-search-form {
        flex-direction: column;
        gap: 0.6rem;
        padding: 0.8rem;
    }

    .main-search-input {
        padding: 0.9rem 0.9rem 0.9rem 3rem;
        font-size: 0.95rem;
    }

    .main-search-wrapper i {
        left: 0.9rem;
        font-size: 1.1rem;
    }

    .main-search-filter {
        padding: 0.9rem 1rem;
        font-size: 0.95rem;
        min-width: unset;
    }

    .main-search-btn {
        padding: 0.9rem 1.5rem;
        justify-content: center;
        font-size: 0.95rem;
    }

    /* 모바일 섹션 헤더 */
    .section-header {
        margin-bottom: 1.5rem;
        padding: 0 0.5rem;
    }

    .section-title {
        font-size: 1.5rem;
        font-weight: 700;
        margin-bottom: 0.5rem;
    }

    .section-title i {
        display: none;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }

    /* 모바일 검색 바 */
    .main-search-container {
        margin-bottom: 1.5rem;
        padding: 0 0.5rem;
    }

    .main-search-form {
        flex-direction: row;
        gap: 0.5rem;
        padding: 0.6rem;
    }

    .main-search-wrapper {
        flex: 1;
    }

    .main-search-wrapper i {
        left: 0.8rem;
        font-size: 1rem;
    }

    .main-search-input {
        padding: 0.7rem 0.7rem 0.7rem 2.5rem;
        font-size: 0.9rem;
    }

    .main-search-filter {
        display: none;
    }

    .main-search-btn {
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
    }

    .main-search-btn span {
        display: none;
    }

    .main-search-btn i {
        margin: 0;
        font-size: 1.1rem;
    }

    /* 모바일 게시글 리스트 - 컴팩트 디자인 */
    .recent-posts-container {
        border-radius: 10px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        border: 1px solid #e9ecef;
        margin: 0 0.5rem;
    }

    .modern-post-item {
        flex-direction: column;
        align-items: stretch;
        gap: 0.4rem;
        padding: 0.7rem 0.8rem;
        border-bottom: 1px solid #f1f3f4;
    }

    .modern-post-item::before {
        width: 3px;
    }

    /* 모바일에서 카테고리 완전히 숨김 */
    .post-category {
        display: none !important;
    }

    .recent-posts-list .modern-post-item .post-category {
        display: none !important;
    }

    .category-icon {
        display: none !important;
    }

    .category-name {
        display: none !important;
    }

    .recent-posts-list .modern-post-item .category-icon {
        display: none !important;
    }

    .recent-posts-list .modern-post-item .category-name {
        display: none !important;
    }

    /* 시간을 카테고리 옆으로 이동 - 모바일 */
    .recent-posts-list .post-meta {
        padding: 0 !important;
        background: transparent !important;
        border: none !important;
        font-size: 0.7rem !important;
        margin-left: auto !important;
        flex-shrink: 0 !important;
    }

    .recent-posts-list .post-time {
        padding: 0 !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        font-size: 0.7rem !important;
        color: #6c757d !important;
        font-weight: 500 !important;
    }

    .recent-posts-list .post-time:hover {
        background: transparent !important;
        transform: none !important;
    }



    /* 중간: 제목 + 내용 */
    .post-main {
        flex-direction: column;
        align-items: stretch;
        gap: 0.3rem;
        width: 100%;
    }

    .post-title-link {
        width: 100%;
    }

    .post-title {
        font-size: 0.9rem;
        font-weight: 600;
        line-height: 1.4;
        color: #2c3e50;
        margin: 0;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
        word-break: break-word;
    }

    /* 내용 미리보기 - 모바일에서만 표시 */
    .post-preview {
        font-size: 0.8rem;
        line-height: 1.4;
        color: #6c757d;
        margin: 0;
        display: -webkit-box !important;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
        word-break: break-word;
        padding-left: 0.8rem;
        border-left: 3px solid var(--board-color, #ff6b35);
    }
}

@media (max-width: 480px) {
    .section-header {
        margin-bottom: 1.2rem;
        padding: 0 0.3rem;
    }

    .section-title {
        font-size: 1.3rem;
        gap: 0.4rem;
    }

    .section-title i {
        font-size: 1.3rem;
    }

    .section-subtitle {
        font-size: 0.85rem;
    }

    /* 모바일 검색 바 */
    .main-search-container {
        padding: 0 0.3rem;
    }

    .main-search-form {
        padding: 0.5rem;
    }

    .main-search-input {
        padding: 0.65rem 0.65rem 0.65rem 2.3rem;
        font-size: 0.85rem;
    }

    .main-search-wrapper i {
        left: 0.7rem;
        font-size: 0.95rem;
    }

    .main-search-btn {
        padding: 0.65rem 0.9rem;
    }

    .main-search-btn i {
        font-size: 1rem;
    }

    /* 더 작은 모바일 */
    .recent-posts-container {
        border-radius: 8px;
        margin: 0 0.3rem;
    }

    .modern-post-item {
        padding: 0.6rem 0.7rem;
        gap: 0.35rem;
    }

    .category-icon {
        display: none !important;
    }

    .category-name {
        display: none !important;
    }

    .post-category {
        display: none !important;
    }

    .recent-posts-list .modern-post-item .post-category {
        display: none !important;
    }

    .recent-posts-list .modern-post-item .category-icon {
        display: none !important;
    }

    .recent-posts-list .modern-post-item .category-name {
        display: none !important;
    }

    .post-title {
        font-size: 0.85rem;
        line-height: 1.3;
        margin: 0;
    }

    .post-preview {
        font-size: 0.75rem;
        line-height: 1.3;
        -webkit-line-clamp: 1;
        padding-left: 0.8rem;
        border-left: 3px solid var(--board-color, #ff6b35);
    }

    .recent-posts-list .post-meta {
        padding: 0 !important;
        background: transparent !important;
        border: none !important;
        font-size: 0.65rem !important;
    }

    .recent-posts-list .post-time {
        padding: 0 !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        font-size: 0.65rem !important;
        color: #6c757d !important;
        font-weight: 500 !important;
    }

    .recent-posts-list .post-time:hover {
        background: transparent !important;
        transform: none !important;
    }


    .empty-posts-state {
        padding: 3rem 1.5rem;
    }

    .empty-posts-state i {
        font-size: 3rem;
    }

    .empty-posts-state h4 {
        font-size: 1.1rem;
    }

    .empty-posts-state p {
        font-size: 0.9rem;
    }
}

/* 컴팩트 카드 스타일 */
.board-cards-container {
    margin: 2rem 0;
    padding: 0 1rem;
}

.board-cards-wrapper {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 1rem 0;
}

.board-card-compact {
    flex: 1;
    min-width: 180px;
    max-width: 220px;
    background: white;
    border-radius: 16px;
    padding: 1.5rem 1rem;
    text-align: center;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.board-card-compact:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    text-decoration: none;
    color: inherit;
}

.board-icon-compact {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
}

.board-card-compact h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.board-card-compact p {
    font-size: 0.85rem;
    color: #6c757d;
    margin: 0;
    line-height: 1.4;
}

/* 업데이트 중 카드 */
.updating-card-compact {
    opacity: 0.7;
    cursor: pointer;
}

.updating-card-compact:hover {
    opacity: 0.9;
}

.updating-card-compact::before {
    content: '🔧';
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1rem;
    animation: pulse-badge 2s infinite;
}

.update-badge-compact {
    background: #ff6b35;
    color: white;
    font-size: 0.6rem;
    padding: 2px 6px;
    border-radius: 8px;
    font-weight: 600;
    margin-left: 0.3rem;
    animation: pulse-badge 2s infinite;
}

/* 게시판별 아이콘 색상 */
.board-card-compact:nth-child(1) .board-icon-compact {
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
}

.board-card-compact:nth-child(2) .board-icon-compact {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.board-card-compact:nth-child(3) .board-icon-compact {
    background: linear-gradient(135deg, #17a2b8, #20c997);
}

.board-card-compact:nth-child(4) .board-icon-compact,
.board-card-compact:nth-child(5) .board-icon-compact {
    background: linear-gradient(135deg, #6c757d, #adb5bd);
}

/* 모바일 반응형 - 완전히 새로운 디자인 */
@media (max-width: 768px) {
    .board-cards-container {
        margin: 1.5rem 0;
        padding: 0 1rem;
    }

    .board-cards-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        padding: 0;
        justify-items: center;
    }

    .board-card-compact {
        min-width: unset;
        max-width: unset;
        width: 100%;
        max-width: 160px;
        height: 140px;
        padding: 1rem 0.8rem;
        border-radius: 12px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
        border: 1px solid rgba(0, 0, 0, 0.05);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .board-card-compact:hover {
        transform: translateY(-3px);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    }

    .board-icon-compact {
        width: 42px;
        height: 42px;
        font-size: 1.2rem;
        margin-bottom: 0.6rem;
        border-radius: 10px;
        flex-shrink: 0;
    }

    .board-card-compact h4 {
        font-size: 0.95rem;
        margin-bottom: 0.4rem;
        line-height: 1.2;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 1.2rem;
        width: 100%;
        text-align: center;
    }

    .board-card-compact p {
        font-size: 0.75rem;
        line-height: 1.2;
        margin: 0;
        opacity: 0.8;
        text-align: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 100%;
    }

    /* 업데이트 배지 모바일 최적화 */
    .update-badge-compact {
        font-size: 0.5rem;
        padding: 1px 3px;
        margin-left: 0.15rem;
        border-radius: 4px;
        display: inline-block;
        vertical-align: middle;
        white-space: nowrap;
    }

    .updating-card-compact::before {
        top: 8px;
        right: 8px;
        font-size: 0.9rem;
    }

    /* 5번째 카드는 중앙에 배치 */
    .board-card-compact:nth-child(5) {
        grid-column: 1 / -1;
        max-width: 160px;
        margin: 0 auto;
        height: 140px;
    }
}

/* 초소형 모바일 (360px 이하) */
@media (max-width: 360px) {
    .board-cards-container {
        padding: 0 0.5rem;
        margin: 1rem 0;
    }

    .board-cards-wrapper {
        gap: 0.8rem;
    }

    .board-card-compact {
        height: 130px;
        padding: 0.8rem 0.6rem;
        border-radius: 10px;
        max-width: 150px;
    }

    .board-icon-compact {
        width: 36px;
        height: 36px;
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .board-card-compact h4 {
        font-size: 0.85rem;
        margin-bottom: 0.3rem;
        line-height: 1.1;
    }

    .board-card-compact p {
        font-size: 0.7rem;
        line-height: 1.1;
    }

    .update-badge-compact {
        font-size: 0.5rem;
        padding: 1px 4px;
        border-radius: 6px;
    }

    .board-card-compact:nth-child(5) {
        max-width: 150px;
        height: 130px;
    }
}

/* 히어로 섹션 모바일 최적화 */
@media (max-width: 768px) {
    .hero-section {
        margin-bottom: 2rem !important;
        padding: 2rem 1rem;
        border-radius: 16px;
        margin: 1rem;
    }

    .page-title {
        font-size: 2rem !important;
        line-height: 1.3 !important;
        margin-bottom: 1rem !important;
        word-break: keep-all;
        overflow-wrap: break-word;
        text-align: center;
    }

    .hero-description {
        font-size: 1rem !important;
        line-height: 1.5 !important;
        margin-bottom: 1.5rem !important;
        padding: 0 0.5rem;
        text-align: center;
    }

    .hero-description br {
        display: none;
    }

    .hero-badges {
        gap: 0.5rem !important;
        justify-content: center;
        flex-wrap: wrap;
        margin-top: 1rem;
    }

    .hero-badges .badge {
        font-size: 0.8rem !important;
        padding: 0.4rem 0.8rem !important;
        border-radius: 12px;
        white-space: nowrap;
    }
}

@media (max-width: 360px) {
    .hero-section {
        padding: 1.5rem 0.5rem;
        margin: 0.5rem;
    }

    .page-title {
        font-size: 1.7rem !important;
        margin-bottom: 0.8rem !important;
    }

    .hero-description {
        font-size: 0.9rem !important;
        margin-bottom: 1.2rem !important;
        padding: 0 0.25rem;
    }

    .hero-badges {
        gap: 0.4rem !important;
    }

    .hero-badges .badge {
        font-size: 0.75rem !important;
        padding: 0.3rem 0.6rem !important;
    }

    .board-cards-container {
        padding: 0 0.5rem;
    }

    .board-cards-wrapper {
        gap: 0.8rem;
    }

    .board-card-compact {
        max-width: 140px;
        height: 130px;
        padding: 0.8rem 0.6rem;
    }

    .board-icon-compact {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .board-card-compact h4 {
        font-size: 0.85rem;
        margin-bottom: 0.3rem;
    }

    .board-card-compact p {
        font-size: 0.7rem;
    }
}

/* 모던 히어로 섹션 */
.hero-section-modern {
    background: #ffffff;
    padding: 3rem 0;
    margin-bottom: 3rem;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

/* 컨테이너 모바일 최적화 */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }
}

.hero-section-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ff6b35" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ff8c42" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 107, 53, 0.1);
    color: #ff6b35;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 107, 53, 0.2);
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #2c3e50;
    line-height: 1.4;
    margin-bottom: 1.8rem;
    letter-spacing: -0.02em;
}

.hero-title .highlight {
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-top: 0.3rem;
}

.hero-description {
    font-size: 1.15rem;
    color: #495057;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.hero-description .hero-sub {
    display: block;
    margin-top: 0.8rem;
    font-size: 1rem;
    color: #6c757d;
    font-weight: 500;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2.5rem;
}

.stat-item {
    text-align: center;
    padding: 1.2rem 1.5rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(255, 107, 53, 0.1);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.15);
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: #ff6b35;
    margin-bottom: 0.6rem;
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: #6c757d;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
}

/* 모던 게시판 카드 */
.boards-section {
    margin: 3rem 0;
}

.boards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.board-card-modern {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f3f4;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
}

.board-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.board-card-modern:hover::before {
    transform: scaleX(1);
}

.board-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: inherit;
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: white;
}

.hotdeal .card-icon {
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
}

.secondhand .card-icon {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.sharerent .card-icon {
    background: linear-gradient(135deg, #17a2b8, #20c997);
}

.coming-soon .card-icon {
    background: linear-gradient(135deg, #6c757d, #adb5bd);
}

.card-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-content p {
    color: #6c757d;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.card-arrow {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    color: #ff6b35;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.board-card-modern:hover .card-arrow {
    transform: translateX(4px);
}

.coming-badge {
    background: linear-gradient(135deg, #6c757d, #adb5bd);
    color: white;
    font-size: 0.6rem;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    font-weight: 600;
    animation: pulse 2s infinite;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .hero-section-modern {
        padding: 2rem 0;
        margin-bottom: 2rem;
        border-radius: 16px;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 1.2rem;
        line-height: 1.4;
    }

    .hero-title .highlight {
        margin-top: 0.2rem;
    }

    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 2rem;
        line-height: 1.7;
    }

    .hero-description .hero-sub {
        font-size: 0.85rem;
        margin-top: 0.6rem;
    }

    .hero-stats {
        display: flex !important;
        gap: 0.8rem;
        flex-wrap: nowrap;
        justify-content: center !important;
        align-items: stretch;
        padding: 0 0.5rem;
        margin-left: auto !important;
        margin-right: auto !important;
        max-width: 100%;
    }

    .stat-item {
        flex: 1 1 0;
        min-width: 0;
        max-width: 120px;
        text-align: center !important;
        padding: 0.9rem 0.5rem;
        background: white;
        border-radius: 12px;
        border: 1px solid rgba(255, 107, 53, 0.1);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .stat-number {
        font-size: 1.2rem;
        margin-bottom: 0.4rem;
        font-weight: 800;
        letter-spacing: -0.5px;
        line-height: 1;
        text-align: center !important;
        width: 100%;
    }

    .stat-label {
        font-size: 0.65rem;
        line-height: 1.2;
        font-weight: 600;
        word-break: keep-all;
        white-space: nowrap;
        text-align: center !important;
        width: 100%;
    }

    .boards-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1rem;
    }

    .board-card-modern {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .card-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .card-content h3 {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
    }

    .card-content p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }

    .hero-description {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .hero-description .hero-sub {
        font-size: 0.8rem;
        margin-top: 0.5rem;
    }

    .hero-stats {
        display: flex !important;
        gap: 0.6rem;
        flex-direction: row !important;
        justify-content: center !important;
        flex-wrap: nowrap;
        align-items: stretch;
        padding: 0 0.3rem;
        margin-left: auto !important;
        margin-right: auto !important;
        max-width: 100%;
    }

    .stat-item {
        text-align: center !important;
        flex: 1 1 0;
        min-width: 0;
        max-width: 110px;
        padding: 0.8rem 0.4rem;
        background: white;
        border-radius: 10px;
        border: 1px solid rgba(255, 107, 53, 0.1);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .stat-number {
        font-size: 1rem;
        margin-bottom: 0.3rem;
        font-weight: 800;
        letter-spacing: -0.5px;
        line-height: 1;
        text-align: center !important;
        width: 100%;
    }

    .stat-label {
        font-size: 0.6rem;
        line-height: 1.2;
        font-weight: 600;
        word-break: keep-all;
        white-space: nowrap;
        text-align: center !important;
        width: 100%;
    }

    .boards-grid {
        padding: 0 0.5rem;
    }

    .board-card-modern {
        padding: 1.2rem;
    }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: 1.4rem;
    }

    .hero-description {
        font-size: 0.85rem;
    }

    .hero-description .hero-sub {
        font-size: 0.75rem;
    }

    .hero-stats {
        display: flex !important;
        gap: 0.5rem;
        flex-direction: row !important;
        justify-content: center !important;
        flex-wrap: nowrap;
        align-items: stretch;
        padding: 0 0.2rem;
        margin-left: auto !important;
        margin-right: auto !important;
        max-width: 100%;
    }

    .stat-item {
        text-align: center !important;
        flex: 1 1 0;
        min-width: 0;
        max-width: 100px;
        padding: 0.7rem 0.3rem;
        border-radius: 8px;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .stat-number {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
        letter-spacing: -0.3px;
        text-align: center;
    }

    .stat-label {
        font-size: 0.55rem;
        line-height: 1.1;
        white-space: nowrap;
        text-align: center;
    }
}

/* 모던 
최근 게시물 섹션 */
.recent-section-modern {
    margin: 4rem 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

.section-header-modern {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f1f3f4;
}

.header-content .section-title {
    font-size: 2rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.header-content .section-subtitle {
    color: #6c757d;
    font-size: 1rem;
    margin: 0;
}

.view-all-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ff6b35;
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 107, 53, 0.2);
}

.view-all-btn:hover {
    background: rgba(255, 107, 53, 0.1);
    color: #ff6b35;
    text-decoration: none;
    transform: translateX(2px);
}

.posts-grid-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 0 auto;
}

.post-card-modern {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f3f4;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: fit-content;
}

.post-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.post-card-modern:hover::before {
    transform: scaleX(1);
}

.post-card-modern:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.post-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.board-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
}

.board-tag.hotdeal {
    background: linear-gradient(135deg, #ff4757, #ff6b35);
    box-shadow: 0 2px 8px rgba(255, 71, 87, 0.3);
}

.board-tag.secondhand {
    background: linear-gradient(135deg, #2ed573, #7bed9f);
    box-shadow: 0 2px 8px rgba(46, 213, 115, 0.3);
}

.board-tag.sharerent {
    background: linear-gradient(135deg, #5352ed, #70a1ff);
    box-shadow: 0 2px 8px rgba(83, 82, 237, 0.3);
}

.post-time {
    color: #6c757d;
    font-size: 0.8rem;
    font-weight: 500;
}

.post-card-content {
    margin-bottom: 1rem;
}

.post-title {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-preview {
    color: #6c757d;
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.8rem;
    border-top: 1px solid #f8f9fa;
}

.post-author {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.author-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6c757d, #8e9aaf);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.75rem;
}

.author-name {
    font-weight: 600;
    color: #495057;
    font-size: 0.9rem;
}

.post-stats {
    display: flex;
    gap: 0.8rem;
}

.post-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    color: #6c757d;
    font-size: 0.75rem;
    font-weight: 500;
}

.post-stats .stat-item i {
    font-size: 0.7rem;
    opacity: 0.7;
}

/* 빈 상태 */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    grid-column: 1 / -1;
}

.empty-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.empty-icon i {
    font-size: 2rem;
    color: #6c757d;
}

.empty-state h4 {
    color: #2c3e50;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.empty-state p {
    color: #6c757d;
    margin-bottom: 1.5rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* 태블릿 반응형 */
@media (max-width: 992px) {
    .posts-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .recent-section-modern {
        margin: 2rem 0;
        padding: 0 1rem;
    }

    .section-header-modern {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .header-content .section-title {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .header-content .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .view-all-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
        border-radius: 20px;
    }

    .posts-grid-modern {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0;
    }

    .post-card-modern {
        padding: 1.2rem;
        border-radius: 12px;
        margin: 0;
    }

    .post-card-header {
        margin-bottom: 1rem;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .board-tag {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }

    .post-time {
        font-size: 0.75rem;
    }

    .post-title {
        font-size: 1rem;
        line-height: 1.4;
        margin-bottom: 0.6rem;
        -webkit-line-clamp: 2;
    }

    .post-preview {
        font-size: 0.85rem;
        line-height: 1.4;
        -webkit-line-clamp: 2;
        margin-bottom: 1rem;
    }

    .post-card-footer {
        padding-top: 1rem;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .author-avatar {
        width: 24px;
        height: 24px;
        font-size: 0.7rem;
    }

    .author-name {
        font-size: 0.8rem;
    }

    .post-stats {
        gap: 0.6rem;
    }

    .post-stats .stat-item {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .recent-section-modern {
        padding: 0 0.5rem;
        margin: 1.5rem 0;
    }

    .section-header-modern {
        margin-bottom: 1rem;
    }

    .header-content .section-title {
        font-size: 1.3rem;
    }

    .header-content .section-subtitle {
        font-size: 0.85rem;
    }

    .view-all-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .posts-grid-modern {
        gap: 0.8rem;
    }

    .post-card-modern {
        padding: 1rem;
        border-radius: 10px;
    }

    .post-card-header {
        margin-bottom: 0.8rem;
    }

    .board-tag {
        font-size: 0.65rem;
        padding: 0.25rem 0.5rem;
    }

    .post-time {
        font-size: 0.7rem;
    }

    .post-title {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }

    .post-preview {
        font-size: 0.8rem;
        margin-bottom: 0.8rem;
    }

    .post-card-footer {
        padding-top: 0.8rem;
    }

    .author-avatar {
        width: 22px;
        height: 22px;
        font-size: 0.65rem;
    }

    .author-name {
        font-size: 0.75rem;
    }

    .post-stats .stat-item {
        font-size: 0.65rem;
    }

    .empty-state {
        padding: 2rem 1rem;
    }

    .empty-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }

    .empty-icon i {
        font-size: 1.5rem;
    }
}

/* 유튜브 섹션 스타일 */
.youtube-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 0;
    margin-top: 4rem;
}

.youtube-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.youtubers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

/* 유튜브 로딩 상태 스타일 */
.youtube-loading-state {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
    grid-column: 1 / -1;
}

.loading-content {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.loading-content h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.loading-content p {
    color: #6c757d;
    margin-bottom: 1.5rem;
}

.loading-spinner {
    margin-top: 1rem;
}

.youtuber-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid #f1f3f4;
}

.youtuber-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.youtuber-header {
    padding: 1.5rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.youtuber-avatar {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    backdrop-filter: blur(10px);
}

.youtuber-badge {
    background: rgba(255, 255, 255, 0.9);
    color: #2c3e50;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.youtuber-content {
    padding: 1.5rem;
}

.youtuber-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.youtuber-description {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.youtuber-footer {
    display: flex;
    justify-content: flex-end;
}

.channel-link {
    color: #ff6b35;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.video-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid #f1f3f4;
}

.video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 3rem;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.video-card:hover .play-overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.video-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

.video-content {
    padding: 1rem;
}

.video-title {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.4;
    margin-bottom: 0.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.channel-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.channel-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.7rem;
}

.channel-name {
    font-size: 0.85rem;
    color: #6c757d;
    font-weight: 500;
}

.video-date {
    font-size: 0.8rem;
    color: #6c757d;
}

.empty-videos {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 1rem;
}

.empty-icon {
    font-size: 4rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .youtube-section {
        padding: 2rem 0;
        margin-top: 2rem;
    }

    .youtube-controls {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }

    .youtube-controls .btn {
        width: 100%;
    }

    .youtubers-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .videos-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .video-thumbnail {
        height: 200px;
    }
}

/* 애니메이션 */
@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes pulse-badge {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

/* 최근 게시글 섹션 */
.recent-posts-section {
    margin: 4rem 0;
    padding: 0 1rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.recent-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.recent-post-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f3f4;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.recent-post-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.recent-post-card:hover::before {
    transform: scaleX(1);
}

.recent-post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.post-header {
    padding: 1.5rem 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.board-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    color: #6c757d;
}

.post-meta i {
    font-size: 0.7rem;
}

.post-content {
    padding: 1rem 1.5rem;
}

.post-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.4;
    margin-bottom: 0.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-preview {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-image {
    padding: 0 1.5rem;
    margin-bottom: 1rem;
}

.post-image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
}

.post-footer {
    padding: 0 1.5rem 1.5rem;
    display: flex;
    justify-content: flex-end;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #ff6b35;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 107, 53, 0.2);
}

.read-more-btn:hover {
    background: rgba(255, 107, 53, 0.1);
    color: #ff6b35;
    text-decoration: none;
    transform: translateX(2px);
}

/* 유튜브 섹션 */
.youtube-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 0;
    margin-top: 4rem;
    border-radius: 24px;
}

.youtube-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.youtube-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f3f4;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
}

.youtube-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    aspect-ratio: 16 / 9;
}

.youtube-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.play-button {
    display: none !important;
}

.youtube-card:hover .play-button {
    background: rgba(255, 0, 0, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

.video-info {
    padding: 1.5rem;
}

.video-title {
    font-size: 1rem;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.4;
    margin-bottom: 0.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.video-channel {
    font-size: 0.85rem;
    color: #6c757d;
    font-weight: 500;
}

.video-date {
    font-size: 0.8rem;
    color: #6c757d;
}

.video-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: #6c757d;
}

.video-stats span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.video-stats i {
    font-size: 0.7rem;
}

.video-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* 모바일 반응형 */
@media (max-width: 768px) {

    .recent-posts-section,
    .youtube-section {
        margin: 2rem 0;
        padding: 2rem 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .recent-posts-grid,
    .youtube-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1rem;
    }

    .recent-post-card,
    .youtube-card {
        border-radius: 12px;
    }

    .post-header,
    .post-content,
    .post-footer,
    .video-info {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .post-image {
        padding: 0 1rem;
    }

    .video-thumbnail {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .youtube-section {
        border-radius: 16px;
        margin-top: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .recent-posts-grid,
    .youtube-grid {
        padding: 0 0.5rem;
    }
}

/* 최근 게시글 정보 섹션 */
.recent-posts-info-section {
    margin: 3rem 0;
    padding: 0 1rem;
}

.recent-posts-info-section .section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.recent-posts-info-section .section-title {
    font-size: 2rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.recent-posts-info-section .section-subtitle {
    color: #6c757d;
    font-size: 1rem;
    margin: 0;
}

.recent-posts-container {
    max-width: 800px;
    margin: 0 auto;
}

.recent-posts-list {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #f1f3f4;
}

/* 데스크톱 버전 */
.modern-post-item {
    display: flex;
    align-items: center;
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid #f8f9fa;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.modern-post-item:hover {
    background: #f8f9fa;
    transform: translateX(4px);
}

.modern-post-item:last-child {
    border-bottom: none;
}

.modern-post-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--category-color);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.modern-post-item:hover::before {
    transform: scaleY(1);
}

/* 데스크톱에서 카테고리 레이아웃 */
@media (min-width: 769px) {
    .post-category {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        margin-right: 1rem;
        flex-shrink: 0;
    }

    .post-category>div:first-child {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .post-number {
        margin-left: 1rem;
        flex-shrink: 0;
    }
}

.category-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.category-name {
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.post-main {
    flex: 1;
    min-width: 0;
}

.post-title-link {
    text-decoration: none;
    color: inherit;
}

.post-title-link:hover {
    text-decoration: none;
    color: inherit;
}

.post-title {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 0.3rem 0;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    color: #6c757d;
}

.post-meta span {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.post-meta i {
    font-size: 0.7rem;
    opacity: 0.8;
}

.post-number {
    margin-left: 1rem;
    flex-shrink: 0;
}

.number-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: white;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 700;
}

/* 모바일 반응형 - 완전히 새로운 레이아웃 */
@media (max-width: 768px) {
    .recent-posts-info-section {
        margin: 2rem 0;
        padding: 0 1rem;
    }

    .recent-posts-info-section .section-header {
        margin-bottom: 1.5rem;
        text-align: center;
    }

    .recent-posts-info-section .section-title {
        font-size: 1.6rem;
        margin-bottom: 0.5rem;
    }

    .recent-posts-info-section .section-subtitle {
        font-size: 0.9rem;
        color: #6c757d;
        margin: 0;
    }

    .recent-posts-container {
        margin: 0;
    }

    .recent-posts-list {
        border-radius: 16px;
        margin: 0;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    }

    .modern-post-item {
        padding: 1.2rem;
        display: block;
        border-bottom: 1px solid #f8f9fa;
    }

    .modern-post-item:hover {
        transform: none;
        background: #f8f9fa;
    }

    .post-category {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 0.8rem;
    }

    .post-category>div:first-child {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .category-icon {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
        border-radius: 8px;
    }

    .category-name {
        font-size: 0.8rem;
        font-weight: 600;
    }

    .post-number {
        margin: 0;
    }

    .number-badge {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
        background: linear-gradient(135deg, #ff6b35, #ff8c42);
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
    }

    .post-main {
        width: 100%;
    }

    .post-title {
        font-size: 1rem;
        line-height: 1.4;
        margin-bottom: 0.6rem;
        color: #2c3e50;
        font-weight: 600;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .post-meta {
        display: flex;
        gap: 1rem;
        font-size: 0.8rem;
        color: #6c757d;
        flex-wrap: wrap;
    }

    .post-meta span {
        display: flex;
        align-items: center;
        gap: 0.3rem;
    }

    .post-meta i {
        font-size: 0.7rem;
        opacity: 0.8;
    }
}

@media (max-width: 480px) {
    .recent-posts-info-section {
        padding: 0 0.5rem;
        margin: 1.5rem 0;
    }

    .recent-posts-info-section .section-title {
        font-size: 1.4rem;
    }

    .recent-posts-info-section .section-subtitle {
        font-size: 0.85rem;
    }

    .recent-posts-list {
        margin: 0;
        border-radius: 12px;
    }

    .modern-post-item {
        padding: 1rem;
    }

    .post-category {
        margin-bottom: 0.6rem;
    }

    .category-icon {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }

    .category-name {
        font-size: 0.75rem;
    }

    .number-badge {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }

    .post-title {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    .post-meta {
        gap: 0.8rem;
    }

    .post-meta span {
        font-size: 0.7rem;
    }
}

/* 최근 게시글 정보 섹션 - 완전히 새로운 디자인 */
.recent-posts-info-section {
    margin: 2rem 0;
    padding: 0;
}

.recent-posts-info-section .section-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: white;
    border-radius: 16px 16px 0 0;
    border-bottom: 1px solid #f1f3f4;
}

.recent-posts-info-section .section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.recent-posts-info-section .section-title i {
    color: #ff6b35;
    font-size: 1.3rem;
}

.recent-posts-info-section .section-subtitle {
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0;
}

.recent-posts-container {
    max-width: 100%;
    margin: 0 1rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.recent-posts-list {
    background: white;
}

/* 모바일 우선 디자인 */
.modern-post-item {
    display: block;
    padding: 1rem;
    border-bottom: 1px solid #f8f9fa;
    background: white;
    position: relative;
}

.modern-post-item:last-child {
    border-bottom: none;
}

.modern-post-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--category-color, #ff6b35);
}

/* 카테고리와 번호를 상단에 배치 */
.post-category {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.post-category>div:first-child {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.category-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: white;
    flex-shrink: 0;
}

.category-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: #2c3e50;
}

.post-number {
    margin: 0;
}

.number-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #ff6b35;
    color: white;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
}

/* 제목과 메타 정보 */
.post-main {
    width: 100%;
}

.post-title-link {
    text-decoration: none;
    color: inherit;
}

.post-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 0.6rem 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-meta {
    display: flex;
    gap: 0.8rem;
    font-size: 0.75rem;
    color: #6c757d;
    flex-wrap: wrap;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.post-meta i {
    font-size: 0.7rem;
}

/* 카테고리별 색상 */
.modern-post-item[data-category="hotdeal"] .category-icon {
    background: #ff6b35;
}

.modern-post-item[data-category="hotdeal"]::before {
    background: #ff6b35;
}

.modern-post-item[data-category="secondhand"] .category-icon {
    background: #28a745;
}

.modern-post-item[data-category="secondhand"]::before {
    background: #28a745;
}

.modern-post-item[data-category="sharerent"] .category-icon {
    background: #17a2b8;
}

.modern-post-item[data-category="sharerent"]::before {
    background: #17a2b8;
}

/* 빈 상태 */
.empty-posts-state {
    text-align: center;
    padding: 2rem 1rem;
    color: #6c757d;
}

.empty-posts-state i {
    font-size: 2rem;
    color: #dee2e6;
    margin-bottom: 1rem;
}

.empty-posts-state h4 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.empty-posts-state p {
    color: #6c757d;
    margin: 0;
    font-size: 0.85rem;
}

/* 데스크톱 버전 (768px 이상) */
@media (min-width: 769px) {
    .recent-posts-info-section {
        margin: 3rem 0;
    }

    .recent-posts-info-section .section-title {
        font-size: 2rem;
    }

    .recent-posts-info-section .section-subtitle {
        font-size: 1rem;
    }

    .recent-posts-container {
        margin: 0 2rem;
    }

    .modern-post-item {
        display: flex;
        align-items: center;
        padding: 1.5rem;
    }

    .modern-post-item:hover {
        background: #f8f9fa;
        transform: translateX(4px);
    }

    .post-category {
        margin-bottom: 0;
        margin-right: 1rem;
        flex-shrink: 0;
    }

    .category-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .category-name {
        font-size: 0.9rem;
    }

    .number-badge {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }

    .post-main {
        flex: 1;
        margin-right: 1rem;
    }

    .post-title {
        font-size: 1.1rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: unset;
        -webkit-box-orient: unset;
    }

    .post-meta {
        gap: 1.2rem;
        font-size: 0.85rem;
    }
}

/* 초소형 모바일 (400px 이하) */
@media (max-width: 400px) {
    .recent-posts-container {
        margin: 0 0.5rem;
    }

    .recent-posts-info-section .section-header {
        padding: 0.8rem;
    }

    .recent-posts-info-section .section-title {
        font-size: 1.3rem;
    }

    .recent-posts-info-section .section-subtitle {
        font-size: 0.8rem;
    }

    .modern-post-item {
        padding: 0.8rem;
    }

    .post-category {
        margin-bottom: 0.6rem;
    }

    .category-icon {
        width: 24px;
        height: 24px;
        font-size: 0.7rem;
    }

    .category-name {
        font-size: 0.75rem;
    }

    .number-badge {
        width: 20px;
        height: 20px;
        font-size: 0.6rem;
    }

    .post-title {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    .post-meta {
        gap: 0.6rem;
        font-size: 0.7rem;
    }
}

/* 최근 게시글 섹션 - 모던 디자인 */
.recent-posts-info-section {
    margin: 4rem 0;
    padding: 0 1rem;
}

.recent-posts-info-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.recent-posts-info-section .section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    letter-spacing: -0.02em;
}

.recent-posts-info-section .section-title i {
    color: #ff6b35;
    font-size: 2rem;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.recent-posts-info-section .section-subtitle {
    color: #6c757d;
    font-size: 1.1rem;
    margin: 0 auto;
    max-width: 600px;
    line-height: 1.6;
    text-align: center;
}

.recent-posts-container {
    max-width: 1000px;
    margin: 0 auto;
}

.recent-posts-list {
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* 모던 게시글 아이템 디자인 */
.modern-post-item {
    display: flex;
    align-items: center;
    padding: 1.8rem 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    background: white;
}

.modern-post-item:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.modern-post-item:last-child {
    border-bottom: none;
}

.modern-post-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--category-color, #ff6b35);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.modern-post-item:hover::before {
    transform: scaleY(1);
}

.post-category {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-right: 2rem;
    flex-shrink: 0;
    width: 200px;
}

.post-category>div:first-child {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.category-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.category-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2c3e50;
}

.post-main {
    flex: 1;
    min-width: 0;
    margin-right: 1.5rem;
}

.post-title-link {
    text-decoration: none;
    color: inherit;
}

.post-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 0.6rem 0;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: #6c757d;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.post-meta i {
    font-size: 0.8rem;
    opacity: 0.8;
}

.post-number {
    flex-shrink: 0;
}

.number-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: white;
    border-radius: 50%;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

/* 카테고리별 색상 */
.modern-post-item[data-category="hotdeal"] .category-icon {
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
}

.modern-post-item[data-category="hotdeal"]::before {
    background: #ff6b35;
}

.modern-post-item[data-category="secondhand"] .category-icon {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.modern-post-item[data-category="secondhand"]::before {
    background: #28a745;
}

.modern-post-item[data-category="sharerent"] .category-icon {
    background: linear-gradient(135deg, #17a2b8, #20c997);
}

.modern-post-item[data-category="sharerent"]::before {
    background: #17a2b8;
}

/* 빈 상태 */
.empty-posts-state {
    text-align: center;
    padding: 4rem 2rem;
    color: #6c757d;
}

.empty-posts-state i {
    font-size: 4rem;
    color: #dee2e6;
    margin-bottom: 1.5rem;
}

.empty-posts-state h4 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.empty-posts-state p {
    color: #6c757d;
    margin: 0;
    font-size: 1rem;
}

/* 모바일 반응형 - 최근 게시글 */
@media (max-width: 768px) {
    .recent-posts-info-section {
        margin: 2rem 0;
        padding: 0 0.5rem;
    }

    .recent-posts-info-section .section-header {
        padding: 1.5rem 1rem;
        margin-bottom: 2rem;
        border-radius: 16px;
    }

    .recent-posts-info-section .section-title {
        font-size: 1.8rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .recent-posts-info-section .section-title i {
        font-size: 1.5rem;
    }

    .recent-posts-info-section .section-subtitle {
        font-size: 1rem;
        padding: 0 0.5rem;
    }

    .recent-posts-list {
        border-radius: 16px;
        margin: 0 0.5rem;
    }

    .modern-post-item {
        display: block;
        padding: 1.5rem;
    }

    .modern-post-item:hover {
        transform: none;
    }

    .post-category {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1rem;
        margin-right: 0;
        width: 100%;
    }

    .category-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .category-name {
        font-size: 0.85rem;
    }

    .post-number {
        margin: 0;
    }

    .number-badge {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }

    .post-main {
        width: 100%;
        margin-right: 0;
    }

    .post-title {
        font-size: 1rem;
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin-bottom: 0.8rem;
    }

    .post-meta {
        gap: 1rem;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .recent-posts-info-section .section-title {
        font-size: 1.5rem;
    }

    .recent-posts-info-section .section-subtitle {
        font-size: 0.9rem;
    }

    .modern-post-item {
        padding: 1.2rem;
    }

    .category-icon {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .number-badge {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }

    .post-title {
        font-size: 0.95rem;
    }

    .post-meta {
        font-size: 0.8rem;
    }
}

/* 유튜브 섹션 스타일 */
.youtube-section {
    margin: 3rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* 유튜브 슬라이더 스타일 */
.youtube-slider-container {
    position: relative;
    margin-top: 2rem;
    overflow: hidden;
}

.youtube-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.youtube-slider {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 1.5rem;
    padding: 0 60px;
}

.youtube-slide {
    flex: 0 0 350px;
    min-width: 350px;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(255, 107, 53, 0.2);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: #ff6b35;
    font-size: 1.2rem;
}

.slider-btn:hover {
    background: #ff6b35;
    color: white;
    border-color: #ff6b35;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
}

.slider-btn-prev {
    left: 10px;
}

.slider-btn-next {
    right: 10px;
}

.slider-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1.5rem;
}

.slider-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 107, 53, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-indicator.active {
    background: #ff6b35;
    transform: scale(1.2);
}

.slider-indicator:hover {
    background: #ff6b35;
    transform: scale(1.1);
}

.youtube-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.youtube-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.youtube-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #f8f9fa;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.youtube-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 0, 0, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.youtube-card:hover .play-button {
    background: rgba(255, 0, 0, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-category {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 8px;
    border-radius: 12px;
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.video-info {
    padding: 1.2rem;
}

.video-title {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-description {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 0.8rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #6c757d;
}

.video-channel {
    font-weight: 500;
    color: #ff6b35;
}

.video-date {
    color: #6c757d;
}

.video-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    text-decoration: none;
}

/* 빈 상태 스타일 */
.youtube-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 2rem;
    color: #6c757d;
}

.youtube-empty .empty-icon {
    font-size: 4rem;
    color: #ff0000;
    margin-bottom: 1rem;
}

.youtube-empty h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.youtube-empty p {
    margin-bottom: 1.5rem;
}

.loading-spinner {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #ff0000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* 오류 상태 스타일 */
.youtube-error {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 2rem;
    color: #6c757d;
}

.youtube-error .error-icon {
    font-size: 4rem;
    color: #dc3545;
    margin-bottom: 1rem;
}

.youtube-error h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.youtube-error p {
    margin-bottom: 1.5rem;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .youtube-section {
        margin: 2rem 0;
        padding: 1.5rem;
        border-radius: 16px;
    }

    .youtube-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .video-thumbnail {
        height: 200px;
    }

    .video-info {
        padding: 1rem;
    }

    .video-title {
        font-size: 0.95rem;
    }

    .video-description {
        font-size: 0.8rem;
    }

    .play-button {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .youtube-section {
        margin: 1.5rem 0;
        padding: 1rem;
    }

    .video-thumbnail {
        height: 180px;
    }

    .video-info {
        padding: 0.8rem;
    }

    .video-title {
        font-size: 0.9rem;
    }

    .play-button {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

/* 멜번 생활 정
보 섹션 스타일 */
.melbourne-info-section {
    margin: 3rem 0;
    padding: 0 1rem;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-title i {
    color: #ff6b35;
    font-size: 1.8rem;
}

.section-subtitle {
    color: #6c757d;
    font-size: 1.1rem;
}

/* 정보 슬라이더 컨테이너 */
.info-slider-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.info-slider {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 1rem 0.5rem 2rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.info-slider::-webkit-scrollbar {
    display: none;
}

.info-slide {
    flex: 0 0 auto;
    width: 280px;
}

/* 정보 카드 스타일 */
.info-card {
    display: block;
    background: white;
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.info-card:hover::before {
    opacity: 1;
}

.info-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: inherit;
}

.info-card .card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-5px);
    }
}

.info-card .card-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.info-card .card-content p {
    font-size: 0.9rem;
    color: #6c757d;
    margin: 0;
    line-height: 1.4;
}

/* 카드별 색상 테마 */
.info-card.parking:hover {
    background: linear-gradient(135deg, #e3f2fd, #f8f9fa);
    border-color: #2196f3;
}

.info-card.tram:hover {
    background: linear-gradient(135deg, #fff3e0, #f8f9fa);
    border-color: #ff9800;
}

.info-card.restaurant:hover {
    background: linear-gradient(135deg, #f3e5f5, #f8f9fa);
    border-color: #9c27b0;
}

.info-card.bbq:hover {
    background: linear-gradient(135deg, #ffebee, #f8f9fa);
    border-color: #f44336;
}

.info-card.birthday:hover {
    background: linear-gradient(135deg, #fce4ec, #f8f9fa);
    border-color: #e91e63;
}

.info-card.news:hover {
    background: linear-gradient(135deg, #e8f5e8, #f8f9fa);
    border-color: #4caf50;
}

.info-card.visa:hover {
    background: linear-gradient(135deg, #e1f5fe, #f8f9fa);
    border-color: #00bcd4;
}

.info-card.name:hover {
    background: linear-gradient(135deg, #fff8e1, #f8f9fa);
    border-color: #ffc107;
}

/* 슬라이더 인디케이터 */
.slider-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #dee2e6;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator-dot.active {
    background: #ff6b35;
    transform: scale(1.2);
}

.indicator-dot:hover {
    background: #ff8c42;
    transform: scale(1.1);
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .melbourne-info-section {
        margin: 2rem 0;
        padding: 0 0.5rem;
    }

    .section-title {
        font-size: 1.6rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .section-title i {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .info-slide {
        width: 240px;
    }

    .info-card {
        padding: 1.5rem 1rem;
        height: 140px;
    }

    .info-card .card-icon {
        font-size: 2.5rem;
        margin-bottom: 0.8rem;
    }

    .info-card .card-content h3 {
        font-size: 1.1rem;
    }

    .info-card .card-content p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .info-slide {
        width: 200px;
    }

    .info-card {
        padding: 1.2rem 0.8rem;
        height: 120px;
    }

    .info-card .card-icon {
        font-size: 2rem;
        margin-bottom: 0.6rem;
    }

    .info-card .card-content h3 {
        font-size: 1rem;
    }

    .info-card .card-content p {
        font-size: 0.8rem;
    }
}

/* 카카오톡 오
픈채팅 섹션 스타일 */
.kakao-openchat-section {
    margin: 3rem 0;
    padding: 0 1rem;
    background: linear-gradient(135deg, #fff8e1, #fffde7);
    border-radius: 24px;
    padding: 3rem 1rem;
    position: relative;
    overflow: hidden;
}

.kakao-openchat-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #fee500, #fdd835, #fee500);
    animation: kakao-shimmer 2s infinite;
}

@keyframes kakao-shimmer {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

/* 카카오 슬라이더 컨테이너 */
.kakao-slider-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.kakao-slider {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 1rem 0.5rem 2rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.kakao-slider::-webkit-scrollbar {
    display: none;
}

.kakao-slide {
    flex: 0 0 auto;
    width: 280px;
}

/* 카카오 카드 스타일 */
.kakao-card {
    display: block;
    background: white;
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 20px rgba(254, 229, 0, 0.15);
    border: 2px solid rgba(254, 229, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.kakao-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent, rgba(254, 229, 0, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.kakao-card:hover::before {
    opacity: 1;
}

.kakao-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 35px rgba(254, 229, 0, 0.25);
    border-color: #fee500;
    text-decoration: none;
    color: inherit;
}

.kakao-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #fee500, #fdd835);
    color: #3c1e1e;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(254, 229, 0, 0.3);
}

.kakao-card .card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    animation: kakao-float 3s ease-in-out infinite;
}

@keyframes kakao-float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-5px) rotate(2deg);
    }
}

.kakao-card .card-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.kakao-card .card-content p {
    font-size: 0.95rem;
    color: #6c757d;
    margin: 0;
    line-height: 1.4;
}

/* 카카오 카드별 호버 효과 */
.kakao-card.melbourne:hover {
    background: linear-gradient(135deg, #fff3e0, #ffffff);
    border-color: #ff9800;
}

.kakao-card.secondhand:hover {
    background: linear-gradient(135deg, #e8f5e8, #ffffff);
    border-color: #4caf50;
}

.kakao-card.sharerent:hover {
    background: linear-gradient(135deg, #e3f2fd, #ffffff);
    border-color: #2196f3;
}

.kakao-card.sydney:hover {
    background: linear-gradient(135deg, #f3e5f5, #ffffff);
    border-color: #9c27b0;
}

.kakao-card.brisbane:hover {
    background: linear-gradient(135deg, #e0f2f1, #ffffff);
    border-color: #009688;
}

.kakao-card.parents:hover {
    background: linear-gradient(135deg, #fce4ec, #ffffff);
    border-color: #e91e63;
}

.kakao-card.barista:hover {
    background: linear-gradient(135deg, #efebe9, #ffffff);
    border-color: #795548;
}

/* 모바일 반응형 - 카카오 섹션 */
@media (max-width: 768px) {
    .kakao-openchat-section {
        margin: 2rem 0;
        padding: 2rem 0.5rem;
    }

    .kakao-slide {
        width: 240px;
    }

    .kakao-card {
        padding: 1.5rem 1rem;
        height: 160px;
    }

    .kakao-card .card-icon {
        font-size: 2.5rem;
        margin-bottom: 0.8rem;
    }

    .kakao-card .card-content h3 {
        font-size: 1.1rem;
    }

    .kakao-card .card-content p {
        font-size: 0.85rem;
    }

    .kakao-badge {
        font-size: 0.65rem;
        padding: 3px 6px;
    }
}

@media (max-width: 480px) {
    .kakao-slide {
        width: 200px;
    }

    .kakao-card {
        padding: 1.2rem 0.8rem;
        height: 140px;
    }

    .kakao-card .card-icon {
        font-size: 2rem;
        margin-bottom: 0.6rem;
    }

    .kakao-card .card-content h3 {
        font-size: 1rem;
    }

    .kakao-card .card-content p {
        font-size: 0.8rem;
    }
}

/*
 슬라이더 네비게이션 버튼 공통 스타일 */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(255, 107, 53, 0.3);
    color: #ff6b35;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.slider-btn:hover {
    background: #ff6b35;
    color: white;
    border-color: #ff6b35;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
}

.slider-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.slider-btn i {
    font-size: 1.2rem;
    font-weight: bold;
}

/* 슬라이더별 버튼 위치 */
.slider-btn-prev {
    left: -25px;
}

.slider-btn-next {
    right: -25px;
}

/* 카카오 슬라이더 버튼 */
.kakao-slider-container {
    position: relative;
}

.kakao-prev,
.kakao-next {
    border-color: rgba(254, 229, 0, 0.5);
    color: #f57c00;
}

.kakao-prev:hover,
.kakao-next:hover {
    background: linear-gradient(135deg, #fee500, #fdd835);
    color: #3c1e1e;
    border-color: #fee500;
}

/* 멜번 생활 정보 슬라이더 버튼 */
.info-slider-container {
    position: relative;
}

.info-prev,
.info-next {
    border-color: rgba(23, 162, 184, 0.3);
    color: #17a2b8;
}

.info-prev:hover,
.info-next:hover {
    background: #17a2b8;
    color: white;
    border-color: #17a2b8;
}

/* 유튜브 슬라이더 버튼 (기존 스타일 유지) */
.youtube-slider-container .slider-btn {
    border-color: rgba(220, 53, 69, 0.3);
    color: #dc3545;
}

.youtube-slider-container .slider-btn:hover {
    background: #dc3545;
    color: white;
    border-color: #dc3545;
}

/* 모바일에서 버튼 숨기기 */
@media (max-width: 768px) {
    .slider-btn {
        display: none;
    }
}

/* 태블릿에서 버튼 크기 조정 */
@media (max-width: 1024px) and (min-width: 769px) {
    .slider-btn {
        width: 45px;
        height: 45px;
    }

    .slider-btn i {
        font-size: 1.1rem;
    }

    .slider-btn-prev {
        left: -22px;
    }

    .slider-btn-next {
        right: -22px;
    }
}

/* 슬라이더 컨테이너 패딩 조정 */
.kakao-slider-container,
.info-slider-container,
.youtube-slider-container {
    padding: 0 30px;
}

@media (max-width: 1024px) {

    .kakao-slider-container,
    .info-slider-container,
    .youtube-slider-container {
        padding: 0 25px;
    }
}

@media (max-width: 768px) {

    .kakao-slider-container,
    .info-slider-container,
    .youtube-slider-container {
        padding: 0;
    }
}

/* 유튜브 섹션 스타일 (다른 섹션과 동일) */
.youtube-info-section {
    margin: 3rem 0;
    padding: 0 1rem;
    background: linear-gradient(135deg, #fff0f0, #fff5f5);
    border-radius: 24px;
    padding: 3rem 1rem;
    position: relative;
    overflow: hidden;
}

.youtube-info-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff0000, #ff4444, #ff0000);
    animation: youtube-shimmer 2s infinite;
}

@keyframes youtube-shimmer {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

.youtube-info-section .section-title {
    font-size: 2.2rem;
    font-weight: 800;
}

.youtube-info-section .section-title i {
    color: #ff0000;
    font-size: 2.2rem;
}

.youtube-info-section .section-subtitle {
    font-size: 1.1rem;
}

/* 유튜브 슬라이더 버튼 */
.youtube-prev,
.youtube-next {
    border-color: rgba(255, 0, 0, 0.3);
    color: #ff0000;
}

.youtube-prev:hover,
.youtube-next:hover {
    background: #ff0000;
    color: white;
    border-color: #ff0000;
}

/* 최근 게시글 리스트 스타일 */
.recent-posts-list {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.recent-post-item {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #f1f3f4;
    transition: all 0.2s ease;
    position: relative;
}

.recent-post-item:last-child {
    border-bottom: none;
}

.recent-post-item:hover {
    background: #f8f9fa;
    transform: translateX(4px);
}

.post-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.post-main {
    flex: 1;
    min-width: 0;
}

.post-title-row {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.4rem;
}

.board-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    color: white;
    flex-shrink: 0;
}

.board-badge i {
    font-size: 0.8rem;
}

.post-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

.post-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.2s ease;
}

.post-title a:hover {
    color: #ff6b35;
    text-decoration: none;
}

.post-meta-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    color: #6c757d;
}

.post-time,
.post-views,
.has-image {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.has-image {
    color: #28a745;
}

.post-action {
    margin-left: 1rem;
    flex-shrink: 0;
}

.view-btn {
    width: 36px;
    height: 36px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    text-decoration: none;
    transition: all 0.2s ease;
}

.view-btn:hover {
    background: #ff6b35;
    border-color: #ff6b35;
    color: white;
    transform: scale(1.1);
    text-decoration: none;
}

.view-btn i {
    font-size: 0.9rem;
}

/* 모바일 반응형 - 최근 게시글 */
@media (max-width: 768px) {
    .youtube-info-section {
        margin: 2rem 0;
        padding: 2rem 0.5rem;
    }

    .youtube-info-section .section-title {
        font-size: 1.6rem !important;
    }

    .youtube-info-section .section-subtitle {
        font-size: 1rem !important;
    }

    .recent-post-item {
        padding: 0.8rem 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }

    .post-number {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
        margin-right: 0;
        align-self: flex-start;
    }

    .post-main {
        width: 100%;
    }

    .post-title-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .post-title {
        font-size: 0.9rem;
    }

    .post-meta-row {
        gap: 0.8rem;
        font-size: 0.75rem;
    }

    .post-action {
        margin-left: 0;
        align-self: flex-end;
        position: absolute;
        top: 0.8rem;
        right: 1rem;
    }

    .view-btn {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 480px) {
    .recent-post-item {
        padding: 0.6rem 0.8rem;
    }

    .post-title {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .board-badge {
        font-size: 0.65rem;
        padding: 0.15rem 0.5rem;
    }

    .post-meta-row {
        font-size: 0.7rem;
        gap: 0.6rem;
    }
}

/*
 최근 게시글 섹션 스타일 (다른 섹션과 동일) */
.recent-posts-info-section {
    margin: 3rem 0;
    padding: 0 1rem;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border-radius: 24px;
    padding: 3rem 1rem;
    position: relative;
    overflow: hidden;
}

.recent-posts-info-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    animation: posts-shimmer 2s infinite;
}

@keyframes posts-shimmer {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

.recent-posts-info-section .section-title i {
    color: #6c757d;
    font-size: 1.8rem;
}

/* 최근 게시글 컨테이너 */
.recent-posts-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

/* 최근 게시글 리스트 스타일 (첫 번째 사진과 동일) */
.recent-posts-list {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.post-list-item {
    display: flex;
    align-items: center;
    padding: 0.8rem 1.5rem;
    border-bottom: 1px solid #f1f3f4;
    transition: all 0.2s ease;
    position: relative;
}

.post-list-item:last-child {
    border-bottom: none;
}

.post-list-item:hover {
    background: #f8f9fa;
}

/* 번호 스타일 */
.post-index {
    width: 40px;
    flex-shrink: 0;
    text-align: center;
}

.index-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: white;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.8rem;
}

/* 게시판 배지 */
.post-board {
    width: 80px;
    flex-shrink: 0;
    margin-left: 1rem;
}

.board-tag {
    display: inline-block;
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    color: white;
    text-align: center;
    min-width: 60px;
}

/* 제목 */
.post-content {
    flex: 1;
    margin-left: 1rem;
    min-width: 0;
}

.post-link {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    line-height: 1.4;
    display: block;
    transition: color 0.2s ease;
}

.post-link:hover {
    color: #ff6b35;
    text-decoration: none;
}

/* 시간 */
.post-time {
    width: 80px;
    flex-shrink: 0;
    text-align: right;
    margin-left: 1rem;
}

.time-text {
    font-size: 0.8rem;
    color: #6c757d;
    font-weight: 500;
}

/* 모바일 반응형 - 최근 게시글 */
@media (max-width: 768px) {
    .recent-posts-info-section {
        margin: 2rem 0;
        padding: 2rem 0.5rem;
    }

    .post-list-item {
        padding: 0.6rem 1rem;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .post-index {
        width: 30px;
    }

    .index-number {
        width: 24px;
        height: 24px;
        font-size: 0.7rem;
    }

    .post-board {
        width: auto;
        margin-left: 0.5rem;
    }

    .board-tag {
        font-size: 0.65rem;
        padding: 0.2rem 0.5rem;
        min-width: 50px;
    }

    .post-content {
        flex: 1 1 100%;
        margin-left: 0;
        order: 3;
    }

    .post-link {
        font-size: 0.9rem;
    }

    .post-time {
        width: auto;
        margin-left: auto;
        order: 2;
    }

    .time-text {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .post-list-item {
        padding: 0.5rem 0.8rem;
    }

    .post-link {
        font-size: 0.85rem;
        line-height: 1.3;
    }

    .board-tag {
        font-size: 0.6rem;
        padding: 0.15rem 0.4rem;
    }
}

/* 최근 
게시글 디자인 - 보기 좋게 새로 디자인 */
.recent-posts-container {
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 1.5rem !important;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04) !important;
    border: 1px solid #f1f3f4 !important;
    max-width: 1200px !important;
    margin: 1rem auto 0 auto !important;
}

.recent-posts-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
}

/* 게시글 아이템 - 깔끔하고 모던한 디자인 */
.modern-post-item {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
    padding: 1rem !important;
    background: #fafbfc !important;
    border-radius: 12px !important;
    border: 1px solid #e5e7eb !important;
    transition: all 0.2s ease !important;
    position: relative !important;
    cursor: pointer !important;
}

.modern-post-item:hover {
    background: #f1f5f9 !important;
    border-color: #d1d5db !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

/* 카테고리 아이콘 */
.post-category {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    min-width: 120px !important;
    flex-shrink: 0 !important;
}

.category-icon {
    width: 36px !important;
    height: 36px !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
}

.category-name {
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

/* 메인 콘텐츠 */
.post-main {
    flex: 1 !important;
    min-width: 0 !important;
}

.post-title-link {
    text-decoration: none !important;
    color: inherit !important;
}

.post-title {
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    margin: 0 0 0.5rem 0 !important;
    line-height: 1.4 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    transition: color 0.2s ease !important;
}

.modern-post-item:hover .post-title {
    color: #ff6b35 !important;
}

.post-meta {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
    font-size: 0.75rem !important;
    color: #6b7280 !important;
}

.post-time,
.post-views {
    display: flex !important;
    align-items: center !important;
    gap: 0.3rem !important;
    font-weight: 500 !important;
}

.post-time i,
.post-views i {
    font-size: 0.7rem !important;
    opacity: 0.8 !important;
}

/* 번호 배지 */
.post-number {
    flex-shrink: 0 !important;
}

.number-badge {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    background: #f1f5f9 !important;
    color: #64748b !important;
    border-radius: 10px !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    transition: all 0.2s ease !important;
    border: 1px solid #e2e8f0 !important;
}

.modern-post-item:hover .number-badge {
    background: #ff6b35 !important;
    color: white !important;
    border-color: #ff6b35 !important;
    transform: scale(1.05) !important;
}

/* 카테고리별 색상 */
.modern-post-item[data-category="hotdeal"] .category-icon {
    background: rgba(255, 107, 53, 0.1) !important;
    color: #ff6b35 !important;
}

.modern-post-item[data-category="secondhand"] .category-icon {
    background: rgba(40, 167, 69, 0.1) !important;
    color: #28a745 !important;
}

.modern-post-item[data-category="sharerent"] .category-icon {
    background: rgba(23, 162, 184, 0.1) !important;
    color: #17a2b8 !important;
}

/* 모바일 최적화 */
@media (max-width: 768px) {
    .recent-posts-container {
        margin: 1rem !important;
        padding: 1rem !important;
    }

    .modern-post-item {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.75rem !important;
        padding: 1rem !important;
        position: relative !important;
    }

    .post-category {
        flex-direction: row !important;
        width: 100% !important;
        justify-content: flex-start !important;
        min-width: auto !important;
    }

    .category-icon {
        width: 32px !important;
        height: 32px !important;
        font-size: 0.9rem !important;
    }

    .post-main {
        width: 100% !important;
    }

    .post-title {
        font-size: 0.95rem !important;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: initial !important;
        line-height: 1.4 !important;
    }

    .post-meta {
        gap: 0.75rem !important;
        font-size: 0.7rem !important;
    }

    .post-number {
        position: absolute !important;
        top: 1rem !important;
        right: 1rem !important;
    }

    .number-badge {
        width: 28px !important;
        height: 28px !important;
        font-size: 0.7rem !important;
    }
}

/* 빈 상태 스타일 */
.recent-posts-container .text-center {
    padding: 2rem !important;
    color: #6b7280 !important;
    background: #f8fafc !important;
    border-radius: 12px !important;
    margin: 1rem 0 !important;
    border: 1px solid #e5e7eb !important;
    text-align: center !important;
}

.recent-posts-container .text-center i {
    font-size: 2rem !important;
    margin-bottom: 0.5rem !important;
    opacity: 0.5 !important;
    color: #ff6b35 !important;
}

/*
 모바일 섹션 통합 최적화 - 2개씩 표시 및 완벽한 중앙정렬 */

/* 카카오톡 오픈채팅 모바일 최적화 */
@media (max-width: 768px) {
    .kakao-openchat-section {
        margin: 3rem 1rem !important;
    }

    .kakao-slider-container {
        padding: 0 !important;
        overflow: hidden !important;
    }

    .kakao-slider {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
        gap: 0.75rem !important;
        padding: 0 1rem !important;
    }

    .kakao-slider::-webkit-scrollbar {
        display: none !important;
    }

    .kakao-slide {
        scroll-snap-align: start !important;
        flex-shrink: 0 !important;
        width: calc(50% - 0.375rem) !important;
        min-width: calc(50% - 0.375rem) !important;
        max-width: calc(50% - 0.375rem) !important;
    }

    .kakao-card {
        width: 100% !important;
        height: auto !important;
        min-height: 180px !important;
        padding: 1.5rem 1rem !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        background: white !important;
        border-radius: 12px !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
        border: 1px solid rgba(0, 0, 0, 0.05) !important;
        transition: all 0.3s ease !important;
    }

    .kakao-card:hover {
        transform: translateY(-3px) !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15) !important;
    }

    .kakao-card .kakao-badge {
        position: absolute !important;
        top: 0.75rem !important;
        right: 0.75rem !important;
        font-size: 0.6rem !important;
        padding: 0.2rem 0.4rem !important;
    }

    .kakao-card .card-icon,
    .kakao-card .card-icon i {
        font-size: 2.2rem !important;
        margin: 0 auto 0.75rem auto !important;
        display: block !important;
        text-align: center !important;
        width: 100% !important;
    }

    .kakao-card .card-content {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        width: 100% !important;
    }

    .kakao-card .card-content h3 {
        font-size: 0.9rem !important;
        line-height: 1.3 !important;
        margin: 0 0 0.4rem 0 !important;
        text-align: center !important;
        width: 100% !important;
    }

    .kakao-card .card-content p {
        font-size: 0.75rem !important;
        line-height: 1.2 !important;
        margin: 0 !important;
        text-align: center !important;
        width: 100% !important;
    }

    .kakao-prev,
    .kakao-next {
        display: none !important;
    }
}

/* 멜번 생활 정보 모바일 최적화 */
@media (max-width: 768px) {
    .melbourne-info-section {
        margin: 3rem 1rem !important;
    }

    .info-slider-container {
        padding: 0 !important;
        overflow: hidden !important;
    }

    .info-slider {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
        gap: 0.75rem !important;
        padding: 0 1rem !important;
    }

    .info-slider::-webkit-scrollbar {
        display: none !important;
    }

    .info-slide {
        scroll-snap-align: start !important;
        flex-shrink: 0 !important;
        width: calc(50% - 0.375rem) !important;
        min-width: calc(50% - 0.375rem) !important;
        max-width: calc(50% - 0.375rem) !important;
    }

    .info-card {
        width: 100% !important;
        height: auto !important;
        min-height: 180px !important;
        padding: 1.5rem 1rem !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        background: white !important;
        border-radius: 12px !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
        border: 1px solid rgba(0, 0, 0, 0.05) !important;
        transition: all 0.3s ease !important;
    }

    .info-card:hover {
        transform: translateY(-3px) !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15) !important;
    }

    .info-card .card-icon,
    .info-card .card-icon i {
        font-size: 2.2rem !important;
        margin: 0 auto 0.75rem auto !important;
        display: block !important;
        text-align: center !important;
        width: 100% !important;
    }

    .info-card .card-content {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        width: 100% !important;
    }

    .info-card .card-content h3 {
        font-size: 0.9rem !important;
        line-height: 1.3 !important;
        margin: 0 0 0.4rem 0 !important;
        text-align: center !important;
        width: 100% !important;
    }

    .info-card .card-content p {
        font-size: 0.75rem !important;
        line-height: 1.2 !important;
        margin: 0 !important;
        text-align: center !important;
        width: 100% !important;
    }

    .info-prev,
    .info-next {
        display: none !important;
    }
}

/* 유튜브 섹션 모바일 최적화 - 2개씩 표시 */
@media (max-width: 768px) {
    .youtube-info-section {
        margin: 3rem 1rem !important;
    }

    .youtube-info-section .section-header {
        padding: 0 1rem !important;
        margin-bottom: 1.5rem !important;
    }

    .youtube-info-section .section-title {
        font-size: 1.6rem !important;
    }

    .youtube-info-section .section-title i {
        font-size: 1.6rem !important;
    }

    .youtube-info-section .section-subtitle {
        font-size: 1rem !important;
    }

    .youtube-container {
        padding: 0 !important;
    }

    .youtube-slider-wrapper {
        padding: 0 1rem !important;
    }

    .youtube-slider {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
        gap: 0.75rem !important;
        padding: 0 !important;
    }

    .youtube-slider::-webkit-scrollbar {
        display: none !important;
    }

    .youtube-slide {
        scroll-snap-align: start !important;
        flex-shrink: 0 !important;
        width: calc(50% - 0.375rem) !important;
        min-width: calc(50% - 0.375rem) !important;
        max-width: calc(50% - 0.375rem) !important;
    }

    .youtube-card {
        width: 100% !important;
        height: auto !important;
        background: white !important;
        border-radius: 12px !important;
        overflow: hidden !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
        border: 1px solid rgba(0, 0, 0, 0.05) !important;
    }

    .video-thumbnail {
        height: 120px !important;
        overflow: hidden !important;
        position: relative !important;
    }

    .video-thumbnail img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .video-info {
        padding: 0.75rem !important;
    }

    .video-title {
        font-size: 0.8rem !important;
        line-height: 1.3 !important;
        font-weight: 600 !important;
        margin-bottom: 0.5rem !important;
        overflow: hidden !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
    }

    .video-description {
        display: none !important;
    }

    .video-meta {
        font-size: 0.7rem !important;
        color: #6b7280 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 0.25rem !important;
    }

    .video-channel {
        font-weight: 600 !important;
    }

    .video-date {
        opacity: 0.8 !important;
    }

    .video-category {
        font-size: 0.6rem !important;
        padding: 0.2rem 0.4rem !important;
        border-radius: 4px !important;
    }

    .play-button {
        width: 32px !important;
        height: 32px !important;
        font-size: 1rem !important;
    }

    .youtube-prev,
    .youtube-next {
        display: none !important;
    }
}

/* 더 작은 모바일 화면 최적화 */
@media (max-width: 480px) {

    .kakao-slider,
    .info-slider,
    .youtube-slider {
        gap: 0.5rem !important;
        padding: 0 0.75rem !important;
    }

    .kakao-slide,
    .info-slide,
    .youtube-slide {
        width: calc(50% - 0.25rem) !important;
        min-width: calc(50% - 0.25rem) !important;
        max-width: calc(50% - 0.25rem) !important;
    }

    .kakao-card,
    .info-card {
        min-height: 160px !important;
        padding: 1.25rem 0.75rem !important;
    }

    .kakao-card .card-icon,
    .info-card .card-icon,
    .kakao-card .card-icon i,
    .info-card .card-icon i {
        font-size: 2rem !important;
        margin-bottom: 0.5rem !important;
    }

    .kakao-card .card-content h3,
    .info-card .card-content h3 {
        font-size: 0.8rem !important;
        margin-bottom: 0.3rem !important;
    }

    .kakao-card .card-content p,
    .info-card .card-content p {
        font-size: 0.7rem !important;
    }

    .kakao-card .kakao-badge {
        font-size: 0.55rem !important;
        padding: 0.15rem 0.3rem !important;
    }

    .video-thumbnail {
        height: 100px !important;
    }

    .video-title {
        font-size: 0.75rem !important;
    }

    .video-meta {
        font-size: 0.65rem !important;
    }
}

/* 매우 작은 화면 (iPhone SE 등) */
@media (max-width: 375px) {

    .kakao-slider,
    .info-slider,
    .youtube-slider {
        padding: 0 0.5rem !important;
    }

    .kakao-card,
    .info-card {
        min-height: 150px !important;
        padding: 1rem 0.5rem !important;
    }

    .kakao-card .card-content h3,
    .info-card .card-content h3 {
        font-size: 0.75rem !important;
    }

    .kakao-card .card-content p,
    .info-card .card-content p {
        font-size: 0.65rem !important;
    }

    .video-thumbnail {
        height: 90px !important;
    }
}

/* 완벽한 중앙정렬 강제 적용 */
.kakao-card,
.info-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}

.kakao-card *,
.info-card * {
    text-align: center !important;
}

.kakao-card .card-content,
.info-card .card-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
}

.kakao-card .card-content h3,
.info-card .card-content h3,
.kakao-card .card-content p,
.info-card .card-content p {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
}

.kakao-card .card-icon,
.info-card .card-icon {
    display: block !important;
    text-align: center !important;
    margin: 0 auto 1rem auto !important;
    width: 100% !important;
}

/* 스크롤 힌트 추가 */
@media (max-width: 768px) {

    .kakao-slider-container::after,
    .info-slider-container::after,
    .youtube-slider-wrapper::after {
        content: '' !important;
        position: absolute !important;
        top: 0 !important;
        right: 0 !important;
        width: 20px !important;
        height: 100% !important;
        background: linear-gradient(to left, rgba(255, 255, 255, 0.8), transparent) !important;
        pointer-events: none !important;
        z-index: 1 !important;
    }

    .kakao-slider-container,
    .info-slider-container,
    .youtube-slider-wrapper {
        position: relative !important;
    }
}

/*
 오픈채팅과 생활정보 섹션 완벽한 중앙정렬 강제 적용 */
.kakao-card,
.info-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    position: relative !important;
}

/* 모든 텍스트 요소 중앙정렬 강제 */
.kakao-card *:not(.kakao-badge),
.info-card * {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.kakao-card .card-content,
.info-card .card-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
}

.kakao-card .card-content h3,
.info-card .card-content h3 {
    text-align: center !important;
    margin: 0 auto 0.5rem auto !important;
    width: 100% !important;
    display: block !important;
}

.kakao-card .card-content p,
.info-card .card-content p {
    text-align: center !important;
    margin: 0 auto !important;
    width: 100% !important;
    display: block !important;
}

.kakao-card .card-icon,
.info-card .card-icon {
    display: block !important;
    text-align: center !important;
    margin: 0 auto 1rem auto !important;
    width: 100% !important;
    background: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.kakao-card .card-icon i,
.info-card .card-icon i {
    display: inline-block !important;
    text-align: center !important;
    background: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* 중고장터와 쉐어렌트 아이콘 배경 제거 */
.kakao-card.secondhand .card-icon,
.kakao-card.secondhand .card-icon i {
    background: none !important;
    color: #28a745 !important;
}

.kakao-card.sharerent .card-icon,
.kakao-card.sharerent .card-icon i {
    background: none !important;
    color: #17a2b8 !important;
}

/* 유튜브 섹
션 너비 조정 - 다른 섹션과 동일하게 */
.youtube-info-section {
    max-width: 100% !important;
    overflow: hidden !important;
}

.youtube-info-section .section-header {
    max-width: 1200px !important;
    margin: 0 auto 2rem auto !important;
    padding: 0 2rem !important;
}

.youtube-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    overflow: hidden !important;
}

.youtube-slider-wrapper {
    max-width: 100% !important;
    overflow: hidden !important;
}

/* 모바일에서 유튜브 섹션 너비 조정 */
@media (max-width: 768px) {
    .youtube-info-section .section-header {
        margin: 0 0 1.5rem 0 !important;
        padding: 0 1rem !important;
    }

    .youtube-container {
        margin: 0 !important;
        padding: 0 !important;
    }

    .youtube-slider-wrapper {
        padding: 0 1rem !important;
    }
}

/* 최근 게시글 완전 재디자인 - Reddit/GitHub 스타일 */
.recent-posts-container {
    background: #ffffff !important;
    border-radius: 8px !important;
    padding: 0 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
    border: 1px solid #e1e5e9 !important;
    max-width: 1200px !important;
    margin: 1rem auto 0 auto !important;
    overflow: hidden !important;
}

.recent-posts-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
}

/* 게시글 아이템 - Reddit/GitHub 스타일 */
.modern-post-item {
    display: flex !important;
    align-items: flex-start !important;
    gap: 0.75rem !important;
    padding: 0.75rem 1rem !important;
    background: #ffffff !important;
    border: none !important;
    border-bottom: 1px solid #f6f8fa !important;
    transition: background-color 0.15s ease !important;
    position: relative !important;
    cursor: pointer !important;
}

.modern-post-item:last-child {
    border-bottom: none !important;
}

.modern-post-item:hover {
    background: #f6f8fa !important;
}

/* 카테고리 아이콘 - 작고 깔끔하게 */
.post-category {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    min-width: 80px !important;
    flex-shrink: 0 !important;
}

.category-icon {
    width: 20px !important;
    height: 20px !important;
    border-radius: 4px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.7rem !important;
    font-weight: 600 !important;
}

.category-name {
    font-size: 0.7rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    opacity: 0.8 !important;
}

/* 메인 콘텐츠 - GitHub 스타일 */
.post-main {
    flex: 1 !important;
    min-width: 0 !important;
}

.post-title-link {
    text-decoration: none !important;
    color: inherit !important;
}

.post-title {
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    color: #24292f !important;
    margin: 0 0 0.25rem 0 !important;
    line-height: 1.25 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    transition: color 0.15s ease !important;
}

.modern-post-item:hover .post-title {
    color: #0969da !important;
}

/* 메타정보 - GitHub/Reddit 스타일 */
.post-meta {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    font-size: 0.7rem !important;
    color: #656d76 !important;
    margin-top: 0.25rem !important;
}

.post-time,
.post-views {
    display: flex !important;
    align-items: center !important;
    gap: 0.25rem !important;
    font-weight: 400 !important;
}

.post-time i,
.post-views i {
    font-size: 0.65rem !important;
    opacity: 0.7 !important;
}

.post-time::before {
    content: "•" !important;
    margin: 0 0.25rem !important;
    color: #d0d7de !important;
}

.post-time:first-child::before {
    display: none !important;
}

/* 번호 배지 - 주황색 계열로 업데이트 */
.post-number {
    flex-shrink: 0 !important;
    margin-left: auto !important;
}

.number-badge {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 24px !important;
    height: 24px !important;
    background: #fff7ed !important;
    color: #ea580c !important;
    border-radius: 12px !important;
    font-size: 0.7rem !important;
    font-weight: 600 !important;
    transition: all 0.15s ease !important;
    border: 1px solid #fed7aa !important;
}

.modern-post-item:hover .number-badge {
    background: #ff6b35 !important;
    color: white !important;
    border-color: #ff6b35 !important;
    transform: scale(1.05) !important;
}

/* 카테고리별 색상 - 미니멀하게 */
.modern-post-item[data-category="hotdeal"] .category-icon {
    background: #fef3f2 !important;
    color: #dc2626 !important;
}

.modern-post-item[data-category="secondhand"] .category-icon {
    background: #f0fdf4 !important;
    color: #16a34a !important;
}

.modern-post-item[data-category="sharerent"] .category-icon {
    background: #f0f9ff !important;
    color: #0284c7 !important;
}

/* 모바일 최적화 */
@media (max-width: 768px) {
    .recent-posts-container {
        margin: 1rem !important;
        border-radius: 8px !important;
    }

    .modern-post-item {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.5rem !important;
        padding: 0.75rem !important;
        position: relative !important;
    }

    .post-category {
        flex-direction: row !important;
        width: 100% !important;
        justify-content: flex-start !important;
        min-width: auto !important;
    }

    .category-icon {
        width: 18px !important;
        height: 18px !important;
        font-size: 0.65rem !important;
    }

    .post-main {
        width: 100% !important;
    }

    .post-title {
        font-size: 0.85rem !important;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: initial !important;
        line-height: 1.3 !important;
    }

    .post-meta {
        gap: 0.4rem !important;
        font-size: 0.65rem !important;
        flex-wrap: wrap !important;
    }

    .post-number {
        position: absolute !important;
        top: 0.75rem !important;
        right: 0.75rem !important;
        margin-left: 0 !important;
    }

    .number-badge {
        width: 20px !important;
        height: 20px !important;
        font-size: 0.65rem !important;
    }
}

/* 빈 상태 스타일 */
.recent-posts-container .text-center {
    padding: 2rem !important;
    color: #656d76 !important;
    background: #f6f8fa !important;
    border-radius: 6px !important;
    margin: 1rem !important;
    border: 1px solid #d0d7de !important;
    text-align: center !important;
}

.recent-posts-container .text-center i {
    font-size: 1.5rem !important;
    margin-bottom: 0.5rem !important;
    opacity: 0.6 !important;
    color: #656d76 !important;
}

/* 
모바일 최근 게시글 최적화 - 공간 절약형 한 줄 디자인 */
@media (max-width: 768px) {
    .recent-posts-container {
        margin: 1rem !important;
        border-radius: 8px !important;
    }

    .modern-post-item {
        flex-direction: row !important;
        align-items: center !important;
        gap: 0.75rem !important;
        padding: 0.75rem !important;
        position: relative !important;
        min-height: auto !important;
    }

    .post-category {
        flex-direction: column !important;
        align-items: center !important;
        min-width: 50px !important;
        flex-shrink: 0 !important;
        gap: 0.25rem !important;
    }

    .category-icon {
        width: 16px !important;
        height: 16px !important;
        font-size: 0.6rem !important;
    }

    .category-name {
        font-size: 0.6rem !important;
        text-align: center !important;
        line-height: 1 !important;
    }

    .post-main {
        flex: 1 !important;
        min-width: 0 !important;
    }

    .post-title {
        font-size: 0.85rem !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        line-height: 1.3 !important;
        margin-bottom: 0.25rem !important;
    }

    /* 메타정보 한 줄로 정리 - 공간 절약 */
    .post-meta {
        display: flex !important;
        align-items: center !important;
        gap: 0.5rem !important;
        font-size: 0.65rem !important;
        flex-wrap: nowrap !important;
        white-space: nowrap !important;
        overflow: hidden !important;
    }

    .post-time,
    .post-views {
        display: inline-flex !important;
        align-items: center !important;
        gap: 0.2rem !important;
        flex-shrink: 0 !important;
    }

    .post-time::before {
        content: "•" !important;
        margin: 0 0.25rem !important;
        color: #d0d7de !important;
    }

    .post-time:first-child::before {
        display: none !important;
    }

    .post-number {
        flex-shrink: 0 !important;
        margin-left: 0.5rem !important;
    }

    .number-badge {
        width: 20px !important;
        height: 20px !important;
        font-size: 0.65rem !important;
    }
}

/* 더 작은 모바일 화면 최적화 */
@media (max-width: 480px) {
    .modern-post-item {
        padding: 0.6rem !important;
        gap: 0.6rem !important;
    }

    .post-category {
        min-width: 45px !important;
    }

    .category-icon {
        width: 14px !important;
        height: 14px !important;
        font-size: 0.55rem !important;
    }

    .category-name {
        font-size: 0.55rem !important;
    }

    .post-title {
        font-size: 0.8rem !important;
    }

    .post-meta {
        font-size: 0.6rem !important;
        gap: 0.4rem !important;
    }

    .number-badge {
        width: 18px !important;
        height: 18px !important;
        font-size: 0.6rem !important;
    }
}

/* 매우 작은 화면 (iPhone SE 등) */
@media (max-width: 375px) {
    .modern-post-item {
        padding: 0.5rem !important;
        gap: 0.5rem !important;
    }

    .post-category {
        min-width: 40px !important;
    }

    .category-icon {
        width: 12px !important;
        height: 12px !important;
        font-size: 0.5rem !important;
    }

    .category-name {
        font-size: 0.5rem !important;
    }

    .post-title {
        font-size: 0.75rem !important;
    }

    .post-meta {
        font-size: 0.55rem !important;
        gap: 0.3rem !important;
    }

    .number-badge {
        width: 16px !important;
        height: 16px !important;
        font-size: 0.55rem !important;
    }
}

/*
 최근 게시글 정보 섹션 */
.recent-posts-info-section {
    margin: 3rem 0;
    padding: 0 1rem;
}

.recent-posts-info-section .section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.recent-posts-info-section .section-title {
    font-size: 2rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.recent-posts-info-section .section-subtitle {
    font-size: 1rem;
    color: #6c757d;
    line-height: 1.6;
}

.recent-posts-container {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f3f4;
    overflow: hidden;
}

.recent-posts-list {
    padding: 0;
}

.modern-post-item {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #f8f9fa;
    transition: all 0.2s ease;
    gap: 1rem;
    position: relative;
}

.modern-post-item:last-child {
    border-bottom: none;
}

.modern-post-item:hover {
    background: #f8f9fa;
    transform: translateX(4px);
}

.modern-post-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--category-color, #ff6b35);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.modern-post-item:hover::before {
    transform: scaleY(1);
}

.post-category {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 120px;
    flex-shrink: 0;
}

.category-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 600;
}

.category-name {
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.post-main {
    flex: 1;
    min-width: 0;
}

.post-title-link {
    text-decoration: none;
    color: inherit;
}

.post-title-link:hover {
    text-decoration: none;
    color: inherit;
}

.post-title {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 0.3rem 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.75rem;
    color: #6c757d;
}

.post-time,
.post-views {
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.post-number {
    flex-shrink: 0;
}

.number-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: white;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
}

/* 모바일 반응형 - 최근 게시글 */
@media (max-width: 768px) {
    .recent-posts-info-section {
        margin: 2rem 0;
        padding: 0 0.5rem;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .recent-posts-info-section .section-header {
        margin-bottom: 1.5rem;
        text-align: center;
    }

    .recent-posts-info-section .section-title {
        font-size: 1.5rem;
        color: #2c3e50 !important;
        font-weight: 700;
        margin-bottom: 0.5rem;
    }

    .recent-posts-info-section .section-subtitle {
        font-size: 0.9rem;
        padding: 0 0.5rem;
        color: #6c757d !important;
    }

    .recent-posts-container {
        border-radius: 12px;
        margin: 0 0.5rem;
        background: white !important;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1) !important;
        border: 1px solid #e9ecef !important;
        display: block !important;
        visibility: visible !important;
    }

    .recent-posts-list {
        display: block !important;
        visibility: visible !important;
    }

    .modern-post-item {
        padding: 1rem !important;
        gap: 0.8rem;
        flex-wrap: nowrap;
        display: flex !important;
        visibility: visible !important;
        background: white !important;
        border-bottom: 1px solid #f1f3f4 !important;
        min-height: 60px;
    }

    .modern-post-item:hover {
        background: #f8f9fa !important;
    }

    .post-category {
        min-width: 60px;
        gap: 0.3rem;
        display: flex !important;
        align-items: center;
        flex-shrink: 0;
    }

    .category-icon {
        width: 28px !important;
        height: 28px !important;
        font-size: 0.8rem !important;
        border-radius: 6px;
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    .category-name {
        font-size: 0.65rem;
        display: none;
        /* 모바일에서는 카테고리명 숨김 */
    }

    .post-main {
        flex: 1;
        min-width: 0;
        display: block !important;
    }

    .post-title {
        font-size: 0.9rem !important;
        -webkit-line-clamp: 2;
        margin-bottom: 0.3rem;
        color: #2c3e50 !important;
        font-weight: 600;
        line-height: 1.3;
    }

    .post-meta {
        font-size: 0.7rem !important;
        gap: 0.5rem;
        color: #6c757d !important;
        display: flex !important;
        align-items: center;
    }

    .post-number {
        flex-shrink: 0;
        display: flex !important;
        align-items: center;
    }

    .number-badge {
        width: 22px !important;
        height: 22px !important;
        font-size: 0.7rem !important;
        background: linear-gradient(135deg, #ff6b35, #ff8c42) !important;
        color: white !important;
        border-radius: 50%;
        display: flex !important;
        align-items: center;
        justify-content: center;
        font-weight: 700;
    }
}

/* 초소형 모바일 */
@media (max-width: 480px) {
    .recent-posts-info-section {
        padding: 0 0.25rem;
        margin: 1.5rem 0;
    }

    .recent-posts-info-section .section-title {
        font-size: 1.3rem !important;
    }

    .recent-posts-container {
        margin: 0 0.25rem;
        border-radius: 8px;
    }

    .modern-post-item {
        padding: 0.8rem !important;
        gap: 0.6rem;
        min-height: 55px;
    }

    .post-category {
        min-width: 50px;
    }

    .category-icon {
        width: 24px !important;
        height: 24px !important;
        font-size: 0.7rem !important;
    }

    .post-title {
        font-size: 0.85rem !important;
        line-height: 1.2;
    }

    .post-meta {
        font-size: 0.65rem !important;
        gap: 0.4rem;
    }

    .number-badge {
        width: 20px !important;
        height: 20px !important;
        font-size: 0.65rem !important;
    }
}

/* 매우 작은 화면 (iPhone SE 등) */
@media (max-width: 375px) {
    .recent-posts-info-section {
        margin: 1rem 0 !important;
    }

    .recent-posts-info-section .section-title {
        font-size: 1.2rem !important;
    }

    .recent-posts-info-section .section-subtitle {
        font-size: 0.8rem !important;
    }

    .modern-post-item {
        padding: 0.7rem !important;
        gap: 0.5rem !important;
        min-height: 50px;
    }

    .post-category {
        min-width: 45px !important;
    }

    .category-icon {
        width: 20px !important;
        height: 20px !important;
        font-size: 0.6rem !important;
    }

    .category-name {
        font-size: 0.5rem !important;
        display: none !important;
    }

    .post-title {
        font-size: 0.8rem !important;
        line-height: 1.2;
        -webkit-line-clamp: 1;
    }

    .post-meta {
        font-size: 0.6rem !important;
        gap: 0.3rem !important;
    }

    .number-badge {
        width: 18px !important;
        height: 18px !important;
        font-size: 0.6rem !important;
    }
}

/* 빈 상태 스타일 */
.recent-posts-container .text-center {
    padding: 3rem 1rem;
    color: #6c757d;
}

.recent-posts-container .text-center i {
    font-size: 2rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* 모바일 
최근 게시글 가시성 보장 */
@media (max-width: 768px) {

    /* 섹션 전체 가시성 강제 */
    .recent-posts-info-section {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        z-index: 1 !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: visible !important;
    }

    /* 컨테이너 가시성 강제 */
    .recent-posts-container {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
        max-width: 100% !important;
        position: relative !important;
    }

    /* 리스트 가시성 강제 */
    .recent-posts-list {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
    }

    /* 각 게시글 아이템 가시성 강제 */
    .modern-post-item {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
        position: relative !important;
        background-color: white !important;
        border-bottom: 1px solid #f1f3f4 !important;
    }

    /* 제목과 메타 정보 가시성 */
    .post-title,
    .post-meta,
    .post-category,
    .post-number {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .post-category {
        display: flex !important;
    }

    .post-meta {
        display: flex !important;
    }

    .post-number {
        display: flex !important;
    }

    /* 빈 상태 메시지도 보이도록 */
    .recent-posts-container .text-center {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

/* 디버깅용 - 모바일에서 최근 게시글 확인 */
@media (max-width: 768px) {
    .recent-posts-info-section {
        border: 2px solid #ff6b35 !important;
        background: rgba(255, 107, 53, 0.05) !important;
    }

    .recent-posts-container {
        border: 2px solid #28a745 !important;
        background: rgba(40, 167, 69, 0.05) !important;
    }

    .modern-post-item {
        border-left: 3px solid #17a2b8 !important;
        background: rgba(23, 162, 184, 0.02) !important;
    }

    .recent-posts-info-section .section-title::after {
        content: " 📱";
        color: #ff6b35;
    }
}

/* 추가 모바일 최적화 */
@media (max-width: 768px) {

    /* 터치 친화적 크기 */
    .modern-post-item {
        min-height: 60px !important;
        cursor: pointer;
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
    }

    /* 터치 반응 개선 */
    .post-title-link {
        display: block !important;
        padding: 0.2rem 0;
        -webkit-tap-highlight-color: transparent;
    }

    /* 스크롤 성능 개선 */
    .recent-posts-list {
        -webkit-overflow-scrolling: touch;
        transform: translateZ(0);
        will-change: scroll-position;
    }

    /* 폰트 렌더링 최적화 */
    .post-title {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-rendering: optimizeLegibility;
    }
}

/* 모바
일 섹션 순서 및 레이아웃 보장 */
@media (max-width: 768px) {

    /* 메인 컨테이너 */
    .container {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* 각 섹션의 z-index 설정 */
    .hero-section-modern {
        position: relative;
        z-index: 10;
    }

    .kakao-openchat-section {
        position: relative;
        z-index: 9;
    }

    .melbourne-info-section {
        position: relative;
        z-index: 8;
    }

    .recent-posts-info-section {
        position: relative !important;
        z-index: 7 !important;
        clear: both !important;
        float: none !important;
        margin: 2rem 0 !important;
        padding: 0 0.5rem !important;
        background: transparent !important;
    }

    .youtube-info-section {
        position: relative;
        z-index: 6;
    }

    /* 최근 게시글 섹션 강제 표시 */
    .recent-posts-info-section * {
        box-sizing: border-box !important;
    }

    /* 섹션 간 여백 확보 */
    .recent-posts-info-section {
        margin-top: 3rem !important;
        margin-bottom: 3rem !important;
    }

    /* 컨테이너 배경 강조 (임시 디버깅용) */
    .recent-posts-container {
        background: white !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
        border: 1px solid #e9ecef !important;
        border-radius: 12px !important;
        margin: 0 0.5rem !important;
        overflow: visible !important;
    }

    /* 제목 강조 */
    .recent-posts-info-section .section-title {
        color: #2c3e50 !important;
        font-weight: 800 !important;
        text-align: center !important;
        margin-bottom: 0.5rem !important;
    }

    .recent-posts-info-section .section-subtitle {
        color: #6c757d !important;
        text-align: center !important;
        margin-bottom: 2rem !important;
    }
}

/* 초소형 화면에서 섹션 간격 조정 */
@media (max-width: 480px) {
    .recent-posts-info-section {
        margin-top: 2rem !important;
        margin-bottom: 2rem !important;
        padding: 0 0.25rem !important;
    }

    .recent-posts-container {
        margin: 0 0.25rem !important;
    }
}

/* 매우 작은 화면에서 섹션 간격 조정 */
@media (max-width: 375px) {
    .recent-posts-info-section {
        margin-top: 1.5rem !important;
        margin-bottom: 1.5rem !important;
    }
}

/* ======
==================================
   최근 게시글 섹션 - 최종 스타일 (모든 이전 스타일 덮어쓰기)
   ======================================== */

/* 최근 게시글 섹션 헤더 */
.recent-posts-info-section .section-header {
    text-align: center !important;
    margin-bottom: 2rem !important;
}

.recent-posts-info-section .section-title {
    font-size: 1.8rem !important;
    font-weight: 700 !important;
    color: #2c3e50 !important;
    margin-bottom: 0.5rem !important;
}

.recent-posts-info-section .section-title i {
    color: #ff6b35 !important;
}

.recent-posts-info-section .section-subtitle {
    font-size: 1rem !important;
    color: #6c757d !important;
}

/* 카테고리 영역 - 최종 스타일 */
.recent-posts-list .modern-post-item .post-category {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.25rem !important;
    flex-shrink: 0 !important;
    min-width: 100px !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 카테고리 아이콘 - 최종 스타일 */
.recent-posts-list .modern-post-item .category-icon {
    width: 34px !important;
    height: 34px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
    font-size: 1rem !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 카테고리 이름 - 최종 스타일 */
.recent-posts-list .modern-post-item .category-name {
    font-weight: 600 !important;
    font-size: 0.8rem !important;
    white-space: nowrap !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
}

/* 모바일 최적화 */
@media (max-width: 768px) {
    .recent-posts-info-section .section-title {
        font-size: 1.5rem !important;
    }

    .recent-posts-info-section .section-subtitle {
        font-size: 0.9rem !important;
    }

    .recent-posts-list .modern-post-item .post-category {
        gap: 0.25rem !important;
        min-width: 95px !important;
    }

    .recent-posts-list .modern-post-item .category-icon {
        width: 32px !important;
        height: 32px !important;
        font-size: 0.95rem !important;
    }

    .recent-posts-list .modern-post-item .category-name {
        font-size: 0.75rem !important;
    }
}

@media (max-width: 480px) {
    .recent-posts-info-section .section-title {
        font-size: 1.3rem !important;
    }

    .recent-posts-list .modern-post-item .post-category {
        gap: 0.2rem !important;
        min-width: 90px !important;
    }

    .recent-posts-list .modern-post-item .category-icon {
        width: 30px !important;
        height: 30px !important;
        font-size: 0.9rem !important;
    }

    .recent-posts-list .modern-post-item .category-name {
        font-size: 0.7rem !important;
    }
}

/* 온라인
 게시판 섹션 스타일 */
.online-board-section {
    margin: 4rem 0;
    padding: 3rem 0;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.03), rgba(255, 140, 66, 0.02));
}

.online-board-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.online-section-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border-left: 4px solid;
    transition: all 0.3s ease;
}

.online-section-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.section-card-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f1f3f4;
}

.section-icon {
    font-size: 2rem;
}

.section-card-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
}

.section-card-body {
    min-height: 120px;
}

.online-post-item {
    display: block;
    padding: 0.8rem 0;
    border-bottom: 1px solid #f1f3f4;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.online-post-item:last-child {
    border-bottom: none;
}

.online-post-item:hover {
    background: #f8f9fa;
    padding-left: 0.5rem;
    border-radius: 6px;
}

.post-title-small {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.4rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-meta-small {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: #6c757d;
}

.post-meta-small span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.section-card-footer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f1f3f4;
}

.view-more-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #ff6b35;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.view-more-link:hover {
    color: #ff8c42;
    gap: 0.8rem;
}

@media (max-width: 768px) {
    .online-board-grid {
        grid-template-columns: 1fr;
    }

    .online-board-section {
        padding: 2rem 0;
        margin: 2rem 0;
    }
}