/*  Fonts
-----
font-family: 'Lora', serif;
font-family: 'Ubuntu', sans-serif;
*/

body {
  margin: 0;
  font-family: "Ubuntu", sans-serif;
}

/* =================
Typography
================= */

h1 {
  margin: 0;
}

img {
  width: 100%;
}

a {
  color: #1792d2;
}

h1,
h2,
h3 {
  color: #143774;
  font-family: "Lora", serif;
  font-weight: 400;
}

p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #707070;
}

.subtitle {
  font-weight: 700;
  color: #1792d2;
  font-size: 0.925rem;
  letter-spacing: 0.1em;
  margin: 0;
}

/* =================
Layout
================= */

.container {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
}

/* Navigation */

.container-nav {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  text-align: center;
}

header {
  background: #f8f8f8;
  padding: 2em 0;
}

/* navigation */

nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

nav li {
  margin: 0.5em 0;
}

nav a {
  text-decoration: none;
  color: #707070;
  font-weight: 700;
  padding: 0.25em 0;
}

nav a:hover,
nav a:focus {
  color: #1792d2;
}

.current-page {
  border-bottom: 2px solid #707070;
}

.current-page:hover {
  color: #707070;
}

/* Main */

.container-flex {
  display: flex;
  flex-direction: column;
}
/* ************** Main Content **************  */
main {
  margin-top: 3em;
}

.article-featured {
  margin-bottom: 2em;
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid black;
}

.article-image {
  order: 1;
  margin-bottom: 1em;
}

main .article-info-1 {
  order: 2;
  margin: 0 0 1em 0;
}

.article-read-more {
  font-size: 0.875rem;
}

.article-info {
  letter-spacing: 0.12em;
  color: #707070;
  margin: 2em 0;
}

.article-title {
  order: 3;
  margin: 0;
}

.article-body {
  order: 4;
}

.article-read-more {
  order: 5;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: bolder;
  letter-spacing: 0.14em;
  margin: 1em 0 2em 0;
}

.article-recent .article-hidden,
.title-hidden {
  display: none;
}

/* ******************************************* */

/* ************** Recent Content **************  */
.article-recent {
  display: flex;
  flex-direction: column;
}

.article-recent-main {
  order: 2;
}

.article-read-more {
  display: block;
  margin-bottom: 4em;
}

.article-read-more-1 {
  margin: 0.5em 0 3em 0;
}

.article-recent-secondary {
  order: 1;
}

.article-info {
  font-size: 0.775rem;
  float: right;
  margin: 0;
}

.article-recent .article-image {
  margin-bottom: 0.2em;
}

.article-recent-secondary-space {
  margin-top: 4em;
}

/* ******************************************* */

/* ************** SIDE BAR **************  */

.sidebar-bg-gray {
  background-color: #ebebeb;
  padding: 1.5em;
  margin: 3em 0 5em 0;
}

.sidebar-widget {
  background-color: white;
}

.sidebar-widget-one {
  padding: 4em 1.5em 1em 1.5em;
}

.sidebar-widget-two {
  padding: 1em 1.5em;
}

.widget-info {
  font-size: 0.9rem;
  color: #143774;
}

.sidebar-widget-info {
  margin: 0.5em 0 1.5em 0;
}

.sidebar-widget-posts {
  border-bottom: 1px solid black;
  margin-bottom: 2em;
}

.sidebar-widget-posts:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
}
/* ******************************************* */

/* ************** Footer **************  */
footer {
  background-color: #143774;
  text-align: center;
  padding: 5em;
}

footer p {
  margin: 0 auto;
  color: #ffffff8c;
}

footer p:nth-of-type(1) {
  font-weight: bold;
}
/* ******************************************* */

@media (min-width: 769px) {
  header {
    padding: 4em 0;
  }

  .container-nav {
    flex-direction: row;
    text-align: center;
  }

  nav ul {
    flex-direction: row;
  }

  nav li {
    margin: 0.5em 1em;
  }

  .container-flex {
    flex-direction: row;
    justify-content: space-between;
  }

  main {
    margin-top: 3em;
    width: 70%;
  }

  aside {
    width: 25%;
  }

  .article-image {
    width: 100%;
    min-height: 250px;
    object-fit: cover;
  }

  main .article-image-1 {
    object-fit: cover;
    object-position: 50% 100%;
    height: 250px;
  }

  .article-recent-secondary-space .article-image {
    object-position: 10%;
  }

  .article-info {
    float: none;
  }

  .article-recent {
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 5em;
  }

  .article-recent-main {
    width: 70%;
  }
  .article-recent-secondary {
    width: 30%;
    margin-right: 1em;
  }

  .article-recent-secondary-space {
    margin-top: 0;
  }

  .sidebar-bg-gray {
    background-color: #ebebeb;
    padding: 1em;
    margin: 3em 0 3em 0;
  }

  .sidebar-widget-one {
    padding: 1em;
  }

  .sidebar-widget-two {
    padding: 1em;
  }

  .article-recent .article-hidden,
  .title-hidden {
    display: block;
  }

  .widget-title {
    font-family: "Ubuntu", sans-serif;
    font-size: 1.4rem;
    font-weight: bolder;
    margin: 0 0 0.5em 0;
  }

  .sidebar-widget-info {
    font-size: 1rem;
  }
}

/* About Page */
.about {
  margin: 3em 0 0em 0;
}

.about-feature .about-image {
  width: 100%;
  margin-bottom: 2em;
}

.about-title {
  color: #1792d2;
  font-size: 1.5rem;
}

@media (min-width: 769px) {
  .about {
    margin: 3em 0 5em 0;
  }

  .about-feature .about-image {
    object-position: 0% 25%;
    height: 300px;
    margin-bottom: 2em;
  }
}
