body.page-template-template-about-gems {visibility: hidden; overflow: visible;}
body.page-template-template-about-gems.loaded {visibility: visible;}

.about-gems {
    line-height: 1;
    padding-top: 0;
    font-family: "Inter";
}
.about-gems .site-main {
    margin: 1px 0;
}
.about-gems .banner {
    padding-bottom: 50px;
    height: 370px;
}
.about-gems .banner .container {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}
.about-gems .banner .container h1 {
    font-size: 36px;
    margin-bottom: 8px;
    color: #fff;
    font-family: "Inter";
}
.about-gems .banner .container p {
    color: #fff;
    line-height: 1.4;
    font-size: 20px;
    width: 70%;
    font-family: "Open Sans";
    margin-bottom: 0;
}

.about-gems .menu-container {
    position: sticky;
    top: -44px;
    z-index: 1;
    background-color: #fff;
    padding: 44px 0;
}
body.admin-bar .about-gems .menu-container {
    top: -12px;
}
.about-gems .menu-container .menu {
    list-style: none;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background-color: #F6F6F6;
    padding: 6px 8px;
    border-radius: 8px;
    column-gap: 22px;
}

.about-gems .menu-container .menu .menu-item {
    text-align: center;
    font-size: 14px;
    place-content: center;
    position: relative;
    padding: 10px 20px;
    line-height: 20px;
}

.about-gems .menu-container .menu .menu-item:not(:last-child):after {
    display: block;
    content: "";
    width: 2px;
    height: 100%;
    background-color: #E6E5E5;
    position: absolute;
    top: 0;
    right: -10px;
}

.about-gems .menu-container .menu .menu-item a {
    color: #737373;
    font-size: 16px;
}
.about-gems .menu-container .menu .active {
    background-color: #FFE2E4;
    border: 1px solid #D32E36;
    border-radius: 6px;
}

.about-gems .menu-container .menu .active a {
    color: #D32E36; font-weight: 600;
}
.about-gems .left-sidebar .menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
}
.about-gems .left-sidebar .menu-item a {
    font-size: 16px;
    color: #475569;
}
.about-gems .left-sidebar .menu-item:not(.active) .icon-active {
    display: none;
}
.about-gems .left-sidebar .menu-item.active .icon-inactive {
    display: none;
}
.about-gems .left-sidebar .menu-item.active a {
    color: #D32E36;
    font-weight: 600;
}
.about-gems #secondary {
    padding-left: 0;
    position: sticky;
    top: 98px;
    background-color: #fff;
    margin-top: 0;
}
body.admin-bar .about-gems #secondary {
    top: 130px;
}
.about-gems .entry-content {
    margin-top: 0;
}
.about-gems .entry-content .title {
    font-weight: 600;
    font-size: 20px;
    line-height: 32px;
    margin-bottom: 24px;
    color: #1E293B;
}
.about-gems .entry-content,
.about-gems .entry-content p {
    color: #475569;
    font-size: 16px;
    line-height: 26px;
    margin-bottom: 24px;
    text-align: justify;
}

.about-gems #content-company-introduction table td {
    border: 0;
    padding: 24px;
    line-height: 24px;
}
.about-gems #content-company-introduction table tbody tr:nth-child(odd) td:nth-child(1) {
    background-color: #FFE7E5;
}
.about-gems #content-company-introduction table tbody tr:nth-child(odd) td:nth-child(2) {
    background-color: #fff;
}
.about-gems #content-company-introduction table tbody tr:nth-child(even) td:nth-child(1) {
    background-color: #FFD8D4;
}
.about-gems #content-company-introduction table tbody tr:nth-child(even) td:nth-child(2) {
    background-color: #F6F6F6;
}

