/* Hegau24 — Single News / news-single */

.hegau24-news-single {
    --hegau-news-blue: #123a68;
    --hegau-news-blue-dark: #0b2d52;
    --hegau-news-green: #2d8a4e;
    --hegau-news-text: #1d2b3a;
    --hegau-news-muted: #667789;
    --hegau-news-border: #dce4ec;
    --hegau-news-bg: #f4f7fa;
    --hegau-news-white: #ffffff;
    --hegau-news-radius: 18px;
    --hegau-news-shadow: 0 8px 28px rgba(24, 48, 72, 0.08);
    color: var(--hegau-news-text);
    background: var(--hegau-news-bg);
    padding: 28px 0 70px;
}
.hegau24-news-single *,
.hegau24-news-single *::before,
.hegau24-news-single *::after { box-sizing: border-box; }
.hegau24-news-single__container {
    width: min(1800px, 94%);
    margin: 0 auto;
}
.hegau24-news-single__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    align-items: start;
}
.hegau24-news-single__content,
.hegau24-news-single__sidebar { min-width: 0px;}
.hegau24-news-single__card,
.hegau24-news-single__article {
    background: var(--hegau-news-white);
    border: 1px solid var(--hegau-news-border);
    border-radius: var(--hegau-news-radius);
    box-shadow: var(--hegau-news-shadow);
}
.hegau24-news-single__article { overflow: hidden; }
.hegau24-news-single__header {
    padding: 34px 38px 28px;
    border-bottom: 1px solid #edf1f5;
}
.hegau24-news-single__title {
    margin: 0;
    color: var(--hegau-news-text);
    font-size: clamp(28px, 3.7vw, 42px);
    line-height: 1.15;
    font-weight: 750;
    letter-spacing: -0.02em;
}
.hegau24-news-single__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-top: 17px;
    color: var(--hegau-news-muted);
    font-size: 14px;
}
.hegau24-news-single__card {
    padding: 30px 32px;
    margin-bottom: 22px;
}
.hegau24-news-single__prose {
    color: #405366;
    font-size: 16px;
    line-height: 1.75;
}
.hegau24-news-single__prose p  { margin: 0 0 16px; }
.hegau24-news-single__prose p:last-child { margin-bottom: 0; }
.hegau24-news-single__image { width: 100%; margin: 0; }
.hegau24-news-single__image img {
    display: block;
    width: 100%;
    height: auto;
}
.hegau24-news-single__banner {
    width: 100%;
    overflow: hidden;
    margin: 22px 0;
    border-radius: 14px;
}
.hegau24-news-single__banner img {
    display: block;
    width: 100%;
    height: auto;
}
@media (max-width: 1199px) {
    .hegau24-news-single__layout {
        grid-template-columns: minmax(0, 1fr) 310px;
    }
    .hegau24-news-single__header { padding: 28px; }
}
@media (max-width: 900px) {
    .hegau24-news-single { padding-top: 20px; }
    .hegau24-news-single__layout { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .hegau24-news-single__container { width: min(100% - 24px, 1800px); }
    .hegau24-news-single__header { padding: 22px 20px; }
    .hegau24-news-single__card { padding: 23px 20px; border-radius: 14px; }
    .hegau24-news-single__title { font-size: 27px; }
    .hegau24-news-single__prose { font-size: 15px; }
}

/* Hegau24 — News Single: badges and metadata */

.hegau24-news-single__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.hegau24-news-single__badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.01em;
}

.hegau24-news-single__badge--important {
    color: #8a5a00;
    background: #fff3cd;
    border: 1px solid #f1d58a;
}

.hegau24-news-single__badge--urgent {
    color: #a32222;
    background: #fde8e8;
    border: 1px solid #f2b5b5;
}

.hegau24-news-single__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 20px;
    margin-top: 18px;
    color: var(--hegau-news-muted);
    font-size: 13px;
    line-height: 1.5;
}

.hegau24-news-single__meta-item {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: baseline;
}

.hegau24-news-single__meta-label {
    font-weight: 600;
    color: var(--hegau-news-text);
}

.hegau24-news-single__source {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid var(--hegau-news-border);
    color: var(--hegau-news-muted);
    font-size: 14px;
    line-height: 1.6;
}

.hegau24-news-single__source strong {
    color: var(--hegau-news-text);
}

.hegau24-news-single__source a {
    color: var(--hegau-news-blue);
    text-decoration: none;
    font-weight: 600;
}

.hegau24-news-single__source a:hover {
    text-decoration: underline;
}

/* Hegau24 — News Single: breadcrumb */

.hegau24-news-single__breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    width: 100%;
    margin-bottom: 18px;
    color: var(--hegau-news-muted);
    font-size: 13px;
    line-height: 1.5;
}

.hegau24-news-single__breadcrumb a {
    color: var(--hegau-news-blue);
    text-decoration: none;
    font-weight: 600;
}

.hegau24-news-single__breadcrumb a:hover {
    text-decoration: underline;
}

.hegau24-news-single__breadcrumb span[aria-hidden="true"] {
    color: #a5b2bf;
}

.hegau24-news-single__breadcrumb > span:last-child {
    color: var(--hegau-news-muted);
}

@media (max-width: 640px) {
    .hegau24-news-single__breadcrumb {
        margin-bottom: 14px;
        font-size: 12px;
        gap: 5px 8px;
    }
}
/* Hegau24 — Single News: unified upper section */
.hegau24-news-single__breadcrumb {
    margin-bottom: 20px;
    padding: 0 2px;
}

.hegau24-news-single__layout {
    gap: 24px;
}

.hegau24-news-single__article {
    overflow: hidden;
}

.hegau24-news-single__header {
    padding: 34px 40px 30px;
    background: #fff;
}

.hegau24-news-single__badges {
    margin-bottom: 16px;
}

.hegau24-news-single__title {
    max-width: 1100px;
    color: #23364d;
    font-size: clamp(30px, 3.2vw, 44px);
    line-height: 1.14;
    font-weight: 750;
    letter-spacing: -0.025em;
}

