/*
Theme Name: Graceful Vibrant Blog
Theme URI: https://optimathemes.com/graceful-vibrant-blog-theme/
Author: Aslam
Author URI: http://optimathemes.com/
Description: Graceful Vibrant Blog is a clean, modern, and responsive free WordPress theme designed for bloggers, creators, and content-focused websites. Perfect for niches such as fashion, lifestyle, travel, tech, health, fitness, beauty, food, news, and online magazines, it features a vibrant yet elegant design that looks great on all devices. Built with performance and usability in mind, Graceful Vibrant Blog is Retina-ready, SEO-friendly, WooCommerce compatible, and supports RTL languages. Whether you're creating a personal blog, professional website, or online magazine, it provides a flexible and user-friendly foundation for your content.
Template: graceful
Version: 1.0.0
Requires at least: 5.3
Tested up to: 7.0
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-vibrant-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
*/

/* style.css */


/*--------------------------------------------------------------
Accessibility — Keyboard Focus
------------------------------------------------------*/

/**
 * The parent theme suppresses all outlines with:
 *   * { outline: 0 !important; }  (style.css lines 363, 525–537)
 * We restore a visible focus ring here for all interactive elements.
 * Using element + :focus selectors which have equal or higher specificity
 * combined with !important to ensure they always win.
 */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus,
[tabindex]:focus {
    outline: 2px dotted #000000 !important;
    outline-offset: 2px !important;
    box-shadow: none !important;
}


/*--------------------------------------------------------------
Header Sections
--------------------------------------------------------------*/
body {
    background-color: #ffffff;
}

.entry-header {
    height: 150px;
    border-bottom: none;
}

.blog .post-title {
    font-size: 28px;
    line-height: 38px;
}

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

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

#main-navigation {
    background-color: transparent;
    border: none;
    text-align: center;
}

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

#top-navigation {
    background-color: #29b0d5;
    color: #ffffff;
    border-bottom: 1px solid #dddddd;
}

aside .graceful-widget h2,
.graceful-widget .widget-title {
    border: 1px solid #dddddd;
    font-weight: 600;
}

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

#graceful-post-slider {}


#graceful-post-slider .owl-stage-outer:after {
    background-color: #f2f2f2;
}

#graceful-post-slider .owl-nav {
    background-color: #f2f2f2;
}

.post-title {
    word-wrap: break-word;
}

.graceful-slider-title {
    width: 460px;
    word-wrap: break-word;
}

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

.site-images {
    min-height: 245px;
    background: #f2f2f2;
}

#site-footer {
    background: #f7f7f7;
}

#site-footer .graceful-widget .widget-title {
    border-radius: 20px;
    border: 1px solid #b9ad94;
    font-weight: 600;
    background: #ffffff;
    color: #030303;
    font-family: Montserrat, sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1.5px;
    line-height: 20px;
    margin-bottom: 20px;
    overflow: visible;
    padding: 7px 5px 5px;
    position: relative;
    text-align: center;
    text-transform: uppercase;
}

#site-footer .graceful-widget .widget-title::after {
    border-top: 8px solid #b9ad94;
}

.footer-widgets {
    border-bottom: 1px solid #a19376;
}

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

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

@media screen and (max-width: 480px) {
    .content-column>li {
        width: 100%;
    }
}

/* Top Navigation
   ========================================================================== */

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

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

#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: #ffffff;
}

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

#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: 0px;
}

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

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

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

#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 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;
}

#top-menu li a {
    font-size: 11px;
    line-height: 40px;
    letter-spacing: 1px;
    font-weight: 600;
    text-transform: uppercase;
}

#top-menu .sub-menu>li>a {
    font-size: 11px;
    line-height: 24px;
    letter-spacing: 0.5px;
}

#top-menu li a {
    font-size: 11px;
    line-height: 40px;
    letter-spacing: 1px;
    font-weight: 600;
}

#top-menu .sub-menu>li>a {
    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;
}

