/*
 * Omeka S adaptation layer for the combined COE theme.
 * The source theme CSS is loaded immediately before this file so original
 * block classes remain available to migrated content.
 */

@font-face {
    font-family: "Source Sans Pro";
    src: url("../fonts/source-sans-pro-400-normal.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

:root {
    --container-width: 1200px;
    --columns-gap: 80px;
    --usyd-master-black: #231f20;
    --usyd-text-black: #141414;
    --usyd-ochre: #e64626;
    --usyd-link: #c63a1e;
    --usyd-charcoal: #424242;
    --usyd-light-grey: #e7e7e8;
    --usyd-shadow-grey: #f3f3f3;
    --usyd-white: #fff;
    --usyd-focus: #1a355e;
    --wp--preset--color--custom-master-black: var(--usyd-master-black);
    --wp--preset--color--custom-text-black: var(--usyd-text-black);
    --wp--preset--color--custom-ochra: var(--usyd-ochre);
    --wp--preset--color--custom-link-hover: var(--usyd-link);
    --wp--preset--color--custom-charcoal: var(--usyd-charcoal);
    --wp--preset--color--custom-lite-grey: var(--usyd-light-grey);
    --wp--preset--color--custom-shadow-grey: var(--usyd-shadow-grey);
    --wp--preset--color--custom-white: var(--usyd-white);
    --wp--preset--color--white: var(--usyd-white);
    --wp--preset--color--black: #000;
    --wp--style--block-gap: 24px;
    --wp--style--columns-gap: 80px;
    --wp--preset--spacing--20: 0.5rem;
    --wp--preset--spacing--30: 1rem;
    --wp--preset--spacing--40: 1.5rem;
    --wp--preset--spacing--50: 2rem;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    scroll-padding-top: 7rem;
}

body.coe-theme {
    min-height: 100%;
    margin: 0;
    overflow-x: hidden;
    background: var(--usyd-white);
    color: var(--usyd-text-black);
    font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    /* The original COE plugin sets body copy to a fixed 18px. */
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
}

.container-fluid {
    width: 100%;
    max-width: var(--container-width);
    margin-right: auto;
    margin-left: auto;
    padding-right: 15px;
    padding-left: 15px;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

a:link,
a:visited {
    color: var(--usyd-link);
    text-decoration: underline;
    text-decoration-thickness: 0.05em;
    text-underline-offset: 0.12em;
}

a:hover,
a:focus,
a:active {
    color: var(--usyd-ochre);
    opacity: 1;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--usyd-focus);
    outline-offset: 3px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--usyd-text-black);
    font-family: inherit;
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1.2;
}

h1 { font-size: 3.38rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.7rem; }
h4 { font-size: 1.5rem; font-weight: 600; }
h5 { font-size: 1.25rem; font-weight: 600; }
h6 { font-size: 1rem; font-weight: 600; }

img,
video,
iframe {
    max-width: 100%;
}

/* Migrated WordPress page content. */
.blocks > .html > :first-child,
.blocks > .html > :first-child > :first-child {
    margin-top: 0;
}

/* Reproduce WordPress' generated is-layout-flow rhythm for migrated blocks. */
.block-html > * {
    margin-block-end: 0;
}

.block-html > * + * {
    margin-block-start: 24px;
}

.block-html p,
.coe-news-item__body p {
    letter-spacing: 0.05rem;
    line-height: 1.5;
}

body.page .site-main > h1,
.coe-news-item__header h1 {
    font-weight: 600;
}

body.page .site-main > h1 {
    margin-bottom: 0;
}

body.page .site-main > h1 + .blocks {
    margin-top: 24px;
}

.block-html > :first-child {
    margin-block-start: 0;
}

.wp-block-spacer {
    clear: both;
}

.wp-block-columns {
    display: flex;
    align-items: stretch;
    gap: var(--wp--style--columns-gap);
}

.wp-block-column {
    min-width: 0;
    flex: 1 1 0;
}

.wp-block-image {
    margin: 1.5rem 0;
    text-align: center;
}

.wp-block-image img {
    height: auto;
}

.has-text-align-center {
    text-align: center;
}

.wp-block-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.wp-block-button__link,
.wp-block-button__link:visited {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.3rem;
    border: 2px solid var(--usyd-master-black);
    background: var(--usyd-white);
    color: var(--usyd-master-black);
    font-weight: 700;
    text-decoration: none;
}

.wp-block-button__link:hover,
.wp-block-button__link:focus {
    border-color: var(--usyd-ochre);
    color: var(--usyd-ochre);
}

.coe-hero-slider {
    position: relative;
    width: 100%;
    margin: 0 0 1rem;
    overflow: hidden;
    background: #111;
}

.coe-hero-slides {
    position: relative;
    aspect-ratio: 2 / 1;
}

.coe-hero-slide {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
    visibility: hidden;
}

.coe-hero-slide.is-active {
    opacity: 1;
    visibility: visible;
}

.coe-hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.coe-slider-control {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 48px;
    min-height: 54px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: #fff;
    font-size: 2.5rem;
    line-height: 1;
    transform: translateY(-50%);
}

.coe-slider-previous { left: 0; }
.coe-slider-next { right: 0; }

.coe-slider-dots {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    padding: 0.75rem;
    gap: 0.55rem;
}

.coe-slider-dots button {
    width: 8px;
    min-height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--usyd-master-black);
}

