/* Reset */
body,
html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    color: #fff;
    font-family: 'Times New Roman', serif;
    overflow: auto; /* Enable scrolling if needed */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Flex Container */
.container {
    display: flex;
    height: 100vh;
    width: 100vw;
    box-sizing: border-box;
    align-items: center;
    justify-content: space-between;
    overflow: hidden; /* Prevent bleeding */
}

/* Left and Right Columns with Image Grids */
.column {
    width: 25%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
    width: 90%;
    height: 90%;
}

.image-grid img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Central Content */
.newspaper {
    width: 50%;
    padding: 20px;
    text-align: justify;
    overflow-y: auto;
    max-height: 90vh; /* Ensure it fits the screen with scroll */
    box-sizing: border-box;
}

.headline h1 {
    font-size: 2.5em;
    margin-bottom: 0.5em;
    word-break: break-word; /* Prevent content overflow */
}

.headline h1 span {
    color: #e70815;
}

.byline {
    font-size: 1.2em;
    margin-bottom: 1em;
}

.content p {
    margin-bottom: 1.5em;
}

footer {
    margin-top: 40px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icon {
    width: 30px;
    height: 30px;
    filter: invert(1); /* Invert icon colors */
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.1);
}

/* Responsive Design for Small Screens */
@media (max-width: 768px) {
    .container {
        flex-direction: column; /* Stack elements vertically */
        align-items: stretch;
    }

    .column {
        display: none; /* Hide side columns */
    }

    .newspaper {
        width: 100%; /* Take full width on small screens */
        max-height: 100vh; /* Prevent overflow */
        padding: 15px;
    }
}

/* Highlighted Text */
.highlight {
    color: #e70815; /* Red color */
    font-weight: bold;
}
