/* header */
header.masthead {
  padding-top: 10.5rem;
  padding-bottom: 6rem;
  text-align: left;
  color: #fff;
  /*     background-image: url("../assets/img/header/servis_header.webp"); */
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: center center;
  background-size: cover;
}

header.masthead .masthead-subheading {
  font-size: 1.5rem;
  font-style: italic;
  line-height: 1.5rem;
  margin-bottom: 25px;
  font-family: "Droid Serif", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

header.masthead .masthead-heading {
  font-size: 3.25rem;
  font-weight: 700;
  line-height: 3.25rem;
  margin-bottom: 2rem;
  margin-top: 0;
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 2rem;
  line-height: 2rem;
}

@media (min-width: 768px) {
  header.masthead {
    padding-top: 17rem;
    padding-bottom: 12.5rem;
  }

  header.masthead .masthead-subheading {
    font-size: 2.25rem;
    font-style: italic;
    line-height: 2.25rem;
    margin-bottom: 2rem;
  }

  header.masthead .masthead-heading {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 4.5rem;
    margin-bottom: 4rem;
  }
}

.msp-header-logo-holder {
  position: absolute;
  top: 5%;
}

.msp-header-logo-holder img {
  width: 12%;
  float: left;
  margin-left: 3%;
  min-width: 150px;
}

/* summary */
#summary-section,
#employ-intro-section {
  margin-left: 30%;
  margin-right: 30%;
  margin-left: 10%;
  margin-right: 10%;
}
#summary-section .decorative-dash,
#employ-intro-section .decorative-dash,
#employ-contact-section .decorative-dash,
.adds-footer-col .decorative-dash {
  margin-left: auto;
  margin-right: auto;
  background-color: var(--primary);
}
.summary-title {
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 1rem;
}
.summary-text {
  font-size: 1rem;
  opacity: 0.7;
  text-align: justify;
}

.employ-intro-text {
  font-size: 1rem;
  opacity: 0.7;
  text-align: center;
}

/* msp */
.msp-img-container {
  min-width: 71%;
  margin-bottom: 1rem;
}
.msp-content-container {
  width: 50%;
  margin-bottom: auto;
}

.msp-content-text {
  font-size: 1rem;
}

/* challenges */
.challenges-text {
  font-size: 1rem;
}

.challenges-img-container {
  max-width: 30%;
  text-align: center;

  min-width: 65%;
  max-width: 100%;
}
.challenges-img-container img {
  width: 100%;
}

/* history */
.media-navigation-header {
  padding-bottom: 8.125rem;
}
.news-strip {
  font-size: 0;
}
.news-title {
  display: inline-block;
  min-height: 9rem;
}
.news-text::before {
  background: transparent;
}
.news-text {
  min-height: 14rem;
}
.news-article-author-date {
  font-family: proxima-nova, sans-serif;
  color: #c9d0d6;
  font-weight: 700;
  line-height: 1.2;
  height: 3rem;
  font-size: 1rem;
  margin-top: 0;

  margin-bottom: 0.5rem;
  /* Add any other styling properties you want */
}

@media (min-width: 940px) {
  .msp-img-container {
    min-width: 0;
    margin-bottom: 0;
  }

  .challenges-text {
    font-size: 1rem;
  }

  .challenges-img-container {
    max-width: 30%;
    min-width: 0;
    text-align: center;
  }

  .msp-content-text {
    font-size: 0.7vw;
  }
}

/** news archive grid **/
#news-archive-section {
  margin: 0 10%;
}

.news-archive-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  grid-gap: 1em;
  grid-auto-flow: dense;
}

.news-article {
  padding: 1em;
  background: var(--primary-light);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1), 0 20px 20px rgba(0, 0, 0, 0.05);
}

.news-article:after {
  color: #808;
  font-weight: bold;
  font-family: courier;
}

.news-article-img-holder {
  height: 17rem;
}

.news-article-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.news-article-title-holder {
  display: table-cell;
  vertical-align: middle;
  height: 8rem;
}

.news-article-text-holder {
  height: 21rem;
}

.news-article-text-paragraph:before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background: linear-gradient(transparent 3.5rem, var(--primary-light));
}

.news-article-text-paragraph {
  overflow: hidden;
  height: 20rem;
  /*font-size: 0.75rem;*/
  position: relative;
}

@media (max-width: 680px) {
  .news-archive-container {
    display: flex;
    flex-direction: column;
  }
  .news-article {
    margin-bottom: 1em;
  }
}

/* publication preview */

#publication-preview-section {
  margin: 0 10%;
}

.publication_preview_source_holder {
  margin-bottom: 1rem;
}

#publication_preview_date_paragraph {
  margin-bottom: 0.1rem;
}

#publication_preview_author {
  font-weight: bold;
}

#publication-preview-gallery-container {
  justify-content: center;
}

.publication-preview-img {
  width: 100%;
}

.publication-preview-article {
  padding: 1em;
  background: var(--primary-light);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1), 0 20px 20px rgba(0, 0, 0, 0.05);
  margin-right: 1em;
  margin-bottom: 1em;
}

.publication-preview-article:after {
  color: #808;
  font-weight: bold;
  font-family: courier;
}

.publication-preview-article-img-holder {
  height: 17rem;
  width: 24rem;
}

.publication-preview-article-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* adds */
#employ-programmer-add-section {
  background-color: var(--primary-light);
}
.adds-img {
  width: 100%;
  object-fit: contain;
}
