/* Colours Setup */
:root {
    --staff-primary-color: #1a2e5a;
    --staff-secondary-color: #8e1537;
    --light: #ffffff;
    --dark: #000000;

    --theme-font-family: 'Prata', Georgia, "Times New Roman", serif;
}

/* Layout */
.staff-archive-header {
    padding-top: 14%;
    padding-bottom: 5%;
    background-color: var(--staff-primary-color);
}

.staff-header-inner {
    width: 100%;
    max-width: 90%;
    margin-inline: auto;
}

.staff-header-inner h1 {
    color: var(--light);
    font-weight: 700;
    font-family: var(--theme-font-family);
    font-size: 45px;
    line-height: 1.2em;
    margin: 0;
    padding: 0;
}

.staff-archive,
.staff-single {
    width: 100%;
    max-width: 90%;
    margin-inline: auto;
    padding-top: 4%;
    padding-bottom: 4%;
}

.staff-card {
    display: flex;
    flex-direction: column;
}

.staff-archive-meta {
    padding-bottom: 15px;
}

.staff-card .btn {
    font-size: 18px;
    margin-top: auto;
    border: 1px solid var(--staff-secondary-color);
    background: transparent;
    color: var(--staff-secondary-color) !important;
    padding: 6px 10px;
    text-decoration: none;
    display: block;
    width: 100%;
    text-align: center;
}

.staff-card .btn:hover {
    background-color: var(--staff-secondary-color);
    color: var(--light) !important;
    transition: background-color 0.3s ease;
}

/* Archive */
body .staff-archive .staff-category-group .staff-category-title {
    font-family: var(--theme-font-family);
    color: var(--staff-primary-color);
    font-size: 42px !important;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
    margin-bottom: 4rem;
}

.staff-grid .staff-position {
    line-height: 1.3;
    margin-top: 4px;
}

.staff-grid .staff-photo {
    aspect-ratio: 9 / 11;
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
}

.staff-grid .staff-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.staff-grid h4 {
    margin: 0;
    padding: 0;
}


/* Single Staff */
.staff-profile {
    display: flex;
    gap: 4rem;
}

.staff-profile .left-col {
    flex: 1;
    max-width: 400px;
}

.staff-profile .left-col .staff-photo {
    width: 100%;
    aspect-ratio: 9 / 11;
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
}

.staff-profile .left-col .staff-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.staff-profile .right-col {
    flex: 1;
}

.staff-profile h1 {
    font-family: var(--theme-font-family);
    color: var(--staff-primary-color);
}

.staff-meta {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    color: var(--staff-primary-color);
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 300;
}