/* Universal breakpoints */
@keyframes from-right {
  0% {
    opacity: 0;
    transform: translateX(40rem);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

section {
  scroll-margin-top: 180px;
}
@media (max-width: 991px) {
  section {
    scroll-margin-top: 230px;
  }
}

.subnav {
  background-color: #34657f;
}
.subnav__links {
  font-size: 16px;
  font-weight: 500;
}
.subnav__links a {
  outline-color: #fbc600;
}

@media (min-width: 992px) {
  .hero-2019__image {
    flex: 1.2;
  }
}

.articles * {
  font-family: "Synchrony Sans", Helvetica, sans-serif;
}

.articles .articles-dropdown {
  align-items: center;
  padding: 0px 16px;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  /* Custom arrow rotation on button when expanded */
}
@media (min-width: 768px) {
  .articles .articles-dropdown {
    display: none;
  }
}
.articles .articles-dropdown__label {
  font-size: 24px;
  font-weight: 500;
}
.articles .articles-dropdown__wrapper {
  width: 100%;
}
.articles .articles-dropdown__toggle {
  font-family: inherit;
  background-color: #3f647c;
  color: white;
  border: none;
  padding: 12px 16px;
  width: 100%;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.articles .articles-dropdown__toggle:focus {
  outline: 2px solid #3b3d49;
}
.articles
  .articles-dropdown
  .articles-dropdown__toggle[aria-expanded="true"]
  .articles-dropdown__icon {
  transform: rotate(180deg);
}
.articles .articles-dropdown__menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  list-style: none;
  border: none;
  border-radius: 4px;
  background-color: #fff;
  z-index: 10;
  box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.2);
  /* Start collapsed */
  transform: scaleY(0);
  transform-origin: top;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease;
}
.articles .articles-dropdown__menu.open {
  transform: scaleY(1);
  opacity: 1;
  pointer-events: auto;
}
.articles .articles-dropdown__menu li button {
  display: block;
  font-size: 16px;
  padding: 10px 12px;
  color: inherit;
}
.articles .articles-dropdown__menu li button::after {
  content: "";
  display: block;
  height: 4px;
  background: #fbc600;
  transition: transform 0.3s ease-in-out;
  transform: scaleX(0);
  transform-origin: left;
}
.articles .articles-dropdown__menu li button:hover::after,
.articles .articles-dropdown__menu li button:focus::after,
.articles .articles-dropdown__menu li button.active::after {
  transform: scaleX(1);
}
.articles .articles-dropdown__icon {
  transform: rotate(0deg);
  transition: transform 0.3s ease;
}

.articles .tabs {
  max-width: 1440px;
  margin: 0 auto;
}
.articles .tabs [role="tablist"] {
  display: flex;
  justify-content: center;
  gap: 16px;
}
@media (max-width: 767px) {
  .articles .tabs [role="tablist"] {
    display: none;
  }
}
.articles .tabs [role="tablist"] [role="tab"] {
  cursor: pointer !important;
  border: none;
  padding: 14px 16px;
  background-color: transparent;
  color: #3b3d49;
  font-size: 25px;
}
.articles .tabs [role="tablist"] [role="tab"][aria-selected="true"] {
  background: #3f647c;
  color: white;
  font-weight: 700;
}
@media (max-width: 767px) {
  .articles .tabs [role="tablist"] [role="tab"] {
    font-size: 18px;
    padding: 16px;
  }
}
@media (max-width: 479px) {
  .articles .tabs [role="tablist"] [role="tab"] {
    font-size: 16px;
    padding: 8px;
  }
}
.articles .tabs [role="tabpanel"] {
  background-color: #f3f6f6;
  padding: 80px 16px;
  margin: 0 auto;
  color: #3b3d49;
  border-top: 1px solid #3f647c;
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media (max-width: 767px) {
  .articles .tabs [role="tabpanel"] {
    padding: 30px 20px;
  }
}
.articles .tabs [role="tabpanel"].is-hidden {
  display: none;
}
.articles .tabs [role="tabpanel"] > h2 {
  margin-top: 24px;
  margin-bottom: 24px;
  max-width: 1280px;
}
.articles .tabs [role="tabpanel"] > p {
  text-align: center;
  margin-bottom: 48px;
  max-width: 1280px;
}
.articles .tabs [role="tabpanel"] > img {
  height: 50px;
  width: auto;
}
.articles .tabs [role="tabpanel"] .blog_tiles__grid {
  max-width: 1280px;
}

.articles button[data-load-more-button] {
  margin-top: 40px;
  font-size: 16px;
  font-weight: 700;
}
@media (min-width: 1440px) {
  .articles button[data-load-more-button] {
    display: none;
  }
}

#deals-and-offers,
#tools {
  padding-left: 16px;
  padding-right: 16px;
  padding-top: 40px;
  padding-bottom: 40px;
}
@media (min-width: 992px) {
  #deals-and-offers,
  #tools {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}
#deals-and-offers h2,
#deals-and-offers .blue-banner {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}
#deals-and-offers .blue-banner {
  background-color: #3f647c;
  margin-top: 20px;
  margin-bottom: 60px;
  color: white;
  display: flex;
  gap: 16px;
  box-sizing: border-box;
  align-items: center;
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
  padding: 10px 40px;
}
#deals-and-offers .blue-banner img {
  height: 60px;
  width: auto;
}
#deals-and-offers .tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  -moz-column-gap: 20px;
  column-gap: 20px;
  row-gap: 32px;
  justify-items: center;
}
@media (max-width: 767px) {
  #deals-and-offers .tile-grid {
    gap: 16px;
  }
}
#deals-and-offers button[data-load-more-button] {
  margin-top: 32px;
  margin-left: auto;
  margin-right: auto;
  font-size: 16px;
  font-weight: 700;
}

#synchrony-home {
  background-color: #f3f6f6;
}
#synchrony-home .synchrony-home__inner {
  max-width: 1280px;
  padding: 60px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
}
#synchrony-home .synchrony-home__inner img {
  height: 80px;
  width: auto;
  margin-bottom: 42px;
}
#synchrony-home .synchrony-home__inner > div {
  display: flex;
  gap: 20px;
  margin-top: 42px;
}
@media (max-width: 767px) {
  #synchrony-home .synchrony-home__inner > div {
    flex-direction: column;
    width: 100%;
  }
  #synchrony-home .synchrony-home__inner > div a {
    width: 100%;
  }
}

/* CSS added for Find Location Section */

section#locations {
  background: #3f647c;
}

#merchant-input {
  text-transform: capitalize;
}

.locator-widget__inner .locator-form-styles #merchant-input-dropdown li {
  padding: 8px 12px;
  cursor: pointer;
  color: black;
  text-transform: capitalize;
}

.locator-widget__inner .locator-form-styles button[type="submit"] {
  border-radius: 8px;
}
.deal-modal
  .modal__container
  .modal__scroll-area
  .modal__content
  a.get-details:focus-visible {
  outline: 2px solid #3b3d49;
  border-radius: 1px;
  outline-offset: 1px;
}
