/* =========================================
   AO3 FIC ARCHIVE
   ========================================= */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 30px 20px;
  background: #eeeeee;
  color: #222222;
  font-family: Arial, Helvetica, sans-serif;
}


/* =========================================
   MAIN ARCHIVE
   ========================================= */

.archive {
  max-width: 1100px;
  margin: 0 auto;
}

h1 {
  margin-bottom: 5px;
  font-size: 42px;
  letter-spacing: 2px;
}

.intro {
  margin-top: 0;
  margin-bottom: 25px;
  color: #555555;
}


/* =========================================
   FILTER AREA
   ========================================= */

.filters {
  background: white;
  border: 1px solid #cccccc;
  padding: 15px;
  margin-bottom: 20px;

  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filters input,
.filters select,
.filters button {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  padding: 9px 10px;
  border: 1px solid #bbbbbb;
  border-radius: 4px;
}

.filters input {
  flex: 1 1 200px;
  min-width: 180px;
}

.filters select {
  flex: 1 1 160px;
  min-width: 150px;
  background: white;
}

.filters button {
  background: #222222;
  color: white;
  cursor: pointer;
}

.filters button:hover {
  background: #555555;
}


/* =========================================
   FIC COUNT
   ========================================= */

#ficCount {
  font-weight: bold;
  margin: 20px 0;
}


/* =========================================
   FIC CARDS
   ========================================= */

.fic-card {
  background: white;
  border: 1px solid #cccccc;
  border-left: 6px solid #222222;

  padding: 25px;
  margin-bottom: 20px;

  box-shadow: 3px 3px 0px #cccccc;
}

.fic-card h2 {
  margin-top: 0;
  margin-bottom: 5px;
  font-size: 27px;
}

.author {
  color: #666666;
  margin-top: 0;
  margin-bottom: 20px;
}

.fic-card p {
  line-height: 1.5;
}

.fic-card strong {
  font-weight: bold;
}


/* =========================================
   TAGS
   ========================================= */

.tags {
  margin-top: 15px;
  margin-bottom: 15px;
}

.tag {
  display: inline-block;

  background: #eeeeee;
  border: 1px solid #cccccc;

  padding: 5px 8px;
  margin: 3px;

  font-size: 13px;
  border-radius: 3px;
}


/* =========================================
   READ / UNREAD
   ========================================= */

.read-status {
  font-weight: bold;
  font-size: 14px;
}


/* =========================================
   AO3 LINK
   ========================================= */

.ao3-link {
  display: inline-block;

  background: #222222;
  color: white;

  text-decoration: none;

  padding: 9px 14px;
  margin-top: 5px;
  margin-right: 8px;

  border-radius: 4px;

  font-weight: bold;
  font-size: 14px;
}

.ao3-link:hover {
  background: #555555;
}


/* =========================================
   READ BUTTON
   ========================================= */

.fic-card button {
  padding: 9px 14px;

  border: 1px solid #bbbbbb;
  border-radius: 4px;

  background: #eeeeee;
  color: #222222;

  cursor: pointer;

  font-weight: bold;
}

.fic-card button:hover {
  background: #dddddd;
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 600px) {

  body {
    padding: 15px 10px;
  }

  h1 {
    font-size: 30px;
  }

  .fic-card {
    padding: 18px;
  }

  .fic-card h2 {
    font-size: 23px;
  }

  .filters {
    display: block;
  }

  .filters input,
  .filters select,
  .filters button {
    width: 100%;
    margin-bottom: 8px;
  }

}