/*
 * The theme's own styles. The home page and the campaign landing page are styled by
 * base.css and the stylesheets in css/pages. This file styles the parts every page
 * shares (footer, back-to-top button, admin bar offset) and the interior pages.
 *
 * Colours: brown #472c10, dark brown #2f1c0a, tan #e6d3b3, cream #f7f2ea.
 */

/* Links to page sections stop below the fixed 86px navigation bar. */
html {
  scroll-padding-top: 100px;
}

[x-cloak] {
  display: none !important;
}

/* Navigation bar (parts/site-nav.php). Its utility classes are in tailwind.css. */
/* Above the back-to-top button (9990); the wrapper's z-50 would otherwise cap the whole
   bar and the mobile menu at 50. */
#aibroker-nav-wrapper {
  z-index: 10000;
}
#aibroker-nav-wrapper .nav-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  height: 86px;
  background: #ffffff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
#aibroker-nav-wrapper .menu-overlay {
  background: rgba(47, 28, 10, 0.97);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

/* Keep the fixed navigation below the admin bar for logged-in users. */
.admin-bar #aibroker-nav-wrapper .nav-container {
  top: 32px;
}
@media screen and (max-width: 782px) {
  .admin-bar #aibroker-nav-wrapper .nav-container {
    top: 46px;
  }
}

/* ------------------------------------------------------------------ */
/* Interior pages: banner                                              */
/* ------------------------------------------------------------------ */

.aib-nav-space {
  height: 86px;
}

.aib-banner {
  display: flex;
  align-items: flex-end;
  min-height: 400px;
  background-color: #472c10;
  background-image: linear-gradient(135deg, #5a3814 0%, #472c10 45%, #2f1c0a 100%);
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
  color: #ffffff;
}
/* The featured image, darkened so the title stays readable. The template sets one
   image per screen size (see aib_banner_images()). */
.aib-banner--image {
  background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), var(--aib-banner-sm);
}
@media (min-width: 768px) {
  .aib-banner--image {
    background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), var(--aib-banner-md);
  }
}
@media (min-width: 1200px) {
  .aib-banner--image {
    background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), var(--aib-banner-lg);
    background-attachment: fixed;
  }
}
.aib-banner .aib-banner__inner {
  box-sizing: border-box;
  width: 100%;
  padding: 150px 20px 60px;
  text-align: center;
}
.u-body .aib-banner .aib-banner__title {
  font-family: Montserrat, sans-serif;
  font-size: 3.75rem;
  font-weight: 600;
  line-height: 1.15;
  color: #ffffff;
  margin: 0;
}
.u-body .aib-banner p.aib-banner__meta {
  margin: 12px 0 0;
  color: #e6d3b3;
}

/* ------------------------------------------------------------------ */
/* Interior pages: content from the editor                             */
/* ------------------------------------------------------------------ */

.aib-main {
  padding: 56px 0 80px;
}

/* Same width as the Contact us form (.aib-contact__inner). */
.aib-main .aib-entry,
.aib-main .aib-comments {
  position: relative;
  box-sizing: border-box;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}
.aib-main .aib-entry {
  font-family: Poppins, sans-serif;
  color: #4a4a4a;
}
.aib-main .aib-entry + .aib-entry,
.aib-main .aib-comments {
  margin-top: 40px;
}

