img[class*="wp-image-"] { display: block; }
.exif-film-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    overflow: hidden;
    container-type: inline-size;
}
.exif-film-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.5) 55%, rgba(255, 255, 255, 0) 100%);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    color: #1a1a1a;
    padding: 8px 14px;
    font-size: 10px;
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
    line-height: 1.5;
    letter-spacing: 0.3px;
    display: flex;
    align-items: flex-end;
    gap: 14px;
    flex-wrap: nowrap;
    overflow: hidden;
    box-sizing: border-box;
    max-width: 100%;
}
.exif-film-icon { flex-shrink: 0; opacity: 0.9; filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.9)); }
.exif-film-item { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex-shrink: 1; }
.exif-film-value {
    font-size: 11px;
    font-weight: 600;
    color: #1a1a1a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 14vw;
    text-shadow: 0 0 3px rgba(255, 255, 255, 0.9), 0 0 6px rgba(255, 255, 255, 0.6);
    -webkit-text-stroke: 0.5px rgba(255, 255, 255, 0.8);
    paint-order: stroke fill;
}
.exif-film-label {
    color: rgba(0, 0, 0, 0.65);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.5px;
    white-space: nowrap;
    text-shadow: 0 0 3px rgba(255, 255, 255, 0.9), 0 0 6px rgba(255, 255, 255, 0.6);
    -webkit-text-stroke: 0.4px rgba(255, 255, 255, 0.7);
    paint-order: stroke fill;
}

/* 画像自体の幅が狭い場合（スマホ・グリッド/サムネイル表示など）は
   2行に折り返す前に段階的に情報量を減らし、常に1行に収める */
@container (max-width: 600px) {
    .exif-film-bar { gap: 8px; padding: 6px 10px; }
    .exif-film-value { font-size: 10px; max-width: 15vw; }
    .exif-film-icon { width: 18px; height: 18px; }
}
@container (max-width: 480px) {
    .exif-film-bar { gap: 5px; padding: 5px 8px; }
    .exif-film-label { display: none; }
    .exif-film-icon { width: 16px; height: 16px; }
    .exif-film-value { max-width: 17vw; }
}
@container (max-width: 260px) {
    .exif-film-bar { gap: 4px; padding: 4px 6px; }
    .exif-film-value { font-size: 9px; }
    .exif-film-icon { display: none; }
}
@container (max-width: 160px) {
    .exif-film-bar { display: none; }
}
