/* Native Posts widget adaptation for the faithful widget-homepage migration.
 * Content/query controls remain editable in Elementor. Scope only this copy.
 */
.dpg-home-copy .dpg-home-product-image img {
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
}
.dpg-home-copy .dpg-home-product-action .elementor-button {
  margin-right: 10px;
}
@media (min-width: 1280px) {
  .dpg-home-copy .dpg-home-product + .dpg-home-product::after {
    content: "";
    position: absolute;
    background: #e5e5e5;
    width: 1px;
    height: 100%;
    left: 0;
    top: 0;
    pointer-events: none;
  }
}
@media (max-width: 767px) {
  .dpg-home-copy .dpg-home-product-action .elementor-button {
    margin-right: 0;
  }
}
.dpg-home-copy .elementor-widget-posts {
  padding: 15px;
}
.dpg-home-copy .elementor-post__text {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.dpg-home-copy .elementor-post__read-more-wrapper {
  margin-top: auto;
}
.dpg-home-copy .elementor-post__thumbnail img {
  transform: translate(-50%, -50%);
  left: 50%;
  top: 50%;
}
.dpg-home-copy .elementor-post__meta-data {
  order: -1;
}
.dpg-home-copy .elementor-post-date::before {
  content: "Posted ";
}
.dpg-home-copy .elementor-post__read-more {
  align-self: flex-start;
  display: inline-block;
  border: 1px solid #005062;
  padding: 20px 24px;
  line-height: 18px;
  font-weight: 500;
  color: #005062;
  transition: background .2s, color .2s;
}
.dpg-home-copy .elementor-post__read-more:hover,
.dpg-home-copy .elementor-post__read-more:focus-visible {
  background: #005062;
  color: #fff;
}
@media (max-width: 959px) {
  .dpg-home-copy .elementor-posts-container {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding-bottom: 15px;
    scroll-snap-type: x mandatory;
  }
  .dpg-home-copy .elementor-post {
    flex: 0 0 calc((100% - 30px) / 2);
    scroll-snap-align: start;
  }
}
@media (max-width: 479px) {
  .dpg-home-copy .elementor-post {
    flex-basis: 100%;
  }
}

/* Match the legacy homepage interaction states without changing other pages. */
.dpg-home-copy .dpg-home-button .elementor-button { transition: all .3s ease-in-out; }
.dpg-home-copy .dpg-home-promo-action .elementor-button { transition: background .2s ease; }
.dpg-home-copy .dpg-home-promo-action .elementor-button:hover,
.dpg-home-copy .dpg-home-all-news .elementor-button:hover { text-decoration: underline; }
.dpg-home-copy .dpg-home-service { position: relative; transition: all .3s ease-in-out; }
.dpg-home-copy .dpg-home-service:hover { background: #f9f9f9; }
.dpg-home-copy .dpg-home-service .elementor-heading-title a { color: #222; text-decoration: none; }
.dpg-home-copy .dpg-home-service .elementor-heading-title a::after,
.dpg-home-copy .elementor-post__title a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.dpg-home-copy .elementor-post { position: relative; }
.dpg-home-copy .elementor-post__title a:hover { color: #222; text-decoration: none; }
.dpg-home-copy .elementor-post:hover .elementor-post__read-more { background: #005062; color: #fff; }
.dpg-home-copy .elementor-post__read-more { transition: all .3s ease-in-out; text-decoration: none; }
.dpg-home-copy .dpg-home-all-news .elementor-button-icon { font-size: .8em; }

/* Native Image Carousel: original 200px logos in a 300px stage and 14 dots. */
.dpg-home-copy .dpg-home-logos,
.dpg-home-copy .dpg-home-logos .elementor-image-carousel-wrapper { height: 300px; }
.dpg-home-copy .dpg-home-logos .swiper-wrapper { height: 300px; align-items: center; }
.dpg-home-copy .dpg-home-logos .swiper-slide { height: auto; }
.dpg-home-copy .dpg-home-logos figure { margin: 0; }
.dpg-home-copy .dpg-home-logos img { display: block; width: 200px; height: 200px; object-fit: contain; margin: auto; }
.dpg-home-copy .dpg-home-logos .swiper-pagination { bottom: 10px; line-height: 18px; }
.dpg-home-copy .dpg-home-logos .swiper-pagination-bullet { margin: 4px; vertical-align: middle; }
.dpg-home-copy .dpg-home-logos .swiper-pagination-bullet:hover { background: #005062; }

/* Source breakpoint layout (480, 960, 1280, 1440, 1600) is narrower than
 * Elementor's site-wide editor breakpoints. Keep this adaptation page scoped. */
.dpg-home-copy { --home-x: 15px; --home-panel-x: 15px; --home-card-x: 0px; --home-y: 60px; }
.dpg-home-copy .dpg-home-hero,
.dpg-home-copy .dpg-home-industry,
.dpg-home-copy .dpg-home-advantage { padding: var(--home-y) var(--home-x) !important; }
.dpg-home-copy .dpg-home-products { padding-inline: 0 !important; }
.dpg-home-copy .dpg-home-product-panel { padding: 30px var(--home-panel-x) !important; }
.dpg-home-copy .dpg-home-product-grid { flex-direction: row !important; flex-wrap: wrap; gap: 60px 30px !important; }
.dpg-home-copy .dpg-home-product { width: 100% !important; padding-inline: var(--home-card-x) !important; }
.dpg-home-copy .dpg-home-product-image { margin-bottom: clamp(19.92px, 3.32vw, 29.88px) !important; }
.dpg-home-copy .dpg-home-product-image img { width: 100%; height: auto !important; }
.dpg-home-copy .dpg-home-product-action .elementor-button { white-space: nowrap; padding-inline: 24px; }
.dpg-home-copy .dpg-home-product + .dpg-home-product { border-top: 1px solid #e5e5e5; }
.dpg-home-copy .dpg-home-service-section { padding: 90px var(--home-panel-x) 0 !important; }
.dpg-home-copy .dpg-home-promo { gap: 16px 32px; }
.dpg-home-copy .dpg-home-trust { padding-inline: var(--home-x) !important; }
.dpg-home-copy .dpg-home-blog { padding-inline: var(--home-x) !important; }
@media (max-width: 479px) {
  .dpg-home-copy .dpg-home-product-panel { padding-top: 90px !important; }
}
@media (min-width: 480px) and (max-width: 1279px) {
  .dpg-home-copy .dpg-home-product { width: calc((100% - 30px) / 2) !important; }
  .dpg-home-copy .dpg-home-product-action .elementor-button { width: auto; margin-right: 10px; }
}
@media (max-width: 959px) {
  .dpg-home-copy .dpg-home-promo { flex-direction: column !important; align-items: stretch; padding: 24px !important; }
  .dpg-home-copy .dpg-home-promo > .e-con { width: 100%; align-items: flex-start; }
  .dpg-home-copy .dpg-home-promo-action .elementor-button { width: auto; }
  .dpg-home-copy .dpg-home-hero-copy { width: 100%; }
  .dpg-home-copy .dpg-home-hero-actions { flex-direction: column !important; gap: 25px; }
  .dpg-home-copy .dpg-home-hero .elementor-heading-title,
  .dpg-home-copy .dpg-home-hero .elementor-widget-text-editor { text-align: center; }
  .dpg-home-copy .dpg-home-hero-actions .elementor-widget-button,
  .dpg-home-copy .dpg-home-hero-actions .elementor-button { width: 100%; }
  .dpg-home-copy .dpg-home-industry-row,
  .dpg-home-copy .dpg-home-advantage-row { flex-direction: column !important; gap: 60px; }
  .dpg-home-copy .dpg-home-editorial-copy,
  .dpg-home-copy .dpg-home-industry-photo,
  .dpg-home-copy .dpg-home-fossil { width: 100%; }
  .dpg-home-copy .dpg-home-industry-photo img { height: auto !important; aspect-ratio: 16 / 9; }
}
@media (min-width: 960px) {
  .dpg-home-copy { --home-y: 120px; --home-card-x: 15px; }
  .dpg-home-copy .dpg-home-products { padding-inline: 15px !important; }
  .dpg-home-copy .dpg-home-product-panel { padding-block: 60px !important; }
  .dpg-home-copy .dpg-home-promo { flex-direction: row !important; }
  .dpg-home-copy .dpg-home-promo > .e-con:first-child { width: 70%; }
  .dpg-home-copy .dpg-home-promo > .e-con:last-child { width: 30%; }
  .dpg-home-copy .dpg-home-hero-copy { width: 66.666%; }
  .dpg-home-copy .dpg-home-hero-actions { flex-direction: row !important; }
  .dpg-home-copy .dpg-home-industry-row,
  .dpg-home-copy .dpg-home-advantage-row { flex-direction: row !important; }
  .dpg-home-copy .dpg-home-industry-row { gap: 60px !important; }
  .dpg-home-copy .dpg-home-industry-photo { width: 33.333%; }
  .dpg-home-copy .dpg-home-editorial-copy { width: 66.666%; }
  .dpg-home-copy .dpg-home-fossil { width: 33.333%; min-height: 0; order: 1; }
}
@media (min-width: 1280px) {
  .dpg-home-copy { --home-x: 30px; --home-card-x: 30px; }
  .dpg-home-copy .dpg-home-products { padding-inline: var(--home-x) !important; }
  .dpg-home-copy .dpg-home-product-grid { gap: 0 !important; }
  .dpg-home-copy .dpg-home-product { width: 25% !important; border-top: 0; }
  .dpg-home-copy .dpg-home-product-action .elementor-button { padding-inline: 60px; }
  .dpg-home-copy .dpg-home-hero-copy,
  .dpg-home-copy .dpg-home-editorial-copy,
  .dpg-home-copy .dpg-home-industry-photo,
  .dpg-home-copy .dpg-home-fossil { width: 50%; }
}
@media (min-width: 1440px) {
  .dpg-home-copy { --home-x: 60px; --home-panel-x: 30px; }
  .dpg-home-copy .dpg-home-industry-row { gap: 120px !important; }
}
@media (min-width: 1600px) {
  .dpg-home-copy { --home-x: 120px; --home-card-x: 60px; }
  .dpg-home-copy .dpg-home-product-panel { padding-block: 120px !important; }
}
.dpg-home-copy .dc-arrow a:hover { text-decoration: underline; }
.dpg-home-copy .elementor-post:hover .elementor-post__read-more,
.dpg-home-copy .elementor-post__read-more:focus-visible { color: #fff !important; }
@media (max-width: 1279px) {
  .dpg-home-copy .dpg-home-product-action .elementor-button { padding-inline: 24px !important; }
}
@media (min-width: 1280px) {
  .dpg-home-copy .dpg-home-product-action .elementor-button { padding-inline: 60px !important; }
}
@media (min-width: 1280px) and (max-width: 1439px) {
  .dpg-home-copy .dpg-home-advantage-row .dpg-home-editorial-copy { width: 66.666%; }
  .dpg-home-copy .dpg-home-fossil { width: 33.333%; }
}
.dpg-home-copy .dpg-home-trust > .e-con {
  width: calc(100% + var(--home-x) * 2) !important;
  margin-inline: calc(var(--home-x) * -1) !important;
}
/* Widget margins belong to the editable widget's inner container. */
.dpg-home-copy .dpg-home-product-image { margin-bottom: 0 !important; }
.dpg-home-copy .dpg-home-product-image > .elementor-widget-container {
  margin-bottom: clamp(19.92px, 3.32vw, 29.88px) !important;
}
.dpg-home-copy .dpg-home-product .elementor-widget-heading + .elementor-widget-heading > .elementor-widget-container {
  margin-bottom: clamp(16px, 2.25vw, 18px) !important;
}
.dpg-home-copy .dpg-home-service .elementor-widget-heading { position: static; }
@media (min-width: 1280px) {
  .dpg-home-copy .dpg-home-product + .dpg-home-product { border-top: none; }
}
@media (max-width: 959px) {
  .dpg-home-copy .dpg-home-promo-action,
  .dpg-home-copy .dpg-home-all-news { align-self: flex-start !important; }
  .dpg-home-copy .dpg-home-promo-action .elementor-button-wrapper,
  .dpg-home-copy .dpg-home-all-news .elementor-button-wrapper { text-align: left; }
  .dpg-home-copy .dpg-home-service { width: 50% !important; }
  .dpg-home-copy .dpg-home-service-grid { row-gap: 30px; }
  .dpg-home-copy .dpg-home-service-section { padding-top: 60px !important; }
  .dpg-home-copy .dpg-home-industry-actions .dpg-home-button-link .elementor-button {
    background: #1cc97e; color: #fff;
  }
  .dpg-home-copy .dpg-home-industry-actions .dpg-home-button-link .elementor-button:hover { background: #14b36e; }
  .dpg-home-copy .dpg-home-industry-actions .elementor-button-icon { display: none; }
  .dpg-home-copy .dpg-home-advantage-row { gap: 30px; }
  .dpg-home-copy .dpg-home-blog-head { gap: 16px; }
}
@media (min-width: 960px) {
  .dpg-home-copy .dpg-home-advantage-links,
  .dpg-home-copy .dpg-home-blog-head,
  .dpg-home-copy .dpg-home-industry-actions { flex-direction: row !important; }
  .dpg-home-copy .dpg-home-advantage-links > .e-con { width: 33.333% !important; }
}
