/*
 * The Author Central — testimonials style parity with the homepage.
 * Scope: all 38 writing landing pages that contain #tac-btr.
 * The repeated #tac-btr selector intentionally raises specificity above legacy page-level dark rules.
 * Reuses the existing review HTML and slider JS; no review text is altered.
 * Visual reference: the homepage's #tacxTestimonialsShowcase in new-style.css.
 */
body #tac-btr#tac-btr#tac-btr {
  --tac-review-bg: #fbfaf7;
  --tac-review-ink: #171717;
  --tac-review-muted: #4d535c;
  --tac-review-gold: #d07b16;
  --tac-review-border: #eadfca;
  --tac-review-width: min(1180px, calc(100vw - 64px));
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 76px 0 76px;
  background: var(--tac-review-bg);
  color: var(--tac-review-ink);
  font-family: 'Fira Sans', 'Open Sans', sans-serif;
}
body #tac-btr#tac-btr#tac-btr::before {
  content: '';
  position: absolute;
  top: 84px;
  left: -145px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  transform: none;
  background: repeating-radial-gradient(circle at center, rgba(201, 168, 76, .13) 0 1px, transparent 1px 12px);
  pointer-events: none;
  z-index: 0;
}
body #tac-btr#tac-btr#tac-btr::after {
  content: '';
  position: absolute;
  right: -120px;
  bottom: 110px;
  width: 300px;
  height: 300px;
  opacity: .35;
  background: radial-gradient(rgba(201, 168, 76, .19) 1px, transparent 1px) 0 0 / 10px 10px;
  pointer-events: none;
}
body #tac-btr#tac-btr#tac-btr .btr-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1500px;
  margin-inline: auto;
}
body #tac-btr#tac-btr#tac-btr .btr-hd {
  max-width: 820px;
  margin: 0 auto 32px;
  padding: 0 24px;
  text-align: center;
}
body #tac-btr#tac-btr#tac-btr .btr-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 14px;
  color: #c98616;
  font-family: 'Fira Sans', sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
}
body #tac-btr#tac-btr#tac-btr .btr-eyebrow::before,
body #tac-btr#tac-btr#tac-btr .btr-eyebrow::after {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background: #d2a12f;
  opacity: .75;
}
body #tac-btr#tac-btr#tac-btr .btr-h2 {
  margin: 0 0 14px;
  color: var(--tac-review-ink);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(29px, 3vw, 44px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -.5px;
  text-transform: none;
}
body #tac-btr#tac-btr#tac-btr .btr-h2 em {
  color: var(--tac-review-gold);
  font-style: italic;
}
body #tac-btr#tac-btr#tac-btr .btr-sub {
  max-width: 560px;
  margin: 0 auto;
  color: #6b6f78;
  font-size: 15px;
  line-height: 1.75;
  font-weight: 400;
}
/* The centered review and two neighboring previews emulate the homepage. */
body #tac-btr#tac-btr#tac-btr .btr-track-wrap {
  position: relative;
  width: 100%;
}
body #tac-btr#tac-btr#tac-btr .btr-track {
  display: flex;
  align-items: stretch;
  gap: 24px;
  width: 100%;
  max-width: none;
  padding: 24px max(18px, calc((100% - var(--tac-review-width)) / 2)) 26px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(18px, calc((100% - var(--tac-review-width)) / 2));
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  user-select: none;
  touch-action: pan-x pan-y;
}
body #tac-btr#tac-btr#tac-btr .btr-track::-webkit-scrollbar { display: none; }
body #tac-btr#tac-btr#tac-btr .btr-track.drag {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
}
body #tac-btr#tac-btr#tac-btr .btr-slide {
  flex: 0 0 var(--tac-review-width);
  width: var(--tac-review-width);
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  padding: 0;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}
body #tac-btr#tac-btr#tac-btr .btr-fade-l,
body #tac-btr#tac-btr#tac-btr .btr-fade-r {
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(22px, 6vw, 105px);
  z-index: 4;
  pointer-events: none;
}
body #tac-btr#tac-btr#tac-btr .btr-fade-l {
  left: 0;
  background: linear-gradient(to right, #fbfaf7 0%, rgba(251, 250, 247, 0) 100%);
}
body #tac-btr#tac-btr#tac-btr .btr-fade-r {
  right: 0;
  background: linear-gradient(to left, #fbfaf7 0%, rgba(251, 250, 247, 0) 100%);
}
body #tac-btr#tac-btr#tac-btr .btr-left,
body #tac-btr#tac-btr#tac-btr .btr-right {
  position: relative;
  min-width: 0;
  min-height: 315px;
  height: 100%;
  padding: 36px 34px;
  border: 1px solid var(--tac-review-border);
  background: linear-gradient(145deg, #fff 0%, #fbfaf7 100%);
  box-shadow: 0 22px 48px rgba(24, 19, 10, .075);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
body #tac-btr#tac-btr#tac-btr .btr-left {
  border-right: 0;
  border-radius: 16px 0 0 16px;
  gap: 13px;
}
body #tac-btr#tac-btr#tac-btr .btr-right {
  border-left: 0;
  border-radius: 0 16px 16px 0;
  gap: 14px;
}
body #tac-btr#tac-btr#tac-btr .btr-left::before,
body #tac-btr#tac-btr#tac-btr .btr-right::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 14% 16%, rgba(201, 168, 76, .10), transparent 38%);
  pointer-events: none;
}
body #tac-btr#tac-btr#tac-btr .btr-slide:hover .btr-left,
body #tac-btr#tac-btr#tac-btr .btr-slide:hover .btr-right {
  border-color: rgba(210, 161, 47, .50);
}
body #tac-btr#tac-btr#tac-btr .btr-left > *,
body #tac-btr#tac-btr#tac-btr .btr-right > * { position: relative; z-index: 1; }
body #tac-btr#tac-btr#tac-btr .btr-book-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 100%;
  padding: 0 10px;
}
body #tac-btr#tac-btr#tac-btr .btr-book-frame { position: relative; width: 204px; max-width: 100%; }
body #tac-btr#tac-btr#tac-btr .btr-book-frame::before {
  content: '';
  position: absolute;
  left: -13px;
  bottom: -13px;
  width: 100%;
  height: 100%;
  border-radius: 7px;
  background: var(--tac-review-gold);
  box-shadow: 0 18px 32px rgba(201, 134, 22, .16);
}
body #tac-btr#tac-btr#tac-btr .btr-book-img {
  position: relative;
  z-index: 1;
  display: block;
  width: 204px;
  height: 290px;
  max-width: 100%;
  border: 1px solid rgba(255, 255, 255, .82);
  border-radius: 7px;
  object-fit: cover;
  box-shadow: 0 24px 46px rgba(55, 39, 5, .26);
}
body #tac-btr#tac-btr#tac-btr .btr-book-frame::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 12px;
  height: 100%;
  border-radius: 7px 0 0 7px;
  background: linear-gradient(to right, rgba(0, 0, 0, .34), rgba(0, 0, 0, 0));
  pointer-events: none;
}
body #tac-btr#tac-btr#tac-btr .btr-qlabel {
  margin: 0 0 4px;
  color: #858585;
  font-family: 'Fira Sans', sans-serif;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}
