/* ===== Book Writing Page ===== */
.bw-hero {
    padding: 72px 0 56px !important;
}

.bw-hero .info-banner {
    max-width: 900px;
}

.bw-hero .info-banner h3 {
    font-size: 3.6rem;
    line-height: 1.15;
    margin-bottom: 16px;
    color: #01354a;
    letter-spacing: -0.5px;
}

.bw-hero .info-banner h3 span {
    background: #fbce5b;
    border-radius: 28px;
    padding: 2px 14px;
    display: inline-block;
    line-height: 1.2;
    font-family: 'degular';
}

.bw-hero .info-banner h6 {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #2f2f2f;
    font-family: "Mulish", sans-serif;
    font-weight: 400;
    max-width: 820px;
    margin-bottom: 12px;
}

.bw-hero .info-banner .bw-hero-text,
.our-banner.bw-hero .info-banner p.bw-hero-text {
    font-size: 1.05rem !important;
    line-height: 1.65 !important;
    color: #2f2f2f !important;
    font-weight: 400 !important;
    max-width: 820px;
    width: 100%;
    margin: 0 0 20px !important;
}

.bw-hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 0;
}

.btn-outline-bw {
    background: transparent !important;
    color: #01354a !important;
    border: 2px solid #01354a !important;
    border-radius: 40px;
    padding: 10px 24px;
    font-family: 'degular-semi';
    display: inline-block;
    transition: background 0.3s ease, color 0.3s ease;
}

.btn-outline-bw:hover {
    background: #01354a !important;
    color: #fbce5b !important;
}

.bw-block {
    padding: 52px 0;
    position: relative;
    z-index: 2;
}

.bw-head {
    max-width: 780px;
    margin: 0 auto 28px;
}

.bw-head.text-center {
    text-align: center;
}

.bw-head h2,
.bw-intro-copy h2,
.bw-info-box h2,
.bw-rights-box h2,
.bw-quote-box h2,
.bw-important-box h2 {
    margin-bottom: 12px;
    font-size: 2.6rem;
    line-height: 1.2;
}

