:root {
    font-size: 16px;
    margin: 0;
    padding: 0;

    --background-color: white;
    --text-color: black;
    --text-color-light: #5d5d5d;
    --line-weight: 1px;
    font-family: 'Funnel Sans', sans-serif;
    font-weight: lighter;
    line-height: 1.4;
    color: var(--text-color);
}

html, body {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding-top: 120px; /* Adjust this value based on your header's actual height */

}

main {
    flex: 1;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: var(--background-color); /* Ensures it has a background to cover content */
}

.site-footer {
    padding: 1.5rem 3rem;
    font-size: 0.9rem;
    color: var(--text-color);
    border-top: var(--line-weight) solid var(--text-color);
    margin-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-left {
    display: flex;
    gap: 1.5rem;
    flex: 0 1 auto;
}

.footer-right {
    display: flex;
    gap: 1.5rem;
    margin-left: auto;
    flex: 0 1 auto;
}

.footer-left p,
.footer-right p {
    margin: 0;
}

.footer-left a,
.footer-right a {
        text-decoration: none;
    color: inherit;
}

.title {
    text-align: center;
    padding: 1.2rem 0;
    user-select: none;
}

.title a {
  color: inherit;
  text-decoration: none;
}

.navigation ul {
    margin: 0;
    display: flex;
    justify-content: right;
    list-style: none;
    border-top: var(--line-weight) solid var(--text-color);
    border-bottom: var(--line-weight) solid var(--text-color);
}

.navigation li {
    padding: 0.1rem 0.8rem;
    padding-bottom: 0.3rem;
    border-left: var(--line-weight) solid var(--text-color);
}

.navigation li:hover {
    background: rgba(0, 0, 0, 0.05);
    cursor: pointer;
}

.navigation li a {
    font-size: 1rem;
    text-decoration: none;
    color: inherit;
}

.content-container {
    width: 90%;
    max-width: 900px;
    margin: 2rem auto 8rem auto;
}

.card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.card-link:hover .card {
    background: rgba(0, 0, 0, 0.05);
    cursor: pointer;
}

.card {
    border: var(--line-weight) solid var(--text-color);
    display: flex;
    flex-direction: row;
    margin-bottom: 1rem;
}

.card-content--update,
.card-content--download {
    flex: 1 1 auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 1.5rem;
}

.card-title {
    font-family: 'Oxanium', sans-serif;
    margin: 0;
    margin-right: auto;
}

.card-text {
    margin: 0;
}

.card-image-container {
    flex: 0 0 18rem;
    height: 13rem;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1000;
}

.card-footer {
    font-size: 0.8rem;
    color: var(--text-color-light);
}

.download-link {
    width: 5rem;           /* was 80px */
    margin-left: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: stretch;
    border-left: var(--line-weight) solid var(--text-color);
}

.download-link:hover {
    background: rgba(0, 0, 0, 0.05);
    cursor: pointer;
}

.download-icon {
    width: 1.5rem;         /* was 24px */
    height: 1.5rem;        /* was 24px */
    margin: auto 1.75rem;  /* was auto 28px */
}

.update-title {
    margin: 0;
    margin-bottom: 1rem;
    font-family: 'Oxanium', sans-serif;
    font-size: 2rem;
}

.update-footer {
    margin: 0;
    margin-bottom: 2rem;
    color: var(--text-color-light);
}

.update-content {
    margin: 0 0 3rem 0;
    font-size: 1.25rem;
    text-align: justify;
}


.media-container--left {
    float: left;
    margin: 0 1.5rem 0 0;
}

.media-container--right {
    float: right;
    margin: 0 0 0 1.5rem;
}

.media-container--large {
    width: 60%;
}

.media-container--small {
    width: 45%;
}

.media-container--full-width {
    width: 100%;
}

.image,
.video {
    width: 100%;
    height: auto;
    display: block;
}

.media-footer {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.media-type {
    margin-left: auto;
    margin-right: 0.5rem;
    color: var(--text-color-light);
    font-style: italic;
}

.coming-soon {
    text-align: center;
    padding: 1.5rem 1.5rem;
    margin: 2rem 0;
}

.coming-soon-title {
    font-family: 'Oxanium', sans-serif;
    font-weight: 500;
    margin: 0;
    font-size: 2rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.team-member-card {
    display: flex;
    flex-direction: column;
    border: var(--line-weight) solid var(--text-color);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}

.team-member-card:hover {
    background: rgba(0, 0, 0, 0.05);
    cursor: pointer;
}

.team-member-card:has(.join-us):hover {
    background: none;
    cursor: auto;
}

.team-member-image {
    width: 100%;
    height: 70%;
    object-fit: cover;
    display: block;
}

.team-member-info {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.join-us {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


.team-member-name {
    margin: 0;
    font-family: 'Oxanium', sans-serif;
    font-weight: bold;
    font-size: 1.1rem;
}

.team-member-role {
    margin: 0.5rem 0 0 0;
    font-size: 0.9rem;
    color: var(--text-color-light);
}