.city-toc-back-wrap {
    display: inline-flex;
    margin-top: 0;
    padding-top: 0;
}

.city-fellart-card {
    display: flex;
    flex-direction: column;
    scroll-margin-top: 138px;
}

#city-fellart-toc {
    scroll-margin-top: 138px;
}

.city-fellart-text {
    scroll-margin-top: 138px;
}

.city-fellart-name {
    color: #224473;
    font-weight: 700;
    display: inline-block;
    animation: cityFellartPulse 3.8s ease-in-out infinite;
}

@keyframes cityFellartPulse {
    0%, 100% {
        transform: scale(1);
        text-shadow: none;
    }
    50% {
        transform: scale(1.02);
        text-shadow: 0 0 8px rgba(34, 68, 115, 0.22);
    }
}

@media (prefers-reduced-motion: reduce) {
    .city-fellart-name {
        animation: none;
    }
}

.city-toc-back-link {
    width: 46px;
    height: 46px;
    min-width: 46px;
    padding: 0;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    line-height: 1;
}

.city-toc-back-link__label {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.fellart-toc-card {
    display: flex;
    flex-direction: column;
}

.fellart-disclaimer {
    text-align: left;
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: auto;
    padding-top: 16px;
}

.city-fellart-text.is-clamped {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    line-clamp: 10;
    -webkit-line-clamp: 10;
    overflow: hidden;
    position: relative;
}

.city-fellart-text.is-clamped::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3.2em;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
}

