/* Digital Marketing page: tablet and mobile only (desktop rules are untouched).
   The sections below share their markup and classes with the Website page, so this file starts from the
   Website page's own responsive type and spacing rules (website-responsive-type.css and
   website-responsive-space.css, desktop blocks left out) and then adds fixes for the Digital-only sections. */

/* ---- type: copied from website-responsive-type.css ---- */
@media (max-width: 1199px) {
  /* Wrapped section headings must grow naturally at phone/tablet widths.
     Older component sizing must not crop their last line. */
  body.service-page :is(
    .ect-why__heading,
    .ect-industries__heading
  ) {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    white-space: normal !important;
    overflow-wrap: break-word;
  }

  body.service-page :is(
    .ect-why__content,
    .ect-industries__header
  ) {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  body.service-page :is(
    .website-benefits__intro h2,
    .ect-key-features__heading,
    .web-solutions-section .header h2,
    .tb-heading,
    .ect-why__heading,
    .ect-industries__heading,
    .work__title,
    .ect-consult__heading,
    .faq-title
  ) {
    font-family: "Montserrat", "Montserrat Variable", sans-serif !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.02em;
  }

  body.service-page :is(
    .website-benefits__intro p,
    .ect-key-features__intro,
    .web-solutions-section .header > p,
    .tb-tagline,
    .ect-why__lead,
    .ect-industries__intro,
    .work__intro,
    .ect-consult__text,
    .faq-sub
  ) {
    font-family: "Montserrat", "Montserrat Variable", sans-serif;
    font-size: 15px !important;
    font-weight: 400;
    line-height: 1.55 !important;
  }

  body.service-page :is(
    .website-benefits__card h4,
    .ect-key-features__title,
    .ect-why__title,
    .ect-industries__title
  ) {
    font-family: "Montserrat", "Montserrat Variable", sans-serif;
    font-size: 22px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    letter-spacing: -0.01em;
  }

  body.service-page :is(
    .website-benefits__card p,
    .website-benefits__card:nth-child(4) p,
    .ect-key-features__text,
    .ect-why__text,
    .ect-industries__text,
    .web-solutions-section .cell p,
    .faq-a-inner p
  ) {
    font-size: 15px !important;
    font-weight: 400;
    line-height: 1.55 !important;
  }

  body.service-page .web-solutions-section .cell h3 {
    font-size: 20px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
  }

  body.service-page :is(
    .website-benefits__cta,
    .ect-key-features__cta,
    .ect-why__cta,
    .ect-consult__cta,
    .work .btn-view
  ) {
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
  }

  body.service-page :is(.faq-q) {
    font-size: 15px !important;
    font-weight: 600;
    line-height: 1.4 !important;
  }
}

@media (max-width: 640px) {
  body.service-page .website-figma-hero .website-figma-hero__title {
    font-size: 30px !important;
    font-weight: 700 !important;
    line-height: 1.18 !important;
    letter-spacing: -0.025em;
  }

  body.service-page .website-figma-hero__subtitle {
    font-size: 14px !important;
    font-weight: 400;
    line-height: 1.55 !important;
  }

  body.service-page :is(
    .website-benefits__intro h2,
    .ect-key-features__heading,
    .web-solutions-section .header h2,
    .tb-heading,
    .ect-why__heading,
    .ect-industries__heading,
    .work__title,
    .ect-consult__heading,
    .faq-title
  ) {
    font-size: 26px !important;
    line-height: 1.18 !important;
  }

  body.service-page :is(
    .website-benefits__intro p,
    .ect-key-features__intro,
    .web-solutions-section .header > p,
    .tb-tagline,
    .ect-why__lead,
    .ect-industries__intro,
    .work__intro,
    .ect-consult__text,
    .faq-sub
  ) {
    font-size: 14px !important;
    line-height: 1.55 !important;
  }

  body.service-page :is(
    .website-benefits__card h4,
    .ect-key-features__title,
    .ect-why__title,
    .ect-industries__title,
    .web-solutions-section .cell h3
  ) {
    font-size: 20px !important;
    line-height: 1.25 !important;
  }

  body.service-page :is(
    .website-benefits__card p,
    .website-benefits__card:nth-child(4) p,
    .ect-key-features__text,
    .ect-why__text,
    .ect-industries__text,
    .web-solutions-section .cell p,
    .faq-a-inner p
  ) {
    font-size: 14px !important;
    line-height: 1.55 !important;
  }

  body.service-page :is(.faq-q) {
    font-size: 14px !important;
  }
}

/* ---- vertical rhythm: copied from website-responsive-space.css (phone and tablet blocks) ---- */
@media (max-width: 640px) {
  body.service-page .website-figma-hero {
    margin-bottom: 0;
  }

  body.service-page .website-benefits {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  body.service-page .ect-key-features,
  body.service-page .ect-industries,
  body.service-page .ect-consult {
    margin-top: 0;
    margin-bottom: 48px;
  }

  body.service-page .web-solutions-section {
    margin: 0;
    padding-top: 0;
    padding-bottom: 48px;
  }

  body.service-page .tb-section {
    margin-top: 0;
    margin-bottom: 48px;
    padding-top: 0;
  }

  body.service-page .ect-why__scene {
    padding-top: 32px;
    padding-bottom: 48px;
  }

  body.service-page .ect-industries {
    padding-top: 32px;
  }

  body.service-page .work {
    margin: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 48px !important;
  }

  body.service-page .faq-section {
    margin-top: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 48px !important;
  }

  /* The consultation owns the full gap before FAQ. Do not stack the
     wrapper and FAQ padding on top of its 48px bottom margin. */
  body.service-page .tb-section-wrapper {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
}

@media (min-width: 641px) and (max-width: 1199px) {
  body.service-page .website-figma-hero {
    margin-bottom: 0;
  }

  body.service-page .website-benefits {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  body.service-page .ect-key-features,
  body.service-page .ect-industries,
  body.service-page .ect-consult {
    margin-top: 0;
    margin-bottom: 64px;
  }

  body.service-page .web-solutions-section {
    margin: 0;
    padding-top: 0;
    padding-bottom: 64px;
  }

  body.service-page .tb-section {
    margin-top: 0;
    margin-bottom: 64px;
    padding-top: 0;
  }

  body.service-page .ect-why__scene {
    padding-top: 40px;
    padding-bottom: 64px;
  }

  body.service-page .ect-industries {
    padding-top: 40px;
  }

  body.service-page .work {
    margin: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 64px !important;
  }

  body.service-page .faq-section {
    margin-top: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 64px !important;
  }

  /* The consultation owns the full gap before FAQ. Do not stack the
     wrapper and FAQ padding on top of its 64px bottom margin. */
  body.service-page .tb-section-wrapper {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
}

/* ================================================================================================
   Digital-only sections: each block below copies the tablet/mobile rules of the matching section on the
   Website or HR page (selectors swapped for the Digital page ids and classes).
   ================================================================================================ */

/* ---- Hero = Website hero (website.css + website-responsive-type.css) ---- */
@media (max-width: 1199px) {
  body.service-page .hero {
    width: calc(100% - 48px);
    max-width: 1240px;
    margin: 112px auto 0;
    padding: 0;
    text-align: center;
  }

  body.service-page .hero .hero__title {
    min-height: 0;
    font-size: clamp(28px, 4.2vw, 40px) !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-align: center !important;
  }

  body.service-page .hero .hero__break {
    display: block;
  }

  body.service-page .hero .hero__subtitle {
    width: min(680px, 100%);
    height: auto;
    margin-right: auto;
    margin-left: auto;
    font-size: 16px;
    line-height: 1.5 !important;
    text-align: center;
  }

  body.service-page .hero .hero__image-wrap {
    margin-top: 28px;
    border-radius: 20px;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 640px) {
  body.service-page .hero {
    width: calc(100% - 32px);
    margin-top: 94px;
  }

  body.service-page .hero .hero__title {
    font-size: 30px !important;
    line-height: 1.18 !important;
    letter-spacing: -0.025em;
  }

  body.service-page .hero .hero__break {
    display: none;
  }

  body.service-page .hero .hero__subtitle {
    margin-top: 16px;
    font-size: 14px !important;
    line-height: 1.55 !important;
  }

  body.service-page .hero .hero__cta {
    margin-top: 20px;
  }

  body.service-page .hero .hero__image-wrap {
    aspect-ratio: 4 / 3;
    margin-top: 28px;
    border-radius: 16px;
  }
}

@media (max-width: 380px) {
  body.service-page .hero .hero__title {
    font-size: 27px !important;
  }
}

/* ---- Challenges wheel = Website "Why Does Your Business Need a Professional Website?" ---- */
#digital-challenges .website-benefits__cta--after {
  display: none;
}

@media (max-width: 1024px) {
  #digital-challenges .website-benefits__intro {
    background: #fff;
  }

  #digital-challenges .website-benefits__number {
    display: none;
  }

  #digital-challenges .website-benefits__intro {
    text-align: left;
    margin-bottom: 28px;
  }

  #digital-challenges .website-benefits__intro h2,
  #digital-challenges .website-benefits__intro p {
    text-align: left;
    margin-left: 0;
  }

  #digital-challenges .website-benefits__intro .website-benefits__cta {
    display: none;
  }

  #digital-challenges .website-benefits__cta--after {
    display: inline-flex;
    align-self: flex-start;
    min-height: 48px;
    margin: 8px 0 0 max(20px, calc((100% - 700px) / 2));
    padding: 12px 22px;
    font-size: 15px;
    line-height: 1.2;
  }

  #digital-challenges .website-benefits__card {
    height: 360px;
    min-height: 360px;
    scroll-snap-align: start;
  }
}

