/* Contentscape Works: the details text inherits the site font, like the old WooCommerce block did. */
.cw-work-excerpt, .cw-work-excerpt p { font-family: inherit; }

/* Work button (per work, optional): outlined, full width of the text column, site font. */
.cw-work-button {
	display: block; box-sizing: border-box; width: 100%;
	padding: 12px 20px; border: 1px solid #000; border-radius: 0;
	background: transparent; color: #000;
	font-family: "Abel", sans-serif; font-size: 16px; line-height: 1.5; letter-spacing: .02em;
	text-align: center; text-decoration: none;
	transition: background-color .2s ease, color .2s ease;
}
.cw-work-button:hover, .cw-work-button:focus-visible { background: #000; color: #fff; }
.cw-work-button:focus-visible { outline: 2px solid #000; outline-offset: 3px; }

/* Gallery thumbnails under the main picture (only on works with extra images). Sizes locked: the image widget's own img rules would otherwise stretch them. */
ul.cw-gallery{display:flex !important;flex-wrap:wrap;justify-content:flex-start;gap:10px;list-style:none;margin:14px 0 0 !important;padding:0 !important;text-align:left}
ul.cw-gallery>li{display:block;flex:0 0 auto;width:auto;margin:0;padding:0;list-style:none}
ul.cw-gallery button.cw-gallery-thumb{display:block;box-sizing:border-box;width:64px !important;height:64px !important;min-width:0;max-width:none;padding:0;margin:0;border:1px solid transparent;border-radius:0;background:#f4f4f4;box-shadow:none;cursor:pointer;opacity:.55;transition:opacity .2s ease,border-color .2s ease;line-height:0;overflow:hidden}
ul.cw-gallery button.cw-gallery-thumb img{display:block !important;width:100% !important;height:100% !important;max-width:none !important;object-fit:cover;margin:0;border:0;border-radius:0;opacity:1}
ul.cw-gallery button.cw-gallery-thumb:hover,ul.cw-gallery button.cw-gallery-thumb:focus-visible{opacity:1;background:#f4f4f4}
ul.cw-gallery button.cw-gallery-thumb:focus-visible{outline:1px solid #2f2e2e;outline-offset:2px}
ul.cw-gallery button.cw-gallery-thumb.is-active{opacity:1;border-color:#2f2e2e}
.elementor-widget-container img.cw-gallery-swap{opacity:.35}
@media (min-width:768px){ul.cw-gallery button.cw-gallery-thumb{width:72px !important;height:72px !important}}
@media (prefers-reduced-motion:reduce){ul.cw-gallery button.cw-gallery-thumb{transition:none}}

/* Previous / next work (same font, size and grey as the breadcrumb; chevrons as in the picture viewer). */
.cw-wnav{font-family:"Abel",sans-serif;font-size:16px;line-height:24.48px;font-weight:100;color:#666}
.cw-wnav a.cw-wnav__link{display:inline-flex;align-items:center;gap:8px;color:#666;text-decoration:none;transition:color .2s ease}
.cw-wnav a.cw-wnav__link:hover,.cw-wnav a.cw-wnav__link:focus-visible{color:#000}
.cw-wnav a.cw-wnav__link:focus-visible{outline:1px solid #000;outline-offset:2px}
.cw-wnav svg{display:block;flex:none;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.2;stroke-linecap:square}
.elementor-section > .cw-wnav--bottom{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;box-sizing:border-box;width:100%;max-width:1300px;margin:56px auto 0;padding:0 10px}
.cw-wnav--bottom a.cw-wnav__link{min-height:44px;max-width:48%}
.cw-wnav--bottom .cw-wnav__next{margin-left:auto;text-align:right}
@media (max-width:767px){.elementor-section > .cw-wnav--bottom{margin-top:36px}}
@media (prefers-reduced-motion:reduce){.cw-wnav a.cw-wnav__link{transition:none}}
