/* NT 2026-09-30 FINAL-N (pklawfirm.sk stand 8084), Nikita's edits P30-P33: blog list, blog sidebar, article text.
   Only styles, no data changes. Overrides theme Constructum and modules nt-blog-cases, nt-tails, nt-qa-fixes, nt-zz-final-c.
   The blog exists only in Slovak (page 10239, posts 10554, 10556; /en/blog/ and /ru/blog/ redirect to /blog/).
   Rollback: delete this file. */

/* ===== P30) Sidebar call to action "Potrebujete advokáta?" (widget .nt-bc-cta; copy under the content on phones from
   nt-tails.php): the button "Napíšte nám" was a square box. Now like the gold banner buttons: pill, 14px/500, no upper
   case, gold fill, lighter gold on hover. */
body .sidebar .widget .nt-bc-cta .wp-block-button .wp-block-button__link,
body .nt-tails-cta-mobile .nt-bc-cta .wp-block-button .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-height: 52px;
	padding: 11px 34px !important; /* nt-blog-cases.css and nt-tails.css set padding with !important */
	font-size: 14px;
	font-weight: 500;
	line-height: 30px;
	letter-spacing: normal;
	text-transform: none;
	white-space: nowrap;
	border: 0;
	border-radius: 9999px !important;
	background: #166574 !important;
	background-image: none !important;
	color: #1f1f1f !important;
	transition: background-color 0.3s, color 0.3s;
}
body .sidebar .widget .nt-bc-cta .wp-block-button .wp-block-button__link:hover,
body .nt-tails-cta-mobile .nt-bc-cta .wp-block-button .wp-block-button__link:hover {
	background: #0f4c57 !important;
	color: #1f1f1f !important;
}
body .sidebar .widget .nt-bc-cta .wp-block-button .wp-block-button__link svg,
body .nt-tails-cta-mobile .nt-bc-cta .wp-block-button .wp-block-button__link svg,
body .sidebar .widget .nt-bc-cta .wp-block-button .wp-block-button__link::after,
body .nt-tails-cta-mobile .nt-bc-cta .wp-block-button .wp-block-button__link::after {
	display: none;
}

/* ===== P31) Blog list (/blog/, category and date archives): post titles were 70px (theme h2). About 31px on 1440, 29px on
   1280, 24px on phones; the gaps title-excerpt-button follow the smaller title. */
body .standard-blog-item-wrapper:not(.constructum-format-quote) .blog-item .post-title {
	font-size: clamp(24px, calc(1.2vw + 14px), 32px);
	line-height: 1.2;
	letter-spacing: -0.02em;
}
body .standard-blog-item-wrapper:not(.constructum-format-quote) .blog-item .post-title:not(:first-child) {
	margin-top: 8px;
}
body .standard-blog-item-wrapper:not(.constructum-format-quote) .blog-item .post-content:not(:first-child) {
	margin-top: 16px;
}

/* ===== P32) "Čítať ďalej" under the excerpt: was a thin upper-case text link with an underline. Now a small gold pill
   button (same colours as the banner buttons), closer to the excerpt (22px instead of 33px). */
body .standard-blog-item-wrapper .blog-item .post-more-button:not(:first-child) {
	margin-top: 22px;
}
body .body-container .standard-blog-item-wrapper .blog-item .post-more-button .constructum-button {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-height: 46px;
	padding: 8px 28px;
	font-size: 14px;
	font-weight: 500;
	line-height: 30px;
	letter-spacing: normal;
	text-transform: none;
	text-decoration: none;
	white-space: nowrap;
	color: #1f1f1f;
	background: #166574;
	background-image: none;
	border: 0;
	border-radius: 9999px;
	transition: background-color 0.3s, color 0.3s;
}
body .body-container .standard-blog-item-wrapper .blog-item .post-more-button .constructum-button:hover {
	color: #1f1f1f;
	background: #0f4c57;
	background-image: none;
}
body .body-container .standard-blog-item-wrapper .blog-item .post-more-button .constructum-button svg,
body .body-container .standard-blog-item-wrapper .blog-item .post-more-button .constructum-button::after {
	display: none;
}

/* ===== P33) Article text (single posts, blocks written straight in .post-content, markup is clean Gutenberg).
   Before: h2 70px, h3 25px, paragraphs 18px/32px with 34px between them, h2 50px above and 35px below, text 943px wide.
   Now: a reading column about 75-78 characters wide (680px), h2 about 33px on 1440 and 26px on phones, h3 about 22px,
   paragraphs 18px/1.7 with 20px between them, more space above a heading than below it, lists and the article FAQ in the
   same rhythm, no top margin on the first block. Only direct children of .post-content: the mobile call to action copy
   (.nt-tails-cta-mobile) and the two buttons at the end (nt-zz-final-c.css) keep their styles. */
body.single-post .single-post > .post-content {
	max-width: 680px;
}
body.single-post .single-post > .post-content:not(:first-child) {
	margin-top: 22px;
}
body.single-post .single-post > .post-content > p,
body.single-post .single-post > .post-content > ul,
body.single-post .single-post > .post-content > ol {
	line-height: 1.7;
	margin-top: 0;
	margin-bottom: 20px;
}
body.single-post .single-post > .post-content > h2 {
	font-size: clamp(26px, calc(1.3vw + 14px), 34px);
	line-height: 1.2;
	letter-spacing: -0.02em;
	margin: 52px 0 16px;
}
body.single-post .single-post > .post-content > h3 {
	font-size: clamp(20px, calc(0.5vw + 15px), 23px);
	line-height: 1.3;
	letter-spacing: -0.01em;
	margin: 34px 0 10px;
}
body.single-post .single-post > .post-content > h2 + h3 {
	margin-top: 24px;
}
body.single-post .single-post > .post-content > :first-child {
	margin-top: 0;
}
body.single-post .single-post > .post-content > ul > li,
body.single-post .single-post > .post-content > ol > li {
	margin: 0;
}
body.single-post .single-post > .post-content > ul > li + li,
body.single-post .single-post > .post-content > ol > li + li {
	margin-top: 10px;
}
/* numbered list: theme draws the numbers inside the text (wrapped lines started under the number); now a hanging
   indent as wide as the arrow list (37px), numbers in gold */
body.single-post .single-post > .post-content > ol {
	list-style-position: outside;
	padding-left: 37px;
}
body.single-post .single-post > .post-content > ol > li::marker {
	color: #166574;
	font-weight: 600;
}
body.single-post .single-post > .post-content > .wp-block-buttons {
	margin-top: 32px;
	margin-bottom: 0;
}
body.single-post .single-post > .post-content > .wp-block-buttons + p {
	margin-top: 28px;
}
@media only screen and (max-width: 767px) {
	body.single-post .single-post > .post-content > h2 {
		margin-top: 40px;
		margin-bottom: 14px;
	}
	body.single-post .single-post > .post-content > h3 {
		margin-top: 28px;
	}
	body.single-post .single-post > .post-content > h2 + h3 {
		margin-top: 20px;
	}
}
