/*
Theme Name: Graceful News
Theme URI: https://optimathemes.com/graceful-news-theme/
Author: Aslam
Author URI: http://optimathemes.com/
Description: Graceful News is a free, responsive WordPress news theme designed for news websites, online magazines, newspapers, editorial blogs, and digital publications. Featuring a clean, modern, and professional design, the theme is ideal for publishing breaking news, current affairs, technology, business, politics, sports, fashion, food, entertainment, lifestyle, travel, health and general news articles. Its mobile-friendly and Retina-ready layout ensures a seamless reading experience across desktops, tablets, and smartphones. Graceful News offers flexible customization options, allowing bloggers, journalists, and publishers to create attractive and engaging news websites. The theme is SEO-friendly, WooCommerce compatible, and supports Right-to-Left (RTL) languages, making it suitable for a wide range of audiences. Whether you're starting a personal news blog, building an online newspaper, or managing a professional magazine website, Graceful News provides a stylish and versatile platform for publishing your content.
Template: graceful
Version: 1.0.0
Requires at least: 5.3
Tested up to: 7.1
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-news
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;
}

.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: #f2f2f2;
    border: none;
}

#top-navigation {
    background-color: #e8400c;
    color: #ffffff;
    border-bottom: 1px solid #dddddd;
}

aside .graceful-widget h2,
.graceful-widget .widget-title {
    background: transparent;
    border: none;
    font-weight: 700;
    font-family: Montserrat, sans-serif;
    font-size: 16px;
    color: #111111;
    text-align: left;
    text-transform: none;
    letter-spacing: 0;
    padding: 0 0 12px;
    margin-bottom: 16px;
    position: relative;
    display: block;
    overflow: visible;
    width: 100%;
}

aside .graceful-widget h2::after,
.graceful-widget .widget-title::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #e8400c 50px, #e8e8e8 50px);
    border: none;
}

aside .graceful-widget h2::after {
    border-top: none;
}

#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: #f2f2f2;
}

#site-footer .graceful-widget .widget-title {
    border: none;
    font-weight: 700;
    background: transparent;
    color: #111111;
    font-family: Montserrat, sans-serif;
    font-size: 16px;
    letter-spacing: 0;
    line-height: 1.4;
    margin-bottom: 16px;
    overflow: visible;
    padding: 0 0 12px;
    position: relative;
    text-align: left;
    text-transform: none;
    display: block;
    width: 100%;
}

#site-footer .graceful-widget .widget-title::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #e8400c 50px, #e8e8e8 50px);
    border: none;
}

.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%;
    }
}

/*--------------------------------------------------------------
Trending Ticker Bar
--------------------------------------------------------------*/

#trending-ticker-bar {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #eeeeee;
    overflow: hidden;
    z-index: 100;
    position: relative;
}

#trending-ticker-bar.wrapped-content {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.trending-ticker-inner {
    display: flex;
    align-items: center;
    height: 46px;
    max-width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
}

.trending-ticker-inner.wrapped-content {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Label badge */
.trending-ticker-label {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    color: #e8400c;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 0 18px 0 5px;
    height: 100%;
    white-space: nowrap;
    z-index: 2;
}

.trending-ticker-icon {
    font-size: 14px;
    line-height: 1;
}

/* Scrolling track wrapper — clips overflow */
.trending-ticker-track-wrap {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 100%;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 2%, black 98%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 2%, black 98%, transparent 100%);
}

/* The moving track */
.trending-ticker-track {
    display: flex;
    align-items: center;
    height: 100%;
    white-space: nowrap;
    animation: ticker-scroll 18s linear infinite;
    will-change: transform;
}

.trending-ticker-track:hover,
.trending-ticker-track.is-paused {
    animation-play-state: paused;
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Individual post item */
.trending-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 24px 0 0;
    text-decoration: none;
    color: inherit;
    flex-shrink: 0;
}

.trending-ticker-item:hover .trending-ticker-title {
    color: #e8400c;
}

/* Thumbnail: small rounded rectangle */
.trending-ticker-thumb {
    width: 26px !important;
    height: 26px !important;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
}

.trending-ticker-no-thumb {
    display: inline-block;
    width: 26px;
    height: 26px;
    border-radius: 4px;
    background-color: #f0f0f0;
}

/* Date */
.trending-ticker-date {
    font-size: 12px;
    font-weight: 700;
    color: #1a1a1a;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Title */
.trending-ticker-title {
    font-size: 13px;
    font-weight: 500;
    color: #4b4f58;
    white-space: nowrap;
    transition: color 0.2s ease;
}

/* Pause / Play toggle controls */
.trending-ticker-controls {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    padding-left: 12px;
    z-index: 2;
    background: #ffffff;
}

.trending-ticker-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #232840;
    color: #ffffff;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s ease, transform 0.2s ease;
    outline: none;
}

