/* Helping Hand's style.css and theme.css own the visual design.
   These rules adapt its components to real content and semantic headings. */
.skip-link {
    position: absolute;
    top: -100px;
    left: 15px;
    z-index: 1000;
    padding: 12px;
    background: #fff;
}

.skip-link:focus {
    top: 10px;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid #435061;
    outline-offset: 4px;
}

.brand-name {
    display: inline-block;
    vertical-align: middle;
    margin-left: 8px;
    color: #435061;
    font: 700 16px/20px "Montserrat", sans-serif;
}

.brand-name small {
    display: block;
    font-size: 8px;
    line-height: 14px;
}

.navbar-brand img,
.template-footer-logo {
    object-fit: contain;
}

#mainNav .dropdown-menu {
    visibility: hidden;
}

#mainNav li.open > .dropdown-menu,
#mainNav li:focus-within > .dropdown-menu,
#mainNav li:hover > .dropdown-menu {
    display: block;
    visibility: visible;
    transform: scale(1, 1);
}

/* Original .sectionTitle h3 dimensions, applied to semantic h2 elements. */
.sectionTitle h2 {
    margin: 22px 0 0;
    color: #435061;
    font: 700 24px/36px "Montserrat", sans-serif;
}

.beVolunteerBox .sectionTitle h2 {
    margin-top: 15px;
}

.template-section-action,
.template-location {
    margin-top: 35px;
}

.template-posts {
    display: flex;
    flex-wrap: wrap;
}

.template-posts::before,
.template-posts::after {
    display: none;
}

.latest-post .featured_cont {
    overflow: hidden;
}

.template-post-photo {
    width: 100%;
    height: 163px;
    object-fit: cover;
}

.latest-post h3.post-title {
    font-size: 14px;
}

.template-empty-feed {
    padding: 20px 15px;
}

.template-institution-photo {
    display: block;
    width: 262px;
    height: 197px;
    object-fit: cover;
}

.gallery-item h3.title {
    margin: 0 0 12px;
    font: 700 16px/24px "Montserrat", sans-serif;
    text-transform: uppercase;
}

.template-map {
    display: block;
    width: 100%;
    height: 400px;
    border: 0;
}

.beVolunteer,
.page-header {
    background-image: url('../images/hero.webp');
}

.template-registration {
    display: block;
    margin-top: 12px;
}

.template-footer-logo {
    vertical-align: middle;
    margin: 0 6px 12px 0;
}

.footer-nav li > a {
    display: inline;
    padding: 0;
}

.page-header h1.template-page-title {
    float: left;
    padding: 0 23px;
    margin: 142px 0;
    background: #fff;
    color: #435061;
    font: 700 18px/50px "Montserrat", sans-serif;
}

.template-copy {
    overflow-wrap: anywhere;
    color: #637285;
    font: 16px/24px "Karla", sans-serif;
}

.template-profile-photo {
    width: 100%;
    height: auto;
}

.template-contact-title {
    margin: 0 0 20px;
    font: 700 24px/30px "Montserrat", sans-serif;
}

.content_about h2.team_page_title {
    font-size: 24px;
}

.who_we_are h2.team_page_title {
    margin: 0 0 35px;
}

@media (max-width: 1199px) {
    .page-header h1.template-page-title { margin: 100px 0; }
}

@media (max-width: 991px) {
    .page-header h1.template-page-title { margin: 60px 0; }
    .navbar-header { float: none; }
    .navbar-toggle { display: block; }
    .navbar-collapse { clear: both; }
    .navbar-collapse.collapse:not(.in) { display: none !important; }
    #mainNav { max-height: 70vh; overflow-y: auto; }
    #mainNav .navbar-nav { float: none !important; margin: 0; }
    #mainNav .navbar-nav > li { float: none; }
    #mainNav .dropdown-menu { position: static; float: none; box-shadow: none; }
    .no-js #mainNav.collapse { display: block !important; }
    .no-js .navbar-toggle { display: none; }
}

@media (max-width: 767px) {
    .sectionTitle h2 { font-size: 20px; line-height: 26px; }
    .page-header h1.template-page-title { margin: 40px 0; }
    .template-institutions .gallery-item { width: 100%; }
    .template-institution-photo { max-width: 100%; }
    .template-map { height: 300px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; }
    .beVolunteer { background-attachment: scroll; }
}
