/* ------------------------------------------------------------------
 * smorgasb.org — Hand-maintained stylesheet
 * Replaces machine-generated style.css (Editorial-2 / Publii legacy)
 * Modeled on the shayla site's clean CSS architecture
 * ------------------------------------------------------------------ */

@import url('https://fonts.googleapis.com/css2?family=PT+Serif:ital@0;1&display=swap');

/* ------------------------------------------------------------------
 * 1. Global Reset & Variables
 * ------------------------------------------------------------------ */

html {
    box-sizing: border-box;
}

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

:root {
    /* Fonts */
    --body-font: 'Lora', serif;
    --heading-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
        Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Arial, sans-serif,
        "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    --logo-font: var(--heading-font);
    --menu-font: var(--heading-font);

    /* Font weights */
    --font-weight-normal: 500;
    --font-weight-bold: 700;
    --headings-weight: 700;
    --headings-transform: none;
    --headings-style: normal;
    --headings-letter-spacing: 0em;
    --headings-line-height: 1.5;

    /* Spacing */
    --line-height: 1.65;
    --letter-spacing: 0em;

    /* Colors */
    --color: #2E7CDC;
    --color-rgb: 46, 124, 220;
    --text-color: #5b6166;
    --heading-color: #3d4449;
    --border-color: rgba(210, 215, 217, 0.75);
    --bg-light: #f5f6f7;
    --bg-code: rgba(230, 235, 237, 0.25);
    --text-light-color: #6e767c;
}

@font-face {
    font-family: Lora;
    src: url('../dynamic/fonts/lora/lora.woff2') format('woff2');
    font-weight: 400 700;
    font-display: swap;
    font-style: normal;
}

@font-face {
    font-family: Lora;
    src: url('../dynamic/fonts/lora/lora-italic.woff2') format('woff2');
    font-weight: 400 700;
    font-display: swap;
    font-style: italic;
}

body {
    margin: 0;
    background: #fff;
    color: var(--text-color);
    font-family: var(--body-font);
    font-size: 13pt;
    font-variation-settings: "wght" var(--font-weight-normal);
    letter-spacing: var(--letter-spacing);
    line-height: var(--line-height);
    -webkit-text-size-adjust: none;
}

/* ------------------------------------------------------------------
 * 2. Typography
 * ------------------------------------------------------------------ */

h1, h2, h3, h4, h5, h6 {
    color: var(--heading-color);
    font-family: var(--heading-font);
    font-variation-settings: "wght" var(--headings-weight);
    font-style: var(--headings-style);
    line-height: var(--headings-line-height);
    letter-spacing: var(--headings-letter-spacing);
    text-transform: var(--headings-transform);
    margin: 0 0 1em 0;
}

h1 { font-size: 3.5em; margin: 0 0 0.5em 0; line-height: 1.3; }
h2 { font-size: 1.75em; }
h3 { font-size: 1.25em; }
h4 { font-size: 1.1em; }
h5 { font-size: 0.9em; }
h6 { font-size: 0.7em; }

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    color: inherit;
    text-decoration: none;
    border-bottom: 0;
}

p {
    margin: 0 0 2em 0;
}

b, strong {
    color: var(--heading-color);
    font-variation-settings: "wght" var(--font-weight-bold);
}

em, i {
    font-style: italic;
}

sub {
    font-size: 0.8em;
    position: relative;
    top: 0.5em;
}

sup {
    font-size: 0.8em;
    position: relative;
    top: -0.5em;
}

a {
    color: var(--color);
    text-decoration: none;
    border-bottom: dotted 1px;
    transition: color 0.2s ease-in-out, border-bottom-color 0.2s ease-in-out;
}

a:hover {
    border-bottom-color: var(--color);
    color: var(--color);
}

a:hover strong {
    color: inherit;
}

blockquote {
    border-left: solid 3px var(--border-color);
    font-style: italic;
    margin: 0 0 2em 0;
    padding: 0.5em 0 0.5em 2em;
}

