/* 
      main {
        max-width: 900px;
        margin: 2rem auto;
        padding: 1rem;
        background: #fff;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        border-radius: 5px;
        position: relative;
        top: 1rem;
      }

      .blog-single-post h1 {
        color: #333;
        font-size: 2.5rem;
        margin-bottom: 1rem;
        text-align: center;
      }

      .blog-single-post .blog-intro,.blog-single-post .blog-body {
        margin-bottom: 2rem;
      }

      .blog-single-post .blog-intro {
        font-size: 1.2rem;
        color: #555;
      }

      .blog-single-post figure {
        margin: 1rem 0;
        text-align: center;
      }

     .blog-single-post figure img {
        max-width: 100%;
        border-radius: 5px;
      }

     .blog-single-post figure figcaption {
        font-size: 0.9rem;
        color: #666;
        margin-top: 0.5rem;
      }

     .blog-single-post .blog-gallery {
        margin-top: 2rem;
      }

     .blog-single-post .blog-gallery h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
        color: #444;
      }

     .blog-single-post .gallery {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
      }

     .blog-single-post .gallery figure {
        margin: 0;
        padding: 0;
      }

     .blog-single-post .back-to-index {
        display: inline-block;
        margin-top: 2rem;
        padding: 0.5rem 1rem;
        background: #007bff;
        color: #fff;
        text-decoration: none;
        border-radius: 5px;
        text-align: center;
        font-size: 1rem;
      }

     .blog-single-post .back-to-index:hover {
        background: #0056b3;
      }
      ol,ul {
        padding: 0px 12px;
    } */

@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Josefin+Sans:ital,wght@0,100..700;1,100..700&display=swap');

* {
  font-family: "Josefin Sans", sans-serif;
}

:root {
  /* Primitive Color Tokens */
  --color-white: rgba(255, 255, 255, 1);
  --color-black: rgba(0, 0, 0, 1);
  --color-cream-50: rgba(252, 252, 249, 1);
  --color-cream-100: rgba(255, 255, 253, 1);
  --color-gray-200: rgb(0, 0, 0);
  --color-gray-300: rgba(167, 169, 169, 1);
  --color-gray-400: rgba(119, 124, 124, 1);
  --color-slate-500: rgba(98, 108, 113, 1);
  --color-brown-600: rgba(94, 82, 64, 1);
  --color-charcoal-700: rgb(255, 255, 255);
  --color-charcoal-800: rgb(216 216 212);
  --color-slate-900: #1A1A2E;
  --color-teal-300: rgba(50, 184, 198, 1);
  --color-teal-400: rgba(45, 166, 178, 1);
  --color-teal-500: rgba(33, 128, 141, 1);
  --color-teal-600: rgba(29, 116, 128, 1);
  --color-teal-700: rgba(26, 104, 115, 1);
  --color-teal-800: rgba(41, 150, 161, 1);
  --color-red-400: rgba(255, 84, 89, 1);
  --color-red-500: rgba(192, 21, 47, 1);
  --color-orange-400: rgba(230, 129, 97, 1);
  --color-orange-500: rgba(168, 75, 47, 1);

  /* RGB versions for opacity control */
  --color-brown-600-rgb: 94, 82, 64;
  --color-teal-500-rgb: 33, 128, 141;
  --color-slate-900-rgb: 19, 52, 59;
  --color-slate-500-rgb: 98, 108, 113;
  --color-red-500-rgb: 192, 21, 47;
  --color-red-400-rgb: 255, 84, 89;
  --color-orange-500-rgb: 168, 75, 47;
  --color-orange-400-rgb: 230, 129, 97;

  /* Background color tokens (Light Mode) */
  --color-bg-1: rgba(59, 130, 246, 0.08);
  /* Light blue */
  --color-bg-2: rgba(245, 158, 11, 0.08);
  /* Light yellow */
  --color-bg-3: rgba(34, 197, 94, 0.08);
  /* Light green */
  --color-bg-4: rgba(239, 68, 68, 0.08);
  /* Light red */
  --color-bg-5: rgba(147, 51, 234, 0.08);
  /* Light purple */
  --color-bg-6: rgba(249, 115, 22, 0.08);
  /* Light orange */
  --color-bg-7: rgba(236, 72, 153, 0.08);
  /* Light pink */
  --color-bg-8: rgba(6, 182, 212, 0.08);
  /* Light cyan */

  /* Semantic Color Tokens (Light Mode) */
  --color-background: var(--color-cream-50);
  --color-surface: var(--color-cream-100);
  --color-text: var(--color-slate-900);
  --color-text-secondary: var(--color-slate-500);
  --color-primary: var(--color-teal-500);
  --color-primary-hover: var(--color-teal-600);
  --color-primary-active: var(--color-teal-700);
  --color-secondary: rgba(var(--color-brown-600-rgb), 0.12);
  --color-secondary-hover: rgba(var(--color-brown-600-rgb), 0.2);
  --color-secondary-active: rgba(var(--color-brown-600-rgb), 0.25);
  --color-border: rgba(var(--color-brown-600-rgb), 0.2);
  --color-btn-primary-text: var(--color-cream-50);
  --color-card-border: rgba(var(--color-brown-600-rgb), 0.12);
  --color-card-border-inner: rgba(var(--color-brown-600-rgb), 0.12);
  --color-error: var(--color-red-500);
  --color-success: var(--color-teal-500);
  --color-warning: var(--color-orange-500);
  --color-info: var(--color-slate-500);
  --color-focus-ring: rgba(var(--color-teal-500-rgb), 0.4);
  --color-select-caret: rgba(var(--color-slate-900-rgb), 0.8);

  /* Common style patterns */
  --focus-ring: 0 0 0 3px var(--color-focus-ring);
  /* --focus-outline: 2px solid var(--color-primary); */
  --status-bg-opacity: 0.15;
  --status-border-opacity: 0.25;
  --select-caret-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23134252' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  --select-caret-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f5f5f5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");

  /* RGB versions for opacity control */
  --color-success-rgb: 33, 128, 141;
  --color-error-rgb: 192, 21, 47;
  --color-warning-rgb: 168, 75, 47;
  --color-info-rgb: 98, 108, 113;

  /* Typography */
  /* --font-family-base: "FKGroteskNeue", "Geist", "Inter", -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; */
  --font-family-mono: "Berkeley Mono", ui-monospace, SFMono-Regular, Menlo,
    Monaco, Consolas, monospace;
  --font-size-xs: 11px;
  --font-size-sm: 12px;
  /* --font-size-base: 14px; */
  --font-size-md: 15px;
  --font-size-lg: 16px;
  --font-size-xl: 18px;
  --font-size-2xl: 20px;
  --font-size-3xl: 24px;
  --font-size-4xl: 30px;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 550;
  --font-weight-bold: 600;
  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --letter-spacing-tight: -0.01em;

  /* Spacing */
  --space-0: 0;
  --space-1: 1px;
  --space-2: 2px;
  --space-4: 4px;
  --space-6: 6px;
  --space-8: 8px;
  --space-10: 10px;
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-32: 32px;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-base: 8px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.04),
    0 2px 4px -1px rgba(0, 0, 0, 0.02);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.04),
    0 4px 6px -2px rgba(0, 0, 0, 0.02);
  --shadow-inset-sm: inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -1px 0 rgba(0, 0, 0, 0.03);

  /* Animation */
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --ease-standard: cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
}