.city-fellart-text {
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

.city-fellart-more {
    margin-top: 0;
    width: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1rem;
    max-width: min(100%, 430px);
    white-space: normal;
    line-height: 1.25;
    text-align: center;
}

.city-hero-scope {
    padding-top: 0.65rem;
    padding-bottom: 0.35rem;
}

.city-hero-scope .hero__inner {
    min-height: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.city-steps-section {
    padding-top: 0.6rem;
}

.city-fellart-more.is-hidden {
    display: none;
}

.city-fellart-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    margin-top: auto;
    padding-top: 0.95rem;
}

.city-fellart-controls--single {
    justify-content: flex-start;
}

.city-hero-scope .hero__actions .btn.primary.city-hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.82rem 1.35rem;
    min-height: 2.8rem;
    border-radius: 999px;
    border: 0;
    font-weight: 800;
    letter-spacing: 0.01em;
    color: #ffffff;
    text-decoration: none;
    background: linear-gradient(135deg, #1f67b3 0%, #1e7fd0 52%, #1b93e3 100%);
    box-shadow: 0 8px 18px rgba(25, 107, 175, 0.28);
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.city-hero-scope .hero__actions .btn.primary.city-hero-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 11px 22px rgba(25, 107, 175, 0.33);
    background: linear-gradient(135deg, #1b5ca0 0%, #1a72b8 52%, #187fcd 100%);
}

.city-hero-scope .hero__actions .btn.primary.city-hero-cta:active {
    transform: translateY(0);
}

.city-hero-scope .hero__actions .btn.primary.city-hero-cta:focus-visible {
    outline: 3px solid rgba(27, 127, 205, 0.34);
    outline-offset: 2px;
}

.city-hero-cta__hint {
    display: inline-block;
    font-size: 0.82rem;
    opacity: 0.94;
    font-weight: 500;
}

.city-process-grid {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.city-steps-section .step span {
    color: #4f76a5;
    text-shadow: 0 2px 0 rgba(255, 255, 255, 0.7);
}

.city-process-card {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 1rem;
    border: 1px solid rgba(34, 68, 115, 0.15);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(34, 68, 115, 0.03) 0%, rgba(34, 68, 115, 0.01) 100%);
}

.city-process-card h3 {
    margin: 0;
    font-size: 1.03rem;
    line-height: 1.3;
}

.city-process-card p {
    margin: 0;
}

.city-process-link {
    margin-top: 0.95rem;
    width: 100%;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.72rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(34, 68, 115, 0.55);
    background: linear-gradient(180deg, #ffffff 0%, #f3f7fb 100%);
    color: #12325c;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(18, 50, 92, 0.08);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.city-process-link:hover {
    transform: translateY(-2px);
    border-color: rgba(34, 68, 115, 0.8);
    background: linear-gradient(180deg, #ffffff 0%, #e9f1fa 100%);
    box-shadow: 0 10px 22px rgba(18, 50, 92, 0.16);
}

.city-process-link:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(18, 50, 92, 0.12);
}

.city-process-link:focus-visible {
    outline: 3px solid rgba(34, 68, 115, 0.25);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .city-process-link {
        transition: none;
    }

    .city-process-link:hover,
    .city-process-link:active {
        transform: none;
    }
}

.city-eeat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.city-eeat-point {
    padding: 1rem;
    border-radius: 14px;
    border: 1px solid rgba(34, 68, 115, 0.12);
    background: #fff;
}

.city-eeat-point h3 {
    margin: 0 0 0.35rem 0;
    font-size: 1rem;
    line-height: 1.3;
    min-height: calc(1.3em * 3);
}

.city-eeat-point p {
    margin: 0;
}

.city-eeat-point > p + p {
    margin-top: 0.55rem;
}

.city-eeat-point--expertise .city-eeat-copy-block {
    margin-top: 0.9rem;
    padding-top: 0.72rem;
    border-top: 1px dashed rgba(34, 68, 115, 0.2);
}

.city-eeat-copy-title {
    margin: 0 0 0.38rem 0;
    font-size: 0.93rem;
    line-height: 1.3;
    font-weight: 700;
    color: #17365f;
}

.city-eeat-point--expertise .city-eeat-copy-block p {
    margin: 0;
}

.city-eeat-point--expertise .city-eeat-copy-block p + p {
    margin-top: 0.52rem;
}

.city-eeat-list {
    margin: 0;
    padding-left: 1.1rem;
    display: grid;
    gap: 0.45rem;
}

.city-eeat-list li {
    margin: 0;
    line-height: 1.45;
}

.city-eeat-qa {
    margin-top: 0.9rem;
    display: grid;
    gap: 0.35rem;
}

.city-eeat-qa p {
    margin: 0;
}

.city-eeat-qa p + p {
    margin-bottom: 0.45rem;
}

.city-eeat-qa__q {
    font-weight: 700;
    color: #17365f;
}

.city-eeat-qa__a {
    font-family: Georgia, "Times New Roman", serif;
    color: #2b3f56;
}

.city-terms-card .city-eeat-copy-title {
    margin-bottom: 0.6rem;
}

.city-terms-card .city-eeat-list {
    margin-top: 0.25rem;
}

.city-transparency-card {
    margin-top: 1rem;
}

.city-transparency-card > p + p {
    margin-top: 0.7rem;
}

.city-transparency-section {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px dashed rgba(34, 68, 115, 0.2);
}

.city-transparency-section .city-eeat-copy-title {
    margin-bottom: 0.5rem;
}

.city-transparency-section .city-eeat-list {
    margin-top: 0.25rem;
}

.city-transparency-section p + ul {
    margin-top: 0.45rem;
}

.city-transparency-section ul + p {
    margin-top: 0.5rem;
}

@media (max-width: 640px) {
    .city-toc-back-wrap {
        margin-top: 0.7rem;
    }

    .city-toc-back-link {
        width: 36px;
        height: 36px;
        min-width: 36px;
        font-size: 1rem;
        opacity: 0.9;
    }

    .city-fellart-controls {
        gap: 0.55rem;
        padding-top: 0.7rem;
    }

    .city-fellart-more {
        max-width: min(100%, 320px);
        padding: 0.45rem 0.8rem;
        font-size: 0.9rem;
    }

    .city-hero-cta {
        width: 100%;
        padding: 0.78rem 1rem;
        flex-direction: column;
        gap: 0.2rem;
    }

    .city-hero-cta__hint {
        text-align: center;
    }

    .city-process-grid,
    .city-eeat-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}
