/*
Theme Name: Comedy Tour Theme
Description: Comedy Tour Theme based on Twenty Eleven
Author: Adam Dempsey
Template: twentyeleven
Version: 0.1
*/

@import url("../twentyeleven/style.css");

#content nav {
    padding: 0;
}

#branding {
    background: url("/img/comedytour-laughingman.png") no-repeat scroll left center transparent;
}

#branding h1, #branding h2 {
    padding-left: 70px;
}

hr {
    margin: 15px 0 !important;
}

#access {
    background: #41ff72 !important;
    background: -moz-linear-gradient(#41ff72, #20ab4f) !important;
    background: -o-linear-gradient(#41ff72, #20ab4f) !important;
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#41ff72), to(#20ab4f)) !important;
    background: -webkit-linear-gradient(#41ff72, #20ab4f) !important;
}

#access a {
    color: black !important;
    font-weight: bold !important;
}

#comedians-nav ul, #venues-nav ul {
    display: table;
    table-layout: fixed;
    width: 95%;
    margin: 0px auto 15px;
    border: 1px solid silver;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}

#comedians-nav {}

#comedians-nav ul li, #venues-nav ul li {
    display: table-cell;
    text-align: center;
}

ul#comedians, ul.venues, ul#child-venues, ul#comedians-filter {
    /*float: left;*/
    margin: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
}

ul#comedians li, ul.venues li {
    list-style: none;
    /*display: inline;*/
    /*float: left;*/
    margin: 14px 10px 0;
    text-align: center;
    font-size: 85%
}

ul#comedians-filter li {
    list-style: none;
    text-align: center;
    font-size: 85%;
    font-weight: bold;
    padding: 5px 15px;
}

ul#comedians-filter li:hover:not(.comedian-filter-disabled) {
    background-color: #eaeaea;
    cursor: pointer;
}

.comedian-filter-disabled {
    color: grey;
}

ul#child-venues, ul#comedians-filter {
    background: #ffe341 !important;
    background: -moz-linear-gradient(#ffe341, #d1bf35) !important;
    background: -o-linear-gradient(#ffe341, #d1bf35) !important;
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#41ff72), to(#d1bf35)) !important;
    background: -webkit-linear-gradient(#ffe341, #d1bf35) !important;
    -webkit-box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px;
    -moz-box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px;
    margin-bottom: 25px;
    border: 1px solid silver;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}

ul#child-venues li, ul#ccomedians-filter li {
    list-style: none;
}

ul#child-venues li a {
    display: block;
    line-height: 3.333em;
    color: black;
    font-weight: bold;
    text-decoration: none;
    padding: 0 20px;
    font-size: 85%;
}

ul#child-venues li:hover {
    background-color: #eaeaea;
}

ul#comedians li a:hover, ul.venues li a:hover {
    color: red;
    text-decoration: none;
}

div.venues {
    display: table
}

div.venues>.venue-wrap {
    display: table-row
}

div.venues>.venue-wrap .venue {
    display: table-cell
}

div.venue-parent {
    background-color: #ffffe0;
    padding: 4px 15px;
    font-weight: bold;
    border-radius: 6px;
    border: #ffe25c 1px solid;
    margin-top: 15px;
}

.one-column #page {
    max-width: 100%;
}

.listNav {
    margin: 0 0 10px;
}

.ln-letters {
    overflow: hidden;
}

.ln-letters a {
    font-size: 80%;
    display: block;
    padding: 2px 6px;
    text-decoration: none;
}

