/* ===== Evenson Blog Posts (EBP) ===== */

.ebp-status {
  display: none;
}

/* Buttons UI */
.ebp-term-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  background: #000;
}

.ebp-term-btn {
  border: 1px solid #191919;
  background: transparent;
  padding: 14px 24px;
  font-size: 14px;
  cursor: pointer;
  color: #fff;
}

.ebp-term-buttons .ebp-term-btn.is-active {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid #191919;
}


.ebp-term-btn:hover {
  background: #191919;
}



/* ===== Evenson Blog Posts (EBP) ===== */

/* Controls */
.ebp-controls {
  display: flex;
  gap: 14px;
  align-items: flex-end;
  flex-wrap: wrap;
  margin: 10px 0 22px;
  justify-content: space-between;
}

.ebp-control {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background-color: #191919;
}

.ebp-label {
  font-size: 13px;
  font-weight: 600;
  color: #111;
}


.ebp-select,
.ebp-search {
  border: 0px !important;
  border-radius: 0px;
  background: linear-gradient(90deg, #FFFFFF 0%, #7A7A7A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  font-size: 14px;
  line-height: 18px;
  text-transform: uppercase;
  padding: 14px 30px !important;
}

.ebp-control.ebp-search-control {
  justify-content: center;
  align-items: center;
  padding: 0px 20px;
  color: white;
  flex-direction: row;
}

.ebp-control.ebp-search-control svg {
  width: 20px;
}

.ebp-control.ebp-search-control input {
  padding: 14px 4px !important;
}

.ebp-select:focus,
.ebp-search:focus {
  outline: none;
}

/* 
.ebp-select,
.ebp-search {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 12px 14px;
  border: 1px solid #e5e7eb;
  background: rgba(255, 255, 255, 0.1);
  font-size: 14px;
  line-height: 1.2;
  width: 100%;
}

.ebp-select {
  padding-right: 42px;
  background-image: linear-gradient(45deg, transparent 50%, #111 50%),
    linear-gradient(135deg, #111 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  cursor: pointer;
}

.ebp-select:focus,
.ebp-search:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
} */

.ebp-status {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 12px;
}

/* Posts grid */
.all-posts-shortcode {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(416px, 1fr));
  gap: 64px 8px;
  margin: 0 0 24px;
}


.single-post.first-post {
  grid-column: span 3;
}


.single-post-image {
  width: 100%;
  height: 280px;
  /* adjust as needed */
  overflow: hidden;
  margin-bottom: 24px;
}

.first-post .single-post-image {
  height: 500px;
}

.single-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.all-posts-shortcode .post-title {
  margin-bottom: 20px;
  font-size: 24px;
  line-height: 32px;
  font-family: Everett;
}

.all-posts-shortcode .post-title a {
  color: #111;
  text-decoration: none;
}

.all-posts-shortcode .post-meta {
  font-size: 18px;
  color: #7a7a7a;
  line-height: 28px;
  margin-top: 20px;
  font-family: Everett;
}

.terms .term {
  padding: 10px 14px;
  background: #303030;
  text-transform: uppercase;
  font-family: Everett;
  color: #fff;
  font-size: 13px;
  line-height: 18px;
}

.single-post-image {
  position: relative;
}

.terms {
  position: absolute;
  right: 15px;
  top: 15px;
  display: flex;
}

.post-meta {
  gap: 16px;
  display: flex;
  align-items: center;
}

.post-meta svg {
  width: 9px;
  fill: #3f3f3f;
}

.all-posts-shortcode .post-excerpt {
  font-size: 15px;
  line-height: 1.6;
  color: #374151;
}

/* Load more */
.ebp-loadmore-wrap {
  display: flex;
  justify-content: center;
  margin: 8px 0 40px;
}

.ebp-loadmore-btn {
  background: #191919;
  padding: 8px 16px;
  font-size: 16px !important;
  line-height: 20px !important;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
  color: #fff;
  border: none;
}

.ebp-loadmore-btn:hover {
  background: #fff;
  color: #191919;
}


.ebp-loadmore-btn:disabled {
  opacity: .6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.ebp-loadmore-btn.is-loading {
  position: relative;
}


.single-post.ebp-service {
  height: 643px;
}

.single-post.ebp-service .img {
  height: 380px;
}

/** Service Styles */

article.single-post.ebp-service {
  overflow: hidden;
  border: 1px solid #191919;
}
.single-post.ebp-service {
  position: relative;
}
.service-content {
  padding: 0px 24px 24px 24px;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
}

.service-content h3 {
  font-size: 24px;
  line-height: 32px;
  margin: 0px 0px 16px 0px;
  text-transform: uppercase;
}

.service-content .price {
  font-family: 'Everett';
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  background: linear-gradient(90deg, #FFFFFF 0%, #FF0000 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  display: inline;
}

.service-content .fsg-features {
  margin: 16px 0px 24px 0px;
}


.single-post.ebp-service img {
  position: absolute;
  bottom: 20px;
  left: 24px;
}
.single-post.ebp-service .img {
  position: relative;
}


.fsg-btn {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, .2);
}

.fsg-btn span svg {
  width: 20px;
  fill: #7a7a7a;
  transition: fill .3s ease;
}

.fsg-btn span {
  font-size: 14px;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: linear-gradient(90deg, #FFFFFF 0%, #7A7A7A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  box-sizing: border-box;
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

.fsg-btn:hover {
  background: linear-gradient(90deg, #FFFFFF 0%, #7A7A7A 100%);
  border-color: #7A7A7A;
}

.fsg-btn:hover span {
  background: linear-gradient(90deg, #000 40%, #000 60%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.fsg-btn:hover svg {
  fill: #000;
}

/* article.single-post.ebp-service:hover .service-content {
  bottom: 0px;
  transition: all 0.3s ease;
} */

a.service-link {
  /* Frame 60 */
  box-sizing: border-box;

  /* Auto layout */
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 4px;
  gap: 10px;
  margin: 0 auto;
  width: 47px;
  color: #fff;
  height: 47px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #FFFFFF;
  backdrop-filter: blur(8px);
  /* Note: backdrop-filter has minimal browser support */

  /* Inside auto layout */
  flex: none;
  order: 0;
  flex-grow: 0;
  position: absolute;
  right: 24px;
  top: 24px;
  opacity: 0;
  transition: all 0.3s ease;
}

.ebp-service:hover a.service-link {
  opacity: 1;
  transition: all 0.3s ease;
}

/** Project Styles */
.ebp-project {
  height: 587px;
}

/* .ebp-project .single-post-image {
  height: 400px;
  margin: 0;
} */
article.single-post.ebp-project {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.project-content {
  padding: 24px;
}

.project-content h3 {
  margin: 0px;
}

.project-terms .term {
  font-size: 12px;
  line-height: 20px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid #272727;
}

.project-terms {
  display: flex;
  gap: 8px;
}

.project-terms .term:hover {
  border: 1px solid #272727;
  background: transparent;
}

/**
  * Responsive Styles
  */

@media (max-width: 1024px) {
  .all-posts-shortcode {
    grid-template-columns: repeat(2, 1fr);
  }

  .single-post.first-post {
    grid-column: span 2;
  }

  article.single-post.ebp-service .service-content {
    bottom: 0px;
  }
}

@media (max-width: 640px) {
  .all-posts-shortcode {
    grid-template-columns: 1fr;
  }

  .single-post.first-post {
    grid-column: 1;
  }

  .first-post .single-post-image {
    height: 280px;
  }
}