/*
Theme Name: Bet90 | Independent Ledger
Author: Independent Editorial UI
Version: 1.0.0
Text Domain: ot10-bet90-ledger
Description: Persian RTL bespoke editorial theme.
*/
/* Foundation: the five themes deliberately supply different visual systems. */
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:110px}body{margin:0;min-height:100vh;direction:rtl;text-align:right;line-height:1.95}a{text-decoration:none;color:inherit}img,video,iframe{max-width:100%;height:auto}button,input{font:inherit}button{cursor:pointer}a,button,input{outline-offset:4px}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid var(--focus,#ffb347)}.wrap{width:min(1220px,calc(100% - 42px));margin-inline:auto}.skip-link{position:absolute;top:-100px;right:15px;background:#fff;color:#111;padding:8px 16px;z-index:100000}.skip-link:focus{top:10px}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.site-header{position:sticky;top:0;z-index:1000;backdrop-filter:blur(18px)}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:25px;min-height:70px}.brand{display:inline-flex;gap:12px;align-items:center;min-width:0}.brand-symbol{display:grid;place-items:center;flex-shrink:0;width:45px;height:45px}.brand-text{display:flex;flex-direction:column;line-height:1.4}.brand-text strong{font-size:17px}.brand-text small{font-size:11px;letter-spacing:.1px}.desktop-nav .nav-list{display:flex;align-items:center;gap:19px;list-style:none;padding:0;margin:0}.desktop-nav .nav-list>li{margin:0}.desktop-nav a{font-size:13px;font-weight:650}.desktop-nav .nav-list>li:nth-child(n+6){display:none}.menu-toggle{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:47px;height:47px;border-radius:12px;border:1px solid currentColor;background:transparent;color:inherit}.menu-toggle span{width:21px;height:2px;background:currentColor;border-radius:3px}.drawer-scrim{position:fixed;inset:0;z-index:1100;background:#0009}.mobile-drawer{position:fixed;inset:0 0 0 auto;z-index:1200;width:min(420px,90vw);overflow-y:auto;padding:22px;transform:translateX(110%);transition:transform .26s ease;background:var(--drawer-bg,#171b25);color:var(--drawer-text,#fff);box-shadow:-20px 0 70px #0005}.mobile-drawer.is-open{transform:translateX(0)}.drawer-head{display:flex;align-items:center;justify-content:space-between;gap:15px;font-weight:800;margin-bottom:20px}.drawer-close{width:43px;height:43px;font-size:30px;border:1px solid currentColor;background:transparent;color:inherit;border-radius:12px;line-height:1}.mobile-drawer .nav-list{padding:0;margin:0;list-style:none;display:grid;gap:9px}.mobile-drawer .nav-list a{display:flex;align-items:center;justify-content:space-between;padding:14px 15px;border:1px solid currentColor;border-radius:12px;font-size:14px}.mobile-drawer .nav-list a:after{content:'↖';opacity:.7}.drawer-foot{font-size:12px;opacity:.65;margin-top:30px}.menu-open{overflow:hidden}.site-footer{margin-top:90px;padding:52px 0 35px}.footer-grid{display:grid;grid-template-columns:1.5fr 1fr .7fr;gap:30px}.footer-brand{font-size:24px;font-weight:850}.footer-nav{display:flex;flex-direction:column;align-items:start;gap:10px;font-size:14px}.footer-small{display:flex;flex-direction:column;gap:9px;font-size:12px}.site-footer p{max-width:50ch;font-size:14px}.standard-main{padding-top:48px;min-height:62vh}.breadcrumbs{font-size:12px;opacity:.75;margin-bottom:25px}.breadcrumbs span{margin-inline:8px}.article-head{max-width:850px;margin-bottom:36px}.overline{display:inline-block;margin:0 0 14px;font-size:12px;font-weight:800;letter-spacing:1px}.article-head h1{line-height:1.35;font-size:clamp(26px,3.2vw,42px);margin:0 0 16px}.article-dek{opacity:.8}.article-grid{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:38px;align-items:start}.article-aside{position:sticky;top:115px;padding:21px;border:1px solid var(--line,#aaa4);border-radius:18px}.article-aside .quicklinks{display:flex;flex-direction:column;gap:8px;margin-top:16px}.article-aside .quicklink{font-size:13px;padding:11px}.editorial-content{min-width:0;overflow-wrap:anywhere}.editorial-content h1,.editorial-content h2,.editorial-content h3,.editorial-content h4{line-height:1.5;margin-top:1.8em;margin-bottom:.65em}.editorial-content h1{font-size:clamp(25px,2.8vw,36px)}.editorial-content h2{font-size:clamp(21px,2.2vw,29px)}.editorial-content h3{font-size:clamp(18px,1.8vw,23px)}.editorial-content p{margin:0 0 1.25em}.editorial-content :is(ul,ol){padding-right:25px;margin-bottom:1.2em}.editorial-content li{margin-bottom:.5em}.editorial-content a{text-decoration:underline;text-underline-offset:4px}.editorial-content img{border-radius:15px}.editorial-content blockquote{margin:26px 0;padding:16px 24px;border-right:4px solid var(--accent,#f9b)}.editorial-content :is(table, .wp-block-table){max-width:100%;overflow-x:auto;display:block}.editorial-content table{width:100%;border-collapse:collapse;min-width:0;font-size:14px}.editorial-content :is(th,td){padding:12px 15px;border:1px solid var(--line,#8885);text-align:right}.editorial-content th{background:var(--table-head,#9992)}.editorial-content figure{max-width:100%;margin:28px 0}.editorial-content figcaption{opacity:.65;font-size:13px;text-align:center}.editorial-content :is(pre,code){white-space:pre-wrap;overflow-wrap:anywhere;direction:ltr;text-align:left}.editorial-content details{padding:16px;margin:11px 0;border:1px solid var(--line,#9995);border-radius:12px}.editorial-content summary{cursor:pointer;font-weight:750}.post-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.post-item{padding:25px;border:1px solid var(--line,#aaa4);border-radius:18px}.post-item h2{font-size:21px;line-height:1.55}.post-item p{font-size:14px;opacity:.8}.pagination{margin-top:30px}.featured-image{width:100%;height:auto;border-radius:17px}.entry-date{font-size:13px;opacity:.7}.error-page{padding:80px 0}.site-search{display:flex;gap:8px;max-width:450px}.site-search input{min-width:0;flex:1;padding:12px;border:1px solid #7775;border-radius:12px}.site-search button{padding:12px 20px;border-radius:12px;border:0}.action{display:inline-block;padding:12px 22px;border-radius:12px}.quicklinks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.quicklink{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:15px 18px;border:1px solid var(--line,#9995);border-radius:13px;font-size:14px;font-weight:650}.feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.feature{padding:23px;border:1px solid var(--line,#9995);border-radius:17px}.feature-no{font-size:12px;font-weight:800}.feature h3{font-size:20px;line-height:1.6;margin:15px 0 7px}.feature p{font-size:14px;margin:0;opacity:.8}.old-content-section{margin-top:64px}.old-content-section>.section-top{margin-bottom:25px}.old-content-section>.section-top h2{font-size:clamp(26px,3vw,40px);margin:5px 0}.old-content-section>.editorial-content{padding:30px;border-radius:22px;border:1px solid var(--line,#9994)}.tool-form{display:grid;gap:13px}.tool-form label{font-weight:750}.tool-form input{width:100%;min-width:0;padding:13px 15px;border-radius:12px;border:1px solid #7776;background:transparent;color:inherit}.tool-form button{padding:12px 25px;border:0;border-radius:12px}.tool-output{font-weight:850;font-size:25px}.tool-note{font-size:12px;opacity:.75}.fact-note{padding:18px 21px;border-right:4px solid var(--accent);border-radius:12px;background:var(--note-bg,#8882);font-size:14px}.section-title{font-size:clamp(26px,3vw,42px);line-height:1.35;margin:0 0 25px}.kicker{text-transform:uppercase;letter-spacing:1px;font-size:12px;font-weight:800}.hero-title{line-height:1.28;margin:15px 0 20px;font-size:clamp(36px,5vw,72px);font-weight:900}.hero-intro{font-size:clamp(15px,1.55vw,19px);opacity:.85;max-width:59ch}.primary-link{display:inline-flex;align-items:center;gap:10px;padding:13px 23px;border-radius:12px;font-size:14px;font-weight:800}.section-pad{padding-block:70px}.mini-chips{display:flex;flex-wrap:wrap;gap:8px}.mini-chips>span{padding:7px 13px;border:1px solid currentColor;border-radius:30px;font-size:12px}.old-content-section .editorial-content h1:first-child{margin-top:0}
@media(max-width:1120px){.desktop-nav{display:none}.menu-toggle{display:flex}}
@media(min-width:1121px){.menu-toggle{display:none}}
@media(max-width:780px){.wrap{width:min(100% - 32px,1220px)}.header-inner{min-height:69px}.brand-text strong{font-size:16px}.brand-symbol{width:38px;height:38px}.brand-text small{font-size:10px}.footer-grid{grid-template-columns:1fr 1fr}.footer-small{grid-column:1/-1}.article-grid{grid-template-columns:1fr}.article-aside{position:static;order:2}.feature-grid{grid-template-columns:1fr}.quicklinks{grid-template-columns:1fr}.post-cards{grid-template-columns:1fr}.old-content-section>.editorial-content{padding:18px}.section-pad{padding-block:48px}}
@media(max-width:420px){.footer-grid{grid-template-columns:1fr}.brand-text strong{max-width:190px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hero-title{font-size:35px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
html{font-size:15px}body{font-size:15px;line-height:1.95}p{overflow-wrap:break-word}.editorial-content p,.editorial-content li,.article-dek,.prose-block p,.feature p{text-align:justify;text-justify:inter-word;hyphens:none}.site-footer p{text-align:justify}.editorial-content{font-size:15px;line-height:2.05}.editorial-content h2{font-size:clamp(20px,2vw,27px)}.editorial-content h3{font-size:clamp(17px,1.65vw,21px)}.article-head h1{font-size:clamp(27px,3.2vw,43px)}.hero-title{font-size:clamp(30px,4.2vw,55px);line-height:1.42}.hero-intro{font-size:15px;line-height:2.03;text-align:justify}.brand-text strong{font-size:16px}.feature h3{font-size:17px}.feature p{font-size:14px;line-height:2}.editorial-content :is(table,.wp-block-table){max-width:100%;overflow-x:auto;display:block;overscroll-behavior-x:contain}.editorial-content th,.editorial-content td{font-size:13px;min-width:90px}.old-content-section>.editorial-content{margin-top:24px}.wp-block-embed,.wp-block-image,.wp-block-gallery{max-width:100%;overflow:hidden}details summary{cursor:pointer}.insight{padding:18px 21px;border-inline-start:4px solid var(--accent);border-radius:12px;background:var(--note-bg,#8882);margin:24px 0}.insight p{margin:7px 0 0}.fact-table{overflow-x:auto;max-width:100%;margin-block:25px}.fact-table table{min-width:540px;width:100%;border-collapse:collapse}.fact-table th,.fact-table td{text-align:right;padding:13px;border-bottom:1px solid var(--line)}.fact-table th{font-weight:850}.section-intro{max-width:75ch;text-align:justify;line-height:2}.information-section{padding-block:65px}.step-flow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin:25px 0}.step-flow>article{padding:23px;border:1px solid var(--line);background:var(--card-bg,transparent);border-radius:14px}.step-flow span{font-weight:900;color:var(--accent)}.step-flow h3{font-size:17px;margin:8px 0}.step-flow p{font-size:13px;text-align:justify;margin:0}.faq-stack details{margin:10px 0;padding:15px 18px;border:1px solid var(--line);border-radius:10px}.faq-stack summary{font-weight:750}.faq-stack p{font-size:14px;text-align:justify}.report-meta{font-size:12px;opacity:.7}.read-more{font-size:13px;font-weight:800}.cite-link{font-size:12px;text-decoration:underline}.content-tags{display:flex;flex-wrap:wrap;gap:9px;margin:20px 0}.content-tags span{font-size:12px;border:1px solid currentColor;padding:6px 10px;border-radius:50px}.control-field{width:100%;padding:10px 12px;border:1px solid var(--line);border-radius:8px;min-height:44px}.tool-note{font-size:12px;line-height:1.85;opacity:.75}.tool-result{font-variant-numeric:tabular-nums;font-weight:900;font-size:clamp(18px,2.5vw,28px)}.source-stack{padding:18px 20px;border:1px solid var(--line);border-radius:12px;font-size:13px}.source-stack a{text-decoration:underline}.source-stack li{margin:8px 0}.mini-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.mini-grid>*{min-width:0}@media(max-width:840px){.step-flow{grid-template-columns:1fr}.information-section{padding-block:40px}.mini-grid{grid-template-columns:1fr}.article-aside{display:none}.article-grid{grid-template-columns:1fr}}@media(max-width:540px){html{font-size:14px}body{font-size:14px}.editorial-content{font-size:14.5px}.editorial-content p,.editorial-content li,.hero-intro{text-align:justify}.information-section{padding-block:32px}.step-flow>article{padding:17px}.article-head h1{font-size:clamp(25px,7vw,33px)}.site-footer{padding-block:37px 25px}}

@font-face{font-family:OtFont;src:url('assets/fonts/site.woff2') format('woff2');font-weight:100 900;font-display:swap}
:root{--accent:#ecb65a;--line:#665946;--focus:#f8d17c;--drawer-bg:#161713;--drawer-text:#fdf3df;--table-head:#efbe6020;--note-bg:#3c3021;--card-bg:#1e241f}
body{font-family:OtFont,Tahoma,sans-serif;background:#111814;color:#ecede1}.site-header{background:#141b17ed;color:#f4f1df;border-bottom:1px solid #6b785a50}.brand-symbol{background:#ecb65a;color:#17211b;transform:rotate(-4deg);border-radius:2px}.brand-text small{color:#bcb5a0}.desktop-nav a:hover{color:#ecb65a}.menu-toggle{border-color:#edb65a77;color:#efbd73}.site-footer{background:#0d120f;border-top:1px solid #68563a;color:#f4eee1}.site-footer p,.footer-small{color:#a8ad9e}.footer-nav a{color:#e8bb6a}
.ledger-hero{background:linear-gradient(145deg,#19231b,#141a15 68%),repeating-linear-gradient(0deg,transparent 0,transparent 40px,#ffffff08 40px,#ffffff08 41px);padding:75px 0 92px;border-bottom:1px solid #6c5b3c}.ledger-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:57px;align-items:center}.ledger-kicker{display:flex;gap:10px;align-items:center;color:#f0be6a;font-weight:900;font-size:12px;letter-spacing:1px}.ledger-kicker:before{content:'●';font-size:8px}.ledger-hero .hero-title{font-size:clamp(32px,4.6vw,62px);color:#f6f2e4;line-height:1.45}.ledger-hero .hero-intro{color:#c0c8b8}.ledger-btn{display:inline-flex;padding:12px 22px;margin-top:18px;background:#e9b866;color:#18231b;font-weight:900;font-size:13px;border-radius:4px}.ledger-stats{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px}.ledger-stats span{border:1px solid #826e4a;color:#e3d3b6;padding:7px 11px;font-size:11px}.ledger-sheet{padding:29px;border:1px solid #987b4e;background:#202821;box-shadow:12px 12px 0 #e5aa4d19}.ledger-sheet header{display:flex;justify-content:space-between;gap:15px;padding-bottom:18px;border-bottom:1px solid #746443}.ledger-sheet h2{font-size:20px;color:#f0c478;margin:0}.ledger-sheet small{color:#a9b5a2}.ledger-list{margin-top:9px}.ledger-row{display:grid;grid-template-columns:40px 1fr auto;gap:12px;align-items:center;padding:17px 0;border-bottom:1px solid #686a535e}.ledger-row b{color:#eec476}.ledger-row strong{font-size:13px}.ledger-row em{font-style:normal;font-size:11px;color:#b4a58e}.ledger-sheet p{font-size:12px;color:#acb5a9}.ledger-section{padding:77px 0}.ledger-section .feature{background:#1c251e;border-color:#5e6d5940;border-radius:2px;border-right:3px solid #e9b866}.ledger-section .feature-no{color:#ecb85b}.ledger-section .feature h3{color:#f1cd85}.ledger-section .feature p{color:#c7cdbb}.quicklink{border-radius:2px;background:#202b22;border-color:#5a694b;color:#efc97f}.quicklink:hover{background:#2e3525}.ledger-calc{background:#242b22;padding:50px 0;border-top:1px solid #585b47;border-bottom:1px solid #585b47}.calc-block{display:grid;grid-template-columns:1fr 1fr;gap:30px;align-items:center}.calc-block input{max-width:280px;background:#111b15;border:1px solid #8f8d67;color:#fff;padding:12px;font-size:17px}.calc-block output{display:block;color:#eec777;margin-top:13px}.ledger-content{padding:42px 0 80px}.old-content-section>.editorial-content{background:#1b241e;border:1px solid #616d53;border-radius:2px}.editorial-content h1,.editorial-content h2,.article-head h1{color:#e8c079}.editorial-content a{color:#f3ca76}.article-aside,.post-item{background:#1a241c}.editorial-content th{color:#f0d59b}.site-search button,.action{background:#e3b460;color:#162017}.overline{color:#eab85b}
@media(max-width:900px){.ledger-grid{grid-template-columns:1fr;gap:38px}.ledger-hero{padding:39px 0 60px}.calc-block{grid-template-columns:1fr;gap:18px}.ledger-section{padding:44px 0}.ledger-sheet{box-shadow:6px 6px 0 #e5aa4d19}}
