/*
Theme Name: Sportkegeln Modern
Theme URI: https://www.sportkegeln-hf.de
Author: Claus Basinger
Description: Ein modernes Blog-Theme rund um Kegeln und Bowling. Sportlich, klar und mobilfreundlich.
Version: 1.0
Text Domain: sportkegeln-modern
*/

/* ========================================
   RESET & BASE
   ======================================== */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Noto Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 400;
    line-height: 1.7;
    color: #1A1A1A;
    background-color: #F7F6F3;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #D4762C;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #b5611f;
}

ul, ol {
    list-style-position: inside;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', 'Arial Narrow', sans-serif;
    font-weight: 600;
    line-height: 1.25;
    color: #2A3439;
}

h1 { font-size: 2rem; margin-bottom: 0.75rem; }
h2 { font-size: 1.55rem; margin-bottom: 0.6rem; margin-top: 2rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; margin-top: 1.5rem; }
h4 { font-size: 1.1rem; margin-bottom: 0.4rem; }

p {
    margin-bottom: 1.1rem;
}

blockquote {
    border-left: 4px solid #D4762C;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    background: #fff;
    font-style: italic;
    color: #6B7280;
}

/* ========================================
   LAYOUT — CONTAINER
   ======================================== */

.skh-container {
    max-width: 1060px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.skh-layout {
    display: flex;
    gap: 2.5rem;
    padding: 2rem 0;
}

.skh-content {
    flex: 0 0 68%;
    max-width: 68%;
    min-width: 0;
}

.skh-sidebar {
    flex: 0 0 28%;
    max-width: 28%;
    min-width: 0;
}

.skh-full-width {
    max-width: 100%;
    flex: 0 0 100%;
}

/* ========================================
   HEADER
   ======================================== */

.skh-header {
    background-color: #2A3439;
    color: #fff;
    position: relative;
    z-index: 100;
}

.skh-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 0;
}

.skh-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: #fff;
}

.skh-logo img,
.skh-logo svg {
    height: 36px;
    width: auto;
}

.skh-logo-text {
    font-family: 'Oswald', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
}

/* Navigation */

.skh-nav {
    display: flex;
    align-items: center;
}

.skh-nav ul {
    display: flex;
    gap: 0.15rem;
    list-style: none;
}

.skh-nav a {
    display: block;
    padding: 0.5rem 0.9rem;
    color: #fff;
    font-family: 'Noto Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.2s ease, color 0.2s ease;
}

.skh-nav a:hover {
    background: rgba(255,255,255,0.1);
    color: #D4762C;
}

.skh-nav .skh-nav-betting a {
    background: #1A65A0;
    color: #fff;
    font-weight: 600;
    border-radius: 4px;
    padding: 0.5rem 1rem;
}

.skh-nav .skh-nav-betting a:hover {
    background: #155080;
    color: #fff;
}

/* Mobile menu toggle */

.skh-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem;
}

/* ========================================
   BREADCRUMBS
   ======================================== */

.skh-breadcrumbs {
    font-size: 0.8rem;
    color: #6B7280;
    padding: 0.9rem 0 0.25rem;
}

.skh-breadcrumbs a {
    color: #6B7280;
    text-decoration: none;
}

.skh-breadcrumbs a:hover {
    color: #D4762C;
}

.skh-breadcrumbs .skh-breadcrumb-sep {
    margin: 0 0.35rem;
    color: #D1D5DB;
}

/* ========================================
   ARTICLE CARDS (Index, Archive, Search)
   ======================================== */

.skh-card {
    background: #fff;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    transition: box-shadow 0.2s ease;
}