/* Dark mode colors */
@media (prefers-color-scheme: dark) {
  :root {
    /* RGB versions for opacity control (Dark Mode) */
    --color-gray-400-rgb: 119, 124, 124;
    --color-teal-300-rgb: 50, 184, 198;
    --color-gray-300-rgb: 167, 169, 169;
    --color-gray-200-rgb: 245, 245, 245;

    /* Background color tokens (Dark Mode) */
    --color-bg-1: rgba(29, 78, 216, 0.15);
    /* Dark blue */
    --color-bg-2: rgba(180, 83, 9, 0.15);
    /* Dark yellow */
    --color-bg-3: rgba(21, 128, 61, 0.15);
    /* Dark green */
    --color-bg-4: rgba(185, 28, 28, 0.15);
    /* Dark red */
    --color-bg-5: rgba(107, 33, 168, 0.15);
    /* Dark purple */
    --color-bg-6: rgba(194, 65, 12, 0.15);
    /* Dark orange */
    --color-bg-7: rgba(190, 24, 93, 0.15);
    /* Dark pink */
    --color-bg-8: rgba(8, 145, 178, 0.15);
    /* Dark cyan */

    /* Semantic Color Tokens (Dark Mode) */
    --color-background: var(--color-charcoal-700);
    --color-surface: var(--color-charcoal-800);
    --color-text: var(--color-gray-200);
    --color-text-secondary: rgba(var(--color-gray-300-rgb), 0.7);
    --color-primary: var(--color-teal-300);
    --color-primary-hover: var(--color-teal-400);
    --color-primary-active: var(--color-teal-800);
    --color-secondary: rgba(var(--color-gray-400-rgb), 0.15);
    --color-secondary-hover: rgba(var(--color-gray-400-rgb), 0.25);
    --color-secondary-active: rgba(var(--color-gray-400-rgb), 0.3);
    --color-border: rgba(var(--color-gray-400-rgb), 0.3);
    --color-error: var(--color-red-400);
    --color-success: var(--color-teal-300);
    --color-warning: var(--color-orange-400);
    --color-info: var(--color-gray-300);
    --color-focus-ring: rgba(var(--color-teal-300-rgb), 0.4);
    --color-btn-primary-text: var(--color-slate-900);
    --color-card-border: rgba(var(--color-gray-400-rgb), 0.2);
    --color-card-border-inner: rgba(var(--color-gray-400-rgb), 0.15);
    --shadow-inset-sm: inset 0 1px 0 rgba(255, 255, 255, 0.1),
      inset 0 -1px 0 rgba(0, 0, 0, 0.15);
    --button-border-secondary: rgba(var(--color-gray-400-rgb), 0.2);
    --color-border-secondary: rgba(var(--color-gray-400-rgb), 0.2);
    --color-select-caret: rgba(var(--color-gray-200-rgb), 0.8);

    /* Common style patterns - updated for dark mode */
    --focus-ring: 0 0 0 3px var(--color-focus-ring);
    /* --focus-outline: 2px solid var(--color-primary); */
    --status-bg-opacity: 0.15;
    --status-border-opacity: 0.25;
    --select-caret-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23134252' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    --select-caret-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f5f5f5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");

    /* RGB versions for dark mode */
    --color-success-rgb: var(--color-teal-300-rgb);
    --color-error-rgb: var(--color-red-400-rgb);
    --color-warning-rgb: var(--color-orange-400-rgb);
    --color-info-rgb: var(--color-gray-300-rgb);
  }
}

/* Data attribute for manual theme switching */
[data-color-scheme="dark"] {
  /* RGB versions for opacity control (dark mode) */
  --color-gray-400-rgb: 119, 124, 124;
  --color-teal-300-rgb: 50, 184, 198;
  --color-gray-300-rgb: 167, 169, 169;
  --color-gray-200-rgb: 245, 245, 245;

  /* Colorful background palette - Dark Mode */
  --color-bg-1: rgba(29, 78, 216, 0.15);
  /* Dark blue */
  --color-bg-2: rgba(180, 83, 9, 0.15);
  /* Dark yellow */
  --color-bg-3: rgba(21, 128, 61, 0.15);
  /* Dark green */
  --color-bg-4: rgba(185, 28, 28, 0.15);
  /* Dark red */
  --color-bg-5: rgba(107, 33, 168, 0.15);
  /* Dark purple */
  --color-bg-6: rgba(194, 65, 12, 0.15);
  /* Dark orange */
  --color-bg-7: rgba(190, 24, 93, 0.15);
  /* Dark pink */
  --color-bg-8: rgba(8, 145, 178, 0.15);
  /* Dark cyan */

  /* Semantic Color Tokens (Dark Mode) */
  --color-background: var(--color-charcoal-700);
  --color-surface: var(--color-charcoal-800);
  --color-text: var(--color-gray-200);
  --color-text-secondary: rgba(var(--color-gray-300-rgb), 0.7);
  --color-primary: var(--color-teal-300);
  --color-primary-hover: var(--color-teal-400);
  --color-primary-active: var(--color-teal-800);
  --color-secondary: rgba(var(--color-gray-400-rgb), 0.15);
  --color-secondary-hover: rgba(var(--color-gray-400-rgb), 0.25);
  --color-secondary-active: rgba(var(--color-gray-400-rgb), 0.3);
  --color-border: rgba(var(--color-gray-400-rgb), 0.3);
  --color-error: var(--color-red-400);
  --color-success: var(--color-teal-300);
  --color-warning: var(--color-orange-400);
  --color-info: var(--color-gray-300);
  --color-focus-ring: rgba(var(--color-teal-300-rgb), 0.4);
  --color-btn-primary-text: var(--color-slate-900);
  --color-card-border: rgba(var(--color-gray-400-rgb), 0.15);
  --color-card-border-inner: rgba(var(--color-gray-400-rgb), 0.15);
  --shadow-inset-sm: inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15);
  --color-border-secondary: rgba(var(--color-gray-400-rgb), 0.2);
  --color-select-caret: rgba(var(--color-gray-200-rgb), 0.8);

  /* Common style patterns - updated for dark mode */
  --focus-ring: 0 0 0 3px var(--color-focus-ring);
  --focus-outline: 2px solid var(--color-primary);
  --status-bg-opacity: 0.15;
  --status-border-opacity: 0.25;
  --select-caret-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23134252' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  --select-caret-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f5f5f5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");

  /* RGB versions for dark mode */
  --color-success-rgb: var(--color-teal-300-rgb);
  --color-error-rgb: var(--color-red-400-rgb);
  --color-warning-rgb: var(--color-orange-400-rgb);
  --color-info-rgb: var(--color-gray-300-rgb);
}

[data-color-scheme="light"] {
  /* RGB versions for opacity control (light mode) */
  --color-brown-600-rgb: 94, 82, 64;
  --color-teal-500-rgb: 33, 128, 141;
  --color-slate-900-rgb: 19, 52, 59;

  /* Semantic Color Tokens (Light Mode) */
  --color-background: var(--color-cream-50);
  --color-surface: var(--color-cream-100);
  --color-text: var(--color-slate-900);
  --color-text-secondary: var(--color-slate-500);
  --color-primary: var(--color-teal-500);
  --color-primary-hover: var(--color-teal-600);
  --color-primary-active: var(--color-teal-700);
  --color-secondary: rgba(var(--color-brown-600-rgb), 0.12);
  --color-secondary-hover: rgba(var(--color-brown-600-rgb), 0.2);
  --color-secondary-active: rgba(var(--color-brown-600-rgb), 0.25);
  --color-border: rgba(var(--color-brown-600-rgb), 0.2);
  --color-btn-primary-text: var(--color-cream-50);
  --color-card-border: rgba(var(--color-brown-600-rgb), 0.12);
  --color-card-border-inner: rgba(var(--color-brown-600-rgb), 0.12);
  --color-error: var(--color-red-500);
  --color-success: var(--color-teal-500);
  --color-warning: var(--color-orange-500);
  --color-info: var(--color-slate-500);
  --color-focus-ring: rgba(var(--color-teal-500-rgb), 0.4);

  /* RGB versions for light mode */
  --color-success-rgb: var(--color-teal-500-rgb);
  --color-error-rgb: var(--color-red-500-rgb);
  --color-warning-rgb: var(--color-orange-500-rgb);
  --color-info-rgb: var(--color-slate-500-rgb);
}

