/* ─── ASPERDA Member Profile Page ─────────────────────────────────────────── */

.asperda-profile-wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px 60px;
  font-family: inherit;
}

/* ── Hero ──────────────────────────────────────────────────────────────────── */
.asperda-profile-hero {
  background: linear-gradient(135deg, #1e3a5f 0%, #0f2040 100%);
  border-radius: 16px;
  margin: 30px 0 36px;
  padding: 40px 48px;
  color: #fff;
}
.asperda-profile-hero__inner {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.asperda-profile-hero__logo {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  background: rgba(255,255,255,.12);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255,255,255,.2);
}
.asperda-profile-hero__logo img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}
.asperda-profile-hero__info { flex: 1; min-width: 0; }
.asperda-profile-hero__type {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.7);
  margin: 0 0 6px;
}
.asperda-profile-hero__name {
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 12px;
  line-height: 1.2;
  color: #fff;
}
.asperda-profile-hero__meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
  color: rgba(255,255,255,.8);
  margin-bottom: 14px;
}
.asperda-profile-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}
.asperda-profile-hero__badges .asperda-badge {
  background: rgba(255,255,255,.15);
  color: #fff;
  border-color: rgba(255,255,255,.25);
}
.asperda-profile-hero__cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.asperda-btn--lg {
  padding: 12px 24px !important;
  font-size: 15px !important;
}
.asperda-btn--outline {
  background: transparent;
  border: 2px solid rgba(255,255,255,.5);
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s;
}
.asperda-btn--outline:hover {
  background: rgba(255,255,255,.12);
  color: #fff;
}

/* ── Body layout ───────────────────────────────────────────────────────────── */
.asperda-profile-body {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: start;
}
@media (max-width: 860px) {
  .asperda-profile-body { grid-template-columns: 1fr; }
  .asperda-profile-hero { padding: 28px 24px; }
  .asperda-profile-hero__name { font-size: 24px; }
}
@media (max-width: 560px) {
  .asperda-profile-hero__inner { flex-direction: column; gap: 16px; }
  .asperda-profile-hero__logo { width: 72px; height: 72px; }
  .asperda-profile-hero__logo img { width: 72px; height: 72px; }
}

/* ── Sections ──────────────────────────────────────────────────────────────── */
.asperda-profile-section {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e8eaed;
  padding: 28px 32px;
  margin-bottom: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
}
.asperda-profile-section h2 {
  font-size: 18px;
  font-weight: 700;
  color: #1e3a5f;
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f0f2f5;
}

/* ── Profile content (from WP editor) ─────────────────────────────────────── */
.asperda-profile-content {
  line-height: 1.8;
  color: #374151;
}
.asperda-profile-content h2,
.asperda-profile-content h3 { color: #1e3a5f; margin: 1.4em 0 .6em; }
.asperda-profile-content p  { margin: 0 0 1em; }
.asperda-profile-content ul,
.asperda-profile-content ol { padding-left: 1.4em; margin: 0 0 1em; }
.asperda-profile-content img { max-width: 100%; border-radius: 8px; }

/* ── Fleet grid ────────────────────────────────────────────────────────────── */
.asperda-fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}
.asperda-fleet-card {
  border: 1px solid #e8eaed;
  border-radius: 10px;
  overflow: hidden;
  background: #fafafa;
}
.asperda-fleet-card__photo {
  width: 100%;
  height: 110px;
  object-fit: cover;
}
.asperda-fleet-card__info { padding: 10px 12px; }
.asperda-fleet-card__name { font-weight: 700; font-size: 13px; margin: 0 0 4px; color: #1e3a5f; }
.asperda-fleet-card__detail { font-size: 11px; color: #6b7280; margin: 0 0 4px; display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }
.asperda-fleet-card__price { font-size: 13px; font-weight: 700; color: #B22222; margin: 0 0 4px; }
.asperda-fleet-card__price small { font-weight: 400; font-size: 11px; color: #6b7280; }
.asperda-fleet-card__status { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin: 0; }
.asperda-fleet-available { color: #065f46; }
.asperda-fleet-rented     { color: #1e40af; }
.asperda-fleet-maintenance{ color: #92400e; }
.asperda-fleet-idle       { color: #6b7280; }

/* ── Map ───────────────────────────────────────────────────────────────────── */
.asperda-map {
  height: 380px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 12px;
  border: 1px solid #e8eaed;
  z-index: 0; /* prevent z-index conflicts with Elementor */
}
.asperda-map-address {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
}
.asperda-map-pin {
  font-size: 28px;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.3));
}
.leaflet-container {
  font-family: inherit;
  font-size: 13px;
}

/* ── Sidebar ───────────────────────────────────────────────────────────────── */
.asperda-profile-sidebar { position: sticky; top: 90px; }
.asperda-sidebar-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e8eaed;
  padding: 22px 24px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
}
.asperda-sidebar-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: #1e3a5f;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0f2f5;
}
.asperda-info-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.asperda-info-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px solid #f5f5f5;
  font-size: 13px;
  gap: 10px;
}
.asperda-info-list li:last-child { border-bottom: none; }
.asperda-info-list li span { color: #6b7280; flex-shrink: 0; }
.asperda-info-list li strong { color: #1f2937; text-align: right; }
.asperda-sidebar-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.asperda-sidebar-cta { background: linear-gradient(135deg, #1e3a5f, #0f2040); color: #fff; border: none; }
.asperda-sidebar-cta h3 { color: #fff; border-color: rgba(255,255,255,.15); }
.asperda-sidebar-cta p { font-size: 13px; color: rgba(255,255,255,.8); margin: 0 0 14px; }
.asperda-sidebar-cta .asperda-btn--outline { border-color: rgba(255,255,255,.4); display: block; text-align: center; }
