/************************* MAIN *********************************/
/* See index.astro */

main {
  width: 100%;
}


/* FAMILY STORIES */


.storiesTitle {
  font-size: 1.6rem;
  /* color: #888; */
  color: rgb(176, 115, 17);
  text-align: center;
  padding: 1rem;
  /* border: 1px solid red; */
}

.storiesArticles {
  width: 100%;
  height: auto;
  padding: 1rem;
  /* border: 1px solid blue; */
  margin-inline: auto;

  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-evenly;
  flex-wrap: wrap;
  align-content: flex-start;

  background: radial-gradient(rgb(231, 213, 197) 25%, #ffffff 60%);
}

.storiesArticles .box {
  width: 450px;
  height: auto;
  padding: 1.5%;
  border: 3px double rgb(176, 115, 17);
  border-radius: 25px;
  background-color: #ddd;
  text-align: center;
}

.storiesArticles .hRule {
  border-top: 3px double rgb(176, 115, 17);
}


.title {
  padding-bottom: 0.6rem;
}

.title a {
  font-size: 1.2rem;
  color: #888;
  text-decoration: none;
}

.title a:hover {
  font-size: 1.2rem;
  color: #800;
  text-decoration: none;
}

p.help {
  padding-bottom: 0.6rem;
}

p.help a {
  font-size: 0.9rem;
  color: #888;
  text-decoration: none;
}

p.help a:hover {
  font-size: 0.9rem;
  color: #800;
  text-decoration: none;
}

.box .description {
  font-size: 0.8rem;
  line-height: 1.1rem;
  color: #888;
  text-align: justify;
  padding: 0.5rem;
}

.box .date {
  font-size: 1rem;
  color: #888;
  padding-top: 0.6rem;
  text-align: center;
}


/******************* Media Queries Breakpoints *******************/
/* Media queries can be placed in both global CSS files and within  */
/* component-specific or "endpoint" CSS files, depending on the project's  */
/* organization and desired modularity. */

/* Styles for screens less than 576px (e.g., smartphones) */
@media screen and (width < 576px) {
  header {
    display: block;
  }
  .header {
    height: 0;
  }

  .csLogo {
    height: 100px;
  }

  .navigation {
    height: 20px;
    text-align: center;
  }

  .nav-top {
    height: 0;
  }

  .nav-bottom {
    word-spacing: 6px;
  }

  .nav-bottom a {
    font-size: 0.96rem;
  }

  .rights img {
    width: 200px;
    height: auto;
  }
}

/* Styles for screens wider than 576px -  768px (e.g., tablets) */
@media screen and (width >= 576px) and (width < 768px) {
  header {
    display: block;
  }

  .header {
    height: 0;
  }

  .csLogo {
    height: 100px;
    text-align: left;
  }

  .navigation {
    height: 20px;
    text-align: center;
  }

  .nav-top {
    height: 0;
  }

  .nav-bottom {
    word-spacing: 6px;
  }

  .rights img {
    width: 250px;
    height: auto;
  }
}
