/* Basic Reset & Body Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    background-color: #fdfdfd;
    color: #333;
    padding-top: 50px; /* Space for the fixed banner */
}

/* WordPress Top Banner */
.wordpress-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 8px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    font-size: 14px;
}

.banner-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-start {
    background-color: #0073aa;
    color: white;
    padding: 8px 16px;
    border-radius: 3px;
    text-decoration: none;
    font-weight: bold;
}

/* Main Content Area */
.main-container {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.hero-image {
    width: 100%;
    height: auto;
    margin-bottom: 2rem;
    border-radius: 5px;
}

.content-post h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: #222;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.post-date {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 2.5rem;
}

/* Section Styling */
.section {
    margin-bottom: 2.5rem;
}

.section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
}

.section .icon {
    font-size: 1.5rem;
}

.section p, .section ul {
    font-size: 1rem;
    color: #555;
}

.section ul {
    list-style-position: inside;
    padding-left: 5px;
}

.section li {
    margin-bottom: 0.75rem;
}

/* Image Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item .caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 8px;
    text-align: center;
    font-size: 0.9rem;
}

/* Footer */
.site-footer {
    text-align: center;
    padding: 2rem 1rem;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #777;
    border-top: 1px solid #eee;
}

.site-footer a {
    color: #0073aa;
    text-decoration: none;
}

.hero-image {
    display: block;          /* Makes the image a block element */
    margin-left: auto;       /* Automatically calculates left margin */
    margin-right: auto;      /* Automatically calculates right margin */
    max-width: 100%;         /* Ensures the image is responsive and doesn't overflow its container */
    height: auto;            /* Maintains the image's aspect ratio */
    margin-bottom: 2rem;     /* Adds some space below the image */
    border-radius: 5px;      /* Optional: Adds slightly rounded corners like the original design */
}

/* Responsive Design */
@media (max-width: 768px) {
    .content-post h1 {
        font-size: 2.2rem;
    }
    .section h2 {
        font-size: 1.8rem;
    }
    .wordpress-banner {
        flex-direction: column;
        gap: 8px;
        padding: 10px;
    }
    body {
        padding-top: 80px; /* Adjust for taller banner */
    }
}
