/*********************/
/* PÁGINA AGENDA */
/*********************/

.list-agenda {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

hgroup {
  margin: 32px 0px;
}

hgroup h1 {
  font-size: 2.3rem;
  margin-bottom: 8px;
}

hgroup h4 {
  font-size: 1.1rem;
  font-weight: normal;
  color: #aaa;
}

.content-and-aside-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.vertical-ad {
  position: sticky;
  top: 32px;
  display: none;
}

/* Placeholder for agenda without banner */
.agenda-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  font-size: 48px;
}

.no-results {
  text-align: center;
  padding: 48px 16px;
  background: #f9f9f9;
  border-radius: 8px;
  grid-column: 1 / -1;
}

.no-results p {
  margin: 8px 0;
  color: #666;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s;
}

.pagination a:hover,
.pagination a.active {
  background: #10b981;
  color: #fff;
  border-color: #10b981;
}

.widget {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 20px;
}

.widget h3 {
  font-size: 16px;
  margin: 0 0 12px 0;
}

.widget p {
  font-size: 14px;
  color: #666;
  margin: 0 0 16px 0;
}

.btn-primary {
  display: inline-block;
  padding: 10px 20px;
  background: #10b981;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.2s;
}

.btn-primary:hover {
  background: #059669;
  color: #fff;
}

@media (min-width: 768px) {
  .list-cds {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 992px) {
  .vertical-ad {
    position: sticky;
    top: 32px;
    display: block;
  }

  .content-and-aside-grid {
    grid-template-columns: 9fr 3fr;
  }
}

@media (min-width: 1200px) {
  .list-cds {
    grid-template-columns: repeat(5, 1fr);
  }
}