/* base.css colours every paragraph brown (p:not(.u-text-variant)); content text is grey. */
.aib-main .aib-entry p,
.aib-entry li {
  color: inherit;
  font-size: 1rem;
  line-height: 1.75;
}
.aib-entry p {
  margin: 0 0 18px;
}
.aib-entry a {
  color: #472c10;
  text-decoration: underline;
}
.aib-entry a:hover {
  color: #2f1c0a;
}
.aib-entry strong,
.aib-entry b {
  font-weight: 600;
}
.u-body .aib-entry h2,
.u-body .aib-entry h3,
.u-body .aib-entry h4 {
  font-family: Montserrat, sans-serif;
  color: #111111;
  scroll-margin-top: 100px;
}
.u-body .aib-entry h2 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 44px 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e6d3b3;
}
.u-body .aib-entry > h2:first-child {
  margin-top: 0;
}
.u-body .aib-entry h3 {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
  color: #472c10;
  margin: 24px 0 8px;
}
.u-body .aib-entry h4 {
  font-size: 1rem;
  font-weight: 600;
  margin: 20px 0 8px;
}
.aib-entry ul,
.aib-entry ol {
  margin: 0 0 18px;
  padding-left: 22px;
}
.aib-entry ul {
  list-style: disc;
}
.aib-entry ol {
  list-style: decimal;
}
.aib-entry li {
  margin: 4px 0;
}
.aib-entry img {
  max-width: 100%;
  height: auto;
}
.aib-entry figure {
  margin: 0 0 18px;
}
.aib-entry blockquote {
  margin: 0 0 18px;
  padding: 4px 0 4px 20px;
  border-left: 4px solid #e6d3b3;
}

/* Privacy policy blocks: contents, purposes table, company details, last updated. */
.aib-entry .pp-toc {
  background-color: #f7f2ea;
  border-radius: 12px;
  padding: 22px 26px;
  margin: 26px 0 0;
}
.aib-main .aib-entry .pp-toc-title {
  font-family: Montserrat, sans-serif;
  font-weight: 600;
  color: #472c10;
  margin: 0 0 8px;
}
.aib-entry .pp-toc ol {
  margin: 0;
  padding-left: 26px;
  columns: 2;
  column-gap: 36px;
}
.aib-entry .pp-toc li {
  margin: 0 0 6px;
  break-inside: avoid;
}
.aib-entry .pp-toc a {
  text-decoration: none;
}
.aib-entry .pp-toc a:hover {
  text-decoration: underline;
}
.aib-entry .pp-table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0 18px;
  font-size: 0.9375rem;
  line-height: 1.6;
}
.aib-entry .pp-table th,
.aib-entry .pp-table td {
  text-align: left;
  vertical-align: top;
  padding: 12px 14px;
  border: 1px solid #dcd3c9;
}
.aib-entry .pp-table th {
  background-color: #472c10;
  color: #ffffff;
  font-weight: 500;
}
.aib-entry .pp-table th:first-child {
  width: 55%;
}
.aib-entry .pp-contact {
  background-color: #f7f2ea;
  border-left: 4px solid #472c10;
  border-radius: 8px;
  padding: 18px 22px;
  margin: 16px 0;
}
.aib-entry .pp-contact p {
  margin: 0;
}
.aib-main .aib-entry .pp-updated {
  color: #6b6b6b;
  font-size: 0.875rem;
}
.aib-entry > .pp-updated:first-child {
  margin-bottom: 0;
}

