/* Journiest Travel Articles - Style inspired by Journiest.com */

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

body {
    font-family: 'Arial', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

header {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px 0;
    border-bottom: 2px solid #eee;
}

.site-logo {
    max-height: 60px;
    height: auto;
    margin-bottom: 10px;
    filter: brightness(0) saturate(100%) invert(21%) sepia(100%) saturate(1000%) hue-rotate(90deg) brightness(80%) contrast(120%);
}

.site-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 10px;
}

.site-subtitle {
    font-size: 1.1rem;
    color: #7f8c8d;
}

.nav {
    margin: 20px 0;
    text-align: center;
}

.nav a {
    color: #3498db;
    text-decoration: none;
    margin: 0 15px;
    font-weight: 500;
}

.nav a:hover {
    text-decoration: underline;
}

article {
    margin-bottom: 40px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.article-preview {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    border: 1px solid #eee;
    margin-bottom: 20px;
    border-radius: 8px;
    transition: box-shadow 0.3s;
}

.article-preview h3 {
    margin-top: 0;
}

.article-thumbnail {
    width: 150px;
    height: 100px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.article-content {
    flex: 1;
}

.article-placeholder {
    width: 150px;
    height: 100px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
    border-radius: 6px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.article-placeholder::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23adb5bd' viewBox='0 0 24 24'%3E%3Cpath d='M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2zM8.5 13.5l2.5 3.01L14.5 12l4.5 6H5l3.5-4.5z'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
    opacity: 0.3;
}

.article-preview:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.article-header {
    padding: 30px;
    background: #f8f9fa;
}

h1 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.3;
}

h2 {
    font-size: 1.8rem;
    color: #34495e;
    margin: 25px 0 15px 0;
}

h3 {
    font-size: 1.4rem;
    color: #34495e;
    margin: 20px 0 10px 0;
}

.article-meta {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.author {
    font-weight: 600;
}

.date {
    margin-left: 15px;
}

.article-image {
    text-align: center;
    margin: 30px 0;
}

.article-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.article-image caption {
    font-size: 0.85rem;
    color: #7f8c8d;
    margin-top: 8px;
    display: block;
}

.article-content {
    padding: 0 30px;
}

.article-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2c3e50;
}

.article-content ul, .article-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.article-content li {
    margin-bottom: 8px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.article-description {
    padding: 20px 30px;
    background: #ecf0f1;
    font-style: italic;
    color: #34495e;
    border-left: 4px solid #3498db;
}

.back-link {
    display: inline-block;
    margin-top: 30px;
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
}

.back-link:hover {
    text-decoration: underline;
}

footer {
    text-align: center;
    padding: 40px 0;
    margin-top: 60px;
    border-top: 2px solid #eee;
    color: #7f8c8d;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    .site-title {
        font-size: 2rem;
    }

    .article-preview {
        flex-direction: column;
        gap: 15px;
    }

    .article-thumbnail {
        width: 100%;
        height: 150px;
    }

    .article-placeholder {
        width: 100%;
        height: 150px;
    }

    h1 {
        font-size: 1.8rem;
    }

    .article-header, .article-content {
        padding: 20px;
    }
}