* { box-sizing: border-box; }

body { 
    font-family: 'Roboto', Arial, sans-serif;
    background-color: #ffffff;
    color: #000000;
    overflow-x: hidden;
    margin: 0; padding: 0;
    padding-top: 45px; 
}

a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
img { border: 0; vertical-align: middle; max-width: 100%; height: auto; }

.sp-sticky-header {
    position: fixed !important; 
    top: 0 !important; 
    left: 0 !important; 
    width: 100%; 
    height: 45px !important;
    background-color: #000 !important; 
    display: flex !important; 
    align-items: center !important; 
    justify-content: space-between !important;
    z-index: 99999 !important; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.5) !important; 
    font-family: Arial, sans-serif !important;
}

.left-group, .right-group { display: flex; align-items: center; height: 100%; }

.sp-back-to-soha-new {
    display: flex; align-items: center; justify-content: center; 
    width: 45px; height: 45px;
    background-color: #007f74; color: white; font-size: 18px; cursor: pointer;
}
.sp-back-to-soha-new:hover { background-color: #00665d; }

.emg-icon-svg { fill: currentColor; width: 20px; height: 20px; }

.sp-mag-logo-new { margin-left: 15px; display: flex; align-items: center; }
.sp-mag-logo-new img { height: 24px; width: auto; display: block; }

.center-logo {
    position: absolute; left: 50%; transform: translateX(-50%); 
    pointer-events: none; user-select: none;
    display: flex; align-items: center; justify-content: center;
}
.center-logo img { height: 26px; width: auto; display: block; }

.mobile-emag-logo {
    display: none; height: 24px; width: auto; margin-right: 15px;
}

.fb-custom-btn {
    display: flex; align-items: center; gap: 6px; color: white; 
    font-size: 13px; font-weight: bold; cursor: pointer; opacity: 0.9;
    margin-right: 15px; 
}
.fb-custom-btn:hover { opacity: 1; text-decoration: underline; }

@media (max-width: 768px) { 
    .center-logo, .fb-custom-btn { display: none !important; } 
    .mobile-emag-logo { display: block !important; }
}

:root { --accent-red: #ea3939; --text-nav: #1a1a1a; }
.font-phudu { font-family: 'Phudu', cursive; }
.font-roboto { font-family: 'Roboto', sans-serif; }

.container-1920 { max-width: 1920px; margin: 0 auto; width: 100%; }
.container-1280 { max-width: 1280px; margin: 0 auto; width: 100%; padding: 0 20px; }
.article-body-container { max-width: 720px; margin: 0 auto; padding: 0 20px; width: 100%; }

.main-headline {
    font-family: 'Phudu', cursive; font-weight: 700; font-size: 42pt;
    color: #ea3939; line-height: 1.1; 
    margin: 40px auto; text-align: center; letter-spacing: -1px;
}

.map-headline {
    font-family: 'Phudu', cursive; font-weight: 500; font-size: 40pt;
    color: #f4f0e6; text-shadow: 0 4px 10px rgba(0,0,0,0.5);
    text-align: center; text-transform: uppercase;
}

.detail-headline {
    font-family: 'Phudu', cursive; font-weight: 600; font-size: 32pt;
    color: #ea3939; line-height: 1.1; margin-bottom: 20px; letter-spacing: -1px;
    text-align: center; 
}

.body-text {
    font-family: 'Roboto', sans-serif; font-weight: 400; font-size: 15pt;
    line-height: 24pt; color: #313131; text-align: justify; margin-bottom: 30px;
}

.expert-text {
    font-family: 'Roboto', sans-serif; font-weight: 400; font-size: 15pt;
    line-height: 22pt; color: #313131; text-align: justify; margin-bottom: 30px;
}

.expert-block { padding-top: 20px; }

.caption-text {
    font-family: 'Roboto', sans-serif; font-style: italic; font-size: 11pt;
    color: #666; text-align: center; margin-top: 8px; margin-bottom: 30px;
}

@media (max-width: 768px) {
    .main-headline { font-size: 24pt; }
    .map-headline { font-size: 20pt; }
    .detail-headline { font-size: 24pt; }
    .body-text, .expert-text { font-size: 14pt; line-height: 22pt; }
}

.interactive-table {
    width: 100%; min-width: 600px;
    border-collapse: collapse; margin: 40px 0;
    font-family: 'Roboto', sans-serif;
}
.interactive-table thead th {
    text-align: left; padding: 15px;
    font-family: 'Phudu', cursive; background: #333; color: #fff;
    text-transform: uppercase; font-size: 14px; letter-spacing: 1px;
    border-bottom: 2px solid var(--accent-red);
}
.interactive-table tbody tr { background: transparent; transition: background 0.3s ease; }
.interactive-table tbody tr:hover { background: rgba(234, 57, 57, 0.05); }
.interactive-table td {
    padding: 20px; border-bottom: 1px solid rgba(0,0,0,0.1); 
    color: #000000; vertical-align: top;
}
.interactive-table td:first-child { font-weight: 700; border-right: 1px solid rgba(0,0,0,0.05); }

#map-wrapper {
    position: relative; width: 100%; margin: 60px auto;
    aspect-ratio: 1 / 1; overflow: hidden; 
    border-top: 1px solid rgba(0,0,0,0.1); border-bottom: 1px solid rgba(0,0,0,0.1);
    transition: all 0.5s ease;
}

@media (max-width: 768px) { #map-wrapper { width: 100%; } }

#map-wrapper.fullscreen { 
    position: fixed; top: 0; left: 0; right: 0; bottom: 0; 
    width: 100vw; height: 100vh; aspect-ratio: auto; 
    z-index: 9999; margin: 0; border: none; padding-top: 0;
}

.leaflet-container { background: #0c1220; font-family: 'Roboto', sans-serif; }

.nav-strip {
    width: 60px; background: var(--text-nav); color: #fff;
    display: flex; flex-direction: column; align-items: center;
    padding-top: 20px; z-index: 1000; overflow-y: auto;
    position: absolute; top: 0; bottom: 0; left: 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 4px 0 10px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .nav-strip { display: none !important; }
    #mobile-menu-btn { display: none !important; }
    .leaflet-control-zoom { display: none !important; }
}

.nav-home-btn {
    cursor: pointer; width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; border: 1px solid #fff;
    background: transparent; color: #fff;
    margin-bottom: 20px; transition: all 0.2s;
}
.nav-home-btn:hover { background: #fff; color: var(--text-nav); }

.nav-dot {
    width: 32px; height: 32px; border-radius: 50%; background: transparent; 
    color: #fff; border: 1px solid rgba(244, 240, 230, 0.5);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 13px; margin-bottom: 12px; cursor: pointer; transition: all 0.2s;
    font-family: 'Roboto', sans-serif;
}
.nav-dot:hover { background: #fff; color: var(--text-nav); transform: scale(1.1); }
.nav-dot.active { background: var(--accent-red); color: white; border-color: var(--accent-red); transform: scale(1.15); }

.location-label-card {
    position: absolute; bottom: 40px; left: 80px;
    background: var(--text-nav); color: #ffffff;
    padding: 30px; border-radius: 0; 
    border: 1px solid rgba(255,255,255,0.1);
    z-index: 900; transform: translateY(20px); opacity: 0;
    transition: all 0.4s; pointer-events: none; 
    width: 450px; max-height: 60vh; overflow-y: auto; 
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}
.location-label-card::-webkit-scrollbar { width: 6px; }
.location-label-card::-webkit-scrollbar-track { background: #333; }
.location-label-card::-webkit-scrollbar-thumb { background: #555; border-radius: 3px; }
@media (max-width: 768px) { .location-label-card { left: 20px; right: 20px; bottom: 80px; width: auto; max-height: 50vh; } }
.location-label-card.show { transform: translateY(0); opacity: 1; pointer-events: auto; }

.close-popup-btn {
    position: absolute; top: 15px; right: 15px;
    color: #fff; font-size: 20px; cursor: pointer; opacity: 0.6; transition: opacity 0.2s;
}
.close-popup-btn:hover { opacity: 1; color: var(--accent-red); }

.fullscreen-btn {
    position: absolute; bottom: 20px; right: 20px; z-index: 1001;
    background: #fff; color: var(--text-nav); font-weight: 700; font-size: 12px;
    padding: 10px 20px; text-transform: uppercase; letter-spacing: 1px;
    cursor: pointer; box-shadow: 0 4px 10px rgba(0,0,0,0.3); border: 1px solid var(--text-nav);
    display: flex; align-items: center; gap: 8px; font-family: 'Roboto', sans-serif;
}
.fullscreen-btn:hover { background: var(--text-nav); color: #fff; }

.marker-pulse { background: rgba(234, 57, 57, 0.6); border-radius: 50%; height: 24px; width: 24px; position: absolute; left: 50%; top: 50%; margin: -12px 0 0 -12px; animation: pulse-me 2s infinite; }
.marker-dot { background-color: #ea3939; width: 100%; height: 100%; border-radius: 50%; border: 2px solid white; }
@keyframes pulse-me { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(3); opacity: 0; } }

.custom-label-icon { background: transparent; border: none; }
.sovereignty-text { color: rgba(255, 255, 255, 0.95); font-size: 11px; font-weight: 700; text-transform: uppercase; text-align: center; text-shadow: 0 1px 4px black; letter-spacing: 1px; font-family: 'Roboto', sans-serif; }
.map-title-overlay { background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent); pointer-events: none; padding-top: 30px; }

#preview-desc { font-size: 14px; line-height: 1.6; color: #ddd; margin-top: 15px; border-top: 1px solid #444; padding-top: 15px; }
#preview-desc strong { color: #fff; }