/*
Theme Name: Sleemak
Theme URI: https://sleemak.com/
Author: Sleemak
Description: A lightweight editorial photography and personal journal theme with a fixed left sidebar, cinematic homepage hero, and masonry-style post grid.
Version: 1.2.0
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: sleemak
*/
:root{--sleemak-sidebar:260px;--sleemak-bg:#f6f5f2;--sleemak-text:#20201f;--sleemak-muted:#777;--sleemak-gap:24px;--sleemak-font: "Manrope",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
/* Sleemak typography — Manrope */
body, button, input, select, textarea { font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-weight: 400; }
.site-title { font-family: "Manrope", sans-serif; font-weight: 700; }
.site-nav, .sidebar-archives, .sidebar-bottom { font-weight: 500; }
.site-nav .current-menu-item > a, .site-nav .current_page_item > a { font-weight: 700; }
h1, h2, h3, h4, h5, h6, .wp-block-heading, .entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6 { font-family: "Manrope", sans-serif !important; }
.page-title, .content-wrap .entry-title { font-weight: 700; }
.post-card h2, .single .entry-title { font-weight: 600; }
.post-meta, .post-card time { font-weight: 500; }
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--sleemak-bg);color:var(--sleemak-text);font-family:var(--sleemak-font);font-size:16px;line-height:1.65}a{color:inherit;text-decoration:none}a:hover{opacity:.72}img{max-width:100%;height:auto;display:block}.site-shell{min-height:100vh}.site-sidebar{position:fixed;inset:0 auto 0 0;width:var(--sleemak-sidebar);padding:32px 28px 26px;background:#f8f7f4;border-right:1px solid rgba(0,0,0,.06);display:flex;flex-direction:column;z-index:100;overflow-y:auto}.site-brand{display:flex;align-items:center;justify-content:center;min-height:78px;margin-bottom:34px}.custom-logo{max-width:120px;max-height:82px;width:auto;height:auto}.site-title{font-family:Georgia,serif;font-size:25px;letter-spacing:.02em;font-weight:400;text-align:center}.site-tagline{font-size:12px;color:var(--sleemak-muted);text-align:center;margin:7px 0 0}.site-nav{font-size:12px;letter-spacing:.09em;text-transform:uppercase}.site-nav ul{list-style:none;margin:0;padding:0}.site-nav li{margin:0;padding:0}.site-nav a{display:block;padding:10px 0;border-bottom:1px solid rgba(0,0,0,.08)}.site-nav .current-menu-item>a,.site-nav .current_page_item>a{font-weight:700}.sidebar-rule{height:1px;background:rgba(0,0,0,.18);width:42px;margin:22px 0}.sidebar-archives{font-size:12px;color:#555}.sidebar-archives h2{font-size:11px;text-transform:uppercase;letter-spacing:.12em;font-weight:600;margin:0 0 9px}.sidebar-archives ul{list-style:none;margin:0;padding:0}.sidebar-archives li a{display:block;padding:7px 0;border-bottom:1px solid rgba(0,0,0,.07)}.sidebar-bottom{margin-top:auto;padding-top:26px;color:#888;font-size:11px}.site-main{margin-left:var(--sleemak-sidebar);min-width:0;min-height:100vh}.site-content{width:100%;max-width:none;margin:0;padding:0}.page-title,.entry-title.home-title{display:none}.home .site-content>.page .entry-header,.home .site-content>.page>.entry-title{display:none}.home .site-content>.page,.home .site-content>.page .entry-content{margin:0;padding:0;max-width:none}.home .wp-block-post-title{display:none}.home .wp-block-cover:first-child,.home .entry-content>.wp-block-cover:first-child{width:100%;max-width:none;min-height:min(82vh,900px)!important;margin:0!important;padding:48px;display:flex;align-items:flex-end}.home .wp-block-cover:first-child .wp-block-cover__image-background{object-fit:cover}.home .wp-block-cover:first-child .wp-block-cover__inner-container{width:100%;max-width:none;margin:0}.home .wp-block-cover:first-child h1,.home .wp-block-cover:first-child h2{font-size:clamp(30px,5vw,64px);line-height:1.05;letter-spacing:-.04em;font-weight:500;margin:0;color:#fff}.home .wp-block-cover:first-child p{color:#fff;margin:.5rem 0 0;font-size:clamp(14px,1.5vw,19px)}.home .wp-block-cover:first-child:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.38),transparent 60%);pointer-events:none}.home .wp-block-cover:first-child .wp-block-cover__inner-container{position:relative;z-index:1}.home .wp-block-cover:first-child{position:relative}.home .entry-content>*:not(.alignfull):not(.alignwide){max-width:100%}.home .entry-content .alignfull{margin-left:0;margin-right:0;width:100%;max-width:none}.home .home-intro{padding:clamp(28px,5vw,72px)}.home .home-intro h2{font-size:clamp(24px,3vw,42px);font-weight:400;line-height:1.2}.section-heading{padding:48px 5% 18px;font-size:11px;text-transform:uppercase;letter-spacing:.16em;color:#777}.post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--sleemak-gap);padding:0 5% 60px}.post-card{min-width:0;background:#fff}.post-card a{display:block}.post-card .post-thumb{aspect-ratio:4/3;overflow:hidden;background:#e8e6e1}.post-card .post-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}.post-card a:hover .post-thumb img{transform:scale(1.025)}.post-card-copy{padding:16px 17px 20px}.post-card time,.post-meta{font-size:11px;color:#888;letter-spacing:.04em}.post-card h2{font-size:19px;line-height:1.25;font-weight:500;margin:6px 0 8px}.post-card p{font-size:13px;color:#666;margin:0}.content-wrap{max-width:920px;margin:0 auto;padding:clamp(28px,5vw,76px)}.content-wrap h1,.content-wrap h2{line-height:1.2;font-weight:500}.content-wrap .entry-title{display:block;font-size:clamp(30px,4vw,48px);margin:0 0 24px}.content-wrap .entry-content{font-size:17px}.content-wrap .entry-content img{height:auto}.single-hero{width:100%;max-height:75vh;object-fit:cover}.single .content-wrap{max-width:850px}.single .entry-title{margin-top:0}.pagination{padding:0 5% 50px;display:flex;justify-content:space-between;font-size:13px}.site-footer{padding:30px 5%;border-top:1px solid rgba(0,0,0,.08);font-size:11px;color:#888}.menu-toggle{display:none}
@media(max-width:1000px){:root{--sleemak-sidebar:220px}.site-sidebar{padding:26px 22px}.post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){:root{--sleemak-sidebar:0px;--sleemak-gap:12px}.site-sidebar{position:relative;width:100%;height:auto;inset:auto;padding:14px 18px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:10px;border-right:0;border-bottom:1px solid rgba(0,0,0,.08);overflow:visible}.site-brand{justify-content:flex-start;min-height:44px;margin:0}.custom-logo{max-height:44px;max-width:85px}.site-title{text-align:left;font-size:22px}.site-tagline{display:none}.menu-toggle{display:block;border:1px solid #ddd;background:transparent;padding:8px 11px;font:inherit;font-size:12px}.site-nav{display:none;grid-column:1/-1}.site-nav.is-open{display:block}.site-nav a{padding:9px 0}.sidebar-rule,.sidebar-archives,.sidebar-bottom{display:none}.site-main{margin-left:0}.home .wp-block-cover:first-child,.home .entry-content>.wp-block-cover:first-child{min-height:72vh!important;padding:24px}.post-grid{grid-template-columns:1fr 1fr;padding:0 12px 36px;gap:12px}.post-card-copy{padding:10px}.post-card h2{font-size:15px}.post-card p{display:none}.section-heading{padding:30px 12px 14px}.content-wrap{padding:28px 20px}.single .content-wrap{padding:25px 20px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important}}
