@charset "utf-8";

/* GA 목록 스타일 */
#ga_list {
    padding: 15px;
    background-color: #f9f9f9;
}

/* 제목 스타일 */
.ga_list_title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3b86ff;
    position: relative;
}

.ga_list_title:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80px;
    height: 2px;
    background-color: #ff5722;
}

.ga_list_info {
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

.ga_list_info strong {
    color: #3b86ff;
    font-weight: 700;
}

/* GA 그리드 */
.ga_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.ga_item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.2s ease;
}

.ga_item:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.ga_link {
    display: block;
    padding: 15px;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.ga_logo {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    border: 1px solid #eee;
}

.ga_logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.ga_logo i {
    font-size: 32px;
    color: #aaa;
}

.ga_info {
    text-align: center;
}

.ga_name {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin: 0 0 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ga_desc {
    display: none; /* 모바일에서는 설명 숨김 */
}

.ga_count {
    font-size: 13px;
    color: #666;
}

.ga_count strong {
    color: #3b86ff;
    font-weight: 600;
}

/* 페이지 네비게이션 */
.pg_wrap {
    margin: 20px 0;
    text-align: center;
}

/* 데이터 없음 메시지 */
.no_data {
    padding: 50px 0;
    text-align: center;
    color: #888;
    font-size: 16px;
    grid-column: span 2;
}

/* 버튼 영역 */
.btn_area {
    text-align: center;
    margin: 20px 0;
}

.btn_back {
    display: inline-block;
    background-color: #f5f5f5;
    color: #333;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

.btn_back:hover {
    background-color: #e0e0e0;
}

/* 반응형 스타일 */
@media (min-width: 768px) {
    #ga_list {
        max-width: 1200px;
        margin: 0 auto;
        padding: 30px 15px;
    }
    
    .ga_list_title {
        font-size: 32px;
        margin-bottom: 25px;
        padding-bottom: 15px;
    }
    
    .ga_list_title:after {
        width: 100px;
    }
    
    .ga_list_info {
        margin-bottom: 30px;
        font-size: 17px;
    }
    
    .ga_grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
    
    .ga_item {
        border-radius: 10px;
    }
    
    .ga_link {
        padding: 20px;
    }
    
    .ga_logo {
        width: 80px;
        height: 80px;
        margin-bottom: 15px;
    }
    
    .ga_name {
        font-size: 19px;
        margin-bottom: 10px;
    }
    
    .ga_desc {
        display: block;
        font-size: 14px;
        color: #666;
        margin: 0 0 12px;
        line-height: 1.5;
        height: 40px;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
    
    .ga_count {
        font-size: 15px;
    }
    
    .no_data {
        padding: 80px 0;
        font-size: 17px;
        grid-column: span 4;
    }
    
    .btn_area {
        margin: 30px 0;
    }
    
    .btn_back {
        padding: 12px 25px;
    }
}

@media (min-width: 481px) and (max-width: 767px) {
    .ga_grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .no_data {
        grid-column: span 3;
    }
}

@media (max-width: 480px) {
    .ga_grid {
        grid-template-columns: 1fr;
    }
    
    .no_data {
        grid-column: span 1;
    }
} 