@font-face {
  font-family: 'Kumbh Sans';
  font-style: normal;
  font-weight: 300;
  src: local('Kumbh Sans Light'), local('KumbhSans-Light'),
       url('../fonts/kumbh-sans-v22-latin-300.woff2') format('woff2');
}

@font-face {
  font-family: 'Kumbh Sans';
  font-style: normal;
  font-weight: 600;
  src: local('Kumbh Sans SemiBold'), local('KumbhSans-SemiBold'),
       url('../fonts/kumbh-sans-v22-latin-600.woff2') format('woff2');
}

/* Your global font settings */
:root {
  font-family: 'Kumbh Sans', Arial, sans-serif;
}
:root {
  --min-content-padding: 0.5rem;
  --max-content-width: 100vw;
}



:root {
  /* Colors */
  --color-primary: #3b82f6;
  --color-primary-dark: #1e40af;
  --color-primary-light: #93c5fd;
  --color-primary-glare: #93c5fd;
  --color-secondary: #10b981;
  --color-secondary-dark: #047857;
  --color-secondary-shade: #047857;
  --color-secondary-light: #6ee7b7;
  --color-secondary-glare: #6ee7b7;
  --color-accent: #ef4444;
  --color-text: #2d3748;
  --color-dark: #2d3748;
  --color-text-light: #6b7280;
  --color-dark-glare: #6b7280;
  --color-text-dark: #111827;
  --color-text-white: #ffffff;
  --color-light-shade: #ffffff;

  --color-bg: #f8f9fa;
  --color-mid: #f8f9fa;

  --color-bg-card: #ffffff;
  --color-bg-dark: #111827;
  --color-bg-footer: #111827;
  --color-bg-footer-light: #1f2937;
  
  --color-border: #e5e7eb;
  --color-border-dark: #d1d5db;
  
  /* Typography */
  --font-family: 'Kumbh Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  
  /* Font sizes - Using clamp for fluid typography */
  --fs-300: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);    /* 12px - 14px */
  --fs-400: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);      /* 14px - 16px */
  --fs-500: clamp(1rem, 0.925rem + 0.375vw, 1.125rem);    /* 16px - 18px */
  --fs-600: clamp(1.125rem, 1rem + 0.625vw, 1.25rem);     /* 18px - 20px */
  --fs-700: clamp(1.25rem, 1.125rem + 0.625vw, 1.5rem);   /* 20px - 24px */
  --fs-800: clamp(1.5rem, 1.25rem + 1.25vw, 2rem);        /* 24px - 32px */
  --fs-900: clamp(1.75rem, 1.5rem + 1.25vw, 2.5rem);      /* 28px - 40px */
  --fs-hero: clamp(2rem, 1.75rem + 1.25vw, 2.625rem);     /* 32px - 42px */
  
  /* Font weights */
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;
  
  /* Spacing */
  --space-xs: clamp(0.5rem, 0.4rem + 0.5vw, 0.75rem);
  --space-sm: clamp(0.75rem, 0.6rem + 0.75vw, 1.25rem);
  --space-md: clamp(1rem, 0.8rem + 1vw, 1.5rem);
  --space-lg: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem);
  --space-xl: clamp(2rem, 1.6rem + 2vw, 3.5rem);
  --space-xxl: clamp(3rem, 2.4rem + 3vw, 5rem);
  
  /* Border radius */
  --radius-sm: 5px;
  --radius-md: 8px;
  --radius-lg: 10px;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  
  /* Content width */
  --content-max-width: 75ch;
  --container-max-width: 1200px;
  --container-padding: clamp(1rem, 3vw, 2rem);
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 300ms ease;
  --transition-slow: 500ms ease;
}

*,::after,::before {
  box-sizing: border-box
}

blockquote,body,dd,dl,figure,h1,h2,h3,h4,p {
  margin: 0
}

ol[role=list],ul[role=list] {
  list-style: none
}

html:focus-within {
  scroll-behavior: smooth
}

a:not([class]) {
  text-decoration-skip-ink: auto
}

img,picture {
  max-width: 100%;
  display: block;
margin-top:2rem;
margin-bottom:2rem

}

button,input,select,textarea {
  font: inherit
}

@media(prefers-reduced-motion:reduce) {
  html:focus-within {
      scroll-behavior: auto
  }

  *,::after,::before {
      animation-duration: 0s!important;
      animation-iteration-count: 1!important;
      transition-duration: 0s!important;
      scroll-behavior: auto!important
  }
}


body {
  font-family: var(--font-family);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  min-width: 220px; /* Set minimum supported width */

}

/* body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  background: var(--color-light);
  color: var(--color-dark);
  line-height: 1.5;
  font-size: clamp(1.09rem,1rem + 0.47vw,1.33rem);
  display: flex;
  flex-direction: column;
  font-family: Kumbh Sans,Arial,sans-serif;
  overflow-x: hidden;
} */

a {
  color: currentColor;
  text-decoration-color: var(--color-secondary);
  text-decoration-thickness: 0.02rem; /* Adjust the thickness of the underline */
  text-underline-offset: 1px; /* Adjust the space between text and underline */
}

a:hover {
  color: var(--color-secondary);
  text-decoration-color: var(--color-dark);
  text-decoration-thickness: 0.02rem; /* Adjust the thickness of the underline */
  text-underline-offset: 2px; /* Adjust the space between text and underline */
}

a[data-style=token-driven] {
  text-decoration-color: currentColor;
}

a[data-style=token-driven]:hover {
  color: currentColor;
  text-decoration: none;
}

a[class*="btn"], 
a[class*="button"], 
.btn, 
.button,
.deal-button {
  color: white !important; /* Keeps the button's own color */
  text-decoration: none !important;
  text-decoration-color: transparent !important;
  text-underline-offset: 0 !important;
}

/* Prevent hover color changes on buttons */
a[class*="btn"]:hover, 
a[class*="button"]:hover, 
.btn:hover, 
.button:hover,
.deal-button:hover {
  color: white !important; /* Keeps the button's own color */
  text-decoration: none !important;
  text-decoration-color: transparent !important;
}

/* White text utilities */
.a-color-white {
  color: white !important;
  text-decoration: none !important;
}

.a-color-white:hover {
  color: white !important;
  text-decoration: none !important;
}

/* Keep current color (inherit from parent) */
.a-color-inherit {
  color: inherit !important;
  text-decoration: none !important;
}

.a-color-inherit:hover {
  color: inherit !important;
  text-decoration: none !important;
}

/* Dark text utilities */
.a-color-dark {
  color: var(--color-text-dark) !important;
  text-decoration: none !important;
}

.a-color-dark:hover {
  color: var(--color-text-dark) !important;
  text-decoration: none !important;
}

/* Remove all link styling */
.a-no-style {
  color: inherit !important;
  text-decoration: none !important;
  text-decoration-color: transparent !important;
  text-underline-offset: 0 !important;
}

.a-no-style:hover {
  color: inherit !important;
  text-decoration: none !important;
  text-decoration-color: transparent !important;
}


code {
  color: var(--color-secondary);
  font-size: .85em;
  font-weight: 600;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  font-family: SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace;
}

blockquote,dl,figcaption,li,p {
  max-width: 65ch;
}

svg {
  width: 1em;
  height: 1em;
}

img[src*='.svg'] {
  width: 100%;
}

[role=list] {
  padding: 0;
  margin-bottom: 0;
}

[id] {
  scroll-margin-top: 2ex;
}

kbd {
  background: var(--color-light-shade);
  border: 2px solid var(--color-mid);
  border-radius: .5rem;
  padding: .15rem .3rem;
}

img,video {
  border-radius: .5rem;
}

hr {
  border: none;
  border-top: 0.02rem solid var(--color-dark);
  transform: translateY(-1px);
  margin: clamp(1.37rem,1.21rem + 0.8vw,1.78rem) 0!important;
  max-width: 55rem;
}

form {
  --flow-space: clamp(1.37rem, 1.21rem + 0.8vw, 1.78rem);
}

form label {
  text-transform: uppercase;
  padding: 0 0 .5rem clamp(0.88rem,0.83rem + 0.24vw,1rem);
  font-weight: 600;
  font-family: Kumbh Sans,Arial,sans-serif;
}

form label:after {
  content: '\a';
  white-space: pre;
}

form input,form p[id],form textarea {
  width: 100%;
  max-width: 30rem;
}

form p[id] {
  font-size: clamp(0.88rem,0.83rem + 0.24vw,1rem);
  padding: .5rem 0 0 1rem;
  font-family: Kumbh Sans,Arial,sans-serif;
}

input,textarea {
  border: 2px solid var(--color-secondary);
  border-radius: 1rem;
  padding: .85rem 1rem;
  font-size: clamp(0.88rem,0.83rem + 0.24vw,1rem);
  line-height: 1;
  font-family: SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace;
  max-width: 100%;
  width: 75%; /* Make the input/textarea fill its container's width */
  box-sizing: border-box; /* Include padding and border in the element's width */
}

ad-loader {
  display: block;
}

:focus {
  outline: var(--color-secondary) solid 1px;
  outline-offset: .25rem;
}

main:focus {
  outline: 0;
}

::selection {
  background: var(--color-dark);
  color: var(--color-light);
}

::-webkit-scrollbar {
  height: .7rem;
}

::-webkit-scrollbar-track {
  background-color: var(--color-light-shade);
}

::-webkit-scrollbar-thumb {
  background-color: var(--color-secondary);
}

* {
  scrollbar-color: var(--color-secondary) var(--color-mid);
}

.ad-blocks {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  gap: clamp(1.71rem,1.45rem + 1.29vw,2.37rem);
}

.article-with-sponsors {
  --sidebar-gutter: clamp(1.37rem, 1.21rem + 0.8vw, 1.78rem);
  --sidebar-width: 20rem;
}

@media(min-width: 48em) {
  .article-with-sponsors>.post {
      padding-right:clamp(1.09rem,1rem + 0.47vw,1.33rem);
  }
}

.article-with-sponsors>:last-child img {
  max-width: 20rem;
}

main {
  flex: auto
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  color: var(--color-text-dark);
  font-weight: var(--fw-bold);
}

h1 {
  font-size: var(--fs-hero);
  font-weight: var(--fw-extrabold);
}

h2 {
  font-size: var(--fs-800);
  margin-bottom: var(--space-sm);
}

h3 {
  font-size: var(--fs-700);
  margin-bottom: var(--space-xs);
}

p {
  max-width: var(--content-max-width);
  margin-bottom: var(--space-md);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-normal);
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

ul {
  list-style: none;
}

.auto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(var(--auto-grid-min-size,16rem),1fr));
  grid-gap: clamp(2.67rem,2.07rem + 3vw,4.21rem) clamp(1.09rem,1rem + 0.47vw,1.33rem)
}

.auto-grid[data-layout=thirds] {
  --auto-grid-min-size: clamp(16rem, 33vw, 20rem);
  gap: 1em clamp(1.09rem,1rem + 0.47vw,1.33rem)
}

.auto-grid[data-justification=center] {
  grid-template-columns: repeat( auto-fit,minmax(var(--auto-grid-min-size,16rem),22rem) );
  justify-content: center
}

.cluster {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  max-width: 45rem;
  margin: 0 auto;
  gap: .3rem
}

.cluster>* {
  margin: .2rem
}

.cluster[data-align=start] {
  justify-content: flex-start;
  margin-left: 0
}

.cluster[data-vert=end] {
  align-items: flex-end
}


.docked {
  position: sticky;
  top: clamp(1.09rem,1rem + 0.47vw,1.33rem);
  left: 0
}

.flow>*+* {
  margin-top: var(--flow-space,clamp(1.09rem,1rem + 0.47vw,1.33rem))
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5lh clamp(1em,10vw,3em);
  margin: 0
}

.nav a:not(:hover) {
  text-decoration: none
}

.nav .icon {
  transform: translateY(0.3ex)
}

.nav[data-layout=center] {
  justify-content: center
}

.region {
  padding-top: var(--region-padding,clamp(2.67rem,2.07rem + 3vw,4.21rem));
  padding-bottom: var(--region-padding,clamp(2.67rem,2.07rem + 3vw,4.21rem))
}

.skip-link:not(:focus),.visually-hidden,:not(:focus)>.heading-permalink,:not(:hover)>.heading-permalink {
  border: 0;
  clip: rect(0 0 0 0);
  height: auto;
  margin: 0;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap
}

.wrapper {
  width: clamp(16rem,93vw,76rem);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1.09rem,1rem + 0.47vw,1.33rem);
  position: relative
}
.wrapper-2 {
  max-width: 70rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  }  

.alert {
  display: flex;
  align-items: flex-start;
  border: 1px solid var(--color-dark-glare); /* Use var(--color-dark-glare) for border color */
  background: var(--color-light-shade); /* Use var(--color-light-shade) for background */
  color: var(--color-dark); /* Use var(--color-dark) for text color */
  padding: clamp(0.88rem, 0.83rem + 0.24vw, 1rem);
  animation: 250ms slide-up;
  font-size: clamp(0.88rem, 0.83rem + 0.24vw, 1rem);
}


.alert__icon {
  font-size: 1.6em;
  flex-shrink: 0
}

.alert__content {
  text-align: left
}

@keyframes slide-up {
  0% {
      opacity: 0;
      transform: translateY(0.4rem)
  }

  100% {
      opacity: 1;
      transform: translateY(0)
  }
}


.headline {
  text-align: left;
  --flow-space: clamp(1.71rem, 1.45rem + 1.29vw, 2.37rem);

}

.headline h2 {
  font-size: clamp(2.67rem,2.07rem + 3vw,4.21rem);
  max-width: 22ch
}

.headline em {
  font-style: italic;
  color:var(--color-secondary)
}

.headline p {
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
  text-wrap: balance
}

.headline[data-headline-style=wide] h1,.headline[data-headline-style=wide] h2 {
  max-width: 25ch
}

.icon {
  display: inline-block;
  vertical-align: baseline
}

.link-button {
  display: inline;
  padding: 0;
  border: 0;
  background: 0 0;
  font: inherit;
  color: currentColor;
  text-decoration: underline;
  cursor: pointer;
  text-underline-offset: 1px;
  -webkit-appearance: none
}

.link-button:hover {
  text-underline-offset: 2px
}

.meta-items {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-gap: .5rem clamp(0.88rem,0.83rem + 0.24vw,1rem)
}

.meta-items dt {
  display: flex;
  align-items: baseline
}

.meta-items dt>strong::after {
  content: ':'
}

.meta-items .icon {
  color: var(--color-secondary);
  transform: translateY(2px);
  margin-inline-end:.5rem}

.pill {
  display: inline-block;
  padding: .3rem .4rem .2rem;
  border-radius: .5rem;
  border: 2px solid var(--color-secondary);
  background: var(--color-light);
  color: #1c2334;
  font-weight: 600;
  font-size: clamp(0.88rem,0.83rem + 0.24vw,1rem);
  line-height: 1;
  text-decoration: none;
  text-transform: capitalize
}

.pill:focus,.pill:hover {
  background: var(--color-secondary);
  color: var(--color-light)
}

.pill:focus {
  outline: 0;
  border-color: var(--color-secondary-glare);
}

.pill:active {
  box-shadow: none;
  transform: scale(.99)
}

.pill:active,.pill:focus,.pill:hover {
  transition: background 150ms,color 150ms
}

.post {
  --flow-space: clamp(1.71rem, 1.45rem + 1.29vw, 2.37rem);
  line-height: 1.7;
  font-family: Kumbh Sans,Arial,sans-serif
}

.post h2 {
  color: var(--color-dark-glare);
  display: inline-block;
  padding-right: 1em;
  position: relative
}

.post h3 {
  color: var(--color-dark-glare);
  font-family: Kumbh Sans,Arial,sans-serif
}

.post h4 {
  font-size: clamp(1.4rem,1rem + 0.5vw,1.7rem);
  color: var(--color-dark-glare);
  font-family: Kumbh Sans,Arial,sans-serif;
}

.post h4+* {
  --flow-space: 0.2em

}

.post h3+* {
  --flow-space: 0.2em

}

.post code {
  letter-spacing: .03ch
}

.post li>code,.post p>code {
  font-weight: 300;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
  border: 1px solid var(--color-mid);
  border-radius: .15em;
  padding: .15rem;
  background: var(--color-light-shade)
}

.post figcaption {
  display: block;
  font-size: clamp(0.88rem,0.83rem + 0.24vw,1rem);
  max-width: 58ch
}

.post figcaption p {
  padding: 1rem 0 0;
  color: var(--color-dark-glare);
  font-style: italic
}

.post blockquote {
  font-style: italic;
  border-left: .5rem solid var(--color-secondary);
  padding: 0 1em;
  font-size: 1.1em;
  max-width: 55ch!important;
  text-wrap: pretty
}

.post blockquote>*+* {
  margin-top: .5em
}

.post em:not([class]) {
  color: var(--color-secondary)
}

.post strong {
  color: var(--color-dark-glare)
}

.post h2,.post h3 {
  --flow-space: 5rem
}

.post h2+p,.post h2+ul,.post h3+p,.post h3+ul {
  --flow-space: clamp(1.09rem, 1rem + 0.27vw, 1.22rem)
}

.post h2+h3 {
  --flow-space: clamp(1.37rem, 1.21rem + 0.8vw, 1.78rem)
}

.post figure {
  --flow-space: clamp(1.37rem, 1.21rem + 0.8vw, 1.78rem)
}

.post ol:not([class]) li+li,.post ul:not([class]) li+li {
  margin-top: .5rem
}

.post .code-block,.post pre,.post .commento-root,.post .fyi-unit,.post figure img,.post video,.post>img {
  max-width: min(45rem,100%);
  margin: 1rem 0;
  border: var(--color-dark) 0.02rem solid;
  align-items: flex-start;
}


@media(min-width: 48em) {
  .post {
      --flow-space: clamp(1.54rem, 1.54rem + 0.4vw, 2.56rem);
      font-size: clamp(1.09rem,1rem + 0.17vw,1.33rem);
    font-weight:300  }

  .post blockquote,.post dl,.post figcaption,.post li,.post p {
      max-width: 60ch
  }

  .post li>code,.post p>code {
      word-break: normal;
      word-wrap: normal;
      hyphens: none
  }
}

.wp-block-table {
  max-width: 60ch;
}

.wp-block-table table {
  width: 100%; /* Ensure the table takes up the full width of the container */
}

.border-radius-very-small {
  border-radius: 0.4rem;
}

.border-check {
  border: var(--color-gray-700) solid 0.05rem;
  border-radius: 0.4rem;
  padding: 1rem;
}


.post-list {
  padding: 0
}

.post-list h2 a:not(:hover) {
  text-decoration-color: transparent
}

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

.site-foot nav,.site-foot p {
  margin-left: auto;
  margin-right: auto
}

.site-foot nav {
  max-width: 30rem
}

.site-head {
  padding: clamp(1.09rem,1rem + 0.47vw,1.33rem) 0
}

