/* APlus Worx: page content, in the A+ Enterprises style. Loaded on the site and inside the block editor. */
@font-face {
	font-family: "Source Sans 3";
	font-style: normal;
	font-display: swap;
	font-weight: 200 900;
	src: url("../fonts/source-sans-3-latin-ext-wght-normal.woff2") format("woff2-variations");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Source Sans 3";
	font-style: normal;
	font-display: swap;
	font-weight: 200 900;
	src: url("../fonts/source-sans-3-latin-wght-normal.woff2") format("woff2-variations");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
	--aw-accent: #15803d;
	--aw-accent-dark: #0f6a31;
	--aw-ink: #1a1a1a;
	--aw-text: #1a1a1a;
	--aw-grey: #4d4d4d;
	--aw-muted: #666666;
	--aw-line: #e5e5e5;
	--aw-line-2: #d6d6d6;
	--aw-panel: #f5f5f5;
	--aw-radius: 4px;
}

body {
	font-family: "Source Sans 3", "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
	font-weight: 300; font-size: 18px; line-height: 1.5; color: var(--aw-text);
}
.editor-styles-wrapper h1, .editor-styles-wrapper h2, .editor-styles-wrapper h3 { color: var(--aw-ink); line-height: 1.12; }
.editor-styles-wrapper strong { font-weight: 600; }

