:root {
  --wp--preset--color---primary: $primary;
  --wp--preset--color---secondary: $secondary;
  --wp--preset--color---white: $white;
  --wp--preset--color---black: $black;
  --wp--preset--color---black-pure: $black-pure;
  --font-default: 'Brother 1816', calibri, sans-serif;
  --font-alt: 'Brother 1816 Printed', calibri, sans-serif;
  --font-size-default: 18px;
  --font-weight-default: 300;
  --line-height-default: 1.333;
}

body {
  --wp--preset--font-size--medium: 18px;
}

/**  end vars */
.ogtrta-grid {
  width: 100%;
  margin: 0 auto;
}
.ogtrta-grid__container {
  display: flex;
  flex-direction: column;
}
.ogtrta-grid__featured {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 4rem;
}
@media (max-width: 991px) {
  .ogtrta-grid__featured {
    margin-bottom: 2rem;
  }
}
.ogtrta-grid__featured-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.ogtrta-grid__featured-link:hover .ogtrta-grid__featured-image,
.ogtrta-grid__featured-link:hover .ogtrta-grid__card-image,
.ogtrta-grid__featured-link:hover .ogtrta-grid__style3-image,
.ogtrta-grid__featured-link:hover .ogtrta-grid__style4-image {
  transform: scale(1.02);
}
.ogtrta-grid__featured-link:hover .ogtrta-grid__arrow-icon {
  transform: translate(2px, -2px);
}
.ogtrta-grid__featured-link:hover .ogtrta-grid__style3-title {
  color: #143441;
}
.ogtrta-grid__featured-image-wrapper {
  width: 100%;
  height: 810px;
  border-radius: 16px;
  overflow: hidden;
  background: #C4C4C4;
  margin-bottom: 1rem;
}
@media (max-width: 1024px) {
  .ogtrta-grid__featured-image-wrapper {
    height: 500px;
  }
}
@media (max-width: 767px), screen and (max-width: 812px) and (orientation: landscape) {
  .ogtrta-grid__featured-image-wrapper {
    height: 350px;
  }
}
.ogtrta-grid__featured-image {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.4s ease;
}
.ogtrta-grid__featured-content {
  display: flex;
  flex-direction: column;
  padding-bottom: 1.5rem;
}
.ogtrta-grid__featured-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.ogtrta-grid__featured-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ogtrta-grid__title-wrapper {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
}
.ogtrta-grid__featured-title {
  font-family: "Brother 1816 Printed", calibri, sans-serif;
  font-weight: 350;
  font-size: 36px;
  line-height: 1.3;
  color: #000D16;
  margin: 0;
  flex: 1;
}
@media (max-width: 1024px) {
  .ogtrta-grid__featured-title {
    font-size: 30px;
  }
}
.ogtrta-grid__date {
  font-family: "Brother 1816", calibri, sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.3;
  color: #75884D;
}
.ogtrta-grid__excerpt {
  font-family: "Brother 1816", calibri, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.3;
  color: #000D16;
  margin: 0;
}
@media (max-width: 767px), screen and (max-width: 812px) and (orientation: landscape) {
  .ogtrta-grid__excerpt {
    font-size: 16px;
  }
}
.ogtrta-grid__arrow-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12" fill="none"><path d="M1 11L11 1M11 1H1M11 1V11" stroke="%2375884D" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  background-size: 12px 12px;
  background-position: center;
  background-repeat: no-repeat;
  padding: 2px 0 0;
  transition: transform 0.3s ease;
  display: block;
}
.ogtrta-grid__categories {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
}
.ogtrta-grid__category-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  background: #143441;
  border-radius: 16px;
  font-family: "Brother 1816", calibri, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  text-align: center;
  color: #FEFFFE;
}
.ogtrta-grid__grid-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 48px 32px;
}
@media (max-width: 767px), screen and (max-width: 812px) and (orientation: landscape) {
  .ogtrta-grid__grid-wrapper {
    gap: 50px 0;
  }
}
.ogtrta-grid__card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: calc((100% - 64px) / 3);
  min-width: 320px;
  box-sizing: border-box;
  border: 1px solid #8FD9FF;
  border-radius: 16px;
  padding: 4px 4px 0 4px;
  overflow: hidden;
}
@media (max-width: 1024px) {
  .ogtrta-grid__card {
    width: calc((100% - 32px) / 2);
  }
}
@media (max-width: 767px), screen and (max-width: 812px) and (orientation: landscape) {
  .ogtrta-grid__card {
    width: 100%;
    min-width: 150px;
    border-width: 0;
  }
}
.ogtrta-grid__card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
}
.ogtrta-grid__card-link:hover .ogtrta-grid__featured-image,
.ogtrta-grid__card-link:hover .ogtrta-grid__card-image,
.ogtrta-grid__card-link:hover .ogtrta-grid__style3-image,
.ogtrta-grid__card-link:hover .ogtrta-grid__style4-image {
  transform: scale(1.05);
}
.ogtrta-grid__card-link:hover .ogtrta-grid__arrow-icon {
  transform: translate(2px, -2px);
}
.ogtrta-grid__card-link:hover .ogtrta-grid__style3-title {
  color: #143441;
}
.ogtrta-grid__card-image-wrapper {
  width: 100%;
  height: 286px;
  border-radius: 16px;
  overflow: hidden;
  background: #C4C4C4;
  margin-bottom: 1rem;
}
@media (max-width: 1024px) {
  .ogtrta-grid__card-image-wrapper {
    height: 286px;
  }
}
@media (max-width: 767px), screen and (max-width: 812px) and (orientation: landscape) {
  .ogtrta-grid__card-image-wrapper {
    height: 242px;
  }
}
.ogtrta-grid__card-image-wrapper {
  border-radius: 16px 16px 0 0;
}
.ogtrta-grid__card-image {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.4s ease;
}
.ogtrta-grid__card-content {
  display: flex;
  flex-direction: column;
  padding: 0 14px 14px;
  flex: 1;
}
@media (max-width: 767px), screen and (max-width: 812px) and (orientation: landscape) {
  .ogtrta-grid__card-content {
    padding: 0;
  }
}
.ogtrta-grid__card-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ogtrta-grid__card-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.ogtrta-grid__card-title {
  font-family: "Brother 1816", calibri, sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 130%;
  color: #000D16;
  margin: 0;
  flex: 1;
}
.ogtrta-grid__pagination {
  margin-top: 48px;
  text-align: center;
}
@media (max-width: 767px), screen and (max-width: 812px) and (orientation: landscape) {
  .ogtrta-grid__pagination {
    margin-top: 32px;
  }
}
.ogtrta-grid__filters-wrapper {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 48px;
  padding-inline: 2rem;
}
@media (max-width: 767px), screen and (max-width: 812px) and (orientation: landscape) {
  .ogtrta-grid__filters-wrapper {
    padding-inline: 1rem;
  }
}
.ogtrta-grid__filters-wrapper {
  max-width: 1344px;
  width: 100%;
  margin-inline: auto;
}
@media (max-width: 1024px) {
  .ogtrta-grid__filters-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 32px;
  }
}
@media (max-width: 767px), screen and (max-width: 812px) and (orientation: landscape) {
  .ogtrta-grid__filters-wrapper {
    padding: 0 1rem;
  }
}
.ogtrta-grid__filters {
  flex-grow: 1;
  width: 100%;
  border-bottom: 1px solid #E6E6E9;
}
.ogtrta-grid__filters .facetwp-facet {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 0;
}
.ogtrta-grid__filters .facetwp-radio {
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 0 4px 12px 4px;
  margin-bottom: -1px;
  border-bottom: 2px solid transparent;
  background: none;
  background-image: none;
  font-family: "Brother 1816", calibri, sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.5;
  color: #000000;
  transition: all 0.3s ease;
}
.ogtrta-grid__filters .facetwp-radio.checked {
  color: #75884D;
  border-bottom-color: #75884D;
  background-image: none;
}
.ogtrta-grid__filters .facetwp-radio:hover {
  color: #75884D;
  background-image: none;
}
.ogtrta-grid__filters .facetwp-radio .facetwp-counter {
  display: none;
}
.ogtrta-grid__sorting {
  flex-shrink: 0;
}
@media (max-width: 1024px) {
  .ogtrta-grid__sorting {
    align-self: flex-end;
  }
}
.ogtrta-grid__sorting .facetwp-facet {
  margin-bottom: 0;
}
.ogtrta-grid__sorting select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  display: flex;
  align-items: center;
  padding: 10px 36px 10px 16px;
  gap: 6px;
  background-color: #FEFFFE;
  border: 0.5px solid #75884D;
  border-radius: 24px;
  box-shadow: 0px 1px 2px rgba(10, 13, 18, 0.05);
  font-family: "Brother 1816", calibri, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  color: #000000;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2375884D' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 10px;
}
.ogtrta-grid__sorting select:focus {
  outline: none;
  border-color: #75884D;
}

