* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: #f5f7fb;
  color: #1a2a3f;
  line-height: 1.5;
  padding-top: 0 !important;
}

.node__content h2 {
  font-size: 1.4em;
  margin: 12px 0;
}

.node__content ul {
  list-style-position: inside;
  margin-bottom: 12px;
}

h4 {
  font-size: 1.5em;
  margin: 6px 0;
}

p {
  margin-bottom: 6px;
}

a {
  color: #2a5298;
  text-decoration: none;
}

a:hover, .breadcrumb a:hover  {
  text-decoration: underline;
}

a.btn:hover {
  text-decoration: none;
}

#toolbar-bar {
  overflow: hidden;
}

#toolbar-item-administration {
  height: 0;
  padding: 0;
}

.toolbar-toggle-orientation {
  display: none !important;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header Styles */
.site-header {
  background: linear-gradient(90deg, #000C1A, #010E1F);
  padding: 9px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

#block-impsi-site-branding {
  display: flex;
  gap: 12px;
  align-items: center;
  height: 50px;
}

.site-logo, .site-name {
  margin: auto 0;
}

.site-logo img {
  float: left;
  margin-top: -3px;
}

.site-name a {
  color: #fff;
  font-size: 1.8rem;
  text-decoration: none;
}

.menu {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.menu li {
  padding-top: 0;
  padding-bottom: 3px;
}

.menu li a {
  text-decoration: none;
  font-weight: 500;
  font-size: 1.0rem;
  color: #fff;
  transition: color 0.2s;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}

.menu li a:hover,
.menu li a.active,
ul.menu a.is-active {
  color: #fff;
  border-bottom-color: #fff;
}

h1.page-title {
  text-align: center;
  font-size: 3em;
  font-weight: 400;
}

.breadcrumb {
  text-align: center;
}

.region-content {
    padding-top: 20px;
}

.hero-section {
  padding: 60px 0 40px;
  background: url('../images/back.jpg') center top no-repeat;
  background-size: 100% auto;
}

.path-frontpage .hero-section {
  background: url('../images/front-back.jpg') center top no-repeat;
  background-size: 100% auto;
}

.hero-section .container {
  position:relative;
}

#block-headerimage {
  position: absolute;
  right: -50px;
  top: -20px;
}

#block-headerimage img {
    height: 300px;
}

#block-frontheadertext {
  width: 600px;
}

.main-content {
  background-color: #f0f4f9;
  padding-bottom: 60px;
}

.hero-title {
  font-size: 3rem;
  font-weight: 400;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.4rem;
  color: #fff;
  margin: 0 auto 1.8rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: left;
  flex-wrap: wrap;
}

.btn, .form-submit {
  display: inline-block;
  font-weight: 600;
  text-decoration: none;
  padding: 0.7rem 1.5rem;
  border-radius: 8px;
  transition: all 0.2s;
  cursor: pointer;
  font-size: 0.9rem;
}

.btn-outline {
  border: 1.5px solid #fff;
  color: #fff;
  background: transparent;
}

.btn-outline.active {
  border: 1.5px solid #2a5298;
  background: #2a5298;
}

.btn-outline:hover {
  border: 1.5px solid #fff;
  background: #2a5298;
  color: white;
}

.btn-primary, .form-submit {
  background: #2a5298;
  color: white;
  border: none;
  box-shadow: 0 2px 5px rgba(42,82,152,0.2);
}

.btn-primary:hover {
  background: #1e3c72;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.key-message-section {
  padding: 50px 0;
  background-color: #ffffff;
  border-top: 1px solid #eef2f6;
  border-bottom: 1px solid #eef2f6;
}

.message-block {
  margin: 0 auto;
}

.message-large {
  font-size: 2.0rem;
  font-weight: 400;
  color: #0a2540;
  margin-bottom: 1rem;
}

.message-large strong {
  color: #2a5298;
}

.message-description {
  font-size: 1.4rem;
  color: #2c3e50;
  font-style: italic;
}

.featured-system {
  padding: 60px 0;
  background: #f0f4f9;
}

.region-feature {
  margin: 0 -48px;
}

.featured-card {
  background: white;
  border-radius: 32px;
  padding: 40px 48px;
  margin: 0 auto;
  box-shadow: 0 20px 35px -12px rgba(0,0,0,0.05);
  border: 1px solid #e9edf2;
}

.featured-image, .impsi-hero-image, .impsi-report-image {
  float: right;
  border-radius: 10px;
  margin: 9px 16px 0;
  background-color: #f8f8f8;
}

.featured-label {
  display: inline-block;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: #2a5298;
  background: #e9f0fc;
  padding: 0.2rem 1rem;
  border-radius: 30px;
  margin-bottom: 1rem;
}

.featured-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #0f2b3d;
  line-height: 3rem;
}

.featured-description {
  font-size: 1.2rem;
  color: #2c3e50;
  margin-bottom: 1.2rem;
  line-height: 24px;
  text-align: justify;
}

blockquote {
  font-size: 0.95rem;
  color: #4a627a;
  border-left: 3px solid #2a5298;
  padding-left: 1rem;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  font-style: normal;
  background: #f9fbfd;
  display: block;
}