.hegau24-news-single__meta {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #edf1f5;
    gap: 8px 22px;
}

.hegau24-news-single__meta-item {
    color: #667789;
}

.hegau24-news-single__meta-label {
    color: #405366;
}

.hegau24-news-single__image {
    background: #eef2f5;
}

.hegau24-news-single__image img {
    width: 100%;
    max-height: 620px;
    object-fit: cover;
    object-position: center;
}

.hegau24-news-single__card {
    border-radius: 16px;
}

.hegau24-news-single__sidebar {
    position: sticky;
    top: 24px;
}

@media (max-width: 1199px) {
    .hegau24-news-single__header {
        padding: 30px;
    }

    .hegau24-news-single__image img {
        max-height: 520px;
    }
}

@media (max-width: 900px) {
    .hegau24-news-single__sidebar {
        position: static;
    }
}

@media (max-width: 640px) {
    .hegau24-news-single__header {
        padding: 24px 20px;
    }

    .hegau24-news-single__title {
        font-size: 28px;
    }

    .hegau24-news-single__meta {
        padding-top: 14px;
        margin-top: 16px;
        gap: 7px 14px;
    }

    .hegau24-news-single__image img {
        max-height: none;
    }
}


/* =========================================================
   Hegau24 — News Comments
   Visual styling only. Blocksy/WordPress functionality stays intact.
   ========================================================= */

.hegau24-news-single .ct-comments {
    margin-top: 34px;
    padding: 0;
    color: #23364d;
}

.hegau24-news-single .ct-comments-title {
    margin: 0 0 24px;
    padding: 0 0 20px;
    border-bottom: 1px solid #dce4ec;
    color: #23364d;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.25;
}

.hegau24-news-single .ct-comment-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.hegau24-news-single .ct-comment-list > li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.hegau24-news-single .ct-comment-inner {
    position: relative;
    margin: 0;
    padding: 26px 0;
    border-bottom: 1px solid #dce4ec;
}

.hegau24-news-single .ct-comment-meta {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) auto;
    column-gap: 16px;
    align-items: start;
    margin: 0;
}

.hegau24-news-single .ct-comment-author {
    grid-column: 2;
    margin: 0;
    color: #23364d;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.3;
}

.hegau24-news-single .ct-comment-meta-data {
    grid-column: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    margin-top: 4px;
    color: #71859a;
    font-size: 13px;
    line-height: 1.4;
}

.hegau24-news-single .ct-comment-meta-data a {
    color: #71859a;
    text-decoration: none;
}

.hegau24-news-single .ct-comment-meta-data a:hover {
    color: #2476d8;
}

.hegau24-news-single .ct-comment-content {
    margin: 16px 0 0 72px;
    color: #334d66;
    font-size: 16px;
    line-height: 1.7;
}

.hegau24-news-single .ct-comment-content p:last-child {
    margin-bottom: 0;
}

.hegau24-news-single .ct-comment-content p:first-child {
    margin-top: 0;
}

.hegau24-news-single .comment-reply-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #2476d8;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.hegau24-news-single .comment-reply-link:hover {
    color: #155eae;
}

.hegau24-news-single .ct-awaiting-moderation {
    display: block;
    margin-top: 12px;
    color: #71859a;
    font-size: 14px;
    font-style: italic;
}

/* Comment form */

.hegau24-news-single .comment-respond {
    margin-top: 28px;
    padding: 28px;
    background: #f3f8fd;
    border: 1px solid #e1ebf4;
    border-radius: 18px;
    box-sizing: border-box;
}

.hegau24-news-single .comment-reply-title {
    margin: 0 0 20px;
    color: #23364d;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.3;
}

.hegau24-news-single .comment-form {
    margin: 0;
}

.hegau24-news-single .comment-form-field-textarea,
.hegau24-news-single .comment-form-field-input-author,
.hegau24-news-single .comment-form-field-input-email,
.hegau24-news-single .comment-form-field-input-url {
    margin: 0 0 16px;
}

.hegau24-news-single .comment-form label {
    display: block;
    margin-bottom: 8px;
    color: #334d66;
    font-size: 14px;
    font-weight: 700;
}

.hegau24-news-single .comment-form .required {
    color: #d84a5a;
}

