/* SEO portfolio: deliberately scoped; does not alter existing case layouts. */
.mkt-projects {
  padding: 72px 0 80px;
  background: #f7f8fa;
  color: #152235;
  scroll-margin-top: 28px;
}
.mkt-projects > .mkt-projects__inner {
  width: min(calc(100% - 40px), 1160px);
  margin: 0 auto;
}
.mkt-projects .mkt-projects__eyebrow {
  margin: 0 0 10px;
  color: #b73577;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.mkt-projects h2.mkt-projects__title {
  margin: 0;
  color: #152235;
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: uppercase;
}
.mkt-projects .mkt-projects__intro {
  margin: 14px 0 28px;
  max-width: 630px;
  color: #535d6a;
  font-size: 17px;
  line-height: 1.55;
}
.mkt-projects__tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 0 0 24px;
}
.mkt-projects__search {
  position: relative;
  display: flex;
  align-items: center;
  width: min(100%, 370px);
}
.mkt-projects__search-icon {
  position: absolute;
  left: 14px;
  width: 18px;
  height: 18px;
  color: #657080;
  pointer-events: none;
}
.mkt-projects__search input {
  width: 100%;
  height: 46px;
  padding: 10px 14px 10px 42px;
  border: 1px solid #d5dbe1;
  border-radius: 8px;
  background: #fff;
  color: #152235;
  font: inherit;
  font-size: 14px;
  appearance: none;
}
.mkt-projects__search input::placeholder { color: #657080; opacity: 1; }
.mkt-projects__search input:focus-visible { outline: 3px solid #36a8e0; outline-offset: 3px; }
.mkt-projects__count { margin: 0; color: #657080; font-size: 14px; }
.mkt-projects .mkt-projects__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
}
.mkt-projects .mkt-project {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  padding: 20px;
  border: 1px solid #e2e6ea;
  border-radius: 0 22px 0 22px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(21, 34, 53, .035);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.mkt-projects .mkt-project:has(a):hover {
  border-color: #cf4b8d;
  box-shadow: 0 8px 22px rgba(21, 34, 53, .09);
  transform: translateY(-3px);
}
.mkt-projects .mkt-project:focus-within { outline: 3px solid #36a8e0; outline-offset: 3px; }
.mkt-projects .mkt-project__logo {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 88px;
  margin: 0 0 20px;
  padding: 6px 4px;
}
.mkt-projects .mkt-project__logo img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 72px;
  object-fit: contain;
}
.mkt-projects .mkt-project__logo--dark { background: #174577; border-radius: 8px; padding: 14px; }
.mkt-projects .mkt-project__wordmark {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 88px;
  margin: 0 0 20px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  color: #152235;
}
.mkt-projects h3.mkt-project__name {
  margin: 0 0 5px;
  color: #152235;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  overflow-wrap: anywhere;
}
.mkt-projects .mkt-project__wordmark--compact { font-size: 19px; }
.mkt-projects .mkt-project__domain {
  margin: auto 0 0;
  padding-top: 3px;
  color: #657080;
  font-size: 12px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.mkt-project__domain a { text-decoration: none; color: inherit; }
.mkt-project__domain a::after { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.mkt-project__domain a::before { content: '↗'; float: right; padding-left: 6px; color: #b73577; font-size: 18px; line-height: 1.1; }
.mkt-project__domain a:focus-visible { outline: none; }
.mkt-projects .mkt-project__note { margin: 0 0 5px; color: #657080; font-size: 12px; }
.mkt-projects__empty { padding: 32px 0 8px; margin: 0; color: #535d6a; }
.mkt-projects [hidden] { display: none !important; }
/* Keep each image/title/link directly selectable in the block editor. */
.editor-styles-wrapper .mkt-project__domain a::after { display: none; }
.editor-styles-wrapper .mkt-projects .mkt-project:hover { transform: none; }
@media (max-width: 1023px) {
  .mkt-projects .mkt-projects__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .mkt-projects { padding: 48px 0; }
  .mkt-projects h2.mkt-projects__title { font-size: 28px; }
  .mkt-projects .mkt-projects__intro { font-size: 16px; }
  .mkt-projects .mkt-projects__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .mkt-projects .mkt-project { padding: 14px; border-radius: 0 16px 0 16px; }
  .mkt-projects .mkt-project__logo, .mkt-projects .mkt-project__wordmark { height: 72px; margin-bottom: 15px; }
  .mkt-projects .mkt-project__logo img { max-height: 58px; }
  .mkt-projects h3.mkt-project__name { font-size: 14px; }
  .mkt-projects .mkt-project__wordmark { font-size: 19px; }
  .mkt-projects .mkt-project__wordmark--compact { font-size: 13px; }
  .mkt-projects__search { width: 100%; }
}
@media (max-width: 359px) {
  .mkt-projects .mkt-projects__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .mkt-projects .mkt-project { transition: none; }
  .mkt-projects .mkt-project:has(a):hover { transform: none; }
}
