/* ------------------------------------------------------------------
   blogs-legacy.css
   Extracted from the legacy style.css for the blogs/* pages so they
   can adopt the new header/footer partials (main.css) without the old
   shell. Class-anchored body rules only — no old header/footer rules,
   element-level globals, or .container (main.css owns that).
   ------------------------------------------------------------------ */

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}

:root {
  --primary: rgba(78, 90, 244, 1);
  --secondary: rgba(78, 90, 244, 0.05);
  --black-color: #434343;
  --white-color: #ffffff;
  --black: #000000;
}

.text-center {
  text-align: center;
}

.section-header {
  width: 1200px;
  max-width: 100%;
  margin: auto;
}

.section-desc {
  font-size: 18px;
  line-height: 1.5;
  font-weight: 400;
  color: var(--black-color);
  letter-spacing: 0.5px;
}

.text-theme-black {
  color: var(--black-color);
}

.w-100 {
  width: 100%;
}

.h-auto {
  height: auto;
}

.pt-20 {
  padding-top: 1.25rem;
}

.mb-25 {
  margin-bottom: 1.5625rem;
}

.mb-35 {
  margin-bottom: 2.1875rem;
}

.pt-35 {
  padding-top: 2.1875rem;
}

.lh-medium {
  line-height: 1.5;
}

.font-36 {
  font-size: 36px;
}

.font-32 {
  font-size: 32px;

  @media (max-width: 768px) {
    font-size: 24px;
  }

  @media (max-width: 567px) {
    font-size: 22px;
  }
}

.font-16 {
  font-size: 16px;
}

.font-18 {
  font-size: 18px;
}

.font-24 {
  font-size: 24px;
}

.fw-400 {
  font-weight: 400;
}

.fw-500 {
  font-weight: 500;
}

.fw-700 {
  font-weight: 700;
}

@media (max-width: 992px) {
  .font-36 {
    font-size: 30px;
  }

  .font-24 {
    font-size: 22px;
  }
}

@media (max-width: 776px) {
  .text-md-center {
    text-align: center;
  }

  .font-36 {
    font-size: 28px;
  }
}

@media (max-width: 578px) {
  .font-24 {
    font-size: 20px;
  }

  .font-18 {
    font-size: 16px;
  }

  .font-36 {
    font-size: 24px;
  }
}

@media (max-width: 991px) {
  .section-desc {
    font-size: 18px;
  }
}

@media (max-width: 578px) {
  .section-desc {
    font-size: 18px;
    line-height: 24px;
  }
}

.blog-section .blog-cards-row {
  display: flex;
  flex-wrap: wrap;
  gap: 35px 22px;
}