.coe-slider-dots button.is-active {
    background: #0085ca;
}

.coe-news-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 2rem 0;
    gap: 1.5rem;
}

.coe-news-card {
    padding: 1.5rem;
    border-top: 5px solid var(--usyd-ochre);
    background: var(--usyd-shadow-grey);
}

.coe-news-card h2 {
    margin-top: 0;
    font-size: 1.45rem;
    letter-spacing: 0;
}

.coe-news-date {
    color: var(--usyd-charcoal);
    font-size: 0.95rem;
}

.coe-news-item {
    max-width: 960px;
    margin: 0 auto;
}

.coe-news-item__header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--usyd-light-grey);
}

.coe-news-item__header h1 {
    margin-top: 0.35rem;
}

.coe-news-item__body > :first-child {
    margin-top: 0;
}

.coe-news-item__body > * {
    margin-block-end: 0;
}

.coe-news-item__body > * + * {
    margin-block-start: 24px;
}

.coe-mentioned-item {
    display: inline-block;
    margin: 0.3rem 0.35rem 0.3rem 0;
    padding: 0.45rem 0.7rem;
    border-left: 4px solid var(--usyd-ochre);
    background: var(--usyd-shadow-grey);
    font-weight: 700;
}

.coe-contribution-notice {
    margin: 2rem 0;
    padding: 1.5rem;
    border-left: 5px solid var(--usyd-ochre);
    background: var(--usyd-shadow-grey);
}

@media (max-width: 700px) {
    .wp-block-columns,
    .coe-news-grid {
        display: block;
    }

    .wp-block-column,
    .coe-news-card {
        margin-bottom: 1.5rem;
    }

    .coe-hero-slides {
        aspect-ratio: 16 / 9;
    }

    .site-page-home .coe-hero-slider {
        margin-top: 28px;
    }

    .coe-slider-control {
        display: none;
    }
}

button,
input,
select,
textarea,
.button,
.resource-list.preview + a {
    font: inherit;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="url"],
input[type="search"],
textarea,
select {
    min-height: 44px;
    padding: 0.6rem 0.75rem;
    border: 1px solid #767676;
    border-radius: 0;
    background: var(--usyd-white);
    color: var(--usyd-text-black);
}

button,
.button,
.resource-list.preview + a,
[type="submit"] {
    min-height: 44px;
    padding: 0.6rem 1rem;
    border: 0;
    border-radius: 4px;
    background: var(--usyd-link);
    color: var(--usyd-white);
    cursor: pointer;
}

button:hover,
.button:hover,
[type="submit"]:hover {
    background: var(--usyd-ochre);
}

/* Contact Us page block. Keep the module form aligned with the COE/USyd brand. */
.contact-us-block {
    width: min(100%, calc(100vw - 20px));
    max-width: 850px;
    margin: 2.5rem 0 4rem;
}

.contact-us-block > h4 {
    margin: 0 0 1rem;
}

.contact-us-block .contact-form {
    padding: clamp(1.5rem, 4vw, 2.75rem);
    border-top: 6px solid var(--usyd-ochre);
    background: var(--usyd-shadow-grey);
}

.contact-us-block .contact-form .field {
    display: block;
    margin: 0 0 1.5rem;
}

.contact-us-block .contact-form .field-meta,
.contact-us-block .contact-form .inputs {
    width: 100%;
    padding: 0;
}

.contact-us-block .contact-form .field-meta {
    margin-bottom: 0.45rem;
}

.contact-us-block .contact-form label,
.contact-us-block .contact-form legend {
    color: var(--usyd-text-black);
    font-weight: 700;
    line-height: 1.35;
}

.contact-us-block .contact-form .field.required .field-meta::after {
    margin-left: 0.25rem;
    color: var(--usyd-link);
    content: "*";
    font-family: inherit;
    font-size: 1em;
    font-weight: 700;
}

