/* ══════════════════════════════════════════════════════════════
   EYE-DISEASES.CSS  (also used by general-diseases and gynae-diseases — identical layout)
   ══════════════════════════════════════════════════════════════ */

/* HERO STATS */
/* ── HERO STATS ── */
.ph-cat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 14px;
}
.ph-stats {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  margin-top: 24px;
  align-items: stretch;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  overflow: hidden;
  max-width: 560px; /* match hero text width */
}

.ph-stats > div:not(.psdiv) {
  padding: 14px 20px;
  flex: 1;
  min-width: 100px;
}

.psn {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  font-weight: 700;
  color: #e67817;
  line-height: 1;
  display: block;
}

.psl {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
  display: block;
  line-height: 1.3;
}

.psdiv {
  width: 1px;
  background: rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .ph-stats {
    max-width: 100%;
  }
  .ph-stats > div:not(.psdiv) {
    padding: 12px 14px;
    min-width: 80px;
  }
  .psn {
    font-size: 18px;
  }
  .psl {
    font-size: 9px;
  }
}

/* CATEGORY SWITCHER */
.cat-switch {
  background: #f9f5f0;
  border-bottom: 1px solid #e4e0d8;
  padding: 14px 0;
}
.cat-switch-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.cat-switch-label {
  font-size: 12px;
  font-weight: 600;
  color: #9b9b9b;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  flex-shrink: 0;
}
.cat-switch-inner a {
  padding: 8px 18px;
  border-radius: 20px;
  border: 1.5px solid #e4e0d8;
  font-size: 13px;
  font-weight: 500;
  color: #6b6b6b;
  text-decoration: none;
  background: #fff;
  transition: all 0.15s;
}
.cat-switch-inner a:hover {
  background: #2d6a4f;
  border-color: #2d6a4f;
  color: #fff;
}

/* INTRO SECTION */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
  margin-bottom: 56px;
}
.intro-content p {
  font-size: 14px;
  margin-bottom: 14px;
  line-height: 1.82;
}
.intro-content p:last-child {
  margin-bottom: 0;
}
.intro-content em {
  color: #2d6a4f;
  font-style: italic;
}
.intro-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.info-card {
  background: #fff;
  border: 1px solid #e4e0d8;
  border-radius: 14px;
  padding: 20px;
}
.ic-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #2d6a4f;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e4e0d8;
}
.ic-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 9px 0;
  border-bottom: 1px solid #f5f3ef;
}
.ic-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.ic-icon {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  background: #f0faf3;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
}
.ic-label {
  font-size: 10px;
  color: #9b9b9b;
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}
.ic-val {
  font-size: 13px;
  color: #1a1a1a;
  font-weight: 500;
  line-height: 1.4;
}
.book-card {
  background: linear-gradient(135deg, #e67817, #c45f0a);
  border-radius: 14px;
  padding: 20px;
}
.book-card h4 {
  font-family: "Playfair Display", serif;
  font-size: 18px;
  color: #fff;
  margin-bottom: 6px;
}
.book-card p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 14px;
  line-height: 1.6;
}
.bc-btn {
  display: block;
  background: #fff;
  color: #e67817;
  text-align: center;
  padding: 11px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 8px;
}
.bc-btn2 {
  display: block;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  text-align: center;
  padding: 11px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

/* DISEASE GRID */
.disease-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.dc {
  background: #fff;
  border: 1px solid #e4e0d8;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    box-shadow 0.2s,
    transform 0.18s;
  text-decoration: none;
}
.dc:hover {
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}
.dc-img {
  height: 150px;
  background: linear-gradient(160deg, #1a3d2b, #2d6a4f);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  position: relative;
}
.dc-cat {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 20px;
  letter-spacing: 0.06em;
}
.cb-eye {
  background: #1a3d2b;
  color: #fff;
}
.cb-gen {
  background: #7a3510;
  color: #fff;
}
.cb-gyn {
  background: #3d1a5a;
  color: #fff;
}
.dc-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.dc-name {
  font-family: "Playfair Display", serif;
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 6px;
  line-height: 1.3;
}
.dc-tag {
  font-size: 12px;
  color: #6b6b6b;
  line-height: 1.6;
  margin-bottom: 10px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.dc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
}
.dc-doshas {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.dc-read {
  font-size: 11px;
  font-weight: 600;
  color: #e67817;
  display: flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
}
.dc-read::after {
  content: "→";
}

/* A-Z */
.az-section {
  background: #f9f5f0;
  padding: 56px 0;
}
.az-letters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 28px;
}
.az-btn {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  border: 1px solid #e4e0d8;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  color: #6b6b6b;
  background: #fff;
  font-family: "DM Sans", sans-serif;
  transition: all 0.15s;
}
.az-btn.has {
  color: #2d6a4f;
  border-color: #b7e4c7;
}
.az-btn.has:hover {
  background: #2d6a4f;
  color: #fff;
}
.az-btn.no {
  color: #d4d0ca;
  border-color: #edeae4;
  cursor: default;
}
.az-list {
  columns: 3 220px;
  gap: 24px;
}
.az-group {
  break-inside: avoid;
  margin-bottom: 20px;
}
.az-lh {
  font-family: "Playfair Display", serif;
  font-size: 20px;
  font-weight: 700;
  color: #e67817;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 2px solid #e4e0d8;
}
.az-link {
  display: block;
  font-size: 13px;
  color: #3d3d2a;
  padding: 5px 0;
  border-bottom: 1px solid #f5f3ef;
  text-decoration: none;
  transition: all 0.15s;
}
.az-link:last-child {
  border-bottom: none;
}
.az-link:hover {
  color: #e67817;
  padding-left: 4px;
}

/* RESPONSIVE */
@media (max-width: 1000px) {
  .disease-grid {
    grid-template-columns: 1fr 1fr;
  }
  .intro-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .disease-grid {
    grid-template-columns: 1fr;
  }
  .az-list {
    columns: 1;
  }
}
