/*
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.9
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
*/

.site-main.with-sidebar {
    max-width: 1140px;
    margin: 0 auto;
}

.page__wrapper {
    display: grid;
    gap: 1rem;
}

.page__wrapper .page__sidebar {
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    padding-left: 1rem;
}

.page__wrapper .page__sidebar ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 1000px) {
    .page__wrapper {
        grid-template-columns: auto 380px;
    }
}

.heading {
    font-weight: 600;
    margin-bottom: 1rem;
}

.heading span {
    background-color: var(--e-global-color-primary);
    color: white;
    padding: 0.5rem 1rem;
    display: block;
}

@media (min-width: 630px) {
    .heading {
        border-bottom: 1px solid var(--e-global-color-primary);
    }

    .heading span {
        display: inline-block;
    }
}

/* START: POST ITEM */
.tb-post-item {
    /* your code */
}

.tb-post-item .tb-post-item__image {
    height: 200px;
    margin-bottom: 0.5rem;
}

.tb-post-item .tb-post-item__image a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    background-size: cover;
    text-decoration: none;
    background-position: center;
    position: relative;
}

.tb-post-item .tb-post-item__image a .video-icon {
    fill: white;
    display: none;
}

.tb-post-item.video .tb-post-item__image a .video-icon {
    display: block;
}

.tb-post-item .tb-post-item__category {
    background-color: #333333;
    color: white;
    font-weight: 600;
    font-size: 0.75rem;
    padding: 0.2rem 0.3rem;
    position: absolute;
    bottom: 0;
    left: 0;
}

.tb-post-item .tb-post-item__content {
    /* your code */
}

.tb-post-item .tb-post-item__title {
    font-size: 1.25rem;
    font-weight: 600;
    text-decoration: none;
    color: inherit;
    line-height: 1.3;
    margin-bottom: 0.3rem;
    display: block;
}

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

.tb-post-item .tb-post-item__date {
    font-size: 0.875rem;
    color: #999999;
    display: flex;
    align-items: center;
}

.tb-post-item .tb-post-item__date svg {
    margin-right: 0.3rem;
}

.tb-post-item .tb-post-item__description {
    font-size: 0.875rem;
    font-style: italic;
    display: none;
}

/* END: POST ITEM */

/* START: HOME PAGE */
body.home #comments {
    display: none;
}

/* END: HOME PAGE */

/* START: ARCHIVE PAGE */
body.archive header.page-header {
    font-weight: 600;
    display: block;
    margin-bottom: 1rem;
}

body.archive header.page-header .entry-title {
    font-size: 1rem;
    background-color: var(--e-global-color-primary);
    color: white;
    padding: 0.5rem 1rem;
    display: block;
    margin: 0;
}

@media (min-width: 600px) {
    body.archive header.page-header {
        padding-bottom: 0.3rem;
        border-bottom: 1px solid var(--e-global-color-primary);
    }

    body.archive header.page-header .entry-title {
        display: inline;
    }
}

body.archive .page-content {
    display: grid;
    gap: 1rem;
}

body.archive .page__content {
    padding-block: 1rem;
}

@media (min-width: 600px) {
    body.archive .page-content .tb-post-item {
        display: grid;
        gap: 1rem;
        grid-template-columns: 250px 1fr;
    }

    body.archive .page-content .tb-post-item .tb-post-item__date {
        margin-bottom: 0.5rem;
    }

    body.archive .page-content .tb-post-item .tb-post-item__description {
        display: block;
    }
}

/* END: ARCHIVE PAGE */

body.home .elementor-widget-container {
    list-style: none;
}

/* START: SEARCH PAGE */
body.search header.page-header {
    font-weight: 600;
    display: block;
    margin-bottom: 1rem;
}

body.search header.page-header .entry-title {
    font-size: 1rem;
    background-color: var(--e-global-color-primary);
    color: white;
    padding: 0.5rem 1rem;
    display: block;
    margin: 0;
}

@media (min-width: 600px) {
    body.search header.page-header {
        padding-bottom: 0.3rem;
        border-bottom: 1px solid var(--e-global-color-primary);
    }

    body.search header.page-header .entry-title {
        display: inline;
    }
}

body.search .page-content {
    display: grid;
    gap: 1rem;
}

body.search .page__content {
    padding-block: 1rem;
}

@media (min-width: 600px) {
    body.search .page-content .tb-post-item {
        display: grid;
        gap: 1rem;
        grid-template-columns: 250px 1fr;
    }

    body.search .page-content .tb-post-item .tb-post-item__date {
        margin-bottom: 0.5rem;
    }

    body.search .page-content .tb-post-item .tb-post-item__description {
        display: block;
    }
}

/* END: SEARCH PAGE */

/* START: POST PAGE*/
body.single-post .page__content {
    padding-block: 1.5rem;
}

body.single-post .page-header .entry-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 0.8rem 0;
    padding: 0;
}

body.single-post .post-page-date {
    margin-block: 1rem;
    display: flex;
    align-items: center;
}

body.single-post .post-page-date svg {
    margin-right: 0.5rem;
}

body.single-post .post-tags {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-block: 1rem;
}

body.single-post .tag-links a {
    background-color: var(--e-global-color-primary);
    color: white;
    text-decoration: none;
    padding: 0.5rem 0.8rem;
    font-size: 0.85rem;
    margin-right: 0.5rem;
}

