/* =============================================
   LOGIN PAGE — Light Mode
   ============================================= */

.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4f7fb;
  position: relative;
  overflow: hidden;
}

/* Subtle diagonal grid texture */
.login-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(1, 56, 94, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(1, 56, 94, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.login-page__glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.2;
  pointer-events: none;
}

.login-page__glow--top {
  top: -150px;
  right: -150px;
  background: var(--brand-orange);
}

.login-page__glow--bottom {
  bottom: -150px;
  left: -150px;
  background: var(--brand-blue);
}

.login-page__container {
  width: 100%;
  max-width: 460px;
  padding: 40px 20px;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* Logo — no inversion needed on light background */
.login-page__logo img {
  max-height: 48px;
  margin-bottom: 36px;
  transition: filter 0.3s ease, transform 0.3s ease;
}

.login-page__logo:hover img {
  filter: drop-shadow(0 4px 12px rgba(242, 105, 36, 0.35));
  transform: translateY(-2px);
}

/* Card */
.login-page__card {
  background: #ffffff;
  border: 1px solid rgba(1, 56, 94, 0.1);
  border-radius: 20px;
  padding: 44px 40px;
  box-shadow:
    0 4px 6px rgba(1, 56, 94, 0.04),
    0 20px 50px rgba(1, 56, 94, 0.08);
}

.login-page__title {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.login-page__subtitle {
  font-size: 0.9rem;
  color: rgba(1, 56, 94, 0.5);
  margin-bottom: 32px;
}

/* Hide Drupal local tasks tabs on login page */
.login-page__card .tabs,
.login-page__card nav.tabs,
.login-page__card .block-local-tasks-block {
  display: none;
}

/* Form fields */
.login-page__card .form-item {
  margin-bottom: 20px;
  text-align: left;
}

.login-page__card label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand-blue);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.login-page__card .form-text,
.login-page__card .form-email,
.login-page__card input[type="text"],
.login-page__card input[type="password"] {
  width: 100%;
  padding: 12px 18px;
  background: #f8fafc;
  border: 1.5px solid rgba(1, 56, 94, 0.15);
  border-radius: 12px;
  color: #2c3e50;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  box-sizing: border-box;
  outline: none;
}

.login-page__card .form-text:focus,
.login-page__card .form-email:focus,
.login-page__card input[type="text"]:focus,
.login-page__card input[type="password"]:focus {
  border-color: var(--brand-orange);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(242, 105, 36, 0.12);
}

/* Submit button */
.login-page__card .form-submit,
.login-page__card button[type="submit"] {
  width: 100%;
  padding: 14px;
  background: var(--brand-orange);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.25s ease;
  margin-top: 10px;
}

.login-page__card .form-submit:hover,
.login-page__card button[type="submit"]:hover {
  background: #d95d1e;
  box-shadow: 0 6px 24px rgba(242, 105, 36, 0.35);
  transform: translateY(-2px);
}

/* Helper text / description / item-list links */
.login-page__card .item-list,
.login-page__card .description {
  font-size: 0.85rem;
  color: rgba(1, 56, 94, 0.55);
  margin-top: 16px;
}

.login-page__card .item-list a,
.login-page__card .description a {
  color: var(--brand-orange);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.login-page__card .item-list a:hover,
.login-page__card .description a:hover {
  color: var(--brand-blue);
}

/* Back to site link */
.login-page__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  color: rgba(1, 56, 94, 0.5);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.login-page__back:hover {
  color: var(--brand-orange);
}

/* Responsive */
@media (max-width: 480px) {
  .login-page__container {
    padding: 24px 16px;
  }

  .login-page__card {
    padding: 32px 24px;
    border-radius: 16px;
  }

  .login-page__title {
    font-size: 1.4rem;
  }
}

/* =============================================
   ALUMNI PAGE
   ============================================= */

/* Hero */
.alumni-hero {
  padding: 180px 0 100px;
  position: relative;
  overflow: hidden;
  background: var(--brand-blue);
}
.alumni-hero--admin { padding-top: 100px; }

/* Admin tabs on the dark banner */
.banner-admin-tabs {
  position: relative;
  z-index: 10;
  text-align: center;
  padding-bottom: 24px;
}

.banner-admin-tabs .block-local-tasks-block h2 { display: none; }

.banner-admin-tabs .tabs {
  display: inline-flex;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 100px;
  padding: 5px 6px;
  gap: 4px;
  backdrop-filter: blur(12px);
}

.banner-admin-tabs .tabs ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.banner-admin-tabs .tabs ul li { margin: 0; padding: 0; }

.banner-admin-tabs .tabs ul li a,
.banner-admin-tabs .tabs ul li a:visited {
  display: inline-block;
  padding: 7px 18px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.banner-admin-tabs .tabs ul li a:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.banner-admin-tabs .tabs ul li.is-active a,
.banner-admin-tabs .tabs ul li a.is-active {
  background: #fff;
  color: var(--brand-blue);
}

.banner-admin-tabs .tabs ul li a[href*="delete"] { color: rgba(255, 160, 150, 0.9); }
.banner-admin-tabs .tabs ul li a[href*="delete"]:hover {
  background: rgba(255, 100, 80, 0.2);
  color: #ffb0a8;
}

/* Front page hero admin — drop flex, use same block pattern as all other pages */
.hero--has-admin {
  display: block;
  padding-top: 100px;
}

.hero--has-admin > .container {
  padding: 60px 0 100px;
}

.alumni-hero .hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  filter: grayscale(20%);
}

.alumni-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(1,56,94,0.95) 0%, rgba(1,28,50,0.85) 60%, rgba(242,105,36,0.15) 100%);
}

.alumni-hero::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--background-color), transparent);
}

/* Stats bar */
.alumni-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.alumni-stat h3 {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--accent-color);
  margin: 0;
}

.alumni-stat span {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.6);
}

/* Year divider */
.alumni-year-divider {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 48px;
}

.alumni-year-divider .year-number {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 900;
  color: var(--brand-blue);
  line-height: 1;
  letter-spacing: -3px;
  flex-shrink: 0;
}

.alumni-year-divider .year-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(to right, var(--accent-color), transparent);
  border-radius: 2px;
}

.alumni-year-section {
  margin-bottom: 72px;
}

@media (max-width: 575px) {
  .alumni-stats { gap: 28px; }
}

/* =============================================
   TEAM MEMBER NODE PREVIEW
   ============================================= */

.team-member-preview {
  max-width: 820px;
  margin: 48px auto;
  padding: 0 24px;
}

/* Wrap card + details side-by-side on wider screens */
.tmp-card-wrap {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 640px) {
  .tmp-card-wrap { grid-template-columns: 1fr; }
}

/* Card column: constrain width so it doesn't stretch */
.tmp-card-wrap .team-card-modern {
  width: 100%;
}

/* Details panel */
.tmp-details-panel {
  background: #fff;
  border: 1px solid rgba(1, 56, 94, 0.1);
  border-radius: 16px;
  padding: 28px 32px;
  box-shadow: 0 4px 20px rgba(1, 56, 94, 0.06);
}

.tmp-detail-row {
  display: flex;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(1, 56, 94, 0.06);
  align-items: baseline;
}

.tmp-detail-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.tmp-detail-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(1, 56, 94, 0.45);
  min-width: 110px;
  flex-shrink: 0;
}

.tmp-detail-value {
  font-size: 0.9rem;
  color: var(--brand-blue);
  font-weight: 500;
}

.tmp-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tmp-links a {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand-orange);
  text-decoration: none;
  padding: 3px 10px;
  border: 1px solid rgba(242, 105, 36, 0.3);
  border-radius: 20px;
  transition: all 0.2s ease;
}

.tmp-links a:hover {
  background: var(--brand-orange);
  color: #fff;
  border-color: var(--brand-orange);
}

/* =============================================
   SUPPRESS NUMBER INPUT SPINNERS
   (year field on team_member form)
   ============================================= */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type="number"] {
  -moz-appearance: textfield;
}

/* =============================================
   RESEARCH PAGE
   ============================================= */

/* Hero */
.detail-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 180px 0 120px;
  position: relative;
  overflow: hidden;
  background: var(--brand-blue);
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.14;
  filter: grayscale(25%);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(1,56,94,0.97) 0%, rgba(1,28,50,0.88) 55%, rgba(242,105,36,0.22) 100%);
}
.hero-stats-strip {
  display: flex;
  gap: 56px;
  justify-content: center;
  margin-top: 64px;
  flex-wrap: wrap;
}
.hero-stat { text-align: center; padding: 0 8px; }
.hero-stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--accent-color);
  line-height: 1;
  display: block;
}
.hero-stat-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.5);
  margin-top: 8px;
  display: block;
}

