/*
Theme Name:     Newspaper-child
Theme URI:      
Description:    Newspaper child theme.
Author:         Me
Author URI:     
Template:       Newspaper
Version:        0.1.0
*/
.overflow-hidden {
    overflow: hidden;
}

.content-row {
    display: flex !;
    justify-content: center;
    gap: 55px;
}

/* =====================================================
   SINGLE POST TEMPLATE STYLES
   Based on Figma: Blog-final-2026
   ===================================================== */

/* Container */
.skv-container {
    max-width: 1376px;
    margin: 0 auto;
    padding: 0 14px;
    box-sizing: border-box;
}

/* ---- HERO SECTION ---- */
.skv-single-hero {
    background-color: #F9FAFD;
    padding: 64px 0;
    margin-top: 60px;
}

.skv-hero-row {
    display: flex;
    align-items: stretch;
    gap: 57px;
}

.skv-hero-left {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-block-start: 40px;
}

.skv-hero-right {
    flex: 0 0 764px;
    max-width: 764px;
}

/* Breadcrumbs */
.skv-breadcrumbs {
    margin-bottom: 46px;
    font-size: 14px;
    font-weight: 500;
    line-height: 16px;
    color: #485A76;
}

.skv-breadcrumbs a {
    color: #485A76;
    text-decoration: none;
}

.skv-breadcrumbs a:hover {
    color: #1A73E8;
}

/* Category Tags */
.skv-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.skv-category-tag {
    display: inline-block;
    padding: 3px 6px;
    border: 1px solid #277DFF;
    border-radius: 4px;
    color: #277DFF;
    font-size: 10px;
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
}

.skv-category-tag:hover {
    background-color: #277DFF;
    color: #fff;
}

/* Post Title */
.skv-post-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2223;
    color: #1B2A3D;
    margin: 0 0 24px;
    letter-spacing: 0;
}

/* Post Meta */
.skv-post-meta {
    display: flex;
    align-items: center;
    gap: 14px;
}

.skv-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.skv-author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    background-color: #C5D4EA;
}

.skv-author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.skv-meta-text {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 16px;
    font-weight: 400;
    color: #485A76;
    width: 100%;
}

.skv-post-date {
    font-weight: 700;
}

.skv-author-name {
    white-space: nowrap;
}

.skv-author-name a {
    color: #485A76;
    text-decoration: none;
    font-weight: 400;
}

.skv-author-name a:hover {
    color: #277DFF;
}

.skv-meta-separator {
    color: #7A91B6;
    margin: 0;
}

.skv-post-views {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 0 auto;
}

.skv-post-views-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.skv-post-views svg {
    flex-shrink: 0;
}

/* Featured Image */
.skv-featured-image {
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
    min-height: 296px;
    max-height: 396px;
}

.skv-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ---- CONTENT SECTION ---- */
.skv-single-content-wrap {
    background-color: #fff;
    padding: 40px 0 60px;
}

.justify-space-between {
    justify-content: space-between;
}

.skv-content-row {
    display: flex;
    gap: 50px;
    align-items: stretch;
}

/* Left Sidebar - TOC */
.skv-toc-sidebar {
    flex: 0 0 220px;
    max-width: 220px;
}

.skv-toc-sidebar > .ez-toc-widget-sticky{
	position: sticky;
    top: 100px;
}

.skv-toc-sidebar .widget {
    margin: 0;
}

/* Main Content */
.skv-main-content {
    flex: 1;
    min-width: 0;
    max-width: 800px;
}

/* Summary Box */
.skv-summary-box {
    background-color: #F9FAFD;
    border-radius: 8px;
    padding: 28px 32px;
    margin-bottom: 32px;
}

.skv-summary-box h2,
.skv-summary-title {
    font-size: 22px;
    font-weight: 700;
    color: #1B2A3D;
    margin: 0 0 16px;
}

.skv-summary-box ul {
    margin: 0;
    padding-left: 20px;
}

.skv-summary-box ul li {
    margin-bottom: 14px;
    font-size: 15px;
    line-height: 1.6;
    color: #3D4F5F;
}

/* Post Content Typography */
.skv-post-content {
    font-size: 16px;
    line-height: 1.75;
    color: #3D4F5F;
}

.skv-post-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1B2A3D;
    margin: 40px 0 16px;
    line-height: 1.3;
}

.skv-post-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1B2A3D;
    margin: 32px 0 14px;
    line-height: 1.35;
}

.skv-post-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1B2A3D;
    margin: 24px 0 10px;
}

.skv-post-content p {
    margin: 0 0 20px;
}

.skv-post-content a {
    color: #277DFF;
    text-decoration: none;
}

.skv-post-content a:hover {
    text-decoration: underline;
}

.skv-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 16px 0;
}

