@font-face {
    font-family: 'ViceCitySans';
    src: url('../../fonts/ViceCitySans.otf');
}

body {
    font-family: 'Montserrat';
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

.hidden {
    display: none !important;
}

.container {
    max-width: 1228px;
    margin: 0 auto;
}

.square {
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    z-index: 1;
}

.image {
    height: auto;
    max-height: 300px;
    width: 100%;
    object-fit: cover;
    object-position: center;
    aspect-ratio: 16 / 9;
}

figure.image {
   max-height: none;
}

/* Post meta layout */
.post-meta-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.post-meta-content {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.details-container {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.badges-container {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.share-container {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-shrink: 0;
}

/* Desktop: show badges on right, hide mobile badges */
.desktop-badges {
    display: flex;
}

.mobile-badges {
    display: none;
}

.details {
    font-family: 'Lato';
    font-weight: 400;
    font-size: 12px;
    line-height: 18px;
    color: #6C757D;
}

.badge {
    font-family: 'Montserrat';
    background-color: #F3F4F5;
    padding: 5px 10px 5px 10px;
    border-radius: 8px;
    color: #1D1D1D;
    font-size: 12px;
    line-height: 15px;
    font-weight: 400;
    text-decoration: none;
}

.badge:hover {
    text-decoration: none;
    color: #1D1D1D;
}

.post {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 40px 20%;
    text-align: left;
}

.title {
    font-family: 'Montserrat';
    font-weight: 400;
    font-size: 30px;
    line-height: 36px;
    text-transform: uppercase;
    color: #333333;
    margin-bottom: 1rem;
    align-self: normal;
}

.content {
    font-family: 'Montserrat';
    font-size: 16px;
    font-weight: 400;
    color: #333333;
    text-align: left;
}

.share-btn {
    cursor: pointer;
    border: 0;
    background: none;
}

.share-box {
    z-index: 3;
    position: absolute;
    top: 35px;
    right: 0px;
    width: 300px;
    white-space: nowrap;
    padding: 0.5rem 0;
    height: auto;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.5rem;
    border-top: 2px solid #00A287;
    background-color: white;
}

.share-option {
    z-index: 1001;
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 0.5rem 1rem 0.5rem 1rem;
    text-decoration: none;
    color: #333333;
}

.share-option:hover {
    background-color: #F3F4F5;
    text-decoration: none;
    color: #333333;
    cursor: pointer;
}

.carousel-track {
    gap: 24px;
}

.noticias-recentes-section {
    background-color: #F3F4F5; 
    width: 100%;
    padding: 40px 0;
}

.newsletter-chat {
    display: flex;
    flex-direction: row;
    gap: 24px;
}

@media (max-width: 1200px) {
    .carousel-slide {
        flex: 0 0 400px;
        width: 400px;
    }

    .newsletter-chat {
        flex-direction: column;
    }

    .carousel-track {
        gap: 20px;
    }
}
@media screen and (max-width: 937px) {
    .carousel-slide {
        flex: 0 0 100%;
        width: auto !important;
        max-width: 100%;
    }
    
    /* Ajustar navegação do carrossel em mobile */
    .carousel-navigation {
        justify-content: center;
        margin-top: 1.5rem;
    }
}

@media only screen and (max-width: 768px) {
    .carousel-slide {
        flex: 0 0 350px;
        width: 350px;
    }
    
    .carousel-track {
        gap: 20px;
    }
   
    .post {
        margin: 2rem 0rem;
    }
    
    .post-meta-container {
        align-items: flex-start;
    }
    
    .post-meta-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        flex: 1;
    }
    
    .details-container {
        margin-bottom: 0;
    }
    
    /* Mobile: hide desktop badges, show mobile badges */
    .desktop-badges {
        display: none;
    }
    
    .mobile-badges {
        display: flex;
        margin-top: 0;
    }
}

.plyr--audio .plyr__controls {
    background-color: #f3f4f5 !important;
    border-radius: 8px !important;
}

video.plyr {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    margin-bottom: 40px !important;
}

h3,h4,h5,h6 {
    margin-top: 40px;
}

img, figure.image {
    max-width: 100%;
    height: auto;
    aspect-ratio: auto;
}

.back-container {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.voltar:hover {
    text-decoration: none;
}