.page-index {
    background-color: #F4F7FB; /* Overall background */
    color: #1F2D3D; /* Main text color */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-index__hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 40px;
    padding-top: 10px; /* Small top padding to respect header */
}

.page-index__slider-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.page-index__slider-link {
    flex-shrink: 0;
    display: block;
}

.page-index__slider-image {
    width: 100%;
    height: auto;
    display: block;
    min-width: 200px; /* Ensure min size */
    min-height: 200px;
}

.page-index__slider-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
    align-items: center;
}

.page-index__slider-prev,
.page-index__slider-next {
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: #fff;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 18px;
    line-height: 1;
    min-width: 40px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-index__slider-prev::before {
    content: '<';
}

.page-index__slider-next::before {
    content: '>';
}

.page-index__slider-dot {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.page-index__slider-dot--active {
    background-color: #d6d604; /* Yellow-green accent color */
}

.page-index__section-title-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 20px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-index__line {
    flex-grow: 1;
    height: 2px;
    background-color: #D6E2FF; /* Border color */
    max-width: 200px;
}

.page-index__main-title {
    color: #000000; /* Custom Color_1776249996415 */
    margin: 0 20px;
    text-align: center;
    font-weight: bold; 
    line-height: 1.2;
    letter-spacing: -0.5px;
    max-width: 800px;
}

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

.page-index__grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); /* Responsive grid */
    gap: 20px;
}

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

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

.page-index__category-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    min-width: 200px; /* Min size for card images */
    min-height: 200px;
}

.page-index__category-label {
    margin-top: 15px;
    font-weight: bold;
    font-size: 1.1em;
    text-align: center;
    color: #000000; /* Custom Color_1776249996415 */
}

.page-index__article-body {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background-color: #FFFFFF; /* Card BG for article content */
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 60px;
}

.page-index__blockquote {
    border-left: 4px solid #ff9900; /* Amber for blockquote */
    padding-left: 20px;
    margin: 0 0 30px;
    font-style: italic;
    color: #1F2D3D;
    background-color: #F8F8F8; /* Light background for quote */
    padding: 15px 20px;
    border-radius: 4px;
}

.page-index__blockquote-link {
    color: #2F6BFF; /* Primary color for links */
    text-decoration: none;
    font-weight: bold;
}

.page-index__blockquote-link:hover {
    text-decoration: underline;
}

.page-index__article-heading {
    color: #000000; /* Custom Color_1776249996415 */
    font-size: 2em;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-index__article-subheading {
    color: #000000; /* Custom Color_1776249996415 */
    font-size: 1.5em;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-index__article-paragraph {
    margin-bottom: 15px;
    color: #1F2D3D;
}

.page-index__article-figure {
    margin: 30px 0;
    text-align: center;
}

.page-index__article-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
    min-width: 200px; /* Min size for article images */
    min-height: 200px;
}

.page-index__figcaption {
    font-size: 0.9em;
    color: #666;
    margin-top: 10px;
}

.page-index__article-list {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 15px;
    color: #1F2D3D;
}

.page-index__article-list-item {
    margin-bottom: 8px;
}

.page-index__link-text {
    color: #2F6BFF; /* Primary color for inline links */
    text-decoration: none;
}

.page-index__link-text:hover {
    text-decoration: underline;
}

.page-index__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    color: #FFFFFF;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    transition: background 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-index__btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%); /* Slightly darker on hover */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-index__hero-slider {
        margin-bottom: 20px;
        padding-top: 0; /* No extra padding on mobile */
    }

    .page-index__main-title {
        font-size: clamp(1.8em, 5vw, 2.5em); /* Responsive font size for H1 */
        margin: 0 10px;
    }

    .page-index__line {
        max-width: 80px;
    }

    .page-index__grid-container {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on mobile */
        gap: 15px;
    }

    .page-index__category-card {
        padding-bottom: 10px;
        min-height: 250px;
    }

    .page-index__category-image {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Ensure min size */
        min-height: 200px;
    }

    .page-index__article-heading {
        font-size: 1.8em;
        margin-top: 30px;
    }

    .page-index__article-subheading {
        font-size: 1.3em;
        margin-top: 25px;
    }

    .page-index__article-body {
        padding: 15px;
        margin-bottom: 40px;
    }

    /* Important: Mobile image overflow fix */
    .page-index img {
        max-width: 100% !important;
        height: auto !important;
    }
}

@media (max-width: 480px) {
    .page-index__grid-container {
        grid-template-columns: 1fr; /* 1 column on very small mobile */
    }
    .page-index__slider-prev, .page-index__slider-next {
        padding: 8px 12px;
        font-size: 16px;
    }
}