/*
 * ============================================
 * Theme Name: Solstice - Unloved Heart Collective Site Skin
 * Author: intothisshadow
 * Author URI: https://www.unloved-heart.net
 * ==============================================================
 */

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

:root {
    --g1: #ace5d1;
    --g2: #b8ebd9;
    --g3: #c6d4e9;
    --g4: #d4bce2;
    --g5: #e1bfd1;
    --g6: #ecdad9;
    --g7: #f1ece9;
    --g8: #f2e0e2;
    --bg: linear-gradient(225deg, #ace5d1 0%, #b8ebd9 14.286%, #c6d4e9 28.571%, #d4bce2 42.857%, #e1bfd1 57.143%, #ecdad9 71.429%, #f1ece9 85.714%, #f2e0e2 100%);
    --text-dark: #2e3540;
    --text-mid: #5a5f6e;
    --text-light: #9097a8;
    --glass: rgba(255,255,255,0.45);
    --glass-hover: rgba(255,255,255,0.65);
    --border: rgba(255,255,255,0.7);
    --border-soft: rgba(200,210,220,0.4);
    --shadow: rgba(80,100,130,0.09);
    --accent-mint: #ace5d1;
    --accent-lilac: #d4bce2;
    --accent-blush: #e1bfd1;
}

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    background-attachment: fixed;
    color: var(--text-dark);
    font-family: 'DM Sans', sans-serif;
    font-weight: 300;
    min-height: 100vh;
    overflow-x: hidden;
}

p {
    color: var(--text-mid);
    font-size: 1.05rem;
    line-height: 1.85;
    margin-bottom: 1.5rem;
}

blockquote {
    backdrop-filter: blur(8px);
    background: rgba(255,255,255,0.22);
    font-family: 'EB Garamond', serif;
    font-size: 1.18rem;
    font-style: italic;
    line-height: 1.8;
    margin: 0.4rem 0 1.5rem;
    padding: 1.2rem 1.8rem 1.2rem 2.4rem;
    position: relative;
    -webkit-backdrop-filter: blur(8px);
    border-left: 2px solid var(--accent-lilac);
    border-radius: 0 12px 12px 0;
    box-shadow: 0 3px 14px var(--shadow);
}
blockquote::before {
    color: var(--accent-lilac);
    content: '\201C';
    font-family: 'EB Garamond', serif;
    font-size: 3.8rem;
    left: 0.5rem;
    line-height: 1;
    opacity: 0.4;
    pointer-events: none;
    position: absolute;
    top: 0.1rem;
}
blockquote cite {
    color: var(--text-light);
    display: block;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.65rem;
    font-style: normal;
    font-weight: 300;
    letter-spacing: 0.18em;
    margin-top: 0.85rem;
    text-transform: uppercase;
}
blockquote cite::before { content: '\2014\00A0'; }

/* base links */
a {
    color: var(--text-mid);
    text-decoration-color: rgba(212,188,226,0.5);
    text-decoration-line: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color 0.2s, text-decoration-color 0.2s;
}
a:visited {
    color: var(--text-light);
    text-decoration-color: rgba(225,191,209,0.5);
}
a:hover {
    color: var(--text-dark);
    text-decoration-color: var(--accent-mint);
}
a:active {
    color: var(--text-dark);
    text-decoration-color: var(--accent-lilac);
}
a:focus-visible {
    border-radius: 2px;
    color: var(--text-dark);
    outline: 2px solid var(--accent-lilac);
    outline-offset: 2px;
    text-decoration-color: var(--accent-lilac);
}

/* subtle grain */
body::after {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
    content: '';
    inset: 0;
    opacity: 0.025;
    pointer-events: none;
    position: fixed;
    z-index: 0;
}

