/*
Theme Name: CanVasc (current-site copy)
Template: twentytwentyfive
Description: Temporary child theme that mirrors the look of the current canvasc.ca (Angular) site so content can be maintained in WordPress while the redesign is built.
Version: 1.0.0
Text Domain: canvasc-copy
*/

/* Header bar */
.cv-header { box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.cv-header a { color: #fff; text-decoration: none; }
.cv-header a:hover { text-decoration: underline; }
.cv-header .wp-block-site-title a { font-weight: 700; }

/* Sections on the long home page */
.cv-section { padding-top: 3.5rem; padding-bottom: 3.5rem; scroll-margin-top: 90px; }
.cv-section:nth-of-type(even) { background: #fff; }
.cv-hero { background: linear-gradient(135deg, #a80c03 0%, #ea0014 100%); color: #fff; text-align: center; }
.cv-hero h1, .cv-hero h3, .cv-hero p { color: #fff; }
.cv-hero .wp-block-buttons { justify-content: center; }
.cv-hero .wp-block-image img { filter: brightness(0) invert(1); }
.cv-hero .wp-block-image { display: flex; justify-content: center; }

/* Cards: columns get a light card treatment */
.wp-block-column { background: #fff; border: 1px solid #e6e6ee; border-radius: 10px; padding: 1.25rem 1.5rem; }
.cv-hero .wp-block-column { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.25); }
.wp-block-column h4 + p { margin-top: .25rem; }

/* Tables (epidemiology, webinars, meetings) */
.wp-block-table table { font-size: .9rem; }
.wp-block-table thead { background: #ea0014; color: #fff; }
.wp-block-table th { text-align: left; }

/* Anchor offset for in-page links */
:target { scroll-margin-top: 90px; }
