
.gt_selector {
    margin-right: 12px !important;
}

.wpgb-metro > article:nth-of-type(1) .color-card,
.wpgb-metro > article:nth-of-type(1) .color-card-photo {
    background: var(--color-berkeley-blue);
    border-radius: 10px;
    border-top-right-radius: 140px;
}

.wpgb-metro > article:nth-of-type(2) .color-card,
.wpgb-metro > article:nth-of-type(2) .color-card-photo {
    background: var(--color-california-gold);
    border-radius: 10px;
    border-bottom-right-radius: 140px;
}

.wpgb-metro > article:nth-of-type(2) .color-card .heading_color-card, .wpgb-metro > article:nth-of-type(2) .color-card p {
    color: black;
      border-bottom-right-radius: 106px;
}

.color-card-container .wpgb-card:hover .heading_color-card,
.photo-card-container .wpgb-card:hover .interior-page {
      text-decoration: underline !important;
      text-underline-offset: 6.5px !important;
      text-decoration-thickness: 1.5px !important;
}

.wpgb-metro > article .color-card a {
    text-decoration: none;
}
.wpgb-metro > article:nth-of-type(2) .color-card a, .wpgb-metro > article:nth-of-type(2) .color-card .excerpt_color-card {
    color: black !important;
}

.wpgb-metro > article:nth-of-type(2) .color-card a, .wpgb-metro > article:nth-of-type(2) .color-card p {
    color: black;
}

.wpgb-metro > article:nth-of-type(3) .color-card,
.wpgb-metro > article:nth-of-type(3) .color-card-photo {
    background: var(--color-blue-medium);
    border-radius: 10px;
    border-top-right-radius: 140px;
}

.wpgb-metro > article:nth-of-type(1) .color-card h3:hover,
.wpgb-metro > article:nth-of-type(3) .color-card h3:hover{
    color: white;
}

.color-card-photo {
    display: none;
}

.site-content .front-page {
    margin-inline: auto;
}

.front-page h2 {
    margin: 0px;
    font-family: var(--font-family-secondary);
    font-weight: 400;
    font-size: clamp(32px, 5vw, 42px);
    margin: 0 0 20px 0;
    color: #010133;
}

.page-layout-staff .wpgb-card-media-thumbnail a > div {
    border-radius: 100%;
    aspect-ratio: 1/1;
}
.page-layout-staff .wpgb-card-content strong {
    font-weight: 600;
}
.page-layout-staff .wpgb-card-content .wpgb-block-1 > * {
    color: black;
}

.wp-grid-builder.wpgb-enabled .wpgb-card-layer-link {
    pointer-events: auto !important;
}

.wp-grid-builder .wpgb-card-layer-link:focus-visible {
    outline: 3px solid #005fcc;
    outline-offset: 3px;
}

/* ── Sticky footer ───────────────────────────────── */
#page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Make the main content area grow to fill available space */
.site-content.container {
  flex: 1 0 auto;
}

/* Prevent the footer from shrinking */
.site-footer {
  flex-shrink: 0;
}

/* ig feed override */
.sbi_follow_btn.sbi_custom a {
    background: var(--color-berkeley-blue) !important;
}

.sbi_follow_btn.sbi_custom a:hover {
    box-shadow: inset 0 0 10px 20px #010133 !important;
}


/* ── 404 PAGE ───────────────────────────────── */
.error404 .block-error-404 {
    min-height: 50vh;
    text-align: center;
}
.error404 h1 {
    font-size: 2.75em;
    margin: 0;
    font-family: var(--font-family-secondary);
}
.error404 p {
    font-size: 1.1em;
    padding: 0 0 2em 0;
    margin: 0.5em;
    font-family: var(--font-family-primary);
}
.error404 .content img {
    padding: 4em 0 0 0;
}
.error404 .btn-home {
   display: inline-flex;
   align-items: center;
   gap: 0.5rem;
   padding: 0.6rem 1.25rem;
   border-radius: 999px;
   font-weight: 500;
   font-family: var(--font-family-primary);
   text-decoration: none;
   border: 1px solid #000;
   background-color: #ffc31b;
   color: #000;
   transition: font-weight 0.2s ease;
   margin-bottom: 4em;
}
.error404 .btn-home:hover {
    font-weight: 600;
}
.error404 .btn-home:focus {
  outline: 2px solid #003262;
  outline-offset: 2px;
}

/* thumblist  */
.lcp_catlist {
    padding-left: 0px !important;
    margin-top: 60px !important;
}
.lcp_catlist li {
list-style: none;
  display: grid;
  grid-template-columns: 300px 1fr;
  grid-template-rows: auto 1fr;
  gap: 8px 60px;
  margin-bottom: 70px !important;
}

.lcp_catlist li > a:has(img) {
  grid-row: 1 / -1;
}

