:root {
  --black: #161616;
  --white: #ffffff;

  --teal: #15977f;
  --teal-dark: #0d7564;
  --teal-deep: #0b5f52;
  --teal-light: #e5f5f1;
  --teal-pale: #f2faf8;

  --yellow: #fff06a;
  --pink: #edb7ca;
  --green: #78c98e;

  --paper: #fbfbfa;
  --gray-50: #f7f7f5;
  --gray-100: #eeeeeb;
  --gray-200: #ddddda;
  --gray-500: #777774;
  --gray-700: #444441;

  --content-width: 1160px;
}


/* --------------------------------------------------
   Base
-------------------------------------------------- */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;

  color: var(--black);
  background: var(--white);

  font-family:
    "Noto Sans JP",
    "Hiragino Sans",
    "Yu Gothic",
    "YuGothic",
    sans-serif;

  font-size: 16px;
  line-height: 1.75;

  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}


/* --------------------------------------------------
   Hero
-------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;

  background:
    linear-gradient(
      135deg,
      var(--teal-pale) 0%,
      var(--teal-light) 100%
    );

  border-top: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
}

.hero::after {
  content: "";

  position: absolute;
  top: -140px;
  right: -120px;

  width: 520px;
  height: 520px;

  border: 1px solid rgba(21, 151, 127, 0.16);
  border-radius: 50%;

  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;

  max-width: var(--content-width);

  margin: 0 auto;
  padding: 36px 34px 52px;
}

.hero-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;

  gap: 40px;
}

.magazine-title-wrap {
  min-width: 0;
}

.magazine-title {
  margin: 0;

  color: var(--black);

  font-family:
    "Noto Sans JP",
    "Hiragino Sans",
    "Yu Gothic",
    "YuGothic",
    sans-serif;

  font-size: clamp(3.8rem, 6.8vw, 6.2rem);
  font-weight: 500;
  line-height: 0.95;

  letter-spacing: -0.08em;
}

.magazine-title-en {
  margin: 18px 0 0;

  color: var(--teal);

  font-size: clamp(1rem, 1.65vw, 1.55rem);
  font-weight: 700;

  letter-spacing: 0.04em;
}

.magazine-publisher {
  margin: 7px 0 0;

  color: var(--gray-700);

  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.4;

  letter-spacing: 0.03em;
}

.magazine-publisher a {
  border-bottom: 1px solid transparent;

  transition:
    color 0.15s ease,
    border-color 0.15s ease;
}

.magazine-publisher a:hover {
  color: var(--teal-dark);
  border-bottom-color: var(--teal);
}

.index-badge {
  width: 154px;
  height: 154px;

  flex: 0 0 auto;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  border: 1.5px solid var(--teal);
  border-radius: 50%;

  color: var(--teal);

  text-align: center;
}

.badge-main {
  display: block;

  font-size: 1rem;
  font-weight: 700;
  line-height: 1.1;

  letter-spacing: 0.05em;
}

.badge-line {
  display: block;

  width: 48px;
  height: 1px;

  margin: 11px 0 8px;

  background: var(--teal);
}

.badge-year {
  font-size: 1rem;
  font-weight: 700;
}

.hero-copy {
  max-width: 980px;

  margin-top: 38px;
}

.cover-label,
.section-label {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  min-height: 34px;

  padding: 4px 18px;

  border-radius: 999px;

  font-size: 0.9rem;
  font-weight: 700;

  line-height: 1;
}

.cover-label {
  background: var(--teal);
  color: var(--white);

  border: 1px solid var(--teal);
}

.hero-copy h2 {
  margin: 22px 0 18px;

  max-width: none;

  font-size: clamp(2rem, 3.5vw, 2.9rem);
  font-weight: 500;
  line-height: 1.32;

  letter-spacing: -0.045em;
}

.hero-line {
  display: block;
}

.hero-copy p {
  max-width: 820px;

  margin: 0;

  color: var(--gray-700);

  font-size: 1rem;
  font-weight: 500;
  line-height: 1.8;
}

.cover-colors {
  display: grid;
  grid-template-columns: 2.2fr 0.6fr 0.6fr 0.6fr;

  height: 8px;
}

.cover-colors span {
  display: block;
}

.color-teal {
  background: var(--teal);
}

.color-yellow {
  background: var(--yellow);
}

.color-pink {
  background: var(--pink);
}

.color-green {
  background: var(--green);
}


/* --------------------------------------------------
   Common section
-------------------------------------------------- */

