@charset "UTF-8";

/*
 * Gateway home CSS
 * Scope: Gateway pages only.
 * This file must be loaded only when $section === 'gateway'.
 */

body.v2.site-gateway {
  --bg-navy: #10112f;
  --bg-navy-soft: #171947;
  --bg-page: #f5f6fb;
  --accent: #6366f1;
  --accent-soft: #e8e9ff;
  --accent-2: #22d3ee;
  --text-main: #17172f;
  --text-soft: #646783;
  --card-bg: #ffffff;
  --border-soft: #dfe2f2;
  --radius-lg: 18px;
  --shadow-soft: 0 18px 40px rgba(16, 17, 47, 0.15);

  margin: 0;
  padding: 0;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg-page);
  color: var(--text-main);
}

body.v2.site-gateway *,
body.v2.site-gateway *::before,
body.v2.site-gateway *::after {
  box-sizing: border-box;
}

body.v2.site-gateway .container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Gateway buttons */
body.v2.site-gateway .btn,
body.v2.site-gateway .gateway-search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: none;
}

body.v2.site-gateway .btn-primary,
body.v2.site-gateway .gateway-search button {
  background: linear-gradient(135deg, #6366f1, #22d3ee);
  color: #ffffff !important;
  box-shadow: 0 12px 30px rgba(49, 46, 129, 0.38);
}

body.v2.site-gateway .btn-primary:hover,
body.v2.site-gateway .gateway-search button:hover {
  font-weight: 600;
  filter: brightness(1.05);
}

body.v2.site-gateway .btn-outline {
  border: 1px solid #a5b4fc;
  color: #eef2ff;
  background: transparent;
}

body.v2.site-gateway .btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Hero */
body.v2.site-gateway .hero {
  background:
    radial-gradient(circle at top left, rgba(255, 90, 109, 0.72) 0, transparent 24%),
    radial-gradient(circle at 78% 8%, rgba(34, 211, 238, 0.70) 0, transparent 28%),
    linear-gradient(135deg, #12143b 0%, #151747 48%, #0b102b 100%);
  color: #ffffff;
  padding: 34px 0 62px;
}

body.v2.site-gateway .hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
}

body.v2.site-gateway .hero-content-home {
  max-width: 540px;
  flex: 1 1 0;
}

body.v2.site-gateway .hero-content {
  max-width: 100%;
}

body.v2.site-gateway .eyebrow {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c4b5fd;
  margin-bottom: 10px;
}

body.v2.site-gateway .hero h1 {
  font-size: 32px;
  line-height: 1.3;
  margin: 0 0 16px;
}

body.v2.site-gateway .hero h1 .highlight {
  color: #a5b4fc;
}

body.v2.site-gateway .hero-subtitle {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(238, 242, 255, 0.88);
  margin: 0 0 12px;
}

body.v2.site-gateway .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

body.v2.site-gateway .hero-search {
  margin-top: 10px;
}

body.v2.site-gateway .hero-search-row,
body.v2.site-gateway .gateway-search {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

body.v2.site-gateway .hero-search-label {
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
}

body.v2.site-gateway .hero-search-input,
body.v2.site-gateway .gateway-search input {
  flex: 1;
  min-width: 230px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(196, 181, 253, 0.48);
  background: rgba(255, 255, 255, 0.10);
  color: #ffffff;
  outline: none;
}

body.v2.site-gateway .gateway-search input::placeholder,
body.v2.site-gateway .hero-search-input::placeholder {
  color: rgba(255, 255, 255, 0.66);
}

body.v2.site-gateway .hero-search-hint {
  margin: 10px 0 0;
  color: rgba(238, 242, 255, 0.76);
  font-size: 12px;
}

/* Hero visual summary */
body.v2.site-gateway .hero-visual {
  flex: 1.08;
  min-width: 280px;
}

body.v2.site-gateway .chip-row {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  justify-content: flex-end;
}

body.v2.site-gateway .chip {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  background: rgba(255, 255, 255, 0.13);
  color: #eef2ff;
}

body.v2.site-gateway .chip-alt {
  background: rgba(34, 211, 238, 0.16);
  color: #cffafe;
}

body.v2.site-gateway .hero-card {
  background: linear-gradient(145deg, rgba(17, 24, 79, 0.95), rgba(39, 39, 104, 0.96));
  border-radius: 22px;
  padding: 18px 18px 16px;
  box-shadow: 0 22px 45px rgba(2, 6, 23, 0.62);
}

body.v2.site-gateway .hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

body.v2.site-gateway .badge,
body.v2.site-gateway .badge-soft,
body.v2.site-gateway .tag-soft {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
}

body.v2.site-gateway .badge {
  background: rgba(34, 211, 238, 0.18);
  color: #cffafe;
}

body.v2.site-gateway .badge-soft,
body.v2.site-gateway .tag-soft {
  background: rgba(255, 255, 255, 0.12);
  color: #e0e7ff;
}

body.v2.site-gateway .hero-card-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 10px;
}

body.v2.site-gateway .hero-metric {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: #dbeafe;
}

body.v2.site-gateway .hero-metric .metric-label {
  color: #c4b5fd;
}

body.v2.site-gateway .hero-metric .metric-value {
  font-weight: 600;
  text-align: right;
}

body.v2.site-gateway .hero-card-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #dbeafe;
  font-size: 12px;
  border-top: 1px solid rgba(196, 181, 253, 0.30);
  padding-top: 8px;
}

