div[data-callout*="grid-md"].callout>div.callout-content>p,
div[data-callout*="grid"].callout>div.callout-content>p
{
    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    justify-items: center;
    justify-content: center;
    grid-auto-flow: dense;
    gap: 5px;

}
div[data-callout*="grid-md"].callout>div.callout-content>p>span img,
div[data-callout*="grid"].callout>div.callout-content>p>span img,
div[data-callout*="grid-md"].callout>div.callout-content>p>a>span img,
div[data-callout*="grid"].callout>div.callout-content>p>a>span img {
    object-fit: cover;
    height: 100%;
    border: 0.1px solid rgba(255, 255, 255, 0.537);
    /* height: 400px !important; */
	/* height: 100% !important; */
	/* width: 100%; */
	/* border-radius: 0; */
}

div[data-callout*="grid-md"].callout>div.callout-content>p>span[alt="h"],
div[data-callout*="grid"].callout>div.callout-content>p>span[alt="h"],
div[data-callout*="grid-md"].callout>div.callout-content>p>a>span[alt="h"],
div[data-callout*="grid"].callout>div.callout-content>p>a>span[alt="h"] {
    grid-column: auto / span 2;
}

div[data-callout*="grid-md"].callout>div.callout-content>p>span[alt="v"],
div[data-callout*="grid"].callout>div.callout-content>p>span[alt="v"],
div[data-callout*="grid-md"].callout>div.callout-content>p>a>span[alt="v"],
div[data-callout*="grid"].callout>div.callout-content>p>a>span[alt="v"] {
    grid-row: auto / span 2;
}
div[data-callout*="grid-md"].callout>div.callout-content>p>span[alt="b"],
div[data-callout*="grid"].callout>div.callout-content>p>span[alt="b"],
div[data-callout*="grid-md"].callout>div.callout-content>p>a>span[alt="b"],
div[data-callout*="grid"].callout>div.callout-content>p>a>span[alt="b"] {
    grid-row: auto / span 2;
    grid-column: auto / span 2;
}

div[data-callout*="grid-md"].callout>div.callout-content>p>a,
div[data-callout*="grid"].callout>div.callout-content>p>a
{
    padding-right: 0;
    background-image: none;
}

div[data-callout*="grid-md"].callout>div.callout-content>p>span,
div[data-callout*="grid"].callout>div.callout-content>p>span,
div[data-callout*="grid-md"].callout>div.callout-content>p>a>span,
div[data-callout*="grid"].callout>div.callout-content>p>a>span {
    line-height: 0;
    padding: 0;
    border: none;
    width: fit-content;
}


/* Embeds */
div[data-callout*="grid-md"].callout>div.callout-content>p>span div,
div[data-callout*="grid"].callout>div.callout-content>p>span div,
div[data-callout*="grid-md"].callout>div.callout-content>p>a>span div,
div[data-callout*="grid"].callout>div.callout-content>p>a>span div {
    line-height: 0;
    padding: 0;
    border: none;
    width:fit-content;
}


/* Callout - title, background, padding, etc */
div[data-callout*="grid"].callout,
div[data-callout*="grid-md"].callout {
    background: none;
    --callout-icon: none;
    --callout-color: none;
    padding: 0;
}


div[data-callout*="grid"].callout>div.callout-title,
div[data-callout*="grid-md"].callout>div.callout-title {
    gap: 0;
    background-color: rgba(0, 0, 0, 0) !important;
    padding: 0;
}

div[data-callout*="grid"].callout>div.callout-title>div.callout-title-inner,
div[data-callout*="grid-md"].callout>div.callout-title>div.callout-title-inner {
    gap: 0;
    background: none !important;
    padding: 0;
}
div[data-callout*="grid"].callout>div.callout-title>div.callout-icon,
div[data-callout*="grid-md"].callout>div.callout-title>div.callout-icon {
    width: 0;
    height: 0 !important;
}

div[data-callout*="grid-md"].callout>div.callout-content>p>br,
div[data-callout*="grid"].callout>div.callout-content>p>br {
    content: "" !important;
}

/* Hide title */
.callout[data-callout*="grid"] .callout-title-inner {
    display: none;
}