/* 
 * CSS File for Book Custom Post Type
 * Matched precisely to the provided 3-column mockup
 */

.gj-book-single-page {
    background-color: #fff;
    background-image: url('https://images.journalspress.com/2026/05/journalspress.com_.png');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-attachment: fixed;
    padding: 60px 0;
    position: relative;
}

.single-book header .btn-optional {
    display: none;
}

.gj-book-bottom-content .flipbook-main-wrapper,
.gj-book-bottom-content .OutlinyFlipbook {
    background: transparent !important;
}

.single-book .frm_forms .frm_form_field {
    margin-top: 0;
}

.gj-book-breadcrumb {
    display: none;
}

.gj-book-breadcrumb {
    display: none;
    /* Hide old breadcrumb if still appearing */
}

.gj-book-breadcrumb a {
    color: #4b5563;
    text-decoration: none;
}

.gj-book-breadcrumb a:hover {
    color: #111827;
}

.gj-book-container {
    margin: 0 auto;
    padding: 120px 70px 50px 70px;
    max-width: 1620px;
    position: relative;
}

/* Author Top Section */
.gj-book-author-top {
    margin-bottom: 100px;
    background: transparent;
    position: relative;
    z-index: 2;
}

.gj-book-author-top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.gj-author-top-content {
    flex: 1;
    max-width: 55%;
}

.gj-author-top-label {
    font-size: 13px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    display: block;
    margin-bottom: 12px;
}

.gj-author-top-name {
    font-family: "Prata", serif;
    font-size: 56px;
    font-weight: 400;
    color: #0f172a;
    margin: 0 0 30px 0;
    line-height: 1.1;
}

.gj-author-top-bio {
    font-size: 17px;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 45px;
    max-width: 90%;
}

