/* ------------------------------
   BASIC PAGE RESET & BODY STYLE
--------------------------------*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f4f4f4;
    line-height: 1.4;
    padding-bottom: 40px;
}

/* ------------------------------
   HEADER BACKGROUND (OPTIONAL)
--------------------------------*/
.header-bg {
    background: #2274a5;   /*  ASC blue - adjust as needed */
    padding: 10px 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

/* ------------------------------
   NAVIGATION BAR
--------------------------------*/
.navbar {
    width: 100%;
}

.nav-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.nav-menu li {
    display: inline-block;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-size: 26px;
    padding: 8px 14px;
    border-radius: 4px;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-menu a:hover {
    background: #000000;
    color: #ffffff;
}

    header nav ul {
      list-style: none;
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;
      padding: 0;
      margin: 0;
    }

    
    main {
      padding: 1rem;
    }

/* ------------------------------
   NAV STYLE
--------------------------------*/
nav {
    display: flex;
    justify-content: center; /* Distribute space between items */
    background-color: #2274a5; /* Background color for the navigation bar */
}
/* ------------------------------
   IMAGE STYLE
--------------------------------*/
.fit-picture {
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 20px;
}


   
    /* table schedule */
    table.schedule {
      width: 80%;
      border-collapse: collapse;
      background: #fff;
      font-size: 1.25rem;
    }

    .schedule th {
      background: #2274a5;     /* dark slate #003366 */
      color: #fff;
      padding: 0.6rem;
      text-align: left;
      position: sticky;
      top: 0;
      z-index: 2;
    }

    .schedule td {
      padding: 0.5rem;
      border-bottom: 1px solid #ddd;
      vertical-align: top;
    }

    .day-header td {
      background: #e9eef5;
      font-weight: bold;
      font-size: 1.25rem;
      padding: 0.75rem;
    }

    /* Event types */
    .briefing td { background: #eef6ff; }
    .airshow td  { background: #fff6e5; }
    .forum td    { background: #eef9f0; }
    .demo td     { background: #f3f0ff; }
    .closed td   { background: #ffecec; color: #900; font-weight: bold; }
    .giveaway td { background: #aef5c3; }
    .forum td { background: #ffe5ae; }

    /* Icons */
    .icon { margin-right: 0.4rem; }

    /* Mobile */
    @media (max-width: 800px) {
      table, thead, tbody, th, td, tr {
        display: block;
      }

      thead {
        display: none;
      }

      .schedule tr {
        margin-bottom: 1rem;
        border: 1px solid #ccc;
        padding: 0.5rem;
      }

      .schedule td {
        border: none;
        padding: 0.25rem 0;
      }

      .day-header td {
        border: none;
      }
    }


/* ------------------------------
   TABLE LAYOUT (kept EXACT)
--------------------------------*/
table {
    width: 100%;
    border-spacing: 0;
}

td {
    vertical-align: top;
    padding: 10px;
}

/* ------------------------------
   LEFT MAP COLUMN LIST
--------------------------------*/
td ul {
    list-style: none;
    padding-left: 0;
}

td ul li {
    margin-bottom: 6px;
}

td ul li a {
    text-decoration: none;
    color: #003366;
    font-size: 15px;
    font-weight: bold;
}

td ul li a:hover {
    color: #0072c6;
    text-decoration: underline;
}

/* ------------------------------
   RESPONSIVE BEHAVIOR
--------------------------------*/
@media (max-width: 900px) {

    .nav-menu a {
        font-size: 15px;
        padding: 6px 10px;
    }

    table {
        width: 100%;
    }

    td {
        display: block;
        width: 100% !important;
    }
}

@media (max-width: 600px) {
    
    .nav-menu {
        gap: 10px;
    }

    .nav-menu a {
        font-size: 14px;
        padding: 5px 9px;
    }
}
/* ------------------------------
   Article Container
--------------------------------*/
.article-container {
    max-width: 900px; /* Adjust this value as needed */
    margin: 10 center; /* Center the container horizontally */
    padding: 10px; /* Add some padding for spacing */
    text-align: justify;
}

.magazine-container {
  display: flex;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
}

.magazine-grid {
  flex-grow: 1;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 25px; /* Adjust the gap between grid items */
}

.magazine-cover {
    text-align: center;
}

.magazine-cover:hover{
  cursor: pointer;
}

.magazine-cover img {
  max-width: 100%;
  height: auto;
  max-height: 500px;
  box-shadow: 0 10px 14px rgba(0, 0, 0, 0.2);
  transition: all 0.2s;
}

.magazine-cover img:hover {
  max-width: 100%;
  height: auto;
  max-height: 500px;
  box-shadow: 0 56px 100px rgba(39, 113, 193, 0.9);
}

.magazine-cover p {
    margin-top: 10px;
    font-weight: bold;
}

.Center {
    text-align: center;
}

/* =========================
   Page Layout
========================= */

.page-container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.page-container h1 {
  margin-bottom: 1rem;
  font-size: 1.6rem;
}

/* =========================
   Table Styling
========================= */

.table-wrap {
  overflow-x: auto;
}

.contact-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.25rem;
  background: #fff;
}

.contact-table thead {
  background: #1f2937; /* dark slate #1f2937 */
  color: #ffffff;
}

.contact-table th,
.contact-table td {
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
  vertical-align: top;
}

.contact-table tbody tr:nth-child(even) {
  background: #f9fafb;
}

.contact-table tbody tr:hover {
  background: #eef2ff;
}

.contact-table a {
  color: #1d4ed8;
  text-decoration: none;
}

.contact-table a:hover {
  text-decoration: underline;
}

/* =========================
   Responsive tweaks
========================= */

@media (max-width: 768px) {
  .contact-table {
    font-size: 0.85rem;
  }
}