code {
    background: var(--bg-code);
    border-radius: 0.375em;
    border: solid 1px var(--border-color);
    font-family: "Courier New", monospace;
    font-size: 0.9em;
    font-weight: 600;
    margin: 0 0.25em;
    padding: 0.25em 0.65em;
}

pre {
    font-family: "Courier New", monospace;
    font-size: 0.9em;
    margin: 0 0 2em 0;
    -webkit-overflow-scrolling: touch;
}

pre code {
    display: block;
    line-height: 1.75;
    padding: 1em 1.5em;
    overflow-x: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* Monologue block: code-like styling with normal HTML formatting */
.monologue {
    background: var(--bg-code);
    border-radius: 0.375em;
    border: solid 1px var(--border-color);
    font-family: "Courier New", monospace;
    font-size: 0.9em;
    font-weight: 500;
    line-height: 1.75;
    margin: 0 0 2em 0;
    padding: 1em 1.5em;
    white-space: pre-wrap;
    word-wrap: break-word;
}

hr {
    border: 0;
    border-top: 1px solid var(--border-color);
    margin: 2em 0;
    height: 1px;
}

/* Disable the fancy Editorial-2 *** separator */
hr::before,
hr::after,
.separator::before {
    content: none !important;
}

hr.major {
    margin: 3em 0;
}

/* Lists */
ol {
    list-style: decimal;
    margin: 0 0 2em 0;
    padding-left: 1.25em;
}

ol li {
    padding-left: 0.25em;
}

ul {
    list-style: disc;
    margin: 0 0 2em 0;
    padding-left: 1em;
}

ul li {
    padding-left: 0.5em;
}

dl {
    margin: 0 0 2em 0;
}

dl dt {
    display: block;
    font-variation-settings: "wght" var(--font-weight-bold);
    margin: 0 0 1em 0;
}

dl dd {
    margin-left: 2em;
}

/* Tables */
table {
    margin: 0 0 2em 0;
    width: 100%;
    border-collapse: collapse;
}

table thead {
    border-bottom: solid 2px var(--border-color);
}

table tfoot {
    border-top: solid 2px var(--border-color);
}

table tbody tr {
    border: solid 1px var(--border-color);
    border-left: 0;
    border-right: 0;
}

table tbody tr:nth-child(odd) {
    background-color: var(--bg-code);
}

table td {
    padding: 0.75em 0.75em;
}

table th {
    color: var(--heading-color);
    font-size: 0.9em;
    font-variation-settings: "wght" var(--font-weight-bold);
    padding: 0 0.75em 0.75em 0.75em;
    text-align: left;
}

.table-wrapper {
    -webkit-overflow-scrolling: touch;
    overflow-x: auto;
}

/* Images */
img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    height: auto;
    max-width: 100%;
    vertical-align: top;
}

img[loading] {
    opacity: 0;
}

img.is-loaded {
    opacity: 1;
    transition: opacity 0.6s cubic-bezier(0.215, 0.61, 0.355, 1), transform 0.2s ease-out !important;
}

figure {
    margin: 0 0 2em 0;
}

/* ------------------------------------------------------------------
 * 3. Structural Layout
 * ------------------------------------------------------------------ */

#wrapper {
    display: flex;
    flex-direction: row-reverse;
    min-height: 100vh;
}

#main {
    flex-grow: 1;
    flex-shrink: 1;
    width: 100%;
}

#main > .inner {
    padding: 0 5em 0.1em 5em;
    margin: 0 auto;
    max-width: 110em;
}

#main > .inner > section {
    padding: 5em 0 3em 0;
    border-top: solid 2px var(--border-color);
}

#main > .inner > section:first-of-type {
    border-top: 0 !important;
}

/* Header */
#header {
    display: flex;
    border-bottom: solid 5px var(--color);
    padding: 1.5em 0 1em 0;
    position: relative;
}

#header > * {
    flex: 1;
    margin-bottom: 0;
}

