/*
Theme Name: Consensus
Theme URI: https://consensus-int.com/
Author: Consensus
Description: Custom theme for Consensus Group – B2B events, summits and experiential campaigns. Includes an Events section (Upcoming / Past), blog layouts and a built-in contact form.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: consensus
*/

/* Main styles live in css/main.css (loaded by functions.php). */

/* WordPress admin bar: keep the fixed header and menu button below it */
body.admin-bar .mxd-header,
body.admin-bar .mxd-nav__wrap { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar .mxd-header,
  body.admin-bar .mxd-nav__wrap { top: 46px; }
}

/* Content written in the WordPress editor (blog posts, events, simple pages) */
.mxd-article__content img { max-width: 100%; height: auto; border-radius: var(--_radius-m); }
.mxd-article__content figure { margin: 3rem 0; }
.mxd-article__content figcaption { font-size: 1.4rem; color: var(--t-muted); margin-top: 1rem; }
.wp-block-image img { border-radius: var(--_radius-m); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Contact form notices */
.contact-notice { padding: 1.6rem 2rem; border-radius: var(--_radius-m); margin-bottom: 3rem; font-size: 1.7rem; }
.contact-notice.is-success { background: rgba(1, 142, 234, 0.1); color: var(--t-bright); }
.contact-notice.is-error { background: rgba(220, 53, 69, 0.1); color: var(--t-bright); }
.contact-hp { position: absolute !important; left: -9999px !important; }

/* Simple pages (Privacy Policy, Terms, any new page) */
.simple-page .mxd-article__content { max-width: 860px; }

/* Event cards: clickable image + title */
.event-card__media { display: block; }
.event-card__title a { color: inherit; }
