
/* WordPress integration and neutral-asset adjustments. */
.brand-text {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--text, currentColor);
  white-space: nowrap;
}
.brand-logo,
.custom-logo {
  width: auto;
  max-width: 220px;
  max-height: 48px;
  object-fit: contain;
}
.brandpress-home .template-thumb img,
.brandpress-home .wordpress-card-media img,
.brandpress-member-page .edd-download-card__thumbnail img {
  display: block;
  width: 100%;
  object-fit: cover;
}
.brandpress-member-page .edd_purchase_submit_wrapper > a {
  text-decoration: none;
}
.brandpress-member-page .site-title {
  margin: 0;
}
.brandpress-member-page .site-title a {
  text-decoration: none;
}
.brandpress-member-page .hero-custom__background {
  background-position: center;
  background-size: cover;
}
.admin-bar .site-header {
  top: 32px;
}
@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}
@media (max-width: 600px) {
  .brand-logo,
  .custom-logo { max-width: 170px; max-height: 42px; }
  .brand-text { font-size: 1.1rem; }
}

.bpmt-product-tags{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}.bpmt-product-tags span{display:inline-flex;align-items:center;padding:4px 9px;border-radius:999px;background:rgba(37,99,235,.1);font-size:12px;font-weight:600}.bpmt-product-button{border-style:solid!important;text-decoration:none!important}.bpmt-product-button:hover{filter:brightness(.94)}.bpmt-member-actions{display:flex!important;flex-wrap:wrap;gap:8px}.bpmt-member-actions>a{flex:1 1 auto;text-align:center;border-radius:7px;padding:10px 12px;text-decoration:none}