.section-inner {
  max-width: var(--content-width);

  margin: 0 auto;
  padding-left: 34px;
  padding-right: 34px;
}

.section-heading h2,
.results-header h2,
.data-intro h2,
.about-inner h2 {
  margin: 16px 0 0;

  font-size: clamp(1.85rem, 3.2vw, 2.8rem);
  font-weight: 500;

  letter-spacing: -0.03em;
}

.section-label {
  border: 1px solid var(--teal);

  background: var(--white);
  color: var(--teal);
}

.section-label-yellow {
  border-color: var(--teal);
  background: var(--teal);
  color: var(--white);
}

.section-label-teal {
  border-color: var(--teal);
  background: var(--teal);
  color: var(--white);
}

.section-label-green {
  border-color: var(--teal);
  background: var(--teal);
  color: var(--white);
}


/* --------------------------------------------------
   Search
-------------------------------------------------- */

.search-section {
  padding: 82px 0 92px;

  background: var(--white);
}

.search-panel {
  margin-top: 38px;
  padding: 34px;

  border: 1px solid var(--teal);
  border-top-width: 3px;

  background: var(--white);

  box-shadow: 0 14px 35px rgba(8, 95, 80, 0.05);
}

.keyword-search label,
.filter-item label {
  display: block;

  margin-bottom: 8px;

  font-size: 0.86rem;
  font-weight: 700;
}

.keyword-box {
  display: grid;
  grid-template-columns: 1fr auto;

  gap: 10px;
}

.keyword-box input {
  width: 100%;
  min-height: 62px;

  padding: 0 20px;

  border: 1px solid var(--gray-700);
  border-radius: 0;

  background: var(--white);

  font-size: 1.08rem;

  outline: none;

  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.keyword-box input:focus {
  border-color: var(--teal);

  box-shadow: inset 0 -4px 0 var(--teal);
}

.search-button {
  min-width: 130px;

  padding: 0 24px;

  border: 1px solid var(--teal);

  background: var(--teal);
  color: var(--white);

  font-weight: 700;

  cursor: pointer;

  transition:
    background 0.15s ease,
    border-color 0.15s ease;
}

.search-button:hover {
  border-color: var(--teal-dark);
  background: var(--teal-dark);
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));

  gap: 22px;

  margin-top: 28px;
  padding-top: 28px;

  border-top: 1px solid var(--gray-200);
}

.filter-item input,
.filter-item select {
  width: 100%;
  min-height: 48px;

  padding: 0 13px;

  border: 1px solid var(--gray-700);
  border-radius: 0;

  background: var(--white);

  color: var(--black);

  outline: none;
}

.filter-item input:focus,
.filter-item select:focus {
  border-color: var(--teal);

  box-shadow: inset 0 -3px 0 var(--teal-light);
}

.year-range {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;

  gap: 9px;
}

.filter-actions {
  display: flex;
  justify-content: flex-end;

  margin-top: 22px;
}

.clear-button {
  padding: 8px 0;

  border: 0;
  border-bottom: 1px solid var(--teal);

  background: transparent;
  color: var(--teal-dark);

  cursor: pointer;
}


/* --------------------------------------------------
   Results
-------------------------------------------------- */

.results-section {
  padding: 82px 0 100px;

  background: var(--gray-50);

  border-top: 1px solid var(--gray-200);
}

