@charset "utf-8";

/* =====================
   BASE
===================== */

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #f5f5f5;
  color: #222;
}

/* =====================
   HEADER
===================== */

header {
  background: #111;
  color: #fff;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header h1 {
  margin: 0;
  font-size: 24px;
}

.subtitle {
  font-size: 13px;
  letter-spacing: 2px;
  color: #aaa;
}

/* =====================
   LANGUAGE SWITCH
===================== */

.lang a {
  color: #fff;
  margin-left: 12px;
  text-decoration: none;
  font-size: 14px;
}

.lang a:hover {
  text-decoration: underline;
}

/* =====================
   LAYOUT
===================== */

.layout {
  display: flex;
  min-height: calc(100vh - 110px);
}

/* =====================
   SIDEBAR
===================== */

.sidebar {
  width: 80px;
  background: #1c1c1c;
  padding: 20px;
}

.sidebar a {
  display: block;
  color: #ccc;
  margin-bottom: 15px;
  text-decoration: none;
  font-size: 15px;
}

.sidebar a:hover {
  color: #fff;
}

/* =====================
   CONTENT
===================== */

.content {
  flex: 1;
  padding: 30px;
  background: #fff;
}

.content p {
  line-height: 1.7;
  max-width: 820px;
  margin: 0 0 14px 0;
}

/* =====================
   ARTICLE TABLE
===================== */

.article {
  width: 100%;
  border-collapse: collapse;
}

.article td {
  padding: 0;
  vertical-align: top;
}

/* =====================
   ARTICLE HEADINGS
===================== */

.title-main {
  font-size: 34px;
  font-weight: bold;
  margin: 0 0 4px 0;
}

.title-main .red {
  color: #c00000;
}

.article-subtitle {
  font-size: 28px;
  font-weight: normal;
  color: #c00000;
  margin: 0 0 18px 0;
}

/* =====================
   META INFO
===================== */

.subtitle-red {
  color: #c00000;
  font-weight: bold;
  letter-spacing: 1px;
  margin: 6px 0 8px;
}

.date-red {
  color: #c00000;
  font-size: 26px;
  font-weight: bold;
  margin: 14px 0 4px;
}

.location-red {
  color: #c00000;
  margin-bottom: 18px;
}

/* =====================
   ARTICLE TEXT
===================== */

.article-text {
  font-size: 16px;
  line-height: 1.75;
  padding-bottom: 18px;
  max-width: 820px;
}

.article-text h2 {
  font-size: 22px;
  margin: 22px 0 10px;
}

/* =====================
   ARTICLE IMAGES
===================== */

.article-image img {
  width: 100%;
  max-width: 820px;
  height: auto;
  display: block;
  margin: 12px 0 20px;
}

/* =====================
   FOOTER
===================== */

footer {
  text-align: center;
  background: #111;
  color: #aaa;
  padding: 15px;
  font-size: 13px;
}

footer a {
  color: #aaa;
  text-decoration: none;
}

footer a:hover {
  color: #fff;
}

/* =====================
   MOBILE (PORTRAIT)
===================== */

@media (max-width: 600px) and (orientation: portrait) {

  .layout {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    display: flex;
    justify-content: space-around;
  }

  .sidebar a {
    margin-bottom: 10px;
    font-size: 14px;
  }

  .title-main {
    font-size: 28px;
  }

  .article-subtitle {
    font-size: 22px;
    margin-bottom: 14px;
  }

  .article-text {
    padding-bottom: 14px;
  }

  .article-image img {
    margin: 10px 0 16px;
  }
}
