/* 워드프레스 기본 빈 줄 자동생성 태그 무력화 */
.gphl-master-container p:empty,
.gphl-master-container br,
.gphl-wrapper > p,
.gphl-wrapper > br {
    display: none !important;
}

/* 강력한 Grid 레이아웃 */
.gphl-wrapper {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important; 
    gap: 30px !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 20px 0 !important;
    box-sizing: border-box !important;
    align-items: stretch !important;
}

/* 좌측 슬라이더 영역 */
.gphl-left {
    position: relative !important; 
    width: 100% !important;
    height: auto !important;
    min-height: 480px !important; 
    border-radius: 16px !important;
    overflow: hidden !important;
    background: #f5f5f5 !important;
    display: block !important;
}

.gphl-swiper {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

.gphl-slide {
    position: relative !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    display: flex !important;
    align-items: center !important; 
    padding: 40px !important;
    box-sizing: border-box !important;
    height: 100% !important;
}

.gphl-slide-overlay {
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.1) 80%) !important;
    z-index: 1 !important;
}

.gphl-slide-content {
    position: relative !important;
    z-index: 2 !important;
    width: 100% !important;
}

.gphl-slide-cat {
    display: inline-block !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #fff !important;
    margin-bottom: 15px !important;
    background: #0056b3 !important;
    padding: 4px 10px !important;
    border-radius: 4px !important;
}

.gphl-slide-title {
    font-size: 28px !important;
    font-weight: 800 !important;
    line-height: 1.4 !important;
    margin: 0 !important;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5) !important;
}

.gphl-slide-title a {
    color: #fff !important;
    text-decoration: none !important;
}

/* 화살표 절대 고정 */
.gphl-nav-prev,
.gphl-nav-next {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 44px !important;
    height: 44px !important;
    background-color: rgba(255, 255, 255, 0.95) !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important;
    z-index: 100 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.gphl-nav-prev { left: 15px !important; }
.gphl-nav-next { right: 15px !important; }

.gphl-nav-prev::after,
.gphl-nav-next::after {
    content: '' !important;
    display: block !important;
    width: 10px !important;
    height: 10px !important;
    border-top: 2px solid #111 !important;
    border-right: 2px solid #111 !important;
}
.gphl-nav-prev::after { transform: rotate(-135deg) !important; margin-left: 4px !important; }
.gphl-nav-next::after { transform: rotate(45deg) !important; margin-right: 4px !important; }

/* 우측 리스트 영역 */
.gphl-right {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    gap: 15px !important;
    width: 100% !important;
}

.gphl-list-item {
    display: flex !important;
    flex-direction: row !important;
    gap: 20px !important;
    padding: 15px !important;
    border: 1px solid #eaeaea !important;
    border-radius: 12px !important;
    background: #fff !important;
    flex: 1 !important; 
    align-items: center !important;
    text-decoration: none !important;
    transition: transform 0.2s, box-shadow 0.2s !important;
    box-sizing: border-box !important;
}

.gphl-list-item:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.06) !important;
}

.gphl-list-thumb {
    width: 140px !important;
    height: 90px !important;
    flex-shrink: 0 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
}

.gphl-list-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.gphl-list-content {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    width: calc(100% - 160px) !important; 
}

.gphl-list-title {
    font-size: 16px !important;
    font-weight: 700 !important;
    margin: 0 0 6px 0 !important;
    color: #111 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 1 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.gphl-list-excerpt {
    font-size: 13px !important;
    color: #777 !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

/* ⭐️ 새로 추가된 우측 리스트 메타 정보 (카테고리 | 작성자 | 날짜) */
.gphl-list-meta {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-top: 10px !important;
    font-size: 12px !important;
}

.gphl-list-meta-cat {
    color: #0056b3 !important; /* 카테고리는 블루로 포인트 */
    font-weight: 600 !important;
}

.gphl-list-meta-sep {
    color: #ddd !important;
    font-size: 10px !important;
}

.gphl-list-meta-author,
.gphl-list-meta-date {
    color: #999 !important; /* 작성자와 날짜는 튀지 않게 회색 */
}

/* 모바일 반응형 */
@media screen and (max-width: 900px) {
    .gphl-wrapper {
        grid-template-columns: 1fr !important;
    }
    .gphl-left {
        min-height: 350px !important;
    }
}