/*
 Theme Name:  CWPX – Twenty Twenty-Five Child
 Template:    twentytwentyfive
 Description: Child theme to hold CWPX footer and global styles.
 Version:     1.0.0
*/

/* === Layout helpers === */
.container{max-width:1200px;margin:0 auto;padding:0 16px}

/* === Prefooter (teal strip) === */
.cwpx-prefooter{background:#0d9488;color:#fff;padding:16px 0}
.cwpx-prefooter .cta{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.cwpx-prefooter .btn{display:inline-block;border:1px solid rgba(255,255,255,.85);padding:8px 14px;border-radius:8px;text-decoration:none;color:#fff}
.cwpx-prefooter .btn:hover{background:rgba(255,255,255,.15)}

/* === Footer (nav + legal) === */
footer.cwpx-foot{background:#0b2239;color:#fff;padding:40px 0;margin-top:0}
footer.cwpx-foot a{color:#fff;text-decoration:underline}
footer.cwpx-foot a:hover{text-decoration:none}
footer.cwpx-foot .grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:22px}
footer.cwpx-foot .brand{font-weight:700;font-size:1.05rem;margin-bottom:6px}
footer.cwpx-foot .tag{opacity:.85;margin:.2rem 0 1rem}
footer.cwpx-foot h3{margin:.2rem 0 .6rem;font-size:1.05rem}
footer.cwpx-foot ul{list-style:none;margin:0;padding:0}
footer.cwpx-foot li{margin:.35rem 0}
footer.cwpx-foot .social{display:flex;gap:12px;margin-top:8px}
footer.cwpx-foot .social .icon{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border:1px solid rgba(255,255,255,.5);border-radius:50%;text-decoration:none}
footer.cwpx-foot .social .icon:hover{background:rgba(255,255,255,.15)}
footer.cwpx-foot .legal{border-top:1px solid rgba(255,255,255,.18);margin-top:22px;padding-top:14px;display:flex;gap:12px;flex-wrap:wrap;justify-content:space-between}
footer.cwpx-foot .left, footer.cwpx-foot .right{opacity:.85}
@media (max-width:640px){footer.cwpx-foot{padding:28px 0}}

/* === Global responsive image fix (CWPX, 2025-10-23) === */
.entry-content img,
.wp-block-image img,
.wp-caption img,
article.phoenixisms img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
