﻿/* ═══════════════════════════════════
   Strawberry ASD — Storybook Diary
   Replaces: blog.css
═══════════════════════════════════ */


/* ═══════════════════════════════════
   ACTIVE NAV LINK
═══════════════════════════════════ */
.nav-active {
    color: var(--strawberry) !important;
    background: var(--strawberry-light);
    border-radius: 100px;
}


/* ═══════════════════════════════════
   DIARY HERO
═══════════════════════════════════ */
.diary-hero {
    padding: calc(var(--header-height) + 72px) 0 56px;
    background: linear-gradient(170deg, var(--cream) 0%, var(--strawberry-50) 50%, var(--warm-white) 100%);
    text-align: center;
}

.diary-hero .section-title {
    max-width: 600px;
    margin: 0 auto 16px;
}

.diary-hero-subtitle {
    max-width: 520px;
    margin: 0 auto 32px;
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.diary-hero-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

/* Latest entry banner */
.diary-latest {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: #fff;
    border: 1px solid var(--warm-gray-100);
    border-radius: 100px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    box-shadow: var(--shadow-sm);
}

.diary-latest a {
    color: var(--strawberry);
}

.diary-latest a:hover {
    text-decoration: underline;
}

.diary-latest-badge {
    display: inline-block;
    padding: 2px 10px;
    background: var(--strawberry);
    color: #fff;
    border-radius: 100px;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}


/* ═══════════════════════════════════
   STORY PATH — LAYOUT
═══════════════════════════════════ */
.story-path {
    padding: 56px 0 96px;
    background: var(--warm-white);
}

.story-path-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 48px;
    align-items: start;
}


/* ═══════════════════════════════════
   CHAPTER NAV (sticky sidebar)
═══════════════════════════════════ */
.chapter-nav {
    position: sticky;
    top: calc(var(--header-height) + 24px);
}

.chapter-nav-inner {
    padding: 24px;
    background: #fff;
    border: 1px solid var(--warm-gray-100);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.chapter-nav-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--warm-gray-100);
}

.chapter-nav-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.chapter-nav-list a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition);
    line-height: 1.3;
}

.chapter-nav-list a:hover,
.chapter-nav-list a:focus-visible {
    background: var(--strawberry-light);
    color: var(--strawberry);
}

.chapter-nav-list a.active {
    background: var(--strawberry-light);
    color: var(--strawberry);
}

.chapter-nav-icon {
    font-size: 1rem;
    flex-shrink: 0;
}

.chapter-nav-name {
    flex: 1;
    min-width: 0;
}

.chapter-nav-count {
    font-size: 0.6875rem;
    font-weight: 800;
    color: var(--text-muted);
    background: var(--warm-gray-50);
    padding: 2px 8px;
    border-radius: 100px;
    flex-shrink: 0;
    white-space: nowrap;
}

/* Progress bar */
.chapter-nav-progress {
    height: 6px;
    background: var(--warm-gray-100);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 8px;
}

.chapter-nav-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--strawberry), var(--teal));
    border-radius: 6px;
    transition: width 0.6s ease;
}

.chapter-nav-summary {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    text-align: center;
}


/* ═══════════════════════════════════
   STORY PATH — THE PATH LINE
═══════════════════════════════════ */
.story-path-main {
    position: relative;
    padding-left: 40px;
}

/* The vertical path line */
.story-path-main::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(
        to bottom,
        var(--strawberry-light),
        var(--strawberry) 15%,
        var(--strawberry) 85%,
        var(--strawberry-light)
    );
    border-radius: 3px;
}


/* ═══════════════════════════════════
   CHAPTER MARKERS
═══════════════════════════════════ */
.chapter {
    margin-bottom: 48px;
}

.chapter-marker {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 32px;
    position: relative;
}

.chapter-marker-icon {
    width: 56px;
    height: 56px;
    background: var(--strawberry);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(192, 57, 43, 0.3);
    /* Pull left to sit on the path line */
    margin-left: -48px;
    position: relative;
    z-index: 2;
}

.chapter-marker-body {
    padding-top: 4px;
}

.chapter-marker-number {
    display: block;
    font-size: 0.6875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--strawberry);
    margin-bottom: 4px;
}

.chapter-marker h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 8px;
}

.chapter-marker p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 520px;
}