.blog-section .blog-cards-row .blog-card {
  width: calc(33% - 16px);
  border: 1px solid rgba(217, 217, 217, 0.23);
  position: relative;
  /* display: flex; */
  border-radius: 10px;
  flex-wrap: wrap;
  align-content: space-between;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.blog-section .blog-cards-row .blog-card:hover {
  box-shadow: 0px 0px 10px -4px var(--black-color);
}

.blog-section .blog-cards-row .blog-card .blog-img {
  transition: transform 0.3s ease-in-out;
}

.blog-section .blog-cards-row .blog-card:hover .blog-img {
  transform: scale(1.05);
}

.blog-card .blog-card-img-wrapper {
  border-radius: 10px 10px 0 0;
}

.blog-section .blog-cards-row .blog-card .blog-card-footer {
  padding: 10px 15px;
  background-color: #f9f9f9;
  border-radius: 0 0 10px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.blog-section .blog-cards-row .blog-card .blog-card-footer .blog-date,
.blog-section .blog-cards-row .blog-card .blog-card-footer .view-blog-btn {
  font-size: 16px;
  font-weight: 400;
  color: rgb(67, 67, 67);
}

.blog-section .blog-cards-row .blog-card .blog-card-footer .view-blog-btn {
  font-weight: 600;
}

.blog-section .blog-cards-row .blog-card .blog-card-title {
  font-size: 20px;
  font-weight: 600;
  padding: 15px 15px 10px;
  color: var(--black);
}

.blog-section .blog-cards-row .blog-card .blog-card-desc {
  font-size: 16px;
  font-weight: 400;
  padding: 0px 15px 15px;
}

.blog-cta-section {
  background-color: #f8fffa;
  border: 2px dashed #7dde9d;
  padding: 40px 20px;
  margin: 20px auto;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  min-height: 250px;
}

.blog-cta-section .image-container {
  flex: 1;
  text-align: center;
  min-width: 200px;
}

.blog-cta-section .image-container img {
  height: auto;
  width: 100%;
}

.blog-cta-section .content-container {
  flex: 2;
  text-align: left;
  padding-left: 20px;
  min-width: 250px;
}

.blog-cta-section .content-container h2 {
  color: #555555;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.3;
}

.blog-cta-section .content-container>p {
  color: #434343;
  font-size: 1rem;
  margin-bottom: 20px;
  line-height: 22px;
  font-weight: 400;
}

.blog-cta-section .bullet-points-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.blog-cta-section .bullet-points-container .col {
  flex: 1;
  min-width: 150px;
}

.blog-cta-section .bullet-points-container .col p {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #434343;
}

.blog-cta-section .content-container .cta-button {
  background-color: #4e5af4;
  color: white;
  padding: 6px 25px 7px 25px;
  text-decoration: none;
  border-radius: 100px;
  font-weight: 500;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  width: max-content;
}

.blog-cta-section .content-container .cta-button span {
  margin-top: 4px;
}

@media screen and (max-width: 992px) {
  .blog-cta-section {
    flex-direction: column;
  }

  .blog-cta-section .image-container {
    max-width: 400px;
    min-width: auto;
  }
}

@media (max-width: 768px) {
  .blog-section .blog-cards-row .blog-card {
    width: calc(50% - 12px);
  }
}

@media (max-width: 578px) {
  .blog-cta-section {
    padding: 20px;
  }

  .blog-section .blog-cards-row .blog-card {
    width: 100%;
  }

  .blog-section .blog-cards-row .blog-card .blog-card-title {
    font-size: 20px;
  }

  .blog-section .blog-cards-row .blog-card .blog-card-footer .view-blog-btn {
    font-size: 14px;
  }

  .blog-section .blog-cards-row .blog-card .blog-card-footer .blog-date {
    font-size: 12px;
  }

  .blog-cta-section .bullet-points-container {
    flex-direction: column;
    gap: 0px;
  }

  .blog-cta-section .image-container {
    display: none;
  }
}

@media screen and (max-width: 450px) {
  .blog-cta-section .content-container {
    padding-left: 0px;
  }

  .blog-cta-section .content-container .cta-button {
    font-size: 0.95rem;
  }

  .blog-cta-section .content-container .cta-button span img {
    width: 12px;
  }
}

@media (max-width: 767px) {
  .mb-25 {
    margin-bottom: 1rem;
  }
}

.vertical-top {
  vertical-align: top;
}

.blog-detail-main {
  display: flex;
  align-items: start;
  justify-content: center;
  gap: 20px;

  @media (max-width: 768px) {
    flex-direction: column;
  }

  @media (max-width: 567px) {}
}

.blog-container {
  flex: 1;
  max-width: 75%;
}

@media (max-width: 768px) {
  .blog-container {
    flex: 1;
    max-width: 100%;
  }
}

.blog-image-wrapper {
  /* border-radius: 8px; */
  position: relative;
}

.blog-image-wrapper img {
  max-height: 500px;
  object-fit: cover;
  border-radius: 12px;
}

.blog-content-container {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6em;
}

.blog-content-container strong {
  clear: both;
  font-weight: 500;
  color: var(--black);
}

.blog-content-container strong {
  display: block;
  margin-top: 14px;
  margin-bottom: 5px;
}

.blog-card {
  display: none;
  transition: opacity 0.3s ease;
}

.line-clamp-2 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  max-height: 80px;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 70px;
}

.blog-card.show {
  display: flex;
  opacity: 1;
}

/* .blog-content-container p {
  margin-bottom: 20px;
} */

.faq-section {
  background-color: #fff;
}

.faq-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #E5E7EB;
  margin-bottom: 1rem;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-question h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1F2937;
  margin: 0;
  padding-right: 2rem;
}

