﻿/* =========================================================
   UNR Housing — Minimal Steps (Badge Above Title)
   - STEP badge stacked above h3
   - Clean dividers and spacing
   - Updated tip bar (dark blue + cyan accent)
   ========================================================= */

.hsx-step {
  margin: 2rem auto;
  max-width: 980px;
  padding: 0 1rem;
}

.hsx-step__block {
  margin-bottom: 2.5rem;
}

/* STEP Header */
.hsx-step__head {
  display: block; /* stack badge and title vertically */
  margin-bottom: .75rem;
}

/* STEP Badge */
.hsx-step__badge {
  display: inline-block;
  background: #041e42;
  color: #fff;
  font-weight: 800;
  font-size: .95rem;
  padding: .45rem .75rem;
  margin-bottom: .4rem; /* space between badge and title */
}

/* Title (inherits h3 site styles) */
.hsx-step__title {
  margin: 0;
  color: #041e42; /* optional accent */
}

/* Subheading / intro paragraph */
.hsx-step__sub {
  margin: .5rem 0 1.25rem 0;
  font-size: 1.1rem;
  color: #222;
  line-height: 1.45;
}

/* List styling with light dividers */
.hsx-step__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
  border-top: 1px solid #e9edf2;
  padding-top: .5rem; /* breathing room before first HR */
}

.hsx-step__list li {
  padding: .9rem 0;
  border-bottom: 1px solid #e9edf2;
  font-size: 1.05rem;
  line-height: 1.5;
}

/* Updated Tip Bar */
.hsx-step__tip {
  margin: .9rem 0 0 0;
  padding: .8rem 1rem;
  background: #041e42;           /* dark blue background */
  border-left: 6px solid #009EDE; /* cyan accent strip */
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.5;
}

.hsx-step__tip strong {
  color: #ffffff;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .hsx-step__badge {
    font-size: .9rem;
    padding: .4rem .65rem;
  }

  .hsx-step__sub   { font-size: 1rem; }
  .hsx-step__list li { font-size: 1rem; }
  .hsx-step__tip { font-size: .95rem; padding: .75rem .9rem; }
}

/* Container */
.hsx-halls { margin: 2rem 0; }
.hsx-halls__title { margin-bottom: .5rem; }
.hsx-halls__intro { margin-bottom: 1.25rem; }

/* Card base */
.hsx-card {
  display: block;
  background: #fff;
  border: 1px solid #e5e8ed;
  border-radius: 0; /* square corners */
  padding: 1rem;
  margin-bottom: 1rem;
  text-decoration: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
  color: inherit;
}

.hsx-card:hover,
.hsx-card:focus {
  border-color: #041e42; /* UNR blue outline on hover */
  box-shadow: 0 3px 10px rgba(0,0,0,.08);
  transform: translateY(-2px);
  outline: none;
}

/* Media layout: image left, text right */
.hsx-card--media {
  display: flex;
  align-items: center;
}

/* Thumbnail wrapper */
.hsx-thumbwrap {
  flex: 0 0 auto;
  width: 120px;
  height: 120px;
  border: 1px solid #e5e8ed;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-right: 1rem; /* replaces gap for spacing */
}

/* Image inside thumbnail */
.hsx-thumb {
  max-width: 120px;
  max-height: 120px;
  width: auto;
  height: auto;
  display: block;
}

/* Text body */
.hsx-card__body { flex: 1 1 auto; }
.hsx-card__title { margin: 0 0 .25rem; }
.hsx-card__text { margin: 0; }

/* Responsive adjustments */
@media (max-width: 640px) {
  .hsx-card--media { align-items: flex-start; flex-direction: column; }
  .hsx-thumbwrap {
    width: 100px;
    height: 100px;
    margin-right: 0;
    margin-bottom: 0.75rem;
  }
  .hsx-thumb { max-width: 100px; max-height: 100px; }
}