.post-categories {
    background: #f2f2f2;
    border: 1px solid #dddddd;
}

.wp-block-search__button {
    background: #f2f2f2;
    border: 1px solid #dddddd;
}

#main-navigation #searchform #s {
    border: 1px solid #bdb29b;
}

#main-navigation #searchform #searchsubmit,
.close-graceful-search {
    background: #f2f2f2;
    border: 1px solid #dddddd;
}


#graceful-post-slider {
    padding-bottom: 40px;
    margin-top: 40px;
}

.widget_categories>ul>li {
    border-bottom: 1px solid #f2f2f2;
}

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

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


/*--------------------------------------------------------------
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;
}

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

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

#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: #ffffff !important;
}

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

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


@media screen and (max-width: 768px) {
    .featured-box {
        display: block;
    }

    .main-navigation-search {
        right: 10px;
        top: 15px !important;
    }

    .graceful-trending {
        margin: 20px !important;
    }
}


@media screen and (max-width: 480px) {
    #featured-boxes .featured-box {
        width: 100%;
        margin-bottom: 34px;
    }

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


/* Line animation effect for featured boxes
   ========================================================================== */

:root {
    --featured-primary: #000000;
    /* matches glam blog */
}

.featured-box img {
    width: 100%;
    display: block;
}

.featured-box a {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
}

/* inner border */
.featured-box a::before {
    content: "";
    position: absolute;
    top: 10px;
    right: 10px;
    bottom: 10px;
    left: 10px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 10px;
    z-index: 1;
}

/* animation wrapper */
.hover-animation {
    position: absolute;
    inset: 10px;
    z-index: 2;
    overflow: hidden;
    border-radius: 10px;
}

/* horizontal lines */
.hover-animation::before,
.hover-animation::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--featured-primary);
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-animation::before {
    top: 0;
    transform: translateX(-105%);
}

.hover-animation::after {
    bottom: 0;
    transform: translateX(105%);
}

