/*
 * 파일명: header_layouts.css
 * 위치: /wp-content/plugins/wp-auto-posting/assets/css/layouts/
 * 기능: Header 레이아웃 전용 스타일 (레이아웃 1~10)
 * 작성일: 2025-06-20
 * 수정일: 2025-06-20
 */

/* =================================================
 * Header 레이아웃 1 - 모던 폴더 탭 스타일
 * ================================================= */
.wpap-header-modern-folder {
    margin: 30px 0;
    position: relative;
}

/* 폴더 탭 */
.wpap-header-modern-folder .wpap-folder-tab {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border: 1px solid #e2e8f0;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    padding: 8px 20px;
    position: relative;
    z-index: 2;
    gap: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* 탭 핸들 (작은 사각형) */
.wpap-header-modern-folder .wpap-tab-handle {
    width: 12px;
    height: 8px;
    background: #a0aec0;
    border-radius: 2px;
    position: relative;
}

.wpap-header-modern-folder .wpap-tab-handle::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: #718096;
    border-radius: 1px;
}

/* 탭 라벨 */
.wpap-header-modern-folder .wpap-tab-label {
    font-size: 12px;
    color: #4a5568;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* 폴더 콘텐츠 */
.wpap-header-modern-folder .wpap-folder-content {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0 12px 12px 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.wpap-header-modern-folder .wpap-folder-content:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
}

/* 콘텐츠 래퍼 */
.wpap-header-modern-folder .wpap-content-wrapper {
    padding: 25px 30px;
    position: relative;
    z-index: 2;
    font-size: 16px;
    line-height: 1.6;
    color: #2d3748;
}

/* 폴더 장식 효과 */
.wpap-header-modern-folder .wpap-folder-decoration {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 60px;
    z-index: 1;
}

.wpap-header-modern-folder .wpap-paper-shadow {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, transparent 30%, #f7fafc 30%, #f7fafc 50%, transparent 50%);
    opacity: 0.6;
}

/* 텍스트 스타일링 */
.wpap-header-modern-folder .wpap-content-wrapper h1,
.wpap-header-modern-folder .wpap-content-wrapper h2,
.wpap-header-modern-folder .wpap-content-wrapper h3 {
    color: #1a202c;
    margin-bottom: 12px;
    font-weight: 600;
}

.wpap-header-modern-folder .wpap-content-wrapper p:last-child {
    margin-bottom: 0;
}

/* 링크 스타일 */
.wpap-header-modern-folder .wpap-content-wrapper a {
    color: #718096;
    text-decoration: none;
    transition: color 0.3s ease;
}

.wpap-header-modern-folder .wpap-content-wrapper a:hover {
    color: #4a5568;
    text-decoration: underline;
}

/* 강조 텍스트 */
.wpap-header-modern-folder .wpap-content-wrapper strong,
.wpap-header-modern-folder .wpap-content-wrapper b {
    color: #1a202c;
    font-weight: 600;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .wpap-header-modern-folder {
        margin: 20px 0;
    }
    
    .wpap-header-modern-folder .wpap-folder-tab {
        padding: 6px 15px;
    }
    
    .wpap-header-modern-folder .wpap-tab-label {
        font-size: 11px;
    }
    
    .wpap-header-modern-folder .wpap-content-wrapper {
        padding: 20px 25px;
        font-size: 15px;
    }
    
    .wpap-header-modern-folder .wpap-folder-decoration {
        width: 50px;
        height: 50px;
    }
    
    .wpap-header-modern-folder .wpap-paper-shadow {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .wpap-header-modern-folder .wpap-content-wrapper {
        padding: 18px 20px;
        font-size: 14px;
    }
    
    .wpap-header-modern-folder .wpap-tab-handle {
        width: 10px;
        height: 6px;
    }
}

/* =================================================
 * Header 레이아웃 2 - 알림 배너 스타일
 * ================================================= */
.wpap-header-notice-banner {
    margin: 30px 0;
    position: relative;
}

/* 배너 컨테이너 */
.wpap-header-notice-banner .wpap-banner-container {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border: 1px solid #e2e8f0;
    border-left: 4px solid #a0aec0;
    border-radius: 8px;
    padding: 20px 25px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    gap: 20px;
}

.wpap-header-notice-banner .wpap-banner-container:hover {
    transform: translateX(3px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-left-color: #718096;
}

/* 배너 아이콘 */
.wpap-header-notice-banner .wpap-banner-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #718096;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.wpap-header-notice-banner .wpap-banner-container:hover .wpap-banner-icon {
    background: #718096;
    color: white;
    transform: rotate(180deg);
}

/* 배너 콘텐츠 */
.wpap-header-notice-banner .wpap-banner-content {
    flex: 1;
}

.wpap-header-notice-banner .wpap-content-wrapper {
    font-size: 16px;
    line-height: 1.6;
    color: #2d3748;
}

/* 배너 장식 (펄스 도트) */
.wpap-header-notice-banner .wpap-banner-decoration {
    flex-shrink: 0;
    position: relative;
}

.wpap-header-notice-banner .wpap-pulse-dot {
    width: 12px;
    height: 12px;
    background: #a0aec0;
    border-radius: 50%;
    position: relative;
    animation: pulse 2s infinite;
}

.wpap-header-notice-banner .wpap-pulse-dot::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    width: 20px;
    height: 20px;
    background: rgba(160, 174, 192, 0.3);
    border-radius: 50%;
    animation: pulse-ring 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* 텍스트 스타일링 */
.wpap-header-notice-banner .wpap-content-wrapper h1,
.wpap-header-notice-banner .wpap-content-wrapper h2,
.wpap-header-notice-banner .wpap-content-wrapper h3 {
    color: #1a202c;
    margin-bottom: 8px;
    font-weight: 600;
}

.wpap-header-notice-banner .wpap-content-wrapper p:last-child {
    margin-bottom: 0;
}

/* 링크 스타일 */
.wpap-header-notice-banner .wpap-content-wrapper a {
    color: #718096;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.wpap-header-notice-banner .wpap-content-wrapper a:hover {
    color: #4a5568;
    text-decoration: underline;
}

/* 강조 텍스트 */
.wpap-header-notice-banner .wpap-content-wrapper strong,
.wpap-header-notice-banner .wpap-content-wrapper b {
    color: #1a202c;
    font-weight: 600;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .wpap-header-notice-banner {
        margin: 20px 0;
    }
    
    .wpap-header-notice-banner .wpap-banner-container {
        padding: 18px 20px;
        gap: 15px;
    }
    
    .wpap-header-notice-banner .wpap-banner-icon {
        width: 35px;
        height: 35px;
    }
    
    .wpap-header-notice-banner .wpap-banner-icon svg {
        width: 16px;
        height: 16px;
    }
    
    .wpap-header-notice-banner .wpap-content-wrapper {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .wpap-header-notice-banner .wpap-banner-container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 20px;
    }
    
    .wpap-header-notice-banner .wpap-banner-container:hover {
        transform: translateY(-2px);
    }
    
    .wpap-header-notice-banner .wpap-content-wrapper {
        font-size: 14px;
    }
}

/* =================================================
 * Header 레이아웃 3 - 모던 인용구 스타일
 * ================================================= */
.wpap-header-modern-quote {
    margin: 30px 0;
    position: relative;
}

/* 인용구 컨테이너 */
.wpap-header-modern-quote .wpap-quote-container {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f2f5;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border-left: 4px solid #a0aec0;
}

.wpap-header-modern-quote .wpap-quote-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
    border-left-color: #718096;
}

/* 인용구 마크 */
.wpap-header-modern-quote .wpap-quote-mark {
    position: absolute;
    color: #e2e8f0;
    transition: color 0.3s ease;
    z-index: 1;
}

.wpap-header-modern-quote .wpap-quote-open {
    top: 15px;
    left: 20px;
}

.wpap-header-modern-quote .wpap-quote-close {
    bottom: 15px;
    right: 20px;
    transform: rotate(180deg);
}

.wpap-header-modern-quote .wpap-quote-container:hover .wpap-quote-mark {
    color: #cbd5e0;
}

/* 인용구 콘텐츠 */
.wpap-header-modern-quote .wpap-quote-content {
    padding: 50px 60px 40px;
    position: relative;
    z-index: 2;
}

.wpap-header-modern-quote .wpap-content-wrapper {
    font-size: 18px;
    line-height: 1.7;
    color: #2d3748;
    font-style: italic;
    text-align: center;
    position: relative;
}

.wpap-header-modern-quote .wpap-content-wrapper::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #cbd5e0, transparent);
}

