/* Mojtaba Dashti · R26 · approved navy/gold design restoration and multilingual editorial UX */
/* All new content stays in the brand color system; avoid dark-on-dark or white-on-white. */
body.article-page .md25-book-hero,
body.article-page .md25-book-hero h1,
body.article-page .md25-book-hero .md25-lead,
body.article-page .md25-book-hero p,
body.article-page .md25-book-hub,
body.article-page .md25-book-hub h1,
body.article-page .md25-book-hub>p {color:#f1f5f9!important}
.md25-book-hub{max-width:1140px;margin:40px auto;padding:26px 22px}
.md25-book-hub h1{font-size:clamp(2rem,3.8vw,3.2rem);line-height:1.4;margin:10px 0 12px;letter-spacing:0}
.md25-book-hub>p{line-height:1.95;font-size:1rem;max-width:900px}
.md25-book-hero{padding-top:30px}
.md25-book-hero h1{font-weight:850;line-height:1.5;text-wrap:balance;text-shadow:0 1px 16px rgba(0,0,0,.24)}
.md25-book-hero .md25-lead{color:#e0e8ef!important;font-size:clamp(15px,1.3vw,18px);line-height:2.05}
.md25-book-hero .md25-eyebrow{color:#e7b96c!important}
.md25-book-hero .md25-crumb{color:#dbe4ea!important}
.md25-book-hero figcaption{color:#cbd7e2!important;font-size:13px;line-height:1.8}
.md25-book-hero figcaption a{color:#eac782!important;text-decoration:underline;text-underline-offset:3px}
.md25-article-prose,.md25-article-prose p,.md25-article-prose li,.md25-article-prose blockquote{color:#edf2f6!important}
.md25-article-prose{font-size:clamp(16px,1.08vw,18px);line-height:2.05;max-width:100%;overflow-wrap:break-word}
.md25-article-prose h2{color:#edc47f!important;border-inline-start:3px solid #d4a551;font-size:clamp(1.25rem,1.7vw,1.7rem);line-height:1.65;letter-spacing:0;scroll-margin-top:100px}
.md25-article-prose h3{color:#f6e2bd!important;font-size:clamp(1.09rem,1.33vw,1.35rem);line-height:1.7;scroll-margin-top:100px}
.md25-article-prose a{color:#ffd891!important;text-decoration:underline;text-underline-offset:4px}
.md25-article-prose strong{color:#fff9ee}
.md25-article-prose figure,.md25-article-prose figure img{max-width:100%;height:auto}
.md25-book-card{background:linear-gradient(135deg,#0e2b42,#091c2d)!important;border:1px solid rgba(230,190,110,.48);box-shadow:0 18px 40px rgba(0,0,0,.12);gap:26px;padding:20px}
.md25-book-card h2,.md25-book-card p,.md25-book-card div{color:#edf3f8!important}
.md25-book-card h2{font-size:clamp(1.3rem,2vw,1.9rem);line-height:1.7}
.md25-book-card>div:not(.md26-book-art) a{background:linear-gradient(135deg,#edc37d,#bf8a37);color:#071827!important;font-weight:800}
.md25-book-card>div:not(.md26-book-art) a:hover{filter:brightness(1.08)}
.md25-book-player,.md25-book-links{background:linear-gradient(135deg,#0e283f,#092032)!important;border:1px solid rgba(220,180,110,.48);color:#e9f0f5!important}
.md25-book-player h2,.md25-book-links h2{color:#f3d093!important}
.md25-book-player p,.md25-book-links p,.md25-book-disclaimer{color:#d9e3ec!important}
.md25-book-links a{color:#f0ce8f!important;text-decoration:underline;text-underline-offset:3px}
.md25-player-slot{background:#122e45;border:1px dashed rgba(235,198,139,.58)}
.md25-player-slot strong{color:#f9e1b7!important}
.md25-player-slot span{color:#c9d6e3!important}
.md25-cover{margin:26px auto 20px;background:#071725;border:1px solid rgba(231,193,118,.38);max-width:1040px}
.md25-cover img{max-width:100%;height:auto}
.md25-chat-example{border:1px solid rgba(233,193,113,.3);border-radius:14px;padding:12px;background:#112940}
.md25-chat-example figcaption{color:#d4e0e7;font-size:13px;line-height:1.85}
.md26-google-links{margin:38px 0 20px;background:#102a40;border:1px solid rgba(236,191,118,.4);padding:22px 24px;border-radius:15px}
.md26-google-links h2{margin-top:0;color:#f4d49b!important}
.md26-google-links ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 25px;margin:10px 0 0}
.md26-google-links li{margin:0;color:#e2ebf1}
.md26-google-links a{color:#f4cc89!important}
.md26-hub-readmore{border-top:1px solid rgba(225,186,109,.25);padding-top:12px}
.md26-hub-readmore a{color:#f4cd87!important;text-decoration:underline}
.md26-book-art{isolation:isolate;display:flex;flex-direction:column;gap:15px;min-width:0;max-width:100%;min-height:310px;padding:25px;background:radial-gradient(circle at 76% 30%,rgba(208,150,49,.22),transparent 43%),linear-gradient(135deg,#061522 15%,#13334b 78%,#071725 100%);border:1px solid rgba(235,193,120,.5);border-radius:14px;color:#fff!important;overflow:hidden;box-shadow:inset 0 0 0 1px rgba(255,255,255,.02)}
.md26-brand-kicker{display:flex;gap:12px;align-items:center;font:800 13px/1.3 Arial,sans-serif;letter-spacing:.13em;color:#f2d49b;text-align:left;direction:ltr}
.md26-brand-kicker small{display:block;font-weight:500;color:#e7eff6;font-size:10px;letter-spacing:.13em;margin-top:6px}
.md26-art-body{display:grid;grid-template-columns:minmax(125px,.55fr) minmax(0,1fr);align-items:center;gap:clamp(12px,3vw,42px);flex:1}
.md26-jacket{width:100%;max-width:230px;margin:auto;aspect-ratio:440/664;background:linear-gradient(140deg,#5c4589,#b29cc7);border:4px solid rgba(234,191,111,.68);box-shadow:12px 18px 35px rgba(0,0,0,.42);border-radius:3px;overflow:hidden;position:relative}
.md26-jacket img{width:100%;height:100%;display:block;object-fit:contain;aspect-ratio:440/664}
.md26-book-art-copy{display:flex;flex-direction:column;gap:15px;line-height:1.6;color:#fff!important;max-width:600px}
.md26-book-art-copy>span:first-child{color:#f1c983;font-weight:800;font-size:clamp(14px,1.2vw,18px)}
.md26-book-art-copy strong{font-weight:850;color:#fff!important;font-size:clamp(17px,2.6vw,36px);line-height:1.55;overflow-wrap:break-word}
.md26-book-art-copy>span:last-child{font:600 12px/1.7 Arial,sans-serif;color:#f2dcb9;direction:ltr;text-align:left}
.md26-book-art--hub{min-height:270px;padding:18px;gap:10px}
.md26-book-art--hub .md26-jacket{max-width:170px}
.md26-book-art--hub .md26-book-art-copy strong{font-size:clamp(14px,1.3vw,21px)}
.md26-book-art--hub .md26-brand-kicker{font-size:11px}
.md26-book-art--hub .md26-brand-kicker small{font-size:8px}
.md26-book-art--hub .md26-art-body{gap:12px}
.md26-realcover-source{font-size:12px;line-height:1.75}
.md26-google-card .article-body{padding:17px 18px 19px}
.md26-google-card img{height:188px;object-fit:cover;object-position:center}
.md26-google-card .article-meta{font-size:12px;color:#edc17b}
.md26-google-card h3{color:#fff;line-height:1.6}
.md26-google-card p{color:#d6e2ec}
/* Add more whitespace to desktop navigation, while leaving the working mobile menu intact. */
@media (min-width:1321px){
.site-header .header-inner{gap:clamp(12px,1.25vw,22px);padding-inline:clamp(14px,1.7vw,28px)}
.site-header .desktop-nav{display:flex;align-items:center;gap:clamp(9px,.85vw,17px);font-size:clamp(11.8px,.91vw,14px);min-width:0;flex-wrap:nowrap}
.site-header .desktop-nav>a,.site-header .desktop-nav>.nav-dropdown>a{white-space:nowrap;line-height:1.55}
.site-header .desktop-nav .nav-cta{padding:13px 14px;white-space:nowrap;flex-shrink:0;font-size:clamp(11px,.86vw,13px)}
.site-header .desktop-nav .md26-books-nav{color:#f0c97d;white-space:nowrap;font-weight:750}
.site-header .desktop-nav .md26-books-nav:hover{color:#ffe1a1}
.site-header .desktop-nav .md26-books-nav.active{color:#f9dba1;text-decoration:underline;text-underline-offset:6px}
}
/* Instead of squeezing long Armenian/Russian titles on mid-width screens, show the complete accessible menu drawer. */
@media (min-width:1121px) and (max-width:1320px){
.site-header .desktop-nav{display:none!important}
.site-header .menu-toggle{display:flex!important}
.site-header .mobile-panel.open{display:block!important}
.site-header .mobile-panel{position:fixed;inset:78px 0 auto 0;max-height:calc(100vh - 78px);overflow:auto;background:#061522;border-bottom:1px solid rgba(214,168,77,.22);z-index:1250}
.site-header .mobile-nav{max-width:680px;margin:auto;padding:18px 22px 28px;display:grid;gap:8px}
.site-header .mobile-nav>a,.site-header .mobile-nav summary{display:block;padding:13px 14px;border:1px solid rgba(255,255,255,.1);border-radius:12px;background:#0a2236;font-weight:750}
.site-header .mobile-languages{display:grid;gap:6px}
}
@media(max-width:760px){
.md25-book-hero{padding:24px 17px 8px}
.md25-book-hub{margin:22px auto;padding:18px}
.md25-book-card{padding:13px;gap:17px}
.md26-book-art{padding:14px;min-height:0;gap:10px}
.md26-book-art--hub{min-height:0}
.md26-art-body{grid-template-columns:minmax(98px,35%) minmax(0,1fr);gap:15px}
.md26-book-art-copy strong{font-size:clamp(16px,4vw,22px)}
.md26-book-art-copy>span:first-child{font-size:12px}
.md26-book-art-copy>span:last-child{font-size:10px}
.md26-jacket{max-width:155px;border-width:2px}
.md26-google-links ul{grid-template-columns:1fr}
.md25-book-hero h1{font-size:clamp(26px,7vw,35px)}
.md25-article-prose{font-size:16px;line-height:2.05}
}
@media(max-width:420px){.md26-art-body{grid-template-columns:1fr;text-align:center}.md26-jacket{max-width:155px}.md26-book-art-copy>span:last-child{text-align:center}.md26-brand-kicker{justify-content:center}}
@media(prefers-reduced-motion:reduce){.md25-book-card,.md26-book-art{transition:none!important}}

/* R26 browser-check refinements: prevent inherited global book figure image sizing. */
.md25-cover .md26-brand-kicker img{width:34px!important;height:34px!important;aspect-ratio:1/1!important;object-fit:contain!important;flex:0 0 34px}
.md25-cover .md26-jacket img,.md25-book-card .md26-jacket img{width:100%!important;height:100%!important;aspect-ratio:440/664!important;object-fit:contain!important;border-radius:0!important;position:relative;z-index:1}
.md26-jacket{position:relative}
.md26-fallback-cover{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;gap:18px;padding:20px;color:#fcdd92;background:linear-gradient(135deg,#655092,#453d76);text-align:center}
.md26-fallback-cover small{font:700 11px/1.4 Arial,sans-serif;color:#f7e8cf;letter-spacing:.16em}
.md26-fallback-cover strong{font:600 clamp(13px,2vw,21px)/1.6 Georgia,serif;color:#f8e1ad}
@media (min-width:1121px) and (max-width:1560px){html[lang="hy"] .desktop-nav,html[lang="ru"] .desktop-nav{display:none!important}html[lang="hy"] .menu-toggle,html[lang="ru"] .menu-toggle{display:flex!important}html[lang="hy"] .mobile-panel.open,html[lang="ru"] .mobile-panel.open{display:block!important}html[lang="hy"] .mobile-panel,html[lang="ru"] .mobile-panel{position:fixed;inset:78px 0 auto 0;max-height:calc(100vh - 78px);overflow:auto;background:#061522;border-bottom:1px solid rgba(214,168,77,.22);z-index:1250}html[lang="hy"] .mobile-nav,html[lang="ru"] .mobile-nav{max-width:680px;margin:auto;padding:18px 22px 28px;display:grid;gap:8px}html[lang="hy"] .mobile-nav>a,html[lang="ru"] .mobile-nav>a,html[lang="hy"] .mobile-nav summary,html[lang="ru"] .mobile-nav summary{display:block;padding:13px 14px;border:1px solid rgba(255,255,255,.1);border-radius:12px;background:#0a2236;font-weight:750}}
.md25-book-card .md26-brand-kicker img{width:34px!important;height:34px!important;aspect-ratio:1/1!important;object-fit:contain!important;max-width:34px!important;flex:0 0 34px}
