/* 기본 스타일 리셋 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 유튜브 동영상 스타일 */
.youtube-video-container {
    margin-bottom: 20px;
}

.youtube-video {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    /* 16:9 비율 */
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.youtube-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.youtube-thumbnail {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    /* 16:9 비율 */
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}

.youtube-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.youtube-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: 24px;
    transition: all 0.3s ease;
}

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

.media-type-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.youtube-badge {
    background: rgba(255, 0, 0, 0.9);
}

.image-badge {
    background: rgba(0, 0, 0, 0.7);
}

.existing-youtube-section {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.existing-youtube-title {
    margin-bottom: 15px;
    color: #333;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.existing-youtube-video {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    /* 16:9 비율 */
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 10px;
}

.existing-youtube-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.existing-youtube-note {
    color: #666;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 관리자 대시보드 유튜브 스타일 */
.admin-youtube-thumbnail {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    /* 16:9 비율 */
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}

.admin-youtube-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-youtube-thumbnail .youtube-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 0, 0, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
}

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

.content-info {
    margin-top: 10px;
}

.content-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.content-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

.youtube-content-badge {
    background: rgba(255, 0, 0, 0.1);
    color: #d32f2f;
    border: 1px solid rgba(255, 0, 0, 0.2);
}

.image-content-badge {
    background: rgba(33, 150, 243, 0.1);
    color: #1976d2;
    border: 1px solid rgba(33, 150, 243, 0.2);
}

.seo-content-badge {
    background: rgba(76, 175, 80, 0.1);
    color: #388e3c;
    border: 1px solid rgba(76, 175, 80, 0.2);
}

/* 검색 기능 스타일 */
.search-section {
    margin-bottom: 30px;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* 검색 토글 애니메이션 */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
        max-height: 0;
    }

    to {
        opacity: 1;
        transform: translateY(0);
        max-height: 200px;
    }
}

@keyframes slideUp {
    from {
        opacity: 1;
        transform: translateY(0);
        max-height: 200px;
    }

    to {
        opacity: 0;
        transform: translateY(-20px);
        max-height: 0;
    }
}

.search-form {
    width: 100%;
}

.search-input-group {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.search-input {
    flex: 1;
    min-width: 250px;
    padding: 12px 16px;
    border: 2px solid #e1e1e1;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #e91e63;
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
}

.search-button {
    padding: 12px 20px;
    background: #e91e63;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-button:hover {
    background: #c2185b;
    transform: translateY(-1px);
}

.clear-search-button {
    padding: 12px 16px;
    background: #6c757d;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.clear-search-button:hover {
    background: #5a6268;
    transform: translateY(-1px);
}

/* 검색 토글 버튼 스타일 */
.search-toggle-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin: 0;
    font-family: inherit;
    font-size: inherit;
}

.search-toggle-btn:hover {
    color: #e91e63;
}