.skv-post-content blockquote {
    border-left: 3px solid #277DFF;
    margin: 24px 0;
    padding: 16px 24px;
    background-color: #F9FAFD;
    border-radius: 0 6px 6px 0;
    color: #3D4F5F;
    font-style: italic;
}

.skv-post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.skv-post-content table th,
.skv-post-content table td {
    border: 1px solid #E2E8F0;
    padding: 10px 14px;
    text-align: left;
    font-size: 14px;
}

.skv-post-content table th {
    background-color: #F9FAFD;
    font-weight: 600;
    color: #1B2A3D;
}

/* Share Buttons */
.skv-share-buttons {
    margin-top: 54px;
}

.skv-share {
    display: flex;
    align-items: center;
    gap: 15px;
}

.skv-share-label {
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #AFC4E3;
}

.skv-share-list {
    display: flex;
    align-items: center;
    gap: 16px;
}

.skv-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.2s;
}

.skv-share-btn:hover {
    opacity: 0.8;
    color: #fff;
}

.skv-share-btn svg {
    display: block;
}

/* Author Bio */
.skv-author-bio {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 32px 90px 32px 46px;
    background-color: #fff;
    border: 1px solid #DCE5F2;
    border-radius: 4px;
    margin-top: 54px;
}

.skv-author-bio-avatar {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-shrink: 0;
}

.skv-author-bio-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.skv-author-bio-name {
    margin: 0 0 6px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.skv-author-bio-name a {
    color: #1B2A3D;
    text-decoration: none;
}

.skv-author-bio-name a:hover {
    color: #277DFF;
}

.skv-author-bio-desc {
    font-size: 18px;
    line-height: 28px;
    color: #485A76;
    margin: 0;
}

/* ---- RIGHT SIDEBAR ---- */
.skv-right-sidebar {
    flex: 0 0 220px;
    max-width: 220px;
    display: flex;
    flex-direction: column;
    gap: 42px;
}

.skv-sidebar-widget {
    margin: 0;
}

.skv-sidebar-cta {
  position: sticky;
  top: 100px;
}

.skv-widget-title {
    font-size: 16px;
    line-height: 1.375;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #1B2A3D;
    margin: 0 0 14px;
    padding-bottom: 8px;
    position: relative;
}

.skv-widget-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, #277DFF 0, #277DFF 14px, #C5D4EA 14px);
}

.skv-topics-list,
.skv-connectors-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.skv-topics-list li,
.skv-connectors-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    margin: 0;
}

.skv-topics-list li:last-child,
.skv-connectors-list li:last-child {
    border-bottom: none;
}

.skv-topics-list a,
.skv-connectors-list a {
    color: #3D4F5F;
    font-size: 16px;
    text-decoration: none;
}

.skv-topics-list a:hover,
.skv-connectors-list a:hover {
    color: #277DFF;
}

.skv-topic-count,
.skv-connector-count {
    font-size: 16px;
    color: #485A76;
    font-weight: 400;
}

/* CTA Block */
.skv-sidebar-cta {
    background-color: #F0F5FC;
    border-radius: 6px;
    padding: 0;
    text-align: left;
    margin: 0;
}

.skv-cta-text {
    color: #29374D;
    font-size: 24px;
    font-weight: 900;
    line-height: 30px;
    margin: 34px 25px 24px 25px;
}

.skv-cta-highlight {
    color: #277DFF;
}

.skv-cta-btn {
    display: block;
    background-color: #4DA3FF;
    color: #fff;
    padding: 9px 52px;
    margin: 0 18px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.2s;
}

.skv-cta-btn:hover {
    background-color: #3B8FEE;
    color: #fff;
}

.skv-cta-icons {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-left: 1px;
    margin-top: 26px;
    gap: 12px;
    margin-bottom: 16px;
}

.skv-cta-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: #fff;
    border-radius: 50%;
    flex-shrink: 0;
}

.skv-cta-icon svg {
    width: 28px;
    height: 28px;
}

/* ---- RELATED POSTS ---- */
.skv-related-posts {
    padding: 40px 0 60px;
}

.skv-related-heading {
    font-size: 28px;
    font-weight: 700;
    color: #1B2A3D;
    margin: 0 0 24px;
    display: none;
}

.skv-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.skv-related-card {
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.skv-related-card:hover {
    box-shadow: none;
}

.skv-related-thumb {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 8px;
}

.skv-related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.skv-related-card:hover .skv-related-thumb img {
    transform: scale(1.03);
}

.skv-related-info {
    padding: 16px 0 0;
}

.skv-related-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.skv-related-cat {
    font-size: 10px;
    font-weight: 700;
    line-height: 22px;
    color: #277DFF;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.3px;
    padding: 3px 6px;
    border: 1px solid #277DFF;
    border-radius: 4px;
    transition: background-color 0.2s, color 0.2s;
}

.skv-related-cat:hover {
    text-decoration: underline;
}

.skv-related-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 28px;
    margin: 0 0 8px;
}

