/*
Theme Name: Travel News
Description: Simple white theme for travel news portal
Version: 1.0
Author: TravelNews
Text Domain: travelnews
*/

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: #ffffff;
    color: #333;
    line-height: 1.6;
}

a {
    color: #0891b2;
    text-decoration: none;
}

a:hover {
    color: #0e7490;
}

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

/* Header */
.site-header {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 20px 0;
}

.site-title {
    font-size: 28px;
    font-weight: 700;
}

.site-title .accent {
    color: #0891b2;
}

.site-title .domain {
    color: #9ca3af;
    font-size: 14px;
    font-weight: 400;
}

/* Posts Grid */
.posts-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 40px -15px;
}

.post-card {
    width: 33.333%;
    padding: 15px;
}

@media (max-width: 900px) {
    .post-card {
        width: 50%;
    }
}

@media (max-width: 600px) {
    .post-card {
        width: 100%;
    }
}

.post-card-inner {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    transition: box-shadow 0.3s;
}

.post-card-inner:hover {
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.post-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-thumbnail-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 48px;
}

.post-content {
    padding: 20px;
}

.post-title {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 10px;
    line-height: 1.4;
}

.post-title a {
    color: inherit;
}

.post-title a:hover {
    color: #0891b2;
}

.post-excerpt {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
}

.post-meta {
    margin-top: 15px;
    font-size: 12px;
    color: #9ca3af;
}

/* Pagination */
.pagination {
    text-align: center;
    margin: 40px 0;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    color: #374151;
}

.pagination .current,
.pagination a:hover {
    background: #0891b2;
    color: #fff;
    border-color: #0891b2;
}

/* Footer */
.site-footer {
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
    padding: 30px 0;
    text-align: center;
    color: #6b7280;
    margin-top: 40px;
}

/* Single Post */
.single-post {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.single-post .post-title {
    font-size: 32px;
    margin-bottom: 20px;
}

.single-post .post-content {
    padding: 0;
}

.single-post .post-content p {
    margin-bottom: 20px;
}

.single-post .post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}