/* Filter Bar */
.research-filter-section {
  background: #ffffff;
  border-bottom: 1px solid rgba(1,56,94,0.08);
  box-shadow: 0 4px 20px rgba(1,56,94,0.06);
}

/* Research Cards */
.research-card-premium {
  background: #ffffff;
  border: 1px solid rgba(1,56,94,0.08);
  border-radius: 28px;
  padding: 48px;
  margin-bottom: 48px;
  transition: all 0.4s ease;
  box-shadow: 0 8px 30px rgba(1,56,94,0.05);
}
.research-card-premium:hover {
  border-color: rgba(242,105,36,0.28);
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(1,56,94,0.1);
}
.research-img-wrapper {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(1,56,94,0.12);
}
.research-img-wrapper img {
  transition: transform 0.6s ease;
  display: block;
  width: 100%;
  height: 340px;
  object-fit: cover;
}
.research-card-premium:hover .research-img-wrapper img {
  transform: scale(1.05);
}
.rail-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.rail-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(242,105,36,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent-color);
  flex-shrink: 0;
}
.rail-meta { display: flex; flex-direction: column; }
.rail-number {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: rgba(1,56,94,0.4);
  font-weight: 700;
  line-height: 1;
}
.rail-badge {
  display: inline-block;
  margin-top: 4px;
  padding: 3px 10px;
  background: rgba(242,105,36,0.1);
  border: 1px solid rgba(242,105,36,0.2);
  color: var(--accent-color);
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.tech-pill {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(1,56,94,0.05);
  border: 1px solid rgba(1,56,94,0.1);
  color: var(--brand-blue);
  border-radius: 50px;
  font-size: 0.77rem;
  font-weight: 600;
  margin-right: 8px;
  margin-bottom: 8px;
}
.mentor-tag {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--accent-color);
  font-weight: 800;
  margin-bottom: 6px;
  display: block;
}
.lead-card {
  padding: 20px 24px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(1,56,94,0.04) 0%, rgba(242,105,36,0.03) 100%);
  border: 1px solid rgba(1,56,94,0.07);
}

/* Filter Pills */
.filter-pill {
  padding: 8px 20px;
  border-radius: 50px;
  border: 1.5px solid rgba(1,56,94,0.12);
  background: transparent;
  color: var(--brand-blue);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.filter-pill:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
  background: rgba(242,105,36,0.05);
}
.filter-pill.active {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: #fff;
  box-shadow: 0 4px 14px rgba(242,105,36,0.3);
}

@media (max-width: 767px) {
  .research-card-premium { padding: 28px 20px; }
  .hero-stats-strip { gap: 28px; }
  .hero-stat-number { font-size: 2rem; }
  .research-img-wrapper img { height: 220px; }
}

/* =============================================
   RESEARCH AREA DETAIL PAGE
   ============================================= */

/* Hero */
.research-detail-hero {
  padding: 180px 0 100px;
  background: var(--brand-blue);
  position: relative;
  overflow: hidden;
}
.research-detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('/themes/disal_v2_theme/images/hero-bg.jpg') center/cover;
  opacity: 0.14;
  filter: grayscale(25%);
  pointer-events: none;
}
.research-detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(1,56,94,0.97) 0%, rgba(1,28,50,0.88) 55%, rgba(242,105,36,0.22) 100%);
  pointer-events: none;
}
.research-detail-hero .container { position: relative; z-index: 2; }
.research-detail-hero .lead-text { color: rgba(255,255,255,0.72) !important; }

/* Topic cards */
.topic-card {
  background: rgba(1,56,94,0.03);
  border: 1px solid rgba(1,56,94,0.08);
  border-radius: 20px;
  padding: 30px;
  height: 100%;
  transition: all 0.3s ease;
}
.topic-card:hover {
  border-color: var(--accent-color);
  background: rgba(242,105,36,0.04);
  transform: translateY(-4px);
}
.topic-icon {
  font-size: 2rem;
  color: var(--accent-color);
  margin-bottom: 16px;
}

/* Project items */
.project-item {
  border-left: 3px solid var(--accent-color);
  padding: 20px 24px;
  background: rgba(1,56,94,0.02);
  border-radius: 0 12px 12px 0;
  margin-bottom: 16px;
}

/* Publication items */
.pub-item {
  background: #fff;
  border-left: 4px solid var(--accent-color);
  padding: 24px;
  border-radius: 0 12px 12px 0;
  margin-bottom: 16px;
  box-shadow: 0 4px 15px rgba(1,56,94,0.06);
}
.pub-venue {
  color: var(--accent-color);
  font-style: italic;
  font-size: 0.85rem;
}



/* =============================================
   PUBLICATIONS PAGE
   ============================================= */

/* Hero */
.pub-hero {
  padding: 180px 0 100px;
  position: relative;
  overflow: hidden;
  background: var(--brand-blue);
}
.pub-hero .hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  filter: grayscale(20%);
}
.pub-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(1,56,94,0.95) 0%, rgba(1,28,50,0.85) 60%, rgba(242,105,36,0.15) 100%);
}
.pub-hero-eyebrow {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--accent-color);
  font-weight: 800;
  display: block;
  margin-bottom: 16px;
}
.pub-hero-title {
  color: #fff;
  margin-bottom: 1rem;
}
.pub-hero-lead {
  max-width: 800px;
  margin: 0 auto;
  color: rgba(255,255,255,0.75);
}
.pub-breadcrumb-link  { color: rgba(255,255,255,0.45); text-decoration: none; }
.pub-breadcrumb-sep   { color: rgba(255,255,255,0.25); }
.pub-breadcrumb-active { color: var(--accent-color); font-weight: 700; }
.pub-hero--admin { padding-top: 120px; }

/* Load-more button variant */
.pub-btn-lg { padding: 15px 40px; }

@media (max-width: 767px) {
  .pub-hero { padding: 140px 0 70px; }
  .pub-hero--admin { padding-top: 100px; }
}

.pub-filter-bar {
  background: rgba(255,255,255,0.7);
  padding: 20px 30px;
  border-radius: 20px;
  border: 1px solid rgba(1,56,94,0.1);
  margin-bottom: 50px;
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 50;
  box-shadow: 0 10px 30px rgba(1,56,94,0.05);
}

.pub-list-item {
  background: #fff;
  border-left: 4px solid transparent;
  padding: 30px;
  border-radius: 0 15px 15px 0;
  margin-bottom: 25px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(1,56,94,0.05);
}
.pub-list-item:hover {
  border-left-color: var(--accent-color);
  transform: translateX(10px);
  box-shadow: 0 10px 25px rgba(1,56,94,0.1);
}

.pub-year {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
  display: block;
}

.pub-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 12px;
  line-height: 1.4;
}

.pub-authors {
  font-size: 0.9rem;
  color: var(--default-color);
  opacity: 0.7;
  margin-bottom: 15px;
}

.pub-venue {
  font-style: italic;
  color: var(--accent-color);
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.pub-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.pub-btn {
  padding: 8px 18px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 50px;
  border: 1px solid rgba(1,56,94,0.1);
  color: var(--brand-blue);
  background: rgba(1,56,94,0.05);
  transition: all 0.3s;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.pub-btn:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
  box-shadow: 0 5px 15px rgba(242,105,36,0.3);
  color: #fff;
}

.search-input {
  background: #fff;
  border: 1px solid rgba(1,56,94,0.1);
  border-radius: 15px;
  padding: 12px 25px;
  color: var(--brand-blue);
  width: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(1,56,94,0.05);
}
.search-input:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 10px rgba(242,105,36,0.2);
}

.custom-dropdown { position: relative; width: 100%; z-index: 100; }

.custom-dropdown-selected {
  background: #fff;
  border: 1px solid rgba(1,56,94,0.1);
  border-radius: 15px;
  padding: 12px 45px 12px 25px;
  color: var(--brand-blue);
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(1,56,94,0.05);
  position: relative;
}
.custom-dropdown-selected::after {
  content: '\F282';
  font-family: 'bootstrap-icons';
  color: var(--accent-color);
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}
.custom-dropdown.active .custom-dropdown-selected::after { transform: translateY(-50%) rotate(180deg); }
.custom-dropdown-selected:hover { border-color: var(--accent-color); }

