/* ==========================================================================
   PERIODICAL ISSUES KIOSK & ARCHIVE RACK («ПОДШИВКА СПЕЦВЫПУСКОВ 2001–2014»)
   Authentic Y2K Press Kiosk, Era Selector Ribbon & Issue Issue Switcher
   ========================================================================== */

.issues-kiosk-section {
  width: 100%;
  max-width: 1400px;
  margin: 18px auto 26px;
  padding: 16px 20px 20px;
  background-color: var(--paper-cream);
  background-image: var(--paper-grain-img);
  background-repeat: repeat;
  background-size: 512px 512px;
  background-blend-mode: multiply;
  border: var(--border-ink-thick);
  box-shadow: var(--shadow-print-lg);
  box-sizing: border-box;
  position: relative;
}

/* Red bookmark tab in top corner */
.issues-kiosk-section::before {
  content: "★ 210 СПЕЦВЫПУСКОВ • 7288 ИГР ★";
  position: absolute;
  top: -13px;
  left: 16px;
  background: var(--ink-red);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.1px;
  padding: 3px 12px;
  border: var(--border-ink);
  box-shadow: 2px 2px 0 var(--ink-black);
  text-transform: uppercase;
  max-width: calc(100% - 32px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.kiosk-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 12px;
  border-bottom: 2px solid var(--ink-black);
  padding-bottom: 12px;
  margin-bottom: 14px;
}

.kiosk-title-block {
  flex: 1 1 280px;
  min-width: 0;
}

.kiosk-title-block h2 {
  font-family: var(--font-display);
  font-size: clamp(18px, 3vw, 28px);
  font-weight: 900;
  color: var(--ink-black);
  text-transform: uppercase;
  margin: 0 0 4px 0;
  letter-spacing: 0.4px;
  line-height: 1.15;
  overflow-wrap: break-word;
}

.kiosk-subtitle {
  font-family: var(--font-serif);
  font-size: 13.5px;
  color: var(--ink-charcoal);
  margin: 0;
  overflow-wrap: break-word;
}

/* Global Jump-to-Game Search Bar */
.kiosk-search-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
  flex: 0 1 340px;
  min-width: 0;
  max-width: 100%;
}

.kiosk-search-input {
  width: 100%;
  min-width: 220px;
  height: 38px;
  padding: 0 12px;
  font-family: var(--font-tech);
  font-size: 12px;
  color: var(--ink-black);
  background-color: var(--paper-white);
  background-image: var(--paper-white-grain-img);
  background-repeat: repeat;
  background-size: 256px 256px;
  background-blend-mode: normal;
  border: var(--border-ink);
  box-sizing: border-box;
}

@media (max-width: 820px) {
  .issues-kiosk-section {
    padding: 18px 12px 14px;
    margin: 14px 0 20px;
  }
  .kiosk-search-wrap {
    flex: 1 1 100%;
    width: 100%;
  }
  .kiosk-search-input {
    min-width: 0;
  }
  .kiosk-era-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }
  .kiosk-era-btn {
    flex-shrink: 0;
    min-height: 40px;
    padding: 6px 10px;
    font-size: 12px;
  }
}

.kiosk-search-input:focus {
  border-color: var(--ink-red);
  box-shadow: 0 0 0 1px var(--ink-red);
}

/* Era Tabs Bar */
.kiosk-era-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.kiosk-era-btn {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 7px 14px;
  background-color: var(--paper-btn-white);
  background-image: var(--paper-btn-white-grain-img);
  background-repeat: repeat;
  background-size: 256px 256px;
  color: var(--ink-charcoal);
  border: var(--border-ink);
  box-shadow: var(--shadow-print-sm);
  cursor: pointer;
  transition: all 0.15s ease;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.kiosk-era-btn:hover {
  background: var(--ink-yellow);
  color: var(--ink-black);
  transform: translate(-1px, -1px);
}

.kiosk-era-btn.active {
  background: var(--ink-black);
  color: var(--paper-white);
  box-shadow: 3px 3px 0 var(--ink-red);
}

.kiosk-era-badge {
  font-family: var(--font-tech);
  font-size: 10px;
  font-weight: 800;
  background: var(--ink-red);
  color: #FFF;
  padding: 1px 5px;
  border-radius: 2px;
}

.kiosk-era-btn.active .kiosk-era-badge {
  background: var(--ink-yellow);
  color: #000;
}

/* Issues Carousel Strip */
.kiosk-carousel-container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.kiosk-nav-arrow {
  width: 36px;
  height: 90px;
  background: var(--ink-black);
  color: var(--paper-white);
  border: 1px solid var(--ink-black);
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  flex-shrink: 0;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.2);
}

