:root {
    --primary: #1a1a2e;
    --secondary: #16213e;
    --accent: #e94560;
    --light: #f9f9f9;
    --dark: #0f0f1a;
    --text: #333344;
    --text-light: #6d6d7a;
    --highlight: #ffd700;
    --evidence: #f8f1e5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.8;
    color: var(--text);
    background-color: var(--light);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header - Investigative Style */
header {
    background-color: var(--dark);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
    border-bottom: 3px solid var(--accent);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.logo span {
    color: var(--accent);
    margin-left: 8px;
    position: relative;
}

.logo span:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
    position: relative;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    padding: 0.5rem 0;
}

nav ul li a:hover {
    color: var(--highlight);
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--highlight);
    bottom: 0;
    left: 0;
    transition: width 0.3s;
}

nav ul li a:hover:after {
    width: 100%;
}

/* Hero - Breaking News Style */
.hero {
    background: linear-gradient(rgba(10, 10, 20, 0.85), rgba(10, 10, 20, 0.85)), 
                url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 6rem 0 4rem;
    text-align: center;
    position: relative;
}

.hero:before {
    content: 'EXCLUSIVE INVESTIGATION';
    position: absolute;
    top: 1rem;
    left: 0;
    right: 0;
    color: var(--highlight);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

.hero h1 {
    font-family: 'Libre Baskerville', serif;
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

.breaking-tag {
    display: inline-block;
    background-color: var(--accent);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Article Content - Investigative Layout */
.content {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
    margin: 3rem 0;
}

main {
    background: white;
    padding: 0;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    overflow: hidden;
}

article {
    padding: 3rem;
}

.breadcrumb {
    background: var(--evidence);
    padding: 1rem 3rem;
    font-size: 0.9rem;
    color: var(--text-light);
    border-bottom: 1px solid #ddd;
}

.breadcrumb a {
    color: var(--secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--accent);
    text-decoration: underline;
}

article h1 {
    font-family: 'Libre Baskerville', serif;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    line-height: 1.3;
    position: relative;
    padding-bottom: 1rem;
}

article h1:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 4px;
    background: var(--accent);
}

.meta {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.meta-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

.meta-text {
    font-size: 0.95rem;
    color: var(--text-light);
}

.meta-text span {
    display: block;
    margin-bottom: 0.2rem;
}

.meta-text .author {
    color: var(--primary);
    font-weight: 600;
}

.article-image {
    margin: 2rem 0;
    position: relative;
}

.article-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.caption {
    font-size: 0.85rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 0.5rem;
    font-style: italic;
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.9;
}

.article-content p {
    margin-bottom: 1.8rem;
}

.article-content h2 {
    font-family: 'Libre Baskerville', serif;
    color: var(--primary);
    margin: 3rem 0 1.5rem;
    font-size: 1.8rem;
    position: relative;
    padding-left: 1rem;
}

.article-content h2:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--accent);
}

/* Evidence Boxes */
.evidence-box {
    background: var(--evidence);
    border-left: 4px solid var(--accent);
    padding: 2rem;
    margin: 2.5rem 0;
    position: relative;
}

.evidence-box:before {
    content: 'EVIDENCE';
    position: absolute;
    top: 0;
    left: 0;
    background: var(--accent);
    color: white;
    padding: 0.3rem 1rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.evidence-box h3 {
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-family: 'Libre Baskerville', serif;
}

/* Profile Card - Dossier Style */
.dossier {
    background: var(--evidence);
    padding: 2rem;
    margin: 3rem 0;
    border-radius: 4px;
    border: 1px solid #ddd;
    position: relative;
    overflow: hidden;
}

.dossier:before {
    content: 'DOSSIER';
    position: absolute;
    top: 0;
    right: 0;
    background: var(--primary);
    color: white;
    padding: 0.3rem 1.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    transform: translateY(-100%) rotate(90deg);
    transform-origin: bottom right;
}

.dossier-profile {
    display: flex;
    margin-bottom: 1.5rem;
}

.dossier-img {
    width: 120px;
    height: 120px;
    border-radius: 4px;
    object-fit: cover;
    margin-right: 1.5rem;
    border: 3px solid white;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.dossier-info h3 {
    font-family: 'Libre Baskerville', serif;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.dossier-info p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.dossier-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.dossier-item h4 {
    font-family: 'Libre Baskerville', serif;
    color: var(--primary);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    border-bottom: 1px solid #ddd;
    padding-bottom: 0.5rem;
}

/* Blockquote - Witness Testimony */
blockquote {
    background: var(--evidence);
    border-left: 4px solid var(--accent);
    padding: 2rem;
    margin: 2.5rem 0;
    position: relative;
    font-style: italic;
    font-size: 1.15rem;
    line-height: 1.7;
}

blockquote:before {
    content: '\201C';
    font-family: 'Libre Baskerville', serif;
    font-size: 5rem;
    color: rgba(0,0,0,0.1);
    position: absolute;
    left: 1rem;
    top: 1rem;
    line-height: 1;
}

blockquote p {
    position: relative;
    z-index: 1;
    margin-bottom: 1rem;
}

blockquote footer {
    font-style: normal;
    font-weight: 600;
    color: var(--primary);
    font-size: 1rem;
}

/* Tags */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 3rem 0;
}

.tag {
    background-color: var(--primary);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    font-size: 0.85rem;
    transition: all 0.3s;
    text-decoration: none;
}

.tag:hover {
    background-color: var(--accent);
    transform: translateY(-2px);
}

/* Sidebar - Case Files */
aside {
    position: relative;
}

.case-file {
    background: white;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: sticky;
    top: 120px;
}

.case-file h3 {
    font-family: 'Libre Baskerville', serif;
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.case-file h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent);
}

.timeline-event {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px dashed #ddd;
}

.timeline-event:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.event-date {
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.3rem;
    font-size: 0.95rem;
}

.event-desc {
    font-size: 0.95rem;
    color: var(--text);
}

.legal-concept {
    margin-bottom: 1.5rem;
}

.legal-concept h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.legal-concept p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.subscribe-form input {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

.subscribe-form button {
    width: 100%;
    padding: 0.8rem;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.subscribe-form button:hover {
    background: #c53040;
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    margin-top: 4rem;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-logo {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-logo span {
    color: var(--accent);
}

.footer-about {
    font-size: 0.95rem;
    opacity: 0.8;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-links h3 {
    font-family: 'Libre Baskerville', serif;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-links h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
    font-size: 0.95rem;
}

.footer-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-newsletter p {
    font-size: 0.95rem;
    opacity: 0.8;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    color: white;
    background: rgba(255,255,255,0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 1024px) {
    .content {
        grid-template-columns: 1fr;
    }
    
    .case-file {
        position: static;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul {
        margin-top: 1.5rem;
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 1rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    article {
        padding: 2rem;
    }
    
    .dossier-profile {
        flex-direction: column;
    }
    
    .dossier-img {
        margin-right: 0;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    article h1 {
        font-size: 2rem;
    }
    
    .dossier-grid {
        grid-template-columns: 1fr;
    }
}

/* Forms */
.contact-form {
    background: var(--light);
    padding: 2rem;
    border-radius: 4px;
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

.form-group textarea {
    min-height: 150px;
}

button[type="submit"] {
    background: var(--accent);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s;
}

button[type="submit"]:hover {
    background: #c0392b;
}