.content-block.block-width-full-width.offers-block {
  padding-left: 0;
  padding-right: 0;
}
.offers-loop-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-auto-rows: auto;
}
.gutter-wrap {
  display: grid;
  /*border-bottom: 1px solid #D5D5D5;*/
  grid-template-columns: calc(5% - 30px) 1fr calc(5% - 30px);
  overflow: hidden;
}
.offers-loop-wrap article {
  box-sizing: border-box;
  padding-top: 30px;
  padding-right: 30px;
  padding-left: 30px;
  padding-bottom: 55px;
  padding-bottom: clamp(40px, 10vw, 55px);
  border-right: 1px solid #D5D5D5;
  border-bottom: 1px solid #D5D5D5;
  position: relative;
}
.offers-loop-wrap article::after {
  content: "";
}
/*.offers-loop-wrap article:first-of-type, .offers-loop-wrap article:nth-of-type(2), .offers-loop-wrap article:nth-of-type(3) {
  border-top: none;  
}*/
.offers-loop-wrap article:nth-of-type(3n + 4)::after, .offers-loop-wrap article:first-of-type::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: calc(-5% - 30px);
  height: 1px;
  width: 20%;
  display: block;
  background: #D5D5D5;
}
.offers-loop-wrap article:nth-of-type(3n + 3)::after, .offers-loop-wrap article:nth-of-type(3)::after {
  content: "";
  position: absolute;
  bottom: -1px;
  right: calc(-5% - 30px);
  height: 1px;
  width: 20%;
  display: block;
  background: #D5D5D5;
}
/*.offers-loop-wrap article:nth-of-type(3n) {
padding-right: 10%;     
}*/

.offers-loop-wrap article:nth-of-type(3n) {
  border-right: none;
}


.offers-loop-wrap .inside-article {
  display: flex;
  flex-direction: column;
  /*height: 100%;*/
}
.offers-loop-wrap .offer-top-wrap {
  height: 100%;
}

.offers-loop-wrap article .post-image {
  margin-top: 0;
}
.offers-loop-wrap article img {
  display: block;
  width: 100%;
  object-fit: cover;
  height: 100%;
  max-height: 875px;
  aspect-ratio: 800 / 533;
}
.offers-loop-wrap .post-content-wrap {
  padding: 50px 30px 0 30px;
  max-width: 600px;
}
.offers-loop-wrap h2.entry-title {
  margin-bottom: 20px;
}
.content-block .offers-loop-wrap p:last-child {
  margin-bottom: 1.5em;
}
.offers-loop-wrap .content-block-button-wrap {
  display: flex;
  gap: 15px 20px;
  flex-wrap: wrap;
  margin-top: 35px;
  padding: 0 30px;
}
.offers-loop-wrap .content-block-button-wrap .lsb-button {
  min-width: 168px;
}

@media all and (max-width:1600px) {
.offers-loop-wrap .post-content-wrap {
  padding: 40px 15px 0 15px;
}
.offers-loop-wrap .content-block-button-wrap {
  padding: 0 15px;
}
}
@media all and (max-width:1280px) {
.offers-loop-wrap .post-content-wrap {
  padding: 40px 0 0 0;
  max-width: 768px;
}
.offers-loop-wrap .content-block-button-wrap {
  padding: 0;
}
}
@media all and (max-width:1356px) {
.gutter-wrap {
  display: grid;
  grid-template-columns: calc(4% - 30px) 1fr calc(4% - 30px);  
}
}
@media all and (max-width:768px) {
.offers-loop-wrap {
  grid-template-columns: 1fr;
  grid-auto-rows: auto;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}
.offers-gutter {
display: none;
}
.gutter-wrap {
  grid-template-columns: 1fr;  
}
.offers-loop-wrap article {
  border-right: none;
  border-bottom: 1px solid #D5D5D5;
  padding-top: 20px;
  padding-right: 20px !important;
  padding-left: 20px !important;
}
.offers-loop-wrap article:last-of-type {
  border-bottom: none;
}
.offers-loop-wrap article img {
  max-height: 500px;
  height: auto;
}
}
@media all and (max-width:414px) {
.offers-loop-wrap .content-block-button-wrap .lsb-button {
  width: 100%;
}
}