.about-gems #content-vision-mision .wp-block-quote {
    padding: 24px;
    border-left: 0;
    text-transform: none;
    border: 1px solid rgba(198, 157, 159, 1);
    box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.25);
    margin-bottom: 24px;
    border-radius: 12px;
    display: block;
}
.about-gems #content-vision-mision .wp-block-quote:before {
    display: none;
}
.about-gems #content-vision-mision strong {
    display: flex;
    align-items: center;
    color: #CC0100;
    font-size: 24px;
    gap: 12px;
}
.about-gems #content-vision-mision p {
    color: #232323;
    font-size: 18px;
}
.about-gems #content-vision-mision .wp-block-list {
    margin: 0;
    margin-left: 24px;
    color: #232323;
}
.about-gems #content-vision-mision .wp-block-list li {
    padding: 0;
    padding-bottom: 24px;
}
.about-gems #content-vision-mision .wp-block-list li::marker {
    font-size: 24px;
}
.about-gems #content-vision-mision .title {
    display: none;
}
.about-gems #content-organization-structure .title {
    display: none;
}
.about-gems #content-board-of-commissioners .title,
.about-gems #content-board-of-directors .title {
    display: none;
}
.about-gems #content-board-of-commissioners h2,
.about-gems #content-board-of-directors h2,
.about-gems #content-audit-committee h2 {
    display: none;
}
.about-gems #content-board-of-commissioners h2:first-of-type,
.about-gems #content-board-of-directors h2:first-of-type {
    display: block;
    color: #1E293B;
    font-size: 20px;
    line-height: 32px;
    text-align: left;
}
.about-gems #content-board-of-commissioners .wp-block-table,
.about-gems #content-board-of-commissioners .wp-block-group,
.about-gems #content-board-of-directors .wp-block-table,
.about-gems #content-board-of-directors .wp-block-group,
.about-gems #content-audit-committee .wp-block-table,
.about-gems #content-audit-committee .wp-block-group,
.about-gems #content-corporate-secretary .wp-block-table,
.about-gems #content-corporate-secretary .wp-block-group {
    display: none;
}
.about-gems .profile-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}
.about-gems .profile-item {
    aspect-ratio: 3/4;
    border-radius: 20px;
    position: relative;
    padding: 4px;
    padding-bottom: 32px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
}
.about-gems .profile-item .hover {
    display: none;
}
.about-gems .profile-item:hover .hover {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: inherit;
}
.about-gems .profile-item .hover a {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    background-color: #CC0100;
    border-radius: 4px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    text-wrap: nowrap;
    gap: 10px;
}
.about-gems .profile-item .hover a:after {
    content: url(/wp-content/themes/gems/images/arrow-up-right.svg);
    display: inline-block;
    width: 18px;
    height: 18px;
}
.about-gems .profile-item .name {
    font-weight: 700;
    font-size: 22px;
    margin-bottom: 8px;
    color: #fff;
    font-family: "Open Sans";
    text-align: center;
    text-wrap: balance;
}
.about-gems .profile-item .desc {
    font-size: 14px;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    line-height: 1;
}
.about-gems .profile-item .profile-dialog::backdrop {
    opacity: 0.6;
    background: #000;
}
.about-gems .profile-item .profile-dialog {
    border: 0;
    border-radius: 24px;
    width: 83%;
    padding: 72px;
    outline: 0;
}
.about-gems .profile-item .profile-dialog .dialog-content {
    display: grid;
    grid-template-columns: 270px 1fr;
    column-gap: 64px;
}
.about-gems .profile-item .profile-dialog .dialog-content>div:first-child {
    display: flex;
    flex-direction: column;
}
.about-gems .profile-item .dialog-content>div:first-child>img {
    width: 100% !important;
    aspect-ratio: 1;
    border-radius: 12px;
    margin-bottom: 24px;
    object-fit: cover;
    object-position: top;
}
.about-gems .profile-item .profile-dialog .dialog-content .dialog-name {
    font-family: "Open Sans";
    color: #D32E36;
    font-size: 24px;
    line-height: 32px;
    font-weight: 700;
    text-align: left;
}
.about-gems .profile-item .profile-dialog .dialog-content .dialog-desc {
    font-family: "Open Sans";
    color: #1E293B;
    font-style: italic;
    font-size: 16px;
    line-height: 32px;
    margin-bottom: 24px;
    text-transform: uppercase;
}
.about-gems .profile-item .profile-dialog .dialog-content .dialog-info {
    display: flex;
    align-items: center;
    font-size: 16px;
    color: #2F2E38;
    margin-bottom: 14px;
    font-weight: 500;
    gap: 12px;
}
.about-gems .profile-item .profile-dialog .dialog-content .dialog-info img {
    width: 24px;
    height: 24px;
}
.about-gems .profile-item .profile-dialog .dialog-content>div:last-child {
    height: calc(100vh - 2em - 6px - 144px);
    overflow-y: scroll;
}
.about-gems .profile-item .profile-dialog .dialog-content>div:last-child ul {
    margin-left: 16px;
}
.about-gems .profile-item .profile-dialog .dialog-content>div:last-child li {
    color: #475569;
    padding: 0;
    line-height: 26px;
}
.about-gems .profile-item .profile-dialog .dialog-content>div:last-child p:has(strong) {
    font-family: "Open Sans";
    font-size: 20px;
    line-height: 32px;
    margin-bottom: 14px;
    color: #000;
}
.about-gems .profile-item .profile-dialog .close {
    position: absolute;
    top: 24px;
    right: 24px;
    cursor: pointer;
}

.about-gems #content-audit-committee .profile-items {
    margin-bottom: 40px;
}
.about-gems .wp-block-quote,
.about-gems .tab-content {
    display: none;
}
.about-gems .tab-content.active {
    display: block;
}

