/* Best4Pest website — stylesheet written for the Hostinger rebuild.
   Reproduces the look of the Squarespace site from its measured design values (colors, fonts,
   sizes, spacing). Each page's own section layouts (the fluid grid positions) live in <style>
   tags next to their sections; this file supplies everything around them. */

/* ---------- Design values (from the live site's settings) ---------- */
:root{
  --black-hsl: 274.62,24.53%,41.57%;          /* "black" in the theme is the brand purple #6e5084 */
  --white-hsl: 144,0%,100%;
  --accent-hsl: 273.75,45.28%,79.22%;         /* #cdb2e2 */
  --lightAccent-hsl: 272.73,64.71%,96.67%;    /* #f7f1fc */
  --darkAccent-hsl: 64,38%,30%;
  --safeLightAccent-hsl: 273.75,45.28%,79.22%;
  --safeDarkAccent-hsl: 274.62,24.53%,41.57%;
  --safeInverseAccent-hsl: 274.62,24.53%,41.57%;
  --safeInverseLightAccent-hsl: 274.62,24.53%,41.57%;
  --safeInverseDarkAccent-hsl: 144,0%,100%;
  --purple: #6e5084; --lavender: #cdb2e2; --pale: #f7f1fc; --white: #fff;
  --sqs-site-max-width: 1500px;
  --sqs-site-gutter: 4vw;
  --sqs-mobile-site-gutter: 6vw;
  --heading-font: "Roboto Slab", Georgia, serif;
  --body-font: "Roboto", Arial, sans-serif;
  /* text sizes ("values" are Squarespace's size settings, turned into px by --fs()) */
  --h1: 5.2; --h2: 4.3; --h3: 3.4; --h4: 2.5; --t-normal: 1.4; --t-large: 1.6; --t-small: 1.2;
  --btn-size: 1.5; --nav-size: 1.4;
}
/* Squarespace's fluid type: (value − 1) × 1.2vw + 1rem on screens 768px and up;
   on phones (value − 1) × 1.2% of the screen height (capped at 900px) + 1rem. */
html{ font-size:16px; -webkit-text-size-adjust:100%; }
/* the live site's base size is 17px on screens 992px and wider, 16px below that */
@media (min-width:992px){ html{ font-size:17px; } }
*,*::before,*::after{ box-sizing:border-box; }
body{ margin:0; background:var(--pale); color:var(--purple); font-family:var(--body-font); font-weight:400;
  font-size:calc((var(--t-normal) - 1) * 1.2vw + 1rem); line-height:1.4; letter-spacing:.01em;
  -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; overflow-x:hidden; }