.hegau24-news-single .comment-form textarea,
.hegau24-news-single .comment-form input[type="text"],
.hegau24-news-single .comment-form input[type="email"],
.hegau24-news-single .comment-form input[type="url"] {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #d5e1ec;
    border-radius: 12px;
    background: #fff;
    color: #23364d;
    font-size: 16px;
    line-height: 1.55;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.hegau24-news-single .comment-form textarea {
    min-height: 150px;
    padding: 14px 16px;
    resize: vertical;
}

.hegau24-news-single .comment-form input[type="text"],
.hegau24-news-single .comment-form input[type="email"],
.hegau24-news-single .comment-form input[type="url"] {
    min-height: 46px;
    padding: 10px 14px;
}

.hegau24-news-single .comment-form textarea:focus,
.hegau24-news-single .comment-form input[type="text"]:focus,
.hegau24-news-single .comment-form input[type="email"]:focus,
.hegau24-news-single .comment-form input[type="url"]:focus {
    border-color: #2476d8;
    box-shadow: 0 0 0 3px rgba(36, 118, 216, .10);
    outline: none;
}

.hegau24-news-single .comment-form .form-submit {
    margin: 8px 0 0;
}

.hegau24-news-single .comment-form .submit {
    min-height: 46px;
    padding: 0 22px;
    border: 0;
    border-radius: 10px;
    background: #2476d8;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}

.hegau24-news-single .comment-form .submit:hover {
    background: #155eae;
    transform: translateY(-1px);
    box-shadow: 0 7px 18px rgba(36, 118, 216, .18);
}

.hegau24-news-single .comment-form .submit:focus-visible {
    outline: 3px solid rgba(36, 118, 216, .22);
    outline-offset: 2px;
}

/* Reply mode */

.hegau24-news-single .comment-respond .ct-cancel-reply {
    display: inline-block;
    margin-left: 10px;
    font-size: 14px;
    font-weight: 600;
}

/* Nested replies */

.hegau24-news-single .ct-comment-list .children {
    margin: 0 0 0 72px;
    padding: 0;
    list-style: none;
}

.hegau24-news-single .ct-comment-list .children .ct-comment-inner {
    padding-left: 20px;
    border-left: 2px solid #e4edf5;
}

/* Mobile */

@media (max-width: 700px) {

    .hegau24-news-single .ct-comments {
        margin-top: 26px;
    }

    .hegau24-news-single .ct-comments-title {
        margin-bottom: 16px;
        padding-bottom: 16px;
        font-size: 23px;
    }

    .hegau24-news-single .ct-comment-inner {
        padding: 20px 0;
    }

    .hegau24-news-single .ct-comment-meta {
        grid-template-columns: 44px minmax(0, 1fr);
        column-gap: 12px;
    }

    .hegau24-news-single .ct-comment-author,
    .hegau24-news-single .ct-comment-meta-data {
        grid-column: 2;
    }

    .hegau24-news-single .ct-comment-content {
        margin: 14px 0 0 56px;
        font-size: 15px;
    }

    .hegau24-news-single .comment-respond {
        margin-top: 22px;
        padding: 20px;
        border-radius: 14px;
    }

    .hegau24-news-single .comment-reply-title {
        font-size: 21px;
    }

    .hegau24-news-single .ct-comment-list .children {
        margin-left: 24px;
    }

    .hegau24-news-single .ct-comment-list .children .ct-comment-inner {
        padding-left: 14px;
    }

}


/* =========================================================
   Hegau24 — News Comments / layout refinement
   ========================================================= */

.hegau24-news-single .ct-comment-meta {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    column-gap: 16px;
    align-items: start;
}

.hegau24-news-single .ct-comment-meta > figure {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 56px;
    height: 56px;
    margin: 0;
    border-radius: 50%;
    overflow: hidden;
}

.hegau24-news-single .ct-comment-meta > figure img {
    display: block;
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 50%;
}

.hegau24-news-single .ct-comment-author {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    margin: 1px 0 0;
}

.hegau24-news-single .ct-comment-meta-data {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    align-items: center;
    gap: 8px 14px;
    margin-top: 4px;
}

.hegau24-news-single .ct-comment-meta-data .comment-reply-link {
    margin-left: auto;
    color: #2476d8;
    font-size: 14px;
    font-weight: 700;
}

.hegau24-news-single .ct-comment-content {
    margin: 16px 0 0 72px;
    max-width: 900px;
}

.hegau24-news-single .ct-comment-inner {
    padding: 24px 0;
}

.hegau24-news-single .ct-comment-list > li:first-child .ct-comment-inner {
    padding-top: 4px;
}

.hegau24-news-single .ct-comment-list .children {
    margin-left: 72px;
}

.hegau24-news-single .ct-comment-list .children .ct-comment-inner {
    padding-left: 20px;
}

/* Form refinement */

.hegau24-news-single .comment-respond {
    margin-top: 28px;
    padding: 26px 28px 28px;
}

.hegau24-news-single .comment-reply-title {
    margin-bottom: 18px;
}

.hegau24-news-single .comment-form textarea {
    min-height: 130px;
}

@media (max-width: 700px) {

    .hegau24-news-single .ct-comment-meta {
        grid-template-columns: 44px minmax(0, 1fr);
        column-gap: 12px;
    }

    .hegau24-news-single .ct-comment-meta > figure {
        width: 44px;
        height: 44px;
    }

    .hegau24-news-single .ct-comment-meta > figure img {
        width: 44px;
        height: 44px;
    }

    .hegau24-news-single .ct-comment-meta-data {
        flex-wrap: wrap;
    }

    .hegau24-news-single .ct-comment-meta-data .comment-reply-link {
        margin-left: 0;
    }

    .hegau24-news-single .ct-comment-content {
        margin: 14px 0 0 56px;
    }

}


/* =========================================================
   Hegau24 — News Comments / final spacing refinement
   ========================================================= */

.hegau24-news-single .ct-comment-inner {
    padding: 22px 0;
}

.hegau24-news-single .ct-comment-list > li:first-child .ct-comment-inner {
    padding-top: 2px;
}

.hegau24-news-single .ct-comment-meta-data {
    margin-top: 2px;
}

.hegau24-news-single .ct-comment-content {
    margin-top: 13px;
    line-height: 1.6;
}

.hegau24-news-single .comment-respond {
    margin-top: 22px;
    padding: 24px 26px 24px;
    border-radius: 16px;
}

.hegau24-news-single .comment-reply-title {
    margin-bottom: 14px;
    font-size: 22px;
}

.hegau24-news-single .comment-form-field-textarea {
    margin-bottom: 12px;
}

.hegau24-news-single .comment-form textarea {
    min-height: 110px;
}

.hegau24-news-single .comment-form .form-submit {
    margin-top: 6px;
}

.hegau24-news-single .comment-form .submit {
    min-height: 44px;
    padding: 0 20px;
}

@media (max-width: 700px) {

    .hegau24-news-single .comment-respond {
        padding: 20px;
    }

    .hegau24-news-single .comment-form textarea {
        min-height: 110px;
    }

}

/* Hegau24 comment reactions */

.hegau24-comment-reactions {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 14px;
}

.hegau24-comment-reaction {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 2px 4px;
	border: 0;
	background: transparent;
	color: #718096;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	transition: color 0.18s ease, opacity 0.18s ease;
}

.hegau24-comment-reaction:hover {
	color: #23364d;
}

.hegau24-comment-reaction__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
}

.hegau24-comment-reaction__icon svg {
	display: block;
	width: 18px;
	height: 18px;
}

.hegau24-comment-reaction__count {
	min-width: 8px;
}

.hegau24-comment-reaction.is-active.hegau24-comment-reaction--like {
	color: #2878d4;
}

.hegau24-comment-reaction.is-active.hegau24-comment-reaction--dislike {
	color: #b45b61;
}

.hegau24-comment-reaction:disabled {
	cursor: default;
	opacity: 0.65;
}

@media (max-width: 600px) {
	.hegau24-comment-reactions {
		gap: 12px;
		margin-top: 12px;
	}
}


/* News Single — remove inner card visual layer */
.hegau24-news-single__article > .hegau24-news-single__card {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

/* =========================================================
   Hegau24 — Comments card
   ========================================================= */

.hegau24-news-single .ct-comments {
    margin-top: 34px;
    padding: 28px 30px 30px;
    background: var(--hegau-news-white);
    border: 1px solid var(--hegau-news-border);
    border-radius: var(--hegau-news-radius);
    box-shadow: var(--hegau-news-shadow);
    box-sizing: border-box;
}

.hegau24-news-single .ct-comments-title {
    margin: 0 0 24px;
    padding: 0 0 18px;
    border-bottom: 1px solid var(--hegau-news-border);
    color: #23364d;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.25;
}


/* =========================================================
   Hegau24 — Comments / comment row refinement
   ========================================================= */

.hegau24-news-single .ct-comment-inner {
    padding: 22px 0;
    border-top: 1px solid #e4ebf2;
    border-bottom: 0;
}

.hegau24-news-single .ct-comment-list > li:first-child .ct-comment-inner {
    padding-top: 4px;
    border-top: 0;
}

.hegau24-news-single .ct-comment-meta {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    column-gap: 16px;
    align-items: start;
    margin: 0;
}

.hegau24-news-single .ct-comment-meta > figure {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 56px;
    height: 56px;
    margin: 0;
    border-radius: 50%;
    overflow: hidden;
}

.hegau24-news-single .ct-comment-meta > figure img {
    display: block;
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 50%;
}

.hegau24-news-single .ct-comment-author {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    color: #23364d;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.3;
}

.hegau24-news-single .ct-author-comment .ct-comment-author::after {
    content: "Автор";
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    margin-left: 8px;
    padding: 0 9px;
    border-radius: 999px;
    background: #eaf3ff;
    color: #2476d8;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    vertical-align: 2px;
}

.hegau24-news-single .ct-comment-meta-data {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 12px;
    margin-top: 4px;
    color: #71859a;
    font-size: 13px;
    line-height: 1.4;
}

.hegau24-news-single .ct-comment-meta-data .comment-reply-link {
    margin-left: auto;
    color: #2476d8;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.hegau24-news-single .ct-comment-meta-data .comment-reply-link:hover {
    color: #155eae;
}

.hegau24-news-single .ct-comment-content {
    margin: 14px 0 0 72px;
    max-width: 900px;
    color: #334d66;
    font-size: 16px;
    line-height: 1.6;
}

@media (max-width: 700px) {

    .hegau24-news-single .ct-comment-inner {
        padding: 20px 0;
    }

    .hegau24-news-single .ct-comment-meta {
        grid-template-columns: 44px minmax(0, 1fr);
        column-gap: 12px;
    }

    .hegau24-news-single .ct-comment-meta > figure {
        width: 44px;
        height: 44px;
    }

    .hegau24-news-single .ct-comment-meta > figure img {
        width: 44px;
        height: 44px;
    }

    .hegau24-news-single .ct-comment-author,
    .hegau24-news-single .ct-comment-meta-data {
        grid-column: 2;
    }

    .hegau24-news-single .ct-comment-meta-data .comment-reply-link {
        margin-left: auto;
    }

    .hegau24-news-single .ct-comment-content {
        margin: 14px 0 0 56px;
        font-size: 15px;
    }

}


/* =========================================================
   Hegau24 — Comments header refinement
   ========================================================= */

.hegau24-news-single .ct-comments {
    position: relative;
}

.hegau24-news-single .ct-comments-title {
    position: relative;
    padding-right: 210px;
    padding-bottom: 16px;
    margin-bottom: 10px;
}

.hegau24-news-single .ct-comments-title::before {
    content: "💬";
    display: inline-block;
    margin-right: 10px;
    font-size: 23px;
    line-height: 1;
    vertical-align: 2px;
}

.hegau24-news-single .ct-comments-title::after {
    content: "Обсуждайте новости, делитесь мнением, будьте вежливы";
    display: block;
    margin-top: 9px;
    color: #71859a;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
}

html[lang="de-DE"] .hegau24-news-single .ct-comments-title::after {
    content: "Diskutieren Sie Nachrichten, teilen Sie Ihre Meinung und bleiben Sie höflich";
}

html[lang="uk"] .hegau24-news-single .ct-comments-title::after {
    content: "Обговорюйте новини, діліться думками, будьте ввічливими";
}

.hegau24-news-single .ct-comments::before {
    content: "Сначала новые";
    position: absolute;
    top: 31px;
    right: 30px;
    color: #334d66;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    white-space: nowrap;
    padding-right: 16px;
}

.hegau24-news-single .ct-comments::after {
    content: "";
    position: absolute;
    top: 37px;
    right: 30px;
    width: 7px;
    height: 7px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    transform-origin: center;
}

@media (max-width: 700px) {
    .hegau24-news-single .ct-comments-title {
        padding-right: 0;
        padding-bottom: 14px;
    }

    .hegau24-news-single .ct-comments::before {
        position: static;
        display: block;
        margin: 0 0 18px;
        padding: 9px 12px;
        width: fit-content;
        border: 1px solid #dce4ec;
        border-radius: 10px;
        background: #f7fafc;
    }
}

/* =========================================================
   Hegau24 — Comments title icon — final
   ========================================================= */

.hegau24-news-single .ct-comments-title::before {
    content: "";
    display: inline-block;
    width: 34px;
    height: 30px;
    margin-right: 12px;
    vertical-align: -7px;
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='30' viewBox='0 0 34 30'%3E%3Cpath d='M5 2.5h24a3.5 3.5 0 0 1 3.5 3.5v14a3.5 3.5 0 0 1-3.5 3.5H16l-7.5 5v-5H5A3.5 3.5 0 0 1 1.5 20V6A3.5 3.5 0 0 1 5 2.5Z' fill='%23fff' stroke='%232477d8' stroke-width='3' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    box-sizing: border-box;
}

@media (max-width: 700px) {
    .hegau24-news-single .ct-comments-title::before {
        width: 29px;
        height: 26px;
        margin-right: 9px;
        vertical-align: -6px;
    }
}

/* =========================================================
   Hegau24 — Comment form redesign
   ========================================================= */

.hegau24-news-single .comment-respond {
    margin-top: 26px;
    padding: 24px 26px 26px;
    background: #f3f8fd;
    border: 1px solid #e1ebf4;
    border-radius: 16px;
    box-sizing: border-box;
}

.hegau24-news-single .comment-reply-title {
    margin: 0 0 7px;
    color: #23364d;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.3;
}

.hegau24-news-single .comment-reply-title a {
    color: #2476d8;
}

.hegau24-news-single .comment-reply-title small {
    margin-left: 10px;
    font-size: 13px;
    font-weight: 600;
}

.hegau24-news-single .comment-respond .logged-in-as {
    margin: 0 0 16px;
    color: #71859a;
    font-size: 13px;
    line-height: 1.5;
}

.hegau24-news-single .comment-respond .logged-in-as a {
    color: #2476d8;
    text-decoration: none;
}

.hegau24-news-single .comment-respond .comment-form-comment {
    margin: 0;
}

.hegau24-news-single .comment-respond .comment-form-comment label {
    display: block;
    margin: 0 0 7px;
    color: #334d66;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}

.hegau24-news-single .comment-respond textarea {
    display: block;
    width: 100%;
    min-height: 112px;
    padding: 13px 15px;
    background: #fff;
    border: 1px solid #d5e1ec;
    border-radius: 11px;
    color: #334d66;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.55;
    resize: vertical;
    box-sizing: border-box;
}

.hegau24-news-single .comment-respond textarea:focus {
    border-color: #2476d8;
    outline: none;
    box-shadow: 0 0 0 3px rgba(36,118,216,.10);
}

.hegau24-news-single .comment-respond .form-submit {
    margin: 14px 0 0;
}

.hegau24-news-single .comment-respond .form-submit .submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 20px;
    border: 0;
    border-radius: 9px;
    background: #2476d8;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    transition: background-color .18s ease, transform .18s ease;
}

.hegau24-news-single .comment-respond .form-submit .submit:hover {
    background: #155eae;
    transform: translateY(-1px);
}

@media (max-width: 700px) {
    .hegau24-news-single .comment-respond {
        margin-top: 22px;
        padding: 20px;
        border-radius: 14px;
    }

    .hegau24-news-single .comment-reply-title {
        font-size: 20px;
    }

    .hegau24-news-single .comment-respond textarea {
        min-height: 110px;
    }

    .hegau24-news-single .comment-respond .form-submit .submit {
        width: 100%;
    }
}

/* =========================================================
   Hegau24 — Comment form — final visual structure
   ========================================================= */

.hegau24-news-single .comment-respond {
    position: relative;
    margin-top: 26px;
    padding: 26px 28px 28px;
    background: #f3f8fd;
    border: 1px solid #e1ebf4;
    border-radius: 16px;
    box-sizing: border-box;
}

.hegau24-news-single .comment-reply-title {
    position: relative;
    display: block;
    margin: 0;
    padding: 0 0 0 44px;
    color: #23364d;
    font-size: 28px;
    font-weight: 800;
    line-height: 36px;
    text-align: left;
}

.hegau24-news-single .comment-reply-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 32px;
    height: 32px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M5 27l3.2-8.1L21.7 5.4a2.8 2.8 0 0 1 4 0l.9.9a2.8 2.8 0 0 1 0 4L13.1 23.8 5 27Z' fill='none' stroke='%232477d8' stroke-width='2.5' stroke-linejoin='round'/%3E%3Cpath d='M18.7 8.4l4.9 4.9M5 27l7.3-2.3' fill='none' stroke='%232477d8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}


.hegau24-news-single .comment-reply-title::after {
    content: "Ваше мнение важно для нас. Пожалуйста, будьте корректны и уважайте других участников.";
    display: block;
    margin: 5px 0 0;
    color: #71859a;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
    white-space: normal;
}

html[lang="de-DE"] .hegau24-news-single .comment-reply-title::after {
    content: "Ihre Meinung ist uns wichtig. Bitte bleiben Sie höflich und respektieren Sie andere Teilnehmer.";
}

html[lang="uk"] .hegau24-news-single .comment-reply-title::after {
    content: "Ваша думка важлива для нас. Будь ласка, будьте коректними та поважайте інших учасників.";
}

.hegau24-news-single .comment-respond .logged-in-as {
    margin: 20px 0 18px;
    color: #71859a;
    font-size: 13px;
    line-height: 1.5;
}

.hegau24-news-single .comment-respond .logged-in-as a {
    color: #2476d8;
    text-decoration: none;
}

.hegau24-news-single .comment-respond .comment-form-comment {
    margin: 0 !important;
}

.hegau24-news-single .comment-respond .comment-form-comment label {
    display: block;
    margin: 0 0 7px;
    color: #334d66;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}

.hegau24-news-single .comment-respond textarea {
    display: block;
    width: 100%;
    min-height: 105px;
    padding: 13px 15px;
    background: #fff;
    border: 1px solid #d5e1ec;
    border-radius: 11px;
    color: #334d66;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.55;
    resize: vertical;
    box-sizing: border-box;
}

.hegau24-news-single .comment-respond textarea:focus {
    border-color: #2476d8;
    outline: none;
    box-shadow: 0 0 0 3px rgba(36,118,216,.10);
}

.hegau24-news-single .comment-respond .form-submit {
    margin: 12px 0 0;
}

.hegau24-news-single .comment-respond .form-submit .submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border: 0;
    border-radius: 9px;
    background: #2476d8;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    transition: background-color .18s ease, transform .18s ease;
}

.hegau24-news-single .comment-respond .form-submit .submit:hover {
    background: #155eae;
    transform: translateY(-1px);
}

@media (max-width: 700px) {
    .hegau24-news-single .comment-respond {
        margin-top: 22px;
        padding: 20px;
        border-radius: 14px;
    }

    .hegau24-news-single .comment-reply-title {
        padding-left: 36px;
        font-size: 20px;
        line-height: 27px;
    }

    .hegau24-news-single .comment-reply-title::before {
        width: 27px;
        height: 27px;
    }

    .hegau24-news-single .comment-reply-title::after {
        margin-top: 5px;
        font-size: 13px;
    }

    .hegau24-news-single .comment-respond .logged-in-as {
        margin-top: 16px;
    }

    .hegau24-news-single .comment-respond .form-submit .submit {
        width: 100%;
    }
}

/* =========================================================
   Hegau24 — Override Blocksy reply title flex layout
   ========================================================= */

.hegau24-news-single #reply-title {
    display: block !important;
    align-items: initial;
    justify-content: initial;
    margin-bottom: 0;
}


