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

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

#wrapper {
    max-width: 1120px;
    margin: 0 auto;
    background: #fff;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

#header { text-align: center; background: #fff; padding: 20px 0; }
#header img { max-width: 100%; height: auto; display: block; margin: 0 auto; }

/* FIX NAVIGACE */
.nav-container { background: #333; width: 100%; }
.nav ul { 
    list-style: none !important; 
    display: flex !important; 
    flex-wrap: wrap !important; 
    justify-content: center !important; 
    padding: 0 !important; 
    margin: 0 !important; 
}
.nav li { display: inline-block !important; }
.nav a { 
    color: #fff !important; 
    display: block !important; 
    padding: 15px 18px !important; 
    text-decoration: none !important; 
    font-size: 14px !important; 
    text-transform: uppercase !important; 
}
.nav a:hover { background: #444 !important; }

/* DEFINITIVNÍ LAYOUT */
.main-inner {
    display: flex !important;
    flex-direction: row !important;
    width: 100%;
    align-items: stretch !important; /* Změněno ze flex-start na stretch pro plný šedý pruh */
}

.content {
    flex: 0 0 70% !important;
    width: 70% !important;
    padding: 30px;
    background: #fff;
}

.sidebar {
    flex: 0 0 30% !important;
    width: 30% !important;
    padding: 20px;
    background: #e8e8e8;
    border-left: 1px solid #ddd;
    /* min-height odstraněno, protože stretch nyní řídí výšku */
}

/* BIOGRAFIE - OBTEČENÍ */
.alignright {
    float: right;
    margin: 0 0 20px 20px;
    max-width: 200px;
    height: auto;
    border-radius: 5px;
}

/* ÚVODNÍ STRANA - HERO SEKCE */
.hero-section {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
    align-items: center;
}
.hero-image { flex: 0 0 300px; }
.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.hero-text h1 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
}
.hero-text p { margin-bottom: 15px; }

/* ÚVODNÍ STRANA - FEATURE GRID */
.feature-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 50px;
    border-top: 1px solid #eee;
    padding-top: 40px;
}
.feature-item {
    flex: 1;
    text-align: center;
    padding: 20px;
}
.feature-icon {
    font-size: 40px;
    color: #3b8dbd;
    margin-bottom: 20px;
}
.feature-item h3 a {
    color: #3b8dbd;
    text-decoration: none;
    font-size: 18px;
    display: block;
    margin-bottom: 10px;
}
.feature-item p {
    font-size: 14px;
    color: #666;
}

/* ÚVODNÍ STRANA - INFO SEKCE (SPODNÍ ČÁST) */
.info-section {
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid #eee;
}
.info-header {
    text-align: center;
    margin-bottom: 30px;
}
.info-icon-circle {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    border: 2px solid #3b8dbd;
    color: #3b8dbd;
    font-size: 20px;
    margin-bottom: 10px;
}
.info-header h2 {
    font-size: 22px;
    color: #333;
    margin-top: 10px;
}
.info-columns {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}
.info-col.left {
    flex: 0 0 30% !important;
    width: 30% !important;
    font-weight: bold;
    font-style: italic;
    color: #444;
}
.info-col.right {
    flex: 0 0 70% !important;
    width: 70% !important;
    color: #666;
}

/* STYL PRO CITACE V TEXTU (PULLQUOTES) */
.pullquote-left {
    float: left;
    width: 40%;
    margin: 0 20px 10px 0;
    font-size: 1.1em;
    font-weight: bold;
    color: #333;
    font-style: italic;
    line-height: 1.4;
}

/* Ostatní */
.video-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
    width: 100%;
}
.video-gallery a { display: block; text-decoration: none; color: #333; }
.video-gallery img { width: 100%; height: auto; border-radius: 8px; }
.video-gallery p { text-align: center; margin-top: 10px; font-size: 14px; }
.widget { margin-bottom: 30px; background: #fff; padding: 15px; border-radius: 5px; }
.widget h3 { color: #fff; background: #2d89bf; margin: -15px -15px 15px -15px; padding: 10px 15px; border-radius: 5px 5px 0 0; font-size: 14px; text-transform: uppercase; }
.widget a { color: #3b8dbd; text-decoration: none; }
.alx-posts { list-style: none; padding: 0; }
.alx-posts li { margin-bottom: 15px; display: flex; gap: 10px; }
.post-item-thumbnail img { width: 80px; height: auto; border-radius: 3px; }
.post-item-title a { color: #333; text-decoration: none; font-size: 13px; font-weight: bold; }
.post-item-date { font-size: 11px; color: #999; }
.entry { line-height: 1.6; }
#footer { background: #333; color: #999; padding: 20px; text-align: center; }
#footer a { color: #fff; text-decoration: none; }

/* Responsive */
@media (max-width: 768px) {
    .main-inner { flex-direction: column !important; align-items: stretch !important; }
    .content, .sidebar { flex: 0 0 100% !important; width: 100% !important; }
    .nav ul { flex-direction: column !important; align-items: center !important; }
    .hero-section { flex-direction: column; text-align: center; }
    .hero-image { margin: 0 auto; }
    .feature-grid { flex-direction: column; }
    .info-columns { flex-direction: column; gap: 20px; }
    .info-col.left, .info-col.right { flex: 0 0 100% !important; width: 100% !important; }
}
