/*
 Theme Name: Cohere Theme
 Theme URI: https://example.com/
 Author: Your Name
 Description: Ultra-minimal starter theme with Carbon Fields-powered post content.
 Version: 1.0.0
 License: GNU General Public License v2 or later
 License URI: https://www.gnu.org/licenses/gpl-2.0.html
 Text Domain: cohere-theme
*/

:root {
	/* Navigatsioon: tumesinine-hall, hoover sügavam sinine, aktiivne vaoshoitud kuldne aktsent */
	--nav-text: #2f3f5b;
	--nav-text-hover: #1f4e8c;
	--nav-active: #d9a44b;
	--nav-active-soft: #c89a55;
	/* Eraldi tähtis nupp (nt Lugemisruumi) — Lisa menüükirjele CSS klass: nav-cta */
	--nav-cta-bg: #2f3f5b;
	--nav-cta-text: #ffffff;
	--nav-cta-hover-bg: #1f4e8c;

	--black: #000;
	--white: #fff;
	--blue: var(--nav-text);
	--blue-2: var(--nav-text-hover);
	--blue-3: var(--nav-text-hover);
	--red: #ff4747;
	--yellow: #fcff41;
	--purple: #8c00b7;
	--green: #67ff66;
	--orange: orange;
	--gray: #7f7f7f;
	--gray-light: lightgray;
	--gray-light-2: whitesmoke;
	--beige: beige;
	
	--radius-1: 0rem;
}

body {
	margin: 0;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	line-height: 1.6;
}

html { scroll-behavior: smooth; } /* smooth scroll to anchors */

a {
	color: var(--nav-text);
	text-decoration: none;
}

a:hover {
	color: var(--nav-text-hover);
	text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
	font-family: "Red Hat Text", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-optical-sizing: auto;
	font-weight: 600;
	font-style: normal;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.125rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; }


.entry-title {
	word-break: break-all;
}
@media (max-width: 767px) {
	h1 {
		font-size: 1.5rem;
	}
}
.site {
	max-width: 1100px;
	margin: 0 auto;
}

main {
	max-width: 1100px;
	margin: 0 auto;
}

.site-main {
	padding: 0 10px;
}

.site-header {
	/* margin-bottom: 2rem; */
	/* padding-bottom: 2rem; */
	border-bottom: 1px solid var(--gray);
	display: flex;
	justify-content: space-between;
	align-items: center;
	min-height: 70px;
	overflow: visible;
}
.site-header-inner {
	max-width: 1100px;
	width: 100%;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	overflow: visible;
	padding: 0 10px;
}
.site-title {
	font-size: 1rem;
	font-weight: 400;
}

.site-footer {
	margin-top: 4rem;
	margin-bottom: 2rem;
	border-top: 1px solid var(--gray);
	padding: 0 10px;
}
.site-footer-inner {
	max-width: 1100px;
	width: 100%;
	margin: 0 auto;
	padding: 100px 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
}
@media (max-width: 767px) {
	.site-footer-inner {
		flex-direction: column;
	}
}

.site-footer-nav .menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.site-footer-nav a {
	text-decoration: none;
	color: var(--nav-text);
	border-bottom: 2px solid transparent;
	transition: color 0.2s ease, border-color 0.2s ease;
}

.site-footer-nav a:hover {
	text-decoration: none;
	color: var(--nav-text-hover);
	border-bottom-color: rgba(31, 78, 140, 0.35);
}

.site-footer-nav .current-menu-item > a,
.site-footer-nav .current_page_item > a {
	font-weight: 600;
	border-bottom-color: var(--nav-active);
}

.post-excerpt {
	margin-bottom: 1.5rem;
}

/* Whole-article card link: no nested anchors, entire block is clickable. */
.post-card-link {
	display: block;
	text-decoration: none;
	color: inherit;
}
.post-card-link:hover {
	text-decoration: none;
}
.post-card-link .post-title {
	color: var(--black);
}
.post-card-link:hover .post-title {
	color: var(--nav-text-hover);
}

.post-card-thumbnail {
	display: block;
	margin: -1rem -1rem 1rem -1rem;
	overflow: hidden;
	line-height: 0;
}
.post-card-thumbnail img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
	/* aspect-ratio: 16 / 10;  */
	aspect-ratio: 2 / 1; 
}

