.page-index {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text on light background */
    background-color: #ffffff; /* Default body background */
}

.page-index__hero-section {
    padding-top: 10px; /* Small top padding, shared.css handles body padding-top */
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.page-index__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: cover;
    aspect-ratio: 1920 / 810;
}

.page-index__access-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    max-width: 1250px;
    margin: 0 auto;
    padding: 30px 12px;
    box-sizing: border-box;
    justify-content: center;
}

.page-index__btn-access-link {
    background-color: #26A9E0; /* Primary brand color */
    color: #ffffff;
    padding: 15px 20px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    display: block;
    max-width: 100%; /* Ensure button adapts to container */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-index__btn-access-link:hover {
    background-color: #1a8cc7;
    box-shadow: 0 4px 12px rgba(38, 169, 224, 0.4);
}

.page-index__brand-intro {
    max-width: 1250px;
    margin: 0 auto;
    padding: 20px 12px;
    box-sizing: border-box;
    text-align: center;
}

.page-index__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
    font-weight: 700;
    line-height: 1.2;
    color: #000000; /* Dark text on light background */
    text-align: center;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-index__intro-text {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #333333;
    text-align: justify;
}

.page-index__highlight {
    font-weight: bold;
    color: #26A9E0;
}

.page-index__link {
    color: #26A9E0;
    text-decoration: none;
}

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

.page-index__section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #000000;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.page-index__section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #26A9E0;
    margin: 10px auto 0;
    border-radius: 2px;
}

.page-index__category-lobby {
    max-width: 1250px;
    margin: 40px auto;
    padding: 0 12px;
    box-sizing: border-box;
}

.page-index__category-lobby__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    justify-content: center;
}

.page-index__category-card {
    display: block;
    border: none;
    box-shadow: none;
    outline: none;
    background: transparent;
    border-radius: 0;
    padding: 0;
    margin: 0;
}

.page-index__category-card-link {
    display: block;
    border: none;
    box-shadow: none;
    outline: none;
    background: transparent;
    border-radius: 0;
    padding: 0;
    margin: 0;
    text-decoration: none;
}

.page-index__category-card-link img {
    aspect-ratio: 1 / 1;
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    border: none;
    box-shadow: none;
    border-radius: 0;
    transition: transform 0.3s ease;
}

.page-index__category-card-link:hover img {
    transform: translateY(-5px);
}

.page-index__blog-slider {
    max-width: 1250px;
    margin: 60px auto;
    padding: 0 12px;
    box-sizing: border-box;
    position: relative;
}

.page-index__blog-slider-wrapper {
    position: relative;
    overflow: hidden;
}

.page-index__blog-slider-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 20px; /* Space for scrollbar */
    -webkit-overflow-scrolling: touch;
}

.page-index__post-item {
    flex: 0 0 calc(33.333% - 11px); /* 3 items per row, accounting for gap */
    scroll-snap-align: start;
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    min-width: 300px; /* Minimum width for blog cards */
}

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

.page-index__post-link {
    text-decoration: none;
    color: #333333;
    display: block;
}

.page-index__post-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
}

.page-index__post-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
}

.page-index__post-date {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(38, 169, 224, 0.9); /* Primary brand color with transparency */
    color: #ffffff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.85em;
    font-weight: bold;
}

.page-index__post-title {
    font-size: 1.2em;
    font-weight: bold;
    margin: 15px 15px 10px;
    line-height: 1.4;
    color: #000000;
}

.page-index__post-excerpt {
    font-size: 0.95em;
    margin: 0 15px 15px;
    color: #555555;
}

.page-index__blog-slider-prev,
.page-index__blog-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(38, 169, 224, 0.8); /* Primary brand color with transparency */
    color: #ffffff;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 1.5em;
    z-index: 10;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.page-index__blog-slider-prev:hover,
.page-index__blog-slider-next:hover {
    background-color: #26A9E0;
}

.page-index__blog-slider-prev {
    left: -20px;
}

.page-index__blog-slider-next {
    right: -20px;
}

.page-index__view-all-posts {
    text-align: center;
    margin-top: 30px;
}

.page-index__btn-view-all {
    background-color: #EA7C07; /* Login custom color */
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: background-color 0.3s ease;
    display: inline-block;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-index__btn-view-all:hover {
    background-color: #d16b06;
}

.page-index__content-block {
    max-width: 1250px;
    margin: 60px auto;
    padding: 0 12px;
    box-sizing: border-box;
    color: #333333;
}

.page-index__content-block p {
    margin-bottom: 1em;
    text-align: justify;
}

.page-index__image-content-block {
    text-align: center;
    margin: 30px 0;
}

.page-index__image-content-block img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: block;
    margin: 0 auto;
}

.page-index__features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.page-index__feature-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
    padding-bottom: 20px;
}

.page-index__feature-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 4 / 3;
    margin-bottom: 15px;
    display: block;
}

.page-index__feature-title {
    font-size: 1.3em;
    font-weight: bold;
    color: #26A9E0;
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-index__feature-item p {
    font-size: 0.95em;
    color: #555555;
    padding: 0 15px;
    text-align: justify;
}

.page-index__promo-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.page-index__promo-list li {
    background-color: #f9f9f9;
    border-left: 5px solid #26A9E0;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 5px;
    color: #333333;
}