:root {
  --mch-ew-red: #c6102e;
  --mch-ew-green: #00843d;
  --mch-ew-ink: #181818;
  --mch-ew-paper: #f2efe9;
  --mch-ew-line: #d8d5cf;
}

.mch-editorial-widget-wrap {
  margin: 0 0 30px;
}

.mch-editorial-widget-wrap > .mch-editorial-widget-title {
  display: none;
}

.mch-ew {
  box-sizing: border-box;
  color: var(--mch-ew-ink);
  font-family: inherit;
  width: 100%;
}

.mch-ew *, .mch-ew *::before, .mch-ew *::after {
  box-sizing: border-box;
}

.mch-ew-heading {
  align-items: center;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(28px, 1fr) auto minmax(28px, 1fr);
  margin: 0 0 24px;
  text-align: center;
}

.mch-ew-heading i {
  border-top: 1px solid var(--mch-ew-line);
  box-shadow: 0 3px 0 -2px var(--mch-ew-line);
  height: 4px;
}

.mch-ew-heading h3 {
  color: var(--mch-ew-ink);
  font-size: clamp(20px, 2vw, 27px);
  font-style: normal;
  font-weight: 500;
  line-height: 1.05;
  margin: 0;
}

.mch-ew-heading h3 span {
  color: var(--mch-ew-red);
}

.mch-ew-button,
.mch-ew-newsletter button {
  background: var(--mch-ew-red);
  border: 0;
  color: #fff !important;
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  padding: 15px 22px;
  text-align: center;
  text-decoration: none !important;
  text-transform: uppercase;
}

.mch-ew-button:hover,
.mch-ew-newsletter button:hover {
  background: #9f0c25;
}

.mch-ew-posts,
.mch-ew-social,
.mch-ew-areas {
  background: #fff;
  border: 1px solid #e0ded9;
  padding: 24px;
}