/* Base styles */
html {
  font-size: var(--font-size-base);
  font-family: var(--font-family-base);
  line-height: var(--line-height-normal);
  color: var(--color-text);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-tight);
  color: var(--color-text);
  letter-spacing: var(--letter-spacing-tight);
}

h1 {
  font-size: var(--font-size-4xl);
}

h2 {
  font-size: var(--font-size-3xl);
}

h3 {
  font-size: var(--font-size-2xl);
}

h4 {
  font-size: var(--font-size-xl);
}

h5 {
  font-size: var(--font-size-lg);
}

h6 {
  font-size: var(--font-size-md);
}

p {
  margin: 0 0 var(--space-16) 0;
}

a {


  color: #EFBA32;
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-standard);
}

a:hover {
  color: #EFBA32;

}

code,
pre {
  font-family: var(--font-family-mono);
  font-size: calc(var(--font-size-base) * 0.95);
  background-color: var(--color-secondary);
  border-radius: var(--radius-sm);
}

code {
  padding: var(--space-1) var(--space-4);
}

pre {
  padding: var(--space-16);
  margin: var(--space-16) 0;
  overflow: auto;
  border: 1px solid var(--color-border);
}

pre code {
  background: none;
  padding: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-8) var(--space-16);
  border-radius: var(--radius-base);
  font-size: var(--font-size-base);
  font-weight: 500;
  line-height: 1.5;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-standard);
  border: none;
  text-decoration: none;
  position: relative;
}

.btn:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

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

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

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

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

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

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

.btn--outline {
  background: transparent;
  /* border: 1px solid var(--color-border); */
  /* color: var(--color-text); */
}

.btn--outline:hover {
  background: var(--color-secondary);
}

.btn--sm {
  padding: var(--space-4) var(--space-12);
  font-size: var(--font-size-sm);
  border-radius: var(--radius-sm);
}

.btn--lg {
  padding: var(--space-10) var(--space-20);
  font-size: var(--font-size-lg);
  border-radius: var(--radius-md);
}

.btn--full-width {
  width: 100%;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Form elements */
.form-control {
  display: block;
  width: 100%;
  padding: var(--space-8) var(--space-12);
  font-size: var(--font-size-md);
  line-height: 1.5;
  color: var(--color-text);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-base);
  transition: border-color var(--duration-fast) var(--ease-standard),
    box-shadow var(--duration-fast) var(--ease-standard);
}

textarea.form-control {
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
}

select.form-control {
  padding: var(--space-8) var(--space-12);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: var(--select-caret-light);
  background-repeat: no-repeat;
  background-position: right var(--space-12) center;
  background-size: 16px;
  padding-right: var(--space-32);
}

/* Add a dark mode specific caret */
@media (prefers-color-scheme: dark) {
  select.form-control {
    background-image: var(--select-caret-dark);
  }
}

/* Also handle data-color-scheme */
[data-color-scheme="dark"] select.form-control {
  background-image: var(--select-caret-dark);
}

[data-color-scheme="light"] select.form-control {
  background-image: var(--select-caret-light);
}

.form-control:focus {
  border-color: var(--color-primary);
  outline: var(--focus-outline);
}

.form-label {
  display: block;
  margin-bottom: var(--space-8);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-sm);
}

.form-group {
  margin-bottom: var(--space-16);
}

/* Card component */
.card {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-card-border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--duration-normal) var(--ease-standard);
}

.card:hover {
  box-shadow: var(--shadow-md);
}

.card__body {
  padding: var(--space-16);
}

.card__header,
.card__footer {
  padding: var(--space-16);
  border-bottom: 1px solid var(--color-card-border-inner);
}

/* Status indicators - simplified with CSS variables */
.status {
  display: inline-flex;
  align-items: center;
  padding: var(--space-6) var(--space-12);
  border-radius: var(--radius-full);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-sm);
}

.status--success {
  background-color: rgba(var(--color-success-rgb, 33, 128, 141),
      var(--status-bg-opacity));
  color: var(--color-success);
  border: 1px solid rgba(var(--color-success-rgb, 33, 128, 141), var(--status-border-opacity));
}

.status--error {
  background-color: rgba(var(--color-error-rgb, 192, 21, 47),
      var(--status-bg-opacity));
  color: var(--color-error);
  border: 1px solid rgba(var(--color-error-rgb, 192, 21, 47), var(--status-border-opacity));
}

.status--warning {
  background-color: rgba(var(--color-warning-rgb, 168, 75, 47),
      var(--status-bg-opacity));
  color: var(--color-warning);
  border: 1px solid rgba(var(--color-warning-rgb, 168, 75, 47), var(--status-border-opacity));
}

.status--info {
  background-color: rgba(var(--color-info-rgb, 98, 108, 113),
      var(--status-bg-opacity));
  color: var(--color-info);
  border: 1px solid rgba(var(--color-info-rgb, 98, 108, 113), var(--status-border-opacity));
}

/* Container layout */
/* .container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: var(--space-16);
  padding-left: var(--space-16);
} */


/* Utility classes */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

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

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-4 {
  gap: var(--space-4);
}

.gap-8 {
  gap: var(--space-8);
}

.gap-16 {
  gap: var(--space-16);
}

.m-0 {
  margin: 0;
}

.mt-8 {
  margin-top: var(--space-8);
}

.mb-8 {
  margin-bottom: var(--space-8);
}

.mx-8 {
  margin-left: var(--space-8);
  margin-right: var(--space-8);
}

.my-8 {
  margin-top: var(--space-8);
  margin-bottom: var(--space-8);
}

.p-0 {
  padding: 0;
}

.py-8 {
  padding-top: var(--space-8);
  padding-bottom: var(--space-8);
}

.px-8 {
  padding-left: var(--space-8);
  padding-right: var(--space-8);
}

.py-16 {
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
}

.px-16 {
  padding-left: var(--space-16);
  padding-right: var(--space-16);
}

.block {
  display: block;
}

.hidden {
  display: none;
}

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

:focus-visible {
  outline: var(--focus-outline);
  outline-offset: 2px;
}

/* Dark mode specifics */
[data-color-scheme="dark"] .btn--outline {
  border: 1px solid var(--color-border-secondary);
}

@font-face {
  font-family: 'FKGroteskNeue';
  src: url('https://r2cdn.perplexity.ai/fonts/FKGroteskNeue.woff2') format('woff2');
}

/* END PERPLEXITY DESIGN SYSTEM */

/* style.css - Modified to match design system */

:root {
  --primary-color: var(--color-primary);
  --secondary-color: var(--color-orange-400);
  --text-dark: var(--color-text);
  --text-light: var(--color-text-secondary);
  --background-beige: var(--color-background);
  --white: var(--color-surface);
  --border-light: var(--color-border);
  --shadow: var(--shadow-sm);
}

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

body {
  font-family: var(--font-family-base);
  line-height: var(--line-height-normal);
  color: var(--color-text);
  background-color: var(--color-background);
  font-size: 14px;
}

.container {
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 var(--space-20);
}

/* Header */
.site-header {
  background: var(--color-background);
  padding: var(--space-20) 0;
  border-bottom: 1px solid var(--color-border);
}

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

