.aircraft-profile-container {
    max-width: 1280px;
    margin: 0 auto;
    margin-top: 42px;
    font-family: Verdana, sans-serif;
    color: #ffffff;
}

.aircraft-profile {
    background-color: #ffffff;
    display: grid;
    grid-template-columns: 3fr 1fr;
    grid-template-rows: auto auto;
    gap: 5px;
}

.aircraft-profile-left {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    gap: 5px;
}

.aircraft-profile-info {
    height: 250px;
    border-radius: 10px;
    background-color: #112839;
    margin-bottom: 5px;
    padding: 15px;
    display: flex;
}

.aircraft-profile-info-left {
    flex: 1;
}

.aircraft-profile-info-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.aircraft-profile-info-right model-viewer {
    width: 100%;
    height: 100%;
}

.aircraft-profile-top-image {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    border: 5px solid #112839;
    border-radius: 10px;
    background-color: #112839;
}

.aircraft-profile-top-image img {
    border-radius: 7px 7px 0 0;
    width: 100%;
    height: calc(960px * 9 / 16);
    max-height: 100%;
    object-fit: cover;
    object-position: center; /* position of top image */
}
   
.aircraft-profile-right {
    border-radius: 10px;
    background-color: #112839;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.aircraft-profile-profile-image {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    border-radius: 10px;
    background-color: #112839;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.aircraft-profile-profile-image img {
    width: 75%;
    margin-top: 33px;
    border: 1px solid #ffffff;
    border-radius: 5px;
}

.map-aircraft-uploads {
    height: 390px;
    margin-bottom: 0px;
    border: 5px solid;
    border-color: #112839;
    border-radius: 10px;
}

/* Reuse infowindow styling from profile map */
.map-infowindow {
    background-color: #112839;
    font-family: Verdana, sans-serif;
    font-size: 12px;
    color: #ffffff;
    padding: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.map-infowindow a {
    color: #ffffff;
    text-decoration: none;
}

.aircraft-profile-latest-images {
    background-color: #ffffff;
}

/* ---------------- Aircraft Titans (Top Uploaders podium) ---------------- */
.aircraft-titans-wrapper {
    width: 100%;
    margin-top: 10px;
    padding-bottom: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.aircraft-titans-title p {
    margin: 5px 5px 10px 5px;
    color: #ffffff;
    text-align: center;
}

.aircraft-titans-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: auto auto;
    grid-template-areas:
        ". first ."
        "second . third";
    width: 100%;
    gap: 5px;
    padding: 0 5px 5px 5px;
    justify-items: center;
}

.uploads-item {
    background-color: #1e3145;
    border-radius: 8px;
    padding: 3px;
    width: 95px;
    text-align: center;
    color: white;
    font-size: 12px;
    position: relative;
    overflow: visible;
}

.podium-first {
    grid-area: first;
    width: 95px;
    margin-bottom: 30px;
    margin-top: 10px;
    justify-self: center;
}

.podium-second {
    grid-area: second;
    justify-self: end;
    transform: translateX(25px);
}

.podium-third {
    grid-area: third;
    justify-self: start;
    transform: translateX(-25px);
}

.podium-first::before,
.podium-second::before,
.podium-third::before {
    content: "";
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-49%);
    width: 238px;
    height: 238px;
    background-repeat: no-repeat;
    background-position: center top;
    background-size: contain;
    pointer-events: none;
    z-index: 1;
}

.podium-first::before { background-image: url('/static/page_related/images/gold_ribbon_airport.png'); }
.podium-second::before { background-image: url('/static/page_related/images/silver_ribbon_airport.png'); }
.podium-third::before  { background-image: url('/static/page_related/images/bronze_ribbon_airport.png'); }

.top-viewings-photographer-user {
    height: 2.5em;
}

.top-viewings-photographer-user a,
.top-viewings-photographer-user a:hover,
.top-viewings-photographer-user a:visited {
    color: #ffffff;
    text-decoration: none;
}

.top-viewings-click-count {
    font-size: 18px;
}

.top-viewings-click-count a,
.top-viewings-click-count a:hover,
.top-viewings-click-count a:visited {
    color: #ffffff;
    text-decoration: none;
}

.uploads-item img {
    display: block;
    margin: 0 auto 8px;
    width: 50px;
    height: 50px;
    border: 1px solid #ffffff;
    border-radius: 5px;
}

.viewings-uploads {
    height: 2.5em;
}
