/* v610 — product clarity, text podcast and account boundaries.
   This layer follows v609 so the visual language stays stable while the
   newly exposed actions become easier to scan on a phone. */

/* The podcast is a real public destination, not a decorative promo. */
:root[data-dg-bazaar] .home-podcast-section,
:root[data-dg-bazaar] .podcast-page-section { position: relative; }
:root[data-dg-bazaar] .home-podcast-card,
:root[data-dg-bazaar] .podcast-episode-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, .85fr);
  gap: clamp(18px, 4vw, 42px);
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(157, 119, 57, .25);
  background:
    radial-gradient(circle at 88% 18%, rgba(216,181,102,.18), transparent 32%),
    linear-gradient(135deg, rgba(247,244,235,.98), rgba(239,246,241,.96));
}
:root[data-dg-bazaar] .podcast-copy { min-width: 0; }
:root[data-dg-bazaar] .podcast-copy h1,
:root[data-dg-bazaar] .podcast-copy h2 { margin: 8px 0 10px; }
:root[data-dg-bazaar] .podcast-copy p { max-width: 60ch; line-height: 2; }
:root[data-dg-bazaar] .podcast-cover {
  position: relative;
  min-height: 190px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #f7f4eb;
  background: linear-gradient(145deg, #123f38 0%, #0a6357 56%, #ad833e 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 16px 34px rgba(25,64,55,.14);
}
:root[data-dg-bazaar] .podcast-cover::before,
:root[data-dg-bazaar] .podcast-cover::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(239,210,142,.45);
  border-radius: 50%;
}
:root[data-dg-bazaar] .podcast-cover::before { width: 128px; height: 128px; }
:root[data-dg-bazaar] .podcast-cover::after { width: 174px; height: 174px; opacity: .48; }
:root[data-dg-bazaar] .podcast-cover-mark { position: relative; z-index: 1; display: grid; place-items: center; gap: 8px; }
:root[data-dg-bazaar] .podcast-cover-mark .dgi { width: 42px; height: 42px; color: #efd28e; }
:root[data-dg-bazaar] .podcast-cover-mark strong { font-family: var(--font-display, serif); font-size: 1.35rem; }
:root[data-dg-bazaar] .podcast-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 14px; }
:root[data-dg-bazaar] .podcast-transcript { margin-top: 16px; }
:root[data-dg-bazaar] .podcast-transcript summary { cursor: pointer; font-weight: 750; color: var(--color-primary, #0a6357); }
:root[data-dg-bazaar] .podcast-transcript p { margin: 10px 0 0; font-size: .9rem; }

/* Account navigation: profile owns identity editing; account/security owns
   authentication, connected channels and export only. */
:root[data-dg-bazaar] .account-profile-link { display: inline-flex; align-items: center; gap: 8px; }
:root[data-dg-bazaar] .account-security-note { line-height: 1.95; }

/* Directory guidance now reads as an instruction rather than a slogan. */
:root[data-dg-bazaar] .dir-hero-guidance { max-width: 62ch; line-height: 1.9; }
:root[data-dg-bazaar] .dir-filters > summary { min-height: 44px; }
:root[data-dg-bazaar] .dir-filters .filter-count { min-width: 22px; text-align: center; }
:root[data-dg-bazaar] .dir-toolbar .dir-row .search-wrap .input::placeholder { opacity: .78; }
:root[data-dg-bazaar] .cats-search-wrap .input::placeholder { opacity: .78; }

/* The shopping-center block is easier to scan when the destination and its
   explanation have distinct visual weights. */
:root[data-dg-bazaar] .home-shopping-centers .card-title { line-height: 1.55; }
:root[data-dg-bazaar] .home-shopping-centers .mall-directory-copy { line-height: 1.9; }

@media (max-width: 760px) {
  :root[data-dg-bazaar] .home-podcast-card,
  :root[data-dg-bazaar] .podcast-episode-card { grid-template-columns: 1fr; gap: 16px; }
  :root[data-dg-bazaar] .podcast-cover { min-height: 145px; order: -1; }
  :root[data-dg-bazaar] .podcast-cover::after { width: 142px; height: 142px; }
  :root[data-dg-bazaar] .podcast-cover::before { width: 102px; height: 102px; }
}

/* v611 logo-day: the user-supplied transparent mark is the light-theme site logo.
   This light-only override removes the legacy cream plate; dark/night selectors
   are intentionally untouched so their existing treatment remains unchanged. */
html[data-dg-design="editorial"][data-dg-bazaar][data-theme="light"] .site-header .brand-mark {
  width: 42px !important;
  height: 42px !important;
  padding: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
html[data-dg-design="editorial"][data-dg-bazaar][data-theme="light"] .site-header .brand-mark img {
  width: 40px !important;
  height: 40px !important;
  max-width: none !important;
  object-fit: contain !important;
  display: block !important;
}
@media (max-width: 767px) {
  html[data-dg-design="editorial"][data-dg-bazaar][data-theme="light"] .site-header .brand-mark {
    width: 38px !important;
    height: 38px !important;
  }
  html[data-dg-design="editorial"][data-dg-bazaar][data-theme="light"] .site-header .brand-mark img {
    width: 36px !important;
    height: 36px !important;
  }
}

/* Keep the authenticated day-theme header consistent with the public logo:
   the panel uses the same mark, but does not carry data-dg-bazaar. */
html[data-theme="light"] body.page-panel .site-header .brand-mark {
  width: 42px !important;
  height: 42px !important;
  padding: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
html[data-theme="light"] body.page-panel .site-header .brand-mark img {
  width: 40px !important;
  height: 40px !important;
  max-width: none !important;
  object-fit: contain !important;
  display: block !important;
}
@media (max-width: 767px) {
  html[data-theme="light"] body.page-panel .site-header .brand-mark {
    width: 38px !important;
    height: 38px !important;
  }
  html[data-theme="light"] body.page-panel .site-header .brand-mark img {
    width: 36px !important;
    height: 36px !important;
  }
}
