/* Styles for CMS-driven parts of the gyandev template (main.css is the original design). */

.gd-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.gd-breadcrumb {
  position: relative;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}
.gd-breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
}
.gd-breadcrumb a:hover {
  color: #fff;
}
.gd-breadcrumb span {
  margin: 0 0.5rem;
  color: rgba(255, 255, 255, 0.4);
}
.gd-breadcrumb span[aria-current] {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

/* Rich text written in the CMS editor */
.gd-rich-text p {
  margin-bottom: 1rem;
}
.gd-rich-text ul,
.gd-rich-text ol {
  margin: 0 0 1rem 1.25rem;
}
.gd-rich-text ul {
  list-style: disc;
}
.gd-rich-text ol {
  list-style: decimal;
}
.gd-rich-text li {
  margin-bottom: 0.4rem;
}
.gd-rich-text h2,
.gd-rich-text h3,
.gd-rich-text h4 {
  margin: 1.25rem 0 0.75rem;
}
.gd-rich-text img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}
.gd-rich-text table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
}
.gd-rich-text td,
.gd-rich-text th {
  border: 1px solid rgba(22, 51, 94, 0.12);
  padding: 0.5rem 0.75rem;
  text-align: left;
}
/* CMS program content reuses the design's own components; keep their list styling */
.gd-rich-text .sem-subjects,
.gd-rich-text .elig-list,
.gd-rich-text .outcomes-grid {
  list-style: none;
  margin-left: 0;
}

.gd-article {
  background: #fff;
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 4px 12px rgba(17, 24, 39, 0.06);
  line-height: 1.75;
}

.gd-about-img {
  width: 100%;
  border-radius: 10px;
  box-shadow: rgba(0, 0, 0, 0.35) 0 5px 15px;
}

.gd-empty {
  padding: 2rem;
  text-align: center;
  color: #4B5563;
  background: #fff;
  border-radius: 16px;
}

.gd-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
}
.gd-pagination a {
  min-width: 2.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  background: #fff;
  color: #1B5E20;
  font-weight: 600;
  text-align: center;
}
.gd-pagination a.active,
.gd-pagination a:hover {
  background: #3E9D55;
  color: #fff;
}

.cat-pill.active {
  background: #3E9D55;
  color: #fff;
}

.gd-sidebar-cta {
  background: #E8A020;
  border-radius: 24px;
  padding: 1.5rem 2rem;
  text-align: center;
}
.gd-sidebar-cta h4 {
  color: #fff;
  margin-bottom: 0.5rem;
}
.gd-sidebar-cta p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.gd-btn-block {
  width: 100%;
  justify-content: center;
  margin-bottom: 1rem;
}
.gd-apply-phone {
  display: block;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 0.25rem;
}

.gd-card-outline {
  box-shadow: 0 1px 3px rgba(17, 24, 39, 0.08);
  border: 1px solid rgba(22, 51, 94, 0.08);
}

.gd-other-programs {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.gd-other-programs a {
  font-size: 0.875rem;
  color: #1B5E20;
  padding: 6px 0;
  border-bottom: 1px solid rgba(22, 51, 94, 0.06);
}

.gd-btn-outline-dark {
  border-color: #1B5E20;
  color: #1B5E20;
}

.gd-affil-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.gd-affil-item span {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #4B5563;
}

.gd-muted-lead {
  color: #4B5563;
  margin-bottom: 2rem;
}

.gd-notice-static {
  cursor: default;
}

.gd-fee-note {
  font-size: 0.85rem;
  font-style: italic;
}

.faculty-info .qual {
  font-size: 0.8rem;
  color: #4B5563;
  margin-top: 0.25rem;
}

.event-list .dot-amber {
  background: #E8A020;
}

.sub-box .btn {
  margin-top: 0.75rem;
}

/* Admission form states */
.gd-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-note {
  font-size: 0.8rem;
  color: #4B5563;
  margin: 0.5rem 0 1rem;
}
.form-success,
.form-error {
  display: none;
  margin-top: 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
}
.form-success {
  background: #E8F5E9;
  color: #1B5E20;
}
.form-error {
  background: #FDECEA;
  color: #B42318;
}

@media (max-width: 768px) {
  .gd-article {
    padding: 1.5rem;
  }
}

.gd-course-overview > h2:first-child {
  margin-top: 0;
}

.gd-payment-content .phase-card {
  text-align: center;
}
.gd-payment-content .payment-grid {
  margin-bottom: 2rem;
}
