/* Styles for the basic blocks the CMS editor inserts ("+ Add block"). Matches the Jevelin theme:
   theme fonts, dark headings, grey text, blue accent (#2d1dff, hover #5245ff). */
.cms-block { padding: 48px 20px; }
.cms-block .cms-inner { max-width: 1170px; margin: 0 auto; }
.cms-block h1, .cms-block h2, .cms-block h3 { color: #303030; margin: 0 0 .5em; }
.cms-block p { color: #7d7d7d; line-height: 1.7; margin: 0 0 1em; }
.cms-block img { max-width: 100%; height: auto; display: block; }
.cms-cols { display: grid; gap: 32px; align-items: center; }
.cms-cols-2 { grid-template-columns: 1fr 1fr; }
.cms-cols-3 { grid-template-columns: repeat(3, 1fr); align-items: start; }
.cms-center { text-align: center; }
.cms-cta { background: #2d1dff; }
.cms-cta h2, .cms-cta p { color: #fff; }
.cms-quote blockquote { border-left: 4px solid #2d1dff; margin: 0; padding: 8px 24px; font-size: 1.25em; font-style: italic; }
.cms-btn { display: inline-block; padding: 12px 28px; border-radius: 100px; background: #2d1dff;
    color: #fff !important; font-weight: 500; text-decoration: none; transition: background .3s; }
.cms-btn:hover { background: #5245ff; }
.cms-btn-outline { background: transparent; border: 2px solid currentColor; color: #303030 !important; }
.cms-btn-outline:hover { background: transparent; color: #2d1dff !important; }
.cms-cta .cms-btn { background: #fff; color: #2d1dff !important; }
.cms-block hr { border: 0; border-top: 1px solid #e3e3e3; margin: 0; }

/* Page title banner at the top of new pages and the 404 page: dark, so the white header text stays readable */
.cms-page-banner { background: #1c1c1c center / cover no-repeat; padding: 220px 20px 90px; min-height: 55vh; box-sizing: border-box;
    width: 100vw; position: relative; left: 50%; margin-left: -50vw; }   /* full width, out of the theme's content container */
.cms-page-banner h1 { color: #fff; font-size: 48px; margin: 0; }
.cms-page-banner p { color: #e3e3e3; margin: 12px 0 0; }
.cms-page-banner a { color: #fff; text-decoration: underline; }

@media (max-width: 767px) {
    .cms-cols-2, .cms-cols-3 { grid-template-columns: 1fr; }
    .cms-block { padding: 32px 16px; }
    .cms-page-banner { padding: 160px 16px 60px; }
    .cms-page-banner h1 { font-size: 32px; }
}
