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

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --text-color: #333;
    --bg-color: #f8f9fa;
    --card-bg: #ffffff;
    --border-color: #e0e0e0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ebf0 100%);
}

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

/* Top Info Bar */
.top-info-bar {
    background: #1a1a1a;
    color: white;
    padding: 0.5rem 0;
    font-size: 0.85rem;
}

.top-info-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-left {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.info-right {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.info-right a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.info-right a:hover {
    opacity: 0.7;
}

.info-divider {
    height: 14px;
    width: 1px;
    background: rgba(255,255,255,0.3);
}

/* Header: Logo + Ad */
.header-top {
    background: white;
    padding: 1.5rem 0;
}

.header-top-content {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: center;
}

.logo-container {
    display: flex;
    flex-direction: column;
}

.logo-image {
    height: 90px;
    width: auto;
}

.ad-banner-header {
    display: flex;
    justify-content: flex-end;
}

.header-banner {
    max-width: 728px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.ad-placeholder {
    background: #f0f0f0;
    border: 2px dashed #999;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 90px;
    width: 728px;
    max-width: 100%;
    color: #999;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    transition: background 0.3s;
    text-decoration: none;
    color: white;
}

.social-links a:hover {
    background: rgba(255,255,255,0.2);
}

/* Navigation */
.main-nav {
    background: white;
    padding: 1rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.nav-links a {
    color: #4a4a4a;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s;
    white-space: nowrap;
    position: relative;
    padding-bottom: 0.5rem;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #4a4a4a;
    transition: width 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 60%;
}

.nav-social-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-social-links a {
    color: #4a4a4a;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
}

.nav-social-links a:hover {
    opacity: 0.7;
}

.nav-social-links svg {
    width: 22px;
    height: 22px;
}

/* Feature Section */
.feature-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 0.75rem;
    margin: 3rem 0 0.75rem 0;
}

/* Feature Article */
.feature-article {
    background: var(--card-bg);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: relative;
}

.feature-article a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.feature-article-image-container {
    position: relative;
    height: 100%;
}

/* NEU Badge - Simple Corner */
.neu-ribbon {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #c0392b;
    color: white;
    padding: 0.5rem 1rem;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 1px;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.neu-ribbon::before {
    content: 'NEU';
}

.feature-article .hero-image {
    width: 100%;
    height: 100%;
    min-height: 600px;
    object-fit: cover;
    display: block;
}

.feature-article-content-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
    padding: 3rem 2rem 2rem;
    color: white;
}

.feature-article .hero-title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: white;
    line-height: 1.2;
}

.feature-preview {
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.feature-article .meta {
    color: rgba(255,255,255,0.9);
}

.hero-content {
    padding: 2rem;
}

.category-badge {
    display: inline-block;
    background: var(--secondary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

/* Category badge on image - for top 3 articles */
.feature-article-image-container .category-badge-overlay,
.small-article-image-container .category-badge-overlay,
.bottom-small-article-image-container .category-badge-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--secondary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 1rem;
}

.preview {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.read-more-btn {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.read-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

/* Small Articles */
.small-articles {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 0.75rem;
}

.small-article {
    background: var(--card-bg);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    position: relative;
}

.small-article:hover {
    transform: translateY(-3px);
}

.small-article-image-container {
    position: relative;
    height: 100%;
}

.small-article .thumbnail {
    width: 100%;
    height: 100%;
    min-height: 294px;
    object-fit: cover;
    display: block;
}

.small-article-content-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
    padding: 2rem 1.5rem 1.5rem;
    color: white;
}

.small-article h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: white;
    line-height: 1.3;
}

.small-article .meta {
    color: rgba(255,255,255,0.95);
    font-size: 0.85rem;
    font-weight: 500;
}

/* Bottom Articles Row */
.bottom-articles-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 2rem;
    margin-top: 0;
}

.bottom-small-article {
    background: var(--card-bg);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: relative;
    min-height: 300px;
}

.bottom-small-article a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.bottom-small-article-image-container {
    position: relative;
    height: 100%;
}

.bottom-small-article .thumbnail {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
    display: block;
}

.bottom-small-article-content-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
    padding: 2rem 1.5rem 1.5rem;
    color: white;
}

.bottom-small-article h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: white;
    line-height: 1.3;
}

.bottom-small-article .meta {
    color: rgba(255,255,255,0.95);
    font-size: 0.85rem;
    font-weight: 500;
}

/* Article List */
.main-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 0.75rem;
    margin-bottom: 3rem;
}