.ln-letters a.all {
    -webkit-border-top-left-radius: 10px;
    -webkit-border-bottom-left-radius: 10px;
    -moz-border-radius-topleft: 10px;
    -moz-border-radius-bottomleft: 10px;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.ln-letters a.ln-last {
    -webkit-border-top-right-radius: 10px;
    -webkit-border-bottom-right-radius: 10px;
    -moz-border-radius-topright: 10px;
    -moz-border-radius-bottomright: 10px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.ln-letters a:hover,
.ln-letters a.ln-selected {
    background-color: #eaeaea;
}

.ln-letters a.ln-disabled {
    color: #ccc;
}

.ln-letter-count {
    text-align: center;
    font-size: 0.8em;
    line-height: 1;
    margin-bottom: 3px;
    color: #336699;
}

.entry-header {
    height: auto;
    min-height: 0;
}

.entry-header>.event-layout {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
}

#content img.list-img {
    display: block;
    float: none;
    width: auto;
    height: auto;
    max-width: none;
    max-height: none;
    flex: 0 0 auto;
    object-fit: initial;
    margin: 0;
}

.event-details {
    flex: 1;
    min-width: 0;
}

.list-title {
    display: block;
    font-size: 20px;
    line-height: 1.3em;
    margin: 0 0 8px;
}

.list-support-acts {
    margin: 0 0 8px;
    font-size: 16px;
    line-height: 1.4;
}

.list-date {
    display: block;
    font-size: 15px;
    letter-spacing: 0.1em;
    line-height: 1.5em;
    text-transform: uppercase;
    margin: 8px 0;
}

.list-venue {
    margin: 8px 0 0;
}

.hentry {
    padding: 0;
}

#social-links img {
    margin-left: 20px;
    float: right;
}

.page-title {
    text-transform: none;
    line-height: 1.5;
    letter-spacing: 0;
    display: inline;
    font-size: 2.5em;
}

.page-title a {
    font-size: unset;
}

div.tour-list ul {
    list-style: none;
}

div.tour-list ul li {
    float: left;
    text-align: center;
    margin: 10px 50px 0 0;
}

.page-header {
    display: flex;
    padding-bottom: 20px;
}

.page-header-one-col {
    display: block;
}

.header-column {
    flex: 50%;
    padding-bottom: 20px;
}

#primary {
    padding-bottom: 30px;
}

.tour-image {
    border-radius: 20px
}

.tour-list img {
    max-width: 250px;
    max-height: 400px;
    padding-bottom: 10px;
}

.tour-banner img {
    max-width: 100%;
}

#content ul.tv-series-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    list-style: none;
    margin: 0 0 25px;
    padding: 0;
}

#content ul.tv-series-list li {
    display: block;
    list-style: none;
    margin: 0;
    padding: 0;
}

#content ul.tv-series-list li::marker {
    content: "";
}

/* Related comedians */

/* Related comedians */
.related-comedians {
    margin: 20px 0 30px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #f9f9f9;
}

.related-comedians h2 {
    margin: 0 0 15px;
    font-size: 18px;
}

.related-comedians ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.related-comedians .related-comedian-card {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 12px 0;
    border-bottom: 1px solid #e5e5e5;
}

.related-comedians .related-comedian-card:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.related-comedian-image {
    display: block;
    flex: 0 0 76px;
    width: 76px;
    height: 100px;
    overflow: hidden;
}

.related-comedian-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 0;
    margin: 0;
}

.related-comedian-info {
    flex: 1;
    min-width: 0;
}

.related-comedian-name {
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
}

.related-comedian-role {
    display: inline-block;
    margin-bottom: 5px;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 12px;
    line-height: 1.2;
    background: #e8e8e8;
    color: #333;
    font-weight: bold;
}

.related-comedian-role.character {
    background: #e5efff;
    color: #1769c2;
}

.related-comedian-role.performer {
    background: #dcfce7;
    color: #15803d;
}

.related-comedian-role.podcast {
    background: #e5efff;
    color: #1769c2;
}

.related-comedian-role.tv-show {
    background: #dcfce7;
    color: #15803d;
}

.related-comedian-info p {
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 480px) {
    .related-comedians {
        padding: 10px;
    }

    .related-comedian-image {
        flex-basis: 64px;
        width: 64px;
        height: 84px;
    }
}

.body-nothingfound {
    margin: 25px 0;
}


