/* ============================================================
   footer
   ============================================================ */

/* ---- variables ---- */
.footer__exhibition {
  /* colours */
  --footer-bg: #0A0D12;
  --footer-text: #F8FAFD;
  --footer-accent: #2cbced; /* hover / link highlight */
  --footer-border: #F8FAFD;
  --footer-text-invert: #0A0D12;

  /* layout */
  --footer-max-width: 990px;
  --footer-padding: 2rem;
  --footer-social-size: 40px;

  /* font sizes */
  --footer-fs-title: 2rem;    /* newsletter title */
  --footer-fs-lg: 1.6rem;     /* subtitle, nav links, h3 */
  --footer-fs-md: 1.4rem;     /* headings, right links */
  --footer-fs-sm: 1.2rem;     /* body copy, sub-nav */
  --footer-fs-input: 16px;    /* form input + button */
  --footer-fs-arrow: 24px;    /* submit arrow */
  --footer-fs-contact: 14px;  /* contact details */
}

/* ---- base ---- */
.footer__exhibition {
  background-color: var(--footer-bg);
  color: var(--footer-text);
  width: 100%;
}

.footer__exhibition .footer__top {
  background-color: var(--footer-bg);
  /*display: none;*/
}

/* ============================================================
   Newsletter form
   ============================================================ */
.footer__exhibition .footer-form .footer-form__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8rem;
  max-width: var(--footer-max-width);
  margin: 0 auto;
  padding: var(--footer-padding);
  flex-wrap: wrap;
}

@media (max-width: 780px) {
  .footer__exhibition .footer-form .footer-form__container {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
}

.footer__exhibition .footer-form .logo {
  text-decoration: none;
  flex-shrink: 0;
}

.footer__exhibition .footer-form .logo svg,
.footer__exhibition .footer-form .logo .svg-container svg {
  fill: var(--footer-text);
  max-width: 75px;
  display: block;
  /*filter: brightness(0) invert(1);*/
}

.footer__exhibition .footer-form .form-description {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex: 1;
}

@media (max-width: 600px) {
  .footer__exhibition .footer-form .form-description {
    gap: 1rem;
  }
}

.footer__exhibition .footer-form .form-text__wrapper {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}

.footer__exhibition .footer-form .form-title {
  font-size: var(--footer-fs-title);
  font-weight: bold;
  text-transform: uppercase;
  margin: 0;
}

.footer__exhibition .footer-form .form-subtitle {
  font-size: var(--footer-fs-lg);
  font-weight: 400;
  line-height: normal;
  margin: 0;
}

@media (max-width: 780px) {
  .footer__exhibition .footer-form .form-subtitle br {
    display: none;
  }
}

/* ---- Form input ---- */
.footer__exhibition .footer-form .form-input {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 2px solid var(--footer-border);
  padding-bottom: 4px;
  flex-shrink: 0;
  min-width: 260px;
}

@media (max-width: 780px) {
  .footer__exhibition .footer-form .form-input {
    width: 100%;
    min-width: unset;
  }
}

.footer__exhibition .footer-form .form-input form {
  width: 100%;
}

.footer__exhibition .footer-form .form-input .input__wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  background-color: transparent;
  width: 100%;
}

.footer__exhibition .footer-form .form-input input[type="email"] {
  background-color: transparent;
  border: none;
  outline: none;
  color: var(--footer-text);
  padding-left: 0;
  font-weight: 200;
  min-width: 0;
  flex: 1;
}

.footer__exhibition .footer-form .form-input input[type="email"]::placeholder {
  color: var(--footer-text);
  opacity: 1;
  font-size: var(--footer-fs-input);
  font-weight: 200;
}

.footer__exhibition .footer-form .form-input button {
  display: flex;
  padding: 0;
  margin: 0;
  background-color: transparent;
  border: none;
  color: var(--footer-text);
  font-size: var(--footer-fs-input);
  font-weight: 400;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  gap: 5px;
  align-items: center;
}

.footer__exhibition .footer-form .form-input button:hover {
  opacity: 0.8;
}

.footer__exhibition .footer-form .form-input span { /* arrow */
  font-size: var(--footer-fs-arrow);
}

.footer__exhibition .footer-form .form-input #wordfly-email-error {
  position: absolute;
  bottom: -40px;
  padding: 0;
}

/* ============================================================
   Footer bottom
   ============================================================ */
.footer__exhibition .footer__bottom {
  background-color: var(--footer-bg);
}

/* ensure content isn't hidden behind mobile nav */
@media screen and (max-width: 990px) {
  .footer__exhibition .footer__bottom {
    padding-bottom: 65px;
  }
}

.footer__exhibition .footer__bottom hr {
  border: none;
  border-top: 1px solid var(--footer-border);
  width: calc(100% - 4rem);
  max-width: calc(var(--footer-max-width) - 4rem);
  margin: 0 auto;
}

.footer__exhibition .footer__container {
  max-width: var(--footer-max-width);
  margin: 0 auto;
  padding: 0;
}

/* get rid of :before tag on default styling */
.footer__exhibition .footer__container::before {
  display: none;
}

.footer__exhibition .footer_container_wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: var(--footer-padding);
}

@media (max-width: 780px) {
  .footer__exhibition .footer_container_wrapper {
    flex-direction: column;
  }
}

/* ---- Left ---- */
.footer__exhibition .footer__left a {
  display: block;
  max-width: 450px;
}