/* Gateway summary visual */
body.v2.site-gateway .gateway-summary-figure {
  position: relative;
  min-height: 260px;
  border-radius: 18px;
  padding: 18px;
  background:
    radial-gradient(circle at center, rgba(34, 211, 238, 0.22), transparent 42%),
    rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

body.v2.site-gateway .gateway-summary-card .hero-image {
  width: 100%;
  margin: 0 0 18px;
  border-radius: 16px;
  overflow: hidden;
  background: #eef0ff;
}

body.v2.site-gateway .gateway-summary-card .hero-image img {
  width: 100%;
  height: 100%;
  display: block;
}

body.v2.site-gateway .gateway-node {
  position: absolute;
  width: 128px;
  min-height: 82px;
  border-radius: 18px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.25);
}

body.v2.site-gateway .gateway-node strong {
  display: block;
  font-size: 20px;
  line-height: 1;
}

body.v2.site-gateway .gateway-node span {
  display: block;
  margin-top: 6px;
  color: rgba(238, 242, 255, 0.78);
  font-size: 11px;
}

body.v2.site-gateway .gateway-node-tf {
  top: 12px;
  left: 18px;
  border-color: rgba(255, 90, 109, 0.44);
}

body.v2.site-gateway .gateway-node-kinase {
  top: 12px;
  right: 18px;
  border-color: rgba(249, 115, 22, 0.46);
}

body.v2.site-gateway .gateway-node-phosphatase {
  bottom: 12px;
  left: 18px;
  border-color: rgba(22, 163, 74, 0.46);
}

body.v2.site-gateway .gateway-node-wd {
  bottom: 12px;
  right: 18px;
  border-color: rgba(37, 99, 235, 0.48);
}

body.v2.site-gateway .gateway-hub {
  position: absolute;
  inset: 50%;
  width: 112px;
  height: 112px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14px;
  background:
    conic-gradient(from 210deg, #ff5a6d, #f97316, #16a34a, #2563eb, #8b5cf6, #ff5a6d);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 18px 38px rgba(2, 6, 23, 0.38);
}

/* Features / cards */
body.v2.site-gateway .features {
  margin-top: -34px;
  margin-bottom: 40px;
  background: transparent;
  position: relative;
  z-index: 2;
}

body.v2.site-gateway .features-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

body.v2.site-gateway .feature-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 22px 20px 20px;
  border: 1px solid rgba(99, 102, 241, 0.10);
}

