/* TFF corner watermark — wrap photos with .tff-watermark-wrap (applied by tff-watermark.js) */
.tff-watermark-wrap {
    position: relative;
    display: block;
    line-height: 0;
    overflow: hidden;
}

.tff-watermark-wrap > img {
    display: block;
    width: 100%;
    height: auto;
}

.tff-watermark-wrap::after {
    content: '';
    position: absolute;
    right: clamp(6px, 2.5%, 12px);
    bottom: clamp(6px, 2.5%, 12px);
    width: clamp(36px, 14%, 64px);
    height: clamp(22px, 8.5%, 40px);
    background: var(--tff-watermark-url, url('tff-watermark.png')) no-repeat center / contain;
    opacity: 0.9;
    pointer-events: none;
    filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.45));
    z-index: 2;
}

.tff-watermark-wrap--inline {
    display: inline-block;
    max-width: 100%;
}
