@layer theme, base, components, utilities;

@layer theme {
  @theme default {
    --font-sans:
      -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
      "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
      "Segoe UI Symbol", "Noto Color Emoji";
    --font-serif: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
    --font-mono:
      ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;

    --color-red-50: oklch(97.1% 0.013 17.38);
    --color-red-100: oklch(93.6% 0.032 17.717);
    --color-red-200: oklch(88.5% 0.062 18.334);
    --color-red-300: oklch(80.8% 0.114 19.571);
    --color-red-400: oklch(70.4% 0.191 22.216);
    --color-red-500: oklch(63.7% 0.237 25.331);
    --color-red-600: oklch(57.7% 0.245 27.325);
    --color-red-700: oklch(50.5% 0.213 27.518);
    --color-red-800: oklch(44.4% 0.177 26.899);
    --color-red-900: oklch(39.6% 0.141 25.723);
    --color-red-950: oklch(25.8% 0.092 26.042);

    --color-orange-50: oklch(98% 0.016 73.684);
    --color-orange-100: oklch(95.4% 0.038 75.164);
    --color-orange-200: oklch(90.1% 0.076 70.697);
    --color-orange-300: oklch(83.7% 0.128 66.29);
    --color-orange-400: oklch(75% 0.183 55.934);
    --color-orange-500: oklch(70.5% 0.213 47.604);
    --color-orange-600: oklch(64.6% 0.222 41.116);
    --color-orange-700: oklch(55.3% 0.195 38.402);
    --color-orange-800: oklch(47% 0.157 37.304);
    --color-orange-900: oklch(40.8% 0.123 38.172);
    --color-orange-950: oklch(26.6% 0.079 36.259);

    --color-amber-50: oklch(98.7% 0.022 95.277);
    --color-amber-100: oklch(96.2% 0.059 95.617);
    --color-amber-200: oklch(92.4% 0.12 95.746);
    --color-amber-300: oklch(87.9% 0.169 91.605);
    --color-amber-400: oklch(82.8% 0.189 84.429);
    --color-amber-500: oklch(76.9% 0.188 70.08);
    --color-amber-600: oklch(66.6% 0.179 58.318);
    --color-amber-700: oklch(55.5% 0.163 48.998);
    --color-amber-800: oklch(47.3% 0.137 46.201);
    --color-amber-900: oklch(41.4% 0.112 45.904);
    --color-amber-950: oklch(27.9% 0.077 45.635);

    --color-yellow-50: oklch(98.7% 0.026 102.212);
    --color-yellow-100: oklch(97.3% 0.071 103.193);
    --color-yellow-200: oklch(94.5% 0.129 101.54);
    --color-yellow-300: oklch(90.5% 0.182 98.111);
    --color-yellow-400: oklch(85.2% 0.199 91.936);
    --color-yellow-500: oklch(79.5% 0.184 86.047);
    --color-yellow-600: oklch(68.1% 0.162 75.834);
    --color-yellow-700: oklch(55.4% 0.135 66.442);
    --color-yellow-800: oklch(47.6% 0.114 61.907);
    --color-yellow-900: oklch(42.1% 0.095 57.708);
    --color-yellow-950: oklch(28.6% 0.066 53.813);

    --color-lime-50: oklch(98.6% 0.031 120.757);
    --color-lime-100: oklch(96.7% 0.067 122.328);
    --color-lime-200: oklch(93.8% 0.127 124.321);
    --color-lime-300: oklch(89.7% 0.196 126.665);
    --color-lime-400: oklch(84.1% 0.238 128.85);
    --color-lime-500: oklch(76.8% 0.233 130.85);
    --color-lime-600: oklch(64.8% 0.2 131.684);
    --color-lime-700: oklch(53.2% 0.157 131.589);
    --color-lime-800: oklch(45.3% 0.124 130.933);
    --color-lime-900: oklch(40.5% 0.101 131.063);
    --color-lime-950: oklch(27.4% 0.072 132.109);

    --color-green-50: oklch(98.2% 0.018 155.826);
    --color-green-100: oklch(96.2% 0.044 156.743);
    --color-green-200: oklch(92.5% 0.084 155.995);
    --color-green-300: oklch(87.1% 0.15 154.449);
    --color-green-400: oklch(79.2% 0.209 151.711);
    --color-green-500: oklch(72.3% 0.219 149.579);
    --color-green-600: oklch(62.7% 0.194 149.214);
    --color-green-700: oklch(52.7% 0.154 150.069);
    --color-green-800: oklch(44.8% 0.119 151.328);
    --color-green-900: oklch(39.3% 0.095 152.535);
    --color-green-950: oklch(26.6% 0.065 152.934);

    --color-emerald-50: oklch(97.9% 0.021 166.113);
    --color-emerald-100: oklch(95% 0.052 163.051);
    --color-emerald-200: oklch(90.5% 0.093 164.15);
    --color-emerald-300: oklch(84.5% 0.143 164.978);
    --color-emerald-400: oklch(76.5% 0.177 163.223);
    --color-emerald-500: oklch(69.6% 0.17 162.48);
    --color-emerald-600: oklch(59.6% 0.145 163.225);
    --color-emerald-700: oklch(50.8% 0.118 165.612);
    --color-emerald-800: oklch(43.2% 0.095 166.913);
    --color-emerald-900: oklch(37.8% 0.077 168.94);
    --color-emerald-950: oklch(26.2% 0.051 172.552);

    --color-teal-50: oklch(98.4% 0.014 180.72);
    --color-teal-100: oklch(95.3% 0.051 180.801);
    --color-teal-200: oklch(91% 0.096 180.426);
    --color-teal-300: oklch(85.5% 0.138 181.071);
    --color-teal-400: oklch(77.7% 0.152 181.912);
    --color-teal-500: oklch(70.4% 0.14 182.503);
    --color-teal-600: oklch(60% 0.118 184.704);
    --color-teal-700: oklch(51.1% 0.096 186.391);
    --color-teal-800: oklch(43.7% 0.078 188.216);
    --color-teal-900: oklch(38.6% 0.063 188.416);
    --color-teal-950: oklch(27.7% 0.046 192.524);

    --color-cyan-50: oklch(98.4% 0.019 200.873);
    --color-cyan-100: oklch(95.6% 0.045 203.388);
    --color-cyan-200: oklch(91.7% 0.08 205.041);
    --color-cyan-300: oklch(86.5% 0.127 207.078);
    --color-cyan-400: oklch(78.9% 0.154 211.53);
    --color-cyan-500: oklch(71.5% 0.143 215.221);
    --color-cyan-600: oklch(60.9% 0.126 221.723);
    --color-cyan-700: oklch(52% 0.105 223.128);
    --color-cyan-800: oklch(45% 0.085 224.283);
    --color-cyan-900: oklch(39.8% 0.07 227.392);
    --color-cyan-950: oklch(30.2% 0.056 229.695);

    --color-sky-50: oklch(97.7% 0.013 236.62);
    --color-sky-100: oklch(95.1% 0.026 236.824);
    --color-sky-200: oklch(90.1% 0.058 230.902);
    --color-sky-300: oklch(82.8% 0.111 230.318);
    --color-sky-400: oklch(74.6% 0.16 232.661);
    --color-sky-500: oklch(68.5% 0.169 237.323);
    --color-sky-600: oklch(58.8% 0.158 241.966);
    --color-sky-700: oklch(50% 0.134 242.749);
    --color-sky-800: oklch(44.3% 0.11 240.79);
    --color-sky-900: oklch(39.1% 0.09 240.876);
    --color-sky-950: oklch(29.3% 0.066 243.157);

    --color-blue-50: oklch(97% 0.014 254.604);
    --color-blue-100: oklch(93.2% 0.032 255.585);
    --color-blue-200: oklch(88.2% 0.059 254.128);
    --color-blue-300: oklch(80.9% 0.105 251.813);
    --color-blue-400: oklch(70.7% 0.165 254.624);
    --color-blue-500: oklch(62.3% 0.214 259.815);
    --color-blue-600: oklch(54.6% 0.245 262.881);
    --color-blue-700: oklch(48.8% 0.243 264.376);
    --color-blue-800: oklch(42.4% 0.199 265.638);
    --color-blue-900: oklch(37.9% 0.146 265.522);
    --color-blue-950: oklch(28.2% 0.091 267.935);

    --color-indigo-50: oklch(96.2% 0.018 272.314);
    --color-indigo-100: oklch(93% 0.034 272.788);
    --color-indigo-200: oklch(87% 0.065 274.039);
    --color-indigo-300: oklch(78.5% 0.115 274.713);
    --color-indigo-400: oklch(67.3% 0.182 276.935);
    --color-indigo-500: oklch(58.5% 0.233 277.117);
    --color-indigo-600: oklch(51.1% 0.262 276.966);
    --color-indigo-700: oklch(45.7% 0.24 277.023);
    --color-indigo-800: oklch(39.8% 0.195 277.366);
    --color-indigo-900: oklch(35.9% 0.144 278.697);
    --color-indigo-950: oklch(25.7% 0.09 281.288);

    --color-violet-50: oklch(96.9% 0.016 293.756);
    --color-violet-100: oklch(94.3% 0.029 294.588);
    --color-violet-200: oklch(89.4% 0.057 293.283);
    --color-violet-300: oklch(81.1% 0.111 293.571);
    --color-violet-400: oklch(70.2% 0.183 293.541);
    --color-violet-500: oklch(60.6% 0.25 292.717);
    --color-violet-600: oklch(54.1% 0.281 293.009);
    --color-violet-700: oklch(49.1% 0.27 292.581);
    --color-violet-800: oklch(43.2% 0.232 292.759);
    --color-violet-900: oklch(38% 0.189 293.745);
    --color-violet-950: oklch(28.3% 0.141 291.089);

    --color-purple-50: oklch(97.7% 0.014 308.299);
    --color-purple-100: oklch(94.6% 0.033 307.174);
    --color-purple-200: oklch(90.2% 0.063 306.703);
    --color-purple-300: oklch(82.7% 0.119 306.383);
    --color-purple-400: oklch(71.4% 0.203 305.504);
    --color-purple-500: oklch(62.7% 0.265 303.9);
    --color-purple-600: oklch(55.8% 0.288 302.321);
    --color-purple-700: oklch(49.6% 0.265 301.924);
    --color-purple-800: oklch(43.8% 0.218 303.724);
    --color-purple-900: oklch(38.1% 0.176 304.987);
    --color-purple-950: oklch(29.1% 0.149 302.717);

    --color-fuchsia-50: oklch(97.7% 0.017 320.058);
    --color-fuchsia-100: oklch(95.2% 0.037 318.852);
    --color-fuchsia-200: oklch(90.3% 0.076 319.62);
    --color-fuchsia-300: oklch(83.3% 0.145 321.434);
    --color-fuchsia-400: oklch(74% 0.238 322.16);
    --color-fuchsia-500: oklch(66.7% 0.295 322.15);
    --color-fuchsia-600: oklch(59.1% 0.293 322.896);
    --color-fuchsia-700: oklch(51.8% 0.253 323.949);
    --color-fuchsia-800: oklch(45.2% 0.211 324.591);
    --color-fuchsia-900: oklch(40.1% 0.17 325.612);
    --color-fuchsia-950: oklch(29.3% 0.136 325.661);

    --color-pink-50: oklch(97.1% 0.014 343.198);
    --color-pink-100: oklch(94.8% 0.028 342.258);
    --color-pink-200: oklch(89.9% 0.061 343.231);
    --color-pink-300: oklch(82.3% 0.12 346.018);
    --color-pink-400: oklch(71.8% 0.202 349.761);
    --color-pink-500: oklch(65.6% 0.241 354.308);
    --color-pink-600: oklch(59.2% 0.249 0.584);
    --color-pink-700: oklch(52.5% 0.223 3.958);
    --color-pink-800: oklch(45.9% 0.187 3.815);
    --color-pink-900: oklch(40.8% 0.153 2.432);
    --color-pink-950: oklch(28.4% 0.109 3.907);

    --color-rose-50: oklch(96.9% 0.015 12.422);
    --color-rose-100: oklch(94.1% 0.03 12.58);
    --color-rose-200: oklch(89.2% 0.058 10.001);
    --color-rose-300: oklch(81% 0.117 11.638);
    --color-rose-400: oklch(71.2% 0.194 13.428);
    --color-rose-500: oklch(64.5% 0.246 16.439);
    --color-rose-600: oklch(58.6% 0.253 17.585);
    --color-rose-700: oklch(51.4% 0.222 16.935);
    --color-rose-800: oklch(45.5% 0.188 13.697);
    --color-rose-900: oklch(41% 0.159 10.272);
    --color-rose-950: oklch(27.1% 0.105 12.094);

    --color-slate-50: oklch(98.4% 0.003 247.858);
    --color-slate-100: oklch(96.8% 0.007 247.896);
    --color-slate-200: oklch(92.9% 0.013 255.508);
    --color-slate-300: oklch(86.9% 0.022 252.894);
    --color-slate-400: oklch(70.4% 0.04 256.788);
    --color-slate-500: oklch(55.4% 0.046 257.417);
    --color-slate-600: oklch(44.6% 0.043 257.281);
    --color-slate-700: oklch(37.2% 0.044 257.287);
    --color-slate-800: oklch(27.9% 0.041 260.031);
    --color-slate-900: oklch(20.8% 0.042 265.755);
    --color-slate-950: oklch(12.9% 0.042 264.695);

    --color-gray-50: oklch(98.5% 0.002 247.839);
    --color-gray-100: oklch(96.7% 0.003 264.542);
    --color-gray-200: oklch(92.8% 0.006 264.531);
    --color-gray-300: oklch(87.2% 0.01 258.338);
    --color-gray-400: oklch(70.7% 0.022 261.325);
    --color-gray-500: oklch(55.1% 0.027 264.364);
    --color-gray-600: oklch(44.6% 0.03 256.802);
    --color-gray-700: oklch(37.3% 0.034 259.733);
    --color-gray-800: oklch(27.8% 0.033 256.848);
    --color-gray-900: oklch(21% 0.034 264.665);
    --color-gray-950: oklch(13% 0.028 261.692);

    --color-zinc-50: oklch(98.5% 0 none);
    --color-zinc-100: oklch(96.7% 0.001 286.375);
    --color-zinc-200: oklch(92% 0.004 286.32);
    --color-zinc-300: oklch(87.1% 0.006 286.286);
    --color-zinc-400: oklch(70.5% 0.015 286.067);
    --color-zinc-500: oklch(55.2% 0.016 285.938);
    --color-zinc-600: oklch(44.2% 0.017 285.786);
    --color-zinc-700: oklch(37% 0.013 285.805);
    --color-zinc-800: oklch(27.4% 0.006 286.033);
    --color-zinc-900: oklch(21% 0.006 285.885);
    --color-zinc-950: oklch(14.1% 0.005 285.823);

    --color-neutral-50: oklch(98.5% 0 none);
    --color-neutral-100: oklch(97% 0 none);
    --color-neutral-200: oklch(92.2% 0 none);
    --color-neutral-300: oklch(87% 0 none);
    --color-neutral-400: oklch(70.8% 0 none);
    --color-neutral-500: oklch(55.6% 0 none);
    --color-neutral-600: oklch(43.9% 0 none);
    --color-neutral-700: oklch(37.1% 0 none);
    --color-neutral-800: oklch(26.9% 0 none);
    --color-neutral-900: oklch(20.5% 0 none);
    --color-neutral-950: oklch(14.5% 0 none);

    --color-stone-50: oklch(98.5% 0.001 106.423);
    --color-stone-100: oklch(97% 0.001 106.424);
    --color-stone-200: oklch(92.3% 0.003 48.717);
    --color-stone-300: oklch(86.9% 0.005 56.366);
    --color-stone-400: oklch(70.9% 0.01 56.259);
    --color-stone-500: oklch(55.3% 0.013 58.071);
    --color-stone-600: oklch(44.4% 0.011 73.639);
    --color-stone-700: oklch(37.4% 0.01 67.558);
    --color-stone-800: oklch(26.8% 0.007 34.298);
    --color-stone-900: oklch(21.6% 0.006 56.043);
    --color-stone-950: oklch(14.7% 0.004 49.25);

    --color-mauve-50: oklch(98.5% 0 none);
    --color-mauve-100: oklch(96% 0.003 325.6);
    --color-mauve-200: oklch(92.2% 0.005 325.62);
    --color-mauve-300: oklch(86.5% 0.012 325.68);
    --color-mauve-400: oklch(71.1% 0.019 323.02);
    --color-mauve-500: oklch(54.2% 0.034 322.5);
    --color-mauve-600: oklch(43.5% 0.029 321.78);
    --color-mauve-700: oklch(36.4% 0.029 323.89);
    --color-mauve-800: oklch(26.3% 0.024 320.12);
    --color-mauve-900: oklch(21.2% 0.019 322.12);
    --color-mauve-950: oklch(14.5% 0.008 326);

    --color-olive-50: oklch(98.8% 0.003 106.5);
    --color-olive-100: oklch(96.6% 0.005 106.5);
    --color-olive-200: oklch(93% 0.007 106.5);
    --color-olive-300: oklch(88% 0.011 106.6);
    --color-olive-400: oklch(73.7% 0.021 106.9);
    --color-olive-500: oklch(58% 0.031 107.3);
    --color-olive-600: oklch(46.6% 0.025 107.3);
    --color-olive-700: oklch(39.4% 0.023 107.4);
    --color-olive-800: oklch(28.6% 0.016 107.4);
    --color-olive-900: oklch(22.8% 0.013 107.4);
    --color-olive-950: oklch(15.3% 0.006 107.1);

    --color-mist-50: oklch(98.7% 0.002 197.1);
    --color-mist-100: oklch(96.3% 0.002 197.1);
    --color-mist-200: oklch(92.5% 0.005 214.3);
    --color-mist-300: oklch(87.2% 0.007 219.6);
    --color-mist-400: oklch(72.3% 0.014 214.4);
    --color-mist-500: oklch(56% 0.021 213.5);
    --color-mist-600: oklch(45% 0.017 213.2);
    --color-mist-700: oklch(37.8% 0.015 216);
    --color-mist-800: oklch(27.5% 0.011 216.9);
    --color-mist-900: oklch(21.8% 0.008 223.9);
    --color-mist-950: oklch(14.8% 0.004 228.8);

    --color-taupe-50: oklch(98.6% 0.002 67.8);
    --color-taupe-100: oklch(96% 0.002 17.2);
    --color-taupe-200: oklch(92.2% 0.005 34.3);
    --color-taupe-300: oklch(86.8% 0.007 39.5);
    --color-taupe-400: oklch(71.4% 0.014 41.2);
    --color-taupe-500: oklch(54.7% 0.021 43.1);
    --color-taupe-600: oklch(43.8% 0.017 39.3);
    --color-taupe-700: oklch(36.7% 0.016 35.7);
    --color-taupe-800: oklch(26.8% 0.011 36.5);
    --color-taupe-900: oklch(21.4% 0.009 43.1);
    --color-taupe-950: oklch(14.7% 0.004 49.3);

    --color-black: #000;
    --color-white: #fff;

    --spacing: 0.25rem;

    --breakpoint-sm: 40rem;
    --breakpoint-md: 48rem;
    --breakpoint-lg: 64rem;
    --breakpoint-xl: 80rem;
    --breakpoint-2xl: 96rem;

    --container-3xs: 16rem;
    --container-2xs: 18rem;
    --container-xs: 20rem;
    --container-sm: 24rem;
    --container-md: 28rem;
    --container-lg: 32rem;
    --container-xl: 36rem;
    --container-2xl: 42rem;
    --container-3xl: 48rem;
    --container-4xl: 56rem;
    --container-5xl: 64rem;
    --container-6xl: 72rem;
    --container-7xl: 80rem;

    --text-xs: 0.75rem;
    --text-xs--line-height: calc(1 / 0.75);
    --text-sm: 0.875rem;
    --text-sm--line-height: calc(1.25 / 0.875);
    --text-base: 1rem;
    --text-base--line-height: calc(1.5 / 1);
    --text-lg: 1.125rem;
    --text-lg--line-height: calc(1.75 / 1.125);
    --text-xl: 1.25rem;
    --text-xl--line-height: calc(1.75 / 1.25);
    --text-2xl: 1.5rem;
    --text-2xl--line-height: calc(2 / 1.5);
    --text-3xl: 1.875rem;
    --text-3xl--line-height: calc(2.25 / 1.875);
    --text-4xl: 2.25rem;
    --text-4xl--line-height: calc(2.5 / 2.25);
    --text-5xl: 3rem;
    --text-5xl--line-height: 1;
    --text-6xl: 3.75rem;
    --text-6xl--line-height: 1;
    --text-7xl: 4.5rem;
    --text-7xl--line-height: 1;
    --text-8xl: 6rem;
    --text-8xl--line-height: 1;
    --text-9xl: 8rem;
    --text-9xl--line-height: 1;

    --font-weight-thin: 100;
    --font-weight-extralight: 200;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    --font-weight-black: 900;

    --tracking-tighter: -0.05em;
    --tracking-tight: -0.025em;
    --tracking-normal: 0em;
    --tracking-wide: 0.025em;
    --tracking-wider: 0.05em;
    --tracking-widest: 0.1em;

    --leading-tight: 1.25;
    --leading-snug: 1.375;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;
    --leading-loose: 2;

    --radius-xs: 0.125rem;
    --radius-sm: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-2xl: 1rem;
    --radius-3xl: 1.5rem;
    --radius-4xl: 2rem;

    --shadow-2xs: 0 1px rgb(0 0 0 / 0.05);
    --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md:
      0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg:
      0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl:
      0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);

    --inset-shadow-2xs: inset 0 1px rgb(0 0 0 / 0.05);
    --inset-shadow-xs: inset 0 1px 1px rgb(0 0 0 / 0.05);
    --inset-shadow-sm: inset 0 2px 4px rgb(0 0 0 / 0.05);

    --drop-shadow-xs: 0 1px 1px rgb(0 0 0 / 0.05);
    --drop-shadow-sm: 0 1px 2px rgb(0 0 0 / 0.15);
    --drop-shadow-md: 0 3px 3px rgb(0 0 0 / 0.12);
    --drop-shadow-lg: 0 4px 4px rgb(0 0 0 / 0.15);
    --drop-shadow-xl: 0 9px 7px rgb(0 0 0 / 0.1);
    --drop-shadow-2xl: 0 25px 25px rgb(0 0 0 / 0.15);

    --text-shadow-2xs: 0px 1px 0px rgb(0 0 0 / 0.15);
    --text-shadow-xs: 0px 1px 1px rgb(0 0 0 / 0.2);
    --text-shadow-sm:
      0px 1px 0px rgb(0 0 0 / 0.075), 0px 1px 1px rgb(0 0 0 / 0.075),
      0px 2px 2px rgb(0 0 0 / 0.075);
    --text-shadow-md:
      0px 1px 1px rgb(0 0 0 / 0.1), 0px 1px 2px rgb(0 0 0 / 0.1),
      0px 2px 4px rgb(0 0 0 / 0.1);
    --text-shadow-lg:
      0px 1px 2px rgb(0 0 0 / 0.1), 0px 3px 2px rgb(0 0 0 / 0.1),
      0px 4px 8px rgb(0 0 0 / 0.1);

    --ease-in: cubic-bezier(0.4, 0, 1, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);

    --animate-spin: spin 1s linear infinite;
    --animate-ping: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
    --animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    --animate-bounce: bounce 1s infinite;

    @keyframes spin {
      to {
        transform: rotate(360deg);
      }
    }

    @keyframes ping {
      75%,
      100% {
        transform: scale(2);
        opacity: 0;
      }
    }

    @keyframes pulse {
      50% {
        opacity: 0.5;
      }
    }

    @keyframes bounce {
      0%,
      100% {
        transform: translateY(-25%);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
      }

      50% {
        transform: none;
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
      }
    }

    --blur-xs: 4px;
    --blur-sm: 8px;
    --blur-md: 12px;
    --blur-lg: 16px;
    --blur-xl: 24px;
    --blur-2xl: 40px;
    --blur-3xl: 64px;

    --perspective-dramatic: 100px;
    --perspective-near: 300px;
    --perspective-normal: 500px;
    --perspective-midrange: 800px;
    --perspective-distant: 1200px;

    --aspect-video: 16 / 9;

    --default-transition-duration: 150ms;
    --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    --default-font-family: --theme(--font-sans, initial);
    --default-font-feature-settings: --theme(
      --font-sans--font-feature-settings,
      initial
    );
    --default-font-variation-settings: --theme(
      --font-sans--font-variation-settings,
      initial
    );
    --default-mono-font-family: --theme(--font-mono, initial);
    --default-mono-font-feature-settings: --theme(
      --font-mono--font-feature-settings,
      initial
    );
    --default-mono-font-variation-settings: --theme(
      --font-mono--font-variation-settings,
      initial
    );
  }

  /* Deprecated */
  @theme default inline reference {
    --blur: 8px;
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-inner: inset 0 2px 4px 0 rgb(0 0 0 / 0.05);
    --drop-shadow: 0 1px 2px rgb(0 0 0 / 0.1), 0 1px 1px rgb(0 0 0 / 0.06);
    --radius: 0.25rem;
    --max-width-prose: 65ch;
  }
}

