/*
Theme Name: Pencil NAS
Theme URI: https://example.invalid/pencil-nas
Author: Custom theme for a personal Synology site
Description: Уникальная адаптивная WordPress-тема в стиле карандашного рисунка на бумаге для сайта о Synology NAS, домашнем сервере, резервном копировании и умном доме.
Version: 1.4.35
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: pencil-nas
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, custom-logo, custom-menu, featured-images, right-sidebar, translation-ready
*/

:root{
  --paper:#f4f0e7;
  --paper-2:#ebe5d9;
  --ink:#2d2d2a;
  --muted:#514f49;
  --line:rgba(43,42,39,.70);
  --line-soft:rgba(43,42,39,.38);
  --wash:rgba(60,60,56,.028);
  --shadow:rgba(36,35,32,.14);
  --content:1380px;
  --radius:8px;
  --hand:"Segoe Print","Bradley Hand","Comic Sans MS",cursive;
  --body:Georgia,"Times New Roman",serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--ink);
  background:
    radial-gradient(circle at 18% 22%,rgba(255,255,255,.18),transparent 23%),
    radial-gradient(circle at 78% 10%,rgba(255,255,255,.13),transparent 25%),
    linear-gradient(rgba(244,240,231,.82),rgba(244,240,231,.82)),
    url("assets/images/paper-texture.jpg") repeat;
  background-size:auto,auto,auto,540px 540px;
  background-color:var(--paper);
  font-family:var(--body);
  font-size:17px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
body:before{
  content:"";position:fixed;inset:0;pointer-events:none;z-index:9999;opacity:.10;
  background-image:url("assets/images/paper-noise.svg");
  mix-blend-mode:multiply;
}
a{color:inherit;text-decoration-thickness:1px;text-underline-offset:3px}
a:hover{opacity:.72}
img{max-width:100%;height:auto}
button,input,select,textarea{font:inherit;color:inherit}
.screen-reader-text{position:absolute!important;height:1px;width:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}
.site-shell{width:min(calc(100% - 32px),var(--content));margin-inline:auto}


 .pencil-box{
  position:relative;
  background:rgba(244,240,231,.94);
  border:0;
  border-radius:0;
  box-shadow:0 2px 8px rgba(60,58,54,.022);
  isolation:isolate;
}
.pencil-box:before{
  content:"";
  position:absolute;
  inset:-5px;
  pointer-events:none;
  z-index:0;
  box-sizing:border-box;
  border:10px solid transparent;
  border-image-source:url('assets/images/sketch-border-9slice.png');
  border-image-slice:16;
  border-image-width:10px;
  border-image-outset:0;
  border-image-repeat:stretch;
}
.pencil-box:after{content:none}
.pencil-box > *{position:relative;z-index:1}


.hand{font-family:var(--hand)}
.section-title{
  display:flex;align-items:center;gap:10px;margin:25px 0 14px;font-family:var(--hand);
  font-size:1.35rem;font-weight:700;line-height:1.2
}
.section-title:after{content:"";height:1px;background:var(--line-soft);flex:1}
.section-title .more{margin-left:auto;font-size:.77rem;font-family:var(--body);font-weight:400;white-space:nowrap}
.sketch-icon{width:30px;height:30px;display:inline-block;vertical-align:middle}

/* Header */
.site-header{border-bottom:1px solid var(--line-soft)}
.masthead{display:grid;grid-template-columns:minmax(0,1fr);gap:0;min-height:176px;align-items:center;padding:18px 0 14px;position:relative;isolation:isolate}
.masthead:before{content:"";position:absolute;z-index:-1;left:50%;top:0;bottom:0;width:100vw;transform:translateX(-50%);background-image:linear-gradient(90deg,rgba(244,240,231,.72) 0%,rgba(244,240,231,.22) 12%,rgba(244,240,231,.08) 50%,rgba(244,240,231,.22) 88%,rgba(244,240,231,.72) 100%),url("assets/images/raster/header-background.png");background-repeat:no-repeat,no-repeat;background-position:center,center 51%;background-size:100% 100%,cover;opacity:.56;pointer-events:none;mix-blend-mode:multiply}
.brand{display:flex;align-items:center;justify-content:flex-start;gap:0;position:relative;z-index:2;min-height:138px;padding:6px 8px}
.brand-mark{display:none!important}
.site-title{margin:0;font:700 clamp(1.85rem,3vw,2.55rem)/1.1 var(--hand);letter-spacing:.01em}
.site-title a{text-decoration:none}
.site-description{margin:.45rem 0 0;color:var(--muted);font:1rem/1.5 var(--hand);max-width:760px}
.brand-mark img{display:none!important}
.header-landscape{display:none!important}
.header-landscape img{display:none!important}
.nav-wrap{border-top:1px solid var(--line-soft);background:rgba(255,255,255,.08)}
.nav-row{display:flex;align-items:center;gap:18px;min-height:54px}
.site-nav{flex:1;min-width:0}
.site-nav ul{display:flex;align-items:center;gap:7px;list-style:none;margin:0;padding:0;flex-wrap:wrap}
.site-nav li{margin:0}
.site-nav a{display:block;padding:12px 13px 10px;text-decoration:none;font:1rem var(--hand);border-bottom:2px solid transparent}
.site-nav .current-menu-item>a,.site-nav .current_page_item>a,.site-nav a:hover{border-color:var(--ink)}
.menu-toggle{display:none;background:none;border:0;padding:8px;font:700 1rem var(--hand);cursor:pointer}
.search-form{display:flex;align-items:center;position:relative}
.search-form label{display:block}
.search-field{
  width:210px;border:1.35px solid var(--line);border-radius:5px 7px 4px 6px / 6px 4px 7px 5px;background:rgba(255,255,255,.15);box-shadow:1px 1px 0 rgba(55,52,47,.10),-1px 0 0 rgba(55,52,47,.05);
  padding:8px 40px 8px 13px;font-family:var(--hand);outline:none
}
.search-submit{
  position:absolute;right:2px;top:2px;bottom:2px;width:38px;border:0;background:none;cursor:pointer;font-size:0
}
.search-submit:before{content:"⌕";font-size:26px;line-height:1}

