/* Archive Page Custom Styles */

.category-description-wrapper {
  /*  max-width: 800px; */
    margin: 0 auto 30px;
    text-align: left;
}

.category-description {
    font-size: 1rem;
    color: #444;
    line-height: 1.6;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.category-description.limited {
    max-height: 100px; /* adjust if needed */
    position: relative;
}

.category-description.expanded {
    max-height: 1000px;
}

.read-more-container {
    text-align: right;
    margin-top: 8px;
}

.read-more-toggle {
    display: inline-block;
    color: #ed4634;
    font-size: 0.95rem;
    cursor: pointer;
    text-decoration: underline;
}



.custom-archive-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 15px;
}

.page-title {
    text-align: left;
    font-size: 2.2rem;
    margin-bottom: 30px;
    text-decoration:none;
}

/* Remove underline and inherit base color */
.custom-post-box a {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Default post title style */
.custom-post-box .post-title {
    color: black;
    transition: color 0.3s ease;
}

/* Change color only when hovering over the link */
.custom-post-box a:hover .post-title {
    color: #ed4634 !important;
}

.custom-post-box .post-title {
    color: black;
    transition: color 0.3s ease;
}

.custom-post-box .post-title:hover {
    color: #ed4634;
}



.custom-post-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr); /* Mobile default */
    gap: 25px;
}

@media (min-width: 768px) {
    .custom-post-grid {
        grid-template-columns: repeat(2, 1fr); /* Tablets */
    }
}

@media (min-width: 1024px) {
    .custom-post-grid {
        grid-template-columns: repeat(3, 1fr); /* Desktops */
    }
}


.custom-post-box {
    background: #fff;
    border-radius: 10px;
    border: 3px solid #FCE7BB;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
    transition: transform 0.2s ease;
    padding-bottom: 15px;
}

.custom-post-box:hover {
    transform: translateY(-4px);
}

.post-thumbnail {
    width: 100%;
    height: 220px; /* Fixed height */
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.post-title {
    font-size: 1.3rem;
    margin: 15px;
    color: black !important;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.85rem;
    padding: 5px;
    color: #fff;
    align-items: center;
    background: #fcb900;
    font-size:0.7rem;
    font-family: Roboto, Arial, Helvetica, sans-serif;
}

.post-meta img {
    border-radius: 50%;
    vertical-align: middle;
}

.post-excerpt {
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0 15px;
    color: #444;
}

.pagination {
    margin-top: 30px;
    text-align: center;
}