.floating-logos-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.floating-logo {
    position: absolute;
    animation: float 8s ease-in-out infinite;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.floating-logo:hover {
    opacity: 1;
    transform: scale(1.1);
    pointer-events: auto;
}

.logo-image {
    width: 40px;
    /* height: 60px; */
    object-fit: contain;
    border-radius: 8px;
    /* background: white; */
    /* padding: 8px; */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) translateX(10px) rotate(2deg);
    }
    50% {
        transform: translateY(-10px) translateX(-15px) rotate(-1deg);
    }
    75% {
        transform: translateY(-25px) translateX(5px) rotate(1deg);
    }
}

/* Banner Carousel Styles */
.banner-carousel {
    position: relative;
    height: 33vh;
    border-radius: 24px;
    margin-bottom: 48px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.banner-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.banner-slide.prev {
    transform: translateX(-100%);
}

/* First slide (Hero) styles */
.banner-slide:first-child {
    background: linear-gradient(135deg, var(--secondary-green) 0%, #F0F8F0 100%);
    border: 1px solid rgba(40, 199, 111, 0.1);
}

.hero-content {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.9);
    /* backdrop-filter: blur(8px); */
    border-radius: 16px;
    padding: 20px;
    margin: 0 auto;
    max-width: 600px;
    text-align: center;
}

/* Popular article banner styles */
.popular-article-banner {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-green) 0%, #F0F8F0 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text-dark);
    position: relative;
    padding: 40px;
    gap: 40px;
}

.article-thumbnail {
    flex: 0 0 300px;
    height: 155.22px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #E8FFF2;
}

.thumbnail-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    background: white;
    display: block;
    margin: auto;
}

.article-thumbnail .default-thumbnail {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.banner-link {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
}

.banner-link:hover {
    transform: scale(1.02);
    text-decoration: none;
    color: inherit;
}

.article-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px;
}

.article-badge {
    display: inline-block;
    background: var(--primary-green);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    align-self: flex-start;
}

.article-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0;
    line-height: 1.4;
    color: var(--text-dark);
}

.article-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: auto;
}

.article-company {
    display: flex;
    align-items: center;
    gap: 8px;
}

.company-logo {
    width: 27px;
    height: 27px;
    object-fit: contain;
    border-radius: 6px;
    background: white;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.company-name {
    font-weight: 600;
    color: var(--primary-green);
    font-size: 1rem;
}

.article-metrics {
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: right;
}

.publish-date {
    color: var(--text-light);
    font-size: 0.9rem;
}

.article-stats {
    display: flex;
    gap: 12px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--text-light);
    font-size: 0.85rem;
}

.read-more-btn {
    background: var(--primary-green);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.read-more-btn:hover {
    background: #1e7e34;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(40, 199, 111, 0.3);
    color: white;
}

/* Bottom Controls */
.banner-controls {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10;
}

/* Navigation Arrows */
.banner-nav {
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.6;
    padding: 8px;
}

.banner-nav:hover {
    opacity: 1;
    transform: scale(1.2);
}

.banner-nav i {
    color: #1e7e34;
    font-size: 1.2rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Slide Indicators */
.banner-indicators {
    display: flex;
    gap: 8px;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    padding: 0;
    margin: 0;
    outline: none;
    display: block;
}

.indicator.active {
    background: var(--primary-green);
    transform: scale(1.2);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
    .floating-logos-container {
        height: 289px;
    }
    .logo-image {
        width: 45px;
        height: 45px;
    }
    .hero-content {
        padding: 15px;
        max-width: 100%;
    }
    .popular-article-banner {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
        text-align: center;
    }
    .article-thumbnail {
        flex: none;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    .article-content {
        padding: 20px;
        text-align: center;
        align-items: center;
    }
    .article-badge {
        align-self: center;
    }
    .article-title {
        font-size: 1.4rem;
    }
    .article-info {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    .company-logo {
        width: 20px;
        height: 20px;
    }
    .article-metrics {
        justify-content: center;
        gap: 12px;
    }
    .banner-controls {
        gap: 10px;
        bottom: 6px;
    }
    .banner-nav i {
        font-size: 1rem;
    }
}

/* 좋아요 버튼 스타일 */
.like-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #6c757d;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.like-button:hover {
    background: #e9ecef;
    border-color: #dee2e6;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.like-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.like-button.liked {
    background: #ffe6ed;
    border-color: #ffc1cc;
    color: #e91e63;
}

.like-button.liked:hover {
    background: #ffd1dc;
    border-color: #ff9aac;
}

.like-icon {
    font-size: 14px;
    transition: all 0.3s ease;
}

.like-button.liked .like-icon {
    color: #e91e63;
    animation: heartPulse 0.6s ease;
}

@keyframes heartPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.default-thumbnail-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.default-thumbnail-content i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
    color: #03C75A;
}

.thumbnail-text {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
    opacity: 0.8;
    color: #03C75A;
}

.thumbnail-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(255,255,255,0.05) 0%, transparent 50%);
    z-index: 1;
}

.default-thumbnail {
    position: relative;
    overflow: hidden;
    background: #E8FFF2;
}

/* 관리자 삭제 버튼 스타일 */
.admin-delete-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(220, 53, 69, 0.9);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    font-size: 14px;
    opacity: 0;
    transform: scale(0.8);
}

.article-card:hover .admin-delete-btn {
    opacity: 1;
    transform: scale(1);
}

.admin-delete-btn:hover {
    background: rgba(220, 53, 69, 1);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.admin-delete-btn:active {
    transform: scale(0.95);
}

/* Region Filter Styles */
.region-filter-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.region-checkbox {
    display: none;
}

.region-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--background-light);
    border: 2px solid var(--border-light);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
    user-select: none;
    white-space: nowrap;
}

.region-toggle:hover {
    background: var(--secondary-green);
    border-color: var(--primary-green);
    color: var(--text-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(40, 199, 111, 0.15);
}

.region-checkbox:checked + .region-toggle {
    background: var(--primary-green);
    border-color: var(--primary-green);
    color: white;
    box-shadow: 0 4px 12px rgba(40, 199, 111, 0.3);
}

.region-checkbox:checked + .region-toggle:hover {
    background: #1e7e34;
    border-color: #1e7e34;
    color: white;
}

.region-toggle i {
    font-size: 0.8rem;
    opacity: 0.8;
}

.region-checkbox:checked + .region-toggle i {
    opacity: 1;
}

@media (max-width: 768px) {
    .region-filter-group {
        gap: 6px;
    }
    
    .region-toggle {
        padding: 6px 12px;
        font-size: 0.85rem;
        gap: 4px;
    }
}

#article-grouped-container {
    max-width: 800px;
    margin: 0 auto;
}

.child-container {
    order: 3;
    flex-basis: 100%;
    padding: 15px 30px 30px 30px;
}

.child {
    display: flex;
    justify-content: space-between; /* 좌우 끝으로 배치 */
    padding: 12px 18px;
    margin-bottom: 10px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: all 0.2s ease-in-out;
    gap: 5px;
}

.child:last-child {
    margin-bottom: 0;
    justify-content: center;
}

.child:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-color: var(--primary-green);
}

.child a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    cursor: pointer;
}

.child:hover {
    a {
        color: var(--primary-green);
    }
}

.child-date {
    min-width: 55px;
    justify-content: flex-end;
}

.first-article {
    width: 100%;
    display: flex;
}