/* ==========================================================================
   TOURSBYLOCALS INSPIRED GUIDE PROFILE PAGE STYLES - TRIPINBLINK
   ========================================================================== */

.guide-profile-wrapper {
  background-color: #f8fafc;
  padding-bottom: 80px;
}

/* Cover & Hero Banner */
.guide-cover-banner {
  height: 280px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.guide-cover-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 27, 68, 0.45) 0%, rgba(0, 27, 68, 0.85) 100%);
}

.guide-hero-card {
  position: relative;
  margin-top: -80px;
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px rgba(0, 27, 68, 0.08);
  padding: 30px;
  z-index: 10;
  margin-bottom: 30px;
}

/* Header Grid Row & Group */
.guide-hero-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.guide-hero-info-group {
  display: flex;
  align-items: flex-end;
  gap: 24px;
  flex: 1 1 auto;
}

.guide-avatar-box {
  position: relative;
  width: 130px;
  height: 130px;
  margin-top: -85px;
  flex-shrink: 0;
}

.guide-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #ffffff;
  box-shadow: 0 8px 24px rgba(0, 27, 68, 0.15);
}

.guide-verified-badge {
  position: absolute;
  bottom: 4px;
  right: 4px;
  background: #10b981;
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  border: 3px solid #ffffff;
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
}

.guide-details-box {
  padding-top: 6px;
}

.guide-hero-name {
  font-size: 30px;
  font-weight: 800;
  color: #001b44;
  margin-bottom: 4px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.guide-hero-subtitle {
  font-size: 15px;
  font-weight: 600;
  color: var(--brand-teal, #00afa9);
  margin-bottom: 12px;
  line-height: 1.4;
}

.guide-meta-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 14px;
  color: #475569;
  margin-bottom: 0;
}

.guide-meta-item {
  display: inline-flex;
  align-items: flex-start;
  gap: 6px;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.5;
  min-height: 24px;
}

.guide-meta-item i {
  color: var(--brand-teal, #00afa9);
  font-size: 17px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 20px;
  width: 18px;
  flex-shrink: 0;
  position: relative;
  top: 1px;
}

.guide-meta-item span {
  display: inline-block;
  line-height: 1.5;
  font-size: 14px;
  color: #475569;
  font-weight: 600;
  word-break: break-word;
}

.guide-hero-actions-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 6px;
}

.guide-stats-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid #f1f5f9;
}

.stat-chip {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  word-break: break-word;
}

.stat-chip i {
  color: #facc15;
}