#header .logo {
    border-bottom: 0;
    color: inherit;
    font-family: var(--logo-font);
    font-size: 1.125em;
}

#header .logo strong {
    display: flex;
    align-items: baseline;
    gap: 0.25em;
    flex-wrap: nowrap;
    font-size: 1.8em;
}

#header .logo strong a {
    text-decoration: none;
    border-bottom: none;
    color: inherit;
    transition: color 0.2s ease-in-out;
}

#header .logo strong a:hover {
    color: #3498db;
    text-decoration: none;
    border-bottom: none;
}

.header-category {
    font-size: 0.5em;
    color: var(--text-light-color) !important;
    border-bottom: none !important;
}

/* ------------------------------------------------------------------
 * 4. Sidebar
 * ------------------------------------------------------------------ */

#sidebar {
    flex-grow: 0;
    flex-shrink: 0;
    transition: margin-left 0.5s ease, box-shadow 0.5s ease;
    background-color: var(--bg-light);
    font-size: 0.9em;
    position: relative;
    width: 24em;
}

/* Inkhaven banner */
.inkhaven-banner {
    margin: 0 0 1.5em 0;
    padding: 0 0 1.5em 0;
}

.inkhaven-banner a {
    font-family: 'PT Serif', serif;
/*     font-style: italic; */
    font-size: 1.5em;
    color: #b8860b;
    text-decoration: none;
    border-bottom: none;
    letter-spacing: 0.01em;
}

.inkhaven-banner a:hover {
    color: #d4af37;
}

#sidebar h2 {
    font-size: 1.3888888889em;
}

#sidebar > .inner {
    padding: 1.6666666667em 1.6666666667em 1.3333333333em 1.6666666667em;
    position: relative;
    width: 24em;
}

#sidebar > .inner > * {
    border-bottom: solid 2px var(--border-color);
    margin: 0 0 3.5em 0;
    padding: 0 0 3.5em 0;
}

#sidebar > .inner > *:last-child {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Toggle button */
#sidebar .toggle {
    text-decoration: none;
    transition: left 0.5s ease;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
    border: 0;
    display: block;
    height: 6.25em;
    left: 24em;
    line-height: 6.25em;
    outline: 0;
    overflow: hidden;
    position: absolute;
    text-align: center;
    text-indent: 5em;
    white-space: nowrap;
    top: 0;
    width: 5em;
    z-index: 1000;
}

#sidebar .toggle:before {
    content: "\f0c9";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 1.5rem;
    height: inherit;
    left: 0;
    line-height: inherit;
    position: absolute;
    text-indent: 0;
    top: 0;
    width: inherit;
}

#sidebar.inactive {
    margin-left: -24em;
}

/* ------------------------------------------------------------------
 * 5. Menu & Submenu
 * ------------------------------------------------------------------ */

#menu ul {
    user-select: none;
    color: var(--heading-color);
    font-family: var(--menu-font);
    font-variation-settings: "wght" var(--font-weight-normal);
    letter-spacing: 0.075em;
    list-style: none;
    margin-bottom: 0;
    padding: 0;
    text-transform: uppercase;
}

#menu ul a,
#menu ul span {
    border-bottom: 0;
    color: inherit;
    cursor: pointer;
    display: block;
    font-size: 0.9em;
    padding: 0.625em 0;
}

#menu ul a:hover,
#menu ul span:hover {
    color: var(--color);
}

/* Top-level menu item dividers */
#menu > ul > li {
    border-top: solid 1px var(--border-color);
    margin: 0.5em 0 0 0;
    padding: 0.5em 0 0 0;
}

#menu > ul > li:first-child {
    border-top: 0;
    margin-top: 0;
    padding-top: 0;
}

/* Submenu (hidden by default, shown when .opener.active) */
#menu > ul > li > ul {
    color: #6d7072;
    display: none;
    margin: 0.5em 0 1.5em 0;
    padding-left: 1em;
}

#menu > ul > li > ul a,
#menu > ul > li > ul span {
    font-size: 0.8em;
}

