
/* ============================================================
   1) Page Frame
   ============================================================ */
.article-hub {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + 56px) 0 96px;
  background: var(--bg);
  border-bottom: var(--border-w) solid var(--border);
}

.article-hub-deco {
  position: absolute;
  z-index: 0;
  border: var(--border-w) solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.article-hub-deco--blue {
  width: 128px;
  height: 128px;
  top: calc(var(--header-h) + 20px);
  right: 42px;
  background: var(--bg-blue);
  transform: rotate(4deg);
}

.article-hub-deco--yellow {
  width: 72px;
  height: 72px;
  top: calc(var(--header-h) + 96px);
  right: 182px;
  background: var(--bg-yellow);
}

.article-hub-deco--green {
  width: 96px;
  height: 96px;
  left: 26px;
  bottom: 30px;
  background: var(--bg-green);
  transform: rotate(-5deg);
}

.article-hub-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.article-hub-header {
  margin-bottom: 0;
}

.article-hub-subtitle {
  max-width: 760px;
  margin-top: 16px;
  padding-left: 14px;
  border-left: var(--border-w) solid var(--border);
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.9;
}

/* ============================================================
   2) Layout
   ============================================================ */
.article-hub-grid {
  display: block;
}

.article-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

/* ============================================================
   3) Article Cards
   ============================================================ */
.article-option {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 272px;
  padding: 24px;
  border: var(--border-w) solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.article-option:nth-child(1) {
  background: #ffffff;
}

.article-option:nth-child(2) {
  background: #fffdf1;
}

.article-option:nth-child(3) {
  background: #f5fff8;
}

.article-option:nth-child(4) {
  background: #fff4f8;
}

.article-option:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-lg);
}

.article-option:active {
  transform: translate(2px, 2px);
  box-shadow: none;
}

.article-option-head {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.article-option-index {
  color: var(--text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
}

.article-option-category {
  max-width: 8rem;
  text-align: center;
  padding: 4px 10px;
  border: var(--border-w) solid var(--border);
  background: var(--bg-yellow);
  color: var(--text);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.article-option-meta {
  justify-self: end;
  color: var(--text-muted);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
}

.article-option-title {
  position: relative;
  z-index: 1;
  margin-bottom: 12px;
  font-size: 1.24rem;
  letter-spacing: -0.01em;
  line-height: 1.3;
  text-transform: uppercase;
}

.article-option-excerpt {
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.72;
  flex: 1;
}

.article-option-foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content:flex-start;
  gap: 12px;
}

.article-option-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.article-option-tags span {
  padding: 4px 10px;
  border: var(--border-w) solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-green);
  color: var(--text);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.article-option-arrow {
  font-size: 1.2rem;
  line-height: 1;
}

/* ============================================================
   4) Responsive
   ============================================================ */
@media (max-width: 1100px) {
  .article-hub-deco--blue,
  .article-hub-deco--yellow,
  .article-hub-deco--green {
    opacity: 0.4;
  }
}

@media (max-width: 900px) {
  .article-options {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .article-hub {
    padding-top: calc(var(--header-h) + 40px);
  }

  .article-option-head {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
  }

  .article-option-meta {
    grid-column: 1 / -1;
    justify-self: start;
  }
}
