/*
Theme Name: HostRiser Canvas
Theme URI: https://hostriser.com
Author: HostRiser
Author URI: https://hostriser.com
Description: Clean, fast block theme used by the HostRiser AI Website Builder. Colours and fonts are set per site in theme.json; every page is made of standard WordPress blocks, so everything can be edited in the block editor.
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 8.0
Version: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hostriser-canvas
*/

/* Finishing touches that theme.json cannot express */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.hrc-header { position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); background: color-mix(in srgb, var(--wp--preset--color--base) 86%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--wp--preset--color--contrast) 8%, transparent); }
.admin-bar .hrc-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .hrc-header { top: 46px; } }
.hrc-header .wp-block-site-title a { text-decoration: none; }
.hrc-header .wp-block-navigation a { text-decoration: none; font-weight: 500; }
.hrc-header .wp-block-navigation a:hover { color: var(--wp--preset--color--primary); }
.wp-element-button, .wp-block-button__link { transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease; }
.wp-element-button:hover, .wp-block-button__link:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--wp--preset--color--primary) 60%, transparent); }
.is-style-outline > .wp-block-button__link { background: transparent; }
.hrc-card { background: var(--wp--preset--color--surface); border: 1px solid color-mix(in srgb, var(--wp--preset--color--contrast) 8%, transparent); border-radius: 18px; padding: clamp(20px, 3vw, 32px) !important; height: 100%; transition: transform .2s ease, box-shadow .2s ease; }
.hrc-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -22px color-mix(in srgb, var(--wp--preset--color--contrast) 45%, transparent); }
.hrc-icon { width: 46px; height: 46px; border-radius: 14px; display: grid !important; place-items: center; background: color-mix(in srgb, var(--wp--preset--color--primary) 14%, transparent); color: var(--wp--preset--color--primary); font-size: 22px; line-height: 1; margin: 0 0 14px !important; }
.hrc-eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem !important; font-weight: 700; color: var(--wp--preset--color--primary); }
.hrc-hero h1 { text-wrap: balance; }
.hrc-hero .wp-block-cover__inner-container { max-width: 900px; }
.hrc-soft { background: var(--wp--preset--color--surface); }
.hrc-cta { border-radius: 28px; overflow: hidden; }
.wp-block-image img, .wp-block-media-text__media img, .wp-block-gallery img { border-radius: 18px; }
.wp-block-details { border-bottom: 1px solid color-mix(in srgb, var(--wp--preset--color--contrast) 12%, transparent); padding: 18px 0; }
.wp-block-details summary { font-weight: 600; cursor: pointer; font-size: 1.08rem; }
.wp-block-details[open] summary { color: var(--wp--preset--color--primary); }
.hrc-footer a { text-decoration: none; }
.hrc-footer a:hover { text-decoration: underline; }
.hrc-footer .wp-block-page-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.hrc-contact-form { display: grid; gap: 14px; }
.hrc-contact-form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.hrc-contact-form input, .hrc-contact-form textarea { width: 100%; padding: 13px 15px; border: 1px solid color-mix(in srgb, var(--wp--preset--color--contrast) 18%, transparent); border-radius: 12px; background: var(--wp--preset--color--base); color: var(--wp--preset--color--contrast); font: inherit; }
.hrc-contact-form input:focus, .hrc-contact-form textarea:focus { outline: 3px solid color-mix(in srgb, var(--wp--preset--color--primary) 30%, transparent); border-color: var(--wp--preset--color--primary); }
.hrc-contact-form .hrc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hrc-notice { padding: 14px 16px; border-radius: 12px; background: color-mix(in srgb, var(--wp--preset--color--primary) 12%, transparent); }
.hrc-contact-details { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
