/*
 * MWC Community Blog — front end.
 * Uses the theme's design tokens when the My Wellness (route-child) theme is active,
 * and falls back to the same values everywhere else, so it also looks right on other themes.
 */

.mwc-blog,
.mwc-blog-single,
.mwc-blog-archive,
.mwc-blog-auth,
.mwc-blog-account {
  --b-ink: var(--ink, #0F1A14);
  --b-ink-2: var(--ink-2, #3F4B44);
  --b-muted: var(--muted, #7A857E);
  --b-line: var(--line, rgba(15, 26, 20, .12));
  --b-bg: var(--bg, #F3F1EC);
  --b-green: var(--green, #1C4A33);
  --b-lime: var(--lime, #D4F06B);
  --b-radius: var(--r-md, 22px);
  --b-shadow: var(--shadow, 0 1px 2px rgba(15, 26, 20, .04), 0 12px 32px -12px rgba(15, 26, 20, .12));
  color: var(--b-ink-2);
}

/* inside a normal page the page title is already shown, so skip the section's top padding */
.entry-content > .mwc-blog.section,
.mwc-content .mwc-blog.section { padding-top: 0; }
.entry-content > .mwc-blog.section > .container,
.mwc-content .mwc-blog.section > .container { padding-left: 0; padding-right: 0; max-width: none; }

/* the theme underlines links inside page content — our components set their own styles */
.mwc-blog a.chip,
.mwc-blog .mwc-blog-card-title a,
.mwc-blog .mwc-blog-card-cat a,
.mwc-blog .mwc-blog-cats a,
.mwc-blog .mwc-blog-popular-title,
.mwc-blog .mwc-blog-view-all,
.mwc-blog .mwc-blog-featured-title a,
.mwc-blog .btn,
.mwc-blog-sidebar a,
.mwc-blog-single .mwc-blog-breadcrumbs a,
.mwc-blog-single .btn { text-decoration: none; }
.mwc-blog .mwc-blog-card-cat a:hover,
.mwc-blog .mwc-blog-view-all:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- toolbar: chips, search, sort ---------- */
.mwc-blog-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin: 0 0 28px;
}
.mwc-blog-chips ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.mwc-blog-chips .chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid var(--b-line);
  background: #fff;
  color: var(--b-ink-2);
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
}
.mwc-blog-chips .chip:hover { border-color: var(--b-green); color: var(--b-ink); }
.mwc-blog-chips .chip.is-current { background: var(--b-green); border-color: var(--b-green); color: #fff; }
.mwc-blog-chip-count { font-size: 11.5px; opacity: .65; }
.mwc-blog-tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.mwc-blog-search {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 16px;
  border: 1px solid var(--b-line);
  border-radius: 999px;
  background: #fff;
  color: var(--b-muted);
}
.mwc-blog-search input {
  border: 0;
  outline: 0;
  background: none;
  font: inherit;
  color: var(--b-ink);
  min-width: 180px;
}
.mwc-blog-sort select {
  height: 44px;
  padding: 0 38px 0 16px;
  border: 1px solid var(--b-line);
  border-radius: 999px;
  background: #fff;
  font: inherit;
  font-size: 13.5px;
  color: var(--b-ink);
}
.mwc-blog-submit { height: 44px; }
.js .mwc-blog-tools .mwc-blog-submit { display: none; }
.mwc-blog-summary { display: flex; gap: 14px; align-items: center; font-size: 14px; color: var(--b-muted); margin: -14px 0 24px; }
.mwc-blog-clear { color: var(--b-green); font-weight: 600; }
.mwc-blog-icon { width: 18px; height: 18px; flex: none; }

/* ---------- cards ---------- */
.mwc-blog-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(var(--mwc-blog-columns, 3), minmax(0, 1fr));
  gap: 26px;
}
.mwc-blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--b-line);
  border-radius: 24px;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.mwc-blog-card:hover { transform: translateY(-3px); box-shadow: var(--b-shadow); }
.mwc-blog-card-media {
  display: block;
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--b-green);
  overflow: hidden;
}
.mwc-blog-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease, cubic-bezier(.2, .7, .2, 1)); }
.mwc-blog-card:hover .mwc-blog-card-media img { transform: scale(1.04); }
.mwc-blog-placeholder {
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 100% at 20% 0%, #2C6247 0%, var(--b-green) 60%);
}
.mwc-blog-card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.mwc-blog-card-cat { margin: 0; font-size: 11.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.mwc-blog-card-cat a { color: var(--b-green); text-decoration: none; }
.mwc-blog-card-cat a:hover { text-decoration: underline; text-underline-offset: 3px; }
.mwc-blog-card-title { font-family: "Inter Tight", sans-serif; font-size: 19.5px; line-height: 1.28; letter-spacing: -.03em; margin: 0; }
.mwc-blog-card-title a { color: var(--b-ink); text-decoration: none; }
.mwc-blog-card-title a:hover { color: var(--b-green); }
.mwc-blog-card-excerpt { margin: 0; font-size: 14.5px; line-height: 1.6; }
.mwc-blog-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: auto 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--b-line);
  font-size: 12.5px;
  color: var(--b-muted);
}
.mwc-blog-card-date, .mwc-blog-card-comments, .mwc-blog-card-time { display: inline-flex; align-items: center; gap: 6px; }
.mwc-blog-card-meta-right { display: inline-flex; align-items: center; gap: 14px; }
.mwc-blog-card-foot .mwc-blog-icon { width: 15px; height: 15px; opacity: .8; }