body #tac-btr#tac-btr#tac-btr .btr-stars {display: flex; align-items: center; gap: 3px;}
body #tac-btr#tac-btr#tac-btr .btr-star {color: var(--tac-review-gold); font-size: 15px;}
body #tac-btr#tac-btr#tac-btr .btr-sc {margin-left: 6px; color: #565656; font-size: 11px; font-weight: 700;}
body #tac-btr#tac-btr#tac-btr .btr-qtext {
  margin: 0;
  padding-left: 18px;
  color: var(--tac-review-muted);
  font-family: 'Fira Sans', sans-serif;
  font-size: 14px;
  line-height: 1.8;
  font-weight: 400;
}
body #tac-btr#tac-btr#tac-btr .btr-qtext::before {
  content: '“';
  color: var(--tac-review-gold);
  opacity: 1;
  font-family: Georgia, serif;
  font-size: 31px;
}
body #tac-btr#tac-btr#tac-btr .btr-service {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: flex-start;
  width: fit-content;
  max-width: 100%;
  margin-top: 3px;
  padding: 7px 12px;
  border: 1px solid rgba(201, 168, 76, .30);
  border-radius: 8px;
  background: rgba(201, 168, 76, .08);
  color: #6b5a24;
  font-size: 11px;
  font-weight: 700;
}
body #tac-btr#tac-btr#tac-btr .btr-service-dot {background: var(--tac-review-gold);}
body #tac-btr#tac-btr#tac-btr .btr-aname {
  margin: 0;
  color: var(--tac-review-ink);
  font-family: 'Fira Sans', sans-serif;
  font-size: 25px;
  font-weight: 900;
  line-height: 1.2;
}
body #tac-btr#tac-btr#tac-btr .btr-arole {
  margin: 0;
  color: #c98616;
  font-size: 12px;
  font-weight: 800;
}
body #tac-btr#tac-btr#tac-btr .btr-adivider {
  width: 44px;
  height: 2px;
  margin: 2px 0;
  background: var(--tac-review-gold);
  opacity: .75;
}
body #tac-btr#tac-btr#tac-btr .btr-adetail {
  margin: 0;
  color: var(--tac-review-muted);
  font-size: 14px;
  line-height: 1.82;
  font-weight: 400;
}
body #tac-btr#tac-btr#tac-btr .btr-vbadge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  gap: 7px;
  margin-top: 4px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(31, 139, 83, .10);
  color: #15804f;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
}
body #tac-btr#tac-btr#tac-btr .btr-vdot {background: #22a06b; width: 7px; height: 7px;}
body #tac-btr#tac-btr#tac-btr .btr-ctrl {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 6px auto 28px;
  padding: 0 16px;
}
body #tac-btr#tac-btr#tac-btr .btr-arr {
  width: 44px;
  height: 44px;
  border: 1px solid var(--tac-review-gold);
  border-radius: 50%;
  background: #fff;
  color: var(--tac-review-gold);
  font-size: 19px;
  box-shadow: 0 12px 26px rgba(24, 19, 10, .08);
  transition: background .25s, color .25s, box-shadow .25s;
}
body #tac-btr#tac-btr#tac-btr .btr-arr:hover {
  background: var(--tac-review-gold);
  border-color: var(--tac-review-gold);
  color: #fff;
}
body #tac-btr#tac-btr#tac-btr .btr-dot {
  background: rgba(201, 168, 76, .34);
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 999px;
}
body #tac-btr#tac-btr#tac-btr .btr-dot.on {
  width: 24px;
  background: var(--tac-review-gold);
}
body #tac-btr#tac-btr#tac-btr .btr-trust {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0;
  width: calc(100% - 48px);
  max-width: 1240px;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--tac-review-border);
  border-radius: 14px;
  background: rgba(255, 255, 255, .85);
  box-shadow: 0 20px 44px rgba(24, 19, 10, .07);
}
body #tac-btr#tac-btr#tac-btr .btr-ti {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  padding: 14px 10px;
  border-right: 1px solid var(--tac-review-border);
  text-align: center;
}
body #tac-btr#tac-btr#tac-btr .btr-ti:last-child {border-right: 0;}
body #tac-btr#tac-btr#tac-btr .btr-tnum {
  color: var(--tac-review-gold);
  font-family: 'Fira Sans', sans-serif;
  font-size: 27px;
  font-weight: 900;
  line-height: 1.1;
}
body #tac-btr#tac-btr#tac-btr .btr-tlbl {
  margin-top: 8px;
  color: #6b6f78;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}
