/**
 * Additional Styles for Healthline Theme
 */

/* Entry Content Styles */
.entry-header {
    margin-bottom: 40px;
}

.entry-thumbnail {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
}

.entry-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.entry-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    color: #2c3e50;
    margin-bottom: 20px;
}

.entry-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 14px;
    color: #666;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.entry-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.entry-content {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
}

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

.entry-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
    margin: 40px 0 20px;
}

.entry-content h3 {
    font-size: 26px;
    font-weight: 600;
    color: #2c3e50;
    margin: 30px 0 15px;
}

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

.entry-content li {
    margin-bottom: 10px;
}

.entry-content a {
    color: #00a8cc;
    text-decoration: underline;
}

.entry-content a:hover {
    color: #007a9c;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px 0;
}

.entry-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.entry-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.entry-tags a {
    background-color: #f0f0f0;
    color: #333;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s;
}

.entry-tags a:hover {
    background-color: #00a8cc;
    color: #fff;
}

/* Pagination */
.page-links,
.posts-navigation,
.post-navigation {
    margin: 40px 0;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 40px 0;
}

.pagination .page-numbers {
    padding: 10px 15px;
    background-color: #f0f0f0;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background-color: #00a8cc;
    color: #fff;
}

/* Comments */
.comments-area {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #e0e0e0;
}

.comments-title {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 30px;
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px;
}

.comment {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.comment-author {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.comment-meta {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
}

.comment-content {
    line-height: 1.6;
    color: #333;
}

/* Comment Form */
.comment-form {
    margin-top: 40px;
}

.comment-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    font-size: 16px;
    margin-bottom: 20px;
    transition: border-color 0.3s;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: #00a8cc;
}

.comment-form-submit {
    background-color: #00a8cc;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
}

.comment-form-submit:hover {
    background-color: #007a9c;
    transform: scale(1.05);
}

/* Widget Styles */
.widget {
    margin-bottom: 40px;
}

.widget-title {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
}

.widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.widget li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.widget a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.widget a:hover {
    color: #00a8cc;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

/* 404 Error Page */
.error-404 {
    padding: 60px 20px;
    max-width: 600px;
    margin: 0 auto;
}

.error-title {
    font-size: 120px;
    font-weight: 700;
    color: #00a8cc;
    line-height: 1;
    margin-bottom: 20px;
}

.error-description {
    font-size: 18px;
    color: #666;
    margin: 20px 0 40px;
    line-height: 1.6;
}

.error-search {
    margin: 40px 0;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.error-links {
    margin-top: 40px;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 60px 20px;
}

.no-results h3 {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.no-results p {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

/* Archive Description */
.archive-description {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-top: 15px;
}

/* Article Meta */
.article-meta {
    margin-top: 15px;
    font-size: 13px;
    color: #999;
}

/* Print Styles */
@media print {
    .site-header,
    .site-footer,
    .header-actions,
    .newsletter-section {
        display: none;
    }
    
    .site-main {
        max-width: 100%;
        padding: 0;
    }
}

@media (max-width: 768px) {
    .error-title {
        font-size: 80px;
    }
}