.article-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.article-item {
    background: var(--card-bg);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    transition: transform 0.3s;
    position: relative;
}

.article-item a {
    display: flex;
    gap: 1rem;
    color: inherit;
    text-decoration: none;
    width: 100%;
    padding: 1rem;
}

.article-item:hover {
    transform: translateY(-2px);
}

.small-article a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.article-item-image-container {
    flex-shrink: 0;
}

.article-item .thumbnail {
    width: 150px;
    height: 120px;
    object-fit: cover;
    display: block;
}

.article-item .content {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Category badge for list articles - bottom right on card */
.article-item .category-badge-overlay {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    background: var(--secondary-color);
    color: white;
    padding: 0.35rem 0.7rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    z-index: 10;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.article-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    line-height: 1.3;
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.widget {
    background: var(--card-bg);
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

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

.popular-articles ul {
    list-style: none;
    counter-reset: article-counter;
}

.popular-articles li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    counter-increment: article-counter;
    position: relative;
    padding-left: 2.5rem;
}

.popular-articles li::before {
    content: counter(article-counter);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 2rem;
    height: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.popular-articles li:last-child {
    border-bottom: none;
}

.popular-articles a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
    display: block;
}

.popular-articles a:hover {
    color: var(--secondary-color);
}

/* Mailchimp Newsletter Styles */
#mc_embed_signup {
    background: transparent;
    clear: left;
    font: 14px var(--font-family);
    width: 100%;
}

#mc_embed_signup .mc-field-group {
    margin-bottom: 0.75rem;
}

#mc_embed_signup input[type="email"] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.9rem;
}

#mc_embed_signup .button {
    width: 100%;
    padding: 0.75rem;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    font-size: 0.9rem;
}

#mc_embed_signup .button:hover {
    background: #2980b9;
}

#mc_embed_signup .response {
    margin-top: 0.75rem;
    padding: 0.5rem;
    border-radius: 4px;
    font-size: 0.85rem;
}

#mc_embed_signup .mce-error-response {
    background: #ffebee;
    color: #c62828;
}

#mc_embed_signup .mce-success-response {
    background: #e8f5e9;
    color: #2e7d32;
}

#mc_embed_signup #mce-responses {
    margin-top: 0.75rem;
}

.ad-banner {
    padding: 0 !important;
    overflow: hidden;
}

.ad-video {
    width: 100%;
    height: auto;
    display: block;
}

.ad-placeholder-sidebar {
    background: #f0f0f0;
    border: 2px dashed #999;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 250px;
    width: 100%;
    color: #999;
}

