/* InfoSec Briefing Styles */

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header styles */
header {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: white;
    padding: 2rem 0;
    margin: 0 -20px 2rem -20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header .banner {
    max-width: 100%;
    height: auto;
    max-height: 120px;
    margin-bottom: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

header .date {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

nav {
    margin-top: 1rem;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 1rem;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

nav a:hover {
    background-color: rgba(255,255,255,0.2);
}

/* Main content */
main {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

/* Article content */
.briefing-content {
    margin-bottom: 2rem;
}

.briefing-content h1 {
    color: #1e3a8a;
    font-size: 2rem;
    margin: 2rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e5e7eb;
}

.briefing-content h2 {
    color: #374151;
    font-size: 1.5rem;
    margin: 1.5rem 0 0.8rem 0;
    padding-left: 0.5rem;
    border-left: 4px solid #3b82f6;
}

.briefing-content h3 {
    color: #4b5563;
    font-size: 1.2rem;
    margin: 1rem 0 0.5rem 0;
}

.briefing-content p {
    margin-bottom: 1rem;
    text-align: justify;
}

.briefing-content strong {
    color: #1f2937;
    font-weight: 600;
}

.briefing-content em {
    color: #4b5563;
}

.briefing-content a {
    color: #2563eb;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-bottom-color 0.3s ease;
}

.briefing-content a:hover {
    border-bottom-color: #2563eb;
}

/* Audio player */
.audio-player {
    background: #f3f4f6;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
    border-left: 4px solid #10b981;
}

.audio-player h2 {
    color: #065f46;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.audio-player audio {
    width: 100%;
    margin-bottom: 0.5rem;
}

.audio-player p {
    margin: 0;
}

.audio-player a {
    color: #059669;
    text-decoration: none;
    font-weight: 500;
}

.audio-player a:hover {
    text-decoration: underline;
}

/* Article links */
.article-links {
    background: #fffbeb;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #f59e0b;
    margin-top: 2rem;
}

.article-links h2 {
    color: #92400e;
    margin-bottom: 1rem !important;
    border: none !important;
    padding: 0 !important;
}

.article-links ul {
    list-style: none;
    padding-left: 0;
}

.article-links li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.article-links li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #f59e0b;
    font-weight: bold;
}

.article-links a {
    color: #b45309;
    text-decoration: none;
    font-weight: 500;
}

.article-links a:hover {
    color: #92400e;
    text-decoration: underline;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem 0;
    color: #6b7280;
    font-size: 0.9rem;
    border-top: 1px solid #e5e7eb;
    margin-top: 2rem;
}

footer a {
    color: #4b5563;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive design */
@media (max-width: 768px) {
    body {
        padding: 0 10px;
    }
    
    header {
        margin: 0 -10px 2rem -10px;
        padding: 1.5rem 0;
    }
    
    header .banner {
        max-height: 80px;
        margin-bottom: 0.5rem;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    nav a {
        display: inline-block;
        margin: 0.25rem 0.5rem;
        padding: 0.4rem 0.8rem;
    }
    
    main {
        padding: 1.5rem;
    }
    
    .briefing-content h1 {
        font-size: 1.5rem;
    }
    
    .briefing-content h2 {
        font-size: 1.3rem;
    }
}

/* Print styles */
@media print {
    header {
        background: #1e3a8a !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    nav {
        display: none;
    }
    
    main {
        box-shadow: none;
    }
    
    .audio-player {
        display: none;
    }
    
    a {
        color: #000 !important;
    }
    
    .article-links a::after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        color: #666;
    }
}