.tcs-reader{
  max-width:820px;
  margin:48px auto;
  padding:0 20px 56px;
  font-family:inherit;
}
.tcs-reader-header{text-align:center;margin-bottom:22px}
.tcs-reader-book{font-size:.78rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;opacity:.62;margin-bottom:6px}
.tcs-reader-chapter{margin:0;font-size:clamp(1.25rem,3vw,1.75rem)}

.tcs-reader-stage{
  position:relative;
  min-height:540px;
  padding:0 68px;
  box-sizing:border-box;
  touch-action:pan-y;
  user-select:none;
  overflow:hidden;
}
.tcs-card{
  box-sizing:border-box;
  position:absolute;
  top:0;
  left:68px;
  right:68px;
  width:auto;
  min-height:540px;
  padding:clamp(28px,5vw,52px);
  border:1px solid rgba(0,0,0,.10);
  border-radius:22px;
  background:#fff;
  box-shadow:0 12px 40px rgba(0,0,0,.08);
  outline:none;
  opacity:0;
  visibility:hidden;
  transform:translate3d(100%,0,0);
  transition:transform .42s cubic-bezier(.22,.61,.36,1),opacity .28s ease,visibility 0s linear .42s;
  will-change:transform,opacity;
}
.tcs-card.is-active{
  opacity:1;
  visibility:visible;
  transform:translate3d(0,0,0);
  transition:transform .42s cubic-bezier(.22,.61,.36,1),opacity .28s ease,visibility 0s;
}
.tcs-card.tcs-from-left{
  transform:translate3d(-100%,0,0);
  opacity:0;
  visibility:visible;
}
.tcs-card.tcs-from-right{
  transform:translate3d(100%,0,0);
  opacity:0;
  visibility:visible;
}
.tcs-card.tcs-no-transition{transition:none!important}

