main.internas {
  position: relative;
  max-width: 1100px;
  font-size: 0.8em;
  margin: auto;
  padding: 3em 1em;
}

.featured-section {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 1em 0;
  background: #FFA7D3;
  background: linear-gradient(77deg, rgba(131, 255, 234, 1) 0%, rgba(255, 255, 255, 1) 11%, rgba(255, 167, 211, 1) 79%);
}
.featured-carousel {
  display: flex;
  gap: 14px;
  overflow: hidden;
  scroll-snap-type: x mandatory;
  padding: 10px 0;
}
.featured-card {
  flex: 0 0 180px;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 12px;
  scroll-snap-align: start;
  cursor: pointer;
  background-color: white;
}
.featured-card.vip {
  border-width: 2px;
}
.featured-card img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  background: #eee;
  border-radius: 6px;
}
.featured-card h3 {
  font-size: 16px;
  margin: 8px 0 4px;
}
.featured-card p {
  font-size: 13px;
  margin: 3px 0;
  color: #444;
}
.featured-controls {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.toolbar {
  display: flex;
  gap: 10px;
  margin: 20px 0;
}
.toolbar input {
  width: 100%;
  padding: 12px;
  border: 1px solid #aaa;
  border-radius: 6px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1em;
}
.card {
  border: 1px solid #ddd;
  display: flex;
  flex-flow: column nowrap;
  justify-content: space-between;
  cursor: pointer;
  border-radius: 8px;
  padding: 0.5em;
  background: #fff;
}
.portrait {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  background: #eee;
  border-radius: 0.2em;
}
.card h2 {
  font-size: 18px;
  margin: 12px 0 5px;
}
.card p {
  margin: 4px 0;
  color: #444;
}
.actions {
  justify-self: flex-end;
  margin-top: 0.5em;
  display: flex;
  justify-content: space-evenly;
  gap: 8px;
}
.btn {
  padding: 8px 12px;
  border: 1px solid #333;
  background: #fff;
  border-radius: 5px;
  cursor: pointer;
  color: #111;
  text-decoration: none;
}
.status {
  color: #666;
}
.modal {
  position: fixed;
  inset: 0;
  background: #0008;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal.open {
  display: flex;
}
.dialog {
  background: white;
  max-width: 20em;
 height: fit-content;
  overflow: auto;
  padding: 24px;
  border-radius: 8px;
  position: relative;
}
.close {
  position: absolute;
  right: 0;
  top: 0;
  font-size: 28px;
  border: 0;
  background: none;
  cursor: pointer;
}
.dialog img {
  width: 180px;
  float: left;
  margin: 0 20px 12px 0;
  aspect-ratio: 4/5;
  object-fit: cover;
  background: #eee;
}
.error {
  color: #900;
}
.sentinel {
  height: 1px;
}
.version-note {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 20px 18px;
  color: #999;
  font-size: 11px;
  text-align: right;
}
@media (max-width: 900px) {
  .grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 620px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 540px) {

  .dialog img {
    float: none;
    max-width: none;
    width: 100%;
    height: auto;
  }
}
@media print {
  header,
  .toolbar,
  .actions,
  .modal,
  .sentinel,
  .version-note {
    display: none !important;
  }
  main {
    max-width: none;
    padding: 10px;
  }
  .grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
  }
  .card {
    break-inside: avoid;
    padding: 8px;
  }
  .portrait {
    max-height: 160px;
  }
  .card h2 {
    font-size: 12px;
  }
  .card p {
    font-size: 10px;
  }
}

  .filters {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 20px 0;
  }
  .filter-search {
    grid-column: 1/-1;
  }
  .days-filter {
    grid-column: 1/-1;
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
    padding: 4px 0;
  }
  .days-filter label {
    display: flex;
    gap: 6px;
    align-items: center;
  }
  .filters input[type="search"],
  .filters select {
    padding: 0.8em 1em;
    border: 1px solid #aaa;
    border-radius: 2em;
    background: white;
  }
  .filter-search {
    width: 100%;
  }

/*estilos em palestrantes*/
  main.internas input#busca{
    padding: 0.8em 1em;
    border: 1px solid #aaa;
    border-radius: 2em;
    background: white;
  }
  main.internas .btn{
    border-radius: 2em;
    font-family: bbtitMd;
    color: white;
    background-color: #FFA7D3;
    border: 0;
  }
  main.internas .btn:hover{
    background-color: #FF6E91;
  }
  
  .toast {
    position: static;
    left: 50%;
    bottom: 28px;
    transform: translate(-50%, 20px);
    background: #222;
    color: #fff;
    padding: 10px 16px;
    border-radius: 6px;
    opacity: 0;
    visibility: hidden;
    transition: 0.2s;
    z-index: 100;
  }
  .toast.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
  }
  .actions {
    display: flex;
    gap: 8px;
    margin: 0 0 20px;
  }