/* BrandPress Elementor-like visual section layouts v1.5.0 */
.bpmt-platform-section--wordpress{background:color-mix(in srgb,var(--color-primary,#2563eb) 5%,transparent)}
.bpmt-platform-grid{align-items:stretch}.bpmt-platform-card{height:100%}.bpmt-builder-section{color:inherit}.bpmt-builder-section .section-title,.bpmt-builder-section .section-subtitle,.bpmt-builder-section .section-eyebrow{color:inherit}.bpmt-builder-full{width:100%;padding-inline:clamp(20px,4vw,64px)}.bpmt-builder-items{display:grid;align-items:stretch}.bpmt-builder-gap--none .bpmt-builder-items{gap:0}.bpmt-builder-gap--small .bpmt-builder-items{gap:12px}.bpmt-builder-gap--medium .bpmt-builder-items{gap:24px}.bpmt-builder-gap--large .bpmt-builder-items{gap:40px}.bpmt-builder-align--left .bpmt-builder-item__content{text-align:left}.bpmt-builder-align--center .bpmt-builder-item__content{text-align:center}.bpmt-builder-align--right .bpmt-builder-item__content{text-align:right}.bpmt-builder-align--center .bpmt-builder-item__content .btn{align-self:center}.bpmt-builder-align--right .bpmt-builder-item__content .btn{align-self:flex-end}.bpmt-builder-item{display:flex;min-width:0;overflow:hidden;flex-direction:column;border:1px solid rgba(148,163,184,.28);border-radius:18px;background:rgba(255,255,255,.76);box-shadow:0 12px 30px rgba(15,23,42,.06)}.bpmt-builder-item__image{aspect-ratio:16/10;overflow:hidden;background:#e2e8f0}.bpmt-builder-item__image img{display:block;width:100%;height:100%;object-fit:cover}.bpmt-builder-item__content{display:flex;flex:1;flex-direction:column;padding:24px}.bpmt-builder-item__content h3{margin:0 0 10px;font-size:1.25rem;color:inherit}.bpmt-builder-item__content p{margin:0 0 18px;color:inherit;opacity:.8;line-height:1.7}.bpmt-builder-item__content .btn{align-self:flex-start;margin-top:auto}.bpmt-builder-section--one .bpmt-builder-items{grid-template-columns:minmax(0,1fr)}.bpmt-builder-section--two_equal .bpmt-builder-items{grid-template-columns:repeat(2,minmax(0,1fr))}.bpmt-builder-section--two_left .bpmt-builder-items{grid-template-columns:minmax(0,1fr) minmax(0,2fr)}.bpmt-builder-section--two_right .bpmt-builder-items{grid-template-columns:minmax(0,2fr) minmax(0,1fr)}.bpmt-builder-section--three .bpmt-builder-items{grid-template-columns:repeat(3,minmax(0,1fr))}.bpmt-builder-section--four .bpmt-builder-items{grid-template-columns:repeat(4,minmax(0,1fr))}.bpmt-builder-section--media_left .bpmt-builder-items{grid-template-columns:minmax(260px,.82fr) minmax(0,1.18fr)}.bpmt-builder-section--media_right .bpmt-builder-items{grid-template-columns:minmax(0,1.18fr) minmax(260px,.82fr)}.bpmt-builder-section--media_left .bpmt-builder-item:first-child .bpmt-builder-item__image,.bpmt-builder-section--media_right .bpmt-builder-item:last-child .bpmt-builder-item__image{aspect-ratio:4/5}.bpmt-builder-section--media_left .bpmt-builder-item:nth-child(2),.bpmt-builder-section--media_right .bpmt-builder-item:first-child{justify-content:center}
@media(max-width:980px){.bpmt-builder-section--four .bpmt-builder-items,.bpmt-builder-section--three .bpmt-builder-items{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.bpmt-builder-section .bpmt-builder-items{grid-template-columns:1fr!important}.bpmt-builder-gap--large .bpmt-builder-items{gap:24px}.bpmt-builder-item__content{padding:22px}.bpmt-builder-section--media_left .bpmt-builder-item:first-child .bpmt-builder-item__image,.bpmt-builder-section--media_right .bpmt-builder-item:last-child .bpmt-builder-item__image{aspect-ratio:16/10}}


/* v1.6 synchronized section color palettes. */
.bpmt-themed-section{background:var(--bpmt-section-bg,#fff)!important;color:var(--bpmt-section-text,#0f172a)}
.bpmt-themed-section .section-title,.bpmt-themed-section .section-subtitle,.bpmt-themed-section .template-name,.bpmt-themed-section .template-description,.bpmt-themed-section .price-discounted,.bpmt-themed-section .price-member,.bpmt-themed-section .faq-question,.bpmt-themed-section .faq-answer,.bpmt-themed-section .faq-contact{color:var(--bpmt-section-text,#0f172a)}
.bpmt-themed-section .section-subtitle,.bpmt-themed-section .template-description,.bpmt-themed-section .faq-answer,.bpmt-themed-section .faq-contact{opacity:.78}
.bpmt-themed-section .section-eyebrow,.bpmt-themed-section .template-badge,.bpmt-themed-section .bpmt-product-tags span,.bpmt-themed-section .faq-contact a{color:var(--bpmt-section-accent,#2563eb)}
.bpmt-themed-section .template-card,.bpmt-themed-section .bpmt-builder-item,.bpmt-themed-section .faq-item{background:var(--bpmt-section-card,#fff)!important;color:var(--bpmt-section-text,#0f172a);border-color:color-mix(in srgb,var(--bpmt-section-text,#0f172a) 14%,transparent)}
.bpmt-themed-section .bpmt-product-tags span{background:color-mix(in srgb,var(--bpmt-section-accent,#2563eb) 12%,transparent)}
.bpmt-themed-section .template-thumb,.bpmt-themed-section .bpmt-builder-item__image{background:color-mix(in srgb,var(--bpmt-section-text,#0f172a) 8%,var(--bpmt-section-card,#fff))}
.bpmt-themed-section .bpmt-builder-item__content h3,.bpmt-themed-section .bpmt-builder-item__content p{color:var(--bpmt-section-text,#0f172a)}
.bpmt-themed-section .bpmt-builder-item__content .btn{background:var(--bpmt-section-accent,#2563eb);border-color:var(--bpmt-section-accent,#2563eb);color:#fff}
.bpmt-platform-section--wordpress{background:var(--bpmt-section-bg,#f5f8ff)!important}

/* v1.7.2 unified navbar and refined dark-mode coverage. */
.brandpress-member-page .member-page-shell{min-height:100vh;background:var(--color-bg)}
.brandpress-member-page .site-header{position:sticky!important;top:0;z-index:80;background:color-mix(in srgb,var(--color-bg) 84%,transparent)!important;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border-bottom:1px solid color-mix(in srgb,var(--color-border,#e2e8f0) 72%,transparent);transform:none!important}
.brandpress-member-page .header-inner{min-height:68px;height:68px;display:flex;align-items:center;justify-content:space-between;gap:1.25rem}
.brandpress-member-page .brand{display:inline-flex;align-items:center;min-width:0;flex-shrink:0;text-decoration:none}
.brandpress-member-page .brand .brand-text{min-height:0;color:var(--color-text);font-size:1.35rem}
.brandpress-member-page .brand .brand-logo,.brandpress-member-page .brand .custom-logo{display:block;max-width:220px;max-height:44px}
.brandpress-member-page .site-nav{display:flex!important;align-items:center;justify-content:flex-end;gap:1.5rem;margin-left:auto;overflow:visible!important;position:static;min-width:0}
.brandpress-member-page .nav-link{display:inline-flex;align-items:center;padding:0!important;color:var(--color-muted);font-size:.9rem;font-weight:500;white-space:nowrap;position:relative;text-decoration:none}
.brandpress-member-page .nav-link:before{display:none!important}
.brandpress-member-page .nav-link:after{content:"";position:absolute;left:0;bottom:-.4rem;width:0;height:2px;border-radius:999px;background:var(--color-accent,#2563eb);transition:width .18s ease}
.brandpress-member-page .nav-link:hover{color:var(--color-text);text-decoration:none;filter:none}
.brandpress-member-page .nav-link:hover:after{width:100%}
.brandpress-member-page .header-actions{display:flex;align-items:center;gap:.75rem;flex-shrink:0}
.brandpress-member-page .theme-toggle,.brandpress-member-page .nav-toggle{width:2.35rem;height:2.35rem;border-radius:999px;border:1px solid var(--color-border,#e2e8f0);display:inline-flex;align-items:center;justify-content:center;background:color-mix(in srgb,var(--color-surface,#fff) 88%,transparent);color:var(--color-text);padding:0;cursor:pointer;transition:background .2s ease,transform .15s ease,border-color .2s ease}
.brandpress-member-page .theme-toggle:hover,.brandpress-member-page .nav-toggle:hover{background:var(--color-surface-alt,#f1f5f9);transform:scale(1.04)}
.brandpress-member-page .theme-toggle__icon{width:1.25rem;height:1.25rem;display:none;color:currentColor}
html[data-theme=light] .brandpress-member-page .theme-toggle__icon--light,html[data-theme=dark] .brandpress-member-page .theme-toggle__icon--dark{display:block}
.brandpress-member-page .nav-toggle{display:none;position:relative}
.brandpress-member-page .nav-toggle-bar,.brandpress-member-page .nav-toggle-bar:before,.brandpress-member-page .nav-toggle-bar:after{width:1.15rem;height:2px;border-radius:999px;background:currentColor;transition:transform .16s ease,opacity .16s ease,top .16s ease,bottom .16s ease}
.brandpress-member-page .nav-toggle-bar{position:relative}
.brandpress-member-page .nav-toggle-bar:before,.brandpress-member-page .nav-toggle-bar:after{content:"";position:absolute;left:0}
.brandpress-member-page .nav-toggle-bar:before{top:-.35rem}.brandpress-member-page .nav-toggle-bar:after{bottom:-.35rem}
.brandpress-member-page .nav-toggle--open .nav-toggle-bar{background:transparent}
.brandpress-member-page .nav-toggle--open .nav-toggle-bar:before{top:0;transform:rotate(45deg)}
.brandpress-member-page .nav-toggle--open .nav-toggle-bar:after{bottom:0;transform:rotate(-45deg)}
.brandpress-member-page .back-to-top{position:fixed;right:1.5rem;bottom:1.5rem;width:2.75rem;height:2.75rem;border-radius:.75rem;background:var(--color-accent,#2563eb);color:var(--color-on-accent,#fff);display:flex;align-items:center;justify-content:center;opacity:0;visibility:hidden;transform:translateY(.75rem);transition:opacity .2s ease,visibility .2s ease,transform .2s ease;z-index:70}
.brandpress-member-page .back-to-top--visible{opacity:1;visibility:visible;transform:none}
@media(max-width:960px){
  .brandpress-member-page .nav-toggle{display:inline-flex}
  .brandpress-member-page .site-nav{display:none!important;position:absolute!important;top:68px;left:0;right:0;flex-direction:column;align-items:stretch;gap:.25rem;margin:0;padding:12px var(--space-10,24px) 18px;background:var(--color-bg);border-bottom:1px solid var(--color-border,#e2e8f0);box-shadow:0 12px 28px rgba(15,23,42,.12)}
  .brandpress-member-page .site-nav.site-nav--open{display:flex!important}
  .brandpress-member-page .nav-link{padding:.7rem .8rem!important;border-radius:.65rem}
  .brandpress-member-page .nav-link:hover{background:var(--color-surface);color:var(--color-text)}
  .brandpress-member-page .nav-link:after{display:none}
}
@media(max-width:600px){
  .brandpress-member-page .header-inner{height:62px;min-height:62px}
  .brandpress-member-page .site-nav{top:62px;padding-inline:18px}
  .brandpress-member-page .brand .brand-logo,.brandpress-member-page .brand .custom-logo{max-width:170px;max-height:40px}
  .brandpress-member-page .brand .brand-text{font-size:1.1rem}
}

/* Dark mode: never leave white strips or white cards on the homepage. */
html[data-theme=dark] body.brandpress-home,html[data-theme=dark] body.brandpress-member-page{background:#0d1719!important;color:#f0f9fa}
html[data-theme=dark] .brandpress-home .page,html[data-theme=dark] .brandpress-member-page .member-page-shell,html[data-theme=dark] .brandpress-member-page .site-main,html[data-theme=dark] .brandpress-member-page .layout,html[data-theme=dark] .brandpress-member-page .content{background:#0d1719!important;color:#f0f9fa}
html[data-theme=dark] .brandpress-home .section:not(.bpmt-themed-section),html[data-theme=dark] .brandpress-home .site-footer{background:#0d1719!important;color:#f0f9fa}
html[data-theme=dark] .brandpress-home .bpmt-themed-section{background:color-mix(in srgb,var(--bpmt-section-bg,#ffffff) 10%,#0d1719 90%)!important;color:#f0f9fa!important}
html[data-theme=dark] .brandpress-home .bpmt-themed-section .template-card,html[data-theme=dark] .brandpress-home .bpmt-themed-section .bpmt-builder-item,html[data-theme=dark] .brandpress-home .bpmt-themed-section .faq-item{background:color-mix(in srgb,var(--bpmt-section-card,#ffffff) 10%,#14272c 90%)!important;color:#f0f9fa!important;border-color:color-mix(in srgb,var(--bpmt-section-accent,#22d3ee) 22%,#334155)!important;box-shadow:none}
html[data-theme=dark] .brandpress-home .bpmt-themed-section .section-title,html[data-theme=dark] .brandpress-home .bpmt-themed-section .template-name,html[data-theme=dark] .brandpress-home .bpmt-themed-section .price-discounted,html[data-theme=dark] .brandpress-home .bpmt-themed-section .price-member,html[data-theme=dark] .brandpress-home .bpmt-themed-section .faq-question,html[data-theme=dark] .brandpress-home .bpmt-themed-section .bpmt-builder-item__content h3{color:#f0f9fa!important}
html[data-theme=dark] .brandpress-home .bpmt-themed-section .section-subtitle,html[data-theme=dark] .brandpress-home .bpmt-themed-section .template-description,html[data-theme=dark] .brandpress-home .bpmt-themed-section .faq-answer,html[data-theme=dark] .brandpress-home .bpmt-themed-section .faq-contact,html[data-theme=dark] .brandpress-home .bpmt-themed-section .bpmt-builder-item__content p{color:#9cc5cf!important;opacity:1}
html[data-theme=dark] .brandpress-home .bpmt-themed-section .template-thumb,html[data-theme=dark] .brandpress-home .bpmt-themed-section .bpmt-builder-item__image{background:#1b3035!important}
html[data-theme=dark] .brandpress-home .benefit-card,html[data-theme=dark] .brandpress-home .testimonial-card{background:#14272c!important;color:#f0f9fa!important;border-color:#24434b!important;box-shadow:none}
html[data-theme=dark] .brandpress-home .benefit-title,html[data-theme=dark] .brandpress-home .testimonial-name{color:#f0f9fa!important}
html[data-theme=dark] .brandpress-home .benefit-text,html[data-theme=dark] .brandpress-home .testimonial-quote,html[data-theme=dark] .brandpress-home .testimonial-product{color:#9cc5cf!important}

/* Dark mode: member catalogue, hero, cards, testimonials and footer use one coherent palette. */
html[data-theme=dark] .brandpress-member-page .site-header{background:color-mix(in srgb,#0d1719 88%,transparent)!important;border-bottom-color:#24434b}
html[data-theme=dark] .brandpress-member-page .theme-toggle,html[data-theme=dark] .brandpress-member-page .nav-toggle{background:#14272c;border-color:#2c4d55;color:#f0f9fa}
html[data-theme=dark] .brandpress-member-page .site-nav{background:#0d1719}
html[data-theme=dark] .brandpress-member-page .hero-custom{background:#102126!important}
html[data-theme=dark] .brandpress-member-page .hero-custom__overlay{background:#061013!important;opacity:.72!important}
html[data-theme=dark] .brandpress-member-page .edd-archive-header,html[data-theme=dark] .brandpress-member-page .edd-testimonials-section,html[data-theme=dark] .brandpress-member-page .site-footer{background:#0d1719!important;color:#f0f9fa}
html[data-theme=dark] .brandpress-member-page .edd-download-card,html[data-theme=dark] .brandpress-member-page .edd-testimonial-card{background:#14272c!important;color:#f0f9fa!important;border:1px solid #24434b;box-shadow:none}
html[data-theme=dark] .brandpress-member-page .edd-download-card__thumbnail,html[data-theme=dark] .brandpress-member-page .edd-download-card__placeholder{background:#1b3035!important}
html[data-theme=dark] .brandpress-member-page .edd-download-card__title,html[data-theme=dark] .brandpress-member-page .edd-download-card__title a,html[data-theme=dark] .brandpress-member-page .edd-download-card__price,html[data-theme=dark] .brandpress-member-page .edd-section-title,html[data-theme=dark] .brandpress-member-page .edd-testimonials-section__title,html[data-theme=dark] .brandpress-member-page .edd-testimonial-card__name,html[data-theme=dark] .brandpress-member-page .edd-testimonial-card__content{color:#f0f9fa!important}
html[data-theme=dark] .brandpress-member-page .edd-download-card__excerpt,html[data-theme=dark] .brandpress-member-page .edd-download-card__badge,html[data-theme=dark] .brandpress-member-page .site-footer__info{color:#9cc5cf!important}
html[data-theme=dark] .brandpress-member-page .edd-testimonial-card__footer,html[data-theme=dark] .brandpress-member-page .edd-testimonials-section{border-color:#24434b!important}


/* v1.7.2: homepage logo visibility and card-only dark tint for synchronized sections. */
.brandpress-home .brand .brand-logo,
.brandpress-home .brand .custom-logo {
  display: block !important;
  width: auto;
  height: auto;
  max-width: 220px;
  max-height: 44px;
  object-fit: contain;
}

/* Keep the page/section canvas consistently dark; only cards/columns receive a soft gray tint. */
html[data-theme=dark] .brandpress-home .bpmt-themed-section {
  background: #0d1719 !important;
  color: #f0f9fa !important;
}
html[data-theme=dark] .brandpress-home .bpmt-themed-section .template-card,
html[data-theme=dark] .brandpress-home .bpmt-themed-section .bpmt-builder-item,
html[data-theme=dark] .brandpress-home .bpmt-themed-section .faq-item {
  background: #17262a !important;
  border-color: #29444b !important;
  box-shadow: none !important;
}
html[data-theme=dark] .brandpress-home .bpmt-themed-section .template-thumb,
html[data-theme=dark] .brandpress-home .bpmt-themed-section .bpmt-builder-item__image {
  background: #1b3035 !important;
}
@media (max-width: 600px) {
  .brandpress-home .brand .brand-logo,
  .brandpress-home .brand .custom-logo {
    max-width: 170px;
    max-height: 40px;
  }
}


/* v1.7.3: configurable Hero buttons and original light/dark icons. */
.brandpress-home .hero-actions .hero-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid transparent;
  border-radius:var(--hero-btn-radius,8px);
  font-weight:600;
  text-decoration:none;
  transition:transform .18s ease,box-shadow .18s ease,background .22s ease,color .22s ease;
  animation:none!important;
  background-size:100% 100%!important;
}
.brandpress-home .hero-actions .hero-button:before{display:none!important}
.brandpress-home .hero-actions .hero-button--primary{
  background:linear-gradient(135deg,var(--hero-btn-1-start,#4f46e5),var(--hero-btn-1-end,#ea580c))!important;
  color:var(--hero-btn-1-text,#fff)!important;
  border-color:transparent!important;
}
.brandpress-home .hero-actions .hero-button--primary:hover{
  background:linear-gradient(135deg,var(--hero-btn-1-hover-start,#4338ca),var(--hero-btn-1-hover-end,#c2410c))!important;
  color:var(--hero-btn-1-text,#fff)!important;
  transform:translateY(-2px);
  box-shadow:0 10px 24px rgba(15,23,42,.18);
}
.brandpress-home .hero-actions .hero-button--secondary{
  background:linear-gradient(135deg,var(--hero-btn-2-start,#172033),var(--hero-btn-2-end,#1e293b))!important;
  color:var(--hero-btn-2-text,#fff)!important;
  border-color:color-mix(in srgb,var(--hero-btn-2-text,#fff) 18%,transparent)!important;
}
.brandpress-home .hero-actions .hero-button--secondary:hover{
  background:linear-gradient(135deg,var(--hero-btn-2-hover-start,#1e293b),var(--hero-btn-2-hover-end,#334155))!important;
  color:var(--hero-btn-2-text,#fff)!important;
  transform:translateY(-2px);
  box-shadow:0 10px 24px rgba(15,23,42,.16);
}
.brandpress-home .hero-actions .hero-button:focus-visible{
  outline:3px solid color-mix(in srgb,var(--color-primary,#2563eb) 38%,transparent);
  outline-offset:3px;
}
.brandpress-member-page .hero-custom__button{
  background:var(--member-hero-btn,#2563eb)!important;
  color:var(--member-hero-btn-text,#fff)!important;
  border-color:var(--member-hero-btn,#2563eb)!important;
}
.brandpress-member-page .hero-custom__button:hover{
  background:var(--member-hero-btn-hover,#1d4ed8)!important;
  color:var(--member-hero-btn-text,#fff)!important;
  border-color:var(--member-hero-btn-hover,#1d4ed8)!important;
}
/* The SVG structure is now identical to the original file supplied by the user. */
.theme-toggle__icon{stroke:currentColor;fill:none}