button, .form-submit input[type="submit"] {
	background: var(--nav-cta-bg);
	color: var(--nav-cta-text);
	padding: 0.5rem 1rem;
	border-radius: 0.25rem;
	text-decoration: none;
	font-size: 0.95rem;
	font-weight: 500;
	transition: background-color 0.3s ease;
	border: none;
}

button:hover,
.form-submit input[type="submit"]:hover {
	background: var(--nav-cta-hover-bg);
}

/*
* ===============================
* Navigation
* ===============================
*/
.cohere-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.site-nav-shell {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	position: relative;
}

.site-nav-toggle {
	display: none;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	margin: 0;
	border: none;
	background: transparent;
	cursor: pointer;
	color: var(--nav-text);
	border-radius: 0.2rem;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.site-nav-toggle:hover {
	background: var(--gray-light-2);
	color: var(--nav-text-hover);
}

.site-nav-toggle:focus {
	outline: 2px solid var(--nav-text-hover);
	outline-offset: 2px;
}

.site-nav-toggle-bars {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 1.35rem;
}

.site-nav-toggle-bars span {
	display: block;
	height: 2px;
	width: 100%;
	background: currentColor;
	border-radius: 1px;
	transition:
		transform 0.25s ease,
		opacity 0.2s ease;
	transform-origin: center;
}

.site-nav-shell.is-open .site-nav-toggle-bars span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.site-nav-shell.is-open .site-nav-toggle-bars span:nth-child(2) {
	opacity: 0;
}

.site-nav-shell.is-open .site-nav-toggle-bars span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

.site-nav-backdrop {
	display: none;
}

.site-nav {
	display: flex;
	gap: 1rem;
	font-size: 0.95rem;
	align-items: center;
	position: relative;
	z-index: 300;
	overflow: visible;
}

.site-nav-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	align-items: center;
	list-style: none;
	margin: 0;
	padding: 0;
	position: relative;
}

.site-nav-menu > li {
	position: relative;
}

.site-logo img {
	width: 100px;
	height: auto;
	display: block;
	object-fit: cover;
}
.site-nav-menu > li > a {
	text-decoration: none;
	color: var(--nav-text);
	padding: 0.35rem 0;
	border-bottom: 2px solid transparent;
	transition: color 0.2s ease, border-color 0.2s ease;
}

.site-nav-menu > li > a:hover {
	text-decoration: none;
	color: var(--nav-text-hover);
	border-bottom-color: rgba(31, 78, 140, 0.35);
}

.site-nav-menu > li.current-menu-item > a,
.site-nav-menu > li.current_page_item > a,
.site-nav-menu > li.current-menu-ancestor > a {
	font-weight: 600;
	color: var(--nav-text);
	border-bottom-color: var(--nav-active);
}

.site-nav-menu > li.current-menu-item > a:hover,
.site-nav-menu > li.current_page_item > a:hover,
.site-nav-menu > li.current-menu-ancestor > a:hover {
	color: var(--nav-text-hover);
	border-bottom-color: var(--nav-active-soft);
}

/* Tähtis nupp päises — menüüelemendile klass nav-cta */
.site-nav-menu > li.nav-cta > a {
	background: var(--nav-cta-bg);
	color: var(--nav-cta-text);
	padding: 0.45rem 0.9rem;
	border-radius: 0.2rem;
	border-bottom: none;
	font-weight: 500;
}

.site-nav-menu > li.nav-cta > a:hover {
	background: var(--nav-cta-hover-bg);
	color: var(--nav-cta-text);
	border-bottom: none;
}

.site-nav-menu > li.nav-cta.current-menu-item > a,
.site-nav-menu > li.nav-cta.current_page_item > a {
	box-shadow: inset 0 -2px 0 var(--nav-active);
}

/* Rippmenüü (alammenüü) */
.site-nav-menu .sub-menu {
	list-style: none;
	margin: 0;
	padding: 0.35rem 0;
	position: absolute;
	left: 0;
	top: calc(100% + 0.3rem);
	min-width: 12.5rem;
	max-width: min(100vw - 2rem, 22rem);
	background: var(--white);
	border: 1px solid var(--gray-light-2);
	box-shadow: 0 10px 28px rgba(47, 63, 91, 0.14);
	border-radius: 0.2rem;
	z-index: 400;
	opacity: 0;
	visibility: hidden;
	transform: translateY(0.35rem);
	transition:
		opacity 0.2s ease,
		visibility 0.2s ease,
		transform 0.2s ease;
	pointer-events: none;
}

