.nav-button__next, .nav-button__prev {
    display: none;
}

.aiovg-pagination-links .current, .aiovg-pagination-links a:hover {
    border: 1px solid #1a1461;
    background-color: #1a1461;
    color: #fff;
}

.wp-block-button__link {
    background-color: #1A1461 !important;
}


.wp-block-post-featured-image :where(img) {
    aspect-ratio: 2 !important;
}























/*
 * Stichting BBR — Contact Form 7
 * Minimal editorial styling matched to the homepage.
 * Scope: every Contact Form 7 form on the site.
 */

.wpcf7 {
  --bbr-purple: #211878;
  --bbr-purple-dark: #171052;
  --bbr-lavender: #f2f1ff;
  --bbr-white: #ffffff;
  --bbr-text: #171717;
  --bbr-muted: #666477;
  --bbr-line: rgba(33, 24, 120, 0.28);
  --bbr-focus: rgba(33, 24, 120, 0.15);
  --bbr-error: #b42318;
  --bbr-success: #176b42;

  width: 100%;
  max-width: 860px;
  color: var(--bbr-text);
  font: inherit;
}

.wpcf7 form {
  display: grid;
  gap: clamp(20px, 2.2vw, 30px);
  margin: 0;
}

.wpcf7 form > p,
.wpcf7 .bbr-form-grid > p,
.wpcf7 .bbr-form-field {
  margin: 0;
}

.wpcf7 label {
  display: grid;
  gap: 9px;
  color: var(--bbr-text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.wpcf7 .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.wpcf7 :where(
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="url"],
  input[type="number"],
  input[type="date"],
  input[type="password"],
  select,
  textarea
) {
  box-sizing: border-box;
  width: 100%;
  min-height: 54px;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--bbr-line);
  border-radius: 0;
  outline: 0;
  background: var(--bbr-white);
  color: var(--bbr-text);
  font: inherit;
  font-size: 16px;
  line-height: 1.4;
  box-shadow: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease;
}

.wpcf7 textarea {
  min-height: 170px;
  resize: vertical;
}

.wpcf7 select {
  cursor: pointer;
}

.wpcf7 :where(
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="url"],
  input[type="number"],
  input[type="date"],
  input[type="password"],
  select,
  textarea
)::placeholder {
  color: var(--bbr-muted);
  opacity: 0.8;
}

.wpcf7 :where(
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="url"],
  input[type="number"],
  input[type="date"],
  input[type="password"],
  select,
  textarea
):focus {
  border-color: var(--bbr-purple);
  background: var(--bbr-white);
  box-shadow: 0 0 0 4px var(--bbr-focus);
}

.wpcf7 input[type="file"] {
  box-sizing: border-box;
  width: 100%;
  padding: 10px;
  border: 1px solid var(--bbr-line);
  border-radius: 0;
  background: var(--bbr-white);
  color: var(--bbr-muted);
  font: inherit;
  font-size: 14px;
}

.wpcf7 input[type="file"]::file-selector-button {
  min-height: 38px;
  margin-right: 12px;
  padding: 8px 14px;
  border: 1px solid var(--bbr-purple);
  border-radius: 0;
  background: var(--bbr-lavender);
  color: var(--bbr-purple);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.wpcf7 :where(input[type="checkbox"], input[type="radio"]) {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--bbr-purple);
}

.wpcf7 .wpcf7-list-item {
  margin: 0 18px 9px 0;
}

.wpcf7 .wpcf7-list-item label,
.wpcf7 .wpcf7-acceptance label {
  display: inline-flex;
  grid-template-columns: none;
  align-items: flex-start;
  gap: 9px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  cursor: pointer;
}

.wpcf7 :where(input[type="submit"], button[type="submit"], .wpcf7-submit) {
  box-sizing: border-box;
  width: auto;
  min-width: 150px;
  min-height: 48px;
  margin: 0;
  padding: 13px 22px;
  border: 1px solid var(--bbr-purple);
  border-radius: 0;
  background: var(--bbr-purple);
  color: var(--bbr-white);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: none;
  cursor: pointer;
  transition:
    background-color 160ms ease,
    color 160ms ease,
    border-color 160ms ease;
}

