/*==============================================================
  End Poverty — UI Refresh Layer
  Loaded LAST. Additive, non-destructive modernisation pass over
  the purchased charity template. Anchored to the visual language
  already used on the About / Contact pages.
==============================================================*/

:root {
  /* Brand */
  --ep-primary:        #1893c7;
  --ep-primary-rgb:    24, 147, 199;
  --ep-primary-dark:   #10739c;
  --ep-primary-darker: #0c5b7d;
  --ep-accent:         #ffa415;
  --ep-accent-rgb:     255, 164, 21;

  /* Ink & surfaces */
  --ep-ink:            #10243a;   /* headings */
  --ep-ink-soft:       #1d3a52;
  --ep-body:           #46586c;   /* body copy — WCAG AA on white */
  --ep-muted:          #6b7b8d;
  --ep-white:          #ffffff;
  --ep-surface:        #ffffff;
  --ep-surface-2:      #f3f8fb;   /* tinted section band */
  --ep-surface-3:      #eaf3f8;
  --ep-line:           rgba(16, 36, 58, .10);
  --ep-line-strong:    rgba(16, 36, 58, .16);

  /* Shape */
  --ep-radius-xs: 8px;
  --ep-radius-sm: 12px;
  --ep-radius:    16px;
  --ep-radius-lg: 22px;
  --ep-pill:      999px;

  /* Elevation */
  --ep-shadow-sm: 0 4px 14px rgba(16, 36, 58, .06);
  --ep-shadow:    0 16px 40px rgba(16, 36, 58, .09);
  --ep-shadow-lg: 0 28px 64px rgba(16, 36, 58, .14);

  /* Rhythm */
  --ep-section-y:  clamp(60px, 8vw, 110px);
  --ep-container:  1240px;

  --ep-ease: cubic-bezier(.22, 1, .36, 1);

  /* Repair the theme's broken primary-rgb (was 255,85,40 -> orange). */
  --givewell-primary-rgb: 24, 147, 199;
}

/*--------------------------------------------------------------
  1. Base / typography hardening
--------------------------------------------------------------*/
body {
  color: var(--ep-body);
  background-color: var(--ep-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--ep-ink);
  letter-spacing: -.02em;
}

p { color: var(--ep-body); }

a { transition: color .25s var(--ep-ease); }

img { max-width: 100%; height: auto; }

::selection { background: rgba(var(--ep-primary-rgb), .18); }

/* Keep container widths a touch roomier and consistent. */
@media (min-width: 1200px) {
  .container { max-width: var(--ep-container); }
}

/* Firm up faint / low-contrast copy that appears across module CSS. */
.about-three__text,
.about-two__text-1,
.about-two__text,
.services-one__text,
.blog-three__text,
.section-title p,
.pricing-one__points li p,
.need-help__points li p,
.about-two__points-list li p {
  color: var(--ep-body);
}

/*--------------------------------------------------------------
  2. Animation safety net
  The GSAP SplitText + WOW/AOS combo leaves headings and blocks
  stuck at opacity:0 when a script hiccups or on slow connections.
  Guarantee content is always visible; keep a gentle CSS fade.
--------------------------------------------------------------*/
.wow { visibility: visible !important; }

[data-aos]:not(.aos-animate) {
  opacity: 1 !important;
  transform: none !important;
}

.sec-title-animation .title-animation,
.title-animation,
.title-animation .split-line,
.title-animation .split-line * {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}
/* Stop SplitText's per-line overflow:hidden from clipping revealed text.
   Do NOT touch display/width/white-space here — that reflows <p>/<h2>. */
.title-animation,
.title-animation .split-line {
  overflow: visible !important;
}

@keyframes ep-fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

/*--------------------------------------------------------------
  3. Section rhythm & headings
--------------------------------------------------------------*/
.about-three,
.services-one,
.about-two,
.counter-one,
.blog-three,
.pricing-one,
.need-help,
.testimonial-one,
.team-one {
  padding-top: var(--ep-section-y);
  padding-bottom: var(--ep-section-y);
}

.section-title { margin-bottom: 44px; }

.section-title__tagline {
  display: inline-block;
  padding: 7px 16px;
  border-radius: var(--ep-pill);
  background: rgba(var(--ep-accent-rgb), .14);
  color: #a5670a;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .78rem;
}

.section-title__tagline-icon { display: none; }

.section-title__title {
  color: var(--ep-ink);
  margin-top: 16px;
}

/*--------------------------------------------------------------
  4. Buttons — one system
--------------------------------------------------------------*/
.thm-btn,
.about-three__btn,
.about-two__btn,
.pricing-one__btn,
.blog-three__btn,
.main-slider-three__btn,
.need-help__btn,
.services-one__btn,
.page-header .thm-btn,
button.thm-btn,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border: 1px solid transparent;
  border-radius: var(--ep-pill);
  background-color: var(--ep-primary);
  background-image: none;
  color: var(--ep-white);
  font-weight: 700;
  line-height: 1;
  letter-spacing: .01em;
  box-shadow: 0 10px 24px rgba(var(--ep-primary-rgb), .28);
  transition: transform .28s var(--ep-ease),
              box-shadow .28s var(--ep-ease),
              background-color .28s var(--ep-ease);
  cursor: pointer;
}

