/* ==========================================================================
   TVKS Custom Overrides - Modern styling
   ========================================================================== */

/* ----- Base typography - larger, more readable ----- */

body {
	font-size: 16px;
	line-height: 1.75;
	color: #444;
}

h1 {
	font-size: 28px;
}

h2 {
	font-size: 24px;
}

h3 {
	font-size: 20px;
}

h4 {
	font-size: 18px;
}

h5 {
	font-size: 16px;
}

h6 {
	font-size: 14px;
}

p, ul, ol {
	margin: 0 0 20px;
}

/* ----- Post / Article content ----- */

.post-title,
.post-title a {
	font-size: 22px;
}

.post-content {
	font-size: 16px;
	line-height: 1.8;
}

.post-content p {
	margin-bottom: 20px;
}

.post h1 {
	font-size: 26px;
}

.post h2 {
	font-size: 22px;
}

.post h3 {
	font-size: 19px;
}

.post-meta {
	font-size: 13px;
	color: #999;
}

/* ----- Homepage - modern hero section ----- */

.module-hero {
	min-height: 50vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hero-caption {
	text-align: center;
	padding: 40px 20px;
}

.hero-title {
	font-size: 42px !important;
	font-weight: 700;
	letter-spacing: 4px;
	text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

@media (max-width: 767px) {
	.hero-title {
		font-size: 28px !important;
	}
}

/* ----- Homepage sections - more breathing room ----- */

.module {
	padding: 60px 0;
}

.module-sm {
	padding: 40px 0;
}

/* ----- Sidebar tweaks ----- */

.sidebar .navbar-brand img {
	max-width: 160px;
	height: auto;
}

.sidebar .nav.navbar-nav > li > a {
	font-size: 12px;
	padding: 10px 20px;
	letter-spacing: 2px;
}

.sidebar .copyright {
	font-size: 12px;
}

.sidebar .copyright p {
	font-size: 12px;
}

/* ----- Buttons - slightly larger ----- */

.btn {
	font-size: 13px;
	padding: 10px 24px;
	letter-spacing: 1px;
	border-radius: 3px;
}

.btn-sm {
	font-size: 12px;
	padding: 8px 18px;
}

/* ----- Contact form ----- */

.form-control {
	font-size: 15px;
	padding: 10px 16px;
	height: auto;
}

/* ----- Gallery images - nicer spacing ----- */

.gallery-item {
	padding: 5px;
}

.gallery-item img {
	border-radius: 3px;
	transition: opacity 0.2s ease;
}

.gallery-item img:hover {
	opacity: 0.85;
}

/* ----- News / blog pagination ----- */

.post + .post {
	border-top: 1px solid #eee;
	padding-top: 40px;
}

/* ----- Lead text for homepage ----- */

.lead {
	font-size: 20px;
	line-height: 1.7;
	color: #555;
}

/* ----- Smooth scroll behavior ----- */

html {
	scroll-behavior: smooth;
}

/* ----- Better image handling in posts ----- */

.post p > img,
.post-thumbnail img {
	width: 100%;
	max-width: 100%;
	margin-left: 0;
	margin-right: 0;
	border-radius: 4px;
}

.post .slider.owl-carousel,
.post .fluid-width-video-wrapper {
	width: 100%;
	margin-left: 0;
	margin-right: 0;
}

/* ----- Preloader fade ----- */

.page-loader {
	transition: opacity 0.4s ease;
}

/* ----- Footer spacing on mobile ----- */

@media (max-width: 991px) {
	.module {
		padding: 40px 0;
	}

	body {
		font-size: 15px;
	}

	.post-title,
	.post-title a {
		font-size: 20px;
	}
}
