/* Shared content sizing. Loaded after page styles. */
img, video { max-width:100%; height:auto; }
main, section, article, aside, .container, .logo, .logo-text { min-width:0; }
button, input, select, textarea { font:inherit; }
button, a, input, select, textarea { touch-action:manipulation; }
a:focus-visible, button:focus-visible { outline:3px solid #ad814f; outline-offset:3px; }
.entry-content { overflow-wrap:anywhere; }
.entry-content ul, .entry-content ol { padding-left:1.4em; }
.entry-content table { display:block; max-width:100%; overflow-x:auto; }
.entry-content iframe { max-width:100%; }
.cic-social-symbol { width:20px; height:20px; object-fit:contain; flex-shrink:0; }
.department-social-links { display:flex; flex-wrap:wrap; gap:8px; padding:0; margin-top:16px; }
.department-social-links a { display:inline-flex; align-items:center; justify-content:center; width:26px; height:26px; border:1px solid rgba(148,163,184,.26); border-radius:50%; color:var(--footer-text); }
.department-social-links a:hover { color:var(--footer-title); border-color:currentColor; }
.department-social-links .cic-social-icon { font-size:12px; }
@media(max-width:1024px) {
    .news-column { position:static; }
}
@media(max-width:768px) {
    .container { width:100%; max-width:100%; padding-inline:18px; }
    .site-desktop-wrapper { width:100%; max-width:100%; }
    .department-social-links { margin-left: 0; padding-bottom: 0; }
    .footer-brand-logos { min-height: 78px; gap: 14px; margin-bottom: 14px; }
    .footer-brand-logo img { height: 68px; }
    .footer-brand-logo:last-child img { height: 58px; }
    .footer-logo-divider { height: 42px; }
    .footer-brand-title { font-size: 20px; }
    .footer-contact-column { grid-column: 1 / -1; }
    .footer-bottom-row { align-items: flex-start !important; text-align: left !important; }
    .footer-legal-links { justify-content: flex-start !important; }
    .top-bar .container { gap:8px !important; }
    .top-bar .logo { flex:1; min-width:0; }
    .top-bar .logo-link { gap:6px !important; min-width:0; }
    .top-bar .logo-text { min-width:0; flex:1; }
    .top-bar.nav-collapsed .logo-title { font-size:clamp(12px,3vw,18px) !important; white-space:normal !important; line-height:1.25; }
    .top-bar .logo-subtitle { white-space:normal !important; font-size:7px !important; letter-spacing:.04em; }
    .top-bar .logo-crest, .top-bar .logo-divider { flex-shrink:0; }
    .top-bar.nav-collapsed .logo-crest img { width:32px !important; height:36px !important; }
    .top-bar .mobile-actions { flex-shrink:0; gap:4px; }
    .top-bar.nav-collapsed .mobile-dark-toggle { display:inline-flex; flex-shrink:0; min-width:36px; min-height:36px; }
    .top-bar .mobile-menu-toggle { min-width:40px; min-height:40px; }
    .hero-container-wrapper { margin-block:14px; }
    .hero-section { min-height:320px; }
    .hero-main-title { font-size:clamp(25px,7vw,34px); line-height:1.2; overflow-wrap:anywhere; }
    .hero-action-buttons .btn { width:100%; max-width:320px; white-space:normal; }
    .about-news-section .container, .departments-section .container, .academics-section .container { width:100% !important; max-width:100% !important; padding-inline:18px !important; }
    .notices-track-container { min-width:0; }
    .about-news-grid, .about-school-card, .head-message-card, .footer-columns-grid { grid-template-columns:minmax(0,1fr) !important; }
    .footer-brand-column, .footer-contact-column, .footer-map-column { grid-column: 1; }
    .about-school-card, .head-message-card { padding:22px 18px; gap:20px; }
    .about-column, .about-card-right, .head-message-content { min-width:0; }
    .head-message-photo { order:-1; justify-self:center; }
    .head-photo-frame { max-width:200px; }
    .head-author-email a, .details-value { overflow-wrap:anywhere; }
    .dept-cards-row { display:grid; grid-template-columns:minmax(0,1fr); }
    .department-card { width:100%; max-width:100% !important; min-width:0; }
    .footer-bottom-row { align-items:flex-start; text-align:left; }
    .standard-page-layout { padding-block:24px 40px !important; }
    .page-content-card, .single-article-card { padding:24px 18px !important; }
    .entry-title { font-size:28px !important; }
    .page-navigation, .entry-footer { flex-wrap:wrap; gap:12px; }
    .faculty-filter-tabs .filter-tab { min-height:42px; }
}
@media(prefers-reduced-motion:reduce) {
    *, *::before, *::after { scroll-behavior:auto !important; animation:none !important; transition:none !important; }
}

@media (max-width:768px) {
    .faculty-directory-container .faculty-controls-row,
    .staff-directory .staff-directory-controls {
        flex-wrap:wrap;
        gap:12px;
        overflow:visible;
    }
    .faculty-directory-container .faculty-filter-tabs,
    .staff-directory .staff-directory-filters {
        flex:1 1 100%;
        min-width:0;
        flex-wrap:wrap;
    }
    .faculty-directory-container .faculty-search-col,
    .staff-directory .staff-directory-search {
        flex:1 1 100%;
        width:100%;
        min-width:0;
        margin-left:0;
    }
    .faculty-directory-container .faculty-filter-tabs .filter-tab,
    .staff-directory .staff-directory-filters label {
        min-height:44px;
        max-width:100%;
        white-space:normal;
    }
}
