.tsbt-shell {
  --tsbt-surface: #ffffff;
  --tsbt-line: #e7edf4;
  --tsbt-text: #243449;
  --tsbt-muted: #6b7788;
  --tsbt-accent: #0a66c2;
  --tsbt-accent-soft: #eef5ff;
  --tsbt-warm: #ffb84d;
  --tsbt-shadow: 0 18px 44px rgba(16, 28, 45, 0.06);
  font-family: Manrope, system-ui, sans-serif;
  color: var(--tsbt-text);
  max-width: 1180px;
  margin: 0 auto;
}

.tsbt-shell * {
  box-sizing: border-box;
}

.tsbt-shell img {
  display: block;
  max-width: 100%;
  height: auto;
}

.tsbt-hero-panel {
  margin-bottom: 28px;
  padding: 20px;
  border: 1px solid var(--tsbt-line);
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(10, 102, 194, 0.07), transparent 24%),
    linear-gradient(180deg, #ffffff, #fbfcfe 52%, #f9fbfd);
  box-shadow: var(--tsbt-shadow);
}

.tsbt-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: 32px;
  align-items: center;
}

.tsbt-hero__copy {
  padding: 10px 8px 6px;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tsbt-hero__topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.tsbt-panel__label {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid var(--tsbt-line);
  border-radius: 999px;
  background: #fff;
  color: var(--tsbt-accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tsbt-title {
  margin: 18px 0 12px;
  color: #162338;
  font-size: clamp(30px, 3.9vw, 38px);
  line-height: 1.02;
  font-weight: 650;
  text-wrap: balance;
  letter-spacing: -0.04em;
}

.tsbt-excerpt {
  max-width: 54ch;
  margin: 0 0 18px;
  color: #5a687c;
  font-size: 15px;
  line-height: 1.9;
}

.tsbt-hero__rail {
  display: grid;
  gap: 14px;
}

.tsbt-meta,
.tsbt-share,
.tsbt-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
}

.tsbt-meta {
  color: var(--tsbt-muted);
  font-size: 13px;
  font-weight: 600;
}

.tsbt-meta span::after {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-left: 12px;
  border-radius: 50%;
  background: #c9d2de;
  vertical-align: middle;
}

.tsbt-meta span:last-child::after {
  display: none;
}

.tsbt-share {
  align-items: center;
  gap: 10px;
}

.tsbt-share__label {
  color: var(--tsbt-muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.tsbt-share__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 7px 14px 7px 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff, #f7faff);
  color: var(--tsbt-text);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px var(--tsbt-line);
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.tsbt-share__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.tsbt-share__link:hover,
.tsbt-share__link.is-copied {
  transform: translateY(-1px);
}

.tsbt-share__link--linkedin .tsbt-share__icon {
  background: #0a66c2;
}

.tsbt-share__link--x .tsbt-share__icon {
  background: #111827;
}

.tsbt-share__link--whatsapp .tsbt-share__icon {
  background: #16a34a;
}

.tsbt-share__link--copy .tsbt-share__icon {
  background: linear-gradient(135deg, #10233c, #365b88);
}

.tsbt-share__link--linkedin:hover,
.tsbt-share__link--linkedin.is-copied {
  color: #0a66c2;
  box-shadow: inset 0 0 0 1px rgba(10, 102, 194, 0.18);
  background: #eef6ff;
}

.tsbt-share__link--x:hover,
.tsbt-share__link--x.is-copied {
  color: #111827;
  box-shadow: inset 0 0 0 1px rgba(17, 24, 39, 0.14);
  background: #f4f6f8;
}

.tsbt-share__link--whatsapp:hover,
.tsbt-share__link--whatsapp.is-copied {
  color: #15803d;
  box-shadow: inset 0 0 0 1px rgba(21, 128, 61, 0.16);
  background: #effcf3;
}

.tsbt-share__link--copy:hover,
.tsbt-share__link--copy.is-copied {
  color: #10233c;
  box-shadow: inset 0 0 0 1px rgba(16, 35, 60, 0.14);
  background: #f3f7fb;
}

.tsbt-hero__media {
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--tsbt-line);
  background: linear-gradient(180deg, #fff, #f5f8fc);
  box-shadow: 0 16px 34px rgba(20, 32, 51, 0.08);
}

.tsbt-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.tsbt-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: start;
}

.tsbt-layout--single {
  grid-template-columns: minmax(0, 1fr);
}

.tsbt-panel {
  border: 1px solid var(--tsbt-line);
  border-radius: 24px;
  background: var(--tsbt-surface);
  box-shadow: 0 10px 24px rgba(20, 32, 51, 0.045);
}

.tsbt-article {
  padding: 32px;
}

.tsbt-article > :first-child {
  margin-top: 0;
}

.tsbt-article > :last-child {
  margin-bottom: 0;
}

.tsbt-article h2,
.tsbt-article h3,
.tsbt-article h4 {
  color: #162338;
  font-family: "Source Serif 4", Georgia, serif;
  line-height: 1.24;
  font-weight: 500;
}

.tsbt-article h2 {
  margin: 30px 0 12px;
  font-size: 26px;
}

.tsbt-article h3 {
  margin: 24px 0 10px;
  font-size: 20px;
}

.tsbt-article h4 {
  margin: 20px 0 8px;
  font-size: 17px;
}

.tsbt-article p,
.tsbt-article li {
  color: #37495f;
  font-size: 15px;
  line-height: 1.92;
}

.tsbt-article p {
  margin: 0 0 15px;
}

.tsbt-article ul,
.tsbt-article ol {
  margin: 0 0 18px;
  padding: 0;
}

.tsbt-article ul {
  list-style: none;
}

.tsbt-article ul li {
  position: relative;
  padding-left: 22px;
}

.tsbt-article ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--tsbt-accent), #68a7f0);
}

.tsbt-article ol {
  padding-left: 20px;
}

.tsbt-article li {
  margin-bottom: 8px;
}

.tsbt-article strong {
  color: #1b2b40;
}

.tsbt-article blockquote {
  margin: 24px 0;
  padding: 18px 20px;
  border-left: 3px solid var(--tsbt-warm);
  background: linear-gradient(180deg, #fff8ec, #fffdf8);
  border-radius: 0 18px 18px 0;
  color: #42536a;
}

.tsbt-article .wp-block-image,
.tsbt-article figure {
  margin: 28px 0;
}

.tsbt-article .wp-block-image img,
.tsbt-article figure img {
  border-radius: 20px;
  border: 1px solid var(--tsbt-line);
  box-shadow: 0 14px 34px rgba(20, 32, 51, 0.08);
}

.tsbt-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 26px;
  padding: 24px 26px;
  border-radius: 24px;
  background: linear-gradient(135deg, #10233c 0%, #0a66c2 100%);
  color: #fff;
}

.tsbt-cta h2 {
  margin: 12px 0 10px;
  color: #fff;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.18;
  font-weight: 600;
}

.tsbt-cta p {
  max-width: 60ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  line-height: 1.8;
}

.tsbt-cta .tsbt-panel__label {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.tsbt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 164px;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.tsbt-btn:hover {
  transform: translateY(-1px);
  opacity: 0.96;
}

.tsbt-btn--primary {
  background: #fff;
  color: #10233c;
}

.tsbt-btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.tsbt-related {
  margin-top: 28px;
}

.tsbt-related__head {
  margin-bottom: 14px;
}

.tsbt-related__head h2 {
  margin: 12px 0 0;
  font-size: 26px;
  line-height: 1.18;
  font-weight: 600;
  color: #162338;
}

.tsbt-related__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.tsbt-related__card {
  overflow: hidden;
  border: 1px solid var(--tsbt-line);
  border-radius: 22px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(20, 32, 51, 0.045);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.tsbt-related__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(20, 32, 51, 0.07);
}

.tsbt-related__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.tsbt-related__body {
  padding: 18px;
}

.tsbt-related__meta {
  color: var(--tsbt-muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.tsbt-related__body h3 {
  margin: 8px 0 8px;
  color: #162338;
  font-size: 18px;
  line-height: 1.32;
  font-weight: 600;
}

.tsbt-related__body p {
  margin: 0;
  color: #5b6a7d;
  font-size: 14px;
  line-height: 1.75;
}

@media (max-width: 1180px) {
  .tsbt-hero-panel {
    padding: 14px;
  }

  .tsbt-hero,
  .tsbt-layout,
  .tsbt-layout--single,
  .tsbt-cta,
  .tsbt-related__grid {
    grid-template-columns: 1fr;
  }

  .tsbt-layout {
    display: grid;
  }

  .tsbt-cta {
    align-items: flex-start;
  }
}

@media (max-width: 767px) {
  .tsbt-hero {
    gap: 18px;
  }

  .tsbt-hero-panel {
    padding: 14px;
    border-radius: 24px;
  }

  .tsbt-title {
    font-size: 28px;
    line-height: 1.05;
  }

  .tsbt-excerpt {
    font-size: 14px;
    text-align: left;
  }

  .tsbt-meta {
    font-size: 12px;
  }

  .tsbt-share {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    align-items: center;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .tsbt-share__label {
    flex: 0 0 auto;
    margin-bottom: 0;
  }

  .tsbt-share__link {
    flex: 0 0 auto;
    width: 38px;
    min-width: 38px;
    height: 38px;
    padding: 0;
    justify-content: center;
    border-radius: 999px;
  }

  .tsbt-share__link span:last-child {
    display: none;
  }

  .tsbt-share__icon {
    width: 38px;
    height: 38px;
    font-size: 12px;
  }

  .tsbt-article {
    padding: 22px 18px;
  }

  .tsbt-article h2 {
    font-size: 22px;
  }

  .tsbt-article h3 {
    font-size: 18px;
  }

  .tsbt-article h4 {
    font-size: 16px;
  }

  .tsbt-article p,
  .tsbt-article li {
    font-size: 14px;
    text-align: left;
  }

  .tsbt-cta {
    flex-direction: column;
    align-items: center;
    padding: 20px 18px;
    gap: 16px;
    text-align: center;
  }

  .tsbt-cta__content {
    order: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .tsbt-cta__actions {
    order: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
  }

  .tsbt-btn {
    width: 100%;
    min-width: 0;
  }

  .tsbt-cta h2 {
    font-size: 18px;
    line-height: 1.22;
    margin: 10px 0 8px;
  }

  .tsbt-cta p {
    font-size: 14px;
    line-height: 1.75;
    text-align: center;
  }

  .tsbt-cta .tsbt-panel__label {
    font-size: 10px;
    padding: 7px 10px;
  }
}
