@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

/* ── Reset & base ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #1a1a2e;
  background: #fff;
}

.container {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

a { color: #762197; text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ── Header ────────────────────────────────────────────────────── */
.site-header {
  border-bottom: 1px solid #ececec;
  padding: 1rem 0;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  max-width: 1100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #762197;
  letter-spacing: -0.02em;
}

.site-nav a {
  margin-left: 1.5rem;
  color: #444;
  font-size: 0.9rem;
  font-weight: 500;
}

.site-nav a:hover { color: #762197; text-decoration: none; }

/* ── Post header ───────────────────────────────────────────────── */
.post-header {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid #ececec;
  margin-bottom: 2rem;
}

.post-categories {
  margin-bottom: 0.75rem;
}

.category-tag {
  display: inline-block;
  background: #f3e8fb;
  color: #762197;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2em 0.65em;
  border-radius: 3px;
  margin-right: 0.4rem;
}

.post-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  line-height: 1.25;
  font-weight: 800;
  margin: 0 0 1rem;
  color: #0d0d1a;
  letter-spacing: -0.02em;
}

.post-meta {
  font-size: 0.875rem;
  color: #666;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.post-lang {
  display: inline-block;
  background: #eee;
  border-radius: 3px;
  padding: 0.1em 0.45em;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.post-featured-image {
  margin-top: 2rem;
  border-radius: 8px;
  overflow: hidden;
}

.post-featured-image img {
  width: 100%;
  border-radius: 8px;
}

/* ── Post content ──────────────────────────────────────────────── */
.post-content {
  padding-bottom: 3rem;
}

.post-content h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 2.5rem 0 0.75rem;
  color: #0d0d1a;
}

.post-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 2rem 0 0.5rem;
  color: #0d0d1a;
}

.post-content p { margin: 0 0 1.25rem; }

.post-content ul,
.post-content ol {
  margin: 0 0 1.25rem 1.5rem;
  padding: 0;
}

.post-content li { margin-bottom: 0.4rem; }

.post-content blockquote {
  border-left: 4px solid #762197;
  margin: 1.5rem 0;
  padding: 0.5rem 1.25rem;
  color: #555;
  font-style: italic;
  background: #faf5fd;
}

.post-content img {
  border-radius: 6px;
  margin: 1.5rem auto;
}

.post-content a { color: #762197; }

/* Inline styles from WordPress posts often set font-size on h2/h3 via style attr.
   This resets them so they match our typography. */
.post-content h2[style],
.post-content h3[style] {
  font-size: inherit !important;
}

/* ── Post tags ─────────────────────────────────────────────────── */
.post-footer {
  padding-top: 1.5rem;
  border-top: 1px solid #ececec;
  margin-bottom: 3rem;
}

.post-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }

.tag {
  display: inline-block;
  background: #f5f5f5;
  color: #555;
  font-size: 0.75rem;
  padding: 0.2em 0.6em;
  border-radius: 3px;
}

/* ── Blog index ────────────────────────────────────────────────── */
.blog-index {
  padding: 2.5rem 0;
}

.blog-index h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 2rem;
  color: #0d0d1a;
}

.post-list { list-style: none; margin: 0; padding: 0; }

.post-list-item {
  border-bottom: 1px solid #ececec;
  padding: 1.5rem 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: start;
}

.post-list-item:last-child { border-bottom: none; }

.post-list-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0d0d1a;
  line-height: 1.35;
  margin: 0 0 0.3rem;
}

