/* ===== PÁGINA DE CONTEÚDO - MELHORIAS SUTIS MODERNAS ===== */

/* Container principal com design moderno */
#main-container.main-container {
    background: #f8fafc;
    padding: 2rem 0;
}

/* Card principal do conteúdo */
.col-lg-8 {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: box-shadow 0.3s ease;
}

.col-lg-8:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* Meta informações melhoradas */
.post-meta {
    background: #f1f5f9;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    border-left: 4px solid #006218;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}

.post-meta i {
    color: #006218;
    font-size: 1rem;
}

.post-meta strong {
    color: #1e293b;
    font-weight: 600;
}

/* Título principal melhorado */
.entry-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
    margin: 0 0 2rem 0;
    background: linear-gradient(135deg, #1e293b, #006218);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Imagem principal com estilo moderno */
.post-media.post-image {
    /* margin: 2rem 0; */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.post-media img {
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.post-media:hover img {
    transform: scale(1.02);
}

.post-media small {
    display: block;
    margin-top: 0.75rem;
    padding: 0.5rem 1rem;
    background: #f8fafc;
    border-radius: 8px;
    color: #64748b;
    font-style: italic;
    border: 1px solid #e2e8f0;
}

/* Conteúdo principal melhorado */
.entry-content {
    line-height: 1.8;
    font-size: 1.125rem;
    color: #374151;
}

.entry-content p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

/* Galeria de fotos melhorada */
.entry-content .row .col-sm-3 {
    margin-bottom: 1rem;
}

.entry-content .row .col-sm-3 img {
    border-radius: 8px;
    border: 2px solid #e2e8f0 !important;
    transition: all 0.3s ease;
    cursor: pointer;
}

.entry-content .row .col-sm-3 img:hover {
    border-color: #006218 !important;
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 98, 24, 0.2);
}

/* Vídeos com bordas arredondadas */
iframe {
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Área de áudio melhorada */
audio {
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Anexos com design moderno */
.entry-content > div[style*="border:2px solid red"] {
    background: linear-gradient(135deg, #fef2f2, #fef7f7) !important;
    border: 2px solid #dc2626 !important;
    border-radius: 12px !important;
    padding: 1.5rem !important;
    box-shadow: 0 2px 10px rgba(220, 38, 38, 0.1);
}

.entry-content > div[style*="border:2px solid red"] p {
    color: #991b1b;
    font-weight: 600;
    margin-bottom: 1rem;
}

.entry-content > div[style*="border:2px solid red"] a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    color: #dc2626;
    font-weight: 500;
    border: 1px solid #fecaca;
    transition: all 0.3s ease;
    margin: 0.25rem 0.5rem 0.25rem 0;
}

.entry-content > div[style*="border:2px solid red"] a:hover {
    background: #dc2626;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.entry-content > div[style*="border:2px solid red"] a::before {
    content: "📎";
    font-size: 1rem;
}

/* Tags e compartilhamento melhorados */
.tags-area {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 2rem;
    border: 1px solid #e2e8f0;
}

/* Tags estilizadas */
.post-tags a {
    background: linear-gradient(135deg, #006218, #006937);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.post-tags a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 98, 24, 0.3);
    background: linear-gradient(135deg, #006937, #004d1a);
}

/* Botões de compartilhamento ultra modernos */
.share-items {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.post-social-icons {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.social-icons-head {
    font-weight: 600;
    color: #475569;
    font-size: 0.875rem;
    margin-right: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-icons-head::before {
    content: "🔗";
    font-size: 1rem;
}

.post-social-icons li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 1.25rem;
    position: relative;
    overflow: hidden;
    border: 3px solid transparent;
}

.post-social-icons li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0.3));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.post-social-icons li a:hover::before {
    opacity: 1;
}

/* Cores específicas com gradientes melhorados 
.post-social-icons li:nth-child(2) a {
    background: linear-gradient(135deg, #1877f2, #0866d0, #42a5f5);
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.3);
}

.post-social-icons li:nth-child(2) a:hover {
    border-color: #1877f2;
    background: linear-gradient(135deg, #0866d0, #1877f2, #42a5f5);
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.5);
}

.post-social-icons li:nth-child(3) a {
    background: linear-gradient(135deg, #1da1f2, #0d8bd9, #55acee);
    box-shadow: 0 4px 15px rgba(29, 161, 242, 0.3);
}

.post-social-icons li:nth-child(3) a:hover {
    border-color: #1da1f2;
    background: linear-gradient(135deg, #0d8bd9, #1da1f2, #55acee);
    box-shadow: 0 8px 25px rgba(29, 161, 242, 0.5);
}

.post-social-icons li:nth-child(4) a {
    background: linear-gradient(135deg, #0077b5, #005885, #0a66c2);
    box-shadow: 0 4px 15px rgba(0, 119, 181, 0.3);
}

.post-social-icons li:nth-child(4) a:hover {
    border-color: #0077b5;
    background: linear-gradient(135deg, #005885, #0077b5, #0a66c2);
    box-shadow: 0 8px 25px rgba(0, 119, 181, 0.5);
}

.post-social-icons li:nth-child(5) a {
    background: linear-gradient(135deg, #25d366, #128c7e, #075e54);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.post-social-icons li:nth-child(5) a:hover {
    border-color: #25d366;
    background: linear-gradient(135deg, #128c7e, #25d366, #075e54);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

.post-social-icons li a:hover {
    transform: translateY(-5px) scale(1.15) rotate(5deg);
}

/* Responsividade */
@media (max-width: 768px) {
    .col-lg-8 {
        padding: 1.5rem;
        border-radius: 12px;
        margin: 0 1rem;
    }

    .entry-title {
        font-size: 2rem;
    }

    .post-meta {
        flex-direction: column;
        gap: 1rem;
    }

    .tags-area {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .share-items {
        justify-content: center;
    }

    .post-social-icons {
        justify-content: center;
        gap: 0.75rem;
        padding: 1rem;
        flex-wrap: wrap;
    }

    .post-social-icons li a {
        width: 44px;
        height: 44px;
        font-size: 1.125rem;
    }

    .social-icons-head {
        width: 100%;
        text-align: center;
        margin-bottom: 0.5rem;
        font-size: 0.75rem;
    }

    .entry-content {
        font-size: 1rem;
    }
}

/* Responsividade para tablets */
@media (max-width: 1024px) and (min-width: 769px) {
    .post-social-icons {
        gap: 0.875rem;
        padding: 1rem 1.25rem;
    }

    .post-social-icons li a {
        width: 46px;
        height: 46px;
    }
}

/* Animações sutis */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.5) translateY(10px);
    }
    50% {
        opacity: 1;
        transform: scale(1.02) translateY(-2px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1);
    }
}

.col-lg-8 {
    animation: fadeInUp 0.6s ease-out;
}

.post-social-icons {
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.post-social-icons li:nth-child(2) a {
    animation: bounceIn 0.6s ease-out 0.5s both;
}

.post-social-icons li:nth-child(3) a {
    animation: bounceIn 0.6s ease-out 0.6s both;
}

.post-social-icons li:nth-child(4) a {
    animation: bounceIn 0.6s ease-out 0.7s both;
}

.post-social-icons li:nth-child(5) a {
    animation: bounceIn 0.6s ease-out 0.8s both;
}

/* Efeito de pulsação ao carregar */
.post-social-icons li a:nth-child(1) {
    animation: pulse 2s infinite 3s;
}

/* Melhorias de tipografia */
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    color: #1e293b;
    font-weight: 600;
    margin: 2rem 0 1rem 0;
    line-height: 1.3;
}

.entry-content blockquote {
    background: #f1f5f9;
    border-left: 4px solid #006218;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 8px;
    font-style: italic;
    color: #475569;
}

/* Estados de foco para acessibilidade */
.post-social-icons li a:focus,
.post-tags a:focus {
    outline: 2px solid #006218;
    outline-offset: 2px;
}