.bw-head h2::after,
.bw-intro-copy h2::after,
.bw-info-box h2::after,
.bw-rights-box h2::after,
.bw-quote-box h2::after,
.bw-important-box h2::after {
    content: "";
    display: block;
    width: 42px;
    height: 3px;
    background: linear-gradient(90deg, #fbce5b 0%, #0e605d 100%);
    margin-top: 10px;
    border-radius: 4px;
}

.bw-head.text-center h2::after,
.bw-info-box h2::after,
.bw-rights-box h2::after,
.bw-quote-box h2::after,
.bw-important-box h2::after {
    margin-left: auto;
    margin-right: auto;
}

.bw-head > p,
.bw-intro-copy p,
.bw-service-card p,
.bw-category-card p,
.bw-need-card p,
.bw-info-box p,
.bw-rights-copy p,
.bw-support-card p,
.bw-quote-box p,
.bw-important-box p {
    font-size: 1.02rem;
    line-height: 1.65;
    color: #2f2f2f;
    margin-bottom: 10px;
}

.bw-intro-copy strong {
    color: #01354a;
}

.bw-intro-media {
    position: relative;
    max-width: 420px;
    margin-left: auto;
    border-radius: 22px;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: #e8f3f2;
    box-shadow: 0 16px 36px rgba(1, 55, 75, 0.12);
}

.bw-intro-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.bw-services {
    background: linear-gradient(180deg, #f7fbfb 0%, #fff 100%);
}

.bw-service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.bw-service-card {
    background: #fff;
    border: 1px solid rgba(1, 53, 74, 0.1);
    border-radius: 16px;
    padding: 22px 20px;
    box-shadow: 0 8px 22px rgba(1, 55, 75, 0.04);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.bw-service-card:hover {
    border-color: rgba(12, 104, 111, 0.28);
    box-shadow: 0 12px 28px rgba(1, 55, 75, 0.08);
    transform: translateY(-3px);
}

.bw-num {
    display: inline-block;
    font-family: 'degular-semi';
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    color: #0e605d;
    background: rgba(251, 206, 91, 0.35);
    border-radius: 999px;
    padding: 4px 10px;
    margin-bottom: 10px;
}

.bw-service-card h4,
.bw-category-card h4,
.bw-support-card h4 {
    color: #01354a;
    font-size: 1.25rem;
    font-family: 'degular-semi';
    margin-bottom: 8px;
}

.bw-service-card p:last-child,
.bw-category-card p:last-child,
.bw-support-card p:last-child {
    margin-bottom: 0;
}

.bw-categories {
    background: #fff;
}

.bw-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.bw-category-card {
    background: #f7fbfb;
    border: 1px solid rgba(1, 53, 74, 0.08);
    border-radius: 16px;
    padding: 22px 20px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.bw-category-card:hover {
    border-color: rgba(12, 104, 111, 0.28);
    box-shadow: 0 12px 28px rgba(1, 55, 75, 0.08);
    transform: translateY(-3px);
    background: #fff;
}

.bw-category-card.bw-category-wide {
    grid-column: span 3;
    background: linear-gradient(145deg, #012a3a 0%, #01354a 50%, #0a5c5a 100%);
    border-color: transparent;
}

.bw-category-card.bw-category-wide h4 {
    color: #fff;
}

.bw-category-card.bw-category-wide p {
    color: #d8f0ef;
}

.bw-process .info-gpro .bw-process-list {
    list-style: none;
    margin: 8px 0 12px;
    padding: 0;
}

.bw-process .info-gpro .bw-process-list li {
    position: relative;
    padding-left: 14px;
    margin-bottom: 4px;
    font-size: 0.95rem;
    color: #fff;
    line-height: 1.45;
}

.bw-process .info-gpro .bw-process-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #fbce5b;
}

.bw-process {
    margin: 12px 24px;
}

.bw-process .info-genre p {
    color: #d8f0ef;
    font-size: 1.05rem;
    line-height: 1.55;
    margin-bottom: 18px;
}

.bw-need-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.bw-need-card {
    background: #fff;
    border: 1px solid rgba(1, 53, 74, 0.1);
    border-radius: 20px;
    padding: 26px 24px;
    box-shadow: 0 8px 22px rgba(1, 55, 75, 0.04);
}

.bw-need-alt {
    background: linear-gradient(145deg, #012a3a 0%, #01354a 50%, #0a5c5a 100%);
    border-color: transparent;
}

.bw-need-card h3 {
    color: #01354a;
    font-size: 1.55rem;
    font-family: 'degular-semi';
    margin-bottom: 10px;
}

.bw-need-card ul {
    list-style: none;
    margin: 0 0 12px;
    padding: 0;
}

.bw-need-card ul li {
    position: relative;
    padding-left: 14px;
    margin-bottom: 6px;
    font-size: 0.98rem;
    color: #2f2f2f;
}

.bw-need-card ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fbce5b;
}

.bw-need-card.bw-need-alt h3 {
    color: #fff;
}

.bw-need-card.bw-need-alt p,
.bw-need-card.bw-need-alt ul li {
    color: #d8f0ef;
}

.bw-info-box {
    background: #f7fbfb;
    border: 1px solid rgba(1, 53, 74, 0.1);
    border-radius: 22px;
    padding: 32px 36px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.bw-info-box p {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.bw-info-alt {
    background: #fff;
}

.bw-voice {
    background: #fff;
}

.bw-research {
    background: #f7fbfb;
    padding-top: 0;
}

.bw-rights-box {
    background: #f7fbfb;
    border: 1px solid rgba(1, 53, 74, 0.1);
    border-radius: 22px;
    padding: 32px 36px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.bw-rights-copy {
    max-width: 760px;
    margin: 0 auto;
}

.bw-quote-box {
    background: linear-gradient(180deg, #f7fbfb 0%, #fff 100%);
    border: 1px solid rgba(1, 53, 74, 0.1);
    border-radius: 22px;
    padding: 32px 34px;
    box-shadow: 0 10px 28px rgba(1, 55, 75, 0.05);
    text-align: center;
}

.bw-quote-box ul {
    list-style: none;
    margin: 0 auto 14px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 14px;
    text-align: left;
    max-width: 720px;
}

.bw-quote-box ul li {
    position: relative;
    padding-left: 14px;
    font-size: 0.98rem;
    color: #2f2f2f;
}

.bw-quote-box ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #0e605d;
}

.bw-important-box {
    background: linear-gradient(145deg, #012a3a 0%, #01354a 50%, #0a5c5a 100%);
    border-radius: 22px;
    padding: 34px 36px;
    color: #fff;
    text-align: center;
}

.bw-important-box h2 {
    color: #fff;
    margin-bottom: 12px;
}

.bw-important-box h2 span {
    color: #fbce5b;
}

.bw-important-box h2::after {
    background: linear-gradient(90deg, #fbce5b 0%, transparent 100%);
}

.bw-important-box p,
.bw-important-box li {
    color: #d8f0ef;
}

.bw-important-box ul {
    list-style: none;
    margin: 0 auto 14px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 16px;
    text-align: left;
    max-width: 760px;
}

.bw-important-box ul li {
    position: relative;
    padding-left: 14px;
    font-size: 0.98rem;
}

.bw-important-box ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fbce5b;
}

.bw-support-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

.bw-support-card {
    background: #fff;
    border: 1px solid rgba(1, 53, 74, 0.1);
    border-radius: 16px;
    padding: 22px 20px;
    grid-column: span 2;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.bw-support-grid .bw-support-card:nth-child(4) {
    grid-column: 2 / 4;
}

.bw-support-grid .bw-support-card:nth-child(5) {
    grid-column: 4 / 6;
}

.bw-support-card:hover {
    border-color: rgba(12, 104, 111, 0.28);
    box-shadow: 0 12px 28px rgba(1, 55, 75, 0.08);
    transform: translateY(-3px);
}

.bw-faq {
    padding-top: 28px;
    padding-bottom: 36px;
}

@media (max-width: 991px) {
    .bw-hero {
        padding: 56px 0 40px !important;
    }

    .bw-hero .info-banner h3 {
        font-size: 2.6rem;
    }

    .bw-block {
        padding: 40px 0;
    }

    .bw-head h2,
    .bw-intro-copy h2,
    .bw-info-box h2,
    .bw-rights-box h2,
    .bw-quote-box h2,
    .bw-important-box h2 {
        font-size: 2.15rem;
    }

    .bw-intro-media {
        margin: 18px auto 0;
        max-width: 340px;
        aspect-ratio: 1 / 1;
    }

    .bw-service-grid,
    .bw-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bw-category-wide {
        grid-column: span 2;
    }

    .bw-need-grid {
        grid-template-columns: 1fr;
    }

    .bw-support-grid {
        grid-template-columns: 1fr;
    }

    .bw-support-card,
    .bw-support-grid .bw-support-card:nth-child(4),
    .bw-support-grid .bw-support-card:nth-child(5) {
        grid-column: auto;
    }

    .bw-info-box,
    .bw-rights-box,
    .bw-quote-box,
    .bw-important-box {
        padding: 26px 20px;
    }

    .bw-research {
        padding-top: 0;
    }

    .bw-process {
        margin: 10px 12px;
    }
}

@media (max-width: 575px) {
    .bw-hero .info-banner h3 {
        font-size: 2.2rem;
    }

    .bw-hero-btns {
        flex-direction: column;
        align-items: stretch;
    }

    .bw-service-grid,
    .bw-category-grid {
        grid-template-columns: 1fr;
    }

    .bw-category-wide {
        grid-column: span 1;
    }

    .bw-quote-box ul,
    .bw-important-box ul {
        grid-template-columns: 1fr;
    }
}
