/*
Theme Name: Mind With Media
Theme URI: https://blue-pelican-869898.hostingersite.com
Author: Mind With Media
Author URI: https://blue-pelican-869898.hostingersite.com
Description: A premium custom WordPress theme for personal brand building and LinkedIn growth strategy services.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: brand-builder
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
*/

.bb-nav-links a {
  white-space: nowrap;
}

.bb-mobile-menu {
  max-height: 0;
  overflow: hidden;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  opacity: 0;
  transition: max-height 260ms ease, opacity 220ms ease, padding 260ms ease;
}

.bb-mobile-menu.is-open {
  max-height: 24rem;
  padding-top: 1rem !important;
  padding-bottom: 0.5rem !important;
  opacity: 1;
}

@media (min-width: 768px) and (max-width: 1099px) {
  .bb-nav-links,
  .bb-nav-cta {
    display: none !important;
  }

  .bb-mobile-toggle {
    display: inline-flex !important;
  }

  .bb-mobile-menu {
    display: block !important;
  }
}

@media (min-width: 1100px) {
  .bb-nav-links,
  .bb-nav-cta {
    display: flex !important;
  }

  .bb-mobile-toggle,
  .bb-mobile-menu {
    display: none !important;
  }
}

.mockup-glow-a,
.mockup-glow-b {
  display: none;
  position: absolute;
  border-radius: 999px;
  filter: blur(36px);
  pointer-events: none;
}

.mockup-glow-a {
  inset: 2rem 1.5rem auto;
  height: 18rem;
  background: hsl(214 54% 27.5% / 0.1);
}

.mockup-glow-b {
  top: 6rem;
  right: 2rem;
  width: 14rem;
  height: 14rem;
  background: hsl(210 56% 14.5% / 0.1);
}

.profile-card {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 1px solid hsl(214 30% 90% / 0.7);
  border-radius: var(--radius);
  background: hsl(var(--background));
  box-shadow: 0 24px 60px -24px hsl(210 56% 14.5% / 0.25);
}

.profile-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  padding: 0.75rem 1.25rem;
}

.linkedin-logo {
  display: grid;
  place-items: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 2px;
  background: hsl(var(--primary-foreground));
  color: hsl(var(--primary));
  font-size: 0.625rem;
  font-weight: 700;
}

.profile-icons {
  display: flex;
  gap: 1.25rem;
  opacity: 0.75;
}

.profile-icons span {
  font-size: 0.625rem;
  font-weight: 700;
}

.profile-banner {
  height: 4rem;
  background: hsl(59 100% 87% / 0.7);
}

.dfy-visual-mobile,
.dfy-visual-desktop {
  position: relative;
}

.dfy-visual-mobile {
  width: 100%;
  max-width: 360px;
  /* tightened mobile visual to reduce empty background space while
     preserving overall section rhythm */
  height: 360px;
  margin: 0 auto;
}

.dfy-visual-mobile::before,
.dfy-visual-mobile::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(36px);
  pointer-events: none;
}

.dfy-visual-mobile::before {
  inset: 2.5rem 3rem auto;
  height: 13rem;
  background: hsl(214 54% 27.5% / 0.1);
}

.dfy-visual-mobile::after {
  top: 3.5rem;
  right: 1.75rem;
  width: 9rem;
  height: 9rem;
  background: hsl(210 56% 14.5% / 0.1);
}

.dfy-visual-desktop {
  display: none;
}

.dfy-mockup {
  position: relative;
  width: 100%;
  max-width: 360px;
  height: 366px;
  margin: 0 auto;
}

.dfy-visual-mobile .dfy-mockup {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 0;
  width: 88%;
  transform: translateX(-50%);
}

.dfy-profile-card {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  width: 78%;
}

.dfy-profile-card .profile-avatar-placeholder {
  width: 4rem;
  height: 4rem;
  margin-top: -2.25rem;
  border-radius: 999px;
  background: hsl(214 54% 27.5% / 0.2);
  outline: 4px solid hsl(var(--background));
}

.dfy-skeleton-body {
  padding: 0 1.25rem 1.25rem;
}

.skeleton-line {
  display: block;
  height: 0.625rem;
  border-radius: 999px;
  background: hsl(210 56% 14.5% / 0.2);
}

.skeleton-line-muted {
  background: hsl(var(--muted));
}

.skeleton-stack,
.skeleton-copy {
  display: grid;
  gap: 0.5rem;
}

.dfy-mock-post {
  border-radius: 6px;
  background: hsl(222 18% 59.4% / 0.4);
  padding: 0.75rem;
}

