/*
Theme Name: Guterpunkt
Theme URI: https://titanic-magazin.de/
Author: Guter Punkt GmbH & Co. KG
Author URI: https://guterpunkt.de/
Description: Custom TITANIC child theme maintained by Guter Punkt, based on the Newsup parent theme.
Version: 1.0.0
Requires PHP: 7.4
Requires at least: 6.6
Tested up to: 7.0
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Template: newsup
Text Domain: newstack
Update URI: false
Tags: blog, portfolio, news, grid-Layout, one-column, two-columns, three-columns, flexible-header, left-sidebar, right-sidebar, custom-background, custom-colors, custom-logo, custom-menu, featured-images, footer-widgets, full-width-template, post-formats, rtl-language-support, theme-options, sticky-post, threaded-comments, translation-ready, block-styles, wide-blocks

Guterpunkt is a child theme of Newsup and is distributed under the terms of the GNU General Public License v3 or later.
*/
:root{
	--bodyFont: 'Noto Sans', Arial, sans-serif;
	--headFont: 'Noto Sans', Arial, sans-serif;
	--serifHeadFont: 'Noto Serif', Georgia, serif;
}

/* TITANIC typography: old dev visual reference, local files served by Local Google Fonts. */
body, button, input, select, textarea {
    font-family: var(--bodyFont);
}

h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4,
h5, .h5,
h6, .h6,
.entry-content > .wp-block-heading,
.page-title {
    font-family: var(--serifHeadFont);
    font-weight: 900;
}

.navbar-wp .navbar-nav > li > a,
.navbar-wp .dropdown-menu > li > a,
.mg-blog-category a,
.abo-hub,
.abo-hub__ribbon,
.abo-hub__price,
.abo-hub__subprice,
.abo-hub__title,
.abo-hub__copy,
.abo-hub__actions a,
.abo-hub__note,
.abo-hub__support,
.abo-hub__support-item h2 {
    font-family: var(--bodyFont);
}

a:focus {
    outline: 1px solid;
}

span.time {
    margin-left: 5px;
    padding: 2px 4px;
    border-radius: 2px;
    font-size: 14px;
    font-weight: 600;
    line-height: 35px;
}
.mg-social li span.icon-soci {
    float: inherit;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}
.mg-headwidget.center .heacent {
    margin-top: unset !important;
}
.mg-headwidget.center .logo-center, .mg-headwidget.center .navbar-header, .mg-headwidget.center .site-branding-text  {
    float: none;
    text-align: center;
}

