/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Jun 16 2026 | 11:49:13 */
/* Enter Your Custom CSS Here */

/* =============================================
   Moved here from Divi theme options.
   (Originally borrowed from the Monsal Trail site.)
   Duplicate paste removed; comments closed; one
   blockquote conflict resolved. — tidied
   ============================================= */

/* suggested by chatgpt to change captions under gpx files photo 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;
}

/* Reduce space directly under the H4 inside blockquotes */
.entry-content blockquote h4 + p,
.post-content blockquote h4 + p,
.wp-block-quote h4 + p {
    margin-top: 0 !important;
}

/* reduces space between featured image and post text */
.single-post .et_pb_section_first {
    padding-top: 0px !important;
}

/* underscores links in main body of posts */
.single-post article.post a {
    text-decoration: underline;
}

/* suggested by matthew somerville to fix maps from scrolling */
@media (min-width: 981px) {
    article.project_category-walks .et_pb_column_1_3 {
        position: sticky;
        top: 3em;
    }
}

/* blockquote text style */
blockquote p {
    font-style: italic !important;
    margin-top: 15px !important;
    margin-bottom: 15px !important;
}

/* reduce size of left rule */
blockquote {
    margin: 20px 0 30px;
    border-left: 4px solid !important;
    padding-left: 20px;
    border-color: #8cb784 !important;
}

/* leaf symbol on lists
   DISABLED: this loaded an image from monsaltrail.org.uk.
   Re-enable with a calm.org.uk image when ready.
.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;
}
*/

#fadeBox480 {
    width: 480px;
    max-width: 480px;
    max-height: 420px;
}

/* rules between posts */
.single .post {
    border-bottom: 1px dashed gray;
}


/* =============================================
   Pre-launch menu hiding (currently OFF)
   ============================================= */

/* hide menus before launching site
#main-header, #et-main-nav {
    display: none !important;
}
*/

/* as above but keep header and remove menu - but doesn't work!
#et-main-nav {
    display: none !important;
}
*/


/* =============================================
   HIDE FOOTER — calm.org.uk - created by Claude
   ============================================= */

/* Footer widget columns area */
#footer-widgets,
.et_pb_footer_columns_area,
.footer-widget {
    display: none !important;
}

/* Bottom bar (copyright strip) */
#footer-info,
#et-footer-nav,
.et_footer_nav,
.bottom-bar {
    display: none !important;
}

/* The footer element itself */
#main-footer {
    display: none !important;
}