.site-logo {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  text-decoration: none;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: var(--space-32);
  margin: 0;
}

.main-nav a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: var(--font-weight-normal);
  transition: color var(--duration-fast) var(--ease-standard);
}

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

.header-search {
  display: flex;
  align-items: center;
  gap: var(--space-10);
}

.search-input {
  padding: var(--space-8) var(--space-16);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  background: var(--color-surface);
  color: var(--color-text);
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
}

.search-input:focus {
  outline: var(--focus-outline);
  /* border-color: var(--color-primary); */
}

.search-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text);
  font-size: var(--font-size-lg);
}

/* Hero Section */
.hero-section {
  padding: var(--space-32) 0;
  background: var(--color-background);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-32);
  align-items: center;
}

.hero-title {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-24);
  color: var(--color-text);
  letter-spacing: var(--letter-spacing-tight);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-12) var(--space-24);
  text-decoration: none;
  border-radius: var(--radius-base);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-base);
  transition: all var(--duration-normal) var(--ease-standard);
  border: none;
  cursor: pointer;
  font-family: var(--font-family-base);
}

.btn:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.btn-primary {
  background: #EFBA32;
  color: #1A1A2E;

  color: var(--color-btn-primary-text);
  /* border: 2px solid var(--color-primary); */
}

.btn-primary:hover {
  background: #D9A022;
}

.btn-secondary {
  background: #EFBA32;
  color: #1A1A2E;
  border: 2px solid var(--color-orange-400);
}

.btn-secondary:hover {
  background: #D9A022;
  border-color: var(--color-orange-500);
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

/* Main Content */
.main-content {
  padding: var(--space-32) 0;
}

.content-grid {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: var(--space-32);
  align-items: start;
  /* Change from center to start to align top */
}

.blog-content {
  background: #fff;
  font-size: 14px;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}


/* Blog Posts Grid */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-24);
  margin-bottom: var(--space-24);
}

.post-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-card-border);
  transition: transform var(--duration-normal) var(--ease-standard),
    box-shadow var(--duration-normal) var(--ease-standard);
}

.post-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.post-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-content {
  padding: var(--space-20);
}

.post-title {
  margin-bottom: var(--space-8);
}

.post-title a {
  color: var(--color-text);
  text-decoration: none;
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-tight);
}

.post-title a:hover {
  color: var(--color-primary);
}

.post-meta {
  display: flex;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
}

.post-excerpt {
  margin-bottom: var(--space-12);
  color: var(--color-text-secondary);
  line-height: var(--line-height-normal);
}

.post-categories {
  display: flex;
  gap: var(--space-8);
  flex-wrap: wrap;
}

.category-tag {
  background: var(--color-secondary);
  color: var(--color-text);
  padding: var(--space-4) var(--space-10);
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-medium);
}

/* Sidebar */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
}

.sidebar-section {
  background: #ffffff;
  /* clean white */
  margin-top: 0;
  padding: var(--space-24);
  border-radius: var(--radius-lg);
  border: 1px solid #f0f0f0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  /* strong but soft shadow */
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#sidebar-recent-post {
  margin-top: 0;
}

/* Optional: small hover effect for interactivity */
.sidebar-section:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}


.sidebar-section h3 {
  margin-bottom: var(--space-16);
  color: var(--color-text);
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
}


/* Medium screens - tablets */






/* CTA bottom of the banner */
.cta-section.hero-cta {
  background-color: #fff8f0;
  padding: 20px;
  margin: 20px auto;
  border-radius: 10px;
  text-align: center;
  max-width: 1000px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.cta-section.hero-cta h3 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #333;
}

.cta-section.hero-cta .btn-secondary {
  display: inline-block;
  background-color: #ff7f50;
  color: white;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-section.hero-cta .btn-secondary:hover {
  background-color: #e76b3c;
  transform: scale(1.05);
}




/* CTA Section Wrapper */
.cta-below-banner {
  margin-top: 2.5rem;
}

/* CTA Card Design */
.cta-section {
  background: linear-gradient(135deg, var(--color-primary), var(--color-orange-400));
  color: #fff;
  text-align: center;
  padding: 35px 15px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-section:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

/* Title Styling */
.cta-section h3 {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  /* space between text & button */
  color: #fff;
}

/* Button Styling */
.cta-section .btn {
  display: inline-block;
  padding: 12px 32px;
  background-color: #fff;
  color: var(--color-primary);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta-section .btn:hover {
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--color-orange-400);
  transform: scale(1.05);
}


/* ✅ Mobile responsive (below 768px) */

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
}

.newsletter-form label {
  font-weight: 500;
  color: var(--color-text, #333);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.required-star {
  color: red;
  font-size: 1rem;
  line-height: 1;
}

.newsletter-form input {
  padding: var(--space-10) var(--space-12);
  border-radius: var(--radius-base);
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  background: var(--color-surface);
  border: 1px solid var(--color-border, #ccc);
}

/* Blog Single Page */
.blog-single {
  padding: var(--space-24) 0;
}

.blog-header {
  margin-bottom: var(--space-24);
}

.blog-title {
  font-size: 2.5rem;
  margin-top: 5rem;
  margin-bottom: 1rem;
  color: #000;
  font-weight: bold;
  line-height: 2.9rem;
}

.blog-meta {
  display: flex;
  gap: var(--space-16);
  margin-bottom: var(--space-24);
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
}

.blog-featured-image {
  margin-bottom: var(--space-24);
}

/* .blog-featured-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
} */

.blog-body {
  font-size: var(--font-size-lg);
  line-height: 1.8;
  color: var(--color-text);
}

.blog-excerpt {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-medium);
  margin-bottom: var(--space-24);
  color: var(--color-text-secondary);
}

.blog-categories {
  margin-top: var(--space-24);
  padding-top: var(--space-16);
  border-top: 1px solid var(--color-border);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-16);
  margin-top: var(--space-24);
}

.pagination-link {
  color: var(--color-text);
  text-decoration: none;
  padding: var(--space-8) var(--space-12);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-base);
  transition: all var(--duration-fast) var(--ease-standard);
}

.pagination-link:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-btn-primary-text);
}

.pagination-current {
  color: var(--color-text-secondary);
  font-weight: var(--font-weight-medium);
}

/* Footer */
.site-footer {
  background: var(--color-slate-900);
  color: var(--color-white);
  padding: var(--space-24) 0 var(--space-16);
  margin-top: var(--space-32);
}

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

.social-links {
  display: flex;
  gap: var(--space-12);
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--color-primary);
  border-radius: var(--radius-full);
  color: var(--color-btn-primary-text);
  text-decoration: none;
  transition: all var(--duration-fast) var(--ease-standard);
}

.social-links a:hover {
  background: var(--color-orange-400);
  transform: translateY(-2px);
}

/* Hero Banner */
.hero-banner {
  height: 500px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  color: white;
}

.hero-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  /* Dark overlay */
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero-btn {
  padding: 10px 20px;
  background: #ff6f61;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
}

.hero-btn:hover {
  background: #ff4a3d;
}

/* END style.css */

.cta-below-banner {
  background: #f8f8f8;
  /* padding: 40px 0; */
  text-align: center;
}

.cta-below-banner .cta-section h3 {
  margin-bottom: 15px;
  /* font-size: 1.8rem; */
}

.cta-below-banner .btn {
  background: #EFBA32;
  color: #1A1A2E;

}



/* read more funtion */
/* .hidden {
    display: none;
} */

#show-more-btn {
  display: block;
  margin: 15px auto 0;
  padding: 8px 16px;
  background: #EFBA32;
  color: #1A1A2E;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color .3s;
}