.mwc-blog-card--wide {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: stretch;
  margin-bottom: 26px;
}
.mwc-blog-card--wide .mwc-blog-card-media { aspect-ratio: auto; height: 100%; min-height: 320px; }
.mwc-blog-card--wide .mwc-blog-card-body { padding: 38px 40px; justify-content: center; gap: 14px; }
.mwc-blog-card--wide .mwc-blog-card-title { font-size: clamp(26px, 3vw, 36px); }
.mwc-blog-card--wide .mwc-blog-card-excerpt { font-size: 16px; }
.mwc-blog-card-flag {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #fff;
  color: var(--b-ink);
  font-size: 12px;
  font-weight: 600;
}


/* ---------- featured article hero ---------- */
.mwc-blog-featured {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 420px;
  margin: 0 0 40px;
  padding: 44px 48px;
  border-radius: 28px;
  overflow: hidden;
  background: var(--b-green);
  isolation: isolate;
}
.mwc-blog-featured-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.mwc-blog-featured::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(95deg, rgba(10, 23, 16, .92) 0%, rgba(10, 23, 16, .78) 38%, rgba(10, 23, 16, .25) 72%, rgba(10, 23, 16, .1) 100%);
}
.mwc-blog-featured--plain::after { background: linear-gradient(120deg, #123527 0%, var(--b-green) 60%, #2C6247 100%); }
.mwc-blog-featured-body { max-width: 560px; color: #fff; }
.mwc-blog-featured-eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--b-lime);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .85);
}
.mwc-blog-featured-title { font-family: "Inter Tight", sans-serif; font-size: clamp(28px, 3.6vw, 46px); font-weight: 600; letter-spacing: -.04em; line-height: 1.06; margin: 0 0 14px; }
.mwc-blog-featured-title a { color: #fff; text-decoration: none; }
.mwc-blog-featured-title a:hover { color: var(--b-lime); }
.mwc-blog-featured-excerpt { margin: 0 0 14px; font-size: 16.5px; line-height: 1.6; color: rgba(255, 255, 255, .84); }
.mwc-blog-featured-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 22px; font-size: 13px; color: rgba(255, 255, 255, .72); }
.mwc-blog-featured-meta span + span::before { content: "·"; margin-right: 18px; }
.mwc-blog .mwc-blog-featured-btn { background: #fff; color: var(--b-ink); }
.mwc-blog .mwc-blog-featured-btn:hover { background: var(--b-lime); }

/* ---------- main column + sidebar ---------- */
.mwc-blog-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 34px; }
.mwc-blog--sidebar .mwc-blog-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.mwc-blog--sidebar .mwc-blog-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
.mwc-blog-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin: 0 0 22px; }
.mwc-blog-head-title { font-family: "Inter Tight", sans-serif; font-size: clamp(24px, 2.6vw, 32px); font-weight: 600; letter-spacing: -.035em; margin: 0; color: var(--b-ink); }
.mwc-blog-head-tools { display: flex; align-items: center; gap: 14px; }
.mwc-blog-tools--inline { margin: 0; }
.mwc-blog-view-all { display: inline-flex; align-items: center; gap: 7px; color: var(--b-green); font-size: 14px; font-weight: 600; text-decoration: none; }
.mwc-blog-view-all:hover { text-decoration: underline; text-underline-offset: 3px; }