/* Hegau24 — remove Blocksy divider above reply form */
.hegau24-news-single .comment-reply-title {
    border-top: 0 !important;
    padding-top: 0 !important;
}


/* Hegau24 — final reply title size override */
.hegau24-news-single #reply-title {
    font-size: 25px !important;
    line-height: 36px !important;
}

/* Hegau24 — compact comment form header spacing */
.hegau24-news-single #reply-title {
    margin-bottom: 8px !important;
}

/* Hegau24 — comment form header alignment */
.hegau24-news-single #reply-title {
    line-height: 32px !important;
}

.hegau24-news-single #reply-title::before {
    top: 1px;
}

.hegau24-news-single #reply-title::after {
    margin-top: 2px;
    line-height: 1.35;
}

/* Hegau24 — comment meta: date under author, reply on the right */
.hegau24-news-single .ct-comment-meta {
    grid-template-columns: 56px minmax(0, 1fr) auto;
}

.hegau24-news-single .ct-comment-meta-data {
    display: contents;
}

.hegau24-news-single .ct-comment-meta-data > a:first-child {
    grid-column: 2;
    grid-row: 2;
    margin-top: 2px;
    color: #71859a;
    font-size: 13px;
    line-height: 1.4;
}

.hegau24-news-single .ct-comment-meta-data > .comment-reply-link {
    grid-column: 3;
    grid-row: 1 / span 2;
    align-self: center;
    margin-left: 24px;
}

