/**
 * @file
 * Styles for FAI Event List view.
 */

.event-list-view-widget {
  width: 100%;
}

.event-title h3 {
  margin: 0 0 10px 0;
  font-size: 1.2em;
  font-weight: bold;
}

.event-title h3 a {
  color: #0066cc;
  text-decoration: none;
}

.event-title h3 a:hover {
  text-decoration: underline;
}

.event-dates {
  margin-bottom: 8px;
  font-weight: 600;
  color: #666;
}

.event-location {
  margin-bottom: 8px;
  color: #888;
}

.event-location .event-city::after {
  content: ", ";
}

.event-disciplines {
  margin-bottom: 12px;
}

.event-disciplines .label {
  font-weight: bold;
  color: #333;
}

.event-sport,
.event-related-disciplines {
  margin-bottom: 5px;
}

.event-links {
  margin-top: 15px;
}

.pane-go-to-event-button {
  display: inline-block;
  margin-right: 10px;
}

.pane-go-to-event-button.two-icons {
  margin-right: 20px;
}

.internal-link,
.external-link {
  display: inline-block;
  padding: 5px 10px;
  /*background: #0066cc;*/
  color: white;
  border-radius: 3px;
  text-decoration: none;
  font-size: 12px;
  margin-right: 5px;
}

.internal-link:hover,
.external-link:hover {
  /*background: #0052a3;*/
  color: white;
  text-decoration: none;
}

.internal-link-text,
.external-link-text {
  color: #0066cc;
  margin-right: 10px;
}

/* Event tabs styling */
.event-tabs {
  margin-top: 15px;
  border-top: 1px solid #ddd;
  padding-top: 15px;
}

.tab-navigation {
  margin-bottom: 10px;
}

.tab-button {
  background: #f5f5f5;
  border: 1px solid #ddd;
  padding: 8px 15px;
  margin-right: 5px;
  cursor: pointer;
  font-size: 12px;
  border-radius: 3px 3px 0 0;
}

.tab-button.active {
  background: #fff;
  border-bottom: 1px solid #fff;
}

.tab-button:hover {
  background: #e9e9e9;
}

.tab-content {
  border: 1px solid #ddd;
  padding: 15px;
  background: #fff;
  border-radius: 0 3px 3px 3px;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

/* Responsive design */
@media (max-width: 768px) {
  .event-list-item {
    padding: 10px;
    margin-bottom: 15px;
  }
  
  .event-title h3 {
    font-size: 1.1em;
  }
  
  .tab-button {
    padding: 6px 10px;
    font-size: 11px;
  }
  
  .pane-go-to-event-button {
    display: block;
    margin-bottom: 10px;
  }
}