.contact-us-block .contact-form input[type="text"],
.contact-us-block .contact-form input[type="email"],
.contact-us-block .contact-form textarea {
    display: block;
    width: 100%;
    border: 2px solid #767676;
    background: var(--usyd-white);
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

.contact-us-block .contact-form input[type="text"],
.contact-us-block .contact-form input[type="email"] {
    min-height: 50px;
}

.contact-us-block .contact-form textarea {
    min-height: 220px;
    resize: vertical;
}

.contact-us-block .contact-form input[type="text"]:focus,
.contact-us-block .contact-form input[type="email"]:focus,
.contact-us-block .contact-form textarea:focus {
    border-color: var(--usyd-text-black);
    box-shadow: 0 0 0 2px var(--usyd-ochre);
}

.contact-us-block .contact-form input[readonly] {
    border-color: #b9b9b9;
    background: var(--usyd-light-grey);
    color: var(--usyd-charcoal);
    cursor: not-allowed;
}

.contact-us-block .contact-form .field:has(input[type="checkbox"]) {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 0.75rem;
    align-items: start;
}

.contact-us-block .contact-form .field:has(input[type="checkbox"]) .inputs {
    grid-column: 1;
    grid-row: 1;
}

.contact-us-block .contact-form .field:has(input[type="checkbox"]) .field-meta {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
}

.contact-us-block .contact-form input[type="checkbox"] {
    width: 22px;
    height: 22px;
    margin: 0.1rem 0 0;
    accent-color: var(--usyd-link);
}

.contact-us-block .contact-form input[type="submit"] {
    min-width: 170px;
    padding: 0.75rem 1.5rem;
    border-radius: 0;
    font-weight: 700;
}

.contact-us-block .explanation {
    padding: 1rem 1.25rem;
    border-left: 5px solid var(--usyd-charcoal);
    background: var(--usyd-shadow-grey);
}

.contact-us-block .explanation.success {
    border-left-color: #2e7d32;
}

.contact-us-block .explanation.error,
.contact-us-block .error {
    border-left-color: var(--usyd-link);
    color: #a02510;
}

@media (max-width: 600px) {
    .contact-us-block {
        margin-top: 1.75rem;
    }

    .contact-us-block .contact-form {
        padding: 1.25rem;
    }

    .contact-us-block .contact-form input[type="submit"] {
        width: 100%;
    }
}

/* Skip link and Omeka user bar. */
.skip-link {
    position: fixed;
    top: -100px;
    left: 0.5rem;
    z-index: 10001;
    padding: 0.6rem 1rem;
    border-radius: 4px;
    background: #000;
    color: #fff !important;
    transition: top 0.15s ease-in-out;
}

.skip-link:focus {
    top: 0.5rem;
}

/* Header */
.usyd-site-header {
    position: relative;
    z-index: 100;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: var(--usyd-white);
}

.usyd-site-header > * {
    max-width: none;
    margin-right: 0;
    margin-left: 0;
    padding-right: 0;
    padding-left: 0;
}

.desktop_header_visit {
    padding: 0.44rem 0;
    background: var(--usyd-master-black);
}

.desktop_header_visit_inner {
    padding-right: 10px;
    padding-left: 10px;
    text-align: right;
}

.desktop_header_visit a {
    color: var(--usyd-white);
    font-size: 0.8rem;
    line-height: 1.6;
}

.desktop_header {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid var(--usyd-light-grey);
}

.desktop_header_row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 100px;
    padding-top: 10px;
    padding-right: 25px;
    padding-bottom: 10px;
    padding-left: 25px;
    gap: 2rem;
}

.usyd-logo-block {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    text-decoration: none !important;
}

.usyd-logo-block img {
    display: block;
    width: 200px;
    height: auto;
    padding: 10px;
}

.desktop_header_site_title {
    max-width: 60%;
    color: var(--usyd-text-black) !important;
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.05rem;
    text-align: right;
    text-decoration: none !important;
}

.shadow_effect {
    margin: 0;
    background: var(--usyd-white);
    box-shadow: 0 4px 21px rgba(0, 0, 0, 0.06);
}

.desktop_menu {
    position: sticky;
    top: 0;
    z-index: 999;
}

.desktop_menu_row {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    min-height: 52px;
    padding-right: 10px;
    padding-left: 10px;
}

.usyd-site-header nav {
    position: static;
    margin: 0 !important;
    padding: 0;
}

.usyd-site-header nav::before {
    display: none !important;
    content: none !important;
}

.usyd-site-header nav ul,
.usyd-site-header nav li {
    margin: 0;
    padding: 0 !important;
    border: 0 !important;
    list-style: none !important;
}

.primary-navigation {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
}

.primary-navigation > ul.navigation {
    position: static;
    display: flex;
    align-items: stretch;
    width: auto;
    height: auto;
    margin-left: 0 !important;
    column-gap: 24px;
}

.primary-navigation li {
    position: relative !important;
}

.primary-navigation > ul > li {
    display: flex;
    align-items: center;
    margin: 0 !important;
    padding: 15px !important;
    line-height: 1.29;
}

.primary-navigation > ul > li > a,
.primary-navigation > ul > li > .parent-link > a {
    display: flex;
    align-items: center;
    width: auto;
    height: auto;
    margin: 0 !important;
    padding: 0 !important;
    color: var(--usyd-text-black);
    text-decoration: none;
}

.primary-navigation > ul > li:hover,
.primary-navigation > ul > li:focus-within {
    background: var(--usyd-link);
    color: var(--usyd-white);
}

.primary-navigation > ul > li:hover > a,
.primary-navigation > ul > li:focus-within > a,
.primary-navigation > ul > li:hover > .parent-link > a,
.primary-navigation > ul > li:focus-within > .parent-link > a {
    background: transparent;
    color: var(--usyd-white);
}

.primary-navigation > ul > li:has(> ul) > a::after {
    width: 0.45em;
    height: 0.45em;
    margin-top: -0.15em;
    margin-left: 0.25em;
    border-right: 1.25px solid currentColor;
    border-bottom: 1.25px solid currentColor;
    content: "";
    transform: rotate(45deg);
    transform-origin: center;
}

.primary-navigation > ul > li:has(> ul):hover > a::after,
.primary-navigation > ul > li:has(> ul):focus-within > a::after {
    margin-top: 0.15em;
    transform: rotate(225deg);
}

.primary-navigation li.active > a,
.primary-navigation li.active > .parent-link > a {
    text-decoration: underline;
    text-decoration-color: var(--usyd-link);
    text-decoration-thickness: 2px;
    text-underline-offset: 1rem;
}