.thm-btn:hover,
.about-three__btn:hover,
.about-two__btn:hover,
.pricing-one__btn:hover,
.blog-three__btn:hover,
.main-slider-three__btn:hover,
.need-help__btn:hover,
.services-one__btn:hover,
button.thm-btn:hover,
input[type="submit"]:hover {
  background-color: var(--ep-primary-dark);
  color: var(--ep-white);
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(var(--ep-primary-rgb), .36);
}

/* Kill the template's rotating fill pseudo-elements on buttons. */
.thm-btn > i,
.about-three__btn > i,
.about-two__btn > i,
.pricing-one__btn > i,
.main-slider-three__btn > i {
  display: none !important;
}

.thm-btn .icon-arrow-right,
.thm-btn .fas,
.about-three__btn .icon-arrow-right,
.about-two__btn .icon-arrow-right,
.pricing-one__btn .icon-arrow-right {
  transition: transform .28s var(--ep-ease);
}
.thm-btn:hover .icon-arrow-right,
.thm-btn:hover .fas,
.about-three__btn:hover .icon-arrow-right,
.about-two__btn:hover .icon-arrow-right,
.pricing-one__btn:hover .icon-arrow-right {
  transform: translateX(4px);
}

/*--------------------------------------------------------------
  5. Header / navigation
  Keep the template's white-logo + blue-bar identity; only refine.
--------------------------------------------------------------*/
.main-header-three { position: relative; z-index: 999; }

.main-menu-three__wrapper-inner { gap: 20px; }

.main-menu-three__main-menu-box {
  box-shadow: 0 14px 34px rgba(var(--ep-primary-rgb), .22);
}

.main-menu-three .main-menu__list > li > a { font-weight: 600; }

/* Dropdown panels */
.main-menu .main-menu__list > li > ul,
.stricky-header .main-menu__list > li > ul {
  border-radius: var(--ep-radius-sm);
  box-shadow: var(--ep-shadow) !important;
  padding: 12px !important;
  min-width: 244px;
}
.main-menu .main-menu__list > li > ul > li + li,
.stricky-header .main-menu__list > li > ul > li + li { margin-top: 4px; }
.main-menu .main-menu__list > li > ul > li > a,
.stricky-header .main-menu__list > li > ul > li > a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--ep-radius-xs);
  color: var(--ep-body);
  transition: background-color .2s var(--ep-ease), color .2s var(--ep-ease);
}
.main-menu .main-menu__list > li > ul > li > a:hover,
.stricky-header .main-menu__list > li > ul > li > a:hover {
  background: var(--ep-surface-3);
  color: var(--ep-primary-dark);
}

/* Donate block in the bar — keep orange, add motion */
.main-menu-three__btn {
  transition: transform .28s var(--ep-ease), box-shadow .28s var(--ep-ease),
              background-color .28s var(--ep-ease);
}
.main-menu-three__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(var(--ep-accent-rgb), .4);
  background-color: #ef8a0e;
}

/* "Great place to work" badge — keep tidy, never cropped */
.main-menu-photo img { width: auto; height: 54px; object-fit: contain; }

/* Sticky header */
.stricky-header.stricky-fixed,
.stricky-header.stricked-menu.stricky-fixed {
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(160%) blur(10px);
  box-shadow: 0 10px 30px rgba(16, 36, 58, .1);
}

/*--------------------------------------------------------------
  6. Page header (inner-page banners)
  Works for both photo backgrounds and the older baked-in text
  banner images — a consistent scrim makes both read as intentional.
--------------------------------------------------------------*/
.page-header {
  padding: clamp(150px, 20vw, 240px) 0 clamp(64px, 9vw, 120px);
  margin-top: 0;
}

.page-header__bg {
  background-size: cover;
  background-position: center;
}

.page-header__bg::after {
  background-image: linear-gradient(
    180deg,
    rgba(8, 20, 33, .30) 0%,
    rgba(8, 20, 33, .58) 60%,
    rgba(8, 20, 33, .74) 100%
  );
}
.page-header__bg::before { display: none; }

/* .page-header1 / .page-header__bg1 keep the template's own treatment
   (used by News, Annual Reports, Newsletters — pages whose banner art
   already carries the title text). */

.page-header__inner h1,
.page-header__inner h2 {
  color: var(--ep-white);
  font-weight: 700;
  letter-spacing: -.03em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .25);
  margin-bottom: 18px;
}

/* Pages whose banner is an empty <div class="page-header-bg"> with no
   CSS behind it — give them a branded gradient so they stop rendering
   as a blank white gap. */
.page-header-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1200px 400px at 15% -20%, rgba(var(--ep-primary-rgb), .55), transparent 60%),
    linear-gradient(120deg, var(--ep-primary-darker) 0%, var(--ep-primary) 55%, #17a0c9 100%);
}
.page-header-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/ep-logo.png");
  background-repeat: no-repeat;
  background-position: right -60px bottom -80px;
  background-size: 420px auto;
  opacity: .06;
}
.page-header:has(.page-header-bg) { background: var(--ep-primary-darker); }

