/*
Theme Name: PluginPip Foundation
Theme URI: https://pluginpip.co.uk/
Author: Jason Sellstrom / PluginPip
Author URI: https://pluginpip.co.uk/
Description: The fast, accessible block-theme foundation for PluginPip CMS websites.
Version: 0.5.0
Requires at least: 6.5
Requires PHP: 8.1
License: GPL-2.0-or-later
Text Domain: pluginpip-foundation
*/

:root { scroll-behavior: smooth; }
* { box-sizing: border-box; }
body { text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
a { text-underline-offset: .18em; }
.wp-site-blocks { min-height: 100vh; display: flex; flex-direction: column; }
.wp-site-blocks > main { flex: 1; }
.pp-shadow { box-shadow: 0 18px 60px rgba(16,33,58,.12); }
.pp-radius { border-radius: 22px; overflow: hidden; }
.pp-eyebrow { letter-spacing: .16em; text-transform: uppercase; font-size: .78rem; font-weight: 800; }
.pp-card-grid > * { height: 100%; }
.pp-gradient-text { color: #1177ff; background: linear-gradient(90deg,#1177ff,#15a7dc); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.wp-block-group.is-style-pluginpip-card { padding: clamp(1.25rem,3vw,2.25rem); border: 1px solid #dfe7f1; border-radius: 20px; background: #fff; box-shadow: 0 14px 38px rgba(20,50,90,.08); }
.wp-block-button.is-style-pluginpip-glow .wp-block-button__link { box-shadow: 0 12px 28px rgba(17,119,255,.25); }
.wp-block-navigation a { text-decoration: none; }
@media (max-width: 782px) { .pp-mobile-stack { flex-direction: column !important; align-items: stretch !important; } }

/* PipStudio visual pages */
body.pipcms-visual-site .wp-site-blocks { padding: 0; }
body.pipcms-visual-site main.wp-block-group,
body.pipcms-visual-site .wp-block-post-content,
body.pipcms-visual-site .wp-block-post-content > .wp-block-html { margin-block-start: 0; margin-block-end: 0; max-width: none; }
body.pipcms-visual-site .wp-block-post-content > * { max-width: none; }
