@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root {
    --navy: #062645;
    --navy-2: #0a3556;
    --cyan: #54c2e3;
    --cyan-dark: #38afd3;
    --ink: #062645;
    --muted: #64788b;
    --pale: #effaff;
    --white: #fff;
    --gilroy: 'Gilroy', sans-serif;
    --inter: "Inter", sans-serif;
    --book-w: min(840px, 92vw);
      --book-h: min(550px, 75vh);
      --page-bg: #fdfbf7;
      --cover-dark: #12151c;
      --gold-accent: #c5a869;
      --primary-navy: #092a48;
      --navy-dark: #05192c;
      --sky-blue: #58c5f0;
      --sky-blue-hover: #45b7e6;
      --text-dark: #1e2c38;
      --text-muted: #5e6f7d;
      --page-radius: 8px;

      --bg-color: #0e2942;
      --card-radius: 18px;
      --btn-cyan: #4ebfe9;
      --btn-cyan-hover: #3aaed8;
      --btn-outline-border: rgba(255, 255, 255, 0.45);
      --btn-outline-hover-border: rgba(255, 255, 255, 0.85);
      --btn-outline-bg: rgba(255, 255, 255, 0.05);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

body {
    margin: 0;
    color: var(--ink);
    background: #fff;
    font-family: var(--inter);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button, input, select, textarea {
    font: inherit;
}

button, a {
    -webkit-tap-highlight-color: transparent;
}

.container {
    width: min(1180px, calc(100% - 56px));
    margin-inline: auto;
    }
section#services {
    padding-top: 50px;
}
.section-space {
    padding: 0 0 50px;
    }

h1, h2, h3, p {
    margin-top: 0;
}

h1, h2, h3 {
    font-family: var(--gilroy);
    color: var(--ink);
}

h1 {
    margin-bottom: 13px;
    font-size: 52px;
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -.035em;
}

h2 {
    margin-bottom: 18px;
    font-size: 48px;
    line-height: 1.12;
    font-weight: bold;
    letter-spacing: -.03em;
}

h3 {
    line-height: 1.2;
}

p {
    color: var(--ink);
    font-size: 16px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    border-radius: 100px;
    background: #062645;
    color: #fff;
    padding: 5px 22px 4px;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    font-family: var(--gilroy);
    /* display: none; */
}

.eyebrow--light {
    color: #fff;
    background: rgba(84, 194, 227, .18);
    border: 1px solid rgba(84, 194, 227, .35);
}

.button {
    --button-arrow-bg: #fff;
    --button-arrow-color: var(--navy);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: inline-flex;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, .32);
    border-radius: 999px;
    padding: 6px 20px 6px 8px;
    color: var(--white);
    background: var(--navy);
    font: 700 16px/1.15 var(--gilroy);
    box-shadow: 0 2px 3px rgba(5, 38, 69, .2), 0 8px 16px rgba(5, 38, 69, .14), inset 0 1px 0 rgba(255, 255, 255, .34), inset 0 -3px 5px rgba(5, 38, 69, .12);
    transition: transform .3s ease, box-shadow .3s ease, background .3s ease, border-color .3s ease;
    cursor: pointer;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    white-space: nowrap;
}

.button::before {
    position: relative;
    z-index: 2;
    display: inline-grid;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    place-items: center;
    border-radius: 50%;
    background: var(--button-arrow-bg);
    color: var(--button-arrow-color);
    content: "\f061";
    font-family: "Font Awesome 6 Free";
    font-size: 16px;
    font-weight: 900;
    line-height: 1;
}

.button::after {
    position: absolute;
    z-index: 1;
    top: 0;
    bottom: 0;
    left: -100px;
    width: 100px;
    background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, .7), transparent 70%);
    content: "";
    opacity: .65;
    pointer-events: none;
}

.button .button-icon,
.button.form-submit > span,
.publish-popup__action > span {
    display: none;
}

.button:hover {
    transform: scale(.985);
    border-color: rgba(255, 255, 255, .62);
    box-shadow: 0 0 0 rgba(5, 38, 69, 0), inset 0 2px 5px rgba(5, 38, 69, .22), inset 0 0 0 1px rgba(255, 255, 255, .24), inset 0 -2px 4px rgba(255, 255, 255, .18);
}

.button:hover::after {
    animation: button-shine 1.5s ease-out infinite;
}

.button:active {
    transform: scale(.96);
    box-shadow: 0 0 0 rgba(5, 38, 69, 0), inset 0 3px 8px rgba(5, 38, 69, .32), inset 0 1px 2px rgba(5, 38, 69, .2), inset 0 -1px 2px rgba(255, 255, 255, .14);
    transition-duration: .08s;
}

.button:focus-visible {
    outline: 3px solid rgba(84, 194, 227, .55);
    outline-offset: 3px;
}

@keyframes button-shine {
    0% { left: -100px; }
    60%, 100% { left: 100%; }
}

.button--cyan {
    background: var(--navy);
    color: #fff;
}
.chapter-cta .button.button--cyan {
    background: var(--cyan);
    color: #fff;
}

.chapter-cta .button.button--cyan:hover {
    background: var(--navy);
    color: #fff;
}

.why .button--cyan {
    background: var(--cyan);
}

.why .button--cyan:hover {
    background: var(--navy);
    color: #fff;
}
.button--cyan:hover {
    background: #72d4f0;
    color: #052845;
}

.publish-popup[hidden] {
    display: none;
}

.publish-popup-backdrop[hidden] {
    display: none;
}

.publish-popup-backdrop {
    position: fixed;
    z-index: 1190;
    inset: 0;
    background: rgba(2, 22, 40, .48);
    opacity: 0;
    -webkit-backdrop-filter: blur(9px) saturate(.82);
    backdrop-filter: blur(9px) saturate(.82);
    transition: opacity .32s ease;
}

.publish-popup-backdrop.is-open {
    opacity: 1;
}

.publish-popup {
    position: fixed;
    z-index: 1200;
    top: 50%;
    left: 50%;
    display: grid;
    width: min(960px, calc(100vw - 40px));
    height: min(580px, calc(100dvh - 32px));
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr);
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(91, 197, 226, .48);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 28px 100px rgba(2, 25, 45, .38), 0 0 0 1px rgba(255, 255, 255, .18) inset;
    color: #062645;
    opacity: 0;
    transform: translate(-50%, -46%) scale(.96);
    transform-origin: center;
    transition: opacity .28s ease, transform .38s cubic-bezier(.2, .8, .2, 1);
}

.publish-popup.is-open {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.publish-popup > * {
    position: relative;
    z-index: 1;
}

.publish-popup__close {
    position: absolute;
    z-index: 2;
    top: 14px;
    right: 14px;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid rgba(6, 38, 69, .14);
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: #062645;
    font: 400 24px/1 var(--inter);
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

.publish-popup__close:hover {
    transform: rotate(90deg);
    background: #dff7fd;
}

.publish-popup__form-panel {
    min-width: 0;
    padding: 32px 36px 25px;
    overflow-y: auto;
    background: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.publish-popup__mark {
    display: grid;
    width: 45px;
    height: 45px;
    margin-bottom: 13px;
    place-items: center;
    border: 1px solid rgba(92, 205, 235, .7);
    border-radius: 14px;
    background: linear-gradient(145deg, #69d0ec, #35afd3);
    box-shadow: 0 8px 24px rgba(64, 190, 224, .23);
    color: #062645;
    font-size: 22px;
    animation: publish-mark-float 3.2s ease-in-out infinite;
    display: none;
}

.publish-popup__eyebrow {
    display: inline-block;
    margin-bottom: 9px;
    color: #68d2ef;
    font: 700 15px/1.3 var(--gilroy);
    letter-spacing: .14em;
    display: none;
}

.publish-popup h2 {
    /* max-width: 310px; */
    margin: 0 30px 8px 0;
    color: #062645;
    font: 700 27px/1.12 var(--gilroy);
    letter-spacing: -.025em;
}

.publish-popup p {
    /* max-width: 340px; */
    margin: 0 0 12px;
    color: #516b7f;
    font: 400 15px/1.45 var(--inter);
}

.publish-popup__form {
    display: grid;
    gap: 11px;
}

.publish-popup__field-row {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 10px;
}

.publish-popup__form label {
    display: grid;
    gap: 6px;
    color: #173c5b;
    font: 600 15px/1.25 var(--gilroy);
}

.publish-popup__form input,
.publish-popup__form select,
.publish-popup__form textarea {
    width: 100%;
    min-width: 0;
    min-height: 43px;
    padding: 10px 12px;
    border: 1px solid #d9eaf1;
    border-radius: 10px;
    outline: none;
    background: #f5fbfd;
    color: #062645;
    font: 400 15px/1.35 var(--inter);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.publish-popup__form textarea {
    min-height: 64px;
    resize: vertical;
}

.publish-popup__form :is(input, select, textarea):focus {
    border-color: #5bc7e4;
    box-shadow: 0 0 0 3px rgba(91, 199, 228, .2);
}

.contact-pag #contact{
    display: none;
}
.publish-popup__optional {
    color: #658095;
    font: 400 15px/1.25 var(--inter);
}

.publish-popup__action {
    display: flex;
    width: 100%;
    min-height: 48px;
    align-items: center;
    justify-content: flex-start;
    padding: 0 17px;
    border-radius: 12px;
    color: #062645;
    font: 700 15px/1.2 var(--gilroy);
    box-shadow: 0 8px 22px rgba(70, 192, 224, .18);
    transition: transform .2s ease, box-shadow .2s ease;
}

.publish-popup__action:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(70, 192, 224, .28);
}

.publish-popup__action span {
    font-size: 20px;
    transition: transform .2s ease;
}

.publish-popup__action:hover span {
    transform: translateX(3px);
}

.publish-popup__footnote {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 16px;
    color: #668095;
    font: 400 15px/1.3 var(--inter);
    display: none;
}

.publish-popup__sparkle {
    color: #36b8dc;
    font-size: 17px;
}

.publish-popup__visual {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    padding: 28px 28px 25px;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 50% 38%, rgba(91, 199, 228, .3), transparent 48%),
        linear-gradient(150deg, #0b385c, #062645 68%, #041b31);
    color: #fff;
    text-align: center;
    text-align: center;
    /* place-items: start; */
}

.publish-popup__visual::before,
.publish-popup__visual::after {
    position: absolute;
    border: 1px solid rgba(111, 218, 242, .2);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.publish-popup__visual::before {
    top: -100px;
    right: -95px;
    width: 260px;
    height: 260px;
}

.publish-popup__visual::after {
    bottom: -155px;
    left: -115px;
    width: 330px;
    height: 330px;
}

.publish-popup__visual-tag,
.publish-popup__caption-label,
.publish-popup__cover-title,
.publish-popup__cover-dots,
.publish-popup__cover-stage {
    position: relative;
    z-index: 1;
}

.publish-popup__visual-tag {
    align-self: flex-start;
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 99px;
    background: rgba(255, 255, 255, .08);
    color: #8ce2f5;
    font: 700 15px/1.15 var(--gilroy);
    letter-spacing: .08em;
    text-align: center;
    margin: 0 auto;
}

.publish-popup__cover-stage {
    display: grid;
    width: 100%;
    height: 345px;
    place-items: center;
}

.publish-popup__cover-glow {
    position: absolute;
    width: min(280px, 90%);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(94, 203, 232, .32), rgba(94, 203, 232, 0) 70%);
    filter: blur(7px);
}

.publish-popup__cover {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity .45s ease;
}

.publish-popup__cover-link {
    position: relative;
    z-index: 1;
    display: grid;
    width: min(82%, 220px);
    height: calc(100% - 22px);
    place-items: center;
    transform: perspective(1000px) rotateY(-8deg) translateX(-5px);
    transform-origin: left center;
    transition: transform .45s cubic-bezier(.2, .8, .2, 1), filter .45s ease;
    filter: drop-shadow(15px 20px 16px rgba(0, 0, 0, .28));
}

/* Simulate a page block and spine around each rotating cover. */
.publish-popup__cover-link::before {
    position: absolute;
    z-index: -1;
    top: 3%;
    right: -10px;
    width: 13px;
    height: 94%;
    border: 1px solid rgba(226, 220, 204, .9);
    border-left: 0;
    background: repeating-linear-gradient(90deg, #fffdf7 0 2px, #e7e2d7 2px 3px, #f8f5ec 3px 5px);
    box-shadow: 4px 2px 7px rgba(0, 0, 0, .22);
    content: "";
    transform: skewY(1.5deg);
}

.publish-popup__cover-link::after {
    position: absolute;
    z-index: 2;
    top: 1%;
    bottom: 1%;
    left: 0;
    width: 13px;
    background: linear-gradient(90deg, rgba(0, 0, 0, .4), rgba(0, 0, 0, .14) 40%, transparent);
    content: "";
    pointer-events: none;
    mix-blend-mode: multiply;
}

.publish-popup__cover-link:hover {
    transform: perspective(1000px) rotateY(-3deg) translateX(0) translateY(-4px);
    filter: drop-shadow(19px 24px 18px rgba(0, 0, 0, .34));
}

.publish-popup__cover-link:focus-visible,
.publish-popup__cover-title-link:focus-visible {
    outline: 2px solid #67d2ec;
    outline-offset: 4px;
    border-radius: 5px;
}

.publish-popup__cover.is-visible {
    opacity: 1;
}

.publish-popup__book-caption {
    position: relative;
    z-index: 1;
    width: 100%;
    transition: opacity .28s ease, transform .28s ease;
}

.publish-popup__book-caption.is-changing {
    opacity: 0;
    transform: translateY(6px);
}

.publish-popup__caption-label {
    display: block;
    margin-bottom: 6px;
    color: rgba(255, 255, 255, .67);
    font: 700 15px/1.2 var(--gilroy);
    letter-spacing: .1em;
    display: none;
}

.publish-popup__cover-title {
    margin: 0;
    color: #fff;
    font: 700 22px/1.2 var(--gilroy);
}

.publish-popup__cover-title-link {
    color: inherit;
    text-decoration: none;
}

.publish-popup__cover-dots {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 13px;
}

.publish-popup__cover-dots i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .35);
    transition: width .25s ease, background .25s ease;
}

.publish-popup__cover-dots i.is-active {
    width: 23px;
    border-radius: 99px;
    background: #5bc7e4;
}

@keyframes publish-mark-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

@media (max-width: 700px) {
        .publish-popup {
        /* width: calc(100vw - 20px); */
        height: min(440px, calc(100dvh - 32px));
        grid-template-columns: minmax(0, 1fr);
        /* grid-template-rows: 165px minmax(0, 1fr); */
        border-radius: 18px;
    }

    .publish-popup__visual {
        grid-row: 1;
        flex-direction: row;
        padding: 12px 22px;
        text-align: left;
        display: none;
    }

    .publish-popup__visual-tag {
        position: absolute;
        top: 13px;
        left: 16px;
        font-size: 15px;
    }

    .publish-popup__cover-stage {
        width: 48%;
        height: 145px;
        margin-top: 18px;
    }

    .publish-popup__cover {
        width: 100%;
    }

    .publish-popup__cover-link {
        width: min(74%, 190px);
        height: 100%;
        transform: perspective(900px) rotateY(-6deg) translateX(-2px);
    }

    .publish-popup__book-caption {
        width: 48%;
        margin-top: 24px;
    }

    .publish-popup__caption-label {
        font-size: 15px;
    }

    .publish-popup__cover-title {
        font-size: 18px;
    }

    .publish-popup__cover-dots {
        justify-content: flex-start;
        margin-top: 10px;
    }

    .publish-popup__form-panel {
        grid-row: 2;
        padding: 18px 20px 20px;
    }

    .publish-popup__mark {
        display: none;
    }

    .publish-popup h2 {
        margin-right: 35px;
        font-size: 23px;
    }

    .publish-popup p {
        margin-bottom: 10px;
        font-size: 15px;
    }

    .publish-popup__form {
        gap: 9px;
    }

    .publish-popup__field-row {
        gap: 8px;
    }

    .publish-popup__form label {
        font-size: 15px;
    }

    .publish-popup__form :is(input, select, textarea) {
        min-height: 40px;
        padding: 8px 10px;
        font-size: 15px;
    }

    .publish-popup__form textarea {
        min-height: 52px;
    }

    .publish-popup__footnote {
        margin-top: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .button,
    .button::after,
    .publish-popup,
    .publish-popup__mark,
    .publish-popup__close,
    .publish-popup__action,
    .publish-popup__action span {
        animation: none;
        transition: none;
    }

    .publish-popup-backdrop {
        transition: none;
    }

    .publish-popup__cover,
    .publish-popup__book-caption,
    .publish-popup__cover-dots i {
        transition: none;
    }

    .button:hover::after {
        animation: none;
    }
}

.button--white {
    --button-arrow-bg: var(--navy);
    --button-arrow-color: #fff;
    background: #fff;
    color: var(--navy);
}

.button--glass {
    border-color: rgba(255,255,255,.6);
    background: rgba(255,255,255,.08);
    color: #fff;
}

.button--outline {
    border-color: #fff;
    background: transparent;
    color: #fff;
}

.button--navy {
    background: var(--navy);
    color: #fff;
}

.button--small {
    min-height: 42px;
    gap: 9px;
    padding: 5px 14px 5px 5px;
    font-size: 15px;
    white-space: nowrap;
}

.button--small::before {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
    font-size: 21px;
}

.button-icon {
    font-size: 13px;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 25px;
}

.button-row--center {
    justify-content: center;
}

.section-heading {
    max-width: 900px;
    margin: 0 auto 30px;
    text-align: center;
}

.section-heading h2 {
    margin-bottom: 12px;
}

.section-heading p {
    margin: 0 auto;
    color: #557087;
}

.section-heading--compact {
    margin-bottom: 8px;
}

.section-heading--light h2, .section-heading--light p {
    color: #fff;
}

.section-heading--light p {
    color: #c8d9e5;
}

/* Header */
.site-header {
    position: absolute;
    z-index: 20;
    top: 19px;
    inset-inline: 0;
}

.header-pill {
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 60px;
    padding: 8px 13px 8px 18px;
    background: rgba(255,255,255,.97);
    box-shadow: 0 8px 32px rgba(0,0,0,.12);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 58.5px;
}

.brand {
    flex: 0 0 150px;
}

.brand img {
    width: 145px;
    height: auto;
    filter: invert(1) brightness(100);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 21px;
    margin-left: auto;
}

.main-nav a {
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    transition: color .2s ease;
}

.main-nav a:hover {
    color: var(--navy);
}
span.nav-service-title:hover{
    color: var(--navy);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 7px;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: #e8f8fd;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    border-radius: 3px;
    background: var(--navy);
}

/* Hero */

.bnr-slider-bx-new {
    position: relative;
    text-align: center;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tab-1-bnr-st {
    position: absolute;
    bottom: 30px;
    left: 0;
}

.tab-2-bnr-st {
    position: absolute;
    left: 20px;
    top: -80px;
}

.tab-3-bnr-st {
    position: absolute;
    right: 190px;
    top: -90px;
    width: 10%;
}

.tab-4-bnr-st {
    position: absolute;
    right: 0;
    bottom: 18px;
}

.bnrSliderNew {
    height: 100%;
    top: 38px;
}
.bnrSliderNew:not(.slick-initialized) > div:not(:first-child) {
    display: none;
}
.bnrSliderNew .slick-list {
    padding-top: 90px;
}
.tab-5-bnr-st.img-fluid {
    position: relative;
    bottom: 40px;
}



.hero {
    position: relative;
    overflow: hidden;
    height: 640px;
    padding: 124px 0 0px;
    color: #fff;
    background: var(--navy) url('../../images/banner-bg.png') center / cover no-repeat;
}

.hero::before {
    position: absolute;
    content: '';
    inset: 0;
    /* background: linear-gradient(180deg, rgba(5,35,62,.72), rgba(5,35,62,.93) 75%, #062645); */
}

.hero::before {
    z-index: 0;
}

.hero::after {
    position: absolute;
    z-index: 1;
    right: 0;
    bottom: 0;
    left: 0;
    height: 180px;
    content: '';
    display: none;
    background: #fff;
}

.hero-shape {
    position: absolute;
    z-index: 1;
    pointer-events: none;
}

.hero-shape--left {
    width: 165px;
    height: 165px;
    top: 54%;
    left: -110px;
    border: 1px solid rgba(84,194,227,.18);
    border-radius: 50%;
    box-shadow: 0 0 0 22px rgba(84,194,227,.04), 0 0 0 44px rgba(84,194,227,.025);
}

.hero-shape--right {
    right: -40px;
    top: 0;
    width: 110px;
    height: 230px;
    background: var(--cyan);
    clip-path: polygon(35% 0,100% 0,100% 100%,0 54%,32% 33%);
    opacity: .9;
    display: none;
}

.hero-inner {
    position: relative;
    z-index: 2;
}

.hero-heading {
    max-width: 780px;
    margin: 0 auto 22px;
    text-align: center;
}

.hero-heading h1 {
    color: #fff;
}

.hero-heading p {
    margin: 0;
    color: #d3e6f0;
}

.hero-carousel-wrap {
    position: relative;
    max-width: 1150px;
    margin: 4px auto 0;
}

.hero-slider {
    min-height: 390px;
}

.hero-slide {
    height: 390px;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 0 16px;
}
@media(max-width: 1400px){
    img.tab-1-bnr-st.img-fluid {
        bottom: 50px;
        width: 32%;
    }
.tab-5-bnr-st.img-fluid {
        position: relative;
        bottom: 30px;
    }
    .tab-5-bnr-st.img-fluid {
        bottom: 60px;
    }

    .tab-4-bnr-st {
        /*bottom: 30px;*/
        width: 28%;
    }

    .tab-3-bnr-st {
        width: 10%;
        right: 190px;
    }
}


.tablet {
    position: relative;
    z-index: 2;
    flex: 1 1 31%;
    max-width: 330px;
    height: 265px;
    border: 7px solid #1a2732;
    border-radius: 19px;
    padding: 5px;
    background: #101d27;
    box-shadow: 0 24px 36px rgba(0,0,0,.33), inset 0 0 0 1px rgba(255,255,255,.25);
}

.tablet--left {
    transform: perspective(800px) rotateY(9deg) rotateZ(-2deg);
}

.tablet--right {
    transform: perspective(800px) rotateY(-9deg) rotateZ(2deg);
}

.tablet-screen {
    position: relative;
    height: 100%;
    overflow: hidden;
    border-radius: 10px;
    padding: 25px 22px 30px;
    background: linear-gradient(135deg, #fff 0%, #f2f8fa 100%);
    color: var(--navy);
}

.tablet-kicker {
    display: block;
    margin-bottom: 8px;
    color: #52b8d7;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .11em;
}

.tablet-screen h3 {
    margin: 0 0 10px;
    color: var(--navy);
    font-size: 20px;
}

.tablet-screen p {
    max-width: 230px;
    min-height: 76px;
    margin-bottom: 10px;
    color: #506578;
    font-size: 12px;
    line-height: 1.65;
}

.tablet-progress {
    display: block;
    width: 100%;
    height: 4px;
    overflow: hidden;
    border-radius: 6px;
    background: #dceaf0;
}

.tablet-progress i {
    display: block;
    width: 38%;
    height: 100%;
    border-radius: inherit;
    background: var(--cyan);
}

.tablet-home {
    position: absolute;
    bottom: 7px;
    left: 50%;
    width: 17px;
    height: 4px;
    transform: translateX(-50%);
    border-radius: 8px;
    background: #b3c1ca;
}

.book-stage {
    position: relative;
    flex: 0 0 31%;
    height: 355px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 900px;
}

.book-glow {
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(84,194,227,.38), rgba(84,194,227,0) 70%);
    filter: blur(11px);
}

.hero-book {
    position: relative;
    z-index: 2;
    width: 190px;
    height: 288px;
    padding: 6px;
    background: linear-gradient(90deg, #0c1620 0, #d1b77f 3%, #091b2c 6%, #142c43 100%);
    transform: rotateY(-9deg) rotateZ(-1deg);
    box-shadow: 14px 22px 28px rgba(0,0,0,.4), -9px 2px 18px rgba(0,0,0,.2);
}

.hero-book::after {
    position: absolute;
    top: 1px;
    right: -10px;
    width: 10px;
    height: calc(100% - 2px);
    content: '';
    background: repeating-linear-gradient(90deg, #d8d0bb, #f4eee0 1px, #c9bea8 2px);
    transform: skewY(-2deg);
}

.hero-book img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.book-shadow {
    position: absolute;
    z-index: 1;
    bottom: 35px;
    width: 126px;
    height: 190px;
    object-fit: cover;
    border: 4px solid rgba(255,255,255,.3);
    border-radius: 4px;
    box-shadow: 0 18px 22px rgba(0,0,0,.28);
    opacity: .72;
}

.book-shadow--one {
    left: 0;
    transform: rotateY(14deg) rotateZ(-8deg) scale(.88);
}

.book-shadow--two {
    right: 0;
    transform: rotateY(-14deg) rotateZ(8deg) scale(.88);
}

.book-reflection {
    position: absolute;
    z-index: 0;
    bottom: 6px;
    width: 235px;
    height: 20px;
    border-radius: 50%;
    background: rgba(255,255,255,.42);
    filter: blur(10px);
}

.hero-slider {
    min-height: 440px;
}

.hero-slide {
    height: 440px;
    display: block !important;
    padding: 0;
}

.hero-composition {
    width: min(100%, 1120px);
    height: 450px;
    display: flex;
    /* grid-template-columns: 1fr 1.2fr 1fr; */
    justify-items: center;
    margin: 0 auto;
    align-items: center;
    gap: 0 0px;
    text-align: center;
    margin: 0 auto;
    justify-content: center;
    place-content: center;
}

.hero-tablet {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 290px;
    align-self: end;
    margin-bottom: 3px;
}

.hero-tablet > img {
    position: relative;
    z-index: 0;
    width: 100%;
    height: auto;
}

.hero-center-art {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 340px;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.hero-center-art img {
    width: min(100%, 570px);
    max-height: 400px;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 18px 16px rgba(0,0,0,.23));
    position: relative;
    top: -20px;
}

.tablet-page {
    position: absolute;
    z-index: 3;
    top: 10%;
    left: 16%;
    width: 72%;
    height: 81%;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    padding: 8% 7% 5%;
    background: #f4f2eb;
    color: #272727;
    text-align: center;
}

.tablet-page--left {
    clip-path: polygon(4% 2%, 86% 3%, 96% 89%, 13% 100%);
    transform: skew(9deg, 9deg) rotate(4deg);
}

.tablet-page--right {
    left: 13%;
    width: 73%;
    clip-path: polygon(12% 3%, 100% 0, 92% 100%, 0 100%);
    clip-path: polygon(15% 7%, 94% 0%, 83% 97%, 2% 93%);
    transform: skew(-8deg, -1deg) rotate(-4deg);
    padding: 8% 10% 5%;
}

.tablet-page > span {
    color: #333;
    font: 500 clamp(5px, .65vw, 8px)/1.2 var(--inter);
    letter-spacing: .16em;
}

.tablet-page h3 {
    margin: 5% 0 2%;
    color: #171717;
    font: 400 clamp(9px, 1.2vw, 16px)/1.15 var(--gilroy);
}

.tablet-page > i {
    width: 28%;
    height: 1px;
    margin: 3% 0 4%;
    background: #585858;
}

.tablet-page p {
    width: 92%;
    min-height: 0;
    margin: 0;
    color: #282828;
    font: 400 clamp(7px, .72vw, 9px)/1.45 var(--gilroy);
    text-align: left;
}

.tablet-page p.is-typing::after {
    content: 'Ã¢â€“Â';
    color: #178bb3;
    animation: type-caret .7s steps(1) infinite;
}

@keyframes type-caret {
    50% { opacity: 0; }
}

.hero-cta {
    z-index: 3;
}

.hero-slider-controls {
    z-index: 3;
}

.scroll-cue {
    display: none;
}

.hero-slider-controls, .portfolio-controls, .genre-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.hero-slider-controls {
    position: absolute;
    right: 15px;
    bottom: 7px;
}

.slider-arrow {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 50%;
    background: rgba(255,255,255,.07);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: background .2s, color .2s;
}

.slider-arrow:hover {
    background: var(--cyan);
    color: var(--navy);
}

.hero-dots .slick-dots, .portfolio-dots .slick-dots, .genre-dots .slick-dots {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    width: auto;
}

.hero-dots .slick-dots li, .portfolio-dots .slick-dots li, .genre-dots .slick-dots li {
    width: 24px;
    height: 18px;
    margin: 0;
}

.hero-dots .slick-dots li button:before, .portfolio-dots .slick-dots li button:before, .genre-dots .slick-dots li button:before {
    color: var(--cyan);
    font-size: 7px;
    opacity: .55;
    display: none;
}
section#portfolio .slick-arrow {
    display: none !important;
}

.hero-dots .slick-dots li.slick-active button:before, .portfolio-dots .slick-dots li.slick-active button:before, .genre-dots .slick-dots li.slick-active button:before {
    opacity: 1;
}

.hero-slider.fallback-slider .hero-slide { display: none !important; opacity: 0; }
.hero-slider.fallback-slider .hero-slide.is-fallback-active { display: block !important; opacity: 1; animation: fallback-fade .75s ease both; }
@keyframes fallback-fade { from { opacity: 0; } to { opacity: 1; } }
.fallback-dot { width: 10px; height: 10px; flex: 0 0 10px; border: 0; border-radius: 50%; padding: 0; background: var(--cyan); opacity: .45; cursor: pointer; }
.fallback-dot.is-active { opacity: 1; transform: scale(1.18); }
.hero-dots, .portfolio-dots, .genre-dots { display: flex; align-items: center; justify-content: center; gap: 7px; }
.portfolio-slider.fallback-carousel, .genre-slider.fallback-carousel { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.portfolio-slider.fallback-carousel::-webkit-scrollbar, .genre-slider.fallback-carousel::-webkit-scrollbar { display: none; }
.portfolio-slider.fallback-carousel > .portfolio-card { flex: 0 0 calc(25% - 18px); scroll-snap-align: start; }
.genre-slider.fallback-carousel > .genre-card { flex: 0 0 calc(25% - 18px); scroll-snap-align: start; }

.hero-cta {
    position: relative;
    display: flex;
    width: max-content;
    margin: 0 auto;
}

.scroll-cue {
    position: absolute;
    z-index: 2;
    bottom: 20px;
    left: 50%;
    width: 22px;
    height: 34px;
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 20px;
    transform: translateX(-50%);
}

.scroll-cue span {
    position: absolute;
    top: 7px;
    left: 50%;
    width: 3px;
    height: 7px;
    border-radius: 5px;
    background: var(--cyan);
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% {
        opacity: 0;
        transform: translate(-50%,0);
    }

    35% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translate(-50%,10px);
    }
}

/* Services and about */
.services-grid, .why-grid, .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 70px;
}

.services-grid {
    grid-template-columns: 1.2fr 1.26fr 1.45fr;
    gap: 24px;
}

.services-copy h2 {
    max-width: 540px;
    margin-bottom: 14px;
}

.services-copy .eyebrow {
    margin-bottom: 14px;
}

.services-copy h2 {
    font-size: 44px;
}

.services-copy > p {
    margin-bottom: 18px;
    color: var(--navy);
}

.services-copy .button {
    min-height: 43px;
    padding-inline: 17px; }

.services-menu {
    position: relative;
    display: grid;
    gap: 7px;
    padding-top: 37px;
}

.services-arrow {
    position: absolute;
    top: 58px;
    left: -100px;
    width: 84px;
    height: 31px;
    color: #55bfdf;
}

.service-menu-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #dceaf0;
    border-radius: 15px;
    padding: 15px 9px;
    color: var(--navy);
    background: #fff;
    font-family: var(--gilroy);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
    transition: color .2s ease, background .2s ease, border-color .2s ease;
    text-align: left;
    cursor: pointer;
}

.service-menu-item:focus-visible {
    outline: 3px solid rgba(47,174,211,.35);
    outline-offset: 2px;
}

.service-menu-item:hover {
    border-color: #87d7ec;
    background: #f3fcff;
}

.service-menu-item.is-active {
    border-color: var(--cyan);
    color: #fff;
    background: var(--cyan);
}

.service-menu-item.is-active .service-menu-icon {
    color: #f8ffff;
    background: rgba(255,255,255,.25);
}

.services-grid:not(:has(.service-art-panel:target)) #service-tab-illustration,
.services-grid:has(#service-panel-writing:target) #service-tab-writing,
.services-grid:has(#service-panel-editing:target) #service-tab-editing,
.services-grid:has(#service-panel-publishing:target) #service-tab-publishing,
.services-grid:has(#service-panel-illustration:target) #service-tab-illustration,
.services-grid:has(#service-panel-marketing:target) #service-tab-marketing,
.services-grid:has(#service-panel-audio:target) #service-tab-audio {
    /*border-color: var(--cyan);*/
    /*color: #fff;*/
    /*background: var(--cyan);*/
}
.slick-dots li.slick-active button {
    background: var(--navy);
    color: #201f1c;
}
.slick-dots li button {
    background: var(--muted);
    border-radius: 50px;
    color: #2cc05b;
    width: 10px;
    height: 10px;
}
.slick-dots {
    bottom: -55px;
}
.slick-dots li {
    width: auto;
}
.services-grid:not(:has(.service-art-panel:target)) #service-tab-illustration .service-menu-icon,
.services-grid:has(.service-art-panel:target) .service-art-panel:target,
.services-grid:has(#service-panel-writing:target) #service-tab-writing .service-menu-icon,
.services-grid:has(#service-panel-editing:target) #service-tab-editing .service-menu-icon,
.services-grid:has(#service-panel-publishing:target) #service-tab-publishing .service-menu-icon,
.services-grid:has(#service-panel-illustration:target) #service-tab-illustration .service-menu-icon,
.services-grid:has(#service-panel-marketing:target) #service-tab-marketing .service-menu-icon,
.services-grid:has(#service-panel-audio:target) #service-tab-audio .service-menu-icon {
    color: #f8ffff;
    background: rgba(255,255,255,.25);
}

.service-menu-icon {
    flex: 0 0 41px;
    width: 50px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 6px;
    color: #63afd0;
    background: #E8F4FF;
}

.service-menu-icon svg {
    width: 35px;
    height: 35px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.services-copy > p, .why-copy > p, .contact-copy > p {
    max-width: 540px;
    color: #526d82;
}

.service-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 11px 14px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--navy);
    font-size: 12px;
    font-weight: 600;
}

.service-list li span {
    width: 21px;
    height: 21px;
    display: inline-grid;
    place-items: center;
    border-radius: 6px;
    background: #e3f8ff;
    color: #34add1;
    font-size: 12px;
    font-weight: 800;
}

.services-art {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 410px;
}

.services-art::before {
    position: absolute;
    z-index: -1;
    content: '';
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: #edfbff;
}

.services-art img {
    width: min(100%, 530px);
    filter: drop-shadow(0 22px 20px rgba(6,38,69,.08));
}

.services-art {
    min-height: 100%;
    flex-direction: column;
    height: 100%;
}

.services-art::before {
    display: none;
}

.services-art img {
    width: 100%;
    max-width: 500px;
    max-height: 390px;
    object-fit: contain;
    filter: none;
    height: 100%;
}

.service-art-panel {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.service-art-panel img {
    /* max-height: 310px; */
}

.service-art-panel.is-active {
    display: flex !important;
    animation: fallback-fade .25s ease both;
}

.service-art-panel:target {
    display: flex;
    animation: fallback-fade .25s ease both;
}

.services-grid:has(.service-art-panel:target) .service-art-panel.is-active:not(:target) {
    display: none;
}

.services-art-caption {
    max-width: 420px;
    margin: 2px auto 0;
    color: #60788a;
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
}

.art-spark {
    position: absolute;
    color: var(--cyan);
    font-size: 28px;
}

.art-spark--one {
    top: 40px;
    left: 45px;
}

.art-spark--two {
    right: 35px;
    bottom: 55px;
}

.who {
    padding-top: 38px;
}

.who-card {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    align-items: center;
    gap: 44px;
    overflow: hidden;
    border-radius: 24px;
    padding: 36px 50px;
    background: url(../../images/who-we-are-bg.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.who-art img {
    width: 100%;
    filter: drop-shadow(0 12px 12px rgba(6,38,69,.18));
}

.who-copy h2, .who-copy p {
    color: var(--navy);
}

.who-copy .eyebrow {
    background: rgba(6,38,69,.16);
    border-color: rgba(6,38,69,.06);
}

.who-copy > p {
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.65;
    font-style: italic;
}

.who-copy .button-row {
    margin-top: 20px;
}

.who-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 23px;
}

.who-stats div {
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(6,38,69,.18);
    padding-right: 9px;
}

.who-stats div:last-child {
    border: 0;
}

.who-stats strong {
    font: 700 25px/1 var(--gilroy);
}

.who-stats span {
    margin-top: 4px;
    color: rgba(6,38,69,.75);
    font-size: 10px;
}

/* Process and CTAs */
.process {
    position: relative;
    overflow: hidden;
    padding-bottom: 85px;
    background: radial-gradient(ellipse at 50% 55%, #dff7ff 0, #f5fbfd 31%, #f5f6f7 68%);
}

.process .section-heading {
    margin-bottom: 0;
}

.process-book {
    position: relative;
    min-height: 335px;
    display: grid;
    place-items: center;
}

.process-book-glow {
    position: absolute;
    width: 330px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(84,194,227,.32), transparent 70%);
    filter: blur(17px);
}

.process-cover {
    position: relative;
    width: 170px;
    height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 8px solid #102636;
    border-radius: 4px 8px 8px 4px;
    background: linear-gradient(110deg, #051c28, #0d3b46 72%, #061d2a);
    box-shadow: 20px 20px 26px rgba(0,0,0,.3), inset 5px 0 7px rgba(255,255,255,.12);
    transform: perspective(700px) rotateY(-8deg);
}

.process-cover::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: -7px;
    width: 7px;
    content: '';
    background: linear-gradient(90deg,#b99d65,#ded1ac,#786a48);
}

.process-cover img {
    width: 120px;
    filter: brightness(0) invert(1);
    opacity: .88;
}

.process-cover span {
    position: absolute;
    bottom: 22px;
    color: #d7e7eb;
    font-size: 7px;
    letter-spacing: .2em;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 990px;
    margin: 0 auto;
    text-align: center;
}

.process-steps div {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.process-steps b {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    margin-bottom: 12px;
    border-radius: 50%;
    background: #daf5fd;
    color: #209fca;
    font-size: 12px;
}

.process-steps strong {
    margin-bottom: 5px;
    font: 700 17px/1.2 var(--gilroy);
}

.process-steps span {
    max-width: 240px;
    color: #61788a;
    font-size: 12px;
}

.chapter-cta {
    padding: 80px 0 80px;
    background: #fff url('../../images/cta-bg.png') center bottom / 100% auto no-repeat;
    text-align: center;
}

.chapter-inner h2 {
    margin-bottom: 12px;
}

.chapter-inner p {
    color: #60788a;
}

/* Portfolio */
.portfolio {
    position: relative;
     overflow: hidden; 
    padding: 80px 0 160px;
    background: var(--navy);
    z-index: 1;
}
section#portfolio:before {
    position: absolute;
    content: '';
    width: 483px;
    height: 483px;
    background: #98CCFF;
    filter: blur(347px);
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    top: auto;
    z-index: -1;
}
.portfolio::before {
    position: absolute;
    content: '';
    inset: 0;
    background: radial-gradient(ellipse at 50% 12%, rgba(24,86,124,.36), transparent 52%);
    z-index: -1;
}

.portfolio-inner {
    position: relative;
    z-index: 1;
}

.portfolio-mark {
    position: absolute;
    bottom: -19px;
    left: 0;
    width: 100%;
    overflow: hidden;
    color: transparent;
    font: 700 clamp(45px, 9vw, 130px)/1 var(--gilroy);
    letter-spacing: .01em;
    text-align: center;
    -webkit-text-stroke: 1px rgba(141,201,222,.2);
    white-space: nowrap;
}

.portfolio .section-heading {
    margin-bottom: 39px;
}

.portfolio-slider {
    margin: 0 -14px;
}

.portfolio-slider .slick-slide {
    padding: 10px 14px 14px;
}

.portfolio-card {
    position: relative;
    display: flex !important;
    min-height: 255px;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    overflow: hidden;
    border: 1px solid rgba(95,191,222,.3);
    border-radius: 12px;
    padding: 17px 15px 16px;
    background: linear-gradient(160deg, rgba(16,75,112,.74), rgba(3,31,56,.94));
    box-shadow: inset 0 0 0 4px rgba(255,255,255,.025);
}

.portfolio-card::before {
    position: absolute;
    content: '';
    inset: 8px;
    border: 1px dashed rgba(108,194,220,.25);
    border-radius: 8px;
    pointer-events: none;
}

.portfolio-cover {
    position: relative;
    width: 126px;
    height: 190px;
    padding: 5px;
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 5px;
    background: rgba(255,255,255,.12);
    box-shadow: 0 16px 26px rgba(0,0,0,.28);
    transition: transform .3s ease;
}

.portfolio-card:hover .portfolio-cover {
    transform: translateY(-5px) rotate(-2deg);
}

.portfolio-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px;
}

.portfolio-card > span {
    color: #d7e9f2;
    font-size: 10px;
    font-weight: 600;
}

.portfolio-controls {
    margin-top: 0px;
    position: relative;
    z-index: 999;
    margin-bottom: 30px;
}

/* Author video carousel */
.author-videos {
    overflow: hidden;
    padding-block: 48px 66px;
    background: #fff;
}

.author-videos .section-heading {
    margin-bottom: 8px;
}

.author-videos .section-heading h2 {
    margin-bottom: 0;
    font-size: clamp(30px, 3vw, 36px);
    line-height: 1.12;
}

.author-video-slider {
    width: min(100%, 1000px);
    margin-inline: auto;
    padding-block: 18px 24px;
    overflow: hidden;
}

.author-video-slider .swiper-wrapper {
    align-items: center;
}

.author-video-slider .swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.author-video-slider .swiper-slide-active {
    z-index: 3 !important;
}

.author-video-slider .swiper-slide-prev,
.author-video-slider .swiper-slide-next {
    z-index: 2 !important;
}

.author-video-slider .swiper-slide:not(.swiper-slide-active) .author-video-card {
    width: 230px;
    max-width: 100%;
    aspect-ratio: .68 / 1;
    margin-inline: auto;
}

.author-video-slider .swiper-slide-active .author-video-card {
    width: min(550px, calc(100vw - 48px));
    max-width: none;
    aspect-ratio: 1.8 / 1;
}

.author-video-pagination {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: auto;
    height: 8px;
    margin: 12px 0 0;
    padding: 0;
    transform: none;
}

.author-video-pagination .author-video-bullet {
    display: block;
    width: 8px;
    height: 8px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: var(--navy);
    opacity: .28;
    cursor: pointer;
    transition: width .2s ease, background .2s ease, opacity .2s ease;
}

.author-video-pagination .author-video-bullet.is-active {
    width: 24px;
    background: var(--cyan);
    opacity: 1;
}

.author-video-card {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1.8 / 1;
    overflow: hidden;
    border: 7px solid #fff;
    border-radius: 14px;
    padding: 0;
    background: #080808;
    box-shadow: 0 7px 18px rgba(6, 38, 69, .18);
    cursor: pointer;
    transition: width .75s cubic-bezier(.22, .61, .36, 1), aspect-ratio .75s cubic-bezier(.22, .61, .36, 1);
}

.author-video-card > img:first-child {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    width: 76px;
    height: 58px;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 4px 16px rgba(0, 0, 0, .22);
    opacity: 0;
    transform: translate(-50%, -50%) scale(.9);
    transition: opacity .2s ease, transform .2s ease;
    pointer-events: none;
}

.author-video-play img {
    width: 36px;
    height: 36px;
}

.author-video-card:hover .author-video-play,
.author-video-card:focus-visible .author-video-play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.author-video-card:focus-visible {
    outline: 3px solid var(--cyan-dark);
    outline-offset: 4px;
}

.partners {
    padding-block: 80px 0px;
    overflow: hidden;
    }

.partners .section-heading {
    margin-bottom: 24px;
}

.partners .section-heading h2 {
    font-size: 34px;
}
.hero-heading .partner-logos:before {
    display: none;
}

.hero-heading .partner-logos:after {
    display: none;
}

.partner-logos {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
}
.partner-logos.slick-initialized.slick-slider {
    display: block;
}
.partner-logos:after {
    content: '';
    position: absolute;
    top: 0;
    right: -80px;
    bottom: 0;
    margin: auto;
    background: linear-gradient(
-90deg, rgba(255, 255, 255, 0) 4.06%, #FFFFFF 84.27%);
    transform: matrix(-1, 0, 0, 1, 0, 0);
    width: 30%;
    height: 100%;
    z-index: 1;
}

.partner-logos:before{
    content:'';
    position: absolute;
    top: 0;
    left: -80px;
    bottom: 0;
    margin: auto;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 4.06%, #FFFFFF 84.27%);
    transform: matrix(-1, 0, 0, 1, 0, 0);
    width: 50%;
    height: 100%;
    z-index: 1;
}
.home-banner-logos {
    width: 55%;
    height: 90px;
    margin: 0 auto;
    margin-bottom: -117px;
    margin-top: 35px;
    z-index: 2;
}
.home-banner-logos:not(.slick-initialized) {
    display: flex;
    flex-wrap: nowrap;
    overflow: hidden;
}
.home-banner-logos:not(.slick-initialized) > div {
    display: none;
    flex: 0 0 25%;
    min-width: 0;
    height: 100%;
    align-items: center;
    justify-content: center;
}
.home-banner-logos:not(.slick-initialized) > div:nth-child(n+4):nth-child(-n+7) {
    display: flex;
}
.home-banner-logos:not(.slick-initialized) img {
    width: 100%;
    height: 64px;
    object-fit: contain;
}
@media (max-width: 700px) {
    .home-banner-logos:not(.slick-initialized) > div { flex-basis: 33.3333%; }
    .home-banner-logos:not(.slick-initialized) > div:nth-child(n+4):nth-child(-n+7) { display: none; }
    .home-banner-logos:not(.slick-initialized) > div:nth-child(n+4):nth-child(-n+6) { display: flex; }
}
.partner-logos img {
    /* max-width: 125px; */
    /* max-height: 42px; */
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: saturate(.92);
    padding: 0 10px;
}

/* Genres and why us */
.genres {
    padding-top: 70px;
}

.genres .section-heading h2 {
    font-size: 42px;
}

.genre-slider {
    margin: 0 -12px;
    padding: 0px 0 20px;
}

.genre-slider .slick-slide {
    padding: 5px 12px;
}

.genre-card {
    position: relative;
    width: 100%;
    height: 410px;
    display: block;
    overflow: hidden;
    border: 0;
    border-radius: 18px;
    padding: 0;
    color: #fff;
    background: transparent;
    text-align: left;
    cursor: pointer;
    perspective: 1100px;
    margin-top: 20px;
}

.genre-card:focus-visible {
    outline: 3px solid var(--cyan);
    outline-offset: 4px;
}

.genre-card-inner {
    position: absolute;
    inset: 0;
    display: block;
    border-radius: inherit;
    transform-style: preserve-3d;
    transition: transform .75s cubic-bezier(.2,.75,.25,1);
}

.genre-card-face {
    position: absolute;
    inset: 0;
    display: block;
    overflow: hidden;
    border-radius: inherit;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.genre-card-front::after {
    position: absolute;
    inset: 25% 0 0;
    content: '';
    background: linear-gradient(transparent, rgba(4,31,53,.78));
}

.genre-card-front > img,
.genre-card-backdrop {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.genre-card-front > img {
    filter: grayscale(1);
}

.genre-card-title {
    position: absolute;
    z-index: 1;
    bottom: 18px;
    left: 20px;
    color: #fff;
    font: 700 22px/1.2 var(--gilroy);
}

.genre-card-back {
    transform: rotateY(180deg);
    background: #082e40;
}

.genre-card-back::after {
    position: absolute;
    inset: 0;
    content: '';
    background: linear-gradient(180deg, rgba(4,30,44,.12) 20%, rgba(4,30,44,.36) 56%, rgba(3,35,48,.94) 100%);
}

.genre-card-back-content {
    position: absolute;
    z-index: 1;
    inset: 0;
}

.genre-card-book {
    position: absolute;
    top: 31%;
    left: 7%;
    width: 31%;
    height: 38%;
    object-fit: contain;
    object-position: left center;
    /* border: 1px solid #b357e6; */
    /* box-shadow: 0 3px 15px rgba(0,0,0,.42); */
    display: none !important;
}

.genre-card-description {
    position: absolute;
    right: 7%;
    bottom: 7%;
    left: 7%;
    color: #fff;
    font: 400 13px/1.7 var(--inter);
}

.genre-card.is-flipped .genre-card-inner {
    transform: rotateY(180deg);
}

@media (hover: hover) and (pointer: fine) {
    .genre-card:hover .genre-card-inner {
        transform: rotateY(180deg);
    }
}

.genre-controls {
    margin-top: 22px;
}

.genre-controls .slider-arrow, .portfolio-controls .slider-arrow {
    border-color: #c5eaf5;
    background: #f2fbfe;
    color: var(--navy);
}

.why {
    background: #f7fcfe;
    padding: 50px 0;
}

.why-grid {
    grid-template-columns: .9fr 1.1fr;
    gap: 60px;
}

.why-copy h2 {
    font-size: 45px;
}

.why-list {
    display: grid;
    gap: 12px;
    position: relative;
    z-index: 1;
}
.clip-defs {
      position: absolute;
      width: 0;
      height: 0;
    }
/*.why-list:before {
    content: '';
    background: #5cc3e8;
    position: absolute;
    bottom: 28px;
    left: 72px;
    width: 1px;
    height: 78%;
    z-index: 2;
}*/

.why-list article span img {
    position: relative;
    z-index: 1;
}

.why-list article div {
    width: 90%;
}
.why-list article {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 15px 38px 15px 44px;
    color: #fff;
    background: #082946;
    border-radius: 13px;
    clip-path: url(#subtract-shape);
    position: relative;
    z-index: 1;
}


.why-list h3 {
    margin: 0 0 4px;
    font: bold 24px/1.25 var(--gilroy);
    color: #fff;
}

.why-list p {
    margin: 0;
    color: #fff;
    font-size: 16px;
    line-height: 1.5;
}
.testimonial-grid--slider .testimonial-card--large blockquote {
    height: 200px;
    overflow-x: hidden;
    overflow-y: auto;
}
.testimonial-grid--slider .testimonial-card--large blockquote::-webkit-scrollbar {
  width: 8px;
}

/* Track */
.testimonial-grid--slider .testimonial-card--large blockquote::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey; 
  border-radius: 10px;
}
 
/* Handle */
.testimonial-grid--slider .testimonial-card--large blockquote::-webkit-scrollbar-thumb {
  background: #5cc3e8; 
  border-radius: 10px;
}

/* Handle on hover */
.testimonial-grid--slider .testimonial-card--large blockquote::-webkit-scrollbar-thumb:hover {
  background: #5cc3e8; 
}
/* Testimonials, author gallery, FAQ and contact */
.testimonials {
    position: relative;
    overflow: hidden;
    padding: 50px 0;
}
.leave-testi-img {
    position: absolute;
    bottom: -590px;
    right: 20px;
}
.testimonials::after {
    content: '';
    position: absolute;
    background: url(../../images/ftr-form-line.png);
    background-size: 100%;
    background-position: center;
    bottom: 0;
    right: 0;
    width: 650px;
    height: 100%;
    background-repeat: no-repeat;
}
.contact::after {
    content: '';
    position: absolute;
    background: url(../../images/testi-af.png);
    background-size: 100%;
    background-position: center;
    bottom: 0;
    right: 0;
    width: 650px;
    height: 100%;
    background-repeat: no-repeat;
    z-index: -1;
}

.testimonials .container {
    position: relative;
    z-index: 1;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 1030px;
    margin: 0 auto;
}

.testimonial-card {
    position: relative;
    min-height: 200px;
    border: 1px solid #e9eef2;
    border-radius: 14px;
    padding: 24px 26px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(6,38,69,.08);
}

.testimonial-card--large {
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 35px;
    overflow: hidden;
}

.testimonial-card:hover {
    border-color: transparent;
    background: var(--navy);
}

.testimonial-card:hover blockquote, .testimonial-card:hover .reviewer strong {
    color: #fff;
}

.testimonial-card:hover .reviewer small {
    color: #b9cfdd;
}

.stars {
    color: #f4b847;
    font-size: 14px;
    letter-spacing: 2px;
}

.quote-mark {
    position: absolute;
    top: 15px;
    right: 23px;
    color: #29afd5;
    font: 700 54px/.9 var(--gilroy);
}

.testimonial-card blockquote {
    margin: 15px 0 22px;
    color: #476276;
    font: 400 14px/1.75 var(--inter);
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
}

.reviewer img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
}

.reviewer span {
    display: flex;
    flex-direction: column;
}

.reviewer strong {
    color: var(--navy);
    font: 700 18px/1.3 var(--gilroy);
}

.reviewer small {
    color: #8495a2;
    font-size: 14px;
}

.testimonial-stack {
    display: grid;
    gap: 18px;
}

.testimonial-stack .testimonial-card {
    min-height: 200px;
}

.author-cards {
    padding-top: 60px;
    background: #effaff;
}
.author-card-bx {
    position: relative;
    background: #5CC3E8;
    border: 0.95303px solid #062645;
    border-radius: 19.0606px;
    padding: 10px 10px;
    transition: all .5s ease-in-out;
}
.author-card-bx:hover {
    background: transparent;
    border-color: transparent;
}
.authr-inr-img-bx:before {
    content: '';
    background: linear-gradient(270deg, rgba(17, 54, 66, 0) 14.52%, #113642 100%);
    border-radius: 19.0606px;
    transform: rotate(-90deg);
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}
.authr-inr-img-bx {
    position: absolute;
    top: 30px;
    left: 0;
    right: 0;
    bottom: auto;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 197px;
    height: 266px;
    border-radius: 16px;
}

.tx-author {
    position: absolute;
    bottom: 80px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 40px;
}

.tx-author h4 span {
    display: block;
    font-weight: 300;
    font-size: 12px;
    color: rgb(255 255 255 / 81%);
}

.tx-author h4 {
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    line-height: 22px;
    margin: 0;
}

.a-fdb-1 {
    width: 100%;
}

.author-brnd-logo {
    position: absolute;
    bottom: 26px;
    left: 0;
    right: 0;
    margin: auto;
}
.author-card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.author-card-grid img {
    width: 100%;
    max-width: 225px;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 9px 18px rgba(6,38,69,.1);
}

.final-cta {
    position: relative;
    overflow: hidden;
    padding: 50px 0 0;
    color: #fff;
    background: var(--navy) url('../../images/cta-bg2.png') center / cover no-repeat;
    text-align: center;
}
.final-cta p {
    color: #fff;
}
.final-cta::before {
    position: absolute;
    content: '';
    inset: 0;
    background: rgba(3,35,63,.62);
}

.final-cta-inner {
    position: relative;
    z-index: 1;
}

.final-cta h2 {
    color: #fff;
}

.final-cta p {
    color: #d4e4ec;
}

.final-cta-books {
    width: min(760px, 90%);
    max-height: 210px;
    margin: 26px auto 0;
    object-fit: contain;
    object-position: center bottom;
}

.faq {
    padding: 70px 0 0;
}

.faq-container {
    max-width: 900px !important;
}

.faq .section-heading {
    margin-bottom: 22px;
}

.faq-list {
    display: grid;
    gap: 10px;
}

.faq-list details {
    overflow: hidden;
    border: 1px solid #e2edf2;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(6,38,69,.035);
}

.faq-list summary {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 54px;
    padding: 12px 52px 12px 20px;
    color: var(--navy);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::before {
    content: 'Ã¢Å“Â¦';
    display: grid;
    place-items: center;
    width: 25px;
    height: 25px;
    margin-right: 12px;
    border-radius: 50%;
    color: #fff;
    background: var(--navy);
    font-size: 11px;
}

.faq-list summary::after {
    position: absolute;
    right: 20px;
    content: '+';
    display: grid;
    place-items: center;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    color: #fff;
    background: var(--navy);
    font-size: 17px;
    line-height: 1;
}

.faq-list details[open] summary {
    color: #fff;
    background: var(--navy);
}

.faq-list details[open] summary::after {
    content: 'Ã¢Ë†â€™';
    color: var(--navy);
    background: #83d8ed;
}

.faq-list details[open] summary::before {
    color: var(--navy);
    background: #83d8ed;
}

.faq-list details p {
    margin: 0;
    padding: 12px 20px 17px 57px;
    /* color: #5c7386; */
    font-size: 13px;
}

.contact {
    /* background: #EFFBFF; */
    padding: 80px 0;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.contact-grid {
    grid-template-columns: .9fr 1.1fr;
    align-items: start;
    gap: 65px;
}

.contact-copy h2 {
    font-size: 46px;
}

.contact-details {
    display: grid;
    gap: 18px;
    margin: 29px 0 0;
    padding: 0;
    list-style: none;
}

.contact-details li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-details li > span {
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #22a8cf;
    font-size: 17px;
    background: rgba(16, 53, 65, 0.2);
}

.contact-details li div {
    display: flex;
    flex-direction: column;
}

.contact-details strong {
    font: bold 20px/1.3 var(--gilroy);
    color: #062645;
}

.contact-details a, .contact-details small {
    color: #062645;
    font-size: 18px;
    font-weight: 400;
}

.contact-form {
    display: grid;
    gap: 14px;
    border: 1px solid rgba(6,38,69,.05);
    border-radius: 16px;
    padding: 26px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(6,38,69,.08);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px;
}

.contact-form label {
    display: grid;
    gap: 6px;
    color: #062645;
    font-size: 14px;
    font-weight: 600;
}

.contact-form input, .contact-form select, .contact-form textarea {
    width: 100%;
    min-height: 43px;
    border: 1px solid #e4edf2;
    border-radius: 6px;
    outline: 0;
    padding: 10px 12px;
    color: #8F9384;
    background: #EFFBFF;
    font-size: 13px;
    font-weight: 400;
    transition: border-color .2s, box-shadow .2s;
}

.contact-form textarea {
    min-height: 95px;
    resize: vertical;
}

.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(84,194,227,.15);
}

.contact-form input::placeholder, .contact-form textarea::placeholder {
    color: #a0b1bd;
}

.form-submit {
    width: 100%;
    border: 0;
}

.form-submit span {
    margin-left: auto;
    font-size: 17px;
}

/* Footer */
.site-footer {
    color: #fff;
    background: var(--navy);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr .8fr .9fr .8fr 1.2fr;
    gap: 34px;
    padding-block: 56px 42px; }

.footer-brand > a {
    display: inline-block;
    width: 220px;
    margin-bottom: 16px;
}

.footer-brand img {
    width: 100%;
}

.footer-brand p {
    max-width: 245px;
    margin-bottom: 16px;
    color: #c0d2df;
    font-size: 12px;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 7px;
}

.social-links a {
    width: 29px;
    height: 29px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 50%;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    transition: color .2s, background .2s;
}

.social-links a:hover {
    color: var(--navy);
    background: var(--cyan);
}

.footer-top h3 {
    margin-bottom: 16px;
    color: #fff;
    font: 700 17px/1.2 var(--gilroy);
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
}

.footer-links a, .footer-contact a, .footer-contact p {
    color: #bfd0dc;
    font-size: 11px;
    line-height: 1.5;
}

.footer-links a:hover, .footer-contact a:hover {
    color: var(--cyan);
}

.footer-contact a, .footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0 0 12px;
}

.footer-contact span {
    color: var(--cyan);
}

.footer-bottom {
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    border-top: 1px solid rgba(255,255,255,.14);
    color: #bbccd8;
    font-size: 10px;
}

.footer-bottom div {
    display: flex;
    gap: 18px;
}

.footer-bottom a:hover {
    color: var(--cyan);
}


 .faq-item.active-item .timeline-node {
            background-color: var(--accent-cyan);
            border-color: var(--accent-cyan);
            box-shadow: 0 0 0 4px #f8fafc, 0 0 12px var(--accent-glow);
        }

        .faq-item.active-item .timeline-node::after {
            border-color: #ffffff;
            background-color: #ffffff;
        }

        /* Dark Navy Header Button */
        .faq-header-btn {
            position: relative;
            width: 100%;
            background-color: #082946;
            color: #ffffff;
            border: none;
            border-radius: 12px;
            padding: 18px 24px 18px 30px;
            text-align: left;
            font-weight: 700;
            font-size: 1.05rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
            cursor: pointer;
            transition: background-color 0.2s ease;
            clip-path: url(#subtract-shape2);
            position: relative;
            z-index: 1;
        }
.timeline-accordion {
    display: flex;
    flex-direction: column;
    gap: 18px 0 !important;
}
        .faq-header-btn:hover {
            /* background-color: var(--navy-hover); */
            /* color: #ffffff; */
        }

        .faq-header-btn:focus {
            outline: none;
            box-shadow: 0 0 0 3px var(--accent-glow);
        }

        .faq-question-text {
            padding-right: 15px;
            line-height: 1.4;
            display: flex;
            align-items: center;
            gap: 0 10px;
        }

        .toggle-icon {
            color: var(--accent-cyan);
            font-size: 1.25rem;
            font-weight: 800;
            min-width: 24px;
            text-align: center;
            transition: transform 0.3s ease;
            user-select: none;
        }

        /* Answer Content Panel */
        .faq-body-panel {
            padding: 20px 24px 10px 30px;
            color: var(--text-dark);
            font-size: 1rem;
            line-height: 1.65;
            font-weight: 400;
            background: transparent;
        }



.about-page {
    overflow: hidden;
    color: #062645;
    font-family: var(--inter);
}

.about-page h1,
.about-page h2,
.about-page h3 {
    /*color: #062645;*/
    font-family: var(--gilroy);
}

.about-hero {
    position: relative;
    display: flex;
    min-height: 310px;
    align-items: center;
    overflow: hidden;
    padding: 110px 0 38px;
    color: #fff;
    text-align: center;
    background: #062645 url('../../images/about/banner-bg.png') center / cover no-repeat;
}

.about-hero::before {
    position: absolute;
    inset: 0;
    content: '';
    background: linear-gradient(90deg, rgba(4, 31, 56, .76), rgba(4, 31, 56, .52));
}

.about-hero-content {
    position: relative;
    z-index: 1;
    max-width: 780px;
}

.about-hero h1 {
    margin: 0 0 12px;
    color: #fff;
    font-size: clamp(38px, 4vw, 54px);
    line-height: 1.05;
}

.about-hero p {
    max-width: 620px;
    margin: 0 auto;
    color: #e4f3fa;
    font-size: 16px;
    line-height: 1.55;
}

.about-hero .button-row {
    margin-top: 20px;
}

.about-intro {
    padding-block: 42px;
    background: #fff;
}

.about-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(28px, 5vw, 62px);
}

.about-intro-art,
.about-intro-copy {
    min-width: 0;
}

.about-intro-art img {
    display: block;
    width: 100%;
    max-height: 350px;
    object-fit: contain;
}

.about-intro-copy h2 {
    margin: 0 0 14px;
    font-size: clamp(30px, 3vw, 40px);
    line-height: 1.12;
}

.about-intro-copy p {
    margin: 0;
    color: #36516a;
    font-size: 16px;
    line-height: 1.65;
}

.about-intro-copy .button-row {
    margin-top: 18px;
}

.about-page .button-icon i {
    font-size: 14px;
}

@media (max-width: 760px) {
    .about-hero {
        min-height: 0;
        padding: 112px 0 42px;
    }
    img.tab-1-bnr-st, img.tab-2-bnr-st, img.tab-3-bnr-st, img.tab-4-bnr-st {
    display: none;
}
        .brand img {
        width: 125px;
        filter: brightness(100);
    }

    .about-hero h1 {
        font-size: 38px;
    }

    .about-hero-content {
        width: calc(100% - 34px);
    }

    .about-hero .button-row,
    .about-intro-copy .button-row {
        justify-content: center;
        gap: 10px;
    }

    .about-hero .button-row .button,
    .about-intro-copy .button-row .button {
        flex: 0 1 auto;
        white-space: nowrap;
    }

    .about-intro {
        padding-block: 34px;
    }

    .about-intro-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .about-intro-art img {
        width: min(100%, 460px);
        max-height: 300px;
        margin-inline: auto;
    }

    .about-intro-copy {
        text-align: center;
    }

    .about-intro-copy h2 {
        font-size: 32px;
    }
}

/* Genre slider mobile dots match the compact cyan pill and gray dot treatment. */
@media (max-width: 700px) {
    .genres.section-space .genre-dots { gap: 6px; }
    .genres.section-space .genre-dots .slick-dots {
        align-items: center;
        gap: 2px;
    }
    .genres.section-space .genre-dots .slick-dots li,
    .genres.section-space .genre-dots .slick-dots li button {
        width: 18px;
        height: 10px;
        padding: 0;
        background: transparent;
    }
    .genres.section-space .genre-dots .slick-dots li { flex: 0 0 10px; }
    .genres.section-space .genre-dots .slick-dots li button:before {
        display: block;
        top: 50%;
        left: 50%;
        width: 9px;
        height: 9px;
        border: 0;
        border-radius: 50%;
        background: #c5d3da;
        color: transparent;
        content: '';
        opacity: 1;
        transform: translate(-50%, -50%);
    }
    .genres.section-space .genre-dots .slick-dots li.slick-active { flex-basis: 18px; }
    .genres.section-space .genre-dots .slick-dots li.slick-active button { width: 18px; }
    .genres.section-space .genre-dots .slick-dots li.slick-active button:before {
        width: 18px;
        height: 6px;
        border: 0;
        border-radius: 4px;
        background: #58c5e5;
        color: transparent;
        opacity: 1;
    }
    .genres.section-space .genre-dots .fallback-dot {
        width: 6px;
        height: 6px;
        flex: 0 0 6px;
        border: 0;
        background: #c5d3da;
        opacity: 1;
        transform: none;
    }
    .genres.section-space .genre-dots .fallback-dot.is-active {
        width: 18px;
        height: 6px;
        flex-basis: 18px;
        border: 0;
        border-radius: 4px;
        background: #58c5e5;
    }
}

/* eBook service mobile pagination uses an active cyan pill with compact gray dots. */
@media (max-width: 760px) {
    .ebook-publishing-services.section-space .ebook-service-dots { min-height: 18px; margin-top: 4px; }
    .ebook-publishing-services.section-space .ebook-service-dots .slick-dots {
        align-items: center;
        gap: 2px;
    }
    .ebook-publishing-services.section-space .ebook-service-dots .slick-dots li,
    .ebook-publishing-services.section-space .ebook-service-dots .slick-dots li button {
        width: 10px;
        height: 10px;
        padding: 0;
    }
    .ebook-publishing-services.section-space .ebook-service-dots .slick-dots li { flex: 0 0 10px; }
    .ebook-publishing-services.section-space .ebook-service-dots .slick-dots li button:before {
        top: 50%;
        left: 50%;
        width: 6px;
        height: 6px;
        border: 0;
        border-radius: 50%;
        background: #c5d3da;
        color: transparent;
        content: '';
        opacity: 1;
        transform: translate(-50%, -50%);
    }
    .ebook-publishing-services.section-space .ebook-service-dots .slick-dots li.slick-active { flex-basis: 18px; }
    .ebook-publishing-services.section-space .ebook-service-dots .slick-dots li.slick-active button { width: 18px; }
    .ebook-publishing-services.section-space .ebook-service-dots .slick-dots li.slick-active button:before {
        width: 18px;
        height: 6px;
        border-radius: 4px;
        background: #58c5e5;
        color: transparent;
        opacity: 1;
    }
}

/* Children's purpose mobile slider uses small round indicators on the cyan panel. */
@media (max-width: 760px) {
    .children-purpose.section-space .children-purpose-dots { min-height: 18px; margin-top: 4px; }
    .children-purpose.section-space .children-purpose-dots .slick-dots {gap: 8px;}
    .children-purpose.section-space .children-purpose-dots .slick-dots li,
    .children-purpose.section-space .children-purpose-dots .slick-dots li button {
        width: 8px;
        height: 8px;
        padding: 0;
    }
    .children-purpose.section-space .children-purpose-dots .slick-dots li { flex: 0 0 8px; }
    .children-purpose.section-space .children-purpose-dots .slick-dots li button:before {
        top: 0;
        left: 0;
        width: 9px;
        height: 9px;
        border-radius: 50%;
        background: #71899b;
        color: transparent;
        content: '';
        opacity: 1;
    }
    .children-purpose.section-space .children-purpose-dots .slick-dots li.slick-active button:before {
        background: #fff;
        opacity: 1;
    }
}

.writing-page {
    overflow: hidden;
}

.writing-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    height: 630px;
    padding: 150px 0 58px;
    color: #fff;
    background: #062645 url('../../images/writing-services/banner-bg.png') center / cover no-repeat;
    display: flex;
    align-items: center;
}

.writing-hero::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: '';
    background: linear-gradient(90deg, rgba(4, 31, 56, .28), rgba(4, 31, 56, .02) 72%);
}

.writing-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr);
    align-items: f;
    gap: 32px;
}

.writing-hero-copy {
    position: relative;
    z-index: 1;
    max-width: 650px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.writing-kicker {
    display: inline-flex;
    margin-bottom: 15px;
    color: #a9e8f7;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.writing-hero h1 {
    max-width: 660px;
    margin-bottom: 18px;
    color: #fff;
}

.writing-hero h1 span {
    color: #ffffff;
}

.writing-hero-copy > p {
    max-width: 590px;
    margin-bottom: 0;
    color: #e1eef5;
    line-height: 1.72;
}

.writing-hero .button-row {
    margin-top: 27px;
}

.writing-hero .button {
    /* min-height: 48px; */
    /* padding-inline: 20px; */
}

.writing-hero-note {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 22px;
    color: #c5dce8;
    font-size: 14px;
}

.writing-hero-note span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #54c2e3;
    box-shadow: 0 0 0 5px rgba(84, 194, 227, .15);
}

.writing-hero-art {
    position: relative;
    align-self: end;
    display: grid;
    place-items: center;
    min-height: 380px;
}

.writing-hero-art::after {
    position: absolute;
    right: 4%;
    bottom: 1%;
    z-index: -1;
    width: 80%;
    height: 18%;
    border-radius: 50%;
    content: '';
    background: rgba(0, 0, 0, .34);
    filter: blur(30px);
}

.writing-hero-art img {
    width: min(100%, 540px);
    max-height: 440px;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 24px 28px rgba(0, 0, 0, .18));
}

.writing-intro {
    padding: 82px 0 76px;
    background: #fff;
}

.writing-intro-grid {
    /* display: grid; */
    /* grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); */
    /* align-items: center; */
    /* gap: clamp(44px, 8vw, 100px); */
    padding: 20px 0 40px;
}

.writing-intro-art {
    position: relative;
    place-items: center;
    padding: 20px 20px;
    z-index: 1;
}

.writing-intro-art > img {
    position: relative;
    z-index: 1;
}
.dots-img-st {
    position: absolute !important;
    top: 0;
    left: 0;
    z-index: -1 !important;
}

.line-img-st {
    position: absolute !important;
    bottom: -50px;
    z-index: -1 !important;
    left: 0px;
}
.writing-art-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(74%, 310px);
    aspect-ratio: 1;
    border: 1px solid rgba(84, 194, 227, .7);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.writing-art-note {
    position: absolute;
    right: -18px;
    bottom: 22px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 205px;
    border-radius: 12px;
    padding: 12px 16px;
    color: var(--navy);
    background: #fff;
    box-shadow: 0 12px 30px rgba(6, 38, 69, .13);
    font-family: var(--gilroy);
    font-size: 15px;
    font-weight: 700;
}

.writing-art-note img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.writing-intro-copy h2,
.writing-process-copy h2 {
    max-width: 650px;
}

.writing-intro-copy > p,
.writing-process-copy > p {
    max-width: 620px;
    color: #557087;
}

.writing-intro-copy .button-row {
    margin-top: 24px;
}

.writing-benefits {
    /* display: grid; */
    /* grid-template-columns: repeat(3, minmax(0, 1fr)); */
    /* gap: 15px; */
    margin-top: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0 30px;
}
.writing-benefits article:hover p {
    height: 50px;
    top: 0;
}
.writing-benefits article {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    height: 200px;
    border-radius: 12px;
    padding: 20px 25px;
    background: #DEF3FA;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden;
    transition: all .5s ease-in-out;
    justify-content: center;
}

.writing-benefits article > span {
    flex: 0 0 34px;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: var(--navy);
    background: #fff;
    font: 700 13px/1 var(--gilroy);
}

.writing-benefits h3 {
    margin: 1px 0 5px;
    font-size: 19px;
    font-weight: bold;
}

.writing-benefits p {
    margin: 0;
    color: #557087;
    font-size: 16px;
    line-height: 1.55;
    height: 0;
    position: relative;
    top: 90px;
    transition: all .5s ease-in-out;
}

.writing-service-showcase {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 68px 0 78px;
    background: #54c2e3;
    margin-bottom: 70px;
}

.writing-service-showcase::before {
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 0;
    width: max(24%, calc((100% - 1180px) / 2 + 250px));
    content: '';
    background: #062645 url('../../images/writing-services/services-bg-right.png') center / cover no-repeat;
}

.writing-services-heading {
    max-width: 720px;
    margin: 0 auto 35px;
    text-align: center;
}

.writing-services-heading .eyebrow {
    background: #062645;
}

.writing-services-heading h2 {
    margin-bottom: 10px;
}

.writing-services-heading p {
    max-width: 620px;
    margin: 0 auto;
    color: #123b5b;
}

.writing-services-layout {
    display: grid;
    grid-template-columns: minmax(280px, .83fr) minmax(0, 1.47fr);
    align-items: stretch;
    gap: 26px;
}

.writing-service-art {
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    margin: 0;
    border-radius: 18px;
    /* background: #0a3556; */
}

.writing-service-art::before {
    position: absolute;
    inset: 0;
    content: '';
    /* background: linear-gradient(180deg, rgba(6, 38, 69, .02) 40%, rgba(6, 38, 69, .94)); */
}

.writing-service-art-glow {
    position: absolute;
    top: 12%;
    left: 50%;
    width: 65%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: rgba(84, 194, 227, .15);
    filter: blur(35px);
    transform: translateX(-50%);
}

.writing-service-art img {
    position: relative;
    z-index: 1;
    width: 339px;
    /* max-height: 345px; */
    /* object-fit: contain; */
    /* filter: drop-shadow(0 20px 22px rgba(0, 0, 0, .28)); */
    /* transition: opacity .22s ease, transform .35s cubic-bezier(.2, .75, .2, 1); */
    height: 546px;
}

.writing-service-art img.is-changing {
    opacity: .45;
    transform: translateY(5px) scale(.98);
}

.writing-service-art figcaption {
    position: absolute;
    right: 24px;
    bottom: 22px;
    left: 24px;
    z-index: 2;
    color: #fff;
    font: 700 20px/1.3 var(--gilroy);
    text-align: center;
    display: none;
}

.writing-service-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.testimonial-card:hover blockquote {
    color: #fff;
}
.writing-service-option {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 136px;
    border: 1px solid rgba(6, 38, 69, .11);
    border-radius: 12px;
    padding: 19px 43px 18px 18px;
    color: var(--navy);
    background: rgba(255, 255, 255, .96);
    text-align: left;
    cursor: pointer;
    transition: color .24s ease, background .24s ease, transform .24s ease, box-shadow .24s ease;
}

.writing-service-option:hover,
.writing-service-option:focus-visible,
.writing-service-option.is-active {
    color: #fff;
    background: var(--navy);
    box-shadow: 0 12px 24px rgba(6, 38, 69, .16);
    transform: translateY(-2px);
}

.writing-service-option:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 2px;
}

.writing-service-option-title {
    margin-bottom: 12px;
    font: 700 22px/1.2 var(--gilroy);
}

.writing-service-option > span:nth-child(2) {
    color: #557087;
    font-size: 16px;
    line-height: 1.48;
    transition: color .24s ease;
}

.writing-service-option:hover > span:nth-child(2),
.writing-service-option:focus-visible > span:nth-child(2),
.writing-service-option.is-active > span:nth-child(2) {
    color: #d5e7f0;
}

.writing-service-option-arrow {
    position: absolute;
    top: 17px;
    right: 17px;
    display: grid;
    place-items: center;
    width: 25px;
    height: 25px;
    border: 1px solid rgba(6, 38, 69, .18);
    border-radius: 50%;
    font-size: 15px;
    transition: color .24s ease, background .24s ease, border-color .24s ease;
    display: none;
}

.writing-service-option:hover .writing-service-option-arrow,
.writing-service-option:focus-visible .writing-service-option-arrow,
.writing-service-option.is-active .writing-service-option-arrow {
    border-color: #54c2e3;
    color: var(--navy);
    background: #54c2e3;
}

.writing-authors {
    padding: 70px 0;
    background: #fff;
}
.writing-authors-hme-pg{
    padding-bottom: 0;
}
/*.writing-serv-authors{
    display: block;
}*/
.writing-serv-pg .writing-authors{
    display: none;
}

.writing-author-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.writing-author-card {
    position: relative;
    min-height: 320px;
    overflow: hidden;
    border-radius: 12px;
    background: #eaf7fb;
    box-shadow: 0 8px 22px rgba(6, 38, 69, .1);
}

.writing-author-photo {
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: center 35%;
    transition: transform .45s cubic-bezier(.2, .75, .2, 1);
}

.writing-author-card:hover .writing-author-photo {
    transform: scale(1.04);
}

.writing-author-book {
    position: absolute;
    bottom: 37px;
    right: 14px;
    width: 91px;
    height: 129px;
    border: 3px solid #fff;
    border-radius: 3px;
    object-fit: cover;
    box-shadow: 0 7px 16px rgba(6, 38, 69, .24);
    z-index: 1;
}

.writing-author-card > div {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    min-height: 78px;
    padding: 11px 14px 12px 24px;
    color: #fff;
    background: #fff;
    width: auto;
}

.writing-author-card > div span {
    font-size: 22px;
    font-family: var(--gilroy);
    color: var(--ink);
    font-weight: bold;
}

.writing-author-card h3 {
    margin: 0;
    font-size: 14px;
    color: var(--ink);
    font-weight: 500;
}

.writing-process {
    padding: 76px 0 85px;
    background: #effaff;
}

.writing-process-grid {
    display: grid;
    grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
    align-items: center;
    gap: clamp(42px, 7vw, 92px);
}

.writing-process-art {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 450px;
    overflow: hidden;
    border-radius: 18px;
    background: #d9f4fb;
}

.writing-process-art::before,
.writing-process-art::after {
    position: absolute;
    border: 1px solid rgba(6, 38, 69, .12);
    border-radius: 50%;
    content: '';
}

.writing-process-art::before {
    width: 380px;
    height: 380px;
}

.writing-process-art::after {
    width: 300px;
    height: 300px;
}

.writing-process-art img {
    position: relative;
    z-index: 1;
    width: min(88%, 420px);
    max-height: 310px;
    object-fit: contain;
    filter: drop-shadow(0 16px 18px rgba(6, 38, 69, .18));
}

.writing-process-art > span {
    position: absolute;
    bottom: 22px;
    z-index: 2;
    color: var(--navy);
    font: 700 18px/1.28 var(--gilroy);
    text-align: center;
}

.writing-process-copy > p {
    margin-bottom: 22px;
}

.writing-process-steps {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.writing-process-steps li {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 13px;
    padding: 14px 0;
    border-top: 1px solid rgba(6, 38, 69, .13);
}

.writing-process-steps li > span {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: #fff;
    background: var(--navy);
    font: 700 14px/1 var(--gilroy);
}

.writing-process-steps h3 {
    margin: 0 0 3px;
    font-size: 19px;
}

.writing-process-steps p {
    margin: 0;
    color: #557087;
    font-size: 14px;
    line-height: 1.5;
}

.writing-process-copy .button-row {
    margin-top: 20px;
}
.writing-intro-art:before {
    content: '';
    background: linear-gradient(360deg, #BDE7F5 0%, #EFF9FC 100%);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 80%;
    height: 100%;
    margin: auto;
    border-radius: 20px;
}

@media (max-width: 1000px) {
    .writing-hero {
        min-height: 540px;
        padding-top: 128px;
    }

    .writing-hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(300px, .8fr);
        gap: 12px;
    }

    .writing-hero-art {
        min-height: 310px;
    }

    .writing-hero-art img {
        max-height: 360px;
    }

    .writing-intro-grid,
    .writing-process-grid {
        gap: 42px;
    }

    .writing-benefits {
        gap: 10px;
    }

    .writing-benefits article {
        flex-direction: column;
        gap: 10px;
    }

    .writing-service-showcase::before {
        width: 23%;
    }

    .writing-services-layout {
        grid-template-columns: minmax(245px, .78fr) minmax(0, 1.22fr);
        gap: 18px;
    }

    .writing-service-art {
        min-height: 430px;
    }

    .writing-service-list {
        gap: 9px;
    }

    .writing-service-option {
        min-height: 136px;
        padding: 17px 37px 15px 15px;
    }
}

@media (max-width: 760px) {
    .genre-slider {
        width: 100%;
        margin: 0;
        padding-bottom: 16px;
    }

    .genre-slider .slick-slide {
        padding: 5px 8px;
    }

    .genre-card {
        margin-top: 0;
    }

    .genre-slider.fallback-carousel > .genre-card {
        flex-basis: 100%;
        scroll-snap-align: center;
    }

    .writing-hero {
        min-height: auto;
        padding: 120px 0 52px;
    }
.writing-hero-art.aplus-hero-art {
    height: 100%;
}

.amazon-a-content-page .aplus-hero {
    padding-bottom: 0;
}
    .writing-hero-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .writing-hero-copy {
        max-width: 620px;
        text-align: center;
        justify-content: center;
        align-items: center;
    }

    .writing-hero-art {
        margin-top: 24px;
    }
    .writing-hero-art.book-illustration-hero-art {
    margin-top: 0;
}

.writing-hero-art.book-illustration-hero-art img {
    top: 40px;
}

.book-illustration-hero {
    padding-bottom: 0;
}
    .children-book-illustration .children-book-hero .writing-hero-art.children-hero-art {
    margin-top: 0;
}
.children-book-illustration .children-hero-art img {

    top: 40px;
}
    .writing-hero-art img {
        width: min(82%, 390px);
        max-height: 270px;
    }

    .writing-intro {
        padding: 60px 0;
    }

    .writing-intro-grid,
    .writing-process-grid {
        grid-template-columns: 1fr;
    }

    .writing-intro-art {
        min-height: 300px;
    }

    .writing-intro-art > img {
        max-height: 290px;
        /* display: none; */
    }

    .writing-benefits {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 34px;
        flex-direction: column;
    }

    .writing-benefits article {
        flex-direction: row;
        align-items: flex-start;
        min-height: auto;
        text-align: left;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .writing-service-showcase {
        padding: 56px 0 60px;
    }

    .writing-service-showcase::before {
        right: 0;
        width: 100%;
        height: 28%;
        bottom: auto;
    }

    .writing-services-heading {
        margin-bottom: 26px;
    }

    .writing-services-heading .eyebrow {
        border: 1px solid rgba(255, 255, 255, .25);
    }

    .writing-services-layout {
        grid-template-columns: 1fr;
    }

    .writing-service-art {
        min-height: 320px;
        display: none;
    }

    .writing-service-art img {
        max-height: 240px;
        display: none;
    }

    .writing-service-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .writing-service-option {
        min-height: 145px;
    }

    .writing-author-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .writing-process-art {
        min-height: 330px;
        grid-row: 2;
    }

    .writing-process-art img {
        max-height: 235px;
    }
}

@media (max-width: 480px) {
    .writing-hero {
        padding-top: 115px;
        height: max-content;
    }

    .writing-kicker {
        font-size: 12px;
    }

    .writing-hero .button-row,
    .writing-intro-copy .button-row {
        align-items: stretch;
    }

    .writing-hero .button-row .button,
    .writing-intro-copy .button-row .button {
        flex: 1 1 100%;
    }

    .writing-intro-grid,
    .writing-process-grid {
        gap: 30px;
    }

    .writing-intro-art {
        min-height: 245px;
    }

    .writing-art-note {
        right: -6px;
        bottom: 12px;
        max-width: 180px;
        padding: 9px 12px;
        font-size: 13px;
    }

    .writing-service-list {
        grid-template-columns: 1fr;
    }

    .writing-service-option {
        min-height: 112px;
    }

    .writing-author-grid {
        gap: 11px;
    }

    .writing-author-card,
    .writing-author-photo {
        min-height: 230px;
        height: 230px;
    }

    .writing-author-book {
        bottom: 65px;
        left: 8px;
        width: 55px;
        height: 80px;
    }

    .writing-author-card > div {
        min-height: 72px;
        padding: 10px 8px 9px 70px;
    }

    .writing-author-card h3 {
        font-size: 15px;
    }

    .writing-process-art {
        min-height: 270px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .writing-page *,
    .writing-page *::before,
    .writing-page *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}

        @media (max-width: 576px) {
            .timeline-accordion {
                padding-left: 0;
            }
            .timeline-accordion::before {
                left: 13px;
            }
            .timeline-node {
                left: -28px;
                width: 28px;
                height: 28px;
                top: 11px;
            }
            .timeline-node::after {
                width: 10px;
                height: 10px;
            }
            .faq-header-btn {
                padding: 14px 18px 14px 22px;
                font-size: 0.95rem;
                --notch-size: 17px;
            }
        }

/*flip-bk*/
 /* Pinned Flipbook Stage */
.flipbook-section:before {
    content: '';
    background: #fff;
    opacity: 0.4;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    filter: blur(55px);
    z-index: -1;
}
.flipbook-section .section-heading.section-heading--compact {
    margin-bottom: 40px;
}
.flipbook-section .hd-txt {
    position: relative;
    z-index: 9;
}
 /* Yeh rotator screen ke bilkul center me spin karta hai */
    .orbit-rotator {
      position: absolute;
      width: 800px;
      height: 800px;
      display: flex;
      justify-content: center;
      align-items: center;
      /* Poora system center ke around 360 degree ghoomta hai */
      animation: spinCenter 12s linear infinite;
    }

    .circle {
      position: absolute;
      border-radius: 50%;
      mix-blend-mode: screen;
      opacity: 0.85;
      will-change: transform;
      filter: blur(115px);
      z-index: -1;
    }

    /* --- CIRCLE 1 (Center se thoda oopar) --- */
    .circle-1 {
      width: 340px;
      height: 340px;
      background: #062645;
      top: 0;
      animation: pulseUpDown1 6s ease-in-out infinite alternate;
      /* filter: blur(75px); */
    }

    /* --- CIRCLE 2 (Center se thoda neeche) --- */
    .circle-2 {
      width: 360px;
      height: 360px;
      background: #5CC3E8;
      bottom: 0;
      animation: pulseUpDown2 6s ease-in-out infinite alternate;
      /* filter: blur(85px); */
    }

    /* Center ke charo taraf 360 degree rotation (Chakkar lagana) */
    @keyframes spinCenter {
      from {
        transform: rotate(0deg);
      }
      to {
        transform: rotate(360deg);
      }
    }

    /* Thoda sa breathe/pulse effect taake motion fluid lage */
    @keyframes pulseUpDown1 {
      0% {
        transform: scale(1) translateY(0);
      }
      100% {
        transform: scale(1.15) translateY(-30px);
      }
    }

    @keyframes pulseUpDown2 {
      0% {
        transform: scale(1) translateY(0);
      }
      100% {
        transform: scale(1.15) translateY(30px);
      }
    }

    .flipbook-section {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      background: #fff;
      background-size: cover;
      background-repeat: no-repeat;
      background-position: center;
      position: relative;
      overflow: hidden;
      /* background: rgba(255, 255, 255, 0.4); */
      /* backdrop-filter: blur(105px); */
      z-index: 1;
    }

    /* 3D Viewport */
    .book-wrapper {
      position: relative;
      width: var(--book-w);
      height: var(--book-h);
      perspective: 2500px;
      perspective-origin: 50% 50%;
      will-change: transform;
    }

    /* Spine Center Crease Shadow */
    .spine-shadow {
      position: absolute;
      top: 0;
      bottom: 0;
      left: 50%;
      width: 40px;
      transform: translateX(-50%);
      background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.05) 50%,
        rgba(0, 0, 0, 0.4) 100%
      );
      z-index: 50;
      pointer-events: none;
    }

    /* Each Flip Leaf */
    .book-page {
      position: absolute;
      top: 0;
      left: 50%;
      width: 50%;
      height: 100%;
      transform-origin: left center;
      transform-style: preserve-3d;
      will-change: transform, z-index;
    }

    /* Front and Back of Page */
    .page-face {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      backface-visibility: hidden;
      -webkit-backface-visibility: hidden;
      padding: clamp(1.2rem, 3.5vw, 2.3rem);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      overflow: hidden;
    }

    /* Standard Inside Pages */
    .page-front {
      background-color: var(--page-bg);
      color: #212529;
      border-radius: 0 8px 8px 0;
      box-shadow: 15px 20px 35px rgba(0, 0, 0, 0.35), inset 20px 0 35px -15px rgba(0, 0, 0, 0.15);
    }

    .page-back {
      transform: rotateY(180deg);
      background-color: var(--page-bg);
      color: #212529;
      border-radius: 8px 0 0 8px;
      box-shadow: -15px 20px 35px rgba(0, 0, 0, 0.35), inset -20px 0 35px -15px rgba(0, 0, 0, 0.15);
    }
    .page-face.page-back.first-page-st-bk {
    padding-left: 25px;
    padding-top: 20px;
}

    /* Hardcover Style (Front & Back Covers) */
    .hardcover-front {
      background: linear-gradient(135deg, #102A34 0%, #102A34 100%);
      color: #f1f5f9;
      border-radius: 0 10px 10px 0;
      box-shadow: 25px 25px 45px rgba(0,0,0,0.6);
      border: 1px solid rgba(197, 168, 105, 0.35);
      border-left: none;
    }

    .hardcover-front::after {
      content: '';
      position: absolute;
      inset: 12px;
      border: 1px solid rgba(197, 168, 105, 0.25);
      pointer-events: none;
      border-radius: 0 6px 6px 0;
    }

    .hardcover-back {
      background: linear-gradient(135deg, #1b212d 0%, #0d1017 100%);
      color: #f1f5f9;
      border-radius: 10px 0 0 10px;
      box-shadow: -25px 25px 45px rgba(0,0,0,0.6);
      border: 1px solid rgba(197, 168, 105, 0.35);
      border-right: none;
    }
    .hardcover-back img {
        margin: 0 auto;
    }

    .hardcover-back::after {
      content: '';
      position: absolute;
      inset: 12px;
      border: 1px solid rgba(197, 168, 105, 0.25);
      pointer-events: none;
      border-radius: 6px 0 0 6px;
    }

    /* Badges & Accents */
    .badge-chapter {
      background-color: rgba(197, 168, 105, 0.15);
      color: #9d803c;
      font-size: 0.75rem;
      font-weight: 600;
      letter-spacing: 1px;
      text-transform: uppercase;
      padding: 0.35rem 0.75rem;
      border-radius: 20px;
      width: fit-content;
    }

    .gold-title {
      color: var(--gold-accent);
      letter-spacing: 2px;
    }

    .scroll-hint {
      position: absolute;
      bottom: 2rem;
      letter-spacing: 2px;
      text-transform: uppercase;
      font-size: 0.8rem;
      color: var(--gold-accent);
      animation: pulse 2s infinite;
    }

    @keyframes pulse {
      0%, 100% { opacity: 0.5; transform: translateY(0); }
      50% { opacity: 1; transform: translateY(5px); }
    }

    section#flipBookSection:after {
    position: absolute;
    z-index: 1;
    right: 0;
    bottom: 0;
    left: 0;
    height: 180px;
    content: '';
    background: #fff;
    z-index: -1;
}

.cta-space-btn {
    background: #ffffff;
    position: absolute;
    bottom: 0;
    margin: 0;
    left: 0;
    right: 0;
    width: 500px;
    height: 70px;
    margin: auto;
    z-index: 0;
    border-radius: 30px 30px 0px 0px;
}

.cta-space-btn:before {
    height: 3.85em;
    background: transparent;
    inset: 0.75em 0 0 3.45em;
    border-bottom-right-radius: 7.25em;
    box-shadow: 0.3em 0.3em 0 0.3em var(--black);
    transition: 1s ease;
    top: auto;
    bottom: 0;
    left: -57px;
    right: auto;
}

.cta-space-btn:after {
    position: absolute;
    content: "";
    background: transparent;
    inset: calc(100% - 2.82em) 0 0 0;
    border-bottom-right-radius: 7.25em;
    box-shadow: 0.4em 0.3em 0 0.3em #ffffff;
    transition: 1s ease;
    height: 2.85em;
    width: 1.95em;
    right: -31px;
    left: auto;
    transform: scaleX(-1);
}

.cta-space-btn:before {
    position: absolute;
    content: "";
    background: transparent;
    inset: calc(100% - 2.82em) 0 0 0;
    border-bottom-right-radius: 7.25em;
    box-shadow: 0.4em 0.3em 0 0.3em #ffffff;
    transition: 1s ease;
    height: 2.85em;
    width: 1.95em;
    left: -30px;
    right: auto;
    transform: scaleX(-);
}
.cta-btn-st {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.port-bx img {
    width: 200px;
    margin: 0 auto;
    display: table;
}
.designing-port-sec .port-bx img {
    width: 180px;
    
}


.portfolio-lightbox-link {
    position: relative;
    z-index: 3;
    display: block;
    width: 100%;
}

.portfolio-lightbox-link img {
    cursor: zoom-in;
}

.port-bx {
    position: relative;
    z-index: 1;
    padding: 39px 0;
}
.port-bx:before {
    content: '';
    background: url(../../images/port-border.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    height: 100%;
    width: 100%;
    z-index: 2;
}
.book-page h3.h4.font-serif.mt-3 {
    font-size: 17px;
}

.book-page p {
    font-size: 13px;
}

.book-page h3.h4.font-serif.mt-3 ul.list-unstyled li {
    font-size: 13px;
}

.book-page ul.list-unstyled.small li {
    font-size: 12px;
}


/*process-writing-serv*/


    .process-writing-services .section-title {
      color: var(--primary-navy);
      font-size: clamp(1.85rem, 3.4vw, 2.75rem);
      letter-spacing: -0.5px;
      text-align: center;
      margin-bottom: 2.8rem;
    }

    .process-writing-services .process-container {
      position: relative;
      max-width: 1240px;
      margin: 0 auto;
      padding: 10px;
    }

    .process-writing-services .book-wrapper-outer {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 480px;
    }

    /* Decorative Dynamic Peeking Book */
    .process-writing-services .peeking-book {
      position: absolute;
      left: 1.5%;
      top: 42%;
      transform: translateY(-50%) rotate(-6deg);
      width: 255px;
      height: 395px;
      border-radius: 6px 14px 14px 6px;
      background: linear-gradient(135deg, rgba(20, 10, 5, 0.2), rgba(0, 0, 0, 0.75)),
                  url('https://images.unsplash.com/photo-1506744038136-46273834b3fb?auto=format&fit=crop&w=700&q=80') center/cover no-repeat;
      box-shadow: -18px 24px 40px rgba(0, 0, 0, 0.48), 
                  inset -3px 0 10px rgba(0,0,0,0.5),
                  inset 4px 0 6px rgba(255,255,255,0.25);
      z-index: 1;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      padding: 26px 22px;
      color: #ffffff;
      pointer-events: none;
      transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), background 0.5s ease;
    }

    .process-writing-services .peeking-book-content {
      transition: opacity 0.3s ease, transform 0.3s ease;
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .process-writing-services .peeking-book.changing-cover {
      transform: translateY(-48%) rotate(-3deg) scale(0.97);
    }

    .process-writing-services .peeking-book.changing-cover .peeking-book-content {
      opacity: 0;
      transform: translateY(8px);
    }

    .process-writing-services .peeking-book .author {
      font-family: var(--gilroy);
      font-size: 0.85rem;
      letter-spacing: 5px;
      text-transform: uppercase;
      font-weight: 700;
      opacity: 0.95;
      text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    }

    .process-writing-services .peeking-book .main-title {
      font-family: var(--gilroy);
      font-size: 1.95rem;
      font-weight: 900;
      letter-spacing: 2px;
      color: #fed071;
      line-height: 1.05;
      text-shadow: 0 3px 6px rgba(0,0,0,0.9);
      transition: color 0.3s ease;
    }

    .process-writing-services .peeking-book .sub-title {
      font-family: var(--gilroy);
      font-style: italic;
      font-size: 1.4rem;
      color: #ffffff;
      display: block;
      margin-top: 4px;
      text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    }

    /* 3D Book Stage */
    .process-writing-services .main-book-stage {
      position: relative;
      z-index: 99;
      perspective: 2000px;
      width: 100%;
      max-width: 580px;
      height: 430px;
      margin-left: 65px;
    }

    .process-writing-services .book-shell {
      position: relative;
      width: 100%;
      height: 100%;
      background: #fdfdfd;
      border-radius: var(--page-radius);
      box-shadow: 0 24px 50px -10px rgba(7, 26, 44, 0.32),
                  0 12px 24px -6px rgba(0, 0, 0, 0.16);
      user-select: none;
      transform-style: preserve-3d;
      -webkit-transform-style: preserve-3d;
      overflow: visible;
    }

    .process-writing-services .book-shell::before {
      content: '';
      position: absolute;
      left: 10px;
      right: 10px;
      bottom: -10px;
      height: 12px;
      /* background: linear-gradient(to right, #c7c7c7 0%, #fff 15%, #d5d5d5 48%, #1f2a33 50%, #d5d5d5 52%, #fff 85%, #c7c7c7 100%); */
      /* border-radius: 0 0 10px 10px; */
      /* box-shadow: 0 8px 18px rgba(0,0,0,0.22); */
      z-index: -1;
    }

    .process-writing-services .book-base-plate {
      position: absolute;
      top: 0;
      width: calc(50% + 1px);
      height: 100%;
      overflow: hidden;
      transform-style: preserve-3d;
    }

    .process-writing-services .book-base-left {
      left: 0;
      border-radius: var(--page-radius) 0 0 var(--page-radius);
      background: linear-gradient(to right, #eaedf0 0%, #ffffff 18%, #ffffff 82%, #e5e9ee 100%);
      padding: 75px 28px 75px 32px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
      z-index: 2;
    }

    .process-writing-services .book-base-right {
      right: 0;
      border-radius: 0 var(--page-radius) var(--page-radius) 0;
      background: linear-gradient(to left, #eaedf0 0%, #ffffff 18%, #ffffff 82%, #e5e9ee 100%);
      padding: 42px 32px 30px 28px;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      z-index: 2;
    }

    .process-writing-services .book-leaf {
      position: absolute;
      top: 0;
      right: 0;
      width: calc(50% + 1px);
      height: 100%;
      transform-origin: 0% 50%;
      transform-style: preserve-3d;
      -webkit-transform-style: preserve-3d;
      transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
      will-change: transform;
      cursor: pointer;
    }

    .process-writing-services .leaf-side {
      position: absolute;
      inset: 0;
      backface-visibility: hidden;
      -webkit-backface-visibility: hidden;
      overflow: hidden;
      transform-style: preserve-3d;
      -webkit-transform-style: preserve-3d;
    }

    .process-writing-services .leaf-side.front {
      transform: rotateY(0deg);
      -webkit-transform: rotateY(0deg);
      border-radius: 0 var(--page-radius) var(--page-radius) 0;
      background: linear-gradient(to left, #eaedf0 0%, #ffffff 18%, #ffffff 82%, #e5e9ee 100%);
      padding: 42px 32px 30px 28px;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
    }

    .process-writing-services .leaf-side.back {
      transform: rotateY(180deg);
      -webkit-transform: rotateY(180deg);
      border-radius: var(--page-radius) 0 0 var(--page-radius);
      background: linear-gradient(to right, #eaedf0 0%, #ffffff 18%, #ffffff 82%, #e5e9ee 100%);
      padding: 75px 28px 75px 32px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
    }

    .process-writing-services .center-spine-crease {
      position: absolute;
      top: 0;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 16px;
      background: linear-gradient(to right, 
        rgba(0, 0, 0, 0.12) 0%, 
        rgba(0, 0, 0, 0.03) 42%, 
        rgba(0, 0, 0, 0.24) 50%, 
        rgba(0, 0, 0, 0.03) 58%, 
        rgba(0, 0, 0, 0.12) 100%);
      z-index: 45;
      pointer-events: none;
    }

    .process-writing-services .leaf-lighting {
      position: absolute;
      inset: 0;
      pointer-events: none;
      border-radius: inherit;
      background: linear-gradient(to right, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.03) 50%, rgba(0,0,0,0) 100%);
      opacity: 0;
      transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1);
      will-change: opacity;
      z-index: 10;
    }

    .process-writing-services .book-leaf.turning .leaf-lighting {
      opacity: 1;
    }

    .process-writing-services .step-heading-small {
      font-family: var(--gilroy);
      font-size: 1.15rem;
      font-weight: 800;
      letter-spacing: 2.5px;
      color: var(--primary-navy);
      text-transform: uppercase;
      margin-bottom: 2px;
      line-height: 1;
    }

    .process-writing-services .step-heading-large {
      font-family: var(--gilroy);
      font-size: 3.5rem;
      font-weight: 900;
      color: var(--primary-navy);
      line-height: 0.95;
      margin-bottom: 18px;
    }

    .process-writing-services .process-icon-wrap {
      width: 142px;
      height: 142px;
      position: relative;
      margin-top: auto;
      margin-bottom: 15px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .process-writing-services .process-icon-wrap svg {
      width: 100%;
      height: 100%;
      filter: drop-shadow(0 4px 6px rgba(0, 43, 69, 0.14));
    }

    .process-writing-services .page-title {
      font-family: var(--gilroy);
      font-size: 1.5rem;
      font-weight: 800;
      color: var(--primary-navy);
      letter-spacing: 0.8px;
      margin-bottom: 18px;
      text-transform: uppercase;
    }

    .process-writing-services .page-desc {
      font-size: 0.9rem;
      line-height: 1.68;
      color: var(--text-dark);
      font-weight: 400;
      position: relative;
      z-index: 2;
    }

    .process-writing-services .watermark-emblem {
      position: absolute;
      right: -10px;
      bottom: -15px;
      width: 180px;
      height: 180px;
      opacity: 0.08;
      pointer-events: none;
      z-index: 1;
    }

    /* Pill Tabs Styling */
    .process-writing-services .tabs-wrapper {
      display: flex;
      flex-direction: column;
      gap: 16px;
      margin-left: -48px;
      position: relative;
      z-index: 60;
      left: 30px;
    }

    .process-writing-services .tab-step-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 320px;
      padding: 13px 20px 13px 62px;
      border-radius: 0 50px 50px 0;
      background-color: var(--sky-blue);
      color: #ffffff;
      font-weight: 700;
      font-size: 1.05rem;
      border: none;
      outline: none;
      cursor: pointer;
      box-shadow: 0 6px 15px rgba(88, 197, 240, 0.35);
      transition: transform 0.28s ease, background-color 0.28s ease, box-shadow 0.28s ease;
      position: relative;
      user-select: none;
    }

    .process-writing-services .tab-step-item:hover {
      background-color: var(--sky-blue-hover);
      transform: translateX(6px);
      box-shadow: 0 8px 22px rgba(88, 197, 240, 0.45);
    }

    .process-writing-services .tab-step-item.active {
      background-color: var(--primary-navy);
      box-shadow: 0 8px 24px rgba(9, 42, 72, 0.45);
      transform: translateX(12px);
    }

    .process-writing-services .tab-step-item.active:hover {
      background-color: var(--navy-dark);
      transform: translateX(12px);
    }

    .process-writing-services .tab-step-item span.tab-title-text {
      font-family: var(--gilroy);
      letter-spacing: 0.3px;
    }

    .process-writing-services .tab-badge {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background-color: #ffffff;
      color: var(--primary-navy);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.95rem;
      font-weight: 800;
      font-family: var(--gilroy);
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
      transition: all 0.25s ease;
      flex-shrink: 0;
    }

    .process-writing-services .tab-step-item.active .tab-badge {
      background-color: transparent;
      color: #ffffff;
      border: 2.5px solid #ffffff;
    }

    /* Controls Bar */
    .process-writing-services .controls-wrap {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 16px;
      margin-top: 36px;
    }

    .process-writing-services .btn-nav-book {
      background: #ffffff;
      color: var(--primary-navy);
      border: 1px solid #d4dde5;
      padding: 10px 22px;
      border-radius: 30px;
      font-weight: 600;
      font-size: 0.9rem;
      box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
      transition: all 0.22s ease;
      cursor: pointer;
    }

    .process-writing-services .btn-nav-book:hover {
      background: var(--primary-navy);
      color: #ffffff;
      transform: translateY(-2px);
      box-shadow: 0 6px 14px rgba(9, 42, 72, 0.2);
    }

    @media (max-width: 991px) {
      .process-writing-services .book-wrapper-outer {
        flex-direction: column;
        gap: 35px;
      }
      .process-writing-services .peeking-book {
        display: none;
      }
      .process-writing-services .main-book-stage {
        margin-left: 0;
        max-width: 520px;
        height: 380px;
      }
      .process-writing-services .tabs-wrapper {
        margin-left: 0;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
      }
      .process-writing-services .tab-step-item {
        width: calc(50% - 12px);
        padding: 12px 18px 12px 24px;
        border-radius: 12px;
      }
      .process-writing-services .tab-step-item.active {
        transform: translateY(-4px);
      }
      .process-writing-services .tab-step-item:hover {
        transform: translateY(-4px);
      }
    }

    @media (max-width: 576px) {
      .process-writing-services .main-book-stage {
        height: 440px;
        max-width: 100%;
      }
      .process-writing-services .book-base-left,
      .process-writing-services .leaf-side.back {
        padding: 22px 14px;
      }
      .process-writing-services .book-base-right,
      .process-writing-services .leaf-side.front {
        padding: 24px 16px;
      }
      .process-writing-services .step-heading-large {
        font-size: 2.6rem;
        margin-bottom: 10px;
      }
      .process-writing-services .page-title {
        font-size: 1.2rem;
        margin-bottom: 10px;
      }
      .process-writing-services .page-desc {
        font-size: 0.8rem;
        line-height: 1.5;
      }
      .process-writing-services .process-icon-wrap {
        width: 95px;
        height: 95px;
      }
      .process-writing-services .tab-step-item {
        width: 100%;
      }
    }
/*process-writing-serv*/
/*flip-bk*/


.author-videos-section {
      padding: 70px 0 0px;
      overflow: hidden;
    }

    /* Carousel Wrapper */
    .author-videos-section .slider-perspective-stage {
      perspective: 1200px;
      width: 100%;
      position: relative;
      /* min-height: 480px; */
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .author-videos-section .cards-container {
      position: relative;
      width: 100%;
      /* max-width: 1080px; */
      height: 340px;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    /* Card Styling */
    .author-videos-section .video-card {
      position: absolute;
      width: 590px;
      height: 330px;
      border-radius: var(--card-radius);
      /* box-shadow: 0 15px 35px rgba(0, 0, 0, 0.22); */
      cursor: pointer;
      overflow: hidden;
      transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
      user-select: none;
      /* background: #000; */
      /* border: 3px solid #111; */
    }

    /* 3D Stack Positions */
    .author-videos-section .video-card.active {
      transform: translateX(0) scale(1) translateZ(0);
      z-index: 10;
      filter: brightness(1);
      opacity: 1;
      /* box-shadow: 0 22px 50px rgba(0, 0, 0, 0.4); */
    }

    .author-videos-section .video-card.prev {
      transform: translateX(-52%) scale(0.85) rotateY(14deg);
      z-index: 4;
      filter: brightness(0.68);
      opacity: 0.88;
    }

    .author-videos-section .video-card.next {
      transform: translateX(52%) scale(0.85) rotateY(-14deg);
      z-index: 4;
      filter: brightness(0.68);
      opacity: 0.88;
    }

    .author-videos-section .video-card.hidden {
      transform: scale(0.7);
      opacity: 0;
      pointer-events: none;
      z-index: 0;
    }

    /* Card Cover & Poster */
    .author-videos-section .card-thumbnail {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    /* Play Button Hover Overlay */
    .author-videos-section .play-overlay {
      position: absolute;
      inset: 0;
      background: rgba(0, 0, 0, 0.25);
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background 0.3s ease;
    }

    .author-videos-section .play-btn-circle {
      width: 72px;
      height: 72px;
      background: rgba(229, 9, 20, 0.9);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-size: 30px;
      box-shadow: 0 0 25px rgba(229, 9, 20, 0.6);
      transition: transform 0.25s ease, background 0.25s ease;
      padding-left: 5px;
    }

    .author-videos-section .video-card.active:hover .play-btn-circle {
      transform: scale(1.15);
      background: #ff1e27;
    }

    /* Bottom Fake Video Player Bar */
    .author-videos-section .player-bottom-bar {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.85) 60%, rgba(0,0,0,0.95) 100%);
      padding: 14px 20px;
      color: #fff;
      display: flex;
      flex-direction: column;
      gap: 6px;
      pointer-events: none;
      display: none;
    }

    .author-videos-section .progress-bar-wrap {
      width: 100%;
      height: 4px;
      background: rgba(255, 255, 255, 0.35);
      border-radius: 2px;
      position: relative;
    }

    .author-videos-section .progress-bar-fill {
      width: 48%;
      height: 100%;
      background: #e50914;
      border-radius: 2px;
      position: relative;
    }

    .author-videos-section .progress-bar-fill::after {
      content: '';
      position: absolute;
      right: -5px;
      top: -4px;
      width: 12px;
      height: 12px;
      background: #fff;
      border-radius: 50%;
    }

    .author-videos-section .player-controls-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-size: 13px;
    }

    .author-videos-section .player-controls-left,
    .author-videos-section .player-controls-right {
      display: flex;
      align-items: center;
      gap: 14px;
    }

    /* Navigation Arrows */
    .author-videos-section .slider-nav-btn {
      width: 46px;
      height: 46px;
      border-radius: 50%;
      background: #ffffff;
      border: 1px solid #e1e7ec;
      box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 20px;
      color: #212529;
      cursor: pointer;
      transition: all 0.2s ease;
    }

    .author-videos-section .slider-nav-btn:hover {
      background: #0f2c4d;
      color: #fff;
      border-color: #0f2c4d;
    }

    @media (max-width: 991px) {
      .author-videos-section .video-card {
        width: 82%;
        height: 310px;
      }
      .author-videos-section .video-card.prev {
        transform: translateX(-35%) scale(0.85);
      }
      .author-videos-section .video-card.next {
        transform: translateX(35%) scale(0.85);
      }
    }

    @media (max-width: 575px) {
      .author-videos-section .video-card {
        width: 90%;
        height: 240px;
      }
      .author-videos-section .video-card.prev,
      .author-videos-section .video-card.next {
        display: none;
      }

    }
@media (max-width: 1100px) {
    .container {
        width: min(100% - 42px, 980px);
    }

    .main-nav {
        gap: 13px;
    }

    .brand {
        flex-basis: 125px;
    }

    .brand img {
        width: 125px;
        filter: brightness(100);
    }

    .header-pill {
        gap: 13px;
    }

    .header-actions .button {
        padding-inline: 10px; }

    .services-grid {
        gap: 15px;
    }

    .services-copy h2 {
        font-size: 38px;
    }

    .service-menu-item {
        min-height: 43px;
        gap: 7px;
        padding-inline: 7px; font-size: 10px;
    }

    .service-menu-icon {
        flex-basis: 28px;
        width: 28px;
        height: 28px;
        margin: 0 auto;
    }

    .tablet {
        height: 245px;
    }

    .tablet-screen {
        padding-inline: 16px; }

    .tablet-screen h3 {
        font-size: 17px;
    }

    .book-stage {
        flex-basis: 29%;
    }

    .hero-book {
        width: 165px;
        height: 255px;
    }

    .book-shadow {
        width: 105px;
        height: 165px;
    }

    .footer-top {
        grid-template-columns: 1.2fr .8fr .9fr .8fr;
    }

    .footer-contact {
        grid-column: 2 / -1;
    }
}

@media (min-width: 1401px) and (max-width: 1650px) {
    .tab-5-bnr-st.img-fluid {
    position: relative;
    bottom: 70px;
}
}
@media (min-width: 1024px) and (max-width: 1650px) {
    .hero {height: clamp(600px, 37.5vw, 640px);min-height: 595px;padding: 118px 0 30px;}

    .home-banner-logos {
    margin-bottom: -105px;
    margin-top: 25px;
}
.tab-1-bnr-st {
    bottom: 55px;
}
.tab-4-bnr-st {
    bottom: 50px;
}

.tab-2-bnr-st {
    top: -83px;
    width: 9%;
}
    .hero::after {height: 110px;background: transparent;}
    .hero-heading { margin-bottom: 18px; }
    .hero-heading h1 { font-size: clamp(42px, 3.65vw, 58px); line-height: 1.04; }
    .hero-carousel-wrap { margin-top: 0; }
    .hero-slider, .hero-slide { min-height: 0; height: 330px; }
    .hero-composition {height: 330px;width: 60%;}
    .hero-center-art img {max-height: 220px;object-fit: contain;position: relative;top: -20px;}
    .hero-tablet > img {max-height: 400px;object-fit: contain;}
    .hero-tablet {transform: scale(0.8);width: 100%;max-width: max-content;top: -10px;}

.hero-center-art {
    transform: scale(1.3);
    top: -60px;
    max-width: 190px;
}
}

@media (max-width: 820px) {
    .section-space {
        padding-block: 76px;
    }

    h1 {
        font-size: 48px;
    }

    .hero {
        min-height: 740px;
        padding-top: 115px;
    }

    .header-pill {
        min-height: 58px;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .main-nav {
        position: absolute;
        top: 67px;
        right: 15px;
        left: 15px;
        display: none;
        align-items: stretch;
        gap: 0;
        border: 1px solid #e6f0f4;
        border-radius: 16px;
        padding: 9px;
        background: #fff;
        box-shadow: 0 14px 30px rgba(0,0,0,.15);
    }

    .main-nav.is-open {
        display: flex;
        flex-direction: column;
    }
    .main-nav .nav-service-dropdown > summary > .nav-service-title {
    padding: revert-layer;
}


    .main-nav a {
        padding: 11px 14px;
        border-radius: 8px;
        font-size: 13px;
        color: var(--navy);
    }

    .main-nav a:hover {
        background: #effaff;
    }

    .header-actions {
        display: none;
    }

    .hero-slide {
        height: 365px;
        gap: 10px;
        padding-inline: 0; }

    .hero-slider {
        min-height: 360px;
    }

    .hero-slide {
        height: 360px;
    }

    .hero-composition {
        height: 350px;
        grid-template-columns: 1fr 1.16fr 1fr;
    }

    .hero-tablet {
        max-width: 250px;
    }

    .hero-center-art {
        max-width: 330px;
    }

    .tablet {
        flex-basis: 34%;
        height: 225px;
        border-width: 5px;
        padding: 4px;
    }

    .tablet-screen {
        padding: 19px 12px 26px;
    }

    .tablet-screen h3 {
        font-size: 16px;
    }

    .tablet-screen p {
        min-height: 82px;
        font-size: 11px;
    }

    .tablet-kicker {
        font-size: 7px;
    }

    .book-stage {
        flex-basis: 30%;
        height: 320px;
    }

    .hero-book {
        width: 145px;
        height: 225px;
    }

    .book-shadow {
        width: 82px;
        height: 132px;
    }

    .services-grid, .why-grid, .contact-grid {
        gap: 38px;
    }

    .services-grid {
        grid-template-columns: .95fr 1fr;
        gap: 22px;
    }

    .services-menu {
        padding-top: 36px;
    }

    .services-art {
        grid-column: 1 / -1;
        min-height: 260px;
    }

    .services-art img {
        max-width: 420px;
    }

    .who-card {
        gap: 20px;
        padding: 30px;
    }

    .who-stats strong {
        font-size: 21px;
    }

    .why-copy h2, .contact-copy h2 {
        font-size: 40px;
    }

    .genre-card {
        height: 270px;
    }

    .footer-top {
        grid-template-columns: 1.3fr 1fr 1fr;
    }

    .footer-contact {
        grid-column: auto;
    }
}

@media (max-width: 600px) {

        .amazon-kdp-page .chapter-cta {
    padding-top: 50px;
}
    .container {
        width: calc(100% - 34px);
    }

    .section-space {
        /* padding-block: 62px 0; */
        }

    .author-video-slider .swiper-slide:not(.swiper-slide-active) .author-video-card {
        width: 112px;
    }

    .author-video-slider .swiper-slide-active .author-video-card {
        width: min(430px, calc(100vw - 132px));
    }

    h1 {
        font-size: 38px;
        line-height: 1.08;
    }

    h2 {
        font-size: 35px;
        line-height: 1.12;
    }

    .hero {
        padding: 104px 0 0px;
        height: 100%;
        min-height: auto;
    }

    .hero::after {
        height: 95px;
        bottom: 0px;
        display: none;
    }

    .hero::before {
        background: linear-gradient(180deg, rgba(5,35,62,.8), rgba(5,35,62,.94) 78%, #062645);
    }

    .hero-heading {
        margin-bottom: 14px;
    }

    .hero-heading .eyebrow {
        font-size: 8px;
    }

    .hero-heading h1 {
        font-size: 28px;
    }

    .desktop-break {
        display: none;
    }

    .hero-heading p {
        max-width: 310px;
        margin-inline: auto; font-size: 13px;
    }

    .hero-slider {
        min-height: 0;
    }

    .hero-slide {
        position: relative;
        height: 205px;
        min-height: 205px;
        display: block !important;
        padding: 0;
    }

    .hero-slider {
        min-height: 0;
        MARGIN: 0 !important;
    }

    .hero-composition {
        height: 180px;
        grid-template-columns: .95fr 1.15fr .95fr;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-tablet {
        max-width: 150px;
        display: none;
    }

    .hero-center-art {
        max-width: 100%;
        width: 58%;
        position: relative;
        z-index: 999999;
        top: 40px;
    }

    .tablet-page {
        top: 10%;
        height: 76%;
        padding: 7% 5% 4%;
    }

    .tablet-page h3 {
        margin: 4% 0 2%;
    }

    .tablet-page p {
        width: 94%;
        font-size: 6px;
        line-height: 1.35;
    }

    .hero-slider-controls {
        position: static;
        right: auto;
        bottom: auto;
        transform: none;
        margin: -2px auto 0;
    }

    .hero-slider-controls .slider-arrow {
        width: 28px;
        height: 28px;
    }

    .hero-cta {
        min-height: 44px;
        margin-top: 8px;
        font-size: 11px;
    }

    .scroll-cue {
        display: none;
    }

    .services-grid, .why-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        width: 100%;
    }

    .services-copy h2 {
        font-size: 36px;
    }

    .services-copy > p, .why-copy > p, .contact-copy > p {
        font-size: 14px;
    }

    .service-list {
        gap: 10px;
    }

    .service-list li {
        align-items: flex-start;
        font-size: 11px;
    }

    .service-list li span {
        flex: 0 0 20px;
    }

    .services-menu {
        gap: 7px;
        padding-top: 26px;
    }

    .services-arrow {
        top: -13px;
        left: 0;
        width: 70px;
        height: 27px;
    }

    .service-menu-item {
        min-height: 45px;
        font-size: 11px;
    }

    .services-art {
        min-height: 220px;
        grid-column: auto;
    }

    .services-art::before {
        width: 250px;
        height: 250px;
    }

    .services-art img {
        max-width: 400px;
    }

    .who {
        padding-top: 0;
    }

    .who-card {
        grid-template-columns: 1fr;
        gap: 14px;
        border-radius: 17px;
        padding: 24px 21px;
    }
    .who-copy {
    text-align: center;
}

    .who-art {
        max-width: 340px;
        margin: 0 auto;
    }

    .who-copy h2 {
        font-size: 36px;
    }

    .who-copy > p {
        font-size: 13px;
    }

    .who-stats {
        gap: 6px;
    }

    .who-stats strong {
        font-size: 21px;
    }

    .who-stats span {
        font-size: 9px;
    }

    .section-heading {
        margin-bottom: 30px;
    }

    .section-heading h2 {
        font-size: 32px;
    }
.section-heading.illustration-intro-copy {
    text-align: center;
        margin-bottom: 0;
}
    .section-heading p {
        font-size: 13px;
    }

    .process {
        padding-bottom: 62px;
    }

    .process-book {
        min-height: 285px;
    }

    .process-cover {
        width: 145px;
        height: 220px;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .process-steps div {
        max-width: 270px;
        margin: auto;
    }
.ebook-publishing-page section.chapter-cta {
    padding-top: 50px;
}
    .chapter-cta {
        padding: 50px 0 50px;
        background-size: auto 220px;
    }

    .chapter-inner h2, .final-cta h2 {
        font-size: 36px;
    }
    .chapter-inner h2 br, .final-cta h2 br{
        display:none;
    }
    .button-row {
        gap: 8px;
        justify-content: center;
    }

    .button-row .button {
        padding-inline: 10px;
        font-size: 14px;
    }

    .portfolio {
        padding-block: 65px 58px;
        overflow-y: hidden;
        }
    .billboard-marketing-page section#portfolio {
    padding-bottom: 100px;
}

    .portfolio .section-heading {
        margin-bottom: 0;
    }

    .portfolio-slider {
        margin-inline: -6px; }

    .portfolio-slider .slick-slide {
        padding-inline: 6px; }

    .portfolio-card {
        min-height: 225px;
        padding: 12px;
    }

    .portfolio-cover {
        width: 115px;
        height: 166px;
    }

    .author-videos {
        padding-block: 40px 46px;
    }

    .author-videos .section-heading h2 {
        font-size: 30px;
    }

    .author-video-slider {
        padding-block: 12px 18px;
    }

    .author-video-card {
        border-width: 5px;
        border-radius: 11px;
    }

    .author-video-play {
        width: 40px;
        height: 40px;
    }

    .author-video-play img {
        width: 31px;
        height: 31px;
    }

    .partners {
        padding-block: 58px 45px; }

    .partners .section-heading h2 {
        font-size: 31px;
    }

    .partner-logos {
        justify-content: center;
        gap: 17px 22px;
    }
    .home-banner-logos {
    width: 90%;
}
    .home-banner-logos img {
    width: 80% !important;
}
    .partner-logos img {
    width: 60%;
    margin: 0 auto;
    }

    .genres {
        padding-top: 45px;
        padding-bottom: 0;
    }

    .genres .section-heading h2 {
        font-size: 34px;
    }

    .genre-slider {
        margin: 0;
        padding-bottom: 16px;
    }

    .genre-slider .slick-slide {
        padding-inline: 8px; }

    .genre-card {
        height: clamp(320px, 92vw, 428px);
    }

    .genre-card-title {
        left: 15px;
        font-size: 19px;
    }

    .genre-card-description {
        font-size: 14px;
    }

    .why-copy h2, .contact-copy h2 {
        font-size: 36px;
    }

    .why-list article {
        min-height: 82px;
        padding: 12px;
    }

    .why-list h3 {
        font-size: 16px;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .testimonial-card--large {
        min-height: 300px;
        padding: 25px;
    }

    .testimonial-stack .testimonial-card {
        min-height: 190px;
    }

    .testimonial-card blockquote {
        font-size: 13px;
        /*color: #fff;*/
    }
    .testimonial-card:hover blockquote {
    color: #fff;
}

        .author-cards {
        padding-top: 48px;
        display: none;
    }

    .author-card-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .final-cta {
        padding-top: 58px;
    }

    .final-cta-books {
        max-height: 125px;
        width: 100%;
        margin-top: 20px;
    }

    .faq {
        padding-bottom: 62px;
    }

    .faq-list summary {
        min-height: 52px;
        padding-left: 12px;
        padding-right: 43px;
        font-size: 11px;
    }

    .faq-list summary::before {
        flex: 0 0 23px;
        width: 23px;
        height: 23px;
        margin-right: 8px;
    }

    .faq-list summary::after {
        right: 11px;
        width: 22px;
        height: 22px;
    }

    .faq-list details p {
        padding: 11px 14px 15px 43px;
        font-size: 12px;
    }

    .contact-form {
        padding: 18px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 27px 18px;
        padding-block: 42px 30px; }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-brand > a {
        width: 190px;
    }

    .footer-brand p {
        max-width: 320px;
    }

    .footer-contact {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        min-height: 66px;
        align-items: flex-start;
        justify-content: center;
        flex-direction: column;
        padding-block: 12px; font-size: 9px;
    }

    .footer-bottom div {
        gap: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* Keep the pinned flipbook and its heading in short laptop viewports. */
@media (max-height: 700px) {
    :root {
        --book-w: min(840px, 94vh, 92vw);
        --book-h: min(550px, 62vh, 60vw);
    }

    .flipbook-section {
        height: 100vh;
        height: 100svh;
        min-height: 0;
        padding-block: clamp(8px, 3vh, 18px) clamp(10px, 4vh, 26px);
    }

    .flipbook-section .section-heading--compact {
        margin-bottom: 14px;
    }

    .flipbook-section .eyebrow {
        margin-bottom: 8px;
    }

    .flipbook-section .section-heading h2 {
        margin-bottom: 6px;
    }

    .flipbook-section .section-heading p {
        font-size: clamp(13px, 1.15vw, 16px);
        line-height: 1.4;
    }
}

@media (min-width: 601px) and (max-height: 700px) {
    .flipbook-section .section-heading h2 {
        font-size: clamp(38px, 3.5vw, 48px);
        line-height: 1.05;
    }
}

@media (max-width: 600px) {
    .flipbook-section {
        --book-w: min(600px, 70vw);
        --book-h: min(300px, 40svh);
        width: 100%;
        height: auto;
        min-height: 0;
        justify-content: flex-start;
        gap: 14px;
        overflow: hidden;
        padding: 36px 12px 30px;
        box-sizing: border-box;
    }

    .flipbook-section .hd-txt {
        width: 100%;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    .flipbook-section .section-heading--compact {
        margin: 0 auto;
        padding: 0 8px;
    }

    .flipbook-section .eyebrow {
        margin-bottom: 12px;
    }

    .flipbook-section .section-heading h2 {
        margin-bottom: 8px;
        font-size: clamp(26px, 7.4vw, 32px);
        line-height: 1.12;
    }

    .flipbook-section .section-heading p {
        max-width: 360px;
        margin: 0 auto;
        font-size: 15px;
        line-height: 1.45;
    }

    .book-wrapper {
        flex: 0 0 auto;
        max-width: 100%;
        margin: 0 auto;
    }

    .flipbook-mobile-dots {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        min-height: 32px;
        margin: 0 auto;
    }

    .flipbook-mobile-dots[hidden] {
        display: none !important;
    }

    .flipbook-mobile-dots .flipbook-dot {
        width: 8px;
        height: 8px;
        padding: 0;
        border: 0;
        border-radius: 99px;
        background: #ffffff;
        cursor: pointer;
        transition: width 180ms ease, height 180ms ease, background-color 180ms ease;
    }

    .flipbook-mobile-dots .flipbook-dot.is-active {
        width: 20px;
        height: 8px;
        background: #5cc3e8;
    }

    .flipbook-mobile-dots .flipbook-arrow {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 30px;
        height: 30px;
        padding: 0;
        margin: 0 3px;
        border: 1px solid rgba(6, 38, 69, 0.12);
        border-radius: 50%;
        color: #062645;
        background: #fff;
        box-shadow: 0 3px 10px rgba(6, 38, 69, 0.12);
        font-size: 15px;
        cursor: pointer;
    }

    .flipbook-section .book-wrapper {
        width: min(560px, 74vw);
        height: clamp(190px, 54vw, 280px);
        display: flex;
        align-items: center;
        justify-content: center;
        perspective: 1200px;
        position: relative;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        will-change: auto;
    }

    .flipbook-section .spine-shadow {
        left: 50%;
        width: 16px;
        z-index: 2;
    }

    .flipbook-section .book-page {
        display: none;
        position: absolute !important;
        inset: 0;
        left: 0 !important;
        right: auto !important;
        width: 100%;
        height: 100%;
        max-width: 100%;
        margin: 0 !important;
        box-sizing: border-box;
        transform: none !important;
        transform-style: preserve-3d;
        transform-origin: left center;
        will-change: auto;
    }

    .flipbook-section .book-page.is-mobile-active {
        position: relative !important;
        inset: auto !important;
        left: auto !important;
        right: auto !important;
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        width: 100%;
        height: 100%;
        margin: 0 auto !important;
        animation: mobileSpreadFlip 520ms cubic-bezier(.2,.7,.25,1) both;
    }

    .flipbook-section .book-page.is-mobile-active:not(#leaf0) {
        left: 13vw !important;
    }

    .flipbook-section .page-face {
        display: flex;
        position: relative;
        inset: auto;
        width: auto;
        height: 100%;
        min-width: 0;
        padding: 12px 10px;
        transform: none !important;
        backface-visibility: visible;
        -webkit-backface-visibility: visible;
        overflow: hidden;
        border-radius: 0;
        box-shadow: 0 9px 20px rgba(3, 31, 55, 0.16);
        font-size: 12px;
        line-height: 1.25;
    }

    .flipbook-section .page-face > div {
        min-width: 0;
    }

    .flipbook-section .page-face h3,
    .flipbook-section .page-face h4 {
        font-size: 13px;
        line-height: 1.18;
        margin-top: 6px !important;
    }

    .flipbook-section .page-face p,
    .flipbook-section .page-face li,
    .flipbook-section .page-face span,
    .flipbook-section .page-face .small,
    .flipbook-section .page-face .badge-chapter {
        font-size: 11px !important;
        line-height: 1.25;
    }

    .flipbook-section .page-face .badge-chapter {
        padding: 3px 6px;
        letter-spacing: 0.4px;
    }

    .flipbook-section .page-face img {
        max-width: 82%;
        height: auto;
    }

    .flipbook-section .hardcover-front {
        border-radius: 8px 0 0 8px;
        border-left: 1px solid rgba(197, 168, 105, 0.35);
    }

    .flipbook-section .hardcover-back {
        border-radius: 0 8px 8px 0;
        border-right: 1px solid rgba(197, 168, 105, 0.35);
    }

    .flipbook-section .hardcover-front > span,
    .flipbook-section .hardcover-back > span {
        display: none;
    }

    .flipbook-section .hardcover-front::after,
    .flipbook-section .hardcover-back::after {
        inset: 6px;
    }

    @keyframes mobileSpreadFlip {
        from { opacity: 0.55; clip-path: inset(0 50% 0 50%); }
        to { opacity: 1; clip-path: inset(0); }
    }
}

/* Footer layout based on the shared brand and contact strip. */
.site-footer {
    position: relative;
    padding: 60px 0 30px;
    color: var(--navy);
    background: #fff;
}
.footer-follow .cta-space-btn {
    width: 176px;
    bottom: -20px;
    height: 10px;
}

.footer-follow .cta-space-btn::before {
    position: absolute;
    content: "";
    background: transparent;
    inset: calc(100% - 1.42em) 0 0 0;
    border-bottom-right-radius: 7.25em;
    box-shadow: 0.4em 0.3em 0 0.3em #ffffff;
    transition: 1s ease;
    height: 1.45em;
    width: 1.25em;
    left: -20px;
    right: auto;
}

.footer-follow .cta-space-btn::after {
    position: absolute;
    content: "";
    background: transparent;
    inset: calc(100% - 1.42em) 0 0 0;
    border-bottom-right-radius: 7.25em;
    box-shadow: 0.4em 0.3em 0 0.3em #ffffff;
    transition: 1s ease;
    height: 1.45em;
    width: 1.45em;
    right: -23px;
    left: auto;
    transform: scaleX(-1);
}
.site-footer::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    content: '';
    background: #e8f8fc;
}

.footer-shell {
    display: grid;
    gap: 40px;
}

.footer-banner {
    display: grid;
    grid-template-columns: minmax(240px, 1.08fr) minmax(145px, .68fr) minmax(260px, 1fr);
    align-items: center;
    /* min-height: 100px; */
    border-radius: 13px;
    padding: 20px 17px;
    margin-bottom: 6px;
    color: #fff;
    background: var(--cyan);
}

.footer-banner-brand {
    display: flex;
    align-items: center;
    width: min(100%, 290px);
    min-height: 74px;
}

.footer-banner-brand img {
    width: 100%;
    max-height: 70px;
    object-fit: contain;
    object-position: left center;
    filter: invert(1);
}

.footer-follow {
    position: relative;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 2px;
    color: #fff;
    text-align: center;
}

.footer-follow > strong {
    font: 700 16px/1.25 var(--gilroy);
}

.footer-follow-arrow {
    width: 15px;
    height: 24px;
    margin-top: 3px;
}

.footer-social {
    position: absolute;
    right: 50%;
    bottom: -10px;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    width: max-content;
    padding: 0 10px;
    transform: translateX(50%);
}

.footer-social::before {
    position: absolute;
    inset: -8px -2px -7px;
    z-index: -1;
    border-radius: 24px 24px 0 0;
    content: '';
    background: #fff;
}

.footer-social a {
    display: grid;
    place-items: center;
    width: 29px;
    height: 29px;
    border-radius: 50%;
    color: #fff;
    background: var(--navy);
    font-size: 14px;
    transition: transform .2s ease, color .2s ease, background .2s ease;
}

.footer-social a:hover {
    color: var(--navy);
    background: #fff;
    transform: translateY(-2px);
}

.footer-social svg {
    width: 12px;
    height: 12px;
    fill: currentColor;
}

.footer-social a:focus-visible,
.footer-main a:focus-visible,
.footer-bottom a:focus-visible {
    outline: 2px solid var(--cyan-dark);
    outline-offset: 3px;
}

.footer-message {
    max-width: 400px;
    margin: 0;
    color: #062645;
    font-size: 14px;
    line-height: 1.6;
}

.footer-main {
    display: flex;
    align-items: start;
    padding: 0 0 2px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.footer-group h3,
.footer-contact-item h3 {
    margin: 0 0 4px;
    color: var(--navy);
    font: 700 15px/1.2 var(--gilroy);
}

.footer-group a,
.footer-contact-item a,
.footer-contact-item address {
    color: var(--navy);
    font-size: 15px;
    line-height: 1.45;
    transition: color .18s ease;
}

.footer-group a:hover,
.footer-contact-item a:hover {
    color: #1596bc;
}

.footer-contact-list {
    display: grid;
    gap: 17px;
}

.footer-contact-item {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
}

.footer-contact-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #101820;
    background: #dce3e5;
    font-size: 17px;
}

.footer-contact-item h3 {
    margin-bottom: 0;
    font-size: 16px;
}

.footer-contact-item address {
    max-width: 270px;
    margin: 0;
    font-style: normal;
}

.footer-bottom {
    min-height: 45px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border: 0;
    border-radius: 12px;
    padding: 20px 16px;
    color: #fff;
    background: var(--navy);
    font-size: 15px;
    line-height: 1.4;
}

.footer-bottom nav {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom a {
    color: #fff;
    transition: color .18s ease;
}

.footer-bottom a:hover {
    color: #8ce1f6;
}

@media (max-width: 980px) {
    .footer-banner {
        grid-template-columns: minmax(200px, 1fr) minmax(132px, .7fr) minmax(220px, 1fr);
    }

    .footer-main {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .footer-contact-list {
        grid-column: 1 / -1;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 15px;
        padding-top: 8px;
    }

    .footer-contact-item {
        grid-template-columns: 36px minmax(0, 1fr);
        gap: 9px;
    }

    .footer-contact-icon {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 700px) {
    .site-footer {
        padding: 34px 0 20px;
    }

    .footer-shell {
        gap: 30px;
    }

    .footer-banner {
        grid-template-columns: minmax(130px, .9fr) minmax(130px, .9fr);
        gap: 8px 16px;
        padding: 17px 18px 103px;
        margin-bottom: 0;
        display: flex;
        flex-direction: column;
        position: relative;
        /* height: 100% !important; */
        /* min-height: auto !important; */
    }

    .footer-banner-brand {
        grid-column: 1 / -1;
        justify-content: center;
        width: min(100%, 300px);
        margin: 0 auto 4px;
    }

    .footer-banner-brand img {
        object-position: center;
    }

    .footer-follow {
        min-height: 88px;
        padding-top: 14px;
        position: absolute;
        left: 0;
        right: 0;
        margin: auto;
        bottom: 16px;
    }

    .footer-social {
        bottom: -9px;
        gap: 8px;
    }

    .footer-message {
        align-self: center;
        font-size: 11px;
        text-align: center;
    }

    .footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 26px 18px;
    }

    .footer-contact-list {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
        padding: 13px 16px;
        text-align: center;
        justify-content: center;
        align-items: center;
    }
}

@media (max-width: 420px) {
    .footer-banner {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .footer-banner-brand {
        width: min(100%, 270px);
    }

    .footer-follow {
        min-height: 90px;
    }

    .footer-message {
        max-width: 290px;
        text-align: center;
    }

    .footer-main {
        gap: 24px 12px;
    }

    .footer-group a,
    .footer-contact-item a,
    .footer-contact-item address {
        overflow-wrap: anywhere;
        font-size: 12px;
    }

    .footer-bottom nav {
        gap: 11px;
    }
}


.publishing-page {
    overflow: hidden;
}

.publishing-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: 610px;
    padding: 140px 0 62px;
    overflow: hidden;
    color: #fff;
    background: #062645 url('../../images/publishing-serv/banner-bg.png') center / cover no-repeat;
}

.publishing-hero::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: '';
    background: linear-gradient(90deg, rgba(4, 31, 56, .38), rgba(4, 31, 56, .04) 82%);
}

.publishing-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(380px, 1.15fr);
    align-items: center;
    gap: clamp(28px, 4vw, 60px);
}

.publishing-hero-copy {
    position: relative;
    z-index: 1;
    max-width: 570px;
}

.publishing-kicker {
    display: inline-flex;
    margin-bottom: 14px;
    color: #a9e8f7;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.publishing-hero h1 {
    margin-bottom: 17px;
    color: #fff;
    font-size: 60px;
}

.publishing-hero h1 span {
    color: #5bc8e7;
}

.publishing-hero-copy > p {
    max-width: 510px;
    margin-bottom: 0;
    color: #e1eef5;
    line-height: 1.7;
}

.publishing-hero .button-row {
    margin-top: 26px;
}

.publishing-hero .button {
    min-height: 46px;
    padding-inline: 18px;
}

.publishing-hero-art {
    display: grid;
    place-items: center;
    min-width: 0;
}

.publishing-hero-art img {
    width: min(100%, 620px);
    max-height: 440px;
    object-fit: contain;
    filter: drop-shadow(0 22px 28px rgba(0, 0, 0, .22));
}

.publishing-intro {
    padding: 70px 0 60px;
    background: #fff;
}

.publishing-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    align-items: center;
    gap: clamp(42px, 7vw, 92px);
}

.publishing-intro-art img {
    width: 100%;
    max-width: 520px;
    margin-inline: auto;
}

.publishing-intro-copy h2 {
    max-width: 620px;
    margin-bottom: 14px;
    font-size: clamp(36px, 4vw, 48px);
}

.publishing-intro-copy > p {
    max-width: 620px;
    margin-bottom: 12px;
    color: #062645;
    font-size: 16px;
    line-height: 1.65;
}

.publishing-intro-copy .button-row {
    margin-top: 22px;
}

.publishing-section-heading {
    max-width: 800px;
    margin: 0 auto 32px;
    text-align: center;
}

.publishing-section-heading h2 {
    margin-bottom: 10px;
    font-size: clamp(34px, 4vw, 48px);
}

.publishing-section-heading > p {
    max-width: 660px;
    margin: 0 auto;
    color: #062645;
    font-size: 16px;
}

.publishing-section-heading--light > p {
    color: #e1eef5;
}

.publishing-services {
    padding: 50px 0;
    background: #fff;
}

.publishing-services .publishing-section-heading {
    margin-bottom: 25px;
}

.publishing-service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.publishing-service-card {
    min-height: 218px;
    padding: 21px 20px 18px;
    border: 1px solid #c9e7f2;
    border-radius: 9px;
    background: #fff;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.publishing-service-card:hover {
    transform: translateY(-4px);
    border-color: #54c2e3;
    box-shadow: 0 14px 30px rgba(6, 38, 69, .09);
}

.publishing-service-icon {
    display: grid;
    width: 38px;
    height: 38px;
    /* margin-bottom: 13px; */
    place-items: center;
    border-radius: 8px;
    background: #e8f7fc;
    color: #0b5279;
    font-size: 20px;
}

.publishing-service-icon img {
    width: 23px;
    height: 23px;
    object-fit: contain;
}

.publishing-service-card h3 {
    margin-bottom: 0;
    font-size: 20px;
    font-weight: bold;
}

.publishing-service-card p {
    margin-bottom: 11px;
    color: #062645;
    font-size: 16px;
    line-height: 1.5;
}

.publishing-service-card > a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #168ab2;
    font-size: 15px;
    font-weight: 700;
}

.publishing-service-card > a span {
    transition: transform .2s ease;
}

.publishing-service-card > a:hover span {
    transform: translateX(3px);
}

.publishing-support {
    padding: 62px 0 72px;
    background: #f4fbfe;
}

.publishing-support .publishing-section-heading {
    margin-bottom: 28px;
}

.publishing-support-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}
.pub-inr-support-dv {
    display: flex;
    align-items: center;
    gap: 0 15px;
}
.publishing-support-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    min-height: 112px;
    padding: 20px 22px;
    border-radius: 8px;
    background: #56c2e2;
    flex-direction: column;
    color: #fff;
}

.publishing-support-card > img {
    flex: 0 0 35px;
    width: 35px;
    height: 35px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.publishing-support-card h3 {
    margin: 0 0 5px;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
}
.publishing-inr-dv {
    display: flex;
    align-items: center;
    gap: 0 10px;
    margin-bottom: 15px;
}
.publishing-support-card p {
    max-width: 480px;
    margin: 0;
    color: #f1fcff;
    font-size: 16px;
    line-height: 1.5;
}

.publishing-readers {
    padding: 60px 0 70px;
    background: #062645;
}

.publishing-section-heading--light h2 {
    color: #fff;
}

.publishing-reader-grid {
    display: flex;
    gap: 22px;
    max-width: 960px;
    margin: 0 auto;
}
.publishing-reader-card div {
    display: flex;
    align-items: center;
    gap: 0 20px;
    margin-bottom: 20px;
}

.publishing-reader-card div h3 span {
    display: block;
    font-size: 18px;
    font-weight: 400;
}

.publishing-reader-card div h3 {
    font-size: 20px;
    font-weight: bold;
}
.publishing-reader-card {
    gap: 16px;
    padding: 23px 24px;
    border-radius: 10px;
    background: #fff;
    color: #062645;
}
.publishing-reader-card-right{
    width: 80%;
}
.publishing-reader-icon {
    display: grid;
    /* width: 40px; */
    /* height: 40px; */
    place-items: center;
    /* border-radius: 8px; */
    /* background: #e8f7fc; */
    color: #0b5279;
    font-size: 21px;
}

.publishing-reader-icon img {
    /* width: 26px; */
    /* height: 26px; */
    object-fit: contain;
}

.publishing-reader-card h3 {
    margin-bottom: 6px;
    font-size: 19px;
}

.publishing-reader-card p,
.publishing-reader-card li {
    color: #062645;
    font-size: 16px;
    line-height: 1.55;
}

.publishing-reader-card p {
    margin-bottom: 9px;
}

.publishing-reader-card ul {
    display: grid;
    gap: 4px;
    margin: 0;
    padding-left: 0;
    list-style: none;
}
.publishing-reader-card div {
    display: flex;
    align-items: center;
    gap: 0 20px;
    margin-bottom: 20px;
}

.publishing-reader-card div h3 span {
    display: block;
    font-size: 18px;
    font-weight: 400;
}

.publishing-reader-card div h3 {
    font-size: 20px;
    font-weight: bold;
}
.publishing-books {
    padding: 63px 0 58px;
    background: #fff;
}

.publishing-books .publishing-section-heading,
.publishing-platforms .publishing-section-heading {
    margin-bottom: 23px;
}

.publishing-book-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    max-width: 960px;
    margin: 0 auto;
}

.publishing-book-grid.slick-slider {
    display: block;
}

.publishing-book-grid .slick-list {
    margin: 0 -9px;
}

.publishing-book-grid .slick-slide {
    height: auto;
    padding: 0 9px;
}

.publishing-book-grid .slick-slide > div {
    height: 100%;
}

.publishing-book-grid .publishing-book-card {
    height: 100%;
}

.publishing-book-dots {
    margin: 12px auto 0;
}

.publishing-book-dots .slick-dots {
    position: static;
    display: flex;
    width: max-content;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.publishing-book-dots .slick-dots li {
    width: auto;
    height: auto;
    margin: 0;
}

.publishing-book-dots .slick-dots li button {
    width: 31px;
    height: 3px;
    padding: 0;
    border: 0;
    border-radius: 99px;
    background: #d8e0e7;
    font-size: 0;
    line-height: 0;
}

.publishing-book-dots .slick-dots li button::before {
    display: none;
}

.publishing-book-dots .slick-dots li.slick-active button {
    background: #062645;
}

.publishing-book-card {
    display: flex;
    min-height: 250px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    overflow: hidden;
    padding: 25px 15px 15px;
    border-radius: 10px;
    text-align: left;
    color: #fff;
    text-decoration: none;
    gap: 10px;
}

.publishing-book-card--one {background: var(--publishing-cover-color, #b64e25);}
.publishing-book-card--two { background: var(--publishing-cover-color, #927565); }
.publishing-book-card--three { background: var(--publishing-cover-color, #9db7ae); }
.publishing-book-card--four { background: var(--publishing-cover-color, #536fa7); }
.publishing-port-img {
    position: relative;
    text-align: center;
    margin: 0 auto;
    z-index: 1;
}

.publishing-book-card img.blur-img-st {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    filter: blur(20px);
    width: 100%;
    z-index: -1;
}
.publishing-book-card img {
    width: 90%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
    /* filter: drop-shadow(2px 3px 16px rgb(0 0 0 / 64%)); */
    color: rgb(0 0 0 / 64%);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.publishing-book-card:hover img {
    transform: translateY(-4px) scale(1.025);
}
.publishing-platform-card-last-card a.button.button--navy {
    padding: 12px 20px;
    border-radius: 20px;
}
span.bnr-tag {
    display: inline-flex;
    align-items: center;
    gap: 0 10px;
    padding: 5px 30px;
    background: rgba(101, 76, 76, 0.10);
    border-radius: 58.5px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow:
        inset 0 1px 1px rgba(255,255,255,0.25),
        0 4px 12px rgba(0,0,0,0.05);
    margin-bottom: 10px;
}
.publishing-book-card h3 {
    margin: 0;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
}

.publishing-book-card__meta {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 7px;
    color: rgba(255, 255, 255, .9);
    font-size: 13px;
    line-height: 1.25;
    text-align: left;
    margin: 0;
}

.publishing-book-card__meta svg {
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.5;
}

.publishing-platforms {
    padding: 42px 0 66px;
    background: #fff;
}

.publishing-platform-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px 12px;
    max-width: 960px;
    margin: 0 auto;
}
.publishing-platform-card-last-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px 0;
}

.publishing-platform-card-last-card h4 {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
}
.publishing-platform-card {
    display: grid;
    /* min-height: 86px; */
    padding: 18px 22px 12px;
    place-items: center;
    background: url('../../images/publishing-serv/platform-box-line.png') center / 100% 100% no-repeat;
    height: 188px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.publishing-platform-card img {
    /* max-width: 100%; */
    /* max-height: 55px; */
    /* object-fit: contain; */
}

.publishing-page .process-writing-services {
    padding: 62px 0 70px;
    background: #fff;
}

.publishing-page .process-writing-services .section-title {
    font-family: var(--gilroy);
    font-size: clamp(34px, 4vw, 48px);
    letter-spacing: -.03em;
}


@media (max-width: 991px) {
    .publishing-hero {
        min-height: 560px;
        padding-top: 126px;
    }
    .publishing-intro-copy {
    text-align: center;
}

.publishing-inr-dv {
    justify-content: center;
}

.publishing-platform-card-last-card a.button.button--navy {
    padding: 10px 10px;
    font-size: 15px;
    font-weight: 600;
}

.publishing-platform-card-last-card a.button.button--navy::before {
    width: 22px;
    height: 22px;
    flex: 0  0 22px;
}
    .publishing-hero-grid {
        grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
        gap: 20px;
    }

    .publishing-hero h1 {
        font-size: clamp(44px, 5.4vw, 58px);
    }

    .publishing-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
.home-mobile-book-stage {
    display: none;
}
@media (max-width: 767px) {
    .publishing-hero {
        min-height: auto;
        padding: 118px 0 40px;
        background-position: 42% center;
    }
    .book-designing-illustration-grid {
    display: block !important;
}
.editing-expertise-column article {
    align-items: center;
    text-align: center;
    justify-content: center;
}

.editing-expertise-column article div {
    text-align: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center !important;
}

.editing-expertise-column p {
    text-align: center;
}
body .book-designing-illustration-points span {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 17px !important;
    gap: 10px 0;
    margin-bottom: 15px;
}
.book-formatting-services .slick-list.draggable {
    width: 100% !important;
}

.formatting-service-card {
    text-align: center;
    justify-content: center;
    align-items: center !important;
}

.book-formatting-page .chapter-cta {
    padding-top: 50px;
}
body .book-designing-illustration-points span br {
    display: none;
}

.book-cover-design-page .chapter-cta {
    padding-top: 50px;
}
.button {
    font-size: 14px;
}

.ghost-intro .ghost-intro-copy {
    text-align: center;
}

.ghost-benefits article {
    text-align: center;
}

.ghost-benefit-icon {
    justify-content: center;
}

.ghostwriting-page section.chapter-cta {
    padding-top: 50px;
}
    .home-mobile-book-stage {
    display: flex;
}
.writing-benefits article p {
    height: 100% !important;
    top: 0 !important;
}
      .publishing-page .process-writing-services{
        padding-bottom:0;
    }
    section {
    overflow-x: hidden;
}

    body .writing-serv-pg h2#writingServicesTitle {
    color: #fff;
}.portfolio .slick-dots li.slick-active button {
    background: #fff;
}

.portfolio .portfolio-dots .slick-dots li:before {
    display: none !important;
}

.portfolio .slick-dots li.slick-active button {}

.portfolio-dots .slick-dots li button:before {
    display: none;
}

.cta-space-btn {}

.portfolio .cta-space-btn {
    bottom: 0px;
}

.author-videos-section {
    padding-top: 50px;
}

section#testimonials {
    padding-top: 0;
}

.final-cta h2 br {
    display: none;
}

.hero-center-art img {
    max-height: 200px;
}

section#services {
    padding-top: 20px;
    text-align: center;
}
    .book-editing-intro-copy {
    text-align: center;
}

.editing-benf-inr-txt {
    justify-content: center;
    text-align: center;
}

.editing-benefit-card p {
    text-align: center;
}

.editing-expertise-column h3 {
    text-align: center;
}

.editing-expertise-column p {
    text-align: center;
}

.editing-expertise-column.editing-expertise-column-right p {
    text-align: center;
}
.footer-follow .cta-space-btn {
    display: none;
}

.authr-inr-img-bx {
    height: auto;
    width: 60%;
}

.authr-inr-img-bx img {
    width: 100%;
}

.author-card-bx {
    height: 500px;
}

.a-fdb-1 {
    width: 324px;
    margin: 0 auto;
    height: 438px;
}

.portfolio-dots {
    display: none;
}

.portfolio-dots ul.slick-dots {}

.portfolio-mark {
    display: none;
}
.book-designing-intro-copy {
    text-align: center;
}
    .writing-intro-art .line-img-st {
    display: none;
}

.writing-intro-grid p {
    text-align: center;
}

.writing-services-heading p {
    color: #fff;
}

.process-writing-services .book-leaf {
    /* transform: scale(1.5); */
}

.eyebrow {
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    margin: 0 auto;
    display: table;
    margin-bottom: 20px;
}

.port-bx {
    transform: scale(0.8);
}

.portfolio-dots .slick-dots {
    /* display: none !important; */
}

.author-videos-section .mt-4.d-flex.justify-content-center.gap-3 {
    margin-top: 0 !important;
}

.testimonials::after {
    display: none;
}

span.faq-question-text span {
    display: none;
}

.contact::after {
    display: none;
}

.contact-page {
    overflow: hidden;
    color: #062645;
    font-family: var(--inter);
}

.contact-page .contact-hero {
    background-image: url('../../images/contact/banner-bg.png');
}

.contact-page .contact-page-section {
    padding-block: 70px;
}

.contact-page .contact-page-section::after {
    display: block;
    z-index: 0;
    width: min(650px, 52%);
    background-image: url('../../images/testi-af.png');
    opacity: .95;
}

.contact-page .contact-grid {
    position: relative;
    z-index: 1;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(32px, 5vw, 70px);
}

.contact-page .contact-copy h2 {
    max-width: 520px;
    font-size: clamp(36px, 3.4vw, 48px);
    line-height: 1.08;
}

.contact-page .contact-copy > p {
    font-size: 16px;
    line-height: 1.6;
}

.contact-page .contact-details {
    gap: 18px;
    margin-top: 24px;
}

.contact-page .contact-details li > span {
    flex: 0 0 60px;
}

.contact-page .contact-details li > span img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.contact-page .contact-details strong {
    font-size: 19px;
}

.contact-page .contact-details a,
.contact-page .contact-details small {
    font-size: 16px;
    line-height: 1.4;
}

.contact-page .contact-form {
    gap: 20px;
    padding: 26px;
    border-color: #d6e7ee;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(6, 38, 69, .06);
}

.contact-page .contact-form label {
    font-size: 15px;
    font-family: var(--inter);
}

.contact-page .contact-form input,
.contact-page .contact-form select,
.contact-page .contact-form textarea {
    min-height: 48px;
    border-color: transparent;
    border-radius: 9px;
    padding: 12px 14px;
    font-size: 15px;
    font-family: var(--inter);
}

.contact-page .contact-form textarea {
    min-height: 110px;
}

.contact-page .form-submit {
    min-height: 48px;
    justify-content: center;
    gap: 9px;
    font-size: 15px;
}

.contact-page .form-submit .button-icon {
    width: 24px;
    height: 24px;
}

@media (max-width: 760px) {
    .contact-page .contact-page-section {
        padding-block: 42px;
    }

    .contact-page .contact-grid {
        width: calc(100% - 34px);
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .contact-page .contact-page-section::after {
        width: 85%;
        opacity: .4;
    }

    .contact-page .contact-copy h2 {
        font-size: 34px;
    }

    .contact-page .contact-details {
        gap: 14px;
        margin-top: 20px;
    }

    .contact-page .contact-details li > span {
        flex-basis: 48px;
        width: 48px;
        height: 48px;
    }

    .contact-page .contact-form {
        gap: 16px;
        padding: 20px;
    }

    .contact-page .form-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }
}

body .book-designing-illustration-points span {
    align-items: center !important;
    gap: 10px 0 !important;
}

body .book-designing-illustration-points span i {
    top: 0;
}

.book-designing-hero-copy {
    text-align: center;
}

.port-bx img {
    width: 80%;
}
    .publishing-hero-grid,
    .publishing-intro-grid {
        grid-template-columns: 1fr;
    }

    .publishing-hero-grid {
        gap: 10px;
    }
    .publishing-hero-copy {
    text-align: center;
}
    .publishing-hero h1 {
        font-size: clamp(42px, 11vw, 56px);
    }

    .publishing-hero-art img {
        width: min(100%, 510px);
        max-height: 321px;
        margin-top: 20px;
    }

    .publishing-intro {
        padding: 45px 0 42px;
    }

    .publishing-intro-grid {
        gap: 26px;
    }

    .publishing-intro-art img {
        max-width: 440px;
    }

    .publishing-intro-copy h2 {
        font-size: 38px;
    }

    .publishing-support-grid,
    .publishing-reader-grid {
        grid-template-columns: 1fr;
    }

    .publishing-book-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .publishing-platform-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .publishing-hero .button-row,
    .publishing-intro .button-row {
        align-items: stretch;
        flex-direction: column;
    }

    .publishing-service-grid {
        grid-template-columns: 1fr;
    }

    .publishing-service-card {
        min-height: 0;
    }

    .publishing-support-card {
        padding: 17px;
    }

    .publishing-reader-card {
        grid-template-columns: 34px minmax(0, 1fr);
        gap: 12px;
        padding: 18px 16px;
    }

    .publishing-reader-icon {
        width: 34px;
        height: 34px;
    }

    .publishing-book-card {
        min-height: 205px;
        padding-inline: 8px;
    }

    .publishing-book-card img {
        height: 155px;
    }

    .publishing-platform-card {
        /* min-height: 72px; */
        /* padding: 10px 14px; */
    }
}

/* Services navigation dropdown */
.main-nav .nav-service-dropdown {
    position: relative;
    flex: 0 0 auto;
}

.main-nav .nav-service-dropdown > summary {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: color .2s ease;
}

.main-nav .nav-service-dropdown > summary::-webkit-details-marker {
    display: none;
}

.main-nav .nav-service-dropdown > summary::after {
    width: 7px;
    height: 7px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    content: '';
    transform: translateY(-2px) rotate(45deg);
    transition: transform .2s ease;
}

.main-nav .nav-service-dropdown:hover > summary,
.main-nav .nav-service-dropdown:focus-within > summary,
.main-nav .nav-service-dropdown[open] > summary {
    color: var(--cyan-dark);
}

.main-nav .nav-service-dropdown:is(:hover, :focus-within, [open]) > summary::after {
    transform: translateY(2px) rotate(225deg);
}

.nav-service-menu {
    position: absolute;
    z-index: 50;
    top: calc(100% + 12px);
    left: -16px;
    display: none;
    width: max-content;
    min-width: 226px;
    gap: 2px;
    padding: 8px;
    border: 1px solid #deedf4;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 14px 30px rgba(6, 38, 69, .16);
}

.main-nav .nav-service-dropdown[open] > .nav-service-menu {
    display: grid;
}

.main-nav .nav-service-dropdown:hover > .nav-service-menu,
.main-nav .nav-service-dropdown:focus-within > .nav-service-menu {
    display: grid;
}

@media (min-width: 821px) {
    .main-nav .nav-service-dropdown::after {
        position: absolute;
        top: 100%;
        right: -18px;
        left: -18px;
        height: 14px;
        content: "";
    }
}

.main-nav .nav-service-menu a {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--navy);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.main-nav .nav-service-menu a:hover,
.main-nav .nav-service-menu a:focus-visible {
    background: #effaff;
    color: #168ab2;
}

.nav-service-dropdown:focus-visible > summary,
.nav-service-dropdown > summary:focus-visible {
    outline: 3px solid rgba(84, 194, 227, .55);
    outline-offset: 4px;
}

/* Book Editing Services page */
.book-editing-page {
    overflow: hidden;
}

.book-editing-page p {
    /* color: #062645; */
    font-size: 16px;
}

.book-editing-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: 600px;
    padding: 140px 0 62px;
    overflow: hidden;
    color: #fff;
    background: #062645 url('../../images/book-editing-services/banner-bg.png') center / cover no-repeat;
}

.book-editing-hero::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: '';
    background: linear-gradient(90deg, rgba(3, 29, 52, .38), rgba(3, 29, 52, .03) 82%);
}

.book-editing-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
    align-items: center;
    gap: clamp(30px, 5vw, 70px);
}

.book-editing-hero-copy {
    position: relative;
    z-index: 1;
    max-width: 560px;
    text-align: left;
}

.book-editing-kicker {
    display: inline-flex;
    margin-bottom: 14px;
    color: #a9e8f7;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.book-editing-hero h1 {
    margin-bottom: 16px;
    color: #fff;
    font-size: 60px;
}

.book-editing-hero h1 span {
    color: #5bc8e7;
}

.book-editing-hero-copy > p {
    max-width: 500px;
    margin-bottom: 0;
    color: #e1eef5;
    line-height: 1.7;
}

.book-editing-hero .button-row {
    margin-top: 25px;
}

.book-editing-hero .button {
    min-height: 46px;
    padding-inline: 18px;
}

.book-editing-hero-art {
    display: grid;
    min-width: 0;
    place-items: center;
}

.book-editing-hero-art img {
    width: min(100%, 650px);
    max-height: 420px;
    object-fit: contain;
    filter: drop-shadow(0 22px 28px rgba(0, 0, 0, .2));
}

.book-editing-intro {
    padding: 52px 0 60px;
    background: #fff;
}

.book-editing-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(36px, 6vw, 76px);
}

.book-editing-intro-art img {
    width: 100%;
    max-width: 560px;
    margin-inline: auto;
}

.book-editing-intro-copy h2,
.book-editing-section-heading h2,
.book-editing-services-heading h2 {
    margin-bottom: 12px;
    font-size: clamp(36px, 4vw, 48px);
}

.book-editing-intro-copy > p {
    max-width: 620px;
    margin-bottom: 0;
    line-height: 1.65;
}

.editing-benefit-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.editing-benefit-card {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-height: 108px;
    padding: 13px 13px 12px;
    border: 1px solid #cce7f1;
    border-radius: 9px;
    background: #fff;
    transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
    flex-direction: column;
}

.editing-benefit-card:hover {
    transform: translateY(-3px);
    border-color: #54c2e3;
    box-shadow: 0 10px 22px rgba(6, 38, 69, .09);
}

.editing-benefit-icon {
    border-radius: 7px;
    /* background: #e9f8fc; */
    /* color: #0b5279; */
    font-size: 16px;
}

.editing-benefit-icon img {
    width: 48px;
}

.editing-benefit-card h3 {
    margin: 1px 0 0;
    font-size: 18px;
    font-weight: bold;
    /* width: 80%; */
}
.editing-benf-inr-txt {
    display: flex;
    align-items: center;
    gap: 0 10px;
}


.editing-benefit-card p {
    margin: 0;
    color: #36536c;
    font-size: 14px;
    line-height: 1.45;
}

.book-editing-services {
    padding: 8px 0 54px;
    background: #fff;
}

.book-editing-services > .container {
    padding: 27px 28px 30px;
    border-radius: 14px;
    background: #58c5e7 url('../../images/book-editing-services/services-bg.png') center / cover no-repeat;
}

.book-editing-services-heading {
    max-width: 660px;
    margin: 0 auto 22px;
    text-align: center;
}

.book-editing-services-heading h2 {
    margin-bottom: 6px;
    color: #062645;
}

.book-editing-services-heading > p {
    max-width: 580px;
    margin: 0 auto;
    color: #173e5c;
}

.editing-service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.editing-service-card {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    min-height: 92px;
    padding: 14px 15px;
    border: 1px solid rgba(6, 38, 69, .14);
    border-radius: 8px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 5px 14px rgba(6, 38, 69, .06);
    flex-direction: column;
}

.editing-service-card > span {
    display: grid;
    flex: 0 0 27px;
    width: 27px;
    height: 27px;
    place-items: center;
    border-radius: 50%;
    background: #e5f7fc;
    color: #08759e;
    font-size: 11px;
    font-weight: 700;
}
article.editing-service-card div {
    display: flex;
    align-items: center;
    gap: 0 10px;
}

article.editing-service-card div span {
    font-size: 18px;
    font-weight: bold;
    color: #062645;
}
.editing-service-card h3 {
    margin: 0;
    font-size: 20px;
    font-weight: bold;
    article.editing-service-card div {
    display: flex;
    align-items: center;
    gap: 0 10px;
}
    article.editing-service-card div span {
    font-size: 18px;
    font-weight: bold;
    color: #062645;
};
}

.editing-service-card p {
    margin: 0;
    color: #36536c;
    font-size: 14px;
    line-height: 1.42;
}

.book-editing-expertise {
    padding: 12px 0 62px;
    background: #fff;
}

.book-editing-section-heading {
    margin: 0 auto 5px;
    text-align: center;
}

.book-editing-section-heading h2 {
    margin-bottom: 0;
}

.editing-expertise-grid {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(300px, 1.1fr) minmax(0, .95fr);
    align-items: center;
    gap: clamp(20px, 3vw, 38px);
    padding-top: 30px;
}

.editing-expertise-column {
    display: grid;
    gap: 25px 24px;
    position: relative;
}

.editing-expertise-column article {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.expertise-marker {
    display: grid;
    flex: 0 0 25px;
    width: 25px;
    height: 25px;
    place-items: center;
    border-radius: 50%;
    background: #e8f7fc;
    color: #0a84aa;
    font-size: 16px;
}

.editing-expertise-column h3 {
    margin: 0 0 4px;
    font-size: 20px;
    text-align: right;
    font-weight: bold;
}
.editing-expertise-column.editing-expertise-column-right {
    text-align: left;
}
.editing-expertise-column.editing-expertise-column-right p {
    text-align: left;
}
.editing-expertise-column-right h3 ,.editing-expertise-column-right p {
    text-align: left;
}

.editing-expertise-column:before {
    content: '';
    background: rgb(0 0 0 / 10%);
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    margin: auto;
    right: 0;
    width: 100%;
    height: 1px;
}
.editing-expertise-column p {
    margin: 0;
    color: #36536c;
    font-size: 15px;
    /* line-height: 1.5; */
    text-align: right;
    padding-bottom: 10px;
}

.editing-expertise-art img {
    width: 100%;
    max-width: 500px;
    margin-inline: auto;
}

.book-editing-page .process-writing-services {
    padding: 48px 0 64px;
    background: #fff;
}

.book-editing-page .process-writing-services .section-title {
    font-family: var(--gilroy);
    font-size: clamp(36px, 4vw, 48px);
    letter-spacing: -.03em;
}

@media (max-width: 991px) {
    .book-editing-hero {
        min-height: 540px;
        padding-top: 124px;
    }

    .book-editing-hero h1 {
        font-size: clamp(44px, 5.4vw, 58px);
    }

    .editing-benefit-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .editing-expertise-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .editing-expertise-art {
        grid-column: 1 / -1;
        grid-row: 1;
    }

    .editing-expertise-art img {
        max-width: 420px;
    }
}

@media (max-width: 820px) {
    .main-nav .nav-service-dropdown {
        width: 100%;
    }

    .main-nav .nav-service-dropdown > summary {
        min-height: 42px;
        padding: 11px 14px;
        border-radius: 8px;
        color: #062645;
        font-size: 15px;
    }

    .main-nav .nav-service-dropdown > summary::after {
        border-color: #062645;
    }

    .main-nav .nav-service-dropdown > summary:hover,
    .main-nav .nav-service-dropdown[open] > summary {
        background: #effaff;
    }

    .nav-service-menu,
    .main-nav .nav-service-menu {
        position: static;
        width: auto;
        min-width: 0;
        padding: 4px 0 4px 12px;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .main-nav .nav-service-menu a {
        white-space: normal;
    }
}

@media (max-width: 767px) {
    .book-editing-hero {
        min-height: auto;
        padding: 118px 0 38px;
        background-position: 42% center;
    }

    .book-editing-hero-copy {
    text-align: center;
}
    
    .book-editing-hero-grid,
    .book-editing-intro-grid {
        grid-template-columns: 1fr;
    }

    .book-editing-hero-grid {
        gap: 8px;
    }
.editing-expertise-column.editing-expertise-column-right p{text-align:center;}
    .book-editing-hero h1 {
        font-size: clamp(42px, 11vw, 56px);
    }

    .book-editing-hero-art img {
        width: min(100%, 520px);
        max-height: 320px;
    }

    .book-editing-intro {
        padding: 42px 0 48px;
    }
.book-editing-intro-copy {
    text-align: center;
}
    .book-editing-intro-copy {
    text-align: center;
}

.editing-benf-inr-txt {
    justify-content: center;
    text-align: center;
}

.editing-benefit-card p {
    text-align: center;
}
    .book-editing-intro-grid {
        gap: 18px;
    }

    .book-editing-intro-art img {
        max-width: 460px;
    }

    .editing-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .book-editing-hero .button-row {
        align-items: stretch;
        flex-direction: column;
    }

    .editing-benefit-grid,
    .editing-service-grid,
    .editing-expertise-grid {
        grid-template-columns: 1fr;
    }

    .editing-benefit-card {
        min-height: 0;
    }

    .book-editing-services > .container {
        width: calc(100% - 24px);
        padding: 24px 14px;
        border-radius: 12px;
    }

    .editing-service-card {
        min-height: 0;
    }

    .editing-expertise-art {
        grid-column: auto;
        grid-row: auto;
    }

    .editing-expertise-column {
        gap: 18px;
        text-align: center;
    }
}

/* Audio book page: responsive production layout with 15px minimum body copy. */
body.audio-book-body .container { width: 1160px; max-width: calc(100% - 40px); }
body.audio-book-body p,
body.audio-book-body small,
body.audio-book-body .faq-body-panel,
body.audio-book-body .contact-form label { font-size: 15px !important; }
.audio-book-page { overflow: hidden; color: #062645; }
.audio-book-page .container { width: 1160px; max-width: calc(100% - 40px); }
.audio-book-page .writing-hero { background: #062645 url('../../images/audio-book/banner-bg.png') center/cover no-repeat; }
.audio-book-page .writing-hero-grid { align-items: center; }
.audio-book-page .writing-hero-art img { width: min(100%,530px); max-height: 430px; }
.audio-book-intro {padding: 50px 0;background: #fff;}
.audio-book-intro-grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); align-items: center; gap: clamp(28px,5vw,64px); max-width: 1160px; }
.audio-book-intro-art { display: grid; min-height: 250px; place-items: center; }
.audio-book-intro-art img {display: block;width: min(100%,500px);/* max-height: 300px; */object-fit: contain;}
.audio-book-intro-copy h2 {margin: 0 0 12px;color: #062645;/* font: 700 clamp(24px,2.5vw,32px)/1.14 var(--gilroy); */}
.audio-book-intro-copy p { margin: 0; color: #526c80; line-height: 1.6; }
.audio-book-intro-copy .button-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.audio-production-services {padding: 18px 0 50px;background: #fff;}
.audio-book-page .section-heading--compact { margin-bottom: 20px; text-align: center; }
.audio-book-page .section-heading--compact h2 {/* margin: 0; */color: #062645;/* font: 700 clamp(24px,2.4vw,31px)/1.15 var(--gilroy); */}
.audio-production-grid {position: relative;display: grid;grid-template-columns: repeat(3,minmax(0,1fr));gap: 24px 12px;max-width: 960px;margin: 0 auto;}
.audio-production-card {position: relative;min-height: 275px;padding: 0;background: transparent;color: #fff;}
.audio-production-card::before { position: absolute; z-index: 0; top: 50%; left: 0; width: 220px; height: 220px; border-radius: 50%; background: url('../../images/audio-book/serv-audio-img-back.png') center/contain no-repeat; content: ''; transform: translateY(-50%); }
.audio-production-card-inner {position: relative;z-index: 1;display: flex;width: calc(100% - 64px);min-height: 275px;flex-direction: column;align-items: center;justify-content: flex-start;gap: 16px;margin-left: 64px;padding: 20px 18px;border-radius: 8px;background: radial-gradient(ellipse at 12% 20%, rgba(18,65,103,.38), transparent 45%), linear-gradient(135deg, #062b4c, #041f3b);box-shadow: 0 7px 18px rgba(6,38,69,.15);text-align: center;}
.audio-production-card-inner > span,
.audio-education-grid article > span { display: grid; width: 30px; height: 30px; flex: 0 0 30px; place-items: center; border-radius: 5px; background: #58c5e7; }
.audio-production-card-inner > span { width: 64px; height: 64px; flex-basis: 64px; border-radius: 9px; background: #fff; }
.audio-production-card-inner > span img { width: 36px; height: 36px; }
.audio-education-grid article > span img { display: block; width: 20px; height: 20px; object-fit: contain; }
.audio-production-card h3 { margin: 0 0 10px; color: #fff; font: 700 19px/1.25 var(--gilroy); }
.audio-production-card p { margin: 0; color: rgba(255,255,255,.92); line-height: 1.55; }
.audio-education { padding: 20px 0 30px; background: #fff; }
.audio-education-grid {display: grid;grid-template-columns: repeat(2,minmax(0,1fr));gap: 13px;max-width: 1100px;margin: 0 auto;}
.audio-education-grid article { display: block; min-height: 155px; border-radius: 9px; padding: 20px 18px; background: #58c5e7; }
.audio-education-header { display: flex; min-height: 40px; align-items: center; gap: 13px; margin-bottom: 16px; }
.audio-education-grid article > .audio-education-header > span { display: grid; width: 40px; height: 40px; flex: 0 0 40px; place-items: center; border-radius: 8px; background: #062645; }
.audio-education-grid article > .audio-education-header > span img { display: block; width: 30px; height: 30px; object-fit: contain; filter: brightness(0) invert(1); }
.audio-education-grid article h3 {margin: 0;color: #fff;font: 700 23px/1.25 var(--gilroy);}
.audio-education-grid article p {margin: 0;color: #fff;line-height: 1.5;/* font-size: 16px; */}
.audio-platforms { padding: 18px 0 34px; background: #fff; }
.audio-platforms .section-heading--compact { margin-bottom: 18px; }
.audio-platforms .section-heading--compact p { margin: 7px 0 0; color: #526c80; }
.audio-platform-grid {display: grid;grid-template-columns: repeat(4,minmax(0,1fr));gap: 10px;max-width: 1100px;margin: 0 auto;}
.audio-platform-card {display: grid;min-height: 62px;place-items: center;/* border: 1px solid #d9e7ed; */border-radius: 6px;padding: 8px;background: #fff;}
.audio-platform-card img {display: block;width: auto;max-width: 100%;/* height: 38px; */object-fit: contain;}
.audio-book-page .process-writing-services { padding-top: 20px; }
.audio-book-page .author-videos-section { display: none; }
.audio-book-page .why,
.audio-book-page .testimonials,
.audio-book-page .press-author-feedback,
.audio-book-page .faq { padding-block: 42px; }
.audio-book-page .testimonial-card blockquote { font-size: 15px !important; }
@media (max-width: 900px) {
    .audio-production-grid { gap: 18px 28px; }
    .audio-production-card { min-height: 280px; }
    .audio-production-card::before { width: 185px; height: 185px; }
    .audio-production-card-inner { width: calc(100% - 48px); min-height: 280px; margin-left: 48px; padding: 18px 14px; }
    .audio-production-card-inner > span { width: 56px; height: 56px; flex-basis: 56px; }
    .audio-production-card-inner > span img { width: 32px; height: 32px; }
    .audio-production-card h3 { font-size: 17px; }
}
@media (max-width: 760px) {
    .audio-book-page .container { width: 1160px; max-width: calc(100% - 32px); }
    .audio-book-page .writing-hero { min-height: 0; padding: 112px 0 28px; }
    .audio-book-page .writing-hero-grid { grid-template-columns: 1fr; gap: 12px; }
    .audio-book-page .writing-hero-copy { margin: 0 auto; text-align: center; }
    .audio-book-page .writing-hero-copy > p { margin-inline: auto; }
    .audio-book-page .writing-hero-copy .button-row { justify-content: center; }
    .audio-book-page .writing-hero-art { min-height: 220px; }
    .audio-book-page .writing-hero-art img { max-height: 255px; }
    .audio-book-intro { padding: 26px 0 18px; }
    .audio-book-intro-grid { grid-template-columns: 1fr; gap: 12px; }
    .audio-book-intro-art { min-height: 190px; }
    .audio-book-intro-art img { width: min(100%,420px); max-height: 230px; }
    .audio-book-intro-copy { text-align: center; }
    .audio-book-intro-copy .button-row { justify-content: center; }
    .audio-production-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px 24px; }
    .audio-production-grid.slick-initialized,
    .audio-education-grid.slick-initialized { display: block; }
    .audio-production-grid.slick-initialized .slick-slide,
    .audio-education-grid.slick-initialized .slick-slide { padding: 0 12px; }
    .audio-production-grid.slick-initialized + .mobile-slider-dots,
    .audio-education-grid.slick-initialized + .mobile-slider-dots { display: block; }
    .audio-production-card { min-height: 245px; }
    .audio-production-card::before { width: 155px; height: 155px; }
    .audio-production-card-inner { width: calc(100% - 40px); min-height: 245px; margin-left: 40px; padding: 16px 10px; gap: 12px; }
    .audio-production-card-inner > span { width: 48px; height: 48px; flex-basis: 48px; }
    .audio-production-card-inner > span img { width: 30px; height: 30px; }
    .audio-production-card h3 { font-size: 16px; }
    .audio-education-grid { gap: 9px; }
    .audio-education-grid article { min-height: 180px; padding: 18px; }
    .audio-education-header { gap: 12px; margin-bottom: 14px; }
    .audio-education-grid article > .audio-education-header > span { width: 48px; height: 48px; flex-basis: 48px; }
    .audio-education-grid article > .audio-education-header > span img { width: 30px; height: 30px; }
    .audio-education-grid article h3 { font-size: 17px; }
    .audio-platform-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .audio-book-page .why,
    .audio-book-page .testimonials,
    .audio-book-page .press-author-feedback,
    .audio-book-page .faq { padding-block: 32px; }
}
@media (max-width: 520px) {
    .audio-book-page .container { max-width: calc(100% - 28px); }
    .audio-production-grid { grid-template-columns: 1fr; gap: 16px; }
    .audio-production-card { min-height: 230px; }
    .audio-production-card::before { width: 175px; height: 175px; }
    .audio-production-card-inner { width: calc(100% - 48px); min-height: 230px; margin-left: 48px; padding: 18px; }
    .audio-education-grid { grid-template-columns: 1fr; }
    .audio-education-grid article { min-height: 0; }
}

/* Author branding page: reference layout, portfolio tiles, and 15px minimum copy. */
body.author-branding-body .container { width: 1160px; max-width: calc(100% - 40px); }
body.author-branding-body p,
body.author-branding-body small,
body.author-branding-body .contact-form label,
body.author-branding-body .faq-body-panel { font-size: 15px !important; }
.author-branding-page { overflow: hidden; color: #062645; }
.author-branding-page .container { width: 1160px; max-width: calc(100% - 40px); }
.author-branding-hero {min-height: 420px;padding: 105px 0 24px;background: #062645 url('../../images/author-branding/banner-bg.png') center/cover no-repeat;}
.author-branding-hero .writing-hero-grid { align-items: center; }
.author-branding-hero .writing-hero-art { min-height: 250px; }
.author-branding-hero .writing-hero-art img {width: min(100%, 500px);/* max-height: 320px; */}
.author-branding-intro {padding: 50px 0 40px;position: relative;background: #fff;}
.author-branding-intro-grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); align-items: center; gap: 42px; }
.author-branding-intro-art { display: grid; min-height: 260px; place-items: center; }
.author-branding-intro-art img { display: block; width: 100%; max-height: 290px; object-fit: contain; }
.author-branding-intro-copy h2 { margin: 0 0 12px; color: #062645; font: 700 clamp(24px,2.2vw,32px)/1.12 var(--gilroy); }
.author-branding-intro-copy p { margin: 0 0 16px; color: #526c80; line-height: 1.6; }
.author-branding-services {padding: 14px 0 28px;position: relative;background: #fff;}
.author-branding-services .section-heading { margin-bottom: 22px; }
.author-branding-service-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; max-width: 1040px; margin: 0 auto; }
.author-branding-service-card {position: relative;min-height: 130px;padding: 16px 18px 15px 52px;border: 0;border-bottom: 1px solid #dce6ec;border-radius: 0;background: #fff;box-shadow: none;}
.author-branding-service-card:nth-child(3n + 1),
.author-branding-service-card:nth-child(3n + 2) { border-right: 1px solid #dce6ec; }
.author-branding-service-grid .author-branding-service-card:nth-child(n+3)::after {
    display: none;
}
.author-branding-service-card:nth-child(n + 4) { border-bottom: 0; }
.author-branding-service-card:nth-child(3n + 1)::after,
.author-branding-service-card:nth-child(3n + 2)::after {position: absolute;right: -7px;bottom: -7px;width: 14px;height: 14px;border-radius: 50%;background: #58c5e7;content: '';z-index: 1;border: 4px solid #fff;}
.author-branding-service-card > span { position: absolute; top: 13px; left: 12px; display: grid; width: 30px; height: 30px; place-items: center; }
.author-branding-service-card > span img { display: block; width: 28px; height: 28px; object-fit: contain; }
.author-branding-service-card h3 { margin: 0 0 8px; color: #062645; font: 700 16px/1.25 var(--gilroy); }
.author-branding-service-card p { margin: 0; color: #526c80; line-height: 1.45; }
.author-branding-portfolio {padding: 10px 0 32px;}
.author-branding-portfolio .section-heading { margin-bottom: 12px; }
.author-branding-portfolio-filters {display: flex;justify-content: center;gap: 4px;width: max-content;max-width: 100%;margin: 25px auto;padding: 4px;border-radius: 22px;background: #062645;}
.author-branding-portfolio-filters button {padding: 5px 13px;border: 1px solid transparent;border-radius: 18px;background: transparent;color: #fff;font: 600 20px/1.2 var(--gilroy);cursor: pointer;}
.author-branding-portfolio-filters button.is-active { background: #58c5e7; color: #062645; }
.author-branding-portfolio-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; max-width: 900px; margin: 0 auto; }
.author-branding-portfolio-grid[hidden] { display: none !important; }
.author-branding-portfolio-grid.slick-initialized { display: block; }
.author-branding-portfolio-grid.slick-initialized .slick-track { display: flex; align-items: stretch; }
.author-branding-portfolio-grid.slick-initialized .slick-slide { height: auto; padding: 5px; }
.author-branding-portfolio-grid.slick-initialized .slick-slide > a { height: 100%; }
.author-branding-portfolio-grid a {display: grid;min-height: 150px;place-items: center;overflow: hidden;border-radius: 8px;/* box-shadow: 0 5px 14px rgba(6,38,69,.12); *//* transition: transform .2s ease, box-shadow .2s ease; */}
.author-branding-portfolio-grid a[hidden] { display: none !important; }
.author-branding-portfolio-grid a:hover {transform: translateY(-4px);/* box-shadow: 0 10px 20px rgba(6,38,69,.17); */}
.author-branding-portfolio-grid img {display: block;width: 100%;height: 100%;/* max-height: 165px; */object-fit: contain;}
.author-branding-bookmark-item {background: #f7f8f9;}
.author-branding-bookmark-shape { display: grid; width: 86px; height: 128px; place-items: center; overflow: hidden; border-radius: 5px 5px 16px 16px; background: #062645; box-shadow: 0 7px 16px rgba(6,38,69,.2); clip-path: polygon(0 0,100% 0,100% 100%,50% 84%,0 100%); }
.author-branding-bookmark-shape img { width: 72px; height: 72px; object-fit: contain; }
.author-branding-banner-item { grid-column: auto; }
.author-branding-banner-item img { max-height: 220px; object-fit: contain; }
.author-branding-banner-dots .slick-dots { position: static; display: flex; justify-content: center; gap: 7px; margin: 12px 0 0; padding: 0; list-style: none; }
.author-branding-banner-dots .slick-dots li { width: auto; height: auto; margin: 0; }
.author-branding-banner-dots .slick-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: #c5d3dc; font-size: 0; line-height: 0; }
.author-branding-banner-dots .slick-dots button::before { display: none; }
.author-branding-banner-dots .slick-dots .slick-active button { width: 22px; border-radius: 10px; background: #58c5e7; }
.author-branding-page .process-writing-services { padding-top: 20px; }
.author-branding-page .why,
.author-branding-page .testimonials,
.author-branding-page .press-author-feedback,
.author-branding-page .faq { padding-block: 44px; }
.author-branding-page .testimonial-card blockquote { font-size: 15px !important; }
.author-branding-chapter-cta {padding-block: 35px 48px;}
.author-branding-final-cta { padding-block: 50px 0; }
@media (max-width: 760px) {
    .author-branding-page .container { width: 1160px; max-width: calc(100% - 32px); }
    .author-branding-hero { min-height: 0; padding: 112px 0 26px; }
    .author-branding-hero .writing-hero-grid { grid-template-columns: minmax(0,1fr); gap: 12px; }
    .author-branding-hero .writing-hero-copy { margin: 0 auto; text-align: center; }
    .author-branding-hero .writing-hero-copy > p { margin-inline: auto; }
    .author-branding-hero .button-row { justify-content: center; }
    .author-branding-hero .writing-hero-art { min-height: 0; }
    .author-branding-hero .writing-hero-art img { max-height: 250px; }
    .author-branding-intro { padding: 26px 0 18px; }
    .author-branding-intro-grid { grid-template-columns: minmax(0,1fr); gap: 12px; text-align: center; }
    .author-branding-intro-art { min-height: 0; }
    .author-branding-intro-art img { max-height: 270px; }
    .author-branding-service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .author-branding-service-grid.slick-initialized { display: block; }
    .author-branding-service-grid.slick-initialized .slick-slide { padding: 0 14px; }
    .author-branding-service-grid.slick-initialized .author-branding-service-card { min-height: 145px; border: 0; }
    .author-branding-service-grid + .mobile-slider-dots { display: block; }
    .author-branding-service-card { min-height: 145px; padding: 16px 12px 14px 48px; }
    .author-branding-service-card:nth-child(3n + 1),
    .author-branding-service-card:nth-child(3n + 2) { border-right: 0; }
    .author-branding-service-card:nth-child(2n + 1) { border-right: 1px solid #dce6ec; }
    .author-branding-service-card:nth-child(n + 4) { border-bottom: 1px solid #dce6ec; }
    .author-branding-service-card:nth-child(n + 5) { border-bottom: 0; }
    .author-branding-service-card:nth-child(2n + 1)::after { right: -3px; bottom: -3px; }
    .author-branding-service-card > span { top: 12px; left: 12px; }
    .author-branding-portfolio-grid:not(.slick-initialized) { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
    .author-branding-portfolio-grid a { min-height: 140px; }
    .author-branding-portfolio-grid.slick-initialized .slick-slide { padding: 5px 16px; }
    .author-branding-page .why,
    .author-branding-page .testimonials,
    .author-branding-page .press-author-feedback,
    .author-branding-page .faq { padding-block: 32px; }
}
@media (max-width: 520px) {
    .author-branding-page .container { max-width: calc(100% - 28px); }
    .author-branding-hero .writing-hero-art img { max-height: 220px; }
    .author-branding-service-grid { grid-template-columns: minmax(0,1fr); }
    .author-branding-service-card { min-height: 0; border-right: 0 !important; border-bottom: 1px solid #dce6ec !important; padding: 16px 12px 16px 48px; }
    .author-branding-service-card:last-child { border-bottom: 0 !important; }
    .author-branding-service-card::after { display: none; }
}

/* Author website landing page: screenshot-matched layout and page-scoped sizing. */
body.author-website-body .container { width: 1160px; max-width: calc(100% - 40px); }
body.author-website-body p,
body.author-website-body small,
body.author-website-body .contact-form label,
body.author-website-body .faq-body-panel { font-size: 15px !important; }
.author-website-page { overflow: hidden; color: #062645; }
.author-website-page .container { width: 1160px; max-width: calc(100% - 40px); }
.author-website-page p,
.author-website-page .faq-body-panel,
.author-website-page .faq-question-text { font-size: 15px !important; }
.author-website-hero {
    min-height: 420px;
    padding: 105px 0 24px;
    background: #062645 url('../../images/author-website-lp/banner-bg.png') center/cover no-repeat;
}
.author-website-portfolio:before {
    display: none;
}

.author-website-portfolio-slider .port-bx:before {
    display: none;
}
.author-website-hero .writing-hero-grid { align-items: center; }
.author-website-hero .writing-hero-art { min-height: 250px; }
.author-website-hero .writing-hero-art img { width: min(100%, 500px); max-height: 320px; }
.author-website-intro {padding: 50px 0;}
.author-website-intro-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 42px; }
.author-website-intro-art { display: grid; min-height: 260px; place-items: center; }
.author-website-intro-art img {display: block;width: 100%;/* max-height: 280px; */object-fit: contain;}
.author-website-intro-copy h2 {margin: 0 0 12px;color: #062645;/* font: 700 clamp(24px, 2.2vw, 32px)/1.12 var(--gilroy); */}
.author-website-intro-copy p { margin: 0 0 16px; color: #526c80; line-height: 1.6; }
.author-website-services { padding: 12px 0 30px; }
.author-website-services .slick-list.draggable {
    width: 135%;
}
.author-website-services-heading { display: grid; grid-template-columns: minmax(0,1fr) minmax(280px,.9fr); align-items: start; gap: 36px; margin: 0 0 26px; }
.author-website-services-heading h2 { margin: 0; color: #062645; font: 700 clamp(26px,2.5vw,34px)/1.15 var(--gilroy); }
.author-website-services-heading p { max-width: 460px; margin: 3px 0 0; color: #526c80; line-height: 1.5; }
.author-website-service-slider { margin: 0 -5px; }
.author-website-service-slider .slick-slide { padding: 4px 5px; }
.author-website-service-card {min-height: 168px;padding: 10px 15px 15px;border: 1px solid #7d91a2;border-radius: 6px;background: #fff;color: #062645;box-shadow: 0 3px 8px rgba(6,38,69,.04);transition: transform .22s ease, box-shadow .22s ease;}
.author-website-service-card:hover { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(6,38,69,.12); }
.author-website-service-header {display: flex;min-height: 36px;align-items: center;justify-content: space-between;gap: 8px;padding: 0 10px 5px;}
.author-website-service-icon {display: grid;width: 64px;height: 64px;flex: 0 0 64px;place-items: center;}
.author-website-service-icon img {width: 64px;height: 64px;object-fit: contain;}
.author-website-service-card h3 {margin: 0;color: #062645;font: 700 20px/1.2 var(--gilroy);}
.author-website-service-panel {display: flex;min-height: 112px;flex-direction: column;align-items: flex-start;justify-content: space-between;padding: 20px 20px;border-radius: 5px;background: #062645;color: #fff;}
.author-website-service-panel p {margin: 0 0 8px;color: #fff;line-height: 1.45;min-height: 130px;}
.author-website-service-panel a { display: inline-flex; min-height: 28px; align-items: center; gap: 8px; padding: 4px 9px; border-radius: 18px; background: #fff; color: #062645; font-size: 15px; font-weight: 700; text-decoration: none; }
.author-website-service-panel a span { display: grid; width: 17px; height: 17px; place-items: center; border-radius: 50%; background: #062645; color: #fff; font-size: 10px; }
.author-website-service-controls { display: flex; justify-content: center; align-items: center; margin-top: 10px; }
.author-website-service-controls > .slider-arrow,
.author-website-portfolio-controls > .slider-arrow { display: none !important; }
.author-website-service-controls .slick-dots { position: static; display: flex; width: auto; align-items: center; gap: 8px; margin: 0; padding: 0; }
.author-website-service-controls .slick-dots li { width: 50px; height: 4px; margin: 0; }
.author-website-service-controls .slick-dots li button { width: 50px; height: 4px; padding: 0; }
.author-website-service-controls .slick-dots li button::before { width: 50px; height: 4px; border-radius: 4px; background: #cfd8df; color: transparent; font-size: 0; opacity: 1; }
.author-website-service-controls .slick-dots li.slick-active button::before { background: #062645; }
.author-website-portfolio { padding: 54px 0 68px; }
.author-website-portfolio .section-heading {margin-bottom: 58px;}
.author-website-portfolio .section-heading h2 { margin: 0; color: #062645; font: 700 36px/1.2 var(--gilroy); }
.author-website-portfolio .section-heading p { margin: 10px 0 0; color: #526c80; line-height: 1.5; }
.author-website-portfolio-slider {margin: 0;padding: 12px 0 0;clip-path: inset(-60px 0 -60px 0);}
.author-website-portfolio-slider .slick-list { overflow: visible; padding: 0 !important; }
.author-website-portfolio-slider .slick-track { display: flex; align-items: center; }
.author-website-portfolio-slider .slick-slide { padding: 28px 8px 34px; transform: scale(.86) rotate(0); transform-origin: center center; transition: transform .5s ease; }
.author-website-portfolio-slider .slick-center {position: relative;z-index: 2;transform: scale(1.38);}
.author-website-portfolio-slider .author-website-side-left { transform: translateX(20px) scale(.84) rotate(-8deg); }
.author-website-portfolio-slider .author-website-side-right { transform: translateX(-20px) scale(.84) rotate(8deg); }
.author-website-portfolio-slider .port-bx { position: relative; height: 350px; overflow: hidden; border: 1px solid #d8e7ef; border-radius: 16px; background: #fff; box-shadow: 0 15px 24px rgba(6,38,69,.18); }
.author-website-browser-chrome { position: absolute; z-index: 4; top: 0; right: 0; left: 0; display: flex; height: 52px; align-items: center; gap: 7px; padding: 0 16px; border-radius: 14px 14px 0 0; background: #062645; }
.author-website-browser-chrome i { display: block; width: 15px; height: 15px; flex: 0 0 15px; border-radius: 50%; background: #fff; }
.author-website-browser-chrome b { display: block; height: 13px; flex: 1; margin: 0 5px 0 12px; border-radius: 20px; background: #fff; }
.author-website-browser-zoom { position: absolute; z-index: 6; top: 24px; right: 14px; display: grid; width: 52px; height: 52px; padding: 0; place-items: center; border: 5px solid #fff; border-radius: 50%; background: #fff; box-shadow: 0 7px 16px rgba(0,0,0,.17); color: #062645; cursor: pointer; transition: transform .2s ease; }
.author-website-browser-zoom:hover { transform: scale(1.06); color: #062645; }
.author-website-browser-zoom svg { display: block; width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 2; }
.author-website-portfolio-slider .portfolio-lightbox-link { display: block; width: 100%; height: 100%; }
.author-website-portfolio-slider .portfolio-lightbox-link { padding-top: 52px; }
.author-website-portfolio-slider .port--img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: object-position 5s linear; }
.author-website-portfolio-slider .port-bx:hover .port--img { object-position: bottom center; }
.author-website-portfolio-controls {display: flex;justify-content: center;align-items: center;margin: 2px 0 0;top: 20px;}
.author-website-portfolio-controls .portfolio-dots { width: auto; margin: 0; }
.author-website-portfolio-controls .slick-dots { position: static; display: flex; width: auto; align-items: center; gap: 8px; margin: 0; padding: 0; }
.author-website-portfolio-controls .slick-dots li { width: 50px; height: 4px; margin: 0; }
.author-website-portfolio-controls .slick-dots li button { width: 50px; height: 4px; padding: 0; }
.author-website-portfolio-controls .slick-dots li button::before { width: 50px; height: 4px; border-radius: 4px; background: #cfd8df; color: transparent; font-size: 0; opacity: 1; }
.author-website-portfolio-controls .slick-dots li.slick-active button::before { background: #062645; }
.author-website-page .process-writing-services { padding-top: 20px; }
.author-website-chapter-cta { padding-block: 35px 48px; }
.author-website-final-cta {padding-block: 50px 0;}
.author-website-page .why,
.author-website-page .testimonials,
.author-website-page .press-author-feedback,
.author-website-page .faq { padding-block: 46px; }
.author-website-page .testimonial-card p,
.author-website-page .testimonial-card blockquote { font-size: 15px !important; }
@media (max-width: 760px) {
    section#portfolio:before{display:none;}
    .author-website-page .container { width: 1160px; max-width: calc(100% - 32px); }
    .author-website-hero { min-height: 0; padding: 112px 0 26px; }
    .author-website-hero .writing-hero-grid { grid-template-columns: minmax(0,1fr); gap: 12px; }
    .author-website-hero .writing-hero-copy { text-align: center; margin: 0 auto; }
    .author-website-hero .writing-hero-copy > p { margin-inline: auto; }
    .author-website-hero .button-row { justify-content: center; }
    .author-website-hero .writing-hero-art { min-height: 0; }
    .author-website-hero .writing-hero-art img { max-height: 270px; }
    .author-website-intro { padding: 26px 0 18px; }
    .author-website-intro-grid { grid-template-columns: minmax(0,1fr); gap: 12px; text-align: center; }
    .author-website-intro-art { min-height: 0; }
    .author-website-intro-art img { max-height: 260px; }
    .author-website-services {padding: 12px 0 25px;text-align: center;}
    .author-website-services-heading { grid-template-columns: 1fr; gap: 8px; margin-bottom: 18px; }
    .author-website-service-slider { display: block; margin-inline: -4px; }
    .author-website-service-slider .slick-slide { padding: 4px 4px 8px; }
    .author-website-service-card { min-height: 168px; }
    .author-website-service-controls { display: flex; justify-content: center; align-items: center; gap: 12px; }
    .author-website-portfolio-slider .slick-slide {padding: 18px 8px 26px;transform: scale(.88);padding-top: 0;}
    .author-website-portfolio-slider .slick-center { transform: scale(1); }
    .author-website-portfolio-slider .slick-center { transform: scale(1); }
    .author-website-portfolio-slider .slick-slide:has(+ .slick-center),
    .author-website-portfolio-slider .slick-center + .slick-slide,
    .author-website-portfolio-slider .author-website-side-left,
    .author-website-portfolio-slider .author-website-side-right { transform: scale(.88) rotate(0); }
    .author-website-portfolio-slider .port-bx { height: 300px; }
    .author-website-services .slick-list.draggable {
    width: 100%;
}

.author-website-service-panel {
    justify-content: center;
    align-items: center;
}

.author-website-portfolio-slider .slick-track {
    height: 400px;
    transform: translate(10px, 10px);
}

.author-website-portfolio .section-heading {
    margin-bottom: 0;
}

.author-website-portfolio-slider .slick-list {
    padding-top: 0;
}
    .author-website-browser-chrome { height: 44px; padding-inline: 10px; gap: 5px; }
    .author-website-browser-chrome i { width: 10px; height: 10px; flex-basis: 10px; }
    .author-website-browser-chrome b { height: 10px; margin-left: 7px; }
    .author-website-browser-zoom { top: 20px; right: 10px; width: 44px; height: 44px; }
    .author-website-browser-zoom svg { width: 23px; height: 23px; }
    .author-website-portfolio-slider .portfolio-lightbox-link { padding-top: 44px; }
    .author-website-portfolio-slider .port--img { height: 100%; }
    .author-website-portfolio-controls .slider-arrow { display: none !important; }
    .author-website-portfolio { padding: 34px 0 46px; }
    .author-website-portfolio .section-heading h2 { font-size: 28px; }
    .author-website-page .why,
    .author-website-page .testimonials,
    .author-website-page .press-author-feedback,
    .author-website-page .faq { padding-block: 34px; }
}
@media (max-width: 520px) {
    .author-website-page .container { max-width: calc(100% - 28px); }
    .author-website-hero .writing-hero-art img { max-height: 230px; }
    .author-website-portfolio-slider .port-bx {height: 450px;}
}

/* Shared site typography: Gilroy headings and Inter body copy. */
body {
    font-family: var(--inter);
}

body :is(h1, h2, h3, h4, h5, h6) {
    font-family: var(--gilroy);
}

body :is(p, a, button, li, label, summary, input, textarea, select, span, small, strong, em) {
    font-family: var(--inter);
}

body :is(h1, h2, h3, h4, h5, h6) span {
    font-family: inherit;
}

body .writing-serv-pg h1 {
    font-size: 60px !important;
}

body .writing-serv-pg h2 {
    font-size: 48px !important;
}

body .writing-serv-pg p {
    font-size: 16px !important;
}

/* Book Design Services */
.book-designing-page {
    overflow: hidden;
    color: #062645;
    font-family: var(--inter);
}

.book-designing-page h1,
.book-designing-page h2,
.book-designing-page h3 {
    font-family: var(--gilroy);
}

.book-designing-page p,
.book-designing-page a,
.book-designing-page button,
.book-designing-page li {
    font-family: var(--inter);
}

.book-designing-page p {
    /* color: #062645; */
    font-size: 16px;
    line-height: 1.6;
}

.book-designing-page .section-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: #49bfe0;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .08em;
}

.book-designing-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    min-height: 600px;
    align-items: center;
    overflow: hidden;
    padding: 140px 0 62px;
    color: #fff;
    background: #062645 url('../../images/book-designing/banner-bg.png') center / cover no-repeat;
}

.book-designing-hero::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: '';
    background: linear-gradient(90deg, rgba(3, 29, 52, .38), rgba(3, 29, 52, .02) 82%);
}

.book-designing-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
    align-items: center;
    gap: clamp(30px, 5vw, 68px);
}

.book-designing-hero-copy {
    max-width: 540px;
    color: #fff;
}

.book-designing-hero-copy h1 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 60px;
    font-weight: 700;
    line-height: .98;
}

.book-designing-hero-copy h1 span {
    color: #fff;
}

.book-designing-hero-copy p {
    max-width: 510px;
    margin: 0 0 20px;
    color: #e4f3fa;
    font-size: 16px;
}

.book-designing-hero-art img {
    display: block;
    width: 100%;
    max-height: 440px;
    object-fit: contain;
    filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .18));
}

.book-designing-intro {
    padding: 58px 0 48px;
    background: #fff;
}

.book-designing-intro-grid,
.book-designing-structure-grid,
.book-designing-illustration-grid {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    align-items: center;
    gap: clamp(34px, 5vw, 66px);
}

.book-designing-intro-art img,
.book-designing-structure-art img,
.book-designing-illustration-art img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.book-designing-intro-copy h2,
.book-designing-structure-copy h2,
.book-designing-illustration-copy h2 {
    margin: 0 0 16px;
    color: #062645;
    line-height: 1.08;
}

.book-designing-intro-copy p,
.book-designing-structure-copy > p,
.book-designing-illustration-copy > p {
    max-width: 640px;
    margin-bottom: 22px;
}

.book-designing-section-heading {
    max-width: 800px;
    margin: 0 auto 30px;
    text-align: center;
}

.book-designing-section-heading h2 {
    margin: 0;
    color: #062645;
}

.book-designing-service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.book-designing-service-card {
    display: flex;
    min-height: 148px;
    align-items: flex-start;
    gap: 12px;
    border: 1px solid #d6eaf2;
    border-radius: 12px;
    padding: 18px 16px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(6, 38, 69, .08);
    flex-direction: column;
}

.book-designing-service-card > img {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.book-designing-service-card h3 {
    margin: 0;
    font-weight: 700;
    font-size: 20px;
    line-height: 130%;
    color: #062645;
    width: 60%;
}

.book-designing-service-card p {
    margin: 0;
    color: #36516a;
    font-size: 16px;
    line-height: 1.45;
}

.book-designing-structure {
    padding: 52px 0;
    background: #fff;
}

.book-designing-structure-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
}

.book-designing-structure-copy {
    border-radius: 16px;
    /* padding: clamp(24px, 3.2vw, 42px); */
    /* background: #59c2e2; */
}

.book-designing-structure-copy .section-eyebrow {
    color: #062645;
}

.book-designing-structure-copy h2,
.book-designing-structure-copy p {
    color: #062645;
}

.book-designing-structure-copy > p {
    margin-bottom: 20px;
}

.book-designing-structure-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    background: #5CC3E8;
    border-radius: 20px;
    padding: 20px 20px;
}

.book-designing-structure-points article {
    border-radius: 10px;
    /* padding: 14px; */
    /* background: rgba(255, 255, 255, .88); */
}

.book-designing-structure-points h3 {
    margin: 0 0 10px;
    line-height: 1.2;
    font-weight: 700;
    font-size: 20px;
    color: #FFFFFF;
    font-family: var(--inter);
}

.book-designing-structure-points p {
    margin: 0;
    color: #36516a;
    font-size: 15px;
    line-height: 1.4;
}

.book-designing-structure-art img {
    max-height: 410px;
}

.book-designing-illustration {
    padding: 45px 0 62px;
}
body .book-designing-illustration-points span i {
    position: relative;
    top: 10px;
    font-size: 45px;
}
.book-designing-illustration-grid {
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
}

.book-designing-illustration-art img {
    /* max-height: 390px; */
    width: 100%;
}

.book-designing-illustration-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

body .book-designing-illustration-points span {
    padding: 10px 10px;
    background: #FFFFFF;
    border: 1px solid #5CC3E8;
    box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    font-weight: 700;
    font-size: 20px !important;
    color: #062645;
    display: flex;
    align-items: flex-start;
    gap: 0 10px;
}

body.book-designing-route :is(p, li, a, button, small, label, input, textarea, select, summary, span) {
    font-size: 16px;
    font-family: var(--inter);
}

body.book-designing-route :is(h1, h2, h3) span {
    font-size: inherit !important;
    font-family: inherit;
}
body.book-designing-route .book-designing-page .book-designing-structure-points p {
    font-size: 15px !important;
    color: #fff;
}

body.book-designing-route .book-designing-page p {
    /* font-size: 14px; */
    /* font-weight: 400; */
    /* font-size: 14px; */
    /* line-height: 176%; */
    /* color: #062645; */
}
.book-designing-service-card div {
    display: flex;
    align-items: center;
    gap: 0 10px;
}

@media (max-width: 1000px) {
    .book-designing-hero {
        min-height: 540px;
        padding-top: 126px;
    }

    .book-designing-hero-grid {
        gap: 28px;
    }

    .book-designing-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .book-designing-structure-points {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body .writing-serv-pg h2 {
        font-size: 38px !important;
    }

    body .writing-serv-pg h1 {
        font-size: 52px !important;
    }
}

@media (max-width: 700px) {
    .book-designing-hero {
        min-height: auto;
        padding: 120px 0 52px;
    }

    .book-designing-hero-grid,
    .book-designing-intro-grid,
    .book-designing-structure-grid,
    .book-designing-illustration-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .children-book-page section.chapter-cta {
    padding-top: 50px;
}

    .book-designing-hero-copy h1,
    body .writing-serv-pg h1 {
        font-size: 30px !important;
    }

    body .writing-serv-pg h2 {
        font-size: 32px !important;
        text-align: center;
        /* color: #fff; */
    }

    .book-designing-hero-art img {
        max-height: 310px;
    }

    .book-designing-intro,
    .book-designing-structure,
    .book-designing-illustration {
        padding-block: 38px;
    }

    .book-designing-intro-art {
        order: 1;
    }

    .book-designing-service-grid {
        gap: 14px;
    }
    .book-designing-service-card div {
    justify-content: center;
    margin-bottom: 10px;
}
    .book-designing-service-card {
        min-height: 0;
        padding: 16px 14px;
        text-align: center;
    }

    .book-designing-structure-art {
        grid-row: 1;
    }

    .book-designing-page .book-designing-structure-grid {
        width: calc(100% - 34px);
        max-width: 100%;
        min-width: 0;
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
        box-sizing: border-box;
    }

    .book-designing-page .book-designing-structure-copy,
    .book-designing-page .book-designing-structure-art {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
        text-align: center;
    }

    .book-designing-page .book-designing-structure-points.slick-initialized {
        display: block;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        padding: 14px;
        overflow: hidden;
        box-sizing: border-box;
    }

    .book-designing-page .book-designing-structure-points .slick-list,
    .book-designing-page .book-designing-structure-points .slick-track,
    .book-designing-page .book-designing-structure-points .slick-slide,
    .book-designing-page .book-designing-structure-points .slick-slide > div {
        min-width: 0;
        box-sizing: border-box;
    }

    .book-designing-page .book-designing-structure-points .slick-slide > div,
    .book-designing-page .book-designing-structure-points article {
        width: 100%;
        max-width: 100%;
    }

    .book-designing-page .book-designing-structure-points article {
        padding: 8px 4px;
        overflow-wrap: anywhere;
    }

    .book-designing-page .book-designing-structure-points article h3 {
        font-size: 20px;
    }

    .book-designing-page .book-designing-structure-points article p {
        font-size: 15px !important;
        line-height: 1.45;
        overflow-wrap: anywhere;
    }

    .book-designing-page .book-designing-structure-points + .mobile-slider-dots {
        display: block;
        width: 100%;
        min-width: 0;
        margin-top: 12px;
    }

    .book-designing-page .book-designing-illustration {
        overflow: hidden;
    }

    .book-designing-page .book-designing-illustration-grid {
        width: calc(100% - 34px);
        max-width: 100%;
        min-width: 0;
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
        box-sizing: border-box;
    }

    .book-designing-page .book-designing-illustration-art,
    .book-designing-page .book-designing-illustration-copy {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }

    .book-designing-page .book-designing-illustration-art img {
        display: block;
        width: 100%;
        max-height: 320px;
        object-fit: contain;
    }

    .book-designing-page .book-designing-illustration-points.slick-initialized {
        display: block;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }

    .book-designing-page .book-designing-illustration-points .slick-list,
    .book-designing-page .book-designing-illustration-points .slick-track,
    .book-designing-page .book-designing-illustration-points .slick-slide,
    .book-designing-page .book-designing-illustration-points .slick-slide > div {
        min-width: 0;
        box-sizing: border-box;
    }

    .book-designing-page .book-designing-illustration-points .slick-slide > div,
    .book-designing-page .book-designing-illustration-points span {
        width: 100%;
        max-width: 100%;
    }

    .book-designing-page .book-designing-illustration-points span {
        overflow-wrap: anywhere;
        display: flex !important;
        align-items: center;
    }

    .book-designing-page .book-designing-illustration-points span i {
        top: 0;
        flex: 0 0 auto;
        font-size: 28px;
    }

    .book-designing-page .book-designing-illustration-points + .mobile-slider-dots {
        display: block;
        width: 100%;
        min-width: 0;
        margin-top: 12px;
    }
}

@media (max-width: 480px) {
    .book-designing-service-grid,
    .book-designing-structure-points,
    .book-designing-illustration-points {
        grid-template-columns: 1fr;
    }

    .book-designing-section-heading {
        margin-bottom: 22px;
    }
}

/* Book formatting portfolio: centered active book with soft side previews. */
.book-formatting-page .portfolio-section {
    padding: 18px 0 34px;
}

.book-formatting-page .portfolio-title {
    /* margin-bottom: 0; */
    /* font-size: clamp(27px, 2.8vw, 32px); */
}

.book-formatting-page .swiper-container-wrapper {
    /* max-width: 720px; */
    padding: 24px 0 0;
}

.book-formatting-page .swiper.bookSwiper {
    padding-top: 17px;
    padding-bottom: 12px;
}

.book-formatting-page .bookSwiper .swiper-slide-prev,
.book-formatting-page .bookSwiper .swiper-slide-next {
    opacity: .42 !important;
}

.book-formatting-page .carousel-controls-wrapper {
    gap: 12px;
    margin-top: 25px;
}

.book-formatting-page .carousel-controls-wrapper .nav-btn {
    width: 24px;
    height: 24px;
    padding: 0;
    color: #062645;
    font-size: 16px;
}

.book-formatting-page .progress-track {
    display: grid;
    width: 116px;
    height: 4px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
    overflow: visible;
    border-radius: 0;
    background: transparent;
    cursor: pointer;
}

.book-formatting-page .progress-segment {
    width: 100%;
    height: 3px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: #cbd3d9;
    cursor: pointer;
    transition: background-color .25s ease;
}

.book-formatting-page .progress-segment.is-active {
    background: #062645;
}

.book-formatting-page .slider-counter {
    margin-top: 5px;
    font-size: 16px;
}

@media (max-width: 767px) {
    .book-formatting-page .portfolio-section {
        padding: 22px 0 30px;
    }

    .book-formatting-page .swiper-container-wrapper {
        width: calc(100% - 32px);
    }

    .book-formatting-page .swiper.bookSwiper {
        padding-top: 12px;
    }

    .book-formatting-page .bookSwiper .swiper-slide-active {
        transform: scale(1) !important;
    }
}

/* Book Marketing Services page */
.book-marketing-page {
    overflow: hidden;
}

.book-marketing-page p {
    /* color: #062645; */
    font-size: 16px;
}

.book-marketing-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: 600px;
    padding: 140px 0 62px;
    overflow: hidden;
    color: #fff;
    background: #062645 url('../../images/book-marketing/banner-bg.png') center / cover no-repeat;
}

.book-marketing-hero::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: '';
    background: linear-gradient(90deg, rgba(3, 29, 52, .38), rgba(3, 29, 52, .02) 80%);
}

.book-marketing-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
    align-items: center;
    gap: clamp(30px, 5vw, 68px);
}

.book-marketing-hero-copy {
    position: relative;
    z-index: 1;
    max-width: 570px;
}

.book-marketing-hero-copy .bnr-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 30px;
    padding: 5px 12px;
    background: rgba(255, 255, 255, .09);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
}

.book-marketing-hero-copy .bnr-tag img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.book-marketing-hero h1 {
    margin-bottom: 16px;
    color: #fff;
    font-size: 60px;
}

.book-marketing-hero h1 span {
    color: #5bc8e7;
}

.book-marketing-hero-copy > p {
    max-width: 510px;
    margin-bottom: 0;
    color: #e1eef5;
    line-height: 1.7;
}

.book-marketing-hero .button-row {
    margin-top: 25px;
}

.book-marketing-hero .button {
    min-height: 46px;
    padding-inline: 18px;
}

.book-marketing-hero-art {
    display: grid;
    min-width: 0;
    place-items: center;
}

.book-marketing-hero-art img {
    width: min(100%, 600px);
    max-height: 430px;
    object-fit: contain;
    filter: drop-shadow(0 22px 28px rgba(0, 0, 0, .2));
}

.book-marketing-intro {
    padding: 50px 0 58px;
    background: #fff;
}

.book-marketing-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    align-items: center;
    gap: clamp(38px, 6vw, 78px);
}

.book-marketing-intro-art img {
    width: 100%;
    max-width: 550px;
    margin-inline: auto;
}

.book-marketing-intro-copy h2,
.book-marketing-section-heading h2,
.book-marketing-results-copy h2 {
    margin-bottom: 13px;
    font-size: clamp(36px, 4vw, 48px);
}

.book-marketing-intro-copy > p {
    max-width: 620px;
    margin-bottom: 22px;
    line-height: 1.65;
}

.book-marketing-services {
    padding: 22px 0 60px;
    background: #fff;
}

.book-marketing-section-heading {
    max-width: 750px;
    margin: 0 auto 25px;
    text-align: center;
}

.book-marketing-section-heading h2 {
    margin-bottom: 9px;
}

.book-marketing-section-heading > p {
    max-width: 630px;
    margin: 0 auto;
    color: #36536c;
    line-height: 1.6;
}

.marketing-service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 13px;
}

.marketing-service-preview {
    grid-column: span 2;
    height: 180px;
    margin: 0;
    overflow: hidden;
    border-radius: 9px;
    background: #eaf7fb;
}

.marketing-service-preview img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity .28s ease, transform .4s ease;
}

.marketing-service-preview img.is-changing {
    opacity: .45;
    transform: scale(.985);
}

.marketing-service-card {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-content: start;
    align-items: start;
    gap: 8px 10px;
    width: 100%;
    min-height: 180px;
    padding: 20px 16px 15px;
    border: 1px solid #d5ebf3;
    border-radius: 9px;
    color: #062645;
    background: #eff8fb;
    text-align: left;
    cursor: pointer;
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, color .22s ease, background-color .22s ease;
}

.marketing-service-card:hover,
.marketing-service-card:focus-visible {
    transform: translateY(-3px);
    border-color: #54c2e3;
    box-shadow: 0 11px 23px rgba(6, 38, 69, .09);
    outline: none;
}

.marketing-service-card.is-active {
    border-color: #062645;
    color: #fff;
    background: #062645;
}

.marketing-service-card.is-active .marketing-service-description {
    color: #e5f0f6;
}

.marketing-service-icon {
    display: grid;
    grid-column: 1;
    grid-row: 1;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 8px;
    background: #54c2e3;
}

.marketing-service-icon img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    /*filter: hue-rotate(165deg) saturate(1.2) brightness(1.05);*/
}

.marketing-service-copy {
    display: contents;
}

.marketing-service-title {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
}

.marketing-service-description {
    grid-column: 1 / -1;
    grid-row: 2;
    color: #36536c;
    font-size: 13px;
    line-height: 1.48;
}

.book-marketing-results {
    padding: 10px 0 60px;
    background: #fff;
}
.ds-none-st{display: none;}
.book-marketing-results-panel {
    display: grid;
    grid-template-columns: minmax(0, .66fr) minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    width: min(1160px, 100%);
    min-height: 310px;
    margin-inline: auto;
    overflow: hidden;
    border-radius: 8px;
    padding: 30px 16px 30px 28px;
    background: #54c2e3;
}

.marketing-results-art {
    position: relative;
    min-height: 260px;
    height: 100%;
}

.marketing-results-art h2 {
    position: relative;
    z-index: 1;
    margin: 0px 0 30px;
    color: #fff;
    font-size: clamp(27px, 2.5vw, 38px);
    line-height: 1.15;
}

.marketing-results-book {
    position: relative;
    /* right: 2px; */
    /* bottom: -3px; */
    /* width: min(88%, 230px); */
    /* height: 225px; */
    /* object-fit: contain; */
    filter: drop-shadow(0 11px 10px rgba(6, 38, 69, .2));
    /* transform: rotate(-7deg); */
    width: 100%;
}

.marketing-results-seal {
    position: absolute;
    left: 12px;
    bottom: 53px;
    display: grid;
    width: 66px;
    height: 66px;
    place-items: center;
    border: 3px solid #d99127;
    border-radius: 50%;
    color: #4f3718;
    background: #fff8e9;
    box-shadow: 0 0 0 3px #f2c15e, inset 0 0 0 2px #fff;
    text-align: center;
    transform: rotate(-9deg);
}

.marketing-results-seal::before {
    position: absolute;
    top: 5px;
    color: #b77a20;
    content: 'Ã¢Ëœâ€¦ Ã¢Ëœâ€¦ Ã¢Ëœâ€¦';
    font-size: 8px;
    letter-spacing: 1px;
}

.marketing-results-seal span {
    margin-top: 8px;
    font-size: 9px;
    font-weight: 800;
    line-height: 1.05;
}

.marketing-results-copy {
    min-width: 0;
    position: relative;
}
.result-logo-cirl-st {
    position: absolute;
    right: 0;
    top: 0;
    left: 0;
    margin: auto;
    bottom: 0;
    /* border: 3px solid #fff; */
    border-radius: 60%;
    width: auto;
}

.marketing-result-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    /* width: 80%; */
    margin-right: 0;
    margin: auto;
}

.marketing-result-card {
    min-height: 195px;
    padding: 11px 13px 10px;
    border-radius: 14px;
    background: #fff;
    width: 314px;
}

.marketing-result-card header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.marketing-result-card header img {
    /* flex: 0 0 24px; */
    /* width: 24px; */
    /* height: 24px; */
    /* object-fit: contain; */
}

.marketing-result-card h3 {
    margin: 0;
    color: #062645;
    font-size: 20px;
    line-height: 1.25;
    font-weight: bold;
}

.marketing-result-card p {
    margin: 0;
    color: #062645;
    font-size: 15px;
    line-height: 1.5;
}

.marketing-result-card .marketing-result-number {
    margin: 5px 0 5px;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}

.marketing-result-number sup {
    margin-left: 2px;
    font-size: 20px;
    vertical-align: top;
    top: 5px;
}

.book-marketing-platforms {
    padding: 0 0 68px;
    background: #fff;
}

.book-marketing-platforms .book-marketing-section-heading {
    margin-bottom: 22px;
}

.marketing-platform-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 11px;
    max-width: 960px;
    margin-inline: auto;
}

.marketing-platform-card {
    display: grid;
    min-height: 0;
    padding: 0;
    place-items: center;
}

.marketing-platform-card img {
    width: 100%;
    max-width: 100%;
    max-height: none;
    object-fit: contain;
}

.book-marketing-page .process-writing-services {
    padding: 45px 0 0px;
    background: #fff;
}

.book-marketing-page .process-writing-services .section-title {
    font-family: var(--gilroy);
    font-size: clamp(36px, 4vw, 48px);
    letter-spacing: -.03em;
}

@media (max-width: 991px) {
    .book-marketing-hero {
        min-height: 540px;
        padding-top: 124px;
    }

    .book-marketing-hero h1 {
        font-size: clamp(44px, 5.4vw, 58px);
    }

    .marketing-platform-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .book-marketing-results-panel {
        grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
    }
}

@media (max-width: 767px) {
    .book-marketing-hero {
        min-height: auto;
        padding: 118px 0 38px;
        background-position: 42% center;
    }

    .book-marketing-hero-grid,
    .book-marketing-intro-grid,
    .book-marketing-results-panel {
        grid-template-columns: 1fr;
    }

    .book-marketing-hero-grid {
        gap: 8px;
    }

    .book-marketing-hero h1 {
        font-size: clamp(42px, 11vw, 56px);
    }
    .book-marketing-hero-copy {
    text-align: center;
}
    .book-marketing-hero-art img {
        width: min(100%, 510px);
        max-height: 330px;
        margin-top: 30px;
    }

    .book-marketing-intro {
        padding: 42px 0 48px;
    }

    .book-marketing-intro-grid {
        gap: 19px;
        text-align: center;
    }

    .book-marketing-intro-art img {
        max-width: 450px;
    }

    .marketing-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .marketing-service-preview {
        grid-column: 1 / -1;
    }

    .book-marketing-results-panel {
        gap: 25px;
    }

    .marketing-results-art {
        min-height: 215px;
    }

    .marketing-results-book {
        width: min(76%, 250px);
    }
}

@media (max-width: 520px) {
    .book-marketing-hero .button-row {
        align-items: stretch;
        flex-direction: column;
    }

    .marketing-service-grid,
    .marketing-result-grid,
    .marketing-platform-grid {
        grid-template-columns: 1fr;
    }

    .marketing-service-preview {
        grid-column: auto;
    }

    .marketing-service-card {
        min-height: 0;
    }

    .book-marketing-results-panel {
        width: calc(100% - 24px);
        padding: 22px 16px;
    }
}

/* Children's book writing page */
.children-book-page .children-book-hero {
    background-image: url('../../images/childern-book-writing/banner-bg.png');
    background-position: center;
    padding-bottom: 0;
}

.children-book-page .children-book-hero::before {
    background: linear-gradient(90deg, rgba(4, 31, 56, .25), rgba(4, 31, 56, .04) 72%);
}

.children-book-page .writing-hero h1 {
    font-size: clamp(42px, 4vw, 54px);
}

.children-book-page .children-hero-art img {
    /* width: min(100%, 560px); */
    /* max-height: 480px; */
    /* filter: none; */
    /* position: relative; */
    top: 70px;
}

.children-intro {
    padding: 70px 0 52px;
    background: #fff;
}

.children-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
    align-items: center;
    gap: clamp(28px, 5vw, 64px);
}

.children-intro-art {
    /* display: grid; */
    /* min-height: 300px; */
    /* place-items: center; */
    /* border-radius: 14px; */
    /* background: linear-gradient(145deg, #effaff, #d8f1fa); */
}

.children-intro-art img {
    display: block;
    /* width: min(100%, 500px); */
    /* max-height: 330px; */
    /* object-fit: contain; */
    width: 90%;
    margin: 0 auto;
}

.children-intro-copy h2,
.children-purpose-copy h2 {
    margin-bottom: 14px;
    color: #062645;
    font-size: clamp(32px, 3.7vw, 44px);
}

.children-intro-copy > p,
.children-purpose-copy > p {
    color: #36536c;
    line-height: 1.65;
}

.children-intro-copy .button-row {
    margin-top: 21px;
}

.children-services {
    padding: 4px 0 65px;
    background: #fff;
}

.children-section-heading {
    max-width: 730px;
    margin: 0 auto 25px;
    text-align: center;
}

.children-section-heading h2 {
    margin-bottom: 8px;
    color: #062645;
    font-size: clamp(32px, 3.6vw, 44px);
}

.children-section-heading > p {
    margin: 0 auto;
    color: #557087;
    line-height: 1.55;
}

.children-service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 62px 20px;
    margin-top: 70px;
}

.children-service-card {
}

.children-service-icon {
    display: grid;
    width: 98px;
    height: 98px;
    margin-bottom: 8px;
    place-items: center;
    border-radius: 50%;
    background: #062645;
    margin-top: -60px;
    border: 2px solid #fff;
}

.children-service-icon img {
    /* width: 19px; */
    /* height: 19px; */
    object-fit: contain;
}

.children-service-card h3 {
    margin: 0 0 5px;
    color: #fff;
    font-size: 19px;
    line-height: 1.25;
    font-weight: bold;
}

.children-service-card p {
    margin: 0;
    color: #123b5a;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 400;
    color: #fff;
}

.children-purpose {
    padding: 22px 0 74px;
    background: #fff;
}

.children-purpose-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, .75fr);
    align-items: start;
    gap: clamp(28px, 5vw, 64px);
}

.children-purpose-art {
    display: grid;
    min-height: 270px;
    place-items: center;
}

.children-purpose-art img {
}

.children-purpose-panel {
    position: relative;
    border-radius: 12px;
    padding: 24px 25px 25px;
    color: #fff;
    background: #062645;
}

.children-purpose-logo {
    position: absolute;
    top: -18px;
    left: -17px;
    /* width: 42px; */
    /* height: 42px; */
    object-fit: contain;
}

.children-purpose-panel h3 {
    margin: 0 0 16px;
    color: #fff;
    font-size: 20px;
}

.children-purpose-panel ul {
    display: grid;
    gap: 9px;
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}

.children-purpose-panel li {
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, .16);
    padding: 0 0 9px 20px;
    color: #e4f4fa;
    font-size: 14px;
    line-height: 1.4;
}

.children-purpose-panel li::before {
    position: absolute;
    top: 1px;
    left: 0;
    color: #54c2e3;
    /* content: 'Ã¢Å“Â¦'; */
}

.children-book-page .children-purpose-panel {
    align-self: start;
    margin-top: -10px;
    padding: 14px 20px 20px;
}
.children-book-page .children-purpose-panel .children-purpose-list li i {
    position: relative;
    top: 6px;
    font-size: 15px;
}

.children-book-page .children-purpose-panel .children-purpose-list li div {
    flex-direction: column;
    display: flex;
    gap: 5px 0;
}

.children-book-page .children-purpose-brand {
    display: grid;
    min-height: 70px;
    margin-bottom: 22px;
    place-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    padding-bottom: 20px;
}
.writing-hero-art.book-illustration-hero-art img {
    position: relative;
    top: 50px;
}

.children-book-page .children-purpose-brand .children-purpose-logo {
    position: static;
    /* width: 58px; */
    /* height: 50px; */
    /* margin: auto; */
}

.children-book-page .children-purpose-panel .children-purpose-list {
    display: flex;
    gap: 30px 30px;
    margin: 0;
    flex-wrap: wrap;
}

.children-book-page .children-purpose-panel .children-purpose-list li {
    display: grid;
    gap: 4px 11px;
    margin: 0;
    border: 0;
    padding: 0 0 0 10px;
    font-size: 12px;
    display: flex;
    align-items: flex-start;
}

.children-book-page .children-purpose-panel .children-purpose-list li:last-child {
    margin-bottom: 0;
}

.children-book-page .children-purpose-panel .children-purpose-list li::before {
    /* top: 2px; */
    /* display: grid; */
    /* width: 12px; */
    /* height: 12px; */
    /* place-items: center; */
    /* border: 1px solid rgba(255, 255, 255, .72); */
    /* border-radius: 50%; */
    /* color: #fff; */
    /* background: transparent; */
    /* content: 'Ã¢Å“â€œ'; */
    /* font-size: 8px; */
    /* line-height: 1; */
}

.children-book-page .children-purpose-list strong {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
}

.children-book-page .children-purpose-list span {
    color: #ffffff;
    font-size: 16px;
    line-height: 1.45;
    font-weight: 300;
}

/* Children's book writing page — reference layout refinements */
.children-book-page .children-book-hero {
    /* min-height: 570px; */
    background-size: cover;
}

.children-book-page .children-hero-art img {
    top: 24px;
    width: min(100%, 520px);
    /* max-height: 440px; */
    object-fit: contain;
}

.children-book-page .children-intro-copy h2,
.children-book-page .children-section-heading h2 {
    font-size: clamp(28px, 3vw, 48px);
    font-weight: 600;
}

.children-book-page .children-intro-copy > p,
.children-book-page .children-section-heading > p {
    font-size: 15px;
}

.children-book-page .children-services {
    padding: 10px 0 56px;
}

.children-book-page .children-section-heading {
    margin-bottom: 28px;
}

.children-book-page .children-service-grid {
    /* grid-template-columns: repeat(6, minmax(0, 1fr)); */
    /* gap: 26px; */
    /* max-width: 650px; */
    /* margin: 0 auto; */
    /* padding: 0 4px; */
}

.children-book-page .children-services .eyebrow,
.children-book-page .children-services .children-section-heading > p {
    display: none;
}

.children-book-page .children-services .children-section-heading h2 {
    margin-bottom: 0;
    font-size: clamp(26px, 2.5vw, 30px);
}

.children-book-page .children-service-card:nth-child(4) {
    grid-column: 2 / span 2;
}

.children-book-page .children-service-card:nth-child(5) {
    grid-column: 4 / span 2;
}

.children-book-page .children-service-card {
}

.children-book-page .children-service-card::before {
    /* position: absolute; */
    /* z-index: -1; */
    /* inset: -6px -9px -7px 7px; */
    /* border-radius: 5px; */
    /* background: #55c4e5; */
    /* content: ''; */
    transform: rotate(-4deg);
}

.children-book-page .children-service-card:nth-child(4)::before,
.children-book-page .children-service-card:nth-child(5)::before {
    transform: rotate(-4deg);
}

.children-book-page .children-service-card {
    /* Card content and offset cyan backplate follow the supplied section reference. */
    gap: 0;
}

.children-book-page .children-service-card h3 {
    min-height: 38px;
    margin: 4px 0 11px;
    font-size: 13px;
    line-height: 1.25;
}

.children-book-page .children-service-card p {
    color: #e8f5fb;
    font-size: 10px;
    line-height: 1.55;
}

.children-book-page .children-service-icon {
    top: 17px;
    left: 11px;
    width: 38px;
    height: 38px;
    border-radius: 5px;
    background: #55c4e5;
}

.children-book-page .children-service-icon img {
    width: 26px;
    height: 26px;
}

/* Keep the lower cards centered as the grid changes at smaller widths. */
@media (max-width: 760px) {
    .children-book-page .children-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 520px;
    }

    .children-book-page .children-service-card:nth-child(4) {
        grid-column: auto;
    }

    .children-book-page .children-service-card:nth-child(5) {
        grid-column: 1 / span 2;
        justify-self: center;
        width: min(100%, 245px);
    }
}

@media (max-width: 520px) {
    .children-book-page .children-service-grid {
        grid-template-columns: 1fr;
        max-width: 340px;
    }

    .children-book-page .children-service-card:nth-child(5) {
        grid-column: auto;
        width: 100%;
    }
}

/* Children's book writer section — reference panel with book art and six check cards. */
.children-book-page .children-writers-heading {
    margin-bottom: 28px;
}

.children-book-page .children-writers-heading .eyebrow {
    display: none;
}

.children-book-page .children-writers-heading h2 {
    margin-bottom: 0;
    font-size: clamp(26px, 2.5vw, 30px);
}

.children-book-page .children-purpose-grid {
    grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
    align-items: center;
    gap: 18px;
    max-width: 690px;
    min-height: 330px;
    margin: 0 auto;
    border-radius: 12px;
    padding: 24px 22px;
    background: linear-gradient(135deg, #09b9df 0%, #00b4d9 100%);
}

.children-book-page .children-purpose-art {
    display: grid;
    min-height: 280px;
    place-items: center;
}

.children-book-page .children-purpose-art img {
}

.children-book-page .children-purpose-panel {
    align-self: center;
    margin: 0;
    padding: 0;
    background: transparent;
}

.children-book-page .children-purpose-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.children-book-page .children-purpose-panel .children-purpose-list li {
    position: relative;
    display: flex;
    min-height: 64px;
    align-items: center;
    margin: 0;
    border: 0;
    border-radius: 8px;
    padding: 12px 11px;
    color: #17354d;
    background: #fff;
    font-size: 10px;
    line-height: 1.55;
}

.children-book-page .children-purpose-panel .children-purpose-list li::before {
    content: none;
}

.children-book-page .children-purpose-panel .children-purpose-list li i {
    position: absolute;
    top: -8px;
    right: 9px;
    display: grid;
    width: 18px;
    height: 18px;
    place-items: center;
    border-radius: 3px;
    color: #fff;
    background: #062b4c;
    font-size: 10px;
}

.children-book-page .children-purpose-list li span {
    color: #17354d;
    font-size: 10px;
    font-weight: 400;
    line-height: 1.55;
}

@media (max-width: 760px) {
    .children-book-page .children-purpose-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        max-width: 560px;
        min-height: 0;
        padding: 22px 18px;
    }

    .children-book-page .children-purpose-art {
        min-height: 210px;
    }

    .children-book-page .children-purpose-art img {
        max-height: 220px;
    }
}

@media (max-width: 520px) {
    .children-book-page .children-purpose-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* Children's book writer section — reference panel with book art and six check cards. */
.children-book-page .children-writers-heading {
    margin-bottom: 28px;
}

.children-book-page .children-writers-heading .eyebrow {
    display: none;
}

.children-book-page .children-purpose-grid {
    grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
    align-items: center;
    gap: 18px;
    max-width: 690px;
    min-height: 330px;
    margin: 0 auto;
    border-radius: 12px;
    padding: 24px 22px;
    background: linear-gradient(135deg, #09b9df 0%, #00b4d9 100%);
}

.children-book-page .children-purpose-art {
    display: grid;
    min-height: 280px;
    place-items: center;
}

.children-book-page .children-purpose-art img {
}

.children-book-page .children-purpose-panel {
    align-self: center;
    margin: 0;
    padding: 0;
    background: transparent;
}

.children-book-page .children-purpose-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.children-book-page .children-purpose-panel .children-purpose-list li {
    position: relative;
    display: flex;
    min-height: 64px;
    align-items: center;
    margin: 0;
    border: 0;
    border-radius: 8px;
    padding: 12px 11px;
    color: #17354d;
    background: #fff;
    font-size: 10px;
    line-height: 1.55;
}

.children-book-page .children-purpose-panel .children-purpose-list li::before {
    content: none;
}

.children-book-page .children-purpose-panel .children-purpose-list li i {
    position: absolute;
    top: -8px;
    right: 9px;
    display: grid;
    width: 18px;
    height: 18px;
    place-items: center;
    border-radius: 3px;
    color: #fff;
    background: #062b4c;
    font-size: 10px;
}

.children-book-page .children-purpose-list li span {
    color: #17354d;
    font-size: 10px;
    font-weight: 400;
    line-height: 1.55;
}

@media (max-width: 760px) {
    .children-book-page .children-purpose-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        max-width: 560px;
        min-height: 0;
        padding: 22px 18px;
    }

    .children-book-page .children-purpose-art {
        min-height: 210px;
    }

    .children-book-page .children-purpose-art img {
        max-height: 220px;
    }
}

@media (max-width: 520px) {
    .children-book-page .children-purpose-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* Retain the existing intro and writer section spacing. */
.children-book-page .children-service-grid > .children-service-card {
    margin-top: 0;
}

.children-book-page .children-service-card {
    /* The service icon sits beside the title, matching the provided card design. */
    align-items: flex-start;
}

.children-book-page .children-service-card p {
    margin: 0;
}

.children-book-page .children-services {
    padding-top: 10px;
}

.children-book-page .children-service-grid {
    margin-top: 0;
}

.children-book-page .children-service-card {
}

.children-book-page .children-service-icon {
    position: absolute;
    top: 20px;
    left: 14px;
    width: 34px;
    height: 34px;
    margin: 0;
    border: 0;
    border-radius: 4px;
    background: #55c4e5;
}

.children-book-page .children-service-icon img {
    width: 22px;
    height: 22px;
}

.children-book-page .children-service-card h3 {
    margin-bottom: 8px;
    font-size: 17px;
}

.children-book-page .children-service-card p {
    color: #e8f5fb;
    font-size: 13px;
    line-height: 1.5;
}

.children-book-page .children-purpose {
    padding: 8px 0 56px;
}

.children-book-page .children-writers-heading {
    margin-bottom: 22px;
}

.children-book-page .children-purpose-grid {
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    align-items: center;
    gap: 22px;
    border-radius: 12px;
    padding: 22px 24px;
    background: #48c3e6;
}

.children-book-page .children-purpose-art {
    min-height: 250px;
}

.children-book-page .children-purpose-art img {
    object-fit: ;
}

.children-book-page .children-purpose-panel {
    margin: 0;
    padding: 0;
    background: transparent;
}

.children-book-page .children-purpose-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.children-book-page .children-purpose-panel .children-purpose-list li {
    min-height: 78px;
    gap: 8px;
    border-radius: 4px;
    padding: 12px 13px;
    color: #143b56;
    background: #fff;
}

.children-book-page .children-purpose-panel .children-purpose-list li i {
    top: 0;
    color: #1ca9d1;
}

.children-book-page .children-purpose-list strong {
    color: #062b4c;
    font-size: 15px;
}

.children-book-page .children-purpose-list span {
    color: #36536c;
    font-size: 12px;
    line-height: 1.4;
}

@media (max-width: 991px) {
    .children-book-page .children-service-grid {
        gap: 16px;
    }

    .children-book-page .children-purpose-grid {
        grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
        padding: 18px;
    }
}

@media (max-width: 760px) {
    .children-book-page .children-book-hero {
        min-height: 0;
    }

    .children-book-page .children-hero-art img {
        top: 0;
        max-height: 340px;
    }

    .children-book-page .children-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .children-book-page .children-purpose-grid {
        grid-template-columns: 1fr;
    }

    .children-book-page .children-purpose-art {
        min-height: 190px;
    }

    .children-book-page .children-purpose-art img {
        max-height: 230px;
    }
}

@media (max-width: 520px) {
    .children-book-page .children-service-grid,
    .children-book-page .children-purpose-list {
        grid-template-columns: 1fr;
    }

    .children-book-page .children-service-card {
        min-height: 120px;
    }

    .children-book-page .children-purpose-grid {
        padding: 14px;
    }
}

@media (max-width: 991px) {
    .children-intro-grid {
        gap: 28px;
    }

    .children-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .children-purpose-grid {
        gap: 28px;
    }
}

@media (max-width: 760px) {
    .children-book-page .writing-hero h1 {
        font-size: clamp(40px, 9vw, 50px);
    }

    .children-intro {
        padding: 48px 0 42px;
    }

    .children-intro-grid,
    .children-purpose-grid {
        grid-template-columns: 1fr;
    }

    .children-book-page .children-purpose-panel {
        margin-top: 0;
    }
.children-intro-copy {
    text-align: center;
}
    .children-intro-art {
        min-height: 250px;
    }

    .children-intro-art img {
        max-height: 270px;
    }

    .children-purpose-art {
        min-height: 220px;
    }

    .children-purpose-art img {
        max-height: 260px;
    }
}

@media (max-width: 520px) {
    .children-service-grid {
        grid-template-columns: 1fr 1fr;
        gap: 9px;
    }

    .children-service-card {
        min-height: 150px;
        padding: 13px 10px;
    }

    .children-service-card h3 {
        font-size: 14px;
    }

    .children-service-card p {
        font-size: 11px;
    }
    .children-purpose-copy {
    text-align: center;
}
    .children-purpose-panel {
        padding: 23px 18px 20px;
    }
}

/* Book Formatting services page */
.book-formatting-page {
    overflow: hidden;
    color: #062645;
}

.book-formatting-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: 600px;
    overflow: hidden;
    padding: 135px 0 68px;
    color: #fff;
    background: #062645 url('../../images/book-formatting/banner-bg.png') center/cover no-repeat;
}

.book-formatting-hero::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(90deg, rgba(3, 29, 52, .36), rgba(3, 29, 52, .06));
    content: '';
}

.book-formatting-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    align-items: center;
    gap: 50px;
}

.book-formatting-hero-copy {
    max-width: 570px;
}

.book-formatting-hero-copy .bnr-tag {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 16px;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 30px;
    padding: 8px 14px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}

.book-formatting-hero-copy .bnr-tag img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.book-formatting-hero-copy h1 {
    margin: 0 0 18px;
    color: #fff;
    font-family: var(--gilroy);
    font-size: clamp(44px, 4.3vw, 60px);
    font-weight: 700;
    line-height: 1.04;
}

.book-formatting-hero-copy h1 span {
    color: #fff;
}

.book-formatting-hero-copy p {
    max-width: 540px;
    margin: 0 0 24px;
    color: #eaf6fc;
    font-size: 16px;
    line-height: 1.7;
}

.book-formatting-hero-copy .button-row,
.book-formatting-intro-copy .button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.book-formatting-hero-copy .button,
.book-formatting-intro-copy .button {
    min-height: 44px;
    font-size: 15px;
}

.book-formatting-hero-art {
    display: grid;
    min-width: 0;
    place-items: center;
}

.book-formatting-hero-art img {
    width: min(100%, 650px);
    max-height: 430px;
    object-fit: contain;
}

.book-formatting-intro {
    padding-block: 72px 58px;
}

.book-formatting-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
    align-items: center;
    gap: 54px;
}

.book-formatting-intro-art {
    display: grid;
    min-height: 310px;
    place-items: center;
}

.book-formatting-intro-art img {
    display: block;
    width: min(100%, 560px);
    max-height: 370px;
    object-fit: contain;
}

.book-formatting-intro-copy h2,
.book-formatting-section-heading h2 {
    margin: 0;
    color: #062645;
    font-family: var(--gilroy);
    font-size: clamp(30px, 3vw, 42px);
    font-weight: 700;
    line-height: 1.12;
}

.book-formatting-intro-copy p {
    margin: 17px 0 22px;
    color: #24415c;
    font-size: 16px;
    line-height: 1.7;
}

.book-formatting-services {
    padding-block: 28px 56px;
}

.book-formatting-section-heading {
    margin: 0 auto 30px;
    text-align: center;
}

.book-formatting-section-heading h2 {
    font-size: clamp(30px, 3vw, 40px);
}

.formatting-service-slider {
    margin: 0 -10px;
    padding-top: 0;
}

.formatting-service-slider .slick-list {
    overflow: hidden;
}

.formatting-service-slider .slick-slide {
    height: auto;
    width: 220px;
    padding: 16px 9px 12px;
}
.book-formatting-services .slick-list.draggable {
    width: 150%;
}

.formatting-service-card {
    position: relative;
    display: flex !important;
    min-height: 190px;
    height: 100%;
    flex-direction: column;
    align-items: flex-start;
    border: 0;
    border-radius: 8px;
    padding: 28px 14px 15px;
    background: #fff;
    box-shadow: 0 5px 14px rgba(6, 38, 69, .12);
    gap: 15px 0;
}

.formatting-service-card > img {
    position: relative;
    top: 0;
    left: 0;
    margin: 0;
}

.formatting-service-card h3 {
    margin: 0 0 7px;
    color: #062645;
    font-family: var(--gilroy);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
}

.formatting-service-card p {
    margin: 0;
    color: #34516b;
    font-size: 15px;
    line-height: 1.45;
}

.formatting-service-controls,
.formatting-portfolio-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
}

.formatting-service-controls .slider-arrow {
    display: inline-grid;
    width: 22px;
    height: 24px;
    place-items: center;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #062645;
    font-size: 21px;
    line-height: 0;
    cursor: pointer;
    transition: color .2s ease;
    position: relative;
    top: -1px;
}

.formatting-service-controls .slider-arrow:hover {
    color: #59c2e2;
}

.formatting-portfolio-controls .slider-arrow {
    display: inline-grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid #062645;
    border-radius: 50%;
    background: #062645;
    color: #fff;
    font-size: 21px;
    line-height: 1;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}

.formatting-portfolio-controls .slider-arrow:hover {
    border-color: #59c2e2;
    background: #59c2e2;
    color: #062645;
}

.formatting-service-dots,
.formatting-portfolio-dots {
    display: flex;
    min-height: 18px;
    align-items: center;
    justify-content: center;
}

.formatting-service-dots .slick-dots {
    position: static;
    display: flex;
    width: auto;
    align-items: center;
    justify-content: center;
    gap: 1px;
}

.formatting-service-dots .slick-dots li {
    width: 38px;
    height: 4px;
    margin: 0;
}

.formatting-service-dots .slick-dots li button {
    width: 34px;
    height: 4px;
    padding: 0;
}

.formatting-service-dots .slick-dots li button::before {
    width: 32px;
    height: 3px;
    border: 0;
    border-radius: 0;
    /* background: #bfccd3; */
    content: '';
    opacity: 1;
}

.formatting-service-dots .slick-dots li.slick-active button::before {
    /* background: #062645; */
}

.formatting-portfolio-dots .slick-dots {
    position: static;
    display: flex;
    width: auto;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.formatting-portfolio-dots .slick-dots li,
.formatting-portfolio-dots .slick-dots li button {
    width: 12px;
    height: 12px;
    margin: 0;
    padding: 0;
}

.formatting-portfolio-dots .slick-dots li button::before {
    width: 10px;
    height: 10px;
    border: 1px solid #59c2e2;
    border-radius: 50%;
    background: #fff;
    content: '';
    opacity: 1;
}

.formatting-portfolio-dots .slick-dots li.slick-active button::before {
    background: #59c2e2;
}

.book-formatting-professional {
    padding-block: 38px 70px;
}

.book-formatting-professional .book-formatting-section-heading {
    margin-bottom: 42px;
}

.formatting-professional-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr);
    align-items: center;
    gap: 30px;
}

.formatting-professional-list {
    display: grid;
    gap: 28px;
    position: relative;
}
.formatting-professional-list:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 100%;
    height: 1px;
    background: rgb(0 0 0 / 10%);
}
.formatting-professional-list article h3 {
    margin: 0 0 7px;
    color: #062645;
    font-family: var(--gilroy);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.25;
}

.formatting-professional-list article p {
    margin: 0;
    color: #36516a;
    font-size: 14px !important;
    line-height: 1.55;
    min-height: 90px;
}

.formatting-professional-art {
    display: grid;
    min-height: 245px;
    place-items: center;
}

.formatting-professional-art img {
    display: block;
    width: 100%;
    max-width: 540px;
    max-height: 300px;
    /* object-fit: contain; */
}

.book-formatting-save {
    padding-block: 28px 36px;
}

.book-formatting-save .book-formatting-section-heading {
    max-width: 720px;
    margin: 0 auto 22px;
}

.book-formatting-save .book-formatting-section-heading h2 {
    max-width: 620px;
    margin: 0 auto;
    font-size: 28px;
    line-height: 1.08;
}

.formatting-save-grid {
    display: flex;
}

.formatting-save-art {
    position: relative;
    /* min-height: 290px; */
    z-index: 1;
}

.formatting-save-device {
    position: relative;
    /* z-index: 2; */
    top: 0;
    left: 70px;
    /* width: 50%; */
    /* height: 100%; */
    /* max-height: 290px; */
    /* object-fit: contain; */
    width: 100%;
}

.formatting-save-books {
    /* position: absolute; */
    /* top: 5%; */
    /* right: -5%; */
    /* width: 70%; */
    /* height: auto; */
    /* max-height: none; */
    /* object-fit: contain; */
    width: 40%;
}

.formatting-save-panel {
    position: relative;
    z-index: 2;
    border-radius: 12px;
    padding: 10px 17px 12px;
    background: #062645;
    color: #fff;
}

.formatting-save-logo {
    display: block;
    width: 48px;
    height: 48px;
    margin: 0 auto 8px;
    object-fit: contain;
}

.formatting-save-panel ul {
    display: grid;
    gap: 8px;
    margin: 0;
    border-top: 1px solid rgba(255,255,255,.12);
    padding: 10px 0 0;
    list-style: none;
}

.formatting-save-panel li {
    display: grid;
    grid-template-columns: 16px 1fr;
    align-items: start;
    gap: 7px;
    margin: 0;
    color: #fff;
}

.formatting-check {
    display: grid;
    width: 15px;
    height: 15px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.8);
    border-radius: 50%;
    color: #fff;
    font-size: 15px;
    line-height: 1;
}

.formatting-save-panel h3 {
    margin: 0 0 3px;
    color: #fff;
    font-family: var(--gilroy);
    font-size: 16px;
    font-weight: 700;
}

.formatting-save-panel p {
    margin: 0;
    color: #e7f4fa;
    font-size: 15px;
    line-height: 1.3;
}

.book-formatting-portfolio {
    overflow: hidden;
    padding-block: 20px 62px;
}

.book-formatting-portfolio .book-formatting-section-heading {
    margin-bottom: 20px;
}

.formatting-portfolio-slider {
    width: min(100%, 1080px);
    margin: 0 auto;
}

.formatting-portfolio-slider .slick-list {
    overflow: visible;
}

.formatting-portfolio-slide {
    display: flex !important;
    min-height: 285px;
    align-items: center;
    justify-content: center;
    padding: 20px 16px;
    opacity: .42;
    transition: opacity .35s ease, transform .35s ease;
}

.formatting-portfolio-slide img {
    display: block;
    width: 100%;
    max-height: 245px;
    object-fit: contain;
    transition: transform .35s ease;
}

.formatting-portfolio-slider .slick-center .formatting-portfolio-slide {
    position: relative;
    z-index: 1;
    opacity: 1;
}

.formatting-portfolio-slider .slick-center .formatting-portfolio-slide img {
    transform: scale(1.16);
}

.formatting-portfolio-controls {
    margin-top: 10px;
}

.formatting-service-slider.fallback-carousel,
.formatting-portfolio-slider.fallback-carousel {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.formatting-service-slider.fallback-carousel::-webkit-scrollbar,
.formatting-portfolio-slider.fallback-carousel::-webkit-scrollbar {
    display: none;
}

.formatting-service-slider.fallback-carousel > .formatting-service-card {
    flex: 0 0 220px;
    scroll-snap-align: start;
}

.formatting-portfolio-slider.fallback-carousel > .formatting-portfolio-slide {
    flex: 0 0 33.333%;
    scroll-snap-align: center;
}

.formatting-service-dots .fallback-dot {
    width: 17px;
    height: 3px;
    flex: 0 0 17px;
    border: 0;
    border-radius: 0;
    padding: 0;
    background: #bfccd3;
    cursor: pointer;
}

.formatting-service-dots .fallback-dot.is-active {
    background: #062645;
}

.formatting-portfolio-dots .fallback-dot {
    width: 11px;
    height: 11px;
    flex: 0 0 11px;
    border: 1px solid #59c2e2;
    border-radius: 50%;
    padding: 0;
    background: #fff;
    cursor: pointer;
}

.formatting-portfolio-dots .fallback-dot.is-active {
    background: #59c2e2;
}

/* Keep body copy and controls at the requested minimum size across shared sections. */
.book-formatting-route :is(h3, h4, h5, h6, p, li, a, button, small, label, summary, input, textarea, select) {
    font-size: 16px !important;
}

.book-formatting-route .process-writing-services .peeking-book .author {
    font-size: 15px !important;
}

.book-formatting-page .book-formatting-hero-copy h1 span {
    font-size: inherit !important;
}

.book-formatting-page .formatting-service-card h3,
.book-formatting-page .formatting-professional-list article h3,
.book-formatting-page .formatting-save-panel h3 {
    font-size: 16px !important;
}

.book-formatting-page .formatting-service-card h3 {
    margin: 0;
}

.book-formatting-page .formatting-service-card p {
    font-size: 15px !important;
}

.book-formatting-route .formatting-service-controls .slider-arrow,
.book-formatting-route .formatting-portfolio-controls .slider-arrow {
    font-size: 21px !important;
}

.book-formatting-route .formatting-service-card p {
    font-size: 15px !important;
}





.portfolio-section {
    padding: 60px 0;
    background-color: #ffffff;
    width: 100%;
    overflow: hidden !important;
}

.portfolio-title {
    /* color: var(--accent-blue); */
    /* font-weight: 700; */
    /* font-size: 2.5rem; */
    /* margin-bottom: 20px; */
}

/* Outer Wrapper (Center Locked) */
.swiper-container-wrapper {
    position: relative;
    padding: 30px 0;
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    overflow: hidden !important;
}

.swiper.bookSwiper {
    width: 100%;
    padding-top: 25px;
    padding-bottom: 35px;
    overflow: visible !important;
}

/* Base Slide (Left & Right Items) */
.bookSwiper .swiper-slide {
    transition: transform 0.45s ease, opacity 0.45s ease, filter 0.45s ease;
    opacity: 0.45 !important;
    transform: scale(0.75) !important;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

/* Active Middle Item (Enlarged & Focused) */
.bookSwiper .swiper-slide-active {
    opacity: 1 !important;
    z-index: 25 !important;
    transform: scale(1.15) !important;
    filter: drop-shadow(0 20px 30px rgba(13, 35, 66, 0.18)) !important;
}

/* Side Adjacent Items */
.bookSwiper .swiper-slide-prev,
.bookSwiper .swiper-slide-next {
    opacity: 0.65 !important;
    z-index: 10 !important;
    transform: scale(0.85) !important;
}

.book-format-bx {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.book-format-bx img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Controls & Indicator UI */
.carousel-controls-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 25px;
}

.nav-btn {
    background: transparent;
    border: none;
    color: var(--accent-blue);
    font-size: 1.35rem;
    cursor: pointer;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    outline: none;
}

.nav-btn:hover {
    color: #000;
    transform: scale(1.18);
}

.progress-track {
    width: 180px;
    height: 4px;
    background-color: #e5e7eb;
    border-radius: 2px;
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background-color: var(--accent-blue);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.slider-counter {
    text-align: center;
    margin-top: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--accent-blue);
    letter-spacing: 1px;
}
@media (max-width: 1100px) {
    .formatting-service-slider .slick-slide {
        width: 190px;
    }

    .formatting-service-slider.fallback-carousel > .formatting-service-card {
        flex-basis: 190px;
    }

    .book-formatting-hero-grid {
        gap: 28px;
    }

    .formatting-save-grid {
        gap: 4px;
    }

    .formatting-save-panel {
        padding-inline: 17px;
    }
}

@media (max-width: 900px) {
    .formatting-service-slider .slick-slide {
        width: 210px;
    }

    .formatting-service-slider.fallback-carousel > .formatting-service-card {
        flex-basis: 210px;
    }

    .book-formatting-hero {
        min-height: 560px;
        padding-top: 125px;
    }

    .book-formatting-hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
    }

    .book-formatting-intro-grid {
        gap: 34px;
    }

    .formatting-professional-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr);
        gap: 20px;
    }

    .formatting-professional-list {
        gap: 20px;
    }

    .formatting-save-art {
        min-height: 300px;
    }
}

@media (max-width: 700px) {
    .formatting-service-slider .slick-slide {
        width: 235px;
    }

    .book-formatting-hero {
        min-height: auto;
        padding: 120px 0 50px;
    }

    .book-formatting-hero-grid,
    .book-formatting-intro-grid,
    .formatting-save-grid {
        grid-template-columns: 1fr;
    }

    .book-formatting-hero-grid {
        gap: 28px;
    }

    .book-formatting-hero-copy {
        max-width: none;
        text-align: center;
    }

    .book-formatting-hero-copy h1 {
        font-size: clamp(40px, 10vw, 54px);
    }

    .book-formatting-hero-art img {
        max-height: 320px;
    }

    .book-formatting-intro {
        padding-block: 48px 36px;
    }

    .book-formatting-intro-grid {
        gap: 22px;
    }

    .book-formatting-intro-art {
        min-height: 230px;
    }

    .book-formatting-intro-art img {
        max-height: 270px;
    }

    .formatting-professional-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }

    .formatting-professional-grid .formatting-professional-art {
        grid-row: 1;
        min-height: 200px;
    }

    .formatting-professional-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .formatting-save-grid {
        gap: 0;
    }

    .book-formatting-save .book-formatting-section-heading br {
        display: none;
    }

    .formatting-save-art {
        min-height: 310px;
    }

    .formatting-save-device {
        left: 2%;
        width: 38%;
    }

    .formatting-save-books {
        right: -2%;
        width: 68%;
    }

    .formatting-portfolio-slider .slick-list {
        overflow: hidden;
    }

    .formatting-portfolio-slide {
        min-height: 230px;
    }

    .formatting-portfolio-slide img {
        max-height: 210px;
    }

    .formatting-service-slider.fallback-carousel > .formatting-service-card {
        flex-basis: 235px;
    }

    .formatting-portfolio-slider.fallback-carousel > .formatting-portfolio-slide {
        flex-basis: 50%;
    }
}

@media (max-width: 480px) {
    .formatting-service-slider .slick-slide {
        width: 270px;
    }

    .book-formatting-hero {
        padding-top: 108px;
    }

    .book-formatting-hero-copy h1 {
        font-size: 40px;
    }

    .book-formatting-intro-copy h2,
    .book-formatting-section-heading h2 {
        font-size: 30px;
    }

    .book-formatting-section-heading br {
        display: none;
    }

    .formatting-professional-list {
        grid-template-columns: 1fr;
    }

    .formatting-save-art {
        min-height: 260px;
    }

    .formatting-save-panel {
        padding: 20px;
    }

    .formatting-portfolio-slide {
        min-height: 200px;
        padding-inline: 4px;
    }

    .formatting-portfolio-slider.fallback-carousel > .formatting-portfolio-slide {
        flex-basis: 100%;
    }

    .formatting-service-slider.fallback-carousel > .formatting-service-card {
        flex-basis: 270px;
    }
}

/* Portfolio carousel tuned to match the compact, three-book reference. */
.book-formatting-portfolio {
    padding-block: 16px 34px;
}

.book-formatting-portfolio .book-formatting-section-heading {
    margin-bottom: 6px;
}

.book-formatting-portfolio .book-formatting-section-heading h2 {
    font-size: clamp(28px, 2.6vw, 32px);
}

.formatting-portfolio-slider {
    width: min(100%, 940px);
}

.formatting-portfolio-slide {
    min-height: 190px;
    padding: 8px 12px;
}

.formatting-portfolio-slide img {
    max-height: 132px;
}

.formatting-portfolio-slider .slick-center .formatting-portfolio-slide img {
    max-height: 170px;
    transform: scale(1.06);
}

.formatting-portfolio-controls {
    gap: 6px;
    margin-top: 0;
}

.book-formatting-route .formatting-portfolio-controls .slider-arrow {
    width: 22px;
    height: 24px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #062645;
    font-size: 21px !important;
}

.book-formatting-route .formatting-portfolio-controls .slider-arrow:hover {
    background: transparent;
    color: #59c2e2;
}

.formatting-portfolio-dots .slick-dots {
    gap: 4px;
}

.formatting-portfolio-dots .slick-dots li,
.formatting-portfolio-dots .slick-dots li button {
    width: 34px;
    height: 10px;
}

.formatting-portfolio-dots .slick-dots li button::before {
    top: 4px;
    left: 0;
    width: 34px;
    height: 3px;
    border: 0;
    border-radius: 0;
    background: #bfccd3;
}

.formatting-portfolio-dots .slick-dots li.slick-active button::before {
    background: #062645;
}

@media (max-width: 760px) {
    .book-formatting-portfolio {
        padding-block: 14px 28px;
    }

    .formatting-portfolio-slide {
        min-height: 190px;
        padding-inline: 8px;
    }

    .formatting-portfolio-slide img {
        max-height: 140px;
    }

    .formatting-portfolio-slider .slick-center .formatting-portfolio-slide img {
        max-height: 165px;
    }
}

@media (max-width: 520px) {
    .formatting-portfolio-slide {
        min-height: 190px;
    }

    .formatting-portfolio-slide img,
    .formatting-portfolio-slider .slick-center .formatting-portfolio-slide img {
        max-height: 175px;
        transform: none;
    }
}

/* Mobile-only carousel controls and responsive section layouts. */
.marketing-service-cards {
    display: contents;
}

.mobile-slider-dots {
    display: none;
}

.mobile-slider-dots .slick-dots {
    position: static;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

.mobile-slider-dots .slick-dots li {
    width: auto;
    height: auto;
    margin: 0;
}

.mobile-slider-dots .slick-dots li button {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #c5d3dc;
    font-size: 0;
    line-height: 0;
    cursor: pointer;
}

.mobile-slider-dots .slick-dots li button::before {
    display: none;
}

.mobile-slider-dots .slick-dots li.slick-active button {
    width: 24px;
    border-radius: 99px;
    background: #54c2e3;
}

.book-designing-service-grid.slick-initialized,
.writing-service-list.slick-initialized,
.book-designing-structure-points.slick-initialized,
.book-designing-illustration-points.slick-initialized,
.editing-benefit-grid.slick-initialized,
.editing-service-grid.slick-initialized,
.publishing-service-grid.slick-initialized,
.publishing-support-grid.slick-initialized,
.publishing-reader-grid.slick-initialized,
.children-service-grid.slick-initialized,
.marketing-service-cards.slick-initialized,
.marketing-result-grid.slick-initialized,
.writing-author-grid.slick-initialized,
.author-card.slick-initialized,
.why-list.slick-initialized,
.testimonial-grid.slick-initialized {
    display: block;
}

.testimonial-card--large {
    grid-row: span 2;
}

.testimonial-grid > .testimonial-card:nth-child(2),
.testimonial-grid > .testimonial-card:nth-child(3) {
    min-height: 200px;
}

@media (max-width: 700px) {
    .portfolio-controls .slider-arrow,
    .genre-controls .slider-arrow,
    .formatting-service-controls .slider-arrow,
    .formatting-portfolio-controls .slider-arrow {
        display: none !important;
    }

    .portfolio-controls,
    .genre-controls,
    .formatting-service-controls,
    .formatting-portfolio-controls {
        gap: 0 0;
    }

    .portfolio-dots,
    .genre-dots,
    .formatting-service-dots,
    .formatting-portfolio-dots {
        display: flex !important;
    }

    .formatting-service-dots .slick-dots {
        gap: 8px;
    }

    .formatting-service-dots .slick-dots li,
    .formatting-service-dots .slick-dots li button,
    .formatting-portfolio-dots .slick-dots li,
    .formatting-portfolio-dots .slick-dots li button {
        width: 9px;
        height: 9px;
        margin: 0;
        padding: 0;
    }

    .formatting-service-dots .slick-dots li button::before,
    .formatting-portfolio-dots .slick-dots li button::before {
        top: 0;
        left: 0;
        width: 9px;
        height: 9px;
        border: 0;
        border-radius: 50%;
        background: #c5d3dc;
        opacity: 1;
    }

    .formatting-service-dots .slick-dots li.slick-active button::before,
    .formatting-portfolio-dots .slick-dots li.slick-active button::before {
        background: #54c2e3;
    }

    .formatting-service-dots .fallback-dot,
    .formatting-portfolio-dots .fallback-dot {
        width: 9px;
        height: 9px;
        flex-basis: 9px;
        border: 0;
        border-radius: 50%;
        background: #c5d3dc;
    }

    .formatting-service-dots .fallback-dot.is-active,
    .formatting-portfolio-dots .fallback-dot.is-active {
        background: #54c2e3;
    }

    .services-menu.slick-initialized {
        display: block;
        gap: 0;
        padding-top: 0;
    }

    .services-menu.slick-initialized .services-arrow {
        display: none;
    }

    .services-grid {
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
        min-width: 0;
    }

    .services-copy,
    .services-menu,
    .services-art {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }

    .services-menu.slick-initialized .slick-list {
        width: 100%;
        overflow: hidden;
    }

    .services-menu.slick-initialized .slick-track {
        display: block;
        min-width: 0;
    }

    .services-menu.slick-initialized .slick-slide {
        height: auto;
        padding: 2px 1px;
    }

    .services-menu.slick-initialized .service-menu-item {
        min-height: 58px;
        font-size: 18px;
        text-align: center;
    }

    .services-art {
        display: flex;
        flex-direction: column;
        height: auto;
        min-height: 220px;
    }

    .services-art .service-art-panel.is-active {
        display: flex !important;
        min-height: 220px;
    }

    .services-art .service-art-panel.is-active img {
        width: 100%;
        max-height: 260px;
        object-fit: contain;
    }

    .writing-service-showcase {
        width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }

    .writing-service-showcase::before {
        height: 500px;
    }

    .writing-services-layout,
    .writing-service-list.slick-initialized,
    .writing-service-list .slick-list {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }

    .writing-services-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .writing-service-list.slick-initialized {
        display: block;
        overflow: hidden;
    }

    .writing-service-list .slick-track {
        display: flex;
    }

    .writing-service-list .slick-slide {
        min-width: 0;
        box-sizing: border-box;
    }

    .writing-service-list.slick-initialized .writing-service-option {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
        text-align: center;
        /* margin: 10px; */
    }

    .mobile-slider-dots {
        display: block;
    }

    .book-marketing-services .marketing-service-grid {
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .book-marketing-services .marketing-service-preview {
        grid-column: 1 / -1;
        width: 100%;
        min-width: 0;
    }

    .book-marketing-services .marketing-service-preview img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .book-marketing-services .marketing-service-cards.slick-initialized {
        display: block;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }

    .book-marketing-services .marketing-service-cards .slick-list {
        width: 100%;
        min-width: 0;
        overflow: hidden;
        height: auto !important;
        border-radius: 20px;
    }

    .book-marketing-services .marketing-service-cards .slick-track {
        display: block;
    }

    .book-marketing-services .marketing-service-cards .slick-slide {
        height: auto;
        min-width: 0;
        box-sizing: border-box;
    }
.marketing-service-icon {
    margin: 0 auto;
    margin-bottom: 10px;
}
    .book-marketing-services .marketing-service-card {
        grid-template-columns: 34px minmax(0, 1fr);
        grid-template-rows: auto;
        width: 100%;
        min-width: 0;
        min-height: 0;
        box-sizing: border-box;
        text-align: center;
        /* border-radius: 20px; */
        /* overflow: hidden; */
        /* height: 100%; */
        border-radius: 20px;
    }

    .book-marketing-services .marketing-service-copy {
        display: grid;
        grid-column: 2;
        grid-row: 1;
        grid-template-columns: minmax(0, 1fr);
        gap: 4px;
        min-width: 0;
    }

    .book-marketing-services .marketing-service-title,
    .book-marketing-services .marketing-service-description {
        grid-column: auto;
        grid-row: auto;
        min-width: 0;
    }

    .book-marketing-services .marketing-service-dots {
        display: block !important;
        grid-column: 1 / -1;
        width: 100%;
        min-width: 0;
    }

    .book-marketing-services .marketing-service-dots .slick-dots {
        position: static;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        margin: 14px 0 0;
        padding: 0;
    }

    .marketing-platform-grid.slick-initialized,
    .publishing-platform-grid.slick-initialized {
        display: block;
        width: 100%;
        min-width: 0;
        max-width: 960px;
        margin-inline: auto;
        overflow: hidden;
        box-sizing: border-box;
    }

    .marketing-platform-grid.slick-initialized .slick-list,
    .publishing-platform-grid.slick-initialized .slick-list {
        width: 100%;
        min-width: 0;
        overflow: hidden;
    }

    .marketing-platform-grid.slick-initialized .slick-track,
    .publishing-platform-grid.slick-initialized .slick-track {
        display: block;
    }

    .marketing-platform-grid.slick-initialized .slick-slide,
    .publishing-platform-grid.slick-initialized .slick-slide {
        height: auto;
        min-width: 0;
        padding: 0 1px;
        box-sizing: border-box;
    }

    .marketing-platform-grid.slick-initialized .marketing-platform-card {
        width: 100%;
        min-width: 0;
        padding: 0;
        box-sizing: border-box;
    }

    .marketing-platform-grid.slick-initialized .marketing-platform-card img {
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
        object-fit: contain;
    }

    .publishing-platform-grid.slick-initialized .publishing-platform-card {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    .marketing-platform-grid + .mobile-slider-dots,
    .publishing-platform-grid + .mobile-slider-dots {
        display: block !important;
        width: 100%;
        min-width: 0;
        margin-top: 12px;
    }

    .marketing-platform-grid + .mobile-slider-dots .slick-dots,
    .publishing-platform-grid + .mobile-slider-dots .slick-dots {
        position: static;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .services-sync-dots {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-height: 20px;
        margin-top: 12px;
    }

    .services-sync-dots button {
        width: 9px;
        height: 9px;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: #c5d3dc;
        cursor: pointer;
    }

    .services-sync-dots button.is-active {
        width: 24px;
        border-radius: 99px;
        background: #54c2e3;
    }

    .author-card.slick-initialized {
        display: block;
        width: 100%;
        min-width: 0;
        margin-right: 0;
        margin-left: 0;
    }

    .author-card.slick-initialized .slick-list {
        width: 100%;
        min-width: 0;
    }

    .author-card.slick-initialized .slick-track {
        min-width: 0;
    }

    .author-card.slick-initialized .slick-slide {
        box-sizing: border-box;
        padding: 0 8px;
    }

    .author-card .author-card-bx {
        width: 100%;
        height: 375px;
        min-width: 0;
        padding: 0;
        overflow: hidden;
        box-sizing: border-box;
        border-radius: 16px;
    }

    .author-card .a-fdb-1 {
        position: absolute;
        inset: 0;
        display: block;
        width: 100%;
        height: 100%;
        margin: 0;
        object-fit: cover;
        border-radius: inherit;
    }

    .author-card .authr-inr-img-bx {
        top: 22px;
        width: 60%;
        height: 230px;
        border-radius: 14px;
    }

    .author-card .authr-inr-img-bx img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .author-card .tx-author {
        bottom: 62px;
        padding: 0 24px;
    }

    .author-card .author-brnd-logo {
        bottom: 16px;
        max-width: 112px;
        max-height: 30px;
        object-fit: contain;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .testimonial-card--large {
        grid-row: auto;
        min-height: 0;
        padding: 24px 20px;
    }

    .testimonial-grid .testimonial-card {
        min-height: 0;
    }

    .testimonial-grid > .testimonial-card:nth-child(2),
    .testimonial-grid > .testimonial-card:nth-child(3) {
        min-height: 0;
    }

    .process-writing-services .process-container {
        width: calc(100% - 20px);
        padding: 0;
        overflow: hidden;
    }

    .process-writing-services .section-title {
        max-width: 360px;
        margin: 0 auto 22px;
        padding-inline: 12px;
        font-size: clamp(25px, 7vw, 32px);
        line-height: 1.12;
    }

    .process-writing-services .book-wrapper-outer {
        min-height: 0;
        gap: 20px;
    }

    .process-writing-services .main-book-stage {
        width: 100%;
        max-width: 100%;
        height: clamp(245px, 88vw, 340px);
        margin: 0;
        transform: scale(0.8);
    }

    .process-writing-services .book-shell {
        width: 100%;
        height: 100%;
    }

    .process-writing-services .book-base-left,
    .process-writing-services .leaf-side.back {
        padding: 60px 10px;
    }

    .process-writing-services .book-base-right,
    .process-writing-services .leaf-side.front {
        padding: 18px 20px 18px 30px;
    }

    .process-writing-services .page-title {
        font-size: clamp(16px, 4.8vw, 20px);
    }

    .process-writing-services .page-desc {
        font-size: clamp(12px, 3.5vw, 14px);
        line-height: 1.42;
    }

    .process-writing-services .watermark-emblem {
        width: 110px;
        height: 110px;
    }

    .process-writing-services .tabs-wrapper {
        left: auto;
        width: 100%;
        margin: 0;
        gap: 10px;
    }

    .process-writing-services .tab-step-item,
    .process-writing-services .tab-step-item.active,
    .process-writing-services .tab-step-item:hover,
    .process-writing-services .tab-step-item.active:hover {
        width: 100%;
        min-width: 0;
        padding: 10px 12px 10px 16px;
        border-radius: 12px;
        transform: none;
        font-size: 15px;
    }

    .process-writing-services .tab-badge {
        width: 34px;
        height: 34px;
        font-size: 15px;
    }

    .why-list.slick-initialized::before {
        display: none;
    }

    /* Prevent the Why section's grid/Slick min-content widths from overflowing on phones. */
    .why-grid {
        width: 100%;
        min-width: 0;
        grid-template-columns: minmax(0, 1fr);
    }

    .why-grid > .why-copy,
    .why-grid > .why-list,
    .why-list.slick-initialized,
    .why-list .slick-list {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
        text-align: center;
    }

    .why-list.slick-initialized {
        display: block;
        overflow: hidden;
        margin-bottom: 0;
    }

    .why-list .slick-track {
        display: flex;
    }

    .why-list .slick-slide {
        min-width: 0;
        box-sizing: border-box;
    }

    .why-list article {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
        gap: 12px;
        padding: 20px 30px;
        text-align: center;
    }

    .why-list article > span {
        flex: 0 0 42px;
        width: 42px;
    }

    .why-list article > span img {
        display: block;
        width: 100%;
        height: auto;
        display: none;
    }

    .why-list article > div {
        flex: 1 1 0;
        width: auto;
        min-width: 0;
        overflow-wrap: anywhere;
    }
.portfolio  .button-row {
    padding: 0 40px;
}
    .button-row {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: center;
        gap: 6px;
        /* padding: 0 30px; */
    }

span.writing-pdf-title {
    display: none;
}

    .button-row > .button {
        flex: 1 1 0;
        min-width: 0;
        min-height: 40px;
        gap: 5px;
        padding: 10px 10px;
        font-size: 12px !important;
        font-weight: bold;
        line-height: 1;
        width: 100% !important;
    }

    .writing-hero .button-row > .button,
    .writing-intro-copy .button-row > .button {
        flex: 1 1 0 !important;
    }

    .button-row > .button::before {
        width: 26px;
        height: 26px;
        flex-basis: 26px;
        font-size: 14px;
    }
}

/* Keep the mobile book-shell rules at the end of the stylesheet so they win over legacy flipbook rules. */
@media (max-width: 600px) {
    .flipbook-section .book-wrapper { display: none !important; }
    .flipbook-section .home-mobile-book-stage { display: block; width: 100%; padding: 8px 3px 4px; perspective: 1400px; box-sizing: border-box; }
    .flipbook-section .home-mobile-book-shell { position: relative; width: min(100%, 380px); height: clamp(230px, 66vw, 285px); margin: 0 auto; overflow: visible; border-radius: 10px; background: #fffdf9; box-shadow: 0 18px 34px rgba(5,35,61,.22); transform-style: preserve-3d; }
    .home-mobile-book-base, .home-mobile-book-face { position: absolute; top: 0; width: 50%; height: 100%; box-sizing: border-box; overflow: hidden; padding: 18px 13px; color: #092a48; background: linear-gradient(90deg,#e8e9e8 0%,#fff 15%,#fff 88%,#e6e9eb 100%); }
    .home-mobile-book-face { width: 100%; }
    .home-mobile-book-left, .home-mobile-book-back { left: 0; border-radius: 10px 0 0 10px; box-shadow: inset -9px 0 13px -12px rgba(8,31,52,.45); }
    .home-mobile-book-right, .home-mobile-book-front { right: 0; border-radius: 0 10px 10px 0; box-shadow: inset 9px 0 13px -12px rgba(8,31,52,.42); }
    .home-mobile-book-base { display: flex; flex-direction: column; justify-content: center; gap: 12px; }
    .home-mobile-book-left { align-items: center; text-align: center; background: linear-gradient(90deg,#eef0ef,#fff 22%,#fafafa 88%,#e2e5e6); }
    .home-mobile-book-left img, .home-mobile-book-right img { display: block; filter: invert(1) brightness(0); width: 160px; object-fit: contain; }
    .home-mobile-book-kicker { display: block; color: #56bddf; font-size: 15px; line-height: 1.2; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
    .home-mobile-book-note { color: #52697a; font-size: 15px; line-height: 1.3; text-align: center; }
    .home-mobile-book-base h3, .home-mobile-book-face h3 { margin: 11px 0 8px; color: #092a48; font-family: var(--gilroy); font-size: 17px; line-height: 1.18; font-weight: 700; }
    .home-mobile-book-base p, .home-mobile-book-face p { margin: 0; color: #52697a; font-size: 15px; line-height: 1.38; }
    .home-mobile-book-spine { position: absolute; z-index: 50; top: 0; bottom: 0; left: 50%; width: 12px; transform: translateX(-50%); pointer-events: none; background: linear-gradient(90deg,rgba(9,42,72,.2),rgba(255,255,255,.9) 48%,rgba(9,42,72,.22)); }
    .home-mobile-book-leaf { position: absolute; z-index: 30; top: 0; right: 0; width: 50%; height: 100%; transform-origin: left center; transform-style: preserve-3d; transition: transform .68s cubic-bezier(.2,.72,.2,1); will-change: transform; }
    .home-mobile-book-face {display: flex;flex-direction: column;justify-content: center;backface-visibility: hidden;-webkit-backface-visibility: hidden;}
    .home-mobile-book-front { transform: rotateY(0deg); background: linear-gradient(270deg,#e8e9e8 0%,#fff 16%,#fff 88%,#e6e9eb 100%); }
    .home-mobile-book-back { transform: rotateY(180deg); background: linear-gradient(90deg,#e8e9e8 0%,#fff 16%,#fff 88%,#e6e9eb 100%); }
    .flipbook-section .flipbook-mobile-dots {display: flex !important;width: 100%;min-height: 24px;margin: 2px auto 0;gap: 25px;z-index: 999;}
}

/* Writing services portfolio: live PDF covers and an accessible page-turn viewer. */
.writing-pdf-slider .slick-slide { height: auto; }
.writing-pdf-card { height: 100%; min-height: 350px; padding: 18px 14px; border: 1px solid rgba(101,196,225,.28); border-radius: 16px; background: linear-gradient(155deg, #12486b, #062541 75%); box-shadow: 0 18px 34px rgba(1,20,37,.22); transition: transform .25s ease, box-shadow .25s ease; }
.writing-pdf-card::before { display: none; }
.writing-pdf-card:hover { transform: translateY(-4px); box-shadow: 0 22px 38px rgba(1,20,37,.32); }
.writing-pdf-open { position: relative; z-index: 1; display: flex; height: 100%; min-height: 312px; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: #fff; text-align: center; text-decoration: none; }
.writing-pdf-cover { position: relative; display: grid; width: min(100%, 198px); height: 290px; place-items: center; overflow: hidden; padding: 0px; border: 1px solid rgba(255,255,255,.3); border-radius: 7px 12px 12px 7px; background: linear-gradient(90deg,rgba(255,255,255,.13),transparent 12%),#fffdf8; box-shadow: 8px 12px 22px rgba(0,0,0,.34), inset 5px 0 8px rgba(4,29,49,.16); }
.writing-pdf-cover canvas { display: block; max-width: 100%; max-height: 100%; object-fit: cover; }
.writing-pdf-cover-frame { position: absolute; inset: 5px; width: calc(100% - 10px); height: calc(100% - 10px); border: 0; pointer-events: none; }
.writing-pdf-cover-frame:not([src]), .writing-pdf-native-frame[hidden] { display: none; }
.writing-pdf-cover-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; color: #092a48; font-size: 15px; }
.writing-pdf-cover-placeholder > i { color: #57c3e4; font-size: 32px; }
.writing-pdf-cover-placeholder[hidden] { display: none; }
.childern-bk-writng-port span.writing-pdf-title {
    display: none;
}
.writing-pdf-title { display: -webkit-box; width: 100%; overflow: hidden; color: #fff; font-family: var(--gilroy); font-size: 17px; font-weight: 700; line-height: 1.2; -webkit-box-orient: vertical; -webkit-line-clamp: 2;display:none; }
.writing-pdf-hint { display: flex; align-items: center; gap: 8px; color: #9edff2; font-size: 15px; font-weight: 600; }
.writing-pdf-hint i { transition: transform .2s ease; }
.writing-pdf-open:hover .writing-pdf-hint i { transform: translateX(4px); }
.writing-pdf-viewer[hidden] { display: none !important; }
.writing-pdf-viewer { position: fixed; z-index: 10050; inset: 0; display: grid; place-items: center; padding: 24px; }
.writing-pdf-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: rgba(1,17,31,.82); backdrop-filter: blur(9px); cursor: default; }
.writing-pdf-dialog { position: relative; z-index: 1; width: min(1200px, 100%); max-height: min(96vh, 960px); overflow: hidden; padding: 30px 38px 22px; border: 1px solid rgba(112,205,231,.52); border-radius: 24px; background: radial-gradient(ellipse at 50% 0%, #164a6a, #082944 68%); box-shadow: 0 28px 85px rgba(0,0,0,.48); color: #fff; text-align: center; }
.writing-pdf-close { position: absolute; top: 15px; right: 16px; display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; background: #fff; color: #092a48; font-size: 20px; cursor: pointer; }
.writing-pdf-dialog-eyebrow { display: inline-block; margin-bottom: 6px; color: #8ddff3; font-size: 15px; font-weight: 700; letter-spacing: .09em; }
.writing-pdf-dialog h2 { margin: 0 50px 22px; color: #fff; font-family: var(--gilroy); font-size: clamp(20px, 2.6vw, 29px); line-height: 1.2; }
.writing-pdf-book { position: relative; display: flex; width: min(100%, 1120px); height: min(68vh, 680px); min-height: 330px; margin: 0 auto; perspective: 1800px; filter: drop-shadow(0 22px 26px rgba(0,0,0,.35)); }
.writing-pdf-book.is-single-page { width: min(100%, 920px); height: min(62vh, 620px); min-height: 300px; }
.writing-pdf-book.is-single-page .writing-pdf-page-left, .writing-pdf-book.is-single-page .writing-pdf-spine { display: none; }
.writing-pdf-book.is-single-page .writing-pdf-page-right { width: 100%; border-radius: 10px; box-shadow: none; }
.writing-pdf-book.is-single-page .writing-pdf-turn-leaf { width: 100%; }
.writing-pdf-page { position: relative; display: grid; width: 50%; height: 100%; place-items: center; overflow: hidden; border: 1px solid #d8d8d1; background: #fffdf8; }
.writing-pdf-page-left { border-radius: 10px 0 0 10px; box-shadow: inset -15px 0 20px -19px #283c49; }
.writing-pdf-page-right { border-radius: 0 10px 10px 0; box-shadow: inset 15px 0 20px -19px #283c49; }
.writing-pdf-page canvas, .writing-pdf-turn-leaf canvas { display: block; max-width: 100%; max-height: 100%; object-fit: contain; }
.writing-pdf-page canvas[hidden] { display: none; }
.writing-pdf-native-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #fffdf8; }
.writing-pdf-blank { position: absolute; inset: 0; display: grid; place-items: center; padding: 20px; color: #84909a; font-size: 16px; }
.writing-pdf-blank:empty { display: none; }
.writing-pdf-spine { position: absolute; z-index: 3; top: 0; bottom: 0; left: 50%; width: 17px; transform: translateX(-50%); background: linear-gradient(90deg,rgba(9,36,58,.2),rgba(255,255,255,.9) 45%,rgba(9,36,58,.18)); pointer-events: none; }
.writing-pdf-turn-leaf { position: absolute; z-index: 4; top: 0; right: 0; width: 50%; height: 100%; transform: rotateY(0deg); transform-origin: left center; transform-style: preserve-3d; visibility: hidden; }
.writing-pdf-turn-leaf.is-turning { visibility: visible; animation: writingPdfPageTurn .62s cubic-bezier(.45,.04,.2,1) forwards; }
.writing-pdf-turn-leaf.is-turning.is-reverse { right: auto; left: 0; transform-origin: right center; animation-name: writingPdfPageTurnBack; }
.writing-pdf-turn-front, .writing-pdf-turn-back { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; border: 1px solid #d8d8d1; background: #fffdf8; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.writing-pdf-turn-front { border-radius: 0 10px 10px 0; }
.writing-pdf-turn-back { transform: rotateY(180deg); border-radius: 10px 0 0 10px; }
@keyframes writingPdfPageTurn { to { transform: rotateY(-180deg); } }
@keyframes writingPdfPageTurnBack { to { transform: rotateY(180deg); } }
.writing-pdf-controls { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 19px; }
.writing-pdf-controls button { display: grid; width: 46px; height: 46px; place-items: center; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; background: #56c2e2; color: #082944; font-size: 18px; cursor: pointer; transition: transform .2s ease, opacity .2s ease; }
.writing-pdf-zoom-in, .writing-pdf-zoom-out { width: 40px !important; height: 40px !important; font-size: 15px !important; }
.writing-pdf-controls button:hover:not(:disabled) { transform: scale(1.07); }
.writing-pdf-controls button:disabled { opacity: .42; cursor: not-allowed; }
.writing-pdf-page-count { min-width: 110px; color: #e7f6fb; font-size: 15px; }
.writing-pdf-page-count b { color: #fff; }
.writing-pdf-instruction { margin: 12px 0 0; color: #a7c5d5; font-size: 15px; }
body.writing-pdf-viewer-open { overflow: hidden; }
@media (max-width: 700px) {
    .writing-pdf-card { min-height: 314px; padding: 14px 12px; }
    .writing-pdf-open { min-height: 276px; }
    .writing-pdf-cover { width: min(100%, 174px); height: 202px; }
    .writing-pdf-viewer { padding: 12px; }
    .writing-pdf-dialog { max-height: 95vh; padding: 58px 14px 18px; border-radius: 18px; }
    .writing-pdf-close { top: 10px; right: 10px; width: 40px; height: 40px; }
    .writing-pdf-dialog-eyebrow { font-size: 15px; }
    .writing-pdf-dialog h2 { margin: 0 34px 16px; font-size: 20px; }
    .writing-pdf-book { height: min(48vh, 390px); min-height: 270px; }
    .writing-pdf-book.is-single-page { width: min(100%, 540px); height: min(52vh, 520px); min-height: 280px; }
    .writing-pdf-book.is-single-page .writing-pdf-page-right { border-radius: 7px; }
    .writing-pdf-page { border-radius: 6px 0 0 6px; }
    .writing-pdf-page-right { border-radius: 0 6px 6px 0; }
    .writing-pdf-spine { width: 10px; }
    .writing-pdf-controls { gap: 15px; margin-top: 15px; }
    .writing-pdf-controls button { width: 42px; height: 42px; }
    .writing-pdf-zoom-in, .writing-pdf-zoom-out { width: 36px !important; height: 36px !important; }
}
@media (max-height: 700px) {
    .writing-pdf-dialog {max-height: 96vh;padding: 14px 24px 12px;transform: scale(0.85);}
    .writing-pdf-dialog-eyebrow { margin-bottom: 3px; }
    .writing-pdf-dialog h2 { margin-bottom: 12px; font-size: clamp(20px, 2.2vw, 26px); }
    .writing-pdf-controls { margin-top: 12px; }
    .writing-pdf-instruction { margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
    .writing-pdf-card, .writing-pdf-hint i, .writing-pdf-controls button { transition: none; }
    .writing-pdf-turn-leaf.is-turning { animation-duration: .01ms; }
}

/* Seamless responsive marquee for the portfolio section. */
.portfolio .portfolio-mark {
    display: block;
    bottom: -19px;
    text-align: left;
    pointer-events: none;
}

.portfolio-mark-track {
    display: flex;
    width: max-content;
    animation: portfolio-mark-scroll 34s linear infinite;
    will-change: transform;
}
.bnr-st {
    position: relative;
    width: auto;
    display: table;
    margin: 0 auto;
}

.bnr-st img.wrap-1-fur {
    position: absolute;
    right: 0;
}

.bnr-st img.wrap-2-fur {
    position: absolute;
    left: -42px;
    top: -3px;
}

.bnr-st img.wrap-1-fur {
    position: absolute;
    right: -42px;
    top: -3px;
}
.portfolio-mark-group {
    flex: 0 0 auto;
    padding-right: .35em;
}

@keyframes portfolio-mark-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (max-width: 767px) {
    .portfolio .portfolio-mark {
        bottom: -8px;
        font-size: clamp(38px, 11vw, 64px);
        -webkit-text-stroke-width: .8px;
    }

    .portfolio-mark-track {
        animation-duration: 24s;
    }
}

@media (prefers-reduced-motion: reduce) {
    .portfolio-mark-track { animation: none; }
}

/* Keep author interview videos compact and soften the page behind the viewer. */
.fancybox__backdrop {
    background: rgba(3, 25, 45, .68) !important;
    -webkit-backdrop-filter: blur(9px);
    backdrop-filter: blur(9px);
}

.fancybox__container .is-close-btn {
    z-index: 20;
    display: grid !important;
    width: 42px;
    height: 42px;
    padding: 9px;
    border: 1px solid rgba(103, 211, 239, .65);
    border-radius: 50%;
    background: #fff;
    color: #082944;
    box-shadow: 0 6px 20px rgba(0, 12, 27, .3);
    opacity: 1 !important;
}

.fancybox__container .is-close-btn:hover {
    background: #56c2e2;
    color: #082944;
}

.fancybox__slide.has-iframe .f-html {
    position: relative;
    width: min(900px, calc(100vw - 48px)) !important;
    height: min(506px, calc(100vh - 48px)) !important;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    padding: 4px !important;
    border: 1px solid rgba(103, 211, 239, .78);
    border-radius: 17px;
    background: linear-gradient(140deg, #69d5f0, #0b3150 42%, #174d6b);
    box-shadow: 0 24px 72px rgba(0, 12, 27, .58), 0 0 0 5px rgba(84, 192, 224, .12);
}

.fancybox__slide.has-iframe .author-video-close {
    position: absolute;
    z-index: 10;
    top: 13px !important;
    right: 13px !important;
    display: grid !important;
    width: 40px;
    height: 40px;
    place-items: center;
    padding: 0 0 3px;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 50%;
    background: rgba(5, 31, 53, .88);
    color: #fff;
    font: 400 30px/1 Arial, sans-serif;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .38);
    transition: transform .2s ease, background .2s ease;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.fancybox__slide.has-iframe .author-video-close:hover {
    transform: scale(1.06);
    background: #56c2e2;
    color: #082944;
}

.fancybox__slide.has-iframe .f-html iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0 !important;
    border-radius: 12px;
    background: #061e35;
}

/* Slick pagination should show dot indicators without slide numbers. */
.slick-dots li button {
    overflow: hidden;
    font-size: 0 !important;
    line-height: 0 !important;
    color: transparent !important;
    text-shadow: none !important;
}

/* Restore the book-formatting benefits composition. */
.book-formatting-save {
    padding-block: 30px 52px;
    background: #fff;
}

.book-formatting-save .book-formatting-section-heading {
    max-width: 760px;
    margin: 0 auto 34px;
    text-align: center;
}

.book-formatting-save .book-formatting-section-heading h2 {
    max-width: 650px;
    margin: 0 auto;
    color: #082944;
    font-size: clamp(30px, 3vw, 34px);
    line-height: 1.08;
}

.book-formatting-save .formatting-save-grid {
    gap: 0;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    position: relative;
    left: -40px;
}

.book-formatting-save .formatting-save-art {
    position: relative;
    width: 100%;
    /* height: 350px; */
    min-height: 0;
    overflow: visible;
}

.book-formatting-save .formatting-save-device {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 90px;
    width: clamp(205px, 20vw, 250px);
    /* max-height: 400px; */
    object-fit: contain;
}

.book-formatting-save .formatting-save-books {
    position: absolute;
    z-index: 1;
    right: auto;
    bottom: 0;
    left: clamp(165px, 16vw, 230px);
    width: clamp(255px, 24vw, 300px);
    /* height: auto; */
    object-fit: contain;
}

.book-formatting-save .formatting-save-panel {
    z-index: 3;
    width: 100%;
    /* min-height: 346px; */
    padding: 12px 22px 20px;
    border-radius: 13px;
    background: #082944;
    box-shadow: 0 12px 28px rgba(8, 41, 68, .1);
}

.book-formatting-save .formatting-save-logo {
    width: 72px;
    height: 68px;
    margin: 0 auto 10px;
}

.book-formatting-save .formatting-save-panel ul {
    gap: 30px;
    padding-top: 20px;
}

.book-formatting-save .formatting-save-panel li {
    grid-template-columns: 15px minmax(0, 1fr);
    gap: 8px;
}

.book-formatting-save .formatting-save-panel h3 {
    margin-bottom: 5px;
    font-size: 15px;
    line-height: 1.3;
}

.book-formatting-save .formatting-save-panel p {
    font-size: 13px;
    line-height: 35px;
}

@media (max-width: 900px) and (min-width: 701px) {
    .book-formatting-save .formatting-save-grid {
        width: min(100%, 810px);
        grid-template-columns: minmax(0, 1fr) minmax(240px, 270px);
    }

    .book-formatting-save .formatting-save-art {
        height: 315px;
    }

    .book-formatting-save .formatting-save-device {
        width: clamp(190px, 25vw, 225px);
        max-height: 315px;
    }

    .book-formatting-save .formatting-save-books {
        left: clamp(150px, 20vw, 180px);
        width: clamp(240px, 31vw, 280px);
    }

    .book-formatting-save .formatting-save-panel {
        min-height: 320px;
        padding-inline: 18px;
    }
}

@media (max-width: 700px) {
    .book-formatting-save {
        padding-block: 38px 46px;
        display: none;
    }

    .book-formatting-save .book-formatting-section-heading {
        margin-bottom: 20px;
    }

    .book-formatting-save .formatting-save-grid {
        width: min(100%, 440px);
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .book-formatting-save .formatting-save-art {
        height: clamp(255px, 72vw, 310px);
        min-height: 0;
    }

    .book-formatting-save .formatting-save-device {
        left: 3%;
        width: clamp(160px, 48vw, 205px);
        max-height: 100%;
    }

    .book-formatting-save .formatting-save-books {
        left: 39%;
        width: clamp(190px, 59vw, 250px);
    }

    .book-formatting-save .formatting-save-panel {
        width: min(100%, 380px);
        min-height: 0;
        margin: 0 auto;
        padding: 15px 22px 20px;
    }
}

@media (max-width: 600px) {
    .fancybox__slide.has-iframe .f-html {
        width: calc(100vw - 28px) !important;
        height: auto !important;
        max-height: calc(100vh - 48px);
    }
}

/* Terms and conditions page */
.terms-content {
    padding-block: clamp(42px, 7vw, 88px);
    background: #f4fbfd;
}

.terms-content__inner {
    max-width: 960px;
    padding: clamp(24px, 5vw, 54px);
    border: 1px solid rgba(8, 41, 68, .1);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 16px 44px rgba(8, 41, 68, .08);
    color: #35516a;
    font-size: 16px;
    line-height: 1.8;
}

.terms-content__inner > p:first-child {
    color: #082944;
    font-weight: 600;
}

.terms-content__inner section {
    margin-top: 34px;
    overflow: visible;
}

.terms-content__inner h2 {
    margin: 0 0 15px;
    color: #082944;
    font-family: var(--gilroy);
    font-size: clamp(23px, 3vw, 30px);
    line-height: 1.2;
}

.terms-content__inner h3 {
    margin: 25px 0 8px;
    color: #0c3c5b;
    font-family: var(--gilroy);
    font-size: 19px;
    line-height: 1.3;
}

.terms-content__inner p {
    margin: 0 0 16px;
}

.terms-content__inner ul {
    margin: 0 0 18px;
    padding-left: 23px;
}

.terms-content__inner li {
    margin: 0 0 9px;
    padding-left: 4px;
}

.terms-content__inner li::marker {
    color: #56c2e2;
}

.terms-definitions {
    display: grid;
    gap: 12px;
    margin: 0;
}

.terms-definitions > div {
    padding: 15px 18px;
    border-left: 3px solid #56c2e2;
    border-radius: 0 10px 10px 0;
    background: #f2faff;
}

.terms-definitions dt {
    margin-bottom: 3px;
    color: #082944;
    font-weight: 700;
}

.terms-definitions dd {
    margin: 0;
}

@media (max-width: 600px) {
    .terms-content__inner {
        padding: 23px 19px;
        border-radius: 16px;
        font-size: 15px;
        line-height: 1.7;
    }

    .terms-content__inner section {
        margin-top: 28px;
    }

    .terms-definitions > div {
        padding: 13px 14px;
    }
}

/* Thank-you confirmation page */
.thank-you-page {
    background: #f2fbfe;
}

.thank-you-section {
    position: relative;
    display: grid;
    min-height: min(720px, calc(100svh - 90px));
    place-items: center;
    overflow: hidden;
    padding: clamp(56px, 9vw, 110px) 0;
    background:
        radial-gradient(ellipse at 50% 42%, rgba(77, 191, 224, .2), transparent 48%),
        linear-gradient(140deg, #f7fcfe, #eaf8fc 55%, #f7fcfe);
}

.thank-you-section::before,
.thank-you-section::after {
    position: absolute;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(86, 194, 226, .18);
    border-radius: 50%;
    content: '';
    pointer-events: none;
}

.thank-you-section::before {
    top: -230px;
    left: -150px;
}

.thank-you-section::after {
    right: -190px;
    bottom: -245px;
    width: 470px;
    height: 470px;
}

.thank-you-card {
    position: relative;
    z-index: 1;
    width: min(100%, 720px);
    margin: auto;
    padding: clamp(32px, 6vw, 64px);
    border: 1px solid rgba(8, 41, 68, .11);
    border-radius: 28px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 24px 70px rgba(8, 41, 68, .12);
    text-align: center;
}

.thank-you-check {
    display: grid;
    width: 76px;
    height: 76px;
    margin: 0 auto 22px;
    place-items: center;
    border: 7px solid #e1f7fc;
    border-radius: 50%;
    background: #56c2e2;
    box-shadow: 0 9px 22px rgba(53, 173, 207, .25);
}

.thank-you-check svg {
    width: 42px;
    height: 42px;
    fill: none;
    stroke: #fff;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 4;
}

.thank-you-card .eyebrow {
    margin-bottom: 13px;
    color: #2387a8;
    letter-spacing: .1em;
}

.thank-you-card h1 {
    margin: 0 0 16px;
    color: #082944;
    font-family: var(--gilroy);
    font-size: clamp(38px, 6vw, 58px);
    line-height: 1.08;
}

.thank-you-card p {
    max-width: 540px;
    margin: 0 auto 13px;
    color: #526b80;
    font-size: 17px;
    line-height: 1.65;
}

.thank-you-card p.thank-you-lead {
    color: #0c3c5b;
    font-size: 19px;
    font-weight: 700;
}

.thank-you-actions {
    gap: 14px;
    margin-top: 28px;
}

.thank-you-contact-link {
    display: inline-block;
    margin-top: 22px;
    color: #32627e;
    font-size: 14px;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 600px) {
    .thank-you-section {
        min-height: calc(100svh - 76px);
        padding: 44px 0;
    }

    .thank-you-card {
        padding: 34px 22px;
        border-radius: 22px;
    }

    .thank-you-check {
        width: 66px;
        height: 66px;
        margin-bottom: 19px;
    }

    .thank-you-card p {
        font-size: 15px;
    }

    .thank-you-card p.thank-you-lead {
        font-size: 17px;
    }

    .thank-you-actions {
        flex-direction: column;
        align-items: stretch;
    }
}
.book-cover-design-route .cover-design-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: 600px;
    padding: 125px 0 55px;
    overflow: hidden;
    background: #062645 url("../../images/book-cover-design/banner-bg.png") center/cover no-repeat;
}
.book-cover-design-route .cover-design-hero::before { position: absolute; z-index: -1; inset: 0; content: ""; background: linear-gradient(90deg, rgba(3,28,51,.55), rgba(3,28,51,.1)); }
.cover-design-hero-grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); align-items: center; gap: clamp(28px,5vw,70px); }
.cover-design-hero-copy { color: #fff; max-width: 560px; }
.cover-design-hero-copy h1 { color: #fff; font-size: clamp(38px,4.4vw,64px); line-height: 1.02; margin: 10px 0 18px; }
.cover-design-hero-copy h1 span { display: block; }
.cover-design-hero-copy p { color: #e7f3fa; max-width: 510px; }
.cover-design-hero-art img { display:block; width:100%; max-height:440px; object-fit:contain; filter:drop-shadow(0 20px 28px rgba(0,0,0,.26)); }
.cover-design-gallery { padding-block: 48px 54px; background:#fff; }
.cover-design-mini-gallery {display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:22px;align-items:center;/* max-width:980px; */margin:32px auto 0;}
.cover-design-mini-gallery.slick-initialized { display:block; }
.cover-design-mini-gallery.slick-initialized .slick-slide { padding:5px 3px 10px; }
.cover-design-mini-gallery.slick-initialized .slick-slide a { height:200px; align-items:center; padding:3px; }
.cover-design-mini-gallery.slick-initialized .slick-slide img { max-height:100%; }
.cover-design-mini-gallery a {display:flex;justify-content:center;/* height:150px; */padding:6px;}
.cover-design-mini-gallery img { max-width:100%; max-height:100%; width:auto; object-fit:contain; transition:transform .25s ease; }
.cover-design-mini-gallery a:hover img { transform:translateY(-5px); }
.cover-design-services { display:grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); background:#5bc2e2; overflow:hidden; }
.cover-design-services-copy { display:flex; justify-content:flex-end; padding:54px clamp(28px,5vw,76px); }
.cover-design-services-inner { width:min(100%,570px); color:#fff; }
.cover-design-services-inner h2 { color:#fff; margin:8px 0 12px; }
.cover-design-services-inner p { color:#f1fbff; }
.cover-service-list { display:grid; gap:10px; margin:20px 0 24px; }
.cover-service-list a { display:flex; align-items:center; gap:12px; padding:12px 15px; border:1px solid rgba(255,255,255,.58); border-radius:10px; color:#062645; background:#fff; text-decoration:none; }
.cover-service-list a > i { color:#52bfdf; font-size:20px; flex:0 0 auto; }
.cover-service-list strong,.cover-service-list small { display:block; }
.cover-service-list small { margin-top:3px; color:#587087; }
.cover-design-services-art { min-height:460px; background:linear-gradient(90deg,rgba(4,36,66,.08),rgba(4,36,66,.42)),url("../../images/book-cover-design/banner-bg.png") center/cover no-repeat; }
.cover-design-benefits { background:#fff; }
.cover-design-benefits-grid { display:grid; grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr); gap:clamp(30px,5vw,72px); align-items:center; }
.cover-design-benefits-art img { display:block; width:100%; max-height:390px; object-fit:contain; }
.cover-design-benefits-copy h2 { color:#062645; }
.cover-benefit-pills { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin:22px 0; }
.cover-benefit-pills span { display:flex; align-items:center; gap:8px; padding:11px 12px; border:1px solid #d8edf4; border-radius:9px; color:#092b4b; font-weight:600; }
.cover-benefit-pills i { color:#54c0e0; }
.cover-design-portfolio .section-heading { text-align:center; }
.cover-design-portfolio .portfolio-slider { margin-top:30px; }
.book-cover-design-route .final-cta-books { max-height:290px; }
@media (max-width: 767px) {
    .book-cover-design-route .cover-design-hero { min-height:0; padding:116px 0 40px; }
    .cover-design-hero-grid,.cover-design-benefits-grid { grid-template-columns:1fr; gap:24px; text-align:center; }
    .cover-design-hero-copy { margin:auto; }
    .cover-design-hero-copy h1 { font-size:34px; }
    .cover-design-hero-copy p { margin-inline:auto; }
    .cover-design-hero-copy .button-row,.cover-design-benefits-copy .button-row { justify-content:center; }
    .cover-design-hero-art img { max-height:280px; }
    .cover-design-gallery { padding-block:38px; }
    .cover-design-mini-gallery { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin-top:22px; }
    .cover-design-mini-gallery a { height:130px; }
    .cover-design-mini-gallery a:last-child { grid-column:1 / -1; }
    .cover-design-services { grid-template-columns:1fr; }
    .cover-design-services-copy { padding:38px 20px; justify-content:center; }
    .cover-design-services-inner { text-align:center; }
    .cover-service-list { text-align:left; }
    .cover-design-services-art { min-height:250px; }
    .cover-design-benefits { padding-block:38px; }
    .cover-design-benefits-art { order:1; }
    .cover-design-benefits-art img { max-height:260px; }
    .cover-benefit-pills { grid-template-columns:1fr; text-align:left; }
}

/* Book cover service tabs */
.book-cover-design-route .cover-design-services {
    position: relative;
    display: block;
    padding: 50px 0;
    overflow: hidden;
    background: #5bc2e2;
}
.book-cover-design-route .cover-design-services .hd-txt {
    text-align: center;
}

.book-cover-design-route .cover-design-services .hd-txt h2 {
    color: #fff;
    padding-bottom: 40px;
    margin: 0;
}
.book-cover-design-route .cover-design-services::before {
    position: absolute;
    z-index: 0;
    inset: 0 0 0 70%;
    content: "";
    background: url("../../images/book-cover-design/banner-bg.png") right/cover no-repeat;
}
.cover-design-tabs-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(210px,310px) minmax(220px,330px) minmax(300px,1fr);
    /* grid-template-rows: 0 0fr; */
    align-items: start;
    gap: 16px 22px;
    width: min(100%,1160px);
    margin: 0 auto;
    justify-content: stretch;
}
.cover-design-tabs-inner > h2 {
    grid-column: 1 / 3;
    grid-row: 1;
    margin: 0;
    color: #fff;
    text-align: center;
    font-size: clamp(25px,2.2vw,34px) !important;
    line-height: 1.1 !important;
    white-space: nowrap;
}
.cover-design-tabs {
    /* grid-column: 1; */
    grid-row: 2;
    display: grid;
    gap: 19px;
}
.cover-design-tab {
    display: flex;
    align-items: center;
    min-height: 72px;
    padding: 9px 12px;
    border: 1px solid rgba(6,38,69,.12);
    border-radius: 9px;
    color: #092b4a;
    background: #fff;
    text-align: left;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
    cursor: pointer;
    transition: color .2s ease, background .2s ease, transform .2s ease;
    gap: 0 10px;
}
.cover-design-tab::before {
    content: "✎";
    display: grid;
    place-items: center;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    margin-right: 9px;
    border-radius: 6px;
    color: #5bc2e2;
    background: #eefaff;
    font-size: 15px;
}
.cover-design-tab:hover,.cover-design-tab.is-active { color:#fff; background:#062645; }
.cover-design-tab.is-active::before { color:#062645; background:#fff; }
.cover-design-tab:focus-visible { outline:3px solid #fff; outline-offset:2px; }
.cover-design-tab-panels {grid-column:2;grid-row:2;align-self:center;color:#fff;height: 100%;}
.cover-design-tab-panel h3 {margin:0 0 10px;color:#fff;font-size: 20px;font-weight:700;line-height:1.25;}
.cover-design-tab-panel p {margin:0;color:rgba(255,255,255,.94);font-size:14px !important;line-height: 176%;}
.cover-design-tabs-art {grid-column:3;grid-row:2;}
.cover-design-tabs-art img {display:block;object-fit: cover;transition:opacity .18s ease,transform .25s ease;width: 100%;}
.cover-design-tabs-art img.is-changing { opacity:.35; transform:translateY(4px); }
@media (max-width: 767px) {
    .book-cover-design-route .cover-design-services { padding:30px 18px 24px; }
    .book-cover-design-route .cover-design-services::before {inset:70% 0 0;display: none;}
    .cover-design-tabs-inner { grid-template-columns:minmax(0,1fr); grid-template-rows:auto; gap:16px; }
    .cover-design-tabs-inner > h2 { grid-column:1; grid-row:1; font-size:25px !important; white-space:normal; }
    .cover-design-tabs {grid-column:1;grid-row:2;grid-template-columns:1fr 1fr;gap:8px;}
    .cover-design-tab { min-height:50px; padding:8px; font-size:12px; }
    .cover-design-tab::before {flex-basis:20px;width:20px;height:20px;margin-right:6px;margin: 0 auto;margin-bottom: 5px;}
    .cover-design-tab-panels { grid-column:1; grid-row:3; min-height:100px; text-align:center; }
    .cover-design-tab-panel h3 { font-size:18px; }
    .cover-design-tab-panel p { font-size:14px; }
    .cover-design-tabs-art {grid-column:1;grid-row:4;display: none;}
    .cover-design-tabs-art img { max-height:230px; }
}

/* Developmental editing landing page */
.developmental-editing-route .developmental-editing-hero { position:relative; isolation:isolate; display:flex; align-items:center; min-height:500px; padding:120px 0 48px; overflow:hidden; background:#062645 url("../../images/development-editing/banner-bg.png") center/cover no-repeat; }
.developmental-editing-hero::before { position:absolute; z-index:-1; inset:0; content:""; background:linear-gradient(90deg,rgba(3,30,55,.55),rgba(3,30,55,.05)); }
.developmental-hero-grid { display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); align-items:center; gap:clamp(30px,5vw,70px); }
.developmental-hero-copy { max-width:560px; color:#fff; }
.developmental-hero-copy h1 { margin:10px 0 16px; color:#fff; font-size:clamp(38px,4vw,60px)!important; line-height:1.02!important; }
.developmental-hero-copy h1 span { display:block; }
.developmental-hero-copy p { max-width:520px; color:#e5f2f9; }
.developmental-hero-art img { display:block; width:100%; max-height:380px; object-fit:contain; filter:drop-shadow(0 18px 24px rgba(0,0,0,.22)); }
.developmental-intro { padding-block:48px; background:#fff; }
.developmental-intro-grid { display:grid; grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr); gap:clamp(30px,5vw,72px); align-items:center; }
.developmental-intro-art img { display:block; width:100%; max-height:330px; object-fit:contain; }
.developmental-intro-copy h2 { color:#062645; }
.developmental-intro-copy p { color:#536b80; }
.developmental-evaluation {padding-block:35px;/* background:#5bc2e2; */}
.developmental-evaluation h2 { margin:0 0 22px; color:#fff; text-align:center; }
.developmental-evaluation .container {
    background: #5CC3E8;
    padding: 40px 0px 0;
    border-radius: 12px;
}

div#evaluation-panel {}

.evaluation-layout:before {
    content: '';
    position: absolute;
    top: 0;
    left: -225px;
    right: 0;
    margin: auto;
    width: 1px;
    height: 100%;
    background: #ffffff38;
}
.evaluation-layout {align-items:center;padding: 18px 0;border-radius:12px;/* background:rgba(255,255,255,.12); */display: flex;align-items: center;gap: 20px 40px;border-top: 1px solid #ffffff38;position: relative;}
.evaluation-tabs {display:grid;gap:7px;width: 40%;padding: 0px 0px 0 40px;}
.evaluation-tab {padding: 16px 12px;border:0;border-radius:5px;color:#092c4c;background:#fff;text-align:left;font-size: 20px;font-weight: bold;line-height:1.25;cursor:pointer;}
.evaluation-tab.is-active { color:#fff; background:#062645; }
.evaluation-copy {color:#fff;display: flex;flex-direction: column;gap: 30px 0;padding: 0px 40px 0 0;width: 60%;}
.evaluation-copy h3 { margin:0 0 8px; color:#fff; font-size:17px!important; }
.evaluation-copy p { margin:0; color:#f1fbff; font-size:13px!important; line-height:1.5; }
.evaluation-art img { display:block; width:100%; max-height:190px; object-fit:cover; border-radius:7px; }
.developmental-fit { padding-block:35px; }
.developmental-fit-inner:before {
    content: '';
    position: absolute;
    background: rgba(92, 195, 232, 0.42);
    mix-blend-mode: color-dodge;
    filter: blur(60px);
    height: 265px;
    width: 100%;
    bottom: -230px;
    top: auto;
    z-index: -1;
}
.developmental-fit-inner {display:grid;grid-template-columns: minmax(390px,.8fr) minmax(0,2fr);align-items:center;gap:28px;padding:22px;border-radius:12px;color:#fff;background:#062645;position: relative;z-index: 1;overflow: hidden;}
.developmental-fit-inner h2 { margin:0; color:#fff; font-size:clamp(22px,2vw,30px); }
.developmental-fit-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }
.developmental-fit-grid article {min-height:120px;padding:14px 12px;text-align:center;background: #FFFFFF;border: 1px solid #DADADA;box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.15);border-radius: 20px;text-align: center;}
.developmental-fit-grid img {width:32px;height:32px;object-fit:contain;margin-bottom:5px;margin: 0 auto;}
.developmental-fit-grid h3 { margin:0 0 5px; color:#fff; font-size:14px!important; }
.developmental-fit-grid p {margin:0;color: #062645;font-size:12px!important;line-height:1.4;width: 90%;margin: 0 auto;margin-top: 15px;}
.developmental-levels { padding-block:40px 55px; background:#fff; }
.editing-levels-scroll { overflow-x:auto; border:1px solid #dbe6ec; border-radius:10px; box-shadow:0 8px 22px rgba(6,38,69,.08); }
.editing-levels-table {width:100%;min-width:720px;border-collapse:collapse;color:#35516a;font-size:13px;position: relative;z-index: 1;overflow: hidden;}
.editing-levels-table th,.editing-levels-table td {padding:12px 14px;border-bottom:1px solid #e1e9ee;text-align:left;vertical-align:top;border-right: 1px solid #DFDFDF;font-size: 14px;}
.editing-levels-table thead th {color: #062645;background: #ffffff;font-size: 16px;font-weight: bold;border-right: 1px solid #DFDFDF;position: relative;z-index: 99999;}
.editing-levels-table thead th:first-child {
    background: #062645;
    color: #fff;
}

.editing-levels-table tbody th {width: 16%;color: #fff;background: #062645;font-size: 16px;font-family: var(--inter);place-content: center;}
.editing-levels-table tbody tr:last-child th,.editing-levels-table tbody tr:last-child td { border-bottom:0; }
@media (max-width: 767px) {
    .developmental-editing-route .developmental-editing-hero { min-height:0; padding:112px 0 38px; }
    .developmental-hero-grid,.developmental-intro-grid { grid-template-columns:1fr; gap:22px; text-align:center; }
    .developmental-hero-copy { margin-inline:auto; }
    .developmental-hero-copy h1 { font-size:34px!important; }
    .developmental-hero-copy p { margin-inline:auto; }
    .developmental-hero-copy .button-row,.developmental-intro-copy .button-row { justify-content:center; }
    .developmental-hero-art img { max-height:250px; }
    .developmental-intro { padding-block:36px; }
    .developmental-intro-art img { max-height:260px; }
    .developmental-evaluation { padding-block:30px; }
    .evaluation-layout { grid-template-columns:1fr; gap:14px; padding:14px; }
    .evaluation-tabs { grid-template-columns:1fr 1fr; }
    .evaluation-tab { font-size:12px; }
    .evaluation-copy { min-height:104px; text-align:center; }
    .evaluation-art img { max-height:180px; }
    .developmental-fit { padding-block:28px; }
    .developmental-fit-inner { grid-template-columns:1fr; gap:18px; padding:18px; text-align:center; }
    .developmental-fit-grid { grid-template-columns:1fr 1fr; }
    .developmental-fit-grid article { min-height:0; }
    .developmental-levels { padding-block:34px 42px; }
}


/* Ghostwriting page styles */
.ghostwriting-page { overflow: hidden; color: #092a48; }
.ghost-hero { position: relative; isolation: isolate; overflow: hidden; padding: 150px 0 70px; color: #fff; background: #092a48 url('../../images/ghostwriting/banner-bg.png') center/cover no-repeat; }
.ghost-hero::before { position: absolute; z-index: -1; inset: 0; content: ''; background: linear-gradient(90deg, rgba(4,28,51,.3), rgba(4,28,51,.08) 65%, rgba(4,28,51,.1)); }
.ghost-hero-grid { display: grid; grid-template-columns: minmax(0,1.04fr) minmax(360px,.96fr); align-items: center; gap: 36px; min-height: 385px; }
.ghost-hero-copy { max-width: 640px; }
.ghost-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; color: #a9e8f7; font: 700 12px/1.2 var(--gilroy); letter-spacing: .1em; text-transform: uppercase; }
.ghost-eyebrow img { width: 19px; height: 19px; object-fit: contain; }
.ghost-hero h1 { max-width: 640px; margin: 0 0 18px; color: #fff; font: 700 clamp(38px,5vw,62px)/1.06 var(--gilroy); letter-spacing: -.035em; }
h1 span {color: #fff !important;}
.ghost-hero-copy > p { max-width: 570px; margin: 0; color: #d8e9f2; font-size: 17px; line-height: 1.7; }
.ghost-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.ghost-proof { display: flex; align-items: center; gap: 9px; margin-top: 25px; color: #c8dae5; font-size: 13px; }
.ghost-proof span { color: #58c5f0; }
.ghost-hero-art { display: grid; place-items: center; min-height: 350px; }
.ghost-hero-art img { width: min(100%,560px); max-height: 380px; object-fit: contain; filter: drop-shadow(0 18px 25px rgba(0,0,0,.22)); }
.ghost-intro { padding: 78px 0 72px; background: #fff; }
.ghost-intro-grid { display: grid; grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr); align-items: center; gap: clamp(40px,7vw,92px); }
.ghost-intro-art {position: relative;display: grid;place-items: center;/* min-height: 330px; *//* border-radius: 20px; *//* background: #effaff; */}
.ghost-intro-art > img {width: 100%;object-fit: contain;}
.ghost-intro .ghost-intro-copy {
    display: flex;
    flex-direction: column;
    gap: 30px 0;
}

.ghost-art-note { position: absolute; right: 10px; bottom: 18px; display: flex; align-items: center; gap: 8px; border-radius: 9px; padding: 10px 14px; color: #092a48; background: #fff; box-shadow: 0 9px 22px rgba(6,38,69,.13); font: 700 14px var(--gilroy); }
.ghost-art-note img { width: 26px; height: 26px; object-fit: contain; }
.ghost-eyebrow--light { color: #1495bb; }
.ghost-intro-copy h2,.ghost-experts-copy h2 { margin: 0 0 15px; color: #092a48; font: 700 clamp(28px,3vw,40px)/1.15 var(--gilroy); letter-spacing: -.025em; }
.ghost-intro-copy p,.ghost-experts-copy > p { color: #536e81; line-height: 1.7; }
.ghost-text-link { display: inline-flex; gap: 9px; margin-top: 8px; color: #087da6; font: 700 15px var(--gilroy); text-decoration: none; }
.ghost-text-link:hover { color: #092a48; }
.ghost-benefits { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; margin-top: 46px; }
.ghost-benefits article { min-height: 148px; border: 1px solid #d6e7ed; border-radius: 11px; padding: 19px; background: #fff; box-shadow: 0 8px 22px rgba(6,38,69,.04); }
.ghost-benefit-icon {
    display: flex;
    align-items: center;
    gap: 0 5px;
    margin-bottom: 10px;
}
.ghost-services .section-heading p {
    color: #092a48;
    width: 80%;
    margin: 0 auto;
}

.ghost-services .container {
    background: #5bc6e7 url(../../images/ghostwriting/serv-bg.png) center / cover no-repeat;
    padding: 60px 30px;
    border-radius: 20px;
}
.ghost-benefits h3,.ghost-service-card h3,.ghost-expert-list h3 {margin: 0 0 6px;color: #092a48;font: 700 20px/1.25 var(--gilroy);}
.ghost-benefits p,.ghost-service-card p,.ghost-expert-list p {margin: 0;color: #587185;font-size: 14px;line-height: 1.55;}
.ghost-services {position: relative;isolation: isolate;/* padding: 50px 0 50px; */}
.ghost-services::before {/* position: absolute; *//* z-index: -1; *//* inset: 0; *//* content: ''; *//* background: rgba(72,190,222,.84); */}
.ghost-section-heading { max-width: 710px; margin: 0 auto 31px; text-align: center; }
.ghost-section-heading h2 { margin: 0 0 10px; color: #092a48; font: 700 clamp(28px,3vw,40px)/1.14 var(--gilroy); letter-spacing: -.025em; }
.ghost-section-heading p { max-width: 620px; margin: 0 auto; color: #21465f; line-height: 1.65; }
.ghost-section-heading .ghost-eyebrow { color: #092a48; }
.ghost-service-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; }
.ghost-service-card { position: relative; min-height: 172px; border: 1px solid rgba(9,42,72,.1); border-radius: 12px; padding: 22px 22px 20px; background: rgba(255,255,255,.96); box-shadow: 0 8px 20px rgba(9,42,72,.07); }
.ghost-service-card > span { display: inline-block; margin-bottom: 12px; color: #0786ad; font: 700 12px var(--gilroy); letter-spacing: .1em; }
.ghost-service-card h3 { font-size: 19px; }
.ghost-service-card p { max-width: 340px; font-size: 14px; }
.ghost-experts { padding: 78px 0; background: #fff; }
.ghost-experts-grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); align-items: center; gap: clamp(40px,7vw,90px); }
.ghost-experts-art { display: grid; place-items: center; min-height: 350px; border-radius: 16px; background: #f2fbfe; }
.ghost-experts-art img { width: min(95%,540px); height: 300px; object-fit: contain; }
.ghost-expert-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 19px 22px; margin-top: 24px; }
.ghost-expert-list article { display: grid; grid-template-columns: 28px 1fr; gap: 10px; }
.ghost-expert-list article > span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; color: #092a48; background: #c9f0fa; font-weight: 700; }
.ghost-expert-list h3 { margin-bottom: 4px; font-size: 16px; }
.ghost-process { padding: 76px 0 80px; background: #effaff; }
.ghost-section-heading--process { max-width: 760px; margin-bottom: 38px; }
.ghost-process-layout { display: grid; grid-template-columns: minmax(0,.94fr) minmax(0,1.06fr); align-items: center; gap: clamp(38px,6vw,76px); }
.ghost-process-art { position: relative; display: grid; place-items: center; min-height: 335px; overflow: hidden; border-radius: 17px; background: #d9f4fb; }
.ghost-process-art::before { position: absolute; width: 290px; aspect-ratio: 1; border: 1px solid rgba(9,42,72,.13); border-radius: 50%; content: ''; }
.ghost-process-art img { position: relative; width: 95%; max-height: 250px; object-fit: contain; filter: drop-shadow(0 12px 16px rgba(6,38,69,.1)); }
.ghost-process-art > span { position: absolute; bottom: 18px; color: #092a48; font: 700 15px var(--gilroy); }
.ghost-process-steps { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.ghost-process-steps li { display: grid; grid-template-columns: 40px 1fr 26px; align-items: center; gap: 12px; min-height: 72px; border: 1px solid rgba(9,42,72,.09); border-radius: 10px; padding: 12px 15px; background: #fff; transition: transform .2s ease, box-shadow .2s ease; }
.ghost-process-steps li:hover { transform: translateX(4px); box-shadow: 0 8px 18px rgba(6,38,69,.08); }
.ghost-step-number { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: #fff; background: #092a48; font: 700 12px var(--gilroy); }
.ghost-process-steps h3 { margin: 0 0 3px; color: #092a48; font: 700 18px var(--gilroy); }
.ghost-process-steps p { margin: 0; color: #5a7384; font-size: 13px; line-height: 1.45; }
.ghost-step-mark { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; color: #092a48; background: #c9f0fa; }
.ghost-process-cta { margin-top: 24px; text-align: center; }
.ghost-process-cta .button span { margin-left: 8px; }
.ghost-genres { padding: 72px 0 82px; background: #092a48; }
.ghost-section-heading--dark h2 { color: #fff; }
.ghost-section-heading--dark p { color: #d0e1eb; }
.ghost-section-heading--dark .ghost-eyebrow { color: #8be0f6; }
.ghost-genre-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.ghost-genre-grid article { position: relative; min-height: 230px; overflow: hidden; border-radius: 12px; background: #dcecf1; }
.ghost-genre-grid img { width: 100%; height: 230px; object-fit: cover; transition: transform .35s ease; }
.ghost-genre-grid article:hover img { transform: scale(1.04); }
.ghost-genre-grid h3 { position: absolute; right: 0; bottom: 0; left: 0; margin: 0; padding: 38px 17px 15px; color: #fff; background: linear-gradient(transparent,rgba(3,24,43,.88)); font: 700 19px var(--gilroy); }
.ghost-final-cta { position: relative; overflow: hidden; padding: 74px 0; color: #fff; background: #0a3556 url('../../images/ghostwriting/banner-bg.png') center/cover no-repeat; text-align: center; }
.ghost-final-cta::before { position: absolute; inset: 0; content: ''; background: rgba(5,34,59,.35); }
.ghost-final-cta-inner { position: relative; }
.ghost-final-cta h2 { max-width: 740px; margin: 0 auto 13px; color: #fff; font: 700 clamp(30px,4vw,46px)/1.12 var(--gilroy); }
.ghost-final-cta p { max-width: 600px; margin: 0 auto; color: #d9eaf2; line-height: 1.65; }
.ghost-actions--center { justify-content: center; }
@media (max-width: 900px) { .ghost-hero-grid { grid-template-columns: minmax(0,1fr) minmax(280px,.8fr); gap: 18px; }.ghost-benefits { grid-template-columns: repeat(2,minmax(0,1fr)); }.ghost-service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.ghost-genre-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 680px) { .ghost-hero { padding: 120px 0 45px; }.ghost-hero-grid,.ghost-intro-grid,.ghost-experts-grid,.ghost-process-layout { grid-template-columns: 1fr; }.ghost-hero-grid {gap: 10px;text-align: center;width: 100%;}.ghost-hero-art { min-height: 220px; }.ghost-hero-art img { max-height: 260px; }.ghost-intro,.ghost-experts,.ghost-process { padding: 58px 0; }.ghost-intro-art { min-height: 245px; }.ghost-intro-art > img { width: 90%; }.ghost-benefits { margin-top: 30px; }.ghost-service-grid { grid-template-columns: 1fr; }.ghost-service-card { min-height: 0; }.ghost-experts-art { min-height: 270px; }.ghost-experts-art img { height: 230px; }.ghost-expert-list { grid-template-columns: 1fr; }.ghost-process-art { min-height: 260px; }.ghost-process-art img { max-height: 205px; }.ghost-process-steps li { grid-template-columns: 36px 1fr 22px; gap: 9px; padding: 11px; }.ghost-process-steps h3 { font-size: 16px; }.ghost-genre-grid article,.ghost-genre-grid img { min-height: 185px; height: 185px; }.ghost-final-cta { padding: 58px 0; } }
@media (max-width: 420px) { .ghost-benefits { grid-template-columns: 1fr; }.ghost-genre-grid { gap: 10px; }.ghost-genre-grid article,.ghost-genre-grid img { min-height: 155px; height: 155px; }.ghost-genre-grid h3 { padding: 32px 11px 11px; font-size: 16px; }.ghost-proof { align-items: flex-start; line-height: 1.4; } }
@media (prefers-reduced-motion: reduce) { .ghostwriting-page *, .ghostwriting-page *::before, .ghostwriting-page *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } }

/* Expert review and publishing sequence, arranged to follow the supplied page reference. */
.ghost-experts {padding: 0px 0 64px;}
.ghost-experts-heading { margin-bottom: 16px; }
.ghost-experts-heading h2 { margin: 0; font-size: clamp(24px,2.7vw,34px); }
.ghost-expert-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(300px,1.55fr) minmax(0,1fr); grid-template-rows: 1fr 1fr; align-items: center; column-gap: 30px; max-width: 1000px; margin: 0 auto; }
.ghost-experts-art { grid-column: 2; grid-row: 1 / span 2; min-height: 300px; background: transparent; }
.ghost-experts-art img {width: min(100%,500px);height: auto;max-height: 280px;}
.ghost-expert-point { max-width: 220px; padding: 8px 0 11px; border-bottom: 1px solid #e3e9ed; }
.ghost-expert-point h3 {margin: 0 0 6px;color: #092a48;font: 700 20px/1.3 var(--inter);}
.ghost-expert-point p {margin: 0;color: #587185;font-size: 14px;line-height: 1.55;}
.ghost-expert-point--one,.ghost-expert-point--two { justify-self: end; text-align: right; }
.ghost-expert-point--three,.ghost-expert-point--four { justify-self: start; text-align: left; }
.ghost-expert-point--one { grid-column: 1; grid-row: 1; }
.ghost-expert-point--two { grid-column: 1; grid-row: 2; }
.ghost-expert-point--three { grid-column: 3; grid-row: 1; }
.ghost-expert-point--four { grid-column: 3; grid-row: 2; }
.ghost-process { padding: 40px 0 50px; background: #fff; }
.ghost-section-heading--process { margin-bottom: 15px; }
.ghost-section-heading--process h2 { font-size: clamp(25px,2.7vw,34px); }
.ghost-section-heading--process .ghost-eyebrow { display: none; }
.ghost-process-layout { grid-template-columns: minmax(0,1.1fr) minmax(260px,.85fr); align-items: center; gap: 0; max-width: 880px; margin: 0 auto; }
.ghost-process-art { min-height: 280px; overflow: visible; border-radius: 0; background: transparent; }
.ghost-process-art::before,.ghost-process-art > span { display: none; }
.ghost-process-art img { width: min(100%,520px); max-height: 280px; }
.ghost-process-steps { gap: 9px; padding: 0 0 0 4px; }
.ghost-process-steps li { display: flex; justify-content: space-between; min-height: 43px; border: 0; border-radius: 24px; padding: 5px 7px 5px 19px; color: #092a48; background: #62c6e6; font: 600 13px var(--gilroy); }
.ghost-process-steps li:hover { transform: translateX(3px); }
.ghost-process-steps li.is-active { color: #fff; background: #092a48; }
.ghost-process-number { display: grid; place-items: center; width: 31px; height: 31px; flex: 0 0 31px; border: 1px solid rgba(255,255,255,.9); border-radius: 50%; color: #fff; background: #51bce0; font-size: 11px; }
.ghost-chapter-cta { position: relative; display: grid; align-items: center; min-height: 320px; padding: 55px 0 48px; background: #fff url('../../images/cta-bg.png') center/cover no-repeat; text-align: center; }
.ghost-chapter-cta-inner { position: relative; }
.ghost-chapter-cta .ghost-eyebrow { margin-bottom: 9px; }
.ghost-chapter-cta h2 { margin: 0 auto 10px; color: #092a48; font: 700 clamp(28px,3.2vw,40px)/1.12 var(--gilroy); }
.ghost-chapter-cta p { margin: 0 auto; color: #526f83; font-size: 14px; }
.ghost-chapter-cta .ghost-actions { margin-top: 17px; }
.ghost-chapter-cta .button { min-height: 38px; padding: 8px 17px; font-size: 12px; }
.ghost-portfolio { padding-top: 60px; }
.ghost-portfolio .portfolio-inner { position: relative; z-index: 1; }
.ghost-portfolio-slider .port-bx { overflow: hidden; border-radius: 10px; }
.ghost-portfolio-slider .port--img { width: 100%; height: 260px; object-fit: contain; }
@media (max-width: 680px) {
    .ghost-experts { padding: 46px 0; }
    .ghost-expert-grid {grid-template-columns: 1fr;grid-template-rows: auto;gap: 12px;text-align: center;}
    .ghost-experts-art { grid-column: 1; grid-row: 1; min-height: 220px; }
    .ghost-expert-point--one,.ghost-expert-point--two,.ghost-expert-point--three,.ghost-expert-point--four {grid-column: 1;grid-row: auto;justify-self: stretch;max-width: none;text-align: left;text-align: center;}
    .ghost-process { padding: 42px 0; }
    .ghost-process-layout { grid-template-columns: 1fr; gap: 12px; }
    .ghost-process-art { min-height: 210px; }
    .ghost-process-art img { max-height: 220px; }
    .ghost-process-steps { padding: 0; }
    .ghost-chapter-cta { min-height: 285px; padding: 46px 0; }
    .ghost-portfolio-slider .port--img { height: 210px; }
}

/* Children's book services cards — match the supplied three-over-two layout. */
.children-book-page .children-services .eyebrow,
.children-book-page .children-services .children-section-heading > p {
    display: none;
}

.children-book-page .children-services .children-section-heading h2 {
    margin-bottom: 0;
    font-size: clamp(26px, 2.5vw, 30px);
}

.children-book-page .children-service-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.children-book-page .children-service-card {
    position: relative;
    margin: 0;
    border: 0;
    padding: 20px 20px;
    box-shadow: none;
    width: 25.33%;
    z-index: 1;
}

.children-book-page .children-service-card::before {
    position: absolute;
    /* z-index: -1; */
    /* inset: -6px -9px -7px 7px; */
    /* border-radius: 5px; */
    /* background: #55c4e5; */
    /* content: ''; */
    /* transform: rotate(-4deg); */
}

.children-book-page .children-service-card:nth-child(4) {
    grid-column: 2 / span 2;
}

.children-book-page .children-service-card:nth-child(5) {
    grid-column: 4 / span 2;
}
.children-book-page .children-service-card:before {
    content: '';
    background: #5CC3E8;
    border-radius: 10px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    z-index: -1;
}

.children-book-page .children-service-card:after {
    content: '';
    background: #062b4c;
    border-radius: 10px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    z-index: -1;
    border-radius: 10px;
    width: 100%;
    height: 100%;
}
.children-book-page .children-service-icon {
    position: relative;
    top: 0;
    width: 38px;
    height: 38px;
    margin: 0;
    border: 0;
    border-radius: 5px;
    background: #55c4e5;
    left: 0;
}

.children-book-page .children-service-icon img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.children-book-page .children-service-card h3 {
    min-height: 38px;
    margin: 4px 0 11px;
    color: #fff;
    font-size: 20px;
    line-height: 1.25;
    display: flex;
    align-items: center;
    gap: 0 10px;
    width: 100%;
    font-family: var(--inter);
}

.children-book-page .children-service-card p {
    margin: 0;
    color: #e8f5fb;
    font-size: 14px;
    line-height: 1.55;
}

@media (max-width: 760px) {
    .children-book-page .children-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 520px;
    }

    .children-book-page .children-service-card:nth-child(4) {
        grid-column: auto;
    }

    .children-book-page .children-service-card:nth-child(5) {
        grid-column: 1 / span 2;
        justify-self: center;
        width: min(100%, 245px);
    }
}

@media (max-width: 520px) {
    .children-book-page .children-service-grid {
        grid-template-columns: 1fr;
        max-width: 340px;
    }

    .children-book-page .children-service-card:nth-child(5) {
        grid-column: auto;
        width: 100%;
    }
}

/* Final children writer section rules — preserve the supplied reference layout. */
.children-book-page .children-writers-heading { margin-bottom: 28px; }
.children-book-page .children-writers-heading .eyebrow { display: none; }
.children-book-page .children-writers-heading h2 { margin-bottom: 0; font-size: clamp(26px, 2.5vw, 30px); }
.children-book-page .children-purpose-grid {
    grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
    align-items: center;
    gap: 18px;
    max-width: 1100px;
    min-height: 330px;
    margin: 0 auto;
    border-radius: 12px;
    padding: 24px 22px;
    background: url(../../images/childern-book-writing/what-bg.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.children-book-page .children-purpose-art { display: grid; min-height: 280px; place-items: center; }
.children-book-page .children-purpose-art img {display: block;width: 90%;/* max-height: 280px; */object-fit: cover;}
.children-book-page .children-purpose-panel { align-self: center; margin: 0; padding: 0; background: transparent; }
.children-book-page .children-purpose-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.children-book-page .children-purpose-panel .children-purpose-list li {
    position: relative;
    display: flex;
    min-height: 64px;
    align-items: center;
    margin: 0;
    border: 0;
    border-radius: 8px;
    padding: 12px 11px;
    color: #17354d;
    background: #fff;
    font-size: 10px;
    line-height: 1.55;
    width: 47%;
    /*display: none;*/
}
.children-book-page .children-purpose-panel .children-purpose-list li::before { content: none; }
.children-book-page .children-purpose-panel .children-purpose-list li i {
    position: absolute;
    top: -8px;
    right: 9px;
    display: grid;
    width: 18px;
    height: 18px;
    place-items: center;
    border-radius: 3px;
    color: #fff;
    background: #062b4c;
    font-size: 10px;
    display: none;
}
.children-book-page .children-purpose-list li span {color: #17354d;font-size: 14px;font-weight: 400;line-height: 1.55;}
@media (max-width: 760px) {
    .children-book-page .children-purpose-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        max-width: 560px;
        min-height: 0;
        padding: 22px 18px;
        display: block !important;
    }
    .children-book-page .children-purpose-art {min-height: 210px;display: block !important;display: none !important;}
    .children-book-page .children-purpose-art img { max-height: 220px; }
}
@media (max-width: 520px) {
    .children-book-page .children-purpose-list { grid-template-columns: 1fr; gap: 12px; }
}

/* eBook publishing page — hero, services, and quote table. */
.ebook-publishing-page { color: #092a48; overflow: hidden; }
.ebook-publishing-page .ebook-publishing-hero {
    background-image: url('../../images/ebook-publishing/banner-bg.png');
    background-position: center;
    background-size: cover;
}
.ebook-publishing-page .ebook-publishing-hero .writing-hero-art img {
    width: min(100%, 560px);
    max-height: 420px;
    object-fit: contain;
}
.ebook-publishing-intro { padding: 62px 0 48px; background: #fff; }
.ebook-publishing-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    align-items: center;
    gap: clamp(28px, 5vw, 58px);
}
.ebook-publishing-intro-art { display: grid; min-height: 300px; place-items: center; }
.ebook-publishing-intro-art img {display: block;width: 100%;object-fit: contain;}
.ebook-publishing-intro-copy h2,
.ebook-publishing-section-heading h2 {
    margin: 0 0 12px;
    color: #092a48;
    font: 600 clamp(27px, 3vw, 48px)/1.12 var(--gilroy);
}
.ebook-publishing-intro-copy > p { color: #526c80; font-size: 14px; line-height: 1.65; }
.ebook-publishing-intro-copy .button-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.ebook-publishing-page .eyebrow { color: #119ec4; }
.ebook-publishing-services { padding: 22px 0 42px; background: #fff; }
.ebook-publishing-section-heading { max-width: 760px; margin: 0 auto 20px; text-align: center; }
.ebook-publishing-section-heading .eyebrow { margin-bottom: 6px; }
.ebook-publishing-section-heading h2 { margin-bottom: 0; font-size: clamp(27px, 2.7vw, 34px); }
.ebook-service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 920px;
    margin: 0 auto;
}
.ebook-service-card {
    display: flex;
    min-height: 105px;
    gap: 12px;
    padding: 16px 18px;
    border-right: 1px solid #dce8ed;
    border-bottom: 1px solid #dce8ed;
}
.ebook-service-card:nth-child(3n) { border-right: 0; }
.ebook-service-card:nth-last-child(-n+3) { border-bottom: 0; }
.ebook-service-icon {
    width: 60px;
}
.ebook-service-card h3 {margin: 1px 0 6px;color: #092a48;font-size: 20px;font-weight: 600;}
.ebook-service-card p {margin: 0;color: #5c7080;font-size: 15px;line-height: 1.5;}
.ebook-publishing-pricing {
    padding: 10px 0 50px;
    background: #fff url('../../images/ebook-publishing/line-bg.png') center/cover no-repeat;
}
.ebook-publishing-pricing .ebook-publishing-section-heading { margin-bottom: 18px; }
.ebook-pricing-table-wrap {
    max-width: 950px;
    margin: 30px auto 0;
    overflow-x: auto;
    border: 1px solid #dce6eb;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(9, 42, 72, .08);
}
.ebook-pricing-table { width: 100%; min-width: 650px; border-collapse: collapse; color: #17354d; font-size: 11px; }
.ebook-pricing-table th,
.ebook-pricing-table td {padding: 12px 14px;border-bottom: 1px solid #e5edf1;text-align: left;vertical-align: middle;font-size: 16px;}
.ebook-pricing-table thead th {color: #fff;background: #062645;font-size: 14px;font-weight: 700;}
.ebook-pricing-table tbody th {color: #092a48;font-size: 14px;font-weight: 700;}
.ebook-pricing-table tbody tr:last-child th,
.ebook-pricing-table tbody tr:last-child td { border-bottom: 0; }
.ebook-quote-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    border: 1px solid #cbd9e0;
    border-radius: 20px;
    padding: 4px 10px;
    color: #092a48;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}
.ebook-quote-button:hover { border-color: #55c4e5; color: #092a48; background: #effbfe; }
@media (max-width: 900px) {
    .ebook-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ebook-service-card:nth-child(3n) { border-right: 1px solid #dce8ed; }
    .ebook-service-card:nth-child(2n) { border-right: 0; }
    .ebook-service-card:nth-last-child(-n+3) { border-bottom: 1px solid #dce8ed; }
    .ebook-service-card:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 760px) {
    .ebook-publishing-intro-grid { grid-template-columns: 1fr; gap: 20px; }
    .ebook-publishing-intro-art { min-height: 230px; }
    .ebook-publishing-intro-art img { max-height: 260px; }
    .ebook-publishing-intro-copy { text-align: center; }
    .ebook-publishing-intro-copy .button-row { justify-content: center; }
    .ebook-publishing-hero .writing-hero-grid { grid-template-columns: 1fr; }
    .ebook-publishing-hero .writing-hero-art { min-height: 260px; }
    .ebook-publishing-hero .writing-hero-art img { max-height: 300px; }
}
@media (max-width: 520px) {
    .ebook-service-grid { grid-template-columns: 1fr; }
    .ebook-service-card,
    .ebook-service-card:nth-child(3n),
    .ebook-service-card:nth-child(2n),
    .ebook-service-card:nth-last-child(-n+3),
    .ebook-service-card:nth-last-child(-n+2) { border-right: 0; border-bottom: 1px solid #dce8ed; }
    .ebook-service-card:last-child {border-bottom: 0;text-align: center;align-items: center;display: flex !important;flex-direction: column;}
    .ebook-publishing-intro { padding: 44px 0 38px; }
    .ebook-publishing-pricing { padding: 28px 0 38px; }
}

/* Amazon KDP page — hero, service layout, and benefits panel. */
.amazon-kdp-page { overflow: hidden; color: #092a48; }
.amazon-kdp-page .amazon-kdp-hero {
    min-height: 520px;
    padding: 132px 0 34px;
    background: #062645 url('../../images/amazon-kdp/banner-bg.png') center/cover no-repeat;
}
.amazon-kdp-page .amazon-kdp-hero .writing-hero-art img { width: min(100%, 560px); max-height: 410px; object-fit: contain; }
.amazon-kdp-intro {padding: 50px 0 10px;background: #fff;}
.amazon-kdp-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    align-items: center;
    gap: clamp(28px, 5vw, 58px);
}
.amazon-kdp-intro-art { display: grid; min-height: 240px; place-items: center; }
.amazon-kdp-intro-art img {display: block;/* width: min(100%, 390px); *//* max-height: 280px; */object-fit: contain;}
.amazon-kdp-intro-copy h2,
.kdp-section-heading h2 {
    margin: 0 0 11px;
    color: #092a48;
    font: 600 clamp(27px, 3vw, 45px)/1.1 var(--gilroy);
}
.amazon-kdp-intro-copy > p { color: #526c80; font-size: 13px; line-height: 1.62; }
.amazon-kdp-intro-copy .button-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.amazon-kdp-page .eyebrow { color: #129ec4; }
.amazon-kdp-services {padding: 50px 0 50px;background: #fff;}
.kdp-section-heading { max-width: 780px; margin: 0 auto 20px; text-align: center; }
.kdp-section-heading .eyebrow { margin-bottom: 6px; }
.kdp-section-heading h2 { margin-bottom: 0; font-size: clamp(26px, 2.7vw, 33px); }
.kdp-service-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, .9fr) minmax(0, 1fr);
    align-items: center;
    gap: 14px 34px;
    max-width: 1120px;
    margin: 0 auto;
}
.kdp-service-column { display: contents; }
.kdp-service-column > .kdp-service-item:nth-child(1) { grid-column: 1; grid-row: 1; }
.kdp-service-column > .kdp-service-item:nth-child(2) { grid-column: 1; grid-row: 2; }
.kdp-service-column > .kdp-service-item:nth-child(3) { grid-column: 1; grid-row: 3; }
.kdp-service-column > .kdp-service-item:nth-child(4) { grid-column: 3; grid-row: 1; }
.kdp-service-column > .kdp-service-item:nth-child(5) { grid-column: 3; grid-row: 2; }
.kdp-service-column > .kdp-service-item:nth-child(6) { grid-column: 3; grid-row: 3; }
.kdp-service-item {
    display: flex;
    min-height: 62px;
    align-items: flex-start;
    gap: 8px;
    padding: 9px 10px;
    border-radius: 4px;
    color: #fff;
    background: #58c5e5;
    box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.15);
}
.kdp-service-item:nth-child(even) { background: #062b4c; }
.kdp-service-item > span {
    display: grid;
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
    place-items: center;
    border-radius: 3px;
    color: #fff;
    background: rgba(255,255,255,.2);
    font-size: 12px;
}
.kdp-service-item h3 {margin: 1px 0 4px;color: rgb(6 38 69);font-size: 18px;font-weight: bold;line-height: 1.25;font-family: var(--inter);}
.kdp-service-item p {margin: 0;color: rgb(6 38 69);font-size: 14px;line-height: 25px;}
.amazon-kdp-page .kdp-service-item:hover h3, .amazon-kdp-page .kdp-service-item:hover p{
    color: #fff;
}
span.inr-serv-hd-st {
    font-weight: bold;
}
.kdp-service-art { display: grid; grid-column: 2; grid-row: 1 / 4; min-height: 260px; place-items: center; }
.kdp-service-art img {/* width: min(100%, 300px); *//* max-height: 285px; */object-fit: contain;}
.amazon-kdp-benefits {padding: 20px 0 50px;background: #fff;}
.amazon-kdp-benefits .kdp-section-heading { margin-bottom: 18px; }
.kdp-benefit-arrows { display: none; }
.kdp-benefit-panel {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    align-items: center;
    gap: 14px;
    max-width: 1070px;
    min-height: 250px;
    margin: 0 auto;
    border-radius: 10px;
    padding: 50px 20px;
    background: #062b4c;
}
.kdp-benefit-art { display: grid; min-height: 205px; place-items: center; }
.kdp-benefit-art img {display: block;object-fit: contain;width: 90%;margin: 0 auto;display: table;}
.kdp-benefit-grid {display: grid;grid-template-columns: repeat(2, minmax(0, 1fr));gap: 20px;}
.kdp-benefit-card {
    position: relative;
    display: flex;
    align-items: center;
    border-radius: 5px;
    padding: 20px 12px 13px;
    background: #fff;
}
.kdp-benefit-card > span {
    position: absolute;
    top: -7px;
    right: 8px;
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 3px;
    color: #fff;
    background: #55c4e5;
    font-size: 9px;
}
.kdp-benefit-card p {margin: 0;color: #17354d;font-size: 14px;line-height: 25px;width: 90%;text-align: center;}
@media (max-width: 900px) {
    .kdp-service-layout { grid-template-columns: minmax(0, 1fr) minmax(190px, .7fr) minmax(0, 1fr); gap: 10px; }
    .kdp-service-art img { max-height: 240px; }
}
@media (max-width: 760px) {
    .amazon-kdp-page .amazon-kdp-hero { min-height: 0; padding: 118px 0 35px; }
    .amazon-kdp-page .amazon-kdp-hero .writing-hero-grid { grid-template-columns: 1fr; }
    .amazon-kdp-page .writing-hero-copy { text-align: center; margin: 0 auto; }
    .amazon-kdp-page .writing-hero-copy .button-row { justify-content: center; }
    .amazon-kdp-page .writing-hero-art { min-height: 250px; }
    .amazon-kdp-page .writing-hero-art img { max-height: 290px; }
    .amazon-kdp-intro-grid { grid-template-columns: 1fr; gap: 15px; }
    .amazon-kdp-intro-art { min-height: 200px; }
    .amazon-kdp-intro-art img { max-height: 230px; }
    .amazon-kdp-intro-copy { text-align: center; }
    .amazon-kdp-intro-copy .button-row { justify-content: center; }
    .kdp-service-layout {grid-template-columns: 1fr;grid-template-rows: auto auto auto;max-width: 560px;display: block;}
    .kdp-service-art { grid-row: 1; grid-column: 1; min-height: 210px; }
    .kdp-service-art img { max-height: 220px; }
    .kdp-service-column { display: block; grid-column: 1; grid-row: 2; width: 100%; }
    .kdp-service-dots { grid-column: 1; grid-row: 3; }
    .kdp-benefit-panel { grid-template-columns: 1fr; max-width: 620px; }
    .kdp-benefit-art {min-height: 190px;display: none;}
}
@media (max-width: 520px) {
    .amazon-kdp-intro { padding: 38px 0 32px; }
    .kdp-service-column,
    .kdp-benefit-grid { grid-template-columns: 1fr; }
    .kdp-benefit-panel {padding: 15px;display: block !important;}
    .kdp-service-art {min-height: 180px;display: none;}
}

/* Amazon KDP services hover preview — active service card and image swap. */
.amazon-kdp-page .kdp-service-item { cursor: pointer; transition: background-color .2s ease, transform .2s ease; }
.amazon-kdp-page .kdp-service-item:nth-child(even) { background: #58c5e5; }
.amazon-kdp-page .kdp-service-item:hover,
.amazon-kdp-page .kdp-service-item:focus-visible,
.amazon-kdp-page .kdp-service-item.is-active {
    background: #062b4c;
    transform: translateY(-2px);
}
.amazon-kdp-page .kdp-service-item:focus-visible { outline: 2px solid #062b4c; outline-offset: 3px; }
.amazon-kdp-page .kdp-service-item h3 b { margin-right: 2px; font-weight: 700; }
.amazon-kdp-page .kdp-service-art img { transition: opacity .22s ease; }
.amazon-kdp-page .kdp-service-art img.is-changing { opacity: .35; }

/* Mobile navigation dropdowns open and close from their native click state. */
@media (max-width: 820px) {
    .main-nav .nav-service-dropdown:hover:not([open]) > .nav-service-menu,
    .main-nav .nav-service-dropdown:focus-within:not([open]) > .nav-service-menu {
        display: none;
    }
    .main-nav .nav-service-dropdown[open] > .nav-service-menu {
        display: grid;
    }
}

/* Amazon optimization page — listing services, comparison, and results. */
.amazon-optimization-page { overflow: hidden; color: #092a48; }
.amazon-optimization-page .amazon-optimization-hero {
    min-height: 510px;
    padding: 128px 0 34px;
    background: #062645 url('../../images/amazon-optimization/banner-bg.png') center/cover no-repeat;
}
.amazon-optimization-page .amazon-optimization-hero .writing-hero-art img {
    width: min(100%, 535px);
    max-height: 380px;
    object-fit: contain;
}
.amazon-optimization-intro {padding: 50px 0;background: #fff;}
.amazon-optimization-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(28px, 4vw, 52px);
    max-width: 1000px;
}
.amazon-optimization-intro-art { display: grid; min-height: 235px; place-items: center; }
.amazon-optimization-intro-art img {width: 100%;object-fit: contain;}
.amazon-optimization-intro-copy h2,
.optimization-section-heading h2 {
    margin: 0 0 10px;
    color: #092a48;
    font: 700 clamp(26px, 2.8vw, 34px)/1.12 var(--gilroy);
}
.amazon-optimization-intro-copy > p { color: #526c80; font-size: 12px; line-height: 1.6; }
.amazon-optimization-intro-copy .button-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 14px; }
.amazon-optimization-page .eyebrow { color: #139fc5; }
.amazon-optimization-services { padding: 14px 0 38px; background: #fff; }
.optimization-service-pills {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    max-width: 1000px;
    margin: 0 auto 18px;
}
.optimization-service-pills span {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    border: 1px solid #d8e4ea;
    border-radius: 20px;
    padding: 6px 12px;
    color: #092a48;
    background: #fff;
    box-shadow: 0 3px 8px rgba(9,42,72,.08);
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}
.optimization-service-pills span:nth-child(3) { color: #fff; background: #092a48; }
.optimization-brand-panel {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 20px;
    /* max-width: 900px; */
    min-height: 225px;
    margin: 0 auto;
    border-radius: 10px;
    padding: 20px 26px;
    color: #fff;
    background: #062b4c;
}
.optimization-brand-art {display: grid;min-height: 180px;place-items: center;/* width: 40%; */}
.optimization-brand-art img { width: min(100%, 330px); max-height: 190px; border-radius: 6px; object-fit: cover; }
.optimization-brand-copy .eyebrow { color: #68cbe8; }
.optimization-brand-copy h2 { margin: 4px 0 8px; color: #fff; font: 700 clamp(22px, 2.4vw, 29px)/1.1 var(--gilroy); }
.optimization-brand-copy p { margin: 0 0 11px; color: #e1eef5; font-size: 11px; line-height: 1.55; }
.optimization-brand-copy .button { min-height: 31px; padding: 7px 13px; font-size: 10px; }
.amazon-optimization-difference { padding: 20px 0 44px; background: #fff; }
.amazon-optimization-page section.partners.section-space, .amazon-optimization-page section#genres {
    display: none;
}
.optimization-section-heading { max-width: 780px; margin: 0 auto 20px; text-align: center; }
.optimization-section-heading .eyebrow { margin-bottom: 6px; }
.optimization-section-heading h2 { margin-bottom: 0; font-size: clamp(24px, 2.5vw, 31px); }
.optimization-comparison {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 30px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    /* max-width: 1100px; */
    /* margin: 0 auto 18px; */
}
.optimization-comparison-card {
    min-height: 190px;
    border: 1px solid #b8d8e5;
    border-radius: 8px;
    padding: 30px 40px;
    background: #fff;
    height: 100%;
}
.optimization-results-panel div.section-heading.col-sm-12 {
    display: block;
    border-right: 0;
    width: 100%;
}

.optimization-results-panel {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: space-between;
}

.optimization-results-panel div.section-heading h2 {
    color: #fff;
    margin: 0;
}
.optimization-comparison-card--after { border-color: #c8d0d7; }
.optimization-comparison-card h3 { margin: 0 0 10px; color: #092a48; font-size: 12px; font-weight: 700; }
.optimization-comparison-card ul { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.optimization-comparison-card li { display: flex; gap: 7px; align-items: flex-start; color: #526c80; font-size: 9px; line-height: 1.42; }
.optimization-comparison-card li i { flex: 0 0 12px; margin-top: 1px; color: #f17a7a; font-size: 10px; }
.optimization-comparison-card--after li i {color: #062b4c;}
.optimization-comparison-arrow {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: #092a48;
    font-size: 11px;
}
.optimization-results-panel {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    /* max-width: 900px; */
    min-height: 110px;
    align-items: center;
    margin: 0 auto;
    border-radius: 9px;
    padding: 38px 25px;
    color: #fff;
    background: #062b4c;
    margin-top: 60px;
    display: flex;
}
.optimization-results-panel > div {/* display: grid; */gap: 5px;justify-items: center;border-right: 1px solid rgba(255,255,255,.16);text-align: center;display: flex;flex-direction: column;width: 25%;}
.optimization-results-panel > div:last-child { border-right: 0; }
.optimization-results-panel strong {
    color: #62c9e8;
    font: 700 38px / 1 var(--gilroy);
    display: flex;
    align-items: center;
    justify-content: center;
}
.optimization-results-panel span { color: #e4f3fa; font-size: 9px; line-height: 1.4; }
@media (max-width: 760px) {
    .amazon-optimization-page .amazon-optimization-hero { min-height: 0; padding: 115px 0 32px; }
    .amazon-optimization-page .amazon-optimization-hero .writing-hero-grid { grid-template-columns: 1fr; }
    .amazon-optimization-page .writing-hero-copy { margin: 0 auto; text-align: center; }
    .amazon-optimization-page .writing-hero-copy .button-row { justify-content: center; }
    .amazon-optimization-page .writing-hero-art { min-height: 250px; }
    .amazon-optimization-page .writing-hero-art img { max-height: 285px; }
    .amazon-optimization-intro-grid { grid-template-columns: 1fr; gap: 15px; }
    .amazon-optimization-intro-art { min-height: 190px; }
    .amazon-optimization-intro-art img { max-height: 220px; }
    .amazon-optimization-intro-copy { text-align: center; }
    .amazon-optimization-intro-copy .button-row { justify-content: center; }
    .optimization-brand-panel { grid-template-columns: 1fr; gap: 12px; }
    .optimization-brand-copy { text-align: center; }
    .optimization-comparison { grid-template-columns: 1fr; max-width: 550px; }
    .optimization-comparison-arrow { margin: 0 auto; transform: rotate(90deg); }
}
@media (max-width: 520px) {
    .optimization-service-pills { gap: 7px; }
    .optimization-service-pills span { min-height: 28px; padding: 5px 9px; font-size: 9px; }
    .optimization-brand-panel { padding: 16px; }
    .optimization-brand-art { min-height: 145px; }
    .optimization-results-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 0; }
    .optimization-results-panel > div:nth-child(2) { border-right: 0; }
    .optimization-results-panel > div:nth-child(3),
    .optimization-results-panel > div:nth-child(4) {padding-top: 10px;border-top: 1px solid rgba(255,255,255,.16);border: 0;}
    .optimization-results-panel > div:nth-child(4) { border-right: 0; }
}

/* Amazon optimization tabs and readable type scale. */
.amazon-optimization-page p,
.amazon-optimization-page li {
    font-size: 15px;
    line-height: 1.55;
}
.amazon-optimization-page .button { font-size: 15px; }
.amazon-optimization-page .amazon-optimization-hero .writing-hero-copy > p,
.amazon-optimization-page .amazon-optimization-intro-copy > p,
.amazon-optimization-page .optimization-brand-copy p,
.amazon-optimization-page .optimization-comparison-card li,
.amazon-optimization-page .optimization-results-panel span {
    font-size: 15px;
    line-height: 1.55;
}
.amazon-optimization-page .eyebrow { font-size: 15px; line-height: 1.4; }
.optimization-services-title {
    margin: 0 auto 24px;
    color: #092a48;
    text-align: center;
    font: 700 clamp(25px, 2.8vw, 34px)/1.15 var(--gilroy);
}
.optimization-tabs {/* max-width: 1040px; */margin: 0 auto;}
.optimization-service-pills { gap: 10px; margin-bottom: 20px; }
.optimization-service-tab {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid #b9d9e6;
    border-radius: 24px;
    padding: 8px 16px;
    color: #092a48;
    background: #fff;
    box-shadow: 0 3px 8px rgba(9,42,72,.08);
    font: 700 15px/1.3 var(--inter);
    text-align: center;
    cursor: pointer;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}
.optimization-service-tab:hover,
.optimization-service-tab.is-active,
.optimization-service-tab[aria-selected="true"] {
    border-color: #092a48;
    color: #fff;
    background: #092a48;
}
.optimization-panels {
    width: 100%;
}

.optimization-service-tab:focus-visible { outline: 3px solid #58c5e5; outline-offset: 3px; }
.optimization-tab-panel[hidden] { display: none !important; }
.optimization-brand-panel {min-height: 300px;}
.optimization-brand-copy h3 { margin: 4px 0 10px; color: #fff; font: 700 clamp(22px, 2.4vw, 29px)/1.15 var(--gilroy); }
.optimization-brand-copy p { margin-bottom: 16px; }
.optimization-brand-copy .button { min-height: 42px; padding: 9px 16px; font-size: 15px; }
.optimization-comparison-card h3 { font-size: 17px; }
.optimization-comparison-card li { gap: 10px; }
.optimization-comparison-card li i { flex-basis: 16px; margin-top: 4px; font-size: 15px; }
.optimization-results-panel {}
.optimization-results-panel span { padding: 0 6px; }
@media (max-width: 760px) {
    .optimization-service-pills {
        display: block;
        max-width: none;
        margin: 0 0 14px;
        padding: 4px 2px 8px;
    }
    .optimization-service-pills .slick-list { overflow: visible; }
    .optimization-service-pills .slick-slide { width: auto; margin-right: 9px; }
    .optimization-service-tab { min-height: 44px; max-width: 260px; white-space: normal; }
    .optimization-panels { min-width: 0; }
    .optimization-panels .slick-list { border-radius: 10px; }
    .optimization-brand-panel { min-height: 0; padding: 20px; }
    .optimization-brand-art { min-height: 180px; }
    .optimization-brand-art img { max-height: 220px; }
    .optimization-brand-copy { text-align: left; }
    .optimization-brand-copy .eyebrow { font-size: 15px; }
    .optimization-comparison-card { min-height: 0; }
}
@media (max-width: 520px) {
    .optimization-service-tab { max-width: 220px; padding: 9px 14px; font-size: 15px; }
    .optimization-brand-panel { padding: 18px; }
    .optimization-brand-art { min-height: 155px; }
    .optimization-comparison-card { padding: 16px; }
    .optimization-results-panel {min-height: 0;padding: 20px 12px;flex-wrap: wrap;}
    .optimization-results-panel > div {
    width: 50%;
}
}

/* Amazon optimization services section follows the supplied tab-and-panel reference. */
.optimization-tabs {}
.optimization-service-pills {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 12px;
    max-width: none;
    margin: 0 auto;
    border: 2px solid #fff;
    border-radius: 60px;
    padding: 12px 14px;
    background: #062b4c;
    box-shadow: none;
}
.optimization-service-tab {
    width: auto;
    min-height: 48px;
    border: 2px solid #d4d9df;
    border-radius: 30px;
    padding: 5px 15px;
    color: #092a48;
    background: #fff;
    box-shadow: none;
    font-size: 16px;
    line-height: 1.15;
    font-weight: 600;
}
.optimization-service-tab:hover,
.optimization-service-tab.is-active,
.optimization-service-tab[aria-selected="true"] {
    border-color: #6bc5e3;
    color: #fff;
    background: #58c5e5;
}
.optimization-service-tab:hover:not([aria-selected="true"]) { color: #092a48; background: #fff; }
.optimization-brand-panel {
    grid-template-columns: minmax(350px, 400px) minmax(0, 1fr);
    gap: 40px;
    min-height: 450px;
    margin: 0 auto;
    border-radius: 3px 3px 14px 14px;
    padding: 45px 65px;
    width: 98%;
}
.optimization-brand-art { min-height: 0; }
.optimization-brand-art img {width: 100%;/* height: 200px; */max-height: none;border-radius: 12px;object-fit: cover;}
.optimization-brand-copy h3 { margin: 6px 0 12px; font-size: clamp(25px, 2.5vw, 31px); line-height: 1.12; }
.optimization-brand-copy p { margin: 0; }
@media (max-width: 760px) {
    .optimization-tabs { max-width: 620px; }
    .optimization-service-pills {
        display: block;
        overflow: hidden;
        margin-bottom: 0;
        border-width: 7px;
        border-radius: 34px;
        padding: 3px;
    }
    .optimization-service-pills .slick-list { overflow: hidden; }
    .optimization-service-pills .slick-slide { width: auto; margin-right: 8px; }
    .optimization-service-tab { width: 150px; min-height: 48px; max-width: none; }
    .optimization-brand-panel {
        grid-template-columns: 1fr;
        gap: 18px;
        max-width: 620px;
        border-radius: 0 0 14px 14px;
        padding: 24px;
        min-height: 235px;
        text-align: center;
    }
    .optimization-brand-art img { width: min(100%, 360px); height: 220px; margin: 0 auto; }
    .optimization-brand-copy {text-align: center;}
}
@media (max-width: 520px) {
    .optimization-tabs { width: 100%; }
    .optimization-service-pills { border-width: 6px; }
    .optimization-service-tab { width: 145px; padding: 7px 10px; }
    .optimization-brand-panel {padding: 20px;text-align: center;}
    .optimization-brand-art img {height: 190px;display: none;}
}

/* Billboard marketing landing page, including the center-focused campaign slider. */
.billboard-marketing-page { overflow: hidden; color: #092a48; }
.billboard-marketing-page p,
.billboard-marketing-page li { font-size: 15px; line-height: 1.6; }
.billboard-marketing-page .testimonial-card blockquote,
.billboard-marketing-page .faq-body-panel,
.billboard-marketing-page .reviewer small,
.billboard-marketing-page .faq-header-btn { font-size: 15px; }
.billboard-marketing-page .button {font-size: 15px;}
.billboard-marketing-page .billboard-hero {
    min-height: 500px;
    padding: 140px 0 36px;
    background-color: #062645;
    background-image: url('../../images/billboard-marketing/banner-bg.png');
    background-position: center;
    background-size: cover;
}
  /* Outer Wrapper */
  .billboard-marketing-page .stack-slider-section {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  }

  /* 3D Stage / Viewport (NOT a continuous horizontal track) */
  .billboard-marketing-page .stack-stage {
  position: relative;
  width: 100%;
  height: 300px;
  perspective: 1200px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1.5rem 0;
  }

  @media (min-width: 576px) {
  .billboard-marketing-page .stack-stage {
  height: 380px;
  }
  }

  @media (min-width: 992px) {
  .billboard-marketing-page .stack-stage {
  height: 470px;
  }
  }

  @media (min-width: 1200px) {
  .billboard-marketing-page .stack-stage {
  height: 510px;
  }
  }

  /* Deck Card Item: all cards share absolute center anchor */
  .billboard-marketing-page .stack-card {
  position: absolute;
  width: 82%;
  max-width: 320px;
  height: 220px;
  border-radius: var(--card-radius);
  overflow: hidden;
  cursor: pointer;
  background-color: #091c2e;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  transform-origin: center center;
  will-change: transform, opacity, filter;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.35, 1),
  opacity 0.6s ease,
  filter 0.6s ease,
  box-shadow 0.6s ease,
  border-width 0.3s ease;
  top: 50%;
  left: 50%;
  border: 0px solid transparent;
  }

  @media (min-width: 576px) {
  .billboard-marketing-page .stack-card {
  max-width: 440px;
  height: 300px;
  }
  }

  @media (min-width: 992px) {
  .billboard-marketing-page .stack-card {
  max-width: 620px;
  height: 400px;
  }
  }

  @media (min-width: 1200px) {
  .billboard-marketing-page .stack-card {
  max-width: 710px;
  height: 450px;
  }
  }

  .billboard-marketing-page .stack-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  }

  /* Card Lighting Overlay for non-active cards */
  .billboard-marketing-page .stack-card .card-dimmer {
  position: absolute;
  inset: 0;
  background: rgba(8, 24, 40, 0.35);
  opacity: 1;
  transition: opacity 0.5s ease;
  pointer-events: none;
  }

  /* ========================================================
  Stack Depth Positions (Center, Left, Right, Hidden Stack)
  ======================================================== */

  /* ACTIVE CENTER CARD (Elevated, thick 5px solid white border, scale 1.05) */
  .billboard-marketing-page .stack-card[data-state="center"] {
  transform: translate(-50%, -50%) translate3d(0, 0, 100px) scale(1.05);
  z-index: 30;
  opacity: 1;
  filter: brightness(1);
  border: 5px solid #ffffff;
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.75), 0 8px 24px rgba(0, 0, 0, 0.4);
  cursor: default;
  }

  .billboard-marketing-page .stack-card[data-state="center"] .card-dimmer {
  opacity: 0;
  }

  /* LEFT CARD (Positioned left, partially overlapped behind center) */
  .billboard-marketing-page .stack-card[data-state="left"] {
  transform: translate(-50%, -50%) translate3d(-46%, 0, 0px) scale(0.86);
  z-index: 20;
  opacity: 0.95;
  filter: brightness(0.92);
  border: 0px solid transparent;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  }

  /* RIGHT CARD (Positioned right, partially overlapped behind center) */
  .billboard-marketing-page .stack-card[data-state="right"] {
  transform: translate(-50%, -50%) translate3d(46%, 0, 0px) scale(0.86);
  z-index: 20;
  opacity: 0.95;
  filter: brightness(0.92);
  border: 0px solid transparent;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  }

  /* Responsive shift on wide screens for optimal overlap */
  @media (min-width: 992px) {
  .billboard-marketing-page .stack-card[data-state="left"] {
  transform: translate(-50%, -50%) translate3d(-52%, 0, 0px) scale(0.86);
  }
  .billboard-marketing-page .stack-card[data-state="right"] {
  transform: translate(-50%, -50%) translate3d(52%, 0, 0px) scale(0.86);
  }
  }

  /* SIDE CARDS HOVER EFFECT */
  .billboard-marketing-page .stack-card[data-state="left"]:hover,
  .billboard-marketing-page .stack-card[data-state="right"]:hover {
  filter: brightness(1.04);
  opacity: 1;
  }

  /* HIDDEN / DEEP STACK CARDS (Seamlessly waiting in depth) */
  .billboard-marketing-page .stack-card[data-state="hidden-behind"] {
  transform: translate(-50%, -50%) translate3d(0, 0, -180px) scale(0.72);
  z-index: 5;
  opacity: 0;
  pointer-events: none;
  }

  /* BOTTOM NAVIGATION BUTTONS */
  .billboard-marketing-page .controls-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 0.5rem;
  z-index: 40;
  }

  .billboard-marketing-page .custom-nav-btn {
  width: 72px;
  height: 44px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.25rem;
  transition: all 0.22s ease-in-out;
  outline: none;
  }

  /* Left Arrow Button: Dark navy with white outline */
  .billboard-marketing-page .btn-arrow-prev {
  background-color: var(--btn-outline-bg);
  border: 1.5px solid var(--btn-outline-border);
  color: #ffffff;
  }

  .billboard-marketing-page .btn-arrow-prev:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: var(--btn-outline-hover-border);
  transform: translateX(-3px);
  }

  /* Right Arrow Button: Vibrant Solid Cyan (#4ebfe9) */
  .billboard-marketing-page .btn-arrow-next {
  background-color: var(--btn-cyan);
  border: none;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(78, 191, 233, 0.4);
  }

  .billboard-marketing-page .btn-arrow-next:hover {
  background-color: var(--btn-cyan-hover);
  transform: translateX(3px);
  box-shadow: 0 6px 20px rgba(78, 191, 233, 0.6);
  }

  .billboard-marketing-page .custom-nav-btn:active {
  transform: scale(0.94) !important;
  }
.billboard-marketing-page .writing-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(350px, .9fr); align-items: center; }
.billboard-marketing-page .writing-hero-copy > p { font-size: 15px; }
.billboard-marketing-page .billboard-hero-art { min-height: 330px; }
.billboard-marketing-page .billboard-hero-art img { max-height: 360px; }
.billboard-intro { padding: 44px 0 28px; background: #fff; }
.billboard-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 44px;
    max-width: 1040px;
}
.billboard-intro-art { display: grid; place-items: center; }
.billboard-intro-art img {display: block;width: 100%;/* max-height: 280px; */object-fit: contain;}
.billboard-intro-copy h2,
.billboard-section-heading h2 {
    margin: 0 0 12px;
    color: #092a48;
    font: 700 clamp(25px, 2.8vw, 48px)/1.12 var(--gilroy);
}
.billboard-intro-copy p { margin: 0 0 10px; color: #526c80; }
.billboard-services { padding: 18px 0 32px; background: #fff; }
.billboard-marketing-page .partners, .billboard-marketing-page section#genres {
    display: none;
}
.billboard-section-heading { margin: 0 auto 18px; text-align: center; }
.billboard-section-heading h2 { margin: 0; }
.billboard-service-panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
    align-items: center;
    gap: 42px;
    max-width: 1050px;
    min-height: 300px;
    margin: 0 auto;
    padding: 22px;
}
.billboard-service-panel::before {
    position: absolute;
    z-index: 0;
    inset: 8% 0;
    border-radius: 6px;
    background: #58c5e5;
    content: '';
    height: 350px;
    bottom: 0;
    top: auto;
}
.billboard-service-left,
.billboard-service-art,
.billboard-service-grid { position: relative; z-index: 1; }
.billboard-service-left {display: grid;grid-template-rows: auto minmax(0, 1fr);align-self: stretch;gap: 8px;background: #EFF9FC;border-radius: 12px;}
.billboard-service-art { display: grid; min-height: 225px; place-items: center; }
.billboard-service-art img {display: block;width: 100%;/* max-height: 205px; */object-fit: contain;position: relative;top: 8px;left: -10px;}
.billboard-service-grid {display: grid;grid-template-columns: repeat(2, minmax(0, 1fr));gap: 12px;}
.billboard-service-card {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    min-height: 128px;
    border-radius: 6px;
    padding: 14px;
    border: 1px solid #d7e7ee;
    color: #092a48;
    background: #f1faff;
    box-shadow: 0 6px 15px rgba(8, 41, 69, .15);
    cursor: pointer;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.billboard-service-card > img { width: 34px; height: 34px; object-fit: contain; }
.billboard-service-card h3 {margin: 0 0 6px;color: #092a48;font: 700 20px/1.25 var(--inter);transition: color .2s ease;}
.billboard-service-card p {margin: 0;color: #526c80;font-size: 14px;line-height: 1.45;transition: color .2s ease;}
.billboard-service-card:hover,
.billboard-service-card:focus-visible,
.billboard-service-card.is-active {border-color: #062b4c;color: #fff;background: #062b4c;transform: translateY(-2px);}
.billboard-service-card:hover h3,
.billboard-service-card:focus-visible h3,
.billboard-service-card.is-active h3 {color: #fff;}
.billboard-service-card:hover p,
.billboard-service-card:focus-visible p,
.billboard-service-card.is-active p {color: #e4f3fa;}
.billboard-service-left article.billboard-service-card {
    /* background: #EFF9FC; */
    border: 0;
    box-shadow: none;
}

.billboard-service-card:focus-visible { outline: 3px solid #58c5e5; outline-offset: 3px; }
.billboard-chapter-cta { padding-block: 36px 42px; }
.billboard-chapter-cta .chapter-inner { max-width: 720px; }
.billboard-chapter-cta .chapter-inner > p { font-size: 15px; }
.billboard-portfolio { overflow: hidden; padding: 54px 0 70px; background: #062b4c; }
.billboard-portfolio .portfolio-inner { position: relative; z-index: 1; max-width: 1100px; }
.billboard-portfolio .section-heading { max-width: 750px; margin: 0 auto 26px; }
.billboard-portfolio .section-heading p { color: #c8dce8; font-size: 15px; }
.billboard-portfolio-slider { width: 100%; margin: 0 auto; }
.billboard-portfolio-slider .slick-list { overflow: visible; }
.billboard-portfolio-slider .slick-slide { padding: 10px 12px; opacity: .78; transition: opacity .3s ease; }
.billboard-portfolio-slide { display: grid; min-height: 250px; place-items: center; }
.billboard-portfolio-slide a { display: grid; width: 100%; place-items: center; }
.billboard-portfolio-slide img {
    display: block;
    width: 100%;
    max-height: 270px;
    border: 3px solid rgba(255,255,255,.9);
    border-radius: 7px;
    object-fit: contain;
    box-shadow: 0 10px 24px rgba(0,0,0,.24);
    transition: transform .35s ease;
}
.billboard-portfolio-slider .slick-center { opacity: 1; }
.billboard-portfolio-slider .slick-center img { transform: scale(1.1); }
.billboard-portfolio-controls { display: flex; justify-content: center; gap: 8px; margin: 18px 0 0; }
.billboard-portfolio-controls .slider-arrow { position: static; display: grid; width: 42px; height: 32px; place-items: center; border: 1px solid rgba(255,255,255,.55); border-radius: 5px; color: #fff; background: transparent; font-size: 20px; }
.billboard-portfolio-controls .slider-arrow:hover { color: #092a48; background: #58c5e5; }
.billboard-portfolio-dots { display: none; }
.billboard-portfolio-slider.fallback-carousel { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.billboard-portfolio-slider.fallback-carousel::-webkit-scrollbar { display: none; }
.billboard-portfolio-slider.fallback-carousel > .billboard-portfolio-slide { flex: 0 0 50%; scroll-snap-align: center; }
@media (max-width: 1000px) {
    .billboard-service-panel { gap: 12px; padding: 18px 12px; }
    .billboard-service-card { grid-template-columns: 30px minmax(0, 1fr); gap: 8px; padding: 12px; }
    .billboard-service-card > img { width: 28px; height: 28px; }
}
@media (max-width: 760px) {
    .billboard-marketing-page .billboard-hero { min-height: 0; padding: 118px 0 34px; }
    .billboard-marketing-page .writing-hero-grid { grid-template-columns: 1fr; gap: 12px; }
    .billboard-marketing-page .writing-hero-copy { margin: 0 auto; text-align: center; }
    .billboard-marketing-page .writing-hero-copy .button-row { justify-content: center; }
    .billboard-marketing-page .billboard-hero-art { min-height: 220px; }
    .billboard-marketing-page .billboard-hero-art img { max-height: 250px; }
    .billboard-intro { padding: 34px 0 24px; }
    .billboard-intro-grid { grid-template-columns: 1fr; gap: 20px; }
    .billboard-intro-art img { max-height: 240px; }
    .billboard-intro-copy { text-align: center; }
    .billboard-service-panel { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); max-width: 680px; padding: 20px 12px; }
    .billboard-service-panel::before { inset: 4% 0; }
    .billboard-service-left { gap: 8px; }
    .billboard-service-art { min-height: 150px; }
    .billboard-service-art img { max-height: 180px; }
    .billboard-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .billboard-service-card { min-height: 145px; }
    .billboard-portfolio { padding: 42px 0 58px; }
    .billboard-portfolio-slider .slick-list { overflow: visible; }
    .billboard-portfolio-slider .slick-slide { padding: 10px 8px; }
    .billboard-portfolio-slide { min-height: 210px; }
    .billboard-portfolio-slide img { max-height: 220px; }
    .billboard-portfolio-slider .slick-center img { transform: scale(1.06); }
    .billboard-portfolio-controls { margin-top: 14px; }
}
@media (max-width: 520px) {
    .billboard-service-panel { grid-template-columns: 1fr; }
    .billboard-service-left { grid-template-rows: auto auto; }
    .billboard-service-art { min-height: 165px; }
    .billboard-service-art img { max-height: 190px; }
    .billboard-service-grid { grid-template-columns: 1fr; }
    .billboard-service-card { min-height: 0; }
    .billboard-portfolio-slider.fallback-carousel > .billboard-portfolio-slide { flex-basis: 82%; }
}

/* Press release distribution landing page, aligned with the supplied page reference. */
.press-release-site p,
.press-release-site li,
.press-release-site small,
.press-release-site label,
.press-release-site input,
.press-release-site textarea,
.press-release-site select,
.press-release-site .footer-group a,
.press-release-site .footer-contact a,
.press-release-site .footer-banner p { font-size: 15px; }
.press-release-page { overflow: hidden; color: #092a48; }
.press-release-page p,
.press-release-page li,
.press-release-page small,
.press-release-page label,
.press-release-page input,
.press-release-page textarea,
.press-release-page select,
.press-release-page .eyebrow,
.press-release-page .button,
.press-release-page .faq-header-btn,
.press-release-page .faq-body-panel,
.press-release-page .faq-question-text,
.press-release-page .testimonial-card blockquote,
.press-release-page .reviewer small { font-size: 15px; }
.press-release-page .writing-hero-copy > p { font-size: 15px; }
.press-release-hero {
    min-height: 500px;
    padding: 140px 0 36px;
    background-color: #062645;
    background-image: url('../../images/press-release/banner-bg.png');
    background-position: center;
    background-size: cover;
}
.press-release-page .writing-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(350px, .9fr); align-items: center; }
.press-release-page .press-release-hero-art { min-height: 330px; }
.press-release-page .press-release-hero-art img { max-height: 360px; }
.press-release-intro { padding: 44px 0 26px; background: #fff; }
.press-release-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    align-items: center;
    gap: 48px;
    max-width: 1020px;
}
.press-release-intro-art { display: grid; place-items: center; }
.press-release-intro-art img { display: block; width: min(100%, 430px); max-height: 310px; object-fit: contain; }
.press-release-intro-copy h2 {
    margin: 0 0 12px;
    color: #092a48;
    font: 700 clamp(26px, 2.8vw, 34px)/1.12 var(--gilroy);
}
.press-release-intro-copy p { margin: 0 0 10px; color: #526c80; line-height: 1.6; }
.press-release-services { padding: 20px 0 30px; }
.press-release-services .section-heading {margin-bottom: 64px;}
.press-release-services .section-heading h2,
.press-outlets .section-heading h2,
.press-author-feedback .section-heading h2 {
    margin: 0;
    color: #092a48;
    /* font: 700 clamp(25px, 2.7vw, 32px)/1.15 var(--gilroy); */
}
.press-service-panel { max-width: 1070px; margin: 0 auto; }
.press-service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.press-service-card {
    min-height: 174px;
    border: 1px solid #d7e7ee;
    border-radius: 8px;
    padding: 18px 16px;
    color: #092a48;
    background: #f0faff;
    box-shadow: 0 5px 14px rgba(9,42,72,.08);
}
.press-release-page .partners, .press-release-page section#genres {
    display: none;
}
.press-service-icon {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    border-radius: 7px;
    color: #fff;
    background: #58c5e5;
    font-size: 17px;
}
.press-service-icon img {width: 30px;height: 30px;object-fit: contain;/* filter: brightness(0) invert(1); */}
.press-service-card .press-service-icon { margin-bottom: 10px; }
.press-service-card h3,
.press-service-feature h3 { margin: 0 0 7px; color: #092a48; font: 700 17px/1.25 var(--inter); }
.press-service-card p,
.press-service-feature p {margin: 0;color: #062645;line-height: 1.5;}
.press-service-feature-row {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 14px;
    border-radius: 8px;
    padding: 14px;
    background: url('../../images/press-release/serv-big-bg.png') center/100% 100% no-repeat;
}
.press-service-feature { display: flex; min-height: 105px; align-items: flex-start; gap: 12px; border-radius: 7px; padding: 18px; }
.press-service-feature--cyan { color: #092a48; background: transparent; }
.press-service-feature--navy { color: #fff; background: #062b4c; }
.press-service-feature--navy h3 { color: #fff; }
.press-service-feature--navy p { color: #e5f1f7; }
.press-service-feature--navy .press-service-icon {color: #062b4c;background: #5BC2E6;}
.press-service-feature--navy .press-service-icon img {filter: invert(1) brightness(0);}
.press-chapter-cta { padding-block: 35px 42px; }
.press-chapter-cta .chapter-inner { max-width: 750px; }
.press-news-section {position: relative;overflow: hidden;color: #fff;background: #062b4c;}
.press-news-section .container { position: relative; z-index: 1; max-width: 1050px; }
.press-news-section .section-heading { margin: 0 auto 24px; }
.press-news-section .section-heading h2 {/* color: #fff; *//* font: 600 clamp(26px, 3vw, 35px)/1.15 var(--gilroy); */}
.press-news-section .section-heading p { max-width: 650px; margin: 10px auto 0; color: #d4e6ef; }
.press-news-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(230px, .85fr); align-items: center; gap: 28px; max-width: 760px; min-height: 270px; margin: 0 auto; border-radius: 9px; padding: 26px; color: #092a48; background: #58c5e5; box-shadow: 0 15px 34px rgba(0,0,0,.16); }
.press-news-copy { padding: 8px 5px; }
.press-news-brand { display: inline-flex; align-items: center; justify-content: center; min-width: 56px; min-height: 34px; border-radius: 5px; padding: 4px 8px; color: #fff; background: #e5252a; font: 800 18px/1 var(--inter); letter-spacing: -.06em; }
.press-news-copy h3 { margin: 12px 0 8px; color: #092a48; font: 700 22px/1.2 var(--gilroy); }
.press-news-copy p { margin: 0; color: #153e5d; line-height: 1.55; }
.press-news-feature > img { display: block; width: 100%; max-height: 230px; border-radius: 7px; object-fit: contain; }
.press-news-wordmark { position: absolute; right: 0; bottom: -22px; left: 0; color: transparent; font: 700 clamp(40px, 9vw, 110px)/1 var(--gilroy); letter-spacing: .03em; text-align: center; white-space: nowrap; -webkit-text-stroke: 1px rgba(255,255,255,.18); }
.press-outlets { padding-block: 46px 0px; background: #fff; }
.press-outlets .section-heading { margin-bottom: 24px; }
.press-outlets .section-heading p,
.press-author-feedback .section-heading p { margin: 10px auto 0; color: #526c80; }
.press-outlet-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; max-width: 1000px; margin: 0 auto; }
.press-outlet-logo { display: flex; min-height: 72px; align-items: center; justify-content: center; gap: 7px; border: 1px solid #e4edf2; border-radius: 8px; color: #092a48; background: #fff; box-shadow: 0 5px 14px rgba(9,42,72,.06); font-size: 17px; font-weight: 800; letter-spacing: -.03em; }
.press-outlet-logo--cnn { color: #e5252a; font: 900 27px/1 Arial,sans-serif; letter-spacing: -.1em; }
.press-outlet-logo--forbes { font: 700 22px/1 Georgia,serif; }
.press-outlet-logo--daily { font-size: 15px; }
.press-outlet-logo--fox { font-size: 16px; }
.outlet-dot { width: 17px; height: 17px; border-radius: 50%; background: #1987cf; }
.outlet-peacock { color: #efb421; font-size: 23px; }
.press-author-feedback { padding-block: 44px 50px; background: #eefaff; display: none;}
.press-author-feedback .section-heading { margin-bottom: 24px; }
.press-author-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; max-width: 880px; margin: 0 auto; }
.press-author-grid article { overflow: hidden; border: 7px solid #58c5e5; border-radius: 10px; padding: 0 0 12px; color: #fff; background: #062b4c; text-align: center; box-shadow: 0 7px 18px rgba(9,42,72,.12); }
.press-author-grid img { display: block; width: 100%; height: 178px; object-fit: cover; }
.press-author-grid strong { display: block; padding: 10px 5px 0; font-size: 15px; }
.press-release-page .final-cta {/* padding-bottom: 230px; */}
@media (max-width: 900px) {
    .press-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .press-outlet-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .press-author-grid { max-width: 700px; }
}
@media (max-width: 760px) {
    .press-release-hero { min-height: 0; padding: 118px 0 34px; }
    .press-release-page .writing-hero-grid { grid-template-columns: 1fr; gap: 12px; }
    .press-release-page .writing-hero-copy { margin: 0 auto; text-align: center; }
    .press-release-page .writing-hero-copy .button-row { justify-content: center; }
    .press-release-page .press-release-hero-art { min-height: 220px; }
    .press-release-page .press-release-hero-art img { max-height: 250px; }
    .press-release-intro { padding: 34px 0 24px; }
    .press-release-intro-grid { grid-template-columns: 1fr; gap: 18px; }
    .press-release-intro-art img { max-height: 250px; }
    .press-release-intro-copy { text-align: center; }
    .press-news-feature { grid-template-columns: 1fr; gap: 14px; text-align: center; }
    .press-news-brand { margin: 0 auto; }
    .press-news-feature > img { max-height: 235px; }
    .press-author-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .press-author-grid img { height: 200px; }
}
@media (max-width: 520px) {
    .press-release-services { padding-top: 16px; }
    .press-service-grid,
    .press-service-feature-row { grid-template-columns: 1fr; }
    .press-service-card { min-height: 0; padding: 17px; }
    .press-service-feature { min-height: 0; }
    .press-outlet-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .press-outlet-logo { min-height: 64px; }
    .press-author-grid { gap: 10px; }
    .press-author-grid article { border-width: 5px; }
    .press-author-grid img { height: 150px; }
    .press-release-page .final-cta { padding-bottom: 175px; }
}

/* Press-release service and media-outlet sections follow the supplied close-up references. */
.press-service-panel { max-width: 1070px; }
.press-service-card {
    position: relative;
    min-height: 174px;
    padding: 28px 16px 28px;
    background: #fff;
}
.press-service-card .press-service-icon {
    position: absolute;
    top: -17px;
    left: 14px;
    width: 38px;
    height: 38px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #062b4c;
}
.press-service-card .press-service-icon img { filter: none; }
.press-service-card h3 { margin-top: 0; font-size: 16px; }
.press-service-feature-row {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 14px;
    margin-top: 35px;
    padding: 0;
    background: none;
}
.press-service-feature {height: auto;align-items: flex-start;padding: 18px;flex-direction: column;justify-content: center;padding: 20px 40px;}
.press-service-feature--cyan {
    background: url('../../images/press-release/serv-big-bg.png') center/cover no-repeat;
}
.press-service-feature--cyan .press-service-icon { border-radius: 50%; background: #062b4c; }
.press-service-feature--navy .press-service-icon { border-radius: 50%; }
.press-service-feature--navy .press-service-icon img {/* filter: none; */}
.press-outlets .section-heading { margin-bottom: 30px; }
.press-outlets .section-heading p { max-width: 760px; }
.press-outlet-grid {grid-template-columns: repeat(3, minmax(0, 1fr));gap: 12px;max-width: 1100px;}
.press-outlet-card {
    display: flex;
    min-height: 145px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border: 1px solid #e7edf1;
    border-radius: 8px;
    padding: 12px 14px;
    background: #fff;
    box-shadow: 0 3px 10px rgba(9,42,72,.045);
    text-align: center;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.press-outlet-card:hover,
.press-outlet-card:focus-within,
.press-outlet-card.is-featured {/* border-color: #16a9ff; *//* box-shadow: 0 0 0 1px #16a9ff; */}
.press-outlet-card:hover { transform: translateY(-2px); }
.press-outlet-card .press-outlet-logo {
    display: flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
}
.press-outlet-card p { max-width: 220px; margin: 6px 0 3px; color: #183d59; font-size: 15px; line-height: 1.25; }
.press-outlet-card > a { color: #19a9dc; font-size: 15px; font-weight: 700; text-decoration: none; }
.press-outlet-card > a span { margin-left: 3px; }
.press-outlet-logo--fox { position: relative; width: 34px; height: 38px; flex-direction: column; gap: 0 !important; overflow: hidden; border-radius: 2px; color: #fff; background: #123e78 !important; font: 800 13px/1 Arial,sans-serif; }
.press-outlet-logo--fox strong { padding-top: 4px; }
.press-outlet-logo--fox small { display: block; width: 100%; margin-top: 2px; color: #fff; background: #c53138; font: 700 8px/1.4 Arial,sans-serif; }
.press-outlet-logo--usa { color: #333; font: 800 13px/.9 Arial,sans-serif; text-align: left; }
.press-outlet-logo--usa .outlet-dot { width: 22px; height: 22px; }
.press-outlet-logo--cnn { color: #ec1b2f; font: 900 31px/1 Arial,sans-serif; letter-spacing: -.12em; }
.press-outlet-logo--nbc { flex-direction: column; gap: 0 !important; color: #111; font: 800 10px/1 Arial,sans-serif; }
.outlet-peacock { display: flex; width: 33px; height: 22px; align-items: end; justify-content: center; position: relative; }
.outlet-peacock i { display: block; width: 9px; height: 13px; margin: 0 -1px; border-radius: 9px 9px 2px 2px; background: #f0b323; transform-origin: bottom center; }
.outlet-peacock i:nth-child(1) { background: #7352a1; transform: rotate(-48deg) translateY(2px); }
.outlet-peacock i:nth-child(2) { background: #2386c8; transform: rotate(-30deg); }
.outlet-peacock i:nth-child(3) { background: #35a765; transform: rotate(-12deg); }
.outlet-peacock i:nth-child(4) { background: #f4d235; transform: rotate(12deg); }
.outlet-peacock i:nth-child(5) { background: #ed8e2f; transform: rotate(30deg); }
.outlet-peacock i:nth-child(6) { background: #da4a4c; transform: rotate(48deg) translateY(2px); }
.press-outlet-logo--forbes { color: #315985; font: 700 23px/1 Georgia,serif; }
.press-outlet-logo--daily { color: #242424; font: 700 15px/1 Georgia,serif; letter-spacing: -.04em; }
.press-outlet-logo--daily span { margin: 0 2px; color: #cf3e4e; }
.press-outlet-dots:empty { display: none; }
@media (max-width: 760px) {
    .press-outlet-grid.slick-initialized { display: block; max-width: 390px; }
    .press-outlet-grid.slick-initialized .slick-list { margin-inline: -8px; }
    .press-outlet-grid.slick-initialized .slick-slide { padding: 4px 8px; }
    .press-outlet-grid.slick-initialized .press-outlet-card {min-height: 158px;text-align: center;width: 100%;display: flex !important;}
    .press-outlet-dots { min-height: 26px; margin-top: 8px; }
    .press-outlet-dots .slick-dots { position: static; display: flex; justify-content: center; gap: 4px; margin: 0; padding: 0; }
    .press-outlet-dots .slick-dots li { width: 18px; height: 18px; margin: 0; }
    .press-outlet-dots .slick-dots li button { width: 18px; height: 18px; padding: 0; }
    .press-outlet-dots .slick-dots li button:before { width: 18px; height: 18px; color: #8ca5b8; font-size: 9px; opacity: 1; }
    .press-outlet-dots .slick-dots li.slick-active button:before { color: #58c5e5; opacity: 1; }
}
@media (max-width: 520px) {
    .press-service-feature-row { grid-template-columns: 1fr; }
    .press-service-feature { min-height: 112px; }
    .press-outlet-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .press-outlet-card { min-height: 150px; padding-inline: 9px; }
}

/* Press release services: keep the six-card desktop composition and use one-card mobile slides. */
.press-service-carousel {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 14px;
}
.press-service-carousel > .press-service-card { grid-column: span 3; }
.press-service-carousel > .press-service-feature--cyan { grid-column: span 8; }
.press-service-carousel > .press-service-feature--navy { grid-column: span 4; }
.press-service-dots:empty { display: none; }
@media (max-width: 900px) and (min-width: 761px) {
    .press-service-carousel { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .press-service-carousel > .press-service-feature--cyan { grid-column: span 4; }
    .press-service-carousel > .press-service-feature--navy { grid-column: span 2; }
}
@media (max-width: 760px) {
    .press-service-carousel.slick-initialized {
        display: block;
        max-width: 440px;
        margin: 0 auto;
    }
    .press-service-carousel.slick-initialized .slick-list { margin-inline: -8px; }
    .press-service-carousel.slick-initialized .slick-slide { padding: 20px 8px 8px; }
    .press-service-carousel.slick-initialized .press-service-card,
    .press-service-carousel.slick-initialized .press-service-feature {
        min-height: 174px;
        height: auto;
        text-align: center;
    }
    .press-service-card .press-service-icon {
    left: 0;
    right: 0;
    margin: auto;
}
    .press-service-carousel.slick-initialized .press-service-feature { padding: 20px; }
    .press-service-dots { min-height: 26px; margin-top: 8px; }
    .press-service-dots .slick-dots { position: static; display: flex; justify-content: center; gap: 4px; margin: 0; padding: 0; }
    .press-service-dots .slick-dots li { width: 18px; height: 18px; margin: 0; }
    .press-service-dots .slick-dots li button { width: 18px; height: 18px; padding: 0; }
    .press-service-dots .slick-dots li button:before { width: 18px; height: 18px; color: #8ca5b8; font-size: 9px; opacity: 1; }
    .press-service-dots .slick-dots li.slick-active button:before { color: #58c5e5; opacity: 1; }
}

/* Navigation category names link to their landing pages; the chevron controls the dropdown. */
.main-nav .nav-service-dropdown {
    display: flex;
    align-items: center;
    gap: 6px;
}
.main-nav .nav-service-dropdown > summary {
    padding: 0;
}
.main-nav .nav-service-dropdown > summary > .nav-service-title {
    display: inline-flex;
    align-items: center;
    color: inherit;
    font-size: 15px;
    font-weight: 600;
    transition: color .2s ease;
}
.main-nav .nav-service-dropdown > summary > .nav-service-title:hover,
.main-nav .nav-service-dropdown > summary > .nav-service-title:focus-visible,
.main-nav .nav-service-dropdown > summary > .nav-service-title:focus-within,
.main-nav .nav-service-dropdown > summary > .nav-service-title:focus {
    color: var(--navy) !important;
}
.main-nav .nav-service-dropdown > summary > .nav-service-title:hover, .main-nav .nav-service-dropdown > summary > .nav-service-title:focus-visible {
    color: var(--navy) !important;
}
@media (max-width: 820px) {
    .main-nav .nav-service-dropdown {
        display: block;
        width: 100%;
        gap: 0;
    }
    .main-nav .nav-service-dropdown > summary {
        justify-content: space-between;
        flex: none;
        width: 100%;
        min-height: 42px;
        padding: 11px 14px;
        border-radius: 8px;
        color: #062645;
        font-size: 15px;
        box-sizing: border-box;
    }
    .main-nav .nav-service-dropdown > summary > .nav-service-title:hover,
    .main-nav .nav-service-dropdown > summary > .nav-service-title:focus-visible {
        color: #062645;
    }
    .main-nav .nav-service-dropdown > summary:hover,
    .main-nav .nav-service-dropdown[open] > summary { background: #effaff; }
    .main-nav .nav-service-dropdown > .nav-service-menu {
        width: auto;
        min-width: 0;
        margin-left: 12px;
    }
}

/* Book formatting save section: match the compact heading and balanced two-column reference. */
.book-formatting-save .book-formatting-section-heading {
    max-width: 900px;
    margin-bottom: 24px;
}
.book-formatting-save .book-formatting-section-heading h2 {
    max-width: 850px;
    font-size: 32px !important;
    line-height: 1.08;
}
.book-formatting-save .formatting-save-grid {
}
.book-formatting-save .formatting-save-art {/* height: 324px; */display: flex;align-items: center;justify-content: space-between;text-align: center;}
.book-formatting-save .formatting-save-device {
    width: 45%;
}
.book-formatting-save .formatting-save-books {
    /* left: 170px; */
    width: 70%;
    margin: 0 auto;
    display: table;
    position: relative;
    /* top: -30px; */
}
.book-formatting-save .formatting-save-panel {
    /* min-height: 324px; */
    padding: 10px 20px 16px;
    width: 40%;
}
@media (max-width: 900px) and (min-width: 701px) {
    .book-formatting-save .formatting-save-grid {
        width: min(100%, 810px);
        grid-template-columns: minmax(0, 1fr) 270px;
    }
}
@media (max-width: 700px) {
    .book-formatting-save .book-formatting-section-heading h2 {
        font-size: 30px !important;
    }
    .book-formatting-save .formatting-save-art { height: 300px; }
    .book-formatting-save .formatting-save-device { width: 205px; max-height: 300px; }
    .book-formatting-save .formatting-save-books { left: 145px; width: 245px; }
}

/* Ghostwriting benefit and service cards become one-slide mobile carousels with dots. */
.ghost-benefits-dots:empty,
.ghost-service-dots:empty { display: none; }
@media (max-width: 760px) {
    .ghost-benefits.slick-initialized,
    .ghost-service-grid.slick-initialized {
        display: block;
        width: min(100%, 460px);
        margin-inline: auto;
    }
    .ghost-benefits.slick-initialized .slick-list,
    .ghost-service-grid.slick-initialized .slick-list { margin-inline: -7px; }
    .ghost-benefits.slick-initialized .slick-slide,
    .ghost-service-grid.slick-initialized .slick-slide { padding: 8px 7px 12px; }
    .ghost-benefits.slick-initialized .slick-slide > article,
    .ghost-service-grid.slick-initialized .slick-slide > article { width: 100%; }
    .ghost-benefits-dots,
    .ghost-service-dots { min-height: 26px; margin: 6px auto 0; }
    .ghost-benefits-dots .slick-dots,
    .ghost-service-dots .slick-dots {
        position: static;
        display: flex;
        justify-content: center;
        gap: 2px;
        margin: 0;
        padding: 0;
    }
    .ghost-benefits-dots .slick-dots li,
    .ghost-service-dots .slick-dots li { width: 14px; height: 14px; margin: 0; }
    .ghost-benefits-dots .slick-dots li button,
    .ghost-service-dots .slick-dots li button { width: 14px; height: 14px; padding: 0; }
    .ghost-benefits-dots .slick-dots li button:before,
    .ghost-service-dots .slick-dots li button:before {
        width: 14px;
        height: 14px;
        color: #77818d;
        font-size: 8px;
        line-height: 14px;
        opacity: 1;
    }
    .ghost-benefits-dots .slick-dots li.slick-active button:before,
    .ghost-service-dots .slick-dots li.slick-active button:before { color: #062b4c; }
}

/* Developmental evaluation tabs: mobile slider layout with chevron navigation. */
.evaluation-tabs-arrows { display: none; }
@media (max-width: 760px) {
    .evaluation-layout:before {
    display: none;
}
    
    .developmental-evaluation .evaluation-layout {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
        padding: 14px;
    }
    .developmental-evaluation .evaluation-tabs {
        display: block;
        width: 100%;
        padding: 0;
    }
    .evaluation-tabs.slick-initialized .slick-list { margin-inline: -7px; }
    .evaluation-tabs.slick-initialized .slick-slide { padding: 5px 7px 10px; }
    .developmental-evaluation .evaluation-tab {
        width: 100%;
        min-height: 76px;
        padding: 16px;
        border-radius: 9px;
        font-size: 16px;
        text-align: center;
    }
    .evaluation-tabs-arrows {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 12px;
        margin: 2px auto 4px;
    }
    .evaluation-tabs-arrows .evaluation-prev,
    .evaluation-tabs-arrows .evaluation-next {
        display: grid;
        width: 34px;
        height: 34px;
        place-items: center;
        border: 0;
        border-radius: 50%;
        color: #fff;
        background: #062b4c;
        font-size: 14px;
        cursor: pointer;
    }
    .evaluation-tabs-arrows .slick-disabled { opacity: .45; cursor: default; }
    .developmental-evaluation .evaluation-copy {
        width: 100%;
        min-height: 0;
        padding: 8px 2px 2px;
        text-align: left;
    }
    .developmental-evaluation .evaluation-copy p {font-size: 15px !important;text-align: center;}
    .developmental-evaluation .evaluation-art { display: none !important; }
}

/* Children's purpose checklist becomes a one-item mobile slider with dot navigation. */
.children-purpose-dots:empty { display: none; }
@media (max-width: 760px) {
    .children-book-page .children-purpose-panel { width: 100%; }
    .children-book-page .children-purpose-panel .children-purpose-list.slick-initialized {
        display: block;
        width: 100%;
    }
    .children-book-page .children-purpose-list.slick-initialized .slick-list { margin-inline: -8px; }
    .children-book-page .children-purpose-list.slick-initialized .slick-slide { padding: 6px 8px 10px; }
    .children-book-page .children-purpose-panel .children-purpose-list.slick-initialized .slick-slide > li {
        width: 100%;
        min-height: 82px;
    }
    .children-purpose-dots { min-height: 22px; margin: 3px auto 0; }
    .children-purpose-dots .slick-dots {
        position: static;
        display: flex;
        justify-content: center;
        gap: 2px;
        margin: 0;
        padding: 0;
    }
    .children-purpose-dots .slick-dots li,
    .children-purpose-dots .slick-dots li button { width: 14px; height: 14px; margin: 0; padding: 0; }
    .children-purpose-dots .slick-dots li button:before {
        width: 14px;
        height: 14px;
        color: #77818d;
        font-size: 8px;
        line-height: 14px;
        opacity: 1;
    }
    .children-purpose-dots .slick-dots li.slick-active button:before { color: #062b4c; }
}

/* Book cover gallery uses dots; service tabs use chevron arrows on small screens. */
.cover-design-gallery-dots:empty,
.cover-design-tabs-dots:empty { display: none; }
.cover-design-gallery-dots { min-height:22px; margin:3px auto 4px; }
.cover-design-gallery-dots .slick-dots { position:static; display:flex; justify-content:center; gap:2px; margin:0; padding:0; }
.cover-design-gallery-dots .slick-dots li,
.cover-design-gallery-dots .slick-dots li button { width:14px; height:14px; margin:0; padding:0; }
.cover-design-gallery-dots .slick-dots li button:before { width:14px; height:14px; color:#77818d; font-size:8px; line-height:14px; opacity:1; }
.cover-design-gallery-dots .slick-dots li.slick-active button:before { color:#062b4c; }
.cover-design-tabs-arrows { display: none; }
@media (max-width: 767px) {
    .cover-design-mini-gallery.slick-initialized {
        display: block;
        width: min(100%, 440px);
        margin: 22px auto 0;
    }
    .book-designing-illustration-art {
    margin-bottom: 20px;
}
    .cover-design-mini-gallery.slick-initialized .slick-list { margin-inline: -8px; }
    .cover-design-mini-gallery.slick-initialized .slick-slide { padding: 5px 3px 10px; }
    .cover-design-mini-gallery.slick-initialized .slick-slide a {
        display: flex;
        width: 100%;
        height: 220px;
        justify-content: center;
        padding: 6px;
        margin: 0 auto;
        display: flex !important;
        align-items: center;
        justify-content: center;
    }
    .cover-design-mini-gallery.slick-initialized .slick-slide img { max-height: 100%; }
    .cover-design-gallery-dots { min-height: 22px; margin: 3px auto 4px; }
    .cover-design-gallery-dots .slick-dots {
        position: static;
        display: flex;
        justify-content: center;
        gap: 2px;
        margin: 0;
        padding: 0;
    }
    .cover-design-gallery-dots .slick-dots li,
    .cover-design-gallery-dots .slick-dots li button { width: 14px; height: 14px; margin: 0; padding: 0; }
    .cover-design-gallery-dots .slick-dots li button:before {
        width: 14px;
        height: 14px;
        color: #77818d;
        font-size: 8px;
        line-height: 14px;
        opacity: 1;
    }
    .cover-design-gallery-dots .slick-dots li.slick-active button:before { color: #062b4c; }

    .cover-design-tabs-inner { grid-template-columns: minmax(0, 1fr); }
    .cover-design-tabs.slick-initialized {
        display: block;
        grid-column: 1;
        grid-row: 1;
    }
    .cover-design-tabs.slick-initialized .slick-list { margin-inline: -8px; }
    .cover-design-tabs.slick-initialized .slick-slide { padding: 4px 8px 8px; }
    .cover-design-tabs.slick-initialized .cover-design-tab {
        width: 100%;
        min-height: 58px;
        padding: 12px 16px;
        font-size: 15px;
        text-align: center;
    }
    .cover-design-tabs-arrows {
        display: flex;
        grid-column: 1;
        grid-row: 2;
        justify-content: center;
        align-items: center;
        gap: 12px;
        margin: 2px auto 4px;
    }
    .cover-design-tabs-arrows .cover-design-prev,
    .cover-design-tabs-arrows .cover-design-next {
        position: static;
        display: grid;
        width: 34px;
        height: 34px;
        flex: 0 0 34px;
        place-items: center;
        border: 0;
        border-radius: 50%;
        color: #fff;
        background: #062b4c;
        font-size: 14px;
        line-height: 1;
        transform: none;
        cursor: pointer;
    }
    .cover-design-tabs-arrows .cover-design-prev:before,
    .cover-design-tabs-arrows .cover-design-next:before { content: none; }
    .cover-design-tabs-arrows .slick-disabled { opacity: .45; cursor: default; }
    .cover-design-tab-panels { grid-column: 1; grid-row: 3; }
    .cover-design-tabs-art { grid-column: 1; grid-row: 4; }
}

/* Press Release portfolio uses the same layered deck movement as the stack slider reference. */
.press-release-page .press-news-stack { width: 100%; max-width: 868px; margin: 0 auto; padding: 0; }
.press-release-page .press-news-stage {
    position: relative;
    width: 100%;
    max-width: 868px;
    height: 394px;
    margin: 0 auto;
    perspective: 1200px;
}
.press-release-page .press-news-slide {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(220px, .85fr);
    align-items: center;
    gap: 24px;
    width: 100%;
    max-width: 868px;
    height: 394px;
    overflow: hidden;
    border: 0;
    border-radius: 9px;
    padding: 18px 22px;
    color: #fff;
    background: #67c8e7;
    box-shadow: 0 10px 24px rgba(0,0,0,.18);
    cursor: pointer;
    transform-origin: center center;
    transition: transform .55s cubic-bezier(.25,1,.35,1), opacity .55s ease, filter .55s ease, box-shadow .55s ease;
    will-change: transform, opacity;
}
.press-release-page .press-news-slide[data-state="center"] {
    z-index: 30;
    opacity: 1;
    transform: translate(-50%, -50%) translate3d(0,0,45px);
    cursor: default;
}
.press-release-page .press-news-slide[data-state="left"] {
    z-index: 20;
    opacity: .9;
    filter: brightness(.92);
    transform: translate(-50%, -50%) translate3d(1%,12px,-18px) scale(.985);
}
.press-release-page .press-news-slide[data-state="right"] {
    z-index: 10;
    opacity: .76;
    filter: brightness(.86);
    transform: translate(-50%, -50%) translate3d(2%,24px,-38px) scale(.97);
}
.press-release-page .press-news-slide[data-state="hidden-behind"] {
    z-index: 5;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) translate3d(3%,34px,-60px) scale(.95);
}
.press-release-page .press-news-slide .card-dimmer {
    position: absolute;
    z-index: 2;
    inset: 0;
    background: rgba(8,24,40,.2);
    opacity: 1;
    pointer-events: none;
    transition: opacity .4s ease;
}
.press-release-page .press-news-slide[data-state="center"] .card-dimmer { opacity: 0; }
.press-release-page .press-news-copy { position: relative; z-index: 3; min-width: 0; padding: 6px 0; }
.press-release-page .press-news-brand { min-width: 0; min-height: 0; padding: 0; color: #fff; background: transparent; font: 800 32px/1 Arial,sans-serif; letter-spacing: -.1em;     display: none;}
.press-release-page .press-news-slide-link { position: absolute; top: 4px; right: 0; display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; color: #58c5e5; background: #fff; font-size: 17px; }
.press-release-page .press-news-copy h3 { margin: 12px 0 8px; color: #fff; font: 700 20px/1.2 var(--gilroy); }
.press-release-page .press-news-copy p { margin: 0; color: #fff; font-size: 15px; line-height: 1.55; }
.press-release-page .press-news-cover-frame { position: relative; z-index: 3; display: grid; min-width: 0; height: 320px; place-items: center; overflow: hidden; border-radius: 8px; background: rgba(7,34,54,.25); box-shadow: 0 7px 16px rgba(0,0,0,.2); }
.press-release-page .press-news-cover-blur { position: absolute; inset: -12px; width: calc(100% + 24px); height: calc(100% + 24px); object-fit: cover; filter: blur(12px) brightness(.68); }
.press-release-page .press-news-cover { position: relative; z-index: 1; display: block; width: auto; max-width: 70%; height: 82%; object-fit: contain; box-shadow: 0 5px 15px rgba(0,0,0,.32); }
.press-release-page .press-news-controls {position: relative;z-index: 40;display: flex;align-items: center;justify-content: center;gap: 8px;margin: 34px 0 0;}
.press-release-page .press-news-controls .custom-nav-btn { display: inline-flex; width: 62px; height: 32px; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.6); border-radius: 7px; color: #fff; background: transparent; font: 400 22px/1 var(--inter); transition: background .2s ease, border-color .2s ease; }
.press-release-page .press-news-controls .btn-arrow-next { border-color: #58c5e5; background: #58c5e5; }
.press-release-page .press-news-controls .custom-nav-btn:hover { border-color: #58c5e5; background: #58c5e5; }
.press-release-page .press-news-slide[data-state="left"]:hover,
.press-release-page .press-news-slide[data-state="right"]:hover { filter: brightness(1); }
@media (max-width: 760px) {
    .press-release-page .press-news-section {padding: 42px 0 115px;}
    .press-release-page .press-news-stage { height: 480px; }
    .press-release-page .press-news-slide { grid-template-columns: 1fr; gap: 12px; width: 90%; height: 395px; padding: 18px; }
    .press-release-page .press-news-copy h3 { margin-top: 8px; font-size: 19px; }
    .press-release-page .press-news-copy p { font-size: 15px; line-height: 1.45; }
    .press-release-page .press-news-cover-frame {height: 155px;display: none;}
    .press-release-page .press-news-cover { height: 88%; }
    .press-release-page .press-news-controls {margin-top: 0;}
    .press-release-page .press-news-slide[data-state="left"] { transform: translate(-50%, -50%) translate3d(1%,12px,-18px) scale(.98); }
    .press-release-page .press-news-slide[data-state="right"] { transform: translate(-50%, -50%) translate3d(2%,24px,-38px) scale(.96); }
}
@media (max-width: 420px) {
    .press-release-page .press-news-stage {height: 410px;}
    .press-release-page .press-news-slide {height: 340px;}
}

/* eBook and Amazon KDP service cards become dot-only, one-card mobile sliders. */
.ebook-service-dots:empty,
.kdp-service-dots:empty,
.kdp-benefit-dots:empty { display: none; }
@media (max-width: 760px) {
    .ebook-service-grid.slick-initialized,
    .kdp-service-column.slick-initialized,
    .kdp-benefit-grid.slick-initialized {
        display: block;
        width: 100%;
        margin-inline: auto;
    }
    .ebook-service-grid.slick-initialized .slick-list,
    .kdp-service-column.slick-initialized .slick-list,
    .kdp-benefit-grid.slick-initialized .slick-list { margin-inline: -7px; }
    .ebook-service-grid.slick-initialized .slick-slide,
    .kdp-service-column.slick-initialized .slick-slide,
    .kdp-benefit-grid.slick-initialized .slick-slide { padding: 8px 7px 12px; }
    .ebook-service-grid.slick-initialized .slick-slide > article,
    .kdp-service-column.slick-initialized .slick-slide > article,
    .kdp-benefit-grid.slick-initialized .slick-slide > article { width: 100%; }
    .ebook-service-dots,
    .kdp-service-dots,
    .kdp-benefit-dots { min-height: 22px; margin: 3px auto 4px; }
    .kdp-benefit-dots { grid-column: 1; }
    .ebook-service-dots .slick-dots,
    .kdp-service-dots .slick-dots,
    .kdp-benefit-dots .slick-dots {
        position: static;
        display: flex;
        justify-content: center;
        gap: 2px;
        margin: 0;
        padding: 0;
    }
    .ebook-service-dots .slick-dots li,
    .ebook-service-dots .slick-dots li button,
    .kdp-service-dots .slick-dots li,
    .kdp-service-dots .slick-dots li button,
    .kdp-benefit-dots .slick-dots li,
    .kdp-benefit-dots .slick-dots li button {width: 16px;height: 4px;margin: 0;padding: 0;background: #55c4e5;border-radius: 20px;}
    .ebook-service-dots .slick-dots li button:before,
    .kdp-service-dots .slick-dots li button:before,
    .kdp-benefit-dots .slick-dots li button:before {
        width: 14px;
        height: 14px;
        color: #77818d;
        font-size: 8px;
        line-height: 14px;
        opacity: 1;
        display: none;
    }
    .ebook-service-dots .slick-dots li.slick-active button:before,
    .kdp-service-dots .slick-dots li.slick-active button:before,
    .kdp-benefit-dots .slick-dots li.slick-active button:before {color: #062b4c;display: none;}
}

/* Final eBook service pagination override: one cyan pill and round gray inactive dots. */
@media (max-width: 760px) {
    .ebook-publishing-services.section-space .ebook-service-dots .slick-dots {
        align-items: center;
        gap: 3px;
    }
    .ebook-publishing-services.section-space .ebook-service-dots .slick-dots li,
    .ebook-publishing-services.section-space .ebook-service-dots .slick-dots li button {
        width: 20px;
        height: 10px;
        flex: 0 0 10px;
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
    }
    .ebook-publishing-services.section-space .ebook-service-dots .slick-dots li button:before {
        top: 50%;
        left: 50%;
        display: block;
        width: 9px;
        height: 9px;
        border: 0;
        border-radius: 50%;
        background: #c5d3da;
        color: transparent;
        content: '';
        opacity: 1;
        transform: translate(-50%, -50%);
    }
    .ebook-publishing-services.section-space .ebook-service-dots .slick-dots li.slick-active {
        flex-basis: 18px;
        width: 18px;
    }
    .ebook-publishing-services.section-space .ebook-service-dots .slick-dots li.slick-active button {
        flex-basis: 18px;
        width: 18px;
    }
    .ebook-publishing-services.section-space .ebook-service-dots .slick-dots li.slick-active button:before {
        display: block;
        width: 18px;
        height: 6px;
        border-radius: 4px;
        background: #58c5e5;
    }
}

/* Amazon KDP services use an active cyan pill with compact gray dots on mobile. */
@media (max-width: 760px) {
    .amazon-kdp-services.section-space .kdp-service-dots .slick-dots {
        justify-content: center;
        align-items: center;
        gap: 3px;
    }
    .amazon-kdp-services.section-space .kdp-service-dots .slick-dots li {
        width: 20px;
        height: 10px;
        flex: 0 0 10px;
        margin: 0;
        padding: 0;
        background: transparent;
    }
    .amazon-kdp-services.section-space .kdp-service-dots .slick-dots li button {
        width: 10px;
        height: 10px;
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
    }
    .amazon-kdp-services.section-space .kdp-service-dots .slick-dots li button:before {
        top: 50%;
        left: 50%;
        display: block;
        width: 9px;
        height: 9px;
        border: 0;
        border-radius: 50%;
        background: #c5d3da;
        color: transparent;
        content: '';
        opacity: 1;
        transform: translate(-50%, -50%);
    }
    .amazon-kdp-services.section-space .kdp-service-dots .slick-dots li.slick-active {
        width: 18px;
        flex-basis: 18px;
    }
    .amazon-kdp-services.section-space .kdp-service-dots .slick-dots li.slick-active button { width: 18px; }
    .amazon-kdp-services.section-space .kdp-service-dots .slick-dots li.slick-active button:before {
        width: 18px;
        height: 6px;
        border-radius: 4px;
        background: #58c5e5;
    }
}

/* Amazon KDP benefits slider uses mobile chevron navigation instead of dots. */
@media (max-width: 760px) {
    .amazon-kdp-benefits.section-space .kdp-benefit-arrows {
        display: flex;
        grid-column: 1;
        justify-content: center;
        align-items: center;
        gap: 12px;
        margin: 4px auto 0;
    }
    .amazon-kdp-benefits.section-space .kdp-benefit-arrows .kdp-benefit-prev,
    .amazon-kdp-benefits.section-space .kdp-benefit-arrows .kdp-benefit-next {
        position: static;
        display: grid;
        width: 34px;
        height: 34px;
        flex: 0 0 34px;
        place-items: center;
        border: 0;
        border-radius: 50%;
        color: #fff;
        background: #55c4e5;
        font-size: 14px;
        line-height: 1;
        transform: none;
        cursor: pointer;
    }
    .amazon-kdp-benefits.section-space .kdp-benefit-arrows .kdp-benefit-prev:before,
    .amazon-kdp-benefits.section-space .kdp-benefit-arrows .kdp-benefit-next:before { content: none; }
    .amazon-kdp-benefits.section-space .kdp-benefit-arrows .slick-disabled { opacity: .45; cursor: default; }
}

/* Press release service and outlet sliders use pill-and-dot indicators on mobile. */
@media (max-width: 760px) {
    .press-release-services.section-space .press-service-dots .slick-dots,
    .press-outlets.section-space .press-outlet-dots .slick-dots {
        align-items: center;
        gap: 3px;
    }
    .press-release-services.section-space .press-service-dots .slick-dots li,
    .press-release-services.section-space .press-service-dots .slick-dots li button,
    .press-outlets.section-space .press-outlet-dots .slick-dots li,
    .press-outlets.section-space .press-outlet-dots .slick-dots li button {
        width: 20px;
        height: 10px;
        flex: 0 0 10px;
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
    }
    .press-release-services.section-space .press-service-dots .slick-dots li button:before,
    .press-outlets.section-space .press-outlet-dots .slick-dots li button:before {
        top: 50%;
        left: 50%;
        display: block;
        width: 9px;
        height: 9px;
        border: 0;
        border-radius: 50%;
        background: #c5d3da;
        color: transparent;
        content: '';
        opacity: 1;
        transform: translate(-50%, -50%);
    }
    .press-release-services.section-space .press-service-dots .slick-dots li.slick-active,
    .press-outlets.section-space .press-outlet-dots .slick-dots li.slick-active {
        width: 18px;
        flex-basis: 18px;
    }
    .press-release-services.section-space .press-service-dots .slick-dots li.slick-active button,
    .press-outlets.section-space .press-outlet-dots .slick-dots li.slick-active button { width: 18px; }
    .press-release-services.section-space .press-service-dots .slick-dots li.slick-active button:before,
    .press-outlets.section-space .press-outlet-dots .slick-dots li.slick-active button:before {
        width: 18px;
        height: 6px;
        border-radius: 4px;
        background: #58c5e5;
    }
}
/* Amazon A+ Content page: layout, responsive cards, and 15px minimum body copy. */
.amazon-a-content-page {
    overflow: hidden;
    color: #062645;
}
.amazon-a-content-page .aplus-hero {
    background: #062645 url('../../images/amazon-a-content/banner-bg.png') center/cover no-repeat;
}
.amazon-a-content-page .aplus-hero::before {
    background: linear-gradient(90deg, rgba(4, 31, 56, .4), rgba(4, 31, 56, .06) 76%);
}
.amazon-a-content-page p,
.amazon-a-content-page .faq-body-panel,
.amazon-a-content-route .contact-form label,
.amazon-a-content-route .contact-copy p {
    font-size: 15px !important;
}
.aplus-intro {
    padding: 42px 0 30px;
    background: #fff;
}
.aplus-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(28px, 5vw, 66px);
    max-width: 1150px;
}
.aplus-intro-art {
    display: grid;
    min-height: 300px;
    place-items: center;
}
.aplus-intro-art img {
    width: min(100%, 490px);
    /* max-height: 390px; */
    object-fit: contain;
}
.aplus-intro-copy h2 {
    /* margin: 0 0 12px; */
    color: #062645;
    /* font: 700 clamp(25px, 2.5vw, 34px)/1.15 var(--gilroy); */
}
.aplus-intro-copy > p {
    margin-bottom: 18px;
    color: #36516a;
    line-height: 1.6;
}
.aplus-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.aplus-facts article {
    padding: 16px;
    border-radius: 12px;
    background: #062645;
    color: #fff;
}
.aplus-facts h3 {
    margin: 0 0 7px;
    color: #fff;
    font: 700 18px/1.25 var(--gilroy);
}
.aplus-facts p {
    margin: 0;
    color: #fff;
    line-height: 1.5;
}
.aplus-services {
    padding: 28px 0 42px;
    background: #fff;
}
.aplus-service-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 10px 12px;
    max-width: 1100px;
    margin: 0 auto;
}
.aplus-service-card {
    min-height: 138px;
    padding: 16px;
    border: 1px solid #70cafa;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 7px 14px rgba(6, 38, 69, .12);
    transition: box-shadow .2s ease, border-color .2s ease;
}
.aplus-service-card:nth-child(4n + 1),
.aplus-service-card:nth-child(4n + 4) { grid-column: span 7; }
.aplus-service-card:nth-child(4n + 2),
.aplus-service-card:nth-child(4n + 3) { grid-column: span 5; }
.aplus-service-card:hover,
.aplus-service-card:focus-within {
    border-color: #1b9ff0;
    box-shadow: inset 0 0 0 2px #1b9ff0, 0 7px 14px rgba(6, 38, 69, .12);
}
.aplus-service-icon {
    display: inline-block;
    width: 38px;
    height: 38px;
    margin-right: 8px;
    vertical-align: middle;
}
.aplus-service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.aplus-service-card h3 {
    display: inline-block;
    max-width: calc(100% - 52px);
    margin: 0;
    color: #062645;
    vertical-align: middle;
    font: 700 17px/1.25 var(--gilroy);
}
.aplus-service-card p {
    margin: 7px 0 0;
    color: #526c80;
    line-height: 1.55;
}
.aplus-portfolio {
    padding: 14px 0 40px;
    background: #fff;
    position: relative;
    overflow: hidden;
}
.aplus-portfolio .section-heading--compact {
    margin-bottom: 18px;
}
.aplus-portfolio .port-bx:before {
    display: none;
}
.aplus-portfolio .port-bx {
    --aplus-window-height: 306px;
    display: grid;
    height: 330px;
    padding: 12px;
    place-items: center;
    overflow: hidden;
    border: 1px solid #e2edf2;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 5px 16px rgba(6, 38, 69, .1);
}
.aplus-portfolio .port-bx > a {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.aplus-portfolio .port-bx img {
    display: block;
    width: 100%;
    height: auto;
    max-width: none;
    object-fit: initial;
    transform: translateY(0);
    transition: transform 6s linear;
}
@media (hover: hover) and (pointer: fine) {
    .aplus-portfolio .port-bx > a:hover img {
        transform: translateY(calc(-100% + var(--aplus-window-height)));
    }
}
.amazon-a-content-page .section-heading p {
    color: #526c80;
}
.amazon-a-content-page .faq {
    padding-top: 34px;
}
@media (max-width: 760px) {
    .aplus-intro {
        padding: 28px 0 24px;
        text-align: center;
    }
    .aplus-intro-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }
    .aplus-intro-art {
        min-height: 0;
    }
    .aplus-intro-art img {
        width: min(100%, 390px);
        max-height: 300px;
    }
    .aplus-facts {
        gap: 10px;
    }
    .aplus-facts article {
        padding: 14px 12px;
    }
    .aplus-services {
        padding: 22px 0 30px;
    }
    .aplus-service-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }
    .aplus-service-grid.slick-initialized { display: block; }
    .aplus-service-grid.slick-initialized .slick-slide { padding: 0 12px; }
    .aplus-service-grid.slick-initialized + .mobile-slider-dots { display: block; }
    .aplus-service-card:nth-child(n) { grid-column: 1; }
    .aplus-service-card {
        min-height: 0;
        padding: 16px;
    }
    .aplus-portfolio .port-bx {
        --aplus-window-height: 276px;
        height: 300px;
    }
}
@media (max-width: 420px) {
    .aplus-facts {
        grid-template-columns: minmax(0, 1fr);
    }
}
/* Social media promotion page: 1160px desktop container and responsive campaign sections. */
 .port-sec-social-media-promote{
            padding: 60px 0;
        }

       

        /* Main Slider Container */
        .port-sec-social-media-promote .main-slider-container {
            position: relative;
            max-width: 1100px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .port-sec-social-media-promote .cards-wrapper {
            display: flex;
            gap: 15px;
            align-items: center;
            justify-content: center;
            width: 100%;
            perspective: 1000px;
        }

        /* Portfolio Card Base Style */
        .port-sec-social-media-promote .portfolio-card {
            background: #ffffff;
            border-radius: 24px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            width: 340px;
            flex-shrink: 0;
        }

        /* Left Side Card (Tilted Left) */
        .port-sec-social-media-promote .portfolio-card.left-card {
            transform: rotate(-7deg) scale(0.99);
            opacity: 0.7;
            z-index: 1;
            transform-origin: bottom right;
            position: relative;
            left: 80px;
        }

        /* Center Active Card (Straight & Prominent) */
        .port-sec-social-media-promote .portfolio-card.active-card {
            transform: rotate(0deg) scale(1.04);
            opacity: 1;
            z-index: 10;
            box-shadow: 0 20px 40px rgba(11, 29, 58, 0.15);
        }
    .port-sec-social-media-promote .portfolio-card:before {
    display: none;
}
        /* Right Side Card (Tilted Right) */
        .port-sec-social-media-promote .portfolio-card.right-card {
            transform: rotate(7deg) scale(0.99);
            opacity: 0.7;
            z-index: 1;
            transform-origin: bottom left;
            right: 80px;
            position: relative;
        }

        /* Inner Slider Styles */
        .port-sec-social-media-promote .inner-slider {
            position: relative;
            width: 100%;
            height: 340px;
            overflow: hidden;
        }

        .port-sec-social-media-promote .inner-slides {
            display: flex;
            width: 100%;
            height: 100%;
            transition: transform 0.4s ease-in-out;
            will-change: transform;
        }

        .port-sec-social-media-promote .inner-slide {
            flex: 0 0 100%;
            width: 100%;
            min-width: 100%;
            height: 100%;
        }

        .port-sec-social-media-promote .inner-slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        /* Inner Thumbnail Nav inside card (jaise image mein box hai) */
        .port-sec-social-media-promote .inner-nav-container {
            position: absolute;
            bottom: 15px;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(0, 0, 0, 0.75);
            padding: 6px 12px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            gap: 10px;
            border: 1px solid rgba(255, 255, 255, 0.25);
            backdrop-filter: blur(4px);
        }

        .port-sec-social-media-promote .inner-nav-btn {
            background: none;
            border: none;
            color: #fff;
            font-size: 11px;
            cursor: pointer;
            padding: 0 2px;
            opacity: 0.8;
            transition: 0.2s;
        }

        .port-sec-social-media-promote .inner-nav-btn:hover {
            opacity: 1;
        }

        .port-sec-social-media-promote .inner-thumbs {
            display: flex;
            width: 164px;
            flex: 0 0 164px;
            gap: 6px;
            overflow: hidden;
        }

        .port-sec-social-media-promote .inner-thumb {
            display: block;
            width: 28px;
            flex: 0 0 28px;
            height: 28px;
            padding: 0;
            border-radius: 4px;
            overflow: hidden;
            cursor: pointer;
            border: 1.5px solid transparent;
            background: transparent;
            opacity: 0.6;
            transition: 0.2s;
        }

        .port-sec-social-media-promote .inner-thumb.active, .inner-thumb:hover {
            opacity: 1;
            border-color: #fff;
        }

        .port-sec-social-media-promote .inner-thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        /* Card Footer Content */
        .port-sec-social-media-promote .card-footer-content {
            padding: 22px 24px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: #ffffff;
            width: 100%;
        }

        .port-sec-social-media-promote .card-title-text {
            font-size: 15px;
            font-weight: 600;
            color: #0b1d3a;
            margin: 0;
            width: 70%;
        }

        .port-sec-social-media-promote .search-icon-btn {
            width: 38px;
            height: 38px;
            background-color: #0b1d3a;
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            border: none;
            transition: 0.2s;
        }

        .port-sec-social-media-promote .search-icon-btn:hover {
            background-color: #163669;
        }

        /* Main Navigation Arrows */
        .port-sec-social-media-promote .main-arrow {
            width: 48px;
            height: 48px;
            background-color: #0b1d3a;
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            border: none;
            position: absolute;
            z-index: 20;
            transition: 0.2s;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        }

        .port-sec-social-media-promote .main-arrow:hover {
            background-color: #163669;
        }

        .port-sec-social-media-promote .main-prev {
            left: -25px;
        }

        .port-sec-social-media-promote .main-next {
            right: -25px;
        }

        /* Main Pagination Dots */
        .port-sec-social-media-promote .main-dots {
            display: flex;
            justify-content: center;
            gap: 8px;
            margin-top: 35px;
        }

        .port-sec-social-media-promote .main-dot {
            width: 35px;
            height: 4px;
            background-color: #d1d5db;
            border-radius: 2px;
            cursor: pointer;
            border: none;
            transition: 0.3s;
        }

        .port-sec-social-media-promote .main-dot.active {
            background-color: #0b1d3a;
            width: 50px;
        }
.social-media-promotion-page {
    overflow: hidden;
    color: #062645;
}
.social-media-promotion-page .container {
    width: 1160px;
    max-width: calc(100% - 40px);
}
.social-media-promotion-page p,
.social-media-promotion-route .contact-copy p,
.social-media-promotion-route .contact-form label,
.social-media-promotion-page .faq-body-panel {
    font-size: 15px !important;
}
.social-promotion-hero {
    background: #062645 url('../../images/social-media-promotion/banner-bg.png') center/cover no-repeat;
}
.social-promotion-hero::before {
    background: linear-gradient(90deg, rgba(4, 31, 56, .4), rgba(4, 31, 56, .06) 76%);
}
.social-promotion-intro {
    padding: 40px 0 26px;
    background: #fff;
}
.social-promotion-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(32px, 5vw, 72px);
}
.social-promotion-intro-art {
    display: grid;
    min-height: 300px;
    place-items: center;
}
.social-promotion-intro-art img {
    width: min(100%, 500px);
    max-height: 380px;
    object-fit: contain;
}
.social-promotion-intro-copy h2 {
    margin: 0 0 12px;
    color: #062645;
    font: 700 clamp(26px, 2.6vw, 35px)/1.15 var(--gilroy);
}
.social-promotion-intro-copy p {
    margin: 0 0 12px;
    color: #526c80;
    line-height: 1.6;
}
.social-services {
    padding: 20px 0 34px;
    background: #fff;
}
.social-portfolio h2.text-center.section-title {
    padding-bottom: 50px;
    margin: 0;
}

.social-services .section-heading.section-heading--compact {
    padding-bottom: 20px;
}
.social-services .section-heading--compact { margin-bottom: 18px; }
.social-service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 44px 15px;
    max-width: 1040px;
    margin: 0 auto;
}
.social-service-grid.slick-initialized { display: block; }
.social-service-grid.slick-initialized .slick-track { display: flex; }
.social-service-grid.slick-initialized .slick-slide { height: auto; }
.social-service-card {
    min-height: 170px;
    padding: 18px;
    border: 1px solid #e2edf2;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 6px 16px rgba(6, 38, 69, .1);
    transition: transform .2s ease, box-shadow .2s ease;
}
.social-service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(6, 38, 69, .14);
}
.social-service-card > img {
    width: 46px;
    height: 46px;
    margin-bottom: 6px;
    object-fit: contain;
    margin-top: -30px;
}
.social-service-card h3 {
    margin: 0 0 6px;
    color: #062645;
    font: 700 18px/1.25 var(--gilroy);
}
.social-service-card p {
    margin: 0;
    color: #526c80;
    line-height: 1.5;
}
.social-portfolio {
    padding: 20px 0 60px;
    background: #fff;
}
.social-portfolio .section-heading--compact { margin-bottom: 12px; }
.social-portfolio-slider {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
}
.social-portfolio-stage { position: relative; }
.social-portfolio-slider .slick-list { overflow: visible; }
.social-portfolio-slider .slick-slide {
    padding: 22px 12px;
    opacity: .5;
    transition: opacity .35s ease;
}
.social-portfolio-slider .slick-center { opacity: 1; }
.social-portfolio-slide {
    position: relative;
    display: flex;
    height: 350px;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #d8e5ed;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 25px rgba(6, 38, 69, .16);
    max-width: 300px;
    margin-inline: auto;
    transform: scale(.82) rotate(-7deg);
    transition: transform .55s ease, box-shadow .4s ease;
}
.social-portfolio-slider .slick-center .social-portfolio-slide {
    z-index: 2;
    transform: scale(1.04) rotate(0);
    box-shadow: 0 16px 32px rgba(6, 38, 69, .2);
}
.social-portfolio-slider .slick-slide.slick-active:not(.slick-center) .social-portfolio-slide {
    transform: scale(.82) rotate(7deg);
}
.social-thumbnail-window {
    position: absolute;
    z-index: 5;
    top: 278px;
    left: 50%;
    display: flex;
    width: 204px;
    height: 46px;
    align-items: center;
    padding: 3px 4px;
    border-radius: 4px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 2px 8px rgba(6, 38, 69, .18);
    transform: translateX(-50%);
}
.social-thumbnail-window .slider-arrow {
    position: static;
    display: grid;
    width: 22px;
    height: 28px;
    flex: 0 0 22px;
    place-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: #062645;
    font-size: 20px;
    line-height: 1;
}
.social-thumbnail-window .slider-arrow::before { content: none; }
.social-portfolio-thumbnails {
    min-width: 0;
    flex: 1 1 auto;
}
.social-portfolio-thumbnails .slick-list { overflow: hidden; }
.social-portfolio-thumb {
    display: grid !important;
    width: 100%;
    height: 38px;
    place-items: center;
    padding: 2px;
    border: 0;
    background: transparent;
    cursor: pointer;
}
.social-portfolio-thumb img {
    display: block;
    width: 34px;
    height: 34px;
    border: 1px solid #cbd8df;
    border-radius: 3px;
    object-fit: cover;
}
.social-portfolio-thumbnails .slick-current img {
    border: 2px solid #062645;
}
.social-portfolio-slide > img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    flex: 1 1 auto;
    object-fit: cover;
}
.social-portfolio-caption {
    display: flex;
    min-height: 54px;
    flex-direction: column;
    justify-content: center;
    padding: 7px 12px;
    background: #fff;
    color: #062645;
    line-height: 1.25;
}
.social-portfolio-caption strong { font: 700 15px/1.25 var(--gilroy); }
.social-portfolio-caption span { color: #526c80; font-size: 15px; }
.social-portfolio-controls {
    position: absolute;
    z-index: 6;
    top: 50%;
    right: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
}
.social-portfolio-controls .slider-arrow {
    position: static;
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: #062645;
    color: #fff;
    font-size: 23px;
    line-height: 1;
    pointer-events: auto;
}
.social-portfolio-controls .slider-arrow::before { content: none; }
.social-portfolio-dots {
    position: absolute;
    bottom: -24px;
    left: 50%;
    transform: translateX(-50%);
}
.social-portfolio-dots .slick-dots {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0;
    padding: 0;
}
.social-portfolio-dots .slick-dots li { margin: 0; }
.social-portfolio-dots .slick-dots li button:before { color: #062645; }
.social-portfolio-dots .slick-dots li.slick-active button:before { color: #54c2e3; }

/* Keep the children purpose mobile slider dots visible above legacy slick overrides. */
@media (max-width: 760px) {
    .children-book-page .children-purpose-panel .children-purpose-dots:not(:empty) { display: flex !important; justify-content: center; gap: 7px; min-height: 20px; margin: 6px auto 0; }
    .children-book-page .children-purpose-panel .children-purpose-dots > button { display: block; width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: #71899b; cursor: pointer; }
    .children-book-page .children-purpose-panel .children-purpose-dots > button[aria-current="true"] { background: #fff; }
}

/* Center portfolio lightbox images inside the mobile viewport. */
@media (max-width: 767px) {
    .fancybox__container .fancybox__slide { justify-content: center !important; padding-right: 12px !important; padding-left: 12px !important; }
    .fancybox__container .fancybox__slide .f-panzoom { max-width: 100%; margin-right: auto; margin-left: auto; }
    .fancybox__container .fancybox__slide .f-panzoom__content {
        display: block;
        max-width: calc(100vw - 24px) !important;
        max-height: calc(100vh - 120px) !important;
        max-height: calc(100dvh - 120px) !important;
        margin-right: auto;
        margin-left: auto;
        object-fit: contain;
    }
}
.social-author-feedback {
    padding: 36px 0;
    background: #effaff;
}
.social-author-feedback-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}
.social-author-feedback-grid article {
    position: relative;
    min-height: 220px;
    overflow: hidden;
    border: 4px solid #54c2e3;
    border-radius: 12px;
    background: #062645;
    box-shadow: 0 8px 18px rgba(6, 38, 69, .12);
}
.social-author-feedback-grid img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
}
.social-author-feedback-grid article span {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 9px;
    background: rgba(6, 38, 69, .92);
    color: #fff;
    font: 700 15px/1.2 var(--gilroy);
    text-align: center;
}


/* Services mega menu with category tabs, matching service links, and category copy. */
.main-nav .nav-mega-dropdown { position: relative; }
.main-nav .nav-mega-dropdown > summary { cursor: pointer; }
.nav-mega-menu {
    position: absolute;
    z-index: 80;
    top: calc(100% + 18px);
    left: 30%;
    display: none;
    grid-template-columns: 208px minmax(220px, 1fr) 270px;
    gap: 16px;
    width: min(870px, calc(100vw - 36px));
    padding: 35px 35px;
    border: 1px solid rgba(255,255,255,.58);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 22px 54px rgba(0, 17, 34, .28);
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.1);
}
ul#nav-mobile-publishing-links li a:before{
    display: none;
}
.nav-mega-dropdown:is([open], :hover) > .nav-mega-menu { display: grid; }
.nav-mega-categories { display: flex; flex-direction: column; gap: 9px; padding-right: 13px; border-right: 1px solid #e1eaf0; }
.nav-mega-categories a {
    display: flex;
    min-height: 42px;
    align-items: center;
    padding: 9px 11px;
    border: 1px solid #d9e4eb;
    border-radius: 7px;
    background: #fff;
    color: #062645;
    font: 700 15px/1.25 var(--inter);
    text-align: left;
    text-decoration: none;
    transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.nav-mega-categories a::before { content: '▤'; margin-right: 8px; color: #062645; font-size: 15px; }
.nav-mega-categories a:is(:hover, :focus-visible, .is-active) { border-color: #062645; background: #062645; color: #fff; }
.nav-mega-categories a:is(:hover, :focus-visible, .is-active)::before { color: #fff; }
.nav-mega-service-lists { min-width: 0; padding: 3px 4px; }
.nav-mega-links { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav-mega-links[hidden],
.nav-mega-promo article[hidden] { display: none !important; }
.nav-mega-links a {
    display: flex;
    min-height: 30px;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 6px 9px;
    border-radius: 6px;
    color: #062645 !important;
    font: 600 15px/1.75 var(--inter) !important;
    text-decoration: none;
    transition: background .18s ease, color .18s ease;
    text-align: left;
    position: relative;
}
.nav-mega-links a::before { content: '•'; margin-right: -5px; color: #062645; }
.nav-mega-links a span {color: #062645;font-size: 18px;line-height: 1;position: absolute;right: 0;top: 0;bottom: 0;margin: auto;display: flex;align-items: center;}
.nav-mega-links a:hover,
.nav-mega-links a:focus-visible { background: #effaff; color: #168ab2 !important; }
.nav-mega-links a:hover span,
.nav-mega-links a:focus-visible span { color: #168ab2; }
.nav-mega-promo {min-width: 0;overflow: hidden;border-radius: 15px;padding: 13px;background: #062645;color: #fff;text-align: center;background: radial-gradient(76.21% 43.64% at 50% 75.81%, rgba(15, 99, 179, 0.75) 0%, rgba(6, 38, 69, 0.75) 100%), #062645;border-radius: 20px;}
.nav-mega-promo article { display: flex; height: 100%; flex-direction: column; align-items: center; justify-content: center; }
.nav-mega-promo img {display: block;width: 100%;height: 180px;margin: 0 auto 7px;border-radius: 8px;object-fit: contain;}
.nav-mega-promo h2 {margin: 2px 0 5px;color: #fff;font: 600 20px/1.15 var(--gilroy);}
.nav-mega-promo p { margin: 0; color: #e0eef6; font: 400 12px/1.45 var(--inter, Arial, sans-serif); }
.nav-mega-menu:before {
    content: '';
    background: #ffffff;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 97%;
    z-index: -1;
    height: 95%;
    border-radius: 20px;
}
@media (min-width: 821px) {
    .main-nav .nav-mega-dropdown::after { right: -80px; left: -80px; height: 22px; }
}
@media (max-width: 820px) {
    .main-nav.is-open { max-height: calc(100dvh - 82px); overflow-y: auto; overscroll-behavior: contain; }
    .main-nav .nav-mega-dropdown { display: block; width: 100%; }
    .main-nav .nav-mega-dropdown > summary { width: 100%; }
    .nav-mega-menu,
    .main-nav .nav-mega-dropdown[open] > .nav-mega-menu {
        position: static;
        width: 100%;
        grid-template-columns: minmax(0, 1fr);
        gap: 11px;
        margin: 0;
        padding: 10px 5px 6px;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        transform: none;
    }
    .main-nav .nav-mega-dropdown:not([open]) > .nav-mega-menu { display: none; }
    .nav-mega-categories { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding: 0 0 9px; border-right: 0; border-bottom: 1px solid #e1eaf0; }
    .nav-mega-categories a { min-height: 38px; padding: 7px 8px; font-size: 12px; }
    .nav-mega-categories a::before {margin-right: 6px;display: none;}
    .nav-mega-service-lists { padding: 0; }
    .nav-mega-links { gap: 0; }
    .nav-mega-links a { min-height: 35px; padding: 7px 9px; font-size: 13px !important; }
    .nav-mega-promo { display: none; }
}

@media (max-width: 760px) {
    .social-media-promotion-page .container { width: 1160px; max-width: calc(100% - 32px); }
    .social-promotion-intro { padding: 28px 0 22px; }
    .social-promotion-intro-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .social-promotion-intro-art { min-height: 0; }
    .social-promotion-intro-art img { max-height: 300px; }
    .social-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .social-service-card {min-height: 0;padding: 14px;/* height: max-content; */text-align: center;}
    section#social-services .section-heading.section-heading--compact {
    padding-bottom: 0;
}
    .social-portfolio-slider .slick-list { overflow: visible; }
    .social-portfolio-slider .slick-slide { padding: 18px 8px; }
    .social-portfolio-slide { height: 310px; }
    .social-thumbnail-window { top: 238px; width: 194px; }
    .social-author-feedback-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .social-author-feedback-grid article,
    .social-author-feedback-grid img { min-height: 190px; }
    .social-services .slick-list.draggable {
    padding: 30px 10px;
    height: 200px !important;
    /* margin: 0 20px; */
    width: 90%;
    margin: 0 auto;
}

.social-promotion-intro-copy {
    text-align: center;
}

.social-service-card > img {
    margin: 0 auto;
    margin-top: -30px;
    margin-bottom: 10px;
}
}
@media (max-width: 520px) {
    .social-media-promotion-page .container {width: 1160px;max-width: calc(100% - 28px);}
    .social-service-grid { grid-template-columns: minmax(0, 1fr); }
    .social-portfolio-slider .slick-slide { padding-inline: 6px; }
    .social-portfolio-slide { height: 280px; }
}
@media (max-width: 600px) {
    .port-sec-social-media-promote .inner-nav-container { gap: 7px; padding: 5px 8px; }
    .port-sec-social-media-promote .inner-thumbs { width: 48px; flex-basis: 48px; justify-content: center; }
    .port-sec-social-media-promote .inner-thumb { width: 44px; flex-basis: 44px; height: 34px; }
}
/* Social portfolio Fancybox: keep gallery artwork compact and viewport-safe. */
.social-portfolio-fancybox .f-panzoom__content {
    max-width: min(76vw, 760px);
    max-height: 78vh;
    object-fit: contain;
}
@media (max-width: 767px) {
    .social-portfolio-fancybox .f-panzoom__content {
        max-width: 82vw;
        max-height: 70vh;
    }
}
/* Book illustration page: 1160px desktop container, 15px copy, service columns, and cover stack. */
.book-illustration-page {
    overflow: hidden;
    color: #062645;
}
.book-illustration-page .container {
    width: 1160px;
    max-width: calc(100% - 40px);
}
.book-illustration-page p,
.book-illustration-page .faq-body-panel,
.book-illustration-route .contact-copy p,
.book-illustration-route .contact-form label {
    font-size: 15px !important;
}
.book-illustration-hero {
    background: #062645 url('../../images/book-illustration/banner-bg.png') center/cover no-repeat;
}
.book-illustration-hero::before {
    background: linear-gradient(90deg, rgba(4, 31, 56, .4), rgba(4, 31, 56, .06) 76%);
}
.illustration-intro {
    padding: 38px 0 26px;
    background: #fff;
}
.illustration-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(32px, 5vw, 72px);
}
.illustration-intro-art {
    display: grid;
    min-height: 290px;
    place-items: center;
}
.illustration-intro-art img {
    width: 100%;
    object-fit: contain;
}
.illustration-intro-copy h2 {
    /* margin: 0 0 12px; */
    /* color: #062645; */
    /* font: 700 clamp(26px, 2.6vw, 35px)/1.15 var(--gilroy); */
}
.section-heading.illustration-intro-copy {
    text-align: left;
}
.illustration-intro-copy p {
    margin: 0 0 12px;
    color: #526c80;
    line-height: 1.6;
}
.illustration-services {
    padding: 20px 0 38px;
    background: #fff;
}
.illustration-services .section-heading--compact { margin-bottom: 18px; }
.illustration-service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    max-width: 1120px;
    margin: 0 auto;
}
.illustration-service-card {
    position: relative;
    min-height: 175px;
    padding: 16px 15px 40px;
    border: 1px solid #c9eafa;
    border-radius: 7px;
    background: #fff;
    box-shadow: 0 3px 10px rgba(6, 38, 69, .05);
}
.illustration-service-card h3 {
    margin: 0 0 8px;
    color: #062645;
    font: 700 17px/1.25 var(--gilroy);
}
.illustration-service-card p {
    margin: 0;
    color: #526c80;
    line-height: 1.45;
    width: 85%;
}
.illustration-service-card > img {
    position: absolute;
    right: 12px;
    bottom: 9px;
    width: 48px;
    height: 48px;
    object-fit: contain;
}
.book-illustration-portfolio {
    position: relative;
    padding: 24px 0 56px;
    overflow: hidden;
    background: #fff;
}
.book-illustration-portfolio .container { position: relative; }
.book-illustration-portfolio .section-heading--compact { position: relative; z-index: 40; margin-bottom: 8px; }
/* Portfolio stack: a wide perspective fan with the active book cover in front. */
.book-illustration-portfolio-slider {
    position: relative;
    /* width: 100vw; */
    height: 520px;
    margin-left: calc(50% - 50vw);
    perspective: 1500px;
    transform-style: preserve-3d;
    margin: 0 auto;
    overflow: hidden;
}
.book-illustration-portfolio-slide {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 330px;
    height: 420px;
    transform-origin: center center;
    transition: transform .7s cubic-bezier(.2,.72,.25,1);
    will-change: transform;
    padding: 0 10px;
}
.book-illustration-portfolio-slider .illustration-cover-link {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    box-shadow: none;
}
.book-illustration-portfolio-slider .illustration-cover-art {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    border: 0;
    object-fit: cover;
}
.book-illustration-portfolio-slider img.illustration-cover-art {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}
.book-illustration-portfolio-controls {
    position: absolute;
    z-index: 45;
    top: 0;
    left: 0;
    width: 50vw;
    height: 550px;
    pointer-events: none;
    margin: 0 auto;
    right: 0;
}
.book-illustration-portfolio-controls .slider-arrow {
    position: absolute;
    top: 52%;
    display: grid;
    width: 25px;
    height: 25px;
    place-items: center;
    border: 1px solid #e5ebef;
    border-radius: 50%;
    background: #fff;
    color: #062645;
    font-size: 18px;
    line-height: 1;
    pointer-events: auto;
    box-shadow: 0 3px 10px rgba(6, 38, 69, .16);
    display: none;
}
.book-illustration-portfolio-controls .slider-arrow::before { content: none; }
.book-illustration-portfolio-controls .illustration-portfolio-prev { left: 18px; }
.book-illustration-portfolio-controls .illustration-portfolio-next { right: 18px; }
.book-illustration-portfolio-controls .illustration-portfolio-dots {
    position: absolute;
    top: auto;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: max-content;
    pointer-events: auto;
    bottom: -20px;
    right: 0;
    margin: auto;
}
.book-illustration-portfolio-controls .illustration-portfolio-dots button {
    display: block;
    width: 24px;
    height: 3px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: #d1dce2;
    cursor: pointer;
}
.book-illustration-portfolio-controls .illustration-portfolio-dots button.is-active { background: #062645; }
.illustration-author-feedback {
    padding: 36px 0;
    background: #effaff;
}
.illustration-author-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}
.illustration-author-grid article {
    position: relative;
    min-height: 220px;
    overflow: hidden;
    border: 4px solid #54c2e3;
    border-radius: 12px;
    background: #062645;
}
.illustration-author-grid img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.illustration-author-grid span {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 8px;
    background: rgba(6, 38, 69, .92);
    color: #fff;
    font: 700 15px/1.2 var(--gilroy);
    text-align: center;
}
@media (max-width: 760px) {
    .book-illustration-page .container { width: 1160px; max-width: calc(100% - 32px); }
    .illustration-intro { padding: 28px 0 22px; }
    .illustration-intro-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .illustration-intro-art { min-height: 0; }
    .illustration-intro-art img { max-height: 300px; }
    .illustration-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .illustration-service-grid.slick-initialized { display: block; }
    .illustration-service-grid + .mobile-slider-dots { display: block; }
    .illustration-service-card { min-height: 160px; padding: 14px 12px 38px; }
    .book-illustration-portfolio-slider { height: 430px; }
    .book-illustration-portfolio-slide { width: 250px; height: 340px; }
    .book-illustration-portfolio-controls { height: 450px; }
    .book-illustration-portfolio-controls .illustration-portfolio-dots { top: 414px; }
    .book-illustration-portfolio-controls .illustration-portfolio-prev { left: 12px; }
    .book-illustration-portfolio-controls .illustration-portfolio-next { right: 12px; }
    .illustration-author-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .illustration-author-grid article,
    .illustration-author-grid img { height: 190px; min-height: 190px; }
}
@media (max-width: 520px) {
    .book-illustration-page .container { width: 1160px; max-width: calc(100% - 28px); }
    .illustration-service-grid { grid-template-columns: minmax(0, 1fr); }
    .illustration-service-card { min-height: 0; }
    .book-illustration-portfolio-slide { width: 220px; height: 300px; }
    .illustration-author-grid { gap: 8px; }
}




/* Mobile service navigation: category links navigate, chevrons expand service lists. */
.nav-mega-category-toggle { display: none; }
@media (max-width: 820px) {
    .nav-mega-categories {
        display: flex;
        flex-direction: column;
        gap: 6px;
        padding: 0 0 9px;
        border-bottom: 1px solid #e1eaf0;
    }
    .nav-mega-category-item {
        display: flex;
        align-items: stretch;
        gap: 6px;
        width: 100%;
    }
    .nav-mega-categories .nav-mega-category-item > a {
        flex: 1 1 auto;
        min-width: 0;
        min-height: 42px;
        padding: 9px 11px;
        font-size: 14px;
    }
    .nav-mega-category-toggle {
        display: inline-flex;
        flex: 0 0 42px;
        align-items: center;
        justify-content: center;
        min-height: 42px;
        padding: 0;
        border: 1px solid #d9e4eb;
        border-radius: 7px;
        background: #fff;
        color: #062645;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
    .nav-mega-category-toggle span {
        width: 8px;
        height: 8px;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: translateY(-2px) rotate(45deg);
        transition: transform .18s ease;
    }
    .nav-mega-category-toggle[aria-expanded="true"] {
        border-color: #062645;
        background: #062645;
        color: #fff;
    }
    .nav-mega-category-toggle[aria-expanded="true"] span {
        transform: translateY(2px) rotate(225deg);
    }
    .nav-mega-mobile-links {
        display: grid;
        gap: 0;
        width: 100%;
        margin: -2px 0 3px;
        padding: 4px 0 4px 13px;
        border-left: 2px solid #54c2e3;
        list-style: none;
    }
    .nav-mega-mobile-links[hidden] { display: none !important; }
    .nav-mega-mobile-links a {
        display: flex;
        min-height: 40px;
        align-items: center;
        padding: 7px 10px;
        border-radius: 6px;
        color: #062645 !important;
        font: 600 14px/1.35 var(--gilroy) !important;
        text-decoration: none;
        justify-content: space-between;
    }
    .nav-mega-mobile-links a:hover,
    .nav-mega-mobile-links a:focus-visible { background: #effaff; }
    .nav-mega-service-lists { display: none; }
}

/* Shared service banner background across the requested service pages. */
main.book-editing-page .book-editing-hero,
main.book-designing-page .book-designing-hero,
main.publishing-page .publishing-hero,
main.book-marketing-page .book-marketing-hero,
main.developmental-editing-page .developmental-editing-hero,
main.children-book-page .children-book-hero,
main.writing-page.writing-serv-pg > .writing-hero,
main.book-cover-design-page .cover-design-hero,
main.book-formatting-page .book-formatting-hero,
main.children-book-illustration .children-book-hero,
main.book-illustration-page .book-illustration-hero,
main.author-branding-page .author-branding-hero,
main.ebook-publishing-page .ebook-publishing-hero,
main.amazon-kdp-page .amazon-kdp-hero,
main.audio-book-page .audio-book-hero,
main.amazon-optimization-page .amazon-optimization-hero,
main.amazon-a-content-page .aplus-hero,
main.social-media-promotion-page .social-promotion-hero,
main.author-website-page .author-website-hero,
main.press-release-page .press-release-hero,
main.billboard-marketing-page .billboard-hero {
    background-image: url("../../images/service-main-bg.png") !important;
    background-position: center center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
}

/* Home page hero banner background. */
main > .hero#home {
    background-image: url("../../images/optimized/homemainbg.webp") !important;
    background-position: center center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
}

/* Desktop genre grid; the same cards become a one-at-a-time mobile carousel. */
.genres.section-space .genre-slider {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
}
.genres.section-space .genre-card {
    height: 253px;
    margin: 0;
}
.genres.section-space .genre-controls { display: none; }

@media (max-width: 700px) {
    .genres.section-space .genre-slider:not(.slick-initialized) {
        grid-template-columns: minmax(0, 1fr);
    }
    .genres.section-space .genre-slider.slick-initialized { display: block; }
    .genres.section-space .genre-slider .slick-slide { padding: 5px 8px; }
    .genres.section-space .genre-controls { display: flex; margin-top: 10px; }
}

/* Keep the portfolio wordmark visible on the book-formatting page. */
body.book-formatting-route section.portfolio > .portfolio-mark {
    display: block !important;
    z-index: 0;
    visibility: visible;
    opacity: 1;
    pointer-events: none;
    -webkit-text-stroke-color: rgba(141, 201, 222, .34);
}

/* Ten process pages use topic-specific color palettes and matching artwork. */
.page-theme--01 { --step-paper:#d8f2f6; --step-edge:#a8e0e9; --step-accent:#126a7a; }
.page-theme--02 { --step-paper:#eee4ff; --step-edge:#d3baf2; --step-accent:#68449b; }
.page-theme--03 { --step-paper:#ffebe1; --step-edge:#ffc6a9; --step-accent:#a84c28; }
.page-theme--04 { --step-paper:#dff3e5; --step-edge:#b8e0c6; --step-accent:#286744; }
.page-theme--05 { --step-paper:#fff0c7; --step-edge:#f4d783; --step-accent:#805800; }
.page-theme--06 { --step-paper:#fde2ed; --step-edge:#f2bdd2; --step-accent:#9d315b; }
.page-theme--07 { --step-paper:#d7f2f1; --step-edge:#a9dfdc; --step-accent:#146765; }
.page-theme--08 { --step-paper:#e0e9ff; --step-edge:#bfcefa; --step-accent:#334f9a; }
.page-theme--09 { --step-paper:#f9f0bb; --step-edge:#eddf82; --step-accent:#6b5c08; }
.page-theme--10 { --step-paper:#ffe1c5; --step-edge:#ffc18a; --step-accent:#974b17; }

.flipbook-index li { display:flex; justify-content:space-between; gap:8px; font-size:clamp(.58rem, .8vw, .72rem); line-height:1.15; }
.flipbook-index li span:last-child { flex:0 0 auto; color:#687887;display: none; }
.flipbook-section .page-step {
    border-top:5px solid var(--step-accent);
    background:linear-gradient(145deg,var(--step-paper),var(--step-edge));
}
.flipbook-section .page-step::before {
    position:absolute;
    top:12px;
    right:20px;
    content:attr(data-page);
    color:var(--step-accent);
    opacity:.09;
    font-size:clamp(64px,9vw,118px);
    line-height:1;
    font-weight:800;
    pointer-events:none;
}
.flipbook-section .page-step > :not(.page-art) { position:relative; z-index:1; }
.flipbook-section .page-step .badge-chapter { background:var(--step-accent); color:#fff; }
.flipbook-section .page-step h3 { color:var(--step-accent); }
.flipbook-section .page-step p { color:#44515d !important; line-height:1.5; }
.flipbook-section .page-step .page-number { color:var(--step-accent); font-weight:700; }
.flipbook-section .page-art {
    position:absolute;
    z-index:0;
    top:22%;
    right:8%;
    display:grid;
    width:clamp(110px,15vw,190px);
    aspect-ratio:1;
    place-items:center;
    color:var(--step-accent);
    opacity:.17;
    pointer-events:none;
}
.flipbook-section .page-art::before,
.flipbook-section .page-art::after { position:absolute; content:""; border:2px solid currentColor; }
.flipbook-section .page-art::before {inset:5%;border-radius:35% 65% 58% 42% / 45% 35% 65% 55%;transform:rotate(-18deg);display: none;}
.flipbook-section .page-art::after {inset:20%;border-radius:50%;border-width:1px;transform:rotate(28deg);display: none;}
.flipbook-section .page-eleven {
    border-top:5px solid #5cc3e8;
    background:radial-gradient(ellipse at 72% 26%,#1d6b87 0%,#0c405b 42%,#07283f 100%);
    color:#f5fbff;
}
.flipbook-section .page-eleven-title { position:relative; z-index:1; margin:0; color:#e7c56e; font-family:var(--gilroy); font-size:clamp(36px,5vw,58px); font-weight:800; letter-spacing:.16em; text-shadow:0 8px 24px rgba(0,0,0,.28); }
.flipbook-section .page-eleven-art { position:absolute; inset:0; overflow:hidden; color:rgba(119,224,255,.22); }
.flipbook-section .page-eleven-art span { position:absolute; width:210px; height:210px; border:1px solid currentColor; border-radius:50%; }
.flipbook-section .page-eleven-art span:first-child { top:-90px; right:-45px; }
.flipbook-section .page-eleven-art span:nth-child(2) { bottom:-115px; left:-75px; width:280px; height:280px; }

@media (max-width:600px) {
    .flipbook-section .home-mobile-book-right {
        border-top:4px solid #5cc3e8;
        background:radial-gradient(ellipse at 72% 26%,#1d6b87 0%,#0c405b 42%,#07283f 100%);
    }
    .flipbook-section .home-mobile-book-right .home-mobile-book-end { margin:0; color:#e7c56e; font-size:clamp(18px,5vw,24px); letter-spacing:.1em; text-align:center; }
    .flipbook-section .home-mobile-book-index {
        align-items:stretch;
        justify-content:flex-start;
        gap:6px;
        padding:10px 8px;
        text-align:left;
        background:linear-gradient(135deg,#e4f1f6 0%,#d0e5ef 100%);
    }
    .home-mobile-book-index-heading {margin:0;color:#092a48;font-family:var(--gilroy);font-size: clamp(8px,3vw,15px);line-height:1.15;font-weight: 700;padding-top: 10px;}
    .home-mobile-book-index-list { display:flex; flex-direction:column; gap:3px; margin:0; padding:0; list-style:none; }
    .home-mobile-book-index-list li {display:grid;grid-template-columns:16px minmax(0,1fr);align-items:start;gap:3px;color:#28495f;font-size: clamp(7px,2.4vw,12px);line-height: 1.40;}
    .home-mobile-book-index-list li > span { color:#14718a; font-weight:800; }
    .home-mobile-book-index-list li strong { font-weight:600; }
    .flipbook-section .home-mobile-book-face[class*="page-theme--"] {
        border-top:4px solid var(--step-accent);
        background:linear-gradient(145deg,var(--step-paper),var(--step-edge));
    }
    .flipbook-section .home-mobile-book-face[class*="page-theme--"] > :not(.mobile-page-art) { position:relative; z-index:1; }
    .flipbook-section .mobile-page-art { position:absolute; z-index:0; right:5px; top:28%; width:74px; aspect-ratio:1; color:var(--step-accent); opacity:.13; pointer-events:none; }
    .flipbook-section .mobile-page-art::before,
    .flipbook-section .mobile-page-art::after {position:absolute;inset:5%;content:"";border:1px solid currentColor;border-radius:35% 65% 58% 42% / 45% 35% 65% 55%;transform:rotate(-18deg);display: none;}
    .flipbook-section .mobile-page-art::after { inset:22%; border-radius:50%; transform:rotate(24deg); }
    .flipbook-section .home-mobile-book-face[class*="page-theme--"] h3 {
        margin:6px 0 5px;
        color:var(--step-accent);
        font-size:clamp(12px,3.8vw,15px);
        line-height:1.15;
    }
    .flipbook-section .home-mobile-book-face[class*="page-theme--"] p {
        color:#44515d;
        font-size:clamp(10px,2.8vw,12px);
        line-height:1.22;
    }
    .flipbook-section .home-mobile-book-face .home-mobile-book-kicker { color:var(--step-accent); font-size:11px; }
    .home-mobile-book-page-num { margin-top:auto; align-self:flex-end; color:var(--step-accent); font-size:10px; font-weight:700; }
}

/* Keep the book in its closed first-page state while the footer scripts load. */
.flipbook-section #leaf0 { z-index:20; }
.flipbook-section #leaf1 { z-index:19; }
.flipbook-section #leaf2 { z-index:18; }
.flipbook-section #leaf3 { z-index:17; }
.flipbook-section #leaf4 { z-index:16; }
.flipbook-section #leaf5 { z-index:15; }
.flipbook-section #leaf6 { z-index:14; }
.flipbook-section .home-mobile-book-leaf[data-book-step="1"] { z-index:35; }
.flipbook-section .home-mobile-book-leaf[data-book-step="2"] { z-index:34; }
.flipbook-section .home-mobile-book-leaf[data-book-step="3"] { z-index:33; }
.flipbook-section .home-mobile-book-leaf[data-book-step="4"] { z-index:32; }
.flipbook-section .home-mobile-book-leaf[data-book-step="5"] { z-index:31; }

.author-videos-section .author-video-controls {
    display:flex;
    align-items:center;
    justify-content:center;
    gap:16px;
    margin:18px auto 24px;
}
.author-videos-section .author-video-dots {
    display:flex;
    align-items:center;
    justify-content:center;
    gap:9px;
    margin:0;
}
.author-videos-section .author-video-dot {
    width:9px;
    height:9px;
    padding:0;
    border:0;
    border-radius:999px;
    background:#b8c7d2;
    cursor:pointer;
    transition:width .2s ease, background-color .2s ease;
}
.author-videos-section .author-video-dot.is-active { width:24px; background:#062645; }
.author-videos-section .author-video-dot:focus-visible { outline:2px solid #5cc3e8; outline-offset:3px; }
.author-videos-section .cards-container .video-card:not(.active) { opacity:0; }
.author-videos-section .cards-container .video-card.active { opacity:1; }

/* Reserve the flipbook journey height before JavaScript starts to prevent pin jumps. */
.flipbook-journey-track {
    --flipbook-scroll-distance:3500px;
    --flipbook-end-hold:800px;
    height:calc(100vh + var(--flipbook-scroll-distance) + var(--flipbook-end-hold));
    height:calc(100svh + var(--flipbook-scroll-distance) + var(--flipbook-end-hold));
}
.flipbook-journey-track > .flipbook-section {
    position:sticky;
    top:0;
    height:100vh;
    height:100svh;
    min-height:0;
}

@media (max-width:600px) {
    .flipbook-journey-track { height:auto; }
    .flipbook-journey-track > .flipbook-section { position:relative; top:auto; height:auto; min-height:0; }
}