.results-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;

  gap: 30px;
}

.result-count {
  display: flex;
  align-items: baseline;

  gap: 5px;

  color: var(--teal-dark);
}

.result-count strong {
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 1;
}

.result-count span {
  font-size: 0.9rem;
}

.table-wrap {
  overflow-x: auto;

  margin-top: 0;

  background: var(--white);

  border-top: 3px solid var(--teal);
  border-bottom: 1px solid var(--gray-200);

  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.035);
}

.article-table {
  width: 100%;
  min-width: 1050px;

  border-collapse: collapse;
}

.article-table th {
  padding: 16px 14px;

  border-bottom: 1px solid var(--teal);

  background: var(--teal-pale);

  color: var(--teal-deep);

  text-align: left;
  white-space: nowrap;

  font-size: 0.82rem;
  font-weight: 700;
}

.article-table td {
  padding: 18px 14px;

  border-bottom: 1px solid var(--gray-200);

  vertical-align: top;

  font-size: 0.93rem;
}

.placeholder-row td {
  padding: 70px 20px;

  color: var(--gray-500);

  text-align: center;
}


/* --------------------------------------------------
   Data
-------------------------------------------------- */

.data-section {
  padding: 92px 0;

  background: var(--teal-pale);

  border-top: 1px solid var(--teal);
  border-bottom: 1px solid var(--teal);
}

.data-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.9fr);

  gap: 72px;
  align-items: end;
}

.data-intro h2 {
  color: var(--teal-deep);
}

.data-intro p {
  max-width: 650px;

  margin: 22px 0 0;

  color: var(--gray-700);

  font-weight: 500;
}

.data-links {
  display: grid;

  background: var(--white);

  border: 1px solid var(--teal);
}

.data-link {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  align-items: center;

  gap: 18px;

  min-height: 92px;

  padding: 18px 22px;

  border-bottom: 1px solid var(--teal);

  transition:
    background 0.15s ease,
    color 0.15s ease;
}

.data-link:last-child {
  border-bottom: 0;
}

.data-link:hover {
  background: var(--teal);
  color: var(--white);
}

.data-link:hover .data-link-text small {
  color: rgba(255, 255, 255, 0.82);
}

.data-link-type {
  color: var(--teal);

  font-size: 0.82rem;
  font-weight: 700;
}

.data-link:hover .data-link-type {
  color: var(--white);
}

.data-link-text {
  display: flex;
  flex-direction: column;
}

.data-link-text strong {
  font-size: 1.05rem;
}

.data-link-text small {
  margin-top: 2px;

  color: var(--gray-700);

  font-size: 0.78rem;
}

.data-link-arrow {
  color: var(--teal);

  font-size: 1.7rem;
}

.data-link:hover .data-link-arrow {
  color: var(--white);
}


/* --------------------------------------------------
   About
-------------------------------------------------- */

.about-section {
  padding: 92px 0 100px;

  background: var(--white);
}

.about-inner h2 {
  color: var(--black);
}

.about-inner p {
  max-width: 760px;

  margin: 24px 0 0;

  color: var(--gray-700);

  font-size: 1rem;
}


/* --------------------------------------------------
   Footer
-------------------------------------------------- */

.site-footer {
  background: var(--black);
  color: var(--white);
}

.footer-inner {
  max-width: var(--content-width);

  margin: 0 auto;
  padding: 34px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 40px;
}

.publisher {
  display: flex;
  align-items: center;

  gap: 22px;
}

.publisher-logo {
  display: block;

  width: 194px;
  max-width: 100%;

  padding: 5px;

  background: var(--white);
}

.publisher-text {
  display: flex;
  flex-direction: column;
}

.publisher-text strong {
  font-size: 0.9rem;
}

.publisher-text span {
  margin-top: 2px;

  color: #bdbdbd;

  font-size: 0.72rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;

  gap: 25px;

  font-size: 0.8rem;
}