/* ═══════════════════════════════════
   DIARY ENTRIES (along the path)
═══════════════════════════════════ */
.chapter-entries {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.diary-entry {
    position: relative;
}

.diary-entry-link {
    display: flex;
    align-items: stretch;
    text-decoration: none;
    color: inherit;
}

/* Numbered connector circle on the path line */
.entry-connector {
    position: absolute;
    left: -48px;
    top: 24px;
    width: 36px;
    height: 36px;
    background: #fff;
    border: 3px solid var(--strawberry);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all var(--transition);
}

.entry-number {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--strawberry);
    transition: color var(--transition);
}

/* The entry card */
.entry-card {
    display: flex;
    background: #fff;
    border: 1px solid var(--warm-gray-100);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    flex: 1;
}

.diary-entry:hover .entry-card,
.diary-entry:focus-within .entry-card {
    transform: translateY(-4px) translateX(4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(192, 57, 43, 0.2);
}

.diary-entry:hover .entry-connector,
.diary-entry:focus-within .entry-connector {
    background: var(--strawberry);
    border-color: var(--strawberry);
}

.diary-entry:hover .entry-number,
.diary-entry:focus-within .entry-number {
    color: #fff;
}

.entry-image {
    width: 200px;
    min-height: 140px;
    flex-shrink: 0;
    overflow: hidden;
}

.entry-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.diary-entry:hover .entry-image img {
    transform: scale(1.05);
}

.entry-body {
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    min-width: 0;
}

.entry-body time {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.entry-body h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 6px;
}

.entry-body p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* ═══════════════════════════════════
   ENTRY STATUS: NEW & READ
═══════════════════════════════════ */

/* NEW badge — added by JS when entry is newer than last visit */
.diary-entry[data-new] .entry-card::after {
    content: 'NEW';
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 3px 10px;
    background: var(--strawberry);
    color: #fff;
    border-radius: 100px;
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 1px;
    animation: badge-pulse 2s ease-in-out infinite;
}

.diary-entry[data-new] .entry-card {
    position: relative;
}

/* READ state — subtle checkmark and dimmed connector */
.diary-entry[data-read] .entry-connector {
    background: var(--teal);
    border-color: var(--teal);
}

.diary-entry[data-read] .entry-number {
    color: #fff;
}

/* Replace number with checkmark for read entries */
.diary-entry[data-read] .entry-number {
    font-size: 0;
}

.diary-entry[data-read] .entry-number::after {
    content: '✓';
    font-size: 0.875rem;
}


/* ═══════════════════════════════════
   PATH CONNECTORS (between chapters)
═══════════════════════════════════ */
.path-connector {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 0;
    margin-left: -40px;
    padding-left: 40px;
    position: relative;
}

.connector-line {
    display: none;
}

.connector-text {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1rem;
    font-style: italic;
    color: var(--text-muted);
    padding: 8px 20px;
    background: var(--warm-gray-50);
    border-radius: 100px;
    white-space: nowrap;
}


/* ═══════════════════════════════════
   STORY CONTINUES (end marker)
═══════════════════════════════════ */
.story-continues {
    text-align: center;
    padding: 40px 0 0;
    position: relative;
}

.story-continues-line {
    width: 3px;
    height: 40px;
    background: var(--strawberry-light);
    margin: 0 auto 16px;
    border-radius: 3px;
    margin-left: -22px;
}

.story-continues-text {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.125rem;
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.story-continues-icon {
    display: block;
    font-size: 1.5rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}


/* ═══════════════════════════════════
   SINGLE POST — HERO
═══════════════════════════════════ */
.blog-post-hero {
    padding: calc(var(--header-height) + 48px) 0 0;
    background: linear-gradient(170deg, var(--cream) 0%, var(--strawberry-50) 40%, var(--warm-white) 100%);
}

.blog-post-hero .container {
    max-width: 780px;
    text-align: center;
}

/* Chapter breadcrumb on individual posts */
.post-chapter-crumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: #fff;
    border: 1px solid var(--warm-gray-100);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 16px;
    text-decoration: none;
    transition: all var(--transition);
}

.post-chapter-crumb:hover {
    border-color: var(--strawberry);
    color: var(--strawberry);
}

.post-chapter-crumb-icon {
    font-size: 0.875rem;
}

.blog-post-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 600;
}

.blog-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--strawberry-light);
    color: var(--strawberry);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Entry position indicator (e.g. "Entry 4 of 4") */
.post-entry-position {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--teal);
    background: var(--teal-light);
    padding: 4px 12px;
    border-radius: 100px;
}

