/* [custom] FIXES_LOG Change 81: modern /blogs listing (resources/views/website/blog/index.blade.php).
   Everything is scoped under .bl / .bl-* so the theme's style.css and Bootstrap don't collide. */
.bl {
    --bl-surface: #0f0f10;
    --bl-line: #26262b;
    --bl-text: #f3f3f5;
    --bl-muted: #a3a3ab;
    --bl-dim: #7a7a84;
    --bl-primary: #d50055;
    --bl-primary-rgb: 213, 0, 85;
    --bl-hd: 75px;          /* the site header is position:fixed, 75px tall */
    --bl-r: 14px;
    background: #000;
    color: var(--bl-text);
    font-family: "Roboto Condensed", sans-serif;
}
.bl a { color: inherit; text-decoration: none; }
.bl img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bl h1, .bl h2, .bl p { margin: 0; }
.bl-wrap { max-width: 1320px; margin: 0 auto; padding: 0 24px; }

/* logos (live TV guides): whole, on a dark backdrop */
.bl img.bl-lg { object-fit: contain; padding: 14% 18%; background: radial-gradient(circle at 50% 40%, #2a2a30, #0d0d10); }
.bl-mth img.bl-lg { padding: 6px 10px; }

/* hero */
.bl-hero { padding: calc(var(--bl-hd) + 40px) 0 10px; background: radial-gradient(1200px 320px at 20% 0, rgba(var(--bl-primary-rgb), .26), transparent 70%); }
.bl-crumb { font: 500 13px Roboto, sans-serif; color: var(--bl-dim); margin-bottom: 12px; }
.bl-crumb a { color: var(--bl-muted); }
.bl-crumb a:hover { color: #fff; }
.bl-crumb i { vertical-align: -2px; }
.bl-hero h1 { font-size: 44px; font-weight: 800; letter-spacing: -.5px; line-height: 1.05; color: #fff; }
.bl-hero h1 span { color: var(--bl-primary); }
.bl-lead { color: var(--bl-muted); font: 400 17px/1.5 Roboto, sans-serif; margin-top: 10px !important; max-width: 640px; }

.bl-top { display: grid; grid-template-columns: 1.65fr 1fr; gap: 22px; margin-top: 26px; }

.bl-feat { position: relative; display: block; border-radius: var(--bl-r); overflow: hidden; min-height: 430px; background: var(--bl-surface); }
.bl-feat img { position: absolute; inset: 0; transition: transform .6s; }
.bl-feat:hover img { transform: scale(1.04); }
.bl-feat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 25%, rgba(0,0,0,.6) 55%, rgba(0,0,0,.95)); }
.bl-in { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px; z-index: 2; }
.bl-in h2 { font-size: 34px; line-height: 1.12; font-weight: 800; margin: 12px 0 10px; max-width: 760px; color: #fff; }
.bl-in p { color: #cfcfd6; font: 400 16px/1.5 Roboto, sans-serif; max-width: 680px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.bl-pill { display: inline-flex; align-items: center; gap: 6px; font: 600 12px/1 Roboto, sans-serif; text-transform: uppercase; letter-spacing: .6px; padding: 6px 10px; border-radius: 999px; background: rgba(var(--bl-primary-rgb), .18); color: #ff7aa8; border: 1px solid rgba(var(--bl-primary-rgb), .35); }
.bl-pill.bl-new { background: var(--bl-primary); color: #fff; border-color: var(--bl-primary); }
.bl-meta { display: flex; gap: 14px; color: var(--bl-muted); font: 400 13px Roboto, sans-serif; margin-top: 14px; flex-wrap: wrap; }
.bl-meta i { margin-right: 4px; vertical-align: -2px; }

/* most read */
.bl-most { background: var(--bl-surface); border: 1px solid var(--bl-line); border-radius: var(--bl-r); padding: 20px 20px 8px; }
.bl-most h2 { font-size: 20px; font-weight: 700; display: flex; align-items: center; gap: 8px; color: #fff; }
.bl-most h2 i { color: var(--bl-primary); }
.bl-most small { display: block; color: var(--bl-dim); font: 400 12px Roboto, sans-serif; margin: 4px 0 10px; }
.bl-mi { display: grid; grid-template-columns: 34px 76px 1fr; gap: 12px; align-items: center; padding: 11px 0; border-top: 1px solid var(--bl-line); }
.bl-most small + .bl-mi { border-top: 0; }
.bl-n { font-size: 32px; font-weight: 800; color: transparent; -webkit-text-stroke: 1.4px #5a5a63; text-align: center; }
.bl-mi:hover .bl-n { -webkit-text-stroke-color: var(--bl-primary); }
.bl-mth { width: 76px; height: 52px; border-radius: 8px; overflow: hidden; background: #111; }
.bl-mt { font-size: 15.5px; font-weight: 600; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: #fff; }
.bl-mi:hover .bl-mt { color: #ff6b9d; }
.bl-mc { display: block; font: 400 12px Roboto, sans-serif; color: var(--bl-dim); margin-top: 3px; }

/* sticky toolbar */
.bl-bar { position: sticky; top: var(--bl-hd); z-index: 50; background: rgba(0,0,0,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); margin-top: 34px; padding: 14px 0; border-bottom: 1px solid var(--bl-line); scroll-margin-top: var(--bl-hd); }
.bl-bar form { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.bl-chips { display: flex; gap: 8px; flex-wrap: wrap; flex: 1; }
.bl-chip { border: 1px solid var(--bl-line); background: var(--bl-surface); color: #ddd !important; border-radius: 999px; padding: 9px 15px; font: 500 14px Roboto, sans-serif; white-space: nowrap; }
.bl-chip b { color: var(--bl-dim); font-weight: 500; margin-left: 6px; }
.bl-chip:hover { border-color: #44444c; }
.bl-chip.on { background: #fff; color: #000 !important; border-color: #fff; }
.bl-chip.on b { color: #666; }
.bl-bar select { background: var(--bl-surface); border: 1px solid var(--bl-line); color: #ddd; border-radius: 10px; padding: 10px 12px; font: 400 14px Roboto, sans-serif; height: 42px; }
.bl-search { position: relative; width: 280px; margin: 0; }
.bl-search i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--bl-dim); }
.bl-search input { width: 100%; height: 42px; background: var(--bl-surface); border: 1px solid var(--bl-line); border-radius: 10px; padding: 10px 12px 10px 36px; color: #fff; font: 400 14px Roboto, sans-serif; outline: none; }
.bl-search input:focus { border-color: var(--bl-primary); }

/* grid */
.bl-count { color: var(--bl-dim); font: 400 14px Roboto, sans-serif; margin: 22px 0 14px; }
.bl-count b { color: #fff; font-weight: 500; }
.bl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; transition: opacity .2s; }
.bl-grid.bl-loading { opacity: .4; pointer-events: none; }
.bl-card { background: var(--bl-surface); border: 1px solid var(--bl-line); border-radius: var(--bl-r); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, border-color .25s; }
.bl-card:hover { transform: translateY(-4px); border-color: #3a3a42; }
.bl-th { position: relative; aspect-ratio: 16/9; overflow: hidden; background: #111; }
.bl-th img { transition: transform .5s; }
.bl-card:hover .bl-th img { transform: scale(1.06); }
.bl-th .bl-pill { position: absolute; left: 10px; top: 10px; background: rgba(0,0,0,.6); backdrop-filter: blur(6px); }
.bl-th .bl-pill.bl-new { left: auto; right: 10px; background: var(--bl-primary); }
.bl-bd { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.bl-title { font-size: 18px !important; line-height: 1.25 !important; font-weight: 700; color: #fff; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bl-card:hover .bl-title { color: #ff6b9d; }
.bl-desc { color: var(--bl-muted); font: 400 14px/1.5 Roboto, sans-serif; margin-top: 8px !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bl-card .bl-meta { margin-top: auto; padding-top: 12px; font-size: 12.5px; color: var(--bl-dim); }
.bl-empty { grid-column: 1 / -1; text-align: center; padding: 60px 0; color: var(--bl-muted); font: 400 16px Roboto, sans-serif; }
.bl-empty i { font-size: 34px; display: block; margin-bottom: 8px; }

/* load more + numbered pages */
.bl-more { display: flex; flex-direction: column; align-items: center; gap: 16px; margin: 34px 0 80px; }
.bl-btn { background: var(--bl-primary); color: #fff; border: 0; border-radius: 10px; padding: 13px 28px; font: 600 16px "Roboto Condensed", sans-serif; cursor: pointer; }
.bl-btn:hover { filter: brightness(1.12); }
.bl-btn:disabled { opacity: .6; cursor: wait; }
.bl-btn[hidden] { display: none; }
.bl-pages { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; font: 500 14px Roboto, sans-serif; }
.bl-pages a { min-width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--bl-line); border-radius: 8px; color: var(--bl-muted) !important; padding: 0 8px; }
.bl-pages a:hover { border-color: #44444c; color: #fff !important; }
.bl-pages a.on { background: #fff; color: #000 !important; border-color: #fff; }

@media (max-width: 1100px) {
    .bl-grid { grid-template-columns: repeat(3, 1fr); }
    .bl-top { grid-template-columns: 1fr; }
    .bl-feat { min-height: 380px; }
}
@media (max-width: 780px) {
    .bl-wrap { padding: 0 16px; }
    .bl-hero { padding-top: calc(var(--bl-hd) + 22px); }
    .bl-hero h1 { font-size: 32px; }
    .bl-lead { font-size: 15px; }
    .bl-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .bl-feat { min-height: 330px; }
    .bl-in { padding: 18px; }
    .bl-in h2 { font-size: 24px; }
    .bl-bar { margin-top: 24px; padding: 10px 0; }
    .bl-search { width: auto; flex: 1; order: -2; }
    .bl-bar select { order: -1; }
    .bl-chips { flex: 1 1 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
    .bl-chips::-webkit-scrollbar { display: none; }
    .bl-bd { padding: 11px 12px 12px; }
    .bl-title { font-size: 15.5px !important; }
    .bl-desc { display: none; }
}
@media (max-width: 480px) {
    .bl-grid { grid-template-columns: 1fr; }
    .bl-desc { display: -webkit-box; }
}
