.journal_page {
    --jp-bg: #14182b;
    --jp-text: #e4e4e8;
    --jp-heading: #e8785f;
    --jp-subheading: #6fa3e0;
    --jp-muted: #9a9aa5;
    --jp-link: #e8785f;
    --jp-tab-bg: rgba(255, 255, 255, 0.1);
    --jp-tab-text: #e4e4e8;
    --jp-tab-active-bg: #b34433;
    --jp-toggle-bg: rgba(255, 255, 255, 0.1);
    --jp-toggle-text: #e4e4e8;

    margin: 0;
    background-color: var(--jp-bg);
    color: var(--jp-text);
    transition: background-color 0.2s ease, color 0.2s ease;
}

html.light-mode .journal_page {
    --jp-bg: white;
    --jp-text: black;
    --jp-heading: #b34433;
    --jp-subheading: #24559e;
    --jp-muted: #666;
    --jp-link: #b34433;
    --jp-tab-bg: #e8eef7;
    --jp-tab-text: #24559e;
    --jp-tab-active-bg: #b34433;
    --jp-toggle-bg: #e8eef7;
    --jp-toggle-text: #24559e;
}

.journal_header {
    padding: 24px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.journal_page .tabs_light .tab {
    color: var(--jp-tab-text);
    background-color: var(--jp-tab-bg);
}

.journal_page .tabs_light .tab_active {
    color: white;
    background-color: var(--jp-tab-active-bg);
}

.theme-toggle {
    font-family: "Josefin Sans", sans-serif;
    font-size: 18px;
    line-height: 1;
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: var(--jp-toggle-text);
    background-color: var(--jp-toggle-bg);
    transition-duration: 0.5s;
}

.theme-toggle:hover {
    background-color: #c06bac;
    color: aliceblue;
}

.entry {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 5% 64px;
}

.entry h1 {
    font-family: "Josefin Sans", sans-serif;
    font-weight: 300;
    font-size: 28pt;
    color: var(--jp-heading);
    margin: 4px 0 24px;
}

.entry h2,
.entry h3 {
    font-family: "Josefin Sans", sans-serif;
    font-weight: 600;
    color: var(--jp-subheading);
    margin-top: 40px;
}

.entry p,
.entry li {
    font-family: "Noto Serif", serif;
    font-size: 16px;
    line-height: 30px;
}

.entry a {
    color: var(--jp-link);
}

.entry img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 16px auto;
    border-radius: 8px;
}

.entry .img-caption {
    font-size: 14px;
    color: var(--jp-muted);
    text-align: center;
    margin-top: -4px;
}

.entry_date {
    font-family: "Josefin Sans", sans-serif !important;
    color: var(--jp-subheading);
    margin: 0;
}

.entry_back {
    margin-top: 48px;
}

.entry_back .button_link {
    color: white;
}

iframe.widget {
    width: 100%;
    height: 620px;
    border: none;
    margin: 16px 0;
    display: block;
}