.resources {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.resources h3 {
    color: white;
    border-color: rgba(255,255,255,0.3);
}

.resources a {
    color: white;
    text-decoration: underline;
}

/* Footer */
footer {
    background: #1a1a1a;
    color: white;
    padding: 3rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
}

.footer-logo .footer-logo-image {
    height: 60px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-description {
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-contact {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.footer-contact a {
    color: #667eea;
    text-decoration: none;
}

.footer-contact a:hover {
    text-decoration: underline;
}

.footer-about-text {
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.footer-social svg {
    width: 22px;
    height: 22px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

/* Tag Cloud Inline (between articles) */
.tag-cloud-inline {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: 8px;
    border: 1px solid #90caf9;
}

.tag-cloud-title-small {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: #1976d2;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tag-cloud-small {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
}

.tag-small {
    display: inline-block;
    padding: 0.3rem 0.6rem;
    background: #0d47a1;
    color: white;
    text-decoration: none;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.3s;
    border: 1px solid #0d47a1;
}

.tag-small:hover {
    background: white;
    color: #0d47a1;
    border-color: #0d47a1;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(13, 71, 161, 0.3);
}

/* Different tag sizes */
.tag-small.tag-xl {
    font-size: 0.95rem;
    padding: 0.4rem 0.8rem;
    font-weight: 600;
}

.tag-small.tag-lg {
    font-size: 0.85rem;
    padding: 0.35rem 0.7rem;
}

.tag-small.tag-md {
    font-size: 0.8rem;
    padding: 0.3rem 0.6rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .feature-section {
        grid-template-columns: 1fr;
    }
    
    .main-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-top-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
    }
    
    .ad-placeholder {
        width: 100%;
        min-height: 50px;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
}

/* Article Page Styles */
.article-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2rem;
    margin-top: 2rem;
}

.article-content {
    background: var(--card-bg);
    padding: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.article-feature-image {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.article-feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.article-category {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: var(--secondary-color);
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.article-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: var(--primary-color);
}

.article-meta {
    display: flex;
    gap: 1.5rem;
    color: #666;
    font-size: 0.9rem;
}

.article-body {
    padding: 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

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

.article-body h2 {
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.article-body h3 {
    font-size: 1.4rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.article-body ul, .article-body ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.article-body li {
    margin-bottom: 0.5rem;
}

.article-sharing {
    padding: 2rem;
    border-top: 1px solid var(--border-color);
    background: #f8f9fa;
}

.article-sharing h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
}

.share-btn.facebook {
    background: #1877f2;
    color: white;
}

.share-btn.facebook:hover {
    background: #166fe5;
}

.share-btn.twitter {
    background: #000;
    color: white;
}

.share-btn.twitter:hover {
    background: #333;
}

.share-btn.linkedin {
    background: #0077b5;
    color: white;
}

.share-btn.linkedin:hover {
    background: #006399;
}

.share-btn.copy {
    background: #6c757d;
    color: white;
}

.share-btn.copy:hover {
    background: #5a6268;
}

.recommended-articles {
    padding: 2rem;
    border-top: 1px solid var(--border-color);
}

.recommended-articles h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.recommended-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.recommended-item {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.recommended-item:hover {
    transform: translateY(-4px);
}

.recommended-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.recommended-content {
    padding: 1rem;
}

.recommended-category {
    display: inline-block;
    padding: 0.3rem 0.6rem;
    background: var(--secondary-color);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.recommended-content h4 {
    font-size: 1rem;
    margin: 0;
}

.recommended-content h4 a {
    color: var(--text-color);
    text-decoration: none;
}

.recommended-content h4 a:hover {
    color: var(--secondary-color);
}

/* Article Sidebar */
.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.popular-articles-images ul {
    list-style: none;
    padding: 0;
}

.popular-articles-images li {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.popular-articles-images li:last-child {
    border-bottom: none;
}

.popular-articles-images li img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.popular-content {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.popular-content a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    line-height: 1.3;
}

.popular-content a:hover {
    color: var(--secondary-color);
}

.popular-date {
    font-size: 0.8rem;
    color: #666;
}

/* Responsive Article Layout */
@media (max-width: 1024px) {
    .article-layout {
        grid-template-columns: 1fr;
    }
    
    .recommended-grid {
        grid-template-columns: 1fr;
    }
}

/* Archive Styles */
.archive-header {
    text-align: center;
    margin: 3rem 0 2rem;
    padding: 2rem 0;
    border-bottom: 2px solid var(--border-color);
}

.archive-header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.archive-description {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.archive-item {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.archive-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.archive-item-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.archive-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.archive-item:hover .archive-item-image img {
    transform: scale(1.05);
}

.archive-category-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--secondary-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.archive-item-content {
    padding: 1.5rem;
}

.archive-item-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.archive-date {
    font-weight: 500;
}

.archive-reading-time {
    background: #f0f0f0;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
}

.archive-item-title {
    margin-bottom: 1rem;
}

.archive-item-title a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.archive-item-title a:hover {
    color: var(--secondary-color);
}

.archive-item-summary {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.archive-item-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.archive-tag {
    background: #e8f4f8;
    color: var(--secondary-color);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 3rem 0;
    gap: 1rem;
}

.pagination-btn {
    background: var(--secondary-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.pagination-btn:hover {
    background: #2980b9;
}

.pagination-numbers {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.pagination-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.pagination-number:hover {
    background: #f0f0f0;
    border-color: var(--secondary-color);
}

.pagination-current {
    background: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}

/* Archive Responsive */
@media (max-width: 768px) {
    .archive-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .archive-header h1 {
        font-size: 2rem;
    }
    
    .pagination {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .pagination-numbers {
        flex-wrap: wrap;
    }
}
