/* style.css */

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fdfdfd;
    margin: 0;
}

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

/* Header */
.main-header {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.logo a {
    font-family: 'Lora', serif;
    font-size: 2.5em;
    font-weight: bold;
    text-decoration: none;
    color: #000;
}

.header-actions .header-link {
    margin: 0 15px;
    text-decoration: none;
    color: #555;
}

.header-actions .btn {
    padding: 10px 20px;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}

.header-actions .header-icon {
    font-size: 1.2em;
    margin-left: 15px;
}

.main-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.main-nav a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

/* Homepage Grid */
.homepage-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.lead-story img, .featured-story img {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
}

.story-content .category-tag {
    font-size: 0.8em;
    font-weight: bold;
    color: #888;
    text-transform: uppercase;
}

.lead-story h2 a {
    font-family: 'Lora', serif;
    font-size: 2.2em;
    color: #000;
    text-decoration: none;
}

.lead-story p {
    color: #555;
}

.featured-stories {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.featured-story h3 a {
    font-family: 'Lora', serif;
    font-size: 1.4em;
    color: #000;
    text-decoration: none;
}

.opinion-section h4 {
    border-top: 3px solid #000;
    padding-top: 10px;
}

.opinion-story h3 a {
    font-family: 'Lora', serif;
    font-size: 1.2em;
    color: #000;
    text-decoration: none;
}

/* Sidebar */
.sidebar h4 {
    border-top: 3px solid #000;
    padding-top: 10px;
}

.sidebar-story {
    border-bottom: 1px solid #eee;
    padding: 15px 0;
}

.sidebar-story:last-child {
    border-bottom: none;
}

.sidebar-story .category-tag {
    font-size: 0.7em;
}

.sidebar-story p a {
    font-weight: bold;
    color: #000;
    text-decoration: none;
}

/* More Stories */
.more-stories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.more-story-item img {
    width: 100%;
}

.more-story-item h3 a {
    font-family: 'Lora', serif;
    font-size: 1.2em;
    color: #000;
    text-decoration: none;
}

/* Footer */
.main-footer {
    background-color: #f8f8f8;
    padding: 40px 0;
    margin-top: 40px;
    text-align: center;
}

.newsletter-signup h2 {
    font-family: 'Lora', serif;
}

.newsletter-signup form {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.newsletter-signup input {
    width: 300px;
    padding: 10px;
    border: 1px solid #ccc;
}

.newsletter-signup button {
    padding: 10px 20px;
    border: none;
    background-color: #000;
    color: #fff;
}

.footer-links a {
    margin: 0 10px;
    color: #555;
    text-decoration: none;
}

/* Article Page */
.article-page {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

.article-header .breadcrumb {
    font-size: 0.9em;
    color: #777;
    margin-bottom: 15px;
}

.article-header h1 {
    font-family: 'Lora', serif;
    font-size: 2.8em;
}

.author-info {
    margin: 20px 0;
}

.featured-image {
    width: 100%;
    margin-bottom: 20px;
}

.article-body h2, .article-body h3 {
    font-family: 'Lora', serif;
}

.article-sidebar .handpicked-section h4 {
     border-top: 3px solid #000;
    padding-top: 10px;
}

.handpicked-story {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.handpicked-story img {
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.handpicked-story h3 a {
    font-size: 1em;
    font-family: 'Lora', serif;
    color: #000;
    text-decoration: none;
}

/* Category Page */
.page-title {
    font-family: 'Lora', serif;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.article-card {
    border: 1px solid #eee;
}

.article-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

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

.article-card h3 a {
    font-family: 'Lora', serif;
    color: #000;
    text-decoration: none;
}

.article-meta {
    font-size: 0.8em;
    color: #777;
    margin-top: 10px;
}
.pagination {
    margin-top: 40px;
    text-align: center;
}
.page-link {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 4px;
    border: 1px solid #ddd;
    color: #333;
    text-decoration: none;
}
.page-link.current {
    background-color: #333;
    color: #fff;
    border-color: #333;
}
.page-link:hover {
    background-color: #f4f4f4;
}
