/* News port: ticker, top-bar extras, latest posts, news blog list, global accents.
   Ported from graceful-news style.css, adapted to gracefulnews-pro prefixes. */

/* ---------- Trending ticker ---------- */
#trending-ticker-bar {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #eeeeee;
    overflow: hidden;
    position: relative;
}
#trending-ticker-bar.boxed-wrapper { margin: 0 auto; }
.trending-ticker-inner { display: flex; align-items: center; height: 46px; max-width: 100%; padding: 0 15px; box-sizing: border-box; }
.trending-ticker-inner.boxed-wrapper { margin-left: auto; margin-right: auto; }
.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: .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; }
.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%); }
.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%); } }
.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; }
.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; }
.trending-ticker-date { font-size: 12px; font-weight: 700; color: #1a1a1a; white-space: nowrap; flex-shrink: 0; }
.trending-ticker-title { font-size: 13px; font-weight: 500; color: #4b4f58; white-space: nowrap; transition: color .2s ease; }
.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: #fff; border: none; cursor: pointer; padding: 0; }
.trending-ticker-toggle:hover { background: #000; }
@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 bar news extras ---------- */
#top-bar .top-bar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; min-height: 40px; }
#top-bar .top-bar-date { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; letter-spacing: .2px; font-size: 13px; }
#top-bar .top-bar-icon { display: inline-block; flex-shrink: 0; vertical-align: middle; }
#top-bar .top-bar-right { display: inline-flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-left: auto; }
#top-bar .top-bar-subscribe { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 13px; }
#top-bar .top-bar-subscribe-text { opacity: .95; }
#top-bar .top-bar-subscribe-btn { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
#top-bar .top-bar-subscribe-btn:hover { opacity: .85; }
#top-bar #top-menu { display: inline-flex; align-items: center; margin: 0; padding: 0; list-style: none; }
#top-bar #top-menu > li { display: inline-block; list-style: none; position: relative; }
#top-bar #top-menu li a { display: block; position: relative; padding: 0 5px; margin-left: 5px; font-size: 11px; line-height: 40px; letter-spacing: 1px; font-weight: 600; text-transform: uppercase; }
@media (max-width: 860px) {
    #top-bar .top-bar-inner { justify-content: center; text-align: center; min-height: auto; padding: 8px 0; }
    #top-bar .top-bar-right { justify-content: center; margin-left: 0; width: 100%; }
}

/* ---------- Latest posts grid ---------- */
.gracefulnews-lp-grid-wrap { margin-bottom: 35px; width: 100%; }
.gracefulnews-lp-grid { display: flex; gap: 16px; width: 100%; align-items: stretch; }
.gracefulnews-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; }
.gracefulnews-lp-card-bg { position: absolute; inset: 0; width: 100%; height: 100%; background-size: cover; background-position: center; transition: transform .4s ease; z-index: 1; }
.gracefulnews-lp-card:hover .gracefulnews-lp-card-bg { transform: scale(1.04); }
.gracefulnews-lp-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.05) 0%, rgba(0,0,0,.35) 45%, rgba(0,0,0,.85) 90%, rgba(0,0,0,.94) 100%); z-index: 2; pointer-events: none; }
.gracefulnews-lp-card-content { position: relative; z-index: 3; padding: 24px; width: 100%; box-sizing: border-box; }
.gracefulnews-lp-card-large { flex: 1.4; min-height: 480px; }
.gracefulnews-lp-card-large .gracefulnews-lp-card-content { padding: 30px; }
.gracefulnews-lp-stacked-col { flex: 1; display: flex; flex-direction: column; gap: 16px; }
.gracefulnews-lp-card-small { flex: 1; min-height: 232px; }
.gracefulnews-lp-card-small .gracefulnews-lp-card-content { padding: 18px 20px 20px; }
.gracefulnews-lp-cat-badge { display: inline-block; background: #0073aa; color: #fff !important; font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; padding: 4px 10px; border-radius: 4px; margin-bottom: 10px; text-decoration: none; line-height: 1.2; }
.gracefulnews-lp-card-large .gracefulnews-lp-card-title { margin: 0 0 10px; font-size: 26px; font-weight: 700; line-height: 1.28; }
.gracefulnews-lp-card-small .gracefulnews-lp-card-title { margin: 0 0 8px; font-size: 16px; font-weight: 700; line-height: 1.35; }
.gracefulnews-lp-card-title a { color: #fff !important; text-decoration: none; }
.gracefulnews-lp-card-excerpt { font-size: 13px; line-height: 1.5; color: rgba(255,255,255,.85); margin: 0 0 12px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.gracefulnews-lp-card-meta { display: flex; align-items: center; gap: 8px; font-size: 12px; color: rgba(255,255,255,.7); }
.gracefulnews-lp-card-meta a { color: rgba(255,255,255,.85) !important; text-decoration: none; }
.gracefulnews-lp-meta-sep { opacity: .6; }
@media (max-width: 991px) {
    .gracefulnews-lp-card-large { min-height: 420px; }
    .gracefulnews-lp-card-large .gracefulnews-lp-card-title { font-size: 22px; }
}
@media (max-width: 768px) {
    .gracefulnews-lp-grid { flex-direction: column; gap: 14px; }
    .gracefulnews-lp-card-large { min-height: 360px; flex: auto; }
    .gracefulnews-lp-stacked-col { gap: 14px; }
    .gracefulnews-lp-card-small { min-height: 200px; flex: auto; }
}
@media (max-width: 480px) {
    .gracefulnews-lp-card-large { min-height: 300px; }
    .gracefulnews-lp-card-large .gracefulnews-lp-card-content { padding: 20px; }
    .gracefulnews-lp-card-large .gracefulnews-lp-card-title { font-size: 18px; }
    .gracefulnews-lp-card-excerpt { display: none; }
}

/* ---------- Latest posts slider (Slick) ---------- */
.gracefulnews-latest { margin-bottom: 40px; max-width: 1200px; margin-left: auto; margin-right: auto; }
.gracefulnews-latest-posts-ticker { background: transparent; padding: 0; position: relative; }
.gracefulnews-latest-posts-ticker .item { padding: 10px; }
.lpt-card { position: relative; width: 100%; height: 460px; border-radius: 14px; overflow: hidden; background-color: #1a1a2e; background-size: cover; background-position: center; }
.lpt-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.08) 0%, rgba(0,0,0,.25) 40%, rgba(0,0,0,.75) 75%, rgba(0,0,0,.88) 100%); border-radius: 14px; z-index: 1; }
.lpt-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 28px 30px 30px; z-index: 2; }
.lpt-category { display: inline-flex; align-items: center; gap: 8px; background: rgba(0,0,0,.45); color: #fff; 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; }
.lpt-title { margin: 0 0 16px; padding: 0; font-size: 28px; font-weight: 700; line-height: 1.3; color: #fff; }
.lpt-title a { color: #fff !important; text-decoration: none; }
.lpt-meta { display: flex; align-items: center; gap: 10px; color: #e8e8e8; font-size: 14px; }
.lpt-avatar { width: 36px !important; height: 36px !important; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,.6); flex-shrink: 0; }
.lpt-author { font-weight: 500; color: #fff; }
.lpt-divider { color: rgba(255,255,255,.5); }
.lpt-date { color: #e0e0e0; }
.gracefulnews-latest-posts-ticker .slick-arrow { position: absolute; top: 20px; z-index: 10; width: 40px; height: 40px; background: rgba(255,255,255,.92); border: none; border-radius: 8px; font-size: 24px; line-height: 1; color: #333; cursor: pointer; }
.gracefulnews-latest-posts-ticker .slick-prev { right: 68px; }
.gracefulnews-latest-posts-ticker .slick-next { right: 20px; }
.gracefulnews-latest-posts-ticker .slick-dots { position: absolute; top: 50%; left: 20px; transform: translateY(-50%); display: flex !important; flex-direction: column; gap: 8px; z-index: 10; margin: 0; padding: 0; list-style: none; }
.gracefulnews-latest-posts-ticker .slick-dots li button { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.45); border: none; font-size: 0; padding: 0; cursor: pointer; }
.gracefulnews-latest-posts-ticker .slick-dots li.slick-active button { background: #fff; transform: scale(1.4); }
@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; } .lpt-meta { font-size: 12px; } }

/* ---------- News blog list ---------- */
.content-column.news-list { list-style: none; margin: 0; padding: 0; }
.content-column.news-list > li { margin-bottom: 36px; padding-bottom: 36px; border-bottom: 1px solid #eeeeee; list-style: none; }
.content-column.news-list > li:last-child { border-bottom: none; }
.content-column.news-list article.content-post { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 28px; background: #fff; box-shadow: none; height: auto; overflow: visible; }
.content-column.news-list article.content-post > .related-posts { flex: 1 1 100%; width: 100%; }
.post-image-col { flex: 0 0 300px; width: 300px; }
.post-image-col .site-images { height: 220px; border-radius: 10px; overflow: hidden; background: #f2f2f2; position: relative; }
.post-image-col .site-images a { display: block; height: 100%; border-radius: 10px; overflow: hidden; position: relative; }
.post-image-col .site-images a img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 10px; }
.post-image-col .site-images .no-thumbnail { width: 100%; height: 100%; background-color: #e8e8e8; border-radius: 10px; }
/* shine effect */
.post-image-col .site-images a::before { position: absolute; top: 0; left: -75%; z-index: 2; display: block; content: ''; width: 50%; height: 100%; background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,.3) 100%); transform: skewX(-25deg); }
.post-image-col .site-images a:hover::before { animation: shine .75s; }
@keyframes shine { 100% { left: 125%; } }
.post-content-col { flex: 1; padding: 4px 0 0; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; text-align: left; }
.content-column.news-list .post-header { text-align: left; width: 100%; }
.gmbl-category-badge { display: inline-flex; align-items: center; justify-content: flex-start; gap: 7px; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #111111; margin-bottom: 8px; text-align: left; }
.gmbl-category-dot { display: inline-block; width: 10px; height: 10px; background-color: #e8400c; border-radius: 2px; flex-shrink: 0; }
.content-column.news-list .post-title { font-size: 28px; font-weight: 700; line-height: 36px; margin: 0 0 10px; text-align: left; width: 100%; }
.content-column.news-list .post-title a { color: #111; text-decoration: none; }
.content-column.news-list .post-title a:hover { color: #e8400c; }
.gmbl-meta { display: flex; align-items: center; justify-content: flex-start; gap: 8px; font-size: 13px; color: #777; flex-wrap: wrap; text-align: left; width: 100%; }
.gmbl-category-badge a { color: #111111; text-decoration: none; }
#page-content .content-column.news-list .gmbl-category-badge a { color: #111111; }
.gmbl-category-badge a:hover { color: #e8400c; }
.gmbl-author a { color: #111111; text-decoration: none; font-weight: normal; }
#page-content .content-column.news-list .gmbl-author a { color: #111111; }
.gmbl-author a:hover { color: #e8400c; }
.gmbl-meta-dot { color: #aaa; font-size: 10px; }
.gmbl-date { color: #777; }
.content-column.news-list .post-page-content { padding-top: 0; margin-top: 0; width: 100%; text-align: left; }
.content-column.news-list .post-page-content p { padding: 0; margin: 0; font-size: 15px; color: #555; line-height: 1.6; text-align: left; }
.gmbl-read-more { margin-top: 12px; text-align: left; width: 100%; }
.gmbl-read-more a { display: inline; color: #e8400c; font-size: 13px; font-weight: 600; text-decoration: none; }
.gmbl-read-more a:hover { text-decoration: underline; }
.content-column.news-list .post-footer { display: none; }
.gracefulnews-latest-articles { margin-bottom: 30px; margin-top: 0; padding: 0 0 12px; text-align: left; font-size: 18px; font-weight: 700; font-family: Montserrat, sans-serif; color: #111; border: none; display: block; position: relative; }
.gracefulnews-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); }
@media (max-width: 768px) {
    .content-column.news-list article.content-post { flex-direction: column; gap: 16px; }
    .post-image-col { flex: none; width: 100%; }
    .post-image-col .site-images { height: 240px; }
    .content-column.news-list .post-title { font-size: 22px; }
}
@media (max-width: 480px) {
    .post-image-col .site-images { height: 200px; }
    .content-column.news-list .post-title { font-size: 22px !important; line-height: 30px !important; }
    .gmbl-meta { font-size: 12px; }
}

/* ---------- News section headings (consistent) ---------- */
.gracefulnews-trending-title,
.gracefulnews-editors-pick-title,
.favorite-categories-title,
.gracefulnews-latest-articles {
    font-family: Montserrat, sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #111111;
    text-align: left;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.3;
    padding: 0 0 12px;
    border: none;
    display: block;
    position: relative;
    width: 100%;
}
.gracefulnews-trending-title::after,
.gracefulnews-editors-pick-title::after,
.favorite-categories-title::after,
.gracefulnews-latest-articles::after {
    content: ''; display: block; margin-top: 12px; width: 100%; height: 3px;
    background: linear-gradient(to right, #e8400c 50px, #e8e8e8 50px);
}
.gracefulnews-trending-header,
.gracefulnews-editors-pick-header,
.favorite-categories-header {
    text-align: left;
    margin-bottom: 24px;
}
.gracefulnews-trending-subtitle,
.gracefulnews-editors-pick-description {
    font-size: 13.5px;
    color: #666666;
    margin: 10px 0 0;
    font-weight: 400;
}

/* ---------- Widget headings: sidebar + footer (news style) ---------- */
#page-content .gracefulnews-widget .widget-title,
#page-footer .gracefulnews-widget .widget-title {
    background: transparent;
    border: none;
    border-bottom: none;
    margin-bottom: 16px;
    padding: 0;
    overflow: visible;
    text-align: left;
}
#page-content .gracefulnews-widget .widget-title h2,
#page-footer .gracefulnews-widget .widget-title h2 {
    background: transparent;
    border: none;
    font-family: Montserrat, sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #111111;
    text-align: left;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.4;
    padding: 0;
    margin: 0;
    position: static;
    display: block;
    width: 100%;
}
#page-content .gracefulnews-widget .widget-title h2::after,
#page-footer .gracefulnews-widget .widget-title h2::after {
    content: ''; display: block; position: relative; left: auto; top: auto; bottom: auto;
    width: 100%; height: 3px; margin: 8px 0 0; padding: 0; border: none;
    background: linear-gradient(to right, #e8400c 50px, #e8e8e8 50px);
}

/* ---------- Featured Links (below ticker) ---------- */
#featured-links { padding-bottom: 10px; margin-bottom: 30px; }
#featured-links .featured-link { border-radius: 8px; overflow: hidden; }
#featured-links .featured-link img { border-radius: 8px; width: 100%; display: block; }

/* ---------- Featured Slider images ---------- */
#featured-slider .slider-item { border-radius: 8px; overflow: hidden; }
#featured-slider .slider-item-bg { border-radius: 8px; }
#featured-slider .slider-item img { border-radius: 8px; width: 100%; display: block; }

/* ---------- Recent Posts widget thumbnail (match tabbed style) ---------- */
.sovona-small-image-box {
    width: 72px;
    height: 72px;
    border-radius: 6px;
    margin-right: 10px;
}

/* ---------- Single Post Hero Header (news style) ---------- */
.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;
}
.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;
}
.sph-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 32px 36px 36px;
}
.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;
}
.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;
}
.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-author a {
    color: #ffffff !important;
    text-decoration: none;
    transition: opacity 0.2s ease;
}
.sph-author a:hover {
    opacity: 0.85;
}
.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;
}
.sph-meta-row .gracefulnews-meta-item {
    color: rgba(255, 255, 255, 0.85);
    font-family: Montserrat, sans-serif;
    font-size: 13px;
}
.sph-meta-row .gracefulnews-meta-item i {
    color: rgba(255, 255, 255, 0.7);
}
.sph-no-image .sph-content {
    padding-top: 60px;
}
@media (max-width: 768px) {
    .sph-hero {
        min-height: 380px;
        border-radius: 8px;
    }
    .sph-hero .sph-title {
        font-size: 24px;
    }
    .sph-content {
        padding: 24px 20px 28px;
    }
}
@media (max-width: 480px) {
    .sph-hero {
        min-height: 300px;
    }
    .sph-hero .sph-title {
        font-size: 20px;
    }
    .sph-meta-row {
        font-size: 12px;
    }
    .sph-avatar {
        width: 36px !important;
        height: 36px !important;
    }
}

/* ---------- Editor's Pick categories (match listing style) ---------- */
.gracefulnews-editors-pick-categories {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.gracefulnews-editors-pick-category {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: transparent;
    color: #111111;
    padding: 0;
    border-radius: 0;
    font-family: Montserrat, sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    line-height: 1.2;
}
.gracefulnews-editors-pick-category::before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #e8400c;
    border-radius: 2px;
    flex-shrink: 0;
}

/* ---------- Trending meta: author/date wrap as whole units, never split ---------- */
.gracefulnews-trending-post-meta {
    flex-wrap: wrap;
    row-gap: 6px;
}
.gracefulnews-trending-author,
.gracefulnews-trending-date {
    white-space: nowrap;
    flex-shrink: 0;
}

/* ---------- Editor's Pick post title (match news: 19px black) ---------- */
#page-content .gracefulnews-editors-pick-post-title {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 10px;
}
#page-content .gracefulnews-editors-pick-post-title a {
    color: #111111;
}
@media (max-width: 768px) {
    #page-content .gracefulnews-editors-pick-post-title {
        font-size: 17px;
    }
}

/* ---------- Trending small-tile titles (match news: 15px black) ---------- */
#page-content .gracefulnews-trending-post-small .gracefulnews-trending-post-title {
    font-size: 20px;
    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;
}
#page-content .gracefulnews-trending-post-small .gracefulnews-trending-post-title a {
    color: #111111;
}

/* ---------- Tabbed Posts Widget ---------- */
.graceful-tabbed-widget { margin-bottom: 30px; background: #fff; 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 .2s ease, border-color .2s ease; font-family: inherit; line-height: 1; }
.graceful-tab-btn:hover { color: #1a1a1a; }
.graceful-tab-btn.is-active { color: #111; 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 .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 .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 .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: #888; margin: 10px 0; }

/* ---------- Archive / Author / Search / Tag headers (news style) ---------- */
.gracefulnews-archive-header {
    margin-bottom: 25px;
    margin-top: 1px;
}
.gracefulnews-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;
}
.gracefulnews-archive-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;
}
.gracefulnews-archive-title::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #e8400c 50px, #e8e8e8 50px);
}
.gracefulnews-archive-description {
    font-size: 14px;
    line-height: 1.6;
    color: #666666;
    margin-top: 14px;
}
.gracefulnews-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);
}
.gracefulnews-author-avatar {
    flex-shrink: 0;
}
.gracefulnews-author-avatar img {
    border-radius: 50%;
    display: block;
    width: 70px;
    height: 70px;
    object-fit: cover;
    border: 2px solid #e8e8e8;
}
.gracefulnews-author-info {
    flex: 1;
}
.gracefulnews-author-name {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    font-family: Montserrat, sans-serif;
    color: #111111;
    line-height: 1.3;
}
.gracefulnews-author-bio {
    margin: 6px 0 0;
    font-size: 13px;
    line-height: 1.6;
    color: #555555;
}
@media (max-width: 576px) {
    .gracefulnews-author-box {
        flex-direction: column;
        text-align: center;
        gap: 12px;
        padding: 16px;
    }
    .gracefulnews-archive-title {
        font-size: 18px;
    }
}

/* ---------- Post metrics: reading time & views ---------- */
.post-meta .gracefulnews-meta-item {
    display: inline-block;
    color: #111111;
    font-family: Montserrat, sans-serif;
    font-size: 13px;
    vertical-align: baseline;
    margin-left: 6px;
}
.post-meta .gracefulnews-meta-item::before {
    content: "\00b7";
    margin-right: 6px;
    color: #888888;
    font-weight: bold;
}
.post-meta .gracefulnews-meta-item i {
    margin-right: 4px;
    color: #555555;
    font-size: 12px;
}
.gmbl-meta .gracefulnews-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #777777;
}
.gmbl-meta .gracefulnews-meta-item::before {
    content: "\2022";
    color: #aaaaaa;
    font-size: 10px;
}
.gmbl-meta .gracefulnews-meta-item i {
    color: #999999;
    font-size: 12px;
}

/* ---------- Per-post display options: hide title / no sidebar ---------- */
.graceful-extra-hide-title .page-title,
.graceful-extra-hide-title .post-title,
.graceful-extra-hide-title .entry-title {
    display: none !important;
}
.graceful-extra-no-sidebar .sidebar-left-wrap,
.graceful-extra-no-sidebar .sidebar-right-wrap {
    display: none !important;
}
.graceful-extra-no-sidebar .main-container {
    width: 100% !important;
    float: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* ---------- Main menu submenus: light background ---------- */
#main-nav #main-menu .sub-menu {
    background-color: #f9f9f9;
}
#main-nav #main-menu .sub-menu > li > a {
    font-size: 12px;
}
