/* ============================================ */
/* CITĀDA PASAULE — STABILS CSS                 */
/* Fons + krāsas + droša galvenes centrēšana    */
/* ============================================ */


/* ============================================ */
/* 1. ĀRĒJAIS FONS                              */
/* ============================================ */

body {
  background-color: #111111 !important;
  background-repeat: repeat !important;
  background-position: center top !important;
  background-attachment: fixed !important;
}


/* ============================================ */
/* 2. LAPAS FONS                                */
/* ============================================ */

.site,
#page,
.site-inner,
.site-content,
.content-area,
.site-main {
  background-color: #d8d8bf !important;
}


/* ============================================ */
/* 3. DROŠS DESKTOP PLATUMS                     */
/* ============================================ */

@media screen and (min-width: 769px) {
  .site,
  #page {
    max-width: 1580px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}


/* ============================================ */
/* 4. GALVENES CENTRĒŠANA                       */
/* ============================================ */

.site-header,
#masthead {
  text-align: center !important;
  padding-top: 10px !important;
  padding-bottom: 4px !important;
}

/* Logo / header attēla ārējais bloks */
.header-image,
.custom-header,
.wp-custom-header,
.site-header .header-image,
.site-header .custom-header,
.site-header .wp-custom-header {
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

/* Ja header attēls ir saitē */
.header-image a,
.custom-header a,
.wp-custom-header a {
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

/* Centrē tikai galvenes attēlu, nevis rakstu attēlus */
.header-image img,
.custom-header img,
.wp-custom-header img,
.site-header .header-image img,
.site-header .custom-header img,
.site-header .wp-custom-header img {
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
}


/* ============================================ */
/* 5. VIETNES NOSAUKUMS UN APRAKSTS             */
/* ============================================ */

.site-branding {
  text-align: center !important;
  margin: 6px auto 12px !important;
}

/* Vizuāli nolaiž vietnes virsrakstu zemāk */
.site-header .site-title,
.site-header .site-description {
  text-align: center !important;
  position: relative !important;
  top: 24px !important;
}

.site-header .site-title,
.site-header .site-title a {
  color: #5a1f1f !important;
  font-weight: 700 !important;
}

.site-header .site-title {
  margin-top: 0 !important;
  margin-bottom: 2px !important;
  line-height: 1.12 !important;
}

.site-header .site-description {
  color: #6a3434 !important;
  font-weight: 600 !important;
  margin-top: 0 !important;
  margin-bottom: 6px !important;
  line-height: 1.25 !important;
}

/* ============================================ */
/* 6. NAVIGĀCIJA                                */
/* ============================================ */

.main-navigation,
.primary-navigation {
  text-align: center !important;
  margin-top: 6px !important;
  margin-bottom: 12px !important;
}

.main-navigation ul,
.primary-menu {
  text-align: center !important;
}

.main-navigation li,
.primary-menu li {
  float: none !important;
  display: inline-block !important;
}

.main-navigation a,
.primary-menu a {
  color: #5a3530 !important;
  font-weight: 600 !important;
}

.main-navigation .current-menu-item > a,
.main-navigation .current-menu-ancestor > a,
.primary-menu .current-menu-item > a,
.primary-menu .current-menu-ancestor > a {
  color: #800000 !important;
  font-weight: 700 !important;
}

.main-navigation a:hover,
.primary-menu a:hover {
  color: #9b1c1c !important;
}
/* ============================================ */
/* 7. SATURA APGABALS                           */
/* ============================================ */

.site-content {
  padding-top: 0 !important;
}

.content-area,
.site-main {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.entry-header {
  margin-top: 0 !important;
  padding-top: 0 !important;
  margin-bottom: 10px !important;
}

.entry-title,
.entry-title a,
.page-title {
  color: #6b2525 !important;
  font-weight: 700 !important;
}

.entry-title,
.page-title {
  margin-top: 0 !important;
  margin-bottom: 10px !important;
  line-height: 1.18 !important;
}


/* ============================================ */
/* 8. SATURA TEKSTS UN VIRSRaksti               */
/* ============================================ */

.entry-content,
.entry-summary,
.widget,
.widget-area {
  color: #4a3732 !important;
}

.entry-content h1,
.entry-content h2,
.entry-content h3 {
  margin-top: 20px !important;
  margin-bottom: 10px !important;
  line-height: 1.22 !important;
}

.entry-content p,
.entry-content figure {
  margin-bottom: 12px !important;
}


/* ============================================ */
/* 9. SĀNJOSLA                                  */
/* ============================================ */

.widget-title {
  color: #6b2525 !important;
  font-weight: 700 !important;
  border-color: #8a4a4a !important;
}

.widget a {
  color: #6a3434 !important;
  font-weight: 600 !important;
}

.widget a:hover {
  color: #9b1c1c !important;
}


/* ============================================ */
/* 10. MOBILAIS SKATS                           */
/* ============================================ */

@media screen and (max-width: 768px) {
  body,
  .site,
  #page,
  .site-inner,
  .site-content,
  .content-area,
  .site-main {
    background-color: #d8d8bf !important;
  }

  .site-header,
  #masthead {
    text-align: center !important;
    padding-top: 10px !important;
    padding-bottom: 8px !important;
  }

  .site-branding {
    text-align: center !important;
    margin-top: 6px !important;
    margin-bottom: 14px !important;
  }

  .main-navigation,
  .primary-navigation {
    text-align: center !important;
    margin-top: 8px !important;
    margin-bottom: 14px !important;
  }

  .main-navigation li,
  .primary-menu li {
    display: block !important;
  }

  .entry-header {
    margin-bottom: 12px !important;
  }
}