:root {
    --bg-color: #F5F5F7;
    --text-color: #4A4A4A;
    --text-white: #E2E2E5;
    --primary-color: #ED1C24;
    --about-us-color: #1A73E8;
    --areas-of-work-color: #4CAF50;
    --current-events-color: #FFA726;
    --new-case-law-color: #E53935;
    --new-case-law-bg: #e8e8ea;
    --primary-dark: #971115;
    --white: #ffffff;
    --shadow: rgba(0,0,0,0.1);
}

@font-face {
  font-family: 'Orbitron Regular';
  src: url('/fonts/Orbitron-Regular.ttf') format('opentype');
  font-weight: 700;
  font-style: normal;
}

/* Article Page Styles */
.article-page {
    background: var(--bg-color);
    padding: 3rem 0 4rem 0;
    margin: 0;
    position: relative;
    min-height: 60vh;
}

.article-header {
    max-width: 1200px;
    margin: 0 auto 1rem auto;
    padding: 0 2rem;
}

.article-title {
    font-family: 'Orbitron Regular', sans-serif;
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--text-color);
    line-height: 1.3;
    margin: 0 0 1.5rem 0;
    letter-spacing: 1px;
    text-align: left;
}

.article-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.whole-article-button{
    background: var(--primary-color);
    color: var(--white);
    font-family: "Josefin Sans", sans-serif;
    font-size: 0.9rem;
    text-decoration: none;
    font-weight: bolder;
    border: none;
    padding: 0.25rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.whole-article-button:hover {
    transform: scale(1.05);
    background: var(--primary-dark);
}

.whole-article-button span {
    font-weight: normal;
    font-size: 0.8rem;
    color: var(--text-white);
}

.article-date,
.article-category {
    background: var(--white);
    color: var(--text-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid #e0e0e0;
}

.article-category {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.article-separator {
    width: 75%;
    height: 1px;
    background: #ddd;
    margin: 1rem auto;
    display: block;
}

.article-featured-image {
    width: 100%;
    max-width: 1200px;
    margin: 1rem auto;
    padding: 0 2rem;
    display: flex;
    justify-content: center;
}

.article-featured-image img {
    width: 100%;
    height: auto;
    max-height: 1100px;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    object-fit: cover;
    object-position: center;
}

.article-content img {
  width: 100%;
  height: auto;
  image-rendering: auto;
}


.article-page:not(.with-featured-image) .article-featured-image {
    display: none;
}

.article-container {
    max-width: 800px;
    margin: 0 auto;
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.article-content h2 {
    font-family: 'Orbitron Regular', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 2.5rem 0 1.5rem 0;
    letter-spacing: 0.5px;
}

.article-content h3 {
    font-family: 'Orbitron Regular', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 2rem 0 1rem 0;
    letter-spacing: 0.3px;
}

.article-content p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.article-content ul,
.article-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}



.article-content img {
    width: 100%;
    max-width: 725px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.article-content figcaption {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .article-header {
        padding: 0 1.5rem;
    }
    
    .article-container {
        padding: 0 3rem;
    }
    
    .article-featured-image {
        padding: 0 1.5rem;
    }
    
    .article-featured-image img {
        max-height: 900px;
    }
    
    .article-title {
        font-size: 2.2rem;
    }
    
    /* Hide separator line on tablets and mobile */
    .article-separator {
        display: none;
    }
}

@media (max-width: 768px) {
    .article-page {
        padding: 2rem 0 3rem 0;
    }
    
    .article-header {
        padding: 0 1rem;
    }
    
    .article-container {
        padding: 0 1.5rem;
    }
    
    .article-featured-image {
        padding: 0 1rem;
        margin: 2rem auto;
    }
    
    .article-featured-image img {
        max-height: 700px;
        border-radius: 12px;
    }
    
    .article-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .article-content {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .article-content h2 {
        font-size: 1.5rem;
        margin: 2rem 0 1rem 0;
    }
    
    .article-content h3 {
        font-size: 1.2rem;
        margin: 1.5rem 0 0.8rem 0;
    }
    
    .article-meta {
        gap: 0.5rem;
    }
    
    .article-date,
    .article-category {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 480px) {
    .article-header {
        padding: 0 0.8rem;
    }
    
    .article-container {
        padding: 0 1rem;
    }
    
    .article-featured-image {
        padding: 0 0.8rem;
    }
    
    .article-featured-image img {
        max-height: 500px;
        border-radius: 10px;
    }
    
    .article-title {
        font-size: 1.5rem;
        letter-spacing: 0.5px;
    }
    
    .article-content {
        font-size: 0.95rem;
    }
    
    .article-content h2 {
        font-size: 1.3rem;
    }
    
    .article-content h3 {
        font-size: 1.1rem;
    }
    
    .article-content ul,
    .article-content ol {
        padding-left: 1.5rem;
    }
}