/* The homepage editorial-link treatment from the supplied design handoff. */
.switzerland-memo .memo-body a,
.switzerland-memo #term-source {
    color: #1a1a1a;
    font: inherit;
    text-decoration: underline;
    text-decoration-color: currentColor;
    text-underline-offset: 2px;
}
.switzerland-memo .memo-body a:hover,
.switzerland-memo .memo-body a:focus-visible,
.switzerland-memo #term-source:hover,
.switzerland-memo #term-source:focus-visible { color: #258db7; }
.switzerland-memo #term-source { font-size: 11px; }

.switzerland-memo .memo-link-preview {
    position: fixed;
    inset: auto;
    z-index: 1100;
    box-sizing: border-box;
    width: 320px;
    height: 220px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, .1);
    border-radius: 0;
    background: #fff;
    box-shadow: 0 6px 24px rgba(0, 0, 0, .12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 200ms ease, visibility 0s 200ms;
}
.switzerland-memo .memo-link-preview.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
}
.switzerland-memo .memo-link-preview-media {
    position: absolute;
    inset: 0 0 28px;
    overflow: hidden;
    pointer-events: none;
}
.switzerland-memo .memo-link-preview-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top left;
}
.switzerland-memo .memo-link-preview-fallback {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    height: calc(100% - 28px);
    padding: 22px;
    overflow: hidden;
}
.switzerland-memo .memo-link-preview-fallback strong {
    display: -webkit-box;
    overflow: hidden;
    color: #555;
    font: 500 13px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}
.switzerland-memo .memo-link-preview-fallback span { color: #999; font: 10px/1.5 monospace; }
.switzerland-memo .memo-link-preview-url {
    position: absolute;
    inset: auto 0 0;
    display: block;
    height: 28px;
    padding: 6px 10px;
    overflow: hidden;
    border-top: 1px solid rgba(0, 0, 0, .06);
    color: #aaa;
    background: #f8f8f8;
    font: 9px/15px monospace;
    text-overflow: ellipsis;
    white-space: nowrap;
}
@media (max-width: 600px), (hover: none), (pointer: coarse) {
    .switzerland-memo .memo-link-preview { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
    .switzerland-memo .memo-link-preview { transition: none; }
}
