/*

Theme Name: SHAKHOV Studio

Version: 1.0.7

Requires at least: 6.8

Requires PHP: 8.1

Text Domain: shakhov-studio

*/

html{scroll-padding-top:110px}.admin-bar .site-header{top:48px}@media(max-width:782px){.admin-bar .site-header{top:60px}}







/* 2026-10-29: readable comparison table in approved articles. */

.article-copy .article-table-scroll{max-width:100%;overflow-x:auto;margin:26px 0;border:1px solid var(--line);border-radius:12px}

.article-copy .article-comparison-table{width:100%;min-width:420px;border-collapse:collapse;font-size:14px;line-height:1.65}

.article-copy .article-comparison-table th,.article-copy .article-comparison-table td{padding:12px 14px;border-bottom:1px solid var(--line);border-right:1px solid var(--line);text-align:left;vertical-align:top}

.article-copy .article-comparison-table thead{background:#e3ead9}.article-copy .article-comparison-table th{font-weight:700}

.article-copy .article-comparison-table tr:last-child th,.article-copy .article-comparison-table tr:last-child td{border-bottom:0}


/* Improve small text contrast without changing layout. */
.scope-number,.footer-socials small{color:#526145}

/* 2026-10-30: owner portrait and social profiles. */
.live-photo img{height:auto;aspect-ratio:1/1;object-fit:contain;object-position:center bottom;filter:none;background:radial-gradient(ellipse at 50% 35%,#d7e3bd 0%,#e9eee0 65%,#f3f5ed 100%)}
.social-slots>a,.social-slots>span{display:block;color:inherit;font-family:var(--body);font-weight:600;font-size:clamp(18px,2vw,25px);line-height:1.4;padding:24px 0;border-bottom:1px solid var(--line);text-decoration:none}
.social-slots>a:hover,.social-slots>a:focus-visible{text-decoration:underline;text-decoration-color:var(--accent);text-decoration-thickness:3px;text-underline-offset:5px}
.social-slots>a small,.social-slots>span small{display:block;font-family:var(--body);font-weight:400;font-size:12px;line-height:1.6;margin-top:8px}
@media(max-width:700px){.social-slots>a,.social-slots>span{font-size:19px;padding:20px 0}.social-slots>a small,.social-slots>span small{font-size:11px}}

/* 2026-11-02: ordinary contact links replace inquiry collection. */
.direct-contact-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(240px,.8fr);gap:clamp(30px,6vw,80px);align-items:center}
.direct-contact-copy,.direct-contact-actions{min-width:0}
.direct-contact-actions{display:grid;gap:14px;max-width:440px;width:100%;justify-self:end}
.direct-contact-actions .direct-contact-button{width:100%;min-height:62px;gap:10px;padding:16px 26px;border-radius:999px;font-size:17px;box-sizing:border-box}
.direct-contact-actions .direct-contact-pending{opacity:1;background:#1b2216;color:#b5c1aa;border-color:#39462f;cursor:default;box-shadow:none;transform:none}
.direct-contact-pending small{font:500 12px/1.4 var(--body);color:#a9b999}
.direct-contact-copy h2{max-width:580px;font-size:clamp(27px,3vw,39px);overflow-wrap:normal}
@media(max-width:700px){.direct-contact-layout{grid-template-columns:minmax(0,1fr);gap:26px}.direct-contact-actions{justify-self:stretch;max-width:none}.direct-contact-actions .direct-contact-button{min-height:56px;font-size:16px}}

/* 2026-11-03: channel buttons, direct consultation and article alignment. */
.brand-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:42px;height:42px;border-radius:14px;background:var(--lime);color:var(--ink)}
.brand-icon svg{display:block;width:25px;height:25px;max-width:none}
.social-slots{gap:16px;align-items:stretch}
.social-slots>a.channel-button,.social-slots>span.channel-button{display:flex;align-items:center;gap:14px;min-height:94px;padding:18px;border:1px solid var(--line);border-radius:24px;background:var(--surface);color:var(--text);font-size:16px;text-decoration:none;transition:background .2s,border-color .2s,transform .2s;min-width:0}
.channel-button-copy{min-width:0;display:block}
.channel-button-copy strong{display:block;font:650 17px/1.4 var(--body)}
.social-slots>a.channel-button small{display:block;font:500 12px/1.5 var(--body);margin-top:4px;color:var(--muted)}
.social-slots>a.channel-button:hover{border-color:var(--lime);background:var(--lime);color:var(--ink);transform:translateY(-2px)}
.social-slots>a.channel-button:hover .brand-icon{background:var(--ink);color:var(--lime)}
.social-slots>a.channel-button:hover small{color:var(--ink)}
.social-slots>a.channel-button:focus-visible{outline:3px solid var(--lime);outline-offset:4px}
.social-slots .channel-text-only{justify-content:center}
.direct-contact-actions .direct-contact-button{justify-content:flex-start;gap:15px;padding:12px 20px;min-height:66px;font-weight:650}
.direct-contact-button .brand-icon{width:38px;height:38px;border-radius:50%;background:var(--ink);color:var(--lime)}
.direct-contact-button .brand-icon svg{width:22px;height:22px}
.direct-contact-button>span:last-child{flex:1;text-align:center;padding-right:38px}
.footer-contact .footer-consultation-button{margin-top:1px;min-height:46px;font-size:13px;padding:12px 20px;white-space:normal;max-width:100%;box-sizing:border-box}
.footer-socials{display:flex;flex-wrap:wrap;gap:9px}
.footer-socials .footer-channel-button{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:8px 13px;border:1px solid #c8d2b9;border-radius:999px;color:var(--ink);background:#f5f7ef;font:600 12px/1.4 var(--body);text-decoration:none}
.footer-channel-button .brand-icon{width:19px;height:19px;border-radius:0;background:transparent;color:inherit}
.footer-channel-button .brand-icon svg{width:18px;height:18px}
.footer-socials .footer-channel-button:hover{background:var(--lime);border-color:var(--lime)}
.article-grid{align-items:stretch}
.article-card{height:100%;box-sizing:border-box}
.article-card-copy{min-width:0;display:flex;flex:1;flex-direction:column}
.article-card-copy>.article-more{margin-top:auto;align-self:flex-start;font-size:13px;min-height:42px;padding:10px 18px}
.article-card-copy>p{margin-bottom:22px}
.live-photo img{background:#11190c;object-fit:contain;filter:none}
@media(max-width:1000px){.social-slots{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.social-slots>a.channel-button{min-height:90px;padding:16px;gap:12px}.channel-button-copy strong{font-size:16px}.direct-contact-actions .direct-contact-button{min-height:62px;font-size:16px}.footer-contact .footer-consultation-button{font-size:13px;min-height:46px}.footer-socials .footer-channel-button{font-size:12px}}
@media(max-width:420px){.social-slots{gap:12px}.social-slots>a.channel-button{flex-direction:column;align-items:flex-start;justify-content:center;min-height:128px;padding:16px;gap:11px}.social-slots>a.channel-text-only{align-items:center}.social-slots .brand-icon{width:36px;height:36px;border-radius:12px}.social-slots .brand-icon svg{width:23px;height:23px}.social-slots>a.channel-button small{font-size:11px}.direct-contact-actions .direct-contact-button{padding:12px 16px}.direct-contact-button>span:last-child{padding-right:20px}.footer-socials{gap:8px}}