.thm-breadcrumb__box {
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(6px);
  border-radius: var(--ep-pill);
  padding: 8px 18px;
}
.thm-breadcrumb li,
.thm-breadcrumb li a { color: #eaf2f7; font-weight: 600; }
.thm-breadcrumb li:hover a { color: var(--ep-accent); }

/*--------------------------------------------------------------
  7. Cards — services / blog / pricing / project rows
--------------------------------------------------------------*/
.services-one__single,
.blog-three__single,
.pricing-one__single,
.feature-one__single,
.team-one__single {
  height: 100%;
  background: var(--ep-surface);
  border: 1px solid var(--ep-line);
  border-radius: var(--ep-radius);
  box-shadow: var(--ep-shadow-sm);
  overflow: hidden;
  transition: transform .3s var(--ep-ease), box-shadow .3s var(--ep-ease),
              border-color .3s var(--ep-ease);
}
.services-one__single:hover,
.blog-three__single:hover,
.pricing-one__single:hover,
.feature-one__single:hover,
.team-one__single:hover {
  transform: translateY(-6px);
  box-shadow: var(--ep-shadow-lg);
  border-color: rgba(var(--ep-primary-rgb), .28);
}

/* Blog / news cards */
.blog-three__single { padding-bottom: 24px; }
.blog-three__img-box { margin-bottom: 20px; }
.blog-three__img { border-radius: 0; }
.blog-three__img img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform .5s var(--ep-ease);
}
.blog-three__single:hover .blog-three__img img { transform: scale(1.05); }
.blog-three__title { padding: 0 24px; margin-bottom: 12px; }
.blog-three__title a { color: var(--ep-ink); }
.blog-three__title a:hover { color: var(--ep-primary); }
.blog-three__client-info,
.blog-three__meta { padding: 0 24px; }
.blog-three__client-content p,
.blog-three__date { color: var(--ep-muted); font-size: .85rem; font-weight: 600; }

.blog-three__tag {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 2;
}
.blog-three__tag p {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--ep-pill);
  background: rgba(255, 255, 255, .94);
  color: var(--ep-primary-dark);
  font-size: .74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  box-shadow: var(--ep-shadow-sm);
}
.blog-three__single-shape { display: none; }

/* Pricing / "How can you support us" */
.pricing-one__single { padding: 36px 30px; text-align: left; }
.pricing-one__single-shape-1 { display: none; }
.pricing-one__title { color: var(--ep-ink); margin-bottom: 14px; }
.pricing-one__points li p { color: var(--ep-body); }
.pricing-one__btn-box { margin-top: 24px; }

/*--------------------------------------------------------------
  8. Services ("What We Do")
--------------------------------------------------------------*/
.services-one--services { padding-top: var(--ep-section-y); }
.services-one--services .row { row-gap: 28px; }
.services-one__single { padding: 26px 24px; text-align: left; }
.services-one__single::before { display: none; }
.services-one__title {
  color: var(--ep-ink);
  font-size: 1.35rem;
  min-height: 0;
  margin-bottom: 14px;
}
.services-one__title-shape { display: none; }
.services-one__img-box { margin-top: 18px; position: relative; }
.services-one__img { border-radius: var(--ep-radius-sm); overflow: hidden; }
.services-one__img img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .5s var(--ep-ease);
}
.services-one__single:hover .services-one__img img { transform: scale(1.05); }
.services-one--services .about-three__btn-box { margin-top: 18px; }

/*--------------------------------------------------------------
  9. About blocks
--------------------------------------------------------------*/
.about-three__img,
.about-two__img {
  border-radius: var(--ep-radius-lg);
  overflow: hidden;
  box-shadow: var(--ep-shadow);
}
.about-three__img img,
.about-two__img img { width: 100%; object-fit: cover; }

.about-three__experience {
  left: 24px;
  right: auto;
  bottom: 24px;
  width: auto;
  max-width: 240px;
  padding: 12px 22px 12px 12px;
  border-radius: var(--ep-pill);
  background: var(--ep-primary);
  box-shadow: var(--ep-shadow-lg);
}
.about-three__experience-icon { height: 52px; width: 52px; }
.about-three__experience-icon span { font-size: 24px; }
.about-three__experience-count-box h3,
.about-three__experience-text,
.about-three__experience .count-text { color: var(--ep-white); }
.about-three__experience-count-box h3 { font-size: 1.75rem; line-height: 1; }
.about-three__experience-text { font-size: .85rem; font-weight: 600; }

/* Long-form copy reads left-aligned, not justified */
.about-three__text,
.about-two__text-1,
.about-two__text,
.services-one__text,
.impact-story__text p,
.blog-details__text p { text-align: left; }

.about-two__points-list { margin: 0; padding: 0; list-style: none; }

/* "Our footprints" — a tidy 2-column grid of region chips, each tinted
   to that state's colour on the operations map.
   The template caps .about-two__points-box at 270px — lift that so the
   grid actually has room for two columns. */
.about-two__points-box:has(.ep-region-list) {
  max-width: 520px;
  width: 100%;
}
.ep-region-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 26px 0 30px;
}
.ep-region-list li {
  --chip: 24, 147, 199;
  --chip-ink: var(--ep-primary-dark);
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 !important;
  padding: 11px 16px;
  border-radius: 12px;
  border: 1px solid rgba(var(--chip), .38);
  background: rgba(var(--chip), .1);
  transition: transform .2s var(--ep-ease), box-shadow .2s var(--ep-ease),
              background-color .2s var(--ep-ease);
}
.ep-region-list li:hover {
  transform: translateY(-2px);
  background: rgba(var(--chip), .16);
  box-shadow: 0 8px 18px rgba(var(--chip), .26);
}
.ep-region-list li .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(var(--chip), .2);
  flex-shrink: 0;
}
.ep-region-list li .icon span {
  font-size: 12px;
  color: rgb(var(--chip));
}
.ep-region-list li p {
  margin: 0;
  color: var(--chip-ink);
  font-weight: 600;
  font-size: .92rem;
  line-height: 1.2;
  text-align: left !important;
  text-transform: none;
}

