/* Modern Dental V253 — Contemporary editorial journal. Dedicated to magazine routes. */
.md253-journal{--md253-ink:#092e2a;--md253-accent:#087d69;--md253-line:#dfeae5;--md253-muted:#637b74;background:#f9fbfa;color:var(--md253-ink);padding:0 0 88px;font-family:Vazirmatn,Tahoma,Arial,sans-serif;overflow:hidden}.md253-journal *{box-sizing:border-box}.md253-journal a{text-decoration:none;color:inherit}.md253-journal button{font:inherit;cursor:pointer}.md253-journal .md253-container{max-width:1480px;padding-inline:clamp(15px,3vw,48px)}
.md253-topline{display:flex;align-items:center;justify-content:space-between;gap:20px;height:51px;border-bottom:1px solid var(--md253-line);color:#6f867f;font:700 10px Arial,Vazirmatn,sans-serif;letter-spacing:1px}.md253-topline span:nth-child(2){font:700 12px Vazirmatn,sans-serif;letter-spacing:0}.md253-topline a:hover{color:var(--md253-accent)}
/* Editorial cover */
.md253-opening{position:relative;isolation:isolate;min-height:clamp(460px,44vw,610px);margin-top:21px;overflow:hidden;border-radius:10px;background:#153e37;color:white;box-shadow:0 25px 40px rgba(2,34,27,.1)}.md253-cover-picture,.md253-cover-overlay,.md253-cover-picture img{position:absolute;inset:0;width:100%;height:100%}.md253-cover-picture img{object-fit:cover;object-position:center 44%;filter:saturate(.8) contrast(1.03);display:block}.md253-cover-overlay{background:linear-gradient(270deg,rgba(2,39,35,.95) 0%,rgba(2,40,36,.9) 27%,rgba(2,37,35,.40) 63%,rgba(2,38,35,.03) 100%),linear-gradient(0deg,rgba(0,24,21,.58) 0%,transparent 30%)}.md253-cover-top{position:absolute;inset:26px 37px auto;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:18px;font:700 10px Arial,sans-serif;letter-spacing:1.65px;color:#d9e8e3;direction:ltr}.md253-edition-mark{display:flex;gap:18px;align-items:center}.md253-edition-mark b{font-size:9px;color:#b5d0c8;font-weight:600}.md253-cover-content{position:relative;z-index:2;padding:120px clamp(30px,5.3vw,82px) 118px;max-width:745px}.md253-overline{display:inline-flex;align-items:center;gap:11px;font-size:12px;font-weight:800;color:#a6e6cf}.md253-overline:before{content:"";height:1px;width:36px;background:#66d5ab}.md253-cover-content h1{font-size:clamp(48px,6.4vw,94px);font-weight:950;letter-spacing:-2.3px;line-height:1.25;margin:26px 0 15px;color:white}.md253-cover-content p{font-size:clamp(13px,1.6vw,19px);font-weight:400;line-height:2.1;color:#d8ebe4;max-width:510px}.md253-cover-actions{margin-top:34px;display:flex;align-items:center;gap:26px;flex-wrap:wrap}.md253-primary-link{display:inline-flex;align-items:center;gap:33px;background:#fff;border-radius:6px;padding:15px 20px;font-size:14px;font-weight:900;color:#075447!important;transition:transform .2s ease,background .2s ease}.md253-primary-link:hover{transform:translateY(-3px);background:#d6f4e7}.md253-primary-link span{font-size:18px}.md253-cover-quiet{font-size:13px;font-weight:800;color:#f0fff8!important;border-bottom:1px solid #9ccec0;padding-bottom:7px}.md253-cover-quiet span{margin-right:9px}.md253-cover-bottom{position:absolute;inset:auto 38px 24px;z-index:3;display:flex;align-items:center;gap:30px;font:700 10px Arial,Vazirmatn,sans-serif;color:#c4ddd4}.md253-cover-bottom>a{margin-inline-start:auto;color:#fff;font-size:12px;font-weight:700;line-height:1.5}.md253-cover-bottom>a span{margin-right:15px}.md253-cover-bottom strong{direction:ltr;letter-spacing:2px;color:#fff;font-family:Arial,sans-serif;font-size:15px}
.md253-ticker{height:62px;border-bottom:1px solid var(--md253-line);display:flex;align-items:center;gap:24px;flex-wrap:nowrap;overflow:hidden;white-space:nowrap;color:#526e65;font-size:12px;font-weight:700}.md253-ticker-dot{background:#0d836e;width:5px;height:5px;transform:rotate(45deg);flex:none}.md253-ticker-issue{font:700 10px Arial,sans-serif;direction:ltr;letter-spacing:1.5px;margin-inline-start:auto;color:#7b948b}
/* Magazine reader */
.md253-reader{padding-top:94px;scroll-margin-top:140px}.md253-section-title{display:flex;align-items:end;justify-content:space-between;gap:35px;margin-bottom:27px}.md253-kicker{display:block;color:#0b8270;font:700 10px Arial,Vazirmatn,sans-serif;letter-spacing:1.15px}.md253-kicker i{display:inline-block;width:5px;height:5px;margin:0 8px;background:#0b8975;transform:rotate(45deg)}.md253-section-title h2{font-size:clamp(30px,4vw,55px);line-height:1.4;margin:12px 0 0;letter-spacing:-1px;color:#0e3430}.md253-section-title>p{max-width:345px;color:#668078;line-height:2.1;font-size:13px;margin:0}
.md253-reader-stage{display:grid;grid-template-columns:54px minmax(0,1fr) 54px;gap:15px;align-items:center}.md253-stage-nav{width:52px;height:64px;background:#fff;color:#135d50;border:1px solid #d9e8e2;box-shadow:0 7px 14px #103a2f0a;font:bold 29px Arial,sans-serif!important;border-radius:8px;transition:transform .2s ease,background .2s ease}.md253-stage-nav:hover{background:#e8f7ee;transform:translateY(-3px)}
.md253-book-frame{position:relative;isolation:isolate;display:grid;direction:rtl;grid-template-columns:repeat(2,minmax(0,1fr));min-height:565px;border-radius:5px;overflow:visible;box-shadow:0 22px 38px rgba(5,49,40,.15),0 5px 0 -2px #bbcfc6,0 10px 0 -3px #e2ebe7;background:#fff;perspective:1850px;outline-offset:8px}.md253-book-page{position:relative;min-height:565px;overflow:hidden;color:white;background:#1f5750}.md253-book-right{grid-column:1;grid-row:1;border-radius:5px 0 0 5px}.md253-book-left{grid-column:2;grid-row:1;border-radius:0 5px 5px 0}.md253-paper-img,.md253-paper-img img,.md253-paper-shade{position:absolute;inset:0;width:100%;height:100%}.md253-paper-img img{display:block;object-fit:cover;filter:saturate(.85)}.md253-paper-shade{background:linear-gradient(0deg,rgba(3,33,31,.98),rgba(4,39,35,.73) 33%,rgba(0,32,30,.08) 77%),linear-gradient(90deg,rgba(2,37,31,.22),transparent)}.md253-paper-top{position:absolute;inset:23px 29px auto;display:flex;justify-content:space-between;gap:12px;font:700 9px Arial,sans-serif;letter-spacing:1.4px;color:#fff9}.md253-paper-caption{position:absolute;right:clamp(22px,3.1vw,53px);left:clamp(22px,3.1vw,53px);bottom:clamp(24px,3.6vw,64px);display:flex;flex-direction:column;align-items:flex-start;gap:13px}.md253-paper-category{font-size:11px;font-weight:800;color:#8af3ce;border:1px solid #a2dec5aa;padding:6px 10px;border-radius:3px}.md253-paper-caption h3{font-weight:900;line-height:1.53;color:white;font-size:clamp(23px,2.7vw,38px);margin:0;max-width:510px}.md253-paper-caption p{margin:0;color:#e4f1ec;line-height:2;font-size:13px;max-width:450px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.md253-paper-read{display:inline-flex;gap:16px;align-items:center;margin-top:4px;color:#fff!important;font-weight:800;font-size:13px;border-bottom:1px solid #a6d7c4;padding-bottom:7px}.md253-paper-read:hover{color:#94efd0!important}.md253-paper-empty{height:100%;background:#cfe8e0;display:grid;place-items:center;color:#0b7d6a;font:700 16px Arial,sans-serif}.md253-book-spine{position:absolute;top:0;bottom:0;left:50%;width:14px;transform:translateX(-50%);pointer-events:none;z-index:4;background:linear-gradient(90deg,transparent,rgba(3,24,22,.30),rgba(250,255,250,.22),rgba(0,21,18,.27),transparent)}.md253-leaf{position:absolute;top:0;bottom:0;width:50%;right:0;transform-style:preserve-3d;z-index:10;pointer-events:none;transition:transform .65s cubic-bezier(.17,.55,.17,1);filter:drop-shadow(0 5px 9px #05271e33)}.md253-leaf[hidden]{display:none!important}.md253-leaf-forward{transform-origin:left center;transform:rotateY(0)}.md253-leaf-backward{right:auto;left:0;transform-origin:right center;transform:rotateY(0)}.md253-leaf-forward.is-turning{transform:rotateY(-180deg)}.md253-leaf-backward.is-turning{transform:rotateY(180deg)}.md253-leaf-face{position:absolute;inset:0;backface-visibility:hidden;overflow:hidden;background:#1b5049}.md253-leaf-back{transform:rotateY(180deg)}
.md253-reader-bottom{display:flex;align-items:center;gap:25px;justify-content:space-between;padding:21px 70px 0}.md253-counter{display:flex;align-items:baseline;gap:9px;font:600 12px Arial,Vazirmatn,sans-serif;color:#758b83;direction:ltr}.md253-counter strong{font-size:23px;color:#0a6153}.md253-reader-hint{direction:rtl;font:700 11px Vazirmatn,sans-serif;margin-left:12px}.md253-progress{display:flex;gap:5px;justify-content:center;flex:1}.md253-progress-item{height:22px;min-width:30px;padding:7px 1px;border:0;background:transparent}.md253-progress-item span{display:block;width:100%;height:3px;background:#c8dad1;border-radius:2px}.md253-progress-item.current span{background:#0d896e}.md253-swipe-hint{font-size:11px;color:#8da59b}
/* Asymmetric editorial article index */
.md253-stories{padding-top:106px;scroll-margin-top:130px}.md253-stories-title{margin-bottom:30px}.md253-filter-line{display:flex;justify-content:space-between;align-items:center;gap:22px;border-block:1px solid #dce9e2;margin-bottom:26px;padding:12px 0}.md253-category-scroll{display:flex;gap:8px;align-items:center;overflow-x:auto;scrollbar-width:none;min-width:0}.md253-category-scroll::-webkit-scrollbar{display:none}.md253-filter{flex:none;background:transparent;border:0;color:#5b756b;padding:11px 13px;font-size:12px;font-weight:800;border-radius:4px}.md253-filter.active{background:#0b6657;color:#fff}.md253-filter:hover:not(.active){color:#095e52;background:#ecf4ee}.md253-search{display:flex;gap:8px;align-items:center;flex:none;border-bottom:1px solid #8eb7a9;color:#3b7769;padding:9px 0;max-width:240px}.md253-search input{border:0;outline:0;background:transparent;color:#164e42;font:inherit;font-size:12px;min-width:0;width:100%}
.md253-story-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:22px;align-items:stretch}.md253-story{grid-column:span 4;display:flex;flex-direction:column;min-width:0;background:transparent;overflow:hidden;position:relative;transition:transform .25s ease}.md253-story-pic{display:block;aspect-ratio:1.44;overflow:hidden;position:relative;background:#e7f1ed}.md253-story-pic img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .6s cubic-bezier(.21,.61,.35,1);filter:saturate(.87)}.md253-story:hover .md253-story-pic img{transform:scale(1.065)}.md253-story-copy{display:flex;flex-direction:column;flex:1;padding:17px 3px 18px;border-bottom:1px solid #d6e5dc}.md253-story-eyebrow{display:flex;justify-content:space-between;align-items:center;color:#08806e;font-size:11px;font-weight:800}.md253-story-eyebrow span:last-child{font:700 12px Arial,sans-serif;color:#abc0b5}.md253-story-copy h3{font-size:clamp(19px,2vw,25px);line-height:1.65;font-weight:900;margin:11px 0;color:#0c3630}.md253-story-copy p{font-size:13px;color:#6c8279;line-height:2.15;margin:0 0 16px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.md253-story-meta{margin-top:auto;display:flex;gap:14px;align-items:center;justify-content:space-between;font-size:11px;color:#8aa198}.md253-story-meta span:last-child{color:#0b826f;font-weight:800}.md253-story-feature{grid-column:span 7;grid-row:span 2}.md253-story-feature .md253-story-pic{aspect-ratio:1.13;flex:1;min-height:500px}.md253-story-feature .md253-story-copy{position:absolute;right:0;bottom:0;left:0;padding:110px 28px 26px;background:linear-gradient(0deg,rgba(4,39,36,.95),transparent);border:0;color:white}.md253-story-feature .md253-story-copy h3{font-size:clamp(25px,3vw,37px);color:white;max-width:650px}.md253-story-feature .md253-story-copy p{color:#d9efe7}.md253-story-feature .md253-story-meta{color:#d2e7dc}.md253-story-feature .md253-story-meta span:last-child{color:#b5ffdc}.md253-story-feature .md253-story-eyebrow span:first-child{color:#9dedc7}.md253-story-medium{grid-column:span 5}.md253-story-medium .md253-story-pic{aspect-ratio:2.1}.md253-story:nth-child(n+4){grid-column:span 4}.md253-story:nth-child(7),.md253-story:nth-child(8){grid-column:span 6}.md253-story:nth-child(7) .md253-story-pic,.md253-story:nth-child(8) .md253-story-pic{aspect-ratio:1.9}.md253-empty{grid-column:1/-1;text-align:center;padding:70px 30px;color:#678378}
.md253-footer-teaser{margin-top:100px;padding:48px clamp(25px,4.8vw,75px);background:#0b574a;color:#f6fffa;display:flex;justify-content:space-between;align-items:center;gap:30px;border-radius:5px;position:relative;overflow:hidden}.md253-footer-teaser:after{content:"";position:absolute;width:470px;height:470px;border:1px solid #75c4aa55;border-radius:50%;left:-90px;top:-170px;pointer-events:none}.md253-footer-teaser span{font:700 11px Arial,sans-serif;letter-spacing:1.3px;color:#90e0c2}.md253-footer-teaser h2{color:white;font-size:clamp(28px,3vw,43px);margin:9px 0}.md253-footer-teaser p{color:#cbebe0;font-size:13px;margin:0}.md253-footer-teaser>a{border:1px solid #8dc9b8;color:white!important;padding:13px 17px;font-size:13px;font-weight:800;position:relative;z-index:1;white-space:nowrap;border-radius:4px}.md253-footer-teaser>a span{margin-right:24px}
/* Read the full article */
.md253-article-hero{position:relative;height:clamp(480px,49vw,660px);color:white;overflow:hidden;margin-top:20px;border-radius:6px}.md253-article-hero>img,.md253-article-hero-shade{position:absolute;inset:0;width:100%;height:100%}.md253-article-hero>img{object-fit:cover}.md253-article-hero-shade{background:linear-gradient(270deg,rgba(3,34,31,.96),rgba(3,39,35,.74) 47%,rgba(4,40,37,.15))}.md253-article-hero-content{position:relative;z-index:1;max-width:900px;padding:clamp(30px,5vw,70px);height:100%;display:flex;align-items:flex-start;flex-direction:column;justify-content:center}.md253-article-hero-content>a{position:absolute;top:30px;color:#e7fff3!important;font-size:12px;font-weight:900}.md253-article-hero-content .md253-kicker{color:#9ff2cd}.md253-article-hero h1{font-size:clamp(34px,5vw,76px);line-height:1.44;max-width:830px;color:white;margin:20px 0}.md253-article-hero p{font-size:clamp(14px,1.5vw,18px);line-height:2;max-width:630px;color:#e2f1eb}.md253-article-meta{font-size:12px;color:#abd7c6}.md253-article-meta b{margin:0 9px}.md253-article-copy{display:grid;grid-template-columns:190px minmax(0,740px);gap:45px;max-width:1050px;margin:85px auto 0;align-items:start}.md253-article-label{border-top:1px solid #0b816b;padding-top:16px;direction:ltr;text-align:left;font:700 11px Arial,sans-serif;color:#0b7661;letter-spacing:1.2px}.md253-article-text{font-size:clamp(16px,1.6vw,19px);line-height:2.65;color:#344f46}.md253-article-text p{margin:0 0 33px}.md253-disclaimer{grid-column:2;color:#82998f;font-size:12px;border-top:1px solid #d8e7de;padding-top:22px;line-height:2}.md253-related{margin-top:110px}.md253-related .md253-story-feature,.md253-related .md253-story-medium{grid-column:span 4;grid-row:auto}.md253-related .md253-story-feature .md253-story-pic,.md253-related .md253-story-medium .md253-story-pic{aspect-ratio:1.44;min-height:0}.md253-related .md253-story-feature .md253-story-copy{position:static;background:transparent;padding:17px 3px 18px;border-bottom:1px solid #d6e5dc}.md253-related .md253-story-feature .md253-story-copy h3{color:#0c3630;font-size:clamp(19px,2vw,25px)}.md253-related .md253-story-feature .md253-story-copy p{color:#6c8279}.md253-related .md253-story-feature .md253-story-meta{color:#8aa198}.md253-related .md253-story-feature .md253-story-meta span:last-child{color:#0b826f}
@media (max-width:1100px){.md253-book-frame,.md253-book-page{min-height:510px}.md253-paper-caption h3{font-size:24px}.md253-paper-caption p{font-size:11px}.md253-reader-stage{grid-template-columns:40px minmax(0,1fr) 40px;gap:8px}.md253-stage-nav{width:39px;height:48px}.md253-story-grid{gap:17px}.md253-story-feature .md253-story-pic{min-height:390px}.md253-article-copy{grid-template-columns:120px minmax(0,1fr);gap:35px}}
@media (max-width:780px){.md253-opening{min-height:500px}.md253-cover-content{padding:120px 30px 95px}.md253-cover-content h1{font-size:clamp(45px,8vw,70px)}.md253-book-frame,.md253-book-page{min-height:450px}.md253-paper-caption{right:17px;left:17px;bottom:23px}.md253-paper-caption h3{font-size:21px}.md253-paper-caption p{display:none}.md253-paper-top{inset:15px 15px auto}.md253-paper-read{font-size:11px}.md253-stories{padding-top:75px}.md253-reader{padding-top:70px}.md253-section-title{align-items:start;flex-direction:column;gap:11px}.md253-section-title>p{max-width:600px}.md253-story-feature,.md253-story-medium,.md253-story{grid-column:span 6;grid-row:auto}.md253-story-feature .md253-story-pic{aspect-ratio:1.44;min-height:0}.md253-story-feature .md253-story-copy{position:static;background:none;padding:17px 3px 18px;border-bottom:1px solid #d6e5dc}.md253-story-feature .md253-story-copy h3{color:#0c3630;font-size:22px}.md253-story-feature .md253-story-copy p{color:#6c8279}.md253-story-feature .md253-story-meta{color:#8aa198}.md253-story-feature .md253-story-meta span:last-child,.md253-story-feature .md253-story-eyebrow span:first-child{color:#0b826f}.md253-story:nth-child(n+4),.md253-story:nth-child(7),.md253-story:nth-child(8){grid-column:span 6}.md253-filter-line{flex-direction:column;align-items:stretch}.md253-search{max-width:none;width:100%}.md253-article-copy{display:block;margin:55px auto 0}.md253-article-label{display:block;margin-bottom:25px}.md253-disclaimer{margin-top:35px}}
@media (max-width:680px){.md253-journal{padding-bottom:40px}.md253-journal .md253-container{padding-inline:16px}.md253-opening{margin-top:12px;min-height:530px;border-radius:6px}.md253-cover-overlay{background:linear-gradient(0deg,rgba(3,37,33,.97),rgba(3,40,35,.63) 62%,rgba(3,42,39,.06))}.md253-cover-content{position:absolute;bottom:65px;padding:28px 24px;max-width:100%}.md253-cover-content h1{font-size:47px;line-height:1.28;margin:18px 0 10px}.md253-cover-content p{font-size:13px}.md253-cover-top{inset:18px 19px auto;font-size:9px}.md253-edition-line{display:none}.md253-cover-bottom{inset:auto 20px 20px}.md253-cover-bottom>a{max-width:60%;font-size:10px}.md253-cover-bottom strong{font-size:12px}.md253-ticker{gap:14px;font-size:11px}.md253-ticker-issue{display:none}.md253-reader-stage{grid-template-columns:27px minmax(0,1fr) 27px;gap:5px}.md253-stage-nav{width:27px;height:46px;border-radius:3px;font-size:21px!important;padding:0}.md253-book-frame{grid-template-columns:1fr;min-height:490px}.md253-book-page{min-height:490px;grid-column:1;grid-row:1}.md253-book-left,.md253-book-spine{display:none}.md253-paper-shade{background:linear-gradient(0deg,rgba(3,35,31,.97),rgba(3,35,31,.7) 43%,transparent 75%)}.md253-paper-caption{right:22px;left:22px;bottom:35px}.md253-paper-caption h3{font-size:27px}.md253-paper-caption p{display:-webkit-box;font-size:12px}.md253-paper-top{inset:18px 20px auto}.md253-leaf{width:100%;right:0!important;left:auto!important;transform-origin:left center!important}.md253-reader-bottom{padding:20px 0 0;gap:12px}.md253-reader-hint{display:none}.md253-swipe-hint{font-size:10px}.md253-section-title h2{font-size:32px}.md253-stories{padding-top:72px}.md253-story-grid{display:block}.md253-story{margin-bottom:24px}.md253-story-pic,.md253-story-feature .md253-story-pic,.md253-story-medium .md253-story-pic{aspect-ratio:1.6}.md253-story-copy h3{font-size:21px}.md253-footer-teaser{margin-top:55px;display:block;padding:30px 22px}.md253-footer-teaser>a{display:inline-flex;margin-top:25px}.md253-article-hero{height:550px}.md253-article-hero-shade{background:linear-gradient(0deg,rgba(3,34,31,.98),rgba(3,39,35,.62) 65%,rgba(4,40,37,.10))}.md253-article-hero-content{padding:25px;justify-content:end}.md253-article-hero h1{font-size:36px}.md253-article-hero p{font-size:13px}.md253-related{margin-top:65px}}
@media (prefers-reduced-motion:reduce){.md253-journal *, .md253-journal *:before,.md253-journal *:after{transition:none!important;animation:none!important}}

/* V254 — print-inspired open dental journal in the actual Magazine page */
.md253-journal .md253-container{max-width:1600px}
.md254-main{display:grid;grid-template-columns:minmax(225px,.25fr) minmax(0,.75fr);direction:rtl;align-items:center;gap:clamp(16px,2vw,34px);min-height:calc(100dvh - 130px);padding:8px 0 20px}
.md254-intro{padding:16px 8px 16px 0;align-self:center;color:#103e35;min-width:0}
.md254-label{letter-spacing:2px;font-size:10px;font-weight:800;color:#0e7964;direction:ltr;display:inline-block;border-bottom:2px solid #0e7964;padding-bottom:14px}
.md254-intro h1{font-size:clamp(38px,4.3vw,70px);line-height:1.3;letter-spacing:-1.5px;margin:30px 0 15px;color:#063e32;font-weight:900}
.md254-intro>p{font-size:clamp(12px,1.05vw,15px);line-height:2.35;color:#627b72;max-width:350px}
.md254-intro-facts{display:flex;gap:26px;margin:24px 0;align-items:center}.md254-intro-facts>span{font-size:20px;font-weight:900;color:#0a5b4b}.md254-intro-facts small{display:block;font-size:10px;font-weight:600;color:#8b9e95;margin-top:4px}
.md254-explore{background:#095a48;color:white!important;padding:13px 20px;display:inline-flex;gap:25px;align-items:center;border-radius:7px;font-size:12px;font-weight:800}
.md254-main .md253-reader{padding:0;min-width:0}.md254-reader-title{margin-bottom:12px!important;font-size:11px!important;color:#729185;flex-direction:row!important;justify-content:space-between}.md254-main .md253-reader-stage{grid-template-columns:30px minmax(0,1fr) 30px;gap:4px;align-items:center}
.md254-main .md253-stage-nav{width:30px;height:45px;border:1px solid #d4e4dc;background:#fff;color:#0a5b49;font-size:25px!important}
.md254-main .md253-book-frame{min-height:0;aspect-ratio:1.8/1;max-height:calc(100dvh - 235px);box-shadow:0 16px 35px #0a47301d,0 3px 2px #0a47301a;border:1px solid #d9e6dc;border-radius:5px;overflow:hidden;background:#fff}
.md254-main .md253-book-page{min-height:0;height:100%;background:#fff;overflow:hidden}.md254-main .md253-book-right{border-radius:0 4px 4px 0}.md254-main .md253-book-left{border-radius:4px 0 0 4px}
.md254-main .md253-book-spine{background:linear-gradient(90deg,transparent,#234c3b31 42%,#bfc9bf65 50%,#123f3126 58%,transparent);width:24px;z-index:3}
.md254-page-photo,.md254-editorial-sheet{height:100%;position:relative;overflow:hidden}.md254-page-photo>img{width:100%;height:100%;object-fit:cover;display:block}.md254-photo-gradient{position:absolute;inset:0;background:linear-gradient(0deg,#062a24d9,transparent 63%)}
.md254-photo-copy{position:absolute;bottom:7%;right:7%;left:7%;color:white;display:flex;flex-direction:column;gap:8px}.md254-photo-copy>span{font:700 10px Arial,sans-serif;letter-spacing:1.5px;color:#c7f4da}.md254-photo-copy strong{font-size:clamp(19px,2.3vw,38px);line-height:1.38;max-width:470px}.md254-photo-copy p{font-size:clamp(10px,.83vw,13px);line-height:1.85;color:#effff4;max-width:440px;margin:0}
.md254-editorial-sheet{padding:clamp(13px,2vw,30px);color:#102f27;display:flex;flex-direction:column;background:linear-gradient(120deg,#fdfdf9,#fff)}.md254-sheet-top{display:flex;justify-content:space-between;gap:8px;align-items:center;border-bottom:1px solid #cddfd3;padding-bottom:10px;color:#849d8d;font-size:9px}.md254-sheet-body{display:flex;flex-direction:column;min-height:0;flex:1;gap:clamp(6px,.85vw,13px);padding-top:clamp(8px,1.4vw,20px)}
.md254-eyebrow{color:#14826b;font-size:10px;font-weight:800}.md254-sheet-body h3{color:#0a4737;font-size:clamp(16px,2.1vw,34px);font-weight:900;line-height:1.35;margin:0}.md254-summary{color:#71877c;font-size:clamp(9px,.85vw,13px);line-height:1.85;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.md254-editorial-collage{display:grid;grid-template-columns:1.2fr .8fr;gap:7px;flex:1;min-height:0;max-height:45%}.md254-editorial-collage img{width:100%;height:100%;object-fit:cover;min-height:0}.md254-sheet-bottom{display:flex;justify-content:space-between;gap:12px;align-items:end}.md254-sheet-bottom p{color:#768c80;font-size:10px;line-height:1.65;max-width:260px;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.md254-sheet-bottom a{color:#075b49!important;white-space:nowrap;font-size:11px;font-weight:900;border-bottom:1px solid #075b49;padding:5px 0}.md254-page-number{position:absolute;bottom:8px;left:16px;color:#849d8d;font-size:10px;font-family:Arial,sans-serif}
.md254-main .md253-reader-bottom{padding-top:12px}.md254-main .md253-reader-hint,.md254-main .md253-swipe-hint{font-size:10px}
@media(max-width:1000px){.md254-main{grid-template-columns:minmax(180px,.28fr) minmax(0,.72fr)}.md254-intro h1{font-size:39px}.md254-main .md253-book-frame{max-height:none}.md254-sheet-bottom p{display:none}}
@media(max-width:780px){.md254-main{display:block;min-height:0}.md254-intro{padding:20px 5px}.md254-intro h1{font-size:40px;margin:12px 0}.md254-intro>p{max-width:none}.md254-intro-facts{display:none}.md254-main .md253-reader{padding-top:20px}.md254-main .md253-book-frame{aspect-ratio:1.42/1}.md254-main .md253-book-page{min-height:0}.md254-page-photo strong{font-size:22px}}
@media(max-width:680px){.md254-main .md253-book-frame{aspect-ratio:3/4;min-height:0}.md254-main .md253-book-page{min-height:0;height:100%}.md254-main .md253-book-left{display:none}.md254-intro{padding:12px 4px}.md254-intro h1{font-size:37px}.md254-main .md253-reader-stage{grid-template-columns:28px minmax(0,1fr) 28px}.md254-page-photo strong{font-size:25px}.md254-editorial-sheet{padding:23px}.md254-sheet-body h3{font-size:26px}.md254-summary{font-size:12px}.md254-sheet-bottom p{display:block}.md254-editorial-collage{max-height:50%}}


/* V255 – fix layout, make the real flipbook the main editorial focus. */
.md253-journal{background:#f7faf8!important}
.md253-journal .md253-container{max-width:1500px!important;width:100%!important;margin-inline:auto!important}
.md253-topline{height:34px!important;margin-top:0!important}
.md254-main{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:12px!important;min-height:0!important;padding:6px 0 26px!important}
.md254-intro{display:grid!important;grid-template-columns:1fr auto!important;grid-template-areas:'label facts' 'title facts' 'desc button'!important;gap:4px 18px!important;align-items:center!important;padding:5px 0!important;margin:0!important;width:100%!important}
.md254-intro .md254-label{grid-area:label!important;letter-spacing:1.2px!important;font-size:10px!important;border:0!important;padding:0!important}
.md254-intro h1{grid-area:title!important;font-size:clamp(26px,2.6vw,39px)!important;line-height:1.35!important;margin:0!important;letter-spacing:0!important}
.md254-intro>p{grid-area:desc!important;font-size:clamp(11px,1vw,13px)!important;line-height:1.8!important;margin:0!important;max-width:760px!important}
.md254-intro-facts{grid-area:facts!important;display:flex!important;gap:15px!important;margin:0!important}
.md254-intro-facts>span{font-size:16px!important}.md254-explore{grid-area:button!important;padding:10px 16px!important;border-radius:10px!important;font-size:11px!important;white-space:nowrap!important}
.md254-main .md253-reader{display:block!important;width:100%!important;padding:0!important;min-width:0!important}
.md254-reader-title{margin:0 0 8px!important;font-size:11px!important}
.md254-main .md253-reader-stage{display:grid!important;grid-template-columns:46px minmax(0,1fr) 46px!important;gap:10px!important;align-items:center!important;max-width:1320px!important;margin:auto!important}
.md254-main .md253-stage-nav{width:44px!important;height:58px!important;border-radius:13px!important;font-size:28px!important;box-shadow:0 4px 16px #12382b13!important}
.md254-main .md253-book-frame{width:100%!important;height:clamp(360px,calc(100dvh - 225px),690px)!important;min-height:0!important;max-height:none!important;aspect-ratio:auto!important;border-radius:7px!important;box-shadow:0 15px 50px #082d231a!important}
.md254-main .md253-book-page{height:100%!important;min-height:0!important}
.md254-page-photo>img{object-fit:cover!important;object-position:center center!important;filter:none!important}
.md254-photo-gradient,.md254-photo-copy{display:none!important}
.md255-photo-label{position:absolute;top:18px;right:19px;left:19px;display:flex;justify-content:space-between;align-items:center;gap:8px;direction:ltr;color:#0b5347;background:#ffffffec;padding:9px 12px;border-radius:6px;font-size:10px;box-shadow:0 3px 18px #051b1420}
.md255-photo-label strong{font-family:Vazirmatn,sans-serif;font-size:11px;direction:rtl}
.md254-editorial-sheet{padding:clamp(16px,2.6vw,38px)!important}
.md254-sheet-body{padding-top:clamp(9px,1.5vw,20px)!important;gap:clamp(7px,1vw,12px)!important}
.md254-sheet-body h3{font-size:clamp(20px,2.3vw,36px)!important;line-height:1.4!important}
.md254-summary{font-size:clamp(11px,1vw,14px)!important;line-height:2!important;-webkit-line-clamp:3!important}
.md254-editorial-collage{max-height:46%!important;min-height:100px!important;overflow:hidden!important}
.md254-editorial-collage img{object-position:center!important;object-fit:cover!important}
.md254-sheet-bottom{padding-bottom:15px!important}.md254-sheet-bottom a{font-size:12px!important}
.md254-main .md253-reader-bottom{max-width:1320px!important;margin:auto!important}
/* Never let the chat mascot cover editorial pages. */
body:has(.md253-journal) #md-chat-root:not(:has(.md-chat-panel.open)){display:none!important}
@media(max-width:900px){.md254-intro{grid-template-columns:1fr auto!important}.md254-intro-facts{display:none!important}.md254-main .md253-book-frame{height:clamp(340px,calc(100dvh - 235px),600px)!important}.md254-main .md253-reader-stage{grid-template-columns:36px minmax(0,1fr) 36px!important;gap:5px!important}.md254-main .md253-stage-nav{width:34px!important;height:50px!important}.md254-sheet-bottom p{display:none!important}}
@media(max-width:680px){.md254-intro{display:block!important}.md254-intro h1{font-size:28px!important;margin:4px 0!important}.md254-intro>p{font-size:12px!important}.md254-explore{display:none!important}.md254-main .md253-book-frame{height:min(65dvh,560px)!important;min-height:390px!important;aspect-ratio:auto!important}.md254-main .md253-reader-stage{grid-template-columns:26px minmax(0,1fr) 26px!important}.md254-main .md253-stage-nav{width:26px!important;height:43px!important}.md254-editorial-collage{max-height:42%!important}.md254-sheet-body h3{font-size:23px!important}.md254-sheet-bottom p{display:none!important}.md255-photo-label{top:12px;right:10px;left:10px;font-size:8px}.md255-photo-label strong{font-size:10px}}
