/* =========================================================
   TYPES OF BOOKS WE PUBLISH
   ========================================================= */

.types-books-section {
    width: 100%;
    padding: 65px 0 70px;
    background: #f7f9fc;
    margin-top: 20px;
}

.types-books-section .container {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
}

.types-books-header {
    max-width: 760px;
    margin: 0 auto 38px;
    text-align: center;
}

.types-books-label {
    display: inline-block;
    margin-bottom: 8px;
    color: #0b5cab;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.types-books-header .block-kicker {
    margin: 0 0 12px;
    color: #002147;
    font-size: 27px;
    line-height: 1.25;
}

.types-books-header p {
    margin: 0 auto;
    max-width: 680px;
    color: #667085;
    font-size: 14px;
    line-height: 1.7;
}


/* =========================================================
   BOOK CARDS
   ========================================================= */

.types-books-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.type-book-card {
    position: relative;
    min-height: 205px;
    padding: 28px 18px 24px;
    background: #ffffff;
    border: 1px solid #e1e8f0;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 33, 71, 0.06);
    transition: all 0.25s ease;
    overflow: hidden;
}

.type-book-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #002147;
}

.type-book-card:hover {
    transform: translateY(-5px);
    border-color: #c5d6e8;
    box-shadow: 0 14px 30px rgba(0, 33, 71, 0.12);
}

.type-book-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef5fb;
    border-radius: 50%;
    color: #0b5cab;
    font-size: 22px;
}

.type-book-card h3 {
    margin: 0 0 9px;
    color: #002147;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
}

.type-book-card p {
    margin: 0;
    color: #667085;
    font-size: 13px;
    line-height: 1.6;
}


/* =========================================================
   RESPONSIVE - TYPES
   ========================================================= */

@media (max-width: 1100px) {

    .types-books-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

}

@media (max-width: 700px) {

    .types-books-section {
        padding: 50px 0 55px;
    }

    .types-books-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .type-book-card {
        min-height: 195px;
        padding: 24px 14px 20px;
    }

}

@media (max-width: 480px) {

    .types-books-grid {
        grid-template-columns: 1fr;
    }

    .type-book-card {
        min-height: auto;
    }

}


/* =========================================================
   SCRIPOWN BOOK PACKAGES
   VIBESINK STYLE
   BLUE THEME
   ========================================================= */

.publishing-pricing-section {
    padding: 80px 0;
    background: #ffffff;
}

.publishing-pricing-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


/* =========================================================
   PRICING HEADER
   ========================================================= */

.publishing-pricing-header {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 55px;
}

.publishing-pricing-label {
    color: #0b5cab;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.publishing-pricing-header h2 {
    font-size: 38px;
    line-height: 1.2;
    margin: 0 0 15px;
    color: #002147;
}

.publishing-pricing-header p {
    color: #667085;
    font-size: 17px;
    line-height: 1.7;
    margin: 0;
}


/* =========================================================
   PACKAGE GROUP
   ========================================================= */

.book-package-group {
    margin-bottom: 65px;
}

.book-package-group-head {
    text-align: center;
    margin-bottom: 30px;
}

.book-package-group-head h3 {
    font-size: 27px;
    margin: 0 0 8px;
    color: #002147;
}

.book-package-group-head p {
    margin: 0;
    color: #667085;
    font-size: 15px;
}


/* =========================================================
   PACKAGE GRID
   ========================================================= */

.book-package-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: stretch;
}


/* =========================================================
   PACKAGE CARD
   ========================================================= */

.book-package-card {
    background: #ffffff;
    border: 1px solid #dce6f0;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 30px rgba(0, 33, 71, 0.06);
    transition: all 0.25s ease;
}

.book-package-card:hover {
    transform: translateY(-5px);
    border-color: #b9cee2;
    box-shadow: 0 15px 35px rgba(0, 33, 71, 0.12);
}


/* =========================================================
   CARD TOP
   ========================================================= */

.book-package-card-top {
    text-align: center;
    padding: 28px 20px 22px;
    background: #f2f7fc;
    border-bottom: 1px solid #d8e6f3;
}

.a4-package .book-package-card-top {
    background: #edf4fa;
    border-bottom-color: #cbddeb;
}


/* =========================================================
   SIZE BADGE
   ========================================================= */

.book-package-size {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 30px;
    background: #2563a6;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.a4-package .book-package-size {
    background: #174f7c;
}


/* =========================================================
   PACKAGE TITLE
   ========================================================= */

.book-package-card h4 {
    font-size: 20px;
    margin: 0 0 15px;
    color: #002147;
}


/* =========================================================
   PRICE
   ========================================================= */

.book-package-price {
    font-size: 29px;
    font-weight: 800;
    line-height: 1.2;
    color: #2563a6;
    margin-bottom: 8px;
}

.a4-package .book-package-price {
    color: #174f7c;
}

.book-package-price span {
    font-size: 14px;
    font-weight: 500;
    color: #667085;
}

.book-package-price.custom-price {
    font-size: 24px;
}

.book-package-pages {
    font-size: 14px;
    color: #667085;
}


/* =========================================================
   PACKAGE CONTENT
   ========================================================= */

