/*
 * Custom CSS for Grenzwertig CPT / Category Template
 * Sets up a beautiful two-column dashboard layout for case-studies & legal evaluations.
 */
.ac-grenzwertig-single {
	padding-bottom: 80px;
	background-color: #f7faf8;
}

/* Hero Section */
.ac-grenzwertig-hero {
	position: relative;
	width: 100%;
	padding: 140px 0 110px;
	background: linear-gradient(135deg, #163622, #245234);
	color: #ffffff;
	text-align: center;
}

.ac-grenzwertig-hero-content {
	max-width: 960px;
	margin: 0 auto;
	padding: 0 20px;
	position: relative;
	z-index: 2;
}

.ac-grenzwertig-rubric {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 20px;
	flex-wrap: wrap;
	justify-content: center;
}

.ac-grenzwertig-badge {
	background-color: #e8f0ec;
	color: #2e6741;
	font-family: 'Montserrat', sans-serif;
	font-weight: 800;
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	padding: 5px 14px;
	border-radius: 50px;
}

.ac-grenzwertig-slogan {
	font-family: 'Montserrat', sans-serif;
	font-weight: 600;
	font-size: 0.95rem;
	color: #a3c9b1;
	letter-spacing: 0.5px;
}

.ac-grenzwertig-title {
	font-family: 'Montserrat', sans-serif;
	font-size: clamp(1.8rem, 4vw, 2.8rem);
	font-weight: 900;
	line-height: 1.25;
	margin: 0 0 20px;
	color: #ffffff;
}

.ac-grenzwertig-meta {
	font-family: 'Amiko', sans-serif;
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.7);
}

.ac-grenzwertig-meta i {
	margin-right: 6px;
}

.ac-grenzwertig-hero-overlay {
	position: absolute;
	inset: 0;
	background-image: radial-gradient(circle at 80% 20%, rgba(46, 103, 65, 0.15), transparent 60%);
	z-index: 1;
}

/* Layout Grid */
.ac-grenzwertig-container {
	max-width: 1200px;
	margin: -40px auto 0;
	padding: 0 20px;
	position: relative;
	z-index: 3;
}

.ac-grenzwertig-layout {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 30px;
}

@media screen and (max-width: 992px) {
	.ac-grenzwertig-layout {
		grid-template-columns: 1fr;
	}
}

/* Left Column: Content Boxes */
.ac-grenzwertig-main {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.ac-grenzwertig-section {
	background: #ffffff;
	border-radius: 12px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
	padding: 35px;
	border: 1px solid rgba(0, 0, 0, 0.03);
}

.ac-grenzwertig-section-title {
	font-family: 'Montserrat', sans-serif;
	font-size: 1.4rem;
	font-weight: 800;
	color: #111111;
	margin: 0 0 20px;
	display: flex;
	align-items: center;
	gap: 10px;
	border-bottom: 2px solid #f0f0f0;
	padding-bottom: 12px;
}

.ac-grenzwertig-section-title i {
	color: #2e6741;
	font-size: 1.6rem;
}

.ac-grenzwertig-section-content {
	font-family: 'Amiko', sans-serif;
	font-size: 1rem;
	line-height: 1.7;
	color: #333333;
}

.ac-grenzwertig-section-content p:last-child {
	margin-bottom: 0;
}

/* Case Box (Der Fall) Specifics */
.ac-grenzwertig-case-box {
	background-color: #f7f9fc;
	border: 1px solid #e4eae2;
}

.ac-grenzwertig-case-box .ac-grenzwertig-section-title i {
	color: var( --ac-accent, #2e6741 );
}

.ac-grenzwertig-case-source {
	margin-top: 25px;
	padding-top: 15px;
	border-top: 1px solid #e4eae2;
	font-family: 'Amiko', sans-serif;
	font-size: 0.9rem;
	color: #555555;
	display: flex;
	align-items: center;
	gap: 8px;
}

.ac-grenzwertig-case-source a {
	color: var( --ac-accent, #2e6741 );
	text-decoration: none;
	font-weight: 700;
}

.ac-grenzwertig-case-source a:hover {
	text-decoration: underline;
}

/* Right Column: Sidebar */
.ac-grenzwertig-sidebar {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.ac-grenzwertig-widget {
	background: #ffffff;
	border-radius: 12px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
	padding: 30px;
	border: 1px solid rgba(0, 0, 0, 0.03);
}

.ac-grenzwertig-widget-title {
	font-family: 'Montserrat', sans-serif;
	font-size: 1.2rem;
	font-weight: 800;
	color: #111111;
	margin: 0 0 20px;
	display: flex;
	align-items: center;
	gap: 10px;
	border-bottom: 2px solid #f0f0f0;
	padding-bottom: 12px;
}

.ac-grenzwertig-widget-title i {
	color: #2e6741;
	font-size: 1.35rem;
}

/* Fakten & Zahlen List */
.ac-grenzwertig-facts-box {
	background-color: #ffffff;
	border: 1px solid #e4eae2;
}

.ac-grenzwertig-facts-box .ac-grenzwertig-widget-title i {
	color: var( --ac-accent, #2e6741 );
}

.ac-grenzwertig-facts-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.ac-grenzwertig-facts-list li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.ac-grenzwertig-fact-bullet {
	background-color: #e8f0ec;
	color: var( --ac-accent, #2e6741 );
	width: 28px;
	height: 28px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	font-size: 0.85rem;
	font-weight: bold;
}

.ac-grenzwertig-fact-text {
	font-family: 'Montserrat', sans-serif;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.4;
	color: #2c3e50;
}

/* Deine Rechte Sidebar Card */
.ac-grenzwertig-rights-box {
	background-color: #10251f; /* dark forest green matching ac-la-video-card */
	color: #ffffff;
	border: none;
	box-shadow: 0 10px 30px rgba(16, 37, 31, 0.25);
}

.ac-grenzwertig-rights-box .ac-grenzwertig-widget-title {
	color: #ffffff;
	border-bottom: 2px solid rgba(255, 255, 255, 0.15);
}

.ac-grenzwertig-rights-box .ac-grenzwertig-widget-title i {
	color: #76d5a8; /* matching the dot glowing effect color from hero */
}

.ac-grenzwertig-rights-content {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.ac-grenzwertig-right-item h4 {
	font-family: 'Montserrat', sans-serif;
	font-size: 0.95rem;
	font-weight: 800;
	color: #76d5a8;
	margin: 0 0 6px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.ac-grenzwertig-right-item p {
	font-family: 'Amiko', sans-serif;
	font-size: 0.88rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.85);
	margin: 0;
}

/* Footer layout inside container */
.ac-grenzwertig-footer {
	background: #ffffff;
	border-radius: 12px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
	padding: 25px 35px;
	border: 1px solid rgba(0, 0, 0, 0.03);
	margin-top: 30px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 20px;
}

/* Reset individual margins and borders inside the footer card */
.ac-grenzwertig-footer .ac-news-reactions,
.ac-grenzwertig-footer .ac-news-share {
	margin-top: 0 !important;
	padding-top: 0 !important;
	border-top: none !important;
	padding-bottom: 0 !important;
}

/* Adjust layout on mobile */
@media screen and (max-width: 768px) {
	.ac-grenzwertig-footer {
		flex-direction: column;
		align-items: flex-start;
		padding: 25px;
	}

	.ac-grenzwertig-footer .ac-news-reactions,
	.ac-grenzwertig-footer .ac-news-share {
		width: 100%;
	}
}
