:root {
    --primary-color: #C61F1F;
    --secondary-color: #E53030;
    --button-gradient: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
    --card-bg: #2A1212;
    --site-bg: #140C0C;
    --text-main-color: #FFF1E8;
    --border-color: #6A1E1E;
    --gold-color: #F3C54D;
    --deep-red-color: #7E0D0D;
}

.page-blog {
    font-family: 'Arial', sans-serif;
    color: var(--text-main-color); /* Main text color for dark background */
    background: var(--site-bg);
    line-height: 1.6;
}

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

.page-blog__section-title {
    font-size: 36px;
    font-weight: bold;
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-blog__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--deep-red-color);
    border-radius: 2px;
}

.page-blog__text-block {
    font-size: 16px;
    margin-bottom: 20px;
    text-align: justify;
    color: var(--text-main-color);
}

.page-blog__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background: var(--deep-red-color);
    border-bottom: 5px solid var(--gold-color);
}

.page-blog__hero-container {
    max-width: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-blog__hero-image-wrapper {
    width: 100%;
    max-width: 1200px;
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

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

.page-blog__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 900px;
}

.page-blog__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--gold-color);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-blog__hero-description {
    font-size: 18px;
    color: var(--text-main-color);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.page-blog__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--button-gradient);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: none;
}

.page-blog__cta-button:hover {
    opacity: 0.9;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-blog__introduction-section,
.page-blog__value-proposition-section,
.page-blog__contact-cta-section {
    padding: 60px 20px;
}

.page-blog__blog-list-section {
    padding: 60px 20px;
    background: var(--card-bg);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

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

.page-blog__blog-card {
    background: var(--site-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.page-blog__blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

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

.page-blog__blog-card-image-wrapper {
    width: 100%;
    height: 200px; /* Fixed height for consistent card image */
    overflow: hidden;
}

.page-blog__blog-card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.page-blog__blog-card:hover .page-blog__blog-card-image-wrapper img {
    transform: scale(1.05);
}

.page-blog__blog-card-content {
    padding: 20px;
}

.page-blog__blog-card-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--gold-color);
    margin-bottom: 10px;
    line-height: 1.4;
}

.page-blog__blog-card-excerpt {
    font-size: 15px;
    color: var(--text-main-color);
    margin-bottom: 15px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Limit to 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.page-blog__blog-card-date {
    font-size: 13px;
    color: rgba(255, 241, 232, 0.7);
    display: block;
}

.page-blog__view-all-wrapper {
    text-align: center;
    margin-top: 50px;
}

.page-blog__view-all-button {
    display: inline-block;
    padding: 12px 30px;
    background: var(--deep-red-color);
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: 1px solid var(--border-color);
}

.page-blog__view-all-button:hover {
    background: var(--secondary-color);
}

.page-blog__value-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-blog__value-item {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.page-blog__value-item:hover {
    transform: translateY(-5px);
}

.page-blog__value-title {
    font-size: 22px;
    font-weight: bold;
    color: var(--gold-color);
    margin-bottom: 15px;
}

.page-blog__value-description {
    font-size: 15px;
    color: var(--text-main-color);
    line-height: 1.6;
}

.page-blog__faq-section {
    padding: 60px 20px;
    background: var(--site-bg);
}

.page-blog__faq-list {
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

details.page-blog__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    background: var(--card-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

details.page-blog__faq-item summary.page-blog__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
    background: var(--card-bg);
}

details.page-blog__faq-item summary.page-blog__faq-question::-webkit-details-marker {
    display: none;
}

details.page-blog__faq-item summary.page-blog__faq-question:hover {
    background: rgba(42, 18, 18, 0.8);
}

.page-blog__faq-qtext {
    flex: 1;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: var(--text-main-color);
}

.page-blog__faq-toggle {
    font-size: 26px;
    font-weight: bold;
    color: var(--gold-color);
    flex-shrink: 0;
    margin-left: 15px;
    width: 30px;
    text-align: center;
}

details.page-blog__faq-item .page-blog__faq-answer {
    padding: 0 25px 25px;
    background: var(--site-bg);
    border-radius: 0 0 8px 8px;
    color: var(--text-main-color);
    font-size: 15px;
    line-height: 1.6;
}

.page-blog__contact-cta-section {
    background: var(--deep-red-color);
    padding: 80px 20px;
    text-align: center;
    border-top: 5px solid var(--gold-color);
}

.page-blog__contact-cta-content {
    max-width: 900px;
}

.page-blog__contact-cta-section .page-blog__section-title {
    color: var(--gold-color);
    margin-bottom: 20px;
}

.page-blog__contact-cta-description {
    font-size: 18px;
    color: var(--text-main-color);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-blog__cta-button--secondary {
    background: #ffffff;
    color: var(--deep-red-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-blog__cta-button--secondary:hover {
    background: #f0f0f0;
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-blog__hero-description {
        font-size: 17px;
    }
    .page-blog__section-title {
        font-size: 32px;
    }
    .page-blog__blog-card-title {
        font-size: 18px;
    }
    .page-blog__value-title {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .page-blog__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-blog__main-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }
    .page-blog__hero-description {
        font-size: 16px;
    }
    .page-blog__cta-button {
        padding: 12px 30px;
        font-size: 16px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-blog__container {
        padding: 0 15px;
    }
    .page-blog__section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    .page-blog__blog-grid {
        grid-template-columns: 1fr;
    }
    .page-blog__blog-card-image-wrapper {
        height: 180px;
    }
    .page-blog__blog-card-title {
        font-size: 17px;
    }
    .page-blog__blog-card-excerpt {
        font-size: 14px;
    }
    .page-blog__value-list {
        grid-template-columns: 1fr;
    }
    .page-blog__value-item {
        padding: 25px;
    }
    .page-blog__value-title {
        font-size: 19px;
    }
    .page-blog__faq-list {
        padding: 0 15px;
    }
    details.page-blog__faq-item summary.page-blog__faq-question {
        padding: 15px;
    }
    .page-blog__faq-qtext {
        font-size: 15px;
    }
    .page-blog__faq-toggle {
        font-size: 22px;
        width: 25px;
    }
    details.page-blog__faq-item .page-blog__faq-answer {
        padding: 0 15px 15px;
    }
    .page-blog__contact-cta-section {
        padding: 60px 15px;
    }
    .page-blog__contact-cta-description {
        font-size: 16px;
    }

    /* Mobile image responsiveness */
    .page-blog img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-blog__section, .page-blog__card, .page-blog__container, .page-blog__hero-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0 !important; /* Remove padding from container to allow full width for direct children */
        padding-right: 0 !important;
    }
    .page-blog__hero-section .page-blog__hero-container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .page-blog__blog-card-content, .page-blog__value-item, details.page-blog__faq-item summary.page-blog__faq-question, details.page-blog__faq-item .page-blog__faq-answer {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

@media (max-width: 480px) {
    .page-blog__section-title {
        font-size: 24px;
    }
    .page-blog__hero-description {
        font-size: 15px;
    }
    .page-blog__blog-card-title {
        font-size: 16px;
    }
    .page-blog__value-title {
        font-size: 18px;
    }
    .page-blog__faq-qtext {
        font-size: 14px;
    }
    .page-blog__faq-toggle {
        font-size: 20px;
    }
    .page-blog__blog-card-image-wrapper {
        height: 160px;
    }
}