/* --- Blog Page Styles --- */

.blog-section {
    padding: 80px 5%;
    background-color: var(--light-grey);
}

.blog-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.blog-card {
    background: var(--white-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.blog-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.blog-content {
    padding: 25px;
}

.blog-date {
    display: block;
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-content h3 {
    font-size: 1.5rem;
    color: var(--maroon-color);
    margin-bottom: 10px;
}

.blog-content p {
    font-size: 1rem;
    color: var(--dark-grey);
    line-height: 1.6;
    margin-bottom: 15px;
}

.read-more {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: var(--maroon-color);
    transition: color 0.3s ease;
}

.read-more i {
    font-size: 1.2rem;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.blog-card:hover .read-more {
    color: #9a161d;
}

.blog-card:hover .read-more i {
    transform: translateX(5px);
}

/* --- Individual Blog Post Page Styles --- */

.blog-post-hero {
    position: relative;
    width: 100%;
    height: 60vh;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    color: var(--white-color);
    padding-bottom: 50px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.blog-post-hero .hero-overlay {
    background: rgba(0, 0, 0, 0.6);
}

.blog-post-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    z-index: 2;
    margin-bottom: 15px;
}

.post-meta {
    font-size: 1rem;
    z-index: 2;
    color: rgba(255, 255, 255, 0.8);
}

.blog-post-content {
    padding: 80px 5%;
    background-color: var(--white-color);
}

.content-container {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
    color: var(--dark-grey);
}

.content-container p {
    margin-bottom: 25px;
}

.content-container .intro {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--maroon-color);
    margin-bottom: 40px;
}

.content-container h2 {
    font-size: 2rem;
    color: var(--maroon-color);
    margin-top: 40px;
    margin-bottom: 15px;
    position: relative;
}

.content-container h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--maroon-color);
}

.content-container .conclusion {
    font-style: italic;
    color: var(--maroon-color);
}

.back-to-blog {
    margin-top: 50px;
    text-align: center;
}

.back-to-blog a {
    display: inline-flex;
    align-items: center;
    color: var(--dark-grey);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.back-to-blog a:hover {
    color: var(--maroon-color);
}

.back-to-blog a i {
    font-size: 1.5rem;
    margin-right: 5px;
}