/*************************************************

    eKamria template (Template Creator CK)
    templates/ekamria/css/custom.css
    (uploaded to the server through cPanel)

    VERSION 2.5, 5 December 2026 (night). Fixes
    found on the live homepage: figures the JCE
    editor marks with data-wf-figure no longer
    shrink their captions (.ek-quotes, closing
    testimonial card), and the Articles module
    cards (.ek-posts) match the module's real
    markup: picture on top, dark title, small date.

    VERSION 2.4, 5 December 2026 (evening). All
    approved except the artwork card, which is
    still marked PROPOSED.
    Adds the homepage components: .ek-accent,
    .ek-shot (a screenshot in a browser frame),
    .ek-stack (three overlapping screenshots),
    .ek-quotes (big short quotes) and .ek-posts
    (the Articles module as picture cards). Also
    lets .ek-display and .ek-subhead work on any
    tag, so a page's tagline can be a paragraph
    and its keyword line the h1.

    VERSION 2.3, 5 December 2026: .ek-grid--four
    and space above a card that follows a grid
    (care package page). Added after that:
    .ek-subhead, .ek-flag, .ek-greeting,
    .ek-space-top and the JCE fix for .ek-artcard
    (Christmas card page).

    VERSION 2.2, 5 December 2026. All approved.
    Adds: body text 18px at weight 500 (needs
    Raleway 500 and 500 italic in Template Creator
    CK's Google Fonts), .ek-icon-list, icon badges
    in five brand colorways, hidden empty
    paragraphs, .ek-masonry, the phone tweak to
    .testimonial, .ek-embed, .ek-linkcard and
    .ek-grid--wide.

    VERSION 2, 4 December 2026. All approved:
    tokens, base styles, ordinary pages, the
    template layout, header and main menu (hover
    dropdown, tablet and phone layouts, highlighted
    Contact, contact line, shared contact details,
    sticky header, 15th anniversary corner sash),
    layout helpers, eyebrow, card, spacing,
    buttons, small components, the footer (divider,
    Joomla Footer module, sign-up card, AcyMailing
    forms), the star rating, content styles
    (Bootstrap buttons, tags, pagination, tables,
    check lists, testimonials, callouts,
    screenshots, older-content classes) and page
    sections for service pages (full-width bands
    with torn edges, big headline, brushstroke
    highlight, columns, grid, accent cards, icon
    badges, illustrations, floating card, plan
    cards, show-more panel).

    Reuse on other sites: change the values in
    :root and the rest follows.

**************************************************/

/* Tokens (APPROVED 4 Dec 2026)
   The darker brand cream (#e9e0b5, --ek-logo-cream) appears only in
   logo artwork. For backgrounds, the lighter cream below is used.
------------------------------------------------*/
:root {
  --ek-ink: #2e3724;          /* dark green: body text, dark sections */
  --ek-green: #394831;        /* cards on dark sections, outline buttons */
  --ek-sage: #88987b;         /* decoration only: 3.08:1 on white, too low for text */
  --ek-tan: #b18b67;          /* decoration only */
  --ek-cream: #f6f0da;        /* light cream: sections, tiles, text on dark (10.9:1 on dark green) */
  --ek-paper: #fffdf6;        /* page and footer background */
  --ek-brown: #5b4130;        /* secondary text, link hover, logo lettering */
  --ek-brick: #852e18;        /* eyebrows, contact section */
  --ek-red: #b52e18;          /* links and primary buttons: white text 6.23:1; as link text 6.12:1 on paper, 5.46:1 on light cream */
  --ek-gold: #f3ca17;         /* accents, links on dark sections */
  --ek-star: #9a6a00;         /* rating stars: 4.65:1 on paper */
  --ek-logo-cream: #e9e0b5;   /* logo artwork only, e.g. the divider; not for backgrounds */

  --ek-font-body: "Raleway", sans-serif;
  --ek-font-head: "Roboto Condensed", sans-serif;

  --ek-wrap: 1192px;          /* content width */
  --ek-gutter: 24px;
  --ek-radius: 12px;
}

/* Base (APPROVED 4 Dec 2026)
------------------------------------------------*/
body {
  font-family: var(--ek-font-body);
  font-size: 1.125rem;        /* 18px (was 17px, 5 Dec 2026) */
  font-weight: 500;           /* Raleway's 400 looked thin, especially on cream */
  line-height: 1.65;
  color: var(--ek-ink);
  background: var(--ek-paper);
}

h1, h2, h3, h4 {
  font-family: var(--ek-font-head);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ek-ink);
  margin: 1.5em 0 0.5em;
}

h1 { font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem); }    /* 28-40px */
h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.125rem); }     /* 24-34px */
h3 { font-size: 1.375rem; }                                  /* 22px */
h4 { font-size: 1.125rem; }                                  /* 18px */

p {
  margin: 0 0 1.25em;
}

/* Links: the brighter red (APPROVED 3 Dec 2026) */
a {
  color: var(--ek-red);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

a:hover,
a:focus {
  color: var(--ek-brown);
}

/* Keyboard focus: follows the text color, so it shows on light and dark sections */
:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
}

img {
  max-width: 100%;
  height: auto;
}

address {
  font-style: normal;
}

/* Ordinary pages: centre article, blog and contact content (APPROVED 4 Dec 2026).
   The homepage (Page Builder CK) runs full width instead.
   Class names to be confirmed on the test page.
------------------------------------------------*/
.com-content-article,
.com-content-category-blog,
.com-contact {
  max-width: var(--ek-wrap);
  margin-inline: auto;
  padding: 48px var(--ek-gutter) 72px;
  box-sizing: border-box;
}

/* Template layout (APPROVED 3 Dec 2026)
   Page width: Template Creator CK uses fixed steps (1192, 950, 758,
   524 and 292px). Between 1025px and 1191px the page scrolls sideways,
   and phones get a 292px column. This keeps it fluid up to 1192px.
------------------------------------------------*/
.tck-container {
  width: auto;
  max-width: var(--ek-wrap);
}

/* Space between side-by-side module columns */
.tck-modules > .inner {
  column-gap: 40px;
}

/* Footer spacing. Uses this template's block names:
   wrapper1 = footer wrapper, footer-nl = newsletter, bottom = copyright. */
#wrapper1 { padding-bottom: 28px; }
#wrapper1 .ek-logo-rule { margin-bottom: 48px; }
#footer-nl { margin-top: 48px; }
#bottom { margin-top: 40px; }

/* Joomla's Footer module: its two lines side by side, kept to the left so
   the chat bubble and reCAPTCHA badge in the bottom-right corner never
   cover the Sitemap link. */
.mod-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-size: 0.875rem;
  border-top: 1px solid rgba(46, 55, 36, 0.18);
  padding-top: 18px;
}

/* Header layout (APPROVED 3 Dec 2026). Uses this template's block names:
   bannerrow = header row, bannercolumn1 = logo, bannercolumn2 = middle
   (hidden while it has nothing in it), bannercolumn3 = menu.
------------------------------------------------*/
#bannerrow > .inner {
  align-items: center;
  column-gap: 32px;
  padding: 16px var(--ek-gutter);   /* lines the header up with the page content */
}
#bannercolumn1 { width: auto; flex: 0 0 auto; }
#bannercolumn3 { width: auto; flex: 1 1 auto; min-width: 0; }

/* Middle column: empty for now. If a module goes in it later, it sits
   after the menu; while empty it is hidden. */
#bannercolumn2 { width: auto; flex: 0 0 auto; order: 3; }
#bannercolumn2 p { margin: 0; }
#bannercolumn2:not(:has(*)) { display: none; }

/* Main menu: Joomla's menu module in the header (APPROVED 3 Dec 2026)
   Dark green links. The current page and hover get a soft painted stroke
   in the logo colors (sage, tan, dark green, in turn), like a highlighter.
   Each item is 44px tall for touch. The "ul.mod-menu" selectors are
   needed to outrank Template Creator CK's own menu styles.
------------------------------------------------*/
#bannermenu ul.mod-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}
#bannermenu ul.mod-menu > li { position: relative; display: block; margin: 0; padding: 0; }

#bannermenu ul.mod-menu > li > a,
#bannermenu ul.mod-menu > li > .mod-menu__toggle-sub {
  position: relative;
  isolation: isolate;               /* keeps the stroke behind the text */
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--ek-ink);
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}
#bannermenu .mod-menu__heading { font: inherit; color: inherit; }

/* The painted stroke */
#bannermenu ul.mod-menu > li > a::after,
#bannermenu ul.mod-menu > li > .mod-menu__toggle-sub::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -6px;
  right: -6px;
  bottom: 11px;
  height: 12px;
  border-radius: 8px;
  background: var(--ek-sage);
  filter: blur(1.5px);
  opacity: 0;
  transform: scaleX(0.4);
  transition: transform 0.25s, opacity 0.25s;
}
#bannermenu ul.mod-menu > li:nth-child(3n+2) > :is(a, .mod-menu__toggle-sub)::after { background: var(--ek-tan); }
#bannermenu ul.mod-menu > li:nth-child(3n) > :is(a, .mod-menu__toggle-sub)::after { background: rgba(46, 55, 36, 0.45); }

#bannermenu ul.mod-menu > li > a:hover::after,
#bannermenu ul.mod-menu > li > a:focus-visible::after,
#bannermenu ul.mod-menu > li > a[aria-current="page"]::after,
#bannermenu ul.mod-menu > li.active > .mod-menu__toggle-sub::after,
#bannermenu ul.mod-menu > li > .mod-menu__toggle-sub:hover::after,
#bannermenu ul.mod-menu > li > .mod-menu__toggle-sub[aria-expanded="true"]::after {
  opacity: 0.7;
  transform: none;
}

/* Dropdown: Joomla's menu script opens it on click or Enter, closes it
   with Escape, and sets aria-hidden, which this uses to hide it. */
#bannermenu ul.mod-menu .mod-menu__sub[aria-hidden="true"] { display: none; }
#bannermenu ul.mod-menu .mod-menu__sub {
  position: absolute;
  top: 100%;
  left: auto;                       /* Template Creator CK parks submenus far off-screen with a left value */
  right: -16px;
  z-index: 100;
  min-width: 300px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  font-size: 1rem;
  background: #fff;
  border: 1px solid #e7e0c4;
  border-radius: var(--ek-radius);
  box-shadow: 0 12px 30px rgba(46, 55, 36, 0.12);
}
#bannermenu ul.mod-menu .mod-menu__sub li { display: block; margin: 0; padding: 0; }
#bannermenu ul.mod-menu .mod-menu__sub a {
  display: flex;
  align-items: center;
  min-height: 44px;
  margin: 0;
  padding: 0 18px;
  color: var(--ek-ink);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
}
#bannermenu ul.mod-menu .mod-menu__sub a:hover,
#bannermenu ul.mod-menu .mod-menu__sub a:focus-visible,
#bannermenu ul.mod-menu .mod-menu__sub a[aria-current="page"] {
  background: var(--ek-cream);
  color: var(--ek-ink);
}
#bannermenu .mod-menu__toggle-sub .icon-chevron-down { font-size: 0.7em; transition: transform 0.2s; }
#bannermenu .mod-menu__toggle-sub[aria-expanded="true"] .icon-chevron-down { transform: rotate(180deg); }

/* Dropdown also opens on hover, for mouse users (APPROVED 4 Dec 2026)
   Only on devices with a real mouse, and only where the full menu shows
   (768px and wider); touch screens keep tap-to-open.
   Click, Enter and Escape still work through Joomla's menu script.
   The menu waits a quarter second before closing, so it doesn't vanish
   if the pointer slips off for a moment. While hidden it can't be
   tabbed into or read by screen readers. */
@media (hover: hover) and (pointer: fine) and (min-width: 768px) {
  #bannermenu ul.mod-menu > li > .mod-menu__sub[aria-hidden="true"] {
    display: block;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.15s, visibility 0s linear 0.25s;
  }
  #bannermenu ul.mod-menu > li:hover > .mod-menu__sub[aria-hidden] {
    visibility: visible;
    opacity: 1;
    transition-delay: 0s;
  }
  #bannermenu ul.mod-menu > li:hover > .mod-menu__toggle-sub::after { opacity: 0.7; transform: none; }
  #bannermenu ul.mod-menu > li:hover > .mod-menu__toggle-sub .icon-chevron-down { transform: rotate(180deg); }
}

