/* Lettura continua: colonna degli articoli, caricamento e scheletro */
.idh-feed-col { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 56px; }
.idh-feed-col > .igdp-art { flex: none; width: 100%; box-sizing: border-box; }
.idh-feed-next { padding-top: 48px; border-top: 2px solid var(--igdp-ink, #0F1D2D); }

.idh-feed-load { display: flex; flex-direction: column; gap: 24px; padding-top: 40px; border-top: 2px solid var(--igdp-ink, #0F1D2D); }
.idh-feed-msg { display: flex; align-items: center; gap: 12px; margin: 0; font-family: var(--igdp-font-sans), system-ui, sans-serif; font-size: 15px; font-weight: 700; color: var(--igdp-ink, #0F1D2D); }
.idh-feed-spin { width: 20px; height: 20px; border-radius: 50%; border: 3px solid var(--igdp-sand, #EFE8DE); border-top-color: var(--igdp-lava, #C4521F); animation: idh-feed-rot .8s linear infinite; }
@keyframes idh-feed-rot { to { transform: rotate(360deg); } }
.idh-feed-err { color: var(--igdp-lava-text, #B4471B); }
.idh-feed-retry { appearance: none; border: 1px solid var(--igdp-ink, #0F1D2D); border-radius: 999px; padding: 6px 14px; background: #fff; color: var(--igdp-ink, #0F1D2D); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }

.idh-feed-skel { display: flex; flex-direction: column; gap: 14px; }
.idh-sk { display: block; border-radius: 6px; background: linear-gradient(90deg, var(--igdp-sand, #EFE8DE) 25%, #f7f2ea 50%, var(--igdp-sand, #EFE8DE) 75%); background-size: 200% 100%; animation: idh-feed-shim 1.4s ease-in-out infinite; }
@keyframes idh-feed-shim { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.idh-sk-crumb { height: 12px; width: 180px; }
.idh-sk-title { height: 38px; width: 100%; border-radius: 8px; }
.idh-sk-line { height: 14px; width: 100%; }
.idh-sk-w25 { width: 25%; } .idh-sk-w40 { width: 40%; } .idh-sk-w70 { width: 70%; } .idh-sk-w85 { width: 85%; }
.idh-sk-by { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.idh-sk-by > div { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.idh-sk-ava { width: 44px; height: 44px; border-radius: 50%; flex: none; }
.idh-sk-img { width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; }

.idh-feed-end { padding: 32px 0 8px; border-top: 2px solid var(--igdp-ink, #0F1D2D); display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; font-family: var(--igdp-font-sans), system-ui, sans-serif; }
.idh-feed-end p { margin: 0; color: var(--igdp-muted, #6B5F55); font-size: 15px; }
.idh-feed-end a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 22px; border-radius: 999px; background: var(--igdp-ink, #0F1D2D); color: #fff; font-weight: 700; font-size: 15px; text-decoration: none; }
.idh-feed-end a:hover, .idh-feed-end a:focus-visible { background: var(--igdp-lava, #C4521F); }

@media (max-width: 767px) { .idh-feed-col { gap: 40px; } .idh-feed-next { padding-top: 36px; } .idh-sk-title { height: 30px; } }
@media (prefers-reduced-motion: reduce) { .idh-sk, .idh-feed-spin { animation: none; } }

/* Articolo: la colonna, il testo e i banner usano tutta la larghezza disponibile. */
.igdp-art .igdp-body { width: 100%; max-width: none; min-width: 0; }
.igdp-art .idh-ad-article { align-self: stretch; width: 100%; max-height: 240px; overflow: hidden; }
.igdp-art .idh-ad-article .idh-ad-ph { width: 100%; max-width: none; height: clamp(100px, 18vw, 215px); aspect-ratio: auto !important; }
.igdp-art .idh-ad-article .idh-rot, .igdp-art .idh-ad-article .idh-adg, .igdp-art .idh-ad-article .idh-dev { width: 100%; max-height: 215px; }
.igdp-art .idh-ad-article .idh-adc { width: 100%; max-width: 100% !important; max-height: 215px; }
.igdp-art .idh-ad-google { margin: 14px 0; }
.igdp-share { flex-wrap: wrap; }
.igdp-share .igdp-share-btn { display: inline-flex; align-items: center; justify-content: center; gap: 5px; font: inherit; cursor: pointer; }
.igdp-share button.igdp-share-btn { appearance: none; }
.igdp-share svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.idh-share-wrap { position: relative; }
.idh-share-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; min-width: 205px; padding: 6px; border: 1px solid var(--igdp-line, #E3DBCF); border-radius: 10px; background: #fff; box-shadow: 0 8px 24px rgba(15,29,45,.16); }
.idh-share-menu[hidden], .idh-saved-list[hidden] { display: none; }
.idh-share-menu a, .idh-share-menu button { display: block; box-sizing: border-box; width: 100%; border: 0; border-radius: 6px; padding: 9px 10px; background: transparent; color: var(--igdp-ink, #0F1D2D); text-align: left; text-decoration: none; font: inherit; cursor: pointer; }
.idh-share-menu a:hover, .idh-share-menu button:hover { background: var(--igdp-sand, #EFE8DE); }
.idh-saved-list { border-top: 1px solid var(--igdp-line, #E3DBCF); margin-top: 6px; padding-top: 6px; max-height: 220px; overflow: auto; }
.idh-saved-list strong { display: block; padding: 6px 10px; font-size: 12px; }
.igdp-share .idh-favorite[aria-pressed="true"] svg { fill: currentColor; }
.idh-share-status { flex-basis: 100%; text-align: right; font-size: 12px; }
@media (max-width: 767px) { .igdp-art .idh-ad-article .idh-ad-ph { height: 100px; } }

.idh-share-menu .idh-share-native[hidden] { display: none; }

/* Discover e preferiti temporaneamente nascosti. */
.igdp-share .idh-discover, .igdp-share .idh-favorite { display: none !important; }