/* Hosts on TV Show and Podcast pages */
.host-list {
    margin: 20px 0 30px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #f9f9f9;
}

.host-list h2 {
    margin: 0 0 15px;
    font-size: 18px;
}

.host-list ul {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.host-list .related-comedian-card {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1 1 300px;
    min-width: 0;
    margin: 0;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
}

.host-list .related-comedian-image {
    flex: 0 0 76px;
    width: 76px;
    height: 100px;
}

.host-list .related-comedian-info {
    flex: 1;
    min-width: 0;
}

.host-list .related-comedian-role.host {
    background: #e5efff;
    color: #1769c2;
}

@media (max-width: 480px) {
    .host-list {
        padding: 10px;
    }

    .host-list .related-comedian-card,
    .host-list .related-media-card {
        flex-basis: 100%;
    }
}


/* Podcast and TV Show archive - layout and Safari compatibility */
#content>.host-list>ul {
    display: flex;
    flex-flow: row wrap;
    align-items: stretch;
    gap: 12px;
    margin: 0;
    padding: 12px;
    list-style: none;
}

#content>.host-list>ul>.related-media-card {
    display: flex;
    flex: 1 1 280px;
    align-items: center;
    box-sizing: border-box;
    min-width: 0;
    margin: 0;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 7px;
    background: #fff;
}

#content>.host-list .related-media-image {
    display: block;
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    overflow: hidden;
}

#content>.host-list .related-media-image img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    border: 0;
    object-fit: cover;
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    -webkit-transition: -webkit-filter 0.25s ease;
    transition: filter 0.25s ease;
}

#content>.host-list .related-media-image:hover img,
#content>.host-list .related-media-card:hover .related-media-image img,
#content>.host-list .related-media-card:focus-within .related-media-image img {
    -webkit-filter: grayscale(0%);
    filter: grayscale(0%);
}

#content>.host-list .related-media-info {
    flex: 1 1 auto;
    min-width: 0;
}

#content>.host-list .related-media-name {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    font-weight: bold;
    overflow-wrap: anywhere;
}

#content>.host-list .related-media-info p {
    margin: 0;
    color: #666;
    font-size: 12px;
}

@media (max-width: 600px) {
    #content>.host-list>ul>.related-media-card {
        flex-basis: 100%;
    }
}

.breadcrumbs {
    margin-bottom: 15px;
    font-size: 0.9em;
}

.breadcrumbs a {
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.role-label {
    display: inline-block;
    margin-bottom: 5px;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 12px;
    line-height: 1.2;
    background: #e8e8e8;
    color: #333;
    font-weight: bold;
}

.role-host {
    background-color: #e3f5e8;
    color: #216e39;
}

.role-regular-panelist {
    background-color: #FEFFC9;
    color: #74752F;
}

.role-team-captain {
    background-color: #F7C1C1;
    color: #8A2222;
}

.role-taskmaster {
    background-color: #F7C1C1;
    color: #8A2222;
}

.role-taskmasters-assistant {
    background-color: #e3f5e8;
    color: #216e39;
}

/* Current page and current taxonomy/archive item */
/* Current page and current taxonomy/archive item */
#menu-main-nav>li.current-menu-item,
#menu-main-nav>li.current_page_item,
#menu-main-nav>li.current-menu-ancestor,
#menu-main-nav>li.current_page_ancestor {
    background: #167A3E;
}

#menu-main-nav>li.current-menu-item>a,
#menu-main-nav>li.current_page_item>a,
#menu-main-nav>li.current-menu-ancestor>a,
#menu-main-nav>li.current_page_ancestor>a {
    color: #FFFFFF !important;
}

/* Menu hover */
#access li:hover>a, #access a:focus {
    background: #B7FF82 !important;
    background-image: none !important;
    color: #111111 !important;
}

/* Comedy Tour social links infobox */

.ct-social-infobox {
    box-sizing: border-box;
    width: 100%;
    max-width: 340px;
    margin: 0 0 24px auto;
    padding: 18px;
    background: #f7f9fa;
    border: 1px solid #e1e6e9;
    border-radius: 8px;
}