.wpap-header-modern-quote .wpap-content-wrapper::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #cbd5e0, transparent);
}

/* 인용구 출처 */
.wpap-header-modern-quote .wpap-quote-attribution {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fb 0%, #f1f3f4 100%);
    border-top: 1px solid #f0f2f5;
}

.wpap-header-modern-quote .wpap-attribution-line {
    width: 30px;
    height: 1px;
    background: #cbd5e0;
}

.wpap-header-modern-quote .wpap-attribution-text {
    font-size: 12px;
    color: #718096;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 텍스트 스타일링 */
.wpap-header-modern-quote .wpap-content-wrapper h1,
.wpap-header-modern-quote .wpap-content-wrapper h2,
.wpap-header-modern-quote .wpap-content-wrapper h3 {
    color: #1a202c;
    margin-bottom: 15px;
    font-weight: 600;
    font-style: normal;
}

.wpap-header-modern-quote .wpap-content-wrapper p:last-child {
    margin-bottom: 0;
}

.wpap-header-modern-quote .wpap-content-wrapper p {
    margin-bottom: 15px;
}

/* 링크 스타일 */
.wpap-header-modern-quote .wpap-content-wrapper a {
    color: #718096;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.wpap-header-modern-quote .wpap-content-wrapper a:hover {
    color: #4a5568;
    text-decoration: underline;
}

/* 강조 텍스트 */
.wpap-header-modern-quote .wpap-content-wrapper strong,
.wpap-header-modern-quote .wpap-content-wrapper b {
    color: #1a202c;
    font-weight: 600;
    font-style: normal;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .wpap-header-modern-quote {
        margin: 20px 0;
    }
    
    .wpap-header-modern-quote .wpap-quote-content {
        padding: 40px 45px 30px;
    }
    
    .wpap-header-modern-quote .wpap-content-wrapper {
        font-size: 16px;
        line-height: 1.6;
    }
    
    .wpap-header-modern-quote .wpap-quote-open {
        top: 12px;
        left: 15px;
    }
    
    .wpap-header-modern-quote .wpap-quote-close {
        bottom: 12px;
        right: 15px;
    }
    
    .wpap-header-modern-quote .wpap-quote-mark svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .wpap-header-modern-quote .wpap-quote-content {
        padding: 35px 30px 25px;
    }
    
    .wpap-header-modern-quote .wpap-content-wrapper {
        font-size: 15px;
        text-align: left;
    }
    
    .wpap-header-modern-quote .wpap-content-wrapper::before,
    .wpap-header-modern-quote .wpap-content-wrapper::after {
        display: none;
    }
    
    .wpap-header-modern-quote .wpap-quote-attribution {
        padding: 15px;
        gap: 10px;
    }
}

/* =================================================
 * Header 레이아웃 4 - 카드 스타일
 * ================================================= */
 
[class*="wpap-intro-card-"].wpap-header-card-wrapper {
    border: 1px solid #dee2e6 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    background-color: #ffffff !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
}

[class*="wpap-intro-card-"] .wpap-card-header-custom.wpap-header-card-top {
    background-color: #4a6ea9 !important;
    color: white !important;
    padding: 15px 20px !important;
}

[class*="wpap-intro-card-"] .wpap-card-title-custom {
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    color: white !important;
    line-height: 1.2 !important;
}

[class*="wpap-intro-card-"] .wpap-card-body-custom.wpap-header-card-content {
    padding: 20px !important;
    background-color: #ffffff !important;
    color: #333 !important;
    line-height: 1.6 !important;
}

/* 반응형 디자인 추가 */
@media (max-width: 768px) {
    [class*="wpap-intro-card-"] .wpap-card-header-custom.wpap-header-card-top {
        padding: 12px 18px !important;
    }
    
    [class*="wpap-intro-card-"] .wpap-card-title-custom {
        font-size: 1.1rem !important;
    }
    
    [class*="wpap-intro-card-"] .wpap-card-body-custom.wpap-header-card-content {
        padding: 18px !important;
        font-size: 15px !important;
    }
}

@media (max-width: 480px) {
    [class*="wpap-intro-card-"] .wpap-card-header-custom.wpap-header-card-top {
        padding: 10px 15px !important;
    }
    
    [class*="wpap-intro-card-"] .wpap-card-title-custom {
        font-size: 1rem !important;
    }
    
    [class*="wpap-intro-card-"] .wpap-card-body-custom.wpap-header-card-content {
        padding: 15px !important;
        font-size: 14px !important;
        line-height: 1.5 !important;
    }
}

/* =================================================
 * Header 레이아웃 5 - 모던 강조 박스 스타일
 * ================================================= */
.wpap-header-modern-highlight {
    margin: 30px 0;
    position: relative;
}

.wpap-header-modern-highlight .wpap-highlight-content {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f2f5;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.wpap-header-modern-highlight .wpap-highlight-content:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
}

/* 좌측 강조 라인 */
.wpap-header-modern-highlight .wpap-accent-line {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, #718096 0%, #a0aec0 100%);
    z-index: 2;
}

/* 우측 상단 코너 장식 */
.wpap-header-modern-highlight .wpap-highlight-corner {
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-top: 30px solid #f7fafc;
    z-index: 1;
}

.wpap-header-modern-highlight .wpap-highlight-corner::after {
    content: '';
    position: absolute;
    top: -28px;
    right: -2px;
    width: 0;
    height: 0;
    border-left: 26px solid transparent;
    border-top: 26px solid #ffffff;
}

/* 콘텐츠 래퍼 */
.wpap-header-modern-highlight .wpap-content-wrapper {
    padding: 25px 30px 25px 40px;
    position: relative;
    z-index: 3;
    font-size: 16px;
    line-height: 1.6;
    color: #2d3748;
}

/* 텍스트 스타일링 */
.wpap-header-modern-highlight .wpap-content-wrapper h1,
.wpap-header-modern-highlight .wpap-content-wrapper h2,
.wpap-header-modern-highlight .wpap-content-wrapper h3 {
    color: #1a202c;
    margin-bottom: 12px;
    font-weight: 600;
}

.wpap-header-modern-highlight .wpap-content-wrapper p:last-child {
    margin-bottom: 0;
}

/* 링크 스타일 */
.wpap-header-modern-highlight .wpap-content-wrapper a {
    color: #718096;
    text-decoration: none;
    transition: color 0.3s ease;
}

.wpap-header-modern-highlight .wpap-content-wrapper a:hover {
    color: #4a5568;
    text-decoration: underline;
}

/* 강조 텍스트 */
.wpap-header-modern-highlight .wpap-content-wrapper strong,
.wpap-header-modern-highlight .wpap-content-wrapper b {
    color: #1a202c;
    font-weight: 600;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .wpap-header-modern-highlight {
        margin: 20px 0;
    }
    
    .wpap-header-modern-highlight .wpap-content-wrapper {
        padding: 20px 25px 20px 35px;
        font-size: 15px;
    }
    
    .wpap-header-modern-highlight .wpap-highlight-corner {
        border-left-width: 25px;
        border-top-width: 25px;
    }
    
    .wpap-header-modern-highlight .wpap-highlight-corner::after {
        top: -23px;
        border-left-width: 21px;
        border-top-width: 21px;
    }
}

@media (max-width: 480px) {
    .wpap-header-modern-highlight .wpap-content-wrapper {
        padding: 18px 20px 18px 30px;
        font-size: 14px;
    }
    
    .wpap-header-modern-highlight .wpap-accent-line {
        width: 3px;
    }
}

/* =================================================
 * Header 레이아웃 6 - 미니멀 카드 스타일
 * ================================================= */
.wpap-header-minimal-card {
    margin: 30px 0;
    position: relative;
}

/* 카드 컨테이너 */
.wpap-header-minimal-card .wpap-card-container {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f2f5;
    overflow: hidden;
    transition: all 0.3s ease;
}

.wpap-header-minimal-card .wpap-card-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1);
}

