/* Latest Content Block */
.block-latest-content {
    background: rgba(8, 41, 53, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 16px 0 8px;
    margin-top: 60px;
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Carousel */
.latest-content-carousel {
    position: relative;
    overflow: hidden;
}

.latest-content-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
}

.latest-content-slide.is-active {
    position: relative;
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.latest-content-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

/* Dots */
.latest-content-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 8px 0 4px;
}

.latest-content-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    padding: 0;
    transition: background 0.2s ease;
}

.latest-content-dot.is-active {
    background: rgba(255, 255, 255, 0.7);
}

.latest-content-dot:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Card */
.latest-content-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.2s ease;
    position: relative;
}

.latest-content-card:hover {
    background: rgba(255, 255, 255, 0.05);
}

.latest-content-card:hover .latest-content-arrow {
    transform: translateX(3px);
}

.latest-content-card:hover .latest-content-arrow svg {
    color: #14B8A6;
}

/* Divider between cards */
.latest-content-card.has-divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 16px;
    bottom: 16px;
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
}

/* Thumbnail */
.latest-content-thumb {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 6px;
    overflow: hidden;
}

.latest-content-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Text column */
.latest-content-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    flex: 1;
}

/* Badge */
.latest-content-badge {
    font-size: 11px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1;
}

.badge-blog {
    color: #ffffff;
}

.badge-podcast {
    color: #ffffff;
}

/* Title */
.latest-content-title {
    font-size: 15px;
    font-weight: 400;
    color: #ffffff;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Excerpt */
.latest-content-excerpt {
    font-size: 13px;
    font-weight: 400;
    color: #9ca3af;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Arrow */
.latest-content-arrow {
    flex-shrink: 0;
    color: #6b7280;
    transition: transform 0.2s ease, color 0.2s ease;
    display: flex;
    align-items: center;
}

.latest-content-arrow svg {
    transition: color 0.2s ease;
}

/* Hide on mobile */
@media (max-width: 768px) {
    .block-latest-content {
        display: none;
    }
}
