/* Force Outfit across all text */
body, h1, h2, h3, h4, h5, h6, p, a, button, input, select, textarea {
    font-family: 'Outfit', sans-serif !important;
}
    
    /* Hide WordPress 2025 header block */
.wp-block-template-part {
    display: none !important;
}

/* Remove layout constraint from shortcode block wrapper */
.wp-site-blocks .wp-block-group.is-layout-constrained {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 auto !important;
}

.wp-site-blocks {
    padding: 0 !important;
    margin: 0 !important;
}

/* Remove padding/margin from ANY group block wrapper */
.wp-block-group {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}


/* Hide the page title (used by WP 2025 block theme) */
.entry-title,
.wp-block-post-title,
.page-title {
    display: none !important;
}

/* Hide the default site footer */
footer.site-footer,
.wp-site-footer {
    display: none !important;
}

/* Button styling */
.kapturebooks-cta-button {
    background-color: #6C8EF2 !important; /* Primary */
    color: white !important;
    border: 0px solid #fff !important;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 25px !important;
    font-weight: 500;
    display: inline-block;
    font-family: 'Outfit', sans-serif !important;
}

.kapturebooks-cta-button:hover {
    background-color: #9770FB !important; /* Secondary */
    color: white;
}
/* ATF Layout */
.kapturebooks-atf {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 20px 20px;
    background-color: #fff;
}

.kapturebooks-atf-text {
    flex: 1 1 500px;
    max-width: 600px;
}

.kapturebooks-atf-image {
    flex: 1 1 400px;
    text-align: center;
}

.kapturebooks-atf-image img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}

/* Typography */
.tagline {
    color: #9770FB;
    font-weight: 500;
    margin-bottom: 10px;
}

.kapturebooks-atf-text h1 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
}

.subheadline {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 20px;
}

.kapturebooks-benefits {
    list-style: none;
    padding-left: 0;
    margin-bottom: 30px;
}

.kapturebooks-benefits li {
    margin-bottom: 10px;
    font-size: 1rem;
    color: #444;
}

/* CTA Buttons */
.kapturebooks-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.kapturebooks-cta-button.ghost {
    background-color: transparent;
    color: #6C8EF2;
    border: 2px solid #6C8EF2;
}

.kapturebooks-cta-button.ghost:hover {
    color: #fff;
    background-color: #6C8EF2;
}

.kapturebooks-learn-more {
    padding: 60px 20px;
    background-color: #fff;
    text-align: center;
    font-family: 'Outfit', sans-serif;
}

.kapturebooks-learn-more h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #000;
}

.kapturebooks-learn-more p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #555;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.kapturebooks-learn-more ol {
    text-align: left;
    max-width: 700px;
    margin: 0 auto;
    padding-left: 20px;
    font-size: 1rem;
    color: #444;
}

.kapturebooks-learn-more li {
    margin-bottom: 15px;
}

html {
    scroll-behavior: smooth;
}

.kapturebooks-why-us {
    padding: 60px 20px;
    background-color: #f5f7ff;
    text-align: center;
    font-family: 'Outfit', sans-serif;
}

.kapturebooks-why-us h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #000;
}

.kapturebooks-why-us .intro {
    max-width: 700px;
    margin: 0 auto 40px auto;
    font-size: 1.1rem;
    color: #444;
}

.kapturebooks-compare {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    text-align: left;
    max-width: 1000px;
    margin: 0 auto 40px auto;
}

