/**
 * Single Issue template: centered layout with max-width
 */

.site-main.issue-single {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.issue-single .issue-article {
  width: 100%;
}

.issue-single .issue-header {
  text-align: center;
  margin-bottom: 2rem;
}

.issue-single .issue-header .issue-title {
  margin-top: 0;
  margin-bottom: 0;
}

.issue-single .issue-share {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.issue-single .issue-share li {
  margin: 0;
}

.issue-single .issue-share a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: currentColor;
  border-radius: 50%;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.issue-single .issue-share a:hover {
  opacity: 0.8;
}

.issue-single .issue-share svg {
  width: 22px;
  height: 22px;
}

.issue-single .issue-bug {
  text-align: center;
  margin-bottom: 0;
  margin-top: 0;
  font-size: 0.85em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.issue-single .issue-intro {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
}

.issue-single .issue-download {
  text-align: center;
  margin: 2rem 0;
}

.issue-single .issue-download-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #c00;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border: 0;
  border-radius: 0;
  transition: background-color 0.2s ease;
}

.issue-single .issue-download-button:hover {
  background-color: #a00;
  color: #fff;
}

.issue-single .issue-pdf {
  width: 100%;
  max-width: 100%;
  margin: 2rem auto 0;
  margin-left: auto;
  margin-right: auto;
}

.issue-single .issue-pdf iframe {
  display: block;
  margin: 0 auto;
}

/* More from Food Trade News */
.issue-more {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.issue-more-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 0 0 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #8b4512;
}

.issue-more-title::before,
.issue-more-title::after {
  content: "";
  flex: 1;
  max-width: 80px;
  height: 1px;
  background-color: #8b4512;
}

.issue-more-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .issue-more-grid {
    grid-template-columns: 1fr;
  }
}

.issue-more-card {
  display: flex;
  flex-direction: column;
  padding: 0.75rem;
  background-color: #fffdfa;
  border: 1px solid rgba(139, 69, 18, 0.35);
  text-decoration: none;
  color: inherit;
}

.issue-more-card__img {
  margin: 0 0 0.75rem;
  overflow: hidden;
  border: 1px solid rgba(139, 69, 18, 0.35);
  aspect-ratio: 3 / 2;
}

.issue-more-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.issue-more-card__text {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.issue-more-card__headline-bug {
  display: flex;
  flex-direction: column-reverse;
  gap: 0.25rem;
}

.issue-more-card__title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  color: #1a1a1a;
}

.issue-more-card__bug {
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.33;
  text-transform: uppercase;
  color: #8b4512;
}

.issue-more-card__excerpt {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.4;
  color: #333;
}
