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

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    background-color: #f4f4f4;
}

.top-ad {
    width: 100%;
    height: 90px;
    margin: 20px 0;
}

.ad-placeholder {
    background-color: #ddd;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    border: 1px solid #ccc;
}

.masthead {
    text-align: center;
    padding: 20px 0;
    border-bottom: 2px solid #333;
    margin-bottom: 20px;
}

.masthead h1 {
    font-size: 3em;
    margin-bottom: 20px;
}

nav {
    margin-bottom: 20px;
}

nav a {
    color: #333;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
}

nav a:hover {
    color: #666;
}

.content {
    display: flex;
    gap: 20px;
}

.main-content {
    flex: 1;
}

.headline-article {
    margin-bottom: 30px;
}

.headline-article img {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
}

.headline-article h2 {
    font-size: 2em;
    margin-bottom: 10px;
}

.article-meta {
    color: #666;
    margin-bottom: 10px;
}

.secondary-articles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.secondary-article img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.secondary-article h3 {
    margin-bottom: 10px;
}

.sidebar {
    width: 300px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar .ad-placeholder {
    height: 250px;
}

footer {
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    border-top: 1px solid #ccc;
}

@media (max-width: 768px) {
    .content {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }

    .secondary-articles {
        grid-template-columns: 1fr;
    }
} 

.headline-article a,
.secondary-article a {
    text-decoration: none;
    color: inherit;
}

.headline-article h2:hover,
.secondary-article h3:hover {
    color: #0066cc;
}

.read-more {
    display: inline-block;
    margin-top: 10px;
    color: #0066cc;
    text-decoration: none;
    font-weight: bold;
}

.read-more:hover {
    text-decoration: underline;
}

.headline-article p,
.secondary-article p {
    margin-bottom: 15px;
}

/* Override default visited link color */
a:visited {
    color: inherit;
}

.read-more:visited {
    color: #0066cc;
}

.related-articles a:visited {
    color: #0066cc;
}
