/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: hello-elementor
Author: Elementor Team
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 3.5.1.1789467353
Updated: 2026-09-15 12:15:53

*/

/* Category archive */
.category-archive {
    width: 100%;
    max-width: 1260px;
    margin: 0 auto;
    padding: 50px 20px;
}

.category-header {
    margin-bottom: 40px;
    text-align: center;
}

.category-title {
    margin: 0 0 15px;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.2;
}

.category-description {
    max-width: 850px;
    margin: 0 auto;
    color: #666;
    font-size: 17px;
    line-height: 1.7;
}

.category-description p:last-child {
    margin-bottom: 0;
}

/* Three-column grid */
.category-post-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

/* Post card */
.category-post-card {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.11);
}

/* Equal image sizes */
.category-card-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #eee;
}

.category-card-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.category-post-card:hover .category-card-image img {
    transform: scale(1.03);
}

.category-image-placeholder {
    width: 100%;
    height: 100%;
    background: #eee;
}

/* Card content */
.category-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 24px;
}

.category-card-title {
    margin: 0 0 15px;
    font-size: 23px;
    line-height: 1.3;
}

.category-card-title a {
    color: #222;
    text-decoration: none;
}

.category-card-title a:hover {
    color: #555;
}

.category-card-excerpt {
    margin-bottom: 20px;
    color: #666;
    line-height: 1.65;
}

.category-card-excerpt p {
    margin: 0;
}

.category-read-more {
    align-self: flex-start;
    margin-top: auto;
    font-weight: 600;
    text-decoration: none;
}

/* Pagination */
.category-archive .navigation.pagination {
    margin-top: 50px;
}

.category-archive .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.category-archive .page-numbers {
    min-width: 42px;
    padding: 10px 13px;
    text-align: center;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.category-archive .page-numbers.current,
.category-archive .page-numbers:hover {
    color: #fff;
    background: #222;
    border-color: #222;
}

/* Tablet */
@media (max-width: 1024px) {
    .category-post-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobile */
@media (max-width: 767px) {
    .category-archive {
        padding: 30px 15px;
    }

    .category-post-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
    }

    .category-card-content {
        padding: 20px;
    }

    .category-card-title {
        font-size: 21px;
    }
}
/* Force category heading to display */
.category-archive .category-header {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    margin: 0 0 40px !important;
    text-align: center !important;
}

.category-archive .category-title {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 0 15px !important;
    color: #222 !important;
    font-size: clamp(32px, 4vw, 48px) !important;
    line-height: 1.2 !important;
    text-align: center !important;
}