.blog-post-hero h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.blog-post-hero-image {
    max-width: 780px;
    margin: 40px auto 0;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 16 / 9;
}

.blog-post-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    display: block;
}


/* ═══════════════════════════════════
   SINGLE POST — BODY
═══════════════════════════════════ */
.blog-post-body {
    padding: 48px 0 96px;
    background: var(--warm-white);
}

.blog-post-body .container {
    max-width: 720px;
}

.blog-post-body p {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 24px;
}

.blog-post-body p:first-of-type {
    font-size: 1.1875rem;
    font-weight: 500;
    color: var(--text-primary);
}

.blog-post-body blockquote {
    margin: 32px 0;
    padding: 24px 32px;
    background: var(--strawberry-50);
    border-left: 4px solid var(--strawberry);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.125rem;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.7;
}

.blog-post-body img {
    border-radius: var(--radius-md);
    margin: 32px 0;
    box-shadow: var(--shadow-md);
}

/* Back to story link */
.blog-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--strawberry);
    margin-bottom: 32px;
}

.blog-back:hover {
    color: var(--strawberry-dark);
}


/* ═══════════════════════════════════
   SINGLE POST — SEQUENTIAL NAV
═══════════════════════════════════ */
.post-seq-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--warm-gray-200);
}

.post-seq-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--warm-gray-50);
    border: 1px solid var(--warm-gray-100);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all 0.3s ease;
}

.post-seq-link:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(192, 57, 43, 0.15);
    transform: translateY(-2px);
}

.post-seq-link--prev {
    justify-content: flex-start;
}

.post-seq-link--next {
    justify-content: flex-end;
    text-align: right;
    grid-column: 2;
}

.post-seq-link--next .post-seq-arrow {
    order: 1;
}

.post-seq-label {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.post-seq-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
}

.post-seq-arrow {
    width: 36px;
    height: 36px;
    background: var(--strawberry-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--strawberry);
    transition: all var(--transition);
}

.post-seq-link:hover .post-seq-arrow {
    background: var(--strawberry);
    color: #fff;
}

.post-seq-thumb {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    flex-shrink: 0;
}


/* ═══════════════════════════════════
   SINGLE POST — SHARE
═══════════════════════════════════ */
.blog-share {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--warm-gray-200);
    text-align: center;
}

.blog-share p {
    font-size: 0.875rem !important;
    font-weight: 700;
    color: var(--text-muted) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px !important;
}

.blog-share-links {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.blog-share-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--warm-gray-200);
    color: var(--text-muted);
    transition: all var(--transition);
}

.blog-share-links a:hover {
    color: var(--strawberry);
    border-color: var(--strawberry);
    background: var(--strawberry-light);
}


/* ═══════════════════════════════════
   RESPONSIVE
═══════════════════════════════════ */

