/* Mobile specific approach used here */
.section.cta-card-with-content-container .featured-tile-container-wrapper {
    display: flex;
    flex-flow: column wrap;
    width: 100%;
    padding: 40px 16px;
    align-items: flex-start;
    gap: 24px;
    align-content: flex-start;
    overflow: hidden;
}

.featured-tile-container-wrapper {
    max-width: 1912px;
    margin: 0 auto;
}

.section.cta-card-with-content-container .cards-style-stacked {
    flex-direction: column;
}

.section.cta-card-with-content-container.background-accent {
  background: #002C5F;
}

.section.cta-card-with-content-container.background-primary {
    background: #fff;
}

.section.cta-card-with-content-container.background-brand {
  background: #F6F3F2;
}

.cta-card-with-content-container .promo-section-heading {
    color: #000;
    font-family: "HyundaiSansHead-Medium";
    font-style: normal;
    font-weight: 500;
    width: 343px;
}

.section.cta-card-with-content-container.background-accent.cta-card-with-content-container .promo-section-heading {
    color: #fff;
}

.cta-card-with-content-container .promo-section-heading.heading-large {
    font-size: 28px;
    line-height: 128.571%;
}

.cta-card-with-content-container .promo-section-heading.heading-small {
    font-size: 20px;
    line-height: 120%;
}

.promotional-card-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    align-self: stretch;
    position: relative;
}

.promotional-card-section .carousel {
    display: flex;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 100%;
    width: 100%;
    flex: 1 1 auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 16px;
    align-self: stretch;
    overflow: visible;
    position: relative;
}

.promotional-card-section .carousel.cards-style-stacked {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 16px;
    align-self: stretch;
}

.promotional-card-section .carousel::-webkit-scrollbar {
    display: none;
}

@media (max-width: 768px) {
    .promotional-card-section .carousel.cards-style-stacked li.promo-card {
        height: auto;
        min-height: unset;
    }
}

.promotional-card-section .carousel li.promo-card {
    min-width: calc(90% - 15px);
    width: 251px;
    height: auto;
    padding: 24px;
  background: #FFF;
  border: 1px solid #DAD9D8;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    min-height: 205px;
    transition: transform 0.3s ease-in-out;
    will-change: transform;
}

.promotional-card-section .carousel.cards-style-stacked li.promo-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    align-self: stretch;
    width: auto;
}

.section.cta-card-with-content-container.background-primary .promotional-card-section .carousel.cards-style-stacked li.promo-card {
  background: #F6F3F2;
}

.promotional-card-section .carousel li .title-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    flex: 1 0 0;
    align-self: stretch;
}

.promotional-card-section .carousel li .title-element {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    align-self: stretch;
}

.promotional-card-section .carousel li .title-element .eyebrow {
  color: #5D5D5C;
    font-family: "HyundaiSansText-Bold";
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
    line-height: 14px;
    align-self: stretch;
}

.promotional-card-section .carousel li .description {
    color: #000;
    font-family: "HyundaiSansText-Regular";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px;
    align-self: stretch;
}

.promotional-card-section .carousel li .promo-title {
    font-family: "HyundaiSansHead-Medium";
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 32px;
    color: #000;
    align-content: stretch;
}

.promotional-card-section .carousel li a.tile-link, button.tile-link {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    font-family: "HyundaiSansText-Medium";
    font-style: normal;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
  color: #002C5F;
    text-decoration: none;
}

.button.tile-link {
    border: none;
  background:none;
}

.promotional-card-section .carousel li a.tile-link.button {
    display: flex;
    min-width: 140px;
    padding: 12px 16px;
    justify-content: center;
    align-items: center;
    gap: 8px;
  background: #002C5F;
}

.promotional-card-section .carousel li a.tile-link.button .cta-label {
  color: #FFF;
    text-align: center;
    font-family: "HyundaiSansHead-Medium";
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
}

.help-and-support-models .cta-label {
    text-align: center;
    font-family: "HyundaiSansHead-Medium";
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
}

.promotional-card-section .carousel span.icon-Chevron-right-16 {
    width: 16px;
    height: 16px;
    font-size: 16px;
}