.mwc-blog-sidebar { position: sticky; top: 104px; display: flex; flex-direction: column; gap: 22px; }
.mwc-blog-widget { padding: 24px 24px 26px; border: 1px solid var(--b-line); border-radius: 22px; background: #fff; }
.mwc-blog-widget--search { padding: 0; border: 0; background: none; }
.mwc-blog-widget--search .mwc-blog-search { width: 100%; height: 50px; }
.mwc-blog-widget--search .mwc-blog-search input { width: 100%; min-width: 0; }
.mwc-blog-widget-title { font-family: "Inter Tight", sans-serif; font-size: 18px; font-weight: 600; letter-spacing: -.02em; margin: 0 0 16px; color: var(--b-ink); }
.mwc-blog-cats { list-style: none; margin: 0; padding: 0; }
.mwc-blog-cats li + li { border-top: 1px solid var(--b-line); }
.mwc-blog-cats a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; color: var(--b-ink-2); font-size: 14.5px; text-decoration: none; }
.mwc-blog-cats a:hover { color: var(--b-green); }
.mwc-blog-cats .is-current a { color: var(--b-green); font-weight: 600; }
.mwc-blog-cat-count { min-width: 26px; padding: 2px 8px; border-radius: 999px; background: var(--b-bg); font-size: 12px; text-align: center; color: var(--b-muted); }
.mwc-blog-cats .is-current .mwc-blog-cat-count { background: var(--b-green); color: #fff; }
.mwc-blog-popular { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.mwc-blog-popular li { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; }
.mwc-blog-popular-media { position: relative; display: block; width: 64px; height: 64px; border-radius: 14px; overflow: hidden; background: var(--b-green); }
.mwc-blog-popular-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mwc-blog-popular-title { display: block; font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--b-ink); text-decoration: none; }
.mwc-blog-popular-title:hover { color: var(--b-green); }
.mwc-blog-popular-date { display: block; margin-top: 4px; font-size: 12px; color: var(--b-muted); }
.mwc-blog-subscribe { background: var(--b-bg); border-color: transparent; }
.mwc-blog-subscribe p { margin: 0 0 14px; font-size: 14px; line-height: 1.55; }
.mwc-blog-subscribe input[type=email] {
  width: 100%;
  height: 46px;
  padding: 0 16px;
  margin: 0 0 10px;
  border: 1px solid var(--b-line);
  border-radius: 14px;
  background: #fff;
  font: inherit;
  font-size: 14.5px;
  color: var(--b-ink);
}
.mwc-blog .mwc-blog-subscribe-btn { width: 100%; justify-content: center; border-radius: 14px; }
.mwc-blog-subscribe .mwc-blog-notice { font-size: 13.5px; padding: 10px 14px; }

@media (max-width: 1100px) {
  .mwc-blog--sidebar .mwc-blog-layout { grid-template-columns: minmax(0, 1fr); }
  .mwc-blog-sidebar { position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: start; }
  .mwc-blog--sidebar .mwc-blog-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
}
@media (max-width: 760px) {
  .mwc-blog-featured { min-height: 0; padding: 28px 24px 30px; }
  .mwc-blog-featured-body { max-width: none; }
  .mwc-blog-featured::after { background: linear-gradient(180deg, rgba(10, 23, 16, .55) 0%, rgba(10, 23, 16, .9) 55%); }
  .mwc-blog--sidebar .mwc-blog-grid { grid-template-columns: minmax(0, 1fr); }
  .mwc-blog-head { flex-direction: column; align-items: stretch; gap: 12px; }
  .mwc-blog-head-tools { width: 100%; justify-content: space-between; }
  .mwc-blog-head-tools .mwc-blog-sort select { width: 100%; }
}

/* ---------- pagination & empty ---------- */
.mwc-blog-pagination, .mwc-blog-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 40px; }
.mwc-blog-pagination .page-numbers {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--b-line);
  border-radius: 999px;
  background: #fff;
  color: var(--b-ink);
  text-decoration: none;
}
.mwc-blog-pagination .page-numbers:hover { border-color: var(--b-green); }
.mwc-blog-pagination .page-numbers.current { background: var(--b-ink); border-color: var(--b-ink); color: #fff; }
.mwc-blog-pagination .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mwc-blog-empty { text-align: center; padding: 60px 20px; border: 1px dashed var(--b-line); border-radius: 24px; background: #fff; }
.mwc-blog-empty h3 { font-family: "Inter Tight", sans-serif; font-size: 24px; margin: 0 0 8px; color: var(--b-ink); }
.mwc-blog-empty p { margin: 0 0 18px; }
.mwc-blog-results { position: relative; }
.mwc-blog-results.is-loading { opacity: .45; transition: opacity .2s; }

/* ---------- archive header ---------- */
.mwc-blog-archive-head { padding: 64px 0 34px; }
.mwc-blog-archive-title { font-family: "Inter Tight", sans-serif; font-size: clamp(34px, 5vw, 56px); font-weight: 600; letter-spacing: -.045em; line-height: 1.03; margin: 0; color: var(--b-ink); }
.mwc-blog-archive-lead { margin: 16px 0 0; max-width: 620px; font-size: 17px; line-height: 1.6; }

/* ---------- single post ---------- */
.mwc-blog-single { padding-bottom: 90px; }
.mwc-blog-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 26px; padding: 34px 0 0; font-size: 13px; color: var(--b-muted); }
.mwc-blog-breadcrumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.mwc-blog-breadcrumbs a { color: var(--b-muted); text-decoration: none; }
.mwc-blog-breadcrumbs a:hover { color: var(--b-green); }
.mwc-blog-hero-body { max-width: 780px; }
.mwc-blog-hero .eyebrow a { color: inherit; text-decoration: none; }
.mwc-blog-title { font-family: "Inter Tight", sans-serif; font-size: clamp(34px, 5.2vw, 62px); font-weight: 600; letter-spacing: -.045em; line-height: 1.02; margin: 0; color: var(--b-ink); }
.mwc-blog-lead { margin: 20px 0 0; font-size: 19px; line-height: 1.6; color: var(--b-ink-2); }
.mwc-blog-byline { display: flex; align-items: center; gap: 14px; margin: 30px 0 0; }
.mwc-blog-byline img { width: 44px; height: 44px; border-radius: 50%; display: block; }
.mwc-blog-byline-text { display: flex; flex-direction: column; font-size: 14px; color: var(--b-muted); }
.mwc-blog-byline-text strong { color: var(--b-ink); font-size: 15px; }
.mwc-blog-cover { margin: 40px auto 0; }
.mwc-blog-cover img { width: 100%; height: auto; border-radius: 28px; display: block; }
.mwc-blog-cover figcaption { margin-top: 10px; font-size: 13px; color: var(--b-muted); }
.mwc-blog-body { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; align-items: start; padding-top: 52px; }
.mwc-blog-body > .mwc-blog-content:only-child { grid-column: 1 / -1; max-width: 760px; margin: 0 auto; }
.mwc-blog-aside { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 28px; }
.mwc-blog-toc h2, .mwc-blog-share h2 { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--b-muted); margin: 0 0 12px; }
.mwc-blog-toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--b-line); }
.mwc-blog-toc li a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; font-size: 14px; color: var(--b-ink-2); text-decoration: none; }
.mwc-blog-toc li a:hover, .mwc-blog-toc li a.is-current { border-left-color: var(--b-green); color: var(--b-ink); }
.mwc-blog-toc-h3 a { padding-left: 26px; font-size: 13.5px; }
.mwc-blog-share ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.mwc-blog-share a, .mwc-blog-copy {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--b-line);
  border-radius: 50%;
  background: #fff;
  color: var(--b-ink);
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.mwc-blog-share a:hover, .mwc-blog-copy:hover { background: var(--b-green); border-color: var(--b-green); color: #fff; }
.mwc-blog-copy.is-copied { background: var(--b-lime); border-color: var(--b-lime); color: var(--b-ink); }
.mwc-blog-content { max-width: 760px; font-size: 17.5px; line-height: 1.75; }
.mwc-blog-content > * { margin: 0 0 1.25em; }
.mwc-blog-content h2, .mwc-blog-content h3 { font-family: "Inter Tight", sans-serif; color: var(--b-ink); letter-spacing: -.03em; line-height: 1.2; margin: 1.9em 0 .55em; scroll-margin-top: 120px; }
.mwc-blog-content h2 { font-size: 30px; }
.mwc-blog-content h3 { font-size: 23px; }
.mwc-blog-content a { color: var(--b-green); text-decoration: underline; text-underline-offset: 3px; }
.mwc-blog-content img { max-width: 100%; height: auto; border-radius: 18px; }
.mwc-blog-content ul, .mwc-blog-content ol { padding-left: 1.3em; }
.mwc-blog-content li { margin: .4em 0; }
.mwc-blog-content blockquote { margin: 1.7em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--b-lime); font-size: 19px; color: var(--b-ink); }
.mwc-blog-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.mwc-blog-tags .chip { padding: 6px 13px; border: 1px solid var(--b-line); border-radius: 999px; background: #fff; font-size: 13px; color: var(--b-ink-2); text-decoration: none; }
.mwc-blog-author {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  align-items: start;
  margin: 46px 0 0;
  padding: 26px;
  border-radius: 24px;
  background: var(--b-bg);
}
.mwc-blog-author img { width: 72px; height: 72px; border-radius: 50%; }
.mwc-blog-author h2 { font-family: "Inter Tight", sans-serif; font-size: 21px; margin: 0 0 6px; color: var(--b-ink); }
.mwc-blog-author p { margin: 0 0 10px; font-size: 15px; }
.mwc-blog-author-link { display: inline-flex; align-items: center; gap: 6px; color: var(--b-green); font-weight: 600; font-size: 14px; text-decoration: none; }
.mwc-blog-adjacent { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 54px; }
.mwc-blog-adjacent-link { display: flex; flex-direction: column; gap: 6px; padding: 20px 24px; border: 1px solid var(--b-line); border-radius: 20px; background: #fff; color: var(--b-ink); text-decoration: none; font-weight: 600; }
.mwc-blog-adjacent-link:hover { border-color: var(--b-green); }
.mwc-blog-adjacent-link--next { text-align: right; }
.mwc-blog-related { padding-top: 70px; }

/* ---------- comments ---------- */
.mwc-blog-comments { margin: 56px 0 0; padding-top: 34px; border-top: 1px solid var(--b-line); }
.mwc-blog-comments-title { display: flex; align-items: center; gap: 10px; font-family: "Inter Tight", sans-serif; font-size: 24px; letter-spacing: -.03em; color: var(--b-ink); margin: 0 0 24px; }
.mwc-blog-comment-list, .mwc-blog-comment-list .children { list-style: none; margin: 0; padding: 0; }
.mwc-blog-comment-list .children { margin: 16px 0 0 26px; padding-left: 22px; border-left: 2px solid var(--b-line); }
.mwc-blog-comment { margin: 0 0 18px; }
.mwc-blog-comment-inner { display: grid; grid-template-columns: 48px 1fr; gap: 14px; padding: 18px 20px; border: 1px solid var(--b-line); border-radius: 20px; background: #fff; }
.mwc-blog-comment-avatar img { width: 48px; height: 48px; border-radius: 50%; display: block; }
.mwc-blog-comment-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 6px; font-size: 13px; color: var(--b-muted); }
.mwc-blog-comment-meta strong { color: var(--b-ink); font-size: 14.5px; }
.mwc-blog-comment-badge { padding: 2px 8px; border-radius: 999px; background: var(--b-lime); color: var(--b-ink); font-size: 11px; font-weight: 600; }
.mwc-blog-comment-pending { margin: 0 0 6px; font-size: 13px; color: #8a6d1f; }
.mwc-blog-comment-text { font-size: 15.5px; line-height: 1.65; }
.mwc-blog-comment-text p { margin: 0 0 .7em; }
.mwc-blog-comment-reply { margin: 8px 0 0; font-size: 13.5px; }
.mwc-blog-comment-reply a { color: var(--b-green); font-weight: 600; text-decoration: none; }
.mwc-blog-comment-form { margin-top: 26px; }
.mwc-blog-comment-form .comment-reply-title { font-family: "Inter Tight", sans-serif; font-size: 20px; color: var(--b-ink); margin: 0 0 14px; }
.mwc-blog-comment-form textarea, .mwc-blog-form input[type=text], .mwc-blog-form input[type=email], .mwc-blog-form input[type=password], .mwc-blog-form input[type=url], .mwc-blog-comment-form input[type=text], .mwc-blog-comment-form input[type=email], .mwc-blog-comment-form input[type=url] {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--b-line);
  border-radius: 16px;
  background: #fff;
  font: inherit;
  font-size: 15px;
  color: var(--b-ink);
}
.mwc-blog-comment-form textarea:focus, .mwc-blog-form input:focus { outline: 2px solid var(--b-green); outline-offset: 1px; }
.mwc-blog-comment-form .logged-in-as { font-size: 13.5px; color: var(--b-muted); }
.mwc-blog-comment-form .comment-notes, .mwc-blog-comment-form .comment-form-cookies-consent { font-size: 13px; color: var(--b-muted); }
.mwc-blog-join { margin-top: 26px; padding: 30px 32px; border-radius: 24px; background: var(--b-green); color: #fff; }
.mwc-blog-join h3 { font-family: "Inter Tight", sans-serif; font-size: 22px; margin: 0 0 8px; color: #fff; }
.mwc-blog-join p { margin: 0 0 16px; color: rgba(255, 255, 255, .8); }
.mwc-blog-join-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.mwc-blog-join .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }
.mwc-blog-join .btn--ghost:hover { background: rgba(255, 255, 255, .12); }
.mwc-blog-closed { margin-top: 20px; color: var(--b-muted); }

/* ---------- forms: register / log in / account ---------- */
.mwc-blog-auth { max-width: 520px; margin: 0 auto; padding: 34px 36px; border: 1px solid var(--b-line); border-radius: 26px; background: #fff; }
.mwc-blog-auth-title { font-family: "Inter Tight", sans-serif; font-size: 28px; letter-spacing: -.035em; margin: 0 0 8px; color: var(--b-ink); }
.mwc-blog-auth-lead { margin: 0 0 22px; font-size: 15px; }
.mwc-blog-field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 16px; }
.mwc-blog-field label { font-size: 13.5px; font-weight: 600; color: var(--b-ink); }
.mwc-blog-hint { font-size: 12.5px; color: var(--b-muted); }
.mwc-blog-check { display: flex; gap: 8px; margin: 0 0 14px; font-size: 14px; }
.mwc-blog-check label { display: flex; gap: 9px; align-items: flex-start; }
.mwc-blog-hp { position: absolute !important; left: -9999px; }
.mwc-blog-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 22px 0 0; }
.mwc-blog-switch, .mwc-blog-switch-line a { color: var(--b-green); font-weight: 600; font-size: 14px; text-decoration: none; }
.mwc-blog-switch-line { margin: 16px 0 0; font-size: 14px; color: var(--b-muted); }
.mwc-blog-tabs { display: flex; gap: 6px; max-width: 520px; margin: 0 auto 18px; padding: 5px; border-radius: 999px; background: var(--b-bg); }
.mwc-blog-tabs a { flex: 1; text-align: center; padding: 10px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--b-ink-2); text-decoration: none; }
.mwc-blog-tabs a.is-current { background: #fff; color: var(--b-ink); box-shadow: var(--b-shadow); }
.mwc-blog-notice { margin: 0 0 18px; padding: 12px 16px; border-radius: 14px; font-size: 14px; }
.mwc-blog-notice--error { background: #FDECEC; color: #8A2222; }
.mwc-blog-notice--success { background: #EAF6EC; color: #1C4A33; }
.mwc-blog-notice--info { background: var(--b-bg); color: var(--b-ink-2); }
.mwc-blog-details summary { cursor: pointer; font-size: 14px; font-weight: 600; color: var(--b-green); margin: 4px 0 12px; }

.mwc-blog-account { max-width: 940px; margin: 0 auto; }
.mwc-blog-account--out { max-width: 560px; }
.mwc-blog-account-head { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding: 26px 30px; border-radius: 26px; background: var(--b-bg); margin: 0 0 24px; }
.mwc-blog-account-head img { width: 64px; height: 64px; border-radius: 50%; }
.mwc-blog-account-head h2 { font-family: "Inter Tight", sans-serif; font-size: 24px; margin: 0; color: var(--b-ink); }
.mwc-blog-account-head p { margin: 2px 0 0; font-size: 14px; color: var(--b-muted); }
.mwc-blog-account-head .btn { margin-left: auto; }
.mwc-blog-account-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.mwc-blog-card-panel { padding: 26px 28px; border: 1px solid var(--b-line); border-radius: 24px; background: #fff; }
.mwc-blog-card-panel h3 { font-family: "Inter Tight", sans-serif; font-size: 19px; margin: 0 0 16px; color: var(--b-ink); }
.mwc-blog-account-comments { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.mwc-blog-account-comments a { color: var(--b-ink); font-weight: 600; text-decoration: none; }
.mwc-blog-account-comments a:hover { color: var(--b-green); }
.mwc-blog-account-comments span { display: block; font-size: 12.5px; color: var(--b-muted); }
.mwc-blog-account-comments p { margin: 4px 0 0; font-size: 14px; }
.mwc-blog-muted { color: var(--b-muted); }

/* the .btn / .dot styles come from the theme; a plain fallback for other themes */
.mwc-blog .btn, .mwc-blog-auth .btn, .mwc-blog-account .btn, .mwc-blog-comments .btn, .mwc-blog-single .btn, .mwc-blog-comment-form input[type=submit] {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: var(--b-ink);
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.mwc-blog .btn--ghost, .mwc-blog-auth .btn--ghost, .mwc-blog-account .btn--ghost, .mwc-blog-single .btn--ghost { background: transparent; color: var(--b-ink); border: 1px solid var(--b-line); }

@media (max-width: 900px) {
  .mwc-blog-body { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .mwc-blog-aside { position: static; flex-direction: row; flex-wrap: wrap; gap: 20px 40px; }
  .mwc-blog-card--wide { grid-template-columns: minmax(0, 1fr); }
  .mwc-blog-card--wide .mwc-blog-card-media { min-height: 0; aspect-ratio: 16 / 9; }
  .mwc-blog-card--wide .mwc-blog-card-body { padding: 26px 24px 28px; }
}
@media (max-width: 760px) {
  .mwc-blog-grid { grid-template-columns: minmax(0, 1fr); }
  .mwc-blog-toolbar { flex-direction: column; align-items: stretch; }
  .mwc-blog-tools { justify-content: space-between; }
  .mwc-blog-search { flex: 1; }
  .mwc-blog-search input { min-width: 0; width: 100%; }
  .mwc-blog-auth { padding: 26px 22px; }
  .mwc-blog-author { grid-template-columns: 1fr; }
  .mwc-blog-comment-inner { grid-template-columns: 38px 1fr; padding: 16px; }
  .mwc-blog-comment-avatar img { width: 38px; height: 38px; }
  .mwc-blog-comment-list .children { margin-left: 10px; padding-left: 14px; }
  .mwc-blog-account-head { flex-direction: column; align-items: flex-start; }
  .mwc-blog-account-head .btn { margin-left: 0; }
}
