@media screen and (max-width: 767px) {
  [data-aos] {
    pointer-events: auto !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 767px) {
  /* Ensure the wrapper flows in a single column */
  .content-two-columns .o-wrapper {
    display: flex;
    flex-direction: column;
  }

  /* Force the image column to come first */
  .content-two-columns .column.image {
    order: 0;
  }

  /* Make the text column come after */
  .content-two-columns .column:not(.image) {
    order: 1;
  }
}

@media (max-width: 767px) {
  /* Force the wrapper to stack vertically */
  .content-two-columns .o-wrapper {
    display: flex !important;
    flex-direction: column !important;
  }

  /* If inverter-order is applied, ignore its desktop order rules:
     ensure .column.image is always first */
  .content-two-columns.inverter-order .column.image {
    order: 0 !important;
  }

  /* And force the text column to come after the image */
  .content-two-columns.inverter-order .column:not(.image) {
    order: 1 !important;
  }

  /* Even if inverter-order isn’t set, you may want the same logic: */
  .content-two-columns:not(.inverter-order) .column.image {
    order: 0 !important;;
  }
  .content-two-columns:not(.inverter-order) .column:not(.image) {
    order: 1 !important;;
  }
	
	.o-wrapper .content p {
		margin-top: -25px!important;
	}
	.o-wrapper .content {
		margin-bottom: -40px!important;
	}
	.o-wrapper .image {
		margin-top: -30px!important;
	}
}

/* Divider block wrapper */
.block-divider {
  position: relative;
  width: 100%;
  text-align: center;
}

/* Full-width modifier (ignores inner wrapper) */
.block-divider.is-full-width .o-wrapper--inner {
  max-width: none;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}

/* The actual line */
.block-divider .divider-line {
  display: block;
  margin: 0 auto;
  border: 0;
  border-top: 1px solid #e1e1e1; /* light grey line */
  width: 50%;                /* default line length */
}

/* Utility: smaller or larger lines via extra CSS class */
.block-divider.extra-small .divider-line {
  width: 25%;
}

.block-divider.extra-large .divider-line {
  width: 75%;
}

/* Section wrapper */
.content-accordion--full {
  width: 90%;              /* mobile & tablet */
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
  background: transparent; /* no grey tint */
}

@media (min-width: 1025px) {
  .content-accordion--full {
    width: 686px;          /* desktop fixed width */
  }
}

/* Shared container for heading + accordion list */
.content-accordion .c-accordion__container {
  width: 100%;
  padding: 0;
}

/* Heading styling (inside same container) */
.c-accordion__heading {
  margin: 0 0 30px;
  font-weight: 700;
}

/* Accordion items */
.c-accordion__item {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(11, 22, 51, 0.04);
}

.c-accordion__item + .c-accordion__item {
  margin-top: 14px;
}

/* Button styles */
.c-accordion__button {
  width: 100%;
  text-align: left;
  background: #0059AB; /* brand blue */
  border: 0;
  padding: 18px 56px 18px 18px;
  font: 600 1.063rem/1.3 system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  color: #ffffff;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  cursor: pointer;
  position: relative;
  transition: background 0.2s ease;
}

.c-accordion__button:hover {
  background: #004a91; /* darker blue hover */
}

.c-accordion__button:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 2px;
  position: relative;
  z-index: 1;
}

.c-accordion__title {
  margin-right: 10px;
}

/* Chevron icon */
.c-accordion__icon {
  position: absolute;
  right: 18px;
  width: 20px;
  height: 20px;
  pointer-events: none;
}

.c-accordion__icon::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.41 8.58 12 13.17l4.59-4.59L18 10l-6 6-6-6z'/%3E%3C/svg%3E") center / contain no-repeat;
  background: #ffffff;
  transition: transform .2s ease;
}

[aria-expanded="true"] .c-accordion__icon::before {
  transform: rotate(180deg);
}

/* Panel styles */
.c-accordion__panel[hidden] {
  display: block;
  max-height: 0;
  overflow: hidden;
}

.c-accordion__panel {
  transition: max-height .2s ease;
  will-change: max-height;
  background: #ffffff;
}

/* Content inside panel */
.c-accordion__content {
  padding: 16px 18px 20px;
  color: #0B1633;
}

.c-accordion__content p {
  margin: 0 0 0.9em;
}

/* Button state when open */
[aria-expanded="true"].c-accordion__button {
  background: #004a91;
}

/* Optional separator style */
.content-accordion.separator {
  border-top: 1px solid rgba(11, 22, 51, 0.2);
  padding-top: clamp(16px, 4vw, 28px);
}
