.page-title, .entry-title, .hero-title, h1 {
    text-transform: none !important;
}

/* Long paragraphs: justified on larger screens, left-aligned on phones */
.justify {
    text-align: left !important;
    hyphens: none;
}
@media (min-width: 768px) {
    .justify {
        text-align: justify !important;
        hyphens: auto;
    }
}

/* Homepage "Upcoming" box: black titles */
.vm-upcoming a, .vm-upcoming a strong {
    color: #000 !important;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

/* All links in page content: thin underline */
.content-inner a {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}
.content-inner .wp-block-gallery figcaption a {
    text-decoration: none;
}

/* All links in page content: black */
.content-inner a, .content-inner a strong, .content-inner a em, .content-inner strong a, .content-inner em a {
    color: #000 !important;
}
.content-inner .wp-block-gallery figcaption a {
    color: #fff !important;
}

/* Coloured highlights (text colour set in the editor) keep their colour, also on links */
.content-inner mark.has-inline-color a, .content-inner mark.has-inline-color a strong, .content-inner mark.has-inline-color strong a {
    color: inherit !important;
}

/* Galleries use the full width of the page */
.content-inner .wp-block-gallery {
    width: 100%;
}

/* Supporter logos: same height, evenly spaced */
.vm-logos {
    gap: 30px 40px !important;
    align-items: center;
}
.vm-logos figure.wp-block-image {
    margin: 0 !important;
}
.vm-logos img {
    height: 60px !important;
    width: auto !important;
    max-width: 200px;
    object-fit: contain;
}

/* Team portraits on the Vibrant Matter page: all the same round shape */
.page-id-7567 .wp-image-8669, .page-id-7567 .wp-image-8672, .page-id-7567 .wp-image-7627,
.page-id-7567 .wp-image-8675, .page-id-7567 .wp-image-8676, .page-id-7567 .wp-image-8151,
.page-id-7567 .wp-image-8147 {
    width: 200px !important;
    height: 200px !important;
    object-fit: cover;
    border-radius: 50% !important;
}

/* Homepage "Find out more" link: red, no underline */
.content-inner .vm-more a, .content-inner .vm-more a strong {
    color: #f20c14 !important;
    text-decoration: none !important;
}

/* Dropdown menu: white with black text */
#site-navigator .sub-menu, .navigator .sub-menu {
    background-color: #fff !important;
    border: 1px solid #e6e6e6;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}
#site-navigator .sub-menu li, .navigator .sub-menu li {
    background-color: #fff !important;
    border-color: #f0f0f0 !important;
}
#site-navigator .sub-menu a, .navigator .sub-menu a {
    color: #000 !important;
    background-color: transparent !important;
}
#site-navigator .sub-menu a:hover, .navigator .sub-menu a:hover {
    color: #f20c14 !important;
}

/* Dropdown separators: light grey */
#site-navigator .sub-menu a, .navigator .sub-menu a {
    border-color: #ececec !important;
}

/* Phone menu: white with black text */
#site-navigator-mobile ul.menu, #site-navigator-mobile ul.menu li, #site-navigator-mobile .sub-menu {
    background-color: #fff !important;
}
#site-navigator-mobile ul.menu {
    border: 1px solid #e6e6e6 !important;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}
#site-navigator-mobile ul.menu li, #site-navigator-mobile ul.menu li a, #site-navigator-mobile ul.menu li * {
    border-color: #ececec !important;
}
#site-navigator-mobile ul.menu a {
    color: #000 !important;
    background-color: transparent !important;
}
#site-navigator-mobile ul.menu a:hover {
    color: #f20c14 !important;
}
#site-navigator-mobile ul.menu i, #site-navigator-mobile ul.menu span {
    color: #000 !important;
    background-color: transparent !important;
}
#site-navigator-mobile a.navigator-toggle {
    background-color: #f20c14 !important;
    color: #fff !important;
}
/* uniform tile size: Practice + Creations galleries */
body.page-id-8427 .wp-block-gallery.has-nested-images,
body.page-id-8189 .wp-block-gallery.has-nested-images{justify-content:center}
body.page-id-8427 .wp-block-gallery.has-nested-images figure.wp-block-image,
body.page-id-8189 .wp-block-gallery.has-nested-images figure.wp-block-image{flex-grow:0 !important;width:calc(33.33% - 11px) !important;aspect-ratio:3/2;height:auto !important}
body.page-id-8427 .wp-block-gallery.has-nested-images figure.wp-block-image img,
body.page-id-8189 .wp-block-gallery.has-nested-images figure.wp-block-image img{width:100% !important;height:100% !important;object-fit:cover}
@media (max-width:600px){body.page-id-8427 .wp-block-gallery.has-nested-images figure.wp-block-image,body.page-id-8189 .wp-block-gallery.has-nested-images figure.wp-block-image{width:calc(50% - 8px) !important}}

/* home: tighter spacing on phones so content below the photo is visible */
@media (max-width:600px){
body.home .content-inner .wp-block-spacer{height:22px !important}
body.home .content-inner > p:empty{display:none}
body.home .content-inner > h2{margin-top:20px !important;margin-bottom:18px !important}
body.home .content-inner > h3{margin-top:26px !important;margin-bottom:14px !important}
body.home .content-inner > pre{margin-top:14px !important;margin-bottom:20px !important}
}

