/*
Theme Name: Hello Order
Description: Child theme for Elementor Hello Theme. Sets layouts for blogs.
Author: Lanza from Froz
Author URI: https://froz.com.br
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-order
*/

.o-post-wrapper a,
.post-title > a,
.wp-block-latest-posts__post-title
{
    color: #003366 !important;
}

.o-post-wrapper a:hover,
.post-title > a:hover,
.wp-block-latest-posts__post-title:hover
{
    color: #034d96 !important;
}

.o-post-wrapper a:active,
.post-title > a:active,
.wp-block-latest-posts__post-title:active
{
    color: #016bd5 !important;
}

.o-post-box,
.author-archive-box,
.o-post-footer-widgets,
.o-home-footer-content,
.o-home-others,
.o-home-latest-content
{
    margin: 0 auto;
    width: 100%;
    max-width: 1288px;
}

.o-entry-header {
    background-color: #F6F6F6;
    width: 100%;
    padding: 24px 24px 12em;
}

.o-entry-category,
.post-cats
{
    font-size: var(--wp--preset--font-size--medium);
    font-weight: 500;
    color: #FF9933;
    margin: 0 0 16px;
}

.o-entry-title {
    font-size: var(--wp--preset--font-size--large);
    color: #003366;
    margin: 0 0 24px;
}

.o-entry-extra {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.o-entry-author-and-date {
    position: relative;
    font-size: var(--wp--preset--font-size--small);
    padding: 0 0 0 47px;
    margin: 0 24px 0 0;
}

.o-entry-author,
.o-entry-date
{
    margin: 0 0 1px;
}

.o-entry-date {
    color: #545454;
}

.o-entry-author-name img {
    position: absolute;
    left: 0;
    top: 0;
    width: 36px;
    height: 36px;
    border-radius: 36px;
    overflow: hidden;
}

.o-entry-share {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    font-size: var(--wp--preset--font-size--small);
    text-align: right;
    margin: 0 0 0;
    overflow: hidden;
    width: 0;
    height: 0;
    padding: 0;
    opacity: 0;
    transition: opacity 0.4s;
}

.o-entry-share.enabled {
    width: auto;
    height: auto;
    overflow: visible;
    opacity: 1;
}

.o-entry-share-icon {
    display: inline-block;
    background-color: #d6ddd6;
    background-image: url(./assets/share.svg);
    background-repeat: no-repeat;
    background-position: center;
    width: 20px;
    height: 20px;
    border-radius: 30px;
    margin-left: 8px;
}

.o-entry-share:hover .o-entry-share-icon {
    background-color: #a1caf4;
}

.o-entry-share:active .o-entry-share-icon {
    background-color: #cee6ff;
}

.o-entry-content {
    padding: 0 24px 24px;
    margin: -9em 0 24px 0;
}

.o-entry-featured {
    margin: 0 0 24px;
}

.o-entry-featured-image,
.post-thumb-image
{
    width: 100%;
    height: auto;
}

.o-post-sidebar {
    padding: 0 24px;
    margin: 0 0 24px;
}

.o-post-footer-box,
.o-home-footer
{
    width: 100%;
    background-color: #f6f6f6;
    margin: 0;
}

.o-post-footer-widgets,
.o-home-footer-content
{
    padding: 24px;
}

.author-archive-box {
    margin-top: 32px;
    margin-bottom: 32px;
}

.author-posts {
    padding: 0 24px;
}

.post-item {
    margin-bottom: 42px;
}

.post-cats {
    margin: 0 0 12px;
    font-size: var(--wp--preset--font-size--small);
}

.post-cats .cat-link {
    color: #FF9933;
}

.post-title {
    font-size: var(--wp--preset--font-size--medium);
    margin: 0 0 12px;
}

.post-excerpt,
.post-meta
{
    font-size: var(--wp--preset--font-size--small);
    color: #545454;
    margin: 0 0 12px;
}

.author-profile {
    margin: 0 24px;
    padding: 32px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.16);
    border-radius: 8px;
    text-align: center;
}

