/* --------------------------------------------------------------------- *
 * New Meta Category Page
 * --------------------------------------------------------------------- */

/* ------------------------------ *
 * Common
 * ------------------------------ */
.page-service-metacat .page-content { padding-top: 90px; }

.page-service-metacat h2 { font-size: 42px; margin-bottom: 60px; }
.page-service-metacat footer { border-top: none; }
@media (max-width: 1199px) {
    .page-service-metacat .page-content { padding-top: 60px; }
    .page-service-metacat h2 { font-size: 35px; }
}
@media (max-width: 767px) {
    .page-service-metacat .page-content { padding-top: 50px; }
    .page-service-metacat h2 { margin-bottom: 30px; }
}
@media (max-width: 500px) {
    .page-service-metacat h2 { font-size: 25px; }
}

/* ------------------------------ *
 * Jumbotron
 * ------------------------------ */
.jumbotron-home.jumbotron-metacat { background-position: calc(56% + 280px) bottom; }

.jumbotron-home.jumbotron-esl { background-image: url("/images/bg/jumbotron/esl2-lg.webp"); }
.jumbotron-home.jumbotron-academic { background-image: url("/images/bg/jumbotron/academic3-lg.webp"); }
.jumbotron-home.jumbotron-author { background-image: url("/images/bg/jumbotron/author3-lg.webp"); background-position: calc(56% + 340px) bottom; }
.jumbotron-home.jumbotron-business { background-image: url("/images/bg/jumbotron/business3-lg.webp"); }
.jumbotron-home.jumbotron-student { background-image: url("/images/bg/jumbotron/student3-lg.webp"); }
.jumbotron-home.jumbotron-personal { background-image: url("/images/bg/jumbotron/personal3-lg.webp"); }
@media (max-width: 1199px) {
    .jumbotron-home.jumbotron-metacat { background-position: calc(50% + 280px) bottom; }

    .jumbotron-home.jumbotron-esl { background-image: url("/images/bg/jumbotron/esl2-md.webp"); }
    .jumbotron-home.jumbotron-academic { background-image: url("/images/bg/jumbotron/academic3-md.webp"); }
    .jumbotron-home.jumbotron-author { background-image: url("/images/bg/jumbotron/author3-md.webp"); background-position: calc(50% + 330px) bottom; }
    .jumbotron-home.jumbotron-business { background-image: url("/images/bg/jumbotron/business3-md.webp"); }
    .jumbotron-home.jumbotron-student { background-image: url("/images/bg/jumbotron/student3-md.webp"); }
    .jumbotron-home.jumbotron-personal { background-image: url("/images/bg/jumbotron/personal3-md.webp"); }
}
@media (max-width: 991px) {
    .jumbotron-home.jumbotron-metacat { background-position: right bottom; }

    .jumbotron-home.jumbotron-esl { background-image: url("/images/bg/jumbotron/esl2-sm.webp"); }
    .jumbotron-home.jumbotron-academic { background-image: url("/images/bg/jumbotron/academic3-sm.webp"); }
    .jumbotron-home.jumbotron-author { background-image: url("/images/bg/jumbotron/author3-sm.webp"); background-size: auto 76%; }
    .jumbotron-home.jumbotron-business { background-image: url("/images/bg/jumbotron/business3-sm.webp"); }
    .jumbotron-home.jumbotron-student { background-image: url("/images/bg/jumbotron/student3-sm.webp"); }
    .jumbotron-home.jumbotron-personal { background-image: url("/images/bg/jumbotron/personal3-sm.webp"); }
}
@media (max-width: 767px) {
    .jumbotron-home.jumbotron-metacat { background-size: 42% auto; }
}
@media (max-width: 500px) {
    .jumbotron-home.jumbotron-metacat { background-size: 46% auto; }
    .jumbotron-home.jumbotron-metacat p { max-width: unset; }

    .jumbotron-home.jumbotron-esl { background-image: url("/images/bg/jumbotron/esl2-xs.webp"); }
    .jumbotron-home.jumbotron-academic { background-image: url("/images/bg/jumbotron/academic3-xs.webp"); }
    .jumbotron-home.jumbotron-author { background-image: url("/images/bg/jumbotron/author3-xs.webp"); }
    .jumbotron-home.jumbotron-business { background-image: url("/images/bg/jumbotron/business3-xs.webp"); }
    .jumbotron-home.jumbotron-student { background-image: url("/images/bg/jumbotron/student3-xs.webp"); }
    .jumbotron-home.jumbotron-personal { background-image: url("/images/bg/jumbotron/personal3-xs.webp"); }
}
@media (max-width: 400px) {
    .jumbotron-home.jumbotron-metacat { background-size: 55% auto; }
}
/* ------------------------------ *
 * Services List
 * ------------------------------ */
