.descricao-transmissao{
    color: #fff !important;
}

.post1-card {
    margin-top: 20px;
}

.container1 {
    max-width: 69rem;
    margin: 0 auto;
    padding: 0 1rem;
}

.post-1 {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

    .post-1:hover {
        transform: translateY(-4px);
    }

.post1-grid {
    display: flex;
    flex-direction: column; /* Stack vertically by default for mobile */
    gap: 1rem;
}

/* Mobile-first approach: Default styles for smaller screens */
.post1-content {
    padding: 1rem;
}

.post1-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.post1-date {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #f1f3f5;
    color: #666;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 9999px;
    width: fit-content;
}

.post1-title {
    margin: 0;
    font-size: 1.125rem; /* Smaller font size for mobile */
    font-weight: 700;
    line-height: 1.2;
}

    .post1-title a {
        color: #1a1a1a;
        text-decoration: none;
        transition: color 0.2s ease;
    }

        /*.post1-title a:hover {
            color: #2563eb;
        }*/

.post1-excerpt {
    margin: 0;
    color: #4b5563;
    font-size: 0.875rem; /* Smaller font size for mobile */
    line-height: 1.5;
}

.post1-media {
    width: 100%;
    height: 200px; /* Fixed height for mobile */
}

.media-container1 {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #e5e7eb;
    border-radius: 0.5rem;
}

    .media-container1 iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: none;
        border-radius: 0.5rem;
    }

    @media (max-width:640px){
        .descricao-transmissao {
            display: none;
        }
    }

/* Desktop styles: Apply grid layout for larger screens */
@media (min-width: 768px) {

    .post1-grid {
        display: grid;
        height: 300px;
        grid-template-columns: 50% 50%;
        align-items: stretch;
        gap: 1.5rem;
    }

    .post1-content {
        padding: clamp(1.25rem, 3vw, 3rem);
    }

    .post1-title {
        font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    }

    .post1-excerpt {
        font-size: 1rem;
    }

    .post1-media {
        height: 100%;
    }
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
    .post-1 {
        margin-bottom: 20px;
        background: #002561;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    }

    .post1-date {
        background: #404040;
        color: #a0a0a0;
    }

    .post1-title a {
        color: #f5f5f5;
    }

        .post1-title a:hover {
            color: #60a5fa;
        }

    .post1-excerpt {
        color: #d1d5db;
    }

    .media-container1 {
        background: #404040;
    }
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: bold;
    color: red;
    font-size: 1.3rem;
    flex-direction: row;
    align-content: space-around;
    flex-wrap: nowrap;
    justify-content: center;
}

    .live-indicator::before {
        content: "";
        width: 8px;
        height: 8px;
        background-color: red;
        border-radius: 50%;
        display: inline-block;
        animation: blink 2.2s step-start infinite;
    }

@keyframes blink {
    50% {
        opacity: 0;
    }
}
