/* === base.css — shared styles across all pages === */

:root {
    --bg:#f7f7fb;
    --card:#ffffff;
    --ink:#1d232f;
    --muted:#5b6474;
    --primary:#6b7cff;
    --primary-ink:#1f2656;
    --line:#e6e8ef;
    --chip:#eef0ff;
  }
  
  html {
    height: 100%;
  }

  body {
    margin: 0;
    padding: 0;
    font-family: 'Garamond', serif;
    font-size: 20px;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.5;

    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }

  
  a { color: inherit; text-decoration: none; }
  .container { max-width: 80%; margin: 0 auto; padding: 0 20px; }
  
    /* Site header / nav */
    .site-header {
        background: var(--card);
        border-bottom: 1px solid var(--line);
    }
  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
  }
  .brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
  }
  .brand-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
  }
  .brand-text {
    display: flex;
    flex-direction: column;
  }
  .brand-title { font-weight: 700; font-size: 18px; }
  .brand-subtitle {
      font-size: 14px;
  }

  .brand-subtitle .email {
      font-size: 12px;
      opacity: 0.8;
  }
  .main-nav {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
  }
  .nav-link {
    padding: 8px 10px;
    border-radius: 10px;
  }
  .nav-link.is-active,
  .nav-link:hover {
    background: var(--chip);
  }
  
  
  /* Footer */
  .site-footer {
    border-top:1px solid var(--line);
    background:var(--card);
    color:var(--muted);
  }
  .footer-inner { padding:16px 0; text-align:center; }
  


  .page-header {
      background: linear-gradient(180deg, #0f2b46, #163a5f);
      color: white;
      padding: 60px 0 40px;
      text-align: center;
      position: relative;
  }

.back-arrow {
    position: absolute;
    top: 20px;
    left: 25px;

    font-size: 3.2rem;     
    font-weight: 900;       
    line-height: 1;

    color: white;
    text-decoration: none;

    opacity: 0.95;
    transition: all 0.2s ease;
}

.back-arrow {
    text-shadow: 
        0 0 1px white,
        0 0 2px white;
}

  .back-arrow:hover {
      opacity: 1;
      transform: translateX(-3px);
      text-decoration: none;
      color: white;
  }



.card-header {
  position: relative !important;
  background-color: #e8f2ff;   /* soft scientific blue */
  border-bottom: 1px solid #d0e3ff;
  font-weight: 600;
}


.card-header select {
    position: static !important;
    float: none !important;
}
