/*
Theme Name: Beton i krew
Theme URI: https://karieratadeuszabatyra.pl
Author: Współautorzy powieści
Author URI: https://karieratadeuszabatyra.pl
Description: Motyw dla powieści odcinkowej "Beton i krew" - historia Tadeusza Batyra z Nowej Huty. Dresiarz, kibol, neonazista. Miłość, która mogła go uratować. Styl Dołęgi-Mostowicza.
Version: 1.0
License: GPL v2 or later
Text Domain: betonikrew
*/

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

body {
    background: #0f0d0a;
    font-family: 'Georgia', 'Times New Roman', Times, serif;
    line-height: 1.7;
    color: #dad2c4;
    padding: 0;
    margin: 0;
}

.container {
    max-width: 880px;
    margin: 0 auto;
    padding: 40px 24px;
}

/* Header */
.site-header {
    background: #080604;
    border-bottom: 3px solid #8b3a2b;
    padding: 32px 0;
    margin-bottom: 0;
    text-align: center;
}

.site-title {
    font-size: 2.8rem;
    font-weight: normal;
    letter-spacing: -1px;
    font-family: 'Georgia', serif;
    margin: 0;
}

.site-title a {
    color: #e8d8c0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-title a:hover {
    color: #b87c5a;
}

.site-description {
    font-size: 0.85rem;
    font-style: italic;
    color: #7a6a54;
    margin-top: 8px;
    letter-spacing: 1px;
}

/* Nawigacja */
.main-navigation {
    background: #0c0907;
    border-top: 1px solid #2a2218;
    border-bottom: 1px solid #2a2218;
    margin-bottom: 40px;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 32px;
    padding: 12px 20px;
}

.main-navigation li {
    margin: 0;
}

.main-navigation a {
    color: #c8bc9c;
    text-decoration: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Trebuchet MS', Arial, sans-serif;
    transition: color 0.3s;
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
    color: #b87c5a;
    border-bottom: 1px solid #b87c5a;
    padding-bottom: 4px;
}

/* Główna treść */
.site-content {
    background: #1a1510;
    border-radius: 4px;
    padding: 48px 56px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

/* Strona główna - lista odcinków */
.archive-header {
    text-align: center;
    margin-bottom: 48px;
}

.archive-title {
    font-size: 2rem;
    font-weight: normal;
    border-bottom: 2px solid #8b3a2b;
    display: inline-block;
    padding-bottom: 8px;
    margin-bottom: 16px;
    color: #f0e6d4;
}

.archive-subtitle {
    font-style: italic;
    color: #9e8a6e;
    font-size: 0.9rem;
}

.episodes-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin: 32px 0;
}

.episode-item {
    border-left: 3px solid #b87c5a;
    padding: 20px 24px;
    background: #241e16;
    transition: all 0.3s ease;
}

.episode-item:hover {
    background: #2f261c;
    border-left-color: #d4ac7a;
    transform: translateX(4px);
}

.episode-nr {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #b87c5a;
    margin-bottom: 8px;
    font-family: 'Trebuchet MS', Arial, sans-serif;
}

.episode-title {
    margin: 8px 0 10px 0;
    font-size: 1.5rem;
    font-weight: normal;
}

.episode-title a {
    color: #e2dcd0;
    text-decoration: none;
    transition: color 0.3s;
}

.episode-title a:hover {
    color: #d4ac7a;
}

.episode-date {
    font-size: 0.7rem;
    color: #7a6a54;
    margin-bottom: 12px;
    font-family: monospace;
}

.episode-excerpt {
    font-size: 0.9rem;
    color: #c8bc9c;
    line-height: 1.5;
}

/* Paginacja */
.pagination {
    text-align: center;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid #2a2218;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 8px 14px;
    margin: 0 4px;
    color: #c8bc9c;
    background: #241e16;
    border: 1px solid #3a3026;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.pagination .page-numbers.current {
    background: #8b3a2b;
    color: #fff;
    border-color: #8b3a2b;
}

.pagination .page-numbers:hover:not(.current) {
    background: #3a3026;
    border-color: #b87c5a;
}

/* Pojedynczy odcinek (single.php) */
article {
    margin-bottom: 60px;
}