.primary-navigation ul ul {
    position: absolute !important;
    top: 100% !important;
    left: -1px !important;
    right: auto !important;
    z-index: 1000;
    display: none !important;
    flex-flow: column nowrap !important;
    width: 400px !important;
    min-width: 400px !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: var(--usyd-light-grey) !important;
    color: #000;
    box-shadow: none;
}

.primary-navigation > ul > li > ul::after {
    display: none !important;
    content: none !important;
}

.primary-navigation li:hover > ul,
.primary-navigation li:focus-within > ul {
    display: flex !important;
}

.primary-navigation ul ul > li {
    position: relative !important;
    display: flex !important;
    align-items: center;
    flex: 0 0 auto;
    width: 100% !important;
    height: auto !important;
    padding: 15px !important;
    overflow: visible !important;
    background: var(--usyd-light-grey);
    color: #000;
    font-size: 18px !important;
    font-weight: 400 !important;
}

.primary-navigation ul ul > li > a {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    width: auto !important;
    padding: 9px 18px !important;
    color: inherit;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.29;
    text-decoration: none;
}

.primary-navigation > ul > li > ul > li.active > a {
    margin-left: 0 !important;
}

.primary-navigation > ul > li > ul > li.active > a::before {
    display: none !important;
    width: 0 !important;
    content: none !important;
}

.primary-navigation ul ul > li:hover,
.primary-navigation ul ul > li:focus-within {
    background: var(--usyd-link);
    color: var(--usyd-white);
}

.primary-navigation ul ul > li:hover > a,
.primary-navigation ul ul > li:focus-within > a {
    background: transparent;
    color: inherit;
}

.primary-navigation ul ul ul {
    top: 0 !important;
    left: 100% !important;
}

.child-toggle {
    display: none;
}

.header-control {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    min-width: 52px;
    min-height: 52px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: var(--usyd-text-black);
    font-size: 1.7rem;
}

.header-control:hover,
.header-control[aria-expanded="true"] {
    background: var(--usyd-link);
    color: var(--usyd-white);
}

.search-panel {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 998;
    padding: 1rem 0;
    border-top: 1px solid var(--usyd-light-grey);
    background: var(--usyd-white);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.12);
}

.search-panel[hidden],
.mobile-navigation[hidden] {
    display: none !important;
}

.coe-search-form {
    max-width: 700px;
    margin: 0 0 0 auto;
}

.coe-search-form label {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 600;
}

.search-input-row {
    display: flex;
    align-items: stretch;
}

.search-input-row input {
    flex: 1 1 auto;
    width: 100%;
    border-right: 0;
}

.search-input-row button {
    flex: 0 0 auto;
    border-radius: 0 4px 4px 0;
}

.mobile_header {
    display: none;
    padding-bottom: 19px;
}

.mobile_header_row {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    padding: 6px 15px;
    border-bottom: 1px solid var(--usyd-light-grey);
    background: var(--usyd-white);
}

.mobile_header_controls {
    display: flex;
    align-items: center;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
    display: block;
    width: 23px;
    height: 2px;
    background: currentColor;
}

.menu-icon {
    position: relative;
}

.menu-icon::before,
.menu-icon::after {
    position: absolute;
    left: 0;
    content: "";
}

.menu-icon::before { top: -7px; }
.menu-icon::after { top: 7px; }

.menu-toggle[aria-expanded="true"] .menu-icon {
    background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-icon::before {
    top: 0;
    transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-icon::after {
    top: 0;
    transform: rotate(-45deg);
}

.mobile_site_title_block {
    padding: 0.67rem 15px;
}

.mobile_site_title {
    color: var(--usyd-master-black) !important;
    font-size: 1.4rem;
}

/* Banner and main content */
.usyd-banner {
    width: 100%;
    height: var(--usyd-banner-height, auto);
    overflow: hidden;
}

.usyd-banner img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#content.site-main {
    display: block;
    width: 100%;
    max-width: var(--container-width);
    min-height: 35vh;
    margin-top: 0;
    padding-right: 10px;
    padding-left: 10px;
    padding-top: 0;
    padding-bottom: 50px;
}

.site-page-home .coe-hero-slider {
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
}

#content.site-main > h1:first-of-type,
#content.site-main > h2:first-of-type {
    margin-top: 2rem;
}

.breadcrumbs {
    width: 100%;
    margin: 0 0 1.5rem;
    padding: 0;
    overflow: hidden;
    background: var(--usyd-shadow-grey);
    font-size: 18px;
    line-height: 1.29;
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 10px 0 !important;
    list-style: none !important;
}

.breadcrumbs li + li::before {
    margin: 0 0.7rem;
    color: var(--usyd-charcoal);
    content: ">";
}

.breadcrumbs [aria-current="page"] {
    font-weight: 600;
}

.sub-menu {
    margin: 1rem 0 2rem !important;
    border-bottom: 1px solid var(--usyd-light-grey);
}

.sub-menu ul {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0 0 0.75rem;
}

.sub-menu li {
    padding: 0 !important;
    list-style: none !important;
}

/* Omeka resource views */
.resource-list > li,
.results li,
.pagination li,
.site-page-pagination li {
    list-style: none;
}

ul.resource-list .resource {
    min-height: 110px;
    margin: 1.5rem 0;
    padding: 1.5rem !important;
    border: 0;
    background: var(--usyd-shadow-grey);
}

ul.resource-list .resource:first-child {
    border-top: 0;
}