/* floating orbs */
.orb {
    animation: float 22s ease-in-out infinite alternate;
    border-radius: 50%;
    pointer-events: none;
    position: fixed;
    z-index: 0;
}
.orb-1 { animation-delay: 0s; background: radial-gradient(circle, rgba(172,229,209,0.3) 0%, transparent 70%); height: 500px; right: -100px; top: -180px; width: 500px; }
.orb-2 { animation-delay: -8s; background: radial-gradient(circle, rgba(212,188,226,0.28) 0%, transparent 70%); bottom: -80px; height: 360px; left: -80px; width: 360px; }
.orb-3 { animation-delay: -14s; background: radial-gradient(circle, rgba(225,191,209,0.25) 0%, transparent 70%); height: 260px; left: 55%; top: 40%; width: 260px; }
@keyframes float {
    from { transform: translate(0,0) scale(1); }
    to   { transform: translate(25px, 15px) scale(1.06); }
}

/* layout */
.wrapper {
    margin: 0 auto;
    max-width: 900px;
    padding: 0 2rem 5rem;
    position: relative;
    z-index: 1;
}

/* === HEADER === */
header {
    animation: riseIn 1s ease both;
    padding: 5.5rem 0 2.5rem;
}
.site-sup {
    color: var(--text-light);
    font-size: 0.65rem;
    font-weight: 200;
    letter-spacing: 0.38em;
    margin-bottom: 0.7rem;
    text-transform: uppercase;
}
.site-name {
    color: var(--text-dark);
    font-family: 'EB Garamond', serif;
    font-size: clamp(3.8rem, 10vw, 7rem);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 0.92;
}
.site-name span { color: var(--text-mid); font-style: italic; }
.site-sub {
    color: var(--text-light);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    margin-top: 1.1rem;
    text-transform: uppercase;
}

/* nav */
nav {
    animation: riseIn 1s 0.1s ease both;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 2.2rem;
}
nav a {
    backdrop-filter: blur(10px);
    background: var(--glass);
    border: 1px solid var(--border-soft);
    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.22s;
}
nav a:hover {
    background: var(--glass-hover);
    border-color: rgba(255,255,255,0.85);
    box-shadow: 0 4px 12px var(--shadow);
    color: var(--text-dark);
    transform: translateY(-2px);
}

/* thin rule */
.rule {
    background: linear-gradient(90deg, var(--accent-mint), var(--accent-lilac), var(--accent-blush), transparent);
    border: none;
    height: 1px;
    margin: 3rem 0 0;
    opacity: 0.5;
}

/* ============================================
 *   Shared component classes — CLAUDE.MD spec
 *   Canonical names with backward-compat aliases
 *   ============================================ */

/* Panel — primary content container */
.site-panel,
.content-card
{
    animation: riseIn 1s 0.2s ease both;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: 0 6px 28px var(--shadow);
    padding: 2.4rem 2.8rem;
}

/* Section header — the div container; h2 inside gets label treatment */
.site-section-header,
.section-label
{
    align-items: center;
    display: flex;
    gap: 1.5rem;
    margin: 3rem 0 1.2rem;
}

.site-section-header::after,
.section-label::after
{
    background: var(--border-soft);
    content: '';
    flex: 1;
    height: 1px;
}

.site-section-header h2
{
    color: var(--text-dark);
    font-family: 'EB Garamond', serif;
    font-size: 1.55rem;
    font-weight: 400;
    letter-spacing: normal;
    margin: 0;
    text-align: left;
    text-transform: none;
    white-space: nowrap;
}

.site-section-header h2 em { color: var(--text-mid); font-style: italic; }

/* Stats row */
.site-stats,
.stats-row
{
    animation: riseIn 1s 0.25s ease both;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.2rem;
}

/* Individual stat card */
.site-stat,
.stat
{
    backdrop-filter: blur(14px);
    background: var(--glass);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 4px 20px var(--shadow);
    flex: 1;
    min-width: 120px;
    padding: 1.2rem 1.5rem;
    text-align: center;
}

/* Stat number / content */
.site-stat-content,
.stat-num
{
    color: var(--text-dark);
    font-family: 'EB Garamond', serif;
    font-size: 2.2rem;
    font-weight: 400;
    line-height: 1;
}

