/* Post Layout Manager front-end styles. Scoped to PLM markup to avoid changing theme layout. */
.plm-post-list{display:flex;flex-direction:column;gap:0;width:100%;box-sizing:border-box}
.plm-post-item{display:flex;flex-direction:row;align-items:flex-start;gap:var(--plm-card-gap,28px);width:100%;box-sizing:border-box;padding:0 0 10px;margin:0 0 var(--plm-card-spacing,12px);border:0;border-bottom:var(--plm-divider-width,2px) var(--plm-divider-style,dotted) var(--plm-divider-color,#0099cc);border-radius:0;box-shadow:none;background:transparent;text-align:left}
.plm-post-image{display:block;flex:0 0 var(--plm-image-width,220px);width:var(--plm-image-width,220px);max-width:42%;overflow:hidden;margin:0;padding:0;text-decoration:none}
.plm-thumbnail,.plm-no-image{display:block;width:100%;height:var(--plm-image-height,151px);object-fit:cover;margin:0;padding:0}
.plm-no-image{background:#eee}
.plm-post-content{flex:1 1 0;min-width:0;margin:0;padding:0}
.plm-post-title{margin:0 0 8px;padding:0;color:var(--plm-title-color,#111);font-size:var(--plm-title-size,19px);line-height:1.45;font-weight:600;overflow-wrap:anywhere}
.plm-post-title a{color:inherit;text-decoration:none}
.plm-post-title a:hover{text-decoration:underline}
.plm-post-excerpt{display:block;margin:0;padding:0;color:var(--plm-excerpt-color,#222);font-size:var(--plm-excerpt-size,16px);line-height:1.5}
.plm-post-excerpt-link{display:block;color:inherit;text-decoration:none;cursor:pointer}
.plm-post-excerpt-link:hover .plm-post-excerpt{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px}
.plm-post-excerpt-link:focus-visible,.plm-post-title a:focus-visible,.plm-post-image:focus-visible,.plm-read-more:focus-visible{outline:2px solid #2271b1;outline-offset:3px}
.plm-read-more{display:inline-block;margin-top:8px;font-size:13px;font-weight:700;text-decoration:none}
.plm-read-more:hover{text-decoration:underline}

/* Compact horizontal list */
.plm-layout-compact .plm-post-item{gap:16px;padding-bottom:8px;margin-bottom:8px}
.plm-layout-compact .plm-post-image{flex-basis:150px;width:150px}
.plm-layout-compact .plm-thumbnail,.plm-layout-compact .plm-no-image{height:100px}
.plm-layout-compact .plm-post-title{font-size:17px;margin-bottom:5px}
.plm-layout-compact .plm-post-excerpt{font-size:14px;line-height:1.4}

/* Grid cards */
.plm-layout-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.plm-layout-grid .plm-post-item{display:flex;flex-direction:column;gap:0;min-width:0;padding:0;margin:0;border:1px solid #e8e8e8;border-radius:8px;overflow:hidden;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.06)}
.plm-layout-grid .plm-post-image{flex:0 0 auto;width:100%;max-width:none}
.plm-layout-grid .plm-thumbnail,.plm-layout-grid .plm-no-image{height:var(--plm-image-height,180px)}
.plm-layout-grid .plm-post-content{width:100%;box-sizing:border-box;padding:16px}
.plm-layout-grid .plm-post-title{font-size:18px}
.plm-layout-grid .plm-post-excerpt{font-size:14px}

/* Image above content, full-width cards */
.plm-layout-image_top .plm-post-item{display:flex;flex-direction:column;gap:12px;padding:0 0 18px;margin-bottom:18px}
.plm-layout-image_top .plm-post-image{flex:0 0 auto;width:100%;max-width:100%}
.plm-layout-image_top .plm-thumbnail,.plm-layout-image_top .plm-no-image{height:clamp(180px,var(--plm-image-height,220px),420px)}
.plm-layout-image_top .plm-post-content{width:100%}

@media(max-width:900px){.plm-layout-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:768px){
 .plm-post-item{gap:16px}
 .plm-post-image{flex-basis:min(var(--plm-image-width,220px),36%);width:min(var(--plm-image-width,220px),36%)}
 .plm-post-title{font-size:clamp(15px,var(--plm-title-size,19px),17px)}
 .plm-post-excerpt{font-size:14px}
 .plm-layout-grid{gap:14px}
 .plm-layout-grid .plm-post-content{padding:12px}
}
@media(max-width:480px){
 .plm-post-item{gap:12px;padding-bottom:10px}
 .plm-post-image{flex:0 0 var(--plm-mobile-image-width,120px);width:var(--plm-mobile-image-width,120px);max-width:42%}
 .plm-thumbnail,.plm-no-image{height:var(--plm-mobile-image-height,90px)}
 .plm-post-title{font-size:var(--plm-mobile-title-size,15px);line-height:1.4;margin-bottom:5px}
 .plm-post-excerpt{font-size:var(--plm-mobile-excerpt-size,13px);line-height:1.4}
 .plm-read-more{font-size:12px;margin-top:5px}
 .plm-layout-compact .plm-post-image{flex-basis:100px;width:100px}
 .plm-layout-compact .plm-thumbnail,.plm-layout-compact .plm-no-image{height:76px}
 .plm-layout-grid{grid-template-columns:1fr;gap:14px}
 .plm-layout-grid .plm-post-item{display:flex;flex-direction:row;gap:12px;padding:0 0 10px;border:0;border-bottom:var(--plm-divider-width,2px) var(--plm-divider-style,dotted) var(--plm-divider-color,#0099cc);border-radius:0;box-shadow:none;background:transparent}
 .plm-layout-grid .plm-post-image{flex:0 0 var(--plm-mobile-image-width,120px);width:var(--plm-mobile-image-width,120px);max-width:42%}
 .plm-layout-grid .plm-thumbnail,.plm-layout-grid .plm-no-image{height:var(--plm-mobile-image-height,90px)}
 .plm-layout-grid .plm-post-content{padding:0}
 .plm-layout-grid .plm-post-title{font-size:var(--plm-mobile-title-size,15px)}
 .plm-layout-grid .plm-post-excerpt{font-size:var(--plm-mobile-excerpt-size,13px)}
 .plm-layout-image_top .plm-thumbnail,.plm-layout-image_top .plm-no-image{height:clamp(150px,var(--plm-image-height,220px),280px)}
}
