:where(.prestai-blog,.prestai-blog-post,.prestai-blog-teasers){--pa-blog-accent:var(--pa-blog-accent-custom,var(--bs-link-color));--pa-blog-text:var(--pa-blog-text-custom,var(--bs-body-color));--pa-blog-muted:var(--pa-blog-muted-custom,var(--bs-secondary-color));--pa-blog-border:var(--pa-blog-border-custom,var(--bs-border-color));--pa-blog-surface:var(--pa-blog-surface-custom,var(--bs-body-bg));--pa-blog-surface-muted:var(--pa-blog-surface-muted-custom,var(--bs-tertiary-bg));--pa-blog-on-accent:var(--pa-blog-on-accent-custom,var(--bs-body-bg));--pa-blog-radius-lg:20px;--pa-blog-radius-md:16px;--pa-blog-radius-sm:12px}.prestai-blog{max-width:1200px;margin:0 auto}.prestai-blog__intro{max-width:760px;margin:0 0 2rem;color:var(--pa-blog-muted);font-size:1.06rem}.prestai-blog__categories{display:flex;flex-wrap:wrap;gap:.65rem;margin:0 0 2rem}.prestai-blog__categories a,.prestai-blog-post__categories a{display:inline-flex;padding:.45rem .8rem;border:1px solid var(--pa-blog-border);border-radius:999px;color:var(--pa-blog-text);text-decoration:none}.prestai-blog-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1.5rem}.prestai-blog-card{overflow:hidden;border:1px solid var(--pa-blog-border);border-radius:var(--pa-blog-radius-lg);background:var(--pa-blog-surface)}.prestai-blog-card__media{display:block;aspect-ratio:16/10;background:var(--pa-blog-surface-muted)}.prestai-blog-card__media img{width:100%;height:100%;object-fit:cover}.prestai-blog-card__body{padding:1.25rem}.prestai-blog-card time,.prestai-blog-post__meta{font-size:.84rem;color:var(--pa-blog-muted)}.prestai-blog-card h2,.prestai-blog-card__title{margin:.55rem 0 .7rem;font-size:1.25rem;font-weight:700;line-height:1.25}.prestai-blog-card h2 a,.prestai-blog-card__title a{color:var(--pa-blog-text);text-decoration:none}.prestai-blog-card p{color:var(--pa-blog-muted)}.prestai-blog-card__link{font-weight:700;text-decoration:none}.prestai-blog__pagination{display:flex;justify-content:center;gap:.5rem;margin:2.5rem 0}.prestai-blog__pagination a{min-width:40px;height:40px;display:grid;place-items:center;border:1px solid var(--pa-blog-border);border-radius:10px;text-decoration:none}.prestai-blog__pagination .is-current{background:var(--pa-blog-accent);color:var(--pa-blog-on-accent);border-color:var(--pa-blog-accent)}.prestai-blog-post{width:100%;max-width:var(--pa-blog-article-max-width,900px);margin:0 auto}.prestai-blog-post__header{margin-bottom:2rem}.prestai-blog-post__categories{display:flex;gap:.5rem;flex-wrap:wrap;margin:1rem 0}.prestai-blog-post__lead{font-size:1.2rem;line-height:1.65;color:var(--pa-blog-accent)}.prestai-blog-post__hero{display:block;width:100%;height:auto;max-height:var(--pa-blog-cover-max-height,520px);object-fit:cover;object-position:center;border-radius:var(--pa-blog-radius-lg);margin-top:1.5rem}.prestai-blog-post__content{font-size:1.06rem;line-height:1.75}.prestai-blog-post__content img{max-width:100%;height:auto;border-radius:var(--pa-blog-radius-md)}.prestai-blog-post__content h2{margin-top:2.3rem;text-wrap:auto}.prestai-blog-post__content h3{text-wrap:auto}.prestai-blog-products,.prestai-blog-related,.prestai-blog-teasers{margin-top:3rem}.prestai-blog-products__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}.prestai-blog-product{display:flex;flex-direction:column;gap:.45rem;color:var(--pa-blog-text);text-decoration:none}.prestai-blog-product img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:var(--pa-blog-radius-md)}@media(max-width:991.98px){.prestai-blog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.prestai-blog-products__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:575.98px){.prestai-blog-grid{grid-template-columns:1fr}.prestai-blog-card{border-radius:var(--pa-blog-radius-md)}.prestai-blog-post__hero{border-radius:var(--pa-blog-radius-md)}}

