.tips-hub,
.tips-editorial-hub {
  width: min(100%, 1060px);
  margin: 46px auto 0;
}

.tips-hub-head {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1.05fr);
  gap: 42px;
  align-items: end;
  margin-bottom: 22px;
}

.tips-hub-eyebrow {
  margin: 0 0 9px;
  color: #5b57df;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.tips-hub-title {
  margin: 0;
  color: #11131d;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.tips-hub-intro {
  margin: 0;
  color: rgba(17, 19, 29, 0.62);
  font-size: 15px;
  line-height: 1.7;
}

.tips-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.tips-hub-card {
  position: relative;
  min-height: 204px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(74, 69, 153, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 44px rgba(64, 70, 120, 0.08);
  color: #11131d;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.tips-hub-card::after {
  content: "\2192";
  position: absolute;
  right: 20px;
  bottom: 18px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: #efedff;
  color: #5c50dc;
  font-weight: 900;
}

.tips-hub-card:hover,
.tips-hub-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(91, 80, 220, 0.24);
  box-shadow: 0 24px 54px rgba(64, 70, 120, 0.14);
  outline: none;
}

.tips-hub-card-label {
  margin-bottom: 16px;
  color: #675ce3;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.tips-hub-card h3 {
  max-width: 250px;
  margin: 0;
  font-size: 20px;
  line-height: 1.16;
  letter-spacing: -0.035em;
}

.tips-hub-card p {
  margin: 11px 0 38px;
  color: rgba(17, 19, 29, 0.6);
  font-size: 13px;
  line-height: 1.58;
}

.tips-editorial-hub {
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(32, 33, 67, 0.98), rgba(72, 61, 144, 0.95));
  box-shadow: 0 24px 62px rgba(42, 40, 98, 0.2);
}

.tips-editorial-hub .tips-hub-eyebrow { color: #d3ccff; }
.tips-editorial-hub .tips-hub-title { color: #fff; font-size: clamp(28px, 3.4vw, 42px); }
.tips-editorial-hub .tips-hub-intro { color: rgba(255, 255, 255, 0.72); }

.tips-guide-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.tips-guide-card {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  text-decoration: none;
  transition: transform 0.18s ease, background 0.18s ease;
}

.tips-guide-card:hover,
.tips-guide-card:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.14);
  outline: none;
}

.tips-guide-city {
  color: #d0c8ff;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tips-guide-card strong {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.4;
}

.tips-guide-card span:last-child {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  font-weight: 750;
}

@media (max-width: 900px) {
  .tips-hub-head { grid-template-columns: 1fr; gap: 14px; }
  .tips-hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tips-guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 780px) {
  .tips-page { padding-top: 28px !important; }
}

@media (max-width: 640px) {
  .tips-hub,
  .tips-editorial-hub { margin-top: 30px; }
  .tips-hub-grid { grid-template-columns: 1fr; }
  .tips-hub-card { min-height: 176px; padding: 21px; }
  .tips-editorial-hub { padding: 24px 20px; border-radius: 26px; }
  .tips-guide-grid { grid-template-columns: 1fr; }
  .tips-guide-card { min-height: 126px; }
}