@media (max-width: 700px) {
    .hegau24-news-single .ct-comment-meta {
        grid-template-columns: 44px minmax(0, 1fr) auto;
    }

    .hegau24-news-single .ct-comment-meta-data > .comment-reply-link {
        margin-left: 12px;
    }
}


/* Hegau24 — comment form rules and moderation layout */

.hegau24-news-single .comment-form .form-submit {
    display: inline-flex;
    align-items: center;
    margin: 0;
}

.hegau24-news-single .comment-form .form-submit button,
.hegau24-news-single .comment-form .form-submit input[type="submit"] {
    margin: 0;
}

.hegau24-news-single .hegau24-comment-form-guidelines {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-left: 24px;
    vertical-align: middle;
}

.hegau24-news-single .hegau24-comment-form-guideline {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #526b83;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
}

.hegau24-news-single .hegau24-comment-form-guideline__icon {
    position: relative;
    display: inline-block;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}

.hegau24-news-single .hegau24-comment-form-guideline:nth-child(1) .hegau24-comment-form-guideline__icon::before {
    content: "✓";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #e6f2ff;
    color: #2476d8;
    font-size: 12px;
    font-weight: 800;
}

.hegau24-news-single .hegau24-comment-form-guideline:nth-child(2) .hegau24-comment-form-guideline__icon::before {
    content: "♥";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    color: #2476d8;
    font-size: 13px;
}