.lcp_catlist li .navthumb {
   aspect-ratio: 3/2;
    width: 300px;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    border-bottom-left-radius: 80px;
}

.lcp_catlist li > a:first-child {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  font-family: var(--font-family-primary);
  font-weight: 600;
  font-size: clamp(18px, 3vw, 24px);
  color: black;
  text-decoration: none;
}

.lcp_catlist .lcp_excerpt {
  grid-column: 2;
  grid-row: 2;
  font-weight: normal;
  font-size: clamp(14px, 2vw, 18px);
}

@media (max-width: 1024px) {
  .lcp_catlist li {
    grid-template-columns: 220px 1fr;
    gap: 8px 24px;
    margin-bottom: 40px !important;
  }

  .lcp_catlist li .navthumb {
    width: 220px;
  }
}
@media (max-width: 600px) {
    .lcp_catlist li {
    grid-template-columns: 220px 1fr;
    gap: 8px 0px;
    margin-bottom: 40px !important;
  }
  .lcp_catlist li .navthumb {
    width: 190px;
  }
}

@media (max-width: 1024px) {
  .lcp_catlist li {
    grid-template-columns: 220px 1fr;
    gap: 8px 24px;
    margin-bottom: 40px !important;
  }

  .lcp_catlist li .navthumb {
    width: 220px;
  }
}

@media (max-width: 768px) {
  .lcp_catlist li {
    grid-template-columns: 1fr;
    gap: 12px 0;
  }

  .lcp_catlist li > a:has(img) {
    grid-row: auto;
  }

  .lcp_catlist li > a:first-child {
    grid-column: 1;
  }

  .lcp_catlist .lcp_excerpt {
    grid-column: 1;
  }

  .lcp_catlist li .navthumb {
    width: 100%;
    border-bottom-left-radius: 80px;
  }
}

/* ── Table Base ── */
.page-content table {
  width: 100%;
  border-collapse: collapse;
  font-family: inherit;
  font-size: 0.95rem;
  line-height: 1.5;
}

.page-content table caption {
  caption-side: top;
  text-align: left;
  font-weight: 600;
  padding: 0.75rem 1rem;
  font-size: 1.05rem;
}

/* ── Header ── */
.page-content table thead tr {
  background-color: var(--color-blue-medium);
}

.page-content table thead th {
  color: #fff;
  font-weight: 500;
  font-size: .8rem;
  text-align: center;
  padding: 0.75rem 1rem;
}

.page-content table thead th:last-child {
  border-top-right-radius: 20px;
}

/* ── Body Rows ── */
.page-content table tbody td {
  padding: 0.75rem 1rem;
  text-align: center;
  font-size: 14px;
}

.page-content table tbody tr:nth-child(odd) {
  background-color: #fff;
}

.page-content table tbody tr:nth-child(even) {
  background-color: #f3f4f6;
}

.page-content table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.page-content table thead th,
.page-content table tbody td {
  border-right: 1px solid #d1d1d1;
}

.page-content table thead th:last-child,
.page-content table tbody td:last-child {
  border-right: none;
}

.page-content .table-responsive {
  overflow-x: auto;
}

.page-content .table-responsive table {
  border: none !important;
}

.page-content table {
  min-width: 600px;
}

/* ── Header Column — first-column row headers ── */
.page-content table tbody th[scope="row"] {
  background-color: var(--color-blue-medium);
  color: #fff;
  font-weight: 500;
  font-size: .8rem;
  text-align: center;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #cacaca;
}

/* Round the bottom-left of the header column to mirror the header
   row's top-right radius, and drop the divider on the final cell. */
.page-content table tbody tr:last-child th[scope="row"] {
  border-bottom-left-radius: 20px;
  border-bottom: none;
}

/* Empty top-left corner (unlabeled header-column tables) — blank white cell. */
.page-content table thead td {
  background-color: #fff;
  border: none;
}

/* Labeled top-left corner — white cell, black text.
   :has() scopes this to tables that actually have a row-header column, so
   plain header-row tables keep their normal blue first header cell. */
.page-content table:has(tbody th[scope="row"]) thead th:first-child {
  background-color: #fff;
  color: #000;
}
/* q form */
.page-content .quform .quform-elements {
    background: #F2F2F2;
    padding: 80px 40px;
    border-top-right-radius: 100px;
}

.page-content .quform .quform-elements .quform-label-text {
    font-size: 14px;
    font-weight: 500;
    font-family: var(--font-family-primary);
    color: rgb(44, 44, 44);
}

.page-content .quform .quform-elements .quform-field {
    border-radius: 6px;
    border: 1px solid rgb(216, 216, 216);
    color: var(--color-berkeley-blue);
    font-family: var(--font-family-primary);
}

.page-content .quform .quform-elements .quform-field-textarea {
    resize: none;
}