.custom-dropdown-options {
  position: absolute;
  top: calc(100% + 5px);
  left: 0; right: 0;
  background: #fff;
  border: 2px solid var(--accent-color);
  border-radius: 15px;
  overflow: hidden;
  display: none;
  z-index: 9999;
  box-shadow: 0 10px 30px rgba(1,56,94,0.15);
}
.custom-dropdown.active .custom-dropdown-options { display: block; }

.custom-dropdown-option {
  padding: 14px 25px;
  color: var(--brand-blue);
  cursor: pointer;
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(1,56,94,0.05);
  font-size: 0.95rem;
}
.custom-dropdown-option:last-child { border-bottom: none; }
.custom-dropdown-option:hover { background: rgba(242,105,36,0.1); color: var(--accent-color); padding-left: 35px; font-weight: 600; }
.custom-dropdown-option.selected { background: rgba(242,105,36,0.1); color: var(--accent-color); }

.pub-hidden { display: none !important; }

@media (max-width: 991px) { .pub-filter-bar { padding: 16px 20px; } }

@media (max-width: 767px) {
  .pub-filter-bar { padding: 14px 16px; border-radius: 14px; }
  .pub-list-item { padding: 20px 16px; border-radius: 0 12px 12px 0; }
  .pub-list-item:hover { transform: none; }
  .pub-title { font-size: 1.05rem; }
  .pub-actions { gap: 10px; }
  .pub-btn { font-size: 0.7rem; padding: 7px 14px; }
}

@media (max-width: 480px) {
  .pub-list-item { padding: 16px 12px; }
  .pub-actions { gap: 8px; }
}

/* Publication section label */
.pub-section-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  margin-top: 8px;
}
.pub-section-label span {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-color);
}
.pub-section-label::before,
.pub-section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(1,56,94,0.1);
}

/* Publication full-preview hero — shorter than standard detail-hero */
.pub-full-hero {
  padding-bottom: 60px !important;
}

/* Featured publication card in standalone teaser preview */
.pub-teaser-single {
  display: flex;
  justify-content: center;
  padding-top: 24px;
  width: 100%;
}
.pub-teaser-single .publication-card {
  width: 100%;
  max-width: 680px;
  height: 420px;       /* explicit height so position:absolute image fills it */
  grid-column: unset !important;
  grid-row: unset !important;
}

/* =====================================================================
   LMS PAGE
   ===================================================================== */

.lms-hero {
  padding: 180px 0 120px;
  position: relative;
  overflow: hidden;
  background: var(--brand-blue);
}

.lms-hero .hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.13;
  filter: grayscale(20%);
}

.lms-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(1,56,94,0.97) 0%, rgba(1,28,50,0.88) 55%, rgba(242,105,36,0.2) 100%);
}

/* Reduce top padding when admin tabs are present so total height stays the same */
.lms-hero--admin {
  padding-top: 100px;
}

.feature-card {
  background: #fff;
  border: 1px solid rgba(1,56,94,0.08);
  border-radius: 24px;
  padding: 40px 36px;
  height: 100%;
  transition: all 0.35s ease;
  box-shadow: 0 8px 30px rgba(1,56,94,0.05);
}

.feature-card:hover {
  border-color: rgba(242,105,36,0.28);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(1,56,94,0.1);
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: rgba(242,105,36,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--accent-color);
  margin-bottom: 24px;
}

.access-banner {
  background: linear-gradient(135deg, var(--brand-blue) 0%, rgba(1,28,50,1) 60%, rgba(242,105,36,0.25) 100%);
  border-radius: 28px;
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
}

.access-banner::before {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: rgba(242,105,36,0.07);
  pointer-events: none;
}

@media (max-width: 767px) {
  .access-banner { padding: 36px 24px; }
}

/* =====================================================================
   MANAGER PAGE
   ===================================================================== */

.manager-hero {
  padding: 180px 0 120px;
  position: relative;
  overflow: hidden;
  background: var(--brand-blue);
}

.manager-hero .hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.13;
  filter: grayscale(20%);
}

.manager-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(1,56,94,0.97) 0%, rgba(1,28,50,0.88) 55%, rgba(242,105,36,0.2) 100%);
}

/* Reduce top padding when admin tabs are present so total height stays the same */
.manager-hero--admin {
  padding-top: 100px;
}

/* =====================================================================
   EVENTS & ANNOUNCEMENTS PAGE
   ===================================================================== */

.events-hero {
  padding: 180px 0 90px;
  position: relative;
  overflow: hidden;
}
.events-hero .hero-bg-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.28) grayscale(15%);
  z-index: 0;
}
.events-hero .hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(1,22,39,0.92) 0%, rgba(1,56,94,0.72) 100%);
  z-index: 1;
}
.events-hero .container { position: relative; z-index: 2; }
.events-hero--admin { padding-top: 100px; }

.events-stats { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 36px; }
.events-stat h4 { font-size: 2rem; font-weight: 900; color: var(--accent-color); margin: 0; }
.events-stat span { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,0.5); }

/* Publications / Research hero admin padding compensation */
.pub-hero--admin,
.detail-hero--admin {
  padding-top: 100px;
}

/* Admin quick-action bar */
.events-admin-actions {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 24px;
}
.events-admin-btn {
  display: inline-flex; align-items: center;
  padding: 9px 20px; border-radius: 50px;
  font-size: 0.82rem; font-weight: 700;
  background: var(--brand-blue); color: #fff;
  border: 1px solid var(--brand-blue);
  text-decoration: none; transition: all 0.2s;
}
.events-admin-btn:hover {
  background: var(--accent-color); border-color: var(--accent-color); color: #fff;
}