.post-list-title a { color: inherit; }
.post-list-title a:hover { color: #762197; text-decoration: none; }

.post-list-meta {
  font-size: 0.8rem;
  color: #888;
}

.post-list-thumb {
  width: 100px;
  height: 70px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 2rem 0;
  font-size: 0.9rem;
}

.pagination a,
.pagination .current {
  display: inline-block;
  padding: 0.4em 0.85em;
  border-radius: 4px;
  border: 1px solid #ddd;
  color: #444;
}

.pagination .current {
  background: #762197;
  border-color: #762197;
  color: #fff;
  font-weight: 600;
}

/* ── Footer ────────────────────────────────────────────────────── */
.site-footer {
  background: #f7f7f9;
  border-top: 1px solid #e8e8e8;
  padding: 1.5rem 0;
  font-size: 0.85rem;
  color: #888;
  text-align: center;
}

/* ── Responsive (blog index) ─────────────────────────────────────── */
@media (max-width: 640px) {
  .post-list-item { grid-template-columns: 1fr; }
  .post-list-thumb { width: 100%; height: 180px; }
}

/* ── Page section containers ─────────────────────────────────────── */
.ev-page-section {
  padding: 4% 5%;
}
.ev-page-inner {
  max-width: 1150px;
  margin: 0 auto;
}
.ev-section-large .ev-page-inner  { max-width: 1300px; }
.ev-section-full  .ev-page-inner  { max-width: unset; }
.ev-section-small .ev-page-inner  { max-width: 900px; }
.ev-section-title .ev-page-inner  { max-width: 750px; text-align: center; }

/* ── Demo video section ──────────────────────────────────────────── */
.demo-video-inner {
  display: flex;
  align-items: center;
  gap: 60px;
}
.demo-video-holder { flex: 1; }
.demo-video-text {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media (max-width: 900px) {
  .demo-video-inner { flex-direction: column; gap: 30px; }
  .demo-video-text { width: 100%; }
}

/* ── CTA button section ──────────────────────────────────────────── */
.button-section-wrapper { text-align: center; }

/* ── FAQ accordion ───────────────────────────────────────────────── */
.faq-accordion { margin-top: 2rem; }
.faq-item {
  border-bottom: 1px solid #e0e0e0;
}
.faq-item:first-child { border-top: 1px solid #e0e0e0; }
.faq-question {
  cursor: pointer;
  padding: 1.1rem 2rem 1.1rem 0;
  font-family: "Nunito", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #100210;
  list-style: none;
  position: relative;
  user-select: none;
}
.faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 300;
  color: #555;
  transition: transform 0.2s;
}
details[open] .faq-question::after {
  content: '−';
}
.faq-answer {
  padding: 0 0 1.25rem;
  font-family: "Nunito", sans-serif;
  font-size: 0.95rem;
  color: #444;
  line-height: 1.65;
}
.faq-answer p { margin: 0 0 0.75rem; }
.faq-answer p:last-child { margin-bottom: 0; }

/* ── Post hero section ───────────────────────────────────────────── */
.post-hero {
  background: #000;
  padding: 140px 8% 7%;
}
[cat-holder] .category-tag {
  background: none;
  color: #ffffff !important;
  font-family: "Nunito", Sans-serif;
  font-size: 20px;
  font-weight: 400;
  text-transform: lowercase;
  letter-spacing: 0;
  padding: 0;
  border-radius: 0;
  margin-right: 0.5rem;
  line-height: 1;
}
[cat-holder] .category-tag::first-letter {
  text-transform: capitalize;
}
.post-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  max-width: 1366px;
  margin: 0 auto;
}
.post-hero-title {
  color: #f1f1f1 !important;
  margin-bottom: 1.5rem;
  margin-top: 1rem;
}
.post-hero .category-tag {
  margin-bottom: 0.5rem;
}
.post-hero-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}
.author-photo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid #fff;
}
.post-author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.post-date .post-author-name {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}
.post-meta-row {
  display: flex;
  align-items: center;
  gap: 6px;
}
@media screen and (max-width: 767px) {
  .post-hero { padding: 100px 5% 5%; }
  .post-hero-inner { grid-template-columns: 1fr; }
  .post-hero-right { order: -1; }
}

/* ── Post content 3-column layout ───────────────────────────────── */
.post-content-section {
  padding: 2% 6.4% 0;
}
.post-content-inner {
  display: grid;
  grid-template-columns: 21.4% 56.9% 1fr;
  gap: 2rem;
  max-width: 1366px;
  margin: 0 auto;
  align-items: start;
}
#table-content,
#side-column {
  position: sticky;
  top: 113px;
  max-height: calc(100vh - 113px);
  overflow-y: auto;
}
#side-column {
  background-color: #131314;
  border-radius: 15px;
  padding: 16px 0 0;
}
.side-column-title {
  color: #ffffff;
  font-family: "Nunito", Sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 22px;
  padding: 0 20px;
  margin: 0 0 12px;
  text-align: center;
}
#side-column .button-holder {
  margin-bottom: 5%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.side-promo-image {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
  display: block;
}
@media screen and (max-width: 767px) {
  .post-content-section { padding: 2rem 1rem 0; }
  .post-content-inner { grid-template-columns: 1fr; }
  #table-content { order: 1; }
  #article-content { order: 0; }
  #side-column { order: 2; }
}

/* ── Whitepaper block ────────────────────────────────────────────── */
.whitepaper-div {
  background-color: #212027 !important;
  display: flex !important;
  margin-top: 32px !important;
  margin-bottom: 32px !important;
  border-radius: 12px;
}
.whitepaper-divl {
  width: 45% !important;
  display: flex !important;
  align-items: center !important;
}
.whitepaper-img {
  margin: 16px 0;
  padding: 5% 0 5% 8%;
}
.whitepaper-divr {
  width: 55% !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-content: center !important;
  padding: 32px !important;
}
.whitepaper-h4 {
  width: 100% !important;
  color: #F7F7FA !important;
  font-family: "Blatant", Sans-serif !important;
  font-size: 20px !important;
  font-weight: 300 !important;
  line-height: 24px !important;
  letter-spacing: 0px !important;
}
.whitepaper-p {
  width: 100% !important;
  color: #F7F7FAE6 !important;
  font-family: "Nunito", Sans-serif !important;
  font-size: 15px !important;
  font-weight: 300 !important;
  line-height: 22px !important;
}
.whitepaper-form { width: 100% !important; }

