.posts-enhanced .post-table-wrap{display:none}.post-gallery{padding:16px;border:1px solid #dce5f0;border-radius:20px;background:#fff;box-shadow:0 8px 30px #14355b08}.post-gallery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:238px;gap:14px;max-height:490px;overflow:auto;scrollbar-gutter:stable}.post-gallery-card{position:relative;border:1px solid #dce5f0;border-radius:12px;overflow:hidden;background:#f4f7fc}.post-gallery-preview{height:180px;background:#0b1422;overflow:hidden}.post-gallery-preview iframe{width:100%;height:100%;border:0;pointer-events:none}.post-gallery-open{position:absolute;inset:0;border:0;background:transparent;padding:0;color:#102449;text-align:left;width:100%;display:flex;flex-direction:column;justify-content:flex-end}.post-gallery-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;width:100%;min-height:58px;padding:9px 12px;background:#fff;font-size:.84rem;line-height:20px;font-weight:750}.post-gallery-play{position:absolute;top:30px;left:calc(50% - 18px);width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:#fffdf5ed;color:#163c6b;box-shadow:0 2px 14px #0004}.post-gallery-open:hover .post-gallery-play{background:#ffff00;color:#000}.post-gallery-open:focus-visible{outline:3px solid #1c65ba;outline-offset:-3px}.post-gallery-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;padding-top:12px;color:#5e7189;font-size:.8rem}.post-gallery-toolbar button,.post-preview-foot button{border:1px solid #cbd8e9;border-radius:20px;background:white;color:#173d6c;min-height:36px;padding:6px 15px;font-weight:700}.post-gallery-toolbar button+button{margin-left:8px}.post-gallery-toolbar button:disabled,.post-preview-foot button:disabled{opacity:.35;cursor:default}.post-preview-modal{width:min(780px,94vw);max-height:86vh;border:0;border-radius:18px;padding:20px;overflow:auto;color:#102449;box-shadow:0 20px 80px #0005}.post-preview-modal::backdrop{background:#06162bd9}.post-preview-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:12px}.post-preview-head h3{font-size:1rem;line-height:1.4;margin:0}.post-preview-head button{flex-shrink:0;width:36px;height:36px;border:1px solid #cbd8e9;border-radius:50%;background:white;font-size:1.4rem;color:#173d6c}.post-preview-stage{height:min(42vh,340px);background:#0b1422;overflow:hidden;border-radius:10px}.post-preview-stage iframe{width:100%;height:100%;border:0}.post-preview-description{max-height:100px;overflow:auto;white-space:pre-wrap;font-size:.84rem;line-height:1.6;color:#526982;margin:12px 0}.post-preview-foot{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:.82rem}.post-preview-foot a{margin-left:auto;color:#174c89;font-weight:750}.post-preview-fallback{height:100%;display:grid;place-items:center;color:#dee8fa;margin:0;padding:12px;font-size:.8rem;text-align:center}@media(max-width:800px){.post-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.post-gallery{padding:12px}.post-gallery-grid{gap:9px}.post-gallery-title{padding:8px;font-size:.77rem}.post-gallery-toolbar{font-size:.7rem}.post-gallery-toolbar button{padding:6px 10px}.post-preview-modal{padding:14px}}
/* Keep portrait reels fully visible within the compact viewport. */
.post-gallery-preview{position:relative;background:radial-gradient(ellipse at center,#27466a,#0b1422)}
.post-gallery-preview iframe{position:absolute;top:0;left:50%;width:267px;height:476px;margin-left:-133.5px;transform:scale(.378151);transform-origin:top center}
.post-gallery-play{width:28px;height:28px;left:auto;right:12px;top:76px;font-size:.75rem}
.post-preview-stage{display:flex;justify-content:center;align-items:center}
.post-preview-stage iframe{width:min(23.625vh,191.25px);height:100%;flex-shrink:0}

.posts-reels .sectiontop{margin-bottom:20px;align-items:center}.posts-reels .sectiontop h2{font-size:clamp(1.5rem,2.7vw,2.1rem);line-height:1.2;margin:0;letter-spacing:-.035em}.posts-reels .sectiontop p{margin:0;max-width:480px}@media(max-width:1000px){.post-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.post-gallery-title{font-size:.78rem}.posts-reels .sectiontop{gap:14px}}

/* Full post titles: intrinsic card rows instead of clipped overlays. */
.post-gallery-grid{grid-auto-rows:minmax(258px,auto);max-height:none;overflow:visible;align-items:stretch}
.post-gallery-card{display:flex;flex-direction:column}
.post-gallery-preview{flex-shrink:0}
.post-gallery-open{position:static;inset:auto;display:block;flex:1;min-height:0;background:#fff}
.post-gallery-open::before{content:'';position:absolute;inset:0;z-index:1}
.post-gallery-title{display:block;-webkit-line-clamp:unset;-webkit-box-orient:initial;overflow:visible;white-space:normal;overflow-wrap:anywhere;word-break:normal;min-height:78px;padding:10px 12px;font-size:.82rem;line-height:1.5}
.post-gallery-play{z-index:2;pointer-events:none}
@media(max-width:1000px){.post-gallery-grid{max-height:740px;overflow-y:auto}}
@media(max-width:480px){.post-gallery-title{font-size:.78rem;padding:10px}}

.posts-reels .sectiontop h2.facebook-collection-title{display:flex;align-items:center;gap:10px;font-size:clamp(1.3rem,2.35vw,1.95rem);white-space:nowrap}.facebook-title-symbol{display:block;width:30px;height:30px;flex:none;filter:drop-shadow(0 2px 3px #1877f226)}.facebook-title-end{display:inline-flex;flex:none}.posts-reels .sectiontop>div{min-width:0}.posts-reels .sectiontop p{max-width:440px}@media(max-width:1100px){.facebook-title-end{display:none}}@media(max-width:540px){.posts-reels .sectiontop h2.facebook-collection-title{font-size:clamp(.95rem,4.2vw,1.35rem);gap:8px}.facebook-title-symbol{width:25px;height:25px}}

.meta-title-symbol{display:block;width:37px;height:25px;flex:none;filter:drop-shadow(0 1px 2px #0866ff16)}
