/* Hover Card Effect */
.hover-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

/* Image Zoom */
.transition-transform {
    transition: transform 0.5s ease;
}

.hover-card:hover .transition-transform {
    transform: scale(1.05);
}

/* Text Hover Colors */
.transition-colors {
    transition: color 0.3s ease;
}

.hover-text-primary:hover {
    color: var(--bs-primary) !important;
}

/* Arrow Slide Effect */
.transition-transform-x {
    transition: transform 0.3s ease;
}

.group:hover .transition-transform-x {
    transform: translateX(5px);
}

/* Line Clamp helper since Bootstrap doesn't always have it */
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Overlay Card Style */
.overlay-card {
    border: none;
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/5;
    /* Taller format */
}

.overlay-card .card-img-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    transition: opacity 0.3s;
}

.overlay-card:hover .card-img-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0) 100%);
}

.overlay-card .card-title {
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.overlay-card .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

.overlay-card .btn-link {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

/* Minimal Style */
.minimal-post {
    border-bottom: 1px solid #eee;
    padding-bottom: 2rem;
}

.minimal-post:last-child {
    border-bottom: none;
}

.minimal-post .post-date {
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.minimal-post .card-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}