.page-service-metacat .scribendi-widget-section.services-grid .service-card-wrap { margin-top: 0; }
.page-service-metacat .scribendi-widget-section.services-grid .service-card-content {
    gap: 30px 20px;
}
.page-service-metacat.page-service-student .scribendi-widget-section.services-grid .service-card-content {
    max-width: 966px;
    margin: auto;
}
.page-service-metacat .scribendi-widget-section.services-grid .service-card {
    width: calc(33.33% - 14px);
    padding-bottom: unset;
    aspect-ratio: 705 / 1000;
    margin-top: 0;
}
.page-service-metacat.page-service-student .scribendi-widget-section.services-grid .service-card { width: calc(50% - 10px); }
.page-service-metacat .scribendi-widget-section.services-grid .service-card .card-text {
    color: #FFF;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 3em;
}
@media (max-width: 1199px) {
    .page-service-metacat.page-service-student .scribendi-widget-section.services-grid .service-card-content { max-width: 820px; }
}
@media (max-width: 991px) {
    .page-service-metacat .scribendi-widget-section.services-grid .service-card-content,
    .page-service-metacat.page-service-student .scribendi-widget-section.services-grid .service-card-content {
        max-width: 738px;
        margin: auto;
    }
    .page-service-metacat .scribendi-widget-section.services-grid .service-card { width: calc(50% - 10px); }
}
@media (max-width: 767px) {
    .page-service-metacat .scribendi-widget-section.services-grid .service-card-content,
    .page-service-metacat.page-service-student .scribendi-widget-section.services-grid .service-card-content {
        max-width: 530px;
        gap: 20px 12px;
    }
    .page-service-metacat .scribendi-widget-section.services-grid .service-card,
    .page-service-metacat.page-service-student .scribendi-widget-section.services-grid .service-card { width: calc(50% - 6px); }
}
@media (max-width: 500px) {
    .page-service-metacat .scribendi-widget-section.services-grid h2 { max-width: 300px; margin-left: auto; margin-right: auto; }
    .page-service-metacat .scribendi-widget-section.services-grid .service-card,
    .page-service-metacat.page-service-student .scribendi-widget-section.services-grid .service-card { width: 100%; }
}

/* ------------------------------ *
 * Publisher Carousel
 * ------------------------------ */
.page-service-metacat.page-service-academic .scientific-published-carousel h2 { max-width: 720px; margin-left: auto; margin-right: auto; }
@media (max-width: 767px) {
    .page-service-metacat.page-service-academic .scientific-published-carousel h2 { max-width: 600px; }
}

/* ------------------------------ *
 * HTML2 - FAQ
 * ------------------------------ */
.page-service-metacat #cat-html2 h2 { margin-top: 0 !important; }
@media (max-width: 500px) {
    .page-service-metacat #cat-html2 { max-width: 78%; margin-left: auto; margin-right: auto; }
}

/* --------------------------------------------------------------------- *
 * Page - ESL Meta Page
 * --------------------------------------------------------------------- */
.page-service-metacat.page-service-esl .scientific-published-carousel { padding-bottom: 0 !important; }
@media (max-width: 600px) {
    .page-service-metacat.page-service-esl .global-testimonials h2 { max-width: 320px; margin-left: auto; margin-right: auto;  }
    .page-service-metacat.page-service-esl .scientific-published-carousel h2 br { display: inline !important; }
}

/* --------------------------------------------------------------------- *
 * Page - Academic Meta Page
 * --------------------------------------------------------------------- */
.page-service-metacat.page-service-academic .scientific-vs-academic { padding-bottom: 0 !important; }
.page-service-metacat.page-service-academic .scientific-vs-academic .table-lg-wrap {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.page-service-metacat.page-service-academic .cta-to-scientific-editing-2 { padding-top: 0 !important; }
.page-service-metacat.page-service-academic .cta-to-scientific-editing-2 .scientific-cta-content {
    background-color: #FFF;
    padding: 50px 40px 40px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}
@media (max-width: 992px) {
    .page-service-metacat.page-service-academic .cta-to-scientific-editing-2 .scientific-cta-content {
        padding-left: 20px;
        padding-right: 20px;
    }
}
@media (max-width: 768px) {
    .page-service-metacat.page-service-academic .cta-to-scientific-editing-2 .scientific-cta-content {
        padding: 30px 0 0;
        background-color: #F6F6F6;
    }
}

/* --------------------------------------------------------------------- *
 * Page - Author Meta Page
 * --------------------------------------------------------------------- */
@media (min-width: 768px) and (max-width: 991px) {
    .page-service-metacat.page-service-author .scientific-published-carousel { background-size: auto 75%; }
}

/* --------------------------------------------------------------------- *
 * Page - Business Meta Page
 * --------------------------------------------------------------------- */
.page-service-metacat.page-service-business .scientific-published-carousel { padding-top: 90px !important; padding-bottom: 0 !important; }
@media (max-width: 767px) {
    .page-service-metacat.page-service-business .scientific-published-carousel { padding-top: 70px !important; }
}
@media (max-width: 500px) {
    .page-service-metacat.page-service-business .scientific-published-carousel h2 { max-width: 300px; margin-left: auto; margin-right: auto; }
}
/* --------------------------------------------------------------------- *
 * Page - Student Meta Page
 * --------------------------------------------------------------------- */
.page-service-metacat.page-service-student .scientific-published-carousel { padding-top: 90px !important; padding-bottom: 0 !important; }
@media (max-width: 767px) {
    .page-service-metacat.page-service-student .scientific-published-carousel { padding-top: 70px !important; }
}
@media (max-width: 500px) {
    .page-service-metacat.page-service-student .scientific-published-carousel h2 { max-width: 300px; margin-left: auto; margin-right: auto; }
}

/* --------------------------------------------------------------------- *
 * Page - Personal Meta Page
 * --------------------------------------------------------------------- */
.page-service-metacat.page-service-personal .scientific-published-carousel { padding-top: 90px !important; padding-bottom: 0 !important; }
@media (max-width: 767px) {
    .page-service-metacat.page-service-personal .scientific-published-carousel { padding-top: 70px !important; }
}
@media (max-width: 500px) {
    .page-service-metacat.page-service-personal .scientific-published-carousel h2 { max-width: 300px; margin-left: auto; margin-right: auto; }
}