/* ==========================================
   COOPERATE PAGE - Bác sĩ hợp tác
   ========================================== */

.cooperate-page {
  background: #ffffff;
}

.cooperate-hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  padding: 120px 32px 72px;
  background-image: url("../Images/Cooperate/kham_mat.png");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.cooperate-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 20, 45, 0.84) 0%, rgba(8, 20, 45, 0.58) 48%, rgba(8, 20, 45, 0.12) 100%);
}

.cooperate-hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  width: min(100%, 1216px);
  color: #ffffff;
}

.hero-kicker,
.section-eyebrow {
  margin: 0 0 12px;
  color: #05df72;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cooperate-hero h1 {
  margin: 0 0 20px;
  color: #ffffff;
  font-size: 52px;
  line-height: 1.1;
}

.cooperate-hero p {
  max-width: 720px;
  color: #edf6ff;
  font-size: 18px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.hero-primary,
.hero-secondary,
.doctor-cta a,
.detail-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 10px;
  font-family: "Arimo", sans-serif;
  font-size: 16px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.hero-primary {
  color: #193cb8;
  background: #ffffff;
}

.hero-secondary {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.72);
}

.hero-primary:hover,
.hero-secondary:hover,
.doctor-cta a:hover,
.detail-close:hover {
  transform: translateY(-2px);
}

.team-section,
.doctor-detail {
  padding: 80px 32px;
}

.section-heading {
  max-width: 860px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-heading h2 {
  margin-bottom: 16px;
  color: #101727;
  font-size: 38px;
}

.section-heading p {
  color: #495565;
  font-size: 17px;
}

.doctors-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 1216px;
  margin: 0 auto;
}

