/* Base */
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 400;
  color: #0b1220;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Container */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

@media (min-width: 640px) {
  .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

@media (min-width: 1320px) {
  .container {
    max-width: 1320px;
  }
}


.swiper-slide {
  height: auto !important;
}

.meet-trutimer-pagination {
  position: relative !important;
  margin-top: 2rem;
}

.meet-trutimer-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #ebecf5;
  opacity: 1;
  transition: background-color 0.2s ease;
}

.meet-trutimer-pagination .swiper-pagination-bullet-active {
  background: #333333;
}

.gradient-border {
  border-image-slice: 1;
  border-image-source: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, #FFFFFF 15.38%, #FFFFFF 85.58%, rgba(255, 255, 255, 0) 100%);
}

/* Blog prose headings */
.tt-prose h1 {
  color: #111827;
  font-size: 2.0rem !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  margin-top: 1.6em;
  margin-bottom: 0.6em;
  scroll-margin-top: 6rem;
}

.tt-prose h2 {
  color: #1f2937;
  font-size: 1.6rem !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  margin-top: 1.4em;
  margin-bottom: 0.5em;
  scroll-margin-top: 6rem;
}

.tt-prose h3 {
  color: #1f2937;
  font-size: 1.3rem !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  margin-top: 1.25em;
  margin-bottom: 0.4em;
  scroll-margin-top: 6rem;
}

.tt-prose h4 {
  color: #1f2937;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  margin-top: 1.1em;
  margin-bottom: 0.35em;
  scroll-margin-top: 6rem;
}

.tt-prose h5 {
  color: #1f2937;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  margin-top: 1.0em;
  margin-bottom: 0.3em;
  scroll-margin-top: 6rem;
}

.tt-prose h6 {
  color: #1f2937;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  text-transform: none !important;
  margin-top: 0.9em;
  margin-bottom: 0.25em;
  scroll-margin-top: 6rem;
}

/* ------------------ Modern Blog Editorial Styles ------------------ */

.tt-prose {
  color: #334155;
  font-size: 1.125rem;
  line-height: 1.8;
  word-break: break-word;
}

.tt-prose > * + * {
  margin-top: 1.5rem;
}

.tt-prose > :first-child {
  margin-top: 0;
}

