/*
Theme Name: Phaos CMS Bridge
Description: Preserves the Phaos React frontend and provides a WordPress / ACF Pro content bridge.
Version: 1.1.0-rc167
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: phaos-cms-bridge
*/
/* Only new native WordPress content uses these styles. Existing React screens are unchanged. */
body.phaos-native-content{margin:0;background:#fff;color:#242424;font-family:Arial,Helvetica,sans-serif;line-height:1.65}
.phaos-native-content *{box-sizing:border-box}
.phaos-native-content a{color:inherit;text-underline-offset:.2em}
.phaos-native-content a:hover,.phaos-native-content a:focus-visible{color:#f36f21}
.phaos-native-content :focus-visible{outline:2px solid #f36f21;outline-offset:4px}
.phaos-native-header{display:flex;align-items:center;justify-content:space-between;gap:2rem;padding:1.5rem clamp(1.25rem,5vw,5rem);border-bottom:1px solid #dedede}
.phaos-native-brand{display:inline-block;font-size:2rem;font-weight:800;line-height:1;text-decoration:none;letter-spacing:-.06em}
.phaos-native-brand span{color:#f36f21}
.phaos-native-brand small{display:block;font-size:.7rem;font-weight:400;letter-spacing:.55em;line-height:2.2}
.phaos-native-header nav,.phaos-native-footer nav{display:flex;flex-wrap:wrap;align-items:center;gap:1.25rem}
.phaos-native-header nav ul{display:flex;flex-wrap:wrap;gap:1.25rem;list-style:none;margin:0;padding:0}
.phaos-native-header nav ul ul{padding:.4rem 0 .4rem 1rem}
.phaos-native-main{width:min(100% - 2.5rem,960px);margin:clamp(2rem,6vw,5rem) auto;min-height:50vh;overflow-wrap:anywhere}
.phaos-native-main h1,.phaos-native-main h2,.phaos-native-main h3{line-height:1.15;letter-spacing:-.035em}
.phaos-native-main h1{font-size:clamp(2rem,5vw,3.75rem);margin:0 0 1.5rem}
.phaos-native-main h2{font-size:clamp(1.5rem,3vw,2.5rem)}
.phaos-native-article{margin-bottom:3.5rem}
.phaos-native-date{color:#626262;font-size:.9rem}
.phaos-native-featured,.phaos-native-body img,.phaos-native-body video,.phaos-native-body iframe{max-width:100%;height:auto}
.phaos-native-body figure{max-width:100%;margin-left:0;margin-right:0}
.phaos-native-body table{border-collapse:collapse;width:100%}
.phaos-native-body td,.phaos-native-body th{padding:.75rem;border:1px solid #d4d4d4;text-align:left}
.phaos-native-body pre{overflow:auto;padding:1.25rem;background:#f3f3f3}
.phaos-native-body blockquote{margin-left:0;padding-left:1.5rem;border-left:3px solid #f36f21}
.phaos-native-more{font-weight:700}
.phaos-native-edit{font-size:.9rem}
.phaos-native-footer{padding:3rem clamp(1.25rem,5vw,5rem);color:#fff;background:#171717}
.phaos-native-footer nav{margin:2rem 0}
.phaos-native-footer p{font-size:.85rem;color:#ccc}
.phaos-native-skip,.phaos-native-content .screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.phaos-native-skip:focus{position:fixed;top:1rem;left:1rem;z-index:10000;width:auto;height:auto;padding:.75rem 1rem;margin:0;overflow:visible;clip:auto;background:#fff}
@media(max-width:650px){.phaos-native-header{align-items:flex-start;gap:1.5rem}.phaos-native-header nav{gap:.75rem;font-size:.9rem}.phaos-native-footer nav{gap:1rem}.phaos-native-body .alignleft,.phaos-native-body .alignright{float:none;margin:1rem 0}}