/* vertical lines */
.hover-animation span::before,
.hover-animation span::after {
    content: "";
    position: absolute;
    width: 2px;
    height: 100%;
    background: var(--featured-primary);
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-animation span::before {
    left: 0;
    transform: translateY(105%);
}

.hover-animation span::after {
    right: 0;
    transform: translateY(-105%);
}

/* animate on hover — all 4 lines slide in to form a complete frame */
.featured-box:hover .hover-animation::before,
.featured-box:hover .hover-animation::after,
.featured-box:hover .hover-animation span::before,
.featured-box:hover .hover-animation span::after {
    transform: translate(0, 0);
}

/* Title z-index above animation layer */
.graceful-wrap-inner h4 {
    position: relative;
    z-index: 3;
}


/* Media Query Min 768px
   ========================================================================== */
@media screen and (min-width: 768px) {
    .blog .post-page-content p {
        padding: 0 24px;
    }

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

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

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

}

@media screen and (min-width: 1180px) {
    .main-content {
        padding-left: 0;
        padding-right: 0;
    }
}


/*--------------------------------------------------------------
Trending Posts Ticker
--------------------------------------------------------------*/
.graceful-trending {
    margin-top: 40px;
    margin-bottom: 10px;
}

.graceful-trending h4 {

    color: #030303;
    font-family: Montserrat, sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1.5px;
    line-height: 20px;
    overflow: visible;
    padding: 5px 5px 5px 0px;
    position: relative;
    text-transform: uppercase;
    display: inline-block;
    clear: both;
}


.trending-container {
    display: flex;
    align-items: center;
}

.blinking-dot {
    width: 10px;
    height: 10px;
    background-color: red;
    border-radius: 50%;
    margin-right: 8px;
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.graceful-trending-posts-ticker {
    background: #fff;
    padding: 0;
}

.graceful-trending-posts-ticker .item {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.graceful-trending-posts-ticker .item a {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fafafa;
}

.graceful-trending-posts-ticker .post-item {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.graceful-trending-posts-ticker .post-thumbnail {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    overflow: hidden;
    margin-right: 15px;
    border-radius: 10px;
}

.graceful-trending-posts-ticker .post-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.graceful-trending-posts-ticker .post-thumbnail .no-thumbnail {
    width: 100%;
    height: 100%;
    background-color: #ddd;
}

.graceful-trending-posts-ticker .post-details {
    display: flex;
    align-items: center;
}

.graceful-trending-posts-ticker .post-title {
    font-size: 14px;
    line-height: 22px !important;
    margin: 0;
    color: #333;
    display: inline-block;
    max-height: 100px;
    overflow: hidden;
    padding: 3px 10px 0 0;
    font-family: 'Lato', sans-serif;
}

.graceful-trending-posts-ticker .owl-nav {
    position: absolute;
    top: 30%;
    left: 0;
    width: 100%;
    display: none;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
    /* Allows clicks to pass through empty space */
}

.graceful-trending-posts-ticker .owl-nav button {
    background: none !important;
    border: none;
    font-size: 60px !important;
    /* Increase the size of the arrows */
    pointer-events: all;
    color: #777 !important;
    /* Change to your preferred color */
    cursor: pointer;
    padding: 10px;
    /* Add padding to increase clickable area */
}

.graceful-trending-posts-ticker .owl-nav button:hover {
    color: #000 !important;
    /* Optional: change color on hover */
}

.graceful-trending-posts-ticker .owl-nav .owl-prev {
    position: absolute;
    left: 0px;
}

.graceful-trending-posts-ticker .owl-nav .owl-next {
    position: absolute;
    right: 0px;
}


.graceful-trending-posts-ticker .post-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.graceful-trending-posts-ticker .post-date {
    font-size: 14px;
    color: #6f6f6f;
    margin-bottom: 0;
}

.graceful-trending-posts-ticker .post-item {
    display: flex;
    align-items: flex-start;
}

.graceful-trending-posts-ticker .post-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 4px 0 0;
}



/*--------------------------------------------------------------
Slider Customization
--------------------------------------------------------------*/

#graceful-post-slider .owl-nav {
    align-items: unset;
    background-color: unset;
    height: unset;
    justify-content: unset;
    margin: unset;
    max-width: unset;
    text-align: unset;
    width: unset;
}

#graceful-post-slider .owl-nav button {
    display: unset;
}

#graceful-post-slider .owl-nav button:focus {
    box-shadow: unset;
    outline: unset;
}

#graceful-post-slider .owl-nav [class*=owl-]:hover {
    background: unset;
}

#graceful-post-slider .owl-dots {
    display: unset;
}

#graceful-post-slider .owl-stage-outer:after {
    background-color: unset;
    bottom: unset;
    content: unset;
    display: unset;
    height: unset;
    left: unset;
    position: unset;
    transform: unset;
    width: unset;
    z-index: unset;
}

#graceful-post-slider .owl-next {
    border-radius: unset;
    margin-left: unset;
    margin-top: unset;
    padding-left: unset;
    position: unset;
}

#graceful-post-slider .owl-next span {
    color: unset;
    font-size: unset;
}

#graceful-post-slider .owl-next::after {
    background: unset;
    border-radius: unset;
    content: unset;
    height: unset;
    position: unset;
    right: unset;
    top: unset;
    width: unset;
}

#graceful-post-slider .owl-prev {
    border-radius: unset;
    margin-right: unset;
    margin-top: unset;
    padding-right: unset;
    position: unset;
}

#graceful-post-slider .owl-prev span {
    color: unset;
    font-size: unset;
}

#graceful-post-slider .owl-prev::after {
    background: unset;
    border-radius: unset;
    content: unset;
    height: unset;
    position: unset;
    right: unset;
    top: unset;
    width: unset;
}




#graceful-post-slider {
    border-radius: 20px;
}

.site-images {
    border-radius: 20px;
}