.research-areas {
  padding: 50px 0;
  background: white;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
  color: #0f2b3d;
}

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

.research-card {
  background: #fafcff;
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  transition: all 0.2s;
  border: 1px solid #eef2f9;
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}

.research-card:hover {
  transform: translateY(-5px);
  border-color: #cddfef;
  box-shadow: 0 18px 30px -12px rgba(0,0,0,0.08);
}

.research-heading {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #1e3c72;
}

.research-text {
  color: #3b5a7c;
  line-height: 1.4;
}

.breadcrumb-wrapper {
  background: #ffffff;
  padding: 12px 0;
  border-bottom: 1px solid #e9edf2;
}

.breadcrumb {
  font-size: 0.85rem;
  color: #5b6e8c;
}

.breadcrumb a {
  text-decoration: none;
  color: #2a5298;
}

.partnerships-hero {
  padding: 60px 0 30px;
  text-align: center;
  background: white;
}

.page-title {
  font-size: 3rem;
  font-weight: 800;
  color: #1e2f3f;
  margin-bottom: 1rem;
}

.partnerships-intro {
  font-size: 1.3rem;
  max-width: 700px;
  margin: 0 auto 1.8rem;
  color: #2c3e50;
}

.contact-button-wrapper {
  margin-top: 0.5rem;
}

.partners-section {
  padding: 50px 0;
  border-bottom: 1px solid #eef2f6;
}

.partners-section:last-of-type {
  border-bottom: none;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}

.partner-card {
  background: white;
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: 0.2s;
  border: 1px solid #eef2f9;
}

.partner-card:hover {
  box-shadow: 0 12px 24px -12px rgba(0,0,0,0.1);
  border-color: #d0e0f0;
}

.partner-name {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #1e3c72;
}

.partner-description {
  color: #3a5a7c;
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  background: #0a1927;
  color: #b9cfec;
  padding: 32px 0;
  border-top: 1px solid #1e2f3f;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright {
  font-size: 0.85rem;
}

.footer-nav a {
  color: #b9cfec;
  text-decoration: none;
  margin-left: 1.5rem;
  font-size: 0.85rem;
}

.footer-nav a:hover {
  color: white;
  text-decoration: underline;
}

.impsi-advisory-board {
    padding: 30px 0 80px;
}

.impsi-advisory-intro {
    font-size: 1.5rem;
    color: #34465b;
    margin-bottom: 36px;
}

.impsi-advisory-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.impsi-advisor-card {
    background: rgba(255,255,255,.82);
    border: 1px solid #e6ecf4;
    border-radius: 14px;
    overflow: hidden;

    box-shadow: 0 10px 24px rgba(0,0,0,.04);
    backdrop-filter: blur(8px);

    transition: .2s ease;
}

.impsi-advisor-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 30px rgba(0,0,0,.08);
}

.impsi-advisor-image {
    height: 420px;
    overflow: hidden;
}

.impsi-advisor-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.impsi-advisor-content {
    padding: 22px 22px 18px;
}

.impsi-advisor-content h3 {
    font-size: 1.35rem;
    font-weight: 600;
    color: #314675;
    margin-bottom: 8px;
}

.impsi-advisor-content p {
    font-size: 1rem;
    color: #58697d;
    line-height: 1.6;
    margin: 0;
}

.impsi-partners {
    padding: 30px 0 80px;
}

.impsi-partners-intro {
    max-width: 760px;
    font-size: 1.5rem;
    line-height: 1.6;
    color: #34465b;
    margin-bottom: 24px;
}

.impsi-partners-cta {
    margin-bottom: 60px;
}

.impsi-partners-title {
    font-size: 2.2rem;
    font-weight: 400;
    color: #1a2a3f;
    margin-bottom: 28px;
}

.impsi-partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 56px;
}

.impsi-partner-card {
    background: rgba(255,255,255,.82);
    border: 1px solid #e6ecf4;
    border-radius: 14px;

    padding: 26px;

    box-shadow: 0 10px 24px rgba(0,0,0,.04);
    backdrop-filter: blur(8px);

    transition: .2s ease;
}

.impsi-partner-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(0,0,0,.08);
}

.impsi-partner-logo {
    height: 80px;

    display: flex;
    align-items: center;

    font-size: 3.4rem;
    color: #6b89a7;

    margin-bottom: 18px;
}

.impsi-partner-card h3 {
    font-size: 1.35rem;
    font-weight: 500;
    color: #1a2a3f;
    margin-bottom: 14px;
    line-height: 1.3;
}

.impsi-partner-card p {
    color: #5a6878;
    line-height: 1.8;
    font-size: 1rem;
}

/* Optional logo style if using SVG later */

.impsi-partner-logo svg,
.impsi-partner-logo img {
    max-width: 100%;
    max-height: 70px;
    width: auto;
}

/* Responsive */

.field--name-field-attached-files {
    margin-top: 12px;
}

#like-form {
    margin-top: 12px;
    text-align: center;
}

.node--type-person .field--type-image {
    float: right;
    padding-left: 12px;
}

.field--name-body img {
    max-width: 100%;
    height: auto;
}

#toolbar-item-shortcuts, #toolbar-item-user {
    display: none;
}