*, *::before, *::after {
    box-sizing: border-box;
}

:root {
    --void: #07050a;
    --ink: #0c0712;
    --ink-light: #170d1f;
    --gold: #c9a35e;
    --gold-bright: #ecd6a0;
    --teal: #5fb3bd;
    --wine: #5c2435;
    --text: #b9aec4;
    --text-dim: #6e6678;
    --text-mid: #cdc3da;
}

body {
    background: radial-gradient(ellipse 1200px 600px at 50% -10%, #160b1f 0%, var(--void) 55%, #030103 100%);
    color: #fff;
    font-family: 'Arima', serif;
    font-size: 1em;
    margin: 0;
    min-height: 100vh;
}

.header-image {
    display: block;
    height: auto;
    width: 100%;
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 78%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 0%, black 78%, transparent 100%);
}

header {
    position: relative;
}

@keyframes riseIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

nav {
    animation: riseIn 1s 0.1s ease both;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 1.4rem;
    padding-top: 1.2rem;
    position: relative;
}

nav::before {
    background: linear-gradient(90deg, transparent, var(--wine) 15%, var(--gold) 50%, var(--teal) 85%, transparent);
    content: '';
    height: 1px;
    left: 0;
    opacity: 0.55;
    position: absolute;
    right: 0;
    top: 0;
}

