/* KSC CONTENT HUB cards for /masquerade/ — EVENT / REPORT / JOURNAL. */
.ke-masq-hub-list { display: grid; gap: 1.25rem; margin-top: 1.2rem; }
.ke-masq-hub-list--events { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ke-masq-hub-list--reports { display: flex; flex-direction: column; gap: 1.35rem; }
.ke-masq-hub-list--journal { display: flex; flex-direction: column; gap: 1.35rem; }

/* Common card styling */
.ke-masq-hub-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(212,175,55,.24);
  border-radius: 6px;
  background: rgba(20,16,18,.78);
  overflow-wrap: anywhere;
  transition: border-color .25s ease, transform .25s ease, background-color .25s ease;
}
.ke-masq-hub-card:hover {
  border-color: rgba(212,175,55,.5);
}

/* EVENT Card: vertical stack */
.ke-masq-hub-media {
  width: 100%;
  aspect-ratio: 5 / 2;
  overflow: hidden;
  background: #141214;
}
.ke-masq-hub-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.ke-masq-hub-card:hover .ke-masq-hub-media img {
  transform: scale(1.03);
}

.ke-masq-hub-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 1.2rem;
  min-width: 0;
}

.ke-masq-hub-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem;
  margin-bottom: .6rem;
}

.ke-masq-hub-date {
  color: #c7aa68;
  font-size: .78rem;
  letter-spacing: .06em;
  font-family: "Bodoni 72", Didot, Georgia, serif;
}

.ke-masq-hub-badge {
  display: inline-block;
  padding: .15rem .45rem;
  border: 1px solid rgba(212,175,55,.3);
  border-radius: 3px;
  background: rgba(142,26,45,.2);
  color: #ead9a4;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .04em;
}

.ke-masq-hub-badge--category {
  background: rgba(212,175,55,.15);
  border-color: rgba(212,175,55,.4);
  color: #f1ecdf;
}

.ke-masq-hub-title {
  margin: 0 0 .7rem;
  font-size: 1.05rem;
  line-height: 1.5;
  color: #fff;
}
.ke-masq-hub-title a {
  color: #f5f5f5;
  text-decoration: none;
}
.ke-masq-hub-title a:hover,
.ke-masq-hub-link:hover {
  color: #d4af37;
  text-decoration: underline;
}

.ke-masq-hub-excerpt {
  margin: 0 0 .85rem;
  color: rgba(255,255,255,.68);
  line-height: 1.6;
  font-size: .88rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ke-masq-hub-link {
  margin-top: auto;
  color: #d4af37;
  font-size: .88rem;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
}

/* REPORT Section */
.ke-masq-hub-reports {
  margin-top: 2.2rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(212,175,55,.2);
}
.ke-masq-hub-reports__header {
  margin-bottom: .85rem;
}
.ke-masq-hub-reports__header p {
  margin: 0 0 .25rem;
  color: #d4af37;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.ke-masq-hub-reports__header h3 {
  margin: 0;
  color: #fff;
  font-size: 1.25rem;
}

/* REPORT Card: Editorial Layout with Crimson Accent */
.ke-masq-hub-card--report {
  flex-direction: row;
  align-items: stretch;
  border-left: 3px solid #9e2a2b;
  background: rgba(22,14,16,.82);
}
.ke-masq-hub-card--report:hover {
  border-color: rgba(158,42,43,.6);
  border-left-color: #c93b3d;
}
.ke-masq-hub-card--report .ke-masq-hub-media {
  flex: 0 0 38%;
  max-width: 40%;
  aspect-ratio: 5 / 2;
  align-self: stretch;
}
.ke-masq-hub-card--report .ke-masq-hub-body {
  flex: 1 1 60%;
  padding: 1.2rem 1.4rem;
  justify-content: center;
}
.ke-masq-hub-card--report .ke-masq-hub-title {
  font-size: 1.12rem;
  margin-bottom: .65rem;
}

/* JOURNAL Section */
.ke-masq-hub-journal {
  margin-top: 2.2rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(212,175,55,.2);
}
.ke-masq-hub-journal__header {
  margin-bottom: .85rem;
}
.ke-masq-hub-journal__header p {
  margin: 0 0 .25rem;
  color: #d4af37;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.ke-masq-hub-journal__header h3 {
  margin: 0;
  color: #fff;
  font-size: 1.25rem;
}

/* JOURNAL Card: Horizontal Editorial Layout with Gold Accent */
.ke-masq-hub-card--journal {
  flex-direction: row;
  align-items: stretch;
  border-left: 3px solid #d4af37;
  background: rgba(18,14,16,.82);
}
.ke-masq-hub-card--journal:hover {
  border-color: rgba(212,175,55,.5);
}
.ke-masq-hub-card--journal .ke-masq-hub-media {
  flex: 0 0 38%;
  max-width: 40%;
  aspect-ratio: 5 / 2;
  align-self: stretch;
}
.ke-masq-hub-card--journal .ke-masq-hub-body {
  flex: 1 1 60%;
  padding: 1.2rem 1.4rem;
  justify-content: center;
}
.ke-masq-hub-card--journal .ke-masq-hub-title {
  font-size: 1.12rem;
  margin-bottom: .65rem;
}

/* Mobile Responsive */
@media (max-width: 767px) {
  .ke-masq-hub-list--events {
    grid-template-columns: 1fr;
  }
  .ke-masq-hub-card--report,
  .ke-masq-hub-card--journal {
    flex-direction: column;
  }
  .ke-masq-hub-card--report .ke-masq-hub-media,
  .ke-masq-hub-card--journal .ke-masq-hub-media {
    flex: none;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 5 / 2;
  }
  .ke-masq-hub-card--report .ke-masq-hub-body,
  .ke-masq-hub-card--journal .ke-masq-hub-body {
    padding: 1.1rem;
  }
}

/* CONTACT Section: X and LINE Cards */
.mq-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  width: 100%;
  max-width: 860px;
  margin: 2.4rem auto 0;
  text-align: left;
}

.mq-contact-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.8rem;
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 6px;
  background: rgba(14, 11, 13, 0.85);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.mq-contact-card:hover {
  border-color: rgba(212, 175, 55, 0.6);
  transform: translateY(-2px);
}

.mq-contact-card--line {
  border-color: rgba(92, 180, 119, 0.4);
  background: linear-gradient(145deg, rgba(16, 32, 22, 0.9), rgba(10, 20, 14, 0.95));
}

.mq-contact-card--line:hover {
  border-color: rgba(92, 180, 119, 0.75);
}

.mq-contact-card-top {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 0.8rem;
}

.mq-contact-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: #d4af37;
  font-family: "Bodoni 72", Didot, "Hiragino Mincho ProN", serif;
  font-size: 0.95rem;
  font-weight: 600;
}

.mq-contact-card--line .mq-contact-mark {
  color: #5cb477;
  border-color: #5cb477;
}

.mq-contact-card h3 {
  margin: 0;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 500;
}

.mq-contact-card-copy {
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  line-height: 1.6;
}

.mq-contact-card .button {
  width: 100%;
  margin-top: auto;
}

.mq-contact-card--line .button-primary {
  background: #1b4d2e;
  border-color: #5cb477;
  color: #fff;
}
.mq-contact-card--line .button-primary:hover {
  background: #24683e;
  border-color: #72cf8f;
}

@media (max-width: 767px) {
  .mq-contact-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
}