/* Filter bar */
.events-filter-bar {
  background: #fff;
  padding: 20px 28px;
  border-radius: 20px;
  border: 1px solid rgba(1,56,94,0.08);
  margin-bottom: 48px;
  box-shadow: 0 8px 30px rgba(1,56,94,0.06);
}
.events-filter-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.events-filter-pill {
  padding: 7px 18px; border-radius: 50px;
  border: 1px solid rgba(1,56,94,0.12);
  background: transparent; color: var(--brand-blue);
  font-size: 0.8rem; font-weight: 600; cursor: pointer; transition: all 0.22s; white-space: nowrap;
}
.events-filter-pill:hover { border-color: var(--accent-color); color: var(--accent-color); }
.events-filter-pill.active {
  background: var(--accent-color); border-color: var(--accent-color);
  color: #fff; box-shadow: 0 4px 14px rgba(242,105,36,0.3);
}
.events-search {
  background: #fff; border: 1px solid rgba(1,56,94,0.12);
  border-radius: 50px; padding: 10px 20px 10px 44px;
  color: var(--brand-blue); width: 100%; font-size: 0.9rem;
  box-shadow: 0 2px 10px rgba(1,56,94,0.04);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.events-search:focus { outline: none; border-color: var(--accent-color); box-shadow: 0 0 0 3px rgba(242,105,36,0.1); }

/* Section dividers */
.section-divider {
  display: flex; align-items: center; gap: 20px; margin: 56px 0 36px;
}
.section-divider::before, .section-divider::after { content: ''; flex: 1; height: 1px; }
.section-divider::before { background: linear-gradient(to right, transparent, rgba(1,56,94,0.15)); }
.section-divider::after  { background: linear-gradient(to left,  transparent, rgba(1,56,94,0.15)); }
.section-divider h3 {
  white-space: nowrap; padding: 9px 24px;
  background: #fff; border: 1px solid rgba(242,105,36,0.25);
  border-radius: 50px; color: var(--accent-color);
  font-size: 0.85rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1.5px;
  box-shadow: 0 4px 14px rgba(1,56,94,0.04); margin: 0;
}

/* Event cards */
.event-card {
  background: #fff; border: 1px solid rgba(1,56,94,0.08);
  border-radius: 20px; margin-bottom: 24px; overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 6px 24px rgba(1,56,94,0.05);
  transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
}
@media (min-width: 992px) { .event-card { flex-direction: row; align-items: stretch; } }
.event-card:hover {
  box-shadow: 0 16px 40px rgba(1,56,94,0.12);
  transform: translateY(-4px); border-color: rgba(242,105,36,0.3);
}
.event-flyer { width: 100%; min-height: 220px; position: relative; overflow: hidden; flex-shrink: 0; }
@media (min-width: 992px) { .event-flyer { width: 260px; min-height: unset; } }
.event-flyer img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.event-card:hover .event-flyer img { transform: scale(1.06); }
.event-type-pill {
  position: absolute; top: 14px; left: 14px;
  padding: 4px 12px; border-radius: 50px;
  font-size: 0.68rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.5px;
  backdrop-filter: blur(8px); z-index: 2;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3); color: #fff;
}
.event-content { padding: 28px 30px; flex-grow: 1; display: flex; flex-direction: column; }
.event-date {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--accent-color); font-weight: 700; font-size: 0.85rem; margin-bottom: 12px;
}
.event-title { font-size: 1.35rem; font-weight: 800; color: var(--brand-blue); margin-bottom: 14px; line-height: 1.3; }
.event-meta { display: flex; gap: 20px; margin-bottom: 12px; flex-wrap: wrap; }
.event-meta-item { display: flex; align-items: center; gap: 7px; color: var(--default-color); opacity: 0.65; font-size: 0.85rem; }
.event-meta-item i { color: var(--accent-color); font-size: 1rem; }
.event-description { color: var(--default-color); opacity: 0.8; line-height: 1.65; font-size: 0.92rem; margin-bottom: 18px; flex: 1; }
.event-btn {
  align-self: flex-start; padding: 10px 24px; font-size: 0.82rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.3px;
  border-radius: 50px; border: 1px solid var(--accent-color);
  color: var(--accent-color); background: transparent;
  transition: all 0.25s; display: inline-flex; align-items: center; gap: 7px; text-decoration: none;
}
.event-btn:hover { background: var(--accent-color); color: #fff; box-shadow: 0 6px 18px rgba(242,105,36,0.3); }

/* Announcement cards */
.announcement-card {
  background: #fff; border-left: 4px solid transparent;
  padding: 28px 30px; border-radius: 0 16px 16px 0;
  transition: all 0.3s ease; cursor: pointer; position: relative;
  box-shadow: 0 4px 15px rgba(1,56,94,0.05); display: block;
}
.announcement-card:hover { transform: translateX(8px); box-shadow: 0 10px 28px rgba(1,56,94,0.1); border-left-color: var(--accent-color) !important; }
.announcement-card[data-ann-type="Important"]  { border-left-color: #e74c3c; }
.announcement-card[data-ann-type="Achievement"] { border-left-color: #27ae60; }
.announcement-card[data-ann-type="Opportunity"] { border-left-color: #2980b9; }
.announcement-card[data-ann-type="News"]        { border-left-color: var(--accent-color); }
.announcement-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.announcement-type {
  padding: 3px 12px; border-radius: 50px; font-size: 0.7rem;
  font-weight: 800; text-transform: uppercase; letter-spacing: 1px;
}
.announcement-type.type-Important  { background: rgba(231,76,60,0.1);  color: #e74c3c; }
.announcement-type.type-Achievement { background: rgba(39,174,96,0.1);  color: #27ae60; }
.announcement-type.type-Opportunity { background: rgba(41,128,185,0.1); color: #2980b9; }
.announcement-type.type-News        { background: rgba(242,105,36,0.1); color: var(--accent-color); }
.announcement-date { color: var(--default-color); opacity: 0.45; font-size: 0.8rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.announcement-title { font-size: 1.15rem; font-weight: 700; color: var(--brand-blue); margin-bottom: 8px; line-height: 1.35; }
.announcement-text { color: var(--default-color); opacity: 0.72; line-height: 1.7; font-size: 0.9rem; margin-bottom: 14px; }
.announcement-read-more {
  font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
  color: var(--accent-color); display: inline-flex; align-items: center; gap: 5px; transition: gap 0.2s;
}
.announcement-card:hover .announcement-read-more { gap: 9px; }

/* Responsive */
@media (max-width: 767px) {
  .events-hero { padding: 120px 0 60px; }
  .events-stats { gap: 24px; margin-top: 24px; }
  .events-stat h4 { font-size: 1.6rem; }
  .events-filter-bar { padding: 16px 18px; border-radius: 14px; margin-bottom: 32px; }
  .section-divider { gap: 12px; margin: 40px 0 24px; }
  .section-divider h3 { font-size: 0.72rem; padding: 7px 16px; }
  .event-content { padding: 20px 18px; }
  .event-title { font-size: 1.15rem; }
  .event-meta { gap: 12px; }
  .announcement-card { padding: 20px 18px; }
  .announcement-title { font-size: 1rem; }
}
@media (max-width: 479px) {
  .events-hero { padding: 100px 0 50px; }
  .event-btn { width: 100%; justify-content: center; align-self: stretch; }
}

/* =====================================================================
   EVENT DETAIL PAGE
   ===================================================================== */

.event-detail-hero--admin,
.ann-hero--admin {
  padding-top: 100px;
}

.event-detail-hero {
  padding: 180px 0 80px;
  position: relative; overflow: hidden;
}
.event-detail-hero .hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(20%) brightness(0.35); z-index: 0;
}
.event-detail-hero .hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(1,22,39,0.92) 0%, rgba(1,56,94,0.75) 100%);
  z-index: 1;
}
.event-detail-hero .container { position: relative; z-index: 2; }
.event-detail-hero h1 { color: #fff; }
.event-detail-hero .lead-text { color: rgba(255,255,255,0.8); }

.event-type-badge {
  display: inline-block; padding: 6px 18px;
  background: var(--accent-color); color: #fff;
  border-radius: 50px; font-size: 0.75rem;
  font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; margin-bottom: 20px;
}

.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.7); font-size: 0.9rem;
  font-weight: 600; margin-bottom: 28px;
  transition: all 0.2s; text-decoration: none;
}
.back-link:hover { color: var(--accent-color); gap: 12px; }

.event-info-strip {
  background: #fff; border-radius: 20px;
  padding: 28px 36px; box-shadow: 0 10px 40px rgba(1,56,94,0.1);
  border: 1px solid rgba(1,56,94,0.07);
  display: flex; flex-wrap: wrap; gap: 32px;
  margin-top: -50px; position: relative; z-index: 10;
}
.info-strip-item { display: flex; align-items: center; gap: 14px; }
.info-strip-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(242,105,36,0.1); border: 1px solid rgba(242,105,36,0.2);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.info-strip-icon i { color: var(--accent-color); font-size: 1.2rem; }
.info-strip-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 1px; color: var(--default-color); opacity: 0.5; margin-bottom: 3px; }
.info-strip-value { font-size: 0.95rem; font-weight: 700; color: var(--brand-blue); }

.event-section-title {
  font-size: 1.5rem; font-weight: 800; color: var(--brand-blue);
  margin-bottom: 24px; padding-bottom: 12px;
  border-bottom: 2px solid rgba(1,56,94,0.08);
}
.highlight-list { list-style: none; padding: 0; margin: 0; }
.highlight-list li {
  padding: 10px 0 10px 32px; position: relative;
  border-bottom: 1px solid rgba(1,56,94,0.06); opacity: 0.85;
}
.highlight-list li:last-child { border-bottom: none; }
.highlight-list li::before {
  content: '\F26B'; font-family: 'bootstrap-icons';
  position: absolute; left: 0; color: var(--accent-color);
}

.agenda-day-label {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-color);
  margin: 28px 0 14px;
}
.agenda-item {
  background: #fff;
  border: 1px solid rgba(1,56,94,0.08);
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 12px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: all 0.25s;
}
.agenda-item:hover {
  border-color: var(--accent-color);
  transform: translateX(4px);
  box-shadow: 0 6px 20px rgba(1,56,94,0.08);
}
.agenda-time-pill {
  background: rgba(242,105,36,0.1);
  border: 1px solid rgba(242,105,36,0.2);
  color: var(--accent-color);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}
.agenda-title { font-size: 1rem; font-weight: 700; color: var(--brand-blue); margin-bottom: 4px; }
.agenda-desc { font-size: 0.875rem; color: var(--default-color); opacity: 0.75; margin-bottom: 4px; }
.agenda-speaker { font-size: 0.8rem; color: var(--accent-color); font-style: italic; }

.registration-card {
  background: linear-gradient(135deg, var(--brand-blue) 0%, #024a7a 100%);
  border-radius: 24px; padding: 36px; text-align: center;
  position: sticky; top: 100px;
}
.registration-card h3 { color: #fff; font-size: 1.4rem; font-weight: 800; margin-bottom: 8px; }
.ev-price { font-size: 2rem; font-weight: 900; color: var(--accent-color); margin: 16px 0 6px; }
.ev-price-note { color: rgba(255,255,255,0.6); font-size: 0.82rem; margin-bottom: 24px; }
.register-btn {
  display: block; width: 100%; padding: 14px;
  background: var(--accent-color); color: #fff;
  border-radius: 50px; font-weight: 700; font-size: 0.95rem;
  text-transform: uppercase; letter-spacing: 0.5px;
  border: none; cursor: pointer; transition: all 0.3s; text-decoration: none;
}
.register-btn:hover { background: #fff; color: var(--accent-color); box-shadow: 0 8px 24px rgba(242,105,36,0.35); transform: translateY(-2px); }
.event-meta-mini { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.event-meta-mini-item { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.75); font-size: 0.88rem; }
.event-meta-mini-item i { color: var(--accent-color); }

/* Registration modal */
.reg-backdrop {
  position: fixed; inset: 0; background: rgba(1,22,39,0.65);
  backdrop-filter: blur(8px); z-index: 9100;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.reg-backdrop.active { opacity: 1; pointer-events: all; }
.reg-modal {
  position: fixed; top: 50%; left: 50%;
  transform: translate(-50%, -48%) scale(0.96);
  width: min(560px, 94vw); max-height: 90vh;
  background: #fff; border-radius: 24px;
  z-index: 9101; overflow-y: auto;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s, transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
  box-shadow: 0 40px 80px rgba(1,22,39,0.3);
  scrollbar-width: none;
}
.reg-modal::-webkit-scrollbar { display: none; }
.reg-modal.active { opacity: 1; pointer-events: all; transform: translate(-50%, -50%) scale(1); }
.reg-modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(1,56,94,0.06); border: 1px solid rgba(1,56,94,0.1);
  color: var(--brand-blue); display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 0.9rem; transition: all 0.2s;
}
.reg-modal-close:hover { background: #fee; border-color: #e74c3c; color: #e74c3c; }
.reg-modal-header { padding: 36px 36px 24px; border-bottom: 1px solid rgba(1,56,94,0.08); }
.reg-modal-event-type {
  display: inline-block; padding: 4px 14px;
  background: rgba(242,105,36,0.1); color: var(--accent-color);
  border-radius: 50px; font-size: 0.72rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px;
}
.reg-modal-header h2 { font-size: 1.4rem; font-weight: 800; color: var(--brand-blue); margin-bottom: 6px; }
.reg-modal-header p { font-size: 0.85rem; opacity: 0.5; margin: 0; }
.reg-modal-form { padding: 28px 36px 32px; }
.reg-field { margin-bottom: 18px; }
.reg-field label { display: block; font-size: 0.82rem; font-weight: 700; color: var(--brand-blue); margin-bottom: 6px; opacity: 0.75; }
.reg-field label span { color: var(--accent-color); }
.reg-field input, .reg-field select, .reg-field textarea {
  width: 100%; padding: 11px 16px;
  border: 1px solid rgba(1,56,94,0.15); border-radius: 10px;
  font-size: 0.92rem; color: var(--brand-blue); background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none; -webkit-appearance: none;
}
.reg-field input:focus, .reg-field select:focus, .reg-field textarea:focus {
  outline: none; border-color: var(--accent-color); box-shadow: 0 0 0 3px rgba(242,105,36,0.12);
}
.reg-field textarea { resize: vertical; min-height: 80px; }
.reg-modal-actions { display: flex; gap: 12px; align-items: center; margin-top: 24px; flex-wrap: wrap; }
.reg-submit-btn {
  padding: 12px 28px; background: var(--accent-color); color: #fff;
  border: none; border-radius: 50px; font-weight: 700; font-size: 0.9rem;
  cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: all 0.25s;
}
.reg-submit-btn:hover { background: #e85d10; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(242,105,36,0.35); }
.reg-cancel-btn {
  padding: 12px 20px; background: transparent;
  border: 1px solid rgba(1,56,94,0.12); border-radius: 50px;
  color: var(--brand-blue); font-size: 0.88rem; cursor: pointer; transition: all 0.2s;
}
.reg-cancel-btn:hover { border-color: #e74c3c; color: #e74c3c; }
.reg-privacy { font-size: 0.75rem; opacity: 0.45; margin-top: 16px; }
.reg-privacy a { color: var(--accent-color); }
.reg-success { padding: 48px 36px; text-align: center; }
.reg-success-icon { font-size: 3.5rem; color: #27ae60; margin-bottom: 16px; }
.reg-success h3 { font-size: 1.5rem; font-weight: 800; color: var(--brand-blue); margin-bottom: 10px; }
.reg-success p { opacity: 0.7; margin-bottom: 28px; }

/* =====================================================================
   ANNOUNCEMENT DETAIL PAGE
   ===================================================================== */

.ann-hero {
  padding: 180px 0 80px; position: relative; overflow: hidden;
}
.ann-hero .hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; filter: brightness(0.3) grayscale(20%); z-index: 0;
}
.ann-hero .hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(1,22,39,0.90) 0%, rgba(1,56,94,0.70) 100%);
  z-index: 1;
}
.ann-hero .container { position: relative; z-index: 2; }
.ann-hero h1 { color: #fff; }

.ann-type-badge {
  display: inline-block; padding: 6px 18px; border-radius: 50px;
  font-size: 0.75rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 1px; margin-bottom: 20px;
}
.ann-type-badge.type-Important  { background: rgba(231,76,60,0.2);  color: #ff6b5b; }
.ann-type-badge.type-Achievement { background: rgba(39,174,96,0.2);  color: #2ecc71; }
.ann-type-badge.type-Opportunity { background: rgba(41,128,185,0.2); color: #5dade2; }
.ann-type-badge.type-News        { background: rgba(242,105,36,0.2); color: #f39c6b; }

.ann-highlights-strip {
  background: #fff; border-radius: 20px;
  padding: 24px 32px; box-shadow: 0 10px 40px rgba(1,56,94,0.1);
  border: 1px solid rgba(1,56,94,0.07);
  display: flex; flex-wrap: wrap; gap: 0;
  margin-top: 40px; position: relative; z-index: 10;
}
.ann-highlight-item {
  flex: 1 1 200px; display: flex; align-items: center; gap: 12px;
  padding: 12px 20px; border-right: 1px solid rgba(1,56,94,0.08);
}
.ann-highlight-item:last-child { border-right: none; }
.ann-highlight-item i { color: var(--accent-color); font-size: 1.2rem; flex-shrink: 0; }
.ann-highlight-item span { font-size: 0.88rem; font-weight: 600; color: var(--brand-blue); }

.ann-body { font-size: 1.05rem; line-height: 1.85; color: var(--default-color); }
.ann-body p { margin-bottom: 24px; opacity: 0.85; }

.share-row {
  display: flex; align-items: center; gap: 12px;
  padding: 20px 0; border-top: 1px solid rgba(1,56,94,0.08);
  margin-top: 32px; flex-wrap: wrap;
}
.share-label { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; opacity: 0.5; }
.share-btn {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(1,56,94,0.05); border: 1px solid rgba(1,56,94,0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-blue); font-size: 1rem; transition: all 0.2s; text-decoration: none;
}
.share-btn:hover { background: var(--accent-color); border-color: var(--accent-color); color: #fff; transform: translateY(-2px); }

.related-card {
  background: #fff; border-left: 4px solid transparent;
  padding: 18px 20px; border-radius: 0 12px 12px 0;
  margin-bottom: 12px; box-shadow: 0 3px 12px rgba(1,56,94,0.05);
  transition: all 0.25s; display: block; text-decoration: none; color: inherit;
}
.related-card:hover { border-left-color: var(--accent-color); transform: translateX(6px); box-shadow: 0 6px 20px rgba(1,56,94,0.1); color: inherit; }
.related-card-type { font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; opacity: 0.5; margin-bottom: 4px; }
.related-card-title { font-size: 0.92rem; font-weight: 700; color: var(--brand-blue); line-height: 1.35; margin-bottom: 4px; }
.related-card-date { font-size: 0.78rem; opacity: 0.45; }

.cta-box {
  background: linear-gradient(135deg, var(--brand-blue) 0%, #024a7a 100%);
  border-radius: 20px; padding: 32px; text-align: center; margin-top: 24px;
}
.cta-box h4 { color: #fff; font-size: 1.2rem; font-weight: 800; margin-bottom: 10px; }
.cta-box p  { color: rgba(255,255,255,0.7); font-size: 0.88rem; margin-bottom: 20px; }
.cta-box-btn {
  display: inline-block; padding: 12px 28px;
  background: var(--accent-color); color: #fff;
  border-radius: 50px; font-weight: 700; font-size: 0.85rem;
  text-decoration: none; transition: all 0.25s;
}
.cta-box-btn:hover { background: #fff; color: var(--accent-color); box-shadow: 0 6px 20px rgba(242,105,36,0.3); transform: translateY(-2px); }

@media (max-width: 768px) {
  .event-info-strip { flex-direction: column; gap: 20px; margin-top: 0; border-radius: 0; }
  .registration-card { position: static; margin-top: 40px; }
  .ann-highlights-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 20px; margin-top: 0; flex-wrap: unset; }
  .ann-highlight-item { flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px; border-right: none; background: rgba(1,56,94,0.03); border: 1px solid rgba(1,56,94,0.08); border-radius: 12px; }
}
@media (max-width: 400px) { .ann-highlights-strip { grid-template-columns: 1fr; } }

/* =====================================================================
   SUPPORT PAGE
   ===================================================================== */

.support-hero {
  padding: 180px 0 120px;
  position: relative; overflow: hidden;
  background: var(--brand-blue);
}
.support-hero .hero-bg-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.13; filter: grayscale(20%);
}
.support-hero .hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(1,56,94,0.97) 0%, rgba(1,28,50,0.88) 55%, rgba(242,105,36,0.2) 100%);
}
.support-hero--admin { padding-top: 100px; }

.support-card {
  background: #fff; border: 1px solid rgba(1,56,94,0.08);
  border-radius: 28px; padding: 48px 40px; height: 100%;
  display: flex; flex-direction: column;
  transition: all 0.35s ease; box-shadow: 0 8px 30px rgba(1,56,94,0.05);
}
.support-card:hover {
  border-color: rgba(242,105,36,0.28); transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(1,56,94,0.1);
}
.support-card-icon {
  width: 72px; height: 72px; border-radius: 20px;
  background: rgba(242,105,36,0.1); display: flex; align-items: center;
  justify-content: center; font-size: 2rem; color: var(--accent-color); margin-bottom: 28px;
}
.support-card-number {
  font-size: 0.68rem; text-transform: uppercase; letter-spacing: 3px;
  color: rgba(1,56,94,0.35); font-weight: 700; margin-bottom: 8px; display: block;
}
.support-card ul { list-style: none; padding: 0; margin: 20px 0 28px; }
.support-card ul li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.88rem; color: rgba(1,56,94,0.7); margin-bottom: 10px;
}
.support-card ul li i { color: var(--accent-color); font-size: 0.85rem; margin-top: 2px; flex-shrink: 0; }

.support-card-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 50px; font-size: 0.85rem;
  font-weight: 700; text-decoration: none; transition: all 0.25s ease;
  margin-top: auto; align-self: flex-start;
}
.support-card-btn.primary {
  background: var(--accent-color); color: #fff;
  box-shadow: 0 4px 16px rgba(242,105,36,0.3);
}
.support-card-btn.primary:hover { background: #d4581f; color: #fff; transform: translateX(3px); }
.support-card-btn.secondary {
  background: transparent; color: var(--brand-blue);
  border: 1.5px solid rgba(1,56,94,0.15);
}
.support-card-btn.secondary:hover { border-color: var(--accent-color); color: var(--accent-color); transform: translateX(3px); }

.impact-strip {
  background: linear-gradient(135deg, var(--brand-blue) 0%, rgba(1,28,50,1) 60%, rgba(242,105,36,0.25) 100%);
  border-radius: 28px; padding: 56px 48px; position: relative; overflow: hidden;
}
.impact-strip::before {
  content: ''; position: absolute; top: -50px; right: -50px;
  width: 220px; height: 220px; border-radius: 50%;
  background: rgba(242,105,36,0.07); pointer-events: none;
}
.impact-stat { text-align: center; }
.impact-stat-number { font-size: 2.4rem; font-weight: 800; color: var(--accent-color); display: block; line-height: 1; }
.impact-stat-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(255,255,255,0.55); margin-top: 8px; display: block; }

/* Donation Modal */
.donate-modal-backdrop {
  position: fixed; inset: 0; background: rgba(1,20,35,0.7);
  backdrop-filter: blur(6px); z-index: 2000;
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.donate-modal-backdrop.open { display: flex; }
.donate-modal {
  background: #fff; border-radius: 28px; padding: 48px 44px;
  max-width: 520px; width: 100%; max-height: 90vh; overflow-y: auto;
  scrollbar-width: none; position: relative;
  box-shadow: 0 32px 80px rgba(1,56,94,0.2);
  animation: modalSlideUp 0.3s ease;
}
.donate-modal::-webkit-scrollbar { display: none; }
@keyframes modalSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.donate-modal-close {
  position: absolute; top: 20px; right: 20px;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid rgba(1,56,94,0.12); background: transparent;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1rem; color: var(--brand-blue); transition: all 0.2s ease;
}
.donate-modal-close:hover { background: rgba(242,105,36,0.08); border-color: var(--accent-color); color: var(--accent-color); }
.donate-type-list { display: flex; flex-direction: column; gap: 12px; }
.donate-type-item {
  display: flex; align-items: flex-start; gap: 14px; padding: 14px 16px;
  border-radius: 14px; border: 1.5px solid rgba(1,56,94,0.08);
  background: rgba(1,56,94,0.02); transition: all 0.2s ease;
}
.donate-type-item:hover { border-color: rgba(242,105,36,0.25); background: rgba(242,105,36,0.04); }
.donate-type-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(242,105,36,0.1); display: flex; align-items: center;
  justify-content: center; font-size: 1rem; color: var(--accent-color); flex-shrink: 0;
}
.donate-type-title { font-size: 0.88rem; font-weight: 700; color: var(--brand-blue); margin-bottom: 2px; }
.donate-type-desc { font-size: 0.78rem; color: rgba(1,56,94,0.6); line-height: 1.5; }
.donate-proceed-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 15px; border-radius: 50px;
  background: var(--accent-color); color: #fff; font-weight: 700; font-size: 0.95rem;
  border: none; cursor: pointer; transition: all 0.25s ease;
  box-shadow: 0 6px 20px rgba(242,105,36,0.3); text-decoration: none;
}
.donate-proceed-btn:hover { background: #d4581f; color: #fff; transform: translateY(-2px); box-shadow: 0 10px 28px rgba(242,105,36,0.35); }
.donate-note { text-align: center; font-size: 0.75rem; color: rgba(1,56,94,0.4); }

@media (max-width: 767px) {
  .support-card { padding: 32px 24px; }
  .impact-strip { padding: 36px 24px; }
  .donate-modal { padding: 36px 24px; }
}

/* =====================================================================
   PROJECTS PAGE
   ===================================================================== */
.proj-hero {
  padding: 180px 0 100px;
  position: relative; overflow: hidden;
  background: var(--brand-blue);
}
.proj-hero .hero-bg-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.15; filter: grayscale(20%);
}
.proj-hero .hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(1,56,94,0.95) 0%, rgba(1,28,50,0.85) 60%, rgba(242,105,36,0.15) 100%);
}
.proj-hero--admin { padding-top: 100px; }

.proj-filter-bar {
  background: rgba(255,255,255,0.7);
  padding: 20px 30px; border-radius: 20px;
  border: 1px solid rgba(1,56,94,0.1);
  margin-bottom: 50px; backdrop-filter: blur(10px);
  position: relative; z-index: 50;
  box-shadow: 0 10px 30px rgba(1,56,94,0.05);
}
.proj-search-input {
  background: #fff; border: 1px solid rgba(1,56,94,0.1);
  border-radius: 15px; padding: 12px 25px;
  color: var(--brand-blue); width: 100%; font-size: 0.9rem;
  box-shadow: 0 5px 15px rgba(1,56,94,0.05); transition: all 0.3s;
}
.proj-search-input:focus { outline: none; border-color: var(--accent-color); box-shadow: 0 0 0 3px rgba(242,105,36,0.1); }

.proj-list-item {
  background: #fff; border-left: 4px solid transparent;
  padding: 30px; border-radius: 0 15px 15px 0;
  margin-bottom: 25px; transition: all 0.3s ease;
  display: flex; gap: 30px; align-items: center;
  box-shadow: 0 5px 15px rgba(1,56,94,0.05);
}
.proj-list-item:hover {
  border-left-color: var(--accent-color);
  transform: translateX(10px);
  box-shadow: 0 10px 25px rgba(1,56,94,0.1);
}
.proj-image { flex: 0 0 200px; height: 150px; border-radius: 15px; overflow: hidden; }
.proj-image img { width: 100%; height: 100%; object-fit: cover; }
.proj-content { flex: 1; }
.proj-category { font-size: 0.8rem; font-weight: 800; color: var(--accent-color); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px; display: block; }
.proj-title { font-size: 1.5rem; font-weight: 700; color: var(--brand-blue); margin-bottom: 12px; line-height: 1.4; }
.proj-description { font-size: 0.95rem; color: var(--default-color); opacity: 0.8; margin-bottom: 20px; line-height: 1.6; }
.proj-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.proj-tag { font-size: 0.7rem; background: #f8f9fa; padding: 4px 12px; border-radius: 50px; color: var(--brand-blue); border: 1px solid rgba(1,56,94,0.1); }
.proj-actions { display: flex; gap: 15px; }
.pm-pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 16px; border-radius: 50px;
  border: 1px solid rgba(242,105,36,0.3);
  background: rgba(242,105,36,0.06);
  color: var(--accent-color);
  font-size: 0.75rem; font-weight: 700;
  cursor: pointer; transition: all 0.25s;
}
.pm-pill:hover { background: var(--accent-color); color: #fff; border-color: var(--accent-color); }
.proj-btn {
  padding: 8px 22px; font-size: 0.8rem; font-weight: 700;
  text-transform: uppercase; border-radius: 50px;
  border: 1px solid rgba(1,56,94,0.1);
  color: var(--brand-blue); background: rgba(1,56,94,0.05);
  transition: all 0.3s; cursor: pointer;
}
.proj-btn:hover { background: var(--accent-color); border-color: var(--accent-color); color: #fff; box-shadow: 0 5px 15px rgba(242,105,36,0.3); }
.proj-extra { display: none; }

/* Project Modal */
.pm-bd { position: fixed; inset: 0; background: rgba(1,22,39,0.65); backdrop-filter: blur(6px); z-index: 9000; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.pm-bd.active { opacity: 1; pointer-events: all; }
.pm-modal {
  position: fixed; top: 50%; left: 50%;
  transform: translate(-50%, -48%) scale(0.96);
  width: min(620px,92vw); max-height: 88vh; overflow: hidden;
  background: #fff; border-radius: 24px; z-index: 9001;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s, transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
  box-shadow: 0 30px 60px rgba(1,22,39,0.2);
  display: grid; grid-template-columns: 1fr 1fr;
}
.pm-modal.active { opacity: 1; pointer-events: all; transform: translate(-50%,-50%) scale(1); }
.pm-img { position: relative; min-height: 260px; }
.pm-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 24px 0 0 24px; }
.pm-img-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(1,22,39,0.7) 0%, transparent 50%); border-radius: 24px 0 0 24px; }
.pm-cat { position: absolute; bottom: 16px; left: 16px; padding: 4px 12px; background: rgba(255,255,255,0.15); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,0.25); border-radius: 50px; color: #fff; font-size: 0.72rem; font-weight: 700; }
.pm-body { padding: 32px 28px; display: flex; flex-direction: column; overflow-y: auto; max-height: 88vh; }
.pm-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 1px solid rgba(1,56,94,0.12); color: var(--brand-blue); display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 20; transition: all 0.2s; box-shadow: 0 2px 8px rgba(0,0,0,0.12); }
.pm-close:hover { background: var(--accent-color); color: #fff; border-color: var(--accent-color); }
.pm-status { font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; color: var(--accent-color); margin-bottom: 8px; display: block; }
.pm-body h3 { font-size: 1.25rem; font-weight: 800; color: var(--brand-blue); margin-bottom: 10px; line-height: 1.3; }
.pm-body p { font-size: 0.88rem; line-height: 1.8; opacity: 0.72; margin-bottom: 16px; }
.pm-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.pm-tags span { padding: 3px 11px; background: rgba(1,56,94,0.05); border: 1px solid rgba(1,56,94,0.1); border-radius: 50px; font-size: 0.7rem; font-weight: 600; color: var(--brand-blue); }
.pm-img-tags { position: absolute; top: 16px; left: 16px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 10; }
.pm-img-tags span { padding: 3px 10px; background: rgba(255,255,255,0.15); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,0.25); border-radius: 50px; color: #fff; font-size: 0.68rem; font-weight: 700; }
.proj-modal-tech-label { font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; color: var(--brand-blue); opacity: 0.45; margin-bottom: 8px; }
.pm-links { display: flex; gap: 8px; flex-wrap: wrap; border-top: 1px solid rgba(1,56,94,0.07); padding-top: 16px; margin-top: auto; }
.pm-link { padding: 7px 14px; border-radius: 50px; border: 1px solid rgba(1,56,94,0.12); background: rgba(1,56,94,0.04); color: var(--brand-blue); font-size: 0.73rem; font-weight: 700; display: inline-flex; align-items: center; gap: 5px; text-decoration: none; transition: all 0.25s; }
.pm-link:hover { background: var(--accent-color); color: #fff; border-color: var(--accent-color); }

@media (max-width: 768px) {
  .proj-list-item { flex-direction: column; align-items: flex-start; }
  .proj-image { width: 100%; flex: 0 0 180px; }
  .pm-modal { grid-template-columns: 1fr; }
  .pm-img { min-height: 180px; max-height: 180px; }
  .pm-img img, .pm-img-overlay { border-radius: 24px 24px 0 0; }
  .pm-body { padding: 22px 18px; }
}

/* =====================================================================
   RESEARCH PROJECT DETAIL PAGE
   ===================================================================== */
.rp-detail-hero {
  padding: 180px 0 80px;
  position: relative; overflow: hidden;
  background: var(--brand-blue);
}
.rp-detail-hero--admin { padding-top: 100px; }
.rp-detail-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; filter: brightness(0.25) grayscale(15%); z-index: 0;
}
.rp-detail-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg, rgba(1,22,39,0.92) 0%, rgba(1,56,94,0.75) 100%);
}
.rp-detail-badge {
  display: inline-block; padding: 5px 16px;
  background: var(--accent-color); color: #fff;
  border-radius: 50px; font-size: 0.72rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px;
}
.rp-detail-sidebar {
  background: #fff; border-radius: 20px;
  padding: 32px; box-shadow: 0 10px 40px rgba(1,56,94,0.08);
  border: 1px solid rgba(1,56,94,0.07);
  position: sticky; top: 100px;
  display: flex; flex-direction: column; gap: 20px;
}
.rp-sidebar-item { display: flex; align-items: center; gap: 14px; }
.rp-sidebar-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(242,105,36,0.1); border: 1px solid rgba(242,105,36,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-color); font-size: 1.1rem; flex-shrink: 0;
}
.rp-sidebar-links { display: flex; flex-direction: column; gap: 8px; }

/* =====================================================================
   PORTFOLIO BENTO — text overflow fixes for small cards
   ===================================================================== */

/* All cards: clamp title to 2 lines */
.portfolio-overlay h4 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* All cards: clamp description to 2 lines */
.portfolio-overlay p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Regular 1×1 cards: smaller title so it fits the 250px height */
.portfolio-card:not(.grid-span-2):not(.grid-row-2) .portfolio-overlay h4 {
  font-size: 1.05rem;
}

/* Wide cards (grid-span-2 but not tall): keep a sensible size */
.portfolio-card.grid-span-2:not(.grid-row-2) .portfolio-overlay h4 {
  font-size: 1.2rem;
}

/* =====================================================================
   FRONT PAGE PUBLICATIONS — paper preview placeholder & venue
   ===================================================================== */
.paper-preview-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--brand-blue) 0%, rgba(1,28,50,0.9) 100%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px;
}
.paper-preview-placeholder i {
  font-size: 2.5rem; color: rgba(255,255,255,0.35);
}
.paper-preview-placeholder span {
  font-size: 0.65rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 2px; color: var(--accent-color);
}
.pub-venue-label {
  font-size: 0.78rem; font-style: italic;
  color: var(--accent-color); opacity: 0.9;
  margin-bottom: 6px; margin-top: -4px;
  font-weight: 600;
}

/* =====================================================================
   PUBLICATION DETAIL PAGE
   ===================================================================== */
.pub-detail-hero {
  padding: 180px 0 80px;
  position: relative; overflow: hidden;
  background: var(--brand-blue);
}
.pub-detail-hero--admin { padding-top: 100px; }
.pub-detail-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; filter: brightness(0.22) grayscale(15%); z-index: 0;
}
.pub-detail-bg-placeholder {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--brand-blue) 0%, rgba(1,28,50,0.95) 100%);
  z-index: 0;
}
.pub-detail-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg, rgba(1,22,39,0.85) 0%, rgba(1,56,94,0.6) 100%);
}
.pub-abstract-block {
  background: rgba(1,56,94,0.03);
  border-left: 4px solid var(--accent-color);
  border-radius: 0 12px 12px 0;
  padding: 24px 28px;
  margin-bottom: 24px;
}
.pub-abstract-block p {
  font-size: 1rem; line-height: 1.85; opacity: 0.85; margin: 0;
}