.tcs-card-type{
  display:inline-block;
  padding:7px 12px;
  border-radius:999px;
  font-size:.75rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  margin-bottom:22px;
}
.tcs-type-insight{background:#f5dfb5}
.tcs-type-quote{background:#dfe3f5}
.tcs-type-action{background:#dcecdf}
.tcs-card-headline{margin:0 0 26px;font-size:clamp(1.65rem,4vw,2.35rem);line-height:1.15}
.tcs-card-quote{margin:0 0 30px;padding:0 0 0 20px;border-left:3px solid currentColor;font-size:clamp(1.1rem,2.4vw,1.35rem);line-height:1.65;font-style:italic}
.tcs-card-section{margin-top:24px}
.tcs-card-section h4{margin:0 0 7px;font-size:.78rem;letter-spacing:.08em;text-transform:uppercase;opacity:.62}
.tcs-card-section p{margin:0;line-height:1.65}
.tcs-card-action{padding-top:20px;border-top:1px solid rgba(0,0,0,.09)}

.tcs-reader-arrow{
  position:absolute;
  z-index:30;
  top:50%;
  transform:translateY(-50%);
  width:46px;
  height:46px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0;
  border:0;
  border-radius:50%;
  background:rgba(20,20,20,.78);
  color:#fff;
  box-shadow:0 4px 16px rgba(0,0,0,.22);
  cursor:pointer;
  font-family:Arial,sans-serif;
  font-size:30px;
  font-weight:300;
  line-height:1;
  transition:opacity .15s ease,transform .15s ease,background .15s ease;
}
.tcs-reader-arrow:hover{background:rgba(20,20,20,.92);transform:translateY(-50%) scale(1.05)}
.tcs-reader-arrow:active{transform:translateY(-50%) scale(.96)}
.tcs-reader-arrow:disabled{opacity:0;pointer-events:none}
.tcs-reader-arrow-prev{left:8px}
.tcs-reader-arrow-next{right:8px}
.tcs-reader-arrow span{display:block;margin-top:-3px}

.tcs-reader-counter{
  position:absolute;
  top:14px;
  right:82px;
  z-index:35;
  padding:5px 10px;
  border-radius:999px;
  background:rgba(0,0,0,.68);
  color:#fff;
  font-size:.75rem;
  font-weight:700;
  letter-spacing:.03em;
  pointer-events:none;
}

.tcs-reader-dots{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:6px;
  margin:20px auto 0;
  min-height:12px;
}
.tcs-reader-dot{
  width:7px;
  height:7px;
  flex:0 0 7px;
  padding:0;
  border:0;
  border-radius:999px;
  background:#9aa0a8;
  opacity:.34;
  cursor:pointer;
  transition:width .25s ease,transform .25s ease,opacity .25s ease,background .25s ease;
}
.tcs-reader-dot.is-active{
  width:20px;
  flex-basis:20px;
  opacity:1;
  transform:none;
  background:#27364d;
}
.tcs-reader-controls{display:none}
.tcs-reader-hint{margin:12px 0 0;text-align:center;font-size:.75rem;letter-spacing:.02em;opacity:.48}
.tcs-reader-stage.is-dragging .tcs-card{transition:none!important}

@media(max-width:600px){
  .tcs-reader{padding-left:10px;padding-right:10px}
  .tcs-reader-stage{min-height:520px;padding:0 52px}
  .tcs-card{
    left:52px;
    right:52px;
    min-height:520px;
    padding:28px 24px 32px;
    border-radius:18px;
  }
  .tcs-reader-arrow{width:42px;height:42px;font-size:27px;background:rgba(20,20,20,.72)}
  .tcs-reader-arrow-prev{left:3px}
  .tcs-reader-arrow-next{right:3px}
  .tcs-reader-counter{top:10px;right:58px}
  .tcs-reader-dots{margin-top:16px}
}


/* v0.3.5 — Editorial identity */
.tcs-reader{
  max-width:900px;
  margin:64px auto;
  color:#18263b;
}
.tcs-reader-header{
  margin-bottom:30px;
}
.tcs-reader-book{
  font-size:.72rem;
  letter-spacing:.18em;
  font-weight:800;
  color:#7b8491;
  opacity:1;
  margin-bottom:10px;
}
.tcs-reader-chapter{
  font-family:Georgia,"Times New Roman",serif;
  font-weight:500;
  letter-spacing:-.02em;
  color:#18263b;
}
.tcs-reader-stage{
  min-height:570px;
}
.tcs-card{
  min-height:570px;
  padding:58px clamp(38px,6vw,70px);
  border:1px solid rgba(24,38,59,.10);
  border-radius:20px;
  background:
    linear-gradient(rgba(255,255,255,.98),rgba(255,255,255,.98)),
    repeating-linear-gradient(0deg,rgba(24,38,59,.015) 0,rgba(24,38,59,.015) 1px,transparent 1px,transparent 4px);
  box-shadow:0 20px 55px rgba(24,38,59,.08);
}
.tcs-card-type{
  padding:0;
  border-radius:0;
  background:transparent;
  margin-bottom:28px;
  font-size:.69rem;
  letter-spacing:.16em;
  color:#7b8491;
  position:relative;
}
.tcs-card-type:after{
  content:"";
  display:inline-block;
  width:28px;
  height:2px;
  margin-left:10px;
  vertical-align:middle;
  background:currentColor;
  opacity:.45;
}
.tcs-type-insight{background:transparent}
.tcs-type-quote{background:transparent}
.tcs-type-action{background:transparent}

.tcs-card-headline{
  max-width:680px;
  margin:0 0 32px;
  font-family:Georgia,"Times New Roman",serif;
  font-weight:500;
  letter-spacing:-.025em;
  color:#18263b;
}
.tcs-card-quote{
  max-width:650px;
  margin:0 0 38px;
  padding-left:24px;
  border-left:2px solid #b9a06a;
  font-family:Georgia,"Times New Roman",serif;
  color:#334155;
  line-height:1.75;
}
.tcs-card-section{
  max-width:680px;
  margin-top:28px;
}
.tcs-card-section h4{
  color:#7b8491;
  letter-spacing:.15em;
  font-size:.68rem;
  font-weight:800;
}
.tcs-card-section p{
  color:#344256;
  line-height:1.75;
}
.tcs-card-action{
  padding-top:24px;
  border-top:1px solid rgba(24,38,59,.10);
}
.tcs-reader-counter{
  top:18px;
  right:84px;
  background:transparent;
  color:#7b8491;
  padding:0;
  font-size:.68rem;
  letter-spacing:.12em;
}
.tcs-reader-dots{
  margin-top:24px;
  gap:8px;
}
.tcs-reader-dot{
  width:6px;
  flex-basis:6px;
  height:6px;
  background:#aab1bb;
  opacity:.45;
}
.tcs-reader-dot.is-active{
  width:24px;
  flex-basis:24px;
  background:#18263b;
}
.tcs-reader-hint{
  font-family:Georgia,"Times New Roman",serif;
  font-style:italic;
  color:#7b8491;
}
.tcs-reader-arrow{
  width:42px;
  height:42px;
  background:#fff;
  color:#18263b;
  border:1px solid rgba(24,38,59,.14);
  box-shadow:0 5px 18px rgba(24,38,59,.10);
  font-size:27px;
}
.tcs-reader-arrow:hover{
  background:#18263b;
  color:#fff;
}
@media(max-width:600px){
  .tcs-reader{margin:42px auto}
  .tcs-reader-header{margin-bottom:22px}
  .tcs-reader-stage{min-height:540px}
  .tcs-card{
    min-height:540px;
    padding:42px 30px 38px;
  }
  .tcs-reader-counter{right:60px}
}


/* v0.3.6 — Correct chapter metadata */
.single-tcs_chapter .entry-meta,
.single-tcs_chapter .entry-header .entry-meta,
.single-tcs_chapter .post-meta,
.single-tcs_chapter .entry-author,
.single-tcs_chapter .entry-date,
.single-tcs_chapter .posted-on,
.single-tcs_chapter .byline{
  display:none !important;
}

.tcs-reader-meta{
  margin-top:12px;
  text-align:center;
  font-size:.76rem;
  letter-spacing:.05em;
  color:#7b8491;
  font-weight:600;
}
.tcs-reader-meta-separator{
  display:inline-block;
  margin:0 8px;
  opacity:.55;
}


/* v0.3.7 — Book author field and reader metadata */
.tcs-reader-meta{
  margin-top:10px;
  text-align:center;
  font-size:.76rem;
  letter-spacing:.04em;
  color:#7b8491;
  font-weight:500;
}


/* v0.3.8 — Book Quick Edit and public book metadata */
.single-tcs_book .entry-meta,
.single-tcs_book .entry-header .entry-meta,
.single-tcs_book .post-meta,
.single-tcs_book .entry-author,
.single-tcs_book .entry-date,
.single-tcs_book .posted-on,
.single-tcs_book .byline,
.post-type-archive-tcs_book .entry-meta,
.post-type-archive-tcs_book .post-meta,
.post-type-archive-tcs_book .entry-author,
.post-type-archive-tcs_book .entry-date,
.post-type-archive-tcs_book .posted-on,
.post-type-archive-tcs_book .byline{
  display:none !important;
}
.tcs-book-public-author{
  margin:0 0 26px;
  color:#7b8491;
  font-size:.82rem;
  letter-spacing:.05em;
  font-weight:500;
}


/* v0.3.9 — Hide default WordPress/Astra metadata on Book pages */
.single-tcs_book .entry-meta,
.single-tcs_book .entry-header .entry-meta,
.single-tcs_book .post-meta,
.single-tcs_book .entry-author,
.single-tcs_book .entry-date,
.single-tcs_book .posted-on,
.single-tcs_book .byline,
.single-tcs_book .entry-meta .author,
.single-tcs_book .entry-meta .published,
.single-tcs_book .entry-meta .updated,
.single-tcs_book .entry-meta .cat-links,
.single-tcs_book .entry-meta .comments-link {
    display: none !important;
}

/* Keep the actual Credible Story author line clean */
.single-tcs_book .tcs-book-author {
    display: block;
}


.tcs-credible-book-page .entry-meta,
.tcs-credible-book-page .post-meta,
.tcs-credible-book-page .byline,
.tcs-credible-book-page .posted-on {
    display: none !important;
}
