/*
Theme Name: Denis
Author: Denis Ivanov
Version: 1.0
Description: Light theme for denisivanov.co.uk
*/
body{margin:0;background:#fff}
html{-webkit-text-size-adjust:100%}
.dn h1,.dn h2,.dn h3,.dn p,.dn a,.dn li,.dn span{text-transform:none;letter-spacing:normal}
.dn h1{letter-spacing:-0.5px}
.dn{color:#16181d;font-family:Inter,Arial,sans-serif;font-size:17px;line-height:1.65}
.dn *{box-sizing:border-box}
.dn .w{max-width:1040px;margin:0 auto;padding:0 24px}
.dn a{color:#1d4ed8}.dn a:hover{color:#1e3a8a}
.dn h1,.dn h2{font-family:'Source Serif 4',Georgia,serif;font-weight:700;color:#16181d;margin:0}
.dn h1{font-size:clamp(34px,6vw,58px);line-height:1.12}
.dn h2{font-size:clamp(26px,4vw,34px);line-height:1.2;margin-bottom:16px}
.dn h3{font-size:21px;font-weight:700;margin:0;color:#16181d;font-family:Inter,Arial,sans-serif}
.dn p{margin:0;color:#4a505c}
.dn .hd{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px 16px;padding:16px 0;border-bottom:1px solid #e4e6ea}
.dn .logo{color:#16181d;text-decoration:none;font-family:'Source Serif 4',Georgia,serif;font-weight:700;font-size:21px}
.dn nav{display:flex;flex-wrap:wrap;gap:22px;align-items:center;font-size:15px}
.dn nav a{color:#3d424d;text-decoration:none}
.dn nav .lang{font-weight:600}
.dn .btn{display:inline-block;background:#1d4ed8;color:#fff!important;text-decoration:none;padding:14px 24px;border-radius:8px;font-weight:500;font-size:16px}
.dn .btn.dark{background:#16181d}
.dn .btn.ghost{background:transparent;border:1px solid #c9ccd3;color:#16181d!important}
.dn section{padding:0 0 80px}
.dn .hero{padding:72px 0 64px}
.dn .hero p{font-size:20px;margin-top:24px;max-width:620px}
.dn .row{display:flex;flex-wrap:wrap;gap:12px;margin-top:32px}
.dn .cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));border-top:2px solid #16181d}
.dn .cols>div{padding:24px 24px 24px 0;display:flex;flex-direction:column;gap:10px}
.dn .box{background:#f2f5fd;border-radius:12px;padding:44px 40px;display:flex;flex-wrap:wrap;gap:24px;justify-content:space-between;align-items:center}
.dn .box p{color:#2b2f37;max-width:600px}
.dn .wp-block-latest-posts{list-style:none;padding:0;margin:0}
.dn .wp-block-latest-posts li{padding:24px 0;border-bottom:1px solid #e4e6ea}
.dn .wp-block-latest-posts li::after{content:"";display:block;clear:both}
.dn .wp-block-latest-posts a{font-family:'Source Serif 4',Georgia,serif;font-size:23px;font-weight:700;line-height:1.3;color:#16181d;text-decoration:none}
.dn .wp-block-latest-posts__post-date{font-size:14px;color:#6b7280;margin-top:6px}
.dn .wp-block-latest-posts__post-excerpt{margin:8px 0 0;color:#4a505c;font-size:16px}
.dn .wp-block-latest-posts__featured-image img{border-radius:8px;height:auto}
.dn .wp-block-latest-posts__featured-image.alignleft{float:left;margin:4px 24px 8px 0;width:240px;max-width:40%}
.dn .wp-block-latest-posts__featured-image.alignleft img{width:100%}
.dn ol,.dn ul{color:#4a505c;padding-left:22px}
.dn .ft{border-top:1px solid #e4e6ea;padding:24px 0 40px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px 16px;font-size:15px;color:#6b7280}
.dn .ft-links{display:flex;flex-wrap:wrap;gap:18px}
.dn .ft a{color:#6b7280}
.dn .wpforms-container{max-width:560px}
.dn .stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:16px;margin-top:40px}
.dn .stat{border-top:2px solid #16181d;padding-top:14px}
.dn .stat b{display:block;font-family:'Source Serif 4',Georgia,serif;font-size:34px;color:#16181d;line-height:1.1}
.dn .stat span{font-size:15px;color:#4a505c}
.dn .art{max-width:720px}
.dn .art p{margin-top:18px;color:#2b2f37;font-size:18px;line-height:1.7}
.dn .art h2{margin-top:44px}
.dn .art h3{margin-top:22px}
.dn .art ol,.dn .art ul{margin-top:14px;font-size:18px}
.dn .art li{margin-top:8px}
.dn .meta{color:#6b7280;font-size:15px;margin-top:18px}
.dn .src,.dn .art p.src{font-size:15px;color:#6b7280}
.dn .cover{margin:0 0 8px;max-width:720px}
.dn .cover img{width:100%;height:auto;border-radius:10px;display:block}
.dn .after{padding-bottom:64px}
.dn .author{border-top:1px solid #e4e6ea;padding-top:24px}
.dn .author p{margin:0;font-size:16px;color:#4a505c}
.dn .author b{color:#16181d}
.dn .sub{margin-top:32px;background:#f5f5f4;border-radius:12px;padding:24px}
.dn .sub h2{font-size:22px;margin:0 0 8px}
.dn .after>h2{margin-top:44px}
.dn .more{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:24px}
.dn .more-i{text-decoration:none;color:#16181d;display:block}
.dn .more-i img{width:100%;height:auto;border-radius:8px;display:block;margin-bottom:10px}
.dn .more-i span{font-family:'Source Serif 4',Georgia,serif;font-size:20px;font-weight:700;line-height:1.3}
@media (max-width:640px){
.dn .hd{padding:12px 0}
.dn .logo{font-size:19px}
.dn nav{gap:16px}
.dn .hero{padding:40px 0 36px}
.dn .hero p{font-size:18px;margin-top:16px}
.dn section{padding-bottom:56px}
.dn .box{padding:28px 22px}
.dn .art p,.dn .art ol,.dn .art ul{font-size:17px}
.dn .wp-block-latest-posts__featured-image.alignleft{float:none;width:100%;max-width:100%;margin:0 0 12px}
}

/* home v2 */
.dn svg.ic{width:18px;height:18px;flex:none}
.dn nav .sep{width:1px;height:18px;background:#d9dce2}
.dn .home{padding-bottom:8px}
.dn .h-hero{display:grid;grid-template-columns:1.15fr 1fr;gap:32px;align-items:center;padding:44px 0 40px;border-bottom:1px solid #e4e6ea}
.dn .h-hero h1{font-size:clamp(40px,6vw,62px);line-height:1.05}
.dn .h-tag{font-family:'Source Serif 4',Georgia,serif;font-size:clamp(21px,2.5vw,28px);line-height:1.28;color:#16181d;margin-top:12px;max-width:520px}
.dn .h-hero-r{display:flex;align-items:center;gap:24px}
.dn .h-photo{width:160px;height:160px;border-radius:50%;object-fit:cover;flex:none;display:block}
.dn .h-quote{font-size:16px;line-height:1.55;color:#4a505c;max-width:320px}
.dn .h-sec{padding:40px 0;border-bottom:1px solid #e4e6ea}
.dn .h-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:22px}
.dn .h-label{font-size:14px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:#1d4ed8}
.dn .h-h2{font-size:clamp(24px,3vw,30px);margin:0}
.dn .h-all{font-size:14px;text-decoration:none;display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.dn .h-feat{display:grid;grid-template-columns:1fr 1.25fr;gap:32px;align-items:start}
.dn .h-feat h2{font-size:clamp(26px,3.2vw,36px);line-height:1.15;margin:0}
.dn .h-feat h2 a,.dn .h-sm h3 a{color:#16181d;text-decoration:none}
.dn .h-feat h2 a:hover,.dn .h-sm h3 a:hover{color:#1d4ed8}
.dn .h-date{font-size:14px;color:#6b7280;margin-top:8px}
.dn .h-ex{margin:16px 0 22px;font-size:17px;color:#2b2f37}
.dn .h-feat .btn,.dn .h-bottom .btn{display:inline-flex;align-items:center;gap:8px}
.dn .h-feat-i img{width:100%;height:auto;border-radius:10px;display:block}
.dn .h-small{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:28px;margin-top:32px}
.dn .h-sm{display:grid;grid-template-columns:200px 1fr;gap:18px;align-items:start}
.dn .h-sm-i img{width:100%;height:auto;border-radius:8px;display:block}
.dn .h-sm h3{font-family:'Source Serif 4',Georgia,serif;font-size:19px;line-height:1.3}
.dn .h-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.dn .h-chips span{font-size:12px;border:1px solid #d9dce2;border-radius:6px;padding:2px 8px;color:#4a505c}
.dn .h-notes{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));column-gap:40px}
.dn .h-note{display:flex;gap:14px;align-items:flex-start;padding:16px 0;border-bottom:1px solid #e4e6ea;color:#16181d;text-decoration:none;font-weight:500}
.dn .h-note:hover{color:#1d4ed8}
.dn .h-empty{display:flex;gap:14px;align-items:flex-start;background:#f7f8fa;border:1px dashed #cfd3da;border-radius:10px;padding:20px 22px;color:#4a505c}
.dn .h-empty p{margin:0;color:#4a505c;font-size:16px}
.dn .h-guides{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.dn .h-guide{display:flex;flex-direction:column;gap:6px;color:#16181d;text-decoration:none}
.dn .h-guide-i{display:block;aspect-ratio:3/2;background:#eef2fb;border-radius:8px;overflow:hidden;margin-bottom:4px}
.dn .h-guide-i img{width:100%;height:100%;object-fit:cover;display:block}
.dn .h-ph .h-guide-i{background:repeating-linear-gradient(135deg,#f5f7fa 0 12px,#eef1f6 12px 24px);border:1px dashed #cfd3da}
.dn .h-ph .h-gt{color:#6b7280}
.dn .h-kind{display:block;font-size:13px;color:#6b7280}
.dn .h-gt{display:block;font-weight:600;line-height:1.35}
.dn .h-spec{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:24px;background:#eef3fd;border:1px solid #d7e2f8;border-radius:12px;padding:36px 32px}
.dn .h-spec h2{font-size:clamp(26px,3.4vw,38px);margin:6px 0 10px}
.dn .h-spec p{max-width:520px}
.dn .h-spec-art svg.ic{width:120px;height:120px;color:#1d4ed8;stroke-width:1.1}
.dn .h-topics{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:16px}
.dn .h-topic{display:flex;gap:16px;padding:20px;border:1px solid #e4e6ea;border-radius:10px;color:#16181d;text-decoration:none}
.dn .h-topic:hover{border-color:#1d4ed8}
.dn .h-ti{flex:none;width:44px;height:44px;border-radius:10px;background:#eef3fd;color:#1d4ed8;display:flex;align-items:center;justify-content:center}
.dn .h-ti svg.ic{width:24px;height:24px}
.dn .h-topic .h-kind{font-weight:600;color:#16181d;font-size:15px}
.dn .h-td{display:block;margin:4px 0 8px;font-size:15px;line-height:1.5;color:#4a505c}
.dn .h-tl{display:inline-flex;align-items:center;gap:6px;font-size:14px;color:#1d4ed8}
.dn .h-prac{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:16px}
.dn .h-pr{display:flex;gap:16px;border:1px solid #e4e6ea;border-radius:10px;overflow:hidden;color:#16181d;text-decoration:none}
.dn .h-pr-i{flex:0 0 150px;background:#eef3fd}
.dn .h-pr-i img{width:100%;height:100%;object-fit:cover;display:block}
.dn .h-pr-t{padding:16px 16px 16px 0}
.dn .h-bottom{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:40px;border-bottom:0}
.dn .h-bottom p{margin:8px 0 18px}
.dn .a-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:32px}
.dn .a-card h2{font-size:22px;line-height:1.3;margin:12px 0 0}
.dn .a-card h2 a{color:#16181d;text-decoration:none}
.dn .a-img img{width:100%;height:auto;border-radius:8px;display:block}
.dn .a-ex{margin-top:8px;font-size:16px}
.dn .ft{display:block}
.dn .ft-row{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 18px}
.dn .ft-name{font-family:'Source Serif 4',Georgia,serif;font-weight:700;color:#16181d;font-size:17px}
.dn .ft-tag{margin-left:10px}
.dn .ft-small{margin-top:14px;font-size:13px}
@media (max-width:760px){
.dn .hd nav{width:100%;overflow-x:auto;flex-wrap:nowrap;white-space:nowrap;padding-bottom:4px;gap:18px}
.dn .h-hero{grid-template-columns:1fr;gap:18px;padding:28px 0}
.dn .h-hero-r{gap:16px}
.dn .h-photo{width:88px;height:88px}
.dn .h-quote{font-size:15px}
.dn .h-sec{padding:32px 0}
.dn .h-feat{grid-template-columns:1fr;gap:16px}
.dn .h-feat-i{order:-1}
.dn .h-sm{grid-template-columns:110px 1fr;gap:14px}
.dn .h-sm h3{font-size:17px}
.dn .h-spec{padding:24px 20px}
.dn .h-spec-art{display:none}
.dn .h-pr-i{flex-basis:110px}
.dn .h-guides{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:72%;overflow-x:auto;padding-bottom:6px}
}