.promotional-card-section .carousel-control-container {
    display: flex;
    align-items: center;
    align-self: stretch;
    gap: 32px;
}

.promotional-card-section .carousel-indicator {
    display: flex;
    padding-bottom: 1px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
    flex: 1 0 0;
    width: 100%;
    height: 1px;
  background: #5D5D5C;
}

.promotional-card-section .carousel-indicator .carousel-active-line {
    width: 30%;
    height: 3px;
  background: #00A2C7;
    position: absolute;
    margin-top: -1px;
  border: solid 1px #00A2C7;
}

.promotional-card-section .control-arrow {
    display: flex;
    align-items: center;
    gap: 12px;
}

.promotional-card-section .carousel-control-container .control-arrow .icon-btn .icon-Chevron-right-16 {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    font-size: 24px;
}

.section.cta-card-with-content-container.background-primary .promotional-card-section .carousel-control-container .control-arrow .icon-btn.disabled .icon-Chevron-right-16,
.section.cta-card-with-content-container.background-brand .promotional-card-section .carousel-control-container .control-arrow .icon-btn.disabled .icon-Chevron-right-16 {
  color: #BFBEBD;
}

.promotional-card-section .carousel-control-container .icon-forward {
  border: 1px solid #002C5F;
    display: flex;
    width: 48px;
    height: 48px;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.section.cta-card-with-content-container.background-brand .promotional-card-section .carousel-control-container .icon-forward {
  border: 1px solid #002C5F;
  background: #F6F3F2;
  color: #002C5F;
}

.section.cta-card-with-content-container.background-primary .promotional-card-section .carousel-control-container .icon-forward {
  border: 1px solid #002C5F;
    background: #fff;
  color: #002C5F;
}

.section.cta-card-with-content-container.background-accent .promotional-card-section .carousel-control-container .icon-forward {
  border: 1px solid #FFF;
  background: #002C5F;
    color: #fff;
}

.section.cta-card-with-content-container .promotional-card-section .carousel-control-container .icon-forward.disabled {
    color: #909090;
    border: 1px solid #909090;
    cursor: auto;
}

.promotional-card-section .carousel-control-container .icon-Chevron-right-16.disabled {
    border: none;
    cursor: not-allowed;
    opacity: 0.5;
  color: #BFBEBD;
}

.promotional-card-section .carousel-control-container .prev .icon-Chevron-right-16 {
    transform: rotate(180deg);
}

.promotional-card-section .icon-external-link {
    width: 16px;
    height: 16px;
    font-size: 16px;
}

.promotional-card-section .icon-external-link::before {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
  color: #002C5F;
}

.promotional-card-section .carousel li a.tile-link.button .icon-external-link::before {
    color: #fff;
}

.promotional-card-section .carousel li a.tile-link.textLink {
    gap: 8px;
    text-decoration: underline;
}

.promotional-card-section .carousel li.promo-card.long-description {
    height: auto; /* Allow card height to expand, when description is longer than 145 characters */
}

.promotional-card-section .carousel.has-long-description {
    align-items: stretch;
}

@media (max-width: 768px) {
    .promotional-card-section .carousel.has-long-description .promo-card {
        height: auto !important;
        min-height: unset !important;
    }
}

.promotional-card-section .carousel.has-long-description .promo-card {
    height: auto;
    min-height: 266px;
}

.cta-card-with-content-image-container {
    margin: -32px -32px 0;
    aspect-ratio: 628 / 366;
    width: calc(100% + 64px);
    overflow: hidden;
    display: block;
    margin-bottom: 8px;
}

.cta-card-with-content-image-container picture,
.cta-card-with-content-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (min-width: 400px) {
    .promotional-card-section .carousel li.promo-card {
        min-width: calc(75% - 5px);
    }
}

@media (min-width: 768px) {
    /* tablet specific css */
    .section.cta-card-with-content-container .featured-tile-container-wrapper {
        padding: 56px 40px;
        display: flex;
        align-items: flex-start;
        gap: 32px;
        align-self: stretch;
        flex-flow: column;
    }

    .promotional-card-section .carousel.cards-style-stacked {
        display: flex;
        flex-flow: row wrap;
        justify-content: space-between;
        gap: 20px;
        align-items: stretch;
        overflow: visible;
        width: calc(100% + 20px);
    }

    .promotional-card-section .carousel.cards-style-stacked li.promo-card {
        width: calc(50% - 10px);
        min-width: unset;
        margin: 0;
        flex: 0 0 calc(50% - 10px);
    }

    .promotional-card-section .carousel li .title-element .eyebrow {
        font-size: 12px;
        line-height: 16px;
    }

    .promotional-card-section .carousel li .description {
        font-size: 16px;
        line-height: 20px;
    }

    .promotional-card-section .carousel {
        display: flex;
        align-items: center;
        gap: 20px;
        align-self: stretch;
    }

    .promotional-card-section .carousel-control-container {
        gap: 40px;
    }

    .promotional-card-section .carousel li.promo-card {
        min-width: calc(55% - 45px);
        width: 332px;
        height: auto;
        min-height: 215px;
    }

    .promotional-card-section .carousel.has-long-description .promo-card {
        min-height: 266px;
    }

  .promotional-card-section .carousel li.promo-card:last-child .promo-title{
        margin-right: 24px;
    }

    .cta-card-with-content-container .promo-section-heading {
        width: 740px;
        align-self: stretch;
    }

    .cta-card-with-content-container .promo-section-heading.heading-large {
        font-size: 32px;
        line-height: 125%;
    }

    .promotional-card-section .control-arrow {
        gap: 16px;
    }

    .promotional-card-section .carousel li .title-element {
        gap: 4px;
    }

    .promotional-card-section .carousel li .title-content {
        gap: 16px;
    }
}

@media (min-width: 820px) {
    .promotional-card-section .carousel li.promo-card {
        min-width: calc(55% - 47px);
    }
}

@media (min-width: 1024px) {
    .promotional-card-section .carousel li.promo-card {
        min-width: calc(55% - 57px);
    }
}

@media (min-width: 1200px) {
    /* desktop specific css */
    .promotional-card-section .carousel.cards-style-stacked {
        display: flex;
        align-items: center;
        align-content: center;
        gap: 24px;
        align-self: stretch;
        flex-flow: row wrap;
        margin: 0;
    }

    .promotional-card-section .carousel.cards-style-stacked li.promo-card,
    .promotional-card-section .carousel li.promo-card {
        display: flex;
        width: 410.667px;
        min-width: calc(34% - 23px);
        padding: 32px;
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        flex: 1 1 calc(33.333% - 16px);
        box-sizing: border-box;
        height: auto;
        min-height: 150px;
    }

  .cta-card-with-content-container.cards-style-stacked .promotional-card-section .carousel.cards-style-stacked li.promo-card {
        min-width: auto;
    }

    .section.cta-card-with-content-container .featured-tile-container-wrapper {
        padding: 64px 80px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
        justify-self: center;
    }

    .promotional-card-section .carousel {
        display: flex;
        align-items: center;
        gap: 24px;
        align-self: stretch;
    }

    .promotional-card-section .carousel.cards-style-stacked.cards-flex-styling {
        justify-content: flex-start;
    }

  .promotional-card-section .carousel.cards-style-stacked.cards-flex-styling li.promo-card {
        flex: 0 1 calc(33.333% - 16px);
        max-width: calc(33.333% - 16px);
        box-sizing: border-box;
    }

    .promotional-card-section {
        gap: 32px;
    }
}

@media (min-width: 1280px) {
    .promotional-card-section .carousel li.promo-card {
        min-width: calc(34% - 24px);
    }
}

@media (min-width: 1440px) {
    .promotional-card-section .carousel li.promo-card {
        min-width: calc(34% - 25px);
    }
}

@media (max-width: 767px) {
    .cta-card-with-content-image-container {
        margin: -24px -24px 0;
        aspect-ratio: 343 / 196.78;
        width: calc(100% + 48px);
    }

    .section.cta-card-with-content-container .featured-tile-container-wrapper {
        padding: 40px 16px;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .cta-card-with-content-image-container {
        margin: -24px -24px 0;
        aspect-ratio: 334 / 189.13;
        width: calc(100% + 48px);
    }

    .section.cta-card-with-content-container .featured-tile-container-wrapper {
        padding: 56px 40px;
    }
}