.site-nav-menu > li.menu-item-has-children:hover > .sub-menu,
.site-nav-menu > li.menu-item-has-children:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}

/* Viimane tipptase — vältimaks horisontaalset üle ääre minemist */
.site-nav-menu > li.menu-item-has-children:last-child > .sub-menu {
	left: auto;
	right: 0;
}

.site-nav-menu .sub-menu li {
	margin: 0;
}

.site-nav-menu .sub-menu a {
	display: block;
	padding: 0.5rem 1rem;
	color: var(--nav-text);
	font-weight: 400;
	text-decoration: none;
	border-bottom: none;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.site-nav-menu .sub-menu a:hover,
.site-nav-menu .sub-menu a:focus {
	background: var(--gray-light-2);
	color: var(--nav-text-hover);
	outline: none;
}

.site-nav-menu .sub-menu .current-menu-item > a,
.site-nav-menu .sub-menu .current_page_item > a {
	font-weight: 600;
	box-shadow: inset 3px 0 0 var(--nav-active);
}

/* Väike nooleke alammenüüga punktidel */
.site-nav-menu .menu-item-has-children > a {
	padding-right: 0.15rem;
}

.site-nav-menu .menu-item-has-children > a::after {
	content: "";
	display: inline-block;
	margin-left: 0.4rem;
	width: 0.35em;
	height: 0.35em;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg) translateY(-0.2em);
	vertical-align: middle;
	opacity: 0.65;
}

.site-nav-menu li.nav-cta.menu-item-has-children > a::after {
	border-color: var(--nav-cta-text);
}

@media (max-width: 767px) {
	body.site-nav-open {
		overflow: hidden;
	}

	.site-nav-toggle {
		display: inline-flex;
		position: relative;
		z-index: 502;
	}

	.site-nav-backdrop {
		display: block;
		position: fixed;
		inset: 0;
		background: rgba(47, 63, 91, 0.4);
		z-index: 499;
		opacity: 0;
		visibility: hidden;
		transition:
			opacity 0.25s ease,
			visibility 0.25s ease;
		pointer-events: none;
	}

	.site-nav-shell.is-open .site-nav-backdrop {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
	}

	.site-nav {
		position: fixed;
		top: 0;
		right: 0;
		height: 100vh;
		height: 100dvh;
		width: min(100vw - 2.5rem, 20rem);
		max-width: 100%;
		margin: 0;
		padding: 4.25rem 1.25rem 1.5rem;
		flex-direction: column;
		align-items: stretch;
		align-self: flex-start;
		gap: 0;
		background: var(--white);
		box-shadow: -6px 0 32px rgba(47, 63, 91, 0.18);
		overflow-y: auto;
		overflow-x: hidden;
		-webkit-overflow-scrolling: touch;
		transform: translateX(100%);
		visibility: hidden;
		transition:
			transform 0.28s ease,
			visibility 0.28s ease;
		pointer-events: none;
		z-index: 500;
	}

	.site-nav-shell.is-open .site-nav {
		transform: translateX(0);
		visibility: visible;
		pointer-events: auto;
	}

	.site-nav-menu {
		flex-direction: column;
		align-items: stretch;
		flex-wrap: nowrap;
		gap: 1rem;
	}

	.site-nav-menu > li > a {
		padding: 0.55rem 0;
	}

	.site-nav-menu .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		pointer-events: auto;
		min-width: 0;
		max-width: none;
		/* margin: 0.15rem 0 0.4rem 0;
		padding: 0.1rem 0 0.25rem; */
		padding: 0;
		box-shadow: none;
		border: none;
		border-left: 2px solid var(--gray-light);
		border-radius: 0;
		background: transparent;
	}

	.site-nav-menu > li.menu-item-has-children:last-child > .sub-menu {
		left: auto;
		right: auto;
	}

	.site-nav-menu .menu-item-has-children > a::after {
		display: none;
	}

	.menu-item-has-children {
		display: flex;
		flex-direction: column;
		gap: 0rem;
	}
}

.pagination {
	margin-top: 2rem;
}

#gt_float_wrapper {
	display: flex;
}

