/* Sheepdog — events page (timeline header + repeating event card component) */

.timeline-header {
  padding: 100px 20px 60px;
  display: flex;
  justify-content: center;
}
.timeline-content {
  display: flex;
  align-items: center;
  gap: 30px;
  max-width: 900px;
}
.timeline-line {
  width: 5px;
  height: 100px;
  background: linear-gradient(180deg, #F1B424 0%, #a37615 100%);
  border-radius: 10px;
  flex-shrink: 0;
}
.timeline-text {
  text-align: left;
  flex-shrink: 0;
}
.timeline-title {
  font-size: 72px;
  font-weight: 700;
  color: #F1B424;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
  line-height: 1;
}
.timeline-subtitle {
  font-size: 24px;
  font-weight: 400;
  color: #c5c5c5;
  letter-spacing: 1px;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .timeline-content { gap: 20px; }
  .timeline-line { width: 4px; height: 80px; }
  .timeline-title { font-size: 52px; }
  .timeline-subtitle { font-size: 18px; }
}
@media (max-width: 480px) {
  .timeline-content { gap: 15px; }
  .timeline-line { height: 60px; }
  .timeline-title { font-size: 40px; }
  .timeline-subtitle { font-size: 16px; white-space: normal; }
}

/* ---------- Event card (reused for every timeline entry) ---------- */
.events-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 0 20px 60px;
}

.event-card {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: stretch;
  background-color: #2a2a2c;
  border-radius: 20px;
  overflow: hidden;
  min-height: 450px;
}

.event-image-wrapper {
  position: relative;
  height: 100%;
}
.event-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 450px;
  display: block;
}
.event-image--top {
  object-position: top;
}

.event-image-wrapper:first-child .event-image {
  border-radius: 20px 0 0 20px;
}
.event-image-wrapper:last-child .event-image {
  border-radius: 0 20px 20px 0;
}

.event-content:first-child {
  padding: 60px 0 60px 60px;
}
.event-content:last-child {
  padding: 60px 60px 60px 0;
}

.event-label {
  font-size: 14px;
  font-weight: 600;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
}
.event-title {
  font-size: 56px;
  font-weight: 700;
  color: white;
  line-height: 1.1;
  margin-bottom: 30px;
}
.event-description {
  font-size: 17px;
  line-height: 1.8;
  color: #c5c5c5;
  font-weight: 300;
  margin-bottom: 40px;
}
.event-description:last-child {
  margin-bottom: 0;
}
.event-description a {
  color: #F1B424;
  text-decoration: none;
}
.event-description a:hover {
  text-decoration: underline;
}

.event-button {
  display: inline-block;
  padding: 14px 45px;
  border: 2px solid #F1B424;
  border-radius: 8px;
  color: #F1B424;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}
.event-button:hover {
  background-color: #F1B424;
  color: #1F1F21;
  transform: translateY(-2px);
}
.event-button:visited { color: #F1B424; }
.event-button:visited:hover { color: #1F1F21; }
.event-button:active { color: #F1B424; }

@media (max-width: 968px) {
  .event-card {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .event-image-wrapper { order: 1; }
  .event-content {
    order: 2;
    padding: 50px 40px !important;
  }
  .event-image {
    max-height: 350px;
    border-radius: 20px 20px 0 0 !important;
  }
  .event-title { font-size: 42px; }
  .event-description { font-size: 16px; }
}

@media (max-width: 640px) {
  .event-content { padding: 40px 30px !important; }
  .event-title { font-size: 36px; }
  .event-description { font-size: 15px; }
}