.site-head__brand svg {
  width: 60px;
  height: 60px
}

.site-head__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between
}

.site-head__navigation {
  padding: 1rem 0
}

.skip-link {
  position: absolute;
  top: clamp(1.09rem,1rem + 0.47vw,1.33rem);
  left: clamp(1.09rem,1rem + 0.47vw,1.33rem)
}

code[class*=language-],pre[class*=language-] {
  text-align: left;
  word-spacing: normal;
  word-break: normal;
  word-wrap: normal;
  tab-size: 2;
  hyphens: none
}

.token.cdata,.token.comment,.token.doctype,.token.prolog,.token.tag {
  color: var(--color-dark-glare)
}

.token.attr-name,.token.builtin,.token.char,.token.inserted,.token.selector,.token.string {
  color: var(--color-secondary-shade)
}

.token.keyword {
  color: var(--color-secondary)
}

.token.deleted {
  background: rgba(238,82,83,.8);
  text-decoration: line-through
}

.token.inserted {
  background: rgba(29,209,161,.8);
  color: #1c2334
}

.token.deleted,.token.inserted {
  padding: .2rem
}

.form-layout {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gutter,1em);
  align-items: flex-end
}

.form-layout+p {
  --flow-space: 0.5rem
}

.form-layout>:last-child {
  flex-basis: var(--sidebar-target-width,20rem);
  flex-grow: 1
}

.form-layout>:first-child {
  flex-basis: 0;
  flex-grow: 999;
  min-width: var(--sidebar-content-min-width,50%)
}


input[type=range] {
  -webkit-appearance: none;
  background: 0 0;
  height: 13px;
  touch-action: none;
  border: 0
}

input[type=range]:focus {
  outline: none
}

input[type=range]::-webkit-slider-runnable-track {
  animate: .2s;
  background: currentColor;
  cursor: pointer;
  height: 2px;
  width: 100%
}

input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  background: currentColor;
  border-radius: 24px;
  cursor: pointer;
  height: 24px;
  margin-top: -11px;
  width: 24px
}

input[type=range]:focus::-webkit-slider-thumb {
  outline: 1px solid currentColor;
  outline-offset: 2px
}

input[type=range]::-moz-range-track {
  animate: .2s;
  background: currentColor;
  cursor: pointer;
  height: 2px;
  width: 100%
}

input[type=range]::-moz-range-thumb {
  background: currentColor;
  border-radius: 24px;
  cursor: pointer;
  height: 24px;
  width: 24px
}

.post>.cluster {
  justify-content: flex-start;
  max-width: unset
}

.social-card {
  --social-card-space: 2.5em;
  padding: var(--social-card-space);
  width: 1024px;
  height: 526px;
  position: relative
}

.social-card__heading {
  --social-card-eyebrow-space: 0.1lh;
  line-height: .9;
  font-size: 5rem;
  text-wrap: pretty;
  max-width: 90%
}

.social-card__heading[data-social-card-heading-type=large] {
  --social-card-eyebrow-space: 0;
  font-size: 6.5rem
}

.social-card__eyebrow {
  font-family: SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace;
  color: var(--color-secondary);
  text-transform: uppercase
}

.social-card__eyebrow+.social-card__heading {
  margin-top: var(--social-card-eyebrow-space)
}

.social-card .brand {
  position: absolute;
  inset: auto calc(var(--social-card-space)/1.5) calc(var(--social-card-space)/1.5) auto
}

.video-player {
  position: relative;
  aspect-ratio: 16/9
}

.video-player iframe {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0
}

.post p:has(code-pen) {
  max-width: unset
}

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

.pagination__list li {
  display: inline-block;
  text-align: center;
  margin-inline:.25rem}

.pagination__list li:not(.ellipsis):hover {
  background-color: #fff
}

.pagination__list li:has(.active) {
  background-color: var(--color-dark-glare);
  color: #fff
}

.pagination__list li:has(.active):not(.ellipsis):hover {
  color: var(--color-dark-glare)
}

.pagination__list li a {
  display: block;
  min-width: 45px;
  min-height: 45px;
  padding: .5rem 1rem
}

.pagination__list li a.active {
  color: inherit;
  text-decoration-color: inherit
}

.repel {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: var(--repel-vertical-alignment,center);
  gap: var(--gutter,1em)
}

.repel[data-nowrap] {
  flex-wrap: nowrap
}

h2 code {
  font-size: .75em
}

.brand {
  font-size: 1.8em;
  font-family: Kumbh Sans,Arial,sans-serif;
  line-height: 1
}

.brand a {
  text-decoration: none
}

.brand__sub {
  font-family: SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace;
  font-size: .395em
}

.brand span {
  color: var(--color-secondary);
  font-weight: 600
}
.brand-footer {
  color: var(--color-light-shade);
}

.featured-content {
  background: var(--color-light-shade)
}

nav:focus {
  outline: 0
}

.byline {
  color: var(--color-secondary);
  font-family: SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace;
  font-size: clamp(1.09rem,1rem + 0.47vw,1.33rem)
}

.byline time {
  margin-inline-end:.5ch}

.post ul~.fyi-unit {
  --flow-space: clamp(3.34rem, 2.45rem + 4.43vw, 5.61rem) !important
}

iframe[src*='loom.com'] {
  aspect-ratio: 16/9;
  width: 100%
}

.homepage > * {
  max-width: 70rem;
  padding-inline: var(--s1);
}

/* Resets <main> styles */
.homepage > * + * {
  margin-top: unset;
}

.homepage h1,
.homepage h2 {
  hyphens: unset;
}

.homepage h1 {
  max-width: 28ch;
}

.homepage h2 {
  max-width: 42ch;
}

.homepage p {
  max-width: 60ch;
}

/* Black and white images
img:not([src*='.svg']) {
  border: var(--border-thin) solid;
  filter: saturate(100%) contrast(100%) brightness(100%) sepia(140%) hue-rotate(90deg) saturate(100%);
  transform: scale(101%);
} */

/* Intro section */
.homepage__intro {
  align-items: center;
}

.homepage__intro .cta {
  font-size: var(--s2);
  margin-block-start: var(--s1);
}

.homepage__intro img {
  outline: var(--border-thick) solid;
  display: block;
  outline-offset: calc(var(--border-thick) * -1);
  max-width: 25rem;
  margin-inline: auto;
}

/* Companies section */
.homepage__companies {
  padding-inline-start: var(--s5);
  position: relative;
}

/* Stripey boi */
.homepage__companies::before {
  content: '';
  display: block;
  width: 1rem;
  height: 100%;
  position: absolute;
  inset: 0 auto 0 var(--s1);
  background-image: linear-gradient(45deg, #fafafa 25%, #050505 25%, #050505 50%, #fafafa 50%, #fafafa 75%, #050505 75%, #050505 100%);
  background-size: 1.3rem 1.3rem;
}

.homepage__companies img {
  display: block;
  max-width: 200px;
  max-height: 150px;
}

.homepage__companies cluster-l {
  max-width: 50rem;
  margin-block-start: var(--s4);
}

/* Testimonials */
.homepage__testimonial {
  width: clamp(14rem, 80%, 30rem);
  font-family: var(--font-serif);
}

.homepage__testimonial h3 {
  font-size: var(--s0);
}

.homepage__testimonial p {
  font-style: italic;
  font-size: 1.2em;
}

.homepage__testimonial img {
  flex: none;
  max-width: 8rem;
}

.homepage reel-l {
  padding-bottom: 1rem;
}

/* Picture index */
.homepage .docs-picture-index {
  width: 100%;
  margin-block-start: var(--s5);
}


.border-radius {
  border-radius: 1rem;
}
.border-thick {
  border: #1c2334 solid 5px;
}

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

.border-bottom {
  border-bottom: 0.025rem solid grey;
  margin: 0 auto;
}

/* Button Styles */
.button {
  display: inline-block;
  padding: .8rem 2.5rem;
  border-radius: clamp(1.37rem, 1.21rem + 0.8vw, 1.78rem);
  border: 2px solid var(--color-secondary-glare);

  cursor: pointer;
  font: inherit;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 1em;
  line-height: 1;
  letter-spacing: .05ch;
  text-decoration: none;
  font-family: Kumbh Sans, Arial, sans-serif;
  background: var(--color-secondary);
  color: var(--color-light);
  line-height: 1;
  border-radius: .5rem 0;
}

.button:focus, .button:hover {
  background: var(--color-dark);
  color: var(--color-light);
  box-shadow: 0 0 1.125rem rgba(0, 0, 0, .05);
  transform: scale(1.05);
}

.button:focus {
  outline: 0;
  border-color: var(--color-secondary-glare);
}

.button:active {
  box-shadow: none;
  transform: scale(.99);
}

.button:active, .button:focus, .button:hover {
  transition: box-shadow 250ms ease-in-out, transform 350ms cubic-bezier(0, .26, .13, 1.55), background 150ms, color 150ms;
}

.button[data-type=primary]:not(:focus), .button[data-type=primary]:not(:hover) {
  background: var(--color-primary);
  color: var(--color-dark);
  border-color: var(--color-dark-glare);
}

/* Card Styles */
.card {
  position: relative;
  padding: clamp(1.09rem, 1rem + 0.47vw, 1.33rem) 0 0 clamp(1.09rem, 1rem + 0.47vw, 1.33rem);
  border-radius: .5rem;
  display: flex;
  flex-direction: column;
  background: var(--color-light);
  border: var(--color-dark) 5px solid;
}
.card-2 {
  position: relative;
  padding: clamp(1.09rem, 1rem + 0.47vw, 1.33rem) 0 0 clamp(1.09rem, 1rem + 0.47vw, 1.33rem);
  border-radius: .5rem;
  display: flex;
  flex-direction: column;
  background: var(--color-light);
  border: var(--color-dark) 0.02rem solid;
}
.card-2:hover {
  transform: translateY(-0.5rem) scale(1.01);
  box-shadow: 0 0 1.125rem rgba(0, 0, 0, .05);
  transition: transform 350ms cubic-bezier(0, .26, .13, 1.55), box-shadow .2s;
}
.circle {
  background: var(--color-primary-glare);
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  display: flex;
  border: 0.5rem solid var(--color-dark);
  align-items: center;
}
.big-dark-orange-font {
  font-size: var(--text-700);
    max-width: 35ch;
    line-height: 1.1;
    font-weight: 600;
    justify-content: center;
    color: var(--color-dark);
}
.flex-center {
  display: flex;
  margin: 0 auto;
}
.flex-center-block {
  display: block;
  margin: 0 auto;
}
.border-radius-very-small {
  border-radius: 0.4rem;
}
.border-check {
  border: var(--color-dark) solid 0.05rem;
  border-radius: 0.4rem;
  padding: 1rem;
}
.with-sidebar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.bg-secondary {
  background-color: var(--color-light-shade) !important;
}
.mb-4 {
  margin-bottom: clamp(1.37rem, 1.21rem + .8vw, 1.78rem);
}
.not-sidebar {
  flex-basis: 0;
  flex-grow: 999;
  min-inline-size: 60%;
}
.mt-1 {
  margin-top: clamp(0.7rem,0.66rem + 0.2vw,0.8rem);
}
.p-1 {
  padding: clamp(0.7rem,0.66rem + 0.2vw,0.8rem);
}
.border-radius-very-small {
  border-radius: 0.4rem;
}
.sidebar-2 {
  flex-basis: 18rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column; /* Stack children vertically */
  text-align: center; /* Center text inside the elements */
  position: relative; /* Ensure the parent container is positioned */

}




.bg-yellow {
  background-color: var(--color-primary-glare) !important;
}
.cluster-2 {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}
.cluster-2 ul, .cluster-2 ol {
  margin: 0;
  padding: 0;
}
.cluster-2 li {
  display: inline-block;
  color: var(--color-normal-font);
  line-height: 1;
  text-decoration: none;
  margin-left: 1rem;
}
.cluster-2 li {
  &::before {
      content: "→";
      display: inline-block;
      color:var(--color-secondary);
      margin-right: 0.5rem;
  }
}
.card::after {
  content: '';
  display: none;
  height: 30px;
  width: 100%;
  background: 0 0;
  position: absolute;
  top: 100%;
  left: 0;
}

.card>:not([href]) {
  padding-right: clamp(1.09rem, 1rem + 0.47vw, 1.33rem);
}

.card:hover {
  transform: translateY(-0.5rem) scale(1.01);
  box-shadow: 0 0 1.125rem rgba(0, 0, 0, .05);
  transition: transform 350ms cubic-bezier(0, .26, .13, 1.55), box-shadow .2s;
}

.card:hover::after {
  display: block;
}

.card__eyebrow {
  font-size: clamp(1.09rem, 1rem + 0.47vw, 1.33rem);
  color: var(--color-dark-glare);
  margin-top: -2rem;
}

.card__button {
  display: inline-block;
  background: var(--color-secondary);
  color: var(--color-light);
  line-height: 1;
  border-radius: .5rem 0;
  margin-left: auto;
  padding:1rem;
}

.card__button::before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: 0 0;
}

.card__button:hover {
  background: var(--color-dark);
  color: var(--color-light);
}

/* Code Block Styles */
.code-block {
  position: relative;
  border-radius: .6rem;
}

.fyi-unit .code-block, .fyi-unit .code-block pre {
  background: var(--color-light);
}
.table-of-contents {
  position: sticky;
  position: -webkit-sticky;
  top: 4rem;
  cursor: pointer;
  max-width: 25ch;
  font-size: clamp(0.7rem,0.66rem + 0.2vw,0.8rem);
}
.table-of-contents a strong {
  font-weight: normal; /* Ensure strong tags inside links are not bold */
}

h2:target, h3:target, h4:target, h5:target, h6:target {
  background-color: var(--color-primary-glare); /* Change this to your desired highlight color */
  transition: background-color 0.3s ease-in-out;
  padding: 0.5rem;
  border-radius: 5px;
  scroll-margin-top: 4rem; /* Adjusts the scroll position so the heading isn't hidden behind fixed headers */
}

pre {
  background: var(--color-light-shade);
  color: var(--color-dark);
  border-radius: .5rem;
  padding: clamp(1.37rem, 1.21rem + 0.8vw, 1.78rem);
  position: relative;
  overflow: hidden;
  font-family: SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  font-size: clamp(0.88rem,0.83rem + 0.24vw,1rem);
}

.code-block .wrapper {
  max-width: 100%;
  padding: 0;
}

pre code {
  padding-top: clamp(0.7rem, 0.66rem + 0.2vw, 0.8rem);
  width: 100%;
  font-weight: 400;
  color: var(--color-dark);
  line-height: 1.8;
}

.code-block pre {
  padding-block-start: 2.5em;
}

.code-block .code-block [class*=token] {
  color: var(--color-dark-glare);
}

.code-block__header {
  position: absolute;
  top: 0;
  right: 0;
  display: inline-flex;
  font-size: clamp(0.88rem, 0.83rem + 0.24vw, 1rem);
  line-height: 1.1;
  z-index: 1;
  font-family: SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;
}

.code-block__alert, .code-block__header button, .code-block__header dd {
  padding: .6rem 1rem .5rem;
  border-radius: 0 .5rem;
  margin: 0;
}

.code-block__header dd {
  color: var(--color-secondary);
  text-transform: uppercase;
}

.code-block__header button {
  font: inherit;
  background: var(--color-secondary);
  color: var(--color-light);
  border: 0;
  cursor: pointer;
  line-height: 1;
  text-transform: uppercase;
}

.code-block__header button:hover {
  background: var(--color-light-shade);
  color: var(--color-dark);
}

.code-block__header button:focus {
  outline-offset: -.4rem;
}

.code-block__header button:active {
  transform: scale(.99);
}

.code-block__alert {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  text-transform: uppercase;
  background: var(--color-secondary);
  color: var(--color-light);
  user-select: none;
}

.code-block .code-block ::selection {
  color: var(--color-dark);
  background: rgba(255, 246, 230, .99);
}

.code-block ::selection {
  background: var(--color-primary);
  color: var(--color-dark);
}

code-pen {
  display: block;
}

code-pen iframe {
  border-radius: .5rem;
  box-shadow: 0 0 1rem rgba(0, 0, 0, .08);
  padding: .25rem;
  background: var(--color-light-shade);
}

