/* ---------- Temperatures Page ---------- */

.home-link {
  padding: 0.6rem 1.1rem;
  border-radius: 6px;
  font-weight: 500;
  background-color: #2f5d84;
}

.page-hero {
  background-color: #1c3d5a;
  color: #ffffff;
  border-radius: 10px;
  padding: 2.5rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.page-hero-content {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.page-hero-image {
  flex: 0 0 240px;
  width: 240px;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  height: 240px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.page-hero-text {
  flex: 1;
  min-width: 0;
}

@media (max-width: 650px) {
  .page-hero-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-hero-image {
    width: 100%;
    height: 200px;
  }
}

.page-hero h1 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: #ffffff;
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 75ch;
}

.content-block {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 1.75rem 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  margin-bottom: 1.5rem;
}

.content-block h2 {
  font-size: 1.3rem;
  color: #1c3d5a;
  margin-bottom: 0.75rem;
}

.content-block p {
  color: #3c4756;
  max-width: 75ch;
}

/* ---------- Content Block With Side Image ---------- */

.content-with-image {
  display: flex;
  align-items: flex-start;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.content-with-image p {
  flex: 1;
  min-width: 250px;
}

.content-figure {
  flex: 0 0 260px;
  margin: 0;
}

.content-figure img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid #dde5ec;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: block;
}

.content-figure figcaption {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #5a6472;
  text-align: center;
}

@media (max-width: 650px) {
  .content-figure {
    flex: 1 1 100%;
    max-width: 320px;
  }
}

/* ---------- External Link Buttons ---------- */

.external-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.external-link-button {
  display: inline-block;
  padding: 0.65rem 1.25rem;
  background-color: #1c3d5a;
  color: #ffffff;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background-color 0.2s ease;
}

.external-link-button:hover,
.external-link-button:focus {
  background-color: #2f5d84;
}