/* =========================================
   Archive Card Component Styles
   ========================================= */

.archive-card {
  display: block;
    padding: 0;
  position: relative;
  max-width: 32rem;
  width: 100%;
  margin: 1rem auto 0;
  text-decoration: none;
  transition: transform 0.3s ease;
}

@media (min-width: 768px) {
  .archive-card {
    margin-left: auto;
    margin-right: 0;
  }
}

.archive-card:hover {
  transform: translateY(-0.25rem);
}

.archive-card__inner {
  display: flex;
  width: 100%;
  background-color: #dcd3b6;
  border-radius: 0.125rem;
  box-shadow: 0 8px 20px rgba(62, 39, 35, 0.1);
  position: relative;
  overflow: hidden;
  /*border: 1px solid rgba(62, 39, 35, 0.1);*/
  padding: 1rem;
  align-items: center;
  justify-content: space-between;
  transition: box-shadow 0.3s ease;
}

@media (min-width: 768px) {
  .archive-card__inner {
    padding: 1.25rem;
  }
}

.archive-card:hover .archive-card__inner {
  box-shadow: 0 12px 25px rgba(62, 39, 35, 0.2);
}

/* Texture Overlay */
.archive-card__texture {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 2px,
    #3e2723 2px,
    #3e2723 4px
  );
}

/* Content */
.archive-card__content {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  z-index: 10;
}

/* Icon */
.archive-card__icon-wrapper {
  width: 3rem;
  height: 3rem;
  background-color: #3e2723;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e8e0d5;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.archive-card:hover .archive-card__icon-wrapper {
  transform: scale(1.1);
  background-color: #8b5a2b;
}

.archive-card__icon-wrapper i {
  font-size: 1.25rem;
}

/* Text */
.archive-card__text {
  display: flex;
  flex-direction: column;
}

.archive-card__title {
  font-size: 1.125rem;
  color: #2d2420;
  font-family: 'Noto Serif SC', serif;
  font-weight: bold;
  line-height: 1.25;
  margin: 0;
  transition: color 0.3s ease;
}

@media (min-width: 768px) {
  .archive-card__title {
    font-size: 1.25rem;
  }
}

.archive-card:hover .archive-card__title {
  color: #8b5a2b;
}

.archive-card__subtitle {
  font-size: 10px;
  color: rgba(93, 64, 55, 0.8);
  margin-top: 0.25rem;
  margin-bottom: 0;
  font-family: 'Share Tech Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (min-width: 768px) {
  .archive-card__subtitle {
    font-size: 0.75rem;
  }
}

/* Arrow */
.archive-card__arrow {
  position: relative;
  z-index: 10;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(139, 90, 43, 0.3);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.archive-card:hover .archive-card__arrow {
  border-color: #8b5a2b;
  background-color: #8b5a2b;
}

.archive-card__arrow i {
  font-size: 0.875rem;
  color: #8b5a2b;
  transition: color 0.3s ease;
}

.archive-card:hover .archive-card__arrow i {
  color: #f2efe9;
}