#menu > ul > li > ul > li {
    margin: 0.125em 0 0 0;
    padding: 0.125em 0 0 0;
}

/* Opener (submenu toggle) */
#menu ul a.opener,
#menu ul span.opener {
    transition: color 0.2s ease-in-out;
    text-decoration: none;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
    position: relative;
}

#menu ul a.opener:before,
#menu ul span.opener:before {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    text-transform: none !important;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    transition: color 0.2s ease-in-out, transform 0.2s ease-in-out;
    color: #6d7072;
    content: "\f078";
    position: absolute;
    right: 0;
}

#menu ul a.opener:hover:before,
#menu ul span.opener:hover:before {
    color: var(--color);
}

#menu ul a.opener.active + ul,
#menu ul span.opener.active + ul {
    display: block;
}

#menu ul a.opener.active:before,
#menu ul span.opener.active:before {
    transform: rotate(-180deg);
}

/* Exciting menu item (new project highlight) */
#menu > ul > li.exciting > a {
    color: var(--color);
    font-variation-settings: "wght" 700;
}

#menu > ul > li.exciting > a:hover {
    color: #c9a227;
}

/* Secondary menu item (subordinate to exciting item) */
#menu > ul > li.secondary {
    border-top: none;
    margin-top: 0;
    padding-top: 0;
}

#menu > ul > li.secondary > a {
    font-size: 0.8em;
    color: #8a9099;
    padding-top: 0.15em;
    padding-bottom: 0.5em;
    padding-left: 0.75em;
    font-variation-settings: "wght" 400;
}

#menu > ul > li.secondary > a:hover {
    color: var(--color);
}

/* ------------------------------------------------------------------
 * 6. Post & Article
 * ------------------------------------------------------------------ */

.post {
    padding: 3em 0;
}

.post__header {
    text-align: center;
}

.post__header h2 {
    margin: 0 0 1em 0;
}

header.main > :last-child {
    margin: 0 0 1em 0;
}

header p {
    font-family: var(--heading-font);
    font-size: 1em;
    font-variation-settings: "wght" var(--font-weight-normal);
    letter-spacing: 0.075em;
    margin-top: -0.5em;
    text-transform: uppercase;
}

.post__inner {
    max-width: 760px;
    margin: 0 auto;
}

/* Post images */
.post__image {
    border: 0;
    border-radius: 0.375em;
    display: inline-block;
    position: relative;
}

.post__image img {
    border-radius: 0.375em;
}

.post__image > figcaption {
    font-size: 0.8em;
    margin-top: 0.5em;
    text-align: center;
}

.post__image--left {
    float: left;
    margin: 0 2em 2em 0;
    max-width: 40%;
    top: 0.75em;
}

.post__image--right {
    float: right;
    margin: 0 0 2em 2em;
    max-width: 40%;
    top: 0.75em;
}

.post__image--center {
    display: block;
    margin: 2.5em auto;
    text-align: center;
}

.post__image--center img {
    display: inline-block;
}

/* Responsive embeds */
.post__iframe,
.post__video {
    position: relative;
    display: block;
    margin-top: 2.5em;
    margin-bottom: 2.5em;
    overflow: hidden;
    padding: 0;
    width: 100%;
}

.post__iframe::before,
.post__video::before {
    display: block;
    content: "";
    padding-top: var(--embed-aspect-ratio);
}

.post__iframe iframe,
.post__iframe video,
.post__video iframe,
.post__video video {
    border: none;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
}

/* Tag pages */
.tag-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.tag-count {
    color: var(--text-light-color);
    font-weight: normal;
}

