:root {
  --dtheme-company-surface: #ffffff;
  --dtheme-company-border: #ececec;
  --dtheme-company-muted: #6b7280;
}

.dtheme-company-hero {
  background: transparent;
  padding: 12px 0 28px;
}

.dtheme-company-hero.is-single {
  padding-bottom: 40px;
}

.dtheme-company-hero-surface {
  background: var(--dtheme-hero-bg, #ffffff);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 30px;
  padding: clamp(24px, 3vw, 36px);
  box-shadow: 0 24px 45px rgba(15, 23, 42, 0.08);
}

.dtheme-directory-hero-copy {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 24px;
}

.dtheme-directory-hero-copy h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin: 0 0 10px;
  color: #0f172a;
}

.dtheme-directory-hero-copy p {
  margin: 0;
  color: #475569;
  font-size: 1.1rem;
}

.dtheme-category-callout {
  position: relative;
  margin-top: -40px;
  margin-bottom: 48px;
  padding-top: 32px;
}

.dtheme-category-callout::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 48px;
  background: linear-gradient(90deg, rgba(239, 68, 68, 0.3), rgba(59, 130, 246, 0.3));
  border-radius: 999px;
  transform: translateY(-50%);
  opacity: 0.35;
  pointer-events: none;
}

.dtheme-category-callout-head {
  text-align: center;
  margin-bottom: 28px;
}

.dtheme-category-callout-head h2 {
  font-size: clamp(1.6rem, 2.2vw, 2.4rem);
  margin-bottom: 10px;
  font-weight: 700;
  color: #0f172a;
}

.dtheme-category-callout-head p {
  margin: 0 auto;
  max-width: 720px;
  color: #475569;
  font-size: 1.05rem;
}

.dtheme-category-callout-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
}

.dtheme-category-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 12px;
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  text-align: center;
  color: #0f172a;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.dtheme-category-chip-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: #2563eb;
}

.dtheme-category-chip-icon svg {
  width: 48px;
  height: 48px;
}

.dtheme-category-chip-label {
  font-size: 0.95rem;
}

.dtheme-category-chip:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.4);
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.18);
  color: #2563eb;
}

@media (max-width: 640px) {
  .dtheme-category-callout {
    margin-top: 8px;
  }

  .dtheme-company-hero-body {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .dtheme-company-hero-surface {
    padding: 22px 18px;
    border-radius: 24px;
  }

  .dtheme-company-hero-content {
    display: block;
  }

  .dtheme-company-hero-content p {
    font-size: 15px;
  }

  .dtheme-company-hero-logo {
    width: 150px;
    min-height: 150px;
    margin: 0 auto 12px;
  }

  .dtheme-company-main.company-single .dtheme-company-profile {
    padding: 26px 18px;
  }

  .dtheme-category-callout-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }

  .dtheme-category-chip-icon {
    margin-bottom: 8px;
  }
}

.dtheme-company-breadcrumb {
  margin: 0 0 18px;
  font-size: 13px;
  color: #6b7280;
}

