.home .site-header {
	position: static;
	background: #fff;
	border-bottom: 1px solid #777;
	box-shadow: none;
}

.home .site-branding {
	width: min(1000px, 100%);
	max-width: 1000px;
	margin-left: auto;
	margin-right: auto;
}

.home .site-footer .container,
.home .site-footer .site-info,
.home .site-content.container {
	width: min(1260px, 100%);
	max-width: 1260px;
	margin-left: auto;
	margin-right: auto;
}

.home .site-branding {
	padding: 1.45rem 0 0.75rem;
	text-align: center;
}

.home .site-title a {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 2.45rem;
	font-weight: 800;
	letter-spacing: 0.02em;
	color: #000;
}

.home .site-description {
	display: none;
}

.home .main-navigation {
	padding: 0;
	border-top: 1px solid #111;
	border-bottom: 2px solid #111;
}

.home .main-navigation ul {
	justify-content: center;
	gap: 0;
	margin: 0;
	padding: 0;
}

.home .main-navigation li {
	margin: 0;
}

.home .main-navigation a {
	display: block;
	padding: 0.55rem 1rem;
	color: #000;
	font-size: 0.82rem;
	font-weight: 700;
	line-height: 1;
}

.home .site-content.container {
	padding: 0;
}

.knews-homepage {
	width: 100%;
	max-width: 1260px;
	margin: 0 auto;
	padding: 0.85rem 0 0;
}

.knews-homepage a {
	text-decoration: none;
}

.knews-home-hero-ads {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	margin: 0 0 0.85rem;
	max-width: none;
}

.knews-home-ad {
	min-height: 45px;
	overflow: hidden;
}

.knews-home-ad__empty {
	display: block;
	width: 100%;
	height: 100%;
	min-height: inherit;
	background: rgba(178, 241, 246, 0.5);
}

.knews-home-ad .knewsagency-ads,
.knews-home-ad .knewsagency-ad,
.knews-home-ad img {
	width: 100%;
	height: 100%;
}
.knewsagency-ad--text-2-lines .knewsagency-ad__line--1 {
	font-size: .85rem;
}
.knewsagency-ad--text-2-lines {
	padding: 5px 8px;
	border-radius: 0;
}
.knewsagency-ad--text-2-lines .knewsagency-ad__line--2 {
    font-size: .8rem;
    color: #5d5d5d !important;
}
.knewsagency-ad--text-label-pricing {
	gap: 4px;
	padding: 5px 8px;
    border-radius: 0;
}
.knewsagency-ad--text-label-pricing .knewsagency-ad__row--text {
	font-size: .85rem;
    font-weight: 500 !important;
    line-height: 1;
}
.knewsagency-ad--text-label-pricing .knewsagency-ad__badge {
	padding: 1px 6px;
    border-radius: 5px;
}
.knewsagency-ad--text-label-pricing .knewsagency-ad__pricing {
	font-size: .9rem;
}
.knews-home-ad img {
	object-fit: cover;
}

.knews-home-top-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	align-items: stretch;
	margin-bottom: 0.85rem;
}

.knews-home-col {
	min-width: 0;
	display: flex;
	flex-direction: column;
}

.knews-home-col--feature {
	padding: 0;
}

.knews-home-col--feature .knews-home-ad {
	height: 100%;
	min-height: 320px;
}
.knews-home-col__head {
	color: #fff;
    padding: 0;
    border-bottom: 1px solid #333;
    margin-bottom: 0.3rem;
}
.knews-home-col__head h2 {
	font-size: 0.9rem;
    font-weight: 400;
    text-align: center;
    line-height: 1;
    background: #009688;
    color: #fff;
    padding: 5.7px 6px 4.5px;
    margin-bottom: 5px;
}

.knews-home-col .knews-home-ad {
	margin-bottom: 2px;
}

.knews-home-col__more {
	margin: 0.4rem 0 0;
    text-align: center;
    font-size: 0.78rem;
    font-weight: 600;
}

.knews-home-col__more a {
	color: #555;
}

/* Real-estate listing rows */
.knews-home-realty {
	list-style: none;
	margin: 0;
	padding: 0;
}

.knews-home-realty__item {
	border-bottom: 1px solid #e3e3e3;
	padding: 0.3rem 0;
}

.knews-home-realty__link {
	display: grid;
	grid-template-columns: 46px 1fr;
	gap: 0.4rem;
	align-items: center;
	color: #151515;
}

.knews-home-realty__thumb {
	display: block;
	width: 46px;
	height: 46px;
	overflow: hidden;
	border-radius: 2px;
	background: #eee;
}

.knews-home-realty__thumb.is-empty {
	background: linear-gradient(135deg, #e9f5f5, #d3e8e8);
}

.knews-home-realty__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.knews-home-realty__body {
	min-width: 0;
}

.knews-home-realty__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.25rem;
	font-size: 0.62rem;
	margin-bottom: 0.2rem;
}

.knews-home-realty__type {
	padding: 0px 5px;
    background: #222;
    border-radius: 5px;
    color: white;
    font-size: .7rem;
}

.knews-home-realty__region {
	font-size: 0.75rem;
	font-weight: 700;
	color: #333;
}

.knews-home-realty__price {
	font-weight: 700;
	color: #df332b;
}