.trending-ticker-toggle:hover {
    background: #000000;
    transform: scale(1.05);
}

.trending-ticker-toggle:focus-visible {
    outline: 2px solid #e8400c;
    outline-offset: 2px;
}

.trending-ticker-toggle svg {
    display: block;
}

@media (max-width: 480px) {
    .trending-ticker-label {
        padding: 0 10px 0 0;
        font-size: 11px;
    }

    .trending-ticker-title {
        font-size: 12px;
    }

    .trending-ticker-date {
        display: none;
    }
}

/*--------------------------------------------------------------
Top Navigation / Header Bar
--------------------------------------------------------------*/

#top-navigation {
    background-color: #e8400c;
    color: #ffffff;
    font-size: 13px;
    line-height: 1.4;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    border-bottom: none;
}

#top-navigation.wrapped-content {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.top-bar-container {
    padding: 0 15px;
    box-sizing: border-box;
}

.top-bar-container.wrapped-content {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    min-height: 40px;
}

.top-bar-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    letter-spacing: 0.2px;
    font-size: 13px;
    color: #ffffff;
}

.top-bar-icon {
    display: inline-block;
    flex-shrink: 0;
    vertical-align: middle;
    stroke: currentColor;
}

.top-bar-right {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-left: auto;
}

.top-bar-subscribe {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    font-size: 13px;
    color: #ffffff;
}

.top-bar-subscribe-text {
    opacity: 0.95;
}

.top-bar-subscribe-btn {
    color: #ffffff;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity 0.2s ease;
    display: inline-block;
}

.top-bar-subscribe-btn:hover {
    opacity: 0.85;
    color: #ffffff;
    text-decoration: underline;
}

@media (max-width: 860px) {
    .top-bar-inner {
        justify-content: center;
        text-align: center;
        gap: 6px 16px;
        min-height: auto;
        padding: 8px 0;
    }

    .top-bar-right {
        justify-content: center;
        margin-left: 0;
        gap: 6px 16px;
        width: 100%;
    }

    .top-menu-wrapper {
        width: 100%;
        text-align: center;
    }

    #top-menu {
        margin: 0;
        padding: 0;
    }

    #top-menu li a {
        line-height: 1.5;
        padding: 2px 8px;
    }
}

@media (max-width: 576px) {
    #top-navigation {
        font-size: 12px;
    }

    .top-bar-inner {
        gap: 4px 12px;
        padding: 6px 0;
    }

    .top-bar-right {
        gap: 4px 12px;
    }

    .top-bar-date,
    .top-bar-subscribe {
        justify-content: center;
        font-size: 12px;
    }

    #top-menu li a {
        font-size: 10px;
        line-height: 1.4;
        padding: 2px 6px;
    }
}

#top-menu {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

#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 #dfd6c5;
}

.graceful-small-image-box {
    background-color: #f2f2f2;
    border-radius: 10px;
}

.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 .featured-box img {
    border-radius: 14px;
}

#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;
}

#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;
    }

}



/*--------------------------------------------------------------
Latest Posts Section (Unique 3 Posts Grid)
--------------------------------------------------------------*/

.graceful-lp-grid-wrap {
    margin-bottom: 35px;
    width: 100%;
}

.graceful-lp-grid {
    display: flex;
    gap: 16px;
    width: 100%;
    align-items: stretch;
}

/* Card base */
.graceful-lp-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background-color: #1a1a2e;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.graceful-lp-card-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transition: transform 0.4s ease;
    z-index: 1;
}

.graceful-lp-card:hover .graceful-lp-card-bg {
    transform: scale(1.04);
}

.graceful-lp-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.05) 0%,
            rgba(0, 0, 0, 0.35) 45%,
            rgba(0, 0, 0, 0.85) 90%,
            rgba(0, 0, 0, 0.94) 100%);
    z-index: 2;
    pointer-events: none;
}

.graceful-lp-card-content {
    position: relative;
    z-index: 3;
    padding: 24px;
    width: 100%;
    box-sizing: border-box;
}

/* Post 1: Large Featured Card */
.graceful-lp-card-large {
    flex: 1.4;
    min-height: 480px;
}

.graceful-lp-card-large .graceful-lp-card-content {
    padding: 30px;
}

/* Stacked Column for Post 2 & 3 */
.graceful-lp-stacked-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.graceful-lp-card-small {
    flex: 1;
    min-height: 232px;
}

.graceful-lp-card-small .graceful-lp-card-content {
    padding: 18px 20px 20px;
}

/* Category Pill Badge */
.graceful-lp-cat-badge {
    display: inline-block;
    background: #0073aa;
    color: #ffffff !important;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 10px;
    text-decoration: none;
    line-height: 1.2;
    transition: opacity 0.2s ease;
}

.graceful-lp-cat-badge:hover {
    opacity: 0.9;
}