@layer base {
  /*
  1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
  2. Remove default margins and padding
  3. Reset all borders.
*/

  *,
  ::after,
  ::before,
  ::backdrop,
  ::file-selector-button {
    box-sizing: border-box; /* 1 */
    margin: 0; /* 2 */
    padding: 0; /* 2 */
    border: 0 solid; /* 3 */
  }

  /*
  1. Use a consistent sensible line-height in all browsers.
  2. Prevent adjustments of font size after orientation changes in iOS.
  3. Use a more readable tab size.
  4. Use the user's configured `sans` font-family by default.
  5. Use the user's configured `sans` font-feature-settings by default.
  6. Use the user's configured `sans` font-variation-settings by default.
  7. Disable tap highlights on iOS.
*/

  html,
  :host {
    line-height: 1.5; /* 1 */
    -webkit-text-size-adjust: 100%; /* 2 */
    tab-size: 4; /* 3 */
    font-family: --theme(
      --default-font-family,
      -apple-system,
      BlinkMacSystemFont,
      "Segoe UI",
      Roboto,
      "Helvetica Neue",
      "Noto Sans",
      Arial,
      sans-serif,
      "Apple Color Emoji",
      "Segoe UI Emoji",
      "Segoe UI Symbol",
      "Noto Color Emoji"
    ); /* 4 */
    font-feature-settings: --theme(
      --default-font-feature-settings,
      normal
    ); /* 5 */
    font-variation-settings: --theme(
      --default-font-variation-settings,
      normal
    ); /* 6 */
    -webkit-tap-highlight-color: transparent; /* 7 */
  }

  /*
  1. Add the correct height in Firefox.
  2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
  3. Reset the default border style to a 1px solid border.
*/

  hr {
    height: 0; /* 1 */
    color: inherit; /* 2 */
    border-top-width: 1px; /* 3 */
  }

  /*
  Add the correct text decoration in Chrome, Edge, and Safari.
*/

  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }

  /*
  Remove the default font size and weight for headings.
*/

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-size: inherit;
    font-weight: inherit;
  }

  /*
  Reset links to optimize for opt-in styling instead of opt-out.
*/

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

  /*
  Add the correct font weight in Edge and Safari.
*/

  b,
  strong {
    font-weight: bolder;
  }

  /*
  1. Use the user's configured `mono` font-family by default.
  2. Use the user's configured `mono` font-feature-settings by default.
  3. Use the user's configured `mono` font-variation-settings by default.
  4. Correct the odd `em` font sizing in all browsers.
*/

  code,
  kbd,
  samp,
  pre {
    font-family: --theme(
      --default-mono-font-family,
      ui-monospace,
      SFMono-Regular,
      Menlo,
      Monaco,
      Consolas,
      "Liberation Mono",
      "Courier New",
      monospace
    ); /* 1 */
    font-feature-settings: --theme(
      --default-mono-font-feature-settings,
      normal
    ); /* 2 */
    font-variation-settings: --theme(
      --default-mono-font-variation-settings,
      normal
    ); /* 3 */
    font-size: 1em; /* 4 */
  }

  /*
  Add the correct font size in all browsers.
*/

  small {
    font-size: 80%;
  }

  /*
  Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

  sub,
  sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }

  sub {
    bottom: -0.25em;
  }

  sup {
    top: -0.5em;
  }

  /*
  1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
  2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
  3. Remove gaps between table borders by default.
*/

  table {
    text-indent: 0; /* 1 */
    border-color: inherit; /* 2 */
    border-collapse: collapse; /* 3 */
  }

  /*
  Use the modern Firefox focus style for all focusable elements.
*/

  :-moz-focusring:where(:not(iframe)) {
    outline: auto;
  }

  /*
  Add the correct vertical alignment in Chrome and Firefox.
*/

  progress {
    vertical-align: baseline;
  }

  /*
  Add the correct display in Chrome and Safari.
*/

  summary {
    display: list-item;
  }

  /*
  Make lists unstyled by default.
*/

  ol,
  ul,
  menu {
    list-style: none;
  }

  /*
  1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
  2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
      This can trigger a poorly considered lint error in some tools but is included by design.
*/

  img,
  svg,
  video,
  canvas,
  audio,
  iframe,
  embed,
  object {
    display: block; /* 1 */
    vertical-align: middle; /* 2 */
  }

  /*
  Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

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

  /*
  1. Inherit font styles in all browsers.
  2. Remove border radius in all browsers.
  3. Remove background color in all browsers.
  4. Ensure consistent opacity for disabled states in all browsers.
*/

  button,
  input,
  select,
  optgroup,
  textarea,
  ::file-selector-button {
    font: inherit; /* 1 */
    font-feature-settings: inherit; /* 1 */
    font-variation-settings: inherit; /* 1 */
    letter-spacing: inherit; /* 1 */
    color: inherit; /* 1 */
    border-radius: 0; /* 2 */
    background-color: transparent; /* 3 */
    opacity: 1; /* 4 */
  }

  /*
  Restore default font weight.
*/

  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }

  /*
  Restore indentation.
*/

  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }

  /*
  Restore space after button.
*/

  ::file-selector-button {
    margin-inline-end: 4px;
  }

  /*
  Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
*/

  ::placeholder {
    opacity: 1;
  }

  /*
  Set the default placeholder color to a semi-transparent version of the current text color in browsers that do not
  crash when using `color-mix(…)` with `currentcolor`. (https://github.com/tailwindlabs/tailwindcss/issues/17194)
*/

  @supports (not (-webkit-appearance: -apple-pay-button)) /* Not Safari */ or
    (contain-intrinsic-size: 1px) /* Safari 17+ */ {
    ::placeholder {
      color: color-mix(in oklab, currentcolor 50%, transparent);
    }
  }

  /*
  Prevent resizing textareas horizontally by default.
*/

  textarea {
    resize: vertical;
  }

  /*
  Remove the inner padding in Chrome and Safari on macOS.
*/

  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }

  /*
  1. Ensure date/time inputs have the same height when empty in iOS Safari.
  2. Ensure text alignment can be changed on date/time inputs in iOS Safari.
*/

  ::-webkit-date-and-time-value {
    min-height: 1lh; /* 1 */
    text-align: inherit; /* 2 */
  }

  /*
  Prevent height from changing on date/time inputs in macOS Safari when the input is set to `display: block`.
*/

  ::-webkit-datetime-edit {
    display: inline-flex;
  }

  /*
  Remove excess padding from pseudo-elements in date/time inputs to ensure consistent height across browsers.
*/

  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }

  ::-webkit-datetime-edit,
  ::-webkit-datetime-edit-year-field,
  ::-webkit-datetime-edit-month-field,
  ::-webkit-datetime-edit-day-field,
  ::-webkit-datetime-edit-hour-field,
  ::-webkit-datetime-edit-minute-field,
  ::-webkit-datetime-edit-second-field,
  ::-webkit-datetime-edit-millisecond-field,
  ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }

  /*
  Center dropdown marker shown on inputs with paired `<datalist>`s in Chrome. (https://github.com/tailwindlabs/tailwindcss/issues/18499)
*/

  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }

  /*
  Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

  :-moz-ui-invalid {
    box-shadow: none;
  }

  /*
  Correct the inability to style the border radius in iOS Safari.
*/

  button,
  input:where([type="button"], [type="reset"], [type="submit"]),
  ::file-selector-button {
    appearance: button;
  }

  /*
  Correct the cursor style of increment and decrement buttons in Safari.
*/

  ::-webkit-inner-spin-button,
  ::-webkit-outer-spin-button {
    height: auto;
  }

  /*
  Make elements with the HTML hidden attribute stay hidden by default.
*/

  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}

