/* Lagnacha Biodata – site sections: design gallery, FAQ, upcoming features.
   Selectors are two classes deep (.lb-site.lb-faq …) so theme and Elementor
   kit styles cannot override them. Previews reuse app.css (.lb-app). */

.lb-site,
.lb-links__heading,
.lb-app.lb-gallery {
  --lb-bg: #FFFDF9;
  --lb-panel: #FFF7EC;
  --lb-text: #2A1A14;
  --lb-muted: #6B5A50;
  --lb-border: #EADFD3;
  --lb-accent: #7B1E2E;
  --lb-gold: #B8862B;
  --lb-gold-ink: #85601C;
  --lb-radius: 16px;
  --lb-font-ui: 'Mukta', 'Noto Sans Devanagari', system-ui, sans-serif;
  --lb-font-bio: 'Tiro Devanagari Marathi', 'Noto Serif Devanagari', serif;
  font-family: var(--lb-font-ui);
  color: var(--lb-text);
  line-height: 1.6;
  box-sizing: border-box;
}
.lb-site *,
.lb-app.lb-gallery * { box-sizing: inherit; }

/* ---- Design gallery ---- */
.lb-app.lb-gallery { background: transparent; padding: 0; }
.lb-app.lb-gallery .lb-gallery__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  gap: 20px;
}
.lb-app.lb-gallery .lb-gallery__card {
  margin: 0;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--lb-border);
  border-radius: var(--lb-radius);
}
.lb-app.lb-gallery .lb-gallery__preview {
  aspect-ratio: 794 / 1123;
  overflow: hidden;
  border-radius: 8px;
  background: var(--lb-panel);
}
.lb-app.lb-gallery .lb-gallery__preview .lb-sheet { border-radius: 8px; }
.lb-app.lb-gallery .lb-gallery__name {
  margin: 0;
  font-family: var(--lb-font-bio);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--lb-text);
  text-align: center;
}
.lb-app.lb-gallery .lb-gallery__use {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--lb-accent);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
}
.lb-app.lb-gallery .lb-gallery__use:hover,
.lb-app.lb-gallery .lb-gallery__use:focus-visible { background: #64172A; color: #fff; }
.lb-app.lb-gallery .lb-gallery__use:focus-visible { outline: 3px solid var(--lb-gold); outline-offset: 2px; }

/* ---- FAQ accordion ---- */
.lb-site.lb-faq { display: grid; gap: 12px; }
.lb-site.lb-faq .lb-faq__item {
  margin: 0;
  background: #fff;
  border: 1px solid var(--lb-border);
  border-radius: 12px;
}
.lb-site.lb-faq .lb-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 12px 16px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--lb-text);
  list-style: none;
}
.lb-site.lb-faq .lb-faq__q::-webkit-details-marker { display: none; }
.lb-site.lb-faq .lb-faq__q::after {
  content: '+';
  flex: none;
  font-size: 1.4em;
  line-height: 1;
  color: var(--lb-accent);
}
.lb-site.lb-faq .lb-faq__item[open] .lb-faq__q::after { content: '−'; }
.lb-site.lb-faq .lb-faq__q:focus-visible { outline: 3px solid var(--lb-gold); outline-offset: 2px; border-radius: 12px; }
.lb-site.lb-faq .lb-faq__a { padding: 0 16px 14px; color: var(--lb-muted); }
.lb-site.lb-faq .lb-faq__a p { margin: 0 0 8px; }

/* ---- Upcoming features ---- */
.lb-site.lb-upcoming {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  gap: 16px;
}
.lb-site.lb-upcoming .lb-upcoming__item {
  margin: 0;
  padding: 18px;
  background: var(--lb-panel);
  border: 1px dashed var(--lb-border);
  border-radius: var(--lb-radius);
}
.lb-site.lb-upcoming .lb-upcoming__badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--lb-gold);
  color: var(--lb-gold-ink);
  font-size: 0.8125rem;
  font-weight: 600;
}
.lb-site.lb-upcoming .lb-upcoming__title {
  margin: 10px 0 4px;
  font-family: var(--lb-font-ui);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--lb-text);
}
.lb-site.lb-upcoming .lb-upcoming__desc { margin: 0; color: var(--lb-muted); font-size: 0.9375rem; }

/* ---- Automatic sections (page links, latest guides) ----
   An empty list prints .lb-auto-empty; the Elementor container around it
   (CSS class "lb-auto-section") is then hidden, heading and padding included. */