.about-gems .tabs {
    padding: 6px 8px;
    background-color: #F6F6F6;
    display: grid;
    gap: 6px;
    margin-bottom: 24px;
}
.about-gems #content-audit-committee .tabs {
    grid-template-columns: repeat(2, 1fr);
}
.about-gems #content-corporate-secretary .tabs {
    grid-template-columns: repeat(3, auto);
    margin-top: 42px;
}
.about-gems .tab-item {
    color: #737373;
    padding: 10px;
    margin-bottom: 0;
    border: 1px solid #ccc;
    border-radius: 12px;
    text-align: center;
    display: block;
    font-weight: 400;
    cursor: pointer;
    text-wrap: nowrap;
    line-height: 20px;
}
.about-gems .tab-item.active {
    font-weight: 600;
    color: #D32E36;
    border-color: #D32E36;
    background-color: #FFE2E4;
}
.about-gems li {
    padding: 0;
    line-height: 26px;
}
.about-gems .download-file {
    padding: 14px;
    border: 1px solid #E6E5E5;
    border-radius: 12px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    column-gap: 20px;
    align-items: center;
    width: fit-content;
}
.about-gems .download-file .file-icon {
    width: 40px;
    height: 40px;}
.about-gems .download-file strong {
    color: #737373;
    font-weight: 500;
    font-size: 16px;
    line-height: 26px;
}

.about-gems #content-corporate-secretary .profile-items {
    margin-bottom: 24px;
}

.about-gems #content-corporate-structure h2 {
    display: block;
    color: #1E293B;
    font-size: 18px;
    line-height: 32px;
    text-transform: none;
}

.about-gems #content-shareholding-report .sr-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 16px;
    row-gap: 24px;
}
.about-gems #content-shareholding-report .sr-items .download-file {
    text-align: left;
    width: 100%;
}
.about-gems #content-shareholding-report .sr-items .page-inactive {
    display: none;
}
.about-gems #content-shareholding-report .header-sr {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}
.about-gems #content-shareholding-report .header-sr .text-year {
    color: #D32E36;
    font-family: "Open Sans";
    font-weight: 700;
    font-size: 16px;
    line-height: 32px;
    padding: 4px 12px;
    border: 1px solid #E6E5E5;
    border-radius: 12px;
}
.about-gems #content-shareholding-report .header-sr .pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.about-gems #content-shareholding-report .header-sr .pagination .prev,
.about-gems #content-shareholding-report .header-sr .pagination .next {
    font-size: 0;
    line-height: 1;
    cursor: pointer;
    color: #CCCCCC;
}
.about-gems #content-shareholding-report .header-sr .pagination .prev.active,
.about-gems #content-shareholding-report .header-sr .pagination .next.active {
    color: #D32E36;
}
.about-gems #content-shareholding-report .header-sr .pagination .curr {
    color: #737373;
    font-weight: 600;
    font-size: 16px;
}
@media only screen and (max-width: 1199px) {
    .about-gems .profile-item .profile-dialog {
        width: 90%;
        padding: 20px;
        padding-top: 32px;
    }
    .about-gems .profile-item .profile-dialog .dialog-content {
        grid-template-columns: 1fr;
        column-gap: 0;
        row-gap: 16px;
        text-align: left;
    }
    .about-gems .profile-item .profile-dialog .dialog-content>div:first-child {
        display: grid;
        grid-template-columns: 120px 1fr;
        /* grid-template-rows: repeat(3, auto) 1fr; */
        column-gap: 16px;
        row-gap: 0;
    }
    .about-gems .profile-item .profile-dialog .dialog-content>div:first-child>img {
        grid-row: 1/5;
        margin-bottom: 0;
    }
    .about-gems .profile-item .profile-dialog .close {
        top: 12px;
        right: 12px;
        width: 22px;
        height: 22px;
    }
    .about-gems .profile-item .profile-dialog .dialog-content .dialog-name {
        font-size: 16px;
        line-height: 18px;
        align-content: end;
        margin-bottom: 6px;
    }
    .about-gems .profile-item .profile-dialog .dialog-content .dialog-desc {
        font-size: 12px;
        line-height: 18px;
        align-content: center;
        margin-bottom: 0;
    }
    .about-gems .profile-item .profile-dialog .dialog-content .dialog-info {
        font-size: 12px;
        gap: 6px;
        margin-bottom: 0;
        line-height: 1;
        margin-top: 10px;
    }
    .about-gems .profile-item .profile-dialog .dialog-content .dialog-info img {
        width: 14px;
        height: 14px;
    }
    .about-gems .profile-item .profile-dialog .dialog-content>div:last-child p:has(strong) {
        font-size: 14px;
        line-height: 21px;
        margin-bottom: 6px;
    }
    .about-gems .profile-item .profile-dialog .dialog-content>div:last-child {
        height: unset;
        overflow-y: visible;
    }
    .about-gems .profile-item .profile-dialog .dialog-content p {
        margin-bottom: 10px;
    }
    .about-gems .profile-item .profile-dialog .dialog-content>div:last-child li {
        line-height: 18px;
    }
    .about-gems .profile-item .profile-dialog .dialog-content>div:last-child ul {
        margin-bottom: 10px;
    }
}