/* =====================================================================
   TESTIMONIAL DETAIL PAGE
   ===================================================================== */
.testimonial-node-overlay {
  position: absolute;
  inset: 0;
  background: rgba(1, 15, 30, 0.78);
  z-index: 1;
}
.testimonial-full { max-width: 640px; margin: 0 auto; }
.testimonial-img-lg { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(255,255,255,0.2); }
.testimonial-full-quote { position: relative; }

/* ============================================================
   Site Settings View
   ============================================================ */
.site-settings-view {
  padding-top: 100px;
  padding-bottom: 60px;
  min-height: 100vh;
  background: var(--background-color);
}

/* Hero strip */
.ss-hero {
  background: linear-gradient(135deg, var(--brand-blue) 0%, #024d80 100%);
  padding: 48px 0 40px;
  margin-bottom: 40px;
}
.ss-hero-inner {
  display: flex;
  align-items: center;
  gap: 20px;
}
.ss-hero-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fff;
  flex-shrink: 0;
}
.ss-hero-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 4px;
  letter-spacing: -0.5px;
}
.ss-hero-sub {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  margin: 0;
}

/* Body layout */
.ss-body { display: flex; flex-direction: column; gap: 32px; }

/* Section heading */
.ss-section-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: var(--brand-blue);
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 7px;
  opacity: 0.7;
}
.ss-section-title i { font-size: 0.9rem; }

