/* ─────────────────────────────────────────
   PAGE RESEARCH — 研究成果
   ───────────────────────────────────────── */

/* ── Title band (teal strip) ── */
.rs-title-band-wrap {
    max-width: 1200px;
    margin: 24px auto 0;
    padding: 0 2rem;
}
.rs-title-band {
    display: inline-block;
    background: #4DB1AF;
    color: #fff;
    font-size: 26px; font-weight: 700;
    line-height: 1;
    padding: 18px 48px 18px 28px;
    margin: 0;
}

/* ── Main content area ── */
.rs-main {
    flex: 1;
    min-width: 0;
}
.rs-section {
    margin-bottom: 64px;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

/* ── Section Title ── */
.rs-section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #008F8D;
    margin: 0 0 36px;
}
.rs-section-title::before,
.rs-section-title::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #008F8D;
}
.rs-section-title::before {
    margin-right: 24px;
}
.rs-section-title::after {
    margin-left: 24px;
}

/* ── Cards list ── */
.rs-list-wrap {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

/* ── Card item ── */
.rs-card {
    display: flex;
    align-items: stretch;
    background: #FFFFFF;
    border: 1px solid #EAECF0;
    border-radius: 10px;
    padding: 20px 24px;
    gap: 24px;
    box-shadow: 0 1px 3px rgba(16, 24, 40, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    text-decoration: none;
    flex-direction: column;
}
/* Link style wrapper */
a.rs-card {
    cursor: pointer;
}
a.rs-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(16, 24, 40, 0.08);
    border-color: #008F8D;
}

.rs-card-container {
    display: flex;
    gap: 12px;
}

/* ── Icon box on the left ── */
.rs-card-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    min-width: 48px;
    border: 1.5px solid #4DB1AF;
    background: #F4FBFB;
    border-radius: 2px;
    box-sizing: border-box;
}
.rs-card-icon-box svg {
    width: 24px;
    height: 24px;
}

/* ── Text content on the right ── */
.rs-card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.rs-card-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
    color: #061C3D;
    margin: 0;
    word-break: break-all;
    transition: color 0.2s ease;
}
a.rs-card:hover .rs-card-title {
    color: #008F8D;
}

.rs-card-meta {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    color: #6A778B;
    margin: 0;
    word-break: break-all;
}

/* ── Pagination UI ── */
.rs-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
}
.rs-page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #6A778B;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
    border: 1px solid transparent;
}
.rs-page-link:hover:not(.current):not(.disabled) {
    background-color: #F4FBFB;
    color: #008F8D;
    transform: scale(1.05);
}
.rs-page-link.current {
    background-color: #008F8D;
    color: #FFFFFF;
    cursor: default;
}
.rs-page-ellipsis {
    display: inline-flex;
    align-items: flex-end;
    justify-content: center;
    min-width: 24px;
    height: 38px;
    color: #6A778B;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    font-weight: 700;
    user-select: none;
}
.rs-page-prev, .rs-page-next {
    border: 1px solid #EAECF0;
    background-color: #FFFFFF;
}
.rs-page-prev:hover:not(.disabled), .rs-page-next:hover:not(.disabled) {
    border-color: #008F8D;
    background-color: #F4FBFB;
    color: #008F8D;
}
.rs-page-link.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    border-color: #EAECF0;
    color: #A0ABBB;
}
.rs-page-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #061C3D;
}
.rs-page-link svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

/* ── Responsive Styling ── */
@media (max-width: 768px) {
    .rs-title-band {
        font-size: 20px;
        padding: 14px 32px 14px 20px;
    }
    .rs-section-title {
        font-size: 18px;
        margin-bottom: 24px;
    }
    .rs-card {
        padding: 16px 20px;
        gap: 16px;
    }
    .rs-card-icon-box {
        width: 48px;
        height: 48px;
        min-width: 48px;
    }
    .rs-card-icon-box svg {
        width: 20px;
        height: 20px;
    }
    .rs-card-title {
        font-size: 15px;
    }
    .rs-card-meta {
        font-size: 13px;
    }
    .rs-page-link {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .rs-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .rs-card-icon-box {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }
    .rs-card-icon-box svg {
        width: 18px;
        height: 18px;
    }
}