nav a {
    border: 1px solid transparent;
    border-radius: 4px;
    color: var(--text-mid);
    font-size: 0.7rem;
    font-weight: 300;
    letter-spacing: 0.18em;
    padding: 0.42rem 1rem;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

nav a:hover {
    border-color: rgba(201, 163, 94, 0.4);
    box-shadow: 0 4px 14px rgba(95, 179, 189, 0.18), 0 0 14px rgba(201, 163, 94, 0.15);
    color: var(--gold-bright);
    transform: translateY(-2px);
}

.container {
    color: var(--text);
    font-family: 'Arima', serif;
    font-size: 1em;
    font-weight: 500;
    letter-spacing: 0.5px;
    line-height: 1.65em;
    margin: 2rem auto 50px;
    max-width: 1206px;
    overflow: hidden;
    padding: 25px;
    text-align: justify;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    width: 100%;
}

.content {
    background: linear-gradient(165deg, var(--ink-light) 0%, var(--ink) 55%, #0a0610 100%);
    border: 1px solid rgba(201, 163, 94, 0.1);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.55), 0 0 70px rgba(95, 179, 189, 0.03), inset 0 1px 0 rgba(255, 255, 255, 0.02);
    padding: 2.6rem 2.8rem;
}

.content a {
    border-bottom: 1px solid rgba(95, 179, 189, 0.35);
    color: var(--teal);
    text-decoration: none;
    transition: color 0.25s, border-color 0.25s;
}

.content a:hover {
    border-bottom-color: rgba(201, 163, 94, 0.55);
    color: var(--gold-bright);
}

blockquote {
    background: linear-gradient(180deg, #170d1f, #0c0712);
    border-radius: 18px;
    color: var(--text);
    margin: 1.8rem 0;
    overflow: hidden;
    padding: 1.9rem 2.1rem 1.6rem;
    position: relative;
    text-align: justify;
    text-shadow: none;
}

blockquote::before {
    background: linear-gradient(90deg, var(--wine), var(--gold), var(--teal));
    content: '';
    height: 3px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

h1 {
    background: linear-gradient(120deg, var(--gold-bright), var(--gold) 65%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-family: 'Playfair Display', serif !important;
    font-size: 1.5em;
    font-weight: 600 !important;
    line-height: 1.5em;
}

h2 {
    color: var(--gold-bright)  !important;
    font-family: 'Playfair Display', serif !important;
    font-size: 1.3em  !important;
    font-weight: 500 !important;
    letter-spacing: 0.5px  !important;
    line-height: 1.4em  !important;
    margin-top: 0 !important;
    text-align: center;
}

em {
    color: var(--teal);
    font-family: 'Playfair Display', serif !important;
    font-style: italic;
}

strong {
    color: var(--gold-bright);
    font-family: 'Playfair Display', serif !important;
    font-weight: 600;
}

cite {
    color: var(--text-dim);
    display: block;
    font-style: italic;
    font-weight: 300;
    padding-right: 50px;
    padding-top: 12px;
    text-align: right;
}

footer {
    color: var(--text-dim);
    display: block;
    font-size: 0.85rem;
    margin-top: 2rem;
    padding-right: 25px;
    text-align: right;
}

footer a {
    color: var(--text-mid);
    text-decoration: none;
    transition: color 0.25s;
}

footer a:hover {
    color: var(--gold-bright);
}

/* ── PhotoSwipe ───────────────────────────────────────────────── */

.image-grid {
    display: grid;
    gap: var(--gap);
    grid-template-columns: repeat(auto-fill, minmax(var(--thumb-size), 1fr));
    list-style: none;
    margin: 1.25rem 0 1.25rem !important;
    padding: 0;
}

.image-item {
    align-items: center;
    display: flex;
    justify-content: center;
}

.image-item figure {
    align-items: center;
    background: var(--ink-light);
    border: 1px solid rgba(201, 163, 94, 0.15);
    border-radius: 6px;
    display: flex;
    height: var(--thumb-size);
    justify-content: center;
    margin: 0;
    overflow: hidden;
    padding: 3px;
    position: relative;
    transition: border-color 0.25s, box-shadow 0.25s;
    width: var(--thumb-size);
}

.image-item figure::before {
    background: linear-gradient(90deg, var(--wine), var(--gold), var(--teal));
    content: '';
    height: 2px;
    left: 0;
    opacity: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: opacity 0.25s;
}

.image-item figure:hover {
    border-color: rgba(201, 163, 94, 0.4);
    box-shadow: 0 4px 14px rgba(95, 179, 189, 0.18), 0 0 14px rgba(201, 163, 94, 0.15);
}

.image-item figure:hover::before {
    opacity: 1;
}

.image-item img {
    display: block;
    height: auto;
    max-height: calc(var(--thumb-size) - 8px);
    max-width: calc(var(--thumb-size) - 8px);
    object-fit: contain;
    width: auto;
}
/* ------------------------------------------------------------
 *  Breadcrumb
 *  ------------------------------------------------------------ */

.breadcrumb {
    font-size: 0.875rem;
    margin-bottom: 0.875rem;
}

.breadcrumb ol {
    color: var(--color-muted);
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.breadcrumb li {
    align-items: center;
    display: flex;
}

.breadcrumb li + li::before {
    color: var(--color-muted);
    content: "›";
    flex-shrink: 0;
    margin: 0 0.375rem;
}

.breadcrumb [aria-current="page"] {
    color: var(--color-text);
}


@media (max-width: 600px) {
    .container {
        padding: 16px;
        text-align: left;
    }

    .content {
        padding: 1.6rem 1.4rem;
    }

    blockquote {
        padding: 1.4rem 1.2rem 1.2rem;
    }

    nav {
        gap: 0.2rem;
        margin-top: 1rem;
        padding-top: 0.9rem;
    }

    nav a {
        font-size: 0.65rem;
        letter-spacing: 0.12em;
        padding: 0.35rem 0.6rem;
    }
}
/* ══════════════════════════════
   FANUPDATE REDUX
══════════════════════════════ */

div#fanupdate {
    color: var(--text);
}

div#fanupdate h3 {
    color: var(--teal);
    font-family: 'Playfair Display', serif;
    font-size: 1.1em;
    font-style: italic;
    font-weight: 500;
    margin: 1.4em 0 0.4em;
}

div#fanupdate h4 {
    color: var(--gold-bright);
    font-family: 'Playfair Display', serif;
    font-size: 1em;
    font-weight: 600;
    margin: 1.1em 0 0.3em;
}

div#fanupdate h5 {
    color: var(--gold);
    font-size: 0.72em;
    font-weight: 500;
    letter-spacing: 0.18em;
    margin: 1em 0 0.3em;
    text-transform: uppercase;
}

div#fanupdate h6 {
    color: var(--text-dim);
    font-size: 0.65em;
    font-weight: 400;
    letter-spacing: 0.18em;
    margin: 0.9em 0 0.3em;
    text-transform: uppercase;
}

/* Each post — set via Admin -> Options -> Templates -> entry_template,
   which wraps {{title}}/{{catfile}}/{{body}} in <div class="fu-entry">
   ...</div>. Redux 2.5.0+ ships this wrapper by default. */
#fanupdate .fu-entry {
    background: linear-gradient(165deg, var(--ink-light) 0%, var(--ink) 60%, #0a0610 100%);
    border: 1px solid rgba(201, 163, 94, 0.12);
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
    margin-bottom: 1.4rem;
    overflow: hidden;
    padding: 1.5rem 1.7rem;
    position: relative;
}

#fanupdate .fu-entry::before {
    background: linear-gradient(90deg, var(--wine), var(--gold), var(--teal));
    content: '';
    height: 2px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

#fanupdate .fu-entry:last-of-type {
    margin-bottom: 0;
}

p.catfile {
    color: var(--text-dim);
    font-size: 0.7em;
    letter-spacing: 0.08em;
    margin-bottom: 1em;
    padding: 0;
    text-transform: uppercase;
}

