/* 
Theme Name:		 Hello Elementor Child
Theme URI:		 http://childtheme-generator.com/
Description:	 Hello Elementor Child is a child theme of Hello Elementor, created by ChildTheme-Generator.com
Author:			 Quape VN
Author URI:		 http://childtheme-generator.com/
Template:		 hello-elementor
Version:		 1.0.0
Text Domain:	 hello-elementor-child
*/

@media (max-width: 768px) {
    .e-con > .e-con-inner {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

/* Blog */
.centro-blog {
    background: #f8fafb;
    color: #17212b;
    min-height: 70vh;
    padding: clamp(56px, 8vw, 96px) 20px;
}

.centro-blog__inner {
    margin: 0 auto;
    max-width: 1180px;
}

.centro-blog__eyebrow {
    color: #d61f2c;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    margin: 0 0 12px;
    text-transform: uppercase;
}

.centro-blog h1 {
    font-size: clamp(2.25rem, 5vw, 4.25rem);
    line-height: 1.02;
    margin: 0;
}

.centro-blog__intro {
    color: #53606d;
    font-size: 1.08rem;
    line-height: 1.7;
    margin: 20px 0 42px;
    max-width: 720px;
}

.centro-blog__grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.centro-blog-card {
    background: #fff;
    border: 1px solid #e5e9ed;
    border-radius: 14px;
    box-shadow: 0 12px 35px rgba(20, 32, 45, 0.06);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.centro-blog-card__image {
    aspect-ratio: 16 / 9;
    background: #e9edf1;
    display: block;
    overflow: hidden;
}

.centro-blog-card__image img {
    height: 100%;
    object-fit: cover;
    transition: transform 250ms ease;
    width: 100%;
}

.centro-blog-card:hover .centro-blog-card__image img {
    transform: scale(1.025);
}

.centro-blog-card__content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 24px;
}

.centro-blog-card__meta {
    color: #6c7782;
    font-size: 0.82rem;
    margin-bottom: 10px;
}

.centro-blog-card h2 {
    font-size: 1.35rem;
    line-height: 1.3;
    margin: 0 0 12px;
}

.centro-blog-card h2 a,
.centro-blog-card__more {
    color: inherit;
    text-decoration: none;
}

.centro-blog-card__excerpt {
    color: #53606d;
    line-height: 1.65;
}

.centro-blog-card__more {
    color: #d61f2c;
    font-weight: 700;
    margin-top: auto;
    padding-top: 18px;
}

.centro-blog__pagination {
    margin-top: 40px;
}

@media (max-width: 900px) {
    .centro-blog__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .centro-blog__grid {
        grid-template-columns: 1fr;
    }
}

/* Product category search */
.centro-product-search {
    align-items: center;
    background: #fff;
    border: 1px solid #d9dfe4;
    border-radius: 10px;
    display: flex;
    margin: 0 0 24px;
    overflow: hidden;
    transition: border-color 160ms ease, box-shadow 160ms ease;
    width: 100%;
}

.centro-product-search:focus-within {
    border-color: #d61f2c;
    box-shadow: 0 0 0 3px rgba(214, 31, 44, 0.12);
}

.centro-product-search__field {
    appearance: none;
    background: transparent;
    border: 0 !important;
    box-shadow: none !important;
    color: #17212b;
    flex: 1;
    font-size: 0.95rem;
    min-width: 0;
    outline: 0;
    padding: 12px 4px 12px 14px;
}

.centro-product-search__field::placeholder {
    color: #78838e;
    opacity: 1;
}

.centro-product-search__field::-webkit-search-cancel-button {
    cursor: pointer;
}

.centro-product-search__submit {
    align-items: center;
    align-self: stretch;
    background-color: #d61f2c !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: #fff !important;
    cursor: pointer;
    display: flex;
    justify-content: center;
    margin: 0 !important;
    min-width: 46px;
    outline: 0;
    padding: 0 12px;
    transition: background-color 160ms ease;
}

.centro-product-search__submit:hover,
.centro-product-search__submit:focus-visible {
    background-color: #b81722 !important;
}

/* Align the Categories card with the first row of product cards on desktop. */
@media (min-width: 1025px) {
    body.post-type-archive-product .elementor-element-6f8c196 {
        margin-top: 80px !important;
    }
}