.stat-label
{
    color: var(--text-light);
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    margin-top: 0.3rem;
    text-transform: uppercase;
}

/* Grid — multi-column layout */
.site-grid,
.affiliates-grid
{
    animation: riseIn 1s 0.35s ease both;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Site table */
.site-table,
.fl-table
{
    animation: riseIn 1s 0.25s ease both;
    border-collapse: collapse;
    width: 100%;
}
.site-table thead tr,
.fl-table thead tr
{
    border-bottom: 1px solid var(--border-soft);
}
.site-table th,
.fl-table th
{
    color: var(--text-light);
    font-size: 0.6rem;
    font-weight: 300;
    letter-spacing: 0.25em;
    padding: 0 1rem 0.9rem;
    text-align: left;
    text-transform: uppercase;
}
.site-table th:first-child,
.fl-table th:first-child { padding-left: 0; }
.site-table th:last-child,
.fl-table th:last-child { text-align: right; }
.site-table tbody tr,
.fl-table tbody tr
{
    border-bottom: 1px solid rgba(200,210,220,0.2);
    cursor: pointer;
    transition: background 0.2s;
}
.site-table tbody tr:hover,
.fl-table tbody tr:hover { background: rgba(255,255,255,0.35); }
.site-table td,
.fl-table td
{
    color: var(--text-mid);
    font-size: 0.85rem;
    padding: 1.05rem 1rem;
    vertical-align: middle;
}
.site-table td:first-child,
.fl-table td:first-child { padding-left: 0; }
.site-table td:last-child,
.fl-table td:last-child { text-align: right; }

.td-title {
    color: var(--text-dark);
    display: block;
    font-family: 'EB Garamond', serif;
    font-size: 1.1rem;
    line-height: 1.2;
}
.td-title em { color: var(--text-mid); font-style: italic; }
.td-cat {
    color: var(--text-light);
    display: block;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    margin-top: 0.15rem;
}
.pill {
    background: rgba(255,255,255,0.5);
    border: 1px solid var(--border-soft);
    border-radius: 30px;
    color: var(--text-mid);
    display: inline-block;
    font-size: 0.6rem;
    letter-spacing: 0.12em;
    padding: 0.22rem 0.65rem;
    text-transform: uppercase;
}
.pill-open { background: rgba(172,229,209,0.18); border-color: rgba(172,229,209,0.6); color: #3a7a65; }
.td-num {
    color: var(--text-dark);
    font-family: 'EB Garamond', serif;
    font-size: 1.25rem;
}

/* Affiliates container */
.site-affiliates
{
    animation: riseIn 1s 0.35s ease both;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* === Backward-compat aliases for legacy Solstice-specific classes ===
 *   These will be removed once all templates are fully migrated. */

.about-panel {
    animation: riseIn 1s 0.2s ease both;
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr 1fr;
}
.about-text {
    backdrop-filter: blur(16px);
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: 0 6px 28px var(--shadow);
    grid-column: 1 / -1;
    padding: 2rem 2.2rem;
}
.about-text p {
    color: var(--text-mid);
    font-size: 0.88rem;
    line-height: 1.95;
}
.about-text p + p { margin-top: 0.8rem; }

.two-col {
    animation: riseIn 1s 0.3s ease both;
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr 1fr;
}

.panel {
    backdrop-filter: blur(14px);
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 4px 20px var(--shadow);
    padding: 1.6rem 1.8rem;
}
.panel-title {
    border-bottom: 1px solid var(--border-soft);
    color: var(--text-light);
    font-size: 0.62rem;
    font-weight: 300;
    letter-spacing: 0.28em;
    margin-bottom: 1.2rem;
    padding-bottom: 0.8rem;
    text-transform: uppercase;
}

/* colour chip row */
.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.4rem;
}
.chip {
    align-items: center;
    background: rgba(255,255,255,0.5);
    border: 1px solid var(--border);
    border-radius: 30px;
    color: var(--text-mid);
    display: inline-flex;
    font-size: 0.65rem;
    gap: 0.45rem;
    letter-spacing: 0.12em;
    padding: 0.3rem 0.75rem 0.3rem 0.5rem;
    text-transform: uppercase;
}
.chip-dot {
    border-radius: 50%;
    flex-shrink: 0; height: 8px;
    width: 8px;
}

/* recent members */
.member-list { display: flex; flex-direction: column; gap: 0.55rem; }
.member-row {
    align-items: center;
    display: flex;
    font-size: 0.8rem;
    gap: 0.8rem;
}
.member-avatar {
    border: 1px solid var(--border);
    border-radius: 50%;
    flex-shrink: 0; height: 28px;
    width: 28px;
}
.member-name { color: var(--text-dark); flex: 1; font-size: 0.83rem; }
.member-fl { color: var(--text-light); font-size: 0.68rem; margin-top: 0.05rem; }
.member-time { color: var(--text-light); font-size: 0.65rem; white-space: nowrap; }

/* upcoming */
.upcoming-list { display: flex; flex-direction: column; gap: 0.6rem; }
.upcoming-row {
    align-items: flex-start;
    display: flex;
    gap: 0.85rem;
}
.upcoming-dot {
    border-radius: 50%;
    flex-shrink: 0; height: 7px;
    margin-top: 0.35rem;
    width: 7px;
}
.upcoming-title {
    color: var(--text-dark);
    font-family: 'EB Garamond', serif;
    font-size: 1rem;
    line-height: 1.2;
}
.upcoming-title em { color: var(--text-mid); font-style: italic; }
.upcoming-cat { color: var(--text-light); font-size: 0.65rem; margin-top: 0.1rem; }
.upcoming-tag {
    color: var(--text-light);
    font-size: 0.58rem;
    letter-spacing: 0.1em;
    margin-left: auto;
    padding-top: 0.1rem;
    text-transform: uppercase;
    white-space: nowrap;
}

.affiliate {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-mid);
    font-size: 0.72rem;
    padding: 0.38rem 0.9rem;
    text-decoration: none;
    transition: all 0.2s;
}
.affiliate:hover {
    background: var(--glass-hover);
    box-shadow: 0 4px 10px var(--shadow);
    color: var(--text-dark);
    transform: translateY(-2px);
}

/* === FANUPDATE === */

div#fanupdate {
    animation: riseIn 1s 0.2s ease both;
}