/* Category-filter links inside catfile. */
.fu-cat-link {
    color: var(--text-dim);
    font-size: inherit;
    letter-spacing: inherit;
}

/* Comment-count link in catfile (e.g. "3 comments"). */
.fu-comment-count-link {
    color: var(--text-dim);
    font-size: inherit;
    letter-spacing: inherit;
}

/* Entry date in the category archive listing (show-cat.php). */
span.date {
    color: var(--gold);
    font-size: 0.8em;
    letter-spacing: 0.03em;
}

/* ── Images inserted via the post editor's "Insert Image" button ── */

a.fu-lightbox {
    background: var(--ink-light);
    border: 1px solid rgba(201, 163, 94, 0.15);
    border-radius: 8px;
    display: inline-block;
    overflow: hidden;
    position: relative;
    transition: border-color 0.25s, box-shadow 0.25s;
}

a.fu-lightbox::before {
    background: linear-gradient(90deg, var(--wine), var(--gold), var(--teal));
    content: '';
    height: 2px;
    left: 0;
    opacity: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: opacity 0.25s;
    z-index: 1;
}

a.fu-lightbox:hover,
a.fu-lightbox:focus {
    border-color: rgba(201, 163, 94, 0.4);
    box-shadow: 0 4px 14px rgba(95, 179, 189, 0.18), 0 0 14px rgba(201, 163, 94, 0.15);
    outline: none;
}

a.fu-lightbox:hover::before,
a.fu-lightbox:focus::before {
    opacity: 1;
}

a.fu-lightbox img {
    cursor: zoom-in;
    display: block;
    height: auto;
    max-width: 100%;
    transition: opacity 0.2s;
}

a.fu-lightbox:hover img,
a.fu-lightbox:focus img {
    opacity: 0.9;
}

a.fu-lightbox.fu-img-left {
    float: left;
    margin: 0 1.25em 0.75em 0;
}

a.fu-lightbox.fu-img-right {
    float: right;
    margin: 0 0 0.75em 1.25em;
}

a.fu-lightbox.fu-img-center {
    display: block;
    margin: 1.2em auto;
}

/* ── Archives (?view=archive) ── */

#fanupdate .fu-archive-list {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
}

#fanupdate .fu-archive-item {
    border-bottom: 1px solid rgba(201, 163, 94, 0.1);
    color: var(--text);
    font-size: 0.95em;
    padding: 0.6rem 0;
    text-align: left;
}

#fanupdate .fu-archive-item:last-child {
    border-bottom: none;
}

#fanupdate .fu-archive-count {
    color: var(--text-dim);
    font-size: 0.75em;
    margin-left: 0.3em;
}

/* ── Comments ── */

div#comments {
    border-top: 1px solid rgba(201, 163, 94, 0.15);
    margin-top: 2rem;
    padding-top: 1.4rem;
}

/* Shown in place of the comment list/form when comments are off. */
p.comments-closed {
    color: var(--text-dim);
    font-style: italic;
}

/* Comment validation/spam-guard error messages. */
p.error,
ul.error {
    background: rgba(92, 36, 53, 0.25);
    border: 1px solid rgba(92, 36, 53, 0.6);
    border-radius: 8px;
    color: #e79bb0;
    font-size: 0.9em;
    list-style: none;
    margin-bottom: 1rem;
    padding: 0.8rem 1.1rem;
    text-align: left;
}

ul.error li {
    margin: 0;
}

ul.error li + li {
    margin-top: 0.3rem;
}

/* Every comment always carries both "comment" and "fu-comment" — the
   latter follows the fu- prefix used elsewhere (fu-entry, fu-lightbox)
   and is the selector to style against going forward. */
#fanupdate .fu-comment {
    background: var(--ink-light);
    border: 1px solid rgba(201, 163, 94, 0.1);
    border-radius: 12px;
    clear: both;
    margin-bottom: 0.8rem;
    padding: 1.1rem 1.3rem;
    text-align: left;
}

#fanupdate .fu-comment p {
    font-size: 0.92em;
    margin-bottom: 0;
    text-shadow: none;
}

#fanupdate .fu-comment p.commenter {
    color: var(--gold);
    font-size: 0.68em;
    letter-spacing: 0.14em;
    margin-bottom: 0.5em;
    padding: 0;
    text-transform: uppercase;
}

div#newComment {
    border-top: 1px solid rgba(201, 163, 94, 0.15);
    margin-top: 2rem;
    padding-top: 1.4rem;
}

img.gravatar {
    border: 1px solid rgba(201, 163, 94, 0.25);
    border-radius: 50%;
    float: right;
    margin: 0 0 1em 1em;
}