@media only screen and (max-width: 767px) {
    .about-gems {
        margin-bottom: 0;
    }
    .about-gems .banner {
        padding-bottom: 22px;
        height: 195px;
    }
    .about-gems .banner .container h1 {
        font-size: 20px;
        line-height: 32px;
        margin-bottom: 4px;
    }
    .about-gems .banner .container p {
        font-size: 12px;
        line-height: 18px;
        width: 100%;
    }
    .about-gems #secondary,
    body.admin-bar .about-gems #secondary {
        margin-top: 0;
        top: 69.6px;
        padding-top: 12px;
        z-index: 1;
    }
    .about-gems #secondary .left-sidebar {
        padding: 0;
    }
    .about-gems #secondary .menu {
        display: none;
    }
    .about-gems .menu-container,
    body.admin-bar .about-gems .menu-container {
        padding-top: 30px;
        padding-bottom: 25px;
        top: -30px;
    }
    .about-gems .menu-container .menu {
        overflow-x: scroll;
    }
    .about-gems .menu-container .menu .menu-item a {
        white-space: nowrap;
        font-size: 12px;
    }
    .about-gems .menu-container .menu .menu-item {
        padding: 10px;
        line-height: 1;
    }

    .about-gems .entry-content .title {
        font-size: 16px;
        line-height: 24px;
        margin-bottom: 16px;
        text-align: left;
    }
    .about-gems .entry-content,
    .about-gems .entry-content p {
        font-size: 12px;
        line-height: 18px;
        margin-bottom: 10px;
    }

    .about-gems #content-company-introduction table td {
        font-size: 12px;
        line-height: 18px;
        padding: 12px;
    }

    .about-gems #content-vision-mision strong {
        font-size: 16px;
    }
    .about-gems #content-vision-mision p {
        font-size: 14px;
    }
    .about-gems #content-vision-mision .wp-block-quote {
        padding: 12px;
        border-radius: 6px;
    }
    .about-gems #content-vision-mision .wp-block-list li {
        font-size: 14px;
        padding-bottom: 0;
    }

    .about-gems #content-board-of-commissioners h2:first-of-type,
    .about-gems #content-board-of-directors h2:first-of-type {
        font-size: 16px;
        line-height: 24px;
    }
    .about-gems .profile-items {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .about-gems .profile-item {
        padding-bottom: 22px;
    }
    .about-gems .profile-item .name {
        font-size: 14px;
        line-height: 17px;
    }
    .about-gems .profile-item .desc {
        font-size: 8px;
        line-height: 1;
    }
    .about-gems .profile-item:hover .hover {
        display: none;
    }

    .about-gems #content-audit-committee .profile-item:nth-child(odd):last-child,
    .about-gems #content-corporate-secretary .profile-item:nth-child(odd):last-child {
        grid-column: 1 / -1;
        justify-self: center;
        width: calc(50% - 8px); 
    }
    .about-gems #content-audit-committee .profile-items {
        margin-bottom: 24px;
    }
    .about-gems #content-audit-committee .wp-block-list,
    .about-gems #content-corporate-secretary .wp-block-list {
        margin-left: 16px;
    }
    .about-gems #content-corporate-secretary .tabs {
        margin-top: 24px;
    }

    .about-gems #content-shareholding-report .header-sr .text-year {
        font-size: 12px;
        line-height: 18px;
    }
    .about-gems #content-shareholding-report .header-sr .pagination .curr {
        font-size: 12px;
    }
    .about-gems #content-shareholding-report .header-sr .pagination {
        gap: 10px;
    }
    .about-gems #content-shareholding-report .sr-items {
        grid-template-columns: 1fr;
        row-gap: 12px;
    }
    .about-gems #content-shareholding-report .download-file strong {
        text-wrap: auto;
    }

    .about-gems .tabs {
        overflow-x: scroll;
    }
    .about-gems li {
        line-height: 18px;
    }
    .about-gems .download-file {
        padding: 12px;
        column-gap: 10px;
        grid-template-columns: 36px 1fr 18px;
    }
    .about-gems .download-file .file-icon {
        width: 36px;
        height: 36px;
    }
    .about-gems .download-file strong {
        font-size: 12px;
        line-height: 18px;
        text-wrap: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }
}