h3 {
    font-size: 35px;
}
.serambi-logo {
    height: 80px;
}

.section-title h2 {
    text-transform: none;
}
h2.subtitle {
    padding: 20px 10% 10px;
}
.ellipsis-2 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.title-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.input {
    border-radius: 40px;
    border: 1px solid var(--border) !important;
}

/* home */
.home-book-quote {
    max-width: 70%;
}
.hero-banner {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 90vh;
}
.hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.hero-banner .wrapper {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        66.34% 66.34% at 50% 25.71%,
        rgba(16, 24, 40, 0.3) 0%,
        rgba(16, 24, 40, 0.97) 100%
    );
}
.hero-banner .wrapper .hero-content {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    justify-content: end;
    padding: 10%;
}
.hero-banner .wrapper .hero-content h1 {
    width: 50%;
    padding-bottom: 30px;
    color: white;
}
.home.header-right {
    display: flex;
}
.header__hamburger {
    display: none;
}
@media screen and (max-width: 1200px) {
    .header__hamburger {
        display: block;
    }
}

/* searching */
.search__info {
    position: fixed;
    display: flex;
    opacity: 0;
    z-index: 999999;
    top: 0;
    left: 10%;
    background: white;
    width: 80%;
    padding: 30px 10%;
    border-radius: 20px;
    transform: translateY(-100%);
    transition: transform 0.45s ease-in-out, opacity 0.45s ease-in-out;
}
.search__info.info-open {
    opacity: 1;
    top: 15%;
    transform: translateY(0);
}

.search__info .form-clt {
    width: 100%;
}
.search__info .theme-btn {
    width: 150px;
    padding-top: 25px;
    border-radius: 35px;
    margin-left: 10px;
}
.search__info .theme-btn i {
    margin-left: 0;
    margin-right: 5px;
}

@media screen and (max-width: 1200px) {
    .search__info {
        padding: 20px;
    }
    .search__info span {
        display: none;
    }
    .search__info .theme-btn {
        width: 58px;
        padding: 10px 22px;
    }
    .search__info .theme-btn i {
        margin: 0;
    }
}
@media screen and (max-width: 680px) {
    .search__info .theme-btn {
        width: 46px;
        padding: 10px 14px;
    }
}

/* .home-main-banner {
    position: relative;
    min-height: 85vh;
    width: 100%;
}

.home-main-banner-img.mobile {
    display: none;
}
.home-main-banner .hero-content {
    padding-top: 36vh;
}

.home-main-banner-img {
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -1;
}
 */

/* article */
.article-area {
    column-gap: 2%;
    row-gap: 30px;
}
.box-article {
    display: flex;
    width: 32%;
    padding: 20px;
    margin: 0;
}
.box-article img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
}
.box-article h4 a {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.news-content {
    width: 100%;
}

/* Book */
.card-book {
    position: relative;
    display: flex;
    padding: 15px;
    width: 23%;
    margin-left: 1%;
    margin-right: 1%;
}
.card-book .content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1;
    padding: 10px 20px 20px;
    background: linear-gradient(135deg, #ffffff, transparent);
}
.card-book .thumb {
    position: relative;
    padding: 0;
    width: 100%;
    padding-top: 150%;
    overflow: hidden;
}
.card-book .thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.book-cover {
    width: 50%;
}

/* contact */
.contact-content {
    padding-right: 20%;
}

@media screen and (max-width: 1199px) {
    .serambi-logo {
        height: 50px;
    }

    .home.header-right {
        display: flex;
    }

    .card-book {
        width: calc(33% - 10px);
    }

    /* article */
    .article-area {
        padding: 0 20px;
    }
    .box-article {
        width: 49%;
    }
}
@media screen and (max-width: 768px) {
    h3 {
        font-size: 25px;
    }
    .home-main-banner-img.mobile {
        display: block;
    }
    .home-main-banner-img.desktop {
        display: none;
    }
    .hero-banner .wrapper .hero-content {
        padding: 20% 10%;
        text-align: center;
    }
    .hero-banner .wrapper .hero-content h1 {
        width: 100%;
        color: white;
        font-size: 50px;
    }
    .card-book {
        width: calc(50% - 10px);
    }
    .home.header-right {
        gap: 20px;
    }
    .header-right .icon-items .icon {
        width: 40px;
        height: 40px;
        line-height: 40px;
    }
    .search__info {
        left: 5%;
        width: 90%;
    }
}
@media screen and (max-width: 579px) {
    .box-article {
        width: 100%;
    }
    .book-cover {
        width: 100%;
    }
    .hero-banner .wrapper .hero-content h1 {
        font-size: 40px;
    }
    .news-box-items .news-content h4 {
        font-size: 18px;
    }
    .news-box-items .news-content p,
    .link-btn {
        font-size: 14px;
    }
    .card-book {
        padding: 6px;
    }
    .card-book .content {
        padding: 10px;
    }
    .card-book .content h5 {
        font-size: 12px;
        margin-bottom: 8px;
    }
    .card-book .content p {
        font-size: 10px;
    }
}

.social-link {

}
.social-link .link {
    display: flex;
    align-items: center;
}
.social-link .link a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background-color: #f9fafb;
    font-size: 14px;
    margin-right: 5px;
    margin-bottom: 5px;
}
.social-link .link a:hover {
    background-color: var(--theme-2);
}
.social-link .link a:hover i {
    color: white;
}
.white {
    color: white;
}