@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

body {
  font-family: "Roboto", sans-serif;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6,
.banner h1,
.banner h2,
.banner h3,
b,
strong {
  font-weight: 500;
}

.dark,
.dark p,
.dark td {
  color: #fff;
  line-height: 1.6;
}

.box-text a:not(.button),
.box-text h1,
.box-text h2,
.box-text h3,
.box-text h4,
.box-text h5,
.box-text h6,
.box-text p {
  margin: 0;
}

.icon-box-img img,
.icon-box-img svg {
  padding: 0;
}

body .row.row-small {
  max-width: 1334px;
}

body .row-small > .col,
body .row-small > .flickity-viewport > .flickity-slider > .col {
  margin-bottom: 0;
  padding: 0 8px 16px;
}

body .container .row-small:not(.row-collapse),
body .row .row-small:not(.row-collapse) {
  margin-left: -8px;
  margin-right: -8px;
}

.title {
  border-bottom: 2px solid var(--fs-color-primary);
  margin-bottom: 16px;
}

.title h2 {
  background-color: var(--fs-color-primary);
  color: #fff;
  padding: 8px 16px 6px;
  font-size: 18px;
  font-weight: 500;
  display: block;
  width: fit-content;
  margin-bottom: 0;
}

.post-item .box-text {
  padding-bottom: 0;
}

.post-item .post-title a {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.post-item .is-divider {
  display: none;
}

.post-item .post-meta {
  font-size: 12px;
  opacity: 1;
  margin-top: 4px;
}

.post-item .from_the_blog_excerpt {
  font-size: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 4px;
}

.box-overlay.dark .box-text,
.box-shade.dark .box-text {
  padding: 16px;
  text-shadow: unset !important;
}

/* layout1 */
.layout1 .post-item:nth-child(3),
.layout1 .post-item:nth-child(4) {
  flex-basis: 25%;
  max-width: 25%;
}

.layout1 .post-item:first-child .box-image > div {
  position: relative;
  padding-top: 95% !important;
}

.layout1 .box-text .post-title {
  font-size: 1.25rem;
}

.layout1 .box-text .post-title a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* layout2 */
.layout2 .post-item:first-child .box-image > div {
  position: relative;
  padding-top: 85% !important;
}

.layout2 .post-item:first-child .post-title {
  font-size: 1.25rem;
}

.layout2 .post-item:first-child .post-meta {
  display: none;
}

.layout2 .post-item:not(:first-child) .box {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
}

.layout2 .post-item:not(:first-child) .box-image {
  flex-basis: 33.3333333333%;
  max-width: 33.3333333333%;
}

.layout2 .post-item:not(:first-child) .box-text {
  flex-basis: 66.6666666667%;
  max-width: 66.6666666667%;
  padding: 0;
  padding-left: 16px;
}

.layout2 .post-item:not(:first-child) .from_the_blog_excerpt {
  display: none;
}

/* layout3 */
.layout3 .post-item:first-child .post-title {
  font-size: 1.25rem;
}

.layout3 .post-item:first-child .post-meta {
  display: none;
}

.layout3 .post-item:not(:first-child) {
  flex-basis: 50%;
  max-width: 50%;
}

.layout3 .post-item:not(:first-child) .overlay {
  display: none;
}

.layout3 .post-item:not(:first-child) .box-text {
  position: relative;
  padding: 8px 0 0;
}

.layout3 .post-item:not(:first-child) .post-title,
.layout3 .post-item .post-meta {
  color: var(--fs-color-base);
}

.layout3 .post-item:not(:first-child):hover .post-title {
  color: var(--fs-color-primary);
}

/* layout4 */
.layout4 .post-item:nth-child(-n + 2) .post-title {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.layout4 .post-item:nth-child(n + 3) .box {
  display: flex;
  flex-flow: row wrap;
}

.layout4 .post-item:nth-child(n + 3) .box-image {
  flex-basis: 33.3333333333%;
  max-width: 33.3333333333%;
}

.layout4 .post-item:nth-child(n + 3) .box-text {
  flex-basis: 66.6666666667%;
  max-width: 66.6666666667%;
  padding: 0;
  padding-left: 16px;
}

.layout4 .post-item:nth-child(n + 3) .from_the_blog_excerpt {
  display: none;
}

/* layout5 */
.layout5 .post-item .box {
  display: flex;
  flex-flow: row wrap;
}

.layout5 .post-item .box-image {
  flex-basis: 33.3333333333%;
  max-width: 33.3333333333%;
}

.layout5 .post-item .box-text {
  flex-basis: 66.6666666667%;
  max-width: 66.6666666667%;
  padding: 0;
  padding-left: 16px;
}

.layout5 .post-item .from_the_blog_excerpt {
  display: none;
}
