.field-entry .field-value {
    font-size: 1.3rem;
    font-stretch: 75%;
}

.field-entry.name .field-value {
    font-size: 2rem;
}

.field-entry.title .field-value {
    font-size: 1.65rem;
}

.opacity-5{
   opacity: 0.5;
}

.opacity-7{
   opacity: 0.7;
}

.field-entry.title {
    margin-bottom: 0.25rem !important;
    padding-bottom: 0.25rem !important;
    line-height: 1.1;
}

.field-entry.office {
    margin-bottom: 0.25rem !important;
    padding-bottom: 0.25rem !important;
    line-height: 1.1;
}

.field-entry.email {
    margin-top: 0 !important;
    padding-top: 0 !important;
    line-height: 1.1;
}

/* ~NJ solving the white empty box in contact pages with no links*/
.com-contact__links.contact-links:not(:has(a)) {
    display: none;
}

/* 2026-07-01 ~Nj Solving image rounded error in bootstrap css */
.img-rounded {
  border-radius: 1rem !important;
}

/* 2026-06-18 ~NJ Personal Contact Page Updates*/
.com-contact.contact {
    max-width: 1200px;
    margin-top: 3rem;
}

.com-contact {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
}

.com-contact__container {
    display: contents;
}

.com-contact__thumbnail {
    grid-column: 1;
    grid-row: 1 / 3; 
}

.com-contact__thumbnail img {
    width: 100%;
    border-radius: 1rem;
  height: auto !important;
      padding: 0px !important;
}

.fields-container {
    grid-column: 2;
    grid-row: 1;
    list-style: none;
    padding: 0;
    margin: 0;
    align-self: start;
}

.com-contact__links {
    grid-column: 2;
    grid-row: 2; /* own row, no overlap */
    background: #fff;
    padding: 1.25rem;
    width: fit-content;
    height: fit-content;
    align-self: start;
    justify-self: start;
}

.com-contact__miscinfo {
    grid-column: 1 / -1;
    grid-row: 3;
    margin-top: 2rem;
}

.com-contact__info {
    display: none;
}

.com-contact h2 {
    display: none;
}
/* 2026-06-09 ~NJ Contact Form Updates*/
#contactList,
#contactList tbody,
#contactList tr,
#contactList th,
#contactList td {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}
#contactList tbody {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

#contactList tr {
    display: block;
    width: calc(50% - 1rem);
}

th.list-title:has(.contact-thumbnail) {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

th.list-title > a:has(.contact-thumbnail) {
    flex-shrink: 0;
    font-size: 0;
    line-height: 0;
}

.contact-thumbnail {
    width: 108px;
    height: 138px;
    border-radius: 1rem;
    object-fit: cover;
}

.fields-container {
    list-style: none;
    transform: translateY(5px);
     margin-left: 0 !important;
    padding-left: 0 !important;
 
}

thead.visually-hidden,
caption.visually-hidden{
  display: none !important;
}





@media (max-width: 768px) {
    #contactList tr {
        width: 100%;
    }
    th.list-title {
        gap: 1rem;
        align-items: flex-start;
    }
    .contact-thumbnail {
        width: 90px;
        height: 120px;
        object-fit: cover;
        border-radius: 1rem;
    }
    th.list-title {
        display: flex;
        align-items: center;
    }

   .fields-container {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
   .field-entry.name {
       font-size: 1.6rem;
       font-weight: 500;
       margin-bottom: 0.25rem;
    }

   .field-entry.title {
       font-size: 0.9rem; 
       margin-bottom: 0.25rem;
    }
  
   .field-entry.office{
       margin-bottom: 0.3rem;
    }
  
    .field-entry.email,
    .field-entry.name-url {
        font-size: 0.9rem;
        margin-bottom: 0.2rem;
    }
  
    .com-contact {
        grid-template-columns: 1fr;
    }

    .com-contact__thumbnail,
    .fields-container,
    .com-contact__links,
    .com-contact__miscinfo {
        grid-column: 1;
        grid-row: auto;
    }
}
