
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
}

html {
  background: #e4e4e7;
}


body {
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  grid-template-columns: minmax(0, 800px);
  justify-content: center;
  padding-inline: 0; 
  font-family: system-ui, sans-serif;
  line-height: 1.6;

  font-size: normal;
  font-family: Courier, Helvetica, Arial, sans-serif;
  text-rendering: optimizeLegibility;
  font-weight:700;
  color: black;
}

header, footer {
  background: #ffffff;
  padding: 1.5rem;
}

main {
  background: #ffffff;
  padding: 1rem 1.25rem;
  min-width: 0; /* Critical: prevents Glide's track from blowing out the grid column */
  overflow: hidden; /* Clips any peeking slides or subpixel overflow */
}

/* Split Header Layout */
header {
  display: flex;
  /*justify-content: space-between;*/
  justify-content: flex-start;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap; /* Wraps cleanly on narrow mobile screens */
  border-bottom: 1px solid #e4e4e7;
}

.logo a {
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
  color: #18181b;
}

.menu ul {
  display: flex;
  flex-wrap: wrap; /* Allows items to wrap onto a new line */
  row-gap: 0.4rem; /* Vertical space between wrapped rows */
  column-gap: 1rem; /* Horizontal space between items */
  list-style: none;
  padding: 0;
}

.menu a {
  display: inline-block; /* Ensures padding and borders wrap cleanly */
  text-decoration: none;
  color: black;
  padding-bottom: 0.25rem;
  border-bottom: 2px solid transparent;
}

.menu a:hover {
  color: #AB9C11;
}

.menu a[aria-current="page"] {
  /*color: #18181b;*/
  color: #AB9C11;
  font-weight: 600;
  border-bottom-color: #18181b;
}


footer {
  border-top: 1px solid #e4e4e7;
}


.img-main {
  width: 100%;
}

.img-footer {
  width: 100%;
}


a {
outline: none;
text-decoration: none;
font-weight:700;
color: #AB9C11;
}

a:hover {
color: #AB9C11;
text-decoration: underline;
}

img.imgclass {
	border: 0px none;
	vertical-align: bottom;
}

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

h2 {
font-size: 1.5rem;
margin-bottom: 0.5rem;
/*color: #AB9C11;*/
}

h3 {
font-size: 1.1rem;
margin-bottom: 0.5rem;
color: #AB9C11;
}


p {
    margin-bottom: 1rem;
    width:100%;
}




/* 2. Tablets & Up (768px+) */
@media (min-width: 768px) {
  body {
    padding-inline: 1.5rem;
    font-weight: 500;
  }

  header, main, footer {
    padding: 1.5rem 2rem;
  }

  header {
    flex-direction: row; /* Side-by-side logo and left-aligned menu */
    /*align-items: center;*/
    align-items: flex-start; /* Top-aligns logo and menu on big screens only */
    gap: 2rem;
  }

  .menu ul {
    align-items: flex-start; /* Top-aligns individual menu items on big screens */
  }

  .img-main {
    width: 90%;
  }
  .img-footer {
    width: 40%;
  }
  .img-rounded {
    width: 90%;
    border-radius: 6px;
  }
}



/* 3. Laptops & Desktops (1024px+) */
@media (min-width: 1024px) {
  main {
    padding-block: 2.5rem;
  }

  .img-main {
    width:80%;
  }

  .img-footer {
    width: 40%;
  }

  p {
    width: 90%;
  }

}


/* 1. Constrain <main> inside CSS Grid without breaking Glide's internal track */
main {
  min-width: 0;
}

/* 2. Protect Glide's core layout from global resets */
.glide {
  position: relative;
  width: 90%;
}

.glide__track {
  overflow: hidden;
  width: 100%;
}

.glide__slides {
  display: flex;
  flex-wrap: nowrap; /* Critical: prevents slides from wrapping onto hidden rows */
  list-style: none;
  padding: 0;
  margin: 0;
}

.glide__slide {
  flex-shrink: 0; /* Prevents slides from shrinking to 0px */
}

.glide__slide img {
  display: block;
  width: 100%;
  height: auto;
}