.resource-list .resource-name {
    color: var(--usyd-master-black);
    font-size: 1.4rem;
    font-weight: 600;
}

.resource-list .resource-link:hover .resource-name,
.resource-list .resource-link:focus .resource-name {
    color: var(--usyd-link);
}

.property {
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--usyd-light-grey);
}

.property dt {
    color: var(--usyd-charcoal);
    font-size: 1rem;
}

.browse-controls {
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

nav.pagination {
    margin: 0;
}

.pagination .button,
.pagination .resource-list.preview + a {
    border: 0;
    background: var(--usyd-link);
    color: var(--usyd-white);
}

.site-page-pagination {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--usyd-light-grey);
}

table,
th,
td {
    border: 1px solid #ced4da !important;
    padding: 10px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th {
    background: var(--usyd-charcoal);
    color: var(--usyd-white);
}

tr:nth-child(odd) {
    background: var(--usyd-light-grey);
}

/* Footer */
.footer {
    max-width: none;
    margin: 0;
    padding: 50px 0 0;
    background: var(--usyd-white);
    clear: both;
}

.footer_contact {
    padding-top: 1rem;
    padding-bottom: 2rem;
}

.footer_acknowledgement {
    margin: 0;
    padding: 1rem 0;
    background: var(--usyd-ochre);
}

.footer_acknowledgement_columns {
    display: grid;
    grid-template-columns: 3fr 2fr;
    align-items: center;
    gap: 0;
}

.footer-col-1-align,
.footer-col-2-align {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.footer-border {
    padding-right: 10%;
    border-right: 1px solid var(--usyd-text-black);
}

.footer-col-2-align {
    padding-left: 10%;
    text-align: right;
}

.acknowledgement_text {
    margin-top: 0;
    font-size: 1.25rem;
    margin-bottom: 5%;
}

.footer-learn-more {
    color: var(--usyd-text-black) !important;
    font-size: 1.125rem;
    text-underline-offset: 0.5em;
}

.footer-logo {
    width: 233px;
    height: auto;
}

.usyd_tagline {
    margin-bottom: 0;
    font-size: 2rem;
}

.site_description,
.footer_links {
    margin: 0;
    padding: 1.5rem 0 0.67rem;
    background: var(--usyd-master-black);
    color: var(--usyd-white);
}

.site_description_row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--usyd-charcoal);
}

.footer-site-identity {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.footer-site-identity p {
    margin: 0;
}

.footer-site-title {
    color: var(--usyd-white) !important;
    font-size: 2rem;
    text-decoration: none !important;
}

.footer-additional {
    margin-top: 0.75rem;
}

.site_description a,
.footer_links a {
    color: var(--usyd-white) !important;
}

.footer_links {
    padding-top: 0.67rem;
}

.footer_links_columns {
    display: grid;
    grid-template-columns: 4fr 1fr;
    align-items: center;
    gap: 2rem;
}

.footer_links nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.abn-dets {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    color: var(--usyd-white);
    font-size: 0.625rem;
}

.printed-header {
    display: none;
}

#return-to-top {
    position: fixed;
    right: 40px;
    bottom: 40px;
    z-index: 999;
    padding: 10px 15px;
    background: #000;
    color: whitesmoke;
    font-size: 1.2rem;
    text-align: center;
    text-decoration: none;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s, visibility 0.3s;
}

#return-to-top:hover {
    background: var(--usyd-charcoal);
}

#return-to-top.show {
    visibility: visible;
    opacity: 1;
}

@media screen and (max-width: 800px) {
    .footer_acknowledgement_columns,
    .footer_links_columns {
        grid-template-columns: 1fr;
    }

    .footer-border {
        padding-right: 0;
        border-right: 0;
    }

    .footer-col-1-align,
    .footer-col-2-align {
        padding-left: 0;
        text-align: center;
    }

    .site_description_row {
        flex-direction: column;
    }

    .footer_links nav,
    .abn-dets {
        align-items: flex-start;
    }
}

@media screen and (max-width: 650px) {
    html {
        scroll-padding-top: 6rem;
    }

    .desktop_header_visit,
    .desktop_header,
    .desktop_menu {
        display: none !important;
    }

    .mobile_header {
        display: block;
    }

    .mobile_header_row {
        position: sticky;
        top: 0;
    }

    .mobile_header .usyd-logo-block img {
        width: 160px;
        padding: 5px 0;
    }

    .mobile_header .search-panel {
        position: static;
        padding: 1rem 15px;
        box-shadow: none;
    }

    .mobile-navigation {
        padding: 0 15px 1rem !important;
        background: var(--usyd-light-grey);
    }

    .mobile-navigation > ul,
    .mobile-navigation ul {
        display: block !important;
        width: 100%;
        height: auto !important;
    }

    .mobile-navigation li {
        position: relative;
        display: block;
        height: auto !important;
        border-bottom: 1px solid #ccc !important;
    }

    .mobile-navigation li a {
        display: block;
        width: 100%;
        padding: 0.75rem 3.5rem 0.75rem 0.5rem !important;
        color: var(--usyd-text-black);
        text-decoration: none;
    }

    .mobile-navigation li.active > a,
    .mobile-navigation li.active > .parent-link > a {
        font-weight: 600;
        text-decoration: underline;
        text-decoration-color: var(--usyd-link);
    }

    .mobile-navigation .parent-link {
        position: relative;
        display: flex;
        align-items: stretch;
    }

    .mobile-navigation .parent-link > a {
        flex: 1 1 auto;
    }

    .mobile-navigation .child-toggle {
        position: absolute;
        top: 0;
        right: 0;
        display: block;
        width: 48px;
        min-height: 48px;
        padding: 0;
        border-radius: 0;
        background: transparent;
        color: var(--usyd-text-black);
    }

    .mobile-navigation .child-toggle::before {
        content: "+";
        font-size: 1.5rem;
    }

    .mobile-navigation .child-toggle[aria-expanded="true"]::before {
        content: "−";
    }

    .mobile-navigation ul ul {
        position: static !important;
        display: block;
        padding-left: 1rem !important;
        background: #f3f3f3;
    }

    .mobile-navigation ul ul[hidden] {
        display: none !important;
    }

    #content.site-main {
        padding-right: 10px;
        padding-left: 10px;
    }

    .breadcrumbs {
        margin-right: 0;
        margin-left: 0;
    }

    .browse-controls {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer_links nav {
        flex-direction: column;
        gap: 0.5rem;
    }

    #return-to-top {
        right: 20px;
        bottom: 20px;
    }
}

