html body {
    font-family: var(--body-fonts);
}

.mb-8 {
    margin-bottom: 32px;
}

.text-xl {
    font-size: 20px;
}

.text-4xl {
    font-size: 38px;
}

.about-us-nav-tab {
  padding: 40px 0px;
  background: var(--grey-color)
}

.company-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.company-nav a:hover {
    color: var(--dark-color);
}

.company-nav__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 18px; /*pc only */
    text-transform: uppercase;
    text-decoration: none;
    color: var(--dark-color);
    
}

.company-nav__item span {
    max-width: 150px;
    line-height: normal;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* State Default (Inactive) */
.company-nav__item {
    opacity: 0.5;
    filter: grayscale(100%);
    transform: scale(1);
    transition: opacity 0.3s ease, filter 0.3s ease, transform 0.3s ease; /* Transisi halus */
}

/* State Hover & Active */
.company-nav__item:hover,
.company-nav__item.active {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.1);
}

.company-nav__icon {
    margin-bottom: 16px;
}

@media (max-width: 1024px) {
    .company-nav__item span {
        max-width: 60px;
    }
    .company-nav__icon {
        max-width: 60px;
    }
}

@media (max-width: 768px) {
    .company-nav__item {
        font-size: 14px;
    }
}

@media (max-width: 393px) {
    .company-nav__item span {
        max-width: 48px;
    }
    .company-nav__icon {
        max-width: 48px;
    } 
}

.content {
    background-image: url("../images/about-us-bg.png");
    background-position: bottom;
    background-size: contain;
    background-repeat: no-repeat;
}

.about-us-container {
    margin: 0px auto;
    padding: 80px 0px;
    max-width: 840px;
}


.about-us-container > h2 {
    font-size: 58px; 
    text-align: center; 
    line-height: normal;
    color: var(--secondary-color);
}

@media (max-width: 1024px) {
  .about-us-container {
    padding: 36px 12px;
  }

  .about-us-container > h2 {
    font-size: 36px; 
    }
}

/* Company Information */
.wp-block-table-custom {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #dce4ec;
    border-radius: 2px;
    overflow: hidden;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.wp-block-table-custom tr {
    border-bottom: 1px solid #e2e8f0;
}

.wp-block-table-custom tr:last-child {
    border-bottom: none;
}

.wp-block-table-custom th.table-header-cell {
    background-color: var(--dark-color);
    color: var(--white-color);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 16px 20px;
    text-align: left;
    vertical-align: middle;
    width: 32%;
    border-bottom: 1px solid var(--white-color);
}

.wp-block-table-custom tr:last-child th.table-header-cell {
    border-bottom: none;
}

.wp-block-table-custom td.table-data-cell {
    background-color: var(--white-color);
    color: var(--dark-color);
    font-weight: 700;
    font-size: 0.92rem;
    padding: 16px 20px;
    vertical-align: middle;
    border-bottom: 1px solid #e2e8f0;
    border-left: 1px solid #e2e8f0;
}

.wp-block-table-custom tr:last-child td.table-data-cell {
    border-bottom: none;
}

/* Standard WordPress Article Entry Content Typography */
.entry-content p {
    line-height: 2;
    color: #555555;
    margin-bottom: 1.5rem;
}

/* Our History */
.entry-content {
    color: #4a5568;
    line-height: 1.7;
    padding: 48px 0px;
}

.entry-content p {
    margin-bottom: 1.5rem;
}

/* Standard WordPress Block Columns setup */
.wp-block-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .wp-block-columns {
flex-wrap: nowrap;
    }
    .wp-block-column-text {
flex: 1 1 50%;
    }
    .wp-block-column-media {
flex: 1 1 50%;
    }
}

/* SVG Line Art Styling to match blue vector graphic */
.textile-vector-illustration {
    width: 100%;
    max-width: 480px;
    height: auto;
    margin: 0 auto;
    display: block;
}

.max-h-360px {
  max-height: 360px;
}

.max-h-500px {
  max-height: 500px;
}

.object-cover {
  object-fit: cover;
}

.object-contain {
  object-fit: contain;
}

.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

/* Location Access */

.location-access-featured-image {
    max-height: 270px;
    width: 100%;
    object-fit: cover;
}
.wp-block-heading.page-title {
    color: #0b4382; /* Deep blue from screenshot */
    font-size: 2.125rem; /* ~34px */
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
}

.wp-block-heading.sub-heading {
    color: #2d3748; /* Dark charcoal/navy tint for subheadings */
    font-size: 1.2rem; /* ~19px */
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.35;
}

.entry-content p {
    color: #4a5568;
    margin-bottom: 0;
}

/* Gutenberg Rows / Columns */
.facility-row {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    padding-bottom: 2.5rem;
}

@media (min-width: 768px) {
    .facility-row {
        flex-direction: row;
        gap: 2.5rem;
        align-items: flex-start;
    }
    
    .facility-col-img {
        width: 320px;
        flex-shrink: 0;
    }

  .facility-col-text {
        flex: 1;
        padding-top: 0.25rem;
  }
}

.facility-card-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    display: block;
}