
  /* reformat default values V5 JUN25*/
h1 {font-weight: 500; font-size: 1.75rem; margin-top: .5rem; margin-bottom: .25rem; letter-spacing: .1rem; color: darkslategrey;}
h2 {font-weight: 400; font-size: 1.375rem; margin-top: .375rem; margin-bottom: .125rem; letter-spacing: .075rem; color: darkslategrey;}
h3 {font-weight: 400; font-size: 1.25rem; margin-top: .250rem; margin-bottom: .125rem; letter-spacing: .05rem; color: darkslategrey;}

  /* removes outlines on eveything */
* {
  outline: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.m0 {margin: 0}
.p0 {padding: 0}
.mb05 {margin-bottom: .5rem}
.mt1 {margin-top: 1rem}
.mb1 {margin-bottom: 1rem}
.ml1 {margin-left: 1rem}
.pb1 {padding: .5rem}
.ml15 {margin-left: 1.5rem}
.mb15 {margin-bottom: 1.5rem}
.ml2 {margin-left: 2rem}
.mx-auto { margin-right: auto; margin-left: auto}

.text-decoration-none {text-decoration: none}
.bold {font-weight: 600}
.regular {font-weight: 400}
.italic {font-style: italic}
.caps {text-transform: uppercase; letter-spacing: .1em}
.large-bold {
  font-size: 1.25rem;
  font-weight: 600;
}

.flex {display: flex}
.items-center {align-items: center}
.text-align-right {text-align: right}
.border-left-8-blue {border-left: 8px solid blue;}

body {
  background: white;
  font-family: 'Roboto',sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  margin: auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow-x: hidden; /* Prevent horizontal scrollbar during sidebar animation */
  padding: 0rem 0rem;
  max-width: 960px;
}

.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 24
}

  /* header */
.header-bar {
  background-color: white;
  color: black;
  z-index: 999;
  position: fixed;
  align-items: center;
  top: 0;
  left: 0;
  right: 0;
  margin: auto;
  max-width: 960px;
  padding: .125rem .25rem .125rem .25rem;
  display: flex;
  justify-content: flex-start;
  box-shadow: 0 0 4px 2px rgba(0,0,0,.1);
}
.header-bar img {
  display: block;
}

.header-navbar-button {
  background-color: white;
  font-size: 1.75rem;
  cursor: pointer;
  border: none;
  outline: none
}
.header-navbar-button a {
  text-decoration: none;
}
.button-trigger {
  cursor: pointer;
  text-decoration: none;
  outline: none
}

  /* Tab container */
.tab-container {
/*  max-width: 100%; /* Changed from 800px to use full width */
  margin: 16px 0;
}
  /* Tab buttons */
.tab-buttons {
  background-color: #fff;
  display: flex;
  margin-bottom: 8px;
  max-width: 960px;   
  width: 100%; /* Ensure full width */
  position: fixed;
}
.tab-button {
  background-color: #fff;
  border: none;
  border-bottom: 4px solid #fff;
  outline: none;
  cursor: pointer;
  padding: 10px 8px;
  transition: 0.3s;
  font-size: 16px;
  flex: 1; /* This makes each tab button take equal width */
  text-align: center; /* Center the text in each tab */
  margin-right: 0; /* Remove margin between tabs */
  max-width: 20%;
}
.tab-button:hover {
  background-color: #ddd;
}
.tab-button.active {
  background-color: #fff;
  border-bottom: 4px solid #ff0000;
  font-weight: bold;
}
.tab-button-star {
  padding: 0px 0px;
  font-size: 18px;
}
/* Tab content */
.tab-content {
  display: none;
  padding: 3rem 1rem 2rem 1rem;
  font-size: 1rem;
  line-height: 1.5;
  background-color: #fff;
  width: 100%; /* Ensure content uses full width */
  box-sizing: border-box; /* Include padding in width calculation */
}
.tab-content.active {
  display: block;
}

  /* Main content  - wrapper for tabs in index */
