/*
 Theme Name: GeneratePress Child
 Theme URI: https://generatepress.com
 Author: Você
 Template: generatepress
 Version: 1.0
*/

/* ==========================================================================
   RODAPÉ CUSTOMIZADO (GIFTS FMG - LIGHT THEME)
   ========================================================================== */

.site-footer-custom {
    background-color: #f8fafc;
    color: #0f172a;
    padding: 60px 20px 30px 20px;
    border-top: 1px solid #e2e8f0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.2fr;
    gap: 40px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-brand-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: #0f172a;
    letter-spacing: -0.5px;
}

.footer-brand-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #475569;
    margin: 0 0 20px 0;
    max-width: 320px;
}

.footer-social-icons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #475569;
    background-color: #e2e8f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.footer-social-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    transition: transform 0.3s ease;
}

.footer-social-icon:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    color: #ffffff;
}

.footer-social-icon.facebook:hover {
    background-color: #1877F2;
}

.footer-social-icon.instagram:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.footer-social-icon.linkedin:hover {
    background-color: #0077b5;
}

.footer-social-icon.pinterest:hover {
    background-color: #bd081c;
}

.footer-col-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 20px 0;
    color: #0f172a;
    position: relative;
}

.footer-col-title::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background-color: #0284c7;
    margin-top: 8px;
    border-radius: 2px;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-list li {
    margin-bottom: 12px;
}

.footer-links-list a {
    color: #475569;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.2s ease;
    display: inline-block;
}

.footer-links-list a:hover {
    color: #0284c7;
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid #e2e8f0;
    margin-top: 50px;
    padding-top: 25px;
    text-align: center;
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
}

.footer-bottom a {
    color: #64748b;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #0284c7;
}

/* ==========================================================================
   RESPONSIVO (CORRIGIDO E CENTRALIZADO)
   ========================================================================== */

@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

/* 🔥 MOBILE PERFEITO (AQUI ESTÁ A CORREÇÃO PRINCIPAL) */
@media (max-width: 768px) {

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-col {
        align-items: center;
    }

    .footer-brand-desc {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-social-icons {
        justify-content: center;
    }

    .footer-links-list {
        text-align: center;
    }

    .footer-links-list a {
        display: inline-block;
    }

    .footer-col-title::after {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-bottom {
        text-align: center;
    }
}

/* ==========================================================================
   TEMPLATE DE POST INDIVIDUAL (SINGLE POST)
   ========================================================================== */

.single-header {
    margin-bottom: 35px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f5f9; /* Slate 100 */
    text-align: center;
}

.single-header h1.entry-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    line-height: 1.25;
    font-weight: 800;
    color: #0f172a; /* Slate 900 */
    letter-spacing: -0.025em;
}

.single-updated {
    font-size: 14px;
    color: #64748b; /* Slate 500 */
    margin-bottom: 25px;
}

.single-updated strong {
    color: #475569; /* Slate 600 */
}

.single-post-thumbnail {
    text-align: center;
    margin-bottom: 35px;
}

.single-post-thumbnail img {
    width: 100%;
    max-width: 900px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
}

.entry-content {
    font-size: 18px;
    line-height: 1.8;
    color: #334155; /* Slate 700 */
    margin-bottom: 40px;
}

.entry-content p {
    margin-bottom: 1.75em;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    color: #0f172a;
    font-weight: 700;
    margin-top: 1.8em;
    margin-bottom: 0.8em;
    line-height: 1.3;
}

.entry-content h2 {
    font-size: 1.8rem;
}

.entry-content h3 {
    font-size: 1.4rem;
}

.single-author-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    margin-top: 40px;
    margin-bottom: 40px;
    background-color: #f8fafc; /* Slate 50 */
    border: 1px solid #e2e8f0; /* Slate 200 */
    border-radius: 12px;
    gap: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.single-author-box {
    display: flex;
    align-items: center;
    gap: 15px;
}

.single-author-box img.avatar {
    width: 60px;
    height: 60px;
    border-radius: 9999px;
    object-fit: cover;
    border: 2px solid #e2e8f0;
}

.single-author-box strong {
    font-size: 16px;
    color: #0f172a;
}

.single-author-box strong a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s;
}

.single-author-box strong a:hover {
    color: #38bdf8;
}

.share-buttons-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.share-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.share-buttons a {
    padding: 8px 18px;
    border-radius: 30px; /* Estilo pílula */
    text-decoration: none;
    font-size: 13px;
    color: #ffffff;
    font-weight: 600;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.share-whatsapp {
    background-color: #25D366;
}

.share-twitter {
    background-color: #0f172a; /* Cor padrão do X */
}

.share-pinterest {
    background-color: #E60023;
}

.share-buttons a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    opacity: 0.95;
}

/* Responsivo para Posts */
@media (max-width: 768px) {
    .single-header h1.entry-title {
        font-size: 2rem;
    }
    
    .single-header,
    .entry-content,
    .single-author-share {
        padding: 0 16px;
    }
    
    .single-author-share {
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
        gap: 24px;
    }
    
    .single-author-box {
        justify-content: flex-start;
    }
    
    .share-buttons-wrapper {
        align-items: flex-start;
    }
    
    .share-buttons {
        width: 100%;
        justify-content: flex-start;
    }
}