/* Remove any gap/padding left behind below the content */
#page-container,
#et-main-area,
.et_pb_section:last-of-type {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* Ensure the body/html has no residual background colour showing */
body,
html {
    background-color: #ffffff !important;
}


/* ============================================================
   SEEKING CALM — TECHNIQUES LIBRARY STYLESHEET
   calm.org.uk
   Everything is scoped under .calm-technique.

   VERDICT CLASSES on the pill:
     ct-verdict--for     evidence for it   (sage green)
     ct-verdict--mixed   mixed picture     (amber)
     ct-verdict--quest   questionable      (terracotta)
     ct-verdict--open    open question     (slate blue)
   ============================================================ */

/* ---- Base typography ---- */
.calm-technique {
    max-width: 42rem;
    margin: 0 auto;
    font-family: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
    font-size: 1.075rem;
    line-height: 1.72;
    color: #2b2b28;
}
.calm-technique a {
    color: #5a6b54;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(90, 107, 84, .35);
    transition: border-color .2s, color .2s;
}
.calm-technique a:hover { color: #3f4c3a; border-bottom-color: #3f4c3a; }

/* ---- Category eyebrow ---- */
.calm-technique .ct-eyebrow {
    font-family: -apple-system, "Helvetica Neue", Arial, sans-serif;
    font-size: .72rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #9a958a;
    margin: 0 0 1.4em;
}

/* ---- Metadata strip ---- */
.calm-technique .ct-meta {
    list-style: none;
    margin: 0 0 2.4em;
    padding: 1.1em 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.8em;
    border-top: 1px solid #e2ded3;
    border-bottom: 1px solid #e2ded3;
}
.calm-technique .ct-meta li { display: flex; flex-direction: column; gap: .2em; }
.calm-technique .ct-meta-k {
    font-family: -apple-system, "Helvetica Neue", Arial, sans-serif;
    font-size: .7rem;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: #9a958a;
}
.calm-technique .ct-meta-v { font-size: .95rem; color: #46443f; }

/* ---- Verdict pill ---- */
.calm-technique .ct-verdict {
    display: inline-block;
    font-family: -apple-system, Arial, sans-serif;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .02em;
    padding: .18em .7em;
    border-radius: 2em;
    width: fit-content;
}
.calm-technique .ct-verdict--for { background: #e4ecdd; color: #42592f; }
.calm-technique .ct-verdict--mixed { background: #f3ecd8; color: #7a6326; }
.calm-technique .ct-verdict--quest { background: #f1e2db; color: #8a4a32; }
.calm-technique .ct-verdict--open { background: #e2e6ec; color: #3f5066; }

/* ---- Lede ---- */
.calm-technique .ct-lede {
    font-size: 1.28rem;
    line-height: 1.6;
    color: #46443f;
    margin-bottom: 1.6em;
}

/* ---- Headings ---- */
.calm-technique h2 {
    font-family: Georgia, serif;
    font-weight: normal;
    font-size: 1.5rem;
    line-height: 1.3;
    color: #2b2b28;
}

/* ---- Numbered method steps ---- */
.calm-technique .ct-steps {
    margin: 0 0 1.5em;
    padding-left: 0;
    list-style: none;
    counter-reset: step;
}
.calm-technique .ct-steps li {
    position: relative;
    padding-left: 2.4em;
    margin-bottom: 1em;
    counter-increment: step;
}
.calm-technique .ct-steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: .05em;
    width: 1.6em;
    height: 1.6em;
    border: 1px solid #c7c0b1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: -apple-system, Arial, sans-serif;
    font-size: .8rem;
    color: #7d776a;
}
/* Suppress Divi's own list numbers so only the circle counter shows */
.calm-technique ol.ct-steps { list-style: none !important; }

/* ---- Related-techniques block ---- */
.calm-technique .ct-related {
    margin: 3em 0 0;
    padding: 1.6em 1.8em;
    background: #f6f4ee;
    border-radius: 4px;
}
.calm-technique .ct-related-title {
    font-family: -apple-system, Arial, sans-serif;
    font-size: .72rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #9a958a;
    margin: 0 0 .9em;
}
.calm-technique .ct-related ul { list-style: none; margin: 0 0 1em; padding: 0; }
.calm-technique .ct-related li { margin-bottom: .55em; font-size: 1rem; }
.calm-technique .ct-related li span { color: #8a857a; font-size: .92rem; }
.calm-technique .ct-related-foot { margin: 0; font-size: .95rem; }
.calm-technique .ct-related-foot a { border-bottom: none; }

/* ---- Book footer — deliberately quiet ---- */
.calm-technique .ct-book {
    margin: 2.6em 0 0;
    padding-top: 1.4em;
    border-top: 1px solid #e2ded3;
    font-size: .92rem;
    line-height: 1.6;
    color: #8a857a;
}
.calm-technique .ct-book em { color: #6f6a5f; font-style: italic; }
.calm-technique .ct-book a {
    color: #8a857a;
    border-bottom: 1px solid rgba(138, 133, 122, .4);
}
.calm-technique .ct-book a:hover { color: #5a554b; border-bottom-color: #5a554b; }

/* ---- Techniques landing page ---- */
.calm-technique.ct-index .ct-lede + p .ct-verdict { margin: 0 .15em; }
.calm-technique .ct-cats { margin: 2.4em 0 0; }
.calm-technique .ct-cat {
    padding: 1.3em 0;
    border-top: 1px solid #ece8df;
}
.calm-technique .ct-cat:first-child { border-top: none; }
.calm-technique .ct-cat h2 { margin: 0 0 .25em; font-size: 1.32rem; }
.calm-technique .ct-cat h2 a { color: #2b2b28; border-bottom: none; }
.calm-technique .ct-cat h2 a:hover { color: #5a6b54; }
.calm-technique .ct-cat p { margin: 0; font-size: 1rem; color: #76716a; }

/* ---- Tighten paragraph/lede/step spacing against the theme ---- */
.calm-technique p { margin-bottom: 0.8em; }
.calm-technique .ct-lede { margin-bottom: 1.3em !important; }
.calm-technique ol.ct-steps li { margin-bottom: .8em !important; }

/* ---- Mobile ---- */
@media (max-width: 520px) {
    .calm-technique { font-size: 1.02rem; }
    .calm-technique .ct-lede { font-size: 1.16rem; }
    .calm-technique .ct-meta { gap: 1.2em; }
    .calm-technique .ct-cat h2 { font-size: 1.2rem; }
}

/* menu settings */
/* Container */
.calm-cat-menu ul,
.calm-cat-menu .et_pb_menu__menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  background: #ffffff;
  border: none;
  border-radius: 0;
  display: block;
}
/* Each item — tighter, lighter dividers */
.calm-cat-menu li,
.calm-cat-menu .et_pb_menu__menu li {
  display: block !important;
  float: none !important;
  clear: both !important;
  width: 100% !important;
  margin: 0;
  border-bottom: 1px solid #e6f0f7;
}
.calm-cat-menu li:last-child {
  border-bottom: none;
}
/* Kill Divi's default menu spacing */
.calm-cat-menu .et_pb_menu__menu li {
  margin: 0 !important;
  padding: 0 !important;
}
/* Links — smaller, sans, no underline, room for the arrow */
.calm-cat-menu a,
.calm-cat-menu .et_pb_menu__menu a {
  display: flex;
  align-items: center;
  padding: 5px 12px;
  font-family: "DM Sans", sans-serif !important;
  font-size: 13px;
  line-height: 1.2;
  color: #4a4036;
  text-decoration: none !important;
  transition: background 0.18s ease, color 0.18s ease;
}
/* Arrow in a coloured circle before each item */
.calm-cat-menu a::before {
  content: "›";
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-right: 9px;
  border-radius: 50%;
  background: #8fc0e2;            /* dove blue circle */
  color: #ffffff;                /* white arrow */
  font-size: 13px;
  line-height: 18px;
  text-align: center;
  font-family: "DM Sans", sans-serif;
}
/* Hover state */
.calm-cat-menu a:hover,
.calm-cat-menu .et_pb_menu__menu a:hover {
  background: #eef6fb;           /* faint dove-blue wash on hover */
  color: #2c2620;
  text-decoration: none !important;
}
.calm-cat-menu a:hover::before {
  background: #b8d8ee;           /* paler dove blue on hover */
}
/* Active / current category highlight */
.calm-cat-menu .current-menu-item > a,
.calm-cat-menu .current-cat > a {
  background: #eef6fb;
  color: #2c2620;
  font-weight: 600;
  box-shadow: inset 3px 0 0 #8fc0e2;   /* dove blue accent bar */
}
/* Optional heading label above the list */
.calm-cat-menu-title,
.calm-cat-menu-title p {
  font-family: -apple-system, "Helvetica Neue", Arial, sans-serif !important;
  font-size: .72rem !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  color: #9a958a !important;
  margin: 0 0 1.4em !important;
}
/* Cap height and scroll if still too tall */
.calm-cat-menu ul {
  max-height: 75vh;
  overflow-y: auto;
}

/* ===== Calm paths sidebar nav-menu — match .calm-cat-menu style ===== */

/* Title */
.et_pb_widget.widget_block .widgettitle {
  font-family: -apple-system, "Helvetica Neue", Arial, sans-serif !important;
  font-size: .72rem !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  color: #9a958a !important;
  font-weight: 600 !important;
  margin: 0 0 1.4em !important;
}

/* List container */
.et_pb_widget.widget_block ul.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  background: #fff;
  max-height: 75vh;
  overflow-y: auto;
}

/* Items + dividers */
.et_pb_widget.widget_block ul.menu li.menu-item {
  display: block;
  float: none;
  width: 100%;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #e6f0f7;
}
.et_pb_widget.widget_block ul.menu li.menu-item:last-child {
  border-bottom: none;
}

/* Links + room for the chevron */
.et_pb_widget.widget_block ul.menu li.menu-item a {
  display: flex;
  align-items: center;
  padding: 5px 12px;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  line-height: 1.2;
  color: #4a4036;
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}

/* Dove-blue circle with white chevron */
.et_pb_widget.widget_block ul.menu li.menu-item a::before {
  content: "\203A";
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-right: 9px;
  border-radius: 50%;
  background: #8fc0e2;
  color: #fff;
  font-size: 13px;
  line-height: 18px;
  text-align: center;
  font-family: "DM Sans", sans-serif;
}

/* Hover */
.et_pb_widget.widget_block ul.menu li.menu-item a:hover {
  background: #eef6fb;
  color: #2c2620;
}
.et_pb_widget.widget_block ul.menu li.menu-item a:hover::before {
  background: #b8d8ee;
}

/* Current category highlight */
.et_pb_widget.widget_block ul.menu li.current-menu-item > a,
.et_pb_widget.widget_block ul.menu li.current-post-parent > a {
  background: #eef6fb;
  color: #2c2620;
  font-weight: 600;
  box-shadow: inset 3px 0 0 #8fc0e2;
}

/* uni neue font */
@font-face {
  font-family: UniNeueBook;
  src: url('https://www.calm.org.uk/wp-content/uploads/fonts/39801C_0_0.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

h1, h2, h3, h4, h5, h6 {
  font-family: UniNeueBook, sans-serif !important;
}

body, p, li, a, span,
.et_pb_text, .et_pb_module {
  font-family: UniNeueBook, sans-serif !important;
}

/* yoast breadcrumb styling */
.calm-breadcrumb {
  font-family: "DM Sans", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a8278;
  margin-bottom: 1.5rem;
}
.calm-breadcrumb a,
.calm-breadcrumb a:hover {
  color: #8a8278;
  text-decoration: none !important;
}
.calm-breadcrumb a:hover { color: #3a352e; }

/* make sidebar menu sticky */
@media (min-width: 981px) {
  #sidebar {
    position: sticky;
    top: 100px;        /* clears your fixed header — adjust to taste */
    align-self: flex-start;
  }
}