/* ---------- Category Page Styles ---------- */

#post-sort {
  cursor: pointer;
  transition: all 0.2s ease;
}
#post-sort:hover, #post-sort:focus {
  border-color: #34091A;
  box-shadow: 0 0 4px rgba(83, 7, 105, 0.3);
}

.d-flex { display: flex; }
.justify-content-start { justify-content: flex-start; }
.justify-content-between { justify-content: space-between; }
.align-items-center { align-content: center; }
.pad-right { padding-right: 10px; }

.category-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .category-container {
    padding: 16px;
  }
}

@media (max-width: 480px) {
  .category-container {
    padding: 12px;
  }
}


.category-card {
  display: flex;
  min-width: 1100px;
  flex-wrap: wrap;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 20px;
  align-items: center;
  margin-bottom: 40px;
}

.category-image { flex: 0 0 40%; text-align: center; margin-bottom: 20px; }
.category-image img { max-width: 100%; border-radius: 12px; }

.category-content { flex: 1; padding-left: 20px; }
.category-title { font-size: 2rem; font-weight: bold; margin-bottom: 15px; color:black;}
.category-description { font-size: 1rem; color: black; margin-bottom: 15px; width:100%}

.category-author {
  font-size: 0.95rem;
  font-style: italic;
  color: #333;
  margin-top: 1em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.category-author .author-avatar {
  border-radius: 50%;
  box-shadow: 0 .25rem .5rem rgba(0, 0, 0, 0.15);
  width: 50px; height: 50px;
}
.category-author .author-info a {
  color: #0073aa; text-decoration: none;
}
.category-author .author-info a:hover { text-decoration: underline; }

.px-4 { padding-left: 4px; padding-right: 4px; }
.pt-4 { padding-top: 4px; }

.episode-padding {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(1, 1fr);
}
@media (min-width: 768px) {
  .episode-padding { grid-template-columns: repeat(2, 1fr); }
  .category-card {min-width: 300px; box-shadow: none;}
}
@media (min-width: 1200px) {
  .episode-padding { grid-template-columns: repeat(3, 1fr); }
}

.shadow-div {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 .5rem 1rem rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  padding-top:30px;
  padding-bottom:30px;
}
.shadow-div:hover {
  transform: translateY(-5px);
  box-shadow: 0 .75rem 1.5rem rgba(0, 0, 0, 0.15);
}
.shadow-div h6 {
  font-size: 1rem;
  font-weight: 600;
  color: #222;
}
.shadow-div .fs-custom {
  font-size: 0.95rem;
  color: #444;
}
.shadow-div .fa-eye,
.shadow-div .fa-star {
  font-size: 0.85rem;
  line-height: 1;
}
.text-primary-color { color: #e63946; }
.shadow-div .text-muted p {
  margin: 0;
  font-size: 0.9rem;
}
.fs-custom { font-size: 0.95rem; }
.d-flex.align-items-center.px-5.my-3.fs-custom p {
  margin-bottom: 0;
  color: #444;
}
.fa-eye, .fa-star, .fa-pen-nib { font-size: 0.9rem; }
.fa-star { color: gold; }

.title-padding {
    padding-left: 20px; 
    padding-right:20px;
}


.views-padding {
    padding-left: 20px;
    padding-top: 5px;
    color: #34091A;
}

@media (max-width: 767px) {
  .category-card { min-width: 300px; flex-direction: column; text-align: center; box-shadow: none; }
  .category-content { padding-left: 0; }
  .category-title { font-size: 1.6rem; }
  .category-container { padding: 10px; }
}


