.bento {
    margin: 48px 0;
}
h2.bento-title {
    margin: 0 0 1.5rem 0;
    font-size: clamp(1.875rem, 1.1875rem + 2.2vw, 3.25rem);
    letter-spacing: -2%;
}
@media (min-width: 992px) {
    h2.bento-title {
        margin: 0 0 2.5rem 0;
    }
    .bento {
        margin: 96px 0;
    }
}

.bento-wrapper div.col:nth-of-type(1) {
  grid-area: first;
}
.bento-wrapper div.col:nth-of-type(2) {
  grid-area: second;
}
.bento-wrapper div.col:nth-of-type(3) {
  grid-area: third;
}
.bento-image {
    grid-area: fourth;
}
.bento-wrapper div.col:nth-of-type(4) {
  grid-area: fifth;
}
.bento-wrapper div.col:nth-of-type(5) {
  grid-area: sixth;
}
.bento-wrapper div.col:nth-of-type(6) {
  grid-area: seventh;
}

.bento-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 2rem 0;
}
@media (min-width: 767px) {
    .bento-wrapper {
        display: grid;
        gap: 20px;
        margin: 2rem 0;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        grid-template-areas:
            "first second"
            "first second"
            "third fourth"
            "fifth sixth"
            "seventh seventh";
    }
}
@media (min-width: 992px) {
    .bento-wrapper {
        display: grid;
        gap: 20px;
        margin: 2rem 0;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        grid-template-areas:
            "first second"
            "first third"
            "fourth fifth"
            "sixth seventh";
    }
}
@media (min-width: 1200px) {
    .bento-wrapper {
        display: grid;
        gap: 20px;
        margin: 2rem 0;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        grid-template-rows: auto;
        grid-template-areas:
            "first first second third"
            "first first second fourth"
            "fifth sixth seventh seventh";
    }
}
.bento-wrapper .col {
    background: #E0E0F5;
    padding: 24px 20px;
}

@media (min-width: 767px) {
    .bento-wrapper .col {
        min-height: 300px;
    }
}

.bento-wrapper .col .entry-title a {
    text-decoration: none;
}

.bento-image img {
    width: 100%;
    height: auto;
}

.bento__image {
    position: relative;
}
.bento__image::after {
    content: '';
    display: inline-block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 40%, rgba(0, 0, 0, 0.65) 75%);
}
.bento__image .caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  color: #fff;
  z-index: 300;
}
.bento__image .caption::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 4px;
    background: url(/wp-content/themes/lri-strap/images/camera.svg) left bottom;
    vertical-align: middle;
}

.bento-wrapper .col .entry-title {
    font-size: clamp(1.125rem, 1rem + 0.4vw, 1.375rem);
    font-style: normal;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -1%;
}

.bento-wrapper .col .card-box {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    height: 100%;
}

.bento-wrapper .col.image-background,
.bento-wrapper .col.image-background .entry-title a {
    color: #fff;
}

.bento-wrapper div.col:nth-of-type(1) {
    min-height: 480px;
}

.bento-wrapper div.col:nth-of-type(n+2) {
    max-height: 300px;
}

@media (min-width: 767px) {
    .bento-wrapper div.col:nth-of-type(1) {
        min-height: 628px;
        max-height: 628px;
    }
    .bento-wrapper div.col:nth-of-type(2) {
        min-height: 628px;
        max-height: 628px;
    }
    .bento-wrapper div.col:nth-of-type(n+3) {
        min-height: 304px;
        max-height: 304px;
    }
    .bento-image {
        height: 304px;
    }
    .bento-image .bento__image {
        height: 304px;
        overflow: hidden;
    }
}
@media (min-width: 992px) {
    .bento-wrapper div.col:nth-of-type(1) {
        min-height: 790px;
        max-height: 790px;
    }
    .bento-wrapper div.col:nth-of-type(n+2) {
        min-height: 385px;
        max-height: 385px;
    }
    .bento-image {
        height: 385px;
    }
    .bento-image .bento__image {
        height: 385px;
        overflow: hidden;
    }
}
@media (min-width: 1200px) {

    .bento-wrapper div.col:nth-of-type(1) {
        min-height: 676px;
        max-height: 676px;
    }
    .bento-wrapper div.col:nth-of-type(2) {
        min-height: 676px;
        max-height: 676px;
    }
    .bento-wrapper div.col:nth-of-type(n+3) {
        min-height: 328px;
        max-height: 328px;
    }
    .bento-wrapper div.col:nth-of-type(n+3) .card-body {
        max-height: 155px;
        overflow: hidden;
    }
    .bento-image {
        height: 328px;
    }
    .bento-image .bento__image {
        height: 328px;
        overflow: hidden;
    }
}
@media (min-width: 1440px) {

    .bento-wrapper div.col:nth-of-type(1) {
        min-height: 620px;
        max-height: 620px;
    }
    .bento-wrapper div.col:nth-of-type(2) {
        min-height: 620px;
        max-height: 620px;
    }
    .bento-wrapper div.col:nth-of-type(n+3) {
        min-height: 300px;
        max-height: 300px;
    }
    .bento-wrapper div.col:nth-of-type(n+3) .card-body {
        max-height: 110px;
        overflow: visible;
    }
    .bento-image {
        height: 300px;
    }
    .bento-image .bento__image {
        height: 300px;
        overflow: hidden;
    }
}

.bento-wrapper .col.image-background .card-box .card-body {
    display: flex;
    margin-top: auto;
    padding-bottom: 12px;
}
.bento-wrapper .col.image-background .card-box .card-body .entry-title {
    margin-top: auto;
    margin-bottom: 12px;
}
.bento-wrapper .format-link {
    padding: 8px 10px;
    background: #282973;
    color: #FFF;
    border-radius: 30px;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 600;
    line-height: 130%; /* 15.6px */
    letter-spacing: 0.48px;
    font-size: 12px;
    margin-bottom: 20px;
    display: inline-block;
}

.bento-wrapper .date {
    text-transform: uppercase;
    font-weight: 600;
    line-height: 130%; /* 15.6px */
    letter-spacing: 0.48px;
    font-size: 12px;
    display: flex;
    gap: 6px;
    align-items: center;
    margin-top: auto;
}
.bento-wrapper .card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