@layer utilities {
  @tailwind utilities;
}

/* ==========================================================================
   Pravah News Portal - Editorial Design System (Premium)
   ========================================================================== */

:root {
  /* Editorial Color Palette - Premium Modern Theme */
  --bg-primary: #f8fafc; /* Clean, sleek light slate for background */
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-elevated: #f1f5f9; /* Slate 100 for elevated elements */
  
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #94a3b8;
  
  --border-color: #e2e8f0;
  --border-hover: #cbd5e1;
  
  /* Brand & Accents - Red and Black (Pravah Logo Theme) */
  --primary: #dc2626; /* Pravah Red */
  --primary-gradient: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  --primary-hover: #b91c1c;
  --primary-light: rgba(220, 38, 38, 0.1);
  
  --accent-red: #ef4444; 
  --accent-red-gradient: linear-gradient(135deg, #f87171 0%, #ef4444 100%);
  --accent-red-light: rgba(220, 38, 38, 0.1);
  --accent-purple: #9333ea;
  --accent-blue: #0284c7;
  --accent-amber: #d97706;
  
  /* Glassmorphism - Minimized for editorial feel */
  --glass-bg: rgba(250, 250, 248, 0.95);
  --glass-border: rgba(229, 229, 229, 0.7);
  
  /* Shadows - Subtle, deeper and crisp for premium look */
  --shadow-sm: 0 2px 4px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  
  /* Typography - Playfair Display (Headings), Inter (UI/Body) */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Playfair Display', Georgia, serif;
  
  /* Transitions & Radii - Premium rounded look */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 300ms cubic-bezier(0.34, 1.56, 0.64, 1); /* Bouncy fluid transition */
  --transition-slow: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
}

/* Dark Mode Theme Variables (High Contrast Editorial) */
[data-theme="dark"],
body.dark-mode {
  --bg-primary: #0f172a; /* Premium Dark Navy/Slate (Looks very professional) */
  --bg-surface: #1e293b; /* Slate 800 for cards */
  --bg-card: #1e293b;
  --bg-elevated: #334155; /* Slate 700 */
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-light: #64748b;
  
  --border-color: #334155;
  --border-hover: #475569;
  
  --primary: #818cf8;
  --primary-hover: #a5b4fc;
  --primary-light: rgba(129, 140, 248, 0.15);
  
  --accent-red: #fb7185;
  --accent-red-light: rgba(251, 113, 133, 0.15);
  
  --glass-bg: rgba(18, 18, 18, 0.95);
  --glass-border: rgba(51, 51, 51, 0.7);
  
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   Base & Reset Styles
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ==========================================================================
   Google Translate Widget Overrides
   ========================================================================== */
.goog-te-banner-frame { 
  display: none !important; 
}
body { 
  top: 0 !important; 
}
.skiptranslate > iframe { 
  display: none !important; 
}
.VIpgJd-ZVi9od-ORHb-OEVmcd { 
  display: none !important; 
}
/* ========================================================================== */

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color var(--transition-normal), color var(--transition-normal);
  overflow-x: hidden;
}

#root {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.5rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   Layout Containers & Grids
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (max-width: 640px) {
  .container {
    padding: 0 1rem;
  }
}

.main-content {
  flex: 1 0 auto;
  padding: 2rem 0 4rem;
}

/* Section Headings */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border-color);
  position: relative;
}