@media (max-width:767px){ body{ font-size:calc((var(--t-normal) - 1) * .012 * min(100vh, 900px) + 1rem); } }
img{ max-width:100%; }
a{ color:inherit; }
.visually-hidden, .sr-only{ position:absolute!important; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.skip-link{ position:absolute; left:-999px; top:8px; z-index:1000; background:var(--purple); color:#fff; padding:8px 14px; border-radius:6px; }
.skip-link:focus{ left:8px; }

/* ---------- Text ---------- */
h1,h2,h3,h4{ font-family:var(--heading-font); font-weight:500; letter-spacing:-.03em; text-transform:none; }
.sqs-html-content h1, h1.blog-title, .blog-item-title h1{ font-size:calc((var(--h1) - 1) * 1.2vw + 1rem); line-height:1.1648; }
.sqs-html-content h2{ font-size:calc((var(--h2) - 1) * 1.2vw + 1rem); line-height:1.2152; }
.sqs-html-content h3{ font-size:calc((var(--h3) - 1) * 1.2vw + 1rem); line-height:1.2656; }
.sqs-html-content h4{ font-size:calc((var(--h4) - 1) * 1.2vw + 1rem); line-height:1.316; }
.sqs-html-content p, .sqs-html-content li{ font-size:calc((var(--t-normal) - 1) * 1.2vw + 1rem); line-height:1.4; }
.sqs-html-content .sqsrte-large{ font-size:calc((var(--t-large) - 1) * 1.2vw + 1rem); }
.sqs-html-content .sqsrte-small{ font-size:calc((var(--t-small) - 1) * 1.2vw + 1rem); }
@media (max-width:767px){
  .sqs-html-content h1, h1.blog-title, .blog-item-title h1{ font-size:calc((var(--h1) - 1) * .012 * min(100vh, 900px) + 1rem); }
  .sqs-html-content h2{ font-size:calc((var(--h2) - 1) * .012 * min(100vh, 900px) + 1rem); }
  .sqs-html-content h3{ font-size:calc((var(--h3) - 1) * .012 * min(100vh, 900px) + 1rem); }
  .sqs-html-content h4{ font-size:calc((var(--h4) - 1) * .012 * min(100vh, 900px) + 1rem); }
  .sqs-html-content p, .sqs-html-content li{ font-size:calc((var(--t-normal) - 1) * .012 * min(100vh, 900px) + 1rem); }
  .sqs-html-content .sqsrte-large{ font-size:calc((var(--t-large) - 1) * .012 * min(100vh, 900px) + 1rem); }
  .sqs-html-content .sqsrte-small{ font-size:calc((var(--t-small) - 1) * .012 * min(100vh, 900px) + 1rem); }
  /* the live site lets long headings run off the edge of a phone screen; wrap them instead */
  .sqs-html-content h1, .sqs-html-content h2{ overflow-wrap:anywhere; }
}
.sqs-html-content{ overflow-wrap:break-word; }
.sqs-html-content > *, .sqs-html-content .sqsrte-scaled-text > *{ margin:1rem 0; }
.sqs-html-content h1, .sqs-html-content h2, .sqs-html-content h3, .sqs-html-content h4{ margin:2rem 0; }
.sqs-html-content > :first-child, .sqs-html-content .sqsrte-scaled-text-container:first-child *{ margin-top:0; }
.sqs-html-content > :last-child, .sqs-html-content .sqsrte-scaled-text-container:last-child *{ margin-bottom:0; }
/* a fitted heading split over several lines: the pieces sit directly on top of each other */
.sqs-html-content > .sqsrte-scaled-text-container{ margin:0; }
/* lists: Squarespace-style bullets/numbers drawn in a 40px gutter, half a line between items */
.sqs-html-content ul, .sqs-html-content ol, .accordion-item__description ul, .accordion-item__description ol{ list-style:none; padding-left:40px; margin:1em 0; }
.sqs-html-content ol, .accordion-item__description ol{ counter-reset:sqs-li; }
.sqs-html-content li, .accordion-item__description li{ margin:0; }
/* a list inside a list item adds no space of its own (as on the live site) */
.sqs-html-content li > ul, .sqs-html-content li > ol, .accordion-item__description li > ul, .accordion-item__description li > ol{ margin:0; }
.sqs-html-content ol > li, .accordion-item__description ol > li{ counter-increment:sqs-li; }
/* the marker goes on whatever comes first in the item (a paragraph or a heading), right-aligned in the 40px gutter;
   a list inside a list uses a hollow circle, as on the live site */
.sqs-html-content ul > li > :first-child::before, .accordion-item__description ul > li > :first-child::before,
.sqs-html-content ol > li > :first-child::before, .accordion-item__description ol > li > :first-child::before{ display:inline-block; min-width:40px; margin-left:-40px; text-align:right; white-space:pre; }
.sqs-html-content ul > li > :first-child::before, .accordion-item__description ul > li > :first-child::before{ content:"\2022"; padding-right:10px; }
.sqs-html-content li ul > li > :first-child::before, .accordion-item__description li ul > li > :first-child::before{ content:"\25CB"; }
.sqs-html-content ol > li > :first-child::before, .accordion-item__description ol > li > :first-child::before{ content:"  " counter(sqs-li) ". "; }
/* empty paragraphs keep one blank line (Squarespace spacing) */
.sqs-html-content p:empty::before{ content:"\200b"; }
.sqs-html-content li > *, .accordion-item__description li > *{ margin:.5em 0; }
.sqs-html-content a{ text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:.2em; }
.sqsrte-text-color--white{ color:#fff; }
.sqsrte-text-color--black{ color:hsl(var(--black-hsl)); }
.sqsrte-text-color--accent{ color:hsl(var(--accent-hsl)); }
.sqsrte-text-color--lightAccent{ color:hsl(var(--lightAccent-hsl)); }
.sqsrte-text-color--darkAccent{ color:hsl(var(--darkAccent-hsl)); }
/* "scaled text": sized by site.js to fill its box on one line (starts small so it never stretches the layout) */
.sqsrte-scaled-text-container{ display:block; overflow:hidden; }
.sqsrte-scaled-text{ display:block; }
.sqs-html-content .sqsrte-scaled-text-container :is(h1,h2,h3,h4,p){ font-size:16px; line-height:1; white-space:nowrap!important; margin:0; }

/* ---------- Section color themes ---------- */
.page-section{ position:relative; display:flex; flex-direction:column; background:var(--theme-bg); color:var(--theme-text); }
.page-section, [data-section-theme="light"], [data-section-theme=""]{ --theme-bg:var(--pale); --theme-text:var(--purple); --theme-heading:var(--purple); --theme-link:var(--purple); --theme-btn-bg:var(--purple); --theme-btn-text:#fff; }
[data-section-theme="white"], [data-section-theme="white-bold"]{ --theme-bg:#fff; --theme-text:var(--purple); --theme-heading:var(--purple); --theme-link:var(--purple); --theme-btn-bg:var(--purple); --theme-btn-text:#fff; }
[data-section-theme="bright"]{ --theme-bg:var(--lavender); --theme-text:var(--purple); --theme-heading:var(--purple); --theme-link:var(--purple); --theme-btn-bg:var(--purple); --theme-btn-text:#fff; }
[data-section-theme="bright-inverse"]{ --theme-bg:var(--purple); --theme-text:var(--lavender); --theme-heading:#fff; --theme-link:var(--lavender); --theme-btn-bg:#fff; --theme-btn-text:var(--purple); }
.page-section h1, .page-section h2, .page-section h3, .page-section h4{ color:var(--theme-heading); }
.page-section p, .page-section li{ color:var(--theme-text); }
.page-section .sqs-html-content a{ color:var(--theme-link); }
.page-section .sqs-html-content [class*="sqsrte-text-color--"] a, .page-section .sqs-html-content a [class*="sqsrte-text-color--"]{ color:inherit; }

/* ---------- Sections and the fluid layout grid ---------- */
.section-border{ position:absolute; inset:0; overflow:hidden; pointer-events:none; }
.section-background{ position:absolute; inset:0; background:var(--theme-bg); overflow:hidden; }
.section-background img{ width:100%; height:100%; object-fit:cover; display:block; }
.section-background-overlay{ position:absolute; inset:0; }
.content-wrapper{ position:relative; width:100%; flex:1; display:flex; }
.content-wrapper > .content{ width:100%; }
/* the first section sits under the transparent header, so its content starts below it */
#page .is-first-section{ padding-top:var(--header-h, 202px); }
.fluid-engine{ display:grid; }
.fe-block{ position:relative; min-width:0; min-height:0; }
.fe-block > .sqs-block{ height:100%; display:flex; flex-direction:column; justify-content:var(--block-justify, flex-start); padding:0; margin:0; }
.fe-block > .sqs-block > .sqs-block-content{ width:100%; flex:0 0 auto; }
.fe-block .sqs-block-alignment-wrapper{ display:flex; height:100%; width:100%; }

/* image blocks */
.sqs-block-image .sqs-block-content, .fluid-image-component-root, .fluid-image-animation-wrapper,
.fluid-image-container, .js-content-mode-element-wrapper, .js-content-mode-element{ position:relative; width:100%; height:100%; }
.fe-block > .sqs-block-image{ justify-content:stretch; }
.fe-block > .sqs-block-image > .sqs-block-content{ flex:1 1 auto; height:100%; }
.fluid-image-container{ overflow:hidden; border-radius:var(--image-component-radius, 0); }
.fluid-image-container img{ position:absolute; inset:0; width:100%; height:100%; display:block; object-fit:var(--image-component-object-fit, cover); }
.fluidImageOverlay{ position:absolute; inset:0; pointer-events:none; background:var(--image-block-overlay-color, transparent); mix-blend-mode:var(--image-component-overlay-blend-mode, normal); opacity:var(--image-component-overlay-opacity, 1); }
.js-content-mode-element-wrapper{ display:none; }
.js-content-mode-element-system_desktop{ display:block; }
.sqs-block-image .image-caption, .sqs-block-image .image-caption-wrapper{ display:none; }

/* shape blocks (rectangles): fill their grid space exactly and never stretch the layout */
.fe-block > .sqs-block{ position:relative; }
.sqs-shape-block-outer-container{ position:absolute; inset:0; }
.sqs-shape-block-container{ width:100%; height:100%; }
.sqs-shape{ position:absolute; inset:0; width:100%; height:100%; display:block; background-color:var(--shape-block-background-color, hsl(var(--accent-hsl)))!important; border-radius:var(--shape-block-radius, 0); }
.sqs-shape > *{ fill:var(--shape-block-background-color, hsl(var(--accent-hsl))); stroke:none; }

/* text blocks */
.sqs-text-block-container{ padding:var(--tweak-text-block-padding, 0); }

/* button blocks */
.sqs-block-button-container{ display:flex; width:100%; }
.sqs-block-button-container--left{ justify-content:flex-start; }
.sqs-block-button-container--center{ justify-content:center; }
.sqs-block-button-container--right{ justify-content:flex-end; }
.sqs-block-button-container.sqs-stretched .sqs-block-button-element{ width:100%; }
.sqs-block-button-element, .sqs-button-element--primary, .btn{ display:inline-flex; align-items:center; justify-content:center; text-align:center;
  font-family:var(--heading-font); font-weight:400; letter-spacing:0; text-decoration:none; line-height:1;
  background:var(--theme-btn-bg, var(--purple)); color:var(--theme-btn-text, #fff); border:0; border-radius:300px;
  font-size:calc((var(--btn-size) - 1) * 1.2vw + 1rem); padding:1.2em 2em; cursor:pointer; transition:opacity .15s ease; }
.sqs-block-button-element:hover, .btn:hover{ opacity:.8; }
.fe-block > .sqs-block-button{ justify-content:center; }
.fe-block > .sqs-block-button > .sqs-block-content, .fe-block > .sqs-block-button .sqs-block-button-container{ height:100%; }
/* inside the layout grid a button fills its grid space (no extra top/bottom padding), like the live site */
.fe-block > .sqs-block-button .sqs-block-button-element{ height:100%; padding-top:0; padding-bottom:0; line-height:normal; }
@media (max-width:767px){ .sqs-block-button-element, .sqs-button-element--primary, .btn{ font-size:calc((var(--btn-size) - 1) * .012 * min(100vh, 900px) + 1rem); } }

/* code blocks (GorillaDesk form) */
.sqs-code-container{ width:100%; }
.sqs-code-container iframe{ width:100%; border:0; vertical-align:baseline; }

/* accordion (FAQ) blocks: spacing comes from each block's own settings (the --accordion-* values in its
   <style> tag), as on Squarespace; the question is body text, the answer is small text */
.accordion-items-container{ list-style:none; margin:0; padding:0; }
.accordion-item__title-wrapper{ margin:0; }
.accordion-divider{ height:var(--accordion-divider-thickness, 1px); background:currentColor; opacity:var(--accordion-divider-opacity, 1); }
.accordion-item__click-target{ width:100%; display:flex; justify-content:space-between; align-items:center; background:none; border:0; color:inherit; cursor:pointer;
  text-align:left; font:inherit; line-height:normal;
  padding:var(--accordion-item-padding-top, 30px) var(--accordion-item-padding-right, 0) var(--accordion-item-padding-bottom, 30px) var(--accordion-item-padding-left, 0); }
.accordion-item__title{ font:inherit; line-height:normal; letter-spacing:.01em; padding-right:var(--accordion-icon-size, 14px); }
.accordion-icon-container, .plus{ position:relative; width:var(--accordion-icon-size, 14px); height:var(--accordion-icon-size, 14px); flex:0 0 auto; }
.plus__horizontal-line, .plus__vertical-line{ position:absolute; background:currentColor; top:50%; left:0; width:100%; height:var(--accordion-icon-thickness, 1px); transition:transform .2s ease; }
.plus__vertical-line{ transform:rotate(90deg); }
.accordion-item.is-open .plus__vertical-line{ transform:rotate(0deg); }
.accordion-item__dropdown{ display:none; overflow:hidden; }
.accordion-item.is-open .accordion-item__dropdown{ display:block; }
.accordion-item__description{ margin:1rem 0; width:var(--accordion-description-width, 100%); overflow-wrap:break-word;
  padding:var(--accordion-description-padding-top, 24px) var(--accordion-description-padding-right, 0) var(--accordion-description-padding-bottom, 16px) var(--accordion-description-padding-left, 0);
  font-size:calc((var(--t-small) - 1) * 1.2vw + 1rem); line-height:1.4; }
@media (max-width:767px){ .accordion-item__description{ font-size:calc((var(--t-small) - 1) * .012 * min(100vh, 900px) + 1rem); } }
.accordion-item__description > *{ margin:1rem 0; }
.accordion-item__description > :first-child{ margin-top:0; }
.accordion-item__description > :last-child{ margin-bottom:0; }
.accordion-item__description ul, .accordion-item__description ol{ margin:0; }

/* Instagram block — a saved grid of recent posts, each linking to Instagram */
/* as on the live site: 20px between photos and 20px under the last row */
.sqs-gallery-block-grid .sqs-gallery{ display:grid; grid-template-columns:repeat(4, 1fr); gap:20px; padding-bottom:20px; }
.sqs-gallery-thumbnails-per-row-3 .sqs-gallery{ grid-template-columns:repeat(3, 1fr); }
.sqs-gallery-block-grid .slide{ position:relative; aspect-ratio:1/1; overflow:hidden; }
.sqs-gallery-block-grid .slide a, .sqs-gallery-block-grid .margin-wrapper{ display:block; width:100%; height:100%; }
.sqs-gallery-block-grid .slide img{ width:100%; height:100%; object-fit:cover; display:block; }
@media (max-width:767px){ .sqs-gallery-block-grid .sqs-gallery{ grid-template-columns:repeat(2, 1fr); } }

/* ---------- Header ---------- */
.site-header{ position:absolute; top:0; left:0; right:0; z-index:50; color:var(--purple); }
/* the live header's 24.8px purple band along its bottom edge (drawn under the logo and menu) */
.site-header::before{ content:""; position:absolute; inset:0; border-bottom:24.8px solid var(--purple); pointer-events:none; }
.site-header__inner{ position:relative; }
.site-header.is-fixed{ position:fixed; background:var(--pale); box-shadow:0 1px 0 rgba(110,80,132,.12); }
/* as on the live site, everything in the header is spaced 2% of the window width apart, and the menu takes the free
   space between the logo and the icons (it only wraps onto a second line when it runs out of room) */
.site-header__inner{ display:flex; align-items:center; padding:2vw 4vw; max-width:none; }
.site-header__logo{ flex:none; }
.site-header__logo img{ display:block; height:144px; width:auto; }
.site-header.is-fixed .site-header__logo img{ height:96px; transition:height .2s ease; }
.site-nav{ flex:1 1 auto; min-width:0; margin-left:2vw; display:flex; flex-wrap:wrap; justify-content:flex-end; align-items:center; }
.site-nav > .nav-item + .nav-item{ margin-left:2vw; }
.site-nav > .nav-item{ position:relative; }
.site-nav a, .site-nav .nav-folder-title{ font-family:var(--body-font); font-size:calc((var(--nav-size) - 1) * 1.2vw + 1rem); line-height:1.4; letter-spacing:.01em;
  color:var(--purple); text-decoration:none; background:none; border:0; padding:.1em 0; cursor:pointer; display:inline-block; }
.site-nav a:hover, .site-nav .nav-folder-title:hover{ opacity:.7; }
/* the current page's menu link is underlined with a thin line, as on the live site */
.site-nav > .nav-item > a[aria-current="page"]{ background-image:linear-gradient(currentColor, currentColor); background-repeat:repeat-x; background-size:1px 1px; background-position:0 calc(100% - .1em); }
.nav-folder-content{ position:absolute; top:100%; right:0; min-width:220px; background:var(--pale); padding:.5em 1em; display:none; z-index:5; text-align:right; }
.nav-item--folder:hover .nav-folder-content, .nav-item--folder:focus-within .nav-folder-content{ display:block; }
.nav-folder-content a{ display:block; padding:.25em 0; white-space:nowrap; }
.site-header__social{ display:flex; align-items:center; flex:none; }
.site-header__social a{ margin-left:2vw; }
.site-header__social a{ display:inline-flex; width:20px; height:20px; color:var(--purple); }
.site-header__social svg{ width:100%; height:100%; fill:currentColor; }
.site-header__cta{ font-family:var(--body-font); font-size:calc((var(--nav-size) - 1) * 1.2vw + 1rem); padding:1.2em 2em; background:var(--purple); color:#fff; border-radius:300px; text-decoration:none; line-height:1.2; white-space:nowrap; }
.site-header__inner > .site-header__cta{ margin-left:2vw; flex:none; }
.site-header__cta:hover{ opacity:.85; }
/* menu button: same size and two thin lines as the live site's */
.site-header__burger{ display:none; margin-left:auto; width:47px; height:37px; border:0; background:none; color:var(--purple); cursor:pointer; padding:0 6px; flex-direction:column; justify-content:center; gap:10px; }
.site-header__burger span{ display:block; height:1px; background:currentColor; margin:0; transition:transform .2s ease, opacity .2s ease; }
.mobile-menu{ position:fixed; inset:0; z-index:60; background:var(--pale); display:none; flex-direction:column; padding:24px 6vw 40px; overflow-y:auto; }
.mobile-menu.is-open{ display:flex; }
.mobile-menu__top{ display:flex; align-items:center; justify-content:space-between; }
.mobile-menu__top img{ height:72px; width:auto; }
.mobile-menu__close{ width:44px; height:44px; border:0; background:none; font-size:34px; line-height:1; color:var(--purple); cursor:pointer; }
.mobile-menu nav{ margin-top:32px; display:flex; flex-direction:column; align-items:center; gap:14px; }
.mobile-menu nav a, .mobile-menu .mobile-folder-title{ font-family:var(--body-font); font-size:1.6rem; color:var(--purple); text-decoration:none; background:none; border:0; cursor:pointer; padding:6px 0; }
.mobile-folder-items{ display:none; flex-direction:column; align-items:center; gap:10px; }
.mobile-folder.is-open .mobile-folder-items{ display:flex; }
.mobile-folder-items a{ font-size:1.25rem!important; }
.mobile-menu__social{ display:flex; justify-content:center; gap:28px; margin-top:28px; }
.mobile-menu__social a{ width:24px; height:24px; color:var(--purple); }
.mobile-menu__social svg{ width:100%; height:100%; fill:currentColor; }
.mobile-menu .site-header__cta{ align-self:center; margin-top:28px; font-size:1.2rem; }
/* phone-style header (menu button) below 800px, as on the live site; the logo is full size down to 768px, 93px tall below */
@media (max-width:799px){
  .site-header__inner{ padding:6vw; }
  .site-nav, .site-header__social, .site-header__inner > .site-header__cta{ display:none; }
  .site-header__burger{ display:flex; }
}
@media (max-width:767px){
  .site-header__logo img{ height:93px; }
  #page .is-first-section{ padding-top:var(--header-h-mobile, 140px); }
}

/* ---------- Footer ---------- */
.site-footer .page-section:first-child{ padding-top:0; }
/* license line (2026-11-03): business name as licensed, TPCL number, TDA statement; 13px, well over the 8-point minimum */
.site-footer__license{ padding:18px 6vw 26px; background:rgb(110,80,132); color:#fff; border-top:1px solid rgba(255,255,255,.18); text-align:center; font-size:13px; line-height:1.5; } /* same purple as the footer above */
.site-footer__license p{ margin:2px 0; }
/* Tony 2026-11-09: the footer's Location heading centered above the address, like the Contact column */
#block-770cd0d125ad6546c92b .sqs-html-content h4, #block-770cd0d125ad6546c92b .sqs-html-content p{ text-align:center; }
/* Tony 2026-11-09: the footer's "Best4Pest.com" title centered above Location and Contact (desktop: same columns 2-13 as those two; same change made on the live Squarespace site) */
#block-b2463c552467c5eac158 .sqs-html-content h2{ text-align:center; }
@media (min-width:768px){ .fe-block.fe-block-b2463c552467c5eac158{ grid-column:2 / 13; } }

/* ---------- Blog (measured from the live blog list and posts) ---------- */
/* list page: one entry per post, text column half the content width, the whole post shown */
.blog-single-column--wrapper{ width:calc(100% - 8vw); margin:57px auto 0; }
.blog-single-column--container{ display:flex; flex-direction:column; padding:0 0 120px; }
.blog-single-column--text{ width:50%; min-width:0; }
/* a post's thumbnail: full width, 16:9, above the date */
.blog-single-column--container .image-wrapper{ display:block; position:relative; width:100%; padding-bottom:56.25%; margin-bottom:50px; overflow:hidden; }
.blog-single-column--container .image-wrapper img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
/* the short summary is hidden because the whole post is shown */
.blog-excerpt:has(.blog-body-wrapper) .blog-excerpt-wrapper{ display:none; }
.blog-meta-section{ margin:0 0 30px; }
.blog-single-column--container .blog-title{ font-size:calc((var(--h1) - 1) * 1.2vw + 1rem); line-height:1.4; margin:0 0 25px; }
.blog-single-column--container .blog-title a{ color:var(--purple); text-decoration:none; }
/* on the list page Squarespace drops the space between paragraphs (headings keep theirs) */
.blog-single-column--container .sqs-html-content p{ margin-top:0; margin-bottom:0; }
.blog-more-link{ display:inline-block; margin-top:25px; font-family:var(--heading-font); color:var(--purple); text-decoration:underline; text-underline-offset:.2em; }
/* the small category / date line above a post's title and the tag line under it: Squarespace's "meta" size
   (value 0.8 in the same fluid formula as other text), categories and tags separated by bullets */
.blog-meta-section, .blog-item-meta-wrapper, .blog-meta-item--tags{ font-family:var(--heading-font); font-size:calc((.8 - 1) * 1.2vw + 1rem); line-height:.9em; text-transform:uppercase; letter-spacing:0; color:var(--purple); }
.blog-meta-section, .blog-item-meta-wrapper{ display:flex; flex-wrap:wrap; gap:11px; }
@media (max-width:767px){ .blog-meta-section, .blog-item-meta-wrapper, .blog-meta-item--tags{ font-size:calc((.8 - 1) * .012 * min(100vh, 900px) + 1rem); } }
.blog-meta-section a, .blog-item-meta-wrapper a, .blog-meta-item--tags a{ color:inherit; text-decoration:none; }
.blog-item-category-wrapper:not(:last-child)::after, .blog-item-tag-wrapper:not(:last-child)::after{ content:"\2022"; padding:0 .5em; }
.blog-meta-item--tags{ margin:30px 0; }
/* each category / tag is its own unit so a long list wraps on a phone (on the live site it runs off the screen) */
.blog-item-category-wrapper, .blog-item-tag-wrapper{ display:inline-block; }
@media (max-width:767px){ .blog-meta-item--tags{ margin:10px 0; } }
.blog-meta-item--author, .blog-item-author-profile-wrapper, .blog-item-author-date-wrapper .blog-meta-item--author{ display:none; }
/* single post: 75% of the content width, centered */
.blog-item-wrapper{ width:100%; }
.blog-item-top-wrapper, .blog-item-content-wrapper{ width:calc((100% - 8vw) * .75); margin-left:auto; margin-right:auto; }
/* spacing around a post scales with the window, as on the live site (4% of the width above and below, 3% after the article; 6% on phones) */
.blog-item-top-wrapper{ padding-top:4vw; margin-bottom:50px; }
.blog-item-meta-wrapper{ margin:0 0 34px; }
.blog-item-title h1, h1.entry-title{ font-size:calc((var(--h1) - 1) * 1.2vw + 1rem); line-height:1.4; margin:0; }
.blog-item-content{ margin:0 0 3vw; }
.blog-item-wrapper{ padding-bottom:4vw; }
/* date line sits above the title */
.blog-item-top-wrapper{ display:flex; flex-direction:column; }
.blog-item-meta-wrapper{ order:-1; }
/* an empty image block on the live site still takes up a 16:9 blank space */
.image-layout-empty-state-node{ padding-bottom:56.25%; }
/* previous / next post links under each post */
.item-pagination{ display:flex; background:#fff; padding:3vw 4vw; color:var(--purple); }
.item-pagination-link{ flex:0 0 50%; display:flex; align-items:center; gap:24px; color:var(--purple); text-decoration:none; min-width:0; }
.item-pagination-link--next{ justify-content:flex-end; text-align:right; margin-left:auto; }
.item-pagination-icon{ flex:0 0 auto; width:18px; height:32px; }
.item-pagination-icon svg{ width:18px; height:32px; fill:none; stroke:currentColor; stroke-width:1.5; }
.item-pagination-prev-next{ display:none; }
.item-pagination-title{ margin:0; font-size:calc((var(--h3) - 1) * 1.2vw + 1rem); line-height:1; color:var(--purple); }
@media (max-width:767px){ .item-pagination-title{ font-size:calc((var(--h3) - 1) * .012 * min(100vh, 900px) + 1rem); } .item-pagination{ padding:3vw 6vw; }
  .blog-item-top-wrapper{ padding-top:6vw; } .blog-item-wrapper{ padding-bottom:6vw; } .blog-item-meta-wrapper{ margin-bottom:19.2px; } }
/* comments are off, but (as on the live site) the empty comments area stays as a spacer whose 3% top margin merges with the margin above it */
.blog-item-comments{ display:block!important; height:0; overflow:hidden; margin-top:3vw; }
.blog-item-comments > *, .blog-item-comments-toggle-wrapper, .blog-item-comments-content, .squarespace-comments{ display:none!important; }
/* Squarespace's older block layout used inside posts (12-column rows, 17px around each block) */
.sqs-layout .sqs-row{ display:flex; flex-wrap:wrap; margin:0 -17px; }
.sqs-layout .col{ min-width:0; }
.sqs-layout .span-1{ width:8.3333%; }
.sqs-layout .span-2{ width:16.6667%; }
.sqs-layout .span-3{ width:25.0000%; }
.sqs-layout .span-4{ width:33.3333%; }
.sqs-layout .span-5{ width:41.6667%; }
.sqs-layout .span-6{ width:50.0000%; }
.sqs-layout .span-7{ width:58.3333%; }
.sqs-layout .span-8{ width:66.6667%; }
.sqs-layout .span-9{ width:75.0000%; }
.sqs-layout .span-10{ width:83.3333%; }
.sqs-layout .span-11{ width:91.6667%; }
.sqs-layout .span-12{ width:100.0000%; }
/* images set to "float" sit beside the text at half width from 768px up, as on the live site */
.sqs-layout .image-block, .sqs-layout .sqs-block.float{ clear:both; }
.sqs-layout .sqs-block.float-right{ float:right; margin-left:17px; }
.sqs-layout .sqs-block.float-left{ float:left; margin-right:17px; }
@media (max-width:767px){ .sqs-layout .sqs-block.float{ float:none; width:auto; } }
.sqs-layout .sqs-block{ padding:17px; }
/* from 768px up (as on the live site) the first block in a column has no top padding, and a block alone in its column
   has no bottom padding either; on phones every block keeps its 17px */
@media (min-width:768px){
  .sqs-layout .col > .sqs-block:first-child{ padding-top:0; }
  .sqs-layout .col > .sqs-block:only-child{ padding-bottom:0; }
}
.sqs-block-image-figure{ margin:0; }
.sqs-image-shape-container-element{ position:relative; }
.sqs-image-shape-container-element img{ position:absolute; top:0; left:0; width:100%; height:100%; object-fit:var(--image-component-object-fit, cover); object-position:var(--image-component-focal-point, 50% 50%); }
.image-caption-wrapper:empty, .image-caption-wrapper .image-caption:empty{ display:none; }
@media (max-width:767px){
  .blog-single-column--container{ display:block; }
  .blog-single-column--text{ width:100%; }
  .blog-item-top-wrapper, .blog-item-content-wrapper{ width:calc(100% - 12vw); }
  .sqs-layout .sqs-row{ display:block; }
  .sqs-layout .col{ width:100%!important; }
  .blog-single-column--container .blog-title, .blog-item-title h1, h1.entry-title{ font-size:calc((var(--h1) - 1) * .012 * min(100vh, 900px) + 1rem); }
}

/* ---------- Site owner's custom touches (from the Squarespace Custom CSS) ---------- */
img[src*="BigPeter"]{ animation:antFloat 4s ease-in-out infinite; transform-origin:center; }
@keyframes antFloat{ 0%{transform:translateY(0) rotate(0)} 25%{transform:translateY(-10px) rotate(1deg)} 50%{transform:translateY(-16px) rotate(0)} 75%{transform:translateY(-10px) rotate(-1deg)} 100%{transform:translateY(0) rotate(0)} }

/* gentle fade-in as content scrolls into view (the live site's "fade" animation) */
.fade-ready{ opacity:0; transition:opacity .8s ease; }
.fade-ready.faded-in{ opacity:1; }
@media (prefers-reduced-motion:reduce){ .fade-ready{ opacity:1; transition:none; } img[src*="BigPeter"]{ animation:none; } }

/* ---------- Blog list pages (new): every post newest first, with its date, picture and a summary ---------- */
.blog-index__inner{ width:calc(100% - 8vw); max-width:1100px; margin:0 auto; padding:57px 0 120px; }
.blog-index__eyebrow{ font-family:var(--heading-font); font-size:.8rem; text-transform:uppercase; letter-spacing:.06em; margin:0 0 14px; }
.blog-index__eyebrow a{ color:inherit; text-underline-offset:.2em; }
.blog-index__title{ font-size:calc((var(--h2) - 1) * 1.2vw + 1rem); line-height:1.2152; margin:0 0 20px; }
.blog-index__intro{ font-size:calc((var(--t-normal) - 1) * 1.2vw + 1rem); line-height:1.5; max-width:46em; margin:0 0 36px; }
.blog-index__topics{ display:flex; flex-wrap:wrap; gap:10px; margin:0 0 40px; }
.blog-index__topics a{ font-family:var(--heading-font); font-size:.9rem; line-height:1.2; padding:.6em 1.2em; border:1px solid var(--purple); border-radius:300px; color:var(--purple); text-decoration:none; }
.blog-index__topics a:hover, .blog-index__topics a:focus-visible, .blog-index__topics a[aria-current]{ background:var(--purple); color:#fff; }
.blog-index__count{ font-family:var(--heading-font); font-size:.8rem; text-transform:uppercase; letter-spacing:.06em; margin:0 0 12px; }
.blog-index__list{ list-style:none; margin:0; padding:0; }
.blog-card{ display:grid; grid-template-columns:minmax(0,2fr) minmax(0,3fr); gap:48px; align-items:center; padding:40px 0; border-top:1px solid rgba(110,80,132,.25); }
.blog-card__img--logo img{ inset:22%; width:56%; height:56%; }
.blog-card__img{ display:block; position:relative; aspect-ratio:4/3; overflow:hidden; background:var(--pale); }
.blog-card__img img{ position:absolute; inset:0; width:100%; height:100%; object-fit:contain; transition:transform .4s ease; }
.blog-card:hover .blog-card__img img{ transform:scale(1.03); }
.blog-card__date{ display:block; font-family:var(--heading-font); font-size:.8rem; text-transform:uppercase; letter-spacing:.06em; margin:0 0 12px; color:var(--purple); }
.blog-card__title{ font-size:calc(1.2vw + 1rem); line-height:1.25; margin:0 0 14px; }
.blog-card__title a{ color:var(--purple); text-decoration:none; }
.blog-card__title a:hover{ text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:.15em; }
.blog-card__summary{ font-size:calc((var(--t-normal) - 1) * 1.2vw + 1rem); line-height:1.5; margin:0 0 16px; }
.blog-card__more{ font-family:var(--heading-font); color:var(--purple); text-decoration:underline; text-underline-offset:.2em; }
/* link back to the list at the top of each post */
.blog-back-link{ order:-2; align-self:flex-start; margin:0 0 28px; font-family:var(--heading-font); font-size:.9rem; color:var(--purple); text-decoration:underline; text-underline-offset:.2em; }
@media (max-width:767px){
  .blog-index__inner{ width:calc(100% - 12vw); padding:30px 0 80px; }
  .blog-index__title{ font-size:calc((var(--h2) - 1) * .012 * min(100vh, 900px) + 1rem); }
  .blog-index__intro, .blog-card__summary{ font-size:calc((var(--t-normal) - 1) * .012 * min(100vh, 900px) + 1rem); }
  .blog-index__topics{ margin-bottom:28px; gap:8px; }
  .blog-card{ grid-template-columns:minmax(0,1fr); gap:18px; padding:28px 0; }
  .blog-card__title{ font-size:calc(.012 * min(100vh, 900px) + 1rem); }
}
@media (prefers-reduced-motion:reduce){ .blog-card__img img{ transition:none; } .blog-card:hover .blog-card__img img{ transform:none; } }