@media (min-width: 601px) and (max-width: 1024px) {
  #digital-challenges .website-benefits__orbit {
    padding-inline: max(20px, calc((100% - 700px) / 2));
    scroll-padding-inline: max(20px, calc((100% - 700px) / 2));
  }
}

@media (max-width: 600px) {
  #digital-challenges .website-benefits__intro {
    margin-bottom: 24px;
  }

  #digital-challenges .website-benefits__cta--after {
    margin-left: 20px;
  }

  #digital-challenges .website-benefits__orbit {
    padding-inline: 20px;
    scroll-padding-inline: 20px;
  }

  #digital-challenges .website-benefits__card {
    height: 400px;
    min-height: 400px;
  }
}

@media (max-width: 1199px) {
  body.service-page #digital-challenges .website-benefits__cta,
  body.service-page #digital-challenges .website-benefits__cta--after {
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
  }
}

/* ---- Industries = HR "Building a Complete HR Lifecycle" (hr-responsive-system.css) ---- */
@media (max-width: 1199px) {
  body.service-page #digital-industries {
    display: flex;
    flex-direction: column;
    width: calc(100% - 48px);
    max-width: 1240px;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  body.service-page #digital-industries .ect-dm-ind__header {
    display: contents;
  }

  body.service-page #digital-industries .ect-dm-ind__heading {
    order: 1;
    margin-bottom: 24px !important;
    font-size: 32px !important;
    line-height: 1.2 !important;
  }

  body.service-page #digital-industries .ect-dm-ind__grid {
    order: 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  body.service-page #digital-industries .ect-dm-ind__intro {
    order: 3;
    width: auto;
    max-width: 560px;
    margin: 24px 0 0;
  }

  body.service-page #digital-industries .ect-dm-ind__image {
    display: none;
  }

  body.service-page #digital-industries :is(.ect-dm-ind__card, .ect-dm-ind__card--wide) {
    grid-column: auto;
  }

  body.service-page #digital-industries :is(.ect-dm-ind__intro, .ect-dm-ind__text) {
    font-size: 15px !important;
    line-height: 1.55 !important;
  }

  body.service-page #digital-industries .ect-dm-ind__title {
    font-size: 22px !important;
    line-height: 1.25 !important;
  }
}