/* Per-state hues — order matches the markup (map-number order):
   1 Haryana · 2 Rajasthan · 3 Delhi · 4 Punjab · 5 Uttar Pradesh
   6 Madhya Pradesh · 7 Maharashtra · 8 Karnataka · 9 Uttarakhand · 10 Goa · 11 Gujarat */
.ep-region-list li:nth-child(1)  { --chip: 236, 72, 153;  --chip-ink: #a61e63; } /* pink        */
.ep-region-list li:nth-child(2)  { --chip: 245, 135, 31;  --chip-ink: #9a4e07; } /* orange      */
.ep-region-list li:nth-child(3)  { --chip: 34, 160, 90;   --chip-ink: #1a6b45; } /* emerald     */
.ep-region-list li:nth-child(4)  { --chip: 124, 58, 237;  --chip-ink: #5b21b6; } /* violet      */
.ep-region-list li:nth-child(5)  { --chip: 20, 168, 160;  --chip-ink: #0b6b65; } /* teal        */
.ep-region-list li:nth-child(6)  { --chip: 168, 130, 224; --chip-ink: #5b3ca6; } /* lavender    */
.ep-region-list li:nth-child(7)  { --chip: 230, 150, 20;  --chip-ink: #8a5200; } /* amber       */
.ep-region-list li:nth-child(8)  { --chip: 124, 179, 66;  --chip-ink: #4a6e22; } /* leaf green  */
.ep-region-list li:nth-child(9)  { --chip: 30, 127, 214;  --chip-ink: #12568f; } /* sky blue    */
.ep-region-list li:nth-child(10) { --chip: 244, 81, 30;   --chip-ink: #a03113; } /* deep orange */
.ep-region-list li:nth-child(11) { --chip: 63, 81, 181;   --chip-ink: #2a3580; } /* indigo      */

@media (max-width: 480px) {
  .ep-region-list { grid-template-columns: 1fr; }
}

/* "How We're Making a Difference" — a clean stacked feature list,
   not wrapping pills (the labels are full sentences). */
.about-two__points-list.ep-feature-list {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  margin-top: 26px;
}
.ep-feature-list li {
  --chip: 24, 147, 199;
  --chip-ink: var(--ep-ink);
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 16px 20px;
  border-radius: var(--ep-radius);
  border: 1px solid var(--ep-line);
  border-left: 4px solid rgb(var(--chip));
  background: var(--ep-surface);
  box-shadow: var(--ep-shadow-sm);
}
.ep-feature-list li:hover {
  transform: translateX(4px);
  box-shadow: 0 10px 24px rgba(var(--chip), .18);
}
.ep-feature-list li .icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(var(--chip), .14);
}
.ep-feature-list li .icon span {
  font-size: 17px;
  color: rgb(var(--chip));
}
.ep-feature-list li p {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ep-ink);
  line-height: 1.4;
}
.ep-feature-list li:nth-child(1) { --chip: 24, 147, 199; }  /* teal  */
.ep-feature-list li:nth-child(2) { --chip: 26, 157, 92; }   /* green */
.ep-feature-list li:nth-child(3) { --chip: 234, 140, 10; }  /* amber */

/* Decorative floating shapes: dial them down, they add noise */
.about-three__shape-2,
.about-three__shape-3,
.about-three__shape-4,
.about-two__shape-1,
.counter-one__shape-1,
.main-slider-three__shape-1,
.main-slider-three__shape-2 { opacity: .4; }

/* Footer background hand graphics: keep them a faint watermark */
.site-footer-three__shape-1 { opacity: .05; }
.site-footer-three__shape-2 { opacity: .03; }

/*--------------------------------------------------------------
  10. Counters / impact stats
--------------------------------------------------------------*/
.counter-one { background: var(--ep-surface-2); }
.counter-one__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 991px) { .counter-one__list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .counter-one__list { grid-template-columns: 1fr; } }

.counter-one__list > li { margin: 0 !important; width: auto !important; }

.counter-one__single {
  height: 100%;
  padding: 30px 24px;
  background: var(--ep-white);
  border: 1px solid var(--ep-line);
  border-radius: var(--ep-radius);
  box-shadow: var(--ep-shadow-sm);
  text-align: center;
}
.counter-one__content-count {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  margin-bottom: 14px;
}
/* Scope to the stats band only — .about-three also carries .counter-one,
   and its "17 Years" badge must stay white on the teal pill. */
.counter-one__content-count h3,
.counter-one__list .count-text {
  color: var(--ep-primary) !important;
  font-size: clamp(2.2rem, 4vw, 3rem) !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}
.about-three__experience-count-box .count-text,
.about-three__experience-count-box h3 {
  color: #fff !important;
  font-size: 2rem !important;
  line-height: 1 !important;
}
.counter-one__text {
  display: inline-flex;
  margin-top: 0;
  padding: 7px 16px;
  border-radius: var(--ep-pill);
  background-color: rgba(var(--ep-primary-rgb), .1);
  color: var(--ep-primary-dark);
  font-weight: 700;
  font-size: .85rem;
}

/*--------------------------------------------------------------
  11. "Join the Movement" / need-help
--------------------------------------------------------------*/
.need-help__inner {
  border-radius: var(--ep-radius-lg);
  overflow: hidden;
  box-shadow: var(--ep-shadow);
  background: var(--ep-surface-2);
}
.need-help__bg {
  min-height: 340px;
  background-size: cover;
  background-position: center;
}
.need-help__points-box { padding: clamp(28px, 4vw, 48px); }
.need-help__points-title { color: var(--ep-ink); margin-bottom: 20px; }
.need-help__points li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.need-help__points li + li { margin-top: 14px; }
.need-help__points li .icon span { color: var(--ep-primary); }
.need-help__points li p { color: var(--ep-body); margin: 0; }

/*--------------------------------------------------------------
  12. Forms
--------------------------------------------------------------*/
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="search"],
input[type="password"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--ep-line-strong);
  border-radius: var(--ep-radius-sm);
  background: var(--ep-white);
  color: var(--ep-ink);
  font-size: .95rem;
  transition: border-color .2s var(--ep-ease), box-shadow .2s var(--ep-ease);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--ep-primary);
  box-shadow: 0 0 0 4px rgba(var(--ep-primary-rgb), .14);
}
label { color: var(--ep-ink-soft); font-weight: 600; }
::placeholder { color: #9aa8b6; }

/*--------------------------------------------------------------
  13. Footer
--------------------------------------------------------------*/
.site-footer-three { background: #0f2a1e; }
.site-footer-three__top { padding-top: clamp(56px, 7vw, 92px); padding-bottom: 20px; }

.footer-widget-three__title {
  color: var(--ep-white);
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 12px;
}
.footer-widget-three__title::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 36px; height: 3px;
  border-radius: 3px;
  background: var(--ep-accent);
}

.footer-widget-three__about-text-2,
.footer-widget-three__links-list li,
.footer-widget-three__links-list li a {
  color: rgba(255, 255, 255, .72);
}
.footer-widget-three__links-list li { margin-bottom: 10px; }
.footer-widget-three__links-list li a:hover { color: var(--ep-accent); }
.footer-widget-three__about-logo img { width: 210px; height: auto; margin-bottom: 18px; }

/* Unify the social icons into one consistent set */
.footer-widget-three__social {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.footer-widget-three__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .10) !important;
  border: 1px solid rgba(255, 255, 255, .18);
  color: #fff !important;
  transition: transform .25s var(--ep-ease), background-color .25s var(--ep-ease);
}
.footer-widget-three__social a:hover {
  background: var(--ep-accent) !important;
  border-color: var(--ep-accent);
  color: #2f2205 !important;
  transform: translateY(-3px);
}
.footer-widget-three__social a svg { width: 18px; height: 18px; }

.site-footer-three__bottom { border-top: 1px solid rgba(255, 255, 255, .10); }
.site-footer-three__copyright-text { color: rgba(255, 255, 255, .6); }

/*--------------------------------------------------------------
  14. Scroll-to-top — replace the template's rotated "GO BACK TOP"
      bar with a clean circular button.
--------------------------------------------------------------*/
.scroll-to-top {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 46px !important;
  height: 46px !important;
  right: 24px !important;
  bottom: 24px !important;
  border-radius: 50%;
  background: var(--ep-primary) !important;
  box-shadow: 0 10px 26px rgba(var(--ep-primary-rgb), .38);
  transform: none !important;
  transition: transform .25s var(--ep-ease), background-color .25s var(--ep-ease),
              opacity .25s var(--ep-ease), visibility .25s var(--ep-ease);
}
.scroll-to-top.show { bottom: 24px !important; }
.scroll-to-top:hover {
  background: var(--ep-primary-dark) !important;
  transform: translateY(-3px) !important;
}
.scroll-to-top__text,
.scroll-to-top__wrapper { display: none !important; }

/* Up-chevron */
.scroll-to-top::after {
  content: "";
  width: 10px;
  height: 10px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(-45deg);
  margin-top: 3px;
}

@media (max-width: 575px) {
  .scroll-to-top { right: 16px !important; bottom: 16px !important; }
}

/*--------------------------------------------------------------
  15. Home hero — repair overlap / overflow, modernise
--------------------------------------------------------------*/
.home-hero { background: var(--ep-surface-2); overflow: hidden; }

.home-hero .main-slider-three__main-bg::before {
  background: linear-gradient(
    100deg,
    rgba(243, 248, 251, .96) 0%,
    rgba(243, 248, 251, .78) 42%,
    rgba(243, 248, 251, .30) 72%,
    rgba(243, 248, 251, 0) 100%
  );
  transform: none;
}

.home-hero .main-slider-three .item {
  min-height: clamp(560px, 72vh, 720px);
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 80px;
}

.home-hero .main-slider-three__content {
  max-width: 600px;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Never let the entrance transforms hide or overlap hero copy
   (owl only adds .active to one slide; a JS hiccup must not blank it). */
.home-hero .main-slider-three__sub-title-box,
.home-hero .main-slider-three__title,
.home-hero .main-slider-three__btn-box,
.home-hero .main-slider-three__content > * {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  transition: none !important;
}
.home-hero .main-slider-three__sub-title-box { display: block; margin: 0; }
.home-hero .main-slider-three__btn-box { width: 100%; }

/* Only the active slide is visible (guards against inactive slides
   bleeding through when owl's fade JS is slow to settle). */
.home-hero .main-slider-three__carousel.owl-loaded .owl-item:not(.active) {
  opacity: 0 !important;
  pointer-events: none;
}

/* Gentle staggered fade for the active slide only */
.home-hero .owl-item.active .main-slider-three__content > * {
  animation: ep-fade-up .6s var(--ep-ease) both;
}
.home-hero .owl-item.active .main-slider-three__content > *:nth-child(2) { animation-delay: .06s; }
.home-hero .owl-item.active .main-slider-three__content > *:nth-child(3) { animation-delay: .12s; }
.home-hero .owl-item.active .main-slider-three__content > *:nth-child(4) { animation-delay: .18s; }
.home-hero .owl-item.active .main-slider-three__content > *:nth-child(5) { animation-delay: .24s; }
.home-hero .owl-item.active .main-slider-three__content > *:nth-child(6) { animation-delay: .3s; }

/* Eyebrow */
.home-hero__eyebrow {
  background: rgba(var(--ep-primary-rgb), .12);
  color: var(--ep-primary-dark);
}
.home-hero__eyebrow::before { background: var(--ep-primary); }

/* Kicker word ("Tackling Poverty") — no longer a giant overflowing block */
.home-hero .banner-one__title {
  font-size: clamp(1.5rem, 3.4vw, 2.25rem);
  line-height: 1.1;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--ep-primary-dark);
  margin: 0 0 10px;
}
.home-hero .banner-one__title br { display: none; }
.home-hero .banner-one__title span { font-size: inherit; color: var(--ep-accent); }

/* Main headline */
.home-hero .main-slider-three__title {
  font-size: clamp(2.5rem, 5.4vw, 4rem);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--ep-ink);
  margin: 0 0 20px;
}
.home-hero .main-slider-three__title span { color: var(--ep-primary); }
.home-hero .main-slider-three__title span:before {
  height: 3px;
  bottom: 6px;
  opacity: .4;
}

.home-hero__summary {
  max-width: 540px;
  margin: 0 0 30px;
  color: var(--ep-ink-soft);
  font-size: 1.075rem;
  line-height: 1.7;
}

.home-hero__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.home-hero__secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid rgba(var(--ep-primary-rgb), .3);
  border-radius: var(--ep-pill);
  color: var(--ep-primary-dark);
  background: rgba(255, 255, 255, .8);
  font-weight: 700;
  transition: all .28s var(--ep-ease);
}
.home-hero__secondary:hover {
  background: var(--ep-primary);
  border-color: var(--ep-primary);
  color: #fff;
  transform: translateY(-3px);
}

/* Hero stat strip */
.home-hero__impact {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}
.home-hero__impact-item {
  min-width: 130px;
  padding: 14px 18px;
  border: 1px solid var(--ep-line);
  border-left: 3px solid var(--ep-primary);
  border-radius: var(--ep-radius-sm);
  background: rgba(255, 255, 255, .94);
  box-shadow: var(--ep-shadow-sm);
}
.home-hero__impact-item strong {
  display: block;
  color: var(--ep-ink);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
}
.home-hero__impact-item span {
  display: block;
  margin-top: 6px;
  color: var(--ep-muted);
  font-size: .8rem;
  font-weight: 600;
}

/* Foreground image card on the right */
.home-hero .main-slider-three__img-box {
  right: clamp(24px, 5vw, 90px);
  top: 50%;
  bottom: auto;
  width: min(42vw, 560px);
  transform: translateY(-50%) !important;
  visibility: visible !important;
  opacity: 1 !important;
  transition: none !important;
  z-index: 1;
}
.home-hero .main-slider-three__img {
  border-radius: var(--ep-radius-lg);
  overflow: hidden;
  box-shadow: var(--ep-shadow-lg);
  -webkit-mask-image: none !important;
  mask-image: none !important;
  clip-path: none !important;
}
.home-hero .main-slider-three__img img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: var(--ep-radius-lg);
}
/* Drop the decorative squiggle over the hero image */
.home-hero .main-slider-three__shape-2 { display: none !important; }

@media (max-width: 1100px) {
  .home-hero .main-slider-three__img-box { display: none; }
  .home-hero .main-slider-three__content { max-width: 100%; }
}

/* Owl dots -> clean bottom-centre bar instead of floating squares */
.home-hero .main-slider-three .owl-theme .owl-dots,
.main-slider-three .owl-theme .owl-dots {
  position: absolute;
  top: auto;
  bottom: 28px;
  left: 0; right: 0;
  flex-direction: row;
  justify-content: center;
  gap: 10px;
  padding: 0;
  transform: none;
  height: auto;
}
.main-slider-three .owl-theme .owl-dots .owl-dot { margin: 0 !important; }
.main-slider-three .owl-theme .owl-dots .owl-dot span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(var(--ep-primary-rgb), .3);
  transition: all .3s var(--ep-ease);
}
.main-slider-three .owl-theme .owl-dots .owl-dot span:before { display: none; }
.main-slider-three .owl-theme .owl-dots .owl-dot.active span {
  background: var(--ep-primary);
  width: 28px;
  border-radius: var(--ep-pill);
}

/*--------------------------------------------------------------
  16. Blog / news listing pages
--------------------------------------------------------------*/
.blog-page { padding: var(--ep-section-y) 0; }
.blog-page .row { row-gap: 30px; }

/* Pagination */
.pagination,
.post-pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 48px;
}
.pagination a,
.pagination span,
.post-pagination a,
.post-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--ep-line-strong);
  border-radius: var(--ep-radius-xs);
  color: var(--ep-ink-soft);
  font-weight: 600;
}
.pagination a:hover,
.post-pagination a:hover {
  border-color: var(--ep-primary);
  color: var(--ep-primary);
}
.pagination .active,
.pagination span[aria-current],
.post-pagination .active {
  background: var(--ep-primary);
  border-color: var(--ep-primary);
  color: #fff;
}