.gt_float_switcher .gt-selected .gt-current-lang {
	padding: 0 !important;
	font-size: 0.875rem !important;
}

.gt_float_switcher {
	box-shadow: none !important;
}
/*
* ===============================
* Single post
* ===============================
*/
.single-post article,
.single-teemaarendus article {
	max-width: 720px;
}
.single-post aside,
.single-teemaarendus aside {
	min-width: 200px;
}


.single-post .content-and-sidebar,
.single-teemaarendus .content-and-sidebar {
	display: flex;
	gap: 2rem;
}

.single-post .sidebar,
.single-teemaarendus .sidebar {
	position: sticky;
	top: 2rem; /* distance from top of viewport; adjust as needed */
	align-self: flex-start;
	max-height: calc(100vh - 4rem); /* prevent it from extending below viewport */
	overflow-y: auto; /* scroll inside if content is taller than viewport */
	/* margin-top: 2rem; */
}
@media (max-width: 767px) {
	.single-post .sidebar,
	.single-teemaarendus .sidebar {
		display: none;
	}
}

.single-post .sidebar-toc,
.single-teemaarendus .sidebar-toc {
	list-style: none;
	margin: 0;
	margin-top: 2rem;
	padding: 0;
}

.single-post .sidebar-toc li,
.single-teemaarendus .sidebar-toc li {
	margin-bottom: 0.5rem;
}

.single-post .sidebar-toc a,
.single-teemaarendus .sidebar-toc a {
	text-decoration: none;
}

.single-post .sidebar-toc a:hover,
.single-teemaarendus .sidebar-toc a:hover {
	text-decoration: underline;
}

.single-post .sidebar-toc a.is-active,
.single-teemaarendus .sidebar-toc a.is-active {
	font-weight: 600;
	color: var(--black);
	position: relative;
}

.single-post .sidebar-toc a.is-active::before,
.single-teemaarendus .sidebar-toc a.is-active::before {
	content: '';
	position: absolute;
	left: -0.75rem;
	top: 50%;
	transform: translateY(-50%);
	width: 0.35rem;
	height: 0.35rem;
	border-radius: 999px;
	background: var(--black);
}

/* Single post featured image hero – same width as article column, max height 400px. */
.single-post-hero {
	width: 100%;
	max-height: 400px;
	overflow: hidden;
	margin-bottom: 2rem;
	line-height: 0;
}
.single-post-hero img {
	width: 100%;
	height: auto;
	max-height: 400px;
	object-fit: cover;
	display: block;
}

/*
* Mobile sticky bar (single post) – shows on scroll, title + kebab TOC.
*/
.single-mobile-sticky {
	display: none;
}

@media (max-width: 767px) {
	.single-mobile-sticky {
		display: block;
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		z-index: 1000;
		background: var(--white);
		border-bottom: 1px solid var(--gray);
		box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
		transform: translateY(-100%);
		transition: transform 0.2s ease-out;
	}
	.single-mobile-sticky.is-visible {
		transform: translateY(0);
	}
	.single-mobile-sticky-inner {
		position: relative;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 0.75rem;
		padding: 0.6rem 1rem;
		min-height: 48px;
	}
	.single-mobile-sticky-title {
		flex: 1;
		min-width: 0;
		font-size: 0.95rem;
		font-weight: 500;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}
	.single-mobile-sticky-kebab {
		flex-shrink: 0;
		width: 44px;
		height: 44px;
		display: flex;
		align-items: center;
		justify-content: center;
		border: none;
		background: transparent;
		cursor: pointer;
		border-radius: 0.25rem;
		color: var(--black);
	}
	.single-mobile-sticky-kebab:hover,
	.single-mobile-sticky-kebab:focus {
		background: var(--gray-light);
	}
	.single-mobile-sticky-kebab-dots {
		font-size: 1.25rem;
		line-height: 1;
	}
	.single-mobile-sticky-dropdown {
		position: absolute;
		top: 100%;
		right: 0;
		left: 0;
		max-height: 70vh;
		overflow-y: auto;
		background: var(--white);
		border-bottom: 1px solid var(--gray);
		box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
		padding: 0.75rem 1rem;
	}
	.single-mobile-sticky-dropdown-title {
		margin: 0 0 0.5rem;
		font-size: 0.75rem;
		text-transform: uppercase;
		letter-spacing: 0.05em;
		color: var(--gray);
	}
	.single-mobile-sticky-toc {
		list-style: none;
		margin: 0;
		padding: 0;
	}
	.single-mobile-sticky-toc li {
		margin-bottom: 0.25rem;
	}
	.single-mobile-sticky-toc a {
		display: block;
		padding: 0.4rem 0;
		text-decoration: none;
		color: var(--nav-text);
		font-size: 0.95rem;
	}
	.single-mobile-sticky-toc a:hover {
		text-decoration: underline;
	}
}

