.page-blog {
    font-family: Arial, sans-serif;
    color: #FFF6D6; /* Text Main */
    background-color: #0A0A0A; /* Background */
}

.page-blog__section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.page-blog__hero-section {
    position: relative;
    width: 100%;
    padding-top: 10px; /* Small top padding */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
}

.page-blog__hero-image-wrapper {
    width: 100%;
    overflow: hidden;
    margin-bottom: 20px;
}

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

.page-blog__hero-content-wrapper {
    max-width: 800px;
    padding: 0 20px;
}

.page-blog__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: bold;
    color: #FFD36B; /* Glow */
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
}

.page-blog__description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #FFF6D6; /* Text Main */
}

.page-blog__btn-primary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button */
    color: #111111; /* Dark text for contrast */
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid #FFD36B; /* Glow */
    box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-blog__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 211, 107, 0.6);
}

.page-blog__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: #F2C14E; /* Main color */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-blog__articles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.page-blog__article-card {
    background-color: #111111; /* Card BG */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #3A2A12; /* Border */
}

.page-blog__article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 211, 107, 0.2);
}

.page-blog__article-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.page-blog__article-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-blog__article-content {
    padding: 20px;
}

.page-blog__article-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: #FFD36B; /* Glow */
    margin-bottom: 10px;
    line-height: 1.4;
}

.page-blog__article-meta {
    font-size: 0.9rem;
    color: #F2C14E; /* Main color */
    margin-bottom: 15px;
}

.page-blog__article-excerpt {
    font-size: 1rem;
    line-height: 1.6;
    color: #FFF6D6; /* Text Main */
    margin-bottom: 20px;
}

.page-blog__read-more-btn {
    display: inline-block;
    color: #FFD36B; /* Glow */
    font-weight: bold;
    text-decoration: none;
    border-bottom: 2px solid #FFD36B;
    padding-bottom: 3px;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.page-blog__read-more-btn:hover {
    color: #F2C14E; /* Main color */
    border-color: #F2C14E;
}

.page-blog__view-all-wrapper {
    text-align: center;
}

.page-blog__btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    background: transparent;
    color: #FFD36B; /* Glow */
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    border: 2px solid #FFD36B; /* Glow */
    transition: all 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-blog__btn-secondary:hover {
    background: #FFD36B;
    color: #111111; /* Dark text for contrast */
    box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

.page-blog__categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.page-blog__category-card {
    background-color: #111111; /* Card BG */
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #3A2A12; /* Border */
}

.page-blog__category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 211, 107, 0.3);
}

.page-blog__category-title {
    font-size: 1.4rem;
    font-weight: bold;
    color: #F2C14E; /* Main color */
    margin-bottom: 10px;
}

.page-blog__category-description {
    font-size: 0.95rem;
    color: #FFF6D6; /* Text Main */
    line-height: 1.5;
}

.page-blog__cta-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(90deg, #111111 0%, #3A2A12 100%); /* Card BG with border color blend */
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    margin-bottom: 40px;
    border: 2px solid #F2C14E;
}

.page-blog__cta-content {
    flex: 1;
    padding-right: 30px;
}

.page-blog__cta-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: #FFD36B; /* Glow */
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.3;
}

.page-blog__cta-description {
    font-size: 1.1rem;
    color: #FFF6D6; /* Text Main */
    line-height: 1.6;
    margin-bottom: 25px;
}

.page-blog__cta-image-wrapper {
    flex: 0 0 350px;
    max-width: 350px;
    border-radius: 10px;
    overflow: hidden;
}

.page-blog__cta-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-blog__text-block {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #FFF6D6; /* Text Main */
    margin-bottom: 20px;
    text-align: justify;
}

/* --- Responsive Styles --- */

@media (max-width: 1024px) {
    .page-blog__articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .page-blog__categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .page-blog__cta-section {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }

    .page-blog__cta-content {
        padding-right: 0;
        margin-bottom: 30px;
    }

    .page-blog__cta-image-wrapper {
        max-width: 100%;
        flex: none;
    }
}

@media (max-width: 768px) {
    .page-blog__hero-section {
        padding-top: 10px !important;
    }

    .page-blog__section {
        padding: 25px 15px !important;
    }

    .page-blog__main-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }

    .page-blog__description {
        font-size: 1rem;
    }

    .page-blog__btn-primary,
    .page-blog__btn-secondary {
        padding: 10px 20px !important;
        font-size: 1rem !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin-bottom: 10px;
    }

    .page-blog__articles-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .page-blog__article-image {
        height: auto !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .page-blog__article-title {
        font-size: 1.2rem;
    }

    .page-blog__categories-grid {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }

    .page-blog__category-title {
        font-size: 1.3rem;
    }

    .page-blog__cta-section {
        padding: 20px !important;
        border-radius: 10px;
    }

    .page-blog__cta-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .page-blog__cta-description {
        font-size: 1rem;
    }

    .page-blog__cta-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 15px;
        box-sizing: border-box;
    }

    .page-blog__cta-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    /* Universal image responsive styles for content area */
    .page-blog img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }

    .page-blog__section,
    .page-blog__article-card,
    .page-blog__category-card,
    .page-blog__cta-section,
    .page-blog__cta-content,
    .page-blog__cta-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}