/* Cards */
.ss-card {
  background: #fff;
  border: 1px solid rgba(1,56,94,0.08);
  border-radius: 16px;
  padding: 24px 28px;
  box-shadow: 0 2px 12px rgba(1,56,94,0.06);
}

/* Field row */
.ss-field { margin-bottom: 20px; }
.ss-field:last-child { margin-bottom: 0; }
.ss-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(1,56,94,0.45);
  margin-bottom: 4px;
}
.ss-value {
  font-size: 0.95rem;
  color: var(--brand-blue);
  margin: 0;
  line-height: 1.6;
}

/* Social grid */
.ss-social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  padding: 20px 24px;
}
.ss-social-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.ss-social-item > i {
  font-size: 1.15rem;
  color: var(--accent-color);
  margin-top: 2px;
  flex-shrink: 0;
}
.ss-social-item .ss-label { margin-bottom: 2px; }
.ss-link {
  font-size: 0.85rem;
  color: var(--brand-blue);
  text-decoration: none;
  word-break: break-all;
  transition: color 0.2s;
}
.ss-link:hover { color: var(--accent-color); }

/* Nav columns */
.ss-columns-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 640px) {
  .ss-columns-grid { grid-template-columns: 1fr; }
}
.ss-nav-col-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--brand-blue);
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(242,105,36,0.2);
}
.ss-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ss-nav-list li {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.88rem;
}
.ss-nav-list li i {
  color: var(--accent-color);
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ============================================================
   /contact/disal_contact — standalone contact page
   ============================================================ */

.contact-page-hero {
  padding: 160px 0 60px;
  background: linear-gradient(135deg, var(--brand-blue) 0%, #024d80 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
body.toolbar-fixed .contact-page-hero,
body.toolbar-vertical .contact-page-hero { padding-top: 200px; }
body.toolbar-horizontal.toolbar-tray-open .contact-page-hero { padding-top: 240px; }
.contact-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/hero-bg.jpg') center/cover no-repeat;
  opacity: 0.08;
}
.contact-page-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--accent-color);
  margin-bottom: 14px;
  position: relative;
}
.contact-page-title {
  font-size: 2.8rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 16px;
  position: relative;
}
.contact-page-lead {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  line-height: 1.7;
  position: relative;
}

