/*
Theme Name: Stepankovo Kolejiste
Theme URI: https://radim-stepanek.com
Author: Radim Stepanek
Description: Vlastni sablona pro blog o modelovem zeleznicnim kolejisti. Teply, vintage vzhled s fotografii v hlavicce, dvousloupcovym rozlozenim a funkcnim vyhledavanim.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: stepankovo-kolejiste
*/

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

body {
	font-family: -apple-system, 'Segoe UI', Arial, sans-serif;
	background:#f2e8d5;
	color:#4a3320;
}

a { color:inherit; }

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

.site-wrap { width:1200px; max-width:100%; margin:0 auto; background:#faf4e6; }

/* Hlavicka */
header.site-header {
	display:flex; justify-content:space-between; align-items:center;
	padding:20px 40px; border-bottom:1px solid #c9b896; background:#faf4e6;
	flex-wrap:wrap;
}
.site-logo { font-family:Georgia,serif; font-size:27px; font-weight:600; color:#4a3320; letter-spacing:.01em; text-decoration:none; }
.site-logo span { color:#a8442a; }

.header-right { display:flex; align-items:center; flex-wrap:wrap; }

.main-navigation ul { list-style:none; display:flex; }
.main-navigation li { position:relative; }
.main-navigation a {
	display:block; margin-left:26px; text-decoration:none; color:#7a5a3a; font-size:13px;
	font-weight:500; letter-spacing:.04em; text-transform:uppercase;
}
.main-navigation a:hover { color:#a8442a; }

/* Vyhledavani v hlavicce */
.header-search-form {
	margin-left:26px; display:flex; align-items:center; background:#f2e8d5;
	border:1px solid #c9b896; border-radius:20px; padding:2px 6px 2px 14px; width:170px;
}
.header-search-form input[type="search"] {
	border:none; background:transparent; font-size:12px; color:#4a3320; width:100%;
	font-family:-apple-system,Arial,sans-serif; outline:none;
}
.header-search-form input[type="search"]::placeholder { color:#8a7550; }
.header-search-form button {
	border:none; background:transparent; color:#8a7550; font-size:13px; padding:6px 8px; cursor:pointer;
}

/* Hlavicka s fotkou (custom header) */
.hero-photo { position:relative; height:300px; overflow:hidden; background:#333; }
.hero-photo img { width:100%; height:100%; object-fit:cover; display:block; }
.hero-subtitle {
	position:absolute; bottom:0; left:0; right:0; min-height:44px;
	background:#6b5a3e; display:flex; align-items:center; padding:10px 40px;
}
.hero-subtitle span { color:#f2e8d5; font-size:13px; letter-spacing:.08em; text-transform:uppercase; }

/* Obsah - dvousloupcove rozlozeni */
.content-area { padding:36px 40px; }
.content-area:after { content:""; display:table; clear:both; }
.main-column { float:left; width:66%; box-sizing:border-box; padding-right:36px; }
.sidebar-column { float:left; width:34%; box-sizing:border-box; }

@media (max-width: 900px) {
	.main-column, .sidebar-column { float:none; width:100%; padding-right:0; }
}

/* Prispevky */
.entry-date { display:flex; align-items:center; gap:10px; margin-bottom:10px; }
.entry-date-chip {
	display:inline-block; background:#eee0c4; color:#7a5a3a; font-size:12px; font-weight:600;
	letter-spacing:.02em; padding:6px 13px; border-radius:12px;
}
.entry-author { font-size:13px; color:#8a7550; }
.entry-title { font-family:Georgia,serif; font-size:25px; font-weight:600; color:#4a3320; margin-bottom:14px; line-height:1.3; }
.entry-title a { text-decoration:none; }
.entry-content, .entry-summary { font-size:16px; color:#5a4a34; line-height:1.8; font-family:Georgia,serif; }
.entry-content p, .entry-summary p { margin-bottom:1.2em; }
.read-more-wrap { text-align:right; margin-top:12px; }
.read-more-link {
	display:inline-block; background:#a8442a; color:#faf4e6; font-size:12px; font-weight:600;
	font-family:-apple-system,Arial,sans-serif; text-decoration:none; padding:8px 18px;
	border-radius:20px;
}
.read-more-link:hover { background:#8a3620; }

.post-thumb-grid { margin-bottom:16px; }
.post-thumb-grid:after { content:""; display:table; clear:both; }
.post-thumb-grid a { float:left; width:23.5%; margin-right:2%; height:110px; border-radius:6px; overflow:hidden; }
.post-thumb-grid a:last-child { margin-right:0; }
.post-thumb-grid img { width:100%; height:100%; object-fit:cover; }

article { margin-bottom:28px; padding-bottom:28px; border-bottom:1px solid #c9b896; }
article:last-child { border-bottom:none; }

/* Postranni panel */
.sidebar-search {
	background:#f2e8d5; border:1px solid #c9b896; border-radius:8px; padding:4px 6px 4px 14px;
	margin-bottom:24px; display:flex; align-items:center;
}
.sidebar-search input[type="search"] {
	border:none; background:transparent; font-size:13px; color:#4a3320; flex:1;
	font-family:-apple-system,Arial,sans-serif; outline:none;
}
.sidebar-search input[type="search"]::placeholder { color:#8a7550; }
.sidebar-search button { border:none; background:transparent; color:#8a7550; font-size:14px; padding:8px; cursor:pointer; }

.widget { margin-bottom:26px; font-family:-apple-system,Arial,sans-serif; }
.widget-title {
	font-size:13px; font-weight:700; color:#4a3320; text-transform:uppercase;
	letter-spacing:.05em; margin-bottom:12px; padding-bottom:8px; border-bottom:2px solid #a8442a;
}
.widget ul { list-style:none; }
.widget li {
	display:flex; align-items:flex-start;
	font-size:15px; color:#6b5a42; padding:9px 0; border-bottom:1px solid #eee0c4;
}
.widget li:last-child { border-bottom:none; }
.widget .post-date {
	order:0; flex-shrink:0; margin-top:1px; margin-right:14px;
	display:inline-block; width:64px; text-align:center; box-sizing:border-box;
	background:#eee0c4; color:#7a5a3a; font-size:10px; font-weight:600;
	padding:3px 4px; border-radius:10px; letter-spacing:.02em; white-space:nowrap;
}
.widget li a { order:1; }
.widget a { text-decoration:none; }
.widget a:hover { color:#a8442a; }

/* Pocitadlo navstev - graficky box celkem/tyden/dnes/online */
.sk-stats-box {
	background:#fffdf8; border:1px solid #c9b896; border-radius:8px; overflow:hidden;
	font-family:-apple-system,Arial,sans-serif; width:150px;
}
.sk-stats-title {
	background:#4a3320; color:#f2e8d5; font-size:11px; font-weight:700; text-transform:uppercase;
	letter-spacing:.05em; text-align:center; padding:7px 0;
}
.sk-stats-table { width:100%; border-collapse:collapse; }
.sk-stats-table td {
	font-size:12px; color:#5a4a34; padding:6px 10px; border-bottom:1px solid #eee0c4;
}
.sk-stats-table tr:last-child td { border-bottom:none; }
.sk-stats-table td:last-child { text-align:right; font-weight:700; color:#4a3320; }
.sk-stats-online-row td { color:#3a7d3a; }
.sk-stats-online-row td:last-child { color:#3a7d3a; }
.sk-stats-dot {
	display:inline-block; width:7px; height:7px; border-radius:50%; background:#4caf50; margin-right:4px;
}

/* Paticka */
footer.site-footer { background:#4a3320; color:#c9b896; text-align:center; padding:20px; font-size:12px; }
footer.site-footer a { color:#e0c896; }

/* Komentare */
.comments-area { margin-top:10px; }
.comment-list { margin-bottom:10px; }
.comment-list, .comment-list ul.children { list-style:none; }
.comment-list ul.children { margin-left:36px; margin-top:16px; }
.comment-list > li { margin-bottom:20px; }
.comment-body {
	background:#f7f0dd; border:1px solid #e2d4b4; border-radius:10px; padding:18px 20px;
}
.comment-author { display:flex; align-items:center; margin-bottom:8px; }
.comment-author .avatar { border-radius:50%; margin-right:12px; }
.comment-author .fn { font-style:normal; font-weight:700; color:#4a3320; font-size:14px; }
.comment-metadata { font-size:11px; color:#a8935e; margin-bottom:10px; }
.comment-metadata a { color:inherit; text-decoration:none; }
.comment-content p { font-size:15px; color:#5a4a34; line-height:1.7; margin-bottom:0.8em; }
.comment-content p:last-child { margin-bottom:0; }
.reply { margin-top:8px; }
.comment-reply-link {
	font-size:12px; color:#a8442a; font-weight:600; text-decoration:none;
	border:1px solid #d9c39a; border-radius:14px; padding:4px 12px;
}

.comment-respond {
	background:#f7f0dd; border:1px solid #e2d4b4; border-radius:10px; padding:24px 26px; margin-top:24px;
}
.comment-reply-title { font-family:Georgia,serif; font-size:19px; font-weight:600; color:#4a3320; margin-bottom:6px; }
.comment-notes { font-size:12px; color:#8a7550; margin-bottom:18px; }
.comment-form p { margin-bottom:16px; }
.comment-form label { display:block; font-size:12px; font-weight:600; color:#4a3320; margin-bottom:6px; text-transform:uppercase; letter-spacing:.03em; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width:100%; padding:10px 14px; border:1px solid #d9c39a; border-radius:6px;
	font-family:-apple-system,Arial,sans-serif; font-size:14px; color:#4a3320; background:#fffdf8;
	outline:none;
}
.comment-form input:focus, .comment-form textarea:focus { border-color:#a8442a; }
.comment-form-author, .comment-form-email, .comment-form-url { display:inline-block; width:31%; margin-right:2%; vertical-align:top; }
.comment-form-url { margin-right:0; }
.comment-form-cookies-consent { font-size:12px; color:#6b5a42; }
.comment-form-cookies-consent label { display:inline; text-transform:none; font-weight:400; }
.form-submit { margin-bottom:0; }
.form-submit input[type="submit"] {
	background:#a8442a; color:#faf4e6; border:none; border-radius:20px; padding:11px 26px;
	font-size:13px; font-weight:600; cursor:pointer; font-family:-apple-system,Arial,sans-serif;
}
.form-submit input[type="submit"]:hover { background:#8a3620; }

@media (max-width: 640px) {
	.comment-form-author, .comment-form-email, .comment-form-url { width:100%; margin-right:0; }
}

/* Strankovani */
.pagination-nav { text-align:center; padding:20px 0; font-family:-apple-system,Arial,sans-serif; }
.pagination-nav a, .pagination-nav span {
	display:inline-block; padding:8px 14px; margin:0 3px; border:1px solid #c9b896; border-radius:6px;
	text-decoration:none; font-size:13px; color:#6b5a42;
}
.pagination-nav .current { background:#a8442a; color:#faf4e6; border-color:#a8442a; }
