/* ---------- Storms 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;
  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;
  margin-bottom: 2rem;
  padding-top: 2rem;
}

.content-with-image:first-of-type {
  padding-top: 0;
}

.content-with-image:not(:first-of-type) {
  border-top: 1px solid #eaeff3;
}

.content-with-image:last-child {
  margin-bottom: 0;
}

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

.content-with-image h3 {
  font-size: 1.1rem;
  color: #1c3d5a;
  margin-bottom: 0.5rem;
}

.content-with-image p {
  color: #3c4756;
}

.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;
}

/* ---------- Storm Type Accordion (horizontal dropdown tabs) ---------- */

.storm-type-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.storm-type-group .toggle-card {
  position: static;
}

.storm-type-group .toggle-card-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.9rem 1.25rem;
  text-align: left;
  font-size: 1.05rem;
}

.storm-type-group .toggle-card-label::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1;
  margin-left: 1rem;
  transition: transform 0.2s ease;
}

.storm-type-group .toggle-card.open .toggle-card-label::after {
  content: "\2212";
}

.storm-type-group .toggle-card-panel {
  position: static;
  width: auto;
  max-width: none;
  display: none;
  opacity: 1;
  visibility: visible;
  transform: none;
  margin-top: 0.75rem;
  padding: 1.5rem;
  box-shadow: none;
  border: 1px solid #dde5ec;
}

.storm-type-group .toggle-card.open .toggle-card-panel {
  display: block;
}

.storm-type-group .toggle-card-panel .content-with-image {
  margin-bottom: 0;
  padding-top: 0;
  border-top: none;
}

.storm-type-group .toggle-card-panel p {
  font-size: 0.95rem;
}