/* Shared business-setting cards: consistent illustrations, spacing and responsive rows. */
.mlf-commercial-settings { padding: clamp(38px, 5vw, 68px) 0; background: #edf3fa; border-top: 1px solid #dce4ef; }
.mlf-commercial-settings .mlf-editorial-inner > h2,
.mlf-commercial-settings .mlf-editorial-copy > h2 { max-width: 940px; margin: 0 0 22px; font-size: clamp(27px, 3vw, 39px); line-height: 1.16; color: #24345b; }
.mlf-commercial-settings .mlf-editorial-inner > .entry-content,
.mlf-commercial-settings .mlf-editorial-copy > .entry-content { max-width: 1000px; font-size: 17px; line-height: 1.8; }
.mlf-commercial-settings .mlf-editorial-inner > .entry-content > p { margin: 0 0 18px; }
.mlf-commercial-settings .mlf-editorial-inner > .entry-content > a,
.mlf-commercial-settings .mlf-editorial-copy > .entry-content > a { display: inline-flex; min-height: 44px; align-items: center; padding: 11px 18px; border-radius: 6px; background: #4054cf; color: #fff; font-weight: 700; font-size: 15px; text-decoration: none; }
.mlf-commercial-settings .mlf-editorial-cards { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; margin-top: 32px; align-items: stretch; }
.mlf-commercial-settings .mlf-editorial-cards > .mlf-editorial-card { grid-column: span 2; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; padding: 23px 21px; align-self: stretch; align-items: start; border: 1px solid #d5e0ee; border-top: 3px solid #4054cf; border-radius: 10px; background: #fff; box-shadow: 0 7px 22px #1c294809; }
.mlf-commercial-settings .mlf-editorial-cards--count-2 > .mlf-editorial-card,
.mlf-commercial-settings .mlf-editorial-cards--count-4 > .mlf-editorial-card { grid-column: span 3; }
.mlf-commercial-settings .mlf-editorial-cards--count-5 > .mlf-editorial-card:nth-last-child(2) { grid-column: 2 / span 2; }
.mlf-commercial-settings .mlf-editorial-cards--count-5 > .mlf-editorial-card:last-child { grid-column: 4 / span 2; }
.mlf-commercial-settings .mlf-editorial-cards[data-mlf-card-count="16"] > .mlf-editorial-card:last-child { grid-column: 3 / span 2; }
.mlf-commercial-settings .mlf-editorial-card-media { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; min-height: 0; margin: 0; background: #f0f3ff; border-radius: 10px; }
.mlf-commercial-settings .mlf-editorial-card-media img { display: block; width: 42px; height: 42px; max-height: none; object-fit: contain; border-radius: 0; }
.mlf-commercial-settings .mlf-editorial-card-body { padding: 0; min-width: 0; }
.mlf-commercial-settings .mlf-editorial-card-body h3 { font-size: 23px; line-height: 1.2; margin: 0 0 12px; }
.mlf-commercial-settings .mlf-editorial-card-body h3 a { text-decoration: none; }
.mlf-commercial-settings .mlf-editorial-card-body h3 a:hover { color: #4054cf; }
.mlf-commercial-settings .mlf-editorial-card-body .entry-content { font-size: 15px; line-height: 1.7; }
.mlf-commercial-settings .mlf-editorial-card-body .entry-content p:last-child { margin-bottom: 0; }
.mlf-commercial-settings a:focus-visible { outline: 3px solid #ff9413; outline-offset: 4px; }
@media (max-width: 1000px) {
  .mlf-commercial-settings .mlf-editorial-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mlf-commercial-settings .mlf-editorial-cards > .mlf-editorial-card,
  .mlf-commercial-settings .mlf-editorial-cards--count-2 > .mlf-editorial-card,
  .mlf-commercial-settings .mlf-editorial-cards--count-4 > .mlf-editorial-card,
  .mlf-commercial-settings .mlf-editorial-cards--count-5 > .mlf-editorial-card:nth-last-child(2),
  .mlf-commercial-settings .mlf-editorial-cards[data-mlf-card-count="16"] > .mlf-editorial-card:last-child { grid-column: auto; }
  .mlf-commercial-settings .mlf-editorial-cards--count-5 > .mlf-editorial-card:last-child { grid-column: 1 / -1; width: calc(50% - 10px); justify-self: center; }
}
@media (max-width: 580px) {
  .mlf-commercial-settings .mlf-editorial-cards { grid-template-columns: 1fr; }
  .mlf-commercial-settings .mlf-editorial-cards > .mlf-editorial-card,
  .mlf-commercial-settings .mlf-editorial-cards--count-2 > .mlf-editorial-card,
  .mlf-commercial-settings .mlf-editorial-cards--count-4 > .mlf-editorial-card,
  .mlf-commercial-settings .mlf-editorial-cards--count-5 > .mlf-editorial-card:nth-last-child(2),
  .mlf-commercial-settings .mlf-editorial-cards--count-5 > .mlf-editorial-card:last-child,
  .mlf-commercial-settings .mlf-editorial-cards[data-mlf-card-count="16"] > .mlf-editorial-card:last-child { grid-column: auto; width: auto; justify-self: stretch; padding: 22px 20px; }
}
