.is-style-bwp-timeline{--timeline-line:#cfcab8;--timeline-dot:#d99b21;--timeline-gap:80px}
.is-style-bwp-timeline>.wp-block-post-template{position:relative;list-style:none;padding:0!important;display:grid!important;grid-template-columns:1fr!important;gap:48px!important}
.is-style-bwp-timeline>.wp-block-post-template:before{content:"";position:absolute;left:50%;top:0;bottom:0;width:1px;background:var(--timeline-line)}
.is-style-bwp-timeline>.wp-block-post-template>li{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:var(--timeline-gap);align-items:center;border:0!important;padding:0!important;margin:0!important}
.is-style-bwp-timeline>.wp-block-post-template>li:before{content:"";position:absolute;left:50%;top:42px;transform:translateX(-50%);width:14px;height:14px;background:var(--timeline-dot);border:3px solid var(--wp--preset--color--paper,#fffdf7);border-radius:50%;z-index:1}
.is-style-bwp-timeline .bwp-story-media{grid-column:1;grid-row:1;position:relative;overflow:hidden;min-height:230px;border-radius:5px;background:linear-gradient(130deg,#e2e8dc,#f1e7c9)}
.is-style-bwp-timeline .bwp-story-media:empty{background:linear-gradient(130deg,#e2e8dc,#f1e7c9)}
.is-style-bwp-timeline .bwp-story-media figure{margin:0!important;line-height:0}
.is-style-bwp-timeline .bwp-story-media img{width:100%;height:260px;object-fit:cover;display:block}
.is-style-bwp-timeline .bwp-story-copy{grid-column:2;grid-row:1;padding:24px 0}
.is-style-bwp-timeline>.wp-block-post-template>li:nth-child(even) .bwp-story-media{grid-column:2}
.is-style-bwp-timeline>.wp-block-post-template>li:nth-child(even) .bwp-story-copy{grid-column:1;padding-left:28px}
.is-style-bwp-timeline .wp-block-post-title{font-size:clamp(23px,2.3vw,32px);line-height:1.2;margin:8px 0 12px;letter-spacing:-.035em}
.is-style-bwp-timeline .wp-block-post-title a{color:inherit;text-decoration:none}
.is-style-bwp-timeline .wp-block-post-date{font-size:12px;letter-spacing:.08em;color:#687367;text-transform:uppercase}
.is-style-bwp-timeline .wp-block-post-excerpt{font-size:17px;line-height:1.6}
.is-style-bwp-timeline .wp-block-post-excerpt__more-link{font-size:15px;text-underline-offset:5px}
.is-style-bwp-timeline .wp-block-query-pagination{margin-top:40px;justify-content:center}
.is-style-bwp-timeline .bwp-story-media:not(:has(img)){display:none}
.is-style-bwp-timeline>.wp-block-post-template>li:not(:has(.bwp-story-media img)) .bwp-story-copy{grid-column:1/-1;padding:28px 36px;background:var(--wp--preset--color--paper,#fffdf7);border-left:2px solid var(--timeline-dot)}
.is-style-bwp-timeline>.wp-block-post-template>li:not(:has(.bwp-story-media img)):before{display:none}
@media(max-width:700px){.is-style-bwp-timeline>.wp-block-post-template:before,.is-style-bwp-timeline>.wp-block-post-template>li:before{display:none}.is-style-bwp-timeline>.wp-block-post-template>li{grid-template-columns:1fr;gap:0}.is-style-bwp-timeline .bwp-story-media,.is-style-bwp-timeline>.wp-block-post-template>li:nth-child(even) .bwp-story-media{grid-column:1;grid-row:1}.is-style-bwp-timeline .bwp-story-copy,.is-style-bwp-timeline>.wp-block-post-template>li:nth-child(even) .bwp-story-copy{grid-column:1;grid-row:2;padding:24px 0}.is-style-bwp-timeline .bwp-story-media img{height:220px}}
/* The editor adds wrappers around post-template children. */
.editor-styles-wrapper .is-style-bwp-timeline .bwp-story-copy{min-width:0}

/* Story rhythm and native author metadata, shared by every timeline instance. */
.is-style-bwp-timeline{--timeline-gap:clamp(40px,7vw,96px)}
.is-style-bwp-timeline>.wp-block-post-template{gap:64px!important}
.is-style-bwp-timeline .bwp-story-copy{min-width:0;overflow-wrap:anywhere}
.is-style-bwp-timeline .bwp-story-copy>*{margin-inline:0!important}
.is-style-bwp-timeline .bwp-story-author{font-size:13px;color:var(--wp--preset--color--muted,#687367);margin-block:6px 12px}
.is-style-bwp-timeline .bwp-story-author a{color:inherit;text-underline-offset:3px}
.is-style-bwp-timeline .wp-block-post-title a:hover{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:5px}
.is-style-bwp-timeline .bwp-story-media a:focus-visible{display:block;outline:3px solid var(--timeline-dot);outline-offset:-5px}
.is-style-bwp-timeline .wp-block-query-pagination a,.is-style-bwp-timeline .wp-block-query-pagination span{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px}
.is-style-bwp-timeline .wp-block-query-pagination .current{border-radius:50%;background:var(--wp--preset--color--forest,#254a38);color:var(--wp--preset--color--paper,#fffdf7)}
.is-style-bwp-timeline .wp-block-query-no-results{padding:32px;border:1px dashed var(--timeline-line);border-radius:12px}
@media(max-width:700px){
 .is-style-bwp-timeline>.wp-block-post-template{gap:40px!important}
 .is-style-bwp-timeline>.wp-block-post-template>li:not(:has(.bwp-story-media img)) .bwp-story-copy{padding:24px}
 .is-style-bwp-timeline .bwp-story-media img{height:auto;aspect-ratio:16/9}
}
