/* ── Newsstand Hero Tags — Edit Mode & Read Mode Styles ── */
/* v10.1.0 */

/* ═══════════════════════════════════════════
   EDIT MODE — Taggable Element Highlighting
   ═══════════════════════════════════════════ */

.newsstand-edit-mode .hero-taggable {
    outline: 2px dashed rgba(99, 102, 241, 0.5) !important;
    outline-offset: 2px;
    transition: outline-color 0.2s, box-shadow 0.2s;
}

.newsstand-edit-mode .hero-taggable:hover {
    outline-color: rgba(99, 102, 241, 0.9) !important;
    box-shadow: 0 0 16px rgba(99, 102, 241, 0.2);
}

/* Edit Badge */
.hero-tag-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    z-index: 1000;
    padding: 4px 10px;
    border-radius: 12px;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Inter', system-ui, sans-serif;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    pointer-events: auto;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.15s, opacity 0.15s;
    white-space: nowrap;
    line-height: 1.4;
}

.hero-tag-badge:hover {
    transform: scale(1.05);
}

.hero-tag-badge .badge-remove {
    display: inline-block;
    margin-left: 4px;
    opacity: 0.7;
    cursor: pointer;
    font-size: 13px;
}

.hero-tag-badge .badge-remove:hover {
    opacity: 1;
    color: #ff6b6b;
}

/* ═══════════════════════════════════════════
   READ MODE — Tag Icon Indicators
   ═══════════════════════════════════════════ */

.hero-tag-indicator {
    /* Reuses the fluid-icon-entrance keyframes from bootstrap.html */
    pointer-events: auto;
}

/* Entrance animation — same as flipbook icon badges */
@keyframes fluid-icon-entrance {
    0%   { opacity: 0; transform: scale(0.5); }
    60%  { opacity: 0.8; transform: scale(1.15); }
    80%  { opacity: 0.85; transform: scale(0.95); }
    100% { opacity: 0.8; transform: scale(1); }
}

/* ═══════════════════════════════════════════
   EDIT MODE — Disable normal click behaviors
   ═══════════════════════════════════════════ */

.newsstand-edit-mode .featured-cover-wrapper,
.newsstand-edit-mode .blog-card,
.newsstand-edit-mode .slide-cover {
    cursor: default !important;
}

/* Prevent issue-opening clicks in edit mode */
.newsstand-edit-mode .featured-cta,
.newsstand-edit-mode .slide-cta,
.newsstand-edit-mode .blog-action-btn {
    pointer-events: none;
    opacity: 0.5;
}
