.hur-front,
.hur-front-ticker {
  --hur-bg: #071124;
  --hur-card: #0a1628;
  --hur-line: #1e3a66;
  --hur-text: #e8eef8;
  --hur-soft: #9fb0c8;
  --hur-orange: #ff7a1a;
  --hur-gold: #f5b042;
  box-sizing: border-box;
  color: var(--hur-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.hur-front *,
.hur-front-ticker * {
  box-sizing: border-box;
}

.hur-feed {
  display: grid;
  gap: 18px;
}

.hur-layout-cards,
.hur-layout-magazine {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hur-layout-list {
  grid-template-columns: 1fr;
}

.hur-layout-magazine .hur-front-card:first-child {
  grid-column: span 2;
}

.hur-front-card {
  overflow: hidden;
  border: 1px solid var(--hur-line);
  border-radius: 10px;
  background: linear-gradient(180deg, #0e1b33, var(--hur-bg));
}

.hur-layout-list .hur-front-card {
  align-items: center;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
}

.hur-front-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
}

.hur-layout-list .hur-front-card img {
  height: 100%;
  min-height: 132px;
}

.hur-front-card div {
  padding: 16px;
}

.hur-front-card span {
  color: var(--hur-orange);
  display: block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .02em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.hur-front-card h3 {
  font-size: 20px;
  line-height: 1.18;
  margin: 0 0 9px;
}

.hur-front-card h3 a {
  color: #fff;
  text-decoration: none;
}

.hur-front-card h3 a:hover {
  color: #ffb16d;
}

.hur-front-card p {
  color: var(--hur-soft);
  margin: 0;
}

.hur-breaking {
  display: grid;
  gap: 12px;
}

.hur-breaking article {
  border: 1px solid rgba(230,57,70,.42);
  border-left: 5px solid #e63946;
  border-radius: 10px;
  background: #0a1628;
  padding: 16px;
  position: relative;
}

.hur-breaking strong {
  color: #ff7a1a;
  font-size: 12px;
}

.hur-breaking h3 {
  color: #fff;
  font-size: 18px;
  margin: 6px 0;
}

.hur-breaking span {
  color: #9fb0c8;
  display: block;
}

.hur-breaking a {
  color: #ff9c42;
  display: inline-block;
  font-weight: 800;
  margin-top: 9px;
}

.hur-breaking button {
  border: 1px solid #263f68;
  border-radius: 7px;
  background: #071124;
  color: #dbe7f6;
  cursor: pointer;
  padding: 7px 10px;
  position: absolute;
  right: 12px;
  top: 12px;
}

.hur-front-ticker {
  align-items: stretch;
  background: #0a1628;
  border: 1px solid rgba(255,122,26,.35);
  border-radius: 10px;
  display: flex;
  overflow: hidden;
}

.hur-front-ticker strong {
  align-items: center;
  background: linear-gradient(135deg, #e63946, #ff7a1a);
  color: #fff;
  display: flex;
  font-size: 12px;
  letter-spacing: .04em;
  padding: 0 16px;
  text-transform: uppercase;
}

.hur-front-ticker div {
  display: flex;
  gap: 28px;
  overflow: hidden;
  padding: 11px 16px;
  white-space: nowrap;
}

.hur-front-ticker span {
  color: #fff;
}

.hur-builder {
  border: 1px solid var(--hur-line);
  border-radius: 12px;
  background: linear-gradient(180deg, #0e1b33, #071124);
  padding: 22px;
}

.hur-builder h3 {
  color: #fff;
  font-size: 24px;
  margin: 0 0 16px;
}

.hur-builder-topics {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hur-builder label {
  border: 1px solid #244773;
  border-radius: 8px;
  color: #e8eef8;
  display: flex;
  gap: 8px;
  padding: 10px;
}

.hur-subscribe-row {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.hur-subscribe-row input {
  flex: 1;
  border: 1px solid #244773;
  border-radius: 8px;
  background: #060d1f;
  color: #fff;
  min-height: 44px;
  padding: 10px 12px;
}

.hur-subscribe-row button {
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--hur-orange), var(--hur-gold));
  color: #071124;
  cursor: pointer;
  font-weight: 900;
  padding: 0 18px;
}

.hur-builder small {
  color: #9fb0c8;
  display: block;
  margin-top: 10px;
}

.hur-success {
  border-left: 4px solid #34d399;
  background: rgba(16,185,129,.13);
  color: #d1fae5;
  padding: 10px 12px;
}

.hur-error {
  border-left: 4px solid #e63946;
  background: rgba(230,57,70,.13);
  color: #ffe3e5;
  padding: 10px 12px;
}

@media (max-width: 900px) {
  .hur-layout-cards,
  .hur-layout-magazine,
  .hur-builder-topics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hur-layout-magazine .hur-front-card:first-child {
    grid-column: span 1;
  }
}

@media (max-width: 640px) {
  .hur-layout-cards,
  .hur-layout-magazine,
  .hur-builder-topics,
  .hur-layout-list .hur-front-card {
    grid-template-columns: 1fr;
  }
  .hur-subscribe-row {
    display: grid;
  }
}