@media (max-width: 640px) {
  body.service-page #digital-industries {
    width: calc(100% - 32px);
  }

  body.service-page #digital-industries .ect-dm-ind__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  body.service-page #digital-industries .ect-dm-ind__card {
    min-height: 0;
    gap: 28px;
  }

  body.service-page #digital-industries .ect-dm-ind__heading {
    font-size: 26px !important;
    line-height: 1.18 !important;
  }

  body.service-page #digital-industries :is(.ect-dm-ind__intro, .ect-dm-ind__text) {
    font-size: 14px !important;
  }

  body.service-page #digital-industries .ect-dm-ind__title {
    font-size: 20px !important;
  }
}

/* ---- Vertical rhythm for the Digital-only sections: each section owns the space after it, 64px on a tablet
   and 48px on a phone, exactly like the Website sections above and below them. ---- */
@media (max-width: 1199px) {
  body.service-page .hero {
    padding-bottom: 0 !important;
  }

  body.service-page :is(.ect-dm-what, .ect-dm-help, #digital-industries, .ect-dm-cta) {
    margin-top: 0 !important;
    margin-bottom: 64px !important;
  }

  body.service-page .tb-section {
    padding-bottom: 0 !important;
  }
}

@media (max-width: 640px) {
  body.service-page :is(.ect-dm-what, .ect-dm-help, #digital-industries, .ect-dm-cta) {
    margin-bottom: 48px !important;
  }
}

