.page-index {
    background-color: #F4F7FB;
    color: #1F2D3D;
    padding-bottom: 40px; /* General padding for the bottom of the main content */
}

/* Content wrapper for boxed layout */
.page-index__content-wrapper {
    max-width: 1280px; /* Between 1200-1390px */
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Slider Section */
.page-index__hero-slider-section {
    position: relative;
    overflow: hidden;
    padding-top: 10px; /* Small top padding to avoid being flush with header */
    margin-bottom: 40px;
}

.page-index__hero-slider-link {
    display: block;
    text-decoration: none;
}

.page-index__hero-slider {
    position: relative;
    width: 100%;
    height: 0; /* Aspect ratio trick */
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
}

.page-index__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    border-radius: 8px; /* Slight round corners */
}

.page-index__hero-image.active {
    opacity: 1;
}

/* Section Title */
.page-index__section-title-container {
    text-align: center;
    margin: 40px 0 60px;
    position: relative;
    padding: 0 20px;
}

.page-index__main-title {
    color: #000000; /* Custom Color_1776249996415 */
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size */
    font-weight: 700;
    line-height: 1.2;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    background-color: #F4F7FB; /* Match background to "cut out" lines */
    padding: 0 20px;
    display: inline-block; /* Allows background color to work with lines */
}

.page-index__section-title-container::before,
.page-index__section-title-container::after {
    content: '';
    position: absolute;
    top: 50%;
    width: calc(50% - (min(900px, 100% - 40px) / 2) - 30px); /* Adjust line length based on title width */
    height: 2px;
    background-color: #D6E2FF; /* Border color */
    z-index: 0;
    transform: translateY(-50%);
}

.page-index__section-title-container::before {
    left: 0;
    margin-left: 20px; /* Align with content wrapper padding */
}

.page-index__section-title-container::after {
    right: 0;
    margin-right: 20px; /* Align with content wrapper padding */
}


/* Category Gateway */
.page-index__category-gateway {
    margin-bottom: 60px;
    padding: 0 20px;
}

.page-index__category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Desktop: 3 columns */
    gap: 20px;
    max-width: 1280px;
    margin: 0 auto;
}

.page-index__category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #FFFFFF; /* Card BG */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-index__category-card img {
    width: 100%;
    height: 667px; /* Fixed height for consistent card appearance */
    object-fit: cover;
    border-bottom: 1px solid #D6E2FF; /* Border color */
    transition: filter 0.3s ease;
}

.page-index__category-card:hover img {
    /* No grayscale, as per prompt, just slight lift and shadow */
}

.page-index__category-title {
    color: #000000; /* Custom Color_1776249996415 */
    font-size: 1.3rem;
    font-weight: 600;
    padding: 15px 10px;
    text-align: center;
    width: 100%;
    margin: 0;
}

/* Article Body */
.page-index__article-body {
    max-width: 900px; /* Single column long article */
    margin: 0 auto 60px;
    padding: 0 20px;
    line-height: 1.7;
    font-size: 1.1rem;
    color: #1F2D3D; /* Text Main */
}

.page-index__blockquote {
    border-left: 5px solid #2F6BFF; /* Main color as accent line */
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: #1F2D3D;
    background-color: #FFFFFF; /* Card BG */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-index__blockquote p {
    margin: 0;
}

.page-index__article-heading {
    color: #000000; /* Custom Color_1776249996415 */
    font-size: 2rem;
    font-weight: 700;
    margin: 50px 0 25px;
    line-height: 1.3;
}

.page-index__article-subheading {
    color: #000000; /* Custom Color_1776249996415 */
    font-size: 1.5rem;
    font-weight: 600;
    margin: 35px 0 15px;
    line-height: 1.4;
}

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

.page-index__article-figure {
    margin: 40px 0;
    text-align: center;
    background-color: #FFFFFF; /* Card BG */
    border-radius: 8px;
    overflow: hidden;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-index__article-figure.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-index__article-figure img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 6px;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-index__article-figure figcaption {
    font-size: 0.95rem;
    color: #1F2D3D; /* Text Main */
    margin-top: 15px;
    padding: 0 10px;
}

.page-index__numbered-list,
.page-index__bullet-list {
    list-style-type: disc; /* Default for bullet list */
    padding-left: 25px;
    margin-bottom: 1em;
}

.page-index__numbered-list {
    list-style-type: decimal;
}

.page-index__bullet-list li,
.page-index__numbered-list li {
    margin-bottom: 0.5em;
    color: #1F2D3D;
}

.page-index__bullet-list li strong {
    color: #000000; /* Custom Color_1776249996415 */
}

.page-index__article-body a {
    color: #2F6BFF; /* Main color for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-index__article-body a:hover {
    color: #6FA3FF; /* Accent color on hover */
    text-decoration: underline;
}

/* CTA Buttons */
.page-index__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 50px 0;
    flex-wrap: wrap;
}

.page-index__cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    color: #FFFFFF;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button gradient */
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 180px; /* Ensure buttons are not too small */
    text-align: center;
}

.page-index__cta-button:hover {
    opacity: 0.9;
    box-shadow: 0 5px 15px rgba(47, 107, 255, 0.4); /* Glow effect */
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-index__category-grid {
        grid-template-columns: repeat(2, 1fr); /* Tablet: 2 columns */
    }
    .page-index__main-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }
    .page-index__section-title-container::before,
    .page-index__section-title-container::after {
        width: calc(50% - (min(900px, 100% - 40px) / 2) - 15px); /* Adjust line length */
    }
}

@media (max-width: 768px) {
    .page-index__hero-slider-section {
        padding-top: 5px; /* Smaller padding for mobile */
        margin-bottom: 30px;
    }
    .page-index__category-grid {
        grid-template-columns: repeat(2, 1fr); /* Mobile: 2 columns */
        gap: 15px;
    }
    .page-index__category-card img {
        height: auto; /* Allow height to adjust on mobile */
        min-height: 200px; /* Enforce min size */
    }
    .page-index__category-title {
        font-size: 1.1rem;
    }
    .page-index__article-body {
        font-size: 1rem;
        line-height: 1.6;
    }
    .page-index__article-heading {
        font-size: 1.8rem;
        margin: 40px 0 20px;
    }
    .page-index__article-subheading {
        font-size: 1.3rem;
        margin: 30px 0 12px;
    }
    .page-index__cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin: 40px 0;
    }
    .page-index__cta-button {
        width: 80%; /* Make buttons wider on mobile */
        max-width: 300px;
        padding: 12px 25px;
        font-size: 1rem;
    }
    /* Ensure all images within .page-index are responsive and don't overflow */
    .page-index img {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Enforce min size for content images */
        min-height: 200px; /* Enforce min size for content images */
    }
    .page-index__hero-image {
      min-width: unset; /* Hero can be smaller if it's full screen, but it's handled by object-fit */
      min-height: unset;
    }
}

@media (max-width: 480px) {
    .page-index__category-grid {
        grid-template-columns: 1fr; /* Smaller mobile: 1 column */
    }
    .page-index__section-title-container::before,
    .page-index__section-title-container::after {
        width: calc(50% - (min(900px, 100% - 40px) / 2) - 10px); /* Adjust line length */
    }
}