/* Fidelity layer for CUHK Physics global shell and standard internal pages. */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;600;700&display=swap');

:root { --max: 1011px; --purple: #7b1f69; --gold: #e6a500; }
body { font-family: Roboto, Helvetica, Arial, Lucida, sans-serif; font-size: 15px; color: #000; }

/* Header */
.site-header { height: 150px; border: 0; box-shadow: 0 1px 0 rgba(0,0,0,.04); }
.header-inner { width: 100%; max-width: none; height: 150px; min-height: 150px; padding: 0 15px; gap: 14px; }
.brand { min-width: 510px; gap: 10px; }
.brand > img { width: 122px; height: 115px; }
.brand > .science-logo { width: 76px; }
.brand strong { font-size: 23px; line-height: 1.2; white-space: nowrap; }
.brand small { font-size: 14px; white-space: nowrap; }
.site-header nav { align-self: stretch; }
.site-header nav > ul { height: 100%; }
.site-header nav li { display: flex; align-items: stretch; }
.site-header nav .nav-link { height: 150px; max-width: 105px; padding: 0 11px; font-size: 14px; line-height: 1.25; }
.site-header nav .nav-link-stacked { flex-direction: column; gap: 4px; line-height: 1.1; }
.site-header nav .nav-link-stacked > span[aria-hidden="true"] { margin-top: 1px; }
.site-header nav .nav-stacked { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; }
.site-header nav .nav-separator { display: block; width: 34px; height: 3px; margin: 1px 0; border-radius: 999px; background: var(--gold); opacity: 1; box-shadow: 0 0 0 1px rgba(84,20,74,.18); }
.section-about .site-header nav li:first-child > .nav-link { color: #fff; background: #741e64; }
.search-toggle { width: 38px; font-size: 25px; }
.dropdown { top: 150px; border-top-color: var(--purple); }
.site-header nav li:last-child .dropdown { left: auto; right: 0; }

/* Original-style internal title banner */
.page-hero { min-height: 227px; height: 227px; align-items: center; background-position: center; background-size: cover; }
.page-hero::before { content: none; }
.page-hero { position: relative; }
.page-hero > div { position: relative; z-index: 1; padding: 0; text-align: center; color: white; }
.page-hero p { margin: 0 0 4px; color: #eca900; font-size: 19px; line-height: 1.3; font-weight: 500; letter-spacing: .05em; }
.page-hero h1 { margin: 0; color: white; font-size: 25px; line-height: 1.25; font-weight: 500; }
.hero-rule { display: block; width: 45px; height: 3px; margin: 15px auto 0; background: var(--gold); }

/* Standard internal pages */
.internal-layout { display: grid; grid-template-columns: 230px minmax(0,751px); gap: 30px; align-items: start; padding: 0 0 60px; }
.local-sidebar { padding: 29px 0; min-width: 0; }
.local-nav-toggle { display: none; }
.local-nav ul { display: block; list-style: none; padding: 0; margin: 0; }
.local-nav li { margin: 0 0 8px; }
.local-nav a,.local-nav-parent,.local-nav-branch > a { min-height: 43px; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 14px; border: 0; border-radius: 7px; color: #fff; background: linear-gradient(90deg,#d5aa72 0%,#bc6c90 100%); text-decoration: none; text-align: left; font: 500 15px Roboto,sans-serif; box-shadow: 0 2px 7px rgba(69,34,58,.08); transition: filter .18s,transform .18s; cursor: pointer; }
.local-nav-branch { display: flex; align-items: stretch; gap: 0; border-radius: 7px; background: linear-gradient(90deg,#d5aa72 0%,#bc6c90 100%); box-shadow: 0 2px 7px rgba(69,34,58,.08); overflow: hidden; }
.local-nav-branch > a { flex: 1 1 auto; min-width: 0; border-radius: 7px 0 0 7px; background: transparent; box-shadow: none; }
.local-nav > ul > li > .local-nav-parent { width: 100%; justify-content: space-between; }
.local-nav-branch .local-nav-parent { width: auto; min-width: 43px; justify-content: center; border-left: 0; border-radius: 0 7px 7px 0; background: transparent; box-shadow: none; padding-inline: 11px; }
.local-nav a:hover,.local-nav a:focus-visible,.local-nav-parent:hover,.local-nav-parent:focus-visible { filter: brightness(.94); transform: translateX(2px); }
.local-nav-branch:hover,.local-nav-branch:focus-within { filter: brightness(.94); transform: translateX(2px); }
.local-nav-branch:hover > a,.local-nav-branch:focus-within > a,.local-nav-branch:hover .local-nav-parent,.local-nav-branch:focus-within .local-nav-parent { filter: none; transform: none; }
.local-nav a.is-current,.local-nav-parent.is-current { background: linear-gradient(90deg,#d8b57e,#b5799a); font-weight: 700; }
.local-nav-branch:has(.is-current) { background: linear-gradient(90deg,#d8b57e,#b5799a); }
.local-nav .local-nav-branch .is-current { background: transparent; }
.local-nav b,.local-nav-parent b { font-size: 16px; font-weight: 400; }
.local-nav .local-subnav { margin: -2px 0 8px 15px; padding: 5px 0 0 11px; border-left: 2px solid #d8b57e; }
.local-nav .local-subnav[hidden] { display: none !important; }
.local-nav .local-subnav li { margin-bottom: 4px; }
.local-nav .local-subnav a { min-height: 34px; padding: 7px 10px; border-radius: 5px; background: rgba(123,31,105,.09); color: #64205b; font-size: 13px; line-height: 1.25; box-shadow: none; }
.local-nav .local-subnav a:hover,.local-nav .local-subnav a:focus-visible,.local-nav .local-subnav a.is-current { background: rgba(230,165,0,.17); color: #471840; }
.internal-main.imported-content { min-width: 0; padding: 29px 0 80px; }
.internal-main .et_pb_row_inner { display: block!important; width: 100%!important; max-width: none!important; margin: 0 0 24px!important; padding: 0!important; }
.internal-main .et_pb_row_inner:first-child { display: block!important; }
.internal-main h1,.internal-main h2 { margin: 0 0 16px; color: #000; font-size: 29px; font-weight: 700; }
.internal-main h1::after,.internal-main h2::after { content: ""; display: block; height: 4px; margin-top: 13px; background: linear-gradient(90deg,var(--gold) 0 48px,#dedede 48px); }
.internal-main h3[id] { scroll-margin-top: 18px; }
/* Text hidden via the dashboard visual editor does not render on the page. */
.wysiwyg-hidden { display: none; }
.internal-main p { font-size: 15px; line-height: 1.55; }
.internal-main .dsm_perspective_image img,.internal-main .et_pb_image img { width: 100%; }
.internal-main .dept-profile table { display: table; width: min(100%,530px); }
.internal-main .dept-profile td { padding: 9px 12px; border-color: #bdbdbd; }
.internal-main .et_pb_row_inner.et_pb_equal_columns { display: grid!important; grid-template-columns: minmax(0,3fr) minmax(0,5fr); gap: 28px; }
.section-about .internal-main>.et_pb_row_inner.et_pb_equal_columns:has(> .et_pb_column_4_4:only-child) { grid-template-columns: minmax(0,1fr); }
.section-about .internal-main>.et_pb_row_inner.et_pb_equal_columns:has(> .et_pb_column_4_4:only-child)>.et_pb_column_4_4 { width: 100%!important; max-width: none!important; }
.section-about .internal-main>.et_pb_row_inner.et_pb_equal_columns:has(> .et_pb_column_4_4:only-child) .et_pb_text { width: 100%!important; max-width: none!important; }
.section-about .internal-main .dept-profile table { width: 100%; max-width: none; }
.internal-main .et_pb_main_blurb_image { display: none; }
.internal-main iframe { display: block; width: 100%; max-width: 100%; min-height: 360px; border: 0; }
.internal-main .et_pb_blurb { margin-bottom: 18px; }
.internal-main .et_pb_blurb h4 { margin: 0 0 5px; color: #000; font-size: 17px; }
.internal-main table,.internal-main th,.internal-main td { overflow-wrap: normal!important; word-break: normal!important; hyphens: none!important; }
.internal-main th,.internal-main td { white-space: normal!important; }
.admissions-page-title h1,.imported-page-title h1 { margin: 0 0 22px; color: #000; font-size: 29px; font-weight: 700; }
.stream-study-box { margin: 0 0 14px; border: 1px solid #7d1f69; border-radius: 3px; background: #fff; overflow: hidden; }
.highlight-info-box { margin: 0 0 18px; border: 1px solid #7d1f69; border-radius: 3px; background: #fff; overflow: hidden; }
.stream-study-box h4,.highlight-info-box h4 { margin: 0; padding: 13px 18px; background: #7d1f69; color: #fff; font-size: 16px; font-weight: 700; line-height: 1.35; }
.stream-study-box-body,.highlight-info-box > :not(h4) { padding: 16px 18px 18px; }
.highlight-info-box h4 + h4,.highlight-info-box h4 + h4 + ul + h4 { margin: 0 0 10px; padding: 0; background: none; color: #111; font-size: 16px; font-weight: 700; line-height: 1.4; }
.stream-study-box-body p:first-child,.highlight-info-box p:first-child { margin-top: 0; }
.stream-study-box-body ul:last-child,.stream-study-box-body p:last-child,.highlight-info-box ul:last-child,.highlight-info-box p:last-child { margin-bottom: 0; }
.stream-study-box-body span { text-decoration: none!important; }

/* About family corrections */
.page-about-achievements form[data-sf-form-id]>ul { display: flex!important; align-items: flex-end; flex-wrap: nowrap; gap: 10px; margin: 0 0 20px!important; padding: 12px!important; border-radius: 8px; background: #f6f0f5; list-style: none!important; }
.page-about-achievements form[data-sf-form-id]>ul>li { flex: 1 1 auto; min-width: 0; margin: 0!important; padding: 0!important; }
.page-about-achievements form[data-sf-form-id] h4 { margin: 0 0 4px; color: #4e1b48; font-size: 12px; line-height: 1.2; white-space: nowrap; }
.page-about-achievements form[data-sf-form-id] label { display: block; }
.page-about-achievements form[data-sf-form-id] input[type="text"],.page-about-achievements form[data-sf-form-id] select { width: 100%; min-width: 0; height: 36px; padding: 6px 9px; border: 1px solid #cbbcc7; border-radius: 5px; background: #fff; }
.page-about-achievements form[data-sf-form-id] .sf_date_field { display: grid!important; grid-template-columns: 1fr 1fr; gap: 7px; margin: 0!important; padding: 0!important; list-style: none!important; }
.page-about-achievements form[data-sf-form-id] .sf_date_field li { margin: 0!important; padding: 0!important; }
.page-about-achievements .search-filter-reset { height: 36px; padding: 0 15px; border: 0; border-radius: 5px; background: var(--purple); color: #fff; font-weight: 700; cursor: pointer; }
.page-about-achievements .sf-field-reset { flex: 0 0 auto!important; }
.page-about-achievements form[data-sf-form-id] input[type="date"] { width: 100%; min-width: 0; height: 36px; padding: 6px 9px; border: 1px solid #cbbcc7; border-radius: 5px; background: #fff; }
.page-about-achievements .achievement-filter-summary { margin: 0 0 12px; color: #6d5a68; font-size: 13px; font-weight: 600; }
.page-about-achievements .search-filter-results { display: grid; gap: 14px; }
.page-about-achievements .managed-achievement-set { margin: 0 0 54px; }
.page-about-achievements .managed-achievement-set > h2 { margin: 0 0 20px; color: var(--purple-dark); font-size: clamp(1.45rem, 2vw, 1.9rem); }
.page-about-achievements .special-list { margin: 0; padding: 0; }
.page-about-achievements .special-list ul { margin: 0!important; padding: 0!important; list-style: none!important; }
.page-about-achievements .special-list li { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin: 0!important; padding: 17px 20px!important; border: 1px solid #d8c2d3; border-left: 5px solid var(--purple); border-radius: 8px; background: #fff; box-shadow: 0 3px 12px rgba(67,31,60,.08); }
.page-about-achievements .special-list li a { flex: 1 1 auto; min-width: 0; color: #3f1839; text-decoration: none; }
.page-about-achievements .special-list li a:hover,.page-about-achievements .special-list li a:focus-visible { color: var(--purple); text-decoration: underline; }
.page-about-achievements .special-list li p { margin: 0; line-height: 1.5; }
.page-about-achievements .special-list li span { flex: 0 0 auto; color: #6d5a68; font-weight: 600; white-space: nowrap; }
.page-about-contact-us .et_pb_blurb_0 .et_pb_blurb_description p { white-space: nowrap; font-size: 13px; }
.newsletter-row .grid-x { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.newsletter_button a { display: block; padding: 10px 12px; border-radius: 5px; background: #f2e8f0; color: var(--purple); text-decoration: none; }
.newsletter_button a:hover,.newsletter_button a:focus-visible { background: #ead3e5; }
.useful-links-content section { margin: 0 0 31px; }
.useful-links-content h3 { margin: 0 0 10px; color: #67235e; font-size: 21px; }
.useful-links-content ul { margin: 0; padding-left: 22px; }
.useful-links-content li { margin: 8px 0; }
.useful-links-content li span,.useful-links-content li em { display: block; margin-top: 3px; color: #555; font-size: 13px; }
.useful-links-content a { color: #702264; font-weight: 600; }
.page-section-outreach .local-sidebar { padding-top: 29px; }
.outreach-card-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; margin-top: 18px; }
.outreach-card { position: relative; display: flex; min-height: 210px; flex-direction: column; justify-content: center; gap: 8px; padding: 22px; overflow: hidden; border-radius: 10px; background: #2d1230 var(--card-bg) center/cover no-repeat; color: #fff; text-decoration: none; box-shadow: 0 8px 20px rgba(69,34,58,.13); text-align: center; isolation: isolate; }
.outreach-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg,rgba(32,10,35,.22),rgba(32,10,35,.66)); }
.outreach-card:hover,.outreach-card:focus-visible { filter: brightness(1.04); transform: translateY(-1px); }
.outreach-card strong { color: #fff; font-size: 28px; line-height: 1.2; text-shadow: 0 2px 8px rgba(0,0,0,.72); }
.outreach-card span { color: #fff; font-size: 14px; font-weight: 700; line-height: 1.35; text-shadow: 0 2px 8px rgba(0,0,0,.72); }
.resource-filter { display: flex; align-items: end; gap: 10px; margin: 0 0 18px; padding: 12px; border-radius: 8px; background: #f6f0f5; }
.resource-filter label { flex: 1 1 auto; display: grid; gap: 4px; color: #4e1b48; font-size: 13px; font-weight: 700; }
.resource-filter select { height: 36px; padding: 6px 9px; border: 1px solid #cbbcc7; border-radius: 5px; background: #fff; }
.resource-filter button { height: 36px; padding: 0 15px; border: 0; border-radius: 5px; background: var(--purple); color: #fff; font-weight: 700; cursor: pointer; }
.resource-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.resource-card { display: flex; flex-direction: column; gap: 8px; }
.resource-card[hidden] { display: none !important; }
.resource-open { display: block; width: 100%; padding: 0; border: 0; background: #fff; color: #511848; text-align: left; cursor: pointer; box-shadow: 0 3px 12px rgba(67,31,60,.11); transition: transform .18s,box-shadow .18s; }
.resource-open:hover,.resource-open:focus-visible { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(67,31,60,.17); }
.resource-open img { width: 100%; aspect-ratio: 4/3; height: auto; object-fit: cover; }
.resource-open span { display: block; padding: 9px 10px 10px; font-weight: 700; line-height: 1.35; }
.resource-categories { order: 2; display: flex; flex-wrap: wrap; gap: 5px; }
.resource-categories em { padding: 3px 7px; border-radius: 999px; background: rgba(123,31,105,.1); color: #64205b; font-size: 12px; font-style: normal; }
.resource-popup { width: min(920px,calc(100% - 32px)); max-height: 86vh; padding: 28px; border: 0; border-radius: 10px; box-shadow: 0 18px 60px rgba(0,0,0,.35); }
.resource-popup::backdrop { background: rgba(0,0,0,.55); }
.resource-popup-close { position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--purple); color: #fff; font-size: 24px; cursor: pointer; }
.resource-popup h2 { margin-right: 38px; }
.resource-popup-content video { display: block; width: 100%; max-height: 60vh; margin-top: 14px; background: #000; }
.resource-popup-content a { color: #702264; font-weight: 700; }
.resource-empty { padding: 16px; border-radius: 8px; background: #f6f0f5; }
.page-section-outreach .content-wrapper { width: 100%; }
.page-section-outreach .inner-container.container { width: 100%; max-width: none; padding: 0; }
.page-section-outreach .section-header { margin-bottom: 18px; }
.page-section-outreach .section-header h2 { margin: 0 0 10px; color: #67235e; font-size: 28px; }
.page-section-outreach .section-header p { margin: 0; }
.page-section-outreach .projects-holder-2 { display: block; }
.page-section-outreach .projects-holder.projects-holder-full { width: 100%; }
.page-section-outreach .filter-categories { width: auto; }
.page-section-outreach .project-filter { margin: 0; padding: 0; list-style: none; }
.page-section-outreach .project-filter .filter { margin: 0 0 8px; padding: 9px 12px; border-radius: 7px; background: #f4e8f1; color: #5a1f52; font-weight: 700; cursor: pointer; }
.page-section-outreach .project-filter .filter.active { background: linear-gradient(90deg,#d5aa72,#bc6c90); color: #fff; }
.page-section-outreach .projects-holder .row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.page-section-outreach .project-item { width: auto; }
.page-section-outreach .project-item.col-md-12 { grid-column: 1 / -1; }
.page-section-outreach .project-item.col-md-12 .box-content.project-detail:has(> h2:only-child),
.page-section-outreach .project-item.col-md-12 .box-content.project-detail:has(> h2 + p:empty),
.page-section-outreach .project-item.col-md-12 .box-content.project-detail:has(> h2 + p + p:empty) { padding: 14px 18px; min-height: 0; }
.page-section-outreach .project-item.col-md-12 .box-content.project-detail:has(> h2:only-child) h2,
.page-section-outreach .project-item.col-md-12 .box-content.project-detail:has(> h2 + p:empty) h2,
.page-section-outreach .project-item.col-md-12 .box-content.project-detail:has(> h2 + p + p:empty) h2 { margin-bottom: 0; font-size: 21px; }
.page-section-outreach .box-content.project-detail { padding: 18px 20px; border: 1px solid #e2d7df; border-radius: 10px; background: #fff; box-shadow: 0 4px 16px rgba(67,31,60,.06); }
.page-section-outreach .box-content.project-detail h2 { margin: 0 0 10px; color: #67235e; font-size: 24px; line-height: 1.3; }
.page-section-outreach .box-content.project-detail p { margin: 0 0 10px; }
.page-section-outreach .box-content.project-detail p:last-child { margin-bottom: 0; }
.page-section-outreach .w3-content { position: relative; max-width: 100%; width: min(100%, 760px); margin: 0 auto; }
.page-section-outreach .w3-content [class^="mySlides"] img { display: block; width: 100%; border-radius: 8px; }
.page-section-outreach .w3-content [class^="mySlides"] { margin: 0; }
.page-section-outreach .w3-content [class^="mySlides"][hidden] { display: none !important; }
.page-section-outreach .w3-button.w3-black { margin-top: 10px; padding: 8px 14px; border: 0; border-radius: 6px; background: var(--purple); color: #fff; font-weight: 700; cursor: pointer; }
.page-section-outreach .w3-button.w3-display-left { margin-right: 8px; }
.page-section-outreach .w3-button.w3-display-right { }
.page-section-outreach a { color: #702264; font-weight: 600; }
.outreach-alumni-intro-box { margin: 0 0 24px; padding: 18px 20px; border-radius: 10px; background: #f3f3f3; }
.outreach-alumni-intro-box p { margin: 0 0 12px; }
.outreach-alumni-intro-box p:last-child { margin-bottom: 0; }
.outreach-alumni-series-title { margin: 0 0 16px; text-align: center; color: #67235e; font-size: 32px; }
.outreach-alumni-series { margin: 0 0 38px; }
.outreach-alumni-item { margin: 0 0 16px; border: 1px solid #e2d7df; border-radius: 10px; background: #fff; box-shadow: 0 4px 16px rgba(67,31,60,.06); overflow: hidden; }
.outreach-alumni-item summary { padding: 14px 18px; background: linear-gradient(90deg,#f0e2ec,#f7f3f7); color: #67235e; font-weight: 700; cursor: pointer; list-style: none; }
.outreach-alumni-item summary::-webkit-details-marker { display: none; }
.outreach-alumni-item summary::after { content: '⌄'; float: right; font-size: 18px; }
.outreach-alumni-item[open] summary::after { content: '⌃'; }
.outreach-alumni-panel { padding: 18px; }
.outreach-alumni-panel figure { margin: 16px 0; text-align: center; }
.outreach-alumni-panel figure img { max-width: min(100%, 520px); border-radius: 8px; }
.outreach-alumni-panel figcaption { margin-top: 8px; color: #555; font-size: 14px; }
.outreach-audio-block { margin: 16px 0; padding: 14px 16px; border-radius: 8px; background: #f8f4f7; }
.outreach-audio-block p { margin: 0 0 10px; font-weight: 700; }
.outreach-audio-block audio { width: 100%; }
.outreach-alumni-hosts { margin-top: 34px; }
.outreach-alumni-hosts h3 { margin: 0 0 16px; text-align: center; color: #67235e; font-size: 28px; }
.outreach-host-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.outreach-host-grid-consultant { grid-template-columns: minmax(0,280px); justify-content: center; }
.outreach-host-card { padding: 16px; border: 1px solid #e2d7df; border-radius: 10px; background: #fff; text-align: center; box-shadow: 0 4px 16px rgba(67,31,60,.06); }
.outreach-host-card img { width: 100%; max-width: 220px; margin: 0 auto 12px; border-radius: 8px; }
.outreach-host-card h4 { margin: 0; color: #67235e; font-size: 20px; line-height: 1.35; }
.page-section-outreach .internal-main h3 { color: #67235e; font-size: 21px; }
.page-section-outreach .internal-main ul { padding-left: 22px; }
.page-section-outreach .internal-main li { margin: 7px 0; }
.page-section-outreach .internal-main a { color: #702264; font-weight: 600; }
.page-section-outreach .internal-main form[data-sf-form-id] { margin: 0 0 20px; padding: 12px; border-radius: 8px; background: #f6f0f5; }
.page-section-outreach .internal-main form[data-sf-form-id] ul { margin: 0; padding: 0; list-style: none; }
.page-section-outreach .internal-main form[data-sf-form-id] input,.page-section-outreach .internal-main form[data-sf-form-id] select { max-width: 100%; height: 36px; padding: 6px 9px; border: 1px solid #cbbcc7; border-radius: 5px; background: #fff; }
.page-section-outreach .internal-main form[data-sf-form-id] input[type="submit"] { border: 0; background: var(--purple); color: #fff; font-weight: 700; }

/* Footer */
footer { min-height: 309px; padding: 48px 0 18px; }
.footer-inner { width: min(calc(100% - 40px),1011px); grid-template-columns: 1.2fr 1fr .75fr; gap: 48px; }
.footer-brand > div { margin-bottom: 8px; }
.footer-brand strong { font-size: 25px; }
.footer-brand span,address,.contact { font-size: 14px; line-height: 1.65; }
.social-links { display: flex!important; gap: 10px; margin-top: 14px; }
.social-links a { display: grid; place-items: center; width: 31px; height: 31px; border: 1px solid rgba(255,255,255,.75); border-radius: 50%; color: white; text-decoration: none; font-weight: 700; }
.social-links svg { width: 18px; height: 18px; fill: currentColor; color: #fff; }
.legal { margin-top: 31px; padding-top: 15px; font-size: 12px; }

@media (max-width: 1100px) {
  .site-header { height: 110px; }
  .header-inner { height: 110px; min-height: 110px; }
  .brand { min-width: 390px; }
  .site-header nav .nav-link { height: 110px; padding-inline: 6px; font-size: 12px; }
  .dropdown { top: 110px; }
}

@media (max-width: 850px) {
  .site-header { height: 90px; }
  .header-inner { height: 90px; min-height: 90px; }
  .brand { min-width: 0; }
  .brand > img { width: 78px; height: 78px; }
  .brand > .science-logo { width: 50px; }
  .site-header nav { top: 90px; }
  .site-header nav .nav-link { height: auto; max-width: none; }
  .page-hero { height: 190px; min-height: 190px; }
  .internal-layout { grid-template-columns: 210px minmax(0,1fr); gap: 25px; }
}

@media (max-width: 700px) {
  .page-hero { height: 170px; min-height: 170px; }
  .page-hero p { font-size: 16px; }
  .page-hero h1 { font-size: 23px; }
  .internal-layout { display: block; width: min(calc(100% - 28px),1011px); padding-top: 22px; }
  .local-sidebar { padding: 0; }
  .local-nav-toggle { display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 13px 16px; border: 0; border-radius: 7px; background: linear-gradient(90deg,#d5aa72,#bc6c90); color: #fff; font: 600 16px Roboto,sans-serif; }
  .local-nav { display: none; padding-top: 8px; }
  .local-nav.open { display: block; }
  .local-nav li { margin-bottom: 6px; }
  .local-nav a { min-height: 44px; }
  .internal-main.imported-content { padding-top: 32px; }
  .internal-main .et_pb_row_inner.et_pb_equal_columns { grid-template-columns: 1fr; }
  .page-about-achievements form[data-sf-form-id]>ul { align-items: stretch; flex-wrap: wrap; }
  .page-about-achievements form[data-sf-form-id]>ul>li { flex: 1 1 220px; }
  .page-about-achievements .special-list li { display: block; padding: 15px 16px!important; }
  .page-about-achievements .special-list li span { display: block; margin-top: 8px; white-space: normal; }
  .page-about-contact-us .et_pb_blurb_0 .et_pb_blurb_description p { white-space: normal; }
  .newsletter-row .grid-x { grid-template-columns: 1fr; }
  .outreach-card-grid { grid-template-columns: 1fr; }
  .resource-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .page-section-outreach .projects-holder-2 { grid-template-columns: 1fr; }
  .page-section-outreach .projects-holder .row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .resource-grid { grid-template-columns: 1fr; }
  .resource-filter { display: block; }
  .resource-filter button { margin-top: 8px; }
  .outreach-host-grid { grid-template-columns: 1fr; }
  .outreach-host-grid-consultant { grid-template-columns: 1fr; }
  .page-about-achievements form[data-sf-form-id] .sf_date_field { grid-template-columns: 1fr; }
}