.wpcf7 :where(input[type="submit"], button[type="submit"], .wpcf7-submit):hover {
  border-color: var(--bbr-purple-dark);
  background: var(--bbr-purple-dark);
  color: var(--bbr-white);
}

.wpcf7 :where(input[type="submit"], button[type="submit"], .wpcf7-submit):focus-visible {
  outline: 3px solid var(--bbr-focus);
  outline-offset: 3px;
}

.wpcf7 :where(input[type="submit"], button[type="submit"], .wpcf7-submit):disabled {
  cursor: wait;
  opacity: 0.55;
}

.wpcf7 .wpcf7-spinner {
  margin: 0 0 0 12px;
  background-color: var(--bbr-purple);
  vertical-align: middle;
}

.wpcf7 .wpcf7-not-valid {
  border-color: var(--bbr-error) !important;
}

.wpcf7 .wpcf7-not-valid:focus {
  box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.12);
}

.wpcf7 .wpcf7-not-valid-tip {
  display: block;
  margin-top: 7px;
  color: var(--bbr-error);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}

.wpcf7 form .wpcf7-response-output {
  margin: 0;
  padding: 14px 16px;
  border: 0;
  border-left: 3px solid var(--bbr-purple);
  border-radius: 0;
  background: var(--bbr-lavender);
  color: var(--bbr-text);
  font-size: 14px;
  line-height: 1.5;
}

.wpcf7 form.sent .wpcf7-response-output {
  border-left-color: var(--bbr-success);
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output {
  border-left-color: var(--bbr-error);
}

/* Optional two-column layout.
 * Wrap fields in .bbr-form-grid and add .bbr-form-field--full to wide fields.
 */
.wpcf7 .bbr-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.2vw, 30px) clamp(18px, 2vw, 26px);
}

.wpcf7 .bbr-form-field--full {
  grid-column: 1 / -1;
}

