.acf-block-akademia-header {
  position: relative;
  padding-top: 48px;
  padding-bottom: 48px;
  background: linear-gradient(92deg, rgba(32, 231, 225, 0.3) 0%, rgba(178, 232, 229, 0) 48%, rgba(35, 255, 248, 0.3) 100%), var(--Colours-Brand-unilogo-reg, #00b2a9);
  background-color: var(--color1);
  overflow: hidden;
}
.acf-block-akademia-header .container {
  position: relative;
}
.acf-block-akademia-header .container:before {
  content: "";
  display: block;
  position: absolute;
  width: 350px;
  height: 260px;
  top: -140px;
  left: -160px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url(../../assets/img/akademia/Header-niski-BLOG-blob-lewy.svg);
}

.acf-block-akademia-header .container:after {
  content: "";
  display: block;
  width: 480px;
  height: 352px;
  top: -100px;
  right: -140px;
  position: absolute;
  background-repeat: no-repeat, no-repeat;
  background-position: center, 35% 77%;
  background-size: contain, 170px 160px;
  background-image: url(../../assets/img/akademia/Header-niski-Blog-blob-prawy.svg), url(../../assets/img/akademia/Header-niski-BLOG-kreski.svg);
}
.page-small-header-title {
  font-family: "ff-din-paneuropean", sans-serif;
  color: #fff;
  font-size: 3.5rem;
  font-weight: 500;
  letter-spacing: -1.5px;
}
.acf-block-akademia-header .page-header-lead {
  font-family: "ff-din-paneuropean", sans-serif;
  color: #1a2d52;
  font-size: 1.375rem;
  font-weight: 400;
  letter-spacing: -0.5px;
  max-width: 700px;
}

.acf-block-posts-categories {
  background: var(--Colours-Brand-Navy-Blue-darker, #1a2d52);
  padding-top: 30px;
  padding-bottom: 30px;
}
.acf-block-posts-categories a {
  color: var(--color1);
  font-family: "ff-din-paneuropean", sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.5px;
}
.acf-block-posts-categories li {
  margin-right: 50px;
}
.acf-block-posts-categories .count {
  font-size: 0.75rem;
  font-weight: 600;
  position: relative;
  left: 5px;
  top: -5px;
  color: var(--Colours-Brand-Navy-Blue-vibrant-1);
}

.acf-block-akademia-posts-wrapper {
  padding-top: 64px;
}
.block-post-categories-name {
  font-size: 0.875rem;
  color: var(--color1);
  font-weight: 600;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-family: "Open Sans";
}

.section-posts .post-item .post-title {
  font-size: 1.25rem;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.5px;
  font-family: "ff-din-paneuropean", sans-serif;
  color: #404040;
}
.section-posts .post-item .post-title a {
  padding-top: 16px;
  padding-bottom: 24px;
  padding-right: 32px;
  display: block;
  color: #404040;
}
.section-last-added .post-item .post-title a {
  padding-bottom: 12px;
}
.section-last-added .post-item .post-excerpt {
  padding-right: 32px;
  min-height: 140px;
}
.section-posts .post-item .post-excerpt {
  font-size: 1rem;

  font-family: "Open Sans";
  color: #666;
}
.section-posts .post-item .post-img img {
  aspect-ratio: 5/3;
  object-fit: cover;
  fill: linear-gradient(180deg, rgba(32, 231, 225, 0) 0%, rgba(32, 231, 225, 0.3) 53.52%, rgba(32, 231, 225, 0.6) 100%);
}
.section-posts .post-category a {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color1);
  display: block;
  padding-bottom: 4px;
  font-family: "Open Sans";
}
.section-posts .post-item .row-post .avatar {
  display: none;
}

/* .section-cat-select  */
.section-cat-select .block-post-categories-name {
  color: #00b2a9;
  /* Headings/Desktop/h4 */
  font-family: "ff-din-paneuropean", sans-serif;
  text-transform: none;
  font-size: 28px;
  font-style: normal;
  font-weight: 500;
  line-height: 36px; /* 128.571% */
  letter-spacing: -0.5px;
}
.editor-choice-posts {
  padding-bottom: 80px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  column-gap: 66px;
}
.editor-choice-posts .post-featured {
  max-width: 830px;
}

.editor-choice-posts .post-featured .post-item .post-img img {
  width: 100%;
  height: 600px;
  object-fit: cover;
}
.editor-choice-posts .post-secondary-wrap {
  max-width: 416px;
}
.editor-choice-posts .post-secondary-wrap .post-img img {
  height: 232px;
  width: 100%;
  object-fit: cover;
}

.editor-choice-posts .post-featured .post-item .post-title {
  font-size: 2.25rem;
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: -0.8px;
}
.editor-choice-posts .post-featured .post-title a {
  padding-top: 16px;
  padding-bottom: 16px;
  display: block;
  font-weight: 500;
}
.author-info {
  font-family: "Open Sans";
  font-size: 0.75rem;
  font-weight: 500;
  color: #666;
}
.editor-choice-posts .post-featured .post-item .post-img img {
  aspect-ratio: 4/3;
  object-fit: cover;
  fill: linear-gradient(180deg, rgba(32, 231, 225, 0) 0%, rgba(32, 231, 225, 0.3) 53.52%, rgba(32, 231, 225, 0.6) 100%);
}
.editor-choice-posts .post-featured .post-item .post-excerpt {
  font-size: 1.375rem;
  font-weight: 400;
  letter-spacing: -0.5px;
  font-family: "ff-din-paneuropean", sans-serif;
  margin-bottom: 40px;
}
.editor-choice-posts .post-featured .author-info br,
.editor-choice-posts .post-featured .author-info small {
  display: none;
}
.editor-choice-posts .post-featured .post-author img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  margin-right: 16px;
}
.editor-choice-posts .post-featured .post-item .row-post {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.editor-choice-posts .post-featured .post-item .row-post .post-category {
  order: 2;
  position: relative;
}
.editor-choice-posts .post-featured .post-item .row-post .post-category a {
  padding-bottom: 0;
  padding-left: 20px;
}
.editor-choice-posts .post-featured .post-item .row-post .post-author {
  order: 1;
  color: #262626;
  display: flex;
  align-items: center;
  font-size: 0.875rem;
}

.editor-choice-posts .post-featured .post-item .row-post .avatar {
  display: block;
  border-radius: 50%;
  margin-right: 20px;
}
.post-secondary-wrap .post-item:nth-of-type(1) {
  margin-bottom: 32px;
}
.post-secondary-wrap .post-item .post-excerpt,
.post-secondary-wrap .post-item .post-author {
  display: none;
}
.section-cat-8 {
  padding-bottom: 96px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
.section-cat-8 .post-excerpt {
  display: none;
}
.section-cat-8 .row-flex {
  column-gap: 1rem;
  padding-left: 0px;
  justify-content: space-between;
}
.section-cat-8 .post-item {
  padding-left: 16px;
  padding-right: 0;
  max-width: 23%;
  box-sizing: border-box;
  border-left: 1px solid var(--color1);
  position: relative;
  padding-bottom: 80px;
}
.section-cat-8 .post-item .row-post {
  position: absolute;
  bottom: 0;
  display: flex;
  flex-flow: column-reverse;
}
.section-cat-8 .author-info {
  color: #5d5d5d;
  font-family: "Open Sans";
  font-size: 0.875rem;
  font-weight: 400;
}
.section-cat-8 .author-info strong {
  font-weight: normal;
}
.section-cat-8 .author-info br,
.section-cat-8 .author-info small {
  display: none;
}
/* section-last-added */
/* .section-last-added:before {
  content: "";
  display: block;
  height: 32px;
  background: linear-gradient(to bottom, rgba(244, 244, 244, 0.65) 0%, rgba(255, 255, 255, 1) 91%, rgba(255, 255, 255, 1) 100%);
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
} */
.single-post .section-last-added:before {
  content: none;
}
.section-last-added {
  padding-top: 0px;
  padding-bottom: 64px;
  position: relative;
}

.section-last-added .row-flex {
  column-gap: 1.8rem;
  justify-content: flex-start;
}
.section-last-added .post-item {
  margin-bottom: 64px;
  box-sizing: border-box;
  position: relative;
  width: 31.8%;
}
.section-last-added .post-item .row-post {
  position: absolute;
  bottom: 0;
  display: flex;
  flex-flow: row;
  align-items: center;
}

.section-last-added .post-item .row-post .post-author br,
.section-last-added .post-item .row-post .post-author small {
  display: none;
}
.section-last-added .post-item .row-post .post-author {
  margin-left: 16px;
  font-size: 0.75rem;
}

.section-last-added .post-category a {
  padding-top: 1px;
  padding-bottom: 0;
}

.section-last-added .post-item .post-img img {
  aspect-ratio: 1.333;
  height: 312px;
}
.section-last-added .post-item .row-post .author-info {
  color: #666;
}
.section-category-view:before {
  display: none;
}

.custom-shortcode-wrapper {
  width: 865px;
  height: 600px;
  background-color: red;
  margin-bottom: 64px;
}
.pagination-wrapper {
  text-align: center;
  margin-bottom: 40px;
  margin-top: 40px;
}

.pagination-wrapper ul {
  display: inline-flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 8px;
}

.pagination-wrapper li {
  display: inline;
}

.pagination-wrapper a,
.pagination-wrapper span {
  display: inline-block;
  width: 40px;
  height: 40px;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.85rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  color: #333;
  text-decoration: none;
  border-radius: 50%;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.pagination-wrapper a:hover {
  background-color: #f5f5f5;
  border-color: #999;
  color: #000;
}

.pagination-wrapper .current {
  background-color: var(--color1);
  color: #fff;
  border-color: var(--color1);
  font-weight: bold;
  pointer-events: none;
}
section.section-posts.section-category-view {
  padding-top: 96px;
}

.related-posts-title {
  color: #404040;
  font-family: "ff-din-paneuropean", sans-serif;
  font-size: 1.75rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.3; /* 128.571% */
  letter-spacing: -0.5px;
  margin-bottom: 32px;
}

@media screen and (max-width: 768px) {
  .acf-block-posts-categories li {
    margin-right: auto;
  }
  .editor-choice-posts {
    display: flex;
    flex-flow: column;
    gap: 32px;
  }
  .section-cat-select .acf-block-akademia-posts-wrapper .editor-choice-posts .post-item,
  .section-cat-select .acf-block-akademia-posts-wrapper .editor-choice-posts .post-item:nth-of-type(2),
  .section-cat-select .acf-block-akademia-posts-wrapper .editor-choice-posts .post-item:nth-of-type(3) {
    grid-area: auto;
  }
  .section-cat-select .acf-block-akademia-posts-wrapper .editor-choice-posts .post-item .post-img img {
    aspect-ratio: 1/1 !important;
    height: auto;
  }

  .section-cat-select .acf-block-akademia-posts-wrapper .editor-choice-posts .post-item .post-title {
    font-size: 1.125rem;
    line-height: 1.3;
  }
  .section-cat-select .acf-block-akademia-posts-wrapper .editor-choice-posts .post-item .post-title a {
    padding-bottom: 12px;
  }
  .section-cat-select .acf-block-akademia-posts-wrapper .editor-choice-posts .post-item .post-excerpt {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 24px;
  }
  .section-cat-8 .post-item,
  .section-last-added .post-item {
    padding-left: 0;
    padding-right: 0;
    max-width: 100%;
    box-sizing: border-box;
    border-left: 0;
    position: relative;
    padding-bottom: 40px;
    width: 100%;
  }
  .section-cat-8 .row-flex {
    column-gap: 0;
    padding-left: 0px;
    justify-content: space-between;
    flex-flow: column;
  }
  .section-last-added .post-item .post-excerpt {
    min-height: auto;
  }
}
