/* Press Box - Custom Styles */

:root {
    --primary-red: #d32f2f;
    --dark-red: #b71c1c;
    --text-dark: #212121;
    --text-light: #757575;
    --border-color: #e0e0e0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-dark);
    background-color: #f5f5f5;
}

/* Header styles */
.top-bar {
    background-color: #1a1a1a;
    padding: 8px 0;
    font-size: 0.85rem;
}

.top-bar a {
    color: #fff;
    text-decoration: none;
    margin: 0 15px;
}

.site-header {
    background: #fff;
    border-bottom: 3px solid var(--primary-red);
    padding: 20px 0;
}

.site-logo {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-red) !important;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.search-box {
    position: relative;
}

.search-box input {
    border: 2px solid var(--border-color);
    border-radius: 25px;
    padding: 10px 20px;
}

.search-box input:focus {
    border-color: var(--primary-red);
    box-shadow: none;
}

.search-box button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 20px;
    background: var(--primary-red);
    border: none;
    padding: 6px 20px;
}

/* Navigation */
.main-nav {
    background: #fff;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.main-nav .nav-link {
    color: var(--text-dark) !important;
    font-weight: 600;
    padding: 15px 20px !important;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: all 0.3s;
}

.main-nav .nav-link:hover {
    color: var(--primary-red) !important;
    background-color: #fafafa;
}

/* Hero Article */
.hero-container {
    position: relative;
    margin-bottom: 30px;
}

.hero-article {
    position: relative;
    height: 700px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.hero-article img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-article .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 40px;
    color: white;
}

.hero-article .category-badge {
    background: var(--primary-red);
    color: white;
    padding: 6px 15px;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 15px;
}

.hero-article h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-article .meta {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Hero Sidebar Overlay */
.hero-sidebar-overlay {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    width: 32%;
    max-width: 380px;
    z-index: 10;
    margin-top: 20px;
    margin-bottom: 20px;
}

.sidebar-article-overlay {
    transition: all 0.3s ease;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    margin-bottom: 50px;
}

.sidebar-article-overlay:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2) !important;
}

.sidebar-article-overlay:last-child {
    margin-bottom: 0 !important;
}

.sidebar-article-overlay img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.sidebar-article-overlay h4 {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 8px;
}

.sidebar-article-overlay h4 a {
    color: var(--text-dark);
    text-decoration: none;
}

.sidebar-article-overlay .meta {
    font-size: 0.75rem;
}

/* Article Cards */
.article-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.article-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.article-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s;
}

.article-card img.category-card-img {
    height: 180px;
}

.article-card:hover img {
    transform: scale(1.05);
}

.article-card .card-body {
    padding: 25px;
}

.article-card .category {
    color: var(--primary-red);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}

.article-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
}

.article-card h3.category-card-title {
    font-size: 1rem;
}

.article-card h3 a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s;
}

.article-card h3 a:hover {
    color: var(--primary-red);
}

.article-card .excerpt {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 12px;
}

.article-card .meta {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* Category Sections */
.category-section {
    padding: 50px 0;
    margin-bottom: 0;
    border-radius: 15px;
    padding-left: 27px;
    padding-right: 27px;
}

.category-section-white {
    background-color: #ffffff;
}

.category-section-transparent {
    background-color: transparent;
}

.category-section h2 {
    font-size: 1.5rem;
    color: var(--text-dark);
}

.category-section-title {
    width: 5px;
    height: 30px;
    background: var(--primary-red);
    margin-right: 15px;
}

.category-see-all {
    color: var(--primary-red);
    font-weight: 600;
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 20px;
}

.sidebar-widget {
    background: white;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
    border: 1px solid var(--border-color);
}

.sidebar-widget h4 {
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--primary-red);
}

.sidebar-article {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-article:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.sidebar-article .number {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-red);
    margin-right: 15px;
    float: left;
}

.sidebar-article h5 {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 8px;
}

.sidebar-article h5 a {
    color: var(--text-dark);
    text-decoration: none;
}

.sidebar-article h5 a:hover {
    color: var(--primary-red);
}

.sidebar-article .meta {
    font-size: 0.8rem;
    color: var(--text-light);
}

.sidebar-article-large {
    transition: transform 0.3s;
}

.sidebar-article-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Newsletter */
.newsletter-full-width {
    margin-top: 60px;
}

.newsletter-gradient {
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    border-radius: 16px;
}

.newsletter-full-width p {
    font-size: 1.1rem;
    opacity: 0.95;
}

.newsletter-full-width .form-col {
    min-width: 300px;
}

.newsletter-full-width input {
    border: none;
}

/* Footer */
.footer-section {
    background: #1a1a1a;
    color: #fff;
    padding: 50px 0 20px;
    margin-top: 60px;
}

.footer-section h5 {
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1rem;
    text-transform: uppercase;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-red);
}

/* Article Page Styles */
.article-header .badge {
    background: var(--primary-red);
    font-size: 0.9rem;
    padding: 0.5em 1em;
}

.article-meta {
    font-size: 0.95rem;
    color: var(--text-light);
}

.article-content {
    font-family: Georgia, serif;
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.article-content h2, 
.article-content h3 {
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

pre {
    background-color: #f4f4f4;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 15px;
    overflow-x: auto;
    font-family: Consolas, 'Courier New', monospace;
    font-size: 14px;
}

code {
    font-family: Consolas, 'Courier New', monospace;
    background-color: #f4f4f4;
    padding: 2px 4px;
    border-radius: 4px;
}

.blockquote {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-light);
    border-left: 4px solid var(--primary-red);
    padding-left: 20px;
    margin: 2rem 0;
}

.share-buttons .btn {
    padding: 0.5rem 1rem;
    margin-right: 8px;
    border-radius: 5px;
}

.share-buttons .btn i {
    width: 1rem;
    text-align: center;
}

/* Responsive */
@media (max-width: 991px) {
    .hero-sidebar-overlay {
        position: static;
        width: 100%;
        max-width: 100%;
        transform: none;
        margin-top: 20px;
    }
    
    .sidebar-article-overlay {
        margin-bottom: 15px !important;
    }
}

@media (max-width: 768px) {
    .hero-article {
        height: 350px;
    }
    
    .hero-article h1 {
        font-size: 1.75rem;
    }
    
    .sidebar {
        position: static;
        margin-top: 40px;
    }
    
    .newsletter-full-width .col-auto {
        width: 100%;
    }
    
    .newsletter-full-width .form-control,
    .newsletter-full-width .btn {
        width: 100%;
    }
    
    .hero-sidebar-overlay {
        right: 0;
        padding: 0 15px;
    }
}

/* Lightbox Image Styles */
.glightbox {
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

.glightbox img {
    transition: all 0.3s ease;
}

.glightbox:hover img {
    opacity: 0.9;
    transform: scale(1.02);
}

.glightbox::after {
    content: '\f00e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 3rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.glightbox:hover::after {
    opacity: 0.8;
}

.article-featured-image .glightbox {
    display: block;
}

.article-content .glightbox {
    margin: 1rem 0;
}