.footer-nav a {
  border-bottom: 1px solid transparent;
}

.footer-nav a:hover {
  border-bottom-color: var(--teal);
  color: #d5f4ed;
}


/* --------------------------------------------------
   Compact desktop hero
   Keep the decorative badge/mark at the right without
   forcing the entire hero to inherit their vertical height.
-------------------------------------------------- */

@media (min-width: 1101px) {

  .hero-main {
    display: block;
  }

  .magazine-title-wrap {
    padding-right: 220px;
  }

  .hero-side {
    position: absolute;
    top: 105px;
    right: 34px;
  }

  .hero-copy {
    width: calc(100% - 220px);
    max-width: 900px;
    margin-top: 34px;
  }

}


/* --------------------------------------------------
   Responsive
-------------------------------------------------- */

@media (max-width: 900px) {

  .hero-inner {
    padding-top: 30px;
  }

  .index-badge {
    width: 130px;
    height: 130px;
  }

  .badge-main {
    font-size: 0.9rem;
  }

  .hero-copy {
    margin-top: 38px;
  }

  .filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .data-grid {
    grid-template-columns: 1fr;

    gap: 42px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}


@media (max-width: 640px) {

  .hero-inner,
  .section-inner,
  .footer-inner {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-inner {
    padding-bottom: 48px;
  }

  .hero-main {
    gap: 18px;
  }

  .magazine-title {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  .magazine-title-en {
    margin-top: 14px;

    font-size: 0.92rem;
  }

  .magazine-publisher {
    margin-top: 6px;

    font-size: 0.72rem;
  }

  .index-badge {
    width: 98px;
    height: 98px;
  }

  .badge-main {
    font-size: 0.67rem;
  }

  .badge-line {
    width: 30px;

    margin: 7px 0 5px;
  }

  .badge-year {
    font-size: 0.7rem;
  }

  .hero-copy {
    margin-top: 34px;
  }

  .hero-copy h2 {
    font-size: 1.85rem;
    line-height: 1.45;
  }

  .hero-line {
    display: inline;
  }

  .hero-line + .hero-line::before {
    content: " ";
  }

  .search-section,
  .results-section,
  .data-section,
  .about-section {
    padding-top: 62px;
    padding-bottom: 68px;
  }

  .search-panel {
    padding: 22px 18px;
  }

  .keyword-box {
    grid-template-columns: 1fr;
  }

  .keyword-box input,
  .search-button {
    min-height: 54px;
  }

  .filter-grid {
    grid-template-columns: 1fr;
  }

  .results-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .data-link {
    grid-template-columns: 52px 1fr auto;

    padding-left: 16px;
    padding-right: 16px;
  }

  .publisher {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-nav {
    gap: 15px 20px;
  }
}


/* ==================================================
   Added UI: SNS links and face mark
   Existing hero typography above is intentionally unchanged.
================================================== */

.hero-utility {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 24px;

  margin-bottom: 24px;
  padding-bottom: 12px;

  border-bottom: 1px solid rgba(21, 151, 127, 0.27);
}

.hero-utility-label {
  color: var(--teal-dark);

  font-size: 0.72rem;
  font-weight: 700;

  letter-spacing: 0.15em;
}

.social-links {
  display: flex;
  align-items: center;

  gap: 9px;
}

.social-link {
  display: grid;
  grid-template-columns: 24px auto 13px;
  align-items: center;

  gap: 9px;

  min-height: 46px;

  padding: 6px 10px;

  border: 1px solid rgba(21, 151, 127, 0.22);
  border-radius: 11px;

  background: rgba(255, 255, 255, 0.69);

  box-shadow: 0 3px 10px rgba(11, 95, 82, 0.035);

  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.15s ease;
}

.social-link:hover {
  border-color: rgba(21, 151, 127, 0.54);

  background: var(--white);

  box-shadow: 0 7px 18px rgba(11, 95, 82, 0.09);

  transform: translateY(-2px);
}

.social-icon {
  display: block;

  width: 22px;
  height: 22px;

  object-fit: contain;
}

.social-meta {
  display: flex;
  flex-direction: column;

  min-width: 0;

  line-height: 1.1;
}

.social-meta strong {
  color: var(--black);

  font-size: 0.78rem;
  font-weight: 700;
}

.social-meta small {
  margin-top: 4px;

  color: var(--gray-500);

  font-size: 0.63rem;
  font-weight: 500;
}

.social-arrow {
  color: var(--teal);

  font-size: 0.76rem;
}

.hero-side {
  flex: 0 0 auto;

  display: flex;
  flex-direction: column;
  align-items: center;

  gap: 14px;
}

.hero-character {
  display: block;

  width: 88px;
  height: 88px;

  object-fit: contain;

  filter: drop-shadow(0 4px 5px rgba(11, 95, 82, 0.07));
}


/* ==================================================
   Dynamic search results
   Existing page design is intentionally unchanged.
================================================== */

.article-table tbody tr {
  transition: background 0.12s ease;
}

.article-table tbody tr:not(.placeholder-row):not(.empty-row):not(.error-row):hover {
  background: var(--teal-pale);
}

.cell-date,
.cell-issue,
.cell-type,
.cell-pages {
  white-space: nowrap;
}

.cell-title {
  min-width: 280px;
  font-weight: 500;
  line-height: 1.65;
}

.cell-authors {
  min-width: 150px;
  line-height: 1.65;
}

.cell-series {
  min-width: 180px;
  line-height: 1.65;
}

.empty-row td,
.error-row td {
  padding: 70px 20px;
  text-align: center;
}

.empty-row td {
  color: var(--gray-500);
}

.error-row td {
  color: #8b2d2d;
}

.results-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 28px;

  margin-top: 24px;
}

.results-status {
  margin: 0;

  color: var(--gray-700);

  font-size: 0.84rem;
}

.pagination {
  display: flex;
  align-items: center;

  gap: 9px;
}

.page-numbers {
  display: flex;
  align-items: center;

  gap: 5px;
}

.page-button {
  min-width: 38px;
  min-height: 38px;

  padding: 6px 10px;

  border: 1px solid var(--gray-200);

  background: var(--white);
  color: var(--black);

  cursor: pointer;
}

.page-button:hover:not(:disabled):not(.is-current) {
  border-color: var(--teal);
  color: var(--teal-dark);
}

.page-button.is-current {
  border-color: var(--teal);

  background: var(--teal);
  color: var(--white);

  font-weight: 700;
  cursor: default;
}

.page-button:disabled {
  opacity: 0.35;
  cursor: default;
}

.page-prev,
.page-next {
  min-width: 74px;
}

.page-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 28px;

  color: var(--gray-500);
}

#series {
  width: 100%;
  min-height: 48px;

  padding: 0 13px;

  border: 1px solid var(--gray-700);
  border-radius: 0;

  background: var(--white);
  color: var(--black);

  outline: none;
}

#series:focus {
  border-color: var(--teal);
  box-shadow: inset 0 -3px 0 var(--teal-light);
}


