/*
Theme Name: tattoo22.ru Blog
Theme URI: https://tattoo22.ru/
Author: WBSHARK content team
Description: Independent editorial blog theme for tattoo22.ru. HTML/CSS/PHP only, no Node.js or TypeScript runtime.
Version: 1.0.0
Text Domain: tattoo22-ru-blog
*/
﻿
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; line-height: 1.62; letter-spacing: 0; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.site-header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 6vw; backdrop-filter: blur(14px); }
.brand { display: inline-flex; gap: 12px; align-items: center; text-decoration: none; min-width: 210px; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 8px; font-weight: 800; overflow: hidden; }
.brand-mark img { width: 30px; height: 30px; display: block; }
.brand strong, .brand small { display: block; }
.brand small { font-size: 0.78rem; opacity: .72; }
.main-nav { display: flex; gap: 16px; flex-wrap: wrap; font-size: 0.94rem; }
.main-nav a { text-decoration: none; padding: 8px 0; }
.hero { min-height: 560px; display: grid; align-items: center; padding: 70px 6vw; background-image: linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.22), rgba(255,255,255,.08)), url('assets/hero.png'); background-size: cover; background-position: center; }
.hero-copy { max-width: 760px; color: #fff; text-shadow: 0 1px 20px rgba(0,0,0,.28); }
.hero h1 { margin: 10px 0 18px; font-size: 3rem; line-height: 1.08; letter-spacing: 0; }
.hero p { max-width: 660px; font-size: 1.16rem; }
.eyebrow { display: inline-block; font-size: .78rem; text-transform: uppercase; font-weight: 800; letter-spacing: 0; }
.section { padding: 54px 6vw; }
.section-head { max-width: 780px; margin-bottom: 24px; }
.section h2 { margin: 8px 0 0; font-size: 2rem; line-height: 1.2; letter-spacing: 0; }
.intro-section p { max-width: 900px; font-size: 1.08rem; }
.category-grid, .article-grid, .related-grid { display: grid; gap: 18px; }
.category-grid { grid-template-columns: repeat(5, minmax(120px, 1fr)); }
.category-grid a, .article-card, .related-card, .tool-list li, .popular-list a { border-radius: 8px; text-decoration: none; }
.category-grid a { padding: 18px; font-weight: 800; }
.search-box { display: grid; gap: 8px; max-width: 680px; font-weight: 700; }
.search-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.search-box input { width: 100%; border: 1px solid currentColor; border-radius: 8px; padding: 16px; font-size: 1rem; background: transparent; color: inherit; }
.search-box button { border: 0; border-radius: 8px; padding: 0 22px; min-height: 54px; font-weight: 800; cursor: pointer; }
.article-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.article-card { padding: 22px; border: 1px solid transparent; min-height: 245px; }
.article-card span, .related-card span { font-size: .8rem; font-weight: 800; text-transform: uppercase; }
.article-card h3 { margin: 10px 0; font-size: 1.2rem; line-height: 1.28; letter-spacing: 0; }
.article-card a { text-decoration: none; }
.article-card p { margin: 0; }
.popular-list { display: grid; gap: 12px; max-width: 920px; }
.popular-list a { display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: center; padding: 14px 18px; }
.tool-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; padding: 0; margin: 0; list-style: none; }
.tool-list li { padding: 18px; font-weight: 700; }
.tool-links { display: flex; gap: 14px; flex-wrap: wrap; }
.tool-links a, .button, .ghost-button { display: inline-flex; align-items: center; min-height: 44px; border-radius: 8px; padding: 12px 16px; text-decoration: none; font-weight: 800; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; padding: 42px 6vw 70px; }
.article-page { max-width: 860px; }
.breadcrumbs { display: flex; gap: 10px; flex-wrap: wrap; font-size: .9rem; margin-bottom: 28px; }
.breadcrumbs a { text-decoration: none; }
.article-hero { padding-bottom: 28px; border-bottom: 1px solid currentColor; }
.article-hero h1 { margin: 10px 0 14px; font-size: 2.55rem; line-height: 1.12; letter-spacing: 0; }
.article-hero p { font-size: 1.08rem; }
.lead { font-size: 1.16rem; font-weight: 700; margin-top: 32px; }
.article-section, .faq, .related, .tool-callout { margin-top: 42px; }
.article-section h2, .faq h2, .related h2, .tool-callout h2, .article-aside h2 { font-size: 1.65rem; line-height: 1.25; margin: 0 0 14px; letter-spacing: 0; }
.article-section h3, .faq h3 { font-size: 1.16rem; margin: 26px 0 8px; letter-spacing: 0; }
.article-section ul, .article-section ol { padding-left: 24px; }
.article-section li { margin: 8px 0; }
blockquote { margin: 22px 0; padding: 18px 20px; border-left: 4px solid currentColor; font-weight: 700; }
.tool-callout { padding: 24px; border-radius: 8px; }
.related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.related-card { display: grid; gap: 8px; padding: 18px; }
.related-card strong { line-height: 1.28; }
.related-card small { opacity: .78; }
.article-aside { position: sticky; top: 92px; align-self: start; display: grid; gap: 12px; padding: 20px; border-radius: 8px; }
.article-aside a { text-decoration: none; padding-bottom: 10px; border-bottom: 1px solid currentColor; }
.data-table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: .96rem; }
.data-table th, .data-table td { text-align: left; padding: 12px; border-bottom: 1px solid currentColor; vertical-align: top; }
.site-footer { display: flex; justify-content: space-between; gap: 24px; padding: 34px 6vw; }
.site-footer p { max-width: 720px; }
.footer-links { display: flex; gap: 14px; flex-wrap: wrap; align-items: start; }
.is-hidden { display: none !important; }
@media (max-width: 980px) {
  .site-header, .site-footer { align-items: flex-start; flex-direction: column; }
  .hero { min-height: 480px; }
  .hero h1 { font-size: 2.2rem; }
  .category-grid, .article-grid, .tool-list, .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { position: static; }
}
@media (max-width: 640px) {
  .section, .article-layout, .site-header, .site-footer, .hero { padding-left: 20px; padding-right: 20px; }
  .hero { min-height: 430px; align-items: end; }
  .hero h1 { font-size: 1.85rem; }
  .section h2, .article-hero h1 { font-size: 1.72rem; }
  .category-grid, .article-grid, .tool-list, .related-grid { grid-template-columns: 1fr; }
  .search-row { grid-template-columns: 1fr; }
  .search-box button { width: 100%; }
  .main-nav { gap: 10px; }
}

