/* Container to center all content */
.header {
  text-align: center;
}
.mypersi-banner {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 100%;
  text-align: center;
}

.mypersi-banner img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}


.persi-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Common table styles */
.persi-wrapper table {
  width: 100%;
  max-width: 1000px;
  margin: 25px auto;
  border-collapse: collapse;
  table-layout: fixed;
}

/* No borders anywhere */
.persi-wrapper td,
.persi-wrapper table {
  border: none;
}

/* Default cell padding */
.persi-wrapper td {
  padding: 10px;
  vertical-align: top;
}

/* Images */
.persi-wrapper img {
  display: block;
  object-fit: cover;
}
/* Header style with left alignment and light indent */
.section-header {
  text-align: left;
  font-size: 1.4em;
  margin-top: 5px;
  margin-bottom: 2px;       /* Reduced spacing between header and table */
  padding-left: 2em;        /* Small indent, adjust if needed */
}
/* Table 1 styles — 3×3 grid */
.table1 td {
  text-align: center;
}
.table1 td img {
  width: 300px;
  height: 300px;
  margin: 0 auto 20px;
}
.table1 td label {
  display: block;
  text-align: center; /* Label aligned center within cell */
  font-weight: bold;
  margin-bottom: 10px;
}

  /* Table styling */
  .table2 {
    width: 100%;
    border-collapse: collapse;
    border: none;
    margin: 0 auto;
  }

  /* Each TD is flex row: image left, text right */
  .table2 td {
    border: none;
    padding: 10px;
    vertical-align: top;
    width: 50%;
  }

  .table2 .event-box {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .table2 img {
    width: 100px;
    height: auto;
    display: block;
  }

  .table2 .event-text {
    text-align: left;
    font-size: 0.95em;
    line-height: 1.4;
  }

/* Header style with left alignment and light indent */
.section-header {
  text-align: left;
  font-size: 1.4em;
  margin-top: 10px;
  margin-bottom: 5px;       /* Reduced spacing between header and table */
  padding-left: 2em;        /* Small indent, adjust if needed */
}

/* Shared table styles */
.table3, .table4 {
  width: 100%;
  border-collapse: collapse;
  border: none;
  margin: 0 auto;
}

/* Table 3 column widths and alignment */
.table3 td:first-child {
  width: 35%;
}
.table3 td:last-child {
  width: 65%;
  text-align: left;
  vertical-align: top;
}

/* Table 4 column widths and alignment */
.table4 td:first-child {
  width: 65%;
  text-align: left;
  vertical-align: top;
}
.table4 td:last-child {
  width: 35%;
}

/* Optional tighter padding */
.table3 td, .table4 td {
  padding: 10px;
}

/* Images */
.table3 img, .table4 img {
  width: 100%;
  max-width: 300px;
  height: auto;
  display: block;
}

/* Reduce space above all tables */
.persi-wrapper table {
  margin-top: 5px;       /* Reduce top margin */
  margin-bottom: 20px;   /* Optional: maintain bottom spacing between tables */
}