/* ---- Hero: the desktop title is kept on one line per <br> (white-space: nowrap) and the line break is forced
   visible, so on a phone each line ran past the screen edge and was cut off. The Website hero lets the title
   wrap and drops the break on a phone; do the same here. ---- */
@media (max-width: 1199px) {
  body.service-page .hero .hero__title {
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: break-word;
  }
}

@media (max-width: 640px) {
  body.service-page .hero .hero__break {
    display: none !important;
  }
}

/* ================================================================================================
   "Our Digital Marketing Services for Business Growth" = Website "Our Website Development Solutions".
   Tablet and mobile only. Every rule is scoped to #digital-services, so no other section (here or on
   another page) is affected. Values are copied from website-responsive-type.css, website-responsive-space.css
   and website-solutions.css.
   ================================================================================================ */
@media (max-width: 1199px) {
  /* type */
  body.service-page #digital-services .ect-web-solutions__heading {
    font-family: "Montserrat", "Montserrat Variable", sans-serif !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.02em;
  }

  body.service-page #digital-services .ect-web-solutions__intro {
    margin-top: 8px;
    font-family: "Montserrat", "Montserrat Variable", sans-serif;
    font-size: 15px !important;
    font-weight: 400;
    line-height: 1.55 !important;
  }

  body.service-page #digital-services .ect-web-solutions__tab-label {
    font-size: 15px !important;
    font-weight: 600;
    line-height: 1.4 !important;
  }

  body.service-page #digital-services .ect-web-solutions__content-title {
    font-family: "Montserrat", "Montserrat Variable", sans-serif;
    font-size: 22px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    letter-spacing: -0.01em;
  }

  /* spacing: the section owns the 64px after it */
  body.service-page #digital-services {
    margin-top: 0;
    margin-bottom: 64px;
  }

  /* layout */
  body.service-page #digital-services .ect-web-solutions__controls {
    display: none !important;
  }

  body.service-page #digital-services .ect-web-solutions__content {
    display: contents;
  }

  body.service-page #digital-services .ect-web-solutions__panel {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    grid-template-rows: repeat(3, auto);
    align-self: start;
    align-items: start;
    gap: 12px 24px;
    padding: 24px;
    min-height: 0;
  }

  body.service-page #digital-services .ect-web-solutions__media {
    position: static !important;
    grid-column: 1;
    grid-row: 1 / 4;
    width: 100% !important;
    height: 100% !important;
    min-height: 300px;
    aspect-ratio: auto !important;
    margin: 0 !important;
  }

  body.service-page #digital-services :is(.ect-web-solutions__content-title, .ect-web-solutions__description, .ect-web-solutions__cta) {
    position: static !important;
    width: auto !important;
    min-width: 0;
    height: auto !important;
    margin: 0 !important;
    order: 0;
  }

  body.service-page #digital-services .ect-web-solutions__content-title { grid-column: 2; grid-row: 1; }
  body.service-page #digital-services .ect-web-solutions__description { grid-column: 2; grid-row: 2; font-size: 14px !important; line-height: 1.55 !important; }
  body.service-page #digital-services .ect-web-solutions__cta { grid-column: 2; grid-row: 3; justify-self: start; font-size: 14px !important; font-weight: 600 !important; line-height: 1.25 !important; }
}

