/* FCS Magazine — Latest Issue section.
 * Cover image + content card with article links, two CTAs.
 * Tag-driven (Doc #162 §3 / Latest Issue, Option B): the most recent
 * #magazine-issue Ghost post drives the cover, label, synopsis, and
 * article list. Article list is rendered from the post body markdown
 * via {{content}} inside .issue-content-body — this file styles that
 * rendered <ul> to match the prior visual treatment.
 */

.issue {
  padding: 7rem 0;
  background: var(--paper-deep);
  position: relative;
  overflow: hidden;
}

.issue::before {
  content: '';
  position: absolute;
  top: 20%; right: -10%;
  width: 450px; height: 450px;
  background: radial-gradient(circle, rgba(207, 125, 95, 0.1) 0%, transparent 65%);
  pointer-events: none;
}

.issue-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 2rem 4rem;
  align-items: stretch;
}

.issue-btn-wrap {
  display: flex;
  justify-content: center;
  align-self: start;
}

.issue-cover-col { position: relative; }

.issue-cover-bg {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -55%);
  width: 440px; height: 440px;
  background: radial-gradient(circle, rgba(207, 125, 95, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.issue-cover-wrap {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.issue-cover-img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  display: block;
  border-radius: 4px;
  box-shadow:
    0 40px 80px -20px rgba(26, 24, 23, 0.32),
    0 20px 40px -15px rgba(91, 140, 106, 0.12);
}

.issue-cover-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.85rem;
  background: var(--paper-soft);
  color: var(--copper);
  border: 1px solid var(--rule);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-soft);
}

.issue-cover-btn:hover {
  color: var(--copper-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-float);
}

.issue-cover-btn svg { transition: transform 0.3s ease; }
.issue-cover-btn:hover svg { transform: translateX(3px); }

.issue-content {
  background: var(--paper-soft);
  padding: 3rem;
  border-radius: 4px;
  border: 1px solid var(--rule);
  box-shadow: var(--shadow-soft);
}

.issue-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 550;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--ink);
  margin: 1rem 0 1.25rem;
}

.issue-content > p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-mute);
  margin-bottom: 2rem;
  font-weight: 500;
}

/* Featured-articles list — rendered from the post body markdown via
 * {{content}} inside .issue-content-body. Caity types a markdown <ul> of
 * three links to /issues/?p=N; Ghost renders standard <ul><li><a> markup,
 * and these rules make it look like the prior .issue-articles list.
 * The directional arrow is a CSS ::after pseudo on the link (no inline
 * SVG markup possible from a markdown source). */

.issue-content-body { padding: 0; }

.issue-content-body ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.issue-content-body ul li {
  /* The row is structural; the click target is the inner <a>. The border
   * lives here so it sits outside the focus outline of the link. */
  border-bottom: 1px solid var(--rule);
  padding: 0;
}

.issue-content-body ul li:last-child { border-bottom: none; }

.issue-content-body ul li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.75rem 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--copper);
  text-decoration: none;
  transition: color 0.25s ease;
  cursor: pointer;
}

.issue-content-body ul li a:hover { color: var(--copper-dark); }

.issue-content-body ul li a:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 2px;
  border-radius: 2px;
}

.issue-content-body ul li a::after {
  /* Directional arrow — replaces the inline <svg> the prior theme-settings
   * pattern emitted. Unicode → renders crisply at body-copy size and slides
   * on hover via the same translateX pattern the SVG used. */
  content: '→';
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  display: inline-block;
  transition: transform 0.3s ease;
}

.issue-content-body ul li a:hover::after { transform: translateX(3px); }

.issue-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.85rem;
  background: var(--paper-soft);
  color: var(--copper);
  border: 1px solid var(--rule);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-soft);
}

.issue-link:hover {
  color: var(--copper-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-float);
}

.issue-link svg { transition: transform 0.3s ease; }
.issue-link:hover svg { transform: translateX(3px); }