/* Layout */
.content-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:28px;padding:18px 0 34px}
.main-content{min-width:0}
.sidebar{min-width:0}
.widget{padding:15px 17px;margin-bottom:15px;background:rgba(244,240,231,.94)}
.widget-title{margin:0 0 10px;font:700 1.16rem/1.25 var(--hand);padding-bottom:7px;border-bottom:1px solid var(--line-soft)}
.widget ul{list-style:none;margin:0;padding:0}
.widget li{border-bottom:1px solid rgba(50,50,46,.12);padding:5px 0}
.widget li:last-child{border-bottom:0}
.tagcloud{display:flex;gap:7px;flex-wrap:wrap}
.tagcloud a,.tag-chip{
  display:inline-block;border:1px solid var(--line-soft);border-radius:3px 5px 4px 6px / 5px 3px 6px 4px;padding:3px 8px;background:rgba(255,255,255,.10);
  font:13px var(--hand);text-decoration:none!important
}
.widget_search .search-field{width:100%}

/* Home hero */
.home-hero{display:grid;grid-template-columns:42% 58%;overflow:hidden;min-height:305px}
.hero-art{min-height:300px;background:transparent;border-right:1px solid var(--line-soft);display:flex;align-items:center;justify-content:center;padding:10px;overflow:hidden}
.hero-art img{width:100%;height:100%;min-height:280px;object-fit:contain;object-position:center;mix-blend-mode:multiply}
.hero-copy{padding:25px 30px 21px}
.hero-copy h1{font:700 clamp(1.65rem,2.5vw,2.35rem)/1.2 var(--hand);margin:0 0 11px}
.hero-copy p{margin:0 0 16px;max-width:700px}
.hero-features{display:grid;grid-template-columns:repeat(4,1fr);gap:2px;margin-top:15px}
.hero-feature{text-align:center;padding:9px 8px 7px;border-right:1px solid var(--line-soft);font:13px var(--hand);display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:5px}
.hero-feature:last-child{border-right:0}
.hero-feature span{display:block;line-height:1.15}
.hero-feature img{width:74px;height:58px;display:block;margin:0 auto 1px;object-fit:contain;object-position:center center;mix-blend-mode:multiply;opacity:.98}
.hero-actions{display:flex;gap:12px;margin-top:16px}
.pencil-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 18px;text-decoration:none;color:var(--ink);border:1px solid rgba(63,61,56,.40);border-radius:4px 6px 5px 7px / 6px 4px 7px 5px;background:rgba(255,255,255,.10);font:700 .95rem var(--hand);box-shadow:1px 1px 0 rgba(55,52,47,.08),-1px 0 0 rgba(55,52,47,.03)}
.pencil-btn.primary{background:rgba(43,43,40,.78);color:var(--paper)}
.pencil-btn:hover{transform:translateY(-1px);opacity:1}

/* Cards */
.cards-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:17px}
.post-card{overflow:hidden;display:flex;flex-direction:column;min-height:390px;transition:.15s}
.post-card:hover{transform:rotate(-.12deg) translateY(-2px);box-shadow:3px 5px 0 rgba(45,45,42,.10)}
.post-card-thumb{aspect-ratio:4/2.4;overflow:hidden;border-bottom:1px solid var(--line-soft);display:flex;align-items:center;justify-content:center;background:transparent;padding:6px 8px 0}
.post-card-thumb img{width:100%;height:100%;object-fit:contain;filter:none;mix-blend-mode:multiply}
.post-card-body{padding:14px 14px 12px;display:flex;flex-direction:column;flex:1}
.post-card-title{margin:0 0 7px;font:700 1.02rem/1.35 var(--hand)}
.post-card-title a{text-decoration:none}
.post-card-excerpt{font-size:.87rem;line-height:1.45;color:#3e3d39;margin:0 0 12px}
.post-card-meta{display:flex;justify-content:space-between;gap:7px;margin-top:auto;padding-top:10px;font-size:.72rem;color:var(--muted);border-top:1px solid rgba(55,55,52,.10)}
.empty-note{padding:30px;text-align:center}

/* Knowledge */
.knowledge-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}
.knowledge-item{padding:13px 10px;display:grid;grid-template-columns:52px 1fr;gap:10px;align-items:center;min-height:118px}
.knowledge-item img{width:50px;height:50px;object-fit:contain}
.knowledge-item h3{font:700 .93rem/1.25 var(--hand);margin:0 0 3px}
.knowledge-item p{font-size:.75rem;line-height:1.35;margin:0;color:var(--muted)}

/* guide list */
.guide-list{display:grid;grid-template-columns:repeat(2,1fr);gap:9px}
.guide-link{display:flex;align-items:center;gap:10px;padding:10px 12px;text-decoration:none}
.guide-link .num{font:700 1.15rem var(--hand);width:30px}
.guide-link strong{display:block;font:700 .9rem var(--hand)}
.guide-link span{font-size:.77rem;color:var(--muted)}

/* Article and archives */
.page-header{padding:8px 0 10px}
.page-title{margin:0;font:700 clamp(1.8rem,3vw,2.6rem)/1.2 var(--hand)}
.archive-description{max-width:850px;color:var(--muted)}
.breadcrumbs{font-size:.78rem;color:var(--muted);margin:4px 0 13px}
.breadcrumbs a{text-decoration:none}
.post-list{display:grid;gap:12px}
.list-card{display:grid;grid-template-columns:270px 1fr;overflow:hidden;min-height:175px}
.list-card .thumb{border-right:1px solid var(--line-soft);background:transparent;display:flex;align-items:center;justify-content:center;min-height:175px;padding:8px}
.list-card .thumb img{width:100%;height:100%;object-fit:contain;filter:grayscale(1);mix-blend-mode:multiply}
.list-card .body{padding:15px 18px}
.list-card h2{font:700 1.25rem/1.35 var(--hand);margin:0 0 5px}
.list-card h2 a{text-decoration:none}
.list-card p{margin:0 0 9px;font-size:.9rem}
.meta-row{display:flex;gap:14px;flex-wrap:wrap;color:var(--muted);font-size:.75rem}
.pagination{margin:18px 0}
.pagination .nav-links{display:flex;gap:6px;justify-content:center}
.page-numbers{border:1px solid var(--line);border-radius:4px;padding:5px 11px;text-decoration:none;font-family:var(--hand);background:rgba(255,255,255,.08)}
.page-numbers.current{background:rgba(43,43,40,.78);color:var(--paper)}

