.row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.post-card {
    background-color: white;
    border: 1px solid #ddd;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.post-media {
    position: relative;
    width: 100%;
    overflow: hidden;
    min-height: 500px;
}

.post-media img,
.post-media-video,
.post-media-quote {
    width: 100%;
    height: auto;
    min-height: 500px;
    object-fit: cover;
}

.post-media-video {
    padding: 20px;
    background-color: black;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.post-media-quote {
    padding: 20px;
    background-color: var(--cor-fundo-session);
    color: #333;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.post-date {
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--cor-ativo);
    color: white;
    padding: 8px 12px;
    font-size: 0.9rem;
    font-weight: 700;
    z-index: 5;
}

.post-quote-author {
    font-size: 0.9rem;
    align-self: flex-end;
}

.post-content {
    padding: 15px;
    flex-grow: 1;
}

.post-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #212529;
    margin-bottom: 5px;
}

.post-meta {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 15px;
}
.post-meta span {
    margin-right: 15px;
}

.post-tags .tag {
    display: inline-block;
    padding: 3px 8px;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    margin-right: 5px;
    background-color: #333;
}

.tag-other {
    background-color: #b0c0a0;
}
.tag-lightning {
    background-color: #6c757d;
}
.tag-overview {
    background-color: #28a745;
}

.post-excerpt {
    font-size: 1rem;
    color: #666;
    padding-top: 10px;
    margin-bottom: 20px;
}

.read-more-btn {
    background-color: var(--cor-ativo);
    color: white;
    padding: 8px 20px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 0;
    display: inline-block;
    transition: background-color 0.3s;
}

.read-more-btn:hover {
    background-color: #e54d19;
}
