/* ==========================================================================
   Whale Season Tracker — /whale-season
   All sizes in px (site base: html { font-size: 62.5% }, 1rem = 10px).
   ========================================================================== */

/* --- Hero --- */
.wh-hero {
  position: relative;
  border-radius: 80px 80px 80px 20px;
  overflow: hidden;
  margin: 10px 0 0;
  min-height: 240px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center center;
  background-color: #0c2340;
}
.wh-hero-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 60px 5% 28px;
  background: linear-gradient(0deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.25) 60%, transparent 100%);
}
.wh-hero h1 {
  color: #fff;
  font-size: 34px;
  margin: 0 0 8px;
  text-shadow: 0 2px 8px rgba(0,0,0,.45);
  line-height: 1.15;
}
.wh-hero h1 i { margin-right: 8px; }
.wh-hero p {
  color: rgba(255,255,255,.92);
  font-size: 19px;
  margin: 0;
  max-width: 640px;
  text-shadow: 0 1px 4px rgba(0,0,0,.4);
  line-height: 1.5;
}
@media (min-width: 768px) {
  .wh-hero { min-height: 340px; }
  .wh-hero h1 { font-size: 42px; }
  .wh-hero p { font-size: 21px; }
}

/* --- Status Banner --- */
.wh-status {
  margin: 24px 0 8px;
  padding: 26px 28px;
  border-radius: 16px;
  text-align: center;
}
.wh-status-peak {
  background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%);
  border: 2px solid #3b82f6;
}
.wh-status-active {
  background: linear-gradient(135deg, #e8f9ee 0%, #d1fae5 100%);
  border: 2px solid #2a7b5b;
}
.wh-status-off {
  background: #f5f5f5;
  border: 2px solid #ccc;
}
.wh-status-icon {
  font-size: 36px;
  margin-bottom: 8px;
}
.wh-status-peak .wh-status-icon { color: #3b82f6; }
.wh-status-active .wh-status-icon { color: #2a7b5b; }
.wh-status-off .wh-status-icon { color: #999; }
.wh-status-headline {
  font-size: 24px;
  font-weight: 800;
  color: #1a1a1a;
  margin: 4px 0;
}
.wh-status-detail {
  font-size: 17px;
  color: #444;
  margin: 6px 0 0;
  line-height: 1.55;
}

/* --- Season Timeline --- */
.wh-timeline {
  margin: 36px 0;
}
.wh-timeline h2 {
  font-size: 24px;
  color: #1a1a1a;
  margin: 0 0 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e8e8e8;
}
.wh-timeline h2 i {
  margin-right: 8px;
  color: #2a7b5b;
}
.wh-timeline-bar {
  position: relative;
  background: #f0f0f0;
  border-radius: 12px;
  height: 48px;
  overflow: hidden;
  margin: 0 0 12px;
}
.wh-timeline-segment {
  position: absolute;
  top: 0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,.3);
  letter-spacing: .4px;
  overflow: hidden;
  white-space: nowrap;
}
.wh-seg-off { background: #d1d5db; color: #666; text-shadow: none; }
.wh-seg-early { background: #86efac; color: #166534; text-shadow: none; }
.wh-seg-peak { background: #3b82f6; }
.wh-seg-late { background: #86efac; color: #166534; text-shadow: none; }
.wh-timeline-marker {
  position: absolute;
  top: -6px;
  width: 3px;
  height: 60px;
  background: #c53030;
  z-index: 5;
}
.wh-timeline-marker::after {
  content: 'Now';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 700;
  color: #c53030;
  white-space: nowrap;
}
.wh-timeline-months {
  display: flex;
  justify-content: space-between;
  padding: 0 1px;
}
.wh-timeline-months span {
  font-size: 12px;
  color: #888;
  text-align: center;
  flex: 1;
}
.wh-timeline-months span.is-current {
  color: #c53030;
  font-weight: 700;
}

/* --- Activity Meter --- */
.wh-meter {
  margin: 32px 0;
}
.wh-meter h2 {
  font-size: 24px;
  color: #1a1a1a;
  margin: 0 0 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e8e8e8;
}
.wh-meter h2 i {
  margin-right: 8px;
  color: #2a7b5b;
}
.wh-meter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 639px) {
  .wh-meter-grid { grid-template-columns: repeat(2, 1fr); }
}
.wh-meter-card {
  background: #fff;
  border: 1px solid #e4e4e4;
  border-radius: 14px;
  padding: 20px 16px;
  text-align: center;
}
.wh-meter-month {
  font-size: 14px;
  font-weight: 700;
  color: #777;
  text-transform: uppercase;
  letter-spacing: .8px;
  margin: 0 0 10px;
}
.wh-meter-card.is-current .wh-meter-month {
  color: #2a7b5b;
}
.wh-meter-dots {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-bottom: 8px;
}
.wh-meter-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #e0e0e0;
}
.wh-meter-dot.is-filled { background: #3b82f6; }
.wh-meter-dot.is-half { background: linear-gradient(90deg, #3b82f6 50%, #e0e0e0 50%); }
.wh-meter-label {
  font-size: 13px;
  color: #888;
}

/* --- Where to Watch --- */
.wh-spots {
  margin: 32px 0;
}
.wh-spots h2 {
  font-size: 24px;
  color: #1a1a1a;
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e8e8e8;
}
.wh-spots h2 i {
  margin-right: 8px;
  color: #2a7b5b;
}
.wh-spots-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) {
  .wh-spots-grid { grid-template-columns: repeat(2, 1fr); }
}
.wh-spot-card {
  background: #fff;
  border: 1px solid #e4e4e4;
  border-radius: 14px;
  padding: 20px 22px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow .2s ease, transform .2s ease;
  display: block;
}
.wh-spot-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
  transform: translateY(-2px);
}
.wh-spot-card h3 {
  font-size: 19px;
  color: #1a1a1a;
  margin: 0 0 4px;
  font-weight: 700;
}
.wh-spot-island {
  font-size: 13px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: .6px;
  margin: 0 0 10px;
}
.wh-spot-card p {
  font-size: 15px;
  color: #555;
  margin: 0;
  line-height: 1.55;
}
.wh-spot-cta {
  display: inline-block;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 700;
  color: #2a7b5b;
}

/* --- Info Section --- */
.wh-section {
  margin: 32px 0;
}
.wh-section h2 {
  font-size: 24px;
  color: #1a1a1a;
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e8e8e8;
}
.wh-section h2 i {
  margin-right: 8px;
  color: #2a7b5b;
}
.wh-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) {
  .wh-info-grid { grid-template-columns: repeat(2, 1fr); }
}
.wh-info-card {
  background: #f0f7f4;
  border: 1px solid #d0e8db;
  border-radius: 14px;
  padding: 20px 22px;
}
.wh-info-card h3 {
  font-size: 19px;
  color: #2a7b5b;
  margin: 0 0 8px;
  font-weight: 700;
}
.wh-info-card p {
  font-size: 16px;
  color: #444;
  margin: 0;
  line-height: 1.6;
}

/* --- Bottom Links --- */
.wh-bottom-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 44px 0 30px;
}
@media (min-width: 560px) {
  .wh-bottom-links { grid-template-columns: repeat(2, 1fr); }
}
.wh-bottom-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 26px;
  background: linear-gradient(135deg, #f0f7f4 0%, #e8f4ec 100%);
  border: 1px solid #d0e8db;
  border-radius: 16px;
  text-decoration: none;
  color: #333;
  font-size: 17px;
  transition: box-shadow .2s ease, transform .2s ease;
}
.wh-bottom-link:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
  transform: translateY(-2px);
}
.wh-bottom-link i {
  font-size: 28px;
  color: #2a7b5b;
  flex-shrink: 0;
}
.wh-bottom-link strong { color: #2a7b5b; }

/* --- Print --- */
@media print {
  .wh-bottom-links { display: none; }
  .wh-hero { min-height: 80px; border-radius: 0; }
}
