/* CSS Variables & Fonts */
:root {
    --primary-red: #e10000;
    --dark-blue: #0b0d17;
    --bg-light: #f4f4f4;
    --text-dark: #222222;
    --text-gray: #666666;
    --white: #ffffff;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Top Bar */
.top-bar {
    background-color: var(--white);
    font-size: 12px;
    font-weight: 600;
    padding: 10px 0;
}

/* Header */
.header {
    background-color: var(--white);
    padding: 30px 0;
    text-align: center;
}

.logo {
    max-height: 80px;
    margin: 0 auto;
}

/* Navigation */
.navbar {
    background-color: var(--dark-blue);
    color: var(--white);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.nav-home {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 100%;
    background-color: #151828;
}

.nav-icon {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    flex: 1;
    padding-left: 30px;
}

.nav-links a {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.bell-icon {
    filter: invert(15%) sepia(95%) saturate(6932%) hue-rotate(358deg) brightness(95%) contrast(112%); /* Red color */
}

/* Main Wrapper */
.main-wrapper {
    background-color: var(--bg-light);
    padding: 20px 0;
}

.page-content {
    background-color: var(--white);
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    padding: 30px;
}

/* Ticker */
.ticker-wrap {
    display: flex;
    border: 1px solid #eee;
    margin-bottom: 30px;
    align-items: stretch;
}

.ticker-label {
    background-color: var(--primary-red);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
    padding: 10px 30px 10px 20px;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
    white-space: nowrap;
    z-index: 2;
}

.ticker-content {
    flex: 1;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 0 20px;
    font-weight: 600;
    font-size: 14px;
}

.ticker-item {
    margin-right: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ticker-arrow {
    width: 12px;
    height: 12px;
}

/* Hero Grid */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.hero-card {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    display: block;
}

.hero-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    pointer-events: none;
}

.card-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-card:hover .card-bg {
    transform: scale(1.05);
}

.camera-badge {
    position: absolute;
    left: 20px;
    top: 50%;
    width: 30px;
    height: 30px;
    z-index: 10;
}

.large-left .camera-badge {
    top: auto;
    bottom: 120px;
}

.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 20px;
    color: var(--white);
    z-index: 2;
    width: 100%;
}

.tags {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.tag {
    background-color: var(--primary-red);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 800;
    padding: 4px 8px;
    text-transform: uppercase;
}

.card-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 8px;
}

.small-title {
    font-size: 18px;
}

.card-meta {
    font-size: 12px;
    font-weight: 600;
}

.hero-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.wide-top {
    height: 60%;
}

.hero-bottom-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    height: 40%;
}

/* Article List */
.article-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 50px;
}

.list-item {
    display: flex;
    border: 1px solid #eee;
    background: #fff;
}

.item-image {
    width: 40%;
    position: relative;
    overflow: hidden;
}

.item-image img:not(.camera-badge) {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-image .camera-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    top: auto;
}

.item-info {
    width: 60%;
    padding: 30px;
}

.item-info h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    margin: 15px 0 10px;
    line-height: 1.3;
}

.item-info h3 a:hover {
    color: var(--primary-red);
}

.item-meta {
    font-size: 12px;
    color: #888;
    font-weight: 600;
    margin-bottom: 15px;
}

.item-excerpt {
    font-size: 14px;
    color: var(--text-gray);
}

/* Missed Posts */
.section-heading {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    border-bottom: 2px solid var(--primary-red);
    padding-bottom: 10px;
    margin-bottom: 20px;
    display: inline-block;
}

.missed-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 50px;
}

.missed-card {
    position: relative;
    height: 200px;
    border-radius: 4px;
    overflow: hidden;
    display: block;
}

.missed-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
}

.missed-card .card-content {
    padding: 15px;
}

.missed-card .card-title {
    font-size: 16px;
}

.missed-card .card-meta {
    font-size: 10px;
    color: #ddd;
}

/* Ad Banner */
.ad-banner {
    border: 1px solid #ddd;
    margin-bottom: 20px;
}

.ad-header {
    background-color: var(--primary-red);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
    text-align: center;
    padding: 15px;
    font-size: 18px;
}

.ad-body {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 30px;
}

.ad-logo {
    max-width: 150px;
}

.ad-body p {
    font-size: 14px;
    max-width: 400px;
}

.ad-body a {
    color: var(--primary-red);
    text-decoration: underline;
}

/* Welcome Text */
.welcome-text-section {
    background-color: var(--white);
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid #eee;
}

.welcome-text-section h2 {
    font-family: var(--font-heading);
    font-size: 26px;
    margin-bottom: 20px;
    color: var(--dark-blue);
}