.footer__exhibition .footer__left a img {
  width: 100%;
  display: block;
}

/* ---- Right ---- */
.footer__exhibition .footer__right .footer__contents {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer__exhibition .footer__right .footer__contact-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-style: normal;
  font-size: var(--footer-fs-contact);
  color: var(--footer-text);
  text-align: right;
}

.footer__exhibition .footer__right .footer__contact-details .contact-heading,
.footer__exhibition .footer__right .footer__contact-details .heading {
  color: var(--footer-text);
  font-weight: bold;
}

.footer__exhibition .footer__right .footer__contact-details .contact-heading a,
.footer__exhibition .footer__right .footer__contact-details .heading a {
  color: var(--footer-text);
  text-decoration: underline;
}

.footer__exhibition .footer__right .footer__contact-details .contact-heading a:hover,
.footer__exhibition .footer__right .footer__contact-details .heading a:hover {
  color: var(--footer-accent);
}

.footer__exhibition .footer__right .footer__contact-details a {
  color: var(--footer-text);
  text-decoration: underline;
}

.footer__exhibition .footer__right .footer__contact-details a:hover {
  color: var(--footer-accent);
}

.footer__exhibition .footer__right .contact-section {
  line-height: 1.5;
}

/* ---- Social links ---- */
.footer__exhibition .footer__right .social__links {
  padding: 0;
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.footer__exhibition .footer__right .social__links ul {
  display: flex;
  flex-direction: row;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 8px;
}

.footer__exhibition .footer__right .social__links li {
  padding: 0;
}

.footer__exhibition .footer__right .social__links a {
  display: block;
  position: relative;
  width: var(--footer-social-size);
  height: var(--footer-social-size);
  border-radius: 50%;
  font-size: 2rem;
  text-decoration: none;
  transition: background-color 0.15s linear;
  background: var(--footer-text);
  color: var(--footer-bg);
}

.footer__exhibition .footer__right .social__links a:hover {
  background-color: var(--footer-accent);
}

.footer__exhibition .footer__right .social__links a i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@media (max-width: 780px) {
  .footer__exhibition .footer__right .footer__contact-details {
    text-align: center;
  }

  .footer__exhibition .footer__right .social__links {
    justify-content: center;
  }
}

/* ============================================================
   Sitemap / nav
   ============================================================ */
.footer__exhibition .footer__sitemap-section {
  padding: var(--footer-padding);
}

.footer__exhibition .footer__nav-group {
  display: flex;
  flex: 1;
  gap: 20px;
  justify-content: space-between;
}

.footer__exhibition .footer__nav-group a {
  transition: all 0.25s ease-in-out;
}

.footer__exhibition .footer__nav-group a:hover {
  color: var(--footer-accent);
}

@media (max-width: 780px) {
  .footer__exhibition .footer__nav-group {
    flex-wrap: wrap;
    gap: 32px;
  }
}

.footer__exhibition .footer__nav-col a {
  font-size: var(--footer-fs-lg);
  color: var(--footer-text);
  text-decoration: none;
}

.footer__exhibition .footer__nav-col a:hover {
  color: var(--footer-accent);
}

.footer__exhibition .footer__nav-col h4 {
  font-size: var(--footer-fs-md);
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.footer__exhibition .footer__nav-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-left: 10px;
  padding: 0;
}

.footer__exhibition .footer__nav-col ul a {
  font-size: var(--footer-fs-sm);
  display: block;
  padding-left: 1rem;
  text-indent: -1rem;
}

.footer__exhibition .footer__nav-col .footer__right-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: right;
}

.footer__exhibition .footer__nav-col .footer__right-links a {
  font-size: var(--footer-fs-md);
  font-weight: bold;
}

@media (max-width: 780px) {
  .footer__exhibition .footer__nav-col .footer__right-links {
    text-align: left;
  }

  .footer__exhibition .footer__nav-col {
    min-width: 200px;
  }
}

.footer__exhibition .footer__block {
  max-width: var(--footer-max-width);
  margin: 0 auto;
}

/* ============================================================
   Acknowledgement
   ============================================================ */
.footer__exhibition .footer__acknowledgement-section {
  padding: var(--footer-padding);
}

.footer__exhibition .footer__acknowledgement-section .acknowledgement-text {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.footer__exhibition .footer__acknowledgement-section .acknowledgement-text p {
  color: var(--footer-text);
  font-size: var(--footer-fs-sm);
  line-height: 1.6;
  margin: 0px !important;
}

/* ============================================================
   Additional / sub-nav
   ============================================================ */
.footer__exhibition .footer__additional {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding: var(--footer-padding);
}

.footer__exhibition .footer__additional p {
  color: var(--footer-text);
  font-weight: 100;
  font-size: var(--footer-fs-sm);
  margin: 0;
}

@media (max-width: 780px) {
  .footer__exhibition .footer__additional {
    flex-direction: column;
    text-align: center;
  }
}

.footer__exhibition .footer__subnav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
}

@media (max-width: 780px) {
  .footer__exhibition .footer__subnav ul {
    justify-content: center;
  }
}

.footer__exhibition .footer__subnav li::before {
  color: var(--footer-text);
}

.footer__exhibition .footer__subnav a {
  color: var(--footer-text);
  text-decoration: none;
  font-size: var(--footer-fs-sm);
}

.footer__exhibition .footer__subnav a:hover {
  color: var(--footer-text-invert);
}