/*
 * DHTD Child — microsoft-plan-detail.css (Task 60B.1, 02/10/2026)
 * CSS riêng cho trang chi tiết gói Microsoft (single dhtd_microsoft_plan). Chỉ
 * enqueue trên single này (inc/enqueue.php), phụ thuộc microsoft-365.css cho
 * breadcrumb/hero/process/FAQ/CTA chung. Không sửa main.css.
 */

.dhtd-msd-hero__title {
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  line-height: 1.18;
  color: var(--dhtd-navy);
  margin: 0 0 20px;
  max-width: 14em;
}
.dhtd-msd-hero .dhtd-ms-hero__grid { padding-bottom: 8px; }

/* Nhãn hero */
.dhtd-msd-tags { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.dhtd-msd-tags li {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--dhtd-white);
  border: 1px solid var(--dhtd-border);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--dhtd-navy);
}

/* Tổng quan giá trị */
.dhtd-msd-values { padding: var(--dhtd-section-space) 0; background: var(--dhtd-white); }
.dhtd-msd-values__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.dhtd-msd-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 20px;
  background: var(--dhtd-white);
  border: 1px solid var(--dhtd-border);
  border-radius: 12px;
}
.dhtd-msd-card__icon,
.dhtd-msd-card__icon .dhtd-icon-svg { display: inline-flex; width: 40px; height: 40px; color: var(--dhtd-sky); }
.dhtd-msd-card__title { font-size: 1.0625rem; line-height: 1.35; color: var(--dhtd-navy); margin: 0; }
.dhtd-msd-card__desc { margin: 0; font-size: 0.9375rem; line-height: 1.6; color: var(--dhtd-muted); }

/* Tính năng */
.dhtd-msd-features { padding: var(--dhtd-section-space) 0; background: var(--dhtd-light-bg); }
.dhtd-msd-features__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.dhtd-msd-group { padding: 24px 28px; background: var(--dhtd-white); border: 1px solid var(--dhtd-border); border-radius: 12px; }
.dhtd-msd-group__title { font-size: 1.125rem; line-height: 1.3; color: var(--dhtd-navy); margin: 0 0 14px; }

.dhtd-msd-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dhtd-msd-list li { position: relative; padding-left: 28px; font-size: 0.9375rem; line-height: 1.55; color: var(--dhtd-text); }
.dhtd-msd-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='8' fill='%232E8FCE'/%3E%3Cpath d='M4.6 8.4l2.3 2.3 4.5-4.7' fill='none' stroke='%23FFFFFF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.dhtd-msd-list--warn li::before {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='8' fill='%23F5A623'/%3E%3Cpath d='M8 4.2v4.6' fill='none' stroke='%23163E7C' stroke-width='1.8' stroke-linecap='round'/%3E%3Ccircle cx='8' cy='11.4' r='1' fill='%23163E7C'/%3E%3C/svg%3E") center / contain no-repeat;
}
.dhtd-msd-list--scope li::before {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='8' fill='%23F5A623'/%3E%3Cpath d='M4.6 8h6.8' fill='none' stroke='%23163E7C' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Tình huống sử dụng */
.dhtd-msd-uses { padding: var(--dhtd-section-space) 0; background: var(--dhtd-white); }
.dhtd-msd-uses__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.dhtd-msd-use { display: flex; gap: 16px; align-items: flex-start; padding: 24px; background: var(--dhtd-light-bg); border: 1px solid var(--dhtd-border); border-radius: 12px; }
.dhtd-msd-use p { margin: 0; font-size: 0.9375rem; line-height: 1.6; color: var(--dhtd-text); }
.dhtd-msd-use__num,
.dhtd-msd-step__num {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 800;
  font-size: 1rem;
}
.dhtd-msd-use__num { background: var(--dhtd-navy); color: var(--dhtd-white); }
.dhtd-msd-step__num { background: var(--dhtd-gold); color: var(--dhtd-navy); margin-bottom: 14px; }

/* Không phù hợp */
.dhtd-msd-not { padding: 0 0 var(--dhtd-section-space); background: var(--dhtd-white); }
.dhtd-msd-not__box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding: 32px 36px;
  border-radius: 12px;
  border: 1px solid var(--dhtd-border);
  border-left: 4px solid var(--dhtd-gold);
  background: var(--dhtd-light-bg);
}
.dhtd-msd-not__main { flex: 1 1 420px; min-width: 0; }
.dhtd-msd-not__main .dhtd-section-title { margin: 0 0 16px; }
.dhtd-msd-not__note { margin: 16px 0 0; font-size: 0.9375rem; line-height: 1.6; color: var(--dhtd-muted); max-width: 60ch; }

/* Quy trình: ghi chú phạm vi */
.dhtd-msd-process__note { margin: 28px 0 0; font-size: 0.9375rem; line-height: 1.6; color: rgba(255, 255, 255, 0.78); max-width: 70ch; }

/* Focus rõ ràng cho nút trong trang detail */
.dhtd-msd-main .dhtd-btn:focus-visible,
.dhtd-msd-main .dhtd-crumb a:focus-visible {
  outline: 3px solid var(--dhtd-sky);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (max-width: 1024px) {
  .dhtd-msd-values__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dhtd-msd-uses__grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .dhtd-msd-features__grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .dhtd-msd-values__grid { grid-template-columns: 1fr; }
  .dhtd-msd-group { padding: 20px; }
  .dhtd-msd-not__box { padding: 24px 20px; }
  .dhtd-msd-not__box .dhtd-btn { width: 100%; justify-content: center; }
}
