.home-articles,
.article-details {
    --article-primary: #286fc5;
    --article-primary-dark: #173d72;
    --article-accent: #58bf7c;
    --article-heading: #18335e;
    --article-muted: #71819b;
    font-family: var(--gna-font-family);
}

.home-articles { position: relative; overflow: hidden; padding: 78px 20px 88px; background: linear-gradient(180deg, #fff 0%, #f4f8fd 100%); }
.home-articles::before { position: absolute; inset: 0; background: radial-gradient(circle at 8% 18%, rgba(42,113,203,.1),transparent 26%),radial-gradient(circle at 92% 82%,rgba(88,191,124,.1),transparent 25%); content: ""; pointer-events: none; }
.home-articles__container { position: relative; width: min(1320px,100%); margin: 0 auto; }
.home-articles__heading { max-width: 680px; margin: 0 auto 38px; text-align: center; }
.home-articles__eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 9px; color: var(--article-primary); font-size: .82rem; font-weight: 850; }
.home-articles__eyebrow i { display: block; width: 29px; height: 2px; border-radius: 8px; background: linear-gradient(90deg,var(--article-primary),var(--article-accent)); }
.home-articles__heading h2 { margin: 0; color: var(--article-heading); font-size: clamp(1.7rem,2.8vw,2.35rem); font-weight: 900; line-height: 1.45; }
.home-articles__heading p { margin: 9px auto 0; color: var(--article-muted); font-size: .9rem; line-height: 1.9; }
.home-articles__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }

