/* Additions for the new site. The design itself is in ekko.css. */

[hidden] { display: none !important; }

.skip-link:focus { position: absolute; top: 8px; left: 8px; z-index: 3000; width: auto; height: auto; clip: auto; padding: 8px 14px; background: #fff; color: #2e3440; }
a:focus-visible, button:focus-visible, .btn:focus-visible { outline: 2px solid #0d9ec7; outline-offset: 2px; }

/* Navigation without Bootstrap's scripts */
@media (max-width: 767px) {
  .navbar-collapse.collapse.is-open { display: block; }
  .dropdown.is-open > .dropdown-menu { display: block; position: static; float: none; box-shadow: none; border: 0; }
}
@media (min-width: 768px) {
  .dropdown.is-open > .dropdown-menu { display: block; }
}

/* Banner and search */
#content > .jumbotron { margin-bottom: 0; }
.banner-line { white-space: normal; }
@media (max-width: 767px) { .banner-line { padding: 0 20px; text-shadow: 0 0 8px #fff, 0 0 8px #fff; } }
.search-strip { background: #fff; border-bottom: 1px solid #ececec; }
.search-strip .section { margin-top: 0; margin-bottom: 0; padding-top: 20px; padding-bottom: 20px; }
.search-strip .form-control, .search-strip .btn, .search-form .form-control, .search-form .btn { height: 44px; margin-bottom: 8px; }
@media (min-width: 768px) {
  .search-strip .form-control, .search-strip .btn, .search-form .form-control, .search-form .btn { margin-bottom: 0; }
}
.section-lead { margin-top: -6px; margin-bottom: 24px; }
.results-count { margin: 20px 0; }

/* Simple page header */
.page-header-band { background: #fff; border-top: 1px solid #e0e1e2; padding: 30px 0 20px; }
.page-header-band h1 { margin-top: 0; }

/* Placeholder tiles when a business or article has no photo yet */
.ph { position: relative; width: 100%; padding-bottom: 100%; overflow: hidden; }
.ph-tall { padding-bottom: 66%; }
.ph > svg { position: absolute; top: 50%; left: 50%; width: 34%; height: 34%; transform: translate(-50%, -50%); opacity: .55; }
.ph > svg > use { fill: #2b2f38; }
.ph-1 { background: #d9ecd9; } .ph-2 { background: #fbe9c8; } .ph-3 { background: #cfecf4; } .ph-4 { background: #f6d5d0; }
.ph-5 { background: #e4def2; } .ph-6 { background: #d6eadf; } .ph-7 { background: #f7e3d0; } .ph-8 { background: #d7e3f4; }
.image-wrap img { width: 100%; height: auto; display: block; }

/* Cards */
.row-eq-height > div > .content, .row-eq-height > div > .impact, .row-eq-height > div > .showcase-item, .row-eq-height > div > .standard-card { width: 100%; }
.content-trader { position: relative; padding-bottom: 36px; }
.content-trader .content-body { padding: 12px 15px 0; margin: 0; }
.content-trader .content-meta h6 { margin: 0; overflow: hidden; text-overflow: ellipsis; }
.content-trader h5, .showcase-item h3, .content-post h3 { overflow-wrap: anywhere; }
.content-post h3 { line-height: 1.5; }
.listed-on { font-size: 12px; color: #8a8f98; margin: 4px 0 0; }
.standard-icons { margin: 0 0 6px; min-height: 30px; }
.standard-icons .icon-cert > svg { width: 26px; height: 26px; margin-right: 6px; }
.impact .h4 { font-size: 28px; }

/* Business page */
.header-trader h1 { margin: 0; }
.header-image .ph > svg { width: 46%; height: 46%; }
.panel-showcase .panel-body { padding-top: 20px; }
.showcase-item { display: flex; flex-direction: column; height: 100%; padding-bottom: 24px; }
.showcase-item h3 { margin: 14px 0 6px; line-height: 1.3; }
.showcase-item p { margin-bottom: 8px; }
.showcase-item .btn { align-self: flex-start; margin-top: auto; }
.showcase-note { margin: 4px 0 0; }
.gallery { position: relative; }
.gallery figure { margin: 0; }
.gallery figcaption { padding: 8px 0; text-align: center; }
.gallery-prev, .gallery-next { position: absolute; top: 40%; background: rgba(255,255,255,.8); border: 0; font-size: 36px; width: 44px; height: 44px; line-height: 1; cursor: pointer; }
.gallery-prev { left: 8px; } .gallery-next { right: 8px; }
.nav-pills > li > a .h5 { margin: 0; display: block; }

/* Standards, articles, pager, status */
.standard-card { display: flex; gap: 14px; background: #fff; padding: 20px; margin-bottom: 10px; }
.standard-card h2 { margin-top: 2px; }
.article-title { margin-top: 24px; line-height: 1.25; }
.lead-para { font-size: 17px; }
.related-title { margin-top: 0; }
@media (min-width: 992px) { article + aside { padding-left: 30px; } }
.pager-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 30px 0; }
.pager-status { color: #8a8f98; }
.prose { max-width: 720px; }
.status-page { padding: 40px 0; }
.header-image, .header-image .image-wrap { width: 100%; }
.jumbotron .tagline { font-family: "Raleway", "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: 300; font-size: 40px; line-height: 1.2; margin: 0 0 10px; }

/* Episodes and the app panel */
.episode-tile { position: relative; }
.episode-play { position: absolute; right: 12px; bottom: 12px; width: 0; height: 0; border-top: 10px solid transparent; border-bottom: 10px solid transparent; border-left: 16px solid #2e3440; opacity: .7; }
.app-panel .icon-impact svg > use { fill: #fff; }
.app-panel p { font-size: 15px; line-height: 1.6; }
.btn-transparent-light { color: #fff; border-color: #fff; }
.btn-transparent-light:hover, .btn-transparent-light:focus { color: #2e3440; background-color: #fff !important; border-color: #fff !important; }
.directory-search { margin-bottom: 24px; }
.episode-thumb { position: relative; width: 100%; padding-bottom: 66%; overflow: hidden; background: #e0e1e2; }
.episode-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.episode-tile .episode-play { z-index: 2; }
.episode-player { background: #000; margin-bottom: 10px; }
.embed-responsive-16by9 { padding-bottom: 56.25%; }
.embed-responsive iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.nav-search-icon { width: 22px; height: 22px; vertical-align: middle; }
.banner-buttons .btn { margin: 0 4px 8px; }
.theme-score .theme-bg-light { background: #d4f0eb; }
.theme-score .ekko-score { background: #26b399; display: flex; height: 140px; width: 140px; border-radius: 100%; border: 3px solid #2e3440; margin: 0 auto; justify-content: center; align-items: center; }
.theme-score .ekko-score span { font-size: 54px; line-height: 1; font-weight: 600; color: #2e3440; }
@media (max-width: 767px) { .theme-score .ekko-score { height: 90px; width: 90px; } .theme-score .ekko-score span { font-size: 36px; } }
.box-search { text-align: left; margin: 0 auto 10px; max-width: 320px; }
.box-search .form-control { margin-bottom: 8px; }
.row-eq-height .section-link-block { width: 100%; }
@media (max-width: 767px) { .social > li { padding-left: 0; padding-right: 0; } .icon-social > svg { margin-right: 8px; } }

/* ---------- Home page and footer (November 2026 layout) ---------- */
.home-wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; box-sizing: border-box; }
@media (max-width: 767px) { .home-wrap { padding: 0 20px; } }
.home-heading { font-family: "Montserrat", "Raleway", "Helvetica Neue", Arial, sans-serif; font-weight: 600; color: #2e3440; margin: 0; }
.home-heading-caps { text-transform: uppercase; letter-spacing: -0.01em; line-height: 1.1; }
.home-kicker { font-family: "Raleway", sans-serif; font-weight: 700; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: #1f9a83; margin: 0; }
.home-btn { display: inline-block; font-family: "Raleway", sans-serif; font-weight: 700; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; padding: 16px 30px; border: 0; text-decoration: none; line-height: 1.2; }
.home-btn:hover, .home-btn:focus { text-decoration: none; }
.home-btn-dark { background: #2e3440; color: #fff; }
.home-btn-dark:hover, .home-btn-dark:focus { background: #191c22; color: #fff; }
.home-btn-green { background: #26b399; color: #fff; border-radius: 40px; }
.home-btn-green:hover, .home-btn-green:focus { background: #1f9a83; color: #fff; }

.home-hero { position: relative; min-height: 520px; display: flex; align-items: center; overflow: hidden; background: #d4e8dc; }
.home-hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-hero-inner { position: relative; width: 100%; padding-top: 72px; padding-bottom: 72px; display: flex; justify-content: flex-end; }
.home-hero-copy { max-width: 560px; display: flex; flex-direction: column; gap: 22px; }
.home-hero-copy p { margin: 0; }
.home-hero-title { font-family: "Montserrat", "Raleway", sans-serif; font-weight: 400; font-size: 54px; line-height: 1.05; letter-spacing: 0.01em; color: #2e3440; margin: 0; }
.home-hero-lead { font-size: 19px; line-height: 1.6; color: #2e3440; max-width: 460px; }
@media (max-width: 767px) {
  .home-hero { min-height: 0; }
  .home-hero-inner { padding-top: 48px; padding-bottom: 48px; }
  .home-hero-copy { background: rgba(255, 255, 255, 0.82); padding: 24px; }
  .home-hero-title { font-size: 38px; }
  .home-hero-lead { font-size: 17px; }
}

.home-score { background: #fff; }
.home-score-inner { padding-top: 96px; padding-bottom: 96px; display: flex; gap: 72px; align-items: center; flex-wrap: wrap; }
.home-score-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.home-score-copy p { margin: 0; font-size: 17px; line-height: 1.7; max-width: 520px; }
.home-score-copy .home-heading { font-size: 36px; }
.home-score-copy p:last-child { padding-top: 10px; }
.home-score-badges { flex: 0 1 400px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.score-pill { display: flex; align-items: center; gap: 20px; background: #fff; border-radius: 60px; box-shadow: 0 10px 30px rgba(46, 52, 64, 0.16); padding: 10px 34px 10px 10px; }
.score-pill-indent { margin-left: 56px; }
.score-disc { width: 86px; height: 86px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.55); }
.score-green { background: #26b399; } .score-orange { background: #ef9a38; } .score-red { background: #e35947; }
.score-mark { width: 46px; height: 46px; }
.score-mark > use { fill: #2e3440; }
.score-num { font-family: "Raleway", sans-serif; font-weight: 600; font-size: 48px; line-height: 1; color: #2e3440; }
@media (max-width: 767px) {
  .home-score-inner { padding-top: 56px; padding-bottom: 56px; gap: 40px; }
  .home-score-copy .home-heading { font-size: 28px; }
  .score-disc { width: 64px; height: 64px; } .score-mark { width: 34px; height: 34px; } .score-num { font-size: 36px; }
  .score-pill-indent { margin-left: 32px; }
}

.home-section { padding: 80px 0; background: #fff; }
.home-grey { background: #f5f5f5; }
.home-section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.home-section-head a { font-size: 15px; color: #2e3440; text-decoration: underline; }
.home-section-title { font-size: 28px; letter-spacing: 0.08em; text-transform: uppercase; }
@media (max-width: 767px) { .home-section { padding: 52px 0; } .home-section-title { font-size: 22px; } }
.home-search { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.home-search .form-control { height: 50px; font-size: 16px; border-radius: 0; }
.home-search-q { flex: 3 1 280px; width: auto; min-width: 0; }
.home-search-place { flex: 1 1 180px; width: auto; min-width: 0; }
.home-search .home-btn { flex: 0 0 auto; height: 50px; padding: 0 34px; }
@media (max-width: 767px) { .home-search .home-btn { flex: 1 1 100%; } }

.home-join { background: #d4f0eb; padding: 72px 0; text-align: center; }
.home-join-title { font-size: 32px; max-width: 760px; margin: 0 auto 36px; }
.home-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; }
.home-fact p { margin: 0 auto; font-size: 14px; line-height: 1.5; max-width: 200px; }
.home-fact .home-fact-figure { font-family: "Montserrat", sans-serif; font-weight: 400; font-size: 36px; color: #2e3440; margin: 10px auto; max-width: none; }
.home-fact-icon { width: 72px; height: 72px; }
.home-fact-icon > use { fill: #6b717c; }
@media (max-width: 767px) { .home-join { padding: 52px 0; } .home-join-title { font-size: 24px; } .home-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.site-footer { background: #2e3440; color: #fff; padding: 64px 0 36px; }
.site-footer a { color: #d8dbe0; }
.site-footer a:hover, .site-footer a:focus { color: #fff; }
.site-footer-top { display: flex; gap: 48px; flex-wrap: wrap; justify-content: space-between; margin-bottom: 40px; }
.site-footer-about { flex: 1 1 320px; max-width: 380px; }
.site-footer-about p { font-size: 14px; line-height: 1.7; color: #d8dbe0; margin: 16px 0 0; }
.site-footer-logo { filter: brightness(0) invert(1); display: block; }
.site-footer .site-footer-tagline { font-family: "Raleway", sans-serif; font-style: italic; font-size: 16px; color: #fff; }
.site-footer-links { display: flex; gap: 56px; flex-wrap: wrap; }
.site-footer-links li { margin-bottom: 10px; font-size: 14px; }
.site-footer-head { font-family: "Raleway", sans-serif; font-weight: 600; letter-spacing: 0.1em; font-size: 13px; text-transform: uppercase; color: #fff; margin: 0 0 14px; }
.site-footer .site-footer-subscribe { padding-top: 8px; }
.site-footer .site-footer-subscribe a { color: #fff; font-family: "Raleway", sans-serif; font-weight: 600; letter-spacing: 0.1em; font-size: 13px; text-transform: uppercase; }
.site-footer-bottom { border-top: 1px solid #4a5260; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.site-footer-bottom .social { margin: 0; }
.site-footer .icon-social svg > use { fill: #8a909a; }
.site-footer a.icon-social:hover svg > use { fill: #fff; }
.site-footer-name { font-size: 12px; color: #9aa0aa; }
