

/* ═══════════════════════════════════════════════════════════
   NEWS & EVENTS
   ═══════════════════════════════════════════════════════════ */
.davv-news-section {
  position: relative;
  border-top: 1px solid var(--primary-color);
  border-bottom: 1px solid var(--primary-color);
  padding-block: 2rem;
  overflow: hidden;
  user-select: none;
}

@media (min-width: 640px) {
  .davv-news-section {
    padding-block: 3rem;
  }
}

@media (min-width: 1024px) {
  .davv-news-section {
    padding-block: 3.5rem;
  }
}

.davv-news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .davv-news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.davv-news-card {
  background: var(--davv-white);
  border: 1px solid var(--davv-slate-200);
  border-radius: var(--davv-radius-md);
  padding: 1.5rem;
  box-shadow: var(--davv-shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (min-width: 640px) {
  .davv-news-card {
    padding: 2rem;
  }
}

.davv-news-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.davv-news-card-title {
  font-weight: 900;
  color: var(--primary-color);
  font-size: 1.125rem;
  line-height: 1;
  margin: 0;
}

@media (min-width: 768px) {
  .davv-news-card-title {
    font-size: 1.25rem;
  }
}

.davv-news-view-all {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--davv-blue);
  text-decoration: none;
  transition: color 0.15s ease;
}

.davv-news-view-all:hover {
  color: var(--primary-color);
}

.davv-news-view-all i {
  font-size: 0.875rem;
}

/* ── Custom Scrollbar Overrides (override root theme brown scrollbar) ─ */
.davv-cms-root .davv-news-list,
.davv-cms-root .davv-events-list {
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  max-height: 280px;
  padding-right: 0.5rem;
  scrollbar-width: thin !important;
  scrollbar-color: var(--davv-slate-400) transparent !important;
}

.davv-cms-root .davv-news-list {
  gap: 1.25rem;
}

.davv-cms-root .davv-events-list {
  gap: 1rem;
}

.davv-cms-root .davv-news-list::-webkit-scrollbar,
.davv-cms-root .davv-events-list::-webkit-scrollbar {
  width: 5px !important;
}

.davv-cms-root .davv-news-list::-webkit-scrollbar-track,
.davv-cms-root .davv-events-list::-webkit-scrollbar-track {
  background: transparent !important;
}

.davv-cms-root .davv-news-list::-webkit-scrollbar-thumb,
.davv-cms-root .davv-events-list::-webkit-scrollbar-thumb {
  background: var(--davv-slate-400) !important;
  border-radius: var(--davv-radius-full) !important;
}

.davv-cms-root .davv-news-list::-webkit-scrollbar-thumb:hover,
.davv-cms-root .davv-events-list::-webkit-scrollbar-thumb:hover {
  background: var(--davv-slate-500) !important;
}

.davv-news-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
}

.davv-news-thumb-wrap {
  width: 4.5rem;
  height: 4.5rem;
  flex-shrink: 0;
  border-radius: var(--davv-radius-md);
  overflow: hidden;
  border: 1px solid var(--davv-slate-100);
}

@media (min-width: 640px) {
  .davv-news-thumb-wrap {
    width: 5rem;
    height: 5rem;
  }
}

.davv-news-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.davv-news-item:hover .davv-news-thumb {
  transform: scale(1.05);
}

.davv-news-text {
  flex: 1;
  min-width: 0;
}

.davv-news-item-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--davv-slate-900);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.25rem;
  transition: color 0.15s ease;
}

@media (min-width: 768px) {
  .davv-news-item-title {
    font-size: 0.8125rem;
  }
}
.davv-news-item:hover .davv-news-item-title {
  color: var(--davv-blue);
}

.davv-news-date {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--davv-slate-400);
}

/* ── Events List ─────────────────────────────────────────── */
.davv-event-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  cursor: pointer;
}

.davv-event-date-card {
  width: 3rem;
  height: 3.5rem;
  flex-shrink: 0;
  background: var(--davv-indigo-50);
  border: 1px solid var(--davv-indigo-100);
  border-radius: var(--davv-radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--davv-shadow-sm);
  transition: background 0.2s ease;
}

.davv-event-item:hover .davv-event-date-card {
  background: var(--davv-indigo-100);
}

.davv-event-day {
  font-weight: 900;
  font-size: 1rem;
  line-height: 1;
  color: var(--davv-indigo-700);
  display: block;
}

.davv-event-month {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.075em;
  color: var(--davv-indigo-85);
  display: block;
  margin-top: 0.25rem;
  line-height: 1;
}

.davv-event-text {
  flex: 1;
  min-width: 0;
}

.davv-event-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--davv-slate-900);
  line-height: 1.35;
  margin-bottom: 0.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.15s ease;
}

@media (min-width: 768px) {
  .davv-event-title {
    font-size: 0.8125rem;
  }
}
.davv-event-item:hover .davv-event-title {
  color: var(--davv-blue);
}

