/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Jun 15 2026 | 16:43:35 */
/* ==========================================================================
   Monsal Trail — Custom CSS
   Theme: Divi (green colour scheme)
   Plugin: Simple Custom CSS & JS
   Last tidied: 15.6.26
   ========================================================================== */


/* ==========================================================================
   1. LINKS
   ========================================================================== */

/* Underline links in main body of posts */
.single-post article.post a {
    text-decoration: underline;
}

/* Remove underline on buttons in single posts */
.single-post article.post a.et_pb_button {
    text-decoration: none;
}


/* ==========================================================================
   2. TYPOGRAPHY & CONTENT ELEMENTS
   ========================================================================== */

/* Blockquote text style */
blockquote {
    margin: 20px 0 30px;
    border-left: 4px solid !important;
    border-color: #8CB784 !important;
    padding-left: 20px;
}

blockquote p {
    font-style: italic !important;
    margin-top: 15px !important;
    margin-bottom: 15px !important;
}

/* Reduce space directly under H4 inside blockquotes */
.entry-content blockquote h4 + p,
.post-content blockquote h4 + p,
.wp-block-quote h4 + p {
    margin-top: 0 !important;
}


/* ==========================================================================
   3. UTILITY CLASSES
   ========================================================================== */

/* Leaf-symbol bullet lists */
.leafList {
    list-style-image: url("https://www.monsaltrail.org.uk/wp-content/uploads/2024/03/favicon-16x16-1.png");
    margin-left: 20px;
    margin-top: 20px;
}


/* ==========================================================================
   4. POSTS & ARCHIVES
   ========================================================================== */

/* Dashed rule between posts */
.single .post {
    border-bottom: 1px dashed gray;
}

/* Reduce space between featured image and post text */
.single-post .et_pb_section_first {
    padding-top: 0 !important;
}


/* ==========================================================================
   5. WALK PAGES (Walks project type)
   ========================================================================== */

/* Sticky map column on walk pages (desktop only)
   — fix suggested by Matthew Somerville to stop maps scrolling */
@media (min-width: 981px) {
    article.project_category-walks .et_pb_column_1_3 {
        position: sticky;
        top: 3em;
    }
}


/* ==========================================================================
   6. PHOTO GALLERY (Photo Gallery by WD / bwg)
   ========================================================================== */

/* Caption font styling (GPX files gallery) */
#bwg_container1_0 #bwg_container2_0 .bwg-container-0.bwg-standard-thumbnails .bwg-title2,
#bwg_container1_0 #bwg_container2_0 .bwg-container-0.bwg-standard-thumbnails .bwg-ecommerce2 {
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: normal !important;
}


/* ==========================================================================
   7. LIGHTBOX SIZE PRESETS
   ========================================================================== */

#fadeBox480 {
    width: 480px;
    max-width: 480px;
    max-height: 420px;
}


/* ==========================================================================
   8. WOOCOMMERCE
   ========================================================================== */

/* Buy button colour */
.wc-block-grid__product-add-to-cart.wp-block-button .wp-block-button__link,
.wc-block-cart__submit-button {
    color: white !important;
    background-color: #228822;
}

/* Shopping cart icon white */
.et_color_scheme_green .et-cart-info {
    color: white !important;
}

/* Variations field fixes */
.woocommerce div.product form.cart .variations td {
    padding: inherit !important;
}

.woocommerce div.product form.cart .variations select {
    background: none;
}

/* Product price — grey and correctly sized (aligned with Goyt Valley) */
.entry-summary p.price,
.entry-summary p.price span {
    font-size: 18px !important;
    color: rgb(140 140 140) !important;
    font-family: Merriweather, Georgia, serif !important;
}

/* Hide reviews heading on product pages */
.woocommerce-Reviews .woocommerce-Reviews-title {
    display: none;
}