#show-more-btn:hover {
  background: #D9A022;
}

/* === Recent Posts Container === */
.recent-posts {
  display: flex;
  flex-direction: column;
  gap: 18px;
  /* spacing between post cards */
}

/* === Each Post Card === */
.recent-post {
  background: #ffffff;
  border: 1px solid #eee;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  padding: 10px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.recent-post:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

/* === Image Section === */
.recent-post-image {
  width: 100%;
  height: auto;
  /* fixed height for all thumbnails */
  overflow: hidden;
  border-radius: 12px;
}

.recent-post-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  /* keeps ratio without distortion */
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.recent-post-image img:hover {
  transform: scale(1.05);
}

/* === No-Image Placeholder === */
.recent-post-image.no-image {
  background: #f8f8f8;
  display: flex;
  justify-content: center;
  align-items: center;
}



.recent-post-content h4 {
  margin: 8px 0 0;
  font-size: var(--font-size-md);
  line-height: var(--line-height-tight);
}

.recent-post-content a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: var(--font-weight-semibold);
  transition: color 0.2s ease;
}

.recent-post-content a:hover {
  color: var(--color-primary);
  text-decoration: none;
  text-decoration: underline;
}

/* === Hidden Posts (for Show More / Hide) === */
.recent-post.hidden {
  display: none;
}

/* === Show More / Hide Buttons === */
.btn-group {
  display: flex;
  justify-content: center;
  margin-top: 12px;
  gap: 8px;
}

.btn-group .btn {
  background: var(--color-surface);
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 8px 14px;
  cursor: pointer;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-group .btn:hover {
  background: #f5f5f5;
  transform: translateY(-2px);
}

.btn-group i {
  font-size: 0.85rem;
}



/* RIchtext img */

.rich-text {
  max-width: 800px;
  overflow-wrap: break-word;
  word-wrap: break-word;
  line-height: 1.5;
  font-size: 1.1rem;
  color: #222;
  align-items: center;
  margin-left: 6%;
  align-content: justify;
  text-align: justify;
}

/* H2 style */
.rich-text h2 {
  font-size: 2rem;
  /* adjust size */
  font-weight: 700;
  margin: 1.5rem 0 1rem 0;
  /* top margin / bottom margin */
  color: #222;
  border-bottom: 2px solid #eee;
  padding-bottom: 0.3rem;
}

/* H3 style */
.rich-text h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 1.2rem 0 0.8rem 0;
  color: #444;
}

/* H4 style */
.rich-text h4 {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 1rem 0 0.5rem 0;
  color: #444;
}

/* Optional: spacing for paragraphs after headings */
.rich-text h2+p,
.rich-text h3+p,
.rich-text h4+p {
  margin-top: 0.5rem;
}

.rich-text a {
  border-bottom: #efba32 1px solid;
}

/* Fix for lists (both bullet and numbered) */
.rich-text ol,
.rich-text ul {
  margin-left: 1.0rem;
  /* adjust indentation */
  padding-left: 1.0rem;
  list-style-position: inside;
}

/* Optional: Style numbered lists nicely */
.rich-text ol {
  list-style-type: decimal;
}

/* Optional: Style unordered lists nicely */
.rich-text ul {
  list-style-type: disc;

}

/* Prevent list overflow in narrow screens */
.rich-text li {
  overflow-wrap: break-word;
  margin-bottom: 0.4rem;
  font-size: 1.1rem;
}

/* Desktop & large screens */
@media (min-width: 769px) {
  .rich-text img {
    width: 100%;
    max-width: 800px;
    /* aligns with hero width */
    aspect-ratio: 16 / 9;
    /* SAME visual size for all images */
    height: auto;
    /* aspect-ratio controls height */
    object-fit: cover;
    /* crop portrait & square */
    object-position: center;
    display: block;
    margin: 1.5rem auto;
    border-radius: var(--radius-sm);
  }
}


/* Blog Author */
.blog-date {
  margin-left: 6%;
}

/* footer page navigation */

/* Footer Navigation */
.blog-footer {
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  text-align: center;
}

.post-navigation a {
  margin: 0 10px;
  font-size: 22px;
  color: #efba32;
  transition: color 0.3s;
}

.post-navigation a:hover {
  color: #d89c25;
}


.hero-intro {
  font-size: 1.1rem;
  max-width: 800px;
  color: rgba(98, 108, 113, 1);
  line-height: 1.5;
  text-align: start;
  margin-bottom: 0.5rem;
  margin-left: 6%;
  letter-spacing: 0.4px;
  /* 2px is excessive for body text */
  text-align: justify;
}

/* gpt 20/12 */
.blog-hero-inner {

  margin: 0 auto;
  padding: 0 16px;
}


.recent-post-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.recent-post-link:hover .recent-post {
  transform: translateY(-3px);
  transition: 0.2s ease;
}


/* Mobile responsiveness */
@media (max-width: 768px) {
  .hero-intro {
    font-size: 1rem;
    /* Slightly smaller text */
    max-width: 90%;
    /* Almost full width on small screens */
  }
}

@media (max-width: 480px) {
  .hero-intro {
    font-size: 0.9rem;
    /* Smaller text for small phones */
    line-height: 1.4;
    /* margin: 0.5rem auto 0; */
  }
}







/* ====== MEDIA QUERIES ====== */










/* container */

@media (min-width: 640px) {
  .container {
    max-width: var(--container-sm);
  }
}

@media (min-width: 768px) {
  .container {
    max-width: var(--container-md);
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: var(--container-lg);
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: var(--container-xl);
  }
}

/* Tablets (max-width: 1024px) */
@media (max-width: 1024px) {
  .recent-post {
    gap: 0.75rem;
  }

  .recent-post-image img {
    width: 100%;
    height: 70px;
  }

  .recent-post-content h4 {
    font-size: 0.95rem;
  }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
  .recent-post {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .recent-post-image img {
    width: 100%;
    height: auto;
    border-radius: 5px;
  }

  .recent-post-content h4 {
    font-size: 1rem;
  }
}

/* Small mobile (max-width: 480px) */
@media (max-width: 480px) {
  .recent-posts {
    gap: 0.75rem;
  }

  .recent-post {
    flex-direction: column;
    align-items: flex-start;
  }

  .recent-post-image img {
    width: 100%;
    height: auto;
  }

  .recent-post-content h4 {
    font-size: 0.95rem;
    padding: 8px;
  }
}


/* for sideabr */

/* Extra small screens - small mobile */
@media (max-width: 480px) {
  .sidebar {
    gap: 0.75rem;
  }

  .sidebar-section {
    padding: 0.55rem;
    border-radius: 0.5rem;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.07);
  }

  .sidebar-section h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
}



/* for CTA */
@media (max-width: 768px) {
  .cta-section {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    padding: 15px 10px;
  }

  .cta-section h3 {
    font-size: 1.5rem;
  }

  .cta-section .btn {
    width: auto;
    padding: 8px 13px;
    font-size: 13px;
  }
}

/* for hero banner content */

/* Responsive */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-24);
  }

  .hero-title {
    font-size: var(--font-size-3xl);
  }

  .content-grid {
    grid-template-columns: 1fr;
    gap: var(--space-24);
  }

  .posts-grid {
    grid-template-columns: 1fr;
  }

  .header-content {
    flex-direction: column;
    gap: var(--space-16);
  }

  .main-nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-16);
  }

  .footer-content {
    flex-direction: column;
    gap: var(--space-16);
  }
}