/*--------------------------------------------------------------
  17. Tables (annual reports / tenders / docs listings)
--------------------------------------------------------------*/
table.table,
.table-responsive table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--ep-line);
  border-radius: var(--ep-radius-sm);
  overflow: hidden;
}
table.table thead th {
  background: var(--ep-surface-3);
  color: var(--ep-ink);
  font-weight: 700;
  border: none;
  padding: 14px 16px;
}
table.table tbody td {
  padding: 14px 16px;
  border-top: 1px solid var(--ep-line);
  color: var(--ep-body);
}
table.table tbody tr:hover td { background: var(--ep-surface-2); }

/*--------------------------------------------------------------
  17b. Tender notices
--------------------------------------------------------------*/
.tender-list { padding: var(--ep-section-y) 0; }

.tender-list__grid {
  display: grid;
  gap: 22px;
  max-width: 960px;
  margin: 0 auto;
}

.tender-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
  padding: 26px 30px 26px 26px;
  background: var(--ep-surface);
  border: 1px solid var(--ep-line);
  border-radius: var(--ep-radius);
  box-shadow: var(--ep-shadow-sm);
  overflow: hidden;
  transition: transform .3s var(--ep-ease), box-shadow .3s var(--ep-ease),
              border-color .3s var(--ep-ease);
}
.tender-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--ep-primary);
}
.tender-card.is-closed::before { background: var(--ep-muted); }
.tender-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ep-shadow-lg);
  border-color: rgba(var(--ep-primary-rgb), .28);
}

