
/*
Theme Name: ImZwischen
Theme URI: https://imzwischen.at
Author: Martin Just
Description: Minimalistisches Theme für literarische Miniaturen
Version: 1.1
Text Domain: imzwischen
*/

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

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

body {
    font-family: 'Crimson Pro', Georgia, serif;
    font-size: 18px;
    line-height: 1.8;
    color: #1a1a1a;
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }        /* 48px - nur für Header-Titel */
h2 { font-size: 2rem; }        /* 32px */
h3 { font-size: 1.5rem; }      /* 24px */

p {
    margin-bottom: 1.5rem;
}

a {
    color: #1a1a1a;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

a:hover {
    border-bottom: 1px solid #1a1a1a;
}

/* ============================================
   LAYOUT
   ============================================ */

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.site-header {
    padding: 3rem 0 2rem;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 4rem;
}

.site-title {
    font-size: 3rem;               /* 48px - Header bleibt groß */
    font-weight: 400;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.site-title a {
    border-bottom: none;
}

.site-title a:hover {
    border-bottom: none;
    opacity: 0.7;
}

.site-tagline {
    font-size: 1rem;
    font-style: italic;
    color: #666;
    margin-bottom: 2rem;
}

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

.main-navigation {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.main-navigation li {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.main-navigation a {
    border-bottom: none;
    padding-bottom: 0.25rem;
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
    border-bottom: 2px solid #1a1a1a;
}

/* ============================================
   MAIN CONTENT
   ============================================ */

main {
    min-height: 50vh;
    margin-bottom: 4rem;
}

/* ============================================
   MINIATUREN (Blog Posts)
   ============================================ */

.miniature {
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #e0e0e0;
}

.miniature:last-child {
    border-bottom: none;
}

.miniature-header {
    margin-bottom: 1.5rem;
}

.miniature-title {
    font-size: 2rem;              /* 32px - Artikel-Titel */
    margin-bottom: 0.5rem;
}

.miniature-title a {
    border-bottom: none;
}

.miniature-title a:hover {
    opacity: 0.7;
    border-bottom: none;
}

.miniature-date {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.85rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.miniature-image {
    width: 100%;
    height: auto;
    margin-bottom: 1.5rem;
}

.miniature-content {
    font-size: 1.125rem;
    line-height: 1.8;
}

.read-more {
    display: inline-block;
    margin-top: 1rem;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-bottom: 1px solid #1a1a1a;
}

.read-more:hover {
    opacity: 0.7;
}

/* ============================================
   AUDIO PLAYER
   ============================================ */

.audio-wrapper {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8f8f8;
    border-radius: 4px;
}

.audio-wrapper audio {
    width: 100%;
    margin-bottom: 0.5rem;
}

.audio-caption {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

/* ============================================
   STATIC PAGES (Biographie, Projekte, etc.)
   ============================================ */

.page-content h1 {
    font-size: 2.25rem;           /* 36px - Seitentitel kleiner als Header */
    margin-bottom: 2rem;
}

.page-content h2 {
    font-size: 1.75rem;           /* 28px */
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.page-content h3 {
    font-size: 1.25rem;           /* 20px */
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.page-content p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.page-content ul,
.page-content ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.page-content li {
    margin-bottom: 0.5rem;
}

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

.site-footer {
    margin-top: 4rem;
    padding: 2rem 0;
    border-top: 1px solid #e0e0e0;
    text-align: center;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.85rem;
    color: #666;
}

.site-footer a {
    color: #666;
    border-bottom: none;
}

.site-footer a:hover {
    color: #1a1a1a;
    border-bottom: 1px solid #1a1a1a;
}

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

.pagination {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
    text-align: center;
    font-family: 'IBM Plex Mono', monospace;
}

.pagination a {
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
}

.pagination .current {
    font-weight: bold;
}

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

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .site-header {
        padding: 2rem 0 1.5rem;
    }
    
    .site-title {
        font-size: 2.25rem;       /* 36px auf Mobile */
    }
    
    .main-navigation ul {
        gap: 1rem;
    }
    
    .main-navigation li {
        font-size: 0.8rem;
    }
    
    .miniature-title {
        font-size: 1.5rem;        /* 24px auf Mobile */
    }
    
    .page-content h1 {
        font-size: 1.75rem;       /* 28px auf Mobile */
    }
    
    .miniature-content,
    .page-content p {
        font-size: 1rem;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* ============================================
   WORDPRESS CORE
   ============================================ */

.alignleft {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
}

img.alignleft,
img.alignright,
img.aligncenter {
    max-width: 100%;
    height: auto;
}


