/* ===================================
   Phase3 SEO common components
=================================== */
.breadcrumb {
  max-width: 1100px;
  margin: 18px auto 0;
  padding: 0 20px;
  font-size: 0.9rem;
  color: #64748b;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.breadcrumb li + li::before {
  content: "›";
  margin: 0 8px;
  color: #94a3b8;
}

.breadcrumb a {
  color: var(--main-blue, #4A90E2);
  text-decoration: none;
  font-weight: 700;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span[aria-current="page"] {
  color: #475569;
}

@media (max-width: 768px) {
  .breadcrumb {
    margin-top: 14px;
    padding: 0 15px;
    font-size: 0.82rem;
  }
}
/* ===================================
   Phase3 related tools
=================================== */
.related-tools {
  background: #f8fafc;
  padding: 48px 20px;
  border-top: 1px solid #e5e7eb;
}

.related-tools-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.related-tools-heading {
  margin-bottom: 24px;
}

.related-tools-label {
  display: inline-flex;
  align-items: center;
  margin: 0 0 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #eaf3ff;
  color: var(--main-blue, #4A90E2);
  font-size: 0.82rem;
  font-weight: 700;
}

.related-tools h2 {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 2.5vw, 1.9rem);
  line-height: 1.4;
  color: #1f2937;
}

.related-tools-heading p:last-child {
  max-width: 760px;
  margin: 0;
  color: #64748b;
  line-height: 1.8;
}

.related-tools-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.related-tool-card {
  display: flex;
  flex-direction: column;
  min-height: 156px;
  padding: 20px;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.related-tool-card:hover {
  transform: translateY(-3px);
  border-color: rgba(74, 144, 226, 0.35);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.09);
}

.related-tool-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
  border-radius: 14px;
  background: #f1f5f9;
  font-size: 1.4rem;
}

.related-tool-title {
  margin-bottom: 8px;
  color: #1f2937;
  font-weight: 800;
  line-height: 1.45;
}

.related-tool-desc {
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.65;
}

.related-tools-more {
  margin: 22px 0 0;
  text-align: right;
}

.related-tools-more a {
  color: var(--main-blue, #4A90E2);
  font-weight: 800;
  text-decoration: none;
}

.related-tools-more a::after {
  content: " →";
}

.related-tools-more a:hover {
  text-decoration: underline;
}

@media (max-width: 960px) {
  .related-tools-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .related-tools {
    padding: 36px 15px;
  }

  .related-tools-grid {
    grid-template-columns: 1fr;
  }

  .related-tool-card {
    min-height: auto;
  }

  .related-tools-more {
    text-align: left;
  }
}

/* Phase3: Tool FAQ component */
.tool-faq {
  background: #f8fbff;
  padding: 56px 20px;
  border-top: 1px solid #e7eef8;
}

.tool-faq-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.tool-faq-label {
  margin: 0 0 8px;
  color: #4A90E2;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.tool-faq h2 {
  margin: 0 0 22px;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.35;
  color: #17233c;
}

.tool-faq-list {
  display: grid;
  gap: 12px;
}

.tool-faq-item {
  background: #fff;
  border: 1px solid #dfe8f5;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(31, 62, 118, .05);
  overflow: hidden;
}

.tool-faq-item summary {
  cursor: pointer;
  padding: 18px 48px 18px 20px;
  position: relative;
  font-weight: 700;
  color: #17233c;
  list-style: none;
}

.tool-faq-item summary::-webkit-details-marker {
  display: none;
}

.tool-faq-item summary::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #4A90E2;
  font-size: 22px;
  line-height: 1;
}

.tool-faq-item[open] summary::after {
  content: '−';
}

.tool-faq-item p {
  margin: 0;
  padding: 0 20px 20px;
  color: #46556f;
  line-height: 1.8;
}

@media (max-width: 640px) {
  .tool-faq {
    padding: 40px 16px;
  }

  .tool-faq-item summary {
    padding: 16px 42px 16px 16px;
  }

  .tool-faq-item p {
    padding: 0 16px 16px;
  }
}