.gj-author-top-meta-grid {
    display: flex;
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    overflow: hidden;
    max-width: 600px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.gj-author-top-meta-item {
    flex: 1;
    padding: 20px 30px;
    border-right: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.gj-author-top-meta-item:last-child {
    border-right: none;
}

.gj-author-top-meta-item .gj-meta-label {
    font-size: 11px;
    font-weight: 800;
    color: #1e293b;
    text-transform: uppercase;
}

.gj-author-top-meta-item .gj-meta-value {
    font-size: 14px;
    color: #94a3b8;
    font-weight: 500;
}

/* Image with Blob */
.gj-author-top-image-col {
    width: 40%;
    display: flex;
    justify-content: flex-end;
    position: relative;
}

.gj-author-image-blob-wrap {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.gj-author-blob-bg {
    width: 100%;
    height: auto;
    display: block;
    transform: scale(1.1);
}

.gj-publish-book-hero-media img {
    max-height: 566px;
    object-position: top;
}

.gj-author-img-frame {
    position: absolute;
    top: 50%;
    left: 48%;
    transform: translate(-50%, -50%);
    width: 50%;
    height: 60%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    background: #f1f5f9;
}

.gj-author-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.gj-author-img-frame:hover .gj-author-main-img {
    filter: grayscale(0%);
}

/* 3-Column Grid Layout */
.gj-book-layout {
    display: flex;
    gap: 40px;
    align-items: stretch;
    margin-bottom: 50px;
    justify-content: space-between;
    flex-wrap: nowrap;
    box-sizing: border-box;
}

.gj-book-layout *,
.gj-book-layout *::before,
.gj-book-layout *::after {
    box-sizing: border-box;
}

/* 1. Left Column: Book Cover */
.gj-book-cover-col {
    width: 28%;
    flex-shrink: 0;
}

.gj-book-cover-bg {
    background: linear-gradient(135deg, #e4f4fb 0%, #fbe8ec 100%);
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    min-height: 400px;
    border-radius: 8px;
}

.gj-book-cover-img {
    max-width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    box-shadow: -10px 15px 25px -5px rgba(0, 0, 0, 0.3);
}

.gj-book-cover-placeholder {
    width: 100%;
    height: 400px;
    border: 2px dashed rgba(0, 0, 0, 0.1);
}

/* 2. Center Column: Main Details */
.gj-book-main-col {
    flex: 1;
    padding-top: 10px;
    min-width: 0;
}

.gj-book-title {
    font-family: "Prata", serif;
    font-size: 40px;
    font-weight: 500;
    color: #111827;
    line-height: 1.3;
    margin: 0 0 15px 0;
}

.gj-book-subtitle {
    font-size: 16px;
    color: #374151;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Pricing */
.gj-book-pricing-row {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 25px;
}

.gj-book-price-old {
    font-size: 24px;
    color: #9ca3af;
    text-decoration: line-through;
}

.gj-book-price-new {
    font-size: 38px;
    font-weight: 700;
    color: #111827;
}

/* Buttons */
.gj-book-buttons-row {
    display: flex;
    gap: 15px;
    margin-bottom: 35px;
}

.gj-book-btn,
.gj-book-buttons-row button,
.gj-book-buttons-row .btn-dark {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #111827 !important;
    color: #ffffff !important;
    padding: 14px 28px !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    font-family: inherit !important;
    font-weight: 500 !important;
    border: none !important;
    cursor: pointer !important;
    height: 48px !important;
    /* Fixed height for consistency */
    line-height: 1 !important;
}

.dark-scheme .gj-author-v2-bio {
    color: #ffffff !important;
}

.gj-book-btn:hover,
.gj-book-btn:focus,
.gj-book-buttons-row button:hover,
.gj-book-buttons-row .btn-dark:hover {
    background-color: #374151 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    outline: none !important;
}

.gj-book-btn:active,
.gj-book-buttons-row button:active {
    background-color: #000000 !important;
    transform: translateY(1px) !important;
}

/* Divider */
.gj-book-divider {
    border: 0;
    border-top: 1px solid #e5e7eb;
    margin: 0 0 25px 0;
    max-width: 100% !important;
}

/* Author Section */
.gj-book-author-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.gj-book-author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    overflow: hidden;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gj-book-author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gj-book-avatar-icon {
    width: 24px;
    height: 24px;
    color: #9ca3af;
}

.gj-book-author-info {
    display: flex;
    flex-direction: column;
}

.gj-book-author-label {
    font-size: 10px;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gj-book-author-name {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
}

/* Social Icons */
.gj-book-social-icons {
    display: flex;
    gap: 15px;
}

.gj-social-icon {
    display: inline-flex;
    color: #9ca3af;
    transition: color 0.2s;
}

.gj-social-icon svg {
    width: 22px;
    height: 22px;
}

.gj-social-icon:hover {
    color: #4b5563;
}

/* 3. Right Column: Meta Info */
.gj-book-meta-col {
    background-color: #f9fafb;
    padding: 30px;
    border-radius: 8px;
    width: 24%;
    flex-shrink: 0;
}

.gj-book-meta-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.gj-book-meta-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.gj-book-meta-label {
    font-size: 12px;
    font-weight: 700;
    color: #111827;
    text-transform: uppercase;
}

.gj-book-meta-value {
    font-size: 13px;
    color: #6b7280;
    font-weight: 400;
}

.gj-book-content-section {
    margin-bottom: 45px;
}

.gj-book-content-heading {
    margin: 0 0 20px 0;
}

.gj-book-main-content,
.gj-book-text {
    font-size: 16px;
    line-height: 1.8;
    color: #4b5563;
}

.gj-book-text p,
.gj-book-main-content p {
    margin-bottom: 20px;
}

.gj-book-text p:last-child,
.gj-book-main-content p:last-child {
    margin-bottom: 0;
}

.gj-book-quote-box {
    background-color: #f3f4f6;
    padding: 35px 40px;
    border-radius: 12px;
    font-size: 20px;
    color: #374151;
    line-height: 1.6;
    margin: 40px 0;
}

/* 3D Flipbook Section */
.gj-book-3d-flipbook {
    margin-top: 40px;
    margin-bottom: 60px;
    background: transparent;
}

.gj-book-flipbook-container {
    width: 100%;
    max-width: 1620px;
    margin: 0 auto;
    background: transparent !important;
    overflow: hidden;
    position: relative;
    border: none;
}

/* Keep embeds constrained to the container without breaking shortcode layouts */
.gj-book-flipbook-container .OutlinyFlipbook,
.gj-book-flipbook-container .outlinyflipbook,
.gj-book-flipbook-container iframe,
.gj-book-flipbook-container embed,
.gj-book-flipbook-container object {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.gj-book-flipbook-container--warning {
    height: auto;
    min-height: 0;
    background: transparent;
    box-shadow: none;
}

.gj-book-3d-warning {
    margin: 0;
    padding: 16px 18px;
    border-radius: 12px;
    background: rgba(255, 193, 7, 0.15);
    border: 1px solid rgba(255, 193, 7, 0.35);
    color: #7c5b00;
    font-size: 14px;
    line-height: 1.6;
}

body.single-book.dark-scheme .gj-book-3d-warning {
    background: rgba(255, 193, 7, 0.08);
    border-color: rgba(255, 193, 7, 0.18);
    color: #f6d277;
}

.gj-book-3d-flipbook .gj-book-content-heading {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.gj-book-3d-flipbook .gj-book-content-heading::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #111827;
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Responsive adjustments */
@media (max-width: 1400px) {
    .gj-book-container {
        padding: 0 40px;
    }

    .gj-book-hero-content {
        padding: 0 40px;
    }
}

@media (max-width: 1200px) {
    .gj-book-layout {
        gap: 30px;
        flex-wrap: wrap;
    }

    .gj-book-cover-col {
        width: 38%;
    }

    .gj-book-main-col {
        flex: 1;
        min-width: 50%;
    }

    .gj-book-meta-col {
        width: 100%;
        order: 3;
    }

    .gj-book-meta-box {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px;
        justify-content: space-between;
    }

    .gj-book-meta-item {
        flex: 1 1 200px;
    }
}

@media (max-width: 1024px) {
    .gj-book-container {
        padding-left: 40px !important;
        padding-right: 40px !important;
    }

    .gj-book-flipbook-container {
        height: clamp(660px, 80vh, 960px);
        min-height: 660px;
    }
}

@media (max-width: 991px) {
    .gj-book-single-page {
        padding: 40px 0;
    }

    .gj-book-cover-col {
        max-width: 100%;
        width: 100%;
    }

    .gj-book-main-col {
        max-width: 100%;
        width: 100%;
        padding-top: 20px;
    }

    .gj-book-title {
        font-size: 32px;
    }

    .gj-book-flipbook-container {
        height: clamp(600px, 75vh, 860px);
        min-height: 600px;
    }
}

@media (max-width: 768px) {
    .gj-book-container {
        padding: 80px 20px 0px 20px !important;
    }

    .gj-book-buttons-row {
        flex-direction: column;
    }

    .gj-book-btn {
        width: 100%;
    }

    .gj-book-price-new {
        font-size: 30px;
    }

    .gj-book-price-old {
        font-size: 20px;
    }

    .gj-book-meta-box {
        gap: 15px;
    }

    .gj-book-meta-item {
        flex: 1 1 140px;
    }

    .gj-book-flipbook-container {
        height: clamp(480px, 65vh, 660px);
        min-height: 480px;
    }

}

@media (max-width: 480px) {
    .gj-book-single-page {
        padding: 20px 0;
    }

    .gj-book-flipbook-container {
        height: clamp(420px, 65vh, 560px);
        min-height: 420px;
    }

    .gj-book-title {
        font-size: 26px;
    }

    .gj-book-cover-bg {
        padding: 20px;
        min-height: 350px;
    }

    .gj-book-meta-item:last-child {
        border-bottom: none;
    }

    /* Author Top Section Mobile */
    .gj-book-author-top-inner {
        flex-direction: column-reverse;
        gap: 40px;
        text-align: center;
    }

    .gj-author-top-content {
        max-width: 100%;
    }

    .gj-author-top-name {
        font-size: 36px;
    }

    .gj-author-top-bio {
        margin-left: auto;
        margin-right: auto;
    }

    .gj-author-top-image-col {
        width: 100%;
        justify-content: center;
    }

    .gj-author-top-meta-grid {
        flex-direction: column;
        max-width: 100%;
    }

    .gj-author-top-meta-item {
        border-right: none;
        border-bottom: 1px solid #f1f5f9;
    }
}

/* ---------------------------------------------------------
   PREMIUM NEXFORMS POPUP STYLING (GLOBAL)
------------------------------------------------------------ */

/* ---------------------------------------------------------
   CUSTOM PREMIUM MODAL STYLING
------------------------------------------------------------ */
.gj-custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
}

.gj-custom-modal.active {
    display: flex;
}

.gj-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
}

.gj-modal-container {
    position: relative;
    width: 90%;
    max-width: 600px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    z-index: 1;
    overflow: hidden;
    animation: gjModalSlideIn 0.3s ease-out;
}

.gj-modal-header {
    background: #111827;
    padding: 25px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
}

.gj-modal-header h3 {
    margin: 0;
    font-family: "Prata", serif;
    font-size: 22px;
    color: #fff;
}

.gj-modal-close {
    background: none;
    border: none;
    color: #fff !important;
    font-size: 30px;
    background-color: transparent !important;
    cursor: pointer;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.gj-modal-close:hover {
    opacity: 1;
}

.gj-modal-body {
    padding: 30px;
    max-height: 70vh;
    overflow-y: auto;
}

@keyframes gjModalSlideIn {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Ensure NEXForms inside our modal looks clean */
.gj-modal-body .nex-forms-container {
    padding: 0 !important;
}

.gj-modal-body .nex-forms-button {
    width: 100% !important;
    background: #111827 !important;
    padding: 15px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
}

/* 2-Column V2 Layout */
.gj-book-layout-v2 {
    display: flex;
    gap: 80px;
    align-items: stretch;
    /* Make columns equal height */
    margin-bottom: 80px;
    background: transparent;
}

.gj-book-article {
    position: static;
    padding-right: 0;
}

.gj-book-step-section {
    position: relative;
    min-height: 78vh;
    padding: 48px 0;
    scroll-margin-top: 24px;
    display: none;
    background-image: url('https://images.journalspress.com/2026/05/Dot.png');
    background-position: top left;
    background-repeat: no-repeat;
}

.gj-book-step-section.is-active {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gj-book-step-section>* {
    width: 100%;
}

.gj-book-step-section .gj-book-layout-v2,
.gj-book-step-section .gj-book-author-section-v2,
.gj-book-step-section .gj-book-purchase-options,
.gj-book-step-section .gj-book-summary-section-v2,
.gj-book-step-section .gj-book-bottom-content,
.gj-book-step-section .gj-book-coauthors-section-v2 {
    margin-top: 0;
    margin-bottom: 0;
}

.gj-book-step-section .gj-book-layout-v2,
.gj-book-step-section .gj-book-bottom-content {
    margin-bottom: 0;
}

.gj-book-step-section .gj-book-author-section-v2 {
    padding: 40px 0;
}

.gj-book-step-section .gj-book-summary-section-v2 {
    padding-bottom: 0;
}

.gj-book-step-section .gj-book-coauthors-section-v2 {
    padding-bottom: 0;
}

.gj-book-step-nav {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    width: 92px;
    background: transparent;
    box-shadow: 0 22px 46px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.gj-book-step-nav-item {
    --gj-step-progress: 0%;
    appearance: none;
    border: 0;
    border-radius: 0;
    border-bottom: 1px solid rgba(17, 16, 19, 0.05);
    background:
        linear-gradient(90deg, #cfc8c8 0, #cfc8c8 var(--gj-step-progress), transparent var(--gj-step-progress), transparent 100%),
        #EBE9E9;
    color: #111013 !important;
    font-size: 19px;
    line-height: 1;
    flex: 1 1 25%;
    min-height: 0;
    padding: 28px 18px;
    text-align: right;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.gj-book-step-nav-item:last-child {
    border-bottom: 0;
}

.gj-book-step-nav-item:hover,
.gj-book-step-nav-item:focus-visible,
.gj-book-step-nav-item.is-active {
    background:
        linear-gradient(90deg, #c6c3c3 0, #c6c3c3 var(--gj-step-progress), transparent var(--gj-step-progress), transparent 100%),
        #DBD9D9;
    color: #111013 !important;
}

.gj-book-step-nav-item.is-active {
    transform: none;
}

.gj-book-step-controls {
    position: fixed;
    right: 28px;
    bottom: 34px;
    z-index: 41;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    min-width: 126px;
    height: 64px;
    border-radius: 999px;
    background: #eceae6;
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.08);
}

.gj-book-step-control {
    width: 52px;
    height: 52px;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: transparent;
    color: #0f172a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: none;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
    padding: 0;
    position: relative;
}

.gj-book-step-control svg {
    width: 21px;
    height: 20px;
    display: block;
}

.gj-book-step-control-prev {
    border-color: transparent;
}

.gj-book-step-control-next {
    background: #f6f5f2;
    border-color: rgba(15, 23, 42, 0.12);
    box-shadow: inset 0 0 0 4px #d7d6d3;
}

.gj-book-step-control:hover,
.gj-book-step-control:focus-visible {
    transform: translateY(-1px);
    color: #020617;
}

.gj-book-step-control:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    transform: none;
    background: transparent;
    color: #0f172a;
    box-shadow: none;
}

.gj-book-main-col-v2 {
    flex: 1;
    padding-top: 20px;
}

.gj-book-title-v2 {
    font-family: "Prata", serif;
    font-size: 42px;
    font-weight: 400;
    color: #0f172a;
    line-height: 1.2;
    margin: 0 0 25px 0;
}

.gj-book-subtitle-v2 {
    font-size: 18px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 45px;
    font-weight: 400;
    max-width: 90%;
}

/* ISBN/DOI Grid */
.gj-book-isbn-grid-v2 {
    display: flex;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    max-width: 680px;
    margin-bottom: 35px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.gj-book-isbn-item {
    flex: 1;
    padding: 22px 35px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
}

.gj-book-isbn-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background-color: #cbd5e1;
}

.gj-book-meta-row-v2 {
    display: flex;
    gap: 60px;
    margin-bottom: 50px;
    padding-top: 10px;
}

.gj-book-meta-item-v2 {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gj-meta-label-v2 {
    font-size: 14px;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.gj-meta-value-v2 {
    font-size: 14px;
    color: #94a3b8;
    font-weight: 500;
}

.gj-book-buttons-row-v2 {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.gj-book-btn-v2 {
    padding: 20px 45px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #0f172a;
    background: #fff;
    color: #0f172a;
    min-width: 280px;
}

.gj-book-btn-v2:hover {
    background: #0f172a;
    color: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.gj-book-btn-v2.outline {
    background: #fff;
    color: #0f172a;
}

.gj-book-badges-row-v2 {
    display: flex;
    align-items: center;
    gap: 15px;
}

.gj-book-badges-list-v2 {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.gj-book-badge-v2 {
    background: #f1f5f9;
    color: #64748b;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

/* Keywords Section V2 */
.gj-book-keywords-row-v2 {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-top: 30px;
}

.gj-keywords-label-v2 {
    font-size: 11px;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding-top: 8px;
    white-space: nowrap;
}

.gj-keywords-list-v2 {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.gj-keyword-tag-v2 {
    background: #f1f5f9;
    color: #475569;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.gj-keyword-tag-v2:hover {
    background: #e2e8f0;
    color: #0f172a;
    border-color: #cbd5e1;
}

.gj-book-cover-col-v2 {
    width: 38%;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.gj-book-cover-bg-v2 {
    background: #f7f7f7;
    padding: 40px;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    /* Stretch background to match left column */
}

.gj-book-cover-img-v2 {
    max-width: 100%;
    height: auto;
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease;
}

/* Author Section V2 */
.gj-book-author-section-v2 {
    margin: 150px 0;
    padding: 80px 0;
    position: relative;
    width: 100%;
}

.gj-book-author-inner-v2 {
    display: flex;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    max-width: 1620px;
    padding: 0 70px;
    /* Matching main container padding */
    position: relative;
    z-index: 1;
}

.gj-author-v2-image-col {
    width: 50%;
    position: relative;
    display: flex;
    justify-content: center;
    padding-right: 40px;
}

.gj-author-v2-blob-wrap {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gj-author-v2-blob-bg {
    height: auto;
    width: 100%;
    max-width: 520px;
    position: absolute;
    z-index: 1;
    transform: scale(1.05);
    will-change: transform;
    pointer-events: none;
    animation: gj-author-blob-orbit 14s linear infinite;
}

@keyframes gj-author-blob-orbit {
    0% {
        transform: translate(0, 0) scale(1.05) rotate(0deg);
    }

    25% {
        transform: translate(14px, -14px) scale(1.05) rotate(90deg);
    }

    50% {
        transform: translate(0, -28px) scale(1.05) rotate(180deg);
    }

    75% {
        transform: translate(-14px, -14px) scale(1.05) rotate(270deg);
    }

    100% {
        transform: translate(0, 0) scale(1.05) rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .gj-author-v2-blob-bg {
        animation: none;
    }
}

.gj-author-v2-img-frame {
    width: 100%;
    height: 344px;
    border-radius: 10px;
    overflow: visible;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
    max-width: 283px;
    margin-top: 114px;
}

.gj-author-v2-img-frame::before {
    content: "";
    position: absolute;
    inset: -11px;
    border-radius: 18px;
    background: #0a84ff;
    z-index: 0;
    bottom: 0;
}

.gj-author-v2-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    object-position: top !important;
    display: block;
    border-radius: 10px;
    position: relative;
    z-index: 1;
}

.gj-author-v2-content-col {
    width: 50%;
    padding-left: 40px;
}

.gj-author-v2-label {
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.gj-author-v2-name {
    font-family: "Prata", serif;
    font-size: 52px;
    font-weight: 400;
    color: #0f172a;
    margin: 0 0 40px 0;
    line-height: 1.1;
}

.gj-author-v2-bio {
    font-size: 18px;
    line-height: 1.8;
    color: #475569;
    max-width: 620px;
}

/* Responsive V2 */
@media (max-width: 1200px) {
    .gj-book-layout-v2 {
        flex-direction: column;
        gap: 50px;
    }

    .gj-book-cover-col-v2 {
        width: 100%;
    }

    .gj-book-author-inner-v2 {
        flex-direction: column;
        gap: 60px;
    }

    .gj-author-v2-image-col {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .gj-book-step-nav {
        width: 48px;
    }

    .gj-book-step-nav-item {
        padding: 20px 0;
        font-size: 14px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .gj-book-meta-row-v2 {
        flex-wrap: wrap;
        gap: 30px;
    }

    .gj-book-buttons-row-v2 {
        flex-direction: column;
    }

    .gj-book-btn-v2 {
        width: 100%;
    }

    .gj-book-isbn-grid-v2 {
        flex-direction: column;
    }

    .gj-book-isbn-item {
        border-bottom: 1px solid #f1f5f9;
    }

    .gj-book-isbn-item::after {
        display: none;
    }

    .gj-book-isbn-item:last-child {
        border-bottom: none;
    }

    .gj-author-v2-name {
        font-size: 36px;
    }
}

/* 4. Summary Section V2 */
.gj-book-summary-section-v2 {
    margin-top: 80px;
    padding: 0 0 50px 0;
    max-width: 1100px;
}

.gj-summary-heading-v2 {
    font-family: "Prata", serif;
    font-size: 32px;
    font-weight: 500;
    color: #0f172a;
    margin-bottom: 35px;
    display: flex;
    align-items: center;
}

.gj-summary-content-v2 {
    font-size: 17px;
    line-height: 1.8;
    color: #475569;
}

.gj-summary-content-v2 p {
    margin-bottom: 25px;
}

/* 5. Co-authors Grid V2 */
.gj-book-coauthors-section-v2 {
    margin-top: 100px;
    padding-bottom: 50px;
}

.gj-coauthors-main-title-v2 {
    font-family: "Prata", serif;
    font-size: 32px;
    font-weight: 500;
    color: #0f172a;
    margin-bottom: 50px;
    letter-spacing: -0.01em;
}

.gj-coauthors-grid-v2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.gj-coauthor-card-v2 {
    background: #f4f5f6;
    border-radius: 32px;
    padding: 35px;
    transition: transform 0.3s ease;
}

.gj-coauthor-card-v2:hover {
    background: #f0f1f2;
}

.gj-coauthor-card-header-v2 {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 25px;
}

.gj-coauthor-img-box-v2 {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
}

.gj-coauthor-img-box-v2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.gj-coauthor-label-v2 {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 4px;
}

.gj-coauthor-name-v2 {
    font-family: "Prata", serif;
    font-size: 22px;
    color: #0f172a;
    margin: 0;
}

.gj-coauthor-bio-v2 {
    font-size: 15px;
    line-height: 1.6;
    color: #475569;
}

.gj-coauthor-bio-v2 p {
    margin-bottom: 0;
}

/* Responsive Co-authors */
@media (max-width: 991px) {
    .gj-coauthors-grid-v2 {
        grid-template-columns: 1fr;
    }
}

/* Purchase Options Section */
.gj-book-purchase-options {
    margin-top: 100px;
    border: 1.5px dashed #e2e8f0;
    border-radius: 40px;
    padding: 50px;
    background: #fff;
    max-width: 1300px;
}

.gj-purchase-options-header {
    margin-bottom: 40px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 25px;
}

.gj-purchase-title {
    font-size: 30px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.gj-purchase-cards-grid {
    display: flex;
    gap: 30px;
}

.gj-purchase-card {
    flex: 1;
    background: #f4f5f6;
    border-radius: 32px;
    padding: 45px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.gj-purchase-card:hover {
    background: #f0f1f2;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
}

.gj-card-title {
    font-size: 22px;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 5px 0;
}

.gj-card-subtitle {
    font-size: 14px;
    color: #64748b;
    display: block;
}

.gj-card-pricing {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 25px;
}

.gj-card-price-old {
    font-size: 22px;
    color: #94a3b8;
    text-decoration: line-through;
    font-weight: 400;
}

.gj-card-price-new {
    font-size: 36px;
    font-weight: 600;
}

.gj-card-discount {
    display: inline-block;
    background: #e9e9e9;
    color: #475569;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 30px;
}

.gj-card-btn {
    display: block;
    width: fit-content;
    background: #111827;
    color: #fff !important;
    text-align: center;
    padding: 11px 30px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s;
}

.gj-card-btn:hover {
    color: #fff !important;
    background: #111827 !important;
    text-decoration: none;
}

/* ==========================================================================
   MASTER RESPONSIVE SYSTEM (V2)
   ========================================================================== */

/* 1. Large Tablets / Small Desktops (1200px) */
@media (max-width: 1200px) {
    .gj-book-container {
        padding: 80px 40px 40px 40px;
    }

    .gj-book-title-v2 {
        font-size: 48px;
    }

    .gj-book-author-inner-v2 {
        padding: 0 40px;
    }
}

/* 2. Tablets (991px) */
@media (max-width: 991px) {
    .gj-book-step-section {
        min-height: auto;
        padding: 32px 0;
    }

    .gj-book-layout-v2 {
        flex-direction: column;
        gap: 60px;
    }

    .gj-book-main-col-v2,
    .gj-book-cover-col-v2 {
        width: 100%;
        max-width: 100%;
    }

    .gj-book-cover-col-v2 {
        display: flex;
        justify-content: center;
    }

    .gj-book-cover-bg-v2 {
        max-width: 400px;
    }

    .gj-book-author-inner-v2 {
        flex-direction: column;
        text-align: center;
    }

    .gj-author-v2-image-col,
    .gj-author-v2-content-col {
        width: 100%;
        padding: 0;
    }

    .gj-author-v2-image-col {
        margin-bottom: 50px;
    }

    .gj-author-v2-bio {
        margin: 0 auto;
    }

    .gj-purchase-cards-grid,
    .gj-coauthors-grid-v2 {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .gj-card-btn {
        max-width: 100%;
        width: 100%;
    }

    .gj-book-step-controls {
        right: 14px;
    }
}

/* 3. Mobile Phones (768px) */
@media (max-width: 768px) {
    .gj-book-step-nav {
        width: 36px;
    }

    .gj-book-step-nav-item {
        padding: 15px 0;
        font-size: 12px;
        text-align: center;
    }

    .gj-book-step-nav-item:last-child {
        border-bottom: 0;
    }

    .gj-book-step-controls {
        right: 16px;
        bottom: 22px;
        min-width: 118px;
        height: 58px;
        padding: 5px;
    }

    .gj-book-step-control {
        width: 48px;
        height: 48px;
    }

    .gj-book-step-control svg {
        width: 19px;
        height: 18px;
    }

    .gj-book-single-page {
        padding: 40px 0;
        background-size: 33.33% 100%;
        /* Fewer lines on mobile to avoid clutter */
    }

    .gj-book-container {
        padding: 60px 20px 30px 20px !important;
    }

    .gj-book-title-v2 {
        font-size: 36px;
    }

    .gj-book-subtitle-v2 {
        font-size: 18px;
    }

    .gj-book-isbn-grid-v2 {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }

    .gj-book-isbn-item::after {
        display: none;
        /* Hide vertical dividers */
    }

    .gj-book-isbn-item {
        border-bottom: 1px solid #f1f5f9;
        padding-bottom: 15px;
        width: 100%;
    }

    .gj-book-isbn-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .gj-book-meta-row-v2 {
        flex-wrap: wrap;
        gap: 20px;
    }

    .gj-book-meta-item-v2 {
        width: calc(50% - 10px);
    }

    .gj-book-author-section-v2 {
        margin: 80px 0;
        padding: 40px 0;
    }

    .gj-author-v2-name {
        font-size: 36px;
    }

    .gj-book-purchase-options {
        padding: 30px 20px;
        border-radius: 24px;
        margin-top: 60px;
    }

    .gj-purchase-card {
        padding: 30px;
        border-radius: 24px;
    }

    .gj-card-price-new {
        font-size: 32px;
    }

    .gj-coauthors-main-title-v2,
    .gj-summary-heading-v2 {
        font-size: 26px;
    }

    .gj-coauthor-card-v2 {
        padding: 25px;
    }

    .gj-book-keywords-row-v2 {
        flex-direction: column;
        gap: 10px;
    }
}

/* ---------------------------------------------------------
   DARK MODE STYLING (Targeting .dark-scheme)
------------------------------------------------------------ */
body.dark-scheme,
body.dark-scheme .gj-book-single-page {
    background-color: #161c21 !important;
    color: #ffffff !important;
    background-image: none !important;
    /* Premium clean slate background */
}

body.dark-scheme .gj-author-top-name,
body.dark-scheme .gj-book-title,
body.dark-scheme .gj-book-title-v2,
body.dark-scheme .gj-book-price-new,
body.dark-scheme .gj-book-author-name,
body.dark-scheme .gj-meta-label-v2,
body.dark-scheme .gj-purchase-title,
body.dark-scheme .gj-card-title,
body.dark-scheme .gj-summary-heading-v2,
body.dark-scheme .gj-coauthors-main-title-v2,
body.dark-scheme .gj-coauthor-name-v2,
body.dark-scheme .gj-book-content-heading,
body.dark-scheme .gj-modal-header h3,
body.dark-scheme .gj-meta-label {
    color: #ffffff !important;
}

body.dark-scheme .gj-author-top-bio,
body.dark-scheme .gj-book-subtitle,
body.dark-scheme .gj-book-subtitle-v2,
body.dark-scheme .gj-meta-value-v2,
body.dark-scheme .gj-book-text,
body.dark-scheme .gj-book-main-content,
body.dark-scheme .gj-summary-content-v2,
body.dark-scheme .gj-coauthor-bio-v2,
body.dark-scheme .gj-book-meta-value,
body.dark-scheme .gj-card-subtitle {
    color: rgba(255, 255, 255, 0.9) !important;
    /* Perfect crisp readable text */
}

body.dark-scheme .gj-author-top-meta-grid,
body.dark-scheme .gj-book-isbn-grid-v2,
body.dark-scheme .gj-book-meta-col,
body.dark-scheme .gj-book-quote-box,
body.dark-scheme .gj-purchase-card,
body.dark-scheme .gj-coauthor-card-v2,
body.dark-scheme .gj-book-purchase-options,
body.dark-scheme .gj-modal-container {
    background-color: #212a32 !important;
    /* Premium unified slate contrast */
    border-color: #2d3b47 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
}

body.dark-scheme .gj-author-top-meta-item,
body.dark-scheme .gj-book-isbn-item,
body.dark-scheme .gj-book-divider,
body.dark-scheme .gj-book-bottom-content,
body.dark-scheme .gj-purchase-options-header {
    border-color: #2d3b47 !important;
}

body.dark-scheme .gj-book-isbn-item:not(:last-child)::after {
    background-color: #2d3b47 !important;
}

body.dark-scheme .gj-book-btn-v2.outline {
    background: transparent !important;
    color: #ffffff !important;
    border-color: #ffffff !important;
}

body.dark-scheme .gj-book-btn-v2.outline:hover {
    background: #ffffff !important;
    color: #161c21 !important;
}

body.dark-scheme .gj-book-badge-v2,
body.dark-scheme .gj-keyword-tag-v2 {
    background: #2d3b47 !important;
    color: #ffffff !important;
}

body.dark-scheme .gj-keyword-tag-v2:hover {
    background: #3a4b5b !important;
    color: #ffffff !important;
}

body.dark-scheme .gj-book-cover-bg-v2 {
    background: #212a32 !important;
}

body.dark-scheme .gj-author-v2-blob-bg {
    filter: invert(1) brightness(0.3) contrast(1.2);
}

body.dark-scheme .gj-book-author-section-v2::before {
    opacity: 0.18;
    filter: grayscale(1) brightness(0.65) contrast(1.1);
}

body.dark-scheme .gj-author-v2-img-frame {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5) !important;
}

body.dark-scheme .gj-modal-header {
    background: #161c21 !important;
    border-bottom: 1px solid #2d3b47 !important;
}

body.dark-scheme .gj-card-discount {
    background: #2d3b47 !important;
    color: #ffffff !important;
}

body.dark-scheme .gj-purchase-card:hover,
body.dark-scheme .gj-coauthor-card-v2:hover {
    background: #2d3b47 !important;
}

body.dark-scheme .gj-book-flipbook-container {
    background: #111 !important;
}

body.dark-scheme .gj-book-3d-flipbook .gj-book-content-heading::after {
    background: #ffffff !important;
}

/* Modal Form Dark Mode Fixes */
body.dark-scheme .gj-modal-container {
    background-color: #161c21 !important;
    border: 1px solid #2d3b47 !important;
}

body.dark-scheme .gj-modal-body label,
body.dark-scheme .gj-modal-body .frm_primary_label,
body.dark-scheme .gj-modal-body .frm_description,
body.dark-scheme .gj-modal-body .frm_form_field,
body.dark-scheme .gj-modal-body .frm_required,
body.dark-scheme .gj-modal-body .frm_error {
    color: #ffffff !important;
}

body.dark-scheme .gj-modal-body input[type="text"],
body.dark-scheme .gj-modal-body input[type="email"],
body.dark-scheme .gj-modal-body input[type="tel"],
body.dark-scheme .gj-modal-body input[type="number"],
body.dark-scheme .gj-modal-body input[type="url"],
body.dark-scheme .gj-modal-body textarea,
body.dark-scheme .gj-modal-body select {
    background-color: #212a32 !important;
    color: #ffffff !important;
    border: 1px solid #2d3b47 !important;
    border-radius: 8px !important;
    padding: 12px 15px !important;
}

body.dark-scheme .gj-modal-body input:focus,
body.dark-scheme .gj-modal-body textarea:focus,
body.dark-scheme .gj-modal-body select:focus {
    border-color: #ffffff !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1) !important;
}

body.dark-scheme .gj-modal-body .frm_button_submit {
    background-color: #ffffff !important;
    color: #161c21 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    padding: 15px 40px !important;
    border-radius: 12px !important;
    transition: all 0.3s ease !important;
    border: none !important;
    cursor: pointer !important;
    width: auto !important;
}

body.dark-scheme .gj-modal-body .frm_button_submit:hover {
    background-color: #e2e8f0 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2) !important;
}

/* Select2 or custom dropdowns if any */
body.dark-scheme .select2-container--default .select2-selection--single {
    background-color: #212a32 !important;
    border-color: #2d3b47 !important;
    color: #ffffff !important;
}

body.dark-scheme .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #ffffff !important;
}

body.dark-scheme .gj-modal-body input::placeholder,
body.dark-scheme .gj-modal-body textarea::placeholder {
    color: #a3b8cc !important;
    opacity: 0.7;
}

body.dark-scheme .gj-book-step-nav-item {
    background:
        linear-gradient(90deg, #3b3b42 0, #3b3b42 var(--gj-step-progress), transparent var(--gj-step-progress), transparent 100%),
        #1e1e21;
    color: #ffffff !important;
    border-bottom-color: rgba(255, 255, 255, 0.05);
}

body.single-book.dark-scheme .gj-book-step-nav-item:hover,
body.single-book.dark-scheme .gj-book-step-nav-item:focus-visible,
body.single-book.dark-scheme .gj-book-step-nav-item.is-active {
    background:
        linear-gradient(90deg, #4a4a52 0, #4a4a52 var(--gj-step-progress), transparent var(--gj-step-progress), transparent 100%),
        #3a3a40;
    color: #ffffff !important;
}

body.single-book.dark-scheme .gj-book-step-controls {
    background: #1e1e21;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.4);
}

body.single-book.dark-scheme .gj-book-step-control {
    color: #ffffff;
}

body.single-book.dark-scheme .gj-book-step-control svg path {
    stroke: #ffffff !important;
}

body.single-book.dark-scheme .gj-book-step-control-next {
    background: #2a2a2e;
    border-color: transparent;
    box-shadow: inset 0 0 0 4px #3a3a40;
}

body.single-book.dark-scheme .gj-book-step-control:hover,
body.single-book.dark-scheme .gj-book-step-control:focus-visible {
    background: #3a3a40;
    color: #ffffff;
}

/* Step 4 Layout v2 */
.gj-step4-container {
    align-items: flex-start !important;
}

.gj-step4-layout {
    display: flex;
    gap: 60px;
    margin-top: 40px;
    align-items: flex-start;
    width: 100%;
}

.gj-step4-sidebar {
    width: 32%;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-top: 40px;
    position: sticky;
    top: 50vh;
    transform: translateY(-50%);
    align-self: flex-start;
}

.gj-step4-tab {
    background: transparent;
    border: none;
    text-align: left;
    font-size: 44px;
    font-family: inherit;
    font-weight: 700;
    cursor: pointer;
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    color: transparent;
    -webkit-text-stroke: 1px #6b7280;
    line-height: 1.3 !important;
    overflow: visible;
}

.gj-step4-tab .gj-step4-icon {
    font-size: 44px;
    font-weight: 300;
    line-height: 1;
    display: inline-block;
}

.gj-step4-tab.active {
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;
    -webkit-text-stroke: 0 !important;
}

body.single-book.dark-scheme .gj-step4-tab {
    color: #eeeeee !important;
    -webkit-text-fill-color: #eeeeee !important;
    -webkit-text-stroke: 0 !important;
    opacity: 0.88;
}

body.single-book.dark-scheme .gj-step4-tab.active {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    -webkit-text-stroke: 0 !important;
    opacity: 1;
}

.gj-step4-content {
    flex: 1;
    width: 100%;
    min-width: 0;
}

.gj-step4-panel {
    display: none;
    animation: fadeInStep4 0.4s ease-out;
}

.gj-step4-panel.active {
    display: block;
}

@keyframes fadeInStep4 {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991px) {
    .gj-step4-layout {
        flex-direction: column;
        gap: 30px;
    }

    .gj-step4-sidebar {
        width: 100%;
        flex-direction: column;
        gap: 15px;
        padding-top: 0;
        position: static;
        transform: none;
    }

    .gj-step4-tab {
        font-size: 32px;
        padding: 5px 0;
        white-space: normal;
        word-break: break-word;
    }

    .gj-step4-tab .gj-step4-icon {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .gj-step4-tab {
        font-size: 26px;
    }

    .gj-step4-tab .gj-step4-icon {
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    .gj-step4-tab {
        font-size: 22px;
    }

    .gj-step4-tab .gj-step4-icon {
        font-size: 22px;
    }
}