/*
Theme Name: Child of Twenty Twenty-One
Author: Traphouse
Description: A child theme of Twenty Twenty-ONE
Version: 1.0
Template: twentytwentyone

This is the child theme for Twenty Twenty-One theme.


*/

body {
   font-family: 'Inter', sans-serif;
}
p.post-date {
    font-size: 14px;
}
.single-blog {
    max-width: 1180px;
    margin: 100px auto;
    padding: 20px;
}
h1.post-title {
    font-size: 44px;
}
.post-thumbnail {
    margin: 10px 0px;
}

.post-navigation {
    DISPLAY: flex;
    justify-content: space-between;
}   

.single-blog h2 {
    font-size: 35px !important;
}
.single-blog h3 {
    font-size: 28px !important;
}
.single-blog h4 {
    font-size: 22px !important;
}
.page-content.default-max-width {
    margin: 100px auto;
    max-width: 1180px;
}
.default-max-width form.search-form {
    margin: 20px 0px;
}


.category-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.category-post-card {
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.category-post-thumbnail {
    display: block;
    overflow: hidden;
}

.category-post-thumbnail img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}
a.category-read-more {
    color: red;
}
a.category-read-more:hover {
    color: #fc9f30e8;
}
.category-post-content {
    padding: 20px;
}

.category-post-date {
    font-size: 14px;
    color: #9da5b2;
    margin: 0 0 10px;
}

.category-post-title {
    font-size: 25px;
    line-height: 1.4;
    margin: 0 0 12px;
}

.category-post-title a {
    color: #25170c;
    text-decoration: none;
    font-weight: 600;
}

.category-post-title a:hover {
    color: #f07900;
}

.category-post-excerpt {
    font-size: 15px;
    line-height: 1.7;
    color: #25170c;
}

.category-read-more {
    display: inline-block;
    margin-top: 12px;
    font-weight: 600;
    text-decoration: none;
}
/* img.attachment-large.size-large.wp-post-image {
    width: 80% !important;
} */

@media (max-width: 768px) {
    .alignwide.categories {
    margin: 80px 20px !important;
}
   .single-blog h1.post-title {
    font-size: 30px !important;
}
.single-blog h2 {
    font-size: 28px !important;
    line-height: 34px !important;
}
    .category-posts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .category-posts-grid {
        grid-template-columns: 1fr;
    }
}

.alignwide.categories {
    margin: 100px auto;
    max-width: 1180px;
}