.skh-card:hover {
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.skh-card-featured {
    border-left: 4px solid #D4762C;
}

.skh-card-image {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.skh-card-image-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 0.85rem;
}

.skh-card-body {
    padding: 1.25rem;
}

.skh-card-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.skh-card-title a {
    color: #2A3439;
    text-decoration: none;
}

.skh-card-title a:hover {
    color: #D4762C;
}

.skh-card-meta {
    font-size: 0.8rem;
    color: #6B7280;
    margin-bottom: 0.6rem;
}

.skh-card-meta a {
    color: #6B7280;
}

.skh-card-meta a:hover {
    color: #D4762C;
}

.skh-card-excerpt {
    font-size: 0.92rem;
    color: #4B5563;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.skh-card-read-more {
    display: inline-block;
    margin-top: 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #D4762C;
}

.skh-card-read-more:hover {
    color: #b5611f;
}

/* ========================================
   SINGLE ARTICLE
   ======================================== */

.skh-article {
    background: #fff;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.skh-article-header {
    margin-bottom: 1.5rem;
}

.skh-article-meta {
    font-size: 0.85rem;
    color: #6B7280;
    margin-bottom: 0.75rem;
}

.skh-article-meta a {
    color: #D4762C;
}

.skh-article-featured-img {
    width: 100%;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.skh-article-content h2 {
    border-left: 3px solid #D4762C;
    padding-left: 0.75rem;
}

.skh-article-content h3 {
    color: #2A3439;
}

.skh-article-content ul,
.skh-article-content ol {
    margin: 0.75rem 0 1.25rem 1.5rem;
    list-style-position: outside;
}

.skh-article-content li {
    margin-bottom: 0.35rem;
}

.skh-article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.25rem 0;
}

.skh-article-content th,
.skh-article-content td {
    border: 1px solid #D1D5DB;
    padding: 0.6rem 0.85rem;
    text-align: left;
    font-size: 0.92rem;
}

.skh-article-content th {
    background: #2A3439;
    color: #fff;
    font-weight: 600;
}

.skh-article-content tr:nth-child(even) {
    background: #f9fafb;
}

/* ========================================
   AUTHOR BOX
   ======================================== */

.skh-author-box {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    background: #F7F6F3;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    padding: 1.25rem;
    margin-top: 2rem;
}

.skh-author-avatar {
    flex-shrink: 0;
}

.skh-author-avatar img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
}

.skh-author-info h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: #2A3439;
}

.skh-author-info p {
    font-size: 0.88rem;
    color: #6B7280;
    margin-bottom: 0;
}

/* ========================================
   POST NAVIGATION
   ======================================== */

.skh-post-nav {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid #D1D5DB;
}

.skh-post-nav a {
    font-size: 0.88rem;
    color: #6B7280;
}

.skh-post-nav a:hover {
    color: #D4762C;
}

.skh-post-nav-prev::before {
    content: "\2190\00a0";
}

.skh-post-nav-next::after {
    content: "\00a0\2192";
}

/* ========================================
   PAGINATION
   ======================================== */

.skh-pagination {
    display: flex;
    gap: 0.35rem;
    justify-content: center;
    padding: 1.5rem 0;
}

.skh-pagination .page-numbers {
    display: inline-block;
    padding: 0.45rem 0.85rem;
    border: 1px solid #D1D5DB;
    border-radius: 4px;
    color: #2A3439;
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    background: #fff;
    transition: all 0.2s ease;
}

.skh-pagination .page-numbers.current,
.skh-pagination .page-numbers:hover {
    background: #D4762C;
    color: #fff;
    border-color: #D4762C;
}

/* ========================================
   SIDEBAR
   ======================================== */

.skh-widget {
    background: #fff;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    padding: 1.25rem;
    margin-bottom: 1.25rem;
}

.skh-widget-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #2A3439;
    margin-bottom: 0.85rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #D4762C;
}

.skh-sidebar-banner {
    width: 100%;
    min-height: 250px;
    background: #e5e7eb;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
}

.skh-sidebar-posts {
    list-style: none;
}

.skh-sidebar-posts li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.skh-sidebar-posts li:last-child {
    border-bottom: none;
}

.skh-sidebar-posts a {
    font-size: 0.88rem;
    color: #2A3439;
    text-decoration: none;
    display: block;
    line-height: 1.4;
}

.skh-sidebar-posts a:hover {
    color: #D4762C;
}

.skh-sidebar-posts .skh-sidebar-date {
    font-size: 0.75rem;
    color: #9ca3af;
    margin-top: 0.15rem;
}

.skh-sidebar-cats {
    list-style: none;
}

.skh-sidebar-cats li {
    padding: 0.35rem 0;
}

.skh-sidebar-cats a {
    font-size: 0.88rem;
    color: #2A3439;
}

.skh-sidebar-cats a:hover {
    color: #D4762C;
}

.skh-sidebar-cats .skh-cat-count {
    color: #9ca3af;
    font-size: 0.8rem;
    margin-left: 0.25rem;
}