.posts-grid {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.post-card {
    padding: 0.4rem 0;
}

.post-card h2 {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
}

.post-date {
    color: var(--text-light-color);
    font-size: 0.85em;
    font-weight: normal;
    margin-right: 0.6em;
    font-variant-numeric: tabular-nums;
}

/* Full Width Content, like google maps, non-text things */
.full-width-template .post__inner {
    max-width: none; 
    padding-left: 0;
    padding-right: 0;
}

/* ------------------------------------------------------------------
 * 7. Components
 * ------------------------------------------------------------------ */

/* Buttons */
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    appearance: none;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
    background-color: transparent;
    border-radius: 0.375em;
    border: 0;
    box-shadow: inset 0 0 0 2px var(--color);
    color: var(--color);
    cursor: pointer;
    display: inline-block;
    font-family: var(--heading-font);
    font-size: 0.8em;
    font-variation-settings: "wght" var(--headings-weight);
    height: 3.5em;
    letter-spacing: 0.075em;
    line-height: 3.5em;
    padding: 0 2.25em;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}

.button:hover {
    background-color: rgba(var(--color-rgb), 0.05);
}

.button:active {
    background-color: rgba(var(--color-rgb), 0.15);
}

.button.primary {
    background-color: var(--color);
    box-shadow: none;
    color: #fff !important;
}

.button.primary:hover {
    background-color: rgba(var(--color-rgb), 0.8);
}

.button.fit {
    width: 100%;
}

.button.small {
    font-size: 0.6em;
}

.button.large {
    font-size: 1em;
    height: 3.65em;
    line-height: 3.65em;
}

.button.disabled {
    pointer-events: none;
    opacity: 0.25;
}

/* Forms */
label {
    color: var(--heading-color);
    display: block;
    font-size: 0.9em;
    font-variation-settings: "wght" var(--font-weight-bold);
    margin: 0 0 1em 0;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="search"],
input[type="url"],
select,
textarea {
    appearance: none;
    background: #fff;
    border-radius: 0.375em;
    border: solid 1px var(--border-color);
    color: inherit;
    display: block;
    outline: 0;
    padding: 0 1em;
    text-decoration: none;
    width: 100%;
    height: 2.75em;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--color);
    box-shadow: 0 0 0 1px var(--color);
}

textarea {
    padding: 0.75em 1em;
    height: auto;
}

::placeholder {
    color: #6d7072 !important;
    opacity: 1;
}

form {
    margin: 0 0 2em 0;
}

/* Message/callout boxes */
.msg {
    border-left: 4px solid transparent;
    padding: 1em 2em;
    margin: 0 0 2em 0;
}

.msg--highlight {
    background-color: #fffcf1;
    border-color: #e7b600;
}

.msg--info {
    background: #f2f9ff;
    border-color: #007de8;
}

.msg--success {
    background: #f7fbf6;
    border-color: #59a147;
}

.msg--warning {
    background: #fff3f3;
    border-color: #a94442;
    color: #a94442;
}

.callout-box {
    border-left: 4px solid #007acc;
    background: #f5f7fa;
    padding: 1em;
    margin: 1.5em 0;
    font-size: 0.95em;
}

.callout-box h4 {
    margin-top: 0;
}

/* Icons (FontAwesome) */
.icon {
    text-decoration: none;
    border-bottom: none;
    position: relative;
}

.icon:before {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    text-transform: none !important;
    font-family: "Font Awesome 6 Free";
    font-weight: 400;
    line-height: inherit;
}

.icon > .label {
    display: none;
}

.icon.solid:before {
    font-weight: 900;
}

.icon.brands:before {
    font-family: "Font Awesome 5 Brands";
}

/* Alignment */
.align-left { text-align: left; }
.align-center { text-align: center; }
.align-right { text-align: right; }

/* Preload & resize animation disable */
body.is-preload *,
body.is-preload *:after,
body.is-preload *:before,
body.is-resizing *,
body.is-resizing *:after,
body.is-resizing *:before {
    animation: none !important;
    transition: none !important;
}

/* Hide sidebar during preload on mobile */
body.is-preload #sidebar {
    display: none;
}

/* Haiku page custom elements */
.form-link {
    border-bottom: none;
}

.disclosure-triangle {
    display: inline-block;
    transition: transform 0.2s ease;
}