.knews-home-realty__title {
	display: block;
	font-size: 0.8rem;
	font-weight: 400;
	line-height: 1.25;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.knews-home-tabs,
.knews-home-content-tabs {
	display: flex;
	align-items: center;
	border-bottom: 1px solid #333;
	margin-bottom: 0.3rem;
	font-size: 0.72rem;
}

.knews-home-tabs button,
.knews-home-content-tabs button {
	font-size: .9rem;
	padding: 5px 6px 5.5px;
	border: 0;
	background: transparent;
	color: #111;
	cursor: pointer;
	font-weight: 500;
	width: 33%;
    max-width: 100px;
	border-radius: 0;
	margin-bottom: 5px;
}

.knews-home-top-grid .knews-home-tabs button.is-active {
	background: #222;
	color: #fff;
}
.knews-home-tabs button:nth-child(2), .knews-home-content-tabs button:nth-child(2) {
    border-left: 1px solid;
	border-right: 1px solid;
}
.knews-home-tabs button.is-active,
.knews-home-content-tabs button.is-active {
	background: #df332b;
	color: #fff;
	position: relative;
    z-index: 2;
    margin-left: -1px;
	margin-right: -1px;
}

.knews-home-tabs button:focus-visible,
.knews-home-content-tabs button:focus-visible {
	outline: 2px solid #111;
	outline-offset: 2px;
}
.knews-home-top-grid .knews-home-tabs button, .knews-home-top-grid .knews-home-content-tabs button {
	width: 33%;
}
.knews-home-content-grid .knews-home-tabs button, .knews-home-content-grid .knews-home-content-tabs button {
	width: 33%;
	max-width: 90px;

}
.knews-home-thread-list {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 0.68rem;
}

.knews-home-thread-list li {
	border-bottom: 1px solid #ddd;
	padding: 6px 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.knews-home-thread-list a {
	color: #151515;
	font-size: .8rem;
    padding: 2px 5px;
	line-height: 1.35;
}
/* Layout Adjustment for List Links containing Pills */
.knews-home-thread-list li a {
    display: flex !important;
    align-items: center !important;
    text-decoration: none !important;
    gap: 8px !important;
}

/* Grey Pill Badge Configuration */
.knews-home-pill {
    display: inline-block !important;
    background-color: #cccccc !important; /* Soft grey background */
    color: #222222 !important;            /* Dark grey text color */
    font-size: 0.7rem !important;
    font-weight: 500 !important;
    padding: 2px 8px !important;
    border-radius: 50px !important;        /* Smooth oval capsule border */
    white-space: nowrap !important;
    text-align: center !important;
}

/* Ensure long text lines clip cleanly after pill elements */
.knews-home-list-title {
    flex: 1 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.knews-home-ad--banner {
	min-height: 64px;
	margin: 0.65rem 0 0.8rem;
}

.knews-home-content-grid {
	margin-bottom: 1rem;
}

.knews-home-content-body {
	display: grid;
	grid-template-columns: 300px 1fr;
	gap: 0.65rem;
	align-items: start;
}

.knews-home-content-body[hidden] {
	display: none;
}

.knews-home-content-body__ad {
	min-height: 180px;
}

.knews-home-story-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.45rem 0.6rem;
}

.knews-home-card {
	min-width: 0;
}

.knews-home-card__link {
	display: grid;
	grid-template-columns: 80px 1fr;
	gap: 0.38rem;
	align-items: start;
	color: #111;
}

.knews-home-card__media {
	display: block;
	aspect-ratio: 1 / 1;
	background: #eee;
	overflow: hidden;
}

.knews-home-card__media:empty {
	background: linear-gradient(135deg, #e9f5f5, #d3e8e8);
}

.knews-home-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.knews-home-card__title {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-weight: 600;
	font-size: 0.9rem;
	line-height: 1.2;
	margin-bottom: 4px !important;
}

/* Right Content Box Area - Flexes to capture remaining space */
.knews-home-card__body {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important; /* Stack elements vertically */
    justify-content: flex-start !important;
}

/* Lower Excerpt Description Style Block */
.knews-home-card__excerpt {
    display: block !important;
    font-size: 0.82rem !important;
    color: #555555 !important;
    line-height: 1.42 !important;
    margin: 0 !important;
    padding: 0 !important;
    font-weight: 400 !important;
    
    /* Cross-browser multi-line text clipping configuration rules */
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}


.knews-home-hot {
	margin: 1rem calc(50% - 50vw) 0;
	/*padding: 1rem max(1rem, calc(50vw - 500px));*/
	background: #07998e;
	color: #fff;
	text-align: center;
	padding: 2rem 0;
}

.knews-home-hot h2 {
	margin: 0 0 0.8rem;
	font-family: Georgia, serif;
	letter-spacing: 0.03em;
}

.knews-home-hot__grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 0.65rem;
}

.knews-home-card--hot .knews-home-card__link {
	display: block;
	color: #fff;
}

.knews-home-card--hot .knews-home-card__media {
	aspect-ratio: 0.78 / 1;
	margin-bottom: 0.4rem;
}

.knews-home-card--hot .knews-home-card__title {
	font-size: 0.86rem;
	-webkit-line-clamp: 2;
}

.home .site-footer {
	margin-top: 0;
	padding-top: 1.4rem;
	background: #202020;
}

.home .site-footer .row {
	max-width: 1260px;
	margin-inline: auto;
}

@media (max-width: 900px) {
	.knews-home-top-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.knews-home-content-body {
		grid-template-columns: 1fr;
	}

	.knews-home-col--feature .knews-home-ad {
		min-height: 160px;
	}

	.knews-home-hero-ads {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.knews-home-story-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.knews-home-hot__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.knews-homepage {
		padding-inline: 0.75rem;
	}

	.knews-home-top-grid,
	.knews-home-story-grid,
	.knews-home-hot__grid {
		grid-template-columns: 1fr;
	}
}