.single-article .entry-header{margin-bottom:12px}
.single-article .entry-title{margin:.2rem 0 .55rem;font:700 clamp(2rem,3.2vw,3.2rem)/1.15 var(--hand)}
.entry-cover{overflow:hidden;margin:13px 0 18px;max-height:440px}
.entry-cover img{width:100%;max-height:440px;object-fit:cover;filter:grayscale(1);mix-blend-mode:multiply}
.entry-content{font-size:1.04rem}
.entry-content h2,.entry-content h3,.entry-content h4{font-family:var(--hand);line-height:1.3;margin-top:1.6em}
.entry-content h2{font-size:1.65rem;border-bottom:1px solid var(--line-soft);padding-bottom:.2em}
.entry-content h3{font-size:1.3rem}
.entry-content blockquote{
  margin:1.4em 0;padding:12px 18px;border:1px solid var(--line);border-left:5px double var(--line);
  background:var(--wash);font-style:italic;position:relative
}
.entry-content pre,.entry-content .wp-block-code{
  overflow:auto;padding:15px 17px;border:1px solid var(--line);border-radius:5px;background:rgba(56,56,53,.07);
  font:14px/1.6 Consolas,Monaco,monospace
}
.entry-content table{width:100%;border-collapse:collapse;margin:1.2em 0}
.entry-content th,.entry-content td{border:1px solid var(--line-soft);padding:8px 10px;text-align:left}
.entry-content img{filter:grayscale(.6);border-radius:3px}
.post-tags{margin-top:20px;padding-top:12px;border-top:1px solid var(--line-soft)}
.author-box{display:grid;grid-template-columns:90px 1fr;gap:16px;padding:16px;margin-top:25px}
.author-box .avatar{border-radius:50%;filter:grayscale(1)}
.author-box h3{margin:0;font:700 1.1rem var(--hand)}
.nav-links-posts{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0}
.nav-links-posts a{display:block;padding:13px;text-decoration:none}

/* Comments */
.comments-area{margin-top:25px}
.comments-title{font:700 1.35rem var(--hand)}
.comment-list{list-style:none;padding:0}
.comment-body{padding:14px 0;border-bottom:1px solid var(--line-soft)}
.comment-meta{font-size:.8rem;color:var(--muted)}
.comment-content p{margin:.5em 0}
.comment-respond{padding:17px;margin-top:15px}
.comment-respond h3{font-family:var(--hand)}
.comment-form input[type=text],.comment-form input[type=email],.comment-form input[type=url],.comment-form textarea{
  width:100%;padding:9px 10px;border:1px solid var(--line);border-radius:5px;background:rgba(255,255,255,.18)
}
.comment-form .submit{border:1px solid var(--line);background:rgba(55,55,52,.65);color:var(--paper);padding:8px 20px;border-radius:4px;font-family:var(--hand);cursor:pointer}

