/* ========================================================================== */
/* Skin: Scuba (Scuba Dive Moyo)                                              */
/* Overrides of the base layout (styles.css). Loaded only when selected in    */
/* Customizer > Site Skin.                                                    */
/* ========================================================================== */

/* ========================================================================== */
/* Site Logo                                                                  */
/* The scuba logo has a different aspect ratio (370x118) than the base logo   */
/* (400x86), so it is sized by height instead of a fixed width.               */
/* ========================================================================== */
.site-logo--on-image img {
    width: auto;
    height: 96px; /* source is 118px high - never upscaled */
    max-width: none;
}

/* Cropped logo next to the navigation (HOMEPAGE ONLY): show the emblem only */
@media (min-width: 901px) and (max-width: 1550px) {
  .home .site-logo--with-nav {
    width: 86px;
  }
}

@media (max-width: 900px) {
    .site-logo--on-image {
        width: auto;
    }
    .site-logo--on-image img {
        height: 70px;
    }
}

/* ========================================================================== */
/* Homepage activity sliders                                                  */
/* They carry the main content here (dives, courses), so the info panel must  */
/* read well: darker, less transparent background and larger type. The panel */
/* grows with its text instead of cutting it.                                 */
/* ========================================================================== */
.home .activities .slide-content {
    height: auto;
    min-height: var(--stripe-height);
}
.home .activities .slide-content.activity-panel::before {
    background: linear-gradient(to top, rgba(0, 0, 0, .86), rgba(0, 0, 0, .74) 65%, rgba(0, 0, 0, .58) 100%);
}
.home .activities .activity-panel__content h4 {
    font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.25rem);
    line-height: 1.15;
}
.home .activities .activity-panel__content p {
    padding-top: .75rem;
    margin-bottom: 0;
    font-size: clamp(1.05rem, .98rem + .35vw, 1.3rem);
    line-height: 1.5;
    color: #fff;
}