h1 {
    color: var(--text-dark);
    font-family: 'EB Garamond', serif;
    font-size: 2.1rem;
    font-weight: 400;
    margin: 0 0 1.4rem;
}

h2 {
    color: var(--text-dark);
    font-family: 'EB Garamond', serif;
    font-size: 1.55rem;
    font-weight: 400;
    margin: 0 0 1.2rem;
}

h3 {
    color: var(--text-dark);
    font-family: 'EB Garamond', serif;
    font-size: 1.15rem;
    font-style: italic;
    font-weight: 400;
    margin: 0 0 0.7rem;
}

h4 {
    color: var(--text-dark);
    font-family: 'EB Garamond', serif;
    font-size: 1rem;
    font-weight: 500;
    margin: 0 0 0.6rem;
}

h5 {
    color: var(--text-mid);
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.18em;
    margin: 0 0 0.6rem;
    text-transform: uppercase;
}

h6 {
    color: var(--text-light);
    font-size: 0.62rem;
    font-weight: 300;
    letter-spacing: 0.22em;
    margin: 0 0 0.6rem;
    text-transform: uppercase;
}

/* heading links (e.g. the post-title permalink in h2) — all states */
div#fanupdate h1 a,
div#fanupdate h2 a,
div#fanupdate h3 a,
div#fanupdate h4 a,
div#fanupdate h5 a,
div#fanupdate h6 a {
    color: var(--text-dark);
    text-decoration-color: rgba(212,188,226,0.5);
    text-decoration-line: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color 0.2s, text-decoration-color 0.2s;
}
div#fanupdate h1 a:visited,
div#fanupdate h2 a:visited,
div#fanupdate h3 a:visited,
div#fanupdate h4 a:visited,
div#fanupdate h5 a:visited,
div#fanupdate h6 a:visited {
    color: var(--text-mid);
}
div#fanupdate h1 a:hover,
div#fanupdate h2 a:hover,
div#fanupdate h3 a:hover,
div#fanupdate h4 a:hover,
div#fanupdate h5 a:hover,
div#fanupdate h6 a:hover {
    color: var(--text-dark);
    text-decoration-color: var(--accent-mint);
}
div#fanupdate h1 a:active,
div#fanupdate h2 a:active,
div#fanupdate h3 a:active,
div#fanupdate h4 a:active,
div#fanupdate h5 a:active,
div#fanupdate h6 a:active {
    color: var(--text-dark);
    text-decoration-color: var(--accent-lilac);
}
div#fanupdate h1 a:focus-visible,
div#fanupdate h2 a:focus-visible,
div#fanupdate h3 a:focus-visible,
div#fanupdate h4 a:focus-visible,
div#fanupdate h5 a:focus-visible,
div#fanupdate h6 a:focus-visible {
    border-radius: 2px;
    color: var(--text-dark);
    outline: 2px solid var(--accent-lilac);
    outline-offset: 2px;
    text-decoration-color: var(--accent-lilac);
}

