.psth2-site-header .pathiktv-header-search,.psth2-site-header #btn-search-open{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;min-width:44px;padding:10px 13px;border-radius:13px;background:#fff5f9;color:#881337;border:1px solid #ddb6c6;box-shadow:0 2px 8px #0001;font:600 14px/1.4 'Pothik Bangla',sans-serif;cursor:pointer;text-decoration:none}
.psth2-site-header #btn-search-open svg,.psth2-site-header .pathiktv-header-search svg{width:20px;height:20px;flex-shrink:0}.psth2-site-header #btn-search-open:hover,.psth2-site-header .pathiktv-header-search:hover{background:#fce7ef;color:#70102c}.psth-search-dialog{box-sizing:border-box;width:min(580px,calc(100% - 24px));max-height:calc(100dvh - 40px);overflow:auto;padding:26px;border:1px solid #e8c6d3;border-radius:22px;background:#fffafc;color:#361522;box-shadow:0 24px 90px #0004}.psth-search-dialog::backdrop{background:#160711a8;backdrop-filter:blur(4px)}.psth-search-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.psth-search-heading h2{margin:0;font-size:24px;color:#881337}.psth-search-heading button{width:44px;height:44px;background:#fce7ef;color:#881337;border:0;border-radius:12px;font-size:26px;cursor:pointer}.psth-search-dialog p{font-size:15px;line-height:1.8;color:#68515b}.psth-search-dialog label{display:block;font-size:15px;font-weight:700;margin-bottom:8px}.psth-search-input{display:flex;gap:8px}.psth-search-input input{min-width:0;width:100%;min-height:48px;padding:10px 12px;border:1px solid #c9a3b3;border-radius:12px;background:white;color:#361522;font-size:16px}.psth-search-input button{flex-shrink:0;padding:10px 17px;background:#9f1239;color:white;border:0;border-radius:12px;font-size:16px;cursor:pointer}.psth-search-authors{display:inline-block;margin-top:20px;color:#881337;text-decoration:underline}.psth-search-dialog :focus-visible{outline:3px solid #0369a1;outline-offset:3px}
body.page .psth6-dashboard,body.page .psth6-dashboard input,body.page .psth6-dashboard select,body.page .psth6-dashboard button,body.page .psth6-dashboard textarea{font-family:'Pothik Bangla',sans-serif!important;line-height:1.8!important}.psth6-dashboard p,.psth6-dashboard label,.psth6-dashboard a{font-family:'Pothik Bangla',sans-serif!important}
@media(min-width:1025px){body:has(.pathiktv-photocard-workspace){overflow-x:clip!important;overflow-y:visible!important}.pathiktv-photocard-workspace{align-items:start!important;overflow:visible!important;height:auto!important}.pathiktv-photocard-preview-panel{position:sticky!important;top:100px!important;align-self:start!important;max-height:calc(100dvh - 116px)!important;overflow:auto!important}.admin-bar .pathiktv-photocard-preview-panel{top:132px!important;max-height:calc(100dvh - 148px)!important}}
@media(min-width:1025px){body.pathiktv-community-page{overflow-x:clip!important;overflow-y:visible!important}body.pathiktv-community-page .pathiktv-community-sidebar{position:sticky!important;top:100px!important;align-self:start!important;max-height:calc(100dvh - 116px)!important;overflow:auto!important;scrollbar-width:thin}body.admin-bar.pathiktv-community-page .pathiktv-community-sidebar{top:132px!important;max-height:calc(100dvh - 148px)!important}}
@media(max-width:1024px){.pathiktv-photocard-preview-panel{position:static!important;max-height:none!important;overflow:visible!important}}
@media(max-width:1024px){body.pathiktv-community-page .pathiktv-community-sidebar{position:static!important;max-height:none!important;overflow:visible!important}}

.pathiktv-dashboard-page .entry-content :is(h1,h2,h3,h4,p,a,button,label,input,select,textarea,small,strong,td,th,summary,span:not(.dashicons)){font-family:"Pothik Bangla",sans-serif!important}.psth6-view-library{font-size:16px;line-height:1.85}.psth6-view-library h2{font-size:23px;line-height:1.6}
@media(max-width:1024px){body.pathiktv-photocard-page{overflow-x:clip!important;overflow-y:visible!important}.pathiktv-photocard-preview-panel{position:sticky!important;top:76px!important;z-index:3;max-height:42dvh!important;overflow:auto!important}.admin-bar .pathiktv-photocard-preview-panel{top:122px!important}.pathiktv-photocard-preview-panel .pathiktv-card-canvas-wrap canvas{max-height:23dvh!important;width:auto!important;max-width:100%!important}.pathiktv-photocard-preview-panel .pathiktv-card-canvas-wrap{display:flex;justify-content:center}.pathiktv-photocard-preview-panel .pathiktv-preview-top{padding:4px 0!important;margin-bottom:6px!important}}
.psth-search-dialog{margin:auto!important;inset:0!important}
body.pathiktv-photocard-page .pathiktv-photocard-preview-panel{top:var(--psth-preview-top,100px)!important;max-height:min(784px,calc(100dvh - var(--psth-preview-top,100px) - 16px))!important;contain:layout style}
@media(max-width:1024px){body.pathiktv-photocard-page .pathiktv-photocard-preview-panel{max-height:min(42dvh,calc(100dvh - var(--psth-preview-top,76px) - 90px))!important}}