/* 카드 헤더 */
.wpap-header-minimal-card .wpap-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #f1f3f4 100%);
    border-bottom: 1px solid #e9ecef;
}

/* 헤더 도트들 */
.wpap-header-minimal-card .wpap-header-dots {
    display: flex;
    gap: 6px;
}

.wpap-header-minimal-card .wpap-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e0;
    transition: background-color 0.3s ease;
}

.wpap-header-minimal-card .wpap-dot:nth-child(1) {
    background: #e2e8f0;
}

.wpap-header-minimal-card .wpap-dot:nth-child(2) {
    background: #cbd5e0;
}

.wpap-header-minimal-card .wpap-dot:nth-child(3) {
    background: #a0aec0;
}

.wpap-header-minimal-card .wpap-card-container:hover .wpap-dot:nth-child(1) {
    background: #cbd5e0;
}

.wpap-header-minimal-card .wpap-card-container:hover .wpap-dot:nth-child(2) {
    background: #a0aec0;
}

.wpap-header-minimal-card .wpap-card-container:hover .wpap-dot:nth-child(3) {
    background: #718096;
}

/* 헤더 배지 */
.wpap-header-minimal-card .wpap-header-badge {
    background: #e2e8f0;
    color: #4a5568;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.wpap-header-minimal-card .wpap-card-container:hover .wpap-header-badge {
    background: #cbd5e0;
    color: #2d3748;
}

