/*
Theme Name: Graceful Flow Blog
Theme URI: https://optimathemes.com/graceful-flow-blog-theme/
Author: Aslam
Author URI: http://optimathemes.com/
Description: Graceful Flow Blog is a clean, minimal, and fully responsive WordPress theme designed for bloggers and content creators. Whether you are sharing stories about travel, food, fashion, tech, lifestyle, health, fitness, beauty, or running a personal or professional blog, this theme offers a modern layout with a focus on readability and user experience. Graceful Flow Blog is Retina-ready, SEO-optimized, WooCommerce compatible, and supports RTL (Right-to-Left) languages, making it a versatile choice for creators around the world. With its simple yet elegant design, it is ideal for bloggers, writers, influencers and YouTubers looking to build a stylish and functional online presence.
Template: graceful
Version: 1.0.2
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-flow-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 child theme starts here
*/

/* style.css */


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

#main-navigation {
    background-color: #ebe5db;
    border-bottom: 1px solid #dddddd;
    text-align: center;text-align: center;
}

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

.post-categories {
    background: #f3f2f2;
    border: 1px solid #e5e2e2;
    transform: skewX(-10deg);
}

.single .site-images {
    margin-bottom: 30px;
}
/*--------------------------------------------------------------
Featured Boxes Sections
--------------------------------------------------------------*/

#featured-boxes {
  padding: 40px !important;
  border-bottom: 1px solid #eee;
}

#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 .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;
  transform: skewX(-15deg);
}

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

.graceful-widget h2 {
    color: #111111 !important;
    background: #ebe5db !important;
    border-bottom: 1px solid #dddddd !important;
    transform: skewX(-15deg);
}
.graceful-widget h2::after {
    display: none;
}

.graceful-widget h2 {
    background: #ebe5db;
    border: 1px solid #ddd;
    transform: skewX(-15deg);
    width: 96%;
    margin: 0 auto;
}

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


/* Media Query Min 768px
   ========================================================================== */
@media screen and (min-width: 768px) {
    #graceful-post-slider .slide-item {
        background-position: center;
        height: 500px;
    }

    #graceful-post-slider.wrapped-content .slide-item {
        height: 450px;
    }

    .graceful-slider-read-more a {
        margin-bottom: 0;
    }

    .graceful-slider-info {
        padding: 20px 20px 30px 20px;
        background: rgba(0,0,0,0.3);
    }
}

.graceful-widget h2 {
    font-weight: 700 !important;
}

#site-footer {
    background-color: #f1eee8;
}

#site-footer .graceful-widget h2 {
    background: #ddd7ca !important;
    font-weight: 700 !important;
}

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


/*--------------------------------------------------------------
Graceful Flow Post Slider 
--------------------------------------------------------------*/
#graceflow-post-slider-wrap .graceflow-carousel-section .item {
  height: 500px;
  background-size: cover;
  background-position: center;
  position: relative;
  /*clip-path: polygon(0 0, 100% 0, 85% 100%, 15% 100%);*/
  /*transform: skewX(-10deg);
  overflow: hidden;*/
  display: flex;
  align-items: center;
  justify-content: center;
}

#graceflow-post-slider-wrap .angled-overlay {
  background: rgba(255, 255, 255, 0.3);
  padding: 18px;
  border-radius: 20px;
  text-align: center;
  min-width: 500px;
  max-width: 500px;
  position: relative;
  z-index: 2;
  transform: skewX(-10deg); /* cancels the skew inside */  
}

#graceflow-post-slider-wrap .carousel-device {
  position: relative;
}

#graceflow-post-slider-wrap .carousel-device-content {
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 20px;
  border-radius: 10px;
}

#graceflow-post-slider-wrap .carousel-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 10px;
}

#graceflow-post-slider-wrap .carousel-title a {
  color: #fff !important;
  text-decoration: none;
}

#graceflow-post-slider-wrap .carousel-title a:hover {
  text-decoration: underline;
}

