/* Mega menu — DoctorAbid Professional 3.1 */
.hdr { position: relative; z-index: 60; }

nav.main > a[data-mm] { position: relative; }
nav.main > a[data-mm]::after {
  content: "";
  display: inline-block;
  width: 5px; height: 5px;
  margin-inline-start: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: .55;
}
nav.main > a[data-mm][aria-expanded="true"] { color: #0f4033; }

.amm {
  position: absolute;
  inset-inline: 0;
  top: 100%;
  z-index: 80;
  display: none;
  background: #fff;
  border-top: 1px solid #e6ece8;
  box-shadow: 0 18px 40px rgba(12, 40, 32, .12);
}
.amm.is-open { display: block; }

.amm-inner { max-width: 1200px; margin: 0 auto; padding: 20px 22px 24px; box-sizing: border-box; }

.amm-panel { display: none; grid-template-columns: repeat(4, minmax(0, 1fr)) .85fr; gap: 24px; }
.amm-panel.is-active { display: grid; }

.amm-col { min-width: 0; }
.amm-col h4 {
  margin: 0 0 9px;
  font-size: 12.5px;
  letter-spacing: .2px;
  color: #14513f;
  font-weight: 700;
}
.amm-col h4 a { color: inherit; text-decoration: none; }
.amm-col h4 a:hover { text-decoration: underline; }
.amm-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; }
.amm-col a {
  display: block;
  padding: 5px 8px;
  border-radius: 7px;
  font-size: 13.5px;
  line-height: 1.55;
  color: #26362f;
  text-decoration: none;
}
.amm-col a:hover,
.amm-col a:focus-visible { background: #eef6f1; color: #0f4033; outline: none; }
.amm-aside { border-inline-start: 1px solid #eef2ef; padding-inline-start: 20px; }
.amm-col a.amm-cta {
  background: #0f4033;
  color: #fff;
  font-weight: 700;
  text-align: center;
  padding: 9px 10px;
  margin-bottom: 6px;
}
.amm-col a.amm-cta:hover { background: #14513f; color: #fff; }

/* mobile accordion inside the drawer */
.amm-acc { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.amm-acc > summary {
  cursor: pointer;
  padding: 11px 0;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.amm-acc > summary::-webkit-details-marker { display: none; }
.amm-acc > summary::after { content: "+"; font-size: 16px; opacity: .7; }
.amm-acc[open] > summary::after { content: "−"; }
.amm-acc ul { list-style: none; margin: 0 0 10px; padding: 0; }
.amm-acc li a { display: block; padding: 7px 0; font-size: 14px; }

@media (max-width: 1180px) {
  .amm-panel { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .amm-aside { border-inline-start: 0; padding-inline-start: 0; }
}
@media (max-width: 1024px) {
  .amm { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .amm { transition: none; }
}
