/* ===============================
   PAGE STYLING — BLOG STYLE
   =============================== */

div.title {
	background-color: #f1f1f1;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	height: 120px;
	width: 100%;
}

div.title h2 {
	font-family: "Open Sans", sans-serif;
	font-weight: 700;
	font-size: 28px;
	color: #333;
	text-transform: capitalize;
	margin: 0;
}

/* ===============================
   WRAPPER — MAIN ARTICLE BODY
   =============================== */

div.wrapper {
	color: #333;
	height: auto;
	position: relative;
	margin: 40px auto 80px auto;
	width: 750px;
	line-height: 1.8;
	font-family: "Open Sans", sans-serif;
	word-wrap: break-word;
}

div.wrapper h2,
div.wrapper h3,
div.wrapper h4 {
	font-weight: 600;
	color: #222;
	margin-top: 30px;
	margin-bottom: 15px;
	line-height: 1.4;
}

div.wrapper h2 { font-size: 22px; }
div.wrapper h3 { font-size: 19px; }
div.wrapper h4 { font-size: 17px; }

div.wrapper p {
	font-size: 15.5px;
	margin-bottom: 15px;
	text-align: justify;
	color: #444;
}

/* ===============================
   IMAGES — RESPONSIVE & CENTERED
   =============================== */

div.wrapper img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 25px auto;
	border-radius: 10px;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
	object-fit: cover;
}

/* CKEditor figure and caption support */
div.wrapper figure.image {
	text-align: center;
	margin: 30px 0;
}

div.wrapper figure.image img {
	max-width: 100%;
	border-radius: 10px;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

div.wrapper figure.image figcaption {
	font-size: 14px;
	color: #777;
	margin-top: 8px;
	font-style: italic;
}

/* ===============================
   LINKS — ELEGANT BLUE TONE
   =============================== */
div.wrapper a {
	color: #007bff;
	text-decoration: none;
	transition: color 0.2s ease;
}

div.wrapper a:hover {
	color: #0056b3;
	text-decoration: underline;
}

/* ===============================
   LISTS — CLEAN & SPACED
   =============================== */
div.wrapper ul,
div.wrapper ol {
	margin: 15px 0 15px 30px;
}

div.wrapper li {
	margin-bottom: 5px;
}

/* ===============================
   QUOTES — STYLISH BLOCKQUOTE
   =============================== */
div.wrapper blockquote {
	border-left: 4px solid #007bff;
	padding-left: 15px;
	color: #555;
	font-style: italic;
	margin: 25px 0;
	background: #f9f9f9;
	padding: 10px 20px;
	border-radius: 6px;
}

/* ===============================
   RESPONSIVE DESIGN
   =============================== */

@media screen and (max-width: 900px) {
	div.wrapper {
		width: 90%;
		margin: 25px auto 60px auto;
	}

	div.title {
		height: 100px;
	}

	div.title h2 {
		font-size: 22px;
	}

	div.wrapper img {
		width: 100%;
		margin: 20px auto;
	}
}

@media screen and (max-width: 600px) {
	div.wrapper {
		font-size: 14.5px;
		line-height: 1.7;
	}

	div.wrapper h2 {
		font-size: 20px;
	}

	div.wrapper p {
		font-size: 14.5px;
	}
}
