/* style/blog.css */

/* Custom Colors */
:root {
    --rs99-bg-dark: #08160F;
    --rs99-card-bg: #11271B;
    --rs99-text-main: #F2FFF6;
    --rs99-text-secondary: #A7D9B8;
    --rs99-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --rs99-border: #2E7A4E;
    --rs99-glow: #57E38D;
    --rs99-gold: #F2C14E;
    --rs99-divider: #1E3A2A;
    --rs99-deep-green: #0A4B2C;
}

/* Base styles for the blog page */
.page-blog {
    background-color: var(--rs99-bg-dark); /* Using custom background color */
    color: var(--rs99-text-main); /* Light text for dark background */
    font-family: 'Arial', sans-serif; /* Example font, adjust as needed */
    line-height: 1.6;
    font-size: 16px;
}

/* Hero Section */
.page-blog__hero-section {
    position: relative;
    display: flex;
    flex-direction: column; /* Ensure image is above content */
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    overflow: hidden; /* Ensure content doesn't overflow */
}

.page-blog__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    margin-bottom: 20px; /* Space between image and content */
}

.page-blog__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
}

.page-blog__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 15px;
    z-index: 1; /* Ensure content is above any background elements */
}

.page-blog__hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size for H1 */
    font-weight: 700;
    line-height: 1.2;
    color: var(--rs99-gold); /* Gold color for main title */
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.4);
}

.page-blog__hero-description {
    font-size: 1.25rem;
    color: var(--rs99-text-secondary); /* Secondary text color */
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Call to Action Buttons */
.page-blog__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-blog__btn-primary,
.page-blog__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow text to break words */
    max-width: 100%; /* Ensure buttons don't overflow */
    min-width: 180px; /* Minimum width for buttons */
}