.mg-headwidget.center .navbar-brand {
    float: none;
    display: inline-block;
    margin: 8px auto 0 auto;
    font-weight: bold;
}
.mg-headwidget.center .heacent {
    margin-top: 40px;
    color: #fff;
}
.navbar-wp .dropdown-menu.searchinner .btn {
    border: medium none;
    border-radius: 0 4px 4px 0;
    height: 40px;
    line-height: 25px;
    padding: 5px 15px;
}
.mg-search-box .dropdown-toggle::after {
	display: none;
}
.m-header {
	display: none;
}
.desk-header {
	display: flex;
}
.wrapper .container-fluid {
	width: 100%;
	max-width: 1280px;
	margin-left: auto;
	margin-right: auto;
}
.newstack-header-container,
.newstack-menu-container {
	max-width: 1280px;
	margin-left: auto;
	margin-right: auto;
}
.mg-headwidget .navbar-wp {
	background: #bf191d;
}
.mg-headwidget .navbar-wp .navbar-nav > li > a {
	padding: 10px 15px;
	font-weight: 800;
	text-decoration: none;
}
.mg-headwidget .navbar-wp .navbar-nav.navbar-nav > li > a:hover,
.mg-headwidget .navbar-wp .navbar-nav.navbar-nav > li > a:focus,
.mg-headwidget .navbar-wp .navbar-nav.navbar-nav > li > a.bg-light:hover,
.mg-headwidget .navbar-wp .navbar-nav.navbar-nav > li > a.bg-light:focus,
.mg-headwidget .navbar-wp .navbar-nav.navbar-nav > .active > a,
.mg-headwidget .navbar-wp .navbar-nav.navbar-nav > .active > a:hover,
.mg-headwidget .navbar-wp .navbar-nav.navbar-nav > .active > a:focus,
.mg-headwidget .navbar-wp .navbar-nav.navbar-nav > .current-menu-item > a,
.mg-headwidget .navbar-wp .navbar-nav.navbar-nav > .current-menu-item > a:hover,
.mg-headwidget .navbar-wp .navbar-nav.navbar-nav > .current-menu-item > a:focus,
.mg-headwidget .navbar-wp .navbar-nav.navbar-nav > .current_page_item > a,
.mg-headwidget .navbar-wp .navbar-nav.navbar-nav > .current_page_item > a:hover,
.mg-headwidget .navbar-wp .navbar-nav.navbar-nav > .current_page_item > a:focus,
.mg-headwidget .navbar-wp .navbar-nav.navbar-nav > .current-menu-parent > a,
.mg-headwidget .navbar-wp .navbar-nav.navbar-nav > .current-menu-parent > a:hover,
.mg-headwidget .navbar-wp .navbar-nav.navbar-nav > .current-menu-parent > a:focus,
.mg-headwidget .navbar-wp .navbar-nav.navbar-nav > .current-menu-ancestor > a,
.mg-headwidget .navbar-wp .navbar-nav.navbar-nav > .current-menu-ancestor > a:hover,
.mg-headwidget .navbar-wp .navbar-nav.navbar-nav > .current-menu-ancestor > a:focus {
	background: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
	color: #fff !important;
	text-decoration: none !important;
}
.mg-headwidget .navbar-wp .navbar-nav.navbar-nav > li > a:hover,
.mg-headwidget .navbar-wp .navbar-nav.navbar-nav > .active > a,
.mg-headwidget .navbar-wp .navbar-nav.navbar-nav > .current-menu-item > a,
.mg-headwidget .navbar-wp .navbar-nav.navbar-nav > .current_page_item > a,
.mg-headwidget .navbar-wp .navbar-nav.navbar-nav > .current-menu-parent > a,
.mg-headwidget .navbar-wp .navbar-nav.navbar-nav > .current-menu-ancestor > a {
	font-weight: 900;
}
.mg-headwidget .navbar-wp .navbar-nav.navbar-nav > li > a:focus-visible {
	outline: 2px solid #fff;
	outline-offset: -6px;
}
.newstack-header-layout {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 166px;
	padding: 26px 0 22px;
}
.newstack-header-logo {
	flex: 0 0 auto;
	min-width: 0;
	text-align: center;
}
.newstack-header-logo .navbar-header,
.newstack-header-logo .site-logo {
	float: none;
	text-align: center;
}
.newstack-header-logo .custom-logo-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.newstack-header-logo .custom-logo {
	display: block;
	width: min(330px, 68vw);
	max-width: 100%;
	height: auto;
}
.newstack-header-social {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-right: 14px;
	white-space: nowrap;
}
.newstack-header-social__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 32px;
	color: #fff;
	font-size: 18px;
	line-height: 1;
	text-decoration: none;
	transition: opacity .15s ease, transform .15s ease;
}
.newstack-header-social__link:hover,
.newstack-header-social__link:focus {
	color: #fff;
	opacity: .82;
	text-decoration: none;
	transform: translateY(-1px);
}
.newstack-header-social__link:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}
.newstack-header-social__svg {
	display: block;
	width: 18px;
	height: 18px;
	fill: currentColor;
}
.newstack-header-region-wrap {
	display: none;
	min-width: 0;
}
.newstack-header-region {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	max-width: 320px;
	color: #fff;
	font-family: var(--bodyFont);
	text-align: left;
	text-decoration: none;
}
.newstack-header-region--left {
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 12px;
	max-width: 215px;
}
.newstack-header-region--right {
	justify-content: flex-end;
	max-width: 285px;
}
.newstack-header-region:hover,
.newstack-header-region:focus {
	color: #fff;
	text-decoration: none;
}
.newstack-header-region:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 4px;
}
.newstack-header-region__image {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.newstack-header-region__img {
	display: block;
	width: 72px;
	height: 92px;
	object-fit: cover;
	box-shadow: 0 2px 5px rgba(0, 0, 0, .35);
}
.newstack-header-region--left .newstack-header-region__image {
	width: 100%;
	justify-content: flex-start;
}
.newstack-header-region--left .newstack-header-region__img {
	width: min(205px, 100%);
	height: auto;
	max-height: 58px;
	object-fit: contain;
	object-position: left center;
	box-shadow: none;
}
.newstack-header-region__content {
	display: grid;
	gap: 6px;
	max-width: 190px;
}
.newstack-header-region--left .newstack-header-region__content {
	max-width: 205px;
}
.newstack-header-region__title {
	display: block;
	font-size: 20px;
	font-weight: 900;
	line-height: 1.02;
}
.newstack-header-region__text {
	display: block;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.15;
}
.newstack-header-region--left .newstack-header-region__text {
	font-size: 14px;
	font-weight: 900;
	line-height: 1.04;
}
.newstack-mobile-top-banner,
.newstack-mobile-drawer {
	display: none;
}
.newstack-mobile-top-banner,
.newstack-mobile-top-banner *,
.newstack-mobile-drawer,
.newstack-mobile-drawer * {
	box-sizing: border-box;
}
body.newstack-mobile-drawer-active {
	overflow: hidden;
}
.mobilehomebtn {
    width: 30px;
    text-align: center;
    line-height: 30px;
    height: 30px;
}
.logo-auto {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.mg-blog-post.md{
	width: 49.8%;
	float: left;
	height: 236px;
}
.mg-blog-post.md .bottom h4 {
    font-size: 26px;
}
.mb1px {
	margin-bottom: 1px;
}
.mg-blog-post.lg.mins {
	width: 100%;
	height: 222.5px;
	margin-bottom: 30px;
}
.mg-blog-post.lg.mins h4.title {
	font-size: 22px;
}
footer .site-description {
    letter-spacing: 1.2px;
}
.mg-headwidget .site-branding-text .text-center {
    color: #fff;
    text-align: center;
}
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper {
    box-shadow: 0 1px 3px rgb(0 0 0 / 15%);
}
.mg-social.info-right a:focus{
    outline: none;
}
.mg-nav-widget-area .navbar-brand{
    margin-right: 0;
}
.comment-detail .edit-link a,
.comment-detail .reply a,
pre.wp-block-code a {
    text-decoration: underline;
}
.mg-latest-news .mg-latest-news-slider{
    left: 185px;
}
div.mg-latest-news .bn_title span {
    border: none;
    top: unset;
    right: unset;
}
.wp-block-search .wp-block-search__label, .mg-widget .wp-block-group h2, .mg-sidebar .mg-widget .wtitle, .mg-sec-title h4, footer .mg-widget h6{
    padding-right: 15px;
}
:is(.wp-block-search .wp-block-search__label, .mg-widget .wp-block-group h2, .mg-sidebar .mg-widget .wtitle, .mg-sec-title h4, footer .mg-widget h6)::before{
    display: none;
}
.mg-blog-category a{
    text-transform: capitalize;
    padding: 5px 10px;
    border-radius: 0;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
}
.mg-sidebar .mg-widget .wtitle{
    font-weight: 700;
}
.mg-posts-modul-6 .mg-sec-top-post .title{
    font-size: 24px;
    line-height: 1.5;
}
.mg-posts-sec-inner .mg-posts-sec-post, .mg-sidebar .mg-widget{
    box-shadow: none;
    border-radius: 0;
    border: none;
}
.mg-sidebar .mg-widget.widget_search:not(:has(.wp-block-search__button-outside)){
    padding-top: 0;
}
.wp-block-search.wp-block-search__button-only .wp-block-search__button{
    align-items: center;
}
.widget_search:has(.wp-block-search.wp-block-search__button-only.wp-block-search__searchfield-hidden){
    padding-left: 0;
    padding-right: 0;
}
.widget_search:has(.wp-block-search.wp-block-search__button-only.wp-block-search__searchfield-hidden) .wp-block-search__label{
    margin-left: 0;
}
.mg-posts-modul-6 .mg-post-thumb{
    margin-right: -5px;
}
.mg-tpt-tag-area, .mg-latest-news-sec{
    margin-top: 20px;
    padding: 0;
}
.mg-tpt-tag-area .mg-tpt-txnlst{
    padding: 2px 5px;
}
.mg-latest-news-sec{
    box-shadow: none;
}
.mg-latest-news-sec .mg-latest-news{
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.07);
}

/* Animation */
.mg-latest-news .bn_title .title {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding-right: 8px;
}
/* The icon */
.bn_title .title::before {
    content: "\e0b7";   /* Font Awesome unicode */
    font-family: "Font Awesome 6 Free"; /* Or your FA font */
    font-weight: 900;
    font-size: 16px;
    position: relative;
    z-index: 2;
}
/* Ripple animation container (behind icon) */
.bn_title .title::after {
    content: "";
    position: absolute;
    left: 26px;       /* adjust position relative to icon */
    top: 50%;
    transform: translateY(-50%) translateX(0);
    width: 35px;
    height: 35px;
    border: 2px solid #fff;
    border-radius: 50%;
    opacity: 0;
    animation: zoom 2s linear infinite;
    z-index: 1;
}
/* Additional ripples */
.bn_title .title span::before,
.bn_title .title span::after {
    content: "";
    position: absolute;
    right: -41px;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 35px;
    border: 2px solid #fff;
    border-radius: 50%;
    opacity: 0;
    z-index: 1;
}
.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

.bn_title .title span::before {
    animation: zoom 2s linear 0.5s infinite;
}

.bn_title .title span::after {
    animation: zoom 2s linear 1s infinite;
}
@keyframes zoom {
    0% {
        transform: translate(-50%, -50%) scale(0.2);
        opacity: 0;
    }
    50% {
        opacity: 0.9;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0;
    }
}

/* ============================================= Responsive Part ======================================== */

@media (min-width: 1200px) {
	.newstack-header-layout {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
		gap: 28px;
		min-height: 174px;
	}
	.newstack-header-logo {
		grid-column: 2;
		justify-self: center;
	}
	.newstack-header-region-wrap {
		display: flex;
		align-items: center;
	}
	.newstack-header-region-wrap--left {
		justify-content: flex-start;
		justify-self: start;
	}
	.newstack-header-region-wrap--right {
		justify-content: flex-end;
		justify-self: end;
	}
	.newstack-header-region--right .newstack-header-region__img {
		width: 76px;
		height: 96px;
	}
    .mg-blog-post.md .bottom h4 {
        max-height: 65px;
        overflow: hidden;
    }
}
@media (max-width: 991px) {
	body.newstack-mobile-drawer-enabled .mobilehomebtn {
		display: none;
	}
	body.newstack-mobile-drawer-enabled .m-header {
		align-items: center;
		justify-content: flex-start;
		gap: 14px;
	}
	body.newstack-mobile-drawer-enabled .m-header .mg-search-box {
		display: none !important;
	}
	body.newstack-mobile-drawer-enabled .navbar-wp .navbar-toggler {
		display: inline-flex;
		align-items: center;
		gap: 9px;
		width: auto;
		min-height: 44px;
		margin: 0 !important;
		padding: 8px 0;
		border: 0;
		border-radius: 0;
		background: transparent;
		color: #fff;
		font-family: var(--bodyFont);
		font-size: 15px;
		font-weight: 800;
		line-height: 1;
		box-shadow: none;
	}
	body.newstack-mobile-drawer-enabled .navbar-wp .navbar-toggler::after {
		content: "Men\00fc";
		display: inline-flex;
		align-items: center;
		color: #fff;
	}
	body.newstack-mobile-drawer-enabled .navbar-wp .navbar-toggler .burger {
		display: inline-grid;
		gap: 4px;
		width: 12px;
	}
	body.newstack-mobile-drawer-enabled .navbar-wp .navbar-toggler .burger-line {
		display: block;
		width: 12px;
		height: 2px;
		background: #fff;
	}
	body.newstack-mobile-drawer-enabled #navbar-wp {
		display: none !important;
	}
	.newstack-mobile-top-banner {
		display: block;
		width: 100%;
		background: #fff;
	}
	.newstack-mobile-top-banner__link {
		display: block;
		width: 100%;
		color: inherit;
		text-decoration: none;
	}
	.newstack-mobile-top-banner__img {
		display: block;
		width: 100%;
		height: auto;
		max-height: 182px;
		object-fit: contain;
		object-position: center;
	}
	.newstack-mobile-drawer {
		position: fixed;
		inset: 0;
		z-index: 99999;
		display: block;
		background: rgba(0, 0, 0, .5);
		opacity: 0;
		pointer-events: none;
		transition: opacity .18s ease;
	}
	.admin-bar .newstack-mobile-drawer {
		top: 46px;
	}
	.newstack-mobile-drawer.is-open {
		opacity: 1;
		pointer-events: auto;
	}
	.newstack-mobile-drawer__panel {
		display: flex;
		width: 100%;
		height: 100%;
		min-height: 100%;
		flex-direction: column;
		overflow-y: auto;
		background: #bf191d;
		padding: 22px 28px 34px;
		color: #fff;
		transform: translateX(-100%);
		transition: transform .18s ease;
		-webkit-overflow-scrolling: touch;
	}
	.newstack-mobile-drawer.is-open .newstack-mobile-drawer__panel {
		transform: translateX(0);
	}
	.newstack-mobile-drawer__top {
		position: relative;
		display: flex;
		min-height: 108px;
		align-items: flex-start;
		justify-content: center;
	}
	.newstack-mobile-drawer__close {
		position: absolute;
		top: 0;
		left: -2px;
		display: inline-flex;
		width: 44px;
		height: 44px;
		align-items: center;
		justify-content: center;
		appearance: none;
		border: 0 !important;
		border-radius: 0;
		background: transparent !important;
		box-shadow: none !important;
		color: #fff !important;
		line-height: 1;
		padding: 0;
		text-decoration: none !important;
	}
	.newstack-mobile-drawer__close span {
		display: none;
	}
	.newstack-mobile-drawer__close::before,
	.newstack-mobile-drawer__close::after {
		content: "";
		position: absolute;
		width: 31px;
		height: 4px;
		border-radius: 999px;
		background: #fff;
	}
	.newstack-mobile-drawer__close::before {
		transform: rotate(45deg);
	}
	.newstack-mobile-drawer__close::after {
		transform: rotate(-45deg);
	}
	.newstack-mobile-drawer__close:hover,
	.newstack-mobile-drawer__close:focus,
	.newstack-mobile-drawer__close:active {
		background: transparent !important;
		box-shadow: none !important;
		color: #fff !important;
		outline: 0;
		text-decoration: none !important;
	}
	.newstack-mobile-drawer__close:focus-visible,
	.newstack-mobile-drawer__logo:focus-visible,
	.newstack-mobile-drawer__menu a:focus-visible,
	.newstack-mobile-drawer__social-link:focus-visible,
	.newstack-mobile-drawer__app-link:focus-visible {
		outline: 2px solid rgba(255, 255, 255, .9);
		outline-offset: 4px;
	}
	.newstack-mobile-drawer__logo {
		display: inline-flex;
		max-width: min(280px, 72vw);
		min-height: 78px;
		align-items: center;
		justify-content: center;
		color: #fff;
		text-align: center;
		text-decoration: none;
	}
	.newstack-mobile-drawer__logo:hover,
	.newstack-mobile-drawer__logo:focus {
		color: #fff;
		text-decoration: none;
	}
	.newstack-mobile-drawer__logo-img {
		display: block;
		width: auto;
		max-width: min(280px, 72vw);
		max-height: 96px;
		object-fit: contain;
	}
	.newstack-mobile-drawer__site-name {
		font-family: var(--serifHeadFont);
		font-size: 32px;
		font-weight: 900;
		line-height: 1;
	}
	.newstack-mobile-drawer__search {
		display: flex;
		height: 48px;
		min-height: 48px;
		align-items: center;
		overflow: hidden;
		border-radius: 4px;
		background: #fff;
	}
	.newstack-mobile-drawer__search input {
		min-width: 0;
		flex: 1 1 auto;
		height: 48px;
		border: 0;
		background: #fff;
		padding: 0 18px;
		color: #333;
		font-size: 18px;
		line-height: 1.2;
		outline: none;
	}
	.newstack-mobile-drawer__search input::placeholder {
		color: #676767;
	}
	.newstack-mobile-drawer__search button {
		position: relative;
		display: inline-flex;
		width: 56px;
		height: 48px;
		flex: 0 0 56px;
		align-items: center;
		justify-content: center;
		appearance: none;
		border: 0 !important;
		border-left: 1px solid rgba(0, 0, 0, .08) !important;
		border-radius: 0 4px 4px 0;
		background: #fff !important;
		box-shadow: none !important;
		color: #111 !important;
		padding: 0;
	}
	.newstack-mobile-drawer__search button:hover,
	.newstack-mobile-drawer__search button:focus,
	.newstack-mobile-drawer__search button:active {
		background: #fff !important;
		box-shadow: none !important;
		color: #111 !important;
		outline: 0;
	}
	.newstack-mobile-drawer__search button:focus-visible {
		outline: 2px solid #111;
		outline-offset: -5px;
	}
	.newstack-mobile-drawer__search-icon {
		position: relative;
		display: block;
		width: 24px;
		height: 24px;
		flex: 0 0 24px;
		border: 0;
		border-radius: 0;
		background: transparent;
	}
	.newstack-mobile-drawer__search-icon::before {
		content: "";
		position: absolute;
		top: 2px;
		left: 2px;
		width: 15px;
		height: 15px;
		border: 3px solid #111;
		border-radius: 999px;
		background: transparent;
		box-sizing: border-box;
	}
	.newstack-mobile-drawer__search-icon::after {
		content: "";
		position: absolute;
		top: 16px;
		left: 16px;
		width: 10px;
		height: 3px;
		border-radius: 999px;
		background: #111;
		transform: rotate(45deg);
		transform-origin: left center;
	}
	.newstack-mobile-drawer__nav {
		margin-top: 32px;
	}
	.newstack-mobile-drawer__menu,
	.newstack-mobile-drawer__menu .sub-menu {
		margin: 0;
		padding: 0;
		list-style: none;
	}
	.newstack-mobile-drawer__menu {
		display: grid;
		gap: 14px;
		font-family: var(--bodyFont);
		font-size: 22px;
		font-weight: 800;
		line-height: 1.1;
	}
	.newstack-mobile-drawer__menu > li.home:first-child {
		display: none;
	}
	.newstack-mobile-drawer__menu a {
		display: inline-flex;
		max-width: 100%;
		min-height: 34px;
		align-items: center;
		color: #fff;
		text-decoration: none;
		overflow-wrap: anywhere;
	}
	.newstack-mobile-drawer__menu a:hover,
	.newstack-mobile-drawer__menu a:focus {
		color: #fff;
		font-weight: 900;
		text-decoration: none;
	}
	.newstack-mobile-drawer__menu .active > a,
	.newstack-mobile-drawer__menu .current-menu-item > a,
	.newstack-mobile-drawer__menu .current_page_item > a,
	.newstack-mobile-drawer__menu .current-menu-parent > a,
	.newstack-mobile-drawer__menu .current-menu-ancestor > a {
		font-weight: 900;
	}
	.newstack-mobile-drawer__menu .sub-menu {
		display: grid;
		gap: 8px;
		margin-top: 8px;
		border-left: 1px solid rgba(255, 255, 255, .36);
		padding-left: 16px;
		font-size: 16px;
		font-weight: 800;
		line-height: 1.3;
	}
	.newstack-mobile-drawer__menu .sub-menu a {
		color: rgba(255, 255, 255, .9);
	}
	.newstack-mobile-drawer__socials {
		display: flex;
		flex-wrap: wrap;
		gap: 12px 20px;
		margin-top: 30px;
	}
	.newstack-mobile-drawer__social-link {
		display: inline-flex;
		width: 40px;
		height: 40px;
		align-items: center;
		justify-content: center;
		color: #fff;
		font-size: 28px;
		line-height: 1;
		text-decoration: none;
	}
	.newstack-mobile-drawer__social-link:hover,
	.newstack-mobile-drawer__social-link:focus {
		color: rgba(255, 255, 255, .86);
		text-decoration: none;
	}
	.newstack-mobile-drawer__social-link svg {
		display: block;
		width: 28px;
		height: 28px;
		fill: currentColor;
	}
	.newstack-mobile-drawer__apps {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 12px;
		margin-top: 28px;
	}
	.newstack-mobile-drawer__app-link {
		display: inline-flex;
		width: 136px;
		height: 40px;
		align-items: center;
		justify-content: center;
		overflow: hidden;
		border: 0;
		border-radius: 3px;
		background: #000;
		box-shadow: 0 0 0 1px rgba(255, 255, 255, .7);
		text-decoration: none;
	}
	.newstack-mobile-drawer__app-link:hover,
	.newstack-mobile-drawer__app-link:focus {
		box-shadow: 0 0 0 1px #fff;
		opacity: .9;
		text-decoration: none;
	}
	.newstack-mobile-drawer__app-img {
		display: block;
		width: auto;
		height: auto;
		max-width: 100%;
		max-height: 100%;
		object-fit: contain;
		transform: none;
	}
	.navbar-wp .navbar-nav > li> a i {
    	display: none;
	}
    #menu-primary li.active.home {
        display: none;
    }
    .m-header {
        width: 100%;
        padding-right: 15px;
        padding-left: 15px;
        display: flex;
        justify-content: space-between;
    }
    .desk-header {
        display: none;
    }
}
@media (min-width: 783px) and (max-width: 991px) {
	.admin-bar .newstack-mobile-drawer {
		top: 32px;
	}
}
@media (max-width: 767px) and (min-width: 576px) {
    .mg-fea-area .col-md-3 {
        display: flex;
    }
    .mg-fea-area .mg-blog-post.lg.mins {
        margin: 0 5px 30px 0;
    }
    .mg-fea-area .col-md-3.top-right-area{
        display: block;
    }
}
@media screen and (max-width: 767px) and (min-width: 240px) {
    .mg-headwidget .navbar-wp .navbar-nav > li> a {
        position: relative;
        border-bottom: 1px solid rgba(225,225,225,0.4);
    }
}
@media (min-width: 240px) and (max-width: 576px){
    .mg-fea-area .mg-blog-post.lg.mins,.mg-fea-area  .mg-posts-sec {
        margin-bottom:20px;
    }

    .mg-fea-area .mr-bot60 {
        margin-bottom: 50px;
    }
}