/* ==== Entries ==== */

/* Each post — set via Admin -> Templates -> entry_template, which wraps
   {{title}}/{{catfile}}/{{body}} in <div class="fu-entry">...</div>. Without
   that wrapper this rule matches nothing and posts fall back to plain flow. */
#fanupdate .fu-entry {
    background: rgba(212,188,226,0.14);
    border: 1px solid rgba(212,188,226,0.35);
    border-radius: 16px;
    box-shadow: 0 4px 18px var(--shadow);
    margin-bottom: 1.4rem;
    padding: 1.8rem 2rem;
}

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

p.catfile {
    color: var(--text-light);
    font-size: 0.62rem;
    font-weight: 300;
    letter-spacing: 0.18em;
    margin-bottom: 1.2rem;
    margin-top: -0.5rem;
    padding: 0;
    text-transform: uppercase;
}

/* Entry date in the category archive listing (show-cat.php). */
span.date {
    color: var(--text-light);
    font-size: 0.65rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

/* ==== 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 var(--border-soft);
    color: var(--text-mid);
    font-size: 0.9rem;
    padding: 0.65rem 0;
}

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

#fanupdate .fu-archive-count {
    color: var(--text-light);
    font-size: 0.68rem;
    letter-spacing: 0.05em;
    margin-left: 0.3rem;
}

/* ==== Images ==== */

a.fu-lightbox {
    border: 1px solid var(--border);
    border-radius: 10px;
    display: inline-block;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

a.fu-lightbox:hover,
a.fu-lightbox:focus {
    border-color: var(--accent-lilac);
    box-shadow: 0 4px 16px var(--shadow);
}

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

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: 0.75em auto;
}

/* ==== Comments ==== */

div#comments {
    border-top: 1px solid var(--border-soft);
    margin-top: 2.5rem;
    padding-top: 2rem;
}

/* Shown in place of the comment list/form when an entry has comments off. */
p.comments-closed {
    color: var(--text-light);
    font-size: 0.88rem;
}

/* Comment validation/spam-guard error messages. */
p.error, ul.error {
    background: rgba(200,80,80,0.08);
    border: 1px solid rgba(200,80,80,0.25);
    border-radius: 10px;
    color: #a04a4a;
    font-size: 0.85rem;
    list-style: none;
    margin-bottom: 1rem;
    padding: 0.8rem 1.1rem;
}

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 {
    backdrop-filter: blur(8px);
    background: rgba(255,255,255,0.22);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    border-radius: 14px;
    clear: both;
    margin-bottom: 0.6rem;
    padding: 1.1rem 1.4rem;
}

