/* ==========================================================
   ContractGauge — Commercial Cleaning Margin Drift Calculator
   ========================================================== */

.cg-margin-drift-page {
--md-navy: #0f2537;
--md-navy-deep: #091a28;
--md-green: #2f9e44;
--md-green-dark: #257d36;
--md-green-soft: #edf8f0;
--md-text: #17212b;
--md-muted: #65717d;
--md-border: #dce3e8;
--md-bg-soft: #f6f8fa;
--md-warning: #a64b16;
--md-warning-bg: #fff7ed;
--md-loss: #a83232;
--md-loss-bg: #fff4f4;
--md-radius: 18px;

color: var(--md-text);
}

.cg-margin-drift-page [hidden] {
display: none !important;
}

.cg-margin-drift-page *,
.cg-margin-drift-page *::before,
.cg-margin-drift-page *::after {
box-sizing: border-box;
}


/* Hero
   ========================================================== */

.cg-margin-drift-hero {
padding: 54px 0 38px;
background:
linear-gradient(
180deg,
rgba(47, 158, 68, 0.06) 0%,
rgba(47, 158, 68, 0) 100%
);
border-bottom: 1px solid rgba(15, 37, 55, 0.07);
}

.cg-margin-drift-hero .cg-container {
max-width: 1000px;
}

.cg-margin-drift-hero__eyebrow {
margin: 0 0 12px;
font-size: 0.78rem;
font-weight: 800;
letter-spacing: 0.09em;
color: var(--md-green);
}

.cg-margin-drift-hero h1 {
max-width: 850px;
margin: 0;
font-size: clamp(2rem, 4vw, 3.35rem);
line-height: 1.06;
letter-spacing: -0.035em;
color: var(--md-navy);
}

.cg-margin-drift-hero__description {
max-width: 760px;
margin: 18px 0 0;
font-size: 1.08rem;
line-height: 1.7;
color: var(--md-muted);
}

.cg-margin-drift-hero__meta {
display: flex;
flex-wrap: wrap;
gap: 8px;
align-items: center;
margin: 18px 0 0;
font-size: 0.9rem;
font-weight: 650;
color: #52606d;
}

.cg-margin-drift-hero__meta span {
color: var(--md-green);
}


/* Tool shell
   ========================================================== */

.cg-margin-drift-tool {
padding: 38px 0 78px;
}

.cg-margin-drift-tool > .cg-container {
max-width: 1180px;
}

.cg-md-form {
margin: 0;
}

.cg-md-input-grid {
display: grid;
grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
gap: 22px;
align-items: stretch;
}


/* Input cards
   ========================================================== */

.cg-md-input-card {
padding: 26px;
background: #fff;
border: 1px solid var(--md-border);
border-radius: var(--md-radius);
box-shadow: 0 10px 30px rgba(15, 37, 55, 0.055);
}

.cg-md-input-card__header {
margin-bottom: 25px;
}

.cg-md-input-card__step {
margin: 0 0 7px;
font-size: 0.72rem;
font-weight: 800;
letter-spacing: 0.1em;
color: var(--md-green);
}

.cg-md-input-card__header h2 {
margin: 0;
font-size: 1.35rem;
line-height: 1.25;
color: var(--md-navy);
}

.cg-md-input-card__header > p:last-child {
margin: 8px 0 0;
font-size: 0.9rem;
line-height: 1.55;
color: var(--md-muted);
}


/* Fields
   ========================================================== */

.cg-md-field + .cg-md-field {
margin-top: 22px;
}

.cg-md-field label {
display: block;
margin-bottom: 8px;
font-size: 0.9rem;
font-weight: 750;
line-height: 1.35;
color: #273542;
}

.cg-md-optional {
display: inline-flex;
margin-left: 7px;
padding: 3px 7px;
vertical-align: middle;
border-radius: 999px;
background: var(--md-bg-soft);
font-size: 0.67rem;
font-weight: 750;
color: #77828d;
}

.cg-md-input-wrap {
position: relative;
display: flex;
align-items: stretch;
min-height: 50px;
overflow: hidden;
background: #fff;
border: 1px solid #cfd8df;
border-radius: 11px;
transition:
border-color 0.18s ease,
box-shadow 0.18s ease;
}

.cg-md-input-wrap:focus-within {
border-color: var(--md-green);
box-shadow: 0 0 0 3px rgba(47, 158, 68, 0.12);
}