/* Community feed columns and the post composer. */
@media (min-width: 768px) {
  body.pathiktv-community-page #main .pathiktv-community-shell {
    width: calc(100% - 32px) !important;
    max-width: 1480px !important;
    margin-inline: auto !important;
  }
}
@media (min-width: 1200px) {
  body.pathiktv-community-page .pathiktv-community-layout {
    grid-template-columns: clamp(235px, 21vw, 300px) minmax(0, 1fr) clamp(245px, 22vw, 320px) !important;
  }
}
@media (min-width: 900px) and (max-width: 1199px) {
  body.pathiktv-community-page .pathiktv-community-layout {
    grid-template-columns: minmax(0, 1fr) 265px !important;
  }
  body.pathiktv-community-page .pathiktv-community-sidebar {
    position: static !important;
    max-height: none !important;
    overflow: visible !important;
  }
}
.pathiktv-community-shell .pathiktv-member-list { overflow-x: hidden; }
.pathiktv-community-shell .pathiktv-community-side-card { min-width: 0; }
.pathiktv-community-shell .pathiktv-popular-list a { overflow-wrap: anywhere; }
.pathiktv-community-shell .pathiktv-community-sso { margin: 6px 0; }
.pathiktv-community-shell .psth7-compose-panel > summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 18px;
  background: #f5f2f3;
  color: #503340;
}
.pathiktv-community-shell .psth7-compose-panel > summary .pathiktv-composer-user { flex: 1; margin: 0; }
.pathiktv-community-shell .psth7-compose-open { display: block; color: #970b3b; white-space: nowrap; }
.pathiktv-community-dialog {
  box-sizing: border-box;
  width: min(620px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  margin: auto;
  padding: clamp(14px, 3vw, 26px);
  overflow: auto;
  background: #fff;
  color: #262122;
  border: 1px solid #ede5e8;
  border-radius: 18px;
  box-shadow: 0 12px 52px #26121c45;
}
.pathiktv-community-dialog::backdrop { background: #1f141aaa; }
.pathiktv-community-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.pathiktv-community-dialog-header h2 { margin: 0; font-size: 21px; }
.pathiktv-community-dialog-header button {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #f5edf0;
  color: #701332;
  font-size: 24px;
  cursor: pointer;
}
.pathiktv-community-shell :where(summary, dialog button):focus-visible { outline: 2px solid #9f1239; outline-offset: 3px; }
.pathiktv-community-writing-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.pathiktv-community-writing-meta time { color: #655a60; font-size: .85rem; }
.pathiktv-community-writing h2 { margin: 12px 0 8px; font-size: 1.25rem; }
.pathiktv-community-writing-read { color: #970b3b; font-weight: 700; }
.pathiktv-community-writing-cover {
  display: block;
  margin: 0 0 12px;
  overflow: hidden;
  border-radius: 12px;
  background: #f5f2f3;
}
.pathiktv-community-writing-cover img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 460px;
  object-fit: contain;
}

.pathiktv-community-writing .pathiktv-community-writing-meta {
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}
.pathiktv-community-writing-author { min-width: 0; overflow-wrap: anywhere; }
.pathiktv-community-writing-categories { display: flex; flex-wrap: wrap; gap: 6px; }
.pathiktv-community-writing-categories span {
  padding: 3px 9px;
  border: 1px solid #e8dce1;
  border-radius: 8px;
  background: #faf4f7;
  color: #702342;
  font-size: .8rem;
}
.pathiktv-community-writing .pathiktv-community-writing-cover img {
  aspect-ratio: 16 / 9;
  max-height: none;
  object-fit: cover;
}
.pathiktv-community-writing h2 {
  font-size: clamp(1.1rem, 2.1vw, 1.5rem);
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.pathiktv-community-writing-excerpt { margin: 0 0 10px; color: #51464a; line-height: 1.8; }