/* Lists of posts, pagination, buttons. */
.aib-list {
  display: grid;
  gap: 30px;
}
.u-body .aib-card h2 {
  border: 0;
  padding: 0;
  margin: 0 0 6px;
}
.aib-card h2 a {
  text-decoration: none;
}
.aib-main .aib-entry .aib-meta {
  color: #6b6b6b;
  font-size: 0.875rem;
  margin: 0 0 10px;
}
.aib-entry .aib-button {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  color: #ffffff;
  background-color: #472c10;
  text-decoration: none;
}
.aib-entry .nav-links {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 40px;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

@media (max-width: 767px) {
  .aib-banner {
    min-height: 260px;
  }
  .aib-banner .aib-banner__inner {
    padding: 90px 20px 40px;
  }
  .u-body .aib-banner .aib-banner__title {
    font-size: 2.25rem;
  }
  .aib-main {
    padding: 40px 0 56px;
  }
  .aib-entry .pp-toc ol {
    columns: 1;
  }
  /* Each purpose becomes a small card: the purpose on top, its legal basis below. */
  .aib-entry .pp-table,
  .aib-entry .pp-table tbody,
  .aib-entry .pp-table tr,
  .aib-entry .pp-table td {
    display: block;
  }
  .aib-entry .pp-table thead {
    display: none;
  }
  .aib-entry .pp-table tr {
    margin-bottom: 12px;
  }
  .aib-entry .pp-table td:first-child {
    background-color: #f7f2ea;
    font-weight: 600;
    color: #472c10;
  }
  .aib-entry .pp-table td + td {
    border-top: 0;
  }
  .aib-entry .pp-table td + td::before {
    content: "Legal basis: ";
    font-weight: 600;
  }
}

/* ------------------------------------------------------------------ */
/* Contact form (parts/contact-form.php), above the footer             */
/* ------------------------------------------------------------------ */

.aib-contact {
  background: #f7f2ea;
  padding: 80px 0;
  font-family: Montserrat, sans-serif;
  color: #472c10;
}
.aib-contact .aib-contact__inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.aib-contact .aib-contact__head {
  text-align: center;
}
.aib-contact .aib-contact__eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 0 14px;
  font-family: Montserrat, sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8a6430;
}
.aib-contact .aib-contact__eyebrow::before,
.aib-contact .aib-contact__eyebrow::after {
  content: "";
  width: 36px;
  height: 2px;
  background-color: #c9a878;
}
.aib-contact .aib-contact__title {
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  font-family: Montserrat, sans-serif;
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #472c10;
}
.aib-contact .aib-contact__intro {
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: #5a3814;
}
.aib-contact .aib-contact__form {
  position: relative;
  margin: 36px 0 0;
  padding: 36px;
  background: #ffffff;
  border: 1px solid #ece4d8;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(71, 44, 16, 0.08);
}
.aib-contact .aib-contact__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.aib-contact .aib-contact__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px 24px;
}
.aib-contact .aib-contact__field {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.aib-contact .aib-contact__message {
  grid-column: 2 / span 2;
  display: flex;
  flex-direction: column;
}
.aib-contact .aib-contact__field > label,
.aib-contact .aib-contact__services legend {
  display: block;
  float: none;
  width: auto;
  margin: 0 0 8px;
  padding: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #472c10;
}
.aib-contact .aib-contact__req {
  color: #a4161a;
}
.aib-contact .aib-contact__field input,
.aib-contact .aib-contact__field textarea {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-height: 50px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #d9d0c4;
  border-radius: 6px;
  background: #ffffff;
  font: inherit;
  font-size: 1rem;
  color: #1f1206;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.aib-contact .aib-contact__field textarea {
  flex: 1;
  min-height: 112px;
  resize: vertical;
}
.aib-contact .aib-contact__field input:focus,
.aib-contact .aib-contact__field textarea:focus {
  border-color: #472c10;
  box-shadow: 0 0 0 1px #472c10;
  outline: none;
}
.aib-contact .aib-contact__services .aib-contact__radio {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  font-size: 1rem;
  font-weight: 500;
  color: #472c10;
  cursor: pointer;
}
.aib-contact .aib-contact__field .aib-contact__radio input {
  flex: none;
  width: 18px;
  height: 18px;
  min-height: 0;
  margin: 0;
  padding: 0;
  accent-color: #472c10;
}
.aib-contact .aib-contact__field.is-invalid input,
.aib-contact .aib-contact__field.is-invalid textarea {
  border-color: #a4161a;
  box-shadow: 0 0 0 1px #a4161a;
  background: #fff7f7;
}
.aib-contact .aib-contact__field.is-invalid .aib-contact__radio input {
  box-shadow: none;
}
.aib-contact .aib-contact__services.is-invalid legend {
  color: #a4161a;
}
.aib-contact .aib-contact__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  margin-top: 26px;
}
.aib-contact .aib-contact__note {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #6b6b6b;
}
.aib-contact .aib-contact__note a {
  color: #472c10;
  text-decoration: underline;
}
.aib-contact .aib-contact__submit {
  flex: none;
  padding: 15px 40px;
  border: 0;
  border-radius: 6px;
  background: #472c10;
  font-family: Montserrat, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  transition: background-color 0.15s;
}
.aib-contact .aib-contact__submit:hover {
  background: #2f1c0a;
}
.aib-contact .aib-contact__submit:focus-visible {
  outline: 2px solid #472c10;
  outline-offset: 3px;
}
.aib-contact .aib-contact__submit[disabled] {
  opacity: 0.65;
  cursor: default;
}
.aib-contact .aib-contact__status {
  margin: 18px 0 0;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.6;
}
.aib-contact .aib-contact__status.is-error {
  color: #a4161a;
}
.aib-contact .aib-contact__status.is-success {
  color: #1b6b3a;
}
@media (max-width: 991px) {
  .aib-contact .aib-contact__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .aib-contact .aib-contact__grid > :nth-child(3),
  .aib-contact .aib-contact__services,
  .aib-contact .aib-contact__message {
    grid-column: 1 / -1;
  }
  .aib-contact .aib-contact__services {
    display: flex;
    flex-wrap: wrap;
    gap: 0 24px;
  }
  .aib-contact .aib-contact__services legend {
    width: 100%;
  }
}
@media (max-width: 767px) {
  .aib-contact {
    padding: 56px 0;
  }
  .aib-contact .aib-contact__title {
    font-size: 2rem;
  }
  .aib-contact .aib-contact__form {
    padding: 24px 20px;
  }
  .aib-contact .aib-contact__actions {
    flex-direction: column;
    align-items: stretch;
  }
}
@media (max-width: 575px) {
  .aib-contact .aib-contact__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .aib-contact .aib-contact__services {
    display: block;
  }
}

