/* =========================================
   HORIZON PULSE — STORAGE-ONLY FEED
   Deep Obsidian System (Renderer v2 Aligned)
   ========================================= */

.hp-feed-wrap {
    display: flex;
    flex-direction: column;
    gap: 22px;
    max-width: 680px;
    margin: 0 auto;
}

/* ===============================
   Card
=============================== */

.hp-feed-item {
    display: flex;
    gap: 0;
    background: #121214;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0,0,0,0.45);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.35s ease;
}

.hp-feed-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 55px rgba(0,0,0,0.55);
}

/* Anchor highlight */
.hp-feed-item:target {
    border-color: #2f6fe8;
    box-shadow: 0 0 35px rgba(47,111,232,0.2);
    background: #161618;
}

/* ===============================
   Thumbnail Aside
=============================== */

.hp-feed-aside {
    flex-shrink: 0;
    width: 160px;
    overflow: hidden;
}

.hp-feed-aside img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.85) contrast(1.05);
}

/* ===============================
   Main Content
=============================== */

.hp-feed-main {
    flex: 1;
    padding: 26px;
    display: flex;
    flex-direction: column;
}

/* Header */

.hp-feed-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
}

.hp-feed-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.hp-feed-time {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    letter-spacing: 0.08em;
}

/* Description */

.hp-feed-desc {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255,255,255,0.72);
}

.hp-feed-desc p {
    margin: 0 0 12px 0;
}

/* ===============================
   Footer
=============================== */

.hp-feed-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.06);
    gap: 12px;
}

/* CTA Button */

.hp-feed-btn {
    background: #2f6fe8;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    padding: 8px 14px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.hp-feed-btn:hover {
    background: #1f56c9;
}

/* Share Button */

.hp-feed-share,
.hp-pulse-copy {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    background: transparent;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    padding: 6px 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.hp-feed-share:hover,
.hp-pulse-copy:hover {
    color: #ffffff;
    border-color: #2f6fe8;
    background: rgba(47,111,232,0.1);
}

.hp-pulse-copy.hp-copied {
    background: #2f6fe8 !important;
    color: #ffffff !important;
    border-color: #2f6fe8 !important;
    box-shadow: 0 0 18px rgba(47,111,232,0.35);
}

.hp-pulse-copy:active {
    transform: scale(0.96);
}

/* ===============================
   Empty State
=============================== */

.hp-no-pulses {
    text-align: center;
    padding: 40px 20px;
    font-size: 14px;
    color: rgba(255,255,255,0.5);
}

/* ===============================
   Light Theme Variant
=============================== */

.hp-theme-light .hp-feed-item {
    background: #ffffff;
    border-color: rgba(0,0,0,0.08);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.hp-theme-light .hp-feed-title {
    color: #111111;
}

.hp-theme-light .hp-feed-time {
    color: rgba(0,0,0,0.45);
}

.hp-theme-light .hp-feed-desc {
    color: rgba(0,0,0,0.75);
}

.hp-theme-light .hp-feed-footer {
    border-top: 1px solid rgba(0,0,0,0.08);
}

.hp-theme-light .hp-feed-share,
.hp-theme-light .hp-pulse-copy {
    color: rgba(0,0,0,0.5);
    border-color: rgba(0,0,0,0.15);
}

.hp-theme-light .hp-feed-share:hover,
.hp-theme-light .hp-pulse-copy:hover {
    background: rgba(47,111,232,0.1);
    border-color: #2f6fe8;
    color: #2f6fe8;
}

/* ===============================
   Responsive
=============================== */

@media (max-width: 640px) {
    .hp-feed-item {
        flex-direction: column;
    }

    .hp-feed-aside {
        width: 100%;
        height: 180px;
    }

    .hp-feed-main {
        padding: 20px;
    }
}

/* ----------------------------------------------------
   Horizon Pulse – Dark Theme Stabilised Styling
----------------------------------------------------- */

.hp-theme-dark .hp-feed-item {
    background: #111;
    border: 1px solid #1f1f1f;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 32px;
}

.hp-theme-dark .hp-feed-title {
    color: #ffffff;
}

.hp-theme-dark .hp-feed-desc {
    color: #cccccc;
}

.hp-theme-dark .hp-feed-time {
    color: #888888;
    font-size: 0.85rem;
}

.hp-theme-dark .hp-feed-btn {
    background: #ffffff;
    color: #000000;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}

.hp-theme-dark .hp-feed-share {
    background: transparent;
    border: 1px solid #333;
    color: #aaa;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
}

.hp-theme-dark .hp-feed-share:hover {
    border-color: #555;
    color: #fff;
}