/* artiststudioaffordabilityproject.org — header C (site gradient) + footer 2 (light strip) */

.wrapper {
  padding-top: 7rem !important;
}

/* ── HEADER: gradient from site palette, light icons ── */
.header {
  height: 7rem !important;
  background: linear-gradient(135deg, #1c5d99 0%, #639fab 100%) !important;
  border-bottom: none !important;
  box-shadow: 0 0.15rem 0.8rem rgba(28, 93, 153, 0.25) !important;
}

.header::before,
.header::after {
  content: none !important;
  display: none !important;
}

.header .logo::before,
.header .logo::after {
  content: none !important;
  display: none !important;
}

.header .search-toggle svg {
  fill: #ffffff !important;
}

.header .search-toggle:hover svg,
.header .search-toggle:focus svg,
.header .search-toggle--active svg {
  fill: #ef7b45 !important;
}

.header__menu-toggle {
  border-top-color: #ffffff !important;
  border-bottom-color: #ffffff !important;
}

.header__menu-toggle span {
  background: #ffffff !important;
}

.header__nav ul {
  display: flex !important;
  align-items: center !important;
  gap: 0.45rem !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.header__nav a {
  display: inline-flex !important;
  padding: 0.15rem !important;
  border-radius: 0.25rem !important;
  border: 0.1rem solid rgba(255, 255, 255, 0.45) !important;
  background: rgba(255, 255, 255, 0.12) !important;
  transition: background 0.2s, border-color 0.2s !important;
}

.header__nav a:hover,
.header__nav a:focus {
  background: rgba(255, 255, 255, 0.22) !important;
  border-color: rgba(255, 255, 255, 0.7) !important;
}

.header__nav a[aria-current="page"] {
  border-color: #ef7b45 !important;
  background: rgba(255, 255, 255, 0.28) !important;
}

.header__nav a img {
  display: block !important;
  border-radius: 0.15rem !important;
}

@media screen and (max-width: 1199px) {
  .header__nav {
    top: 6.9rem !important;
    min-width: 11rem !important;
    padding: 0.75rem 0.9rem !important;
    background: #1c5d99 !important;
    border: 0.1rem solid rgba(255, 255, 255, 0.35) !important;
    border-radius: 0.4rem !important;
    box-shadow: 0 0.4rem 1.2rem rgba(28, 93, 153, 0.35) !important;
  }

  .header__nav ul {
    flex-direction: column !important;
    align-items: flex-end !important;
    gap: 0.5rem !important;
  }

  .header__nav li:nth-child(n+2) {
    margin-top: 0 !important;
  }
}

@media screen and (min-width: 1200px) {
  .header__menu-toggle {
    display: none !important;
  }
}

@media (min-width: 992px) {
  .intro-home__list {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: stretch !important;
    gap: 0.55rem !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }

  .intro-home__list li {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  .intro-home__list a {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 1rem 0.35rem !important;
    font-size: 1.35rem !important;
    line-height: 1.2 !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 0.35rem !important;
  }

  .intro-home__list svg {
    margin-right: 0 !important;
    width: 2.4rem !important;
    height: 2.4rem !important;
    flex-shrink: 0 !important;
  }
}

@media (min-width: 1200px) {
  .intro-home__list {
    gap: 0.75rem !important;
  }

  .intro-home__list a {
    flex-direction: row !important;
    padding: 1.05rem 0.45rem !important;
    font-size: 1.45rem !important;
    text-align: left !important;
    justify-content: flex-start !important;
  }

  .intro-home__list svg {
    margin-right: 0.45rem !important;
    width: 2.6rem !important;
    height: 2.6rem !important;
  }
}

/* ── FOOTER: light panel, teal top border ── */
.footer {
  padding: 2rem 0 1.5rem !important;
  color: #333333 !important;
  background-color: #f5f5f5 !important;
  background-image: none !important;
  border-top: 0.3rem solid #1c5d99 !important;
}

.footer::before {
  content: none !important;
  display: none !important;
}

.footer .container {
  max-width: 98rem !important;
  margin-top: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.footer__nav {
  display: none !important;
}

.footer__tel {
  display: none !important;
}

.footer__subtitle {
  display: block !important;
  margin: 0 0 1.2rem !important;
  padding: 0 !important;
  color: #1c5d99 !important;
  font-size: 1.35rem !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  text-transform: none !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.footer__info {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 1rem 1.5rem !important;
  margin-bottom: 1.2rem !important;
  padding: 0 !important;
}

.footer__info-imgs {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 0.6rem !important;
  margin: 0 !important;
  padding: 0.55rem 0.75rem !important;
  background: #1c5d99 !important;
  border-radius: 0.35rem !important;
}

.footer__info-imgs img {
  border-radius: 0.2rem !important;
  margin: 0 !important;
}

.footer__info-imgs img:nth-child(n+2) {
  margin-left: 0 !important;
}

.footer__info-help {
  flex: 1 1 14rem !important;
  margin: 0 !important;
  color: #1c5d99 !important;
  font-size: 1.25rem !important;
  line-height: 1.5 !important;
  text-decoration: underline !important;
  text-underline-offset: 0.15rem !important;
}

.footer__info-help:hover,
.footer__info-help:focus {
  color: #ef7b45 !important;
}

.footer__desc {
  margin: 0 0 1.2rem !important;
  padding: 0.85rem 0 0.85rem 0.9rem !important;
  font-size: 1.15rem !important;
  line-height: 1.6 !important;
  color: #555555 !important;
  background: transparent !important;
  border: none !important;
  border-left: 0.3rem solid #639fab !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.footer__desc b {
  color: #1c5d99 !important;
}

.footer__bottom {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 0.5rem 1rem !important;
  margin: 0 !important;
  padding: 0.75rem 0 0 !important;
  list-style: none !important;
  font-size: 1.1rem !important;
  border-top: 0.1rem solid #e0e0e0 !important;
}

.footer__bottom li:nth-child(2) {
  margin-left: 0 !important;
  padding-left: 0 !important;
}

.footer__bottom li:nth-child(2)::before {
  display: none !important;
  content: none !important;
}

.footer__bottom li:last-child {
  width: 100% !important;
  margin-top: 0.25rem !important;
  padding-left: 0 !important;
  text-align: left !important;
  color: #757575 !important;
  font-size: 1.05rem !important;
}

.footer__bottom li:last-child::before {
  display: none !important;
  content: none !important;
}

.footer__bottom a {
  display: inline !important;
  padding: 0 !important;
  color: #1c5d99 !important;
  font-weight: 600 !important;
  text-decoration: underline !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
}

.footer__bottom a:hover,
.footer__bottom a:focus {
  color: #ef7b45 !important;
}

@media screen and (min-width: 576px) {
  .footer {
    padding: 2rem 0 1.5rem !important;
    background-color: #f5f5f5 !important;
    background-image: none !important;
  }
}

@media screen and (min-width: 768px) {
  .footer {
    background-color: #f5f5f5 !important;
    background-image: none !important;
  }
}

@media screen and (min-width: 992px) {
  .footer {
    padding: 2.2rem 0 1.6rem !important;
    background-color: #f5f5f5 !important;
    background-image: none !important;
  }

  .footer__info {
    flex-wrap: nowrap !important;
  }

  .footer__bottom li:last-child {
    width: auto !important;
    margin-top: 0 !important;
    margin-left: auto !important;
    text-align: right !important;
  }
}

@media screen and (min-width: 1200px) {
  .footer {
    padding: 2.4rem 0 1.8rem !important;
    background-color: #f5f5f5 !important;
    background-image: none !important;
  }
}

/* ── Utility pages ── */
.wrapper--utility {
  min-height: calc(100vh - 7rem);
  padding-top: 7rem !important;
  padding-bottom: 3rem;
}

.page-standalone--in-site {
  padding: 4rem 0;
}

.page-standalone--in-site .container {
  max-width: 56rem;
}

.page-standalone__card {
  padding: 3rem 2.4rem;
  text-align: center;
  background: #ffffff;
  border-radius: 0.5rem;
  box-shadow: 0 0.25rem 1rem rgba(28, 93, 153, 0.12);
  border: 0.1rem solid #e0e0e0;
  border-top: 0.3rem solid #1c5d99;
}

.page-standalone__code {
  margin: 0 0 0.5rem;
  color: #1c5d99;
  font-size: 6rem;
  font-weight: 700;
  line-height: 1;
}

.page-standalone__title {
  margin: 0 0 1rem;
  color: #333333;
  font-size: 2.4rem;
  font-weight: 700;
}

.page-standalone__text {
  margin: 0 0 2rem;
  color: #555555;
  font-size: 1.6rem;
  line-height: 1.5;
}

.page-standalone__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.page-standalone__btn {
  display: inline-block;
  padding: 1rem 2rem;
  color: #ffffff;
  font-size: 1.4rem;
  font-weight: 600;
  text-decoration: none;
  background: linear-gradient(135deg, #1c5d99, #639fab);
  border-radius: 0.4rem;
  transition: opacity 0.2s;
}

.page-standalone__btn:hover,
.page-standalone__btn:focus {
  opacity: 0.9;
}

.page-standalone__btn--alt {
  color: #1c5d99;
  background: transparent;
  border: 0.12rem solid #639fab;
}

.page-standalone__btn--alt:hover,
.page-standalone__btn--alt:focus {
  color: #ffffff;
  background: #639fab;
}

.redirection-page--in-site {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 7rem - 18rem);
  padding: 3rem 0;
}

.redirection-page--in-site .redirection-page__card {
  max-width: 48rem;
  width: 100%;
  margin: 0 auto;
  padding: 3rem 2.4rem;
  text-align: center;
  background: #ffffff;
  border-radius: 0.5rem;
  box-shadow: 0 0.25rem 1rem rgba(28, 93, 153, 0.12);
  border: 0.1rem solid #e0e0e0;
  border-top: 0.3rem solid #ef7b45;
}

.redirection-page--in-site .wrapper {
  padding-top: 0 !important;
  display: block;
}

.redirection-page--in-site h1 {
  margin: 0 0 1rem;
  color: #1c5d99;
  font-size: 2.4rem;
  font-weight: 700;
}

.redirection-page--in-site p {
  margin: 0 0 2rem;
  color: #555555;
  font-size: 1.6rem;
  line-height: 1.5;
}

.redirection-page__progress {
  height: 0.4rem;
  margin-bottom: 2rem;
  background: #e0e0e0;
  border-radius: 999px;
  overflow: hidden;
}

.redirection-page__progress-bar {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #1c5d99, #639fab);
  border-radius: 999px;
  animation: asap-redirection-progress 2s ease forwards;
}

@keyframes asap-redirection-progress {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

.redirection-page--in-site > .container > a,
.redirection-page--in-site .redirection-page__card > a {
  color: #1c5d99;
  font-weight: 600;
  text-decoration: underline;
}

.redirection-page--in-site > .container > a:hover,
.redirection-page--in-site .redirection-page__card > a:hover {
  color: #ef7b45;
}