.skv-related-title a {
    color: #1B2A3D;
    text-decoration: none;
}

.skv-related-title a:hover {
    color: #277DFF;
}

.skv-related-date {
    font-size: 13px;
    font-weight: 400;
    line-height: 1;
    color: #374A66;
}

/* ---- PAGE NAV (multi-page posts) ---- */
.skv-page-nav {
    display: flex;
    gap: 8px;
    margin: 24px 0;
}

.skv-page-nav span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 4px;
    border: 1px solid #E2E8F0;
    color: #3D4F5F;
    font-size: 14px;
    text-decoration: none;
}

.skv-page-nav span a {
    color: inherit;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* =====================================================
   MOBILE STYLES (< 768px)
   ===================================================== */
@media (max-width: 1024px) {
    .skv-hero-right {
        flex: 0 0 340px;
        max-width: 340px;
    }

    .skv-right-sidebar {
        display: none;
    }

    .skv-toc-sidebar {
        display: none;
    }

    .skv-main-content {
        max-width: 100%;
    }

    .skv-content-row {
        flex-direction: column;
    }
}

@media (min-width:768px) {
    .skv-main-content-toc-m {
        display: none;
    }

    .skv-hero-right .skv-breadcrumbs {
        display: none;
    }
}

@media (max-width: 767px) {

    .skv-main-content-toc-m {
        width: 100%;
    }

    .skv-main-content-toc-m .widget {
        margin: 0;
    }

    /* Hero */
    .skv-single-hero {
        padding: 17px 0;
        margin: 0;
    }

    .skv-hero-row {
        flex-direction: column-reverse;
        gap: 17px;
    }

    .skv-hero-right {
        flex: 1;
        max-width: 100%;
    }

    .skv-hero-left {
        width: 100%;
        padding: 0;
    }

    .skv-hero-left .skv-breadcrumbs {
        display: none;
    }

    .skv-breadcrumbs,
    .skv-categories {
        margin-bottom: 17px;
    }

    .skv-featured-image {
        min-height: 198px;
        max-height: 198px;
        height: 198px;
        border-radius: 6px;
    }

    .skv-post-title {
        font-size: 28px;
        margin-bottom: 11px;
    }

    /* Meta - stack vertically on mobile */
    .skv-author-avatar {
        width: 40px;
        height: 40px;
    }

    .skv-post-meta {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 11px;
    }

    .skv-meta-separator {
        display: none;
    }

    .skv-meta-text {
        flex-direction: column;
        align-items: flex-start;
        gap: 11px;
    }

    .skv-author-name {
        font-size: 16px;
        font-weight: 700;
        color: #485A76;
    }

    .skv-author-name a {
        font-weight: 700;
    }

    .skv-post-views {
        margin-left: 0;
    }

    /* Content */
    .skv-single-content-wrap {
        padding: 30px 0;
    }

    .skv-content-row {
        flex-direction: column;
        gap: 0;
    }

    .skv-toc-sidebar {
        display: none;
    }

    .skv-right-sidebar {
        display: none;
    }

    .skv-main-content {
        max-width: 100%;
    }

    .skv-post-content h2 {
        font-size: 22px;
        margin: 28px 0 14px;
    }

    .skv-post-content h3 {
        font-size: 18px;
        margin: 24px 0 10px;
    }

    .skv-post-content {
        font-size: 15px;
    }

    /* Summary */
    .skv-summary-box {
        padding: 20px;
    }

    .skv-summary-box h2,
    .skv-summary-title {
        font-size: 18px;
    }

    /* Author Bio */
    .skv-author-bio {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        padding: 20px;
    }

    /* Related Posts */
    .skv-related-heading {
        display: block;
        font-size: 32px;
        font-weight: 300;
        line-height: 1;
        margin-bottom: 35px;
    }

    .skv-related-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 35px;
    }

    .skv-related-posts {
        padding: 30px 0;
    }

    .skv-related-thumb {
        width: 100%;
        max-height: 208px;
    }
}

/* ---- TABLET (768px - 1024px) ---- */
@media (min-width: 768px) and (max-width: 1024px) {
    .skv-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .skv-post-title {
        font-size: 28px;
    }
}

/* Override Newspaper theme defaults on single post content area only */
.single .td-main-content-wrap .td-container,
.single .td-main-content-wrap .td-pb-row,
.single .td-main-content-wrap .td-pb-span12 {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
}

/* Hide tagdiv built-in related posts */
.single .tdb_single_related,
.single .tdb-single-related-posts {
    display: none !important;
}