/* =========================================================
   Oregon Contributors
   ========================================================= */

.article-content:has(> .oregon-contributors-layout) {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
    align-items: start;
    gap: clamp(24px, 4vw, 56px);
    width: 100%;
    max-inline-size: min(var(--kutak--size--container), calc(100% - (2 * var(--kutak--space--site))));
    margin-inline: auto;
}

.article-content:has(> .oregon-contributors-layout) > p {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    max-inline-size: none;
    margin: 0;
}

.oregon-contributors-layout {
    display: contents;
}

.oregon-contributors {
    grid-column: 1;
    grid-row: 2;
    min-width: 0;
    width: 100%;
    max-inline-size: none;
    margin: 0;
}

.oregon-contributors__sidebar {
    grid-column: 2;
    grid-row: 1 / span 2;
    min-width: 0;
    padding-left: 20px;
    border-left: 1px solid #dfe4e1;
}

.oregon-contributors__sidebar h2 {
    margin: 0 0 14px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

.oregon-contributors__sidebar ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.oregon-contributors__logos {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: start;
    gap: 20px;
    margin-top: 28px;
}

.oregon-contributors__logos img {
    display: block;
    width: 100%;
    max-width: 180px;
    max-height: 140px;
    object-fit: contain;
    object-position: left center;
}

.oregon-contributors__sidebar a {
    color: #212529;
    font-size: 14px;
    line-height: 1.4;
    text-decoration: none;
}

.oregon-contributors__sidebar a:hover,
.oregon-contributors__sidebar a:focus-visible {
    /* color: #007bff; */
    /* text-decoration: underline; */
}

.oregon-contributors__table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 15px;
    line-height: 1.45;
}

.oregon-contributors__table th,
.oregon-contributors__table td {
    padding: 12px 16px;
    text-align: left;
    vertical-align: top;
    overflow-wrap: anywhere;
}

.oregon-contributors__table th:first-child,
.oregon-contributors__table td:first-child {
    width: 70%;
}

.oregon-contributors__table th:last-child,
.oregon-contributors__table td:last-child {
    width: 30%;
}

.oregon-contributors__table thead {
    background: #f1f4f3;
    color: #212529;
}

.oregon-contributors__table th {
    border-bottom: 2px solid #c9d0cd;
    font-weight: 700;
}

.oregon-contributors__table tbody tr {
    border-bottom: 1px solid #dfe4e1;
}

.oregon-contributors__table tbody tr:nth-child(even) {
    background: #f8f9f8;
}

.oregon-contributors__name a {
    color: #007bff;
    font-weight: 700;
    text-decoration: none;
}

.oregon-contributors__name a:hover,
.oregon-contributors__name a:focus-visible {
    text-decoration: underline;
}

.oregon-contributors__name a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

.oregon-contributors__location {
    color: #212529;
}

@media (max-width: 700px) {
    .article-content:has(> .oregon-contributors-layout) {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .article-content:has(> .oregon-contributors-layout) > p,
    .oregon-contributors,
    .oregon-contributors__sidebar {
        grid-column: 1;
        grid-row: auto;
    }

    .article-content:has(> .oregon-contributors-layout) > p {
        grid-row: 1;
    }

    .oregon-contributors {
        grid-row: 2;
    }

    .oregon-contributors__sidebar {
        grid-row: 3;
        padding: 18px 0 0;
        border-top: 1px solid #dfe4e1;
        border-left: 0;
    }

    .oregon-contributors__logos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: center;
    }

    .oregon-contributors__table th,
    .oregon-contributors__table td {
        padding: 10px 8px;
    }
}


/* Restore left padding for the first column in this table */
.oregon-contributors__table tr > th:first-child,
.oregon-contributors__table tr > td:first-child {
    padding-inline-start: 20px; /* Adjust this value to match your desired spacing */
}


.oregon-contributors__sidebar {
    position: sticky;
    top: 110px;
}

@media (max-width: 700px) {
    .oregon-contributors__sidebar {
        position: static;
    }
}


.oregon-contributors__table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    border: 1px solid #c9d0cd;
    font-size: 15px;
    line-height: 1.45;
}

.oregon-contributors__table th,
.oregon-contributors__table td {
    border: 1px solid #dfe4e1;
    padding: 12px 16px;
    text-align: left;
    vertical-align: top;
    overflow-wrap: anywhere;
}

.oregon-contributors__table th:first-child,
.oregon-contributors__table td:first-child {
    width: 70%;
}

.oregon-contributors__table th:last-child,
.oregon-contributors__table td:last-child {
    width: 30%;
}

.oregon-contributors__table thead {
    background: var(--kutak--color--primary, #2691fb);
    color: #fff;
}

.oregon-contributors__table th {
    font-weight: 700;
}

.oregon-contributors__table tbody tr:nth-child(even) {
    background: #f8f9f8;
}

@media (max-width: 700px) {
    .oregon-contributors__table th,
    .oregon-contributors__table td {
        padding: 10px 8px;
    }
}


.oregon-contributors__logo--ford {
    background-image: url("https://demo.onpointinsights.us/oregon/wp-content/uploads/2026/09/Tfff-125.jpg");
}

.oregon-contributors__logo--oac {
    background-image: url("https://demo.onpointinsights.us/oregon/wp-content/uploads/2026/09/OAC-logo-grayscale_reduced-1.jpg");
}


.oregon-contributors__sidebar ul {
    gap: 20px;
}

.oregon-contributors__sidebar li {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}