/* Page titles: keep the H1 aligned with the Blog content instead of the theme's full-width title section. */
.prestai-blog-page-header{width:100%;margin-right:auto;margin-left:auto;margin-bottom:2rem}.prestai-blog-page-header h1{margin:0;text-wrap:auto}.prestai-blog-page-header--post{max-width:var(--pa-blog-article-max-width,900px)}.prestai-blog-page-header--listing{max-width:none}


/* Blog listings use the full width made available by the theme container. */
.prestai-blog--index,.prestai-blog--category{max-width:none;width:100%}

/* Author identity & profile */
.prestai-blog-post__author-link{color:inherit;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px}.prestai-blog-author-card{display:grid;grid-template-columns:96px minmax(0,1fr);gap:1.4rem;align-items:start;margin-top:3rem;padding:1.5rem;border:1px solid var(--pa-blog-border);border-radius:var(--pa-blog-radius-lg);background:var(--pa-blog-surface-muted)}.prestai-blog-author-card__photo{display:flex;align-items:center;justify-content:center;width:96px;height:96px;border:1px solid var(--pa-blog-border);border-radius:var(--pa-blog-radius-md);background:var(--pa-blog-surface);overflow:hidden}.prestai-blog-author-card__photo img{width:100%;height:100%;object-fit:cover;border-radius:var(--pa-blog-radius-md)}.prestai-blog-author-card__eyebrow{margin-bottom:.25rem;color:var(--pa-blog-muted);font-size:.75rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.prestai-blog-author-card h2{margin:0;font-size:1.35rem}.prestai-blog-author-card h2 a{color:var(--pa-blog-text);text-decoration:none}.prestai-blog-author-card__role{margin:.25rem 0 .65rem;font-weight:600}.prestai-blog-author-card__bio{color:var(--pa-blog-muted);line-height:1.6}.prestai-blog-author-card__bio p:last-child{margin-bottom:0}.prestai-blog-author-card__actions{display:flex;align-items:center;flex-wrap:wrap;gap:.75rem 1rem;margin-top:.9rem}.prestai-blog-author-card__profile{font-weight:700;text-decoration:none}.prestai-blog-author-card__socials{display:flex;flex-wrap:wrap;gap:.75rem}.prestai-blog-author-card__socials a{color:var(--pa-blog-muted);font-size:.9rem;text-decoration:none}.prestai-blog--author{max-width:none;width:100%}.prestai-blog-author-profile{display:grid;grid-template-columns:180px minmax(0,760px);gap:2rem;align-items:start;margin-bottom:2rem}.prestai-blog-author-profile__photo{display:flex;align-items:center;justify-content:center;width:180px;height:180px;border:1px solid var(--pa-blog-border);border-radius:var(--pa-blog-radius-lg);background:var(--pa-blog-surface);overflow:hidden}.prestai-blog-author-profile__photo img{display:block;width:100%;height:100%;object-fit:cover;border-radius:var(--pa-blog-radius-md)}.prestai-blog-author-profile__role{margin:0 0 .8rem;font-size:1.12rem;font-weight:700}.prestai-blog-author-profile__intro{font-size:1.05rem;line-height:1.7;color:var(--pa-blog-muted)}.prestai-blog-author-profile__intro p:last-child{margin-bottom:0}.prestai-blog-author-profile__expertise{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1rem}.prestai-blog-author-profile__expertise span{display:inline-flex;padding:.4rem .7rem;border:1px solid var(--pa-blog-border);border-radius:999px;background:var(--pa-blog-surface);font-size:.88rem}.prestai-blog-author-profile__socials{display:flex;flex-wrap:wrap;gap:.65rem 1rem;margin-top:1rem}.prestai-blog-author-profile__socials a{font-weight:600;text-decoration:none}.prestai-blog-author-profile__bio{max-width:940px;margin:2rem 0 3rem;font-size:1.04rem;line-height:1.75}.prestai-blog-author-profile__bio img{max-width:100%;height:auto}.prestai-blog-author-articles{margin-top:2.5rem}.prestai-blog-author-articles>h2{margin-bottom:1.5rem}@media(max-width:767.98px){.prestai-blog-author-profile{grid-template-columns:1fr;gap:1.25rem}.prestai-blog-author-profile__photo{width:132px;height:132px;border-radius:var(--pa-blog-radius-md)}.prestai-blog-author-profile__photo img{border-radius:var(--pa-blog-radius-sm)}.prestai-blog-author-card{grid-template-columns:72px minmax(0,1fr);gap:1rem;padding:1.15rem}.prestai-blog-author-card__photo{width:72px;height:72px;border-radius:var(--pa-blog-radius-md)}.prestai-blog-author-card__photo img{border-radius:var(--pa-blog-radius-sm)}}@media(max-width:479.98px){.prestai-blog-author-card{grid-template-columns:1fr}.prestai-blog-author-card__photo{width:72px;height:72px}}


/* Author profiles without a photo: use the full editorial width instead of keeping an empty avatar column. */
.prestai-blog-author-card--no-photo{grid-template-columns:minmax(0,1fr);padding:1.35rem 1.5rem}
.prestai-blog-author-card--no-photo .prestai-blog-author-card__content{max-width:760px}
.prestai-blog-author-card--no-photo .prestai-blog-author-card__eyebrow{margin-bottom:.35rem}
.prestai-blog-author-card--no-photo .prestai-blog-author-card__role{margin-bottom:.5rem}
.prestai-blog-author-card--no-photo .prestai-blog-author-card__actions{margin-top:.75rem}
.prestai-blog-author-profile--no-photo{grid-template-columns:minmax(0,760px);gap:0}
@media(max-width:767.98px){.prestai-blog-author-card--no-photo{grid-template-columns:1fr;padding:1.15rem}.prestai-blog-author-profile--no-photo{grid-template-columns:1fr}}

/* Editorial Team: when no dedicated author photo is set, use the current shop logo without cropping it like a portrait. */
.prestai-blog-author-card--shop-logo .prestai-blog-author-card__photo img{object-fit:contain;padding:12px}
.prestai-blog-author-profile--shop-logo .prestai-blog-author-profile__photo img{object-fit:contain;padding:18px}
@media(max-width:767.98px){.prestai-blog-author-profile--shop-logo .prestai-blog-author-profile__photo{width:132px;height:132px}.prestai-blog-author-profile--shop-logo .prestai-blog-author-profile__photo img{padding:14px}}

/* Article page visual system: authoritative radii + standard blog tiles for related articles. */
.prestai-blog-post__header,
.prestai-blog-post__content,
.prestai-blog-author-card,
.prestai-blog-products,
.prestai-blog-related{--pa-blog-radius-lg:20px;--pa-blog-radius-md:16px;--pa-blog-radius-sm:12px}

/* Theme image rules can be more specific: force the Blog's intended radii. */
.prestai-blog-post__hero{border-radius:var(--pa-blog-radius-lg)!important}
.prestai-blog-post__content img{border-radius:var(--pa-blog-radius-md)!important}
.prestai-blog-product img{border-radius:var(--pa-blog-radius-md)!important}
.prestai-blog-author-card__photo img{border-radius:var(--pa-blog-radius-md)!important}
.prestai-blog-author-profile__photo img{border-radius:var(--pa-blog-radius-md)!important}
.prestai-blog-card__media img{border-radius:0!important}
@media(max-width:767.98px){.prestai-blog-author-card__photo img,.prestai-blog-author-profile__photo img{border-radius:var(--pa-blog-radius-sm)!important}}
@media(max-width:575.98px){.prestai-blog-post__hero{border-radius:var(--pa-blog-radius-md)!important}}

.prestai-blog-products>h2,.prestai-blog-related>h2{margin-bottom:1.25rem}

/* Related articles reuse the listing card language, without a cover image inside article pages. */
.prestai-blog-related .prestai-blog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem}
.prestai-blog-related .prestai-blog-grid--no-media .prestai-blog-card{display:flex;min-height:100%}
.prestai-blog-related .prestai-blog-grid--no-media .prestai-blog-card__body{display:flex;flex:1;flex-direction:column;padding:1.4rem}
.prestai-blog-related .prestai-blog-grid--no-media .prestai-blog-card__link{margin-top:auto;padding-top:.35rem}
@media(max-width:575.98px){.prestai-blog-related .prestai-blog-grid{grid-template-columns:1fr}}