@media (max-width: 480px) {


  .hero-section {
    padding: var(--space-24) 0;
  }

  .hero-title {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--space-16);
  }

  .main-content {
    padding: var(--space-24) 0;
  }

  /* .sidebar-section {
        padding: var(--space-16);
    }
     */
  .blog-title {
    font-size: 1.9rem;

  }

  .site-header {
    padding: var(--space-16) 0;
  }

  .site-logo {
    font-size: var(--font-size-xl);
  }

  .main-nav ul {
    gap: var(--space-12);
  }

  .btn {
    padding: var(--space-10) var(--space-16);
    font-size: var(--font-size-sm);
  }

  .post-content {
    padding: var(--space-16);
  }

  .posts-grid {
    gap: var(--space-16);
  }

  .sidebar {
    gap: var(--space-16);
  }
}

/* For RichText */

/* Mobile — small screens */
@media (max-width: 767px) {
  .rich-text img {
    width: 100%;
    height: auto;
  }
}

/* Tablet — medium screens */
@media (min-width: 768px) and (max-width: 1023px) {
  .rich-text img {
    width: 80%;
    height: auto;
  }
}

/* Desktop — large screens */
@media (min-width: 1024px) {
  .rich-text img {
    width: auto;
    /* original size, up to container width */
    max-width: 100%;
    height: auto;
  }
}

/* Make embedded videos responsive */
.rich-text iframe {
  max-width: 100%;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  /* maintain video aspect ratio */
  display: block;
  border: none;
}

/* Media Queries */

/* Mobile */
@media (max-width: 767px) {
  .rich-text iframe {
    width: 100%;
    height: auto;
  }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1023px) {
  .rich-text iframe {
    width: 100%;
    height: auto;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .rich-text iframe {
    width: 100%;
    height: auto;
  }
}

/* On small screens (like mobile) */
@media (max-width: 768px) {
  .rich-text {
    font-size: 1.1rem;
    padding: 0 1rem;
    /* add inner spacing */
  }

  @media (max-width: 768px) {
    .rich-text h2 {
      font-size: 1.6rem;
      font-weight: 700;
      margin: 1.5rem 0 1rem 0;
      /* top margin / bottom margin */
      color: #222;
      border-bottom: 2px solid #eee;
      padding-bottom: 0.3rem;
    }
  }

  .rich-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 1.2rem 0 0.8rem 0;
    color: #444;
  }

  .rich-text h4 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 1rem 0 0.5rem 0;
    color: #444;
  }
}

.rich-text ol,
.rich-text ul {
  font-size: 0.8rem;
  margin-left: 1rem;
  padding-left: 1rem;
  line-height: 2rem;
}

.recent-post-content a {
  font-size: 1.2rem;
}

.recent-post-content p {
  font-size: 1.5rem;
}

/* On very small screens */
@media (max-width: 480px) {
  .rich-text {
    font-size: 0.9rem;
    margin-left: 0%;
  }

  .rich-text ol,
  .rich-text ul {
    font-size: 0.8rem;
    margin-left: 0.9rem;
    padding-left: 0.9rem;
  }
}

/* footer page navigation */


/* test blog featured image share icon */
/* test blog featured image share icon */


/* share-icon */




.blog-featured-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
}

.blog-featured-image {
  position: relative;
  width: 100%;
  max-width: 800px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* gpt 20/12 */
.blog-featured-image img {
  width: 100%;
  display: block;
  border-radius: 14px;
  object-fit: cover;
}


/* SHARE ICON (floating button on image) */
.share-icon {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #ffffff;
  border-radius: 50%;
  padding: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.25s ease;
  z-index: 10;
}

.share-icon i {
  font-size: 20px;
  color: #333;
  transition: color 0.25s ease;
}

.share-icon:hover {
  background: #f7f7f7;
  transform: scale(1.05);
}

.share-icon:hover i {
  color: #0077ff;
}

/* SHARE MENU DROPDOWN */
.social-share-menu {
  position: absolute;
  top: 60px;
  right: 15px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  padding: 0.75rem 1rem;
  display: none;
  flex-direction: column;
  gap: 0.6rem;
  z-index: 20;
  width: 180px;
}

.social-share-menu.active {
  display: flex;
  animation: fadeIn 0.25s ease-in-out;
}

.social-share-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #333;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

/* OFFICIAL BRAND COLORS */
.social-share-menu a.whatsapp i {
  color: #25D366;
}

.social-share-menu a.twitter i {
  color: #000000;
}

.social-share-menu a.facebook i {
  color: #1877F2;
}

.social-share-menu a.copy-link i {
  color: #555;
}

.social-share-menu a:hover {
  transform: translateX(3px);
}

.social-share-menu i {
  font-size: 20px;
}

/* ANIMATION */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

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

/* RESPONSIVE */
@media (max-width: 768px) {
  .social-share-menu {
    top: 55px;
    right: 10px;
    width: 160px;
  }
}


/* 24/12 */
@media (max-width: 840px) {
  .blog-hero-inner {
    max-width: 100%;
    padding: 0 16px;
  }

  .hero-intro {
    font-size: 1rem;
    letter-spacing: 0.2px;
  }

  .blog-date {
    margin-left: 0%;
  }
}

@media (max-width: 480px) {
  .hero-intro {
    font-size: 0.95rem;
    line-height: 1.55;
    margin-left: 0%;
  }

  .blog-date {
    margin-left: 0%;
  }
}

/* sidebar recent posts */
#sidebar-recent-post {
  margin-top: 100px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid #f1e7d2;
  border-radius: 18px;
  /* background: linear-gradient(160deg, #ffffff 0%, #fffdf8 100%); */
  /* box-shadow: 0 12px 30px rgba(90, 65, 20, 0.08); */
}

#sidebar-recent-post:hover {
  transform: none;
  box-shadow: 0 12px 30px rgba(90, 65, 20, 0.08);
}

/* #sidebar-recent-post .product-section-heading {
  margin-bottom: 18px;
} */
/* =====================================
   PRODUCT SECTION HEADING - DESKTOP
===================================== */

#sidebar-recent-post .product-section-heading {
  margin-bottom: 18px;
  width: 100%;
}

#sidebar-recent-post .product-section-eyebrow {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 9px;
  color: #a97900;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
}

#sidebar-recent-post .product-section-eyebrow i {
  font-size: 0.75rem;
  flex-shrink: 0;
}

#sidebar-recent-post .product-section-heading h3 {
  margin: 0;
  color: #333333;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: break-word;
}

#sidebar-recent-post .product-section-intro {
  margin: 8px 0 0;
  color: #777168;
  font-size: 0.87rem;
  font-weight: 400;
  line-height: 1.5;
}


/* =====================================
   TABLET - 768px
===================================== */

@media screen and (max-width: 768px) {
  #sidebar-recent-post .product-section-heading {
    margin-bottom: 16px;
  }

  #sidebar-recent-post .product-section-eyebrow {
    font-size: 0.63rem;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
  }

  #sidebar-recent-post .product-section-heading h3 {
    font-size: 1.25rem;
    line-height: 1.35;
  }

  #sidebar-recent-post .product-section-intro {
    font-size: 0.84rem;
    line-height: 1.5;
  }
}


/* =====================================
   MOBILE - 480px
===================================== */

@media screen and (max-width: 480px) {
  #sidebar-recent-post .product-section-heading {
    margin-bottom: 14px;
  }

  #sidebar-recent-post .product-section-eyebrow {
    gap: 6px;
    margin-bottom: 7px;
    font-size: 0.58rem;
    letter-spacing: 0.09em;
    line-height: 1.4;
  }

  #sidebar-recent-post .product-section-eyebrow i {
    font-size: 0.68rem;
  }

  #sidebar-recent-post .product-section-heading h3 {
    font-size: 1.1rem;
    line-height: 1.35;
    font-weight: 700;
  }

  #sidebar-recent-post .product-section-intro {
    margin-top: 6px;
    font-size: 0.8rem;
    line-height: 1.45;
  }
}