/* 검색 닫기 버튼 스타일 */
.close-search-button {
    padding: 12px 16px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.close-search-button:hover {
    background: #c82333;
    transform: translateY(-1px);
}

/* 관리자 검색 스타일 */
.management-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.admin-search-section {
    flex: 1;
    max-width: 500px;
}

.admin-search-form {
    width: 100%;
}

.admin-search-input-group {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.admin-search-input {
    flex: 1;
    min-width: 200px;
    padding: 10px 14px;
    border: 2px solid #e1e1e1;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.admin-search-input:focus {
    outline: none;
    border-color: #e91e63;
    box-shadow: 0 0 0 2px rgba(233, 30, 99, 0.1);
}

.admin-search-button {
    padding: 10px 16px;
    background: #e91e63;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.admin-search-button:hover {
    background: #c2185b;
    transform: translateY(-1px);
}

.admin-clear-search-button {
    padding: 10px 12px;
    background: #6c757d;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 12px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.admin-clear-search-button:hover {
    background: #5a6268;
    transform: translateY(-1px);
}

/* 반응형 검색 */
@media (max-width: 768px) {
    .search-input-group {
        flex-direction: column;
        align-items: stretch;
    }

    .search-input {
        min-width: auto;
    }

    .management-header {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-search-section {
        max-width: none;
    }

    .admin-search-input-group {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-search-input {
        min-width: auto;
    }
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
}

/* 네비게이션 바 */
.navbar {
    background: #fff;
    border-bottom: 1px solid #e1e1e1;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.nav-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-logo i {
    margin-right: 8px;
    color: #e91e63;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
    padding: 5px 10px;
    transition: color 0.3s ease;
}

.mobile-menu-toggle:hover {
    color: #e91e63;
}

.nav-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #666;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #e91e63;
}

.nav-link i {
    margin-right: 5px;
}

/* 메인 컨텐츠 */
.main-content {
    min-height: calc(100vh - 120px);
    padding: 20px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 플래시 메시지 */
.flash-messages {
    max-width: 1200px;
    margin: 0 auto 20px;
    padding: 0 20px;
}

.flash-message {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.flash-message i {
    margin-right: 8px;
}

.flash-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.flash-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.flash-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* 포스팅 그리드 */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* 포스팅 카드 */
.post-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.post-image {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 133.33%;
    /* 3:4 비율 (4/3 * 100) */
    overflow: hidden;
}

.post-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-card:hover .post-image img {
    transform: scale(1.05);
}

.post-title-section {
    padding: 20px 20px 15px 20px;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
}

.post-content {
    padding: 15px 20px 20px 20px;
    background: #fff;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0;
    color: #333;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-description {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.post-meta {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}

.post-date {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 0.85rem;
}

.post-date i {
    margin-right: 5px;
    color: #e91e63;
}

/* 이미지 개수 배지 */
.image-count-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 8px;
    border-radius: 15px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 3px;
    z-index: 2;
}


/* 빈 상태 */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: #666;
}

.empty-icon {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 20px;
}

.empty-state h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #333;
}

.empty-state p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* 필터 섹션 스타일 */
.filter-section {
    margin-bottom: 30px;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.filter-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.filter-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-title i {
    color: #e91e63;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #f5f5f5;
    color: #666;
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.filter-btn:hover {
    background: #e9e9e9;
    color: #333;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.filter-btn.active {
    background: #e91e63;
    color: white;
    border-color: #e91e63;
}

.filter-btn.active:hover {
    background: #c2185b;
    border-color: #c2185b;
}

.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-btn {
    display: inline-block;
    padding: 8px 16px;
    background: #f0f0f0;
    color: #666;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.tag-btn:hover {
    background: #e0e0e0;
    color: #333;
    transform: translateY(-1px);
}

.tag-btn.active {
    background: #e91e63;
    color: white;
    border-color: #e91e63;
}

.tag-btn.active:hover {
    background: #c2185b;
    border-color: #c2185b;
}

/* 버튼 스타일 */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn i {
    margin-right: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, #e91e63, #f06292);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #c2185b, #e91e63);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

.btn-secondary {
    background: #f5f5f5;
    color: #666;
    border: 1px solid #ddd;
}

.btn-secondary:hover {
    background: #e9e9e9;
    color: #333;
}

.btn-warning {
    background: linear-gradient(135deg, #ffc107, #ffca2c);
    color: #212529;
}

.btn-warning:hover {
    background: linear-gradient(135deg, #e0a800, #ffc107);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.btn-danger {
    background: linear-gradient(135deg, #dc3545, #e74c3c);
    color: white;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #c82333, #dc3545);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

/* 포스팅 생성 폼 */
.create-post-form {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header h1 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 10px;
}

.form-header h1 i {
    color: #e91e63;
    margin-right: 10px;
}

.form-header p {
    color: #666;
    font-size: 1.1rem;
}

.post-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 1rem;
}

.form-label i {
    margin-right: 8px;
    color: #e91e63;
}

.form-input,
.form-textarea {
    padding: 12px 16px;
    border: 2px solid #e1e1e1;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #e91e63;
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.char-counter {
    text-align: right;
    font-size: 0.85rem;
    color: #666;
    margin-top: 5px;
}

/* 파일 업로드 */
.file-upload-area {
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fafafa;
}

.file-upload-area:hover {
    border-color: #e91e63;
    background: #f8f8f8;
}

.file-upload-area.dragover {
    border-color: #e91e63;
    background: #f0f0f0;
}

.upload-content i {
    font-size: 3rem;
    color: #ddd;
    margin-bottom: 15px;
}

.upload-content p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 5px;
}

.upload-content small {
    color: #999;
}

.file-input {
    display: none;
}

/* 여러 이미지 미리보기 */
.images-preview {
    margin-top: 15px;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
    margin-bottom: 15px;
}

.preview-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1;
    background: #f5f5f5;
}

.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.remove-image {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    font-size: 0.8rem;
}

.remove-image:hover {
    background: rgba(0, 0, 0, 0.9);
}

.remove-all-images {
    background: #dc3545;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: background 0.3s ease;
}

.remove-all-images:hover {
    background: #c82333;
}

/* Alt 텍스트 입력 필드 */
.alt-texts-container {
    margin-top: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.alt-text-input {
    margin-bottom: 20px;
}

.alt-text-input:last-child {
    margin-bottom: 0;
}

.alt-text-label {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.alt-text-label i {
    margin-right: 8px;
    color: #17a2b8;
}

.alt-text-field {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #e1e1e1;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}

.alt-text-field:focus {
    outline: none;
    border-color: #17a2b8;
    box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.25);
}

.alt-text-help {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #6c757d;
    font-size: 0.8rem;
    margin-top: 5px;
}

.alt-text-help i {
    color: #17a2b8;
    font-size: 0.75rem;
}

/* 기존 이미지 섹션 */
.existing-images-section {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 25px;
    margin: 30px 0;
}

.existing-images-title {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.existing-images-title i {
    color: #6c757d;
}

.existing-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 15px;
}

.existing-image-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #dee2e6;
    transition: transform 0.2s ease;
    position: relative;
    height: 0;
    padding-bottom: 133.33%;
    /* 3:4 비율 */
}

.existing-image-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.delete-image-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(220, 53, 69, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    opacity: 0;
    z-index: 10;
}

.existing-image-item:hover .delete-image-btn {
    opacity: 1;
}

.delete-image-btn:hover {
    background: rgba(220, 53, 69, 1);
    transform: scale(1.1);
}

.existing-image-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.image-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
}

.image-alt {
    font-size: 0.85rem;
    color: white;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
}

.existing-images-note {
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.existing-images-note i {
    color: #17a2b8;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 20px;
}

/* 포스팅 상세 페이지 */
.post-container {
    width: 100%;
    padding: 0;
    margin: 0;
}

.post-detail {
    width: 80%;
    max-width: 100%;
    margin: 0 auto;
}

.post-detail-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 40% 60%;
    height: calc(100vh - 140px);
    align-items: stretch;
}

.post-detail-images {
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* 단일 이미지 */
/* 단일 이미지 */
.single-image {
    width: 100%;
    height: 100%;
    padding-bottom: 0;
    position: relative;
    overflow: hidden;
    background: #000;
}

.single-image img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* 이미지 갤러리 */
.image-gallery {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.main-image-container {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    overflow: hidden;
}

.main-image {
    width: 100%;
    height: 100%;
    padding-bottom: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image img {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

/* 데스크탑용 네비게이션 버튼 */
.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 10;
    opacity: 0;
}

.nav-button:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.main-image-container:hover .nav-button {
    opacity: 1;
}

.nav-prev {
    left: 20px;
}

.nav-next {
    right: 20px;
}

/* 모바일용 이미지 인디케이터 (점 표시) */
.image-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.indicator-dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.indicator-dot.active {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.3);
}

/* 반응형 클래스 */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

/* 이미지 카운터 */
.image-counter {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 10;
}


.post-detail-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow-y: auto;
    height: 100%;
}

.post-detail-header {
    margin-bottom: 30px;
}

.post-detail-title {
    font-size: 2rem;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.3;
}

.post-detail-meta {
    display: flex;
    align-items: center;
    color: #666;
}

.post-detail-date {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.post-detail-date i {
    margin-right: 5px;
    color: #e91e63;
}

.post-detail-description {
    flex-grow: 1;
    margin-bottom: 30px;
}

.post-detail-description p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
}

div.post-detail-description h2 {
    font-size: 1.5rem;
    line-height: 1.5;
    color: #333;
    font-weight: 600;
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e0e0e0;
}

.post-detail-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

/* 이전/다음 글 네비게이션 */
.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 40px 0;
    padding-top: 30px;
    border-top: 2px solid #e0e0e0;
}

.nav-post {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.nav-post:hover {
    background: #fff;
    border-color: #e91e63;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.15);
}

.nav-post.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f0f0f0;
}

.nav-post.disabled:hover {
    transform: none;
    border-color: transparent;
    box-shadow: none;
}

.nav-post-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #e91e63;
    color: white;
    border-radius: 50%;
    font-size: 1rem;
    flex-shrink: 0;
}

.nav-post:hover .nav-post-icon {
    background: #c2185b;
    transform: scale(1.1);
}

.nav-post-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.nav-post-label {
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.nav-post.nav-next {
    text-align: right;
}

.nav-post.nav-next .nav-post-content {
    align-items: flex-end;
}

/* 관련 글 섹션 */
.related-posts-section {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid #e0e0e0;
}

.related-posts-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.related-posts-title i {
    color: #e91e63;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.related-post-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.related-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.related-post-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f5f5f5;
    position: relative;
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-post-card:hover .related-post-image img {
    transform: scale(1.05);
}

.related-post-image.no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e0e0e0;
    color: #999;
    font-size: 3rem;
}

.related-post-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

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

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

.related-post-date {
    font-size: 0.85rem;
    color: #999;
    margin-top: auto;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .post-navigation {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .nav-post {
        padding: 15px;
    }

    .nav-post.nav-next {
        text-align: left;
    }

    .nav-post.nav-next .nav-post-content {
        align-items: flex-start;
    }

    .related-posts-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }

    .related-post-image {
        height: 150px;
    }

    .related-post-content {
        padding: 15px;
    }

    .related-post-title {
        font-size: 1rem;
    }
}

/* 푸터 */
.footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

.footer-content p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* 관리자 페이지 스타일 */
.admin-login-form {
    max-width: 400px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.login-header {
    text-align: center;
    margin-bottom: 40px;
}

.admin-icon {
    font-size: 4rem;
    color: #e91e63;
    margin-bottom: 20px;
}

.login-header h1 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 10px;
}

.login-header p {
    color: #666;
    font-size: 1.1rem;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.login-info {
    margin-top: 30px;
}

.info-box {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-box i {
    color: #17a2b8;
    font-size: 1.2rem;
}

.info-box p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

/* 관리자 대시보드 */
.admin-dashboard {
    max-width: 1200px;
    margin: 0 auto;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.admin-welcome h1 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 5px;
}

.admin-welcome h1 i {
    color: #e91e63;
    margin-right: 10px;
}

.admin-welcome p {
    color: #666;
    font-size: 1.1rem;
}

.admin-actions {
    display: flex;
    gap: 15px;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-icon {
    font-size: 3rem;
    color: #e91e63;
}

.stat-info h3 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 5px;
}

.stat-info p {
    color: #666;
    font-size: 1rem;
    margin: 0;
}

.posts-management {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.posts-management h2 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 30px;
}

.posts-management h2 i {
    color: #e91e63;
    margin-right: 10px;
}

.admin-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.admin-post-card {
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.admin-post-image {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 133.33%;
    /* 3:4 비율 */
    overflow: hidden;
}

.admin-post-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-post-content {
    padding: 20px;
}

.admin-post-title {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.admin-post-description {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.admin-post-meta {
    margin-bottom: 15px;
}

.admin-post-actions {
    display: flex;
    gap: 10px;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.admin-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, #e91e63, #f06292);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 10px;
}

/* SEO 섹션 스타일 */
.seo-section {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 25px;
    margin: 30px 0;
}

.seo-title {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.seo-title i {
    color: #28a745;
}

.seo-description {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.form-help {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #6c757d;
    font-size: 0.85rem;
    margin-top: 5px;
}

.form-help i {
    color: #17a2b8;
}

/* SEO 카운터 색상 */
#meta-title-count {
    color: #666;
}

#meta-desc-count {
    color: #666;
}

/* SEO 필드 강조 */
.seo-section .form-input:focus,
.seo-section .form-textarea:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

/* SEO 정보 표시 */
.seo-info {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
}

.seo-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.seo-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: #e8f5e8;
    color: #28a745;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid #c3e6c3;
}

.seo-badge i {
    font-size: 0.7rem;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 15px;
        position: relative;
    }

    .nav-logo {
        flex: 1;
        min-width: 0;
    }

    .nav-logo a {
        font-size: 1.2rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        gap: 0;
        padding: 0;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        z-index: 999;
    }

    .nav-menu.active {
        max-height: 500px;
    }

    .nav-link {
        padding: 15px 20px;
        border-bottom: 1px solid #f0f0f0;
        width: 100%;
        justify-content: flex-start;
    }

    .nav-link span {
        display: inline;
        margin-left: 10px;
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .filter-section {
        padding: 15px;
        margin-bottom: 20px;
    }

    .filter-buttons {
        gap: 8px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .tag-btn {
        padding: 6px 12px;
        font-size: 0.85rem;
    }

    .posts-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 15px;
    }

    .post-content {
        padding: 15px;
    }

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

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

    .create-post-form {
        margin: 0 15px;
        padding: 30px 20px;
    }

    .post-detail {
        width: 100%;
    }

    .post-detail-card {
        grid-template-columns: 1fr;
        height: auto;
    }

    .post-detail-content {
        padding: 30px 20px;
        overflow-y: visible;
        height: auto;
    }

    .single-image,
    .main-image {
        height: 0;
        padding-bottom: 133.33%;
    }

    .single-image img,
    .main-image img {
        position: absolute;
        object-fit: cover;
    }

    .post-detail-title {
        font-size: 1.5rem;
    }

    .form-actions {
        flex-direction: column;
    }

    .post-detail-actions {
        flex-direction: column;
    }

    /* 관리자 페이지 반응형 */
    .dashboard-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .admin-actions {
        justify-content: center;
    }

    .dashboard-stats {
        grid-template-columns: 1fr;
    }

    .admin-posts-grid {
        grid-template-columns: 1fr;
    }

    /* 모바일 이미지 갤러리 */
    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
    }

    .image-indicators {
        bottom: 15px;
        gap: 6px;
    }

    .indicator-dot {
        width: 6px;
        height: 6px;
    }

    .image-counter {
        top: 10px;
        right: 10px;
        padding: 6px 10px;
        font-size: 0.8rem;
    }

}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 10px;
    }

    .nav-logo a {
        font-size: 1.1rem;
    }

    .mobile-menu-toggle {
        font-size: 1.3rem;
        padding: 5px 8px;
    }

    .nav-link {
        padding: 12px 15px;
        font-size: 0.9rem;
    }

    .posts-grid {
        grid-template-columns: 1fr;
    }

    .post-image {
        height: 200px;
    }

    .create-post-form {
        padding: 20px 15px;
    }

    .form-header h1 {
        font-size: 1.5rem;
    }
}

/* 구글 애드센스 스타일 */
.adsense-container {
    margin: 20px 0;
    text-align: center;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    border: 1px solid #e9ecef;
}

.adsense-container.adsense-banner {
    margin: 30px 0;
}

.adsense-container.adsense-sidebar {
    position: sticky;
    top: 20px;
    margin: 0;
}

.adsense-container.adsense-inline {
    margin: 15px 0;
    background: transparent;
    border: none;
    padding: 10px 0;
}

.adsense-container.adsense-footer {
    margin-top: 40px;
    background: #f1f3f4;
    border: 1px solid #dadce0;
}

/* 애드센스 광고 단위 스타일 */
.adsbygoogle {
    display: block;
    margin: 0 auto;
}

/* 반응형 애드센스 */
@media (max-width: 768px) {
    .adsense-container {
        margin: 15px 0;
        padding: 10px;
    }

    .adsense-container.adsense-sidebar {
        position: static;
        margin: 20px 0;
    }
}

@media (max-width: 480px) {
    .adsense-container {
        margin: 10px 0;
        padding: 8px;
    }
}

/* About Page Styles */
.about-page {
    min-height: calc(100vh - 200px);
}

.about-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.about-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.about-hero-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

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

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

.about-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.about-hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
    font-weight: 300;
}

.highlight-real {
    color: #e91e63;
    font-weight: 700;
    font-size: 1.4em;
    text-shadow: 0 2px 4px rgba(233, 30, 99, 0.3);
    display: inline-block;
    transform: scale(1.1);
    margin: 0 2px 0 15px;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.about-section {
    margin-bottom: 60px;
}

.about-section:last-child {
    margin-bottom: 0;
}

.about-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.about-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.about-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.about-card-icon {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 20px;
}

.about-card-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.about-card-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.about-card-contact {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.about-feature-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
}

.about-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.15);
    border-color: #667eea;
}

.about-feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.about-feature-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.about-feature-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
}

.about-topics {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.about-topic-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 12px 24px;
    border-radius: 50px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-weight: 500;
    color: #555;
}

.about-topic-tag:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
    border-color: #667eea;
    color: #667eea;
}

.about-topic-tag i {
    font-size: 1.1rem;
    color: #667eea;
}

/* Responsive Styles for About Page */
@media (max-width: 768px) {
    .about-hero {
        padding: 60px 20px;
    }

    .about-hero-icon {
        font-size: 3rem;
    }

    .about-hero-title {
        font-size: 2rem;
    }

    .about-hero-subtitle {
        font-size: 1.1rem;
    }

    .about-container {
        padding: 40px 15px;
    }

    .about-section {
        margin-bottom: 40px;
    }

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

    .about-card {
        padding: 30px 20px;
    }

    .about-card-icon {
        font-size: 2.5rem;
    }

    .about-card-title {
        font-size: 1.5rem;
    }

    .about-card-text {
        font-size: 1rem;
    }

    .about-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about-feature-card {
        padding: 25px 20px;
    }

    .about-feature-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }

    .about-topic-tag {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .about-hero {
        padding: 40px 15px;
    }

    .about-hero-icon {
        font-size: 2.5rem;
    }

    .about-hero-title {
        font-size: 1.6rem;
    }

    .about-hero-subtitle {
        font-size: 1rem;
    }

    .about-container {
        padding: 30px 10px;
    }

    .about-section-title {
        font-size: 1.4rem;
    }

    .about-card {
        padding: 25px 15px;
    }

    .about-feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .about-topic-tag {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

/* 페이지네이션 스타일 */
.pagination {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
    gap: 20px;
}

.pagination-info {
    font-size: 0.9rem;
    color: #888;
}

.pagination-buttons {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 15px;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    background-color: #fff;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.pagination-btn:hover {
    border-color: #e91e63;
    color: #e91e63;
    background-color: #fff5f8;
    transform: translateY(-2px);
}

.pagination-btn.active {
    background-color: #e91e63;
    color: white;
    border-color: #e91e63;
    cursor: default;
}

.pagination-btn.active:hover {
    transform: none;
}

.pagination-ellipsis {
    color: #888;
    padding: 0 5px;
}

.pagination-btn i {
    font-size: 0.8em;
}

/* 모바일 반응형 */
@media (max-width: 480px) {
    .pagination-btn {
        min-width: 36px;
        height: 36px;
        padding: 0 10px;
        font-size: 0.9rem;
    }
}