.bikes-content {
    margin-bottom: 3em;
}
.page-title {
    margin-bottom: .5em;
}
.bikes-on-bus-title + p {
    margin-top: 0;
}

.bike-class-title + p {
    margin-top: 0;
}
.bikes hr {
    border: var(--hr-border-style-gray-30);
    width: 100%;
    grid-row: 21;
    margin-left: 1em;
    margin-right: 1em;
}
.bike-smart-trip-schools {
    padding-bottom: 1em;
}
.bikes {
    padding: 0 1em 1em 0;
    margin-bottom: 3em;
}
.bikes p, .bikes ul {
    margin-left: 1em;
    margin-right: 1em;
}
.bikes ul {
    margin-bottom: 1.5em;
}
.bikes h2 {
    margin-left: .75em;
}
.bikes video {
    margin: 2em 1em 2em 1em;
}
.bikes p:nth-of-type(-n+5) {
    margin-top: .5em;
    margin-bottom: .4em;
    line-height: 1.2;
}
.bikes img {
    width: 100%;
    max-width: 400px;
    justify-self: center;
}
/*.bike-sections-title want to give it a try?*/
.bikes h2:nth-of-type(1) {
    margin-bottom: .75em;
}
.bikes h2 {
    font-size: var(--font-size-xxl);
    margin-top: 1em;
    margin-bottom: .3em;
}
.bikes-bellingham-map {
    margin: 0 0 0 1em;
    padding: 0;
}
.bikes-county-map {
    position: relative;
    top: -6px;
    margin:  0 0 0 1em;
    padding: 0;
}
/*Update 2/8/2025*/
.bikes-content {
    position: relative;
    top: 2.5em;
}
.confidentCityCyclingTips {
    display: inline-block;
    margin-top: .5em;
}
#ridingTips {
    margin-top: .5em;
    padding-bottom: 0;
    margin-bottom: .4em;
}
#ridingTips + p {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
}
#ridingTips + p + p {
    padding-top: 0;
    padding-bottom: 0;
    margin-top: .5em;
    margin-bottom: .75em;
}
#ridingTips + p + p + p {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
}
h2:last-of-type + p {
    margin-top: 0;
}
.bike-class-title {
    margin-top: 0;
}
h2:nth-last-of-type(2) {
    margin-top: 0;
}
p:nth-last-of-type(4){
    margin-bottom: .7em;
}
p:nth-last-of-type(3){
    margin-top: 0;
    margin-bottom: .7em;
}
p:nth-last-of-type(2){
    margin-top: 0;
    margin-bottom: .7em;
}
/*END UPDATE 2/8/2025*/
.bikes iframe {
    border: none;
    padding: 1em;
    width: 100%;
    height: auto;
    min-height: 300px;
    margin: 1em auto;
}
.image-bikes-buckling-helmet {
    margin-left: 1em;
}
.image-bikes-trail-riding {
    margin-left: 1em;
}
@media screen and (min-width: 480px) {
    .bikes {
       padding-bottom: 3em;
    }
}

@media screen and (min-width: 768px) {
    .bikes iframe {
        min-height: 200px;
    }
    .bikes .bikes-county-map {
        margin-top: 1em;
    }
    .bikes hr {
        border: var(--hr-border-style-gray-30);
        grid-row: 19;
    }
    .bikes {
        margin: .5em 0 .5em 0;
    }
    .bikes {
        grid-template-columns: 50% 50%;
        grid-column-gap: 2em;
        row-gap: 0;
    }
    .bikes img {
        grid-column: 2;
    }
    .bikes p, .bikes h2, .bikes ul, .bikes a, .bikes video {
        grid-column: 1;
    }
    .bikes .image-bikes-buckling-helmet {
        grid-row: 1 / span 13;
    }
    .bikes .image-bikes-trail-riding {
        grid-row: 13 / span 6;
    }
}

@media screen and (min-width: 992px) {
    .bikes iframe {
        min-height: 300px;
    }
    #ridingTips + p + p {
        padding: 0;
        margin-top: .1em;
        margin-bottom: .5em;
    }
    .bikes .image-bikes-trail-riding {
        grid-row: 14 / span 6;
    }

}
@media screen and (min-width: 1280px) {
    .bikes iframe {
        margin: 1.6em auto .8em auto;
        min-height: 380px;
    }
    .bikes p:nth-of-type(-n+5) {
        margin-top: 0;
        margin-bottom: .8em;
        line-height: 1.2;
    }
    /*Bikes on the bus title*/
    h2:nth-last-of-type(3) {
        margin-top: 2em;
    }
    h2:nth-last-of-type(2) {
        margin-top: .9em;
    }

    p:nth-last-of-type(1){
        margin-bottom: .6em;
    }
    .bikes video {
        margin-top: 3em;
    }
    p:nth-last-of-type(4){
        margin-bottom: .5em;
    }
    p:nth-last-of-type(3){
        margin-top: 0;
        margin-bottom: .5em;
    }
    p:nth-last-of-type(2){
        margin-top: 0;
        margin-bottom: .5em;
    }
}