.ogtrta-grid .wp-block-columns {
  margin-bottom: 0;
}
.ogtrta-grid .wp-block-column {
  width: 100%;
}

.ogtrta-grid__grid-wrapper {
  padding-inline: 2rem;
}
@media (max-width: 767px), screen and (max-width: 812px) and (orientation: landscape) {
  .ogtrta-grid__grid-wrapper {
    padding-inline: 1rem;
  }
}
.ogtrta-grid__grid-wrapper {
  margin-bottom: 25px;
}

.ogtrta-grid.block-Style1 .wp-block-columns:first-of-type {
  max-width: 1280px;
  margin: 0 auto;
  padding-inline: 2rem;
}
@media (max-width: 767px), screen and (max-width: 812px) and (orientation: landscape) {
  .ogtrta-grid.block-Style1 .wp-block-columns:first-of-type {
    padding-inline: 1rem;
  }
}
.ogtrta-grid.block-Style1 .wp-block-columns:first-of-type {
  -moz-column-gap: 0;
       column-gap: 0;
}
.ogtrta-grid.block-Style1 .wp-block-columns:last-of-type {
  width: 100%;
  padding-inline: 2rem;
}
@media (max-width: 767px), screen and (max-width: 812px) and (orientation: landscape) {
  .ogtrta-grid.block-Style1 .wp-block-columns:last-of-type {
    padding-inline: 1rem;
  }
}
.ogtrta-grid.block-Style1 .ogtrta-grid__container {
  margin-top: -80px;
}
@media (max-width: 1024px) {
  .ogtrta-grid.block-Style1 .ogtrta-grid__container {
    margin-top: -60px;
  }
}
@media (max-width: 767px), screen and (max-width: 812px) and (orientation: landscape) {
  .ogtrta-grid.block-Style1 .ogtrta-grid__container {
    margin-top: -40px;
  }
}
.ogtrta-grid.block-Style1 .ogtrta-grid__card .ogtrta-grid__card-meta {
  margin-bottom: 7px;
}
.ogtrta-grid.block-Style1 .ogtrta-grid__card .ogtrta-grid__title-wrapper {
  margin-bottom: 4px;
}
.ogtrta-grid.block-Style1 .ogtrta-grid__card .ogtrta-grid__categories {
  margin-top: 1.5rem;
}

