/* In-article ads (image banners + DBH book strips). Space is reserved to avoid layout shift. */
.vd-ad { margin: 1.6em 0 !important; padding: 14px 0 16px; border-block: 1px solid #E5E5E5; font-size: 15px; line-height: 1.4; }
.vd-ad__label { display: block; font-size: 12px; color: #6B6B6B; margin-bottom: 8px; font-family: var(--wp--preset--font-family--body, sans-serif); }
.vd-ad--image { text-align: center; }
.vd-ad__img { display: block; width: 100%; height: auto; margin: 0 auto; }
.vd-ad a { text-decoration: none !important; color: inherit; }
.vd-ad__head { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 2px 12px; margin-bottom: 12px; }
.vd-ad__head .vd-ad__label { grid-column: 1 / -1; margin: 0; }
.vd-ad__title { font-family: var(--wp--preset--font-family--headline, sans-serif); font-weight: 700; font-size: 20px; color: #111; }
.vd-ad__more { font-size: 14px; font-weight: 600; color: #C8102E !important; white-space: nowrap; }
.vd-books { list-style: none; margin: 0 !important; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.vd-books--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vd-books--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vd-books li { margin: 0 !important; }
.vd-books a { display: flex; flex-direction: column; gap: 6px; }
.vd-book__cover { display: block; aspect-ratio: 2 / 3; background: #F3EEE4; border-radius: 3px 8px 8px 3px; overflow: hidden; box-shadow: 0 8px 18px rgba(0,0,0,.16), inset 5px 0 0 rgba(0,0,0,.08); transition: transform .15s; }
.vd-book__cover img { width: 100%; height: 100%; object-fit: contain; display: block; }
.vd-books a:hover .vd-book__cover { transform: translateY(-3px); }
.vd-book__t { font-size: 14px; font-weight: 600; line-height: 1.4; color: #111; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vd-book__p { font-size: 14px; font-weight: 700; color: #C8102E; }
@media (max-width: 600px) {
	.vd-books { grid-auto-flow: column; grid-template-columns: none !important; grid-auto-columns: 42%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
	.vd-books li { scroll-snap-align: start; }
	.vd-ad--desktop-only { display: none; }
}
@media (min-width: 601px) { .vd-ad--mobile-only { display: none; } }
@media (prefers-reduced-motion: reduce) { .vd-book__cover { transition: none; } }
