/* ═══════════════════════════════════════════════════
   Honey Featured Category Widget — v2.0.0
   Sidebar single-column card list
═══════════════════════════════════════════════════ */

/* ── BASE ───────────────────────────────────────── */
.hfcw-list *,
.hfcw-list *::before,
.hfcw-list *::after { box-sizing: border-box; }

/* ── LIST ───────────────────────────────────────── */
.hfcw-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

/* ── ITEM (scroll animation wrapper) ───────────── */
.hfcw-item { width: 100%; }

/* ── CARD ───────────────────────────────────────── */
.hfcw-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

/* ── IMAGE ──────────────────────────────────────── */
.hfcw-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #e8edf2;
}
.hfcw-img-link { display: block; height: 100%; }
.hfcw-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}
.hfcw-img-link:hover .hfcw-img { transform: scale(1.06); }
.hfcw-img-default { object-fit: contain; opacity: 0.4; }

/* ── IMAGE OVERLAY ──────────────────────────────── */
.hfcw-img-overlay {
    position: absolute;
    left: 0;
    right: 0;
    padding: 12px;
    pointer-events: none;
}
.hfcw-overlay-overlay-bottom {
    bottom: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.78));
}
.hfcw-overlay-overlay-center {
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
    background: rgba(0,0,0,0.48);
    padding: 16px;
}
.hfcw-overlay-overlay-center a,
.hfcw-overlay-overlay-bottom a { pointer-events: all; }

.hfcw-cat-on-img {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
}

/* ── CARD BODY ──────────────────────────────────── */
.hfcw-body {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}

/* ── CATEGORY BADGE ─────────────────────────────── */
.hfcw-cat-wrap { }
.hfcw-cat-badge {
    display: inline-block;
    background: #1a3a5c;
    color: #fff;
    font-size: 9.5px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 3px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.2s;
}
.hfcw-cat-badge:hover { background: #c0872a; color: #fff; }

/* ── META ───────────────────────────────────────── */
.hfcw-meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.hfcw-date,
.hfcw-author,
.hfcw-comments,
.hfcw-likes { font-size: 11px; color: #888; white-space: nowrap; }

/* ── POST TITLE ─────────────────────────────────── */
.hfcw-post-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    margin: 2px 0;
    color: inherit;
}
.hfcw-post-title a { text-decoration: none; color: inherit; }
.hfcw-post-title a:hover { text-decoration: underline; }

.hfcw-title-overlay,
.hfcw-title-overlay a { color: #fff !important; }

/* ── TITLE STYLES ───────────────────────────────── */
.hfcw-title-style-uppercase { text-transform: uppercase; font-size: 12px; letter-spacing: 0.5px; }
.hfcw-title-style-lowercase { text-transform: lowercase; }
.hfcw-title-style-underline { text-decoration: underline; text-underline-offset: 3px; }
.hfcw-title-style-marker a  {
    background: linear-gradient(transparent 55%, rgba(255,224,80,0.65) 55%);
    padding-bottom: 1px;
}
.hfcw-title-style-box a {
    background: #1a3a5c;
    color: #fff !important;
    padding: 2px 7px;
    border-radius: 3px;
    display: inline;
}

/* ── EXCERPT & FULL POST ────────────────────────── */
.hfcw-excerpt { font-size: 12.5px; color: #555; line-height: 1.65; margin: 0; }
.hfcw-excerpt p { margin: 0; }

.hfcw-fullpost { font-size: 12px; color: #444; line-height: 1.7; }
.hfcw-fullpost p { margin: 0 0 8px; }

/* ── FOOTER ─────────────────────────────────────── */
.hfcw-footer {
    margin-top: auto;
    padding-top: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.hfcw-readmore {
    font-size: 12px;
    font-weight: 700;
    color: #1a3a5c;
    text-decoration: none;
    transition: color 0.2s;
}
.hfcw-readmore:hover { color: #c0872a; }

/* ── SHARE BUTTONS ──────────────────────────────── */
.hfcw-share { display: flex; gap: 4px; }
.hfcw-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    font-size: 9px;
    font-weight: 800;
    text-decoration: none !important;
    color: #fff !important;
    transition: opacity 0.2s, transform 0.15s;
}
.hfcw-share-btn:hover { opacity: 0.85; transform: scale(1.1); }
.hfcw-share-fb { background: #1877f2; }
.hfcw-share-x  { background: #000; }
.hfcw-share-li { background: #0077b5; }
.hfcw-share-wa { background: #25d366; }

/* ══════════════════════════════════════════════════
   SCROLL ANIMATIONS — PROGRESSIVE ENHANCEMENT
   ─────────────────────────────────────────────────
   Items are ALWAYS visible by default.
   JavaScript adds "hfcw-js-ready" to <html> before
   hiding anything — so if JS is blocked or slow,
   content stays fully visible with no blank space.
══════════════════════════════════════════════════ */

/* Transition always present (harmless without JS) */
.hfcw-scroll-fade,
.hfcw-scroll-slide,
.hfcw-scroll-zoom {
    transition:
        opacity 0.65s ease var(--hfcw-delay, 0s),
        transform 0.65s ease var(--hfcw-delay, 0s);
}

/* Hidden state — only applied AFTER JS confirms it's running */
.hfcw-js-ready .hfcw-scroll-fade  { opacity: 0; }
.hfcw-js-ready .hfcw-scroll-slide { opacity: 0; transform: translateY(28px); }
.hfcw-js-ready .hfcw-scroll-zoom  { opacity: 0; transform: scale(0.90); }

/* Revealed — added by IntersectionObserver or safety timeout */
.hfcw-anim-visible {
    opacity: 1 !important;
    transform: none !important;
}

/* ══════════════════════════════════════════════════
   HOVER EFFECTS
══════════════════════════════════════════════════ */

/* Lift */
.hfcw-hover-lift { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.hfcw-hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.14);
}

/* Glow */
.hfcw-hover-glow { transition: box-shadow 0.3s ease; }
.hfcw-hover-glow:hover {
    box-shadow: 0 0 0 3px #c0872a, 0 6px 20px rgba(192,135,42,0.25);
}

/* Colour Shift */
.hfcw-hover-colorshift { transition: background 0.35s ease, box-shadow 0.3s ease; }
.hfcw-hover-colorshift:hover {
    background: #f0f7ff;
    box-shadow: 0 4px 18px rgba(26,58,92,0.10);
}

/* Tilt — driven by JS mousemove */
.hfcw-hover-tilt {
    transform-style: preserve-3d;
    transition: transform 0.12s ease;
}
