/*
Theme Name: OC Livraria
Theme URI: https://oclivraria.blog
Author: TPH Consultoria
Author URI: https://tphconsultoria.com.br
Description: Tema premium customizado para o blog institucional da OC Livraria, especializada em literatura cristã evangélica de cosmovisão reformada.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 8.0
Text Domain: oc-livraria
Tags: blog, custom-logo, custom-menu, customizer, responsive-layout
*/

.contact-social,
.contact-location,
.contact-map {
    margin-top: 28px;
}

.contact-social h3,
.contact-location h3,
.contact-map h3 {
    margin-bottom: 14px;
}

.contact-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.contact-social-links a,
.contact-map-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 14px;
    border-radius: 999px;
    background: var(--color-primary, #0f766e);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.contact-social-links a:hover,
.contact-map-link:hover {
    opacity: 0.88;
    color: #fff;
}

.contact-info-item {
    margin-bottom: 14px;
}

.contact-map iframe {
    width: 100%;
    height: 320px;
    border: 0;
    border-radius: 18px;
    display: block;
}

/* =========================================================
   Footer V2 - OC Livraria
   3 colunas principais + rodapé inferior em 2 colunas
========================================================= */

.oc-footer-v2 {
    background-color: #000000 !important;
    color: #ffffff !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    font-family: inherit !important;
    box-sizing: border-box !important;
}

.oc-footer-v2 *,
.oc-footer-v2 *::before,
.oc-footer-v2 *::after {
    box-sizing: border-box !important;
}

.oc-footer-v2-main {
    padding-top: 32px !important;
    padding-bottom: 28px !important;
}

.oc-footer-v2 .container,
.oc-footer-v2-container {
    width: 100% !important;
    max-width: 1180px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

/* Grid principal - 3 colunas */

.oc-footer-v2-grid {
    display: grid !important;
    grid-template-columns: 1.15fr 1.35fr 1.5fr !important;
    gap: 40px !important;
    align-items: start !important;
    width: 100% !important;
}

.oc-footer-v2-col {
    margin: 0 !important;
    padding: 0 !important;
    min-width: 0 !important;
}

/* Títulos */

.oc-footer-v2 h3 {
    margin: 0 0 12px !important;
    padding: 0 !important;
    color: #ffffff !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}

/* Logo */

.oc-footer-v2-logo {
    margin: 0 0 12px !important;
    padding: 0 !important;
}

.oc-footer-v2-logo img,
.oc-footer-v2-logo .custom-logo {
    display: block !important;
    max-width: 86px !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

.oc-footer-v2-site-name {
    display: block !important;
    margin: 0 0 12px !important;
    color: #ffffff !important;
    font-size: 18px !important;
    font-weight: 700 !important;
}

/* Texto da marca */

.oc-footer-v2-brand p {
    max-width: 340px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: rgba(255, 255, 255, 0.78) !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
}

/* Listas */

.oc-footer-v2 ul,
.oc-footer-v2 li {
    list-style: none !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
}

.oc-footer-v2 ul {
    margin: 0 !important;
    padding: 0 !important;
}

.oc-footer-v2 li {
    margin: 0 0 8px !important;
    padding: 0 !important;
    color: rgba(255, 255, 255, 0.78) !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
}

.oc-footer-v2 li:last-child {
    margin-bottom: 0 !important;
}

/* Contato */

.oc-footer-v2-contact strong {
    color: #ffffff !important;
    font-weight: 700 !important;
}

.oc-footer-v2-contact span {
    color: rgba(255, 255, 255, 0.78) !important;
}

/* Links */

.oc-footer-v2 a {
    color: rgba(255, 255, 255, 0.78) !important;
    text-decoration: none !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
}

.oc-footer-v2 a:hover {
    color: #ffffff !important;
    text-decoration: underline !important;
}

/* Coluna 3 dividida em Institucional + Redes sociais */

.oc-footer-v2-links-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 28px !important;
    align-items: start !important;
    width: 100% !important;
}

/* Rodapé inferior */

.oc-footer-v2-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
    padding: 14px 0 !important;
    background-color: #000000 !important;
}

.oc-footer-v2-bottom-inner {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    gap: 24px !important;
    align-items: center !important;
    width: 100% !important;
}

.oc-footer-v2-bottom p {
    margin: 0 !important;
    padding: 0 !important;
    color: rgba(255, 255, 255, 0.68) !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
}

.oc-footer-v2-credit {
    text-align: right !important;
    white-space: nowrap !important;
}

.oc-footer-v2-credit a {
    color: rgba(255, 255, 255, 0.78) !important;
    font-size: 13px !important;
    text-decoration: none !important;
}

.oc-footer-v2-credit a:hover {
    color: #ffffff !important;
    text-decoration: underline !important;
}

/* Ajustes para widgets/listas herdadas do tema */

.oc-footer-v2 .widget,
.oc-footer-v2 .widget_block,
.oc-footer-v2 .wp-block-group,
.oc-footer-v2 .wp-block-columns,
.oc-footer-v2 .wp-block-column {
    margin: 0 !important;
    padding: 0 !important;
}

.oc-footer-v2 .wp-block-heading {
    margin: 0 0 12px !important;
    color: #ffffff !important;
}

.oc-footer-v2 p {
    margin-top: 0 !important;
}

.oc-footer-v2 img {
    max-width: 100% !important;
    height: auto !important;
}

/* Responsivo */

@media (max-width: 900px) {
    .oc-footer-v2-grid {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }

    .oc-footer-v2-links-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 24px !important;
    }

    .oc-footer-v2-bottom-inner {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        text-align: center !important;
    }

    .oc-footer-v2-credit {
        text-align: center !important;
        white-space: normal !important;
    }
}

@media (max-width: 600px) {
    .oc-footer-v2-main {
        padding-top: 28px !important;
        padding-bottom: 24px !important;
    }

    .oc-footer-v2-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    .oc-footer-v2-links-grid {
        grid-template-columns: 1fr !important;
        gap: 22px !important;
    }

    .oc-footer-v2 h3 {
        font-size: 16px !important;
    }

    .oc-footer-v2-brand p,
    .oc-footer-v2 li,
    .oc-footer-v2 a {
        font-size: 14px !important;
    }

    .oc-footer-v2 .container,
    .oc-footer-v2-container {
        padding-left: 18px !important;
        padding-right: 18px !important;
    }
}

.oc-footer-v2-logo img,
.oc-footer-v2 .custom-logo {
    max-width: 120px;
    height: auto;
}