* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'PT Sans', 'Roboto', Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

a:hover {
    color: #c42127;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
.site-header {
    background-color: #e8e8e8;
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
}

.site-branding {
    text-align: left;
}

.site-title {
    font-size: 36px;
    font-weight: 900;
    color: #000;
    margin-bottom: 5px;
    letter-spacing: -1px;
}

.site-description {
    font-size: 12px;
    color: #666;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Navigation Styles */
.main-navigation {
    background-color: #c42127;
    padding: 0;
    position: relative;
}

.main-navigation .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-menu {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    display: block;
    padding: 15px 20px;
    color: #fff;
    font-weight: 500;
    font-size: 15px;
    transition: background-color 0.3s ease;
}

.nav-menu a:hover {
    background-color: #a01b20;
    color: #fff;
}

.search-icon {
    color: #fff;
    font-size: 18px;
    padding: 0 15px;
    cursor: pointer;
}

/* Article Main Layout */
.article-main {
    padding: 30px 0;
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

/* Article Content */
.article-content {
    background: #fff;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.article-header {
    margin-bottom: 30px;
}

.article-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.cat-tag {
    background-color: #c42127;
    color: #fff;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 3px;
    letter-spacing: 0.5px;
}

.article-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
    color: #000;
}

.article-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #666;
}

.article-featured-image {
    margin: 30px 0;
    border-radius: 5px;
    overflow: hidden;
}

.article-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Article Body */
.article-body {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.article-body p {
    margin-bottom: 20px;
}

.article-body h2 {
    font-size: 26px;
    font-weight: 700;
    margin: 30px 0 20px;
    color: #000;
}

.article-body ul {
    margin: 20px 0;
    padding-left: 30px;
}

.article-body li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.article-body strong {
    font-weight: 700;
    color: #000;
}

/* Related Articles */
.related-articles {
    margin: 50px 0;
    padding: 30px 0;
    border-top: 2px solid #eee;
}

.related-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #000;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.related-card {
    text-align: center;
}

.related-card img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.related-card:hover img {
    transform: scale(1.05);
}

.related-card h4 {
    font-size: 13px;
    line-height: 1.4;
    margin-top: 10px;
}

.related-card a {
    color: #333;
}

.related-card a:hover {
    color: #c42127;
}

/* Post Navigation */
.post-navigation {
    margin: 40px 0;
    padding: 30px 0;
    border-top: 2px solid #eee;
    border-bottom: 2px solid #eee;
}

.nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.nav-previous,
.nav-next {
    padding: 20px;
    background: #f8f8f8;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.nav-previous:hover,
.nav-next:hover {
    background-color: #efefef;
}

.nav-previous a,
.nav-next a {
    color: #333;
    display: block;
}

.nav-label {
    display: block;
    font-size: 12px;
    color: #999;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.nav-next {
    text-align: right;
}

/* Comments Section */
.comments-section {
    margin: 50px 0;
    padding: 30px 0;
    border-top: 2px solid #eee;
}

.comments-section h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #000;
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #c42127;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.checkbox-group input {
    width: auto;
    margin: 0;
}

.checkbox-group label {
    margin: 0;
    font-weight: 400;
}

.required {
    color: #c42127;
}

.submit-btn {
    padding: 12px 30px;
    background-color: #c42127;
    color: #fff;
    border: none;
    border-radius: 3px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    align-self: flex-start;
}

.submit-btn:hover {
    background-color: #a01b20;
}

/* Sidebar */
.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sidebar-widget {
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.sidebar-widget h2 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #c42127;
    text-transform: uppercase;
}

.search-form {
    display: flex;
}

.search-form input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-right: none;
    border-radius: 3px 0 0 3px;
    font-size: 14px;
}

.search-form button {
    padding: 10px 20px;
    background-color: #c42127;
    color: #fff;
    border: none;
    border-radius: 0 3px 3px 0;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.search-form button:hover {
    background-color: #a01b20;
}

.recent-comments,
.categories-list,
.archives-list {
    list-style: none;
}

.recent-comments li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    font-size: 13px;
    line-height: 1.5;
}

.recent-comments li span {
    font-weight: 600;
    color: #c42127;
}

.categories-list li,
.archives-list li {
    padding: 6px 0;
    border-bottom: 1px solid #eee;
}

.categories-list a,
.archives-list a {
    color: #333;
    font-size: 14px;
    display: block;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.categories-list a:hover,
.archives-list a:hover {
    color: #c42127;
    padding-left: 5px;
}

/* May Have Missed Section */
.may-have-missed {
    background-color: #fff;
    padding: 50px 0;
    margin-top: 50px;
}

.may-have-missed .section-title {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 40px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 15px;
}

.may-have-missed .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #c42127;
}

.missed-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.missed-card {
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.missed-card:hover {
    transform: translateY(-5px);
}

.missed-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.missed-card:hover img {
    transform: scale(1.1);
}

.missed-card .card-content {
    padding: 15px;
}

.missed-card .categories {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 10px;
}

.missed-card h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.meta-info {
    display: flex;
    gap: 10px;
    font-size: 12px;
    color: #666;
}

/* Footer */
.site-footer {
    background-color: #222;
    color: #fff;
    padding: 25px 0;
    margin-top: 50px;
}

.footer-content {
    text-align: center;
    font-size: 14px;
}

.footer-content a {
    color: #c42127;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .article-layout {
        grid-template-columns: 1fr;
    }
    
    .article-sidebar {
        order: 2;
    }
    
    .related-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .missed-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .site-title {
        font-size: 28px;
    }
    
    .nav-menu {
        flex-wrap: wrap;
    }
    
    .nav-menu a {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .article-content {
        padding: 20px;
    }
    
    .article-title {
        font-size: 24px;
    }
    
    .article-body {
        font-size: 15px;
    }
    
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .missed-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .nav-links {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .site-title {
        font-size: 22px;
    }
    
    .site-description {
        font-size: 10px;
    }
    
    .nav-menu a {
        padding: 10px;
        font-size: 12px;
    }
    
    .article-content {
        padding: 15px;
    }
    
    .article-title {
        font-size: 20px;
    }
    
    .article-body {
        font-size: 14px;
    }
    
    .article-body h2 {
        font-size: 20px;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .missed-grid {
        grid-template-columns: 1fr;
    }
}