/* Titles */
.graceful-lp-card-large .graceful-lp-card-title {
    margin: 0 0 10px;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.28;
}

.graceful-lp-card-small .graceful-lp-card-title {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
}

.graceful-lp-card-title a {
    color: #ffffff !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

/* Excerpt */
.graceful-lp-card-excerpt {
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Meta */
.graceful-lp-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.graceful-lp-card-meta a {
    color: rgba(255, 255, 255, 0.85) !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

.graceful-lp-card-meta a:hover {
    color: #ffffff;
}

.graceful-lp-meta-sep {
    opacity: 0.6;
}

/* Responsive */
@media (max-width: 991px) {
    .graceful-lp-card-large {
        min-height: 420px;
    }

    .graceful-lp-card-large .graceful-lp-card-title {
        font-size: 22px;
    }

    .graceful-lp-card-small .graceful-lp-card-title {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .graceful-lp-grid {
        flex-direction: column;
        gap: 14px;
    }

    .graceful-lp-card-large {
        min-height: 360px;
        flex: auto;
    }

    .graceful-lp-stacked-col {
        gap: 14px;
    }

    .graceful-lp-card-small {
        min-height: 200px;
        flex: auto;
    }
}

@media (max-width: 480px) {
    .graceful-lp-card-large {
        min-height: 300px;
    }

    .graceful-lp-card-large .graceful-lp-card-content {
        padding: 20px;
    }

    .graceful-lp-card-large .graceful-lp-card-title {
        font-size: 18px;
    }

    .graceful-lp-card-excerpt {
        display: none;
    }
}

/*--------------------------------------------------------------
Posts Ticker
--------------------------------------------------------------*/

.graceful-latest {
    margin-bottom: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Wrapper — gives padding so the card has breathing room */
.graceful-latest-posts-ticker {
    background: transparent;
    padding: 0;
    position: relative;
}

.graceful-latest-posts-ticker .item {
    padding: 10px;
}

/* Hero card — full-bleed background image */
.lpt-card {
    position: relative;
    width: 100%;
    height: 460px;
    border-radius: 14px;
    overflow: hidden;
    background-color: #1a1a2e;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* Dark gradient overlay — strong at bottom, fades to transparent at top */
.lpt-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.08) 0%,
            rgba(0, 0, 0, 0.25) 40%,
            rgba(0, 0, 0, 0.75) 75%,
            rgba(0, 0, 0, 0.88) 100%);
    border-radius: 14px;
    z-index: 1;
}

/* Bottom content block */
.lpt-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px 30px 30px;
    z-index: 2;
}

/* Category badge */
.lpt-category {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.45);
    color: #ffffff;
    font-family: Montserrat, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 12px 5px 8px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.lpt-category-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #e8400c;
    border-radius: 2px;
    flex-shrink: 0;
}

/* Post title */
.lpt-title {
    margin: 0 0 16px;
    padding: 0;
    font-family: Montserrat, sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    color: #ffffff;
}

.lpt-title a {
    color: #ffffff !important;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.lpt-title a:hover {
    opacity: 0.85;
}

/* Author / date meta row */
.lpt-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #e8e8e8;
    font-family: Montserrat, sans-serif;
    font-size: 14px;
}

.lpt-avatar {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.6);
    flex-shrink: 0;
}

.lpt-author {
    font-weight: 500;
    color: #ffffff;
}

.lpt-divider {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
}

.lpt-date {
    color: #e0e0e0;
}

/* ── Nav buttons — top-right, square with rounded corners ── */
.graceful-latest-posts-ticker .owl-nav {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex !important;
    gap: 8px;
    z-index: 10;
    margin: 0;
    pointer-events: none;
}

.graceful-latest-posts-ticker .owl-nav button {
    pointer-events: all;
    width: 40px !important;
    height: 40px !important;
    background: rgba(255, 255, 255, 0.92) !important;
    border: none !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    transition: background 0.2s ease;
    margin: 0 !important;
    padding: 0 !important;
}

.graceful-latest-posts-ticker .owl-nav button:hover {
    background: #ffffff !important;
}

.graceful-latest-posts-ticker .owl-nav button span {
    color: #333333 !important;
    font-size: 30px !important;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -5px;
}

/* ── Dots — vertical, left side ── */
.graceful-latest-posts-ticker .owl-dots {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    display: flex !important;
    flex-direction: column;
    gap: 8px;
    z-index: 10;
    margin: 0 !important;
}

.graceful-latest-posts-ticker .owl-dots .owl-dot {
    display: block !important;
    margin: 0 !important;
}

.graceful-latest-posts-ticker .owl-dots .owl-dot span {
    display: block !important;
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.45) !important;
    margin: 0 !important;
    transition: background 0.2s ease, transform 0.2s ease;
}

