/* 
Theme Name: Titanic 
Theme Theme URI: https://titanicboyke.be 
Author: Dave Casteleyn 
Description: Titanicboyke Theme. 
Version: 1.5 
Text Domain: Titanicboyke.be 
Tags: 
*/

/* Core variables */
:root {
	--gold: #b6975a;
	--teal: #0f4040;
	--cream: #efe6d1;
	--bg-dark: #04121a;
	--muted: #9da09e;
	--maxw: 1180px;
}

/* Reset & base */
* {
	box-sizing: border-box
}

html,
body {
	height: 100%;
	margin: 0;
	background: var(--bg-dark);
	color: #e9e7e4;
	font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, 'Playfair Display', Georgia, serif;
	-webkit-font-smoothing: antialiased
}

a {
	color: var(--gold);
	text-decoration: none
}

a:hover {
	text-decoration: underline
}

/* Header */
.site-header {
	position: sticky;
	top: 0;
	z-index: 75;
	background: var(--teal);
	backdrop-filter: blur(4px);
	border-bottom: 3px solid rgba(182, 151, 90, 0.06)
}

.site-header {
	border-bottom: 2px solid var(--gold);
}

.header-inner {
	max-width: var(--maxw);
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 20px
}

.site-logo {
	font-family: 'Playfair Display', serif;
	font-size: 20px;
	color: var(--cream);
	font-weight: 700
}

.primary-nav {
	display: flex;
	gap: 18px;
	align-items: center
}

.primary-nav a {
	color: var(--cream);
	padding: 8px 10px;
	border-radius: 8px;
	font-weight: 600
}

.primary-nav a.cta {
	background: #d13b57;
	color: #fff;
	padding: 8px 14px;
	border-radius: 24px;
	box-shadow: 0 8px 24px rgba(209, 59, 87, 0.12)
}

/* Hero (single & page) */
.hero-wrap {
	position: relative;
	overflow: hidden
}

.hero {
	height: 420px;
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative
}

.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(4, 8, 12, 0.35), rgba(4, 8, 12, 0.75));
	pointer-events: none
}

.hero .hero-inner {
	position: relative;
	z-index: 5;
	text-align: center;
	max-width: 980px;
	padding: 12px
}

.hero h1 {
	font-family: 'Playfair Display', serif;
	font-size: 44px;
	color: var(--cream);
	margin: 0
}

.hero p.lead {
	color: var(--muted);
	margin-top: 8px;
	font-size: 10%;
		
}

/* Content container */
.container {
	max-width: var(--maxw);
	margin: 0 auto;
	padding: 10px
}

.content-panel {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.04));
	padding: 36px;
	border-radius: 12px;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
	color: var(--muted)
}

/* Typography */
h1,
h2,
h3 {
	color: var(--cream)
}

p {
	line-height: 1.8;
	color: var(--muted);
	margin: 0 0 18px
}

/* Posts grid */
.posts-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px
}

.card {
	background: rgba(255, 255, 255, 0.03);
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
	transition: transform .36s
}

.card:hover {
	transform: translateY(-8px)
}

.card .thumb {
	height: 80px;
	overflow: hidden
}

.card img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	display: block
}

.card-body {
	padding: 16px
}

/* Single post styles */
.single .post-meta {
	color: var(--muted);
	margin-bottom: 12px
}

.single .post-content,
.page .content-panel {
	/* max-width: 900px; */
	max-width: var(--maxw);
	/* margin: 22px auto 80px; */
	margin: 22px auto;
	/* padding: 0 20px; */	
	padding: 30px;
	font-size: 18px;
	color: var(--muted)
}

/* Footer */
.site-footer {
	background: var(--teal);
	color: var(--gold);
	margin-top: 30px;
	padding: 5px 0;
}

.site-footer .container {
	text-align: center;
}

.site-footer {
	border-top: 2px solid var(--gold);
	/* vervang #b6975a door de gewenste kleur */
}

/* Responsive */
@media (max-width:1100px) {
	.posts-grid {
		grid-template-columns: repeat(2, 1fr)
	}

	.hero {
		height: 360px
	}
}

@media (max-width:780px) {
	.primary-nav {
		display: block
	}

	.hero {
		height: 260px
	}

	.hero h1 {
		font-size: 28px
	}

	.posts-grid {
		grid-template-columns: 1fr
	}

	.container {
		padding: 18px
	}
}

/* Responsive img */
.responsive-img {
	display: block;
	width: 100%;
	max-width: 500px;
	height: auto;
	margin-left: auto;
	margin-right: auto;
	padding-top: 50px;
	padding-bottom: 50px;
}

/* Kleine versie (40px) */
.responsive-img.small {
	max-width: 40px;
	width: auto;
	height: auto;
	padding-top: 20px;
	padding-bottom: 20px;
}

#sidebarHOME {
    width: 90%;
    margin: 0 auto; /* centreert de sidebar */
}

.site-header a,
.site-footer a {
    text-decoration: none !important;
}

.site-header a:hover,
.site-footer a:hover {
    text-decoration: none !important;
}

#sidebar-2 img {
    width: 100%;          /* of kies zelf een maat */
    max-width: 250px;     /* bijvoorbeeld */
    height: auto;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--gold);
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    display: block;
    margin: 10px auto;
}