.davv-event-location {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--davv-slate-400);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.davv-text-white {
  color: var(--davv-white) !important;
}

/* ═══════════════════════════════════════════════════════════
   VICE CHANCELLOR & RECRUITERS
   ═══════════════════════════════════════════════════════════ */
.davv-vc-section {
  padding-bottom: 0.75rem;
  user-select: none;
}
@media (min-width: 640px) {
  .davv-vc-section {
    padding-bottom: 2rem;
  }
}

.davv-vc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .davv-vc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* VC Card */
.davv-vc-card {
  background: var(--davv-white);
  border: 1px solid var(--davv-slate-200);
  border-radius: var(--davv-radius-md);
  padding: 1.5rem;
  box-shadow: var(--davv-shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

@media (min-width: 640px) {
  .davv-vc-card {
    padding: 2rem;
  }
}

.davv-vc-watermark {
  position: absolute;
  right: -1.5rem;
  bottom: -1.5rem;
  width: 12rem;
  height: 12rem;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}

.davv-vc-watermark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.davv-vc-card-title {
  position: relative;
  z-index: 10;
  font-weight: 900;
  color: var(--primary-color);
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .davv-vc-card-title {
    font-size: 1.25rem;
  }
}

.davv-vc-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  flex: 1;
  justify-content: center;
}

@media (min-width: 640px) {
  .davv-vc-content {
    flex-direction: row;
  }
}

.davv-vc-portrait-wrap {
  width: 9rem;
  height: 12rem;
  flex-shrink: 0;
  border-radius: var(--davv-radius-md);
  overflow: hidden;
  border: 1px solid var(--davv-slate-100);
  box-shadow: var(--davv-shadow-md);
  margin-inline: auto;
}

@media (min-width: 640px) {
  .davv-vc-portrait-wrap {
    width: 12rem;
    height: 16rem;
    margin-inline: 0;
  }
}

.davv-vc-portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.davv-vc-message {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}
@media (min-width: 640px) {
  .davv-vc-message {
    text-align: left;
  }
}

.davv-vc-quote {
  font-size: 0.875rem;
  font-weight: 600;
  font-style: italic;
  color: var(--davv-slate-600);
  line-height: 1.7;
  margin: 0;
  quotes: "\201C" "\201D";
}

@media (min-width: 640px) {
  .davv-vc-quote {
    font-size: 0.9375rem;
  }
}

.davv-vc-attribution {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.davv-vc-name {
  font-weight: 900;
  color: var(--davv-blue);
  font-size: 0.875rem;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

@media (min-width: 640px) {
  .davv-vc-name {
    font-size: 0.9375rem;
  }
}

.davv-vc-designation {
  color: var(--davv-slate-400);
  font-size: 0.75rem;
  font-weight: 600;
  margin: 0;
}

.davv-vc-read-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1rem;
  background: var(--primary-color);
  color: var(--davv-white);
  font-size: 0.625rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--davv-radius-md);
  text-decoration: none;
  transition: var(--davv-transition-fast);
  box-shadow: var(--davv-shadow-sm);
  align-self: center;
}

@media (min-width: 640px) {
  .davv-vc-read-btn {
    align-self: flex-start;
  }
}

.davv-vc-read-btn:hover {
  background: var(--davv-blue);
  color: var(--davv-white);
}

/* Recruiters Card */
.davv-recruiters-card {
  background: var(--davv-white);
  border: 1px solid var(--davv-slate-200);
  border-radius: var(--davv-radius-md);
  padding: 1.5rem;
  box-shadow: var(--davv-shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (min-width: 640px) {
  .davv-recruiters-card {
    padding: 2rem;
  }
}

.davv-recruiters-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.davv-recruiters-title {
  font-weight: 900;
  color: var(--primary-color);
  font-size: 1.125rem;
}

@media (min-width: 768px) {
  .davv-recruiters-title {
    font-size: 1.25rem;
  }
}

.davv-recruiters-view-all {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--davv-blue);
  text-decoration: none;
  transition: color 0.15s ease;
}

.davv-recruiters-view-all:hover {
  color: var(--primary-color);
}

.davv-recruiters-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items: center;
  justify-items: center;
  padding-block: 0.5rem;
}

@media (min-width: 640px) {
  .davv-recruiters-grid {
    gap: 1.5rem;
  }
}

.davv-recruiter-logo-wrap {
  width: 100%;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  border: 1px solid var(--davv-slate-100);
  border-radius: var(--davv-radius-md);
  background: var(--davv-white);
  box-shadow: var(--davv-shadow-sm);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

@media (min-width: 640px) {
  .davv-recruiter-logo-wrap {
    height: 5rem;
  }
}
.davv-recruiter-logo-wrap:hover {
  transform: scale(1.05);
  box-shadow: var(--davv-shadow-md);
}

.davv-recruiter-logo {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.davv-recruiters-more {
  text-align: right;
  margin-top: 0.75rem;
  padding-right: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  font-style: italic;
  color: var(--davv-slate-400);
}
