/* Blog styles. Colours, fonts and the page background are copied from the
   exported pages (Contact.dc.html / Home.dc.html); nothing here is invented.
   The hover rules at the end are generated from the header and footer's own
   style-hover / style-active attributes on every build (blog-src/_data/site.js). */

html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:#F3F5F8;color:#0E1726;font-family:'Geist',system-ui,sans-serif;-webkit-font-smoothing:antialiased}
a{color:#1B3A6B;text-decoration:none}
a:hover{color:#1B3A6B}
::selection{background:rgba(27,58,107,.18)}
@media (prefers-reduced-motion: reduce){*{transition-duration:.01ms!important;scroll-behavior:auto!important}}

.page-bg{position:fixed;inset:0;z-index:0;pointer-events:none;background:radial-gradient(55% 45% at 88% 8%, rgba(27,58,107,0.14), rgba(27,58,107,0) 70%), radial-gradient(45% 40% at 4% 60%, rgba(120,145,185,0.26), rgba(120,145,185,0) 70%), radial-gradient(70% 50% at 60% 100%, rgba(27,58,107,0.10), rgba(27,58,107,0) 70%), linear-gradient(180deg, #F7F9FB 0%, #EDF1F6 55%, #F4F6F9 100%)}
.page{position:relative;z-index:1;overflow-x:clip}

/* Header: desktop menu and phone menu, switched at the header's own breakpoint */
.dc-wide,.dc-narrow{display:contents}
@media (max-width: 1000px){.dc-wide{display:none!important}}
@media not all and (max-width: 1000px){.dc-narrow{display:none!important}}
nav[aria-label="Mobile"].dc-menu-open{opacity:1!important;transform:scale(1) translateY(0)!important;pointer-events:auto!important}

/* Page frame */
main{max-width:1200px;margin:0 auto;padding:clamp(130px,16vw,180px) clamp(20px,4vw,40px) 0;box-sizing:border-box}

/* Blog home */
.page-title{font-family:'Saira',sans-serif;font-stretch:112%;font-weight:800;font-style:italic;font-size:clamp(40px,6.4vw,86px);line-height:0.95;text-transform:uppercase;margin:0;color:#0E1726}
.lede{font-size:clamp(17px,1.6vw,19px);line-height:1.6;color:#3D4A60;max-width:46ch;margin:24px 0 0;text-wrap:pretty}
.post-list{list-style:none;margin:48px 0 0;padding:0;display:grid;gap:14px;max-width:880px}
.post-card a{display:flex;gap:20px;align-items:flex-start;padding:22px 24px;border-radius:22px;text-decoration:none;background:url(/assets/noise.svg), linear-gradient(180deg, rgba(255,255,255,0.3), rgba(255,255,255,0.55));backdrop-filter:blur(20px) saturate(1.5);-webkit-backdrop-filter:blur(20px) saturate(1.5);border:1px solid rgba(16,30,56,0.09);border-top-color:rgba(255,255,255,0.95);box-shadow:inset 0 1px 0 rgba(255,255,255,0.9), 0 30px 70px -36px rgba(16,32,64,0.16);transition:transform .45s cubic-bezier(.16,1,.3,1)}
.post-card a:hover{transform:scale(1.015)}
.post-card-thumb{flex:none;width:168px;height:112px;object-fit:cover;border-radius:14px}
.post-card-text{display:flex;flex-direction:column;gap:6px;min-width:0}
.post-card time{font-size:13px;color:#56637A}
.post-card-title{font-size:21px;font-weight:600;line-height:1.3;color:#0E1726}
.post-card-desc{font-size:16px;line-height:1.55;color:#3D4A60}
.post-card-empty{color:#56637A;font-size:17px}

/* Post */
.post{max-width:720px;margin:0 auto}
.eyebrow{margin:0 0 16px;font-size:13px;font-weight:600;letter-spacing:0.07em;text-transform:uppercase}
.eyebrow a{color:#1B3A6B}
.post-title{font-family:'Saira',sans-serif;font-stretch:112%;font-weight:800;font-style:italic;font-size:clamp(34px,5vw,60px);line-height:0.98;text-transform:uppercase;margin:0;color:#0E1726;text-wrap:balance}
.post-meta{margin:20px 0 0;font-size:15px;color:#56637A}
.post-cover{margin:32px 0 0}
.post-cover img{display:block;width:100%;height:auto;border-radius:22px}
.post-body{margin-top:36px;font-size:18px;line-height:1.7;color:#1F2A3C}
.post-body > :first-child{margin-top:0}
.post-body p{margin:0 0 1.15em}
.post-body h2{font-family:'Saira',sans-serif;font-stretch:108%;font-weight:700;font-size:clamp(24px,2.6vw,30px);line-height:1.15;color:#0E1726;margin:1.9em 0 0.6em}
.post-body h3{font-size:20px;font-weight:600;line-height:1.3;color:#0E1726;margin:1.6em 0 0.5em}
.post-body a{color:#1B3A6B;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.post-body a:hover{color:#0E1726}
.post-body ul,.post-body ol{margin:0 0 1.15em;padding-left:1.4em}
.post-body li{margin:0.35em 0}
.post-body blockquote{margin:1.6em 0;padding:4px 0 4px 20px;border-left:3px solid #1B3A6B;color:#3D4A60}
.post-body img{max-width:100%;height:auto;border-radius:18px}
.post-body hr{border:0;border-top:1px solid rgba(16,30,56,0.09);margin:2.2em 0}
.post-body table{width:100%;border-collapse:collapse;margin:0 0 1.4em;font-size:16px;display:block;overflow-x:auto}
.post-body th,.post-body td{padding:10px 12px;border-bottom:1px solid rgba(16,30,56,0.09);text-align:left;vertical-align:top}
.post-body th{font-weight:600;color:#0E1726}
.post-body code{font-family:'Geist Mono',ui-monospace,monospace;font-size:0.9em}

/* Call-to-action card, using the site's own Book button style */
.cta{margin:48px 0 0;padding:28px;border-radius:24px;background:url(/assets/noise.svg), linear-gradient(180deg, rgba(255,255,255,0.3), rgba(255,255,255,0.55));backdrop-filter:blur(20px) saturate(1.5);-webkit-backdrop-filter:blur(20px) saturate(1.5);border:1px solid rgba(16,30,56,0.09);border-top-color:rgba(255,255,255,0.95);box-shadow:inset 0 1px 0 rgba(255,255,255,0.9), 0 30px 70px -36px rgba(16,32,64,0.16)}
.cta-title{margin:0;font-size:21px;font-weight:600;color:#0E1726}
.cta-text{margin:8px 0 20px;font-size:16px;line-height:1.6;color:#3D4A60}
.cta-button{display:inline-flex;align-items:center;height:44px;padding:0 22px;border-radius:12px;background:#1B3A6B;color:#FFFFFF;font-size:13.5px;font-weight:600;text-decoration:none;text-transform:uppercase;letter-spacing:0.07em;box-shadow:0 8px 24px -10px rgba(19,41,75,0.35);transition:transform .35s cubic-bezier(.16,1,.3,1)}
.cta-button:hover{transform:scale(1.04);color:#FFFFFF}
.cta-button:active{transform:scale(0.97)}
.back{margin:32px 0 0;font-size:15px}
.back a{display:inline-flex;align-items:center;gap:8px;color:#56637A}
.back a:hover{color:#0E1726}

/* Phone widths: 16px gutters */
@media (max-width: 640px){
  main{padding-left:16px;padding-right:16px}
  .post-card a{flex-direction:column;padding:18px}
  .post-card-thumb{width:100%;height:auto;aspect-ratio:3/2}
  .post-body{font-size:17px}
  .cta{padding:22px}
}

/* ---- generated hover and press rules for the header and footer ---- */
[data-hover="h1"]:hover{transform:scale(1.03) !important}
[data-hover="h2"]:hover{background:rgba(27,58,107,0.07) !important; color:#0E1726 !important}
[data-hover="h3"]:hover{background:rgba(27,58,107,0.07) !important; color:#0E1726 !important}
[data-hover="h4"]:hover{background:rgba(27,58,107,0.07) !important; color:#0E1726 !important}
[data-hover="h5"]:hover{background:rgba(27,58,107,0.07) !important; color:#0E1726 !important}
[data-hover="h6"]:hover{transform:scale(1.04) !important; color:#FFFFFF !important}
[data-hover="h6"]:active{transform:scale(0.97) !important}
[data-hover="h7"]:hover{color:#FFFFFF !important}
[data-hover="h7"]:active{transform:scale(0.96) !important}
[data-hover="h8"]:active{transform:scale(0.94) !important}
[data-hover="h9"]:hover{color:#0E1726 !important}
[data-hover="h10"]:hover{color:#0E1726 !important}
[data-hover="h11"]:hover{color:#0E1726 !important}
[data-hover="h12"]:hover{color:#0E1726 !important}
[data-hover="h13"]:hover{transform:scale(1.08) !important; background:rgba(255,255,255,0.65) !important; color:#0E1726 !important}
[data-hover="h13"]:active{transform:scale(0.95) !important}
[data-hover="h14"]:hover{transform:scale(1.08) !important; background:rgba(255,255,255,0.65) !important; color:#0E1726 !important}
[data-hover="h14"]:active{transform:scale(0.95) !important}
[data-hover="h15"]:hover{transform:scale(1.08) !important; background:rgba(255,255,255,0.65) !important; color:#0E1726 !important}
[data-hover="h15"]:active{transform:scale(0.95) !important}
[data-hover="h16"]:hover{transform:scale(1.08) !important; background:rgba(255,255,255,0.65) !important; color:#0E1726 !important}
[data-hover="h16"]:active{transform:scale(0.95) !important}
[data-hover="h17"]:hover{color:#0E1726 !important}
[data-hover="h18"]:hover{color:#0E1726 !important}
[data-hover="h19"]:hover{color:#0E1726 !important}
[data-hover="h20"]:hover{color:#0E1726 !important}
[data-hover="h21"]:hover{color:#0E1726 !important}
[data-hover="h22"]:hover{color:#0E1726 !important}
