:root > * {
  --md-primary-fg-color:        #1b2937;
  --md-primary-fg-color--light: #1b1f22;
  --md-primary-fg-color--dark:  #90030C;
  --md-accent-fg-color:         #4d9078;

  /* Brand Colors - Dev Team Standards */
  --color-primary:              #4D9078;
  --color-primary-dark:         #4D9078;
  --color-bg-section:           #4D9078;
  --color-button-bg:            #101921;
  --color-button-text:          #ffffff;
  --color-accent:               #df9f20;
  --color-text:                 #1b1f22;
  --color-text-light:           #555;
  --color-text-muted:           #666;
  --color-bg-light:             #f8f9fa;
  --color-bg-card:              #4D9078;
  --color-bg-card-light:        #4D9078;
  --color-border:               #e9ecef;
  --color-success:              #4D9078;
  --color-warning:              #ff9800;
  --color-warning-dark:         #bf360c;

  /* Card shadows */
  --shadow-sm:                  0 2px 4px rgba(77, 144, 120, 0.05);
  --shadow-md:                  0 2px 8px rgba(77, 144, 120, 0.08);
  --shadow-lg:                  0 2px 12px rgba(77, 144, 120, 0.08);
  --shadow-hover:               0 4px 16px rgba(77, 144, 120, 0.2);
  --shadow-dark:                0 4px 12px rgba(77, 144, 120, 0.3);
}

.md-content {
  --md-typeset-a-color: #4d9078;
}

.md-nav__link.md-nav__link--active {
  color: #4D9078;
}

/* ========================================
   BUTTON STYLES
   ======================================== */

.btn,
button,
input[type="button"],
input[type="submit"] {
  background-color: var(--color-button-bg);
  color: var(--color-button-text);
  padding: 10px 16px;
  border: none;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn:hover,
button:hover,
input[type="button"]:hover,
input[type="submit"]:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(16, 25, 33, 0.2);
}

/* ========================================
   GLOBAL CARD STYLES
   ======================================== */

.card-container {
  display: grid;
  gap: 16px;
  margin: 20px 0 30px 0;
}

.card-container.card-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.card-container.card-grid-large {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

/* ========================================
   LEARN CARDS - Small learning cards
   ======================================== */

.learn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  margin: 20px 0 30px 0;
}