.home-article-card { display: grid; grid-template-rows: 245px 1fr; min-width: 0; overflow: hidden; border: 1px solid #dfe8f3; border-radius: 26px; background: rgba(255,255,255,.96); box-shadow: 0 18px 48px rgba(26,60,105,.09); transition: transform .3s ease,box-shadow .3s ease,border-color .3s ease; }
.home-article-card:hover { transform: translateY(-8px); border-color: #c3d8ef; box-shadow: 0 27px 58px rgba(26,60,105,.16); }
.home-article-card__media { position: relative; display: grid; overflow: hidden; place-items: center; padding: 23px; background: linear-gradient(145deg,#e9f2fc,#d9e8f8); text-decoration: none!important; }
.home-article-card__media::before { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.25) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.25) 1px,transparent 1px); background-size: 30px 30px; content: ""; mask-image: linear-gradient(to bottom,#000,transparent); }
.home-article-book { position: relative; display: block; width: 138px; height: 184px; transform: perspective(900px) rotateY(-8deg) rotateX(2deg); filter: drop-shadow(17px 18px 13px rgba(25,49,83,.27)); transition: transform .42s cubic-bezier(.2,.75,.2,1),filter .42s ease; }
.home-article-card:hover .home-article-book { transform: perspective(900px) rotateY(0) rotateX(0) translateY(-4px); filter: drop-shadow(10px 22px 15px rgba(25,49,83,.3)); }
.home-article-book img { position: relative; z-index: 2; width: 100%; height: 100%; border-radius: 4px 10px 10px 4px; object-fit: cover; }
.home-article-book__pages { position: absolute; z-index: 1; top: 4px; right: -7px; bottom: 4px; width: 13px; border-radius: 0 7px 7px 0; background: repeating-linear-gradient(90deg,#fff 0 2px,#d7dfeb 2px 3px); transform: skewY(2deg); }
.home-article-book__spine { position: absolute; z-index: 3; inset: 0 auto 0 0; width: 10px; border-radius: 4px 0 0 4px; background: linear-gradient(90deg,rgba(7,28,57,.55),rgba(255,255,255,.16),rgba(9,35,68,.18)); }
.home-article-card__format { position: absolute; z-index: 4; right: 16px; bottom: 14px; display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; border: 1px solid rgba(255,255,255,.65); border-radius: 999px; background: rgba(22,51,94,.82); color: #fff; font-size: .68rem; font-weight: 800; backdrop-filter: blur(8px); }
.home-article-card__format i { width: 6px; height: 6px; border-radius: 50%; background: #6de18f; box-shadow: 0 0 0 4px rgba(109,225,143,.18); }
.home-article-card__content { display: flex; align-items: flex-start; flex-direction: column; min-width: 0; padding: 23px 23px 22px; }
.home-article-card__meta { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; color: #8996aa; font-size: .67rem; }
.home-article-card__category { padding: 5px 9px; border-radius: 999px; background: #edf5ff; color: var(--article-primary); font-weight: 850; }
.home-article-card h3 { margin: 0 0 10px!important; color: var(--article-heading)!important; font-size: 1.05rem!important; font-weight: 900!important; line-height: 1.75!important; }
.home-article-card h3 a { color: inherit!important; text-decoration: none!important; }
.home-article-card p { display: -webkit-box; margin: 0 0 17px; overflow: hidden; color: var(--article-muted); font-size: .75rem; line-height: 1.9; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.home-article-card__link { display: inline-flex; align-items: center; gap: 5px; margin-top: auto; padding: 8px 13px; border-radius: 10px; background: #edf5ff; color: var(--article-primary)!important; font-size: .76rem; font-weight: 850; text-decoration: none!important; }
.home-article-card.is-flipbook .home-article-card__link { background: linear-gradient(135deg,var(--article-primary),#3b8be0); color: #fff!important; box-shadow: 0 8px 18px rgba(40,111,197,.2); }
.home-article-card__link svg,.article-details__back svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.home-article-card:hover .home-article-card__link svg { transform: translateX(-3px); }
.home-articles__empty { display: flex; align-items: center; flex-direction: column; padding: 38px 20px; border: 1px dashed #bfd0e6; border-radius: 20px; background: rgba(255,255,255,.8); color: var(--article-muted); text-align: center; }
.home-articles__empty svg { width: 45px; height: 45px; margin-bottom: 12px; fill: none; stroke: var(--article-primary); stroke-width: 1.7; }
.home-articles__empty strong { margin-bottom: 5px; color: var(--article-heading); font-weight: 900; }
.home-articles__empty span { font-size: .8rem; }

.article-details { min-height: 74vh; padding: 54px 20px 88px; background: radial-gradient(circle at 7% 12%,rgba(40,111,197,.1),transparent 27%),radial-gradient(circle at 93% 82%,rgba(88,191,124,.08),transparent 25%),linear-gradient(180deg,#f5f9fd 0%,#fff 68%); }
.article-details__container { width: min(1280px,100%); margin: 0 auto; }
.article-details__back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 22px; color: var(--article-primary)!important; font-size: .82rem; font-weight: 800; text-decoration: none!important; }
.article-details__back svg { transition: transform .2s ease; }
.article-details__back:hover svg { transform: translateX(-3px); }
.article-details__header { max-width: 870px; margin: 0 auto 30px; text-align: center; }
.article-details__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 15px; color: #71819b; font-size: .74rem; }
.article-details__header .article-details__meta { justify-content: center; }
.article-details__meta span,.article-details__meta b { padding: 5px 10px; border-radius: 999px; background: #e8f2ff; color: var(--article-primary); font-weight: 850; }
.article-details__meta b { background: #e8f8ed; color: #25864a; }
.article-details h1 { margin: 0 0 16px!important; color: var(--article-heading)!important; font-size: clamp(1.8rem,3.2vw,2.85rem)!important; font-weight: 950!important; line-height: 1.55!important; }
.article-details__header > p { max-width: 760px; margin: 0 auto; color: #63758f; font-size: .96rem; line-height: 2; }

.article-showcase { position: relative; display: grid; grid-template-columns: minmax(0,1.08fr) minmax(360px,.82fr); overflow: hidden; min-height: 650px; border: 1px solid #dce7f3; border-radius: 34px; background: #fff; box-shadow: 0 30px 80px rgba(23,61,114,.13); isolation: isolate; }
.article-showcase::after { position: absolute; z-index: 2; top: 9%; bottom: 9%; left: 38.5%; width: 1px; background: linear-gradient(transparent,#d6e3f0 18%,#d6e3f0 82%,transparent); content: ""; pointer-events: none; }
.article-showcase__copy { position: relative; z-index: 3; display: flex; align-items: flex-start; flex-direction: column; justify-content: center; padding: clamp(38px,5.2vw,72px); }
.article-showcase__eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 13px; color: var(--article-primary); font-size: .78rem; font-weight: 900; }
.article-showcase__eyebrow i { display: block; width: 27px; height: 2px; border-radius: 9px; background: linear-gradient(90deg,var(--article-primary),var(--article-accent)); }
.article-showcase__summary { max-width: 690px; margin: 0; color: #667992; font-size: .94rem; line-height: 2.05; }
.article-showcase__about { width: 100%; margin-top: 26px; padding: 22px 23px 21px; border: 1px solid #e0ebf5; border-radius: 20px; background: linear-gradient(145deg,#f9fbfe,#f3f8fc); }
.article-showcase__about-title { display: flex; align-items: center; gap: 11px; margin-bottom: 13px; }
.article-showcase__about-title > span { display: grid; width: 39px; height: 39px; flex: 0 0 39px; place-items: center; border-radius: 12px; background: #e5f2ff; color: var(--article-primary); }
.article-showcase__about-title svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.article-showcase__about-title div { display: grid; gap: 2px; }
.article-showcase__about-title small { color: #8493a8; font-size: .66rem; }
.article-showcase__about-title h2 { margin: 0!important; color: var(--article-heading); font-size: 1.04rem; font-weight: 900; }
.article-showcase__about .article-details__body { max-height: 205px; overflow: auto; padding-left: 8px; color: #52657e; font-size: .82rem; line-height: 2.05; scrollbar-color: #b8cce0 transparent; }
.article-showcase__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 25px; }
.article-showcase__actions button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 45px; padding: 9px 17px; border-radius: 13px; font: inherit; font-size: .79rem; font-weight: 900; cursor: pointer; transition: transform .2s ease,box-shadow .2s ease,background .2s ease; }
.article-showcase__actions button:hover { transform: translateY(-2px); }
.article-showcase__actions svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.article-showcase__primary { border: 0; background: linear-gradient(135deg,var(--article-primary),#3d8cdb); color: #fff; box-shadow: 0 12px 24px rgba(40,111,197,.23); }
.article-showcase__secondary { border: 1px solid #d5e2ef; background: #fff; color: #48627e; }
.article-showcase__secondary.is-success { border-color: #78c995; background: #ebf9f0; color: #237b43; }
.article-showcase__facts { display: flex; flex-wrap: wrap; gap: 12px 18px; margin-top: 17px; color: #7c8ca1; font-size: .67rem; }
.article-showcase__facts span { display: inline-flex; align-items: center; gap: 6px; }
.article-showcase__facts i { width: 6px; height: 6px; border-radius: 50%; background: var(--article-accent); box-shadow: 0 0 0 4px rgba(88,191,124,.12); }

.article-showcase__visual { position: relative; z-index: 1; display: grid; align-content: center; justify-items: center; overflow: hidden; min-height: 650px; padding: 45px 30px 30px; background: linear-gradient(150deg,#edf6fd 0%,#e1eef9 100%); }
.article-showcase__visual::before { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.38) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.38) 1px,transparent 1px); background-size: 36px 36px; content: ""; mask-image: radial-gradient(circle,#000 0,transparent 72%); }
.article-showcase__shape { position: absolute; display: block; border-radius: 50%; pointer-events: none; }
.article-showcase__shape--one { top: 10%; right: 4%; width: 150px; height: 150px; background: rgba(78,153,221,.14); }
.article-showcase__shape--two { bottom: 8%; left: -6%; width: 190px; height: 190px; border: 35px solid rgba(88,191,124,.09); }
.article-preview { position: relative; z-index: 2; width: min(100%,430px); padding: 20px 20px 36px; border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; perspective: 1500px; }
.article-preview__book { position: relative; display: block; width: 265px; height: 374px; margin: 0 auto; transform: rotateY(12deg) rotateX(1.5deg); transform-style: preserve-3d; filter: drop-shadow(-24px 29px 22px rgba(24,52,88,.3)); transition: transform .55s cubic-bezier(.2,.78,.2,1),filter .55s ease; }
.article-preview:hover .article-preview__book,.article-preview:focus-visible .article-preview__book { transform: rotateY(3deg) rotateX(0) translateY(-8px); filter: drop-shadow(-12px 32px 25px rgba(24,52,88,.34)); }
.article-preview__cover { position: absolute; z-index: 3; inset: 0; overflow: hidden; border-radius: 5px 14px 14px 5px; background: #194785; box-shadow: inset 9px 0 12px rgba(255,255,255,.08),inset -8px 0 14px rgba(7,29,58,.23); }
.article-preview__cover::after { position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.25); border-radius: inherit; content: ""; pointer-events: none; }
.article-preview__cover img { width: 100%; height: 100%; object-fit: cover; }
.article-preview__pages { position: absolute; z-index: 1; top: 8px; right: -14px; bottom: 8px; width: 24px; border-radius: 0 12px 12px 0; background: repeating-linear-gradient(90deg,#fdfefe 0 2px,#cbd7e3 2px 3px); transform: translateZ(-7px) skewY(1.5deg); box-shadow: 8px 7px 14px rgba(25,53,86,.18); }
.article-preview__spine { position: absolute; z-index: 4; inset: 0 auto 0 0; width: 18px; border-radius: 5px 0 0 5px; background: linear-gradient(90deg,rgba(4,25,52,.58),rgba(255,255,255,.13),rgba(7,35,69,.05)); }
.article-preview__play { position: absolute; z-index: 5; right: 50%; bottom: 7px; display: flex; align-items: center; gap: 10px; min-width: 178px; padding: 10px 13px 10px 16px; border: 1px solid rgba(255,255,255,.82); border-radius: 999px; background: rgba(255,255,255,.92); color: var(--article-heading); box-shadow: 0 15px 32px rgba(34,63,98,.19); transform: translateX(50%); backdrop-filter: blur(10px); }
.article-preview__play > svg { width: 40px; height: 40px; flex: 0 0 40px; padding: 10px; border-radius: 50%; background: linear-gradient(135deg,var(--article-primary),#4798dc); fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.article-preview__play > span { display: grid; gap: 2px; text-align: right; }
.article-preview__play small { color: #8695a8; font-size: .62rem; }
.article-preview__play strong { font-size: .75rem; font-weight: 900; }
.article-showcase__visual > p { position: relative; z-index: 2; display: flex; align-items: center; gap: 8px; margin: 14px 0 0; color: #73869c; font-size: .68rem; }
.article-showcase__visual > p span { width: 7px; height: 7px; border-radius: 50%; background: #54bd78; box-shadow: 0 0 0 5px rgba(84,189,120,.13); }

.article-reader-modal[hidden] { display: none!important; }
.article-reader-modal { position: fixed; z-index: 2000; inset: 0; display: grid; padding: 18px; place-items: center; opacity: 0; transition: opacity .24s ease; }
.article-reader-modal.is-visible { opacity: 1; }
.article-reader-modal__backdrop { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: rgba(5,17,34,.82); cursor: zoom-out; backdrop-filter: blur(12px); }
.article-reader-modal__dialog { position: relative; z-index: 2; width: min(1440px,calc(100vw - 36px)); max-height: calc(100vh - 36px); overflow: visible; border: 1px solid rgba(255,255,255,.17); border-radius: 26px; box-shadow: 0 35px 110px rgba(0,0,0,.5); transform: translateY(18px) scale(.98); transition: transform .28s cubic-bezier(.2,.75,.25,1); }
.article-reader-modal.is-visible .article-reader-modal__dialog { transform: translateY(0) scale(1); }
.article-reader-modal__close { position: absolute; z-index: 20; top: -13px; left: -13px; display: grid; width: 42px; height: 42px; padding: 0; place-items: center; border: 3px solid rgba(255,255,255,.7); border-radius: 50%; background: #fff; color: #173d72; box-shadow: 0 9px 24px rgba(0,0,0,.25); cursor: pointer; }
.article-reader-modal__close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
body.article-reader-open { overflow: hidden; }

.article-reader { overflow: hidden; width: 100%; margin: 0; border-radius: 25px; background: #142946; }
.article-reader:fullscreen { width: 100vw; height: 100vh; border: 0; border-radius: 0; }
.article-reader:fullscreen .article-reader__stage { height: calc(100vh - 140px); min-height: 0; }
.article-reader__toolbar { display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 62px; padding: 11px 18px; border-bottom: 1px solid rgba(255,255,255,.1); background: rgba(9,28,52,.97); color: #fff; }
.article-reader__identity { display: flex; align-items: center; min-width: 0; gap: 10px; }
.article-reader__identity > span { display: grid; width: 38px; height: 38px; flex: 0 0 38px; place-items: center; border-radius: 11px; background: linear-gradient(145deg,#367fcc,#50a067); }
.article-reader__identity i { width: 15px; height: 18px; border: 2px solid #fff; border-radius: 2px; box-shadow: 4px 3px 0 rgba(255,255,255,.35); }
.article-reader__identity div { display: grid; min-width: 0; gap: 2px; }
.article-reader__identity strong { max-width: 520px; overflow: hidden; font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
.article-reader__identity small { color: #a9b9cd; font-size: .64rem; }
.article-reader__actions { display: flex; flex: 0 0 auto; gap: 6px; direction: ltr; }
.article-reader__actions button,.article-reader__actions a { display: grid; width: 37px; height: 37px; padding: 0; place-items: center; border: 1px solid rgba(255,255,255,.14); border-radius: 10px; background: rgba(255,255,255,.07); color: #fff!important; font: 700 1.25rem/1 sans-serif; text-decoration: none!important; cursor: pointer; transition: background .2s ease,transform .2s ease; }
.article-reader__actions button:hover,.article-reader__actions a:hover { background: rgba(255,255,255,.16); transform: translateY(-1px); }
.article-reader__actions button.is-success { background: rgba(88,191,124,.3); }
.article-reader__actions svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.article-reader__stage { position: relative; display: grid; height: min(68vh,720px); min-height: 470px; place-items: center; overflow: hidden; padding: 32px 78px; background: radial-gradient(circle at 50% 42%,#3b5c7e 0,#203b5b 38%,#11253e 79%); }
.article-reader__stage::after { position: absolute; right: 13%; bottom: 7%; left: 13%; height: 9%; border-radius: 50%; background: rgba(0,0,0,.32); content: ""; filter: blur(24px); pointer-events: none; }
.article-reader__ambient { position: absolute; width: 68%; height: 58%; border-radius: 50%; background: rgba(91,176,231,.17); filter: blur(80px); pointer-events: none; }
.article-reader__hint { position: absolute; z-index: 4; top: 14px; left: 50%; display: flex; align-items: center; gap: 7px; padding: 6px 11px; border: 1px solid rgba(255,255,255,.1); border-radius: 999px; background: rgba(9,29,53,.35); color: #bac9d9; font-size: .62rem; transform: translateX(-50%); backdrop-filter: blur(8px); }
.article-reader__hint span { width: 5px; height: 5px; border-radius: 50%; background: #63cf85; }
.article-reader__book { position: relative; z-index: 2; width: min(940px,86%); height: min(610px,60vh); transition: transform .25s ease; transform: scale(var(--reader-zoom,1)); transform-origin: center; filter: drop-shadow(0 20px 24px rgba(0,0,0,.26)); }
.article-reader__book.is-turning { filter: drop-shadow(0 27px 32px rgba(0,0,0,.4)); }
.article-reader__book .stf__wrapper { perspective: 2200px!important; }
.article-reader__book .stf__item { box-shadow: 0 0 2px rgba(9,29,53,.15); }
.article-reader__page { overflow: hidden; background: #fff; }
.article-reader__page::after { position: absolute; inset: 0; border: 1px solid rgba(17,51,90,.1); content: ""; pointer-events: none; }
.article-reader__page img { display: block; width: 100%; height: 100%; object-fit: contain; background: #fff; }
.article-reader__loading,.article-reader__fallback { position: relative; z-index: 3; display: flex; align-items: center; flex-direction: column; color: #fff; text-align: center; }
.article-reader__loading[hidden],.article-reader__fallback[hidden],.article-reader__book[hidden] { display: none!important; }
.article-reader__loading strong { margin-top: 15px; font-size: .86rem; }
.article-reader__loading small { margin-top: 5px; color: #adc1d7; }
.article-reader__spinner { width: 42px; height: 42px; border: 3px solid rgba(255,255,255,.16); border-top-color: #68d68c; border-radius: 50%; animation: article-spin .85s linear infinite; }
@keyframes article-spin { to { transform: rotate(360deg); } }
.article-reader__fallback p { margin: 7px 0 15px; color: #becbda; }
.article-reader__fallback a { padding: 9px 15px; border-radius: 10px; background: #fff; color: #173d72!important; font-weight: 800; text-decoration: none!important; }
.article-reader__nav { position: absolute; z-index: 6; top: 50%; display: grid; width: 48px; height: 62px; place-items: center; border: 1px solid rgba(255,255,255,.14); border-radius: 15px; background: rgba(8,25,48,.65); color: #fff; cursor: pointer; transform: translateY(-50%); transition: background .2s ease,transform .2s ease; backdrop-filter: blur(9px); }
.article-reader__nav:hover { background: rgba(47,116,194,.88); transform: translateY(-50%) scale(1.04); }
.article-reader__nav:disabled { opacity: .28; cursor: default; transform: translateY(-50%); }
.article-reader__nav svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.article-reader__nav--previous { right: 18px; }
.article-reader__nav--next { left: 18px; }
.article-reader__footer { display: grid; grid-template-columns: auto minmax(100px,1fr) auto; align-items: center; gap: 14px; padding: 10px 18px; border-top: 1px solid rgba(255,255,255,.08); background: #10243e; color: #c7d4e4; font-size: .68rem; }
.article-reader__track { height: 4px; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.12); direction: ltr; }
.article-reader__track i { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#55bd7a,#4d9ce5); transition: width .25s ease; }
.article-reader__thumbnails { display: flex; height: 87px; gap: 8px; overflow-x: auto; padding: 9px 14px 11px; background: #0d2038; scrollbar-color: #456789 transparent; }
.article-reader__thumbnail { width: 48px; height: 64px; flex: 0 0 48px; overflow: hidden; padding: 0; border: 2px solid transparent; border-radius: 5px; background: #fff; opacity: .55; cursor: pointer; transition: opacity .2s ease,transform .2s ease,border-color .2s ease; }
.article-reader__thumbnail:hover { opacity: .86; transform: translateY(-2px); }
.article-reader__thumbnail.is-active { border-color: #64ce85; opacity: 1; }
.article-reader__thumbnail img { width: 100%; height: 100%; object-fit: cover; }

.article-details__content-card { overflow: hidden; border: 1px solid #e0e8f3; border-radius: 26px; background: #fff; box-shadow: 0 18px 55px rgba(26,60,105,.09); }
.article-details__hero { height: clamp(260px,42vw,470px); overflow: hidden; background: #edf4fb; }
.article-details__hero img { width: 100%; height: 100%; object-fit: cover; }
.article-details__content { padding: clamp(27px,5vw,58px); }
.article-details__content h2 { margin: 0 0 20px; color: var(--article-heading); font-size: 1.3rem; font-weight: 900; }
.article-details__body { color: #435671; font-size: .96rem; line-height: 2.25; white-space: pre-line; }

@media (max-width: 1080px) {
    .home-articles__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .article-showcase { grid-template-columns: minmax(0,1fr) 390px; }
    .article-showcase::after { left: 390px; }
    .article-showcase__copy { padding: 40px; }
    .article-preview__book { width: 230px; height: 325px; }
}

@media (max-width: 820px) {
    .article-details { padding: 38px 14px 64px; }
    .article-showcase { grid-template-columns: 1fr; }
    .article-showcase::after { display: none; }
    .article-showcase__visual { min-height: 510px; order: -1; }
    .article-showcase__copy { padding: 38px 32px 42px; }
    .article-reader-modal { padding: 8px; }
    .article-reader-modal__dialog { width: calc(100vw - 16px); max-height: calc(100vh - 16px); border-radius: 20px; }
    .article-reader-modal__close { top: 8px; left: 8px; width: 38px; height: 38px; border-width: 2px; }
    .article-reader { border-radius: 19px; }
    .article-reader__identity { padding-left: 42px; }
    .article-reader__identity strong { max-width: 310px; }
    .article-reader__stage { height: calc(100vh - 211px); min-height: 420px; padding: 30px 55px; }
    .article-reader__book { width: min(86vw,740px); height: min(64vh,590px); }
}

@media (max-width: 720px) {
    .home-articles { padding: 58px 14px 66px; }
    .home-articles__grid { grid-template-columns: 1fr; }
    .home-article-card { grid-template-columns: 38% 62%; grid-template-rows: minmax(210px,auto); }
    .home-article-card__media { padding: 18px 8px; }
    .home-article-book { width: 108px; height: 150px; }
    .home-article-card__content { padding: 19px 16px; }
    .home-article-card__format { right: 8px; bottom: 8px; padding: 5px 8px; }
    .article-details__header { padding: 0 8px; }
}

@media (max-width: 580px) {
    .article-details { padding-inline: 9px; }
    .article-showcase { border-radius: 24px; }
    .article-showcase__visual { min-height: 410px; padding: 25px 14px; }
    .article-preview { width: 100%; padding-bottom: 32px; }
    .article-preview__book { width: 185px; height: 262px; }
    .article-preview__play { min-width: 164px; }
    .article-showcase__copy { padding: 30px 21px 34px; }
    .article-details h1 { font-size: 1.55rem!important; }
    .article-showcase__about { padding: 18px; }
    .article-showcase__about .article-details__body { max-height: none; }
    .article-showcase__actions { display: grid; width: 100%; grid-template-columns: 1fr 1fr; }
    .article-showcase__facts { line-height: 1.8; }
    .article-reader__toolbar { min-height: 55px; padding: 8px 10px; }
    .article-reader__identity > span,.article-reader__identity small { display: none; }
    .article-reader__identity { padding-left: 39px; }
    .article-reader__identity strong { max-width: 120px; font-size: .68rem; }
    .article-reader__actions { gap: 3px; }
    .article-reader__actions button,.article-reader__actions a { width: 33px; height: 33px; border-radius: 9px; }
    .article-reader__stage { height: calc(100vh - 194px); min-height: 390px; padding: 35px 42px 25px; }
    .article-reader__book { width: min(80vw,430px); height: min(65vh,590px); }
    .article-reader__hint { top: 9px; width: max-content; max-width: 70%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .article-reader__nav { width: 36px; height: 50px; border-radius: 11px; }
    .article-reader__nav--previous { right: 4px; }
    .article-reader__nav--next { left: 4px; }
    .article-reader__footer { gap: 8px; padding-inline: 11px; }
    .article-reader__thumbnails { height: 76px; }
    .article-reader__thumbnail { width: 41px; height: 55px; flex-basis: 41px; }
    .article-details__content-card { border-radius: 20px; }
}

@media (max-width: 430px) {
    .home-article-card { grid-template-columns: 42% 58%; }
    .home-article-card p { display: none; }
    .home-article-card h3 { font-size: .9rem!important; }
    .article-showcase__actions { grid-template-columns: 1fr; }
    .article-showcase__facts span:last-child { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .home-article-card,.home-article-book,.article-preview__book,.article-reader-modal,.article-reader-modal__dialog,.article-reader__spinner { transition: none; animation: none; }
}