.hbspt-form .hs_firstname,
.hbspt-form .hs_company,
.hbspt-form .hs_email { width: 66% !important; }

.hbspt-form .hs_firstname .hs-input,
.hbspt-form .hs_company .hs-input,
.hbspt-form .hs_email .hs-input {
  padding: 4px 14px !important;
  font-family: "Nunito", Sans-serif !important;
  font-size: 15px !important;
  color: #212027 !important;
  line-height: 15px;
}
.hs-submit .hs-button {
  background-color: #AFF4EC !important;
  border-color: #AFF4EC !important;
  color: #111111 !important;
  font-size: 12px !important;
  line-height: 12px !important;
  font-family: "Nunito", Sans-serif !important;
}
.hs-submit .hs-button:hover {
  background-color: #5fd7c9 !important;
  border-color: #5fd7c9 !important;
}
.hbspt-form span {
  font-family: "Nunito", Sans-serif !important;
  font-size: 12px !important;
  color: #F7F7FA !important;
  font-weight: 300 !important;
  line-height: 20px !important;
  margin-bottom: 4px !important;
}
.hbspt-form ul label {
  color: #f2545b !important;
  font-family: "Nunito", Sans-serif !important;
  font-size: 14px !important;
  float: none !important;
  width: auto !important;
  padding: 0 !important;
  line-height: 18px !important;
  white-space: normal !important;
  font-weight: normal !important;
}
.hbspt-form ul { list-style-type: none !important; }
.legal-consent-container { margin-top: 12px !important; }
.legal-consent-container span { margin-bottom: 0 !important; }
.legal-consent-container p {
  font-family: "Nunito", Sans-serif !important;
  color: #F7F7FA !important;
  font-size: 12px !important;
  line-height: 16px !important;
  white-space: normal !important;
  font-weight: normal !important;
}
.legal-consent-container a {
  font-family: "Nunito", Sans-serif !important;
  color: #F7F7FA !important;
  font-size: 12px !important;
  line-height: 16px !important;
  white-space: normal !important;
  font-weight: normal !important;
  text-decoration: underline !important;
}
.inputs-list { padding-left: 0 !important; }
.submitted-message p {
  color: #F7F7FA !important;
  font-family: "Nunito", Sans-serif !important;
  font-size: 20px !important;
  font-weight: 400 !important;
  line-height: 24px !important;
}

@media only screen and (max-width: 1024px) {
  .whitepaper-div { display: block !important; padding: 8px 0; }
  .whitepaper-divl, .whitepaper-divr { width: 100% !important; }
  .whitepaper-divl { display: block !important; text-align: center !important; }
  .whitepaper-divr { padding: 0 5% 5% 5% !important; }
  .whitepaper-img { padding: 0; width: 50% !important; }
  .whitepaper-form { width: 100% !important; }
  .hbspt-form .hs_firstname,
  .hbspt-form .hs_company,
  .hbspt-form .hs_email { width: 100% !important; }
}

/* ── Mobile-only CTA banner (hidden on desktop) ──────────────────── */
.imgright-banner-div {
  max-width: 767px;
  background-color: #131314 !important;
  margin: 28px 0 !important;
  border-radius: 12px;
  box-shadow: 4px 4px 10px 0px #0000001A;
  display: none;
}
@media only screen and (max-width: 767px) {
  .imgright-banner-div { display: flex !important; }
}
.imgright-banner-divl {
  width: 52.8% !important;
  display: flex !important;
  justify-content: center !important;
  flex-direction: column;
  flex-wrap: wrap;
  padding: 26px 0;
}
.imgright-banner-img {
  width: auto;
  max-height: 190px;
}
.imgright-banner-divr {
  width: 47.2% !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-content: end !important;
  justify-content: center !important;
  padding: 26px 24px 0 24px !important;
}
.imgright-banner-h4 {
  margin: 0 0 0 20px;
  color: #ffffff !important;
  font-family: "Blatant", Sans-serif !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 20px !important;
  letter-spacing: 0px !important;
}
.button-anchor { padding: 12px 0; }
.imgright-button {
  margin: 12px 0 12px 20px;
  font-size: 12px;
  padding: 0 12px;
  border: solid 2px #ffffff00;
  font-family: "Nunito", Sans-serif;
  font-weight: 700;
  width: fit-content;
  border-radius: 100px;
  text-decoration: none;
  color: #111111 !important;
  background-color: #ffffff;
}
.imgright-button:hover {
  color: #ffffff !important;
  background-color: #11111100;
  border: solid 2px #ffffff;
  text-decoration: none;
}
.imgright-button:active,
.imgright-button:focus {
  color: #ffffff !important;
  background-color: #11111100;
  border: solid 3px #ffffff;
  text-decoration: none;
}
.imgright-banner-p {
  width: 100% !important;
  color: #F7F7FAE6 !important;
  font-family: "Nunito", Sans-serif !important;
  font-size: 15px !important;
  font-weight: 300 !important;
  line-height: 22px !important;
}
.imgright-banner-form { width: 100% !important; }