/* COE content migrated from the WordPress presentation plugin. */
.coe-explore {
    position: relative;
    padding-bottom: 4rem;
}

.coe-explore > h1 {
    margin: 16px 0 0;
    font-weight: 600;
}

.coe-explore__introduction:empty {
    display: none;
}

.coe-explore__introduction {
    margin-top: 24px;
}

.coe-explore__introduction .block {
    margin: 0;
}

.coe-explore__introduction .block-html > p:empty {
    display: none;
}

.coe-explore__introduction details {
    margin: 0;
}

.coe-explore__introduction summary {
    min-height: 43px;
    padding: 10px 14px;
    background: var(--usyd-shadow-grey);
    cursor: pointer;
    line-height: 23px;
}

.coe-explore__methodology-content {
    padding: 18px 14px 6px;
    border: 1px solid var(--usyd-light-grey);
    border-top: 0;
}

.coe-explore__methodology-content .wp-block-coblocks-accordion-item {
    font-size: 0;
}

.coe-explore__methodology-content .wp-block-coblocks-accordion-item__content {
    font-size: 18px;
}

.coe-explore__methodology-content > *,
.coe-explore__methodology-content .block > * {
    margin-top: 0;
    margin-bottom: 24px;
}

.coe-explore__filters {
    margin: 24px -10px 23px 10px;
    padding: 11.5px 0 0;
    border: 0;
    background: transparent;
    font-size: 23px;
    line-height: 1.29;
}

.coe-explore__search {
    display: grid;
    grid-template-columns: 19.66% 70.6%;
    align-items: center;
    margin: 24px 0 16px;
}

.coe-explore__search input[type="search"] {
    box-sizing: border-box;
    width: 100%;
    height: 52px;
    padding: 6px 12px;
    border: 1px solid #ced4da;
    border-radius: 0;
    background: #fff;
    color: #495057;
    font-size: 16px;
    line-height: 24px;
}

.coe-explore__filters fieldset {
    min-width: 0;
    margin: 0;
    border: 0;
}

.coe-explore__record-types {
    padding: 0 0 24px 19.66% !important;
}

.coe-explore__facet-row {
    display: grid;
    grid-template-columns: 19.66% 70.6%;
    padding: 24px 0 !important;
    border-top: 2px solid var(--usyd-ochre) !important;
}

.coe-explore__filters legend {
    padding: 0;
    font-size: 23px;
    font-weight: 400;
    line-height: 1.29;
}

.coe-explore__facet-label {
    font-size: 23px;
    font-weight: 400;
    line-height: 1.29;
}

.coe-explore__facet-options {
    display: flex;
    min-width: 0;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0 16px;
}

.coe-explore__group-facet:last-of-type {
    padding-bottom: 0 !important;
}

.coe-explore__filters label {
    display: inline-flex;
    align-items: center;
    margin: 0;
    font-size: 23px;
    font-weight: 400;
    line-height: 1.29;
    white-space: normal;
}

.coe-explore__filters input[type="checkbox"] {
    appearance: none;
    position: relative;
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin: 0 8px 0 0;
    border: 0;
    border-radius: 0;
    background: #dee2e6;
}

.coe-explore__filters input[type="checkbox"]:checked {
    background: var(--usyd-ochre);
}

.coe-explore__filters input[type="checkbox"]:checked::after {
    position: absolute;
    top: 2px;
    left: 5px;
    width: 4px;
    height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    content: "";
    transform: rotate(45deg);
}

.coe-explore__filter-actions,
.coe-explore__summary,
.coe-view-switcher,
.coe-entity__header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.coe-explore__filter-actions {
    gap: 28px;
    padding: 24px 0 0;
}

.coe-explore__filter-actions button,
.coe-explore__filter-actions .button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    padding: 9px 12px;
    border-radius: 0;
    font-size: 23px;
    font-weight: 600;
    line-height: 30px;
}

