/*
Theme Name: The Kozak
Author: Bohdan
Version: 1.0
*/

/* Base */
* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.6;
  background: #f6f6f6;
  color: #111;
}

a { color: #0f52ba; text-decoration: none; }
a:hover { text-decoration: underline; }

/* Layout */
.container {
  max-width: 900px;
  margin: 32px auto;
  padding: 0 16px;
}

.site-main .container {
  padding: 40px 16px;
}

/* Typography */
h1, h2, h3 { line-height: 1.2; margin: 0 0 12px; }
p { margin: 0 0 14px; }
hr { border: 0; border-top: 1px solid #eee; margin: 24px 0; }

/* Top meta bar (date left, weather right) */
.top-meta {
  background: #ffffff;
  border-bottom: 1px solid #e6e6e6;
}

.top-meta__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: #333;
}

.top-meta__left,
.top-meta__right {
  white-space: nowrap;
}

/* Header */
.site-header {
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid #e6e6e6;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 16px;
  text-align: center;
}

.site-title {
  margin: 0;
  font-size: 2.4rem;
  font-weight: 700;
  font-family: 'Audiowide', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;

}


.site-title a {
  color: #1a1a1a;
  text-decoration: none;
}

.site-title a:hover {
  text-decoration: underline;
}

/* Nav strip under title/tagline */
.nav-strip {
  border-top: 1px solid #efefef;
  background: #ffffff;
}

.nav-strip__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 16px;
  text-align: center;
}

/*
  Menu styles (works for wp_nav_menu and wp_page_menu)
  Clean separators using border, NOT a "|" character.
*/
.nav-strip ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-strip ul li {
  display: inline-block;
  margin: 0;
  padding: 0 14px;
  line-height: 1;
  border-right: 1px solid rgba(0,0,0,0.18);
}

.nav-strip ul li:last-child {
  border-right: none;
}

.nav-strip ul a {
  color: #111;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  padding: 2px 0;
}

.nav-strip ul a:hover {
  text-decoration: underline;
}

/* Standard card (non-featured) */
.card { background:#fff; border:1px solid #ddd; border-radius:12px; overflow:hidden; margin:16px 0; }
.card__link { display:block; color:inherit; text-decoration:none; }
.card__thumb { width:100%; height:auto; display:block; }
.card__body { padding:12px 14px; }
.card__title { margin:0 0 6px 0; font-size:1.2rem; }
.card__meta { margin:0 0 10px 0; font-size:.85rem; opacity:.75; }
.card__excerpt { margin:0; line-height:1.4; opacity:.9; }

/* Sticky footer layout */
html, body { height: 100%; }

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main { flex: 1; }

/* Mobile polish */
@media (max-width: 520px) {
  .top-meta__inner { font-size: 0.85rem; }
  .nav-strip ul li { padding: 0 10px; }
}
