/*
Theme Name: Graceful Personal Blog
Theme URI: https://optimathemes.com/graceful-personal-blog-theme/
Author: Aslam
Author URI: http://optimathemes.com/
Description: Graceful Personal Blog is a free, versatile WordPress theme designed for bloggers and content creators across various niches, including feminine lifestyle, fashion, travel, tech, health, fitness, beauty, food, news, and more. With a clean, modern, and minimal design, it ensures a seamless user experience on any device, thanks to its fully responsive and Retina-ready layout. Graceful Personal Blog is WooCommerce compatible, supports RTL (Right-to-Left) languages, and is optimized for SEO, making it an excellent choice for personal and professional blogs alike.
Template: graceful
Version: 1.0.4
Requires at least: 5.3
Tested up to: 6.8
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: graceful-personal-blog
Tags: blog, one-column, two-columns, three-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, custom-logo, featured-images, footer-widgets, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready, e-commerce
*/

/*
Customization of this theme starts here
*/

/*--------------------------------------------------------------
Header Sections
--------------------------------------------------------------*/

.post-header {
    margin-top: 20px;
}

.post-categories {
    background: #f9f7f3;
    border: 1px solid #e6ddc5;
}

.blog .post-title {
    font-size: 34px;
    line-height: 2;
    border-radius: 25px;
}

.blog article .post-meta {
    margin-bottom: 10px;
    line-height: 2;
}

.blog .post-page-content {
    padding-top: 10px;
    line-height: 2;
}

aside .graceful-widget h2,
.graceful-widget .widget-title {
    background: #f9f7f3;
    border-bottom: 1px solid #e3edde;
    font-weight: 700;
    line-height: 2;
}

aside .graceful-widget h2::after,
.graceful-widget .widget-title::after {
    border-top: 8px solid #e3edde;
}

.post-title {
    word-wrap: break-word;
    color: #01798e !important;
    line-height: 1.3;
}

.graceful-slider-info {
    padding: 20px;
}

.graceful-slider-title {
    font-size: 32px;
    word-wrap: break-word;
    line-height: 1.6;
}

#primary .continue-read a {
    border: 1px solid #ececec;
    background: #f9f7f3;
    border: 1px solid #e6ddc5;
    text-decoration: none;
    font-weight: bold;
    line-height: 2.8;
    text-transform: none;
}

#primary .continue-read a:hover {
    background: #ececec;
}

@media screen and (max-width: 480px) {
    .graceful-slider-title {
        width: 300px;
    }
}

.site-images {
    min-height: 0;
}

.single .post-date {
    color: #111111 !important;
    font-family: 'Mulish', sans-serif;
    font-size: 13px;
}

.single .post-title-author {
    color: #086375 !important;
    display: inline-block;
    font-family: 'Mulish', sans-serif;
    font-size: 13px;
    font-weight: normal;
}

.blog article .post-date {
    font-family: 'Mulish', sans-serif;
    font-size: 13px;
}

.blog article .post-header .post-meta a {
    font-family: 'Mulish', sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

.content-column > li {
    margin-bottom: 60px;
}

.post-footer {
    border-bottom: 2px solid #eeeeee;
}

/*--------------------------------------------------------------
Espaçamento dos textos dos posts
--------------------------------------------------------------*/

/*
Aumenta o espaço entre as linhas e cria
uma distância confortável entre os parágrafos.
*/

.blog .post-page-content p {
    padding: 0;
    margin: 0 0 28px 0;
    line-height: 1.85;
}

.single .post-page-content {
    padding: 0 0 12px;
    line-height: 1.85;
}

.single .post-page-content p {
    margin: 0 0 28px 0;
    line-height: 1.85;
}

/* Títulos dentro dos posts */

.blog .post-page-content h1,
.single .post-page-content h1 {
    line-height: 1.3;
    margin-bottom: 25px;
}

.blog .post-page-content h2,
.single .post-page-content h2 {
    line-height: 1.35;
    margin-top: 40px;
    margin-bottom: 20px;
}

.blog .post-page-content h3,
.single .post-page-content h3 {
    line-height: 1.4;
    margin-top: 35px;
    margin-bottom: 18px;
}

.blog .post-page-content h4,
.single .post-page-content h4 {
    line-height: 1.4;
    margin-top: 30px;
    margin-bottom: 15px;
}

/* Citações */

.blog .post-page-content blockquote,
.single .post-page-content blockquote {
    line-height: 1.8;
    margin: 30px 0;
}

/* Listas dentro dos posts */

.blog .post-page-content ul,
.blog .post-page-content ol,
.single .post-page-content ul,
.single .post-page-content ol {
    line-height: 1.8;
    margin-bottom: 28px;
}

.blog .post-page-content li,
.single .post-page-content li {
    margin-bottom: 10px;
}


/*--------------------------------------------------------------
Top Navigation
--------------------------------------------------------------*/

#main-navigation {
    text-align: center;
}