/* Product/category blog teasers: dedicated compact cards, independent from the main Blog listing grid. */
.prestai-blog-teasers{max-width:none;width:100%;margin-top:2.5rem}
.prestai-blog-teasers__head{margin-bottom:1rem}
.prestai-blog-teasers__head h2{margin:0}
.prestai-blog-teasers__grid{display:grid;grid-template-columns:repeat(3,minmax(0,360px));gap:1.25rem;align-items:stretch}
.prestai-blog-teaser-card{display:flex;min-width:0;flex-direction:column;overflow:hidden;border:1px solid var(--pa-blog-border);border-radius:var(--pa-blog-radius-lg)!important;background:var(--pa-blog-surface)}
.prestai-blog-teaser-card__media{display:block;overflow:hidden;aspect-ratio:16/9;background:var(--pa-blog-surface-muted)}
.prestai-blog-teaser-card__media img{display:block;width:100%;height:100%;object-fit:cover;border-radius:0!important}
.prestai-blog-teaser-card__body{display:flex;flex:1;flex-direction:column;padding:1.15rem 1.2rem 1.25rem}
.prestai-blog-teaser-card__title{margin:0 0 .65rem;font-size:1.25rem;font-weight:700;line-height:1.25}
.prestai-blog-teaser-card__title a{color:var(--pa-blog-text);text-decoration:none}
.prestai-blog-teaser-card p{margin:0 0 .9rem;color:var(--pa-blog-muted);line-height:1.55}
.prestai-blog-teaser-card__link{margin-top:auto;font-weight:700;text-decoration:none}
@media(max-width:991.98px){.prestai-blog-teasers__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:575.98px){.prestai-blog-teasers__grid{grid-template-columns:1fr}.prestai-blog-teaser-card{border-radius:var(--pa-blog-radius-md)!important}}