.graceful-latest-posts-ticker .owl-dots .owl-dot.active span {
    background: #ffffff !important;
    transform: scale(1.4);
}

/* Responsive */
@media (max-width: 768px) {
    .lpt-card {
        height: 380px;
    }

    .lpt-title {
        font-size: 22px;
    }

    .lpt-content {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .lpt-card {
        height: 320px;
    }

    .lpt-title {
        font-size: 18px;
        line-height: 1.3;
    }

    .lpt-meta {
        font-size: 12px;
    }

    .graceful-latest-posts-ticker .owl-nav {
        top: 12px;
        right: 12px;
    }

    .graceful-latest-posts-ticker .owl-nav button {
        width: 34px !important;
        height: 34px !important;
    }
}


/*--------------------------------------------------------------
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 {
    border-radius: 14px;
}

#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;
    border-radius: 5px;
}

#graceful-post-slider .owl-nav .owl-next {
    position: absolute;
    right: 10px;
    border-radius: 5px;
}

#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;
    display: block;
}

.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 li,
.archive .content-column li,
.search .content-column li {
    margin-bottom: 36px;
    padding-bottom: 36px;
    border-bottom: 1px solid #eeeeee;
    list-style: none;
}

.blog .content-column li:last-child,
.archive .content-column li:last-child,
.search .content-column li:last-child {
    border-bottom: none;
}

/* Card — flat, no shadow, auto height */
.blog .content-column article,
.archive .content-column article,
.search .content-column article {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    background: #ffffff;
    box-shadow: none;
    height: auto;
    overflow: visible;
}

/* Image column — fixed width, rounded corners */
.blog .post-image-col,
.archive .post-image-col,
.search .post-image-col {
    flex: 0 0 300px;
    width: 300px;
}

.blog .post-image-col .site-images,
.archive .post-image-col .site-images,
.search .post-image-col .site-images {
    height: 220px;
    min-height: unset;
    border-radius: 10px;
    overflow: visible;
    background: #f2f2f2;
}

.blog .site-images a,
.archive .site-images a,
.search .site-images a {
    display: block;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
}

.blog .site-images a img,
.archive .site-images a img,
.search .site-images a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

.blog .site-images .no-thumbnail,
.archive .site-images .no-thumbnail,
.search .site-images .no-thumbnail {
    width: 100%;
    height: 100%;
    background-color: #e8e8e8;
    border-radius: 10px;
}

/* Content column */
.blog .post-content-col,
.archive .post-content-col,
.search .post-content-col {
    flex: 1;
    padding: 4px 0 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Category badge */
.bl-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: Montserrat, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #444444;
    margin-bottom: 4px;
}

.bl-category-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #e8400c;
    border-radius: 2px;
    flex-shrink: 0;
}

/* Post title */
.blog .post-title,
.archive .post-title,
.search .post-title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
    word-wrap: break-word;
}

.blog .post-title a,
.archive .post-title a,
.search .post-title a {
    color: #111111;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog .post-title a:hover,
.archive .post-title a:hover,
.search .post-title a:hover {
    color: #e8400c;
}

/* Meta row: By Author • Date */
.bl-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: Montserrat, sans-serif;
    font-size: 13px;
    color: #777777;
    flex-wrap: wrap;
}

.bl-category-badge a {
    color: #444444;
    text-decoration: none;
    transition: color 0.2s ease;
}

.bl-category-badge a:hover {
    color: #e8400c;
}

.bl-author a {
    color: #555555;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.bl-author a:hover {
    color: #e8400c;
}

.bl-meta-dot {
    color: #aaaaaa;
    font-size: 10px;
}

.bl-date {
    color: #777777;
}

/* Excerpt */
.blog .post-page-content,
.archive .post-page-content,
.search .post-page-content {
    padding-top: 0;
    margin-top: 0;
}

.blog .post-page-content p,
.archive .post-page-content p,
.search .post-page-content p {
    padding: 0;
    margin: 0;
    font-size: 15px;
    color: #555555;
    line-height: 1.6;
}

/* Hide post-footer / read more button */
.blog .post-footer,
.archive .post-footer,
.search .post-footer {
    display: none;
}

/* Read More link */
.bl-read-more {
    margin-top: 12px;
}

