/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */

/* vj-tax-grid: 3-column card grid on shared taxonomy archives (Specialty, Health Topic, Language) */
body.tax-vj_specialty .entries,body.tax-vj_topic .entries,body.tax-vj_language .entries{--grid-template-columns:repeat(3,minmax(0,1fr));--grid-columns-gap:24px;align-items:stretch}
body.tax-vj_specialty .entries>.entry-card,body.tax-vj_topic .entries>.entry-card,body.tax-vj_language .entries>.entry-card{height:100%;padding:0;background:none;box-shadow:none;border:0;--card-inner-spacing:0}
@media(max-width:999.98px){body.tax-vj_specialty .entries,body.tax-vj_topic .entries,body.tax-vj_language .entries{--grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:689.98px){body.tax-vj_specialty .entries,body.tax-vj_topic .entries,body.tax-vj_language .entries{--grid-template-columns:repeat(1,minmax(0,1fr))}}

/* Specialty Archive (Full Page template): centre the GreenLight wraps and drop the theme's top spacing. */
.vjsp .vjsp-wrap{margin-left:auto!important;margin-right:auto!important}
div:has(> .ct-container-full .vjsp){padding-top:0!important;padding-bottom:0!important}
.ct-container-full:has(.vjsp) > article{margin:0!important}
#vjsp-doctor .vjsp-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,460px),1fr))}
#vjsp-center .vjsp-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,340px),1fr))}

/* Archive Template cards (Content Blocks): the card is the design, so drop Blocksy's boxed-card frame around it. */
.entries > .entry-card:has(> [data-block^="archive:"]){padding:0!important;background:none!important;box-shadow:none!important;border:0!important;height:100%}
.entries:has(> .entry-card > [data-block^="archive:"]){--grid-columns-gap:30px;align-items:stretch}

/* News & Updates single: the template has its own top spacing. */
[data-block]:has(.vjns){padding-top:0!important}

