@import url('https://fonts.googleapis.com/css2?family=IM+Fell+DW+Pica+SC&display=swap');

/* Container */
.archive-container {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
}

/* Archive Title */
.archive-title {
  font-family: "Fjalla One", sans-serif;
  font-weight: 300;
  font-size: 70px;
  text-align: left;
  margin-bottom: 50px !important;
  margin-top: 140px !important;
  color: black;
  opacity: 0.9;
  display: block;
  position: relative;
  margin-bottom: 1em;
}

@media (max-width: 768px) {
  .archive-title {
    font-size: 55px !important;
  }
}


/* Article Layout */
.archive-post {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px dashed black;
}

.archive-post-thumbnail {
  width: 200px;
  flex-shrink: 0;
  margin-right: 10px;
}

.archive-post-thumbnail img {
  width: 100%;
  aspect-ratio: 3/2;  
  object-fit: cover;
  border-radius: 3px;
}

@media (max-width: 768px) {
  .archive-post-thumbnail img {
    aspect-ratio: 1/1;
  }
}

.archive-post-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Thumbnail link hover */
.archive-post-thumbnail a {
  display: inline-block;
  transition: opacity 0.3s ease;
}
.archive-post-thumbnail a:hover {
  opacity: 0.7;
}

/* Meta: Tag + date on one line */
.archive-post-meta {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
}

.archive-post-tag a {
  color: #2E8B57;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 500;
}

.archive-post-tag a:hover {
  text-decoration: underline;
}

.archive-post-date {
  display: none;
  text-transform: uppercase !important;
  font-weight: 500;
  color: #935635;
  margin-left: 5px;
}


/* Post Title */
.archive-post-title {
  font-family: "Fjalla One", sans-serif;
  font-weight: 400;
  font-size: 30px;
  line-height: 1.3;
  margin-bottom: 15px;
}
.archive-post-title a {
  text-decoration: none;
  color: #000;
  transition: opacity 0.3s ease;
}


/* Excerpt */
.archive-post-excerpt {
  font-family: "open sans", sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  color: #777777;
}

/* Slash between meta data next to thumbnail ////////////////////////////////////////// 
.archive-post-meta .archive-post-tag::after {
  content: "/";
  margin: 0 10px;
  color: black;
}
*/

/* Pagination ////////////////////////////////////////// */

.archive-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 40px 0;
}

/* Default (Mobile) Settings - Keep as is */
.pagination-button {
  position: relative;
  font-family: 'IM Fell DW Pica SC', serif;
  font-size: 30px !important; /* Keep mobile size */
  color: black;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center; /* Centers text + hand */
  gap: 20px; /* Space between text and hand */
  padding: 10px 20px;
  transition: opacity 0.3s ease;
}

/* Hand size for Mobile */
.pagination-prev::before,
.pagination-next::after {
  content: "";
  background-size: contain;
  background-repeat: no-repeat;
  width: 100px;
  height: 50px;
  display: inline-block;
}

/* Hand background for Previous */
.pagination-prev::before {
  background-image: url('../images/hand-left3.png');
  order: -1;
}

/* Hand background for Next */
.pagination-next::after {
  background-image: url('../images/hand-right3.png');
  order: 1;
}

/* =========================
   Desktop (768px and up)
========================= */
@media (min-width: 769px) {
  .pagination-button {
    font-size: 2.5rem;
    gap: 30px; /* More space between text and hand */
    padding: 15px 25px; /* Slightly larger padding */
  }

  /* Increase Hand Size on Desktop */
  .pagination-prev::before,
  .pagination-next::after {
    width: 140px; /* Increased width */
    height: 70px; /* Increased height */
  }
  /* Hover effect - apply to entire button (hand + text) */
.pagination-button:hover {
  opacity: 0.7;
  }
  .archive-pagination {
    flex-wrap: wrap;
  }
  .pagination-button {
    margin-bottom: 20px; /* spacing when they wrap to a second line */
  }
}

/* =========================
   MOBILE RESPONSIVENESS
========================= */
@media (max-width: 768px) {
  .archive-container {
    padding: 0 10px;
  }

  .archive-title {
    font-size: 70px;
  }

  .archive-post-title {
    font-size: 22px;
    line-height: 1.3;
  }

  .archive-post-thumbnail {
    width: 100px;
    margin-right: 0px;  /* Keep mobile at 120px */
  }
  .archive-post-meta {
    font-size: 14px;
    margin-bottom: 5px !important;
  }
  .archive-post {
    align-items: flex-start !important;
  }
  .archive-post-excerpt {
    display: none; /* Hides the excerpt on mobile */
  }
}


@media (min-width: 768px) {

  .article-post-meta a {
    font-size: 18px;
  }
  .archive-post-title a:hover {
    color: #2E8B57;
  }
}