/* ========================================
   PAGES (Full Width)
   ======================================== */

.skh-page {
    background: #fff;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    padding: 2rem;
    margin: 2rem 0;
}

.skh-page h1 {
    margin-bottom: 1.25rem;
}

/* ========================================
   CASINO / BETTING PAGES
   ======================================== */

.cb-page-content {
    max-width: 1060px;
    margin: 0 auto;
    padding: 1.5rem 1.25rem 2rem;
}

/* ========================================
   FOOTER
   ======================================== */

.skh-footer {
    background: #2A3439;
    color: #d1d5db;
    padding: 2.5rem 0 0;
    margin-top: 2rem;
}

.skh-footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
}

.skh-footer-col h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.skh-footer-col p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #9ca3af;
}

.skh-footer-col ul {
    list-style: none;
}

.skh-footer-col li {
    padding: 0.2rem 0;
}

.skh-footer-col a {
    font-size: 0.85rem;
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s ease;
}

.skh-footer-col a:hover {
    color: #D4762C;
}

.skh-footer-bridge {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1rem 0;
    font-size: 0.8rem;
    color: #6B7280;
}

.skh-footer-bridge a {
    color: #6B7280;
    margin: 0 0.5rem;
}

.skh-footer-bridge a:hover {
    color: #D4762C;
}

.skh-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1rem 0;
    text-align: center;
    font-size: 0.8rem;
    color: #6B7280;
}

/* ========================================
   SEARCH FORM
   ======================================== */

.skh-search-form {
    display: flex;
    gap: 0;
}

.skh-search-form input[type="search"] {
    flex: 1;
    padding: 0.55rem 0.85rem;
    border: 1px solid #D1D5DB;
    border-right: none;
    border-radius: 4px 0 0 4px;
    font-size: 0.9rem;
    font-family: 'Noto Sans', sans-serif;
    outline: none;
}

.skh-search-form input[type="search"]:focus {
    border-color: #D4762C;
}

.skh-search-form button {
    padding: 0.55rem 1rem;
    background: #D4762C;
    color: #fff;
    border: 1px solid #D4762C;
    border-radius: 0 4px 4px 0;
    font-size: 0.9rem;
    cursor: pointer;
    font-family: 'Noto Sans', sans-serif;
    font-weight: 600;
    transition: background 0.2s ease;
}

.skh-search-form button:hover {
    background: #b5611f;
    border-color: #b5611f;
}

/* ========================================
   404 PAGE
   ======================================== */

.skh-404 {
    text-align: center;
    padding: 4rem 1rem;
}

.skh-404 h1 {
    font-size: 3rem;
    color: #D4762C;
    margin-bottom: 0.5rem;
}

.skh-404 p {
    font-size: 1.1rem;
    color: #6B7280;
    margin-bottom: 1.5rem;
}

.skh-404 .skh-search-form {
    max-width: 400px;
    margin: 1.5rem auto 0;
}

.skh-btn {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: #D4762C;
    color: #fff;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 0.2s ease;
}

.skh-btn:hover {
    background: #b5611f;
    color: #fff;
}

/* ========================================
   ARCHIVE HEADER
   ======================================== */

.skh-archive-header {
    margin-bottom: 1.5rem;
}

.skh-archive-header h1 {
    font-size: 1.65rem;
}

.skh-archive-description {
    color: #6B7280;
    font-size: 0.92rem;
    margin-top: 0.35rem;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    .skh-layout {
        flex-direction: column;
        gap: 1.5rem;
    }

    .skh-content,
    .skh-sidebar {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .skh-header-inner {
        flex-wrap: wrap;
    }

    .skh-nav {
        display: none;
        width: 100%;
        padding-top: 0.75rem;
    }

    .skh-nav.skh-nav-open {
        display: block;
    }

    .skh-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .skh-nav a {
        padding: 0.6rem 0;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    .skh-menu-toggle {
        display: block;
    }

    h1 { font-size: 1.55rem; }
    h2 { font-size: 1.3rem; }

    .skh-article {
        padding: 1.25rem;
    }

    .skh-footer-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .skh-author-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .skh-post-nav {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .skh-card-body {
        padding: 1rem;
    }

    .skh-logo-text {
        font-size: 1.1rem;
    }
}
