/**
 * Shri Damodar Maharaj Mahavidyalaya (SDMM) - Components Stylesheet
 * Strict adherence to SDMM-KKSU-DEVELOPER-REPLACEMENT-SPEC.pdf
 * High-Contrast, Pixel-Perfect Elements
 */

/* ==========================================================================
   1. SOURCE VERIFICATION BADGES (Spec Section 1 & 10)
   ========================================================================== */
.source-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.725rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
  vertical-align: middle;
}

.badge-icon {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.badge-kksu-official {
  background-color: #e0e7ff;
  color: #312e81;
  border: 1px solid #c7d2fe;
}

.badge-sdmm-order {
  background-color: #fef3c7;
  color: #78350f;
  border: 1px solid #fde68a;
}

.badge-sdmm-verified {
  background-color: #d1fae5;
  color: #064e3b;
  border: 1px solid #a7f3d0;
}

.badge-not-available {
  background-color: #fee2e2;
  color: #7f1d1d;
  border: 1px solid #fecaca;
}

/* ==========================================================================
   2. MANDATORY HOMEPAGE & SITEWIDE TRUST STRIP (Spec Section 2.4 & 4.1)
   ========================================================================== */
.trust-strip {
  background: linear-gradient(90deg, #051324 0%, #0d2847 100%);
  border-bottom: 2px solid var(--accent-saffron);
  padding: 0.65rem 0;
  color: #ffffff !important;
  font-size: 0.875rem;
}

.trust-strip strong {
  color: #ffffff !important;
}

.trust-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.trust-strip-message {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #ffffff !important;
}

.trust-shield-icon {
  width: 20px;
  height: 20px;
  color: var(--accent-gold);
  flex-shrink: 0;
}

.trust-strip-text {
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #ffffff !important;
}

.trust-strip-action {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.trust-verify-btn {
  background: var(--accent-saffron);
  color: #ffffff !important;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
  transition: background var(--transition-fast);
}

.trust-verify-btn:hover {
  background: var(--accent-saffron-hover);
}

/* ==========================================================================
   3. HOMEPAGE HERO (Spec Section 4.1 - Semantic HTML)
   ========================================================================== */
.hero-section {
  background: linear-gradient(135deg, rgba(5, 18, 33, 0.98) 0%, rgba(12, 38, 68, 0.96) 100%);
  color: #ffffff !important;
  padding: 4rem 0 3.5rem 0;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
  width: 100%;
}

.hero-content {
  max-width: 680px;
}

.hero-subtitle-top {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-gold) !important;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff !important;
  line-height: 1.18;
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.hero-location-line {
  font-size: 1rem;
  color: #e2e8f0 !important;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  line-height: 1.4;
}

.hero-affiliation-line {
  background: rgba(255, 255, 255, 0.08);
  border-left: 4px solid var(--accent-gold);
  padding: 0.65rem 1rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 0.875rem;
  color: #f8fafc !important;
  margin-bottom: 1.5rem;
  display: inline-block;
  line-height: 1.45;
}

.hero-affiliation-line strong {
  color: #ffffff !important;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

/* Right Column: Hero Visual Card with Image */
.hero-visual-col {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.hero-visual-card {
  position: relative;
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius-xl, 16px);
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(212, 160, 23, 0.4);
  background: #0b192c;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.hero-visual-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 55px rgba(0, 0, 0, 0.6), 0 0 0 2px rgba(212, 160, 23, 0.65);
}

.hero-image-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 11;
  overflow: hidden;
}

.hero-featured-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-visual-card:hover .hero-featured-image {
  transform: scale(1.04);
}

.hero-badge-top-left {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(5, 18, 33, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 160, 23, 0.6);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-gold, #fbbf24);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  z-index: 2;
}

.hero-pulse-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.35);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-badge-top-right {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(16, 185, 129, 0.95);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  z-index: 2;
}

.hero-caption-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(5, 18, 33, 0.96) 0%, rgba(5, 18, 33, 0.6) 65%, transparent 100%);
  padding: 2rem 1.25rem 1.25rem 1.25rem;
  color: #ffffff;
  z-index: 2;
}

