/*
Theme Name: PBC Ecosystem
Author: Pakistan Blockchain Consortium
Description: Custom responsive theme preserving the approved Pakistan Blockchain Consortium website.
Version: 1.0.4
Requires at least: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pbc-ecosystem
*/
.skip-link{position:fixed;top:8px;left:8px;z-index:1000;transform:translateY(-160%);padding:12px 18px;background:var(--surface,#fff);color:var(--ink,#14201b)}.skip-link:focus{transform:none}.pbc-entry{padding:56px 0}.pbc-entry img{max-width:100%;height:auto}.pbc-entry p,.pbc-entry li{max-width:72ch}.pbc-entry h2,.pbc-entry h3{margin-top:28px}.pbc-entry pre{overflow:auto}.pbc-entry iframe{max-width:100%}.pbc-listings{margin-top:24px}.pbc-listings article{padding:24px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.pbc-listings img{width:100%;max-height:220px;object-fit:cover;border-radius:6px}.pbc-listings .note{font-size:.85rem}.pbc-pagination{padding-top:24px}.pbc-pagination a,.pbc-pagination span{display:inline-block;margin-right:8px;padding:8px 12px}.pbc-form-notice{margin:0 0 20px;padding:16px;border-left:4px solid var(--gold,#9A6B12);background:var(--surface)}.cta .pbc-form-notice{color:var(--ink)}.pbc-form-notice:empty{display:none}body.admin-bar header{top:32px}.wrap.cta{width:calc(100% - 36px);padding:clamp(26px,5vw,46px)}.contact-card a{overflow-wrap:anywhere}@media(max-width:782px){body.admin-bar header{top:46px}}@media(max-width:600px){body.admin-bar header{top:0}}@media(max-width:560px){.cards{grid-template-columns:1fr}}[hidden]{display:none!important}

/* Shared footer: overrides legacy child-page footer layouts. */
footer.pbc-footer{padding:42px 0 0;background:#115740;color:#f7f8f3;font-size:.92rem}
footer.pbc-footer .wrap{display:block}
footer.pbc-footer a{margin:0;color:inherit;text-decoration:none}
footer.pbc-footer a:hover{color:#d3b55b}
footer.pbc-footer .footer-columns{display:grid;grid-template-columns:1.35fr 1fr 1fr;gap:40px;padding-bottom:34px}
footer.pbc-footer .footer-logo-link{display:block;width:min(100%,250px)}
footer.pbc-footer .footer-logo{display:block;width:100%;height:auto}
footer.pbc-footer .footer-description{max-width:31ch;margin:16px 0 0;color:#bad0c6;font-size:.84rem}
footer.pbc-footer .footer-heading{margin:2px 0 14px;color:#d3b55b;font-size:.75rem;font-weight:500;letter-spacing:.12em;text-transform:uppercase}
footer.pbc-footer .footer-nav{display:grid;justify-items:start;gap:9px;color:#f7f8f3;font-size:.9rem}
footer.pbc-footer .footer-contact{display:inline-block;max-width:100%;margin:0 0 17px!important;color:#fff;overflow-wrap:anywhere}
footer.pbc-footer .footer-socials{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
footer.pbc-footer .footer-social{display:grid;place-items:center;width:42px;height:42px;border:1px solid rgba(255,255,255,.25);border-radius:50%;color:#fff;transition:background .2s,border-color .2s}
footer.pbc-footer .footer-social:hover{background:rgba(255,255,255,.1);border-color:#d3b55b}
footer.pbc-footer .footer-social svg{display:block;width:17px;height:17px}
footer.pbc-footer .footer-bottom{display:flex;justify-content:space-between;gap:18px;border-top:1px solid rgba(255,255,255,.18);padding:16px 0 19px;color:#bad0c6;font-size:.78rem}
footer.pbc-footer .footer-bottom-links{display:flex;flex-wrap:wrap;gap:18px}
@media(max-width:820px){footer.pbc-footer .footer-columns{grid-template-columns:1fr 1fr;gap:28px}footer.pbc-footer .footer-brand-col{grid-column:1/-1}}
@media(max-width:560px){footer.pbc-footer .footer-columns{grid-template-columns:1fr;gap:26px}footer.pbc-footer .footer-brand-col{grid-column:auto}footer.pbc-footer .footer-bottom{flex-direction:column;gap:10px}footer.pbc-footer .footer-bottom-links{gap:12px 18px}}

footer.pbc-footer nav.footer-nav{height:auto;display:grid;align-items:start;justify-content:start;gap:9px;flex-wrap:initial}footer.pbc-footer img.footer-logo{display:block;width:100%;height:auto}footer.pbc-footer .wrap{display:block}footer.pbc-footer .footer-bottom{width:100%}

/* Editable WordPress footer menus retain the approved layout. */
footer.pbc-footer .footer-menu{list-style:none;margin:0;padding:0;display:grid;gap:9px}footer.pbc-footer .footer-menu li{list-style:none;margin:0;padding:0}footer.pbc-footer .footer-menu .sub-menu{list-style:none;margin:8px 0 0;padding:0 0 0 14px;display:grid;gap:8px}footer.pbc-footer .footer-bottom-links .footer-menu{display:flex;gap:18px;flex-wrap:wrap}footer.pbc-footer .footer-social{color:#fff}footer.pbc-footer .footer-description{white-space:pre-line}footer.pbc-footer .footer-social:focus-visible{outline:3px solid #d3b55b;outline-offset:3px}
footer.pbc-footer nav.footer-bottom-links{height:auto;align-items:center;justify-content:flex-start}
