-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
1491 lines (1422 loc) · 68.2 KB
/
index.css
File metadata and controls
1491 lines (1422 loc) · 68.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/* index.css
* Extracted from index.html on 2026-05-01.
* Inline <style> blocks consolidated for caching + readability.
*/
/* ===== Block 1 (from line 92, 446 lines) ===== */
/* ============================================================
Research view — clean hero + flat category bar
Apr 29 2026 — replaces the old "Research Hub" header,
the rotating-pattern hero carousel, and the dropdown filter.
============================================================ */
#research-view .articles-hdr{ display: none !important; }
/* #research-view #hero re-enabled 2026-05-03 with Variant 4 redesign */
.rs-hero{
padding: 18px 24px 28px;
text-align: center;
max-width: 1180px;
margin: 0 auto 0;
/* Positioning context for the funnel-plot ambient background canvas
(.rs-hero-bg). Mirrors the .ix-hero pattern on the Index landing. */
position: relative;
overflow: hidden;
}
/* Funnel-plot ambient layer for the Research hero — small dot clouds in
inverted-triangle distributions, the visualization meta-analyses use to
detect publication bias. Decorative; pointer-events:none so the search
and category dropdown above remain fully clickable. */
.rs-hero-bg{
position: absolute;
inset: 0;
width: 100%;
height: 100%;
pointer-events: none;
z-index: 0;
}
.rs-hero > *:not(.rs-hero-bg){
position: relative;
z-index: 1;
}
@media (prefers-reduced-motion: reduce){
.rs-hero-bg{ display: none; }
}
.rs-hero .eb{
font-size: 11px; font-weight: 600;
letter-spacing: .14em; text-transform: uppercase;
color: #1F7A6B;
margin-bottom: 18px;
}
.rs-hero h1{
font-size: clamp(34px, 5.5vw, 56px);
font-weight: 700; letter-spacing: -1.4px;
line-height: 1.08; margin: 0 0 14px;
color: var(--color-text-primary);
}
.rs-hero .lede{
font-size: 16px; color: var(--color-text-secondary);
max-width: 600px; margin: 0 auto 28px;
line-height: 1.55;
}
/* Note: active .rs-search styling lives in the toolbar block further down. */
/* Per-category label colors — apply to the option labels inside the toolbar
dropdown panel. Layout/positioning of the panel and its options lives in
the .rs-toolbar / .rs-cat-dd-panel block further down. */
.rs-cat a[data-cat="quickread"] .lbl { color: #4B7BE5 }
.rs-cat a[data-cat="guide"] .lbl { color: var(--t2c) }
.rs-cat a[data-cat="breakthrough"] .lbl { color: var(--t1c) }
.rs-cat a[data-cat="kids"] .lbl { color: var(--color-brand) }
.rs-cat a[data-cat="myth"] .lbl { color: var(--t3c) }
.rs-cat a[data-cat="safety"] .lbl { color: var(--t4c) }
.rs-cat-dd-label[data-cat="quickread"] { color: #4B7BE5 }
.rs-ac-cat[data-cat="quickread"] { color: #4B7BE5 }
@media (max-width: 600px){
.rs-hero{ padding: 32px 18px 24px; }
}
/* ============================================================
Toolbar — category dropdown + search on a single row
============================================================ */
/* "Back to main" link at the top of the Research view. Static (not
sticky) — sits above the hero so it's the first thing users see when
they land on #research. Small, low-emphasis, brand-coloured. */
.rs-back{
display: inline-flex;
align-items: center;
gap: 6px;
font-size: 13px;
font-weight: 500;
color: var(--color-text-secondary);
text-decoration: none;
padding: 8px 14px 8px 10px;
margin: 14px 0 6px;
border: 1px solid var(--color-border-tertiary);
border-radius: 999px;
background: var(--color-background-primary);
transition: color .15s, border-color .15s, transform .12s;
}
.rs-back:hover{
color: var(--color-brand);
border-color: var(--color-brand);
transform: translateX(-2px);
}
.rs-back svg{flex-shrink: 0; opacity: .8}
.rs-toolbar{
/* Span the full content width of the parent .articles-section so the
toolbar (All-241 chip + search bar) aligns with the hero card above
and the article cards below. The parent already provides the
centered max-width (1200px) and side padding (1rem). */
max-width: none;
margin: 18px 0 22px;
padding: 8px 0;
display: flex;
gap: 10px;
align-items: stretch;
flex-wrap: wrap;
/* Sticky: pin to the very top of the viewport. The beta-bar scrolls
away normally (as it does on every other page); the toolbar covers
0-to-its-height so article content can't bleed through. */
position: sticky;
top: 0;
z-index: 25;
background: var(--color-background-secondary);
border-bottom: 0.5px solid var(--color-border-tertiary);
}
.rs-toolbar .rs-search{
flex: 1;
min-width: 240px;
max-width: none;
margin: 0;
/* inherits the existing .rs-search rounded-pill styling otherwise */
}
/* Mobile: keep the dropdown and the search on a SINGLE row (per user
request — search should sit beside the dropdown, not under it). The
240px min-width above forces the search onto its own row at narrow
viewports; we override to min-width:0 on mobile so flex-shrink can
actually do its job. flex-wrap is also locked to nowrap so the row
never breaks. */
@media (max-width: 700px){
.rs-toolbar{flex-wrap: nowrap;}
.rs-toolbar .rs-search{min-width: 0; height: 44px;}
/* Mobile sticky offset: pin to the very top with safe-area for the
iPhone notch. */
.rs-toolbar{top: env(safe-area-inset-top);}
/* Note: input font-size stays at 16px globally on mobile (iOS-zoom
prevention rule in styles.css), so we don't override it here. */
}
/* Dropdown trigger (matches search-bar height/treatment) */
.rs-cat-dd{ position: relative; flex-shrink: 0; }
.rs-cat-dd-btn{
height: 46px;
display: inline-flex; align-items: center; gap: 10px;
padding: 0 14px;
background: var(--color-background-primary);
border: 1px solid var(--color-border-tertiary);
border-radius: 12px;
color: var(--color-text-primary);
font-family: inherit; font-size: 13.5px; font-weight: 600;
cursor: pointer;
transition: border-color .15s, box-shadow .15s, background .15s;
}
.rs-cat-dd-btn:hover{ background: var(--color-background-secondary); }
.rs-cat-dd-btn:focus-visible,
.rs-cat-dd[aria-expanded="true"] .rs-cat-dd-btn,
.rs-cat-dd-btn[aria-expanded="true"]{
outline: none;
border-color: var(--color-brand);
box-shadow: 0 0 0 3px rgba(31,122,107,.12);
}
.rs-cat-dd-label{ letter-spacing: -.005em; }
.rs-cat-dd-count{
font-size: 11.5px; font-weight: 700;
color: var(--color-text-secondary);
background: var(--color-background-secondary);
padding: 2px 8px; border-radius: 999px;
font-variant-numeric: tabular-nums;
letter-spacing: 0;
}
.rs-cat-dd-chv{
color: var(--color-text-tertiary);
transition: transform .18s ease;
margin-left: 2px;
}
.rs-cat-dd-btn[aria-expanded="true"] .rs-cat-dd-chv{ transform: rotate(180deg); }
/* Active-category color tint on the button label + count */
.rs-cat-dd-label[data-cat="guide"] { color: var(--t2c); }
.rs-cat-dd-label[data-cat="breakthrough"] { color: var(--t1c); }
.rs-cat-dd-label[data-cat="kids"] { color: var(--color-brand); }
.rs-cat-dd-label[data-cat="myth"] { color: var(--t3c); }
.rs-cat-dd-label[data-cat="safety"] { color: var(--t4c); }
/* Panel — overrides the legacy .rs-cat grid into a vertical menu */
.rs-cat.rs-cat-dd-panel{
position: absolute;
top: calc(100% + 6px);
left: 0;
min-width: 240px;
display: flex;
flex-direction: column;
background: var(--color-background-primary);
border: 1px solid var(--color-border-secondary);
border-radius: 12px;
box-shadow: 0 12px 36px rgba(15,23,22,.12), 0 4px 10px rgba(15,23,22,.06);
padding: 6px;
grid-template-columns: none !important;
z-index: 60;
}
.rs-cat.rs-cat-dd-panel[hidden]{ display: none; }
/* Each option becomes a horizontal row inside the panel */
.rs-cat.rs-cat-dd-panel a{
display: flex; flex-direction: row;
align-items: center; justify-content: space-between;
gap: 12px;
padding: 9px 12px;
border: 0 !important;
border-radius: 8px;
background: transparent !important;
}
.rs-cat.rs-cat-dd-panel a:hover{
background: var(--color-background-secondary) !important;
}
.rs-cat.rs-cat-dd-panel a.on{
background: var(--color-background-secondary) !important;
}
/* Kill the "active underline" — selection is shown by background instead */
.rs-cat.rs-cat-dd-panel a.on::after{ display: none; }
.rs-cat.rs-cat-dd-panel .lbl{
font-size: 11.5px; font-weight: 700;
letter-spacing: .08em; text-transform: uppercase;
white-space: nowrap;
}
.rs-cat.rs-cat-dd-panel .n{
font-size: 12px; font-weight: 600;
color: var(--color-text-secondary);
background: var(--color-background-secondary);
padding: 1px 8px; border-radius: 999px;
font-variant-numeric: tabular-nums;
}
.rs-cat.rs-cat-dd-panel a:hover .n,
.rs-cat.rs-cat-dd-panel a.on .n{
background: var(--color-background-primary);
}
/* Per-category color tints stay (they target [data-cat] which is unchanged) */
@media (max-width: 600px){
/* Mobile: zero side padding too — .articles-section already provides
16px gutters via its own padding. Adding more here would push the
toolbar narrower than the cards above and below it. */
/* Mobile sticky offset already pins to top with safe-area-inset above. */
.rs-toolbar{ padding: 6px 0; gap: 8px; }
.rs-cat-dd-btn{ height: 44px; padding: 0 12px; font-size: 13px; }
.rs-cat.rs-cat-dd-panel{ min-width: 220px; }
}
/* ============================================================
Index page — clean hero + tier category bar + toolbar
Apr 29 2026 — replaces the legacy trust hero (hidden below).
The trust hero content lives on landing.html now.
============================================================ */
.legacy-trust-hero{ display: none !important; }
.ix-hero{
max-width: 1180px;
margin: 0 auto 0;
/* Direction A — Tighter Editorial (2026-05-20): top breathing room lifted
from 14px to 40px so the eyebrow stat-line sits below the nav with
editorial generosity; bottom padding bumped 4→24 to match the new
hairline-rule sources block below.
2026-05-21 — Variant A spacing trimmed back from 96/24/56 → 56/24/40.
The 96px top was set when the headline was a tight 2 lines; now that
it's back to 3 lines (taller cluster), 96px above made the empty
space between the banner and the H1 read as overshoot. 56px gives
the headline enough room without floating. */
padding: 56px 24px 40px;
text-align: center;
/* Provide a positioning context for the ambient hub & spoke background
canvas (.ix-hero-bg). overflow:hidden keeps any spokes that drift past
the edges from creating a horizontal scroll. */
position: relative;
overflow: hidden;
}
/* Ambient background animation layer.
Variant A "3 hubs" — sparse hub-and-spoke graph that gently breathes
behind the hero copy. Sits at z-index 0; all hero content is lifted to
z-index 1 so it always renders above the canvas. The canvas is purely
decorative, hence aria-hidden in the markup and pointer-events:none
here so it never intercepts clicks on the search input. */
.ix-hero-bg{
position: absolute;
inset: 0;
width: 100%;
height: 100%;
pointer-events: none;
z-index: 0;
}
.ix-hero > *:not(.ix-hero-bg){
position: relative;
z-index: 1;
}
/* Suppress the ambient layer for users who have requested reduced motion.
Mobile renders the canvas too — the JS scales hub spacing and spoke
length proportionally to hero size so it doesn't get cramped. */
@media (prefers-reduced-motion: reduce){
.ix-hero-bg{ display: none; }
}
.ix-hero .eb{ display: none; }
/* Direction A — Tighter Editorial (2026-05-20):
gap 8→12, margin-bottom 10→22 (more confident eyebrow separation),
tracking .14em→.18em on stats. Divider weight thinned, opacity .35→.5
to read as an editorial slash mark rather than a pipe. */
.ix-hero-stats{
display: inline-flex; align-items: center; gap: 12px;
color: #1F7A6B;
margin-bottom: 22px;
}
.ix-hero-stat{
font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
}
.ix-hero-stat-divider{
font-size: 11px; font-weight: 400; opacity: .5;
}
/* Direction A — Tighter Editorial (2026-05-20):
headline scale lifted 34→40 floor, 56→64 ceiling; tighter tracking
(-1.4 → -1.8) and line-height (1.08 → 1.04) gives a more confident
masthead.
2026-05-21 — max-width 14ch → 22ch. The markup now breaks after the
"supplements" span (was after "Know which"), so the first line is
"Know which supplements" (22 chars including spaces). 14ch wrapped
that first line into 2 sub-lines on desktop, producing 3 visible
lines total; 22ch fits the new first line exactly, so the headline
reads as the intended 2 lines on every viewport. */
.ix-hero h1{
/* 2026-05-22 — Desktop title is FIXED at 64px across every desktop
viewport (per user direction "fixed at 64px at all desktop scales,
only changes sizes on mobile"). Previously this was a clamp that
scaled with vw — that produced a sub-64px size at narrow-desktop
widths and looked disproportionate to the carousel beneath.
The 34px mobile override below the @media (max-width:600px) rule
is the only sub-64px size now. */
font-size: 64px;
font-weight: 700; letter-spacing: -1.8px;
line-height: 1.04; margin: 0 auto 18px;
max-width: 22ch;
color: var(--color-text-primary);
}
/* Direction A: lede 16→17 and measure 600px→56ch for a calmer rag.
Margin bumps so the search field below has more breathing room. */
.ix-hero p.lede{
font-size: 17px; color: var(--color-text-secondary);
max-width: 56ch; margin: 0 auto 28px;
line-height: 1.55;
}
.ix-sources{
/* Was 640px when the strip was a wrap-flex of inline logos. The new
5-col grid needs ~860px; bumping this wrapper to 900px gives it
room without affecting the rest of the hero centering.
Direction A — Tighter Editorial (2026-05-20): adds a hairline rule
above the sources strip so the headline cluster reads as a complete
editorial unit; the rule replaces a filled-card separator while
respecting the no-filled-callouts brand rule. */
max-width: 900px; margin: 32px auto 0;
padding: 22px 20px 6px;
border-top: 1px solid var(--color-border-soft, rgba(0,0,0,.06));
}
/* Hide the source-logos block on phones — eats vertical space and pushes
the actual list below the fold. Logos remain on tablet/desktop. */
@media (max-width: 600px){ .ix-sources{ display: none; } }
/* Direction A — Tighter Editorial (2026-05-20):
tracking .12em→.22em and size 9→9.5 nudge "Sources from" toward a
small-caps masthead feel. */
.ix-sources-label{
font-size: 9.5px; font-weight: 600; letter-spacing: .22em;
text-transform: uppercase; color: var(--color-text-tertiary);
text-align: center; margin-bottom: 16px;
}
/* ============================================================
Source-logos strip
------------------------------------------------------------
10 source marks rendered as a perfect 5×2 CSS Grid so every cell
is the same width. Each logo centers within its cell, which gives
visually-even spacing regardless of how wide each individual SVG is.
Tone is unified via `filter: brightness(0)` — this forces every
non-transparent pixel to pure black, neutralizing the original
colour palettes (WHO blue, NIH red runner, Stanford red, PubMed
blue) that previously washed out under grayscale().
Per-logo CSS height overrides compensate for each SVG's internal
padding so the *visible* glyph size is consistent across all 10
marks even though the bounding-box heights differ.
============================================================ */
.ix-sources-logos{
display: grid;
grid-template-columns: repeat(5, 1fr);
align-items: center;
justify-items: center;
/* Tight spacing per design feedback. 12px column-gap with 800px
max-width → ~150px per cell, still fits Johns Hopkins (~147px
wide at 22px height) without compressing. */
column-gap: 12px;
row-gap: 14px;
max-width: 800px;
margin: 0 auto;
}
.ix-sources-logos img{
/* Baseline height — overridden per-logo below for visual parity. */
height: 22px;
width: auto;
max-width: 100%;
/* brightness(0) → pure black silhouette (kills original colour);
opacity(0.42) → subtle mid-grey tone, lets the headline carry the
hero rather than the logo strip competing for attention. */
filter: brightness(0) opacity(0.42);
transition: filter .15s, opacity .15s;
object-fit: contain;
display: block;
}
.ix-sources-logos img:hover{
filter: brightness(0) opacity(0.72);
}
/* ------------------------------------------------------------
Per-logo height tuning.
Heights below were validated by actually rendering each SVG with
cairosvg and visually comparing — not just guessing from viewBox math.
------------------------------------------------------------
SVG chosen px why
-------------- --------- ----------------------------------------
NIH 28 figure-style mark with internal padding
The Lancet 15 small-caps fills ~95% of viewBox
Stanford 18 text fills more of viewBox than wordmarks
Everyone else 22 baseline — Cochrane / Harvard / JHU /
NEJM / FDA / PubMed / WHO all render
at compatible visible glyph heights
here. WHO's emblem + 2-line wordmark
fits the same 22px vertical footprint.
------------------------------------------------------------ */
.ix-sources-logos img[alt="NIH"]{ height: 28px; }
.ix-sources-logos img[alt="The Lancet"]{ height: 15px; }
.ix-sources-logos img[alt="Stanford"]{ height: 18px; }
/* All others use the 22px baseline. */
/* "View all 51 other sources" — spans all 5 grid columns and sits
on its own row directly under the logo grid. */
.ix-sources-logos > .ix-sources-more{
grid-column: 1 / -1;
margin-top: 4px;
}
/* Mobile: collapse to a 2-column grid so the marks stay legible
on narrow viewports rather than crushing into 5 tiny columns. */
@media (max-width: 600px){
.ix-sources-logos{
grid-template-columns: repeat(2, 1fr);
column-gap: 14px;
row-gap: 12px;
max-width: 340px;
}
}
.ix-sources-more{
font-family: inherit; font-size: 12.5px; font-weight: 400; letter-spacing: .01em;
color: var(--color-text-tertiary);
border: 0; background: transparent;
padding: 4px 14px;
display: inline-flex; align-items: center; justify-content: center; gap: 6px;
white-space: nowrap; align-self: center;
cursor: pointer;
border-bottom: 1px solid transparent;
border-radius: 0;
transition: color .15s, border-color .15s;
}
.ix-sources-more:hover{
color: var(--color-brand);
border-bottom-color: var(--color-brand);
}
.ix-sources-more-arrow{
width: 13px; height: 13px;
flex: 0 0 auto;
transform: translateY(.5px);
transition: transform .15s;
}
.ix-sources-more:hover .ix-sources-more-arrow{ transform: translate(2px, .5px); }
/* Sticky search bar */
#ix-sticky-bar{
position: fixed;
top: 90px;
left: 0; right: 0;
z-index: 14;
padding: 8px 20px 4px;
background: var(--color-background-secondary);
border-bottom: 0.5px solid var(--color-border-tertiary);
transform: translateY(-110%);
opacity: 0;
transition: transform .22s ease, opacity .22s ease;
pointer-events: none;
}
#ix-sticky-bar.visible{
transform: translateY(0);
opacity: 1;
pointer-events: auto;
}
#ix-sticky-bar[aria-hidden="false"]{ pointer-events: auto; }
.ix-search-sticky{ max-width: 560px; margin: 0 auto; }
/* MOBILE STICKY-SEARCH RULES MOVED to styles.css's mobile-sticky-header
block (search at top:48px, full-width fixed). The previous rules here
used top:36px assuming a 36px nav height — stale; the nav is 48px on
mobile now, and the consolidated block in styles.css owns this. */
/* "Filter by:" inline label — injected by initAllTab() as the first
child of the .sfbar flex row, mirroring the existing "Sort:" prefix
on the right side of the same row. Same visual weight, same color
token, same vertical alignment — so the row reads as a balanced
"Filter by [pills] … Sort: [chip]" pair. */
.sfbar-filter-by{
display: inline-flex; align-items: center; gap: 6px;
color: var(--color-text-tertiary);
font-size: 13px; font-weight: 500;
padding: 0 6px 0 2px;
white-space: nowrap;
user-select: none;
flex: 0 0 auto;
}
.sfbar-filter-by-ico{
width: 14px; height: 14px;
color: var(--color-text-tertiary);
flex: 0 0 auto;
}
@media(max-width: 560px){
/* On narrow screens the icon is enough — drop the label text to keep
the pill row from wrapping awkwardly. */
.sfbar-filter-by{ font-size: 0; padding: 0 2px; gap: 0; }
.sfbar-filter-by-ico{ width: 16px; height: 16px; }
}
/* Filter/sort sticky bar — DESKTOP ONLY rules here.
Mobile (≤600px) is handled by the consolidated mobile-sticky-header
block in styles.css (fixed-position, top:92px under nav+search).
The previous mobile override here (top:62px) conflicted with the
consolidated block and was the source of the 14px gap where content
leaked through. Removed. */
#main-sticky{
position: sticky;
top: 90px;
z-index: 12;
background: var(--color-background-secondary);
margin: 0 -1rem;
padding: 0 1rem;
width: calc(100% + 2rem);
box-sizing: border-box;
border-bottom: 0.5px solid var(--color-border-tertiary);
}
/* Sources modal */
#sources-modal{
display: none; position: fixed; inset: 0; z-index: 9999;
align-items: center; justify-content: center;
}
#sources-modal.open{ display: flex; }
.src-modal-backdrop{
position: absolute; inset: 0;
background: rgba(0,0,0,.45); backdrop-filter: blur(4px);
}
.src-modal-panel{
position: relative; z-index: 1;
background: var(--color-background-primary);
border: 0.5px solid var(--color-border-secondary);
border-radius: 16px;
width: min(680px, 94vw); max-height: 80vh;
display: flex; flex-direction: column;
box-shadow: 0 24px 60px rgba(0,0,0,.18);
}
.src-modal-head{
display: flex; align-items: center; justify-content: space-between;
padding: 18px 20px 14px; border-bottom: 0.5px solid var(--color-border-tertiary);
flex-shrink: 0;
}
.src-modal-title{
font-size: 14px; font-weight: 700; color: var(--color-text-primary);
letter-spacing: -.01em;
}
.src-modal-sub{
font-size: 11px; color: var(--color-text-tertiary); margin-top: 2px;
}
.src-modal-close{
width: 28px; height: 28px; border-radius: 50%;
border: 0.5px solid var(--color-border-secondary);
background: none; cursor: pointer;
display: flex; align-items: center; justify-content: center;
font-size: 16px; color: var(--color-text-secondary); line-height: 1;
}
.src-modal-close:hover{ background: var(--color-background-secondary); }
.src-modal-body{
overflow-y: auto; padding: 16px 20px 20px;
flex: 1;
}
.src-modal-body .src-grid{
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 6px;
}
@media(max-width: 520px){
.src-modal-body .src-grid{ grid-template-columns: repeat(2, 1fr); }
}
.ix-search{
max-width: 480px; margin: 0 auto 32px;
position: relative;
}
/* ix-ac bleed fix (2026-05-13)
------------------------------------------------------------------
The `.ix-hero > *:not(.ix-hero-bg){ z-index:1 }` rule above forces
both the search form AND the .ix-sources logo strip to z-index:1,
creating equal-rank stacking contexts. Because .ix-sources is later
in the DOM, it paints ON TOP of the form's autocomplete dropdown
even though #ix-ac is set to z-index:30 internally — the dropdown's
z-index is trapped inside the form's stacking context.
A plain `.ix-search{ z-index:5 }` rule does NOT win here:
.ix-hero > *:not(.ix-hero-bg) → specificity (0,2,0)
.ix-search → specificity (0,1,0)
so the parent rule's z-index:1 wins on specificity.
Bump specificity to (0,2,0) by scoping under .ix-hero — same as
the offending rule, with source order winning the tie. ix-sources
gets an explicit z-index:1 so the relationship is unambiguous. */
.ix-hero .ix-search{ z-index: 5; }
.ix-hero .ix-sources{ z-index: 1; }
.ix-search input{
width: 100%; padding: 12px 20px 12px 44px;
font-family: inherit; font-size: 14px;
background: var(--color-background-primary);
border: 1.5px solid var(--color-border-secondary);
color: var(--color-text-primary); outline: 0;
border-radius: 999px;
box-shadow: 0 4px 18px rgba(0,0,0,.08);
transition: border-color .15s, box-shadow .15s;
box-sizing: border-box;
}
.ix-search input:focus{
border-color: var(--color-text-primary);
box-shadow: 0 4px 24px rgba(0,0,0,.13);
}
.ix-search input::placeholder{
color: var(--color-text-tertiary);
}
.ix-search .ico{
position: absolute; left: 18px; top: 50%;
transform: translateY(-50%);
width: 16px; height: 16px;
color: var(--color-text-tertiary); pointer-events: none;
}
.ix-search #ix-ac{
border-radius: 0 0 16px 16px;
z-index: 30;
/* Defensive solidity: re-assert background-color and add a soft
drop shadow so the dropdown reads as a clearly-opaque surface
even if a stacking-context surprise lands it close to the
sources logos below. background-color (not the `background`
shorthand) is used so any future override using the shorthand
on .gs-ac doesn't accidentally wipe this. */
background-color: var(--color-background-primary);
box-shadow: 0 8px 24px -10px rgba(12, 10, 9, .18),
0 2px 6px rgba(12, 10, 9, .06);
}
.ix-search .kbd{
position: absolute; right: 18px; top: 50%;
transform: translateY(-50%);
font-family: ui-monospace, "SF Mono", Menlo, monospace;
font-size: 10px; color: var(--color-text-tertiary);
background: var(--color-background-secondary);
padding: 2px 7px; border: 0.5px solid var(--color-border-tertiary);
border-radius: 4px;
pointer-events: none;
}
.ix-cat-wrap{
max-width: 1180px;
margin: 8px auto 24px;
border-top: 0.5px solid var(--color-border-tertiary);
border-bottom: 0.5px solid var(--color-border-tertiary);
}
.ix-cat{ display: grid; grid-template-columns: repeat(6, 1fr); }
.ix-cat a{
display: flex; flex-direction: column;
align-items: center; justify-content: center;
gap: 5px; padding: 18px 6px 16px;
border-left: 0.5px solid var(--color-border-tertiary);
text-decoration: none; color: inherit;
cursor: pointer; transition: background .12s;
position: relative; background: transparent;
}
.ix-cat a:first-child{ border-left: 0; }
.ix-cat a:hover{ background: var(--color-background-primary); }
.ix-cat a.on::after{
content: ""; position: absolute;
left: 14%; right: 14%; bottom: -1px;
height: 2px; background: var(--color-text-primary);
}
.ix-cat .lbl{
font-size: 10.5px; font-weight: 700;
letter-spacing: .1em; text-transform: uppercase;
color: var(--color-text-secondary);
text-align: center; line-height: 1.2;
white-space: nowrap;
}
.ix-cat .lbl.t1{ color: var(--t1c); }
.ix-cat .lbl.t2{ color: var(--t2c); }
.ix-cat .lbl.t3{ color: var(--t3c); }
.ix-cat .lbl.t4{ color: var(--t4c); }
.ix-cat .n{
font-size: 13px; font-weight: 600;
color: var(--color-text-primary);
font-variant-numeric: tabular-nums;
}
.ix-cat a:hover .lbl{ color: var(--color-text-primary); }
@media (max-width: 900px){
.ix-cat{ grid-template-columns: repeat(3, 1fr); }
.ix-cat a{ border-left: 0.5px solid var(--color-border-tertiary); border-top: 0.5px solid var(--color-border-tertiary); }
.ix-cat a:nth-child(3n+1){ border-left: 0; }
.ix-cat a:nth-child(-n+3){ border-top: 0; }
}
@media (max-width: 600px){
.ix-hero{ padding: 20px 18px 10px; }
.ix-hero p.lede{ margin-bottom: 8px; } /* search form hidden on mobile — reclaim orphan gap */
}
.sfbar-row{display:flex;flex-direction:column;align-items:stretch;gap:4px;}
.sfbar-row .sfbar{flex:1;margin:0;padding:8px 0;min-width:0;}
/* 2026-05-22 — V3 label treatment: "Search supplements by" sits above
the filter row in brand green with a trailing hairline rule at .35
opacity. Mirrors the mockup in mockup-search-by-final-v3-green.html.
Hairline acts as a quiet section divider; the label colour matches
so they read as one unit. */
.sfbar-label{
display:flex;
align-items:center;
gap:10px;
font-size:11px;
font-weight:700;
letter-spacing:.18em;
text-transform:uppercase;
color:var(--color-brand);
padding:6px 4px 0;
/* 2026-05-22 — Cap label width so the trailing hairline ends at the
right edge of the 3rd button (Symptom), not at the Articles button.
With 4 equal flex columns + 8px gap, the right edge of button 3 sits
at calc(75% - 2px) of the row width:
3 * ((W - 3*8) / 4) + 2*8 = (3W - 8) / 4 = 0.75W - 2px
This visually de-couples the "Search supplements by" caption from
the Articles button (which is a different kind of action). */
max-width:calc(75% - 2px);
}
.sfbar-label::after{
content:'';
flex:1;
height:1px;
background:var(--color-brand);
opacity:.35;
}
@media(max-width:600px){
/* Mobile: keep the desktop "3 of 4" cap (calc(75% - 2px)) so the hairline
stops at the right edge of the 3rd button (Symptom) and doesn't run
into the 4th (Research). The previous max-width:none override assumed
a 2-col mobile grid that no longer applies — .sfbar is repeat(4, 1fr)
at every viewport. Override removed 2026-05-24. */
.sfbar-label{font-size:10px;letter-spacing:.16em;padding:4px 2px 0;}
}
/* Sort chip lives INSIDE .sfbar (injected by initAllTab) so it shares the
same flex-wrap row as Goal / Age & Sex / Symptom on every viewport.
margin-left:auto pushes it to the right end of whatever wrap row it lands on. */
.sfbar .sort-chip-wrap{margin-left:auto;}
/* The "Sort:" prefix is rendered in tertiary color inside the chip to
telegraph its purpose without needing a separate floating label. */
.sort-chip .sort-pre{color:var(--color-text-tertiary);margin-right:2px;}
.sort-chip .sort-lbl{color:var(--color-text-primary);}
@media(max-width:560px){
/* Style D block buttons: each .cdd fills an equal share of the row */
.sfbar .cdd{flex:1 1 0;min-width:0;}
.sfbar .cdd-btn{flex:none;width:100%;}
}
@media(max-width:380px){
.sfbar .cdd-btn{padding:8px 4px !important;font-size:10px;}
.sfbar .cdd-lbl{font-size:10px;}
}
/* Anchor the sort menu to the right edge so it doesn't overflow the viewport
when the chip sits at the right of the row */
#sort-dd-menu{left:auto;right:0;}
.ix-toolbar{
max-width: 1180px;
margin: 0 auto 14px;
padding: 0 24px;
display: flex; justify-content: space-between;
align-items: center; flex-wrap: wrap; gap: 12px;
font-size: 12px; color: var(--color-text-tertiary);
}
.ix-toolbar .left b{ color: var(--color-text-primary); font-weight: 600; }
.ix-toolbar .right{ display: flex; align-items: center; gap: 8px; }
.ix-toolbar select{
border: 0; background: transparent; font-family: inherit;
font-size: 12px; color: var(--color-text-primary);
font-weight: 600; cursor: pointer;
}
/* ============================================================
Articles search — typeahead between category bar and list
============================================================ */
.rs-search-wrap{
max-width:1180px;margin:18px auto 22px;padding:0 24px;
}
.rs-search{
position:relative;
background:var(--color-background-primary);
border:1px solid var(--color-border-tertiary);
border-radius:12px;
display:flex;align-items:center;gap:10px;
padding:0 14px;height:46px;
transition:border-color .15s,box-shadow .15s;
}
.rs-search:focus-within{
border-color:var(--color-brand);
box-shadow:0 0 0 3px rgba(31,122,107,.12);
}
.rs-search-ico{color:var(--color-text-tertiary);flex-shrink:0}
.rs-search:focus-within .rs-search-ico{color:var(--color-brand)}
#rs-search-input{
flex:1;border:0;outline:0;background:transparent;
font-family:inherit;font-size:14px;color:var(--color-text-primary);
font-weight:500;letter-spacing:0;height:100%;
padding:0;min-width:0;
-webkit-appearance:none;appearance:none;
}
#rs-search-input::placeholder{color:var(--color-text-tertiary);font-weight:500}
#rs-search-input::-webkit-search-cancel-button{display:none}
/* Typeahead dropdown */
.rs-search-ac{
position:absolute;top:calc(100% + 6px);left:0;right:0;
background:var(--color-background-primary);
border:1px solid var(--color-border-secondary);
border-radius:12px;
box-shadow:0 12px 36px rgba(15,23,22,.12),0 4px 10px rgba(15,23,22,.06);
max-height:420px;overflow-y:auto;z-index:60;
padding:6px;
}
.rs-search-ac[hidden]{display:none}
.rs-ac-item{
display:flex;align-items:flex-start;gap:12px;
padding:10px 12px;border-radius:8px;cursor:pointer;
text-decoration:none;color:inherit;
transition:background .12s;
}
.rs-ac-item:hover,
.rs-ac-item.active{background:var(--color-background-secondary)}
.rs-ac-cat{
font-family:'Mona Sans',var(--font-display,inherit);
font-size:9.5px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;
flex-shrink:0;width:88px;padding-top:3px;
}
.rs-ac-cat[data-cat="guide"]{color:var(--t2c,#5b6cad)}
.rs-ac-cat[data-cat="breakthrough"]{color:var(--t1c,#1F7A6B)}
.rs-ac-cat[data-cat="myth"]{color:var(--gold,#C99A3F)}
.rs-ac-cat[data-cat="safety"]{color:var(--red,#B14F3D)}
.rs-ac-cat[data-cat="kids"]{color:var(--color-brand)}
.rs-ac-body{flex:1;min-width:0}
.rs-ac-title{
font-size:13.5px;font-weight:600;line-height:1.35;color:var(--color-text-primary);
letter-spacing:-0.005em;
overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;
}
.rs-ac-title mark{
background:rgba(31,122,107,.16);color:var(--color-brand);font-weight:700;border-radius:3px;padding:0 2px;
}
.rs-ac-meta{font-size:11px;color:var(--color-text-tertiary);margin-top:3px;font-weight:500}
.rs-ac-empty{
padding:18px 14px;font-size:13px;color:var(--color-text-tertiary);text-align:center;
}
@media(max-width:680px){
.rs-search-wrap{padding:0 16px;margin:14px auto 18px}
.rs-ac-cat{width:auto;font-size:9px;padding-right:10px}
.rs-ac-title{font-size:13px}
}
/* ===== Block 2 (from line 1080, 76 lines) ===== */
/* ============================================================
About — uses shared design tokens from styles.css
============================================================ */
/* About hero — centered to match the Index page hero. The eyebrow, h1,
lede paragraph, and 4-stat row all center-align so navigating between
tabs feels visually consistent (Index → About no longer reads as a
layout-shift). */
.abt-hero{max-width:1180px;margin:0 auto;padding:32px 24px 28px;border-bottom:0.5px solid var(--color-border-tertiary);text-align:center}
.abt-eyebrow{font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--color-brand);display:block;margin-bottom:14px}
.abt-hero h1{font-size:clamp(30px,5vw,50px);font-weight:700;letter-spacing:-1.4px;line-height:1.08;margin:0 0 14px;color:var(--color-text-primary)}
.abt-hero .lede{font-size:15px;color:var(--color-text-secondary);max-width:680px;line-height:1.65;margin:0 auto 28px}
.abt-stats{display:grid;grid-template-columns:repeat(4,1fr);border-top:0.5px solid var(--color-border-tertiary);padding-top:22px;text-align:center}
.abt-stat{padding:0 16px;border-right:0.5px solid var(--color-border-tertiary)}
.abt-stat:last-child{border-right:0;padding-right:0}
.abt-stat .num{font-size:34px;font-weight:700;letter-spacing:-1.5px;line-height:1;color:var(--color-brand);font-variant-numeric:tabular-nums}
.abt-stat .lbl{font-size:12px;color:var(--color-text-secondary);margin-top:5px}
@media(max-width:820px){.abt-hero{padding:24px 18px 20px}.abt-hero h1{font-size:28px}.abt-stats{grid-template-columns:repeat(2,1fr);gap:18px 0}.abt-stat{padding:0 0 18px;border-right:0;border-bottom:0.5px solid var(--color-border-tertiary)}.abt-stat:nth-child(3),.abt-stat:nth-child(4){border-bottom:0;padding-bottom:0}}
.abt-sec{max-width:1180px;margin:0 auto;padding:40px 24px;border-bottom:0.5px solid var(--color-border-tertiary)}
.abt-sec h2{font-size:clamp(22px,3vw,30px);font-weight:700;letter-spacing:-.8px;line-height:1.1;margin:0 0 6px;color:var(--color-text-primary)}
.abt-sec-sub{font-size:14px;color:var(--color-text-secondary);margin:0 0 20px;line-height:1.5}
@media(max-width:600px){.abt-sec{padding:28px 18px}}
.abt-tiers{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.abt-tier{background:var(--color-background-primary);border:0.5px solid var(--color-border-tertiary);border-radius:14px;padding:18px;border-top-width:2px;border-top-style:solid}
.abt-tier.t1{border-top-color:var(--t1c)}.abt-tier.t2{border-top-color:var(--t2c)}.abt-tier.t3{border-top-color:var(--t3c)}.abt-tier.t4{border-top-color:var(--t4c)}
.abt-tier .tn{font-size:10.5px;font-weight:800;letter-spacing:.1em;margin-bottom:10px}
.abt-tier.t1 .tn{color:var(--t1c)}.abt-tier.t2 .tn{color:var(--t2c)}.abt-tier.t3 .tn{color:var(--t3c)}.abt-tier.t4 .tn{color:var(--t4c)}
.abt-tier .tname{font-size:14px;font-weight:700;color:var(--color-text-primary);margin-bottom:8px;letter-spacing:-.2px}
.abt-tier .tdesc{font-size:12.5px;color:var(--color-text-secondary);line-height:1.55}
.abt-tier .tpill{display:inline-block;font-size:10px;font-weight:700;padding:3px 9px;border-radius:999px;margin-top:12px;letter-spacing:.03em}
.abt-tier.t1 .tpill{background:var(--t1bg);color:var(--t1tx)}.abt-tier.t2 .tpill{background:var(--t2bg);color:var(--t2tx)}.abt-tier.t3 .tpill{background:var(--t3bg);color:var(--t3tx)}.abt-tier.t4 .tpill{background:var(--t4bg);color:var(--t4tx)}
@media(max-width:820px){.abt-tiers{grid-template-columns:repeat(2,1fr)}}
.abt-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.abt-step{background:var(--color-background-primary);border:0.5px solid var(--color-border-tertiary);border-radius:14px;padding:18px}
.abt-step .sicon{width:34px;height:34px;border-radius:9px;display:flex;align-items:center;justify-content:center;color:#fff;margin-bottom:12px}
.abt-step .sn{font-size:10px;font-weight:800;color:var(--color-text-tertiary);letter-spacing:.12em;text-transform:uppercase;margin-bottom:5px}
.abt-step .st{font-size:14px;font-weight:700;color:var(--color-text-primary);letter-spacing:-.2px;margin-bottom:8px}
.abt-step .sstatus{display:inline-block;padding:2px 8px;border-radius:999px;font-size:10px;font-weight:700;letter-spacing:.03em;margin-bottom:10px}
.abt-step .sstatus.done{background:var(--t1bg);color:var(--t1tx)}.abt-step .sstatus.plan{background:var(--t3bg);color:var(--t3tx)}
.abt-step .sd{font-size:12.5px;color:var(--color-text-secondary);line-height:1.55}
@media(max-width:820px){.abt-steps{grid-template-columns:repeat(2,1fr)}}
.abt-road{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.abt-road-card{background:var(--color-background-primary);border:0.5px solid var(--color-border-tertiary);border-radius:14px;padding:20px}
.abt-road-num{font-size:26px;font-weight:700;letter-spacing:-1px;line-height:1;font-variant-numeric:tabular-nums;margin-bottom:10px;color:var(--color-text-tertiary)}
.abt-road-card.s1 .abt-road-num{color:var(--t1c)}.abt-road-card.s2 .abt-road-num{color:var(--t2c)}.abt-road-card.s3 .abt-road-num{color:var(--t3c)}
.abt-road-badge{display:inline-flex;align-items:center;gap:5px;font-size:10px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;padding:3px 9px;border-radius:999px;margin-bottom:12px}
.abt-road-card.s1 .abt-road-badge{background:var(--t1bg);color:var(--t1tx)}.abt-road-card.s2 .abt-road-badge{background:var(--t2bg);color:var(--t2tx)}.abt-road-card.s3 .abt-road-badge{background:var(--t3bg);color:var(--t3tx)}.abt-road-card.s4 .abt-road-badge{background:var(--color-background-secondary);color:var(--color-text-tertiary)}
.abt-road-title{font-size:14px;font-weight:700;color:var(--color-text-primary);letter-spacing:-.2px;margin-bottom:8px;line-height:1.3}
.abt-road-desc{font-size:12.5px;color:var(--color-text-secondary);line-height:1.6}
@media(max-width:820px){.abt-road{grid-template-columns:repeat(2,1fr)}}
.abt-sec .src-cat-grid{grid-template-columns:repeat(3,1fr);gap:4px 20px}
.abt-sec .src-cat-grid .src-il{width:20px;height:20px;opacity:.5}
@media(max-width:820px){.abt-sec .src-cat-grid{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.abt-sec .src-cat-grid{grid-template-columns:1fr}}
.abt-mission{display:grid;grid-template-columns:1.2fr 1fr;gap:40px;align-items:start;max-width:1180px;margin:0 auto;padding:40px 24px}
.abt-mission-text h2{font-size:clamp(22px,3vw,30px);font-weight:700;letter-spacing:-.8px;margin:0 0 14px;color:var(--color-text-primary)}
.abt-mission-text p{font-size:13.5px;line-height:1.65;color:var(--color-text-secondary);margin:0 0 10px}
.abt-mission-text p:last-child{margin-bottom:0}
.abt-mission-text p b{color:var(--color-text-primary)}
.abt-pullstat{background:var(--color-background-primary);border:0.5px solid var(--color-border-tertiary);border-radius:14px;padding:20px 22px;margin-bottom:10px}
.abt-pullstat .pn{font-size:38px;font-weight:700;letter-spacing:-2px;line-height:1;color:var(--color-brand);font-variant-numeric:tabular-nums;margin-bottom:5px}
.abt-pullstat .pl{font-size:12.5px;color:var(--color-text-secondary);line-height:1.5}
.abt-values{list-style:none;padding:0;margin:0;background:var(--color-background-primary);border:0.5px solid var(--color-border-tertiary);border-radius:14px;overflow:hidden}
.abt-value-item{display:flex;gap:12px;padding:13px 18px;border-bottom:0.5px solid var(--color-border-tertiary);align-items:center}
.abt-value-item:last-child{border-bottom:0}
.abt-value-icon{width:30px;height:30px;border-radius:8px;background:color-mix(in srgb,var(--color-brand) 10%,transparent);display:flex;align-items:center;justify-content:center;flex-shrink:0;color:var(--color-brand)}
.abt-value-title{font-size:13px;font-weight:700;color:var(--color-text-primary);margin-bottom:2px}
.abt-value-desc{font-size:12px;color:var(--color-text-secondary);line-height:1.5}
@media(max-width:820px){.abt-mission{grid-template-columns:1fr;gap:20px;padding:28px 18px}}
.abt-disc{background:var(--color-background-primary);border:0.5px solid var(--color-border-tertiary);border-left:3px solid var(--t4c);border-radius:14px;padding:22px 26px}
.abt-disc-head{display:flex;align-items:flex-start;gap:14px;padding-bottom:16px;margin-bottom:16px;border-bottom:0.5px solid var(--color-border-tertiary)}
.abt-disc-icon{width:32px;height:32px;border-radius:8px;background:var(--t4bg);color:var(--t4tx);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.abt-disc-kicker{font-size:10px;font-weight:800;color:var(--t4c);letter-spacing:.15em;text-transform:uppercase;margin-bottom:3px}
.abt-disc h3{font-size:16px;font-weight:700;color:var(--color-text-primary);margin:0;letter-spacing:-.2px}
.abt-disc-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px 28px}
.abt-disc-item{position:relative;padding-left:16px;font-size:12.5px;line-height:1.6;color:var(--color-text-secondary)}
.abt-disc-item::before{content:"";position:absolute;left:0;top:7px;width:6px;height:6px;border-radius:50%;background:var(--t4c)}
.abt-disc-item b{color:var(--color-text-primary);font-weight:700}
.abt-disc-item.full{grid-column:1/-1;padding:12px 16px;background:var(--t4bg);border-radius:8px}
.abt-disc-item.full::before{top:19px;left:6px}
@media(max-width:820px){.abt-disc-grid{grid-template-columns:1fr}.abt-disc{padding:18px 20px}}
/* ===== Block 3 (from line 1412, 20 lines) ===== */
.disc-c-wrap{max-width:1180px;margin:0 auto 24px;padding:0 24px}
@media(max-width:600px){.disc-c-wrap{padding:0 18px}}
.disc-c-header{display:flex;align-items:center;gap:14px;margin-bottom:14px}
.disc-c-icon-box{width:40px;height:40px;border-radius:10px;background:#B91C1C;display:flex;align-items:center;justify-content:center;flex-shrink:0;box-shadow:0 3px 10px rgba(185,28,28,.25)}
.disc-c-icon-box svg{color:#fff}
.disc-c-eyebrow{font-size:9.5px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:#B91C1C;margin-bottom:3px}
.disc-c-headline{font-size:16px;font-weight:800;color:var(--color-text-primary);line-height:1.2}
.disc-c-divider{height:1px;background:rgba(185,28,28,.15);margin-bottom:14px}
.disc-c-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:10px}
.disc-c-card{background:var(--color-background-primary);border:1px solid var(--color-border-tertiary);border-radius:10px;padding:14px;display:flex;flex-direction:column;gap:8px}
.disc-c-card-icon{width:28px;height:28px;border-radius:7px;background:rgba(185,28,28,.08);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.disc-c-card-icon svg{color:#B91C1C}
.disc-c-card-title{font-size:11px;font-weight:700;color:var(--color-text-primary);line-height:1.3}
.disc-c-card-text{font-size:10.5px;color:var(--color-text-secondary);line-height:1.55}
.disc-c-card-text b{color:var(--color-text-primary);font-weight:700}
.disc-c-footer{background:rgba(185,28,28,.05);border:1px solid rgba(185,28,28,.15);border-radius:10px;padding:12px 16px;display:flex;align-items:flex-start;gap:10px;font-size:12px;color:var(--color-text-secondary);line-height:1.6}
.disc-c-footer-icon{width:24px;height:24px;border-radius:6px;background:#B91C1C;display:flex;align-items:center;justify-content:center;flex-shrink:0;margin-top:1px}
.disc-c-footer-icon svg{color:#fff}
.disc-c-footer b{color:var(--color-text-primary)}
@media(max-width:640px){.disc-c-grid{grid-template-columns:1fr 1fr}}
@media(max-width:400px){.disc-c-grid{grid-template-columns:1fr}}
/* ===== Block 4 (from line 5643, 22 lines) ===== */
.rc-chart{margin:1.9rem 0;background:linear-gradient(135deg,#fafafa 0%,#f9f5ff 100%);border:1px solid #e9e5f2;border-radius:14px;padding:20px 22px 18px 26px;position:relative;overflow:hidden}
.rc-chart::before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:linear-gradient(180deg,#1F7A6B 0%,#B91C1C 100%)}
.rc-chart-k{font-size:10.5px;font-weight:800;text-transform:uppercase;letter-spacing:.14em;color:#1F7A6B;margin-bottom:4px;display:flex;align-items:center;gap:7px}
.rc-chart-k::before{content:"";width:6px;height:6px;border-radius:50%;background:#1F7A6B}