/* Web Designer Hut theme: warm editorial look layered over the Blocksy base. */
:root{
  --white:#fff;--cream:#f8f5f0;--sand:#f1ebe2;--ink:#161618;--ink-2:rgba(22,22,24,.66);--ink-3:rgba(22,22,24,.4);--line:#ece6dc;--accent:#f25533;--accent-dark:#d63f1f;
  --serif:"Newsreader",Georgia,serif;--sans:"Hanken Grotesk",system-ui,sans-serif;--mono:ui-monospace,SFMono-Regular,Menlo,monospace;
  --theme-palette-color-1:var(--accent);--theme-palette-color-2:var(--accent-dark);--theme-text-color:var(--ink);--theme-headings-color:var(--ink);--theme-link-initial-color:var(--ink);--theme-link-hover-color:var(--accent);
}
html{background:var(--white)}
body{background:var(--white)!important;color:var(--ink);font-family:var(--sans);font-size:17px;line-height:1.6;-webkit-font-smoothing:antialiased}
h1,h2,h3,h4,h5,h6{font-family:var(--serif)!important;font-weight:400!important;color:var(--ink);letter-spacing:-.025em}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:4px}
#main-container,#main,.site-main{background:transparent!important}

/* Header */
#header.ct-header{background:rgba(255,255,255,.94);border-bottom:1px solid var(--line)}
#header [data-row]{background:transparent!important;box-shadow:none!important;border:0!important}
#header [data-row="middle"] .ct-container{min-height:76px}
.site-title,.site-title a{font-family:var(--sans)!important;font-size:22px!important;font-weight:700!important;letter-spacing:-.03em;color:var(--ink)!important}
.site-title a::before{content:"";display:inline-block;width:10px;height:10px;margin-right:8px;background:var(--accent);border-radius:50%}
#header .ct-menu-link{font-family:var(--sans)!important;font-size:15px!important;font-weight:500!important;letter-spacing:0;text-transform:none;color:var(--ink)!important}
#header .ct-menu-link:hover,#header .current-menu-item>.ct-menu-link,#header .current-post-parent>.ct-menu-link{color:var(--accent)!important}
#header .ct-menu-link::before,#header .ct-menu-link::after{display:none!important}
.ct-header-search{background:var(--cream)!important;border-radius:999px!important;width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center}

