.azcom-posts {
    box-sizing: border-box;
    text-align: var(--azcom-post-alignment, start);
}

.azcom-products:where(.azcom-posts) .azcom-product-track {
    --azcom-columns: 3;
    --azcom-gap: 24px;
}

.azcom-post-card article {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.azcom-post-media {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 4px;
}

.azcom-posts .azcom-post-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.azcom-posts .azcom-section-title,
.azcom-posts .azcom-post-card article {
    text-align: var(--azcom-post-alignment, start);
}

.azcom-post-categories {
    margin-block-start: 16px;
    font-size: .6875rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.azcom-posts .azcom-post-title {
    margin: 12px 0 0;
    font-size: clamp(1.125rem, 2.2vw, 1.5rem);
    font-weight: 500;
    line-height: 1.32;
    overflow-wrap: anywhere;
}

.azcom-posts .azcom-post-title a {
    color: inherit;
    text-decoration: none;
}

.azcom-post-title a:hover,
.azcom-post-title a:focus-visible {
    text-decoration: underline;
}

.azcom-post-date,
.azcom-post-author,
.azcom-post-excerpt {
    margin: 8px 0 0;
    font-size: .875rem;
}

.azcom-post-action {
    margin-block-start: auto;
    padding-block-start: 16px;
}

.azcom-posts .azcom-post-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid currentColor;
    color: inherit;
    font-size: .8125rem;
    line-height: 1.25;
    text-decoration: none;
}

.azcom-posts .azcom-post-button:hover,
.azcom-posts .azcom-post-button:focus-visible {
    text-decoration: underline;
}

.azcom-posts .azcom-post-bookmark {
    position: absolute;
    inset-block-start: 12px;
    inset-inline-end: 12px;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgb(29 22 20 / .57);
    color: #fff;
    cursor: pointer;
}

.azcom-posts .azcom-post-bookmark[hidden] { display: none; }
.azcom-posts .azcom-post-bookmark:first-child {
    position: static;
    align-self: flex-end;
}

.azcom-post-bookmark svg { fill: none; }
.azcom-post-bookmark[aria-pressed="true"] svg { fill: currentColor; }

@media (max-width: 1024px) {
    .azcom-products:where(.azcom-posts) .azcom-product-track { --azcom-columns: 2; }
}

@media (max-width: 767px) {
    .azcom-products:where(.azcom-posts) .azcom-product-track { --azcom-columns: 1; }
}