/* Field Styles */
.field {
  max-width: 25rem;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.field label {
  font-size: clamp(0.88rem, 0.83rem + 0.24vw, 1rem);
  font-family: SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;
}

.field label::after {
  content: '\a';
  white-space: pre;
}

.field input {
  width: 100%;
}

.fyi-unit {
  display: block;
}

.fyi-unit {
  background: var(--color-light-shade);
  border-radius: .5rem;
  padding: clamp(1.09rem, 1rem + 0.47vw, 1.33rem);
}

.fyi-unit__label {
  margin-top: -1.2lh;
  line-height: .9;
  padding-bottom: .25lh;
}

.fyi-unit .cp_embed_iframe {
  border: 1px solid var(--color-mid);
}

/* Heading Permalink */
.heading-permalink {
  display: inline-block;
  position: absolute;
  top: 1ex;
  right: 2px;
  font-size: .5em;
  transform: translateY(2px);
  color: var(--color-secondary);
}

.heading-permalink:focus, .heading-permalink:hover {
  color: var(--color-dark-glare);
}

/* Background Classes */
.bg-dark {
  background: var(--color-dark);
}

.bg-dark-glare {
  background: var(--color-dark-glare);
}

.bg-light {
  background: var(--color-light);
}

.bg-light-shade {
  background: var(--color-light-shade);
}

.bg-off-white {
  background: var(--color-light-shade);
}

.bg-mid {
  background: var(--color-mid);
}

.bg-primary {
  background: var(--color-primary);
}

.bg-primary-glare {
  background: var(--color-primary-glare);
}

.bg-secondary {
  background: var(--color-secondary);
}

.bg-secondary-glare {
  background: var(--color-secondary-glare);
}

.bg-secondary-shade {
  background: var(--color-secondary-shade);
}

/* Text Color Classes */
.color-dark {
  color: var(--color-dark);
}

.color-dark-glare {
  color: var(--color-dark-glare);
}

.color-light {
  color: var(--color-light);
}

.color-light-shade {
  color: var(--color-light-shade);
}

.color-light-shade {
  color: var(--color-light-shade);
}

.color-mid {
  color: var(--color-mid);
}

.color-primary {
  color: var(--color-primary);
}

.color-primary-glare {
  color: var(--color-primary-glare);
}

.color-secondary {
  color: var(--color-secondary);
}

.color-secondary-glare {
  color: var(--color-secondary-glare);
}

.color-secondary-shade {
  color: var(--color-secondary-shade);
}

/* Additional Classes */
.box-block {
  display: block;
}


.font-base {
  font-family: Kumbh Sans,Arial,sans-serif
}

.font-body {
  font-family: Kumbh Sans,Arial,sans-serif
}

.font-serif {
  font-family: Kumbh Sans,Arial,sans-serif
}

.font-mono {
  font-family: SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace
}
.pad-0 {
  padding: 0
}

.pad-300 {
  padding: clamp(0.7rem,0.66rem + 0.2vw,0.8rem)
}

.pad-400 {
  padding: clamp(0.88rem,0.83rem + 0.24vw,1rem)
}

.pad-500 {
  padding: clamp(1.09rem,1rem + 0.47vw,1.33rem)
}

.pad-600 {
  padding: clamp(1.37rem,1.21rem + 0.8vw,1.78rem)
}

.pad-700 {
  padding: clamp(1.71rem,1.45rem + 1.29vw,2.37rem)
}

.pad-800 {
  padding: clamp(2.14rem,1.74rem + 1.99vw,3.16rem)
}

.pad-900 {
  padding: clamp(2.67rem,2.07rem + 3vw,4.21rem)
}

.pad-1000 {
  padding: clamp(3.34rem,2.45rem + 4.43vw,5.61rem)
}

.gap-0 {
  margin: 0
}

.gap-300 {
  margin: clamp(0.7rem,0.66rem + 0.2vw,0.8rem)
}

.gap-400 {
  margin: clamp(0.88rem,0.83rem + 0.24vw,1rem)
}

.gap-500 {
  margin: clamp(1.09rem,1rem + 0.47vw,1.33rem)
}

.gap-600 {
  margin: clamp(1.37rem,1.21rem + 0.8vw,1.78rem)
}

.gap-700 {
  margin: clamp(1.71rem,1.45rem + 1.29vw,2.37rem)
}

.gap-800 {
  margin: clamp(2.14rem,1.74rem + 1.99vw,3.16rem)
}

.gap-900 {
  margin: clamp(2.67rem,2.07rem + 3vw,4.21rem)
}

.gap-1000 {
  margin: clamp(3.34rem,2.45rem + 4.43vw,5.61rem)
}

.gap-top-0 {
  margin-top: 0
}

.gap-top-300 {
  margin-top: clamp(0.7rem,0.66rem + 0.2vw,0.8rem)
}

.gap-top-400 {
  margin-top: clamp(0.88rem,0.83rem + 0.24vw,1rem)
}

.gap-top-500 {
  margin-top: clamp(1.09rem,1rem + 0.47vw,1.33rem)
}

.gap-top-600 {
  margin-top: clamp(1.37rem,1.21rem + 0.8vw,1.78rem)
}

.gap-top-700 {
  margin-top: clamp(1.71rem,1.45rem + 1.29vw,2.37rem)
}

.gap-top-800 {
  margin-top: clamp(2.14rem,1.74rem + 1.99vw,3.16rem)
}

.gap-top-900 {
  margin-top: clamp(2.67rem,2.07rem + 3vw,4.21rem)
}

.gap-top-1000 {
  margin-top: clamp(3.34rem,2.45rem + 4.43vw,5.61rem)
}

.gap-bottom-0 {
  margin-bottom: 0
}

.gap-bottom-300 {
  margin-bottom: clamp(0.7rem,0.66rem + 0.2vw,0.8rem)
}

.gap-bottom-400 {
  margin-bottom: clamp(0.88rem,0.83rem + 0.24vw,1rem)
}

.gap-bottom-500 {
  margin-bottom: clamp(1.09rem,1rem + 0.47vw,1.33rem)
}

.gap-bottom-600 {
  margin-bottom: clamp(1.37rem,1.21rem + 0.8vw,1.78rem)
}

.gap-bottom-700 {
  margin-bottom: clamp(1.71rem,1.45rem + 1.29vw,2.37rem)
}

.gap-bottom-800 {
  margin-bottom: clamp(2.14rem,1.74rem + 1.99vw,3.16rem)
}

.gap-bottom-900 {
  margin-bottom: clamp(2.67rem,2.07rem + 3vw,4.21rem)
}

.gap-bottom-1000 {
  margin-bottom: clamp(3.34rem,2.45rem + 4.43vw,5.61rem)
}

.gap-left-0 {
  margin-left: 0
}

.gap-left-300 {
  margin-left: clamp(0.7rem,0.66rem + 0.2vw,0.8rem)
}

.gap-left-400 {
  margin-left: clamp(0.88rem,0.83rem + 0.24vw,1rem)
}

.gap-left-500 {
  margin-left: clamp(1.09rem,1rem + 0.47vw,1.33rem)
}

.gap-left-600 {
  margin-left: clamp(1.37rem,1.21rem + 0.8vw,1.78rem)
}

.gap-left-700 {
  margin-left: clamp(1.71rem,1.45rem + 1.29vw,2.37rem)
}

.gap-left-800 {
  margin-left: clamp(2.14rem,1.74rem + 1.99vw,3.16rem)
}

.gap-left-900 {
  margin-left: clamp(2.67rem,2.07rem + 3vw,4.21rem)
}

.gap-left-1000 {
  margin-left: clamp(3.34rem,2.45rem + 4.43vw,5.61rem)
}

.gap-right-0 {
  margin-right: 0
}

.gap-right-300 {
  margin-right: clamp(0.7rem,0.66rem + 0.2vw,0.8rem)
}

.gap-right-400 {
  margin-right: clamp(0.88rem,0.83rem + 0.24vw,1rem)
}

.gap-right-500 {
  margin-right: clamp(1.09rem,1rem + 0.47vw,1.33rem)
}

.gap-right-600 {
  margin-right: clamp(1.37rem,1.21rem + 0.8vw,1.78rem)
}

.gap-right-700 {
  margin-right: clamp(1.71rem,1.45rem + 1.29vw,2.37rem)
}

.gap-right-800 {
  margin-right: clamp(2.14rem,1.74rem + 1.99vw,3.16rem)
}

.gap-right-900 {
  margin-right: clamp(2.67rem,2.07rem + 3vw,4.21rem)
}

.gap-right-1000 {
  margin-right: clamp(3.34rem,2.45rem + 4.43vw,5.61rem)
}

.leading-tight {
  line-height: 1
}
.leading-long {
  line-height: 2
}


.text-0 {
  font-size: 0
}

.text-300 {
  font-size: clamp(0.7rem,0.66rem + 0.2vw,0.8rem)
}

.text-400 {
  font-size: clamp(0.88rem,0.83rem + 0.24vw,1rem)
}

.text-500 {
  font-size: clamp(1.09rem,1rem + 0.47vw,1.33rem)
}

.text-600 {
  font-size: clamp(1.37rem,1.21rem + 0.8vw,1.78rem)
}

.text-700 {
  font-size: clamp(1.71rem,1.45rem + 1.29vw,2.37rem)
}

.text-800 {
  font-size: clamp(2.14rem,1.74rem + 1.99vw,3.16rem)
}

.text-900 {
  font-size: clamp(2.67rem,2.07rem + 3vw,4.21rem)
}

.text-1000 {
  font-size: clamp(3.34rem,2.45rem + 4.43vw,5.61rem)
}

.weight-regular {
  font-weight: 300
}

.weight-bold {
  font-weight: 600
}
/* Base styles for the menu */
.nav-wrapper {
  width: clamp(16rem, 93vw, 77rem);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1.09rem, 1rem + .47vw, 1.33rem);
  padding-right: clamp(1.09rem, 1rem + .47vw, 1.33rem); 
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem; /* Reduced padding for better mobile responsiveness */
  width: 100%;
  max-width: 100%; /* Ensure nav doesn't overflow */
  box-sizing: border-box; /* Include padding in width calculation */
}

.logo img {
  height: auto;
  width: auto;
  max-height: 40px;
  max-width: 100%; /* Prevent logo from overflowing */
  display: block;
  box-shadow: none;
  border: none;
  margin-right: 1rem;
  margin-bottom: 0.5rem;
}

.menu {
  display: flex;
  flex: 1;
  justify-content: space-between;
  align-items: center;
  margin: 0;
  padding: 0;
  max-width: 100%; /* Prevent menu from overflowing */
}

.menu li {
  position: relative;
  list-style: none;
}

.menu li a {
  display: block;
  padding: 0.5rem 1.2rem;
  font-weight: 600;
  font-size: clamp(0.88rem,0.83rem + 0.24vw,1rem);
  text-align: left;
  text-decoration: underline;
  text-decoration-thickness: 0.02rem; /* Adjust the thickness of the underline */
  text-underline-offset: 0.2rem; /* Adjust the space between text and underline */
  text-decoration-color: var(--color-secondary);
}

.last-menu-item {
  margin-left: auto; /* Pushes the last menu item to the right */
}

@media (max-width: 991px) {
  .last-menu-item {
    margin-left: initial; /* Resets the margin to default on mobile */
  }
}
.menu li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 15%;
  list-style: none;
  padding: 0;
  margin: 0;
  background: var(--color-light-shade);
  border-radius: 0.5rem;
  min-width: 10rem;
  z-index: 99;
  border:0.02rem solid var(--color-dark)
}

.menu li:hover > ul {
  display: block;

}

.menu li.menu-item-has-children > a::after {
  content: '↓'; /* Downward arrow symbol */
  margin-left: 0.1rem;
  color: var(--color-secondary)
  
}


/* Mobile styles */
.menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;

}

.menu-icon span {
  width: 25px;
  height: 3px;
  background: #333;
  margin: 4px 0;
  transition: transform 0.1s, opacity 0.1s;
}

@media (max-width: 991px) {
  .main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem; /* Adjust padding as needed */
    position: relative;
}

  .menu {
      display: none;
      flex-direction: column;
      width: 100%;
      background-color: #fff;
      position: absolute;
      top: 100%; /* Open menu below the logo and menu icon */
      right: 0;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
      z-index: 1;

  }
  .menu li {
    text-align: left; /* Align menu items to the left */
}

.menu li a {
    width: 100%; /* Ensure full width for each item */
    padding: 1rem; /* Adjust padding for mobile view */
}

  .menu li ul {
      position: static;
  }


  .menu-toggle:checked + .menu-icon + .menu {
      display: flex;
      
  }

  .menu-icon {
      display: flex;
      
      
  }

  /* Styles for changing hamburger icon to close icon */
  .menu-toggle:checked + .menu-icon span:nth-child(1) {
      transform: rotate(45deg) translate(9px, 5px);
      z-index: 2;

  }
  
  .menu-toggle:checked + .menu-icon span:nth-child(2) {
      opacity: 0;
      background: #333; /* Ensure background color is consistent */

  }
  
  .menu-toggle:checked + .menu-icon span:nth-child(3) {
      transform: rotate(-45deg) translate(9px, -5px);
      z-index: 2;

  }
}

  
.inline-block{
  display: inline-block;
}
.display-flex{
  display: flex;
}

.fade {
  transition: opacity 0.15s linear;
}
@media (prefers-reduced-motion: reduce) {
  .fade {
    transition: none;
  }
}
.fade:not(.show) {
  opacity: 0;
}

.collapse:not(.show) {
  display: none;
}

.collapsing {
  height: 0;
  overflow: hidden;
  transition: height 0.35s ease;
}
@media (prefers-reduced-motion: reduce) {
  .collapsing {
    transition: none;
  }
}
.collapsing.collapse-horizontal {
  width: 0;
  height: auto;
  transition: width 0.35s ease;
}
@media (prefers-reduced-motion: reduce) {
  .collapsing.collapse-horizontal {
    transition: none;
  }
}
.repel-author {
  display: flex;
  flex-wrap: wrap;
  align-items: var(--repel-vertical-alignment, center);
  gap: var(--gutter, clamp(1.2rem, 1.12rem + 0.42vw, 1.41rem));
}
.flex-1 {
  flex: 1 1 0%;
}
.border-top-very-thin {
  border-top: var(--color-dark) solid 0.05rem;
  margin-top: 1rem;
  margin-left:1rem;
}
.border-very-thin {
  border: var(--color-dark) solid 0.05rem;

}
.border-left-very-thin {
  border-left: var(--color-dark) solid 0.05rem;

}
.rank-math-faq-item{
margin-top: 2rem;
max-width: 60ch;
}
.rank-math-answer{
margin-top:0.5rem;
max-width: 60ch;

}
.wp-block-image img {
  max-width: min(45rem, 100%);
  margin: 1rem 0;
  border: var(--color-dark) 0.02rem solid;
  align-items: flex-start;
}
img {
  max-width: min(45rem, 100%);
  margin: 1rem 0;
  border: var(--color-dark) 0.02rem solid;
  align-items: flex-start;
}
.wp-block-image .aligncenter {
  display: block;
  margin-left: 0;
  margin-right: auto;
}
.timeline {
  position: relative;
  padding: 0;
  list-style: none;
}
.timeline:before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 40px;
  width: 2px;
  margin-left: -1.5px;
  content: "";
  background-color: #e9ecef;
}
.timeline > li {
  position: relative;
  min-height: 50px;
  margin-bottom: 50px;
}
.timeline > li:after, .timeline > li:before {
  display: table;
  content: " ";
}
.timeline > li:after {
  clear: both;
}
.timeline > li .timeline-panel {
  position: relative;
  float: right;
  width: 100%;
  padding: 0 20px 0 100px;
  text-align: left;
}
.timeline > li .timeline-panel:before {
  right: auto;
  left: -15px;
  border-right-width: 15px;
  border-left-width: 0;
}
.timeline > li .timeline-panel:after {
  right: auto;
  left: -14px;
  border-right-width: 14px;
  border-left-width: 0;
}
.af-list-items {
  display: flex;
  flex-direction: column;
  gap: 20px; /* Space between rows */
  margin: 20px; /* Add margin around the entire table */
}

.af-list-item-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
  border: 1px solid #e5e7eb; /* Light border to give a table-like appearance */
  border-radius: 5px;
  background-color: #f9fafb;
}

.af-list-item-left {
  display: flex;
  align-items: center;
  gap: 15px; /* Space between logo and product name */
}

.af-list-logo {
  width: 150px; /* Increase the size of the logo */
  height: auto;
  display: block;
}

.af-list-item-right {
  display: flex;
  align-items: center;
  gap: 15px; /* Space between price and button */
}

.af-price {
  font-size: 16px;
  font-weight: 600;
  color: #2c3e50;
}

.af-button.is-btn {
  background-color: #0073aa;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.af-button.is-btn:hover {
  background-color: var(--color-secondary);
}

@media (max-width: 768px) {
  .af-list-item-inner {
      flex-direction: column;
      align-items: flex-start;
      gap: 10px;
  }

  .af-list-item-right {
      flex-direction: row-reverse;
      justify-content: flex-start;
  }
}

.af-list-inner {
  /* margin: 20px; Add margin around the entire section */
  /* padding: 20px; Add padding inside the section for better spacing */
  /* border: 1px solid #e5e7eb; Light border for separation */
  border-radius: 5px;
  /* background-color: #f9fafb; */
}

.af-list-header {
  margin-bottom: 20px; /* Add space below the header */
}

.af-list-header h3 {
  font-size: 24px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 15px; /* Space below the heading */
}

.af-description {
  /* font-size: 16px; Adjust the font size for the description */
  /* line-height: 1.6; Improve readability */
  color: #2c3e50;
}

.af-description strong {
  font-weight: 600;
  color: var(--color-dark); /* Highlight strong text with a different color */
}

.af-description img {
  margin-right: 5px; /* Space between the icon and text */
}

@media (max-width: 768px) {
  .af-list-inner {
      margin: 10px; /* Reduce margin on smaller screens */
      padding: 15px; /* Reduce padding on smaller screens */
  }

  .af-list-header h3 {
      /* font-size: 20px; Adjust heading size on smaller screens */
  }

  .af-description {
      /* font-size: 14px; Adjust text size on smaller screens */
  }
}
.wp-block-foxiz-elements-affiliate-list {
  border: none !important; /* Remove any border */
  box-shadow: none !important; /* Remove any shadow if applicable */
}

.af-description img {
  display: inline-block; /* Ensures the image stays inline with the text */
  vertical-align: middle; /* Aligns the middle of the image with the middle of the text */
  margin-right: 8px; /* Adds space between the image and the following text */
}

.af-description strong {
  display: inline; /* Ensures the text remains inline with the image */
}

.af-description {
  display: inline; /* Ensure that the entire content within this class behaves inline */
  white-space: wrap;
}
.af-description br {
  display: block;
  content: "";
  margin-top: 10px; /* Adjust these values as needed */
  margin-bottom: 10px; /* Adjust these values as needed */
  line-height: 1.7;
}
.af-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  gap: 20px; /* Space between columns */
}

.af-image {
  width: 10rem; /* Set logo size */
  height: auto;
  flex-shrink: 0; /* Prevent the logo from shrinking */
  align-self: flex-start; /* Ensure image is centered */
  margin-bottom: 10px; /* Add space below the image */
}

.af-content {
  flex: 1; /* Allow content to take up available space */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px; /* Space between content elements */
}
.af-content .af-description{
  font-size: clamp(0.88rem,0.83rem + 0.24vw,1rem)
}

.af-rating, .af-cta-wrap {
  align-self: flex-start;
  margin-top: 10px; /* Space between description and rating */
}
.af-cta-wrap {
  display: flex;
  flex-direction: column; /* Stack items vertically */
  align-items: center; /* Center align them horizontally */
  gap: 15px; /* Space between price and button */
  margin-top: 15px;
}


.af-price {
  font-size: 18px;
  font-weight: 600;
  color: #2c3e50;
}

.af-button.is-btn {
  background-color: #0073aa;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.af-button.is-btn:hover {
  background-color: #005b8a;
}

@media (max-width: 768px) {
  .af-inner {
      flex-direction: column;
      gap: 15px; /* Space between elements on smaller screens */
  }

  .af-cta-wrap {
      flex-direction: row-reverse;
      justify-content: space-between;
      width: 100%;
  }
}
.af-rating {
  display: flex;
  align-items: center;
  gap: 10px; /* Space between stars and text */
}

.rstar-wrap {
  position: relative;
  display: inline-block;
  width: 100px; /* Adjust width as needed */
  height: 20px; /* Adjust height as needed */
  background-color: #ddd; /* Background for empty stars */
  overflow: hidden;
}

.rstar-bg {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background-color: #ffc107; /* Color for filled stars */
  z-index: 1;
}

.rstar {
  position: relative;
  z-index: 2;
  color: #ccc; /* Color for empty stars */
  font-size: 20px;
}

.rstar-bg ~ .rstar {
  color: #ffc107; /* Color for filled stars */
}

.af-rating-meta {
  font-size: 16px;
  color: #333; /* Adjust text color as needed */
}
.wp-block-table table {
  border-collapse: separate; /* Keeps internal borders intact */
  border-radius: 0.5rem; /* Adjust the radius as needed */
  overflow: hidden; /* Ensures the border-radius is applied to the table */
  border: var(--color-dark) 0.02rem solid;
}

.wp-block-table table td,
.wp-block-table table th {
  border: 0.02rem solid var(--color-dark-glare); /* Ensure internal borders remain visible */
  padding: 0.7rem; /* Optional: Adds some padding for better appearance */
  background-color: var(--color-light-shade);
}

.wp-block-table table tr:first-child td:first-child {
  border-top-left-radius: 0.5rem; /* Round top-left corner */
}