/* Footer */
.site-footer{
  margin-top:28px;
  padding:0 0 8px;
  border-top:1px solid rgba(52,52,49,.20);
  background:transparent;
  overflow:visible;
}
.footer-grid.footer-sketch-layout{
  display:grid;
  grid-template-columns:220px minmax(210px,1fr) 145px 195px minmax(235px,1.12fr) 215px;
  column-gap:16px;
  align-items:end;
  min-height:178px;
  padding-top:12px;
  position:relative;
  overflow:visible;
}
.footer-sketch-layout .footer-scene{
  align-self:end;
  min-width:0;
  overflow:visible;
  pointer-events:none;
  position:relative;
  z-index:3;
}
.footer-sketch-layout .footer-scene img{
  display:block;
  width:100%;
  height:auto;
  max-height:none;
  object-fit:contain;
  mix-blend-mode:multiply;
  opacity:.84;
}
.footer-sketch-layout .footer-scene-left{transform:translateY(-34px)}
.footer-sketch-layout .footer-scene-left img{width:108%}
.footer-sketch-layout .footer-scene-right{transform:translateY(-66px)}
.footer-sketch-layout .footer-scene-right img{width:122%;max-width:none;margin-left:-10%}
.footer-sketch-layout .footer-about-copy,
.footer-sketch-layout .footer-useful,
.footer-sketch-layout .footer-contact,
.footer-sketch-layout .footer-quote-wrap{
  align-self:end;
  padding:0 0 10px;
  min-width:0;
  position:relative;
  z-index:1;
}
.footer-sketch-layout h3{font:700 1rem var(--hand);margin:0 0 7px}
.footer-sketch-layout p,
.footer-sketch-layout li{font-size:.79rem;line-height:1.5;margin:.18em 0}
.footer-sketch-layout ul{margin:0;padding-left:18px}
.footer-sketch-layout .footer-quote-wrap{
  display:block;
  min-height:0;
}
.footer-sketch-layout .footer-quote{
  padding:0 8px 10px;
  text-align:center;
  font:1rem/1.48 var(--hand);
}
.footer-sketch-layout .footer-quote-author{margin-top:6px;text-align:right;font-size:.84em;opacity:.72}
.footer-mid-pine,.footer-right-art,.footer-about-art{display:none!important}
@media(max-width:1180px){
  .cards-grid{grid-template-columns:repeat(2,1fr)}
  .knowledge-grid{grid-template-columns:repeat(3,1fr)}
  .content-grid{grid-template-columns:minmax(0,1fr) 300px}
  .masthead{grid-template-columns:minmax(360px,520px) 1fr}
}
@media(max-width:900px){
  body{font-size:16px}
  .site-shell{width:min(calc(100% - 22px),var(--content))}
  .masthead{grid-template-columns:1fr;min-height:auto;padding-top:12px}
  .header-landscape{display:none}
  .brand{justify-content:center}
  .brand-mark img{height:128px;max-width:178px}
  .site-title{text-align:left}
  .nav-row{flex-wrap:wrap;gap:8px;padding:5px 0 8px}
  .menu-toggle{display:inline-flex;align-items:center;gap:6px}
  .site-nav{display:none;flex-basis:100%;order:3}
  .site-nav.open{display:block}
  .site-nav ul{display:block}
  .site-nav a{padding:8px 4px}
  .header-search{margin-left:auto}
  .search-field{width:190px}
  .content-grid{grid-template-columns:1fr}
  .sidebar{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
  .widget{margin-bottom:0}
  .home-hero{grid-template-columns:1fr}
  .hero-art{border-right:0;border-bottom:1px solid var(--line-soft);min-height:230px}
  .hero-art img{max-height:250px}
  .knowledge-grid{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:1.2fr .9fr .65fr;align-items:end}
  .footer-about{grid-column:1 / 3}
  .footer-quote-wrap{grid-column:1 / 2}
  .footer-useful{grid-column:2 / 3}
  .footer-contact{grid-column:3 / 4}
  .footer-right-art{display:none}
}
@media(max-width:620px){
  .site-shell{width:min(calc(100% - 14px),var(--content))}
  .brand{justify-content:flex-start;gap:12px}
  .brand-mark img{height:96px;max-width:132px}
  .site-title{font-size:1.45rem}
  .site-description{font-size:.78rem}
  .header-search .search-field{width:135px}
  .hero-copy{padding:19px 16px}
  .hero-features{grid-template-columns:repeat(2,1fr)}
  .hero-feature:nth-child(2){border-right:0}
  .hero-actions{flex-direction:column}
  .cards-grid{grid-template-columns:1fr}
  .post-card{min-height:0}
  .knowledge-grid{grid-template-columns:1fr}
  .guide-list{grid-template-columns:1fr}
  .sidebar{grid-template-columns:1fr}
  .list-card{grid-template-columns:1fr}
  .list-card .thumb{border-right:0;border-bottom:1px solid var(--line-soft);min-height:190px}
  .nav-links-posts{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr;text-align:center;gap:12px}
  .footer-about{grid-column:auto;grid-template-columns:1fr;gap:2px}
  .footer-about-art{justify-content:center;min-height:92px}
  .footer-about-art img{width:180px;height:92px;object-position:center bottom}
  .footer-about-copy{padding-bottom:0}
  .footer-quote-wrap{grid-column:auto;grid-template-columns:1fr;min-height:0}
  .footer-mid-pine{display:none}
  .footer-useful,.footer-contact{grid-column:auto;padding-bottom:0}
  .footer-right-art{display:none}
  .footer-grid ul{display:inline-block;text-align:left}
  .alignwide{margin-left:0;width:100%;max-width:100%}
}

.custom-logo-link{display:block;line-height:0}.custom-logo{display:block;max-width:128px;width:auto;height:auto}


/* v1.1: rich pencil artwork and block-widget compatibility */
.brand-mark img{display:block;mix-blend-mode:multiply}
.widget h2,.widget h3,.widget .wp-block-heading{margin:0 0 10px;font:700 1.16rem/1.25 var(--hand);padding-bottom:7px;border-bottom:1px solid var(--line-soft)}
.widget .wp-block-search__inside-wrapper{display:flex;gap:8px;border:0;padding:0}
.widget .wp-block-search__input{min-width:0;width:100%;border:1px solid rgba(63,61,56,.34);border-radius:4px 6px 5px 7px / 6px 4px 7px 5px;background:rgba(255,255,255,.12);padding:8px 10px;font-family:var(--hand);box-shadow:1px 1px 0 rgba(63,61,56,.05)}
.widget .wp-block-search__button{margin:0;border:1px solid rgba(63,61,56,.34);border-radius:5px 7px 4px 6px / 4px 6px 5px 7px;background:rgba(255,255,255,.11);padding:7px 13px;font-family:var(--hand);box-shadow:1px 1px 0 rgba(63,61,56,.05)}
.widget .wp-block-latest-posts,.widget .wp-block-latest-comments,.widget .wp-block-archives-list,.widget .wp-block-categories-list{margin:0;padding:0;list-style:none}
.widget .wp-block-latest-posts li,.widget .wp-block-latest-comments li,.widget .wp-block-archives-list li,.widget .wp-block-categories-list li{padding:7px 0;border-bottom:1px solid rgba(50,50,46,.12)}
.widget .wp-block-latest-posts li:last-child,.widget .wp-block-latest-comments li:last-child,.widget .wp-block-archives-list li:last-child,.widget .wp-block-categories-list li:last-child{border-bottom:0}
@media(min-width:901px){.home-hero{min-height:340px}.hero-art img{min-height:340px}}

.section-title-link{color:inherit;text-decoration:none;border-bottom:none}
.section-title-link:hover{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}


/* Tiny per-block variations: closer to a lightly hand-drawn outline than a geometric UI border. */
.cards-grid .pencil-box:nth-child(2n):before,
.knowledge-grid .pencil-box:nth-child(2n):before,
.sidebar .pencil-box:nth-child(2n):before{transform:rotate(.035deg);inset:0 -1px -1px 1px}
.cards-grid .pencil-box:nth-child(3n):after,
.knowledge-grid .pencil-box:nth-child(3n):after,
.sidebar .pencil-box:nth-child(3n):after{transform:rotate(-.03deg);inset:-1px 0 1px -1px}

/* v1.4.1 — thin pencil UI outlines matching the original concept */
.search-field,
.search-submit,
.pencil-btn,
button,
input[type="button"],input[type="submit"],input[type="reset"]{
  border-width:1px;
  border-color:rgba(63,61,56,.38);
  border-style:solid;
  border-radius:5px 7px 4px 6px / 6px 4px 7px 5px;
  box-shadow:1px 1px 0 rgba(63,61,56,.07),-1px 0 0 rgba(63,61,56,.03);
}
.pencil-btn.primary{box-shadow:1px 1px 0 rgba(42,42,39,.10),-1px 0 0 rgba(255,255,255,.20) inset}


/* v1.4.1 — footer as one continuous pencil scene */
.site-footer.site-footer-scene{
  margin-top:28px;
  border-top:1px solid rgba(52,52,49,.20);
  background:
    linear-gradient(rgba(241,237,228,.94), rgba(241,237,228,.94)),
    url("assets/images/paper-texture.jpg") repeat;
  background-size:auto,540px 540px;
  position:relative;
  overflow:hidden;
}
.site-footer.site-footer-scene:before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.08;
  background-image:url("assets/images/paper-noise.svg");
  mix-blend-mode:multiply;
}
.site-footer-scene-bg{
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  overflow:hidden;
}
.site-footer-scene-left,
.site-footer-scene-right{
  position:absolute;
  bottom:0;
  background-repeat:no-repeat;
  background-size:contain;
  mix-blend-mode:multiply;
  opacity:.9;
}
.site-footer-scene-left{
  left:0;
  width:372px;
  height:204px;
  background-image:url("assets/images/footer-left-scene.png");
  background-position:left bottom;
}
.site-footer-scene-right{
  right:0;
  width:328px;
  height:258px;
  background-image:url("assets/images/footer-right-scene.png");
  background-position:right bottom;
}
.footer-scene-content{
  position:relative;
  z-index:1;
  min-height:190px;
  display:grid;
  grid-template-columns:minmax(225px,1.3fr) 145px 175px minmax(255px,1.25fr);
  column-gap:28px;
  align-items:end;
  padding:22px 210px 14px 255px;
}
.footer-scene-content > div{
  min-width:0;
  align-self:end;
  padding-bottom:6px;
}
.footer-scene-content h3{font:700 1rem var(--hand);margin:0 0 7px}
.footer-scene-content p,
.footer-scene-content li{font-size:.79rem;line-height:1.5;margin:.18em 0}
.footer-scene-content ul{margin:0;padding-left:18px}
.footer-quote{
  padding:0 4px 2px;
  text-align:left;
  font:1rem/1.5 var(--hand);
}
.footer-quote-author{margin-top:6px;text-align:right;font-size:.84em;opacity:.72}
.footer-mid-pine,.footer-right-art,.footer-about-art,.footer-grid.footer-sketch-layout,.footer-scene{display:none!important}

