/* Layout adjustments for the 2026 React design migration. */
:root { --adultseo-red: #e3000f; }

/* The contact page uses the shared navigation in its dark variant. */
body.dark-contact-page header.site-header,
body.dark-contact-page header.site-header.fixed {
  background: #171717;
  border-bottom-color: #333;
}
body.dark-contact-page .site-header .header-brand-name { color: #fff; }
body.dark-contact-page .site-header .header-brand-name span { color: #a1a1aa; }
body.dark-contact-page .site-header #site-navigation #primary-menu > li > a { color: #f5f5f5; }
body.dark-contact-page .site-header #site-navigation #primary-menu > li > a:hover { color: #ff353e; }
body.dark-contact-page .site-header #site-navigation #primary-menu > li.menu-item--cta > a { color: #fff; }
body.dark-contact-page .site-header .header-mobile-hamburger .line { background: #fff; }
@media (min-width: 1024px) {
  body.dark-contact-page .site-header #site-navigation #primary-menu > li.menu-item--mega > ul.sub-menu {
    background: #171717;
    border-top-color: #333;
    box-shadow: 0 24px 36px rgba(0, 0, 0, .28);
  }
  body.dark-contact-page .site-header #site-navigation #primary-menu > li.menu-item--mega > ul.sub-menu > li > a {
    color: #f5f5f5;
  }
  body.dark-contact-page .site-header #site-navigation #primary-menu > li.menu-item--mega > ul.sub-menu > li > a:hover {
    background: #262626;
    color: #fff;
  }
}

.envelope-popup-contact {
  position: fixed;
  left: 40px;
  bottom: 40px;
  width: 72px;
  height: 72px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #fef2f2;
  box-shadow: none;
  animation: none;
  transition: transform .2s ease;
  z-index: 50;
}
.envelope-popup-contact:hover {
  transform: scale(1.05);
  background: #fef2f2;
}
.envelope-popup-contact > a { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; }
.envelope-popup-contact-inner {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #000;
  background: #fff;
  color: #000;
}
.envelope-popup-contact .envelope-popup-contact-inner svg { width: 24px; height: 24px; margin: 0; }
.envelope-popup-contact:hover svg path { fill: none; }
@media (max-width: 767px) { .envelope-popup-contact { display: none; } }

body .template-about-us.site-main,
body .template-contact-page.site-main { margin-top: 96px; }
@media (max-width: 1023px) {
  body .template-about-us.site-main,
  body .template-contact-page.site-main { margin-top: 80px; }
}

header.site-header,
header.site-header.fixed {
  height: 96px;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: none;
}
html body.admin-bar header#masthead,
html body.admin-bar header#masthead.fixed { top: 32px !important; }
.site-header .header-container {
  height: 100%;
  margin: 0 48px;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 24px;
}
.site-header .header-container .logo-site,
header.site-header.fixed .logo-site {
  margin: 0;
  padding: 0;
  flex: 0 0 auto;
}
.site-header .header-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #111827;
  text-decoration: none;
}
.site-header .header-brand-mark {
  width: 48px;
  height: 38px;
  background: var(--adultseo-red);
  display: grid;
  place-items: center;
}
.site-header .header-brand-mark svg { width: 28px; height: 22px; }
.site-header .header-brand-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1;
  text-transform: uppercase;
}
.site-header .header-brand-name span { color: #9ca3af; }
.site-header #site-navigation { margin-left: auto; height: 100%; }
.site-header #site-navigation .header-menu,
.site-header #site-navigation .menu-menu-1-container { height: 100%; }
.site-header #site-navigation #primary-menu {
  display: flex;
  height: 100%;
  align-items: center;
  gap: 42px;
  margin: 0;
  padding: 0;
}
.site-header #site-navigation #primary-menu > li {
  display: flex;
  align-items: center;
  height: 100%;
  margin: 0;
  padding: 0;
}
.site-header #site-navigation #primary-menu > li > a {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  height: auto;
  padding: 0;
  border: 0;
  color: #1f2937;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .3px;
  line-height: 1.2;
  white-space: nowrap;
  text-transform: uppercase;
}
.site-header #site-navigation #primary-menu > li > a::before,
.site-header #site-navigation #primary-menu > li > a::after { display: none; }
.site-header #site-navigation #primary-menu > li > a:hover { color: var(--adultseo-red); }
.site-header #site-navigation #primary-menu > li.menu-item--cta { order: 10; margin-left: 0; }
.site-header #site-navigation #primary-menu > li.menu-item--cta > a {
  height: 48px;
  padding: 0 25px;
  background: var(--adultseo-red);
  color: #fff;
  font-weight: 700;
  letter-spacing: 1.2px;
}
.site-header #site-navigation #primary-menu > li.menu-item--cta > a:hover { background: #b9000c; color: #fff; }
.site-header #site-navigation #primary-menu > li.menu-item--cta span { margin-left: 8px; font-size: 20px; line-height: 1; }
.site-header #site-navigation #primary-menu > li:last-child:not(.menu-item--cta) { display: none; }
.site-header #site-navigation .header-menu > ul:last-child { display: none; }