.bl-read-more a {
    display: inline;
    background: none;
    border: none;
    border-radius: 0;
    padding: 0;
    color: #e8400c;
    font-family: Montserrat, sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.bl-read-more a:hover {
    color: #a07a3a;
    text-decoration: underline;
}

/* Post header reset */
.blog .post-header,
.archive .post-header,
.search .post-header {
    text-align: unset;
}

/* Responsive — tablet */
@media (max-width: 768px) {

    .blog .content-column article,
    .archive .content-column article,
    .search .content-column article {
        flex-direction: column;
        gap: 16px;
    }

    .blog .post-image-col,
    .archive .post-image-col,
    .search .post-image-col {
        flex: none;
        width: 100%;
    }

    .blog .post-image-col .site-images,
    .archive .post-image-col .site-images,
    .search .post-image-col .site-images {
        height: 240px;
    }

    .blog .post-title,
    .archive .post-title,
    .search .post-title {
        font-size: 20px;
    }
}

/* Responsive — mobile */
@media (max-width: 480px) {

    .blog .post-image-col .site-images,
    .archive .post-image-col .site-images,
    .search .post-image-col .site-images {
        height: 200px;
    }

    .blog .post-title,
    .archive .post-title,
    .search .post-title {
        font-size: 18px;
    }

    .bl-meta {
        font-size: 12px;
    }
}

.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 #e8400c;
    color: #e8400c !important;
    text-decoration: none;
}

#main-navigation #searchform #searchsubmit,
.close-graceful-search {
    background: #f2f2f2;
    border: 1px solid #e8400c;
}

.graceful-latest-articles {
    margin-bottom: 30px;
    margin-top: 70px;
    padding: 0 0 12px;
    text-align: left;
    font-size: 18px;
    font-weight: 700;
    font-family: Montserrat, sans-serif;
    color: #111111;
    border: none;
    display: block;
    position: relative;
}

.graceful-latest-articles::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #e8400c 50px, #e8e8e8 50px);
}





.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;
    }
}

.content-post .post-footer {
    padding: 3px 0 !important;
}

/*--------------------------------------------------------------
Archive, Author, Search & Tag Headers
--------------------------------------------------------------*/
.graceful-news-archive-header {
    margin-bottom: 25px;
    margin-top: 1px;
}

.graceful-news-archive-subtitle {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    font-family: Montserrat, sans-serif;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #888888;
    margin-bottom: 6px;
}

.graceful-news-archive-title,
.graceful-news-category-title {
    margin-bottom: 0;
    margin-top: 2px;
    padding: 0 0 12px;
    text-align: left;
    font-size: 20px;
    font-weight: 700;
    font-family: Montserrat, sans-serif;
    color: #111111;
    border: none;
    display: block;
    position: relative;
    width: 100%;
    line-height: 1.3;
}

.graceful-news-archive-title::after,
.graceful-news-category-title::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #e8400c 50px, #e8e8e8 50px);
}

.graceful-news-archive-description {
    font-size: 14px;
    line-height: 1.6;
    color: #666666;
    margin-top: 14px;
}

/* Author Box */
.graceful-news-author-box {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fdfdfd;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.graceful-news-author-avatar {
    flex-shrink: 0;
}

.graceful-news-author-avatar img {
    border-radius: 50%;
    display: block;
    width: 70px;
    height: 70px;
    object-fit: cover;
    border: 2px solid #e8e8e8;
}

.graceful-news-author-info {
    flex: 1;
}

.graceful-news-author-name {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    font-family: Montserrat, sans-serif;
    color: #111111;
    line-height: 1.3;
}

.graceful-news-author-bio {
    margin: 6px 0 0;
    font-size: 13px;
    line-height: 1.6;
    color: #555555;
}

@media (max-width: 576px) {
    .graceful-news-author-box {
        flex-direction: column;
        text-align: center;
        gap: 12px;
        padding: 16px;
    }

    .graceful-news-archive-title,
    .graceful-news-category-title {
        font-size: 18px;
    }
}

/*--------------------------------------------------------------
Single Post Hero Header
--------------------------------------------------------------*/

/* Hero block */
.sph-hero {
    position: relative;
    width: 100%;
    min-height: 480px;
    border-radius: 12px;
    overflow: hidden;
    background-color: #2a2a2a;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    box-shadow: 0 0 0 1px #e0e0e0;
    margin-bottom: 36px;
    display: flex;
    align-items: flex-end;
}

/* Gradient overlay — only when image present */
.sph-has-image .sph-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.05) 0%,
            rgba(0, 0, 0, 0.20) 40%,
            rgba(0, 0, 0, 0.72) 75%,
            rgba(0, 0, 0, 0.88) 100%);
    z-index: 1;
}

/* Content sits above overlay */
.sph-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 32px 36px 36px;
}

/* Category badges */
.sph-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.sph-cat-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.45);
    color: #ffffff !important;
    font-family: Montserrat, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 5px 12px 5px 8px;
    border-radius: 20px;
    transition: background 0.2s ease;
}

.sph-cat-badge:hover {
    background: rgba(0, 0, 0, 0.65);
    color: #ffffff !important;
}

.sph-cat-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #e8400c;
    flex-shrink: 0;
}

/* Post title */
.sph-hero .sph-title {
    font-family: Montserrat, sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    color: #ffffff !important;
    margin: 0 0 18px;
    padding: 0;
    word-wrap: break-word;
}

