/*
 * Magazin MA Diskuse - styly pro stranky clanku.
 *
 * Plugin styluje jen vlastni prvky (tlacitka, stitky, formulare akci,
 * hlasky). Bezny vzhled komentaru, avataru a vnoreni ridi CSS webu.
 */

/* ------------------------------------------------------------------
 * Tlacitko "Diskuse (N)" nad komentari
 * ---------------------------------------------------------------- */

.ma-comments-toggle-wrap {
	margin: 28px 0 8px 14px;
}

.ma-comments-toggle {
	display: inline-flex;
	align-items: center;
	padding: 10px 16px;
	background: linear-gradient(to bottom, #ffffff 0%, #fcfcf8 100%);
	border: 1px solid #e7e8df;
	border-radius: 999px;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
	color: #1f2b1d;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease, color .2s ease, transform .2s ease;
}

.ma-comments-toggle:hover {
	background: linear-gradient(to bottom, #fffefb 0%, #f7f3e8 100%);
	border-color: #ddd2b3;
	color: #111111;
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
	transform: translateY(-1px);
}

.ma-comments-toggle:focus {
	outline: none;
}

.ma-comments-toggle:focus-visible {
	border-color: #b99644;
	box-shadow: 0 0 0 4px rgba(185, 150, 68, 0.18);
}

.ma-comments-toggle-label {
	display: inline-block;
}

.ma-comments-toggle-new {
	display: inline-flex;
	align-items: center;
	margin-left: 8px;
	padding: 2px 8px;
	border-radius: 999px;
	background: #2A5F19;
	color: #ffffff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.3;
}

.ma-comments-toggle-icon {
	display: inline-block;
	margin-left: 10px;
	font-size: 12px;
	color: #8a6a22;
	transition: transform .2s ease;
}

.ma-comments-toggle.is-open .ma-comments-toggle-icon {
	transform: rotate(180deg);
}

.ma-comments-hidden {
	display: none !important;
}

/* Kotvy #comments, #respond a #comment-N nesmi skoncit pod lepici hlavickou webu. */
.comments-area,
#comments,
#respond,
.comments-area .comment {
	scroll-margin-top: 120px;
}

.admin-bar .comments-area,
.admin-bar #comments,
.admin-bar #respond,
.admin-bar .comments-area .comment {
	scroll-margin-top: 152px;
}

/* ------------------------------------------------------------------
 * Prepsana tlacitka "Komentáře" v sablone (ma-discussion-button)
 * ---------------------------------------------------------------- */

.ma-discussion-replaced {
	display: inline-flex !important;
	flex-direction: column !important;
	align-items: flex-start !important;
	justify-content: center !important;
	text-align: left !important;
	text-decoration: none !important;
	padding: 12px 16px !important;
	border: 1px solid rgba(160, 134, 72, 0.24) !important;
	border-left: 4px solid #25641f !important;
	border-radius: 999px !important;
	background: linear-gradient(180deg, #fcfcf8 0%, #f7f7f1 100%) !important;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
	line-height: 1.25 !important;
	position: relative !important;
	overflow: hidden !important;
	max-width: 100% !important;
	transition: all .2s ease !important;
}

.ma-discussion-replaced:hover {
	background: linear-gradient(180deg, #ffffff 0%, #f8f7ef 100%) !important;
	border-color: rgba(160, 134, 72, 0.34) !important;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08) !important;
	text-decoration: none !important;
	transform: translateY(-1px) !important;
}

.ma-discussion-main {
	display: block !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	color: #214f1a !important;
	margin: 0 !important;
	padding: 0 !important;
}

.ma-discussion-sub {
	display: block !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	color: #7a6a45 !important;
	margin: 4px 0 0 0 !important;
	padding: 0 !important;
	white-space: normal !important;
}

.ma-discussion-replaced svg,
.ma-discussion-replaced .dropdown-menu-toggle,
.ma-discussion-replaced .gp-icon,
.ma-discussion-replaced .icon-arrow,
.ma-discussion-replaced .menu-arrow,
.ma-discussion-replaced .caret,
.ma-discussion-replaced .dashicons {
	display: none !important;
}

/* ------------------------------------------------------------------
 * Tlacitko "Vstoupit do diskuse" pod clankem
 * ---------------------------------------------------------------- */

.ma-discuss-after-content {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 1rem;
	margin: 1.25rem 0 1.4rem;
	padding-top: 1.1rem;
	border-top: 1px solid rgba(42, 95, 25, 0.16);
}

.ma-discuss-after-content__button {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	max-width: 100%;
	padding: 0.72rem 1.08rem;
	border: 1px solid rgba(42, 95, 25, 0.28);
	border-left: 4px solid #2A5F19;
	border-radius: 999px;
	background: linear-gradient(180deg, #ffffff 0%, #f7fbf4 100%);
	color: #173F0D;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	box-shadow: 0 6px 16px rgba(23, 63, 13, 0.07);
	transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.ma-discuss-after-content__button::before {
	content: "";
	display: inline-block;
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	background-color: #2A5F19;
	background-image: none;
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 5.5A3.5 3.5 0 0 1 7.5 2h9A3.5 3.5 0 0 1 20 5.5v6A3.5 3.5 0 0 1 16.5 15H10l-4.2 4.2A1 1 0 0 1 4 18.5v-13Zm3.5-1.5A1.5 1.5 0 0 0 6 5.5v10.6l3.1-3.1h7.4A1.5 1.5 0 0 0 18 11.5v-6A1.5 1.5 0 0 0 16.5 4h-9Z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 5.5A3.5 3.5 0 0 1 7.5 2h9A3.5 3.5 0 0 1 20 5.5v6A3.5 3.5 0 0 1 16.5 15H10l-4.2 4.2A1 1 0 0 1 4 18.5v-13Zm3.5-1.5A1.5 1.5 0 0 0 6 5.5v10.6l3.1-3.1h7.4A1.5 1.5 0 0 0 18 11.5v-6A1.5 1.5 0 0 0 16.5 4h-9Z'/%3E%3C/svg%3E");
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
}

.ma-discuss-after-content__button:hover,
.ma-discuss-after-content__button:focus-visible {
	background: #2A5F19;
	color: #ffffff;
	border-color: #2A5F19;
	text-decoration: none;
	transform: translateY(-1px);
	box-shadow: 0 9px 20px rgba(23, 63, 13, 0.15);
}

.ma-discuss-after-content__button:hover::before,
.ma-discuss-after-content__button:focus-visible::before {
	background-color: #ffffff;
}

.ma-discuss-after-content__button:focus {
	outline: none;
}

.ma-discuss-after-content__button:focus-visible {
	outline: 3px solid #FCEE1C;
	outline-offset: 3px;
}

.ma-discuss-after-content__count {
	font-weight: 600;
	opacity: 0.82;
}

.ma-discuss-after-content__deadline {
	color: #7b5a16;
	font-size: 0.88rem;
	font-weight: 600;
	line-height: 1.35;
}

/* Uzavrena diskuse: tlumenejsi vzhled, at nepusobi jako vyzva k psani. */
.ma-discuss-after-content--closed .ma-discuss-after-content__button {
	border-left-color: #b99644;
	background: linear-gradient(180deg, #ffffff 0%, #faf8f1 100%);
	color: #4b3b19;
}

.ma-discuss-after-content--closed .ma-discuss-after-content__button::before {
	background-color: #8a6a22;
}

.ma-discuss-after-content--closed .ma-discuss-after-content__button:hover,
.ma-discuss-after-content--closed .ma-discuss-after-content__button:focus-visible {
	background: #7b5a16;
	border-color: #7b5a16;
	color: #ffffff;
}

.ma-discuss-after-content--closed .ma-discuss-after-content__button:hover::before,
.ma-discuss-after-content--closed .ma-discuss-after-content__button:focus-visible::before {
	background-color: #ffffff;
}

/* ------------------------------------------------------------------
 * Odpocet a informace o uzavreni
 * ---------------------------------------------------------------- */

.ma-discussion-deadline {
	margin: 0 0 12px;
	padding: 8px 12px;
	border-left: 3px solid #b99644;
	background: #faf8f1;
	color: #4b3b19;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
}

.ma-discussion-deadline[hidden],
.ma-discuss-after-content__deadline[hidden],
.ma-discussion-deadline-inline[hidden] {
	display: none !important;
}

.ma-comments-closed-limit-note {
	display: inline-block;
	margin-left: 0.35em;
	color: #746b58;
	font-size: 0.86em;
	font-weight: 400;
	line-height: 1.45;
}

/* ------------------------------------------------------------------
 * Stitky u jmena autora
 * ---------------------------------------------------------------- */

.ma-discussion-moderator-badge,
.ma-discussion-author-badge {
	display: inline-flex;
	align-items: center;
	margin-left: 0.45em;
	padding: 0.12em 0.45em;
	border: 1px solid #b99644;
	border-radius: 4px;
	background: #faf7ef;
	color: #214f1a;
	font-size: 0.78em;
	font-weight: 700;
	line-height: 1.35;
	vertical-align: baseline;
	white-space: nowrap;
}

.ma-discussion-author-badge {
	border-color: #2A5F19;
	background: #2A5F19;
	color: #ffffff;
}

.ma-comment-new-badge {
	display: inline-flex;
	align-items: center;
	margin-left: 0.45em;
	padding: 0.1em 0.45em;
	border-radius: 4px;
	background: #FCEE1C;
	color: #1f2b1d;
	font-size: 0.72em;
	font-weight: 800;
	line-height: 1.35;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	vertical-align: baseline;
}

.comments-area .ma-comment-is-new > .comment-body {
	box-shadow: inset 3px 0 0 #FCEE1C;
}

/* ------------------------------------------------------------------
 * Odstraneny komentar
 * ---------------------------------------------------------------- */

.comments-area .ma-comment-removed-placeholder > .comment-body {
	opacity: 0.86;
	box-shadow: none !important;
}

/* Jen u samotneho odstraneneho komentare, ne u odpovedi pod nim (">" je dulezite). */
.comments-area .ma-comment-removed-placeholder > .comment-body .comment-meta,
.comments-area .ma-comment-removed-placeholder > .comment-body .comment-author,
.comments-area .ma-comment-removed-placeholder > .comment-body .comment-metadata,
.comments-area .ma-comment-removed-placeholder > .comment-body .reply,
.comments-area .ma-comment-removed-placeholder > .comment-body .edit-link,
.comments-area .ma-comment-removed-placeholder > .comment-body .avatar,
.comments-area .ma-comment-removed-placeholder > .comment-body .ma-comment-moderation-actions,
.comments-area .ma-comment-removed-placeholder > .comment-body .ma-comment-share-inline-slot,
.comments-area .ma-comment-removed-placeholder > .comment-body .cld-like-dislike-wrap {
	display: none !important;
}

.comments-area li.ma-comment-removed-placeholder > .comment-body {
	padding-top: 4px !important;
	padding-bottom: 4px !important;
	border-left-color: #d8d3c2 !important;
	background: transparent !important;
}

.comments-area li.ma-comment-removed-placeholder > .comment-body::after {
	content: none !important;
	display: none !important;
}

.ma-comment-removed-note {
	display: inline-block;
	margin: 2px 0;
	padding: 2px 7px;
	border-left: 2px solid #d8d3c2;
	background: transparent;
	color: #70695b;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.3;
}

.ma-comment-edited-note {
	margin: 2px 0 0 !important;
	color: #8a8170;
	font-size: 11px;
	font-style: italic;
	line-height: 1.3;
}

/* ------------------------------------------------------------------
 * Akce pod komentarem: Upravit, Smazat, Nahlásit, Moderovat
 * ---------------------------------------------------------------- */

/* Akce stoji v jednom radku se "Sdílet" a "Odpovědět". */
.ma-comment-moderation-actions {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 12px;
	margin: 6px 12px 0 0;
	vertical-align: middle;
	font-size: 12px;
	line-height: 1.35;
}

.ma-comment-moderation-actions:has(.ma-comment-action[open]) {
	display: flex;
	align-items: flex-start;
}

.ma-comment-author-actions {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 4px 12px;
}

.ma-comment-action {
	display: inline-block;
	margin: 0;
}

.ma-comment-action[open] {
	flex-basis: 100%;
}

.comments-area .ma-comment-action__toggle,
.comments-area .ma-comment-report-spam-link,
.comments-area .ma-comment-block-spammer-link {
	display: inline;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	color: #7b5a16;
	font: inherit;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.35;
	text-decoration: none;
	cursor: pointer;
	list-style: none;
}

.comments-area .ma-comment-action__toggle::-webkit-details-marker {
	display: none;
}

.comments-area .ma-comment-action__toggle::marker {
	content: "";
}

.comments-area .ma-comment-action__toggle--danger,
.comments-area .ma-comment-block-spammer-link {
	color: #b32d2e;
}

.comments-area .ma-comment-edit > .ma-comment-action__toggle {
	color: #214f1a;
}

.comments-area .ma-comment-action__toggle:hover,
.comments-area .ma-comment-action__toggle:focus-visible,
.comments-area .ma-comment-report-spam-link:hover,
.comments-area .ma-comment-report-spam-link:focus-visible,
.comments-area .ma-comment-block-spammer-link:hover,
.comments-area .ma-comment-block-spammer-link:focus-visible {
	background: transparent;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.ma-comment-action__done {
	color: #8a8170;
	font-size: 12px;
	font-weight: 600;
}

/* Panel s formularem (nahlaseni, uprava) */
.comments-area .ma-comment-action__panel {
	display: grid;
	gap: 8px;
	max-width: 520px;
	margin: 8px 0 4px;
	padding: 12px 14px;
	border: 1px solid #e3dcc8;
	border-left: 3px solid #b99644;
	border-radius: 8px;
	background: #fffdfa;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
	font-size: 13px;
	line-height: 1.4;
}

.comments-area .ma-comment-action__panel > * {
	margin-top: 0;
	margin-bottom: 0;
}

.comments-area .ma-comment-action__fieldset {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.comments-area .ma-comment-action__fieldset legend {
	margin: 0 0 4px;
	padding: 0;
	color: #1f2b1d;
	font-size: 13px;
	font-weight: 700;
}

.comments-area .ma-comment-action__panel label.ma-comment-action__choice {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 2px 0;
	color: #2c392b;
	font-size: 13px;
	font-weight: 500;
}

.comments-area .ma-comment-action__panel label.ma-comment-action__label {
	display: grid;
	gap: 4px;
	margin: 0;
	color: #2c392b;
	font-size: 13px;
	font-weight: 600;
}

.comments-area .ma-comment-action__panel textarea.ma-comment-action__textarea {
	box-sizing: border-box;
	width: 100%;
	min-height: 60px;
	padding: 8px 10px;
	font-family: inherit;
	border: 1px solid #ddd8c6;
	border-radius: 6px;
	background: #ffffff;
	font-size: 14px;
	line-height: 1.45;
	resize: vertical;
}

.comments-area .ma-comment-action__panel textarea.ma-comment-action__textarea--edit {
	min-height: 120px;
}

.comments-area .ma-comment-action__panel button.ma-comment-action__submit,
.comments-area .comment-body .ma-comment-action__panel button.ma-comment-action__submit {
	display: inline-flex;
	align-items: center;
	padding: 7px 14px !important;
	border: 1px solid #234b16;
	border-radius: 999px;
	background: #2A5F19;
	color: #ffffff;
	font-size: 13px !important;
	font-weight: 700;
	line-height: 1.2 !important;
	cursor: pointer;
}

.comments-area .ma-comment-action__panel button.ma-comment-action__submit:hover,
.comments-area .ma-comment-action__panel button.ma-comment-action__submit:focus-visible {
	background: #173F0D;
}

.comments-area .ma-comment-action__hint {
	margin: 0 !important;
	color: #7a6a45;
	font-size: 12px;
}

/* Bublina pro neprihlasene (Nahlásit) */
.ma-comment-report-spam-wrap {
	position: relative;
	display: inline-flex;
	align-items: center;
}

.ma-comment-report-spam-bubble {
	position: absolute;
	left: 0;
	bottom: calc(100% + 8px);
	z-index: 30;
	width: min(260px, 78vw);
	padding: 8px 10px;
	border: 1px solid #ddd2b3;
	border-radius: 6px;
	background: #fffdfa;
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
	color: #4b3b19;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.35;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(4px);
	transition: opacity .16s ease, transform .16s ease, visibility .16s;
}

.ma-comment-report-spam-bubble::after {
	content: "";
	position: absolute;
	left: 14px;
	bottom: -6px;
	width: 10px;
	height: 10px;
	border-right: 1px solid #ddd2b3;
	border-bottom: 1px solid #ddd2b3;
	background: #fffdfa;
	transform: rotate(45deg);
}

.comments-area .ma-comment-report-spam-bubble a {
	color: #214f1a;
	font-size: 12px !important;
	font-weight: 800;
	text-decoration: underline;
}

.ma-comment-report-spam-wrap:hover .ma-comment-report-spam-bubble,
.ma-comment-report-spam-wrap:focus-within .ma-comment-report-spam-bubble,
.ma-comment-report-spam-wrap.is-visible .ma-comment-report-spam-bubble {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(0);
}

/* ------------------------------------------------------------------
 * Vyzva k prihlaseni misto formulare
 * ---------------------------------------------------------------- */

.comments-area .ma-comments-login-note {
	margin: 8px 0 16px;
	padding: 14px 16px;
	border: 1px solid #e3e8df;
	border-left: 4px solid #2A5F19;
	border-radius: 10px;
	background: #f7fbf4;
}

.comments-area .ma-comments-login-note p {
	margin: 0;
}

.comments-area .ma-comments-login-text {
	color: #2c392b;
	font-size: 15px;
	line-height: 1.5;
}

.comments-area .ma-comments-login-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 14px;
	margin-top: 10px !important;
}

.comments-area a.ma-comments-login-button {
	display: inline-flex;
	align-items: center;
	padding: 8px 16px;
	border: 1px solid #2A5F19;
	border-radius: 999px;
	background: #2A5F19;
	color: #ffffff;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
}

.comments-area a.ma-comments-login-button:hover,
.comments-area a.ma-comments-login-button:focus-visible {
	background: #173F0D;
	border-color: #173F0D;
	color: #ffffff;
}

.comments-area a.ma-comments-login-button--secondary {
	background: #ffffff;
	color: #2A5F19;
}

.comments-area a.ma-comments-login-button--secondary:hover,
.comments-area a.ma-comments-login-button--secondary:focus-visible {
	background: #f0f7ec;
	color: #173F0D;
}

.comments-area a.ma-comments-login-forgot {
	color: #6d7064;
	font-size: 13px;
	text-decoration: underline;
}

/* ------------------------------------------------------------------
 * Formular komentare: upozorneni na odpovedi
 * ---------------------------------------------------------------- */

.comment-form-ma-notify {
	margin: 0 0 12px;
}

.comments-area .comment-form-ma-notify label.ma-notify-label {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 0;
	font-weight: 600;
}

.comments-area .comment-form-ma-notify input[type="checkbox"] {
	margin-top: 3px;
}

.ma-notify-hint {
	display: block;
	margin: 2px 0 0 24px;
	color: #6d7064;
	font-size: 12px;
	line-height: 1.4;
}

/* ------------------------------------------------------------------
 * Razeni komentaru
 * ---------------------------------------------------------------- */

.ma-comments-sort {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin: 0 0 12px;
	font-size: 13px;
}

.ma-comments-sort__label {
	color: #6d7064;
	font-weight: 600;
}

.comments-area .ma-comments-sort__button {
	padding: 4px 10px !important;
	border: 1px solid #ddd8c6;
	border-radius: 999px;
	background: #ffffff;
	color: #214f1a;
	font-size: 12px !important;
	font-weight: 700;
	line-height: 1.3 !important;
	cursor: pointer;
}

.comments-area .ma-comments-sort__button[aria-pressed="true"] {
	border-color: #2A5F19;
	background: #2A5F19;
	color: #ffffff;
}

/* ------------------------------------------------------------------
 * Hlaska po akci (nahlaseno, upraveno...)
 * ---------------------------------------------------------------- */

.ma-comments-notice {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	margin: 12px 0;
	padding: 10px 14px;
	border-left: 4px solid #2A5F19;
	border-radius: 6px;
	background: #f4faf1;
	color: #1f2b1d;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
}

.ma-comments-notice--warning {
	border-left-color: #b99644;
	background: #faf8f1;
}

.ma-comments-notice__close {
	padding: 0 4px !important;
	border: 0;
	background: transparent;
	color: inherit;
	font-size: 18px !important;
	line-height: 1 !important;
	cursor: pointer;
}

/* ------------------------------------------------------------------
 * Mobil a omezeni animaci
 * ---------------------------------------------------------------- */

@media (max-width: 768px) {
	.ma-comments-toggle-wrap {
		margin-left: 0;
		margin-top: 24px;
	}

	.ma-comments-toggle {
		font-size: 13px;
		padding: 10px 14px;
	}

	.ma-discussion-replaced {
		padding: 10px 13px !important;
		border-radius: 14px !important;
	}

	.ma-discussion-main {
		font-size: 14px !important;
	}

	.ma-discussion-sub {
		font-size: 12px !important;
	}

	.ma-discuss-after-content {
		margin: 1.2rem 0 1.3rem;
	}

	.ma-discuss-after-content__button {
		width: 100%;
		justify-content: center;
		flex-wrap: wrap;
		row-gap: 0.2rem;
		padding: 0.78rem 1rem;
		font-size: 0.96rem;
		text-align: center;
	}

	.ma-discuss-after-content__button::before {
		width: 17px;
		height: 17px;
	}

	.ma-discuss-after-content__deadline {
		width: 100%;
		text-align: center;
	}

	.comments-area,
	#comments,
	#respond,
	.comments-area .comment,
	.admin-bar .comments-area,
	.admin-bar #comments,
	.admin-bar #respond,
	.admin-bar .comments-area .comment {
		scroll-margin-top: 80px;
	}
}

@media (max-width: 640px) {
	.ma-comments-closed-limit-note {
		display: block;
		margin: 0.2em 0 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ma-comments-toggle,
	.ma-comments-toggle-icon,
	.ma-discussion-replaced,
	.ma-discuss-after-content__button,
	.ma-comment-report-spam-bubble {
		transition: none !important;
	}

	.ma-comments-toggle:hover,
	.ma-discussion-replaced:hover,
	.ma-discuss-after-content__button:hover,
	.ma-discuss-after-content__button:focus-visible {
		transform: none !important;
	}
}

/* ------------------------------------------------------------------
 * Sdileni clanku (pod clankem, na mobilu sbalene)
 * ---------------------------------------------------------------- */

.ma-share-box__mobile-toggle {
	display: none;
}

@media (max-width: 768px) {
	.ma-share-box--article {
		margin-top: 24px;
		margin-bottom: 24px;
		padding: 14px;
		border: 1px solid rgba(42, 95, 25, .16);
		border-radius: 16px;
		background: #f7fbf5;
	}

	.ma-share-box--article .ma-share-box__title {
		display: none;
	}

	.ma-share-box--article .ma-share-box__mobile-toggle {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		width: 100%;
		min-height: 44px;
		padding: 10px 16px;
		border: 1px solid rgba(42, 95, 25, .28);
		border-radius: 999px;
		background: #ffffff;
		color: #2a5f19;
		font-size: 15px;
		font-weight: 700;
		line-height: 1.2;
		text-align: center;
		cursor: pointer;
		box-shadow: 0 6px 16px rgba(42, 95, 25, .08);
		transition: background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
	}

	.ma-share-box--article .ma-share-box__mobile-toggle:hover,
	.ma-share-box--article .ma-share-box__mobile-toggle:focus-visible {
		background: #f0f8ed;
		border-color: rgba(42, 95, 25, .45);
		color: #173f0d;
		box-shadow: 0 8px 20px rgba(42, 95, 25, .12);
	}

	.ma-share-box--article .ma-share-box__mobile-icon {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		flex: 0 0 auto;
		width: 22px;
		height: 22px;
		border-radius: 50%;
		background: #2a5f19;
		color: #ffffff;
		font-size: 13px;
		line-height: 1;
	}

	.ma-share-box--article .ma-share-buttons {
		display: none;
		margin-top: 12px;
	}

	.ma-share-box--article.is-open .ma-share-buttons {
		display: flex;
		flex-wrap: wrap;
		gap: 8px;
	}

	.ma-share-box--article.is-open .ma-share-box__mobile-toggle {
		background: #2a5f19;
		color: #ffffff;
		border-color: #2a5f19;
	}

	.ma-share-box--article.is-open .ma-share-box__mobile-icon {
		background: #ffffff;
		color: #2a5f19;
	}

	.ma-share-box--article.is-open .ma-share-box__mobile-text::after {
		content: " - skrýt";
		font-weight: 500;
	}

	.ma-share-box--article .ma-share-btn {
		flex: 1 1 calc(50% - 8px);
		justify-content: center;
		min-height: 42px;
		text-align: center;
	}

	.ma-share-box--article .ma-share-feedback {
		margin-top: 10px;
		font-size: 13px;
		text-align: center;
	}
}

/* ------------------------------------------------------------------
 * Sdileni komentare
 * ---------------------------------------------------------------- */

.ma-comment-share-inline-slot {
	display: inline-flex;
	align-items: center;
	margin: 0 14px 0 0;
	vertical-align: middle;
}

.ma-comment-share {
	position: relative;
	display: inline-flex;
	align-items: center;
	font-size: 13px;
	line-height: 1;
	vertical-align: middle;
}

.ma-comment-share__toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	min-height: 28px;
	padding: 3px 8px;
	border: 1px solid #d8c9a6;
	border-radius: 999px;
	background: #f8f5eb;
	box-shadow: none;
	color: #2c611d;
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease;
}

.ma-comment-share__toggle:hover,
.ma-comment-share__toggle:focus-visible {
	background: #f1ecdd;
	color: #214917;
}

.ma-comment-share__icon,
.ma-comment-share__text {
	line-height: 1;
}

.ma-comment-share__icon {
	font-size: 11px;
}

.ma-comment-share__panel {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 200;
	display: none;
	align-items: center;
	gap: 6px;
	margin-top: 8px;
	padding: 7px 8px;
	border: 1px solid #d7dfcf;
	border-radius: 14px;
	background: #ffffff;
	box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
	white-space: nowrap;
}

.ma-comment-share.is-open .ma-comment-share__panel {
	display: inline-flex;
}

.ma-comment-share__item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	padding: 0;
	border: 1px solid #d7dfcf;
	border-radius: 999px;
	background: #ffffff;
	color: #2c611d;
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.ma-comment-share__item:hover,
.ma-comment-share__item:focus-visible {
	border-color: #2c611d;
	background: #2c611d;
	color: #ffffff;
}

.ma-comment-share__feedback {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 210;
	margin-top: 44px;
	color: #5c6a57;
	font-size: 11px;
	white-space: nowrap;
}

/* Komentar, na ktery vede sdileny odkaz: kratke zvyrazneni. */
.comments-area .ma-comment-is-shared > .comment-body {
	animation: ma-comment-shared-flash 2.6s ease-out;
}

@keyframes ma-comment-shared-flash {
	0%,
	35% {
		background-color: #fff8c4;
	}

	100% {
		background-color: transparent;
	}
}

@media (max-width: 768px) {
	.ma-comment-share-inline-slot {
		margin: 0 10px 0 0;
	}

	.ma-comment-share__toggle {
		min-height: 26px;
		padding: 3px 7px;
		font-size: 11px;
	}

	.ma-comment-share__text {
		display: none;
	}

	.ma-comment-share__panel {
		right: auto;
		left: 0;
		flex-wrap: wrap;
		gap: 5px;
		max-width: 190px;
		padding: 7px;
		white-space: normal;
	}

	.ma-comment-share__item {
		width: 26px;
		height: 26px;
		font-size: 11px;
	}

	.ma-comment-share__feedback {
		max-width: 170px;
		margin-top: 42px;
		font-size: 10px;
		white-space: normal;
	}
}

@media (prefers-reduced-motion: reduce) {
	.comments-area .ma-comment-is-shared > .comment-body {
		animation: none;
	}
}

/* ------------------------------------------------------------------
 * Stitek s poctem prispevku v zahlavi clanku (vedle rubrik)
 *
 * Trida je ve selektoru opakovana zamerne: sablona webu stylizuje
 * vsechny odkazy v .ma-single-tax s !important a vysokou specificitou
 * (p.gb-text.gb-text-....ma-single-tax a), stitek ma ale vypadat jinak
 * nez rubriky.
 * ---------------------------------------------------------------- */

a.ma-single-comments.ma-single-comments.ma-single-comments.ma-single-comments {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: flex-start !important;
	gap: 6px !important;
	width: auto !important;
	max-width: 100% !important;
	min-height: 30px !important;
	margin: 0 !important;
	padding: 6px 12px 6px 10px !important;
	border: 1px solid rgba(160, 134, 72, 0.32) !important;
	border-radius: 999px !important;
	background-color: #fbfaf5 !important;
	background-image: linear-gradient(180deg, #ffffff 0%, #f6f4ea 100%) !important;
	box-shadow: 0 4px 11px rgba(122, 106, 69, 0.08) !important;
	color: #5f5236 !important;
	font-family: var(--ma-ui-font, inherit) !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	line-height: 1.12 !important;
	letter-spacing: 0 !important;
	text-align: left !important;
	text-decoration: none !important;
	text-transform: none !important;
	white-space: nowrap !important;
	transform: none !important;
	transition: background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease !important;
}

a.ma-single-comments.ma-single-comments.ma-single-comments.ma-single-comments::before {
	content: "" !important;
	display: block !important;
	flex: 0 0 14px !important;
	width: 14px !important;
	height: 14px !important;
	border-radius: 0 !important;
	background: #a08648 !important;
	box-shadow: none !important;
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 5.5A3.5 3.5 0 0 1 7.5 2h9A3.5 3.5 0 0 1 20 5.5v6A3.5 3.5 0 0 1 16.5 15H10l-4.2 4.2A1 1 0 0 1 4 18.5v-13Zm3.5-1.5A1.5 1.5 0 0 0 6 5.5v10.6l3.1-3.1h7.4A1.5 1.5 0 0 0 18 11.5v-6A1.5 1.5 0 0 0 16.5 4h-9Z'/%3E%3C/svg%3E") !important;
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 5.5A3.5 3.5 0 0 1 7.5 2h9A3.5 3.5 0 0 1 20 5.5v6A3.5 3.5 0 0 1 16.5 15H10l-4.2 4.2A1 1 0 0 1 4 18.5v-13Zm3.5-1.5A1.5 1.5 0 0 0 6 5.5v10.6l3.1-3.1h7.4A1.5 1.5 0 0 0 18 11.5v-6A1.5 1.5 0 0 0 16.5 4h-9Z'/%3E%3C/svg%3E") !important;
	-webkit-mask-repeat: no-repeat !important;
	mask-repeat: no-repeat !important;
	-webkit-mask-position: center !important;
	mask-position: center !important;
	-webkit-mask-size: contain !important;
	mask-size: contain !important;
}

a.ma-single-comments.ma-single-comments.ma-single-comments.ma-single-comments:hover,
a.ma-single-comments.ma-single-comments.ma-single-comments.ma-single-comments:focus-visible {
	border-color: rgba(160, 134, 72, 0.55) !important;
	background-color: #ffffff !important;
	background-image: none !important;
	box-shadow: 0 8px 16px rgba(122, 106, 69, 0.14) !important;
	color: #214f1a !important;
	outline: none !important;
	transform: translateY(-1px) !important;
}

a.ma-single-comments.ma-single-comments.ma-single-comments.ma-single-comments:hover::before,
a.ma-single-comments.ma-single-comments.ma-single-comments.ma-single-comments:focus-visible::before {
	background: #25641f !important;
}

a.ma-single-comments.ma-single-comments.ma-single-comments.ma-single-comments.is-closed {
	border-color: rgba(0, 0, 0, 0.12) !important;
	background-color: #f7f7f5 !important;
	background-image: none !important;
	box-shadow: none !important;
	color: #6b6b66 !important;
}

a.ma-single-comments.ma-single-comments.ma-single-comments.ma-single-comments.is-closed::before {
	background: #9a9a92 !important;
}

.ma-single-comments-wrap {
	display: inline-flex;
	vertical-align: middle;
}

@media (prefers-reduced-motion: reduce) {
	a.ma-single-comments.ma-single-comments.ma-single-comments.ma-single-comments,
	a.ma-single-comments.ma-single-comments.ma-single-comments.ma-single-comments:hover {
		transition: none !important;
		transform: none !important;
	}
}
