/* ==========================================================================
   A JEWEL'S OWN PAGE, and the first cards of the jewellery list
   Markup: sec/scripts/php/seo/Jewels.php (block() and firstCards()), printed by
   template/page/1column-jewel-list.phtml and 1column-wedding-list.phtml.
   Loaded on those two pages only (VadSeoJewels::CSS; raise its ?v= with every change here).

   The product block itself is css/seo-product.css, and so is the row of the rest of its
   collection with the button to the list (.vad-product-more): a jewel's page ends there.
   Here: the frame around them, and the list's cards before its script has run. Same look: Unna for the headings, the warm ink #2e2a26 on hairlines of #e4dbd1,
   gold #a8804a for what can be clicked.
   ========================================================================== */

/* --- the frame ----------------------------------------------------------- */
.vad-jewel-page{margin:0; text-align:left;}

/* A wedding set's page goes on with the design request (1column-wedding-list.phtml). */
.vad-jewel-page + #jewel-search{margin-top:0;}
.cms-diamanten-schmuck .vad-jewel-page + #jewel-search,
.cms-jewellery .vad-jewel-page + #jewel-search,
.cms-juwelen .vad-jewel-page + #jewel-search{padding-top:0;}

/* --- the list's first cards ---------------------------------------------- */
/* The jewellery page is printed with the cards of its list. Until masonry places them
   (jewels.jquery.js removes the class then) they stand in rows; on a phone style.css has its
   own grid. The list's cards are hidden until masonry has run: these are not. */
#jewel-search #jewel-result.jewel-result-first .jewel{visibility:visible;}
	/* room for a photo that is not there yet */
	#jewel-search #jewel-result.jewel-result-first .jewel > a > img{width:100%; aspect-ratio:auto 1 / 1;}
@media screen and (min-width:781px){
	#jewel-search #jewel-result.jewel-result-first{display:flex; flex-wrap:wrap; justify-content:flex-start; align-items:flex-start; column-gap:20px; height:auto;}
}

/* --- phone --------------------------------------------------------------- */
/* The pink "make your own jewel" bar floats along the foot of a phone's screen (style.css,
   .custom-box, from 500px down), which on this page is where the order button is when the
   page opens. A jewel's own page has its own two buttons: the bar stays away here. */
@media screen and (max-width:500px){
	body:has(.vad-jewel-page) .custom-box{display:none;}
}