/* Meta row */
.sph-meta {
    display: flex;
    align-items: center;
    gap: 14px;
}

.sph-avatar {
    width: 44px !important;
    height: 44px !important;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.6);
    flex-shrink: 0;
}

.sph-meta-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.sph-author {
    font-family: Montserrat, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.2;
}

.sph-meta-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: Montserrat, sans-serif;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    flex-wrap: wrap;
}

.sph-sep {
    color: rgba(255, 255, 255, 0.45);
}

.sph-date,
.sph-read-time {
    color: rgba(255, 255, 255, 0.85);
}

.sph-comments {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: rgba(255, 255, 255, 0.85);
}

.sph-comment-icon {
    display: inline-block;
    vertical-align: middle;
    margin-top: -1px;
}

/* No-image fallback — dark grey, no overlay needed */
.sph-no-image .sph-content {
    padding-top: 60px;
    /* extra top padding since no image above */
}

/* Responsive */
@media (max-width: 768px) {
    .sph-hero {
        min-height: 380px;
        border-radius: 8px;
    }

    .sph-title {
        font-size: 24px;
    }

    .sph-content {
        padding: 24px 20px 28px;
    }
}

@media (max-width: 480px) {
    .sph-hero {
        min-height: 300px;
    }

    .sph-title {
        font-size: 20px;
    }

    .sph-meta-row {
        font-size: 12px;
    }

    .sph-avatar {
        width: 36px !important;
        height: 36px !important;
    }
}


/*--------------------------------------------------------------
Additional Customizations
--------------------------------------------------------------*/

/* Remove featured boxes border */
#featured-boxes {
    border-bottom: none;
}

/* Media widget image rounded corners */
#media_image-3 img {
    border-radius: 10px;
}

/* Blog post title styling */
.blog .post-title {
    font-size: 28px !important;
    line-height: 36px !important;
    margin-bottom: 10px !important;
}