.hegau24-news-single .hegau24-comment-form-guideline:nth-child(3) .hegau24-comment-form-guideline__icon::before {
    content: "✓";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border: 1.5px solid #2476d8;
    border-radius: 50%;
    color: #2476d8;
    font-size: 11px;
    font-weight: 800;
}

.hegau24-news-single .hegau24-comment-form-after {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 14px;
    padding: 0 2px;
}

.hegau24-news-single .hegau24-comment-form-info {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #71859a;
    font-size: 13px;
    line-height: 1.5;
}

.hegau24-news-single .hegau24-comment-form-info__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    border: 1.5px solid #8ba0b4;
    border-radius: 50%;
    color: #71859a;
    font-size: 12px;
    font-weight: 800;
}

.hegau24-news-single .hegau24-comment-form-rules-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #2476d8;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    white-space: nowrap;
}

.hegau24-news-single .hegau24-comment-form-rules-link:hover {
    color: #155eae;
    text-decoration: underline;
}

.hegau24-news-single .hegau24-comment-form-rules-link__icon {
    font-size: 15px;
    line-height: 1;
}

@media (max-width: 800px) {
    .hegau24-news-single .hegau24-comment-form-guidelines {
        display: flex;
        margin: 14px 0 0;
        gap: 9px 18px;
    }

    .hegau24-news-single .hegau24-comment-form-after {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 600px) {
    .hegau24-news-single .comment-form .form-submit {
        display: flex;
    }

    .hegau24-news-single .hegau24-comment-form-guidelines {
        flex-direction: column;
        align-items: flex-start;
        margin-top: 12px;
    }
}

/* Hegau24 — align comment rules with submit button */
.hegau24-news-single .comment-form {
    display: block !important;
}

.hegau24-news-single .comment-form .form-submit {
    display: inline-flex !important;
    width: auto !important;
    vertical-align: middle;
}

.hegau24-news-single .comment-form .hegau24-comment-form-guidelines {
    display: inline-flex !important;
    width: auto !important;
    vertical-align: middle;
    margin-top: 0;
}

/* Hegau24 — proper information icon */
.hegau24-news-single .hegau24-comment-form-info__icon {
    position: relative;
    font-size: 0;
}

.hegau24-news-single .hegau24-comment-form-info__icon::before {
    content: "i";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    color: #71859a;
    font-family: Georgia, serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

@media (max-width: 800px) {
    .hegau24-news-single .comment-form .form-submit {
        display: inline-flex !important;
    }

    .hegau24-news-single .comment-form .hegau24-comment-form-guidelines {
        display: flex !important;
        width: auto !important;
        margin-top: 12px;
    }
}

/* Hegau24 — SVG icons for comment guidelines */

.hegau24-news-single .hegau24-comment-form-guideline__icon {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 19px 19px;
}

.hegau24-news-single .hegau24-comment-form-guideline__icon::before {
    display: none !important;
    content: none !important;
}

/* Без оскорблений — document */
.hegau24-news-single .hegau24-comment-form-guideline:nth-child(1) .hegau24-comment-form-guideline__icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232477d8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='3' width='12' height='18' rx='1.5'/%3E%3Cpath d='M9 7h6M9 11h6M9 15h4'/%3E%3C/svg%3E");
}

/* Уважайте других — people */
.hegau24-news-single .hegau24-comment-form-guideline:nth-child(2) .hegau24-comment-form-guideline__icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232477d8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3'/%3E%3Cpath d='M3.5 19c.5-3.3 2.3-5 5.5-5s5 1.7 5.5 5'/%3E%3Ccircle cx='17' cy='9' r='2.2'/%3E%3Cpath d='M15.5 14.5c2.7-.2 4.5 1.2 5 3.5'/%3E%3C/svg%3E");
}