.tender-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: var(--ep-radius-sm);
  background: rgba(var(--ep-primary-rgb), .1);
  color: var(--ep-primary-dark);
  font-size: 24px;
  flex-shrink: 0;
}
.tender-card.is-closed .tender-card__icon {
  background: rgba(16, 36, 58, .06);
  color: var(--ep-muted);
}

.tender-card__topline { margin-bottom: 10px; }
.tender-card__status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 13px;
  border-radius: var(--ep-pill);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: rgba(26, 157, 92, .12);
  color: #15794a;
}
.tender-card__status::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.tender-card.is-closed .tender-card__status {
  background: rgba(16, 36, 58, .08);
  color: var(--ep-muted);
}

.tender-card__title {
  margin: 0 0 16px;
  color: var(--ep-ink);
  font-size: 1.2rem;
  line-height: 1.35;
  font-weight: 700;
}

.tender-card__meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
}
.tender-card__meta li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ep-ink-soft);
  font-size: .92rem;
  font-weight: 600;
}
.tender-card__meta i {
  margin-top: 2px;
  color: var(--ep-primary);
  font-size: .95rem;
}
.tender-card.is-closed .tender-card__meta i { color: var(--ep-muted); }
.tender-card__meta-label {
  display: block;
  color: var(--ep-muted);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 1px;
}

