/* DealStack theme: pages, posts, search and "not found". Uses the website's colours and font when the DealStack plugin is active (website.css), and the same values on its own when it isn't. */
:root{--dst-ink:var(--ink,#141b24);--dst-ink-2:var(--ink-2,#2b3541);--dst-slate:var(--slate,#5a6573);--dst-line:var(--line,#e2e5ea);--dst-mist:var(--mist,#f3f4f6);--dst-brand:var(--brand,#fc8100);--dst-deep:var(--brand-deep,#b85a00);--dst-soft:var(--brand-soft,#fff1df);--dst-grad:var(--grad,linear-gradient(115deg,#ffb547 0%,#fc8100 45%,#e8501a 100%));--dst-font:var(--text,"Open Sauce One",ui-sans-serif,system-ui,sans-serif)}
body.dst{margin:0;min-height:100vh;display:flex;flex-direction:column;background:var(--dst-mist);color:var(--dst-ink);font:400 16px/1.65 var(--dst-font);-webkit-font-smoothing:antialiased}
body.dst:not(.dsw){background:radial-gradient(60vmax 45vmax at 100% -10%,rgba(252,129,0,.14),transparent 60%) fixed,var(--dst-mist)}
.dst-main{flex:1 0 auto}
.dst-wrap{width:min(1200px,100% - 48px);margin-inline:auto}
.dst-skip{position:absolute;left:-9999px}
.dst-skip:focus{left:16px;top:16px;z-index:100;padding:10px 14px;border-radius:10px;background:#fff;color:var(--dst-ink);box-shadow:0 10px 30px -12px rgba(20,27,36,.35)}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}

/* Page and post */
.dst-entry__head{display:grid;justify-items:start;gap:14px;padding:clamp(28px,5vw,56px) 0 clamp(18px,3vw,28px)}
.dst-entry__head>*{max-width:820px}
.dst-entry__head h1{margin:0;font-size:clamp(32px,4.2vw,50px);line-height:1.08;letter-spacing:-.025em;font-weight:700;color:var(--dst-ink);text-wrap:balance}
.dst-meta{margin:0;color:var(--dst-slate);font-size:14px}
.dst-entry__img{margin-block:0 28px}
.dst-entry__img img{max-width:1000px}
.dst-entry__img img{display:block;width:100%;max-height:520px;object-fit:cover;border-radius:18px}
.dst-entry__body>*{max-width:760px}
.dst-entry__body>:is(.alignwide,.alignfull,.wp-block-image.alignwide){max-width:none}
.dst-entry__body{padding-bottom:clamp(48px,7vw,96px);font-size:17px;color:var(--dst-ink-2)}
.dst-entry__body>*:first-child{margin-top:0}
.dst-entry__body h2{margin:1.9em 0 .55em;font-size:clamp(24px,2.3vw,30px);line-height:1.2;letter-spacing:-.015em;color:var(--dst-ink)}
.dst-entry__body h3{margin:1.6em 0 .4em;font-size:20px;line-height:1.3;color:var(--dst-ink)}
.dst-entry__body h4{margin:1.4em 0 .4em;font-size:17px;color:var(--dst-ink)}
.dst-entry__body p{margin:0 0 1.1em}
.dst-entry__body :is(ul,ol){margin:0 0 1.2em;padding-left:1.3em}
.dst-entry__body li{margin:.35em 0}
.dst-entry__body a{color:var(--dst-deep);text-decoration-thickness:1px;text-underline-offset:3px}
.dst-entry__body a:hover{color:var(--dst-brand)}
.dst-entry__body img{max-width:100%;height:auto;border-radius:12px}
.dst-entry__body figure{margin:1.6em 0}
.dst-entry__body figcaption{margin-top:8px;color:var(--dst-slate);font-size:14px}
.dst-entry__body blockquote{position:relative;margin:1.6em 0;padding:4px 0 4px 22px;color:var(--dst-ink);font-size:19px}
.dst-entry__body blockquote::before{content:"";position:absolute;left:0;top:10px;bottom:10px;width:3px;border-radius:3px;background:var(--dst-grad)}
.dst-entry__body table{width:100%;margin:1.4em 0;border-collapse:collapse;font-size:15px}
.dst-entry__body :is(th,td){padding:10px 12px;border-bottom:1px solid var(--dst-line);text-align:left;vertical-align:top}
.dst-entry__body th{color:var(--dst-ink);font-weight:700}
.dst-entry__body :is(code,pre){font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.9em}
.dst-entry__body pre{overflow:auto;padding:16px;border-radius:12px;background:#fff;border:1px solid var(--dst-line)}
.dst-pages{display:flex;gap:8px;margin-top:2em}

/* Lists and search */
.dst-list{padding-bottom:clamp(48px,7vw,96px)}
.dst-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:18px}
.dst-card{display:grid;align-content:start;gap:8px;padding:12px 12px 20px;border-radius:18px;background:rgba(255,255,255,.82);box-shadow:0 1px 0 rgba(20,27,36,.04),0 14px 34px -26px rgba(20,27,36,.4);color:var(--dst-ink);text-decoration:none;transition:transform .25s ease,box-shadow .25s ease}
.dst-card:hover{transform:translateY(-2px);box-shadow:0 1px 0 rgba(20,27,36,.04),0 22px 40px -24px rgba(20,27,36,.45)}
.dst-card:focus-visible{outline:2px solid var(--dst-brand);outline-offset:3px}
.dst-card__img{display:block;margin-bottom:6px;border-radius:12px;overflow:hidden;aspect-ratio:16/9;background:var(--dst-soft)}
.dst-card__img img{width:100%;height:100%;object-fit:cover;display:block}
.dst-card>:not(.dst-card__img){padding-inline:8px}
.dst-card__meta{color:var(--dst-slate);font-size:13px}
.dst-card strong{font-size:19px;line-height:1.3;letter-spacing:-.01em}
.dst-card__text{color:var(--dst-slate);font-size:15px}
.dst-paging{margin-top:32px}
.dst-paging .nav-links{display:flex;flex-wrap:wrap;gap:8px}
.dst-paging .page-numbers{display:inline-grid;place-items:center;min-width:40px;height:40px;padding:0 12px;border-radius:999px;background:#fff;color:var(--dst-ink);text-decoration:none;box-shadow:inset 0 0 0 1px var(--dst-line)}
.dst-paging .page-numbers.current{background:var(--dst-ink);color:#fff;box-shadow:none}
.dst-empty{max-width:560px;padding:28px;border-radius:18px;background:rgba(255,255,255,.82)}
.dst-empty h2{margin:0 0 6px;font-size:22px}
.dst-empty p{margin:0;color:var(--dst-slate)}
.dst-search{width:100%;max-width:560px}
.dst-searchform{display:flex;gap:8px}
.dst-searchform input{flex:1;min-width:0;height:48px;padding:0 18px;border:0;border-radius:999px;background:#fff;box-shadow:inset 0 0 0 1.5px #cfd4da;color:var(--dst-ink);font:inherit}
.dst-searchform input:focus{outline:0;box-shadow:inset 0 0 0 2px var(--dst-brand)}
.dst-searchform button{height:48px;padding:0 22px;border:0;border-radius:999px;background:var(--dst-grad);color:#fff;font:600 15px/1 var(--dst-font);cursor:pointer}

/* Not found */
.dst-404{padding:clamp(40px,9vw,120px) 0}
.dst-404__panel{display:grid;justify-items:start;gap:14px;max-width:620px}
.dst-404 .dst-404__code{margin:0;font-size:clamp(84px,14vw,148px);line-height:.9;font-weight:700;letter-spacing:-.05em;background:var(--dst-grad);-webkit-background-clip:text;background-clip:text;color:transparent}
.dst-404 h1{margin:0;font-size:clamp(28px,3.6vw,42px);line-height:1.1;letter-spacing:-.02em;color:var(--dst-ink)}
.dst-404 p{margin:0;max-width:52ch;color:var(--dst-slate);font-size:17px}
.dst-404__actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px}

/* Buttons when the website's styles aren't there */
body.dst:not(.dsw) .dst-btn{display:inline-flex;align-items:center;min-height:46px;padding:0 20px;border-radius:999px;font:600 15px/1 var(--dst-font);text-decoration:none}
body.dst:not(.dsw) .dst-btn--go{background:var(--dst-grad);color:#fff}
body.dst:not(.dsw) .dst-btn--line{background:#fff;color:var(--dst-ink);box-shadow:inset 0 0 0 1.5px #cfd4da}
body.dsw .dst-404__actions .dsw-btn{margin:0}

/* Header and footer when the DealStack plugin is off */
.dst-head{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.72);-webkit-backdrop-filter:blur(14px) saturate(1.4);backdrop-filter:blur(14px) saturate(1.4);box-shadow:0 1px 0 rgba(20,27,36,.06)}
.dst-head__in{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:68px}
.dst-logo{display:inline-flex;align-items:center;gap:10px;color:var(--dst-ink);text-decoration:none;font-size:21px;letter-spacing:-.02em}
.dst-logo__img{width:34px;height:34px;object-fit:contain}
.dst-foot{padding:28px 0;color:var(--dst-slate);font-size:14px}
.dst-foot__in{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px}
.dst-foot__links{display:flex;flex-wrap:wrap;gap:16px;margin:0;padding:0;list-style:none}
.dst-foot__links a{color:inherit}

/* Block editor content (pages drawn by this theme keep WordPress's block styles) */
.dst-entry__body .alignwide{max-width:min(1100px,100vw - 48px)}
.dst-entry__body .wp-block-button__link{border-radius:999px;background:var(--dst-grad);color:#fff;text-decoration:none}

@media (max-width:640px){.dst-wrap{width:calc(100% - 32px)}.dst-entry__body{font-size:16px}.dst-404__actions{flex-direction:column;align-items:stretch}}
@media (prefers-reduced-motion:reduce){.dst-card{transition:none}.dst-card:hover{transform:none}}