.hero-caption-title {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.hero-caption-sub {
  font-size: 0.8rem;
  color: #cbd5e1;
}

/* ==========================================================================
   4. HOMEPAGE VERIFIED INFORMATION PANEL (Spec Section 4.3)
   ========================================================================== */
.verified-panel-wrap {
  margin-top: -2.5rem;
  position: relative;
  z-index: 10;
}

.verified-info-panel {
  background: #ffffff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
  overflow: hidden;
}

.panel-header {
  background: var(--primary-900);
  color: #ffffff !important;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.panel-header h3 {
  color: #ffffff !important;
  font-size: 1.05rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.panel-body {
  padding: 1.5rem;
}

.verified-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.verified-card-item {
  background: var(--bg-body);
  border-radius: var(--radius-lg);
  padding: 1.15rem;
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.v-card-label {
  font-size: 0.725rem;
  text-transform: uppercase;
  font-weight: 700;
  color: #475569 !important;
  margin-bottom: 0.35rem;
  letter-spacing: 0.03em;
}

.v-card-val {
  font-size: 0.95rem;
  font-weight: 700;
  color: #071526 !important;
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.v-card-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-saffron);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.v-card-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   5. THREE PROGRAMME CARDS (Spec Section 3 & 4.2)
   ========================================================================== */
.programmes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.programme-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.programme-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent-saffron);
}

.p-card-header {
  background: var(--primary-800);
  color: #ffffff !important;
  padding: 1.5rem;
  position: relative;
}

.p-card-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
  flex-wrap: wrap;
}

.p-card-dept {
  font-size: 0.75rem;
  color: var(--accent-gold) !important;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  flex: 1;
}

.p-card-badge {
  position: static;
  flex-shrink: 0;
}

.p-card-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff !important;
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.p-card-status {
  font-size: 0.775rem;
  color: #cbd5e1 !important;
  line-height: 1.35;
}

.p-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.p-meta-list {
  list-style: none;
  margin-bottom: 1.5rem;
}

.p-meta-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.55rem 0;
  border-bottom: 1px dashed var(--border-light);
  font-size: 0.85rem;
}

.p-meta-label {
  color: #334155 !important;
  font-weight: 600 !important;
}

.p-meta-value {
  color: #071526 !important;
  font-weight: 700 !important;
  text-align: right;
}

.p-card-footer {
  margin-top: auto;
}

/* ==========================================================================
   6. COURSE-PAGE WIREFRAME (Spec Section 6 - Exact 11-Section Structure)
   ========================================================================== */
.course-wireframe {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  padding: 2.5rem;
  margin-bottom: 3rem;
}

.wireframe-status-banner {
  background: #f8fafc;
  border-left: 4px solid var(--accent-saffron);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  color: var(--text-main);
}

.course-block {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-light);
}

.course-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.course-block-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-900);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.course-block-num {
  width: 28px;
  height: 28px;
  background: var(--primary-800);
  color: #ffffff;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* Tables & Fees */
.table-responsive {
  display: block;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.sdmm-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.875rem;
}

.sdmm-table th {
  background: var(--primary-900);
  color: #ffffff !important;
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 700;
}

.sdmm-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-main);
}

.sdmm-table tr:nth-child(even) {
  background-color: var(--bg-alt);
}

.sdmm-table tr:hover {
  background-color: #f1f5f9;
}

/* ==========================================================================
   7. PUBLIC DISCLOSURES & FILTERABLE TABLE (Spec Section 10)
   ========================================================================== */
.disclosure-controls {
  background: #ffffff;
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  margin-bottom: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.filter-tab {
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-md);
  font-size: 0.825rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-tab.active,
.filter-tab:hover {
  background: var(--primary-800);
  color: #ffffff;
  border-color: var(--primary-800);
}

.search-box-wrap {
  position: relative;
  min-width: 250px;
}

.search-input {
  width: 100%;
  padding: 0.45rem 0.85rem 0.45rem 2.25rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
}

.search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   8. NOTICES & ALERTS (Spec Section 5.7)
   ========================================================================== */
.notices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.notice-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--primary-800);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

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

.notice-card.is-new {
  border-left-color: var(--accent-saffron);
}