/* Responsive additions only */

@media (max-width: 1050px) {

  .hero-character {
    width: 88px;
    height: 88px;
  }

}

@media (max-width: 900px) {

  .social-meta small {
    display: none;
  }

  .hero-character {
    width: 82px;
    height: 82px;
  }

}

@media (max-width: 760px) {

  .results-controls {
    align-items: flex-start;
    flex-direction: column;
  }

  .pagination {
    width: 100%;
    justify-content: space-between;
  }

  .page-numbers {
    overflow-x: auto;

    max-width: calc(100vw - 220px);
    padding-bottom: 3px;
  }

}

@media (max-width: 640px) {

  .hero-utility {
    align-items: flex-start;
    flex-direction: column;

    gap: 12px;
  }

  .social-links {
    width: 100%;
  }

  .social-link {
    flex: 1 1 0;
    min-width: 0;
  }

  .social-meta small {
    display: block;
  }

  .hero-character {
    width: 72px;
    height: 72px;
  }

}

@media (max-width: 520px) {

  .page-numbers {
    display: none;
  }

  .page-prev,
  .page-next {
    min-width: 104px;
  }

}


/* ==================================================
   Article-table sorting controls
================================================== */

.sortable-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 8px;
}

.sortable-heading > span {
  flex: 0 0 auto;
}

