/* ═══ Κέλυφος hubs: κεφαλίδα, «Ξεκίνα από εδώ», ροή, σχετικά ═══ */

.hub {
	--hub-grad: linear-gradient(135deg, var(--accent) 0%, #8b5cf6 100%);
	--hub-radius: 16px;
}
:root[data-theme="dark"] .hub { --hub-grad: linear-gradient(135deg, #7c3aed 0%, var(--accent) 100%); }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .hub { --hub-grad: linear-gradient(135deg, #7c3aed 0%, var(--accent) 100%); }
}

.hub-section { margin-top: 40px; }

/* ── Κεφαλίδα ── */
.hub-head {
	display: grid;
	grid-template-columns: 280px minmax(0, 1fr);
	gap: 22px 30px;
	align-items: start;
	padding-top: 30px;
}
.hub-side { grid-column: 1; grid-row: 1 / span 2; }
.hub-main { grid-column: 2; grid-row: 1; }
.hub-info { grid-column: 2; grid-row: 2; }
/* Τα σύμπαντα δεν έχουν ταυτότητα — μόνο εξώφυλλο και πύλες. */
.hub-head.is-universe .hub-side { grid-row: 1; }

.hub-cover {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 22px;
	box-shadow: var(--shadow-lift);
	padding: 12px;
}
.hub-cover img { width: 100%; height: auto; border-radius: var(--hub-radius); display: block; }
.hub-follow {
	width: 100%;
	margin-top: 12px;
	padding: 11px 16px;
	border: 0;
	border-radius: 12px;
	background: var(--hub-grad);
	color: #fff;
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}
.hub-follow svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hub-follow.is-following { background: var(--score); box-shadow: none; }

.hub-score {
	margin-top: 12px;
	padding: 14px;
	text-align: center;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--hub-radius);
}
.hub-score .n { font-family: var(--font-display); font-size: 44px; line-height: 1; font-variant-numeric: tabular-nums; }
.hub-score .n small { font-size: 18px; color: var(--ink-2); font-weight: 700; }
.hub-score .dots { display: flex; gap: 5px; justify-content: center; margin: 9px 0 10px; }
.hub-score .dots i { width: 13px; height: 13px; border-radius: 50%; background: var(--line); }
.hub-score .dots i.f { background: var(--hub-grad); }
.hub-score .dots i.h { background: linear-gradient(90deg, var(--accent) 50%, var(--line) 50%); }
.hub-score a { display: block; font-size: 13.5px; font-weight: 700; color: var(--accent); }

.hub-title { font-size: 56px; margin-bottom: 10px; }
.hub-lead { font-size: 17px; color: var(--ink-2); margin: 0 0 18px; max-width: 70ch; }

.hub-acts { display: flex; gap: 10px; flex-wrap: wrap; }
.hub-act {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 18px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--card);
	font-size: 14.5px;
	font-weight: 700;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.hub-act svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.hub-act:hover { border-color: var(--accent); color: var(--accent); }
.hub-act.solid { background: var(--hub-grad); border-color: transparent; color: #fff; box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3); }
.hub-act.solid:hover { color: #fff; filter: brightness(1.06); }

/* ── Ταυτότητα σε πλέγμα (όχι στήλη έξι σειρών) ── */
.hub-info {
	margin: 0;
	padding: 6px 20px;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--hub-radius);
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0 26px;
}
.hub-info .info-item { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.hub-info .info-item:nth-last-child(-n + 3) { border-bottom: 0; }
.hub-info .info-ico {
	flex: none;
	width: 34px;
	height: 34px;
	border-radius: 10px;
	background: var(--hub-grad);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 8px rgba(124, 58, 237, 0.2);
}
.hub-info .info-ico svg { width: 17px; height: 17px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hub-info .info-text { min-width: 0; }
.hub-info .info-label { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); }
.hub-info .info-value { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.35; }
.hub-info .info-value a { color: var(--accent); font-weight: 700; }
.hub-info .info-value a:hover { text-decoration: underline; }

/* ── Κείμενο σελίδας ── */
.hub-intro { font-size: 16.5px; }
.hub-intro p:first-child { margin-top: 0; }

/* ── «Ξεκίνα από εδώ» ── */
.hub-picks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hub-pick {
	display: grid;
	grid-template-columns: 104px minmax(0, 1fr);
	gap: 14px;
	align-items: center;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--hub-radius);
	overflow: hidden;
}
.hub-pick img { width: 104px; height: 100%; min-height: 96px; object-fit: cover; }
.hub-pick .b { padding: 12px 14px 12px 0; }
.hub-pick .kind { font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); margin-bottom: 5px; }
.hub-pick h3 { font-size: 16.5px; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hub-pick:hover { border-color: var(--accent); box-shadow: var(--shadow-lift); }

/* ── Φίλτρα ── */
.hub-tabs {
	display: flex;
	gap: 6px;
	width: max-content;
	max-width: 100%;
	margin-bottom: 22px;
	padding: 6px;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 999px;
	overflow-x: auto;
}
.hub-tabs a { padding: 8px 20px; border-radius: 999px; font-size: 14.5px; font-weight: 700; color: var(--ink-2); white-space: nowrap; }
.hub-tabs a.on { background: var(--hub-grad); color: #fff; }
.hub-tabs a:hover { color: var(--ink); }
.hub-tabs a.on:hover { color: #fff; }

/* ── Ροή ── */
.hub-lead-card {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
	gap: 24px;
	align-items: center;
	margin-bottom: 22px;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--hub-radius);
	overflow: hidden;
}
.hub-lead-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.hub-lead-card .b { padding: 8px 24px 8px 0; }
.hub-lead-card h3 { font-size: 28px; margin-bottom: 10px; }
.hub-lead-card p { margin: 0 0 10px; color: var(--ink-2); font-size: 15.5px; }
.hub-lead-card:hover { border-color: var(--accent); }

.hub-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.hub-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--hub-radius); overflow: hidden; }
.hub-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.hub-card .b { padding: 14px 16px 16px; }
.hub-card h3 { font-size: 17px; margin-bottom: 9px; }
.hub-card:hover { border-color: var(--accent); box-shadow: var(--shadow-lift); }

.hub .meta { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-2); }
.hub .meta .tag { font-size: 11px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: var(--accent); }
.hub-empty { color: var(--ink-2); }

