/* Pewma logo. The theme clones .logo into the mobile top bar. */

.togo-fixed-sidebar .logo a,
.togo-side-content > .logo a {
    display: block;
    line-height: 0;
}

.togo-fixed-sidebar .logo img,
.togo-side-content > .logo img {
    display: block;
    height: auto;
    object-fit: contain;
}

.togo-fixed-sidebar .logo img {
    width: 100%;
    max-width: 100%;
}

.togo-side-content > .logo img {
    width: auto;
    max-width: 100%;
    max-height: 36px;
}

@media screen and (max-width: 1199px) {
    .togo-side-content > .logo {
        background-color: #fff;
    }
}

/* Service cards share one height. The photo covers that box, so a longer
   title or paragraph does not make one background larger than the others. */

#services .service-card {
    display: flex;
}

#services .service-card .item {
    display: flex;
    flex: 1 1 auto;
    width: 100%;
    min-height: 640px;
    background-size: cover;
    background-position: center center !important;
}

#services .service-card .item > a {
    display: flex;
    flex: 1 1 auto;
    width: 100%;
}

#services .service-card .item .con {
    width: 100%;
}

/* The template heading tracking is too wide for the studio title in a half column. */

#about .col-md-6 > .title {
    letter-spacing: 0.5px;
    font-size: 32px;
    line-height: 1.3;
}

#about .year .title {
    margin-bottom: 0;
    letter-spacing: 2px;
    font-size: 28px;
}

#about .about-support {
    margin-top: 12px;
    max-width: 640px;
}

/* The photo still darkens only on hover. The category link keeps that darker
   ground all the time, so it can be read before the pointer arrives. */

#projects .item .con .category {
    display: inline-block;
    background-color: rgba(12, 12, 12, 0.6);
    padding: 4px 12px;
}

#projects .item .con .category,
#projects .item .con .category a {
    font-weight: 800;
}

/* Section headings stay 40px on larger screens. Phones need a smaller size
   so the wide tracking still fits the column. */

@media screen and (max-width: 767px) {
    h4.title {
        font-size: 36px;
    }
}

@media screen and (min-width: 1200px) {
    .togo-fixed-sidebar .logo {
        padding: 36px 0 24px;
        margin-right: -16px;
        margin-left: -16px;
    }
}
