@font-face {
  font-family: "Plain";
  src: url("../fonts/Plain-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Plain";
  src: url("../fonts/Plain-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Plain";
  src: url("../fonts/Plain-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* Palette */
  --c-white: #ffffff;
  --c-bg-dark: #0d0f14;
  --c-bg-card: #161921;
  --c-text-dark: #0f1117;
  --c-text-light: #e8ecf2;
  --c-muted-dark: #6b7280;
  --c-muted-light: rgba(232, 236, 242, 0.55);
  --c-accent: #6c47ff;
  --c-accent-hover: #5a38e0;
  --c-border-dark: rgba(255, 255, 255, 0.07);
  --c-border-light: rgba(15, 17, 23, 0.1);

  /* Layout */
  --container-width: 1200px;
  --container-pad: 24px;
  --gap-card: 18px;

  /* Shape */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

body {
  font-family:
    "Plain",
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
  padding: 0;
  font-family: "Plain";
}

a {
  text-decoration: none;
  font-family: "Plain";
  padding: 0;
  outline: none;
  border: none;
  -webkit-tap-highlight-color: transparent !important;
}

:focus-visible {
  outline: none;
}
textarea {
  font-family: "Plain";
}
a,
button,
div,
span {
  font-family: "Plain";
  -webkit-tap-highlight-color: transparent;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
   CONTAINER
   ============================================================ */
.container {
  max-width: 1280px;
  width: 90%;
  margin: auto;
}

/* ============================================================
   SITE HEADER
   ============================================================ */

.main-web-header {
  background-color: #fff;
  -webkit-backdrop-filter: blur(25px);
  backdrop-filter: blur(25px);
  position: fixed;
  width: 100%;
  z-index: 99;
}
.main-web-header .main-header-wrapper {
  max-width: 1280px;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  height: 80px;
  align-items: center;
}
.main-web-header .main-header-wrapper .main-header-menu-col {
  display: flex;
  align-items: center;
  gap: 72px;
}
.main-web-header .main-header-wrapper .main-header-menu-col .header-menu-col {
  display: flex;
}
.main-web-header
  .main-header-wrapper
  .main-header-menu-col
  .header-menu-col
  .header-menu,
.main-web-header
  .main-header-wrapper
  .main-header-menu-col
  .header-menu-col
  .product-header-menu {
  font-size: 16px;
  color: #303030;
  font-weight: 600;
  line-height: 120%;
  padding: 0 24px;
  cursor: pointer;
  white-space: nowrap;
}
.main-web-header
  .main-header-wrapper
  .main-header-menu-col
  .header-menu-col
  .product-header-menu {
  position: relative;
}
.main-web-header
  .main-header-wrapper
  .main-header-menu-col
  .header-menu-col
  .menu-active-dot {
  width: 6px;
  height: 6px;
  position: absolute;
  left: 52px;
  top: 28px;
  background-color: #4684f8;
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.3s ease;
}
.main-web-header
  .main-header-wrapper
  .main-header-menu-col
  .header-menu-col
  .product-header-menu.active
  .menu-active-dot {
  opacity: 1;
  transform: scale(1);
}
.main-web-header .main-header-wrapper .main-header-btn-col {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}
.main-web-header .main-header-wrapper .main-header-btn-col .header-menu {
  font-size: 16px;
  color: #303030;
  font-weight: 600;
  line-height: 120%;
  padding: 0 24px;
  cursor: pointer;
  white-space: nowrap;
}
.main-web-header .main-header-wrapper .main-header-btn-col .free-trial-btn {
  display: flex;
  height: 48px;
  padding: 0 24px;
  align-items: center;
  border-radius: 6px;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 120%;
  color: #fff;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  background-color: #4684f8;
  white-space: nowrap;
}
.main-web-header
  .main-header-wrapper
  .main-header-btn-col
  .free-trial-btn:hover {
  background-color: #303030;
  color: #fff;
}
@media (max-width: 768px) {
  .main-web-header
    .main-header-wrapper
    .main-header-btn-col
    .free-trial-btn:hover {
    background-color: #4684f8;
  }
}
.main-web-header .product-submenu-container-web {
  border-bottom: 2px solid #d9d9d9;
  background-color: #fff;
  position: absolute;
  top: 78px;
  width: 100%;
  /* ✅ hidden state */
  opacity: 0;
  transform: translateY(-10px);
  visibility: hidden;
  pointer-events: none;
  /* ✅ smooth animation */
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    visibility 0.3s ease;
}
.main-web-header .product-submenu-container-web.active {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
}
.main-web-header .product-submenu-container-web .product-submenu-wrapper-web {
  max-width: 1280px;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 32px 0 48px;
}
.main-web-header
  .product-submenu-container-web
  .product-submenu-wrapper-web
  a
  .product-submenu-item {
  display: flex;
  padding: 24px;
  gap: 24px;
  border-radius: 12px;
  border: 1px solid transparent;
  background-color: #f9f9f9;
  /* ✅ added transition */
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease;
}
.main-web-header
  .product-submenu-container-web
  .product-submenu-wrapper-web
  a
  .product-submenu-item
  .product-menu-icon-col {
  padding-top: 5px;
  position: relative;
  width: 28px;
  min-width: 28px;
}
.main-web-header
  .product-submenu-container-web
  .product-submenu-wrapper-web
  a
  .product-submenu-item
  .product-menu-icon-col
  svg {
  width: 28px;
  height: 28px;
}
.main-web-header
  .product-submenu-container-web
  .product-submenu-wrapper-web
  a
  .product-submenu-item
  .product-menu-icon-col
  .idle-icon,
.main-web-header
  .product-submenu-container-web
  .product-submenu-wrapper-web
  a
  .product-submenu-item
  .product-menu-icon-col
  .active-icon {
  position: absolute;
  top: 5px;
  left: 0;
  transition: opacity 0.3s ease;
}
.main-web-header
  .product-submenu-container-web
  .product-submenu-wrapper-web
  a
  .product-submenu-item
  .product-menu-icon-col
  .active-icon {
  opacity: 0;
}
.main-web-header
  .product-submenu-container-web
  .product-submenu-wrapper-web
  a
  .product-submenu-item
  .product-menu-content-col
  .product-menu-h3 {
  font-size: 20px;
  font-weight: 600;
  line-height: 120%;
  color: #303030;
}
.main-web-header
  .product-submenu-container-web
  .product-submenu-wrapper-web
  a
  .product-submenu-item
  .product-menu-content-col
  .product-menu-p {
  font-size: 16px;
  font-weight: 300;
  line-height: 120%;
  color: #777;
}
.main-web-header
  .product-submenu-container-web
  .product-submenu-wrapper-web
  a:hover
  .product-submenu-item {
  background-color: #f6f9ff;
  border: 1px solid #b5cefc;
}
.main-web-header
  .product-submenu-container-web
  .product-submenu-wrapper-web
  a:hover
  .product-submenu-item
  .idle-icon {
  opacity: 0;
}
.main-web-header
  .product-submenu-container-web
  .product-submenu-wrapper-web
  a:hover
  .product-submenu-item
  .active-icon {
  opacity: 1;
}

.main-mobile-header {
  display: none;
  -webkit-backdrop-filter: blur(50px);
  backdrop-filter: blur(50px);
  background-color: #fff;
  position: relative;
  z-index: 99;
}
.main-mobile-header .mobile-header-wrapper {
  display: flex;
  justify-content: space-between;
  padding: 1.5rem;
}
.main-mobile-header .mobile-header-wrapper .mobile-hamburger {
  width: 24px;
  height: 24px;
  position: relative;
  cursor: pointer;
  /* Top line */
  /* Bottom line */
  /* ✅ Active state → Cross */
}
.main-mobile-header .mobile-header-wrapper .mobile-hamburger span {
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #303030;
  left: 0;
  transition: all 0.3s ease;
}
.main-mobile-header .mobile-header-wrapper .mobile-hamburger span:nth-child(1) {
  top: 4px;
}
.main-mobile-header .mobile-header-wrapper .mobile-hamburger span:nth-child(2) {
  bottom: 4px;
}
.main-mobile-header
  .mobile-header-wrapper
  .mobile-hamburger.active
  span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}
.main-mobile-header
  .mobile-header-wrapper
  .mobile-hamburger.active
  span:nth-child(2) {
  bottom: auto;
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}
.main-mobile-header .mobile-header-dropdown-container {
  position: absolute;
  top: 74px;
  left: 0;
  width: 100%;
  background-color: #fff;
  z-index: 10;
  /* ✅ hidden by default */
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition:
    max-height 0.4s ease,
    opacity 0.3s ease,
    transform 0.3s ease;
  /* ✅ when open */
}
.main-mobile-header .mobile-header-dropdown-container.active {
  max-height: fit-content;
  opacity: 1;
  transform: translateY(0);
}
.main-mobile-header
  .mobile-header-dropdown-container
  .mobile-header-dropdown-wrapper {
  display: flex;
  gap: 8px;
  flex-direction: column;
  padding: 1.5rem;
}
.main-mobile-header
  .mobile-header-dropdown-container
  .mobile-header-dropdown-wrapper
  .mobile-menu-col,
.main-mobile-header
  .mobile-header-dropdown-container
  .mobile-header-dropdown-wrapper
  .product-mobile-menu {
  padding: 24px 0;
  border-bottom: 1px solid #e3e3e3;
  font-size: 25px;
  font-weight: 600;
  line-height: 120%;
  color: #303030;
}
.main-mobile-header
  .mobile-header-dropdown-container
  .mobile-header-dropdown-wrapper
  .mobile-menu-col
  a,
.main-mobile-header
  .mobile-header-dropdown-container
  .mobile-header-dropdown-wrapper
  .product-mobile-menu
  a {
  color: #303030;
}
.main-mobile-header
  .mobile-header-dropdown-container
  .mobile-header-dropdown-wrapper
  .product-mobile-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.main-mobile-header
  .mobile-header-dropdown-container
  .mobile-header-dropdown-wrapper
  .product-mobile-menu
  .dropdown-img {
  transition: transform 0.3s ease;
  transform: rotate(90deg);
}
.main-mobile-header
  .mobile-header-dropdown-container
  .mobile-header-dropdown-wrapper
  .product-mobile-menu.active
  .dropdown-img {
  transform: rotate(270deg);
}
.main-mobile-header
  .mobile-header-dropdown-container
  .mobile-header-dropdown-wrapper
  .product-mobile-submenu-container {
  margin-top: 12px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-5px);
  transition:
    max-height 0.35s ease,
    opacity 0.25s ease,
    transform 0.25s ease;
}
.main-mobile-header
  .mobile-header-dropdown-container
  .mobile-header-dropdown-wrapper
  .product-mobile-submenu-container.active {
  opacity: 1;
  transform: translateY(0);
}
.main-mobile-header
  .mobile-header-dropdown-container
  .mobile-header-dropdown-wrapper
  .product-mobile-submenu-container
  .product-mobile-submenu-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.main-mobile-header
  .mobile-header-dropdown-container
  .mobile-header-dropdown-wrapper
  .product-mobile-submenu-container
  .product-mobile-submenu-wrapper
  .product-mobile-submenu-col {
  display: flex;
  padding: 20px;
  align-items: center;
  gap: 20px;
  font-size: 20px;
  color: #303030;
  font-weight: 400;
  line-height: 120%;
}
.main-mobile-header
  .mobile-header-dropdown-container
  .mobile-header-dropdown-wrapper
  .product-mobile-submenu-container
  .product-mobile-submenu-wrapper
  .product-mobile-submenu-col
  .svg-col
  .icon {
  width: 28px;
  height: 28px;
}
.main-mobile-header
  .mobile-header-dropdown-container
  .mobile-header-dropdown-wrapper
  .product-mobile-submenu-container
  .product-mobile-submenu-wrapper
  .product-mobile-submenu-col
  span {
  margin-top: -5px;
}
.main-mobile-header
  .mobile-header-dropdown-container
  .mobile-header-dropdown-wrapper
  .free-trial-mb-btn {
  display: flex;
  height: 56px;
  padding: 0 32px;
  justify-content: center;
  align-items: center;
  border-radius: 6px;
  background-color: #4684f8;
  width: 100%;
  font-size: 16px;
  color: #fff;
  font-weight: 600;
  line-height: 120%;
  margin: 12px 0;
}
.main-mobile-header
  .mobile-header-dropdown-container
  .mobile-header-dropdown-wrapper
  .signin-mb-btn {
  display: flex;
  height: 56px;
  padding: 21.58px 28px;
  justify-content: center;
  align-items: center;
  border-radius: 6px;
  border: 1px solid #4684f8;
  font-size: 16px;
  color: #4684f8;
  font-weight: 600;
  line-height: 120%;
  margin-bottom: 80px;
}

.main-footer-conatiner {
  padding: 152px 0;
  background-color: #1c1f26;
}
.main-footer-conatiner .main-footer-wrapper {
  max-width: 1280px;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}
.main-footer-conatiner .main-footer-wrapper .footer-menu-wrapper {
  margin: 80px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.main-footer-conatiner
  .main-footer-wrapper
  .footer-menu-wrapper
  .footer-menu-col
  .footer-menu-heading {
  font-size: 20px;
  font-weight: 600;
  line-height: 120%;
  color: #fff;
  margin-bottom: 40px;
}
.main-footer-conatiner
  .main-footer-wrapper
  .footer-menu-wrapper
  .footer-menu-col
  .menu-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.main-footer-conatiner
  .main-footer-wrapper
  .footer-menu-wrapper
  .footer-menu-col
  .menu-wrapper
  .footer-menu {
  font-size: 16px;
  font-weight: 300;
  line-height: 120%;
  color: #9f9f9f;
}
.main-footer-conatiner .main-footer-wrapper .footer-bottom-wrapper {
  display: flex;
  justify-content: space-between;
}
.main-footer-conatiner
  .main-footer-wrapper
  .footer-bottom-wrapper
  .footer-bottom-content-col {
  flex: 1;
  font-size: 16px;
  color: #fff;
  font-weight: 400;
  line-height: 120%;
}
.main-footer-conatiner
  .main-footer-wrapper
  .footer-bottom-wrapper
  .footer-bottom-icon-col {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  gap: 24px;
}

@media (max-width: 768px) {
  .main-web-header {
    display: none;
  }
  .main-mobile-header {
    display: block;
  }
  .main-footer-conatiner {
    padding: 48px 24px;
  }
  .main-footer-conatiner .main-footer-wrapper {
    width: 100%;
  }
  .main-footer-conatiner .main-footer-wrapper .footer-menu-wrapper {
    margin: 0;
    grid-template-columns: 1fr;
  }
  .main-footer-conatiner
    .main-footer-wrapper
    .footer-menu-wrapper
    .footer-menu-col
    .footer-menu-heading {
    margin: 48px 0 40px;
  }
  .main-footer-conatiner .main-footer-wrapper .footer-bottom-wrapper {
    flex-direction: column-reverse;
    gap: 48px;
    margin-top: 48px;
  }
  .main-footer-conatiner
    .main-footer-wrapper
    .footer-bottom-wrapper
    .footer-bottom-icon-col {
    justify-content: space-between;
    gap: 12px;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--c-white);
  border-bottom: 1px solid var(--c-border-light);
}

.site-header .container {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 64px;
}

.site-logo {
  font-size: 18px;
  font-weight: 800;
  color: var(--c-text-dark);
  letter-spacing: -0.03em;
  flex-shrink: 0;
}

/* Primary nav */
.site-nav {
  flex: 1;
}

.site-nav__menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav__menu li a {
  font-size: 14px;
  font-weight: 500;
  color: var(--c-text-dark);
  opacity: 0.7;
  transition: opacity 0.15s;
}
.site-nav__menu li a:hover {
  opacity: 1;
}

.site-header__actions {
  flex-shrink: 0;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition:
    background 0.15s,
    color 0.15s,
    border-color 0.15s;
}

.btn--primary {
  background: var(--c-accent);
  color: var(--c-white);
  border-color: var(--c-accent);
}
.btn--primary:hover {
  background: var(--c-accent-hover);
  border-color: var(--c-accent-hover);
}

.btn--outline {
  background: transparent;
  color: var(--c-text-dark);
  border-color: var(--c-border-light);
}
.btn--outline:hover {
  background: rgba(0, 0, 0, 0.05);
}

/* Category tag pills */
.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(108, 71, 255, 0.1);
  color: var(--c-accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: background 0.15s;
}
.tag:hover {
  background: rgba(108, 71, 255, 0.2);
}

/* ============================================================
   HERO SECTION  (white background)
   ============================================================ */
.main-blog-hero-section {
  background: #f9f9f9;
  padding: 220px 0 140px;
}

.fs-hero__text {
  text-align: center;
  margin-bottom: 42px;
}

.fs-hero__heading {
  font-size: 76px;
  font-weight: 400;
  line-height: 1.2;
  color: #000;
  width: 75%;
  margin: auto;
}

.fs-hero__subheading {
  font-size: 31px;
  font-weight: 300;
  line-height: 120%;
  color: #4f4f4f;
  margin: 48px auto 104px;
}

/* Featured post card (horizontal) */
.fs-hero__card {
  padding: 24px;
  border-radius: 40px;
  background-color: #fff;
  display: flex;
  align-items: stretch;
  gap: 24px;
  overflow: hidden;
  margin-inline: auto;
}

.fs-hero__card-content {
  flex: 1;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 36px;
}

.fs-hero__card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.blog-cat-tag {
  padding: 8px 20px;
  border-radius: 24px;
  background-color: #f9f9f9;
  font-size: 16px;
  font-weight: 600;
  line-height: 120%;
  color: #303030;
}

.fs-hero__card-title {
  font-size: 39px;
  font-weight: 400;
  line-height: 120%;
  color: #000;
  margin: 32px 0 24px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fs-hero__card-excerpt {
  font-size: 20px;
  font-weight: 300;
  line-height: 120%;
  color: #4f4f4f;
  margin-bottom: 32px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.fs-hero__card-meta {
  display: flex;
  gap: 8px;
  align-items: center;
}
.fs-hero__card-meta time {
  font-size: 16px;
  font-weight: 600;
  line-height: 120%;
  color: #4f4f4f;
}

.fs-hero__card-image {
  flex: 0 0 50%;
  max-width: 644px;
  flex-shrink: 0;
}
.fs-hero__card-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 40px;
}
.fs-hero__card-link {
  width: fit-content;
  display: flex;
  height: 48px;
  padding: 0 24px;
  justify-content: center;
  align-items: center;
  border-radius: 6px;
  border: 1px solid #303030;
  background-color: #303030;
  font-size: 16px;
  font-weight: 600;
  line-height: 120%;
  color: #fff;
  transition: all 0.3s ease;
}
.fs-hero__card-link:hover {
  background-color: transparent;
  color: #303030;
}
/* ============================================================
   DARK BLOG SECTION
   ============================================================ */
.fs-blog-section {
  background: #1b1b1b;
  padding: 208px 0;
}

/* ============================================================
   CATEGORY FILTER TABS
   ============================================================ */
.fs-cat-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 76px;
}

.fs-cat-tab {
  display: inline-flex;
  align-items: center;
  height: 46px;
  padding: 0 16px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  line-height: 1.2;
  transition: all 0.3s ease;
}
.fs-cat-tab:hover {
  color: #000;
  background-color: #fff;
}
.fs-cat-tab.is-active {
  color: #000;
  background-color: #fff;
}

/* ============================================================
   BLOG CARD GRID
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

/* Individual card */
.blog-card {
  padding: 16px 0 24px 0;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 4px 30px 0 rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.blog-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Card image */
.blog-card__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  padding: 0 16px;
}
.blog-card__image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 16px;
}

/* Category badge overlaid on image (bottom-left) */
.blog-card__badge-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.blog-card__badge {
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.1);
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  line-height: 120%;
  color: #fff;
  width: fit-content;
}

/* Card body */
.blog-card__body {
  padding: 24px 24px 0;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
}

.blog-card__title {
  font-size: 31px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  color: white;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card__excerpt {
  font-size: 16px;
  font-weight: 300;
  line-height: 120%;
  color: #d9d9d9;
  margin: 12px 0 24px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card__date {
  display: flex;
  gap: 8px;
  padding: 0 24px;
}

.blog-card__date time {
  font-size: 16px;
  font-weight: 600;
  line-height: 120%;
  color: #c6c6c6;
}

/* ============================================================
   PAGINATION
   ============================================================ */
.custom-pagination {
  display: flex;
  align-items: center;
  margin-top: 76px;
  justify-content: center;
  gap: 8px;
}

/* Numbers */
.page-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 20px;
  font-weight: 400;
  line-height: 120%;
  transition: all 0.3s ease;
}

.page-number:hover {
  background: #fff;
  color: #000;
}
.page-number.active {
  background: #fff;
  color: #000;
}

/* Arrows */
.page-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  text-decoration: none;
}
.prev,
.first {
  margin-right: 8px;
}
.next,
.last {
  margin-left: 8px;
}

/* SVG styling */
.arrow-icon {
  width: 16px;
  height: 16px;
}

.arrow-icon path {
  stroke: #ffffff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: 0.2s ease;
}

/* Disabled state */
.page-arrow.disabled {
  pointer-events: none;
  cursor: not-allowed;
}

.page-arrow.disabled .arrow-icon path {
  stroke: #4f4f4f;
}

/* Dots */
.dots {
  color: #fff;
  padding: 0 8px;
  font-size: 20px;
  font-weight: 400;
  line-height: 120%;
}

.pagination-mobile {
  display: none;
}

/* ============================================================
   SINGLE POST PAGE
   ============================================================ */
.fs-single-page {
  padding: 160px 0 208px;
  background: #f9f9f9;
}

.blog-homepage-btn {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 300;
  line-height: 120%;
  color: #4f4f4f;
  margin-bottom: 52px;
}

.blog-post__title {
  font-size: 76px;
  font-weight: 400;
  line-height: 120%;
  color: #000;
}
.blog-post__desc {
  font-size: 25px;
  font-weight: 300;
  line-height: 120%;
  color: #4f4f4f;
  margin: 24px 0 44px;
}

.fs-single-meta-page {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 64px;
}
.fs-single-meta-page time {
  font-size: 20px;
  font-weight: 600;
  line-height: 120%;
  color: #4f4f4f;
}

.blog-post__topic {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.blog-post__topic .blog-cat-tag {
  background-color: #fff;
  padding: 12px 24px;
  font-size: 20px;
  font-weight: 600;
}

.blog-post__featured {
  margin: 0;
}
.blog-post__featured img {
  width: 100%;
  height: auto;
  border-radius: 40px;
}

/* ==========================================================
   SINGLE BLOG LAYOUT
   ========================================================== */

.blog-post__body {
  display: grid;
  grid-template-columns: 354px minmax(0, 1fr);
  gap: 120px;
  align-items: start;
  margin-top: 140px;
}

/* LEFT SIDEBAR */
.blog-post__toc {
  position: sticky;
  top: 120px;
}

/* TOC BOX */
.toc {
  /* border-radius: 16px;
  background: #111; */
}

/* TOC TITLE */
.toc__title {
  margin-bottom: 36px;
  font-size: 25px;
  font-weight: 400;
  line-height: 120%;
  color: #303030;
}

/* ==========================================================
   TOC SIDEBAR
   ========================================================== */

.toc__list {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0 0 0 20px;
  list-style: none;
}

/* LEFT GRAY LINE */
.toc__list::before {
  content: "";
  position: absolute;

  left: 0px;
  top: 0;

  width: 4px;
  height: 100%;

  border-radius: 999px;
  background: #e3e3e3;
}

/* EACH ITEM */
.toc__item {
  position: relative;
}

/* LINK */
.toc__link {
  position: relative;
  display: block;
  color: #777;
  font-size: 20px;
  font-weight: 400;
  line-height: 120%;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 6px 0 10px;
}

/* ACTIVE LINK */
.toc__link.is-active {
  color: #303030;
}

/* ACTIVE BAR */
.toc__link.is-active::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 0;
  width: 4px;
  height: 100%;
  border-radius: 999px;
  background: #303030;
}

/* RIGHT CONTENT */
.blog-post__content {
  min-width: 0;
}
.blog-post__content .wp-block-heading,
.blog-post__content h2 strong,
.blog-post__content h2 {
  font-size: 39px;
  font-weight: 400 !important;
  line-height: 120%;
  color: #303030;
  margin-bottom: 32px;
}
.blog-post__content h3 {
  font-size: 25px;
  font-weight: 400;
  line-height: 120%;
  color: #303030;
  margin-bottom: 24px;
}
.blog-post__content p {
  font-size: 20px;
  font-weight: 300;
  line-height: 140%;
  color: #4f4f4f;
  margin-bottom: 32px;
}
.blog-post__content .wp-block-list,
.blog-post__content ul {
  margin: 24px 0;
  padding-left: 24px;
}
.blog-post__content ul li {
  position: relative;

  margin-bottom: 4px;

  color: #4f4f4f;
  font-size: 20px;
  font-weight: 300;
  line-height: 140%;
}
.blog-post__content .wp-block-image,
.blog-post__content img {
  border-radius: 24px;
  margin: 24px 0;
}
/* Bold first text */
.blog-post__content ul li strong {
  color: #1f1f1f;
  font-weight: 500;
}
/* NO TOC STATE */
.blog-post__body--no-toc {
  grid-template-columns: minmax(0, 1fr);
}
/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */
@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .fs-hero__card-image {
    width: 38%;
  }
}

@media (max-width: 768px) {
  .container {
    width: 100%;
  }
  .main-blog-hero-section {
    padding: 48px 24px;
  }

  .fs-hero__text {
    text-align: center;
  }

  .fs-hero__heading {
    font-size: 49px;
    width: 100%;
  }

  .fs-hero__subheading {
    font-size: 16px;
    width: 95%;
    margin: 24px auto 48px;
  }

  /* Featured post card (horizontal) */
  .fs-hero__card {
    padding: 20px;
    border-radius: 16px;
    flex-direction: column-reverse;
  }

  .fs-hero__card-content {
    width: 100%;
    padding: 0px !important;
    gap: 52px;
  }

  .fs-hero__card-tags {
    flex-direction: column;
    gap: 12px;
  }
  .blog-cat-tag {
    width: fit-content;
  }

  .fs-hero__card-title {
    font-size: 31px;
    margin: 24px 0 16px;
  }

  .fs-hero__card-excerpt {
    font-size: 16px;
  }

  .fs-hero__card-image {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
  }
  .fs-hero__card-image img {
    border-radius: 16px;
  }
  /* ============================================================
   DARK BLOG SECTION
   ============================================================ */
  .fs-blog-section {
    background: #1b1b1b;
    padding: 104px 0;
  }

  /* ============================================================
   CATEGORY FILTER TABS
   ============================================================ */
  .fs-cat-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    gap: 10px;
    padding-left: 24px;
  }

  /* Hide scrollbar (optional but cleaner UI) */
  .fs-cat-tabs::-webkit-scrollbar {
    display: none;
  }

  .fs-cat-tabs {
    scrollbar-width: none;
  }

  .fs-cat-tab {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  /* ============================================================
   BLOG CARD GRID
   ============================================================ */
  .blog-grid {
    grid-template-columns: 1fr;
    padding: 0 24px;
  }

  /* Card body */
  .blog-card__body {
    padding: 16px 24px 0;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 8px;
  }
  /* ============================================================
   PAGINATION
   ============================================================ */
  .custom-pagination {
    display: none;
  }

  .pagination-mobile {
    display: block;
  }
  .pagination-mobile-wrapper {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 48px;
    padding: 0 24px;
  }
  .mobile-btn {
    display: flex;
    width: 48px;
    height: 48px;
    justify-content: center;
    align-items: center;
    border-radius: 5.143px;
    border: 1px solid #9f9f9f;
    background-color: transparent;
  }
  .mobile-btn-bg {
    background-color: #4f4f4f;
    border: 1px solid #4f4f4f;
  }
  .mobile-btn.disabled {
    pointer-events: none;
    opacity: 0.4;
    background-color: transparent;
    border: 1px solid #9f9f9f;
  }

  /* ============================================================
   SINGLE POST PAGE
   ============================================================ */
  .fs-single-page {
    padding: 48px 24px 104px;
  }

  .blog-homepage-btn {
    gap: 6px;
    font-size: 16px;
    margin-bottom: 40px;
  }
  .blog-homepage-btn svg {
    width: 12px !important;
    height: 12px !important;
  }
  .blog-post__topic {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
  }
  .blog-post__title {
    font-size: 49px;
  }
  .blog-post__desc {
    font-size: 16px;
    margin: 24px 0 32px;
  }

  .fs-single-meta-page {
    margin-bottom: 40px;
  }
  .fs-single-meta-page time {
    font-size: 16px;
  }
  .blog-post__featured img {
    border-radius: 16px;
  }

  /* ==========================================================
   SINGLE BLOG LAYOUT
   ========================================================== */

  .blog-post__body {
    display: block;
    margin-top: 64px;
  }

  /* LEFT SIDEBAR */
  .blog-post__toc {
    display: none;
  }

  /* RIGHT CONTENT */
  .blog-post__content {
    min-width: 0;
  }
  .blog-post__content .wp-block-heading,
  .blog-post__content h2 strong,
  .blog-post__content h2 {
    font-size: 31px;
    margin-bottom: 24px;
  }
  .blog-post__content h3 {
    font-size: 20px;
    margin-bottom: 16px;
  }
  .blog-post__content p {
    font-size: 16px;
    margin-bottom: 24px;
  }
  .blog-post__content .wp-block-list,
  .blog-post__content ul {
    margin: 16px 0;
    padding-left: 16px;
  }
  .blog-post__content ul li {
    font-size: 16px;
  }
  .blog-post__content .wp-block-image,
  .blog-post__content img {
    border-radius: 16px;
    margin: 32px 0 48px;
  }
}
