:root {
    --white: #fffef8;
    --beige: #F5F3EA;
    --black: #000000;
    --brown: #726d5f;
    --red: #A71930;
    --yellow: #eeb631;
    --blue: #3f86bf;
    --green: #284232;


    --xs-text: .8rem;
    --sm-text: 1rem;
    --md-text: 1.2rem;
    --lg-text: 1.5rem;
    --xl-text: 1.7rem;
    --xxl-text: 2rem;
}

@font-face {
    font-family: 'Saans';
    src: url('fonts/Saans-Regular.woff2') format('woff2'),
        url('fonts/Saans-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Saans';
    src: url('fonts/Saans-Medium.woff2') format('woff2'),
        url('fonts/Saans-Medium.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Saans';
    src: url('fonts/Saans-SemiBold.woff2') format('woff2'),
        url('fonts/Saans-SemiBold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PPEditorialNew';
    src: url('fonts/PPEditorialNew-Regular.woff2') format('woff2'),
        url('fonts/PPEditorialNew-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--beige);
    padding: 20px;
    font-family: 'Aptos', sans-serif;
}

.eyebrow {
    text-transform: uppercase;
    line-height: 1.1;
    letter-spacing: .1em;
}

h1,
.h1,
.name-block p.fullname {
    font-family: 'PPEditorialNew', serif;
    font-size: var(--xl-text);
    font-weight: 400;
    color: var(--black);
}

.card {
    background: var(--white);
    width: 100%;
    max-width: 400px;
    border-radius: 30px;
    overflow: hidden;
    border: .5px solid var(--brown);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
    min-height: 200px;
    margin: 30px;
}

.header {
    background: var(--yellow);
    padding: 8px 28px 0;
    text-align: center;
}

.logo {
    width: 200px;
    text-align: center;
}

.header-inner {
    padding: 24px 0;
    text-align: left;
}

.name-block .fullname span.credentials {
    font-size: var(--sm-text);
    font-weight: 300;
    font-style: normal;
    color: var(--black);
}

.name-block p.jobtitle {
    font-family: 'Saans', sans-serif;
    font-size: var(--sm-text);
    font-weight: 400;
    color: var(--black);
}

/* Contact body */
.body {
    padding: 24px 28px 28px;
    background: var(--white);
}

.contact-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    text-decoration: none;
    color: inherit;
    line-height: 1;
}

.contact-row:last-of-type {
    margin-bottom: 25px;
}

.icon-wrap {
    width: 36px;
    height: 36px;
    background: var(--beige);
    border: 1px solid var(--brown);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.icon-wrap svg {
    width: 15px;
    height: 15px;
    fill: var(--black);
}

.label {
    font-size: var(--xs-text);
    font-weight: 400;
    text-transform: uppercase;
    color: var(--black);
}

.value {
    font-size: var(--sm-text);
    color: var(--black);
    font-weight: 400;
}

a.contact-row:hover .value {
    text-decoration: underline;
}

.qr-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 30px 0px 16px;
}

.qr-code {
    width: 140px;
    height: 140px;
    display: block;
}

.qr-label {
    font-size: var(--xs-text);
    font-weight: 400;
    /* letter-spacing: 1.8px; */
    text-transform: uppercase;
    color: var(--black);
    margin-top: 8px;
}

.save-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px;
    background: var(--yellow);
    color: var(--black);
    border: none;
    border-radius: 30px;
    font-family: 'Saans', sans-serif;
    font-size: var(--sm-text);
    font-weight: 400;
    text-transform: title;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s;
}

.save-btn svg {
    width: 18px;
    height: 14px;
    fill: var(--black);
}

.save-btn:hover {
    background: var(--black);
    color: var(--beige);
}

.save-btn:hover svg {
    fill: var(--beige);
}

/* index list  */
ul.index-list {
    list-style: none;
}

ul.index-list li {
    font-size: var(--md-text);
}

ul.index-list li a {
    text-decoration: none;
    color: var(--black);
}

ul.index-list li a {
    text-decoration: none;
    color: var(--black);
}

ul.index-list li a:hover,
ul.index-list li a:focus {
    text-decoration: underline;
    color: var(--red);
}


ul.index-list li a .fullname {
    font-size: var(--md-text);
    display: block;
    font-family: 'PPEditorialNew', serif;
}

ul.index-list li .title {
    font-size: var(--sm-text);
    display: block;
    padding-left: 2rem;
}

/* SeniorStaff list */

.ss-wrapper .card {
    max-width: 1000px;
}

.ss-wrapper ul.index-list {
    column-count: 3;
    column-gap: 2rem;
    column-rule: 1px solid #ccc;
}

.ss-wrapper ul.index-list li {
    break-inside: avoid-column;
}