.wp-block-table table tr:first-child td:last-child {
  border-top-right-radius: 0.5rem; /* Round top-right corner */
}

.wp-block-table table tr:last-child td:first-child {
  border-bottom-left-radius: 0.5rem; /* Round bottom-left corner */
}

.wp-block-table table tr:last-child td:last-child {
  border-bottom-right-radius: 0.5rem; /* Round bottom-right corner */
}

.wp-block-foxiz-elements-affiliate-product.gb-wrap.af-product {
  border-radius: 0.5rem;
  border: var(--color-dark) 0.02rem solid;
}




.cluster-review {
  column-count: 2; /* Split content into 2 columns */
  column-gap: 2rem; /* Adjust the gap between the columns */
}

.cluster-review ul, .cluster-review ol {
  margin: 1rem 0;
  padding: 0;
  list-style: none; /* Remove default list styles */
}

.cluster-review li {
  display: block;
  color: var(--color-normal-font);
  line-height: 1.2;
  text-decoration: none;
  margin-bottom: 1.2rem;
  break-inside: avoid; /* Prevent items from breaking between columns */
}

.cluster-review li::before {
  content: "→";
  display: inline-block;
  color: var(--color-secondary);
  margin-right: 0.5rem;
}
.sidebar-review {
  flex-basis: 18rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column; /* Stack children vertically */
  align-items: flex-start; /* Align children to the start horizontally */
  justify-content: flex-start; /* Align children to the start vertically */
  text-align: left; /* Align text to the left inside the elements */
  position: sticky; /* Make the sidebar sticky */
  top: 4rem; /* Stick to the top with a 4rem offset */
  max-width: 25ch; /* Optional: limit the width of the sidebar */
  font-size: clamp(0.7rem, 0.66rem + 0.2vw, 0.8rem); /* Optional: responsive font size */
}
.review-pros-cons-sticky {
  position: sticky;
  position: -webkit-sticky; /* For Safari */
  top:4rem;
  cursor: pointer;
  max-width: 25ch;
  font-size: clamp(0.7rem,0.66rem + 0.2vw,0.8rem);
}
.review-pros-cons-sticky ul{
  list-style: none;
  padding-left: 0;
}

.review-pros-cons-sticky li {
  display: block;
  margin-bottom: 0.5rem; /* Adds space between each item */
  position: relative;
  padding-left: 1rem; /* Adds space for the arrow */
  text-align: left;
}
.review-pros-cons-sticky  li::before {
  content: "→";
  position: absolute;
  left: 0; /* Positions the arrow to the left */
  color: var(--color-secondary); /* Change arrow color to match the theme */
  
}
.review-pros-cons-sticky h4 {
  font-size: clamp(1.09rem,1rem + 0.27vw,1.33rem);
  font-weight: 600;
  margin-bottom: 1rem;
  text-align:left
  
}

.pagination {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
}

.pagination li {
  margin: 0 0.5rem;
}

.pagination a,
.pagination span {
  padding: 0.5rem 1rem;
  text-decoration: none;
  color: #000;
  border: 1px solid #ddd;
  border-radius: 0.25rem;
}

.pagination a:hover,
.pagination .current {
  background-color: #f0f0f0;
  border-color: #bbb;
}
.author_data ul{
  list-style: none;
  padding-left: 0;
}

.author_data li {
  display: block;
  margin-bottom: 0.5rem; /* Adds space between each item */
  position: relative;
  padding-left: 2rem; /* Adds space for the arrow */
  text-align: left;
}
.author_data  li::before {
  content: "→";
  position: absolute;
  left: 0; /* Positions the arrow to the left */
  color: var(--color-secondary); /* Change arrow color to match the theme */
  
}
/* Main button styles */
.top {
  --offset: 500px; /* control when the button appears */

  position: fixed; /* Fixed so it sticks in place while scrolling */
  bottom: 40px; /* Space from the bottom */
  right: 20px;  /* Align to the right side */
  
  width: 2.5rem;
  height: 2.4rem;
  border: 0.02rem solid var(--color-dark); /* Background color for the button */
  border-radius: 50%; /* Makes it circular */
  font-size: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999; /* Ensure it stays on top of other elements */
}

.top:before {
  content: "↑";
  position: absolute;
  color: var(--color-secondary);
  font-weight: 600;
  font-size: 1.5rem;
  
}

/* Optional: Add a hover effect */
.top:hover {
  background-color: var(--color-light-shade);
}
.sources-grid {
    display: flex;
    gap: 20px;
}

.source-column {
    flex: 1; /* Each column takes up equal width */
    padding-left: 20px; /* Add some padding for list indentation */
}

.sources-section h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

ol.source-column {
    list-style-position: inside;
}

/**
 * Service Review Template Styles
 */
 
 .container {
     max-width: 1200px;
     margin: 0 auto;
     padding: 0 1rem;
 }
 
 .review-hero {
     background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
     color: white;
     padding: 3rem 0;
     position: relative;
     overflow: hidden;
 }
 
 .hero-pattern {
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     opacity: 0.1;
     background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
 }
 
 .hero-info {
     flex: 1;
 }
 
 .product-logo {
     width: 100px;
     height: 100px;
     background-color: white;
     border-radius: 16px;
     display: flex;
     align-items: center;
     justify-content: center;
     box-shadow: 0 10px 25px rgba(0,0,0,0.1);
     overflow: hidden;
 }
 
 .product-logo img {
     max-width: 80%;
     max-height: 80%;
 }
 
 .review-title {
     display: flex;
     align-items: center;
     gap: 1rem;
     margin-bottom: 1rem;
 }
 
 h1 {
     font-size: 2.5rem;
     margin: 0;
     font-weight: 700;
     line-height: 1.2;
 }
 
 .review-subtitle {
     opacity: 0.9;
     font-size: 1.1rem;
     margin-bottom: 1.5rem;
 }
 
 .review-meta {
     display: flex;
     align-items: center;
     gap: 2rem;
     flex-wrap: wrap;
     margin-bottom: 1rem;
 }
 
 .meta-item {
     display: flex;
     align-items: center;
     gap: 0.5rem;
     color: rgba(255,255,255,0.9);
     font-size: 0.9rem;
 }
 
 .rating-large {
     font-size: 3rem;
     font-weight: 700;
     line-height: 1;
 }
 
 .rating-context {
     display: flex;
     flex-direction: column;
 }
 
 .data-metrics {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
     gap: 1.5rem;
     margin-top: 3rem;
     margin-bottom: -4rem;
 }
 
 .metric-card {
     background: white;
     border-radius: 16px;
     overflow: hidden;
     box-shadow: 0 10px 25px rgba(0,0,0,0.1);
     transition: transform 0.3s ease;
 }
 
 .metric-card:hover {
     transform: translateY(-5px);
 }
 
 .metric-header {
     padding: 1.5rem;
     display: flex;
     flex-direction: column;
     align-items: center;
     text-align: center;
     position: relative;
 }
 
 .metric-score {
     font-size: 2.5rem;
     font-weight: 700;
     margin-bottom: 0.5rem;
     line-height: 1;
 }
 
 .metric-title {
     font-weight: 600;
     font-size: 1.1rem;
     margin-bottom: 0.5rem;
 }
 
 .metric-subtitle {
     font-size: 0.85rem;
     color: var(--secondary);
 }
 
 .metric-chart {
     position: relative;
     width: 120px;
     height: 120px;
     margin-bottom: 1rem;
 }
 
 .circle-bg {
     fill: none;
     stroke: #e2e8f0;
     stroke-width: 8;
 }
 
 .circle-progress {
     fill: none;
     stroke-width: 8;
     stroke-linecap: round;
     stroke-dasharray: 339.292;
     transform: rotate(-90deg);
     transform-origin: center;
     transition: stroke-dashoffset 1.5s ease;
 }
 
 .chart-text {
     position: absolute;
     top: 50%;
     left: 50%;
     transform: translate(-50%, -50%);
     text-align: center;
     font-size: 1.75rem;
     font-weight: 700;
 }
 
 .reliability-color { color: var(--success); stroke: var(--success); }
 .performance-color { color: var(--primary); stroke: var(--primary); }
 .usability-color { color: var(--purple); stroke: var(--purple); }
 .price-color { color: var(--warning); stroke: var(--warning); }
 .support-color { color: var(--success); stroke: var(--success); }
 
 .metric-footer {
     padding: 1rem 1.5rem;
     background-color: var(--light);
     font-size: 0.875rem;
     color: var(--secondary);
     border-top: 1px solid #e2e8f0;
     text-align: center;
 }
 
 .review-content {
     padding: 5rem 0 3rem;
 }
 
 .review-nav {
     position: sticky;
     top: 0;
     background-color: white;
     box-shadow: 0 1px 3px rgba(0,0,0,0.1);
     z-index: 90;
     margin-bottom: 2rem;
 }
 
 .nav-tabs {
     display: flex;
     overflow-x: auto;
     scrollbar-width: none;
 }
 
 .nav-tabs::-webkit-scrollbar {
     display: none;
 }
 
 .nav-tab {
     padding: 1rem 1.5rem;
     font-weight: 500;
     white-space: nowrap;
     color: var(--secondary);
     cursor: pointer;
     border-bottom: 3px solid transparent;
     transition: all 0.2s ease;
 }
 
 .nav-tab.active {
     color: var(--primary);
     border-bottom-color: var(--primary);
 }
 
 .nav-tab:hover:not(.active) {
     color: var(--dark);
     border-bottom-color: #e2e8f0;
 }
 

 h2 {
     font-size: 1.5rem;
     margin-top: 0;
     margin-bottom: 1.5rem;
     font-weight: 700;
     position: relative;
     padding-bottom: 0.5rem;
 }
 
 h2::after {
     content: '';
     position: absolute;
     bottom: 0;
     left: 0;
     width: 50px;
     height: 3px;
     background-color: var(--primary);
     border-radius: 3px;
 }
 
 .review-sources {
     display: grid;
     grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
     gap: 1.5rem;
 }
 
 .review-source {
     border: 1px solid #e2e8f0;
     border-radius: 12px;
     overflow: hidden;
     transition: transform 0.3s ease, box-shadow 0.3s ease;
 }
 
 .review-source:hover {
     transform: translateY(-5px);
     box-shadow: 0 10px 25px rgba(0,0,0,0.05);
 }
 
 .source-header {
     display: flex;
     align-items: center;
     justify-content: space-between;
     padding: 1.25rem;
     background-color: #f8fafc;
     border-bottom: 1px solid #e2e8f0;
 }
 
 .source-name {
     font-weight: 600;
 }
 
 .source-logo {
     height: 24px;
 }
 
 .source-rating {
     display: flex;
     align-items: center;
     gap: 0.5rem;
 }
 
 .stars {
     color: #f59e0b;
     display: flex;
 }
 
 .rating-number {
     font-weight: 600;
 }
 
 .source-content {
     padding: 1.25rem;
 }
 
 .stat {
     display: flex;
     justify-content: space-between;
     margin-bottom: 0.75rem;
 }
 
 .stat:last-child {
     margin-bottom: 0;
 }
 
 .stat-label {
     color: var(--secondary);
 }
 
 .stat-value {
     font-weight: 600;
 }
 
 /* Factor Analysis Styles */
 .factor-analysis {
     margin-top: 1.5rem;
 }
 
 .factor-row {
     margin-bottom: 2rem;
 }
 
 .factor-row:last-child {
     margin-bottom: 0;
 }
 
 .factor-header {
     display: flex;
     justify-content: space-between;
     align-items: center;
     margin-bottom: 0.5rem;
 }
 
 .factor-name {
     font-weight: 600;
     font-size: 1.1rem;
 }
 
 .factor-score {
     font-weight: 700;
     font-size: 1.1rem;
 }
 
 .factor-bar-bg {
     width: 100%;
     height: 10px;
     background-color: #f1f5f9;
     border-radius: 5px;
     overflow: hidden;
     margin-bottom: 0.75rem;
 }
 
 .factor-bar {
     height: 100%;
     border-radius: 5px;
     transition: width 1s ease-out;
 }
 
 .bar-excellent { background-color: var(--success); }
 .bar-good { background-color: var(--primary); }
 .bar-average { background-color: var(--warning); }
 .bar-poor { background-color: var(--danger); }
 
 .factor-highlights {
     display: flex;
     flex-wrap: wrap;
     gap: 0.75rem;
     font-size: 0.9rem;
 }
 
 .factor-highlight {
     background-color: #f8fafc;
     padding: 0.5rem 0.75rem;
     border-radius: 6px;
     border: 1px solid #e2e8f0;
 }
 
 .factor-verdict {
     font-weight: 600;
     margin-right: 0.25rem;
 }
 
 .verdict-excellent { color: var(--success); }
 .verdict-good { color: var(--primary); }
 .verdict-average { color: var(--warning); }
 .verdict-poor { color: var(--danger); }
 
 /* Timeline Styles */
 .timeline {
     position: relative;
     padding-left: 2rem;
 }
 
 .timeline::before {
     content: '';
     position: absolute;
     left: 7px;
     top: 0;
     bottom: 0;
     width: 3px;
     background-color: var(--primary-light);
     border-radius: 3px;
 }
 
 .timeline-item {
     position: relative;
     margin-bottom: 2rem;
     animation: fadeInUp 0.5s ease forwards;
     opacity: 0;
     transform: translateY(20px);
 }
 
 .timeline-item:nth-child(1) { animation-delay: 0.1s; }
 .timeline-item:nth-child(2) { animation-delay: 0.2s; }
 .timeline-item:nth-child(3) { animation-delay: 0.3s; }
 .timeline-item:nth-child(4) { animation-delay: 0.4s; }
 
 @keyframes fadeInUp {
     to {
         opacity: 1;
         transform: translateY(0);
     }
 }
 
 .timeline-item:last-child {
     margin-bottom: 0;
 }
 
 .timeline-marker {
     position: absolute;
     left: -2rem;
     width: 16px;
     height: 16px;
     border-radius: 50%;
     background-color: white;
     border: 3px solid var(--primary);
     top: 4px;
     z-index: 1;
 }
 
 .timeline-date {
     font-size: 0.875rem;
     font-weight: 600;
     color: var(--primary);
     margin-bottom: 0.5rem;
 }
 
 .timeline-content {
     background-color: white;
     padding: 1.5rem;
     border-radius: 12px;
     box-shadow: 0 5px 15px rgba(0,0,0,0.05);
     border: 1px solid #e2e8f0;
     transition: transform 0.3s ease;
 }
 
 .timeline-content:hover {
     transform: translateY(-5px);
 }
 
 .timeline-title {
     font-weight: 700;
     margin-bottom: 0.5rem;
     color: var(--dark);
 }
 
 /* Reddit Sentiment Styles */
 .reddit-sentiment {
     display: grid;
     grid-template-columns: repeat(3, 1fr);
     gap: 1.5rem;
     margin-bottom: 2rem;
 }
 
 .sentiment-card {
     text-align: center;
     padding: 1.5rem;
     border-radius: 12px;
     position: relative;
     overflow: hidden;
 }
 
 .sentiment-background {
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     opacity: 0.15;
     z-index: 0;
 }
 
 .sentiment-content {
     position: relative;
     z-index: 1;
 }
 
 .sentiment-positive {
     border: 1px solid rgba(16, 185, 129, 0.2);
 }
 
 .sentiment-positive .sentiment-background {
     background-color: var(--success);
 }
 
 .sentiment-neutral {
     border: 1px solid rgba(100, 116, 139, 0.2);
 }
 
 .sentiment-neutral .sentiment-background {
     background-color: var(--secondary);
 }
 
 .sentiment-negative {
     border: 1px solid rgba(239, 68, 68, 0.2);
 }
 
 .sentiment-negative .sentiment-background {
     background-color: var(--danger);
 }
 
 .sentiment-percent {
     font-size: 2.5rem;
     font-weight: 700;
     margin-bottom: 0.5rem;
     display: block;
     line-height: 1;
 }
 
 .positive-text {
     color: var(--success);
 }
 
 .neutral-text {
     color: var(--secondary);
 }
 
 .negative-text {
     color: var(--danger);
 }
 
 .sentiment-label {
     font-weight: 600;
     font-size: 1.1rem;
 }
 
 .reddit-posts {
     border-radius: 12px;
     overflow: hidden;
     box-shadow: 0 5px 15px rgba(0,0,0,0.05);
     border: 1px solid #e2e8f0;
 }
 
 .reddit-post {
     padding: 1.5rem;
     border-bottom: 1px solid #e2e8f0;
     transition: background-color 0.2s ease;
 }
 
 .reddit-post:hover {
     background-color: #f8fafc;
 }
 
 .reddit-post:last-child {
     border-bottom: none;
 }
 
 .post-header {
     display: flex;
     justify-content: space-between;
     margin-bottom: 0.75rem;
 }
 
 .subreddit {
     color: var(--primary);
     font-weight: 600;
 }
 
 .post-date {
     font-size: 0.875rem;
     color: var(--secondary);
 }
 
 .post-title {
     font-weight: 700;
     margin-bottom: 0.75rem;
     font-size: 1.1rem;
 }
 
 .post-excerpt {
     font-size: 0.95rem;
     color: var(--dark);
     margin-bottom: 0.75rem;
     line-height: 1.6;
 }
 
 .post-sentiment {
     display: inline-block;
     padding: 0.25rem 0.75rem;
     border-radius: 100px;
     font-size: 0.75rem;
     font-weight: 700;
     text-transform: uppercase;
     letter-spacing: 0.5px;
 }
 
 .sentiment-tag-positive {
     background-color: var(--success-light);
     color: var(--success);
 }
 
 .sentiment-tag-neutral {
     background-color: #f1f5f9;
     color: var(--secondary);
 }
 
 .sentiment-tag-negative {
     background-color: var(--danger-light);
     color: var(--danger);
 }
 
 /* Word Cloud Styles */
 .word-cloud-container {
     padding: 2.5rem;
     background-color: #f8fafc;
     border-radius: 12px;
     margin-bottom: 2rem;
     position: relative;
     min-height: 300px;
     overflow: hidden;
     border: 1px solid #e2e8f0;
 }
 
 .word-cloud {
     display: flex;
     flex-wrap: wrap;
     justify-content: center;
     align-items: center;
     gap: 1.25rem;
     padding: 1rem;
 }
 
 .word-tag {
     padding: 0.5rem 1.25rem;
     border-radius: 100px;
     display: inline-block;
     font-weight: 600;
     box-shadow: 0 5px 15px rgba(0,0,0,0.05);
     transition: transform 0.3s ease, box-shadow 0.3s ease;
     animation: fadeIn 1s ease forwards;
     opacity: 0;
 }
 
 @keyframes fadeIn {
     to {
         opacity: 1;
     }
 }
 
 .word-tag:hover {
     transform: translateY(-5px) scale(1.05);
     box-shadow: 0 10px 25px rgba(0,0,0,0.1);
 }
 
 .word-tag:nth-child(1) { animation-delay: 0.1s; }
 .word-tag:nth-child(2) { animation-delay: 0.2s; }
 .word-tag:nth-child(3) { animation-delay: 0.3s; }
 .word-tag:nth-child(4) { animation-delay: 0.2s; }
 .word-tag:nth-child(5) { animation-delay: 0.3s; }
 .word-tag:nth-child(6) { animation-delay: 0.4s; }
 .word-tag:nth-child(7) { animation-delay: 0.3s; }
 .word-tag:nth-child(8) { animation-delay: 0.2s; }
 .word-tag:nth-child(9) { animation-delay: 0.5s; }
 .word-tag:nth-child(10) { animation-delay: 0.4s; }
 
 .size-1 { font-size: 0.9rem; opacity: 0.75; }
 .size-2 { font-size: 1.1rem; opacity: 0.8; }
 .size-3 { font-size: 1.3rem; opacity: 0.9; }
 .size-4 { font-size: 1.5rem; }
 .size-5 { font-size: 1.8rem; }
 .size-6 { font-size: 2.2rem; font-weight: 700; }
 
 .type-positive { background-color: var(--success-light); color: var(--success); }
 .type-negative { background-color: var(--danger-light); color: var(--danger); }
 .type-neutral { background-color: var(--primary-light); color: var(--primary); }
 .type-feature { background-color: var(--purple-light); color: var(--purple); }
 
 .term-legend {
     display: flex;
     justify-content: center;
     gap: 1.5rem;
     flex-wrap: wrap;
     margin-top: 1.5rem;
 }
 
 .legend-item {
     display: flex;
     align-items: center;
     gap: 0.5rem;
     font-size: 0.875rem;
 }
 
 .legend-color {
     width: 12px;
     height: 12px;
     border-radius: 3px;
 }
 
 .legend-positive { background-color: var(--success); }
 .legend-negative { background-color: var(--danger); }
 .legend-neutral { background-color: var(--primary); }
 .legend-feature { background-color: var(--purple); }
 
 .term-insights {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
     gap: 1.5rem;
     margin-top: 2rem;
 }
 
 .insight-card {
     background-color: white;
     border-radius: 12px;
     box-shadow: 0 5px 15px rgba(0,0,0,0.05);
     padding: 1.5rem;
     border: 1px solid #e2e8f0;
     transition: transform 0.3s ease;
 }
 
 .insight-card:hover {
     transform: translateY(-5px);
 }
 
 .insight-title {
     font-weight: 700;
     margin-bottom: 0.75rem;
     font-size: 1.1rem;
     color: var(--dark);
 }
 
 /* Features Grid */
 .features-grid {
     display: grid;
     grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
     gap: 1.5rem;
 }
 
 .feature-item {
     background-color: white;
     padding: 1.5rem;
     border-radius: 12px;
     text-align: center;
     box-shadow: 0 5px 15px rgba(0,0,0,0.05);
     border: 1px solid #e2e8f0;
     transition: transform 0.3s ease;
 }
 
 .feature-item:hover {
     transform: translateY(-5px);
 }
 
 .feature-icon {
     width: 60px;
     height: 60px;
     background-color: var(--primary-light);
     color: var(--primary);
     display: flex;
     align-items: center;
     justify-content: center;
     border-radius: 12px;
     margin: 0 auto 1rem;
     font-size: 1.5rem;
 }
 
 .feature-name {
     font-weight: 700;
     margin-bottom: 0.5rem;
     font-size: 1.1rem;
 }
 
 .feature-desc {
     font-size: 1.25rem;
     font-weight: 700;
     color: var(--primary);
 }
 
 /* CTA Section */
 .cta-section {
     text-align: center;
     padding: 3rem 2rem;
     background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
     border-radius: 16px;
     margin-bottom: 3rem;
     color: white;
     position: relative;
     overflow: hidden;
 }
 
 .cta-pattern {
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     opacity: 0.1;
     background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
 }
 
 .cta-content {
     position: relative;
     z-index: 1;
 }
 
 .cta-title {
     font-size: 2rem;
     font-weight: 700;
     margin-bottom: 1rem;
 }
 
 .cta-subtitle {
     font-size: 1.1rem;
     opacity: 0.9;
     max-width: 600px;
     margin: 0 auto 2rem;
 }
 
 .cta-button {
     display: inline-block;
     background-color: white;
     color: var(--primary);
     padding: 1rem 2rem;
     border-radius: 100px;
     font-weight: 700;
     text-decoration: none;
     transition: transform 0.3s ease, box-shadow 0.3s ease;
     box-shadow: 0 10px 25px rgba(0,0,0,0.1);
 }
 
 .cta-button:hover {
     transform: translateY(-5px);
     box-shadow: 0 15px 30px rgba(0,0,0,0.15);
 }
 
 /* Responsive Adjustments */
 @media (max-width: 992px) {
     .hero-content {
         flex-direction: column;
         text-align: center;
     }
     
     .data-metrics {
         grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
     }
     
     h2::after {
         left: 50%;
         transform: translateX(-50%);
     }
     
     .reddit-sentiment {
         grid-template-columns: 1fr;
     }
 }
 
 @media (max-width: 768px) {
     h1 {
         font-size: 2rem;
     }
     
     .rating-large {
         font-size: 2.5rem;
     }
     
     .review-meta {
         flex-direction: column;
         align-items: center;
         gap: 1rem;
     }
     
     section {
         padding: 1.5rem;
     }
     
     .factor-header {
         flex-direction: column;
         align-items: flex-start;
         gap: 0.5rem;
     }
     
     .term-insights {
         grid-template-columns: 1fr;
     }
 }

 /* newhomepage */
 
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