/* Local task tabs above the card — pill style */
.contact-local-tasks ul.tabs {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none !important;
  margin: 0 0 20px !important;
  padding: 0 !important;
}
.contact-local-tasks ul.tabs li {
  margin: 0 !important;
  padding: 0 !important;
}
.contact-local-tasks ul.tabs a {
  display: inline-flex !important;
  align-items: center;
  padding: 7px 20px !important;
  border-radius: 50px !important;
  font-size: 0.8rem !important;
  font-weight: 600;
  text-decoration: none !important;
  color: var(--brand-blue) !important;
  background: rgba(1, 56, 94, 0.06) !important;
  border: 1px solid rgba(1, 56, 94, 0.14) !important;
  transition: all 0.2s;
  white-space: nowrap;
}
.contact-local-tasks ul.tabs a:hover {
  background: rgba(1, 56, 94, 0.12) !important;
}
.contact-local-tasks ul.tabs li.is-active a,
.contact-local-tasks ul.tabs a.is-active {
  background: var(--brand-blue) !important;
  color: #fff !important;
  border-color: var(--brand-blue) !important;
}

/* Form card */
.drupal-contact-card {
  background: #fff;
  border: 1px solid rgba(1,56,94,0.08);
  border-radius: 24px;
  padding: 44px 40px;
  box-shadow: 0 4px 6px rgba(1,56,94,0.04), 0 20px 60px rgba(1,56,94,0.09);
}