.coe-explore__button-icon {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.coe-explore__button-icon::before {
    position: absolute;
    top: 2px;
    left: 1px;
    width: 18px;
    height: 12px;
    background: currentColor;
    clip-path: polygon(0 0, 100% 0, 62% 55%, 62% 100%, 38% 86%, 38% 55%);
    content: "";
}

.coe-explore__reset-icon {
    margin-right: 10px;
    color: var(--usyd-ochre);
    font-size: 29px;
    line-height: 1;
}


.coe-explore__summary {
    position: relative;
    display: block;
    height: 76px;
    margin: 0 10px;
}

.coe-explore__summary p {
    margin: 0;
}

.coe-view-switcher {
    position: absolute;
    right: 0;
    bottom: 0;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 13px;
}

.coe-view-switcher a {
    display: inline-flex;
    align-items: center;
    padding: 0;
    border: 0;
    color: var(--usyd-text-black) !important;
    font-size: 23px;
    line-height: 1.29;
    text-decoration: none;
}

.coe-view-switcher a::before {
    box-sizing: border-box;
    width: 13px;
    height: 13px;
    margin-right: 5px;
    border: 1px solid #777;
    border-radius: 50%;
    background: #fff;
    content: "";
}

.coe-view-switcher a.active::before {
    border-color: #1683ff;
    box-shadow: inset 0 0 0 3px #fff;
    background: #1683ff;
}

.coe-item-grid {
    display: flex;
    margin: 0 -10px 2em 10px;
    flex-wrap: wrap;
    gap: 20px;
}

.coe-explore__view.is-hidden {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    overflow: hidden;
    visibility: hidden;
    pointer-events: none;
}

.coe-item-card {
    box-sizing: content-box;
    width: 255px;
    min-width: 255px;
    padding: 20px 10px;
    border: 0;
    color: #fff;
    flex-shrink: 0;
    line-height: 1.2;
}

.coe-item-card .tile-title {
    display: -webkit-box;
    margin: 0 0 10px;
    overflow: hidden;
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.2;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.coe-item-card .tile-title a,
.coe-item-card .tile-title a:hover,
.coe-item-card .tile-title a:focus {
    color: #fff !important;
}

.coe-item-card .tile-info {
    margin: 0 0 10px;
    font-size: 18px;
}

.coe-item-card .tile-info--type {
    padding-bottom: 16px;
}

.coe-item-card .tile-info:last-child {
    margin-bottom: 0;
}

.coe-pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 2rem 0;
}

.coe-pagination a {
    display: inline-flex;
    width: 2.5rem;
    height: 2.5rem;
    align-items: center;
    justify-content: center;
    border: 1px solid #bbb;
    text-decoration: none;
}

.coe-pagination a.active {
    border-color: var(--usyd-ochre);
    background: var(--usyd-ochre);
    color: #fff;
}

.coe-policy-range {
    position: relative;
    width: 95%;
    height: 46px;
    margin: 0 auto;
}

.coe-policy-range__track {
    position: absolute;
    top: 26px;
    right: 0;
    left: 0;
    height: 2px;
    background: rgba(0, 0, 0, 0.2);
}

.coe-policy-range__track span {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--coe-policy-from, 0%);
    width: calc(var(--coe-policy-to, 100%) - var(--coe-policy-from, 0%));
    background: var(--usyd-ochre);
}

.coe-policy-range__value {
    position: absolute;
    top: 0;
    color: var(--usyd-text-black);
    font-size: 13px;
    line-height: 18px;
}

.coe-policy-range__value--from {
    left: var(--coe-policy-from, 0%);
    transform: translateX(-50%);
}

.coe-policy-range__value--to {
    left: var(--coe-policy-to, 100%);
    transform: translateX(-50%);
}

.coe-policy-range__input {
    position: absolute;
    top: 20px;
    left: 0;
    z-index: 2;
    width: 100%;
    height: 14px;
    margin: 0;
    padding: 0;
    appearance: none;
    background: transparent;
    pointer-events: none;
}

.coe-policy-range__input::-webkit-slider-runnable-track {
    height: 2px;
    background: transparent;
}

.coe-policy-range__input::-webkit-slider-thumb {
    width: 12px;
    height: 12px;
    margin-top: -5px;
    border: 0;
    border-radius: 50%;
    appearance: none;
    background: var(--usyd-ochre);
    cursor: pointer;
    pointer-events: auto;
}

.coe-policy-range__input::-moz-range-track {
    height: 2px;
    background: transparent;
}

.coe-policy-range__input::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border: 0;
    border-radius: 50%;
    background: var(--usyd-ochre);
    cursor: pointer;
    pointer-events: auto;
}

.coe-policy-range__input--to {
    z-index: 3;
}

.coe-policy-grid {
    margin-top: 0;
}

.coe-policy-grid .coe-item-card[hidden] {
    display: none;
}

.coe-policy-grid__empty {
    margin: 1rem 10px;
}

.coe-map-view iframe {
    display: block;
    width: 100%;
    min-height: 700px;
    border: 2px solid #000;
}

.coe-network-view .network-view,
.coe-network-view #network-container {
    min-height: 600px;
}

.coe-notice {
    margin: 2rem 0;
    padding: 1rem 1.25rem;
    border-left: 5px solid var(--usyd-ochre);
    background: #f5f5f5;
}

.coe-entity__header {
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    height: auto;
    min-height: 0;
    margin: 0 10px 24px;
    padding: 0;
    border: 0;
}

.coe-entity__header > div {
    min-width: 0;
    flex: 1 1 0;
    padding: 0;
}