.lb-auto-section:has(.lb-auto-empty) { display: none !important; }
.lb-links__heading { margin: 0 0 20px; text-align: center; }
.lb-site.lb-links--cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
  gap: 16px;
}
.lb-site.lb-links .lb-links__card {
  position: relative;
  margin: 0;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--lb-border);
  border-radius: var(--lb-radius);
}
.lb-site.lb-links .lb-links__card:focus-within { outline: 3px solid var(--lb-gold); outline-offset: 2px; }
.lb-site.lb-links .lb-links__img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; }
.lb-site.lb-links .lb-links__title { margin: 0; font-family: var(--lb-font-ui); font-size: 1.0625rem; font-weight: 600; line-height: 1.4; }
.lb-site.lb-links .lb-links__title a { color: var(--lb-accent); text-decoration: none; }
/* Whole card is clickable (the link stretches over it). */
.lb-site.lb-links .lb-links__title a::after { content: ''; position: absolute; inset: 0; border-radius: var(--lb-radius); }
.lb-site.lb-links .lb-links__title a:focus-visible { outline: none; }
.lb-site.lb-links .lb-links__card:hover { border-color: var(--lb-gold); }
.lb-site.lb-links .lb-links__desc { margin: 0; color: var(--lb-muted); font-size: 0.9375rem; }
.lb-site.lb-links__more { margin: 20px 0 0; text-align: center; }
.lb-site.lb-links__more a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 8px; color: var(--lb-accent); font-weight: 600; text-decoration: underline; text-underline-offset: 0.15em; }
.lb-site.lb-links .lb-links__date { color: var(--lb-muted); font-size: 0.8125rem; }
.lb-site.lb-links--list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.lb-site.lb-links--list a { display: inline-block; padding: 8px 0; min-height: 44px; color: inherit; text-decoration: none; }
.lb-site.lb-links--list a:hover,
.lb-site.lb-links--list a:focus-visible { text-decoration: underline; }