/* Следуйте правилам — shield */
.hegau24-news-single .hegau24-comment-form-guideline:nth-child(3) .hegau24-comment-form-guideline__icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232477d8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v5.5c0 4.3-2.8 7.5-7 9.5-4.2-2-7-5.2-7-9.5V6l7-3z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E");
}

/* Информация — circle i */
.hegau24-news-single .hegau24-comment-form-info__icon {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    border: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23718da8' stroke-width='1.7'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 10v6'/%3E%3Ccircle cx='12' cy='7.2' r='.8' fill='%23718da8' stroke='none'/%3E%3C/svg%3E") center / 20px 20px no-repeat;
    border-radius: 0;
}

.hegau24-news-single .hegau24-comment-form-info__icon::before {
    display: none !important;
    content: none !important;
}

/* Правила комментирования — external link */
.hegau24-news-single .hegau24-comment-form-rules-link__icon {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
    font-size: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232477d8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 5h5v5'/%3E%3Cpath d='M19 5l-9 9'/%3E%3Cpath d='M19 13v5a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1h5'/%3E%3C/svg%3E") center / 19px 19px no-repeat;
}


/* Hegau24 — move comment guidelines toward the right side */
@media (min-width: 801px) {
    .hegau24-news-single .comment-form .hegau24-comment-form-guidelines {
        float: right;
        margin-left: 0;
        margin-right: 0;
    }

    .hegau24-news-single .comment-form::after {
        content: "";
        display: table;
        clear: both;
    }
}

@media (max-width: 800px) {
    .hegau24-news-single .comment-form .hegau24-comment-form-guidelines {
        float: none;
    }
}


/* =========================================================
   Hegau24 — compact reply action
   Replace visible "Ответить" with a reply arrow.
   ========================================================= */

.hegau24-news-single .ct-comment-inner {
    position: relative;
}

.hegau24-news-single .ct-comment-meta-data > .comment-reply-link {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 24px;
    height: 24px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    color: transparent;
    font-size: 0;
    line-height: 24px;
    text-indent: -9999px;
}

.hegau24-news-single .ct-comment-meta-data > .comment-reply-link::before {
    content: "↩";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #718096;
    font-size: 20px;
    font-weight: 600;
    line-height: 24px;
    text-indent: 0;
    transition: color 0.18s ease, transform 0.18s ease;
}

.hegau24-news-single .ct-comment-meta-data > .comment-reply-link:hover::before {
    color: #2476d8;
    transform: translateX(-1px);
}

.hegau24-news-single .ct-comment-meta-data > .comment-reply-link::after {
    content: "Ответить";
    position: absolute;
    right: 0;
    bottom: calc(100% + 8px);
    z-index: 20;
    padding: 6px 9px;
    border-radius: 7px;
    background: #23364d;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    text-indent: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.16s ease, visibility 0.16s ease;
}

.hegau24-news-single .ct-comment-meta-data > .comment-reply-link:hover::after {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 700px) {
    .hegau24-news-single .ct-comment-meta-data > .comment-reply-link {
        right: 0;
        bottom: 0;
    }
}

/* =========================================================
   Hegau24 — reply action in comment reactions
   ========================================================= */

.hegau24-news-single .hegau24-comment-reactions > .comment-reply-link {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 38px;
    width: 38px;
    height: 24px;

    margin: 0 0 0 2px !important;
    padding: 0 0 0 14px !important;

    border: 0;
    border-left: 1px solid #dce4ec;

    box-sizing: border-box;
    overflow: visible;

    color: transparent !important;
    font-size: 0 !important;
    line-height: 24px;
    text-indent: -9999px;
    text-decoration: none;
}

.hegau24-news-single .hegau24-comment-reactions > .comment-reply-link::before {
    content: "";
    position: absolute;
    top: 2px;
    right: 0;
    bottom: 2px;
    left: 14px;

    display: block;

    background-color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M9 17l-6-6 6-6' stroke='%232476d8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M3 11h9c4.4 0 7 2.4 9 6' stroke='%232476d8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px 20px;

    transition: transform 0.18s ease, filter 0.18s ease;
}