.grace-latest {
    text-align: center;
    background: #086375;
    padding: 7px;
    font-size: 20px;
    margin-bottom: 36px;
}

.main-navigation-sidebar {
    position: absolute;
    top: 0;
    left: 40px;
    z-index: 1;
}

.main-navigation-search {
    position: absolute;
    top: 0;
    right: 40px;
    z-index: 2;
}

#top-navigation {
    text-align: center;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #086375;
    background: #ffffff;
}

#top-menu {
    display: inline-block;
}

#top-menu a:focus {
    outline: 3px dotted #086375 !important;
}

#top-menu li {
    position: relative;
}

#top-menu li.menu-item-has-children > a:after {
    font-family: FontAwesome;
    content: "\f107";
    margin-left: 6px;
    font-size: 12px;
}

#top-menu ul li.menu-item-has-children > a:after {
    font-family: FontAwesome;
    content: "\f105";
    font-size: 14px;
    float: right;
}

#top-menu > li {
    display: inline-block;
    list-style: none;
}

#top-menu li a {
    display: block;
    position: relative;
    padding: 0 5px;
    margin-left: 5px;
    color: #000000;
    font-size: 11px;
    line-height: 40px;
    letter-spacing: 1px;
    font-weight: 600;
    text-transform: uppercase;
}

#top-menu ul li a {
    color: #000000;
}

#top-menu li a:first-child {
    margin-left: 0;
}

#top-menu > li > a {
    display: block;
    text-decoration: none;
}

#top-menu > li:first-child > a {
    padding-left: 0;
}

#top-menu > li:last-child > a {
    padding-right: 0;
}

#top-menu ul ul {
    top: -1px;
    left: 100%;
}

#top-menu .menu-item:hover > ul,
#top-menu .menu-item:focus-within > ul {
    left: 0;
    opacity: 1;
}

#top-menu .menu-item:hover ul ul,
#top-menu .menu-item:focus-within ul ul {
    left: 100%;
}

#top-menu .sub-menu {
    position: absolute;
    left: -999em;
    z-index: 1101;
    width: 170px;
    text-align: left;
    border: 1px solid #086375;
    opacity: 0;
}

#top-menu .sub-menu a {
    border-bottom-style: solid;
    border-bottom-width: 1px;
}

#top-menu .sub-menu > li:last-of-type > a {
    border: none;
}

#top-menu .sub-menu li:first-child > .sub-menu {
    margin-top: -1px;
}

#top-menu .sub-menu > li > a {
    display: block;
    width: 100%;
    padding: 8px 15px;
    margin: 0;
    font-size: 11px;
    line-height: 22px;
    letter-spacing: 0.5px;
}

#top-menu li a,
#main-menu li a {
    text-transform: uppercase;
}

#top-navigation > div {
    padding-left: 30px;
    padding-right: 30px;
}

#main-navigation {
    background: #ffffff;
    border-bottom: 1px solid #eee;
}

.entry-header {
    border-bottom: 1px solid #eee;
}

.main-content {
    margin-top: 40px;
}

aside .wp-block-latest-posts.wp-block-latest-posts__list li {
    border-bottom: 1px solid #086375;
}

.wp-block-search__label {
    display: none;
}


/*--------------------------------------------------------------
Media Query Min 768px
--------------------------------------------------------------*/

@media screen and (min-width: 768px) {

    .blog .post-page-content p {
        padding: 0;
        line-height: 1.85;
    }

    #main-navigation .wrapped-content {
        padding-left: 0;
    }

    .main-navigation-search {
        right: 0;
    }

    #main-navigation .navigation-socials {
        right: 35px;
    }
}


/*--------------------------------------------------------------
Post Slider
--------------------------------------------------------------*/

#graceful-post-slider {
    padding-left: 40px;
    padding-right: 40px;
}

#graceful-post-slider.wrapped-content {
    padding-left: 0;
    padding-right: 0;
}

#graceful-post-slider .slide-item {
    background-size: cover;
    height: 420px;
}


/*--------------------------------------------------------------
Footer
--------------------------------------------------------------*/

#site-footer {
    border-top: 1px solid #639096;
    background: #ede3ca;
}

#site-footer .graceful-widget h2 {
    padding: 3px 5px 2px;
    background: #ffffff !important;
}


/*--------------------------------------------------------------
Hero Banner
--------------------------------------------------------------*/

.graceful-hero-banner {
    min-height: 500px;
    display: flex;
    align-items: center;
}

