/* All rules scoped to Church Sermon Library frontend elements. */
.csl-library,.csl-single{max-width:var(--csl-width,1200px);color:var(--csl-text,#182638);font-family:var(--csl-font,inherit);font-size:var(--csl-body-size,16px);line-height:var(--csl-body-line,1.55)}
.csl-library .csl-hero,.csl-single .csl-single-heading{background:var(--csl-head,#11243a);color:var(--csl-head-text,#fff);padding:var(--csl-hero-pad,42px);border-radius:var(--csl-hero-radius,12px);margin-bottom:var(--csl-section-gap,24px);text-align:var(--csl-align,left)}
.csl-library .csl-hero h2{font-size:var(--csl-hero-title,42px);font-weight:var(--csl-weight,700);color:var(--csl-head-text,#fff)}
.csl-library .csl-hero span{color:var(--csl-eyebrow,#d5b77d);font-size:var(--csl-hero-label,13px)}
.csl-library .csl-hero p{font-size:var(--csl-hero-sub,17px);color:var(--csl-head-text,#fff)}
.csl-single .csl-single-heading h1{font-size:var(--csl-single-title,38px);font-weight:var(--csl-weight,700);color:var(--csl-head-text,#fff)}
.csl-library .csl-grid{grid-template-columns:repeat(var(--csl-columns,3),minmax(0,1fr));gap:var(--csl-gap,22px)}
.csl-library .csl-card{background:var(--csl-card,#fff);border:var(--csl-border-width,1px) solid var(--csl-border,#e3e8ed);border-radius:var(--csl-card-radius,10px);box-shadow:var(--csl-shadow,0 5px 24px #1232)}
.csl-library .csl-card-body{padding:var(--csl-card-pad,20px)}
.csl-library .csl-card img,.csl-library .csl-placeholder{height:var(--csl-img-height,195px)}
.csl-library .csl-card-body h3{font-size:var(--csl-card-title,20px);font-weight:var(--csl-weight,700)}
.csl-library .csl-card-body a:not(.csl-btn){color:var(--csl-link,#11243a)}
.csl-library .csl-card-body small,.csl-library .csl-card-body p{font-size:var(--csl-meta,14px);color:var(--csl-muted,#657181)}
.csl-library .csl-search{gap:var(--csl-gap,22px);margin-bottom:var(--csl-section-gap,24px)}
.csl-library .csl-search input,.csl-library .csl-search select{background:var(--csl-input-bg,#fff);border-color:var(--csl-input-border,#cbd3dc);min-height:var(--csl-field-height,44px)}
.csl-library .csl-search button,.csl-library .csl-btn,.csl-single .csl-btn,.csl-single .csl-tab[aria-pressed=true]{background:var(--csl-accent,#153a5c);color:var(--csl-button-text,#fff)!important;border-radius:var(--csl-button-radius,6px);padding:var(--csl-button-y,12px) var(--csl-button-x,18px);font-size:var(--csl-button-size,15px)}
.csl-single .csl-media-panel{background:var(--csl-media,#101820);padding:var(--csl-panel-pad,18px);margin-bottom:var(--csl-section-gap,24px)}
.csl-single .csl-tab{background:var(--csl-tabs,#eef1f5);border-radius:var(--csl-button-radius,6px);padding:var(--csl-button-y,12px) var(--csl-button-x,18px);font-size:var(--csl-button-size,15px)}
.csl-single .csl-notes{background:var(--csl-notes,#f6f8fa);padding:var(--csl-notes-pad,28px);margin:var(--csl-section-gap,24px) 0}
.csl-single .csl-notes h2{font-size:var(--csl-notes-title,26px);font-weight:var(--csl-weight,700)}
.csl-library.csl-layout-list .csl-grid{grid-template-columns:1fr}
.csl-library.csl-layout-list .csl-card{display:grid;grid-template-columns:minmax(140px,32%) 1fr}
.csl-library.csl-layout-list .csl-card>a{height:100%}
.csl-library.csl-layout-list .csl-card img,.csl-library.csl-layout-list .csl-card .csl-placeholder{height:100%;min-height:var(--csl-img-height,195px)}
.csl-library.csl-layout-featured .csl-card:first-child{grid-column:1 / -1;display:grid;grid-template-columns:1fr 1fr}
.csl-library.csl-layout-featured .csl-card:first-child img,.csl-library.csl-layout-featured .csl-card:first-child .csl-placeholder{height:100%;min-height:var(--csl-img-height,195px)}
.csl-hide-show_hero .csl-hero,.csl-hide-show_search .csl-search,.csl-hide-show_image .csl-card>a,.csl-hide-show_media_tabs .csl-media-tabs,.csl-hide-show_notes .csl-notes,.csl-hide-show_share .csl-share{display:none!important}
.csl-hide-show_speaker .csl-card-body p:first-of-type,.csl-hide-show_date .csl-card-body small,.csl-hide-show_scripture .csl-card-body p:nth-of-type(2){display:none!important}
.csl-single.csl-hide-show_pdf>p:has(a.csl-btn){display:none!important}
@media(max-width:800px){.csl-library .csl-grid{grid-template-columns:repeat(var(--csl-tablet-columns,2),minmax(0,1fr))}}
@media(max-width:540px){.csl-library .csl-grid{grid-template-columns:repeat(var(--csl-mobile-columns,1),minmax(0,1fr))}.csl-library.csl-layout-list .csl-card,.csl-library.csl-layout-featured .csl-card:first-child{display:block}.csl-library.csl-layout-featured .csl-card:first-child{grid-column:auto}.csl-library .csl-hero,.csl-single .csl-single-heading{padding:min(var(--csl-hero-pad,42px),30px)}}

.csl-single.csl-hide-show_pdf .csl-btn[href$=".pdf"]{display:none!important}