.tender-card__action { flex-shrink: 0; }
.tender-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: var(--ep-pill);
  background: var(--ep-primary);
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  white-space: nowrap;
  box-shadow: 0 10px 22px rgba(var(--ep-primary-rgb), .26);
  transition: transform .28s var(--ep-ease), box-shadow .28s var(--ep-ease),
              background-color .28s var(--ep-ease);
}
.tender-card__btn:hover {
  background: var(--ep-primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(var(--ep-primary-rgb), .34);
}

.tender-list__empty {
  max-width: 520px;
  margin: 0 auto;
  padding: 48px 32px;
  text-align: center;
  border: 1px dashed var(--ep-line-strong);
  border-radius: var(--ep-radius);
  background: var(--ep-surface-2);
  color: var(--ep-muted);
}
.tender-list__empty i { font-size: 34px; color: var(--ep-primary); opacity: .7; }
.tender-list__empty p { margin: 14px 0 0; color: var(--ep-body); }

@media (max-width: 767px) {
  .tender-card {
    grid-template-columns: auto 1fr;
    gap: 16px 18px;
    padding: 22px;
  }
  .tender-card__action { grid-column: 1 / -1; }
  .tender-card__btn { width: 100%; justify-content: center; }
}

/*--------------------------------------------------------------
  17c. Document list (Other Documents — no thumbnails)
--------------------------------------------------------------*/
.doc-list { padding: var(--ep-section-y) 0; }

.doc-list__grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
}

.doc-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 18px 22px;
  background: var(--ep-surface);
  border: 1px solid var(--ep-line);
  border-radius: var(--ep-radius-sm);
  box-shadow: var(--ep-shadow-sm);
  transition: transform .25s var(--ep-ease), box-shadow .25s var(--ep-ease),
              border-color .25s var(--ep-ease);
}
.doc-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--ep-shadow);
  border-color: rgba(var(--ep-primary-rgb), .28);
}