.mch-ew-post-list {
  counter-reset: mch-popular;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mch-ew-post-list li {
  align-items: center;
  counter-increment: mch-popular;
  display: grid;
  gap: 12px;
  grid-template-columns: 78px 1fr;
  margin: 0;
  padding: 12px 0;
}

.mch-ew-post-list li + li {
  border-top: 1px solid #eceae6;
}

.mch-ew-post-thumb,
.mch-ew-post-thumb img,
.mch-ew-post-thumb span {
  display: block;
  height: 72px;
  width: 78px;
}

.mch-ew-post-thumb img {
  object-fit: cover;
}

.mch-ew-post-thumb span {
  align-items: center;
  background: var(--mch-ew-paper);
  color: var(--mch-ew-red);
  display: flex;
  font-size: 26px;
  font-weight: 700;
  justify-content: center;
}

.mch-ew-post-thumb span::before {
  content: counter(mch-popular, decimal-leading-zero);
}

.mch-ew-post-list small {
  color: var(--mch-ew-green);
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .06em;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.mch-ew-post-title {
  color: var(--mch-ew-ink) !important;
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none !important;
}

.mch-ew-social-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mch-ew-social-grid a {
  align-items: center;
  color: #fff !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 112px;
  padding: 12px 6px;
  text-align: center;
  text-decoration: none !important;
}

.mch-ew-social-grid b {
  font-size: 24px;
  line-height: 1;
  margin-bottom: 8px;
}

.mch-ew-social-grid strong {
  font-size: 15px;
}

.mch-ew-social-facebook { background: #1877f2; }
.mch-ew-social-x { background: #111; }
.mch-ew-social-instagram { background: #e83f61; }
.mch-ew-social-youtube { background: #f00; }

.mch-ew-donations,
.mch-ew-newsletter {
  background: var(--mch-ew-paper);
  border: 1px solid #d9d5ce;
  padding: 27px 24px;
  text-align: center;
}

.mch-ew-donations p,
.mch-ew-newsletter > p {
  font-size: 14px;
  line-height: 1.55;
  margin: 0 0 18px;
}

.mch-ew-donations small {
  display: block;
  font-size: 9px;
  line-height: 1.4;
  margin-top: 16px;
}

.mch-ew-events {
  background: #fff;
}

.mch-ew-subtitle {
  color: #747474;
  font-size: 16px;
  margin: -10px 0 22px;
  text-align: center;
}

.mch-ew-event {
  align-items: start;
  background: linear-gradient(90deg, #fff6f7, #fff);
  border: 1px solid #e4e1dc;
  border-left: 4px solid var(--mch-ew-red);
  display: grid;
  gap: 16px;
  grid-template-columns: 72px 1fr;
  margin-bottom: 14px;
  padding: 16px;
}

.mch-ew-event time {
  align-items: center;
  background: #191919;
  color: #fff;
  display: flex;
  flex-direction: column;
  min-height: 103px;
  padding: 9px 5px;
  text-align: center;
}

.mch-ew-event time small,
.mch-ew-event time span,
.mch-ew-event time em {
  text-transform: uppercase;
}

.mch-ew-event time small { font-size: 9px; font-weight: 700; }
.mch-ew-event time b { font-size: 25px; line-height: 1.1; margin: 5px 0; }
.mch-ew-event time span { color: #ed2d4d; font-size: 11px; font-weight: 700; }
.mch-ew-event time em { font-size: 10px; font-style: normal; }
.mch-ew-event h4 { font-size: 18px; font-weight: 500; line-height: 1.2; margin: 3px 0 9px; }
.mch-ew-event h4 a { color: var(--mch-ew-ink) !important; text-decoration: none !important; }
.mch-ew-event p { color: #666; font-size: 12px; margin: 0 0 12px; }

.mch-ew-outline-button {
  border: 1px solid #999;
  color: #555 !important;
  display: inline-block;
  font-size: 11px;
  padding: 7px 12px;
  text-decoration: none !important;
  text-transform: uppercase;
}

.mch-ew-events-all {
  display: table;
  margin: 24px auto 0;
}

.mch-ew-sponsor {
  background: #171717;
  color: #fff;
  padding: 28px 24px 30px;
  text-align: center;
}

.mch-ew-sponsor .mch-ew-heading h3 { color: #fff; letter-spacing: .16em; }
.mch-ew-sponsor .mch-ew-heading h3 span { color: var(--mch-ew-red); }
.mch-ew-sponsor .mch-ew-heading i { border-color: #ccc; box-shadow: 0 3px 0 -2px #ccc; }

.mch-ew-sponsor-inner {
  border: 1px solid #474747;
  color: #fff !important;
  display: flex;
  flex-direction: column;
  padding: 18px;
  text-decoration: none !important;
}

.mch-ew-sponsor-inner img {
  height: auto;
  margin: 0 auto 18px;
  max-height: 210px;
  max-width: 100%;
  object-fit: contain;
}

.mch-ew-sponsor-inner strong { font-size: 18px; }
.mch-ew-sponsor-inner p { font-size: 12px; line-height: 1.45; margin: 12px auto 0; max-width: 260px; }

.mch-ew-newsletter {
  border-top: 3px solid var(--mch-ew-green);
  text-align: left;
}

.mch-ew-newsletter form { display: grid; gap: 10px; }
.mch-ew-newsletter input[type="email"] {
  background: #fff;
  border: 1px solid #d7d3cd;
  color: var(--mch-ew-ink);
  font-size: 14px;
  min-height: 52px;
  padding: 10px 14px;
  width: 100%;
}
.mch-ew-newsletter button { cursor: pointer; min-height: 52px; width: 100%; }
.mch-ew-config-note { color: #8a230f; font-size: 11px !important; }

.mch-ew-areas-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mch-ew-areas-grid a {
  align-items: center;
  border: 1px solid #e0ded9;
  color: var(--mch-ew-ink) !important;
  display: flex;
  flex-direction: column;
  font-size: 11px;
  justify-content: center;
  min-height: 92px;
  padding: 10px 6px;
  text-align: center;
  text-decoration: none !important;
}

.mch-ew-areas-grid span {
  align-items: center;
  background: #f5f3ee;
  border-radius: 50%;
  display: flex;
  font-size: 13px;
  font-weight: 800;
  height: 27px;
  justify-content: center;
  margin-bottom: 7px;
  width: 27px;
}

.mch-ew-area-red span, .mch-ew-area-red strong { color: var(--mch-ew-red); }
.mch-ew-area-green span, .mch-ew-area-green strong { color: var(--mch-ew-green); }

@media (max-width: 600px) {
  .mch-ew-posts, .mch-ew-social, .mch-ew-areas { padding: 18px; }
  .mch-ew-heading { gap: 9px; margin-bottom: 18px; }
  .mch-ew-heading h3 { font-size: 20px; }
  .mch-ew-social-grid a { min-height: 92px; }
  .mch-ew-event { grid-template-columns: 64px 1fr; padding: 12px; }
}