body.v2.site-gateway .feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 18px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 12px;
  font-size: 20px;
}

body.v2.site-gateway .feature-card h3 {
  font-size: 16px;
  margin: 0 0 8px;
}

body.v2.site-gateway .feature-card p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-soft);
  margin: 0 0 12px;
}

body.v2.site-gateway .feature-link,
body.v2.site-gateway a {
  color: var(--accent);
}

body.v2.site-gateway .feature-link:hover,
body.v2.site-gateway a:hover {
  color: #312e81;
}

body.v2.site-gateway .module-summary {
  display: grid;
  gap: 7px;
  margin: 12px 0 14px;
  padding: 10px 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

body.v2.site-gateway .module-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
}

body.v2.site-gateway .module-summary-row span {
  color: var(--text-soft);
}

body.v2.site-gateway .module-summary-row strong {
  color: var(--text-main);
}

body.v2.site-gateway .feature-card .feature-link {
  font-size: 15px;
}

body.v2.site-gateway .feature-card-tf .feature-icon {
  background: #ffe1e6;
  color: #e83f57;
}

body.v2.site-gateway .feature-card-kinase .feature-icon {
  background: #ffedd5;
  color: #f97316;
}

body.v2.site-gateway .feature-card-phosphatase .feature-icon {
  background: #dcfce7;
  color: #16a34a;
}

body.v2.site-gateway .feature-card-wd .feature-icon {
  background: #dbeafe;
  color: #2563eb;
}

/* Intro */
body.v2.site-gateway .hero.hero-slim {
  padding: 26px 0 16px;
  margin-bottom: 20px;
}

body.v2.site-gateway .hero.hero-slim .hero-inner {
  gap: 24px;
}

body.v2.site-gateway .hero.hero-slim h1 {
  white-space: normal;
  word-break: keep-all;
  line-height: 1.2;
}

body.v2.site-gateway .lead {
  font-size: 1.15rem;
  font-weight: 300;
  line-height: 1.8;
  text-indent: 1.5em;
}

/* About / Explore */
body.v2.site-gateway .about {
  padding: 40px 0 56px;
}

body.v2.site-gateway .about-inner {
  display: flex;
  gap: 30px;
}

body.v2.site-gateway .about-card,
body.v2.site-gateway .explore-placeholder {
  background: #ffffff;
  border-radius: 20px;
  padding: 18px 20px;
  box-shadow: var(--shadow-soft);
}

body.v2.site-gateway .about-text h2,
body.v2.site-gateway .explore-title {
  font-size: 24px;
  margin: 4px 0 14px;
}

body.v2.site-gateway .about-text p,
body.v2.site-gateway .explore-subtitle {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-soft);
}

body.v2.site-gateway .explore {
  padding: 24px 0 56px;
}

/* Gateway tables */
body.v2.site-gateway .placeholder-table,
body.v2.site-gateway .gateway-table {
  width: 100%;
  border-collapse: collapse;
  /*font-size: 13px;*/
  background: #ffffff;
}

body.v2.site-gateway .placeholder-table th,
body.v2.site-gateway .placeholder-table td,
body.v2.site-gateway .gateway-table th,
body.v2.site-gateway .gateway-table td {
  padding: 8px 10px;
  text-align: left;
  border-bottom: 1px solid #edf0f7;
}

body.v2.site-gateway .placeholder-table thead th,
body.v2.site-gateway .gateway-table thead th {
  background: #dfe3ff !important;
  color: #111827 !important;
  vertical-align: middle;
}

body.v2.site-gateway .placeholder-table tbody tr:nth-child(even),
body.v2.site-gateway .gateway-table tbody tr:nth-child(even) {
  background: #fafbff;
}

body.v2.site-gateway .table-wrap,
body.v2.site-gateway .feature-table-wrap {
  width: 100%;
  overflow-x: auto;
}

/* Responsive gateway body */
@media (max-width: 1200px) {
  body.v2.site-gateway .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.v2.site-gateway .hero {
    padding-top: 56px !important;
  }
}

