/*
 Theme Name:   Twenty Seventeen Child
 Theme URI:    https://ccwalkers.de/
 Description:  Child Theme für Twenty Seventeen
 Author:       CCWalkers
 Template:     twentyseventeen
 Version:      1.0.0
 Text Domain:  twentyseventeen-child
*/

/* ===========================================================
   GRUNDLAYOUT
   =========================================================== */

.wrap {
	max-width: 1600px;
	margin: 0 auto;
	padding: 0 40px;
}

.site-content .wrap {
	max-width: 1600px;
}

/* ===========================================================
   EINSPALTIG – Sidebar AUS
   =========================================================== */

#secondary {
	display: none;
}

#primary {
	width: 100%;
	float: none;
}

/* ===========================================================
   THEME-TITEL + META KOMPLETT AUS
   (Author / Datum / Theme-Überschrift)
   =========================================================== */

.entry-header,
.entry-meta,
.posted-on,
.byline {
	display: none;
}

/* ===========================================================
   CONTENT-BREITE (Referenz)
   =========================================================== */

.entry-content,
.entry-summary,
.comments-area {
	max-width: 1280px;
	margin: 0 auto;
}

/* ===========================================================
   DEINE ÜBERSCHRIFTEN IM INHALT
   =========================================================== */

.entry-content h1,
.entry-content h2 {
	margin: 0 0 24px 0;
	text-align: left;
}

/* ===========================================================
   VIDEO GRID – STABIL (nicht weiter anfassen)
   =========================================================== */

.cc-video-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 25px;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0;
}

.cc-video-item iframe {
	width: 100%;
	aspect-ratio: 16 / 9;
	border: none;
	display: block;
}

.cc-video-caption {
	margin-top: 8px;
	text-align: center;
	font-size: 0.95em;
	color: #333;
}

/* Tablet */
@media (max-width: 1024px) {
	.cc-video-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* Mobile */
@media (max-width: 600px) {
	.cc-video-grid {
		grid-template-columns: 1fr;
	}
}


/* === CCW Diashows: volle Breite erzwingen === */
.ccw-slideshow-grid {
    max-width: 1400px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Twenty Seventeen Content-Beschränkung aushebeln */
.page .ccw-slideshow-grid,
.single .ccw-slideshow-grid {
    max-width: 1400px !important;
}

/* === CCW FORCE FIX – Twenty Seventeen iframe override === */
.entry-content .ccw-slideshow-grid iframe,
.entry-content .ccw-video-grid iframe {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    max-width: 100% !important;
    min-height: unset !important;
}

/* Container darf NICHT begrenzen */
.entry-content .ccw-slideshow-item,
.entry-content .ccw-video-item {
    width: 100% !important;
    max-width: none !important;
}
