.post-grid {
    background-color: var(--color-white);
    border-radius: 15px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-grid .featured-label {
    background-color: var(--color-white);
    border-radius: 3px;
    color: var(--color-canvas-text);
    display: none;
    font-family: 'Poppins';
    font-size: 13px;
    font-style: normal;
    font-weight: 500;
    left: 15px;
    line-height: 100%;
    padding: 6px 10px;
    position: absolute;
    top: 15px;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.post-grid .post-category {
    background-color: var(--color-mint-light);
    border-radius: 15px;
    display: inline-block;
    margin: 15px 15px 0;
    padding: 2px 10px;
    text-align: left;
    transition: background-color 0.3s ease;
}

.post-grid .post-category a {
  color: var(--color-canvas-text);
  font-family: 'Poppins';
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
  line-height: 100%;
}

.post-grid .post-thumbnail {
    margin: 0;
    overflow: hidden;
    position: relative;
}

.post-grid .post-thumbnail img {
    transition: transform 0.3s ease;
    width: 100%;
}

.post-grid .post-title {
    color: var(--color-canvas-text);
    font-family: 'Poppins';
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 130%;
    margin: 15px 15px 30px;
    min-height: 120px;
    text-align: left;
    transition: color 0.3s ease;
}

.post-grid .post-meta {
    align-items: center;
    border-top: 1px solid var(--color-grey-border);
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    margin: 15px 15px 0;
    padding: 15px 0;
    position: relative;
    text-transform: none;
    transition: color 0.3s ease;
}

.post-grid .post-meta span {
    display: inline-block;
    margin: 0 5px;
    position: relative;
}

.post-grid .post-meta span:not(:last-child)::after {
    background-color: var(--color-grey);
    content: '';
    display: inline-block;
    height: 2px;
    width: 2px;
    border-radius: 50%;
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
}

.post-grid .post-meta .post-author {
    display: none;
    margin: 0;
    padding: 0;
}

.post-grid .post-meta .post-author .avatar {
    margin: 0 0 5px;
}

.post-grid .post-meta .post-author::before {
    background: none;
}

.post-grid .post-meta .post-reading-time {
    align-items: center;
    color: var(--color-grey);
    display: flex;
    justify-content: center;
    transition: color 0.3s ease;
}

.post-grid .post-meta .post-reading-time .icon-eye {
    content: '\f06e';
    font-family: 'icons';
    font-size: 1em;
    margin-right: 5px;
    vertical-align: middle;
}

.post-grid .post-arrow {
    bottom: 0;
    color: var(--color-brand-blue);
    display: none;
    font-size: 24px;
    line-height: 1;
    padding: 15px 0;
    pointer-events: none;
    position: absolute;
    right: 15px;
}

.post-grid .post-arrow::before {
    content: '\2192';
    display: block;
}

.post-grid:hover {
    box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.2), 0px 10px 25px rgba(0, 0, 0, 0.3);
    transform: translateY(-5px);
}

.post-grid:hover .post-meta::after,
.post-grid:hover .post-thumbnail img + .post-meta::after,
.post-grid:hover .post-title + .post-meta::after {
    color: var(--color-brand-blue);
    opacity: 1;
}

.post-grid:hover .post-thumbnail img {
    transform: scale(1.1);
}

.post-grid:hover .post-thumbnail img,
.post-grid:hover .post-title {
    color: var(--color-brand-blue);
}

.post-grid:hover .featured-label {
    opacity: 1;
}

.post-grid .post-category:hover {
    background-color: var(--color-mint-pale);
    color: inherit;
}

.post-grid .post-title:hover {
    color: var(--color-brand-blue);
}

.post-grid:hover .post-arrow {
    display: block;
    animation: fadeInArrow 0.3s;
}

@keyframes fadeInArrow {
    from { opacity: 0; transform: translateX(10px);}
    to { opacity: 1; transform: translateX(0);}
}

@media (max-width: 1200px) {
    .post-grid {
        margin-bottom: 30px;
    }

    .post-grid .post-title {
        font-size: 16px;
        min-height: 0;
    }
}
