/*!
Theme Name: Sunflower II
Theme URI: 
Author: UTA
Author URI: 
Description: Sunflower II
Version: 1.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: UTA
Tags: custom-background, custom-logo, custom-content, custom-menu, featured-images

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

.form-container-search-news {
  display: flex;
  align-items: center;
  position: relative;
}

.form-container-search-news .input-field-search-btn {
  position: absolute;
  right: -2px;
  cursor: pointer;
  padding: 10px 12px;
  font-size: 14px;
  color: white;
  background-color: #8e4795;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  border: none;
}

.form-container-search-news .input-field-search-btn:hover {
  background-color: #c16cc9;
}

.form-container-search-news .input-field-search {
  padding-left: 20px !important;
  padding-right: 40px !important;
  padding: 8px;
  width: 100%;
  border: 1px solid #8e4795;
  border-radius: 8px;
}

.font-book {
  font-family: "SVN-Gotham-Book", sans-serif;
}

.postbox__wrapper .post-card {
  position: relative;
  background-color: white;
}

.post-card .img-container {
  background-size: cover;
  background-position: center;
  aspect-ratio: 1 / 1;
}

.post-card .img-container.default-img {
  background-image: url('../images/default-logo.png');
  background-size: contain;
  background-repeat: no-repeat;
}

.post-card img {
  width: 100%;
  height: auto;
}

.post-card .card-title {
  font-weight: 600;
}

.post-card  span.post-date {
  color: #9D9D9D;
  margin-right: 6px;
}

.post-category {
  font-weight: 600;
}

.post-category,
.post-card .card-title {
  color: #2A2A2A;
  text-decoration: none;
}

.post-category:hover,
.post-card .card-title:hover {
  color: #8E4795;
}

.blog-area .post-button {
  display: block;
  font-weight: 500;
  color: #8E4795;
  width: 160px;
  border-radius: 15px;
  text-decoration: none;
  transition: all 0.3s;
}

.blog-area a.active {
  transform: scale(1.05);
  border-radius: 30px;
  border: 5px solid var(--White, #fff);
}

.postbox__wrapper .post-card:hover {
  transition: background-color 0.5s ease;
  /* background: var(
    --Gradient,
    linear-gradient(90deg, #179c48 28%, #a4cd39 100%)
  ); */
}

.postbox__wrapper .post-button:hover {
  background: white;
  color: #C16CC9;
}

.pagination-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
}

.pagination-wrap .page-numbers:first-child::before {
  width: 50px;
  height: 2px;
  position: absolute;
  content: '';
  left: -63px;
  background: #000;
  transform: translateY(-50%);
  top: 50%;
}

.pagination-wrap .page-numbers:last-child::before {
  width: 50px;
    height: 2px;
    position: absolute;
    content: '';
    right: -63px;
    background: #000;
    transform: translateY(-50%);
    top: 50%;
}

.pagination-wrap .page-numbers {
  display: inline-flex;
  position: relative;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin: 0 10px;
  /* border: 1px solid #005c38; */
  color: black;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.pagination-wrap .page-numbers:hover {
  background-color: black;
  color: #fff;
  border-radius: 50%;
}

.pagination-wrap .current {
  background-color: black;
  color: #fff;
  font-weight: bold;
  border-radius: 50%;
}

.pagination-wrap .next,
.pagination-wrap .prev {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin: 0 10px;
  background-color: black;
  border: solid 1px black;
  border-radius: 50%;
  /* opacity: 0.7;  */
  color: white;
  text-decoration: none;
  font-size: 18px;
  transition: all 0.3s ease;
}

.pagination-wrap .next:hover,
.pagination-wrap .prev:hover {
  background-color: white;
  color: black;
}

.category-filter {
  background: #d9d9d9;
  color: white;
  border-radius: 30px;
}

.category-filter a {
  border: 5px solid var(--White, #d9d9d9);
  border-radius: 30px;
}

.category-filter a {
  color: white;
  font-size: 1.5rem;
  align-content: center;
}

.category-filter a:hover {
  color: white;
}

@media only screen and (max-width: 998px) {
  .category-filter a {
    color: white;
    font-size: 1.25rem;
  }
}

@media only screen and (max-width: 768px) {
  .category-filter {
    background: none;
    border-radius: 30px;
  }

  .category-filter a {
    color: #696969;
    background: #d9d9d9;
    font-weight: 400;
    border-radius: 12px;
    font-size: 1rem;
    border: none;
  }

  .category-filter a.active {
    border-radius: 12px;
    border: none;
    transform: scale(1);
  }

  .category-filter a:hover {
    color: #696969;
  }
}

.video-icon-container {
  position: absolute;
  right: 20px;
  top: 20px;
}

.video-icon {
  display: inline-block;
  position: absolute;
  top: 10px;
  right: 10px;
  width: 24px;
  height: 24px;
  background-color: #8e4795;
  -webkit-mask: url('../images/video-play.svg') no-repeat center;
  mask: url('../images/video-play.svg') no-repeat center;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.video-icon:hover {
  filter: brightness(0.8); /* Optional: darkens on hover */
}