.kiosk-nav-arrow:hover {
  background: var(--ink-red);
}

.kiosk-issues-track {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 18px 6px 12px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.kiosk-issues-track::-webkit-scrollbar {
  height: 6px;
}

.kiosk-issues-track::-webkit-scrollbar-thumb {
  background: var(--ink-charcoal);
  border-radius: 3px;
}

/* Mini Issue Cover Card */
.kiosk-issue-card {
  flex: 0 0 210px;
  background-color: var(--paper-white);
  background-image: var(--paper-white-grain-img);
  background-repeat: repeat;
  background-size: 256px 256px;
  background-blend-mode: normal;
  border: var(--border-ink);
  box-shadow: var(--shadow-print-sm);
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  text-align: left;
  color: inherit;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-sizing: border-box;
  position: relative;
}

.kiosk-issue-card:hover {
  transform: translate(-2px, -3px);
  box-shadow: var(--shadow-print);
  background-color: var(--paper-white);
}

.kiosk-issue-card.active {
  border: 2px solid var(--ink-red);
  box-shadow: 3px 3px 0 var(--ink-black);
  background: #FFFBE6;
}

.kiosk-issue-card.active::after {
  content: "ОТКРЫТ";
  position: absolute;
  top: -11px;
  right: 8px;
  background: var(--ink-red);
  color: #fff;
  font-family: var(--font-tech);
  font-size: 9px;
  font-weight: 900;
  padding: 2px 6px;
  border: 1px solid #000;
  z-index: 2;
}

.kiosk-card-cover {
  width: 100%;
  height: 112px;
  border: 1.5px solid var(--ink-black);
  background: #14161a;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kiosk-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  image-rendering: pixelated;
}

.kiosk-card-cover-editorial {
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 8px 10px;
  background: linear-gradient(135deg, #16181d 0%, #262930 65%, #3a1916 100%);
  color: #f4f0e8;
  position: relative;
}

.kiosk-cover-masthead {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--ink-yellow);
  border-bottom: 1px solid rgba(255, 214, 0, 0.35);
  width: 100%;
  padding-bottom: 2px;
}

.kiosk-cover-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  color: #FFFFFF;
}

.kiosk-cover-era {
  position: absolute;
  top: 28px;
  right: 8px;
  font-family: var(--font-tech);
  font-size: 9px;
  font-weight: 700;
  background: var(--ink-red);
  color: #FFF;
  padding: 1px 5px;
}

.kiosk-cover-sub {
  font-family: var(--font-serif);
  font-size: 10px;
  line-height: 1.25;
  color: #e5dfd0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.kiosk-card-open {
  color: var(--ink-red);
  font-size: 10px;
  font-weight: 800;
}

.kiosk-card-num-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-tech);
  font-size: 10px;
  font-weight: 800;
  color: var(--ink-secondary);
  border-bottom: 1px dashed var(--desk-wood);
  padding-bottom: 4px;
  margin-bottom: 6px;
}

.kiosk-card-num {
  color: var(--ink-red);
  font-weight: 900;
}

.kiosk-card-theme {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 800;
  color: var(--ink-black);
  line-height: 1.2;
  margin: 0 0 6px 0;
  min-height: 32px;
}

.kiosk-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-tech);
  font-size: 10px;
  font-weight: 700;
  margin-top: 6px;
  padding-top: 4px;
  border-top: 1px solid var(--desk-wood);
}

.kiosk-card-count {
  background: var(--ink-black);
  color: #FFF;
  padding: 1px 5px;
  border-radius: 2px;
}

/* Active Issue Status Banner */
.active-issue-banner {
  margin-top: 12px;
  padding: 8px 14px;
  background: var(--ink-black);
  color: var(--paper-white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-tech);
  font-size: 12px;
}

.active-issue-label {
  font-weight: 700;
  color: var(--ink-yellow);
}

.active-issue-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  color: #FFF;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Mobile Tweaks */
@media (max-width: 768px) {
  .issues-kiosk-section {
    padding: 24px 12px 14px;
  }
  .kiosk-search-input {
    width: 100%;
    min-width: 0;
  }
  .kiosk-nav-arrow {
    display: none;
  }
  .kiosk-issue-card {
    flex: 0 0 175px;
  }
}