@media (prefers-reduced-motion: reduce) {
  #bannermenu ul.mod-menu > li > :is(a, .mod-menu__toggle-sub)::after { transition: none; }
}

/* Header on tablets and phones (APPROVED 4 Dec 2026)
   1024px and wider (landscape tablets, laptops): the normal one-line header.
   768px to 1023px (tablets): the full menu on its own row under the logo.
   Phones (under 768px): Joomla's "Collapsible Dropdown" menu layout shows a
   menu button and uses Bootstrap to open and close the menu; it becomes a
   full-width list under the header.
------------------------------------------------*/

/* Bootstrap's navbar wrapper: no extra padding */
#bannermenu .navbar { padding: 0; }

/* Tablets: logo on top, full menu on its own row, spread across the width.
   Slightly smaller menu text so it never wraps, even at 768px. */
@media (min-width: 768px) and (max-width: 1023.98px) {
  #bannerrow > .inner { flex-wrap: wrap; row-gap: 6px; }
  #bannercolumn1,
  #bannercolumn3 { width: 100%; flex: 0 0 100%; }
  #bannerlogo img.tck-logo-img { width: 120px; height: auto; }
  #bannermenu ul.mod-menu { justify-content: space-between; gap: 0 12px; }
  #bannermenu ul.mod-menu > li > a,
  #bannermenu ul.mod-menu > li > .mod-menu__toggle-sub { font-size: 0.9375rem; }
}

/* The menu button (only shown on phones, by Joomla's layout): beige (APPROVED 4 Dec 2026) */
#bannermenu .navbar-toggler {
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1.5px solid #e7e0c4;
  border-radius: 8px;
  background: var(--ek-cream);
  color: var(--ek-ink);
  font-size: 1.25rem;
  line-height: 1;
}
#bannermenu .navbar-toggler:focus { box-shadow: none; }   /* the site's own focus outline shows instead */
#bannermenu .navbar-toggler[aria-expanded="true"] { border-color: var(--ek-sage); }   /* open: sage border */

/* Phones */
@media (max-width: 767.98px) {
  /* Logo and button side by side; the open menu drops below, full width */
  #bannerrow > .inner { position: relative; flex-wrap: wrap; padding-block: 12px; }
  #bannercolumn1,
  #bannercolumn3 { width: 100%; flex: 0 0 100%; }
  #bannerlogo img.tck-logo-img { width: 110px; height: auto; }
  #bannermenu .tck-module,
  #bannermenu .navbar { position: static; }
  #bannermenu .navbar-toggler { display: inline-flex; position: absolute; top: 34px; right: var(--ek-gutter); }

  /* The open menu: a list with fine lines between items */
  #bannermenu .navbar-collapse { margin-top: 12px; border-top: 1px solid #e7e0c4; }
  #bannermenu ul.mod-menu { flex-direction: column; align-items: stretch; gap: 0; padding: 4px 0 8px; }
  #bannermenu ul.mod-menu > li { border-bottom: 1px solid #efe8cf; }
  #bannermenu ul.mod-menu > li:last-child { border-bottom: 0; }
  #bannermenu ul.mod-menu > li > a,
  #bannermenu ul.mod-menu > li > .mod-menu__toggle-sub { min-height: 48px; }

  /* Template Creator CK's own phone styles force every submenu open with
     !important; keep Services closed until it is tapped */
  #bannermenu ul.mod-menu li > ul.mod-menu__sub[aria-hidden="true"] { display: none !important; }

  /* Services list opens inside the menu, indented */
  #bannermenu ul.mod-menu .mod-menu__sub {
    position: static;
    min-width: 0;
    margin: 0 0 8px;
    padding: 0 0 0 16px;
    border: 0;
    border-left: 3px solid var(--ek-sage);
    border-radius: 0;
    background: none;
    box-shadow: none;
  }
  #bannermenu ul.mod-menu .mod-menu__sub a { padding: 0 12px; font-weight: 400; }
}

/* Sticky header (APPROVED 4 Dec 2026)
   Needs the topline block and bannerrow in their own Template Creator CK
   wrapper at the top of the page, named "wrapper-header".
   - The logo and menu stay at the top; the phone and email line scrolls
     away (the negative top equals its height).
   - Once scrolled, the logo shrinks and a soft shadow appears. This uses
     CSS scroll-driven animation, no script; browsers without it keep the
     full-size logo and show a fine line instead.
   - Very short screens (phones turned sideways) don't stick.
   - scroll-padding-top leaves room for the header, so keyboard focus and
     in-page links never land underneath it.
------------------------------------------------*/
:root { --ek-topline-h: 52px; }

html { scroll-padding-top: 130px; }

#wrapper-header {
  position: sticky;
  top: calc(-1 * var(--ek-topline-h));
  z-index: 1000;
  background: var(--ek-paper);
  box-shadow: 0 1px 0 rgba(46, 55, 36, 0.12);   /* fallback line */
}

@supports (animation-timeline: scroll()) {
  #wrapper-header {
    box-shadow: none;
    animation: ek-header-shadow linear both;
    animation-timeline: scroll();
    animation-range: 0 120px;
  }
  #wrapper-header .tck-logo-img {
    animation: ek-logo-shrink linear both;
    animation-timeline: scroll();
    animation-range: 0 120px;
  }
}
@keyframes ek-header-shadow {
  to { box-shadow: 0 1px 0 rgba(46, 55, 36, 0.1), 0 8px 20px rgba(46, 55, 36, 0.08); }
}
@keyframes ek-logo-shrink {
  to { width: 100px; }
}

/* Tablets: two-row header, so a little more room */
@media (min-width: 768px) and (max-width: 1023.98px) {
  html { scroll-padding-top: 160px; }
}

/* Phones: compact; the menu button moves up with the shrinking logo,
   and a long open menu scrolls inside itself */
@media (max-width: 767.98px) {
  html { scroll-padding-top: 100px; }
  @supports (animation-timeline: scroll()) {
    #wrapper-header .tck-logo-img { animation-name: ek-logo-shrink-sm; }
    #bannermenu .navbar-toggler {
      animation: ek-toggler-up linear both;
      animation-timeline: scroll();
      animation-range: 0 120px;
    }
  }
  #bannermenu .navbar-collapse {
    max-height: calc(100vh - 140px);
    max-height: calc(100dvh - 140px);
    overflow-x: hidden;
    overflow-y: auto;
  }
  #bannermenu ul.mod-menu > li > :is(a, .mod-menu__toggle-sub)::after { left: 0; }
}
@keyframes ek-logo-shrink-sm {
  to { width: 72px; }
}
@keyframes ek-toggler-up {
  to { top: 19px; }
}

/* Short screens (phones turned sideways): not sticky */
@media (max-height: 500px) {
  #wrapper-header { position: static; }
  html { scroll-padding-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  #wrapper-header .tck-logo-img,
  #bannermenu .navbar-toggler { animation: none; }
}

/* Highlighted menu item, e.g. Contact: a red outlined pill (APPROVED 4 Dec 2026)
   Filled in on hover, focus and on its own page. 44px tall with the border.
   Usage: Menu item > Link Type > Link Class: ek-menu-highlight
------------------------------------------------*/
#bannermenu ul.mod-menu > li > a.ek-menu-highlight { padding: 0 18px; min-height: 40px; border: 2px solid var(--ek-red); border-radius: 30px; color: var(--ek-red); }
#bannermenu ul.mod-menu > li > a.ek-menu-highlight::after { display: none; }
#bannermenu ul.mod-menu > li > a.ek-menu-highlight:hover,
#bannermenu ul.mod-menu > li > a.ek-menu-highlight:focus,
#bannermenu ul.mod-menu > li > a.ek-menu-highlight[aria-current="page"] { background: var(--ek-red); color: #fff; }
#bannermenu ul.mod-menu > li > a.ek-menu-highlight:hover,
#bannermenu ul.mod-menu > li > a.ek-menu-highlight:focus { text-decoration: underline; }

/* Phones: in the menu list, Contact is a normal row in red, not a pill (APPROVED 4 Dec 2026) */
@media (max-width: 767.98px) {
  #bannermenu ul.mod-menu > li > a.ek-menu-highlight,
  #bannermenu ul.mod-menu > li > a.ek-menu-highlight:hover,
  #bannermenu ul.mod-menu > li > a.ek-menu-highlight:focus,
  #bannermenu ul.mod-menu > li > a.ek-menu-highlight[aria-current="page"] {
    min-height: 48px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    color: var(--ek-red);
  }
  #bannermenu ul.mod-menu > li > a.ek-menu-highlight::after { display: block; }
}

/* Slim contact line above the header: phone and email (APPROVED 4 Dec 2026)
------------------------------------------------*/
.ek-topline { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 24px; margin: 0; padding: 10px var(--ek-gutter) 0; list-style: none; font-size: 0.875rem; }
.ek-topline a { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; color: var(--ek-brown); text-decoration: none; }
.ek-topline a:hover,
.ek-topline a:focus { color: var(--ek-red); text-decoration: underline; }
.ek-topline .fa-solid { color: var(--ek-sage); }
.ek-topline li { display: flex; align-items: center; gap: 8px; }   /* icon and inserted module side by side */

/* Contact details with icons, under each other: footer, Contact page (APPROVED 4 Dec 2026)
   Usage: <ul class="ek-contact-list"><li><span class="fa-solid fa-phone" aria-hidden="true"></span>{loadposition phone,none}</li></ul>
------------------------------------------------*/
.ek-contact-list { list-style: none; margin: 0 0 1.25em; padding: 0; }
.ek-contact-list li { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 8px; }
.ek-contact-list .fa-solid { margin-top: 0.35em; }
.ek-contact-list address { margin: 0; }

/* Icons in the contact line and contact list: sage, and the same width
   so the text lines up (APPROVED 4 Dec 2026) */
:is(.ek-topline, .ek-contact-list) .fa-solid { width: 1.1em; text-align: center; color: var(--ek-sage); }