/* Blog listing author link */
.bl-author a {
    color: #555555 !important;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

/* Latest posts ticker item padding */
.graceful-latest-posts-ticker .item {
    padding: 0px;
}

/* Single post hero author link */
.sph-author a {
    color: #ffffff !important;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.sph-author a:hover {
    opacity: 0.85;
}

/*--------------------------------------------------------------
Tabbed Posts Widget (Sidebar)
--------------------------------------------------------------*/

.graceful-tabbed-widget {
    margin-bottom: 30px;
    background: #ffffff;
    box-sizing: border-box;
}

.graceful-tab-nav {
    display: flex;
    align-items: center;
    border-bottom: 2px solid #eef0f3;
    margin-bottom: 18px;
    gap: 12px;
    padding: 0;
}

.graceful-tab-btn {
    position: relative;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    padding: 8px 6px 12px;
    font-size: 14px;
    font-weight: 700;
    color: #7b838f;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease, border-color 0.2s ease;
    font-family: inherit;
    line-height: 1;
}

.graceful-tab-btn:hover {
    color: #1a1a1a;
}

.graceful-tab-btn.is-active {
    color: #111111;
    border-bottom-color: #e8400c;
}

.graceful-tab-btn:focus-visible {
    outline: 2px solid #e8400c;
    outline-offset: 2px;
}

.graceful-tab-icon {
    font-size: 13px;
    line-height: 1;
}

.graceful-tab-panels {
    position: relative;
}

.graceful-tab-panel {
    display: none;
}

.graceful-tab-panel.is-active {
    display: block;
    animation: gracefulTabFade 0.25s ease;
}

@keyframes gracefulTabFade {
    from {
        opacity: 0;
        transform: translateY(3px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.graceful-tab-posts-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.graceful-tab-post-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #f2f3f5;
}

.graceful-tab-post-item:first-child {
    padding-top: 0;
}

.graceful-tab-post-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.graceful-tab-post-thumb {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    background: #f0f0f0;
}

.graceful-tab-post-thumb a {
    display: block;
    width: 100%;
    height: 100%;
}

.graceful-tab-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.graceful-tab-post-thumb:hover img {
    transform: scale(1.08);
}

.graceful-tab-no-thumb {
    display: block;
    width: 100%;
    height: 100%;
    background-color: #f2f2f2;
}

.graceful-tab-post-info {
    flex: 1;
    min-width: 0;
}

.graceful-tab-post-title {
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.35;
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

.graceful-tab-post-title a {
    color: #22252a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.graceful-tab-post-title a:hover {
    color: #e8400c;
}

.graceful-tab-post-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 11.5px;
    color: #7b838f;
}

.graceful-tab-meta-date,
.graceful-tab-meta-comments {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.graceful-tab-meta-date svg,
.graceful-tab-meta-comments svg {
    vertical-align: middle;
    color: #9aa1ab;
}

.graceful-tab-empty {
    font-size: 13px;
    color: #888888;
    margin: 10px 0;
}

/*--------------------------------------------------------------
Trending Posts Section
--------------------------------------------------------------*/

.graceful-trending-posts-section {
    padding: 36px 0;
    background: #ffffff;
    margin: 0 0 30px;
    border-bottom: 1px solid #eeeeee;
}

.graceful-trending-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.graceful-trending-header {
    text-align: left;
    margin-bottom: 24px;
}

.graceful-trending-title {
    font-size: 18px;
    font-weight: 700;
    font-family: Montserrat, sans-serif;
    color: #111111;
    margin: 0;
    padding: 0 0 12px;
    border: none;
    display: block;
    position: relative;
    line-height: 1.3;
}

.graceful-trending-title::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #e8400c 50px, #e8e8e8 50px);
}

.graceful-trending-subtitle {
    font-size: 13.5px;
    color: #666666;
    margin: 10px 0 0;
    font-weight: 400;
}

.graceful-trending-posts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start;
}

/* Featured post (left side) */
.graceful-trending-post-featured {
    grid-row: span 3;
}

.graceful-trending-post-featured .graceful-trending-post-image {
    position: relative;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 18px;
    background: #1a1a2e;
}

.graceful-trending-post-featured .graceful-trending-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.graceful-trending-post-featured:hover .graceful-trending-post-image img {
    transform: scale(1.04);
}

.graceful-trending-engagement {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #e8400c;
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12.5px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.graceful-reading-time {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.graceful-reading-time svg {
    width: 14px;
    height: 14px;
    vertical-align: middle;
}

.graceful-trending-post-featured .graceful-trending-post-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 12px;
}

.graceful-trending-post-featured .graceful-trending-post-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.graceful-trending-post-featured .graceful-trending-post-title a:hover {
    color: #e8400c;
}

/* Small posts (right side) */
.graceful-trending-post-small {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding-bottom: 18px;
    border-bottom: 1px solid #f0f0f0;
}

.graceful-trending-post-small:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.graceful-trending-post-small .graceful-trending-post-image {
    flex-shrink: 0;
    width: 110px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    order: 2;
    background: #f0f0f0;
}

.graceful-trending-post-small .graceful-trending-post-content {
    flex: 1;
    order: 1;
    min-width: 0;
}

.graceful-trending-post-small .graceful-trending-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.graceful-trending-post-small:hover .graceful-trending-post-image img {
    transform: scale(1.05);
}

.graceful-trending-post-small .graceful-trending-post-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

.graceful-trending-post-small .graceful-trending-post-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.graceful-trending-post-small .graceful-trending-post-title a:hover {
    color: #e8400c;
}

/* Post meta */
.graceful-trending-post-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 8px;
    font-size: 12px;
    color: #777777;
}

.graceful-trending-author,
.graceful-trending-date {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.graceful-trending-author svg,
.graceful-trending-date svg {
    width: 13px;
    height: 13px;
    color: #999999;
}

.graceful-trending-post-excerpt {
    color: #666666;
    font-size: 13.5px;
    line-height: 1.5;
    margin: 0;
}

/* Placeholder */
.graceful-trending-placeholder {
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaaaaa;
    font-size: 14px;
    width: 100%;
    height: 100%;
}

/* Responsive */
@media (max-width: 768px) {
    .graceful-trending-posts-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .graceful-trending-post-featured {
        grid-row: span 1;
    }

    .graceful-trending-post-featured .graceful-trending-post-image {
        height: 240px;
    }

    .graceful-trending-post-featured .graceful-trending-post-title {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .graceful-trending-post-small {
        flex-direction: column;
        gap: 10px;
    }

    .graceful-trending-post-small .graceful-trending-post-image {
        width: 100%;
        height: 170px;
        order: 1;
    }

    .graceful-trending-post-small .graceful-trending-post-content {
        order: 2;
    }
}

/*--------------------------------------------------------------
Editor's Pick Section
--------------------------------------------------------------*/

.graceful-editors-pick-section {
    padding: 36px 0;
    background: #ffffff;
    margin: 0 0 30px;
    border-bottom: 1px solid #eeeeee;
}

.graceful-editors-pick-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.graceful-editors-pick-header {
    text-align: left;
    margin-bottom: 24px;
}

.graceful-editors-pick-title {
    font-size: 18px;
    font-weight: 700;
    font-family: Montserrat, sans-serif;
    color: #111111;
    margin: 0;
    padding: 0 0 12px;
    border: none;
    display: block;
    position: relative;
    line-height: 1.3;
}

.graceful-editors-pick-title::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #e8400c 50px, #e8e8e8 50px);
}

.graceful-editors-pick-description {
    font-size: 13.5px;
    color: #666666;
    margin: 10px 0 0;
    font-weight: 400;
}

.graceful-editors-pick-posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.graceful-editors-pick-post {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}

.graceful-editors-pick-post:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.graceful-editors-pick-post-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: #1a1a2e;
}

.graceful-editors-pick-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.graceful-editors-pick-post:hover .graceful-editors-pick-post-image img {
    transform: scale(1.05);
}

.graceful-editors-pick-placeholder {
    width: 100%;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eeeeee;
    color: #a0aec0;
    font-size: 14px;
}

.graceful-editors-pick-engagement {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    gap: 8px;
    z-index: 2;
}

.graceful-editors-pick-views,
.graceful-editors-pick-comments {
    background: rgba(255, 255, 255, 0.94);
    color: #222222;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.graceful-editors-pick-views svg,
.graceful-editors-pick-comments svg {
    color: #666666;
}

.graceful-editors-pick-post-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.graceful-editors-pick-categories {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.graceful-editors-pick-category {
    background: #e8400c;
    color: #ffffff;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.graceful-editors-pick-post-title {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 10px;
}

.graceful-editors-pick-post-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.graceful-editors-pick-post-title a:hover {
    color: #e8400c;
}

.graceful-editors-pick-post-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 10px;
    font-size: 12px;
    color: #777777;
}

.graceful-editors-pick-date,
.graceful-editors-pick-author {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.graceful-editors-pick-date svg,
.graceful-editors-pick-author svg {
    color: #999999;
}

.graceful-editors-pick-author a {
    color: #666666;
    text-decoration: none;
    transition: color 0.2s ease;
}

.graceful-editors-pick-author a:hover {
    color: #e8400c;
}

.graceful-editors-pick-post-excerpt {
    color: #666666;
    font-size: 13.5px;
    line-height: 1.5;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .graceful-editors-pick-posts-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .graceful-editors-pick-post-title {
        font-size: 17px;
    }
}

@media (max-width: 480px) {
    .graceful-editors-pick-post-image {
        height: 200px;
    }

    .graceful-editors-pick-post-content {
        padding: 16px;
    }
}

/*--------------------------------------------------------------
Favorite Categories Section
--------------------------------------------------------------*/

.favorite-categories-container {
    margin: 2.5rem auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.favorite-categories-container.max-width-container {
    max-width: 1200px;
}

.favorite-categories-title {
    font-size: 18px;
    font-weight: 700;
    font-family: Montserrat, sans-serif;
    color: #111111;
    margin: 0;
    padding: 0 0 12px;
    border: none;
    display: block;
    position: relative;
    line-height: 1.3;
}

.favorite-categories-title::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #e8400c 50px, #e8e8e8 50px);
}

.favorite-categories-header {
    margin-bottom: 24px;
}

.favorite-categories-divider {
    display: none;
}

/* Base grid layout */
.favorite-categories-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(4, 1fr);
}

/* Desktop layout based on active category count */
@media (min-width: 993px) {
    .favorite-categories-grid.items-1 {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin: 0 auto;
    }

    .favorite-categories-grid.items-2 {
        grid-template-columns: repeat(2, 1fr);
        max-width: 620px;
        margin: 0 auto;
    }

    .favorite-categories-grid.items-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .favorite-categories-grid.items-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Tablet view (2 columns) */
@media (max-width: 992px) and (min-width: 769px) {
    .favorite-categories-grid,
    .favorite-categories-grid.items-2,
    .favorite-categories-grid.items-3,
    .favorite-categories-grid.items-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .favorite-categories-grid.items-1 {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin: 0 auto;
    }
}

/* Mobile view: stack 1 below other */
@media (max-width: 768px) {
    .favorite-categories-grid,
    .favorite-categories-grid.items-1,
    .favorite-categories-grid.items-2,
    .favorite-categories-grid.items-3,
    .favorite-categories-grid.items-4 {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }
}

.favorite-category-item {
    border-radius: 10px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.favorite-category-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.favorite-category-link {
    display: block;
    text-decoration: none;
    border-radius: 10px;
}

.favorite-category-link:focus,
.favorite-category-link:focus-visible {
    outline: 3px dotted #000000 !important;
    outline-offset: 3px;
    position: relative;
    z-index: 2;
}

.favorite-category-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 240px;
}

.favorite-category-image-container.no-image {
    background-color: #f2f2f2;
}

.favorite-category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    transition: transform 0.3s ease;
}

.favorite-category-item:hover .favorite-category-image {
    transform: scale(1.05);
}

.favorite-category-label {
    position: absolute;
    bottom: 0px;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    padding: 10px 20px;
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    transition: background-color 0.3s ease;
}

/* Sections inside content column alignment */
.content-wrap .favorite-categories-container,
.content-wrap .graceful-trending-container,
.content-wrap .graceful-editors-pick-container {
    padding-left: 0;
    padding-right: 0;
}

.content-wrap .favorite-categories-container {
    margin-top: 10px;
    margin-bottom: 35px;
}