.author-profile .author-avatar {
    width: 96px;
    height: 96px;
    overflow: hidden;
    border-radius: 96px;
    position: relative;
    margin: 16px auto;
}

.author-profile .author-avatar img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.author-profile .author-name {
    font-size: 1.125rem;
    color: #003366;
    margin: 0;
}

.author-bio {
    margin: 32px 0 0 0;
    font-size: var(--wp--preset--font-size--normal);
}

.o-home-latest {
    background-color: #003366;
    color: #ffffff;
    padding: 0;
    width: 100%;
    margin: 0 auto 32px;
}

.o-home-latest-content {
    padding: 24px;
}

.o-home-latest .post-title a {
    color: #ffffff !important;
}

.o-home-latest .post-thumb {
    display: block;
    margin-bottom: 16px;
}

.post-cta {
    margin: 24px 0 0 0;
}

.post-cta a {
    display: inline-block;
    border: 2px solid #FF9933;
    border-radius: 4px;
    padding: 12px 28px;
    color: #FF9933;
    outline-width: 0;
}

.post-cta a:hover {
    background-color: #FF9933;
    color: #ffffff;
}

.post-cta a:active {
    background-color: #dd852c;
    color: #ffffff;
}

.o-home-others {
    margin: 0 auto 32px;
    padding: 0 24px;
}

.o-home-side {
    width: 100%;
}

.wp-block-latest-posts__post-title {
    font-size: var(--wp--preset--font-size--normal);
    font-weight: 500;
}

@media (min-width: 1025px) {

    body.single-post {
        background-image: linear-gradient(to bottom,#f6f6f6 0px , #f6f6f6 552px, rgba(255, 255, 255, 0) 553px,rgba(255, 255, 255, 0) 100%);
    }

    .o-post-wrapper {
        padding-top: 64px;
    }

    .o-entry-header {
        background-color: transparent;
    }

    .o-post-box {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
    }

    .o-post-box > article {
        width: 100%;
    }

    .o-post-sidebar {
        width: 40.1%;
        margin-left: 44px;
        padding-left: 0;
        flex-shrink: 0;
        flex-grow: 0;
    }

    .author-archive-box {
        margin-top: 64px;
        margin-bottom: 64px;
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
    }

    .author-posts {
        width: 100%;
        padding: 0 0 0 24px;
    }

    .posts-list .post-item,
    .o-home-latest .post-item,
    .o-home-posts .post-item
    {
        display: flex;
        align-items: flex-start;
    }

    .posts-list .post-body,
    .o-home-posts .post-body
    {
        margin-left: 26px;
    }

    .author-profile {
        width: 27.9%;
        margin: 0 24px 0 64px;
        flex-shrink: 0;
        flex-grow: 0;
    }

    .o-home-latest {
        padding-top: 54px;
        padding-bottom: 74px;
        margin-bottom: 72px;
    }

    .o-home-latest .post-item {
        flex-direction: row-reverse;
    }

    .o-home-latest .post-thumb {
        width: 676px;
        min-width: 676px;
        height: 380px;
        overflow: hidden;
        position: relative;
        margin: 0 0 0 32px;
    }

    .o-home-latest .post-thumb img {
        position: absolute;
        top: 0;
        left: 50%;
        transform: translate(-50%, 0);
    }

    .o-home-latest .post-body {
        width: 100%;
    }

    .o-home-latest .post-cats {
        font-size: var(--wp--preset--font-size--medium);
        margin: 0 0 24px;
    }

    .o-home-latest .post-title {
        font-size: var(--wp--preset--font-size--x-large);
        margin: 0 0 62px;
    }

    .o-home-others {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-bottom: 72px;
    }

    .o-home-posts {
        width: 100%;
    }

    .o-home-side {
        width: 34.5%;
        margin: 0 0 0 64px;
        flex-shrink: 0;
        flex-grow: 0;
    }

    
}

@media (min-width: 1441px) {

    .o-post-box,
    .author-archive-box,
    .o-post-footer-widgets,
    .o-home-footer-content,
    .o-home-others,
    .o-home-latest-content
    {
        max-width: 1488px;
    }
    
}