/* Tool Boxes and Summary Box Styling for Articles */

/* Summary Box Styling */
.summary-box {
  background-color: #f7f9fc;
  border-left: 4px solid #3b82f6;
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.summary-box ul {
  margin: 0;
  padding-left: 1.5rem;
}

.summary-box li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.summary-box li:last-child {
  margin-bottom: 0;
}

/* Tools Section Styling */
.top-tools-list {
  margin: 2rem 0 1rem 0;
}

.tools-section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  text-align: center;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #e5e7eb;
}

.tool-box {
  background-color: #ffffff;
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid #e5e7eb;
}

.tool-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.tool-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  gap: 0.75rem;
}

.tool-number {
  background-color: #3b82f6;
  color: white;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
}

.tool-name {
  margin: 0;
  font-size: 1.25rem;
  color: #1f2937;
  flex-grow: 1;
}

.tool-rating {
  color: #f59e0b;
  font-size: 1rem;
}

.tool-subtitle {
  display: block;
  font-weight: normal;
  font-size: 0.875rem;
  color: #6b7280;
  margin-top: 0.25rem;
}

.tool-badge {
  background-color: #10b981;
  color: white;
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  margin-left: 0.5rem;
}

.tool-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1rem;
}

.pro-section, .contra-section {
  padding: 1rem;
  border-radius: 0.5rem;
}

.pro-section {
  background-color: rgba(16, 185, 129, 0.1);
  border-left: 3px solid #10b981;
}

.contra-section {
  background-color: rgba(239, 68, 68, 0.1);
  border-left: 3px solid #ef4444;
}

.pro-section p, .contra-section p {
  margin-top: 0;
  font-weight: 600;
}

.pro-section ul, .contra-section ul {
  padding-left: 1.25rem;
  margin-bottom: 0;
}

.tool-box.highlight {
  border: 2px solid #10b981;
  background-color: rgba(16, 185, 129, 0.05);
}

.tool-header.highlight {
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed rgba(16, 185, 129, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .tool-details {
    grid-template-columns: 1fr;
  }
  
  .tool-header {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .tool-box {
    padding: 1rem;
  }
  
  .pro-section, .contra-section {
    padding: 0.75rem;
  }
} 