.page-index {
    background-color: #F4F7FB;
    color: #1F2D3D;
}

.page-index__hero-slider-section {
    padding-top: 10px; /* Small top padding to avoid header overlap */
    width: 100%;
    overflow: hidden;
    position: relative;
}

.page-index__hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    overflow-x: auto; /* Enable horizontal scrolling for JS fallback */
}

.page-index__hero-slide {
    flex: 0 0 100%;
    width: 100%;
    scroll-snap-align: start;
    text-decoration: none;
    display: block;
}

.page-index__hero-slide img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

.page-index__slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.page-index__slider-dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-index__slider-dot--active {
    background-color: #2F6BFF;
}

.page-index__slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #FFFFFF;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
    transition: background-color 0.3s ease;
}

.page-index__slider-arrow:hover {
    background-color: #2F6BFF;
}

.page-index__slider-arrow--prev {
    left: 10px;
}

.page-index__slider-arrow--next {
    right: 10px;
}

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

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

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

.page-index__section-title-line {
    flex-grow: 1;
    height: 2px;
    background: linear-gradient(to right, #D6E2FF, #2F6BFF, #D6E2FF);
    max-width: 200px;
}

.page-index__main-title {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #1F2D3D;
    text-align: center;
    margin: 0;
    /* No fixed font-size for H1, relying on clamp if needed by specific prompt */
    /* Example for reference, not strict: font-size: clamp(2.2rem, 4vw, 3.5rem); */
}

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

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

.page-index__category-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: #1F2D3D;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    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: 300px; /* Fixed height for consistency, adjust as needed */
    object-fit: cover;
    border-bottom: 1px solid #D6E2FF;
    transition: transform 0.3s ease;
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px;
}

.page-index__category-card:hover img {
    transform: scale(1.03);
}

.page-index__category-label {
    padding: 15px 10px;
    font-weight: 600;
    font-size: 1.1em;
    color: #1F2D3D;
}

.page-index__article-body-section {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
    line-height: 1.8;
    font-size: 1.05em;
}

.page-index__article-content h2 {
    font-size: 2.2em;
    color: #2F6BFF;
    margin-top: 50px;
    margin-bottom: 25px;
    text-align: center;
}

.page-index__article-content h3 {
    font-size: 1.6em;
    color: #1F2D3D;
    margin-top: 35px;
    margin-bottom: 15px;
}

.page-index__article-content p {
    margin-bottom: 1em;
    color: #1F2D3D;
}

.page-index__article-content ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 1em;
    padding-left: 0;
}

.page-index__article-content ul li {
    margin-bottom: 0.5em;
    color: #1F2D3D;
}

.page-index__article-content ul li h3 {
    display: inline;
    margin: 0; /* Reset margin for h3 inside li */
    font-size: 1.2em; /* Adjust font size for h3 in list */
}

.page-index__article-content ul li p {
    margin-top: 0.5em;
    margin-bottom: 0;
    font-size: 0.95em;
    color: #1F2D3D;
}

.page-index__blockquote {
    border-left: 5px solid #2F6BFF;
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    background-color: #FFFFFF;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-index__blockquote p {
    margin: 0;
    color: #1F2D3D;
}

.page-index__blockquote a {
    color: #2F6BFF;
    text-decoration: none;
    font-weight: 600;
}

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

.page-index__article-figure img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px;
}

.page-index__article-figure figcaption {
    font-size: 0.9em;
    color: #6FA3FF;
    margin-top: 10px;
}

.page-index__article-content a {
    color: #2F6BFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-index__article-content a:hover {
    color: #6FA3FF;
}

@media (max-width: 768px) {
    .page-index__hero-slider-section {
        padding-top: 8px;
    }
    .page-index__main-title {
        font-size: 1.8em;
    }
    .page-index__section-title-container {
        gap: 10px;
        margin: 30px auto;
        padding: 0 15px;
    }
    .page-index__section-title-line {
        max-width: 80px;
    }
    .page-index__category-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 15px;
    }
    .page-index__category-card img {
        height: 220px; /* Adjust height for mobile */
    }
    .page-index__category-label {
        font-size: 1em;
        padding: 10px 5px;
    }
    .page-index__article-body-section {
        margin: 40px auto;
        padding: 0 15px;
        font-size: 1em;
    }
    .page-index__article-content h2 {
        font-size: 1.8em;
        margin-top: 40px;
        margin-bottom: 20px;
    }
    .page-index__article-content h3 {
        font-size: 1.4em;
        margin-top: 30px;
        margin-bottom: 10px;
    }
    .page-index__hero-slider img, .page-index__category-card img, .page-index__article-figure img {
        max-width: 100%;
        height: auto;
    }
    .page-index__article-content img {
        max-width: 100%;
        height: auto;
    }
}