/* EG Πρακτικός Οδηγός */
.egpg {
	--egpg-ink: #212121;
	--egpg-muted: #5A5A5A;
	--egpg-sky: #1DA1F2;
	--egpg-sea: #317DBF;
	--egpg-sea-dark: #26679F;
	--egpg-tint: #E8F5FE;
	--egpg-tint-2: #D6ECFC;
	--egpg-line: #D9E9F5;
	--egpg-ochre: #EAB943;
	--egpg-ochre-dark: #D9A52C;
	--egpg-cream: #FAF1E3;
	box-sizing: border-box;
	font-family: inherit;
	line-height: 1.4;
}
.egpg *, .egpg *::before, .egpg *::after { box-sizing: inherit; }
.egpg a { text-decoration: none !important; box-shadow: none !important; border: 0; }
.egpg a:focus-visible { outline: 3px solid var(--egpg-sky); outline-offset: 2px; }
.egpg p, .egpg.egpg-guide p, .egpg .egpg-offer p { margin: 0 !important; padding: 0 !important; }
.egpg-ico { width: 18px; height: 18px; flex-shrink: 0; display: block; }

/* Γραμμή στην αρχή του άρθρου */
.egpg-bar {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 1.5em;
	padding: 6px 6px 6px 12px;
	border-radius: 999px;
	background: var(--egpg-tint);
	color: var(--egpg-ink);
	max-width: 100%;
}
.egpg-bar__place { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.egpg-bar__place .egpg-ico { color: var(--egpg-sea); width: 16px; height: 16px; }
.egpg-bar__spacer { flex-grow: 1; }
.egpg .egpg-chip {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	height: 34px;
	padding: 0 14px;
	border-radius: 999px;
	background: #FFFFFF;
	color: var(--egpg-ink) !important;
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
	transition: background-color .15s ease;
}
.egpg .egpg-chip:hover { background: var(--egpg-tint-2); }
.egpg .egpg-chip--accent { background: var(--egpg-ochre); color: var(--egpg-ink) !important; }
.egpg .egpg-chip--accent:hover { background: var(--egpg-ochre-dark); }
.egpg-chip .egpg-ico { width: 12px; height: 12px; stroke-width: 2.5; }

/* Μπλοκ στο τέλος */
.egpg-guide { container-type: inline-size; margin: 2.5em 0; clear: both; }
.egpg-guide__inner {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 22px 16px 18px;
	border: 1px solid var(--egpg-line);
	border-top: 6px solid var(--egpg-sky);
	border-radius: 18px;
	background: #FFFFFF;
	color: var(--egpg-ink);
}
.egpg-guide__head { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.egpg.egpg-guide p.egpg-eyebrow {
	display: inline-block;
	padding: 4px 10px !important;
	border-radius: 999px;
	background: var(--egpg-ochre);
	color: var(--egpg-ink);
	font-size: 12px !important;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
}
.egpg .egpg-guide__title {
	margin: 0 !important;
	padding: 0 !important;
	font-size: 24px !important;
	line-height: 1.2 !important;
	font-weight: 800;
	color: var(--egpg-ink) !important;
	border: 0 !important;
	background: none !important;
}

.egpg-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.egpg-side { display: flex; flex-direction: column; gap: 12px; }

.egpg-offer { display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; background: var(--egpg-cream); color: var(--egpg-ink); }
.egpg-offer__img { display: block; width: 100%; height: 170px; object-fit: cover; margin: 0 !important; border-radius: 0 !important; }
.egpg-offer__img--empty { background: var(--egpg-tint-2); }
.egpg-offer__body { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px 16px; }
.egpg-offer__tag { display: flex; align-items: center; gap: 8px; }
.egpg-badge { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #FFFFFF; background: var(--egpg-sea); padding: 4px 8px; border-radius: 6px; }
.egpg-offer__via { font-size: 12px; color: var(--egpg-muted); }
.egpg-offer__title { font-size: 18px !important; font-weight: 800; line-height: 1.3 !important; }
.egpg-offer__meta { font-size: 14px !important; color: var(--egpg-muted); }
.egpg .egpg-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	margin-top: 4px;
	border-radius: 12px;
	background: var(--egpg-ochre);
	color: var(--egpg-ink) !important;
	font-size: 15px;
	font-weight: 800;
	transition: background-color .15s ease;
}
.egpg .egpg-btn:hover { background: var(--egpg-ochre-dark); }

.egpg .egpg-row {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 64px;
	padding: 12px 14px;
	border-radius: 14px;
	background: var(--egpg-tint);
	color: var(--egpg-ink) !important;
	transition: background-color .15s ease;
}
.egpg .egpg-row:hover, .egpg .egpg-ferry:hover { background: var(--egpg-tint-2); }
.egpg .egpg-row > .egpg-ico { color: var(--egpg-sea); }
.egpg-row__ico { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: #FFFFFF; color: var(--egpg-sea); flex-shrink: 0; }
.egpg-row__ico .egpg-ico { width: 20px; height: 20px; }
.egpg-row__text { display: flex; flex-direction: column; gap: 2px; flex-grow: 1; min-width: 0; }
.egpg-row__title { font-size: 15px; font-weight: 800; color: var(--egpg-ink); }
.egpg-row__sub { font-size: 13px; color: var(--egpg-muted); }

.egpg .egpg-ferry {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 16px;
	border-radius: 14px;
	background: var(--egpg-tint);
	color: var(--egpg-ink) !important;
	transition: background-color .15s ease;
}
.egpg-ferry__head { display: flex; align-items: center; gap: 12px; }
.egpg-route { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 14px; border-radius: 12px; background: #FFFFFF; }
.egpg-route > span { display: flex; flex-direction: column; min-width: 0; }
.egpg-route small { font-size: 12px; color: var(--egpg-muted); }
.egpg-route strong { font-size: 16px; font-weight: 800; color: var(--egpg-ink); }
.egpg-route .egpg-ico { width: 28px; height: 16px; color: var(--egpg-sky); }
.egpg-route__to { align-items: flex-end; text-align: right; }
.egpg-ferry__cta { display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 10px; background: var(--egpg-sea); color: #FFFFFF; font-size: 14px; font-weight: 800; }
.egpg .egpg-ferry:hover .egpg-ferry__cta { background: var(--egpg-sea-dark); }

.egpg-note { font-size: 12px !important; line-height: 1.5 !important; color: var(--egpg-muted); }

/* Απόσταση όταν μια διαφήμιση καταλήξει δίπλα στον οδηγό */
.egpg.egpg--spaced-before { margin-top: 3em; }
.egpg.egpg--spaced-after { margin-bottom: 3em; }

@container (min-width: 640px) {
	.egpg-guide__inner { padding: 32px; gap: 20px; }
	.egpg .egpg-guide__title { font-size: 30px !important; }
	.egpg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
	.egpg-offer__img { height: 180px; }
	/* Μόνο η κάρτα προσφοράς: οριζόντια διάταξη */
	.egpg-guide__inner > .egpg-offer { flex-direction: row; }
	.egpg-guide__inner > .egpg-offer .egpg-offer__img { width: 42%; height: auto; min-height: 230px; flex-shrink: 0; }
	.egpg-guide__inner > .egpg-offer .egpg-offer__body { justify-content: center; gap: 10px; padding: 24px 28px; }
	.egpg-guide__inner > .egpg-offer .egpg-offer__title { font-size: 20px !important; }
	.egpg-guide__inner > .egpg-offer .egpg-btn { align-self: flex-start; padding: 0 28px; margin-top: 8px; }
}

@media (max-width: 380px) {
	.egpg-bar .egpg-chip:not(.egpg-chip--accent) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	.egpg * { transition: none !important; }
}

@media print {
	.egpg { display: none !important; }
}
