/* Self-hosted Roboto subsets preserve the migrated content typography. */
@font-face {
  font-family: 'Roboto';
  font-display: swap;
  font-style: italic;
  font-weight: 100 900;
  font-stretch: 100%;
  src: url(../fonts/calculator/roboto-cyrillic-italic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Roboto';
  font-display: swap;
  font-style: italic;
  font-weight: 100 900;
  font-stretch: 100%;
  src: url(../fonts/calculator/roboto-latin-italic.woff2) format('woff2');
  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;
}

@font-face {
  font-family: 'Roboto';
  font-display: swap;
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  src: url(../fonts/calculator/roboto-cyrillic-normal.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Roboto';
  font-display: swap;
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  src: url(../fonts/calculator/roboto-latin-normal.woff2) format('woff2');
  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;
}

/* Layout for the native calculator template, independent of page builders. */
body.kk-calculator-page {
	background-color: #fff;
}

body.kk-calculator-page #primary {
	width: 100%;
}

body.kk-calculator-page .site-main,
.kk-calculator .entry-content {
	margin: 0;
}

.kk-calculator {
	max-width: 1140px;
	margin: 0 auto;
	background: #fff;
	color: #000;
}

/* Preserve the former content link reset, including the confirmation phone. */
.kk-calculator a {
	text-decoration: none;
	box-shadow: none;
}

.kk-calculator-section {
	padding: 10px;
}

.kk-calculator-section > h1,
.kk-calculator-section > h2,
.kk-calculator-section > h3 {
	margin: 0 0 20px;
	font-family: Roboto, sans-serif;
	font-weight: 600;
	line-height: 1;
	color: #620303;
}

.kk-calculator-text {
	font-family: Roboto, sans-serif;
	font-weight: 400;
}

.kk-calculator-section > :last-child {
	margin-bottom: 0;
}

.kk-calculator *,
.kk-calculator *::before,
.kk-calculator *::after {
	box-sizing: border-box;
}

.kk-calculator .kktc-form-container,
.kk-calculator .kktc-form-error {
	max-width: 100%;
}

@media (max-width: 600px) {
	.kk-calculator .kktc-result-item {
		width: 100%;
	}

	.kk-calculator .kktc-result-count {
		width: 100%;
		text-align: left;
	}
}