.single-scroll-progress {
	height: 5px;
	background: rgba(0, 0, 0, 0.1);
	overflow: hidden;
}

.single-scroll-progress-bar {
	display: block;
	width: 100%;
	height: 100%;
	background: var(--nav-text);
	transform: scaleX(0);
	transform-origin: left center;
	will-change: transform;
}

.single-scroll-progress--desktop {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1001;
}

@media (max-width: 767px) {
	.single-scroll-progress--desktop {
		display: none;
	}
}

@media (min-width: 768px) {
	.single-scroll-progress--mobile {
		display: none;
	}
}

.post-meta {
	font-size: 0.875rem;
	color: #666;
	margin-bottom: 1.5rem;
}

.content-section {
	margin-bottom: 2rem;
}

.content-section-title {
	font-size: 1.25rem;
	margin-bottom: 0.5rem;
}

/*
* ===============================
* Home
* ===============================
*/

.home-hero img {
	width: 100%;
	height: 100%;
	object-fit: cover;
    border: 1px solid var(--gray);
    border-top: 0;
}

.home-latest-posts {
	width: 66%;
}

.home-latest-posts-inner {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1rem;
	margin-bottom: 2rem;
	align-items: stretch;
}
@media (max-width: 767px) {
	.home-latest-posts-inner {
		grid-template-columns: repeat(1, 1fr);
	}
}

.home-latest-posts-inner article {
	display: flex;
	flex-direction: column;
}

.home-latest-posts-inner article .post-card-link {
	flex: 1;
	display: flex;
	flex-direction: column;
	border: 1px solid var(--gray-light);
	padding: 1rem;
}

.home-content-layout {
	display: flex;
	/* grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr); */
	gap: 2rem;
	align-items: start;
}
.home-content-layout-inner {
	width: 33%;
}
@media (max-width: 767px) {
	.home-content-layout {
		flex-direction: column;
	}

	.home-content-layout-inner {
		width: 100%;
	}

	.home-latest-posts {
		width: 100%;
	}
}

.home-left-menu ul {
	list-style-type: none;
	padding-left: 0;
}

.home-left-menu-list {
	list-style: none;
	margin: 0;
	padding: 0;
	/* margin-top: 4rem; */
}

.home-left-menu-list li {
	margin-bottom: 0.5rem;
}

.home-left-menu-list > li > a {
	display: block;
	width: 100%;
	box-sizing: border-box;
	text-align: left;
	text-decoration: none;
	background: transparent;
	color: var(--nav-text);
	padding: 0.45rem 0;
	border-radius: 0;
	font-size: 0.95rem;
	font-weight: 500;
	transition: color 0.2s ease, border-color 0.2s ease;
	border: none;
	border-bottom: 2px solid transparent;
}

.home-left-menu-list > li > a:hover {
	text-decoration: none;
	color: var(--nav-text-hover);
	border-bottom-color: rgba(31, 78, 140, 0.35);
}

.home-left-menu-list > li.current-menu-item > a,
.home-left-menu-list > li.current_page_item > a {
	color: var(--nav-text);
	font-weight: 600;
	border-bottom-color: var(--nav-active);
}

.home-left-menu-list > li.current-menu-item > a:hover,
.home-left-menu-list > li.current_page_item > a:hover {
	color: var(--nav-text-hover);
	border-bottom-color: var(--nav-active-soft);
}

/* Põhiteemade menüüs: eraldi nupp — Lisa menüüelemendile CSS klass: nav-cta */
.home-left-menu-list > li.nav-cta > a {
	background: var(--nav-cta-bg);
	color: var(--nav-cta-text);
	padding: 0.5rem 1rem;
	border-radius: 0.2rem;
	border-bottom: none;
	font-weight: 500;
}

