/* [project]/apps/mercato/src/app/blog/blog.css [app-client] (css) */
:root {
  --lightningcss-light: initial;
  --lightningcss-dark: ;
  color-scheme: light;
  --ink: #15171a;
  --muted: #6e7278;
  --line: #d8dce1;
  --blue: #0877d1;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  background: #fff;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, SF Pro Display, SF Pro Text, Helvetica Neue, Arial, sans-serif;
}

a {
  color: inherit;
}

.page {
  flex-direction: column;
  width: 100%;
  max-width: 1440px;
  min-height: 100dvh;
  margin: 0 auto;
  padding: 54px clamp(24px, 5vw, 76px) 56px;
  display: flex;
}

.topline {
  border-bottom: 1px solid var(--line);
  align-items: center;
  padding-bottom: 16px;
  display: flex;
}

.back {
  color: #535b65;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.back:hover {
  color: var(--blue);
}

.blog-head {
  padding: clamp(40px, 7vw, 84px) 0 clamp(26px, 4vw, 44px);
}

.blog-heading-row {
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  display: flex;
}

.heading {
  letter-spacing: -.06em;
  align-items: center;
  gap: 11px;
  margin: 0;
  font-size: clamp(38px, 6vw, 62px);
  line-height: .98;
  display: flex;
}

.heading-dot {
  background: linear-gradient(135deg, #16a4f5, #096dd0);
  border-radius: 50%;
  width: 9px;
  height: 9px;
  box-shadow: 0 0 0 5px #edf6ff;
}

.contact-link {
  min-height: 34px;
  color: var(--blue);
  white-space: nowrap;
  border: 1px solid #d5e6f5;
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
  display: inline-flex;
}

.contact-link:hover {
  background: #eef8ff;
  border-color: #83c7f7;
}

.intro {
  color: #46515d;
  letter-spacing: -.025em;
  max-width: 640px;
  margin: 24px 0 0;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.48;
}

.posts {
  border-top: 1px solid var(--line);
  margin-bottom: 58px;
}

.post {
  border-bottom: 1px solid var(--line);
  grid-template-columns: 224px minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(22px, 3vw, 38px);
  padding: clamp(28px, 4vw, 46px) 0;
  display: grid;
}

.post-visual {
  object-fit: cover;
  border-radius: 18px;
  width: 224px;
  height: 132px;
  display: block;
  box-shadow: 0 8px 24px #111a261a;
}

.post-meta, .article-meta {
  color: var(--blue);
  letter-spacing: .075em;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 760;
}

.post h2 {
  letter-spacing: -.048em;
  max-width: 850px;
  margin: 12px 0 0;
  font-size: clamp(25px, 4vw, 42px);
  line-height: 1.06;
}

.post h2 a {
  text-decoration: none;
}

.post h2 a:hover {
  color: var(--blue);
}

.post p {
  color: #65717d;
  max-width: 720px;
  margin: 14px 0 0;
  font-size: 17px;
  line-height: 1.55;
}

.read {
  min-height: 32px;
  color: var(--blue);
  white-space: nowrap;
  border: 1px solid #d5e6f5;
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  padding: 0 13px;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
  transition: background-color .15s, border-color .15s;
  display: inline-flex;
}

.read:hover {
  background: #eef8ff;
  border-color: #83c7f7;
}

.footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: auto;
  padding-top: 24px;
  font-size: 14px;
  display: flex;
}

.footer strong {
  color: var(--ink);
}

.footer a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}

.footer-links {
  flex-wrap: wrap;
  gap: 18px;
  display: flex;
}

.article {
  max-width: 970px;
  padding: clamp(42px, 7vw, 84px) 0 58px;
}

.article h1 {
  letter-spacing: -.06em;
  max-width: 960px;
  margin: 14px 0 0;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.01;
}

.lede {
  color: #46515d;
  letter-spacing: -.03em;
  max-width: 780px;
  margin: 30px 0 0;
  font-size: clamp(20px, 2.4vw, 27px);
  line-height: 1.45;
}

.article-visual {
  width: 100%;
  margin: clamp(34px, 5vw, 54px) 0 0;
}

.article-visual img {
  object-fit: cover;
  border-radius: 26px;
  width: 100%;
  height: clamp(220px, 38vw, 440px);
  display: block;
  box-shadow: 0 14px 38px #111a261f;
}

.article-body {
  max-width: 760px;
  margin-top: clamp(42px, 7vw, 74px);
}

.article-body h2 {
  color: var(--blue);
  letter-spacing: -.045em;
  margin: 46px 0 16px;
  font-size: clamp(26px, 3.5vw, 36px);
  line-height: 1.1;
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body p {
  color: #414c57;
  letter-spacing: -.018em;
  margin: 0;
  font-size: 18px;
  line-height: 1.68;
}

.article-body p + p {
  margin-top: 20px;
}

.article-note {
  border-top: 1px solid var(--line);
  color: #64707c;
  margin-top: 42px;
  padding-top: 22px;
  font-size: 16px;
  line-height: 1.6;
}

.article-note a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}