/* Listings */
.entries{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:56px 28px!important}
.entries .entry-card{display:flex;flex-direction:column;margin:0!important;padding:0;background:transparent!important;box-shadow:none!important;border:0;border-radius:0!important}
.entries .entry-card::before,.entries .entry-card::after{display:none!important;content:none!important}
.entries .entry-card>*{max-width:none!important;width:100%;margin-inline:0!important}
.entries .entry-card>.ct-media-container{order:-1;display:block;margin:0 0 18px!important;overflow:hidden;border-radius:8px!important;background:var(--cream)}
.entries .entry-card img,.ct-related-posts img{width:100%!important;height:auto!important;aspect-ratio:16/10!important;object-fit:cover;object-position:top;border-radius:8px!important;transition:transform .4s ease}
.entries .entry-card:hover img,.ct-related-posts article:hover img{transform:scale(1.02)}
.entries .entry-title{font-family:var(--sans)!important;font-size:21px!important;line-height:1.28!important;font-weight:600!important;letter-spacing:-.015em;margin:0!important}
.entries .entry-title a{color:var(--ink)!important}
.entries .entry-card:hover .entry-title a{color:var(--accent)!important}
.entries .entry-title::before{display:block;width:max-content;margin-bottom:12px;padding:3px 11px;border-radius:999px;background:var(--sand);color:var(--ink);font-size:13px;font-weight:500;line-height:1.5;letter-spacing:0}
.category-resources>.entry-title::before{content:"Resources"}
.category-blog>.entry-title::before{content:"Blog"}
.category-tools>.entry-title::before{content:"Tools"}
.category-inspiration>.entry-title::before{content:"Inspiration";background:#fdebe6;color:#b53a1c}
.category-web-design>.entry-title::before{content:"Web Design";background:#fdf1dc;color:#8a5a12}
.category-coding>.entry-title::before{content:"Coding";background:#e0e7ff;color:#3730a3}
.entries .entry-excerpt,.entries .entry-button-container{display:none}
/* Featured story */
.entries .entry-card:first-child{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);grid-template-rows:1fr auto auto 1fr;column-gap:40px;padding-bottom:56px;border-bottom:1px solid var(--line)}
.entries .entry-card:first-child>*{width:auto}
.entries .entry-card:first-child>.ct-media-container{grid-column:2;grid-row:1/5;margin:0!important;border-radius:12px!important}
.entries .entry-card:first-child img{border-radius:12px!important}
.entries .entry-card:first-child .entry-title{grid-column:1;grid-row:2;font-family:var(--serif)!important;font-weight:400!important;font-size:clamp(32px,3.4vw,44px)!important;line-height:1.1!important;letter-spacing:-.03em}
.entries .entry-card:first-child .entry-title::before{font-family:var(--sans);letter-spacing:0;margin-bottom:16px}
.entries .entry-card:first-child .entry-excerpt{display:block;grid-column:1;grid-row:3;margin:16px 0 0!important;color:var(--ink-2);font-size:17px;line-height:1.55}
.entries .entry-card:first-child .entry-button-container{display:none}
.ct-pagination{margin-top:64px!important;font-size:15px}
.ct-pagination .page-numbers{border-radius:999px!important}
.ct-pagination .current{background:var(--accent)!important;color:#fff!important;border-color:var(--accent)!important}

/* Titles */
.hero-section .entry-header{text-align:left}
.page-title{font-size:clamp(38px,5vw,60px)!important;line-height:1.08!important;letter-spacing:-.03em}
.hero-section[data-type="type-2"]{background:var(--cream)!important}
.ct-title-label{display:block;font-family:var(--sans);font-size:15px;font-weight:500;letter-spacing:0;color:var(--accent)}
.ct-title-label::after{display:none}
.entry-meta,.entry-meta a{font-family:var(--sans)!important;font-size:14px!important;font-weight:500!important;letter-spacing:0;text-transform:none;color:var(--ink-2)!important}
.entry-meta a:hover{color:var(--accent)!important}

/* Articles */
article.post,.page article{background:transparent!important;box-shadow:none!important;border:0!important}
.ct-container-full,[data-content="narrow"]>article{background:transparent!important;box-shadow:none!important}
.ct-container-full[data-content="narrow"]{--theme-narrow-container-max-width:760px;--block-narrow-max-width:760px}
.entry-content{font-size:18px;line-height:1.68}
.entry-content>p:first-of-type{font-size:21px;line-height:1.5;color:var(--ink-2)}
.entry-content h2{font-size:34px;line-height:1.15;margin-top:1.8em}
.entry-content h3{font-size:26px;line-height:1.2;margin-top:1.6em}
.entry-content a{color:var(--accent-dark);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.entry-content a:hover{color:var(--ink)}
.entry-content img{height:auto;max-width:100%;border-radius:8px}
.entry-content blockquote{border-left:3px solid var(--accent);padding-left:22px;font-family:var(--serif);font-size:22px}
.entry-content pre,.entry-content pre.EnlighterJSRAW{background:var(--cream);color:var(--ink);border:1px solid var(--line);font-family:var(--mono);font-size:14px;line-height:1.65;padding:20px;overflow-x:auto;border-radius:8px;white-space:pre}
.entry-content code{font-family:var(--mono);font-size:.85em;background:var(--sand);padding:.12em .35em;border-radius:4px}
.entry-content pre code{background:none;padding:0;font-size:inherit}

/* Post navigation and related */
.post-navigation{border-top:1px solid var(--line);padding:28px 0;margin-top:56px}
.post-navigation .item-label{font-size:13px;font-weight:500;letter-spacing:0;text-transform:none;color:var(--accent)}
.post-navigation .item-title{font-family:var(--sans);font-weight:600;font-size:17px;line-height:1.3;color:var(--ink)}
.post-navigation figure,.post-navigation img{border-radius:8px!important}
.ct-related-posts-container{background:var(--cream)!important}
.ct-module-title{font-size:34px!important;text-align:left!important}
.ct-related-posts .ct-media-container{display:block;overflow:hidden;border-radius:8px!important}
.related-entry-title{font-family:var(--sans)!important;font-size:18px!important;line-height:1.3!important;font-weight:600!important;letter-spacing:-.01em}

/* Footer */
.wdh-footer{background:var(--ink);color:#f8f5f0;font-size:15px;line-height:1.5}
.wdh-footer-inner{max-width:1290px;width:88%;margin:0 auto;padding:64px 0 28px}
.wdh-footer-top{display:grid;grid-template-columns:minmax(0,2.2fr) repeat(2,minmax(0,1fr));gap:40px;padding-bottom:48px}
.wdh-footer-logo{font-size:22px;font-weight:700;letter-spacing:-.03em;color:#fff!important;text-decoration:none}
.wdh-footer-logo::before{content:"";display:inline-block;width:10px;height:10px;margin-right:8px;background:var(--accent);border-radius:50%}
.wdh-footer-brand p{max-width:34ch;margin:14px 0 0;color:rgba(248,245,240,.72)}
.wdh-footer-label{margin:0 0 14px;font-size:13px;font-weight:600;color:rgba(248,245,240,.6)}
.wdh-footer ul{list-style:none;margin:0;padding:0}
.wdh-footer li{margin:0}
.wdh-footer li a{display:inline-block;padding:5px 0;font-weight:500;color:#f8f5f0!important;text-decoration:none}
.wdh-footer a:hover{color:var(--accent)!important}
.wdh-footer a[aria-current="page"]{color:var(--accent)!important}
.wdh-footer a:focus-visible{outline-color:#fff}
.wdh-footer-bottom{display:flex;justify-content:space-between;align-items:center;gap:16px;padding-top:22px;border-top:1px solid rgba(248,245,240,.16);font-size:14px;color:rgba(248,245,240,.72)}
.wdh-footer-bottom p{margin:0}
.wdh-footer-bottom a{color:rgba(248,245,240,.72)!important;text-decoration:none;padding:5px 0}
#offcanvas{--theme-palette-color-8:var(--ink)}
#offcanvas .ct-menu-link{font-family:var(--sans)!important}

@media (max-width:1000px){
  .wdh-footer-top{grid-template-columns:repeat(2,minmax(0,1fr))}
  .wdh-footer-brand{grid-column:1/-1}
  .entries{grid-template-columns:repeat(2,minmax(0,1fr))}
  .entries .entry-card:first-child{display:flex}
  .entries .entry-card:first-child>.ct-media-container{margin:0 0 20px!important}
}
@media (max-width:640px){
  .wdh-footer-inner{padding-top:48px}
  .wdh-footer-top{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 24px}
  .entries{grid-template-columns:minmax(0,1fr);gap:40px!important}
  .entry-content{font-size:17px}.entry-content>p:first-of-type{font-size:19px}
  .entry-content h2{font-size:28px}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important}}

/* Archives: drop the empty sidebar so listings use the full width */
[data-sidebar]{display:block!important}
[data-sidebar]>aside{display:none!important}
.entries .entry-card:first-child>.ct-media-container{align-self:center}
