:root {
  --primary-color1: #d71921;
  --primary-color1-opc: 215, 25, 33;
  --primary-color2: #9dd5b7;
  --primary-color2-opc: 157, 213, 183;
  --primary-color3: #d71921;
  --primary-color3-opc: 215, 25, 33;
  --secondary-color: #111826;
  --title-color: #161a24;
  --dark-title-color: #161a24;
  --text-color: #4f5868;
  --global-text-color: #4f5868;
  --paragraph-color: #4f5868;
  --white: #ffffff;
  --border-color: #e8ebf1;
  --borders-color: #e8ebf1;
  --bg-light: #f7f8fb;
}

body {
  background:
    radial-gradient(circle at 12% -10%, rgba(215, 25, 33, 0.09) 0, transparent 30%),
    radial-gradient(circle at 100% 0%, rgba(17, 24, 38, 0.05) 0, transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f7f8fb 100%);
}

.header-area.style-1 {
  border-bottom: 1px solid rgba(15, 22, 36, 0.08);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(120%) blur(8px);
}

.header-area.style-1.sticky {
  box-shadow: 0 16px 40px rgba(16, 24, 40, 0.12);
}

.dmg-logo {
  max-height: 56px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 1700px) {
  .header-area.style-1 .company-logo-and-contact-area .contact-area {
    display: none !important;
  }
}

@media (min-width: 992px) {
  .header-area.style-1 .menu-and-btn-area {
    flex: 1;
    min-width: 0;
    gap: 18px;
    justify-content: flex-end;
  }

  .header-area.style-1 .main-menu {
    flex: 1;
    min-width: 0;
  }

  .header-area.style-1 .main-menu > ul {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    overflow: visible;
    scrollbar-width: none;
    border: 1px solid var(--borders-color);
    border-radius: 28px;
    padding: 0 16px;
    background: rgba(255, 255, 255, 0.88);
    position: relative;
  }

  .header-area.style-1 .main-menu > ul::-webkit-scrollbar {
    display: none;
  }

  .header-area.style-1 .main-menu > ul > li {
    flex: 0 0 auto;
    padding: 0 11px;
  }

  .header-area.style-1 .main-menu > ul > li > a {
    font-size: 15px;
    letter-spacing: 0.1px;
    font-weight: 700;
    padding: 18px 0;
    transition: color 0.25s ease;
  }
}

.header-area.style-1 .main-menu > ul > li.menu-item-has-children > a::before {
  color: var(--primary-color1);
}

.header-area.style-1 .main-menu > ul > li ul.sub-menu {
  border: 1px solid rgba(215, 25, 33, 0.18);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 35px rgba(15, 22, 36, 0.12);
}

.header-area.style-1 .main-menu > ul > li ul.sub-menu > li > a:hover,
.header-area.style-1 .main-menu > ul > li ul.sub-menu > li.active > a {
  color: var(--primary-color1);
}

.header-area .menu-list > li.active > a,
.header-area .menu-list > li > a:hover {
  color: var(--primary-color1);
}

.header-area.style-1 .main-menu > ul > li > a::after {
  background: var(--primary-color1);
  height: 2px;
  border-radius: 999px;
}

.header-area .header-btn .primary-btn1 {
  border-radius: 14px;
  padding: 17px 30px;
  min-width: 200px;
}

.header-area.style-1 .company-logo-and-contact-area .contact-area .icon {
  background-color: rgba(215, 25, 33, 0.14);
  border: 1px solid rgba(215, 25, 33, 0.2);
}

.primary-btn1,
.primary-btn3,
.primary-btn4 {
  border-radius: 10px;
}