.contact-page {
  max-width: 1080px;
  padding: clamp(42px, 7vw, 84px) 0 58px;
}

.contact-layout {
  grid-template-columns: minmax(0, .86fr) minmax(320px, .74fr);
  gap: clamp(44px, 9vw, 128px);
  margin-top: clamp(42px, 7vw, 76px);
  display: grid;
}

.contact-copy h1 {
  letter-spacing: -.06em;
  margin: 0;
  font-size: clamp(38px, 6vw, 62px);
  line-height: .98;
}

.contact-copy p {
  color: #46515d;
  letter-spacing: -.025em;
  max-width: 490px;
  margin: 24px 0 0;
  font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.5;
}

.contact-note {
  color: var(--muted) !important;
  margin-top: 24px !important;
  font-size: 16px !important;
}

.contact-form {
  padding-top: 2px;
}

.field {
  border-bottom: 1px solid var(--line);
  gap: 9px;
  padding: 0 0 22px;
  display: grid;
}

.field + .field {
  padding-top: 22px;
}

.field label {
  color: #46515d;
  font-size: 14px;
  font-weight: 720;
}

.field input {
  width: 100%;
  color: var(--ink);
  font: inherit;
  background: none;
  border: 0;
  outline: 0;
  padding: 4px 0;
  font-size: 19px;
}

.field input::placeholder {
  color: #a1a7af;
}

.field small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.challenge {
  align-items: end;
  gap: 16px;
  padding-top: 22px;
  display: flex;
}

.challenge .field {
  flex: 1;
}

.challenge-badge {
  min-height: 38px;
  color: var(--blue);
  white-space: nowrap;
  background: #eef8ff;
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 760;
  display: inline-flex;
}

.contact-submit {
  color: #fff;
  min-height: 38px;
  font: inherit;
  cursor: pointer;
  background: linear-gradient(#1596ff 0%, #0a84ff 100%);
  border: 0;
  border-radius: 999px;
  margin-top: 28px;
  padding: 0 17px;
  font-size: 14px;
  font-weight: 750;
  box-shadow: inset 0 1px #fff3, 0 2px 5px #0056b93d;
}

.contact-submit:hover {
  background: linear-gradient(#38a8ff 0%, #0878ec 100%);
}

.form-status {
  color: #0877d1;
  min-height: 24px;
  margin: 15px 0 0;
  font-size: 14px;
  line-height: 1.5;
}

.form-status[hidden] {
  display: none;
}

.form-status.is-error {
  color: #c06b00;
}

@media (max-width: 760px) {
  .post {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .post-visual {
    width: 100%;
    height: 190px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 650px) {
  .page {
    padding: 31px 20px 42px;
  }

  .blog-head {
    padding-top: 44px;
  }

  .blog-heading-row {
    align-items: flex-start;
  }

  .contact-link {
    min-height: 32px;
    padding: 0 12px;
  }

  .post h2 {
    font-size: 29px;
  }

  .post p {
    font-size: 16px;
  }

  .read {
    width: fit-content;
  }

  .article {
    padding-top: 46px;
  }

  .article h1 {
    font-size: 39px;
  }

  .lede {
    font-size: 20px;
  }

  .article-visual img {
    border-radius: 19px;
    height: 220px;
  }

  .article-body p {
    font-size: 17px;
  }

  .challenge {
    flex-direction: column;
    align-items: center;
  }

  .challenge .field {
    width: 100%;
  }

  .challenge-badge {
    align-self: flex-start;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, :before, :after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

.related {
  padding-top: clamp(38px, 5vw, 62px);
}

.related .features-title {
  color: var(--blue);
  letter-spacing: -.04em;
  align-items: center;
  gap: 16px;
  margin: 0 0 25px;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  line-height: 1;
  display: flex;
}

.related .features-title:after {
  content: "";
  background: #e1e9f0;
  flex: 1;
  height: 1px;
}

.related .features {
  margin: 0;
  padding: 0;
  list-style: none;
}

.related .features li {
  color: #435260;
  padding: 0 0 13px 48px;
  font-size: 17px;
  line-height: 1.48;
  position: relative;
}

.related .features li + li {
  padding-top: 13px;
}

.related .features li:before {
  color: #0877d1;
  content: "✓";
  text-align: center;
  background: #fff;
  border: 1.5px solid #1389eb;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  font-size: 15px;
  font-weight: 800;
  line-height: 26px;
  position: absolute;
  top: 0;
  left: 0;
}

.related .features li + li:before {
  top: 13px;
}

.related .features a {
  color: inherit;
  text-decoration: none;
}

.related .features a:hover {
  color: var(--blue);
}

.article-body blockquote {
  border-left: 3px solid var(--blue);
  color: #46515d;
  margin: 26px 0;
  padding: 4px 0 4px 22px;
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.5;
}

.post--no-visual {
  grid-template-columns: minmax(0, 1fr) auto;
}

@media (max-width: 720px) {
  .post, .post--no-visual {
    grid-template-columns: minmax(0, 1fr);
  }
}

