.elementor-kit-6{--e-global-color-primary:#242C65;--e-global-color-secondary:#2A51B1;--e-global-color-text:#242C65;--e-global-color-accent:#8E2B2E;--e-global-color-bsubtle:#E7F3FA;--e-global-color-redacc:#BF2E33;--e-global-color-rsubtle:#FCECEE;--e-global-color-hgreen:#2B6445;--e-global-color-gaccent:#349A4E;--e-global-color-gsubtle:#ECF7EE;--e-global-color-white:#FFFFFF;--e-global-color-odmuted:#C9D1EE;--e-global-color-odline:#4A538C;--e-global-color-odborder:#6A73A8;--e-global-color-ldivider:#E2B9BC;--e-global-color-muted:#4A5285;--e-global-typography-primary-font-family:"Barlow Semi Condensed";--e-global-typography-primary-font-size:17px;--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Barlow Semi Condensed";--e-global-typography-secondary-font-weight:700;--e-global-typography-text-font-family:"Barlow";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Barlow";--e-global-typography-accent-font-size:17px;--e-global-typography-accent-font-weight:600;--e-global-typography-smaah1-font-family:"Barlow Semi Condensed";--e-global-typography-smaah1-font-size:76px;--e-global-typography-smaah1-font-weight:700;--e-global-typography-smaah1-line-height:1.02em;--e-global-typography-smaah1-letter-spacing:-0.015em;--e-global-typography-smaah2-font-family:"Barlow Semi Condensed";--e-global-typography-smaah2-font-size:56px;--e-global-typography-smaah2-font-weight:700;--e-global-typography-smaah2-line-height:1.02em;--e-global-typography-smaah2-letter-spacing:-0.015em;--e-global-typography-smaah3-font-family:"Barlow Semi Condensed";--e-global-typography-smaah3-font-size:32px;--e-global-typography-smaah3-font-weight:700;--e-global-typography-smaah3-line-height:1.1em;--e-global-typography-smaabody-font-family:"Barlow";--e-global-typography-smaabody-font-size:18px;--e-global-typography-smaabody-font-weight:400;--e-global-typography-smaabody-line-height:1.6em;--e-global-typography-smaasmall-font-family:"Barlow";--e-global-typography-smaasmall-font-size:15px;--e-global-typography-smaasmall-font-weight:400;--e-global-typography-smaasmall-line-height:1.5em;--e-global-typography-smaabtn-font-family:"Barlow";--e-global-typography-smaabtn-font-size:18px;--e-global-typography-smaabtn-font-weight:700;--e-global-typography-smaabtn-line-height:1.2em;--e-global-typography-smaasite-font-family:"Barlow Semi Condensed";--e-global-typography-smaasite-font-size:20px;--e-global-typography-smaasite-font-weight:600;--e-global-typography-smaasite-line-height:1.1em;--e-global-typography-smaatag-font-family:"Barlow Semi Condensed";--e-global-typography-smaatag-font-size:44px;--e-global-typography-smaatag-font-weight:700;--e-global-typography-smaatag-line-height:1em;--e-global-typography-smaadate-font-family:"Barlow Semi Condensed";--e-global-typography-smaadate-font-size:112px;--e-global-typography-smaadate-font-weight:700;--e-global-typography-smaadate-line-height:0.85em;--e-global-typography-smaadatecard-font-family:"Barlow Semi Condensed";--e-global-typography-smaadatecard-font-size:44px;--e-global-typography-smaadatecard-font-weight:700;--e-global-typography-smaadatecard-line-height:0.85em;--e-global-typography-smaafhead-font-family:"Barlow";--e-global-typography-smaafhead-font-size:15px;--e-global-typography-smaafhead-font-weight:700;--e-global-typography-smaafhead-line-height:1.3em;--e-global-typography-smaaquote-font-family:"Barlow Semi Condensed";--e-global-typography-smaaquote-font-size:28px;--e-global-typography-smaaquote-font-weight:700;--e-global-typography-smaaquote-line-height:1.15em;color:var( --e-global-color-text );font-family:"Barlow", Sans-serif;}.elementor-kit-6 e-page-transition{background-color:#FFBC7D;}.elementor-kit-6 a{color:var( --e-global-color-secondary );}.elementor-kit-6 a:hover{color:var( --e-global-color-primary );}.elementor-kit-6 h1{color:var( --e-global-color-primary );font-family:"Barlow Semi Condensed", Sans-serif;font-weight:700;}.elementor-kit-6 h2{color:var( --e-global-color-primary );font-family:"Barlow Semi Condensed", Sans-serif;font-weight:700;}.elementor-kit-6 h3{color:var( --e-global-color-primary );font-family:"Barlow Semi Condensed", Sans-serif;font-weight:700;}.elementor-kit-6 h4{color:var( --e-global-color-primary );font-family:"Barlow Semi Condensed", Sans-serif;font-weight:700;}.elementor-kit-6 h5{color:var( --e-global-color-primary );font-family:"Barlow Semi Condensed", Sans-serif;font-weight:700;}.elementor-kit-6 h6{color:var( --e-global-color-primary );font-family:"Barlow Semi Condensed", Sans-serif;font-weight:700;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}.site-header .site-branding{flex-direction:column;align-items:stretch;}.site-header{padding-inline-end:0px;padding-inline-start:0px;}.site-footer .site-branding{flex-direction:column;align-items:stretch;}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-kit-6{--e-global-typography-smaah1-font-size:44px;--e-global-typography-smaah2-font-size:36px;--e-global-typography-smaah3-font-size:26px;--e-global-typography-smaabody-font-size:17px;--e-global-typography-smaasmall-font-size:14px;--e-global-typography-smaabtn-font-size:17px;--e-global-typography-smaasite-font-size:15px;--e-global-typography-smaatag-font-size:36px;--e-global-typography-smaadate-font-size:64px;--e-global-typography-smaadatecard-font-size:36px;--e-global-typography-smaafhead-font-size:14px;--e-global-typography-smaaquote-font-size:22px;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}:root { --e-gv-5adf08b:#242c65; --e-gv-174fa08:#2a51b1; --e-gv-0838118:#e7f3fa; --e-gv-dd3adb2:#8e2b2e; --e-gv-3c5f60a:#bf2e33; --e-gv-ebabe58:#fcecee; --e-gv-52499b4:#2b6445; --e-gv-27df12a:#349a4e; --e-gv-6d7b44f:#ecf7ee; --e-gv-1960c60:#ffffff; --e-gv-c9b4262:Barlow Semi Condensed; --e-gv-4052f48:Barlow; --e-gv-5bdc167:76px; --e-gv-95e285f:44px; --e-gv-789e6d9:56px; --e-gv-15d618b:36px; --e-gv-2672823:32px; --e-gv-928c2d6:26px; --e-gv-d3df476:18px; --e-gv-46526ed:17px; --e-gv-9747cb7:15px; --e-gv-0b22d1e:14px; --e-gv-4364fd1:18px; --e-gv-3bfe21e:17px; --e-gv-9ed1613:20px; --e-gv-cda4813:#c9d1ee; --e-gv-30e98b1:#4a538c; --e-gv-210679c:#6a73a8; --e-gv-68090ea:112px; --e-gv-57e9d53:64px; }
/* Start custom CSS *//* ==========================================================================
   SMAA global CSS snippet
   Goes in ONE place only: Elementor > Site Settings > Custom CSS.
   Apart from the one approved PHP snippet for the News date (Code Snippets
   plugin), this is the only custom code on the site. Classes start with
   "smaa-". Colours use the site's Global Colors from Site Settings
   (var(--e-global-color-primary) and so on), so changing a colour in Elementor changes
   it here too.
   Version 2, 5 October 2026: rewritten by Claude Code to match the real
   Elementor 4 markup on staging (the first draft assumed classic widgets).
   ========================================================================== */


/* 1. FOCUS OUTLINES
   Keyboard users always see where they are: a blue outline on light
   backgrounds, white inside anything marked smaa-on-dark (the footer), on
   the banner arrows and in the House Blue mobile menu. The .elementor-kit-6s are
   deliberately a little stronger than the Hello Elementor theme's own
   2px black focus rule, so ours wins. */
html :is(a, button, input, select, textarea, summary, [tabindex]:not([tabindex="-1"])):focus-visible {
  outline: 3px solid var(--e-global-color-secondary, #2a51b1);
  outline-offset: 3px;
}
html body .smaa-on-dark :is(a, button, input, select, textarea, summary, [tabindex]:not([tabindex="-1"])):focus-visible,
html body .smaa-hero-desktop .elementor-swiper-button:focus-visible,
html body .smaa-main-menu .elementor-nav-menu--dropdown a:focus-visible {
  outline-color: var(--e-global-color-white, #ffffff);
}


/* 2. STICKY HEADER
   The header (with the house band under it) stays at the top of the screen
   while the page scrolls. Logged-in editors see it below the WordPress
   admin bar. */
.elementor-location-header {
  position: sticky;
  top: var(--wp-admin--admin-bar--height, 0px);
  z-index: 100;
}


/* 2a. HEADER LAYOUT
   In the header row, the logo and the Donate-and-icons group take only the
   width they need, so the menu sits centred in the space between them.
   (Classic containers are full width by default.) */
.smaa-header > .smaa-logo,
.smaa-header > .smaa-header-actions {
  --width: auto;
}

/* 2b. SMALL LAPTOPS (1025 to 1099px wide)
   With three social icons (Facebook, Instagram, YouTube), the header is a
   little too tight at these widths: the YouTube icon dropped to a second
   row and the site name broke onto three lines. Here only, the menu links
   sit a little closer together (12px each side instead of 20px). */
@media (min-width: 1025px) and (max-width: 1099px) {
  html body .elementor-location-header .smaa-main-menu .elementor-nav-menu--main .elementor-item {
    padding-left: 12px;
    padding-right: 12px;
  }
}


/* 3. STICKY HEADER NEVER HIDES A FOCUSED ITEM
   When the page jumps to a link or field, it stops below the sticky header
   and band (desktop 88 + 14px, tablet 76 + 14px, mobile 68 + 10px), plus a
   little air. */
html {
  scroll-padding-top: 110px;
}
@media (max-width: 1024px) {
  html { scroll-padding-top: 98px; }
}
@media (max-width: 767px) {
  html { scroll-padding-top: 86px; }
}


/* 4. HEADER SHRINKS AS YOU SCROLL (desktop and laptop only)
   Over the first 80px of scrolling, the header eases from 88px to 68px
   tall, the logo from 68px to 52px, and a soft shadow appears. This uses
   the browser's scroll-linked animation, so no script is needed. Browsers
   without it (Firefox, for now) simply keep the full-height header. */
@supports (animation-timeline: scroll()) {
  @media (min-width: 1025px) {
    .elementor-location-header .smaa-header {
      animation: smaa-header-shrink linear both;
      animation-timeline: scroll(root);
      animation-range: 0 80px;
    }
    .elementor-location-header .smaa-logo .e-svg-base,
    .elementor-location-header .smaa-logo img {
      animation: smaa-logo-shrink linear both;
      animation-timeline: scroll(root);
      animation-range: 0 80px;
    }
    .elementor-location-header {
      animation: smaa-header-shadow linear both;
      animation-timeline: scroll(root);
      animation-range: 0 80px;
    }
  }
}
@keyframes smaa-header-shrink {
  from { height: 88px; min-height: 88px; }
  to   { height: 68px; min-height: 68px; }
}
@keyframes smaa-logo-shrink {
  from { width: 68px; height: 68px; }
  to   { width: 52px; height: 52px; }
}
@keyframes smaa-header-shadow {
  from { box-shadow: 0 2px 12px rgba(36, 44, 101, 0); }
  to   { box-shadow: 0 2px 12px rgba(36, 44, 101, 0.12); }
}


/* 5. MAIN MENU: UNDERLINES
   Colours and fonts for the menu come from Elementor's Global Colors and
   Fonts (House Blue, House Red on hover, Barlow 600 at 17px). This part
   only adds the underlines: on hover, a 3px line that slides in from the
   left (only on devices with a mouse, so it never "sticks" after a tap);
   and a permanent House Blue underline on the page you are on. The line is
   drawn as a background just below the words, so it can slide. */
.smaa-main-menu .elementor-nav-menu--main a.elementor-item {
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-origin: content-box;
  background-clip: border-box;
  background-position: left 0 top calc(100% + 5px);
  background-size: 0% 3px;
  transition: color 200ms ease, background-size 220ms cubic-bezier(0.16, 1, 0.3, 1);
}
@media (hover: hover) and (pointer: fine) {
  .smaa-main-menu .elementor-nav-menu--main a.elementor-item:hover {
    background-size: 100% 3px;
  }
}
.smaa-main-menu .elementor-nav-menu--main a.elementor-item-active {
  background-image: linear-gradient(var(--e-global-color-primary, #242c65), var(--e-global-color-primary, #242c65));
  background-size: 100% 3px;
}


/* 6. MOBILE AND TABLET MENU
   Below 1024px the menu becomes a button. The button is House Blue with no
   grey box, 44px for easy tapping. When opened, the menu fills the screen
   below the header in House Blue, with large white links in the heading
   font. */
@media (max-width: 1024px) {
  .smaa-main-menu {
    --nav-menu-icon-size: 26px;
  }
  .smaa-main-menu .elementor-menu-toggle {
    width: 44px;
    height: 44px;
    padding: 9px;
    background-color: transparent;
    color: var(--e-global-color-primary, #242c65);
  }
  .smaa-main-menu .elementor-menu-toggle svg {
    fill: var(--e-global-color-primary, #242c65);
  }
  /* Elementor's own script writes a position onto the panel, so the
     placement below has to be marked !important to take over. */
  .smaa-main-menu .elementor-nav-menu--dropdown.elementor-nav-menu__container {
    position: fixed !important;
    top: calc(90px + var(--wp-admin--admin-bar--height, 0px)) !important;
    left: 0 !important;
    right: 0;
    bottom: 0;
    width: 100% !important;
    margin: 0;
    background-color: var(--e-global-color-primary, #242c65);
  }
  .smaa-main-menu .elementor-menu-toggle.elementor-active + .elementor-nav-menu__container {
    max-height: none !important;
    overflow-y: auto;
  }
  html body .elementor-location-header .elementor-widget-nav-menu.smaa-main-menu .elementor-nav-menu--dropdown a.elementor-item {
    padding: 18px 24px;
    border-bottom: 1px solid var(--e-global-color-odline, #4a538c);
    background-color: transparent;
    color: var(--e-global-color-white, #ffffff);
    font-family: "Barlow Semi Condensed", sans-serif;
    font-weight: 700;
    font-size: 26px;
    line-height: 1.2;
  }
  .smaa-main-menu .elementor-nav-menu--dropdown a.elementor-item:hover,
  .smaa-main-menu .elementor-nav-menu--dropdown a.elementor-item:focus,
  .smaa-main-menu .elementor-nav-menu--dropdown a.elementor-item.highlighted {
    background-color: var(--e-global-color-secondary, #2a51b1);
    color: var(--e-global-color-white, #ffffff);
  }
  .smaa-main-menu .elementor-nav-menu--dropdown a.elementor-item-active {
    text-decoration: underline;
    text-decoration-thickness: 3px;
    text-underline-offset: 8px;
  }
}
/* 6a. SOCIAL LINKS IN THE MENU
   Facebook, Instagram and YouTube are ordinary links at the end of the
   WordPress menu (Appearance > Menus), with the CSS classes smaa-menu-social
   plus smaa-menu-facebook, smaa-menu-instagram or smaa-menu-youtube. In the
   desktop menu they are hidden (the header shows its own icons). In the
   tablet and phone menu they show as white icons side by side, below the
   page links. Their link text ("SMAA on Facebook") is hidden on screen but
   read out by screen readers. */
.smaa-main-menu .elementor-nav-menu--main li.smaa-menu-social {
  display: none !important;
}
@media (max-width: 1024px) {
  .smaa-main-menu .elementor-nav-menu--dropdown li.smaa-menu-social {
    display: inline-block;
    border: 0 !important;
  }
  .smaa-main-menu .elementor-nav-menu--dropdown li.smaa-menu-facebook {
    margin: 16px 0 0 12px;
  }
  html body .elementor-location-header .elementor-widget-nav-menu.smaa-main-menu .elementor-nav-menu--dropdown li.smaa-menu-social > a.elementor-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background-color: transparent;
    font-size: 0 !important;
    line-height: 0;
  }
  .smaa-main-menu .elementor-nav-menu--dropdown li.smaa-menu-social > a::before {
    content: "";
    display: block;
    width: 22px;
    height: 22px;
    background-color: var(--e-global-color-white, #ffffff);
    -webkit-mask: var(--smaa-icon) center / contain no-repeat;
    mask: var(--smaa-icon) center / contain no-repeat;
    /* Elementor's menu hover effect uses this same ::before spot and makes
       it invisible (opacity 0, absolute position). Switch that off here. */
    opacity: 1 !important;
    position: static !important;
    transform: none !important;
    transition: none !important;
  }
  .smaa-main-menu li.smaa-menu-facebook {
    --smaa-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M512 256C512 114.6 397.4 0 256 0S0 114.6 0 256C0 376 82.7 476.8 194.2 504.5V334.2H141.4V256h52.8V222.3c0-87.1 39.4-127.5 125-127.5c16.2 0 44.2 3.2 55.7 6.4V172c-6-.6-16.5-1-29.6-1c-42 0-58.2 15.9-58.2 49.7V256h83.6l-14.4 78.2H287V510.1C413.8 494.8 512 386.9 512 256h0z'/%3E%3C/svg%3E");
  }
  .smaa-main-menu li.smaa-menu-instagram {
    --smaa-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z'/%3E%3C/svg%3E");
  }
  .smaa-main-menu li.smaa-menu-youtube {
    --smaa-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3E%3Cpath d='M549.7 124.1c-6.3-23.7-24.8-42.3-48.3-48.6C458.8 64 288 64 288 64S117.2 64 74.6 75.5c-23.5 6.3-42 24.9-48.3 48.6C14.9 167 14.9 256.4 14.9 256.4s0 89.4 11.4 132.3c6.3 23.6 24.8 41.5 48.3 47.8C117.2 448 288 448 288 448s170.8 0 213.4-11.5c23.5-6.3 42-24.2 48.3-47.8 11.4-42.9 11.4-132.3 11.4-132.3s0-89.4-11.4-132.3zM232.1 337.6V175.2l142.7 81.2-142.7 81.2z'/%3E%3C/svg%3E");
  }
}

@media (max-width: 767px) {
  .smaa-main-menu .elementor-nav-menu--dropdown.elementor-nav-menu__container {
    top: calc(78px + var(--wp-admin--admin-bar--height, 0px)) !important;
  }
}


/* 6b. MOBILE AND TABLET MENU: OPENING AND CLOSING
   Elementor normally unrolls the menu panel by stretching it. Instead, the
   House Blue panel fades in and the links follow one after another, each
   rising into place (the social icons come last). Closing is quicker and
   all at once. */
@media (max-width: 1024px) {
  .smaa-main-menu .elementor-menu-toggle + nav.elementor-nav-menu--dropdown {
    transform: none !important;
    max-height: none !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity 150ms ease-in, visibility 0s linear 150ms !important;
  }
  .smaa-main-menu .elementor-menu-toggle.elementor-active + nav.elementor-nav-menu--dropdown {
    opacity: 1;
    visibility: visible;
    transition: opacity 120ms ease-out, visibility 0s !important;
  }
  .smaa-main-menu .elementor-menu-toggle + nav.elementor-nav-menu--dropdown li {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 150ms ease-in, transform 150ms ease-in;
  }
  .smaa-main-menu .elementor-menu-toggle.elementor-active + nav.elementor-nav-menu--dropdown li {
    opacity: 1;
    transform: none;
    transition: opacity 600ms ease-out, transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
  }
  .smaa-main-menu .elementor-menu-toggle.elementor-active + nav li:nth-child(1) { transition-delay: 100ms; }
  .smaa-main-menu .elementor-menu-toggle.elementor-active + nav li:nth-child(2) { transition-delay: 230ms; }
  .smaa-main-menu .elementor-menu-toggle.elementor-active + nav li:nth-child(3) { transition-delay: 360ms; }
  .smaa-main-menu .elementor-menu-toggle.elementor-active + nav li:nth-child(4) { transition-delay: 490ms; }
  .smaa-main-menu .elementor-menu-toggle.elementor-active + nav li:nth-child(5) { transition-delay: 640ms; }
  .smaa-main-menu .elementor-menu-toggle.elementor-active + nav li:nth-child(n+6) { transition-delay: 720ms; }
}


/* 7. HOUSE BAND DRAWS IN ON THE HOMEPAGE
   The red, blue and green band under the header wipes in from left to
   right, one stripe after another, on the homepage only. */
.home .smaa-house-band > * {
  animation: smaa-band-in 500ms cubic-bezier(0.23, 1, 0.32, 1) both;
}
.home .smaa-house-band > *:nth-child(2) { animation-delay: 80ms; }
.home .smaa-house-band > *:nth-child(3) { animation-delay: 160ms; }
@keyframes smaa-band-in {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0 0 0); }
}


/* 8. BANNER SLIDER (hero)
   The two Slides widgets carry the classes smaa-hero-desktop (desktop and
   tablet) and smaa-hero-mobile (phones).
   - Each banner keeps the shape of its artwork at every width:
     1920 x 700 on desktop and tablet, 1350 x 1900 on phones.
   - The slide's Description holds the banner's image description. It is
     hidden on screen but read by screen readers and search engines, since
     the text is part of the image.
   - Desktop: round Previous and Next arrows 24px in from each edge, and
     dots centred at the bottom with 24 x 24px tap areas.
   - Mobile: thin position bars centred at the bottom.
   The bottom 14px (10px on phones) is covered by the white hero bottom
   strip, so the controls sit above it.
   - Changing banners (Kavi, 15 November 2026): a 0.9 s soft dissolve, the
     same as in the photo viewer (section 16). The new banner is in place
     at once and the old one fades away on top of it, so the page never
     shows through (Elementor's own fade fades both at once). Written for
     every slider set to Transition: Fade (Swiper adds the class
     swiper-fade), so future fading sliders get it too, whatever speed is
     typed in the widget. When Swiper changes a slide with no animation
     ("transition-duration: 0ms", e.g. wrapping round), it stays instant. */
.swiper-fade > .swiper-wrapper > .swiper-slide.swiper-slide-active {
  opacity: 1 !important;
  z-index: 1;
  transition: none !important;
}
.swiper-fade > .swiper-wrapper > .swiper-slide:not(.swiper-slide-active) {
  z-index: 2;
}
.swiper-fade > .swiper-wrapper > .swiper-slide:not(.swiper-slide-active):not([style*="transition-duration: 0ms"]) {
  transition-duration: 0.9s !important;
  transition-timing-function: ease-in-out !important;
}
.elementor-widget-slides.smaa-hero-desktop .swiper-slide {
  height: auto !important;
  aspect-ratio: 1920 / 700;
}
.elementor-widget-slides.smaa-hero-mobile .swiper-slide {
  height: auto !important;
  aspect-ratio: 1350 / 1900;
}
.smaa-hero-desktop .elementor-slide-description,
.smaa-hero-mobile .elementor-slide-description,
.smaa-hero-desktop .elementor-slide-heading,
.smaa-hero-mobile .elementor-slide-heading {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.elementor-widget-slides.smaa-hero-desktop .elementor-swiper-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1.5px solid var(--e-global-color-white, #ffffff);
  border-radius: 50%;
  background-color: rgba(14, 18, 50, 0.45);
  color: var(--e-global-color-white, #ffffff);
  font-size: 20px;
}
.elementor-widget-slides.smaa-hero-desktop .elementor-swiper-button svg {
  fill: var(--e-global-color-white, #ffffff);
}
.elementor-widget-slides.smaa-hero-desktop .elementor-swiper-button-prev { left: 24px; }
.elementor-widget-slides.smaa-hero-desktop .elementor-swiper-button-next { right: 24px; }
.elementor-widget-slides.smaa-hero-desktop .swiper-pagination {
  bottom: 26px !important;
}
.smaa-hero-desktop .swiper-pagination-bullet {
  position: relative;
  width: 8px;
  height: 8px;
  margin: 0 8px !important;
  opacity: 0.55;
  background: var(--e-global-color-white, #ffffff);
}
.smaa-hero-desktop .swiper-pagination-bullet::after {
  content: "";
  position: absolute;
  inset: -8px;            /* invisible 24 x 24px tap area */
}
.smaa-hero-desktop .swiper-pagination-bullet-active {
  width: 28px;
  border-radius: 4px;
  opacity: 1;
}
.elementor-widget-slides.smaa-hero-mobile .swiper-pagination {
  bottom: 24px !important;
}
.smaa-hero-mobile .swiper-pagination-bullet {
  width: 22px;
  height: 3px;
  border-radius: 2px;
  margin: 0 3px !important;
  background: var(--e-global-color-white, #ffffff);
  opacity: 0.55;
}
.smaa-hero-mobile .swiper-pagination-bullet-active {
  opacity: 1;
}


/* 9. TEXT FOR SCREEN READERS ONLY
   Read out by screen readers and search engines, invisible on screen.
   (Also defined as an Elementor class; this copy covers older widgets.) */
.smaa-sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}


/* 10. "SKIP TO CONTENT" LINK
   The Hello Elementor theme adds this link as the first thing on every
   page. It stays hidden until a keyboard user presses Tab, then appears top
   left in the house style. It jumps to the page's main box, which has the
   ID "content". */
.skip-link.screen-reader-text:focus {
  position: fixed !important;
  outline: 3px solid var(--e-global-color-secondary, #2a51b1);
  outline-offset: 3px;
  top: 16px;
  left: 16px;
  z-index: 100000;
  padding: 12px 16px;
  background-color: var(--e-global-color-white, #ffffff);
  color: var(--e-global-color-primary, #242c65);
  font-family: "Barlow", sans-serif;
  font-weight: 600;
  text-decoration: none;
}


/* 11a. CLASSIC WIDGET HELPERS
   Small classes for the classic (Editor V3) widgets, added in each widget's
   Advanced tab > CSS Classes. (Social media icons use the classic Social
   Icons widget, which needs no extra CSS.)
   - smaa-underline (Heading with a link): underlines the link, as for the
     footer email address.
   - smaa-anthem-btn (Button): at least 44px tall for easy tapping.
   - Text Editor: no extra space after its last paragraph. */
.smaa-underline .elementor-heading-title a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.elementor-widget-text-editor p:last-child {
  margin-bottom: 0;
}
.smaa-anthem-btn .elementor-button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}


/* 11b. CLASSIC HOMEPAGE HELPERS
   - smaa-hero (hero container) and smaa-hero-strip (the empty container
     at the end of it): the white hero bottom strip, laid over the bottom
     of the banner, 14px tall (10px on phones).
   - smaa-ratio-photo (Image): the photo shows in the shape of the image
     uploaded for it (Kavi, 15 November 2026; was a fixed 766 x 580), the
     same shape on every screen width and orientation. Its width follows
     the column and its height follows the image, so nothing is cropped and
     the picture is identical on every device.
   - smaa-bleed-mobile (Image): on phones the photo runs edge to edge.
   - smaa-news-image, smaa-news-media, smaa-news-date (News card): the
     featured image always shows at 5:3, and the House Red date block sits
     over its bottom-left corner. */
.smaa-hero {
  position: relative;
  overflow: hidden;
}
/* Classic containers wrap their contents on phones by default, which
   collapses the hero to zero height there. */
.e-con.smaa-hero {
  --flex-wrap: nowrap;
  --flex-wrap-mobile: nowrap;
  flex-wrap: nowrap;
}
.e-con.smaa-hero-strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  --width: 100%;
  --min-height: 0px;
  height: 14px;
  padding: 0;
  background-color: var(--e-global-color-white, #ffffff);
  pointer-events: none;
}
@media (max-width: 767px) {
  .e-con.smaa-hero-strip { height: 10px; }
}
.smaa-ratio-photo img {
  width: 100%;
  height: auto !important;
  object-fit: cover;
}
@media (max-width: 767px) {
  .elementor-widget.smaa-bleed-mobile {
    width: calc(100% + 40px) !important;
    max-width: none !important;
    margin-left: -20px !important;
  }
  .smaa-bleed-mobile img {
    width: 100% !important;
    border-radius: 0 !important;
  }
}
.smaa-news-media {
  position: relative;
}
.smaa-news-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 3;
  object-fit: cover;
  border-radius: 6px;
}
.e-con.smaa-news-date {
  position: absolute;
  left: 32px;
  bottom: -32px;
  z-index: 2;
  --width: auto;
  max-width: calc(100% - 32px);
  box-shadow: 0 12px 28px rgba(36, 44, 101, 0.18);
}
.e-con.smaa-news-date .elementor-heading-title {
  white-space: nowrap;
}
/* From tablet portrait upwards, the date block scales with the photo, so
   it is always the same proportion of the image: full size (112px number)
   when the photo is 766px wide (Kavi's laptop), a little smaller on
   tablets, smaller again on landscape tablets and small laptops. On phones
   it keeps its own compact row layout (below). */
.e-con.smaa-news-media {
  container-type: inline-size;
}
@media (min-width: 768px) {
  .e-con.smaa-news-date {
    left: 4.2cqi;
    bottom: -4.2cqi;
    --padding-top: 2.6cqi;
    --padding-right: 3.65cqi;
    --padding-bottom: 3.1cqi;
    --padding-left: 3.65cqi;
    --gap: 0.8cqi 0.8cqi;
    --row-gap: 0.8cqi;
  }
  .e-con.smaa-news-date > .elementor-widget-heading .elementor-heading-title {
    font-size: clamp(56px, 14.6cqi, 112px) !important;
  }
  .e-con.smaa-news-date .e-con .elementor-heading-title {
    font-size: clamp(14px, 2.35cqi, 18px) !important;
  }
}
@media (max-width: 767px) {
  .e-con.smaa-news-date {
    left: 0;
    bottom: -28px;
  }
}


/* 11c. MOTION AS YOU SCROLL, AND BUTTONS
   The idea: the house colours move; photos and text simply settle in.
   Each moment plays once, when Elementor's Entrance Animation (Advanced >
   Motion Effects) brings the element into view. That setting is the on/off
   switch and its delay sets the timing; this part only shapes the motion.
   - Photos: Elementor's own Fade In, set to "slow" (2 seconds).
   - smaa-pillar (About pillar containers): the coloured top line draws in
     from left to right, then the icon, heading and text fade in. The
     line's colour still comes from the container's Border setting.
   - smaa-news-date (News date block): drops gently onto the photo corner.
   - smaa-news-image (News photo): on a computer, zooms in 4% inside its
     frame when the mouse is over the News card. The frame never changes.
   - smaa-footer-band: the four stripes wipe in, one after another.
   - Every button: colour changes smoothly; presses in to 94% when clicked. */

/* Pillars: the real border stays (so its colour is editable) but is made
   transparent, and a copy of it is drawn on top so it can be animated. */
.e-con.smaa-pillar {
  border-top-color: transparent !important;
}
.e-con.smaa-pillar::before {
  content: "";
  position: absolute;
  top: calc(-1 * var(--border-top-width, 4px));
  left: 0;
  right: 0;
  height: var(--border-top-width, 4px);
  background-color: var(--border-color);
}
.e-con.smaa-pillar.animated {
  animation-name: none;
}
.e-con.smaa-pillar.animated::before {
  animation: smaa-band-in 700ms cubic-bezier(0.45, 0, 0.2, 1) both;
}
.e-con.smaa-pillar.animated > * {
  animation: smaa-fade-in 500ms ease-out 300ms both;
}

/* News date block: lands on the photo. Only transform and opacity move,
   so its position over the photo corner is never disturbed. */
.e-con.smaa-news-date.animated {
  animation-name: smaa-date-land;
  animation-duration: 450ms;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

/* News photo: the link frame clips the gentle zoom. */
.smaa-news-image a {
  display: block;
  overflow: hidden;
  border-radius: 6px;
}
@media (max-width: 767px) {
  .smaa-bleed-mobile a {
    border-radius: 0 !important;
  }
}
@media (hover: hover) and (pointer: fine) {
  .smaa-news-image img {
    transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
  }
  .e-loop-item:hover .smaa-news-image img {
    transform: scale(1.04);
  }
}

/* Footer band: the same wipe as the header band, when it comes into view. */
.smaa-footer-band.animated {
  animation-name: none;
}
.smaa-footer-band.animated > * {
  animation: smaa-band-in 500ms cubic-bezier(0.23, 1, 0.32, 1) both;
}
.smaa-footer-band.animated > *:nth-child(2) { animation-delay: 80ms; }
.smaa-footer-band.animated > *:nth-child(3) { animation-delay: 160ms; }
.smaa-footer-band.animated > *:nth-child(4) { animation-delay: 240ms; }

/* Buttons: smooth colour change on hover; when clicked or tapped, the
   button presses in at once (shrinks to 94%) and springs back on release.
   iPhones only show the press if a page script listens for touches, so it
   may not appear there. */
.elementor-button {
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease, transform 220ms cubic-bezier(0.34, 1.4, 0.64, 1);
}
.elementor-button:active {
  transform: scale(0.94);
  transition-duration: 200ms, 200ms, 200ms, 60ms;
  transition-timing-function: ease, ease, ease, ease-out;
}

/* Photos: Elementor's Fade In (set to "slow", 2 seconds) on a gentle curve,
   so the photo emerges softly instead of popping in. */
.smaa-ratio-photo.animated,
.smaa-news-image.animated {
  animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes smaa-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes smaa-date-land {
  from { opacity: 0; transform: translateY(-14px) scale(1.03); }
  to   { opacity: 1; transform: none; }
}


/* 12. ST. MARY'S SCHOOL PAGE
   - Photo shapes: each photo shows in the shape of the image uploaded for
     it, the same shape on every screen (Kavi, 15 November 2026; the fixed
     shapes 720:460, 9:10, 73:35, 8:5, 1312:380 and 7:9 are gone). The
     classes stay on the Image widgets (Advanced > CSS Classes):
     smaa-ratio-title, smaa-ratio-heritage, smaa-ratio-flags,
     smaa-ratio-campus, smaa-ratio-panorama, smaa-ratio-passport (the
     Director's and Principal's photos, the founder). Committee cards
     (About page) keep one shape, 3:4, so the cards in a row line up.
   - smaa-jump (the "On this page" row): on phones the row stays on one line
     and scrolls sideways. It sticks below the header through Elementor's
     own Sticky setting (Advanced > Motion Effects).
   - smaa-jump-target (each section a jump link goes to): on phones the
     section stops below the header and the jump row, not underneath them.
   - smaa-timeline-scroll, smaa-timeline, smaa-milestone (Heritage
     milestones): a dot on the green line above each year; on phones the row
     swipes sideways and runs to the right edge of the screen.
   - smaa-crest-panel ("What the crest means"): the crest beside the title,
     the round plus button, and the short line after the title
     (smaa-crest-teaser), which shows on desktop only.
   - smaa-campus (campus Carousel): 48px round arrow buttons and position
     dots (the current one a short bar). Desktop: top right, level with the
     bottom of the heading. Tablets and phones: below the slides, dots on the
     left, arrows on the right. On phones the slides run to the screen edge.
   - smaa-quote (leaders' quotes): no extra quote styling from the theme.
   - smaa-read-more ("Read more" panels): a 44px tap area, no background.
   - smaa-pills (school stages): white pills.
   - smaa-push-bottom (Admissions and School news buttons): sits at the
     bottom of the card, so both buttons line up.
   - smaa-link-box (faculty links): the outline turns House Blue on hover. */
.smaa-ratio-title img,
.smaa-ratio-heritage img,
.smaa-ratio-flags img,
.smaa-ratio-campus img,
.smaa-ratio-panorama img,
.smaa-ratio-passport img {
  display: block;
  width: 100%;
  height: auto !important;
  object-fit: cover;
}
.smaa-committee-card .smaa-ratio-passport img { aspect-ratio: 3 / 4; }

@media (max-width: 767px) {
  .e-con.smaa-jump {
    --flex-wrap: nowrap;
    --flex-wrap-mobile: nowrap;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    box-shadow: 0 2px 8px rgba(36, 44, 101, 0.08);
  }
  .e-con.smaa-jump::-webkit-scrollbar {
    display: none;
  }
  .e-con.smaa-jump > .elementor-widget {
    flex-shrink: 0;
  }
  .smaa-jump-target {
    scroll-margin-top: 70px;
  }
}

.e-con.smaa-milestone {
  position: relative;
}
.e-con.smaa-milestone::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 0;
  width: 14px;
  height: 14px;
  box-sizing: border-box;
  border-radius: 50%;
  background-color: var(--e-global-color-hgreen, #2b6445);
  border: 3px solid var(--e-global-color-white, #ffffff);
  box-shadow: 0 0 0 2px var(--e-global-color-hgreen, #2b6445);
  opacity: 1;
}
@media (max-width: 767px) {
  .e-con.smaa-milestone::before {
    width: 12px;
    height: 12px;
  }
  .e-con.smaa-timeline-scroll {
    --width: calc(100% + 20px);
    margin-right: -20px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
  }
  .e-con.smaa-timeline-scroll::-webkit-scrollbar {
    display: none;
  }
  .e-con.smaa-timeline {
    --width: max-content;
    width: max-content;
    padding-right: 20px;
  }
}

.smaa-crest-panel .e-n-accordion-item-title {
  min-height: 96px;
}
.smaa-crest-panel .e-n-accordion-item[open] > .e-n-accordion-item-title {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.smaa-crest-panel .e-n-accordion-item-title-header {
  display: flex;
  align-items: center;
  gap: 24px;
}
.smaa-crest-panel .e-n-accordion-item-title-header::before {
  content: "";
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  background: url("/wp-content/uploads/2026/10/StMarys-School-logo-green.svg") center / contain no-repeat;
}
.smaa-crest-teaser {
  margin-left: 24px;
  font-family: var(--e-global-typography-accent-font-family, "Barlow"), sans-serif;
  font-size: var(--e-global-typography-accent-font-size, 17px);
  font-weight: var(--e-global-typography-accent-font-weight, 600);
  line-height: 1.4;
  letter-spacing: 0;
  color: var(--e-global-color-hgreen, #2b6445);
  vertical-align: 0.2em;
}
/* Written with an extra class so it wins over Elementor's own Accordion
   stylesheet, which loads after this one and sets the icon to fit its
   content (that turned the circle into a tall oval). */
.smaa-crest-panel .e-n-accordion-item-title > .e-n-accordion-item-title-icon {
  flex: 0 0 36px;
  width: 36px;
  min-width: 36px;
  height: 36px;
  box-sizing: border-box;
  border: 1.5px solid var(--e-global-color-hgreen, #2b6445);
  border-radius: 50%;
  justify-content: center;
  align-items: center;
}
@media (max-width: 1024px) {
  .smaa-crest-teaser {
    display: none;
  }
}
@media (max-width: 767px) {
  .smaa-crest-panel .e-n-accordion-item-title {
    min-height: 72px;
  }
  .smaa-crest-panel .e-n-accordion-item-title-header {
    gap: 14px;
  }
  .smaa-crest-panel .e-n-accordion-item-title-header::before {
    width: 48px;
    height: 48px;
  }
}

.elementor-widget.smaa-campus {
  position: relative;
}
html body .smaa-campus .elementor-swiper-button {
  position: absolute;
  width: 48px;
  height: 48px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Elementor styles and places the arrows with its own, more specific
     rules and variables; these win. */
  border: 1.5px solid var(--e-global-color-primary, #242c65) !important;
  border-radius: 50%;
  background-color: var(--e-global-color-white, #ffffff) !important;
  color: var(--e-global-color-primary, #242c65) !important;
  font-size: 18px;
  transform: none !important;
  left: auto !important;
  inset-inline-start: auto !important;
  z-index: 2;
}
html body .smaa-campus .elementor-swiper-button i,
html body .smaa-campus .elementor-swiper-button svg {
  color: inherit !important;
  fill: currentColor !important;
  font-size: 18px;
  width: 18px;
  height: 18px;
}
html body .smaa-campus .elementor-swiper-button-prev { right: 58px !important; }
html body .smaa-campus .elementor-swiper-button-next { right: 0 !important; }
html body .smaa-campus .swiper-pagination {
  position: absolute;
  left: auto !important;
  inset-inline-start: auto !important;
  width: auto !important;
  display: flex;
  align-items: center;
  gap: 6px;
  transform: none !important;
}
html body .smaa-campus .swiper-pagination-bullet {
  position: relative;
  width: 8px;
  height: 8px;
  margin: 0 !important;
  border-radius: 4px;
  opacity: 1;
  background-color: var(--e-global-color-odmuted, #c9d1ee);
}
html body .smaa-campus .swiper-pagination-bullet::after {
  content: "";
  position: absolute;
  inset: -8px;
}
html body .smaa-campus .swiper-pagination-bullet-active {
  width: 22px;
  background-color: var(--e-global-color-primary, #242c65);
}
@media (min-width: 1025px) {
  html body .smaa-campus .elementor-swiper-button {
    top: -96px !important;
    bottom: auto !important;
  }
  html body .smaa-campus .swiper-pagination {
    top: -76px !important;
    bottom: auto !important;
    right: 126px !important;
  }
}
@media (max-width: 1024px) {
  .elementor-widget.smaa-campus {
    padding-bottom: 72px;
  }
  html body .smaa-campus .elementor-swiper-button {
    top: auto !important;
    bottom: 0 !important;
  }
  html body .smaa-campus .swiper-pagination {
    top: auto !important;
    bottom: 20px !important;
    left: 0 !important;
    inset-inline-start: 0 !important;
    right: auto !important;
  }
}
@media (max-width: 767px) {
  .e-con > .elementor-widget.smaa-campus {
    --container-widget-width: calc(100% + 20px);
    width: calc(100% + 20px) !important;
    max-width: none !important;
    margin-right: -20px !important;
  }
  /* One slide plus the edge of the next: the carousel keeps 64px clear on
     the right, where the next slide shows. */
  html body .smaa-campus .e-n-carousel.swiper {
    padding-right: 64px;
  }
  html body .smaa-campus .elementor-swiper-button-prev { right: 78px !important; }
  html body .smaa-campus .elementor-swiper-button-next { right: 20px !important; }
}

.smaa-quote blockquote {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  color: inherit;
  quotes: none;
}
.smaa-quote blockquote p {
  margin: 0;
}

.smaa-read-more .e-n-accordion-item-title {
  min-height: 44px;
  background: none;
}

.smaa-pills .elementor-icon-list-items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}
html body .smaa-pills .elementor-icon-list-items .elementor-icon-list-item {
  margin: 0;
  padding: 10px 16px;
  border-radius: 22px;
  background-color: var(--e-global-color-white, #ffffff);
}
.smaa-pills .elementor-icon-list-item::after {
  display: none;
}
@media (max-width: 767px) {
  .smaa-pills .elementor-icon-list-items {
    gap: 8px;
  }
}

.e-con > .elementor-widget.smaa-push-bottom {
  margin-top: auto;
}

.e-con.smaa-link-box {
  transition: border-color 150ms ease;
}
@media (hover: hover) and (pointer: fine) {
  html body .e-con.smaa-link-box:hover {
    border-color: var(--e-global-color-primary, #242c65);
  }
}


/* From the Director and the Principal (smaa-leaders), laptops, desktops
   and tablets held sideways (from 1025px wide, or from 1000px wide in
   landscape; Kavi, 11 November 2026): the two messages side by side, the
   divider standing upright between them (thin line, house band, crest,
   house band, thin line), each photo (same 7:9 passport shape) beside the
   label, name and title, and both buttons level at the bottom. Phones and
   tablets held upright keep the stacked layout. Elementor treats both
   tablet orientations as one device, hence the media query here. */
@media (min-width: 1025px), (min-width: 1000px) and (orientation: landscape) {
  .elementor .e-con.smaa-leaders {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    column-gap: 56px;
    align-items: stretch;
  }
  .elementor .e-con.smaa-leaders > .e-con.smaa-leader {
    grid-template-columns: minmax(0, 1fr) !important;
    align-items: stretch;
  }
  .elementor.elementor .smaa-leaders .smaa-leader-photo {
    display: none;
  }
  .elementor.elementor .smaa-leaders .elementor-widget.smaa-leader-thumb {
    display: block;
  }
  .elementor.elementor .smaa-leaders .smaa-leader-thumb img {
    width: 160px;
  }
  .elementor .smaa-leaders .e-con.smaa-leader-text {
    height: 100%;
  }
  .elementor .smaa-leaders .e-con.smaa-leader-text > .elementor-widget-button {
    margin-top: auto;
  }
  .elementor .e-con.smaa-leader-divider {
    flex-direction: column;
    --flex-direction: column;
    padding: 0;
    gap: 20px;
  }
  .elementor .smaa-leader-divider > .elementor-widget-divider {
    width: auto;
    align-self: center;
  }
  .elementor .smaa-leader-divider .elementor-divider {
    height: 100%;
    padding: 0;
  }
  .elementor .smaa-leader-divider .elementor-divider-separator {
    width: 0 !important;
    height: 100%;
    border-block-start: 0 !important;
    border-top: 0 !important;
    border-left: 1px solid var(--e-global-color-ldivider, #e2b9bc);
  }
  .elementor .smaa-leader-divider > .e-con.smaa-mini-band {
    --width: 6px;
    width: 6px;
    min-height: 72px;
    flex-direction: column;
    --flex-direction: column;
  }
  .elementor .smaa-leader-divider > .e-con.smaa-mini-band > .e-con {
    --width: 100%;
    width: 100%;
    flex: 1 1 0;
    min-height: 0;
  }
}
@media (min-width: 1000px) and (max-width: 1024px) and (orientation: landscape) {
  .elementor .e-con.smaa-leaders {
    column-gap: 32px;
  }
  .elementor.elementor .smaa-leaders .smaa-leader-thumb img {
    width: 128px;
  }
}


/* 13. ABOUT SMAA PAGE
   The title band, jump links, timeline and "Read more" reuse the school
   page classes in section 12 (smaa-ratio-title, smaa-jump,
   smaa-jump-target, smaa-timeline-scroll, smaa-timeline, smaa-milestone,
   smaa-read-more). Added for this page:
   - smaa-milestone-blue: the timeline dots in Blue Accent instead of
     House Green; each milestone's line at most 260px wide.
   - smaa-measure: a text column at most 680px wide (Who we are, Our
     history).
   - smaa-ratio-1933 (the Old Boys' Dinner photo, Our history): the shape
     of the image uploaded for it (Kavi, 15 November 2026; was 4116:1872),
     edge to edge on every screen; a magnifier pointer, since a click opens
     it full size.
   - smaa-trust ("Registered as a trust"): the shield-and-tick icon is an
     outline drawing; Elementor would fill it solid, hiding the tick. */
html body .smaa-trust .elementor-icon-list-icon svg {
  fill: none !important;
  width: 18px;
  height: 18px;
}
.smaa-ratio-1933 img {
  display: block;
  width: 100%;
  height: auto !important;
  object-fit: cover;
}
.smaa-ratio-1933 a {
  display: block;
  cursor: zoom-in;
}

/* "The 13 objects in full" (Objects): built like "What the crest means"
   (smaa-crest-panel, section 12), with a Blue Accent document outline in
   place of the crest (48px, 36px on phones), a Blue Accent round plus
   button and sub-line (smaa-objects-teaser), and the list of objects
   (smaa-objects-list): the letters in the Site name style in Blue Accent,
   two columns on desktop and tablets, one on phones. */
.smaa-crest-panel.smaa-objects-panel .e-n-accordion-item-title-header::before {
  width: 48px;
  height: 48px;
  background-image: url("/wp-content/uploads/2026/11/smaa-document.svg");
}
.smaa-crest-panel.smaa-objects-panel .e-n-accordion-item-title > .e-n-accordion-item-title-icon {
  border-color: var(--e-global-color-secondary, #2a51b1);
}
.smaa-crest-teaser.smaa-objects-teaser {
  color: var(--e-global-color-secondary, #2a51b1);
}
.smaa-objects-list ol {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 56px;
}
.smaa-objects-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 6px;
  margin: 0 0 18px;
  break-inside: avoid;
}
.smaa-objects-list .smaa-object-letter {
  font-family: var(--e-global-typography-smaasite-font-family, "Barlow Semi Condensed"), sans-serif;
  font-size: var(--e-global-typography-smaasite-font-size, 20px);
  font-weight: var(--e-global-typography-smaasite-font-weight, 600);
  line-height: 1.3;
  color: var(--e-global-color-secondary, #2a51b1);
}
@media (max-width: 767px) {
  .smaa-crest-panel.smaa-objects-panel .e-n-accordion-item-title-header::before {
    width: 36px;
    height: 36px;
  }
  .smaa-objects-list ol {
    columns: 1;
  }
  .smaa-objects-list li {
    margin-bottom: 14px;
  }
}

/* Managing Committee.
   - smaa-upper: the role on each card in capitals (the entries store
     "President", so SMAA can type it normally).
   - smaa-committee-carousel (phones only): the round arrows bottom right
     and the counter bottom left, below the card; Elementor's "1 / 15"
     reads "1 of 15". Elementor places and styles the arrows with its own,
     more specific rules, so these use !important, as the campus carousel. */
.smaa-upper .elementor-heading-title {
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.elementor-widget.smaa-committee-carousel {
  position: relative;
  padding-bottom: 72px;
}
html body .smaa-committee-carousel .elementor-swiper-button {
  position: absolute;
  top: auto !important;
  bottom: 0 !important;
  left: auto !important;
  inset-inline-start: auto !important;
  width: 48px;
  height: 48px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--e-global-color-primary, #242c65) !important;
  border-radius: 50%;
  background-color: var(--e-global-color-white, #ffffff) !important;
  color: var(--e-global-color-primary, #242c65) !important;
  transform: none !important;
  z-index: 2;
}
html body .smaa-committee-carousel .elementor-swiper-button i,
html body .smaa-committee-carousel .elementor-swiper-button svg {
  color: inherit !important;
  fill: currentColor !important;
  font-size: 18px;
  width: 18px;
  height: 18px;
}
html body .smaa-committee-carousel .elementor-swiper-button-prev { right: 58px !important; }
html body .smaa-committee-carousel .elementor-swiper-button-next { right: 0 !important; }
html body .smaa-committee-carousel .swiper-pagination-fraction {
  position: absolute;
  top: auto !important;
  bottom: 12px !important;
  left: 0 !important;
  right: auto !important;
  inset-inline-start: 0 !important;
  width: auto !important;
  transform: none !important;
  font-size: 0;
  color: var(--e-global-color-text, #242c65) !important;
}
html body .smaa-committee-carousel .swiper-pagination-fraction > span {
  font-family: var(--e-global-typography-accent-font-family, "Barlow"), sans-serif;
  font-size: var(--e-global-typography-accent-font-size, 17px);
  font-weight: var(--e-global-typography-accent-font-weight, 600);
  line-height: 24px;
}
html body .smaa-committee-carousel .swiper-pagination-current::after {
  content: " of ";
  white-space: pre;
}

/* "Donate to support them" (Retired Teachers Wall, smaa-donate-link): bold
   House Green, underlined. */
a.smaa-donate-link {
  color: var(--e-global-color-hgreen, #2b6445);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.e-con.smaa-milestone.smaa-milestone-blue::before {
  background-color: var(--e-global-color-secondary, #2a51b1);
  box-shadow: 0 0 0 2px var(--e-global-color-secondary, #2a51b1);
}
.elementor.elementor .e-con.smaa-milestone-blue > .elementor-widget-text-editor {
  max-width: 260px;
}
.e-con.smaa-measure {
  max-width: 680px;
}


/* 14. DONATE PAGE
   The jump links and section landing reuse the school page classes in
   section 12 (smaa-jump, smaa-jump-target); smaa-measure and smaa-upper
   come from section 13. Added for this page:
   - smaa-or (Two ways to give): the line between Individuals and
     Companies with the "or" circle in the middle. Upright on desktop and
     tablets, across on phones. Hidden from screen readers in the builder.
   - smaa-label: the INDIVIDUALS / COMPANIES label spaced out a little.
   - smaa-details (the label / value panels): a thin line between rows,
     green in the Green Subtle panels, Blue Subtle in the bank card
     (smaa-details-bank). smaa-detail-value: the value in semi-bold;
     smaa-figures: even-width figures so numbers are easy to read and copy.
     Both carry .elementor.elementor to outrank the Global Kit text style.
   - smaa-email-link: the email address inside a paragraph, Blue Accent,
     semi-bold, underlined.
   - smaa-note-icon: the info icon lines up with the first line of the
     note. */
.e-con.smaa-or {
  position: relative;
}
.elementor .e-con.smaa-or::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  height: auto;
  transform: translateX(-50%);
  background: var(--e-global-color-odmuted, #c9d1ee);
  opacity: 1;
  mix-blend-mode: normal;
  border-radius: 0;
}
.smaa-or .elementor-heading-title {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  box-sizing: border-box;
  border: 2px solid var(--e-global-color-odmuted, #c9d1ee);
  border-radius: 50%;
  background: var(--e-global-color-white, #ffffff);
  line-height: 1;
}
@media (max-width: 767px) {
  .elementor .e-con.smaa-or::before {
    top: 50%;
    bottom: auto;
    left: 0;
    right: 0;
    width: auto;
    height: 2px;
    transform: translateY(-50%);
  }
}
.smaa-label .elementor-heading-title {
  letter-spacing: 0.08em;
}
.e-con.smaa-details > .e-con.smaa-detail + .e-con.smaa-detail {
  border-top: 1px solid #d3e9d8;
}
.e-con.smaa-details-bank > .e-con.smaa-detail + .e-con.smaa-detail {
  border-top-color: var(--e-global-color-bsubtle, #e7f3fa);
}
.elementor.elementor .smaa-detail-value.elementor-widget .elementor-heading-title {
  font-weight: 600;
  line-height: 1.4;
}
.elementor.elementor .smaa-figures.elementor-widget .elementor-heading-title {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}
a.smaa-email-link {
  color: var(--e-global-color-secondary, #2a51b1);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
a.smaa-email-link:hover {
  color: var(--e-global-color-primary, #242c65);
}
.smaa-note-icon .elementor-icon {
  padding-top: 4px;
}
.smaa-note-icon .elementor-icon-wrapper {
  line-height: 1;
}


/* Projects and activities (Loop Grid smaa-activities, card template 274):
   - smaa-ratio-square: the activity photo, 1:1 at every screen width.
   - smaa-activity-card: photo on the left across the card's height, date
     and title then description and button beside it; on phones the photo
     (112px) sits beside the date and title only, and the description and
     button run the full width below.
   - The 6px top stripe cycles House Red, House Blue, House Green, card by
     card.
   - smaa-gallery-btn: "View photos" is hidden when the entry has no
     gallery (the button then has no link). Since 17 November 2026 it is on
     the activity pages (section 19), no longer on the cards. */
.smaa-ratio-square img {
  display: block;
  width: 100%;
  height: auto !important;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.e-con.smaa-activity-card {
  align-content: start;
}
.e-con.smaa-activity-card > .smaa-activity-photo {
  grid-row: 1 / span 2;
  grid-column: 1;
}
.e-con.smaa-activity-card > .smaa-activity-head,
.e-con.smaa-activity-card > .smaa-activity-body {
  grid-column: 2;
}
@media (max-width: 767px) {
  .e-con.smaa-activity-card > .smaa-activity-photo {
    grid-row: 1;
  }
  .e-con.smaa-activity-card > .smaa-activity-body {
    grid-column: 1 / -1;
  }
}
.elementor .smaa-activities .e-loop-item:nth-child(3n+1 of .e-loop-item) .e-con.smaa-activity-card {
  border-top-color: var(--e-global-color-accent, #8e2b2e);
}
.elementor .smaa-activities .e-loop-item:nth-child(3n+2 of .e-loop-item) .e-con.smaa-activity-card {
  border-top-color: var(--e-global-color-primary, #242c65);
}
.elementor .smaa-activities .e-loop-item:nth-child(3n of .e-loop-item) .e-con.smaa-activity-card {
  border-top-color: var(--e-global-color-hgreen, #2b6445);
}
.elementor-widget.smaa-gallery-btn:has(a.elementor-button:not([href])),
.elementor-widget.smaa-gallery-btn:has(a.elementor-button[href=""]) {
  display: none;
}


/* Cards in a row are the same height on desktop (Loop Grid "Equal height");
   on tablets and phones, one card per row, each card is only as tall as its
   own content. */
@media (max-width: 1024px) {
  .elementor.elementor .smaa-activities.elementor-widget .elementor-loop-container {
    grid-auto-rows: auto;
  }
}


/* Gallery pages (each Galleries entry, /gallery/<name>/): the photos of the
   WordPress Gallery block as a masonry wall, like the Retired Teachers
   Wall: every photo keeps its own shape and is never cropped (whatever the
   block's "Crop images" setting), 4 columns on desktop, 3 on tablets, 2 on
   phones. The block's own layout uses an ID in its rules, hence
   !important. */
.single-smaa_gallery .wp-block-gallery.has-nested-images {
  display: block !important;
  columns: 4;
  column-gap: 24px;
}
.single-smaa_gallery .wp-block-gallery.has-nested-images figure.wp-block-image {
  display: block !important;
  width: 100% !important;
  margin: 0 0 24px !important;
  break-inside: avoid;
}
.single-smaa_gallery .wp-block-gallery.has-nested-images figure.wp-block-image > a,
.single-smaa_gallery .wp-block-gallery.has-nested-images figure.wp-block-image img {
  display: block;
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  aspect-ratio: auto !important;
}
@media (max-width: 1024px) {
  .single-smaa_gallery .wp-block-gallery.has-nested-images {
    columns: 3;
    column-gap: 16px;
  }
  .single-smaa_gallery .wp-block-gallery.has-nested-images figure.wp-block-image {
    margin-bottom: 16px !important;
  }
}
@media (max-width: 767px) {
  .single-smaa_gallery .wp-block-gallery.has-nested-images {
    columns: 2;
    column-gap: 12px;
  }
  .single-smaa_gallery .wp-block-gallery.has-nested-images figure.wp-block-image {
    margin-bottom: 12px !important;
  }
}


/* Gallery pages: the "Back to Projects and activities" link (smaa-back-link)
   gets a 44px tap height, as every other link and button on the site. */
.smaa-back-link .elementor-icon-list-item > a {
  min-height: 44px;
  align-items: center;
}


/* 15. NOTICEBOARD (page 53, /noticeboard/), THE POST PAGES AND THE CARDS
   Approved by Kavi on 14 November 2026 (content/noticeboard-copy.md).
   - smaa-clamp3: a card's title and Short write-up stop after 3 lines.
   - Noticeboard card (Loop Item "SMAA Noticeboard card"): smaa-nb-card
     fills its grid cell, so cards in a row are the same height;
     smaa-nb-media is the 5:3 photo frame (with no photo: the SMAA logo on
     House Blue); smaa-nb-image fills it, centre-cropped, whatever the
     photo's size; smaa-nb-date is the House Red tile over the photo's
     bottom-left corner (its small lines drop out for "Month & year" and
     "Year only"); "Know more" (smaa-textlink) sits at the bottom of the
     card with a 44px tap height.
   - smaa-news-cat: the category on the wide card (homepage and Featured);
     hidden on the homepage, as designed.
   - smaa-nb-filter: the filter buttons (All first; the current one filled
     House Blue; 44px tall; they wrap onto a second line on phones).
   - smaa-nb-grid: equal card height where cards sit side by side (on phones
     each card is as tall as its own content); the numbered pages as 44px
     squares, the current one filled House Blue.
   - Post pages (smaa-post): the post beside a sidebar (smaa-post-body,
     smaa-post-side, smaa-side-*: Categories and Recent posts); the category tag in the title band
     (smaa-post-cat); the photo at 5:3 across the content width
     (smaa-post-media; with no photo, the SMAA logo on House Blue); the
     Events date tile (smaa-post-tile); Event details rows hidden when
     empty (smaa-ev-row); and the styles for what committee members type
     in a post (smaa-post-text): paragraphs, subheadings, photos with
     captions, quotes, tables, videos and the inline logo (smaa-post-logo).
   - The post photo's caption (Kavi, 15 November 2026): the template's
     Image widget shows the photo's Media Library Caption, only when one is
     set. With a caption the 5:3 shape moves from the frame to the photo,
     so the caption sits below it; on Events the date tile stays over the
     photo's corner and the caption starts below the tile. */
.smaa-clamp3 .elementor-heading-title,
.elementor-widget-text-editor.smaa-clamp3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}
.elementor-widget-text-editor.smaa-clamp3 p {
  margin: 0;
}
.elementor-widget.smaa-measure {
  max-width: 680px;
}
.smaa-label-wide .elementor-heading-title {
  letter-spacing: 0.08em;
}
.smaa-nb-cat .elementor-heading-title,
.smaa-news-cat .elementor-heading-title,
.smaa-post-cat .elementor-heading-title {
  letter-spacing: 0.06em;
}
.home .elementor-widget.smaa-news-cat {
  display: none;
}
/* Noticeboard: with no sticky post the Featured card list is empty (snippet
   11), and the whole Featured area, label included, is hidden, so the page
   shows just the grid (Kavi, 15 November 2026). */
.e-con.smaa-nb-featured-section:not(:has(.e-loop-item)) {
  display: none;
}

/* The card */
.e-con.smaa-nb-card {
  height: 100%;
  overflow: visible;
}
.e-con.smaa-nb-media {
  position: relative;
  aspect-ratio: 5 / 3;
  border-radius: 5px 5px 0 0;
  background: var(--e-global-color-primary, #242c65) url("/wp-content/uploads/2026/10/SMAA-logo-white.svg") center / 30% auto no-repeat;
}
.smaa-nb-image,
.smaa-nb-image a {
  display: block;
  width: 100%;
  height: 100%;
}
.smaa-nb-image img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 5 / 3;
  object-fit: cover;
  border-radius: 5px 5px 0 0;
}
.e-con.smaa-nb-date {
  position: absolute;
  left: 20px;
  bottom: -24px;
  z-index: 2;
  --width: auto;
  max-width: calc(100% - 40px);
}
.e-con.smaa-nb-date > *,
.e-con.smaa-nb-date-lines > * {
  flex-shrink: 0;
}
.e-con.smaa-nb-date-lines {
  --width: auto;
}
.smaa-nb-date .elementor-heading-title {
  white-space: nowrap;
}
.smaa-nb-date-lines .elementor-heading-title {
  line-height: 1.35;
}
.e-con.smaa-nb-date-lines:not(:has(.elementor-widget)),
.e-con.smaa-news-date .e-con:not(:has(.elementor-widget)) {
  display: none;
}
.e-con.smaa-nb-body {
  flex-grow: 1;
}
.elementor-widget-text-editor.smaa-clamp3 {
  margin-bottom: 8px;
}
.elementor-widget.smaa-textlink {
  margin-top: auto;
}
.smaa-textlink .elementor-button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
@media (max-width: 767px) {
  .e-con.smaa-nb-date {
    left: 16px;
    max-width: calc(100% - 32px);
  }
}

/* The wide card with no photo (homepage, Featured) */
.e-con.smaa-news-media:not(:has(img)) {
  aspect-ratio: 5 / 3;
  border-radius: 6px;
  background: var(--e-global-color-primary, #242c65) url("/wp-content/uploads/2026/10/SMAA-logo-white.svg") center / 30% auto no-repeat;
}

/* Filter buttons */
.smaa-nb-filter .e-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.elementor .smaa-nb-filter .e-filter-item {
  order: 0;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 0;
  padding: 0 20px;
  border: 1.5px solid var(--e-global-color-odmuted, #c9d1ee);
  border-radius: 22px;
  background: var(--e-global-color-white, #ffffff);
  color: var(--e-global-color-primary, #242c65);
  font-family: var(--e-global-typography-accent-font-family, "Barlow"), sans-serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease;
}
.elementor .smaa-nb-filter .e-filter-item[data-filter="__all"] {
  order: -1;
}
.elementor .smaa-nb-filter .e-filter-item:hover {
  border-color: var(--e-global-color-primary, #242c65);
}
.elementor .smaa-nb-filter .e-filter-item[aria-pressed="true"] {
  background: var(--e-global-color-primary, #242c65);
  border-color: var(--e-global-color-primary, #242c65);
  color: var(--e-global-color-white, #ffffff);
}
@media (max-width: 767px) {
  .smaa-nb-filter .e-filter {
    gap: 8px;
  }
  .elementor .smaa-nb-filter .e-filter-item {
    padding: 0 16px;
  }
}

/* The grid and its numbered pages */
@media (max-width: 767px) {
  .elementor.elementor .smaa-nb-grid.elementor-widget .elementor-loop-container {
    grid-auto-rows: auto;
  }
}
.smaa-nb-grid .elementor-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.elementor .smaa-nb-grid .elementor-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  margin: 0;
  padding: 0 14px;
  box-sizing: border-box;
  border: 1.5px solid var(--e-global-color-odmuted, #c9d1ee);
  border-radius: 6px;
  color: var(--e-global-color-primary, #242c65);
  text-decoration: none;
}
.elementor .smaa-nb-grid .elementor-pagination a.page-numbers:hover {
  border-color: var(--e-global-color-primary, #242c65);
}
.elementor .smaa-nb-grid .elementor-pagination .page-numbers.current {
  background: var(--e-global-color-primary, #242c65);
  border-color: var(--e-global-color-primary, #242c65);
  color: var(--e-global-color-white, #ffffff);
}
.elementor .smaa-nb-grid .elementor-pagination span.page-numbers:is(.prev, .next) {
  display: none;
}
.elementor .smaa-nb-grid .elementor-pagination .page-numbers.dots {
  border-color: transparent;
}

/* Post pages: title band */
.e-con.smaa-post-head {
  max-width: 1040px;
}
.smaa-post-cat .elementor-heading-title a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 14px;
  border: 1.5px solid var(--e-global-color-ldivider, #e2b9bc);
  border-radius: 16px;
  color: var(--e-global-color-white, #ffffff);
  text-decoration: none;
  transition: background-color 200ms ease;
}
.smaa-post-cat .elementor-heading-title a:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

/* Post pages: the photo, any size, fills the content width at 5:3 */
.e-con.smaa-post-media {
  aspect-ratio: 5 / 3;
  border-radius: 6px;
  background: var(--e-global-color-primary, #242c65) url("/wp-content/uploads/2026/10/SMAA-logo-white.svg") center / 30% auto no-repeat;
}
.elementor-widget.smaa-post-image,
.smaa-post-image img {
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
}
@media (min-width: 768px) {
  .smaa-post .e-con.smaa-post-tile {
    left: 40px;
    bottom: -30px;
    --padding-top: 20px;
    --padding-right: 28px;
    --padding-bottom: 24px;
    --padding-left: 28px;
    --gap: 6px 6px;
    --row-gap: 6px;
  }
  .smaa-post .e-con.smaa-post-tile > .elementor-widget-heading .elementor-heading-title {
    font-size: clamp(56px, 14.6cqi, 104px) !important;
  }
  .smaa-post .e-con.smaa-post-tile .e-con .elementor-heading-title {
    font-size: 17px !important;
  }
}
@media (max-width: 767px) {
  .smaa-post .e-con.smaa-post-tile {
    left: 16px;
    bottom: -28px;
  }
  .smaa-post .e-con.smaa-post-tile .e-con .elementor-heading-title {
    font-size: 17px;
  }
}
.smaa-post .smaa-tile-weekday .elementor-heading-title {
  line-height: 1.35;
}
/* The photo's caption, when one is set */
.e-con.smaa-post-media:has(.widget-image-caption:not(:empty)) {
  aspect-ratio: auto;
  background: none;
}
.e-con.smaa-post-media:has(.widget-image-caption:not(:empty)) .smaa-post-image img {
  height: auto !important;
  aspect-ratio: 5 / 3;
}
.smaa-post-image figure.wp-caption {
  margin: 0;
}
.smaa-post-image .widget-image-caption {
  line-height: 1.5;
}
.smaa-post-image .widget-image-caption:empty {
  display: none;
}
.e-con.smaa-post-media:has(.widget-image-caption:not(:empty)) .e-con.smaa-post-tile {
  top: 60cqi;
  bottom: auto;
  transform: translateY(calc(-100% + 30px));
}
.e-con.smaa-post-media:has(.smaa-post-tile) .smaa-post-image .widget-image-caption {
  margin-top: 46px;
}
@media (max-width: 767px) {
  .e-con.smaa-post-media:has(.widget-image-caption:not(:empty)) .e-con.smaa-post-tile {
    transform: translateY(calc(-100% + 28px));
  }
  .e-con.smaa-post-media:has(.smaa-post-tile) .smaa-post-image .widget-image-caption {
    margin-top: 42px;
  }
}

/* Post pages: the sidebar (Kavi, 14 November 2026). From laptop width, and
   on tablets held sideways, the post (75%) and the sidebar (25%) sit side
   by side; on phones and upright tablets the sidebar follows the post text.
   Elementor treats both tablet orientations as one device, hence the media
   query here. Sidebar rows (smaa-side-row): a thin line under each;
   categories 44px tall; recent posts with a 5:3 photo (with no photo, the
   SMAA logo on House Blue) beside the date and title. */
@media (min-width: 1025px), (min-width: 1000px) and (orientation: landscape) {
  .elementor .e-con.smaa-post-body {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
    column-gap: 48px;
    align-items: start;
  }
}
@media (min-width: 1000px) and (max-width: 1024px) and (orientation: landscape) {
  .elementor .e-con.smaa-post-body {
    column-gap: 32px;
  }
}
.e-con.smaa-side-row {
  border-bottom: 1px solid var(--e-global-color-odmuted, #c9d1ee);
}
.smaa-side-cat .elementor-icon-list-item > a {
  min-height: 44px;
  align-items: center;
}
.elementor .e-con.smaa-side-recent {
  padding-top: 16px;
  padding-bottom: 16px;
}
/* Recent posts: photo and text half and half (set in the template), except
   on tablets held sideways, where the sidebar is only about 228px wide: the
   photo across the sidebar, the date and title under it. */
@media (min-width: 1000px) and (max-width: 1024px) and (orientation: landscape) {
  .elementor .e-con.smaa-side-recent {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}
.e-con.smaa-side-media {
  aspect-ratio: 5 / 3;
  border-radius: 4px;
  background: var(--e-global-color-primary, #242c65) url("/wp-content/uploads/2026/10/SMAA-logo-white.svg") center / 40% auto no-repeat;
}
.smaa-side-image,
.smaa-side-image a {
  display: block;
  width: 100%;
  height: 100%;
}
.smaa-side-image img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 5 / 3;
  object-fit: cover;
  border-radius: 4px;
}
.smaa-side-title .elementor-heading-title a {
  color: inherit;
}
.smaa-side-title .elementor-heading-title a:hover {
  color: var(--e-global-color-secondary, #2a51b1);
  text-decoration: underline;
}

/* Post pages: Event details */
.e-con.smaa-ev-row:not(:has(.smaa-ev-value)) {
  display: none;
}
.smaa-ev-value .elementor-heading-title {
  line-height: 1.5;
}

/* Post pages: what committee members type */
.smaa-post-text {
  color: var(--e-global-color-text, #242c65);
  font-family: var(--e-global-typography-smaabody-font-family, "Barlow"), sans-serif;
  font-size: var(--e-global-typography-smaabody-font-size, 18px);
  line-height: 1.7;
}
.smaa-post-text :is(p, ul, ol) {
  margin: 0 0 24px;
}
.smaa-post-text :is(ul, ol) {
  padding-left: 1.4em;
}
.smaa-post-text li + li {
  margin-top: 8px;
}
.smaa-post-text :is(h2, h3, h4) {
  margin: 40px 0 24px;
  color: var(--e-global-color-primary, #242c65);
  font-family: var(--e-global-typography-smaah3-font-family, "Barlow Semi Condensed"), sans-serif;
  font-weight: 700;
  line-height: 1.1;
}
.smaa-post-text h2 {
  font-size: var(--e-global-typography-smaah3-font-size, 32px);
}
.smaa-post-text :is(h3, h4) {
  font-size: 26px;
}
.smaa-post-text a {
  color: var(--e-global-color-secondary, #2a51b1);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.smaa-post-text a:hover {
  color: var(--e-global-color-primary, #242c65);
}
.smaa-post-text figure.wp-block-image {
  margin: 32px 0;
}
.smaa-post-text figure.wp-block-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}
.smaa-post-text figcaption {
  margin: 10px 0 0;
  color: var(--e-global-color-text, #242c65);
  font-size: var(--e-global-typography-smaasmall-font-size, 15px);
  line-height: 1.5;
  text-align: left;
}
.smaa-post-text blockquote {
  margin: 32px 0;
  padding: 4px 0 4px 28px;
  border-left: 4px solid var(--e-global-color-accent, #8e2b2e);
}
.smaa-post-text blockquote p {
  margin: 0;
  color: var(--e-global-color-accent, #8e2b2e);
  font-family: var(--e-global-typography-smaaquote-font-family, "Barlow Semi Condensed"), sans-serif;
  font-size: var(--e-global-typography-smaaquote-font-size, 28px);
  font-weight: 700;
  line-height: 1.15;
}
.smaa-post-text blockquote p + p {
  margin-top: 12px;
}
.smaa-post-text blockquote cite {
  display: block;
  margin-top: 12px;
  font-size: var(--e-global-typography-smaasmall-font-size, 15px);
  font-style: normal;
}
/* Videos (YouTube and other embeds, Kavi, 15 November 2026): the full
   text width, 16:9 on every device, 6px corners, caption in Small style. */
.smaa-post-text figure.wp-block-embed {
  width: 100%;
  max-width: none;
  margin: 32px 0;
}
.smaa-post-text .wp-block-embed.is-type-video .wp-block-embed__wrapper::before {
  display: none;
}
.smaa-post-text .wp-block-embed.is-type-video iframe {
  position: static;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 6px;
}
/* A logo in post text (Image block, class smaa-post-logo): its own shape,
   never cropped, left-aligned, 280px wide (200px on phones). */
.smaa-post-text figure.wp-block-image.smaa-post-logo {
  margin: 32px 0;
}
.smaa-post-text figure.wp-block-image.smaa-post-logo img {
  width: 280px;
  max-width: 100%;
  height: auto;
  border-radius: 0;
}
@media (max-width: 767px) {
  .smaa-post-text figure.wp-block-image.smaa-post-logo img {
    width: 200px;
  }
}
.smaa-post-text figure.wp-block-table {
  margin: 28px 0;
  overflow-x: auto;
}
/* Tables size to their contents (Kavi, 15 November 2026: the dinner table's
   Name column sat too far from Area); a table with long text still grows
   to the full text width. */
.smaa-post-text table {
  width: auto;
  max-width: 100%;
  margin: 0;
  border-collapse: collapse;
  border: 0;
}
.smaa-post-text :is(th, td) {
  padding: 14px 32px 14px 20px;
  border: 1px solid var(--e-global-color-odmuted, #c9d1ee);
  color: var(--e-global-color-text, #242c65);
  background: transparent;
  text-align: left;
  vertical-align: top;
  line-height: 1.5;
}
.smaa-post-text th,
.smaa-post-text thead td {
  background: var(--e-global-color-bsubtle, #e7f3fa);
  font-size: var(--e-global-typography-smaasmall-font-size, 15px);
  font-weight: 700;
}
.smaa-post-text td {
  font-size: var(--e-global-typography-smaabody-font-size, 18px);
}
.smaa-post-text .wp-block-table :is(thead, tfoot) {
  border: 0;
}
.smaa-post-text table tbody tr:nth-child(odd) > td {
  background: transparent;
}
.smaa-post-text > :first-child,
.smaa-post-text > .elementor-widget-container > :first-child {
  margin-top: 0;
}
.smaa-post-text > :last-child,
.smaa-post-text > .elementor-widget-container > :last-child {
  margin-bottom: 0;
}
@media (max-width: 767px) {
  .smaa-post-text :is(p, ul, ol) {
    margin-bottom: 20px;
  }
  .smaa-post-text :is(h3, h4) {
    font-size: 22px;
  }
  .smaa-post-text blockquote {
    padding-left: 20px;
  }
  .smaa-post-text :is(th, td) {
    padding: 10px;
  }
}


/* 16. PHOTO VIEWER (Elementor's lightbox, every photo that opens full size:
   the 1933 photo on About SMAA, the campus slider on the school page, the
   gallery pages). Kavi, 15 November 2026: styled after the masonry wall
   viewer on bajajgroup.company: the page stays visible behind a dimmed
   House Blue veil (85%, Kavi, 15 November 2026; was 62%); the photo sits in a white frame with rounded corners and
   a soft shadow; a round white close button top right; white arrow tabs
   left and right (when there is more than one photo); the counter ("2 / 6")
   centred at the bottom, with the photo's name above it when the link
   carries one (campus photos: custom attribute data-elementor-lightbox-title).
   Gallery photos (WordPress Gallery block; Code Snippets snippet 13 groups
   each gallery into one set, smaa-gallery-<page>-<n>, and passes each
   photo's Media Library Caption as the viewer's description): the caption
   shows under the photo in Barlow 400, 16px (15px on phones), up to 3 lines
   (5 on phones), then "..."; gallery photos are sized to leave room for it,
   the same for every photo in the set. The arrows carry their own position
   rules, since pages without a carousel don't load Elementor's slider CSS.
   Elementor's zoom, share and full screen are switched off (Site Settings >
   Lightbox).
   Moving between photos (Kavi, 15 November 2026): a 0.9 s soft fade, not
   Elementor's sideways slide. The new photo appears in place at once and
   the old one dissolves away on top of it (--smaa-viewer-fade). Elementor's
   viewer still slides its strip of photos; the photo just left and the one
   next in line are shifted back over the centre, in step with the strip
   (0.3 s, Swiper's speed), so nothing is seen moving. When the strip jumps
   with no animation (Swiper sets "transition-duration: 0ms" on it, e.g. when
   it wraps from the last photo to the first), the shift is instant too.
   Elementor loads its own viewer styles only when the viewer first opens,
   after this file, so the rules below need !important to win. */
.elementor-lightbox.dialog-type-lightbox {
  --lightbox-ui-color: var(--e-global-color-primary, #242c65) !important;
  --lightbox-ui-color-hover: var(--e-global-color-primary, #242c65) !important;
  --lightbox-text-color: #ffffff !important;
  background-color: rgba(20, 24, 56, 0.85) !important;
}
.elementor-lightbox .elementor-lightbox-image {
  box-sizing: border-box;
  max-width: calc(100vw - 200px) !important;
  max-height: calc(100vh - 190px) !important;
  border: 8px solid #ffffff !important;
  border-radius: 10px !important;
  background: #ffffff;
  box-shadow: 0 24px 64px rgba(10, 14, 40, 0.45) !important;
}
.elementor-lightbox .elementor-slideshow__header > svg,
.elementor-lightbox .elementor-slideshow__share-menu {
  display: none !important;
}
.elementor-lightbox .elementor-slideshow__description {
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  max-width: 760px;
  margin: 6px auto 0 !important;
  color: #ffffff !important;
  font-family: var(--e-global-typography-text-font-family, "Barlow"), sans-serif !important;
  font-weight: 400 !important;
  font-size: 16px !important;
  line-height: 1.45 !important;
  text-shadow: 0 1px 4px rgba(10, 14, 40, 0.6);
}
.elementor-lightbox .elementor-slideshow__description:empty {
  display: none !important;
}
.elementor-lightbox[id^="elementor-lightbox-slideshow-smaa-gallery-"] .elementor-lightbox-image {
  max-height: calc(100vh - 270px) !important;
}
.elementor-lightbox .elementor-slideshow__footer {
  display: block !important;
  position: absolute !important;
  top: auto !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 56px !important;
  padding: 0 16px !important;
  background: none !important;
  text-align: center;
  pointer-events: none;
}
.elementor-lightbox .elementor-slideshow__title {
  color: #ffffff !important;
  font-family: var(--e-global-typography-primary-font-family, "Barlow Semi Condensed"), sans-serif !important;
  font-weight: 600 !important;
  font-size: 22px !important;
  line-height: 1.2 !important;
  text-shadow: 0 1px 6px rgba(10, 14, 40, 0.7);
}
.elementor-lightbox .elementor-slideshow__title:empty {
  display: none !important;
}
.elementor-lightbox {
  --smaa-viewer-fade: 0.9s;
}
.elementor-lightbox .elementor-lightbox-item.swiper-slide {
  opacity: 0;
  pointer-events: none;
  transition: none;
}
.elementor-lightbox .elementor-lightbox-item.swiper-slide-active {
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
  transition: transform 300ms ease;
}
.elementor-lightbox .elementor-lightbox-item.swiper-slide-prev,
.elementor-lightbox .elementor-lightbox-item.swiper-slide-next {
  z-index: 2;
  transition: transform 300ms ease, opacity var(--smaa-viewer-fade) ease-in-out;
}
.elementor-lightbox .elementor-lightbox-item.swiper-slide-prev {
  transform: translateX(calc(100% + 100px));
}
.elementor-lightbox .elementor-lightbox-item.swiper-slide-next {
  transform: translateX(calc(-100% - 100px));
}
.elementor-lightbox .swiper-wrapper[style*="transition-duration: 0ms"] > .elementor-lightbox-item.swiper-slide-active {
  transition: none;
}
.elementor-lightbox .swiper-wrapper[style*="transition-duration: 0ms"] > .elementor-lightbox-item.swiper-slide-prev,
.elementor-lightbox .swiper-wrapper[style*="transition-duration: 0ms"] > .elementor-lightbox-item.swiper-slide-next {
  transition: opacity var(--smaa-viewer-fade) ease-in-out;
}
.elementor-lightbox .elementor-slideshow__header {
  top: auto !important;
  bottom: 18px;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  padding: 0 !important;
  background: none !important;
  pointer-events: none;
}
.elementor-lightbox .elementor-slideshow__counter {
  position: static !important;
  margin: 0 auto !important;
  color: #ffffff !important;
  background: rgba(20, 24, 56, 0.72);
  padding: 4px 14px !important;
  border-radius: 999px;
  font-family: var(--e-global-typography-accent-font-family, "Barlow"), sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.elementor-lightbox .elementor-slideshow__counter:empty {
  display: none !important;
}
.elementor-lightbox .dialog-lightbox-close-button {
  top: 20px !important;
  right: 20px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0 !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  opacity: 1 !important;
  box-shadow: 0 6px 18px rgba(10, 14, 40, 0.35);
}
.elementor-lightbox .dialog-lightbox-close-button svg {
  width: 16px !important;
  height: 16px !important;
  fill: var(--e-global-color-primary, #242c65) !important;
}
.elementor-lightbox .elementor-swiper-button.elementor-swiper-button-prev,
.elementor-lightbox .elementor-swiper-button.elementor-swiper-button-next {
  position: absolute !important;
  z-index: 10 !important;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 48px !important;
  height: 96px !important;
  padding: 0 !important;
  border-radius: 6px;
  background: #ffffff !important;
  box-shadow: 0 6px 18px rgba(10, 14, 40, 0.35);
  opacity: 1 !important;
}
.elementor-lightbox .elementor-swiper-button-prev { left: 24px !important; }
.elementor-lightbox .elementor-swiper-button-next { right: 24px !important; }
.elementor-lightbox .elementor-swiper-button svg {
  width: 18px !important;
  height: 18px !important;
  fill: var(--e-global-color-primary, #242c65) !important;
}
.elementor-lightbox .elementor-swiper-button:hover,
.elementor-lightbox .dialog-lightbox-close-button:hover {
  background: var(--e-global-color-bsubtle, #e7f3fa) !important;
}
.elementor-lightbox .elementor-swiper-button.swiper-button-disabled {
  opacity: 0.45 !important;
}
@media (max-width: 767px) {
  .elementor-lightbox .elementor-lightbox-image {
    max-width: calc(100vw - 32px) !important;
    max-height: calc(100vh - 210px) !important;
    border-width: 5px !important;
    border-radius: 8px !important;
  }
  .elementor-lightbox .dialog-lightbox-close-button {
    top: 14px !important;
    right: 14px !important;
  }
  .elementor-lightbox .elementor-swiper-button.elementor-swiper-button-prev,
  .elementor-lightbox .elementor-swiper-button.elementor-swiper-button-next {
    top: auto !important;
    bottom: 12px;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    transform: none !important;
  }
  .elementor-lightbox .elementor-swiper-button-prev { left: 16px !important; }
  .elementor-lightbox .elementor-swiper-button-next { right: 16px !important; }
  .elementor-lightbox .elementor-slideshow__header {
    bottom: 24px;
  }
  .elementor-lightbox .elementor-slideshow__footer {
    bottom: 72px !important;
  }
  .elementor-lightbox .elementor-slideshow__title {
    font-size: 20px !important;
  }
  .elementor-lightbox .elementor-slideshow__description {
    font-size: 15px !important;
    -webkit-line-clamp: 5;
    line-clamp: 5;
  }
  .elementor-lightbox[id^="elementor-lightbox-slideshow-smaa-gallery-"] .elementor-lightbox-image {
    max-height: calc(100vh - 300px) !important;
  }
}


/* 17. CONTACT PAGE (page 55, /contact/)
   Approved by Kavi on 15 November 2026 (content/contact-page-copy.md).
   - smaa-contact-map (Google Maps widget): 2:1 on every screen (the widget
     itself only takes a fixed height in pixels, which would change the
     shape as the screen narrows), 6px corners.
   - smaa-contact-address: the address reads upright (browsers set address
     text in italics by default).
   - smaa-contact-email: the email address in semi-bold. */
.smaa-contact-map .elementor-custom-embed {
  overflow: hidden;
  border-radius: 6px;
  line-height: 0;
}
.smaa-contact-map iframe {
  display: block;
  width: 100%;
  height: auto !important;
  aspect-ratio: 2 / 1;
  border: 0;
}
.smaa-contact-address address {
  margin: 0;
  font-style: normal;
}
.elementor-widget.smaa-contact-email .elementor-heading-title,
.elementor-widget.smaa-contact-email .elementor-heading-title a {
  font-weight: 600;
  overflow-wrap: anywhere;
}


/* 18. DONATION FORM (Donate page, page 57: Step 2, #donation-form)
   Approved by Kavi on 16 November 2026 (content/donation-form-copy.md,
   section 4; design/donate-page-*.html and design/donate-form-steps.html).
   - smaa-giving-grid: desktop (1025px and wider) puts the form on the right,
     spanning three rows, beside the heading, What happens next and
     Questions; tablets and phones keep the page order (heading, form, What
     happens next, Questions).
   - smaa-next-steps: the numbered list, numbers in 40px Green Subtle circles.
   - smaa-faq: the Questions accordion with thin #c9d1ee lines.
   - smaa-donation-form (PRO Elements Form widget, three steps): labels
     semi-bold, help lines and "(optional)" muted, boxes 52px tall; step
     markers as numbered circles joined by lines (desktop and tablets) or a
     three-part bar (phones); "Paid by" as pills; the two tick-boxes 24px;
     Next / Previous / Send details with arrows, full width on phones; the
     error messages, the error count box, the PAN tag, the rupee box, the
     upload box and the step lines added by the page script (Code Snippets
     "SMAA donation form script"). Colours from the Global Kit; #c9d1ee is
     "On dark: muted text", the box border is "On dark: button border". */
.e-con.e-grid.smaa-giving-grid > .elementor-widget.smaa-donation-form {
  min-width: 0;
  scroll-margin-top: 120px;
}
@media (min-width: 1025px) {
  .e-con.e-grid.smaa-giving-grid {
    grid-template-rows: auto auto 1fr;
  }
  .e-con.e-grid.smaa-giving-grid > .smaa-giving-intro { grid-column: 1; grid-row: 1; }
  .e-con.e-grid.smaa-giving-grid > .smaa-giving-next { grid-column: 1; grid-row: 2; }
  .e-con.e-grid.smaa-giving-grid > .smaa-giving-faq { grid-column: 1; grid-row: 3; }
  .e-con.e-grid.smaa-giving-grid > .elementor-widget.smaa-donation-form { grid-column: 2; grid-row: 1 / span 3; }
}
@media (max-width: 767px) {
  .e-con.e-grid.smaa-giving-grid > .elementor-widget.smaa-donation-form {
    scroll-margin-top: 150px;
  }
}

.elementor-widget.smaa-donation-form [hidden] {
  display: none !important;
}

/* What happens next */
.smaa-next-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: smaa-next;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.smaa-next-steps li {
  counter-increment: smaa-next;
  position: relative;
  min-height: 40px;
  margin: 0;
  padding: 6px 0 0 56px;
}
.smaa-next-steps li::before {
  content: counter(smaa-next);
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--e-global-color-gsubtle, #ecf7ee);
  color: var(--e-global-color-hgreen, #2b6445);
  font-family: var(--e-global-typography-secondary-font-family, "Barlow Semi Condensed"), sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

/* Questions */
.smaa-faq .e-n-accordion {
  border-bottom: 1px solid var(--e-global-color-odmuted, #c9d1ee);
}
.smaa-faq .e-n-accordion-item {
  border-top: 1px solid var(--e-global-color-odmuted, #c9d1ee);
}
.smaa-faq .e-n-accordion-item-title {
  min-height: 44px;
  gap: 16px;
}
.smaa-faq .e-n-accordion-item-title-text {
  line-height: 1.4;
}
.smaa-faq .e-n-accordion-item > .e-con p:last-child {
  margin-bottom: 0;
}

/* The form: labels, help lines, boxes */
.elementor-widget.smaa-donation-form .elementor-field-group > .elementor-field-label {
  font-weight: 600 !important;
  line-height: 1.3;
}
.elementor-widget.smaa-donation-form .smaa-help {
  display: block;
  margin-top: 8px;
  font-family: var(--e-global-typography-smaasmall-font-family, "Barlow"), sans-serif;
  font-size: var(--e-global-typography-smaasmall-font-size, 15px);
  font-weight: 400;
  line-height: 1.5;
  color: var(--e-global-color-muted, #4a5285);
}
.elementor-widget.smaa-donation-form .smaa-optional {
  font-weight: 400;
  color: var(--e-global-color-muted, #4a5285);
}
.elementor-widget.smaa-donation-form .elementor-field-group .elementor-field-textual,
.elementor-widget.smaa-donation-form .elementor-field-group .elementor-select-wrapper select {
  min-height: 52px;
  padding: 0 16px;
  line-height: 1.3;
}
.elementor-widget.smaa-donation-form .elementor-field-group .elementor-select-wrapper select {
  padding-right: 44px;
}
.elementor-widget.smaa-donation-form .elementor-field-group .elementor-select-wrapper select:has(option[value=""]:checked),
.elementor-widget.smaa-donation-form ::placeholder {
  color: var(--e-global-color-muted, #4a5285);
  opacity: 1;
}
.elementor-widget.smaa-donation-form .elementor-field-group .elementor-select-wrapper select:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.elementor-widget.smaa-donation-form #form-field-pan {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}
@media (min-width: 768px) {
  .elementor-widget.smaa-donation-form .elementor-field-group.elementor-field-group-pin { width: 26.66%; }
  .elementor-widget.smaa-donation-form .elementor-field-group.elementor-field-group-city,
  .elementor-widget.smaa-donation-form .elementor-field-group.elementor-field-group-state { width: 36.67%; }
}

.elementor-widget.smaa-donation-form .elementor-field-group {
  align-content: flex-start;
  align-items: flex-start;
}

.elementor-widget.smaa-donation-form .elementor-field-group > .smaa-prefix,
.elementor-widget.smaa-donation-form .elementor-field-group > .smaa-drop,
.elementor-widget.smaa-donation-form .elementor-field-group > .smaa-error,
.elementor-widget.smaa-donation-form .elementor-field-group > .smaa-type-note {
  flex: 0 0 100%;
  width: 100%;
  box-sizing: border-box;
}

/* Date paid: calendar icon at the end */
.elementor-widget.smaa-donation-form .elementor-field-group .elementor-date-field {
  padding-right: 48px;
  background: var(--e-global-color-white, #ffffff) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='2' fill='none' stroke='%234a5285' stroke-width='2'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4' stroke='%234a5285' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") right 14px center / 20px no-repeat;
}

/* Rupee box in front of the amount (page script: smaa-prefix) */
.elementor-widget.smaa-donation-form .smaa-prefix {
  display: flex;
  align-items: stretch;
  width: 100%;
  border: 1.5px solid var(--e-global-color-odborder, #6a73a8);
  border-radius: 6px;
  background: var(--e-global-color-white, #ffffff);
  overflow: hidden;
}
.elementor-widget.smaa-donation-form .smaa-prefix-sign {
  display: flex;
  align-items: center;
  padding: 0 14px;
  border-right: 1.5px solid var(--e-global-color-odborder, #6a73a8);
  font-weight: 600;
  color: var(--e-global-color-text, #242c65);
}
.elementor-widget.smaa-donation-form .smaa-prefix .elementor-field-textual {
  flex: 1 1 auto;
  min-width: 0;
  border: 0 !important;
  border-radius: 0 !important;
}
.elementor-widget.smaa-donation-form .smaa-prefix .elementor-field-textual:focus-visible {
  outline: none;
}
.elementor-widget.smaa-donation-form .smaa-prefix:has(input:focus-visible) {
  outline: 3px solid var(--e-global-color-secondary, #2a51b1);
  outline-offset: 3px;
}

/* PAN tag and the CSR line (page script) */
.elementor-widget.smaa-donation-form .smaa-pan-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 5px 12px 5px 10px;
  border-radius: 16px;
  background: var(--e-global-color-gsubtle, #ecf7ee);
  color: var(--e-global-color-hgreen, #2b6445);
  font-size: var(--e-global-typography-smaasmall-font-size, 15px);
  font-weight: 700;
  line-height: 1.3;
}
.elementor-widget.smaa-donation-form .smaa-pan-tag::before {
  content: "";
  width: 14px;
  height: 14px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12.5l5 5L20 6.5' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12.5l5 5L20 6.5' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.elementor-widget.smaa-donation-form .smaa-type-note,
.elementor-widget.smaa-donation-form .smaa-error {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 8px 0 0;
  font-size: var(--e-global-typography-smaasmall-font-size, 15px);
  line-height: 1.5;
  color: var(--e-global-color-muted, #4a5285);
}
.elementor-widget.smaa-donation-form .smaa-error {
  font-weight: 600;
  color: var(--e-global-color-accent, #8e2b2e);
}
.elementor-widget.smaa-donation-form .smaa-type-note::before,
.elementor-widget.smaa-donation-form .smaa-error::before,
.elementor-widget.smaa-donation-form .smaa-error-box::before {
  content: "";
  flex: 0 0 16px;
  height: 16px;
  margin-top: 0.2em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' fill='none' stroke='black' stroke-width='2.2'/%3E%3Cpath d='M12 11v6M12 7.5v.01' stroke='black' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' fill='none' stroke='black' stroke-width='2.2'/%3E%3Cpath d='M12 11v6M12 7.5v.01' stroke='black' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Errors: red border on the box, message under it, count box on top */
.elementor-widget.smaa-donation-form [aria-invalid="true"],
.elementor-widget.smaa-donation-form .smaa-prefix:has(input[aria-invalid="true"]) {
  border-color: var(--e-global-color-redacc, #bf2e33) !important;
  border-width: 2px !important;
}
.elementor-widget.smaa-donation-form .smaa-error-box {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  width: calc(100% - 24px);
  margin: 0 12px 24px;
  padding: 18px 22px;
  border: 1px solid var(--e-global-color-ldivider, #e2b9bc);
  border-radius: 8px;
  background: var(--e-global-color-rsubtle, #fcecee);
  color: var(--e-global-color-accent, #8e2b2e);
  line-height: 1.5;
}
.elementor-widget.smaa-donation-form .smaa-error-box::before {
  flex-basis: 20px;
  height: 20px;
}
.elementor-widget.smaa-donation-form .smaa-error-box[hidden] {
  display: none;
}

/* Step lines (page script) */
.elementor-widget.smaa-donation-form .smaa-step-count {
  width: calc(100% - 24px);
  margin: 0 12px 12px;
  font-size: var(--e-global-typography-smaasmall-font-size, 15px);
  font-weight: 700;
  line-height: 1.4;
  color: var(--e-global-color-muted, #4a5285);
}
.elementor-widget.smaa-donation-form .smaa-form-note {
  width: calc(100% - 24px);
  margin: 0 12px 24px;
  font-size: var(--e-global-typography-smaasmall-font-size, 15px);
  line-height: 1.5;
  color: var(--e-global-color-muted, #4a5285);
}
.elementor-widget.smaa-donation-form .smaa-step-title {
  width: calc(100% - 24px);
  margin: 0 12px 24px;
  font-family: var(--e-global-typography-secondary-font-family, "Barlow Semi Condensed"), sans-serif;
  font-size: var(--e-global-typography-smaasite-font-size, 20px);
  font-weight: 600;
  line-height: 1.3;
  color: var(--e-global-color-primary, #242c65);
}
.elementor-widget.smaa-donation-form .smaa-step-title:focus {
  outline: none;
}
.elementor-widget.smaa-donation-form .smaa-step-intro {
  width: calc(100% - 24px);
  margin: 0 12px 24px;
  font-size: var(--e-global-typography-smaabody-font-size, 18px);
  line-height: 1.6;
  color: var(--e-global-color-text, #242c65);
}

/* Step markers: numbered circles joined by lines */
.elementor-widget.smaa-donation-form .e-form__indicators {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
  width: calc(100% - 24px);
  margin: 0 12px 36px;
  padding: 0;
}
.elementor-widget.smaa-donation-form .e-form__indicators__indicator {
  display: flex;
  flex: 0 0 auto;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.elementor-widget.smaa-donation-form .e-form__indicators__indicator__number.e-form__indicators__indicator--shape-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  min-width: 36px;
  margin: 0;
  box-sizing: border-box;
  border: 2px solid var(--e-global-color-odborder, #6a73a8);
  border-radius: 50%;
  background-color: transparent;
  color: var(--e-global-color-muted, #4a5285);
  font-family: var(--e-global-typography-secondary-font-family, "Barlow Semi Condensed"), sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}
.elementor-widget.smaa-donation-form .e-form__indicators__indicator--state-active .e-form__indicators__indicator__number.e-form__indicators__indicator--shape-circle,
.elementor-widget.smaa-donation-form .e-form__indicators__indicator--state-completed .e-form__indicators__indicator__number.e-form__indicators__indicator--shape-circle {
  border-color: var(--e-global-color-hgreen, #2b6445);
  background-color: var(--e-global-color-hgreen, #2b6445);
  color: var(--e-global-color-white, #ffffff);
}
.elementor-widget.smaa-donation-form .e-form__indicators__indicator--state-completed .e-form__indicators__indicator__number.e-form__indicators__indicator--shape-circle {
  font-size: 0;
}
.elementor-widget.smaa-donation-form .e-form__indicators__indicator--state-completed .e-form__indicators__indicator__number.e-form__indicators__indicator--shape-circle::before {
  content: "";
  width: 18px;
  height: 18px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12.5l5 5L20 6.5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12.5l5 5L20 6.5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.elementor-widget.smaa-donation-form .e-form__indicators__indicator__label {
  margin: 0;
  font-size: var(--e-global-typography-smaabody-font-size, 18px);
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  color: var(--e-global-color-muted, #4a5285);
}
.elementor-widget.smaa-donation-form .e-form__indicators__indicator--state-active .e-form__indicators__indicator__label {
  font-weight: 700;
  color: var(--e-global-color-primary, #242c65);
}
.elementor-widget.smaa-donation-form .e-form__indicators__indicator--state-completed .e-form__indicators__indicator__label {
  color: var(--e-global-color-primary, #242c65);
}
.elementor-widget.smaa-donation-form .e-form__indicators__indicator__separator {
  flex: 1 1 auto;
  min-width: 12px;
  height: 2px;
  margin: 0 6px;
  border: 0;
  background: var(--e-global-color-odmuted, #c9d1ee);
}
.elementor-widget.smaa-donation-form .e-form__indicators__indicator--state-completed + .e-form__indicators__indicator__separator {
  background: var(--e-global-color-hgreen, #2b6445);
}

/* Paid by: three pills */
.elementor-widget.smaa-donation-form .elementor-field-group-paid_by .elementor-field-subgroup {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.elementor-widget.smaa-donation-form .elementor-field-group-paid_by .elementor-field-option {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  margin: 0;
  padding: 0 18px;
  box-sizing: border-box;
  border: 1.5px solid var(--e-global-color-odborder, #6a73a8);
  border-radius: 24px;
  background: var(--e-global-color-white, #ffffff);
}
.elementor-widget.smaa-donation-form .elementor-field-group-paid_by .elementor-field-option input {
  -webkit-appearance: none;
  appearance: none;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin: 0;
  box-sizing: border-box;
  border: 2px solid var(--e-global-color-odborder, #6a73a8);
  border-radius: 50%;
  background: var(--e-global-color-white, #ffffff);
}
.elementor-widget.smaa-donation-form .elementor-field-group-paid_by .elementor-field-option input:checked {
  border-color: var(--e-global-color-secondary, #2a51b1);
  background: radial-gradient(circle, var(--e-global-color-secondary, #2a51b1) 0 4.5px, transparent 5px);
}
.elementor-widget.smaa-donation-form .elementor-field-group-paid_by .elementor-field-option input:focus-visible {
  outline: none;
}
.elementor-widget.smaa-donation-form .elementor-field-group-paid_by .elementor-field-option label {
  font-size: var(--e-global-typography-smaabody-font-size, 18px);
  font-weight: 600;
  line-height: 1.3;
  color: var(--e-global-color-primary, #242c65);
  cursor: pointer;
}
.elementor-widget.smaa-donation-form .elementor-field-group-paid_by .elementor-field-option label::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
}
.elementor-widget.smaa-donation-form .elementor-field-group-paid_by .elementor-field-option:has(input:checked) {
  border: 2px solid var(--e-global-color-secondary, #2a51b1);
  background: var(--e-global-color-bsubtle, #e7f3fa);
}
.elementor-widget.smaa-donation-form .elementor-field-group-paid_by .elementor-field-option:has(input:focus-visible) {
  outline: 3px solid var(--e-global-color-secondary, #2a51b1);
  outline-offset: 3px;
}
.elementor-widget.smaa-donation-form .elementor-field-group-paid_by .elementor-field-option:has(input[aria-invalid="true"]) {
  border: 2px solid var(--e-global-color-redacc, #bf2e33);
}

/* Upload box (page script: smaa-drop; the real file field lies over it) */
.elementor-widget.smaa-donation-form .smaa-drop {
  position: relative;
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 24px 28px;
  border: 2px dashed var(--e-global-color-odborder, #6a73a8);
  border-radius: 8px;
  background: var(--e-global-color-white, #ffffff);
}
.elementor-widget.smaa-donation-form .smaa-drop.is-over {
  background: var(--e-global-color-bsubtle, #e7f3fa);
}
.elementor-widget.smaa-donation-form .smaa-drop:has(input[aria-invalid="true"]) {
  border-color: var(--e-global-color-redacc, #bf2e33);
}
.elementor-widget.smaa-donation-form .smaa-drop input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
}
.elementor-widget.smaa-donation-form .smaa-drop:has(input:focus-visible) {
  outline: 3px solid var(--e-global-color-secondary, #2a51b1);
  outline-offset: 3px;
}
.elementor-widget.smaa-donation-form .smaa-drop-icon {
  position: relative;
  flex: 0 0 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--e-global-color-bsubtle, #e7f3fa);
  color: var(--e-global-color-secondary, #2a51b1);
}
.elementor-widget.smaa-donation-form .smaa-drop-icon::before {
  content: "";
  position: absolute;
  inset: 14px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 16V4M7 9l5-5 5 5M4 16v3a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-3' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 16V4M7 9l5-5 5 5M4 16v3a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-3' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.elementor-widget.smaa-donation-form .smaa-drop-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.elementor-widget.smaa-donation-form .smaa-drop-main {
  margin: 0;
  line-height: 1.4;
  color: var(--e-global-color-text, #242c65);
  overflow-wrap: anywhere;
}
.elementor-widget.smaa-donation-form .smaa-drop-main strong {
  color: var(--e-global-color-secondary, #2a51b1);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.elementor-widget.smaa-donation-form .smaa-drop-hint {
  margin: 0;
  font-size: var(--e-global-typography-smaasmall-font-size, 15px);
  line-height: 1.5;
  color: var(--e-global-color-muted, #4a5285);
}

/* The two tick-boxes */
.elementor-widget.smaa-donation-form .elementor-field-type-acceptance .elementor-field-option {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.elementor-widget.smaa-donation-form .elementor-field-type-acceptance input {
  -webkit-appearance: none;
  appearance: none;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  margin: 2px 0 0;
  box-sizing: border-box;
  border: 2px solid var(--e-global-color-primary, #242c65);
  border-radius: 4px;
  background: var(--e-global-color-white, #ffffff);
  cursor: pointer;
}
.elementor-widget.smaa-donation-form .elementor-field-type-acceptance input:checked {
  background: var(--e-global-color-primary, #242c65) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.elementor-widget.smaa-donation-form .elementor-field-type-acceptance label {
  font-size: var(--e-global-typography-smaabody-font-size, 18px);
  font-weight: 400;
  line-height: 1.55;
  color: var(--e-global-color-primary, #242c65);
  cursor: pointer;
}
.elementor-widget.smaa-donation-form .elementor-field-type-acceptance .smaa-error {
  padding-left: 38px;
}

/* Next, Previous and Send details */
.elementor-widget.smaa-donation-form .e-form__buttons {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: calc(100% - 24px);
  margin: 12px 12px 0;
  padding: 28px 0 0;
  border-top: 1px solid var(--e-global-color-odmuted, #c9d1ee);
}
.elementor-widget.smaa-donation-form .e-form__buttons .e-form__buttons__wrapper.elementor-field-group {
  flex: 0 0 auto;
  width: auto;
  margin: 0;
  padding: 0;
}
.elementor-widget.smaa-donation-form .e-form__buttons .e-form__buttons__wrapper.elementor-field-group:last-child {
  margin-left: auto;
}
.elementor-widget.smaa-donation-form .e-form__buttons__wrapper__button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.elementor-widget.smaa-donation-form .e-form__buttons__wrapper__button-next::after,
.elementor-widget.smaa-donation-form .e-form__buttons__wrapper__button-previous::before {
  content: "";
  flex: 0 0 18px;
  height: 18px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.elementor-widget.smaa-donation-form .e-form__buttons__wrapper__button-previous::before {
  transform: scaleX(-1);
}
.elementor-widget.smaa-donation-form .e-form__buttons__wrapper__button-previous {
  padding: 16px 28px;
  border-style: solid;
  border-width: 2px;
}

/* Thank-you message (replaces the form; the page script hides the steps) */
.elementor-widget.smaa-donation-form .elementor-message-success {
  margin: 0;
  line-height: 1.6;
  color: var(--e-global-color-primary, #242c65);
}
.elementor-widget.smaa-donation-form .elementor-message-success::before {
  display: none;
}
.elementor-widget.smaa-donation-form .smaa-thanks-title {
  display: block;
  margin-bottom: 16px;
  font-family: var(--e-global-typography-secondary-font-family, "Barlow Semi Condensed"), sans-serif;
  font-size: var(--e-global-typography-smaah3-font-size, 32px);
  font-weight: 700;
  line-height: 1.1;
}
.elementor-widget.smaa-donation-form .elementor-message-success a {
  color: var(--e-global-color-secondary, #2a51b1);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 767px) {
  .elementor-widget.smaa-donation-form .smaa-step-count {
    margin-bottom: 10px;
    font-size: var(--e-global-typography-smaabody-font-size, 17px);
    color: var(--e-global-color-primary, #242c65);
  }
  .elementor-widget.smaa-donation-form .smaa-step-title {
    margin-bottom: 20px;
  }
  .elementor-widget.smaa-donation-form .smaa-error-box {
    padding: 16px;
  }
  /* Step markers become a three-part bar */
  .elementor-widget.smaa-donation-form .e-form__indicators {
    gap: 6px;
    margin-bottom: 28px;
  }
  .elementor-widget.smaa-donation-form .e-form__indicators__indicator {
    flex: 1 1 0;
    height: 6px;
    border-radius: 3px;
    background: var(--e-global-color-odmuted, #c9d1ee);
  }
  .elementor-widget.smaa-donation-form .e-form__indicators__indicator--state-active,
  .elementor-widget.smaa-donation-form .e-form__indicators__indicator--state-completed {
    background: var(--e-global-color-hgreen, #2b6445);
  }
  .elementor-widget.smaa-donation-form .e-form__indicators .e-form__indicators__indicator > .e-form__indicators__indicator__number.e-form__indicators__indicator--shape-circle,
  .elementor-widget.smaa-donation-form .e-form__indicators .e-form__indicators__indicator > .e-form__indicators__indicator__label,
  .elementor-widget.smaa-donation-form .e-form__indicators .e-form__indicators__indicator__separator {
    display: none;
  }
  .elementor-widget.smaa-donation-form .smaa-drop {
    gap: 14px;
    padding: 20px;
  }
  .elementor-widget.smaa-donation-form .smaa-drop-icon {
    flex-basis: 44px;
    height: 44px;
  }
  .elementor-widget.smaa-donation-form .smaa-drop-icon::before {
    inset: 11px;
  }
  .elementor-widget.smaa-donation-form .e-form__buttons {
    flex-direction: column-reverse;
    align-items: stretch;
    padding-top: 24px;
  }
  .elementor-widget.smaa-donation-form .e-form__buttons .e-form__buttons__wrapper.elementor-field-group,
  .elementor-widget.smaa-donation-form .e-form__buttons .e-form__buttons__wrapper.elementor-field-group:last-child {
    flex: 1 1 auto;
    width: 100%;
    margin-left: 0;
  }
  .elementor-widget.smaa-donation-form .e-form__buttons__wrapper__button {
    width: 100%;
  }
  .elementor-widget.smaa-donation-form .e-form__buttons__wrapper__button-previous {
    padding: 14px 24px;
  }
}

/* 19. ACTIVITY PAGES (Single template 467, /activities/<name>/; More card
   Loop Item 468) AND THE DONATE PAGE ACTIVITY CARDS (Loop Item 274)
   Approved by Kavi on 17 November 2026 (content/activity-pages-copy.md).
   - smaa-act-band / smaa-act-photo: the square photo hangs out of the House
     Blue title band: desktop in the right column, 232px below
     the band (negative bottom margin) over the Introduction's empty right
     column (smaa-act-photo-space keeps room for it); tablets: the photo
     stays inside the band, H1 at the H2 size, Introduction full width; phones full width under
     the H1, the band's blue ending 84px below the photo's top (a two-colour
     background: the photo is as wide as the screen less 40px).
   - smaa-act-lead: the Introduction in the Quote size, but Barlow 400 with
     loose lines; smaa-act-statement: the Impact statement, 44px desktop,
     26px phones.
   - smaa-ach-*: the numbered achievement cards (88 / 64px numbers); a card
     with no title is hidden, and the whole section when no card has one.
   - smaa-act-video: the optional video (YouTube or Vimeo link, Elementor's
     Video widget, 16:9); the section is hidden when there is no link.
   - smaa-ba-*: the before / after pair (16:9, white pills, House Red arrow,
     pointing down on phones); hidden unless both photos are set.
   - smaa-more-*: the compact More projects cards (photo 132 / 96px, title
     26 / 22px).
   - smaa-activity-*: Donate page cards: the "Know more" button sits at the
     bottom of the card, so buttons line up across a row on desktop. */
.smaa-act-photo img {
  border-radius: 8px;
  box-shadow: 0 24px 48px rgba(36, 44, 101, 0.22);
}
@media (min-width: 1025px) {
  .e-con.smaa-act-band > .elementor-widget.smaa-act-photo {
    position: relative;
    z-index: 2;
    margin-bottom: -232px;
  }
  .e-con.smaa-act-intro > .e-con.smaa-act-photo-space {
    min-height: 160px;
  }
}
/* Tablets: the photo stays inside the band (the H1 at the H2 size, as the
   7fr column is narrow) and the Introduction runs full width under it. */
@media (min-width: 768px) and (max-width: 1024px) {
  .e-con.smaa-act-band h1.elementor-heading-title {
    font-size: var(--e-global-typography-smaah2-font-size, 56px) !important;
  }
}
@media (max-width: 1024px) {
  .e-con.smaa-act-intro > .e-con.smaa-act-photo-space {
    display: none;
  }
}
@media (max-width: 767px) {
  .e-con.smaa-act-band {
    background-image: linear-gradient(to bottom, var(--e-global-color-primary, #242c65) calc(100% - 100vw + 124px), var(--e-global-color-white, #ffffff) 0);
  }
}
.elementor-widget.smaa-act-lead p {
  font-family: var(--e-global-typography-text-font-family, "Barlow"), sans-serif;
  font-weight: 400;
  line-height: 1.5;
}
.elementor-widget.smaa-act-lead p:last-child,
.elementor-widget.smaa-act-statement p:last-child {
  margin-bottom: 0;
}
.elementor-widget.smaa-act-statement {
  max-width: 1040px;
}
.elementor-widget.smaa-act-statement p {
  line-height: 1.15;
  letter-spacing: -0.01em;
}
@media (max-width: 767px) {
  .elementor-widget.smaa-act-statement p {
    font-size: var(--e-global-typography-smaah3-font-size, 26px);
  }
}

/* Alumni achievements */
.elementor-widget.smaa-ach-num .elementor-heading-title {
  font-size: 88px !important;
  line-height: 0.85 !important;
  letter-spacing: -0.02em !important;
}
@media (max-width: 767px) {
  .elementor-widget.smaa-ach-num .elementor-heading-title {
    font-size: 64px !important;
  }
}
.e-con.smaa-ach-card:not(:has(.smaa-ach-title .elementor-heading-title)),
.e-con.smaa-act-ach:not(:has(.smaa-ach-title .elementor-heading-title)) {
  display: none;
}

/* Video */
.e-con.smaa-act-video:not(:has(.smaa-act-vid)) {
  display: none;
}
.e-con.smaa-act-video .elementor-widget.smaa-act-vid .elementor-wrapper {
  overflow: hidden;
  border-radius: 6px;
}

/* Before and after */
.e-con.smaa-ba-photo {
  position: relative;
}
.elementor-widget.smaa-ba-img img {
  display: block;
  width: 100%;
  height: auto !important;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
}
.e-con.smaa-ba-photo > .elementor-widget.smaa-ba-pill {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
  width: auto;
  max-width: calc(100% - 32px);
}
.elementor-widget.smaa-ba-pill .elementor-heading-title {
  padding: 9px 16px;
  border-radius: 20px;
  background: var(--e-global-color-white, #ffffff);
  line-height: 1 !important;
}
.e-con.smaa-ba-pair > .elementor-widget.smaa-ba-arrow {
  justify-self: center;
}
.e-con.smaa-ba:not(:has(.smaa-ba-pair > .smaa-ba-photo:first-child img)),
.e-con.smaa-ba:not(:has(.smaa-ba-pair > .smaa-ba-photo:last-child img)) {
  display: none;
}
@media (max-width: 767px) {
  .e-con.smaa-ba-photo > .elementor-widget.smaa-ba-pill {
    top: 12px;
    left: 12px;
  }
  .elementor-widget.smaa-ba-pill .elementor-heading-title {
    padding: 7px 12px;
  }
  .elementor-widget.smaa-ba-arrow .elementor-icon i,
  .elementor-widget.smaa-ba-arrow .elementor-icon svg {
    transform: rotate(90deg);
  }
  .e-con.smaa-ba-pair > .e-con.smaa-ba-photo {
    width: 100%;
  }
}

/* More projects and activities */
.smaa-more-photo img {
  border-radius: 6px;
}
.elementor-widget.smaa-more-title .elementor-heading-title {
  font-size: 26px !important;
}
@media (max-width: 767px) {
  .elementor-widget.smaa-more-title .elementor-heading-title {
    font-size: 22px !important;
  }
}
.elementor-widget.smaa-more-link .elementor-button {
  min-height: 44px;
}
.elementor-widget.smaa-more-link .elementor-button:hover .elementor-button-text {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Donate page cards: "Know more" at the bottom of each card */
.e-con.smaa-activity-card > .smaa-activity-body {
  align-self: stretch;
}
.e-con.smaa-activity-card .elementor-widget.smaa-activity-btn {
  margin-top: auto;
}
.elementor-widget.smaa-activity-title .elementor-heading-title a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}


/* 11. REDUCED MOTION
   Visitors whose phone or computer is set to reduce motion get no
   movement: no band wipes, no header shrink, no pillar lines drawing, no
   date drop, no photo zoom, no button press, no menu stagger, near-instant
   slide changes and fades. Everything is simply in place. Colour changes
   still happen, so links and buttons still respond. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .home .smaa-house-band > *,
  .elementor-location-header,
  .elementor-location-header .smaa-header,
  .elementor-location-header .smaa-logo .e-svg-base {
    animation: none !important;
    clip-path: none;
  }
  .e-con.smaa-pillar.animated::before,
  .e-con.smaa-pillar.animated > *,
  .e-con.smaa-news-date.animated,
  .smaa-footer-band.animated > * {
    animation: none !important;
  }
  .elementor-button:active,
  .e-loop-item:hover .smaa-news-image img,
  .smaa-main-menu .elementor-menu-toggle + nav.elementor-nav-menu--dropdown li {
    transform: none !important;
  }
  .smaa-main-menu .elementor-menu-toggle + nav.elementor-nav-menu--dropdown li {
    transition-delay: 0s !important;
  }
}/* End custom CSS */