.odcinek-meta {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #b87c5a;
    margin-bottom: 12px;
    font-family: 'Trebuchet MS', Arial, sans-serif;
}

.entry-title {
    font-size: 2.2rem;
    font-weight: normal;
    border-bottom: 2px solid #8b3a2b;
    display: inline-block;
    padding-bottom: 8px;
    margin-bottom: 16px;
    color: #f0e6d4;
}

.entry-subtitle {
    font-style: italic;
    color: #9e8a6e;
    margin-bottom: 32px;
    border-left: 3px solid #b87c5a;
    padding-left: 20px;
    font-size: 0.95rem;
}

.entry-content {
    font-size: 1.05rem;
    text-align: justify;
}

.entry-content p {
    margin-bottom: 1.6rem;
}

.entry-content strong {
    color: #d4ac7a;
    font-weight: 600;
}

.entry-content .separator {
    text-align: center;
    margin: 36px 0;
    font-size: 1.4rem;
    letter-spacing: 8px;
    color: #8b5a3a;
}

/* Nawigacja między odcinkami */
.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid #2a2218;
}

.nav-previous a,
.nav-next a {
    color: #b87c5a;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}

.nav-previous a:hover,
.nav-next a:hover {
    color: #e2dcd0;
}

/* Nota autorska */
.nota {
    font-size: 0.7rem;
    color: #6a5a44;
    border-top: 1px solid #2a2218;
    margin-top: 48px;
    padding-top: 24px;
    font-style: italic;
    text-align: center;
}

/* Stopka */
.site-footer {
    text-align: center;
    padding: 40px 24px 24px;
    font-size: 0.7rem;
    color: #5a4a34;
    border-top: 1px solid #2a2218;
    margin-top: 48px;
}

/* Strona O powieści */
.about-box {
    background: #241e16;
    padding: 24px 28px;
    margin-bottom: 32px;
    border-left: 3px solid #8b3a2b;
}

.about-box h3 {
    font-size: 1.3rem;
    font-weight: normal;
    margin-bottom: 12px;
    color: #d4ac7a;
}

/* Responsywność */
@media (max-width: 680px) {
    .container {
        padding: 20px 16px;
    }
    
    .site-content {
        padding: 28px 20px;
    }
    
    .entry-title {
        font-size: 1.6rem;
    }
    
    .archive-title {
        font-size: 1.5rem;
    }
    
    .episode-title {
        font-size: 1.2rem;
    }
    
    .main-navigation ul {
        gap: 16px;
        flex-direction: column;
        align-items: center;
    }
    
    .site-title {
        font-size: 2rem;
    }
	/* Lista odcinków z miniaturkami */
.episode-item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    border-left: 3px solid #b87c5a;
    padding: 20px 24px;
    background: #241e16;
    transition: all 0.3s ease;
}

.episode-item:hover {
    background: #2f261c;
    border-left-color: #d4ac7a;
    transform: translateX(4px);
}

.episode-thumbnail {
    flex-shrink: 0;
    width: 120px;
}

.episode-img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #3a3026;
    transition: all 0.3s ease;
}

.episode-item:hover .episode-img {
    border-color: #b87c5a;
    opacity: 0.95;
}

.episode-content {
    flex: 1;
}

.episode-nr {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #b87c5a;
    margin-bottom: 8px;
    font-family: 'Trebuchet MS', Arial, sans-serif;
}

.episode-title {
    margin: 8px 0 10px 0;
    font-size: 1.5rem;
    font-weight: normal;
}

.episode-title a {
    color: #e2dcd0;
    text-decoration: none;
    transition: color 0.3s;
}

.episode-title a:hover {
    color: #d4ac7a;
}

.episode-date {
    font-size: 0.7rem;
    color: #7a6a54;
    margin-bottom: 12px;
    font-family: monospace;
}

.episode-excerpt {
    font-size: 0.9rem;
    color: #c8bc9c;
    line-height: 1.5;
}

/* Responsywność – na małych ekranach miniatura nad tekstem */
@media (max-width: 550px) {
    .episode-item {
        flex-direction: column;
        gap: 12px;
    }
    
    .episode-thumbnail {
        width: 100%;
        max-width: 200px;
    }
}
}