@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@400;500;600&display=swap');

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Roboto Condensed', sans-serif;
}

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

.penteado-banner img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    margin-bottom: 30px;
}

.swiper {
    position: relative;
    overflow: hidden;
}

.swiper-wrapper {
    display: flex;
}

.post-card {
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    max-width: 100%;
}

.post-card-a {
    color: inherit;
    text-decoration: none;
}

.post-image {
    width: 100%;
    height: 229px;
    object-fit: cover;
    border-radius: 20px;
}

.post-info {
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #777;
    margin-bottom: 8px;
}

.badge-category {
    display: inline-block;
    background: #F3F4F6;
    color: #9766FF;
    padding: 4px 12px;
    border-radius: 999px;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 120%;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}


.post-date {
    color: #4B5563;
    font-family: Roboto Condensed;
    font-weight: 500;
    font-size: 14px;
    line-height: 120%;
    letter-spacing: 0%;

}

.post-title {
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: Roboto Condensed;

}

.likes {
    font-family: Roboto Condensed;
    font-weight: 500;
    font-size: 14px;
    line-height: 120%;
    letter-spacing: 0%;
    color: #4B5563;
    display: flex;
    align-items: center;
}

/* Arrows apenas no mobile */
.swiper-button-next,
.swiper-button-prev {
    display: none !important;
}

@media (max-width: 767px) {

    .swiper-button-next,
    .swiper-button-prev {
        display: flex !important;
        align-items: center;
        justify-content: center;
        color: #fff;
        background: #000;
        border-radius: 0.5rem;
        width: 40px;
        height: 40px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }

    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 14px;
    }

    .badge-category {
        max-width: 143px;
        height: 27px;
        border-radius: 999px;
        background: #F3F4F6;
        font-family: Roboto Condensed;
        font-weight: 500;
        font-size: 16px;
        line-height: 120%;
        color: #9766FF;
    }

    .post-date {
        color: #4B5563;
        font-family: Roboto Condensed;
        font-weight: 500;
        font-size: 14px;
    }
}

@media (max-width: 380px) {
    .badge-category {
        font-size: 14px;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

@keyframes shimmer {
    0% {
        background-position: -300px 0;
    }

    100% {
        background-position: 300px 0;
    }
}

.skeleton-card {
    width: 100%;
    height: 350px;
    border-radius: 12px;
    background: #eee;
    background-image: linear-gradient(90deg, #eee 0px, #f5f5f5 40px, #eee 80px);
    background-size: 600px 100%;
    animation: shimmer 1.5s infinite linear;
}

.dicas-heading {
font-family: Roboto Condensed;
font-weight: 600;
font-size: 30px;
line-height: 120%;
letter-spacing: 0%;
text-transform: uppercase;
}
