/*
 * Top of the Hill — design system (theme).
 * Tokens are printed inline from Theme Options as --toth-* custom properties.
 * Widget-specific styles live in the Core plugin; everything shared lives here.
 */
:root{
  --toth-primary:#12402d;--toth-deep:#0b2a1d;--toth-accent:#f2b630;--toth-bg:#fbfaf6;--toth-mist:#f1f3ee;--toth-ink:#10261b;--toth-muted:#5d6b63;
  --toth-font-h:"Poppins",system-ui,sans-serif;--toth-font-b:"Poppins",system-ui,sans-serif;--toth-fs:17px;--toth-r:28px;--toth-r-btn:999px;--toth-w:1240px;--toth-logo-h:38px;
  --toth-line:color-mix(in srgb,var(--toth-ink) 11%,transparent);
  --toth-accent-2:color-mix(in srgb,var(--toth-accent) 82%,#fff);
  --toth-primary-2:color-mix(in srgb,var(--toth-primary) 85%,#fff);
  --toth-out:cubic-bezier(.23,1,.32,1);--toth-io:cubic-bezier(.77,0,.175,1);--toth-drawer:cubic-bezier(.32,.72,0,1);
  --toth-pad:max(5vw,20px);--toth-nav:84px;
  --toth-shadow:0 30px 60px -30px color-mix(in srgb,var(--toth-deep) 40%,transparent),0 10px 24px -12px color-mix(in srgb,var(--toth-deep) 14%,transparent);
}
@supports not (color:color-mix(in srgb,red,blue)){:root{--toth-line:#e4e7e1;--toth-accent-2:#ffc94d;--toth-primary-2:#1b5a40}}

/* ---------- base ---------- */
html{scroll-padding-top:calc(var(--toth-nav) + 12px);-webkit-text-size-adjust:100%}
body.toth-theme{margin:0;background:var(--toth-bg);color:var(--toth-ink);font:400 var(--toth-fs)/1.72 var(--toth-font-b);overflow-x:clip;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
body.toth-lock{overflow:hidden}
.toth *,.toth *::before,.toth *::after,.toth{box-sizing:border-box;min-width:0}
.toth img,.toth video,.toth svg{display:block;max-width:100%}
.toth img{height:auto}
.toth a{color:inherit}
.toth button{font:inherit;color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}
body.toth-theme :focus-visible{outline:2.5px solid var(--toth-accent);outline-offset:3px;border-radius:10px}
.toth h1,.toth h2,.toth h3,.toth h4,.toth-prose h1,.toth-prose h2,.toth-prose h3,.toth-prose h4{font-family:var(--toth-font-h);font-weight:700;margin:0;letter-spacing:-.035em;text-wrap:balance;color:inherit}
.toth p{margin:0 0 1em;text-wrap:pretty}
.toth-wrap{width:min(var(--toth-w),100% - 2*var(--toth-pad));margin-inline:auto}
.toth-sec{padding-block:clamp(80px,10vw,140px)}
.toth-sec--t0{padding-top:0}
.toth-sec--b0{padding-bottom:0}
.toth-mist{background:var(--toth-mist)}
.toth-dark{background:var(--toth-primary);color:#eef4f0;--toth-muted:color-mix(in srgb,#fff 66%,var(--toth-primary));--toth-line:rgba(255,255,255,.12)}
.toth-gold{background:var(--toth-accent);color:var(--toth-deep);--toth-muted:color-mix(in srgb,var(--toth-deep) 75%,var(--toth-accent))}
.toth-white{background:#fff}
.toth-h1{font-size:clamp(44px,6.4vw,92px);line-height:1.02}
.toth-h2{font-size:clamp(34px,4.4vw,62px);line-height:1.06}
.toth-h3{font-size:clamp(21px,1.8vw,26px);line-height:1.2;letter-spacing:-.025em;font-weight:600}
.toth-lead{font-size:clamp(17px,1.4vw,20px);line-height:1.65;color:var(--toth-muted);max-width:62ch}
.toth-small{font-size:14px;color:var(--toth-muted)}
.toth-row{display:flex;flex-wrap:wrap;gap:12px}
.toth-skip{position:absolute;left:12px;top:-60px;z-index:300;background:var(--toth-accent);color:var(--toth-deep);padding:10px 18px;border-radius:999px;font-weight:600;text-decoration:none;transition:top .2s}
.toth-skip:focus{top:12px}
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}
.toth-main:focus{outline:0}

/* ---------- buttons ---------- */
.toth-btn,.wp-block-button__link,.toth-prose .wp-element-button{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:56px;padding:0 30px;border:0;border-radius:var(--toth-r-btn);background:var(--toth-accent);color:var(--toth-deep)!important;font:600 15.5px/1.1 var(--toth-font-b);text-decoration:none;white-space:nowrap;cursor:pointer;transition:transform 160ms var(--toth-out),background-color 220ms ease,box-shadow 300ms ease;box-shadow:0 10px 24px -12px color-mix(in srgb,var(--toth-accent) 80%,transparent)}
.toth-btn:active,.wp-block-button__link:active{transform:scale(.97)}
.toth-btn svg{width:16px;height:16px}
.toth-btn--dark{background:var(--toth-primary);color:#fff!important;box-shadow:0 10px 24px -12px color-mix(in srgb,var(--toth-primary) 70%,transparent)}
.toth-btn--line{background:transparent;color:inherit!important;box-shadow:inset 0 0 0 1.5px currentColor}
.toth-btn--white{background:#fff;color:var(--toth-primary)!important;box-shadow:none}
.toth-btn--sm{min-height:46px;padding:0 22px;font-size:14.5px}
@media (hover:hover){.toth-btn:hover,.wp-block-button__link:hover{background:var(--toth-accent-2)}.toth-btn--dark:hover{background:var(--toth-primary-2)}.toth-btn--line:hover{background:rgba(127,127,127,.12)}.toth-btn--white:hover{background:var(--toth-mist)}}
.toth-arr{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--toth-accent);color:var(--toth-deep);flex:none;transition:transform 400ms var(--toth-out)}
.toth-arr svg{width:14px;height:14px}
.toth-link{display:inline-flex;align-items:center;gap:12px;font-weight:600;font-size:15px;text-decoration:none;color:var(--toth-primary)}
.toth-dark .toth-link{color:#fff}
@media (hover:hover){.toth-link:hover .toth-arr,a:hover>.toth-link .toth-arr,a:hover>.toth-arr{transform:translateX(4px)}}
.toth-tag{display:inline-block;font-size:12.5px;font-weight:600;padding:5px 12px;border-radius:999px;background:color-mix(in srgb,var(--toth-accent) 20%,transparent);color:color-mix(in srgb,var(--toth-accent) 35%,#3a2a00);line-height:1.4}

/* ---------- preloader (emblem → frosted reveal) ---------- */
#toth-pre{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;background:rgba(255,255,255,var(--fa,.86));backdrop-filter:blur(var(--fb,28px)) saturate(140%);-webkit-backdrop-filter:blur(var(--fb,28px)) saturate(140%)}
#toth-pre .m{display:grid;justify-items:center;gap:18px}
#toth-pre svg{width:120px;height:120px;overflow:visible}
#toth-pre .wm{font:400 28px/1 "Fraunces",Georgia,serif;color:var(--toth-primary);letter-spacing:-.01em;opacity:0;transform:translateY(8px)}
#toth-pre .wm.on{opacity:1;transform:none;transition:opacity 700ms ease,transform 900ms var(--toth-out)}
#toth-pre .sub{font:600 13px/1 var(--toth-font-b);color:var(--toth-muted);opacity:0}
#toth-pre .sub.on{opacity:1;transition:opacity 700ms 200ms ease}
html.toth-preloading body{overflow:hidden}
.lm .field{transform-box:view-box;transform-origin:50px 100px;transform:scaleY(0)}
.lm .ray{transform-box:view-box;transform-origin:50px 44px;transform:scale(.2);opacity:0}
.lm .sun{transform-box:fill-box;transform-origin:50% 100%;transform:translateY(10px);opacity:0}
.lm .glow{opacity:0}
.lm.s1 .field{transform:none;transition:transform 900ms var(--toth-out);transition-delay:var(--d)}
.lm.s2 .sun{transform:none;opacity:1;transition:transform 900ms var(--toth-out),opacity 600ms ease}
.lm.s2 .glow{opacity:1;transition:opacity 1200ms ease}
.lm.s3 .ray{transform:none;opacity:1;transition:transform 900ms var(--toth-out),opacity 400ms ease;transition-delay:var(--d)}

/* ---------- page transition veil ---------- */
#toth-veil{position:fixed;inset:0;z-index:9000;pointer-events:none;background:color-mix(in srgb,var(--toth-bg) 0%,transparent);backdrop-filter:blur(0);-webkit-backdrop-filter:blur(0);transition:background-color 280ms ease,backdrop-filter 280ms ease,-webkit-backdrop-filter 280ms ease}
#toth-veil.on{background:color-mix(in srgb,var(--toth-bg) 72%,transparent);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px)}

/* ---------- header (default header and the Site Header widget share this) ---------- */
.toth-hf--header{position:relative;z-index:60}
.toth-header{position:fixed;inset:0 0 auto;z-index:60;padding-top:14px;color:#fff;transition:transform 500ms var(--toth-drawer)}
.admin-bar .toth-header{top:32px}
@media (max-width:782px){.admin-bar .toth-header{top:46px}}
.toth-header.is-light{color:var(--toth-ink)}
.toth-header.is-away{transform:translateY(-130%)}
.toth-header__bar{width:min(calc(var(--toth-w) + 40px),100% - 2*var(--toth-pad) + 40px);margin-inline:auto;min-height:68px;padding:0 10px 0 20px;display:flex;align-items:center;gap:18px;border-radius:999px;transition:background-color 400ms ease,box-shadow 400ms ease,color 400ms ease}
.toth-header.is-solid .toth-header__bar{background:rgba(255,255,255,.8);backdrop-filter:blur(20px) saturate(180%);-webkit-backdrop-filter:blur(20px) saturate(180%);box-shadow:0 12px 40px -18px color-mix(in srgb,var(--toth-deep) 40%,transparent),inset 0 0 0 1px rgba(255,255,255,.6);color:var(--toth-ink)}
.toth-header.is-light:not(.is-solid) .toth-header__bar{background:#fff;box-shadow:0 0 0 1px var(--toth-line)}
.toth-logo{display:flex;align-items:center;gap:11px;text-decoration:none;margin-right:auto;color:inherit}
.toth-logo svg,.toth-logo__img{width:auto;height:var(--toth-logo-h);max-width:220px;object-fit:contain}
.toth-logo svg{width:var(--toth-logo-h)}
.toth-logo__text b{display:block;white-space:nowrap;font:700 17px/1.1 var(--toth-font-h);letter-spacing:-.02em}
.toth-logo__text small{display:block;font-size:11.5px;font-weight:500;opacity:.72;line-height:1.2}
.toth-menu{display:flex;align-items:center;gap:2px;list-style:none;margin:0;padding:0}
.toth-menu>li{position:relative}
.toth-menu>li>a{display:block;padding:10px 14px;border-radius:999px;font-size:14.5px;font-weight:500;text-decoration:none;transition:background-color 200ms ease;white-space:nowrap}
.toth-menu>li.current-menu-item>a,.toth-menu>li.current-menu-ancestor>a,.toth-menu>li.current_page_item>a{font-weight:600;position:relative}
.toth-menu>li.current-menu-item>a::after,.toth-menu>li.current-menu-ancestor>a::after,.toth-menu>li.current_page_item>a::after{content:"";position:absolute;left:50%;bottom:3px;width:5px;height:5px;margin-left:-2.5px;border-radius:50%;background:var(--toth-accent)}
.toth-menu>li.menu-item-has-children>a::before{content:"";float:right;width:6px;height:6px;margin:8px 0 0 7px;border:solid currentColor;border-width:0 1.6px 1.6px 0;transform:rotate(45deg);opacity:.7;transition:transform 300ms var(--toth-out)}
@media (hover:hover){.toth-menu>li>a:hover{background:rgba(127,127,127,.14)}}
.toth-menu .sub-menu{position:absolute;top:calc(100% + 10px);left:-10px;min-width:280px;list-style:none;margin:0;padding:10px;border-radius:22px;background:#fff;color:var(--toth-ink);box-shadow:var(--toth-shadow),0 0 0 1px var(--toth-line);opacity:0;transform:translateY(-6px) scale(.97);transform-origin:20% 0;pointer-events:none;transition:opacity 180ms ease,transform 260ms var(--toth-out)}
.toth-menu .sub-menu::before{content:"";position:absolute;left:0;right:0;top:-12px;height:12px}
.toth-menu>li:hover>.sub-menu,.toth-menu>li:focus-within>.sub-menu,.toth-menu>li.is-open>.sub-menu{opacity:1;transform:none;pointer-events:all}
.toth-menu .sub-menu a{display:block;padding:11px 14px;border-radius:14px;text-decoration:none;font-weight:600;font-size:15px}
.toth-menu .sub-menu a:hover{background:var(--toth-mist)}
.toth-menu .menu-item-description,.toth-menu .sub-menu .description{display:block;font-weight:400;font-size:13px;color:var(--toth-muted)}
.toth-header__nav{display:flex}
.toth-header__give{font-weight:600;font-size:14.5px;text-decoration:none;padding:10px 12px}
.toth-burger{display:none;width:46px;height:46px;border:0;border-radius:50%;background:rgba(127,127,127,.16);flex-direction:column;justify-content:center;align-items:center;gap:5px}
.toth-burger span{width:18px;height:2px;border-radius:2px;background:currentColor}
@media (max-width:1180px){.toth-header__nav,.toth-header__give{display:none}.toth-burger{display:flex}.toth-has-tabbar .toth-burger{display:none}}
@media (max-width:700px){.toth-header__bar{min-height:60px;padding-left:14px}.toth-header .toth-btn{display:none}}

/* mobile tab bar */
.toth-tabbar{display:none;position:fixed;left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom));z-index:65;height:66px;border-radius:24px;background:rgba(255,255,255,.84);backdrop-filter:blur(22px) saturate(180%);-webkit-backdrop-filter:blur(22px) saturate(180%);box-shadow:0 18px 40px -16px color-mix(in srgb,var(--toth-deep) 50%,transparent),inset 0 0 0 1px rgba(255,255,255,.7),0 0 0 1px var(--toth-line);grid-auto-flow:column;grid-auto-columns:1fr;padding:6px;transition:transform 500ms var(--toth-drawer)}
.toth-tabbar a,.toth-tabbar button{position:relative;display:grid;place-items:center;align-content:center;gap:2px;border:0;border-radius:18px;background:none;text-decoration:none;font-size:11px;font-weight:600;color:var(--toth-muted);transition:transform 140ms var(--toth-out),color 200ms ease}
.toth-tabbar a:active,.toth-tabbar button:active{transform:scale(.92)}
.toth-tabbar svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.toth-tabbar .is-on{color:var(--toth-primary);background:color-mix(in srgb,var(--toth-primary) 8%,transparent)}
.toth-tabbar.is-hidden{transform:translateY(140%)}
@media (max-width:1180px){.toth-tabbar{display:grid}body.toth-has-tabbar{padding-bottom:0}}

/* bottom sheet */
.toth-sheet-scrim{position:fixed;inset:0;z-index:69;background:rgba(6,22,15,.45);opacity:0;pointer-events:none;transition:opacity 350ms ease}
.toth-sheet-scrim.on{opacity:1;pointer-events:all}
.toth-sheet{position:fixed;left:0;right:0;bottom:0;z-index:70;max-height:88svh;overflow:auto;overscroll-behavior:contain;background:#fff;color:var(--toth-ink);border-radius:30px 30px 0 0;padding:6px 20px calc(28px + env(safe-area-inset-bottom));transform:translateY(105%);visibility:hidden;box-shadow:0 -20px 60px -20px rgba(6,22,15,.4)}
.toth-sheet.on{visibility:visible}
.toth-sheet__grab{padding:8px 0 14px;touch-action:none;cursor:grab}
.toth-sheet__grab i{display:block;width:44px;height:5px;border-radius:5px;background:#d3d8d2;margin:0 auto}
.toth-sheet__menu,.toth-sheet__menu ul{list-style:none;margin:0;padding:0}
.toth-sheet__menu{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.toth-sheet__menu>li.menu-item-has-children{grid-column:1/-1;display:block}
.toth-sheet__menu>li.menu-item-has-children>a{background:none!important;padding:14px 4px 4px!important;font-size:13px!important;color:var(--toth-muted)}
.toth-sheet__menu .sub-menu{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.toth-sheet__menu a{display:flex;align-items:center;gap:12px;padding:16px;border-radius:18px;background:var(--toth-mist);text-decoration:none;font-weight:600;font-size:15px;transition:transform 140ms var(--toth-out)}
.toth-sheet__menu a:active{transform:scale(.97)}
.toth-sheet__ctas{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:18px}

/* ---------- aurora (soft moving light in dark sections) ---------- */
.toth-aurora{position:absolute;inset:0;z-index:-1;overflow:hidden;pointer-events:none}
.toth-aurora i{position:absolute;border-radius:50%;filter:blur(80px);opacity:.55;will-change:transform}
.toth-aurora i:nth-child(1){width:60vw;height:60vw;left:-15vw;top:-25vw;background:color-mix(in srgb,var(--toth-primary) 60%,#3fae7f);animation:tothDrift1 22s ease-in-out infinite alternate}
.toth-aurora i:nth-child(2){width:42vw;height:42vw;right:-8vw;bottom:-18vw;background:color-mix(in srgb,var(--toth-accent) 45%,var(--toth-primary));opacity:.45;animation:tothDrift2 26s ease-in-out infinite alternate}
.toth-aurora i:nth-child(3){width:30vw;height:30vw;left:38vw;top:10vw;background:var(--toth-deep);opacity:.8;animation:tothDrift1 30s ease-in-out infinite alternate-reverse}
@keyframes tothDrift1{to{transform:translate3d(8vw,6vw,0) scale(1.1)}}
@keyframes tothDrift2{to{transform:translate3d(-6vw,-5vw,0) scale(1.15)}}

/* ---------- page header (archives, stories, Page Hero widget) ---------- */
.toth-ph{position:relative;overflow:hidden;isolation:isolate;padding:calc(var(--toth-nav) + clamp(48px,7vw,100px)) 0 clamp(60px,7vw,100px)}
.toth-ph__grid{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:clamp(32px,5vw,80px);align-items:center}
.toth-ph--short .toth-ph__grid{grid-template-columns:minmax(0,1fr)}
.toth-ph__title{font-size:clamp(40px,5.4vw,78px);line-height:1.04}
.toth-ph .toth-lead{color:color-mix(in srgb,#fff 78%,var(--toth-primary));margin-top:22px}
.toth-ph__meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin-top:22px;font-size:14px;color:color-mix(in srgb,#fff 75%,var(--toth-primary))}
.toth-ph__meta .toth-tag{background:rgba(255,255,255,.12);color:#fff}
.toth-ph__pic{aspect-ratio:5/4;border-radius:999px 999px var(--toth-r) var(--toth-r);overflow:hidden}
.toth-ph__pic img{width:100%;height:100%;object-fit:cover}
.toth-crumb{display:inline-flex;align-items:center;flex-wrap:wrap;gap:4px 8px;min-height:34px;padding:4px 14px;border-radius:999px;background:rgba(255,255,255,.1);font-size:13px;font-weight:500;margin-bottom:24px}
.toth-crumb a{text-decoration:none;opacity:.8}
.toth-crumb a:hover{opacity:1}
.toth-crumb .sep{width:5px;height:5px;border-radius:50%;background:var(--toth-accent)}
@media (max-width:900px){.toth-ph__grid{grid-template-columns:minmax(0,1fr)}.toth-ph__pic{aspect-ratio:16/11}}

/* ---------- news cards (shared with the Posts widget) ---------- */
.toth-news{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.toth-post{display:flex;flex-direction:column;padding:12px 12px 24px;border-radius:var(--toth-r);background:#fff;box-shadow:0 0 0 1px var(--toth-line);text-decoration:none;color:var(--toth-ink);transition:transform 450ms var(--toth-out),box-shadow 450ms var(--toth-out)}
.toth-post__ph{aspect-ratio:16/11;border-radius:calc(var(--toth-r) - 8px);overflow:hidden;margin-bottom:20px;background:var(--toth-mist);display:grid;place-items:center}
.toth-post__ph img{width:100%;height:100%;object-fit:cover;transition:transform 1000ms var(--toth-out)}
.toth-post__ph>svg{width:64px;height:64px;opacity:.5}
.toth-post__meta,.toth-post h3,.toth-post p{padding-inline:10px}
.toth-post__meta{display:flex;gap:10px;align-items:center;font-size:13px;color:var(--toth-muted);margin-bottom:10px}
.toth-post h3{font-size:clamp(19px,1.6vw,23px);line-height:1.25;letter-spacing:-.025em;font-weight:600;margin-bottom:8px}
.toth-post p{color:var(--toth-muted);font-size:15px;margin:0}
.toth-post:active{transform:scale(.99)}
@media (hover:hover){.toth-post:hover{transform:translateY(-5px);box-shadow:var(--toth-shadow)}.toth-post:hover img{transform:scale(1.05)}}
@media (max-width:980px){.toth-news{grid-template-columns:1fr 1fr}}
@media (max-width:600px){.toth-news{grid-template-columns:1fr}}
.toth-pager{margin-top:48px}
.toth-pager .nav-links{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}
.toth-pager .page-numbers{display:inline-grid;place-items:center;min-width:46px;height:46px;padding:0 16px;border-radius:999px;background:#fff;box-shadow:0 0 0 1px var(--toth-line);text-decoration:none;font-weight:600}
.toth-pager .page-numbers.current{background:var(--toth-primary);color:#fff;box-shadow:none}

/* ---------- prose (news stories, plain pages) ---------- */
.toth-article{display:grid;grid-template-columns:minmax(0,1fr);gap:56px;justify-items:center}
.toth-article.has-side{grid-template-columns:minmax(0,1fr) 300px;justify-items:stretch}
@media (max-width:980px){.toth-article.has-side{grid-template-columns:minmax(0,1fr)}}
.toth-prose{max-width:740px;width:100%;font-size:calc(var(--toth-fs) + 2px);line-height:1.8;color:color-mix(in srgb,var(--toth-ink) 90%,var(--toth-muted))}
.toth-prose>*+*{margin-top:1.1em}
.toth-prose h2{font-size:clamp(28px,3vw,38px);line-height:1.15;margin-top:1.6em;color:var(--toth-ink)}
.toth-prose h3{font-size:clamp(22px,2.2vw,27px);line-height:1.25;margin-top:1.4em;color:var(--toth-ink);letter-spacing:-.025em}
.toth-prose a{color:var(--toth-primary);text-decoration-thickness:1.5px;text-underline-offset:3px}
.toth-prose img{border-radius:var(--toth-r);height:auto;max-width:100%}
.toth-prose figure{margin:2em 0}
.toth-prose figcaption{font-size:14px;color:var(--toth-muted);margin-top:12px;text-align:left}
.toth-prose blockquote{margin:2em 0;padding:4px 0 4px 26px;border-left:4px solid var(--toth-accent);font-size:1.15em;font-weight:500;color:var(--toth-ink)}
.toth-prose ul,.toth-prose ol{padding-left:1.3em}
.toth-prose li{margin-bottom:.4em}
.toth-prose li::marker{color:var(--toth-primary)}
.toth-prose table{width:100%;border-collapse:collapse;font-size:16px}
.toth-prose th,.toth-prose td{padding:12px;border-bottom:1px solid var(--toth-line);text-align:left}
.toth-prose .alignwide{max-width:min(1100px,92vw);margin-inline:calc(50% - min(550px,46vw))}
.toth-prose .alignfull{max-width:100vw;margin-inline:calc(50% - 50vw)}
.toth-prose .wp-block-image img{border-radius:var(--toth-r)}
.toth-tags a{display:inline-block;margin:0 6px 6px 0;padding:6px 14px;border-radius:999px;background:var(--toth-mist);font-size:14px;text-decoration:none}
.toth-next{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:56px;padding:22px 26px;border-radius:24px;background:#fff;box-shadow:0 0 0 1px var(--toth-line);text-decoration:none!important;color:var(--toth-ink)!important;transition:transform 400ms var(--toth-out),box-shadow 400ms var(--toth-out)}
.toth-next span{display:block;font-size:13px;color:var(--toth-muted)}
.toth-next strong{font-family:var(--toth-font-h);font-size:20px;letter-spacing:-.02em}
@media (hover:hover){.toth-next:hover{transform:translateY(-3px);box-shadow:var(--toth-shadow)}.toth-next:hover .toth-arr{transform:translateX(4px)}}
.toth-widget{padding:24px;border-radius:24px;background:#fff;box-shadow:0 0 0 1px var(--toth-line);margin-bottom:16px;font-size:15px}
.toth-widget__title{font-size:18px;margin-bottom:12px}
.toth-widget ul{list-style:none;margin:0;padding:0}
.toth-widget li{padding:6px 0;border-bottom:1px solid var(--toth-line)}

/* ---------- search, forms, comments ---------- */
.toth-search{display:flex;gap:8px;max-width:560px}
.toth-search input{flex:1;height:56px;padding:0 20px;border:1.5px solid var(--toth-line);border-radius:999px;background:#fff;font:400 16px var(--toth-font-b);color:var(--toth-ink)}
.toth-search input:focus{outline:none;border-color:var(--toth-primary);box-shadow:0 0 0 4px color-mix(in srgb,var(--toth-primary) 12%,transparent)}
.toth-searchbar{margin-bottom:40px}
.toth-empty{text-align:center;padding:40px 0;display:grid;justify-items:center;gap:12px}
.toth-404{display:grid;gap:28px}
.toth-comments{margin-top:56px}
.toth-comment-list{list-style:none;padding:0}
.toth-comment-list .comment-body{padding:20px;border-radius:20px;background:#fff;box-shadow:0 0 0 1px var(--toth-line);margin-bottom:12px;font-size:16px}
.comment-form input:not([type=submit]):not([type=checkbox]),.comment-form textarea{width:100%;padding:14px 18px;border:1.5px solid var(--toth-line);border-radius:16px;background:#fff;font:400 16px var(--toth-font-b)}

/* ---------- CTA band ---------- */
.toth-cta{position:relative;background:var(--toth-accent);color:var(--toth-deep);overflow:hidden;isolation:isolate;padding:clamp(80px,10vw,140px) 0 calc(clamp(80px,10vw,140px) + 40px)}
.toth-cta::before{content:"";position:absolute;z-index:-1;right:-12vw;top:-30%;width:60vw;height:60vw;border-radius:50%;background:radial-gradient(circle,rgba(255,236,170,.9),rgba(255,236,170,0) 65%)}
.toth-cta h2{font-size:clamp(34px,4.4vw,62px);line-height:1.06;max-width:15ch}
.toth-cta p{font-size:clamp(17px,1.4vw,19px);color:color-mix(in srgb,var(--toth-deep) 80%,var(--toth-accent));max-width:48ch;margin-top:18px}
.toth-cta .toth-row{margin-top:34px}

/* ---------- footer ---------- */
.toth-footer{background:var(--toth-deep);color:color-mix(in srgb,#fff 78%,var(--toth-deep));border-radius:40px 40px 0 0;margin-top:-40px;position:relative;z-index:1}
.toth-footer a{text-decoration:none}
.toth-footer__top{display:grid;grid-template-columns:minmax(0,1.5fr) repeat(4,minmax(0,1fr));gap:36px;padding:clamp(64px,7vw,96px) 0 48px}
.toth-footer .toth-logo{color:#fff}
.toth-footer .toth-logo__text b{font-size:20px}
.toth-footer__about p{margin:22px 0;max-width:34ch;font-size:15px}
.toth-footer__h{font:600 14px/1.2 var(--toth-font-b)!important;color:var(--toth-accent);margin:6px 0 18px!important;letter-spacing:0!important}
.toth-footer ul{list-style:none;margin:0;padding:0;display:grid;gap:10px;font-size:15px}
@media (hover:hover){.toth-footer ul a:hover{color:#fff}}
.toth-footer__base{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:22px 0 calc(22px + 90px);border-top:1px solid rgba(255,255,255,.1);font-size:13.5px;color:color-mix(in srgb,#fff 58%,var(--toth-deep))}
@media (min-width:1181px){.toth-footer__base{padding-bottom:26px}}
@media (max-width:980px){.toth-footer__top{grid-template-columns:1fr 1fr}.toth-footer__about{grid-column:1/-1}}
@media (max-width:560px){.toth-footer__top{grid-template-columns:1fr}}
.toth-social{display:flex;gap:8px;flex-wrap:wrap}
.toth-social a{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.08);transition:background-color 200ms ease,transform 140ms var(--toth-out)}
.toth-social a:hover{background:var(--toth-accent);color:var(--toth-deep)}
.toth-social a:active{transform:scale(.92)}
.toth-social svg{width:18px;height:18px}

/* back to top */
.toth-top{position:fixed;right:20px;bottom:24px;z-index:55;width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:var(--toth-primary);color:#fff;box-shadow:var(--toth-shadow);opacity:0;transform:translateY(12px) scale(.9);pointer-events:none;transition:opacity 300ms ease,transform 400ms var(--toth-out)}
.toth-top.on{opacity:1;transform:none;pointer-events:all}
.toth-top svg{width:20px;height:20px}
@media (max-width:1180px){.toth-has-tabbar .toth-top{display:none}}

/* ---------- reveal animations ---------- */
.toth-anim .toth-rv{opacity:0;transform:translateY(28px)}
.toth-anim .toth-rv.in{opacity:1;transform:none;transition:opacity 900ms var(--toth-out),transform 1100ms var(--toth-out);transition-delay:var(--d,0ms)}
.toth-anim .toth-rz{opacity:0;transform:scale(.94);filter:blur(6px)}
.toth-anim .toth-rz.in{opacity:1;transform:none;filter:none;transition:opacity 900ms var(--toth-out),transform 1200ms var(--toth-out),filter 900ms ease;transition-delay:var(--d,0ms)}
.toth-anim .toth-hw .w{display:inline-block;opacity:0;transform:translateY(.45em);filter:blur(6px)}
.toth-anim .toth-hw.in .w{opacity:1;transform:none;filter:none;transition:opacity 600ms ease,transform 900ms var(--toth-out),filter 700ms ease;transition-delay:calc(var(--i)*45ms)}
.elementor-editor-active .toth-rv,.elementor-editor-active .toth-rz,.elementor-editor-active .toth-hw .w{opacity:1!important;transform:none!important;filter:none!important}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:1ms!important;animation-delay:0ms!important;transition-duration:1ms!important;scroll-behavior:auto!important}
  .toth-anim .toth-rv,.toth-anim .toth-rz,.toth-anim .toth-hw .w{opacity:1;transform:none;filter:none}
  .toth-aurora i{animation:none}
}
@media (prefers-reduced-transparency:reduce){.toth-header.is-solid .toth-header__bar,.toth-tabbar{background:#fff;backdrop-filter:none;-webkit-backdrop-filter:none}}
@media print{.toth-header,.toth-tabbar,.toth-sheet,.toth-top,#toth-pre,#toth-veil,.toth-footer{display:none!important}.toth-ph{padding:20px 0;color:#000;background:none}}