/* ── Comment form ── */

form#comments-form {}

h3#postcomment {
    margin-top: 1.6rem;
}

p#cmt-rules,
p#cmt-moderation {
    color: var(--text-dim);
    font-size: 0.82em;
    margin-bottom: 0.8rem;
    text-align: left;
}

/* Moderation notice in the built-in fallback comment form template. */
p.hint {
    color: var(--text-dim);
    font-size: 0.82em;
    font-style: italic;
    margin: 0.4rem 0 0.8rem;
    text-align: left;
}

/* "Remember me" checkbox label. */
label.checkbox {
    color: var(--text-mid);
    display: inline;
    float: none;
    font-size: 0.9em;
    text-align: left;
    text-transform: none;
    width: auto;
}

/* Comment form submit button. */
.submit {
    background: linear-gradient(120deg, var(--wine), var(--gold) 60%, var(--teal));
    border: none;
    border-radius: 999px;
    color: var(--ink);
    cursor: pointer;
    font-size: 0.72em;
    font-weight: 700;
    letter-spacing: 0.14em;
    padding: 0.6rem 1.6rem;
    text-transform: uppercase;
    transition: all 0.25s ease;
}

.submit:hover {
    box-shadow: 0 4px 20px rgba(201, 163, 94, 0.35);
    transform: translateY(-2px);
}

#captcha-img {
    border: 1px solid rgba(201, 163, 94, 0.25);
    border-radius: 6px;
    display: block;
    margin: 0.4rem 0 0.8rem;
}

#fanupdate label {
    color: var(--text-dim);
    display: block;
    float: left;
    font-size: 0.72em;
    letter-spacing: 0.06em;
    margin: 0 0.6em 0.5em 0;
    padding-top: 0.55em;
    text-align: right;
    text-transform: uppercase;
    width: 9em;
}

#fanupdate input,
#fanupdate textarea,
#fanupdate select,
#fanupdate option {
    background: rgba(7, 5, 10, 0.6);
    border: 1px solid rgba(201, 163, 94, 0.25);
    border-radius: 6px;
    color: var(--text-mid);
    font-family: 'Arima', serif;
    font-size: 1em;
    padding: 0.5em 0.8em;
    transition: border-color 0.2s, box-shadow 0.2s;
}

#fanupdate input:focus,
#fanupdate textarea:focus,
#fanupdate select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 163, 94, 0.18);
    outline: none;
}

#fanupdate textarea {
    width: 100%;
}

/* ── FanUpdate footer bits ── */

a.rss {
    background: rgba(95, 179, 189, 0.1);
    border: 1px solid rgba(95, 179, 189, 0.3);
    border-radius: 999px;
    color: var(--teal);
    font-size: 0.68em;
    letter-spacing: 0.1em;
    padding: 0.25em 0.75em;
    text-decoration: none;
    transition: all 0.2s ease;
}

a.rss:hover {
    border-color: var(--gold);
    color: var(--gold-bright);
}

div.archivelink {
    color: var(--text-dim);
    font-size: 0.75em;
    letter-spacing: 0.05em;
    margin: 2em 0 0;
    text-align: right;
}

div.archivelink a {
    border-bottom-color: rgba(95, 179, 189, 0.35);
}

/* main/archive nav links. */
.fu-nav-link {
    border-bottom-color: rgba(95, 179, 189, 0.35);
    color: var(--text-dim);
    font-size: inherit;
    letter-spacing: inherit;
}

div.credit {
    border-top: 1px solid rgba(201, 163, 94, 0.12);
    clear: both;
    margin: 1.5em 0 0;
    padding-top: 1.2em;
    text-align: center;
}

/* Credit link. */
.fu-credit-link {
    color: var(--text-dim);
    font-size: inherit;
    letter-spacing: inherit;
}

div.credit p {
    color: var(--text-dim);
    font-size: 0.72em;
    letter-spacing: 0.08em;
    margin: 0;
    text-transform: uppercase;
}

/* -- SiteSkin Redux -- */
p.siteskin-redux-skin
{
    text-align: center;
}

img.siteskin-redux-skin-thumb
{
    backdrop-filter: blur(8px); /* Optional: creates a frosted glass effect */
    background-color: rgba(50, 46, 46, 0.2);
    border: 1px solid rgba(90, 87, 87, 0.4);
    border-radius: 12px;
    box-shadow: 0 8px 32px 0 rgba(56, 55, 59, 0.3); /* Soft lavender-tinted shadow */
    display: inline;
    height: auto;
    margin: 0 auto;
    max-width: 100%;
    width: 200px;
}