/*
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Geral */

body {
    overflow-x: hidden;
}

.page-header {
    margin-top: 50px;
}

input:focus,
textarea:focus,
select:focus,
a:focus {
    outline: none;
}

.term-description {
    margin-bottom: 50px
}

/* Pesquisa */
.search .post {
    width: 25%;
    display: inline-block;
    vertical-align: top;
    padding: 20px;
    text-align: center;
}

.search .post h2 {
    color: #222222;
    font-weight: 400;
    font-size: 1em
}

.search .post .add_to_cart_inline {
    border: none !important;
}

.search .post .woocommerce-Price-amount {
    display: block;
}

.search .post .button {
    transition: .3s;
}

@media only screen and (max-width: 850px) {
    .search .post {
        width: 100%;
    }
}


/* Inputs */
input:not([type="submit"]),
select,
.select2,
textarea {
    margin-top: 5px;
    margin-bottom: 15px;
}

select {
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: var(--e-global-color-ccbd08f);
    border-radius: 0px 0px 0px 0px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-right: 30px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 15px top 50%;
}



/* Contact Forms 7 */
.wpcf7-form label {
    width: 100%;
}

.wpcf7-form .wpcf7-list-item.first,
.wpcf7-form .wpcf7-acceptance .wpcf7-list-item {
    margin-left: 0px;
}

/*Tables*/
table {
    border-color: var(--e-global-color-ccbd08f);
}

table td,
table th {
    border-color: var(--e-global-color-ccbd08f);
}

table tbody>tr:nth-child(odd)>td,
table tbody>tr:nth-child(odd)>th,
table tbody>tr:hover>td,
table tbody>tr:hover>th {
    background-color: rgba(0, 0, 0, 0.02);
}

/* Search Results Grid */
.search .site-main .page-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.search .site-main .page-content article {
    width: 100%;
    margin: 0;
}

