body.module-page {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(8,4,1,.92), rgba(24,9,2,.96)),
    url("../assets/images/hero/hero_background_master.jpg") center top / cover fixed;
  color: #f7ead2;
}

.module-shell {
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto;
  padding: 116px 0 48px;
}

.module-hero {
  min-height: 360px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .65fr);
  gap: 24px;
  align-items: stretch;
  border: 1px solid rgba(210,151,54,.32);
  background: rgba(10,5,2,.68);
  box-shadow: 0 24px 60px rgba(0,0,0,.46);
  overflow: hidden;
}

.module-hero__copy {
  padding: clamp(28px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.module-kicker,
.module-data-state {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 8px;
  border: 1px solid rgba(226,168,60,.4);
  border-radius: 999px;
  padding: 6px 11px;
  background: rgba(226,168,60,.1);
  color: #f0bd5f;
  font: 900 11px/1 "Orbitron", sans-serif;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.module-data-state::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b98938;
  box-shadow: 0 0 12px rgba(185,137,56,.72);
}

.module-data-state.is-live {
  color: #a9f3bf;
  border-color: rgba(93,219,138,.45);
  background: rgba(39,174,96,.12);
}

.module-data-state.is-live::before { background: #56e08a; }

.module-data-state.is-fallback {
  color: #ffd28b;
  border-color: rgba(226,168,60,.5);
}

.module-title {
  margin: 24px 0 10px;
  font: 900 clamp(42px, 7vw, 94px)/.9 "Orbitron", sans-serif;
  color: #e7b55d;
  text-shadow: 0 5px 0 rgba(0,0,0,.28), 0 0 28px rgba(226,168,60,.22);
}

.module-subtitle {
  max-width: 760px;
  margin: 0;
  color: rgba(255,242,220,.84);
  font: 500 clamp(18px, 2vw, 24px)/1.35 "Inter", sans-serif;
}

.module-hero__panel {
  position: relative;
  min-height: 320px;
  background: linear-gradient(135deg, rgba(226,168,60,.18), rgba(0,0,0,.64));
}

.module-hero__panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .72;
  mix-blend-mode: screen;
}

.module-controls {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  gap: 12px;
  margin: 22px 0;
}

.module-search,
.module-select {
  min-height: 46px;
  border: 1px solid rgba(226,168,60,.34);
  border-radius: 6px;
  background: rgba(10,5,2,.72);
  color: #fff3db;
  padding: 0 14px;
  font: 700 14px "Inter", sans-serif;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0;
  border: 1px solid rgba(226,168,60,.24);
  background: rgba(5,2,0,.58);
}

.module-card {
  min-height: 320px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(226,168,60,.18);
  background: var(--card-color, #8b5a22);
}

.module-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .52;
  transition: transform .8s ease, opacity .3s ease;
}

.module-card:hover img { transform: scale(1.08); opacity: .68; }

.module-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.84));
}

.module-card__body {
  position: absolute;
  inset: auto 0 0;
  padding: 22px;
}

.module-card__type {
  color: #efb851;
  font: 900 11px "Orbitron", sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.module-card h3 {
  margin: 8px 0 6px;
  font: 900 26px/1 "Rajdhani", sans-serif;
}

.module-card p {
  margin: 0 0 14px;
  color: rgba(255,244,225,.8);
  font: 500 14px/1.35 "Inter", sans-serif;
}

.module-card__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.module-empty {
  border: 1px solid rgba(226,168,60,.28);
  background: rgba(10,5,2,.74);
  padding: 34px;
  text-align: center;
  color: rgba(255,244,225,.74);
}

.module-submit-panel {
  border: 1px solid rgba(226,168,60,.28);
  background: rgba(5,2,0,.74);
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(220px, 320px) 1fr;
  margin: 0 0 22px;
  padding: 18px;
}

.module-submit-panel h2 {
  font: 900 28px/1 "Rajdhani", sans-serif;
  margin: 0 0 8px;
}

.module-submit-panel p,
.module-submit-actions span {
  color: rgba(255,244,225,.76);
  font: 600 13px/1.4 "Inter", sans-serif;
}

.module-submit-form {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.module-submit-form label {
  display: grid;
  gap: 5px;
}

.module-submit-form label:has(textarea),
.module-submit-actions {
  grid-column: 1 / -1;
}

.module-submit-form span {
  color: #efb851;
  font: 900 11px "Orbitron", sans-serif;
  text-transform: uppercase;
}

.module-submit-form input,
.module-submit-form textarea {
  border: 1px solid rgba(226,168,60,.32);
  border-radius: 6px;
  background: rgba(10,5,2,.76);
  color: #fff3db;
  padding: 10px;
}

.module-submit-actions {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.module-submit-actions button {
  border: 1px solid rgba(226,168,60,.68);
  border-radius: 6px;
  background: rgba(226,168,60,.18);
  color: #fff3db;
  cursor: pointer;
  font: 900 12px "Orbitron", sans-serif;
  padding: 11px 14px;
  text-transform: uppercase;
}

@media (max-width: 860px) {
  .module-shell { width: min(100% - 24px, 720px); padding-top: 98px; }
  .module-hero { grid-template-columns: 1fr; }
  .module-hero__panel { min-height: 220px; }
  .module-controls { grid-template-columns: 1fr; }
  .module-submit-panel,
  .module-submit-form { grid-template-columns: 1fr; }
}