/* ============ Newsletter-Seite ============ */

/* Rote eckige Buttons (oben) */
.titanic-btn-red .wp-block-button__link {
    background-color: #c1121f !important;
    color: #fff !important;
    border-radius: 0 !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    border: none;
    padding: 12px 20px;
}
.titanic-btn-red .wp-block-button__link:hover {
    background-color: #9b0e19 !important;
}

/* Schwarze eckige Buttons (in Cards) */
.titanic-btn-dark .wp-block-button__link {
    background-color: #111 !important;
    color: #fff !important;
    border-radius: 0 !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    padding: 12px 20px;
}
.titanic-btn-dark .wp-block-button__link:hover {
    background-color: #333 !important;
}

/* Trennlinie */
.titanic-divider {
    border-color: #c1121f !important;
    border-top-width: 2px !important;
    margin: 24px 0 !important;
}

/* Newsletter-Cards */
.titanic-newsletter-card {
    border: 1px solid #e0e0e0;
    border-top: 4px solid #c1121f !important;
    padding: 24px !important;
}

/* Rotes Label über Card-Titel */
.titanic-card-label {
    color: #c1121f !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px !important;
}

/* ============ Footer-Links Hover-Farbe ============ */
footer a:hover,
footer .widget a:hover,
footer .mg-widget a:hover {
    color: #c1121f !important;
}

