  /* CSS Variables - WATI Style + Compatibility */
  :root {
    /* Original WATI variables */
    --body-bg: rgb(255, 255, 255);
    --body-image: none;
    --body-bg-rgb: 255, 255, 255;
    --body-border: rgb(230, 230, 230);
    --body-primary-color: #1a1a1a;
    --body-secondary-color: #737373;
    --body-reaction-bg: rgb(242, 242, 242);
    --body-reaction-text-color: rgb(64, 64, 64);
    --body-toc-active-border: #737373;
    --body-toc-inactive-border: #f2f2f2;
    --body-toc-inactive-color: #737373;
    --body-toc-active-font-weight: 400;
    --body-table-border: rgb(204, 204, 204);
    --body-color: hsl(0, 0%, 0%);
    --footer-bg: rgb(255, 255, 255);
    --footer-image: none;
    --footer-border: rgb(230, 230, 230);
    --footer-color: hsl(211, 10%, 61%);
    --header-bg: none;
    --header-image: linear-gradient(to bottom right, #00e784, #0eebe0);
    --header-color: hsl(0, 0%, 0%);
    --collection-card-bg: rgb(202, 253, 232);
    --collection-card-image: none;
    --collection-card-color: hsl(131, 94%, 26%);
    --card-bg: rgb(255, 255, 255);
    --card-border-color: rgb(230, 230, 230);
    --card-border-inner-radius: 11px;
    --card-border-radius: 15px;
    --card-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --search-bar-border-radius: 15px;
    --search-bar-width: 100%;
    --header-height: 245px;
    --primary-color: hsl(142, 64%, 31%);
    --primary-color-alpha-10: hsla(142, 64%, 31%, 0.1);

    /* Compatibility with footer template */
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --text-primary: #1f1f24;
    --text-secondary: #666666;
    --border-color: #e5e7eb;
  }
    --primary-color-alpha-60: hsla(142, 64%, 31%, 0.6);
    --text-on-primary-color: #ffffff;
    --font-family-primary:
      "Inter", system-ui, "Segoe UI", "Roboto", "Helvetica", "Arial",
      sans-serif;
    --font-family-secondary:
      "Inter", system-ui, "Segoe UI", "Roboto", "Helvetica", "Arial",
      sans-serif;
  }

  /* Base Styles */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  html {
    font-family: var(--font-family-primary);
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
  }

  body {
    font-family: var(--font-family-primary);
    color: var(--body-primary-color);
    background: var(--body-bg);
    min-height: 100vh;
      margin:0;
  }

  a {
    color: inherit;
    text-decoration: none;
  }

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

  /* Utility Classes */
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
  }

  /* Container */
  .w-240 {
    max-width: 960px;
    width: 100%;
  }

  /* Header */
  .header__lite {
    display: flex;
    flex-direction: column;
  }

  #header {
    display: flex;
    flex-direction: column;
    color: var(--header-color);
    position: relative;
  }

  .header__wrapper {
    position: relative;
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    margin-bottom: 2.25rem;
    background-color: var(--header-bg);
    background-image: var(--header-image);
    background-size: cover;
    background-position: center;
    padding-bottom: 2.25rem;
  }

  .header__meta_wrapper {
    display: flex;
    justify-content: center;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    padding-top: 1.5rem;
    line-height: 1;
  }

  @media (min-width: 640px) {
    .header__meta_wrapper {
      padding-left: 2.5rem;
      padding-right: 2.5rem;
    }
  }

  .header__meta_inner {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 960px;
  }

  .header__logo img {
    height: auto;
    max-height: 40px;
    width: auto;
  }

  .header__nav {
    margin-left: auto;
    display: flex;
    align-items: center;
  }

  .locale-picker {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    cursor: pointer;
    font-size: 0.875rem;
  }

  .locale-picker:hover {
    opacity: 0.8;
  }

  .locale-picker select {
    position: absolute;
    z-index: 10;
    width: 100%;
    height: 1.5rem;
    opacity: 0;
    cursor: pointer;
  }

  /* Search Bar */
  #search-bar {
    position: relative;
    width: 100%;
  }

  .search-form {
    width: 100%;
  }

  .search-wrapper {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
  }

  .search-input-wrapper {
    position: relative;
    display: flex;
    width: 100%;
  }

  @media (min-width: 640px) {
    .search-input-wrapper {
      max-width: 600px;
    }
  }

  .search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    font-size: 1.125rem;
    font-family: var(--font-family-secondary);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--search-bar-border-radius);
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--header-color);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    outline: none;
    transition: all 0.15s ease;
  }

  .search-input::placeholder {
    color: var(--header-color);
  }

  .search-input:hover {
    background-color: rgba(255, 255, 255, 0.27);
  }

  .search-input:focus {
    border-color: transparent;
    background-color: #fff;
    color: #1a1a1a;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .search-input:focus::placeholder {
    color: #737373;
  }

  .search-icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
  }

  /* Header Content */
  .header__content {
    position: relative;
    margin: 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.25rem;
  }

  @media (min-width: 640px) {
    .header__content {
      margin: 2.5rem;
      padding: 2.5rem;
    }
  }

  .header__inner {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 960px;
    justify-content: flex-end;
  }

  /* Main Content */
  .main-wrapper {
    margin-bottom: 2em;
    position: relative;
    z-index: 1;
    display: flex;
    flex-shrink: 0;
    flex-grow: 1;
    flex-basis: auto;
    justify-content: center;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  @media (min-width: 640px) {
    .main-wrapper {
      padding-left: 2.5rem;
      padding-right: 2.5rem;
    }
  }

  #main-content {
    max-width: 100%;
    width: 960px;
  }

  /* Breadcrumb */
  .breadcrumb {
    padding-bottom: 1rem;
    font-size: 1rem;
  }

  .breadcrumb ol {
    margin: 0;
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    align-items: baseline;
    padding: 0;
  }

  .breadcrumb li {
    display: contents;
  }

  .breadcrumb a {
    padding-right: 0.5rem;
    color: var(--body-primary-color);
    text-decoration: none;
  }

  .breadcrumb a:hover {
    color: var(--body-secondary-color);
  }

  .breadcrumb-separator {
    padding-right: 0.5rem;
    color: var(--body-secondary-color);
  }

  .breadcrumb-separator svg {
    display: block;
    height: 0.5rem;
    width: 0.5rem;
    fill: var(--body-secondary-color);
  }

  [dir="rtl"] .breadcrumb-separator svg {
    transform: rotate(180deg);
  }

  .breadcrumb-current {
    color: var(--body-secondary-color);
  }

  /* Collection Header */
  .collection-header {
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
  }

  @media (max-width: 640px) {
    .collection-header {
      gap: 2rem;
      padding-top: 0.5rem;
    }
  }

  .collection-info {
    margin-bottom: 1.25rem;
  }

  .collection-icon {
    display: flex;
    align-items: center;
    border-radius: var(--card-border-radius);
    background-color: var(--collection-card-bg);
    background-image: var(--collection-card-image);
    background-size: cover;
    color: var(--collection-card-color);
    height: 3.5rem;
    width: 3.5rem;
    justify-content: center;
    margin-bottom: 1.25rem;
  }

  .collection-icon-inner {
    height: 2.25rem;
    width: 2.25rem;
  }

  @media (min-width: 640px) {
    .collection-icon-inner {
      height: 2.5rem;
      width: 2.5rem;
    }
  }

  .collection-title {
    font-family: var(--font-family-primary);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 2.5rem;
    color: var(--body-primary-color);
    margin-bottom: 0.25rem;
  }

  .collection-description {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--body-primary-color);
  }

  .collection-count {
    margin-top: 1.25rem;
    display: flex;
  }

  .collection-count span {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
    font-size: 1rem;
    color: var(--body-secondary-color);
  }

  /* Collection Sections (Subcategories) */
  .collection-sections {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }

  .collection-section {
    display: flex;
    flex-direction: column;
    border-radius: var(--card-border-radius);
    border: 1px solid var(--card-border-color);
    background-color: var(--card-bg);
    padding: 0.5rem;
  }

  @media (min-width: 640px) {
    .collection-section {
      padding: 0.75rem;
    }
  }

  .section-header {
    padding: 0.75rem;
    padding-bottom: 1.5rem;
    color: var(--body-primary-color);
  }

  .section-header a {
    transition: color 0.25s ease;
    text-decoration: none;
  }

  .section-header a:hover {
    color: var(--primary-color);
  }

  .section-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
  }

  .section-divider {
    margin: 0 0.75rem;
    margin-bottom: 0.5rem;
    margin-top: 0;
    border: 0;
    border-top: 1px solid var(--body-border);
  }

  /* Article Links */
  .article-link {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    text-decoration: none;
    transition: all 0.25s ease;
    border-radius: var(--card-border-inner-radius);
  }

  @media (min-width: 640px) {
    .article-link {
      padding: 0.75rem;
    }
  }

  .article-link:hover {
    background-color: var(--primary-color-alpha-10);
    color: var(--primary-color);
  }

  .article-content {
    display: flex;
    flex-direction: column;
    padding: 0;
  }

  .article-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 400;
    color: var(--body-primary-color);
  }

  .article-link:hover .article-title {
    color: var(--primary-color);
  }

  .article-arrow {
    display: flex;
    flex-shrink: 0;
    flex-direction: column;
    justify-content: center;
    padding: 0;
  }

  .article-arrow svg {
    display: block;
    height: 1rem;
    width: 1rem;
    color: var(--primary-color);
  }

  [dir="ltr"] .article-arrow svg {
    transform: rotate(-90deg);
  }

  [dir="rtl"] .article-arrow svg {
    transform: rotate(90deg);
  }

  /* Footer */
  .footer {
    margin-top: auto;
    border-top: 1px solid var(--footer-border);
    background-color: var(--footer-bg);
    background-image: var(--footer-image);
    padding: 2rem 1.25rem;
  }

  .footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 960px;
    margin: 0 auto;
  }

  .footer__logo {
    color: var(--footer-color);
    margin-bottom: 1rem;
  }

  .footer__social {
    display: flex;
    list-style: none;
    gap: 1rem;
    margin: 0;
    padding: 0;
  }

  .footer__social a {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .footer__social img {
    height: 24px;
    width: 24px;
    opacity: 0.6;
    transition: opacity 0.2s ease;
  }

  .footer__social a:hover img {
    opacity: 1;
  }

  /* Responsive Header Height */
  @media (min-width: 640px) {
    #header {
      min-height: var(--header-height);
    }
  }

  /* Fade background for header */
  .fade-background {
    background:
      radial-gradient(
        333.38% 100% at 50% 0%,
        rgba(var(--body-bg-rgb), 0) 0%,
        rgba(var(--body-bg-rgb), 0.00925356) 11.67%,
        rgba(var(--body-bg-rgb), 0.0337355) 21.17%,
        rgba(var(--body-bg-rgb), 0.0718242) 28.85%,
        rgba(var(--body-bg-rgb), 0.121898) 35.03%,
        rgba(var(--body-bg-rgb), 0.182336) 40.05%,
        rgba(var(--body-bg-rgb), 0.251516) 44.25%,
        rgba(var(--body-bg-rgb), 0.327818) 47.96%,
        rgba(var(--body-bg-rgb), 0.409618) 51.51%,
        rgba(var(--body-bg-rgb), 0.495297) 55.23%,
        rgba(var(--body-bg-rgb), 0.583232) 59.47%,
        rgba(var(--body-bg-rgb), 0.671801) 64.55%,
        rgba(var(--body-bg-rgb), 0.759385) 70.81%,
        rgba(var(--body-bg-rgb), 0.84436) 78.58%,
        rgba(var(--body-bg-rgb), 0.9551) 88.2%,
        rgba(var(--body-bg-rgb), 1) 100%
      ),
      var(--header-image), var(--header-bg);
    background-size: cover;
    background-position-x: center;
  }

  /* Mobile Menu */
  .mobile-menu-button {
    display: flex;
    align-items: center;
    border: none;
    background: transparent;
    padding: 0.375rem;
    cursor: pointer;
  }

  @media (min-width: 768px) {
    .mobile-menu-button {
      display: none;
    }
  }

  .desktop-nav {
    display: none;
  }

  @media (min-width: 768px) {
    .desktop-nav {
      display: flex;
      align-items: center;
    }
  }
      .grid-cols-1 {
        grid-template-columns: repeat(1, minmax(0, 1fr));
      }
      @media (min-width: 640px) {
        .sm-grid-cols-2 {
          grid-template-columns: repeat(2, minmax(0, 1fr));
        }
        .sm-gap-x-6 {
          -moz-column-gap: 1.5rem;
          column-gap: 1.5rem;
        }
        .sm-gap-y-6 {
          row-gap: 1.5rem;
        }
      }
      @media (min-width: 768px) {
        .md-grid-cols-3 {
          grid-template-columns: repeat(3, minmax(0, 1fr));
        }
      }
