body {
	background-color: #999794;
    font-family: sans-serif;
}

a {
	color:white;
}

a:link {
	text-decoration:none;
}

a:hover {
	color:#333300;
	text-decoration:none;
}

/* Text utilities - replacing deprecated <font> tags */
/* Matching browser default rendering of deprecated font tags */
/* Reduced to 90% of standard sizes */
.text-small { font-size: 10px !important; }
.text-medium-small { font-size: 13px !important; }
.text-large { font-size: 1.5rem !important; }
.text-xlarge { font-size: 2rem !important; }
.text-darkred { color: darkred !important; }
.text-green { color: #335500 !important; }
.nowrap { white-space: nowrap !important; }

.docutils.footnote { font-size: .8em;}

/* Shared
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.button {
  border-radius: 100px;
}

/* Sections
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.section {
  padding: 8rem 0 7rem;
  text-align: center;
}
.section-heading,
.section-description {
  margin-bottom: 1.2rem;
}

ul {
  list-style-type: none;
}

/* Hero
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.phones {
  position: relative;
}
.phone {
  position: relative;
  max-width: 80%;
  margin: 3rem auto -12rem;
}
.phone + .phone {
  display: none;
}

/* Values
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.values {
  background-image: url('../images/values-bg.jpg');
  background-size: cover;
  color: #fff;
  padding-bottom: 5rem;
}
.value-multiplier {
  margin-bottom: .5rem;
  color: #11DFC7;
}
.value-heading {
  margin-bottom: .3rem;
}
.value-description {
  opacity: .8;
  font-weight: 300;
}

/* Help
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.get-help {
  border-bottom: 1px solid #ddd;
}

/* Categories
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.categories {
  background-image: url('../images/values-bg.jpg');
  background-size: cover;
  color: #fff;
}
.categories .section-description { 
  margin-bottom: 4rem;
}

/* Bigger than 550 */
@media (min-width: 550px) {
  .section {
    padding: 12rem 0 11rem;
  }
  .hero {
    padding-bottom: 12rem;
    text-align: left;
    height: 165px;
  }
  .phone {
    position: absolute;
    top: -7rem;
    right: 3rem;
    max-height: 362px;
    z-index: 3;
  }
  .phone + .phone {
    top: -6rem;
    display: block;
    max-width: 73.8%;
    right: 0;
    z-index: 2;
    max-height: 338px;
  }
  .hero-heading {
    font-size: 2.4rem;
  }
}

/* Bigger than 750 */
@media (min-width: 750px) {
  .hero {
    height: 190px;
  }
  .hero-heading {
    font-size: 2.6rem;
  }
  .section { 
    padding: 14rem 0 15rem;
  }
  .hero {
    padding: 16rem 0 14rem;
  }
  .section-description {
    max-width: 60%;
    margin-left: auto;
    margin-right: auto;
  }
  .phone {
    top: -14rem;
    right: 5rem;
    max-height: 510px;
  }
  .phone + .phone {
    top: -12rem;
    max-height: 472px;
  }
  .categories {
    padding: 15rem 0 8rem;
  }
}

/* Bigger than 1000 */
@media (min-width: 1000px) {
  .section {
    padding: 20rem 0 19rem;
  }
  .hero {
    padding: 22rem 0;
  }
  .hero-heading {
    font-size: 3.0rem;
  }
  .phone {
    top: -16rem;
    max-height: 615px;
  }
  .phone + .phone {
    top: -14rem;
    max-height: 570px;
  }
}

/* Schedule Grid
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.schedule-container {
  width: 100%;
  padding: 5px;
  color: #fff;
}

.schedule-container h1 {
  text-align: left;
  margin-bottom: 10px;
  color: #fff;
  font-size: 1.2em;
}

.schedule-grid {
  display: flex;
  gap: 10px;
  align-items: start;
}

.schedule-day {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.day-header {
  font-size: 0.9em;
  font-weight: bold;
  margin-bottom: 5px;
  padding-bottom: 5px;
  border-bottom: 1px solid #888;
  color: #ddd;
  text-align: left;
  flex-shrink: 0;
}

.time-slot {
  min-height: 38px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-shrink: 0;
}

.time-slot:empty {
  min-height: 38px;
  flex-shrink: 0;
}

.time-slot-break {
  min-height: 33px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.break-indicator {
  color: #888;
  font-style: italic;
  font-size: 9px;
}

.event {
  display: flex;
  gap: 6px;
  padding: 5px;
  border-radius: 3px;
  border-left: 3px solid transparent;
  margin-bottom: 2px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.event:hover {
  transform: translateX(2px);
}

/* Event durations - base is conférence/présentation */
.event-conférence,
.event-présentation,
.event-discussion {
  min-height: 35px;
}

/* Performances are 0.5x */
.event-performance {
  min-height: 18px;
}

/* Ateliers and 5à7 are 2x */
.event-atelier,
.event-5à7 {
  min-height: 70px;
}

/* Track colors with transparent backgrounds */
.track-blue {
  border-left-color: #4a90e2;
  background: rgba(74, 144, 226, 0.1);
}

.track-pink {
  border-left-color: #ff69b4;
  background: rgba(255, 105, 180, 0.1);
}

.track-green {
  border-left-color: #5cb85c;
  background: rgba(92, 184, 92, 0.1);
}

/* Hover state for track groups */
.event.highlight {
  background: rgba(255, 255, 255, 0.15) !important;
  transform: translateX(3px);
}

.event-time {
  font-weight: bold;
  min-width: 45px;
  color: #ddd;
  font-size: 11px;
}

.event-details {
  flex: 1;
}

.event-track-name {
  color: #ccc;
  font-style: italic;
  margin-bottom: 2px;
}

.event-title {
  font-weight: bold;
  color: #ddd;
  margin-bottom: 2px;
  font-size: 13px;
}

.event-person {
  color: #aaa;
}

/* Schedule Popover */
.schedule-popover {
  position: fixed;
  background: #fff;
  color: #333;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  max-width: 500px;
  max-height: 80vh;
  overflow-y: auto;
  z-index: 10000;
  display: none;
}

.schedule-popover.active {
  display: block;
}

.popover-header {
  font-weight: bold;
  font-size: 1.2em;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 2px solid #ddd;
}

.popover-description {
  margin-bottom: 15px;
  line-height: 1.4;
}

.popover-register {
  display: inline-block;
  padding: 8px 16px;
  background: #4a90e2;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: background 0.2s;
}

.popover-register:hover {
  background: #357abd;
  color: #fff;
}

.popover-close {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  font-size: 20px;
  color: #999;
  line-height: 1;
}

.popover-close:hover {
  color: #333;
}

/* Responsive schedule */
@media (max-width: 1024px) {
  .schedule-grid {
    flex-direction: column;
  }

  .schedule-day {
    border-top: 1px solid #888;
    padding-top: 10px;
  }

  .schedule-day:first-child {
    border-top: none;
    padding-top: 0;
  }
}