.graceful-hb-col {
    position: relative;
    float: left;
    width: 100%;
}

.graceful-hb-col:last-child {
    min-height: 400px;
}

.graceful-hb-col img {
    width: 450px;
    height: 450px;
    margin: 50px;
}

.graceful-hb-col h2 {
    font-size: 38px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.graceful-hb-col a {
    padding: 6px 20px;
    background: #333333;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: bold;
    float: left;
    border-radius: 5px;
}

#graceful-hero-banner-wrap {
    padding-left: 40px;
    padding-right: 40px;
    margin-top: 20px;
}

.graceful-hb-col a:focus {
    outline: 2px dotted #000000 !important;
}

.graceful-hero-banner img {
    -webkit-animation: morph 15s ease-in-out infinite;
    animation: morph 15s ease-in-out infinite;
}

@-webkit-keyframes morph {
    0% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }

    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }

    to {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
}

@keyframes morph {
    0% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }

    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }

    to {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
}

.graceful-hero-banner .graceful-hb-col .navigation-socials a {
    padding: 2px;
    background: transparent;
    color: #ff6481;
    font-size: 18px;
    font-weight: bold;
}


/*--------------------------------------------------------------
Featured Boxes Sections
--------------------------------------------------------------*/

#featured-boxes {
    border-bottom: 1px solid #eee;
    background: #fff;
    margin-top: 40px;
}

#featured-boxes .wrapped-content {
    font-size: 0;
    text-align: center;
}

#featured-boxes .featured-box {
    position: relative;
    float: left;
    width: calc((100% - 50px) / 3);
    width: -webkit-calc((100% - 70px) / 3);
    margin-right: 34px;
}

#featured-boxes .featured-box:last-child {
    margin-right: 0;
}

#featured-boxes a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#featured-boxes .featured-box img {
    border-radius: 20px;
}

#featured-boxes .graceful-wrap-outer {
    padding: 12px;
}

#featured-boxes h4 {
    display: inline-block;
    padding: 11px 20px;
    font-family: 'Lato', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    background-color: rgba(0, 0, 0, 0.50);
    color: #639096 !important;
}


/*--------------------------------------------------------------
Images
--------------------------------------------------------------*/

.site-images img {
    border-radius: 12px;
}

.site-images a::before {
    position: absolute;
    top: 0;
    left: -75%;
    z-index: 2;
    display: block;
    content: '';
    width: 50%;
    height: 100%;
    background: -webkit-linear-gradient(
        left,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,.3) 100%
    );
    background: linear-gradient(
        to right,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,.3) 100%
    );
    -webkit-transform: skewX(-25deg);
    transform: skewX(-25deg);
}

.site-images a:hover::before {
    -webkit-animation: shine .75s;
    animation: shine .75s;
}

@-webkit-keyframes shine {
    100% {
        left: 125%;
    }
}

@keyframes shine {
    100% {
        left: 125%;
    }
}


/*--------------------------------------------------------------
Widgets and Other Elements
--------------------------------------------------------------*/

.graceful-widget .graceful-recent-image-box a {
    font-size: 14px;
}

#responsive-menu .sub-menu > li {
    background: #eeeeee;
}

#responsive-menu .sub-menu > li li {
    background: #639096;
}

.close-graceful-search {
    background: #dddddd;
    border: 1px solid #aaaaaa;
}

#site-menu li a {
    font-family: 'Mulish', sans-serif;
}

aside .graceful-widget h2 {
    font-family: 'Mulish', sans-serif;
}

.intro-text form {
    margin-top: 35px;
}

#primary .continue-read a {
    font-family: 'Mulish', sans-serif;
    font-size: 13px;
    font-weight: 3000;
    background: #f9f7f3;
}

.blog .post-header {
    width: 80%;
    text-align: left;
    margin: 40px 10% 0;
}

.blog .post-page-content {
    width: 80%;
    text-align: left;
    margin: 0 10%;
}

.blog .post-footer {
    width: 80%;
    text-align: left;
    margin: 0 10%;
    padding: 3px 3px 3px 0 !important;
}

.blog .continue-read {
    text-align: left;
}

.site-menu-wrapper {
    margin-right: 0;
}

#primary .post-date {
    color: #1a1a1a;
}


/*--------------------------------------------------------------
Responsive
--------------------------------------------------------------*/

@media screen and (min-width: 768px) {

    .wrapped-content .main-navigation-search {
        right: 0;
    }

    #main-navigation .wrapped-content .navigation-socials {
        right: 35px;
    }

    .main-navigation-search {
        right: 35px;
    }

    #main-navigation .navigation-socials {
        right: 75px;
    }

    .graceful-hb-col {
        width: 49%;
    }
}