/* Shared footer on every WordPress page. */
footer.site-footer {
  background: #111;
  border-top: 1px solid #222;
  padding-top: 64px;
}
footer.site-footer .footer-columns,
footer.site-footer .footer-related,
footer.site-footer .footer-col-text,
footer.site-footer .footer-copyright { text-align: left; }
footer.site-footer .footer-col-about { align-items: flex-start; }
footer.site-footer .footer-contact-list li,
footer.site-footer .footer-related-list { justify-content: flex-start; }
footer.site-footer .footer-col-text { font-size: 14.5px; line-height: 1.65; }
footer.site-footer .footer-col-about .footer-widget p { color: #999; font-size: 14.5px; line-height: 1.65; }
footer.site-footer .footer-arrow-list li a::before {
  content: '→';
  display: inline-block;
  flex: 0 0 14px;
  color: var(--adultseo-red);
  font-size: 20px;
  line-height: 1;
}
footer.site-footer .footer-copyright .copyright-text { text-align: left; }

body.home .how-we-works--container {
  padding: 128px 0;
  background: #fff;
}
body.home .how-we-works--container > .wrapper { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
body.home .how-we-works-eyebrow {
  display: block;
  margin-bottom: 12px;
  color: #6b7280;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.5;
  text-transform: uppercase;
}
body.home .how-we-works--container h2.headliner {
  margin: 0 0 24px;
  color: #1a1a1a;
  font-size: 72px;
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.1;
}
body.home .how-we-works-subtitle {
  margin: 0;
  color: #4b5563;
  font-size: 24px;
  font-weight: 300;
  line-height: 1.5;
}
body.home .how-we-works { margin-top: 128px; }
body.home .how-we-works-title svg {
  width: 64px;
  height: 64px;
  padding: 16px;
  border-radius: 16px;
  background: #f9fafb;
}
body.home .how-we-works-title h3 { font-size: 28px; font-weight: 800; line-height: 1.2; }
body.home .how-we-works--content p { color: #4b5563; font-size: 17px; font-weight: 300; line-height: 1.8; }

@media (min-width: 1024px) {
  #site-navigation #primary-menu > li.menu-item--mega.mega-hover-open > ul.sub-menu {
    display: grid;
  }
  #site-navigation #primary-menu > li.menu-item--mega > ul.sub-menu,
  #site-navigation #primary-menu > li.menu-item--mega:hover > ul.sub-menu {
    position: fixed;
    top: 96px;
    left: 0;
    right: 0;
    width: 100vw;
    max-width: none;
    transform: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px 48px;
    padding: 48px max(32px, calc((100vw - 1400px) / 2 + 48px));
    border-top: 1px solid #f3f4f6;
    box-shadow: none;
  }
  body.admin-bar #site-navigation #primary-menu > li.menu-item--mega > ul.sub-menu,
  body.admin-bar #site-navigation #primary-menu > li.menu-item--mega:hover > ul.sub-menu { top: 128px; }
  #site-navigation #primary-menu > li.menu-item--mega > ul.sub-menu > li { padding: 0 !important; }
  #site-navigation #primary-menu > li.menu-item--mega > ul.sub-menu > li > a {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
    width: 100%;
    padding: 8px;
    color: #1f2937;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .025em;
    line-height: 1.4;
    text-transform: uppercase;
    border: 0;
  }
  #site-navigation #primary-menu > li.menu-item--mega > ul.sub-menu > li > a .menu-item-icon {
    display: grid;
    place-items: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    margin: 0;
    background: var(--adultseo-red);
    color: #fff;
    transition: transform .3s;
  }
  #site-navigation #primary-menu > li.menu-item--mega > ul.sub-menu > li > a .menu-item-icon svg { width: 20px; height: 20px; }
  #site-navigation .menu-item--mega > ul.sub-menu > li > a:hover {
    background: #f9fafb;
    color: #111827;
  }
  #site-navigation .menu-item--mega > ul.sub-menu > li > a:hover .menu-item-icon {
    transform: scale(1.05);
  }
}

