/* "Satura lapa" template (templates/page-content.php) - body text in the
   site's fonts and colours, same as the homepage: Roboto #222 text, Roboto
   Slab teal headings. */

.lsv-content-page {
	font-family: 'Roboto', Arial, sans-serif;
	color: #222;
	font-size: 17px;
	line-height: 1.7;
	/* A centred reading column (~800px of text, 70-90 characters a line);
	   only the title banner above stays left-aligned like every page title.
	   width: 100% because Astra's container here is a flex column, which
	   would otherwise shrink this box to its text. Pages carried over from
	   Elementor are on Astra's full-width layout, so this is the container. */
	box-sizing: border-box;
	width: 100%;
	max-width: 840px;
	margin: 0 auto;
	padding: 40px 20px;
}
.lsv-content-page p {
	margin: 0 0 1.1em;
}
.lsv-content-page strong {
	color: #1A5E63;
}
.lsv-content-page h2,
.lsv-content-page h3 {
	font-family: 'Roboto Slab', Georgia, serif;
	color: #1A5E63;
	line-height: 1.3;
	margin: 1.6em 0 .6em;
}
.lsv-content-page h2 {
	font-size: 26px;
}
.lsv-content-page h3 {
	font-size: 20px;
}
.lsv-content-page ul,
.lsv-content-page ol {
	margin: 0 0 1.1em 1.4em;
	padding: 0;
}
.lsv-content-page li {
	margin-bottom: .3em;
}
/* The legal pages' list items each wrap a <p>. */
.lsv-content-page li > p {
	margin: 0;
}
.lsv-content-page > :first-child {
	margin-top: 0;
}
.lsv-content-page > :last-child {
	margin-bottom: 0;
}
.lsv-content-page a:not(.lsv-btn) {
	color: #1A5E63;
	text-decoration: underline;
}
.lsv-content-page a:not(.lsv-btn):hover {
	color: #E08D79;
}

/* Intro paragraph: <p class="lsv-lead"> */
.lsv-content-page .lsv-lead {
	font-size: 20px;
	line-height: 1.6;
	color: #1A5E63;
}

/* Highlighted box, e.g. the GRAM block on Par mums:
   <div class="lsv-note"><p>...</p><a class="lsv-btn ...">...</a></div> */
.lsv-content-page .lsv-note {
	background: #f2f7f7;
	border-left: 4px solid #1A5E63;
	border-radius: 6px;
	padding: 20px 24px;
	margin: 0 0 1.1em;
}
.lsv-content-page .lsv-note > :last-child {
	margin-bottom: 0;
}
.lsv-content-page .lsv-note p {
	margin-bottom: .8em;
}

/* Embedded map: <div class="lsv-map"><iframe ...></iframe></div> */
.lsv-content-page .lsv-map {
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid #e3e9e9;
	margin: 0 0 1.1em;
}
.lsv-content-page .lsv-map iframe {
	display: block;
	width: 100%;
	height: 380px;
	border: 0;
}

/* Button under the map, e.g. "Atvērt navigācijā" */
.lsv-content-page .lsv-map-actions {
	margin: -4px 0 1.1em;
}

/* Details table with "Kopēt" buttons (content-page.js):
   <table class="lsv-details"><tr><th>Label</th><td>Value</td></tr></table> */
.lsv-content-page .lsv-details {
	width: 100%;
	border: 0;
	border-collapse: collapse;
	margin: 0 0 1.1em;
	font-size: 16px;
}
.lsv-details th,
.lsv-details td {
	text-align: left;
	padding: 9px 0;
	border: 0;
	border-bottom: 1px solid #e3e9e9;
	vertical-align: middle;
}
.lsv-details th {
	font-weight: 600;
	color: #1A5E63;
	width: 30%;
	padding-right: 16px;
}
.lsv-details td {
	word-break: break-word;
}
.lsv-copy {
	margin-left: 10px;
	padding: 2px 10px;
	font-size: 13px;
	line-height: 1.6;
	border: 1px solid #AEC3C0;
	border-radius: 4px;
	background: #fff;
	color: #1A5E63;
	cursor: pointer;
}
.lsv-copy:hover {
	border-color: #1A5E63;
}

