/*
Theme Name: Graceful Glam Blog
Theme URI: https://optimathemes.com/graceful-glam-blog-theme/
Author: Aslam
Author URI: http://optimathemes.com/
Description: Graceful Glam Blog is a free, multi-purpose WordPress blog theme designed for bloggers, creators, and professionals. Whether you run a lifestyle, fashion, travel, tech, health, fitness, beauty, food, news, magazine, or personal blog, this theme adapts beautifully to your content. Featuring a clean, modern, and minimal design, Graceful Glam Blog theme is fully responsive and Retina-ready, ensuring your site looks stunning on any device. It is WooCommerce compatible, SEO-friendly, and supports RTL (Right-to-Left) languages, making it a perfect choice for global audiences.
Template: graceful
Version: 1.0.1
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-glam-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 */


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

.site-menu-wrapper {
    margin-right: 68px;
}

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

.post-categories {
    background: #000000 !important;
    border: 0;
    padding: 0 10px !important;
}

.post-categories a {
    color: #ffffff !important;
}

.graceful-widget h2 {
    background: #000000 !important;
    color: #ffffff !important;
}

#site-footer .graceful-widget h2 {
    color: #ffffff !important;
    line-height: 22px;
}

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

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

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

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

#main-navigation i {
    color: #ffffff;
}

aside .graceful-widget h2, 
.graceful-widget .widget-title {
    border-bottom: 1px solid #000000;
    font-weight: 600;
    padding: 9px 5px 7px;
}

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

.post-categories {
    background: #f3f3f3;
    border: 1px solid #c3c4c7;
    display: inline-block;
    margin-bottom: 10px;
    padding: 0 12px;
}

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

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

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

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

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

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

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

.single .post-title-author { 
    color: #111111 !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: 13px; 
}

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

@media screen and (max-width: 768px) {
    .main-navigation-search {
        right: 20px;
    }
}

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

#top-navigation {
    border-bottom: 1px solid #d9d1c0;
}

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

#top-menu a:focus {
  outline: 3px dotted #000000 !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;
}

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

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

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

#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 #e4e4e4;
  border-width: 1px;
  opacity: 0;
}

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

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

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

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

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

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

#main-navigation a:hover, #main-navigation i:hover {
    color: #dddddd;
}

#site-menu > li > a:hover{
    color: #dddddd;
}

#site-menu > li > a {
    color: #ffffff;
}

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

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

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

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


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

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


#site-footer {
    border-top: 1px solid #999999;
}

@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-widget .graceful-recent-image-box a {
    font-size: 14px;
}


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

.left-menu-icon span {
    background-color: #ffffff;
}

.single .post-page-content {
    padding: 0px 0px 10px;
}

#responsive-menu li a {
    color: #ffffff;
}

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

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

@media screen and (max-width: 480px) {
    .main-navigation-search {
        right: 20px;
    }
}

.close-graceful-search {
    background: #000000;
}

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

aside .graceful-widget h2 {
    font-family: Open Sans, sans-serif;
}


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

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

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

#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: 20px;
        top: 0px !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; /* change this to match your theme */
}


.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 #fff;
    z-index: 1;
}

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

/* 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 */
.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 styling */
.graceful-wrap-inner h4 {
    position: relative;
    z-index: 3;
    font-size: 1.2rem;
    background: rgba(0,0,0,0.5);
    padding: 6px 12px;
    border-radius: 4px;
}



/*--------------------------------------------------------------
# Graceful Glam Homepage Slider
--------------------------------------------------------------*/

.graceful-glam-slider-wrapper {
    padding: 0;
    margin-bottom: 60px;
    width: 100%;
    position: relative;
}

.graceful-glam-slide-item {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 100px 0;
}

.graceful-glam-slide-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    position: relative;
}

.graceful-glam-slide-dots-pattern {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -58%);
    width: 100%;
    height: 85%;
    background-image: url('assets/images/dots.png');
    background-repeat: no-repeat;
    background-position: center;
    opacity: 1;
    z-index: 0;
    transition: transform 0.8s ease-out;
}

.owl-item.active .graceful-glam-slide-dots-pattern {
    transform: translate(-50%, -50%); /* End position slightly higher */
}

.graceful-glam-slide-content-column {
    width: 50%;
    text-align: left;
    position: relative;
    z-index: 1;
}

.graceful-glam-slide-image-column {
    width: 50%;
    position: relative;
    z-index: 1;
}

.graceful-glam-slide-image-column img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(80px);
    opacity: 0;
    transition: transform 0.7s ease-out, opacity 0.6s ease-out;
}

.owl-item.active .graceful-glam-slide-image-column img {
    transform: translateY(0);
    opacity: 1;
}

.graceful-glam-slide-meta {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
}

.graceful-glam-slide-title {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    position: relative;
    z-index: 1;
    margin-right: -50px;
}

.graceful-glam-slide-title a {
    color: #111;
    text-decoration: none;
}

.graceful-glam-slide-read-more {
    margin-top: 30px;
}

.graceful-glam-slide-button {
    background-color: #222;
    color: #ffffff !important;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    display: inline-block;
    transition: background-color 0.3s;
}

.graceful-glam-slide-button:hover {
    background-color: #444;
}

/* Owl Carousel Dots */
.graceful-glam-slider.owl-theme .owl-dots {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    padding: 8px 15px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    line-height: 1;
}

.graceful-glam-slider.owl-theme .owl-dots .owl-dot {
    width: 10px;
    height: 10px;
    background-color: #ccc;
    border-radius: 50%;
    display: inline-block;
    margin: 0 5px;
    transition: background-color 0.3s;
}

.graceful-glam-slider.owl-theme .owl-dots .owl-dot.active {
    background-color: #333;
}

.graceful-glam-slider.owl-theme .owl-nav {
    display: none;
}

.graceful-glam-slider.owl-theme .owl-dots .owl-dot span {
    height: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .graceful-glam-slider-wrapper {
        padding: 20px;
    }

    .graceful-glam-slide-item {
        padding: 40px 0;
    }

    .graceful-glam-slide-container {
        flex-direction: column;
    }

    .graceful-glam-slide-content-column,
    .graceful-glam-slide-image-column {
        width: 100%;
        max-width: 500px;
    }

    .graceful-glam-slide-content-column {
        text-align: center;
        order: 2;
    }

    .graceful-glam-slide-image-column {
        order: 1;
        margin-bottom: 30px;
    }

    .graceful-glam-slide-title {
        font-size: 36px;
        margin-right: 0;
    }
}

.graceful-glam-category-title {
    margin-bottom: 20px;
    margin-top: 1px;
    padding: 10px 10px;
    text-align: center;
    font-size: 34px;
    background: #d7d7d7;
    font-weight: normal;
}


#main-navigation li.current-menu-item > a {
    color: #ffffff;
}