.ogtrta-grid__container .ogtrta-grid__categories {
  margin-bottom: 8px;
}
.ogtrta-grid__container .ogtrta-grid__categories .ogtrta-grid__category-text {
  font-family: "Brother 1816", calibri, sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.3;
  color: #75884D;
}

.ogtrta-grid.block-Style3 .pagination-wrapper .facetwp-facet {
  margin-bottom: 20px;
}

.ogtrta-grid__style3-wrapper {
  width: 100%;
  max-width: 1280px;
  margin: 47px auto;
  padding-inline: 2rem;
}
@media (max-width: 767px), screen and (max-width: 812px) and (orientation: landscape) {
  .ogtrta-grid__style3-wrapper {
    padding-inline: 1rem;
  }
}

.ogtrta-grid__style3-card {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.ogtrta-grid__style3-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.ogtrta-grid__style3-link:hover .ogtrta-grid__featured-image,
.ogtrta-grid__style3-link:hover .ogtrta-grid__card-image,
.ogtrta-grid__style3-link:hover .ogtrta-grid__style3-image,
.ogtrta-grid__style3-link:hover .ogtrta-grid__style4-image {
  transform: scale(1.05);
}
.ogtrta-grid__style3-link:hover .ogtrta-grid__arrow-icon {
  transform: translate(2px, -2px);
}
.ogtrta-grid__style3-link:hover .ogtrta-grid__style3-title {
  color: #143441;
}

.ogtrta-grid__style3-image-wrapper {
  width: 100%;
  height: 810px;
  border-radius: 16px;
  overflow: hidden;
  background: #C4C4C4;
  margin-bottom: 1rem;
}
@media (max-width: 1024px) {
  .ogtrta-grid__style3-image-wrapper {
    height: 500px;
  }
}
@media (max-width: 767px), screen and (max-width: 812px) and (orientation: landscape) {
  .ogtrta-grid__style3-image-wrapper {
    height: 300px;
  }
}

.ogtrta-grid__style3-image {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.ogtrta-grid__style3-content {
  display: flex;
  flex-direction: column;
}
.ogtrta-grid__style3-content .ogtrta-grid__title-wrapper {
  margin-bottom: 7px;
}

.ogtrta-grid__style3-meta {
  display: flex;
  align-items: center;
}

.ogtrta-grid__style3-title {
  font-family: "Brother 1816", calibri, sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3;
  color: #000D16;
  margin: 0;
  transition: color 0.3s ease;
}

.ogtrta-grid__style4-wrapper.shell {
  padding-top: 2rem;
}
.ogtrta-grid__style4-wrapper .ogtrta-grid__style4-card:hover {
  background-color: #8FD9FF;
}
.ogtrta-grid__style4-wrapper .ogtrta-grid__style4-card:hover .ogtrta-grid__style4-image {
  transform: scale(1.05);
}

.ogtrta-grid__style4-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 1024px) {
  .ogtrta-grid__style4-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}
@media (max-width: 767px), screen and (max-width: 812px) and (orientation: landscape) {
  .ogtrta-grid__style4-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

.ogtrta-grid__style4-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #8FD9FF;
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  transition: all 0.3s ease;
  padding: 4px 4px 0 4px;
}
@media (max-width: 767px), screen and (max-width: 812px) and (orientation: landscape) {
  .ogtrta-grid__style4-card {
    padding: 0;
    border-width: 0;
  }
}
.ogtrta-grid__style4-card .ogtrta-grid__title-wrapper {
  margin-bottom: 7px;
}

.ogtrta-grid__style4-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.ogtrta-grid__style4-image-wrapper {
  width: 100%;
  height: 286px;
  border-radius: 16px;
  overflow: hidden;
  background: #C4C4C4;
  margin-bottom: 1rem;
}
@media (max-width: 1024px) {
  .ogtrta-grid__style4-image-wrapper {
    height: 286px;
  }
}
@media (max-width: 767px), screen and (max-width: 812px) and (orientation: landscape) {
  .ogtrta-grid__style4-image-wrapper {
    height: 242px;
  }
}

.ogtrta-grid__style4-image {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.4s ease;
  border-radius: 16px;
  display: block;
  transition: all 0.3s ease;
}

.ogtrta-grid__style4-content {
  display: flex;
  flex-direction: column;
  padding: 0 14px 18px;
  flex-grow: 1;
}
@media (max-width: 767px), screen and (max-width: 812px) and (orientation: landscape) {
  .ogtrta-grid__style4-content {
    padding-inline: 0;
    padding-bottom: 0;
  }
}

.ogtrta-grid__style4-meta {
  margin-bottom: 4px;
}

.ogtrta-grid__style4-title {
  font-family: "Brother 1816", calibri, sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3;
  color: #000D16;
  margin: 0;
  transition: color 0.3s ease;
}

.ogtrta-grid__style4-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 1.5rem;
}

.ogtrta-grid__style4-category-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 10px;
  height: 25px;
  background: #143441;
  border-radius: 16px;
  font-family: "Brother 1816", calibri, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  color: #FEFFFE;
  text-align: center;
}
