/* LIC v6.7: exact 16:9 poster framing without cover-cropping. */
.news-grid-polished .news-card,.news-grid .news-card{min-width:0}
.news-grid-polished .news-thumb,.news-card .news-thumb,.pa-news-thumb,.pa-plan-thumb,.lpc67-feature-image{display:block;width:100%;aspect-ratio:16/9!important;height:auto!important;max-height:none!important;background:#eaf1f6;overflow:hidden}
.news-grid-polished .news-thumb img,.news-grid .news-thumb img,.news-card .news-thumb img,.pa-news-thumb img,.pa-plan-thumb img,.lpc67-feature-image img,
.news-card img.wp-post-image,.post-card img.wp-post-image{display:block!important;width:100%!important;height:100%!important;aspect-ratio:16/9!important;max-width:100%!important;max-height:none!important;object-fit:contain!important;object-position:center center!important;transform:none!important;clip-path:none!important}
.news-grid-polished .news-thumb img,.news-card .news-thumb img{height:auto!important;min-height:0!important}
.news-card .news-thumb{line-height:0;}
/* No hard clipping if text is close to an original generated image's edge. */
.news-grid-polished{overflow:visible}.news-card{overflow:visible}
/* Featured panel: poster and compact title, no huge unsupported decorative plan number. */
.hero-grid{grid-template-columns:minmax(0,1.55fr) minmax(325px,.92fr)!important;align-items:stretch}
.hero .lpc67-feature{overflow:hidden;background:#f0f5f7;padding:22px!important;display:flex!important;align-items:stretch!important;gap:0;min-width:0}
.lpc67-feature .side-top{display:flex;align-items:center;gap:10px;margin-bottom:18px}
.lpc67-feature-image{flex:none;border:1px solid #dce8ef;border-radius:12px;box-shadow:0 8px 24px rgba(13,50,80,.09)}
.lpc67-feature-placeholder{min-height:155px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:linear-gradient(120deg,#123256,#1d5d8a);color:#ffdb83;border-radius:12px}
.lpc67-feature-placeholder span{font-weight:900;font-size:30px}.lpc67-feature-body{display:flex;flex-direction:column;min-width:0;flex:1;padding:16px 2px 2px;position:relative;z-index:2}
.lpc67-feature-meta{font-size:11px;font-weight:800;letter-spacing:.02em;color:#226082;line-height:1.5;margin-bottom:9px}
.hero .lpc67-feature h2{font-size:clamp(18px,2vw,27px)!important;line-height:1.28!important;letter-spacing:-.03em;overflow-wrap:anywhere;margin:0 0 10px!important;color:#142d49;max-width:100%}
.hero .lpc67-feature p{font-size:12px!important;line-height:1.7;color:#425b70!important;margin:0 0 14px;max-width:100%}
.lpc67-feature-link{margin-top:auto;display:flex!important;align-items:center;justify-content:space-between;gap:12px;padding:13px 15px!important;border:0!important;border-radius:9px;background:#143b60;color:#fff!important;letter-spacing:0!important;font-size:12px!important;font-weight:800!important;text-decoration:none}
.lpc67-feature-link:hover{background:#215d8b;color:#fff!important}
/* Directory distinguish verified plans, educational tools and unreviewed plans. */
.library-aside .filter{display:flex;width:100%;justify-content:space-between;padding:14px 0}
.library .filter-context p{color:#cbd8e6;line-height:1.65}
.library .plan-row[data-status="Educational tool"] .plan-status{color:#127195}
/* Real footer links and low-weight contact help link */
.lpc67-social{border-top:1px solid rgba(255,255,255,.14);padding-top:18px;margin-top:21px}
.lpc67-social-title{display:block;font-size:11px;font-weight:850;letter-spacing:.09em;color:#fff;margin-bottom:10px;text-transform:uppercase}
.lpc67-social-links{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.lpc67-social-links a{display:inline-flex!important;align-items:center;justify-content:center;gap:7px;min-width:43px;min-height:43px;padding:9px 12px;border-radius:10px;background:#1c3c5d;border:1px solid rgba(255,255,255,.2);color:#f3f8fb!important;font-size:11px;font-weight:750;text-decoration:none}
.lpc67-social-links a:hover{background:#27618e;border-color:#b9dbef}
.lpc67-social-links svg{display:block;width:19px;height:19px;fill:currentColor}
.lpc67-help{position:fixed;right:21px;bottom:23px;z-index:95;display:flex;align-items:center;gap:9px;padding:12px 17px;color:white!important;background:#113b64;border:1px solid #b1d5e7;border-radius:999px;box-shadow:0 6px 21px rgba(8,37,65,.26);font-weight:800;font-size:13px;line-height:1.3}
.lpc67-help:hover{background:#1e6294}.lpc67-help svg{width:20px;height:20px;fill:currentColor}
@media(max-width:980px){.hero-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important}.hero .lpc67-feature{max-width:750px;width:100%;margin:0 auto 24px}.hero-main{padding-bottom:35px!important}}
@media(max-width:680px){.hero .lpc67-feature{padding:16px!important}.lpc67-feature-image{border-radius:9px}.hero .lpc67-feature h2{font-size:21px!important}.lpc67-help{right:12px;bottom:12px;padding:12px;font-size:0}.lpc67-help svg{width:21px;height:21px}.news-grid-polished .news-thumb img{height:auto!important}}

/* Archive/search grids and WordPress's default card thumbnails. */
.lpc-archive-card__image,.lpc61-list-card > a > img,.lpc61-list-card img.wp-post-image{display:block;width:100%;aspect-ratio:16/9!important;background:#eef3f8}
.lpc-archive-card__image{height:auto;overflow:hidden}
.lpc-archive-card__image img,.lpc61-list-card img.wp-post-image,.lpc-plan-card img,.entry-content img.wp-image{max-width:100%!important;width:100%!important;height:auto!important;aspect-ratio:16/9!important;object-fit:contain!important;object-position:center!important;transform:none!important;clip-path:none!important}
/* Buttons and images accessible in reduced-motion browsers too. */
@media(prefers-reduced-motion:reduce){.lpc67-help,.lpc67-feature-link{transition:none!important}}
/* High-specificity override for legacy .hero-side > a rules on the linked image. */
.hero .hero-side.lpc67-feature > a.lpc67-feature-image{display:block!important;margin:0!important;padding:0!important;border:1px solid #dce8ef!important;width:100%!important;min-height:0!important;max-height:none!important;letter-spacing:normal!important}
.hero .hero-side.lpc67-feature > a.lpc67-feature-image img{display:block!important;width:100%!important;height:auto!important;aspect-ratio:16/9!important;object-fit:contain!important;border-radius:10px}
.hero .hero-side.lpc67-feature .lpc67-feature-body > .lpc67-feature-link{position:relative}
