@charset "UTF-8";
/* CSS Document */

/* ==========================================
   HARLAN ELLISON COMICS BIBLIOGRAPHY
   ComicBookBrain
   November 2026
   ========================================== */

.ellison-comics-chart {
    width: 100%;
    max-width: 1100px;
    margin: 25px auto;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.5;
    color: #252525;
    box-sizing: border-box;
}

.ellison-comics-chart * {
    box-sizing: border-box;
}

.ellison-chart-title {
    background: #252a32;
    color: #ffffff;
    padding: 22px 18px;
    border-bottom: 4px solid #a64132;
}

.ellison-chart-title h2 {
    color: #ffffff;
    background: none;
    font-size: 24px;
    line-height: 1.25;
    margin: 0 0 10px;
    padding: 0;
}

.ellison-chart-title p {
    font-size: 14px;
    color: #dddddd;
    margin: 0;
}

.ellison-chart-instructions {
    background: #e5e1d9;
    padding: 9px 14px;
    font-size: 12px;
    color: #555555;
    border: 1px solid #ccc7bd;
}

.ellison-chart-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    margin: 0;
}

.ellison-chart-table th {
    background: #3d444e;
    color: #ffffff;
    padding: 0;
    text-align: left;
    border: 1px solid #555c65;
    vertical-align: middle;
}

.ellison-chart-table th:nth-child(1) {
    width: 40%;
}

.ellison-chart-table th:nth-child(2) {
    width: 30%;
}

.ellison-chart-table th:nth-child(3) {
    width: 30%;
}

.ellison-chart-table th button {
    display: block;
    width: 100%;
    padding: 12px 10px;
    margin: 0;
    border: 0;
    background: transparent;
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    font-weight: bold;
    text-align: left;
    cursor: pointer;
}

.ellison-chart-table th button:hover,
.ellison-chart-table th button:focus-visible {
    background: #a64132;
}

.ellison-chart-table th button::after {
    content: " \2195";
    font-size: 12px;
    opacity: 0.7;
}

.ellison-chart-table th[aria-sort="ascending"]
button::after {
    content: " \25B2";
}

.ellison-chart-table th[aria-sort="descending"]
button::after {
    content: " \25BC";
}

.ellison-chart-table td {
    padding: 12px 10px;
    border: 1px solid #d1cdc5;
    vertical-align: top;
    overflow-wrap: break-word;
}

.ellison-chart-table tbody tr:nth-child(odd) {
    background: #ffffff;
}

.ellison-chart-table tbody tr:nth-child(even) {
    background: #f0ede6;
}

.ellison-chart-table tbody tr:hover {
    background: #fff0ce;
}

.ellison-chart-table td:first-child {
    font-weight: bold;
}

.ellison-chart-table td:nth-child(3) {
    font-style: italic;
}

.ellison-chart-sources {
    background: #e5e1d9;
    border: 1px solid #ccc7bd;
    border-top: 3px solid #a64132;
    padding: 14px;
    font-size: 12px;
    line-height: 1.6;
}

.ellison-chart-sources a {
    color: #8c3026;
    text-decoration: underline;
}

/* ==========================================
   SMARTPHONE LAYOUT
   ========================================== */

@media screen and (max-width: 600px) {

    .ellison-comics-chart {
        font-size: 14px;
    }

    .ellison-chart-title h2 {
        font-size: 21px;
    }

    .ellison-chart-table,
    .ellison-chart-table thead,
    .ellison-chart-table tbody,
    .ellison-chart-table tr,
    .ellison-chart-table td {
        display: block;
        width: 100%;
    }

    .ellison-chart-table thead tr {
        display: flex;
    }

    .ellison-chart-table thead th {
        flex: 1;
        width: auto;
        min-width: 0;
    }

    .ellison-chart-table th button {
        font-size: 12px;
        padding: 10px 6px;
        text-align: center;
    }

    .ellison-chart-table tbody tr {
        margin: 10px 0;
        border: 1px solid #ccc7bd;
        border-left: 4px solid #a64132;
    }

    .ellison-chart-table td {
        border: none;
        padding: 7px 12px;
    }

    .ellison-chart-table td:first-child {
        font-size: 17px;
        padding-top: 12px;
        border-bottom: 1px solid #d1cdc5;
    }

    .ellison-chart-table td:last-child {
        padding-bottom: 12px;
    }

    .ellison-chart-table td:nth-child(2)::before {
        content: "Artist: ";
        font-weight: bold;
        font-style: normal;
    }

    .ellison-chart-table td:nth-child(3)::before {
        content: "Publication: ";
        font-weight: bold;
        font-style: normal;
    }

}