.ct-social-infobox-title {
    margin: 0 0 14px;
    padding: 0 0 12px;
    border-bottom: 1px solid #e1e6e9;
    font-size: 20px;
    line-height: 1.3;
    text-align: center;
}

.ct-social-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ct-social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 9px;
    border-radius: 6px;
    color: #222;
    text-decoration: none;
    transition: background-color 0.15s ease;
}

.ct-social-link:hover,
.ct-social-link:focus {
    background: #e5f5e9;
    color: #146b35;
    text-decoration: none;
}

.ct-social-icon {
    display: block;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    object-fit: contain;
}

.ct-social-link-info {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    gap: 2px;
}

.ct-social-platform {
    font-weight: 600;
    font-size: 14px;
}

.ct-social-username {
    color: #666;
    font-size: 13px;
    overflow-wrap: anywhere;
}

.ct-social-external {
    color: #777;
    font-size: 18px;
}

@media (max-width: 600px) {
    .ct-social-infobox {
        max-width: none;
        margin: 16px 0 24px;
    }
}

/* Comedian profile header */
.ct-comedian-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: start;
    gap: 30px;
    margin-bottom: 30px;
}

.ct-comedian-profile {
    display: flex;
    align-items: center;
    gap: 24px;
    min-width: 0;
}

.ct-comedian-profile-image {
    display: block;
    width: 140px;
    height: 140px;
    flex: 0 0 140px;
    object-fit: cover;
    border-radius: 8px;
}

.ct-comedian-profile .page-title {
    margin: 0;
    overflow-wrap: anywhere;
}

.ct-comedian-header .ct-social-infobox {
    width: 100%;
    max-width: 340px;
    margin: 0;
}

