body {
    background-color: #f7f7f7;
    color: #111;
    font-family: 'Roboto', sans-serif;
}

/* Import fontu Roboto z Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

/*
Theme Name: Mrkni Theme
Author: ChatGPT
Description: Vlastní moderní WordPress šablona pro mrkni.tv – bílo-šedo-černo-oranžový design, 2 sloupce, responzivní, optimalizovaný layout.
Version: 1.0
*/

body {
  background-color: #fff;
  color: #111;
  font-family: "Roboto", sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

a {
  color: #f85a00;
  text-decoration: none;
}
.comment list li .avatar {
	float:right;
	height:16px;
	width:16px;
	padding:2px;
}
a:hover {
  text-decoration: underline;
}

header {
  background: #111;
  color: #fff;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
}

header img {
  height: 50px;
  margin-right: 1rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  flex-wrap: wrap;
}

main {
  flex: 3;
  padding-right: 2rem;
}

aside {
  flex: 1;
}

article img {
  float: left;
  margin: 0 20px 20px 0;
  width: 200px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

footer {
  background: #000000;
  text-align: center;
  padding: 2rem;
  margin-top: 2rem;
  color: #000000;
}

@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  main {
    padding-right: 0;
  }

  article img {
    float: none;
    width: 100%;
    margin: 0 0 15px 0;
  }
}


.footer-widgets {
    background: #f5f5f5;
    color: #f5f5f5;
    padding: 20px 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.footer-widget {
    flex: 1;
    min-width: 00px;
}
.footer-widget-title {
    color: #000000;
    font-size: 12px;
    margin-bottom: 30px;
}



.site-footer {
  background: #2f4f4f;
  color: #000000;
  padding: 1px;
  text-align: center;
  margin-top: 1px;
}
.footer-widgets {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
}
.footer-widgets .widget {
  flex: 1 1 200px;
  text-align: left;
}
.footer-widgets h3 {
  color: #000000;
  margin-bottom: 30px;
}



.main-wrapper .row {
  display: flex;
  flex-wrap: wrap;
}

.content-area {
  flex: 0 0 66.666%;
  max-width: 66.666%;
  padding-right: 20px;
}

.sidebar-area {
  flex: 0 0 33.333%;
  max-width: 33.333%;
}


/* Layout pro články s gridem */
.content-sidebar-grid {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 2rem;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.site-main {
  background: #fff;
}

.sidebar {
  background: #f9f9f9;
}


/* --- Post Thumbnail Float Fix --- */
.post-thumbnail-wrap {
    float: left;
    margin: 0 20px 20px 0;
    max-width: 300px;
}

.post-content::after {
    content: "";
    display: table;
    clear: both;
}

.menu-item a {
    position: relative;
    display: inline-block;
}

.menu-item a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #2f4f4f;
    transition: width 0.5s ease-in-out;
}

.menu-item a:hover::after {
    width: 100%;
}

/* Styl pro hodnocení */
.mrkni-hodnoceni {
  margin: 6px 0 10px;
  font-size: 18px;
  color: #ff9900;
}
.mrkni-hodnoceni span {
  font-size: 16px;
  color: #333;
  margin-left: 6px;
}

.site-header {
  background: #f9f9f9;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-inner {
  display: flex;
  align-items: center;
  width: 100%;
}
.site-logo {
  height: 60px;
  margin-right: 70px;
}
.main-nav {
  flex-grow: 1;
}
.header-search .search-icon {
  font-size: 22px;
  margin-left: auto;
  text-decoration: none;
}
.screen-reader-text {
  position: absolute;
  left: -9999px;
}

/* Unified layout for all pages, posts, and archives */
.container.site-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
}

.container.site-content .content-area {
  flex: 1 1 70%;
  max-width: 70%;
  padding-right: 40px;
}

.container.site-content .sidebar {
  flex: 1 1 30%;
  max-width: 30%;
  background: #f4f4f4;
  padding: 15px;
}

/* === OPRAVA SIDEBARU NA STRÁNKÁCH === */
.container.site-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
}

.container.site-content > .content-area {
  flex: 0 0 70%;
  max-width: 70%;
  padding-right: 20px;
}

.container.site-content > .sidebar {
  flex: 0 0 30%;
  max-width: 30%;
  background: #f4f4f4;
  padding: 15px;
}
/* Oprava: rozšíření stránky /kontakt */
.page-kontakt .container.site-content > .content-area {
  max-width: 100% !important;
  flex: 0 0 100% !important;
  padding-right: 0;
}
/* === Barva všech odkazů na tmavě šedou === */
a,
a:visited {
  color: #2f4f4f !important;
  text-decoration: none;
}

a:hover,
a:focus {
  color: #000000 !important;
  text-decoration: underline;
}

.comments-area {
  margin-top: 50px;
  padding: 20px;
  background: #fafafa;
  border-radius: 10px;
  border: 1px solid #ddd;
}

.comment-list {
  list-style: none;
  padding-left: 0;
}

.comment-list li {
  margin-bottom: 30px;
  padding: 15px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #eee;
}

.comment-author {
  font-weight: bold;
  margin-bottom: 5px;
  display: block;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  margin-bottom: 15px;
  font-size: 16px;
  font-family: inherit;
}

.comment-form textarea {
  min-height: 120px;
}

.comment-form button.submit {
  background-color: #2f4f4f;
  color: #fff;
  border: none;
  padding: 10px 25px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s ease;
}

.comment-form button.submit:hover {
  background-color: #1f3f3f;
}