.page-content .quform .quform-elements .quform-submit {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-family-primary);
    font-weight: 600;
    text-decoration: none !important;
    color: black !important;
    background-color: var(--color-california-gold);
    border: none;
    border-radius: 999px;
    cursor: pointer;
    padding: 0.7rem 3rem;
    font-size: 1rem;
}

/* interior photo and color cards */
.photo-card-container .wpgb-card-layer-link:focus-visible,
.color-card-container .wpgb-card-layer-link:focus-visible {
    outline: 4px solid var(--color-california-gold);
}

.page-content .interior-page {
    font-size: var(--copy-size-standard) !important;
    border-top-right-radius: 40px !important;
    padding: 10px !important;
}

.photo-card-container, .color-card-container {
  max-width: 1280px;
  margin: auto;
  padding: 0 40px;
}
.photo-card-container .arrow-right {
    border-top-right-radius: 50px !important;
    text-decoration: none !important;
}

.wpgb-grid-18 {
  max-width: 1280px;
  margin: auto;
  padding: 0 40px;
}

.page-content .photo-card-container, 
.page-content .color-card-container {
    padding: 0 !important;
}

.page-content .color-card-container .heading_color-card {
    padding-top: 30px !important;
}

.page-content .heading_color-card, .page-content .excerpt_color-card {
    font-size: var(--copy-size-standard) !important;
}

.page-content .excerpt_color-card {
    font-size: 15px !important;
    padding-bottom: 14px !important;
}

.page-content .excerpt_color-card p {
    margin-bottom: 0px !important;
}


@media (max-width: 374px) {
    .wpgb-metro > article:nth-of-type(1) .color-card {
        border-top-right-radius: 60px !important;
    }
    .wpgb-metro > article:nth-of-type(2) .color-card {
        border-bottom-right-radius: 60px !important;
    }
    .wpgb-metro > article:nth-of-type(3) .color-card {
        border-top-right-radius: 60px !important;
    }
    
    .color-card-container .excerpt_color-card {
        padding-bottom: 30px !important;
        font-size: .9em !important;
        line-height: 1.2em !important;
    }
    
    .color-card .heading_color-card {
        font-size: 1.2em !important;
        padding-right: 25px !important;
    }
    
    .photo-card-container .arrow-right {
        font-size: 1.2em !important;
    }
    
	.page-content	.color-card-container .excerpt_color-card {
        padding-bottom: 10px !important;
        font-size: .9em !important;
        line-height: 1.2em !important;
    }
    
    .page-content .color-card .heading_color-card {
        font-size: 1.2em !important;
        padding-right: 25px !important;
    }
    
    .page-content .photo-card-container .arrow-right {
        font-size: 1.2em !important;
    }
}

@media (max-width: 1280px) {
    .med-blue-bg h2 {
        padding-left: 0 !important;
        padding-right: 0px !important
    }
}

@media (max-width: 1024px) and (min-width: 425px) {
    .page-content .excerpt_color-card {
        font-size: 1.2em !important;
    }
    .page-content .heading_color-card {
        font-size: 1.5em !important;
    }
}

.wpgb-metro > article:nth-of-type(1) .color-card {
  background: var(--color-berkeley-blue);
      border-top-right-radius: 90px;

}

.wpgb-metro > article:nth-of-type(2) .color-card {
  background: var(--color-california-gold);
      border-bottom-right-radius: 90px;
}

.wpgb-metro > article:nth-of-type(2) .color-card a, .wpgb-justified > article:nth-of-type(2) .color-card p {
    color: black;
}

.wpgb-metro > article:nth-of-type(3) .color-card {
  background: var(--color-blue-medium);
      border-top-right-radius: 90px;

}

@media (max-width: 1024px) {
    .photo-card-container {
        padding: 0px;
    }
    .color-card-container {
        padding: 0 28px;
    }
}

.color-card-photo {
    display: none;
}

#scrollToTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: none;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #fff;
    color: #333;
    border: 1px solid #333;
    border-radius: 50%;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 2px 8px rgba(0,0,0,.12);
    transition: all .25s ease;
}
#scrollToTopBtn svg {
    width: 28px;
    height: 28px;
}
#scrollToTopBtn:hover {
    background-color: #FFE18D;
}
#scrollToTopBtn:active {
    background-color: #FFC41B;
}

/* For Fonts Page */
.font-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.font-heading h3 {
    margin: 0;
}
.font-download {
    margin: 0;
    display: flex;
    align-items: center;
}
.font-download a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-decoration: none !important;
    line-height: 1;
    font-size: 12px;
    margin-top: 12px;
}
.font-download a:hover {
    text-decoration: underline !important;
}
.font-download a::before {
    content: "";
    height: 13px;
    width: 20px;
    flex: 0 0 20px;
    display: block;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230063b1' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3h7v7'/%3E%3Cpath d='M10 14 21 3'/%3E%3Cpath d='M21 14v5a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.center-img {
     margin: 0 auto !important;
     display: block !important;
}