#fanupdate .fu-comment p {
    font-size: 0.88rem;
    line-height: 1.75;
    margin-bottom: 0;
    padding: 0;
}

#fanupdate .fu-comment p.commenter {
    color: var(--text-light);
    font-size: 0.62rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    margin-bottom: 0.6rem;
    padding: 0;
    text-transform: uppercase;
}

div.odd { background: rgba(255,255,255,0.35); }

div.author {
    color: var(--text-light);
    font-size: 0.62rem;
    font-weight: 300;
    letter-spacing: 0.18em;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

div#newComment {
    border-top: 1px solid var(--border-soft);
    margin-top: 2.5rem;
    padding-top: 2rem;
}

img.gravatar {
    border: 1px solid var(--border);
    border-radius: 50%;
    float: right;
    height: 44px;
    margin: 0 0 1rem 1.2rem;
    width: 44px;
}

/* ==== Comment Form ==== */

div.comments-form {}

form#comments-form {}

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

p#cmt-rules,
p#cmt-moderation {
    color: var(--text-light);
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    margin-bottom: 1rem;
}

/* Moderation notice in the built-in fallback comment form template. */
p.hint {
    color: var(--text-light);
    font-size: 0.7rem;
    font-style: italic;
    letter-spacing: 0.04em;
    margin: 0.4rem 0 1rem;
}

label {
    color: var(--text-light);
    display: block;
    float: left;
    font-size: 0.62rem;
    font-weight: 300;
    letter-spacing: 0.18em;
    margin: 0 0.6em 0 0;
    padding-top: 0.55rem;
    text-align: right;
    text-transform: uppercase;
    width: 9em;
}

input, textarea, select, option {
    background: rgba(255,255,255,0.35);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-dark);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.88rem;
    font-weight: 300;
    outline: none;
    padding: 0.48rem 0.8rem;
    transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

input:focus, textarea:focus, select:focus {
    background: rgba(255,255,255,0.6);
    border-color: var(--accent-lilac);
    box-shadow: 0 0 0 3px rgba(212,188,226,0.18);
}

textarea {
    min-height: 110px;
    resize: vertical;
    width: 100%;
}

/* "Remember me" checkbox label. */
label.checkbox {
    float: none;
    font-size: 0.78rem;
    letter-spacing: normal;
    padding-top: 0;
    text-align: left;
    text-transform: none;
    width: auto;
}

/* Comment form submit button. */
.submit {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 30px;
    color: var(--text-dark);
    cursor: pointer;
    font-size: 0.7rem;
    font-weight: 300;
    letter-spacing: 0.18em;
    padding: 0.55rem 1.5rem;
    text-transform: uppercase;
    transition: all 0.22s;
}

.submit:hover {
    background: var(--glass-hover);
    box-shadow: 0 4px 12px var(--shadow);
    transform: translateY(-2px);
}

#captcha-img {
    border: 1px solid var(--border);
    border-radius: 8px;
    display: block;
    margin: 0.4rem 0 0.8rem;
}