.book-package-content {
    padding: 24px 22px 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}


/* =========================================================
   FEATURES
   ========================================================= */

.book-package-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.book-package-features li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 7px 0;
    border-bottom: 1px solid #edf1f5;
    font-size: 14px;
    line-height: 1.45;
    color: #555f6d;
}

.book-package-features li:last-child {
    border-bottom: 0;
}

.book-package-features i {
    color: #2563a6;
    font-size: 12px;
    margin-top: 4px;
    flex-shrink: 0;
}

.a4-package .book-package-features i {
    color: #174f7c;
}


/* =========================================================
   COLOR PRINTING
   ========================================================= */

.book-package-extra {
    margin-top: 18px;
    padding: 12px 13px;
    background: #f2f7fc;
    border-radius: 7px;
    font-size: 13px;
    color: #667085;
    line-height: 1.5;
}

.a4-package .book-package-extra {
    background: #edf4fa;
}


/* =========================================================
   BUTTON
   ========================================================= */

.book-package-btn {
    display: block;
    text-align: center;
    margin-top: 20px;
    padding: 12px 15px;
    border-radius: 6px;
    background: #2563a6;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.book-package-btn:hover {
    background: #1d4f85;
    color: #ffffff !important;
}

.a4-package .book-package-btn {
    background: #174f7c;
}

.a4-package .book-package-btn:hover {
    background: #123e61;
}


/* =========================================================
   NOTE
   ========================================================= */

.book-package-note {
    text-align: center;
    max-width: 850px;
    margin: 10px auto 0;
    color: #667085;
    font-size: 14px;
    line-height: 1.6;
}


/* =========================================================
   RESPONSIVE - PACKAGES
   ========================================================= */

@media (max-width: 1100px) {

    .book-package-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 767px) {

    .publishing-pricing-section {
        padding: 55px 0;
    }

    .publishing-pricing-header h2 {
        font-size: 30px;
    }

    .publishing-pricing-header p {
        font-size: 15px;
    }

    .book-package-group-head h3 {
        font-size: 23px;
    }

    .book-package-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .book-package-card {
        max-width: 500px;
        width: 100%;
        margin: 0 auto;
    }

}

@media (max-width: 480px) {

    .publishing-pricing-inner {
        padding: 0 15px;
    }

    .publishing-pricing-header h2 {
        font-size: 27px;
    }

    .book-package-content {
        padding: 22px 18px 23px;
    }

}


/* =========================================================
   EBOOK PUBLICATION CARD
   ========================================================= */

.ebook-publish-card {
    width: 100%;
    box-sizing: border-box;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #dce6f0;
    border-radius: 12px;
    box-shadow: 0 6px 22px rgba(0, 33, 71, 0.06);
}

.ebook-publish-header h3 {
    margin: 0 0 6px;
    color: #002147;
    font-size: 21px;
    line-height: 1.2;
}

.ebook-publish-header span {
    display: inline-block;
    padding: 3px 7px;
    background: #002147;
    color: #ffffff;
    border-radius: 3px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.ebook-publish-header p {
    margin: 10px 0 16px;
    color: #667085;
    font-size: 13px;
    line-height: 1.55;
}


/* =========================================================
   EBOOK PRICING
   ========================================================= */

.ebook-pricing {
    width: 100%;
}

.ebook-price-row {
    display: grid;
    grid-template-columns: 1.35fr 0.8fr 0.9fr;
    gap: 8px;
    align-items: center;
    padding: 9px 7px;
    border-bottom: 1px solid #e5ebf1;
    color: #002147;
    font-size: 12px;
}

.ebook-price-row span {
    line-height: 1.3;
}

.ebook-price-row strong {
    font-size: 12px;
    color: #174f7c;
    font-weight: 700;
}

.ebook-price-head {
    background: #eef5fb;
    border-bottom: 0;
    padding: 8px 7px;
    font-size: 11px;
    font-weight: 700;
    color: #002147;
}

.ebook-price-row:last-child {
    border-bottom: 0;
}


/* =========================================================
   EBOOK FOOTER
   ========================================================= */

.ebook-publish-footer {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #e5ebf1;
}

.ebook-publish-footer h4 {
    margin: 0 0 5px;
    color: #002147;
    font-size: 13px;
}

.ebook-publish-footer p {
    margin: 0 0 12px;
    color: #667085;
    font-size: 11.5px;
    line-height: 1.5;
}

.ebook-publish-footer a {
    display: inline-block;
    padding: 9px 15px;
    background: #002147;
    color: #ffffff !important;
    border-radius: 5px;
    text-decoration: none !important;
    font-size: 12px;
    font-weight: 600;
}

.ebook-publish-footer a:hover {
    background: #0b5cab;
}


/* =========================================================
   EBOOK RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {

    .ebook-publish-card {
        max-width: 700px;
        margin: 0 auto;
    }

}

@media (max-width: 600px) {

    .ebook-publish-card {
        padding: 16px;
    }

    .ebook-price-row {
        grid-template-columns: 1.3fr 0.8fr 0.8fr;
        font-size: 11px;
    }

    .ebook-price-row strong {
        font-size: 11px;
    }

}