@media (max-width: 1100px) {
  body #tac-btr#tac-btr#tac-btr .btr-slide { grid-template-columns: minmax(0, 1fr) 190px minmax(0, 1fr); }
  body #tac-btr#tac-btr#tac-btr .btr-left,
  body #tac-btr#tac-btr#tac-btr .btr-right { padding: 28px 22px; }
  body #tac-btr#tac-btr#tac-btr .btr-book-frame,
  body #tac-btr#tac-btr#tac-btr .btr-book-img {width: 165px;}
  body #tac-btr#tac-btr#tac-btr .btr-book-img {height: 245px;}
}
@media (max-width: 760px) {
  body #tac-btr#tac-btr#tac-btr { --tac-review-width: calc(100vw - 38px); padding: 60px 0; }
  body #tac-btr#tac-btr#tac-btr .btr-hd { margin-bottom: 20px; }
  body #tac-btr#tac-btr#tac-btr .btr-h2 {font-size: clamp(26px, 6vw, 34px);}
  body #tac-btr#tac-btr#tac-btr .btr-sub {font-size: 13px;}
  body #tac-btr#tac-btr#tac-btr .btr-track {
    gap: 18px;
    padding-block: 12px 24px;
    padding-inline: 19px;
    scroll-padding-inline: 19px;
  }
  body #tac-btr#tac-btr#tac-btr .btr-slide {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
  }
  body #tac-btr#tac-btr#tac-btr .btr-left { grid-column: 1; grid-row: 1; }
  body #tac-btr#tac-btr#tac-btr .btr-book-wrap { grid-column: 1; grid-row: 2; }
  body #tac-btr#tac-btr#tac-btr .btr-right { grid-column: 1; grid-row: 3; }
  body #tac-btr#tac-btr#tac-btr .btr-left,
  body #tac-btr#tac-btr#tac-btr .btr-right {
    min-height: 0;
    height: auto;
    padding: 24px 24px;
    gap: 12px;
  }
  body #tac-btr#tac-btr#tac-btr .btr-left {
    border: 1px solid var(--tac-review-border);
    border-bottom: 0;
    border-radius: 14px 14px 0 0;
  }
  body #tac-btr#tac-btr#tac-btr .btr-right {
    border: 1px solid var(--tac-review-border);
    border-top: 0;
    border-radius: 0 0 14px 14px;
  }
  body #tac-btr#tac-btr#tac-btr .btr-book-wrap {
    height: 190px;
    margin-block: 0;
    background: linear-gradient(145deg, #fff, #fbfaf7);
    border-left: 1px solid var(--tac-review-border);
    border-right: 1px solid var(--tac-review-border);
  }
  body #tac-btr#tac-btr#tac-btr .btr-book-frame,
  body #tac-btr#tac-btr#tac-btr .btr-book-img {width: 116px;}
  body #tac-btr#tac-btr#tac-btr .btr-book-img {height: 160px;}
  body #tac-btr#tac-btr#tac-btr .btr-book-frame::before {left: -7px; bottom: -7px;}
  body #tac-btr#tac-btr#tac-btr .btr-aname {font-size: 22px;}
  body #tac-btr#tac-btr#tac-btr .btr-trust {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: calc(100% - 38px);
  }
  body #tac-btr#tac-btr#tac-btr .btr-ti {border-bottom: 1px solid var(--tac-review-border);}
  body #tac-btr#tac-btr#tac-btr .btr-ti:nth-child(2n) {border-right: 0;}
  body #tac-btr#tac-btr#tac-btr .btr-ti:nth-last-child(-n + 2) {border-bottom: 0;}
  body #tac-btr#tac-btr#tac-btr .btr-ti:last-child:nth-child(odd) {grid-column: 1 / -1;border-right:0;border-bottom:0;}
  body #tac-btr#tac-btr#tac-btr .btr-fade-l,
  body #tac-btr#tac-btr#tac-btr .btr-fade-r {width: 18px;}
}
@media (prefers-reduced-motion: reduce) {
  body #tac-btr#tac-btr#tac-btr .btr-track { scroll-behavior: auto; }
  body #tac-btr#tac-btr#tac-btr .btr-arr {transition: none;}
}
