/* ═══════════════════════════════════════════════
   WHATSUPOZ — FEATURE PACK CSS
   related articles, map, newsletter popup,
   breaking news banner
═══════════════════════════════════════════════ */

/* ─── BREAKING NEWS BANNER ──────────────────── */
.woz-breaking-banner {
    background: #cc1500;
    color: white;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 14px;
    font-weight: 600;
    position: relative;
    z-index: 9999;
    animation: wozBreakingSlide 0.4s ease;
}

@keyframes wozBreakingSlide {
    from { transform: translateY(-100%); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}

.woz-breaking-label {
    background: white;
    color: #cc1500;
    font-weight: 900;
    font-size: 10px;
    letter-spacing: 0.15em;
    padding: 3px 10px;
    border-radius: 2px;
    white-space: nowrap;
    flex-shrink: 0;
    animation: wozPulse 2s ease-in-out infinite;
}

@keyframes wozPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.woz-breaking-text {
    color: white !important;
    text-decoration: none;
    flex: 1;
    line-height: 1.4;
}

.woz-breaking-text:hover { text-decoration: underline; }

.woz-breaking-close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    font-size: 16px;
    padding: 0 4px;
    flex-shrink: 0;
    transition: color 0.2s;
}
.woz-breaking-close:hover { color: white; }

/* ─── RELATED ARTICLES ──────────────────────── */
.woz-related-articles {
    margin: 48px 0 0;
    padding: 40px 0 0;
    border-top: 3px solid #E2DDD6;
}

.woz-related-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.woz-related-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 22px;
    letter-spacing: 0.1em;
    color: #1C2B39;
    white-space: nowrap;
}

.woz-related-line {
    flex: 1;
    height: 2px;
    background: #E2DDD6;
}

.woz-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.woz-related-card {
    background: white;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #E2DDD6;
    text-decoration: none;
    display: block;
    transition: transform 0.2s, box-shadow 0.2s;
}

.woz-related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(28,43,57,0.1);
}

.woz-related-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

.woz-related-img-placeholder {
    background: #E2DDD6;
}

.woz-related-body { padding: 14px; }

.woz-related-cat {
    display: inline-block;
    color: white;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 2px;
    margin-bottom: 8px;
}

.woz-related-post-title {
    font-family: 'Source Serif 4', serif;
    font-size: 15px;
    font-weight: 600;
    color: #1C2B39;
    line-height: 1.35;
    margin-bottom: 8px;
}

.woz-related-time {
    font-size: 11px;
    color: #7A7A7A;
}

@media (max-width: 640px) {
    .woz-related-grid { grid-template-columns: 1fr; }
}

/* ─── TRAVEL MAP ─────────────────────────────── */
.woz-travel-map-wrap {
    margin: 32px 0;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #E2DDD6;
    box-shadow: 0 4px 20px rgba(28,43,57,0.08);
}

.woz-travel-map-header {
    background: #1C2B39;
    color: white;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 16px;
    letter-spacing: 0.08em;
}

.woz-travel-map-icon { font-size: 18px; }

/* ─── NEWSLETTER POPUP ───────────────────────── */
.woz-newsletter-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    z-index: 9999;
    max-width: 520px;
    width: calc(100vw - 40px);
    max-height: 90vh;
    overflow-y: auto;
    flex-direction: column;
    animation: wozPopupIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes wozPopupIn {
    from { transform: translate(-50%, -50%) scale(0.85); opacity: 0; }
    to   { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

.woz-popup-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #999;
    line-height: 1;
    z-index: 1;
}
.woz-popup-close:hover { color: #333; }

.woz-popup-content { padding: 36px; }

.woz-popup-badge {
    display: inline-block;
    background: #E8501A;
    color: white;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.woz-popup-title {
    font-family: 'Source Serif 4', serif;
    font-size: 24px;
    font-weight: 700;
    color: #1C2B39;
    line-height: 1.2;
    margin: 0 0 10px;
}

.woz-popup-sub {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.woz-popup-preview {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 24px;
    background: #F7F3ED;
    border-radius: 6px;
    padding: 16px;
}

.woz-popup-book-cover {
    background: linear-gradient(135deg, #1C2B39, #2d4a60);
    color: white;
    width: 90px;
    min-width: 90px;
    height: 120px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 11px;
    line-height: 1.4;
    gap: 6px;
    box-shadow: 4px 4px 12px rgba(0,0,0,0.2);
}

.woz-popup-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 13px;
    color: #444;
    line-height: 1;
}
.woz-popup-list li { padding: 5px 0; }

.woz-popup-form { display: flex; flex-direction: column; gap: 10px; }

.woz-popup-input {
    padding: 12px 14px;
    border: 2px solid #E2DDD6;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
    font-family: inherit;
}
.woz-popup-input:focus { border-color: #E8501A; }

.woz-popup-btn {
    background: #E8501A;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    font-family: inherit;
}
.woz-popup-btn:hover { background: #d0441a; }

.woz-popup-fine {
    text-align: center;
    font-size: 11px;
    color: #aaa;
    margin: 0;
}