@media (max-width: 640px) {
  body.service-page #digital-services {
    margin-bottom: 48px;
  }

  body.service-page #digital-services .ect-web-solutions__heading,
  body.service-page #digital-services .ect-web-solutions__header .ect-web-solutions__heading {
    font-size: 26px !important;
    font-weight: 700 !important;
    line-height: 1.12 !important;
  }

  body.service-page #digital-services .ect-web-solutions__intro {
    font-size: 14px !important;
  }

  body.service-page #digital-services .ect-web-solutions__tab-label {
    font-size: 14px !important;
  }

  body.service-page #digital-services .ect-web-solutions__content-title {
    font-size: 20px !important;
  }

  body.service-page #digital-services .ect-web-solutions__panel {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    gap: 12px;
  }

  body.service-page #digital-services :is(.ect-web-solutions__media, .ect-web-solutions__content-title, .ect-web-solutions__description, .ect-web-solutions__cta) {
    grid-column: 1;
    grid-row: auto;
    order: 0;
  }

  body.service-page #digital-services .ect-web-solutions__media {
    height: auto !important;
    min-height: 0;
    aspect-ratio: 16 / 10 !important;
  }

  body.service-page #digital-services .ect-web-solutions__description {
    font-size: 14px !important;
  }
}

/* Services tabs: digital.css (touch widths) shows EVERY card with
   "body.digital-page .ect-web-solutions__panel { display: grid !important }", which cancels the rule above it
   that hides the cards that are not selected, so all 8 cards were stacked one below another. Show only the
   selected card, as the Website section does. */
@media (max-width: 1199px) {
  body.service-page.digital-page #digital-services .ect-web-solutions__panel:not(.is-active) {
    display: none !important;
  }
}

/* ECT Work ("Turning Ideas into Business Success") cards: smaller on tablet and mobile. They kept the desktop
   397px width on a tablet and 88% of the screen on a phone. Sizes follow the Website page's work cards
   (320px wide on a tablet, about 287px on a phone, same shape). */
@media (max-width: 1199px) {
  body.service-page .work .work__grid {
    gap: 16px;
  }
}

@media (min-width: 641px) and (max-width: 1199px) {
  body.service-page .work .card {
    flex: 0 0 clamp(280px, 42vw, 320px);
  }
}

@media (max-width: 640px) {
  body.service-page .work .card {
    flex: 0 0 min(287px, 82vw);
  }
}

/* ================================================================================================
   "Building Digital Growth Through Strategy & Creativity" - tablet and mobile only.
   Layout: heading and paragraph left-aligned on top, then the six pictures, then the button under the
   pictures (left-aligned).
   - Tablet: pictures in a 3 x 2 grid.
   - Phone: pictures in 2 columns (the right column sits a little lower); the button is full width.
   The pictures are two separate columns and the text block is a third element in the page markup, so the
   text block is "unwrapped" (display: contents) and its three parts are ordered around the pictures; no
   markup change, desktop untouched. The section also gets the same 64px / 48px of space above and below as
   every other section (it had none under the hero).
   ================================================================================================ */
