@import url('https://fonts.googleapis.com/css2?family=Questrial&display=swap');

:root {
    --a-color: #c3bedf;
    --b-color: #c49593;
    --c-color: #f5f3ef;
    --t-color: #525d80;
    --g-color: #9c6210;
}

body {
    background-color: hsl(209.2, 52.7%, 71%);
    font-family: 'Questrial', sans-serif;
    color: var(--t-color);
    margin: 0;
    padding: 0;
    font-size: 1rem;
}

h1 {
    font-family: 'Questrial', sans-serif;
    font-size: 2rem;
    margin: 8px 0px;
}

h2 {
    font-family: 'Questrial', sans-serif;
    font-size: 1.5rem;
    margin: 8px 0;
}

p {
    font-size: 1.2rem;
    margin: 10px 10px 10px 10px;
}

img {
    margin: 8px auto 8px 0px;
    max-width: 400px;
    width: 100%;
    height: auto;
    border: 6px solid var(--g-color);
}

.img-right {
    float: right;
    margin-left: 10px;
    width: 50%;
}

.img-left {
    float: left;
    margin-right: 10px;
    width: 50%;
}

.img-left.small {
    width: 33%;
}

.arrow {
    border:none;
    max-height: 120px;
    width: auto;
}

.reviewbubble {
    max-width: 800px;
    margin: 20px auto 20px auto;
    padding: 2px 20px 20px 20px;
    background-color: var(--b-color);
    color: var(--c-color);
    overflow: auto;
    border-radius: 30px;
}

a {
    color: var(--t-color);
    text-decoration: none;
}

a.inline {
    text-decoration: underline;
}

a:hover {
    color: var(--g-color);
    text-decoration: underline;
}

p a {
    color: var(--g-color);
    text-decoration: underline;
}

p a:hover {
    text-decoration-thickness: 2px;
}

button {
    background-color: transparent;
    font-size: 1rem;
    font-family: 'Questrial', sans-serif;
    -webkit-appearance: none;
    appearance: none;
}

.button.inline {
    border: 0px none;
    background-color: #fff7e6
}

.button.small {
    color: black;
    font-size: 1rem;
    padding: 4px;
    margin: 8px 0px;
    width: 20%;
}

.input {
    width: 50%;
    font-family: 'Questrial', sans-serif;
    font-size: 0.9rem;
    border: none;
}

.textarea {
    width: 50%;
    height: 120px;
    font-family: 'Questrial', sans-serif;
    border: none;
    font-size: 0.9rem;
}

.control {
    padding: 5px;
}

.flex_lr {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: fit-content;
    flex-wrap: wrap;
}

.ml-embedded {
    padding: 20px 0px 0px 0px;
    color: #1a1a1a;
}

.image_box {
    float: right;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    padding: 0 0 0 20px;
    width: 33%;
}

.nav-list {
    display: flex;
    justify-content: left;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px;
    flex-wrap: wrap;
}

@media (max-width: 600px) { 
    .image_box {
        width: 95%;
        margin: 8px 8px 0 8px;
        padding: 0 0 10px 0;
    }
    
    .img-right {
        float: none;
        display: block;
        width: 95%;
        margin: 0 auto;
    }

    .img-left {
        float: none;
        display: block;
        width: 95%;
        margin: 0 auto;
    }

    .img-left.small {
        width: 80%;
    }


    .img-right.cover {
        float: none;
        display: block;
        width: 80%;
        margin: 0 auto;
    }

    .arrow {
        display: none;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.2rem;
    }

    .input {
        width: 95%;
    }
    
    .textarea {
        width: 95%;
        height: 120px;
    }
    
    button {
        font-size: 0.7rem;
    }

    iframe[src*="youtube"] {
        width: 100% !important;
        height: 200px;
    }

}

.container {
    max-width: 900px;
    margin: 20px auto 20px auto;
    padding: 2px 20px 20px 20px;
    background-color: var(--c-color);
    overflow: auto;
}

.spotify-embed {
    border: none;
    border-radius: 12px;
    margin: 16px 0;
    display: block;
}

.social-icons {
    display: flex;
    gap: 14px;
    align-items: center;
}

.social-icons a {
    color: var(--t-color);
    display: inline-flex;
    align-items: center;
    line-height: 0;
}

.social-icons a:hover {
    color: var(--g-color);
}

.social-icons svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.patreon-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--g-color);
    color: var(--c-color);
    border: 2px solid var(--g-color);
    font-size: 1.1rem;
    text-decoration: none;
}

.patreon-button:hover {
    background-color: transparent;
    color: var(--g-color);
    text-decoration: none;
}

.listen-links {
    list-style: none;
    padding: 0;
    margin: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.listen-links a {
    display: inline-block;
    padding: 8px 16px;
    background-color: var(--g-color);
    border: 2px solid var(--g-color);
    color: var(--c-color);
    text-decoration: none;
    font-size: 1rem;
}

.listen-links a:hover {
    background-color: transparent;
    color: var(--g-color);
    text-decoration: none;
}

.episode-list {
    list-style: none;
    padding: 0;
    margin: 10px;
}

.episode-list li {
    padding: 8px 0;
    border-bottom: 1px solid var(--a-color);
}

.episode-list li:last-child {
    border-bottom: none;
}

.ep-date {
    color: var(--g-color);
    font-size: 0.9rem;
}

.episode-list-full {
    margin: 10px 0;
}

details.episode {
    border-bottom: 1px solid var(--a-color);
    padding: 8px 0;
}

details.episode:last-child {
    border-bottom: none;
}

details.episode summary {
    cursor: pointer;
    list-style: none;
    padding: 4px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

details.episode summary::-webkit-details-marker {
    display: none;
}

details.episode summary::before {
    content: '▸';
    display: inline-block;
    color: var(--g-color);
    font-size: 2rem;
    line-height: 1;
    width: 1.5rem;
    text-align: center;
    transition: transform 0.15s ease;
    flex-shrink: 0;
}

details.episode[open] > summary::before {
    transform: rotate(90deg);
}

.ep-thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    flex-shrink: 0;
    margin: 0;
    max-width: none;
    border: 2px solid var(--g-color);
}

.ep-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.ep-title {
    font-weight: bold;
    font-size: 1.25rem;
    line-height: 1.2;
}

.ep-info {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--g-color);
}

.ep-info .ep-date {
    color: var(--g-color);
}

.ep-info .ep-duration::before {
    content: '· ';
}

.ep-body {
    padding: 8px 0 8px 24px;
}

.ep-player {
    width: 100%;
    margin: 8px 0;
    display: block;
}

@media (max-width: 600px) {
    .ep-thumb {
        width: 60px;
        height: 60px;
    }

    .ep-title {
        font-size: 1.1rem;
    }
}

.ep-description {
    margin: 8px 0;
}

.ep-description p {
    margin: 8px 0;
}

.ep-description a {
    color: var(--t-color);
    text-decoration: underline;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin: 20px 0 10px 0;
}

.pagination .button.small {
    width: auto;
    padding: 4px 12px;
}

.pagination button[disabled] {
    opacity: 0.4;
    cursor: not-allowed;
}

.head {
    max-width: 900px;
    margin: 20px auto 20px auto;
    padding: 2px 20px 2px 20px;
    background-color: var(--c-color);
}

.foot {
    max-width: 900px;
    margin: 20px auto 20px auto;
    padding: 2px 20px 2px 20px;
    background-color: var(--c-color);
    font-size: 0.9rem;
}