.btn-msg-guide {
  background: var(--brand-teal, #00afa9);
  color: #ffffff !important;
  border-radius: 999px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 700;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(0, 175, 169, 0.3);
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-msg-guide:hover {
  background: #008f8a;
  transform: translateY(-2px);
}

.btn-ask-custom {
  background: #ffffff;
  color: #001b44 !important;
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 700;
  border: 1.5px solid #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-ask-custom:hover {
  border-color: #001b44;
  background: #f8fafc;
}

/* Profile Section Card */
.profile-section-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(0, 27, 68, 0.03);
  padding: 28px;
  margin-bottom: 24px;
}

.section-card-title {
  font-size: 20px;
  font-weight: 800;
  color: #001b44;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  word-break: break-word;
}

.section-card-title i {
  color: var(--brand-teal, #00afa9);
}

.bio-paragraph {
  font-size: 15px;
  line-height: 1.7;
  color: #475569;
  word-break: break-word;
}

/* Credentials Checklist */
.credentials-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.credentials-list li {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: #1e293b;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  word-break: break-word;
}

.credentials-list li i {
  color: #10b981;
  font-size: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Specialties Pills */
.specialty-tag {
  background: rgba(0, 175, 169, 0.08);
  border: 1px solid rgba(0, 175, 169, 0.2);
  color: var(--brand-teal, #00afa9);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  display: inline-block;
  margin-right: 8px;
  margin-bottom: 8px;
  word-break: break-word;
  white-space: normal;
  max-width: 100%;
}

/* Review Cards */
.review-card {
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.review-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.reviewer-name {
  font-size: 15px;
  font-weight: 700;
  color: #001b44;
  word-break: break-word;
}

.review-date {
  font-size: 12.5px;
  color: #94a3b8;
}

.review-stars {
  color: #facc15;
  font-size: 14px;
  margin-bottom: 8px;
}

.review-text {
  font-size: 14px;
  line-height: 1.6;
  color: #475569;
  font-style: italic;
  word-break: break-word;
}

/* Sticky Contact Sidebar */
.sticky-guide-sidebar {
  position: sticky;
  top: 100px;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 30px rgba(0, 27, 68, 0.06);
  padding: 24px;
}

.sidebar-title {
  font-size: 18px;
  font-weight: 800;
  color: #001b44;
  margin-bottom: 8px;
  word-break: break-word;
}

.sidebar-subtitle {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 20px;
  word-break: break-word;
}

.sidebar-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #475569;
  margin-bottom: 10px;
  word-break: break-word;
}

.sidebar-trust-item i {
  color: var(--brand-teal, #00afa9);
  font-size: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Tour Card Alignment Fix inside Profile */
.guide-profile-wrapper .tbl-tour-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.guide-profile-wrapper .tbl-card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.guide-profile-wrapper .tbl-card-footer {
  margin-top: auto;
}

.profile-empty-box {
  text-align: center;
  padding: 36px 20px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 14px;
  color: #64748b;
}

.profile-empty-box i {
  font-size: 32px;
  color: var(--brand-teal, #00afa9);
  display: block;
  margin-bottom: 8px;
}

.profile-empty-box p {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
}

.creator-reply-inline {
  margin-top: 12px;
  padding: 12px 14px;
  background: #f8fafc;
  border-left: 3px solid var(--brand-teal, #00afa9);
  border-radius: 0 10px 10px 0;
  font-size: 13.5px;
  color: #475569;
}

.creator-reply-inline strong {
  display: block;
  color: #001b44;
  margin-bottom: 4px;
  font-size: 12.5px;
}

.guide-contact-input {
  border-radius: 10px !important;
  padding: 10px 14px !important;
  font-size: 13.5px !important;
}

.guide-sidebar-divider {
  border-color: #f1f5f9;
}

.tbl-spec-pill-success {
  color: #059669 !important;
  background: rgba(16, 185, 129, 0.08) !important;
  border-color: rgba(16, 185, 129, 0.2) !important;
}

.tbl-spec-pill-success i {
  color: #059669 !important;
}

/* Media Queries & Responsive Adjustments */
@media (max-width: 991.98px) {
  .sticky-guide-sidebar {
    position: relative !important;
    top: 0 !important;
    margin-top: 10px;
  }
}

@media (max-width: 767.98px) {
  .guide-profile-wrapper {
    overflow-x: hidden;
  }

  .guide-cover-banner {
    height: 180px;
  }

  .guide-hero-card {
    padding: 20px 16px;
    margin-top: -50px;
    border-radius: 18px;
  }

  .guide-hero-header-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }

  .guide-hero-info-group {
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    gap: 12px;
  }

  .guide-avatar-box {
    margin-top: -65px;
    width: 110px;
    height: 110px;
  }

  .guide-details-box {
    padding-top: 0;
    text-align: center;
    width: 100%;
  }

  .guide-hero-name {
    font-size: 22px;
    word-break: break-word;
  }

  .guide-hero-subtitle {
    font-size: 14px;
    word-break: break-word;
    margin-bottom: 10px;
  }

  .guide-meta-row {
    justify-content: center;
    gap: 8px;
    flex-direction: column;
    align-items: center;
  }

  .guide-meta-item {
    justify-content: center;
    text-align: center;
    width: 100%;
  }

  .guide-hero-actions-group {
    width: 100%;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
  }

  .btn-msg-guide,
  .btn-ask-custom {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .guide-stats-strip {
    justify-content: center;
    gap: 8px;
  }

  .stat-chip {
    font-size: 12px;
    padding: 5px 12px;
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }

  .profile-section-card {
    padding: 20px 16px;
    border-radius: 16px;
  }

  .section-card-title {
    font-size: 17px;
    word-break: break-word;
  }

  .bio-paragraph {
    font-size: 14px;
    line-height: 1.6;
  }

  .credentials-list {
    grid-template-columns: 1fr;
  }

  .credentials-list li {
    font-size: 13px;
    align-items: flex-start;
    word-break: break-word;
  }

  .credentials-list li i {
    margin-top: 2px;
  }

  .specialty-tag {
    font-size: 12.5px;
    padding: 5px 12px;
    margin-right: 6px;
    margin-bottom: 6px;
    word-break: break-word;
    white-space: normal;
    display: inline-block;
  }

  .review-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  .reviewer-name {
    font-size: 14px;
    word-break: break-word;
  }

  .sticky-guide-sidebar {
    padding: 20px 16px;
    border-radius: 16px;
  }

  .sidebar-title {
    font-size: 17px;
    word-break: break-word;
  }

  .sidebar-trust-item {
    font-size: 12.5px;
    align-items: flex-start;
    word-break: break-word;
  }
}
