/* Fan News Aggregator – news list. Uses the theme's colours when it defines them (FanHub's --fh-*). */
.fna-feed { --fna-gap: 14px; display: grid; gap: var(--fna-gap); }
.fna-feed--grid { grid-template-columns: repeat(var(--fna-cols, 3), minmax(0, 1fr)); }
@media (max-width: 900px) { .fna-feed--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .fna-feed--grid { grid-template-columns: minmax(0, 1fr); } }

.fna-item {
	background: var(--fh-surface, #fff);
	border: 1px solid var(--fh-line, #e2e6ee);
	border-radius: var(--fh-radius, 10px);
	padding: 16px 18px;
	transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.fna-item:hover, .fna-item:focus-within { border-color: var(--fh-primary, #0047ab); box-shadow: 0 4px 14px rgba(16, 24, 40, .08); }
.fna-item__meta { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 13px; color: var(--fh-muted, #5d6779); margin-bottom: 8px; }
.fna-item__logo { width: 20px; height: 20px; border-radius: 4px; object-fit: contain; flex: none; background: #fff; }
.fna-item__source { font-weight: 700; color: var(--fh-text, #172033); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fna-item__time { white-space: nowrap; }
.fna-item__time::before { content: "·"; margin-right: 8px; }
.fna-item__title { margin: 0; font-size: 17px; line-height: 1.35; font-weight: 700; letter-spacing: -.005em; }
.fna-item__title a { color: var(--fh-text, #172033); text-decoration: none; }
.fna-item__title a:hover, .fna-item__title a:focus { color: var(--fh-primary, #0047ab); text-decoration: underline; text-underline-offset: 3px; }
/* The whole card opens the article (the headline link stretched over it). */
.fna-item { position: relative; }
.fna-item__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.fna-item__snippet {
	margin: 6px 0 0;
	font-size: 14.5px;
	line-height: 1.5;
	color: var(--fh-muted, #5d6779);
	display: -webkit-box;
	-webkit-line-clamp: var(--fna-lines, 2);
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.fna-empty { padding: 24px; text-align: center; color: var(--fh-muted, #5d6779); }

.fna-pager { display: flex; justify-content: space-between; gap: 12px; margin-top: 20px; }
.fna-pager__link { display: inline-block; padding: 10px 16px; border-radius: 8px; background: var(--fh-primary, #0047ab); color: #fff; font-weight: 700; text-decoration: none; }
.fna-pager__link:hover, .fna-pager__link:focus { background: var(--fh-dark, #0b1f3a); color: #fff; }
.fna-pager__link--next { margin-left: auto; }
/* [fan_news_daily_link] */
.fna-daily__title { display: block; font-weight: 800; font-size: 16px; line-height: 1.35; color: var(--fh-text, #172033); text-decoration: none; }
.fna-daily__title:hover, .fna-daily__title:focus { color: var(--fh-primary, #0047ab); }
.fna-daily__meta { margin: 6px 0 12px; font-size: 13.5px; color: var(--fh-muted, #5d6779); }
.fna-daily__btn { display: inline-block; padding: 9px 14px; border-radius: 8px; background: var(--fh-accent, #ffd100); color: var(--fh-on-accent, #0b1f3a); font-weight: 800; font-size: 14px; text-decoration: none; }
.fna-daily__btn:hover, .fna-daily__btn:focus { background: var(--fh-dark, #0b1f3a); color: #fff; }

.fna-sources { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fna-sources a, .fna-sources li > span { display: flex; align-items: center; gap: 10px; color: var(--fh-text, #172033); text-decoration: none; font-weight: 600; font-size: 14.5px; }
.fna-sources a:hover, .fna-sources a:focus { color: var(--fh-primary, #0047ab); }
.fna-sources img { width: 20px; height: 20px; border-radius: 4px; object-fit: contain; background: #fff; }
.fna-feed .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
