/* www.LunchBoxSATX.net v5 */
/* EPISODE PAGE CSS */


/* =========================
   PAGE SETUP
========================= */

html,
body {
  margin: 0;
  padding: 0;

  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}


body {
  background: #fff!important;

  color: white;

  font-family: "Teko", sans-serif;
}

/* =========================
   ARTICLES HERO
========================= */

.articles-hero {
  position: relative;

  width: 100%;
  height: auto;

  margin-bottom: 40px;

  background-image: url("/images/articlesbanner.png");
  background-size: cover;
  background-position: center;

  overflow: hidden;

  display: flex;
  justify-content: center;
}


/* DARK OVERLAY */

.articles-hero::before {
  content: "";

  position: absolute;
  inset: 0;

  background: rgba(0, 0, 0, 0.55);
}


/* HERO CONTENT */

.articles-hero-content {
  position: relative;
  z-index: 1;

  padding: 50px;
}


/* MAIN TITLE */

.articles-hero h1 {
  font-family: "Special Elite", sans-serif;

  font-size: 6em;

  line-height: 0.9;

  margin: 0;

  color: #fff;

  text-shadow: 4px 4px #000;
  display: flex;
  justify-content: center;
}


/* SUBTITLE */

.articles-hero h2 {
  font-family: "Special Elite", sans-serif;

  font-size: 2.4em;

  line-height: 1;

  margin: 10px 0;

  color: #ff5555;

  text-shadow: 3px 3px #000;
  
  display: flex;
  justify-content: center;
}


/* DESCRIPTION */

.articles-hero p {
  max-width: 550px;

  margin: 15px 0 25px;

  font-family: "Teko", sans-serif;

  font-size: 1.4em;

  line-height: 1.1;

  color: #fff;
}

/* =========================
   FEATURED ARTICLES
========================= */

.featured-articles {

  width: calc(100% - 40px);
  max-width: 1500px;

  margin: 0 auto 30px;

  padding: 10px;

  display: grid;

  grid-template-columns: 1fr 2px 1fr;

  gap: 10px;

  color: #000;
}


/* FEATURED ARTICLE */

.featured-article {

  display: grid;

  grid-template-columns: 1fr 1.25fr;

  gap: 8px;

  align-items: center;

  min-width: 0;
}


/* SECOND ARTICLE */

.featured-article:nth-child(3) {

  grid-template-columns: 1.25fr 1fr;

}


/* FEATURED IMAGE */

.featured-article img {

  width: 100%;
  height: auto; 

  object-fit: cover;

  display: block;

}


/* FEATURED CONTENT */

.featured-article-content {

  padding: 0 4px;

}


/* CATEGORY */

.article-category {

  display: table;

  background: #ffc94d;

  color: #000;

  font-family: "Changa One", sans-serif;

  font-size: 16px;

  line-height: 1;

  padding: 3px 18px 2px;

  margin-bottom: 3px;

}


/* TITLE */

.featured-article h2 {

  font-family: "Teko", sans-serif;

  font-size: 2em;

  line-height: .95;

  margin: 0 0 5px;

}


/* DESCRIPTION */

.featured-article p {

  font-family: Arial, sans-serif;

  font-size: 1em;

  line-height: 1.25;

  margin: 0 auto 6px;

}


/* ARTICLE META */

.article-meta {

  font-family: Arial, sans-serif;

  font-size: 0.7em;

  margin-bottom: 5px;

}


.read-more:hover {

  background: #ffc94d!important;

  color: #000;
  box-shadow: unset!important;

}


/* VERTICAL DIVIDER */

.featured-divider {

  width: 2px;

  background: #777;

  height: 100%;

}

/* =========================
   MORE ARTICLES
========================= */

.more-articles {

  width: calc(100% - 40px);

  max-width: 1500px;

  margin: 0 auto 50px;

  padding-top: 20px;

  border-top: 2px solid #777;

}


/* =========================
   ARTICLE GRID
========================= */

.articles-grid {

  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 15px;

}


/* =========================
   ARTICLE CARD
========================= */

.article-card {

  display: grid;

  grid-template-columns: 1fr 1fr;

  min-width: 0;

  height: 205px;

  overflow: hidden;

  background: none!important;
  border: none!important;
  box-shadow: none!important;

  color: #000;

  text-decoration: none;

}


/* =========================
   CARD IMAGE
========================= */

.article-card img {

  width: 100%;

  height: 100%;

  object-fit: cover;

  display: block;

  min-width: 0;

}