.home-left-menu-list > li.nav-cta > a:hover {
	background: var(--nav-cta-hover-bg);
	color: var(--nav-cta-text);
	border-bottom: none;
}

.home-left-menu-list > li.nav-cta.current-menu-item > a,
.home-left-menu-list > li.nav-cta.current_page_item > a {
	box-shadow: inset 0 -2px 0 var(--nav-active);
}

/* @media (max-width: 900px) {
	.home-content-layout {
		grid-template-columns: 1fr;
	}

	.home-left-menu {
		position: static;
	}
} */

/*
* ===============================
* Comments
* ===============================
*/
.section-comments {
	margin-top: 1.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid #ddd;
}

.section-comments-buttons {
	gap: 0.5rem;
	display: flex;
}

.section-comments button {
	background: none;
	padding: 0;
	color: var(--nav-text);
	border-bottom: 1px solid var(--nav-text-hover);
	border-radius: 0;
	height: min-content;
	font-weight: 500;
}

.section-comments-title {
	font-size: 1rem;
	margin: 0 0 0.75rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.section-comments-count {
	font-size: 0.875rem;
	color: var(--gray-light);
}

.section-comments-list {
	list-style: none;
	margin: 0 0 1rem;
	padding: 0;
}

.section-comment {
	margin-bottom: 0.75rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px dashed var(--gray-light);
}

.section-comment--reply {
	margin-left: 1.5rem;
	padding-left: 0.75rem;
	border-left: 2px solid var(--gray-light);
	opacity: 0.95;
}

.section-comment-meta {
	font-size: 0.8rem;
	color: #666;
	margin-bottom: 0.25rem;
	display: flex;
	gap: 0.5rem;
}

.section-comment-author {
	font-weight: 600;
}

.section-comment-content {
	font-size: 0.9rem;
}

.post-comments-summary {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid #000;
}

.post-comments-overall,
.post-comments-by-section {
	margin-top: 1.5rem;
}

.post-comments-list {
	list-style: none;
	margin: 0 0 1rem;
	padding: 0;
}

.post-comment {
	margin-bottom: 0.75rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid var(--gray-light);
}

.post-comment--reply {
	margin-left: 1.5rem;
	padding-left: 0.75rem;
	border-left: 2px solid #ddd;
	opacity: 0.95;
}

.post-comment-meta {
	font-size: 0.8rem;
	color: #666;
	margin-bottom: 0.25rem;
	display: flex;
	gap: 0.5rem;
}

.post-comment-author {
	font-weight: 600;
}

.post-comment-content {
	font-size: 0.9rem;
}

.comment-form-message {
	margin-top: 0.5rem;
	font-size: 0.875rem;
	color: var(--gray);
}

.comment-form-comment {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.post-comments-overall-inner {
	background: var(--gray-light-2);
	padding: 1rem;
	border-radius: 0.5rem;
}

/*
* ===============================
* Archive
* ===============================
*/
.archive-posts {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
	margin-bottom: 2rem;
	align-items: stretch;
}
@media (max-width: 767px) {
	.archive-posts {
		grid-template-columns: repeat(1, 1fr);
	}
}

.archive-posts article {
	display: flex;
	flex-direction: column;
}

.archive-posts article .post-card-link {
	flex: 1;
	display: flex;
	flex-direction: column;
	border: 1px solid var(--gray-light);
	padding: 1rem;
}

.category-teemaarendus-button {
	display: inline-block;
	margin-top: 0.75rem;
}


.post-comments-overall {
	border-left: 2px solid var(--purple);
	padding-left: 1rem;
}

.post-comments-by-section {
	border-left: 2px solid var(--green);
	padding-left: 1rem;
}

.post-comments-by-section .comment-reply-button {
	display: inline-block;
}

.section-inline-reply-host {
	margin-top: 0.75rem;
}

.section-inline-reply-host form.comment-form.is-reply-mode {
	margin-top: 0.5rem;
	padding-top: 0.75rem;
	border-top: 1px solid var(--gray-light);
}

.comment-reply-title .js-cohere-cancel-reply,
.post-comment-reply-title .js-cohere-cancel-reply {
	margin-left: 0.75rem;
	background: transparent;
	color: var(--gray-dark);
	border: 0;
	padding: 0;
	font-size: 0.875rem;
	text-decoration: underline;
	cursor: pointer;
}