@media (max-width: 1199px) {
  body.service-page .ect-dm-growth {
    margin-top: 64px !important;
    margin-bottom: 64px !important;
  }
}

@media (max-width: 640px) {
  body.service-page .ect-dm-growth {
    margin-top: 48px !important;
    margin-bottom: 48px !important;
  }
}

@media (max-width: 1100px) {
  body.service-page .ect-dm-growth {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
    overflow: visible;
  }

  body.service-page .ect-dm-growth__center {
    display: contents;
  }

  body.service-page .ect-dm-growth .ect-dm-growth__heading,
  body.service-page .ect-dm-growth .ect-dm-growth__text {
    grid-column: 1 / -1;
    width: 100%;
    max-width: none;
    margin: 0;
    text-align: left;
  }

  body.service-page .ect-dm-growth .ect-dm-growth__heading {
    order: -2;
  }

  body.service-page .ect-dm-growth .ect-dm-growth__text {
    order: -1;
    max-width: 680px;
    margin-bottom: 8px;
  }

  body.service-page .ect-dm-growth .ect-dm-growth__cta {
    grid-column: 1 / -1;
    justify-self: start;
    order: 10;
    margin: 8px 0 0;
  }

  body.service-page .ect-dm-growth__col,
  body.service-page .ect-dm-growth__col--right {
    display: contents;
  }

  body.service-page .ect-dm-growth__card,
  body.service-page .ect-dm-growth__col--right .ect-dm-growth__card {
    position: relative;
    top: auto;
    flex: none;
    width: auto;
    max-width: none;
    height: auto;
    margin: 0 !important;
    aspect-ratio: 246 / 300;
    transform: none;
  }
}

@media (max-width: 560px) {
  body.service-page .ect-dm-growth {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  body.service-page .ect-dm-growth .ect-dm-growth__text {
    max-width: none;
  }

  body.service-page .ect-dm-growth .ect-dm-growth__cta {
    justify-self: stretch;
    width: 100%;
    margin-top: 30px;
  }

  body.service-page .ect-dm-growth__card,
  body.service-page .ect-dm-growth__col--right .ect-dm-growth__card {
    aspect-ratio: 171 / 210;
  }

  /* pictures run left, right, left, right ... (they sit in two columns in the markup) */
  body.service-page .ect-dm-growth__col--left .ect-dm-growth__card:nth-child(1) { order: 1; }
  body.service-page .ect-dm-growth__col--right .ect-dm-growth__card:nth-child(1) { order: 2; }
  body.service-page .ect-dm-growth__col--left .ect-dm-growth__card:nth-child(2) { order: 3; }
  body.service-page .ect-dm-growth__col--right .ect-dm-growth__card:nth-child(2) { order: 4; }
  body.service-page .ect-dm-growth__col--left .ect-dm-growth__card:nth-child(3) { order: 5; }
  body.service-page .ect-dm-growth__col--right .ect-dm-growth__card:nth-child(3) { order: 6; }

  body.service-page .ect-dm-growth__col--right .ect-dm-growth__card {
    transform: translateY(22px);
  }
}

/* ================================================================================================
   "What Are Digital Marketing Services and How Do They Work?" - tablet and mobile only (900px and below).
   The two cards were stacked one below the other; now they sit in one row that you swipe sideways, the
   same pattern as the other swipe sections: the next card peeks in at the edge and each card snaps to the
   left edge. Above 900px the two cards stay side by side as before (desktop is untouched).
   ================================================================================================ */
@media (max-width: 900px) {
  body.service-page .ect-dm-what .ect-dm-what__grid {
    display: flex;
    grid-template-columns: none;
    gap: 16px;
    padding-bottom: 4px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  body.service-page .ect-dm-what .ect-dm-what__grid::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  body.service-page .ect-dm-what .ect-dm-what__card {
    flex: 0 0 clamp(320px, 56vw, 460px);
    min-height: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
}

@media (max-width: 560px) {
  body.service-page .ect-dm-what .ect-dm-what__card {
    flex-basis: 86%;
  }
}