.section-header::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 80px;
  height: 2px;
  background: var(--accent-red);
}

.section-title {
  font-size: 1.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.35rem;
  }
}

/* ==========================================================================
   Animations & Keyframes
   ========================================================================== */
@keyframes pulse-live {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.7; }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.animate-fade-in {
  animation: fadeIn 0.4s ease-out forwards;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1;
}

.badge-primary {
  background-color: var(--primary-light);
  color: var(--primary);
}

.badge-red {
  background-color: var(--accent-red);
  color: #ffffff;
}

.badge-live::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #ffffff;
  animation: pulse-live 1.5s infinite;
}

/* Glassmorphism utility */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.05);
}

/* Button styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.btn-primary {
  background: var(--primary-gradient);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(220, 38, 38, 0.25);
}

.btn-primary:hover {
  background: var(--primary-gradient);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(220, 38, 38, 0.35);
}

.btn-outline {
  border: 1px solid var(--border-color);
  background-color: transparent;
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--border-hover);
  background-color: var(--bg-elevated);
}
/* ==========================================================================
   Compact, Modern & Professional Header CSS
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: var(--glass-bg, rgba(255, 255, 255, 0.8));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color, #e5e5e5);
  border-top: 4px solid var(--accent-red, #e11d48); /* Premium color touch */
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

