/* Haber Toplayıcısı — ön yüz · Dr.MCY · ai.drmcy.com.tr */

.hbt-app {
	--hbt-accent: #2563eb;
	--hbt-ink: #111827;
	--hbt-muted: #6b7280;
	--hbt-line: #e5e7eb;
	--hbt-bg: #f9fafb;
	color: var(--hbt-ink);
	font-size: 15px;
	line-height: 1.6;
	margin: 0 0 2.5rem;
}

.hbt-app *,
.hbt-app *::before,
.hbt-app *::after {
	box-sizing: border-box;
}

/* ---------- araç çubuğu ---------- */

.hbt-toolbar {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	align-items: flex-start;
	padding: 18px 20px;
	background: var(--hbt-bg);
	border: 1px solid var(--hbt-line);
	border-radius: 14px;
	margin-bottom: 18px;
}

.hbt-field { min-width: 180px; }
.hbt-field-countries { flex: 1 1 380px; }
.hbt-field-search { flex: 0 1 240px; margin-left: auto; }

.hbt-field > label {
	display: block;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--hbt-muted);
	margin-bottom: 7px;
}

.hbt-date-row {
	display: flex;
	align-items: center;
	gap: 7px;
}

.hbt-app input[type="date"],
.hbt-app input[type="search"] {
	border: 1px solid #d1d5db;
	border-radius: 9px;
	padding: 7px 11px;
	font-size: 13px;
	font-family: inherit;
	background: #fff;
	color: inherit;
	width: 100%;
	max-width: 100%;
}

.hbt-app input:focus {
	outline: none;
	border-color: var(--hbt-accent);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--hbt-accent) 18%, transparent);
}

.hbt-date-sep { color: var(--hbt-muted); }

/* ---------- çipler ---------- */

.hbt-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}

.hbt-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 13px;
	border-radius: 999px;
	border: 1px solid var(--hbt-line);
	background: #fff;
	color: var(--hbt-ink);
	font-size: 13px;
	font-family: inherit;
	line-height: 1.35;
	cursor: pointer;
	transition: background .15s, border-color .15s, color .15s;
}

.hbt-chip:hover {
	border-color: var(--hbt-accent);
	color: var(--hbt-accent);
}

.hbt-chip.is-active {
	background: var(--hbt-accent);
	border-color: var(--hbt-accent);
	color: #fff;
}

.hbt-chip-count {
	font-size: 11px;
	padding: 1px 6px;
	border-radius: 999px;
	background: rgba(0, 0, 0, .07);
	line-height: 1.5;
}

.hbt-chip.is-active .hbt-chip-count { background: rgba(255, 255, 255, .26); }

.hbt-categories { margin-bottom: 16px; }
.hbt-cat-empty { color: var(--hbt-muted); font-size: 13px; }

/* ---------- meta çubuğu ---------- */

.hbt-meta-bar {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 13px;
	color: var(--hbt-muted);
	padding-bottom: 10px;
	margin-bottom: 16px;
	border-bottom: 1px solid var(--hbt-line);
}

.hbt-spinner {
	width: 15px;
	height: 15px;
	border: 2px solid var(--hbt-line);
	border-top-color: var(--hbt-accent);
	border-radius: 50%;
	animation: hbt-spin .7s linear infinite;
}

@keyframes hbt-spin { to { transform: rotate(360deg); } }

.hbt-app.is-loading .hbt-results { opacity: .5; transition: opacity .2s; }

/* ---------- ızgara / kartlar ---------- */

.hbt-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 20px;
}

.hbt-layout-list .hbt-grid { grid-template-columns: 1fr; }

.hbt-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--hbt-line);
	border-radius: 14px;
	overflow: hidden;
	transition: transform .18s, box-shadow .18s, border-color .18s;
}

.hbt-card:hover {
	transform: translateY(-2px);
	border-color: color-mix(in srgb, var(--hbt-accent) 40%, var(--hbt-line));
	box-shadow: 0 10px 24px -12px rgba(15, 23, 42, .28);
}

.hbt-layout-list .hbt-card { flex-direction: row; }
.hbt-layout-list .hbt-card-media { flex: 0 0 220px; }

.hbt-card-media {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--hbt-bg);
}

.hbt-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.hbt-card-body {
	padding: 16px 18px 18px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.hbt-card-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 9px;
}

.hbt-tag {
	font-size: 10.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .05em;
	padding: 3px 8px;
	border-radius: 5px;
}

.hbt-tag-cat {
	background: color-mix(in srgb, var(--hbt-accent) 12%, #fff);
	color: var(--hbt-accent);
}

.hbt-tag-country { background: var(--hbt-bg); color: var(--hbt-muted); }

.hbt-card-title {
	margin: 0 0 6px;
	font-size: 16.5px;
	line-height: 1.35;
	font-weight: 650;
	letter-spacing: -.01em;
}

.hbt-card-orig-title {
	margin: 0 0 8px;
	font-size: 13px;
	color: var(--hbt-muted);
	font-style: italic;
	line-height: 1.45;
}

.hbt-card-text {
	font-size: 14px;
	line-height: 1.65;
	color: #374151;
	flex: 1;
}

.hbt-card-text p { margin: 0 0 .8em; }
.hbt-card-text p:last-child { margin-bottom: 0; }

.hbt-orig {
	margin-top: 10px;
	border-top: 1px dashed var(--hbt-line);
	padding-top: 8px;
}

.hbt-orig summary {
	cursor: pointer;
	font-size: 12.5px;
	color: var(--hbt-accent);
	font-weight: 600;
}

.hbt-card-text-orig {
	margin-top: 8px;
	font-size: 13px;
	color: var(--hbt-muted);
}

.hbt-card-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: 14px;
	padding-top: 10px;
	border-top: 1px solid var(--hbt-line);
	font-size: 12px;
	color: var(--hbt-muted);
}

.hbt-source { font-weight: 600; }

.hbt-orig-link {
	display: inline-block;
	margin-top: 10px;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--hbt-accent);
	text-decoration: none;
}

.hbt-orig-link:hover { text-decoration: underline; }

/* ---------- diğer ---------- */

.hbt-empty {
	padding: 40px 20px;
	text-align: center;
	color: var(--hbt-muted);
	background: var(--hbt-bg);
	border: 1px dashed var(--hbt-line);
	border-radius: 14px;
}

.hbt-more-wrap { text-align: center; margin-top: 24px; }

.hbt-more {
	padding: 10px 26px;
	border-radius: 999px;
	border: 1px solid var(--hbt-accent);
	background: #fff;
	color: var(--hbt-accent);
	font-size: 14px;
	font-family: inherit;
	font-weight: 600;
	cursor: pointer;
	transition: background .15s, color .15s;
}

.hbt-more:hover { background: var(--hbt-accent); color: #fff; }

.hbt-brand {
	margin-top: 26px;
	padding-top: 14px;
	border-top: 1px solid var(--hbt-line);
	font-size: 11.5px;
	color: var(--hbt-muted);
	text-align: center;
}

.hbt-brand a { color: inherit; }

@media (max-width: 640px) {
	.hbt-toolbar { flex-direction: column; gap: 14px; }
	.hbt-field, .hbt-field-search { width: 100%; margin-left: 0; }
	.hbt-layout-list .hbt-card { flex-direction: column; }
	.hbt-layout-list .hbt-card-media { flex: auto; }
}