/* ------------------------------------------------------------------ */
/* Footer                                                              */
/* ------------------------------------------------------------------ */

.aib-footer {
  position: relative;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.72);
  background: linear-gradient(180deg, #3b240d 0%, #2a1909 55%, #1f1206 100%);
  font-family: Poppins, sans-serif;
  font-size: 0.9375rem;
  line-height: 1.6;
}
/* Thin gold line along the top. */
.aib-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #8a6430 0%, #e6d3b3 35%, #f4e7cc 50%, #e6d3b3 65%, #8a6430 100%);
}
.aib-footer *,
.aib-footer *::before,
.aib-footer *::after {
  box-sizing: border-box;
}
.aib-footer .aib-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px 0;
}
.aib-footer p,
.aib-footer ul,
.aib-footer li {
  margin: 0;
  padding: 0;
}
/* base.css colours every paragraph brown (p:not(.u-text-variant)). */
.aib-footer .aib-footer__inner p {
  color: inherit;
}
.aib-footer ul {
  list-style: none;
}
.aib-footer a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
.aib-footer a:hover,
.aib-footer a:focus-visible {
  color: #ffffff;
}

/* Call to action */
.aib-footer .aib-footer__cta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px 48px;
  flex-wrap: wrap;
}
.aib-footer .aib-footer__cta-text {
  max-width: 640px;
}
.aib-footer .aib-footer__inner .aib-footer__eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  font-family: Montserrat, sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #e6d3b3;
}
.aib-footer .aib-footer__eyebrow::before {
  content: "";
  width: 36px;
  height: 2px;
  background-color: #e6d3b3;
}
.u-body .aib-footer .aib-footer__heading {
  margin: 0;
  padding: 0;
  font-family: Montserrat, sans-serif;
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #ffffff;
}
.aib-footer .aib-footer__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.aib-footer .aib-footer__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border: 1.5px solid #ffffff;
  border-radius: 999px;
  font-family: Montserrat, sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.aib-footer .aib-footer__btn--solid {
  background-color: #ffffff;
  color: #2f1c0a;
}
.aib-footer .aib-footer__btn--solid:hover,
.aib-footer .aib-footer__btn--solid:focus-visible {
  background-color: #e6d3b3;
  border-color: #e6d3b3;
  color: #2f1c0a;
}
.aib-footer .aib-footer__btn--outline {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.55);
}
.aib-footer .aib-footer__btn--outline:hover,
.aib-footer .aib-footer__btn--outline:focus-visible {
  border-color: #ffffff;
  background-color: rgba(255, 255, 255, 0.08);
}