section {
  padding: var(--space-xl) 0;
}

.section {
  margin: var(--space-xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.section-header h2 {
  color: var(--color-primary-dark);
  margin-bottom: var(--space-xs);
}

.section-header p {
  color: var(--color-text-light);
  max-width: 700px;
  margin: 0 auto;
}

.view-all {
  text-align: center;
  margin-top: var(--space-sm);
}

.view-all a {
  color: var(--color-primary);
  font-weight: var(--fw-semibold);
  position: relative;
  transition: transform var(--transition-normal);
}

.view-all a:hover {
  transform: translateX(5px);
}

.view-all-category {
  text-align: center;
}

.view-all-category a {
  color: var(--color-primary);
  font-weight: var(--fw-semibold);
  position: relative;
  transition: transform var(--transition-normal);
}

.view-all-category a:hover {
  transform: translateX(5px);
}


.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-md);
  font-size: var(--fs-500);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.btn-primary {
  background-color: white;
  color: var(--color-primary);
}

.btn-primary:hover {
  background-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background-color: var(--color-primary-dark);
  color: white;
  transform: translateY(-2px);
}

/* ===== HEADER STYLES ===== */
.header {
  background-color: var(--color-bg-card);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  padding-top: var(--space-sm);
  padding-bottom: var(--space-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: var(--fs-700);
  font-weight: var(--fw-extrabold);
  color: var(--color-primary);
  z-index: 101;
}

.logo span {
  color: var(--color-secondary);
}

.nav-container {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-list {
  display: flex;
  gap: var(--space-md);
}

.nav-list a {
  font-weight: var(--fw-medium);
  color: var(--color-text-light);
  position: relative;
}

.nav-list a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width var(--transition-normal);
}

.nav-list a:hover {
  color: var(--color-primary);
}

.nav-list a:hover::after {
  width: 100%;
}

.search-bar {
  display: flex;
  align-items: center;
}

.search-bar input {
  padding: 0.625rem 0.9375rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  width: 250px;
  font-size: var(--fs-400);
}

.search-bar button {
  background-color: var(--color-primary);
  color: white;
  border: none;
  padding: 0.625rem 1.25rem;
  margin-left: 0.625rem;
  border-radius: var(--radius-md);
  font-weight: var(--fw-medium);
  transition: background-color var(--transition-normal);
}

.search-bar button:hover {
  background-color: var(--color-primary-dark);
}

.mobile-menu-toggle {
  display: none;
  z-index: 101;
}

.hamburger {
  display: block;
  position: relative;
  width: 24px;
  height: 2px;
  background-color: var(--color-text-dark);
  transition: all var(--transition-normal);
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background-color: var(--color-text-dark);
  transition: all var(--transition-normal);
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  bottom: -8px;
}

/* ===== HERO SECTION ===== */
.hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: white;
  padding: var(--space-xl) 0;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

.hero-content {
  max-width: 600px;
  flex-direction: column;
}

.hero h1 {
  margin-bottom: var(--space-md);
  color: white;
}

.hero p {
  font-size: var(--fs-500);
  margin-bottom: var(--space-lg);
  opacity: 0.9;
}

.stats-bar {
  display: flex;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin: var(--space-md) 0 var(--space-lg);
  justify-content: space-between;
}

.stat-item {
  text-align: center;
  padding: 0 var(--space-sm);
}

.stat-item:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.stat-number {
  font-size: var(--fs-800);
  font-weight: var(--fw-extrabold);
  margin-bottom: 5px;
}

.stat-label {
  font-size: var(--fs-300);
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: var(--space-sm);
}

.hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
}


.hero-image img{
  border:none;
}

.hero-image:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* ===== DEALS GRID ===== */
.deals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-md);
}

.deal-card {
  background-color: var(--color-bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
  min-width: 0; /* Prevent flex items from overflowing */
  width: 100%; 
}

.deal-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}


.deal-content {
  padding: var(--space-md);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.exclusive-tag {
  display: inline-block;
  background-color: var(--color-accent);
  color: white;
  font-size: var(--fs-300);
  font-weight: var(--fw-semibold);
  padding: 0.3125rem 0.625rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-sm);
}

.deal-title {
  font-size: var(--fs-600);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-xs);
  color: var(--color-text-dark);
}

.deal-description {
  color: var(--color-text-light);
  margin-bottom: var(--space-sm);
  flex-grow: 1;
}

.price-container {
  display: flex;
  align-items: baseline;
  margin-bottom: var(--space-sm);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.current-price {
  font-size: var(--fs-700);
  font-weight: var(--fw-extrabold);
  color: var(--color-secondary);
}

.original-price {
  font-size: var(--fs-500);
  color: var(--color-text-light);
  text-decoration: line-through;
}

.discount-percentage {
  font-size: var(--fs-300);
  background-color: var(--color-secondary);
  color: white;
  font-weight: var(--fw-semibold);
  padding: 0.1875rem 0.5rem;
  border-radius: var(--radius-sm);
}

.deal-button {
  background-color: var(--color-primary);
  color: white;
  border: none;
  padding: 0.75rem 0;
  border-radius: var(--radius-md);
  font-weight: var(--fw-semibold);
  cursor: pointer;
  text-align: center;
  transition: background-color var(--transition-normal);
}

.deal-button:hover {
  background-color: var(--color-primary-dark);
}

/* ===== REVIEWS CONTAINER ===== */
.reviews-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
  gap: var(--space-lg);
}

.review-card {
  background-color: var(--color-bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal);
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}.review-image {
  height: 450px;
  background-color: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem; /* optional padding */
  overflow: hidden;
  margin: 1rem;
}

.review-image img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  margin: 0 !important;         /* override global margins */
  align-self: center !important; /* override flex-start */
  border: none;
}



.review-content {
  padding: var(--space-md);
}

.review-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--space-sm);
}

.category {
  font-size: var(--fs-400);
  color: var(--color-text-light);
}

.exclusive-badge {
  background-color: var(--color-accent);
  color: white;
  padding: 0.1875rem 0.625rem;
  border-radius: var(--radius-sm);
  font-size: var(--fs-300);
  font-weight: var(--fw-semibold);
}

.review-title {
  font-size: var(--fs-700);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-sm);
  color: var(--color-text-dark);
}

.review-excerpt {
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
}

.review-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.deal-meta {
  display: flex;
  gap: var(--space-xs);
  flex-wrap: wrap;
}

.deal-tag {
  background-color: #f3f4f6;
  color: var(--color-text-light);
  font-size: var(--fs-300);
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-sm);
}

.btn-coupon {
  background-color: var(--color-primary);
  color: white;
  padding: 0.5rem 0.9375rem;
  border-radius: var(--radius-md);
  font-weight: var(--fw-semibold);
  transition: background-color var(--transition-normal);
}

.btn-coupon:hover {
  background-color: var(--color-primary-dark);
}

/* ===== TESTED PRODUCTS ===== */
.tested-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.tested-product {
  background-color: var(--color-bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  text-align: left;
  padding: var(--space-lg) var(--space-sm);
  transition: transform var(--transition-normal);
}


.tested-product:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}


.product-icon {
  width: 80px;
  height: 80px;
  background-color: #f3f4f6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-sm) auto;
  color: var(--color-primary);
  font-size: 30px;
}

.product-name {
  font-size: var(--fs-600);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-xs);
  color: var(--color-text-dark);
}

.tested-date {
  display: inline-block;
  flex: 1;
  background-color: var(--color-secondary);
  color: white;
  font-size: var(--fs-300);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-xs);
}

.product-description {
  color: var(--color-text-light);
  font-size: var(--fs-400);
}

/* ===== CATEGORIES GRID ===== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--space-md);
}

.category-card {
  background-color: var(--color-bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  text-align: center;
  padding: var(--space-lg) var(--space-sm);
  transition: transform var(--transition-normal);
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.category-icon {
  width: 70px;
  height: 70px;
  background-color: #ebf5ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-sm) auto;
  color: var(--color-primary);
  font-size: 24px;
}

.category-name {
  font-size: var(--fs-600);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-xs);
  color: var(--color-text-dark);
}

.category-count {
  color: var(--color-text-light);
  font-size: var(--fs-400);
}

/* ===== NEWSLETTER ===== */
.newsletter {
  background-color: var(--color-primary-dark);
  color: white;
  padding: var(--space-xl) 0;
  margin-top: var(--space-xl);
}

.newsletter-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.newsletter h2 {
  font-size: var(--fs-800);
  margin-bottom: var(--space-sm);
  color: white;
}

.newsletter p {
  opacity: 0.9;
  margin-bottom: var(--space-lg);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form input {
  flex-grow: 1;
  padding: 0.9375rem 1.25rem;
  border: none;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  font-size: var(--fs-500);
}

.newsletter-form button {
  background-color: var(--color-secondary);
  color: white;
  border: none;
  padding: 0.9375rem 1.5625rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-weight: var(--fw-semibold);
  cursor: pointer;
  transition: background-color var(--transition-normal);
}

.newsletter-form button:hover {
  background-color: var(--color-secondary-dark);
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--color-bg-footer);
  color: var(--color-text-white);
  padding: var(--space-xl) 0 var(--space-lg);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer-logo {
  font-size: var(--fs-700);
  font-weight: var(--fw-extrabold);
  color: white;
  margin-bottom: var(--space-sm);
  display: inline-block;
  
}
.footer-logo a>img {
	border: none;
}

.footer-logo span {
  color: var(--color-secondary);
}

.footer-about {
  color: #9ca3af;
  margin-bottom: var(--space-md);
}

.social-icons {
  display: flex;
  gap: var(--space-sm);
}

.social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--color-bg-footer-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-normal);
}

.social-icons a:hover {
  background-color: var(--color-primary);
}

.footer-column h3 {
  font-size: var(--fs-600);
  margin-bottom: var(--space-md);
  color: white;
}

.footer-links li {
  margin-bottom: var(--space-xs);
}

.footer-links a {
  color: #9ca3af;
  transition: color var(--transition-normal);
}

.footer-links a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  border-top: 1px solid var(--color-bg-footer-light);
  padding-top: var(--space-lg);
  text-align: center;
  color: #6b7280;
  font-size: var(--fs-400);
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1200px) {
  .hero-container {
    gap: var(--space-md);
  }
  
  .hero-image {
    width: 400px;
  }
}

@media (max-width: 1024px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-content {
    margin-bottom: var(--space-lg);
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .stats-bar {
    justify-content: center;
  }
  
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl) var(--space-lg);
  }
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
  }
  
  .nav-container {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--color-bg-card);
    flex-direction: column;
    justify-content: center;
    padding: var(--space-xl);
    transition: right var(--transition-normal);
    z-index: 100;
  }
  
  .nav-container.active {
    right: 0;
  }
  
  .nav-list {
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
  }
  
  .nav-list a {
    font-size: var(--fs-700);
  }
  
  .search-bar {
    width: 100%;
    margin-top: var(--space-lg);
  }
  
  .search-bar input {
    width: 100%;
  }
  
  .reviews-container {
    grid-template-columns: 1fr;
  }
  
  .tested-products-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form input {
    border-radius: var(--radius-md);
    margin-bottom: var(--space-xs);
  }
  
  .newsletter-form button {
    border-radius: var(--radius-md);
  }
}