/* ── Ενότητες με «Όλα →» ── */
.hub .section-head .more { font-size: 13.5px; font-weight: 700; color: var(--accent); white-space: nowrap; }

/* ── FAQ ── */
.hub .faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
.hub .faq summary { padding: 14px 18px; font-weight: 700; cursor: pointer; list-style: none; }
.hub .faq summary::-webkit-details-marker { display: none; }
.hub .faq .faq-answer { padding: 0 18px 15px; color: var(--ink-2); font-size: 15.5px; }

@media (max-width: 1000px) {
	.hub-info { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hub-info .info-item:nth-last-child(-n + 3) { border-bottom: 1px solid var(--line); }
	.hub-info .info-item:nth-last-child(-n + 2) { border-bottom: 0; }
	.hub-picks, .hub-cards { grid-template-columns: repeat(2, 1fr); }
	.hub-title { font-size: 44px; }
}

@media (max-width: 760px) {
	/* Εξώφυλλο μικρό δίπλα στον τίτλο, ταυτότητα σε πλήρες πλάτος, άρθρα αμέσως
	   μετά: καμία στήλη δεν βυθίζεται κάτω από τη ροή. */
	.hub-head { grid-template-columns: 145px minmax(0, 1fr); gap: 14px; padding-top: 18px; }
	.hub-side { grid-row: 1; }
	.hub-info { grid-column: 1 / -1; grid-row: auto; grid-template-columns: 1fr; margin-top: 6px; }
	.hub-info .info-item { border-bottom: 1px solid var(--line); }
	.hub-info .info-item:last-child { border-bottom: 0; }
	.hub-cover { padding: 8px; border-radius: var(--hub-radius); }
	.hub-follow { padding: 9px 8px; font-size: 13px; gap: 6px; white-space: nowrap; }
	.hub-follow svg { width: 15px; height: 15px; }
	.hub-score { padding: 10px; }
	.hub-score .n { font-size: 30px; }
	.hub-score .dots { margin: 7px 0 0; gap: 4px; }
	.hub-score .dots i { width: 10px; height: 10px; }
	.hub-score a { display: none; }
	.hub-title { font-size: 34px; }
	.hub-lead { font-size: 15.5px; }
	.hub-act { padding: 9px 14px; font-size: 13.5px; }
	.hub-picks, .hub-cards { grid-template-columns: 1fr; }
	.hub-lead-card { grid-template-columns: 1fr; }
	.hub-lead-card .b { padding: 0 18px 18px; }
	.hub-lead-card h3 { font-size: 22px; }
}