.faq-icon {
  min-width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  color: #4E5AF4;
}

.faq-answer {
  max-height: 0;
  opacity: 0;
  transform: translateY(-10px);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-answer p {
  margin: 0;
  color: #4B5563;
  font-size: 17px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .faq-question h3 {
    font-size: 16px;
  }

  .faq-answer li {
    font-size: 14px;
  }

  .faq-answer ul {
    font-size: 14px;
  }

  .faq-answer p {
    font-size: 14px;
  }
}

.team-modal-img {
  width: 280px;
  /* height: 350px; */
  overflow: hidden;
}

.team-modal-img img {
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center top;
}

body.no-scroll {
  overflow: hidden;
}

/* =====================================================================
   BLOG DETAIL — REVAMP (reusable across every blog detail page)
   Two-column layout: a sticky sidebar (author + table of contents)
   next to the article body. Mirrors the Figma "Site Revamp" design.
   Adopt on any blog by wrapping the sidebar + .blog-container in
   .blog-detail-layout. Article headings/paragraphs stay plain markup.
   ===================================================================== */

/* The sticky sidebar needs a non-scroll-container ancestor. main.css sets
   `main { overflow-x: hidden }`, which creates a scroll container and breaks
   position: sticky. `overflow-x: clip` clips horizontal overflow the same
   way WITHOUT creating a scroll container, so the sidebar can stick. */
main:has(.blog-detail-layout) {
  overflow-x: clip;
}

.blog-detail-layout {
  display: flex;
  align-items: flex-start;
  gap: 64px;
  width: 1080px;
  max-width: 100%;
  margin-inline: auto;
}

.blog-detail-layout .blog-container {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
}

.blog-detail-layout .blog-detail-title {
  margin: 0;
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 1.25;
  letter-spacing: -0.5px;
  color: var(--r180-ink, #0a0e2e);
}

.blog-detail-layout .title-wrapper .font-16 {
  margin: 8px 0 24px;
  color: var(--r180-muted, #52566f);
}

/* --- Sidebar ------------------------------------------------------- */
.blog-sidebar {
  position: sticky;
  top: 100px;
  flex: 0 0 280px;
  width: 280px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.blog-sidebar-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px 20px;
  background: var(--r180-white, #fff);
  border: 0.5px solid var(--r180-border, #e6e8f4);
  border-radius: 8px;
}

.blog-sidebar-card__title {
  margin: 0;
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 24px;
  color: var(--r180-ink, #0a0e2e);
}

/* Author card */
.blog-author {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.blog-author__avatar {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--r180-tint, #eff0fe);
}

.blog-author__meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.blog-author__name {
  margin: 0;
  font-family: "Archivo", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 16px;
  color: var(--r180-ink, #0a0e2e);
}

.blog-author__bio {
  margin: 0;
  font-family: "Archivo", sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 16px;
  color: var(--r180-muted, #52566f);
}

/* Table of contents */
.blog-toc__divider {
  height: 1px;
  margin: 0;
  border: 0;
  background: var(--r180-border, #e6e8f4);
}

.blog-toc__list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0 0 0 12px;
  list-style: none;
}

.blog-toc__list::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0;
  bottom: 0;
  width: 2px;
  border-radius: 2px;
  background: var(--r180-border, #e6e8f4);
}

.blog-toc__link {
  position: relative;
  display: block;
  font-family: "Archivo", sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 24px;
  color: var(--r180-ink, #0a0e2e);
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-toc__link:hover {
  color: var(--r180-periwinkle, #4e5af4);
}

.blog-toc__item.is-active .blog-toc__link {
  color: var(--r180-periwinkle, #4e5af4);
  font-weight: 500;
}

.blog-toc__item.is-active .blog-toc__link::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 0;
  width: 2px;
  height: 100%;
  border-radius: 2px;
  background: var(--r180-periwinkle, #4e5af4);
}

/* --- Article body typography (direct children only, so the nested
       FAQ / CTA blocks keep their own styling) ---------------------- */
.blog-detail-layout .blog-content-container {
  font-family: "Archivo", sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 26px;
  color: var(--r180-ink, #0a0e2e);
}

.blog-detail-layout .blog-content-container>h2 {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 32px;
  color: var(--r180-ink, #0a0e2e);
  scroll-margin-top: 100px;
  margin-top: 40px;
  margin-bottom: 1rem;
}

.blog-detail-layout .blog-content-container>h3 {
  color: #2B2F52;
  font-family: Archivo;
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 26px;
  margin-top: 24px;
  margin-bottom: 1rem;
}

.blog-detail-layout .blog-content-container>img {
  border-radius: 16px;
}

/* --- TL;DR callout (reusable) ------------------------------------- */
.blog-content-container .blog-tldr {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 32px 0;
  padding: 24px;
  background: rgba(78, 90, 244, 0.05);
  border: 1px dashed var(--r180-periwinkle, #4e5af4);
  border-radius: 16px;
}

.blog-tldr__bookmark {
  position: absolute;
  top: -16px;
  left: 16px;
  width: 32px;
  height: 32px;
  line-height: 0;
}

.blog-tldr__bookmark svg {
  display: block;
  width: 32px;
  height: 32px;
}

.blog-content-container .blog-tldr__label {
  margin: 0;
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 26px;
  color: var(--r180-periwinkle, #4e5af4);
}

.blog-content-container .blog-tldr__list {
  margin: 0;
  padding-left: 24px;
  list-style: disc;
  color: var(--r180-ink, #0a0e2e);
  font-family: "Archivo", sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 26px;
}

.blog-content-container .blog-tldr__list li {
  margin-bottom: 8px;
}

.blog-content-container .blog-tldr__list li:last-child {
  margin-bottom: 0;
}

/* --- End-of-article CTA card (reusable) --------------------------- */
.blog-cta {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 40px 0;
  padding: 32px;
  border: 2px solid #fff;
  border-radius: 48px;
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(125, 222, 157, 0.22), transparent 45%),
    radial-gradient(120% 120% at 100% 22%, rgba(125, 222, 157, 0.16), transparent 50%),
    radial-gradient(130% 110% at 50% 135%, rgba(78, 90, 244, 0.16), transparent 55%),
    #ffffff;
  box-shadow: 0 12px 12px rgba(77, 89, 254, 0.05);
}

.blog-cta__header {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.blog-cta__media {
  flex: 0 0 239px;
  width: 239px;
}

.blog-cta__media img {
  display: block;
  width: 100%;
  height: auto;
}

.blog-cta__intro {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 32px;
}

.blog-cta__title {
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 1;
  color: var(--r180-ink, #0a0e2e);
}

.blog-cta__subtitle {
  font-family: "Archivo", sans-serif;
  font-weight: 400 !important;
  font-size: 20px !important;
  line-height: 32px !important;
  color: var(--r180-ink, #0a0e2e);
}

.blog-cta__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 0 24px;
}

.blog-cta__features {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 16px 32px;
}

.blog-cta__feature {
  display: flex;
  align-items: center;
  gap: 15.5px;
  font-family: "Archivo", sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 28px;
  letter-spacing: -0.36px;
  color: var(--r180-periwinkle, #4e5af4);
}

.blog-cta__feature svg {
  flex: 0 0 21px;
  width: 21px;
  height: 21px;
}

.blog-cta__button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 20px 40px;
  border: 2px solid var(--r180-periwinkle, #4e5af4);
  border-radius: 80px;
  background: var(--r180-periwinkle, #4e5af4);
  color: #fff;
  text-decoration: none;
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 24px;
  filter: drop-shadow(0 3px 6px rgba(177, 177, 177, 0.45));
  transition: background 0.2s ease;
}

.blog-cta__button:hover {
  background: #3d49e0;
  border-color: #3d49e0;
}

.blog-cta__button svg {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
}

/* Reset the .blog-content-container base styles (head <style> + legacy
   rules) that would otherwise leak into the CTA when it sits inline. */
.blog-content-container .blog-cta__title,
.blog-content-container .blog-cta__subtitle {
  margin: 0;
}

.blog-content-container .blog-cta__features {
  margin: 0;
  padding: 0;
  list-style: none !important;
}

.blog-content-container .blog-cta__feature {
  margin: 0;
}

.blog-content-container .blog-cta__button,
.blog-content-container .blog-cta__button:hover {
  color: #fff;
  text-decoration: none;
}

@media (max-width: 768px) {
  .blog-cta {
    padding: 24px;
    border-radius: 32px;
  }

  .blog-cta__header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .blog-cta__media {
    flex-basis: auto;
    width: 214px;
    max-width: 80%;
  }

  .blog-cta__intro {
    padding-top: 0;
    align-items: center;
    text-align: center;
  }

  .blog-cta__content {
    padding: 0;
  }

  .blog-cta__features {
    grid-template-columns: 1fr;
  }

  .blog-cta__feature {
    font-size: 16px;
  }

  .blog-cta__button {
    padding: 16px 24px;
    font-size: 18px;
  }
}

/* --- Responsive: stack below the two-column breakpoint. The table of
       contents is desktop-only (hidden on mobile per the design). ---- */
@media (max-width: 991px) {
  .blog-detail-layout {
    flex-direction: column;
    gap: 32px;
    width: 100%;
  }

  .blog-sidebar {
    position: static;
    top: auto;
    flex-basis: auto;
    width: 100%;
  }

  .blog-toc-card {
    display: none;
  }

  .blog-detail-layout .blog-detail-title {
    font-size: 26px;
  }
}


/* =====================================================================
   BLOG PAGES — shared inline styles (moved out of each page)
   Base .blog-content-container typography, the .culture-img helper,
   the team/bio modal, the download modal, and the PDF-CTA banner.
   Previously duplicated in a <style> block on every blog page.
   ===================================================================== */
.blog-content-container a {
  color: #0a0e2e;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.blog-content-container a:hover {
  color: #4e5af4;
}

.blog-content-container h2 {
  margin-block-start: 1.5em;
  margin-block-end: 0.83em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
}

.blog-content-container p {
  color: var(--r180-ink, #0A0E2E);
  font-family: Archivo;
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: 26px;
  margin-top: 0;
  margin-bottom: 10px;
}

.blog-content-container ul {
  list-style-type: disc !important;
  padding-left: 20px;
  margin-bottom: 10px;
  margin-top: 10px;
}

.blog-content-container ul ul {
  list-style-type: circle !important;
  padding-left: 20px;
  margin-bottom: 10px;
  margin-top: 10px;
}

.blog-content-container ol {
  list-style-type: decimal;
  padding-left: 20px;
  margin-bottom: 10px;
  margin-top: 10px;
}

.blog-content-container li {
  margin-bottom: 10px;
}

.blog-content-container img {
  margin: 1rem 0;
}

.blog-content-container strong {
  display: inline;
}

.blog-content-container h3 {
  margin-block-start: 1em;
  margin-block-end: 0.83em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
}

.blog-content-container h4 {
  margin-block-start: 1em;
  margin-block-end: 0.83em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
}

@media (min-width: 992px) {
  .culture-img-desktop-80 {
    width: 80% !important;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
}

.modal {
  display: none;
  position: fixed;
  z-index: 1050;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  outline: 0;
}

.modal.show {
  display: block;
}

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1040;
}

.modal-dialog {
  position: relative;
  width: auto;
  margin: 2rem auto;
  max-width: 800px;
  pointer-events: none;
  display: flex;
  align-items: center;
  min-height: calc(100vh - 4rem);
}

.modal.show .modal-dialog {
  pointer-events: auto;
}

.modal-content {
  position: relative;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, .15);
  outline: 0;
  width: 100%;
  padding: 2rem;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  min-height: 200px;
}

.btn-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2rem;
  height: 2rem;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #333;
  opacity: 0.7;
  cursor: pointer;
  z-index: 10;
  line-height: 1;
}

.btn-close:hover {
  opacity: 1;
}

body.modal-open {
  overflow: hidden;
}

.team-modal-content {
  display: flex;
  flex-direction: row;
  padding: 2rem;
  position: relative;
}

.team-modal-img {
  flex: 0 0 280px;
  max-width: 250px;
  margin-right: 2rem;
}

.team-modal-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.team-modal-info {
  flex: 1 1 auto;
  min-width: 240px;
  display: flex;
  flex-direction: column;
}

.modal-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: .25rem;
}

.modal-role {
  font-size: 18px;
  font-weight: 400;
  color: #555;
  margin-bottom: 1rem;
}

.bio-scroll {
  overflow-y: auto;
  max-height: 35vh;
  padding-right: .5rem;
}

@media (max-width: 600px) {
  .modal-dialog {
    max-width: 95vw;
    margin: 1rem auto;
    min-height: unset;
  }

  .modal-content {
    flex-direction: column;
    min-height: unset;
    padding: 1rem;
  }

  .team-modal-img {
    margin: 0 0 1.25rem;
    max-width: 100vw;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .team-modal-img img {
    border-radius: 0;
    width: 100%;
    max-width: 100%;
  }

  .team-modal-info {
    padding: 1rem .5rem;
    width: 100%;
  }

  .bio-scroll {
    max-height: 40vh;
  }
}

/* PDF Download Banner Styles */
.blog-pdf-cta-section {
  background-color: #f8fffa;
  border: 2px dashed #7dde9d;
  padding: 20px 15px;
  margin: 20px auto;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;

}

.blog-pdf-cta-section .content-container {
  text-align: center;
  width: 100%;
  padding-left: 0;
}

.blog-pdf-cta-section .content-container p {
  margin-bottom: 0;
}

.blog-pdf-cta-section .content-container a:hover {
  text-decoration: underline;
}

/* Download Modal Styles */
#downloadModal.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  overflow-x: hidden;
  overflow-y: auto;
}

#downloadModal .modal-content {
  background-color: #ffffff;
  margin: 10% auto;
  padding: 40px;
  border-radius: 16px;
  width: 90%;
  max-width: 500px;
  position: relative;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  display: block;
  flex-direction: column;
  align-items: stretch;
  min-height: auto;
}

#downloadModal .close-modal {
  position: absolute;
  right: 20px;
  top: 20px;
  color: #666;
  font-size: 24px;
  font-weight: 300;
  cursor: pointer;
  transition: color 0.3s ease;
}

#downloadModal .close-modal:hover {
  color: #333;
}

#downloadModal .modal-content h4 {
  font-size: 24px;
  color: #333;

  font-weight: 600;
}

#downloadModal .form-group {
  margin-bottom: 25px;
}

#downloadModal .form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #444;
  font-size: 15px;
}

#downloadModal .form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 15px;
  transition: all 0.3s ease;
  background-color: #f8f9fa;
}

#downloadModal .form-group input:focus {
  outline: none;
  border-color: #4E5AF4;
  box-shadow: 0 0 0 3px rgba(78, 90, 244, 0.1);
  background-color: #fff;
}

#downloadModal .privacy-policy {
  margin: 25px 0;
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

#downloadModal .privacy-policy a {
  color: #4E5AF4;
  text-decoration: none;
  font-weight: 500;
}

#downloadModal .privacy-policy a:hover {
  text-decoration: underline;
}

#downloadModal .submit-btn {
  background-color: #4E5AF4;
  color: white;
  padding: 14px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
}

#downloadModal .submit-btn:hover {
  background-color: #3d4ad4;
  transform: translateY(-1px);
}

#downloadModal .submit-btn:active {
  transform: translateY(0);
}

#downloadModal .success-message {
  text-align: center;
  color: #28a745;
  margin-top: 20px;
  padding: 20px;
  background-color: #f8fff9;
  border-radius: 8px;
  border: 1px solid #d4edda;
}

@media (max-width: 768px) {
  #downloadModal .modal-content {
    margin: 5% auto;
    padding: 30px 20px;
  }
}
/* =====================================================================
   Similar Posts — blog detail pages; card/grid styles come from
   main.css (.bloghub__grid, .bloghub-card--grid)
   ===================================================================== */

.similar-posts {
  padding-bottom: 80px;
}

.similar-posts__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

@media (max-width: 768px) {
  .similar-posts {
    padding-bottom: 64px;
  }

  .similar-posts__inner {
    gap: 24px;
  }
}