/* Tablet and mobile */
@media (max-width: 760px) {
    .ct-comedian-header {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .ct-comedian-profile {
        gap: 16px;
    }

    .ct-comedian-profile-image {
        width: 100px;
        height: 100px;
        flex-basis: 100px;
    }

    .ct-comedian-header .ct-social-infobox {
        max-width: none;
    }
}

@media (max-width: 420px) {
    .ct-comedian-profile-image {
        width: 80px;
        height: 80px;
        flex-basis: 80px;
    }
}

/* Comedian archive: keep each content section separate */

.tour-list {
    display: flow-root;
    clear: both;
    width: 100%;
    margin: 20px 0 30px;
}

.tour-list ul {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.tour-list ul li {
    float: none;
    margin: 0;
    text-align: center;
}

.host-list {
    display: flow-root;
    clear: both;
    width: 100%;
    margin: 30px 0;
}

.related-comedians {
    display: flow-root;
    clear: both;
    width: 100%;
    box-sizing: border-box;
}

/* Keep tour artwork consistent */
.tour-list .tour-image {
    display: block;
    width: auto;
    max-width: 250px;
    max-height: 400px;
    margin: 0 auto 10px;
    object-fit: contain;
}

/* Responsive tour cards */
@media (max-width: 600px) {
    .tour-list ul {
        gap: 20px;
    }

    .tour-list ul li {
        max-width: 100%;
        margin: 0 auto;
    }

    .tour-list .tour-image {
        max-width: 100%;
        height: auto;
    }
}

/* Keep the media cards compact. */
.host-list .related-comedian-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.host-list .media-labels {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.host-list .related-comedian-note {
    margin: 0;
    font-size: 0.9em;
    color: #666;
}

/* Reduce unnecessary space above the tours. */
.related-comedians {
    margin-bottom: 20px;
}

.host-list {
    margin-bottom: 20px;
}


/* Comedian page: independent main content and social sidebar */
.ct-comedian-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: start;
    gap: 30px;
    width: 100%;
}

.ct-comedian-main {
    min-width: 0;
}

.ct-comedian-sidebar {
    min-width: 0;
}

.ct-comedian-sidebar .ct-social-infobox {
    width: 100%;
    max-width: 340px;
    margin: 0;
}

/* Profile header */
.ct-comedian-main .ct-comedian-header {
    display: block;
    height: auto;
    min-height: 0;
    margin: 0 0 24px;
    padding: 0;
    border: 0;
}

.ct-comedian-profile {
    display: flex;
    align-items: center;
    gap: 24px;
}

.ct-comedian-profile-image {
    display: block;
    width: 120px;
    height: 120px;
    flex: 0 0 120px;
    object-fit: cover;
    border-radius: 8px;
}

.ct-comedian-profile .page-title {
    margin: 0;
}

/* Keep content sections separate */
.ct-comedian-main .related-comedians,
.ct-comedian-main .tour-list,
.ct-comedian-main .host-list {
    clear: both;
    width: 100%;
    box-sizing: border-box;
}

.ct-comedian-main .tour-list {
    display: flow-root;
    margin: 0 0 28px;
}

.ct-comedian-main .tour-list ul {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin: 0;
    padding: 0;
}

.ct-comedian-main .tour-list ul li {
    float: none;
    margin: 0;
}

/* TV Shows and Podcasts */
.ct-comedian-main .host-list {
    display: flow-root;
    margin: 0 0 28px;
}

/* Tablet and mobile */
@media (max-width: 760px) {
    .ct-comedian-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .ct-comedian-sidebar {
        grid-row: 1;
    }

    .ct-comedian-sidebar .ct-social-infobox {
        max-width: none;
    }
}

@media (max-width: 420px) {
    .ct-comedian-profile {
        gap: 16px;
    }

    .ct-comedian-profile-image {
        width: 80px;
        height: 80px;
        flex-basis: 80px;
    }
}

.host-list .related-media-card {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1 1 300px;
    min-width: 0;
    margin: 0;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
}

.related-media-card {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 12px 0;
    border-bottom: 1px solid #e5e5e5;
}

.related-media-card:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.related-media-image {
    display: block;
    flex: 0 0 80px;
    width: 80px;
    height: 80px;
    overflow: hidden;
}

.related-media-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 0;
    margin: 0;
    filter: grayscale(1);
    transition: filter 0.25s ease;
}

.related-media-image:hover img,
.related-media-card:hover .related-media-image img,
.related-media-card:focus-within .related-media-image img {
    filter: grayscale(0);
}

.related-media-info {
    flex: 1;
    min-width: 0;
}

.related-media-name {
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
}

.related-comedian-card.non-comedian .related-comedian-image img {
    filter: grayscale(100%);
}

.tv-series-list ul {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.tv-series-list li {
    flex: 0 0 100px;
    margin: 0;
    text-align: center;
}

.tv-series-list li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.tv-series-list li img {
    display: block;
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.tv-series-list li span {
    font-size: 0.9em;
}

.tv-show-series-years {
    display: block;
    font-size: 0.7em;
    font-style: italic;
}

/* TV episode vertical layout */

.tv-episode-list {
    display: flow-root;
    clear: both;
    width: 100%;
    margin: 20px 0 30px;
}

.tv-episode-card {
    display: flow-root;
    margin: 0;
    padding: 15px 0;
}

.tv-episode-header {
    display: flex;
    align-items: center;
    gap: 18px;
}

.tv-episode-header img {
    display: block;
    flex: 0 0 90px;
    width: 90px;
    height: 90px;
    margin: 0;
    object-fit: contain;
}

.tv-episode-title {
    margin: 0 0 5px;
    font-size: 19px;
    line-height: 1.35;
    font-weight: 600;
}

.tv-episode-date {
    color: #777;
    font-size: 14px;
}

.tv-episode-description {
    margin: 15px 0 0;
    line-height: 1.6;
}

.tv-episode-cast {
    margin-top: 15px;
}

.tv-episode-cast h4 {
    margin: 0 0 8px;
}

.tv-episode-cast ul {
    margin: 0;
    padding-left: 20px;
}

.tv-episode-cast li {
    margin-bottom: 5px;
}

.episode-cast-role {
    display: inline-block;
    margin-left: 6px;
    color: #777;
    font-size: 0.9em;
}

.tv-series-cast {
    display: flow-root;
    clear: both;
    margin: 25px 0;
}

@media (max-width: 480px) {
    .tv-episode-header {
        gap: 12px;
    }

    .tv-episode-header img {
        flex-basis: 65px;
        width: 65px;
        height: 65px;
    }
}

/* Spread comedians evenly across multiple rows */
.ct-comedian-main .tour-list ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 25px 15px;
    width: 100%;
}

.ct-comedian-main .tour-list ul li {
    flex: 1 1 130px;
    min-width: 130px;
    text-align: center;
    box-sizing: border-box;
}

.ct-comedian-main .tour-list ul li a {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ct-comedian-main .tour-list .tour-image {
    margin-left: auto;
    margin-right: auto;
}

/* Space between series-specific and parent TV show link boxes */
.ct-comedian-sidebar .ct-social-infobox+.ct-social-infobox {
    margin-top: 25px;
}

/* Spread TV series evenly across multiple rows */
.ct-comedian-main .tv-series-list ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 25px 15px;
    width: 100%;
}

.ct-comedian-main .tv-series-list ul li {
    flex: 1 1 130px;
    min-width: 130px;
    text-align: center;
    box-sizing: border-box;
}

.ct-comedian-main .tv-series-list ul li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.ct-comedian-main .tv-series-list ul li img {
    margin-left: auto;
    margin-right: auto;
}

/* Smaller screens */
@media (max-width: 600px) {
    .ct-comedian-main .tv-series-list li {
        flex: 1 1 28%;
    }
}

/* Support appearances table */
.support-appearances-table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0 30px;
    table-layout: auto;
}

.support-appearances-table th,
.support-appearances-table td {
    padding: 10px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.support-appearances-table th {
    font-weight: bold;
}

.support-appearances-table th:last-child,
.support-appearances-table td:last-child {
    text-align: right;
}

.support-appearances h2 {
    font-size: 140%;
}

/* TV show page: visually group the child series above the comedian listing. */
.ct-comedian-main .tv-series-section {
    box-sizing: border-box;
    margin: 20px 0 28px;
    padding: 18px 20px 20px;
    background: #f0f5f9;
    border: 1px solid #e1eaf0;
    border-radius: 8px;
}

.ct-comedian-main .tv-series-section h2,
.ct-comedian-main .media-section-heading {
    margin: 0 0 16px;
    font-size: 20px;
    line-height: 1.3;
}

.ct-comedian-main .tv-series-section .tv-series-list {
    margin: 0;
}

.ct-comedian-main .tv-series-section .tv-series-list ul {
    margin: 0;
    padding: 0;
}

.ct-comedian-main .episode-comedians,
.ct-comedian-main .series-comedians {
    margin-top: 20px;
}

@media (max-width: 600px) {
    .ct-comedian-main .tv-series-section {
        padding: 14px;
    }
}


/* Awards archive */

/* Awards archive */

.ct-awards-archive {
    max-width: 1100px;
}

.ct-awards-archive .page-header {
    margin-bottom: 20px;
}

.ct-awards-year {
    margin: 0 0 35px;
}

.ct-awards-year>h2 {
    margin: 0 0 18px;
    padding: 10px 15px;
    background: #e8f5ec;
    border-left: 5px solid #20ab4f;
    border-radius: 5px;
    font-size: 24px;
}

.ct-awards-year>h2 a {
    color: #222;
    text-decoration: none;
}

.ct-awards-year>h2 a:hover {
    color: #167a3e;
}

.ct-award-entry {
    box-sizing: border-box;
    margin: 0 0 16px;
    padding: 16px 20px;
    background: #f9f9f9;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
}

.ct-award-organiser {
    margin: 0 0 5px;
    color: #777;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ct-award-category {
    margin: 0 0 12px;
    font-size: 19px;
    line-height: 1.35;
}

.ct-award-category a {
    text-decoration: none;
}

.ct-award-category a:hover {
    text-decoration: underline;
}

.ct-award-recipients {
    line-height: 1.8;
}

.ct-award-recipient {
    display: inline;
}

.ct-award-recipient-winner {
    font-weight: bold;
}

.ct-award-status {
    font-size: 0.9em;
    font-weight: normal;
    color: #777;
}

.ct-award-recipient-winner .ct-award-status {
    color: #167a3e;
    font-weight: bold;
}

.ct-award-source {
    margin: 10px 0 0;
    font-size: 12px;
}

@media (max-width: 600px) {
    .ct-award-entry {
        padding: 13px 15px;
    }

    .ct-awards-year>h2 {
        font-size: 21px;
    }

    .ct-award-category {
        font-size: 17px;
    }
}

/* Awards organiser links and filtering */


/* Awards organiser filter */

.ct-awards-filter {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 25px;
    padding: 14px 16px;
    background: #f7f9fa;
    border: 1px solid #e1e6e9;
    border-radius: 8px;
}

.ct-awards-filter-label {
    margin-right: 5px;
    font-weight: bold;
}

.ct-awards-filter-button {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid #d5dadd;
    border-radius: 20px;
    background: #fff;
    color: #333;
    font: inherit;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.ct-awards-filter-button:hover {
    border-color: #20ab4f;
    color: #167a3e;
}

.ct-awards-filter-button.is-active {
    background: #20ab4f;
    border-color: #20ab4f;
    color: #fff;
}

/* Award winners and nominees */

.ct-award-winners {
    margin: 0 0 8px;
    line-height: 1.7;
    font-weight: bold;
}

.ct-award-winners::before {
    content: "🏆";
    display: inline-block;
    margin-right: 7px;
    font-weight: normal;
}

.ct-award-winners::after {
    content: "🏆";
    display: inline-block;
    margin-left: 10px;
    font-weight: normal;
}

.ct-award-nominees {
    margin: 0;
    line-height: 1.8;
    font-weight: normal;
}

.ct-award-winners .ct-award-status {
    color: #167a3e;
    font-weight: bold;
}

.ct-award-nominees .ct-award-status {
    color: #777;
    font-weight: normal;
}

.ct-award-entry[hidden],
.ct-awards-year[hidden] {
    display: none !important;
}

@media (max-width: 600px) {
    .ct-awards-filter {
        align-items: flex-start;
    }

    .ct-awards-filter-label {
        flex-basis: 100%;
        margin-bottom: 3px;
    }
}

.ct-award-label {
    font-weight: normal;
}

.ct-awards-archive {
    width: 100%;
    max-width: 1100px;
    box-sizing: border-box;
}

/* Awards archive - full width layout */

#primary.ct-awards-archive {
    float: none;
    width: 100%;
    max-width: none;
    margin: 0;
    box-sizing: border-box;
}

.ct-awards-archive {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
}

/*
2026-10-23 - Highlight the current primary navigation item and customise menu hover colours.
2026-10-23 - Add Infobox styling.
2026-10-25 – Fix Safari podcast and TV show archive layout. Added explicit archive card sizing and layout rules, improved Safari greyscale filter compatibility, and preserved the hover-to-colour effect.
2026-10-27 - Display non-comedian images in greyscale on TV and podcast pages.
2026-11-02 - Add TV episode vertical layout.
2026-11-02 - Spread TV series comedians evenly across the available width
2026-11-02 - Add space between series-specific and parent TV show link boxes
2026-11-02 - Spread TV series evenly across the available width
2026-11-03 - Support appearances table
2026-11-04 - TV show page: visually group the child series above the comedian listing
2026-11-06 - Add Awards Archives styling
2026-11-07 - Awards archive - full width layout
*/