.kapturebooks-compare .kapturebooks-left,
.kapturebooks-compare .kapturebooks-right {
    flex: 1 1 400px;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.kapturebooks-compare h3 {
    font-size: 1.25rem;
    color: #333;
    margin-bottom: 15px;
}

.kapturebooks-compare ul {
    list-style: none;
    padding-left: 0;
}

.kapturebooks-compare li {
    margin-bottom: 12px;
    font-size: 1rem;
    color: #555;
}

.eyebrow-text {
    text-transform: uppercase;
    font-size: 0.85rem !important;
    font-weight: 600;
    letter-spacing: 1px;
    color: #9770FB !important;
    margin-bottom: 10px;
    display: block;
    font-family: 'Outfit', sans-serif;
}

.inline-logo {
  width: 190px;
  height: auto;
  vertical-align: -.03em;
  margin: 0 3px;
}

.sidebar-toggle {
  background: none !important;
  border: none;
  padding: 0;
  margin-left: auto;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.sidebar-toggle img {
  width: 22px !important;
  height: 22px !important;
  min-width: 22px;
  display: block;
  flex-shrink: 0;
}

.kapturebooks-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 250px;
  height: 100vh;
  background-color: #f4f4f4;
  padding: 20px;
  box-shadow: 2px 0 10px rgba(0,0,0,0.1);
  z-index: 1000;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.kapturebooks-sidebar.collapsed {
  transform: translateX(-250px);
}

.main-content {
  margin-left: 0px;
  transition: margin-left 0.3s ease;
}

.collapsed + .main-content {
  margin-left: 0;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.sidebar-logo {
  max-width: 95px;
  height: auto;
}

.sidebar-nav {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
}

.sidebar-nav a {
  text-decoration: none;
  color: #b4005a;
  font-weight: 500;
  font-size: 16px;
}

.sidebar-link {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 25px;
  background-color: #E6D9FB;
  color: #000 !important;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.sidebar-link:hover {
  background-color: #DCE6FD;
}

.icon-link {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-link img {
    width: 18px !important;
    height: 18px !important;
    max-width: 100%;
    display: inline-block;
    object-fit: contain;
}


/* === Top Header === */
.kapturebooks-top-header {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  background-color: #fff;
  border-bottom: 1px solid #eee;
  margin-left: 0px;
  font-family: 'Outfit', sans-serif;
}

.header-left {
  display: flex;
  align-items: left;
  gap: 12px;
}

.top-logo {
  width: 200px;
  height: auto !important;
  max-height: 100%;
  object-fit: contain;
  display: block;

}

.sidebar-toggle {
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar-toggle img {
  width: 22px;
  height: 22px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.header-button {
  padding: 8px 16px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background-color 0.2s ease;
}

.header-button.start {
  background-color: #6C8EF2;
  color: #fff;
}

.header-button.start:hover {
  background-color: #9770FB;
}

.header-button.login {
  background-color: #E6D9FB;
  color: #333;
}

.header-button.login:hover {
  background-color: #DCE6FD;
}

.header-button.login img {
  width: 16px;
  height: 16px;
}
/* Wrapper shifts with sidebar */
#content-wrapper {
  margin-left: 150px;
  transition: margin-left 0.3s ease;
}

.kapturebooks-sidebar.collapsed + #content-wrapper {
  margin-left: 0;
}
@media (max-width: 1024px) {
  .kapturebooks-sidebar {
    width: 200px;
    transform: translateX(-200px); /* hidden by default */
  }

  .kapturebooks-sidebar.collapsed {
    transform: translateX(-200px);
  }

  #content-wrapper {
    margin-left: 0;
  }
}
@media (max-width: 768px) {
  .kapturebooks-top-header {
    flex-direction: column;
    align-items: stretch;
    padding: 10px 15px;
    gap: 10px;
    height: auto; /* ✅ Let it expand vertically */
  }

  .header-left,
  .header-right {
    display: flex;
    width: 100%;
  }

  .header-left {
    justify-content: flex-start; /* ✅ Logo + toggle left */
    align-items: center;
  }

  .sidebar-toggle {
    margin-left: 0 !important; /* ✅ Remove the 121px */
  }

  .header-right {
    justify-content: flex-end;   /* ✅ Buttons right */
    align-items: center;
    flex-wrap: wrap;             /* ✅ Avoid overflow */
    gap: 10px;
  }
  
  .kapturebooks-sidebar {
    position: fixed;
    z-index: 9999; /* ✅ Ensure it's above all other layers */
    top: 0;
    left: 0;
    height: 100vh;
    width: 250px;
    background-color: #f4f4f4;
    transform: translateX(-250px);
    transition: transform 0.3s ease;
  }

  .kapturebooks-sidebar.collapsed {
    transform: translateX(-250px);
  }

  .kapturebooks-sidebar:not(.collapsed) {
    transform: translateX(0); /* ✅ Slide in */
  }
  
 .kapturebooks-atf {
    gap: 0px; /* Reduce spacing for mobile */
  } 
  
  .kapturebooks-learn-more {
    padding: 10px 20px;
    background-color: #fff;
    text-align: center;
    font-family: 'Outfit', sans-serif;
}
#content-wrapper {
    z-index: 1; /* ✅ Make sure it doesn't overlay the sidebar */
    position: relative;
}
  #content-wrapper.with-sidebar {
    margin-left: 0 !important;
    padding-left: 0 !important;
  }

  .kapturebooks-top-header {
    margin-left: 0 !important;
    padding-left: 0 !important;
  }

  .header-left {
    margin-left: 0 !important;
    padding-left: 0 !important;
  }
}
.form-section {
  text-align: left;
  padding-top: 60px;
  max-width: 500px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

.input-field {
  width: 75% !important;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 25px !important;
}
.kapturebooks-learn-more.form-section {
  max-width: 600px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: left;
}
.toggle-password {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  background: transparent !important;
  border: none;
  font-size: 18px;
  cursor: pointer;
  padding: 0;
}
.form-group {
  margin-bottom: 20px;
  position: relative;
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
}

.form-input,
.form-select {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 25px;
}

.password-input {
  padding-right: 40px; /* Space for eye button */
}
/* Shared style for all inputs and the select box */
.start-form input[type="text"],
.start-form input[type="email"],
.start-form input[type="password"],
.start-form select {
  width: 75%;
  padding: 10px 14px;
  font-size: 16px;

  border: 1px solid #ccc;
  border-radius: 25px;
  background-color: #eef4ff; /* match email field */
  box-sizing: border-box;
}

/* Remove border and adjust position of the eye button */
.toggle-password {
  background: transparent;
  border: none !important;
  position: absolute !important;
  right: 140px;
  top: 50%;
  transform: translateY(-15%);
  cursor: pointer;
  padding: 0;
}

.password-wrapper {
  position: relative;
}
.password-wrapper {
  position: relative;
}

.password-input {
  width: 75% !important;
  padding: 10px 40px 10px 14px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 25px !important;
  background-color: #eef4ff;
  box-sizing: border-box;
}
.state-group select {
  width: 75% !important;
  padding: 10px 40px 10px 15px; /* space for arrow on right */
  border-radius: 25px;
  background-color: #eef4ff;
  border: 1px solid #ccc;
  font-size: 16px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url('https://de.bluellamamedia.com/wp-content/uploads/2025/05/down-arrow.svg');
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 20px;
  box-sizing: border-box;
}
.required {
  color: red !important;
  content: ' *';
  margin-left: 4px;
}
