/* The same styles reach the front end, page editor and pattern previews. */
.wisekal-reference{max-width:1320px!important;margin-inline:auto!important;padding:24px clamp(24px,5vw,80px) 64px}
.wisekal-reference>.wp-block-post-content,.wisekal-reference>.wp-block-post-title,.wisekal-reference>.wp-block-breadcrumbs{max-width:1200px!important}
.wisekal-reference>.wp-block-post-title{font-size:clamp(36px,4.8vw,58px);line-height:1.08;margin-block:24px 12px;letter-spacing:-.045em}
.wisekal-reference .wp-block-post-content>*{max-width:none!important}
.wisekal-reference .wp-block-breadcrumbs{font-size:13px;color:#546155}
:where(.wisekal-content,.editor-styles-wrapper) :is(h2,h3,h4){color:#172c22;line-height:1.16;letter-spacing:-.035em}
:where(.wisekal-content,.editor-styles-wrapper) h2{font-size:clamp(28px,3vw,38px)}
:where(.wisekal-content,.editor-styles-wrapper) h3{font-size:21px}
:where(.wisekal-content,.editor-styles-wrapper) p{line-height:1.6}
.wisekal-section{padding-block:32px;border-top:1px solid #dddcca;margin-block:32px!important}
.wisekal-eyebrow{font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:#687367;font-weight:650;margin-block:0 8px!important}
.wisekal-lead{font-size:clamp(17px,1.8vw,21px);color:#626773;margin-block:8px 24px!important}
.wisekal-section>h2,.wisekal-page-intro>h2{margin-block:0 8px!important}
.wisekal-content-sidebar{gap:40px;align-items:start}
.wisekal-content-sidebar>.wp-block-column:first-child{flex-basis:68%!important}
.wisekal-content-sidebar>.wp-block-column:last-child{flex-basis:32%!important;border-inline-start:1px solid #dddcca;padding-inline-start:28px}
.wisekal-content-sidebar .wp-block-columns{gap:28px}
.wisekal-page-index{margin-block-start:32px;padding-block-start:24px;border-top:1px solid #dddcca}
.wisekal-page-index ul{list-style:none;padding:0}
.wisekal-page-index li{margin-block:10px}
:where(.wisekal-content,.editor-styles-wrapper) .wp-block-list{padding-inline-start:24px;line-height:1.7}
:where(.wisekal-content,.editor-styles-wrapper) .wp-block-list li::marker{color:#b97a0d}
:where(.wisekal-content,.editor-styles-wrapper) .wp-block-quote{margin-inline:0;padding:8px 0 8px 24px;border-left:4px solid #d99b21}
:where(.wisekal-content,.editor-styles-wrapper) .wp-block-quote p{font-size:clamp(23px,2.5vw,32px);font-weight:650;line-height:1.25;margin:0 0 8px}
:where(.wisekal-content,.editor-styles-wrapper) .wp-block-quote cite{font-size:13px;color:#687367}
.wp-block-gallery.is-style-wisekal-mosaic{display:grid!important;grid-template-columns:2fr 1fr 1fr;gap:16px!important}
.wp-block-gallery.is-style-wisekal-mosaic figure.wp-block-image{width:100%!important;margin:0!important;min-width:0;align-self:stretch}
.wp-block-gallery.is-style-wisekal-mosaic figure:first-child{grid-row:span 2}
.wp-block-gallery.is-style-wisekal-mosaic img{width:100%;height:100%!important;aspect-ratio:5/3;object-fit:cover;border-radius:8px}
.wp-block-gallery.is-style-wisekal-mosaic figure:first-child img{aspect-ratio:4/3}
.wisekal-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.wp-block-group.wisekal-story-card{padding:12px;border-radius:8px;overflow:hidden}
.wisekal-story-card>.wp-block-image{margin:0!important}
.wisekal-story-card img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:5px;display:block}
.wisekal-story-body{padding:16px 4px 4px;min-width:0;overflow-wrap:anywhere}
.wisekal-story-body>h3,.wisekal-story-body .wp-block-post-title{font-size:23px;line-height:1.2;margin-block:6px 10px!important}
.wisekal-story-body>p{margin-block:8px 12px}
.wisekal-story-body .wp-block-post-date,.wisekal-story-body .wp-block-post-author-name{font-size:12px;color:#687367;margin-block:4px}
.wisekal-story-body .wp-block-post-title a{color:inherit;text-decoration:none}
.wisekal-story-body .wp-block-post-title a:hover{text-decoration:underline;text-underline-offset:4px}
.wisekal-story-body .wp-block-post-excerpt__more-link{font-size:15px;text-underline-offset:5px}
:is(.is-style-wisekal-journal-grid,.is-style-wisekal-featured-story,.is-style-wisekal-recent-notes)>.wp-block-post-template{display:grid!important;list-style:none;padding:0;gap:20px!important;margin:0}
.is-style-wisekal-journal-grid>.wp-block-post-template{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.is-style-wisekal-journal-grid>.wp-block-post-template>li{padding:12px!important;border:1px solid #dddcca!important;border-radius:8px}
.wisekal-query-media .wp-block-post-featured-image{margin:0}
.wisekal-query-media img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:5px}
.wisekal-query-media:not(:has(img)){display:none}
.is-style-wisekal-featured-story>.wp-block-post-template>li{display:grid;grid-template-columns:1.2fr 1fr;background:#eff3eb;padding:0!important;border:0!important;border-radius:8px;overflow:hidden}
.is-style-wisekal-featured-story .wisekal-story-body{padding:32px}
.is-style-wisekal-featured-story .wisekal-query-media img{height:100%;min-height:280px;border-radius:0}
.is-style-wisekal-featured-story>.wp-block-post-template>li:not(:has(img)){grid-template-columns:1fr}
.is-style-wisekal-recent-notes>.wp-block-post-template{grid-template-columns:1fr!important;gap:0!important}
.is-style-wisekal-recent-notes>.wp-block-post-template>li{display:grid;grid-template-columns:140px 1fr;gap:20px;padding:16px 0!important;border-top:1px solid #dddcca!important;align-items:center}
.is-style-wisekal-recent-notes .wisekal-story-body{padding:0}
.is-style-wisekal-recent-notes .wisekal-story-body .wp-block-post-title{font-size:20px}
.is-style-wisekal-recent-notes>.wp-block-post-template>li:not(:has(img)){grid-template-columns:1fr}
.is-style-wisekal-journal-grid .wp-block-query-pagination{justify-content:center;margin-top:24px}
.is-style-wisekal-journal-grid .wp-block-query-pagination :is(a,span){min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #dddcca;border-radius:var(--wp--custom--radius--control,6px);padding:4px 12px}
.is-style-wisekal-journal-grid .wp-block-query-pagination .current{background:#254a38;color:#fffdf7}
.wisekal-empty-state{padding:24px;border:1px solid #dddcca;border-radius:8px}
.wisekal-empty-state>*{margin-block:6px!important}
.wp-block-group[class*="is-style-wisekal-notice-"]{border:1px solid #ccdac4;border-left:5px solid #638b5c;border-radius:5px;padding:16px 24px;background:#eef4e9;margin-block:16px}
.wp-block-group.is-style-wisekal-notice-reminder{background:#fff3d5;border-color:#e2bb64;border-left-color:#c88b13}
.wp-block-group.is-style-wisekal-notice-success{background:#edf5e9;border-left-color:#254a38}
.wp-block-group[class*="is-style-wisekal-notice-"]>*{margin-block:4px!important}
.wp-block-group[class*="is-style-wisekal-notice-"] h3{font-size:17px}
:where(.wisekal-content,.editor-styles-wrapper) .wp-block-table{overflow-x:auto;margin-inline:0;border:1px solid #dddcca;border-radius:7px}
:where(.wisekal-content,.editor-styles-wrapper) .wp-block-table table{width:100%;border-collapse:collapse;min-width:520px;font-size:14px}
:where(.wisekal-content,.editor-styles-wrapper) .wp-block-table :is(th,td){padding:12px 16px;text-align:left;border:1px solid #dddcca;overflow-wrap:anywhere}
:where(.wisekal-content,.editor-styles-wrapper) .wp-block-table thead{background:#e4ebdf}
:where(.wisekal-content,.editor-styles-wrapper) .wp-block-table tbody tr:nth-child(even){background:#f4f6f0}
.wisekal-faq .wp-block-details{border:1px solid #dddcca;padding:16px;border-radius:6px;margin-block:8px}
.wisekal-faq summary{font-weight:650;cursor:pointer;min-height:28px}
.wisekal-faq .wp-block-details p{font-size:14px;margin-bottom:0}
.wisekal-topics{display:flex;flex-wrap:wrap;gap:8px;padding:0;list-style:none}
.wisekal-topics a{display:inline-block;border:1px solid #cbd3c7;padding:7px 12px;border-radius:var(--wp--custom--radius--control,6px);text-decoration:none}
:where(.wisekal-content,.editor-styles-wrapper) .wp-block-search__inside-wrapper{gap:8px}
:where(.wisekal-content,.editor-styles-wrapper) .wp-block-search__input{min-width:0;border:1px solid #cbd3c7;border-radius:var(--wp--custom--radius--control,6px);padding:12px}
.wisekal-form-preview{font-size:14px}
.wisekal-form-help{font-size:13px;color:#687367}
.wisekal-form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.wisekal-form-preview label{display:block;margin-block:12px;font-weight:550}
.wisekal-form-preview :is(input:not([type=checkbox]),textarea){display:block;width:100%;box-sizing:border-box;border:1px solid #cbd3c7;border-radius:var(--wp--custom--radius--control,6px);padding:12px;background:#fffdf7;color:#172c22;font:inherit}
.wisekal-form-preview .wisekal-checkbox{display:flex;align-items:center;gap:8px;font-weight:400}
.wisekal-form-preview .wisekal-checkbox span{color:#687367}
.wisekal-form-actions{display:flex;flex-wrap:wrap;gap:12px}
.wisekal-form-actions button{border:1px solid #254a38;border-radius:var(--wp--custom--radius--control,6px);background:transparent;color:#254a38;padding:12px 18px;font:inherit;min-height:44px}
.wisekal-form-actions button:disabled{background:#254a38;color:#fffdf7;opacity:.6;cursor:not-allowed}
.editor-styles-wrapper .wisekal-form-preview form{pointer-events:none}
.wisekal-image-banner{position:relative;overflow:hidden;border-radius:8px;background:#254a38;isolation:isolate;min-height:220px}
.wisekal-image-banner>.wp-block-image{position:absolute;inset:0;margin:0!important;z-index:-2}
.wisekal-image-banner img{width:100%;height:100%;object-fit:cover}
.wisekal-image-banner:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#172c22e8,#172c2240);z-index:-1;pointer-events:none}
.wisekal-banner-copy{padding:32px;color:#fffdf7}
.wisekal-banner-copy h2{color:inherit;margin-top:0}
.wisekal-banner-copy .wp-block-button__link{background:#fffdf7;color:#172c22}
.wisekal-story-navigation{display:flex;justify-content:space-between;gap:24px;padding-block:20px;border-top:1px solid #dddcca}
.wisekal-reference :is(h2,h3)[id]{scroll-margin-top:24px}
.wisekal-nav-shortcut a{border:1px solid #254a38;border-radius:var(--wp--custom--radius--control,6px);padding:9px 16px!important}
.wisekal-nav-family a{background:#254a38;color:#fffdf7!important}
.wisekal-footer-bottom{border-top:1px solid #ffffff33;padding-top:16px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:16px}
.wisekal-footer .wisekal-footer-heading{font-size:12px;font-weight:650;margin-block:0 8px}
@media(max-width:781px){.wisekal-content-sidebar>.wp-block-column:last-child{border:0;padding:0}.wisekal-card-grid,.is-style-wisekal-journal-grid>.wp-block-post-template{grid-template-columns:repeat(2,minmax(0,1fr))!important}.is-style-wisekal-featured-story>.wp-block-post-template>li{grid-template-columns:1fr}.wisekal-content-sidebar{gap:24px}}
@media(max-width:560px){.wisekal-card-grid,.is-style-wisekal-journal-grid>.wp-block-post-template{grid-template-columns:1fr!important}.wp-block-gallery.is-style-wisekal-mosaic{grid-template-columns:1fr 1fr}.wp-block-gallery.is-style-wisekal-mosaic figure:first-child{grid-column:1/-1;grid-row:auto}.wisekal-form-row{grid-template-columns:1fr;gap:0}.wisekal-section{padding-block:24px;margin-block:24px!important}.wisekal-banner-copy{padding:24px}.is-style-wisekal-recent-notes>.wp-block-post-template>li{grid-template-columns:92px 1fr;gap:12px}.wisekal-reference{padding-inline:24px}.wisekal-reference .wp-block-post-title{font-size:36px}.wisekal-content .is-style-wisekal-recent-notes .wp-block-post-title{font-size:21px}}

.wp-block-group.wisekal-context-card{background:#eef3e9;border-inline-start:0;border-radius:8px}
.wisekal-context-card h3:before{content:'❧';color:#78964f;margin-inline-end:8px}
@media(max-width:1050px){
 .wisekal-header .wp-block-navigation__responsive-container:not(.is-menu-open){display:none}
 .wisekal-header .wp-block-navigation__responsive-container-open{display:flex}
}
@media(max-width:560px){.wisekal-reference>.wp-block-post-title{font-size:36px}.wisekal-reference .wisekal-story-body .wp-block-post-title{font-size:23px}}