.wysiwygmenu {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.wysiwygmenu a {
    background: var(--glass);
    border: 1px solid var(--border-soft);
    border-radius: 4px;
    color: var(--text-mid);
    font-size: 0.6rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    padding: 0.2rem 0.5rem;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.18s;
}

.wysiwygmenu a:hover {
    background: var(--glass-hover);
    box-shadow: 0 2px 6px var(--shadow);
    color: var(--text-dark);
    transform: translateY(-1px);
}

/* ==== Footer ==== */

a.rss {
    background: var(--glass);
    border: 1px solid var(--border-soft);
    border-radius: 4px;
    color: var(--text-light);
    font-size: 0.62rem;
    font-weight: 300;
    letter-spacing: 0.18em;
    padding: 0.28rem 0.7rem;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.2s;
}

a.rss:hover {
    background: var(--glass-hover);
    box-shadow: 0 3px 8px var(--shadow);
    color: var(--text-dark);
    transform: translateY(-1px);
}

div.archivelink {
    color: var(--text-light);
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    margin: 2rem 0 0;
    text-align: right;
    text-transform: uppercase;
}

div.archivelink a {
    color: var(--text-mid);
    text-decoration: none;
}

div.archivelink a:hover {
    color: var(--text-dark);
    text-decoration: underline;
}

div.credit {
    border-top: 1px solid var(--border-soft);
    clear: both;
    margin: 2rem 0 0;
    padding-top: 1.5rem;
    text-align: center;
}

div.credit p {
    color: var(--text-light);
    font-size: 0.62rem;
    letter-spacing: 0.2em;
    margin: 0;
    opacity: 0.6;
    text-transform: uppercase;
}

/* === FOOTER === */
.skin-credit
{
    color: var(--text-light);
    font-size: 0.62rem;
    letter-spacing: 0.2em;
    margin-top: 0.5rem;
    opacity: 0.6;
    text-align: center;
    text-transform: uppercase;
}

footer {
    align-items: start;
    animation: riseIn 1s 0.4s ease both;
    border-top: 1px solid var(--border-soft);
    display: grid;
    gap: 2rem;
    grid-template-columns: auto 1fr;
    margin-top: 4.5rem;
    padding-top: 2.5rem;
}
.footer-brand {
    color: var(--text-mid);
    font-family: 'EB Garamond', serif;
    font-size: 2.2rem;
    font-style: italic;
    line-height: 1;
}
.footer-brand span { color: var(--text-light); display: block; font-family: 'DM Sans', sans-serif; font-size: 0.65rem; font-style: normal; font-weight: 200; letter-spacing: 0.25em; margin-top: 0.3rem; text-transform: uppercase; }
.footer-info {
    color: var(--text-light);
    font-size: 0.74rem;
    line-height: 2;
    text-align: right;
}
.footer-info a { color: var(--text-mid); text-decoration: none; }
.footer-info a:hover { color: var(--text-dark); text-decoration: underline; }

/* -- 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(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    box-shadow: 0 8px 32px 0 rgba(199, 187, 219, 0.3); /* Soft lavender-tinted shadow */
    display: inline;
    height: auto;
    margin: 0 auto;
    max-width: 100%;
    width: 150px;
}

.fff-collective-badge {
    text-align: center;
}

/* anim */
@keyframes riseIn {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* responsive */
@media (max-width: 640px) {
    header { padding: 3.5rem 0 2rem; }
    .about-panel, .two-col { grid-template-columns: 1fr; }
    .site-table th:nth-child(3),
    .fl-table th:nth-child(3),
    .site-table td:nth-child(3),
    .fl-table td:nth-child(3) { display: none; }
    footer { grid-template-columns: 1fr; }
    .footer-info { text-align: left; }
    .site-panel,
    .content-card { padding: 1.6rem 1.4rem; }
    .site-stats,
    .stats-row { gap: 0.6rem; }
    img.skin { max-width: 80% !important; width: 80% !important; }

    /* Fix: section-header title overflowing off-screen on mobile.
     *       white-space:nowrap is needed on desktop so ::after fills the remaining
     *       space, but on small screens we drop the decorative line and let the
     *       heading wrap naturally instead. */
    .site-section-header {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    .site-section-header::after { display: none; }
    .site-section-header h2 {
        font-size: 1.25rem;
        overflow-wrap: break-word;
        white-space: normal;
        word-break: break-word;
    }

    /* Fix: .site-name uses clamp(3.8rem, 10vw, 7rem); the 3.8rem floor
     *       (≈ 61 px) overrides the 10vw scale-down below ~380 px viewports,
     *       pushing "Solstice" past the right edge of the screen.
     *       Lower the floor so the vw value can do its job on narrow phones. */
    .site-name {
        font-size: clamp(1.8rem, 9vw, 3.8rem);
        line-height: 1;
    }
}