/* ==========================================================================
   AUTHENTIC PRINT EDITORIAL DISPATCH («КОЛОНКА РЕДАКЦИИ, ХРОНИКИ И КУРЬЕЗЫ»)
   ========================================================================== */
.mag-editorial-dispatch-section {
  width: 100%;
  max-width: 1400px;
  margin: 18px auto 26px;
  background-color: var(--paper-white);
  background-image: var(--paper-white-grain-img);
  background-repeat: repeat;
  background-size: 512px 512px;
  background-blend-mode: normal;
  border: var(--border-ink-thick);
  box-shadow: var(--shadow-print-lg);
  box-sizing: border-box;
  padding: 0;
  overflow: hidden;
}

.dispatch-header-bar {
  background: var(--ink-red);
  color: #FFF;
  padding: 8px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-bottom: 2px solid var(--ink-black);
}

.dispatch-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 0;
}

.dispatch-col {
  padding: 16px 20px;
  box-sizing: border-box;
  border-right: 1px solid var(--ink-black);
}

.dispatch-col:last-child {
  border-right: none;
}

.dispatch-col-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 900;
  color: var(--ink-black);
  text-transform: uppercase;
  margin: 0 0 10px 0;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--ink-black);
  display: flex;
  align-items: center;
  gap: 6px;
}

.dispatch-editor-badge {
  font-family: var(--font-tech);
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-secondary);
  margin-bottom: 8px;
}

.dispatch-editor-headline {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  color: var(--ink-red);
  line-height: 1.2;
  margin: 0 0 10px 0;
}

.dispatch-editor-text {
  font-family: var(--font-serif);
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-black);
  margin: 0 0 12px 0;
  text-align: justify;
}

.dispatch-editor-text::first-letter {
  font-family: var(--font-display);
  font-size: 38px;
  float: left;
  line-height: 32px;
  padding-right: 8px;
  padding-top: 4px;
  color: var(--ink-red);
  font-weight: 900;
}

.dispatch-quote-box {
  background: var(--ink-yellow);
  color: #000;
  padding: 8px 12px;
  border: 1px solid #000;
  box-shadow: 2px 2px 0 #000;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 12.5px;
  line-height: 1.4;
  margin-top: 10px;
}

.dispatch-chrono-list, .dispatch-facts-list {
  list-style: none;
  padding: 0;
  margin: 0 0 12px 0;
}

.dispatch-chrono-item, .dispatch-fact-item {
  position: relative;
  padding-left: 18px;
  font-family: var(--font-serif);
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--ink-charcoal);
  margin-bottom: 8px;
}

.dispatch-chrono-item::before {
  content: "■";
  position: absolute;
  left: 0;
  color: var(--ink-red);
  font-size: 10px;
}

.dispatch-fact-item::before {
  content: "★";
  position: absolute;
  left: 0;
  color: var(--ink-black);
  font-size: 11px;
}

.dispatch-telecom-box {
  background: #FFFBE6;
  border: 1px dashed var(--ink-black);
  padding: 8px 10px;
  font-family: var(--font-tech);
  font-size: 11px;
  color: var(--ink-black);
  line-height: 1.4;
  margin-top: 10px;
}

.dispatch-mail-box {
  background: #F4F4F0;
  border: 1px solid var(--ink-black);
  padding: 10px;
  margin-bottom: 12px;
}

.dispatch-mail-author {
  font-family: var(--font-tech);
  font-size: 10.5px;
  font-weight: 800;
  color: var(--ink-secondary);
  border-bottom: 1px solid #DDD;
  padding-bottom: 4px;
  margin-bottom: 6px;
}

.dispatch-mail-q {
  font-family: var(--font-serif);
  font-size: 12px;
  font-style: italic;
  margin-bottom: 6px;
  color: var(--ink-black);
}

.dispatch-mail-a {
  font-family: var(--font-serif);
  font-size: 12px;
  color: var(--ink-charcoal);
  border-left: 2px solid var(--ink-red);
  padding-left: 8px;
}

.dispatch-tip-box {
  background: var(--ink-black);
  color: #FFF;
  padding: 8px 10px;
  font-family: var(--font-tech);
  font-size: 11px;
  line-height: 1.35;
}

.dispatch-tip-title {
  color: var(--ink-yellow);
  font-weight: 800;
  margin-bottom: 4px;
}

@media (max-width: 980px) {
  .dispatch-grid {
    grid-template-columns: 1fr;
  }
  .dispatch-col {
    border-right: none;
    border-bottom: 1px solid var(--ink-black);
  }
  .dispatch-col:last-child {
    border-bottom: none;
  }
}