/* [lagnacha_page_link style="button"] */
.lb-site.lb-button-wrap { margin: 0; text-align: center; }
.lb-site.lb-button-wrap .lb-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 28px;
  border: 2px solid var(--lb-accent);
  border-radius: 999px;
  background: var(--lb-bg);
  color: var(--lb-accent);
  font-weight: 600;
  text-decoration: none;
}
.lb-site.lb-button-wrap .lb-button:hover,
.lb-site.lb-button-wrap .lb-button:focus-visible { background: var(--lb-accent); color: #fff; }
.lb-site.lb-button-wrap .lb-button:focus-visible { outline: 3px solid var(--lb-gold); outline-offset: 2px; }

/* Footer "लोकप्रिय बायोडाटा" column (dark background). */
.lb-footer-links .lb-links__heading { margin: 0 0 6px; text-align: left; color: #FFFDF9; font-weight: 600; font-size: 1.0625rem; }
.lb-footer-links .lb-site.lb-links--list a { color: #EADFD3; padding: 8px 0; }
.lb-footer-links .lb-site.lb-links--list a:hover,
.lb-footer-links .lb-site.lb-links--list a:focus-visible { color: #FFFDF9; }

/* Gallery cards with a real sample image instead of the live preview. */
.lb-app.lb-gallery .lb-gallery__img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* Homepage "बायोडाटामध्ये कोणती माहिती लिहावी?" table (Text Editor widget, class lb-info-table).
   On phones every row becomes a small card; labels come from data-label. */
.lb-info-table { width: 100%; border-collapse: collapse; margin: 8px 0 16px; font-size: 0.9375rem; background: #fff; }
.lb-info-table th,
.lb-info-table td { padding: 10px 12px; border: 1px solid #EADFD3; text-align: left; vertical-align: top; }
.lb-info-table th { background: #FFF7EC; color: #2A1A14; font-weight: 600; }
.lb-info-table td:first-child { font-weight: 600; color: #7B1E2E; white-space: nowrap; }
@media (max-width: 640px) {
  .lb-info-table thead { display: none; }
  .lb-info-table,
  .lb-info-table tbody,
  .lb-info-table tr,
  .lb-info-table td { display: block; width: 100%; }
  .lb-info-table tr { margin: 0 0 10px; padding: 10px 12px; border: 1px solid #EADFD3; border-radius: 12px; }
  .lb-info-table td { border: 0; padding: 2px 0; white-space: normal; }
  .lb-info-table td + td::before { content: attr(data-label) ': '; font-weight: 600; color: #6B5A50; }
}

/* Phones: two designs per row, so the 8 designs don't make a very long page. */
@media (max-width: 600px) {
  .lb-app.lb-gallery .lb-gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .lb-app.lb-gallery .lb-gallery__card { padding: 8px; gap: 6px; border-radius: 12px; }
  .lb-app.lb-gallery .lb-gallery__name { font-size: 1rem; }
  .lb-app.lb-gallery .lb-gallery__use { padding: 6px 8px; font-size: 0.875rem; }
}
/* Hello Elementor stripes table rows grey; our table uses borders instead. */
.lb-info-table tbody > tr > td { background-color: transparent; }

/* ---- [lagnacha_samples]: sample biodata images + "हा फॉरमॅट वापरा" ---- */
.lb-site.lb-samples {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  gap: 20px;
}
.lb-site.lb-samples .lb-samples__item {
  margin: 0;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--lb-border);
  border-radius: var(--lb-radius);
}
.lb-site.lb-samples .lb-samples__figure { margin: 0; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.lb-site.lb-samples .lb-samples__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 1697;
  object-fit: cover;
  object-position: top;
  border: 1px solid var(--lb-border);
  border-radius: 8px;
  background: var(--lb-panel);
}
.lb-site.lb-samples .lb-samples__caption { color: var(--lb-muted); font-size: 0.9375rem; line-height: 1.45; text-align: center; }
.lb-site.lb-samples .lb-samples__use {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--lb-accent);
  color: #fff;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}
.lb-site.lb-samples .lb-samples__use:hover,
.lb-site.lb-samples .lb-samples__use:focus-visible { background: #64172A; color: #fff; }
.lb-site.lb-samples .lb-samples__use:focus-visible { outline: 3px solid var(--lb-gold); outline-offset: 2px; }
@media (max-width: 600px) {
  .lb-site.lb-samples { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .lb-site.lb-samples .lb-samples__item { padding: 8px; border-radius: 12px; }
  .lb-site.lb-samples .lb-samples__caption { font-size: 0.8125rem; }
  .lb-site.lb-samples .lb-samples__use { padding: 6px 8px; font-size: 0.875rem; }
}

/* ---- [lagnacha_text_format]: copyable plain-text format ---- */
.lb-site.lb-textformat { max-width: 760px; margin: 0 auto; }
.lb-site.lb-textformat .lb-textformat__text {
  margin: 0;
  padding: 18px 20px;
  max-height: 460px;
  overflow: auto;
  white-space: pre-wrap;
  background: #fff;
  border: 1px dashed var(--lb-gold);
  border-radius: 12px;
  color: var(--lb-text);
  font-family: var(--lb-font-ui);
  font-size: 1rem;
  line-height: 1.75;
}
.lb-site.lb-textformat .lb-textformat__text:focus-visible { outline: 3px solid var(--lb-gold); outline-offset: 2px; }
.lb-site.lb-textformat .lb-textformat__bar { margin: 12px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.lb-site.lb-textformat .lb-textformat__copy {
  min-height: 48px;
  padding: 10px 26px;
  border: 0;
  border-radius: 999px;
  background: var(--lb-accent);
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  white-space: normal;
}
.lb-site.lb-textformat .lb-textformat__copy:hover,
.lb-site.lb-textformat .lb-textformat__copy:focus { background: #64172A; color: #fff; }
.lb-site.lb-textformat .lb-textformat__copy:focus-visible { outline: 3px solid var(--lb-gold); outline-offset: 2px; }
.lb-site.lb-textformat .lb-textformat__status { color: #1F6B43; font-weight: 600; }

/* ---- Author box under guides (class-eeat.php) ---- */
.lb-site.lb-author {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin: 40px 0 0;
  padding: 18px 20px;
  background: var(--lb-panel);
  border: 1px solid var(--lb-border);
  border-radius: var(--lb-radius);
}
.lb-site.lb-author .lb-author__photo { flex: none; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.lb-site.lb-author .lb-author__photo--letter {
  display: grid;
  place-items: center;
  background: var(--lb-accent);
  color: #fff;
  font-family: var(--lb-font-bio);
  font-size: 32px;
}
.lb-site.lb-author .lb-author__text p { margin: 0 0 4px; }
.lb-site.lb-author .lb-author__name { color: var(--lb-text); }
.lb-site.lb-author .lb-author__bio { color: var(--lb-muted); font-size: 0.9375rem; }
.lb-site.lb-author .lb-author__more a { color: var(--lb-accent); text-decoration: underline; text-underline-offset: 0.15em; }
@media (max-width: 480px) {
  .lb-site.lb-author { flex-direction: column; }
}

/* ---- [lagnacha_search] (404 page) ---- */
.lb-site.lb-search { max-width: 560px; margin: 0 auto; }
.lb-site.lb-search .lb-search__label { display: block; margin: 0 0 6px; font-weight: 600; color: var(--lb-text); }
.lb-site.lb-search .lb-search__row { display: flex; gap: 8px; }
.lb-site.lb-search .lb-search__input {
  flex: 1;
  min-width: 0;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid #8C7B6E; /* 3:1 against white (form-control contrast) */
  border-radius: 12px;
  background: #fff;
  color: var(--lb-text);
  font: inherit;
}
.lb-site.lb-search .lb-search__input:focus-visible { outline: 3px solid var(--lb-gold); outline-offset: 1px; }
.lb-site.lb-search .lb-search__button {
  min-height: 48px;
  padding: 10px 22px;
  border: 0;
  border-radius: 12px;
  background: var(--lb-accent);
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.lb-site.lb-search .lb-search__button:hover,
.lb-site.lb-search .lb-search__button:focus { background: #64172A; color: #fff; }
.lb-site.lb-search .lb-search__button:focus-visible { outline: 3px solid var(--lb-gold); outline-offset: 2px; }

/* ---- AEO components (class-aeo.php): shortcodes and block patterns share these classes ---- */
.lb-aeo {
  --lb-aeo-accent: #7B1E2E;
  --lb-aeo-gold: #B8862B;
  --lb-aeo-panel: #FFF7EC;
  --lb-aeo-border: #EADFD3;
  --lb-aeo-text: #2A1A14;
  --lb-aeo-muted: #6B5A50;
  box-sizing: border-box;
  max-width: 820px;
  margin: 0 auto 20px;
  color: var(--lb-aeo-text);
  font-family: 'Mukta', 'Noto Sans Devanagari', system-ui, sans-serif;
}
.lb-aeo * { box-sizing: inherit; }

/* a. Answer block */
.lb-aeo.lb-aeo-answer {
  padding: 16px 20px;
  background: var(--lb-aeo-panel);
  border-left: 5px solid var(--lb-aeo-gold);
  border-radius: 0 12px 12px 0;
  font-size: 1.125rem;
  line-height: 1.7;
}

/* b. Key points */
.lb-aeo.lb-aeo-keypoints { padding: 16px 20px 6px; background: #fff; border: 1px solid var(--lb-aeo-border); border-top: 4px solid var(--lb-aeo-accent); border-radius: 12px; }
.lb-aeo.lb-aeo-keypoints .lb-aeo-keypoints__title { margin: 0 0 8px; color: var(--lb-aeo-accent); font-size: 1.125rem; font-weight: 700; }
.lb-aeo.lb-aeo-keypoints ul { margin: 0 0 10px; padding-left: 1.3em; }
.lb-aeo.lb-aeo-keypoints li { margin: 0 0 6px; line-height: 1.6; }
.lb-aeo.lb-aeo-keypoints li::marker { color: var(--lb-aeo-gold); }

/* c. Definition box (<dl> from the shortcode, or two paragraphs from the block pattern) */
.lb-aeo.lb-aeo-definition { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; padding: 12px 18px; background: var(--lb-aeo-panel); border: 1px dashed var(--lb-aeo-gold); border-radius: 12px; }
.lb-aeo.lb-aeo-definition dt,
.lb-aeo.lb-aeo-definition .lb-aeo-definition__term { margin: 0; color: var(--lb-aeo-accent); font-weight: 700; font-size: 1.125rem; }
.lb-aeo.lb-aeo-definition dt::after,
.lb-aeo.lb-aeo-definition .lb-aeo-definition__term::after { content: ' –'; color: var(--lb-aeo-muted); font-weight: 400; }
.lb-aeo.lb-aeo-definition dd,
.lb-aeo.lb-aeo-definition .lb-aeo-definition__meaning { margin: 0; flex: 1 1 240px; line-height: 1.6; }

/* d. Steps list */
.lb-aeo.lb-aeo-steps { list-style: none; padding: 0; counter-reset: lb-step; }
.lb-aeo.lb-aeo-steps > li { position: relative; margin: 0 0 12px; padding: 4px 0 4px 52px; min-height: 40px; line-height: 1.6; counter-increment: lb-step; }
.lb-aeo.lb-aeo-steps > li::before {
  content: counter(lb-step);
  position: absolute; left: 0; top: 0;
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--lb-aeo-accent); color: #fff; font-weight: 700;
}
.lb-aeo.lb-aeo-steps .lb-aeo-steps__title,
.lb-aeo.lb-aeo-steps > li > strong { display: block; font-weight: 700; color: var(--lb-aeo-text); }
.lb-aeo.lb-aeo-steps .lb-aeo-steps__desc { display: block; color: var(--lb-aeo-muted); }

/* e. Reference table – scrolls sideways inside its box on small screens */
.lb-aeo.lb-aeo-table { overflow-x: auto; border: 1px solid var(--lb-aeo-border); border-radius: 12px; background: #fff; -webkit-overflow-scrolling: touch; }
.lb-aeo.lb-aeo-table:focus-visible { outline: 3px solid var(--lb-aeo-gold); outline-offset: 2px; }
.lb-aeo.lb-aeo-table table { width: 100%; min-width: 520px; margin: 0; border-collapse: collapse; font-size: 0.9375rem; }
.lb-aeo.lb-aeo-table caption { padding: 10px 14px; text-align: left; color: var(--lb-aeo-muted); font-weight: 600; caption-side: top; }
.lb-aeo.lb-aeo-table th,
.lb-aeo.lb-aeo-table td { padding: 10px 14px; border: 0; border-bottom: 1px solid var(--lb-aeo-border); text-align: left; vertical-align: top; background: transparent; }
.lb-aeo.lb-aeo-table thead th { background: var(--lb-aeo-panel); color: var(--lb-aeo-text); font-weight: 700; white-space: nowrap; }
.lb-aeo.lb-aeo-table tbody tr:last-child td { border-bottom: 0; }
.lb-aeo.lb-aeo-table tbody tr:nth-child(odd) td { background: transparent; } /* theme zebra off */

/* f. CTA box */
.lb-aeo.lb-aeo-cta { padding: 22px 20px; text-align: center; background: var(--lb-aeo-accent); border-radius: 14px; color: #FFF7EC; }
.lb-aeo.lb-aeo-cta p { margin: 0 0 12px; }
.lb-aeo.lb-aeo-cta .lb-aeo-cta__title { color: #FFFDF9; font-family: 'Tiro Devanagari Marathi', serif; font-size: 1.5rem; line-height: 1.35; }
.lb-aeo.lb-aeo-cta .lb-aeo-cta__text { color: #FFF7EC; }
.lb-aeo.lb-aeo-cta .lb-aeo-cta__action { margin: 0; }
/* The same box built from native blocks (Group + Paragraphs + Buttons) – editable in the block editor. */
.lb-aeo.lb-aeo-cta .wp-block-buttons { justify-content: center; gap: 0; }
.lb-aeo.lb-aeo-cta .wp-block-button { margin: 0; }
.lb-aeo.lb-aeo-cta .lb-aeo-cta__button,
.lb-aeo.lb-aeo-cta .wp-block-button__link {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 10px 28px; border-radius: 999px;
  background: #FFFDF9; color: var(--lb-aeo-accent); font-weight: 700; text-decoration: none;
}
.lb-aeo.lb-aeo-cta .lb-aeo-cta__button:hover,
.lb-aeo.lb-aeo-cta .lb-aeo-cta__button:focus-visible,
.lb-aeo.lb-aeo-cta .wp-block-button__link:hover,
.lb-aeo.lb-aeo-cta .wp-block-button__link:focus-visible { background: #FFF7EC; color: #64172A; text-decoration: underline; }
.lb-aeo.lb-aeo-cta .lb-aeo-cta__button:focus-visible,
.lb-aeo.lb-aeo-cta .wp-block-button__link:focus-visible { outline: 3px solid var(--lb-aeo-gold); outline-offset: 2px; }
/* Core table block adds a 3px rule under <thead> and a figure margin – keep the component's own look. */
.wp-block-table.lb-aeo.lb-aeo-table { margin: 0 auto 20px; }
.wp-block-table.lb-aeo.lb-aeo-table thead { border-bottom: 1px solid var(--lb-aeo-border); }
.wp-block-table.lb-aeo.lb-aeo-table td,
.wp-block-table.lb-aeo.lb-aeo-table th { border: 0; border-bottom: 1px solid var(--lb-aeo-border); }

/* [lagnacha_downloads] – free Word / PDF files. */
.lb-site.lb-downloads { max-width: 1040px; margin: 0 auto; }
.lb-site .lb-downloads__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.lb-site .lb-downloads__item { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--lb-border); border-radius: 14px; background: var(--lb-bg); }
.lb-site .lb-downloads__img { display: block; width: 100%; height: auto; aspect-ratio: 240 / 339; object-fit: cover; object-position: top; border-bottom: 1px solid var(--lb-border); background: #fff; }
.lb-site .lb-downloads__body { display: flex; flex: 1; flex-direction: column; gap: 6px; padding: 14px 16px 16px; }
.lb-site .lb-downloads__title { margin: 0; color: var(--lb-accent); font-weight: 600; font-size: 1.125rem; }
.lb-site .lb-downloads__desc { margin: 0; font-size: 0.9375rem; }
.lb-site .lb-downloads__meta { margin: 0 0 6px; color: var(--lb-muted); font-size: 0.875rem; overflow-wrap: anywhere; }
.lb-site .lb-downloads__btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; margin-top: auto; padding: 10px 18px; border-radius: 999px; background: var(--lb-accent); color: #fff; font-weight: 600; text-decoration: none; }
.lb-site .lb-downloads__btn:hover { background: var(--lb-accent-dark, #5E1622); color: #fff; }
.lb-site .lb-downloads__btn:focus-visible { outline: 3px solid var(--lb-gold); outline-offset: 2px; }
.lb-site .lb-downloads__licence { margin: 16px 0 0; text-align: center; color: var(--lb-muted); font-size: 0.9375rem; }
.lb-site .lb-samples__pdf { display: block; margin: 6px 0 4px; color: var(--lb-accent); font-weight: 600; text-align: center; min-height: 44px; line-height: 44px; }

/* ---- Guide posts + guides archive (class-guides.php, views/guide.php, views/guides-archive.php) ----
   Two classes deep so Hello's reset and the Elementor kit (.elementor-kit-N h2 …) cannot override. */
.lb-guide {
  --lb-bg: #FFFDF9;
  --lb-panel: #FFF7EC;
  --lb-text: #2A1A14;
  --lb-muted: #6B5A50;
  --lb-border: #EADFD3;
  --lb-accent: #7B1E2E;
  --lb-gold: #B8862B;
  --lb-radius: 16px;
  --lb-font-ui: 'Mukta', 'Noto Sans Devanagari', system-ui, sans-serif;
  --lb-font-bio: 'Tiro Devanagari Marathi', 'Noto Serif Devanagari', serif;
  background: var(--lb-bg);
  color: var(--lb-text);
  font-family: var(--lb-font-ui);
}
.lb-guide .lb-guide__wrap { box-sizing: border-box; max-width: 780px; margin: 0 auto; padding: 20px 16px 56px; }
.lb-guide .lb-guide__wrap--wide { max-width: 1140px; }
.lb-guide .lb-breadcrumbs { margin: 0 0 14px; font-size: 0.9375rem; color: var(--lb-muted); }
.lb-guide .lb-breadcrumbs p { margin: 0; }
.lb-guide .lb-breadcrumbs a { color: var(--lb-accent); }
.lb-guide .lb-guide__header { margin: 0 0 22px; }
.lb-guide .lb-guide__title {
  margin: 0 0 10px;
  color: var(--lb-accent);
  font-family: var(--lb-font-bio);
  font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.5rem);
  font-weight: 400;
  line-height: 1.3;
}
.lb-guide .lb-guide__meta { margin: 0; color: var(--lb-muted); font-size: 0.9375rem; line-height: 1.6; }
.lb-guide .lb-guide__meta a { color: var(--lb-accent); text-decoration: underline; text-underline-offset: 0.18em; }
.lb-guide .lb-guide__intro { max-width: 760px; margin: 0; color: var(--lb-muted); font-size: 1.0625rem; line-height: 1.7; }

/* Reading typography: 18px Mukta, generous line height for Devanagari matras. */
.lb-guide .lb-guide__content { font-size: 1.125rem; line-height: 1.8; overflow-wrap: break-word; }
.lb-guide .lb-guide__content > * { margin-top: 0; margin-bottom: 1.1em; }
.lb-guide .lb-guide__content h2 {
  margin: 1.9em 0 0.6em;
  color: var(--lb-accent);
  font-family: var(--lb-font-bio);
  font-size: clamp(1.4rem, 1.15rem + 1vw, 1.75rem);
  font-weight: 400;
  line-height: 1.35;
}
.lb-guide .lb-guide__content h3 { margin: 1.5em 0 0.5em; color: var(--lb-text); font-family: var(--lb-font-ui); font-size: 1.25rem; font-weight: 600; line-height: 1.45; }
.lb-guide .lb-guide__content ul,
.lb-guide .lb-guide__content ol { padding-left: 1.4em; }
.lb-guide .lb-guide__content li { margin: 0 0 0.45em; }
.lb-guide .lb-guide__content li::marker { color: var(--lb-gold); }
.lb-guide .lb-guide__content a { color: var(--lb-accent); text-decoration: underline; text-underline-offset: 0.18em; }
.lb-guide .lb-guide__content a:hover { color: #5E1622; }
.lb-guide .lb-guide__content strong { font-weight: 600; }
.lb-guide .lb-guide__content blockquote { margin-left: 0; padding: 4px 0 4px 16px; border-left: 4px solid var(--lb-gold); color: var(--lb-muted); }
.lb-guide .lb-guide__content .lb-aeo { max-width: none; }
.lb-guide .lb-guide__content .lb-aeo-steps,
.lb-guide .lb-guide__content .lb-aeo-steps li::marker { color: inherit; }
.lb-guide .lb-guide__content .lb-aeo.lb-aeo-cta a.lb-aeo-cta__button,
.lb-guide .lb-guide__content .lb-aeo.lb-aeo-cta a.wp-block-button__link { color: var(--lb-accent); text-decoration: none; }
.lb-guide .lb-guide__content .lb-faq { margin-top: 0.5em; }
.lb-guide .lb-guide__content .lb-faq details { font-size: 1.0625rem; }

/* Related guides / landing pages */
.lb-guide .lb-guide__related { margin: 44px 0 0; }
.lb-guide .lb-guide__related-title { margin: 0 0 16px; color: var(--lb-accent); font-family: var(--lb-font-bio); font-size: 1.5rem; font-weight: 400; line-height: 1.35; }

/* Archive */
.lb-guide .lb-guide__grid { margin-top: 8px; }
.lb-guide .lb-guide__grid .lb-links__title { font-size: 1.125rem; }
.lb-guide .lb-guide__empty { padding: 24px; background: var(--lb-panel); border: 1px solid var(--lb-border); border-radius: var(--lb-radius); text-align: center; }
.lb-guide .navigation.pagination { margin: 32px 0 0; text-align: center; }
.lb-guide .navigation.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.lb-guide .navigation.pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 12px;
  border: 1px solid var(--lb-border); border-radius: 999px; background: #fff; color: var(--lb-accent); text-decoration: none;
}
.lb-guide .navigation.pagination .page-numbers.current { background: var(--lb-accent); border-color: var(--lb-accent); color: #fff; }
.wp-block-table.lb-aeo.lb-aeo-table figcaption { margin: 0; padding: 8px 14px 10px; color: var(--lb-aeo-muted); font-size: 0.875rem; text-align: left; }

/* ---- Site structure blocks (class-hubs.php): format hub cards, guide hub sections, chips, HTML sitemap ---- */
.lb-site.lb-hub { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 16px; }
.lb-site.lb-hub .lb-hub__card { margin: 0; padding: 20px; background: #fff; border: 1px solid var(--lb-border); border-radius: var(--lb-radius); scroll-margin-top: 16px; }
.lb-site.lb-hub .lb-hub__card:target { border-color: var(--lb-gold); }
.lb-site.lb-hub .lb-hub__title { margin: 0 0 4px; color: var(--lb-accent); font-family: var(--lb-font-bio); font-size: 1.375rem; font-weight: 400; line-height: 1.35; }
.lb-site.lb-hub .lb-hub__desc { margin: 0 0 10px; color: var(--lb-muted); font-size: 0.9375rem; }
.lb-site.lb-hub .lb-hub__links,
.lb-site.lb-hub__guides { list-style: none; margin: 0; padding: 0; }
.lb-site.lb-hub .lb-hub__links a,
.lb-site.lb-hub__guides a { display: inline-flex; align-items: center; min-height: 44px; color: var(--lb-accent); font-weight: 600; text-decoration: underline; text-underline-offset: 0.15em; }
.lb-links__subheading { margin: 28px 0 8px; font-size: 1.125rem; font-weight: 600; text-align: center; }
.lb-site.lb-hub__guides { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 24px; text-align: center; }
.lb-site.lb-hub__guides a { font-weight: 400; }

.lb-guide .lb-hubsec { margin: 40px 0 0; }
.lb-guide .lb-hubsec__title { margin: 0 0 4px; color: var(--lb-accent); font-family: var(--lb-font-bio); font-size: clamp(1.4rem, 1.15rem + 1vw, 1.75rem); font-weight: 400; line-height: 1.35; }
.lb-guide .lb-hubsec__title a { color: inherit; text-decoration: none; }
.lb-guide .lb-hubsec__title a:hover { text-decoration: underline; text-underline-offset: 0.15em; }
.lb-guide .lb-hubsec__desc { margin: 0 0 14px; color: var(--lb-muted); }
.lb-guide .lb-hubsec .lb-links__more { text-align: left; }
.lb-guide .lb-hubsec--cta { margin-top: 48px; }

.lb-site.lb-chips { margin: 28px 0 0; text-align: center; }
.lb-site.lb-chips .lb-chips__title { margin: 0 0 10px; color: var(--lb-text); font-family: var(--lb-font-ui); font-size: 1.125rem; font-weight: 600; line-height: 1.4; }
.lb-site.lb-chips .lb-chips__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.lb-site.lb-chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 16px; border: 1px solid var(--lb-border); border-radius: 999px; background: #fff; color: var(--lb-accent); font-weight: 600; text-decoration: none; }
.lb-site.lb-chips a:hover, .lb-site.lb-chips a:focus-visible { border-color: var(--lb-gold); text-decoration: underline; }
.lb-guide .lb-chips { margin-top: 44px; }

.lb-site.lb-sitemap { columns: 2 320px; column-gap: 40px; }
.lb-site.lb-sitemap .lb-sitemap__part { break-inside: avoid-column; margin: 0 0 28px; }
.lb-site.lb-sitemap h2 { margin: 0 0 8px; color: var(--lb-accent); font-family: var(--lb-font-bio); font-size: 1.5rem; font-weight: 400; }
.lb-site.lb-sitemap h3 { margin: 14px 0 4px; font-size: 1.0625rem; font-weight: 600; }
.lb-site.lb-sitemap h3 a { color: var(--lb-text); }
.lb-site.lb-sitemap ul { margin: 0; padding: 0 0 0 1.2em; }
.lb-site.lb-sitemap li { margin: 0; }
.lb-site.lb-sitemap li a { display: inline-block; padding: 6px 0; color: var(--lb-accent); text-decoration: underline; text-underline-offset: 0.15em; }

/* ---- Trust elements (class-trust.php, class-testimonials.php) ---- */
/* A hidden widget (counter below its threshold, badge before the community review) takes no space either. */
.elementor-widget:has(> .lb-auto-empty),
.elementor-widget:has(> .elementor-widget-container > .lb-auto-empty) { display: none; }
.lb-ticon { width: 24px; height: 24px; flex: none; }
.lb-ticon--sm { width: 16px; height: 16px; }

/* Icon row / numbered steps */
.lb-site.lb-trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.lb-site.lb-trust .lb-trust__item { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border: 1px solid var(--lb-border); border-radius: var(--lb-radius); background: var(--lb-bg); font-weight: 600; line-height: 1.4; }
.lb-site.lb-trust .lb-trust__icon { display: inline-flex; color: #1F6B43; }
.lb-site.lb-trust--steps { align-items: center; gap: 8px; }
.lb-site.lb-trust--steps .lb-trust__item { flex-direction: column; gap: 4px; min-width: 120px; padding: 14px 12px; text-align: center; background: var(--lb-panel); }
.lb-site.lb-trust--steps .lb-trust__icon { color: var(--lb-accent); }
.lb-site.lb-trust .lb-trust__num { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--lb-accent); color: #FFFDF9; font-size: 14px; font-weight: 700; }
.lb-site.lb-trust .lb-trust__arrow { display: inline-flex; color: var(--lb-gold-ink); }
.lb-site.lb-trust .lb-trust__arrow svg { width: 22px; height: 22px; }
@media (max-width: 600px) {
  .lb-site.lb-trust--row { flex-direction: column; align-items: stretch; gap: 8px; }
  .lb-site.lb-trust--steps { flex-wrap: nowrap; gap: 4px; }
  .lb-site.lb-trust--steps .lb-trust__item { min-width: 0; flex: 1 1 0; padding: 10px 6px; font-size: 14px; }
  .lb-site.lb-trust--steps .lb-trust__arrow svg { width: 16px; height: 16px; }
}

/* "आत्तापर्यंत X बायोडाटा बनवले" */
.lb-site.lb-counter { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 6px 14px; border: 1px solid var(--lb-border); border-radius: 999px; background: var(--lb-panel); font-size: 15px; }
.lb-site.lb-counter .lb-ticon { width: 18px; height: 18px; color: var(--lb-accent); }
.lb-site.lb-counter strong { color: var(--lb-accent); }

/* Testimonials */
.lb-site.lb-tm .lb-tm__heading { margin: 0 0 20px; text-align: center; }
.lb-site.lb-tm .lb-tm__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.lb-site.lb-tm .lb-tm__card { display: flex; flex-direction: column; justify-content: space-between; gap: 10px; padding: 18px; border: 1px solid var(--lb-border); border-radius: var(--lb-radius); background: var(--lb-bg); }
.lb-site.lb-tm .lb-tm__text { margin: 0; padding: 0; border: 0; font-style: normal; }
.lb-site.lb-tm .lb-tm__text p { margin: 0; }
.lb-site.lb-tm .lb-tm__text p::before { content: "\201C"; color: var(--lb-gold-ink); }
.lb-site.lb-tm .lb-tm__text p::after { content: "\201D"; color: var(--lb-gold-ink); }
.lb-site.lb-tm .lb-tm__who { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 10px; color: var(--lb-muted); font-size: 15px; }
.lb-site.lb-tm .lb-tm__who strong { color: var(--lb-text); }

/* Founder strip */
.lb-site.lb-founder { display: flex; gap: 18px; align-items: center; max-width: 820px; margin: 0 auto; padding: 18px 20px; border: 1px solid var(--lb-border); border-radius: var(--lb-radius); background: var(--lb-panel); }
.lb-site.lb-founder .lb-founder__photo { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; flex: none; }
.lb-site.lb-founder .lb-founder__photo--letter { display: inline-flex; align-items: center; justify-content: center; background: var(--lb-accent); color: #FFFDF9; font-size: 36px; }
.lb-site.lb-founder p { margin: 0; }
.lb-site.lb-founder .lb-founder__text { display: grid; gap: 4px; }
.lb-site.lb-founder .lb-founder__name { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 1.125rem; }
.lb-site.lb-founder .lb-founder__place { display: inline-flex; align-items: center; gap: 3px; color: var(--lb-muted); font-size: 15px; }
.lb-site.lb-founder .lb-founder__badge { color: var(--lb-gold-ink); font-weight: 600; font-size: 15px; }
.lb-site.lb-founder .lb-founder__link { justify-self: start; display: inline-flex; align-items: center; min-height: 44px; color: var(--lb-accent); font-weight: 600; text-decoration: underline; text-underline-offset: .15em; }
@media (max-width: 600px) {
  .lb-site.lb-founder { flex-direction: column; text-align: center; }
  .lb-site.lb-founder .lb-founder__name { justify-content: center; }
  .lb-site.lb-founder .lb-founder__link { justify-self: center; }
}

/* Community review badge */
.lb-site.lb-cbadge { display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 4px 12px; border: 1px solid #BFD8C9; border-radius: 999px; background: #EEF6F1; color: #1F6B43; font-size: 15px; font-weight: 600; }
.lb-site.lb-cbadge .lb-ticon { width: 18px; height: 18px; }

/* Private testimonial form */
.lb-site.lb-tform { display: grid; gap: 14px; max-width: 640px; }
.lb-site.lb-tform p { margin: 0; }
.lb-site.lb-tform .lb-tform__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 14px; }
.lb-site.lb-tform .lb-tform__field { display: grid; gap: 4px; }
.lb-site.lb-tform label, .lb-site.lb-tform legend { font-weight: 600; }
.lb-site.lb-tform input[type="text"], .lb-site.lb-tform textarea { width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid #8C7B6E; border-radius: 10px; background: #fff; font: inherit; font-size: 16px; color: var(--lb-text); }
.lb-site.lb-tform .lb-tform__hint, .lb-site.lb-tform .lb-tform__note { color: var(--lb-muted); font-size: 14px; }
.lb-site.lb-tform .lb-tform__rating { margin: 0; padding: 0; border: 0; }
.lb-site.lb-tform .lb-tform__stars { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.lb-site.lb-tform .lb-tform__stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.lb-site.lb-tform .lb-tform__stars label { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; cursor: pointer; color: #A8968A; }
.lb-site.lb-tform .lb-tform__stars svg { width: 32px; height: 32px; fill: currentColor; }
.lb-site.lb-tform .lb-tform__stars input:checked ~ label,
.lb-site.lb-tform .lb-tform__stars label:hover,
.lb-site.lb-tform .lb-tform__stars label:hover ~ label { color: var(--lb-gold); }
.lb-site.lb-tform .lb-tform__stars input:focus-visible + label { outline: 2px solid var(--lb-accent); outline-offset: 2px; border-radius: 8px; }
.lb-site.lb-tform .lb-tform__sr, .lb-site.lb-tform .lb-tform__hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lb-site.lb-tform .lb-tform__consent { display: flex; gap: 10px; align-items: flex-start; }
.lb-site.lb-tform .lb-tform__consent input { width: 22px; height: 22px; margin: 3px 0 0; flex: none; accent-color: var(--lb-accent); }
.lb-site.lb-tform .lb-tform__send { min-height: 48px; padding: 10px 24px; border: 0; border-radius: 999px; background: var(--lb-accent); color: #FFFDF9; font: inherit; font-weight: 600; font-size: 17px; cursor: pointer; }
.lb-site.lb-tform .lb-tform__send:hover, .lb-site.lb-tform .lb-tform__send:focus { background: #64172A; color: #FFFDF9; }
.lb-site.lb-tform .lb-tform__error { padding: 10px 14px; border-radius: 10px; background: #FBEDEF; color: #7B1E2E; font-weight: 600; }
.lb-site.lb-tform--done .lb-tform__thanks { color: #1F6B43; font-size: 1.125rem; font-weight: 700; }