/* 15th anniversary corner sash (APPROVED 4 Dec 2026; revised 4 Dec 2026)
   A gold sash across the top-right corner of the screen, both ends running
   off the screen edges. It links to the anniversary post.
   Light ripples across it three times when a page opens (under 5 seconds)
   and again while the mouse is over it.
   It fades away in the first 50px of scrolling, so it never covers the
   menu or the phone menu button once the header sticks to the top.
   Browsers too old to link animations to scrolling don't show it at all.
   Put it in a Custom module in the "topline" position (not in the header
   row, where it would add a gap and squeeze the menu). Set the module's
   Finish Publishing date and it disappears on its own; the phone and email
   line goes back to normal with it.
   Ink on gold: 7.86:1.
   Usage:
   <div class="ek-corner15"><a href="/blog/15-years">Celebrating <b>15</b> years</a></div>
------------------------------------------------*/
.ek-corner15 {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1100;
  width: 190px;                    /* the corner area; anything outside it is hidden */
  height: 190px;
  overflow: hidden;
  pointer-events: none;            /* only the sash itself is clickable */
}
.ek-corner15 a {
  position: absolute;
  top: 78px;                       /* the sash's centre: 78px down and 78px in */
  right: 78px;
  width: 280px;                    /* long enough for both ends to run off the screen */
  padding: 8px 0;
  translate: 50% -50%;             /* centres it on that point, whatever its height */
  rotate: 45deg;
  pointer-events: auto;
  background: linear-gradient(90deg, #dcaf0d 0%, #f3ca17 12%, #f9dd63 25%, #f3ca17 38%, #dcaf0d 50%, #f3ca17 62%, #f9dd63 75%, #f3ca17 88%, #dcaf0d 100%);
  background-size: 200% 100%;
  box-shadow: 0 3px 8px rgba(46, 55, 36, 0.25);
  animation: ek-sash-shine 1.6s linear 3, ek-sash-wave 1.6s ease-in-out 3;
  color: var(--ek-ink);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
}
.ek-corner15 :is(b, strong) { font-family: var(--ek-font-head); font-size: 1.125rem; letter-spacing: 0; vertical-align: -0.1em; }
.ek-corner15 a:hover,
.ek-corner15 a:focus { text-decoration: underline; }
.ek-corner15 a:hover { animation: ek-sash-shine-again 1.6s linear infinite, ek-sash-wave-again 1.6s ease-in-out infinite; }

/* The flutter: light moving along the sash and a slight wave */
@keyframes ek-sash-shine       { to { background-position: -200% 0; } }
@keyframes ek-sash-shine-again { to { background-position: -200% 0; } }
@keyframes ek-sash-wave {
  0%, 100% { transform: skewX(0deg); }
  25%      { transform: skewX(-4deg); }
  75%      { transform: skewX(3deg); }
}
@keyframes ek-sash-wave-again {
  0%, 100% { transform: skewX(0deg); }
  25%      { transform: skewX(-4deg); }
  75%      { transform: skewX(3deg); }
}

/* Fade away as the page scrolls. Fading is not movement, so it stays on
   for visitors who ask for reduced motion; only the flutter stops. */
@supports (animation-timeline: scroll()) {
  .ek-corner15 {
    animation: ek-corner-fade linear both;
    animation-timeline: scroll();
    animation-range: 0 50px;
  }
}
@keyframes ek-corner-fade { to { opacity: 0; visibility: hidden; } }
@supports not (animation-timeline: scroll()) {
  .ek-corner15 { display: none; }
}

/* While the sash is on the page, keep the phone and email line, and the
   menu on wide screens, clear of the corner. */
@supports (animation-timeline: scroll()) {
  html:has(.ek-corner15) .ek-topline { padding-right: max(var(--ek-gutter), calc(175px - max(0px, (100vw - var(--ek-wrap)) / 2))); }
  @media (min-width: 1024px) {
    html:has(.ek-corner15) #bannerrow > .inner { padding-right: max(var(--ek-gutter), calc(90px - max(0px, (100vw - var(--ek-wrap)) / 2))); }
  }
}

/* Phones: a smaller sash, and the phone and email line in two short rows
   on the left (the sticky header's topline height changes to match) */
@media (max-width: 767.98px) {
  .ek-corner15 { width: 130px; height: 130px; }
  .ek-corner15 a { top: 51px; right: 51px; width: 190px; padding: 5px 0; font-size: 0.5625rem; letter-spacing: 0.08em; }
  .ek-corner15 :is(b, strong) { font-size: 0.875rem; }
  @supports (animation-timeline: scroll()) {
    html:has(.ek-corner15) { --ek-topline-h: 74px; }
    html:has(.ek-corner15) .ek-topline { flex-direction: column; align-items: flex-start; gap: 0; padding-right: 112px; font-size: 0.8125rem; }
    html:has(.ek-corner15) .ek-topline .mod-custom > p { padding: 0; }   /* rows exactly as tall as the 32px links */
  }
}

@media (prefers-reduced-motion: reduce) {
  .ek-corner15 a,
  .ek-corner15 a:hover { animation: none; }
  /* Keep the fade even though the reduced-motion rule at the end of this
     file switches off every animation; otherwise the sash would sit over
     the menu once the header sticks. */
  @supports (animation-timeline: scroll()) {
    html .ek-corner15 {
      animation: ek-corner-fade linear both !important;
      animation-timeline: scroll() !important;
      animation-range: 0 50px !important;
    }
  }
}

/* Shared details (phone, email, address) live in Custom modules in the
   made-up positions "phone", "email" and "address", inserted anywhere with
   {loadposition phone,none}. Joomla wraps each in a .mod-custom div and the
   editor adds a paragraph: no stray space below the last item in any
   Custom module (APPROVED 4 Dec 2026). */
.mod-custom > :last-child { margin-bottom: 0; }

/* Layout helpers (APPROVED 4 Dec 2026)
------------------------------------------------*/
.ek-wrap {
  max-width: var(--ek-wrap);
  margin-inline: auto;
  padding-inline: var(--ek-gutter);
  box-sizing: border-box;
}

.ek-section {
  padding-block: clamp(56px, 32px + 4vw, 96px);
}

.ek-bg-paper { background: var(--ek-paper); }
.ek-bg-cream { background: var(--ek-cream); }

.ek-bg-green,
.ek-bg-brick {
  color: var(--ek-cream);
}

.ek-bg-green { background: var(--ek-ink); }
.ek-bg-brick { background: var(--ek-brick); }

.ek-bg-green :is(h1, h2, h3, h4),
.ek-bg-brick :is(h1, h2, h3, h4) {
  color: #fff;
}

.ek-bg-green a:not(.ek-btn),
.ek-bg-brick a:not(.ek-btn) {
  color: var(--ek-gold);
}

/* Small label above a heading (APPROVED 4 Dec 2026) */
.ek-eyebrow {
  margin: 0 0 0.75em;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ek-brick);
}

.ek-bg-green .ek-eyebrow,
.ek-bg-brick .ek-eyebrow {
  color: var(--ek-gold);
}

/* White card on cream sections (APPROVED 4 Dec 2026) */
.ek-card {
  background: #fff;
  border: 1px solid #e7e0c4;
  border-radius: var(--ek-radius);
  padding: 24px;
}

/* Spacing (APPROVED 3 Dec 2026)
   A heading that starts a box, or sits right under an eyebrow label,
   gets no space above it. The last item in a card or section gets no
   space below it. Without this, heading margins add to the section and
   card padding and leave large gaps (about 48px between an eyebrow and
   its heading).
------------------------------------------------*/
:is(h1, h2, h3, h4):first-child,
.ek-eyebrow + :is(h1, h2, h3, h4) {
  margin-top: 0;
}

.ek-card > :last-child,
.ek-wrap > :last-child {
  margin-bottom: 0;
}