/* ============ TITANIC Footer Link-Spalten ============ */
footer .overlay {
    background-color: #000 !important;
    padding: 0 !important;
}

.newstack-footer-links {
    background: #000;
    color: #fff;
    padding: 30px 0 34px;
}

.newstack-footer-links .container-fluid {
    max-width: 1280px;
}

.newstack-footer-links__grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    column-gap: 44px;
    row-gap: 28px;
}

.newstack-footer-links__grid--count-1 {
    grid-template-columns: minmax(0, 1fr);
}

.newstack-footer-links__grid--count-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.newstack-footer-links__grid--count-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.newstack-footer-links__grid--count-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.newstack-footer-links__grid--count-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.newstack-footer-links__column {
    min-width: 0;
}

.newstack-footer-links__label {
    color: var(--pri-color, #ff3726);
    font-family: var(--bodyFont);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0;
    margin: 0 0 5px;
}

.newstack-footer-links__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.newstack-footer-links__item {
    color: #fff;
    font-size: 14px;
    line-height: 1.35;
    margin: 0;
}

.newstack-footer-links__item + .newstack-footer-links__item {
    margin-top: 3px;
}

.newstack-footer-links__link,
.newstack-footer-links__text {
    color: #fff;
}

.newstack-footer-links__link {
    text-decoration: none;
}

.newstack-footer-links__link:hover,
.newstack-footer-links__link:focus {
    color: var(--pri-color, #ff3726) !important;
    text-decoration: none;
}

@media (max-width: 1199px) {
    .newstack-footer-links__grid--count-4,
    .newstack-footer-links__grid--count-5,
    .newstack-footer-links__grid--count-6 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .newstack-footer-links {
        padding: 26px 0 30px;
    }

    .newstack-footer-links__grid {
        column-gap: 28px;
    }

    .newstack-footer-links__grid--count-3,
    .newstack-footer-links__grid--count-4,
    .newstack-footer-links__grid--count-5,
    .newstack-footer-links__grid--count-6 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 28px;
    }
}

@media (max-width: 480px) {
    .newstack-footer-links__grid {
        grid-template-columns: 1fr;
    }
}

/* ============ Beliebt/Neueste-Kasten entfernen ============ */
.mg-fea-area .top-right-area {
    display: none !important;
}
/* Hauptkarussel von 6 auf 9 Spalten (75%) verbreitern */
.mg-fea-area .col-md-6 {
    flex: 0 0 75% !important;
    max-width: 75% !important;
}

/* ============ Batch 4: Content Surface Visual Polish ============ */
:root {
    --titanic-red: #bf191d;
    --titanic-ink: #111;
    --titanic-muted: #555;
    --titanic-line: #d7d0c7;
    --titanic-wash: #f3f0ea;
}

#content.home,
#content.archive-class,
#content .search-class {
    padding-top: 32px;
    padding-bottom: 46px;
}

