@import url("css-ca1-top-nav.css");
/************************************************************************************
RESET
*************************************************************************************/
 /* Style the navigation menu */
.topnav {
  overflow: hidden;
  background-color: #0d1424;
  position: relative;
  /* box shadow */
	-webkit-box-shadow: 0 1px 3px rgba(0,0,0,.4);
	-moz-box-shadow: 0 1px 3px rgba(0,0,0,.4);
	box-shadow: 0 1px 3px rgba(0,0,0,.4);
}

/* Hide the links inside the navigation menu (except for logo/home) */
.topnav #myLinks {
  display: none;
}

/* Style navigation menu links */
.topnav a {
  color: white;
  padding: 14px 16px;
  text-decoration: none;
  font-family: 'Teko', sans-serif;
  font-size: 165%;
  display: block;
}

/* Style the hamburger menu */
.topnav a.icon {
  background: #000000;
  display: block;
  position: absolute;
  right: 0;
  top: 0;
}

/* Add a grey background color on mouse-over */
.topnav a:hover {
  background-color: #f4d75c;
  color: white;
}

/* Style the active link (or home/logo) */
.active {
  background-color: #000000;
  color: white;
} 



<!--more-->

/* The outer 3-column layout */
.site-shell{
  display: flex;
  gap: 24px;                 /* space between columns */
  align-items: flex-start;
  width: 100%;
  max-width: 1600px;         /* overall page max (adjust) */
  margin: 0 auto;
  padding: 24px;
  box-sizing: border-box;
}

/* Side columns */
.side-col{
  width: 260px;              /* width of left/right columns (adjust) */
  flex: 0 0 260px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* The middle column should flex, but the inner page stays 1080px */
.main-col{
  flex: 1 1 auto;
  min-width: 0;              /* prevents overflow issues in flex layouts */
  display: flex;
  justify-content: center;   /* centers the 1080px page-wrap */
}

/* Your existing page wrapper */
.page-wrap{
  width: 100%;
  max-width: 1080px;         /* keep your current behavior */
}

/* Example side-box styling (optional) */
.side-box{
  aspect-ratio: 1 / 1;       /* makes square boxes like your mock */
  display: grid;
  place-items: center;
  font-size: 72px;
}

/* ====== Phone / narrow screens: stack ====== */
@media (max-width: 1100px){
  .site-shell{
    flex-wrap: wrap;
  }

  .main-col{
    order: 1;
    flex: 1 1 100%;
  }

  .side-left{
    order: 2;
    flex: 1 1 100%;
    width: 100%;
  }

  .side-right{
    order: 3;
    flex: 1 1 100%;
    width: 100%;
  }

  .side-col{
    flex-direction: row;     /* optional: make the side boxes row on phones */
    flex-wrap: wrap;         /* optional */
  }

  .side-box{
    flex: 1 1 160px;         /* optional: box sizing on phones */
    aspect-ratio: 1 / 1;
  }
}
