:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#202a4a;background:#fff;--accent:#0b55d9;--border:#dbe4f2;--muted:#68738d}
*{box-sizing:border-box}body{margin:0;line-height:1.6}a{color:inherit}.wrap{width:min(1240px,calc(100% - 40px));margin:0 auto}
.site-header{background:#fff;border-bottom:1px solid #edf1f6}.site-header .wrap{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{display:inline-flex;align-items:center;font-weight:700;text-decoration:none;font-size:20px}.brand img{display:block;max-width:170px;max-height:52px;width:auto;height:auto}.site-header nav{display:flex;gap:24px;flex-wrap:wrap}.site-header nav a{text-decoration:none}.site-header nav a:hover{color:var(--accent)}
.page{margin:0;padding:0}.page-hero{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(300px,.95fr);gap:clamp(34px,5vw,78px);align-items:center;padding:clamp(34px,5vw,72px) 0 clamp(28px,4vw,56px)}
.page-hero__content{display:grid;align-content:start;gap:clamp(16px,1.6vw,24px)}
.lio-breadcrumbs{margin:0}.lio-breadcrumbs ol{display:flex;flex-wrap:wrap;gap:5px 7px;margin:0;padding:0;list-style:none;color:var(--muted);font-size:13px}.lio-breadcrumbs li:not(:last-child)::after{content:"/";margin-left:7px;color:#a5adbd}.lio-breadcrumbs a{text-decoration:none}.lio-breadcrumbs a:hover{color:var(--accent)}
.page-hero h1{margin:0;max-width:900px;font-size:clamp(36px,4.2vw,64px);line-height:1.06;letter-spacing:-.012em;font-weight:600}.page-hero__summary{max-width:760px;font-size:clamp(17px,1.25vw,20px);line-height:1.5}.page-hero__summary p{margin:0}.page-hero__date{color:var(--muted);font-size:14px}
.page-hero__actions{display:flex;gap:12px;flex-wrap:wrap}.cta{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:10px 22px;border:1px solid var(--accent);border-radius:999px;color:var(--accent);text-decoration:none;font-weight:600;transition:background-color .18s ease,color .18s ease,border-color .18s ease}.cta:hover,.cta:focus-visible{background:var(--accent);border-color:var(--accent);color:#fff;text-decoration:none}.cta--primary{background:var(--accent);color:#fff}.cta--primary:hover{background:#0848b8}
.page-hero__media{min-width:0}.page-hero__media img{display:block;width:100%;height:auto;max-height:460px;object-fit:contain}
.content{width:100%;font-size:18px;padding:clamp(24px,3vw,42px) 0 clamp(54px,6vw,88px);border-top:1px solid #eef2f7}.content img{max-width:100%;height:auto;border-radius:14px}.content>:first-child{margin-top:0}
.site-footer{padding:30px 0 50px;border-top:1px solid #edf1f6;color:var(--muted);font-size:14px}.footer-logo{display:block;max-width:170px;max-height:56px;width:auto;height:auto}
@media(max-width:900px){.page-hero{grid-template-columns:1fr}.page-hero__media{order:-1}.page-hero__media img{max-height:340px;margin:0 auto}.page-hero h1{font-size:clamp(34px,8vw,52px)}}
@media(max-width:720px){.site-header .wrap{align-items:flex-start;flex-direction:column;padding:18px 0}.wrap{width:min(100% - 24px,1240px)}.page-hero{padding:28px 0 24px;gap:24px}.page-hero__content{gap:16px}.page-hero__actions{display:grid}.cta{width:100%}.content{font-size:17px;padding-top:24px}}
.lio-section-page{display:grid;gap:24px}.lio-section-intro{display:none}.lio-section-children{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.lio-section-child{padding:20px;border:1px solid var(--border);border-radius:14px;background:#fff;overflow:hidden}.lio-section-child-image{display:block;margin:-20px -20px 16px;aspect-ratio:16/9;overflow:hidden;background:#f3f6fa}.lio-section-child-image img{display:block;width:100%;height:100%;object-fit:cover}
.lio-section-child h2{margin:0 0 8px;font-size:22px;line-height:1.25}.lio-section-child h2 a{text-decoration:none}.lio-section-child p{margin:0 0 14px;color:var(--muted)}.lio-section-child-link{font-weight:700;text-decoration:none;color:var(--accent)}.lio-section-empty{margin:0;color:var(--muted)}
@media(max-width:720px){.lio-section-children{grid-template-columns:1fr}}
.lio-pagination{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:10px}.lio-pagination a,.lio-pagination span{display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:42px;padding:0 12px;border:1px solid var(--border);border-radius:10px;background:#fff;text-decoration:none;font-weight:700}.lio-pagination a:hover{background:#f2f6fd}.lio-pagination-current{background:var(--accent)!important;color:#fff;border-color:var(--accent)!important}
/* LIO starter component: hero split media */
.lio-component-hero--split-media{display:grid;grid-template-columns:minmax(0,58fr) minmax(320px,42fr);gap:clamp(32px,5vw,72px);align-items:center;padding:clamp(32px,5vw,72px) 0}
.lio-component-hero__content{display:grid;align-content:start;gap:16px;min-width:0}.lio-component-hero__eyebrow{font-size:12px;line-height:1.2;letter-spacing:.1em;text-transform:uppercase;color:var(--accent);font-weight:700}.lio-component-hero__title{margin:0;font-size:clamp(36px,4.2vw,64px);line-height:1.06}.lio-component-hero__lead{margin:0;max-width:760px;font-size:clamp(17px,1.25vw,20px);line-height:1.5;color:var(--muted)}
.lio-component-hero__media{margin:0;min-width:0}.lio-component-hero__media img{display:block;width:100%;height:auto;max-height:460px;object-fit:cover;border-radius:14px}.lio-component-hero__media figcaption{margin-top:8px;font-size:12px;line-height:1.4;color:var(--muted)}
.lio-component-hero__actions{display:flex;gap:12px;flex-wrap:wrap}.lio-component-hero__cta{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:10px 22px;border:1px solid var(--accent);border-radius:999px;text-decoration:none;font-weight:600}.lio-component-hero__cta--primary{background:var(--accent);color:#fff}.lio-component-hero__cta--secondary{color:var(--accent)}
.lio-component-hero__meta{display:flex;align-items:baseline;justify-content:space-between;gap:16px;padding-top:14px;border-top:1px solid var(--border)}.lio-component-hero__meta strong{font-size:18px}.lio-component-hero__meta span{font-size:13px;color:var(--muted)}
.lio-component-hero--media-left .lio-component-hero__media{grid-column:1;grid-row:1}.lio-component-hero--media-left .lio-component-hero__content{grid-column:2;grid-row:1}.lio-component-hero--no-media{grid-template-columns:minmax(0,1fr)}
@media(max-width:900px){.lio-component-hero--split-media{grid-template-columns:1fr;gap:24px}.lio-component-hero--media-left .lio-component-hero__media,.lio-component-hero--media-left .lio-component-hero__content{grid-column:auto;grid-row:auto}.lio-component-hero__media{order:-1}}
@media(max-width:760px){.lio-component-hero--hide-media-mobile .lio-component-hero__media{display:none}.lio-component-hero__actions{display:grid}.lio-component-hero__cta{width:100%}.lio-component-hero__meta{align-items:flex-start;flex-direction:column;gap:4px}}

/* Gallery attached to a published page: responsive, lightweight, no JS dependency. */
.lio-page-gallery{margin:0 0 clamp(36px,5vw,70px)}
.lio-page-gallery__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:16px;align-items:start}
.lio-page-gallery__item{display:block;max-width:480px;border-radius:14px;overflow:hidden;background:#eef2f7;aspect-ratio:4/3}
.lio-page-gallery__item img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .18s ease}
.lio-page-gallery__item:hover img,.lio-page-gallery__item:focus-visible img{transform:scale(1.025)}
.lio-page-gallery__item:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
@media(max-width:720px){.lio-page-gallery__grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr));gap:10px}}
/* Three rich-text image placements; HTML img width attribute persists through safe sanitation. */
.content .lio-content-image{display:table;max-width:100%;width:fit-content;clear:both;margin:1.25em auto}
.content .lio-content-image img{display:block;max-width:100%;height:auto;border-radius:12px}
.content .lio-content-image figcaption{display:table-caption;caption-side:bottom;padding-top:8px;font-size:13px;line-height:1.45;color:var(--muted);overflow-wrap:anywhere}
.content .lio-content-image--left{float:left;clear:left;margin:.25em 1.35em 1em 0}
.content .lio-content-image--center{float:none;clear:both;margin:1.35em auto}
.content .lio-content-image--right{float:right;clear:right;margin:.25em 0 1em 1.35em}
.content::after{content:"";display:block;clear:both}
@media(max-width:720px){.content .lio-content-image--left,.content .lio-content-image--right{float:none;clear:both;margin:1.2em auto}}

/* Gallery lightbox: native dialog isolates page interaction and keyboard focus. */
.lio-gallery-lightbox{position:fixed;inset:0;box-sizing:border-box;width:100vw;max-width:none;height:100vh;height:100dvh;max-height:none;margin:0;padding:20px;border:0;overflow:hidden;background:rgba(13,19,31,.96);color:#fff}
.lio-gallery-lightbox::backdrop{background:rgba(0,0,0,.78)}
.lio-gallery-lightbox__surface{height:100%;width:min(1400px,100%);margin:auto;display:flex;flex-direction:column;justify-content:center;position:relative}
.lio-gallery-lightbox__figure{min-width:0;margin:0;display:grid;justify-items:center;gap:12px}
.lio-gallery-lightbox__stage{width:100%;min-width:0;display:flex;align-items:center;justify-content:center}
.lio-gallery-lightbox__image-wrap{position:relative;display:inline-flex;max-width:100%;flex:0 1 auto;align-items:center;justify-content:center}
.lio-gallery-lightbox__image-wrap img{display:block;max-width:100%;max-height:calc(100dvh - 155px);width:auto;height:auto;object-fit:contain;box-shadow:0 16px 50px rgba(0,0,0,.22)}
.lio-gallery-lightbox__figure figcaption{text-align:center;font-size:14px;line-height:1.4;color:#e4e8ef;overflow-wrap:anywhere}
.lio-gallery-lightbox__counter{color:#abb7c7;font-size:12px;font-variant-numeric:tabular-nums}
.lio-gallery-lightbox__close,.lio-gallery-lightbox__arrow{appearance:none;display:grid;place-items:center;padding:0;border:1px solid rgba(255,255,255,.25);border-radius:50%;background:rgba(255,255,255,.1);color:#fff;cursor:pointer;font-family:inherit}
.lio-gallery-lightbox__arrow svg{display:block;width:20px;height:20px;margin:0;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.lio-gallery-lightbox__close{position:absolute;right:12px;top:12px;width:44px;height:44px;z-index:2;font-size:28px;padding:0}
.lio-gallery-lightbox__close svg{display:block;width:20px;height:20px;margin:0;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;pointer-events:none}
/* Controls are attached to the displayed picture, not the dialog viewport. */
.lio-gallery-lightbox__arrow{position:absolute;top:50%;transform:translateY(-50%);width:48px;height:48px;font-size:34px;line-height:1;z-index:2}
.lio-gallery-lightbox__arrow[data-gallery-prev]{left:12px}
.lio-gallery-lightbox__arrow[data-gallery-next]{right:12px}
.lio-gallery-lightbox__arrow[hidden]{display:none!important}
.lio-gallery-lightbox__close:hover,.lio-gallery-lightbox__arrow:hover,.lio-gallery-lightbox__close:focus-visible,.lio-gallery-lightbox__arrow:focus-visible{background:rgba(255,255,255,.23);outline:2px solid #fff;outline-offset:3px}
@media(max-width:720px){.lio-gallery-lightbox{padding:12px}.lio-gallery-lightbox__arrow{width:36px;height:36px;font-size:28px}.lio-gallery-lightbox__arrow[data-gallery-prev]{left:8px}.lio-gallery-lightbox__arrow[data-gallery-next]{right:8px}.lio-gallery-lightbox__close{right:8px;top:8px;width:36px;height:36px}.lio-gallery-lightbox__image-wrap img{max-height:calc(100dvh - 135px)}.lio-gallery-lightbox__figure figcaption{font-size:12px}}

/* LIO Core wide layout and scroll-aware header standard. */
:root{--lio-layout-width:1794px;--lio-layout-gutter:clamp(16px,3vw,32px);--lio-adminbar-offset:0px}
html.lio-adminbar-visible{--lio-adminbar-offset:42px}
@media(max-width:720px){html.lio-adminbar-visible{--lio-adminbar-offset:40px}}
.wrap{width:min(var(--lio-layout-width),calc(100% - 2 * var(--lio-layout-gutter)))}
main.wrap>.page,main.wrap>.page>.content{width:100%;min-width:0;max-width:none;margin-inline:0}
.content{overflow-wrap:break-word;word-break:normal}
.content :is(.lio-section-children,.lio-page-gallery__grid){min-width:0;width:100%;max-width:none}
.site-header{position:sticky;top:var(--lio-adminbar-offset);z-index:100;transition:transform .24s ease,background-color .2s ease,box-shadow .2s ease}
.site-header.lio-header-scrolled{background-color:color-mix(in srgb,var(--lio-header-surface,#fff) 94%,transparent);backdrop-filter:blur(10px);box-shadow:0 4px 18px #0000000c}
.site-header.lio-header-hidden:not(:focus-within){transform:translateY(calc(-100% - var(--lio-adminbar-offset)));pointer-events:none}
@media(prefers-reduced-motion:reduce){.site-header{transition:none}}

/* Core primary navigation: parent link and independent native disclosure. */
.lio-nav-tree{overflow:visible!important;flex-wrap:wrap;max-width:100%;min-width:0}
.lio-nav-tree .lio-nav-group{position:relative;display:flex;align-items:center;gap:3px;min-width:0;max-width:100%}
.lio-nav-tree .lio-nav-details{display:inline-block;flex:none}
/* LIO 1.0.8: compact font-independent navigation chevron. */
.lio-nav-tree .lio-nav-details>summary{display:grid;place-items:center;list-style:none;cursor:pointer;min-width:24px;min-height:36px;padding:0;line-height:1;color:inherit}
.lio-nav-tree .lio-nav-details>summary>span{display:grid;place-items:center;width:12px;height:12px;font-size:0;line-height:0;flex:none}
.lio-nav-tree .lio-nav-details>summary>span::before{content:"";display:block;width:10px;height:6px;background:currentColor;clip-path:polygon(0 18%,12% 0,50% 68%,88% 0,100% 18%,50% 100%)}
.lio-nav-tree .lio-nav-details>summary::-webkit-details-marker{display:none}
.lio-nav-tree .lio-nav-details>summary:focus-visible{outline:2px solid currentColor;outline-offset:2px}
.lio-nav-tree .lio-nav-details[open]>summary span{transform:rotate(180deg)}
.lio-nav-tree .lio-nav-panel{position:absolute;top:100%;left:0;z-index:110;min-width:min(240px,85vw);max-width:min(360px,85vw);padding:10px;background:#fff;color:#263238;border:1px solid #dce3e7;border-radius:8px;box-shadow:0 8px 24px #0002}
.lio-nav-tree .lio-nav-panel a{display:block;padding:9px 10px;white-space:normal!important;overflow-wrap:break-word;text-transform:none}
.lio-nav-tree .lio-nav-panel a:hover,.lio-nav-tree .lio-nav-panel a:focus-visible{background:#eef2f4}
.lio-nav-tree .lio-nav-panel .lio-nav-group{flex-wrap:wrap;justify-content:space-between}
.lio-nav-tree .lio-nav-panel .lio-nav-group>a{flex:1;min-width:0}
.lio-nav-tree .lio-nav-panel .lio-nav-details[open]{flex:1 1 100%}
.lio-nav-tree .lio-nav-panel .lio-nav-panel{position:static;min-width:0;max-width:100%;box-shadow:none;margin-left:8px;border-left:2px solid #dce3e7}
.lio-theme .studio-nav .lio-nav-panel{position:static;min-width:0;max-width:100%;box-shadow:none}
.lio-theme .studio-nav .lio-nav-group{flex-wrap:wrap}
@media(max-width:900px),(hover:none),(pointer:coarse){
 .lio-nav-tree .lio-nav-group{flex-wrap:wrap}
 .lio-nav-tree .lio-nav-details>summary{min-width:44px;min-height:44px}
 .lio-nav-tree .lio-nav-details[open]{flex:1 1 100%}
 .lio-nav-tree .lio-nav-panel{position:static;min-width:0;max-width:100%;box-shadow:none}
}

/* LIO editorial content standard: independent of hero, navigation and cards. */
.content h2:not(.lio-section-child *):not(.lio-component-hero--split-media *){font-size:clamp(1.375rem,1.9vw,1.75rem);font-weight:500;line-height:1.3;letter-spacing:-.012em;margin:1.35em 0 .6em}
.content h3:not(.lio-section-child *):not(.lio-component-hero--split-media *){font-size:clamp(1.1875rem,1.5vw,1.375rem);font-weight:500;line-height:1.35;letter-spacing:0;margin:1.25em 0 .55em}
.content h4:not(.lio-section-child *):not(.lio-component-hero--split-media *){font-size:1.0625rem;font-weight:500;line-height:1.4;letter-spacing:0;margin:1.15em 0 .5em}
.content > :is(h2,h3,h4):first-child{margin-top:0}
.content table{display:table;width:100%;max-width:100%;border-collapse:collapse;table-layout:auto;margin:1.25em 0;font-size:.94em;line-height:1.5;border:1px solid #dce2e5;border-color:color-mix(in srgb,currentColor 17%,transparent)}
.content :is(th,td){padding:.7em .85em;text-align:left;vertical-align:top;border:1px solid #dce2e5;border-color:color-mix(in srgb,currentColor 17%,transparent);overflow-wrap:anywhere;word-break:normal}
.content th{font-weight:600;background:color-mix(in srgb,currentColor 6%,transparent)}
.content tbody tr:nth-child(even){background:color-mix(in srgb,currentColor 2.5%,transparent)}
.content caption{caption-side:top;text-align:left;font-weight:500;padding:0 0 .5em}
@media(max-width:720px){.content table{display:block;overflow-x:auto;overscroll-behavior-inline:contain}.content :is(th,td){min-width:7rem;padding:.6em .7em}}
/* EDAZDOROVA editorial palette and typography */
:root{--accent:#68764c;--muted:#706b60;--border:#ded8ca;--lio-layout-width:1600px}
body{background:#f8f5ed;color:#30342e}
.site-header,.site-footer{background:#f8f5ed;border-color:#ded8ca}
.page-hero h1,.calm-hero h1{font-size:clamp(32px,3.5vw,54px);font-weight:500;line-height:1.13;letter-spacing:-.025em}
.content h2,.calm-body h2{font-size:clamp(23px,2vw,31px);font-weight:500;line-height:1.3;margin:1.45em 0 .55em}
.content h3,.calm-body h3{font-size:clamp(19px,1.6vw,24px);font-weight:500;line-height:1.35}
.content,.calm-body{font-size:17px;line-height:1.75}
.eda-topics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:24px 0 40px}
.eda-topic{display:block;background:#fffdf8;border:1px solid #ddd7c9;border-radius:12px;padding:22px;color:inherit;text-decoration:none!important;min-width:0}
.eda-topic:hover{border-color:#a66b51;box-shadow:0 5px 18px #57462e12}
.eda-topic h3{margin:0 0 12px!important;font-weight:500}
.eda-topic p{margin:0 0 12px;color:#65655b}
.eda-topic span{color:#96583e;font-size:14px}
.content table,.calm-body table{width:100%;border-collapse:collapse;font-size:15px;margin:24px 0;background:#fffdf8;line-height:1.55}
.content th,.content td,.calm-body th,.calm-body td{padding:12px 16px;border:1px solid #ded8ca;text-align:left;vertical-align:top}
.content th,.calm-body th{background:#e8e9db;font-weight:600}
@media(max-width:1100px){.eda-topics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:580px){.eda-topics{grid-template-columns:1fr}.eda-topic{padding:18px}.content table,.calm-body table{display:block;overflow-x:auto}}
/* EDA editorial theme: site-level overrides, no Core changes. */
body.lio-theme.lio-theme--calm.lio-mode-light{background:#f8f5ed;color:#30342e;--calm-line:#ded8ca;--lio-header-surface:#f8f5ed;--lio-content-width:1600px}
body.lio-theme.lio-theme--calm.lio-mode-light .calm-header,body.lio-theme.lio-theme--calm.lio-mode-light .lio-footer{background:#f8f5ed;color:#30342e;border-color:#ded8ca}
body.lio-theme.lio-theme--calm .calm-hero h1{font-size:clamp(32px,3.1vw,48px);font-weight:400;line-height:1.15}
body.lio-theme.lio-theme--calm .calm-body h2{font-size:clamp(22px,1.65vw,28px);font-weight:500;line-height:1.3}
body.lio-theme.lio-theme--calm .calm-body h3{font-size:clamp(18px,1.35vw,23px);font-weight:500;line-height:1.35}
body.lio-theme.lio-theme--calm .lio-nav-details>summary{display:grid;place-items:center;padding:0;min-width:24px;min-height:36px;line-height:1}
body.lio-theme.lio-theme--calm .lio-nav-details>summary>span{display:grid;place-items:center;width:12px;height:12px;font-size:0;line-height:0}
@media(max-width:900px),(hover:none),(pointer:coarse){body.lio-theme.lio-theme--calm .lio-nav-details>summary{min-width:44px;min-height:44px}}
body.lio-theme.lio-theme--calm .calm-body .eda-topic{text-decoration:none}
body.lio-theme.lio-theme--calm.lio-mode-dark .eda-topic{background:#293531;border-color:#4c5d52;color:#e4eae8}
body.lio-theme.lio-theme--calm.lio-mode-dark .eda-topic p{color:#bfc9c2}
body.lio-theme.lio-theme--calm.lio-mode-dark .calm-body table{background:#293531;color:#e4eae8}
body.lio-theme.lio-theme--calm.lio-mode-dark .calm-body th{background:#39483e}
body.lio-theme.lio-theme--calm .calm-article h1{font-size:clamp(30px,3.1vw,46px);font-weight:400;line-height:1.16;letter-spacing:-.025em}

/* EDA homepage: compact split hero, local theme override. */
body.lio-theme.lio-theme--calm .calm-hero{
 display:grid;
 grid-template-columns:minmax(0, .82fr) minmax(0, 1.18fr);
 grid-template-rows:1fr 1fr;
 grid-template-areas:"heading photo" "lead photo";
 column-gap:clamp(28px,4vw,76px);
 row-gap:16px;
 align-items:center;
 text-align:left;
 padding:clamp(36px,4vw,68px) 0 clamp(34px,4vw,60px);
}
body.lio-theme.lio-theme--calm .calm-hero>.calm-eyebrow{display:none}
body.lio-theme.lio-theme--calm .calm-hero>h1{grid-area:heading;align-self:end;margin:0;max-width:none;letter-spacing:-.026em}
body.lio-theme.lio-theme--calm .calm-hero>.calm-lead{grid-area:lead;align-self:start;margin:0;max-width:36rem;font-size:clamp(17px,1.4vw,21px);line-height:1.55}
body.lio-theme.lio-theme--calm .calm-hero>.calm-hero-media{grid-area:photo;margin:0;max-width:none;width:100%;height:auto;min-height:0;aspect-ratio:1.85;border-radius:14px}
body.lio-theme.lio-theme--calm .calm-hero>.calm-hero-media img{width:100%;height:100%;object-fit:cover;object-position:right center}
@media(max-width:760px){
 body.lio-theme.lio-theme--calm .calm-hero{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto;grid-template-areas:"heading" "lead" "photo";row-gap:15px;padding:28px 0 34px}
 body.lio-theme.lio-theme--calm .calm-hero>.calm-hero-media{aspect-ratio:1.7;border-radius:12px;margin-top:5px}
 body.lio-theme.lio-theme--calm .calm-hero>h1{font-size:clamp(30px,6vw,40px)}
}

/* EDAZDOROVA brand: graphic mark plus separately rendered text. */
body.lio-theme--calm .calm-header .lio-brand{display:inline-flex;align-items:center;gap:10px;flex-shrink:0;font-weight:450;letter-spacing:-.025em;color:#30342e}
body.lio-theme--calm .calm-header .lio-brand img{width:58px;height:58px;max-width:58px;max-height:58px;object-fit:contain}
body.lio-theme--calm .calm-header .lio-brand:has(>img)::after{content:"Продукты в деталях";font-size:clamp(16px,1.15vw,21px);line-height:1.2;white-space:nowrap}
body.lio-theme--calm .lio-footer__brand:has(>img){display:flex;align-items:center;gap:10px;font-weight:450}
body.lio-theme--calm .lio-footer__brand img{width:48px;height:48px;max-width:48px;max-height:48px;object-fit:contain}
body.lio-theme--calm .lio-footer__brand:has(>img)::after{content:"Продукты в деталях"}
body.lio-mode-dark.lio-theme--calm .calm-header .lio-brand{color:#e4eae8}
@media(max-width:650px){body.lio-theme--calm .calm-header .lio-brand img{width:46px;height:46px;max-width:46px;max-height:46px}}

/* EDAZDOROVA: illustrated section index, avoid duplicate generic article showcase. */
body.lio-theme--calm main:has(.eda-topics)>.calm-section{display:none}
body.lio-theme--calm .calm-hero:has(~.calm-body .eda-topics)+.calm-section+.calm-body{padding-top:0}
body.lio-theme--calm .calm-body .eda-topic{display:flex;flex-direction:column;padding:14px;gap:0;min-height:0}
body.lio-theme--calm .calm-body .eda-topic-image{display:block;width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:8px;margin:0 0 15px}
body.lio-theme--calm .calm-body .eda-topic h3{font-size:clamp(17px,1.3vw,20px);line-height:1.35;font-weight:450;margin:0 0 8px!important}
body.lio-theme--calm .calm-body .eda-topic p{font-size:15px;line-height:1.5;margin:0 0 12px}
body.lio-theme--calm .calm-body .eda-topic span{margin-top:auto}
body.lio-theme--calm .calm-body .eda-topic:focus-visible{outline:2px solid #96583e;outline-offset:3px}

/* EDA usability: compact navigation, readable articles, illustrated catalogue. */
body.lio-theme--calm .calm-header .eda-controls{display:flex;align-items:center;gap:4px;flex-shrink:0;margin-left:4px}
body.lio-theme--calm .eda-controls button{display:grid;place-items:center;width:44px;height:44px;border:0;background:transparent;color:inherit;border-radius:8px;cursor:pointer;padding:10px}
body.lio-theme--calm .eda-controls button svg{width:24px;height:24px}
body.lio-theme--calm .eda-controls button:hover{background:#68764c15}
body.lio-theme--calm .eda-controls button:focus-visible,body.lio-theme--calm .eda-search-dialog button:focus-visible{outline:2px solid #68764c;outline-offset:2px}
body.lio-theme--calm .calm-header .eda-menu-toggle{display:none}
body.lio-theme--calm .calm-header .calm-nav a[aria-current="page"],body.lio-theme--calm .calm-header .calm-nav a.eda-active-parent{color:#55663e;text-decoration:underline;text-underline-offset:5px}
@media(min-width:1151px){
 body.lio-theme--calm .calm-header.eda-nav-ready .calm-wrap{gap:12px}
 body.lio-theme--calm .calm-header.eda-nav-ready .calm-nav{margin-left:auto;justify-content:flex-end;gap:0 10px!important}
}
@media(max-width:1150px){
 body.lio-theme--calm .calm-header.eda-nav-ready .calm-wrap{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto;align-items:center;gap:0 6px;min-height:64px;padding-top:5px;padding-bottom:5px}
 body.lio-theme--calm .calm-header.eda-nav-ready .lio-brand{grid-column:1;grid-row:1;min-width:0;gap:7px;justify-self:start}
 body.lio-theme--calm .calm-header.eda-nav-ready .lio-brand img{width:46px;height:46px;max-width:46px;max-height:46px;flex-shrink:0}
 body.lio-theme--calm .calm-header.eda-nav-ready .lio-brand:has(>img)::after{font-size:clamp(13px,3.8vw,18px);white-space:normal}
 body.lio-theme--calm .calm-header.eda-nav-ready .eda-controls{grid-column:2;grid-row:1;margin:0}
 body.lio-theme--calm .calm-header.eda-nav-ready .eda-menu-toggle{display:grid}
 body.lio-theme--calm .calm-header.eda-nav-ready:not(.eda-menu-open) .calm-nav{display:none}
 body.lio-theme--calm .calm-header.eda-nav-ready.eda-menu-open .calm-nav{grid-column:1/-1;grid-row:2;display:flex;flex-direction:column;align-items:stretch;gap:2px!important;padding:8px 0 12px;border-top:1px solid #ded8ca;max-height:calc(100dvh - 76px);overflow:auto!important}
 body.lio-theme--calm .calm-header.eda-nav-ready .calm-nav>a,body.lio-theme--calm .calm-header.eda-nav-ready .lio-nav-group>a{display:flex;align-items:center;min-height:44px;padding:8px 6px}
 body.lio-theme--calm .calm-header.eda-nav-ready .lio-nav-group{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center}
 body.lio-theme--calm .calm-header.eda-nav-ready .lio-nav-details{position:static}
 body.lio-theme--calm .calm-header.eda-nav-ready .lio-nav-details[open]{display:contents}
 body.lio-theme--calm .calm-header.eda-nav-ready .lio-nav-details[open] .lio-nav-panel{position:static;transform:none!important;width:100%;margin:0 0 5px;padding:0 8px 0 20px;box-shadow:none;border:0;background:transparent}
 body.lio-theme--calm .calm-header.eda-nav-ready .lio-nav-panel a{min-height:44px;display:flex;align-items:center}
 body.lio-theme--calm .calm-header.eda-nav-ready .lio-nav-details>summary{min-width:44px;min-height:44px}
 body.lio-theme--calm .calm-header.eda-nav-ready.lio-header-hidden:not(.eda-menu-open):not(:focus-within){transform:translateY(calc(-100% - var(--lio-adminbar-offset,0px)));pointer-events:none}
}
body.lio-theme--calm .eda-category{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:"crumb crumb" "title media" "lead media" "body body";grid-template-rows:auto auto 1fr auto;column-gap:clamp(24px,4vw,60px);padding:clamp(28px,3vw,48px) 0 60px;align-items:start}
body.lio-theme--calm .eda-category>.lio-crumbs{grid-area:crumb;margin:0 0 24px}
body.lio-theme--calm .eda-category>h1{grid-area:title;align-self:end;margin:0 0 16px}
body.lio-theme--calm .eda-category>.calm-lead{grid-area:lead;margin:0;align-self:start}
body.lio-theme--calm .eda-category>.calm-feature{grid-area:media;width:100%;height:auto;aspect-ratio:1.75;margin:0;min-height:0}
body.lio-theme--calm .eda-category>.calm-feature img{width:100%;height:100%;object-fit:cover}
body.lio-theme--calm .eda-category>.calm-body{grid-area:body;padding:28px 0 0}
body.lio-theme--calm .eda-category>.calm-section{display:none}
body.lio-theme--calm .eda-count{font-size:.72em;color:#706b60;margin-left:8px;font-weight:400}
body.lio-theme--calm .eda-article-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:18px 0 28px}
body.lio-theme--calm .calm-body .eda-article-card{display:flex;flex-direction:column;min-width:0;border:1px solid #ded8ca;border-radius:12px;overflow:hidden;background:#fffdf8;color:inherit;text-decoration:none;padding:0}
body.lio-theme--calm .eda-article-card>img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:0;margin:0}
body.lio-theme--calm .eda-article-card>div{display:flex;flex-direction:column;flex:1;padding:16px}
body.lio-theme--calm .calm-body .eda-article-card h3{margin:0 0 8px;font-size:clamp(16px,1.3vw,19px);font-weight:500;line-height:1.35}
body.lio-theme--calm .eda-article-card p{margin:0 0 12px;font-size:14px;line-height:1.55;color:#65655b}
body.lio-theme--calm .eda-article-card>div>span{margin-top:auto;color:#96583e;font-size:14px}
body.lio-theme--calm .eda-article-card:hover{border-color:#a66b51;box-shadow:0 4px 14px #57462e12}
body.lio-theme--calm .eda-article-card:focus-visible{outline:2px solid #96583e;outline-offset:3px}
body.lio-theme--calm .eda-article{padding:clamp(28px,3vw,48px) 0 65px}
body.lio-theme--calm .eda-article>.calm-lead{max-width:85ch;margin-bottom:20px}
body.lio-theme--calm .eda-article>.calm-feature{height:clamp(220px,27vw,350px);margin:24px 0 28px}
body.lio-theme--calm .eda-article>.calm-body{max-width:none;padding-bottom:20px}
body.lio-theme--calm .eda-article>.calm-body>:is(p,h2,h3,h4,ul,ol,blockquote,details):not(.eda-related){max-width:86ch}
body.lio-theme--calm .eda-article>.calm-body>p{font-size:17px;line-height:1.75}
body.lio-theme--calm .eda-article>.calm-body>h2[id]{scroll-margin-top:100px}
body.lio-theme--calm .eda-article>.calm-body>table{max-width:1100px}
body.lio-theme--calm .eda-related{grid-template-columns:repeat(3,minmax(0,1fr));max-width:1100px}
body.lio-theme--calm .eda-toc{background:#eeeee3;border:1px solid #ded8ca;padding:14px 20px;border-radius:10px;margin:0 0 30px}
body.lio-theme--calm .eda-toc summary{cursor:pointer;font-weight:500;min-height:32px}
body.lio-theme--calm .eda-toc ol{margin:6px 0 0;padding-left:22px;font-size:15px;line-height:1.7}
body.lio-theme--calm .eda-toc a{color:inherit;text-underline-offset:3px}
body.lio-theme--calm .eda-search-dialog{width:min(650px,calc(100% - 24px));max-height:85dvh;border:1px solid #ded8ca;border-radius:14px;background:#fffdf8;color:#30342e;padding:22px;box-shadow:0 18px 60px #0003}
body.lio-theme--calm .eda-search-dialog::backdrop{background:#20251d80}
body.lio-theme--calm .eda-search-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px}
body.lio-theme--calm .eda-search-head h2{font-size:24px;font-weight:500;margin:0}
body.lio-theme--calm .eda-search-close{border:0;background:transparent;font-size:30px;line-height:1;width:44px;height:44px;color:inherit;cursor:pointer}
body.lio-theme--calm .eda-search-label{display:block;font-size:14px;margin-bottom:7px}
body.lio-theme--calm #eda-query{box-sizing:border-box;width:100%;padding:12px;border:1px solid #a9ae9a;border-radius:8px;font-size:16px;background:#fff;color:#30342e}
body.lio-theme--calm .eda-search-status{font-size:14px;color:#65655b;margin:14px 0}
body.lio-theme--calm .eda-search-results{display:grid;gap:0}
body.lio-theme--calm .eda-search-results a{display:block;padding:12px 0;border-top:1px solid #ded8ca;color:inherit;text-decoration:none}
body.lio-theme--calm .eda-search-results a strong{display:block;font-weight:500;font-size:17px;margin-bottom:5px}
body.lio-theme--calm .eda-search-results a span{display:block;font-size:14px;line-height:1.5;color:#65655b}
body.lio-theme--calm .eda-search-results a:hover strong{text-decoration:underline}
body.lio-mode-dark .eda-article-card,body.lio-mode-dark .eda-toc{background:#293531!important;color:#e4eae8;border-color:#4c5d52!important}
body.lio-mode-dark .eda-article-card p{color:#bfc9c2}
@media(max-width:1100px){body.lio-theme--calm .eda-article-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){
 body.lio-theme--calm .eda-category{grid-template-columns:minmax(0,1fr);grid-template-areas:"crumb" "title" "lead" "media" "body";grid-template-rows:auto;gap:12px;padding-top:24px}
 body.lio-theme--calm .eda-category>.lio-crumbs{margin-bottom:0}
 body.lio-theme--calm .eda-category>h1{margin:0}
 body.lio-theme--calm .eda-category>.calm-feature{aspect-ratio:1.7;margin-top:8px}
 body.lio-theme--calm .eda-category>.calm-body{padding-top:8px}
 body.lio-theme--calm .eda-article-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 body.lio-theme--calm .eda-article>.calm-feature{height:auto;aspect-ratio:1.55}
 body.lio-theme--calm .eda-article>.calm-body>p{line-height:1.65}
 body.lio-theme--calm .eda-toc{padding:12px 15px}
}
@media(max-width:480px){body.lio-theme--calm .eda-article-grid{grid-template-columns:minmax(0,1fr)}body.lio-theme--calm .eda-article-card>img{aspect-ratio:1.9}}
body.lio-theme--calm .eda-article>.calm-body>:is(p,h2,h3,h4,ul,ol,blockquote,details):not(.eda-related){max-width:76ch}
body.lio-theme--calm .eda-search-dialog:not([open]){display:none!important}
body.lio-theme--calm .eda-search-dialog #eda-query:focus-visible{outline:2px solid #68764c;outline-offset:1px}
body.lio-theme--calm .eda-category>.calm-body>h2:first-child{margin-top:0}
@media(min-width:761px){body.lio-theme--calm .eda-category{grid-template-rows:auto 1fr 1fr auto}body.lio-theme--calm .eda-category>h1{align-self:end}}
@media(max-width:1150px){
 body.lio-theme--calm .calm-header.eda-nav-ready .lio-nav-group{display:grid;grid-template-columns:minmax(0,1fr) 44px}
 body.lio-theme--calm .calm-header.eda-nav-ready .lio-nav-details[open]{display:contents}
 body.lio-theme--calm .calm-header.eda-nav-ready .lio-nav-details[open]>summary{grid-column:2;grid-row:1}
 body.lio-theme--calm .calm-header.eda-nav-ready .lio-nav-details[open]>.lio-nav-panel{grid-column:1/-1;grid-row:2;box-sizing:border-box;min-width:0;max-width:100%;margin:0;padding:0 6px 6px 20px}
 body.lio-theme--calm .calm-header.eda-nav-ready .lio-nav-panel a{display:flex;width:100%;background:transparent}
}