@media (max-width: 1024px) {
    .search .site-main .page-content {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .search .site-main .page-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .search .site-main .page-content {
        grid-template-columns: 1fr;
    }
}

.search .post h2 {
    color: var(--e-global-color-text);
    font-weight: 400;
    font-size: 1.3em;
    margin-bottom: 10px;
}

.search .post .excerpt {
    color: var(--e-global-color-text);
    font-size: 0.9em;
    margin: 10px 0;
}

.search .post {
    text-align: left;
}

.search .post a.view {
    text-decoration: none;
    font-weight: 500;
    color: white;
    background-color: var(--e-global-color-primary);
    padding: 8px 20px;
    display: inline-block;
}

.search .post a.view:hover {
    background-color: var(--e-global-color-accent);
}

.search .post .price {
    color: var(--e-global-color-text);
    font-size: 1.2em;
    font-weight: 500;
    margin: 10px 0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.search .post .price del,
.search .post .price ins {
    display: inline-block;
}

.search .post img {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
}

.search .post-link {
    text-decoration: none;
    color: inherit;
}

/* Pagination Navigation */
.search .pagination {
    display: flex;
    justify-content: space-between;
    margin: 30px 20px;
}

.search .pagination .nav-previous,
.search .pagination .nav-next {
    flex: 0 0 auto;
}

.search .pagination a {
    color: var(--e-global-color-text);
    text-decoration: none;
    padding: 10px 20px;
    background-color: #f5f5f5;
    transition: all 0.3s ease;
}

.search .pagination a:hover {
    background-color: var(--e-global-color-primary);
    color: white;
}

.search .pagination .meta-nav {
    font-size: 1.5em;
}

/* Blog/Archive Grid Layout */
.blog .site-main .page-content,
.archive .site-main .page-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 75%;
    /* Default width when sidebar exists */
    float: left;
}

/* When sidebar doesn't exist, content takes full width */
.blog .site-main:not(:has(.blog-sidebar)) .page-content,
.archive .site-main:not(:has(.blog-sidebar)) .page-content {
    width: 100%;
    float: none;
}

/* Blog Sidebar */
.blog-sidebar {
    width: 22%;
    float: right;
    padding-left: 30px;
}

/* Clear float after main content */
.site-main::after {
    content: "";
    display: table;
    clear: both;
}

@media (max-width: 1024px) {

    .blog .site-main .page-content,
    .archive .site-main .page-content {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {

    .blog .site-main .page-content,
    .archive .site-main .page-content {
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
        float: none;
    }

    .blog-sidebar {
        width: 100%;
        float: none;
        padding-left: 0;
        margin-top: 40px;
    }
}

@media (max-width: 480px) {

    .blog .site-main .page-content,
    .archive .site-main .page-content {
        grid-template-columns: 1fr;
    }
}

.post-link {
    text-decoration: none !important;
    color: inherit;
}

.post {
    width: 100%;
    text-align: left;
    transition: all 0.3s ease;
}

.post img {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
}

.post .entry-title {
    color: var(--e-global-color-text);
    font-weight: 400;
    font-size: 1.3em;
    margin-bottom: 10px;
    text-decoration: none !important;
}

.post .excerpt {
    color: var(--e-global-color-text);
    font-size: 0.9em;
    margin: 10px 0;
    text-decoration: none !important;
}

.pagination {
    display: flex;
    justify-content: space-between;
    margin: 80px 20px;
    clear: both;
}

.pagination a {
    color: var(--e-global-color-text);
    text-decoration: none !important;
    padding: 10px 20px;
    background-color: #f5f5f5;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background-color: var(--e-global-color-primary);
    color: white;
}

/* Blog Sidebar Widgets */
.blog-sidebar .widget {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e5e5e5;
}

.blog-sidebar .widget:last-child,
.blog-sidebar .widget:has(h2.wp-block-heading) {
    border-bottom: none;
    padding-bottom: 0px;
}

.blog-sidebar .wp-block-search {
    position: relative;
}

.blog-sidebar .wp-block-search .wp-block-search__input {
    width: 100%;
    padding: 10px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
}

.blog-sidebar .wp-block-search .wp-block-search__button {
    display: none;
}

.blog-sidebar .wp-block-categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-sidebar .wp-block-categories-list li {
    margin-bottom: 10px;
}

.blog-sidebar .wp-block-categories-list a {
    color: var(--e-global-color-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-sidebar .wp-block-categories-list a:hover {
    color: var(--e-global-color-primary);
}

.blog-sidebar h2.wp-block-heading {
    font-size: 1.5em;
    margin-top: 20px;
    margin-bottom: 0px;
    color: var(--e-global-color-text);
    font-weight: 500;
}

.blog-sidebar .wp-block-latest-posts__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-sidebar .wp-block-latest-posts__list li {
    margin-bottom: 15px;
}

.blog-sidebar .wp-block-latest-posts__post-title {
    color: var(--e-global-color-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-sidebar .wp-block-latest-posts__post-title:hover {
    color: var(--e-global-color-primary);
}

/* Single Post Layout */
.single .site-main {
    width: 100%;
}

.single .site-main .page-content {
    width: 75%;
    float: left;
}

/* When sidebar doesn't exist, content takes full width */
.single .site-main:not(:has(.blog-sidebar)) .page-content {
    width: 100%;
    float: none;
}

@media (max-width: 768px) {
    .single .site-main .page-content {
        width: 100%;
        float: none;
    }
}

.single .entry-title {
    color: var(--e-global-color-text);
    font-weight: 400;
    font-size: 1.8em;
    margin-bottom: 20px;
}

.single .post-tags {
    margin: 30px 0;
}

.single .tag-links {
    color: var(--e-global-color-text);
    font-size: 0.9em;
}

/* Clear float after main content */
.single .site-main::after {
    content: "";
    display: table;
    clear: both;
}

/* Related Posts Section */
.related-posts {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #e5e5e5;
}

.related-posts h3 {
    color: var(--e-global-color-text);
    font-size: 1.5em;
    margin-bottom: 20px;
}

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

.related-post-item {
    text-align: left;
}

.related-post-item img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.related-post-item h4 {
    margin: 0;
    font-size: 1.1em;
}

.related-post-item a {
    color: var(--e-global-color-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-post-item a:hover {
    color: var(--e-global-color-primary);
}

@media (max-width: 768px) {
    .related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* Post Info */
.post-info {
    margin-bottom: 20px;
    font-size: 0.9em;
    color: var(--e-global-color-text);
}

.post-info .post-date {
    display: inline-block;
    padding: 5px 10px;
    background-color: #f5f5f5;
    border-radius: 3px;
}

.post-info .post-date:before {
    content: "\f073";
    font-family: "Font Awesome 5 Free";
    margin-right: 5px;
    opacity: 0.7;
}

.post-thumbnail {
    margin-bottom: 30px;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.post-info .post-categories {
    display: inline-block;
    margin-left: 15px;
}

.post-info .post-categories a {
    color: var(--e-global-color-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-info .post-categories a:hover {
    color: var(--e-global-color-primary);
}

.post-info .post-categories:before {
    content: "\f07b";
    font-family: "Font Awesome 5 Free";
    margin-right: 5px;
    opacity: 0.7;
}

/* Page Header */
.page-header {
    margin-bottom: 50px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e5e5;
}

.page-header .entry-title {
    color: var(--e-global-color-text);
    font-size: 2em;
    margin: 0;
    font-weight: 500;
}

.page-header .archive-description {
    margin-top: 15px;
    color: var(--e-global-color-text);
    opacity: 0.8;
    font-size: 0.95em;
}

.comment-author img {
    width: 42px;
}

/* Quote Styling */
blockquote {
    background: #f9f9f9;
    border-left: 4px solid var(--e-global-color-primary);
    margin: 1.5em 0;
    padding: 1em 2em;
    font-style: italic;
    color: #666;
}

blockquote p {
    margin: 0;
}

blockquote cite {
    display: block;
    margin-top: 1em;
    font-size: 0.9em;
    color: #888;
    font-style: normal;
}

/*Hide cookie banner in coming soon page*/
.page-id-283 .cky-consent-container {
    display: none;
}