.dtheme-company-breadcrumb ol {
  display: flex;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.dtheme-company-breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dtheme-company-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.dtheme-company-breadcrumb a:hover {
  color: #111827;
}

.dtheme-company-breadcrumb li::after {
  content: "/";
  color: #cbd5f5;
}

.dtheme-company-breadcrumb li:last-child::after {
  display: none;
}

.dtheme-company-hero-body {
  display: flex;
  gap: 28px;
  align-items: center;
}

.dtheme-company-hero-logo {
  width: 220px;
  min-height: 220px;
  border-radius: 18px;
  border: 1px solid #d9dbe3;
  background: #f9fafb;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.dtheme-company-hero-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.dtheme-company-premium-card h3,
.dtheme-company-card h3 {
  font-size: 17px;
}

.dtheme-company-hero-placeholder {
  color: #98a2b3;
  font-size: 13px;
}

.dtheme-company-hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dtheme-company-hero-content h1 {
  margin: 0;
  font-size: clamp(34px, 4vw, 48px);
  color: #0f172a;
}

.dtheme-company-hero-chip {
  align-self: flex-start;
  background: #edf0f5;
  color: #1f2937;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

.dtheme-company-hero-lede {
  margin: 0;
  color: #4b5563;
  font-size: 15px;
  line-height: 1.6;
}

.dtheme-company-hero-body + .dtheme-company-hero-actions {
  margin-top: 18px;
}

.dtheme-company-share-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid var(--dtheme-company-border);
}

.dtheme-company-sharebar.is-outline {
  margin: 0;
}

.dtheme-company-rating.is-inline {
  color: #0f172a;
}

.dtheme-company-main.company-single .dtheme-company-profile {
  background: var(--dtheme-company-surface);
  border: 1px solid var(--dtheme-company-border);
  border-radius: 22px;
  padding: 42px clamp(28px, 4vw, 56px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.dtheme-company-rating {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #0f172a;
}

.dtheme-rating-stars {
  display: inline-flex;
  gap: 4px;
}

.dtheme-rating-star {
  width: 20px;
  height: 20px;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2.5 14.9 9l7.1.6-5.4 4.6 1.9 7-6.5-4-6.4 4 1.9-7-5.5-4.6L9 9z"/></svg>') center/contain no-repeat;
  background: rgba(15, 23, 42, 0.15);
}

.dtheme-rating-star.is-full,
.dtheme-rating-star.is-half {
  background: linear-gradient(135deg, #ffb347, #ffcc33);
}

.dtheme-rating-star.is-half {
  background: linear-gradient(90deg, #ffcc33 50%, rgba(255, 255, 255, 0.3) 50%);
}

.dtheme-rating-values strong {
  font-size: 20px;
  display: block;
}

.dtheme-rating-values span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.dtheme-company-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.dtheme-company-sharebar {
  margin-top: 12px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  box-shadow: none;
}

.dtheme-company-sharebar.is-inline {
  margin: 8px 0 0;
}

.dtheme-company-sharebar > span {
  font-weight: 600;
  letter-spacing: 0.04em;
}

.dtheme-company-hero-footer {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.dtheme-company-hero-desc {
  flex: 1;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  line-height: 1.6;
}

.dtheme-company-hero-desc p {
  margin: 0;
}

.dtheme-company-hero-share {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}

.dtheme-company-share-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.dtheme-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #0f172a;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease;
}

.dtheme-social-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.dtheme-social-btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.2);
}

.dtheme-social-btn.is-twitter {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.dtheme-social-btn.is-linkedin {
  background: #0a66c2;
}

.dtheme-social-btn.is-facebook {
  background: #1877f2;
}

.dtheme-social-btn.is-whatsapp {
  background: #22c55e;
  color: #0f172a;
}

.dtheme-social-btn.is-whatsapp svg {
  fill: currentColor;
}

.dtheme-company-profile-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--dtheme-company-border);
  padding-bottom: 24px;
  margin-bottom: 24px;
}

.dtheme-company-profile-eyebrow {
  margin: 0 0 6px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--dtheme-company-muted);
}

.dtheme-company-profile-info h2 {
  margin: 0;
  font-size: 30px;
}

.dtheme-company-profile-body {
  font-size: 16px;
  line-height: 1.75;
  color: #111827;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.dtheme-company-profile-body > *:first-child {
  margin-top: 0;
}

.dtheme-company-profile-body > *:last-child {
  margin-bottom: 0;
}

.dtheme-company-details {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  margin-bottom: 6px;
}

.dtheme-company-details-value a {
  word-break: break-word;
  overflow-wrap: anywhere;
  color: var(--dtheme-primary, #e30613);
}

.dtheme-company-details-value iframe,
.dtheme-company-details-value embed,
.dtheme-company-details-value object {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

.dtheme-company-related {
  margin-top: 32px;
  padding: 32px;
  border: 1px solid var(--dtheme-company-border);
  border-radius: 22px;
  background: var(--dtheme-company-surface);
}

.dtheme-company-tax-list,
.dtheme-company-list-widget {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dtheme-company-tax-list li a {
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
  border: 1px solid var(--dtheme-company-border);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.dtheme-company-tax-list li a:hover {
  transform: translateX(4px);
  border-color: var(--dtheme-primary, #e30613);
}

.dtheme-company-count {
  font-weight: 600;
  color: var(--dtheme-primary, #e30613);
}

.dtheme-whatsapp-cta {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  padding: 20px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 20px 40px rgba(22, 163, 74, 0.3);
}

.dtheme-btn.is-whatsapp {
  background: #fff;
  color: #16a34a;
  font-weight: 700;
}

.dtheme-company-sidebar .widget-title {
  font-size: 18px;
  margin-bottom: 12px;
}

@media (max-width: 960px) {
  .dtheme-company-hero-shell {
    padding: 24px;
  }

  .dtheme-company-single-logo {
    width: 100%;
  }

  .dtheme-company-hero-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .dtheme-company-hero-info {
    flex-direction: column;
  }

  .dtheme-company-hero-slider {
    width: 100%;
  }

  .dtheme-company-sharebar {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .dtheme-company-hero-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .dtheme-company-profile-head {
    flex-direction: column;
  }

  .dtheme-company-main.company-single .dtheme-company-profile {
    padding: 30px 22px;
  }

  .dtheme-company-share-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

.dtheme-company-profile-body iframe,
.dtheme-company-profile-body embed,
.dtheme-company-profile-body object {
  max-width: 100%;
  width: 100%;
  height: auto;
  border: 0;
  display: block;
}
