html {
  font-size: 62.5%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

body {
  	font-size: 2rem;
  	line-height: 1.618;
	max-width: 700px;
	margin: auto;
  color: #c9c9c9;
  background-color: #011f1b;
  padding: 13px;
}


img {
	max-width: 100%;
	height: auto;
}

a {
  text-decoration: none;
  color: #ffffff;
}
a:visited {
  color: #e6e6e6;
}
a:hover {
  color: #c9c9c9;
  border-bottom: 2px solid #c9c9c9;
}

p {
  text-align:left;
}


ol {
	display: block;
	margin: .5rem 0 1rem;
	width: 100%;
	overflow: auto hidden;
	text-align: left;
}

li {
	padding-left: 10px;
}

/* lists */
ul, ol, dl { margin: 1rem 0; padding: 0 0 0 2em; }
li:not(:last-child), dd:not(:last-child) { margin-bottom: .5rem; }
dt { font-weight: bold; }

h2 {
  text-align: left;
}

.profile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap; /* stacks on small screens */
  padding-bottom: 10px;
}

.profile-img img {
  max-width: 200px;
  width: 100%;
  height: auto;
  display: block;
}

.profile-info {
  text-align: center;
}

.social-icons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 10px;
}

.social-icons a {
  color: #ffffff;
  font-size: 24px;
  transition: color 0.2s ease;
}

.social-icons a:hover {
  color: #0077cc;
}

.news {
  animation: color-change 2s infinite;
}

@keyframes color-change {
  0% { color: yellow; }
  25% { color: orange; }
  50% { color: red; }
50% { color: pink; }
100% { color: yellow; }
}

.trip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}

.trip-card {
  text-decoration: none;
  color: inherit;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.trip-card:hover {
  transform: translateY(-4px);
}

.trip-card img {
  aspect-ratio: 16/9;
  height: 300px;
  object-fit: cover;
  display: block;
}

.trip-card h3 {
  padding: 12px 16px;
  margin: 0;
  font-size: 2rem;
}

/* stack to 1 column on mobile */
@media (max-width: 600px) {
  .trip-grid {
    grid-template-columns: 1fr;
  }
}

.trip-hero {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 8px;
}

.trip-image {
  margin: 24px 0;
}

.trip-image img {
  width: 100%;
  border-radius: 6px;
  display: block;
}

.trip-image figcaption {
  font-size: 2rem;
  color: #777
  margin-top: 6px;
  text-align: center;
}
