body{
  margin:0;
  background:#caf5f7;
  font-family: "Comic Sans MS", "Trebuchet MS", cursive;
}

@media (max-width: 900px){
  body{
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif !important;
  }
}

a{
  text-decoration: none !important; 
    color: black;
}

/* the whole header block  */
.head{
  display:flex;
  max-width: 1000px; 
  height: 260px;
  margin: 20px auto;
  margin-bottom: 0px;
  background: transparent;
  border: 2px solid black;
  border-bottom: none;
  border-radius: 15px 15px 0 0 ;
  box-shadow: 3px 3px 20px #285f62;
}

/* LEFT PANEL */
.head-left{
  padding-top: 10px;
  padding-left: 30px;
  padding-right: 30px;
  padding-bottom: 10px;
  box-sizing: border-box;

  display:flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;

  background: linear-gradient(to bottom, #997300, #ffc000);
  border-radius: 13px 0 0 0 ;
}

/* logo size */
.head-left img{
  width: 200px;
  max-width: 100%;
  height: auto;
  display:block;
}

/* bottom text */
.head-left p{
  margin: 1px;
  padding: 1px;
  margin-top: -10px;
  width: 100%;
  text-align: center;
  font-size: 14px;
  color: #0b4f75;
}

.head-right{
  flex: 1;
}

.head-right img{
  width: auto;
  height: 100%;
  display:block;
  object-fit:cover;
  border-radius: 0 13px 0 0 ;
}

.sub-head{
  display:block;
  max-width: 1000px;
  height: 40px;
  margin: 0px auto;
  background: linear-gradient(to bottom, #997300, #ffc000);
  border: 2px solid black ;
  border-radius: 0 0 15px 15px;
  box-shadow: 3px 3px 20px #285f62;
}

.sub-head ul{
  display: flex;
  align-items: center;

}

.sub-head ul a{
  margin-top: -8px;
  padding-left: 20px;
  text-decoration: underline;
  color: #0b4f75;
}

.full-head{
    object-fit:cover;
    
}

.content{
  display:flex;
  max-width: 1000px;
  min-height: 500px;
  margin: 20px auto 0;
  background: transparent;
  gap: 20px;
  align-items: stretch;
}

/* MAIN */
.main{
  flex: 1;
  /* background: #ffffff;
  border-radius: 14px;
  box-shadow: 3px 3px 20px #285f62; */
  padding: 24px 32px;
  box-sizing: border-box;
}

/* RIGHT SIDEBAR PANEL */
.sidebar{
    max-height: 430px;
    width: 250px;
    background: #3f7f8b;
    border: 2px solid black ;
    border-radius: 15px;
    box-shadow: 3px 3px 20px #285f62;
    padding: 18px 14px;
    box-sizing: border-box;
    display:flex;
}

/* NAV LIST */
.side-nav{
  width: 100%;
}

.side-nav ul{
  list-style: none;
  padding: 0;
  margin: 0;
  display:flex;
  flex-direction: column;
  gap: 14px;
}

.side-nav a{
  display:flex;
  align-items: center;
  gap: 12px;
  padding: 10px 10px;
  border-radius: 12px;
  text-decoration: none;
  color: #ffffff;
  font-size: 22px;
  transition: transform .08s ease, background-color .12s ease;
}

.side-nav a:hover{
  background: rgba(255,255,255,0.12);
  transform: translateX(5px);
  border: 2px solid white ;
  padding: 8px 10px;
}

.nav-icon{
  width: 34px;
  height: 34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  /* font-size: 22px; */
  /* background: rgba(255,255,255,0.15);
  border-radius: 999px; */
}

.locked{
  opacity: 0.25;
}


.sub-link {
  list-style: none;
  padding: 7px 20px 2px 5px;
  margin-top: -5px;
  display:flex;
  flex-direction: row;
  transition: transform .08s ease-in-out, opacity .12s ease-in-out;
}

.sub-link-link{
  display:flex;
  align-items: center;
  border-radius: 12px;
  color: #000000;
  font-size: 15px;

}

.sub-link:hover{
  transform: scale(0.96);
  background: linear-gradient(180deg, #997300, #ffc000) ;
  /* border: dotted black 2px; */
  border-radius: 99999px;
}

.site-footer {
  background-color: #a9cfd2; /* soft blue like your image */
  padding: 40px 20px;
  font-family: Arial, sans-serif;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.footer-column {
  flex: 1;
}

.footer-column h3 {
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: bold;
}

.footer-column p {
  margin: 5px 0;
  font-size: 13px;
}

.footer-column.center {
  text-align: center;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
}


/* ===== MOBILE (single source of truth) ===== */
@media (max-width: 900px){

  /* overall page width */
  .head,
  .sub-head,
  .content{
    max-width: calc(100% - 20px);
    margin-left: auto;
    margin-right: auto;
  }

  /* HEADER: hide banner image */
  .head{
    height: auto;
    flex-direction: column;
  }

  .head-right{
    display: none;
  }

  .head-left{
    width: 100%;
    border-radius: 13px 13px 0 0;
    padding: 18px 14px;
  }

  /* NAV: simple vertical list (no pills, no overflow) */
  .sub-head{
    height: auto;
  }

  .sub-head ul{
    margin: 0;
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }

  .sub-link{
    margin-top: 0;
    padding: 0;
  }

  .sub-head ul a{
    margin-top: 0;
    padding: 6px 0;
  }

  /* CONTENT: sidebar above main */
  .content{
    flex-direction: column;
    gap: 16px;
    padding: 0;
  }

  #sidebar-root{
    order: -1;
    width: 100%;
  }

  .sidebar  {
    width: 100%;
    max-height: none;
    margin: 0;
  }

  /* keep sidebar menu vertical (fits your current design) */
  .side-nav ul{
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  /* main full width */
  .main{
    padding: 18px 14px;
  }

  /* wishes full width */
  .wish-cloud{
    width: 100%;
    margin: 12px 0;
    box-sizing: border-box;
  }

  .wish-carousel-text{
    max-width: 100%;
    padding: 0 10px;
    text-align: center;
  }
}

.title_pages{
  display:flex;
  justify-content: center;
  align-items: center;
  color: #2c5870;
  text-decoration: underline;
  margin-top: -40px;
  margin-bottom: -20px;
}