/* 기본 충돌 방지 */
.gpmh-master-wrapper p:empty,
.gpmh-master-wrapper br { display: none !important; }

/* 메인 컨테이너 (7:3 분할) */
.gpmh-container {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 40px !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 20px 0 !important;
    box-sizing: border-box !important;
}

.gpmh-main-col {
    width: 68% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 40px !important;
}

.gpmh-sidebar-col {
    width: 32% !important;
    display: flex !important;
    flex-direction: column !important;
}

/* --- 공통 메타 정보 --- */
.gpmh-meta {
    font-size: var(--gpmh-meta) !important;
    color: #666 !important;
    margin-bottom: 12px !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
}
.gpmh-meta-cat { color: #111 !important; font-weight: 700 !important; }
.gpmh-meta-sep { 
    margin: 0 4px !important; 
    color: #999 !important; 
    font-style: italic !important;
    font-weight: 400 !important;
}
.gpmh-meta-time { color: #888 !important; }

/* --- 구역 1: 메인 히어로 (좌 텍스트, 우 이미지) --- */
.gpmh-hero-box {
    display: flex !important;
    gap: 30px !important;
    align-items: flex-start !important; 
}

.gpmh-hero-text {
    width: 45% !important;
    padding-top: 5px !important;
}

.gpmh-hero-title {
    font-size: var(--gpmh-hero-title) !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    margin: 0 0 15px 0 !important;
    color: #111 !important;
}
.gpmh-hero-title a { color: #111 !important; text-decoration: none !important; }
.gpmh-hero-excerpt {
    font-size: var(--gpmh-hero-exc) !important;
    color: #777 !important;
    line-height: 1.6 !important;
    margin-bottom: 0 !important;
}

.gpmh-hero-image {
    width: 55% !important;
    border-radius: 8px !important;
    overflow: hidden !important;
}
.gpmh-hero-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

/* --- 구역 2: 하단 리스트 (3열 분리형 텍스트) --- */
.gpmh-bottom-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 25px !important;
}

.gpmh-bottom-content {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important; 
}

.gpmh-bottom-title {
    font-size: var(--gpmh-bottom-title) !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    margin: 0 !important;
    color: #111 !important;
}
.gpmh-bottom-title a { 
    color: #111 !important; 
    text-decoration: none !important; 
    display: block !important; 
}
.gpmh-bottom-title a:hover { text-decoration: underline !important; }

.gpmh-bottom-excerpt {
    font-size: calc(var(--gpmh-bottom-title) - 1px) !important;
    color: #777 !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

/* --- 구역 3: 우측 사이드바 --- */
.gpmh-side-thumb-large, .gpmh-side-thumb-small {
    display: block !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    margin-bottom: 12px !important;
}
.gpmh-side-thumb-large img { width: 100% !important; height: 180px !important; object-fit: cover !important; display: block !important; }
.gpmh-side-thumb-small img { width: 100% !important; height: 100px !important; object-fit: cover !important; display: block !important; }

.gpmh-side-title {
    font-size: var(--gpmh-side-title) !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    margin: 0 !important;
}
.gpmh-side-title a, .gpmh-side-small-title a { color: #111 !important; text-decoration: none !important; }

.gpmh-side-divider {
    border-bottom: 1px solid #eaeaea !important;
    margin: 25px 0 !important;
}

.gpmh-side-bottom-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 15px !important;
}
.gpmh-side-small-title {
    font-size: var(--gpmh-side-small) !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    margin: 0 !important;
}

/* 📱 반응형 처리 */
@media screen and (max-width: 1024px) {
    .gpmh-container { flex-direction: column !important; }
    .gpmh-main-col, .gpmh-sidebar-col { width: 100% !important; }
    .gpmh-side-thumb-large img { height: 350px !important; }
}

@media screen and (max-width: 768px) {
    .gpmh-hero-box { flex-direction: column-reverse !important; }
    .gpmh-hero-text, .gpmh-hero-image { width: 100% !important; }
    .gpmh-bottom-grid { grid-template-columns: 1fr !important; }
}