/* The Author Central — homepage-matched hero and lead forms.
 * Homepage remains the reference. Page-specific content, form actions/fields,
 * hidden security inputs, CTA links and non-hero layout are intentionally retained.
 * The ID alternatives in :is() provide specificity against legacy page rules.
 */

html body :is(#tac-unified-hero, section.hero, section.bookx-hero, section.contactx-hero, section.aboutx-hero, section.genre-detail-hero, section.pkgx-hero, section.privx-hero, section.termsx-hero, section.testix-hero, section.ghostwriting-banner.inner-banner) {
  position: relative !important;
  isolation: isolate !important;
  background: linear-gradient(135deg, #f8f6f2 0%, #fdf9f0 52%, #f4f4f4 100%) !important;
  color: #1a1a1a !important;
  padding: 205px 0 85px !important;
  margin-top: 0 !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

html body :is(#tac-unified-hero, section.hero, section.bookx-hero, section.contactx-hero, section.aboutx-hero, section.genre-detail-hero, section.pkgx-hero, section.privx-hero, section.termsx-hero, section.testix-hero, section.ghostwriting-banner.inner-banner)::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  width: auto !important;
  height: auto !important;
  border-radius: 0 !important;
  background: linear-gradient(rgba(201,168,76,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(201,168,76,.07) 1px, transparent 1px) !important;
  background-size: 80px 80px !important;
  opacity: 1 !important;
  transform: none !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

html body :is(#tac-unified-hero, section.hero, section.bookx-hero, section.contactx-hero, section.aboutx-hero, section.genre-detail-hero, section.pkgx-hero, section.privx-hero, section.termsx-hero, section.testix-hero, section.ghostwriting-banner.inner-banner)::after, html body :is(#tac-unified-hero, section.hero, section.bookx-hero, section.contactx-hero, section.aboutx-hero, section.genre-detail-hero, section.pkgx-hero, section.privx-hero, section.termsx-hero, section.testix-hero, section.ghostwriting-banner.inner-banner) > .hero-lines {
  display: none !important;
}

html body :is(#tac-unified-hero, section.hero, section.bookx-hero, section.contactx-hero, section.aboutx-hero, section.genre-detail-hero, section.pkgx-hero, section.privx-hero, section.termsx-hero, section.testix-hero, section.ghostwriting-banner.inner-banner) > .container, html body :is(#tac-unified-hero, section.hero, section.bookx-hero, section.contactx-hero, section.aboutx-hero, section.genre-detail-hero, section.pkgx-hero, section.privx-hero, section.termsx-hero, section.testix-hero, section.ghostwriting-banner.inner-banner) > .genre-container {
  position: relative !important;
  z-index: 1 !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 1400px !important;
  padding: 0 15px !important;
  margin: 0 auto !important;
}

html body :is(#tac-unified-hero, section.hero, section.bookx-hero, section.contactx-hero, section.aboutx-hero, section.genre-detail-hero, section.pkgx-hero, section.privx-hero, section.termsx-hero, section.testix-hero, section.ghostwriting-banner.inner-banner) :is(.hero-inner, .bookx-hero__grid, .contactx-hero__grid, .aboutx-hero__grid, .genre-hero-grid), html body section.ghostwriting-banner.inner-banner > .container > .row {
  display: grid !important;
  grid-template-columns: minmax(0, 1.56fr) minmax(0, 1fr) !important;
  gap: 28px 44px !important;
  align-items: center !important;
  justify-content: stretch !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 1400px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  position: relative !important;
  z-index: 1 !important;
}

html body :is(#tac-unified-hero, section.hero, section.bookx-hero, section.contactx-hero, section.aboutx-hero, section.genre-detail-hero, section.pkgx-hero, section.privx-hero, section.termsx-hero, section.testix-hero, section.ghostwriting-banner.inner-banner) > .hero-inner {
  padding: 0 15px !important;
}

html body :is(#tac-unified-hero, section.hero, section.bookx-hero, section.contactx-hero, section.aboutx-hero, section.genre-detail-hero, section.pkgx-hero, section.privx-hero, section.termsx-hero, section.testix-hero, section.ghostwriting-banner.inner-banner) :is(.hero-inner, .bookx-hero__grid, .contactx-hero__grid, .aboutx-hero__grid, .genre-hero-grid) > :first-child, html body :is(#tac-unified-hero, section.hero, section.bookx-hero, section.contactx-hero, section.aboutx-hero, section.genre-detail-hero, section.pkgx-hero, section.privx-hero, section.termsx-hero, section.testix-hero, section.ghostwriting-banner.inner-banner) :is(.hero-inner, .bookx-hero__grid, .contactx-hero__grid, .aboutx-hero__grid, .genre-hero-grid) > :nth-child(2), html body section.ghostwriting-banner.inner-banner > .container > .row > :is(.col-md-7,.col-md-5), html body :is(#tac-unified-hero, section.hero, section.bookx-hero, section.contactx-hero, section.aboutx-hero, section.genre-detail-hero, section.pkgx-hero, section.privx-hero, section.termsx-hero, section.testix-hero, section.ghostwriting-banner.inner-banner) :is(.aboutx-hero__form, .contactx-hero__form, .inner-banner-form-main, .home-banner-lead-card-wrap) {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  justify-self: stretch !important;
  flex: none !important;
}

html body section.ghostwriting-banner.inner-banner > .container > .row > :is(.col-md-7,.col-md-5) {
  padding: 0 !important;
}

html body :is(#tac-unified-hero, section.hero, section.bookx-hero, section.contactx-hero, section.aboutx-hero, section.genre-detail-hero, section.pkgx-hero, section.privx-hero, section.termsx-hero, section.testix-hero, section.ghostwriting-banner.inner-banner) :is(.aboutx-hero__form, .contactx-hero__form, .inner-banner-form-main, .home-banner-lead-card-wrap)::before, html body :is(#tac-unified-hero, section.hero, section.bookx-hero, section.contactx-hero, section.aboutx-hero, section.genre-detail-hero, section.pkgx-hero, section.privx-hero, section.termsx-hero, section.testix-hero, section.ghostwriting-banner.inner-banner) :is(.aboutx-hero__form, .contactx-hero__form, .inner-banner-form-main, .home-banner-lead-card-wrap)::after {
  display: none !important;
}

html body :is(#tac-unified-hero, section.hero, section.bookx-hero, section.contactx-hero, section.aboutx-hero, section.genre-detail-hero, section.pkgx-hero, section.privx-hero, section.termsx-hero, section.testix-hero, section.ghostwriting-banner.inner-banner) h1, html body section.ghostwriting-banner.inner-banner .inner-banner-head > h3 {
  font-family: "Playfair Display", serif !important;
  font-size: clamp(34px, 3.6vw, 58px) !important;
  font-weight: 800 !important;
  line-height: 1.02 !important;
  letter-spacing: normal !important;
  color: #1a1a1a !important;
  margin: 0 0 20px !important;
  max-width: none !important;
  text-transform: none !important;
  overflow-wrap: break-word !important;
}

html body :is(#tac-unified-hero, section.hero, section.bookx-hero, section.contactx-hero, section.aboutx-hero, section.genre-detail-hero, section.pkgx-hero, section.privx-hero, section.termsx-hero, section.testix-hero, section.ghostwriting-banner.inner-banner) h1 :is(span,em) {
  font-family: "Fira Sans", sans-serif !important;
  font-size: inherit !important;
  font-weight: 800 !important;
  font-style: normal !important;
  line-height: inherit !important;
  letter-spacing: normal !important;
  display: inline !important;
  color: #c9a84c !important;
}

html body :is(#tac-unified-hero, section.hero, section.bookx-hero, section.contactx-hero, section.aboutx-hero, section.genre-detail-hero, section.pkgx-hero, section.privx-hero, section.termsx-hero, section.testix-hero, section.ghostwriting-banner.inner-banner) :is(.hero-inner, .bookx-hero__grid, .contactx-hero__grid, .aboutx-hero__grid, .genre-hero-grid) > :first-child > p, html body section.ghostwriting-banner.inner-banner .inner-banner-head > p, html body :is(#tac-unified-hero, section.hero, section.bookx-hero, section.contactx-hero, section.aboutx-hero, section.genre-detail-hero, section.pkgx-hero, section.privx-hero, section.termsx-hero, section.testix-hero, section.ghostwriting-banner.inner-banner) :is(.pkgx-hero__inner, .privx-hero__inner, .termsx-hero__inner, .testix-hero__inner) > p {
  font-family: "Fira Sans", sans-serif !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  line-height: 1.85 !important;
  letter-spacing: normal !important;
  color: #555 !important;
  max-width: none !important;
  margin: 0 0 20px !important;
  text-align: justify !important;
  text-align-last: left !important;
}

html body :is(#tac-unified-hero, section.hero, section.bookx-hero, section.contactx-hero, section.aboutx-hero, section.genre-detail-hero, section.pkgx-hero, section.privx-hero, section.termsx-hero, section.testix-hero, section.ghostwriting-banner.inner-banner) :is(.pkgx-hero__inner, .privx-hero__inner, .termsx-hero__inner, .testix-hero__inner) > p {
  max-width: 780px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
  text-align-last: center !important;
}

html body :is(#tac-unified-hero, section.hero, section.bookx-hero, section.contactx-hero, section.aboutx-hero, section.genre-detail-hero, section.pkgx-hero, section.privx-hero, section.termsx-hero, section.testix-hero, section.ghostwriting-banner.inner-banner) :is(.hero-badge, .bookx-label, .contactx-label, .aboutx-label, .genre-kicker, .pkgx-label, .privx-label, .termsx-label, .testix-label) {
  margin-bottom: 18px !important;
  font-family: "Fira Sans", sans-serif !important;
}

html body :is(#tac-unified-hero, section.hero, section.bookx-hero, section.contactx-hero, section.aboutx-hero, section.genre-detail-hero, section.pkgx-hero, section.privx-hero, section.termsx-hero, section.testix-hero, section.ghostwriting-banner.inner-banner) .hero-what :is(h3,li), html body section.ghostwriting-banner.inner-banner .inner-banner-head h6 {
  color: #555 !important;
  font-family: "Fira Sans", sans-serif !important;
}

html body :is(#tac-unified-card, .hero-form, .form-card, .bookx-hero__form-card, .contactx-form-card, .genre-form-card, .inner-banner-form, .final-form, .tacx-final-cta__form, .termsx-form-card, .testix-form-card, .footer-form-new-box, .popupMaintwo .white-back):has(form[action="sendmail.php"]):not(.home-banner-redesign .home-banner-lead-card) {
  box-sizing: border-box !important;
  background: #fff !important;
  color: #1a1a1a !important;
  border: 1px solid rgba(201,168,76,.24) !important;
  border-radius: 0 !important;
  box-shadow: 0 18px 40px rgba(0,0,0,.08) !important;
  padding: 34px 30px 24px !important;
  text-align: left !important;
}

html body :is(#tac-unified-hero, section.hero, section.bookx-hero, section.contactx-hero, section.aboutx-hero, section.genre-detail-hero, section.pkgx-hero, section.privx-hero, section.termsx-hero, section.testix-hero, section.ghostwriting-banner.inner-banner) :is(.hero-form,.form-card,.bookx-hero__form-card,.contactx-form-card,.genre-form-card,.inner-banner-form) {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

html body :is(#tac-unified-card, .hero-form, .form-card, .bookx-hero__form-card, .contactx-form-card, .genre-form-card, .inner-banner-form, .final-form, .tacx-final-cta__form, .termsx-form-card, .testix-form-card, .footer-form-new-box, .popupMaintwo .white-back):has(form[action="sendmail.php"]):not(.home-banner-redesign .home-banner-lead-card):not(.popupMaintwo .white-back)::before, html body :is(#tac-unified-card, .hero-form, .form-card, .bookx-hero__form-card, .contactx-form-card, .genre-form-card, .inner-banner-form, .final-form, .tacx-final-cta__form, .termsx-form-card, .testix-form-card, .footer-form-new-box, .popupMaintwo .white-back):has(form[action="sendmail.php"]):not(.home-banner-redesign .home-banner-lead-card):not(.popupMaintwo .white-back)::after {
  display: none !important;
}

html body :is(#tac-unified-card, .hero-form, .form-card, .bookx-hero__form-card, .contactx-form-card, .genre-form-card, .inner-banner-form, .final-form, .tacx-final-cta__form, .termsx-form-card, .testix-form-card, .footer-form-new-box, .popupMaintwo .white-back):has(form[action="sendmail.php"]):not(.home-banner-redesign .home-banner-lead-card) > :is(h2,h3,h4,h5), html body .popupMaintwo .pop-h > :is(h2,h3) {
  font-family: "Playfair Display", serif !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  line-height: 1.28 !important;
  color: #1a1a1a !important;
  letter-spacing: normal !important;
  text-align: left !important;
  margin: 0 0 10px !important;
  text-transform: none !important;
}

html body :is(#tac-unified-card, .hero-form, .form-card, .bookx-hero__form-card, .contactx-form-card, .genre-form-card, .inner-banner-form, .final-form, .tacx-final-cta__form, .termsx-form-card, .testix-form-card, .footer-form-new-box, .popupMaintwo .white-back):has(form[action="sendmail.php"]):not(.home-banner-redesign .home-banner-lead-card) > p, html body :is(#tac-unified-card, .hero-form, .form-card, .bookx-hero__form-card, .contactx-form-card, .genre-form-card, .inner-banner-form, .final-form, .tacx-final-cta__form, .termsx-form-card, .testix-form-card, .footer-form-new-box, .popupMaintwo .white-back):has(form[action="sendmail.php"]):not(.home-banner-redesign .home-banner-lead-card) > h6 {
  font-family: "Fira Sans", sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
  color: #555 !important;
  text-align: left !important;
  margin: 0 0 24px !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}

html body :is(#tac-unified-card, .hero-form, .form-card, .bookx-hero__form-card, .contactx-form-card, .genre-form-card, .inner-banner-form, .final-form, .tacx-final-cta__form, .termsx-form-card, .testix-form-card, .footer-form-new-box, .popupMaintwo .white-back):has(form[action="sendmail.php"]):not(.home-banner-redesign .home-banner-lead-card) :is(.form-note,.bookx-form__note,.contactx-form-card__privacy,.home-banner-lead-card__privacy,.call-note,.tacx-final-cta__privacy) {
  font-family: "Fira Sans", sans-serif !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  color: #666 !important;
  text-align: left !important;
  margin: 14px 0 0 !important;
}

html body :is(#tac-unified-card, .hero-form, .form-card, .bookx-hero__form-card, .contactx-form-card, .genre-form-card, .inner-banner-form, .final-form, .tacx-final-cta__form, .termsx-form-card, .testix-form-card, .footer-form-new-box, .popupMaintwo .white-back):has(form[action="sendmail.php"]):not(.home-banner-redesign .home-banner-lead-card) :is(.form-note,.call-note,.home-banner-lead-card__privacy) :is(i,strong,a) {
  color: #6f5520 !important;
}

html body :is(#tac-unified-form, form[action="sendmail.php"]):not(.home-banner-redesign form) :is(input:not([type]), input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="url"], select, textarea):not([name="website"]):not([type="hidden"]) {
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: 44px !important;
  min-height: 44px !important;
  padding: 0 14px !important;
  background: #f8f8f8 !important;
  border: 1px solid #ddd !important;
  border-radius: 0 !important;
  color: #6f5520 !important;
  font-family: "Fira Sans", sans-serif !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  letter-spacing: normal !important;
  box-shadow: none !important;
  text-align: left !important;
  caret-color: #c9a84c !important;
}

html body :is(#tac-unified-form, form[action="sendmail.php"]):not(.home-banner-redesign form) :is(input:not([type]), input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="url"], select, textarea):not([name="website"]):not([type="hidden"])::placeholder {
  color: #8a8172 !important;
  opacity: 1 !important;
}

html body :is(#tac-unified-form, form[action="sendmail.php"]):not(.home-banner-redesign form) :is(input:not([type]), input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="url"], select, textarea):not([name="website"]):not([type="hidden"]):focus {
  background: #fffaf0 !important;
  border-color: #c9a84c !important;
  box-shadow: 0 0 0 3px rgba(201,168,76,.16) !important;
  outline: none !important;
}

html body :is(#tac-unified-form, form[action="sendmail.php"]):not(.home-banner-redesign form) select {
  appearance: auto !important;
  padding-right: 14px !important;
  cursor: pointer !important;
}

html body :is(#tac-unified-form, form[action="sendmail.php"]):not(.home-banner-redesign form) select option {
  color: #6f5520 !important;
  background: #fff !important;
}

html body :is(#tac-unified-form, form[action="sendmail.php"]):not(.home-banner-redesign form) :is(button[type="submit"], input[type="submit"], button:not([type])) {
  box-sizing: border-box !important;
  min-height: 48px !important;
  height: auto !important;
  padding: 14px 26px !important;
  background: #c9a84c !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 6px !important;
  box-shadow: 5px 5px 0 #111 !important;
  font-family: "Fira Sans", sans-serif !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: normal !important;
  text-transform: uppercase !important;
  white-space: normal !important;
  cursor: pointer !important;
}

html body :is(#tac-unified-form, form[action="sendmail.php"]):not(.home-banner-redesign form) :is(button[type="submit"], input[type="submit"], button:not([type])):hover {
  background: #e3c870 !important;
  color: #111 !important;
}

html body :is(#tac-unified-form, form[action="sendmail.php"]):not(.home-banner-redesign form) :is(button[type="submit"], input[type="submit"], button:not([type])):focus-visible {
  outline: 2px solid #6f5520 !important;
  outline-offset: 3px !important;
}

html body :is(#tac-unified-card, .hero-form, .form-card, .bookx-hero__form-card, .contactx-form-card, .genre-form-card, .inner-banner-form, .final-form, .tacx-final-cta__form, .termsx-form-card, .testix-form-card, .footer-form-new-box, .popupMaintwo .white-back):has(form[action="sendmail.php"]):not(.home-banner-redesign .home-banner-lead-card) form[action="sendmail.php"] {
  display: block !important;
  margin: 0 !important;
  width: 100% !important;
}

html body :is(#tac-unified-card, .hero-form, .form-card, .bookx-hero__form-card, .contactx-form-card, .genre-form-card, .inner-banner-form, .final-form, .tacx-final-cta__form, .termsx-form-card, .testix-form-card, .footer-form-new-box, .popupMaintwo .white-back):has(form[action="sendmail.php"]):not(.home-banner-redesign .home-banner-lead-card) form[action="sendmail.php"] > :is(input:not([type]), input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="url"], select, textarea):not([name="website"]):not([type="hidden"]) {
  display: block !important;
  margin: 0 0 13px !important;
}

html body :is(#tac-unified-card, .hero-form, .form-card, .bookx-hero__form-card, .contactx-form-card, .genre-form-card, .inner-banner-form, .final-form, .tacx-final-cta__form, .termsx-form-card, .testix-form-card, .footer-form-new-box, .popupMaintwo .white-back):has(form[action="sendmail.php"]):not(.home-banner-redesign .home-banner-lead-card) form[action="sendmail.php"] :is(.fg,.form-field,.bookx-form__field,.home-banner-lead-card__select-wrap) {
  margin: 0 0 13px !important;
  padding: 0 !important;
}

html body :is(#tac-unified-card, .hero-form, .form-card, .bookx-hero__form-card, .contactx-form-card, .genre-form-card, .inner-banner-form, .final-form, .tacx-final-cta__form, .termsx-form-card, .testix-form-card, .footer-form-new-box, .popupMaintwo .white-back):has(form[action="sendmail.php"]):not(.home-banner-redesign .home-banner-lead-card) form[action="sendmail.php"] :is(.fg,.form-field,.bookx-form__field,.home-banner-lead-card__select-wrap) :is(input:not([type]), input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="url"], select, textarea):not([name="website"]):not([type="hidden"]) {
  margin: 0 !important;
  display: block !important;
}

html body :is(#tac-unified-card, .hero-form, .form-card, .bookx-hero__form-card, .contactx-form-card, .genre-form-card, .inner-banner-form, .final-form, .tacx-final-cta__form, .termsx-form-card, .testix-form-card, .footer-form-new-box, .popupMaintwo .white-back):has(form[action="sendmail.php"]):not(.home-banner-redesign .home-banner-lead-card) form[action="sendmail.php"] :is(button[type="submit"],input[type="submit"],button:not([type])) {
  width: 100% !important;
  margin: 4px 0 0 !important;
}

html body :is(#tac-unified-card, .hero-form, .form-card, .bookx-hero__form-card, .contactx-form-card, .genre-form-card, .inner-banner-form, .final-form, .tacx-final-cta__form, .termsx-form-card, .testix-form-card, .footer-form-new-box, .popupMaintwo .white-back):has(form[action="sendmail.php"]):not(.home-banner-redesign .home-banner-lead-card) form[action="sendmail.php"] .home-banner-lead-card__select-wrap::after {
  display: none !important;
}

html body section.ghostwriting-banner.inner-banner .inner-banner-head .banne-star i {
  color: #c9a84c !important;
}

html body section.ghostwriting-banner.inner-banner .banner-awards-list li {
  background: #fff !important;
  border: 1px solid rgba(201,168,76,.2) !important;
}

html body section.ghostwriting-banner.inner-banner .news-sec-cta a {
  background: #111 !important;
  color: #fff !important;
  border-color: #111 !important;
}

html body section.ghostwriting-banner.inner-banner .inner-banner-form h5 {
  text-align: left !important;
}

html body section.ghostwriting-banner.inner-banner .inner-banner-form form > span {
  color: #666 !important;
  font-family: "Fira Sans", sans-serif !important;
  font-size: 13px !important;
}

@media (max-width: 1199.98px) {
html body :is(#tac-unified-hero, section.hero, section.bookx-hero, section.contactx-hero, section.aboutx-hero, section.genre-detail-hero, section.pkgx-hero, section.privx-hero, section.termsx-hero, section.testix-hero, section.ghostwriting-banner.inner-banner) :is(.hero-inner, .bookx-hero__grid, .contactx-hero__grid, .aboutx-hero__grid, .genre-hero-grid), html body section.ghostwriting-banner.inner-banner > .container > .row {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 40px !important;
}

html body :is(#tac-unified-hero, section.hero, section.bookx-hero, section.contactx-hero, section.aboutx-hero, section.genre-detail-hero, section.pkgx-hero, section.privx-hero, section.termsx-hero, section.testix-hero, section.ghostwriting-banner.inner-banner) :is(.hero-form,.form-card,.bookx-hero__form-card,.contactx-form-card,.genre-form-card,.inner-banner-form) {
  max-width: none !important;
  width: 100% !important;
}

}
@media (max-width: 767.98px) {
html body :is(#tac-unified-hero, section.hero, section.bookx-hero, section.contactx-hero, section.aboutx-hero, section.genre-detail-hero, section.pkgx-hero, section.privx-hero, section.termsx-hero, section.testix-hero, section.ghostwriting-banner.inner-banner) {
  padding: 130px 0 54px !important;
}

html body :is(#tac-unified-hero, section.hero, section.bookx-hero, section.contactx-hero, section.aboutx-hero, section.genre-detail-hero, section.pkgx-hero, section.privx-hero, section.termsx-hero, section.testix-hero, section.ghostwriting-banner.inner-banner)::before {
  background-size: 44px 44px !important;
}

html body :is(#tac-unified-hero, section.hero, section.bookx-hero, section.contactx-hero, section.aboutx-hero, section.genre-detail-hero, section.pkgx-hero, section.privx-hero, section.termsx-hero, section.testix-hero, section.ghostwriting-banner.inner-banner) :is(.hero-inner, .bookx-hero__grid, .contactx-hero__grid, .aboutx-hero__grid, .genre-hero-grid), html body section.ghostwriting-banner.inner-banner > .container > .row {
  gap: 28px !important;
}

html body :is(#tac-unified-hero, section.hero, section.bookx-hero, section.contactx-hero, section.aboutx-hero, section.genre-detail-hero, section.pkgx-hero, section.privx-hero, section.termsx-hero, section.testix-hero, section.ghostwriting-banner.inner-banner) > .hero-inner, html body :is(#tac-unified-hero, section.hero, section.bookx-hero, section.contactx-hero, section.aboutx-hero, section.genre-detail-hero, section.pkgx-hero, section.privx-hero, section.termsx-hero, section.testix-hero, section.ghostwriting-banner.inner-banner) > .container, html body :is(#tac-unified-hero, section.hero, section.bookx-hero, section.contactx-hero, section.aboutx-hero, section.genre-detail-hero, section.pkgx-hero, section.privx-hero, section.termsx-hero, section.testix-hero, section.ghostwriting-banner.inner-banner) > .genre-container {
  padding: 0 16px !important;
}

html body :is(#tac-unified-hero, section.hero, section.bookx-hero, section.contactx-hero, section.aboutx-hero, section.genre-detail-hero, section.pkgx-hero, section.privx-hero, section.termsx-hero, section.testix-hero, section.ghostwriting-banner.inner-banner) h1, html body section.ghostwriting-banner.inner-banner .inner-banner-head > h3 {
  font-size: 34px !important;
  line-height: 1.12 !important;
}

html body :is(#tac-unified-hero, section.hero, section.bookx-hero, section.contactx-hero, section.aboutx-hero, section.genre-detail-hero, section.pkgx-hero, section.privx-hero, section.termsx-hero, section.testix-hero, section.ghostwriting-banner.inner-banner) :is(.hero-inner, .bookx-hero__grid, .contactx-hero__grid, .aboutx-hero__grid, .genre-hero-grid) > :first-child > p, html body section.ghostwriting-banner.inner-banner .inner-banner-head > p, html body :is(#tac-unified-hero, section.hero, section.bookx-hero, section.contactx-hero, section.aboutx-hero, section.genre-detail-hero, section.pkgx-hero, section.privx-hero, section.termsx-hero, section.testix-hero, section.ghostwriting-banner.inner-banner) :is(.pkgx-hero__inner, .privx-hero__inner, .termsx-hero__inner, .testix-hero__inner) > p {
  font-size: 14px !important;
  line-height: 1.8 !important;
}

html body :is(#tac-unified-card, .hero-form, .form-card, .bookx-hero__form-card, .contactx-form-card, .genre-form-card, .inner-banner-form, .final-form, .tacx-final-cta__form, .termsx-form-card, .testix-form-card, .footer-form-new-box, .popupMaintwo .white-back):has(form[action="sendmail.php"]):not(.home-banner-redesign .home-banner-lead-card) {
  padding: 28px 20px 22px !important;
}

html body :is(#tac-unified-card, .hero-form, .form-card, .bookx-hero__form-card, .contactx-form-card, .genre-form-card, .inner-banner-form, .final-form, .tacx-final-cta__form, .termsx-form-card, .testix-form-card, .footer-form-new-box, .popupMaintwo .white-back):has(form[action="sendmail.php"]):not(.home-banner-redesign .home-banner-lead-card) > :is(h2,h3,h4,h5) {
  font-size: 20px !important;
}

}

/* Keep textarea sizing above the generic input selector's specificity. */
html body :is(#tac-unified-form, form[action="sendmail.php"]):not(.home-banner-redesign form) textarea[name]:not([name="website"]):not([type="hidden"]) {
  height: 74px !important;
  min-height: 74px !important;
  padding: 12px 14px !important;
  resize: vertical !important;
}
/* Preserve the existing equal-height final CTA columns. */
@media (min-width: 992px) {
  html body :is(#tac-unified-card, .final-form):has(form[action="sendmail.php"]):not(.home-banner-redesign .home-banner-lead-card) > form[action="sendmail.php"] {
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    gap: 9px;
    flex: 1 1 auto;
  }
  html body :is(#tac-unified-card, .final-form):has(form[action="sendmail.php"]):not(.home-banner-redesign .home-banner-lead-card) > form[action="sendmail.php"] .fg {
    margin-bottom: 0 !important;
  }
}
/* Keep the shared discount popup compact and centered above the navigation. */
html body .overlay:has(+ .popupMaintwo[style*="display:"]:not([style*="display: none"])) {
  z-index: 2147483646 !important;
  background: rgba(0,0,0,.72) !important;
}
html body .popupMaintwo.signUpPoptwo {
  position: fixed !important;
  inset: 0 !important;
  transform: none !important;
  margin: auto !important;
  box-sizing: border-box !important;
  width: min(420px, calc(100% - 32px)) !important;
  height: fit-content !important;
  min-height: 0 !important;
  max-height: calc(100vh - 32px) !important;
  max-height: calc(100dvh - 32px) !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  padding: 0 !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: 0 20px 65px rgba(0,0,0,.24) !important;
  z-index: 2147483647 !important;
  /* Leave display to the existing jQuery fadeIn/fadeOut handlers. */
}
html body .popupMaintwo :is(#tac-unified-card, .white-back):has(form[action="sendmail.php"]):not(.home-banner-redesign .home-banner-lead-card) {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 28px 24px 26px !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}
html body .popupMaintwo .white-back > .row {
  margin: 0 !important;
}
html body .popupMaintwo .pop-h {
  padding: 0 !important;
  border: 0 !important;
  margin: 0 !important;
  width: 100% !important;
}
html body .popupMaintwo .pop-h > h2 {
  padding: 0 32px 0 0 !important;
  margin: 0 0 8px !important;
  text-shadow: none !important;
}
html body .popupMaintwo .pop-h > h3:not([style*="display: none"]) {
  font-family: "Fira Sans", sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  padding: 0 !important;
  margin: 0 0 18px !important;
  text-shadow: none !important;
}
html body .popupMaintwo .closePoptwo {
  top: 12px !important;
  right: 12px !important;
  width: 30px !important;
  height: 30px !important;
  background: #111 !important;
  color: #fff !important;
  border-radius: 4px !important;
  z-index: 2 !important;
  text-decoration: none !important;
}
html body .popupMaintwo .closePoptwo:hover,
html body .popupMaintwo .closePoptwo:focus-visible {
  background: #c9a84c !important;
  color: #111 !important;
}
@media (max-width: 480px) {
  html body .popupMaintwo :is(#tac-unified-card, .white-back):has(form[action="sendmail.php"]):not(.home-banner-redesign .home-banner-lead-card) {
    padding: 24px 18px 22px !important;
  }
}

/* Reuse the homepage's top-right offer tag where a page already has one. */
html body :is(#tac-unified-card, .inner-banner-form, .contactx-form-card):has(> :is(.home-banner-lead-card__offer,.contactx-form-card__offer)):not(.home-banner-redesign .home-banner-lead-card) {
  position: relative;
  overflow: visible;
}
html body :is(#tac-unified-card, .inner-banner-form, .contactx-form-card):not(.home-banner-redesign .home-banner-lead-card) > :is(.home-banner-lead-card__offer,.contactx-form-card__offer) {
  position: absolute !important;
  top: -1px !important;
  right: 14px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  height: 20px;
  padding: 0 12px !important;
  margin: 0 !important;
  background: #c9a84c !important;
  color: #fff !important;
  font-family: "Fira Sans", sans-serif !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: .8px;
  border-radius: 0 !important;
}
/* Keep the compact quote forms inline where they originally were inline. */
html body :is(#tac-unified-form, .privx-quote__form,.termsx-quote__form,.testix-quote-section__form) > input:not([type="hidden"]):not([name="website"]) {
  max-width: 250px !important;
}
@media (max-width: 767.98px) {
  html body :is(#tac-unified-form, .privx-quote__form,.termsx-quote__form,.testix-quote-section__form) > input:not([type="hidden"]):not([name="website"]) {
    max-width: 100% !important;
  }
}
