/*
Theme Name: semct-win-sport
Description: description
Version: 1.0
*/

/* ===== TABLE OF CONTENTS ===== */
.toc-wrap {
    background-color: var(--toc-bg);
    border-radius: 12px;
    padding: 20px 25px;
    margin: 30px 0;
    border: 1px solid var(--toc-border);
}

.toc-wrap__title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.toc-list {

    padding: 0;
    margin: 0;
}

.toc-list li {margin-left: 30px;
    margin-bottom: 8px;
}
.toc-list > li:first-child {display: none;}

.toc-list a {
    text-decoration: none;
    color: var(--text-secondary);
    transition: color 0.2s;
}

.toc-list a:hover {
    color: var(--accent-primary);
}


.sbx-content > * {margin-bottom: 20px;}

.child-pages-showcase p {color: #fff;}



.sitemap-container {
    max-width: 1200px;
    margin: 0 auto;
    width:100%;
    padding: 20px;
}

.sitemap-content {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.sitemap-list {
    margin: 30px 0;
}

.sitemap-pages {
    list-style: none;
    padding: 0;
}

.sitemap-pages li {
    margin: 10px 0;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.sitemap-pages li:hover {
    background-color: #f9f9f9;
    padding-left: 10px;
}

.sitemap-pages a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    display: block;
    padding: 5px 0;
}

.sitemap-pages a:hover {
    color: #0073aa;
}

.sitemap-children {
    margin-top: 10px;
    padding-left: 20px;
    border-left: 2px solid #e0e0e0;
}

.sitemap-posts {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 2px solid #eee;
}

.posts-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 10px;
}

.posts-list li {
    padding: 8px;
    background: #f8f8f8;
    border-radius: 4px;
}

.post-date {
    font-size: 12px;
    color: #666;
    margin-left: 10px;
}

@media (max-width: 768px) {
    .posts-list {
        grid-template-columns: 1fr;
    }
}


.articles-container {
        margin: 40px 0;
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
        padding: 0 20px;
    }

    .articles-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 28px;
    }

    .article-item {
        display: flex;
    }

    .article-card {
        background: #ffffff;
        border: 1px solid #e6e6e6;
        border-radius: 10px;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
        padding: 24px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        transition: transform 0.25s ease, box-shadow 0.25s ease;
        width: 100%;
        min-height: 320px;
    }

    .article-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    }

    .article-card__title {
        font-size: 1.2rem;
        margin-bottom: 12px;
        font-weight: 600;
        line-height: 1.4;
    }

    .article-card__title a {
        text-decoration: none;
        color: #1a1a1a;
    }

    .article-card__title a:hover {
        color: #2c7be5;
    }

    .article-meta {
        font-size: 0.8rem;
        color: #888888;
        display: flex;
        gap: 8px;
        align-items: center;
    }

    .article-card__excerpt {
        margin-top: 14px;
        font-size: 0.95rem;
        color: #555555;
        line-height: 1.6;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .article-card__read-more {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        margin-top: 20px;
        font-size: 0.75rem;
        font-weight: 600;
        text-transform: uppercase;
        text-decoration: none;
        color: #2c7be5;
        letter-spacing: 0.05em;
        transition: transform 0.2s ease;
    }

    .article-card__read-more:hover {
        transform: translateX(4px);
    }

    /* ===== Pagination ===== */

    .articles-pagination {
        margin-top: 50px;
        display: flex;
        justify-content: center;
    }

    .articles-pagination ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
        align-items: center;
    }

    .articles-pagination a,
    .articles-pagination span {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 36px;
        height: 36px;
        padding: 0 10px;
        border-radius: 6px;
        border: 1px solid #e6e6e6;
        background: #ffffff;
        color: #333333;
        text-decoration: none;
        font-size: 0.75rem;
        transition: all 0.2s ease;
    }

    .articles-pagination a:hover {
        background: #2c7be5;
        color: #ffffff;
        border-color: #2c7be5;
    }

    .articles-pagination .current {
        background: #2c7be5;
        color: #ffffff;
        border-color: #2c7be5;
        font-weight: 600;
    }

    .articles-pagination .prev,
    .articles-pagination .next {
        padding: 0 12px;
    }

    @media (max-width: 1100px) {
        .articles-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media (max-width: 600px) {
        .articles-grid {
            grid-template-columns: 1fr;
        }
    }


    .page-numbers li {padding: 0;}
    .page-numbers li:before {display: none;}

    .f-title {color: var(--color-primary);
  font-size: 1.3rem;
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-primary);}


  .top-menu-list.active {
      overflow-y: scroll;
      overflow-x: hidden;
  }