/*
Theme Name: EVENTWIRKER Magazin – Live Design
Author: EVENTWIRKER
Description: Eigenständiges Magazin-Theme mit echter WordPress-Anbindung, Liquid Glass und dynamischen Themenwelten.
Version: 1.0.0
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: eventwirker
*/
:root{--petrol:#006878;--deep:#004858;--light:#8AC5CF;--anth:#30383F;--ink:#152c3b;--paper:#eef5f6;--glass-border:rgba(255,255,255,.87);--glass-fill:rgba(247,253,255,.48);--side-width:228px;--light-progress:0;--radius:24px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#dce9ee;color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;font-size:16px;-webkit-font-smoothing:antialiased}button,input,textarea{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}a:hover{text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid var(--petrol);outline-offset:3px}img,svg{max-width:100%}img{display:block}svg{flex-shrink:0}.screen-reader-text{position:absolute;overflow:hidden;clip:rect(0,0,0,0);height:1px;width:1px;white-space:nowrap}.screen-reader-text:focus{position:static;clip:auto;width:auto;height:auto}
/* Unobstructed photo field: no text or article tiles are part of the background asset. */
.ew-background{position:fixed;z-index:-5;inset:0;background:url('assets/exhibition-bg.jpg') center center/cover no-repeat;filter:blur(1px);transition:filter 1.6s ease,transform 2.3s ease;pointer-events:none}
.ew-background:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(251,254,255,.45),rgba(244,252,254,.13) 57%,rgba(218,241,246,.16));pointer-events:none}
.ew-night-overlay{position:fixed;z-index:-4;inset:0;background:linear-gradient(115deg,#041f2bf2,#0d3748e0 60%,#083747c7);opacity:var(--light-progress);pointer-events:none}
.ew-ceiling-lights{position:fixed;inset:0;pointer-events:none;z-index:-3}
.ew-light{position:absolute;top:5%;left:var(--ew-x);width:11px;height:11px;border-radius:50%;background:#fffef4;opacity:.65;box-shadow:0 0 11px 4px rgba(255,254,230,.45),0 0 43px 15px rgba(251,255,242,.23);transition:opacity .17s ease,box-shadow .4s ease}
.ew-light.is-out{opacity:0;box-shadow:none}
/* Fixed left navigation, faithful to original composition */
.ew-sidebar{position:fixed;z-index:20;left:0;top:0;bottom:0;width:var(--side-width);padding:43px 27px 30px 29px;display:flex;flex-direction:column;border-right:1px solid rgba(255,255,255,.93);background:linear-gradient(168deg,rgba(251,254,255,.84),rgba(236,249,252,.52));backdrop-filter:blur(24px) saturate(145%);-webkit-backdrop-filter:blur(24px) saturate(145%);box-shadow:7px 0 27px rgba(45,93,106,.04);transition:background .7s ease,color .7s ease}
.ew-sidebar-top{position:relative}.ew-logo{display:block;width:169px;line-height:0}.ew-logo img{display:block;width:100%;height:auto}.ew-logo-night{display:none!important}.ew-claim{display:block;margin-top:4px;font-size:8.4px;line-height:1.3;letter-spacing:-.07px;color:#20333e;font-weight:550;white-space:nowrap}
.ew-menu-toggle{display:none}.ew-nav{margin-top:92px;display:flex;flex-direction:column;gap:9px}.ew-nav-link{height:50px;padding:0 12px;border-radius:27px;display:flex;gap:17px;align-items:center;color:#203546;font-size:14px;font-weight:550;border:1px solid transparent;transition:background .2s ease,box-shadow .2s ease}.ew-nav-link svg{width:23px;height:23px}.ew-nav-link.is-current{background:rgba(160,204,215,.28);border-color:rgba(246,255,255,.8);box-shadow:inset 1px 1px 1px rgba(255,255,255,.66)}.ew-nav-link:hover{background:rgba(193,226,232,.35)}
.ew-side-utilities{border-top:1px solid rgba(86,129,143,.25);margin-top:40px;padding-top:20px;display:flex;flex-direction:column;align-items:flex-start;gap:7px}.ew-side-utilities>a,.ew-side-utilities>button{display:grid;place-items:center;width:43px;height:43px;border-radius:50%;border:0;background:transparent;color:#1c3747}.ew-side-utilities>button{background:rgba(179,207,215,.28);transition:background .2s ease,transform .3s ease}.ew-side-utilities>button:hover{transform:rotate(-12deg)}.ew-side-utilities>a:hover{background:rgba(179,207,215,.28)}
.ew-social-block{margin-top:auto;border-top:1px solid rgba(86,129,143,.24);padding-top:18px;color:#244253}.ew-social-block p{font-size:13px;margin:0 0 13px}.ew-social-icons{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.ew-social-icons>*{display:grid;place-items:center;border-radius:7px;width:30px;height:30px;border:1px solid rgba(255,255,255,.65);background:rgba(252,255,255,.28);color:#304d5a}.ew-social-icons span{opacity:.65}.ew-social-icons a:hover{background:rgba(255,255,255,.66)}
.ew-main{margin-left:var(--side-width);padding:0 clamp(27px,3.1vw,53px) 26px;min-height:100vh;position:relative}
.ew-topbar{height:81px;display:flex;justify-content:flex-end;align-items:center;gap:17px;position:relative;z-index:5}.ew-search-form{width:251px;height:47px;border-radius:28px;display:flex;align-items:center;gap:10px;padding:0 17px;background:rgba(213,234,240,.39);border:1px solid rgba(255,255,255,.86);backdrop-filter:blur(25px) saturate(150%);-webkit-backdrop-filter:blur(25px) saturate(150%);box-shadow:inset 1px 1px rgba(255,255,255,.57);color:#1d4152}.ew-search-form input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:inherit;font-size:13px}.ew-search-form input:focus-visible{outline:0}.ew-search-form input::placeholder{color:#38535f}.ew-newsletter-btn{height:47px;padding:0 19px;border:1px solid rgba(255,255,255,.91);background:rgba(223,242,245,.34);border-radius:28px;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-size:14px;font-weight:650;white-space:nowrap;box-shadow:inset 1px 1px rgba(255,255,255,.54);backdrop-filter:blur(25px) saturate(155%);-webkit-backdrop-filter:blur(25px) saturate(155%)}.ew-newsletter-btn:hover{background:rgba(255,255,255,.64)}
/* Headline and floating feature */
.ew-hero{min-height:298px;display:grid;grid-template-columns:minmax(0,1.55fr) minmax(345px,1fr);align-items:center;gap:35px;position:relative;padding-bottom:20px}.ew-hero-copy{align-self:start;padding-top:0;max-width:620px}.ew-hero h1{margin:0;color:#30383F;font-weight:430;font-size:clamp(46px,3.26vw,58px);line-height:1.02;letter-spacing:-1.8px}.ew-hero h1 span{color:#008997}.ew-hero-copy p{font-size:16.5px;line-height:1.33;max-width:395px;margin:15px 0 18px;letter-spacing:-.15px}.ew-primary{height:46px;padding:0 20px;display:inline-flex;align-items:center;justify-content:center;gap:20px;color:#fff!important;font-size:14px;font-weight:650;border-radius:26px;background:linear-gradient(110deg,#006878,#09b6c1);border:1px solid rgba(48,212,218,.44);box-shadow:0 9px 21px rgba(0,110,129,.16);transition:transform .25s ease,box-shadow .25s ease}.ew-primary:hover{transform:translateY(-2px);box-shadow:0 12px 23px rgba(0,110,129,.24)}
.ew-glass{background:linear-gradient(128deg,rgba(250,254,255,.52),rgba(225,246,251,.35));border:1px solid var(--glass-border);box-shadow:inset 1.5px 1.5px 1px rgba(255,255,255,.9),0 15px 30px rgba(32,86,101,.11);backdrop-filter:blur(24px) saturate(165%);-webkit-backdrop-filter:blur(24px) saturate(165%)}.ew-feature{justify-self:end;position:relative;overflow:hidden;border-radius:28px;width:min(100%,507px);min-height:196px;padding:24px 30px;display:flex;flex-direction:column;justify-content:space-between;color:#0b2b3c}.ew-feature-photo{position:absolute;right:0;top:0;width:51%;height:61%;object-fit:cover;clip-path:polygon(22% 0,100% 0,100% 100%);opacity:.84}.ew-kicker{font-size:13px;font-weight:800;letter-spacing:.3px;color:#007c8e}.ew-feature .ew-kicker{position:relative}.ew-slide{min-height:124px;position:relative}.ew-slide h2{margin:13px 0 22px;font-size:clamp(19px,1.55vw,26px);font-weight:720;line-height:1.12;letter-spacing:-.6px;max-width:370px}.ew-feature-footer{display:flex;justify-content:space-between;align-items:center;gap:12px}.ew-feature-footer span,.ew-promo-foot span{display:flex;align-items:center;gap:7px;font-size:12.5px;white-space:nowrap}.ew-circle-arrow{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;border:1px solid rgba(255,255,255,.87);background:rgba(255,255,255,.19);flex-shrink:0;transition:background .2s ease}.ew-circle-arrow:hover{background:rgba(255,255,255,.65)}.ew-carousel-dots{position:absolute;bottom:1px;left:50%;transform:translateX(-50%);display:flex;gap:6px}.ew-slide-dot{width:39px;height:3px;border:0;padding:0;border-radius:3px;background:rgba(255,255,255,.77)}.ew-slide-dot.is-active{background:#093344}
/* 5 topic images */
.ew-section-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:17px 0 15px}.ew-section-heading h2{margin:0;display:flex;align-items:center;gap:14px;font-size:19px;letter-spacing:-.2px;font-weight:590}.ew-heading-rule{display:inline-block;width:24px;height:2px;background:#1f3c4a;flex-shrink:0}.ew-section-heading>a{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:520}.ew-section-heading>a:hover{text-decoration:underline}
.ew-topic-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:19px}.ew-topic-tile{position:relative;display:block;height:183px;border-radius:23px;overflow:hidden;border:1.4px solid rgba(255,255,255,.96);background:#497e8d;box-shadow:0 9px 17px rgba(31,92,103,.09);transition:transform .2s ease,box-shadow .2s ease}.ew-topic-tile:hover{transform:translateY(-3px);box-shadow:0 15px 26px rgba(27,88,100,.19)}.ew-topic-tile>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.ew-topic-shade{position:absolute;inset:0;background:linear-gradient(0deg,rgba(1,48,62,.76) 0%,rgba(5,58,72,.13) 62%,transparent 100%)}.ew-topic-content{position:absolute;bottom:17px;left:18px;right:46px;color:#fff}.ew-topic-icon{display:block;height:37px;margin-bottom:7px;color:#fff}.ew-topic-icon svg{width:32px;height:32px;filter:drop-shadow(0 2px 3px rgba(0,49,59,.24))}.ew-topic-content strong{display:block;font-size:14px;font-weight:700;line-height:1.18;text-shadow:0 1px 4px rgba(0,37,48,.25)}.ew-topic-content small{display:block;margin-top:8px;font-size:12px;font-weight:500;color:#f0fdfe}.ew-topic-arrow{position:absolute;right:13px;bottom:16px;width:39px;height:39px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.78);border-radius:50%;color:#fff;background:rgba(128,181,194,.20);transition:background .2s}.ew-topic-tile:hover .ew-topic-arrow{background:rgba(255,255,255,.25)}
/* Editorial & books */
.ew-promos{display:grid;grid-template-columns:minmax(0,1.72fr) minmax(0,.94fr);gap:20px;margin-top:32px}.ew-editorial,.ew-books-promo{border-radius:25px;overflow:hidden;min-height:201px;color:#0d2939}.ew-editorial{display:flex}.ew-editorial-photo{display:block;width:38%;flex-shrink:0;overflow:hidden}.ew-editorial-photo img{width:100%;height:100%;min-height:201px;object-fit:cover}.ew-editorial-copy{display:flex;flex-direction:column;justify-content:center;flex:1;min-width:0;padding:19px 27px}.ew-editorial-copy h2,.ew-books-copy h2{font-size:clamp(18px,1.38vw,23px);line-height:1.14;font-weight:760;letter-spacing:-.38px;margin:10px 0 8px}.ew-editorial-copy p,.ew-books-copy p{font-size:13.4px;line-height:1.28;margin:0;max-width:360px}.ew-promo-foot{display:flex;align-items:center;gap:24px;margin-top:13px;flex-wrap:wrap}.ew-promo-foot a,.ew-books-copy>a{display:inline-flex;gap:8px;align-items:center;text-decoration:underline;font-size:13px;font-weight:750;color:#164553}.ew-books-promo{display:flex;align-items:stretch}.ew-books-copy{flex:1;padding:23px 16px 22px 25px;min-width:0;display:flex;flex-direction:column;align-items:flex-start}.ew-books-copy p{margin-bottom:auto}.ew-books-copy>a{margin-top:19px}.ew-books-promo>img{width:40%;max-width:180px;object-fit:cover;object-position:center center;mask-image:linear-gradient(90deg,transparent 0%,#000 18%);-webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 18%)}
.ew-home-latest{margin-top:45px}.ew-home-latest .ew-section-heading{margin-bottom:22px}
/* Dynamic magazine/archives/search/posts */
.ew-subpage{min-height:55vh;padding:36px 0 24px}.ew-subpage-heading{max-width:830px;margin-bottom:32px}.ew-eyebrow{color:var(--petrol);font-size:12px;font-weight:850;letter-spacing:2px;text-transform:uppercase}.ew-subpage h1,.ew-reading-hero h1{font-size:clamp(36px,4.7vw,64px);font-weight:520;letter-spacing:-2px;line-height:1.08;margin:15px 0 12px}.ew-subpage-heading p{font-size:17px;line-height:1.6;max-width:665px}.ew-topic-grid.is-subpage{margin:35px 0}.ew-topic-grid.is-subpage .ew-topic-tile{height:200px}.ew-section-panel{background:rgba(245,253,255,.7);border:1px solid rgba(255,255,255,.85);border-radius:26px;padding:22px;backdrop-filter:blur(19px)}.ew-feed-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.ew-feed-toolbar h2{font-size:22px;font-weight:600;margin:0}.ew-post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.ew-post-card{border:1px solid rgba(255,255,255,.89);border-radius:22px;overflow:hidden;background:rgba(244,251,253,.85);box-shadow:0 10px 29px rgba(32,77,88,.09);display:flex;flex-direction:column}.ew-post-card-image{display:block;height:180px;position:relative;overflow:hidden}.ew-post-card-image img{width:100%;height:100%;object-fit:cover;transition:transform .3s ease}.ew-post-card-image:hover img{transform:scale(1.035)}.ew-post-card-tag{position:absolute;left:14px;bottom:13px;background:#e6f9faeb;color:#006878;padding:6px 10px;border-radius:15px;font-size:11px;font-weight:700}.ew-post-card-content{padding:18px;display:flex;flex-direction:column;flex:1}.ew-post-meta{font-size:11px;color:#54727e}.ew-post-card h3{font-size:20px;line-height:1.26;margin:11px 0}.ew-post-card p{font-size:13px;line-height:1.55;margin:0 0 15px;color:#566f78}.ew-post-card-foot{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:auto}.ew-post-card-foot>a{display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:750;color:#006878}.ew-bookmark{width:33px;height:33px;display:grid;place-items:center;border-radius:50%;background:#e9f6f7;border:1px solid #bbdce2;color:var(--petrol)}.ew-bookmark.is-saved{background:#006878;color:#fff}.ew-load-more{display:flex;align-items:center;gap:8px;margin:27px auto 0;border-radius:28px;border:1px solid #88b9c3;background:rgba(238,252,253,.74);color:#114656;padding:11px 19px;font-size:13px;font-weight:650}.ew-load-more:disabled{opacity:.6}.ew-no-posts{grid-column:1/-1;padding:40px 25px;border:1px dashed rgba(22,102,122,.35);border-radius:20px;background:rgba(255,255,255,.45)}.ew-no-posts h3{margin:0 0 9px}.ew-no-posts p{margin:0;color:#516b76}.ew-reading{max-width:850px;margin:0 auto;background:rgba(248,253,255,.87);border:1px solid rgba(255,255,255,.94);padding:clamp(22px,4vw,60px);border-radius:28px;box-shadow:0 19px 38px rgba(33,83,98,.12)}.ew-reading-hero{max-width:860px;margin:32px auto 24px}.ew-reading-hero h1{color:#243c47}.ew-article-meta{display:flex;gap:15px;align-items:center;color:#476976;font-size:13px;margin-top:16px}.ew-single-photo{width:100%;max-height:430px;object-fit:cover;border-radius:18px;margin-bottom:25px}.ew-reading-body{font-size:17px;line-height:1.85}.ew-reading-body h2{font-size:29px;line-height:1.25;margin-top:35px}.ew-reading-body h3{font-size:22px;margin-top:28px}.ew-reading-body a{color:#006878;text-decoration:underline}.ew-reading-body img{height:auto;max-width:100%}.ew-reading-body blockquote{margin:26px 0;padding:10px 22px;border-left:4px solid var(--petrol);background:#e7f4f7}.ew-reading-progress{position:fixed;z-index:80;top:0;left:0;height:3px;width:0;background:#00a3ae;transition:width .1s linear}.ew-reading-nav{display:flex;gap:15px;flex-wrap:wrap;justify-content:space-between;margin-top:28px}.ew-reading-nav a,.ew-reading-nav button{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:650;color:var(--petrol);padding:9px 12px;border:1px solid #b8dce1;border-radius:25px;background:#effcfd}.ew-books-detail{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(220px,.8fr);gap:26px;align-items:center;background:rgba(247,253,255,.78);border:1px solid #fff;border-radius:28px;padding:clamp(24px,4vw,55px)}.ew-books-detail img{max-height:390px;width:100%;object-fit:contain;border-radius:16px}.ew-books-detail h2{font-size:clamp(28px,3.2vw,42px);line-height:1.17;margin:13px 0}.ew-books-detail p{font-size:16px;line-height:1.65}.ew-simple-page{max-width:850px;padding:25px 0 30px}.ew-simple-page p{font-size:17px;line-height:1.75}.ew-simple-page .ew-section-panel{padding:30px}.ew-newsletter-message{background:#e3f2f4;padding:15px 18px;border-radius:13px;color:#2d5561;font-size:14px}.ew-footer{margin-top:24px;padding:18px 0;border-top:1px solid rgba(77,133,149,.30);font-size:12.5px;color:#3d5966}
/* Animated dark mode; JS advances overlay step by step as lights go out. */
body.ew-dark{--ink:#ebf7f9;--glass-border:rgba(220,247,251,.43)}body.ew-dark .ew-background{filter:brightness(.68) saturate(.83);transform:translateX(-12px) scale(1.018)}body.ew-dark .ew-sidebar{color:#f3fafb;background:linear-gradient(168deg,rgba(7,36,49,.9),rgba(16,57,69,.66));border-right-color:rgba(221,252,255,.23)}body.ew-dark .ew-claim,body.ew-dark .ew-nav-link,body.ew-dark .ew-side-utilities>a,body.ew-dark .ew-side-utilities>button,body.ew-dark .ew-social-block,body.ew-dark .ew-social-icons>*{color:#eefbfc}body.ew-dark .ew-logo-day{display:none!important}body.ew-dark .ew-logo-night{display:block!important}body.ew-dark .ew-nav-link.is-current{background:rgba(176,236,242,.15);border-color:rgba(255,255,255,.26)}body.ew-dark .ew-side-utilities>button{background:rgba(194,238,243,.23)}body.ew-dark .ew-search-form,body.ew-dark .ew-newsletter-btn{background:rgba(5,39,53,.43);color:#fff;border-color:rgba(232,252,253,.42)}body.ew-dark .ew-search-form input::placeholder{color:#eefbfc}body.ew-dark .ew-hero h1,body.ew-dark .ew-hero-copy p,body.ew-dark .ew-section-heading,body.ew-dark .ew-footer{color:#f3fdfe}body.ew-dark .ew-hero h1 span{color:#8AC5CF}body.ew-dark .ew-heading-rule{background:#e2faff}body.ew-dark .ew-glass{background:linear-gradient(125deg,rgba(163,209,221,.22),rgba(174,215,225,.13));border-color:rgba(243,255,255,.38);color:#f7ffff}body.ew-dark .ew-feature h2{color:white}body.ew-dark .ew-carousel-dots button{background:#f3ffff80}body.ew-dark .ew-carousel-dots .is-active{background:#faffff}body.ew-dark .ew-editorial,body.ew-dark .ew-books-promo,body.ew-dark .ew-editorial-copy,body.ew-dark .ew-books-copy{color:#f4fdff}body.ew-dark .ew-promo-foot a,body.ew-dark .ew-books-copy>a{color:#e6fbfc}body.ew-dark .ew-section-panel,body.ew-dark .ew-reading,body.ew-dark .ew-books-detail{background:rgba(233,248,251,.88);color:#163746}body.ew-dark .ew-subpage h1,body.ew-dark .ew-subpage-heading p,body.ew-dark .ew-eyebrow{color:#f5ffff}body.ew-dark .ew-no-posts{background:rgba(236,250,253,.22);color:#fff}body.ew-dark .ew-no-posts p{color:#e1f7fc}
/* Tablet/mobile: preserve hierarchy; allow the sidebar to collapse without overlays */
@media(max-width:1250px){:root{--side-width:195px}.ew-sidebar{padding-left:20px;padding-right:20px}.ew-logo{width:155px}.ew-topic-grid{gap:11px}.ew-topic-content{left:13px;right:39px}.ew-topic-content strong{font-size:12px}.ew-topic-arrow{right:9px;width:33px;height:33px}.ew-hero h1{font-size:clamp(45px,4vw,54px)}.ew-promos{grid-template-columns:1.5fr 1fr;gap:12px}.ew-editorial-copy{padding:18px}}
@media(max-width:1050px){.ew-topic-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.ew-topic-tile{height:205px}.ew-promos{grid-template-columns:1fr}.ew-books-promo{min-height:195px}.ew-hero{grid-template-columns:1.1fr .9fr;gap:14px}.ew-hero h1{font-size:clamp(40px,4vw,49px)}.ew-hero-copy p{font-size:15px}.ew-post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){:root{--side-width:0px}.ew-sidebar{position:sticky;top:0;left:0;width:100%;height:auto;min-height:64px;z-index:40;padding:12px 18px;flex-direction:column;box-shadow:0 4px 15px rgba(28,74,86,.09)}.ew-sidebar-top{display:flex;align-items:center;justify-content:space-between;gap:20px}.ew-logo{width:145px}.ew-claim{font-size:8px}.ew-menu-toggle{width:40px;height:40px;border:1px solid rgba(88,141,153,.33);background:rgba(255,255,255,.35);border-radius:12px;display:grid;place-items:center}.ew-nav{display:none;margin-top:16px;gap:3px}.ew-sidebar.is-open .ew-nav{display:flex}.ew-nav-link{height:42px}.ew-side-utilities,.ew-social-block{display:none}.ew-main{margin-left:0;padding:0 18px 25px}.ew-topbar{height:67px;gap:9px}.ew-search-form{width:min(230px,54vw);height:43px}.ew-newsletter-btn{height:43px;padding:0 12px;font-size:12px}.ew-hero{grid-template-columns:1fr;min-height:0;gap:28px;padding:3px 0 32px}.ew-hero h1{font-size:clamp(38px,8vw,58px)}.ew-hero-copy p{max-width:470px}.ew-feature{width:100%;justify-self:stretch;min-height:188px}.ew-carousel-dots{bottom:10px}.ew-topic-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ew-topic-tile{height:180px}.ew-section-heading{margin:18px 0}.ew-section-heading h2{font-size:17px}.ew-section-heading>a{font-size:11px}.ew-promos{margin-top:22px}.ew-editorial{min-height:205px}.ew-editorial-photo{width:35%}.ew-editorial-copy h2{font-size:19px}.ew-post-grid{grid-template-columns:1fr}.ew-subpage{padding-top:19px}.ew-books-detail{grid-template-columns:1fr}.ew-footer{font-size:11px}}
@media(max-width:420px){.ew-topic-grid{gap:8px}.ew-topic-tile{height:168px;border-radius:18px}.ew-topic-content{left:10px;bottom:13px;right:33px}.ew-topic-icon{height:30px}.ew-topic-icon svg{width:25px;height:25px}.ew-topic-content strong{font-size:12px}.ew-topic-content small{font-size:10px}.ew-topic-arrow{width:27px;height:27px;right:6px;bottom:12px}.ew-editorial-copy p{display:none}.ew-promos{gap:12px}.ew-books-copy{padding:18px}.ew-newsletter-btn svg{display:none}.ew-search-form{width:58vw}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
/* Final reference alignment at wide desktop: headings and editorial at their original visual coordinates. */
@media(min-width:1251px){
  .ew-topbar{padding-top:18px}
  .ew-hero{min-height:278px}
  .ew-hero-copy{transform:translateY(-16px)}
  .ew-feature{transform:translateY(8px)}
  .ew-topics-section,.ew-promos,.ew-home-latest{margin-left:-10px;margin-right:-10px}
  .ew-promos{grid-template-columns:minmax(0,1.78fr) minmax(0,.95fr)}
}
.ew-light{opacity:.26}

.ew-mobile-controls{display:none}.ew-mobile-theme-toggle{display:none}
@media(max-width:720px){
 .ew-claim{display:none}
 .ew-mobile-controls{display:flex;align-items:center;gap:8px}
 .ew-mobile-theme-toggle{width:40px;height:40px;display:grid;place-items:center;border:1px solid rgba(88,141,153,.33);background:rgba(255,255,255,.35);border-radius:12px;color:#254250}
 body.ew-dark .ew-mobile-theme-toggle{background:rgba(195,236,244,.2);color:#f5ffff;border-color:rgba(240,253,255,.3)}
}
