/* Base elements */
:root {
  --color-occupied: #04d518;
  --color-vacant: #708090;
  --color-construction: #edd922;
  --color-new-tenant: #de0000;
  --color-text: #213547;
  --color-background: #ffffff;
  --color-border: #e5e5e5;
}

body {
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  margin: 0;
  padding: 0;
  color: var(--color-text);
  background-color: var(--color-background);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header and Footer */
header {
  padding: 12px 0;
}

.header-logo {
  max-height: 25px;
  width: auto;
  display: block;
  margin: 10px 0;
}

footer {
  padding: 20px 0;
  border-top: 1px solid var(--color-border);
  font-size: 14px;
}

/* Content Layout */
.content {
  padding: 10px 0 40px;
}

hr {
  border: 0;
  border-top: 1px solid var(--color-border);
  margin: 30px 0;
}

/* Business Information */
.business-photo {
  width: 100%;
  margin-top: 0px;
  margin-bottom: 16px;
}

.business-photo img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid #bcbcbc;
}

.photo-meta {
  text-align: right;
  font-size: 10px;
  color: #666;
  margin-top: 4px;
}

.business-info {
  margin-bottom: 24px;
}

.address-line {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.3;
  margin: 0 0 8px 0;
  display: flex;
  align-items: center;
}

.status-dot {
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
}

.status-text {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  font-weight: 500;
  font-size: 14px;
  margin: 0 0 0 0;
}

.business-name {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.2; /* To control spacing between lines when business name wraps */
  margin-top: 4px; /* To control spacing between status and business name */
}

/* Timeline section */
.timeline h3 {
  /* Match the status text style */
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  font-weight: 500; /* Medium weight */
  font-size: 14px; /* Same as status text */
  margin: 0 0 16px 0;
}

.timeline-entry {
  margin-bottom: 15px;
  display: flex;
}

.timeline-date {
  width: 100px;
  font-weight: 600; /* Semi-bold */
  font-size: 12px; /* 2px smaller than header */
}

.timeline-event {
  flex: 1;
  font-size: 12px; /* 2px smaller than header */
}

/* Map */
.mini-map-container {
  width: 100%;
  height: 300px;
  margin: 10px 0;
  border: 1px solid #bcbcbc;
}

.map-link {
  text-align: center;
  margin-top: 10px;
  margin-bottom: 30px;
  font-size: 14px;
}

.map-link a {
  color: #646cff;
  text-decoration: none;
}

.map-link a:hover {
  text-decoration: underline;
}

/* Locations Grid (for index page) */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.location-card {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
  padding: 15px;
}

/* Responsive Adjustments */
@media (min-width: 768px) {
  .header-logo {
    max-height: 60px;
  }

  .content-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
  }

  .content-main {
    flex: 1;
    min-width: 0;
  }

  .content-map {
    width: 300px;
  }
}