.notice-date {
  font-size: 0.75rem;
  color: var(--accent-saffron, #d96312);
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.notice-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #071526 !important;
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.notice-title a {
  color: #071526 !important;
  text-decoration: none;
}

.notice-title a:hover {
  color: var(--accent-saffron) !important;
}

.notice-summary {
  font-size: 0.85rem;
  color: #334155 !important;
  line-height: 1.5;
  margin-bottom: 1rem;
}

/* ==========================================================================
   8B. STATUTORY CELLS & INFRASTRUCTURE CARDS
   ========================================================================== */
.statutory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.statutory-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.statutory-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-saffron);
}

.stat-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-saffron-light);
  color: var(--accent-saffron);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.stat-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #071526 !important;
  margin-bottom: 0.5rem;
}

.stat-desc {
  font-size: 0.85rem;
  color: #334155 !important;
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex: 1;
}

.facilities-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.facility-preview-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast);
}

.facility-preview-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.p-card-footer {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
}

.p-card-footer .btn {
  width: 100%;
  white-space: normal;
  text-align: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  line-height: 1.35;
}

.btn-block {
  display: flex;
  width: 100%;
  text-align: center;
  justify-content: center;
  white-space: normal;
  line-height: 1.35;
}

/* ==========================================================================
   9. BUTTONS & CONTROLS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-saffron);
  color: #ffffff !important;
  border-color: var(--accent-saffron);
  box-shadow: 0 2px 4px rgba(217, 99, 18, 0.25);
}

.btn-primary:hover {
  background: var(--accent-saffron-hover);
  border-color: var(--accent-saffron-hover);
  box-shadow: 0 4px 8px rgba(217, 99, 18, 0.35);
}

.btn-secondary {
  background: var(--primary-800);
  color: #ffffff !important;
  border-color: var(--primary-800);
}

.btn-secondary:hover {
  background: var(--primary-700);
  border-color: var(--primary-700);
}

.btn-outline {
  background: transparent;
  color: var(--primary-800);
  border-color: var(--border-subtle);
}

.btn-outline:hover {
  background: var(--bg-alt);
  color: var(--primary-900);
  border-color: var(--primary-800);
}

.btn-outline-white {
  background: transparent;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
}

/* ==========================================================================
   10. FORMS & INPUTS
   ========================================================================== */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.form-control {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font-size: 0.9rem;
  font-family: inherit;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background-color: #ffffff;
  color: var(--text-main);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-saffron);
  box-shadow: 0 0 0 3px rgba(217, 99, 18, 0.15);
}

textarea.form-control {
  resize: vertical;
}

/* Alert Boxes */
.alert-box {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.alert-info {
  background-color: var(--info-bg);
  color: var(--info-text);
  border-left: 4px solid #3b82f6;
}

.alert-success {
  background-color: var(--success-bg);
  color: var(--success-text);
  border-left: 4px solid #10b981;
}

.alert-danger {
  background-color: var(--danger-bg);
  color: var(--danger-text);
  border-left: 4px solid #ef4444;
}

/* ==========================================================================
   11. HOMEPAGE SPECIALIZED SECTIONS & GATEWAYS
   ========================================================================== */
.notices-split-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.notice-board-container {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.notice-item-card {
  padding: 1rem;
  border-radius: var(--radius-md);
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid var(--primary-600);
  transition: transform var(--transition-fast);
}

.notice-item-card.is-new {
  border-left-color: var(--accent-saffron);
}

.notice-item-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #071526 !important;
  margin-bottom: 0.35rem;
}

.notice-item-title a {
  color: #071526 !important;
  text-decoration: none;
}

.notice-item-title a:hover {
  color: var(--accent-saffron) !important;
}

.notice-item-desc {
  font-size: 0.825rem;
  color: #334155 !important;
  line-height: 1.4;
}

.principal-desk-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}

.principal-desk-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #071526 !important;
  margin-bottom: 0.5rem;
}

.principal-desk-quote {
  font-size: 0.875rem;
  color: #1e293b !important;
  line-height: 1.55;
  margin-bottom: 1rem;
  font-style: italic;
}

.principal-desk-name {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #071526 !important;
}

.principal-desk-role {
  color: #475569 !important;
  font-size: 0.775rem;
  font-weight: 600;
}

