.two-col-cards-section {
  background-color: #F5F5F5;
  position:relative;
  width: 100%;
}
.two-col-cards-section .inner-wrapper {
  width: 100%;
  z-index: 9;
}
.two-col-cards-section .top-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 60px;
  margin-bottom: 50px;
}
.two-col-cards-section .section-header {
  width: 70%;
}
.two-col-cards-section .section-button {
  width: calc(30% - 60px);
  text-align: end;
}
.two-col-cards-section .cards-outer-wrap {
  display: flex;
  gap: 45px;
  align-items: stretch;
  flex-wrap: wrap;
}
.two-col-cards-section .row-left-col {
  background-color: #fff;
  /*   overflow: hidden;
  position: relative; */
  border-radius: 20px;
}
.two-col-cards-section .row-left-col, .two-col-cards-section .row-right-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: calc(50% - 23px);
}
.two-col-cards-section .row-left-col .card-item {
  background-color: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  padding: 20px;
  height: 100%;
  position: relative;
}
.two-col-cards-section .row-right-col .card-item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  background-color: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  padding: 15px;
  gap: 15px;
}
.two-col-cards-section .card-image-wrapper {
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  background-color: #f5f5f5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 2;
}
.two-col-cards-section .row-left-col .card-image-wrapper {
  width: 100%;
  aspect-ratio: 719 / 365;
  margin-bottom: 20px;
}
.two-col-cards-section .row-right-col .card-image-wrapper {
  width: 207px;
  aspect-ratio: 207 / 160;
}
.two-col-cards-section .card-image-wrapper img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
}
/* .row-right-col .card-image-wrapper img {
width: 100%;
height: 100%;
object-fit: cover;
} */
@supports not (aspect-ratio: 1 / 1) {
  .two-col-cards-section .row-left-col .card-image-wrapper {
    height: 365px;
  }
  .two-col-cards-section .row-right-col .card-image-wrapper {
    height: 178px;
  }
}
.two-col-cards-section .card-content-wrap {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}
.two-col-cards-section .row-right-col a.blog-listing__post-tag {
  font-size: 12px;
  padding: 10px;
}
.two-col-cards-section .card-content {
  margin-bottom: 8px;
}
.two-col-cards-section .card-content * {
  margin-bottom: 0;
}
.two-col-cards-section .card-title {
  text-decoration: none;
  color: #0B081D;
  font-weight: 600;
}
.two-col-cards-section .card-link-wrapper a {
  color: #9EE493;
  text-decoration: none;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  margin-top: 10px;
}
.two-col-cards-section .card-link-wrapper a:after {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-left: 8px;
  background-image: url('https://144085216.fs1.hubspotusercontent-eu1.net/hubfs/144085216/Xsellerate_Theme/Images/resources/Arrow-icon.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transition: transform 0.3s ease;
}
.two-col-cards-section .card-link-wrapper a:hover::after {
  transform: translateX(6px);
}
.two-col-cards-section .card-link-wrapper a:hover{
  text-decoration: underline;
}
.two-col-cards-section .row-left-col .card-title {
  padding-top: 26px;
  border-top: 1px solid #D9D9D9;
}
.two-col-cards-section .row-left-col .blog-date-wrap {
  margin-top: 26px;
  margin-bottom: 15px;
}
.two-col-cards-section .row-left-col .card-content {
  margin-bottom: 30px;
}
.two-col-cards-section .section-button a {
  background-color: transparent;
  color: #0B081D;
  border: 1px solid #0B081D;
  font-family: Urbanist, sans-serif;
  display: inline-flex;
  align-items: center;
}
.two-col-cards-section .section-button a:hover {
  font-family: Urbanist, sans-serif;
  color: #0B081D;
  border: 1px solid #0B081D;
  text-decoration: underline;
}
.two-col-cards-section .section-button a:after {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-left: 8px;
  background-image: url('https://blog.xsellerate.ie/hubfs/Xsellerate_Theme/Images/resources/Arrow-icon-blue.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transition: transform 0.3s ease;
}
.two-col-cards-section .cards-bottom-wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Strictly 4 columns */
  gap: 2rem;
  width: 100%;
  margin: 40px 0;
}
.two-col-cards-section .cards-bottom-wrap .card-item {
  display: flex;
  padding: 15px;
  flex-direction: column;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  transition: box-shadow 0.3s;
  width: 100%;
  height: 100%;
}
.two-col-cards-section .card-item:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}
.two-col-cards-section .cards-bottom-wrap .card-content-wrap {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  flex-grow: 1;
}
.two-col-cards-section .cards-bottom-wrap .card-title {
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
}
.two-col-cards-section .cards-bottom-wrap .card-content {
  flex-grow: 1;
  margin-bottom: 1rem;
}
.two-col-cards-section .bottom-btn{
  width: 100%;
  text-align: center;
  color:#0b081d;
}
.two-col-cards-section .bottom-btn a,.two-col-cards-section .bottom-btn .button:focus,.two-col-cards-section .bottom-btn .button:hover{
  color:#0b081d;
}
@media screen and (max-width: 1240px) {
  .two-col-cards-section .cards-outer-wrap {
    gap: 20px;
  }
  .two-col-cards-section .row-left-col {
    width: 38%;
  }
  .two-col-cards-section .row-right-col {
    width: calc(62% - 20px);
  }
}
@media screen and (max-width: 1024px) {
  .two-col-cards-section .row-left-col {
    width: 42%;
  }
  .two-col-cards-section .row-right-col {
    width: calc(58% - 20px);
  }
  .two-col-cards-section .row-right-col .card-image-wrapper {
    width: 140px;
    aspect-ratio: 140 / 170;
  }
  .two-col-cards-section .row-left-col .card-image-wrapper {
    aspect-ratio: 600 / 530;
  }
}
@media (max-width: 1024px) {
  .two-col-cards-section .two-col-cards-section .cards-bottom-wrap {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (max-width: 768px) {
  .two-col-cards-section .two-col-cards-section .cards-outer-wrap {
    flex-direction: column !important;
    display: flex;
  }
  .two-col-cards-section .two-col-cards-section .row-right-col .card-content-wrap {
    max-width: 600px;
  }
  .two-col-cards-section .two-col-cards-section .row-right-col .card-image-wrapper {
    width: 310px;
    aspect-ratio: 310 / 170;
  }
  .two-col-cards-section .two-col-cards-section .two-col-cards-section.dnd-section {
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .two-col-cards-section .row-left-col,
  .two-col-cards-section .row-right-col {
    width: 100%;
  }
  .two-col-cards-section .section-header {
    width: 60%;
  }
  .two-col-cards-section .section-button {
    width: calc(40% - 60px);
  }
  .two-col-cards-section .row-right-col .card-image-wrapper {
    width: 280px;
    aspect-ratio: 280 / 222;
  }
}
@media (max-width: 768px) {
  .two-col-cards-section .cards-bottom-wrap {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 600px) {
  .two-col-cards-section .row-left-col,
  .two-col-cards-section .row-right-col {
    width: 100%;
  }
  .two-col-cards-section .row-right-col .card-item {
    flex-direction: column;
  }
  .two-col-cards-section .row-right-col .card-image-wrapper {
    width: 100%;
    aspect-ratio: 719 / 365;
  }
  .two-col-cards-section .top-row {
    flex-direction: column;
    gap: 0;
  }
  .two-col-cards-section .section-header {
    width: 100%;
  }
  .two-col-cards-section .section-button {
    width: 100%;
    text-align: left;
  }
}
@media (max-width: 480px) {
  .two-col-cards-section .cards-bottom-wrap {
    grid-template-columns: 1fr;
  }
}
