| 1 |
.bkbg-poc-wrap { |
| 2 |
position: relative; |
| 3 |
overflow: hidden; |
| 4 |
} |
| 5 |
|
| 6 |
/* Track */ |
| 7 |
.bkbg-poc-track-outer { |
| 8 |
overflow: hidden; |
| 9 |
width: 100%; |
| 10 |
} |
| 11 |
.bkbg-poc-track { |
| 12 |
display: flex; |
| 13 |
transition: transform 0.4s ease; |
| 14 |
will-change:transform; |
| 15 |
} |
| 16 |
|
| 17 |
/* Card */ |
| 18 |
.bkbg-poc-card { |
| 19 |
flex-shrink: 0; |
| 20 |
display: flex; |
| 21 |
flex-direction: column; |
| 22 |
box-sizing: border-box; |
| 23 |
overflow: hidden; |
| 24 |
} |
| 25 |
.bkbg-poc-card--shadow { box-shadow: 0 4px 16px rgba(0,0,0,0.1); } |
| 26 |
.bkbg-poc-card--outlined { border: 1px solid #e5e7eb; } |
| 27 |
|
| 28 |
/* Image */ |
| 29 |
.bkbg-poc-img-wrap { position: relative; overflow: hidden; } |
| 30 |
.bkbg-poc-img-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; } |
| 31 |
|
| 32 |
/* Body */ |
| 33 |
.bkbg-poc-body { padding: 16px; display: flex; flex-direction: column; flex-grow: 1; } |
| 34 |
.bkbg-poc-meta { |
| 35 |
margin: 0 0 6px; |
| 36 |
font-family: var(--bkbg-poc-mt-font-family, inherit); |
| 37 |
font-size: var(--bkbg-poc-mt-font-size-d, 12px); |
| 38 |
font-weight: var(--bkbg-poc-mt-font-weight, 500); |
| 39 |
font-style: var(--bkbg-poc-mt-font-style, normal); |
| 40 |
text-decoration: var(--bkbg-poc-mt-text-decoration, none); |
| 41 |
text-transform: var(--bkbg-poc-mt-text-transform, none); |
| 42 |
line-height: var(--bkbg-poc-mt-line-height-d, 1.4); |
| 43 |
letter-spacing: var(--bkbg-poc-mt-letter-spacing-d, normal); |
| 44 |
word-spacing: var(--bkbg-poc-mt-word-spacing-d, normal); |
| 45 |
} |
| 46 |
.bkbg-poc-title { |
| 47 |
margin: 0 0 8px; |
| 48 |
text-decoration: var(--bkbg-poc-tt-text-decoration, none); |
| 49 |
font-family: var(--bkbg-poc-tt-font-family, inherit); |
| 50 |
font-size: var(--bkbg-poc-tt-font-size-d, 16px); |
| 51 |
font-weight: var(--bkbg-poc-tt-font-weight, 700); |
| 52 |
font-style: var(--bkbg-poc-tt-font-style, normal); |
| 53 |
text-transform: var(--bkbg-poc-tt-text-transform, none); |
| 54 |
line-height: var(--bkbg-poc-tt-line-height-d, 1.35); |
| 55 |
letter-spacing: var(--bkbg-poc-tt-letter-spacing-d, normal); |
| 56 |
word-spacing: var(--bkbg-poc-tt-word-spacing-d, normal); |
| 57 |
} |
| 58 |
.bkbg-poc-title:hover { text-decoration: underline; } |
| 59 |
.bkbg-poc-excerpt { |
| 60 |
margin: 0 0 12px; |
| 61 |
flex-grow: 1; |
| 62 |
font-family: var(--bkbg-poc-ex-font-family, inherit); |
| 63 |
font-size: var(--bkbg-poc-ex-font-size-d, 13px); |
| 64 |
font-weight: var(--bkbg-poc-ex-font-weight, 400); |
| 65 |
font-style: var(--bkbg-poc-ex-font-style, normal); |
| 66 |
text-decoration: var(--bkbg-poc-ex-text-decoration, none); |
| 67 |
text-transform: var(--bkbg-poc-ex-text-transform, none); |
| 68 |
line-height: var(--bkbg-poc-ex-line-height-d, 1.6); |
| 69 |
letter-spacing: var(--bkbg-poc-ex-letter-spacing-d, normal); |
| 70 |
word-spacing: var(--bkbg-poc-ex-word-spacing-d, normal); |
| 71 |
} |
| 72 |
.bkbg-poc-rm { font-size: 13px; font-weight: 600; text-decoration: none; margin-top: auto; } |
| 73 |
.bkbg-poc-rm:hover { text-decoration: underline; } |
| 74 |
|
| 75 |
/* Navigation */ |
| 76 |
.bkbg-poc-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; flex-wrap: wrap; gap: 12px; } |
| 77 |
.bkbg-poc-arrows { display: flex; gap: 8px; } |
| 78 |
.bkbg-poc-arrow { |
| 79 |
width: 38px; height: 38px; |
| 80 |
display: flex; align-items: center; justify-content: center; |
| 81 |
cursor: pointer; border: none; |
| 82 |
transition: opacity 0.2s, transform 0.15s; |
| 83 |
font-size: 20px; line-height: 1; |
| 84 |
} |
| 85 |
.bkbg-poc-arrow:hover { opacity: 0.75; transform: scale(0.95); } |
| 86 |
.bkbg-poc-arrow--circle { border-radius: 50%; } |
| 87 |
.bkbg-poc-arrow--square { border-radius: 4px; } |
| 88 |
.bkbg-poc-arrow--minimal { background: transparent !important; box-shadow: none !important; } |
| 89 |
|
| 90 |
.bkbg-poc-dots { display: flex; gap: 6px; align-items: center; justify-content: center; flex-grow: 1; } |
| 91 |
.bkbg-poc-dot { |
| 92 |
width: 8px; height: 8px; border-radius: 50%; |
| 93 |
border: none; cursor: pointer; padding: 0; |
| 94 |
transition: background 0.25s, transform 0.2s; |
| 95 |
} |
| 96 |
.bkbg-poc-dot.is-active { transform: scale(1.3); } |
| 97 |
|
| 98 |
/* Loading / error states */ |
| 99 |
.bkbg-poc-loading { text-align: center; padding: 40px; color: #9ca3af; font-size: 14px; } |
| 100 |
|
| 101 |
@media (max-width: 1024px) { |
| 102 |
.bkbg-poc-title { |
| 103 |
font-size: var(--bkbg-poc-tt-font-size-t, 16px); |
| 104 |
line-height: var(--bkbg-poc-tt-line-height-t, 1.35); |
| 105 |
letter-spacing: var(--bkbg-poc-tt-letter-spacing-t, normal); |
| 106 |
word-spacing: var(--bkbg-poc-tt-word-spacing-t, normal); |
| 107 |
} |
| 108 |
.bkbg-poc-excerpt { |
| 109 |
font-size: var(--bkbg-poc-ex-font-size-t, 13px); |
| 110 |
line-height: var(--bkbg-poc-ex-line-height-t, 1.6); |
| 111 |
letter-spacing: var(--bkbg-poc-ex-letter-spacing-t, normal); |
| 112 |
word-spacing: var(--bkbg-poc-ex-word-spacing-t, normal); |
| 113 |
} |
| 114 |
.bkbg-poc-meta { |
| 115 |
font-size: var(--bkbg-poc-mt-font-size-t, 12px); |
| 116 |
line-height: var(--bkbg-poc-mt-line-height-t, 1.4); |
| 117 |
letter-spacing: var(--bkbg-poc-mt-letter-spacing-t, normal); |
| 118 |
word-spacing: var(--bkbg-poc-mt-word-spacing-t, normal); |
| 119 |
} |
| 120 |
} |
| 121 |
|
| 122 |
@media (max-width: 767px) { |
| 123 |
.bkbg-poc-title { |
| 124 |
font-size: var(--bkbg-poc-tt-font-size-m, 16px); |
| 125 |
line-height: var(--bkbg-poc-tt-line-height-m, 1.35); |
| 126 |
letter-spacing: var(--bkbg-poc-tt-letter-spacing-m, normal); |
| 127 |
word-spacing: var(--bkbg-poc-tt-word-spacing-m, normal); |
| 128 |
} |
| 129 |
.bkbg-poc-excerpt { |
| 130 |
font-size: var(--bkbg-poc-ex-font-size-m, 13px); |
| 131 |
line-height: var(--bkbg-poc-ex-line-height-m, 1.6); |
| 132 |
letter-spacing: var(--bkbg-poc-ex-letter-spacing-m, normal); |
| 133 |
word-spacing: var(--bkbg-poc-ex-word-spacing-m, normal); |
| 134 |
} |
| 135 |
.bkbg-poc-meta { |
| 136 |
font-size: var(--bkbg-poc-mt-font-size-m, 12px); |
| 137 |
line-height: var(--bkbg-poc-mt-line-height-m, 1.4); |
| 138 |
letter-spacing: var(--bkbg-poc-mt-letter-spacing-m, normal); |
| 139 |
word-spacing: var(--bkbg-poc-mt-word-spacing-m, normal); |
| 140 |
} |
| 141 |
} |
| 142 |
|