/* ---------------------------------------
   Index
--------------------------------------- */

.index-page {
    width: 100%;

    padding:
        0
        var(--page-x);
}

.index-list {
    display: flex;
    flex-direction: column;

    gap: 16px;
}


.header-back-link {
    color: var(--gray);

    transition: color 0.12s ease;
}


/* ---------------------------------------
   Card
--------------------------------------- */

.index-card {
    position: relative;

    width: 100%;

    height: clamp(
        420px,
        36.842vw,
        560px
    );

    padding: 16px;

    display: flex;

    align-items: stretch;

    overflow: hidden;

    background: #fff;
}


.index-card__text {
    position: relative;

    flex: 1 1 auto;

    min-width: 0;
    height: 100%;
}


/* category */

.index-card__category {
    position: absolute;

    top: 0;
    left: 0;

    font-family:
        var(--font-schema),
        sans-serif;

    font-size: 16px;
    line-height: 1;
}


/* title */

.index-card__title {
    position: absolute;

    top: 50%;
    left: 0;

    width: 100%;

    transform: translateY(-50%);

    padding-right: 16px;

    font-size: 32px;
    line-height: 1.20;
}


.index-card__title-ko {
    font-family:
        var(--font-schema),
        var(--font-ko),
        sans-serif;
    font-weight: 500;
    word-break: keep-all;
}


.index-card__title-en {
    font-family:
        var(--font-schema),
        sans-serif;
}


.index-card__title-en em {
    font-style: italic;
}

.index-card__year {
    font-family:
        var(--font-schema),
        sans-serif;
}


/* image */

.index-card__image {
    flex: 0 0 auto;

    height: 100%;

    display: flex;
    align-items: stretch;
}


.index-card__image img {
    display: block;

    width: auto;
    height: 100%;

    max-width: none;

    object-fit: contain;
}