/* Native editorial blocks; the same classes also style the WordPress editor. */
.iu-internship-page { padding: 44px 0 72px; background: #f7f9fc; }
.iu-internship-blocks { color: #273950; font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.82; }
.iu-internship-blocks *, .iu-internship-blocks *::before, .iu-internship-blocks *::after { box-sizing: border-box; }
.iu-internship-blocks p { margin: 0 0 18px; }
.iu-internship-blocks a { color: #0758b8; text-underline-offset: 4px; overflow-wrap: anywhere; }
.iu-internship-blocks a:hover { color: #06337a; }
.iu-internship-blocks :focus-visible { outline: 3px solid #549ce9; outline-offset: 4px; }
.iu-internship-blocks h2 { color: #102f62; font-size: clamp(23px, 1.8vw, 29px); font-weight: 800; line-height: 1.3; letter-spacing: -.02em; margin: 0 0 20px; }
.iu-internship-blocks h3 { color: #15375e; font-size: 18px; line-height: 1.45; margin: 0 0 10px; }
.iu-internship-blocks .iu-internship-lead { max-width: 80ch; font-size: 18px; color: #53647a; margin-bottom: 32px; }
.iu-internship-blocks .iu-internship-section { padding: clamp(24px, 3vw, 40px); margin-bottom: 24px; min-width: 0; border: 1px solid #dce4ef; background: #fff; border-radius: 12px; }
.iu-internship-blocks .iu-internship-section:first-of-type { border-top: 4px solid #bb933f; }
.iu-internship-blocks .iu-internship-section:last-child { margin-bottom: 0; }
.iu-internship-blocks .iu-internship-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 24px 0; }
.iu-internship-blocks .iu-internship-facts > .wp-block-group__inner-container { display: contents; }
.iu-internship-blocks .iu-internship-fact { min-width: 0; background: #edf3fb; border-radius: 8px; padding: 24px; }
.iu-internship-blocks .iu-internship-fact p { margin-bottom: 0; }
.iu-internship-blocks .iu-internship-duration { color: #102f62; font-size: 32px; font-weight: 800; line-height: 1.3; }
.iu-internship-blocks .iu-internship-note { border-left: 3px solid #bb933f; padding: 16px 20px; background: #f2eee4; border-radius: 0 6px 6px 0; }
.iu-internship-blocks .iu-internship-source { font-size: 14px; color: #64758a; }
.iu-internship-blocks .iu-internship-resource { padding: 22px 24px; border: 1px solid #dce4ef; border-radius: 8px; background: #f7f9fc; margin-bottom: 22px; }
.iu-internship-blocks .iu-internship-resource p:last-child { margin-bottom: 0; font-size: 14px; color: #64758a; }
.iu-internship-blocks ul, .iu-internship-blocks ol { padding-left: 24px; margin: 18px 0 24px; }
.iu-internship-blocks li + li { margin-top: 10px; }
.iu-internship-blocks .wp-block-buttons { gap: 12px; margin: 24px 0 0; }
.iu-internship-blocks .wp-block-button__link { border-radius: 6px; background: #083b7d; color: #fff; padding: 12px 20px; font: inherit; font-weight: 700; line-height: 1.5; text-decoration: none; }
.iu-internship-blocks .wp-block-button__link:hover { background: #062e63; color: #fff; }
@media (max-width: 640px) {
  .iu-internship-page { padding: 30px 0 48px; }
  .iu-internship-blocks .iu-internship-lead { font-size: 16px; }
  .iu-internship-blocks .iu-internship-facts { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}


/* Internship news reuses the Faculty Union card layout. */
.iu-internship-news-page .iu-union-card-image--fallback { background: #fff; }
.iu-internship-news-page .iu-union-card-image--fallback img { object-fit: contain; }
.iu-internship-news-page a:focus-visible { outline: 3px solid #009ddc; outline-offset: 4px; }
@media (max-width: 640px) {
  .page-template-internship .header-inner { gap: 12px; }
  .page-template-internship .site-brand { flex: 1 1 auto; min-width: 0; width: auto; max-width: 220px; }
  .page-template-internship .header-actions { flex-shrink: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .iu-internship-news-page .iu-union-card-image img { transition: none; }
  .iu-internship-news-page .iu-union-card-image:hover img { transform: none; }
}
