/* ============================================ */
/* Shared Overview Page Styles */
/* Used by: archives-overview.css, projects-overview.css */
/* ============================================ */

/* Page Heading */
.overview-heading-container {
  margin-top: 4rem;
  margin-bottom: 2rem;
  max-width: 995px;
  margin-left: auto;
  margin-right: auto;
}

.overview-page-heading {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #1E1E1E;
  margin: 0;
}

/* Cards Container */
.overview-cards-container {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 3rem;
  max-width: 995px;
  margin-left: auto;
  margin-right: auto;
}

/* Individual Card */
.overview-card {
  background: #FFFFFF;
  border: 1px solid #D9D9D9;
  border-radius: 8px;
  padding: 26px;
  position: relative;
}

.overview-card-title {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  color: #1E1E1E;
  margin: 0 0 14px 0;
}

/* Card Content Layout */
.overview-card-content {
  display: flex;
  gap: 24px;
}

/* Card Image */
.overview-card-image {
  flex-shrink: 0;
  width: 256px;
  height: 306px;
  overflow: hidden;
}

.overview-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Card Info - 2 Column Grid Layout */
.overview-card-info {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
  flex: 1;
}

/* Column containers */
.overview-info-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.overview-info-column:last-child {
  justify-content: space-between;
}

/* Info Section Title */
.overview-info-title {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.4;
  color: #1E1E1E;
}

/* Info Section Content */
.overview-info-content {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  color: #757575;
  margin: 0;
}

/* Card Button */
.overview-card-button {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #DDEEFF;
  border: 1px solid #3366CC;
  border-radius: 8px;
  padding: 12px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  color: #1E1E1E;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  width: 100%;
}

.overview-card-button:hover {
  background: #CCE5FF;
  border-color: #2255AA;
  color: #1E1E1E;
  text-decoration: none;
}

.overview-card-button:focus {
  outline: 2px solid #3366CC;
  outline-offset: 2px;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .overview-heading-container,
  .overview-cards-container {
    max-width: none;
  }

  .overview-card-content {
    flex-direction: column;
  }

  .overview-card-image {
    width: 100%;
    max-width: 400px;
  }

  .overview-card-info {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .overview-card-button {
    width: auto;
    max-width: 300px;
  }
}

@media (max-width: 768px) {
  .overview-page-heading {
    font-size: 20px;
  }

  .overview-card-title {
    font-size: 20px;
  }

  .overview-card {
    padding: 20px;
  }

  .overview-card-content {
    flex-direction: column;
  }

  .overview-card-image {
    width: 100%;
    max-width: none;
    height: auto;
    aspect-ratio: 256 / 306;
  }

  .overview-card-info {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .overview-info-section {
    width: 100%;
  }

  .overview-card-button {
    width: auto;
    max-width: none;
    align-self: center;
  }

  .overview-info-title,
  .overview-info-content {
    font-size: 14px;
  }

  .overview-card-button {
    font-size: 14px;
    padding: 10px 14px;
  }
}

@media (max-width: 480px) {
  .overview-heading-container {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .overview-cards-container {
    gap: 20px;
  }

  .overview-card {
    padding: 16px;
  }

  .overview-card-content {
    gap: 16px;
  }

  .overview-card-info {
    gap: 16px;
  }
}
