/*
Theme Name:     Trans Family
Description:    
Author:         Alvantesha Priliandi
Email Author:   palvantesha@gmail.com
Template:       Divi
Version:        0.0.22
*/

/* ===== BLOG LIST STYLE ===== */
#main-content.info-product.blogs-list2 {
  padding: 40px 15px;
  background: #fafafa;
  font-family: "Segoe UI", Arial, sans-serif;
}

#main-content .container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Judul garis pembatas */
#main-content hr {
  border: none;
  border-top: 2px solid #eee;
  margin: 20px 0 40px;
}

/* Blog wrapper */
#area-blog.list-blog {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-gap: 25px;
}

/* Kolom artikel */
.et_pb_column.postss article {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.et_pb_column.postss article:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.12);
}

/* Gambar thumbnail */
.small-img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Konten artikel */
.article-box {
  padding: 18px 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Judul artikel */
.article-box h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 12px;
  line-height: 1.4;
}

.article-box h3 a {
  color: #222;
  text-decoration: none;
  transition: color 0.2s ease;
}

.article-box h3 a:hover {
  color: #c0392b; /* merah elegan */
}

/* Kategori & tanggal */
.the_category {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 12px;
}

.the_category a {
  color: #c0392b;
  text-decoration: none;
  font-weight: 500;
}

.the_category a:hover {
  text-decoration: underline;
}

/* Excerpt */
.excerpt p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.6;
  margin: 0;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .article-box h3 {
    font-size: 1rem;
  }
  .excerpt p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  #main-content.info-product.blogs-list2 {
    padding: 20px 10px;
  }
  #area-blog.list-blog {
    grid-gap: 15px;
  }
}
.postss {
    width: fit-content !important;
}

/* ===== Highlight Blog Simple Style ===== */

.page-template-customblog .main-blog .et_pb_row {
    width: 100% !important;
    max-width: 1280px !important;
}
/* Wrapper utama */
.flex-blog {
  display: flex;
  gap: 30px;
  align-items: center;
  border-radius: 12px;
  transition: all 0.3s ease;
}

/* Gambar */
.flex-blog .big-img {
  flex: 1;
  max-width: 50%;
}

.flex-blog .big-img img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

/* Konten */
.flex-blog .content-one-blog {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Judul */
.flex-blog .content-one-blog h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.4;
}

.flex-blog .content-one-blog h2 a {
  text-decoration: none;
  color: #222;
}

.flex-blog .content-one-blog h2 a:hover {
  color: #a06d51;
}

/* Category & Date */
.flex-blog .the_category {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 15px;
}

.flex-blog .the_category a {
  color: #a06d51;
  font-weight: 500;
  text-decoration: none;
}

.flex-blog .the_category a:hover {
  text-decoration: underline;
}

/* Excerpt */
.flex-blog .excerpt {
  font-size: 1rem;
  color: #444;
  margin-bottom: 20px !important;
  line-height: 1.6;
}

/* Tombol CTA */
.flex-blog .ctas .btn-primary {
  display: inline-block;
  padding: 10px 20px;
  background: #a06d51;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.flex-blog .ctas .btn-primary:hover {
  background: #724D39;
}

/* Responsive */
@media (max-width: 768px) {
  .flex-blog {
    flex-direction: column;
    text-align: center;
  }

  .flex-blog .big-img {
    max-width: 100%;
  }

  .flex-blog .content-one-blog {
    margin-top: 20px;
  }
}

/* ===== Category LIST STYLE ===== */
/* Wrapper utama kategori */
.category-list {
  background: #F2EAE5;
  padding: 20px 0;
  margin-bottom: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.category-list .blog-kategory ul {
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

/* Item Categories text */
.category-list .categories {
  font-weight: 600;
  font-size: 1rem;
  color: #222;
}

.category-list .categories ul {
  margin-top: 8px;
  /* padding-left: 15px; */
  font-size: 0.9rem;
  color: #666;
  gap: 24px;
}

.category-list .categories ul .cat-item {
    background-color: #fff;
    padding: 10px 5px;
    border-radius: 8px;
    border: 1px solid;
    width: 200px;
    display: flex;
    justify-content: center;
}

.category-list .categories ul .cat-item:hover {
  background-color: #a06d51;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.category-list .categories ul .cat-item:hover a {
  color: #fff !important
}
.category-list .categories ul .cat-item a{
    color: #a06d51 !important
}

/* Dropdown kategori */
.category-list .category-select {
  margin: 0;
}

.category-list .category-select .select {
  position: relative;
  display: inline-block;
}

.category-list .category-select select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px 40px 10px 15px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #333;
  cursor: pointer;
  transition: all 0.3s ease;
}

.category-list .category-select select:hover {
  border-color: #a06d51;
}

.category-list .category-select .arr {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  pointer-events: none;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #666;
}

/* Tombol Search */
.category-list .btnsearch {
  display: inline-block;
  width: 36px;
  height: 36px;
  margin-left: 15px;
  border-radius: 50%;
  background: #a06d51 url('/wp-content/uploads/2025/09/icons8-search-48.png') no-repeat center center;
  background-size: 50%;
  cursor: pointer;
  transition: background 0.3s ease;
}

.category-list .btnsearch:hover {
  background-color: #724D39;
}

/* Responsive */
@media (max-width: 768px) {
  .category-list .blog-kategory ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .category-list .btnsearch {
    margin-left: 0;
  }
}

/* ===== FORM Blog LIST STYLE ===== */

/* Search form wrapper */
.main-search {
  background: #F2EAE5;
  padding: 25px 0;
  margin-bottom: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.main-search .container {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 700px;
  margin: 0 auto;
  gap: 10px;
}

/* Input search */
.main-search .search-input {
  flex: 1;
  padding: 12px 18px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  color: #333;
  background: #fff;
  transition: all 0.3s ease;
}

.main-search .search-input:focus {
  outline: none;
  border-color: #a06d51;
  box-shadow: 0 0 5px rgba(0, 102, 255, 0.2);
}

/* Button search */
.main-search .search-submit {
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 8px;
  background: #a06d51 url('/wp-content/uploads/2025/09/icons8-search-48.png') no-repeat center center;
  background-size: 55%;
  cursor: pointer;
  transition: background 0.3s ease;
}

.main-search .search-submit:hover {
  background-color: #7b533d;
}

/* Hide text inside button for accessibility */
.main-search .search-submit .hide-element {
  display: none;
}

/* Responsive */
@media (max-width: 600px) {
  .main-search .container {
    flex-direction: column;
    align-items: stretch;
  }

  .main-search .search-submit {
    width: 100%;
    height: 45px;
    margin-top: 10px;
    background-size: 20px;
  }
}
.main-search {
  display: none;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.main-search.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}