.mg-sec-title {
    border-bottom: 3px solid var(--titanic-ink) !important;
    margin: 0 0 22px;
}

.mg-sec-title h4 {
    min-height: 0;
    padding: 0 0 9px;
    background: transparent !important;
    color: var(--titanic-ink) !important;
    font-family: var(--bodyFont);
    font-size: 18px;
    font-weight: 900;
    line-height: 1.15;
    text-transform: uppercase;
}

.mg-sec-title h4::before {
    display: none !important;
}

.mg-blog-category {
    gap: 8px;
    line-height: 1.1;
    margin: 0 0 8px;
}

.mg-blog-category a,
.mg-blog-category a:hover,
.mg-blog-category a:focus {
    border: 0 !important;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--titanic-red) !important;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.2;
    padding: 0;
    text-decoration: none;
    text-transform: uppercase;
}

.mg-blog-meta,
.mg-blog-meta a,
.single-class .mg-blog-date,
.single-class .newsup-tags {
    color: var(--titanic-muted);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.35;
}

.mg-blog-meta a:hover,
.mg-blog-meta a:focus {
    color: var(--titanic-red);
    text-decoration: none;
}

.mg-fea-area .overlay {
    padding-top: 24px;
}

.mg-blog-post.lg,
.mg-blog-post.lg.mins {
    border-radius: 0;
    background-position: center;
    background-size: cover;
}

.mg-blog-post .bottom {
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, .35) 45%, rgba(0, 0, 0, .82) 100%);
    padding: 56px 24px 22px;
}

.mg-blog-post .bottom h4,
.mg-blog-post.lg.mins h4.title {
    font-family: var(--serifHeadFont);
    font-weight: 900;
    line-height: 1;
    text-shadow: none;
}

