.page-blog {
    color: #333333; /* Dark text for light body background */
    line-height: 1.6;
    font-family: Arial, sans-serif;
}

.page-blog__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
    background-color: #000000; /* Dark background for hero text contrast */
    color: #FFFFFF;
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.page-blog__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    z-index: 1;
}

.page-blog__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 40px 20px;
}

.page-blog__hero-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: #FCBC45; /* Login color for emphasis */
    line-height: 1.2;
}

.page-blog__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-blog__hero-button {
    display: inline-block;
    background-color: #FCBC45; /* Login color */
    color: #000000; /* Dark text for contrast */
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    font-size: 1.1em;
}

.page-blog__hero-button:hover {
    background-color: #e0a53b;
}

.page-blog__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-blog__section-title {
    font-size: 2.5em;
    color: #000000; /* Main color */
    text-align: center;
    margin-bottom: 50px;
    margin-top: 60px;
}

.page-blog__latest-articles, .page-blog__featured-guides, .page-blog__app-benefits, .page-blog__more-about {
    padding: 60px 0;
    background-color: #FFFFFF; /* Auxiliary color as background */
}

.page-blog__article-grid, .page-blog__guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-blog__article-card, .page-blog__guide-item {
    background-color: #f8f8f8;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 200px; /* Ensure card content is not too small */
}

.page-blog__article-card:hover, .page-blog__guide-item:hover {
    transform: translateY(-5px);
}

.page-blog__article-image, .page-blog__guide-image {
    width: 100%;
    height: 225px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    min-width: 200px; /* Minimum image size */
    min-height: 200px; /* Minimum image size */
}

.page-blog__article-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-blog__article-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: #000000;
}

.page-blog__article-title a {
    text-decoration: none;
    color: #000000;
    transition: color 0.3s ease;
}

.page-blog__article-title a:hover {
    color: #FCBC45;
}

.page-blog__article-excerpt {
    font-size: 0.95em;
    color: #555555;
    margin-bottom: 15px;
    flex-grow: 1;
}

.page-blog__read-more {
    display: inline-block;
    color: #FCBC45;
    text-decoration: none;
    font-weight: bold;
    margin-top: auto;
}

.page-blog__read-more:hover {
    text-decoration: underline;
}

.page-blog__guide-item {
    text-align: center;
}

.page-blog__guide-title {
    font-size: 1.3em;
    margin-top: 15px;
    margin-bottom: 10px;
    color: #000000;
}

.page-blog__guide-title a {
    text-decoration: none;
    color: #000000;
    transition: color 0.3s ease;
}

.page-blog__guide-title a:hover {
    color: #FCBC45;
}

.page-blog__guide-description {
    font-size: 0.9em;
    color: #555555;
    margin-bottom: 15px;
    padding: 0 15px;
}

.page-blog__guide-link {
    display: inline-block;
    background-color: #000000; /* Main color */
    color: #FFFFFF;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-blog__guide-link:hover {
    background-color: #333333;
}

.page-blog__app-benefits {
    background-color: #f0f0f0;
}

.page-blog__benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.page-blog__benefit-item {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-blog__benefit-icon {
    width: 200px; /* Enforce minimum size */
    height: 150px; /* Enforce minimum size */
    object-fit: contain;
    margin-bottom: 20px;
}

.page-blog__benefit-title {
    font-size: 1.3em;
    color: #000000;
    margin-bottom: 10px;
}

.page-blog__benefit-text {
    font-size: 0.95em;
    color: #555555;
}

.page-blog__cta-section {
    background-color: #000000; /* Main color for CTA background */
    color: #FFFFFF;
    padding: 80px 20px;
    text-align: center;
}

.page-blog__cta-content {
    max-width: 800px;
}

.page-blog__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #FCBC45; /* Login color for emphasis */
}

.page-blog__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
}

.page-blog__cta-button {
    display: inline-block;
    background-color: #FCBC45; /* Login color */
    color: #000000; /* Dark text for contrast */
    padding: 18px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    margin: 0 10px;
    transition: background-color 0.3s ease;
}

.page-blog__cta-button:hover {
    background-color: #e0a53b;
}

.page-blog__cta-button--secondary {
    background-color: #FFFFFF; /* Auxiliary color */
    color: #000000; /* Dark text for contrast */
}

.page-blog__cta-button--secondary:hover {
    background-color: #f0f0f0;
}

.page-blog__more-about p {
    max-width: 900px;
    margin: 20px auto;
    font-size: 1.05em;
    color: #333333;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-blog__hero-title {
        font-size: 2.5em;
    }
    .page-blog__section-title {
        font-size: 2em;
    }
    .page-blog__cta-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-blog__hero-section {
        min-height: 400px;
        padding: 40px 15px;
    }
    .page-blog__hero-title {
        font-size: 2em;
    }
    .page-blog__hero-description {
        font-size: 1em;
    }
    .page-blog__hero-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-blog__section-title {
        font-size: 1.8em;
        margin-top: 40px;
        margin-bottom: 30px;
    }
    .page-blog__latest-articles, .page-blog__featured-guides, .page-blog__app-benefits, .page-blog__more-about {
        padding: 40px 0;
    }
    .page-blog__article-grid, .page-blog__guide-grid, .page-blog__benefits-list {
        grid-template-columns: 1fr;
    }
    .page-blog__article-image, .page-blog__guide-image, .page-blog__benefit-icon {
        max-width: 100%;
        height: auto;
        min-width: 200px;
        min-height: 200px;
    }
    .page-blog__cta-section {
        padding: 60px 15px;
    }
    .page-blog__cta-title {
        font-size: 1.8em;
    }
    .page-blog__cta-description {
        font-size: 1em;
    }
    .page-blog__cta-button {
        font-size: 1em;
        padding: 15px 25px;
        margin: 10px 0;
        width: calc(100% - 20px);
    }
}

@media (max-width: 480px) {
    .page-blog__hero-title {
        font-size: 1.8em;
    }
    .page-blog__section-title {
        font-size: 1.5em;
    }
    .page-blog__cta-title {
        font-size: 1.6em;
    }
}