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

.grid-cell:focus-visible {
  outline: 2px solid #3b3d49;
  border-radius: 8px;
  outline-offset: 0px; }

.tile {
  width: 320px;
  height: 100%;
  min-height: 294px;
  min-width: 320px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer; }
  .tile.no-hover {
    pointer-events: auto;
    cursor: default; }
  .tile:hover .deal-image {
    transform: scale(1.1); }
  .tile:hover .offer-link::after {
    margin: 0 0 0 15px; }
  .tile .offer-content-inner {
    padding: 0 24px 24px;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px; }
  @media (max-width: 991px) {
    .tile {
      min-width: 290px;
      width: 290px;
      margin-top: 0; }
      .tile[data-tile-type="large_brand"] .brand-name{
        word-break: break-word;
      }
     
     
     }
     @media (max-width:479px){
      .brand-modal__header__brand-name{
        word-break: break-word;
      }
     }
  @media (max-width: 991px) {
    .tile.hero-tile {
      min-width: 265px;
      width: 265px; } }
  .tile .expiry-badge {
    z-index: 2;
    position: absolute;
    background-color: #fbc600;
    font-weight: 500;
    padding: 4px 8px;
    top: 12px;
    left: 16px;
    width: -moz-fit-content;
    width: fit-content;
    border-radius: 2px;
    max-width: calc(100% - 48px);
    color: #3b3d49; }
  .tile .tile-inner-wrap {
    border-radius: 8px;
    height: 100%; }
  .tile .tile-inner-image-wrap {
    overflow: hidden;
    border-radius: 8px; }
  .tile .deal-image {
    height: 100px;
    position: relative;
    border-radius: 8px 8px 0px 0px;
    transition: transform 200ms ease-in-out; }
    .tile .deal-image img {
      width: 100%;
      height: 100%;
      -o-object-fit: cover;
      object-fit: cover;
      -o-object-position: center;
      object-position: center; }
  .tile .tile-inner {
    height: 100%;
    display: flex;
    flex-direction: column; }
  .tile .brand-name {
    font-weight: 500;
    margin: 0 0 16px 0;
    max-width: 200px;
    font-size: 18px;
    line-height: 22px;
    color: #3b3d49; }
  .tile .brand-logo {
    width: 68px;
    height: 68px;
    position: absolute;
    right: 20px;
    top: -34px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1); }
  .tile .offer-content {
    position: relative;
    margin-top: 16px;
    flex: 1; }
  .tile .offer-link {
    text-decoration: none;
    font-size: 24px;
    line-height: 28px;
    word-wrap: break-word;
    text-align: left;
    margin: 0 0 16px 0;
    color: #3b3d49;
    display: inline-block; }
    .tile .offer-link::after {
      content: "\203A";
      position: absolute;
      font-size: 24px;
      display: inline-block;
      text-decoration: none;
      margin-left: 10px;
      white-space: nowrap;
      transition: margin 200ms ease-in-out; }
    .tile .offer-link-plain {
      text-decoration: none;
      padding-top: 16px;
      padding-bottom: 16px;
      text-decoration: none;
      font-size: 24px;
      line-height: 28px;
      word-wrap: break-word;
      text-align: left;
      color: #3f647c; }
      .tile .offer-link-plain::after {
        display: none; }
  .tile .offer-icon {
    margin: 0 10px 0 0; }
    .tile .offer-description{
      display: flex;
      align-items: flex-start;
    }
  .tile .offer-description p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* Number of lines to display */
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis; }
  .tile .offer-description .learn-more {
    white-space: nowrap;
    color: #3f647c;
    text-decoration: underline;
    font-size: 14px;
    margin-left: 28px; }
  .tile .offer-description:last-of-type {
    margin-top: 5px; }
  .tile .offer-description.line-height-24 {
    line-height: 24px; }
  .tile .ctas {
    display: flex;
    gap: 16px; }
    .tile .ctas .button-reset {
      padding: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 12px;
      padding-bottom: 10px; }
      .tile .ctas .button-reset img {
        margin-top: -8px;
        transition: filter 200ms ease-in-out; }
      .tile .ctas .button-reset.button-outlined {
        border: 1px solid black; }
        .tile .ctas .button-reset.button-outlined:hover img {
          filter: brightness(0) invert(1); }

.offer-content-sublink {
  font-weight: bold;
  font-size: 15px;
  color: #3b3d49;
  display: block;
  padding-top: 16px;
  cursor: pointer; }

.tile[data-tile-type="evergreen"],
.tile[data-tile-type="value"] {
  background-color: #f9f9fa; }

.tile[data-tile-type="deal"] {
  background-color: #e7f0f4; }

.tile[data-tile-type="offer"] {
  background-color: #e8e9ec; }

.tile[data-tile-type="financing"],
.tile[data-tile-type="special_offer"],
.tile[data-tile-type="blog"],
.tile[data-tile-type="protection"] {
  background-color: #f6f7f8; }

.tile[data-tile-type="large_brand"] {
  background-color: #ffffff; }
  .tile[data-tile-type="large_brand"]:focus-within {
    border: 2px solid #3b3d49; }
  .tile[data-tile-type="large_brand"] a {
    pointer-events: auto;
    text-decoration: none; }
  .tile[data-tile-type="large_brand"] .expiry-badge {
    left: unset;
    right: 12px; }
  .tile[data-tile-type="large_brand"] .tile-inner-image-wrap a {
    display: block; }
  .tile[data-tile-type="large_brand"] .tile-brands-overlay {
    opacity: 0.6499999761581421;
    background: #fff;
    width: 100%;
    height: 100%; }
  .tile[data-tile-type="large_brand"] .deal-image {
    height: 180px;
    position: relative;
    border-radius: 8px; }
  .tile[data-tile-type="large_brand"] .tile-inner {
    position: relative; }
  .tile[data-tile-type="large_brand"] .offer-content {
    position: unset;
    padding-left: 0;
    padding-right: 0; }
  .tile[data-tile-type="large_brand"] .brand-logo {
    width: 132px;
    height: 132px;
    position: absolute;
    right: unset;
    left: 24px;
    top: 24px; }
  .tile[data-tile-type="large_brand"] .brand-name {
    font-size: 24px;
    line-height: 1.2;
    max-width: 300px; 
    }
    
    .four-up .tile-width{
      width: 100%;
    }
    .four-up .inner {
      display: flex;
      justify-content: space-evenly;
      align-items: stretch;
      width: -moz-fit-content;
      width: fit-content;
      padding: 0 2px 24px 2px;
      gap: 24px; }
      @media (max-width: 767px) {
        .four-up .inner {
          gap: 10px; } }
      .four-up .inner.flex-center {
        justify-content: center; }
      @media (min-width: 1440px) {
        .four-up .inner {
           /* MKPL fix */
           width: -moz-fit-content;
           width: fit-content;
          flex-wrap: wrap; } }
        