/* Closing banner: a photo (or a sage panel) with a glass box holding a headline, a line and a button. */
.pf-chapter-close { position: relative; isolation: isolate; overflow: hidden; background: #715a43; color: #fff8ee; border-radius: 28px; }
.pf-chapter-close.wp-block-cover { min-height: 370px; padding: 40px clamp(25px, 5vw, 75px); align-items: center; justify-content: flex-start; }
.pf-chapter-close.wp-block-cover .wp-block-cover__background.has-background-dim.has-background-dim-0 { opacity: 1; background: linear-gradient(90deg, rgba(36, 24, 15, .77), rgba(36, 24, 15, .05) 95%); }
.pf-chapter-close .wp-block-cover__image-background { object-fit: cover; inset: -20px 0; height: calc(100% + 40px); transform: translate3d(0, var(--image-shift, 0px), 0); will-change: transform; }
.pf-chapter-close .wp-block-cover__inner-container { width: 100%; max-width: none; padding: 0; color: inherit; }
.pf-chapter-close.pf-wrap { margin-top: 65px; }
.pf-chapter-close .pf-chapter-close__panel { max-width: 490px; padding: 29px 32px; border: 1px solid rgba(255, 255, 255, .27); border-radius: 22px; background: rgba(43, 32, 24, .25); box-shadow: 0 18px 45px rgba(0, 0, 0, .07); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.pf-chapter-close h2 { font-size: clamp(31px, 3vw, 46px); font-weight: 500; line-height: 1.08; letter-spacing: -.035em; color: #fff8ee; }
.pf-chapter-close .pf-chapter-close__panel > p { font-size: 14px; line-height: 1.7; color: #fff2e1; margin: 18px 0 23px; }
.pf-chapter-close .pf-btn .wp-block-button__link { font-size: 14px; }
.pf-chapter-close--plain { display: flex; align-items: center; min-height: 300px; padding: 40px clamp(25px, 5vw, 75px); background: radial-gradient(60% 90% at 18% 25%, rgba(255, 255, 255, .07), transparent 70%), var(--pf-sage); }
.pf-chapter-close--plain .pf-chapter-close__panel { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .28); }
@media (max-width: 820px) {
	.pf-chapter-close.wp-block-cover { min-height: 370px; padding: 35px 24px; }
	.pf-chapter-close--plain.pf-chapter-close { padding: 35px 24px; }
	.pf-chapter-close .pf-chapter-close__panel { max-width: 420px; padding: 28px; }
	.pf-chapter-close h2 { font-size: 37px; }
	.pf-chapter-close.pf-wrap { margin-top: 45px; }
}
@media (max-width: 480px) {
	.pf-chapter-close.wp-block-cover { min-height: 340px; padding: 25px 16px; }
	.pf-chapter-close--plain.pf-chapter-close { padding: 25px 16px; }
	.pf-chapter-close .pf-chapter-close__panel { padding: 25px 22px; }
	.pf-chapter-close h2 { font-size: 31px; }
	.pf-chapter-close .pf-chapter-close__panel > p { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .pf-chapter-close .wp-block-cover__image-background { transform: none; inset: 0; height: 100%; } }
