.callout-press {
    padding: var(--wp--custom--layout--block-gap) 0;
    color: var(--wp--preset--color--ink);
    --s: 20px; /* the ribbon size */
    --d: 20px; /* the depth */
    --c: 20px; /* the cutout part */
  padding: 0 calc(var(--s) + var(--d)) var(--d);
  background:
    conic-gradient(at left  var(--s) bottom var(--d),
     #F4F4F4 25%,#d6d6d6 0 37.5%,#e4e4e4 0) 0   /50% no-repeat,
    conic-gradient(at right var(--s) bottom var(--d),
     #e4e4e4 62.5%,#d6d6d6 0 75%,#F4F4F4 0) 100%/50% no-repeat;
  clip-path: polygon(0 var(--d), var(--s) var(--d),var(--s) 0,calc(100% - var(--s)) 0,calc(100% - var(--s)) var(--d),100% var(--d),calc(100% - var(--c)) calc(50% + var(--d)/2),100% 100%,calc(100% - var(--s) - var(--d)) 100%,calc(100% - var(--s) - var(--d)) calc(100% - var(--d)),calc(var(--s) + var(--d)) calc(100% - var(--d)),calc(var(--s) + var(--d)) 100%,0 100%,var(--c) calc(50% + var(--d)/2));
  background-color: var(--wp--preset--color--grey); /* the main color */
  /* width: fit-content; you may need to use this in your code if the element is full width */
}

.callout-press .section-title {
    font-size: var(--wp--preset--font-size--small);
    letter-spacing: var(--wp--custom--letter-spacing--loose);
    line-height: var(--wp--custom--line-height--small);
    font-weight: 400;
    color: var(--wp--preset--color--ink);
    text-align: left;
    position: relative;
    width: fit-content;
    display: block;
}

.press-inner {
    display: grid;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    grid-template-columns: repeat(10, minmax(0, 1fr));
}

.press-inner img {
    height: auto;
    object-fit: contain;
    display: block;
}

/*--------------------------------------------------------------
STYLE: IN POST
--------------------------------------------------------------*/
.type-post .callout-press {
    padding: var(--wp--custom--layout--block-gap);
    margin:20px auto!important;
    max-width: 100% !important;
    border-radius: var(--wp--custom--border-radius--medium);
}
.type-post .press-inner {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}
/*--------------------------------------------------------------
STYLE: AFTER POST
--------------------------------------------------------------*/
.block-area-after-post .callout-press {
    padding: var(--wp--custom--layout--block-gap);
    margin:20px auto!important;
    max-width: 100% !important;
    border-radius: var(--wp--custom--border-radius--medium);
}
.block-area-after-post .press-inner {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}
/*--------------------------------------------------------------
STYLE: IN POST
--------------------------------------------------------------*/
.content-sidebar .editor-styles-wrapper .callout-press {
    padding: var(--wp--custom--layout--block-gap);
    margin:20px auto!important;
    max-width: 100% !important;
    border-radius: var(--wp--custom--border-radius--medium);
}
.content-sidebar .editor-styles-wrapper .press-inner {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}
/*--------------------------------------------------------------
Style - Sidebar
--------------------------------------------------------------*/
.block-area-sidebar .callout-press {
    padding: var(--wp--custom--layout--block-gap);
    margin:20px auto!important;
    max-width: 100% !important;
    border-radius: var(--wp--custom--border-radius--medium);
}
.block-area-sidebar .callout-press .section-title {
    font-size: var(--wp--preset--font-size--xsmall);
}
.block-area-sidebar .press-inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/*--------------------------------------------------------------
Style - Responsive
--------------------------------------------------------------*/
@media (max-width: 1024px) {
   .press-inner {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    } 
}
@media (max-width: 600px) {
    .press-inner {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .callout-press .section-title {
    grid-column: span 3;
}
}
@media (max-width: 400px) {
    .press-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .callout-press .section-title {
    grid-column: span 2;
}
}