/* Buttons (APPROVED 4 Dec 2026)
   Usage: <a class="ek-btn ek-btn--primary" href="...">Get started today</a>
   About 47px tall, so they meet the 44px minimum touch target.
------------------------------------------------*/
.ek-btn {
  display: inline-block;
  padding: 0.8em 1.5em;
  border: 2px solid transparent;
  border-radius: 6px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.ek-btn:hover,
.ek-btn:focus {
  text-decoration: underline;
}

.ek-btn--primary              { background: var(--ek-red);   color: #fff; }
.ek-btn--primary:hover        { background: var(--ek-brick); color: #fff; }

.ek-btn--gold                 { background: var(--ek-gold);  color: var(--ek-ink); }
.ek-btn--gold:hover           { color: var(--ek-ink); }

.ek-btn--outline              { border-color: var(--ek-green); color: var(--ek-green); }
.ek-btn--outline:hover        { color: var(--ek-green); }

.ek-btn--outline-light        { border-color: var(--ek-cream); color: #fff; }
.ek-btn--outline-light:hover  { color: #fff; }

/* Small components (APPROVED 3 Dec 2026), first used in the footer
------------------------------------------------*/

/* Small uppercase heading: footer columns, sidebars */
.ek-heading-caps {
  margin: 0 0 0.9em;
  font-family: var(--ek-font-head);
  font-size: 0.9375rem;              /* 15px */
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ek-ink);
}

/* Vertical list of links, no bullets */
.ek-link-list { list-style: none; margin: 0; padding: 0; }
.ek-link-list a { display: inline-block; padding: 4px 0; text-decoration: none; }
.ek-link-list a:hover,
.ek-link-list a:focus { text-decoration: underline; }

/* Row of rounded links, e.g. social profiles.
   About 46px tall, so they meet the 44px touch target. */
.ek-pill-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ek-pill-list a { display: inline-block; padding: 10px 16px; border: 1.5px solid currentColor; border-radius: 30px; font-size: 0.875rem; text-decoration: none; }
.ek-pill-list a:hover,
.ek-pill-list a:focus { text-decoration: underline; }

/* Icon-only links, no circles, 44px tap area each (APPROVED 3 Dec 2026).
   The negative margin lines the first icon up with the text above.
   Put each network's name in a .visually-hidden span (Bootstrap) so
   screen readers still announce it. Icons take the link color.
   Usage: <ul class="ek-pill-list ek-pill-list--icons" aria-label="…">
          <li><a href="…"><span class="fa-brands fa-bluesky" aria-hidden="true"></span><span class="visually-hidden">Bluesky</span></a></li> */
.ek-pill-list--icons { gap: 4px; margin-left: -10px; }
.ek-pill-list--icons a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 0; font-size: 1.375rem; }

/* Small logo for footers and sidebars */
.ek-logo-sm { display: block; width: 150px; height: auto; }

/* Two items pushed to opposite ends, wrapping on phones */
.ek-split { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.ek-split > * { margin: 0; }

/* Small print, and a fine line above */
.ek-small { font-size: 0.875rem; }
.ek-rule-top { border-top: 1px solid rgba(46, 55, 36, 0.18); padding-top: 18px; }

/* Sign-up card (APPROVED 3 Dec 2026)
   Intro on the left, form on the right, stacking on phones.
   Usage:
   <div class="ek-card ek-signup">
     <div class="ek-signup__intro"><h2>…</h2><p>…</p></div>
     <div class="ek-signup__form">…the form…</div>
   </div>
------------------------------------------------*/
.ek-signup { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 20px 40px; padding: 28px 30px; }
.ek-signup__intro { flex: 1 1 260px; min-width: 0; }
.ek-signup__intro :is(h2, h3) { margin: 0 0 6px; font-size: 1.5rem; }
.ek-signup__intro p { margin: 0; }
.ek-signup__form { flex: 2 1 520px; min-width: 0; }

/* AcyMailing sign-up forms in the brand style (APPROVED 3 Dec 2026)
   Fields sit side by side and wrap on small screens. Field borders are
   4.97:1 on white; the button matches .ek-btn--primary.
------------------------------------------------*/
.acym_module .acym_module_form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px; }
.acym_module .acym_form { display: flex; flex-wrap: wrap; gap: 14px; flex: 1 1 420px; min-width: 0; }
.acym_module .acym_form .onefield { flex: 1 1 140px; min-width: 0; margin: 0; }
.acym_module .acym_form .fieldacycaptcha { flex: 0 0 auto; }
.acym_module .acym_form label { display: flex; flex-direction: column; gap: 6px; width: 100%; margin: 0; font-size: 0.875rem; font-weight: 700; }

.acym_module .acym_form input[type="text"],
.acym_module .acym_form input[type="email"] {
  width: 100%;
  height: 46px;
  box-sizing: border-box;
  margin: 0;
  padding: 0 12px;
  border: 1.5px solid #7a6f52;
  border-radius: 6px;
  background: #fff;
  color: var(--ek-ink);
  font: inherit;
}

.acym_module .acysubbuttons { margin: 0; }

.acym_module .acysubbuttons .subbutton {
  height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 6px;
  background: var(--ek-red);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.acym_module .acysubbuttons .subbutton:hover,
.acym_module .acysubbuttons .subbutton:focus {
  background: var(--ek-brick);
  text-decoration: underline;
}

/* Logo-mark divider (APPROVED 3 Dec 2026), used at the top of the footer
   A fine sage line across the page with four small strokes sitting on
   it, centered, in the logo's bar colors and order: cream, dark green,
   sage, tan. Decorative, so hidden from
   screen readers in the HTML.
   Usage:
   <div class="ek-logo-rule" aria-hidden="true">
     <div class="ek-logo-rule__mark"><span></span><span></span><span></span><span></span></div>
   </div>
------------------------------------------------*/
.ek-logo-rule {
  position: relative;
  display: flex;
  justify-content: center;
  height: 42px;
}

.ek-logo-rule::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--ek-sage);
}

.ek-logo-rule__mark {
  position: relative;               /* sits on top of the line */
  display: flex;
  align-items: flex-end;
  gap: 4px;
  padding: 0 14px;
  background: var(--ek-paper);      /* breaks the line around the strokes; match the footer background */
}

.ek-logo-rule__mark span {
  display: block;
  width: 9px;
  border-radius: 5px;
}

/* The four logo bars, in the logo's order (APPROVED 3 Dec 2026) */
.ek-logo-rule__mark span:nth-child(1) { height: 34px; background: var(--ek-logo-cream); }
.ek-logo-rule__mark span:nth-child(2) { height: 42px; background: var(--ek-ink); }
.ek-logo-rule__mark span:nth-child(3) { height: 30px; background: var(--ek-sage); }
.ek-logo-rule__mark span:nth-child(4) { height: 38px; background: var(--ek-tan); }

/* Star rating (APPROVED 3 Dec 2026)
   Usage: <span class="star-rating" style="--rating: 4.8" aria-hidden="true"></span>
   --rating runs from 0 to 5; --star-size can be changed per use.
   The visible text next to it carries the rating for screen readers.
------------------------------------------------*/
.star-rating {
  --rating: 5;
  --star-size: 1.25rem;
  position: relative;
  display: inline-block;
  width: calc(var(--star-size) * 5);
  height: var(--star-size);
  margin-right: 0.5em;
  vertical-align: middle;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23d8d2bd' d='M12 2l2.9 6.6 7.1.6-5.4 4.7 1.6 7L12 17.2 5.8 20.9l1.6-7L2 9.2l7.1-.6z'/%3E%3C/svg%3E") left center / var(--star-size) var(--star-size) repeat-x;
}

.star-rating::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: calc(var(--rating) * 20%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%239a6a00' d='M12 2l2.9 6.6 7.1.6-5.4 4.7 1.6 7L12 17.2 5.8 20.9l1.6-7L2 9.2l7.1-.6z'/%3E%3C/svg%3E") left center / var(--star-size) var(--star-size) repeat-x;
}

/* ================================================
   Content styles and page sections (APPROVED 4 Dec 2026)
   ================================================ */

/* Buttons: readable on keyboard focus (APPROVED fix, 4 Dec 2026)
   The site-wide "a:focus" color (brown) was overriding the button text
   color, so a focused red button had brown text on red (about 1.9:1).
   Each variant now keeps its own text color on hover and focus. */
.ek-btn--primary:is(:hover, :focus)        { background: var(--ek-brick); color: #fff; }
.ek-btn--gold:is(:hover, :focus)           { color: var(--ek-ink); }
.ek-btn--outline:is(:hover, :focus)        { color: var(--ek-green); }
.ek-btn--outline-light:is(:hover, :focus)  { color: #fff; }

/* Bootstrap buttons in the brand (APPROVED 4 Dec 2026)
   Joomla and extensions use Bootstrap's .btn-primary and .btn-secondary
   (the portfolio's "See details" links, comment forms, AcyMailing).
   Template Creator CK's stylesheet paints every .btn grey, so the colors
   are set directly; the Bootstrap settings cover the pressed and
   disabled states. Primary is red like .ek-btn--primary; secondary is
   dark green.
------------------------------------------------*/
.btn {
  --bs-btn-font-weight: 700;
  --bs-btn-border-radius: 6px;
  --bs-btn-focus-box-shadow: none;    /* the site's own focus outline shows instead */
}
.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--ek-red);
  --bs-btn-border-color: var(--ek-red);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--ek-brick);
  --bs-btn-hover-border-color: var(--ek-brick);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--ek-brick);
  --bs-btn-active-border-color: var(--ek-brick);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: var(--ek-red);
  --bs-btn-disabled-border-color: var(--ek-red);
}
.btn-secondary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--ek-green);
  --bs-btn-border-color: var(--ek-green);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--ek-ink);
  --bs-btn-hover-border-color: var(--ek-ink);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--ek-ink);
  --bs-btn-active-border-color: var(--ek-ink);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: var(--ek-green);
  --bs-btn-disabled-border-color: var(--ek-green);
}
:is(a, button, input).btn { font-weight: 700; border-radius: 6px; box-shadow: none; text-decoration: none; }
:is(a, button, input).btn-primary { background: var(--ek-red); border-color: var(--ek-red); color: #fff; }
:is(a, button, input).btn-primary:is(:hover, :focus) { background: var(--ek-brick); border-color: var(--ek-brick); color: #fff; text-decoration: underline; }
:is(a, button, input).btn-secondary { background: var(--ek-green); border-color: var(--ek-green); color: #fff; }
:is(a, button, input).btn-secondary:is(:hover, :focus) { background: var(--ek-ink); border-color: var(--ek-ink); color: #fff; text-decoration: underline; }

/* Tags (Joomla's tag list on blog posts and portfolio items) (APPROVED 4 Dec 2026)
   Small cream pills instead of Bootstrap's cyan buttons.
------------------------------------------------*/
.tags { padding: 0; margin: 0 0 1.25em; }
.tags .btn {
  --bs-btn-padding-x: 0.75rem;
  --bs-btn-padding-y: 0.3rem;
  --bs-btn-font-size: 0.8125rem;
  --bs-btn-font-weight: 700;
  --bs-btn-border-radius: 30px;
  --bs-btn-color: var(--ek-ink);
  --bs-btn-bg: var(--ek-cream);
  --bs-btn-border-color: #e7e0c4;
  --bs-btn-hover-color: var(--ek-ink);
  --bs-btn-hover-bg: #ece3c2;
  --bs-btn-hover-border-color: var(--ek-sage);
  --bs-btn-active-color: var(--ek-ink);
  --bs-btn-active-bg: #ece3c2;
  --bs-btn-active-border-color: var(--ek-sage);
}
.tags a.btn { padding: 0.3rem 0.75rem; border: 1px solid #e7e0c4; border-radius: 30px; background: var(--ek-cream); color: var(--ek-ink); font-size: 0.8125rem; }
.tags a.btn:is(:hover, :focus) { background: #ece3c2; border-color: var(--ek-sage); color: var(--ek-ink); text-decoration: underline; }

/* Pagination (blog and category pages) (APPROVED 4 Dec 2026)
   Joomla's Bootstrap pagination in the brand: white squares with a
   cream border, cream on hover, dark green for the current page.
   Each is at least 44px square, for touch.
------------------------------------------------*/
.pagination {
  --bs-pagination-padding-x: 0.9rem;
  --bs-pagination-padding-y: 0.5rem;
  --bs-pagination-font-size: 1rem;
  --bs-pagination-color: var(--ek-ink);
  --bs-pagination-bg: #fff;
  --bs-pagination-border-color: #e7e0c4;
  --bs-pagination-border-radius: 8px;
  --bs-pagination-hover-color: var(--ek-ink);
  --bs-pagination-hover-bg: var(--ek-cream);
  --bs-pagination-hover-border-color: #e7e0c4;
  --bs-pagination-focus-color: var(--ek-ink);
  --bs-pagination-focus-bg: var(--ek-cream);
  --bs-pagination-focus-box-shadow: none;   /* the site's own focus outline shows instead */
  --bs-pagination-active-color: #fff;
  --bs-pagination-active-bg: var(--ek-green);
  --bs-pagination-active-border-color: var(--ek-green);
  --bs-pagination-disabled-color: #8b8577;
  --bs-pagination-disabled-bg: transparent;
  --bs-pagination-disabled-border-color: #efe8cf;
  flex-wrap: wrap;
  gap: 6px;
}
/* Template Creator CK sets its own blue pagination colors, so these are set directly */
.pagination .page-link { display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; margin-left: 0; border-color: #e7e0c4; border-radius: 8px; background: #fff; color: var(--ek-ink); font-weight: 700; text-align: center; text-decoration: none; }
.pagination .page-link:is(:hover, :focus) { background: var(--ek-cream); color: var(--ek-ink); text-decoration: underline; }
.pagination .page-item.active .page-link,
.pagination .page-link.active { background: var(--ek-green); border-color: var(--ek-green); color: #fff; }
.pagination .page-item.disabled .page-link { background: transparent; border-color: #efe8cf; color: #8b8577; }
.pagination-counter { font-size: 0.875rem; }

/* Data tables, e.g. price comparisons (APPROVED 4 Dec 2026)
   Usage:
   <div class="ek-table-scroll" role="region" aria-labelledby="CAPTION-ID" tabindex="0">
     <table class="ek-table"><caption id="CAPTION-ID">…</caption>
       <thead><tr><th scope="col">…</th>…</tr></thead>
       <tbody><tr><th scope="row">…</th><td>…</td>…</tr></tbody>
     </table>
   </div>
   On narrow screens the table scrolls sideways inside its box instead of
   squashing; the box can take keyboard focus so it can be scrolled with
   the arrow keys.
------------------------------------------------*/
.ek-table-scroll { max-width: 100%; overflow-x: auto; margin: 0 0 1.5em; border: 1px solid #e7e0c4; border-radius: var(--ek-radius); background: #fff; }
.ek-table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 0.9375rem; line-height: 1.4; }
.ek-table caption { caption-side: top; padding: 16px 18px 6px; color: var(--ek-ink); font-family: var(--ek-font-head); font-size: 1.125rem; font-weight: 700; text-align: left; }
.ek-table :is(th, td) { padding: 12px 18px; border-top: 1px solid #efe8cf; text-align: left; vertical-align: top; }
.ek-table thead th { border-top: 0; background: var(--ek-ink); color: #fff; font-family: var(--ek-font-head); font-size: 1rem; }
.ek-table tbody th { color: var(--ek-ink); font-weight: 700; }
.ek-table tbody tr:nth-child(even) { background: #fbf8ec; }
.ek-table .ek-table__note { display: block; color: var(--ek-brown); font-size: 0.8125rem; }   /* small second line in a cell */

/* Check-mark list, e.g. "What's included" (APPROVED 4 Dec 2026)
   A sage check before each item, drawn with CSS (no icon font needed).
   Usage: <ul class="ek-check-list"><li>…</li></ul>
------------------------------------------------*/
.ek-check-list { list-style: none; margin: 0 0 1.25em; padding: 0; }
.ek-check-list li { position: relative; margin: 0 0 10px; padding-left: 32px; }
.ek-check-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.3em;
  width: 7px;
  height: 13px;
  border: solid var(--ek-green);
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

/* Testimonials (existing markup on the Testimonials page) (APPROVED 4 Dec 2026)
   <div class="testimonial">
     <blockquote class="style1"><p>…</p></blockquote>
     <div class="name">Name<br>Title<br>City<br><a>Company</a></div>
     <div><img …></div>
   </div>
   A white card with a large tan opening quote mark; the first line of
   the name block (the person's name) is bold, and the client's logo sits
   at the bottom right inside the card.
------------------------------------------------*/
.testimonial {
  display: flow-root;                  /* keeps the floated client logo inside the card */
  margin: 0 0 28px;
  padding: 28px 28px 24px;
  background: #fff;
  border: 1px solid #e7e0c4;
  border-radius: var(--ek-radius);
}
.testimonial blockquote {
  position: relative;
  margin: 0 0 18px;
  padding: 0 0 0 46px;
  border: 0;
  background: none;
  text-indent: 0;
}
.testimonial blockquote::before {
  content: "\201C";
  content: "\201C" / "";              /* decorative: hidden from screen readers where supported */
  position: absolute;
  left: 0;
  top: -0.12em;
  color: var(--ek-tan);
  font-family: var(--ek-font-head);
  font-size: 3.75rem;
  line-height: 1;
}
.testimonial blockquote p { margin: 0 0 0.8em; font-style: italic; }
.testimonial blockquote p:last-child { margin-bottom: 0; }
.testimonial .name { padding-left: 46px; color: var(--ek-brown); font-size: 0.9375rem; line-height: 1.5; text-align: left; }
.testimonial .name::first-line { color: var(--ek-ink); font-weight: 700; }
.testimonial img { max-width: 180px; height: auto; }   /* the logos float right through their own inline style */
@media (max-width: 575.98px) {
  /* (APPROVED 5 Dec 2026) on phones the big quote mark's indent
     would squeeze the text column */
  .testimonial { padding: 22px 20px 20px; }
  .testimonial blockquote { padding-left: 30px; }
  .testimonial blockquote::before { font-size: 2.5rem; }
  .testimonial .name { padding-left: 30px; }
}

/* Flowing columns for cards of very different heights (APPROVED 5 Dec 2026)
   Testimonials are the obvious case: some are one line, some are five
   paragraphs. A normal grid would leave big gaps, because every card in
   a row is as tall as the tallest one. This flows them down two columns
   instead, like a newspaper, so there are no gaps. It drops to a single
   column on phones.

   Reusable for any set of cards whose heights vary a lot. Not for cards
   that should line up in rows (use .ek-grid for those).

   Usage: <div class="ek-masonry"><div class="testimonial">…</div>…</div>

   Note: reading order runs down the first column, then down the second,
   which is correct for a list where the order doesn't matter.
------------------------------------------------*/
.ek-masonry { columns: 2 380px; column-gap: 28px; }
.ek-masonry > * { break-inside: avoid; }
@media (max-width: 640px) {
  .ek-masonry { columns: 1; }
}

/* A widget from another service, dropped into a page band (APPROVED 5 Dec 2026)
   For things like the reviews widget, a booking form or a map, loaded in
   through a module. This only handles how the widget sits on the page:
   it takes away the module's own spacing, keeps the widget inside the
   page width so it can never cause sideways scrolling, and centres it.

   The widget's own colors, fonts and layout are set in that service's
   editor (Elfsight's, in the case of the reviews), not here. Nothing in
   this rule reaches inside the widget, on purpose: those services
   generate their own class names and change them without warning, so
   anything targeting them would break on their next update.

   Usage: <div class="ek-embed">{loadposition reviews,none}</div>
------------------------------------------------*/
.ek-embed { max-width: 100%; overflow-x: clip; margin: 0; }
.ek-embed > :last-child { margin-bottom: 0; }
.ek-embed .mod-custom > :last-child { margin-bottom: 0; }

/* Callout box, e.g. the question at the end of blog posts (APPROVED 4 Dec 2026)
   Usage: <div class="ek-callout">…</div> (old posts use .blog-end)
------------------------------------------------*/
:is(.ek-callout, .blog-end) {
  margin: 2em 0;
  padding: 20px 24px;
  background: var(--ek-cream);
  border-left: 4px solid var(--ek-sage);
  border-radius: 0 var(--ek-radius) var(--ek-radius) 0;
  font-weight: 700;
  text-align: left;
}
:is(.ek-callout, .blog-end) > :last-child { margin-bottom: 0; }

/* Website screenshots, e.g. on the portfolio (APPROVED 4 Dec 2026)
   A fine border and soft shadow; beside the text on wider screens, full
   width on phones.
   Usage: <img class="ek-screenshot" …> (old content uses .web-shadow)
------------------------------------------------*/
:is(.ek-screenshot, .web-shadow) {
  border: 1px solid #e7e0c4;
  border-radius: 6px;
  box-shadow: 0 6px 20px rgba(46, 55, 36, 0.12);
}
@media (min-width: 768px) {
  .web-shadow { float: right; max-width: 45%; margin: 0 0 16px 24px; }
}
@media (max-width: 767.98px) {
  .web-shadow { display: block; margin: 0 0 16px; }
}

/* Embedded video and maps never wider than the page */
iframe { max-width: 100%; }

/* Classes still used in older content (from the Helix3 stylesheet) (APPROVED 4 Dec 2026)
   Kept so old articles look right without editing them. Use the ek-
   components above for anything new.
------------------------------------------------*/
.fa-grn  { color: var(--ek-sage); }         /* check marks on the Email marketing page */
.fa-book { color: var(--ek-brown); }        /* icon on the Website design page */
.sm { font-size: 0.875rem; font-style: italic; }
a.button { display: inline-block; padding: 0.8em 1.5em; border-radius: 6px; background: var(--ek-red); color: #fff; line-height: 1.2; text-decoration: none; }
a.button:is(:hover, :focus) { background: var(--ek-brick); color: #fff; text-decoration: underline; }
.caret1::before {                            /* small tan arrow before a line, one blog post */
  content: "";
  display: inline-block;
  margin-right: 8px;
  border-left: 0.45em solid var(--ek-tan);
  border-block: 0.3em solid transparent;
}
.pagebuilderck { overflow: hidden; }        /* stops Page Builder CK rows causing sideways scrolling */
.akengage-outer-container .toggle-editor { display: none; }   /* comment form: no "Toggle editor" button */

/* Page sections: service pages and other designed pages (APPROVED 4 Dec 2026)
   The homepage's look for inner pages: full-width colored sections with
   the soft torn edge, a large headline with a brushstroke highlight,
   cards in a grid, and a closing call to action.

   A page built this way starts with a hero section; the article's own
   top and bottom space is then removed so the sections run edge to edge.

   Usage:
   <section class="ek-band ek-band--hero">…</section>
   <section class="ek-band ek-band--edge ek-bg-cream">…</section>
   <section class="ek-band ek-band--edge ek-band--edge-flip ek-band--end ek-bg-brick">…</section>
   The background classes are the existing .ek-bg-paper, .ek-bg-cream,
   .ek-bg-green and .ek-bg-brick.
------------------------------------------------*/

/* Full-width sections never cause sideways scrolling */
#wrapper { overflow-x: clip; }

.com-content-article:has(.ek-band) { padding-top: 0; padding-bottom: 0; }

.ek-band {
  position: relative;
  margin-inline: calc(50% - 50vw);              /* full width of the screen… */
  padding: clamp(56px, 32px + 4vw, 96px) calc(50vw - 50%);   /* …with the content still lined up with the page */
}
.ek-band--hero { padding-top: clamp(32px, 16px + 3vw, 64px); }
.ek-band > :last-child { margin-bottom: 0; }

/* The soft torn edge along the top of a section, in its own color */
.ek-band--edge::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% - 1px);
  height: 48px;
  background: inherit;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 48' preserveAspectRatio='none'%3E%3Cfilter id='b' x='-5%25' y='-50%25' width='110%25' height='200%25'%3E%3CfeGaussianBlur stdDeviation='1.6'/%3E%3C/filter%3E%3Cpath filter='url%28%23b%29' d='M-40 80 -36 22 -24 25 -12 24 0 25 12 29 24 27 36 29 48 29 60 29 72 29 84 28 96 30 108 27 120 27 132 25 144 25 156 24 168 25 180 22 192 20 204 19 216 21 228 17 240 19 252 17 264 18 276 17 288 19 300 18 312 19 324 20 336 19 348 18 360 17 372 21 384 19 396 17 408 20 420 18 432 17 444 17 456 14 468 14 480 15 492 12 504 14 516 11 528 13 540 14 552 15 564 16 576 15 588 15 600 16 612 19 624 20 636 19 648 24 660 23 672 24 684 23 696 23 708 23 720 24 732 23 744 24 756 23 768 25 780 25 792 22 804 22 816 22 828 24 840 26 852 23 864 26 876 25 888 24 900 28 912 27 924 27 936 29 948 28 960 29 972 29 984 29 996 29 1008 27 1020 25 1032 24 1044 23 1056 23 1068 21 1080 22 1092 20 1104 20 1116 20 1128 16 1140 16 1152 16 1164 17 1176 18 1188 19 1200 18 1212 20 1224 17 1236 20 1248 18 1260 20 1272 17 1284 20 1296 19 1308 19 1320 17 1332 14 1344 17 1356 14 1368 12 1380 13 1392 13 1404 13 1416 11 1428 12 1440 14 1452 15 1464 14 1476 17 1480 80Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 48' preserveAspectRatio='none'%3E%3Cfilter id='b' x='-5%25' y='-50%25' width='110%25' height='200%25'%3E%3CfeGaussianBlur stdDeviation='1.6'/%3E%3C/filter%3E%3Cpath filter='url%28%23b%29' d='M-40 80 -36 22 -24 25 -12 24 0 25 12 29 24 27 36 29 48 29 60 29 72 29 84 28 96 30 108 27 120 27 132 25 144 25 156 24 168 25 180 22 192 20 204 19 216 21 228 17 240 19 252 17 264 18 276 17 288 19 300 18 312 19 324 20 336 19 348 18 360 17 372 21 384 19 396 17 408 20 420 18 432 17 444 17 456 14 468 14 480 15 492 12 504 14 516 11 528 13 540 14 552 15 564 16 576 15 588 15 600 16 612 19 624 20 636 19 648 24 660 23 672 24 684 23 696 23 708 23 720 24 732 23 744 24 756 23 768 25 780 25 792 22 804 22 816 22 828 24 840 26 852 23 864 26 876 25 888 24 900 28 912 27 924 27 936 29 948 28 960 29 972 29 984 29 996 29 1008 27 1020 25 1032 24 1044 23 1056 23 1068 21 1080 22 1092 20 1104 20 1116 20 1128 16 1140 16 1152 16 1164 17 1176 18 1188 19 1200 18 1212 20 1224 17 1236 20 1248 18 1260 20 1272 17 1284 20 1296 19 1308 19 1320 17 1332 14 1344 17 1356 14 1368 12 1380 13 1392 13 1404 13 1416 11 1428 12 1440 14 1452 15 1464 14 1476 17 1480 80Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
  pointer-events: none;
}
.ek-band--edge-flip::before { transform: scaleX(-1); }

/* The same soft edge along the bottom of the last section, so it blends
   into the footer (paper colored) */
.ek-band--end { padding-bottom: calc(clamp(56px, 32px + 4vw, 96px) + 32px); }
.ek-band--end::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 48px;
  background: var(--ek-paper);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 48' preserveAspectRatio='none'%3E%3Cfilter id='b' x='-5%25' y='-50%25' width='110%25' height='200%25'%3E%3CfeGaussianBlur stdDeviation='1.6'/%3E%3C/filter%3E%3Cpath filter='url%28%23b%29' d='M-40 80 -36 22 -24 25 -12 24 0 25 12 29 24 27 36 29 48 29 60 29 72 29 84 28 96 30 108 27 120 27 132 25 144 25 156 24 168 25 180 22 192 20 204 19 216 21 228 17 240 19 252 17 264 18 276 17 288 19 300 18 312 19 324 20 336 19 348 18 360 17 372 21 384 19 396 17 408 20 420 18 432 17 444 17 456 14 468 14 480 15 492 12 504 14 516 11 528 13 540 14 552 15 564 16 576 15 588 15 600 16 612 19 624 20 636 19 648 24 660 23 672 24 684 23 696 23 708 23 720 24 732 23 744 24 756 23 768 25 780 25 792 22 804 22 816 22 828 24 840 26 852 23 864 26 876 25 888 24 900 28 912 27 924 27 936 29 948 28 960 29 972 29 984 29 996 29 1008 27 1020 25 1032 24 1044 23 1056 23 1068 21 1080 22 1092 20 1104 20 1116 20 1128 16 1140 16 1152 16 1164 17 1176 18 1188 19 1200 18 1212 20 1224 17 1236 20 1248 18 1260 20 1272 17 1284 20 1296 19 1308 19 1320 17 1332 14 1344 17 1356 14 1368 12 1380 13 1392 13 1404 13 1416 11 1428 12 1440 14 1452 15 1464 14 1476 17 1480 80Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 48' preserveAspectRatio='none'%3E%3Cfilter id='b' x='-5%25' y='-50%25' width='110%25' height='200%25'%3E%3CfeGaussianBlur stdDeviation='1.6'/%3E%3C/filter%3E%3Cpath filter='url%28%23b%29' d='M-40 80 -36 22 -24 25 -12 24 0 25 12 29 24 27 36 29 48 29 60 29 72 29 84 28 96 30 108 27 120 27 132 25 144 25 156 24 168 25 180 22 192 20 204 19 216 21 228 17 240 19 252 17 264 18 276 17 288 19 300 18 312 19 324 20 336 19 348 18 360 17 372 21 384 19 396 17 408 20 420 18 432 17 444 17 456 14 468 14 480 15 492 12 504 14 516 11 528 13 540 14 552 15 564 16 576 15 588 15 600 16 612 19 624 20 636 19 648 24 660 23 672 24 684 23 696 23 708 23 720 24 732 23 744 24 756 23 768 25 780 25 792 22 804 22 816 22 828 24 840 26 852 23 864 26 876 25 888 24 900 28 912 27 924 27 936 29 948 28 960 29 972 29 984 29 996 29 1008 27 1020 25 1032 24 1044 23 1056 23 1068 21 1080 22 1092 20 1104 20 1116 20 1128 16 1140 16 1152 16 1164 17 1176 18 1188 19 1200 18 1212 20 1224 17 1236 20 1248 18 1260 20 1272 17 1284 20 1296 19 1308 19 1320 17 1332 14 1344 17 1356 14 1368 12 1380 13 1392 13 1404 13 1416 11 1428 12 1440 14 1452 15 1464 14 1476 17 1480 80Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
  pointer-events: none;
}

/* Headings in sections: larger, like the homepage */
.ek-band h2 { font-size: clamp(2rem, 1.25rem + 2.4vw, 3.25rem); line-height: 1.05; margin-bottom: 0.4em; }

/* Big headline, for the top of a page. Sets the heading font itself
   (APPROVED 5 Dec 2026), so it also works on a <p>: the homepage's
   tagline is a paragraph so that the keyword line under it can be the h1. */
.ek-display { font-family: var(--ek-font-head); font-weight: 700; font-size: clamp(2.5rem, 1.3rem + 3.6vw, 4.25rem); line-height: 1; letter-spacing: -0.01em; margin: 0 0 0.35em; }

/* Brushstroke behind a few words; gold by default */
.ek-highlight {
  padding: 0 0.12em;
  margin: 0 -0.06em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-20 -30 420 160' preserveAspectRatio='none'%3E%3Cfilter id='s' x='-40%25' y='-20%25' width='180%25' height='140%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.035' numOctaves='2' seed='4' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='7' xChannelSelector='R' yChannelSelector='G' result='d'/%3E%3CfeGaussianBlur in='d' stdDeviation='6'/%3E%3C/filter%3E%3Cpath filter='url%28%23s%29' fill='%23f3ca17' d='M38 2 25 4 13 15 7 31 4 50 6 69 14 85 25 96 38 101 55 102 72 102 89 102 106 101 122 102 139 100 156 101 173 99 190 98 207 98 224 97 241 98 258 97 274 96 291 95 308 95 325 95 342 95 354 91 364 81 370 67 373 50 369 33 363 19 354 9 342 6 325 7 308 5 291 6 274 5 258 3 241 1 224 -0 207 0 190 -0 173 -2 156 -2 139 -3 122 -2 106 -2 89 -1 72 -0 55 1Z'/%3E%3C/svg%3E") center 72% / 100% 78% no-repeat;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;            /* each line gets its own stroke when it wraps */
}
.ek-highlight--sage { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-20 -30 420 160' preserveAspectRatio='none'%3E%3Cfilter id='s' x='-40%25' y='-20%25' width='180%25' height='140%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.035' numOctaves='2' seed='4' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='7' xChannelSelector='R' yChannelSelector='G' result='d'/%3E%3CfeGaussianBlur in='d' stdDeviation='6'/%3E%3C/filter%3E%3Cpath filter='url%28%23s%29' fill='%23aab89d' d='M38 2 25 4 13 15 7 31 4 50 6 69 14 85 25 96 38 101 55 102 72 102 89 102 106 101 122 102 139 100 156 101 173 99 190 98 207 98 224 97 241 98 258 97 274 96 291 95 308 95 325 95 342 95 354 91 364 81 370 67 373 50 369 33 363 19 354 9 342 6 325 7 308 5 291 6 274 5 258 3 241 1 224 -0 207 0 190 -0 173 -2 156 -2 139 -3 122 -2 106 -2 89 -1 72 -0 55 1Z'/%3E%3C/svg%3E"); }
.ek-highlight--tan  { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-20 -30 420 160' preserveAspectRatio='none'%3E%3Cfilter id='s' x='-40%25' y='-20%25' width='180%25' height='140%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.035' numOctaves='2' seed='4' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='7' xChannelSelector='R' yChannelSelector='G' result='d'/%3E%3CfeGaussianBlur in='d' stdDeviation='6'/%3E%3C/filter%3E%3Cpath filter='url%28%23s%29' fill='%23e3cdb4' d='M38 2 25 4 13 15 7 31 4 50 6 69 14 85 25 96 38 101 55 102 72 102 89 102 106 101 122 102 139 100 156 101 173 99 190 98 207 98 224 97 241 98 258 97 274 96 291 95 308 95 325 95 342 95 354 91 364 81 370 67 373 50 369 33 363 19 354 9 342 6 325 7 308 5 291 6 274 5 258 3 241 1 224 -0 207 0 190 -0 173 -2 156 -2 139 -3 122 -2 106 -2 89 -1 72 -0 55 1Z'/%3E%3C/svg%3E"); }

/* Larger intro text, and a comfortable line length */
.ek-lead { font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); line-height: 1.6; max-width: 34em; }
.ek-measure { max-width: 40em; }

/* Eyebrow, heading and intro above a section's content */
.ek-section-head { max-width: 46em; margin-bottom: 40px; }
.ek-section-head > :last-child { margin-bottom: 0; }

/* Two columns side by side (text and picture), stacking on narrow screens */
.ek-cols { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 64px; }
.ek-cols > * { flex: 1 1 380px; min-width: 0; margin: 0; }
.ek-cols > :first-child { flex-basis: 520px; }
.ek-cols--top { align-items: flex-start; }

/* A row of buttons */
.ek-btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 0; }

/* Cards (or anything) in an even grid: as many columns as fit, at least 260px each */
.ek-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 24px; }
.ek-grid > * { margin: 0; }

/* Cards keep dark text, even inside dark sections */
.ek-card { color: var(--ek-ink); }
:is(.ek-bg-green, .ek-bg-brick) .ek-card :is(h2, h3, h4) { color: var(--ek-ink); }
:is(.ek-bg-green, .ek-bg-brick) .ek-card a:not(.ek-btn) { color: var(--ek-red); }
:is(.ek-bg-green, .ek-bg-brick) .ek-card .ek-eyebrow { color: var(--ek-brick); }

/* Card with a colored bar along the top; in a grid the bars follow the
   logo's colors in turn */
.ek-card--accent { border-top: 6px solid var(--ek-ink); }
.ek-grid > .ek-card--accent:nth-child(4n+2) { border-top-color: var(--ek-sage); }
.ek-grid > .ek-card--accent:nth-child(4n+3) { border-top-color: var(--ek-tan); }
.ek-grid > .ek-card--accent:nth-child(4n+4) { border-top-color: var(--ek-logo-cream); }
.ek-card h3 { margin-bottom: 0.4em; }

/* Round icon above a card's heading
   Usage: <span class="ek-icon-badge"><span class="fa-solid fa-link" aria-hidden="true"></span></span> */
.ek-icon-badge {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--ek-cream);
  color: var(--ek-green);
  font-size: 1.375rem;
}
.ek-bg-cream .ek-icon-badge { background: #efe6c6; }
.ek-icon-badge + :is(h2, h3, h4) { margin-top: 0; }

/* Picture area: an illustration, with an optional small card overlapping
   its lower corner
   Usage: <div class="ek-visual"><img src="/images/illustrations/…svg" alt="" width="560" height="460">
          <div class="ek-float-card ek-float-card--sm" aria-hidden="true">…</div></div> */
.ek-visual { position: relative; width: 100%; max-width: 560px; margin: 0 auto; }
.ek-visual > img,
.ek-illustration > img { display: block; width: 100%; max-width: 560px; height: auto; margin-inline: auto; }
.ek-visual .ek-float-card { position: absolute; left: -36px; bottom: -28px; transform: rotate(-2deg); }

/* In the hero, a little more room for the headline than the picture */
.ek-band--hero .ek-cols > :first-child { flex-basis: 500px; }
.ek-band--hero .ek-cols > .ek-visual { flex-basis: 420px; }

/* Illustration on its own, e.g. beside a list */
.ek-illustration { margin: 0; }

.ek-float-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  box-sizing: border-box;
  padding: 28px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 44px rgba(46, 55, 36, 0.22);
  color: var(--ek-ink);
}
.ek-float-card__meta { margin: 0; color: var(--ek-brown); font-size: 0.875rem; }
.ek-float-card__title { margin: 0 0 16px; font-family: var(--ek-font-head); font-size: 1.625rem; font-weight: 700; line-height: 1.15; }
.ek-float-card--sm { width: min(250px, 50%); padding: 16px 18px; border-radius: 12px; }
.ek-float-card--sm .ek-float-card__title { margin-bottom: 10px; font-size: 1.25rem; }
.ek-float-card--sm .ek-status-list { gap: 6px; }
.ek-float-card--sm .ek-status-list li { padding: 8px 10px 8px 40px; font-size: 0.8125rem; }
.ek-float-card--sm .ek-status-list li::before { left: 10px; width: 20px; height: 20px; margin-top: -10px; }
.ek-float-card--sm .ek-status-list li::after { left: 17.5px; width: 4px; height: 8px; margin-top: -6px; border-width: 0 2px 2px 0; }

/* Done list: grey rows with a sage tick, like a report */
.ek-status-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ek-status-list li { position: relative; margin: 0; padding: 12px 16px 12px 52px; border-radius: 8px; background: #f4f4ee; font-weight: 700; line-height: 1.4; }
.ek-status-list li::before { content: ""; position: absolute; left: 16px; top: 50%; width: 24px; height: 24px; margin-top: -12px; border-radius: 50%; background: var(--ek-sage); }
.ek-status-list li::after { content: ""; position: absolute; left: 25px; top: 50%; width: 5px; height: 10px; margin-top: -7px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }

/* Check-mark list in two columns on wider screens */
.ek-check-list--2col { columns: 2 300px; column-gap: 48px; }
.ek-check-list--2col li { break-inside: avoid; }

/* Plan or price card
   Usage: <div class="ek-card ek-plan"><h3>Basic</h3><p class="ek-plan__price">$13 <small>a month</small></p><p>…</p></div> */
.ek-plan { display: flex; flex-direction: column; }
.ek-plan__price { margin: 0 0 12px; font-family: var(--ek-font-head); font-size: 2.5rem; font-weight: 700; line-height: 1.05; color: var(--ek-ink); }
.ek-plan__price small { display: block; margin-top: 4px; font-family: var(--ek-font-body); font-size: 0.9375rem; font-weight: 400; line-height: 1.4; color: var(--ek-brown); }

/* Show-more panel (details and summary), e.g. a full price table */
.ek-details { margin-top: 28px; }
.ek-details > summary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--ek-red);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.ek-details > summary::-webkit-details-marker { display: none; }
.ek-details > summary::before {
  content: "";
  width: 0.5em;
  height: 0.5em;
  border: solid currentColor;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(-45deg);
  transition: transform 0.2s;
}
.ek-details[open] > summary::before { transform: rotate(45deg); }
.ek-details > summary:hover { text-decoration: underline; }
.ek-details[open] > summary { margin-bottom: 16px; }

/* Phones: a little less space, and the picture area smaller */
@media (max-width: 767.98px) {
  .ek-cols { gap: 32px; }
  .ek-float-card { padding: 22px; }
  /* the small card sits just under the picture instead of over it */
  .ek-visual .ek-float-card { position: relative; left: auto; bottom: auto; width: 84%; margin: -36px auto 0; padding: 14px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .ek-details > summary::before { transition: none; }
}

/* Reduced motion: respect the visitor's setting
------------------------------------------------*/
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

/* Linked picture card (APPROVED 5 Dec 2026)
   A picture with a linked title; the whole card is clickable, with one
   link per card for keyboard and screen reader users. Use inside .ek-grid
   for portfolio items, blog teasers or services.
   Usage:
   <div class="ek-grid">
     <div class="ek-linkcard">
       <img src="..." alt="..." width="365" height="389" loading="lazy">
       <h3><a href="...">Title</a></h3>
     </div>
   </div>
------------------------------------------------*/
.ek-linkcard {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e7e0c4;
  border-radius: var(--ek-radius);
  transition: box-shadow 0.2s;
}
.ek-linkcard img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 365 / 389;
  object-fit: cover;
  object-position: top center;
  /* cancel .web-shadow / .ek-screenshot, which float and shrink the image */
  float: none;
  max-width: 100%;
  margin: 0;
  border: 0;
  border-bottom: 1px solid #e7e0c4;
  border-radius: 0;
  box-shadow: none;
}
.ek-linkcard h3 { margin: 0; padding: 16px 18px 18px; font-size: 1.25rem; }
.ek-linkcard h3 a { color: var(--ek-ink); text-decoration: none; }
.ek-linkcard h3 a::after { content: ""; position: absolute; inset: 0; }   /* makes the whole card clickable */
.ek-linkcard:hover { box-shadow: 0 10px 26px rgba(46, 55, 36, 0.16); }
.ek-linkcard:hover h3 a,
.ek-linkcard h3 a:focus { color: var(--ek-red); text-decoration: underline; }
/* keyboard focus: outline the whole card, drawn inside its edge */
.ek-linkcard h3 a:focus-visible { outline: none; }
.ek-linkcard h3 a:focus-visible::after {
  outline: 3px solid var(--ek-ink);
  outline-offset: -3px;
  border-radius: var(--ek-radius);
}

/* Wider grid items (APPROVED 5 Dec 2026): three across on desktop instead
   of four, for pictures that need more room.
   Usage: <div class="ek-grid ek-grid--wide"> */
.ek-grid--wide { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }

/* List with an icon before each item (APPROVED 5 Dec 2026)
   Each icon sits in a small round badge, lined up with the first line
   of its text. Icons are decorative (aria-hidden), so the text alone
   carries the meaning. Works on paper and cream sections.
   Use for feature lists, checklists, steps (on an <ol>) and the like.
   Usage:
   <ul class="ek-icon-list">
     <li><span class="fa-solid fa-keyboard" aria-hidden="true"></span><span>Text</span></li>
   </ul>
   Two columns on wider screens: add ek-icon-list--2col.
------------------------------------------------*/
.ek-icon-list { list-style: none; margin: 0 0 1.25em; padding: 0; display: grid; gap: 14px; }
.ek-icon-list > li { display: flex; align-items: flex-start; gap: 14px; margin: 0; }
.ek-icon-list > li > [class*="fa-"]:first-child {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-top: -5px;           /* centres the badge on the first line of text */
  border-radius: 50%;
  background: var(--ek-cream);
  color: var(--ek-green);
  font-size: 1.0625rem;
}
.ek-bg-cream .ek-icon-list > li > [class*="fa-"]:first-child { background: #fff; box-shadow: inset 0 0 0 1px #e7e0c4; }
.ek-icon-list > li > :last-child > :last-child { margin-bottom: 0; }

.ek-icon-list--2col { display: block; columns: 2 320px; column-gap: 48px; }
.ek-icon-list--2col > li { break-inside: avoid; margin-bottom: 14px; }

/* Icon badges in the brand colors (APPROVED 5 Dec 2026)
   The round icon badges in icon lists and card grids take turns
   through five colorways from the logo: sage, tan, gold, brick and a
   dark green badge with a gold icon. Each badge is a slightly uneven,
   hand-painted shape, echoing the brushstrokes in the logo.
   Every icon is at least 5:1 against its badge, so they stay crisp.
   Also applies to the icon badges on the cards of existing pages
   (e.g. Email marketing), so all pages match.
------------------------------------------------*/
:root {
  --ek-badge-1-bg: #dde5d3;  --ek-badge-1-fg: #3f5233;   /* sage  6.6:1 */
  --ek-badge-2-bg: #f0dfcc;  --ek-badge-2-fg: #7d5532;   /* tan   5.0:1 */
  --ek-badge-3-bg: #fbe8a0;  --ek-badge-3-fg: #6b4e00;   /* gold  6.3:1 */
  --ek-badge-4-bg: #f6d9cf;  --ek-badge-4-fg: #852e18;   /* brick 6.6:1 */
  --ek-badge-5-bg: #2e3724;  --ek-badge-5-fg: #f3ca17;   /* dark green with gold 7.9:1 */
}

/* Hand-painted badge shape */
.ek-icon-list > li > [class*="fa-"]:first-child,
.ek-icon-badge { border-radius: 47% 53% 44% 56% / 55% 45% 55% 45%; box-shadow: none; }

/* Colors in turn: icon lists */
.ek-icon-list > li:nth-child(5n+1) > [class*="fa-"]:first-child { background: var(--ek-badge-1-bg); color: var(--ek-badge-1-fg); }
.ek-icon-list > li:nth-child(5n+2) > [class*="fa-"]:first-child { background: var(--ek-badge-2-bg); color: var(--ek-badge-2-fg); border-radius: 55% 45% 52% 48% / 46% 54% 46% 54%; }
.ek-icon-list > li:nth-child(5n+3) > [class*="fa-"]:first-child { background: var(--ek-badge-3-bg); color: var(--ek-badge-3-fg); border-radius: 44% 56% 50% 50% / 52% 48% 56% 44%; }
.ek-icon-list > li:nth-child(5n+4) > [class*="fa-"]:first-child { background: var(--ek-badge-4-bg); color: var(--ek-badge-4-fg); border-radius: 52% 48% 57% 43% / 47% 53% 45% 55%; }
.ek-icon-list > li:nth-child(5n+5) > [class*="fa-"]:first-child { background: var(--ek-badge-5-bg); color: var(--ek-badge-5-fg); border-radius: 50% 50% 45% 55% / 56% 44% 52% 48%; }

/* Colors in turn: icon badges on cards in a grid */
.ek-grid > :nth-child(5n+1) .ek-icon-badge { background: var(--ek-badge-1-bg); color: var(--ek-badge-1-fg); }
.ek-grid > :nth-child(5n+2) .ek-icon-badge { background: var(--ek-badge-2-bg); color: var(--ek-badge-2-fg); border-radius: 55% 45% 52% 48% / 46% 54% 46% 54%; }
.ek-grid > :nth-child(5n+3) .ek-icon-badge { background: var(--ek-badge-3-bg); color: var(--ek-badge-3-fg); border-radius: 44% 56% 50% 50% / 52% 48% 56% 44%; }
.ek-grid > :nth-child(5n+4) .ek-icon-badge { background: var(--ek-badge-4-bg); color: var(--ek-badge-4-fg); border-radius: 52% 48% 57% 43% / 47% 53% 45% 55%; }
.ek-grid > :nth-child(5n+5) .ek-icon-badge { background: var(--ek-badge-5-bg); color: var(--ek-badge-5-fg); border-radius: 50% 50% 45% 55% / 56% 44% 52% 48%; }

/* Empty paragraphs never add space (APPROVED 5 Dec 2026)
   Joomla's editors leave empty <p> tags behind, for example around
   {loadposition} when it's wrapped in a paragraph. Between two full-width
   sections that shows as a strip of page background. */
.com-content-article p:empty { display: none; }

/* Four-card grid (APPROVED 5 Dec 2026)
   For exactly four (or eight) cards: one column on phones, two by two on
   tablets, four across on wide screens, so no card is left on its own.
   A full-width card that follows any card grid gets some space above it.
   Usage: <div class="ek-grid ek-grid--four">
------------------------------------------------*/
.ek-grid--four { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 600px) {
  .ek-grid--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1180px) {
  .ek-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.ek-grid + .ek-card { margin-top: 32px; }

/* Artwork card (PROPOSED 5 Dec 2026)
   A picture shown whole (never cropped) on a white mat, with a caption.
   Portrait and landscape pictures line up in the same square space.
   Use inside .ek-grid for galleries: cards, artwork, flyers, awards.
   Usage:
   <figure class="ek-artcard">
     <a href="full.jpg"><img src="thumb.jpg" alt="..." width="313" height="400" loading="lazy"></a>
     <figcaption><strong>2025</strong> Title</figcaption>
   </figure>
   One large picture on its own: add ek-artcard--feature.
------------------------------------------------*/
.ek-artcard {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 16px;
  background: #fff;
  border: 1px solid #e7e0c4;
  border-radius: var(--ek-radius);
  color: var(--ek-ink);
  text-align: center;
  transition: box-shadow 0.2s;
}
.ek-artcard a { display: block; }
.ek-artcard img { display: block; width: 100%; height: auto; margin: 0; aspect-ratio: 1; object-fit: contain; }
.ek-artcard figcaption { line-height: 1.35; }
.ek-artcard figcaption strong { display: block; font-family: var(--ek-font-head); font-size: 1.25rem; }
.ek-artcard:hover { box-shadow: 0 10px 26px rgba(46, 55, 36, 0.16); }
.ek-artcard--feature { max-width: 520px; margin-inline: auto; box-shadow: 0 20px 44px rgba(46, 55, 36, 0.22); }
.ek-artcard--feature img { aspect-ratio: auto; }
.ek-artcard--feature { border: 4px solid var(--ek-gold); }

/* A modest subheading directly under a page's big headline: an h2, or
   on the homepage the h1 with the page's keywords (APPROVED 5 Dec 2026) */
.ek-band :is(h1, h2).ek-subhead { margin: 0 0 0.8em; font-size: clamp(1.375rem, 1.2rem + 0.7vw, 1.75rem); line-height: 1.2; }

/* Small gold label, e.g. "Latest card" or "New" */
.ek-flag { align-self: center; padding: 4px 16px; border-radius: 30px; background: var(--ek-gold); color: var(--ek-ink); font-size: 0.875rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

/* Seasonal greeting picture or short animation, e.g. under a feature card
   (APPROVED 5 Dec 2026)
   Usage: <picture class="ek-greeting"><source …><img …></picture> */
.ek-greeting { display: block; max-width: 520px; margin: 24px auto 0; }
.ek-greeting img { display: block; width: 100%; height: auto; border-radius: var(--ek-radius); }

/* Additions for the Christmas card page (5 Dec 2026) */

/* Keep .ek-artcard's layout when the JCE editor adds data-wf-figure,
   which otherwise makes the figure a table and drops the caption outside */
figure.ek-artcard,
figure.ek-artcard[data-wf-figure] { display: flex; }
figure.ek-artcard figcaption,
figure.ek-artcard[data-wf-figure] figcaption { display: block; color: var(--ek-ink); }
figure.ek-artcard figcaption strong { color: var(--ek-ink); }

/* Seasonal greeting picture or short animation */
.ek-greeting { display: block; max-width: 520px; margin: 24px auto 0; }
.ek-greeting img { display: block; width: 100%; height: auto; border-radius: var(--ek-radius); }

/* Space above a block that follows another, e.g. a second row of columns */
.ek-space-top { margin-top: 32px; }

/* ================================================
   Homepage components (APPROVED 5 Dec 2026)
   All reusable on other pages.
   ================================================ */

/* One word picked out in brick red, e.g. "Let's tell <em class="ek-accent">your</em> story" */
.ek-accent { font-style: normal; color: var(--ek-brick); }

/* A screenshot in a simple browser window (three dots in a top bar).
   The picture is cropped to 16:10 from the top, so portfolio
   thumbnails and full screenshots both fit.
   Usage: <div class="ek-shot"><img src="..." alt="..."></div>
------------------------------------------------*/
.ek-shot { position: relative; margin: 0; padding-top: 22px; overflow: hidden; background: #efece2; border-radius: 10px; box-shadow: 0 22px 44px rgba(20, 25, 15, 0.3); }
.ek-shot::before { content: ""; position: absolute; top: 7px; left: 10px; width: 8px; height: 8px; border-radius: 50%; background: #d9a39a; box-shadow: 13px 0 #e6cf8c, 26px 0 #a9b99c; }
.ek-shot img { display: block; width: 100%; height: auto; margin: 0; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; }
.ek-shot-title { margin: 20px 0 4px; font-size: 1.375rem; }
.ek-shot-title + p { margin: 0; }

/* Three screenshots overlapping at slight angles, for a page's opening
   section. The third one sits in front.
   Usage: <div class="ek-stack"> three .ek-shot </div>
------------------------------------------------*/
.ek-stack { position: relative; width: 100%; max-width: 600px; aspect-ratio: 600 / 500; margin-inline: auto; }
.ek-stack > .ek-shot { position: absolute; }
.ek-stack > .ek-shot:nth-child(1) { left: 0; top: 2%; width: 60%; transform: rotate(-3deg); }
.ek-stack > .ek-shot:nth-child(2) { right: 0; top: 18%; width: 62%; transform: rotate(2deg); }
.ek-stack > .ek-shot:nth-child(3) { left: 12%; top: 48%; width: 66%; transform: rotate(-1deg); }

/* Large short quotes, stepping left and right down the section.
   Put .ek-highlight on each quote for its brushstroke.
   Usage:
   <div class="ek-quotes">
     <figure><blockquote><p><span class="ek-highlight">"…"</span></p></blockquote>
     <figcaption>…</figcaption></figure>
   </div>
------------------------------------------------*/
.ek-quotes { display: flex; flex-direction: column; gap: 40px; }
.ek-quotes figure { max-width: 820px; margin: 0; align-self: flex-start; }
.ek-quotes figure:nth-child(even) { align-self: flex-end; }
.ek-quotes blockquote { margin: 0; padding: 0; border: 0; }
.ek-quotes blockquote p { margin: 0; font-family: var(--ek-font-head); font-size: clamp(2rem, 1.2rem + 2.6vw, 3.25rem); font-weight: 700; line-height: 1.35; }
.ek-quotes figcaption { margin-top: 10px; padding-left: 8px; color: var(--ek-brown); }

/* A Joomla Articles module shown as a row of cards
   Set the module's "Show Intro/Full Image" to Intro Image. The picture
   runs edge to edge across the top of each card, cropped to the same
   shape so the cards line up whatever size the pictures are (a post
   without an intro image simply has no picture). The whole card is
   clickable through its title link, like .ek-linkcard, because Joomla
   doesn't wrap the module's images in the link.
   Usage: <div class="ek-posts">{loadposition home-articles,none}</div>
------------------------------------------------*/
.ek-posts ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 24px; margin: 0 0 32px; padding: 0; list-style: none; }
.ek-posts li { position: relative; overflow: hidden; margin: 0; padding: 22px 24px; background: #fff; border: 1px solid #e7e0c4; border-top: 6px solid var(--ek-ink); border-radius: var(--ek-radius); transition: box-shadow 0.2s; }
.ek-posts li:nth-child(3n+2) { border-top-color: var(--ek-sage); }
.ek-posts li:nth-child(3n) { border-top-color: var(--ek-tan); }
/* The module prints title, date, then picture; flex order moves the picture to the top */
.ek-posts .mod-articles-item-content { display: flex; flex-direction: column; }
.ek-posts li figure { order: -1; margin: -22px -24px 18px; }   /* (the :last-child rule at the end of this block would otherwise zero the bottom margin) */
.ek-posts dl { margin: 0; }
.ek-posts dd { margin: 0; font-size: 0.875rem; color: var(--ek-brown); }
.ek-posts dd [class*="icon-"] { display: none; }   /* the little calendar icon */
.ek-posts img { display: block; width: 100%; height: auto; margin: 0; aspect-ratio: 16 / 9; object-fit: cover; }
.ek-posts li :is(h2, h3, h4) { margin: 0 0 8px; font-size: 1.3125rem; line-height: 1.25; }
.ek-posts li :is(h2, h3, h4) a { color: var(--ek-ink); text-decoration: none; }
.ek-posts li :is(h2, h3, h4) a::after { content: ""; position: absolute; inset: 0; }   /* makes the whole card clickable */
.ek-posts li:hover { box-shadow: 0 10px 26px rgba(46, 55, 36, 0.16); }
.ek-posts li:hover :is(h2, h3, h4) a,
.ek-posts li :is(h2, h3, h4) a:focus { color: var(--ek-red); text-decoration: underline; }
.ek-posts li :is(h2, h3, h4) a:focus-visible { outline: none; }
.ek-posts li :is(h2, h3, h4) a:focus-visible::after { outline: 3px solid var(--ek-ink); outline-offset: -3px; border-radius: var(--ek-radius); }
.ek-posts li :last-child:not(figure) { margin-bottom: 0; }

/* JCE adds data-wf-figure to figures, which makes them tables and shrinks
   their captions to the width of the quote. Keep our own layouts
   (APPROVED 5 Dec 2026). */
.ek-quotes figure[data-wf-figure],
figure.ek-float-card[data-wf-figure] { display: block; }
.ek-quotes figure[data-wf-figure] figcaption,
figure.ek-float-card[data-wf-figure] figcaption { display: block; }

/* ================================================
   Blog components (PROPOSED 5 Dec 2026, trial 2)
   Not yet in current-custom.css. Replaces the
   first trial block.
   ================================================ */

/* Joomla's category blog: each post as a white card,
   picture beside the text, stacked when space is tight.
------------------------------------------------*/
.com-content-category-blog .blog-item { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 20px 28px; margin: 0 0 28px; padding: 24px; background: #fff; border: 1px solid #e7e0c4; border-radius: var(--ek-radius); }
.com-content-category-blog .blog-item > .item-image { float: none; flex: 1 1 220px; min-width: 0; margin: 0; }
.com-content-category-blog .blog-item > .item-image img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; }
.com-content-category-blog .blog-item > .item-content { display: flow-root; flex: 999 1 340px; min-width: 0; }
.com-content-category-blog .item-content h2 { margin: 0 0 8px; font-size: 1.5rem; }
.com-content-category-blog .item-content h2 a { color: var(--ek-ink); text-decoration: none; }
.com-content-category-blog .item-content h2 a:is(:hover, :focus) { color: var(--ek-red); text-decoration: underline; }
.com-content-category-blog .article-info { margin: 0 0 12px; color: var(--ek-brown); font-size: 0.875rem; }
.com-content-category-blog .article-info dd { margin: 0; }
.com-content-category-blog .item-content > :last-child,
.com-content-category-blog .item-content .readmore { margin-bottom: 0; }

/* Joomla's Articles module as a compact sidebar list:
   small picture, title and date.
   Usage: module > Advanced > Module Class: ek-side-posts
------------------------------------------------*/
:is(.ek-side-posts, #right) .mod-articles-items { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
:is(.ek-side-posts, #right) .mod-articles-items li { position: relative; margin: 0; padding: 12px; background: #fff; border: 1px solid #e7e0c4; border-radius: var(--ek-radius); transition: box-shadow 0.2s; }
:is(.ek-side-posts, #right) .mod-articles-item-content:has(figure) { display: grid; grid-template-columns: 72px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 12px; }
:is(.ek-side-posts, #right) .mod-articles-item-content:has(figure) > * { grid-column: 2; }
:is(.ek-side-posts, #right) .mod-articles-item-content > figure { grid-column: 1; grid-row: 1 / span 2; margin: 0; }
:is(.ek-side-posts, #right) figure img { display: block; width: 72px; height: 72px; margin: 0; object-fit: cover; border-radius: 6px; }
:is(.ek-side-posts, #right) .mod-articles-items li :is(h3, h4) { margin: 0 0 4px; font-size: 1rem; line-height: 1.3; }
:is(.ek-side-posts, #right) .mod-articles-items li :is(h3, h4) a { color: var(--ek-ink); text-decoration: none; }
:is(.ek-side-posts, #right) .mod-articles-items li :is(h3, h4) a::after { content: ""; position: absolute; inset: 0; }   /* whole card clickable */
:is(.ek-side-posts, #right) dl,
:is(.ek-side-posts, #right) dd { margin: 0; }
:is(.ek-side-posts, #right) dd { color: var(--ek-brown); font-size: 0.8125rem; }
:is(.ek-side-posts, #right) dd [class*="icon-"] { display: none; }
:is(.ek-side-posts, #right) .mod-articles-items li:hover { box-shadow: 0 10px 26px rgba(46, 55, 36, 0.16); }
:is(.ek-side-posts, #right) .mod-articles-items li:hover :is(h3, h4) a,
:is(.ek-side-posts, #right) .mod-articles-items li :is(h3, h4) a:focus { color: var(--ek-red); text-decoration: underline; }
:is(.ek-side-posts, #right) .mod-articles-items li :is(h3, h4) a:focus-visible { outline: none; }
:is(.ek-side-posts, #right) .mod-articles-items li :is(h3, h4) a:focus-visible::after { outline: 3px solid var(--ek-ink); outline-offset: -3px; border-radius: var(--ek-radius); }

/* Titles typed as h1 inside the post text, and the
   comment counter under each card
------------------------------------------------*/
.com-content-category-blog .item-content :is(h1, h2) { margin: 0 0 12px; font-size: 1.5rem; line-height: 1.2; }
.com-content-category-blog .blog-item > aside { flex: 0 0 100%; margin: 0; }

/* Page with a right column (Template Creator CK):
   centred, sidebar beside the content, and below it
   on narrow screens. Pages without one are untouched.
------------------------------------------------*/
#maincontent:not(.noright) > .inner { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 0 40px; max-width: var(--ek-wrap); margin-inline: auto; padding-inline: var(--ek-gutter); box-sizing: border-box; }
#maincontent:not(.noright) #center { float: none; width: auto; flex: 999 1 600px; min-width: 0; }
#maincontent:not(.noright) #right { float: none; width: auto; flex: 1 1 280px; min-width: 0; padding: 48px 0 72px; box-sizing: border-box; }
#maincontent:not(.noright) #center :is(.com-content-category-blog, .com-content-article) { max-width: none; padding-inline: 0; }
#maincontent:not(.noright) #center .category-desc { margin-inline: 0; }
#right .mod-articles-title { font-family: var(--ek-font-head); }

/* Overrides found necessary on the live page:
   Template Creator CK stacks blog items and its
   clearfix adds stray gaps in the two-column row.
------------------------------------------------*/
.com-content-category-blog .blog-items .blog-item { flex-direction: row; }
#maincontent:not(.noright) > .inner::before,
#maincontent:not(.noright) > .inner::after { content: none; }
#maincontent:not(.noright) > .inner > .clr { display: none; }
.com-content-category-blog .blog-item > aside a { font-size: 0.875rem; }

/* No icons beside the date and other article details
------------------------------------------------*/
.article-info [class*="icon-"] { display: none; }
/* Question-and-answer list (PROPOSED 6 Dec 2026)
   Each question is a native <details> panel: it opens on click, Enter or
   Space, works with a keyboard and screen reader, and needs no script.
   The answers are in the page's HTML whether open or closed, so search
   engines and AI tools can read every one.
   Reusable for any set of questions: FAQs, policies, "how it works".
   Not the same as .ek-details, which is a single "show more" panel.

   Usage:
   <div class="ek-faq">
     <details>
       <summary>Question?</summary>
       <div class="ek-faq__answer"><p>Answer.</p></div>
     </details>
     …
   </div>

   Colors: question text 14:1 on white; the open panel's sage border and
   the chevron are decoration only. Each question is at least 44px tall.
------------------------------------------------*/
.ek-faq { display: grid; gap: 12px; margin: 0 0 1.25em; }
.ek-faq > details { background: #fff; border: 1px solid #e7e0c4; border-radius: var(--ek-radius); }
.ek-faq > details[open] { border-color: var(--ek-sage); box-shadow: 0 6px 18px rgba(46, 55, 36, 0.08); }
.ek-faq > details > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  padding: 16px 22px;
  color: var(--ek-ink);
  font-family: var(--ek-font-head);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
  cursor: pointer;
  list-style: none;
}
.ek-faq > details > summary::-webkit-details-marker { display: none; }
.ek-faq > details > summary::after {            /* chevron, drawn with CSS */
  content: "";
  flex: 0 0 auto;
  width: 0.55em;
  height: 0.55em;
  margin-right: 4px;
  border: solid var(--ek-sage);
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
  transition: transform 0.2s;
}
.ek-faq > details[open] > summary::after { transform: rotate(-135deg); }
.ek-faq > details > summary:hover { color: var(--ek-red); }
.ek-faq > details > summary:focus-visible { outline: 3px solid var(--ek-ink); outline-offset: -3px; border-radius: var(--ek-radius); }
.ek-faq__answer { padding: 0 22px 20px; }
.ek-faq__answer > :last-child { margin-bottom: 0; }
.ek-faq__answer .ek-check-list { margin-top: 0.5em; }