
/* https://www.w3.org/TR/css-flexbox-1/#order-accessibility */
.episode-list { 
    display: flex; 
    flex-flow: column nowrap;
    justify-content: flex-start;
    /*align-items: center;*/
    list-style-type: none; 
    padding-left:0px;    
    padding-top: 15px;
    padding-bottom: 15px;
    /*background-color: red;*/
}

/* Can change order of elems using CSS Flexbox */
/*main > article { order: 2; min-width: 3in; flex:1; }*/
/*main > nav     { order: 1; width: 2in; }*/


.episode {
    /* FLEX STUFF */
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    /*align-items: stretch;*/

    /* MARGIN/BORDER STUFF */
    border: 3px solid #ccc;
    /*padding: 2%; */
    /*margin: 2%;*/
    /*margin: -3px 0 0 0;*/
    margin-bottom: -3px;
    padding: 14px;
    padding-bottom: 0px;
    /*
      There's a trick for alignment where you have
      the flex container add negative right-margin, 
      then have the flex items add it back in. This spaces
      out the items from each other without unattratively
      bumping out the right-hand side. 
    */
    /*margin-right: -2em;*/

    /* DEBUGGING */
    /*border: 2px solid black; */
    /*background-color: red;*/
}

.episode:first-child {
    border-radius: 10px 10px 0 0;
    margin-top: 0;
}

.episode:last-child {
    border-radius: 10px 10px;
    margin-top: 0;
}




.ent-text-container {
    /* FLEX STUFF */    
    flex: 1 1 350px;
    /*flex: auto;*/
    /*width: 50%;*/

    display: flex;
    flex-flow: column nowrap;
    justify-content: space-around;

    /* MARGIN/BORDER STUFF */
    margin: 0em .5em 1em;

    /* DEBUGGING */
    /*border: 1px solid red;*/
}

.ent-img-container {
    flex: 0 1 400px;
    /*flex: 1 1 auto;*/

    /*display: flex;*/

    /*display: block;    */
    /*width: 300px;   */
    /*width: 48%;*/
    /*height: 50%;*/
    /*min-width: 200px;*/
    /*max-width: 500px;*/

    margin: 0em .5em 1em;
    /*margin: 10px;*/
    /*margin-right: 2em;*/

    /*border: 1px solid blue; */    
}

.ent-img-container img,
.ent-img-container video {
    flex: auto;

    width: 100%;
    /*height: 100%;*/
    /*min-width: 260px;*/
    /*max-width: 500px;*/

    border: 1px solid black;
}

.ent-title-link {
    text-decoration: none;
    color: #444444;
}

.ent-title {
    font-size: 30px; 
}
@media (max-width: 430px) { .ent-title { font-size: 24px; } }

.ent-summary { 
    padding: 7px 0; 
    /*width: 50%;*/
}
.ent-details {
    
}
.ent-date {
    
}
.ent-badge-list {
    display: flex;
    flex-flow: row wrap;
    justify-content: center; 
    align-items: center;    

    /*flex-wrap: wrap;*/
    /*justify-content: space-between;*/

    list-style-type: none; 
    padding-left:0px;
}

.ent-badge-list > li {
    /*flex: none;*/
    /*align-self: flex-start;*/

    margin: 5px;
    /*padding-top: 10px;*/
    /*margin-top: 8px;*/
    /*margin-left: 4px;*/
    /*margin-right: 4px;*/

    /*border: 1px solid salmon;*/
}
.ent-badge-list > li > a {
    /* Don't wrap badge text */
    /* Warning: relies on this precise hierarchy of elems: > li > a. */
    display: flex;     
}

.ent-badge {
    flex: none;
    padding: 1px 4px;

    color: #767676;
    border: 3px solid #939393;
    border-radius: 3px;
}




a.headerlink {
    visibility: hidden;
}

h1:hover > a.headerlink,
h2:hover > a.headerlink,
h3:hover > a.headerlink,
h4:hover > a.headerlink,
h5:hover > a.headerlink,
h6:hover > a.headerlink,
dt:hover > a.headerlink,
p:hover  > a.headerlink,
caption:hover > a.headerlink,
p.caption:hover > a.headerlink,
div.code-block-caption:hover > a.headerlink {
    visibility: visible;
}