/* Tablet: Sidebar becomes horizontal bar */
@media (max-width: 900px) {
    .story-path-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .chapter-nav {
        position: relative;
        top: 0;
    }

    .chapter-nav-inner {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 12px 20px;
    }

    .chapter-nav-title {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
        margin-right: auto;
    }

    .chapter-nav-list {
        flex-direction: row;
        margin-bottom: 0;
        gap: 4px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .chapter-nav-list a {
        white-space: nowrap;
    }

    .chapter-nav-progress {
        width: 100%;
        margin-bottom: 4px;
    }

    .chapter-nav-summary {
        width: 100%;
    }
}

/* Mobile */
@media (max-width: 640px) {
    .diary-hero {
        padding: calc(var(--header-height) + 40px) 0 40px;
    }

    .diary-hero-subtitle {
        font-size: 0.9375rem;
    }

    .diary-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    /* Latest entry pill — allow wrapping on small screens */
    .diary-latest {
        font-size: 0.8125rem;
        padding: 10px 16px;
        white-space: normal;
        text-align: center;
        border-radius: var(--radius-md);
        line-height: 1.5;
    }

    /* Reduce section padding on mobile */
    .story-path {
        padding: 40px 0 56px;
    }

    /* Chapter nav — collapse to compact vertical list on phones */
    .chapter-nav-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 16px;
    }

    .chapter-nav-title {
        font-size: 0.875rem;
        margin-right: 0;
        text-align: center;
        padding-bottom: 10px;
        border-bottom: 1px solid var(--warm-gray-100);
    }

    .chapter-nav-list {
        flex-direction: column;
        gap: 2px;
        overflow-x: visible;
    }

    .chapter-nav-list a {
        white-space: normal;
        padding: 10px 12px;
    }

    /* Simplify path for mobile */
    .story-path-main {
        padding-left: 32px;
    }

    .story-path-main::before {
        left: 14px;
    }

    .chapter-marker-icon {
        width: 44px;
        height: 44px;
        font-size: 1.125rem;
        margin-left: -38px;
    }

    .chapter-marker {
        gap: 14px;
    }

    .chapter-marker h2 {
        font-size: 1.25rem;
    }

    .chapter-marker p {
        font-size: 0.875rem;
    }

    .entry-connector {
        left: -38px;
        width: 28px;
        height: 28px;
    }

    .entry-number {
        font-size: 0.625rem;
    }

    /* Stack entry cards vertically */
    .entry-card {
        flex-direction: column;
    }

    .entry-image {
        width: 100%;
        min-height: 0;
        aspect-ratio: 16 / 9;
    }

    .entry-body {
        padding: 16px;
    }

    .entry-body h3 {
        font-size: 1rem;
    }

    /* Prevent hover translate from clipping on narrow screens */
    .diary-entry:hover .entry-card,
    .diary-entry:focus-within .entry-card {
        transform: translateY(-3px);
    }

    /* Allow connector text to wrap */
    .connector-text {
        font-size: 0.8125rem;
        padding: 8px 16px;
        white-space: normal;
        text-align: center;
        line-height: 1.4;
    }

    .path-connector {
        margin-left: -32px;
        padding-left: 32px;
    }

    /* Align story-continues line with mobile path */
    .story-continues-line {
        margin-left: -18px;
    }

    /* Chapter spacing */
    .chapter {
        margin-bottom: 36px;
    }

    .chapter-entries {
        gap: 16px;
    }

    /* Post sequential nav stacks */
    .post-seq-nav {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .post-seq-link {
        padding: 16px;
    }

    .post-seq-link--next {
        grid-column: 1;
        justify-content: flex-start;
        text-align: left;
    }

    .post-seq-link--next .post-seq-arrow {
        order: -1;
    }

    .blog-post-hero h1 {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .blog-post-body {
        padding: 32px 0 56px;
    }

    .blog-post-body p {
        font-size: 1rem;
    }

    .blog-post-body blockquote {
        padding: 20px 24px;
        font-size: 1rem;
    }

    .blog-back {
        font-size: 0.875rem;
        margin-bottom: 24px;
    }

    .post-chapter-crumb {
        font-size: 0.6875rem;
        padding: 5px 12px;
    }
}

/* Small phones */
@media (max-width: 380px) {
    .diary-hero .section-title {
        font-size: 1.75rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9375rem;
    }

    .entry-body {
        padding: 14px;
    }

    .entry-body h3 {
        font-size: 0.9375rem;
    }

    .entry-body p {
        font-size: 0.8125rem;
        -webkit-line-clamp: 2;
    }

    .chapter-marker h2 {
        font-size: 1.125rem;
    }

    .story-path-main {
        padding-left: 28px;
    }

    .story-path-main::before {
        left: 12px;
    }

    .chapter-marker-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-left: -34px;
    }

    .entry-connector {
        left: -34px;
        width: 24px;
        height: 24px;
        border-width: 2px;
    }

    .path-connector {
        margin-left: -28px;
        padding-left: 28px;
    }

    .story-continues-line {
        margin-left: -16px;
    }
}

/* ═══════════════════════════════════
   ACCESSIBILITY
═══════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    .diary-latest-badge {
        animation: none;
    }

    .story-continues-icon {
        animation: none;
    }

    .diary-entry:hover .entry-card,
    .diary-entry:focus-within .entry-card {
        transform: none;
    }

    .post-seq-link:hover {
        transform: none;
    }

    .entry-image img {
        transition: none;
    }

    .chapter-nav-progress-fill {
        transition: none;
    }
}

/* Focus styles */
.diary-entry-link:focus-visible .entry-card {
    outline: var(--focus-ring);
    outline-offset: 2px;
}

.chapter-nav-list a:focus-visible {
    outline: var(--focus-ring);
    outline-offset: 2px;
}

.post-seq-link:focus-visible {
    outline: var(--focus-ring);
    outline-offset: 2px;
}

.post-chapter-crumb:focus-visible {
    outline: var(--focus-ring);
    outline-offset: 2px;
}