.doctor-card {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 152px;
  padding: 24px;
  border: 1px solid #daeafe;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

button.doctor-card {
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.doctor-card-featured {
  grid-row: span 2;
  flex-direction: column;
  align-items: stretch;
  min-height: 430px;
  padding: 0;
  overflow: hidden;
  border-color: #93c5fd;
}

.doctor-card:hover {
  border-color: #155dfc;
  box-shadow: 0 12px 28px rgba(21, 93, 252, 0.13);
}

.doctor-portrait {
  display: block;
  width: 100%;
  height: 290px;
  background: linear-gradient(180deg, #f8fbff, #e9f3ff);
  overflow: hidden;
}

.doctor-portrait img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  display: block;
}

.doctor-initials {
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  color: #155dfc;
  font-weight: 800;
}

.doctor-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.doctor-card-featured .doctor-card-body {
  padding: 24px;
}

.doctor-name {
  margin: 0;
  color: #101727;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.35;
}

.doctor-role {
  margin: 0;
  color: #155dfc;
  font-size: 15px;
  font-weight: 700;
}

.doctor-action {
  display: inline-flex;
  width: fit-content;
  margin-top: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: #f0fdf4;
  color: #047857;
  font-size: 14px;
  font-weight: 700;
}

.doctor-card-featured[aria-expanded="true"] .doctor-action::after {
  content: " ✓";
}

.doctor-detail {
  background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
}

.detail-shell {
  max-width: 1216px;
  margin: 0 auto;
}

.detail-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.detail-close {
  border: 1px solid #bddaff;
  background: #ffffff;
  color: #155dfc;
  cursor: pointer;
}

.doctor-article {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.doctor-article-hero,
.article-section {
  border: 1px solid #dbeafe;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.doctor-article-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  overflow: hidden;
}

.doctor-article-copy {
  padding: 40px;
}

.doctor-article-copy h2 {
  margin-bottom: 18px;
  color: #1c398e;
  font-size: 36px;
}

.doctor-article-copy p {
  font-size: 17px;
  color: #495565;
}

.doctor-article-hero > img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.doctor-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.doctor-stats div {
  padding: 18px;
  border-radius: 10px;
  background: #f0f7ff;
}

.doctor-stats strong,
.doctor-stats span {
  display: block;
}

.doctor-stats strong {
  color: #155dfc;
  font-size: 24px;
  line-height: 1.1;
}

.doctor-stats span {
  margin-top: 6px;
  color: #4a5565;
  font-size: 14px;
}

.article-section {
  padding: 34px;
}

.article-section h3 {
  margin-bottom: 18px;
  color: #101727;
  font-size: 28px;
}

.article-section h4 {
  color: #1c398e;
  font-size: 18px;
}

.article-section p,
.article-section li {
  color: #495565;
  font-size: 16px;
  line-height: 1.75;
}

.article-section p + p {
  margin-top: 14px;
}

.quote-grid,
.risk-grid,
.value-grid,
.faq-grid,
.difference-list,
.symptom-grid {
  display: grid;
  gap: 16px;
}

.quote-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 22px;
}

.quote-grid blockquote {
  margin: 0;
  padding: 18px;
  border-left: 4px solid #fdc700;
  border-radius: 8px;
  background: #fffbeb;
  color: #854d0e;
  font-weight: 700;
  line-height: 1.55;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 28px;
  align-items: center;
}

.two-column img {
  width: 100%;
  height: 360px;
  border-radius: 10px;
  object-fit: cover;
}

.image-right img {
  object-position: center;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #dcfce7;
  color: #047857;
  font-weight: 800;
  line-height: 1;
}

.compact {
  gap: 8px;
}

.symptom-grid {
  grid-template-columns: repeat(3, 1fr);
  margin: 22px 0;
}

.symptom-grid span {
  padding: 16px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  color: #364153;
  font-weight: 700;
}

.risk-grid,
.value-grid,
.faq-grid {
  grid-template-columns: repeat(3, 1fr);
}

.value-grid {
  grid-template-columns: repeat(5, 1fr);
}

.risk-grid article,
.value-grid article,
.faq-grid article,
.difference-list article {
  padding: 22px;
  border-radius: 10px;
  border: 1px solid #e0f2fe;
  background: #f8fbff;
}

.value-grid article {
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.difference-list {
  grid-template-columns: repeat(3, 1fr);
}

.doctor-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding: 34px;
  border-radius: 12px;
  background: linear-gradient(117deg, #155dfc 0%, #193cb8 100%);
  color: #ffffff;
}

.doctor-cta h3,
.doctor-cta p {
  color: #ffffff;
}

.doctor-cta h3 {
  margin-bottom: 10px;
  font-size: 28px;
}

.doctor-cta p {
  max-width: 720px;
}

.doctor-cta a {
  flex: 0 0 auto;
  background: #ffffff;
  color: #193cb8;
}

@media (max-width: 1279px) and (min-width: 800px) {
  .cooperate-hero {
    min-height: 500px;
    padding: 96px 24px 60px;
  }

  .cooperate-hero h1 {
    font-size: 44px;
  }

  .team-section,
  .doctor-detail {
    padding: 64px 24px;
  }

  .doctors-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .doctor-article-hero,
  .two-column {
    grid-template-columns: 1fr;
  }

  .doctor-article-hero > img,
  .two-column img {
    height: 360px;
  }

  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .risk-grid,
  .faq-grid,
  .difference-list,
  .symptom-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 799px) {
  .cooperate-hero {
    min-height: 500px;
    padding: 84px 20px 44px;
    background-position: center;
  }

  .cooperate-hero-overlay {
    background: linear-gradient(180deg, rgba(8, 20, 45, 0.62) 0%, rgba(8, 20, 45, 0.88) 100%);
  }

  .cooperate-hero h1 {
    font-size: 34px;
  }

  .cooperate-hero p {
    font-size: 16px;
  }

  .hero-actions,
  .detail-toolbar,
  .doctor-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-primary,
  .hero-secondary,
  .doctor-cta a,
  .detail-close {
    width: 100%;
  }

  .team-section,
  .doctor-detail {
    padding: 48px 20px;
  }

  .section-heading h2 {
    font-size: 28px;
  }

  .doctors-grid,
  .doctor-article-hero,
  .two-column,
  .quote-grid,
  .risk-grid,
  .value-grid,
  .faq-grid,
  .difference-list,
  .symptom-grid,
  .doctor-stats {
    grid-template-columns: 1fr;
  }

  .doctor-card-featured {
    min-height: 0;
  }

  .doctor-portrait {
    height: 260px;
  }

  .doctor-article-copy,
  .article-section,
  .doctor-cta {
    padding: 24px;
  }

  .doctor-article-copy h2 {
    font-size: 28px;
  }

  .article-section h3,
  .doctor-cta h3 {
    font-size: 23px;
  }

  .doctor-article-hero > img,
  .two-column img {
    min-height: 0;
    height: 260px;
  }
}
