/* Keep the old site layout while giving original artwork a natural shape. */
#pc_div_four .img_logo,
.mobile_about_logo {
    max-width: 100%;
    height: auto;
}
.brinks_ping_gallery_past {
    opacity: 1 !important;
    filter: none !important;
}
.brinks_ping_gallery_past img {
    display: block;
    width: 120px;
    height: 86px;
    object-fit: cover;
    border-radius: 3px;
}
a:focus-visible {
    outline: 2px solid #b83028;
    outline-offset: 3px;
}

.corporate-gallery-photo {
    max-width: 100%;
    object-fit: contain;
}

.corporate-logo-on-dark {
    filter: brightness(0) invert(1);
}
.header_div_two .corporate-logo-on-dark,
#pc_about_table .corporate-about-wordmark,
.mobile_about_img_div_one .corporate-about-wordmark {
    height: auto;
}
.gksel_left .corporate-menu-control {
    border: 0;
    padding: 0;
}
.gksel_left #control_on.corporate-menu-control {
    background: transparent;
}
.gksel_left .corporate-menu-home {
    display: grid;
    place-items: center;
    box-sizing: border-box;
    min-height: 60px;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
}
.corporate-house-icon {
    position: relative;
    box-sizing: border-box;
    width: 15px;
    height: 12px;
    margin-top: 7px;
    border: 2px solid currentColor;
    border-top: 0;
    border-radius: 0 0 1px 1px;
}
.corporate-house-icon::before {
    content: "";
    position: absolute;
    width: 13px;
    height: 13px;
    top: -7px;
    left: -2px;
    border-top: 2px solid currentColor;
    border-left: 2px solid currentColor;
    transform: rotate(45deg);
}
.corporate-house-icon::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 4px;
    height: 5px;
    border-left: 3px solid currentColor;
}
.gksel_left .corporate-menu-home:hover,
.gksel_left .corporate-menu-home[aria-current="page"] {
    background: #b83028;
}

.corporate-home-document,
.corporate-home-document body {
    float: none;
    height: auto;
    min-height: 100%;
}
.corporate-home-document body {
    overflow: visible;
}

.corporate-home {
    box-sizing: border-box;
    margin-left: 60px;
    width: calc(100% - 60px);
    min-height: 100vh;
    padding: clamp(14px, 4vw, 64px) clamp(12px, 4vw, 64px) 88px;
    color: #fff;
}
.corporate-home-inner {
    max-width: 1320px;
    margin-inline: auto;
}
.corporate-home-heading {
    margin: 0 0 12px;
}
.corporate-home-heading img {
    display: block;
    width: min(100%, 320px);
    height: auto;
}
.corporate-home h2 {
    margin: 0 0 18px;
    font-size: clamp(18px, 3vw, 28px);
    line-height: 1.25;
}
.corporate-home-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: clamp(12px, 2vw, 24px);
}
.corporate-home-brand {
    min-width: 0;
    overflow: hidden;
    background: #302d33;
    border: 1px solid #454147;
}
.corporate-home-brand-link,
.corporate-home-brand-more {
    color: inherit;
    text-decoration: none;
}
.corporate-home-brand-flip {
    position: relative;
    aspect-ratio: 1 / 1;
    perspective: 900px;
    background: #1c1920;
}
.corporate-home-brand-faces {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    transition: transform 360ms ease;
}
.corporate-home-brand-flip[data-flipped="true"] .corporate-home-brand-faces {
    transform: rotateY(180deg);
}
.corporate-home-brand-photo,
.corporate-home-brand-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
}
.corporate-home-brand-photo {
    display: grid;
    grid-template: minmax(0, 1fr) / minmax(0, 1fr);
    place-items: center;
    overflow: hidden;
    background: radial-gradient(ellipse at 50% 42%, #363037, #1c1920 78%);
}
.corporate-home-brand-photo .allbrand {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}
.corporate-home-brand-back {
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-sizing: border-box;
    padding: clamp(12px, 2vw, 24px);
    background: #1c1920;
}
.corporate-home-brand-description {
    flex: 1 1 auto;
    min-height: 0;
    line-height: 1.6;
    overflow-y: auto;
    overflow-wrap: anywhere;
}
.corporate-home-brand-description img,
.corporate-home-brand-description table {
    max-width: 100%;
}
.corporate-home-brand-more {
    align-self: flex-start;
    padding: 7px 10px;
    background: #a72d26;
    border-radius: 2px;
}
.corporate-home-brand-more:hover,
.corporate-home-brand-link:hover {
    text-decoration: underline;
}
.corporate-home-brand-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
}
.corporate-home-brand h3 {
    margin: 0;
    font-size: clamp(14px, 1.5vw, 18px);
    overflow-wrap: anywhere;
}
.corporate-home-brand-toggle {
    font: inherit;
    padding: 5px 8px;
    border: 1px solid #a39ba5;
    border-radius: 2px;
    color: #fff;
    background: transparent;
    cursor: pointer;
}
@media (prefers-reduced-motion: reduce) {
    .corporate-home-brand-faces {
        transition: none;
    }
}
@media (max-width: 1000px) {
    .corporate-home-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 570px) {
    .corporate-home-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Corporate About Us contact spacing and map scroll clearance */
#pc_div_one .content_div {
    display: grid;
    grid-template-columns: minmax(0, 17rem) minmax(0, 1fr);
    column-gap: clamp(1rem, 3vw, 2.5rem);
    box-sizing: border-box;
    max-width: 47rem;
    padding: .5rem 30px 0;
}

#pc_div_one .content_div > .content {
    min-width: 0;
    margin: 0;
}

#pc_div_one .content_comm,
#mobile_aboutus .mobile_about_content_one,
#mobile_aboutus .mobile_about_content_two {
    font-size: 13px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

#pc_div_one .content_comm p,
#mobile_aboutus .mobile_about_content_one p,
#mobile_aboutus .mobile_about_content_two p {
    margin: 0;
}

#pc_div_one .content_comm p + p,
#mobile_aboutus .mobile_about_content_one p + p,
#mobile_aboutus .mobile_about_content_two p + p {
    margin-block-start: .55rem;
}

#mobile_aboutus {
    right: 0;
}

#mobile_aboutus .mobile_about_table {
    table-layout: fixed;
}

#mobile_aboutus .mobile_about_content_one,
#mobile_aboutus .mobile_about_content_two {
    float: none;
    clear: both;
    margin: .75rem 10px;
}

#pc_aboutus::after,
#mobile_aboutus::after {
    content: "";
    display: block;
    clear: both;
    height: 33vh;
}

/* Past Events opens archived gallery photos at native size. */
.message_tab:has(.corporate-event-gallery) {
    width: min(724px, calc(100% - 24px));
    left: 50%;
    margin-left: 0;
    transform: translateX(-50%);
}
.message_tab:has(.corporate-event-gallery) .box_title {
    position: relative;
}
.message_tab:has(.corporate-event-gallery) #close {
    top: 8px;
    right: 12px;
    margin: 0;
    z-index: 1;
}
.corporate-gallery-original {
    display: inline-block;
    max-width: 100%;
}
.corporate-gallery-original .corporate-gallery-photo {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
}
.corporate-gallery-inner {
    width: min(497px, 100%);
    margin-inline: auto;
}