@media (max-width: 700px) {
  .wpcf7 .bbr-form-grid {
    grid-template-columns: 1fr;
  }

  .wpcf7 .bbr-form-field--full {
    grid-column: auto;
  }

  .wpcf7 :where(input[type="submit"], button[type="submit"], .wpcf7-submit) {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wpcf7 *,
  .wpcf7 *::before,
  .wpcf7 *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}


.has-xx-large-font-size {
    display: none;
}

:root :where(.wp-block-post-title) {
    color: #1A1461;
}





/* Mobile layout for the three form pages only */
@media (max-width: 781px) {

  /* Contact and Sluit je aan */
  body.page-id-24 .entry-content > .wp-block-columns,
  body.page-id-25 .entry-content > .wp-block-columns {
    flex-direction: column !important;
    flex-wrap: nowrap !important;
  }

  body.page-id-24 .entry-content > .wp-block-columns > .wp-block-column,
  body.page-id-25 .entry-content > .wp-block-columns > .wp-block-column {
    width: 100% !important;
    flex-basis: auto !important;
  }

  /* Sluit je aan: move image above form */
  body.page-id-25
  .entry-content
  > .wp-block-columns
  > .wp-block-column:nth-child(2) {
    order: -1;
  }

  /* Klachten has a nested No wrap Group */
  body.page-id-93
  .entry-content
  > .wp-block-columns
  > .wp-block-column
  > .wp-block-group.is-nowrap {
    flex-direction: column !important;
    flex-wrap: nowrap !important;
  }

  body.page-id-93
  .entry-content
  > .wp-block-columns
  > .wp-block-column
  > .wp-block-group.is-nowrap
  > :is(.wp-block-image, .wp-block-column) {
    width: 100% !important;
    flex-basis: auto !important;
  }
}








/* Hide the duplicated link outside the opened burger menu */
.wp-block-navigation
.wp-block-navigation-item:has(
  > .wp-block-navigation-item__content[href*="/sluit-je-aan"]
) {
  display: none !important;
}

/* Show it when the burger menu is open */
.wp-block-navigation__responsive-container.is-menu-open
.wp-block-navigation-item:has(
  > .wp-block-navigation-item__content[href*="/sluit-je-aan"]
) {
  display: flex !important;
  justify-content: center;
  margin-top: 20px;
}

/* Blue button */
.wp-block-navigation__responsive-container.is-menu-open
.wp-block-navigation-item
> .wp-block-navigation-item__content[href*="/sluit-je-aan"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 17px 34px !important;
  background: #1a1461;
  color: #ffffff !important;
  font-size: 14.4px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.576px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 0;
}

.wp-block-navigation__responsive-container.is-menu-open
.wp-block-navigation-item
> .wp-block-navigation-item__content[href*="/sluit-je-aan"]:hover {
  background: #2b2387;
}





















/*
 * Stichting BBR — site-wide motion layer
 * Paste as a separate stylesheet in WordPress Additional CSS.
 * The effects are progressive: the site remains fully usable without them.
 */

:root {
  --bbr-motion-fast: 180ms;
  --bbr-motion-base: 420ms;
  --bbr-motion-slow: 700ms;
  --bbr-motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --bbr-motion-blue: #21196f;
  --bbr-motion-blue-hover: #30258f;
  --bbr-motion-shadow: 0 14px 34px rgba(33, 25, 111, 0.16);
  --bbr-motion-shadow-soft: 0 10px 26px rgba(33, 25, 111, 0.10);
}

/* CoBlocks can leave this class invisible when its animation script fails. */
.coblocks-animate {
  opacity: 1 !important;
  transform: none;
}

/* ---------------------------------------------------------
   1. Page entrance and scroll reveal
   --------------------------------------------------------- */

@keyframes bbr-hero-title-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bbr-hero-media-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes bbr-reveal-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.home main h1 {
  animation: bbr-hero-title-in 520ms var(--bbr-motion-ease) 40ms both;
}

.home main .wp-block-coblocks-gallery-carousel {
  animation: bbr-hero-media-in 520ms var(--bbr-motion-ease) 120ms both;
}

.home main > .wp-block-group:first-child .wp-block-column:last-child {
  animation: bbr-hero-media-in 520ms var(--bbr-motion-ease) 200ms both;
}

/* Native scroll-driven animation: no script and no layout shift. */
@supports (animation-timeline: view()) {
  main .wp-block-post-content > :where(
    .wp-block-group,
    .wp-block-columns,
    .wp-block-query,
    .wp-block-cover
  ),
  .home main > :where(
    .wp-block-group,
    .wp-block-columns,
    .wp-block-query,
    .wp-block-cover
  ),
  main .wp-block-post,
  main .wp-block-newspack-blocks-homepage-articles article,
  main .aiovg-item-video,
  main details.wp-block-details {
    animation-name: bbr-reveal-up;
    animation-duration: auto;
    animation-fill-mode: both;
    animation-timing-function: var(--bbr-motion-ease);
    animation-timeline: view();
    animation-range: entry 0% entry 65%;
  }

  /* The hero has its own entrance and should never be double-animated. */
  .home main > .wp-block-group:first-child {
    animation: none;
  }
}

/* ---------------------------------------------------------
   2. Header, logo and navigation
   --------------------------------------------------------- */

header.wp-block-template-part .custom-logo {
  transform-origin: center;
  transition: transform var(--bbr-motion-base) var(--bbr-motion-ease);
}

header.wp-block-template-part .wp-block-navigation__responsive-container-open svg,
header.wp-block-template-part .wp-block-navigation__responsive-container-close svg {
  transition: transform var(--bbr-motion-base) var(--bbr-motion-ease);
}

@media (min-width: 782px) {
  header.wp-block-template-part .wp-block-navigation-item__content:not([href*="/sluit-je-aan/"]) {
    position: relative;
  }

  header.wp-block-template-part .wp-block-navigation-item__content:not([href*="/sluit-je-aan/"])::after {
    position: absolute;
    right: 0;
    bottom: -0.35rem;
    left: 0;
    height: 2px;
    background: currentColor;
    content: "";
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform var(--bbr-motion-base) var(--bbr-motion-ease);
  }

  header.wp-block-template-part .wp-block-navigation-item__content:not([href*="/sluit-je-aan/"]):hover::after,
  header.wp-block-template-part .wp-block-navigation-item__content:not([href*="/sluit-je-aan/"]):focus-visible::after,
  header.wp-block-template-part .wp-block-navigation-item__content[aria-current="page"]::after,
  body.home header.wp-block-template-part .wp-block-navigation-item__content[href="https://stichtingbbr.nl/"]::after,
  body.page-id-22 header.wp-block-template-part .wp-block-navigation-item__content[href*="/over-ons/"]::after,
  body.page-id-243 header.wp-block-template-part .wp-block-navigation-item__content[href*="/user-videos/"]::after,
  body.page-id-148 header.wp-block-template-part .wp-block-navigation-item__content[href*="/nieuws-2/"]::after,
  body:is(.single-post, .archive, .category, .tag) header.wp-block-template-part .wp-block-navigation-item__content[href*="/nieuws-2/"]::after,
  body.page-id-93 header.wp-block-template-part .wp-block-navigation-item__content[href*="/klachten/"]::after,
  body.page-id-24 header.wp-block-template-part .wp-block-navigation-item__content[href*="/contact/"]::after,
  body.page-id-25 header.wp-block-template-part .wp-block-navigation-item__content[href*="/sluit-je-aan/"]::after {
    transform: scaleX(1);
    transform-origin: left center;
  }
}

@keyframes bbr-menu-item-in {
  from {
    opacity: 0;
    transform: translateX(18px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

header.wp-block-template-part
  .wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation-item {
  animation: bbr-menu-item-in var(--bbr-motion-base) var(--bbr-motion-ease) both;
}

header.wp-block-template-part
  .wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation-item:nth-child(1) { animation-delay: 40ms; }
header.wp-block-template-part
  .wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation-item:nth-child(2) { animation-delay: 80ms; }
header.wp-block-template-part
  .wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation-item:nth-child(3) { animation-delay: 120ms; }
header.wp-block-template-part
  .wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation-item:nth-child(4) { animation-delay: 160ms; }
header.wp-block-template-part
  .wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation-item:nth-child(5) { animation-delay: 200ms; }
header.wp-block-template-part
  .wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation-item:nth-child(6) { animation-delay: 240ms; }
header.wp-block-template-part
  .wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation-item:nth-child(7) { animation-delay: 280ms; }

/* ---------------------------------------------------------
   3. Buttons and ordinary links
   --------------------------------------------------------- */

.wp-block-button__link,
.wpcf7 input[type="submit"] {
  transition:
    transform var(--bbr-motion-fast) ease,
    background-color var(--bbr-motion-fast) ease,
    border-color var(--bbr-motion-fast) ease,
    box-shadow var(--bbr-motion-base) var(--bbr-motion-ease);
}

.wp-block-button__link:active,
.wpcf7 input[type="submit"]:active {
  transform: translateY(0) scale(0.985);
}

footer.wp-block-template-part a:not(.wp-block-button__link) {
  text-decoration-color: transparent;
  text-underline-offset: 0.25em;
  transition:
    color var(--bbr-motion-fast) ease,
    text-decoration-color var(--bbr-motion-fast) ease;
}

footer.wp-block-template-part a:not(.wp-block-button__link):hover,
footer.wp-block-template-part a:not(.wp-block-button__link):focus-visible {
  text-decoration-color: currentColor;
}

/* ---------------------------------------------------------
   4. Home-page icons and carousel
   --------------------------------------------------------- */

.home main img[src*="ICONS2-"] {
  transform-origin: center;
  transition:
    transform var(--bbr-motion-base) var(--bbr-motion-ease),
    filter var(--bbr-motion-base) ease;
}

.home main .coblocks-gallery--figure {
  overflow: hidden;
}

.home main .coblocks-gallery--figure img {
  transition: transform 900ms var(--bbr-motion-ease);
}

/* ---------------------------------------------------------
   5. News cards, video cards and media
   --------------------------------------------------------- */

main .wp-block-post,
main .wp-block-newspack-blocks-homepage-articles article,
main .aiovg-item-video,
main .wp-block-embed-youtube {
  position: relative;
  transition:
    transform var(--bbr-motion-base) var(--bbr-motion-ease),
    box-shadow var(--bbr-motion-base) var(--bbr-motion-ease);
}

main .wp-block-post-featured-image,
main .wp-block-newspack-blocks-homepage-articles .post-thumbnail,
main .aiovg-responsive-container,
main .wp-block-embed-youtube .wp-block-embed__wrapper {
  overflow: hidden;
}

main .wp-block-post-featured-image img,
main .wp-block-newspack-blocks-homepage-articles .post-thumbnail img,
main .aiovg-responsive-element {
  transition: transform var(--bbr-motion-slow) var(--bbr-motion-ease);
}

main .aiovg-svg-icon-play {
  transform-origin: center;
  transition: transform var(--bbr-motion-base) var(--bbr-motion-ease);
}

main .aiovg-link-title,
main .wp-block-post-title a,
main .wp-block-newspack-blocks-homepage-articles .entry-title a {
  transition: color var(--bbr-motion-fast) ease;
}

/* Contact, complaints, join and about-page photography. */
body:is(.page-id-93, .page-id-24, .page-id-25, .page-id-22)
  main figure.wp-block-image {
  overflow: hidden;
}

body:is(.page-id-93, .page-id-24, .page-id-25, .page-id-22)
  main figure.wp-block-image img {
  transition: transform 900ms var(--bbr-motion-ease);
}

/* ---------------------------------------------------------
   6. FAQ details
   --------------------------------------------------------- */

@keyframes bbr-faq-content-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

main details.wp-block-details {
  transition:
    background-color var(--bbr-motion-base) ease,
    border-color var(--bbr-motion-base) ease;
}

main details.wp-block-details > summary {
  position: relative;
  padding-right: 2rem;
  cursor: pointer;
  list-style: none;
  transition: color var(--bbr-motion-fast) ease;
}

main details.wp-block-details > summary::-webkit-details-marker {
  display: none;
}

main details.wp-block-details > summary::marker {
  content: "";
}

main details.wp-block-details > summary::after {
  position: absolute;
  top: 50%;
  right: 0;
  color: var(--bbr-motion-blue);
  content: "+";
  font-size: 1.45em;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-50%) rotate(0deg);
  transform-origin: center;
  transition: transform var(--bbr-motion-base) var(--bbr-motion-ease);
}

main details.wp-block-details[open] > summary::after {
  transform: translateY(-50%) rotate(45deg);
}

main details.wp-block-details[open] > :not(summary) {
  animation: bbr-faq-content-in 320ms var(--bbr-motion-ease) both;
}

/* ---------------------------------------------------------
   7. Form micro-interactions
   --------------------------------------------------------- */

.wpcf7 label {
  transition: color var(--bbr-motion-fast) ease;
}

.wpcf7 label:focus-within {
  color: var(--bbr-motion-blue);
}

.wpcf7 input:not([type="submit"]),
.wpcf7 select,
.wpcf7 textarea {
  transition:
    border-color var(--bbr-motion-fast) ease,
    box-shadow var(--bbr-motion-base) var(--bbr-motion-ease),
    background-color var(--bbr-motion-fast) ease;
}

.wpcf7 .wpcf7-response-output {
  animation: bbr-faq-content-in var(--bbr-motion-base) var(--bbr-motion-ease) both;
}

/* ---------------------------------------------------------
   8. Hover effects: desktop pointer devices only
   --------------------------------------------------------- */

@media (hover: hover) and (pointer: fine) {
  header.wp-block-template-part .custom-logo-link:hover .custom-logo,
  header.wp-block-template-part .custom-logo-link:focus-visible .custom-logo {
    transform: translateY(-2px) scale(1.025);
  }

  header.wp-block-template-part .wp-block-navigation__responsive-container-open:hover svg,
  header.wp-block-template-part .wp-block-navigation__responsive-container-close:hover svg {
    transform: rotate(90deg);
  }

  .wp-block-button__link:hover,
  .wp-block-button__link:focus-visible,
  .wpcf7 input[type="submit"]:hover,
  .wpcf7 input[type="submit"]:focus-visible {
    background-color: var(--bbr-motion-blue-hover);
    box-shadow: var(--bbr-motion-shadow);
    transform: translateY(-2px);
  }

  .home main .wp-block-column:hover img[src*="ICONS2-"],
  .home main img[src*="ICONS2-"]:focus-visible {
    filter: drop-shadow(0 10px 14px rgba(33, 25, 111, 0.18));
    transform: translateY(-7px) rotate(-2deg) scale(1.035);
  }

  .home main .coblocks-gallery--figure:hover img {
    transform: scale(1.025);
  }

  main .wp-block-post:hover,
  main .wp-block-post:focus-within,
  main .wp-block-newspack-blocks-homepage-articles article:hover,
  main .wp-block-newspack-blocks-homepage-articles article:focus-within,
  main .aiovg-item-video:hover,
  main .aiovg-item-video:focus-within,
  main .wp-block-embed-youtube:hover,
  main .wp-block-embed-youtube:focus-within {
    box-shadow: var(--bbr-motion-shadow-soft);
    transform: translateY(-5px);
  }

  main .wp-block-post:hover .wp-block-post-featured-image img,
  main .wp-block-post:focus-within .wp-block-post-featured-image img,
  main .wp-block-newspack-blocks-homepage-articles article:hover .post-thumbnail img,
  main .wp-block-newspack-blocks-homepage-articles article:focus-within .post-thumbnail img,
  main .aiovg-item-video:hover .aiovg-responsive-element,
  main .aiovg-item-video:focus-within .aiovg-responsive-element {
    transform: scale(1.04);
  }

  main .aiovg-item-video:hover .aiovg-svg-icon-play,
  main .aiovg-item-video:focus-within .aiovg-svg-icon-play {
    transform: scale(1.12);
  }

  body:is(.page-id-93, .page-id-24, .page-id-25, .page-id-22)
    main figure.wp-block-image:hover img {
    transform: scale(1.025);
  }
}

/* ---------------------------------------------------------
   9. Accessibility: respect the visitor's motion preference
   --------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }

  body:not(.wp-admin):not(.login) *,
  body:not(.wp-admin):not(.login) *::before,
  body:not(.wp-admin):not(.login) *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .coblocks-animate,
  .home main h1,
  .home main .wp-block-coblocks-gallery-carousel,
  .home main > .wp-block-group:first-child .wp-block-column:last-child {
    opacity: 1 !important;
    transform: none !important;
  }
}







/* Wider text column on single blog posts */
@media (min-width: 782px) {
  body.single-post .wp-block-post-content.is-layout-constrained {
    --wp--style--global--content-size: 820px;
  }

  body.single-post
  .wp-block-post-content
  > :where(p, h2, h3, h4, ul, ol, blockquote, table)
  :not(.alignwide):not(.alignfull) {
    max-width: 820px;
  }
}





/* Wider single-video pages */
@media (min-width: 782px) {
  body.single-aiovg_videos
  .wp-block-post-content.is-layout-constrained {
    --wp--style--global--content-size: 820px;
  }

  body.single-aiovg_videos
  .wp-block-post-content
  > :where(.aiovg-single-video, .aiovg-videos) {
    width: 100%;
    max-width: 820px !important;
  }
}




main .wp-block-post, main .wp-block-newspack-blocks-homepage-articles article, main .aiovg-item-video, main .wp-block-embed-youtube {
    position: relative;
    transition: transform var(--bbr-motion-base) var(--bbr-motion-ease), box-shadow var(--bbr-motion-base) var(--bbr-motion-ease);
    padding: 10px;
    border-radius: 10px;
}