/*
Theme Name: IO theme
Theme URI: 
Author: Lucie Z.
Author URI: https://www.instagram.com/001.lucka.zemanova/
Description: Theme for IO Coffee
Version: 1.0
Text Domain: IO Coffee
*/

body {
  overflow-x: hidden;

  background-color: #000000;
  color: #000000;
  font-family: "Questrial", sans-serif !important;
  font-weight: 400;
  font-style: normal;
}

div.post-navigation div.nav-previous a,
div.post-navigation div.nav-next a {
  color: #808080 !important;
}

img {
  border-radius: 4px !important;
}

table td,
table th {
  padding: 3rem;
}


a {
  color: #fbc900;
}

a:hover {
  color: #fbc900; 
}

h1, .h1 {
color: #fbc900;
font-size: 2rem;
font-weight: bold;
text-transform: uppercase;
}

h2, .h2 {
color: #808080;
font-size: 1.35rem;   
font-weight: bold;
text-transform: uppercase;
}

.my-btn {
  background-color: #ffffff;
  color: #000000;
  border-radius: 14px;       
  font-size: 1.35rem;   
  font-weight: bold;
  white-space: nowrap;
  padding-left: 0;
  padding-right: 0;
}

.my-btn:hover {
  background-color: #fbc900 !important;
  border-color: #fbc900 !important;
}

.my-btn:active {
  background-color: #fbc900 !important;
  border-color: #fbc900 !important;
}

.my-btn:focus {
  background-color: #fbc900 !important;
  outline: none; 
}

.btn-group .btn:not(:first-child):not(:last-child) {
  border-radius: 0;
}
.btn-group .btn:first-child {
  border-top-left-radius: 14px;
  border-bottom-left-radius: 14px;
  padding-left: 0;
}
.btn-group .btn:last-child {
  border-top-right-radius: 14px;
  border-bottom-right-radius: 14px;
  padding-right: 0;
}


.custom-rounded {
  border-radius: 14px;
  background-color: #ffffff;
}


.form-control {
  border-color: #808080; 
}

.form-control:focus {
  border-color: #000000;
  box-shadow: 0 0 0 0.2rem rgba(251, 201, 0, 1);
}

.title-row {
  display: flex;
  justify-content: space-between; /* nadpis vlevo, datum vpravo */
  align-items: baseline;
}

.post-title {
  margin: 0;
}

.post-date {
  color: #808080;
}

.post-excerpt {
  margin-bottom: 0.7rem; /* vytvoří mezeru pod úryvkem */
}


@media (max-width: 540px) {
  .title-row {
    flex-direction: column;   /* nadpis nahoře, datum pod ním */
    align-items: flex-start;  /* zarovná doleva */
  }

  .post-date {
    margin-top: 5px;          /* malý odstup pod nadpisem */
  }
}






