/**
 * ==========================================================================
 * ACCR Modern Broadsheet Design System - Interactive & Engagement Hub
 * Photo Gallery, Ranked Most-Read, Opinion Poll & Historical Archive
 * Open Multi-Column Architecture (Cardless Broadsheet Flow)
 * ==========================================================================
 */

/* 1. Photo Gallery Strip */
.gallery_strip_section {
  width: 100%;
  padding: var(--space-2xl) 0;
  background: var(--background);
}

.gallery_strip_grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.gallery_card {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition-fast);
}

.gallery_card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
  transition: transform var(--transition-normal);
}

.gallery_card:hover img {
  transform: scale(1.03);
}

.gallery_card_overlay {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  padding: var(--space-xs) var(--space-md);
  background: linear-gradient(transparent, rgba(7, 24, 44, 0.92) 65%);
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--font-editorial);
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
}

.gallery_card_overlay .ico_inline {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}

/* 2. Lower 3-Column Engagement Hub (Open Columns with Vertical Hairlines) */
.engagement_hub_section {
  width: 100%;
  padding: var(--space-3xl) 0;
  background: var(--bg-surface-subtle);
  border-top: var(--hairline);
  border-bottom: var(--hairline);
}

.engagement_hub_grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.engagement_col {
  display: flex;
  flex-direction: column;
  background: transparent;
  border: none;
  border-left: var(--hairline);
  padding: 0;
  padding-left: var(--space-2xl);
  box-shadow: none;
}

.engagement_col:last-child {
  border-left: none;
  padding-left: 0;
}

.engagement_col .editorial_section_header {
  border-bottom: 2px solid var(--primary);
  padding-bottom: 10px;
  margin-bottom: var(--space-md);
}

.engagement_col .editorial_section_title {
  font-family: var(--font-editorial);
  font-size: var(--text-base);
  font-weight: var(--fw-bold);
  color: var(--primary);
}

/* Most Read Numbered List */
.most_read_list {
  display: flex;
  flex-direction: column;
}

.most_read_item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: 10px 0;
  border-bottom: var(--hairline);
  transition: all var(--transition-fast);
}

.most_read_item:last-child {
  border-bottom: none;
}

.most_read_number {
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  color: var(--primary);
  line-height: 1;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  font-family: var(--font-ui);
  flex-shrink: 0;
}

.most_read_body {
  flex: 1;
  min-width: 0;
}

.most_read_title {
  font-family: var(--font-editorial);
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  color: var(--text-ink);
  line-height: 1.42;
}

.most_read_title a {
  color: var(--text-ink);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.most_read_title a:hover {
  color: var(--primary);
}

.most_read_visits {
  font-family: var(--font-ui);
  font-size: var(--text-2xs);
  color: var(--text-muted);
  margin-top: 2px;
}

/* Poll / Voting Widget */
.poll_box {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.poll_question {
  font-family: var(--font-editorial);
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  color: var(--text-ink);
  line-height: 1.45;
}

.poll_options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.poll_option_label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--text-secondary);
  cursor: pointer;
}

.btn_poll_vote {
  align-self: flex-start;
  padding: 8px 20px;
  background: var(--primary);
  color: #ffffff;
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  border: none;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.btn_poll_vote:hover {
  background: var(--primary-hover);
}

/* Archive Box */
.archive_box {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.archive_desc {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
}

.archive_select_wrap {
  display: flex;
  gap: 8px;
}

.archive_select {
  flex: 1;
  height: 40px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border);
  background: #ffffff;
  padding: 0 10px;
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--text-primary);
  outline: none;
}

.btn_archive_go {
  padding: 0 16px;
  background: var(--primary);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-xs);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: var(--fw-bold);
  cursor: pointer;
}

/* ==========================================================================
 * Responsive Breakpoints
 * ========================================================================== */
@media (max-width: 991px) {
  .gallery_strip_grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .engagement_hub_grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .engagement_col {
    padding-left: 0;
    border-left: none;
    padding-bottom: var(--space-xl);
    border-bottom: var(--hairline);
  }

  .engagement_col:last-child {
    padding-bottom: 0;
    border-bottom: none;
  }
}

@media (max-width: 520px) {
  .gallery_strip_grid {
    grid-template-columns: 1fr;
  }
}