@media (max-width: 576px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
  
  .hero h1 {
    font-size: var(--fs-800);
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: var(--space-sm);
  }
  
  .stats-bar {
    flex-direction: column;
    gap: var(--space-sm);
  }
  
  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: var(--space-sm);
  }
  
  .stat-item:last-child {
    border-bottom: none;
  }
  
  .categories-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(30px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.hero-content {
  animation: fadeIn 0.8s ease-out;
}

.hero-image {
  animation: slideInRight 0.8s ease-out;
}

.deal-card, .review-card, .tested-product, .category-card {
  animation: fadeIn 0.5s ease-out;
}

/* Menu toggle animation */
.mobile-menu-toggle.active .hamburger {
  background-color: transparent;
}

.mobile-menu-toggle.active .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

.mobile-menu-toggle.active .hamburger::after {
  transform: rotate(-45deg);
  bottom: 0;
}

.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
  }
  
  section {
    padding: var(--space-xl) 0;
  }
  
  .section {
    margin: var(--space-xl) 0;
  }
  
  .section-title {
    text-align: center;
    margin-bottom: var(--space-lg);
    color: var(--color-primary-dark);
  }
  
  .view-all {
    text-align: center;
    margin-top: var(--space-lg);
  }
  
  .view-all-btn {
    display: inline-block;
    color: var(--color-primary);
    font-weight: var(--fw-semibold);
    position: relative;
    transition: transform var(--transition-normal);
    padding: 10px 25px;
    border: 1px solid var(--color-primary);
    border-radius: var(--radius-md);
  }
  
  .view-all-btn:hover {
    transform: translateY(-2px);
    background-color: var(--color-primary);
    color: white;
  }
  
  .btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-weight: var(--fw-semibold);
    border-radius: var(--radius-md);
    font-size: var(--fs-500);
    cursor: pointer;
    transition: all var(--transition-normal);
  }
  
  .btn-primary {
    background-color: var(--color-primary);
    color: white;
  }
  
  .btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
  }
  
  /* ===== HEADER STYLES ===== */
  .header {
    background-color: var(--color-bg-card);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
  }
  
  .header-container {
    padding-top: var(--space-sm);
    padding-bottom: var(--space-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .logo {
    font-size: var(--fs-700);
    font-weight: var(--fw-extrabold);
    color: var(--color-primary);
    z-index: 101;
  }
  
  .logo span {
    color: var(--color-secondary);
  }
  
  .nav-container {
    display: flex;
    align-items: center;
    gap: var(--space-md);
  }
  
  .nav-list {
    display: flex;
    gap: var(--space-md);
  }
  
  .nav-list a {
    font-weight: var(--fw-medium);
    color: var(--color-text-light);
    position: relative;
  }
  
  .nav-list a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width var(--transition-normal);
  }
  
  .nav-list a:hover {
    color: var(--color-primary);
  }
  
  .nav-list a:hover::after {
    width: 100%;
  }
  
  .search-bar {
    display: flex;
    align-items: center;
  }
  
  .search-bar input {
    padding: 0.625rem 0.9375rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    width: 250px;
    font-size: var(--fs-400);
  }
  
  .search-bar button {
    background-color: var(--color-primary);
    color: white;
    border: none;
    padding: 0.625rem 1.25rem;
    margin-left: 0.625rem;
    border-radius: var(--radius-md);
    font-weight: var(--fw-medium);
    transition: background-color var(--transition-normal);
  }
  
  .search-bar button:hover {
    background-color: var(--color-primary-dark);
  }
  
  .mobile-menu-toggle {
    display: none;
    z-index: 101;
  }
  
  .hamburger {
    display: block;
    position: relative;
    width: 24px;
    height: 2px;
    background-color: var(--color-text-dark);
    transition: all var(--transition-normal);
  }
  
  .hamburger::before,
  .hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--color-text-dark);
    transition: all var(--transition-normal);
  }
  
  .hamburger::before {
    top: -8px;
  }
  
  .hamburger::after {
    bottom: -8px;
  }
  
  /* ===== BREADCRUMB ===== */
  .breadcrumb {
    padding: var(--space-sm) 0;
    font-size: var(--fs-400);
    color: var(--color-text-light);
    background-color: var(--color-bg);
  }
  
  .breadcrumb a {
    color: var(--color-primary);
  }
  
  .breadcrumb a:hover {
    text-decoration: underline;
  }
  
  .breadcrumb span {
    margin: 0 5px;
  }
  
  /* ===== STORE/CATEGORY HEADER ===== */
  .store-header, .category-header {
    padding: var(--space-lg) 0;
    background-color: var(--color-bg);
  }
  
  .store-header-inner {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
  }
  
  .store-logo {
    width: 120px;
    height: 120px;
    background-color: white;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    flex-shrink: 0;
  }
  
  .store-logo img {
    max-width: 80%;
    max-height: 80%;
  }
  
  .store-info h1, .category-header h1 {
    margin-bottom: var(--space-sm);
    color: var(--color-primary-dark);
  }
  
  .store-meta {
    display: flex;
    align-items: center;
    margin-bottom: var(--space-sm);
    flex-wrap: wrap;
    gap: var(--space-sm);
  }
  
  .store-rating {
    display: flex;
    align-items: center;
    margin-right: var(--space-md);
  }
  
  .store-rating .stars {
    color: #f59e0b;
    margin-right: 5px;
  }
  
  .coupon-count {
    color: var(--color-text-light);
  }
  
  .store-description, .category-description {
    color: var(--color-text-light);
    max-width: 800px;
  }
  
  .category-header {
    text-align: center;
  }
  
  .category-description {
    margin: 0 auto;
  }
  
  /* ===== MAIN CONTENT LAYOUT ===== */
  .main-content {
    padding: var(--space-lg) 0 var(--space-xl);
  }
  
  .content-wrapper {
    display: flex;
    gap: var(--space-lg);
    align-items: flex-start;
  }
  
  /* ===== SIDEBAR ===== */
  .sidebar-coupon {
    display: flex;
  flex-direction: column;
  gap: var(--sidebar-gutter, clamp(1.09rem, 1rem + 0.47vw, 1.33rem));
  width: 320px; /* Fixed width for sidebar */
  flex-shrink: 0; /* Prevent sidebar from shrinking */
}

  
  .sidebar-coupon > * {
    flex-grow: 1;
    /* flex-basis: var(--sidebar-width, 20rem);  */
    max-width: 100%; /* Add max-width to prevent overflow */
  }
  
  .sidebar-coupon > :first-child {
    flex-basis: 0;
    flex-grow: 999;
    min-width: calc(50% - var(--sidebar-gutter, clamp(1.09rem, 1rem + 0.47vw, 1.33rem)));
  }
  
  
/* Add new styles for sidebar card */
.sidebar-card {
  top: 20px;
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  width: 100%;
}

.sidebar-card-content {
  display: flex;
  flex-direction: column;
}
  .sidebar-card h3 {
    padding: var(--space-sm) var(--space-md);
    background-color: #f3f4f6;
    font-size: var(--fs-600);
    color: var(--color-primary-dark);
    margin-bottom: 0;
  }
  
  
  .sidebar-stats {
    display: flex;
    justify-content: space-between;
    margin: var(--space-sm);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--color-border);
  }
  
  .sidebar-stat-item {
    text-align: center;
  }
  
  .sidebar-stat-number {
    font-size: var(--fs-700);
    font-weight: var(--fw-bold);
    color: var(--color-primary-dark);
    margin-bottom: 5px;
  }
  
  .sidebar-stat-label {
    font-size: var(--fs-300);
    color: var(--color-light);
  }
  
  .promo-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-xs);
  }
  
  .promo-bar-label {
    font-size: var(--fs-400);
    color: var(--color-text-light);
  }
  
  .promo-bar-value {
    font-size: var(--fs-400);
    font-weight: var(--fw-semibold);
    color: var(--color-primary-dark);
  }
  
  .promo-bar-container {
    height: 8px;
    width: 100%;
    background-color: var(--color-border);
    border-radius: 4px;
    margin-top: 5px;
    margin-bottom: var(--space-sm);
    overflow: hidden;
  }
  
  .promo-bar-fill {
    height: 100%;
    background-color: var(--color-primary);
  }
  
  .similar-stores, .related-categories {
    list-style: none;
  }
  .similar-stores {
    padding: 0;
    margin: clamp(0.7rem,0.66rem + 0.2vw,0.8rem)

  }
  
  .similar-stores li, .related-categories li {
    margin-bottom: var(--space-sm);
  }
  
.similar-stores li:last-child {
  margin-bottom: 0;
}
  .similar-stores li a, .related-categories li a {
    display: flex;
    align-items: center;
    color: var(--color-text);
    transition: color var(--transition-normal);
  }
  
  .similar-stores li a:hover, .related-categories li a:hover {
    color: var(--color-primary);
  }
  
  .similar-store-logo {
    width: 40px;
    height: 40px;
    background-color: #f3f4f6;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: var(--space-sm);
    overflow: hidden;
  }
  
  .similar-store-name {
    font-weight: var(--fw-medium);
  }
  
  .filter-group {
    margin-bottom: var(--space-md);
  }
  
  .filter-group h4 {
    font-size: var(--fs-500);
    margin-bottom: var(--space-xs);
    color: var(--color-text-dark);
  }
  
  .filter-options {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
  }
  
  .filter-option {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: var(--fs-400);
    color: var(--color-text);
    cursor: pointer;
  }
  
  .filter-apply-btn {
    width: 100%;
    background-color: var(--color-primary);
    color: white;
    padding: var(--space-xs) 0;
    border-radius: var(--radius-md);
    font-weight: var(--fw-semibold);
    margin-top: var(--space-sm);
    transition: background-color var(--transition-normal);
  }
  
  .filter-apply-btn:hover {
    background-color: var(--color-primary-dark);
  }
  
  /* ===== COUPONS CONTAINER ===== */
  .coupons-container, .featured-services {
    flex-grow: 1;
  }
  
  .top-coupon {
    background-color: #ebf5ff;
    border: 2px dashed var(--color-primary);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-lg);
  }
  
  .top-coupon-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-sm);
    flex-wrap: nowrap;
    gap: var(--space-xs);
  }
  
  .top-coupon-title {
    flex: 0 1 75%;
    font-size: var(--fs-700);
    font-weight: var(--fw-bold);
    color: var(--color-primary-dark);
    min-width: 0; 
  }
  
  .top-coupon-tag {
    flex: 0 0 25%;
    text-align: center;
    white-space: nowrap;
    background-color: var(--color-accent);
    color: white;
    font-size: var(--fs-400);
    font-weight: var(--fw-semibold);
    padding: 5px 10px;
    border-radius: var(--radius-full);
  }
  
  .top-coupon-description {
    color: var(--color-text);
    margin-bottom: var(--space-md);
  }
  
  .coupon-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
  }
  
  .coupon-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
  }
  
  .coupon-meta-item {
    background-color: rgba(255, 255, 255, 0.7);
    color: var(--color-text);
    font-size: var(--fs-300);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
  }
  
  .get-coupon-btn {
    background-color: var(--color-secondary);
    color: white;
    font-weight: var(--fw-semibold);
    padding: 10px 25px;
    border-radius: var(--radius-md);
    cursor: pointer;
    display: inline-block;
    transition: background-color var(--transition-normal), transform var(--transition-normal);
  }
  
  .get-coupon-btn:hover {
    background-color: var(--color-secondary-dark);
    transform: translateY(-2px);
  }
  
  .coupon-code {
    display: flex;
    align-items: center;
    margin-top: var(--space-sm);
  }
  
  .code-display {
    flex-grow: 1;
    padding: 10px 15px;
    background-color: white;
    border: 1px dashed var(--color-primary);
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    font-family: monospace;
    font-size: var(--fs-500);
    font-weight: var(--fw-semibold);
    color: var(--color-primary-dark);
    text-align: center;
  }
  
  .copy-btn {
    background-color: var(--color-primary);
    color: white;
    font-weight: var(--fw-semibold);
    padding: 10px 20px;
    border: none;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    cursor: pointer;
    transition: background-color var(--transition-normal);
  }
  
  .copy-btn:hover {
    background-color: var(--color-primary-dark);
  }
  
  .filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
    flex-wrap: wrap;
    gap: var(--space-sm);
  }
  
  .filter-options {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-xs);
  }
  
  .filter-label {
    margin-right: var(--space-xs);
    font-size: var(--fs-400);
    color: var(--color-text-light);
  }
  
  .filter-select {
    padding: 8px 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: var(--fs-400);
    color: var(--color-text);
    background-color: white;
  }
  
  .search-filter {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-xs);
  }
  
  .search-filter input {
    padding: 8px 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: var(--fs-400);
    width: 200px;
  }
  
  .search-filter button {
    background-color: var(--color-primary);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: var(--radius-md);
    font-weight: var(--fw-medium);
    cursor: pointer;
    transition: background-color var(--transition-normal);
  }
  
  .search-filter button:hover {
    background-color: var(--color-primary-dark);
  }
  
  .coupon-list, .coupon-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .coupon-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
  
  .coupon-card {
    background-color: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  }
  
  .coupon-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
  }
  
  .coupon-card-header {
    display: flex;
    align-items: center;
    padding: var(--space-sm) var(--space-md);
    border-bottom: 1px solid var(--color-border);
  }
  
  .coupon-discount {
    width: 60px;
    height: 60px;
    background-color: var(--color-secondary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-radius: var(--radius-md);
    margin-right: var(--space-sm);
    font-weight: var(--fw-bold);
    flex-shrink: 0;
  }
  
  .discount-amount {
    font-size: var(--fs-600);
  }
  
  .discount-label {
    font-size: var(--fs-300);
  }
  
  .coupon-title-coupon-page {
    flex-grow: 1;
  }
  
  .coupon-title-coupon-page h3 {
    font-size: var(--fs-600);
    margin-bottom: 5px;
    color: var(--color-primary-dark);
  }
  
  .coupon-type {
    font-size: var(--fs-300);
    color: var(--color-text-light);
  }
  
  .coupon-details {
    padding: var(--space-md);
  }
  
  .coupon-description {
    color: var(--color-text);
    margin-bottom: var(--space-md);
	width:100%;
  }
  
/* Tablet and Mobile Styles */
@media (max-width: 991px) {
  .content-wrapper {
      flex-direction: column;
  }

  .sidebar-coupon {
      order: 2;
      width: 100%;
  }

  .coupons-container {
      order: 1;
  }

  /* Adjust sidebar cards to be more compact on mobile */
  .sidebar-card {
      margin-bottom: var(--space-md);
  }

  /* Make stats display in a grid on wider mobile screens */
  .sidebar-stats {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
      gap: var(--space-sm);
  }
}

/* Additional adjustments for very small screens */
@media (max-width: 576px) {
  .sidebar-stats {
      grid-template-columns: 1fr 1fr;
  }
}
  /* ===== FEATURED SERVICES ===== */
  .featured-service-card {
    background-color: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    margin-bottom: var(--space-lg);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  }
  
  .featured-service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
  }
  
  .service-header {
    display: flex;
    align-items: center;
    padding: var(--space-md);
    border-bottom: 1px solid var(--color-border);
    gap: var(--space-md);
  }
  
  .service-logo {
    width: 80px;
    height: 80px;
    background-color: white;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
  }
  
  .service-info {
    flex-grow: 1;
  }
  
  .service-info h3 {
    font-size: var(--fs-700);
    margin-bottom: var(--space-xs);
    color: var(--color-primary-dark);
  }
  
  .service-meta {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex-wrap: wrap;
  }
  
  .service-rating {
    display: flex;
    align-items: center;
    gap: 5px;
  }
  
  .service-rating .stars {
    color: #f59e0b;
  }
  
  .service-discount {
    margin-left: auto;
  }
  
  .discount-badge {
    display: inline-block;
    background-color: var(--color-accent);
    color: white;
    font-size: var(--fs-300);
    font-weight: var(--fw-semibold);
    padding: 5px 10px;
    border-radius: var(--radius-full);
  }
  
  .service-description {
    padding: var(--space-md);
    border-bottom: 1px solid var(--color-border);
  }
  
  .service-coupons {
    padding: var(--space-md);
  }
  
  .top-service-coupon {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex-wrap: wrap;
  }
  
  .coupon-label {
    background-color: var(--color-secondary);
    color: white;
    font-size: var(--fs-300);
    font-weight: var(--fw-semibold);
    padding: 5px 10px;
    border-radius: var(--radius-sm);
    white-space: nowrap;
  }
  
  .coupon-details-coupon-page {
    flex-grow: 1;
  }
  
  .coupon-details-coupon-page h4 {
    font-size: var(--fs-500);
    margin-bottom: 5px;
    color: var(--color-text-dark);
  }
  
  .coupon-meta-small {
    display: flex;
    gap: var(--space-md);
    font-size: var(--fs-300);
    color: var(--color-text-light);
  }
  
  .view-coupons-btn {
    background-color: var(--color-primary);
    color: white;
    font-weight: var(--fw-semibold);
    padding: 8px 15px;
    border-radius: var(--radius-md);
    white-space: nowrap;
    transition: background-color var(--transition-normal), transform var(--transition-normal);
  }
  
  .view-coupons-btn:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
  }
  
  /* ===== FAQ SECTION ===== */
  .faq-section {
    padding: var(--space-xl) 0;
    background-color: var(--color-bg);
  }
  
  .faq-section h2 {
    font-size: var(--fs-800);
    color: var(--color-primary-dark);
    margin-bottom: var(--space-lg);
    text-align: center;
  }
  
  .faq-item {
    background-color: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: var(--space-md);
    margin-bottom: var(--space-md);
  }
  
  .faq-question {
    font-size: var(--fs-600);
    font-weight: var(--fw-bold);
    color: var(--color-primary-dark);
    margin-bottom: var(--space-sm);
  }
  
  .faq-answer {
    color: var(--color-text);
  }
  
  /* ===== GUIDE SECTION ===== */
  .guide-section {
    padding: var(--space-xl) 0;
    background-color: #f3f4f6;
  }
  
  .guide-content {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-md);
  }
  
  .guide-intro {
    font-size: var(--fs-500);
    color: var(--color-text);
    margin-bottom: var(--space-lg);
  }
  
  .guide-item {
    margin-bottom: var(--space-lg);
  }
  
  .guide-item h3 {
    font-size: var(--fs-700);
    color: var(--color-primary-dark);
    margin-bottom: var(--space-sm);
  }
  
  .guide-list {
    list-style: disc;
    padding-left: var(--space-lg);
  }
  
  .guide-list li {
    margin-bottom: var(--space-xs);
    color: var(--color-text);
  }
  
  /* ===== NEWSLETTER ===== */
  .newsletter {
    background-color: var(--color-primary-dark);
    color: white;
    padding: var(--space-xl) 0;
  }
  
  .newsletter-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
  }
  
  .newsletter h2 {
    font-size: var(--fs-800);
    margin-bottom: var(--space-sm);
    color: white;
  }
  
  .newsletter p {
    opacity: 0.9;
    margin-bottom: var(--space-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .newsletter-form input {
    flex-grow: 1;
    padding: 0.9375rem 1.25rem;
    border: none;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    font-size: var(--fs-500);
  }
  
  .newsletter-form button {
    background-color: var(--color-secondary);
    color: white;
    border: none;
    padding: 0.9375rem 1.5625rem;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-weight: var(--fw-semibold);
    cursor: pointer;
    transition: background-color var(--transition-normal);
  }
  
  .newsletter-form button:hover {
    background-color: var(--color-secondary-dark);
  }
  
  /* ===== FOOTER ===== */
  .footer {
    background-color: var(--color-bg-footer);
    color: var(--color-text-white);
    padding: var(--space-xl) 0 var(--space-lg);
  }
  
  .footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
  }
  .footer-icon {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
   
    border-radius: 8px;
    transition: all 0.3s ease;
}

.footer-icon:hover {
    border-color: var(--color-light-shade);
}

.footer-icon-img {
    width: 48px;
    height: 48px;
    display: block;
    margin: 0;
}

.footer-brand-text {
    font-size: var(--fs-700);
    font-weight: var(--fw-extrabold);
    color: var(--color-light-shade);
}

.footer-brand-text span {
    color: var(--color-secondary);
}
  
  .custom-logo-link {
    display: block;
  }
  .footer-about {
    color: #9ca3af;
    margin-bottom: var(--space-md);
  }
  
  .social-icons {
    display: flex;
    gap: var(--space-sm);
  }
  
  .social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--color-bg-footer-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color var(--transition-normal);
  }
  
  .social-icons a:hover {
    background-color: var(--color-primary);
  }
  
  .footer-column h3 {
    font-size: var(--fs-600);
    margin-bottom: var(--space-md);
    color: white;
  }
  
  .footer-links li {
    margin-bottom: var(--space-xs);
  }
  
  .footer-links a {
    color: #9ca3af;
    transition: color var(--transition-normal);
  }
  
  .footer-links a:hover {
    color: var(--color-primary);
  }
  
  .footer-bottom {
    border-top: 1px solid var(--color-bg-footer-light);
    padding-top: var(--space-lg);
    text-align: center;
    color: #6b7280;
    font-size: var(--fs-400);
  }
  
  /* ===== RESPONSIVE STYLES ===== */
  @media (max-width: 1200px) {
    .footer-top {
      grid-template-columns: 1fr 1fr 1fr;
    }
    
    .footer-info {
      grid-column: span 3;
      margin-bottom: var(--space-lg);
    }
  }
  
  @media (max-width: 1024px) {
    .content-wrapper {
      flex-direction: column;
    }
    
    .sidebar {
      width: 100%;
      margin-bottom: var(--space-lg);
    }
    
    .footer-top {
      grid-template-columns: 1fr 1fr;
    }
    
    .footer-info {
      grid-column: span 2;
    }
  }
  
  @media (max-width: 768px) {
    .mobile-menu-toggle {
      display: block;
      background: none;
      border: none;
      cursor: pointer;
      padding: 0.5rem;
    }
    
    .nav-container {
      position: fixed;
      top: 0;
      right: -100%;
      width: 100%;
      height: 100vh;
      background-color: var(--color-bg-card);
      flex-direction: column;
      justify-content: center;
      padding: var(--space-xl);
      transition: right var(--transition-normal);
      z-index: 100;
    }
    
    .nav-container.active {
      right: 0;
    }
    
    .nav-list {
      flex-direction: column;
      align-items: center;
      gap: var(--space-lg);
    }
    
    .nav-list a {
      font-size: var(--fs-700);
    }
    
    .search-bar {
      width: 100%;
      margin-top: var(--space-lg);
    }
    
    .search-bar input {
      width: 100%;
    }
    
    .store-header-inner {
      flex-direction: column;
      text-align: center;
    }
    
    .store-logo {
      margin: 0 auto var(--space-md);
    }
    
    .store-meta {
      justify-content: center;
    }
    
    .top-coupon-header {
      flex-direction: column;
      align-items: flex-start;
    }
    
    .coupon-footer {
      flex-direction: column;
      align-items: flex-start;
    }
    
    .service-header {
      flex-wrap: wrap;
    }
    
    .service-discount {
      margin-left: 0;
      margin-top: var(--space-xs);
    }
    
    .newsletter-form {
      flex-direction: column;
    }
    
    .newsletter-form input {
      border-radius: var(--radius-md);
      margin-bottom: var(--space-xs);
    }
    
    .newsletter-form button {
      border-radius: var(--radius-md);
    }
    
    .footer-top {
      grid-template-columns: 1fr;
    }
    
    .footer-info {
      grid-column: span 1;
    }
  }
  
  @media (max-width: 576px) {
    .coupon-grid {
      grid-template-columns: 1fr;
    }
    
    .top-service-coupon {
      flex-direction: column;
      align-items: flex-start;
    }
    
    .view-coupons-btn {
      align-self: stretch;
      text-align: center;
    }
  }
  
  /* ===== ANIMATIONS ===== */
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .coupon-card, .featured-service-card {
    animation: fadeIn 0.5s ease-out;
  }
  
  /* Menu toggle animation */
  .mobile-menu-toggle.active .hamburger {
    background-color: transparent;
  }
  
  .mobile-menu-toggle.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
  }
  
  .mobile-menu-toggle.active .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
  }
  
  /* No scroll class for when mobile menu is open */
  .no-scroll {
    overflow: hidden;
  }
  .blog-content {
    flex-grow: 1;
  }
  
  .blog-content h2 {
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
    color: var(--color-primary-dark);
  }
  
  .blog-content h3 {
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
    color: var(--color-primary-dark);
  }
  
  .blog-content p {
    margin-bottom: var(--space-md);
    line-height: 1.7;
  }
  
  .blog-content ul, .blog-content ol {
    margin-bottom: var(--space-md);
    padding-left: var(--space-lg);
  }
  
  .blog-content li {
    margin-bottom: var(--space-xs);
  }
  
  .blog-content img {
    border-radius: var(--radius-md);
    margin: var(--space-md) 0;
    width: 100%;
  }
  
  .blog-content blockquote {
    border-left: 4px solid var(--color-primary);
    padding-left: var(--space-md);
    margin: var(--space-md) 0;
    font-style: italic;
    color: var(--color-text-light);
  }
  
  .blog-content code {
    background-color: #f3f4f6;
    padding: 2px 5px;
    border-radius: var(--radius-sm);
    font-family: monospace;
  }
  
  .blog-content pre {
    background-color: #f3f4f6;
    padding: var(--space-md);
    border-radius: var(--radius-md);
    overflow-x: auto;
    margin: var(--space-md) 0;
  }
  
  .blog-content pre code {
    background-color: transparent;
    padding: 0;
  }
  
  .blog-content table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-md) 0;
  }
  
  .blog-content th, .blog-content td {
    border: 1px solid var(--color-border);
    padding: var(--space-xs);
    text-align: left;
  }
  
  .blog-content th {
    background-color: #f3f4f6;
    font-weight: var(--fw-semibold);
  }
  
  .blog-header {
    margin-bottom: var(--space-lg);
  }
  
  .blog-title {
    font-size: var(--fs-hero);
    margin-bottom: var(--space-md);
    color: var(--color-primary-dark);
  }
  
  .blog-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
  }
  
  .blog-author {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
  }
  
  .author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
  }
  
  .author-name {
    font-weight: var(--fw-semibold);
    color: var(--color-text-dark);
  }
  
  .blog-date {
    color: var(--color-text-light);
    font-size: var(--fs-400);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
  }
  
  .blog-date-divider {
    margin: 0 var(--space-xs);
    color: var(--color-text-light);
  }
  
  .blog-featured-image {
    width: 100%;
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-lg);
    overflow: hidden;
  }
  
  .blog-featured-image img {
    width: 100%;
    height: auto;
  }
  
  .toc {
    position: sticky;
    top: 100px;
    background-color: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: var(--space-md);
    margin-bottom: var(--space-lg);
  }
  
  .toc-title {
    font-size: var(--fs-600);
    font-weight: var(--fw-semibold);
    margin-bottom: var(--space-sm);
    color: var(--color-primary-dark);
  }
  
  .toc-list {
    list-style: none;
    padding: 0;
  }
  
  .toc-list li {
    margin-bottom: var(--space-xs);
  }
  
  .toc-list a {
    color: var(--color-text);
    transition: color var(--transition-normal);
    display: block;
    padding: var(--space-xs) 0;
    border-left: 2px solid transparent;
    padding-left: var(--space-xs);
  }
  
  .toc-list a:hover, .toc-list a.active {
    color: var(--color-primary);
    border-left: 2px solid var(--color-primary);
  }
  
  .toc-list .toc-h3 {
    padding-left: var(--space-md);
    font-size: var(--fs-400);
  }
  
  .author-bio {
    background-color: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: var(--space-lg);
    margin: var(--space-xl) 0;
    display: flex;
    gap: var(--space-lg);
    align-items: center;
  }
  
  .author-bio-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
  }
  
  .author-bio-content h3 {
    font-size: var(--fs-700);
    margin-bottom: var(--space-xs);
    color: var(--color-primary-dark);
  }
  
  .author-bio-content p {
    color: var(--color-text);
    margin-bottom: var(--space-sm);
  }
  
  .author-social {
    display: flex;
    gap: var(--space-sm);
  }
  
  .author-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color var(--transition-normal);
  }
  
  .author-social a:hover {
    background-color: var(--color-primary);
    color: white;
  }
  
  .related-posts {
    margin: var(--space-xl) 0;
  }
  
  .related-posts-title {
    font-size: var(--fs-800);
    margin-bottom: var(--space-lg);
    color: var(--color-primary-dark);
    text-align: center;
  }
  
  .related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-lg);
  }
  
  .related-post-card {
    background-color: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  }
  
  .related-post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
  }
  
  .related-post-image {
    height: 200px;
    overflow: hidden;
  }
  
  .related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
  }
  
  .related-post-card:hover .related-post-image img {
    transform: scale(1.05);
  }
  
  .related-post-content {
    padding: var(--space-md);
  }
  
  .related-post-title {
    font-size: var(--fs-600);
    margin-bottom: var(--space-xs);
    color: var(--color-primary-dark);
  }
  
  .related-post-meta {
    display: flex;
    justify-content: space-between;
    color: var(--color-text-light);
    font-size: var(--fs-300);
    margin-bottom: var(--space-xs);
  }
  
  .related-post-excerpt {
    color: var(--color-text);
    margin-bottom: var(--space-sm);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  
  .read-more {
    color: var(--color-primary);
    font-weight: var(--fw-semibold);
    display: inline-flex;
    align-items: center;
    gap: 5px;
  }
  
  .read-more:hover {
    text-decoration: underline;
  }
  
  @media (max-width: 1024px) {
    .content-wrapper {
      flex-direction: column;
    }
    
    .toc {
      position: static;
      margin-bottom: var(--space-lg);
    }
  }
  
  @media (max-width: 768px) {
    .author-bio {
      flex-direction: column;
      text-align: center;
    }
    
    .author-social {
      justify-content: center;
    }
    
    .related-posts-grid {
      grid-template-columns: 1fr;
    }
  }

  /* Blog Content List Styles */
.blog-content ul,
.blog-content ol {
    padding-left: 2rem;
    margin: 1.5rem 0;
}

.blog-content ul li {
    list-style-type: disc;
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
}

.blog-content ol li {
    list-style-type: decimal;
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
}

/* Nested Lists */
.blog-content ul ul,
.blog-content ol ol,
.blog-content ul ol,
.blog-content ol ul {
    margin: 0.5rem 0;
}

.blog-content ul ul li {
    list-style-type: circle;
}

.blog-content ul ul ul li {
    list-style-type: square;
}

.blog-content ol ol li {
    list-style-type: lower-alpha;
}

.blog-content ol ol ol li {
    list-style-type: lower-roman;
}
/* modal */

.coupon-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.coupon-modal-box {
  background: white;
  padding: 30px;
  width: 90%;
  max-width: 500px;
  text-align: center;
  border-radius: 12px;
  position: relative;
}

.modal-close-btn {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
}

.modal-logo img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 50%;
  margin-bottom: 10px;
}
.coupon-code-box {
  display: flex;
  justify-content: center;
  align-items: stretch; /* Changed from center to stretch */
  margin: 20px auto;
  border: 2px solid #000;
  border-radius: 50px;
  max-width: 320px;
  overflow: hidden;
}

