/* ═══════════════════════════════════════════════
   SMARTUPWORLD — single-post.css
   Loaded only on is_single()
═══════════════════════════════════════════════ */

/* ══════════════════════════════
   HERO
══════════════════════════════ */
.suw-single__hero {
    background: linear-gradient(135deg, #FFF9F3 0%, #F2EAE0 60%, #FFF0E0 100%);
    padding: 52px 0 40px;
    border-bottom: 1px solid #dce2f5;
}

.suw-single__cat {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .09em;
	color: #4d6dd6;
	border: 1px solid #4d6dd6;
	border-radius: 4px;
	padding: 3px 10px;
	text-decoration: none;
	margin-bottom: 16px;
	transition: background .15s, color .15s;
}
.suw-single__cat:hover {
	background: #4d6dd6;
	color: #fff;
}

.suw-single__title {
    font-family: 'Sen', sans-serif !important;
    font-size: 44px !important;
    font-weight: 600 !important;
    color: #532509 !important;
    line-height: 1.15 !important;
    letter-spacing: -0.02em !important;
    margin: 0 0 24px 0 !important;
    max-width: 820px !important;
}

.suw-single__accent {
	width: 48px;
	height: 3px;
	background: #c85b5b;
	border-radius: 2px;
	margin-bottom: 20px;
}

.suw-single__meta {
	font-size: 14px;
	color: #6c757d;
}
.suw-single__avatar {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	object-fit: cover;
	display: block;
}
.suw-single__author-link {
	font-size: 14px;
	font-weight: 600;
	color: #0f1623;
	text-decoration: none;
}
.suw-single__author-link:hover { color: #4d6dd6; }
.suw-single__meta-dot { color: #ced4da; }

/* ══════════════════════════════
   AD SLOT
══════════════════════════════ */
.suw-single__ad-top {
	/*min-height: 90px;
	width: 100%;
	overflow: hidden;
	background: #f8f9fa;*/
}

/* ══════════════════════════════
   CONTENT WRAP
══════════════════════════════ */
.suw-single__wrap {
	padding-top: 40px;
	padding-bottom: 64px;
}

/* ══════════════════════════════
   FEATURED IMAGE
══════════════════════════════ */
.suw-single__thumb {
	border-radius: 10px;
	overflow: hidden;
	margin-bottom: 32px;
}
.suw-single__thumb img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 10px;
}

/* ══════════════════════════════
   BREADCRUMBS
══════════════════════════════ */
.suw-single__breadcrumbs {
	font-size: 13px;
	color: #6c757d;
	margin-bottom: 24px;
}
.suw-single__breadcrumbs a { color: #4d6dd6; text-decoration: none; }
.suw-single__breadcrumbs a:hover { text-decoration: underline; }

/* ══════════════════════════════
   ENTRY CONTENT — nidohome-style
   Clean, open, readable.
   !important used to beat base.css
══════════════════════════════ */
.suw-single__content {
	max-width: 720px;
	margin: 0 auto;
	color: #3d3d3d;
}

/* Paragraphs — override base.css */
.suw-single__content p {
	font-size: 16px !important;
	line-height: 1.95 !important;
	margin-bottom: 2em !important;
	color: #3d3d3d;
}

/* Headings — clean, no border */
.suw-single__content h2 {
    font-family: 'Sen', sans-serif !important;
    font-size: 26px !important;
    font-weight: 600 !important;
    color: #532509 !important;
    margin: 44px 0 16px !important;
    line-height: 1.25 !important;
    letter-spacing: -0.01em !important;
    padding: 10px 0px 10px !important;
    border-bottom: 1.5px solid #E8D9C8 !important;
}

.suw-single__content h3 {
	font-size: 1.15rem !important;
	font-weight: 700 !important;
	color: #1a1a2e !important;
	margin: 2.2rem 0 .8rem !important;
	line-height: 1.35 !important;
}

.suw-single__content h4 {
	font-size: 1rem !important;
	font-weight: 600 !important;
	color: #1a1a2e !important;
	margin: 1.8rem 0 .5rem !important;
}

.suw-single__content a {
	color: #4d6dd6;
	text-decoration: underline;
	text-underline-offset: 2px;
}
.suw-single__content a:hover { color: #2d4db6; }

.suw-single__content ul,
.suw-single__content ol {
	padding-left: 1.4rem !important;
	margin-bottom: 2em !important;
}
.suw-single__content li {
	font-size: 16px !important;
	line-height: 1.85 !important;
	margin-bottom: .7em !important;
}

.suw-single__content img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
	margin: 1.5rem 0;
	display: block;
}

.suw-single__content blockquote {
	border-left: 3px solid #c85b5b !important;
	margin: 2.2rem 0 !important;
	padding: 18px 24px !important;
	background: #fff5f5 !important;
	border-radius: 0 8px 8px 0;
	font-style: italic;
	color: #555 !important;
	font-size: 16px !important;
	line-height: 1.8 !important;
}

.suw-single__content table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.8em 0;
	font-size: 15px;
}
.suw-single__content table th,
.suw-single__content table td {
	padding: 10px 14px;
	border: 1px solid #dee2e6;
	text-align: left;
	vertical-align: top;
}
.suw-single__content table th {
	background: #f1f3f9;
	font-weight: 600;
}
.suw-single__content table tr:nth-child(even) td {
	background: #f8f9fc;
}

/* ══════════════════════════════
   TAGS
══════════════════════════════ */
.suw-single__tags {
	border-top: 1px solid #e9ecef;
	padding-top: 20px;
}
.suw-single__tags-label {
	font-size: 13px;
	font-weight: 600;
	color: #6c757d;
	white-space: nowrap;
}
.suw-single__tag {
	display: inline-block;
	background: #eef1fb;
	color: #4d6dd6;
	font-size: 12px;
	font-weight: 500;
	padding: 4px 12px;
	border-radius: 20px;
	text-decoration: none;
	border: 1px solid #c5cff5;
	transition: background .15s, color .15s;
}
.suw-single__tag:hover {
	background: #4d6dd6;
	color: #fff;
	border-color: #4d6dd6;
}

/* ══════════════════════════════
   SIDEBAR
══════════════════════════════ */
.suw-single__sidebar {
	position: sticky;
	top: 90px;
}
.suw-single__sidebar .widget {
	background: #fff;
	border: 1px solid #e9ecef;
	border-radius: 10px;
	padding: 20px;
	margin-bottom: 24px;
}
.suw-single__sidebar .widget-title {
	font-size: 13px !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: .07em;
	color: #0f1623 !important;
	padding-bottom: 10px !important;
	margin-bottom: 14px !important;
	border-bottom: 2px solid #4d6dd6 !important;
}
.suw-single__sidebar ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.suw-single__sidebar ul li {
	padding: 7px 0;
	border-bottom: 1px solid #f1f3f5;
	font-size: 14px;
	line-height: 1.4;
}
.suw-single__sidebar ul li:last-child { border-bottom: none; }
.suw-single__sidebar ul li a {
	color: #333;
	text-decoration: none;
	transition: color .15s;
}
.suw-single__sidebar ul li a:hover { color: #4d6dd6; }

/* ══════════════════════════════
   RELATED POSTS
══════════════════════════════ */
.suw-related {
	background: linear-gradient(135deg, #f0f3fc 0%, #e8edf9 100%);
	padding: 56px 0 64px;
	border-top: 1px solid #dce2f5;
}

.suw-related__header {
	margin-bottom: 32px;
}

.suw-related__title {
	font-size: 22px;
	font-weight: 700;
	color: #0f1623;
	margin-bottom: 10px;
}

.suw-related__accent {
	width: 48px;
	height: 3px;
	background: #c85b5b;
	border-radius: 2px;
}

/* Card */
.suw-related__card {
	display: block;
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	text-decoration: none;
	border: 1px solid #dce2f5;
	height: 100%;
	transition: transform .2s, box-shadow .2s;
}
.suw-related__card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(77, 109, 214, .12);
}

.suw-related__card-img {
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #eef1fb;
}
.suw-related__card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .3s;
}
.suw-related__card:hover .suw-related__card-img img {
	transform: scale(1.04);
}
.suw-related__card-img--placeholder {
	background: linear-gradient(135deg, #dce2f5, #c5cff5);
}

.suw-related__card-body {
	padding: 16px 18px 20px;
}

.suw-related__card-cat {
	display: inline-block;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: #4d6dd6;
	margin-bottom: 8px;
}

.suw-related__card-title {
	font-size: 15px;
	font-weight: 700;
	color: #0f1623;
	line-height: 1.4;
	margin-bottom: 10px;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.suw-related__card-date {
	font-size: 12px;
	color: #9ca3af;
}

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */
@media (max-width: 991px) {
	.suw-single__hero { padding: 36px 0 28px; }
	.suw-single__wrap { padding-top: 28px; padding-bottom: 40px; }
	.suw-single__content { max-width: 100%; margin: 0; }
	.suw-related { padding: 40px 0 48px; }
}
@media (max-width: 767px) {
	.suw-single__hero { padding: 28px 0 22px; }
	.suw-single__title { font-size: 24px!important; }
	.suw-related__title { font-size: 18px; }
	.suw-single__content { max-width: 100%; margin: 0; }
}