.welcome-text-section p {
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-gray);
}

/* Footer */
.site-footer {
    background-color: var(--dark-blue);
    color: #aaa;
    padding: 50px 0 20px;
    font-size: 13px;
}

.footer-disclaimer {
    max-width: 600px;
    margin-bottom: 40px;
    line-height: 1.8;
}

.footer-logo-wrap {
    margin-bottom: 30px;
}

.footer-logo {
    max-width: 150px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

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

/* Modals & Buttons */
.cookie-modal {
    position: fixed;
    right: -400px;
    bottom: 20px;
    width: 320px;
    background-color: var(--white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    padding: 25px;
    border-radius: 8px;
    border-left: 5px solid var(--primary-red);
    z-index: 1000;
    transition: right 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cookie-modal.show {
    right: 20px;
}

.cookie-modal h4 {
    font-family: var(--font-heading);
    color: var(--dark-blue);
    margin-bottom: 10px;
}

.cookie-modal p {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 15px;
}

.btn-red {
    background-color: var(--primary-red);
    color: var(--white);
    border: none;
    padding: 10px 15px;
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.btn-red:hover {
    background-color: #c00000;
}

#scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: var(--bg-light);
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

#scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

#scroll-to-top img {
    width: 20px;
    height: 20px;
}

#scroll-to-top:hover {
    background-color: var(--white);
    border-color: var(--primary-red);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .hero-right {
        height: auto;
    }
    .wide-top {
        height: 300px;
    }
    .hero-bottom-row {
        height: 250px;
    }
    .missed-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Mobile menu needed in reality, hiding for simplicity based on prompt */
    }
    .ticker-wrap {
        flex-direction: column;
    }
    .ticker-label {
        clip-path: none;
        text-align: center;
    }
    .article-list .list-item {
        flex-direction: column;
    }
    .item-image, .item-info {
        width: 100%;
    }
    .ad-body {
        flex-direction: column;
        text-align: center;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    .missed-grid {
        grid-template-columns: 1fr;
    }
}
/* Inner page styles */
/* ----------------------------------
   INTERNAL PAGE STYLES
----------------------------------- */

/* Breadcrumbs */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.breadcrumbs a {
    color: var(--dark-blue);
    font-weight: 600;
}

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

.breadcrumb-separator {
    width: 10px;
    height: 10px;
    opacity: 0.5;
}

/* Single Article Header */
.single-article {
    margin-bottom: 50px;
}

.article-header {
    margin-bottom: 25px;
}

.article-header .tags {
    margin-bottom: 15px;
}

.article-title {
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 800;
    color: var(--dark-blue);
    line-height: 1.2;
    margin-bottom: 15px;
}

.article-meta {
    font-size: 13px;
    color: var(--text-gray);
    display: flex;
    gap: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Article Main Image */
.article-main-image-wrap {
    margin-bottom: 40px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.article-main-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Table of Contents */
.article-toc {
    background-color: var(--bg-light);
    border-left: 4px solid var(--primary-red);
    padding: 25px 30px;
    margin-bottom: 40px;
    border-radius: 0 8px 8px 0;
}

.toc-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-blue);
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-list li {
    margin-bottom: 10px;
}

.toc-list li:last-child {
    margin-bottom: 0;
}

.toc-list a {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 15px;
    position: relative;
    padding-left: 15px;
    transition: color 0.2s;
}

.toc-list a::before {
    content: '\2022';
    color: var(--primary-red);
    position: absolute;
    left: 0;
    font-size: 18px;
    top: -2px;
}

.toc-list a:hover {
    color: var(--primary-red);
}

/* Article Content General Typography */
.article-content {
    font-size: 16px;
    color: var(--text-dark);
    line-height: 1.8;
}

/* Text Tags H1-H6, P, SPAN */
.article-content h1, 
.article-content h2, 
.article-content h3, 
.article-content h4, 
.article-content h5, 
.article-content h6 {
    font-family: var(--font-heading);
    color: var(--dark-blue);
    margin-top: 40px;
    margin-bottom: 20px;
    line-height: 1.3;
    font-weight: 700;
}

.article-content h1 { font-size: 32px; }
.article-content h2 { font-size: 28px; border-bottom: 1px solid #eee; padding-bottom: 10px; }
.article-content h3 { font-size: 24px; }
.article-content h4 { font-size: 20px; }
.article-content h5 { font-size: 18px; }
.article-content h6 { font-size: 16px; text-transform: uppercase; }

.article-content p {
    margin-bottom: 20px;
}

.article-content span.text-highlight {
    background-color: #fff3cd;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 600;
    color: #856404;
}

/* Lists UL, OL */
.article-content ul, 
.article-content ol {
    margin: 0 0 25px 25px;
    padding-left: 20px;
}

.article-content ul li, 
.article-content ol li {
    margin-bottom: 12px;
    padding-left: 5px;
}

.article-content ul {
    list-style-type: square;
}

.article-content ul li::marker {
    color: var(--primary-red);
}

.article-content ol {
    list-style-type: decimal;
}

.article-content ol li::marker {
    font-weight: 700;
    color: var(--dark-blue);
}

/* Links inside articles (A tag) */
.article-content p a,
.article-content li a {
    color: var(--primary-red);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.article-content p a:hover,
.article-content li a:hover {
    border-bottom: 1px solid var(--primary-red);
}

/* Inline Article Images */
.article-inline-image-wrap {
    margin: 35px 0;
    text-align: center;
}

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

.image-caption {
    display: block;
    font-size: 13px;
    color: var(--text-gray);
    margin-top: 10px;
    font-style: italic;
}

/* Table Styles */
.table-responsive {
    overflow-x: auto;
    margin-bottom: 30px;
}

.article-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    min-width: 600px;
}

.article-table th, 
.article-table td {
    padding: 15px;
    border: 1px solid #e0e0e0;
    text-align: left;
}

.article-table th {
    background-color: var(--dark-blue);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 600;
}

.article-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.article-table tbody tr:hover {
    background-color: #f1f1f1;
}

/* Related Posts Section (Interlinking) */
.related-posts-section {
    margin-top: 60px;
    border-top: 2px solid #eee;
    padding-top: 40px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

/* Forms Styling (Comments & Contact) */
.comments-section,
.contact-section {
    margin-top: 50px;
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: 8px;
}

.comments-list {
    margin-bottom: 40px;
}

.comment-item {
    display: flex;
    gap: 20px;
    background: var(--white);
    padding: 20px;
    border-radius: 6px;
    border-left: 3px solid #ddd;
}

.comment-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-body h5 {
    font-family: var(--font-heading);
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--dark-blue);
}

.comment-date {
    font-size: 12px;
    color: var(--text-gray);
    font-weight: normal;
    margin-left: 10px;
}

.comment-body p {
    font-size: 14px;
    margin: 0;
    color: var(--text-dark);
}

.custom-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-blue);
}

.custom-form input[type="text"],
.custom-form input[type="email"],
.custom-form select,
.custom-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 15px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.custom-form input:focus,
.custom-form select:focus,
.custom-form textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(225, 0, 0, 0.1);
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.form-checkbox input[type="checkbox"] {
    margin-top: 4px;
    accent-color: var(--primary-red);
    width: 16px;
    height: 16px;
}

.form-checkbox label {
    font-size: 13px;
    color: var(--text-gray);
    cursor: pointer;
    line-height: 1.4;
}

.custom-form .btn-red {
    max-width: 250px;
    padding: 15px 25px;
    font-size: 15px;
}

.contact-intro {
    margin-bottom: 25px;
    color: var(--text-gray);
}

/* Responsive Styles for Internal Page */
@media (max-width: 992px) {
    .article-title {
        font-size: 30px;
    }
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .article-title {
        font-size: 24px;
    }
    .article-toc {
        padding: 20px;
        border-radius: 8px;
        border-left: none;
        border-top: 4px solid var(--primary-red);
    }
    .related-grid {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .comments-section, .contact-section {
        padding: 25px 20px;
    }
    .custom-form .btn-red {
        max-width: 100%;
    }
}
.wce-banner {
    max-width: 960px;
    margin: 30px auto;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

.wce-banner-header {
    background: #f00000;
    color: #fff;
    padding: 12px 24px;
    font-weight: 700;
    font-size: 18px;
}

.wce-banner-body {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 26px 24px;
}

.wce-logo {
    width: 270px;
    max-width: 100%;
    display: block;
}

.wce-flag {
    width: 98px;
    height: 98px;
    flex: 0 0 98px;
    border-radius: 50%;
    background: linear-gradient(to bottom, #fff 0 50%, #dc143c 50% 100%);
    border: 6px solid #f1f1f1;
}

.wce-text {
    margin: 0;
    color: #444;
    font-size: 15px;
    line-height: 1.7;
}

.wce-text a {
    color: #d60000;
    text-decoration: underline;
}

@media (max-width: 700px) {
    .wce-banner-body {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .wce-flag {
        width: 72px;
        height: 72px;
        flex-basis: 72px;
    }
}