/* ========== TOOL PAGE STYLES ========== */

/* Top anchor nav */
.dt-tool-anchor-nav {
  background: #f5f9fc;
  padding: 12px 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-left: 16px;
}

.dt-tool-anchor-nav a {
  background: #fff;
  padding: 6px 14px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  color: #333;
  border: 1px solid #ccc;
}

.dt-tool-anchor-nav a:hover {
  background: #0073aa;
  color: #fff;
  border-color: #0073aa;
}

/* Featured Image Hover */
.dt-tool-featured-image {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  max-width: 100%;
  margin-bottom: 20px;
}

.dt-tool-featured-image img {
  width: 100%;
  display: block;
  border-radius: 8px;
}

.dt-hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: 0.3s ease;
  font-size: 24px;
  font-weight: 500;
}

.dt-tool-featured-image:hover .dt-hover-overlay {
  opacity: 1;
}

/* Categories (term tags) */
.dt-tool-top-categories,
.dt-tool-category {
  margin-bottom: 10px;
}

.dt-tool-top-categories {
  font-size: 14px;
  margin-bottom: 16px;
}

.dt-tool-top-categories a {
  color: #0073aa;
  text-decoration: none;
  font-weight: 500;
  margin: 0 4px;
}

.dt-tool-top-categories a:first-child::before {
  content: '\1F3E0'; /* Home icon */
  margin-right: 6px;
}

.dt-tool-top-categories a:not(:last-child)::after {
  content: '>'; 
  margin-left: 6px;
  color: #999;
}

.dt-tool-term {
  background: #eaf4fc;
  color: #0073aa;
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 13px;
  margin-right: 6px;
  display: inline-block;
  margin-bottom: 5px;
}

/* Inline box (image + sidebar) */
.dt-tool-inline-box {
  background: #f7f9fb;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  margin-bottom: 30px;
}

.dt-tool-sidebar-details {
  margin-top: 20px;
}

.dt-tool-sidebar-detail-item {
  margin-bottom: 10px;
}

.dt-tool-sidebar-detail-item strong {
  display: inline-block;
  min-width: 120px;
}

.dt-tool-button-visit {
  background: #1eaedb;
  display: inline-block;
  text-align: center;
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: 0.2s ease;
  margin-top: 10px;
}

.dt-tool-button-visit:hover {
  background: #0073aa;
}

/* Section boxes */
.dt-boxed-section {
  margin-bottom: 40px;
}

.dt-box {
  background: #f8fafc;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.dt-tool-section-title {
  font-size: 22px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.dt-tool-section-title::after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

/* Pros & Cons */
.dt-tool-pros-cons-container {
  display: flex;
  gap: 40px;
}

.dt-tool-pros-list,
.dt-tool-cons-list {
  flex: 1;
}

.dt-tool-pros-list ul,
.dt-tool-cons-list ul {
  padding-left: 20px;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .dt-tool-anchor-nav {
    flex-direction: column;
  }
  .dt-tool-pros-cons-container {
    flex-direction: column;
  }
}