.kksu-portals-card {
  background: #071526;
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.kksu-portals-title {
  color: #ffffff !important;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.kksu-portals-sub {
  font-size: 0.825rem;
  color: #cbd5e1 !important;
  margin-bottom: 1rem;
}

.kksu-portal-link {
  color: #f1f5f9 !important;
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.825rem;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.kksu-portal-link:hover {
  background: rgba(255, 255, 255, 0.16);
  color: var(--accent-gold) !important;
}

.disclosure-gateway-card {
  background: linear-gradient(135deg, #071526 0%, #0a1f38 100%);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  border-left: 6px solid var(--accent-saffron);
  box-shadow: var(--shadow-xl);
}

.disclosure-gateway-title {
  color: #ffffff !important;
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.disclosure-gateway-desc {
  color: #e2e8f0 !important;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Notice Board & Principal Desk Specific Elements */
#notices-heading {
  color: #071526 !important;
  font-weight: 700 !important;
}

.principal-desk-card .btn-outline {
  background: #ffffff !important;
  color: #071526 !important;
  border: 1.5px solid #071526 !important;
  font-weight: 700 !important;
  transition: all var(--transition-fast);
}

.principal-desk-card .btn-outline:hover {
  background: #071526 !important;
  color: #ffffff !important;
}

/* High Contrast Accessibility Overrides (Pure Light High-Legibility) */
body.high-contrast .programme-card,
body.high-contrast .facility-preview-card,
body.high-contrast .facility-card,
body.high-contrast .statutory-card,
body.high-contrast .notice-card,
body.high-contrast .course-wireframe,
body.high-contrast .verified-info-panel,
body.high-contrast .verified-card-item,
body.high-contrast .notice-board-container,
body.high-contrast .principal-desk-card,
body.high-contrast .kksu-portals-card,
body.high-contrast .disclosure-gateway-card {
  background: #ffffff !important;
  border: 2px solid #0f172a !important;
  color: #000000 !important;
  box-shadow: none !important;
}

body.high-contrast .disclosure-gateway-card {
  border-left: 8px solid var(--accent-saffron) !important;
}

body.high-contrast .disclosure-gateway-title {
  color: #071526 !important;
}

body.high-contrast .disclosure-gateway-desc {
  color: #1e293b !important;
}

body.high-contrast #notices-heading {
  color: #000000 !important;
}

body.high-contrast .principal-desk-card .btn-outline {
  background: #ffffff !important;
  color: #000000 !important;
  border: 2px solid #000000 !important;
  font-weight: 800 !important;
}

body.high-contrast .principal-desk-card .btn-outline:hover {
  background: #000000 !important;
  color: #ffffff !important;
}

body.high-contrast .programme-card {
  border: 2px solid #071526 !important;
}

body.high-contrast .p-card-header {
  background: #071526 !important;
  border-bottom: 2px solid #000000 !important;
}

body.high-contrast .p-card-body {
  background: #ffffff !important;
}

body.high-contrast .p-meta-list li {
  border-bottom: 1px dashed #64748b !important;
}

body.high-contrast .p-meta-label {
  color: #0f172a !important;
  font-weight: 800 !important;
}

body.high-contrast .p-meta-value {
  color: #000000 !important;
  font-weight: 800 !important;
}

body.high-contrast .v-card-label {
  color: #071526 !important;
  font-weight: 800 !important;
}

body.high-contrast .v-card-val {
  color: #000000 !important;
  font-weight: 800 !important;
}

body.high-contrast .stat-title,
body.high-contrast .notice-title,
body.high-contrast .notice-title a,
body.high-contrast .principal-desk-title,
body.high-contrast .notice-item-title,
body.high-contrast .notice-item-title a {
  color: #000000 !important;
}

body.high-contrast .stat-desc,
body.high-contrast .notice-summary,
body.high-contrast .notice-item-desc {
  color: #1e293b !important;
}

body.high-contrast .principal-desk-quote {
  color: #0f172a !important;
}

body.high-contrast .principal-desk-name {
  color: #b84e06 !important;
}

body.high-contrast .principal-desk-role {
  color: #1e293b !important;
}

body.high-contrast .notice-item-card {
  background: #f8fafc !important;
  border: 1px solid #0f172a !important;
}

body.high-contrast .kksu-portal-link {
  background: #f8fafc !important;
  border: 1px solid #0f172a !important;
  color: #071526 !important;
}

body.high-contrast .disclosure-gateway-card {
  border-left: 6px solid #b84e06 !important;
}