@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;600&display=swap');

body {
    font-family: 'Roboto', sans-serif;
    background-color: #e3f3f0;
    color: #222;
    margin: 0;
    padding: 0;
    overflow-y: visible, scroll;
}

html {
    overflow-y: scroll;
}

.page-container {
    width: 1450px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 24px;
}

.page-container h2 {
    margin-left: 0;
    padding-left: 0;
}

h1, h2, h3 {
    margin-bottom: 16px;
}


.timeline-event {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 0 auto 30px auto;
    background-color: #E9F5F3;
    padding: 12px;
    border-radius: 8px;
    box-shadow: 0 2px 8px black;
}

.timeline-event-analysis {
    display: flex;
    flex-direction: column;  /* force vertical stacking */
    gap: 10px;
    margin: 0 auto 30px auto;
    background-color: #E9F5F3;
    padding: 12px;
    border-radius: 8px;
    box-shadow: 0 2px 8px black;
}


.left-col {
    flex: 0 0 58%;
    min-width: 300px;
}

.right-col {
    flex: 0 0 38%;
    min-width: 300px;
    margin-left: auto;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
    gap: 24px;
    padding: 0px 24px;
    margin-top: 24px;
}

.case-card {
    background-color: #419e98;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 16px 20px;
    box-shadow: 0 2px 8px black;
    transition: box-shadow 0.2s ease;
}

.case-card:hover {
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.1);
}

.case-card h3 {
    margin-top: 0;
    font-size: 1.1rem;
}

.case-card p {
    margin: 8px 0;
}

.two-col-card {
    display: flex;
    gap: 24px;
    justify-content: space-between;
    align-items: stretch;
}

.box-left,
.box-right {
    flex: 1;
    min-width: 0;
    background-color: #419e98;
    border-radius: 6px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.card {
    background-color: #419e98;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 2px 8px black;
    margin: 0 24px 40px;
    display: flex;
    gap: 20px;
}

.guidance-box,
.evidence-box {
    background-color: #b8dddc;
    padding: 16px;
    border-radius: 6px;
    box-shadow: 0 2px 8px black;
    font-size: 16px;
    line-height: 1.5;
}

.evidence-box h4 {
    margin-top: 0;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 12px;
}

.form-row {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

.form-row > div {
    flex: 1;
}

.truncate {
    display: inline-block;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: left;
}

.truncate-long {
    display: inline-block;
    max-width: 350px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: left;
}

.evidence-links {
    padding-left: 0;
    margin-left: 0;
    list-style-position: inside;
}

.evidence-links li {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    margin-bottom: 0px;
}

.evidence-links a {
    text-decoration: none;
    color: inherit;
}

.row {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
    flex-wrap: wrap; /* allows wrapping on small screens */
  }
  
  .half-box {
    flex: 1 1 48%;
    background-color: #f9f9f9;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-sizing: border-box;
  }

  button {
    background-color: transparent;
    color: white;
    border: 2px solid #007872;
    padding: 6px 12px;
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;   /* remove underline */
    transition: background-color 0.2s ease;
  }
  
  button:hover {
    background-color: #005f5a;
  }

  .button-row {
    gap: 10px;
    margin-top: 10px;
    text-decoration: none;
  }
  
  .button-dark-text {
    background-color: transparent;
    color: rgb(0, 0, 0);
    border: 2px solid #007872;
    padding: 6px 12px;
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.2s ease;
    line-height: 1.4;
    white-space: nowrap;
  }
  
  .button-dark-text:hover {
    background-color: #e0e0e0;
  }

.lang-switch {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 8px;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  background: #fff;
  cursor: pointer;
  font: inherit;
}

.lang-btn.active {
  background: #f3f4f6;
}

.lang-btn:hover { background: #f9fafb; }
.flag { font-size: 1.1rem; line-height: 1; }
.lang-label { font-size: 0.95rem; }




  /*
.button-template {
  /* Layout */
  display: inline-block;
  padding: 8px 16px;            /* Top/bottom, left/right padding */
  margin: 6px;                  /* Space around the button */
  
  /* Colors */
  background-color: #007872;    /* Button background */
  color: white;                 /* Text color */
  border: none;                 /* No border by default */
  /* border: 1px solid #ccc; */ /* Optional border */

  /* Typography */
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;

  /* Corners & Shadow */
  border-radius: 6px;           /* Rounded corners */
  /* box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); */ /* Optional shadow */

  /* Cursor & Effects */
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;

  /* Text alignment (for full-width buttons) */
  /* text-align: center; */
  /* width: 100%; */
}

.button-template:hover {
  background-color: #005f5a;    /* Darker on hover */
  /* color: #eee; */            /* Optional hover text color */
}
*/