@media(max-width:1180px){
  .footer-scene-content{
    min-height:178px;
    padding:20px 178px 14px 205px;
    grid-template-columns:minmax(200px,1.25fr) 130px 160px minmax(220px,1.15fr);
    column-gap:20px;
  }
  .site-footer-scene-left{width:320px;height:175px}
  .site-footer-scene-right{width:285px;height:224px}
  .footer-quote{font-size:.92rem}
}
@media(max-width:900px){
  .footer-scene-content{
    min-height:165px;
    grid-template-columns:1fr 1fr;
    gap:12px 18px;
    padding:18px 142px 12px 170px;
  }
  .footer-about-copy{grid-column:1}
  .footer-useful{grid-column:2}
  .footer-contact{grid-column:1}
  .footer-quote-wrap{grid-column:2}
  .site-footer-scene-left{width:238px;height:132px}
  .site-footer-scene-right{width:208px;height:178px}
}
@media(max-width:620px){
  .footer-scene-content{
    grid-template-columns:1fr;
    text-align:center;
    gap:10px;
    min-height:0;
    padding:18px 18px 12px;
  }
  .footer-scene-content ul{display:inline-block;text-align:left}
  .footer-quote{text-align:center}
  .site-footer-scene-left,
  .site-footer-scene-right{display:none}
}
/* v1.4.1 — footer as a full-width single scene */
.site-footer.site-footer-scene{
  margin-top:28px;
  border-top:1px solid rgba(52,52,49,.20);
  background:
    linear-gradient(rgba(244,240,231,.97), rgba(239,234,224,.97)),
    url("assets/images/paper-texture.jpg") repeat;
  background-size:auto,560px 560px;
  position:relative;
  overflow:hidden;
}
.site-footer.site-footer-scene:before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background-image:url("assets/images/paper-noise.svg");
  opacity:.10;
  mix-blend-mode:multiply;
}
.site-footer-scene-bg{
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  overflow:hidden;
}
.site-footer-scene-bg:before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(255,255,255,.03) 0%, rgba(70,58,44,.04) 100%);
}
.site-footer-scene-left,
.site-footer-scene-right{
  position:absolute;
  top:0;
  bottom:0;
  background-repeat:no-repeat;
  background-size:auto 100%;
  mix-blend-mode:multiply;
  opacity:.92;
}
.site-footer-scene-left{
  left:0;
  width:clamp(340px, 31vw, 520px);
  background-image:url("assets/images/footer-left-scene.png");
  background-position:left bottom;
}
.site-footer-scene-right{
  right:0;
  width:clamp(300px, 28vw, 470px);
  background-image:url("assets/images/footer-right-scene.png");
  background-position:right bottom;
}
.footer-scene-content{
  position:relative;
  z-index:1;
  min-height:232px;
  display:grid;
  grid-template-columns:minmax(205px,1.2fr) 132px 158px minmax(235px,1.1fr);
  column-gap:28px;
  align-items:end;
  padding:22px clamp(210px,18vw,300px) 16px clamp(250px,22vw,360px);
}
.footer-scene-content > div{min-width:0;align-self:end;padding-bottom:6px}
.footer-scene-content h3{font:700 1rem var(--hand);margin:0 0 7px}
.footer-scene-content p,
.footer-scene-content li{font-size:.79rem;line-height:1.5;margin:.18em 0}
.footer-scene-content ul{margin:0;padding-left:18px}
.footer-quote{padding:0 4px 2px;text-align:left;font:1rem/1.5 var(--hand)}
.footer-quote-author{margin-top:6px;text-align:right;font-size:.84em;opacity:.72}
.footer-mid-pine,.footer-right-art,.footer-about-art,.footer-grid.footer-sketch-layout,.footer-scene{display:none!important}

@media(max-width:1180px){
  .footer-scene-content{
    min-height:218px;
    grid-template-columns:minmax(180px,1.1fr) 122px 150px minmax(210px,1fr);
    column-gap:20px;
    padding:20px clamp(175px,15vw,245px) 14px clamp(205px,18vw,285px);
  }
  .site-footer-scene-left{width:clamp(290px,30vw,430px)}
  .site-footer-scene-right{width:clamp(255px,26vw,390px)}
  .footer-quote{font-size:.93rem}
}
@media(max-width:900px){
  .footer-scene-content{
    min-height:194px;
    grid-template-columns:1fr 1fr;
    gap:12px 18px;
    padding:18px 150px 12px 165px;
  }
  .footer-about-copy{grid-column:1}
  .footer-useful{grid-column:2}
  .footer-contact{grid-column:1}
  .footer-quote-wrap{grid-column:2}
  .site-footer-scene-left{width:240px}
  .site-footer-scene-right{width:210px}
}
@media(max-width:620px){
  .footer-scene-content{
    grid-template-columns:1fr;
    text-align:center;
    gap:10px;
    min-height:0;
    padding:18px 18px 12px;
  }
  .footer-scene-content ul{display:inline-block;text-align:left}
  .footer-quote{text-align:center}
  .site-footer-scene-left,
  .site-footer-scene-right{opacity:.18;filter:blur(.2px)}
}


