@media screen and (max-width: 1100px) {
  /* .takeover-image {
        left: -5%;
        width: 400px;
    } */
  .left-content h2 {
    font-size: 52px;
  }
  .takeoverleft {
    width: 450px;
  }
  .left-content {
    padding: 0;
  }
}

@media (max-width: 1024px) {
  .hero-wrapper {
    flex-direction: column;
    min-height: auto;
  }

  .hero-content {
    width: 100%;
    padding: 80px 0 40px;
    order: 2;
    margin: auto;
    position: relative;
    max-width: 100%;
    /* background-color: #F5F5F0; */
  }

  .hero-inner {
    width: 90%;
    max-width: 675px;
    margin: 0 auto;
    margin: 0 5% 0 auto;
  }

  .hero-image {
    width: 100%;
    min-height: 200px;
    order: 1;
    /* max-height: 450px; */
    height: 100%;
  }

  .hero-image::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 75px;
    background: linear-gradient(
      180deg,
      rgba(245, 245, 240, 0) 0%,
      #194883 100%
    );
    z-index: 1;
  }

  .hero-image {
    width: 100%;
    min-height: 400px;
    order: 1;
  }

  .gradient-fill {
    display: none;
  }
}

@media screen and (max-width: 1000px) {
  .banner-image {
    min-height: 300px;
  }
  .footer-bottom {
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  .footer-address {
    order: 2;
    text-align: center;
  }
  .footer-links {
    text-align: center;
    order: 1;
  }
  .disclaimer:not(.tk-donation-buttons .disclaimer) {
    order: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  footer .main-nav {
    justify-self: flex-end;
    margin-left: auto;
    margin-right: 15px;
    margin-top: 20px;
  }
  .hero.no-image .inner {
  }
  .takeover-image {
    left: -5%;
    width: 450px;
  }
}

@media screen and (max-width: 900px) {
  .side-card,
  .side-card.right {
    flex-direction: column;
    margin: 30px auto;
  }
  .side-card img {
    margin-bottom: 20px;
    max-height: 400px;
    object-fit: contain;
    width: 100%;
  }
  .side-card .text {
    width: 100%;
  }
}

@media screen and (max-width: 850px) {
  .tk-donation-buttons .donate-btn {
    width: 47%;
  }
  .prefooter .inner {
    flex-wrap: wrap;
  }
  .prefooter .inner .left {
    width: 100%;
  }
  .prefooter .donate-buttons-wrapper {
    width: 100%;
  }
  .prefooter h2 {
    text-align: center;
  }
  .prefooter svg {
    margin: 0 auto 10px;
  }
}

@media screen and (max-width: 800px) {
  .takeover-image {
    width: 400px;
  }
}

@media (max-width: 768px) {
  .hero-wrapper h1 {
    font-size: 50px;
    letter-spacing: -1px;
    text-align: center;
  }
  .hero-form {
    margin: 20px auto 0;
    max-width: 100%;
  }

  .meet-section {
    flex-direction: column;
    min-height: auto;
  }

  .meet-section .image {
    width: 100%;
    height: 300px;
    min-height: auto;
  }

  .meet-section .text {
    width: 100%;
    margin-left: 0;
    padding: 40px 20px;
  }

  .meet-section .text .title {
    font-size: 28px;
  }

  .hero-content {
    padding: 40px 0;
  }

  /* Get involved responsive adjustments */
  .meet-section.get-involved .image {
    width: 100%;
    min-height: 300px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    padding: 0;
    height: auto;
  }

  .meet-section.get-involved .text {
    width: 100%;
    margin-left: 0;
    padding: 30px 20px;
    margin-top: 0;
  }

  .meet-section.get-involved .text form .form-row {
    flex-direction: column;
    gap: 0;
  }

  .meet-section.get-involved .text form .form-row input {
    width: 100%;
  }

  .container {
    display: block;
  }
  .main-header .main-nav {
    display: none;
  }

  .off-white-box.priorities,
  .priorities-wrapper.off-white-box .off-white-box.priorities.fliped {
    flex-direction: column;
  }

  .off-white-box.priorities .image-wrap,
  .priorities-wrapper.off-white-box
    .off-white-box.priorities.fliped
    .image-wrap {
    width: 100%;
  }

  .off-white-box.priorities .text-wrap,
  .priorities-wrapper.off-white-box
    .off-white-box.priorities.fliped
    .text-wrap {
    width: 100%;
  }
  .priorities-wrapper.off-white-box
    .off-white-box.priorities.fliped
    .text-wrap
    .title {
    font-size: 24px;
  }

  .footer-top {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  footer .main-nav {
    justify-self: center;
    margin-left: auto;
    margin-right: auto;
  }

  .endorsement-item {
    width: calc(33.3% - 15px);
  }
  .hero.no-image .inner {
    flex-direction: column-reverse;
  }
  .hero.no-image .image-container {
    width: 100%;
  }
  .hero.no-image .content-container {
    width: 100%;
  }
  .hero-image {
    min-height: unset;
    height: auto;
    position: relative;
  }
  .hero-image img {
    position: static;
    min-height: 400px;
    object-position: center;
  }
  .mobile-hero-image {
    display: block;
  }
  .desktop-hero-image {
    display: none;
  }
  .hero-wrapper {
    background-color: #194883;
  }
  .hero-content {
  }
  .hero-inner {
    margin: auto;
  }
  #takeover .inner {
    width: 100%;
  }
  .takeoverleft {
    width: 100%;
  }
  .takeoverleft svg {
    margin: 0 auto 10px;
  }
  .left-content h2 {
    font-size: 52px;
    text-align: center;
    width: 90%;
    margin: 0 auto 10px;
  }
  .takeover-mobile-image {
    display: block;
    height: 250px;
    margin: 0 auto -51px;
  }
  .takeover-image {
    display: none;
  }
  .tk-donation-buttons {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin-left: auto;
    max-width: 100%;
    margin: auto;
    background: #d4e4f7;
    padding: 5px;
    position: relative;
  }
  .tk-donation-buttons .disclaimer {
    text-align: center;
  }
  .tk-donation-buttons .donate-btn {
    width: 23%;
  }
  #home-link {
    margin: 10px auto 0;
  }
  .left-content {
    height: 100%;
    display: flex;
    flex-direction: column;
  }
}

@media screen and (max-width: 700px) {
  .photo-wrap {
    flex-direction: column;
    margin-top: 15px;
  }
  .photo-wrap img {
    width: 100%;
  }
  .banner-image {
    min-height: 200px;
    margin-bottom: 15px;
  }
  .prefooter .donate-btn {
    width: 47%;
  }
  .prefooter .donate-btn.other {
    width: 100%;
  }
  .prefooter .donate-buttons-wrapper {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0;
  }
  .prefooter .donate-btn {
    margin-bottom: 10px;
  }
  footer a.donate {
    margin-top: 10px;
  }
  .footer-logo {
    margin-bottom: 15px;
  }
  .hero h1::before,
  .hero h1::after {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='25' height='23' viewBox='0 0 37 34' fill='none'%3E%3Cpath d='M18.5 0.5L22.6535 13.2832H36.0945L25.2205 21.1836L29.374 33.9668L18.5 26.0664L7.62597 33.9668L11.7795 21.1836L0.905455 13.2832H14.3465L18.5 0.5Z' fill='%23FD4959'/%3E%3C/svg%3E");
    margin-right: 10px;
    margin-left: 10px;
  }
}

@media screen and (max-width: 550px) {
  .endorsement-item {
    width: calc(50.7% - 15px);
  }
}

@media screen and (max-width: 500px) {
  footer .main-nav {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-left: auto;
    margin-right: auto;
    flex-direction: column;
  }
  .main-nav ul li {
    margin: 0;
  }
  .hero h1 {
    font-size: 48px;
  }
  .left-content h2 {
    font-size: 40px;
    padding-top: 30px;
  }
  .prefooter {
    padding: 25px;
    margin-top: 25px;
  }
  .main-header .header-logo {
    width: 150px;
  }
}

@media screen and (max-width: 480px) {
  .at-row,
  .at-targets-have-images {
    gap: 0 !important;
  }
  .at-row.EmailAddress.MobilePhone {
    margin-top: 10px;
  }
}

@media screen and (max-width: 400px) {
  .tk-donation-buttons .donate-btn {
    font-size: 13px;
  }
  .tk-logo-container {
    width: 155px;
  }
}
