
.bread {
  padding: 100px 0 6px;
  background: #fff;
}

.breadcrumbs-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  overflow: hidden;
}

.breadcrumbs-item a {
  color: #333335;
  opacity: 0.7;
}

/* NEWS ARCHVIE PAGE */


.news {
  padding: 104px 0 96px 0;
  background: #eef2fa;
}

.news-area {
  display: flex;
  gap: 10px;
  width: 100%;
}

.news-title {
  width: calc((100% - 20px) / 3);
}

.news-content {
  width: calc(2 * ((100% - 20px) / 3) + 10px);
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.news-items {
  display: flex;
  gap: 10px;
}

.news-item {
  width: calc((100% - 5px) / 2);
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: all 0.3s ease-in-out;
  padding-bottom: 50px;
}

.news-item:hover {
  background-color: #ffffff;
  box-shadow: 0px 0px 0px 10px rgba(255, 255, 255, 1);
  -webkit-box-shadow: 0px 0px 0px 10px rgba(255, 255, 255, 1);
  -moz-box-shadow: 0px 0px 0px 10px rgba(255, 255, 255, 1);
}

.news-item-link {
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-decoration: none;
  color: #000000;
}

.news-item-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.news-item-featured-image {
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.news-item-title {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.3;
  max-width: 80%;
  min-height: calc(24px * 1.3 * 3);
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.4s ease-in-out;
}

.news-item-link:hover .news-item-title {
  text-decoration-color: #000;
}

.news-item-exerpt {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  max-width: 80%;
  min-height: calc(14px * 1.4 * 3);
}

.news-item-meta {
  display: flex;
  gap: 35px;
  opacity: 0.5;
}

.news-item-date,
.news-item-category {
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: #000;
}

.news-item-category {
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.3s ease-in-out;
}

.news-item-category:hover {
  text-decoration-color: #000;
}

.btn-all {
  display: flex;
  gap: 10px;
  font-size: 14px;
  line-height: 1;
  font-weight: 500;
  color: #000;
  text-decoration: none;
  width: fit-content;
}

.btn-all span {
  position: relative;
  width: fit-content;
}

.btn-all span:after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background: #000;
  transition: width 0.3s ease-in-out;
}

.btn-all:hover span:after {
  width: 100%;
}

.btn-all svg {
  transition: all 0.3s ease-in-out;
  transform: translate(0px, -2px);
}

.btn-all:hover svg {
  transform: translate(2px, -4px);
}

@media (max-width: 1024px) {
  .news {
    padding: 64px 0;
  }

  .news-item {
    padding-bottom: 24px;
  }

  .news-item-link {
    gap: 14px;
  }

  .news-item-title {
    font-size: 20px;
    min-height: calc(20px * 1.3 * 3);
  }
}

@media (max-width: 820px) {
  .news-content {
    gap: 25px;
  }

  .news-item-title {
    max-width: 100%;
    font-size: 18px;
    min-height: calc(18px * 1.3 * 3);
  }

  .news-item-exerpt {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .news-area {
    flex-direction: column;
    gap: 24px;
  }

  .news-title,
  .news-content {
    width: 100%;
  }

  .news-item-title {
    min-height: calc(18px * 1.3 * 2);
  }
}

@media (max-width: 767px) {
  .news {
    padding: 44px 0;
  }

  .news-items {
    flex-direction: column;
    gap: 24px;
  }

  .news-item {
    width: 100%;
  }
}

.news-listing {
  padding: 220px 0 128px;
  background: #fff;
}

.news-listing-content {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.news-listing-title-area {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.news-listing-title {
  font-size: 64px;
  line-height: 1;
  font-weight: 500;
}

.news-filters-area {
  display: flex;
  justify-content: flex-end;
  gap: 4px;
}

.news-filter-btn {
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  padding: 20px;
  color: #000;
  background-color: #eef2fa;
  transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out;
  border-radius: 50px;
}

.news-filter-btn.active,
.news-filter-btn:hover {
  color: #fff;
  background-color: #000;
}

.top-news {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.top-news .news-item {
  width: calc(50% - 10px);
}

.news-listing .news-item:hover {
  background-color: #ffffff;
  box-shadow: 0px 0px 0px 10px #eef2fa;
  -webkit-box-shadow: 0px 0px 0px 10px #eef2fa;
  -moz-box-shadow: 0px 0px 0px 10px #eef2fa;
}

.news-listing .news-item-img,
.news-listing .news-item {
  border-radius: 10px;
}

.news-listing .news-item-title {
  min-height: calc(24px * 1.3 * 2);
  padding: 0 24px;
}

.news-listing .news-item-exerpt,
.news-item-meta {
  padding: 0 24px;
}

.all-news {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  row-gap: 40px;
}

.all-news .news-item {
  width: calc((100% - 20px) / 3);
}

.news-pagination {
  width: 100%;
  display: flex;
  justify-content: center;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 20px;
  align-items: center;
}

.pagination-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0px;
}

.pagination-link,
.pagination-current {
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  color: #000;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  background-color: transparent;
  transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

.pagination-dots {
  width: 25px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  transform: translateY(-10px);
  color: #5f6d7e;
}

.pagination-link:hover,
.pagination-current {
  color: #fff;
  background-color: #2561ff;
}

@media (max-width: 1024px) {
  .news-listing {
    padding: 120px 0 70px;
  }

  .all-news .news-item {
    width: calc(50% - 5px);
  }

  .news-listing .news-item-title,
  .news-listing .news-item-exerpt,
  .news-listing .news-item-meta {
    padding: 0 16px;
  }
}

@media (max-width: 767px) {
  .news-listing-title {
    font-size: 44px;
  }

  .news-listing-title-area {
    flex-direction: column;
    gap: 20px;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .news-filters-area {
    justify-content: flex-start;
  }

  .news-listing .news-item {
    width: 100% !important;
  }

  .all-news {
    gap: 32px;
  }
}

.pagination-btn.is-disabled {
  opacity: 0.4;
  filter: grayscale(1);
  pointer-events: none;
}


/* NEWS SINGLE */

.article-hero {
  height: 600px;
  position: relative;
  overflow: hidden;
}

.article-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;

  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.55) 25%,
    rgba(0, 0, 0, 0.25) 45%,
    rgba(0, 0, 0, 0) 70%
  );
}

.article-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  /*height: 100%;*/
  object-fit: cover;
  z-index: 0;
}

.article-hero-content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 34px;
  z-index: 3;
  position: relative;
}

.article-hero-content .breadcrumbs {
  padding-top: 100px;
}

.article-hero-content .breadcrumbs-item a,
.article-hero-content .breadcrumbs-separator,
.article-hero-content .breadcrumbs-current {
  color: #fff;
}

.article-title-area {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 920px;
  margin: 0 auto;
}

.article-title {
  font-size: 64px;
  line-height: 1;
  font-weight: 500;
  color: #fff;
}

.article-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.article-meta {
  display: flex;
  gap: 30px;
  color: #fff;
  opacity: 0.5;
  font-size: 16px;
}

.article-cat {
  text-decoration: none;
  color: #fff;
}

.article-cat:hover {
  text-decoration: underline;
}

.article-author {
  display: flex;
  gap: 12px;
  align-items: center;
  display: none;
}

.article-author img {
  width: 24px;
  height: 24px;
  border-radius: 50px;
  flex-shrink: 0;
}

.author-name {
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  opacity: 0.5;
}

@media (max-width: 1024px) {
  .article-hero-content .breadcrumbs {
    padding-top: 90px;
  }

  .article-title-area {
    width: 100%;
    margin: 0;
    gap: 47px;
  }

  .article-title {
    font-size: 54px;
  }
  
  .article-thumb {
      
      height: 100%;
  }
  
  iframe {
        height: 450px !important;
    }
}

@media (max-width: 767px) {
    
    iframe {
        height: 300px !important;
    }
    
  .article-hero {
    height: 480px;
  }

  .article-title-area {
    gap: 18px;
  }

  .article-title {
    font-size: 28px;
  }

  .article-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

.article {
  background: #fff;
  color: #333335;
  font-weight: 400;
  line-height: 1.3;
  padding: 36px 0;
  font-size: 18px;
}

.article p {
  padding: 1em 0;
}

.article p:first-of-type {
  padding: 0;
}

.wp-block-heading {
  color: #08050e;
  font-weight: 500;
  line-height: 1;
  padding: 1em 0 0.5em;
}

.wp-block-heading:first-child {
  padding-top: 0;
  padding-bottom: 0.5em;
}

h2.wp-block-heading {
  font-size: 44px;
}

h3.wp-block-heading {
  font-size: 32px;
}

h3.wp-block-heading {
  font-size: 24px;
}

h4.wp-block-heading {
  font-size: 20px;
}

h5.wp-block-heading {
  font-size: 18px;
}

.article-content {
  width: 920px;
  margin: 0 auto;
}

.article img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  margin-bottom: 20px;
}

.article ol,
.article ul {
  margin: 0;
  padding: 0;
}

.article li {
  margin-left: 16px;
  line-height: 1.5;
  padding-bottom: 0.5em;
}

.article li:last-child {
  padding-bottom: 0px;
}

@media (max-width: 1024px) {
  .article-content {
    width: 100%;
    margin: 0;
  }
}

@media (max-width: 767px) {
  .article {
    font-size: 16px;
  }

  h2.wp-block-heading {
    font-size: 32px;
  }

  h3.wp-block-heading {
    font-size: 24px;
  }

  h3.wp-block-heading {
    font-size: 20px;
  }

  h4.wp-block-heading {
    font-size: 18px;
  }

  h5.wp-block-heading {
    font-size: 16px;
  }
}

/* RELATED */

.related {
  padding: 64px 0;
  background: #eef2fa;
}

.related-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (max-width: 767px) {
  .related .all-news {
    flex-wrap: wrap;
    flex-direction: column;
    gap: 20px;
  }

  .related .all-news .news-item {
    width: 100%;
  }
}

/* --- RELATED --- */
