/*
 RIBHLAB VIVA — an original energetic, editorial-first digital magazine.
 Vivid accessible palette, content-aware color, smart browsing.
 Layered after editorial-theme.css; feature modules stay untouched.
*/
:root{
 --navy:#24206c;
 --dark:#171333;
 --ink:#1b2440;
 --muted:#5c667e;
 --accent:#6543ff;
 --teal:#087ac8;
 --paper:#f8f9ff;
 --sand:#f0f1ff;
 --border:#dfe5f4;
 --radius:20px;
 --shadow:0 16px 48px rgba(63,45,138,.10);
 --v-purple:#6543ff;
 --v-violet:#8a55ff;
 --v-blue:#326dff;
 --v-cyan:#00b7d9;
 --v-coral:#ff6475;
 --v-orange:#ff9254;
 --v-lime:#d8fa64;
 --v-ink:#1b2440;
 --v-sub:#5b657a;
 --v-surface:#fff;
 --v-paper:#f8f9ff;
 --v-stroke:#e4e7f4;
 --editorial-sans:"Outfit","DM Sans",system-ui,sans-serif;
 --editorial-display:"Space Grotesk","Outfit",system-ui,sans-serif;
 --editorial-ar:"IBM Plex Sans Arabic",Tahoma,system-ui,sans-serif;
}
html{background:var(--v-paper)}
body{background:var(--v-paper);color:var(--v-ink);font-family:var(--editorial-sans)}
html[lang=ar] body{font-family:var(--editorial-ar)}
::selection{background:#c6c0ff;color:#1b1259}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--v-coral);outline-offset:4px}
.shell{max-width:1340px}
.topbar{background:linear-gradient(110deg,#24126e,#553bdb 62%,#2079ec);color:#fff;height:36px;letter-spacing:.06em}
.topbar-dot{width:8px;height:8px;background:var(--v-lime);box-shadow:0 0 14px #dcff82;border-radius:50%}
.topbar-end{color:#e2e1ff;letter-spacing:.1em}
.header{background:rgba(255,255,255,.965);border-bottom:1px solid #e9eafa;backdrop-filter:blur(20px);box-shadow:0 9px 30px rgba(48,32,118,.05)}
.nav-inner{min-height:80px}
.brand-symbol{background:linear-gradient(145deg,#4b37f1 5%,#9570ff 70%,#ff7276);width:48px;height:48px;border-radius:15px;box-shadow:4px 5px 0 #d8fa64;color:white;font-family:var(--editorial-display)}
.brand-symbol span{color:#e0ff81}
.brand-copy strong{font-family:var(--editorial-display);font-size:26px;color:#211b55;font-weight:800;letter-spacing:-.07em}
.brand-copy small{color:#666b92;font-size:10px}
.nav-links a{font-family:var(--editorial-sans);font-size:12.5px;color:#3f496f;padding-block:27px;border-radius:3px}
html[lang=ar] .nav-links a{font-family:var(--editorial-ar);font-size:12px;font-weight:750}
.nav-links a:hover,.nav-links .nav-current{color:#5939ec}
.nav-links .nav-current{box-shadow:inset 0 -3px 0 #744eff}
.nav-actions .icon-button{background:#f1f3ff;color:#5740da;border:1px solid #e2e4ff;border-radius:13px;min-height:42px;min-width:42px}
.nav-actions .icon-button:hover{background:#e6e1ff}
.lang-menu{background:#f2f1ff;border:1px solid #e4e1ff;border-radius:11px}
.lang-menu a{color:#635e8e;border-radius:8px}
.lang-menu a.selected{background:#6041ef;color:white;border-radius:8px}
.btn{border-radius:12px;min-height:47px;font-weight:750;transition:transform .2s ease,box-shadow .2s ease,background .2s ease}
.btn-primary{border:0;background:linear-gradient(115deg,#5a39f1,#8b55fa);box-shadow:0 8px 22px #6543ff30;color:#fff}
.btn-primary:hover{background:linear-gradient(115deg,#4930db,#7441df);box-shadow:0 10px 26px #6543ff52;color:#fff;transform:translateY(-2px)}
.btn-outline{border:1px solid #bbb9f6;background:#fff;color:#4932c6}
.btn-outline:hover{background:#eeecff;color:#4030b5;border-color:#8472eb}
.btn-neutral{background:#eeefff;color:#4732a0;border:1px solid #dadbfa}
.btn-light{background:#d8fa64;color:#1b2150}
.btn-light:hover{background:#c4ef46}
.section-kicker,.eyebrow{font-family:var(--editorial-sans);color:#6d4fe6;letter-spacing:.115em;font-weight:800}
.text-link{color:#5d41ed;font-weight:800}
.text-link:hover{color:#ec546e}
.page-hero,.article-hero{background:radial-gradient(circle at 92% 3%,#ffd5e1 0%,transparent 34%),radial-gradient(circle at 12% 90%,#d5e3ff 0%,transparent 35%),linear-gradient(130deg,#f3efff,#f9faff 66%,#effbff);border-bottom:1px solid #e6e4fa}
.page-hero h1,.article-hero h1{color:#221a5a;font-family:var(--editorial-display);font-weight:800;letter-spacing:-.06em}
.page-hero p,.article-hero-heading>p{color:#515d76}
.breadcrumbs{color:#6a5eb6}
.breadcrumbs a:hover{color:#583bdb}
.article-category-tag{background:#ebe5ff;border:1px solid #dcd4ff;color:#6543ff;border-radius:24px}
.count-chip{color:#6944fa}
.cat-page-icon{border-radius:20px;background:#e8e3ff;color:#653ef7}
.article-byline strong{color:#352280}
.editor-avatar{background:linear-gradient(120deg,#6543ff,#fc6481);color:#fff;border-radius:13px}
.section{padding-block:74px}
.section-sand{background:linear-gradient(140deg,#eef2ff,#faf7ff 57%,#f2fcff)}
.section-head{border-top:0;padding-top:0}
.section-head h2,.method-heading h2,.tools-banner h2{font-family:var(--editorial-display);font-weight:800;letter-spacing:-.05em;color:#251c65}
.section-head h2{display:inline-block}
.section-head p{color:#68728d}
.section-head .section-kicker::before{content:"";display:inline-block;width:18px;height:7px;background:linear-gradient(90deg,#7347fd,#ff6d81);border-radius:20px;margin-inline-end:9px;vertical-align:middle}

/* High-impact hero: joyful editorial design with real image, not synthetic stock. */
.hero{position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse 48% 75% at 104% -5%,#f18df085,transparent 85%),radial-gradient(ellipse 45% 65% at -8% 95%,#00cbe77d,transparent 80%),linear-gradient(112deg,#24126d 0%,#4b34d8 50%,#7752fb 100%);color:white}
.hero::before{content:"";position:absolute;width:220px;height:220px;top:8%;left:44%;border-radius:50%;border:1px solid #ffffff25;box-shadow:0 0 0 40px #ffffff0b,0 0 0 80px #ffffff06;pointer-events:none;z-index:-1}
.hero::after{content:"";display:block;position:absolute;right:-85px;bottom:17%;width:250px;height:250px;border-radius:50%;background:#ff84a73f;filter:blur(36px);pointer-events:none;z-index:-1}
.magazine-masthead{border-bottom:1px solid #ffffff42;padding-block:18px}
.magazine-masthead-left{color:#fff;font-family:var(--editorial-sans);font-weight:850;letter-spacing:.18em}
.magazine-masthead-right{color:#e7e1ff}
.magazine-masthead-right span{color:var(--v-lime)}
.hero-grid{min-height:605px;padding-block:57px 79px;gap:clamp(32px,5vw,75px)}
.hero-copy{position:relative}
.hero-copy .eyebrow{color:#d9ff8b;font-weight:750;letter-spacing:.13em}
.eyebrow-line{background:var(--v-lime);height:2px}
.hero-copy h1{color:#fff;font-family:var(--editorial-display);font-size:clamp(50px,5.2vw,82px);font-weight:800;letter-spacing:-.065em;line-height:1.04;text-shadow:0 2px 22px #2c1a8030}
.hero-copy h1 em{color:#e0ff87;font-style:normal}
.hero-copy>p{color:#f0ecff;font-size:16px;max-width:580px;line-height:1.85}
.hero-copy .btn-primary{background:var(--v-lime);color:#25125f;box-shadow:0 10px 26px #1f0e5850}
.hero-copy .btn-primary:hover{background:#efffa6;color:#27155a}
.hero-copy .btn-outline{border:1px solid #ffffff80;color:#fff;background:#ffffff16}
.hero-copy .btn-outline:hover{background:#ffffff2a}
.hero-trust{color:#f0edff}
.hero-trust i{color:var(--v-lime)}
.hero-bottom-line{height:5px;background:linear-gradient(90deg,#00c8ef 0%,#ddfb78 30%,#ff9f70 62%,#ff6ca1 100%)}
.hero-editorial-cover{border-radius:24px;background:#fff;box-shadow:0 32px 80px rgba(15,10,65,.38);transform:rotate(-1.2deg);border:5px solid #ffffff50;max-width:570px;overflow:hidden}
.hero-editorial-cover:hover{transform:rotate(0deg) translateY(-5px);box-shadow:0 38px 93px rgba(10,8,65,.40)}
.hero-photo-wrap{aspect-ratio:1.53/1;background:#9991d7}
.hero-photo-wrap img{filter:saturate(1.09)}
.hero-photo-number{background:rgba(33,23,109,.82);border:1px solid #fff4;color:#fff;border-radius:13px;padding:8px 12px}
.hero-cover-caption{background:#fff;padding:25px 27px 27px}
.hero-cover-kicker{color:#7053d8;font-weight:800;font-size:10px}
.hero-cover-caption h2{color:#221a50;font-weight:800;font-family:var(--editorial-display);line-height:1.24;font-size:clamp(23px,2.3vw,33px)}
.hero-cover-cta{border-color:#e9e5fb;color:#5e42d4;font-size:12px}
html[lang=ar] .hero-copy h1{font-family:var(--editorial-ar);font-size:clamp(38px,4.5vw,66px);font-weight:800;line-height:1.5}
html[lang=ar] .hero-cover-caption h2{font-family:var(--editorial-ar);color:#231a5a;line-height:1.65;font-weight:800}
.magazine-topic-rail{background:#fff;border-bottom:1px solid #e3e6f9;box-shadow:0 7px 23px #3024790c;color:#2f285a}
.magazine-topic-rail-inner{min-height:83px}
.magazine-rail-label{color:#6650c5;font-weight:800}
.magazine-rail-links{gap:9px}
.magazine-rail-links a{color:#3c337b;border:1px solid #e6e2ff;background:#f4f1ff;border-radius:25px;font-weight:750;padding:9px 15px}
.magazine-rail-links a:hover{background:#e4dfff;color:#5939e1;border-color:#aea0ff}
.magazine-rail-links a:nth-child(2){background:#e7f9ff;border-color:#bceaf8;color:#087caa}
.magazine-rail-links a:nth-child(3){background:#fff1f4;border-color:#ffd4de;color:#ad3862}
.magazine-rail-links a:nth-child(4){background:#e9eaff;border-color:#cbc9ff;color:#4d3ed1}
.magazine-rail-links a:nth-child(5){background:#eeebff;color:#683cdf}
.magazine-rail-links a:nth-child(6){background:#f2ffe2;border-color:#daefb2;color:#49711c}

/* Intelligent story filters show real existing category tags; no extra copies. */
.smart-story-filters{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin:-6px 0 26px}
.smart-filter-chip{appearance:none;display:inline-flex;align-items:center;gap:8px;background:#fff;color:#4d5577;border:1px solid #dfe3f5;border-radius:999px;padding:9px 15px;min-height:42px;font:700 12px/1.45 var(--editorial-sans);transition:background .18s,transform .18s,border-color .18s;box-shadow:0 4px 14px rgba(46,43,100,.025)}
html[lang=ar] .smart-filter-chip{font-family:var(--editorial-ar);font-weight:750}
.smart-filter-chip:hover{background:#f2efff;border-color:#ada1f8;transform:translateY(-1px)}
.smart-filter-chip[aria-pressed=true]{background:#5640d7;color:#fff;border-color:#5640d7;box-shadow:0 8px 18px #5a42dd22}
.filter-chip-dot{width:8px;height:8px;background:#8e79ff;border-radius:50%;flex:none}
.smart-filter-chip[data-story-filter=all] .filter-chip-dot{background:#ff879d}
.smart-filter-chip[data-story-filter=earning] .filter-chip-dot{background:#ff6f8a}
.smart-filter-chip[data-story-filter=trading] .filter-chip-dot{background:#23c5d9}
.smart-filter-chip[data-story-filter=ai] .filter-chip-dot{background:#9d6cff}
.smart-filter-chip[data-story-filter=lifestyle] .filter-chip-dot{background:#90c72f}
.smart-filter-chip[aria-pressed=true] .filter-chip-dot{background:var(--v-lime)}
.article-card[hidden],.archive-group[hidden]{display:none!important}
.latest-first{background:transparent}
.latest-first .article-grid{align-items:stretch}
.latest-first .article-card:first-child{background:#fff;box-shadow:0 20px 40px #503ba012}
.latest-first .article-card:first-child .card-body h3{color:#201a56}
.article-card{--story-tone:#6d4ffe;position:relative;border-radius:20px;background:white;border:1px solid #e9e9f5;box-shadow:0 10px 30px rgba(47,45,103,.045);overflow:hidden}
.article-card[data-story-topic=earning]{--story-tone:#f35678}
.article-card[data-story-topic=trading]{--story-tone:#008fb5}
.article-card[data-story-topic=ai]{--story-tone:#7650f7}
.article-card[data-story-topic=lifestyle]{--story-tone:#69a52d}
.article-card::before{content:"";position:absolute;z-index:3;top:0;inset-inline-start:0;height:5px;width:68px;border-start-start-radius:20px;border-end-end-radius:10px;background:var(--story-tone)}
.article-card:hover{box-shadow:0 24px 52px #4b3b9c1b;transform:translateY(-5px);border-color:#d8d3f2}
.card-art{background:#e7e6ff}
.card-art:after{background:linear-gradient(180deg,#0000 56%,#1c145a75 100%)}
.card-art-label{color:#3d2c8e;background:#ffffffeb;border:1px solid #ffffffbd;border-radius:12px;box-shadow:0 6px 14px #20194c14}
.card-art-corner{color:#5438e7;background:#fff;border-radius:13px;width:34px;height:34px}
.card-body{color:#26315a}
.card-body h3{font-family:var(--editorial-display);color:#272257;font-weight:800;font-size:clamp(21px,1.85vw,27px);line-height:1.24}
.card-body p{color:#69718a}
.card-meta{display:flex;gap:7px 12px;flex-wrap:wrap;align-items:center;color:#787e98;font-family:var(--editorial-sans)}
.card-meta .category-kicker{color:var(--story-tone);font-weight:800}
.card-reading-estimate{color:#6c6d95;font-size:10px;white-space:nowrap}
.read-more{color:var(--story-tone);border-color:#e8e7f7;font-weight:800}
html[lang=ar] .card-body h3{font-family:var(--editorial-ar);font-weight:800;line-height:1.55}
.section-head.split{gap:18px}
.section-head .text-link{color:#6543ff}


/* Smart filters retain an intentional asymmetric editorial lead, even when the
   newest overall story belongs to a different category. */
.latest-first .article-grid[data-filtered=true] .article-card:first-child{
 grid-column:span 4;
 grid-row:auto;
}
.latest-first .article-grid[data-filtered=true] .article-card:first-child .card-art{
 height:186px;min-height:0;flex:none;
}
.latest-first .article-grid[data-filtered=true] .article-card:first-child .card-body{
 min-height:185px;padding:19px 21px 21px;
}
.latest-first .article-grid[data-filtered=true] .article-card:first-child .card-body h3{font-size:23px}
.latest-first .article-grid[data-filtered=true] .article-card.is-filter-lead{
 grid-column:span 8;
 grid-row:span 2;
 border-color:#cac4fb;
 background:linear-gradient(135deg,#fff,#f9f7ff);
}
.latest-first .article-grid[data-filtered=true] .article-card.is-filter-lead .card-art{
 min-height:350px;height:auto;flex:1;
}
.latest-first .article-grid[data-filtered=true] .article-card.is-filter-lead .card-body{
 min-height:190px;padding:29px 34px 32px;
}
.latest-first .article-grid[data-filtered=true] .article-card.is-filter-lead .card-body h3{
 font-size:clamp(29px,3.1vw,44px);line-height:1.17;
}
.toc-card a[aria-current=location]{font-weight:850;color:#5940e6;background:#f1efff;border-radius:7px}

/* Strong, memorable editorial topic tiles with category-specific color. */
.category-grid{gap:17px}
.topic-card{border:0;border-radius:21px;box-shadow:0 14px 35px #44367d14;min-height:345px;padding:29px;position:relative;isolation:isolate;overflow:hidden}
.topic-card::after{content:"";position:absolute;width:180px;height:180px;border-radius:50%;top:-90px;inset-inline-end:-76px;background:#ffffff3d;box-shadow:0 0 0 35px #ffffff19;z-index:0;pointer-events:none}
.topic-card:hover{transform:translateY(-6px);box-shadow:0 24px 48px #4844a62d}
.topic-earning{background:linear-gradient(135deg,#ff627c,#ff9e70);color:#fff}
.topic-trading{background:linear-gradient(135deg,#10adcb,#2471fc);color:#fff}
.topic-ai{background:linear-gradient(125deg,#583de3,#a367ff);color:#fff}
.topic-lifestyle{background:linear-gradient(120deg,#b7eb57,#68cc9a);color:#183f37}
.topic-symbol{background:#ffffff36;border:1px solid #ffffff75;color:currentColor;border-radius:19px;width:55px;height:55px}
.topic-card h3{font-family:var(--editorial-display);font-size:30px;line-height:1.19;color:inherit;font-weight:800}
.topic-card p{color:inherit;opacity:.90;font-size:13px;line-height:1.85}
.topic-number{color:#ffffff55;font-family:var(--editorial-display);font-weight:900;font-size:61px}
.topic-cta{color:inherit;border-color:#ffffff80;font-weight:750}
.topic-cta b{color:inherit}
.topic-lifestyle .topic-cta{border-color:#174a3c4c}
.topic-lifestyle .topic-number{color:#ffffff8c}
html[lang=ar] .topic-card h3{font-family:var(--editorial-ar);font-weight:800;line-height:1.55;font-size:25px}

/* Directory panels, editorial rhythm, and fully legible long reads. */
.editorial-section-card{border:1px solid #e5e4f8;border-radius:17px;background:#fff;box-shadow:0 9px 26px #4237940a;transition:transform .2s ease,box-shadow .2s ease}
.editorial-section-card:hover{border-color:#b2a1ff;box-shadow:0 18px 34px #6653cd19;transform:translateY(-3px)}
.editorial-section-card h3{font-family:var(--editorial-display);font-weight:800;color:#352885}
.editorial-section-card p{color:#6f768e}
.editorial-section-number{color:#ff698b;font-weight:800}
.editorial-section-card-foot{color:#5940dc;border-color:#ece9fb}
.method-section{background:linear-gradient(120deg,#eeeaff,#e9f7ff 60%,#f0ffed);border-top:1px solid #dcd9f7}
.method-heading h2,.method-step h3{color:#33256e}
.method-heading p,.method-step p{color:#5b6483}
.method-step>span{color:#fc6077;font-weight:800}
.method-steps{border-inline-start-color:#bfb6ff}
.market-promo{background:linear-gradient(120deg,#1d2466,#364de0 64%,#00a5cf);color:#fff;border:0;border-radius:23px;box-shadow:0 20px 52px #1f3bb031;position:relative;overflow:hidden}
.market-promo::before{content:"";position:absolute;width:220px;height:220px;border-radius:50%;right:-90px;top:-60px;background:#ffffff14;box-shadow:0 0 0 50px #ffffff10;pointer-events:none}
.market-promo .section-kicker{color:#d5ff84}
.market-promo h2{color:#fff}
.market-promo p{color:#e8f3ff}
.market-promo .btn-primary{background:#d8fa64;color:#201950}
.tools-banner{background:linear-gradient(110deg,#29146f,#6b4dfe 67%,#fa658c);border:0;border-radius:22px;box-shadow:0 20px 45px #462ccb28}
.tools-banner h2{color:white}
.tools-banner p{color:#f2eeff}
.tools-banner .btn-light{border:0;background:#d8fa64;color:#20174f}
.studio-home-banner{background:radial-gradient(circle at 93% 12%,#b4f2ff95,transparent 32%),linear-gradient(120deg,#eeeaff,#fff0f2 73%,#fffae6);border:1px solid #ded9ff;border-radius:22px;box-shadow:0 15px 35px #5f4cbb10}
.studio-home-banner h2{color:#2a1f83;font-family:var(--editorial-display);font-weight:850}
.studio-home-banner p{color:#5c6188}
.studio-home-banner .section-kicker{color:#e65a73}
.studio-home-actions>strong{color:#6c45ea}
.archive-count{color:#5636e8;background:#ece9ff;border:1px solid #d6d1ff;border-radius:14px}
.archive-category-nav{border-color:#e3e2f4}
.archive-category-nav a{background:#f2efff;color:#5942d6;border:1px solid #e1dafa;border-radius:999px}
.archive-category-nav a:hover{border-color:#a38ff9;background:#e4dbff}
.archive-group+.archive-group{border-color:#e8e7f2}
.archive-smart-search{border-radius:20px;padding:20px 23px;background:#fff;box-shadow:0 11px 35px #4836a30d;border:1px solid #e4e3f6;margin:5px 0 28px}
.archive-smart-search>label{display:block}
.archive-search-label{display:block;font-weight:800;color:#342477;font-size:14px;margin-bottom:10px}
.archive-search-box{display:flex;align-items:center;gap:12px;border:2px solid #dfddf6;background:#f9f9ff;border-radius:14px;padding:0 15px;color:#7454e5;min-height:54px;transition:border-color .18s}
.archive-search-box:focus-within{border-color:#7558f2;background:#fff;box-shadow:0 0 0 4px #7758f115}
.archive-search-box input{border:0;outline:0!important;min-width:0;width:100%;height:50px;background:transparent;color:#2b2655;font-family:inherit;font-size:14px}
.archive-search-box input::placeholder{color:#8c8eab}
.archive-search-bottom{display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap;margin-top:12px;color:#756f9e;font-size:12px}
.archive-search-bottom [data-archive-count]{font-weight:850;color:#613cde}
.archive-hint{font-family:var(--editorial-sans);letter-spacing:.06em;font-weight:800}
.archive-empty{color:#6255ae;background:#f2f0ff;padding:15px;border-radius:12px;margin:15px 0 0}
.archive-empty[hidden]{display:none!important}
.archive-article-grid .card-body h3{color:#272158}
html[lang=ar] .archive-article-grid .card-body h3{font-family:var(--editorial-ar)}

/* Clarity first in long-form reading, with meaningful progress indicator. */
.article-content{max-width:830px}
.article-content p{color:#3d4963}
.article-content .lead{color:#32296c;border-inline-start:4px solid #ff7291;font-weight:550}
.article-block{border-color:#e5e7f5}
.article-block h2{color:#33266f;font-family:var(--editorial-display);font-weight:800}
.checklist{border-color:#dedcf5;background:#f4f2ff;border-radius:15px}
.checklist li{color:#414278}
.checklist li::before{color:#6e4af2}
.article-resource-box{background:#eef7ff;border-color:#cce9ff;border-radius:15px}
.article-resource-box h2{color:#145a9d}
.article-resource-box a{border-radius:9px}
.disclaimer-inline,.article-end-note{background:#fff7ed;border-color:#ffe0b8;border-radius:15px}
.article-photo-frame,.article-illustration img{border-radius:16px}
.toc-card{border-radius:15px;background:#fff;border-color:#e3e2f5;box-shadow:0 10px 30px #4b3c9311}
.toc-label{color:#4224ad}
.toc-card a{color:#586185}
.toc-card a:hover,.toc-card a span{color:#6b4ced}
.sidebar-help{border-radius:15px;background:#e9f3ff;color:#3358a4}
.article-faq details{border-color:#e4e3f3}
.article-faq summary{color:#34286c}
.article-tool-link a{border-radius:11px}
.reading-progress-track{position:fixed;top:0;inset-inline-start:0;width:100%;height:4px;z-index:999;pointer-events:none;background:#ebe8ff66}
.reading-progress-track span{display:block;transform-origin:left;height:100%;width:100%;transform:scaleX(0);background:linear-gradient(90deg,#00cbd5,#6b47f5 50%,#ff6b83 88%,#f9bf57);transition:transform .08s linear}
html[dir=rtl] .reading-progress-track span{transform-origin:right}
/* Market headlines retain true photos and source links, with bright category colors. */
.market-digest-card{border-color:#e6e6f4;background:white;border-radius:20px;box-shadow:0 11px 30px #42358111}
.market-digest-card:hover{box-shadow:0 22px 49px #4f3bc328}
.market-digest-card h3{color:#302468;font-weight:800;font-family:var(--editorial-display)}
.market-digest-card h3 a:hover{color:#5b41ef}
.market-digest-meta span{border-radius:999px;background:#e8f6ff;color:#087da2;padding:6px 11px}
.market-digest-links{border-color:#e7e6f5}
.market-digest-links a{color:#5d42e3}
.market-digest-links a:last-child{color:#00a3c2}
.pulse-card,.pulse-event{border-radius:15px;border-color:#e7e6f5;background:white}
.pulse-filters{gap:9px}
.pulse-filter{border-radius:999px;background:#eff0ff;border:1px solid #dfe1f8;color:#5853a6}
.pulse-filter.current{background:#6244ea;border-color:#6244ea;color:#fff}
.market-article-body{color:#3c446d}
.market-analysis-block{border-radius:14px;background:#f0f5ff;border-inline-start-color:#6243ed}
.market-analysis-block:nth-of-type(odd){background:#edfcfd;border-inline-start-color:#00a9c5}
.market-discussion{border-radius:18px;background:#f4f2ff;border-color:#dedafc}
.market-original-link{border-radius:14px;border-color:#e1def9}
.market-reader-comment{border-radius:13px;border-color:#e0e0f4}
.market-summary-main h2{color:#36246d}
.market-original-link a,.market-comment-actions a{color:#6342de}
.sharing-bar{background:#f0efff;border-color:#e0dcfb;border-radius:15px}
.share-pill{border-radius:9px}
.share-native,.share-copy{background:#6244ed;border-color:#6244ed;color:white}
.tool-card,.utility-item{border-radius:18px;background:white;border-color:#e7e6f5;box-shadow:0 8px 24px #4030a610}
.utility-item:hover{border-color:#ad98ff;box-shadow:0 15px 36px #4a36c11a}
.utility-number{color:#7051eb}
.utility-group{color:#61578b}
.utility-launch{color:#5a3ddd}
.tool-result{border-radius:13px;background:linear-gradient(120deg,#3322a3,#6445ef);color:#fff}
.tool-result strong{color:#e2fa92}
.studio-pro .studio-pro-head{background:linear-gradient(125deg,#30209e,#6649ef 68%,#17accb);border-radius:18px}
.studio-pro .studio-price{border-radius:13px}
.studio-pro .studio-price strong{color:#5b3fe3}
.studio-pro .studio-controls,.studio-pro .studio-preview-panel,.studio-pro .studio-ai-box{border-radius:16px}
.search-modal{border:1px solid #e6e1fb;background:#fff;border-radius:20px;box-shadow:0 35px 80px #29206c3b}
.search-item:hover{background:#f3f0ff}
.search-item span{color:#6c49e1}
/* Dark footer closes the bright editorial experience. */
.footer{background:linear-gradient(128deg,#181645,#292268 55%,#261b62);color:white}
.footer-grid h3{color:#e0fa7e}
.footer-desc,.footer-grid>div>a:not(.footer-brand){color:#d9d7f6}
.footer .brand-symbol{background:linear-gradient(130deg,#6240ed,#a15bff);box-shadow:4px 5px 0 #d8fa64}
.footer-languages a{background:#ffffff20;border-radius:8px;color:#eeeaff}
.footer-languages .selected{background:#dcfa76;color:#2a2459}
.footer-bottom{border-color:#ffffff29;color:#c5c0f2}
@media(max-width:760px){
 .latest-first .article-grid[data-filtered=true] .article-card:first-child{grid-column:span 1;grid-row:auto}
 .latest-first .article-grid[data-filtered=true] .article-card.is-filter-lead{grid-column:span 2;grid-row:auto}
 .latest-first .article-grid[data-filtered=true] .article-card.is-filter-lead .card-art{height:320px;min-height:0;flex:none}
}
@media(max-width:560px){
 .latest-first .article-grid[data-filtered=true] .article-card:first-child,
 .latest-first .article-grid[data-filtered=true] .article-card.is-filter-lead{grid-column:span 1;grid-row:auto}
 .latest-first .article-grid[data-filtered=true] .article-card.is-filter-lead .card-art{height:250px;min-height:0;flex:none}
 .latest-first .article-grid[data-filtered=true] .article-card.is-filter-lead .card-body{padding:22px}
 .latest-first .article-grid[data-filtered=true] .article-card.is-filter-lead .card-body h3{font-size:25px}
}
/* Intentional category-aware visual affordances on article/card previews. */
.article-card[data-story-topic=earning] .read-more{color:#d63c6a}
.article-card[data-story-topic=trading] .read-more{color:#0286a3}
.article-card[data-story-topic=ai] .read-more{color:#6d4be9}
.article-card[data-story-topic=lifestyle] .read-more{color:#588d21}
.archive-group{scroll-margin-top:120px}
@media(max-width:1140px){
 .category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .topic-card{min-height:280px}
 .hero-grid{gap:35px}
}
@media(max-width:950px){
 .nav-links{background:#fff;border-bottom:1px solid #e2def9;box-shadow:0 16px 34px #241b7c1c}
 .nav-links a{font-size:14px;padding:13px 0}
 .hero-grid{min-height:auto}
 .hero-copy h1{font-size:clamp(43px,5vw,64px)}
}
@media(max-width:760px){
 .hero-grid{grid-template-columns:1fr;gap:36px;padding-block:44px 60px}
 .hero-editorial-cover{transform:none;max-width:580px}
 .hero-editorial-cover:hover{transform:translateY(-3px)}
 .magazine-topic-rail-inner{display:block;padding-block:16px}
 .magazine-rail-label{display:block;margin-bottom:11px}
 .magazine-rail-links{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin}
 .magazine-rail-links a{white-space:nowrap}
 .latest-first .article-grid[data-story-grid]{grid-template-columns:repeat(2,minmax(0,1fr))}
 .latest-first .article-card:first-child{grid-column:span 2}
 .smart-story-filters{overflow-x:auto;flex-wrap:nowrap;padding-bottom:7px;scrollbar-width:thin}
 .smart-filter-chip{white-space:nowrap}
 .archive-category-nav{flex-wrap:nowrap;overflow-x:auto}
}
@media(max-width:560px){
 .nav-inner{min-height:68px}
 .brand-symbol{width:41px;height:41px;border-radius:13px}
 .brand-copy strong{font-size:22px}
 .topbar{height:32px}
 .hero-copy h1{font-size:clamp(45px,10vw,60px)}
 html[lang=ar] .hero-copy h1{font-size:clamp(34px,8vw,45px)}
 .hero-cover-caption h2{font-size:26px}
 .hero-editorial-cover{border-width:3px;border-radius:19px}
 .hero-cover-caption{padding:20px}
 .hero-photo-wrap{aspect-ratio:1.55/1}
 .magazine-masthead-left{font-size:10px}
 .latest-first .article-grid[data-story-grid]{grid-template-columns:1fr}
 .latest-first .article-card:first-child{grid-column:span 1}
 .category-grid{grid-template-columns:1fr}
 .topic-card{min-height:235px}
 .section{padding-block:57px}
 .article-card .card-body h3{font-size:24px}
 html[lang=ar] .article-card .card-body h3{font-size:22px}
 .article-reading-estimate{font-size:10px}
 .archive-smart-search{padding:16px}
 .section-head h2{font-size:clamp(28px,8vw,39px)}
 .footer-grid{gap:26px}
}
@media(prefers-reduced-motion:reduce){
 *,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
 .hero-editorial-cover{transform:none!important}
}
@media print{
 .topbar,.header,.footer,.smart-story-filters,.magazine-topic-rail,.reading-progress-track{display:none!important}
 body{background:#fff!important;color:#111!important}
 .article-content,.studio-pro .studio-document{background:#fff!important;color:#111!important;box-shadow:none!important}
 .studio-pro .studio-document{font-family:Arial,Helvetica,sans-serif!important}
}

/* Market Pulse: unique photographed topic cards for external-source headlines. */
.pulse-grid:has(.pulse-photo-card){align-items:stretch;gap:22px}
.pulse-photo-card{padding:0;gap:0;display:flex;flex-direction:column;overflow:hidden;border-radius:20px;border:1px solid #e5e5f5;background:#fff;box-shadow:0 9px 35px rgba(35,33,95,.065);transition:transform .22s ease,box-shadow .22s ease}
.pulse-photo-card:hover{transform:translateY(-4px);box-shadow:0 18px 38px rgba(39,31,120,.12)}
.pulse-photo-figure{padding:0;margin:0;background:#f2f4f7}
.pulse-photo-img{display:block;aspect-ratio:16/9;object-fit:cover;object-position:center;width:100%;height:auto;transition:transform .3s ease}
.pulse-photo-card:hover .pulse-photo-img{transform:scale(1.025)}
.pulse-photo-figure{overflow:hidden}
.pulse-photo-figure figcaption{position:relative;font-size:.69rem;display:flex;flex-wrap:wrap;gap:4px;align-items:center;padding:9px 15px;color:#5c657f;border-bottom:1px solid #e9e9f5;background:#f9f9ff;line-height:1.5}
.pulse-photo-card a{margin-top:0}
.pulse-photo-figure figcaption a{color:#6242d3;font-weight:700;text-decoration:underline;text-underline-offset:2px}
.pulse-card-inner{display:flex;flex-direction:column;gap:12px;padding:17px 19px 20px;height:100%}
.pulse-photo-meta{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;color:#697286;font-size:.76rem}
.pulse-photo-meta span{display:inline-flex;align-items:center;padding:4px 10px;border-radius:999px;background:#ece7ff;color:#5e41ba;font-weight:800;line-height:1.3}
.pulse-photo-card h3{font-size:clamp(1.05rem,1.5vw,1.23rem);line-height:1.55;margin:0;font-weight:800;color:#272644;overflow-wrap:anywhere}
.pulse-photo-card h3 a{color:inherit;text-decoration:none}
.pulse-photo-card h3 a:hover{text-decoration:underline;text-underline-offset:3px;color:#5835bd}
.pulse-photo-card .pulse-photo-publisher{font-size:.81rem;color:#778195;font-weight:650;margin:0}
.pulse-photo-source-link{font-weight:800;font-size:.85rem;color:#5b3dc5;text-decoration:none}
.pulse-related-headlines{border-top:1px solid #e8e6f4;padding-top:13px;margin-top:4px}
.pulse-related-headlines h4{color:#35345c;font-size:.82rem;letter-spacing:0;font-weight:850;margin:0 0 11px}
.pulse-related-headlines ul{display:grid;list-style:none;padding:0;margin:0;gap:11px}
.pulse-related-headlines li{padding-bottom:10px;border-bottom:1px dashed #e4e2ee}
.pulse-related-headlines li:last-child{border-bottom:none;padding-bottom:0}
.pulse-related-headlines li a{display:block;font-size:.83rem;font-weight:750;line-height:1.6;color:#343750;text-decoration:none}
.pulse-related-headlines li a:hover{color:#5835bc;text-decoration:underline}
.pulse-related-headlines li small{display:block;font-size:.72rem;color:#747c90;margin-top:4px}
.pulse-photo-card .pulse-photo-disclaimer{font-size:.72rem;line-height:1.6;color:#84879b;border-top:1px solid #eeedf6;padding-top:11px;margin-top:auto}
.market-digest-photo-credit{font-size:.73rem;color:#727b8b;margin:-1px 0 0!important;line-height:1.5}
.market-digest-photo-credit a{color:#6551ba;font-weight:700;text-decoration:underline;text-underline-offset:2px}
@media(max-width:950px){.pulse-grid:has(.pulse-photo-card){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.pulse-grid:has(.pulse-photo-card){grid-template-columns:minmax(0,1fr)}.pulse-card-inner{padding:16px 16px 20px}.pulse-photo-card:hover{transform:none}}
@media(prefers-reduced-motion:reduce){.pulse-photo-card,.pulse-photo-img{transition:none}.pulse-photo-card:hover,.pulse-photo-card:hover .pulse-photo-img{transform:none}}
