/* =========================================================
   FOOTER.CSS — Site footer
   ========================================================= */

.site-footer {
    color: var(--pn-footer-text);
}

.footer-main {
    padding: 80px 0 50px;
    background: linear-gradient(180deg, var(--pn-footer-bg) 0%, var(--pn-footer-bg-end) 100%);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 50px;
}

/* Col: Brand */
.footer-logo { margin-bottom: 20px; }

.footer-logo .site-logo,
.footer-logo .custom-logo-link img { 
    max-height: 100px; 
    width: auto;
    opacity: 0.9; 
}

.footer-about {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--pn-footer-text);
    margin-bottom: 24px;
    opacity: 0.85;
}

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

.footer-social .social-icon {
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7);
}

.footer-social .social-icon:hover {
    background: var(--pn-primary);
    color: #fff;
}

/* Widget titles */
.footer-widget-title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    letter-spacing: 0.02em;
}

/* Footer Menu */
.footer-menu { list-style: none; }

.footer-menu li { margin-bottom: 10px; }

.footer-menu a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    transition: all var(--pn-transition);
}

.footer-menu a::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--pn-primary);
    flex-shrink: 0;
    opacity: 0;
    transition: opacity var(--pn-transition);
}

.footer-menu a:hover {
    color: #fff;
    padding-left: 8px;
}

.footer-menu a:hover::before { opacity: 1; }

/* Contact list */
.footer-contact-list { list-style: none; }

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.65);
}

.footer-contact-list svg {
    flex-shrink: 0;
    color: var(--pn-primary);
    margin-top: 2px;
}

.footer-contact-list a {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    transition: color var(--pn-transition);
}

.footer-contact-list a:hover { color: #fff; }

address { font-style: normal; }

/* --- Footer Bottom --- */
.footer-bottom {
    background: #000000;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-copyright {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.9);
    margin: 0;
}

.footer-credit {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.9);
    margin: 0;
}

.footer-credit span { color: #e84545; }

/* --- Legal links (desktop: centred in bottom bar) --- */
.footer-legal {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.footer-legal a {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    transition: color var(--pn-transition);
    white-space: nowrap;
}

.footer-legal a:hover { color: #fff; }

.footer-legal-sep {
    color: rgba(255,255,255,0.4);
    font-size: 0.75rem;
    user-select: none;
}

/* --- Mobile-only extra block (hidden on desktop) --- */
.footer-bottom-ext { display: none; background: #000000; padding: 16px 0; }

.footer-sep {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin: 14px 0;
}

/* Social row inside mobile bottom bar */
.footer-bottom-soc {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 0;
    padding-bottom: 4px;
}

.footer-bottom-soc .social-icon {
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--pn-transition);
}

.footer-bottom-soc .social-icon:hover {
    background: var(--pn-primary);
    color: #fff;
}

/* Legal links inside mobile block */
.footer-legal-mobile {
    justify-content: center;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.12);
}

.footer-legal-mobile a {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal-mobile a:hover {
    color: #fff;
    text-decoration: underline;
}

/* --- Policy page content styling --- */
.pn-policy-wrap,
.page-template-default .entry-content {
    max-width: 900px;
    margin: 0 auto;
}

.pn-policy-wrap h3,
.page-template-default .entry-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--pn-heading);
    margin: 2.5rem 0 1rem;
    border-bottom: 1px solid var(--pn-border);
    padding-bottom: 10px;
}

.pn-policy-wrap p,
.pn-policy-wrap li,
.page-template-default .entry-content p,
.page-template-default .entry-content li {
    color: var(--pn-text);
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 1.2rem;
}

.pn-policy-wrap ul,
.page-template-default .entry-content ul {
    margin: 0.5rem 0 1.5rem 1.5rem;
    list-style: disc;
}

.pn-policy-wrap ul li,
.page-template-default .entry-content ul li { 
    margin-bottom: 0.6rem; 
}

.pn-policy-meta {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 2rem;
    font-style: italic;
}
