main {
    padding: 0;
}

h1 {
    margin-top: 2rem;
    padding: 0 0.5rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
    text-align: center;
    color: var(--title);
    font-weight: 600;
    word-break: break-word;
}

h1 span {
    padding: 0.1rem 0.3rem;
    color: var(--action-text);
    background-color: var(--action-bg);
    border-radius: 4px;
    white-space: nowrap;
}

.hero-image {
    padding: 0 0.5rem;
    width: min(600px, 100%);
    height: auto;
    object-fit: cover;
}

h2 {
    padding: 0.25rem 0.5rem;
    color: var(--action-text);
    font-size: 1.25rem;
    font-weight: 500;
    white-space: nowrap;
    display: inline-block;
    text-overflow: ellipsis;
    background: var(--action-bg);
    box-shadow: 10px 5px var(--action-border);
}
/* Novel Section Globals */
.novelSection {
    padding: 1rem 0.5rem;
    width: 100%;
    margin: 1rem 0;
    border-radius: 0.5rem 1rem;
}
.novels {
    margin-top: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap: 1rem;
}
.novels div {
    width: 28vw;
}
.novels img {
    width: 28vw;
    height: calc(1.333 * 28vw);
    border-radius: 0.25rem;
}
.novels h3 {
    margin-top: 0.25rem;
    max-height: 2rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    color: #1f2129;
    font-size: clamp(0.75rem, 4vw, 1rem);
    font-weight: 500;
    line-height: 1rem;
    word-wrap: break-word;
    overflow: hidden;
}

/* Small Novel Section */
#latestNovels .novels div {
    width: 20.27vw;
}
#latestNovels img {
    width: 20.27vw;
    height: calc(1.333 * 20.27vw);
}

@media only screen and (min-width: 600px) {
    .novels div {
        width: min(15vw, 9rem) !important;
    }
    .novels img {
        width: min(15vw, 9rem) !important;
        height: calc(1.333 * min(15vw, 9rem)) !important;
    }
}

/* Swiper */
.swiper {
    margin-top: 0.75rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.swiper-item-container {
    width: min(28rem, 100%);
    border-radius: 1rem;
}
.swiper-item {
    padding: 1rem;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    backdrop-filter: blur(3px) brightness(50%);
    overflow: hidden;
    border-radius: 1rem;
}
.swiper-item img {
    width: min(10rem, 20vw);
    height: calc(1.333 * min(10rem, 20vw));
    object-fit: cover;
    border-radius: 4px;
}

.swiper-item-content {
    width: 100%;
}
.swiper-item h2,
.swiper-item p {
    line-height: 1.2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    word-break: break-word;
    overflow: hidden;
}
.swiper-item h3 {
    padding: 0;
    color: white;
    font-size: 1.4rem;
    -webkit-line-clamp: 2;
}
.swiper-item p {
    margin-top: 1rem;
    color: white;
    font-size: 1rem;
    -webkit-line-clamp: 3;
}
/* -Swiper- */
