/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-color: #fafafa;
    --text-color: #1a1a1a;
    --border-color: #e0e0e0;
    --link-color: #1a1a1a;
    --hover-color: #666;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Iceberg', cursive;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

a {
    color: var(--link-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--hover-color);
}

/* Header */
.site-header {
    padding: 2rem 0 0;
    border-bottom: 1px solid var(--border-color);
}

.header-content {
    text-align: center;
    padding-bottom: 1rem;
}

.site-title {
    margin-bottom: 1.5rem;
}

.site-title a {
    font-family: 'Iceberg', cursive;
    font-size: 3rem;
    font-weight: 400;
    text-decoration: none;
    color: var(--text-color);
    letter-spacing: 0.02em;
}

.site-tagline {
    font-family: 'Roboto', sans-serif;
    font-size: 0.95rem;
    font-weight: 300;
    color: #666;
    margin-top: 0.5rem;
    letter-spacing: 0.02em;
}

.site-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.nav-link {
    font-family: 'Iceberg', cursive;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

.nav-link:hover {
    border-bottom-color: var(--text-color);
}

.header-border {
    height: 3px;
    background-color: var(--text-color);
}

/* Main Content */
main {
    padding: 3rem 0;
    min-height: 60vh;
}

/* Featured Article */
.featured {
    margin-bottom: 3rem;
}

.featured-article {
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    max-width: 800px;
    margin: 0 auto;
}

.featured-image {
    width: 100%;
    height: auto;
    margin-bottom: 1.5rem;
    display: block;
}

.featured-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.featured-title a {
    color: var(--text-color);
}

/* Article Meta */
.article-meta {
    font-family: 'Roboto', sans-serif;
    font-size: 0.85rem;
    font-weight: 300;
    color: #666;
    margin-bottom: 1rem;
}

.article-excerpt {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
}

/* Divider */
.divider {
    height: 1px;
    background-color: var(--border-color);
    margin: 2rem 0;
}

/* Articles Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.article-card {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.article-card-image {
    width: 100%;
    height: auto;
    margin-bottom: 1rem;
    display: block;
}

.article-title {
    font-size: 2.1rem;
    margin-bottom: 0.5rem;
}

.article-title a {
    color: var(--text-color);
}

/* Single Article */
.single-article {
    max-width: 800px;
    margin: 0 auto;
}

.article-header {
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.article-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 1rem;
}

.share-buttons {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    font-size: 0.85rem;
}

.share-label {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    color: #666;
}

.share-button {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    color: var(--text-color);
    text-decoration: none;
    padding: 0.4rem;
    border: 1px solid var(--border-color);
    border-radius: 3px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.share-button svg {
    display: block;
}

.share-button:hover {
    background-color: var(--text-color);
    color: var(--bg-color);
    border-color: var(--text-color);
}

.single-featured-image {
    width: 100%;
    height: auto;
    margin-bottom: 2rem;
    display: block;
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

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

.article-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

.article-content img {
    max-width: 100%;
    height: auto;
    margin: 2rem 0;
}

.article-content blockquote {
    border-left: 3px solid var(--text-color);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #333;
}

/* List Pages */
.list-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--text-color);
}

.articles-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.article-item {
    display: flex;
    gap: 1.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.article-list-image {
    width: 250px;
    min-width: 250px;
    max-width: 250px;
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
}

.article-item-content {
    flex: 1;
}

/* Footer */
.site-footer {
    margin-top: 4rem;
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    background-color: #f5f5f5;
}

.footer-content {
    text-align: center;
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .site-title a {
        font-size: 2rem;
    }

    .featured-title {
        font-size: 1.8rem;
    }

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

    .site-nav {
        gap: 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    .article-item {
        flex-direction: column;
    }

    .article-list-image {
        width: 100%;
    }

    .article-meta-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .share-buttons {
        flex-wrap: wrap;
    }
}