.mg-blog-post .bottom h4 {
    font-size: 36px;
}

.mg-blog-post.lg.mins h4.title {
    font-size: 24px;
}

.post-form {
    border: 0 !important;
    border-radius: 0;
    background: var(--titanic-ink) !important;
    box-shadow: none !important;
    color: #fff !important;
}

.mg-posts-modul-6 .mg-posts-sec-post {
    align-items: stretch !important;
    margin-bottom: 0;
    border: 0 !important;
    border-top: 3px solid var(--titanic-ink) !important;
    border-radius: 0 !important;
    background: transparent;
    box-shadow: none !important;
    overflow: visible;
    padding: 26px 0 !important;
}

.mg-posts-modul-6 .mg-posts-sec-post + .mg-posts-sec-post {
    border-top: 1px solid var(--titanic-line) !important;
}

.mg-posts-modul-6 .mg-post-thumb {
    float: none;
    margin: 0 !important;
    min-height: 0;
    overflow: hidden;
    background: var(--titanic-wash);
}

.mg-posts-modul-6 .mg-post-thumb a {
    display: flex;
    min-height: 100%;
    align-items: center;
    justify-content: center;
    background: var(--titanic-wash);
}

.mg-posts-modul-6 .mg-post-thumb img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 340px;
    background: var(--titanic-wash);
    object-fit: contain;
    opacity: 1 !important;
    transition: none !important;
}

.mg-posts-sec-inner img:hover,
.widget_post_thumbnail img:hover,
.featured_posts_slider img:hover {
    opacity: 1 !important;
}

