/* HHRajas – News & Events Marquee */
.hhr-marquee { position: relative; background: #0f172a; padding: 12px; border-radius: 0; box-sizing: border-box; }
.hhr-marquee *, .hhr-marquee *::before, .hhr-marquee *::after { box-sizing: border-box; }
.hhr-viewport { position: relative; height: 480px; overflow: hidden; }
.hhr-marquee.hhr-fade .hhr-viewport {
	-webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 var(--hhr-fade, 6%), #000 calc(100% - var(--hhr-fade, 6%)), transparent 100%);
	mask-image: linear-gradient(to bottom, transparent 0, #000 var(--hhr-fade, 6%), #000 calc(100% - var(--hhr-fade, 6%)), transparent 100%);
}
.hhr-track { display: flex; flex-direction: column; will-change: transform; animation: hhr-up 30s linear infinite; }
.hhr-marquee[data-direction="down"] .hhr-track { animation-direction: reverse; }
.hhr-marquee.hhr-paused .hhr-track { animation-play-state: paused; }
@keyframes hhr-up { from { transform: translateY(0); } to { transform: translateY(calc(var(--hh-shift, 0px) * -1)); } }

.hhr-group { display: flex; flex-direction: column; }

/* Card */
.hhr-card {
	position: relative; display: flex; align-items: flex-start; gap: 16px;
	margin-bottom: 16px; padding: 18px 20px;
	background: #1e293b; border: 1px solid #334155; border-radius: 16px;
	transition: border-color .2s ease;
}
.hhr-card:hover { border-color: #475569; }

/* Date box */
.hhr-date {
	flex: 0 0 auto; width: 64px; height: 76px; display: flex; flex-direction: column; align-items: center; justify-content: center;
	background: linear-gradient(160deg, #2563eb, #1e40af); border: 1px solid #3b82f6; border-radius: 12px; text-align: center; line-height: 1.1;
}
.hhr-date-month { font-size: 11px; font-weight: 800; letter-spacing: .08em; color: #bfdbfe; text-transform: uppercase; }
.hhr-date-day   { font-size: 26px; font-weight: 800; color: #fff; }
.hhr-date-year  { font-size: 10px; font-weight: 600; color: #bfdbfe; }

/* Body */
.hhr-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.hhr-category { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #60a5fa; margin-bottom: 4px; }
.hhr-title { margin: 0 0 6px; font-size: 18px; font-weight: 700; line-height: 1.3; color: #fff; }
.hhr-title a { color: inherit; text-decoration: none; }
.hhr-desc { margin: 0 0 12px; font-size: 14px; line-height: 1.5; color: #94a3b8; }

.hhr-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 10px; border-top: 1px solid #334155; margin-top: auto; }
.hhr-time { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: #f59e0b; }
.hhr-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: #fbbf24; text-decoration: none; transition: color .2s ease; }
.hhr-link:hover { color: #fde68a; }
.hhr-time svg, .hhr-link svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }

/* Badge */
.hhr-badge {
	position: absolute; top: 12px; right: 14px; display: inline-flex; align-items: center; gap: 4px;
	padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 800; line-height: 1.4;
}
.hhr-badge i, .hhr-badge svg { font-size: 10px; width: 10px; height: 10px; fill: currentColor; }
.hhr-badge--red    { background: rgba(220,38,38,.35); color: #fca5a5; border: 1px solid rgba(248,113,113,.5); box-shadow: 0 0 14px rgba(220,38,38,.55); }
.hhr-badge--orange { background: #f59e0b; color: #fff; }

/* Hint pill */
.hhr-hint {
	position: absolute; right: 16px; bottom: 14px; z-index: 3; pointer-events: none;
	padding: 6px 14px; border-radius: 999px; font-size: 12px; color: #94a3b8;
	background: rgba(30,41,59,.92); border: 1px solid #334155;
}

@media (max-width: 600px) {
	.hhr-card { flex-direction: column; }
	.hhr-badge { position: static; align-self: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
	.hhr-track { animation: none !important; }
	.hhr-viewport { overflow-y: auto; }
	.hhr-group[data-clone] { display: none; }
}
