/* ==========================================================================
   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: "★ 213 СПЕЦВЫПУСКОВ • 7288 ИГР ★";
  position: absolute;
  top: -13px;
  left: 24px;
  background: var(--ink-red);
  color: var(--paper-white);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
  padding: 3px 12px;
  border: var(--border-ink);
  box-shadow: 2px 2px 0 var(--ink-black);
  text-transform: uppercase;
}

.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 h2 {
  font-family: var(--font-display);
  font-size: clamp(20px, 3.2vw, 28px);
  font-weight: 900;
  color: var(--ink-black);
  text-transform: uppercase;
  margin: 0 0 4px 0;
  letter-spacing: 0.5px;
}

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

/* Global Jump-to-Game Search Bar */
.kiosk-search-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
}

.kiosk-search-input {
  width: 280px;
  height: 36px;
  padding: 0 10px;
  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: multiply;
  border: var(--border-ink);
  box-sizing: border-box;
  outline: none;
}

.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-white);
  background-image: var(--paper-white-grain-img);
  background-repeat: repeat;
  background-size: 256px 256px;
  background-blend-mode: multiply;
  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 {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 6px 4px 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 205px;
  background-color: var(--paper-white);
  background-image: var(--paper-white-grain-img);
  background-repeat: repeat;
  background-size: 256px 256px;
  background-blend-mode: multiply;
  border: var(--border-ink);
  box-shadow: var(--shadow-print-sm);
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.15s ease;
  box-sizing: border-box;
  position: relative;
}

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

.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: -9px;
  right: 8px;
  background: var(--ink-red);
  color: #fff;
  font-family: var(--font-tech);
  font-size: 9px;
  font-weight: 900;
  padding: 1px 6px;
  border: 1px solid #000;
}

.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: 14px 10px;
  }
  .kiosk-search-input {
    width: 100%;
  }
  .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: multiply;
  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;
  }
}