/* v1.4.1 — footer proportions and composition matched to the original sketch */
.site-footer.site-footer-scene{
  margin-top:28px;
  min-height:150px;
  height:auto;
  overflow:visible;
  border-top:1px solid rgba(52,52,49,.24);
  background:
    linear-gradient(rgba(242,237,227,.95),rgba(239,233,222,.95)),
    url("assets/images/paper-texture.jpg") repeat;
  background-size:auto,560px 560px;
}
.site-footer-scene-bg{
  overflow:visible;
}
.site-footer-scene-left,
.site-footer-scene-right{
  top:auto;
  bottom:0;
  background-size:contain;
  background-repeat:no-repeat;
  opacity:.90;
}
.site-footer-scene-left{
  left:0;
  width:360px;
  height:168px;
  bottom:-1px;
  background-position:left bottom;
}
.site-footer-scene-right{
  right:0;
  width:330px;
  height:186px;
  bottom:-1px;
  background-position:right bottom;
}
.footer-scene-content.site-shell{
  width:100%;
  max-width:none;
  margin:0;
  min-height:150px;
  padding:16px clamp(230px,17vw,330px) 12px clamp(250px,18vw,355px);
  grid-template-columns:minmax(220px,280px) minmax(120px,150px) minmax(155px,190px) minmax(260px,1fr);
  column-gap:28px;
  align-items:center;
}
.footer-scene-content > div{
  align-self:center;
  padding-bottom:0;
}
.footer-scene-content h3{margin:0 0 5px}
.footer-scene-content p,
.footer-scene-content li{font-size:.78rem;line-height:1.42;margin:.12em 0}
.footer-quote{
  text-align:left;
  font-size:.98rem;
  line-height:1.42;
  padding:0;
}
@media(max-width:1180px){
  .site-footer.site-footer-scene{min-height:148px}
  .site-footer-scene-left{width:310px;height:154px}
  .site-footer-scene-right{width:285px;height:175px}
  .footer-scene-content.site-shell{
    min-height:148px;
    padding:14px 205px 10px 220px;
    grid-template-columns:minmax(195px,250px) 120px 155px minmax(220px,1fr);
    column-gap:18px;
  }
}
@media(max-width:900px){
  .site-footer.site-footer-scene{min-height:178px}
  .site-footer-scene-left{width:255px;height:145px;opacity:.72}
  .site-footer-scene-right{width:225px;height:160px;opacity:.72}
  .footer-scene-content.site-shell{
    min-height:178px;
    padding:16px 145px 12px 155px;
    grid-template-columns:1fr 1fr;
    gap:10px 18px;
  }
}
@media(max-width:620px){
  .site-footer.site-footer-scene{min-height:0;overflow:hidden}
  .site-footer-scene-left,
  .site-footer-scene-right{display:block;opacity:.12;width:230px;height:150px}
  .footer-scene-content.site-shell{
    min-height:0;
    padding:18px 20px 14px;
    grid-template-columns:1fr;
    text-align:center;
  }
  .footer-quote{text-align:center}
}

/* v1.4.10 — remove footer top separator line */
.site-footer.site-footer-scene{border-top:0!important;}


/* v1.4.11 — replace straight separators with hand-drawn pencil lines */
:root{
  --sketch-line-h:url("assets/images/sketch-line-h.svg");
  --sketch-line-v:url("assets/images/sketch-line-v.svg");
}
.site-header,
.nav-wrap,
.widget-title,
.widget h2,
.widget h3,
.widget .wp-block-heading,
.post-card-thumb,
.post-card-meta,
.entry-content h2,
.post-tags,
.comment-body,
.list-card .thumb{
  border:0!important;
  background-repeat:no-repeat;
}
.site-header{
  background-image:var(--sketch-line-h);
  background-size:100% 8px;
  background-position:left bottom;
}
.nav-wrap{
  background-image:var(--sketch-line-h);
  background-size:100% 8px;
  background-position:left top;
}
.section-title:after{
  height:8px;
  background:var(--sketch-line-h) no-repeat center center / 100% 8px;
  opacity:.75;
}
.widget-title,
.widget h2,
.widget h3,
.widget .wp-block-heading{
  padding-bottom:10px;
  background-image:var(--sketch-line-h);
  background-size:100% 8px;
  background-position:left bottom;
}
.widget li,
.widget .wp-block-latest-posts li,
.widget .wp-block-latest-comments li,
.widget .wp-block-archives-list li,
.widget .wp-block-categories-list li{
  border-bottom:0!important;
  background-image:var(--sketch-line-h);
  background-repeat:no-repeat;
  background-size:100% 7px;
  background-position:left bottom;
  padding-bottom:8px;
}
.widget li:last-child,
.widget .wp-block-latest-posts li:last-child,
.widget .wp-block-latest-comments li:last-child,
.widget .wp-block-archives-list li:last-child,
.widget .wp-block-categories-list li:last-child{
  background-image:none;
}
.hero-art,
.hero-feature,
.list-card .thumb{
  border-right:0!important;
  background-image:var(--sketch-line-v);
  background-repeat:no-repeat;
  background-size:8px 100%;
  background-position:right top;
}
.hero-feature:last-child{background-image:none}
.post-card-thumb,
.post-card-meta,
.entry-content h2,
.post-tags,
.comment-body{
  background-image:var(--sketch-line-h);
  background-size:100% 8px;
  background-position:left bottom;
}
.site-nav a{
  border-bottom:0!important;
  position:relative;
}
.site-nav a:after{
  content:"";
  position:absolute;
  left:12px;
  right:12px;
  bottom:4px;
  height:8px;
  background:var(--sketch-line-h) no-repeat center bottom / 100% 8px;
  opacity:0;
  transition:opacity .15s ease;
  pointer-events:none;
}
.site-nav .current-menu-item>a:after,
.site-nav .current_page_item>a:after,
.site-nav a:hover:after{opacity:.95}
.search-form{
  position:relative;
  display:flex;
  align-items:center;
  gap:0;
  min-width:min(100%,255px);
  padding:6px 44px 6px 12px;
  background:rgba(255,255,255,.09);
}
.search-form:before{
  content:"";
  position:absolute;
  inset:-4px;
  pointer-events:none;
  border:9px solid transparent;
  border-image-source:url('assets/images/sketch-border-9slice.png');
  border-image-slice:16;
  border-image-width:9px;
  border-image-repeat:stretch;
}
.search-form label{display:block;flex:1;min-width:0}
.search-field{
  width:100%!important;
  border:0!important;
  box-shadow:none!important;
  border-radius:0!important;
  background:transparent!important;
  padding:3px 0!important;
}
.search-submit{
  right:3px;
  top:3px;
  bottom:3px;
  width:38px;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:none!important;
}
.search-submit:after{
  content:"";
  position:absolute;
  left:-5px;
  top:2px;
  bottom:2px;
  width:8px;
  background:var(--sketch-line-v) no-repeat center center / 8px 100%;
  opacity:.8;
}
.widget .wp-block-search__input,
.comment-form input[type=text],.comment-form input[type=email],.comment-form input[type=url],.comment-form textarea,
.entry-content pre,.entry-content .wp-block-code,
.entry-content blockquote,
.page-numbers,
.widget .wp-block-search__button,
.comment-form .submit,
.pencil-btn,
button,
input[type="button"],input[type="submit"],input[type="reset"]{
  border-width:0!important;
  border-radius:0!important;
  position:relative;
}
.widget .wp-block-search__input,
.widget .wp-block-search__button,
.comment-form input[type=text],.comment-form input[type=email],.comment-form input[type=url],.comment-form textarea,
.entry-content pre,.entry-content .wp-block-code,
.entry-content blockquote,
.page-numbers,
.comment-form .submit,
.pencil-btn,
button,
input[type="button"],input[type="submit"],input[type="reset"]{
  background-clip:padding-box;
}
.widget .wp-block-search__input,
.widget .wp-block-search__button,
.comment-form input[type=text],.comment-form input[type=email],.comment-form input[type=url],.comment-form textarea,
.entry-content pre,.entry-content .wp-block-code,
.entry-content blockquote,
.page-numbers,
.comment-form .submit,
.pencil-btn,
button,
input[type="button"],input[type="submit"],input[type="reset"]{
  box-shadow:none!important;
}
.widget .wp-block-search__input:focus{outline:none}
.widget .wp-block-search__inside-wrapper{gap:10px}
.widget .wp-block-search__input,
.widget .wp-block-search__button,
.comment-form input[type=text],.comment-form input[type=email],.comment-form input[type=url],.comment-form textarea,
.entry-content pre,.entry-content .wp-block-code,
.entry-content blockquote,
.page-numbers,
.comment-form .submit,
.pencil-btn,
button,
input[type="button"],input[type="submit"],input[type="reset"]{
  border:8px solid transparent!important;
  border-image-source:url('assets/images/sketch-border-9slice.png');
  border-image-slice:16;
  border-image-width:8px;
  border-image-repeat:stretch;
}
.widget .wp-block-search__input{padding:8px 10px 7px}
.widget .wp-block-search__button{padding:7px 13px 6px;background:rgba(255,255,255,.08)}
.comment-form input[type=text],.comment-form input[type=email],.comment-form input[type=url],.comment-form textarea{padding:10px 11px;background:rgba(255,255,255,.12)}
.entry-content blockquote{background:rgba(255,255,255,.08);padding:14px 18px}
.entry-content pre,.entry-content .wp-block-code{background:rgba(56,56,53,.05)}
.page-numbers{padding:6px 12px;background:rgba(255,255,255,.08)}
.page-numbers.current{background:rgba(43,43,40,.78);color:var(--paper)}
@media(max-width:900px){
  .search-form{min-width:min(100%,210px)}
}