.coe-entity__header h1 {
    margin: 0;
    padding: 0;
    font-size: 52px;
    font-weight: 300;
    line-height: 1.12;
    letter-spacing: 2px;
    overflow-wrap: anywhere;
}

.coe-entity__header .btn {
    flex: 0 0 auto;
    margin-top: 8px;
    border-color: #000;
}

.coe-entity__details {
    width: 100%;
    margin-left: 10px;
}


.coe-entity__tabs {
    margin: 0;
    padding: 0;
    border: 0;
    list-style: none;
}

.coe-entity__tabs .nav-item {
    margin: 0 0 -1px;
    padding: 0;
    list-style: none;
}

.coe-entity__tabs .nav-item .nav-link,
.coe-entity__tabs .nav-item .nav-link.active {
    display: block;
    padding: 0.5rem 1rem;
    border: 1px solid #e64626;
    border-bottom: 0;
    border-radius: 0;
    background: #e64626;
    color: #fff;
    font-size: 24px;
    line-height: 1.29;
    text-decoration: none;
}

.coe-entity__details-panel {
    display: block;
    padding: 2em 3em;
    border: 2px solid #000;
}

.coe-entity__values {
    max-width: 100%;
    overflow-x: auto;
}

.coe-entity-table {
    width: 100%;
    min-width: 600px;
    margin: 24px auto !important;
    font-size: 18px;
    line-height: 1.29;
}

.coe-entity-table td {
    max-width: 140px;
    padding: 10px;
    vertical-align: top;
    overflow-wrap: anywhere;
    word-break: normal;
}

.coe-entity-table__label {
    width: 20% !important;
    max-width: 20%;
    font-weight: 700;
}

.coe-entity-table__media-row img {
    width: auto;
    max-width: 100%;
    max-height: 400px;
}

.coe-entity-table__pdf {
    width: 100%;
    height: 500px;
    border: 1px solid #ddd;
}

.coe-entity__details-panel .omaa-text-source {
    width: 100%;
    margin-bottom: 1em;
}

.coe-entity__details-panel .omaa-text-source iframe {
    box-sizing: content-box;
}

.coe-entity__source-fallback {
    margin-bottom: 1.5rem;
}

.coe-featured-items {
    margin: 2rem 0;
}

.coe-featured-items__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.coe-featured-card {
    min-width: 0;
}

.coe-featured-card__image {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.coe-featured-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media screen and (max-width: 800px) {
    .coe-item-grid,
    .coe-featured-items__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 650px) {
    .coe-entity__details .coe-entity__details-panel {
        padding: 1rem;
    }

    .coe-explore > h1 {
        margin-top: 24px;
    }

    .coe-explore__filters {
        margin-right: -10px;
        margin-left: 10px;
        padding-right: 0;
        padding-left: 0;
    }

    .coe-explore__search {
        display: block;
        margin-top: 34px;
        margin-bottom: 12px;
    }

    .coe-explore__search label {
        display: block;
        margin-bottom: 8px;
    }

    .coe-explore__record-types {
        padding-left: 0 !important;
    }

    .coe-explore__record-types .coe-explore__facet-options {
        width: calc(100% + 30px);
        margin-left: -15px;
    }

    .coe-explore__facet-row {
        display: block;
        padding-top: 12px !important;
    }

    .coe-explore__filters legend {
        margin-bottom: 10px;
    }

    .coe-explore__facet-options {
        gap: 0 14px;
    }

    .coe-explore__filters label {
        display: inline-flex;
        margin: 0;
    }

    .coe-explore__search input[type="search"] {
        width: calc(100% + 20px);
        height: 40px;
        padding: 4.5px 9px;
        font-size: 12px;
        line-height: 18px;
    }

    .coe-explore__filter-actions {
        padding-top: 19px;
    }

    .coe-explore__summary {
        height: auto;
        margin-right: 0;
        margin-left: 0;
    }

    .coe-explore__summary p {
        margin-bottom: 20px;
    }

    .coe-entity__header {
        height: auto;
        margin: 1.5rem 0;
        gap: 1rem;
        align-items: flex-start;
        flex-direction: column;
    }

    .coe-entity__header > div {
        padding: 0;
    }

    .coe-entity__header h1 {
        padding-left: 0;
        font-size: 40px;
        line-height: 1.15;
    }

    .coe-entity__header .btn {
        margin-top: 0;
    }

    .coe-entity__details {
        width: auto;
        margin-left: 0;
    }

    .coe-view-switcher {
        position: static;
        justify-content: flex-start;
    }

    .coe-featured-items__grid,
    .coe-item-grid {
        margin: 20px 0 2em;
        padding: 0;
    }

}

@media print {
    .desktop_header_visit,
    .desktop_menu,
    .mobile_header,
    .screen_display,
    #return-to-top,
    .breadcrumbs,
    .sub-menu,
    .user-bar {
        display: none !important;
    }

    .desktop_header {
        display: block !important;
    }

    .desktop_header_site_title {
        color: #000 !important;
    }

    .printed-header {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 2rem;
        margin-top: 2rem;
        padding-top: 1rem;
        border-top: 1px solid var(--usyd-light-grey);
    }

    .printed-header img {
        width: 140px;
    }

    .print_fields_text {
        display: flex;
        flex-direction: column;
        gap: 3px;
        font-size: 0.625rem;
        text-align: right;
    }

    * {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}