.offers-style-categories .offers-intro {
  text-align: center;
  margin-top: 115px;
  padding-bottom: 45px;
  border-bottom: 1px solid #D5D5D5;
}
.offers-style-categories .offers-intro h2 {
  margin-bottom: 0;
}
.offers-style-categories .offers-loop-wrap {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.offers-style-categories  .offers-loop-wrap article {
  flex-basis: 33.3333333333%;
}
.gutter-wrap.offers-total1 {
border-bottom: 1px solid #D5D5D5;  
}
.offers-total1 .offers-loop-wrap article {
border-left: 1px solid #D5D5D5;
border-bottom: 0;
}
.offers-total1 .offers-loop-wrap article:first-of-type::after {
  display: none;
}
.gutter-wrap.offers-total2 {
border-bottom: 1px solid #D5D5D5;  
}
.offers-total2 .offers-loop-wrap article:first-of-type {
border-left: 1px solid #D5D5D5;
}
.offers-total2 .offers-loop-wrap article {
border-bottom: 0;
}
.offers-total2  .offers-loop-wrap article:first-of-type::after {
  display: none;
}


.offers-total4 .offers-loop-wrap article:last-of-type, .offers-total7 .offers-loop-wrap article:last-of-type, 
.offers-total10 .offers-loop-wrap article:last-of-type, .offers-total13 .offers-loop-wrap article:last-of-type, 
.offers-total16 .offers-loop-wrap article:last-of-type, .offers-total19 .offers-loop-wrap article:last-of-type, 
.offers-total22 .offers-loop-wrap article:last-of-type {
border-left: 1px solid #D5D5D5;
border-bottom: 0;
}
.offers-total5 .offers-loop-wrap article:nth-last-child(2), .offers-total8 .offers-loop-wrap article:nth-last-child(2), 
.offers-total11 .offers-loop-wrap article:nth-last-child(2), .offers-total14 .offers-loop-wrap article:nth-last-child(2), 
.offers-total17 .offers-loop-wrap article:nth-last-child(2), .offers-total20 .offers-loop-wrap article:nth-last-child(2), 
.offers-total23 .offers-loop-wrap article:nth-last-child(2) {
border-left: 1px solid #D5D5D5;
border-bottom: 0;
}
.offers-total5 .offers-loop-wrap article:last-of-type, .offers-total8 .offers-loop-wrap article:last-of-type, 
.offers-total11 .offers-loop-wrap article:last-of-type, .offers-total14 .offers-loop-wrap article:last-of-type, 
.offers-total17 .offers-loop-wrap article:last-of-type, .offers-total20 .offers-loop-wrap article:last-of-type, 
.offers-total23 .offers-loop-wrap article:last-of-type {
border-bottom: 0;
}


@media all and (max-width:768px) {
.offers-style-categories .offers-loop-wrap {
  display: grid;
}
.offers-total1 .offers-loop-wrap article {
  border-left: none;
}
.offers-total1 .offers-loop-wrap article {
  border-bottom: 1px solid #D5D5D5;
}
.gutter-wrap.offers-total1 {
  border-bottom: none;
}
.offers-total2 .offers-loop-wrap article:first-of-type {
  border-left: none;
}
.offers-total2 .offers-loop-wrap article {
  border-bottom: 1px solid #D5D5D5;
}
.gutter-wrap.offers-total2 {
  border-bottom: none;
}

.offers-total4 .offers-loop-wrap article:last-of-type, .offers-total7 .offers-loop-wrap article:last-of-type, 
.offers-total10 .offers-loop-wrap article:last-of-type, .offers-total13 .offers-loop-wrap article:last-of-type, 
.offers-total16 .offers-loop-wrap article:last-of-type, .offers-total19 .offers-loop-wrap article:last-of-type, 
.offers-total22 .offers-loop-wrap article:last-of-type {
border-left: 0;
border-bottom: 1px solid #D5D5D5;
}
.offers-total5 .offers-loop-wrap article:nth-last-child(2), .offers-total8 .offers-loop-wrap article:nth-last-child(2), 
.offers-total11 .offers-loop-wrap article:nth-last-child(2), .offers-total14 .offers-loop-wrap article:nth-last-child(2), 
.offers-total17 .offers-loop-wrap article:nth-last-child(2), .offers-total20 .offers-loop-wrap article:nth-last-child(2), 
.offers-total23 .offers-loop-wrap article:nth-last-child(2) {
border-left: 0;
border-bottom: 1px solid #D5D5D5;
}
.offers-total5 .offers-loop-wrap article:last-of-type, .offers-total8 .offers-loop-wrap article:last-of-type, 
.offers-total11 .offers-loop-wrap article:last-of-type, .offers-total14 .offers-loop-wrap article:last-of-type, 
.offers-total17 .offers-loop-wrap article:last-of-type, .offers-total20 .offers-loop-wrap article:last-of-type, 
.offers-total23 .offers-loop-wrap article:last-of-type {
border-bottom: 1px solid #D5D5D5;
}
.offers-loop-wrap article:nth-of-type(3n+3)::after, .offers-loop-wrap article:nth-of-type(3)::after {
  display: none;
}
.offers-loop-wrap article:nth-of-type(3n+4)::after, .offers-loop-wrap article:first-of-type::after {
  display: none;
}
.offers-loop-wrap article::after {
  display: none;
}
}