/* Drupal form item and label spacing */
.drupal-contact-card .form-item,
.drupal-contact-card .form-wrapper {
  margin-bottom: 20px;
}
.drupal-contact-card .form-wrapper > .form-wrapper {
  margin-bottom: 0;
}
.drupal-contact-card label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--brand-blue);
  opacity: 0.65;
  margin-bottom: 6px;
}
.drupal-contact-card input.form-text,
.drupal-contact-card input.form-email,
.drupal-contact-card textarea.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid rgba(1,56,94,0.12);
  border-radius: 10px;
  background: rgba(1,56,94,0.03);
  color: var(--brand-blue);
  font-size: 0.95rem;
  font-family: var(--default-font);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.drupal-contact-card input.form-text:focus,
.drupal-contact-card input.form-email:focus,
.drupal-contact-card textarea.form-textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(242,105,36,0.10);
  background: #fff;
}
.drupal-contact-card textarea.form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* Hide copy checkbox and form descriptions */
.drupal-contact-card .form-item--copy,
.drupal-contact-card .form-item__description {
  display: none;
}

/* Action buttons row */
.drupal-contact-card .form-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

/* Send message — pill style */
.drupal-contact-card .form-actions .button--primary {
  flex: 1;
  padding: 14px 28px;
  background: var(--accent-color);
  border: none;
  border-radius: 50px;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(242,105,36,0.28);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.drupal-contact-card .form-actions .button--primary:hover {
  background: #ff7b39;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(242,105,36,0.40);
}

/* Preview button — pill style */
.drupal-contact-card .form-actions .button--secondary,
.drupal-contact-card .form-actions input[type="submit"]:not(.button--primary) {
  padding: 14px 28px;
  background: transparent;
  border: 1.5px solid rgba(1,56,94,0.18);
  border-radius: 50px;
  color: var(--brand-blue);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.drupal-contact-card .form-actions .button--secondary:hover,
.drupal-contact-card .form-actions input[type="submit"]:not(.button--primary):hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
  background: rgba(242,105,36,0.04);
}

@media (max-width: 576px) {
  .contact-page-title { font-size: 2rem; }
  .drupal-contact-card { padding: 28px 20px; }
  .drupal-contact-card .form-actions { flex-direction: column; }
}