/* ── Article content typography ──────────────────────────────────── */
#article-content h2:not(.whitepaper-div) {
  color: #111111;
  font-size: 30px;
  font-family: "Montserrat", Sans-serif;
  font-weight: 400;
  text-align: left;
  margin-top: 32px;
}
#article-content h2 span:not(.whitepaper-div) {
  color: #111111;
  font-size: 30px;
  font-family: "Montserrat", Sans-serif;
  font-weight: 400;
  text-align: left;
  margin-top: 32px;
}
#article-content h3:not(.whitepaper-div) {
  text-align: left;
  font-family: "Nunito", Sans-serif;
  font-size: 25px;
  line-height: 28px;
  font-weight: 400;
  letter-spacing: 0px;
  color: #111111;
  margin-top: 32px;
}
#article-content h3 span:not(.whitepaper-div) {
  text-align: left;
  font-family: "Nunito", Sans-serif;
  font-size: 25px;
  line-height: 28px;
  font-weight: 400;
  letter-spacing: 0px;
  color: #111111;
  margin-top: 32px;
}
#article-content h4:not(.whitepaper-div) {
  text-align: left;
  font-family: "Nunito", Sans-serif;
  font-weight: 500;
  font-size: 21px;
  line-height: 24px;
  letter-spacing: 0px;
  color: #111111;
}
#article-content p:not(.whitepaper-div) {
  text-align: left;
  font-family: "Nunito", Sans-serif;
  letter-spacing: 0px;
  font-size: 18px;
  line-height: 28px;
  color: #100210db;
}
#article-content ul:not(.whitepaper-div),
#article-content ol:not(.whitepaper-div) { margin-bottom: 16px; }
#article-content li:not(.whitepaper-div) {
  text-align: left;
  font-family: "Nunito", Sans-serif;
  letter-spacing: 0px;
  font-size: 18px;
  line-height: 28px;
  color: #100210db;
}
#article-content li::marker {
  color: #111111;
  font-weight: 400;
}
#article-content a:not(.whitepaper-div) {
  color: #6453E7;
  font-weight: 700;
}
#article-content a:hover { text-decoration: underline; }

/* ── Related posts section ───────────────────────────────────────── */
.related-posts-section {
  background: #ffffff;
  padding: 80px 20px 100px;
}
.related-posts-inner {
  max-width: 1120px;
  margin: 0 auto;
}
.related-posts-title {
  font-family: "Blatant", Sans-serif;
  font-size: 40px;
  font-weight: 400;
  color: #100210;
  margin: 0 0 2rem;
  text-align: center;
}
.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.related-posts-grid article.elementor-post {
  border-radius: var(--border-radius-1);
  background-color: var(--color-gray-light);
  box-shadow: var(--shadow-1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  transition: transform 0.2s;
}
.related-posts-grid article.elementor-post:hover {
  transform: scale(1.03);
}
.related-posts-grid .elementor-post__thumbnail {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.related-posts-grid .elementor-post__thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.related-posts-grid .elementor-post__text {
  padding: 20px 20px 70px;
  flex: 1;
  position: relative;
}
.related-posts-grid .elementor-post__meta-data {
  color: #2D2D33;
  font-family: "Nunito", Sans-serif;
  font-size: var(--font-size-text-small);
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: capitalize;
}
.related-posts-grid .elementor-post__title {
  font-family: "Nunito", sans-serif;
  color: #111111;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 10px;
}
.related-posts-grid .elementor-post__title a {
  color: var(--color-black);
  text-decoration: none;
}
.related-posts-grid .elementor-post__title a::after {
  content: '';
  position: absolute;
  inset: 0;
}
.related-posts-grid .elementor-post__read-more {
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: "Nunito", sans-serif;
  font-size: var(--font-size-text);
  color: var(--color-black);
  font-weight: 600;
  pointer-events: none;
}
@media screen and (max-width: 767px) {
  .related-posts-section { padding: 40px 1rem 60px; }
  .related-posts-grid { grid-template-columns: 1fr; }
}

#article-content h2 *,
#article-content h3 *,
#article-content h4 *,
#article-content h5 *,
#article-content h6 * {
  color: #100210 !important;
}
