/* ===== RESET ===== */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: Arial, Helvetica, sans-serif;
	line-height: 1.6;
	background: #f4f4f4;
	color: #333;
}

a {
/*	text-decoration: none;*/
	color: inherit;
}

img {
	max-width: 100%;
	display: block;
}

/* ===== LAYOUT ===== */
.container {
	width: 90%;
	max-width: 1200px;
	margin: auto;
}

/* ===== HEADER ===== */
header {
	background: #ffffff;
	border-bottom: 1px solid #ddd;
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 15px 0;
}

.logo img {
	height: 40px;
}

nav ul {
	list-style: none;
	display: flex;
	gap: 20px;
}

nav a {
	font-weight: bold;
	color: #333;
}

nav a:hover {
	color: #0077cc;
}

/* ===== CONTENT ===== */
.posts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
	margin: 40px 0;
}

.post {
	background: #ffffff;
	border-radius: 6px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	display: flex;
	flex-direction: column;
}

.post img {
/*	height: 180px;*/
	object-fit: cover;
}
.post:hover {cursor: pointer;}

.post-content {
	padding: 15px;
	flex: 1;
}

.post-content h3 {
	margin-bottom: 10px;
	font-size: 18px;
}

.post-content p {
	font-size: 14px;
	margin-bottom: 15px;
	color: #555;
}

.post-content a {
	font-weight: bold;
	color: #0077cc;
}

/* ===== FOOTER ===== */
footer {
	background: #222;
	color: #ccc;
	padding: 20px 0;
}

.footer-inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 15px;
}

.social {
	display: flex;
	gap: 15px;
}

.social a {
	color: #ccc;
	font-size: 14px;
}

.social a:hover {
	color: #ffffff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
	nav ul {
		gap: 10px;
	}

	.header-inner {
		flex-direction: column;
		gap: 10px;
	}

	.footer-inner {
		flex-direction: column;
		text-align: center;
	}
}