/* [lsv_kontaktforma] (includes/contact-form.php) */
.lsv-contact-form {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 0 0 1.1em;
}
.lsv-contact-form label {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 15px;
	font-weight: 600;
	color: #1A5E63;
}
.lsv-contact-form input[type="text"],
.lsv-contact-form input[type="email"],
.lsv-contact-form input[type="tel"],
.lsv-contact-form textarea {
	font: inherit;
	font-weight: 400;
	color: #222;
	border: 1px solid #d6dede;
	border-radius: 6px;
	padding: 9px 12px;
	background: #fff;
}
.lsv-contact-form input:focus,
.lsv-contact-form textarea:focus {
	outline: none;
	border-color: #1A5E63;
}
.lsv-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}
.lsv-form-optional {
	font-weight: 400;
	color: #888;
}
.lsv-contact-form .lsv-form-consent {
	flex-direction: row;
	align-items: flex-start;
	gap: 8px;
	font-weight: 400;
	color: #444;
	font-size: 14px;
}
.lsv-form-consent input {
	margin-top: 4px;
	accent-color: #1A5E63;
}
.lsv-contact-form button {
	align-self: flex-start;
}
.lsv-form-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.lsv-content-page .lsv-form-notice {
	margin: 0;
	padding: 12px 16px;
	border-radius: 6px;
	font-size: 15px;
}
.lsv-form-notice-ok {
	background: #e8f4ec;
	color: #1d6b3a;
}
.lsv-form-notice-error {
	background: #fbeceb;
	color: #a2342a;
}

/* [lsv_ipasibas] - Precīzi / Uzticami / Verificēti */
.lsv-features {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin: 2em 0;
}
.lsv-feature {
	text-align: center;
	border: 1px solid #e3e9e9;
	border-radius: 8px;
	padding: 20px 16px;
}
.lsv-feature img {
	/* The icon art only fills about half its canvas. */
	width: 96px;
	height: 96px;
	margin: -8px auto 0;
	display: block;
}
.lsv-content-page .lsv-feature h3 {
	margin: 0 0 6px;
	font-size: 19px;
}
.lsv-content-page .lsv-feature p {
	font-size: 15px;
	line-height: 1.5;
	color: #555;
	margin: 0;
}

/* [lsv_aicinajums] - closing call to action */
.lsv-cta-box {
	background: #12363a;
	color: #cfe4e2;
	border-radius: 8px;
	padding: 28px 24px;
	text-align: center;
	margin: 2em 0 0;
}
.lsv-content-page .lsv-cta-box p {
	margin: 0 0 .4em;
}
.lsv-content-page .lsv-cta-box .lsv-cta-box-title {
	font-family: 'Roboto Slab', Georgia, serif;
	color: #fff;
	font-size: 22px;
	font-weight: 700;
}
.lsv-cta-box-buttons {
	display: flex;
	gap: 12px;
	justify-content: center;
	flex-wrap: wrap;
	margin-top: 16px;
}

@media (max-width: 640px) {
	.lsv-features,
	.lsv-form-row {
		grid-template-columns: 1fr;
	}
	.lsv-content-page .lsv-lead {
		font-size: 18px;
	}
}

/* 404 page (templates/page-404.php): product search box + section links. */
.lsv-404-search {
	display: flex;
	gap: 8px;
	margin: 0 0 1.6em;
}
.lsv-404-search input[type="search"] {
	flex: 1;
	min-width: 0;
	padding: 10px 14px;
	border: 1px solid #ccd6d5;
	border-radius: 6px;
	font: inherit;
	font-size: 16px;
}
.lsv-404-links {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

/* In-page anchors (e.g. Privātuma politika #sikdatnes from the cookie
   banner) land below the sticky header instead of under it. */
.lsv-content-page [id] {
	scroll-margin-top: 140px;
}

/* Category guide text under the product grid (includes/category-text.php):
   as wide as the grid above it, not the centred reading column. */
.lsv-content-page.lsv-category-text {
	max-width: none;
	margin: 40px 0 0;
	border-top: 1px solid #e3e8e8;
	padding: 48px 0 0;
}