.learn-card {
  background: linear-gradient(135deg, rgba(77, 144, 120, 0.08) 0%, rgba(77, 144, 120, 0.12) 100%);
  padding: 18px;
  border-radius: 8px;
  border-left: 4px solid var(--color-primary);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.learn-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.learn-card strong {
  color: var(--color-primary);
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 700;
}

.learn-card p {
  color: var(--color-text-light);
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}

/* ========================================
   DOCUMENT CARDS - Standard doc cards
   ======================================== */

.doc-card {
  background: linear-gradient(135deg, rgba(77, 144, 120, 0.08) 0%, rgba(77, 144, 120, 0.12) 100%);
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid var(--color-primary);
  margin: 16px 0;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.doc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.doc-card h3 {
  color: var(--color-primary);
  margin: 0 0 8px 0;
  font-size: 16px;
  font-weight: 700;
}

.doc-card p {
  color: var(--color-text-light);
  margin: 0 0 8px 0;
  font-size: 14px;
  line-height: 1.6;
}

.doc-card strong a {
  color: white;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 4px;
  background-color: var(--color-primary);
  transition: all 0.2s ease;
  display: inline-block;
}

.doc-card strong a:hover {
  color: white;
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

/* ========================================
   ADMIN CARDS - Admin section cards
   ======================================== */

.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin: 30px 0;
}

.admin-card {
  background: linear-gradient(135deg, rgba(77, 144, 120, 0.08) 0%, rgba(77, 144, 120, 0.12) 100%);
  padding: 28px;
  border-radius: 8px;
  border-left: 4px solid var(--color-primary);
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
}

.admin-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.admin-card h3 {
  color: var(--color-primary);
  margin: 0 0 18px 0;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-card p {
  color: var(--color-text-light);
  margin: 0 0 16px 0;
  font-size: 13px;
  line-height: 1.6;
}

.admin-card a {
  display: block;
  color: white;
  text-decoration: none;
  font-size: 13px;
  padding: 8px 12px;
  margin: 6px 0;
  border-radius: 4px;
  background-color: var(--color-primary);
  transition: all 0.2s ease;
  font-weight: 500;
}

.admin-card a:hover {
  color: white;
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

/* ========================================
   USAGE CARDS - Usage section cards
   ======================================== */

.usage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin: 30px 0;
}

.usage-card {
  background: linear-gradient(135deg, rgba(77, 144, 120, 0.08) 0%, rgba(77, 144, 120, 0.12) 100%);
  padding: 28px;
  border-radius: 8px;
  border-left: 4px solid var(--color-primary);
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
}

.usage-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.usage-card h3 {
  color: var(--color-primary);
  margin: 0 0 18px 0;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.usage-card p {
  color: var(--color-text-light);
  margin: 0 0 16px 0;
  font-size: 13px;
  line-height: 1.6;
}

.usage-card a {
  display: block;
  color: white;
  text-decoration: none;
  font-size: 13px;
  padding: 8px 12px;
  margin: 6px 0;
  border-radius: 4px;
  background-color: var(--color-primary);
  transition: all 0.2s ease;
  font-weight: 500;
}

.usage-card a:hover {
  color: white;
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

/* ========================================
   STANDARD CARDS - Generic info cards
   ======================================== */

.standards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.standard-card {
  background: linear-gradient(135deg, rgba(77, 144, 120, 0.08) 0%, rgba(77, 144, 120, 0.12) 100%);
  padding: 24px;
  border-radius: 8px;
  border-left: 4px solid var(--color-primary);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.standard-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.standard-card h4 {
  color: var(--color-primary);
  margin: 0 0 12px 0;
  font-size: 16px;
  font-weight: 700;
}

.standard-card p {
  color: var(--color-text-light);
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

/* ========================================
   SUPPORT CARDS - Dark action cards
   ======================================== */

.support-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.support-card {
  background: linear-gradient(135deg, #4D9078 0%, #4D9078 100%);
  color: white;
  padding: 24px;
  border-radius: 8px;
  box-shadow: var(--shadow-dark);
  transition: all 0.3s ease;
}

.support-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(77, 144, 120, 0.4);
}

.support-card strong {
  display: block;
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: 700;
}

.support-card p {
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
  opacity: 0.95;
}

.support-card a {
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.support-card a:hover {
  color: white;
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

/* ========================================
   FLIP CARDS - Interactive 3D flip cards
   ======================================== */

.flip-card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin: 30px 0;
}

.flip-card {
  height: 150px;
  cursor: pointer;
  perspective: 1000px;
  transition: height 0.4s ease;
}

.flip-card:hover {
  height: 420px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s ease;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 24px;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
}

.flip-card-front {
  background: linear-gradient(135deg, #4D9078 0%, #4D9078 100%);
  color: white;
  font-size: 24px;
  font-weight: 600;
}

.flip-card-back {
  background: rgba(255, 255, 255, 0.95);
  color: #101921;
  transform: rotateY(180deg);
  text-align: left;
 /* overflow-y: auto;*/
}

.flip-card-back a {
  color: white;
  text-decoration: none;
  font-weight: 400;
  margin: 4px 0;
  display: block;
  font-size: 14px;
  padding: 8px 24px;
  border-radius: 4px;
  background-color: var(--color-primary);
  transition: all 0.2s ease;
}

.flip-card-back a:hover {
  color: white;
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.workflow-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-primary);
  color: var(--color-primary);
}

.workflow-item {
  margin: 10px 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--color-text);
}

/* ========================================
   INFORMATION BOXES
   ======================================== */

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.info-box {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.info-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.info-box strong {
  color: var(--color-primary);
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
}

.info-box p {
  color: var(--color-text-muted);
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.info-box a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 4px;
  background-color: var(--color-primary);
  transition: all 0.2s ease;
  display: inline-block;
}

.info-box a:hover {
  color: white;
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

/* ========================================
   QUICK NAVIGATION - Fast access section
   ======================================== */

.quick-nav {
  background: linear-gradient(135deg, #4D9078 0%, #4D9078 100%);
  color: white;
  padding: 30px;
  border-radius: 8px;
  margin: 30px 0;
  box-shadow: var(--shadow-dark);
  transition: all 0.3s ease;
}

.quick-nav:hover {
  box-shadow: 0 6px 20px rgba(77, 144, 120, 0.4);
}

.quick-nav h3 {
  margin: 0 0 20px 0;
  font-size: 18px;
  font-weight: 700;
}

.quick-nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.quick-nav-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 16px;
  border-radius: 6px;
  border-left: 3px solid white;
  transition: all 0.3s ease;
  cursor: pointer;
}

.quick-nav-item:hover {
  background: rgba(255, 255, 255, 0.25);
  border-left-color: rgba(77, 144, 120, 0.12);
  transform: translateX(4px);
}

.quick-nav-item a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  display: block;
  margin-bottom: 4px;
  transition: all 0.2s ease;
}

.quick-nav-item a:hover {
  text-decoration: underline;
  color: white;
}

.quick-nav-item p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  margin: 6px 0 0 0;
  line-height: 1.5;
  transition: color 0.3s ease;
}

.quick-nav-item:hover p {
  color: rgba(255, 255, 255, 1);
}

/* ========================================
   WORKFLOW SECTIONS
   ======================================== */

.workflow-section {
  background: #f8f9fa;
  border: 2px solid var(--color-border);
  border-radius: 8px;
  padding: 30px;
  margin: 30px 0;
}

.workflow-section h3 {
  color: var(--color-text);
  margin: 0 0 20px 0;
  font-size: 18px;
  font-weight: 700;
}

.workflow-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  justify-content: center;
}

.workflow-step {
  background: white;
  padding: 12px 20px;
  border-radius: 6px;
  border: 2px solid var(--color-primary);
  font-weight: 600;
  color: var(--color-primary);
  font-size: 14px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.workflow-step:hover {
  background: rgba(77, 144, 120, 0.05);
  transform: translateY(-2px);
}

.workflow-arrow {
  color: var(--color-primary);
  font-size: 18px;
  font-weight: bold;
}

/* ========================================
   DEPENDENCY SECTION
   ======================================== */

.dependency-section {
  background: #f8f9fa;
  border: 2px solid var(--color-border);
  border-radius: 8px;
  padding: 30px;
  margin: 30px 0;
  text-align: center;
}

.dependency-flow {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  font-weight: 600;
  color: var(--color-text);
  margin: 20px 0;
}

.dependency-item {
  background: white;
  padding: 12px 24px;
  border-radius: 6px;
  border: 2px solid var(--color-primary);
  min-width: 200px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.dependency-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.dependency-arrow {
  color: var(--color-primary);
  font-size: 20px;
}

/* ========================================
   RELATED DOCUMENTATION SECTION
   ======================================== */

.related-docs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin: 30px 0;
}

.related-doc-item {
  background: white;
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-primary);
  border-radius: 6px;
  padding: 16px;
  box-shadow: 0 2px 6px rgba(77, 144, 120, 0.05);
  transition: all 0.3s ease;
}

.related-doc-item:hover {
  box-shadow: 0 4px 12px rgba(77, 144, 120, 0.12);
  transform: translateY(-2px);
  border-left-color: var(--color-primary-dark);
}

.related-doc-item a {
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  display: block;
  margin-bottom: 6px;
  padding: 4px 8px;
  border-radius: 4px;
  background-color: var(--color-primary);
  transition: all 0.2s ease;
}

.related-doc-item a:hover {
  color: white;
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.related-doc-item p {
  color: var(--color-text-muted);
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}

/* ========================================
   INFO & ALERT BANNERS
   ======================================== */

.info-banner {
  background: linear-gradient(135deg, #fff5e6 0%, #ffe6cc 100%);
  border-left: 4px solid var(--color-warning);
  padding: 20px;
  border-radius: 6px;
  margin: 30px 0;
  transition: all 0.3s ease;
}

.info-banner:hover {
  box-shadow: 0 2px 8px rgba(255, 152, 0, 0.1);
}

.info-banner strong {
  color: #e65100;
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}

.info-banner p {
  color: var(--color-warning-dark);
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.info-banner a {
  color: var(--color-warning-dark);
  text-decoration: underline;
}

/* ========================================
   ADMIN DOCUMENTATION CARDS
   ======================================== */

.admin-docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.admin-docs-card {
  background: linear-gradient(135deg, rgba(77, 144, 120, 0.08) 0%, rgba(77, 144, 120, 0.12) 100%);
  padding: 24px;
  border-radius: 8px;
  border-left: 4px solid var(--color-primary);
  box-shadow: 0 2px 12px rgba(77, 144, 120, 0.08);
  transition: all 0.3s ease;
}

.admin-docs-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(77, 144, 120, 0.15);
}

.admin-docs-card h3 {
  color: var(--color-primary);
  margin: 0 0 12px 0;
  font-size: 16px;
  font-weight: 700;
}

.admin-docs-card strong {
  color: var(--color-primary);
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
}

.admin-docs-card p {
  color: var(--color-text-light);
  margin: 0 0 12px 0;
  font-size: 14px;
  line-height: 1.6;
}

.admin-docs-card a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 13px;
  display: inline-block;
  padding: 8px 12px;
  margin-top: 8px;
  border-radius: 4px;
  background-color: var(--color-primary);
  transition: all 0.2s ease;
}

.admin-docs-card a:hover {
  color: white;
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

/* ========================================
   CARD LINKS CONTAINER
   ======================================== */

.card-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ========================================
   STEP CARDS - Numbered step flow cards
   ======================================== */

.quick-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 30px 0;
}

.step-card {
  border: 3px solid #4d9078;
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  position: relative;
  background: white;
  box-shadow: 0 2px 8px rgba(77, 144, 120, 0.08);
  transition: all 0.3s ease;
}

.step-card:hover {
  box-shadow: 0 4px 16px rgba(77, 144, 120, 0.15);
  transform: translateY(-4px);
}

.step-card .number {
  background: #4d9078;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin: 0 auto 16px;
  box-shadow: 0 2px 8px rgba(77, 144, 120, 0.3);
}

.step-card h4 {
  color: #4d9078;
  margin: 16px 0 8px 0;
  font-size: 16px;
  font-weight: 700;
}

.step-card p {
  color: var(--color-text-light);
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

/* ========================================
   RESPONSIVE ADJUSTMENTS
   ======================================== */

@media (max-width: 768px) {
  .flip-card-container {
    grid-template-columns: 1fr;
  }

  .flip-card {
    height: auto;
  }

  .flip-card:hover {
    height: auto;
  }

  .flip-card-inner {
    transform: none !important;
  }

  .flip-card:hover .flip-card-inner {
    transform: none !important;
  }

  .flip-card-front,
  .flip-card-back {
    position: static;
    backface-visibility: visible;
    transform: none !important;
  }

  .flip-card-back {
    display: none;
  }

  .learn-grid,
  .admin-grid,
  .usage-grid,
  .standards-grid,
  .support-items,
  .info-grid,
  .quick-nav-grid {
    grid-template-columns: 1fr;
  }

  .workflow-flow {
    flex-direction: column;
    gap: 8px;
  }

  .admin-card,
  .usage-card,
  .support-card {
    padding: 20px;
  }

  .admin-card h3,
  .usage-card h3 {
    font-size: 16px;
  }

  .quick-nav {
    padding: 20px;
  }

  .quick-nav h3 {
    font-size: 16px;
    margin-bottom: 15px;
  }
}

/* ========================================
   DARK MODE SUPPORT
   ======================================== */

@media (prefers-color-scheme: dark) {
  :root > * {
    --color-bg-light:             #2a2a2a;
    --color-bg-card:              #1e3d35;
    --color-bg-card-light:        #255043;
    --color-border:               #444;
    --color-text:                 #e0e0e0;
    --color-text-light:           #b0b0b0;
    --color-text-muted:           #999;
  }

  .info-box {
    background: #1a1a1a;
    border-color: var(--color-border);
  }

  .flip-card-back {
    background: #2a2a2a;
    color: var(--color-text);
  }

  .workflow-section {
    background: #1a1a1a;
    border-color: var(--color-border);
  }

  .workflow-step {
    background: #2a2a2a;
  }

  .dependency-section {
    background: #1a1a1a;
    border-color: var(--color-border);
  }

  .dependency-item {
    background: #2a2a2a;
  }

  .info-banner {
    background: linear-gradient(135deg, #3d2f1a 0%, #4a3a23 100%);
  }
}
.md-content article h1{
  color: #000000;
  font-weight:bold;
}
.md-content article h2{
  font-weight:normal;
}
.md-content article ol li a{
  color: #4d9078;
}

.md-sidebar__inner {
    border: 1px solid #cccccc;
    padding: 16px;
    border-radius: 10px;
}

.md-nav--secondary .md-nav__title{
  background:transparent;
  box-shadow:none;
  color: #000000;
}
nav[data-md-level="2"] ul li a.md-nav__link {
  font-size: 13px;
}

.md-nav.md-nav--secondary ul li a.md-nav__link{
  font-size: 13px;
}

/* ========================================
   ACCORDION NAVIGATION
   ======================================== */

/* Hide Material theme's default chevron icon */
.md-nav__item--nested > .md-nav__link::before {
  display: none !important;
}

.md-nav__item--nested.has-children > .md-nav__link {
  cursor: pointer !important;
  position: relative;
  user-select: none;
  padding-right: 32px;
}

/* Collapsed state - show + only for items with children */
.md-nav__item--nested.has-children > .md-nav__link::after {
  content: '+';
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  font-weight: bold;
  color: #4d9078;
  line-height: 1;
  display: block;
}

/* Expanded state - show - (minus) */
.md-nav__item--nested.has-children.md-nav__item--active > .md-nav__link::after {
  content: '−';
}

/* Hide nested nav when not active */
.md-nav__item--nested.has-children > .md-nav {
  display: none !important;
}

/* Show nested nav when active */
.md-nav__item--nested.has-children.md-nav__item--active > .md-nav {
  display: block !important;
}

/* Hide toggle for items without children */
.md-nav__item--nested:not(.has-children) > .md-nav__link::after {
  display: none !important;
}

.md-nav__toggle {
  display: none !important;
}

label.md-nav__link{
  display: none;
}

nav[data-md-level="0"] > .md-nav__list {
  padding-left: 0 !important;
}

/* ========================================
   IMAGE LIGHTBOX / ZOOM
   ======================================== */

/* Make all images in content clickable */
.md-content img {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-radius: 4px;
  display: block;
  max-width: 100%;
}

.md-content img:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 16px rgba(77, 144, 120, 0.3);
}

.md-content img:active {
  transform: scale(1.02);
}

/* Glightbox styling enhancements */
.glightbox img {
  max-height: 90vh;
  object-fit: contain;
}

.glightbox--open {
  background: rgba(0, 0, 0, 0.95);
}

.gslide-image img {
  max-width: 95vw;
  max-height: 90vh;
  width: auto;
  height: auto;
}

.gslide-title {
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 12px 16px;
  font-size: 14px;
}

.gslide-desc {
  background: rgba(0, 0, 0, 0.8);
  color: rgba(255, 255, 255, 0.8);
  padding: 12px 16px;
  font-size: 12px;
}

/* Close button styling */
.glightbox .gclose {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.glightbox .gclose:hover {
  background: rgba(255, 255, 255, 0.2);
}