/* General styles for the page content, ensuring light text on dark body background */
.page-index {
    color: #FFF3E6; /* Text Main */
    background: #0D0E12; /* Background */
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

/* HERO Section */
.page-index__hero-section {
    position: relative;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    padding-top: 10px; /* Small top padding, assuming shared.css handles body padding-top */
    margin-top: 0;
    background: #0D0E12; /* Ensure consistent background */
}

.page-index__hero-container {
    position: relative;
    margin: 0 auto;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.page-index__hero-image {
    width: 100%;
    margin: 0;
}

.page-index__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
}

@media (min-width: 850px) {
    .page-index__hero-image img {
        aspect-ratio: 16/5;
        object-fit: cover;
    }
}

/* Mobile HERO Section */
@media (max-width: 849px) {
    .page-index__hero-section {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    .page-index__hero-image img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        aspect-ratio: unset !important;
        object-fit: contain !important; /* Prevent cropping on mobile */
        max-height: none !important;
        display: block !important;
    }
}

@media (max-width: 768px) {
    .page-index__hero-section {
        padding-bottom: 0;
        padding-left: 0;
        padding-right: 0;
        padding-top: 10px !important; /* Ensure small top padding */
        margin-top: 0;
    }
}

/* Product Showcase Section */
.page-index__products-section {
    width: 100%;
    padding: 60px 20px;
    box-sizing: border-box;
    background: #0D0E12; /* Background */
}

.page-index__products-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.page-index__products-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(6, 1fr); /* Desktop: 6 columns */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.page-index__product-card {
    width: 100%;
    max-width: 300px; /* Max width for each card */
    border-radius: 0;
    overflow: hidden;
    background: transparent;
    box-shadow: none;
    transition: transform 0.3s ease;
    justify-self: center; /* Center cards within their grid cell */
}

.page-index__product-card:hover {
    transform: translateY(-3px);
}

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

.page-index__product-card-image {
    width: 100%;
    max-width: 300px; /* Max width for the image container */
    overflow: hidden;
}

.page-index__product-card-image img {
    max-width: 100%;
    width: 100%;
    height: auto; /* Maintain aspect ratio */
    display: block;
}

/* Mobile Product Showcase Section */
@media (max-width: 768px) {
    .page-index__products-section {
        padding: 40px 15px;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden; /* Prevent horizontal scroll */
        box-sizing: border-box;
    }
    .page-index__products-container,
    .page-index__products-grid {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden; /* Prevent horizontal scroll */
        box-sizing: border-box;
    }
    .page-index__products-grid {
        grid-template-columns: repeat(2, 1fr); /* Mobile: 2 columns x 3 rows */
        gap: 15px;
    }
    .page-index__product-card,
    .page-index__product-card-image {
        max-width: 100%;
    }
    .page-index__product-card-image img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }
}

/* Centered Decorative H1 Section */
.page-index__section-title-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
    max-width: 100%;
    padding: 24px 12px;
    box-sizing: border-box;
    text-align: center;
    background: #0D0E12; /* Background */
    color: #FFF3E6; /* Text Main */
}

.page-index__section-title {
    margin: 0;
    font-size: clamp(1.1rem, 4.5vw, 1.75rem); /* Responsive font size */
    line-height: 1.35;
    font-weight: 700;
    color: #FF8C1A; /* Primary color for H1 */
}

.page-index__section-title-line {
    flex: 1;
    max-width: 80px;
    height: 2px;
    background: #A84F0C; /* Border color */
    opacity: 0.6;
}

/* Mobile Decorative H1 Section */
@media (max-width: 768px) {
    .page-index__section-title-wrap {
        padding: 20px 10px;
    }
    .page-index__section-title-line {
        max-width: 40px;
    }
    .page-index__section-title {
        font-size: clamp(1.2rem, 5vw, 1.5rem);
        word-break: break-word; /* Allow long titles to wrap */
    }
}

/* Long-form SEO Body Section */
.page-index__article-body {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 12px 48px;
    box-sizing: border-box;
    overflow-x: hidden; /* Prevent horizontal scroll */
    background: #0D0E12; /* Background */
    color: #FFF3E6; /* Text Main */
}

.page-index__article-body h2 {
    margin: 2rem 0 1rem;
    color: #FF8C1A; /* Primary color for H2 */
    font-size: 2em;
    font-weight: 600;
}

.page-index__article-body h3 {
    margin: 1.25rem 0 0.75rem;
    color: #FFA53A; /* Secondary color for H3 */
    font-size: 1.5em;
    font-weight: 500;
}

.page-index__article-body p {
    margin-bottom: 1em;
}

.page-index__article-body ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 1em;
}

.page-index__article-body li {
    margin-bottom: 0.5em;
}

.page-index__article-figure {
    margin: 1.5rem auto;
    max-width: 800px;
    text-align: center;
}

.page-index__article-figure img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px; /* Slight round for article images */
}

.page-index__article-figure figcaption {
    margin-top: 0.5em;
    font-size: 0.9em;
    color: #AAA;
}

.page-index__article-quote {
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
    border-left: 4px solid #FF8C1A; /* Primary color for blockquote border */
    background: #17191F; /* Card BG */
    border-radius: 4px;
    font-style: italic;
    color: #FFF3E6; /* Text Main */
}

.page-index__article-quote p {
    margin: 0;
}

.page-index__article-body a {
    color: #FFB04D; /* Glow color for links */
    text-decoration: underline;
}

.page-index__article-body a:hover {
    color: #FFA53A; /* Secondary color on hover */
}

.page-index__btn-link {
    display: inline-block;
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button color */
    color: #FFF3E6; /* Text Main */
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-index__btn-link:hover {
    background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%); /* Reverse gradient on hover */
}

/* Mobile Long-form SEO Body Section */
@media (max-width: 768px) {
    .page-index__article-body {
        padding: 0 12px 32px;
        font-size: 16px;
    }
    .page-index__article-body h2 {
        font-size: clamp(1.25rem, 5vw, 1.5rem);
        word-break: break-word;
    }
    .page-index__article-body h3 {
        font-size: clamp(1rem, 4.5vw, 1.25rem);
        word-break: break-word;
    }
    .page-index__article-figure {
        padding: 0 10px;
        box-sizing: border-box;
    }
    .page-index__article-figure img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }
    .page-index__btn-link {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 15px !important;
        text-align: center;
    }
}

/* Universal Image Responsive Styles for page-index */
.page-index img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Universal Container Responsive Styles for page-index */
.page-index__section,
.page-index__card,
.page-index__container,
.page-index__cta-buttons,
.page-index__button-group,
.page-index__btn-container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden; /* Ensure content doesn't overflow */
}

/* Mobile Universal Responsive Styles */
@media (max-width: 768px) {
    .page-index {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-index img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-index__section,
    .page-index__card,
    .page-index__container,
    .page-index__products-section, /* Specific for product section */
    .page-index__cta-buttons,
    .page-index__button-group,
    .page-index__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Button specific mobile styles */
    .page-index__cta-button,
    .page-index__btn-primary,
    .page-index__btn-secondary,
    .page-index a[class*="button"],
    .page-index a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
        text-align: center; /* Center text for full-width buttons */
    }

    .page-index__cta-buttons {
        display: flex;
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px;
    }
}