.cg-md-input-wrap input {
width: 100%;
min-width: 0;
padding: 12px 13px;
background: transparent;
border: 0;
outline: 0;
font: inherit;
font-size: 0.98rem;
font-weight: 650;
color: var(--md-text);
}

.cg-md-input-wrap input::placeholder {
font-weight: 450;
color: #9aa4ad;
}

.cg-md-input-prefix,
.cg-md-input-suffix {
display: inline-flex;
flex: 0 0 auto;
align-items: center;
justify-content: center;
background: #f7f9fa;
color: #66727e;
font-size: 0.82rem;
font-weight: 700;
white-space: nowrap;
}

.cg-md-input-prefix {
padding: 0 12px;
border-right: 1px solid #e0e6ea;
}

.cg-md-input-suffix {
padding: 0 12px;
border-left: 1px solid #e0e6ea;
}

.cg-md-field__help {
margin: 7px 0 0;
font-size: 0.77rem;
line-height: 1.5;
color: #7a858f;
}


/* Estimate vs Actual input comparison
   ========================================================== */

.cg-md-comparison-inputs {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 16px;
}

.cg-md-scenario {
padding: 20px;
border: 1px solid #e1e7eb;
border-radius: 14px;
background: #fafbfc;
}

.cg-md-scenario--actual {
background: linear-gradient(
180deg,
rgba(47, 158, 68, 0.045),
rgba(47, 158, 68, 0.018)
);
border-color: rgba(47, 158, 68, 0.2);
}

.cg-md-scenario h3 {
margin: 0 0 18px;
font-size: 0.83rem;
font-weight: 800;
letter-spacing: 0.06em;
text-transform: uppercase;
color: var(--md-navy);
}

.cg-md-scenario--actual h3 {
color: var(--md-green-dark);
}


/* Submit area
   ========================================================== */

.cg-md-submit {
display: flex;
flex-direction: column;
align-items: center;
gap: 9px;
padding: 28px 0 0;
text-align: center;
}

.cg-md-submit__button {
min-width: 245px;
padding: 14px 25px;
border: 0;
border-radius: 11px;
background: var(--md-green);
box-shadow: 0 8px 20px rgba(47, 158, 68, 0.18);
font: inherit;
font-size: 0.95rem;
font-weight: 800;
color: #fff;
cursor: pointer;
transition:
transform 0.18s ease,
background-color 0.18s ease,
box-shadow 0.18s ease;
}

.cg-md-submit__button:hover {
background: var(--md-green-dark);
transform: translateY(-1px);
box-shadow: 0 11px 25px rgba(47, 158, 68, 0.23);
}

.cg-md-submit__button:focus-visible {
outline: 3px solid rgba(47, 158, 68, 0.25);
outline-offset: 4px;
}

.cg-md-submit p {
margin: 0;
font-size: 0.76rem;
color: #7a858f;
}


/* Results shell
   ========================================================== */

.cg-md-results {
margin-top: 42px;
overflow: hidden;
border-radius: 22px;
background: var(--md-navy);
box-shadow: 0 24px 60px rgba(15, 37, 55, 0.16);
color: #fff;
scroll-margin-top: 100px;
}

.cg-md-results__hero {
display: flex;
align-items: center;
justify-content: space-between;
gap: 30px;
padding: 32px;
background:
radial-gradient(
circle at top right,
rgba(47, 158, 68, 0.2),
transparent 38%
),
var(--md-navy);
}

.cg-md-results__eyebrow {
margin: 0 0 9px;
font-size: 0.73rem;
font-weight: 800;
letter-spacing: 0.11em;
color: #8ed39b;
}

.cg-md-status {
display: inline-flex;
padding: 6px 10px;
border: 1px solid rgba(255, 255, 255, 0.14);
border-radius: 999px;
background: rgba(255, 255, 255, 0.07);
font-size: 0.76rem;
font-weight: 800;
color: #fff;
}

.cg-md-results__primary {
text-align: right;
}

.cg-md-results__primary strong {
display: block;
font-size: clamp(2.25rem, 5vw, 4rem);
line-height: 1;
letter-spacing: -0.045em;
color: #fff;
}

.cg-md-results__primary p {
margin: 10px 0 0;
font-size: 0.92rem;
font-weight: 650;
color: #c7d1d8;
}


/* Estimated vs Actual results
   ========================================================== */

