/* Universal Homepage Featured & Archive Grid v1.3: scoped, original CSS. */
.uhpg-root {
  --uhpg-columns:3;--uhpg-tablet:2;--uhpg-gap:30px;
  --uhpg-title-size:26px;--uhpg-title-weight:600;--uhpg-title-lh:1.2;--uhpg-title-mb:18px;
  --uhpg-meta-size:13.8624px;--uhpg-meta-mb:15px;
  --uhpg-excerpt-size:14.592px;--uhpg-excerpt-lh:1.65;--uhpg-excerpt-mb:20px;--uhpg-excerpt-lines:0;
  --uhpg-button-size:15px;--uhpg-pad-x:15px;--uhpg-pad-top:15px;--uhpg-pad-bottom:15px;
  --uhpg-button-x:20px;--uhpg-button-y:8px;--uhpg-max-width:1200px;
  --uhpg-font-stack:-apple-system,system-ui,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
  --uhpg-accent:#1673f3;
  display:block;clear:both;width:100%;max-width:var(--uhpg-max-width);
  box-sizing:border-box;padding:0 15px;margin:26px auto 32px;
  color:#334155;font-family:var(--uhpg-font-stack);
}
.uhpg-root,.uhpg-root *{box-sizing:border-box}
.uhpg-root .uhpg-section-heading{font-family:inherit;font-size:clamp(24px,2.5vw,30px);font-weight:600;line-height:1.25;margin:0 0 22px;color:#1e293b}
.uhpg-root .uhpg-cards {display:grid;grid-template-columns:repeat(var(--uhpg-columns),minmax(0,1fr));gap:var(--uhpg-gap);align-items:stretch}
.uhpg-root .uhpg-card {min-width:0;display:flex;flex-direction:column;overflow:hidden;border:0;border-radius:0;background:#fff;box-shadow:0 0 2px 0 rgba(0,0,0,.3);transition:box-shadow .31s ease}
.uhpg-root .uhpg-card:hover {box-shadow:0 1px 5px rgba(0,0,0,.25)}
.uhpg-root .uhpg-image-link {display:block;line-height:0;overflow:hidden;background:#f3f4f5;text-decoration:none}
.uhpg-root .uhpg-image {display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.uhpg-root.uhpg-ratio-square .uhpg-image{aspect-ratio:1/1}
.uhpg-root.uhpg-ratio-natural .uhpg-image{aspect-ratio:auto}
.uhpg-root .uhpg-no-image{display:flex;align-items:center;justify-content:center;min-height:135px;aspect-ratio:16/9;padding:15px;background:#f2f3f5;color:#667085;font-size:14px;line-height:1.4;text-align:center}
.uhpg-root.uhpg-ratio-square .uhpg-no-image{aspect-ratio:1/1}
.uhpg-root .uhpg-card-body {display:flex;flex-direction:column;flex:1;min-width:0;padding:var(--uhpg-pad-top) var(--uhpg-pad-x) var(--uhpg-pad-bottom);background:#fff;color:#334155}
.uhpg-root .uhpg-card-title {font-family:inherit;font-size:var(--uhpg-title-size);font-weight:var(--uhpg-title-weight);line-height:var(--uhpg-title-lh);font-style:normal;letter-spacing:normal;text-transform:none;color:#000;margin:0 0 var(--uhpg-title-mb);overflow-wrap:break-word}
.uhpg-root .uhpg-card-title a{color:inherit!important;text-decoration:none!important}
.uhpg-root .uhpg-card-title a:hover{color:var(--uhpg-accent)!important}
.uhpg-root .uhpg-meta {display:flex;align-items:center;flex-wrap:wrap;gap:0;margin:0 0 var(--uhpg-meta-mb);color:#646464;font-family:inherit;font-size:var(--uhpg-meta-size);font-weight:400;line-height:1}
.uhpg-root .uhpg-meta-item {display:inline-flex;align-items:center;min-width:0;margin:0 0 3px;padding-right:10px;gap:3px;font-size:inherit;font-weight:400;line-height:1;color:#646464;overflow-wrap:break-word}
.uhpg-root .uhpg-meta-item a{color:inherit!important;text-decoration:none!important}
.uhpg-root .uhpg-meta-item a:hover{color:var(--uhpg-accent)!important}
.uhpg-root .uhpg-icon{width:15px;height:15px;flex:none;color:#8a8a8a}
.uhpg-root .uhpg-excerpt {font-family:inherit;font-size:var(--uhpg-excerpt-size);font-weight:400;line-height:var(--uhpg-excerpt-lh);color:#334155;margin:-5px 0 var(--uhpg-excerpt-mb);overflow-wrap:break-word}
.uhpg-root.uhpg-clamp-excerpts .uhpg-excerpt{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:var(--uhpg-excerpt-lines);line-clamp:var(--uhpg-excerpt-lines);overflow:hidden}
.uhpg-root .uhpg-read-more {display:inline-block;align-self:flex-start;width:auto;height:auto;min-height:45px;margin-top:0;padding:var(--uhpg-button-y) var(--uhpg-button-x);border:1px solid rgba(204,204,204,.4);border-radius:0;background:rgba(255,255,255,.7);color:#1a1a1a!important;font-family:inherit;font-size:var(--uhpg-button-size);font-weight:400;line-height:27px;font-style:normal;text-decoration:none!important;text-transform:none;cursor:pointer;transition:background-color .31s ease,border-color .31s ease}
.uhpg-root .uhpg-read-more:hover{background:#f5f5f5;border-color:rgba(204,204,204,.8);color:#1a1a1a!important}
.uhpg-root .uhpg-empty{padding:12px 0;color:#656d76;font-size:15px}
.uhpg-root .uhpg-pagination{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:5px;margin:34px 0 12px;font-family:inherit;font-size:13px;line-height:1.4}
.uhpg-root .uhpg-pagination a,.uhpg-root .uhpg-pagination .uhpg-page-number.current,.uhpg-root .uhpg-pagination .uhpg-dots{min-height:42px;min-width:42px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none!important;border:1px solid #dedede;padding:8px 11px;border-radius:0;background:white;color:#222!important}
.uhpg-root .uhpg-pagination .uhpg-page-number.current{background:var(--uhpg-accent);border-color:var(--uhpg-accent);color:#fff!important;font-weight:700}
.uhpg-root .uhpg-pagination a:hover,.uhpg-root .uhpg-pagination a:focus-visible{border-color:var(--uhpg-accent);color:var(--uhpg-accent)!important}
.uhpg-root .uhpg-pagination .uhpg-dots{border-color:transparent;min-width:25px}
.uhpg-root .uhpg-pagination .uhpg-pagination-link{padding-left:14px;padding-right:14px}
.uhpg-root a:focus-visible{outline:2px solid var(--uhpg-accent);outline-offset:2px}
@media(max-width:920px){.uhpg-root .uhpg-cards{grid-template-columns:repeat(var(--uhpg-tablet),minmax(0,1fr))}}
@media(max-width:620px){.uhpg-root .uhpg-cards{grid-template-columns:minmax(0,1fr)}.uhpg-root .uhpg-pagination{gap:4px}.uhpg-root .uhpg-pagination a,.uhpg-root .uhpg-pagination .uhpg-page-number.current{min-width:37px;min-height:39px;padding:7px 9px}}
@media(prefers-reduced-motion:reduce){.uhpg-root .uhpg-card,.uhpg-root .uhpg-read-more{transition:none}}