.tt-prose p {
  color: #334155;
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.tt-prose strong {
  color: #0F172A;
  font-weight: 700;
}

.tt-prose a {
  color: #0058AB;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
  transition: color 0.15s ease;
}

.tt-prose a:hover {
  color: #003D76;
}

/* Headings: Clean, modern, editorial typography without forced numbers */
.tt-prose h1 {
  color: #0F172A !important;
  font-size: 2.15rem !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.025em;
  margin-top: 2.75rem !important;
  margin-bottom: 1rem !important;
  scroll-margin-top: 6.5rem;
}

.tt-prose h2 {
  color: #0F172A !important;
  font-size: 1.65rem !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  letter-spacing: -0.02em;
  margin-top: 2.5rem !important;
  margin-bottom: 1rem !important;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid #F1F5F9;
  scroll-margin-top: 6.5rem;
  display: block !important;
}

.tt-prose h3 {
  color: #1E293B !important;
  font-size: 1.3rem !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  letter-spacing: -0.015em;
  margin-top: 2rem !important;
  margin-bottom: 0.75rem !important;
  scroll-margin-top: 6.5rem;
}

.tt-prose h4 {
  color: #334155 !important;
  font-size: 1.125rem !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  margin-top: 1.5rem !important;
  margin-bottom: 0.5rem !important;
  scroll-margin-top: 6.5rem;
  display: block !important;
}

.tt-prose h5 {
  color: #475569 !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  margin-top: 1.25rem !important;
  margin-bottom: 0.45rem !important;
  scroll-margin-top: 6.5rem;
  display: block !important;
}

.tt-prose h6 {
  color: #64748B !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  text-transform: none !important;
  line-height: 1.45 !important;
  margin-top: 1rem !important;
  margin-bottom: 0.4rem !important;
  scroll-margin-top: 6.5rem;
  display: block !important;
}

/* Lists */
.tt-prose ul {
  list-style: disc !important;
  padding-left: 1.6rem !important;
  margin: 1.25rem 0 !important;
}

.tt-prose ol {
  list-style: decimal !important;
  padding-left: 1.6rem !important;
  margin: 1.25rem 0 !important;
}

.tt-prose li {
  margin-top: 0.5rem !important;
  margin-bottom: 0.5rem !important;
  line-height: 1.75 !important;
  color: #334155 !important;
}

.tt-prose li::marker {
  color: #0058AB;
}

/* Blockquotes */
.tt-prose blockquote {
  border-left: 4px solid #0058AB !important;
  background-color: #F8FAFC !important;
  border-radius: 0 1rem 1rem 0 !important;
  padding: 1.25rem 1.65rem !important;
  margin: 2rem 0 !important;
  font-style: italic !important;
  color: #334155 !important;
  font-size: 1.125rem !important;
  line-height: 1.7 !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.tt-prose blockquote p:last-child {
  margin-bottom: 0;
}

/* Code & Pre */
.tt-prose code {
  background-color: #F1F5F9;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  padding: 0.15em 0.4em;
  font-size: 0.88em;
  color: #0F172A;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.tt-prose pre {
  background-color: #0F172A;
  color: #F8FAFC;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  overflow-x: auto;
  margin: 1.75rem 0;
  border: 1px solid #1E293B;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.tt-prose pre code {
  background: none;
  border: none;
  padding: 0;
  color: inherit;
  font-size: 0.9em;
}

/* Images & Media */
.tt-prose img,
.tt-prose video {
  border-radius: 14px;
  max-width: 100%;
  height: auto;
  box-shadow: 0 4px 18px -4px rgba(15, 23, 42, 0.08);
  border: 1px solid #F1F5F9;
  margin: 2rem auto;
  display: block;
}

.tt-prose figure figcaption {
  font-size: 0.875rem;
  color: #64748B;
  text-align: center;
  margin-top: -1rem;
  margin-bottom: 1.75rem;
  font-style: italic;
}

.tt-prose hr {
  border: 0;
  height: 1px;
  background-color: #E2E8F0;
  margin: 3rem 0;
}

/* Callouts */
.tt-prose .takeaways,
.tt-prose .note,
.tt-prose .warning,
.tt-prose .bottomline,
.tt-prose .bottom-line {
  border-radius: 16px !important;
  padding: 1.35rem 1.6rem !important;
  margin: 2.25rem 0 !important;
  border: 1px solid !important;
  box-shadow: 0 2px 12px -2px rgba(15, 23, 42, 0.04) !important;
}

.tt-prose .takeaways {
  background: #F0FDF4 !important;
  border-color: #BBF7D0 !important;
  color: #166534 !important;
}

.tt-prose .takeaways::before {
  content: "Key Takeaways";
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #15803D;
  margin-bottom: 0.6rem;
}

.tt-prose .note {
  background: #F8FAFC !important;
  border-color: #E2E8F0 !important;
  color: #334155 !important;
}

.tt-prose .warning {
  background: #FFFBEB !important;
  border-color: #FDE68A !important;
  color: #92400E !important;
}

.tt-prose .bottomline,
.tt-prose .bottom-line {
  background: #F0F6FB !important;
  border-color: #BAE6FD !important;
  color: #0369A1 !important;
}

.tt-prose .bottomline::before,
.tt-prose .bottom-line::before {
  content: "Bottom Line";
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0284C7;
  margin-bottom: 0.6rem;
}

/* ------------------ Minimalist Table of Contents Rail ------------------ */

.tt-toc-rail {
  position: sticky;
  top: 6.5rem;
  align-self: start;
}

.tt-toc-card-clean {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
  transition: box-shadow 0.2s ease;
}

.tt-toc-card-clean:hover {
  box-shadow: 0 8px 28px -4px rgba(15, 23, 42, 0.08);
}

.tt-toc-list {
  max-height: calc(100vh - 16rem);
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 0.35rem;
  scrollbar-width: thin;
  scrollbar-color: #CBD5E1 transparent;
}

.tt-toc-list::-webkit-scrollbar {
  width: 4px;
}

.tt-toc-list::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 9999px;
}

.tt-toc-item-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  color: #64748B;
  font-size: 0.85rem;
  line-height: 1.4;
  text-decoration: none !important;
  transition: all 0.15s ease;
  border-left: 2px solid transparent;
}

.tt-toc-item-link:hover {
  color: #0058AB !important;
  background-color: #F1F5F9;
}

.tt-toc-item-link[aria-current="true"] {
  color: #0058AB !important;
  font-weight: 600 !important;
  background-color: #EFF6FF;
  border-left-color: #0058AB;
}

.tt-toc-subitem-link {
  padding-left: 1.5rem !important;
  font-size: 0.8125rem;
  color: #64748B;
}
/* Checklist / Task List styles */
ul.contains-task-list {
  list-style: none !important;
  list-style-type: none !important;
  padding-left: 0.25rem !important;
}

li.task-list-item {
  list-style: none !important;
  list-style-type: none !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 0.5rem !important;
  margin: 0.35em 0 !important;
}

li.task-list-item::marker {
  display: none !important;
  content: "" !important;
}

li.task-list-item input[type="checkbox"] {
  margin: 0.28rem 0 0 0 !important;
  width: 1.05rem !important;
  height: 1.05rem !important;
  flex-shrink: 0 !important;
  accent-color: #0058AB !important;
  cursor: default !important;
  pointer-events: none !important;
  vertical-align: middle !important;
  border-radius: 4px;
}