.mock-posts {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.metric-chip {
  display: none;
  position: absolute;
  z-index: 3;
  border: 1px solid hsl(214 30% 90% / 0.8);
  border-radius: var(--radius);
  background: hsl(var(--background));
  box-shadow: 0 24px 60px -24px hsl(210 56% 14.5% / 0.25);
  padding: 1rem;
}

.metric-label {
  color: hsl(var(--muted-foreground));
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.metric-value {
  margin-top: 0.25rem;
  color: hsl(var(--primary));
  font-size: 1.5rem;
  font-weight: 700;
}

.mini-bars {
  display: flex;
  align-items: flex-end;
  gap: 0.375rem;
  height: 2.5rem;
}

.mini-bars span {
  width: 0.625rem;
  border-radius: 999px 999px 0 0;
  background: hsl(214 54% 27.5% / 0.7);
}

.dfy-small-photo {
  position: absolute;
  /* anchor to the mockup's right edge and sit at mockup bottom (mirror React) */
  right: 0;
  left: auto;
  top: auto;
  bottom: 0;
  z-index: 10;
  width: 55%;
  max-width: 2080px;
  transform: translateY(77px);
}

.dfy-small-photo img {
  width: 100%;
  height: 2112px;
  object-fit: contain;
  object-position: left bottom;
  filter: drop-shadow(0 24px 32px rgba(8, 35, 66, 0.18));
  display: block;
}

.dfy-mobile-chip {
  display: block;
  left: 8%;
  bottom: 34px;
  width: 42%;
  max-width: 148px;
  padding: 0.75rem;
  background: hsl(350 100% 98.4% / 0.96);
  backdrop-filter: blur(8px);
}

.dfy-mobile-chip .metric-label {
  font-size: 0.5625rem;
  letter-spacing: 0.18em;
}

.dfy-mobile-chip .metric-value {
  font-size: 1.25rem;
}

.dfy-mobile-chip .mini-bars {
  height: 1.75rem;
  margin-top: 0.5rem;
  gap: 0.25rem;
}

.dfy-mobile-chip .mini-bars span {
  width: 0.5rem;
}

.floating-trend,
.floating-check {
  display: none;
  position: absolute;
  z-index: 4;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  box-shadow: 0 24px 60px -24px hsl(210 56% 14.5% / 0.25);
}

.floating-trend {
  width: 3.5rem;
  height: 3.5rem;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.floating-check {
  width: 3rem;
  height: 3rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--background));
  color: hsl(var(--primary));
}

@media (min-width: 640px) and (max-width: 1023px) {
  .dfy-visual-mobile {
    max-width: 420px;
    /* slightly tighter on tablet to reduce empty edges */
    height: 420px;
  }

  .dfy-visual-mobile .dfy-mockup {
    width: 86%;
  }

  .dfy-small-photo {
    /* anchor more tightly to the mockup and sit at mockup bottom (mirror React small breakpoint) */
    right: 0;
    left: auto;
    top: auto;
    bottom: 0;
    width: 46%;
    max-width: 2400px;
    transform: translateY(77px);
  }

  .dfy-small-photo img {
    height: 2520px;
  }

  .dfy-mobile-chip {
    bottom: 40px;
    max-width: 164px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .dfy-visual-mobile {
    max-width: 460px;
    height: 460px;
  }

  .dfy-visual-mobile .dfy-mockup {
    width: 84%;
  }

  .dfy-small-photo {
    right: 0;
    left: auto;
    top: auto;
    bottom: 0;
    width: 48%;
    max-width: 2720px;
    transform: translateY(77px);
  }

  .dfy-small-photo img {
    height: 2832px;
  }

  .dfy-mobile-chip {
    bottom: 52px;
    max-width: 176px;
  }
}

@media (min-width: 1024px) {
  .mockup-glow-a,
  .mockup-glow-b {
    display: block;
  }

  .dfy-visual-mobile {
    display: none;
  }

  .dfy-visual-desktop {
    display: block;
    width: 100%;
    max-width: 560px;
    height: 500px;
    margin: 0 auto;
  }

  .dfy-visual-desktop .dfy-mockup {
    z-index: 1;
    height: 460px;
    max-width: 420px;
  }

  .dfy-visual-desktop .dfy-photo {
    position: absolute;
    z-index: 10;
    right: 0;
    bottom: 2.5rem;
    width: 50%;
  }

  .dfy-visual-desktop .dfy-photo img {
    width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 24px 32px rgba(8, 35, 66, 0.18));
  }

  .dfy-visual-desktop .dfy-profile-card {
    top: 1.5rem;
    right: 0;
    width: 360px;
  }

  .dfy-mockup .metric-chip {
    display: block;
    left: 0;
    bottom: -1rem;
    width: 10rem;
  }

  .dfy-mockup .floating-trend {
    display: flex;
    top: -0.75rem;
    right: -0.5rem;
  }

  .dfy-mockup .floating-check {
    display: flex;
    right: 0.5rem;
    bottom: 1.5rem;
  }
}