.owl-carousel .owl-stage-outer {
    border-radius: 20px;
}

.graceful-trending .owl-carousel .owl-stage-outer {
    border-radius: 10px;
}

#graceful-post-slider {
    padding: 0 4px !important;
}


#graceful-post-slider .slide-item {
    height: 480px;
}

.navigation-search-button {
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    line-height: 24px;
    position: relative;
    margin-right: 10px;
}

.main-navigation-search {
    top: 7px;
}

.navigation-search-button i {
    color: #ffffff !important;
}

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

.post-header-inner {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.graceful-small-image-box {
    border-radius: 10px;
}

aside .graceful-widget h2 {
    border-radius: 20px;
}

.continue-read a {
    background: #5960ff;
    border-radius: 20px;
    color: #ffffff !important;
    text-decoration: none;
}



#graceful-post-slider {
    padding-bottom: 15px;
}

#graceful-post-slider .slider-item:first-child {
    display: block;
}

#graceful-post-slider .slide-item {
    background-size: cover;
    background-position: center;
}

#graceful-post-slider .owl-nav {
    position: absolute;
    top: 44%;
    left: 0;
    width: 100%;
    display: block;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
}

#graceful-post-slider .owl-nav button {
    background: rgba(255, 255, 255, 0.6);
    border: none;
    font-size: 60px !important;
    pointer-events: all;
    color: #777 !important;
    cursor: pointer;
    padding: 6px 8px 15px 10px !important;
    border-radius: 7px;
}

#graceful-post-slider .owl-nav button:hover {
    color: #000 !important;
}

#graceful-post-slider .owl-nav [class*=owl-]:hover {
    background: rgba(255, 255, 255, 0.7);
}

#graceful-post-slider .owl-nav .owl-prev {
    position: absolute;
    left: 10px;
}

#graceful-post-slider .owl-nav .owl-next {
    position: absolute;
    right: 10px;
}

#graceful-post-slider .owl-dots {
    margin-top: -32px;
    position: relative;
}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
    background: #fbfbfb;
}


#graceful-post-slider .graceful-wrap-inner {
    vertical-align: bottom;
}

#graceful-post-slider.wrapped-content img {
    width: 100%;
}

#graceful-post-slider.wrapped-content .slider-item-bg {
    height: 540px;
}

.slider-item {
    display: none;
    position: relative;
}

.slider-item-bg {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 450px;
}

.graceful-slider-info {
    display: inline-block;
    max-width: 840px;
    padding: 40px;
}

.slider-categories {
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 3px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.graceful-slider-title {
    font-size: 36px;
    letter-spacing: 1px;
    line-height: 44px;
    margin-bottom: 25px;
}

.graceful-slider-read-more a {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    display: inline-block;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 2px;
    line-height: 30px;
    margin-bottom: 30px;
    padding: 0 25px;
    text-transform: uppercase;
}

#graceful-post-slider .owl-dots {
    display: block !important;
    padding: 0 !important;
}

@media screen and (max-width: 480px) {
    #graceful-post-slider .owl-nav {
        display: none;
    }

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

    .graceful-slider-title {
        font-size: 24px;
        letter-spacing: 1px;
        line-height: 31px;
        margin-bottom: 25px;
    }

    #graceful-post-slider .slide-item {
        height: 240px;
    }
}


@media screen and (max-width: 1200px) {
    #graceful-post-slider.wrapped-content {
        padding-bottom: 12px;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .graceful-popular.wrapped-content {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}


/* Shine Effect on post images */
.site-images a {
    /*position: relative;*/
}

.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%;
    }
}


/*--------------------------------------------------------------
Category Title
--------------------------------------------------------------*/
.graceful-vibrant-blog-category-title {
    font-family: 'Lato', sans-serif;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 30px;
    border: 1px solid #ff2c54;
    background: #fafafa;
    border-radius: 20px;
    text-align: center;
    padding: 2px 20px;
}