/*
Theme Name: SQ články
Description: Šablona pro SingleQueen články multisite zobrazující jen přihlášení a náhled článků (ne veřejně, jen pro přihlášené redaktory)
Version: 1.9
Author: SingleQueen
Author URI: https://www.singlequeen.cz
*/

/* WordPress specific styles */
.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 0.875rem;
    color: #6b7280;
    text-align: center;
    margin-top: 0.5rem;
}

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

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

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

/* Reset a základní styly */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Nadpisy */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: bold;
}

h1 {
    font-size: 2.5em;
}

h2 {
    font-size: 2em;
}

h3 {
    font-size: 1.5em;
}

/* Odkazy */
a {
    color: #0073aa;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Typography styles for content */
.prose {
    color: #374151;
    line-height: 1.7;
}

.prose h1, .prose h2, .prose h3, .prose h4, .prose h5, .prose h6 {
    color: #111827;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.prose h1 {
    font-size: 2.25rem;
    line-height: 1.2;
}

.prose h2 {
    font-size: 1.875rem;
    line-height: 1.3;
}

.prose h3 {
    font-size: 1.5rem;
    line-height: 1.4;
}

.prose p {
    margin-bottom: 1.5rem;
}

.prose ul, .prose ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.prose li {
    margin-bottom: 0.5rem;
}

.prose blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #6b7280;
}

.prose a {
    color: var(--link-color);
    text-decoration: underline;
}

.prose a:hover {
    text-decoration: none;
}

.prose img {
    border-radius: var(--article-border-radius);
    margin: 1.5rem 0;
}

.prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.prose th, .prose td {
    border: 1px solid #e5e7eb;
    padding: 0.75rem;
    text-align: left;
}

.prose th {
    background-color: #f9fafb;
    font-weight: 600;
}

.prose code {
    background-color: #f3f4f6;
    padding: 0.125rem 0.25rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
}

.prose pre {
    background-color: #1f2937;
    color: #f9fafb;
    padding: 1rem;
    border-radius: var(--article-border-radius);
    overflow-x: auto;
    margin: 1.5rem 0;
}

.prose pre code {
    background-color: transparent;
    padding: 0;
    color: inherit;
}

.entry-title a {
    color: #333;
}

.entry-title a:hover {
    color: #0073aa;
}

/* Tlačítka */
.button, .btn {
    display: inline-block;
    background-color: #0073aa;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
}

.button:hover, .btn:hover {
    background-color: #005a87;
    text-decoration: none;
}

/* Meta informace o článku */
.entry-meta {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.entry-meta span {
    margin-right: 15px;
}

/* Navigace mezi články */
.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.nav-previous, .nav-next {
    flex: 1;
}

.nav-next {
    text-align: right;
}

/* Štítky */
.tags {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    color: #666;
}

.tags a {
    color: #0073aa;
    text-decoration: none;
    margin-right: 5px;
}

.tags a:hover {
    text-decoration: underline;
}

/* Front page hero styly */
.front-page-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.front-page-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 1;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 3;
}

.hero-title {
    font-size: 4em;
    font-weight: bold;
    margin-bottom: 40px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    letter-spacing: 2px;
}

.hero-button {
    display: inline-block;
    background-color: #BA2D43;
    color: white;
    padding: 20px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.4em;
    font-weight: bold;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(186, 45, 67, 0.3);
    border: 2px solid #BA2D43;
}

.hero-button:hover {
    background-color: white;
    color: #BA2D43;
    border-color: #BA2D43;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(186, 45, 67, 0.4);
    text-decoration: none;
}

/* Archive page specific styles */
.post-item:hover .post-thumbnail img {
    transform: scale(1.05);
}

/* Pagination styles */
.page-numbers {
    display: inline-block;
    padding: 0.75rem 1rem;
    margin: 0 0.25rem;
    background-color: #f3f4f6;
    color: #374151;
    text-decoration: none;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
    font-weight: 500;
}

.page-numbers:hover,
.page-numbers.current {
    background-color: #3b82f6;
    color: #ffffff;
    text-decoration: none;
}

.page-numbers.dots {
    background-color: transparent;
    color: #6b7280;
    cursor: default;
}

.page-numbers.dots:hover {
    background-color: transparent;
    color: #6b7280;
}

/* Responzivní design */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    h1 {
        font-size: 2em;
    }
    
    .button, .btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    
    .post-navigation {
        flex-direction: column;
        gap: 10px;
    }
    
    .nav-next {
        text-align: left;
    }
    
    .hero-title {
        font-size: 2.5em;
        letter-spacing: 1px;
    }
    
    .hero-button {
        padding: 15px 30px;
        font-size: 1.2em;
    }
    
    .front-page-hero {
        height: 100vh;
    }
}
