.custom-content {
  padding-top: 3rem;
}

.wp-block-columns {
  display: flex;
  margin-left: -1rem;
  margin-right: -1rem;
  /* overflow-x: hidden; */
}

.wp-block-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-left: 1rem;
  padding-right: 1rem;
}

.wp-block-button a.wp-block-button__link {
  display: inline-block;
  color: #fff;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: all 0.08s ease-in-out;
  outline: none;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1.3125rem;
  padding: 1.2rem 2rem;
  font-weight: 700;
  min-width: 17rem;
}

.wp-block-button a.wp-block-button__link,
.wp-block-button.is-style-fill a.wp-block-button__link {
  background: var(--primary-color);
}

.wp-block-button.is-style-outline a.wp-block-button__link {
  color: #2066e6;
  background: none;
  border: 1px solid #2066e6;
}


.wp-block-button a.wp-block-button__link:active {
  transform: scale(0.98);
}

.wp-block-button a.wp-block-button__link:hover {
  background: #2d2d2d;
}

.wp-block-image.size-large img {
  /* max-width: 733px; */
  /* max-width: 110%; */
  height: auto;
  position: relative;
  right: 40px;
}
figure.aligncenter img {
  margin: auto;
  display: block;
}

.wp-block-columns h4,
.wp-block-columns h3 {
  padding-right: 1rem;
}

.wp-block-columns p {
  padding-right: 3rem;
  line-height: 3rem;
}

.custom-content li {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #19191b;
  line-height: 29px;
}
.custom-content li::before {
  content: '';
  display: inline-block;
  height: 6px;
  width: 6px;
  background-image: url(/wp-content/themes/gemba/images/icons/list-oval-black.svg);
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 1rem;
  padding-bottom: 4px;
  padding-bottom: 0;
}

.custom-content .has-small-font-size {
  font-size: 0.8125rem !important;
}
.custom-content .has-normal-font-size {
  font-size: 1rem !important;
}

.has-text-align-center {
  text-align: center;
}

.custom-content table {
  /* display: block;
  overflow-x: auto;
  height: auto!important; */
  width: 100%;
}


.custom-content table td{
  padding-left: 8px;
  padding-right: 8px;
}

.custom-content a {
  color: #2066e6;
}

.news-page-title {
  font-size: 5rem;
}

.news-page h1 {
  /* font-size: 5rem; */
  font-weight: 700;
  margin-bottom: 2rem;
  color: #19191b;
}

.news-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
}
.news-content .featured-image {
  width: 100%;
}
.news-content .custom-content {
  padding-top: 0px;
  padding-right: 16px;
}

.news-tag-list {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.news-tag a {
  padding: 12px 16px;
  margin-right: 16px;
  margin-bottom: 8px;
  background-color: #eae9f2;
  color: #696871;
  font-size: 1rem;
  border-radius: 5px;
  font-weight: 700;
  color: #696871;
  display: block;
}

.news-tag a:hover {
  /* text-decoration: underline; */
  background-color: #006be1;
  color: #fff;
}

.news-sidebar-block {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background-color: #f4f4f4;
  border-radius: 6px;
  /* filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25)); */
}

.news-sidebar h4 {
  font-size: 1.75rem;
}

.news-sidebar .news-sidebar-post-title {
  margin-top: 24px;
  /* margin-bottom: 8px; */
}
.news-sidebar a {
  font-size: 1.2rem;
  color: #19191b;
  font-weight: 700;
}

.news-sidebar a:hover {
  text-decoration: underline;
}

.news-sidebar p.news-date {
  font-size: 0.875rem;
}

.news-categories-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.news-categories-list p {
  font-size: 1.25rem;
  color: #696871;
  font-weight: 700;
  margin-right: 32px;
}

.news-categories-list a p:hover {
  text-decoration: underline;
}

.news-list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 24px;
}

.news-list .news-item {
  border: 1px solid #eae9f2;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
}
.news-list .news-item .thumbnail {
  height: 336px;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}
.news-list .news-item img {
  width: 100%;
  max-width: 100%;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
}

.news-list .news-item .news-item-content {
  padding: 24px;
  flex: 1;
  flex-direction: column;
  display: flex;
}

.news-list .news-item .news-item-content .news-item-date {
  color: #767581;
  font-size: 1rem;
}

.news-list .news-item .news-item-content .news-item-title {
  color: #19191b;
  font-size: 1.25rem;
}

.news-list .news-item .news-item-content .news-item-excerpt {
  color: #767581;
  font-size: 1rem;
  flex: 1;
}
.news-list .news-item .news-item-content .news-item-link {
  color: var(--primary-color);
  text-decoration: underline;
  font-size: 1rem;
  font-weight: 700;
}
.news-list .news-item .news-item-content .news-item-link:hover {
  text-decoration: underline;
}

.navigation.pagination .screen-reader-text {
  display: none;
}

.navigation.pagination .nav-links {
  display: flex;
  justify-content: center;
}

.navigation.pagination .nav-links span,
.navigation.pagination .nav-links a {
  font-size: 1rem;
  margin-right: 16px;
  font-weight: 700;
  border-radius: 3px;
  min-width: 40px;
  text-align: center;
}

.navigation.pagination .nav-links span {
  background-color: var(--primary-color);
  color: #fff;
  padding: 4px 16px;
  font-family: 'PT Root UI Bold';
  font-weight: 500;
}

.navigation.pagination .nav-links a {
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  padding: 4px 12px;
  font-family: 'PT Root UI Bold';
  font-weight: 500;
}

.navigation.pagination .nav-links a:hover {
  background-color: #f2f9ff;
}

.wp-block-kadence-image img {
  height: auto;
  max-width: 100%;
}

@media only screen and (min-width: 981px) {
  .wp-block-column {
    max-width: 50%;
  }
  .wp-block-image.size-large img {
    /* height: 825px; */
    max-width: 110%;
  }
}
@media only screen and (max-width: 980px) {
  .mobile-section {
    display: block;
  }
  .desktop-only,
  .desktop-section {
    display: none;
  }

  .custom-content {
    padding-top: 1rem;
  }

  .wp-block-columns {
    flex-direction: column;
  }

  .wp-block-image.size-large img {
    max-height: 825px;
    max-width: 733px;
    width: auto;
    position: inherit;
  }
}