/* =========================
   CARD CONTENT
========================= */

.article-card-overlay {

  position: static;

  padding: 8px 12px;

  display: flex;

  flex-direction: column;

  justify-content: center;

  color: #000;

  min-width: 0;

}


/* =========================
   ALTERNATING ARTICLES
========================= */

/* Article #1 and #3
   TEXT | IMAGE */

.article-card:nth-child(odd) img {

  order: 2;

}

.article-card:nth-child(odd) .article-card-overlay {

  order: 1;

  text-align: right;

}


/* Article #2 and #4
   IMAGE | TEXT */

.article-card:nth-child(even) img {

  order: 1;

}

.article-card:nth-child(even) .article-card-overlay {

  order: 2;

  text-align: left;

}


/* =========================
   CATEGORY
========================= */

.article-card-overlay span {

  display: inline-block;

  align-self: flex-start;

  padding: 4px 18px 3px;

  margin-bottom: 5px;

  background: #ff5555;

  color: #fff;

  font-family: "Changa One", sans-serif;

  font-size: 1em;

  line-height: 1;

}


/* RIGHT-ALIGNED CATEGORY
   FOR ODD ARTICLES */

.article-card:nth-child(odd) .article-card-overlay span {

  align-self: flex-end;

}


/* =========================
   TITLE
========================= */

.article-card-overlay h3 {

  margin: 0 0 5px;

  font-family: "Teko", sans-serif;

  font-size: 2em;

  line-height: .9;

  color: #000;

}


/* =========================
   DESCRIPTION
========================= */

.article-card-overlay p {

  margin: 0;

  font-family: Arial, sans-serif;

  font-size: 1em;

  line-height: 1.15;

  color: #000;

}


/* =========================
   HOVER
========================= */

.article-card:hover h3 {

  color: #ff5555;

}

.article-card:hover span {

  background: #ffc94d;

  color: #000;

}


/* =========================
   MORE ARTICLES BUTTON
========================= */

.more-articles-button {

  display: flex;

  justify-content: center;

  margin-top: 10px;

}


.more-articles-button a {

  display: inline-block;

  padding: 8px 25px;

  background: #000;

  color: #fff;

  text-decoration: none;

  font-family: "Changa One", sans-serif;

  font-size: 1.1em;

  border: 2px solid #000;

  transition: .2s;

}


.more-articles-button a:hover {

  background: #ffc94d;

  color: #000;

}


/* =========================
   MOBILE
========================= */

@media (max-width: 700px) {

  .more-articles {

    width: calc(100% - 20px);

    margin-bottom: 40px;

    padding-top: 15px;

  }


  /* ONE ARTICLE PER ROW */

  .articles-grid {

    grid-template-columns: 1fr;

    gap: 20px;

  }

/* =========================
   MOBILE
========================= */

@media (max-width: 700px) {
  
  /* ARTICLE HERO */
  
  .articles-hero-content {
    padding: 35px;
  }
  
  .articles-hero h1 {
    font-size: 4.5em;
  }
  
  .articles-hero h2 {
    font-size: 1.2em;
    text-align: center;
  }


  /* FEATURED ARTICLES */

  .featured-articles {

    width: calc(100% - 20px);

    display: block;

    padding: 8px;

  }


  .featured-article,
  .featured-article:nth-child(3) {

    display: flex;

    flex-direction: column;

    gap: 8px;

  }


  .featured-article:nth-child(3) {

    margin-top: 15px;

  }


  .featured-article img {

    width: 100%;

    height: 180px;

  }


  .featured-article-content {

    padding: 5px 10px 10px;

  }


  .featured-article h2 {

    font-size: 25px;

  }


  .featured-article p {

    font-size: 1em;

    max-width: 450px;

  }


  .article-meta {

    font-size: 8px;

  }


  .featured-divider {

    width: 100%;

    height: 2px;

    margin: 15px 0;

  }
  
  /* =========================
     MOBILE ARTICLE
  ========================== */

  .article-card {

    grid-template-columns: 1fr;

    height: auto;

  }


  .article-card img {

    width: 100%;

    height: 180px;

    order: 1 !important;

  }


  .article-card-overlay {

    order: 2 !important;

    padding: 10px 5px 15px;

    text-align: left !important;

  }


  .article-card-overlay span {

    align-self: flex-start !important;

  }


  .article-card-overlay h3 {

    font-size: 1.8em;

  }


  .article-card-overlay p {

    font-size: .95em;

  }


  .more-articles-button {

    margin-top: 20px;

  }

}