.primary-btn1 {
  background: linear-gradient(135deg, #d71921 0%, #b5111a 100%);
  color: #fff;
}

.primary-btn1:hover {
  box-shadow: inset 0 0 0 10em #8f0d15;
}

.primary-btn1,
.primary-btn1 > span,
.primary-btn1:hover,
.primary-btn1:hover > span {
  color: #fff !important;
}

.primary-btn1 svg,
.primary-btn1:hover svg {
  stroke: #fff !important;
}

.primary-btn1.transparent {
  background: linear-gradient(135deg, #d71921 0%, #b5111a 100%);
  border-color: #d71921;
  color: #fff !important;
}

.primary-btn1.transparent svg {
  stroke: #fff !important;
}

.primary-btn3,
.primary-btn4 {
  border-color: rgba(215, 25, 33, 0.28);
}

.primary-btn3 {
  background: linear-gradient(135deg, #d71921 0%, #b5111a 100%);
  color: #fff !important;
}

.primary-btn3 svg {
  stroke: #fff !important;
}

.primary-btn3 span {
  background: #111826;
}

.primary-btn3.transparent {
  background: linear-gradient(135deg, #d71921 0%, #b5111a 100%);
  border-color: #d71921;
  color: #fff !important;
}

.primary-btn3.transparent svg {
  stroke: #fff;
}

.primary-btn3.transparent:hover {
  border-color: #8f0d15;
}

.breadcrumb-section {
  padding-top: 70px;
  margin-bottom: 90px;
}

.breadcrumb-section .banner-content h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.1;
}

.home1-banner-section .banner-wrapper {
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 24px;
  background: radial-gradient(circle at 80% 20%, rgba(215, 25, 32, 0.1), transparent 48%), #fff;
  box-shadow: 0 25px 60px rgba(16, 24, 40, 0.08);
}

.home1-banner-section .dmg-hero-media {
  border-radius: 16px;
  overflow: hidden;
  background: #0f1729;
  min-height: 560px;
}

.home1-banner-section .dmg-hero-media .dmg-hero-video,
.home1-banner-section .dmg-hero-media video,
.home1-banner-section .dmg-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 560px;
  border: 0;
  object-fit: cover;
}

@media (max-width: 1399px) {
  .home1-banner-section .dmg-hero-media {
    min-height: 500px;
  }

  .home1-banner-section .dmg-hero-media .dmg-hero-video,
  .home1-banner-section .dmg-hero-media video,
  .home1-banner-section .dmg-hero-media img {
    min-height: 500px;
  }
}

@media (max-width: 991px) {
  .home1-banner-section .dmg-hero-media {
    min-height: 360px;
  }

  .home1-banner-section .dmg-hero-media .dmg-hero-video,
  .home1-banner-section .dmg-hero-media video,
  .home1-banner-section .dmg-hero-media img {
    min-height: 360px;
  }
}

.home1-contact-section {
  background-image: linear-gradient(180deg, #fff5f5 0%, #fdeced 100%);
}

.home1-banner-section .banner-wrapper .bannner-img-wrap .banner-img-bg.light {
  display: none;
}

/* Replace remaining template lilac surfaces with subtle DMG red tints. */
.feature-card.two {
  background-color: #fff1f2 !important;
  border-color: rgba(215, 25, 33, 0.18);
}

.feature-card.two .icon {
  background-color: #ffe4e7 !important;
}

.home1-feature-section .feature-card-area .dmg-value-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border: 1px solid rgba(215, 25, 33, 0.16) !important;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #fff9f9 100%) !important;
  box-shadow: 0 12px 28px rgba(13, 26, 50, 0.06);
  padding: 32px 28px;
}

.home1-feature-section .feature-card-area .dmg-value-card h3 {
  min-height: 2.45em;
  line-height: 1.2;
  margin-bottom: 14px;
}

.home1-feature-section .feature-card-area .dmg-value-card p {
  min-height: 6.6em;
  margin-bottom: 0;
}

.home1-feature-section .feature-card-area .dmg-value-card .dmg-value-icon {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border: 1px solid rgba(215, 25, 33, 0.16);
  background: linear-gradient(145deg, #fff5f5 0%, #ffe9eb 100%);
}

.home1-feature-section .feature-card-area .dmg-value-card .dmg-value-icon i {
  font-size: 26px;
  color: #c3131d;
  line-height: 1;
}

.home1-feature-section .feature-card-area .dmg-value-card.tone-advisory .dmg-value-icon {
  background: linear-gradient(145deg, #fff7f7 0%, #ffe9eb 100%);
}

.home1-feature-section .feature-card-area .dmg-value-card.tone-operational .dmg-value-icon {
  background: linear-gradient(145deg, #fff2f3 0%, #ffdfe2 100%);
}

.home1-feature-section .feature-card-area .dmg-value-card.tone-regional .dmg-value-icon {
  background: linear-gradient(145deg, #fff6f7 0%, #ffe7ea 100%);
}

.home1-feature-section .feature-card-area .dmg-value-card.tone-support .dmg-value-icon {
  background: linear-gradient(145deg, #fff3f4 0%, #ffe2e5 100%);
}

.home1-industries-section .industries-banner-area {
  background-image: linear-gradient(180deg, #fff1f2 0%, #fde8ea 100%) !important;
}

.home1-company-info-section .counter-wrap .counter-content-area .icon {
  background-color: #ffecee !important;
}

.home3-banner-section .banner-content-wrap .banner-content > span {
  background-color: #fff1f2 !important;
  border-color: rgba(215, 25, 33, 0.2);
}

.contact-form-wrap.style-2,
.faq-wrap .accordion-item,
.career-page .single-position {
  background-color: #fff7f7;
}

.job-form-modal .modal-dialog .modal-content .modal-header {
  background-image: linear-gradient(180deg, #d71921 0%, #b5111a 100%) !important;
}

.blog-card2,
.case-study-card2,
.single-services,
.single-service.two,
.single-position,
.team-card.two,
.career-details-sidebar,
.contact-page-top .single-contact {
  border: 1px solid var(--border-color);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(13, 26, 50, 0.06);
}

.home1-contact-section .single-contact {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  overflow: visible;
}

.blog-card2 .blog-img img,
.case-study-card2 .case-study-img img,
.post-thumb img,
.services-img img,
.team-img img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.post-thumb img {
  height: 420px;
  border-radius: 18px;
}

.service-details-page .dmg-rich-text,
.contact-page-top .dmg-rich-text,
.career-details-content .dmg-rich-text {
  line-height: 1.8;
  color: var(--paragraph-color);
}

.service-details-page .service-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  margin-bottom: 28px;
}

.service-details-page .overview-card {
  border: 1px solid var(--border-color);
  border-radius: 16px;
  background: #fff;
  padding: 30px 28px;
  box-shadow: 0 14px 35px rgba(13, 26, 50, 0.06);
}

.service-details-page .service-symmetry-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 26px;
  align-items: stretch;
}

.service-details-page .service-content-card {
  border: 1px solid var(--border-color);
  border-radius: 18px;
  background: #fff;
  padding: 32px 30px;
  box-shadow: 0 14px 35px rgba(13, 26, 50, 0.06);
  height: 100%;
}

.service-details-page .service-content-card .dmg-rich-text p:last-child {
  margin-bottom: 0;
}

.service-details-page .service-content-card .dmg-rich-text h1,
.service-details-page .service-content-card .dmg-rich-text h2,
.service-details-page .service-content-card .dmg-rich-text h3,
.service-details-page .service-content-card .dmg-rich-text h4,
.service-details-page .service-content-card .dmg-rich-text h5,
.service-details-page .service-content-card .dmg-rich-text h6 {
  font-family: var(--font-suse);
  color: var(--title-color);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
  text-transform: none;
}

.service-details-page .service-content-card .dmg-rich-text h1,
.service-details-page .service-content-card .dmg-rich-text h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.4rem);
  font-weight: 700;
}

.service-details-page .service-content-card .dmg-rich-text h3 {
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  font-weight: 700;
}

.service-details-page .service-content-card .dmg-rich-text h4,
.service-details-page .service-content-card .dmg-rich-text h5,
.service-details-page .service-content-card .dmg-rich-text h6 {
  font-size: clamp(1.08rem, 1.4vw, 1.25rem);
  font-weight: 700;
}

.service-details-page .service-content-card .dmg-rich-text p,
.service-details-page .service-content-card .dmg-rich-text li {
  font-family: var(--font-dmsans);
  font-size: clamp(1.02rem, 1.3vw, 1.18rem);
  font-weight: 500;
  line-height: 1.72;
  color: var(--global-text-color);
  letter-spacing: 0;
}

.service-details-page .service-content-card .dmg-rich-text p {
  margin: 0 0 14px;
}

.service-details-page .service-content-card .dmg-rich-text ul,
.service-details-page .service-content-card .dmg-rich-text ol {
  margin: 10px 0 14px 24px;
}

.service-details-page .service-content-card .dmg-rich-text li {
  margin-bottom: 8px;
}

.service-details-page .service-content-card .dmg-rich-text strong {
  color: var(--title-color);
  font-weight: 700;
}

.service-details-page .service-media-stack {
  display: grid;
  gap: 18px;
  height: 100%;
}

.service-details-page .service-media-stack .media-tile {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: #fff;
  box-shadow: 0 12px 28px rgba(13, 26, 50, 0.06);
}

.service-details-page .service-media-stack .media-tile img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

.service-details-page .dmg-rich-text img,
.contact-page-top .dmg-rich-text img,
.career-details-content .dmg-rich-text img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  margin: 18px 0;
}

.career-details-content .dmg-rich-text ul,
.career-details-content .dmg-rich-text ol {
  margin: 0 0 1.25rem 1.15rem;
}

.career-details-content .dmg-rich-text li {
  line-height: 1.8;
  margin-bottom: 0.45rem;
}

.dmg-newsletter-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 18px;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(13, 26, 50, 0.06);
  padding: 18px;
}

.dmg-newsletter-thumb {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: #fff;
}

.dmg-newsletter-thumb img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.dmg-newsletter-body h3 {
  font-family: var(--font-suse);
  font-size: clamp(1.18rem, 1.5vw, 1.46rem);
  line-height: 1.3;
  color: var(--title-color);
  margin-bottom: 10px;
}

.dmg-newsletter-body p {
  color: var(--global-text-color);
  line-height: 1.72;
  margin-bottom: 16px;
}

.dmg-newsletter-body .primary-btn3 {
  min-width: 185px;
}

.dmg-project-card {
  border: 1px solid var(--border-color);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 30px rgba(13, 26, 50, 0.06);
}

.dmg-project-card .case-study-content-wrap {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.dmg-project-card .case-study-content {
  flex: 1;
}

.dmg-project-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  color: #b5111a;
  background: rgba(215, 25, 33, 0.1);
  border-radius: 999px;
  padding: 7px 10px;
  margin: 10px 0 14px;
}

.dmg-project-gallery-item {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: #fff;
  box-shadow: 0 10px 24px rgba(13, 26, 50, 0.06);
}

.dmg-project-gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.dmg-project-gallery-item:hover img {
  transform: scale(1.03);
}

/* Typography system for imported legacy page content (e.g. /consulting). */
.service-details-page .dmg-page-prose {
  font-family: var(--font-dmsans);
  color: var(--global-text-color);
  line-height: 1.78;
}

.service-details-page .dmg-page-prose > *:first-child {
  margin-top: 0;
}

.service-details-page .dmg-page-prose > *:last-child {
  margin-bottom: 0;
}

.service-details-page .dmg-page-prose h1,
.service-details-page .dmg-page-prose h2,
.service-details-page .dmg-page-prose h3,
.service-details-page .dmg-page-prose h4,
.service-details-page .dmg-page-prose h5,
.service-details-page .dmg-page-prose h6 {
  font-family: var(--font-suse);
  color: var(--title-color);
  text-transform: none;
  letter-spacing: -0.015em;
  line-height: 1.16;
  margin: 1.25em 0 0.48em;
}

.service-details-page .dmg-page-prose h1 {
  font-size: clamp(1.9rem, 2.9vw, 2.8rem);
  font-weight: 800;
}

.service-details-page .dmg-page-prose h2 {
  font-size: clamp(1.62rem, 2.45vw, 2.28rem);
  font-weight: 780;
}

.service-details-page .dmg-page-prose h3 {
  font-size: clamp(1.34rem, 1.95vw, 1.78rem);
  font-weight: 740;
}

.service-details-page .dmg-page-prose h4,
.service-details-page .dmg-page-prose h5,
.service-details-page .dmg-page-prose h6 {
  font-size: clamp(1.15rem, 1.5vw, 1.32rem);
  font-weight: 700;
}

.service-details-page .dmg-page-prose p,
.service-details-page .dmg-page-prose li {
  font-size: clamp(1rem, 1.02vw, 1.17rem);
  line-height: 1.82;
  color: var(--global-text-color);
  font-weight: 500;
}

.service-details-page .dmg-page-prose p {
  margin: 0 0 0.95rem;
}

.service-details-page .dmg-page-prose ul,
.service-details-page .dmg-page-prose ol {
  margin: 0.7rem 0 1.1rem 1.32rem;
  padding: 0;
}

.service-details-page .dmg-page-prose li {
  margin-bottom: 0.5rem;
}

.service-details-page .dmg-page-prose strong,
.service-details-page .dmg-page-prose b {
  color: var(--title-color);
  font-weight: 700;
}

.service-details-page .dmg-page-prose img {
  margin: 1.25rem 0;
}

.service-details-page .dmg-page-prose blockquote {
  border-left: 3px solid rgba(var(--primary-color1-opc), 0.5);
  background: rgba(var(--primary-color1-opc), 0.04);
  margin: 1.2rem 0;
  padding: 0.9rem 1.05rem;
  border-radius: 10px;
}

.service-details-page .dmg-page-prose .dmg-inline-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  margin: 1.2rem 0 1.5rem;
}

.service-details-page .dmg-page-prose .dmg-inline-gallery img {
  width: 100%;
  height: 130px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 14px;
  margin: 0;
  box-shadow: 0 8px 20px rgba(13, 26, 50, 0.06);
}

.career-details-page .career-details-content .job-apply-area {
  position: relative;
  overflow: hidden;
  border: 1px solid #c9e9d5;
  background: linear-gradient(135deg, #e0f4e8 0%, #c9e9d5 100%);
}

.career-details-page .career-details-content .job-apply-area::before {
  content: "";
  position: absolute;
  left: -60px;
  bottom: -80px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215, 25, 33, 0.12) 0%, rgba(215, 25, 33, 0) 70%);
}

.career-details-page .career-details-content .job-apply-area .vector-area .vector.dmg-brand-mark {
  width: 108px;
  height: auto;
  opacity: 0.17;
  filter: grayscale(100%) contrast(1.05);
  bottom: 8px;
}

.career-details-page .career-details-content .job-apply-area .contact-area .contact a {
  color: #131722;
}

.career-details-page .career-details-content .job-apply-area .contact-area .contact a:hover {
  color: var(--primary-color1);
}

.mortar-pagination {
  margin-top: 16px;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.mortar-pagination .paginations-button {
  display: flex;
}

.mortar-pagination .paginations-button a,
.mortar-pagination .paginations-button .page-disabled {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--borders-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  line-height: 1;
  color: var(--title-color);
  background: #fff;
}

.mortar-pagination .paginations-button a svg,
.mortar-pagination .paginations-button .page-disabled svg {
  stroke: currentColor;
  fill: none;
}

.mortar-pagination .paginations-button a:hover {
  background: var(--primary-color1);
  border-color: var(--primary-color1);
  color: #fff;
}

.mortar-pagination .paginations-button .page-disabled {
  color: #b8c0cd;
  background: #f4f6fa;
}

.mortar-pagination .paginations {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 9px;
}

.mortar-pagination .paginations .page-item a,
.mortar-pagination .paginations .page-item > span {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--borders-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--title-color);
  font-family: var(--font-suse);
  font-size: 16px;
  font-weight: 700;
  background: #fff;
}

.mortar-pagination .paginations .page-item a:hover,
.mortar-pagination .paginations .page-item.active > span {
  background: var(--primary-color1);
  color: #fff;
  border-color: var(--primary-color1);
}

.news-insight-page .blog-card2 .blog-content-wrap .primary-btn3 {
  background: linear-gradient(135deg, #d71921 0%, #b5111a 100%);
  border-color: #d71921;
  color: #fff;
}

.news-insight-page .blog-card2 .blog-content-wrap .primary-btn3 svg {
  stroke: #fff;
}

.news-insight-page .blog-card2 {
  height: 100%;
}

.news-insight-page .blog-card2 .row {
  height: 100%;
}

.news-insight-page .blog-card2 .blog-content-wrap {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.news-insight-page .blog-card2 .blog-content-wrap h3 {
  min-height: 0;
  display: block;
  overflow: visible;
  margin-bottom: 10px;
}

.news-insight-page .blog-card2 .blog-content-wrap p {
  min-height: 0;
  display: block;
  overflow: visible;
}

.news-insight-page .blog-card2 .blog-content-wrap .primary-btn3 {
  margin-top: auto;
}

.home1-service-section .service-card .learn-btn {
  color: #fff;
  border: 1px solid #d71921;
  background: #d71921;
}

.home1-service-section .service-card .learn-btn svg {
  stroke: #fff;
}

.home1-service-section .service-card:hover .learn-btn {
  color: #fff;
  border-color: #b5111a;
  background: #b5111a;
}

.home1-service-section .service-card:hover .learn-btn svg {
  stroke: #fff;
}

.dmg-work-video-card {
  border: 1px solid rgba(215, 25, 33, 0.28);
  border-radius: 18px;
  background: linear-gradient(135deg, #fdf2f2 0%, #fde6e7 100%);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 96px;
  transition: all 0.25s ease;
}

.dmg-work-video-card .play-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #d71921;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
}

.dmg-work-video-card .content span {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #7a2930;
}

.dmg-work-video-card .content h5 {
  margin: 4px 0 0;
  color: #191d2b;
  font-weight: 700;
}

.dmg-work-video-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(151, 13, 22, 0.14);
}

.dmg-work-card {
  height: 100%;
}

.dmg-work-card .case-study-card-content h3 {
  min-height: 2.8em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dmg-work-card .case-study-card-content p {
  min-height: 4.8em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dmg-work-card .case-study-card-content .primary-btn1 {
  margin-top: auto;
}

.dmg-work-video-embed {
  border: 1px solid rgba(215, 25, 33, 0.25);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 34px rgba(16, 24, 40, 0.12);
  background: #000;
}

.dmg-work-video-embed iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.mortar-pagination .paginations .page-item.disabled > span {
  color: #b6becb;
  background: #f4f6fa;
}

.mortar-pagination .pagination-meta {
  flex: 1 0 100%;
  margin: 6px 0 0;
  text-align: center;
  font-family: var(--font-dmsans);
  font-size: 15px;
  font-weight: 600;
  color: var(--global-text-color);
}

.footer-area.style-2 {
  margin-top: 40px;
  padding-top: 70px;
  background: linear-gradient(135deg, #c8141c 0%, #d71921 45%, #af0f16 100%);
}

.footer-area .footer-top {
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.footer-area .footer-widget h5,
.footer-area .footer-widget p,
.footer-area .footer-widget a,
.footer-area .footer-bottom p,
.footer-area .footer-contact-list li {
  color: rgba(255, 255, 255, 0.88);
}

.footer-area .footer-widget a:hover {
  color: #ffe8e9;
}

.footer-logo-img {
  max-height: 64px;
  margin-bottom: 18px;
}

.footer-menu,
.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu li,
.footer-contact-list li {
  margin-bottom: 10px;
}

.footer-area .social-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-area .social-list li {
  margin: 0;
}

.footer-area .social-list li a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  background: rgba(255, 255, 255, 0.08);
  transition: 0.25s ease;
}

.footer-area .social-list li a:hover {
  color: #d71921;
  background: #fff;
  border-color: #fff;
}

.footer-area .footer-bottom {
  padding: 18px 0 26px;
}

.team-card .team-content,
.single-services .content,
.single-services .title-area,
.single-position,
.blog-card2 .blog-content-wrap,
.case-study-card2 .case-study-content-wrap {
  padding: 22px;
}

@media (min-width: 992px) {
  .mortar-pagination {
    justify-content: flex-start;
  }

  .mortar-pagination .pagination-meta {
    flex: 0 0 auto;
    margin: 0 0 0 12px;
    text-align: left;
  }
}

@media (max-width: 991px) {
  .dmg-logo {
    max-height: 46px;
  }

  .post-thumb img {
    height: 280px;
  }

  .blog-card2 .blog-img img,
  .case-study-card2 .case-study-img img,
  .services-img img,
  .team-img img {
    height: 200px;
  }

  .service-details-page .service-overview-grid,
  .service-details-page .service-symmetry-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .service-details-page .overview-card,
  .service-details-page .service-content-card {
    padding: 24px 22px;
  }

  .service-details-page .service-media-stack .media-tile img {
    min-height: 200px;
  }

  .dmg-newsletter-card {
    grid-template-columns: 1fr;
  }

  .dmg-newsletter-thumb img {
    min-height: 240px;
    max-height: 320px;
    object-fit: cover;
  }

  .news-insight-page .blog-card2 .blog-content-wrap h3,
  .news-insight-page .blog-card2 .blog-content-wrap p,
  .dmg-work-card .case-study-card-content h3,
  .dmg-work-card .case-study-card-content p {
    min-height: 0;
  }
}

/* Force-red overrides for remaining template hardcoded purple elements. */
.home3-scroll-text-area {
  background-image: url(../img/home3/home3-scroll-text-bg.png), linear-gradient(180deg, #d71921 0%, #b5111a 100%) !important;
}

.home6-feature-section .feature-card4.two .feature-content-wrap .feature-content span {
  background: linear-gradient(90deg, #d71921 0%, #e34249 100%) !important;
}

.home6-integration-section .company-logo {
  background: linear-gradient(180deg, #d71921 0%, #f0f0f0 100%) !important;
}

.service-page-banner-section .banner-img-wrap .counter-wrap .counter-area.two {
  background-color: #d71921 !important;
}

.about-page-counter-section .counter-wrapper {
  background-image: url(../img/innerpages/about-page-counter-bg.png), linear-gradient(180deg, #d71921 0%, #b5111a 100%) !important;
}

.details-pagination .divider-line {
  fill: #d71921 !important;
}

/* Remove decorative process icon in the top-right of the process block. */
.home1-process-section .process-wrapper::before {
  content: none !important;
  display: none !important;
}