#graceflow-post-slider-wrap .carousel-category {
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  color: #ff4d00;
  margin-bottom: 10px;
}

#graceflow-post-slider-wrap .owl-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

#graceflow-post-slider-wrap .owl-dot span {
  display: inline-block;
  width: 40px;
  height: 10px;
  background: #999;
  border-radius: 0;
  transform: skewX(-25deg);
}

#graceflow-post-slider-wrap .owl-dot.active span {
  background: #ffffff;
}

#graceflow-post-slider-wrap .owl-nav {
  position: absolute;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 30px;
  z-index: 0; 
  pointer-events: none; 
}

#graceflow-post-slider-wrap .owl-nav button {
  background: rgba(0, 0, 0, 0.3) !important;
  border: none;
  cursor: pointer;
  opacity: 0.7;
  pointer-events: all;
}

#graceflow-post-slider-wrap .owl-nav button:hover {
  opacity: 1;
}

#graceflow-post-slider-wrap .owl-nav svg {
  fill: #ffffff;
}

#graceflow-post-slider-wrap .owl-nav {
  line-height: 13.6px !important;
}

/* Responsive */

@media (max-width: 450px) {
  #graceful-flow-special-links {
    max-width: 350px !important;
  }
  #graceflow-post-slider-wrap .graceflow-carousel-section .item {
    height: 280px;
  }
}

@media (min-width: 451px) and (max-width: 768px){
  #graceful-flow-special-links {
    max-width: 720px;
  }
  #graceflow-post-slider-wrap .graceflow-carousel-section .item {
    height: 360px;
  }
}

@media (max-width: 768px) {

  #graceflow-post-slider-wrap .angled-overlay {
    padding: 10px;
    min-width: unset;
    max-width: 250px;
  }

  #graceflow-post-slider-wrap .carousel-title {
    font-size: 20px;
  }
}


/*--------------------------------------------------------------
Special Links Sections
--------------------------------------------------------------*/
#graceful-flow-special-links {
    min-height: 80px;
}

.graceful-flow-special-links-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 0;
    justify-content: center;
    scrollbar-width: none;
}
.graceful-flow-special-links-wrap::-webkit-scrollbar {
    display: none;
}

.graceful-flow-special-link-box {
    /*font-family: 'Comic Sans MS', cursive, sans-serif;*/
    padding: 20px 30px;
    font-size: 24px;
    text-decoration: none;
    text-align: center;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
    box-sizing: border-box;
    color: #111111 !important;
    /*font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);*/
    flex: 1 1 0;
    min-width: 150px;
    max-width: 22%;
    -webkit-transform: skew(-15deg);
    transform: skew(-15deg);
}
    

.graceful-flow-special-link-box:hover {
    transform: scale(1.05);
}

/* Fixed colors per position (1st to 5th) */
.graceful-flow-special-links-wrap > .graceful-flow-special-link-box:nth-child(1) {
    background: #ebe5db;
    color: #e60073;
}
.graceful-flow-special-links-wrap > .graceful-flow-special-link-box:nth-child(2) {
    background: #ebe5db;
    color: #336600;
}
.graceful-flow-special-links-wrap > .graceful-flow-special-link-box:nth-child(3) {
    background: #ebe5db;
    color: #ff9900;
}
.graceful-flow-special-links-wrap > .graceful-flow-special-link-box:nth-child(4) {
    background: #ebe5db;
    color: #0077cc;
}
.graceful-flow-special-links-wrap > .graceful-flow-special-link-box:nth-child(5) {
    background: #ebe5db;
    color: #0077cc;
}

/* Responsive layout */
@media (max-width: 768px) {
    .graceful-flow-special-link-box {
        max-width: 48%;
    }
}

@media (max-width: 480px) {
    .graceful-flow-special-link-box {
        font-size: 18px;
        padding: 15px 20px;
        height: 50px;
        max-width: 100%;
    }
}


.continue-read {
    display: inline-block;
    border: 1px solid;
    transform: skewX(-10deg);
}

.continue-read a {
    text-decoration: none;
}