.main-content {
  padding: 0rem; /* Reset default padding if any */
  padding-top: 3rem; /* header margin */
  font-size: 1rem;
  line-height: 1.5;
  flex: 1; /* Allow main content to expand and push footer to bottom */
  position: relative; /* Ensures it has a stacking context */
  box-sizing: border-box; /* Include padding in width calculation */
  z-index: 1; /* Ensure it's under the sidebar */
}
 
  /* Page content  - non-tab pages */
.page-content {
  padding: 2.5rem 1rem 2rem 1rem;
  font-size: 1rem;
  line-height: 1.5;
  flex: 1; /* Allow main content to expand and push footer to bottom */
  position: relative; /* Ensures it has a stacking context */
  background-color: #fff;
  min-height: 200px;
/*  width: 100%; /* Ensure content uses full width */
  box-sizing: border-box; /* Include padding in width calculation */
  z-index: 1; /* Ensure it's under the sidebar */
}
.page-content h1 {
  line-height: 1.875;
  color: #333;
}
.page-content h2 {
  line-height: 1.625;
  color: #333;
}
.page-content p {
  margin-bottom: .5rem;
}

  /*  section (of page) */
.section-block {
  display: flex; 
  flex-direction: column;
}
  /* standard section row blocks within block column */
.section-split {
  flex-direction: row;
}
  /* left block, usually a picture */
.section-left {
  float: left; 
  margin-right: 12px; 
  margin-top: 4px; 
  width: 40%
}
.section-left img {
  border-radius: 8px; 
  float: left; 
  max-width: 100%;
}
.section-left figcaption {
  text-align: center; 
  font-size: .875rem; 
  font-style: italic;
  margin-bottom: .25rem;
}
.section-right {margin-bottom: 0rem}

  /* small layout always in row */
.section-small-split {
  flex-direction: row;
}
.section-small-left {
  float: left; 
  margin-right: 12px; 
  margin-top: 4px; 
  width: 40%
}
.section-small-left img {
  border-radius: 8px; 
  float: left; 
  max-width: 100%;
}
.section-small-left figcaption {
  text-align: center; 
  font-size: .875rem; 
  font-style: italic;
  margin-bottom: 0rem;
}
.section-small-right {margin-bottom: 0rem}

  /* Responsive Adjustments at 600 - only for main sections */
@media (max-width: 600px) {
  .section-split {
    flex-direction: column;
  }
  .section-left {
    margin-top: 4px; 
    width: 100%
  }
}

  /* link styles */
.link-read-article {
  font-weight: 600;
  text-decoration: none;
  color: blue;
}

.link-article {
  text-decoration: none;
  color: blue;
}

  /* list - indent good to 9 items, then add indent99 to override */
.list-indent {
  margin-left: 1rem; 
  margin-top: .125rem; 
  margin-bottom: .375rem
}
.list-indent99 {margin-left: 1.5rem}
.list-indent dt {font-weight: 600}
.list-indent dd {font-style: italic}
.list-indent li {margin-bottom: 0rem}

/* Common Footer */
.footer {
    position: sticky;
    bottom: 0;
    background-color: #cb0000;
    color: white;
    padding: 8px 0;
    width: 100%;
    z-index: 99; /* Ensure it's on top of the main  */
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer-content p {
  margin: 5px 10px 0 0;
  font-size: 12px;
  justify-content: space-between;
  align-items: center;
  text-align: center;
}
.footer-links a {
  color: #f1f1f1;
  text-decoration: none;
  margin: 0 10px;
  transition: color 0.3s;
}
.footer-links a:hover {
  color: #007cba;
}
  /* specific for LINE Official image */
.footer-line img {
  background-color:#fff;
  padding: 3px;
}

/* Responsive Adjustments */
@media (min-width: 600px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .footer-links {
    margin: 0;
  }
}

#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: black;
  color: white;
  font-size: 16px;
  padding: 1rem;
  text-align: center;
  z-index: 999; /* Ensure it's on top of everything  */
  display: none; /* Hidden by default */
}
.cookie-button {
  padding: 0.5rem;
  margin: 0.5rem;
}