.page-service-tmdt .hero {
  min-height: 500px;
  padding: calc(var(--header-height, 80px) + 22px) 0 48px;
}

.page-service-tmdt .hero .container {
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: 52px;
}

.page-service-tmdt .hero-title {
  font-size: clamp(2.2rem, 3.2vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.page-service-tmdt .hero-desc {
  max-width: 540px;
  font-size: 0.98rem;
  line-height: 1.65;
  margin-bottom: 28px;
}

.page-service-tmdt .hero .visual-image-wrapper {
  position: relative;
  border-radius: 20px;
  padding: 14px;
  background:
    radial-gradient(circle at top left, rgba(255, 102, 0, 0.18), transparent 42%),
    linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.09);
}

.page-service-tmdt .hero .visual-image-wrapper img {
  height: 380px !important;
  object-fit: contain !important;
  border-radius: 16px !important;
  background: linear-gradient(180deg, #edf4ff 0%, #ffffff 100%);
}

.page-service-tmdt .grid-3 > .card {
  min-height: 300px;
  border-radius: 16px;
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
}

.page-service-tmdt .grid-3 > .card.social-card {
  padding: 0 !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-service-tmdt .grid-3 > .card.social-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.1);
}

.page-service-tmdt .grid-3 > .card.social-card .card-image-wrapper img {
  transition: transform 0.4s ease;
}

.page-service-tmdt .grid-3 > .card.social-card:hover .card-image-wrapper img {
  transform: scale(1.05);
}

.page-service-tmdt .grid-3 > .card:nth-child(2) {
  border-color: #ffd7bf;
  box-shadow: 0 16px 30px rgba(255, 102, 0, 0.1);
  transform: none;
}

.page-service-tmdt .grid-3 > .card.social-card:nth-child(2):hover {
  transform: translateY(-4px);
}

.page-service-tmdt .grid-3 > .card ul {
  color: var(--text-muted);
  line-height: 1.65;
}

.page-service-tmdt .section .visual-image-wrapper img[alt*="Ads Performance"],
.page-service-tmdt .section .visual-image-wrapper img[alt*="Livestream"],
.page-service-tmdt .section .visual-image-wrapper img[alt*="Campaign Operations"] {
  height: 360px;
  object-fit: cover;
}

.page-service-tmdt .section .grid-2[style*="gap:48px"] {
  gap: 56px !important;
}

.page-service-tmdt .section .grid-2[style*="gap:48px"] > div:first-child h2,
.page-service-tmdt .section .grid-2.align-center > div:first-child h2 {
  max-width: 520px;
}

.page-service-tmdt .section .grid-2.align-center > div:first-child p.text-muted {
  max-width: 560px;
}

.page-service-tmdt .section .grid-3 > .card h3[style*="font-size:1.25rem"] {
  margin-bottom: 16px !important;
}

.page-service-tmdt .section[style*="var(--neutral-bg)"] .grid-2.align-center {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
}

.page-service-tmdt .section[style*="var(--neutral-bg)"] .grid-2.align-center > div:first-child {
  max-width: 620px;
}

.page-service-tmdt .section[style*="var(--neutral-bg)"] .visual-image-wrapper img {
  border-radius: 16px !important;
}

.page-service-tmdt .tabs-container {
  max-width: 1180px;
}

.page-service-tmdt .tab-buttons {
  gap: 0 !important;
  margin-bottom: 36px !important;
  padding-bottom: 0 !important;
  border-bottom: 0 !important;
  background: #f8fbff;
  border-radius: 9999px;
  padding: 8px !important;
}

.page-service-tmdt .tab-btn {
  border: 0 !important;
  border-radius: 9999px;
  padding: 14px 18px !important;
  min-height: 48px;
  font-size: 0.95rem !important;
}

.page-service-tmdt .tab-btn.active {
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(0, 82, 204, 0.12);
  border-bottom-color: transparent !important;
}

.page-service-tmdt .tab-content {
  background: #ffffff;
  border: 1px solid #dbe6f5;
  border-radius: 18px;
  padding: 34px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
}

.page-service-tmdt .tab-content .grid-2 {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
}

.page-service-tmdt .tab-content img {
  height: 300px;
  object-fit: cover;
  border-radius: 16px !important;
}

.page-service-tmdt .section[style*="border-top:1px solid var(--border-color)"] .grid-3 > .card {
  min-height: 228px;
}

.page-service-tmdt .section[style*="border-top:1px solid var(--border-color)"] .grid-3 {
  gap: 22px;
}

.page-service-tmdt .cta-banner {
  border-radius: 12px;
  padding: 52px 32px;
  box-shadow: 0 18px 44px rgba(255, 102, 0, 0.12);
}

@media (max-width: 1024px) {
  .page-service-tmdt .hero .container,
  .page-service-tmdt .section[style*="var(--neutral-bg)"] .grid-2.align-center,
  .page-service-tmdt .tab-content .grid-2 {
    grid-template-columns: 1fr;
  }

  .page-service-tmdt .hero-content,
  .page-service-tmdt .section-header {
    text-align: center;
  }

  .page-service-tmdt .hero-desc {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .page-service-tmdt .hero {
    min-height: auto;
    padding-bottom: 52px;
  }

  .page-service-tmdt .hero .visual-image-wrapper {
    padding: 12px;
    border-radius: 20px;
  }

  .page-service-tmdt .hero .visual-image-wrapper img {
    height: 320px !important;
  }

  .page-service-tmdt .grid-3 > .card,
  .page-service-tmdt .tab-content {
    padding: 24px;
  }

  .page-service-tmdt .grid-3 > .card:nth-child(2) {
    transform: none;
  }

  .page-service-tmdt .tab-buttons {
    border-radius: 20px;
  }
}
