@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&display=swap');

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.25em; /* 1.5em */
  line-height: 1.6;
  /* color: #333;*/
  background-color: #303030;
  color: white;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  /*color: #222;*/
  color: white;
  margin-bottom: 0.5em;
  margin-top: 0;
}

h1 {
  font-size: 3.0rem;
}

@media (max-width: 1200px) {
  h1 {
    font-size: 2.5rem;
  }
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

/* Unordered Lists */
ul {
  /* list-style: square; */
  list-style: none;
  padding-left: 0.5em; /*1.5em;*/
}

ul.newsItems {
  /* list-style: square; */
  list-style: none;
}

ul.newsItems li {
  margin-bottom: 0.5em;
}

/* Links */
a {
  text-decoration: none;
  /*color: #0c0cb4;*/
  color: white;
}

a.articleTitle {
  font-weight: bold;
}

a:hover {
  text-decoration: underline;
}

a.sourceLink {
  font-size: 0.75em;
}

@media (max-width: 800px) {
  p.sourceLinkWithHref {
    display: none;
  }

  p.sourceLinkWithoutHref {
    display: block;
  }
}

@media (min-width: 800px) {
  p.sourceLinkWithHref {
    display: block;
  }

  p.sourceLinkWithoutHref {
    display: none;
  }
}

a[href^="http://"], a[href^="https://"] {
  position: relative;
}

/*
// External link icon
a[href^="http://"]:not([href*="{{ location.hostname }}"]), 
a[href^="https://"]:not([href*="{{ location.hostname }}"]) {
  &::after {
    font-family: 'Font Awesome 5 Free';
    font-weight: 800;
    content: '\f35d';
    margin-left: 0.2em;
    font-size: 0.75em;
    vertical-align: top;
  }
}
*/

/* Images */
img {
  max-width: 100%;
  height: auto;
  margin: 1em 0;
}

/* Forms */
input[type=checkbox] {
  transform: scale(1.5);
  margin-right: 1rem;
}

/* Container */
.container {
  max-width: 80rem;
  margin: 1em auto;
  margin-top: 0;
  padding: 1em;
}

/* Menu */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo {
  font-size: 1.5rem;
}

.logo img {
  margin: 0;
  width: 32px;
  height: 32px;
}

.menu-icon {
  cursor: pointer;
  display: block;
  position: relative;
}

.menu-icon span {
  display: block;
  width: 30px;
  height: 4px;
  background-color: black;
  margin-bottom: 5px;
}

.menu-container {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background-color: #333;
  color: white;
  margin: 0;
  z-index: 1000;
  padding: 1rem;
  border-radius: 0.5rem;
}

.menu-container.active {
  display: block;
}

.menu {
  padding: 1rem;
}

.menu li {
  list-style: none;
  margin-bottom: 10px;
}

/* Articles */
.articleContainer {
  display: flex;
  flex-direction: column;
}

.articleHeader {
  display: flex;
  align-items: center;
  gap: 16px;
}

.articleIcon {
  vertical-align: middle;
  margin-right: 8px;
}

.logo {
  width: 32; /* Adjust based on your logo size */
  height: 32;
  flex-shrink: 0;
}

p.summary {
  margin: 0;
  font-size: 0.75em;
}

/* Other */
.hide {
  display: none;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* p.summary {
   font-size: 0.75em;
 }
   */

time.lastUpdated {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  font-size: 0.75em;
  font-style: italic;
}