/* =====================================
   SMALL MOBILE - 360px
===================================== */

@media screen and (max-width: 360px) {
  #sidebar-recent-post .product-section-heading {
    margin-bottom: 12px;
  }

  #sidebar-recent-post .product-section-eyebrow {
    font-size: 0.53rem;
    letter-spacing: 0.07em;
  }

  #sidebar-recent-post .product-section-heading h3 {
    font-size: 1rem;
    line-height: 1.3;
  }

  #sidebar-recent-post .product-section-intro {
    font-size: 0.76rem;
  }
}

#sidebar-recent-post .product-section-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding: 0;
  color: #777;
  background: none;
  border: none;
  box-shadow: none;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.5px;
  line-height: 1.5;
}

#sidebar-recent-post .product-section-eyebrow i {
  display: none;
}

/* Minimal divider */
#sidebar-recent-post .product-section-eyebrow::after {
  content: "";
  display: block;
  width: 28px;
  height: 1px;
  background: #d8d8d8;
}

/* Mobile */
@media (max-width: 480px) {
  #sidebar-recent-post .product-section-eyebrow {
    margin-bottom: 9px;
    font-size: 9px;
    letter-spacing: 1.2px;
  }

  #sidebar-recent-post .product-section-eyebrow::after {
    width: 20px;
  }
}

#sidebar-recent-post .product-section-eyebrow {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 9px;
  color: #efba34;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

/* #sidebar-recent-post .product-section-heading h3 {
  margin: 0;
  color: #333333;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
} */

#sidebar-recent-post .product-section-intro {
  margin: 8px 0 0;
  color: #777168;
  font-size: 0.87rem;
  line-height: 1.5;
}

#sidebar-recent-post .product-list {
  display: grid;
  gap: 10px;
}

#sidebar-recent-post .product-card {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  min-width: 0;
  padding: 10px;
  border: 1px solid #f0ece3;
  border-radius: 14px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

#sidebar-recent-post .product-card:hover {
  transform: translateY(-2px);
  border-color: #efba32;
  box-shadow: 0 8px 18px rgba(90, 65, 20, 0.1);
  color: inherit;
  text-decoration: none;
}

#sidebar-recent-post .product-card:focus-visible {
  outline: 3px solid rgba(245, 179, 1, 0.45);
  outline-offset: 3px;
}

#sidebar-recent-post .product-card-image,
#sidebar-recent-post .product-card-image-inner,
#sidebar-recent-post .product-image-placeholder {
  display: flex;
  width: 78px;
  height: 82px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 10px;
  background: #fffaf0;
}

#sidebar-recent-post .product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 220ms ease;
}

#sidebar-recent-post .product-card:hover .product-card-image img {
  transform: scale(1.05);
}

#sidebar-recent-post .product-image-placeholder {
  color: #b78a23;
  font-size: 1.35rem;
}

#sidebar-recent-post .product-card-content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}

#sidebar-recent-post .product-card-title {
  display: -webkit-box;
  overflow: hidden;
  color: #333333;
  font-size: 0.94rem;
  font-weight: 650;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

#sidebar-recent-post .product-card-price {
  color: #222222;
  font-size: 0.88rem;
  font-weight: 700;
}

#sidebar-recent-post .product-card-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  color: #efba34;
  ;
  font-size: 0.75rem;
  font-weight: 700;
}

#sidebar-recent-post .product-card-action i {
  font-size: 0.68rem;
  transition: transform 180ms ease;
}

#sidebar-recent-post .product-card:hover .product-card-action i {
  transform: translateX(3px);
}

#sidebar-recent-post .product-empty-state {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 15px;
  border-radius: 12px;
  background: #fffaf0;
  color: #736c5f;
  font-size: 0.88rem;
  line-height: 1.5;
}

#sidebar-recent-post .product-empty-state i {
  margin-top: 2px;
  color: #a97900;
}

/* =====================================
   TABLET - 768px
===================================== */

@media screen and (max-width: 768px) {
  #sidebar-recent-post {
    margin-top: 30px;
    padding: 18px;
    border-radius: 15px;
  }

  /* #sidebar-recent-post .product-section-heading h3 {
    font-size: 1.2rem;
  } */

  #sidebar-recent-post .product-card {
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 10px;
    padding: 9px;
  }

  #sidebar-recent-post .product-card-image,
  #sidebar-recent-post .product-card-image-inner,
  #sidebar-recent-post .product-image-placeholder {
    width: 70px;
    height: 72px;
  }

  #sidebar-recent-post .product-card-title {
    font-size: 0.88rem;
  }

  #sidebar-recent-post .product-card-price {
    font-size: 0.82rem;
  }
}

/* =====================================
   MOBILE - 480px
===================================== */

@media screen and (max-width: 480px) {
  #sidebar-recent-post {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 25px 0 0;
    padding: 14px;
    border-radius: 14px;
  }

  /* #sidebar-recent-post .product-section-heading {
    margin-bottom: 14px;
  } */

  #sidebar-recent-post .product-section-eyebrow {
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    margin-bottom: 6px;
    margin-left: 60px;
  }

  /* #sidebar-recent-post .product-section-heading h3 {
    font-size: 1.15rem;
    line-height: 1.3;
  } */

  #sidebar-recent-post .product-section-intro {
    font-size: 0.8rem;
    line-height: 1.5;
  }

  #sidebar-recent-post .product-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
  }

  #sidebar-recent-post .product-card {
    grid-template-columns: 60px minmax(0, 1fr);
    width: 100%;
    min-width: 0;
    gap: 10px;
    padding: 8px;
    border-radius: 11px;
  }

  #sidebar-recent-post .product-card-image,
  #sidebar-recent-post .product-card-image-inner,
  #sidebar-recent-post .product-image-placeholder {
    width: 60px;
    height: 64px;
    border-radius: 8px;
  }

  #sidebar-recent-post .product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  #sidebar-recent-post .product-card-content {
    min-width: 0;
    gap: 4px;
  }

  #sidebar-recent-post .product-card-title {
    font-size: 0.82rem;
    line-height: 1.35;
  }

  #sidebar-recent-post .product-card-price {
    font-size: 0.8rem;
  }

  #sidebar-recent-post .product-card-action {
    font-size: 0.68rem;
    gap: 5px;
  }

  #sidebar-recent-post .product-empty-state {
    padding: 12px;
    font-size: 0.8rem;
  }
}

/* =====================================
   EXTRA SMALL MOBILE - 360px
===================================== */

@media screen and (max-width: 360px) {
  #sidebar-recent-post {
    padding: 10px;
  }

  #sidebar-recent-post .product-card {
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 8px;
    padding: 10px;
  }

  #sidebar-recent-post .product-card-image,
  #sidebar-recent-post .product-card-image-inner,
  #sidebar-recent-post .product-image-placeholder {
    width: 70px;
    height: 74px;
  }

  #sidebar-recent-post .product-card-title {
    font-size: 0.77rem;
  }

  #sidebar-recent-post .product-card-price {
    font-size: 0.75rem;
  }

  #sidebar-recent-post .product-card-action {
    font-size: 0.65rem;
  }
}