.aw-entry { padding-top: 64px; padding-bottom: 88px; }
@media (max-width: 700px) { .aw-entry { padding-top: 44px; padding-bottom: 60px; } }
.aw-entry > h2, .aw-entry .wp-block-group > h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); font-weight: 700; margin: 2.2em 0 .45em; }
.aw-entry > h2:first-child { margin-top: 0; }
.aw-entry h3 { font-size: 1.25rem; font-weight: 700; margin: 1.4em 0 .4em; }
.aw-entry > p, .aw-entry > ul, .aw-entry > ol { max-width: 800px; }
.aw-entry .aw-intro { font-size: 1.2rem; color: var(--aw-grey); }
.aw-entry a:not(.wp-block-button__link):not(.aw-btn) { color: var(--aw-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.aw-entry a:not(.wp-block-button__link):not(.aw-btn):hover { color: var(--aw-accent); }

/* Lists: accent check marks */
.aw-entry ul.wp-block-list, .editor-styles-wrapper ul.wp-block-list { list-style: none; padding-left: 0; }
.aw-entry ul.wp-block-list > li, .editor-styles-wrapper ul.wp-block-list > li { position: relative; padding-left: 30px; margin-bottom: 9px; }
.aw-entry ul.wp-block-list > li::before, .editor-styles-wrapper ul.wp-block-list > li::before {
	content: ""; position: absolute; left: 2px; top: .42em; width: 14px; height: 8px;
	border-left: 2.5px solid var(--aw-accent); border-bottom: 2.5px solid var(--aw-accent); transform: rotate(-45deg);
}

/* Plan comparison tables: ink top rule, hairline rows */
.wp-block-table.aw-plans, .wp-block-table.aw-table { margin: 1.5em 0 1.2em; overflow-x: auto; border-top: 2px solid var(--aw-ink); }
.wp-block-table.aw-plans table, .wp-block-table.aw-table table { width: 100%; border-collapse: collapse; font-size: 17px; }
.wp-block-table.aw-plans table { min-width: 640px; }
.wp-block-table.aw-plans thead, .wp-block-table.aw-table thead { border: 0; }
.wp-block-table.aw-plans th, .wp-block-table.aw-plans td,
.wp-block-table.aw-table th, .wp-block-table.aw-table td { border: 0; border-bottom: 1px solid var(--aw-line-2); padding: 16px 18px; vertical-align: middle; }
.wp-block-table.aw-plans th, .wp-block-table.aw-plans td { text-align: center; }
.wp-block-table.aw-plans th:first-child, .wp-block-table.aw-plans td:first-child { text-align: left; width: 36%; }
.wp-block-table.aw-plans thead th { color: var(--aw-ink); font-size: 1.15rem; font-weight: 700; padding-top: 20px; padding-bottom: 18px; }
.wp-block-table.aw-plans thead th:first-child { font-size: 15px; color: var(--aw-muted); font-weight: 600; }
.wp-block-table.aw-plans.aw-plans--featured thead th:nth-child(3) { color: var(--aw-accent); box-shadow: inset 0 -3px 0 var(--aw-accent); }
.wp-block-table.aw-plans tbody tr:last-child td { font-weight: 700; color: var(--aw-ink); background: var(--aw-panel); padding-top: 20px; padding-bottom: 20px; }
.wp-block-table.aw-table th, .wp-block-table.aw-table td { text-align: left; vertical-align: top; }
.wp-block-table.aw-table thead th { color: var(--aw-ink); font-size: 15px; font-weight: 700; }
.wp-block-table.aw-table td:first-child { font-weight: 600; color: var(--aw-ink); }
.aw-yes { color: var(--aw-accent); font-weight: 700; font-size: 1.15em; }
.aw-no { color: #a6a6a6; }
.aw-price strong { font-size: 1.3rem; font-weight: 700; color: var(--aw-ink); }
.aw-price small { font-size: 15px; font-weight: 400; color: var(--aw-grey); margin-left: 2px; }
.aw-price--na { font-weight: 600; color: var(--aw-accent); }

/* Notes: accent bar on a grey panel */
.wp-block-group.aw-note { margin: 1.2em 0 2em; padding: 20px 24px; background: var(--aw-panel); border-left: 4px solid var(--aw-accent); font-size: 17px; }
.wp-block-group.aw-note > :last-child, .wp-block-group.aw-note p:last-child { margin-bottom: 0; }
.wp-block-group.aw-note strong { color: var(--aw-ink); font-weight: 700; }

/* Card grids built from Columns: flat, square, hairline */
.wp-block-columns.aw-cardgrid { gap: 24px; margin: 1.5em 0 2em; }
.wp-block-columns.aw-cardgrid > .wp-block-column { display: flex; flex-direction: column; padding: 30px; border: 1px solid var(--aw-line); background: #fff; }
.wp-block-columns.aw-cardgrid > .wp-block-column > h3:first-child { margin-top: 0; }
.wp-block-columns.aw-cardgrid > .wp-block-column > :last-child { margin-bottom: 0; }
.wp-block-columns.aw-cardgrid > .wp-block-column > .wp-block-buttons:last-child { margin-top: auto; padding-top: 12px; }
.wp-block-columns.aw-cardgrid > .wp-block-column.is-featured { border-top: 4px solid var(--aw-accent); }
.wp-block-columns.aw-cardgrid .aw-meta { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--aw-accent); }
.wp-block-columns.aw-cardgrid p { font-size: 17px; }

/* Buttons from the block editor: ink, square-ish */
.aw-entry .wp-block-button__link, .editor-styles-wrapper .wp-block-button__link {
	display: inline-flex; align-items: center; padding: 12px 22px; border-radius: var(--aw-radius);
	border: 1px solid var(--aw-ink); background: var(--aw-ink); color: #fff; font-weight: 600; font-size: 17px; line-height: 1.2; text-decoration: none;
}
.aw-entry .wp-block-button__link:hover { background: var(--aw-grey); border-color: var(--aw-grey); color: #fff; }
.aw-entry .wp-block-button.is-style-outline .wp-block-button__link, .editor-styles-wrapper .wp-block-button.is-style-outline .wp-block-button__link { background: #fff; border-color: var(--aw-line-2); color: var(--aw-ink); }
.aw-entry .wp-block-button.is-style-outline .wp-block-button__link:hover { border-color: var(--aw-ink); color: var(--aw-ink); background: #fff; }
.aw-entry .wp-block-buttons { margin: 1.4em 0; gap: 12px; }

/* Shared bits used by shortcodes */
.aw-badge { display: inline-block; font-size: 13px; font-weight: 600; padding: 2px 10px; border-radius: 999px; background: #fbf0dd; color: #8a5200; white-space: nowrap; letter-spacing: 0; text-transform: none; }
.aw-saving { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--aw-accent); padding: 4px 10px; border-radius: 2px; }
.aw-saving--na { background: var(--aw-panel); color: var(--aw-grey); }
hr.wp-block-separator { border: 0; border-top: 1px solid var(--aw-line); margin: 3em 0; }

/* Contact form: underlined fields, like the A+ Enterprises forms */
.aw-form-wrap { scroll-margin-top: 100px; }
.aw-form { display: grid; gap: 22px; max-width: 760px; margin: 1em 0 2em; }
.aw-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 640px) { .aw-form__row { grid-template-columns: 1fr; } }
.aw-form label { display: grid; gap: 4px; font-weight: 600; font-size: 15px; color: var(--aw-ink); }
.aw-form label small { font-weight: 300; color: var(--aw-muted); }
.aw-form input[type=text], .aw-form input[type=email], .aw-form select {
	width: 100%; padding: 8px 0 10px; border: 0; border-bottom: 1px solid var(--aw-ink); border-radius: 0;
	font: inherit; font-weight: 400; font-size: 18px; color: var(--aw-text); background: transparent;
}
.aw-form textarea {
	width: 100%; padding: 12px; border: 1px solid var(--aw-line-2); border-radius: 0; min-height: 150px; resize: vertical;
	font: inherit; font-weight: 400; color: var(--aw-text); background: #fff;
}
.aw-form input:focus, .aw-form select:focus { outline: none; border-bottom: 2px solid var(--aw-accent); }
.aw-form textarea:focus { outline: none; border-color: var(--aw-ink); }
.aw-form .aw-check-label { display: flex; gap: 10px; align-items: flex-start; font-weight: 300; font-size: 16px; }
.aw-form .aw-check-label input { margin-top: .3em; width: 18px; height: 18px; accent-color: var(--aw-accent); flex: none; }
.aw-form .aw-hp { position: absolute; left: -9999px; }
.aw-form button { justify-self: start; }
.aw-notice { max-width: 760px; padding: 16px 20px; margin: 1em 0; border-left: 4px solid; background: var(--aw-panel); }
.aw-notice--ok { border-color: var(--aw-accent); }
.aw-notice--err { border-color: #b90000; }
