/* Truly Permanent Beauty - gallery lightbox.
   Sirf gallery page par load hota hai. Koi library nahi, koi inline CSS nahi. */

.gallery_section .portfolio_item { cursor: zoom-in; }

.tpb-lb {
  position: fixed;
  inset: 0;
  z-index: 4000;
  background: rgba(14, 12, 13, .93);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s ease;
}
.tpb-lb.is-open { opacity: 1; visibility: visible; }

.tpb-lb__stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 92vw;
  max-height: 92vh;
}

.tpb-lb__img {
  max-width: 90vw;
  max-height: 78vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .55);
  transform: scale(.96);
  transition: transform .18s ease, opacity .15s ease;
}
.tpb-lb.is-open .tpb-lb__img { transform: scale(1); }
.tpb-lb__img.is-loading { opacity: .35; }

.tpb-lb__cap {
  color: #e7e3e4;
  font-size: 15px;
  line-height: 1.5;
  text-align: center;
  max-width: 78vw;
  margin: 0;
}
.tpb-lb__count {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: #a49ea0;
  letter-spacing: .4px;
}

.tpb-lb__btn {
  position: fixed;
  z-index: 4001;
  border: 0;
  color: #fff;
  background: rgba(255, 255, 255, .13);
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
  line-height: 1;
  padding: 0;
}
.tpb-lb__btn:hover { background: rgba(255, 255, 255, .27); }
.tpb-lb__btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.tpb-lb__close {
  top: 18px;
  right: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 26px;
}
.tpb-lb__close:hover { transform: rotate(90deg); }

.tpb-lb__nav {
  top: 50%;
  margin-top: -34px;
  width: 46px;
  height: 68px;
  border-radius: 6px;
  font-size: 28px;
}
.tpb-lb__prev { left: 18px; }
.tpb-lb__next { right: 18px; }
.tpb-lb__nav[hidden] { display: none; }

body.tpb-lb-open { overflow: hidden; }

@media (max-width: 767px) {
  .tpb-lb__img { max-height: 68vh; max-width: 94vw; }
  .tpb-lb__cap { font-size: 13.5px; max-width: 90vw; }
  .tpb-lb__close { top: 10px; right: 12px; width: 38px; height: 38px; font-size: 22px; }
  .tpb-lb__nav { width: 36px; height: 54px; font-size: 22px; margin-top: -27px; }
  .tpb-lb__prev { left: 8px; }
  .tpb-lb__next { right: 8px; }
}

/* ---------- blog pagination ---------- */
.blog-pagination { margin-top: 28px; text-align: center; }
.blog-pagination ul { list-style: none; padding: 0; margin: 0 0 10px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.blog-pagination li { margin: 0; }
.blog-pagination li::before { content: none; }
.blog-pagination a,
.blog-pagination .current {
  display: inline-block; min-width: 38px; padding: 7px 12px;
  border: 1px solid #e2d7d9; border-radius: 5px;
  font-size: 14px; line-height: 1.2; text-decoration: none; color: #6b5a5e; background: #fff;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.blog-pagination a:hover { background: #f4ecee; color: #b07d88; border-color: #d9c4c9; }
.blog-pagination .current { background: #b07d88; border-color: #b07d88; color: #fff; font-weight: 600; }
.blog-pagination .pg-count { font-size: 13px; color: #9a8f92; margin: 0; }
@media (max-width: 575px) {
  .blog-pagination a, .blog-pagination .current { min-width: 32px; padding: 5px 9px; font-size: 13px; }
}

/* ---------- founder credentials + author box ---------- */
.founder-creds { list-style: none; padding: 0; margin: 18px 0 0; }
.founder-creds li {
  position: relative; padding: 0 0 0 22px; margin-bottom: 8px;
  font-size: 15px; line-height: 1.55; color: #5c5054;
}
.founder-creds li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 8px; height: 8px; border-radius: 50%; background: #b07d88;
}
.founder-creds a { color: #b07d88; text-decoration: underline; }

.author-box {
  display: flex; gap: 18px; align-items: flex-start; flex-wrap: wrap;
  margin: 36px 0 8px; padding: 22px;
  background: #faf5f6; border: 1px solid #eddfe2; border-radius: 10px;
}
.author-box__img { flex: 0 0 96px; display: block; }
.author-box__img img { width: 96px; height: 96px; object-fit: cover; border-radius: 50%; display: block; }
.author-box__text { flex: 1 1 260px; min-width: 0; }
.author-box__label { font-size: 11.5px; text-transform: uppercase; letter-spacing: 1.2px; color: #a08f94; }
.author-box h3 { margin: 2px 0 4px; font-size: 20px; line-height: 1.25; }
.author-box h3 a { color: #3f3437; text-decoration: none; }
.author-box h3 a:hover { color: #b07d88; }
.author-box__role { font-size: 13px; color: #8b7c80; margin: 0 0 8px; line-height: 1.5; }
.author-box p { font-size: 14.5px; line-height: 1.6; color: #5c5054; margin: 0 0 10px; }
.author-box__link { font-size: 14px; font-weight: 600; color: #b07d88; text-decoration: none; }
.author-box__link:hover { text-decoration: underline; }

@media (max-width: 575px) {
  .author-box { padding: 16px; gap: 14px; }
  .author-box__img, .author-box__img img { flex-basis: 72px; width: 72px; height: 72px; }
  .author-box h3 { font-size: 18px; }
}
