/* ============================================================
   home.css — billtrochim.net homepage only
   Loads alongside shared.css on index.htm
   ============================================================ */

/* --- Hero section --- */
.bt-hero {
  background: #ECEAF8;
  padding: 40px 28px;
  border-bottom: 1px solid #DDDAF4;
}

.bt-hero-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.bt-hero-photo-wrap {
  flex-shrink: 0;
  width: 172px;
  background: #ECEAF8;
  border-radius: 12px;
  border: 2px solid #9080D0;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 196px;
}

.bt-hero-photo {
  width: 168px;
  display: block;
  object-fit: contain;
  object-position: bottom center;
}

.bt-hero-text {
  flex: 1;
}

.bt-hero-name {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.9rem;
  font-weight: 500;
  color: #2D1B69;
  margin-bottom: 4px;
  line-height: 1.2;
}

.bt-hero-titles {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: #6350B8;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
  line-height: 1.6;
}

.bt-hero-bio {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.95rem;
  color: #2a2a3e;
  line-height: 1.8;
}

.bt-hero-bio a {
  color: #432D8F;
  text-decoration: underline;
}

@media (max-width: 640px) {
  .bt-hero {
    padding: 28px 16px;
  }
  .bt-hero-inner {
    flex-direction: column;
    gap: 20px;
  }
  .bt-hero-photo-wrap {
    width: 130px;
    min-height: 150px;
  }
  .bt-hero-photo {
    width: 126px;
  }
  .bt-hero-name {
    font-size: 1.5rem;
  }
}

/* --- Tagline band --- */
.bt-tagline {
  background: #2D1B69;
  padding: 20px 28px;
}

.bt-tagline-inner {
  max-width: 960px;
  margin: 0 auto;
  font-family: 'Lora', Georgia, serif;
  font-size: 0.98rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.75;
}

.bt-tagline-inner em {
  font-style: normal;
  font-weight: 500;
  color: #B0A6E0;
}

@media (max-width: 600px) {
  .bt-tagline {
    padding: 18px 16px;
  }
}

/* --- Resource cards section --- */
.bt-cards-section {
  background: #ffffff;
  padding: 36px 28px;
}

.bt-cards-inner {
  max-width: 960px;
  margin: 0 auto;
}

.bt-section-label {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 18px;
}

.bt-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.bt-card {
  border: 1px solid #e8e6f0;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  display: block;
  transition: border-color 0.15s, transform 0.1s;
}

.bt-card:hover {
  border-color: #B0A6E0;
  transform: translateY(-2px);
  text-decoration: none;
}

.bt-card-header {
  padding: 11px 16px;
}

.bt-card-header-title {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.bt-card-body {
  padding: 14px 16px;
  background: #ffffff;
}

.bt-card-desc {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.88rem;
  color: #3a3a4e;
  line-height: 1.7;
  margin-bottom: 10px;
}

.bt-card-cta {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
}

@media (max-width: 600px) {
  .bt-cards-section {
    padding: 28px 16px;
  }
  .bt-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Also available row --- */
.bt-also {
  background: #f4f3fb;
  padding: 18px 28px;
  border-top: 1px solid #e8e6f0;
}

.bt-also-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.bt-also-label {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #888;
  white-space: nowrap;
  margin-right: 4px;
}

.bt-also-chip {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.82rem;
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid #C8C3E8;
  color: #432D8F;
  background: #ffffff;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}

.bt-also-chip:hover {
  background: #ECEAF8;
  border-color: #9080D0;
  text-decoration: none;
}

@media (max-width: 600px) {
  .bt-also {
    padding: 16px;
  }
}