.doc-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: var(--ep-radius-xs);
  background: rgba(var(--ep-primary-rgb), .1);
  color: var(--ep-primary-dark);
  font-size: 20px;
  flex-shrink: 0;
}
.doc-card__icon.is-pdf   { background: rgba(220, 38, 38, .1);  color: #c62828; }
.doc-card__icon.is-doc   { background: rgba(29, 78, 216, .1);  color: #1d4ed8; }
.doc-card__icon.is-sheet { background: rgba(22, 121, 74, .1);  color: #15794a; }

.doc-card__title {
  margin: 0;
  color: var(--ep-ink);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.4;
}
.doc-card__meta {
  margin: 4px 0 0;
  color: var(--ep-muted);
  font-size: .82rem;
  font-weight: 600;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.doc-card__ext {
  display: inline-flex;
  padding: 2px 8px;
  border-radius: 5px;
  background: var(--ep-surface-3);
  color: var(--ep-ink-soft);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .06em;
}

.doc-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 20px;
  border-radius: var(--ep-pill);
  background: var(--ep-primary);
  color: #fff;
  font-weight: 700;
  font-size: .86rem;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(var(--ep-primary-rgb), .24);
  transition: transform .25s var(--ep-ease), background-color .25s var(--ep-ease),
              box-shadow .25s var(--ep-ease);
}
.doc-card__btn:hover {
  background: var(--ep-primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 13px 26px rgba(var(--ep-primary-rgb), .32);
}

.doc-list__empty {
  max-width: 520px;
  margin: 0 auto;
  padding: 46px 30px;
  text-align: center;
  border: 1px dashed var(--ep-line-strong);
  border-radius: var(--ep-radius);
  background: var(--ep-surface-2);
}
.doc-list__empty i { font-size: 32px; color: var(--ep-primary); opacity: .7; }
.doc-list__empty p { margin: 12px 0 0; color: var(--ep-body); }

@media (max-width: 575px) {
  .doc-card {
    grid-template-columns: auto 1fr;
    gap: 12px 16px;
  }
  .doc-card__btn { grid-column: 1 / -1; justify-content: center; }
}

/*--------------------------------------------------------------
  17d. Thematic / project detail pages
--------------------------------------------------------------*/
.blog-details { padding: clamp(40px, 6vw, 72px) 0; }
.blog-details__title-1 {
  color: var(--ep-ink);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: 8px;
}

/* Project card — replace the pill-shaped, circular-thumbnail template look */
.blog-details__client-box-2 {
  align-items: stretch;
  gap: 32px;
  margin: 0 0 26px !important;
  padding: 28px 32px;
  border: 1px solid var(--ep-line);
  border-radius: var(--ep-radius-lg);
  box-shadow: var(--ep-shadow-sm);
  background: var(--ep-surface);
  transition: box-shadow .3s var(--ep-ease), border-color .3s var(--ep-ease),
              transform .3s var(--ep-ease);
}
.blog-details__client-box-2:hover {
  box-shadow: var(--ep-shadow);
  border-color: rgba(var(--ep-primary-rgb), .22);
  transform: translateY(-3px);
}

/* Image column: a rounded rectangle, not a floating circle */
.blog-details__client-img-2 {
  flex: 0 0 300px;
  max-width: 300px;
}
.blog-details__client-img-2:empty { display: none; }
.blog-details__client-img-2 img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  max-height: 340px;
  border-radius: var(--ep-radius);
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.blog-details__client-content-2 { align-self: center; }

/* Project title */
.blog-details__client-content-2 h2 {
  margin: 0 0 4px;
  color: var(--ep-ink);
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -.02em;
  text-transform: none;
}
.blog-details__client-content-2 h3 {
  margin-bottom: 6px;
  color: var(--ep-primary-dark);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.blog-details__client-content-2 p {
  margin-top: 12px;
  color: var(--ep-body);
  line-height: 1.7;
}

/* Funder · location · year strap under a project title */
.p-project-meta {
  margin: 6px 0 4px !important;
  color: var(--ep-primary-dark);
  font-size: .9rem;
  font-weight: 600;
}

/* "Project Overview" / "Impact Highlights" sub-headings */
.blog-details__client-content-2 h4 {
  margin: 22px 0 10px;
  color: var(--ep-ink);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -.01em;
}

.blog-details__client-content-2 ul { margin: 0 0 4px; padding-left: 0; list-style: none; }
.blog-details__client-content-2 ul li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 9px;
  color: var(--ep-body);
  line-height: 1.6;
}
.blog-details__client-content-2 ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: .55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ep-primary);
}

@media (max-width: 991px) {
  .blog-details__client-box-2 {
    flex-direction: column;
    gap: 20px;
    padding: 22px;
    text-align: left;
  }
  .blog-details__client-img-2 {
    flex-basis: auto;
    max-width: 100%;
  }
  .blog-details__client-img-2 img { max-height: 260px; aspect-ratio: 16 / 9; }
}

/* References box in the intro */
.p-references {
  margin-top: 32px;
  padding: 22px 26px;
  border: 1px solid var(--ep-line);
  border-left: 3px solid var(--ep-primary);
  border-radius: var(--ep-radius-sm);
  background: var(--ep-surface-2);
}
.p-references h4 {
  margin: 0 0 12px;
  color: var(--ep-ink);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.p-references ul { margin: 0; padding-left: 18px; }
.p-references li {
  color: var(--ep-muted);
  font-size: .88rem;
  line-height: 1.55;
  margin-bottom: 6px;
}

/*--------------------------------------------------------------
  18. Misc polish
--------------------------------------------------------------*/
.preloader { display: none !important; }  /* flaky loader across pages */

hr { border-color: var(--ep-line); }

.timeline-year,
.blog-details__meta a { color: var(--ep-primary); }

/* Reduce template's aggressive letter-spacing on small text */
.section-title__tagline,
.blog-three__tag p { letter-spacing: .08em; }