/* v1.4.12 — make the two full-width header separators hand-drawn too */
:root{--sketch-line-h-strong:url("assets/images/sketch-line-h-strong.svg");}
.site-header,
.nav-wrap{
  position:relative;
}
.site-header{
  background-image:none!important;
}
.nav-wrap{
  background-image:none!important;
}
.site-header:after,
.nav-wrap:before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  height:12px;
  pointer-events:none;
  background:var(--sketch-line-h-strong) no-repeat center center / 100% 12px;
  z-index:5;
}
.nav-wrap:before{top:-5px;}
.site-header:after{bottom:-5px;}


/* v1.4.13 — stronger hand-drawn waviness + catch remaining straight separators */
:root{
  --sketch-line-h-wild:url("assets/images/sketch-line-h-wild.svg");
  --sketch-line-v-wild:url("assets/images/sketch-line-v-wild.svg");
}
.site-header:after,
.nav-wrap:before{
  height:14px;
  background:var(--sketch-line-h-wild) no-repeat center center / 100% 14px !important;
  opacity:.98;
}
.nav-wrap:before{top:-6px;}
.site-header:after{bottom:-6px;}

.section-title:after,
.widget-title,
.widget h2,
.widget h3,
.widget .wp-block-heading,
.widget li,
.widget .wp-block-latest-posts li,
.widget .wp-block-latest-comments li,
.widget .wp-block-archives-list li,
.widget .wp-block-categories-list li,
.post-card-thumb,
.post-card-meta,
.entry-content h2,
.post-tags,
.comment-body,
.site-nav a:after{
  background-image:var(--sketch-line-h-wild) !important;
}
.section-title:after,
.widget-title,
.widget h2,
.widget h3,
.widget .wp-block-heading,
.post-card-thumb,
.post-card-meta,
.entry-content h2,
.post-tags,
.comment-body{
  background-size:100% 10px !important;
}
.widget li,
.widget .wp-block-latest-posts li,
.widget .wp-block-latest-comments li,
.widget .wp-block-archives-list li,
.widget .wp-block-categories-list li,
.site-nav a:after{
  background-size:100% 9px !important;
}
.hero-art,
.hero-feature,
.list-card .thumb,
.search-submit:after{
  background-image:var(--sketch-line-v-wild) !important;
  background-size:10px 100% !important;
}

/* Remaining subtle straight rules, replaced with pencil strokes */
.site-sidebar .widget,
.content-area .knowledge-item,
.content-area .post-card,
.instructions-list .instruction-item{
  position:relative;
}
.hero-card > * + *,
.hero-features > * + *{
  border-color:transparent !important;
}
.entry-content table th,
.entry-content table td,
.entry-content table{
  border-color:rgba(63,61,56,.16) !important;
}

/* Search block widgets also slightly more hand-drawn */
.widget .wp-block-search__input,
.widget .wp-block-search__button,
.search-form:before{
  filter:contrast(1.02);
}


/* v1.4.24 — content sketch overlay now softly fades to transparency on the left, right, and bottom edges */
.site-main-stage{
  position:relative;
  isolation:isolate;
}
.site-main-stage:before{
  content:"";
  position:absolute;
  inset:0;
  left:50%;
  width:100vw;
  transform:translateX(-50%);
  pointer-events:none;
  z-index:-1;
  background:
    linear-gradient(to right,
      rgba(244,240,231,1) 0%,
      rgba(244,240,231,.96) 4%,
      rgba(244,240,231,.72) 9%,
      rgba(244,240,231,0) 16%,
      rgba(244,240,231,0) 84%,
      rgba(244,240,231,.72) 91%,
      rgba(244,240,231,.96) 96%,
      rgba(244,240,231,1) 100%),
    linear-gradient(to bottom,
      rgba(244,240,231,0) 0%,
      rgba(244,240,231,0) 78%,
      rgba(244,240,231,.15) 84%,
      rgba(244,240,231,.55) 91%,
      rgba(244,240,231,.90) 97%,
      rgba(244,240,231,1) 100%);
}
.site-main-stage:after{
  content:"";
  position:absolute;
  inset:0;
  left:50%;
  width:100vw;
  transform:translateX(-50%);
  pointer-events:none;
  z-index:-2;
  background-image:url("assets/images/raster/content-sketch-overlay.png");
  background-repeat:no-repeat;
  background-position:center center;
  background-size:cover;
  opacity:.26;
  mix-blend-mode:multiply;
  filter:grayscale(.05) contrast(1.03);
}
.site-main-stage > *{position:relative;z-index:1;}
.site-main-stage .pencil-box,
.site-main-stage .widget,
.site-main-stage .entry-content,
.site-main-stage .comments-area{
  background-color:rgba(244,240,231,.985);
}
.site-main-stage .entry-content,
.site-main-stage .comments-area{
  padding:18px 20px;
  border-radius:4px 6px 5px 7px / 6px 4px 7px 5px;
}

