/*
Theme Name: Graceful Gold Blog
Theme URI: https://optimathemes.com/graceful-gold-blog-theme/
Author: Aslam
Author URI: http://optimathemes.com/
Description: Graceful Gold Blog is a stylish and versatile free WordPress theme designed for a wide range of blogs and websites, including fashion, lifestyle, travel, tech, health, fitness, beauty, food, news, and online magazines. With its fully responsive and Retina-ready design, this theme ensures a seamless and visually stunning experience across all devices. Featuring a clean, modern, and minimalistic layout, Graceful Gold Blog is both user-friendly and highly customizable. It is WooCommerce compatible, allowing you to create an online store effortlessly, and supports Right-to-Left (RTL) languages for greater accessibility. Additionally, it is SEO-optimized, ensuring better search engine rankings and improved visibility. Whether you're a blogger, entrepreneur, or business owner, Graceful Gold Blog provides the perfect foundation for building a professional and engaging website.
Template: graceful
Version: 1.0.3
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-gold-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
--------------------------------------------------------------*/
body {
    background-color: #ffffff;
}

#site-menu {
    text-align: left;
}

.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: #f4f1ec;
    border: none;
    text-align: center;
}

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

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

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

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

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

#site-footer .graceful-widget .widget-title {
    border: 1px solid #ca9b52;
    font-weight: 600;
    background: #ffffff;
    color: #ca9b52;
    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: #f4f1ec;
    border: 1px solid #dfd6c5;
}

.graceful-small-image-box {
    background-color: #f4f1ec;
}

.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: 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: #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: 14px !important;
    }
}


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


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

}



/*--------------------------------------------------------------
Posts Ticker
--------------------------------------------------------------*/
.graceful-latest {
    margin-bottom: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.graceful-latest .author-name {
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
}

.graceful-latest 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;
    margin-bottom: 20px;
}

.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-latest-posts-ticker {
    background: #fff;
    padding: 0;
}

/* Card Layout */
.graceful-latest .post-card {
    display: flex;
    overflow: hidden;
    background-color: #f4f1ec;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    height: 400px; /* Increased card height for taller image */
}

.graceful-latest .post-image {
    flex: 0 0 50%;
    position: relative;
    overflow: hidden;
    height: 400px; /* Matching taller height */
}

.graceful-latest .post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.graceful-latest .post-image .no-thumbnail {
    width: 100%;
    height: 100%;
    background-color: #ddd;
}

.graceful-latest .post-content {
    flex: 0 0 50%;
    padding: 25px;
    display: flex;
    flex-direction: column;
}

.graceful-latest .post-author {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.graceful-latest .post-author img {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50%;
    margin-right: 10px;
}

.graceful-latest .author-name {
    font-weight: 500;
    color: #333;
}

.graceful-latest .post-date {
    color: #111;
    margin-left: 10px;
    font-size: 16px;
}

.graceful-latest .post-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 38px;
    margin: 0 0 auto 0;
}

.graceful-latest .post-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.graceful-latest .post-title a:hover {
    color: #0077cc;
}

.graceful-latest .post-meta {
    margin-top: auto;
    color: #111;
    font-size: 16px;
}

.graceful-latest .separator {
    margin: 0 5px;
}

/* Navigation controls */
.graceful-latest-posts-ticker .owl-nav {
    position: absolute;
    top: 42%;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
}

.graceful-latest-posts-ticker .owl-nav button {
    background: rgba(255, 255, 255, 0.7) !important;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 30px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: all;
    color: #111 !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.graceful-latest-posts-ticker .owl-nav button:hover {
    background: rgba(255, 255, 255, 0.9) !important;
}

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

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

.graceful-latest-posts-ticker .owl-dots {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    text-align: center;
}

.graceful-latest-posts-ticker .item {
    padding: 10px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .post-card {
        height: 350px;
    }
    
    .post-image {
        height: 350px;
    }
    
    .post-title {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .post-card {
        flex-direction: column;
        height: auto;
    }
    
    .post-image {
        flex: 0 0 280px;
        height: 280px;
    }
    
    .post-content {
        flex: 1;
        padding: 15px;
    }
    
    .post-title {
        font-size: 24px;
    }
    
    .post-author {
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .post-image {
        height: 220px;
    }
}


/*--------------------------------------------------------------
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 {
    padding: 0 4px !important;
}

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

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

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


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



/*--------------------------------------------------------------
Home Blog List Layout Customization
--------------------------------------------------------------*/
.blog .content-column article {
    display: flex;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    height: 400px; 
}
.blog .post-image-col{
    flex: 0 0 50%;
    position: relative;
    overflow: hidden;
    
}
.blog .post-image-col .site-images{
    height: 400px; 
}
.blog .site-images a img{
    width: 100%;
    height: 100%;
    object-fit: cover;   
}
.blog .site-images .no-thumbnail {
    width: 100%;
    height: 100%;
    background-color: #ddd;
}
.blog .post-content-col {
    flex: 0 0 50%;
    padding: 25px;
    display: flex;
    flex-direction: column;
}
.blog .content-column li {
    margin-bottom: 50px;
}
.blog .post-header {
    text-align: unset;
}
.blog .post-title {
    font-size: 28px;
    font-weight: bolder;
    line-height: 36px;
}
.blog .post-page-content {
    padding-top: 0;
}
.blog .post-page-content p {
    padding: 0px;
    margin: 0px;
}
.blog .continue-read {
    text-align: left;
    margin: 5px 0 30px;
    padding: 0;
}

.blog .continue-read a {
    line-height: 34px;
}
    

/* Responsive adjustments */
@media (max-width: 992px) {
    .blog .content-column article {
        height: 350px;
    }
    
    .blog .post-image-col .site-images {
        height: 350px;
    }
    
    .blog .post-title {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .blog .content-column article {
        flex-direction: column;
        height: auto;
    }
    
    .blog .post-image-col .site-images {
        flex: 0 0 280px;
        height: 280px;
    }
    
    .blog .post-content-col {
        flex: 1;
        padding: 15px;
    }
    
    .blog .post-title {
        font-size: 23px;
    }
    
    .blog .post-author {
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .blog .graceful-latest .post-card {
        height: 430px;
    }
    .blog .post-image-col .site-images {
        height: 220px;
    }
}

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

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

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

.continue-read a {
    background: #ffffff;
    border: 1px solid #ca9b52;
    color: #ca9b52 !important;
    text-decoration: none;
}

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

.graceful-latest-articles {
    margin-bottom: 30px;
    margin-top: 70px;
    border: 1px solid #ca9b52;
    padding: 0 10px;
    text-align: center;
    font-size: 28px;
}

.archive .post-content-col {
    margin-top: 20px;
}



.main-content.wrapped-content {
    padding-left: 0px !important;
    padding-right: 0px !important;
}

@media screen and (max-width: 1180px) {
    .main-content.wrapped-content {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }   
}