body.home main.homepage-main { margin-top: 96px !important; }
body.home .home-hero { min-height: calc(100vh - 96px); }
body.home .home-hero-intro {
  padding: 24px 48px 24px clamp(48px, 6vw, 120px);
  background: linear-gradient(135deg, #292929, #545454);
}
body.home .home-hero-intro-bg,
body.home .home-hero-intro-overlay { display: block; }
body.home .home-hero-intro-content { max-width: 650px; }
@media (min-width: 1024px) {
  body.home .home-hero-intro-content { transform: translateY(-12px); }
}
body.home .home-hero-logo-mark {
  width: 72px;
  height: 60px;
  margin-bottom: 32px;
  background: var(--adultseo-red);
}
body.home .home-hero-logo-mark svg { width: 46px; }
body.home .home-hero-intro h1 {
  max-width: 650px;
  margin-bottom: 26px;
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -2px;
}
body.home .home-hero-intro p {
  max-width: 580px;
  margin-bottom: 64px;
  color: #d1d5db;
  font-size: 22px;
  line-height: 1.6;
}
body.home .home-hero-stats { gap: 22px; padding-top: 42px; }
body.home .home-hero-stat-number { font-size: 36px; }
body.home .home-hero-form { padding: 56px 7% 8px; }
body.home .home-hero-form-inner { max-width: 500px; }
body.home .home-hero-form-inner > h2 { font-size: 36px; margin-bottom: 12px; }
body.home .home-hero-benefits { margin-bottom: 26px; }
body.home .home-hero-form-inner .wpcf7-form p { margin-bottom: 18px; }
body.home .home-hero-form-inner .wpcf7-form p:last-of-type { margin-bottom: 0; }
body.home .home-hero-form-inner .wpcf7-form br { display: none; }

@media (max-width: 1250px) {
  .site-header .header-container { margin: 0 28px; }
  .site-header #site-navigation #primary-menu { gap: 18px; }
  .site-header #site-navigation #primary-menu > li.menu-item--cta { margin-left: 0; }
  .site-header #site-navigation #primary-menu > li.menu-item--cta > a { padding: 0 15px; }
}
@media (max-width: 1023px) {
  header.site-header, header.site-header.fixed { height: 80px; }
  .site-header .header-container { margin: 0 24px; }
  .site-header .header-brand-mark { width: 40px; height: 32px; }
  .site-header .header-brand-mark svg { width: 24px; height: 18px; }
  .site-header .header-brand-name { font-size: 18px; }
  .site-header #site-navigation { display: none; }
  .site-header .header-mobile-hamburger { margin-left: auto; }
  .site-header .header-mobile-hamburger.is-active .line { background: #1f2937; }
  body.hamburger-active main.site-main { transform: none; }
  .site-header .header-menu-mobile.active {
    display: block;
    visibility: visible;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    padding: 24px;
    overflow-y: auto;
    background: #fff;
    color: #1f2937;
    text-align: left;
  }
  .site-header .header-menu-mobile.active .menu-menu-1-container { width: 100%; overflow: visible; }
  .site-header .header-menu-mobile.active ul { text-align: left; overflow: visible; }
  .site-header .header-menu-mobile.active #mobile-primary-menu > li { margin: 0 0 18px; }
  .site-header .header-menu-mobile.active #mobile-primary-menu { display: flex; flex-direction: column; }
  .site-header .header-menu-mobile.active #mobile-primary-menu > li.menu-item--cta { order: 10; margin-top: 28px; }
  .site-header .header-menu-mobile.active #mobile-primary-menu > li:last-child:not(.menu-item--cta) { display: none; }
  .site-header .header-menu-mobile.active a { color: #1f2937; font-size: 14px; font-weight: 700; }
  .site-header .header-menu-mobile.active .menu-item--cta > a { display: block; padding: 14px; color: #fff; text-align: center; }
  .site-header .header-menu-mobile.active .header-mobile-menu-facebook-logo { display: none; }
  .site-header .header-menu-mobile.active .sub-menu { background: #fff; box-shadow: none; }
  .site-header .header-menu-mobile.active .sub-menu li { margin: 0 0 12px; }
  .site-header .header-menu-mobile.active .sub-menu a { color: #1f2937; font-size: 12px; }
  body.dark-contact-page .site-header .header-menu-mobile.active {
    background: #171717;
    color: #fff;
  }
  body.dark-contact-page .site-header .header-menu-mobile.active a { color: #f5f5f5; }
  body.dark-contact-page .site-header .header-menu-mobile.active .sub-menu { background: #242424; }
  body.dark-contact-page .site-header .header-menu-mobile.active .sub-menu a { color: #f5f5f5; }
  body.dark-contact-page .site-header .header-menu-mobile.active .menu-item--cta > a { color: #fff; }
  body.dark-contact-page .site-header .header-mobile-hamburger.is-active .line { background: #fff; }
  body.dark-contact-page #mobile-navigation .drop-down::after { filter: invert(1); }
  body.admin-bar .site-header .header-menu-mobile.active { top: 112px; height: calc(100vh - 112px); }
  body.home main.homepage-main { margin-top: 80px !important; }
  body.home .home-hero-intro { padding: 64px 24px; }
  body.home .home-hero-intro h1 { font-size: clamp(38px, 7vw, 60px); }
  body.home .hero-break-desktop { display: none; }
  body.home .home-hero-intro p { font-size: 18px; margin-bottom: 40px; }
  body.home .home-hero-form { padding: 48px 24px; }
}
@media (max-width: 782px) {
  html body.admin-bar header#masthead,
  html body.admin-bar header#masthead.fixed { top: 46px !important; }
  body.admin-bar .site-header .header-menu-mobile.active { top: 126px; height: calc(100vh - 126px); }
}
@media (max-width: 767px) {
  body.home .how-we-works--container { padding: 64px 0; }
  body.home .how-we-works--container > .wrapper { padding: 0 24px; }
  body.home .how-we-works-eyebrow { font-size: 12px; }
  body.home .how-we-works--container h2.headliner { font-size: 36px; margin-bottom: 16px; }
  body.home .how-we-works-subtitle { font-size: 18px; }
  body.home .how-we-works { margin-top: 64px; }
  body.home .how-we-works-title svg { width: 48px; height: 48px; padding: 12px; border-radius: 12px; }
  body.home .how-we-works-title h3 { font-size: 20px; }
  body.home .how-we-works--content p { font-size: 15px; line-height: 1.65; }
  footer.site-footer .footer-columns,
  footer.site-footer .footer-related { text-align: left; }
  footer.site-footer .footer-col-about,
  footer.site-footer .footer-copyright { align-items: flex-start; }
  footer.site-footer .footer-contact-list li,
  footer.site-footer .footer-related-list { justify-content: flex-start; }
  footer.site-footer .footer-copyright .copyright-text { text-align: left; }
  body.home .home-hero { min-height: 0; }
  body.home .home-hero-intro { padding: 64px 24px 48px; }
  body.home .home-hero-logo-mark { width: 56px; height: 46px; margin-bottom: 24px; }
  body.home .home-hero-logo-mark svg { width: 36px; }
  body.home .home-hero-intro h1 { font-size: 40px; letter-spacing: -1px; }
  body.home .home-hero-intro p { font-size: 16px; }
  body.home .home-hero-stats { grid-template-columns: 1fr; padding-top: 32px; }
  body.home .home-hero-form-inner > h2 { font-size: 28px; }
}

main.erotic-seo-page {
  margin-top: 96px !important;
  background: #f8f9fa;
  padding: 48px 0 96px;
}
.erotic-seo-layout {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 450px;
  gap: 64px;
  align-items: start;
}
.erotic-seo-breadcrumb { margin: 0 0 32px; font-size: 15px; line-height: 24px; }
.erotic-seo-content { min-width: 0; overflow-wrap: anywhere; }
.erotic-seo-breadcrumb a { color: var(--adultseo-red); text-decoration: underline; text-underline-offset: 4px; }
.erotic-seo-breadcrumb span { color: #1f2937; }
.erotic-seo-content > h1 {
  margin: 0 0 48px;
  color: #1a1a1a;
  font-size: clamp(48px, 5vw, 72px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -2px;
}
.erotic-seo-article { max-width: 100%; color: #374151; }
.erotic-seo-article > .wp-block-image:first-child { margin: 0 0 56px; }
.erotic-seo-article > .wp-block-image:first-child figure { display: block; width: 100%; max-width: 100%; margin: 0; }
.erotic-seo-article > .wp-block-image:first-child img {
  display: block;
  width: 100%;
  height: 500px;
  object-fit: cover;
}
.erotic-seo-article h2 { color: #1a1a1a; font-size: 30px; line-height: 1.2; font-weight: 800; margin: 0 0 32px; }
.erotic-seo-article h3 { color: #1a1a1a; font-size: 20px; line-height: 1.35; font-weight: 700; margin: 0 0 24px; }
.erotic-seo-article p { color: #374151; font-size: 17px; line-height: 1.8; font-weight: 300; margin: 0 0 40px; }
.erotic-seo-article table { border-collapse: collapse; width: 100%; margin: 0 0 48px; }
.erotic-seo-article th, .erotic-seo-article td { border: 1px solid #1a1a1a; padding: 20px; text-align: left; }
.erotic-seo-sidebar { position: sticky; top: 112px; }
.erotic-seo-form-card {
  padding: 40px;
  border: 1px solid #f1f1f1;
  background: #fff;
}
.erotic-seo-form-card h2 { margin: 0 0 12px; font-size: 26px; font-weight: 800; line-height: 1.2; letter-spacing: -.5px; color: #111827; }
.erotic-seo-form-card > p { margin: 0 0 32px; font-size: 14.5px; line-height: 1.6; color: #4b5563; }
.erotic-seo-form-card .wpcf7-form p { margin: 0 0 24px; }
.erotic-seo-form-card .wpcf7-form p:last-of-type { margin: 0; }
.erotic-seo-form-card .wpcf7-form br { display: none; }
.erotic-seo-form-card .wpcf7-form label {
  display: block;
  margin: 0 0 8px;
  color: #374151;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.erotic-seo-form-card .optional-label { float: right; color: #9ca3af; font-weight: 400; letter-spacing: 0; text-transform: none; }
.erotic-seo-form-card .wpcf7-form-control-wrap { display: block; }
.erotic-seo-form-card input[type="url"],
.erotic-seo-form-card input[type="email"],
.erotic-seo-form-card input[type="tel"] {
  width: 100%;
  padding: 16px 20px;
  background: #f9fafb;
  border: 1px solid #f1f1f1;
  color: #374151;
  font-size: 15px;
}
.erotic-seo-form-card input[type="submit"] {
  width: 100%;
  padding: 20px;
  background: var(--adultseo-red);
  border: 0;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
}
.erotic-seo-guarantee { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 20px; color: #059669; font-size: 13px; }
.erotic-seo-guarantee svg { width: 16px; height: 16px; flex: 0 0 16px; }
.erotic-seo-mobile-cta { display: none; }

@media (max-width: 1023px) {
  main.erotic-seo-page { margin-top: 80px !important; padding: 32px 0 96px; }
  .erotic-seo-layout { display: block; padding: 0 24px; }
  .erotic-seo-article code { white-space: normal; overflow-wrap: anywhere; }
  .erotic-seo-article .wp-block-columns { flex-wrap: wrap !important; }
  .erotic-seo-article table { display: block; overflow-x: auto; }
  .erotic-seo-content > h1 { font-size: 48px; }
  .erotic-seo-sidebar { position: static; margin-top: 48px; }
}
@media (max-width: 767px) {
  .erotic-seo-layout { padding: 0 20px; }
  .erotic-seo-content > h1 { font-size: 36px; letter-spacing: -1px; margin-bottom: 32px; }
  .erotic-seo-article > .wp-block-image:first-child img { height: 250px; }
  .erotic-seo-form-card { padding: 32px 24px; }
}