@media (max-width: 900px) {
  body.v2.site-gateway .hero-inner,
  body.v2.site-gateway .about-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  body.v2.site-gateway .hero-content-home,
  body.v2.site-gateway .hero-visual {
    max-width: 100% !important;
    width: 100% !important;
    flex: none;
  }
}

@media (max-width: 768px) {
  body.v2.site-gateway .features-grid {
    grid-template-columns: 1fr !important;
  }

  body.v2.site-gateway .gateway-summary-figure {
    min-height: 430px;
  }

  body.v2.site-gateway .gateway-node {
    position: static;
    width: 100%;
    margin-bottom: 10px;
  }

  body.v2.site-gateway .gateway-hub {
    position: static;
    transform: none;
    width: 100%;
    height: auto;
    border-radius: 18px;
    margin-bottom: 12px;
  }
}

body.v2.site-gateway .gateway-hero h1 .gateway-logo-accent,
body.v2.site-gateway .hero h1 .gateway-logo-accent {
  color: #A5B4FC !important;
}

/* CONTACT [260713_update] */
/* Contact page */
body.v2.site-gateway .gateway-contact-page {
  padding-top: 8px;
  padding-bottom: 48px;
}

body.v2.site-gateway .contact-section,
body.v2.site-gateway .database-section {
  margin-bottom: 18px;
}

body.v2.site-gateway .section-heading {
  margin: 0 0 16px;
  color: var(--text-main);
  font-size: 1.35rem;
  font-weight: 600;
}

/* Gateway cards */
/*body.v2.site-gateway .gateway-contact-page .card {*/
body.v2.site-gateway .card {
  height: calc(100% - 1.5rem);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  /*border-radius: 14px;*/
  background: var(--card-bg);
  box-shadow: 0 10px 26px rgba(16, 17, 47, 0.08);
}

/*body.v2.site-gateway .gateway-contact-page .card-header {*/
body.v2.site-gateway .card-header {
  background: linear-gradient(
    135deg,
    #f0f1ff 0%,
    #e1e3ff 100%
  );
  color: #292b68;
  border-bottom: 1px solid #d5d8f3;
  font-weight: 600;
  /*padding: 0.85rem 1rem;*/
}

body.v2.site-gateway .gateway-contact-page .card-header i,
body.v2.site-gateway .gateway-contact-page .card-header svg {
  color: #6366f1;
}

body.v2.site-gateway .gateway-contact-page .card-header a {
  color: #3730a3;
}

body.v2.site-gateway .gateway-contact-page .card-header a:hover,
body.v2.site-gateway .gateway-contact-page .card-header a:focus {
  color: #1e1b4b;
  text-decoration: underline;
}

body.v2.site-gateway .contact-card-body,
body.v2.site-gateway .database-card-body {
  line-height: 2;
}

body.v2.site-gateway .citation-alert {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  margin: 0;
  padding: 14px 16px;
  color: #292b68;
  background: linear-gradient(
    135deg,
    rgba(232, 233, 255, 0.95),
    rgba(224, 242, 254, 0.82)
  );
  border: 1px solid #cfd3f5;
  border-left: 4px solid #6366f1;
  border-radius: 12px;
  line-height: 1.65;
}

body.v2.site-gateway .citation-alert i,
body.v2.site-gateway .citation-alert svg {
  flex: 0 0 auto;
  margin-top: 0.3em;
  color: #6366f1;
}




/* GLOBAL_SEATCH [260713_update] */
/* SEARCH RESULT PAGE */
body.v2.site-gateway .gateway-search-results {
  padding-bottom: 48px;
}

/*
body.v2.site-gateway .gateway-result-search {
  max-width: 100%;
}
*/
body.v2.site-gateway .gateway-result-search {
  width: 100%;
  /*max-width: 720px;*/
  margin-left: 0;
  margin-right: auto;
}