.mg-posts-modul-6 .mg-sec-top-post {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mg-posts-modul-6 .mg-sec-top-post .title,
.grid-content .mg-blog-post-box h4.title,
.archive-class .mg-blog-post-box h4.title,
.search-class .mg-blog-post-box h4.title {
    display: block;
    max-height: none;
    margin: 0;
    color: var(--titanic-ink);
    font-family: var(--serifHeadFont);
    font-weight: 900;
    line-height: 1;
    overflow: visible;
    text-overflow: clip;
    -webkit-box-orient: initial;
    -webkit-line-clamp: initial;
    line-clamp: initial;
}

.mg-posts-modul-6 .mg-sec-top-post .title {
    font-size: 34px;
}

.mg-posts-modul-6 .mg-sec-top-post .title a,
.grid-content .mg-blog-post-box h4.title a,
.archive-class .mg-blog-post-box h4.title a,
.search-class .mg-blog-post-box h4.title a {
    color: var(--titanic-ink);
    text-decoration: none;
}

.mg-posts-modul-6 .mg-sec-top-post .title a:hover,
.mg-posts-modul-6 .mg-sec-top-post .title a:focus,
.grid-content .mg-blog-post-box h4.title a:hover,
.grid-content .mg-blog-post-box h4.title a:focus,
.archive-class .mg-blog-post-box h4.title a:hover,
.archive-class .mg-blog-post-box h4.title a:focus,
.search-class .mg-blog-post-box h4.title a:hover,
.search-class .mg-blog-post-box h4.title a:focus {
    color: var(--titanic-red);
}

.mg-posts-modul-6 .mg-content p,
.grid-content .mg-blog-post-box .small > p,
.archive-class .mg-blog-post-box .small > p,
.search-class .mg-blog-post-box .small > p {
    margin: 14px 0 0;
    color: #222;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.5;
}

.grid-content .mg-blog-post-box,
.archive-class .mg-blog-post-box,
.search-class .mg-blog-post-box {
    border: 0;
    border-top: 3px solid var(--titanic-ink);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    margin-bottom: 36px;
}

.grid-content .mg-blog-post-box .small,
.archive-class .mg-blog-post-box .small,
.search-class .mg-blog-post-box .small {
    padding: 18px 0 0;
}

.grid-content .mg-blog-post-box h4.title,
.archive-class .mg-blog-post-box h4.title,
.search-class .mg-blog-post-box h4.title {
    font-size: 30px;
}

.mg-sidebar .mg-widget {
    border: 0;
    border-top: 3px solid var(--titanic-ink);
    border-radius: 0;
    background: transparent;
    box-shadow: none !important;
    padding: 18px 0;
}

.mg-breadcrumb-section {
    background: #fff !important;
    box-shadow: none;
    border-bottom: 1px solid var(--titanic-line);
}

.mg-breadcrumb-section .overlay {
    padding: 34px 0 22px;
    background: transparent !important;
}

.mg-breadcrumb-title h1,
.mg-breadcrumb-title .title {
    color: var(--titanic-ink);
    font-family: var(--serifHeadFont);
    font-size: 46px;
    font-weight: 900;
    line-height: 1;
}

.search-results-count {
    color: var(--titanic-muted);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.35;
}

.single-class .mg-blog-post-box {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none !important;
    margin-bottom: 40px;
}

.single-class .mg-blog-post-box .mg-header,
.single-class .mg-blog-post-box:has(.single-featured-image) .mg-header {
    padding: 0 0 24px;
}

.single-class .mg-blog-post-box .mg-header h1.title.single {
    margin: 6px 0 0;
    color: var(--titanic-ink);
    font-family: var(--serifHeadFont);
    font-size: 50px;
    font-weight: 900;
    line-height: .98;
}

.single-class .mg-blog-post-box .mg-header h1.title.single a {
    color: var(--titanic-ink);
    text-decoration: none;
}

.single-class .mg-info-author-block {
    margin: 18px 0 0;
    border-top: 1px solid var(--titanic-line);
    border-bottom: 1px solid var(--titanic-line);
    background: transparent;
    box-shadow: none;
    padding: 12px 0;
}

.single-class .mg-info-author-block .mg-author-pic img {
    width: 42px;
    height: 42px;
    margin: 0 14px 0 0;
    border-radius: 50%;
    box-shadow: none;
}

.single-class .mg-info-author-block h4 {
    margin: 0;
    font-family: var(--bodyFont);
    font-size: 16px;
    font-weight: 900;
    line-height: 1.2;
}

.single-class .single-featured-image {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 0 24px;
}

.single-class .featured-image-caption {
    margin: -16px 0 24px;
    color: var(--titanic-muted);
    font-size: 13px;
    line-height: 1.4;
}

.single-class .page-content-single.small.single {
    max-width: 820px;
    padding: 26px 0 0;
    color: var(--titanic-ink);
    font-size: 19px;
    line-height: 1.7;
}

.single-class .page-content-single.small.single p {
    margin: 0 0 1.25rem;
}

.single-class .page-content-single.small.single h2,
.single-class .page-content-single.small.single h3,
.single-class .page-content-single.small.single h4 {
    margin: 2.2em 0 .6em;
    color: var(--titanic-ink);
    font-family: var(--serifHeadFont);
    font-weight: 900;
    line-height: 1.05;
}

.single-class .page-content-single.small.single h2 {
    font-size: 34px;
}

.single-class .page-content-single.small.single h3 {
    font-size: 28px;
}

.single-class .page-content-single.small.single a {
    color: var(--titanic-red);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.single-class .page-content-single.small.single blockquote {
    margin: 2rem 0;
    border-left: 4px solid var(--titanic-red);
    padding-left: 20px;
    color: var(--titanic-ink);
    font-family: var(--serifHeadFont);
    font-size: 24px;
    font-weight: 900;
    line-height: 1.3;
}

.single-class .page-content-single.small.single blockquote::before {
    display: none;
    content: none;
}

.single-class .post-share-icons a,
.single-class .post-navigation a,
.single-class .single-nav-links a {
    text-decoration: none;
}

.single-class .post-navigation {
    margin-top: 30px;
    border-top: 2px solid var(--titanic-ink);
    padding-top: 18px;
}

.single-class .nav-links a,
.single-class .single-nav-links a {
    box-shadow: none;
    color: var(--titanic-ink);
    font-size: 16px;
    font-weight: 900;
}

.single-class .nav-links a:hover,
.single-class .nav-links a:focus,
.single-class .single-nav-links a:hover,
.single-class .single-nav-links a:focus {
    color: var(--titanic-red);
}

@media (min-width: 768px) {
    .mg-posts-modul-6 .mg-posts-sec-post > .col-md-6 {
        flex: 0 0 42%;
        max-width: 42%;
        padding-left: 0;
        padding-right: 0;
    }

    .mg-posts-modul-6 .mg-sec-top-post {
        padding: 0 0 0 28px !important;
    }
}

@media (min-width: 1200px) {
    .mg-posts-modul-6 .mg-sec-top-post .title {
        font-size: 42px;
    }
}

@media (max-width: 991px) {
    #content.home,
    #content.archive-class,
    #content .search-class {
        padding-top: 26px;
        padding-bottom: 34px;
    }

    .single-class .mg-blog-post-box .mg-header h1.title.single {
        font-size: 42px;
    }
}

@media (max-width: 767px) {
    .mg-fea-area .col-md-6 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    .mg-blog-post.lg {
        height: 360px;
    }

    .mg-blog-post.lg.mins {
        height: 190px;
    }

    .mg-blog-post .bottom {
        padding: 44px 18px 18px;
    }

    .mg-blog-post .bottom h4 {
        font-size: 30px;
    }

    .mg-posts-modul-6 .mg-posts-sec-post {
        display: block !important;
        padding: 24px 0 !important;
    }

    .mg-posts-modul-6 .mg-posts-sec-post > .col-12,
    .mg-posts-modul-6 .mg-sec-top-post {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .mg-posts-modul-6 .mg-sec-top-post {
        padding-top: 16px !important;
    }

    .mg-posts-modul-6 .mg-post-thumb img {
        max-height: 300px;
    }

    .mg-posts-modul-6 .mg-sec-top-post .title,
    .grid-content .mg-blog-post-box h4.title,
    .archive-class .mg-blog-post-box h4.title,
    .search-class .mg-blog-post-box h4.title {
        font-size: 30px;
        line-height: 1.03;
    }

    .mg-posts-modul-6 .mg-content p,
    .grid-content .mg-blog-post-box .small > p,
    .archive-class .mg-blog-post-box .small > p,
    .search-class .mg-blog-post-box .small > p {
        font-size: 16px;
        line-height: 1.48;
    }

    .mg-breadcrumb-title h1,
    .mg-breadcrumb-title .title {
        font-size: 31px;
    }

    .single-class .mg-blog-post-box .mg-header,
    .single-class .mg-blog-post-box:has(.single-featured-image) .mg-header {
        padding-bottom: 18px;
    }

    .single-class .mg-blog-post-box .mg-header h1.title.single {
        font-size: 36px;
        line-height: 1;
    }

    .single-class .mg-info-author-block .mg-author-pic {
        display: none;
    }

    .single-class .page-content-single.small.single {
        max-width: 100%;
        padding-top: 20px;
        font-size: 17px;
        line-height: 1.65;
    }

    .single-class .page-content-single.small.single h2 {
        font-size: 29px;
    }

    .single-class .page-content-single.small.single h3 {
        font-size: 24px;
    }
}

/* Batch 4 correction: make post lists title-first, closer to the reference archive/feed layout. */
.mg-posts-modul-6 .mg-posts-sec-post {
    display: grid !important;
    grid-template-columns: minmax(0, 42%) minmax(0, 1fr);
    grid-template-areas:
        "category category"
        "title title"
        "meta meta"
        "thumb content";
    column-gap: 36px;
    row-gap: 8px;
    align-items: start !important;
    border-top: 1px solid var(--titanic-line) !important;
    padding: 26px 0 30px !important;
}

.mg-posts-modul-6 .mg-posts-sec-post:first-child {
    border-top: 2px solid var(--titanic-ink) !important;
}

.mg-posts-modul-6 .mg-posts-sec-post > .col-12,
.mg-posts-modul-6 .mg-posts-sec-post > .col-md-6 {
    grid-area: thumb;
    display: block;
    width: 100% !important;
    max-width: none !important;
    flex: none !important;
    padding: 0 !important;
}

.mg-posts-modul-6 .mg-sec-top-post {
    display: contents !important;
    padding: 0 !important;
}

.mg-posts-modul-6 .mg-sec-top-post .mg-blog-category {
    grid-area: category;
    margin: 0 0 -2px;
}

.mg-posts-modul-6 .mg-sec-top-post .title {
    grid-area: title;
    max-width: 980px;
    margin: 0;
    font-size: clamp(32px, 3.2vw, 42px);
    line-height: .98;
}

.mg-posts-modul-6 .mg-sec-top-post .mg-blog-meta {
    grid-area: meta;
    min-height: 0;
    margin: 0 0 8px;
    color: var(--titanic-red);
}

.mg-posts-modul-6 .mg-sec-top-post .mg-content {
    grid-area: content;
    align-self: start;
}

.mg-posts-modul-6 .mg-content p {
    margin: 0;
    max-width: 60ch;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.55;
}

.mg-posts-modul-6 .mg-post-thumb a {
    aspect-ratio: 3 / 1;
}

.mg-posts-modul-6 .mg-post-thumb img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.mg-posts-modul-6 .post-form {
    top: auto;
    bottom: 18px;
    left: 18px;
}

@media (max-width: 767px) {
    .mg-posts-modul-6 .mg-posts-sec-post {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "category"
            "title"
            "meta"
            "thumb"
            "content";
        row-gap: 8px;
        padding: 24px 0 28px !important;
    }

    .mg-posts-modul-6 .mg-sec-top-post .title {
        font-size: 30px;
        line-height: 1;
    }

    .mg-posts-modul-6 .mg-sec-top-post .mg-blog-meta {
        margin-bottom: 10px;
    }

    .mg-posts-modul-6 .mg-content p {
        margin-top: 10px;
        font-size: 17px;
        line-height: 1.5;
    }
}

/* Batch 4 correction: reference split feed layout with image left and copy right. */
.mg-posts-modul-6 .mg-posts-sec-post {
    display: grid !important;
    grid-template-columns: minmax(260px, 48%) minmax(0, 1fr) !important;
    grid-template-areas: "thumb content" !important;
    column-gap: 24px !important;
    row-gap: 0 !important;
    align-items: center !important;
    border-top: 0 !important;
    border-bottom: 1px solid var(--titanic-red) !important;
    margin: 0 !important;
    padding: 20px 0 30px !important;
}

.mg-posts-modul-6 .mg-posts-sec-post:first-child {
    border-top: 0 !important;
}

.mg-posts-modul-6 .mg-posts-sec-post > .col-12,
.mg-posts-modul-6 .mg-posts-sec-post > .col-md-6 {
    grid-area: thumb !important;
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    flex: none !important;
    padding: 0 !important;
}

.mg-posts-modul-6 .mg-sec-top-post {
    grid-area: content !important;
    display: block !important;
    align-self: center !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    padding: 0 !important;
}

.mg-posts-modul-6 .mg-sec-top-post .mg-blog-category {
    display: block !important;
    margin: 0 0 10px !important;
}

.mg-posts-modul-6 .mg-sec-top-post .mg-blog-category a {
    display: inline !important;
    padding: 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
    color: var(--titanic-red) !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    line-height: 1.1 !important;
    letter-spacing: 0 !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
}

.mg-posts-modul-6 .mg-sec-top-post .title {
    display: block !important;
    margin: 0 !important;
    max-width: 100% !important;
    color: var(--titanic-ink) !important;
    font-size: 29px !important;
    line-height: 1.03 !important;
}

.mg-posts-modul-6 .mg-sec-top-post .title a {
    color: var(--titanic-ink) !important;
    text-decoration: none !important;
}

.mg-posts-modul-6 .mg-sec-top-post .title a:hover,
.mg-posts-modul-6 .mg-sec-top-post .title a:focus {
    color: var(--titanic-red) !important;
    text-decoration: none !important;
}

.mg-posts-modul-6 .mg-sec-top-post .mg-blog-meta {
    display: none !important;
}

.mg-posts-modul-6 .mg-sec-top-post .mg-content {
    display: block !important;
    margin-top: 26px !important;
}

.mg-posts-modul-6 .mg-content p {
    margin: 0 !important;
    max-width: 60ch !important;
    color: #2b2b2b !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    line-height: 1.7 !important;
}

.mg-posts-modul-6 .mg-post-thumb {
    position: relative !important;
    margin: 0 !important;
    overflow: visible !important;
    background: transparent !important;
}

.mg-posts-modul-6 .mg-post-thumb a {
    display: block !important;
    aspect-ratio: auto !important;
    background: transparent !important;
}

.mg-posts-modul-6 .mg-post-thumb img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: none !important;
    object-fit: contain !important;
}

.mg-posts-modul-6 .mg-post-thumb.back-img.md {
    aspect-ratio: 3 / 1 !important;
    height: auto !important;
    min-height: 190px !important;
    background-position: center center !important;
    background-size: cover !important;
}

.mg-posts-modul-6 .post-form {
    top: auto !important;
    right: auto !important;
    bottom: 30px !important;
    left: 20px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 4px !important;
    background: var(--titanic-red) !important;
    color: #fff !important;
}

.mg-posts-modul-6 .post-form i {
    color: #fff !important;
    font-size: 18px !important;
    line-height: 1 !important;
}

@media (max-width: 991px) {
    .mg-posts-modul-6 .mg-posts-sec-post {
        grid-template-columns: minmax(220px, 48%) minmax(0, 1fr) !important;
        column-gap: 22px !important;
    }

    .mg-posts-modul-6 .mg-sec-top-post .title {
        font-size: 27px !important;
    }

    .mg-posts-modul-6 .mg-content p {
        font-size: 17px !important;
        line-height: 1.6 !important;
    }
}

@media (max-width: 767px) {
    .mg-posts-modul-6 .mg-posts-sec-post {
        grid-template-columns: minmax(0, 1fr) !important;
        grid-template-areas:
            "thumb"
            "content" !important;
        row-gap: 14px !important;
        padding: 22px 0 26px !important;
    }

    .mg-posts-modul-6 .mg-sec-top-post {
        align-self: start !important;
    }

    .mg-posts-modul-6 .mg-sec-top-post .mg-blog-category {
        margin-bottom: 8px !important;
    }

    .mg-posts-modul-6 .mg-sec-top-post .title {
        font-size: 28px !important;
        line-height: 1.02 !important;
    }

    .mg-posts-modul-6 .mg-sec-top-post .mg-content {
        margin-top: 12px !important;
    }

    .mg-posts-modul-6 .mg-content p {
        max-width: none !important;
        font-size: 17px !important;
        line-height: 1.55 !important;
    }

    .mg-posts-modul-6 .post-form {
        bottom: 16px !important;
        left: 16px !important;
    }
}

/* Small breathing room above default pagination; keep button styling from the parent theme. */
.mg-posts-modul-6 .navigation.pagination {
    margin-top: 24px;
}

/* Keep vertical video embeds from becoming a full-width blank column on single posts. */
.single-class .page-content-single.small.single .wp-block-embed {
    margin: 0 auto 2rem;
}

.single-class .page-content-single.small.single .wp-embed-aspect-9-16 {
    max-width: 430px;
}

.single-class .page-content-single.small.single .wp-embed-aspect-9-16 .wp-block-embed__wrapper {
    overflow: hidden;
    border-radius: 4px;
    background: #111;
}

.single-class .page-content-single.small.single .wp-embed-aspect-9-16 iframe {
    display: block;
    background: #111;
}

@media (max-width: 575px) {
    .single-class .page-content-single.small.single .wp-embed-aspect-9-16 {
        max-width: 100%;
    }
}