/* 카드 바디 */
.wpap-header-minimal-card .wpap-card-body {
    padding: 0;
}

/* 콘텐츠 래퍼 */
.wpap-header-minimal-card .wpap-content-wrapper {
    padding: 25px 30px;
    font-size: 16px;
    line-height: 1.6;
    color: #2d3748;
    position: relative;
}

/* 카드 푸터 */
.wpap-header-minimal-card .wpap-card-footer {
    padding: 15px 25px;
    background: #fafbfc;
    border-top: 1px solid #f0f2f5;
}

.wpap-header-minimal-card .wpap-footer-line {
    height: 2px;
    background: linear-gradient(90deg, #e2e8f0 0%, #cbd5e0 50%, #e2e8f0 100%);
    border-radius: 1px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.wpap-header-minimal-card .wpap-card-container:hover .wpap-footer-line {
    opacity: 1;
}

/* 텍스트 스타일링 */
.wpap-header-minimal-card .wpap-content-wrapper h1,
.wpap-header-minimal-card .wpap-content-wrapper h2,
.wpap-header-minimal-card .wpap-content-wrapper h3 {
    color: #1a202c;
    margin-bottom: 12px;
    font-weight: 600;
}

.wpap-header-minimal-card .wpap-content-wrapper p:last-child {
    margin-bottom: 0;
}

/* 링크 스타일 */
.wpap-header-minimal-card .wpap-content-wrapper a {
    color: #718096;
    text-decoration: none;
    transition: color 0.3s ease;
}

.wpap-header-minimal-card .wpap-content-wrapper a:hover {
    color: #4a5568;
    text-decoration: underline;
}

/* 강조 텍스트 */
.wpap-header-minimal-card .wpap-content-wrapper strong,
.wpap-header-minimal-card .wpap-content-wrapper b {
    color: #1a202c;
    font-weight: 600;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .wpap-header-minimal-card {
        margin: 20px 0;
    }
    
    .wpap-header-minimal-card .wpap-card-header {
        padding: 12px 20px;
    }
    
    .wpap-header-minimal-card .wpap-header-badge {
        font-size: 10px;
        padding: 3px 10px;
    }
    
    .wpap-header-minimal-card .wpap-content-wrapper {
        padding: 20px 25px;
        font-size: 15px;
    }
    
    .wpap-header-minimal-card .wpap-card-footer {
        padding: 12px 20px;
    }
}

@media (max-width: 480px) {
    .wpap-header-minimal-card .wpap-content-wrapper {
        padding: 18px 20px;
        font-size: 14px;
    }
    
    .wpap-header-minimal-card .wpap-dot {
        width: 6px;
        height: 6px;
    }
}

/* =================================================
 * Header 레이아웃 7 - 프로그레스 바 스타일
 * ================================================= */
.wpap-header-progress-bar {
    margin: 30px 0;
    position: relative;
}

/* 프로그레스 컨테이너 */
.wpap-header-progress-bar .wpap-progress-container {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f2f5;
    padding: 25px;
    transition: all 0.3s ease;
}

.wpap-header-progress-bar .wpap-progress-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
}

/* 프로그레스 헤더 */
.wpap-header-progress-bar .wpap-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.wpap-header-progress-bar .wpap-progress-label {
    font-size: 14px;
    font-weight: 600;
    color: #4a5568;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wpap-header-progress-bar .wpap-progress-percentage {
    font-size: 18px;
    font-weight: 700;
    color: #2d3748;
    background: linear-gradient(135deg, #a0aec0, #718096);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 프로그레스 트랙 */
.wpap-header-progress-bar .wpap-progress-track {
    position: relative;
    height: 12px;
    background: #f7fafc;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
}

/* 프로그레스 채우기 */
.wpap-header-progress-bar .wpap-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #a0aec0 0%, #718096 100%);
    border-radius: 6px;
    position: relative;
    transition: width 2s ease-in-out;
    overflow: hidden;
}

/* 프로그레스 샤인 효과 */
.wpap-header-progress-bar .wpap-progress-shine {
    position: absolute;
    top: 0;
    left: -50%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -50%; }
    100% { left: 100%; }
}

/* 프로그레스 마커들 */
.wpap-header-progress-bar .wpap-progress-markers {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2px;
}

.wpap-header-progress-bar .wpap-marker {
    width: 2px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 1px;
}

/* 프로그레스 콘텐츠 */
.wpap-header-progress-bar .wpap-progress-content {
    margin-bottom: 20px;
}

.wpap-header-progress-bar .wpap-content-wrapper {
    font-size: 16px;
    line-height: 1.6;
    color: #2d3748;
}

/* 프로그레스 통계 */
.wpap-header-progress-bar .wpap-progress-stats {
    display: flex;
    gap: 30px;
    justify-content: center;
    padding-top: 15px;
    border-top: 1px solid #f0f2f5;
}

.wpap-header-progress-bar .wpap-stat {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.wpap-header-progress-bar .wpap-stat-value {
    font-size: 20px;
    font-weight: 700;
    color: #2d3748;
}

.wpap-header-progress-bar .wpap-stat-label {
    font-size: 12px;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* 텍스트 스타일링 */
.wpap-header-progress-bar .wpap-content-wrapper h1,
.wpap-header-progress-bar .wpap-content-wrapper h2,
.wpap-header-progress-bar .wpap-content-wrapper h3 {
    color: #1a202c;
    margin-bottom: 12px;
    font-weight: 600;
}

.wpap-header-progress-bar .wpap-content-wrapper p:last-child {
    margin-bottom: 0;
}

/* 링크 스타일 */
.wpap-header-progress-bar .wpap-content-wrapper a {
    color: #718096;
    text-decoration: none;
    transition: color 0.3s ease;
}

.wpap-header-progress-bar .wpap-content-wrapper a:hover {
    color: #4a5568;
    text-decoration: underline;
}

/* 강조 텍스트 */
.wpap-header-progress-bar .wpap-content-wrapper strong,
.wpap-header-progress-bar .wpap-content-wrapper b {
    color: #1a202c;
    font-weight: 600;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .wpap-header-progress-bar {
        margin: 20px 0;
    }
    
    .wpap-header-progress-bar .wpap-progress-container {
        padding: 20px;
    }
    
    .wpap-header-progress-bar .wpap-progress-percentage {
        font-size: 16px;
    }
    
    .wpap-header-progress-bar .wpap-content-wrapper {
        font-size: 15px;
    }
    
    .wpap-header-progress-bar .wpap-progress-stats {
        gap: 20px;
    }
    
    .wpap-header-progress-bar .wpap-stat-value {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .wpap-header-progress-bar .wpap-progress-container {
        padding: 18px;
    }
    
    .wpap-header-progress-bar .wpap-content-wrapper {
        font-size: 14px;
    }
    
    .wpap-header-progress-bar .wpap-progress-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .wpap-header-progress-bar .wpap-stat {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 8px;
    }
}


/* =================================================
 * Header 레이아웃 8 - 테두리 강조 헤더
 * ================================================= */
[class*="border-accent-"] {
    position: relative;
    padding: 25px;
    background-color: #fff;
    border-left: 5px solid #5c7cfa;
    border-right: 1px solid #e9ecef;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    margin: 30px 0;
}

[class*="border-accent-"]:hover {
    transform: translateX(3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-left-color: #4c63d2;
}

/* 상단 강조 요소 */
[class*="border-accent-"] .accent-top {
    position: absolute;
    top: 0;
    left: -5px;
    width: 5px;
    height: 30px;
    background: linear-gradient(180deg, #5c7cfa 0%, #4c63d2 100%);
    border-radius: 0 0 3px 0;
}

/* 하단 강조 요소 */
[class*="border-accent-"] .accent-bottom {
    position: absolute;
    bottom: 0;
    left: -5px;
    width: 5px;
    height: 30px;
    background: linear-gradient(0deg, #5c7cfa 0%, #4c63d2 100%);
    border-radius: 3px 0 0 0;
}

/* 콘텐츠 영역 */
[class*="border-accent-"] .border-content {
    position: relative;
    z-index: 2;
    font-size: 16px;
    line-height: 1.6;
    color: #2d3748;
}

/* 우측 상단 코너 장식 */
[class*="border-accent-"]::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-top: 20px solid #f8f9fa;
    z-index: 1;
}

[class*="border-accent-"]::after {
    content: '';
    position: absolute;
    top: 2px;
    right: 2px;
    width: 0;
    height: 0;
    border-left: 16px solid transparent;
    border-top: 16px solid #ffffff;
    z-index: 2;
}

/* 텍스트 스타일링 */
[class*="border-accent-"] .border-content h1,
[class*="border-accent-"] .border-content h2,
[class*="border-accent-"] .border-content h3 {
    color: #1a202c;
    margin-bottom: 12px;
    font-weight: 600;
}

[class*="border-accent-"] .border-content p:last-child {
    margin-bottom: 0;
}

/* 링크 스타일 */
[class*="border-accent-"] .border-content a {
    color: #5c7cfa;
    text-decoration: none;
    transition: color 0.3s ease;
}

[class*="border-accent-"] .border-content a:hover {
    color: #4c63d2;
    text-decoration: underline;
}

/* 강조 텍스트 */
[class*="border-accent-"] .border-content strong,
[class*="border-accent-"] .border-content b {
    color: #1a202c;
    font-weight: 600;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    [class*="border-accent-"] {
        padding: 20px;
        margin: 20px 0;
        border-left-width: 4px;
    }
    
    [class*="border-accent-"] .border-content {
        font-size: 15px;
    }
    
    [class*="border-accent-"] .accent-top,
    [class*="border-accent-"] .accent-bottom {
        width: 4px;
        height: 25px;
        left: -4px;
    }
    
    [class*="border-accent-"]::before {
        border-left-width: 18px;
        border-top-width: 18px;
    }
    
    [class*="border-accent-"]::after {
        border-left-width: 14px;
        border-top-width: 14px;
    }
    
    [class*="border-accent-"]:hover {
        transform: translateX(2px);
    }
}

@media (max-width: 480px) {
    [class*="border-accent-"] {
        padding: 18px 15px;
        border-left-width: 3px;
        border-radius: 0 6px 6px 0;
    }
    
    [class*="border-accent-"] .border-content {
        font-size: 14px;
        line-height: 1.5;
    }
    
    [class*="border-accent-"] .accent-top,
    [class*="border-accent-"] .accent-bottom {
        width: 3px;
        height: 20px;
        left: -3px;
    }
    
    [class*="border-accent-"]::before {
        border-left-width: 15px;
        border-top-width: 15px;
    }
    
    [class*="border-accent-"]::after {
        border-left-width: 12px;
        border-top-width: 12px;
    }
    
    [class*="border-accent-"]:hover {
        transform: translateX(1px);
    }
}


/* =================================================
 * Header 레이아웃 9 - 섹션 제목 헤더
 * ================================================= */
[class*="wpap-section-title-"].wpap-header-section-wrapper {
    padding: 25px !important;
    background-color: #ffffff !important;
    border-radius: 8px !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid #e9ecef !important;
}

[class*="wpap-section-title-"] .wpap-section-heading-main.wpap-header-title {
    color: #343a40 !important;
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    margin-bottom: 15px !important;
}

[class*="wpap-section-title-"] .wpap-divider-line-custom.wpap-header-divider {
    height: 3px !important;
    background: linear-gradient(to right, #5c7cfa, #a3bffa) !important;
    margin-bottom: 20px !important;
    width: 100px !important;
    border-radius: 2px !important;
}

[class*="wpap-section-title-"] .wpap-section-content-main.wpap-header-content {
    line-height: 1.6 !important;
    color: #495057 !important;
}

/* 반응형 디자인 추가 */
@media (max-width: 768px) {
    [class*="wpap-section-title-"].wpap-header-section-wrapper {
        padding: 20px !important;
    }
    
    [class*="wpap-section-title-"] .wpap-section-heading-main.wpap-header-title {
        font-size: 1.3rem !important;
        margin-bottom: 12px !important;
    }
    
    [class*="wpap-section-title-"] .wpap-divider-line-custom.wpap-header-divider {
        width: 80px !important;
        margin-bottom: 18px !important;
    }
    
    [class*="wpap-section-title-"] .wpap-section-content-main.wpap-header-content {
        font-size: 15px !important;
    }
}

@media (max-width: 480px) {
    [class*="wpap-section-title-"].wpap-header-section-wrapper {
        padding: 18px !important;
    }
    
    [class*="wpap-section-title-"] .wpap-section-heading-main.wpap-header-title {
        font-size: 1.2rem !important;
        margin-bottom: 10px !important;
    }
    
    [class*="wpap-section-title-"] .wpap-divider-line-custom.wpap-header-divider {
        height: 2px !important;
        width: 60px !important;
        margin-bottom: 15px !important;
    }
    
    [class*="wpap-section-title-"] .wpap-section-content-main.wpap-header-content {
        font-size: 14px !important;
        line-height: 1.5 !important;
    }
}

/* =================================================
 * Header 레이아웃 10 - 책갈피 스타일
 * ================================================= */
.wpap-header-bookmark {
    margin: 30px 0;
    position: relative;
}

/* 책갈피 컨테이너 */
.wpap-header-bookmark .wpap-bookmark-container {
    position: relative;
    max-width: 100%;
}

/* 책갈피 리본 */
.wpap-header-bookmark .wpap-bookmark-ribbon {
    position: absolute;
    top: -10px;
    right: 20px;
    z-index: 3;
}

.wpap-header-bookmark .wpap-ribbon-content {
    background: linear-gradient(135deg, #718096 0%, #4a5568 100%);
    color: white;
    padding: 8px 15px;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wpap-header-bookmark .wpap-ribbon-content::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
    clip-path: polygon(0 0, 100% 0, 90% 100%, 10% 100%);
}

/* 책갈피 바디 */
.wpap-header-bookmark .wpap-bookmark-body {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f2f5;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.wpap-header-bookmark .wpap-bookmark-body:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
}

/* 모서리 접힌 효과 */
.wpap-header-bookmark .wpap-bookmark-corner-fold {
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-left: 25px solid #f7fafc;
    border-top: 25px solid #e2e8f0;
    z-index: 2;
}

.wpap-header-bookmark .wpap-bookmark-corner-fold::after {
    content: '';
    position: absolute;
    top: -23px;
    left: -23px;
    width: 0;
    height: 0;
    border-left: 21px solid transparent;
    border-top: 21px solid #ffffff;
}

/* 콘텐츠 래퍼 */
.wpap-header-bookmark .wpap-content-wrapper {
    padding: 25px 30px;
    position: relative;
    z-index: 1;
    font-size: 16px;
    line-height: 1.6;
    color: #2d3748;
}

/* 책갈피 클립 */
.wpap-header-bookmark .wpap-bookmark-clip {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.wpap-header-bookmark .wpap-clip-line {
    width: 3px;
    height: 30px;
    background: #cbd5e0;
    margin-bottom: 5px;
    border-radius: 2px;
    opacity: 0.6;
}

.wpap-header-bookmark .wpap-clip-1 {
    animation: clip-pulse 3s infinite;
}

.wpap-header-bookmark .wpap-clip-2 {
    animation: clip-pulse 3s infinite 1.5s;
}

@keyframes clip-pulse {
    0%, 100% {
        opacity: 0.6;
        transform: scaleY(1);
    }
    50% {
        opacity: 0.9;
        transform: scaleY(1.1);
    }
}

/* 책갈피 그림자 */
.wpap-header-bookmark .wpap-bookmark-shadow {
    position: absolute;
    bottom: -10px;
    left: 5px;
    right: 5px;
    height: 15px;
    background: radial-gradient(ellipse, rgba(0, 0, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

/* 텍스트 스타일링 */
.wpap-header-bookmark .wpap-content-wrapper h1,
.wpap-header-bookmark .wpap-content-wrapper h2,
.wpap-header-bookmark .wpap-content-wrapper h3 {
    color: #1a202c;
    margin-bottom: 12px;
    font-weight: 600;
}

.wpap-header-bookmark .wpap-content-wrapper p:last-child {
    margin-bottom: 0;
}

/* 링크 스타일 */
.wpap-header-bookmark .wpap-content-wrapper a {
    color: #718096;
    text-decoration: none;
    transition: color 0.3s ease;
}

.wpap-header-bookmark .wpap-content-wrapper a:hover {
    color: #4a5568;
    text-decoration: underline;
}

/* 강조 텍스트 */
.wpap-header-bookmark .wpap-content-wrapper strong,
.wpap-header-bookmark .wpap-content-wrapper b {
    color: #1a202c;
    font-weight: 600;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .wpap-header-bookmark {
        margin: 20px 0;
    }
    
    .wpap-header-bookmark .wpap-bookmark-ribbon {
        right: 15px;
    }
    
    .wpap-header-bookmark .wpap-ribbon-content {
        padding: 6px 12px;
        font-size: 11px;
    }
    
    .wpap-header-bookmark .wpap-content-wrapper {
        padding: 20px 25px;
        font-size: 15px;
    }
    
    .wpap-header-bookmark .wpap-bookmark-corner-fold {
        border-left-width: 20px;
        border-top-width: 20px;
    }
    
    .wpap-header-bookmark .wpap-bookmark-corner-fold::after {
        top: -18px;
        left: -18px;
        border-left-width: 16px;
        border-top-width: 16px;
    }
}

@media (max-width: 480px) {
    .wpap-header-bookmark .wpap-content-wrapper {
        padding: 18px 20px 18px 35px;
        font-size: 14px;
    }
    
    .wpap-header-bookmark .wpap-bookmark-clip {
        left: 10px;
    }
    
    .wpap-header-bookmark .wpap-clip-line {
        width: 2px;
        height: 25px;
    }
}