/* ------------------------------------------------------------------
 * 8. Responsive Breakpoints
 * ------------------------------------------------------------------ */


@media screen and (max-width: 1280px) {
    #main > .inner {
        padding: 0 4em 0.1em 4em;
    }

    #main > .inner > section {
        padding: 4em 0 2em 0;
    }

    /* Sidebar becomes fixed overlay on mobile */
    #sidebar {
        box-shadow: 0 0 5em 0 rgba(0, 0, 0, 0.175);
        height: 100%;
        left: 0;
        position: fixed;
        top: 0;
        z-index: 10000;
    }

    #sidebar.inactive {
        box-shadow: none;
    }

    #sidebar > .inner {
        -webkit-overflow-scrolling: touch;
        height: 100%;
        left: 0;
        overflow-x: hidden;
        overflow-y: auto;
        position: absolute;
        top: 0;
    }

    #sidebar > .inner:after {
        content: "";
        display: block;
        height: 4em;
        width: 100%;
    }

    #sidebar .toggle {
        text-indent: 6em;
        width: 6em;
    }

    #sidebar .toggle:before {
        font-size: 1.5rem;
        margin-left: -0.4375em;
    }

    .post {
        padding: 3em 0;
    }
}

@media screen and (max-width: 980px) {
    h1 {
        font-size: 3.25em;
    }
}

@media screen and (max-width: 736px) {
    h1 {
        font-size: 2em;
        line-height: 1.4;
    }

    h2 {
        font-size: 1.5em;
    }

    #main > .inner {
        padding: 0 2em 0.1em 2em;
    }

    #main > .inner > section {
        padding: 3em 0 1em 0;
    }

    #header .logo {
        font-size: 1.25em;
        margin: 0;
    }

    #sidebar .toggle {
        text-indent: 7.25em;
        width: 7.25em;
    }

    #sidebar .toggle:before {
        color: var(--text-light-color);
        margin-left: -0.0625em;
        margin-top: -0.25em;
        font-size: 1.1rem;
        z-index: 1;
    }

    #sidebar .toggle:after {
        background: rgba(203, 207, 209, 0.75);
        border-radius: 0.375em;
        content: "";
        height: 3.5em;
        left: 1em;
        position: absolute;
        top: 1em;
        width: 5em;
    }

    .post {
        padding: 2em 0;
    }

    .post__image--center {
        margin: 2em auto;
    }

    .post__iframe,
    .post__video {
        margin-top: 2em;
        margin-bottom: 2em;
    }
}
.disclosure {
  margin: 1.25rem 0;
}

.disclosure summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
}

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

/* text */
.demo-disclosure .summary-text {
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, currentColor 30%, transparent);
  text-underline-offset: 0.14em;
}

/* custom triangle after text */
.demo-disclosure summary::after {
  content: "▸";
  display: inline-block;
  font-size: 0.95em;
  transform-origin: 45% 55%;
  transition: transform 180ms ease;
  animation: triangle-breathe 1.8s ease-in-out infinite;
}

/* open state */
.demo-disclosure[open] summary::after {
  transform: rotate(90deg);
  animation: none;
}

/* subtle interaction cue */
.demo-disclosure summary:hover .summary-text,
.demo-disclosure summary:focus-visible .summary-text {
  text-decoration-color: currentColor;
}

/* optional content spacing */
.disclosure-content {
  margin-top: 0.6rem;
}

/* restrained pulse */
@keyframes triangle-breathe {
  0%, 100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.18);
    opacity: 1;
  }
}

.demo-disclosure .summary-text {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.14em;
  animation: underline-soften 1.8s ease-in-out infinite;
}

.demo-disclosure[open] .summary-text {
  animation: none;
}

@keyframes underline-soften {
  0%, 100% {
    text-decoration-color: color-mix(in srgb, currentColor 28%, transparent);
  }
  50% {
    text-decoration-color: color-mix(in srgb, currentColor 65%, transparent);
  }
}