[data-theme='dark'] .site-header {
  background: rgba(15, 23, 42, 0.85); /* Frosty Dark Slate */
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* 1. Header Main Container */
.header-main {
  max-width: 1280px; /* Match website container width */
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 64px;
  gap: 1.5rem;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 0 0 auto; /* Don't stretch, just hug the logo */
}

.hamburger-btn {
  display: flex;
  background: none;
  border: none;
  color: var(--text-main, #0f172a);
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  transition: background-color 0.15s;
}

.hamburger-btn:hover {
  background-color: var(--bg-elevated, #f1f5f9);
}

.header-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
}

.header-logo-img {
  height: 48px;
  max-width: 240px;
  width: auto;
  object-fit: contain;
  display: block;
}

[data-theme='dark'] .header-logo-img {
  filter: drop-shadow(0px 0px 12px rgba(255, 255, 255, 0.8));
}

/* 2. Center Search Bar */
.header-center {
  flex: 1;
  display: flex;
  justify-content: flex-start; /* Align search closer to logo instead of center */
  max-width: 600px;
  margin-left: 2rem; /* Give some breathing room */
}

.inline-search-form {
  display: flex;
  align-items: center;
  width: 100%;
  background-color: var(--bg-elevated, #f8fafc);
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: 30px;
  padding: 2px 4px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.inline-search-form:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary-light);
  background-color: var(--bg-surface);
}

.search-input-wrapper {
  display: flex;
  align-items: center;
  flex: 1;
  padding-left: 12px;
  color: var(--text-muted);
}

.inline-search-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 6px 12px;
  font-size: 0.85rem; /* Smaller font */
  color: var(--text-main);
  outline: none;
  width: 100%;
}

.inline-search-input::placeholder {
  color: var(--text-light);
}

.inline-search-btn {
  background-color: var(--primary, #4f46e5);
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 6px 16px; /* Tighter padding */
  font-weight: 700;
  font-size: 0.8rem; /* Smaller button text */
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
  height: 32px;
}

.inline-search-btn:hover {
  background-color: var(--primary-hover, #4338ca);
}

/* 3. Right Actions */
.header-right-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  justify-content: flex-end;
}

.header-date-wrapper {
  display: flex;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.header-lang-wrapper {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  background-color: var(--bg-elevated);
  border: none;
  border-radius: 20px;
  padding: 6px 12px;
  transition: background-color 0.2s;
}

.header-lang-wrapper:hover {
  background-color: var(--border-color);
}

.lang-select-dropdown {
  background: transparent;
  border: none;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  padding: 0 4px;
}

.lang-select-dropdown option {
  background-color: var(--bg-surface);
  color: var(--text-main);
}

.theme-toggle {
  background-color: var(--bg-elevated);
  border: none;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: background-color 0.2s;
  white-space: nowrap;
}

.theme-toggle:hover {
  background-color: var(--border-color);
}

.header-login-btn {
  background-color: var(--primary, #4f46e5);
  color: #ffffff;
  border: none;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.header-login-btn:hover {
  opacity: 0.9;
}

.user-profile-badge {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 4px 10px;
  background-color: var(--bg-elevated, #f1f5f9);
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main, #0f172a);
}

.user-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: var(--accent-red, #dc2626);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.user-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  width: 160px;
  background-color: var(--bg-surface, #ffffff);
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: 8px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  padding: 6px;
  display: none;
  z-index: 100;
}

/* Invisible bridge so mouse doesn't lose hover over the gap */
.user-dropdown::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

.user-profile-badge:hover .user-dropdown {
  display: block;
}

.user-dropdown button {
  width: 100%;
  text-align: left;
  padding: 8px 12px;
  border: none;
  background: none;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main, #0f172a);
  border-radius: 4px;
  cursor: pointer;
}

.user-dropdown button:hover {
  background-color: var(--bg-elevated, #f1f5f9);
}

.user-dropdown .logout-btn {
  color: var(--accent-red, #dc2626);
}



/* 4. Mobile Drawer Menu - Dark Premium */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
  z-index: 2000;
}

.mobile-drawer-content.dark-drawer {
  position: fixed;
  top: 0;
  right: 0; /* Let's slide from right for this, or left? User said "side sa clcick krna pr", hamburger is on the left, so keep it left */
  left: 0;
  bottom: 0;
  width: 320px;
  background-color: #0f172a; /* Dark navy black */
  border-right: 1px solid #1e293b;
  z-index: 2001;
  display: flex;
  flex-direction: column;
  box-shadow: 10px 0 30px rgba(0, 0, 0, 0.5);
  animation: slideDrawer 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  color: #f8fafc;
}

@keyframes slideDrawer {
  from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}

.dark-drawer-header {
  padding: 1.5rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #1e293b;
}

.drawer-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.drawer-title-icon {
  font-size: 1.1rem;
}

.dark-close {
  background: none;
  border: none;
  font-size: 1.25rem;
  color: #94a3b8;
  cursor: pointer;
  padding: 4px;
}

.dark-drawer-body {
  padding: 1rem 0;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.drawer-nav-item {
  display: flex;
  align-items: center;
  padding: 1rem 1.25rem;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border-bottom: 1px solid #1e293b;
  transition: background-color 0.2s;
}

.drawer-nav-item:hover {
  background-color: #1e293b;
}

.drawer-item-icon {
  font-size: 1.2rem;
  margin-right: 0.75rem;
}

.chevron {
  margin-left: auto;
  color: #64748b;
  font-size: 1.2rem;
  font-weight: 400;
}

.drawer-login-wrapper {
  margin-top: auto;
  padding: 1.5rem 1.25rem;
}

.drawer-login-btn {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 1rem;
  background-color: rgba(220, 38, 38, 0.1);
  border: 1px solid rgba(220, 38, 38, 0.3);
  border-radius: 8px;
  color: var(--primary, #dc2626);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s;
}

.drawer-login-btn:hover {
  background-color: var(--primary, #dc2626);
  color: #ffffff;
}

.drawer-login-btn .chevron {
  color: inherit;
}

@media (max-width: 992px) {
  .header-center {
    display: none; /* Hide inline search on small screens, or we can collapse it */
  }
}

@media (max-width: 768px) {
  .header-logo-img {
    height: 36px;
  }
  .hidden-mobile {
    display: none !important;
  }
  .header-login-btn, .user-profile-badge {
    display: none !important;
  }
  .header-main {
    gap: 0.5rem;
    padding: 0.5rem 1rem;
  }
  .header-left {
    min-width: 0;
    gap: 0.5rem;
  }
  .header-right-actions {
    min-width: 0;
    gap: 0.5rem;
  }
}
/* ==========================================================================
   Single Line Horizontal Navbar CSS
   ========================================================================== */

.site-navbar {
  width: 100%;
  background-color: var(--bg-surface, #ffffff);
  border-bottom: 1px solid var(--border-color, #e5e5e5);
  position: sticky;
  top: 77px; /* Matches desktop header height */
  z-index: 990;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.navbar-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 0.5rem;
  display: flex;
  align-items: center;
  position: relative;
  height: 48px;
}

/* Scroll Arrow Controls */
.nav-scroll-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border-color, #e2e8f0);
  background-color: var(--bg-surface, #ffffff);
  color: var(--text-main, #0f172a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  z-index: 2;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: all 0.15s ease;
}

.nav-scroll-btn:hover {
  background-color: var(--accent-red, #dc2626);
  color: #ffffff;
  border-color: var(--accent-red, #dc2626);
}

/* Single Line Scroll Track */
.navbar-track {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  overflow-x: auto;
  white-space: nowrap;
  flex-wrap: nowrap;
  scroll-behavior: smooth;
  flex: 1;
  padding: 0 0.5rem;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

.navbar-track::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

/* Category Pill Items */
.nav-item-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  border: none;
  background: transparent;
  color: var(--text-muted, #475569);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.nav-item-btn:hover {
  color: var(--accent-red, #dc2626);
  background-color: var(--bg-elevated, #f1f5f9);
}

.nav-item-btn.active {
  background: linear-gradient(135deg, var(--accent-red, #dc2626) 0%, #b91c1c 100%);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.35);
  transform: translateY(-1px);
}

.nav-divider {
  width: 1px;
  height: 20px;
  background-color: var(--border-color, #e2e8f0);
  margin: 0 0.25rem;
  flex-shrink: 0;
}

/* Action Buttons (Live TV / Add Channel) */
.nav-action-live {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  background-color: rgba(220, 38, 38, 0.1);
  color: var(--accent-red, #dc2626);
  border: 1px solid rgba(220, 38, 38, 0.2);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-action-live:hover {
  background-color: var(--accent-red, #dc2626);
  color: #ffffff;
}

.nav-action-add {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  border: 1px solid var(--border-color, #e2e8f0);
  background: transparent;
  color: var(--text-main, #0f172a);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-action-add:hover {
  background-color: var(--bg-elevated, #f1f5f9);
}

.live-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--accent-red, #dc2626);
  display: inline-block;
  animation: pulseLive 1.5s infinite;
}

@keyframes pulseLive {
  0% { transform: scale(0.95); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
  100% { transform: scale(0.95); opacity: 1; }
}

@media (max-width: 768px) {
  .site-navbar {
    top: 57px; /* Matches mobile header height */
  }
  .nav-scroll-btn {
    display: none;
  }
}
/* ==========================================================================
   BottomNav Component Styling - Dailyhunt-inspired Mobile Bottom Bar
   ========================================================================== */

.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg-elevated, rgba(255, 255, 255, 0.95));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
  padding: 0.35rem 0.5rem calc(0.35rem + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
  display: none; /* Shown on mobile screens via media query below */
}

@media (max-width: 768px) {
  .mobile-bottom-nav {
    display: block;
  }
}

.bottom-nav-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  justify-items: center;
  max-width: 500px;
  margin: 0 auto;
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  background: transparent;
  border: none;
  color: var(--text-secondary, #64748b);
  padding: 0.35rem 0.25rem;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  width: 100%;
}

.bottom-nav-item:active {
  transform: scale(0.92);
}

.bottom-nav-icon {
  font-size: 1.25rem;
  line-height: 1;
  position: relative;
}

.bottom-nav-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.bottom-nav-item.active {
  color: var(--primary, #4f46e5);
  font-weight: 800;
}

.bottom-nav-item.active .bottom-nav-icon {
  transform: scale(1.1);
}

/* Special Add TV Button */
.bottom-nav-item.special-btn {
  color: #fff;
  background: linear-gradient(135deg, var(--accent-red, #e11d48) 0%, #be123c 100%);
  border-radius: 14px;
  padding: 0.4rem 0.2rem;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.3);
}

.bottom-nav-item.special-btn .bottom-nav-label {
  color: #fff;
}

/* Live indicator dot */
.live-dot {
  position: absolute;
  top: -2px;
  right: -6px;
  width: 7px;
  height: 7px;
  background-color: var(--accent-red, #e11d48);
  border-radius: 50%;
  animation: pulse-live 1.5s infinite;
}

@keyframes pulse-live {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 5px rgba(225, 29, 72, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(225, 29, 72, 0);
  }
}
/* ==========================================================================
   BreakingTicker Styling
   ========================================================================== */

.breaking-ticker-wrapper {
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 10;
  overflow: hidden;
}

.breaking-ticker-container {
  display: flex;
  align-items: center;
  height: 48px;
  gap: 1rem;
}

.ticker-label {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding-right: 0.75rem;
  border-right: 2px solid var(--border-color);
}

.ticker-content-area {
  flex: 1;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
}

/* Masking edges for smooth fade */
.ticker-content-area::before,
.ticker-content-area::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 30px;
  z-index: 2;
  pointer-events: none;
}

.ticker-content-area::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-surface), transparent);
}

.ticker-content-area::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-surface), transparent);
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  white-space: nowrap;
  animation: tickerScroll 90s linear infinite;
  will-change: transform;
}

.ticker-content-area:hover .ticker-track {
  animation-play-state: paused;
}

@keyframes tickerScroll {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: color var(--transition-fast);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-main);
}

.ticker-item:hover {
  color: var(--primary);
}

.ticker-bullet {
  color: var(--accent-red);
  font-size: 0.65rem;
}

.ticker-title {
  font-weight: 600;
}

.ticker-category {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 500;
}

@media (max-width: 640px) {
  .breaking-ticker-container {
    height: 44px;
    gap: 0.5rem;
  }
  
  .ticker-label {
    padding-right: 0.5rem;
  }
  
  .badge-live {
    font-size: 0.65rem;
    padding: 0.2rem 0.5rem;
  }
}
/* ==========================================================================
   Footer Styling
   ========================================================================== */

.site-footer {
  background-color: var(--bg-surface, #ffffff);
  border-top: 1px solid var(--border-color, #e2e8f0);
  color: var(--text-muted, #475569);
  font-size: 0.9rem;
  margin-top: auto;
}

.footer-main {
  padding: 4rem 1.5rem 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 4rem;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* Brand Column */
.brand-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo-wrapper {
  display: inline-block;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

[data-theme="dark"] .brand-logo-img {
  filter: drop-shadow(0px 0px 12px rgba(255, 255, 255, 0.8));
}

.footer-bio {
  line-height: 1.6;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Social Links */
.social-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--bg-elevated, #f1f5f9);
  color: var(--text-main, #0f172a);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  border: 1px solid var(--border-color, #e2e8f0);
}

.social-icon:hover {
  background-color: var(--text-main);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Headings & Links */
.footer-heading {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main, #0f172a);
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.heading-underline {
  display: block;
  width: 40px;
  height: 3px;
  background-color: var(--primary, #dc2626);
  margin-top: 6px;
}


/* Categories Column - Grid of Pills */
.categories-col {
  display: flex;
  flex-direction: column;
}

.category-pills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1rem;
}

.cat-pill {
  display: flex;
  align-items: center;
  background-color: var(--bg-elevated, #f1f5f9);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-md, 8px);
  color: var(--text-main, #0f172a);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}

.cat-pill:hover {
  background-color: var(--primary, #dc2626);
  color: #ffffff;
}

.cat-icon {
  margin-right: 0.5rem;
  font-size: 1.1rem;
}


/* Newsletter Column */
.newsletter-col {
  display: flex;
  flex-direction: column;
}

.footer-text {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.newsletter-form-modern {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.newsletter-form-modern input {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md, 6px);
  border: 1px solid var(--border-color, #e2e8f0);
  background-color: var(--bg-surface, #ffffff);
  color: var(--text-main);
  font-size: 0.95rem;
  width: 100%;
  transition: border-color 0.2s;
}

.newsletter-form-modern input:focus {
  outline: none;
  border-color: var(--primary);
}

.newsletter-btn-full {
  width: 100%;
  padding: 0.85rem;
  border-radius: var(--radius-md, 6px);
  font-size: 1rem;
  font-weight: 700;
  background-color: var(--primary, #dc2626); /* Made red based on user request "color do aap aaacha sa logo ka accoriding" */
  color: #ffffff;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

.newsletter-btn-full:hover {
  opacity: 0.9;
}


/* Bottom Bar */
.footer-bottom {
  background-color: var(--bg-surface, #ffffff);
  border-top: 1px solid var(--border-color, #e2e8f0);
  padding: 1.5rem 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-bottom-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-copyright strong {
  color: var(--text-main);
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-bottom-links a {
  display: flex;
  align-items: center;
  color: var(--text-muted);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bottom-links a:hover {
  color: var(--primary, #dc2626);
}

.link-icon {
  margin-right: 0.35rem;
  font-size: 1rem;
}

@media (max-width: 900px) {
  .footer-bottom-content {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
  .footer-bottom-links {
    justify-content: center;
  }
}
/* ==========================================================================
   HeroSlider Styling
   ========================================================================== */

.hero-slider-section {
  padding: 1.5rem 0 2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr;
  gap: 1.5rem;
  align-items: stretch;
}

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

/* Main Featured Card */
.hero-main-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background-color: var(--bg-elevated, #f1f5f9);
  aspect-ratio: 16 / 9;
  min-height: 350px; /* Applies to desktop to ensure a minimum height */
  max-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

@media (max-width: 768px) {
  .hero-main-card {
    aspect-ratio: 16 / 9;
    min-height: auto; /* Allow it to take natural 16:9 ratio on mobile to prevent side cropping */
    max-height: none;
  }
}

.hero-main-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.hero-img-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slider-slide {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  background-color: var(--bg-elevated, #f1f5f9);
}

.hero-slider-img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  transition: transform 6s ease-out;
}

.hero-main-card:hover .hero-img-bg img {
  transform: scale(1.05);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    0deg,
    rgba(9, 13, 22, 0.95) 0%,
    rgba(9, 13, 22, 0.7) 40%,
    rgba(9, 13, 22, 0.2) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 2.5rem 2rem 2.5rem;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

@media (max-width: 640px) {
  .hero-content {
    padding: 0.75rem 1rem 1rem;
    gap: 0.4rem;
  }
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-date {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

.hero-slider-section .hero-title {
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  /* autoprefixer: ignore next */
  -webkit-box-orient: vertical;
  margin: 0;
  font-family: Playfair Display, Georgia, serif;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.4;
  transition: color .3s;
  display: -webkit-box;
  overflow: hidden;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  padding-top: 5px; /* Prevent clipping of Hindi matras */
}

.hero-main-card:hover .hero-title {
  color: #818cf8;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 1.5rem;
  }
}

.hero-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  /* autoprefixer: ignore next */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 640px) {
  .hero-desc {
    display: none; /* Hide on mobile to save vertical space inside 16:9 ratio */
  }
}

.hero-author-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

@media (max-width: 640px) {
  .hero-author-row {
    margin-top: 0.25rem;
    padding-top: 0.75rem;
  }
}

.hero-author {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
}

.hero-author img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  object-fit: fill;
}

.hero-read-btn {
  font-size: 0.9rem;
  font-weight: 700;
  color: #818cf8;
  transition: transform var(--transition-fast);
}

.hero-main-card:hover .hero-read-btn {
  transform: translateX(4px);
  color: #a5b4fc;
}

/* Slider Dots */
.hero-dots {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 4;
  display: flex;
  gap: 0.4rem;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius-full);
}

.hero-dot {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: contain;
  background-color: #000;
  transition: all var(--transition-fast);
  padding: 0;
}

.hero-dot.active {
  background-color: #ffffff;
  width: 20px;
  border-radius: 4px;
}

/* Side Stacked Grid */
.hero-side-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (max-width: 992px) {
  .hero-side-grid {
    flex-direction: row;
  }
}

@media (max-width: 640px) {
  .hero-side-grid {
    flex-direction: column;
  }
}

.hero-side-card {
  flex: 1;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  cursor: pointer;
}

.hero-side-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.side-img-wrapper {
  width: 40%;
  position: relative;
  overflow: hidden;
  background-color: var(--bg-elevated, #f1f5f9);
  min-height: 140px;
}

.side-img-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  transition: transform var(--transition-slow);
}

.hero-side-card:hover .side-img-wrapper img {
  transform: scale(1.08);
}

.side-content {
  width: 60%;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.5rem;
}

.side-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 600;
}

.side-category {
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.side-date {
  color: var(--text-muted);
}

.side-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-main);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  /* autoprefixer: ignore next */
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--transition-fast);
}

.hero-side-card:hover .side-title {
  color: var(--primary);
}

.side-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
  padding-top: 0.5rem;
}

.side-author {
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.side-link {
  color: var(--primary);
  font-weight: 700;
  font-size: 1rem;
  transition: transform var(--transition-fast);
}

.hero-side-card:hover .side-link {
  transform: translateX(4px);
}
/* ==========================================================================
   NewsCard Component Styling - Dailyhunt Premium Edition
   ========================================================================== */

.news-card {
  background-color: var(--bg-card, #ffffff);
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  cursor: pointer;
  position: relative;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-color: var(--border-hover, #cbd5e1);
}

.news-card-img-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  overflow: hidden;
  background-color: var(--bg-elevated, #f1f5f9); /* Soft neutral background */
}

.news-card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.news-card:hover .news-card-img {
  transform: scale(1.06);
}

.news-card-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  font-weight: 800;
  font-size: 0.7rem;
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.card-views-tag {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  background-color: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.55rem;
  border-radius: 12px;
}

.news-card-content {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.65rem;
}

.news-card-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted, #64748b);
  font-weight: 600;
}

.news-card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--text-main, #0f172a);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  /* autoprefixer: ignore next */
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}

.news-card:hover .news-card-title {
  color: var(--primary, #4f46e5);
}

.news-card-desc {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-secondary, #475569);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  /* autoprefixer: ignore next */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.25rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--border-color, #e2e8f0);
}

.news-card-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.author-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: contain;
}

.author-name {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-main, #0f172a);
}

.read-more-link {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary, #4f46e5);
  display: flex;
  align-items: center;
  gap: 0.2rem;
  transition: transform 0.2s;
}

.news-card:hover .read-more-link {
  transform: translateX(3px);
}

/* ==========================================================================
   Dailyhunt Action Bar (WhatsApp, Share, Report)
   ========================================================================== */
.dailyhunt-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem;
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--border-color, #cbd5e1);
  flex-wrap: wrap;
}

.dh-action-btn {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.4rem 0.25rem;
  border-radius: var(--radius-sm, 8px);
  background-color: var(--bg-elevated, #f1f5f9);
  border: 1px solid var(--border-color, #e2e8f0);
  color: var(--text-main, #0f172a);
  font-size: 0.7rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.dh-icon {
  font-size: 0.9rem;
}

.dh-whatsapp-btn:hover {
  background-color: #25D366;
  color: #ffffff;
  border-color: #25D366;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.dh-share-btn:hover {
  background-color: #1DA1F2;
  color: #ffffff;
  border-color: #1DA1F2;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(29, 161, 242, 0.3);
}

.dh-report-btn:hover {
  background-color: var(--accent-red, #e11d48);
  color: #ffffff;
  border-color: var(--accent-red, #e11d48);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(225, 29, 72, 0.3);
}

/* Featured Card Variant */
.news-card-featured .news-card-title {
  font-size: 1.25rem;
  -webkit-line-clamp: 3;
}

.news-card-featured .news-card-desc {
  -webkit-line-clamp: 3;
}

/* Compact Card Variant (List View) */
.news-card-compact {
  flex-direction: row;
  align-items: stretch;
  min-height: 120px;
}

.news-card-compact .news-card-img-wrapper {
  width: 140px;
  padding-top: 0;
  flex-shrink: 0;
}

.news-card-compact .news-card-content {
  padding: 0.75rem 1rem;
  justify-content: center;
}

.news-card-compact .news-card-title {
  font-size: 0.95rem;
  -webkit-line-clamp: 2;
}

.news-card-compact .news-card-desc {
  display: none; /* Hide description to save space */
}

.news-card-compact .news-card-footer {
  margin-top: auto;
  padding-top: 0.5rem;
}

@media (max-width: 480px) {
  .news-card-compact {
    flex-direction: column;
  }
  .news-card-compact .news-card-img-wrapper {
    width: 100%;
    padding-top: 56.25%;
  }
  .news-card-compact .news-card-desc {
    display: -webkit-box;
  }
}
/* ==========================================================================
   Homepage Sections Styling - Responsive, Modern & Premium
   ========================================================================== */

/* Cache buster: 2026-09-01 */
.section-wrapper {
  margin-bottom: 3rem;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border-color, #e2e8f0);
}

.section-title-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-icon {
  font-size: 1.5rem;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-main, #0f172a);
  margin: 0;
  letter-spacing: -0.02em;
}

.section-view-all {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary, #4f46e5);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: transform 0.2s;
  cursor: pointer;
  background: none;
  border: none;
}

.section-view-all:hover {
  transform: translateX(4px);
}

/* 1. Premium Editorial Hero Section */
.editorial-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .editorial-hero-grid {
    grid-template-columns: 8fr 4fr;
  }
}

.hero-main-article {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  group: hero;
  transition: opacity 0.2s;
}

.hero-main-article:hover .hero-main-image {
  transform: scale(1.02);
}

.hero-main-image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  background-color: var(--bg-elevated, #f1f5f9);
}

.hero-main-image {
  width: 100%;
  height: 100%;
  object-fit: fill;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 25%;
  background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
  pointer-events: none;
}

.hero-category-label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: var(--accent-red);
  color: #fff;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-sm);
  z-index: 2;
}

.hero-main-text {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-main);
  margin: 0;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
}

.hero-excerpt {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  /* autoprefixer: ignore next */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.hero-meta-divider {
  color: var(--border-hover);
}

.hero-side-articles {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-side-articles > * {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1.5rem;
}

.hero-side-articles > *:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* 2. Breaking News Ticker & Grid */
.breaking-ticker-box {
  display: flex;
  align-items: center;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-top: 2px solid var(--accent-red);
  color: var(--text-main);
  padding: 0.75rem 1.25rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.breaking-label {
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  padding-right: 1rem;
  margin-right: 1rem;
  color: var(--accent-red);
  border-right: 1px solid var(--border-color);
}

.breaking-scroll-text {
  font-size: 1rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text-main);
}

.breaking-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .breaking-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .breaking-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 3. Featured & Latest Grids */
.news-grid-3 {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .news-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .news-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.news-grid-4 {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .news-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .news-grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* 4. Trending Numbered List */
.trending-grid {
/* 3. Editorial Section Headers */
.editorial-section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.editorial-section-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-main);
  margin: 0;
  white-space: nowrap;
}

.editorial-header-line {
  flex: 1;
  height: 1px;
  background-color: var(--border-color);
  position: relative;
}

.editorial-header-line::before {
  content: '';
  position: absolute;
  left: 0;
  top: -1px;
  width: 50px;
  height: 3px;
  background-color: var(--text-main);
}

/* 4. Trending Section */
.editorial-trending-grid {
  display: flex;
  flex-direction: column;
}

.editorial-trending-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border-color);
  cursor: pointer;
}

.editorial-trending-item:last-child {
  border-bottom: none;
}

.trending-rank {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--border-color); /* Light grey number */
  line-height: 0.8;
  width: 40px;
  text-align: right;
  transition: color 0.3s;
}

.editorial-trending-item:hover .trending-rank {
  color: var(--accent-red);
}

.trending-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.trending-headline {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.4;
  margin: 0;
}

.trending-meta {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-red);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* 5. Popular & Most Read Dual Columns */
.dual-section-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 992px) {
  .dual-section-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* 6. Photo Gallery Section */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-md, 12px);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  background-color: var(--bg-elevated, #f1f5f9);
}

.gallery-card:hover .gallery-img {
  transform: scale(1.08);
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  transition: transform 0.5s;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 0.75rem;
  background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}

/* 7. Skeleton Loaders / Placeholders */
.skeleton-card {
  background-color: var(--bg-card, #fff);
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: var(--radius-lg, 16px);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.skeleton-box {
  background: linear-gradient(90deg, var(--bg-elevated, #f1f5f9) 25%, var(--border-color, #e2e8f0) 50%, var(--bg-elevated, #f1f5f9) 75%);
  background-size: 200% 100%;
  animation: skeletonPulse 1.5s infinite;
  border-radius: 6px;
}

@keyframes skeletonPulse {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.skeleton-img {
  width: 100%;
  padding-top: 56.25%;
}

.skeleton-title {
  width: 85%;
  height: 24px;
}

.skeleton-text {
  width: 100%;
  height: 16px;
}

/* ═══════════════════════════════════════════════════
   Infinite Scroll — Loader & End Message
   ═══════════════════════════════════════════════════ */
.infinite-scroll-trigger {
  grid-column: 1 / -1;
  width: 100%;
  padding: 2rem 0 1rem;
  display: flex;
  justify-content: center;
}

.infinite-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.infinite-loader p {
  font-size: 0.85rem;
  color: var(--text-muted, #64748b);
  font-weight: 600;
  margin: 0;
}

.infinite-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}

.infinite-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--primary, #4f46e5);
  animation: infiniteBounce 1.2s ease infinite;
}

.infinite-dots span:nth-child(2) { animation-delay: 0.2s; }
.infinite-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes infiniteBounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
  40%            { transform: translateY(-8px); opacity: 1; }
}

.infinite-end-msg {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted, #64748b);
  font-weight: 700;
  background: var(--bg-elevated, #f8fafc);
  padding: 0.6rem 1.25rem;
  border-radius: 100px;
  border: 1px solid var(--border-color, #e2e8f0);
}

[data-theme='dark'] .infinite-end-msg {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.08);
}

/* ==========================================================================
   ShowcaseBox Component Styling - Premium UI
   Bypasses Adblockers by using completely neutral class names
   ========================================================================== */

.showcase-wrapper {
  margin: 1rem auto;
  width: 100%;
  max-width: 700px;
}

.showcase-container {
  background: linear-gradient(135deg, var(--bg-card, #fff) 0%, rgba(255, 241, 242, 0.8) 100%);
  border: 2px solid var(--accent-red, #e11d48);
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(225, 29, 72, 0.15);
  transition: all 0.3s;
  cursor: pointer;
  position: relative;
}

.showcase-container:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px -5px rgba(225, 29, 72, 0.25);
}

.showcase-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1.25rem;
  background-color: var(--accent-red, #e11d48);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.showcase-brand-name {
  background-color: rgba(255, 255, 255, 0.2);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

.showcase-main-body {
  display: flex;
  flex-direction: column;
  padding: 0.75rem;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .showcase-main-body {
    flex-direction: row;
    align-items: center;
  }

  .showcase-visual-box {
    width: 180px;
    height: 100px;
    flex-shrink: 0;
  }
}

.showcase-visual-box {
  width: 100%;
  height: 120px;
  border-radius: var(--radius-sm, 6px);
  background-color: var(--bg-elevated, #f1f5f9);
  overflow: hidden;
  border: 1px solid var(--border-color, #e2e8f0);
}

.showcase-visual-asset {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s;
}

.showcase-container:hover .showcase-visual-asset {
  transform: scale(1.08);
}

.showcase-info-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
  padding: 0;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  height: 120px;
}

@media (min-width: 640px) {
  .showcase-info-box {
    padding: 0 0.75rem;
    height: 100px;
  }
}

.showcase-title-text {
  font-size: 1rem;
  font-weight: 900;
  color: var(--text-main, #0f172a);
  margin: 0;
  line-height: 1.3;
}

.showcase-subtitle-text {
  font-size: 0.85rem;
  color: var(--text-muted, #64748b);
  margin: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.showcase-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.25rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.showcase-action-btn {
  padding: 0.4rem 1rem;
  border-radius: 30px;
  background-color: var(--accent-red, #e11d48);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.85rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.3);
}

.showcase-action-btn:hover {
  background-color: #be123c;
  transform: scale(1.05);
}

.showcase-bottom-note {
  font-size: 0.7rem;
  color: var(--text-muted, #64748b);
  font-style: italic;
}/* ==========================================================================
   Skeleton Loader Styling
   ========================================================================== */

.skeleton-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
  width: 100%;
}

@media (max-width: 640px) {
  .skeleton-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.skeleton-wrapper {
  width: 100%;
}

.skeleton-box {
  background: linear-gradient(
    90deg,
    var(--bg-elevated) 0%,
    var(--border-color) 50%,
    var(--bg-elevated) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.8s infinite linear;
  border-radius: var(--radius-sm);
}

/* Card Skeleton */
.skeleton-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.skeleton-img {
  width: 100%;
  height: 200px;
  border-radius: 0;
}

.skeleton-content {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.skeleton-badge {
  height: 24px;
  border-radius: var(--radius-full);
}

.skeleton-line {
  border-radius: 4px;
}

/* Hero Grid Skeleton */
.skeleton-hero-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr;
  gap: 1.5rem;
  width: 100%;
  margin-bottom: 2.5rem;
}

@media (max-width: 992px) {
  .skeleton-hero-grid {
    grid-template-columns: 1fr;
  }
}

.skeleton-hero-main {
  height: 440px;
  border-radius: var(--radius-lg);
  width: 100%;
}

@media (max-width: 640px) {
  .skeleton-hero-main {
    height: 300px;
  }
}

.skeleton-hero-sub {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  height: 440px;
}

@media (max-width: 992px) {
  .skeleton-hero-sub {
    height: auto;
    flex-direction: row;
  }
}

@media (max-width: 640px) {
  .skeleton-hero-sub {
    flex-direction: column;
  }
}

.skeleton-card-sm {
  flex: 1;
  border-radius: var(--radius-lg);
  min-height: 200px;
}

/* Ticker Skeleton */
.skeleton-ticker {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.5rem;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
}
/* ==========================================================================
   Home Page Styling
   ========================================================================== */

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

.news-section {
  padding: 1rem 0 2rem;
}

/* News Grid */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  align-items: stretch;
}

/* Premium Card Hover Magic */
.news-grid > * {
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.news-grid > *:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

@media (max-width: 640px) {
  .news-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.section-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.article-count-badge {
  background-color: var(--bg-elevated);
  color: var(--text-main);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid var(--border-color);
}

.live-pulse-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--accent-red);
  margin-right: 0.5rem;
  animation: pulse-live 1.5s infinite;
}

/* Filter Status Bar */
.filter-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-top: 1rem;
}

.filter-status-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.filter-badge {
  background-color: var(--primary-light);
  color: var(--primary);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
}

.clear-filters-btn {
  color: var(--accent-red);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-fast);
}

.clear-filters-btn:hover {
  background-color: var(--accent-red-light);
}

@media (max-width: 640px) {
  .filter-status-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

/* Error Banner */
.error-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: var(--radius-lg);
  border-left: 5px solid var(--accent-red);
  margin: 2rem 0;
  background-color: var(--bg-surface);
  box-shadow: var(--shadow-md);
}

.error-icon {
  font-size: 2.5rem;
}

.error-content {
  flex: 1;
}

.error-content h3 {
  font-size: 1.25rem;
  color: var(--accent-red);
  margin-bottom: 0.25rem;
}

.error-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.retry-btn {
  white-space: nowrap;
}

@media (max-width: 640px) {
  .error-banner {
    flex-direction: column;
    text-align: center;
  }
}

/* Empty State */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  border-radius: var(--radius-xl);
  margin: 2rem 0;
  gap: 1rem;
}

.empty-icon {
  font-size: 3.5rem;
  margin-bottom: 0.5rem;
}

.empty-state h3 {
  font-size: 1.5rem;
  color: var(--text-main);
  margin: 0;
}

.empty-state p {
  color: var(--text-muted);
  max-width: 450px;
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   App Wrapper & Layout Styling - Dailyhunt Edition
   ========================================================================== */

.app-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
  background-color: var(--bg-primary, #f8fafc);
  color: var(--text-main, #0f172a);
  transition: background-color var(--transition-normal, 0.3s), color var(--transition-normal, 0.3s);
  padding-bottom: 70px; /* Space for Dailyhunt BottomNav on mobile */
}

@media (min-width: 768px) {
  .app-wrapper {
    padding-bottom: 0;
  }
}

/* Toast Notifications */
.toast-popup {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-lg, 16px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.4);
  font-size: 0.9rem;
  font-weight: 700;
  max-width: 400px;
  animation: toastSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes toastSlideIn {
  0% { transform: translateY(30px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

.toast-info {
  background-color: #0f172a;
  color: #ffffff;
  border: 1px solid #334155;
}

.toast-success {
  background-color: #10b981;
  color: #ffffff;
  border: 1px solid #059669;
}

.toast-error {
  background-color: #e11d48;
  color: #ffffff;
  border: 1px solid #be123c;
}