.sort-select {
  width: 76px;
  min-height: 30px;

  padding: 2px 4px;

  border: 1px solid rgba(13, 117, 100, 0.35);
  border-radius: 4px;

  background: var(--white);
  color: var(--teal-deep);

  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.2;

  cursor: pointer;
}

.sort-select:hover {
  border-color: var(--teal);
}

.sort-select:focus {
  border-color: var(--teal);
  outline: 2px solid var(--teal-light);
  outline-offset: 1px;
}

@media (max-width: 640px) {
  .sort-select {
    width: 70px;
    min-height: 28px;

    font-size: 0.68rem;
  }
}


/* ==================================================
   Clickable result fields
================================================== */

.result-link {
  display: inline;

  margin: 0;
  padding: 0;

  border: 0;
  border-bottom: 1px solid transparent;

  background: transparent;
  color: inherit;

  font: inherit;
  font-weight: inherit;
  line-height: inherit;
  text-align: left;

  cursor: pointer;

  transition:
    color 0.12s ease,
    border-color 0.12s ease;
}

.result-link:hover {
  border-bottom-color: var(--teal);
  color: var(--teal-dark);
}

.result-link:focus-visible {
  border-radius: 2px;
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.cell-title .result-link {
  font-weight: 500;
}

.result-link-separator {
  color: var(--gray-500);
}


/* ==================================================
   Drill-down clear control
================================================== */

.drilldown-clear-button {
  flex: 0 0 auto;

  padding: 7px 14px;

  border: 1px solid var(--teal);
  border-radius: 999px;

  background: var(--white);
  color: var(--teal-dark);

  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.2;

  cursor: pointer;

  transition:
    background 0.12s ease,
    color 0.12s ease,
    border-color 0.12s ease;
}

.drilldown-clear-button:hover {
  background: var(--teal);
  color: var(--white);
}

.drilldown-clear-button[hidden] {
  display: none;
}


/* ==================================================
   Dual synchronized horizontal scrollbars
================================================== */

.table-scroll-top {
  overflow-x: auto;
  overflow-y: hidden;

  width: 100%;
  height: 20px;

  margin-top: 34px;
  margin-bottom: 4px;

  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);

  background: var(--gray-50);
}

.table-scroll-top-inner {
  height: 1px;
}

.table-scroll-top[hidden] {
  display: none;
}

.table-scroll-top,
.table-wrap {
  scrollbar-color: var(--gray-500) var(--gray-100);
  scrollbar-width: auto;
}

.table-scroll-top::-webkit-scrollbar,
.table-wrap::-webkit-scrollbar {
  height: 13px;
}

.table-scroll-top::-webkit-scrollbar-track,
.table-wrap::-webkit-scrollbar-track {
  background: var(--gray-100);
}

.table-scroll-top::-webkit-scrollbar-thumb,
.table-wrap::-webkit-scrollbar-thumb {
  border: 2px solid var(--gray-100);
  border-radius: 999px;

  background: var(--gray-500);
}


/* ==================================================
   Latest issue shortcut
================================================== */

.search-quick-actions {
  display: flex;
  justify-content: flex-end;

  margin-top: 12px;
}