.coupon-code-box span {
  font-size: 1.2rem;
  padding: 10px 20px;
  background: #fff;
  flex: 1; /* Takes up remaining space */
  display: flex;
  align-items: center;
  justify-content: center;
}

#copy-button {
  background: purple;
  color: white;
  border: none;
  padding: 12px 18px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 0 50px 50px 0; /* Matches parent's right border radius */
  flex-shrink: 0; /* Prevents button from shrinking */
}

.copy-instruction,
.coupon-expiry {
  margin-top: 10px;
  font-size: 0.9rem;
}
.store-header-inner {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.store-logo {
  width: 200px; /* Increased from 120px */
  min-height: 120px;
  background-color: white;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  flex-shrink: 0;
  padding: 1rem;
}

.store-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
  max-height: 100%;
}
.search-container {
  position: relative;
  margin: 0 1rem;
}

.search-form {
  position: relative;
  display: flex;
  align-items: center;
}

.search-field {
  width: 100%;
  padding: 0.75rem;
  padding-right: 2.5rem; /* Make room for the button */
  border: 1px solid var(--color-border, #ddd);
  border-radius: var(--radius-md, 4px);
  font-size: var(--fs-300, 0.9rem);
  opacity: 0.6;
}

.search-submit {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light, #666);
}

.search-submit:hover {
  color: var(--color-primary, #000);
}

/* Ensure the SVG icon stays within the button */
.search-submit svg {
  width: 16px;
  height: 16px;
}

/* Hide search on tablet and mobile */
@media (max-width: 991px) {
  .search-container {
      display: none;
  }
}
@media (max-width: 991px) {
  .main-nav {
    padding: 0.5rem;
    flex-wrap: wrap; /* Allow items to wrap on mobile */
  }

  .menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #fff;
    position: absolute;
    top: 100%;
    left: 0; /* Align to left edge */
    right: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 999; /* Increased z-index to ensure menu appears above other content */
    padding: 0.5rem 0;
  }

  .menu li {
    width: 100%;
    text-align: left;
  }

  .menu li a {
    width: 100%;
    padding: 0.8rem 1rem;
    box-sizing: border-box;
    color: var(--color-text-dark);
  }

  .menu li ul {
    position: static;
    width: 100%;
    box-shadow: none;
    border: none;
    background: #f5f5f5;
    padding-left: 1rem;
    display: none;
  }

  .menu li:hover > ul {
    display: none; /* Prevent hover activation on mobile */
  }

  .menu li.menu-item-has-children.active > ul {
    display: block; /* Show submenu when parent is active */
  }

  .menu-toggle:checked + .menu-icon + .menu {
    display: flex;
  }

  .search-container {
    width: 100%;
    margin-top: 0.5rem;
  }

  .search-container form {
    display: flex;
    width: 100%;
  }

  .search-container input[type="search"] {
    flex: 1;
    min-width: 0; /* Prevent input from overflowing */
  }
}
.deal-image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px; /* Or any height you want */
  background-color: #f3f4f6; /* Optional background for visual help */
  overflow: hidden;
  padding:0.5rem;
  margin: 0.5rem;
}

.deal-image img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  margin: 0 !important;
  align-self: center !important;
  border: none;
  display: block;
}

/* Hero section */
.hero {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 35%, #10b981 100%);
    position: relative;
    overflow: hidden;
	padding:0.5rem;
}


/* Hero content */
.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 60px 0;
}

@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        display: none;
    }
}

/* Hero text section */
.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-text h1 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    color: white;
    margin-bottom: 24px;
}

.hero-text p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;

}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}


.primary-btn {
    background-color: var(--color-secondary);
    color: white;
    box-shadow: 0 4px 6px rgba(79, 70, 229, 0.25);
}

.primary-btn:hover {
    background-color: #4338ca;
    transform: translateY(-2px);
}

.outline-btn {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.outline-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Stats */
.stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.stat-box {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
}

.stat-number {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: white;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

/* Hero visual section */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 500px;
}

/* Sentiment Card */
.sentiment-card {
    position: relative;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 16px;
    padding: 24px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Top Rated Badge */
.top-rated-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #ef4444;
    color: white;
    font-weight: 400;
    padding: 4px 8px;
    border-radius: 30px;
    font-size: 11px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

/* Pulse animation for the badge */
.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(245, 158, 11, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
    }
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.card-header h3 {
    color: white;
    font-size: 20px;
    font-weight: 600;
}

.trend {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #4ade80;
    font-weight: 600;
}

/* Ratings */
.ratings {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.rating-item {
    width: 100%;
}

.rating-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    color: white;
    font-size: 14px;
}

.score {
    font-weight: 600;
}

.progress-bar {
    height: 8px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, #34d399 0%, #10b981 100%);
    border-radius: 4px;
    transition: width 1.5s ease-in-out;
}

/* Featured Coupon */
.featured-coupon {
    margin-top: 24px;
    border: 2px dashed rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    padding: 16px;
}

.coupon-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.featured-label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.featured-text {
    color: white;
    font-weight: 700;
    font-size: 16px;
}

.discount-badge {
    background-color: #ef4444;
    color: white;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 14px;
}

.coupon-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.coupon-btn {
    background-color: #10b981;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.coupon-btn:hover {
    background-color: #059669;
    transform: translateY(-2px);
}

/* Review Bubbles */
.review-bubble {
    position: absolute;
    background-color: white;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    max-width: 220px;
    z-index: 2;
}

.review-bubble p {
    font-size: 14px;
    color: #4b5563;
	margin-bottom:0.5rem;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.review-avatar {
    width: 32px;
    height: 32px;
    background-color: #6b7280;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.review-stars {
    color: #f59e0b;
    font-size: 12px;
}

.sentiment-badge {
    background-color: #22c55e;
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
}

.coupon-tag {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #10b981;
    font-weight: 600;
    font-size: 14px;
}

.limited-badge {
    border: 1px solid #9ca3af;
    color: #6b7280;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 4px;
}

/* Bubble positions and animations */
.bubble-1 {
    top: 20%;
    left: -30px;
    animation: float 6s ease-in-out infinite;
}

.bubble-2 {
    top: 10%;
    right: -20px;
    animation: float 7s ease-in-out infinite;
}

.bubble-3 {
    bottom: 5%;
    left: -40px;
    border: 2px solid #10b981;
    animation: float 8s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Fade in animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 32px;
    }
    
    .hero-content {
        padding: 40px 0;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .review-bubble {
        display: none;
    }
}
@media (max-width:991px){
	 
    .review-bubble {
        display: none;
    }
	.cta-buttons {
		justify-content: center;

	}

}

/* Hero Section */
.cat-page-hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: white;
    padding: var(--space-xl) 0;
}

.cat-page-hero-content {
    text-align: center;
}

.cat-page-hero-title {
    font-size: var(--fs-hero);
    font-weight: var(--fw-bold);
    color: white;
    margin-bottom: var(--space-sm);
}

.cat-page-breadcrumbs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-xs);
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--fs-400);
}

.cat-page-breadcrumb-link {
    color: white;
    transition: opacity var(--transition-fast);
}

.cat-page-breadcrumb-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Intro Section */
.cat-page-intro-section {
    padding: var(--space-md) 0;
}

.cat-page-intro-content {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    max-width: 900px;
    margin: 0 auto;
    padding: var(--space-md);
    background-color: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.cat-page-intro-icon {
    font-size: 2rem;
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.cat-page-intro-text {
    font-size: var(--fs-500);
    color: var(--color-text);
    line-height: 1.7;
}

.cat-page-stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.cat-page-stat-box {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    border: 1px solid var(--color-border);
}

.cat-page-stat-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.cat-page-stat-icon {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}

.cat-page-stat-number {
    font-size: var(--fs-900);
    font-weight: var(--fw-bold);
    color: var(--color-text-dark);
    margin-bottom: var(--space-xs);
}

.cat-page-stat-label {
    font-size: var(--fs-500);
    color: var(--color-text-light);
}

/* Coupons Section */
.cat-page-coupons-section {
    padding: var(--space-xl) 0;
    background-color: var(--color-bg);
}

.cat-page-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
    gap: var(--space-md);
}

.cat-page-section-title {
    font-size: var(--fs-800);
    font-weight: var(--fw-semibold);
    color: var(--color-text-dark);
}

.cat-page-subsection-title {
    font-size: var(--fs-700);
    font-weight: var(--fw-semibold);
    color: var(--color-text-dark);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-xs);
    border-bottom: 2px solid var(--color-primary-light);
}

.cat-page-filter-container {
    display: flex;
    gap: var(--space-xs);
    flex-wrap: wrap;
}

.cat-page-filter-btn {
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: var(--fs-400);
    font-weight: var(--fw-medium);
    color: var(--color-text);
    background-color: white;
    border: 1px solid var(--color-border);
    transition: all var(--transition-normal);
}

