:root {
  --content-width: 1200px;
  --left-column: 300px;
  --mainbody: 900px;
}

  * {
    box-sizing: border-box;
  }

  body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f4f4f4;
  }

  .page-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    background: #ffffff;
  }

  .three-column-layout {
    display: grid;
    grid-template-columns: 1fr 3fr;
  }

  .header-cell,
  .content-cell {
    padding: 10px;
  }

  .header-cell img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
  }

  .left-column {
    background: #000000;
	  text-align: center;
  }

  .main-column {
    background: #ffffff;
  }
  
    .table-layout {
    display: grid;
    grid-template-columns: 2fr 3fr;
  }
  
   .table,
  .content-cell {
    padding: 10px;
  }

  .table img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
  }

  .left {
    background: #ffffff;
  }

  .right {
    background: #ffffff;
  }

  .main-column article {
    padding: 10px;
    line-height: 1.6;
  }
  
    .magazine-layout {
    display: grid;
    grid-template-columns: 1fr 3fr;
  }
  
  .magnav {
  font-style: verdana;
  font-size: 12px;
  color: white;
  font-weight: bold;
  }

  .magnav a {
  font-style: verdana;
  font-size: 18px;
  color: white;
  font-weight: bold;
  }
  
  div.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

div.gallery-item {
  margin: 5px;
  border: 1px solid #ccc;
  width: 200px;
}

div.gallery-item:hover {
  border: 1px solid #777;
}

div.gallery-item img {
  width: 100%;
  height: auto;
}

div.gallery-item div.desc {
  padding: 15px;
  text-align: center;
}

  /* Optional: stack columns on smaller screens */
  @media (max-width: 700px) {
    .three-column-layout {
      grid-template-columns: 1fr;
    }

@media (max-width: 600px) {
  figure {
    float: none !important;
    margin: 0 auto 15px auto !important;
    display: table; /* Keeps the caption bound tightly to the image width */
  }
  
  figure img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }
}

  }