.cpt-shortcode-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 24px;
} .cpt-item {
background: #ffffff;
border-radius: 16px;
overflow: hidden;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
transition: transform .25s ease, box-shadow .25s ease;
display: flex;
flex-direction: column;
text-align: center;
} .cpt-item:hover {
transform: translateY(-4px);
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
} .cpt-thumb {
width: 100%;
background: #f2f2f2;
}
.cpt-thumb img {
width: 100%;
height: auto; display: block;
object-fit: contain; } .cpt-item h3 {
font-size: 17px;
font-weight: 600;
margin: 16px;
line-height: 1.3;
color: #222;
}
@media (max-width: 1200px) {
.cpt-shortcode-grid {
grid-template-columns: repeat(3, 1fr);
}
}
@media (max-width: 900px) {
.cpt-shortcode-grid {
grid-template-columns: repeat(2, 1fr);
}
}
@media (max-width: 480px) {
.cpt-shortcode-grid {
grid-template-columns: 1fr;
}
}
.cpt-link {
display: flex;
flex-direction: column;
height: 100%;
text-decoration: none;
color: inherit;
}
.cpt-link:hover h3 {
text-decoration: underline;
}.is-small-text{font-size:.875em}.is-regular-text{font-size:1em}.is-large-text{font-size:2.25em}.is-larger-text{font-size:3em}.has-drop-cap:not(:focus):first-letter{float:left;font-size:8.4em;font-style:normal;font-weight:100;line-height:.68;margin:.05em .1em 0 0;text-transform:uppercase}body.rtl .has-drop-cap:not(:focus):first-letter{float:none;margin-left:.1em}p.has-drop-cap.has-background{overflow:hidden}:root :where(p.has-background){padding:1.25em 2.375em}:where(p.has-text-color:not(.has-link-color)) a{color:inherit}p.has-text-align-left[style*="writing-mode:vertical-lr"],p.has-text-align-right[style*="writing-mode:vertical-rl"]{rotate:180deg}