@media (min-width: 600px) {
    body.single-post .page-header .entry-title {
        font-size: 1.75rem;
    }
}

body.single-post .post-page-categories ul {
    list-style: none;
    margin: 1rem 0 1rem 0;
    padding: 0;
    display: flex;
    align-items: center;
}

body.single-post .post-page-categories ul li {
    background-color: #333333;
    color: white;
    font-size: 0.85rem;
    padding: 0.4rem 1rem;
    margin-right: 0.5rem;
}

body.single-post .page__content img:first-child {
    width: 100%;
}

body.single-post .related-posts {
    display: grid;
    gap: 1rem;
    margin-block: 1rem;
}

body.single-post .related-posts .tb-post-item:hover {
    opacity: 0.8;
}

body.single-post .related-posts .tb-post-item__image {
    height: 150px;
}

body.single-post .tb-post-item__title {
    font-size: 1rem;
}

@media (min-width: 1200px) {
    body.single-post .related-posts {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

body.single-post .share-buttons {
    margin-block: 1rem;
}

/* END: POST PAGE*/

#comments #respond {
    border: 1px solid rgba(0, 0, 0, 0.15);
    padding: 1rem;
    margin-top: 1rem;
}

#comments #reply-title {
    font-size: 1.2rem;
    font-weight: 600;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

#comments .comment-notes {
    font-size: 0.95rem;
    color: rgba(0, 0, 0, 0.6);
    font-style: italic;
}

#comments textarea,
#comments input[type="text"],
#comments input[type="email"],
#comments input[type="url"] {
    display: block;
    margin-top: 0.4rem;
    border: 1px solid rgba(0, 0, 0, 0.18);
}

#comments .comment-form-cookies-consent {
    display: flex;
    align-items: flex-start;
}

#comments label {
    font-size: 0.95rem;
    font-weight: 600;
}

#comments .comment-form-cookies-consent label {
    margin-left: 0.3rem;
    cursor: pointer;
    font-weight: normal;
}

/* START: 404 PAGE */
body.error404 .page-header .entry-title {
    font-size: 2rem;
    text-align: center;
}

body.error404 .page-content {
    text-align: center;
}

/* END: 404 PAGE */

/* START: PAGINATION */
.navigation.pagination {
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navigation.pagination .nav-links span {
}

.navigation.pagination .nav-links .page-numbers.prev {
}

.navigation.pagination .nav-links .page-numbers {
    border: 1px solid var(--e-global-color-primary);
    padding: 0.5rem 0.8rem;
}

.navigation.pagination .nav-links .page-numbers.current {
    background-color: var(--e-global-color-primary);
    color: white;
}

.navigation.pagination .nav-links .page-numbers.dots {
    border: none !important;
}

/* END: PAGINATION */

/* START: FOOTER */
.footer-newsletter .footer-newsletter-group {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.5rem;
}

.footer-newsletter label {
    display: block;
    margin-bottom: 0.8rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.footer-newsletter input, .footer-newsletter input:focus {
    border: 1px solid #707070;
    background: none;
    color: #B8B8B8;
    outline: none !important;
}

.footer-newsletter [type="submit"] {
    background: white;
    border-color: white !important;
    color: var(--e-global-color-primary);
    box-shadow: none !important;
}

.footer-newsletter [type="submit"]:hover {
    background: white !important;
    color: var(--e-global-color-primary) !important;
}

.mc4wp-response {
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* END: FOOTER */


.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    padding: 0;
    margin: 0 0 0.5rem 0;
    font-weight: 600;
    font-size: 0.92rem;
}

.form-group input {
    display: block;
    width: 100%;
    box-sizing: border-box;
}

.form-group .wpcf7-not-valid-tip {
    font-size: 0.85rem;
    margin-top: 0.2rem;
}

.tb-banner-inside-post {
    display: block;
    position: relative;
    height: 100vh;
}

.tb-banner-inside-post .image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    text-align: center;
}

.tb-banner-inside-post .image img {
    max-width: 100%;
    position: relative;
    top: 50px;
    max-height: 100vh;
    width: auto !important;
}

@media (min-width: 1200px) {
    .tb-banner-inside-post .image img {
        top: 0;
    }
}

/* START: Banner before post */
.tb-before-post {
    display: none;
    margin: 1rem 0;
}

.tb-before-post-mobile {
    display: block;
    margin: 1rem 0;
}

@media (min-width: 600px) {
    .tb-before-post {
        display: block;
    }

    .tb-before-post-mobile {
        display: none;
    }
}

/* START: Banner after post */
.tb-after-post {
    display: none;
    margin: 1rem 0;
}

.tb-after-post-mobile {
    display: block;
    margin: 1rem 0;
}

@media (min-width: 600px) {
    .tb-after-post {
        display: block;
    }

    .tb-after-post-mobile {
        display: none;
    }
}

/* START: Banner inside category */
.tb-inside-category {
    display: none;
    margin: 1rem 0;
}

.tb-inside-category-mobile {
    display: block;
    margin: 1rem 0;
}

@media (min-width: 600px) {
    .tb-inside-category {
        display: block;
    }

    .tb-inside-category-mobile {
        display: none;
    }
}
