@font-face {
    font-family:'Roboto';
    src: url("../fonts/Roboto-Regular.ttf");
}

body {
background: #bfd9e6;
font-family: "Roboto";
margin: 1%;
}

.postbox {
width: 80%;
height: auto;
padding: 2.5%;
background: #ffffffda;
margin: 25px auto;
border: solid 2px #000000;
box-sizing: border-box;
}

.postbox-header {
  text-align: center;
  width: 80%;
  height: auto;
  padding: 1rem;
  background: #ffffff6c;
  margin: 1rem auto;
  border: solid 2px #000000;
  box-sizing: border-box;

}

.picture {
  width:40%;
  display:block;
  margin-left: auto;
  margin-right:auto;
  border:solid .5em #000000;
  box-sizing: border-box;
}

.picture-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 equal columns */
  gap: 2rem;
}

.picture-grid img {
  width: 100%;
  object-fit: cover;
border: solid .5rem #000000;
box-sizing: border-box;
}

.thumbnail {
width: 80%;
height: 10%;
padding: 2.5%;
background: #FFFFFF;
margin: 25px auto;
border: solid 2px #000000;
box-sizing: border-box;
}

.thumbnail_img {
width: 20%;
background: #FFFFFF;
margin: ;

}

h1 {
font-family:'Roboto',sans-serif;
font-size: 2rem;
font-weight: 600;
font-kerning: 10px;
color:	#000000;
text-align: center;
margin:0;
}

h2 {
font-family:'Roboto',sans-serif;
font-size: 2rem;
font-weight: 600;
font-kerning: 10px;
color:	#000000;
text-align: center;
margin:0;
}

h3 {
font-family:'Roboto',sans-serif;
font-size: 2rem;
font-weight: 600;
font-kerning: 10px;
color:	#000000;
text-align: left;
margin:0;
}

hr {
height: .1rem;
color: #000000;
width:90%;
}

#map {
width:70%;
height:50%;
border: solid 2px #000000;
box-sizing: border-box;
margin: 25px auto;
}

#blogpara {
    font-family: "Roboto",sans-serif;
    margin:0;
}

.topnav {
  font-size:1.5rem;
  font-family: "Roboto";
  background-color: #333333;
  overflow: hidden;
}

/* Style the links inside the navigation bar */
.topnav a {
  float: left;
  color: #FFFFFF;
  text-align: center;
  padding: 5px 9px;
  text-decoration:none;
  font-size: 1.5rem;
  font-family: "Roboto";
}

/* Change the color of links on hover */
.topnav a:hover {
  background-color: #000000;
  color: white;
}

/* Add a color to the active/current link */
.topnav a.active {
  background-color: gray;
  color: white;
}

/* Card grid — auto-fills columns, minimum 280px each */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  width: 90%;
  margin: 1.5rem auto;
}

/* Individual card */
.card {
  background: #ffffff;       /* matches your .postbox */
  border: solid 2px #000000;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;      /* stacks image, then body */
}

/* Image fills card width, fixed height with cropping */
.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;           /* crops rather than squishes */
  display: block;
  border-bottom: solid 2px #000000;
}

/* Padded content area */
.card-body {
  padding: 1rem;
  flex: 1;                     /* stretches to fill remaining card height */
  display: flex;
  flex-direction: column;
}
.card-body:hover {
  background: #bfd9e6;
}

.card-title { font-size: 1.25rem; font-weight: 600; margin: 0 0 0.25rem 0; }
.card-date  { font-size: 0.8rem; color: #555; margin: 0 0 0.75rem 0; }
.card-blurb { font-size: 0.95rem; line-height: 1.5; flex: 1; margin: 0 0 1rem 0; }

/* Outlined button — link styled to look like a button */
.card-btn {
  display: inline-block;
  padding: 0.4rem 1rem;
  border: solid 2px #000000;
  background: #d6d6d6;
  color: #000000;
  font-family: 'Roboto', sans-serif;
  text-decoration: none;
  transition: background 1s, color 1s;
}
.card-btn:hover {
  background: #000000;
  color: #d6d6d6;
}