body { color: #242424; background: #fffaf4; font-family: Georgia, 'Times New Roman', serif; }
.site-header { background: rgba(255,250,244,.9); border-bottom: 1px solid #eadccf; }
.brand-mark { background: #f26d5b; color: #fffaf4; }
.main-nav { font-family: Arial, Helvetica, sans-serif; }
.hero { background-image: linear-gradient(90deg, rgba(38,38,38,.7), rgba(38,38,38,.18), rgba(255,250,244,.18)), url('assets/hero.png'); }
.hero-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.hero-tags span { padding: 8px 12px; border-radius: 8px; background: rgba(255,250,244,.22); border: 1px solid rgba(255,250,244,.42); font-family: Arial, Helvetica, sans-serif; }
.section { background: #fffaf4; }
.section:nth-of-type(odd) { background: #f7efe6; }
.eyebrow { color: #0f766e; font-family: Arial, Helvetica, sans-serif; }
.category-grid a { background: #ffffff; border: 1px solid #e5d3c6; }
.article-card, .related-card, .tool-list li, .popular-list a, .article-aside { background: #ffffff; border: 1px solid #e5d3c6; box-shadow: 0 8px 24px rgba(53,37,24,.06); }
.article-card span, .related-card span { color: #c4513d; font-family: Arial, Helvetica, sans-serif; }
.article-card h3, .article-hero h1, .section h2 { font-family: Georgia, 'Times New Roman', serif; }
.search-box { font-family: Arial, Helvetica, sans-serif; }
.search-box input { border-color: #d9c6b6; background: #fff; }
.search-box button { background: #f26d5b; color: #fffaf4; }
blockquote { background: #f7efe6; color: #0f766e; }
.tool-callout { background: #fff; border: 1px solid #f26d5b; }
.tool-callout a, .footer-links a { color: #0f766e; }
.note-section { border-top: 4px solid #f0b84f; padding-top: 20px; }
.site-footer { background: #2a2a2a; color: #fffaf4; }

body {
  background:
    linear-gradient(90deg, rgba(15,118,110,.06) 1px, transparent 1px) 0 0 / 72px 72px,
    #fffaf4;
}
.site-header { box-shadow: 0 12px 34px rgba(53,37,24,.08); }
.brand-mark { box-shadow: -6px 6px 0 #0f766e; }
.main-nav a { border-bottom: 2px solid transparent; }
.main-nav a:hover { border-color: #f26d5b; color: #0f766e; }
.hero { min-height: 600px; border-bottom: 1px solid #eadccf; position: relative; }
.hero::after { content: ""; position: absolute; right: 6vw; bottom: 38px; width: min(390px, 32vw); height: 210px; border-radius: 8px; background: rgba(255,250,244,.74); border: 1px solid rgba(255,250,244,.76); box-shadow: 0 24px 70px rgba(53,37,24,.18); }
.hero-copy { max-width: 820px; }
.section { border-bottom: 1px solid #eadccf; }
.intro-section p { font-size: 1.18rem; }
.category-grid a { min-height: 112px; display: flex; align-items: end; position: relative; }
.category-grid a::before { content: ""; position: absolute; top: 18px; left: 18px; width: 46px; height: 28px; border-radius: 3px; background: #f26d5b; box-shadow: 16px 13px 0 #0f766e, 34px 0 0 #f0b84f; }
.article-card { position: relative; transition: transform .18s ease, box-shadow .18s ease; }
.article-card::before { content: ""; position: absolute; top: 0; left: 22px; width: 54px; height: 5px; background: #f26d5b; }
.article-card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(53,37,24,.12); }
.popular-list a b { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #0f766e; color: #fffaf4; font-family: Arial, Helvetica, sans-serif; }
.tool-list li { background: linear-gradient(180deg, #ffffff, #fff7ec); min-height: 122px; display: flex; align-items: end; border-color: #e5d3c6; }
.article-layout { background: linear-gradient(180deg, #fffaf4, #f7efe6 320px); }
.article-hero { background: #ffffff; border: 1px solid #e5d3c6; border-radius: 8px; padding: 32px; box-shadow: 0 18px 50px rgba(53,37,24,.08); }
.article-section { background: #ffffff; border: 1px solid #e5d3c6; border-radius: 8px; padding: 28px; }
.article-section h2 { border-bottom: 3px solid #f0b84f; padding-bottom: 8px; }
.article-section li::marker { color: #f26d5b; font-weight: 800; }
.faq { background: #fff7ec; border: 1px solid #e5d3c6; border-radius: 8px; padding: 26px; }
.related-card:hover { border-color: #f26d5b; }
.search-section h1 { margin: 8px 0 0; font-size: 2.4rem; line-height: 1.15; }
@media (max-width: 640px) {
  .hero::after { display: none; }
  .article-hero, .article-section, .faq { padding: 20px; }
}





/* WordPress polish and responsive fixes */
body.admin-bar .site-header { top: 32px; }
.wp-caption, .wp-block-image, .wp-block-table { max-width: 100%; }
.article-card, .related-card, .tool-links a, .popular-list a { overflow-wrap: anywhere; }
.tool-links.wbshark-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.wbshark-section .tool-links a { justify-content: center; text-align: center; min-height: 58px; background: #ffffff; border: 1px solid #e5d3c6; overflow-wrap: anywhere; }
.screen-reader-text { position: absolute; left: -9999px; }
@media (max-width: 760px) {
  .tool-links.wbshark-links { grid-template-columns: 1fr; }
  .wbshark-section .tool-links a { justify-content: flex-start; text-align: left; }
}
