/*
 * @generated
 * Generator: scripts/generate-wordpress.ts
 * Do not edit this file directly.
 */
.latest-posts {
    box-sizing: border-box;
    margin: 0 auto;
    max-width: 80rem;
    min-width: 0;
    padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 4vw, 2rem);
    width: 100%;
}

.latest-posts--editor {
    padding-inline: 0;
}

.latest-posts--editor > .latest-posts {
    padding: 0;
}

.latest-posts__header {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.latest-posts__marker {
    background-color: var(--wp--preset--color--brand-red, #d71920);
    border-radius: var(--wp--custom--radius--brand, 2px);
    display: block;
    flex: 0 0 auto;
    height: 32px;
    width: 8px;
}

.latest-posts__title {
    color: var(--wp--preset--color--iron-black, #111213);
    font-family: var(--wp--preset--font-family--display, "Chakra Petch", sans-serif);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.1;
    margin: 0;
    text-transform: uppercase;
}

.latest-posts__grid {
    box-sizing: border-box;
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    min-width: 0;
    width: 100%;
}

.latest-posts .blog-card {
    background-color: var(--wp--preset--color--surface, #fff);
    border: 1px solid var(--wp--preset--color--border, #d9e2ec);
    border-radius: var(--wp--custom--radius--brand, 2px);
    box-sizing: border-box;
    box-shadow: var(--wp--custom--shadow--ui, 0 2px 4px rgba(0, 0, 0, 0.05));
    color: inherit;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    text-decoration: none;
    transition:
        transform var(--wp--custom--transition--base, 0.3s ease),
        box-shadow var(--wp--custom--transition--base, 0.3s ease),
        border-color var(--wp--custom--transition--base, 0.3s ease);
}

.latest-posts__grid[data-latest-posts-motion] > .blog-card {
    opacity: 0;
    transform: translateY(1.25rem);
    transition:
        opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.55s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow var(--wp--custom--transition--base, 0.3s ease),
        border-color var(--wp--custom--transition--base, 0.3s ease);
    transition-delay: 0ms;
    will-change: opacity, transform;
}

.latest-posts__grid[data-latest-posts-motion='visible'] > .blog-card {
    opacity: 1;
    transform: translateY(0);
}

.latest-posts__grid[data-latest-posts-motion='visible'] > .blog-card:hover,
.latest-posts__grid[data-latest-posts-motion='visible'] > .blog-card:focus {
    transform: translateY(-4px);
}

.latest-posts__grid[data-latest-posts-motion] > .blog-card:nth-child(2) {
    transition-delay: 90ms;
}

.latest-posts__grid[data-latest-posts-motion] > .blog-card:nth-child(3) {
    transition-delay: 180ms;
}

.latest-posts .blog-card:hover,
.latest-posts .blog-card:focus {
    border-color: var(--wp--preset--color--graphite, #5d6264);
    box-shadow: var(--wp--custom--shadow--depth, 0 4px 12px rgba(0, 0, 0, 0.1));
    transform: translateY(-4px);
}

@media (prefers-reduced-motion: reduce) {
    .latest-posts__grid[data-latest-posts-motion] > .blog-card {
        opacity: 1;
        transform: none;
        transition: none;
        will-change: auto;
    }
}

.latest-posts .blog-card__img-wrap {
    border-bottom: 1px solid var(--wp--preset--color--border, #d9e2ec);
    height: 14rem;
    overflow: hidden;
    position: relative;
}

.latest-posts .blog-card__img {
    display: block;
    filter: contrast(110%);
    height: 100%;
    object-fit: cover;
    transition:
        filter var(--wp--custom--transition--base, 0.3s ease),
        transform 0.7s ease;
    width: 100%;
}

.latest-posts .blog-card:hover .blog-card__img,
.latest-posts .blog-card:focus .blog-card__img {
    filter: contrast(110%);
    transform: scale(1.05);
}

.latest-posts .blog-card__img-placeholder {
    background:
        linear-gradient(135deg, transparent 0 48%, color-mix(in srgb, var(--wp--preset--color--brand-red, #d71920) 16%, transparent) 48% 52%, transparent 52%),
        var(--wp--preset--color--surface-muted, #f5f5f5);
}

.latest-posts .blog-card__overlay {
    background-color: color-mix(in srgb, var(--wp--preset--color--brand-red, #d71920) 10%, transparent);
    inset: 0;
    mix-blend-mode: multiply;
    opacity: 0;
    position: absolute;
    transition: opacity var(--wp--custom--transition--base, 0.3s ease);
}

.latest-posts .blog-card:hover .blog-card__overlay,
.latest-posts .blog-card:focus .blog-card__overlay {
    opacity: 1;
}

.latest-posts .blog-card__body {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-width: 0;
    padding: 2rem;
}

.latest-posts .blog-card__meta {
    align-items: center;
    display: flex;
    font-family: var(--wp--preset--font-family--mono, monospace);
    font-size: 0.75rem;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.latest-posts .blog-card__date {
    color: var(--wp--preset--color--text-muted, #77808f);
    font-weight: 500;
}

.latest-posts .blog-card__category {
    color: var(--wp--preset--color--brand-red, #d71920);
    font-weight: 700;
    text-align: right;
}

.latest-posts .blog-card__title {
    color: var(--wp--preset--color--iron-black, #111213);
    font-family: var(--wp--preset--font-family--display, "Chakra Petch", sans-serif);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.2;
    margin: 0 0 1rem;
    overflow-wrap: break-word;
    text-transform: uppercase;
    transition: color var(--wp--custom--transition--fast, 0.15s ease);
}

.latest-posts .blog-card:hover .blog-card__title,
.latest-posts .blog-card:focus .blog-card__title {
    color: var(--wp--preset--color--brand-red, #d71920);
}

.latest-posts .blog-card__footer {
    align-items: center;
    border-top: 1px solid var(--wp--preset--color--border, #d9e2ec);
    display: flex;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 1rem;
}

.latest-posts .blog-card__link {
    align-items: center;
    color: var(--wp--preset--color--iron-black, #111213);
    display: flex;
    font-family: var(--wp--preset--font-family--mono, monospace);
    font-size: 0.75rem;
    font-weight: 700;
    gap: 0.5rem;
    text-transform: uppercase;
}

.latest-posts .blog-card__arrow {
    background-color: currentColor;
    color: var(--wp--preset--color--brand-red, #d71920);
    display: inline-flex;
    height: 0.875rem;
    font-size: 0;
    line-height: 1;
    -webkit-mask: url("data:image/svg+xml,%3Csvg fill='none' stroke='black' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke-linecap='square' stroke-linejoin='miter' stroke-width='2' d='M5 12h14m-6-6 6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg fill='none' stroke='black' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke-linecap='square' stroke-linejoin='miter' stroke-width='2' d='M5 12h14m-6-6 6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
    transition: transform var(--wp--custom--transition--fast, 0.15s ease);
    width: 0.875rem;
}

.latest-posts .blog-card:hover .blog-card__arrow,
.latest-posts .blog-card:focus .blog-card__arrow {
    transform: translateX(4px);
}

.latest-posts__empty {
    background-color: var(--wp--preset--color--surface-muted, #f5f5f5);
    border: 1px dashed var(--wp--preset--color--border, #d9e2ec);
    border-radius: var(--wp--custom--radius--brand, 2px);
    color: var(--wp--preset--color--text-muted, #77808f);
    font-family: var(--wp--preset--font-family--mono, monospace);
    font-size: 0.875rem;
    font-weight: 700;
    padding: 2rem;
    text-align: center;
    text-transform: uppercase;
}