@media screen and (max-width: 768px) {

    .featured-box {
        display: block;
    }

    .main-navigation-search {
        right: 20px;
        top: 7px !important;
    }
}


@media screen and (max-width: 480px) {

    .featured-box {
        display: block;
    }

    #featured-boxes .featured-box {
        width: 100%;
        margin-bottom: 34px;
        margin-right: 0;
    }

    #featured-boxes {
        padding: 20px !important;
    }

    .main-navigation-search {
        top: 0 !important;
        right: 20px;
    }

    .graceful-hero-banner {
        flex-direction: column-reverse;
        align-items: flex-start;
    }

    .graceful-hb-col a {
        float: unset;
        padding: 8px 20px;
    }

    .graceful-hb-col img {
        width: 100%;
        height: 100%;
        text-align: center;
        margin: 20px 0 30px;
    }

    .graceful-hb-col h2 {
        font-size: 28px;
        margin-bottom: 20px;
        line-height: 1.3;
    }

    .graceful-hb-col:last-child {
        min-height: 300px;
    }

    .graceful-hb-col:first-child::after {
        left: 0;
        width: 100%;
    }

    .graceful-hb-col:first-child {
        text-align: center;
    }

    /*
    Espaçamento do texto no celular:
    um pouco menor para facilitar a leitura
    em telas pequenas.
    */

    .blog .post-page-content p,
    .single .post-page-content p {
        margin-bottom: 24px;
        line-height: 1.8;
    }

    .blog .post-page-content,
    .single .post-page-content {
        line-height: 1.8;
    }

    .blog .post-header {
        width: 90%;
        margin-left: 5%;
        margin-right: 5%;
    }

    .blog .post-page-content,
    .blog .post-footer {
        width: 90%;
        margin-left: 5%;
        margin-right: 5%;
    }
}


@media (min-width: 700px) and (max-width: 900px) {

    .graceful-hb-col img {
        width: 340px;
        height: 340px;
    }

    .graceful-hb-col:first-child {
        text-align: center;
    }

    .graceful-hb-col:first-child::after {
        display: none;
    }

    .graceful-hb-col:last-child {
        min-height: 200px;
        text-align: center;
    }
}


/*--------------------------------------------------------------
Final adjustments
--------------------------------------------------------------*/

/*
Estas regras têm prioridade sobre as configurações
anteriores do tema e garantem o espaçamento desejado
nos textos dos artigos.
*/

.blog .post-page-content p,
.single .post-page-content p {
    line-height: 1.85;
    margin-top: 0;
    margin-bottom: 28px;
}

.blog .post-page-content,
.single .post-page-content {
    line-height: 1.85;
}

/*
Evita que títulos fiquem excessivamente espaçados.
*/

.blog .post-title,
.single .post-title {
    line-height: 1.3;
}

/*
Espaçamento entre o título e o corpo do artigo.
*/

.blog .post-header {
    margin-bottom: 25px;
}

.single .post-header {
    margin-bottom: 25px;
}

/*--------------------------------------------------------------
Alinhamento final dos posts do blog
--------------------------------------------------------------*/

/*
 * O post-header já define a coluna de conteúdo.
 * O título ocupa toda a largura desse cabeçalho e fica
 * alinhado à esquerda, na mesma linha do resumo e do botão.
 */

.blog .post-header {
    width: 80%;
    margin: 40px 10% 25px;
    text-align: left;
}

.blog .post-header .post-title {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
}

.blog .post-page-content {
    width: 80%;
    margin-left: 10%;
    margin-right: 10%;
    text-align: left;
}

.blog .continue-read {
    width: 80%;
    margin-left: 10%;
    margin-right: 10%;
    margin-bottom: 25px;
    text-align: left;
}

#primary .continue-read a {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid #e6ddc5;
    background: #f9f7f3;
    color: #086375;
    text-decoration: none;
    font-family: 'Mulish', sans-serif;
    font-size: 13px;
    font-weight: 300;
    line-height: 1.5;
}

#primary .continue-read a:hover {
    background: #086375;
    color: #ffffff;
    border-color: #086375;
}


/*--------------------------------------------------------------
Alinhamento no celular
--------------------------------------------------------------*/

@media screen and (max-width: 480px) {

    .blog .post-header {
        width: 90%;
        margin-left: 5%;
        margin-right: 5%;
    }

    .blog .post-header .post-title {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        text-align: left !important;
    }

    .blog .post-page-content {
        width: 90%;
        margin-left: 5%;
        margin-right: 5%;
    }

    .blog .continue-read {
        width: 90%;
        margin-left: 5%;
        margin-right: 5%;
    }
}