/* Contact cards */
.aib-footer .aib-footer__contacts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(230, 211, 179, 0.18);
}
.aib-footer .aib-footer__contact {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  border: 1px solid rgba(230, 211, 179, 0.16);
  border-radius: 16px;
  background-color: rgba(255, 255, 255, 0.04);
}
.aib-footer .aib-footer__icon {
  display: inline-flex;
  flex: 0 0 48px;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #e6d3b3;
  color: #472c10;
}
.aib-footer .aib-footer__label {
  display: block;
  margin-bottom: 2px;
  font-family: Montserrat, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e6d3b3;
}
.aib-footer .aib-footer__value {
  display: block;
  font-family: Montserrat, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  color: #ffffff;
}
.aib-footer a.aib-footer__value:hover {
  color: #e6d3b3;
}

/* Brand and link columns */
.aib-footer .aib-footer__main {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-top: 56px;
}
.aib-footer .aib-footer__inner .aib-footer__name {
  margin-bottom: 14px;
  font-family: Montserrat, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
}
.aib-footer .aib-footer__name span {
  color: #e6d3b3;
}
.aib-footer .aib-footer__about {
  max-width: 340px;
}
.aib-footer .aib-footer__inner .aib-footer__badge {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 340px;
  margin-top: 22px;
  padding: 12px 16px;
  border: 1px solid rgba(230, 211, 179, 0.2);
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.05);
  font-size: 0.8125rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
}
.aib-footer .aib-footer__check {
  display: inline-flex;
  flex: 0 0 20px;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 50%;
  background-color: #3fa86b;
  color: #ffffff;
}
.u-body .aib-footer .aib-footer__col-title {
  margin: 0 0 18px;
  padding: 0;
  font-family: Montserrat, sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e6d3b3;
}
.aib-footer .aib-footer__col li + li {
  margin-top: 10px;
}

/* Bottom bar */
.aib-footer .aib-footer__bottom {
  position: relative;
  display: flex;
  margin-top: 48px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding: 22px 0 26px;
  border-top: 1px solid rgba(230, 211, 179, 0.18);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
}
.aib-footer .aib-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
}
.aib-footer .aib-footer__dot {
  color: rgba(230, 211, 179, 0.6);
}
.aib-footer .aib-footer__credit a {
  color: #e6d3b3;
  font-weight: 500;
}
.aib-footer .aib-footer__credit a:hover {
  color: #ffffff;
}

@media (max-width: 1023px) {
  .aib-footer .aib-footer__main {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .aib-footer .aib-footer__brand {
    grid-column: 1 / -1;
  }
  .aib-footer .aib-footer__about,
  .aib-footer .aib-footer__badge {
    max-width: 520px;
  }
}
@media (max-width: 767px) {
  .aib-footer .aib-footer__inner {
    padding: 64px 22px 0;
  }
  .u-body .aib-footer .aib-footer__heading {
    font-size: 2rem;
  }
  .aib-footer .aib-footer__contacts {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 40px;
    padding-bottom: 40px;
  }
  .aib-footer .aib-footer__main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 24px;
    padding-top: 40px;
  }
  .aib-footer .aib-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 479px) {
  .aib-footer .aib-footer__main {
    grid-template-columns: 1fr;
  }
  .aib-footer .aib-footer__btn {
    flex: 1 1 auto;
    justify-content: center;
  }
}

/* ------------------------------------------------------------------ */
/* Back to top                                                         */
/* ------------------------------------------------------------------ */

.aib-back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9990;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #e6d3b3;
  color: #472c10;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s, background-color 0.2s ease;
}
.aib-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.aib-back-to-top:hover,
.aib-back-to-top:focus-visible {
  background-color: #ffffff;
  color: #472c10;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .aib-back-to-top {
    transition: none;
  }
}
