/* ====================================================== Blockenberg — Reading List block styles ====================================================== */ .bkbg-rl-title { margin: 0 0 8px; } .wp-block-blockenberg-reading-list h2.bkbg-rl-title { font-family: var(--bkrl-tt-font-family); font-size: var(--bkrl-tt-font-size-d, 32px); font-weight: var(--bkrl-tt-font-weight, 700); font-style: var(--bkrl-tt-font-style, normal); text-decoration: var(--bkrl-tt-text-decoration, none); text-transform: var(--bkrl-tt-text-transform, none); line-height: var(--bkrl-tt-line-height-d, 1.2); letter-spacing: var(--bkrl-tt-letter-spacing-d, normal); word-spacing: var(--bkrl-tt-word-spacing-d, normal); } .bkbg-rl-subtitle { margin: 0 0 24px; line-height: 1.6; } /* Grid / list layouts */ .bkbg-rl-list { width: 100%; } /* Card base */ .bkbg-rl-card { overflow: hidden; transition: box-shadow 0.2s, transform 0.2s; } .bkbg-rl-card:hover { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10); transform: translateY(-2px); } /* Cover image */ .bkbg-rl-cover-wrap { overflow: hidden; flex-shrink: 0; } .bkbg-rl-cover-wrap img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; } .bkbg-rl-card:hover .bkbg-rl-cover-wrap img { transform: scale(1.03); } /* Body */ .bkbg-rl-body { padding: 16px; flex: 1; display: flex; flex-direction: column; } /* Status badge */ .bkbg-rl-badge { display: inline-block; border-radius: 999px; padding: 2px 10px; font-size: 11px; font-weight: 700; margin-bottom: 8px; letter-spacing: 0.02em; align-self: flex-start; } /* Book title */ .bkbg-rl-book-title { margin-bottom: 4px; font-family: var(--bkrl-bt-font-family, inherit); font-size: var(--bkrl-bt-font-size-d, 18px); font-weight: var(--bkrl-bt-font-weight, 700); font-style: var(--bkrl-bt-font-style, normal); text-decoration: var(--bkrl-bt-text-decoration, none); text-transform: var(--bkrl-bt-text-transform, none); line-height: var(--bkrl-bt-line-height-d, 1.3); letter-spacing: var(--bkrl-bt-letter-spacing-d, normal); word-spacing: var(--bkrl-bt-word-spacing-d, normal); } /* Author */ .bkbg-rl-author { margin-bottom: 6px; font-family: var(--bkrl-mt-font-family, inherit); font-size: var(--bkrl-mt-font-size-d, 13px); font-weight: var(--bkrl-mt-font-weight, 500); font-style: var(--bkrl-mt-font-style, normal); text-decoration: var(--bkrl-mt-text-decoration, none); text-transform: var(--bkrl-mt-text-transform, none); line-height: var(--bkrl-mt-line-height-d, 1.5); letter-spacing: var(--bkrl-mt-letter-spacing-d, normal); word-spacing: var(--bkrl-mt-word-spacing-d, normal); } /* Meta (genre + year) */ .bkbg-rl-meta { font-size: 12px; margin-bottom: 6px; } /* Stars */ .bkbg-rl-stars { display: inline-block; margin-bottom: 8px; letter-spacing: 2px; } /* Description */ .bkbg-rl-desc { margin: 0 0 12px; flex: 1; font-family: var(--bkrl-mt-font-family, inherit); font-size: var(--bkrl-mt-font-size-d, 14px); font-weight: var(--bkrl-mt-font-weight, 400); font-style: var(--bkrl-mt-font-style, normal); text-decoration: var(--bkrl-mt-text-decoration, none); text-transform: var(--bkrl-mt-text-transform, none); line-height: var(--bkrl-mt-line-height-d, 1.6); letter-spacing: var(--bkrl-mt-letter-spacing-d, normal); word-spacing: var(--bkrl-mt-word-spacing-d, normal); } /* Link */ .bkbg-rl-link { display: inline-block; font-weight: 600; font-size: 13px; text-decoration: none; margin-top: auto; transition: opacity 0.15s; } .bkbg-rl-link:hover { opacity: 0.8; text-decoration: underline; } @media (max-width: 1024px) { .wp-block-blockenberg-reading-list h2.bkbg-rl-title { font-size: var(--bkrl-tt-font-size-t, var(--bkrl-tt-font-size-d, 32px)); line-height: var(--bkrl-tt-line-height-t, var(--bkrl-tt-line-height-d, 1.2)); letter-spacing: var(--bkrl-tt-letter-spacing-t, var(--bkrl-tt-letter-spacing-d, normal)); word-spacing: var(--bkrl-tt-word-spacing-t, var(--bkrl-tt-word-spacing-d, normal)); } .bkbg-rl-book-title { font-size: var(--bkrl-bt-font-size-t, var(--bkrl-bt-font-size-d, 18px)); line-height: var(--bkrl-bt-line-height-t, var(--bkrl-bt-line-height-d, 1.3)); letter-spacing: var(--bkrl-bt-letter-spacing-t, var(--bkrl-bt-letter-spacing-d, normal)); word-spacing: var(--bkrl-bt-word-spacing-t, var(--bkrl-bt-word-spacing-d, normal)); } .bkbg-rl-author { font-size: var(--bkrl-mt-font-size-t, var(--bkrl-mt-font-size-d, 13px)); line-height: var(--bkrl-mt-line-height-t, var(--bkrl-mt-line-height-d, 1.5)); letter-spacing: var(--bkrl-mt-letter-spacing-t, var(--bkrl-mt-letter-spacing-d, normal)); word-spacing: var(--bkrl-mt-word-spacing-t, var(--bkrl-mt-word-spacing-d, normal)); } .bkbg-rl-desc { font-size: var(--bkrl-mt-font-size-t, var(--bkrl-mt-font-size-d, 14px)); line-height: var(--bkrl-mt-line-height-t, var(--bkrl-mt-line-height-d, 1.6)); letter-spacing: var(--bkrl-mt-letter-spacing-t, var(--bkrl-mt-letter-spacing-d, normal)); word-spacing: var(--bkrl-mt-word-spacing-t, var(--bkrl-mt-word-spacing-d, normal)); } } @media (max-width: 767px) { .wp-block-blockenberg-reading-list h2.bkbg-rl-title { font-size: var(--bkrl-tt-font-size-m, var(--bkrl-tt-font-size-t, var(--bkrl-tt-font-size-d, 32px))); line-height: var(--bkrl-tt-line-height-m, var(--bkrl-tt-line-height-t, var(--bkrl-tt-line-height-d, 1.2))); letter-spacing: var(--bkrl-tt-letter-spacing-m, var(--bkrl-tt-letter-spacing-t, var(--bkrl-tt-letter-spacing-d, normal))); word-spacing: var(--bkrl-tt-word-spacing-m, var(--bkrl-tt-word-spacing-t, var(--bkrl-tt-word-spacing-d, normal))); } .bkbg-rl-book-title { font-size: var(--bkrl-bt-font-size-m, var(--bkrl-bt-font-size-t, var(--bkrl-bt-font-size-d, 18px))); line-height: var(--bkrl-bt-line-height-m, var(--bkrl-bt-line-height-t, var(--bkrl-bt-line-height-d, 1.3))); letter-spacing: var(--bkrl-bt-letter-spacing-m, var(--bkrl-bt-letter-spacing-t, var(--bkrl-bt-letter-spacing-d, normal))); word-spacing: var(--bkrl-bt-word-spacing-m, var(--bkrl-bt-word-spacing-t, var(--bkrl-bt-word-spacing-d, normal))); } .bkbg-rl-author { font-size: var(--bkrl-mt-font-size-m, var(--bkrl-mt-font-size-t, var(--bkrl-mt-font-size-d, 13px))); line-height: var(--bkrl-mt-line-height-m, var(--bkrl-mt-line-height-t, var(--bkrl-mt-line-height-d, 1.5))); letter-spacing: var(--bkrl-mt-letter-spacing-m, var(--bkrl-mt-letter-spacing-t, var(--bkrl-mt-letter-spacing-d, normal))); word-spacing: var(--bkrl-mt-word-spacing-m, var(--bkrl-mt-word-spacing-t, var(--bkrl-mt-word-spacing-d, normal))); } .bkbg-rl-desc { font-size: var(--bkrl-mt-font-size-m, var(--bkrl-mt-font-size-t, var(--bkrl-mt-font-size-d, 14px))); line-height: var(--bkrl-mt-line-height-m, var(--bkrl-mt-line-height-t, var(--bkrl-mt-line-height-d, 1.6))); letter-spacing: var(--bkrl-mt-letter-spacing-m, var(--bkrl-mt-letter-spacing-t, var(--bkrl-mt-letter-spacing-d, normal))); word-spacing: var(--bkrl-mt-word-spacing-m, var(--bkrl-mt-word-spacing-t, var(--bkrl-mt-word-spacing-d, normal))); } } /* Responsive: single column on mobile for grid */ @media (max-width: 640px) { .bkbg-rl-card--grid { flex-direction: column !important; } .bkbg-rl-card--grid .bkbg-rl-cover-wrap { width: 100% !important; min-width: unset !important; height: 160px; } }