.latest-issue-button {
  padding: 7px 0;

  border: 0;
  border-bottom: 1px solid var(--teal);

  background: transparent;
  color: var(--teal-dark);

  font-size: 0.86rem;
  font-weight: 700;

  cursor: pointer;

  transition:
    color 0.12s ease,
    border-color 0.12s ease;
}

.latest-issue-button:hover:not(:disabled) {
  border-bottom-color: var(--teal-dark);
  color: var(--teal-deep);
}

.latest-issue-button:disabled {
  opacity: 0.42;
  cursor: default;
}


/* ==================================================
   Sticky article-table header
================================================== */

.sticky-table-header {
  position: fixed;
  top: 0;
  z-index: 80;

  overflow: hidden;

  border-top: 3px solid var(--teal);
  border-bottom: 1px solid var(--teal);

  background: var(--teal-pale);

  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.09);

  pointer-events: none;
}

.sticky-table-header[hidden] {
  display: none;
}

.sticky-table-header-inner {
  width: max-content;

  will-change: transform;
}

.sticky-header-table {
  margin: 0;

  border-collapse: collapse;
}

.sticky-header-table th {
  overflow: hidden;

  padding: 14px;

  border-bottom: 0;

  text-overflow: ellipsis;
  white-space: nowrap;
}


/* ==================================================
   Citation copy
================================================== */

.title-cell-content {
  display: flex;
  align-items: flex-start;

  gap: 9px;
}

.title-cell-text {
  min-width: 0;
  flex: 1 1 auto;
}

.citation-copy-button {
  position: relative;

  width: 28px;
  height: 28px;

  flex: 0 0 28px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin: -3px 0 0;

  padding: 0;

  border: 1px solid var(--gray-200);
  border-radius: 4px;

  background: var(--white);
  color: var(--gray-500);

  cursor: pointer;

  transition:
    border-color 0.12s ease,
    background 0.12s ease,
    color 0.12s ease;
}

.citation-copy-button:hover {
  border-color: var(--teal);
  color: var(--teal-dark);
}

.citation-copy-button:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.citation-copy-icon {
  width: 15px;
  height: 15px;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.citation-copy-done {
  display: none;

  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
}

.citation-copy-button.is-copied {
  border-color: var(--teal);
  background: var(--teal);
  color: var(--white);
}

.citation-copy-button.is-copied .citation-copy-icon {
  display: none;
}

.citation-copy-button.is-copied .citation-copy-done {
  display: inline;
}

@media (max-width: 640px) {
  .search-quick-actions {
    justify-content: flex-start;
  }

  .citation-copy-button {
    width: 30px;
    height: 30px;

    flex-basis: 30px;
  }
}


/* ==================================================
   Magazine details / purchase link
================================================== */

.issue-purchase-card {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 24px;

  margin-top: 26px;
  padding: 18px 20px;

  border: 1px solid var(--teal);
  border-left-width: 4px;

  background: var(--white);

  box-shadow: 0 8px 24px rgba(8, 95, 80, 0.05);
}

.issue-purchase-card[hidden] {
  display: none;
}

.issue-purchase-card-text {
  min-width: 0;

  display: flex;
  flex-direction: column;

  gap: 4px;
}

.issue-purchase-kicker {
  color: var(--teal-dark);

  font-size: 0.76rem;
  font-weight: 700;

  letter-spacing: 0.03em;
}

.issue-purchase-card-text strong {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.55;
}

.issue-purchase-link {
  flex: 0 0 auto;

  padding: 10px 14px;

  border: 1px solid var(--teal);

  background: var(--teal);
  color: var(--white);

  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.4;

  transition:
    background 0.15s ease,
    border-color 0.15s ease;
}

.issue-purchase-link:hover {
  border-color: var(--teal-dark);
  background: var(--teal-dark);
}

@media (max-width: 640px) {
  .issue-purchase-card {
    align-items: flex-start;
    flex-direction: column;

    gap: 14px;
  }

  .issue-purchase-link {
    width: 100%;
    text-align: center;
  }
}
