/*
Theme Name: Vlad Workbench
Author: Vlad
Description: A simple personal portfolio and blog, with a compact photo index, a tools and hardware page, and four colour schemes. Uses native WordPress blocks; no page builder required.
Version: 1.0.0
Requires at least: 6.7
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vlad-workbench
Tags: portfolio, blog, block-patterns, full-site-editing, custom-colors, featured-images, wide-blocks
*/
:root { color-scheme:dark; }
body { -webkit-font-smoothing:antialiased; }
* { box-sizing:border-box; }
a { text-underline-offset:5px; }
a:focus-visible, button:focus-visible { outline:2px solid var(--wp--preset--color--accent); outline-offset:5px; border-radius:2px; }
.wp-site-blocks { padding-top:0; padding-bottom:0; }
.vlad-site-header,.vlad-front-content,.vlad-site-footer,.vlad-page-main { max-width:1160px; margin-left:auto!important; margin-right:auto!important; }
.vlad-header-inner { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:36px 0 28px; }
.vlad-site-title { margin:0; font-size:27px; line-height:1; font-weight:650; letter-spacing:-.06em; }
.vlad-site-title a { color:var(--wp--preset--color--contrast); text-decoration:none; }
.vlad-navigation { gap:28px; }
.vlad-navigation .wp-block-navigation__container { gap:28px; }
.vlad-navigation a { color:var(--wp--preset--color--muted); }
.vlad-navigation a:hover,.vlad-navigation .current-menu-item a { color:var(--wp--preset--color--accent); }
.vlad-home-columns { gap:clamp(36px,6vw,88px); align-items:center; margin-top:100px; margin-bottom:88px; }
.vlad-front-content .wp-block-post-content>.vlad-home-columns,.vlad-front-content .wp-block-post-content>.vlad-latest-strip { max-width:1160px; }
.vlad-home-columns>.wp-block-column { min-width:0; }
.vlad-intro { max-width:310px; }
.vlad-eyebrow { font-size:10px; line-height:1.5; font-weight:600; letter-spacing:.18em; color:var(--wp--preset--color--muted); margin:0 0 24px; }
.vlad-name { font-size:clamp(52px,6vw,76px); margin:0 0 22px; font-weight:500; letter-spacing:-.07em; }
.vlad-accent { color:var(--wp--preset--color--accent); }
.vlad-intro-heading { font-size:clamp(24px,2.5vw,32px); line-height:1.28; letter-spacing:-.04em; margin-bottom:22px; }
.vlad-muted { color:var(--wp--preset--color--muted); }
.vlad-small { font-size:13px; }
.vlad-text-link { font-size:13px; margin-top:24px; }
.vlad-text-link span,.vlad-project-link span { font-size:0; display:inline-block; width:10px; height:10px; position:relative; margin-left:4px; }
.vlad-text-link span::before,.vlad-project-link span::before { content:''; position:absolute; right:0; top:0; width:6px; height:6px; border-top:1px solid; border-right:1px solid; }
.vlad-text-link span::after,.vlad-project-link span::after { content:''; position:absolute; top:4px; left:0; width:11px; border-top:1px solid; transform:rotate(-45deg); }
.vlad-intro .vlad-text-link+.vlad-text-link { margin-top:12px; }
.vlad-project-row { gap:28px; align-items:center; margin-top:0; margin-bottom:0; padding:0 0 28px; }
.vlad-project-row+.vlad-project-row { border-top:1px solid var(--wp--preset--color--line); padding-top:28px; }
.vlad-project-row .wp-block-image { margin:0; }
.vlad-project-row .wp-block-image img { width:100%; aspect-ratio:1.6; object-fit:cover; display:block; border-radius:5px; }
.vlad-project-title { font-size:clamp(19px,2vw,25px); letter-spacing:-.035em; margin:0 0 10px; }
.vlad-project-title a { color:var(--wp--preset--color--contrast); }
.vlad-project-caption .vlad-muted { font-size:14px; line-height:1.65; margin:0; }
.vlad-project-link { font-size:12px; margin-top:18px; }
.vlad-project-list>.vlad-text-link { margin-top:2px; }
.vlad-latest-strip { border-top:1px solid var(--wp--preset--color--line); border-bottom:1px solid var(--wp--preset--color--line); align-items:center; gap:20px; padding:25px 0; margin-bottom:0; }
.vlad-latest-strip .vlad-eyebrow { margin:0; }
.vlad-latest-query .wp-block-post-template { margin:0; }
.vlad-latest-query .wp-block-post-title { font-size:15px; font-weight:400; margin:0; text-align:right; letter-spacing:0; }
.vlad-latest-query .wp-block-post-title a::after { content:''; display:inline-block; width:7px; height:7px; border-top:1px solid; border-right:1px solid; margin-left:9px; vertical-align:2px; }
.vlad-latest-query p { font-size:14px; margin:0; text-align:right; }
.vlad-footer-inner { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:26px 0 32px; }
.vlad-footer-inner p { margin:0; }
.vlad-footer-links { gap:24px; }
.vlad-footer-links a { color:var(--wp--preset--color--muted); }
.vlad-page-main { padding-top:64px; padding-bottom:80px; min-height:65vh; }
.vlad-page-main>.wp-block-post-title,.vlad-page-main>h1 { max-width:760px; margin:0 auto 26px; font-size:clamp(38px,5vw,58px); }
.vlad-page-main>.wp-block-post-content { max-width:none; }
.vlad-page-main .wp-block-post-content>*,.vlad-page-main>.wp-block-query,.vlad-page-main>.vlad-page-intro { max-width:760px; margin-left:auto; margin-right:auto; }
.vlad-page-main .wp-block-post-content>.wp-block-columns,.vlad-page-main .wp-block-post-content>.vlad-projects-page,.vlad-page-main .wp-block-post-content>.vlad-section { max-width:1160px; }
.vlad-page-intro { font-size:21px; line-height:1.5; color:var(--wp--preset--color--muted); margin-bottom:48px; }
.vlad-projects-page { max-width:900px!important; padding-top:20px; }
.vlad-spec-grid { gap:56px; align-items:flex-start; margin-top:52px; }
.vlad-spec-section h2 { font-size:27px; margin:0 0 22px; }
.vlad-spec-section .vlad-eyebrow { margin-bottom:12px; }
.vlad-spec-table { margin:0; font-size:13px; }
.vlad-spec-table table { border-collapse:collapse; width:100%; }
.vlad-spec-table td { border:0; border-bottom:1px solid var(--wp--preset--color--line); padding:13px 0; vertical-align:top; }
.vlad-spec-table td:first-child { width:33%; padding-right:18px; color:var(--wp--preset--color--muted); }
.vlad-section { border-top:1px solid var(--wp--preset--color--line); margin-top:64px!important; padding-top:38px; }
.vlad-section h2 { font-size:30px; margin-top:0; }
.vlad-section>.vlad-eyebrow { margin-bottom:12px; }
.vlad-tools-grid { gap:40px; }
.vlad-tools-grid h3 { font-size:17px; }
.vlad-tools-grid ul { padding-left:18px; font-size:14px; color:var(--wp--preset--color--muted); line-height:2; }
.vlad-post-row { padding:30px 0; border-top:1px solid var(--wp--preset--color--line); }
.vlad-post-row .wp-block-post-title { font-size:29px; margin:8px 0 10px; }
.vlad-post-row .wp-block-post-excerpt { color:var(--wp--preset--color--muted); }
.vlad-post-row .wp-block-post-excerpt__more-link { font-size:14px; }
.vlad-article-heading { max-width:760px; margin:0 auto 40px; }
.vlad-article-heading h1 { font-size:clamp(36px,5vw,58px); margin-top:12px; }
.vlad-article .wp-block-post-content h2 { margin-top:46px; }
.vlad-page-main figure img { max-width:100%; height:auto; border-radius:5px; }
.wp-element-caption { font-size:12px; color:var(--wp--preset--color--muted); }
.vlad-site-footer { border-top:1px solid var(--wp--preset--color--line); }
.vlad-front-content+.vlad-site-footer { border-top:0; }
.wp-block-navigation__responsive-container.is-menu-open { background:var(--wp--preset--color--base)!important; color:var(--wp--preset--color--contrast)!important; padding:36px; }
@media(min-width:782px) { .vlad-latest-strip>.wp-block-column:first-child { flex-basis:30%!important; } .vlad-latest-strip>.wp-block-column:last-child { flex-basis:70%!important; } }
@media(max-width:900px) and (min-width:782px) { .vlad-home-columns { gap:32px; } .vlad-project-row { gap:18px; } .vlad-project-link { margin-top:10px; } }
@media(max-width:781px) { .vlad-header-inner { padding-top:26px; } .vlad-home-columns { margin-top:54px; margin-bottom:48px; gap:48px; } .vlad-intro { max-width:440px; } .vlad-project-row { flex-wrap:nowrap!important; gap:22px; } .vlad-project-row>.wp-block-column:first-child { flex-basis:48%!important; } .vlad-project-row>.wp-block-column:last-child { flex-basis:52%!important; } .vlad-project-title { font-size:21px; } .vlad-latest-strip { gap:12px; } .vlad-latest-query .wp-block-post-title,.vlad-latest-query p { text-align:left; } .vlad-page-main { padding-top:44px; padding-bottom:44px; } .vlad-spec-grid { gap:36px; } .vlad-tools-grid { gap:14px; } .vlad-footer-inner { align-items:flex-start; } }
@media(max-width:420px) { .vlad-project-row { gap:16px; } .vlad-project-title { font-size:18px; } .vlad-project-caption .vlad-muted { font-size:12px; } .vlad-project-link { font-size:11px; margin-top:9px; } .vlad-footer-inner { flex-direction:column; gap:12px; } }
@media(max-width:781px) { .vlad-site-header,.vlad-site-footer { padding-left:22px; padding-right:22px; } }
@media(prefers-reduced-motion:no-preference) { a { transition:color .15s ease; } }