@media (max-width: 960px){
  .site-main-stage:after{
    background-position:center top;
    opacity:.235;
  }
}
@media (max-width: 640px){
  .site-main-stage:after{
    background-position:center top;
    opacity:.21;
  }
}


/* v1.4.30 — softer-pencil graphite contrast for text, frames and hand-drawn lines */
body,
input,select,textarea,button{color:var(--ink);}
.site-title,
.site-nav a,
.section-title,
.widget-title,
.widget h2,
.widget h3,
.hero-copy h1,
.post-card-title,
.knowledge-item h3,
.guide-link strong,
.entry-title,
.entry-content h2,
.entry-content h3,
.entry-content h4{
  color:#2b2b28;
}
.site-description,
.post-card-meta,
.knowledge-item p,
.guide-link span,
.entry-meta,
.footer-meta{
  color:#4b4944;
}
.pencil-box:before,
.search-form:before{
  filter:contrast(1.22) brightness(.90);
}
.widget .wp-block-search__input,
.widget .wp-block-search__button,
.comment-form input[type=text],.comment-form input[type=email],.comment-form input[type=url],.comment-form textarea,
.entry-content pre,.entry-content .wp-block-code,
.entry-content blockquote,
.page-numbers,
.comment-form .submit,
.pencil-btn,
button,
input[type="button"],input[type="submit"],input[type="reset"]{
  filter:contrast(1.08);
}
.section-title:after,
.site-header:after,
.nav-wrap:before,
.widget-title,
.widget h2,
.widget h3,
.widget .wp-block-heading,
.widget li,
.widget .wp-block-latest-posts li,
.widget .wp-block-latest-comments li,
.widget .wp-block-archives-list li,
.widget .wp-block-categories-list li,
.post-card-thumb,
.post-card-meta,
.entry-content h2,
.post-tags,
.comment-body,
.site-nav a:after,
.hero-art,
.hero-feature,
.list-card .thumb,
.search-submit:after{
  filter:contrast(1.18) brightness(.88);
}


/* v1.4.32 — lower the hand-drawn separator under post-card metadata */
.post-card-meta{
  padding-bottom:5px !important;
  background-position:left bottom !important;
}


/* v1.4.33 — article-card thumbnail changes from pencil sketch to its original colour source on hover */
.post-card-thumb,
.list-card .thumb{
  position:relative;
}
.post-thumb-stack{
  position:relative;
  display:block;
  width:100%;
  height:100%;
}
.post-thumb-sketch,
.post-thumb-original{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:100%;
  transition:opacity .28s ease;
}
.post-thumb-sketch{opacity:1;z-index:1;}
.post-thumb-original{opacity:0;z-index:2;}
.post-thumb-sketch img,
.post-thumb-original img{
  width:100% !important;
  height:100% !important;
  object-fit:contain;
  object-position:center;
  margin:0;
}
.post-thumb-original img{
  filter:none !important;
  mix-blend-mode:normal !important;
}
.post-card:hover .post-thumb-original,
.list-card:hover .post-thumb-original{
  opacity:1;
}
.post-card:hover .post-thumb-sketch,
.list-card:hover .post-thumb-sketch{
  opacity:0;
}
.post-thumb-stack-single .post-thumb-sketch{
  position:static;
}

/* v1.4.35 — WordPress image alignment matched to the Classic Editor flow */
.entry-content::after{
  content:"";
  display:table;
  clear:both;
}
.entry-content .alignleft,
.entry-content img.alignleft,
.entry-content figure.alignleft,
.entry-content .wp-block-image.alignleft{
  float:left;
  clear:none;
  margin:.25em 1.5em .9em 0;
}
.entry-content .alignright,
.entry-content img.alignright,
.entry-content figure.alignright,
.entry-content .wp-block-image.alignright{
  float:right;
  clear:none;
  margin:.25em 0 .9em 1.5em;
}
.entry-content .aligncenter,
.entry-content img.aligncenter,
.entry-content figure.aligncenter,
.entry-content .wp-block-image.aligncenter{
  float:none;
  clear:none;
  display:block;
  margin:.35em auto .85em;
}
.entry-content figure.aligncenter,
.entry-content .wp-caption.aligncenter,
.entry-content .wp-block-image.aligncenter{
  width:fit-content;
  max-width:100%;
}
.entry-content .alignnone,
.entry-content img.alignnone,
.entry-content figure.alignnone,
.entry-content .wp-block-image.alignnone{
  float:none;
  clear:none;
  margin:.35em 0 .85em;
}
.entry-content figure.alignleft,
.entry-content figure.alignright,
.entry-content .wp-caption.alignleft,
.entry-content .wp-caption.alignright{
  max-width:50%;
}
.entry-content .wp-caption{
  max-width:100%;
}
.entry-content .wp-caption img,
.entry-content figure img{
  margin-top:0;
  margin-bottom:0;
}
/* Classic Editor can place a centred image while a previous float is still active.
   Do not force a clear here: the browser will use the free line area, as TinyMCE does. */
.entry-content img.aligncenter{
  max-width:100%;
  height:auto;
}
@media (max-width:640px){
  .entry-content .alignleft,
  .entry-content .alignright,
  .entry-content img.alignleft,
  .entry-content img.alignright,
  .entry-content figure.alignleft,
  .entry-content figure.alignright,
  .entry-content .wp-block-image.alignleft,
  .entry-content .wp-block-image.alignright{
    float:none;
    display:block;
    max-width:100%;
    margin:.6em auto .9em;
  }
  .entry-content .aligncenter,
  .entry-content img.aligncenter,
  .entry-content figure.aligncenter,
  .entry-content .wp-block-image.aligncenter{
    margin:.6em auto .9em;
  }
}