.hegau24-news-single .hegau24-comment-reactions > .comment-reply-link:hover::before {
    transform: translateX(-1px);
    filter: brightness(0.85);
}

.hegau24-news-single .hegau24-comment-reactions > .comment-reply-link::after {
    content: "Ответить";

    position: absolute;
    right: 0;
    bottom: calc(100% + 8px);
    z-index: 20;

    padding: 6px 9px;
    border-radius: 7px;

    background: #23364d;
    color: #fff;

    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    text-indent: 0;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: opacity 0.16s ease, visibility 0.16s ease;
}

.hegau24-news-single .hegau24-comment-reactions > .comment-reply-link:hover::after {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 700px) {
    .hegau24-news-single .hegau24-comment-reactions > .comment-reply-link {
        flex-basis: 36px;
        width: 36px;
        padding-left: 12px !important;
    }

    .hegau24-news-single .hegau24-comment-reactions > .comment-reply-link::before {
        left: 12px;
    }
}

/* Hegau24 — prevent reply-link flash before JS moves it */
.hegau24-news-single .ct-comment-meta-data > .comment-reply-link {
    visibility: hidden;
}

.hegau24-news-single .hegau24-comment-reply-action {
    visibility: visible;
}

/* Hegau24 — reply arrow: remove Blocksy hover background */
.hegau24-news-single .hegau24-comment-reactions > .comment-reply-link:hover,
.hegau24-news-single .hegau24-news-single .hegau24-comment-reactions > .comment-reply-link:focus {
    background: transparent !important;
    box-shadow: none !important;
    color: transparent !important;
    text-decoration: none !important;
}

/* Hegau24 — override Blocksy comment hover for moved reply action */
.hegau24-news-single .ct-comment-inner:not(.ct-has-reply-form):hover .hegau24-comment-reply-action {
    color: transparent !important;
    background: transparent !important;
    box-shadow: none !important;
}

.hegau24-news-single .ct-comment-inner:not(.ct-has-reply-form) .hegau24-comment-reply-action:hover {
    color: transparent !important;
    background: transparent !important;
    box-shadow: none !important;
}


/* Hegau24 — окончательное устранение прямоугольника у стрелки «Ответить» */
.hegau24-news-single .hegau24-comment-reactions > .comment-reply-link,
.hegau24-news-single .hegau24-comment-reactions > .comment-reply-link:hover,
.hegau24-news-single .hegau24-comment-reactions > .comment-reply-link:focus,
.hegau24-news-single .hegau24-comment-reactions > .comment-reply-link:focus-visible,
.hegau24-news-single .hegau24-comment-reactions > .comment-reply-link:active {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
    outline: none !important;
    text-decoration: none !important;
}

/* Hegau24 — comment anchor must jump instantly, not smooth-scroll */
html {
    scroll-behavior: auto !important;
}

/* Hegau24 — real comment sorting control */
.hegau24-news-single .ct-comments::before {
    display: none !important;
}

.hegau24-news-single .hegau24-comment-sort-control {
    position: absolute;
    top: 24px;
    right: 30px;
    z-index: 10;
}

.hegau24-news-single .hegau24-comment-sort-toggle {
      -webkit-appearance: none !important;
      appearance: none !important;
      background-image: none !important;
      background: transparent !important;
      border: 0 !important;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 6px 0;
    margin: 0;
    border: 0;
    background: transparent;
    color: #334d66;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    cursor: pointer;
}

.hegau24-news-single .hegau24-comment-sort-toggle:hover,
.hegau24-news-single .hegau24-comment-sort-toggle:focus,
.hegau24-news-single .hegau24-comment-sort-toggle:active {
    background: transparent;
    box-shadow: none;
    color: #334d66;
}


.hegau24-news-single .hegau24-comment-sort-menu {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    min-width: 170px;
    padding: 6px;
    background: #fff;
    border: 1px solid #e4ebf2;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(30, 55, 80, 0.12);
}

.hegau24-news-single .hegau24-comment-sort-menu[hidden] {
    display: none !important;
}

.hegau24-news-single .hegau24-comment-sort-menu a {
    display: block;
    padding: 8px 10px;
    border-radius: 7px;
    color: #334d66;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    white-space: nowrap;
}

.hegau24-news-single .hegau24-comment-sort-menu a:hover,
.hegau24-news-single .hegau24-comment-sort-menu a:focus {
    background: #f2f6fa;
    color: #334d66;
}

.hegau24-news-single .hegau24-comment-sort-menu a.is-active {
    font-weight: 700;
}

/* Hegau24 — единый острый шеврон сортировки */
.hegau24-news-single .ct-comments::before,
.hegau24-news-single .ct-comments::after {
    display: none !important;
    content: none !important;
}

.hegau24-news-single .hegau24-comment-sort-toggle__chevron {
    display: inline-block !important;
    width: 8px !important;
    height: 8px !important;
    margin-left: 3px !important;
    border: 0 !important;
    border-right: 2px solid currentColor !important;
    border-bottom: 2px solid currentColor !important;
    background: transparent !important;
    box-shadow: none !important;
    transform-origin: center center !important;
}

/* Сначала новые — острый шеврон вниз */
.hegau24-news-single .hegau24-comment-sort-toggle.is-newest .hegau24-comment-sort-toggle__chevron {
    transform: rotate(45deg) !important;
}

/* Сначала старые — тот же шеврон вверх */
.hegau24-news-single .hegau24-comment-sort-toggle.is-oldest .hegau24-comment-sort-toggle__chevron {
    transform: rotate(225deg) !important;
}

/* Hegau24 — desktop sort chevron direction fix */
@media (min-width: 701px) {
    .hegau24-news-single .hegau24-comment-sort-toggle.is-newest .hegau24-comment-sort-toggle__chevron {
        transform: rotate(45deg) !important;
    }

    .hegau24-news-single .hegau24-comment-sort-toggle.is-oldest .hegau24-comment-sort-toggle__chevron {
        transform: rotate(225deg) !important;
    }
}
