.king-addons-post-grid {
    --kng-post-grid-gap: 20px;
}

.king-addons-post-grid__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--kng-post-grid-gap);
}

.king-addons-post-grid__card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
    padding: 20px;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(17, 24, 39, 0.06);
}

.king-addons-post-grid__media {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.king-addons-post-grid__media img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: var(--kng-post-grid-image-fit, cover);
}

.king-addons-post-grid__body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
}

.king-addons-post-grid__title {
    margin: 0;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 700;
    color: #111827;
}

.king-addons-post-grid__title a {
    color: inherit;
    text-decoration: none;
}

.king-addons-post-grid__meta {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.4;
}

.king-addons-post-grid__excerpt {
    margin: 0;
    color: #4b5563;
    line-height: 1.6;
    font-size: 15px;
}

.king-addons-post-grid__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    width: fit-content;
    background-color: #111827;
    color: #ffffff;
    border: 1px solid #111827;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.king-addons-post-grid__button:hover {
    background-color: #0b1220;
    border-color: #0b1220;
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(17, 24, 39, 0.18);
}

.king-addons-post-grid--button-align-left .king-addons-post-grid__button {
    align-self: flex-start;
}

.king-addons-post-grid--button-align-center .king-addons-post-grid__button {
    align-self: center;
}

.king-addons-post-grid--button-align-right .king-addons-post-grid__button {
    align-self: flex-end;
}

.king-addons-post-grid--button-text-align-left .king-addons-post-grid__button {
    justify-content: flex-start;
    text-align: left;
}

.king-addons-post-grid--button-text-align-center .king-addons-post-grid__button {
    justify-content: center;
    text-align: center;
}

.king-addons-post-grid--button-text-align-right .king-addons-post-grid__button {
    justify-content: flex-end;
    text-align: right;
}

.king-addons-post-grid--text-align-left .king-addons-post-grid__body {
    align-items: flex-start;
    text-align: left;
}

.king-addons-post-grid--text-align-center .king-addons-post-grid__body {
    align-items: center;
    text-align: center;
}

.king-addons-post-grid--text-align-right .king-addons-post-grid__body {
    align-items: flex-end;
    text-align: right;
}

.king-addons-post-grid__card[data-card-link] {
    cursor: pointer;
}

.elementor-editor-active .king-addons-post-grid__card[data-card-link] {
    cursor: default;
}

.king-addons-post-grid .king-addons-post-grid__card {
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.25s ease;
}

.king-addons-post-grid__card.is-anim-hover-lift {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.king-addons-post-grid__card.is-anim-hover-lift:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 38px rgba(17, 24, 39, 0.18);
}

.king-addons-post-grid__card.is-anim-hover-zoom .king-addons-post-grid__media img {
    transition: transform 0.25s ease;
}

.king-addons-post-grid__card.is-anim-hover-zoom:hover .king-addons-post-grid__media img {
    transform: scale(1.04);
}

.king-addons-post-grid__card.is-anim-hover-tilt {
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    transform-style: preserve-3d;
    transform-origin: center;
}

.king-addons-post-grid__card.is-anim-hover-tilt:hover {
    transform: translateY(-8px) rotate3d(1, 1, 0, 6deg) perspective(700px) translateX(-4px);
    box-shadow: 0 22px 44px rgba(17, 24, 39, 0.22);
}

.king-addons-post-grid__card.is-anim-hover-float {
    transition: transform 0.32s ease, box-shadow 0.32s ease;
}

.king-addons-post-grid__card.is-anim-hover-float:hover {
    transform: translateY(-12px) scale(1.01);
    box-shadow: 0 20px 32px rgba(17, 24, 39, 0.18);
}

.king-addons-post-grid__card.is-anim-hover-scale-fade {
    transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.king-addons-post-grid__card.is-anim-hover-scale-fade:hover {
    transform: scale(1.03);
    box-shadow: 0 22px 44px rgba(17, 24, 39, 0.22);
    opacity: 0.94;
}

.king-addons-post-grid--image-ratio-square .king-addons-post-grid__media {
    aspect-ratio: 1 / 1;
}

.king-addons-post-grid--image-ratio-4-3 .king-addons-post-grid__media {
    aspect-ratio: 4 / 3;
}

.king-addons-post-grid--image-ratio-3-2 .king-addons-post-grid__media {
    aspect-ratio: 3 / 2;
}

.king-addons-post-grid--image-ratio-16-9 .king-addons-post-grid__media {
    aspect-ratio: 16 / 9;
}

.king-addons-post-grid--image-ratio-square .king-addons-post-grid__media img,
.king-addons-post-grid--image-ratio-4-3 .king-addons-post-grid__media img,
.king-addons-post-grid--image-ratio-3-2 .king-addons-post-grid__media img,
.king-addons-post-grid--image-ratio-16-9 .king-addons-post-grid__media img {
    height: 100%;
}



