
    body {
        background-color: #292B2C;
        margin: 0;
        padding: 0;
    }

/* Header styles */
header {
    width: 100vw;
    height: 15vh;
    padding-bottom: 20px;
    /* position: sticky; */
}

body > header > nav > div > div.container > a{
    display: flex;
    align-items: center;
    gap: 10px;
}
.form-label {
    font-weight: 500;
    margin-bottom: 4px;
    font-size: 16px;
}

/* short summary section */
.summary header {
    text-align: center;
}

body > div.container.schedule-container > table > caption {
    background-color: #6d757c;
    font-size: 16px;
    font-weight: 600;
    color: white;
    text-align: center;
    border-radius: 10px;
}    

.summary-info {
    display: flex;
    width: fit-content;
    gap: 4rem;
    justify-content: center;
    margin: auto;

}

.summary-info article {
    padding-left: 2rem;
    padding-right: 2rem;
    text-align: center;
}

ol {
  list-style-position: inside;
}



/* programs section */
.programs_container {
  display: flex;
  flex-direction: row;
  gap: 4rem;
  justify-content: center;
  max-width: 100vw;
  /* margin-inline: auto;                /* centers the grid */
  /* padding-inline: clamp(16px, 4vw, 40px); */ 
}

.programlist{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    max-width: 80%;
    min-width: 70%
}

.program{
    display: flex;
    flex-direction: row;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    height: 28vh;
    max-height: 150px;
    min-height: 100px;
}

.program_card {
    width: 70%;
    max-width: 700px;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;  
    display:flex;
    justify-content: space-between;
    background-color: black;
}

.programcontent{
    width: 60%;
    border: solid black 1px;
    font-family: Helvetica, sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.programimage{
    width: 40%;
    aspect-ratio: 16/9;
}


.programimage img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.description{
    width: 30%;
    height: 100%;
    border: solid black 1px;
    border-radius: 10px;
    font-size: 12px;
    padding-left: 10px;
    padding-right: 10px;
    overflow:hidden;
    justify-items: center;
    display: flex;
    align-items: center;
}
.description_empty{
    width: 30%;
    height: 30%;
    padding-left: 20px;
    padding-right: 20px;
}
.metadata{
    margin: 0;
    padding: 0;
    font-size: 14px;
    padding-left: 1rem;
    font-weight: 700;
    color: white
}

.broadcasttime, .other{
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.other {
    color: gray
}
.seriestitle, .episodetitle {
    white-space: normal;       /* allow wrapping */
    overflow-wrap: break-word; /* break long words if needed */
    word-break: break-word;    /* fallback for older browsers */
}

.dayseparator {
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.dayseparator > h2{
    border-bottom: 2px black solid;
    font-size: 36px;
    font-weight: 500;
}


.epg_form {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
    justify-content: center;
}



.day_anchor {
  position: sticky;
  top: 0px;                          /* offset under header */
  max-height: calc(100vh - 10px);
  overflow: auto;
  border-left: 3px solid #6d757c;
  background: white;
  display: flex;
  flex-direction: column;
  gap: 20px;
  /* no float, no width %, no calc hacks needed */
  margin-top: 52px;

}


.jump-header {
  flex: 0 0 auto;    /* stays at the top */
  margin: 0;
  padding: 0;
  padding-left: 1rem;
  font-size: 1.5rem;
}

.jump-sections{
    overflow: auto;
    width: fit-content;
    display: flex;
    flex-direction: column;
    gap:10px;
    padding-bottom: 150px;
    padding-left: 1rem;
    scrollbar-width: none;       /* hide scrollbar (Firefox) */
    -ms-overflow-style: none;    /* hide scrollbar (IE/Edge) */
}


aside a{
    text-decoration-color:none;
    color: white;
    text-decoration: none;
    font-size: 16px;
}



.weekday {
  display: block; /* forces a new line */
  font-weight: 500;
  font-size: 16px;
}
.date {
  display: block;
  font-size: 16px;
}



/* channel_discovery */
.program_carousel {
    display: flex;
    flex-direction: row;
    gap:25px;
    overflow: scroll;
    scrollbar-width: none;         /* Firefox */
    -ms-overflow-style: none;       /* IE and old Edge */
}

.program_carousel::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.title_metadata {
    display: flex;
    flex-direction: column;
    gap:15px
}

.title {
    display: flex;
    flex-direction: column;
    gap:15px;
}



/* index */

.refresh_info {
    display: flex;
    gap: 25px;
    justify-content: center;
    align-items: baseline;
}

.tables_content {
    max-width: 900px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    align-items: stretch;
}

.table{
    text-align: center;
}


.container_index_main_stat {
    margin: auto;
    width: fit-content;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    margin-block: 2rem;
}



.item_index_main_stat {
  padding: 1rem;
  border-radius: 1rem;
  gap: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  box-shadow: 0 6px 10px rgba(0,0,0,.08), 0 0 6px rgba(0,0,0,.05);

}


.item_data h5{
    font-size: 1.5rem;
}

.nav li button {
    font-size: 1rem;
    font-weight: 400;
}

.hidden-info{
    opacity: 0;
    transition: opacity 0.2s ease;
}

tr:hover .hidden-info {
    opacity: 1;
}

footer{
    height: 10rem;
}



.schedule-container{
    max-width: 500px;
}


.tab-pane a {
    display: block;
    margin: auto;
    max-width: fit-content;
}



body > header > nav > .container-fluid{
    margin-left: 100px;
    margin-right: 100px;

}  

#navbarNav > ul {
    width: max-content;
}