/* Theme: WebPrague - A Premium WordPress Theme */
/* Author: WebPrague Creative */
/* Version: 2.4.1 */

/* Reset */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1.6;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #333;
  background: #f9f9f9;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 0.5em;
}

h1 { font-size: 2.2em; }
h2 { font-size: 1.8em; }
h3 { font-size: 1.5em; }
h4 { font-size: 1.2em; }
h5 { font-size: 1.0em; }
h6 { font-size: 0.9em; }

p {
  margin-bottom: 1.2em;
}

a {
  color: #2980b9;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #1abc9c;
}

/* Layout */
.container {
  width: 1170px;
  max-width: 94%;
  margin: 0 auto;
  padding: 0 15px;
}

/* Header */
#wp-header {
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  padding: 1em 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.site-title {
  font-size: 1.8em;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: #2c3e50;
}

.site-description {
  font-size: 0.9em;
  color: #7f8c8d;
  margin-top: -0.3em;
}

/* Navigation */
#primary-nav {
  background: #34495e;
  color: #ecf0f1;
}

#primary-nav ul {
  list-style: none;
  display: flex;
}

#primary-nav li {
  position: relative;
}

#primary-nav a {
  display: block;
  padding: 0.8em 1.2em;
  color: #ecf0f1;
  font-size: 0.9em;
  transition: background 0.2s;
}

#primary-nav a:hover,
#primary-nav .current-menu-item a {
  background: #2c3e50;
  color: #fff;
}

/* Submenu */
#primary-nav ul ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #2c3e50;
  min-width: 180px;
  box-shadow: 0 3px 5px rgba(0,0,0,0.2);
}

#primary-nav ul li:hover > ul {
  display: block;
}

#primary-nav ul ul a {
  padding: 0.6em 1em;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

#primary-nav ul ul li:last-child a {
  border-bottom: none;
}

/* Posts */
article.post {
  background: #fff;
  padding: 2em;
  margin-bottom: 1.5em;
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.post-title {
  margin-bottom: 0.3em;
}

.post-meta {
  font-size: 0.8em;
  color: #95a5a6;
  margin-bottom: 1em;
}

.post-content {
  line-height: 1.7;
}

/* Sidebar */
#sidebar {
  width: 300px;
  float: right;
  padding-left: 30px;
}

.widget {
  background: #fff;
  padding: 1.5em;
  margin-bottom: 1.5em;
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.widget-title {
  font-size: 1.1em;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  color: #2c3e50;
  border-bottom: 2px solid #2980b9;
  padding-bottom: 0.5em;
  margin-bottom: 1em;
}

/* Footer */
#wp-footer {
  background: #2c3e50;
  color: #bdc3c7;
  padding: 2em 0;
  margin-top: 3em;
}

#wp-footer a {
  color: #ecf0f1;
}

#wp-footer a:hover {
  color: #1abc9c;
}

.footer-widget-area {
  display: flex;
  justify-content: space-between;
}

.footer-column {
  flex: 1;
  padding: 0 15px;
}

.copyright {
  text-align: center;
  padding-top: 1.5em;
  font-size: 0.85em;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* Buttons */
.btn, button, input[type="submit"] {
  display: inline-block;
  padding: 0.6em 1.4em;
  font-size: 0.9em;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  color: #fff;
  background: #2980b9;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.3s;
}

.btn:hover, button:hover, input[type="submit"]:hover {
  background: #1abc9c;
}

/* WordPress specific */
.wp-caption {
  max-width: 100%;
  margin-bottom: 1em;
}

.wp-caption-text {
  font-size: 0.8em;
  color: #7f8c8d;
}

.gallery-caption {
  font-size: 0.85em;
}

.aligncenter {
  display: block;
  margin: 0 auto;
}

.alignleft {
  float: left;
  margin-right: 1em;
}

.alignright {
  float: right;
  margin-left: 1em;
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    max-width: 100%;
    padding: 0 10px;
  }

  #primary-nav ul {
    flex-direction: column;
  }

  #sidebar {
    width: 100%;
    float: none;
    padding-left: 0;
  }

  .footer-widget-area {
    flex-direction: column;
  }
}