/* ==========================================================================
   Great Dubai - SEO copy under the brand logos on /rent-a-car/brands
   (resources/views/cars_modul/frontend/includes/brands_rent_content.blade.php)

   Sits inside .gd-listing-page, so it reuses that page's palette:
   #0f172a ink, #475569 body, #e2e8f0 borders, #7c3aed accent.
   ========================================================================== */

.gd-bc {
  margin-top: 3rem;
  color: #475569;
  font-size: 15px;
  line-height: 1.65;
}

.gd-bc-section {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.75rem 1.75rem 1.5rem;
  margin-bottom: 1.25rem;
}

.gd-bc h2 {
  color: #0f172a;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0 0 0.75rem;
}

.gd-bc h3 {
  color: #0f172a;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 0.5rem;
}

.gd-bc p {
  color: #475569;
  margin: 0 0 0.75rem;
}

.gd-bc p:last-child {
  margin-bottom: 0;
}

.gd-bc strong {
  color: #0f172a;
}

/* ===== Category / audience cards ===== */
.gd-bc-cats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 1.25rem;
}

.gd-bc-cat {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 3px solid #7c3aed;
  border-radius: 12px;
  padding: 1.1rem 1.2rem;
}

.gd-bc-cat p {
  font-size: 14px;
}

/* ===== Tables ===== */
.gd-bc-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1rem 0 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}

.gd-bc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 0;
}

.gd-bc-table th,
.gd-bc-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
  vertical-align: top;
}

.gd-bc-table th {
  background: #f5f3ff;
  color: #0f172a;
  font-weight: 700;
  white-space: nowrap;
}

.gd-bc-table tbody tr:last-child td {
  border-bottom: 0;
}

.gd-bc-table td:first-child {
  color: #0f172a;
  font-weight: 600;
}

.gd-bc-note {
  font-size: 13px;
  font-style: italic;
  color: #64748b !important;
}

/* ===== Numbered steps ===== */
.gd-bc-steps {
  list-style: none;
  counter-reset: gd-bc-step;
  padding: 0;
  margin: 1.25rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}

.gd-bc-steps li {
  counter-increment: gd-bc-step;
  position: relative;
  padding: 1.1rem 1.2rem 1.1rem 3.6rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}

.gd-bc-steps li::before {
  content: counter(gd-bc-step);
  position: absolute;
  left: 1.1rem;
  top: 1.05rem;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #7c3aed;
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  line-height: 30px;
  text-align: center;
}

.gd-bc-steps h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.gd-bc-steps p {
  font-size: 14px;
}

/* ===== Checklist ===== */
.gd-bc-checks {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 8px 20px;
}

.gd-bc-checks li {
  position: relative;
  padding-left: 26px;
  color: #334155;
  font-size: 14px;
}

.gd-bc-checks li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  width: 6px;
  height: 11px;
  border: solid #7c3aed;
  border-width: 0 2px 2px 0;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

/* ===== Callout ===== */
.gd-bc-callout {
  margin-top: 1.25rem;
  background: #f5f3ff;
  border: 1px solid #ddd6fe;
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
}

/* ===== FAQ (look comes from gd-faq.css; just the frame here) ===== */
.gd-bc-faq .gd-faq-title {
  margin-bottom: 1.5rem !important;
  font-size: 1.5rem !important;
}

.gd-bc-faq .new-faq-item input {
  display: none;
}

/* questions are <h3> inside the label: take the label's type, not .gd-bc h3 */
.gd-bc-faq .new-faq-question h3 {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: 1.4;
  color: inherit;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .gd-bc {
    margin-top: 2.25rem;
  }

  .gd-bc-section {
    padding: 1.25rem 1rem;
    border-radius: 14px;
  }

  .gd-bc h2 {
    font-size: 1.25rem;
  }

  .gd-bc-cats,
  .gd-bc-steps,
  .gd-bc-checks {
    grid-template-columns: 1fr;
  }

  .gd-bc-table th,
  .gd-bc-table td {
    padding: 0.6rem 0.75rem;
  }
}

/* the shared listing title is text-transform: capitalize; this H1 is a full sentence */
.gd-bc-page .gd-listing-title {
  text-transform: none;
}

.gd-bc-page .gd-listing-sub {
  max-width: 860px;
  line-height: 1.6;
}
