/* Research & Innovation pages */

.research-page .animate-on-scroll {
  opacity: 1;
  transform: none;
}

.research-section {
  padding: 5.5rem 0;
  background: var(--white);
}

.research-intro {
  margin-bottom: 2.5rem;
}

.research-intro p,
.research-body p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.85;
  text-align: justify;
  margin-bottom: 1rem;
}

.research-body h3,
.research-body h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin: 2rem 0 0.85rem;
}

.research-body h3:first-child,
.research-body h4:first-child {
  margin-top: 0;
}

.research-body ul {
  margin: 0.5rem 0 1.25rem 1.25rem;
}

.research-body li {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 0.5rem;
}

.research-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}

.research-pillar {
  padding: 1.35rem 1.25rem;
  border-radius: 14px;
  border: 1px solid rgba(30, 58, 95, 0.1);
  background: linear-gradient(145deg, #f5f7fb 0%, #fff 100%);
}

.research-pillar i {
  font-size: 1.35rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.research-pillar h4 {
  margin: 0 0 0.45rem;
  font-size: 0.95rem;
}

.research-pillar p {
  margin: 0;
  font-size: 0.84rem;
  text-align: left;
}

.research-table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0 2rem;
  border: 1px solid rgba(30, 58, 95, 0.1);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(30, 58, 95, 0.05);
}

.research-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.84rem;
}

.research-table th,
.research-table td {
  padding: 0.75rem 0.9rem;
  text-align: left;
  border-bottom: 1px solid rgba(30, 58, 95, 0.08);
  vertical-align: top;
}

.research-table th {
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
}

.research-table tbody tr:nth-child(even) {
  background: rgba(30, 58, 95, 0.03);
}

.research-table tbody tr:hover {
  background: rgba(224, 123, 57, 0.08);
}

.research-table-caption {
  font-size: 0.82rem;
  color: var(--gray-600);
  margin-top: 0.5rem;
}

.research-members-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.research-member-card {
  padding: 1rem 1.1rem;
  border-radius: 12px;
  border: 1px solid rgba(30, 58, 95, 0.1);
  background: #f5f7fb;
}

.research-member-card strong {
  display: block;
  color: var(--navy);
  margin-bottom: 0.2rem;
}

.research-member-card span {
  font-size: 0.84rem;
  color: var(--gray-600);
}

.research-achievements {
  display: grid;
  gap: 0.85rem;
  margin: 1.25rem 0;
}

.research-achievement {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.9rem 1rem;
  border-radius: 10px;
  background: rgba(30, 58, 95, 0.04);
}

.research-achievement i {
  color: var(--gold-dark);
  margin-top: 0.15rem;
}

.research-achievement p {
  margin: 0;
  font-size: 0.9rem;
  text-align: left;
}

.research-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.research-tab-btn {
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(30, 58, 95, 0.15);
  background: #fff;
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.research-tab-btn.is-active,
.research-tab-btn:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.research-tab-panel[hidden] {
  display: none;
}

.research-documents-empty {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.75;
}

.research-documents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.research-document-card {
  height: 100%;
}

.research-document-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid rgba(30, 58, 95, 0.1);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(15, 39, 68, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.research-document-card-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(15, 39, 68, 0.14);
}

.research-document-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(145deg, #edf2f7, #dbe4ee);
}

.research-document-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.research-document-card-link:hover .research-document-card-media img {
  transform: scale(1.04);
}

.research-document-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 2rem;
  color: var(--navy);
  background: linear-gradient(145deg, #edf2f7 0%, #dbe4ee 100%);
}

.research-document-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.15rem 1.2rem 1.35rem;
}

.research-document-card-body h3 {
  margin: 0 0 0.55rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
}

.research-document-card-body p {
  margin: 0 0 0.9rem;
  font-size: 0.86rem;
  line-height: 1.65;
  color: var(--gray-600);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.research-document-card-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.research-document-viewer-section {
  padding-top: 3rem;
}

.research-document-viewer-head {
  margin-bottom: 1.25rem;
}

.research-document-viewer-head p {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--gray-600);
}

.research-document-viewer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.research-document-viewer-wrap {
  border: 1px solid rgba(30, 58, 95, 0.12);
  border-radius: 14px;
  overflow: hidden;
  background: #f5f7fb;
  box-shadow: 0 10px 30px rgba(15, 39, 68, 0.08);
}

.research-document-viewer-frame {
  display: block;
  width: 100%;
  min-height: min(78vh, 920px);
  border: 0;
  background: #fff;
}

.mega-menu--research .mega-menu-shell {
  padding: 28px 24px 24px;
}

.mega-menu--research .mega-menu-main {
  max-height: min(68vh, 500px);
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(30, 58, 95, 0.2) transparent;
}

@media (max-width: 900px) {
  .research-pillars,
  .research-members-grid {
    grid-template-columns: 1fr;
  }
}