.cat-page-filter-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.cat-page-filter-btn.active {
    background-color: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

.cat-page-coupons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.cat-page-coupon-card {
    background-color: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    position: relative;
    border: 1px solid var(--color-border);
}

.cat-page-coupon-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.cat-page-coupon-card.featured {
    border: 2px solid var(--color-primary);
}

.cat-page-featured-label {
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--color-primary);
    color: white;
    font-size: var(--fs-300);
    font-weight: var(--fw-semibold);
    padding: 0.25rem 0.75rem;
    border-bottom-right-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    z-index: 1;
}

.cat-page-coupon-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md);
    border-bottom: 1px solid var(--color-border);
}

.cat-page-coupon-logo {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.cat-page-coupon-badge {
    background-color: var(--color-primary-light);
    color: var(--color-primary-dark);
    font-size: var(--fs-300);
    font-weight: var(--fw-semibold);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-full);
}

.cat-page-coupon-body {
    padding: var(--space-md);
}

.cat-page-coupon-title {
    font-size: var(--fs-700);
    font-weight: var(--fw-semibold);
    color: var(--color-text-dark);
    margin-bottom: var(--space-xs);
}

.cat-page-coupon-description {
    color: var(--color-text);
    font-size: var(--fs-400);
    margin-bottom: var(--space-md);
    min-height: 3em;
}

.cat-page-coupon-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--fs-300);
    color: var(--color-text-light);
}

.cat-page-coupon-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.cat-page-coupon-rating i {
    color: #f59e0b;
}

.cat-page-coupon-uses {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.cat-page-coupon-footer {
    padding: var(--space-md);
    background-color: rgba(59, 130, 246, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--color-border);
}

.cat-page-discount-badge {
    background-color: var(--color-accent);
    color: white;
    font-weight: var(--fw-bold);
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-md);
    font-size: var(--fs-400);
}

.cat-page-coupon-btn {
    position: relative;
    background-color: var(--color-primary);
    color: white;
    font-weight: var(--fw-semibold);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.cat-page-coupon-btn:hover {
    background-color: var(--color-primary-dark);
}

.cat-page-btn-text {
    display: block;
    transition: transform var(--transition-normal);
}

.cat-page-coupon-code {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-secondary);
    transform: translateY(100%);
    transition: transform var(--transition-normal);
}

.cat-page-coupon-btn.copied .btn-text {
    transform: translateY(-100%);
}

.cat-page-coupon-btn.copied .coupon-code {
    transform: translateY(0);
}

.cat-page-coupon-validity {
    padding: var(--space-sm) var(--space-md);
    font-size: var(--fs-300);
    color: var(--color-text-light);
    text-align: center;
    border-top: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

/* Horizontal Coupons */
.cat-page-horizontal-coupons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.cat-page-horizontal-coupons-column {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.cat-page-horizontal-coupon-card {
    display: flex;
    background-color: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    border: 1px solid var(--color-border);
}

.cat-page-horizontal-coupon-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.cat-page-h-coupon-logo {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    padding: var(--space-xs);
    border-right: 1px solid var(--color-border);
}

.cat-page-h-coupon-content {
    flex-grow: 1;
    padding: var(--space-sm);
}

.cat-page-h-coupon-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-xs);
}

.cat-page-h-coupon-title {
    font-size: var(--fs-600);
    font-weight: var(--fw-semibold);
    color: var(--color-text-dark);
}

.cat-page-h-coupon-description {
    color: var(--color-text);
    font-size: var(--fs-400);
    margin-bottom: var(--space-xs);
}

.cat-page-h-coupon-meta {
    font-size: var(--fs-300);
    color: var(--color-text-light);
}

.cat-page-h-coupon-action {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm);
    background-color: rgba(59, 130, 246, 0.05);
    border-left: 1px solid var(--color-border);
    min-width: 120px;
}

/*  Content Section */
.cat-page-bottom-content-section {
  	display: flex;
	flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
    max-width: 900px;
    margin: 0 auto;
    padding: var(--space-md);
    background-color: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
	
}


.cat-page-content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.cat-page-content-title {
    font-size: var(--fs-800);
    font-weight: var(--fw-semibold);
    color: var(--color-text-dark);
    margin-bottom: var(--space-lg);
    text-align: center;
}

.cat-page-content-block {
    margin-bottom: var(--space-xl);
}

.cat-page-content-block h3 {
    font-size: var(--fs-700);
    font-weight: var(--fw-semibold);
    color: var(--color-text-dark);
    margin-bottom: var(--space-md);
}

.cat-page-content-block h4 {
    font-size: var(--fs-600);
    font-weight: var(--fw-semibold);
    color: var(--color-text-dark);
    margin-top: var(--space-md);
    margin-bottom: var(--space-sm);
}

.cat-page-content-block p {
    margin-bottom: var(--space-md);
    font-size: var(--fs-500);
    color: var(--color-text);
    line-height: 1.7;
}

.cat-page-content-block ul {
    margin-bottom: var(--space-md);
    padding-left: var(--space-lg);
    list-style-type: disc;
}

.cat-page-content-block li {
    margin-bottom: var(--space-xs);
    font-size: var(--fs-500);
    color: var(--color-text);
}

.cat-page-content-block strong {
    font-weight: var(--fw-semibold);
    color: var(--color-text-dark);
}

/* FAQ Section */
.cat-page-faq-section {
    padding: var(--space-xl) 0;
    background-color: var(--color-bg);
}

.cat-page-faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.cat-page-faq-item {
    border-bottom: 1px solid var(--color-border);
}

.cat-page-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) 0;
    cursor: pointer;
}

.cat-page-faq-question h3 {
    font-size: var(--fs-600);
    font-weight: var(--fw-medium);
    color: var(--color-text-dark);
}

.cat-page-faq-toggle {
    color: var(--color-primary);
    font-size: var(--fs-500);
    transition: transform var(--transition-normal);
}

.cat-page-faq-answer {
    padding: 0 0 var(--space-md);
    color: var(--color-text);
    font-size: var(--fs-500);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal), padding var(--transition-normal);
}

.cat-page-faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: var(--space-md);
}

.cat-page-faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

/* Newsletter Section */
.cat-page-newsletter-section {
    padding: var(--space-xl) 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: white;
}

.cat-page-newsletter-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-lg);
}

.cat-page-newsletter-content h2 {
    font-size: var(--fs-800);
    font-weight: var(--fw-bold);
    margin-bottom: var(--space-sm);
    color: white;
}

.cat-page-newsletter-content p {
    font-size: var(--fs-500);
    max-width: 500px;
}

.cat-page-newsletter-form {
    display: flex;
    gap: var(--space-xs);
    flex-grow: 1;
    max-width: 500px;
}

.cat-page-newsletter-form input {
    flex-grow: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: var(--radius-md);
    font-size: var(--fs-400);
}

.cat-page-btn-primary {
    background-color: var(--color-secondary);
    color: white;
    font-weight: var(--fw-semibold);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    transition: background-color var(--transition-normal);
}

.cat-page-btn-primary:hover {
    background-color: var(--color-secondary-dark);
}

/* Footer */
.cat-page-site-footer {
    background-color: var(--color-bg-footer);
    color: white;
    padding: var(--space-xl) 0 var(--space-md);
}

.cat-page-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.cat-page-footer-logo {
    margin-bottom: var(--space-md);
}

.cat-page-footer-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-md);
    font-size: var(--fs-400);
}

.cat-page-social-links {
    display: flex;
    gap: var(--space-sm);
}

.cat-page-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all var(--transition-normal);
}

.cat-page-social-link:hover {
    background-color: var(--color-primary);
    transform: translateY(-3px);
}

.cat-page-footer-heading {
    font-size: var(--fs-600);
    font-weight: var(--fw-semibold);
    margin-bottom: var(--space-md);
    color: white;
}

.cat-page-footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.cat-page-footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
}

.cat-page-footer-links a:hover {
    color: white;
}

.cat-page-footer-bottom {
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: var(--fs-300);
    color: rgba(255, 255, 255, 0.5);
}

.cat-page-copyright {
    margin-bottom: var(--space-xs);
}

/* Responsive */
@media (max-width: 992px) {

.cat-page-newsletter-container {
        flex-direction: column;
        text-align: center;
    }
    

.cat-page-newsletter-content {
        margin-bottom: var(--space-md);
    }
    

.cat-page-newsletter-form {
        width: 100%;
        max-width: 100%;
    }
    

.cat-page-horizontal-coupons {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

.cat-page-header-content {
        height: 70px;
    }
    

.cat-page-main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: var(--shadow-md);
        padding: var(--space-md);
        transform: translateY(-100%);
        opacity: 0;
        transition: all var(--transition-normal);
        z-index: 99;
    }
    

.cat-page-main-nav.active {
        transform: translateY(0);
        opacity: 1;
    }
    

.cat-page-nav-list {
        flex-direction: column;
        gap: var(--space-sm);
    }
    

.cat-page-mobile-menu-toggle {
        display: block;
    }
    

.cat-page-section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    

.cat-page-coupons-grid {
        grid-template-columns: 1fr;
    }
    

.cat-page-intro-content {
        flex-direction: column;
        text-align: center;
    }
    

.cat-page-intro-icon {
        margin: 0 auto var(--space-sm);
    }
    

.cat-page-horizontal-coupon-card {
        flex-direction: column;
    }
    

.cat-page-h-coupon-logo {
        width: 100%;
        height: auto;
        border-right: none;
        border-bottom: 1px solid var(--color-border);
    }
    

.cat-page-h-coupon-action {
        border-left: none;
        border-top: 1px solid var(--color-border);
        width: 100%;
    }
}

@media (max-width: 576px) {

.cat-page-stats-container {
        grid-template-columns: 1fr;
    }
    

.cat-page-coupon-footer {
        flex-direction: column;
        gap: var(--space-sm);
    }
    

.cat-page-discount-badge {
        align-self: flex-start;
    }
    

.cat-page-coupon-btn {
        width: 100%;
    }
}
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 8px;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 8px;
}
.footer-bottom {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 20px;
    font-size: 14px;
}
.social-icons a {
    margin-right: 10px;
    font-size: 18px;
}

  .two-column {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  
  @media (min-width: 768px) {
    .two-column {
      grid-template-columns: 1fr 1fr;
    }
  }

  
  /* Stats Section */
 
.about-page-stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--space-md);
  }
  
 
.about-page-stat-card {
    background-color: white;
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
 
.about-page-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
  }
  
 
.about-page-stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-xs);
  }
  
 
.about-page-stat-label {
    color: var(--color-text-light);
    font-weight: 500;
  }
  
  /* Mission Section */
 
.about-page-mission-card {
    background-color: white;
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin-bottom: var(--space-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: transform 0.3s ease;
  }
  
 
.about-page-mission-card:hover {
    transform: translateY(-5px);
  }
  
 
.about-page-mission-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
  }
  
 
.about-page-mission-icon i {
    color: var(--color-primary);
    font-size: 1.5rem;
  }
  
  /* Help Section */
 
.about-page-help-card {
    display: flex;
    margin-bottom: var(--space-xl);
    gap: var(--space-lg);
  }
  
 
.about-page-help-number {
    background-color: var(--color-primary);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
  }
  
 
.about-page-help-content {
    flex: 1;
  }
  
 
.about-page-help-content h3 {
    margin-bottom: var(--space-sm);
  }
  
 
.about-page-help-content ul {
    list-style-type: disc;
    padding-left: var(--space-lg);
    margin-top: var(--space-sm);
  }
  
 
.about-page-help-content li {
    margin-bottom: var(--space-sm);
  }
  
 
.about-page-content-qualities {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    margin-top: var(--space-lg);
  }
  
  @media (min-width: 768px) {
   
.about-page-content-qualities {
      grid-template-columns: 1fr 1fr;
    }
  }
  
 
.about-page-quality {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
  }
  
 
.about-page-quality-icon {
    color: var(--color-primary);
    font-size: 1.25rem;
    flex-shrink: 0;
  }
  
 
.about-page-quality-text h4 {
    margin-bottom: var(--space-xs);
  }
  
  /* Commitment Section */
 
.about-page-commitment-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  @media (min-width: 768px) {
   
.about-page-commitment-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }
  
 
.about-page-commitment-card {
    background-color: white;
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: transform 0.3s ease;
  }
  
 
.about-page-commitment-card:hover {
    transform: translateY(-5px);
  }
  
 
.about-page-commitment-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
  }
  
 
.about-page-commitment-icon i {
    color: var(--color-primary);
    font-size: 1.5rem;
  }
  
  /* Timeline Section */
 
.about-page-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
  }
  
 
.about-page-timeline::before {
    content: "";
    position: absolute;
    width: 2px;
    background-color: var(--color-border);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
  }
  
 
.about-page-timeline-item {
    padding: var(--space-lg) 0;
    position: relative;
  }
  
 
.about-page-timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--color-primary);
    border-radius: 50%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
  }
  
 
.about-page-timeline-date {
    position: absolute;
    top: var(--space-lg);
    left: 0;
    width: 45%;
    text-align: right;
    padding-right: var(--space-lg);
    font-weight: 700;
    color: var(--color-primary);
    font-size: 1.25rem;
  }
  
 
.about-page-timeline-content {
    position: relative;
    width: 45%;
    margin-left: 55%;
    background-color: white;
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
  }
  
 
.about-page-timeline-item:nth-child(even)
.about-page-timeline-date {
    left: auto;
    right: 0;
    text-align: left;
    padding-right: 0;
    padding-left: var(--space-lg);
  }
  
 
.about-page-timeline-item:nth-child(even)
.about-page-timeline-content {
    margin-left: 0;
    margin-right: 55%;
  }
  
 
.about-page-reader-count {
    display: inline-block;
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--color-primary);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-weight: 600;
    margin-top: var(--space-sm);
  }
  
  @media (max-width: 767px) {
   
.about-page-timeline::before {
      left: 30px;
    }
  
   
.about-page-timeline-dot {
      left: 30px;
    }
  
   
.about-page-timeline-date {
      position: relative;
      width: 100%;
      text-align: left;
      padding-left: 60px;
      top: 0;
    }
  
   
.about-page-timeline-content {
      width: calc(100% - 60px);
      margin-left: 60px;
    }
  
   
.about-page-timeline-item:nth-child(even)
.about-page-timeline-date {
      text-align: left;
      padding-left: 60px;
    }
  
   
.about-page-timeline-item:nth-child(even)
.about-page-timeline-content {
      margin-left: 60px;
      margin-right: 0;
    }
  }
  
  /* Team Section */
 
.about-page-team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  
  @media (min-width: 768px) {
   
.about-page-team-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }
  
 
.about-page-team-card {
    background-color: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
 
.about-page-team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
  }
  
 
.about-page-team-header {
    height: 80px;
    background: linear-gradient(to right, var(--color-primary-dark), var(--color-primary));
  }
  
 
.about-page-team-avatar {
    width: 80px;
    height: 80px;
    background-color: var(--color-bg);
    border-radius: 50%;
    margin: -40px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid white;
  }
  
 
.about-page-team-avatar i {
    font-size: 2rem;
    color: var(--color-primary);
  }
  
 
.about-page-team-info {
    padding: var(--space-lg);
    text-align: center;
  }
  
 
.about-page-team-role {
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: var(--space-md);
  }
  
  /* CTA Card */
 
.about-page-cta-card {
    background-color: white;
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
    text-align: center;
  }
  
 
.about-page-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin: var(--space-lg) 0;
  }
  
 
.about-page-newsletter-form input {
    padding: var(--space-md);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-family: var(--font-family);
  }
  
 
.about-page-social-links {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-top: var(--space-lg);
  }
  
 
.about-page-social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    transition: all 0.3s ease;
  }
  
 
.about-page-social-link:hover {
    background-color: var(--color-primary);
    color: white;
  }
  
  /* Footer */
 
.about-page-site-footer {
    background-color: var(--color-text-dark);
    color: white;
    padding: var(--space-xl) 0 var(--space-md);
  }
  
 
.about-page-footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
  }
  
  @media (min-width: 768px) {
   
.about-page-footer-content {
      grid-template-columns: 1fr 2fr;
    }
  }
  
 
.about-page-footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--space-xl);
  }
  
 
.about-page-footer-column h4 {
    color: white;
    margin-bottom: var(--space-md);
    position: relative;
  }
  
 
.about-page-footer-column h4:after {
    content: "";
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--color-primary);
    margin-top: var(--space-xs);
  }
  
 
.about-page-footer-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
 
.about-page-footer-column li {
    margin-bottom: var(--space-sm);
  }
  
 
.about-page-footer-column a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
  }
  
 
.about-page-footer-column a:hover {
    color: white;
  }
  
 
.about-page-footer-bottom {
    text-align: center;
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
  }
  
  /* Back to Top Button */
 
.about-page-back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    z-index: 99;
  }
  
 
.about-page-back-to-top.show {
    opacity: 1;
    visibility: visible;
  }
  
 
.about-page-back-to-top:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-3px);
  }
  
  /* Responsive Adjustments */
  @media (max-width: 576px) {
    h1 {
      font-size: 2rem;
    }
  
    h2 {
      font-size: 1.75rem;
    }
  
    h3 {
      font-size: 1.25rem;
    }
  
   
.about-page-section {
      padding: var(--space-xl) 0;
    }
  
   
.about-page-help-card {
      flex-direction: column;
      gap: var(--space-md);
    }
  
   
.about-page-newsletter-form {
      flex-direction: column;
    }
  }
  
 
.coupon-container {
  max-width: var(--container-max-width);
  margin: auto;
  padding: var(--space-xl) var(--container-padding);
  background: var(--color-bg);
}

.coupon-title {
  font-size: var(--fs-800);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-lg);
  color: var(--color-dark);
  text-align: center;
}

/* A-Z Filter */
.az-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: var(--space-lg);
}

.az-filter a {
  font-size: var(--fs-400);
  color: var(--color-primary-dark);
  text-decoration: none;
  border: 1px solid var(--color-border);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.az-filter a:hover {
  background: var(--color-primary-light);
  color: var(--color-text-dark);
}

.letter-divider {
  font-size: var(--fs-600);
  font-weight: var(--fw-bold);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
  color: var(--color-secondary-dark);
  grid-column: 1 / -1;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 0.25rem;
}

/* Grid & Cards */
.coupon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-md);
}

.coupon-card {
  background: var(--color-bg-card);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.coupon-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}

.coupon-thumb {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-sm);
}

.coupon-card-title {
  font-size: var(--fs-600);
  font-weight: var(--fw-semibold);
  color: var(--color-text-dark);
  margin-bottom: var(--space-xs);
}

.coupon-card-desc {
  font-size: var(--fs-400);
  color: var(--color-text-light);
  margin-bottom: var(--space-xs);
}

.coupon-card-count {
  font-size: var(--fs-300);
  color: var(--color-text-light);
  margin-top: auto;
}
.copy-instruction a {
  color: var(--color-secondary);
  text-decoration: underline;
  transition: all 0.3s ease;
}

.copy-instruction a:hover {
  font-weight: 600;
}