.event button,
.actions button{
    border-radius: 2em;
    font-family: bbtitMd;
    color: white;
    background-color: #FFA7D3;
    border: 0;
  }
.event button:hover,
.actions button:hover{
    background-color: #FF6E91;
  }
  
  .btn {
    padding: 8px 12px;
    border: 1px solid #333;
    background: #fff;
    border-radius: 5px;
    cursor: pointer;
    color: #111;
    text-decoration: none;
  }

  /* EVENTOS PROGRAMACAO */
  .event {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 240px;
    box-shadow: 1px 4px 20px 1px #00000022;
    gap: 20px;
    border: 1px solid #ddd;
    padding: 1em;
    margin-bottom: 1em;
    border-radius: 1em;
    border-bottom-left-radius: 0; 
    border-bottom-right-radius: 0; 
    background-color: white;
  }
  .event h3 {
    font-size: 20px;
    margin: 0 0 8px;
  }
  .event p {
    margin: 5px 0;
    font-family: bbtxtReg;
    line-height: 1.3;
  }
  .meta {
    text-align: right;
    color: #444;
  }
  .people {
    margin-top: 1em;
  }
  .people a {
    color: #0645ad;
  }
  .status {
    color: #666;
  }
  .share {
    margin-top: 1em;
  }
  .error {
    color: #900;
  }
  .version-note {
    max-width: 1080px;
    margin: 0 auto;
    padding: 12px 20px 18px;
    color: #999;
    font-size: 11px;
    text-align: right;
  }
  .share-modal {
    position: fixed;
    inset: 0;
    background: #0008;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 40;
  }
  .share-modal.open {
    display: flex;
  }
  .share-dialog {
    font-size: 0.5em;
    background: #fff;
    max-height: 70vh;
    overflow-y: scroll;
    padding: 20px;
    border-radius: 8px;
    position: relative;
    display: flex;
    flex-flow: column nowrap;
  }
  .share-dialog .tofit {
    width: 100%;
  }
  .share-dialog canvas {
    display: block;
    overflow-y:hidden;
    width: 99%;
    height: auto;
    border: 1px solid #ddd;
  }
  .share-close {
    position: absolute;
    right: 9px;
    top: 5px;
    border: 0;
    background: #fff;
    font-size: 8em;
    cursor: pointer;
  }
  .share-controls {
    display: flex;
    flex-flow: column;
    gap: 8px;
    margin: 1em 10%;
    height: fit-content;
  }
  .share-card-stage {
    height: 100%;
    max-width: 100%;
  }
  @media print {
    header,
    .filters,
    .actions,
    .share,
    .share-modal,
    .version-note {
      display: none !important;
    }
    main {
      max-width: none;
      padding: 0;
    }
    .event {
      break-inside: avoid;
      grid-template-columns: 1fr 200px;
      padding: 12px 0;
    }
    .event h2 {
      font-size: 16px;
    }
    .event p,
    .people {
      font-size: 11px;
    }
  }
  @media (max-width: 700px) {
    header {
      align-items: flex-start;
      flex-direction: column;
    }
    .filters {
      grid-template-columns: 1fr;
    }
    .event {
      grid-template-columns: 1fr;
    }
    .meta {
      text-align: left;
    }
  }

#share-canvas {
  background: #FFA7D3;
  background: linear-gradient(77deg, rgba(131, 255, 234, 1) 0%, rgba(255, 255, 255, 1) 11%, rgba(255, 167, 211, 1) 79%);
}
  
/*  programcao, firulas dos cards   */
/* REFERENCIA

6  Painel           p
9  Painel BB        p
14 Painel Tecnico   p

11 Masterclass      m
15 Keynote Tecnico  k
8  Palestra         l
7  Worshop          w

*/

.tipo8{ /* l */
  border-left: 1.3em #BDB6FF solid;
}
.tipo7{ /* w */
  border-left: 1.3em #FFA7D3 solid; 
}
.tipo11{ /* m */
  border-left: 1.3em palegoldenrod solid; 
}
.tipo15{ /* k */
  border-left: 1.3em #00EBD0 solid; 
}

.tipo6,
.tipo9,
.tipo14{ /* paineis */
  border-left: 1.3em #FFF7B5 solid;
}
