/* Index Banner Styles */
.index-banner {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    margin-bottom: 0;
    margin-top: 90px;
}

.banner-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(22, 33, 52, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-container {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

@media (max-width: 1500px) {
    .banner-container {
        padding: 0 50px;
    }
}

.banner-content.single {
    text-align: left;
    color: white;
    width: 80%;
    margin: 0 auto;
    padding: 0;    
}

.banner-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin: 0 0 20px 0;
    /* text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); */
    line-height: 1.2;
}

.banner-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.post-date,
.post-author {
    font-size: 1.1rem;
    font-weight: 500; 
    opacity: 0.9;
}

.post-date { 
    font-weight: 600;
}

.post-author {
    color: #ffffff;
}

/* Page Content Styles */
.page-content { 
    background: #ffffff;

    &.post{
        padding-top: 50px;
    }
}

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

@media (max-width: 1500px) {
    .page-container {
        padding: 0 50px;
    }
}

.page-container h1,
.page-container h2,
.page-container h3,
.page-container h4,
.page-container h5,
.page-container h6 {
    color: #162134;
    font-weight: 600;
    margin-bottom: 20px;
}

.page-container h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

.page-container h2 {
    font-size: 2rem;
    font-weight: 600;
}

.page-container h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

.page-container h4 {
    font-size: 1.25rem;
    font-weight: 600;
}

.page-container h5 {
    font-size: 1.125rem;
    font-weight: 600;
}

.page-container h6 {
    font-size: 1rem;
    font-weight: 600;
}

.page-container a {
    color: #162134;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-container a:hover {
    color: #D4272B;
    text-decoration: underline;
}

.page-container p {
    line-height: 1.6;
    margin-bottom: 20px;
    color: #333;
}

.page-container ul,
.page-container ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.page-container li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.page-container blockquote {
    border-left: 4px solid #D4272B;
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: #666;
}

.page-container img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.page-container table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.page-container th,
.page-container td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.page-container th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #162134;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .index-banner {
        height: 500px;
    }
    
    .banner-container {
        padding: 0 15px;
    }
    
    .banner-content h1 {
        font-size: 2.5rem;
    }
    
    .post-date,
    .post-author {
        font-size: 1rem;
    }
    
    .page-content {
        padding: 40px 0;
    }
    
    .page-container {
        padding: 0 15px;
    }
    
    .page-container h1 {
        font-size: 2rem;
    }
    
    .page-container h2 {
        font-size: 1.75rem;
    }
    
    .page-container h3 {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .index-banner {
        height: 400px;
    }
    
    .banner-container {
        padding: 0 15px;
    }
    
    .banner-content h1 {
        font-size: 2rem;
    }
    
    .post-date,
    .post-author {
        font-size: 0.9rem;
    }
}