/* bigger tile captions: Practice + Creations */
body.page-id-8427 .wp-block-gallery.has-nested-images figure.wp-block-image figcaption,
body.page-id-8189 .wp-block-gallery.has-nested-images figure.wp-block-image figcaption{font-size:17px !important;line-height:1.3 !important;font-family:Montserrat,sans-serif !important}
@media (max-width:600px){body.page-id-8427 .wp-block-gallery.has-nested-images figure.wp-block-image figcaption,body.page-id-8189 .wp-block-gallery.has-nested-images figure.wp-block-image figcaption{font-size:14px !important}}

/* Curation page: bigger text */
body.page-id-2976 .content-inner p,body.page-id-2976 .content-inner p.has-medium-font-size,body.page-id-2976 .content-inner p.has-small-font-size{font-size:22px !important;line-height:1.6}
body.page-id-2976 .content-inner .wp-block-gallery + p{font-size:15px !important;margin-bottom:40px !important}
@media (max-width:600px){body.page-id-2976 .content-inner p,body.page-id-2976 .content-inner p.has-medium-font-size,body.page-id-2976 .content-inner p.has-small-font-size{font-size:19px !important}body.page-id-2976 .content-inner .wp-block-gallery + p{font-size:14px !important;margin-bottom:28px !important}}

body.page-id-2976 .content-inner .wp-block-gallery{max-width:640px !important;width:100% !important;margin-left:auto !important;margin-right:auto !important}

body.page-id-2976 .content-inner .wp-block-gallery{margin-bottom:6px !important}
body.page-id-2976 .content-inner .wp-block-gallery + p{margin-top:0 !important}

/* Press page: calmer layout */
body.page-id-7717 .content-inner p.press-title{font-size:19px !important;line-height:1.4;font-weight:400 !important;margin-top:28px !important;margin-bottom:12px !important}
body.page-id-7717 .content-inner figure.wp-block-image,body.page-id-7717 .content-inner .wp-block-columns{max-width:560px;margin-left:auto !important;margin-right:auto !important}
body.page-id-7717 .content-inner figure.wp-block-image img{width:100%;height:auto !important}
body.page-id-7717 .content-inner .wp-block-columns figure.wp-block-image{max-width:none}
body.page-id-7717 .content-inner p:empty{display:none}
@media (max-width:600px){body.page-id-7717 .content-inner p.press-title{font-size:16px !important;margin-top:22px !important}}

/* Creations: show upper part of some tiles */
body.page-id-8189 .wp-block-gallery img.wp-image-850,body.page-id-8189 .wp-block-gallery img.wp-image-777{object-position:center top !important}

/* home: find out more link */
body .vm-findmore a,body .vm-findmore a:visited{color:#f20c14 !important;text-decoration:none !important;border-bottom:0 !important;box-shadow:none !important}
body .vm-findmore a:hover{text-decoration:underline !important}
body.home .content-inner > p.vm-findmore{margin-top:-6px !important}

/* video embeds: full content width, 16:9 */
.wp-block-embed.is-type-video .wp-block-embed__wrapper iframe{width:100% !important;height:auto !important;aspect-ratio:16/9}
.wp-block-embed.is-type-video{margin-top:30px !important;margin-bottom:36px !important}
.wp-block-embed.is-type-video{max-width:750px !important;margin-left:auto !important;margin-right:auto !important}

/* uniform single images: same width as videos (750px) */
body:not(.page-id-7717):not(.page-id-7567):not(.page-id-7625) .content-inner div.wp-block-image:not(.wp-block-columns *):not(.vm-logos *):not(.wp-block-gallery *) > figure:not(.is-style-rounded), body:not(.page-id-7717):not(.page-id-7567):not(.page-id-7625) .content-inner figure.wp-block-image:not(.wp-block-columns *):not(.vm-logos *):not(.wp-block-gallery *):not(.is-style-rounded){width:100% !important;max-width:750px !important;margin-left:auto !important;margin-right:auto !important;float:none !important;display:block}
body:not(.page-id-7717):not(.page-id-7567):not(.page-id-7625) .content-inner div.wp-block-image:not(.wp-block-columns *):not(.vm-logos *):not(.wp-block-gallery *) > figure:not(.is-style-rounded) img, body:not(.page-id-7717):not(.page-id-7567):not(.page-id-7625) .content-inner figure.wp-block-image:not(.wp-block-columns *):not(.vm-logos *):not(.wp-block-gallery *):not(.is-style-rounded) img{width:100% !important;height:auto !important;max-height:560px;object-fit:contain}
.content-inner figure:not(.wp-block-gallery *) > figcaption.wp-element-caption{display:block !important;width:100% !important;text-align:center !important}
.content-inner pre{white-space:pre-wrap !important;word-wrap:break-word}
.content-inner .wp-block-columns.vm-pair{max-width:750px;margin-left:auto !important;margin-right:auto !important;gap:12px !important}
body.page-id-9078 img.wp-image-9066{object-position:center 4% !important}
body.page-id-8284 .content-inner img.wp-image-8290{aspect-ratio:3/2 !important;object-fit:cover !important;max-height:none !important}
/* newsletter / more boxes: identical everywhere */
.content-inner p.vm-more{font-size:17px !important;line-height:1.9 !important;padding:18px 24px !important;background-color:#f1f5f9 !important}
