/*
============
BASE CSS
============
*/

@import url('/base.css');


/*
========
STYLES
========
*/

.banner-background {
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0) 100%), url("/images/subpages/manufacturing-banner.jpg");
}


/*
==================
INTRO SECTION
------------------
*/

.intro-section {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.intro-section-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.intro-info {
  width: 100%;
}

.intro-text {
  font-size: 1rem;
  text-align: justify;
}

.intro-image-container {
  width: 100%;
  text-align: center;
}

.intro-image {
  width: 90%;
  max-width: 360px;
  object-fit: contain;
}

@media screen and (min-width: 860px) {
  .intro-section-content {
    flex-direction: row;
    gap: 0;
  }

  .intro-info {
    width: 50%;
  }

  .intro-image-container {
    width: 50%;
  }
}



/*
==================
STEPS SECTION
------------------
*/

.steps-section {
  padding-top: 3rem;
  padding-bottom: 4rem;
  background-color: var(--color-background-darker);
}

.steps-section-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.step-number {
  font-size: 2.6rem;
  padding-bottom: 0.6rem;
  color: var(--color-logo-blue-dark);
  font-style: italic;
}

.step-text {
  font-size: 1rem;
  max-width: 600px;
}


@media screen and (min-width: 1020px) {
  .steps-section-content {
    flex-direction: row;
    gap: 0;
  }

  .step-tile {
    width: 30%;
  }

  .step-separator {
    width: 1px;
    height: 280px;
    margin-top: 20px;
    background-color: var(--color-gray-light);
  }
}



/*
======================
DESCRIPTION SECTION
----------------------
*/

.description-section {
  padding-top: 4rem;
  padding-bottom: 6rem;
}

.description-section-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
}

.image-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.description-image {
  width: 90%;
  max-width: 480px;
}

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


@media screen and (min-width: 1020px) {
  .description-section-content {
    flex-direction: row;
    gap: 1rem;
  }

  .image-container {
    width: 35%;
  }

  .description-text {
    width: 65%;
  }
}



/*
=======================
ENCYCLOPEDIA SECTION
-----------------------
*/

.encyclopedia-section {
  padding-top: 3rem;
  padding-bottom: 6rem;
  background-color: var(--color-background-darker);
}

.encyclopedia-section .subpage-title {
  font-size: 2.2rem;
  text-align: center;
}

.encyclopedia-subtitle {
  text-align: center;
  font-size: 1rem;
}

.article-container {
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.article-tile {
  width: 95%;
  max-width: 400px;
  padding: 1.4rem 1.6rem;
  border-radius: 0.8rem;
  position: relative;
  overflow: hidden;
  color: inherit;
  text-decoration: inherit;
  background-color: var(--color-background);
}

.article-image {
  width: 100%;
  height: 260px;
  object-fit: contain;
}

.article-title {
  font-size: 1rem;
  font-weight: bold;
  padding-top: 0.8rem;
  padding-bottom: 0.4rem;
}

.read-overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 0.8rem;
  opacity: 0;
  transition: var(--transition-read-article-overlay);
}

.read-center {
  text-align: center;
}

.read-icon {
  width: 75px;
}

.read-text {
  font-size: 0.75rem;
  font-weight: 600;
  padding-top: 0.25rem;
  color: white;
  text-transform: uppercase;
}

.article-tile:hover .read-overlay {
  opacity: 1;
}


@media screen and (min-width: 1020px) {
  .article-container {
    flex-direction: row;
    align-items: stretch;
  }
}