body.v2.site-gateway .gateway-search-guide {
  /*max-width: 650px;*/
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.5;
}

body.v2.site-gateway .gateway-search-guide strong {
  color: #292b68;
  font-weight: 600;
}

body.v2.site-gateway .gateway-result-search .input-group {
  flex-wrap: nowrap;
}

body.v2.site-gateway .gateway-result-search .form-control {
  min-width: 0;
  border-color: #cfd3f5;
}

body.v2.site-gateway .gateway-result-search .form-control:focus {
  border-color: #818cf8;
  box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.18);
}

body.v2.site-gateway .gateway-search-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  color: var(--text-soft);
  font-size: 0.9rem;
}

body.v2.site-gateway .gateway-empty-state {
  padding: 48px 20px;
  border: 1px dashed #cfd3f5;
  border-radius: 14px;
  background: #fafbff;
}

body.v2.site-gateway .gateway-result-section {
  margin-bottom: 24px;
  overflow: hidden;
  border: 1px solid #dfe3f3;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(16, 17, 47, 0.08);
}

body.v2.site-gateway .gateway-result-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  background: linear-gradient(135deg, #f0f1ff 0%, #e1e3ff 100%);
  border-bottom: 1px solid #d5d8f3;
}

body.v2.site-gateway .gateway-result-heading h2 {
  margin: 0 0 2px;
  color: #292b68;
  font-size: 1.5rem;
  font-weight: 600;
}

body.v2.site-gateway .gateway-result-heading p {
  margin: 0;
  color: #62658f;
  /*font-size: 0.8rem;*/
}

body.v2.site-gateway .gateway-result-table-wrap {
  width: 100%;
}

body.v2.site-gateway .gateway-result-table {
  min-width: 900px;
  margin-bottom: 0;
  /*font-size: 13px;*/
}

body.v2.site-gateway .gateway-result-table > thead > tr > th {
  padding: 8px 10px;
  background: #dfe3ff !important;
  color: #111827 !important;
  border-bottom: 1px solid #cfd3f5;
  vertical-align: middle;
  white-space: nowrap;
}

body.v2.site-gateway .gateway-result-table > tbody > tr > td {
  padding: 8px 10px;
  border-bottom: 1px solid #edf0f7;
  vertical-align: middle;
}

/*
body.v2.site-gateway .gateway-result-table > tbody > tr:nth-of-type(even) > * {
  --bs-table-accent-bg: #fafbff;
}
*/
body.v2.site-gateway .gateway-result-table > tbody > tr:nth-of-type(odd) > * {
  --bs-table-accent-bg: #ffffff;
  background-color: #ffffff;
}

body.v2.site-gateway .gateway-result-table > tbody > tr:nth-of-type(even) > * {
  --bs-table-accent-bg: #f5f6fb;
  background-color: #f5f6fb;
}

body.v2.site-gateway .gateway-result-table .col-no {
  width: 64px;
}

body.v2.site-gateway .gateway-result-table a {
  color: #4f46e5;
  /*text-decoration: none;*/
}

body.v2.site-gateway .gateway-result-table a:hover,
body.v2.site-gateway .gateway-result-table a:focus {
  color: #312e81;
  text-decoration: underline;
}

body.v2.site-gateway .gateway-function-links {
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

body.v2.site-gateway .gateway-function-links a {
  display: inline-flex;
  text-decoration: none;
}

body.v2.site-gateway .gateway-function-links img {
  display: block;
  max-height: 24px;
  width: auto;
  border: 1px solid #999999;
}

@media (max-width: 767.98px) {
  body.v2.site-gateway .gateway-search-summary,
  body.v2.site-gateway .gateway-result-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  body.v2.site-gateway .gateway-result-search .input-group {
    flex-wrap: wrap;
  }

  body.v2.site-gateway .gateway-result-search .form-control,
  body.v2.site-gateway .gateway-result-search .btn {
    width: 100%;
    border-radius: 0.375rem !important;
  }
}
