/**
 * Protocol Guide Styles
 */

.protocol-guide {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem 4rem;
}

.protocol-guide__intro {
  text-align: center;
  margin-bottom: 3rem;
}

.protocol-guide__intro .lead {
  font-size: 1.15rem;
  color: #555;
  max-width: 700px;
  margin: 0 auto;
}

/* Two Layers Explainer */
.protocol-guide__explainer {
  margin-bottom: 3rem;
}

.protocol-guide__explainer h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.explainer-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.explainer-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 1.5rem;
}

.explainer-card--highlight {
  background: linear-gradient(135deg, #f0f7ff 0%, #e8f4fd 100%);
  border-color: #4a90d9;
}

.explainer-icon {
  width: 45px;
  height: 45px;
  background: #4a90d9;
  color: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.explainer-icon .icon {
  width: 1.25rem;
  height: 1.25rem;
}

.explainer-card--highlight .explainer-icon {
  background: #2c6cb0;
}

.explainer-card h3 {
  font-size: 1.1rem;
  margin: 0 0 0.5rem 0;
  color: #333;
}

.explainer-card p {
  font-size: 0.95rem;
  color: #555;
  margin: 0;
  line-height: 1.5;
}

.explainer-note {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  color: #555;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.explainer-note .icon {
  width: 1rem;
  height: 1rem;
  color: #4a90d9;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Comparison Note */
.comparison-note {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  color: #555;
  margin-top: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.comparison-note .icon {
  width: 1rem;
  height: 1rem;
  color: #4a90d9;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Quick Pick Section */
.protocol-guide__quick-pick {
  margin-bottom: 3rem;
}

.protocol-guide__quick-pick h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.quick-pick-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.quick-pick-card {
  background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
}

.quick-pick-icon {
  width: 50px;
  height: 50px;
  background: #4a90d9;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.quick-pick-icon .icon {
  width: 1.25rem;
  height: 1.25rem;
}

.quick-pick-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.quick-pick-card p {
  font-size: 0.95rem;
  color: #555;
  margin: 0;
}

/* Comparison Table */
.protocol-guide__comparison {
  margin-bottom: 3rem;
}

.protocol-guide__comparison h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.comparison-table-wrapper {
  overflow-x: auto;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.comparison-table th,
.comparison-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
}

.comparison-table th {
  background: #f8f9fa;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
}

.comparison-table td:first-child {
  white-space: nowrap;
}

.comparison-table tbody tr:hover {
  background: #f8f9fa;
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

/* Protocol Cards */
.protocol-guide__details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
}

.protocol-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.protocol-card__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: #f8f9fa;
  border-bottom: 1px solid #e0e0e0;
}

.protocol-card__icon {
  width: 50px;
  height: 50px;
  background: #4a90d9;
  color: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.protocol-card__icon .icon {
  width: 1.5rem;
  height: 1.5rem;
}

.protocol-card__title h2 {
  margin: 0;
  font-size: 1.5rem;
  color: #333;
}

.protocol-card__tagline {
  color: #666;
  font-size: 0.95rem;
}

.protocol-card__body {
  padding: 1.5rem;
}

.protocol-card__description {
  margin-bottom: 1.5rem;
}

.protocol-card__description p {
  margin: 0;
  color: #444;
  line-height: 1.6;
}

.protocol-card__pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.protocol-card__pros-cons h4 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.75rem 0;
  font-size: 1rem;
}

.pros h4 {
  color: #28a745;
}

.cons h4 {
  color: #dc3545;
}

.protocol-card__pros-cons ul {
  margin: 0;
  padding-left: 1.25rem;
}

.protocol-card__pros-cons li {
  margin-bottom: 0.35rem;
  color: #555;
  font-size: 0.95rem;
}

.protocol-card__best-for,
.protocol-card__hubs {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.protocol-card__best-for:last-child,
.protocol-card__hubs:last-child {
  margin-bottom: 0;
}

.protocol-card__best-for h4,
.protocol-card__hubs h4 {
  margin: 0 0 0.5rem 0;
  font-size: 0.9rem;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.protocol-card__best-for p,
.protocol-card__hubs p {
  margin: 0;
  color: #555;
  font-size: 0.95rem;
}

/* Tip Box */
.protocol-card__tip {
  background: linear-gradient(135deg, #fff9e6 0%, #fff5d6 100%);
  border: 1px solid #f0d861;
  border-left: 4px solid #f0c000;
  border-radius: 8px;
  padding: 1rem;
  margin-top: 1rem;
}

.protocol-card__tip h4 {
  margin: 0 0 0.5rem 0;
  font-size: 0.9rem;
  color: #8a6d00;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.protocol-card__tip h4 .icon {
  width: 1rem;
  height: 1rem;
  color: #f0c000;
}

.protocol-card__tip p {
  margin: 0;
  color: #5a4a00;
  font-size: 0.95rem;
}

/* Decision Tree Section */
.protocol-guide__decision {
  margin-bottom: 3rem;
}

.protocol-guide__decision h2 {
  text-align: center;
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.protocol-guide__decision > .lead {
  text-align: center;
  color: #666;
  margin-bottom: 1.5rem;
}

.decision-tree {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.decision-scenario {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  transition: all 0.2s ease;
}

.decision-scenario:hover {
  border-color: #4a90d9;
  box-shadow: 0 2px 8px rgba(74, 144, 217, 0.15);
}

.decision-scenario h4 {
  margin: 0 0 0.5rem 0;
  font-size: 1rem;
  color: #333;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.decision-scenario h4 .icon {
  width: 20px;
  height: 20px;
  color: #4a90d9;
}

.decision-answer {
  margin: 0;
  color: #555;
  font-size: 0.95rem;
  padding-left: 28px;
}

.decision-answer strong {
  color: #4a90d9;
}

/* FAQ Section */
.protocol-guide__faq {
  margin-bottom: 3rem;
}

.protocol-guide__faq h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

.faq-item summary {
  padding: 1rem 1.25rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.faq-item summary::after {
  content: '+';
  font-size: 1.25rem;
  color: #666;
  font-weight: 400;
}

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

.faq-item[open] summary {
  border-bottom: 1px solid #e0e0e0;
}

.faq-item p {
  padding: 1rem 1.25rem;
  margin: 0;
  color: #555;
  line-height: 1.6;
}

/* CTA Section */
.protocol-guide__cta {
  text-align: center;
  background: linear-gradient(135deg, #4a90d9 0%, #357abd 100%);
  color: #fff;
  padding: 2.5rem;
  border-radius: 12px;
}

.protocol-guide__cta h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.5rem;
}

.protocol-guide__cta p {
  margin: 0 0 1.5rem 0;
  opacity: 0.9;
}

.protocol-guide__cta .btn-primary {
  background: #fff;
  color: #4a90d9;
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s ease;
}

.protocol-guide__cta .btn-primary:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
  .protocol-card__pros-cons {
    grid-template-columns: 1fr;
  }

  .quick-pick-cards {
    grid-template-columns: 1fr;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 0.75rem;
    font-size: 0.9rem;
  }
}