.cg-md-result-comparison {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 1px;
background: rgba(255, 255, 255, 0.09);
border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cg-md-result-panel {
padding: 28px 32px;
background: #112c40;
}

.cg-md-result-panel--actual {
background: #123447;
}

.cg-md-result-panel__label {
margin: 0 0 18px;
font-size: 0.71rem;
font-weight: 850;
letter-spacing: 0.11em;
color: #94a6b4;
}

.cg-md-result-panel--actual .cg-md-result-panel__label {
color: #8ed39b;
}

.cg-md-result-panel__profit {
margin-bottom: 22px;
}

.cg-md-result-panel__profit strong {
display: block;
font-size: clamp(1.9rem, 4vw, 2.8rem);
line-height: 1;
letter-spacing: -0.035em;
color: #fff;
}

.cg-md-result-panel__profit span {
display: block;
margin-top: 7px;
font-size: 0.78rem;
color: #aebcc6;
}

.cg-md-result-panel dl {
margin: 0;
}

.cg-md-result-panel dl > div {
display: flex;
align-items: center;
justify-content: space-between;
gap: 15px;
padding: 10px 0;
border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cg-md-result-panel dt {
font-size: 0.8rem;
color: #9fb0bb;
}

.cg-md-result-panel dd {
margin: 0;
font-size: 0.86rem;
font-weight: 800;
color: #fff;
}


/* Variance
   ========================================================== */

.cg-md-variance {
padding: 32px;
background: #fff;
color: var(--md-text);
}

.cg-md-section-heading p {
margin: 0 0 5px;
font-size: 0.69rem;
font-weight: 850;
letter-spacing: 0.11em;
color: var(--md-green);
}

.cg-md-section-heading h2 {
margin: 0;
font-size: 1.4rem;
color: var(--md-navy);
}

.cg-md-variance-grid {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 12px;
margin-top: 20px;
}

.cg-md-metric {
min-width: 0;
padding: 17px;
border: 1px solid #e1e7eb;
border-radius: 13px;
background: var(--md-bg-soft);
}

.cg-md-metric > span {
display: block;
margin-bottom: 8px;
font-size: 0.75rem;
font-weight: 700;
color: #74808a;
}

.cg-md-metric strong {
display: block;
font-size: 1.18rem;
line-height: 1.2;
color: var(--md-navy);
}

.cg-md-metric small {
display: block;
margin-top: 5px;
font-size: 0.73rem;
font-weight: 700;
color: #7a858f;
}

.cg-md-assumption-note {
margin: 15px 0 0;
padding: 11px 13px;
border-radius: 9px;
background: #f5f7f8;
font-size: 0.78rem;
line-height: 1.5;
color: #6c7781;
}


/* Profit impact
   ========================================================== */

.cg-md-profit-impact {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 1px;
background: #dce3e8;
border-top: 1px solid #e1e7eb;
border-bottom: 1px solid #e1e7eb;
color: var(--md-text);
}

.cg-md-profit-impact > div {
padding: 26px 32px;
background: #f8fafb;
}

.cg-md-profit-impact span {
display: block;
margin-bottom: 8px;
font-size: 0.76rem;
font-weight: 750;
color: #6d7983;
}

.cg-md-profit-impact strong {
display: block;
font-size: clamp(1.75rem, 3vw, 2.45rem);
line-height: 1.1;
letter-spacing: -0.03em;
color: var(--md-navy);
}

.cg-md-profit-impact small {
display: block;
max-width: 300px;
margin-top: 7px;
font-size: 0.72rem;
line-height: 1.45;
color: #818b94;
}


/* Insight
   ========================================================== */

.cg-md-insight {
padding: 28px 32px;
background: #fff;
color: var(--md-text);
}

.cg-md-insight__label {
margin: 0 0 9px !important;
font-size: 0.7rem !important;
font-weight: 850;
letter-spacing: 0.11em;
color: var(--md-green) !important;
}

.cg-md-insight > p:last-child {
max-width: 880px;
margin: 0;
font-size: 1.02rem;
font-weight: 650;
line-height: 1.65;
color: #273642;
}


/* Warnings
   ========================================================== */

.cg-md-warning {
margin: 0 32px 22px;
padding: 19px 20px;
border: 1px solid #f2d4b8;
border-radius: 13px;
background: var(--md-warning-bg);
color: #73360f;
}

.cg-md-warning--loss {
border-color: #efc7c7;
background: var(--md-loss-bg);
color: #812a2a;
}

.cg-md-warning h2 {
margin: 0 0 6px;
font-size: 1rem;
color: inherit;
}

.cg-md-warning p {
margin: 0;
font-size: 0.83rem;
line-height: 1.55;
color: inherit;
}


/* Product CTA
   ========================================================== */

.cg-md-product-cta {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
gap: 35px;
align-items: center;
padding: 30px 32px;
border-top: 1px solid rgba(255, 255, 255, 0.09);
background: var(--md-navy-deep);
}

.cg-md-product-cta__eyebrow {
margin: 0 0 7px;
font-size: 0.68rem;
font-weight: 850;
letter-spacing: 0.11em;
color: #8ed39b;
}

.cg-md-product-cta h2 {
max-width: 620px;
margin: 0;
font-size: clamp(1.35rem, 2.5vw, 1.8rem);
line-height: 1.22;
color: #fff;
}

.cg-md-product-cta > div:first-child > p:last-child {
max-width: 700px;
margin: 10px 0 0;
font-size: 0.85rem;
line-height: 1.6;
color: #aebbc5;
}

.cg-md-product-cta__action {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 8px;
}

.cg-md-product-cta__action > span {
font-size: 0.72rem;
font-weight: 700;
color: #9fafba;
}

.cg-md-product-cta__action a {
display: inline-flex;
align-items: center;
gap: 9px;
padding: 12px 17px;
border-radius: 9px;
background: var(--md-green);
text-decoration: none;
font-size: 0.86rem;
font-weight: 800;
color: #fff;
transition:
background-color 0.18s ease,
transform 0.18s ease;
}

.cg-md-product-cta__action a:hover {
background: var(--md-green-dark);
transform: translateY(-1px);
color: #fff;
}


/* Tablet
   ========================================================== */

@media (max-width: 900px) {

.cg-md-input-grid {
grid-template-columns: 1fr;
}

.cg-md-variance-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cg-md-product-cta {
grid-template-columns: 1fr;
}

}


/* Mobile
   ========================================================== */

@media (max-width: 640px) {

.cg-margin-drift-hero {
padding: 38px 0 28px;
}

.cg-margin-drift-hero h1 {
font-size: clamp(2rem, 10vw, 2.55rem);
}

.cg-margin-drift-hero__description {
font-size: 0.98rem;
}

.cg-margin-drift-tool {
padding: 25px 0 55px;
}

.cg-md-input-card {
padding: 20px;
border-radius: 15px;
}

.cg-md-comparison-inputs {
grid-template-columns: 1fr;
}

.cg-md-scenario {
padding: 17px;
}

.cg-md-input-suffix {
padding: 0 9px;
font-size: 0.75rem;
}

.cg-md-submit {
padding-top: 22px;
}

.cg-md-submit__button {
width: 100%;
min-width: 0;
}

.cg-md-results {
margin-top: 30px;
border-radius: 17px;
}

.cg-md-results__hero {
flex-direction: column;
align-items: flex-start;
padding: 25px 21px;
}

.cg-md-results__primary {
width: 100%;
text-align: left;
}

.cg-md-result-comparison {
grid-template-columns: 1fr;
}

.cg-md-result-panel {
padding: 23px 21px;
}

.cg-md-variance {
padding: 25px 21px;
}

.cg-md-variance-grid {
grid-template-columns: 1fr 1fr;
gap: 9px;
}

.cg-md-metric {
padding: 14px;
}

.cg-md-profit-impact {
grid-template-columns: 1fr;
}

.cg-md-profit-impact > div {
padding: 22px 21px;
}

.cg-md-insight {
padding: 24px 21px;
}

.cg-md-warning {
margin: 0 21px 19px;
}

.cg-md-product-cta {
padding: 26px 21px;
}

.cg-md-product-cta__action {
width: 100%;
}

.cg-md-product-cta__action a {
width: 100%;
justify-content: center;
}

}


/* Very small screens
   ========================================================== */

@media (max-width: 420px) {

.cg-md-variance-grid {
grid-template-columns: 1fr;
}

.cg-md-input-prefix,
.cg-md-input-suffix {
padding-left: 8px;
padding-right: 8px;
}

}


/* ==========================================================
   Margin Drift SEO Content
   ========================================================== */

.cg-md-seo {
padding: 12px 0 82px;
background: #fff;
}

.cg-md-seo > .cg-container {
max-width: 1000px;
}

.cg-md-seo-section {
padding: 58px 0;
border-top: 1px solid #e8edf0;
}

.cg-md-seo-section:first-child {
border-top: 0;
}

.cg-md-seo-heading {
max-width: 780px;
margin-bottom: 24px;
}

.cg-md-seo-heading--center {
margin-left: auto;
margin-right: auto;
text-align: center;
}

.cg-md-seo-eyebrow {
margin: 0 0 8px;
font-size: 0.7rem;
font-weight: 850;
letter-spacing: 0.11em;
color: var(--md-green);
}

.cg-md-seo-heading h2 {
margin: 0;
font-size: clamp(1.65rem, 3vw, 2.3rem);
line-height: 1.15;
letter-spacing: -0.025em;
color: var(--md-navy);
}

.cg-md-seo-copy {
max-width: 800px;
}

.cg-md-seo-copy p {
margin: 0;
font-size: 0.98rem;
line-height: 1.75;
color: #43515d;
}

.cg-md-seo-copy p + p {
margin-top: 16px;
}

.cg-md-seo-copy a,
.cg-md-faq a {
font-weight: 750;
color: var(--md-green-dark);
text-decoration-thickness: 1px;
text-underline-offset: 3px;
}

.cg-md-seo-note {
max-width: 820px;
margin: 22px 0 0;
padding: 14px 16px;
border-left: 3px solid var(--md-green);
border-radius: 8px;
background: var(--md-green-soft);
font-size: 0.82rem;
line-height: 1.6;
color: #5c6872;
}


/* Estimate vs actual split
   ========================================================== */

.cg-md-seo-section--split {
display: grid;
grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
gap: 50px;
align-items: start;
}

.cg-md-seo-section--split .cg-md-seo-heading {
margin-bottom: 0;
}


/* Labor variance example
   ========================================================== */

.cg-md-labor-example {
display: grid;
grid-template-columns: minmax(0, 1.15fr) minmax(290px, 0.85fr);
gap: 18px;
}

.cg-md-labor-example__formula {
display: flex;
flex-direction: column;
justify-content: center;
min-height: 205px;
padding: 30px;
border-radius: 16px;
background: var(--md-navy);
color: #fff;
}

.cg-md-labor-example__formula span {
margin-bottom: 10px;
font-size: 0.74rem;
font-weight: 800;
letter-spacing: 0.08em;
color: #9eb0bc;
}

.cg-md-labor-example__formula strong {
max-width: 560px;
font-size: clamp(1.35rem, 2.6vw, 2rem);
line-height: 1.35;
color: #fff;
}

.cg-md-labor-example__numbers {
padding: 22px;
border: 1px solid var(--md-border);
border-radius: 16px;
background: var(--md-bg-soft);
}

.cg-md-labor-example__numbers > p {
margin: 0 0 12px;
font-size: 0.71rem;
font-weight: 850;
letter-spacing: 0.08em;
text-transform: uppercase;
color: var(--md-green);
}

.cg-md-labor-example__numbers > div {
display: flex;
align-items: center;
justify-content: space-between;
gap: 15px;
padding: 10px 0;
border-top: 1px solid #e0e6ea;
}

.cg-md-labor-example__numbers span {
font-size: 0.81rem;
color: #6d7983;
}

.cg-md-labor-example__numbers strong {
font-size: 0.9rem;
color: var(--md-navy);
}

.cg-md-labor-example__impact strong {
color: var(--md-green-dark);
}


/* Margin formulas
   ========================================================== */

.cg-md-formulas {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 14px;
}

.cg-md-formulas > div {
padding: 22px;
border: 1px solid var(--md-border);
border-radius: 14px;
background: var(--md-bg-soft);
}

.cg-md-formulas span {
display: block;
margin-bottom: 9px;
font-size: 0.75rem;
font-weight: 800;
color: var(--md-green-dark);
}

.cg-md-formulas strong {
display: block;
font-size: 1rem;
line-height: 1.45;
color: var(--md-navy);
}

.cg-md-points-example {
margin-top: 18px;
padding: 20px 22px;
border-radius: 14px;
background: var(--md-navy);
color: #fff;
}

.cg-md-points-example p {
margin: 0;
font-size: 0.88rem;
line-height: 1.7;
color: #c4d0d8;
}

.cg-md-points-example p + p {
margin-top: 10px;
}

.cg-md-points-example strong {
color: #fff;
}


/* Margin drift cause cards
   ========================================================== */

.cg-md-seo-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 14px;
}

.cg-md-seo-card {
padding: 22px;
border: 1px solid var(--md-border);
border-radius: 14px;
background: #fff;
box-shadow: 0 7px 20px rgba(15, 37, 55, 0.035);
}

.cg-md-seo-card h3 {
margin: 0;
font-size: 1rem;
color: var(--md-navy);
}

.cg-md-seo-card p {
margin: 8px 0 0;
font-size: 0.83rem;
line-height: 1.62;
color: #68757f;
}


/* Tool flow
   ========================================================== */

.cg-md-tool-flow {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 14px;
}

.cg-md-tool-flow > a,
.cg-md-tool-flow__current {
display: flex;
flex-direction: column;
min-height: 245px;
padding: 22px;
border: 1px solid var(--md-border);
border-radius: 15px;
background: #fff;
text-decoration: none;
transition:
transform 0.18s ease,
border-color 0.18s ease,
box-shadow 0.18s ease;
}

.cg-md-tool-flow > a:hover {
transform: translateY(-2px);
border-color: rgba(47, 158, 68, 0.45);
box-shadow: 0 10px 28px rgba(15, 37, 55, 0.07);
}

.cg-md-tool-flow__current {
background: var(--md-green-soft);
border-color: rgba(47, 158, 68, 0.22);
}

.cg-md-tool-flow__step {
display: inline-flex;
align-items: center;
justify-content: center;
width: 34px;
height: 34px;
margin-bottom: 18px;
border-radius: 999px;
background: var(--md-green-soft);
font-size: 0.72rem;
font-weight: 850;
color: var(--md-green-dark);
}

.cg-md-tool-flow__current .cg-md-tool-flow__step {
background: var(--md-green);
color: #fff;
}

.cg-md-tool-flow h3 {
margin: 0;
font-size: 1.05rem;
line-height: 1.3;
color: var(--md-navy);
}

.cg-md-tool-flow p {
margin: 9px 0 18px;
font-size: 0.82rem;
line-height: 1.6;
color: #68757f;
}

.cg-md-tool-flow strong {
display: block;
margin-top: auto;
font-size: 0.8rem;
color: var(--md-green-dark);
}

.cg-md-tool-flow__current strong {
color: var(--md-navy);
}


/* FAQ
   ========================================================== */

.cg-md-faq__list {
max-width: 820px;
margin: 0 auto;
border-top: 1px solid var(--md-border);
}

.cg-md-faq details {
border-bottom: 1px solid var(--md-border);
}

.cg-md-faq summary {
position: relative;
padding: 18px 34px 18px 0;
font-size: 0.94rem;
font-weight: 750;
color: var(--md-navy);
cursor: pointer;
list-style: none;
}

.cg-md-faq summary::-webkit-details-marker {
display: none;
}

.cg-md-faq summary::after {
content: "+";
position: absolute;
top: 50%;
right: 2px;
transform: translateY(-50%);
font-size: 1.25rem;
font-weight: 500;
color: var(--md-green);
}

.cg-md-faq details[open] summary::after {
content: "−";
}

.cg-md-faq details p {
margin: -2px 0 18px;
padding-right: 34px;
font-size: 0.87rem;
line-height: 1.7;
color: #61707a;
}


/* SEO responsive
   ========================================================== */

@media (max-width: 820px) {

.cg-md-seo-section--split,
.cg-md-labor-example {
grid-template-columns: 1fr;
gap: 22px;
}

.cg-md-formulas,
.cg-md-seo-grid,
.cg-md-tool-flow {
grid-template-columns: 1fr;
}

.cg-md-tool-flow > a,
.cg-md-tool-flow__current {
min-height: 0;
}

}


@media (max-width: 560px) {

.cg-md-seo {
padding-bottom: 55px;
}

.cg-md-seo-section {
padding: 42px 0;
}

.cg-md-labor-example__formula,
.cg-md-labor-example__numbers,
.cg-md-formulas > div,
.cg-md-seo-card,
.cg-md-tool-flow > a,
.cg-md-tool-flow__current {
padding: 20px;
}

.cg-md-points-example {
padding: 18px;
}

.cg-md-faq summary {
font-size: 0.9rem;
}

}