/* Contextual article recommendations: visual titles without extra heading levels or publication dates. */
.prestai-blog-related .prestai-blog-card__title{margin:0 0 .75rem;font-size:1.35rem;font-weight:700;line-height:1.25}
.prestai-blog-related .prestai-blog-card__title a{color:var(--pa-blog-text);text-decoration:none}
.prestai-blog-teaser-card__title{margin-top:0}


/* Article editorial width + modern native lists. */
.prestai-blog-post__content ul{margin:1.2rem 0 1.7rem;padding-left:0!important;list-style:none!important}
.prestai-blog-post__content ul>li{position:relative;margin:.55rem 0;padding-left:1.65rem}
.prestai-blog-post__content ul>li::before{content:"";position:absolute;left:.2rem;top:.78em;width:.5rem;height:.5rem;border-radius:50%;background:var(--pa-blog-accent);transform:translateY(-50%);box-shadow:0 0 0 3px color-mix(in srgb,var(--pa-blog-accent) 16%,transparent)}
.prestai-blog-post__content ul>li::marker{content:""}
.prestai-blog-post__content ul ul{margin:.55rem 0 .35rem}
.prestai-blog-post__content ul ul>li::before{width:.38rem;height:.38rem;box-shadow:none}


/* Article meta + categories: one balanced row on desktop, stacked on small screens. */
.prestai-blog-post__taxonomy-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:1rem 1.5rem;align-items:center;margin-bottom:1.15rem}
.prestai-blog-post__taxonomy-row .prestai-blog-post__meta{min-width:0}
.prestai-blog-post__taxonomy-row .prestai-blog-post__categories{justify-content:flex-end;margin:0;text-align:right}
@media(max-width:575.98px){.prestai-blog-post__taxonomy-row{grid-template-columns:1fr;gap:.75rem}.prestai-blog-post__taxonomy-row .prestai-blog-post__categories{justify-content:flex-start;text-align:left}}
