/* Home sections «Προγράμματα σπουδών» and «Νέα & σεμινάρια» (#364), in the language of the home's own cards. */
body.home .mec-home-2026 .mec-home-section { margin: 8px 0 56px; }
body.home .mec-home-2026 .mec-home-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
body.home .mec-home-2026 .mec-home-head .mec-title { margin: 0 0 8px; color: var(--mec-dark); font-family: inherit; font-size: 32px; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; text-transform: none; }
body.home .mec-home-2026 .mec-home-head .mec-btn { flex: none; }
body.home .mec-home-2026 .mec-home-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
body.home .mec-home-2026 .mec-home-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--mec-border); border-radius: 16px; background: #fff; color: var(--mec-dark); text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
body.home .mec-home-2026 .mec-home-card-link { display: flex; flex: 1; flex-direction: column; color: inherit; text-decoration: none; }
body.home .mec-home-2026 .mec-home-card:hover { transform: translateY(-3px); box-shadow: var(--mec-shadow); }
body.home .mec-home-2026 .mec-home-card:focus-within { outline: 3px solid #f59a9e; outline-offset: 3px; }
body.home .mec-home-2026 .mec-home-photo { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--mec-soft); }
body.home .mec-home-2026 .mec-home-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* News photos are posters and logos: complete, not cropped to the box. */
body.home .mec-home-2026 .mec-home-photo-contain img { object-fit: contain; padding: 12px; }
body.home .mec-home-2026 .mec-home-photo-fallback { display: flex; align-items: center; justify-content: center; height: 100%; color: #9e1720; font-size: 20px; font-weight: 700; }
body.home .mec-home-2026 .mec-home-chip { position: absolute; top: 12px; left: 12px; padding: 6px 12px; border-radius: 30px; background: rgba(22, 27, 34, .85); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .06em; line-height: 1.4; text-transform: uppercase; }
body.home .mec-home-2026 .mec-home-card-body { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 20px 22px 22px; }
body.home .mec-home-2026 .mec-home-card time { color: var(--mec-muted); font-size: 13px; font-weight: 600; }
body.home .mec-home-2026 .mec-home-card strong { font-size: 18px; font-weight: 700; line-height: 1.3; }
body.home .mec-home-2026 .mec-home-more { margin-top: auto; padding-top: 6px; color: var(--mec-red); font-size: 14px; font-weight: 700; }
body.home .mec-home-2026 .mec-home-card:hover .mec-home-more { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) {
  body.home .mec-home-2026 .mec-home-head { flex-direction: column; align-items: flex-start; }
  body.home .mec-home-2026 .mec-home-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}
@media (max-width: 600px) {
  body.home .mec-home-2026 .mec-home-section { margin-bottom: 40px; }
  body.home .mec-home-2026 .mec-home-head .mec-title { font-size: 26px; }
  body.home .mec-home-2026 .mec-home-grid { grid-template-columns: minmax(0, 1fr); }
}
/* The cards are links. site-ui.css underlines and reddens every link of a .wpb_text_column with !important, and the
   underline propagates to the title and date inside the card; same specificity (1,4,1), later file, !important. Only the
   «Περισσότερα» line reads as a link, as in the catalogue cards. */
body.mec-site-ui #main .wpb_text_column .mec-home-2026 a:is(.mec-home-card, .mec-home-card-link) { color: var(--mec-dark) !important; text-decoration: none !important; }
body.mec-site-ui #main .mec-home-2026 .mec-home-card .mec-home-more { color: var(--mec-red); }
body.mec-site-ui #main .mec-home-2026 .mec-home-card:hover .mec-home-more { text-decoration: underline; text-underline-offset: 3px; }