/* 
@media (max-width: 768px) {
  .sidebar {
    width: 100%;
    min-width: 0;
  }

  #sidebar-recent-post {
    width: 100%;
    box-sizing: border-box;
    padding: 20px;
  }

  #sidebar-recent-post .product-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  #sidebar-recent-post .product-card {
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    gap: 10px;
    padding: 10px;
  }

  #sidebar-recent-post .product-card-image {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  #sidebar-recent-post .product-card-image-inner,
  #sidebar-recent-post .product-image-placeholder {
    width: 100%;
    height: 100%;
  }

  #sidebar-recent-post .product-card-content {
    gap: 6px;
  }

  #sidebar-recent-post .product-card-title {
    font-size: 0.9rem;
  }

  #sidebar-recent-post .product-card-action {
    min-height: 24px;
  }
}

@media (max-width: 480px) {
  #sidebar-recent-post {
    padding: 16px;
    border-radius: 16px;
  }

  #sidebar-recent-post .product-section-heading h3 {
    font-size: 1.2rem;
  }

  #sidebar-recent-post .product-list {
    gap: 10px;
  }

  #sidebar-recent-post .product-card {
    gap: 8px;
    padding: 8px;
    border-radius: 12px;
  }

  #sidebar-recent-post .product-card-action {
    font-size: 0.7rem;
  }
}

@media (max-width: 350px) {
  #sidebar-recent-post .product-list {
    grid-template-columns: minmax(0, 1fr);
  }

  #sidebar-recent-post .product-card {
    grid-template-columns: 64px minmax(0, 1fr);
    align-items: center;
  }

  #sidebar-recent-post .product-card-image {
    width: 64px;
    height: 68px;
    aspect-ratio: auto;
  }

  #sidebar-recent-post .product-card-image-inner,
  #sidebar-recent-post .product-image-placeholder {
    width: 64px;
    height: 68px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #sidebar-recent-post .product-card,
  #sidebar-recent-post .product-card-image img,
  #sidebar-recent-post .product-card-action i {
    transition: none;
  }
} */

/* ==========================================================================
   Sidebar Collection Section & 5s Rotating Products Carousel
   ========================================================================== */

#sidebar-collection-section {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #f0ece3;
  padding: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  margin-top: 55px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

#sidebar-collection-section:hover {
  border-color: #e5ded2;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
}

#sidebar-collection-section .collection-section-heading {
  margin-bottom: 14px;
}

#sidebar-collection-section .collection-eyebrow-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

#sidebar-collection-section .collection-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(239, 186, 52, 0.15);
  color: #c98a0c;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#sidebar-collection-section .collection-badge i {
  font-size: 0.68rem;
}

#sidebar-collection-section .collection-carousel-nav {
  display: flex;
  align-items: center;
  gap: 5px;
}

#sidebar-collection-section .carousel-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid #ede8de;
  background: #faf8f5;
  color: #666;
  font-size: 0.65rem;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
}

#sidebar-collection-section .carousel-nav-btn:hover {
  background: #efba32;
  border-color: #efba32;
  color: #ffffff;
  transform: scale(1.08);
}

#sidebar-collection-section .carousel-nav-btn:focus-visible {
  outline: 2px solid #efba32;
  outline-offset: 2px;
}

#sidebar-collection-section .collection-main-title {
  margin: 0 0 6px 0;
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.3;
}

#sidebar-collection-section .collection-title-link {
  color: #222222;
  text-decoration: none;
  transition: color 0.2s ease;
}

#sidebar-collection-section .collection-title-link:hover {
  color: #efba32;
  text-decoration: none;
}

#sidebar-collection-section .collection-section-intro {
  margin: 0;
  color: #777168;
  font-size: 0.82rem;
  line-height: 1.45;
}

/* Carousel Track & Slides Container */
#sidebar-collection-section .collection-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  user-select: none;
}

#sidebar-collection-section .collection-carousel-track {
  display: flex;
  width: 100%;
  transition: transform 0.55s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

#sidebar-collection-section .collection-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  box-sizing: border-box;
}

#sidebar-collection-section .collection-product-list {
  display: grid;
  gap: 9px;
  padding: 2px 1px;
}

/* Product Cards */
#sidebar-collection-section .collection-product-card {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid #f2eee8;
  border-radius: 12px;
  background: #faf8f5;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

#sidebar-collection-section .collection-product-card:hover {
  background: #ffffff;
  border-color: #efba32;
  box-shadow: 0 6px 16px rgba(90, 65, 20, 0.08);
  transform: translateY(-2px);
  color: inherit;
  text-decoration: none;
}

#sidebar-collection-section .collection-product-card:focus-visible {
  outline: 2px solid #efba32;
  outline-offset: 2px;
}

#sidebar-collection-section .collection-product-image,
#sidebar-collection-section .collection-product-image-inner,
#sidebar-collection-section .product-image-placeholder {
  display: flex;
  width: 68px;
  height: 72px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 9px;
  background: #ffffff;
  border: 1px solid #f0ece3;
}

#sidebar-collection-section .collection-product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.22s ease;
}

#sidebar-collection-section .collection-product-card:hover .collection-product-image img {
  transform: scale(1.06);
}

#sidebar-collection-section .product-image-placeholder {
  color: #b78a23;
  font-size: 1.25rem;
}

#sidebar-collection-section .collection-product-content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}

#sidebar-collection-section .collection-product-title {
  display: -webkit-box;
  overflow: hidden;
  color: #2c2c2c;
  font-size: 0.88rem;
  font-weight: 650;
  line-height: 1.32;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  word-break: break-word;
}

#sidebar-collection-section .collection-product-price {
  color: #1a1a2e;
  font-size: 0.85rem;
  font-weight: 700;
}

#sidebar-collection-section .collection-product-action {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #c98a0c;
  font-size: 0.72rem;
  font-weight: 700;
  margin-top: 1px;
}

#sidebar-collection-section .collection-product-action i {
  font-size: 0.65rem;
  transition: transform 0.18s ease;
}

#sidebar-collection-section .collection-product-card:hover .collection-product-action i {
  transform: translateX(3px);
}

/* Footer: Dots & View Collection Button */
#sidebar-collection-section .collection-carousel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #f2eee8;
}

#sidebar-collection-section .collection-carousel-dots {
  display: flex;
  align-items: center;
  gap: 5px;
}

#sidebar-collection-section .carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  background: #dcd6cb;
  cursor: pointer;
  padding: 0;
  transition: all 0.25s ease;
}

#sidebar-collection-section .carousel-dot.active {
  width: 20px;
  border-radius: 10px;
  background: #efba32;
}

#sidebar-collection-section .carousel-dot:focus-visible {
  outline: 2px solid #efba32;
  outline-offset: 2px;
}

#sidebar-collection-section .collection-view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #1a1a2e;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

#sidebar-collection-section .collection-view-all-link i {
  font-size: 0.7rem;
  transition: transform 0.2s ease;
}

#sidebar-collection-section .collection-view-all-link:hover {
  color: #efba32;
  text-decoration: none;
}

#sidebar-collection-section .collection-view-all-link:hover i {
  transform: translateX(3px);
}

/* Responsive Sizing */
@media (max-width: 768px) {
  #sidebar-collection-section {
    padding: 16px;
  }

  #sidebar-collection-section .collection-main-title {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  #sidebar-collection-section {
    padding: 14px;
    border-radius: 14px;
  }

  #sidebar-collection-section .collection-product-card {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 9px;
    padding: 7px 8px;
  }

  #sidebar-collection-section .collection-product-image,
  #sidebar-collection-section .collection-product-image-inner,
  #sidebar-collection-section .product-image-placeholder {
    width: 58px;
    height: 60px;
  }

  #sidebar-collection-section .collection-product-title {
    font-size: 0.82rem;
  }

  #sidebar-collection-section .collection-product-price {
    font-size: 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {

  #sidebar-collection-section .collection-carousel-track,
  #sidebar-collection-section .collection-product-card,
  #sidebar-collection-section .carousel-dot {
    transition: none !important;
  }
}