html, body {
  background-color: #fdffe6;
  margin: 0; /* avoids a thin white edge some browsers add by default */
}

/* the title */
.agenda-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 30px;
}


.agenda-header {
    text-align: center;
    margin-bottom: 50px;
}

.agenda-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.agenda-header p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.6;
}


/* FILTERS */

.agenda-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    background: #fdffe6;
}

.agenda-filters a {
    padding: 10px 22px;
    border: 1px solid #ccc;
    border-radius: 30px;
    text-decoration: none;
    color: #333;
    transition: 0.2s;
}

.agenda-filters a:hover,
.agenda-filters a.active {
    background: #222;
    color: white;
    border-color: #222;
}



/* GRID */
.agenda-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}


/* CARD */
.agenda-card {
    background: #fdffe6;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.agenda-card:hover {
    background: white;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* CONTENT */

.agenda-content {
    padding: 20px;
}

.agenda-category {
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    color: #777;
}

.agenda-content h2 {
    font-size: 20px;
    margin: 0 0 15px;
}

.agenda-description {
    line-height: 1.6;
    color: #555;
}

/* FEATURED CAROUSEL */
.featured-carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto 60px;
  border: 2px solid #222;
  border-radius: 8px;
  background: #fdffe6;
}

.featured-viewport {
  overflow: hidden;
  border-radius: 6px;
}

.featured-track {
  display: flex;
  transition: transform 0.5s ease;
}

.featured-slide {
  flex: 0 0 100%;
  box-sizing: border-box;
  padding: 40px 70px 60px;   /* side padding leaves room for the arrows */
  text-align: center;
}

.featured-badge {
  display: inline-block;
  border: 1.5px solid #222;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: 18px;
}

.featured-headline {
  font-size: 30px;
  line-height: 1.25;
  margin: 0 0 20px;
}

.featured-name {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 10px;
  color: #555;
}

.featured-description {
  line-height: 1.6;
  color: #555;
  margin: 0 0 18px;
}

.featured-status {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #777;
}

/* arrows */
.featured-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 1px solid #222;
  border-radius: 50%;
  background: #fdffe6;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: 0.2s;
}
.featured-arrow:hover { background: #222; color: #fff; }
.featured-arrow.prev { left: 14px; }
.featured-arrow.next { right: 14px; }

/* dots */
.featured-dots {
  position: absolute;
  bottom: 18px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.featured-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid #222;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.featured-dot.active { background: #222; }

@media (max-width: 768px) {
  .featured-slide { padding: 30px 50px 55px; }
  .featured-headline { font-size: 24px; }
  .featured-arrow { width: 32px; height: 32px; font-size: 20px; }
  .featured-arrow.prev { left: 8px; }
  .featured-arrow.next { right: 8px; }
}

/* MOBILE */

@media (max-width: 768px) {

    .agenda-grid {
        grid-template-columns: 1fr;
    }

    .agenda-header h1 {
        font-size: 32px;
    }

}
