/*
Theme Name: Гипергидроз — Blocksy
Template: blocksy
Version: 3.0.0
Description: Голубое оформление и адаптивные шаблоны форума о гипергидрозе.
Text Domain: gipergidroz
*/
:root{--gip-blue:var(--theme-palette-color-1,#137bb9);--gip-ink:var(--theme-palette-color-4,#173b59);--gip-muted:var(--theme-palette-color-3,#536b7d);--gip-line:var(--theme-palette-color-5,#d7e8f2);--gip-soft:var(--theme-palette-color-6,#edf7fd);--gip-white:var(--theme-palette-color-8,#fff)}
.gip-breadcrumbs{display:flex;flex-wrap:wrap;gap:7px;font-size:13px;margin:0 0 20px;color:var(--gip-muted)}
.gip-site img{max-width:100%;height:auto}.gip-site .entry-content{overflow-wrap:anywhere}.gip-site #header .site-title a{display:flex;align-items:center;gap:12px}.gip-site #header .site-title a:before{content:"";width:22px;height:30px;flex:none;border-radius:60% 40% 60% 40%;transform:rotate(-36deg);background:#a8e3ff;box-shadow:inset -5px -2px 0 #71c5ee}
.gip-welcome{border-radius:16px;padding:clamp(25px,4vw,48px);background:var(--gip-soft);border:1px solid var(--gip-line);margin-bottom:38px!important;position:relative}.gip-welcome h1{font-size:clamp(28px,3vw,40px);line-height:1.2;max-width:850px;margin:0 0 16px}.gip-welcome p{max-width:750px;margin-bottom:24px;font-size:17px;color:var(--gip-muted)}.gip-welcome .wp-block-buttons{gap:12px}.gip-welcome .wp-block-button__link{font-size:15px;padding:12px 23px;border-radius:8px}.gip-welcome .is-style-outline .wp-block-button__link{color:var(--gip-blue);border:1px solid var(--gip-line);background:var(--gip-white)}
.gip-home-grid{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:24px}.gip-forum-list,.gip-recent-topics{border:1px solid var(--gip-line);border-radius:12px;overflow:hidden;background:var(--gip-white)}.gip-forum-row{display:grid;grid-template-columns:38px minmax(0,1fr) 205px;gap:16px;align-items:center;padding:25px 22px;border-bottom:1px solid var(--gip-line);margin:0}.gip-forum-row:last-child{border-bottom:0}.gip-forum-icon{width:38px;height:38px;border-radius:10px;background:var(--gip-soft);color:var(--gip-blue);display:flex;align-items:center;justify-content:center;font-size:27px}.gip-forum-summary{min-width:0}.gip-forum-row h3{font-size:18px;margin:0 0 7px;line-height:1.4}.gip-forum-summary small{font-size:12px;color:var(--gip-muted)}.gip-subforums{display:flex;flex-wrap:wrap;gap:3px 12px;font-size:12px;margin-bottom:8px}.gip-forum-last{display:flex;align-items:center;gap:10px;min-width:0;font-size:13px}.gip-forum-last>div{min-width:0}.gip-forum-last a{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:500}.gip-forum-last small{font-size:11px;color:var(--gip-muted);display:block;overflow-wrap:anywhere}.gip-home-aside{display:grid;align-content:start;gap:18px}.gip-stat-card,.gip-help-card{border:1px solid var(--gip-line);border-radius:12px;padding:22px;background:var(--gip-white)}.gip-stat-card h3{font-size:16px;margin:0 0 18px}.gip-stat-card dl{margin:0}.gip-stat-card dl div{display:flex;justify-content:space-between;gap:12px;margin:0 0 10px}.gip-stat-card dl div:last-child{margin:0}.gip-stat-card dt{font-size:13px;color:var(--gip-muted)}.gip-stat-card dd{margin:0;font-weight:600;font-variant-numeric:tabular-nums}.gip-help-card{background:var(--gip-soft)}.gip-help-card p{font-size:13px;margin:9px 0 14px;color:var(--gip-muted)}.gip-help-card a{font-size:13px;font-weight:600}.gip-topic-row{display:grid;grid-template-columns:36px minmax(0,1fr) 90px;gap:15px;padding:18px 22px;align-items:center;border-bottom:1px solid var(--gip-line);margin:0}.gip-topic-row:last-child{border-bottom:0}.gip-topic-row h3{font-size:16px;margin:0 0 5px}.gip-topic-row small,.gip-topic-count{font-size:12px;color:var(--gip-muted)}.gip-topic-count{text-align:right}.gip-section{margin-top:38px!important}.gip-section h2{font-size:25px;margin-bottom:20px}.gip-all-link{margin-top:15px;font-size:14px}
.gip-article-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.gip-article-card{border:1px solid var(--gip-line);border-radius:12px;overflow:hidden;background:var(--gip-white);margin:0}.gip-article-image{height:190px;display:flex;align-items:center;justify-content:center;background:var(--gip-soft);padding:20px}.gip-article-image img{width:100%;height:100%;object-fit:contain}.gip-article-text{padding:20px}.gip-article-text h3{font-size:18px;line-height:1.4;margin:8px 0 12px}.gip-article-text p{font-size:14px;color:var(--gip-muted);margin:0}.gip-article-text small{font-size:12px;color:var(--gip-muted)}
.gip-avatar{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;flex:none;border-radius:50%;object-fit:cover;background:#e2f1fb;color:#1874aa;font-size:23px;line-height:1}.gip-avatar-1{background:#fff1ce;color:#8d6b10}.gip-avatar-2{background:#def2e2;color:#3e7d49}.gip-avatar-3{background:#f0e5f8;color:#7f4e9b}.gip-avatar-4{background:#ffe8df;color:#9f5c47}.gip-avatar-5{background:#dfeaff;color:#4b6a99}.gip-forum-last .gip-avatar,.gip-topic-row>.gip-avatar{width:36px;height:36px;font-size:20px}
/* Only forum markup is overridden; Blocksy controls the page and header. */
#bbpress-forums{font-size:15px;line-height:1.7;color:var(--gip-ink)}#bbpress-forums .bbp-breadcrumb{font-size:13px;margin-bottom:15px}#bbpress-forums .bbp-breadcrumb p{margin:0}#bbpress-forums li.bbp-header,#bbpress-forums li.bbp-footer{background:var(--gip-soft);border-color:var(--gip-line);padding:14px 18px}#bbpress-forums ul.bbp-forums,#bbpress-forums ul.bbp-topics,#bbpress-forums ul.bbp-replies{border:1px solid var(--gip-line);border-radius:10px;overflow:hidden}#bbpress-forums li.bbp-body ul.forum,#bbpress-forums li.bbp-body ul.topic{background:var(--gip-white);border-color:var(--gip-line);padding:20px 18px}#bbpress-forums a.bbp-topic-permalink,#bbpress-forums a.bbp-forum-title{font-weight:600}#bbpress-forums .bbp-topic-meta,#bbpress-forums .bbp-forum-content,#bbpress-forums .bbp-forum-freshness,#bbpress-forums .bbp-topic-freshness{font-size:12px;color:var(--gip-muted)}#bbpress-forums .gip-message{display:grid;grid-template-columns:150px minmax(0,1fr);background:var(--gip-white);border-bottom:1px solid var(--gip-line);clear:both;margin:0}#bbpress-forums .gip-message:last-child{border-bottom:0}.gip-message-author{background:var(--gip-soft);padding:24px 16px;text-align:center;border-right:1px solid var(--gip-line)}.gip-message-author strong{display:block;font-size:14px;margin:10px 0 2px;overflow-wrap:anywhere}.gip-message-author small{font-size:11px;color:var(--gip-muted)}.gip-message-main{padding:20px 25px;min-width:0}.gip-message-meta{display:flex;justify-content:space-between;gap:10px;border-bottom:1px solid var(--gip-line);padding-bottom:11px;margin-bottom:17px;font-size:12px;color:var(--gip-muted)}#bbpress-forums .gip-message-content.bbp-reply-content{margin:0;padding:0;font-size:15px;overflow-wrap:anywhere}.gip-message-content p:last-child{margin:0}#bbpress-forums blockquote{padding:14px 18px;margin:16px 0;border-left:3px solid var(--gip-blue);background:var(--gip-soft);font-size:14px;color:var(--gip-muted)}#bbpress-forums blockquote cite{display:block;font-style:normal;font-size:12px;color:var(--gip-blue);margin-bottom:7px}#bbpress-forums .bbp-pagination-links a,#bbpress-forums .bbp-pagination-links span{min-width:36px;min-height:36px;padding:6px 11px;border-radius:5px;display:inline-flex;align-items:center;justify-content:center}#bbpress-forums fieldset.bbp-form{border:1px solid var(--gip-line);border-radius:10px;padding:22px}#bbpress-forums textarea,#bbpress-forums input[type=text]{max-width:100%}#bbpress-forums .bbp-topic-tags{display:none}.gip-source-anchor{scroll-margin-top:25px}
.single-post .entry-content{line-height:1.85}.single-post .entry-content img{display:block;max-height:650px;width:auto;margin:24px auto}.single-post .entry-content table{display:block;overflow-x:auto;width:100%;max-width:100%;border-collapse:collapse}.single-post .entry-content td,.single-post .entry-content th{padding:12px;border:1px solid var(--gip-line)}.single-post #toc_container{background:var(--gip-soft);padding:22px;border:1px solid var(--gip-line);border-radius:10px}.single-post .tt{border-left:3px solid #68a579;padding:18px;background:#f2f8f3}.gip-site a:focus-visible,.gip-site button:focus-visible{outline:3px solid var(--gip-blue);outline-offset:4px}
@media(max-width:1023px){.gip-home-grid{grid-template-columns:minmax(0,1fr) 220px;gap:18px}.gip-forum-row{grid-template-columns:32px minmax(0,1fr);padding:22px 18px}.gip-forum-last{grid-column:2}.gip-forum-icon{width:32px;height:32px}.gip-article-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gip-article-card:last-child:nth-child(odd){grid-column:1/-1}.gip-message-main{padding:18px}}
@media(max-width:689px){.gip-welcome{padding:26px 22px;margin-bottom:28px!important}.gip-welcome p{font-size:15px}.gip-welcome .wp-block-button__link{padding:11px 18px;font-size:14px}.gip-home-grid{grid-template-columns:1fr}.gip-home-aside{grid-template-columns:1fr}.gip-stat-card,.gip-help-card{padding:20px}.gip-forum-row h3{font-size:17px}.gip-topic-row{grid-template-columns:36px minmax(0,1fr);padding:18px;gap:10px}.gip-topic-count{grid-column:2;text-align:left}.gip-article-grid{grid-template-columns:1fr}.gip-article-card:last-child:nth-child(odd){grid-column:auto}.gip-section{margin-top:28px!important}.gip-section h2{font-size:23px}#bbpress-forums .gip-message{display:block}.gip-message-author{display:flex;align-items:center;gap:12px;text-align:left;border-right:0;border-bottom:1px solid var(--gip-line);padding:13px 16px}.gip-message-author .gip-avatar{width:36px;height:36px;font-size:20px}.gip-message-author strong{margin:0}.gip-message-author small{display:none}.gip-message-main{padding:16px}.gip-message-meta{font-size:11px}#bbpress-forums blockquote{padding:12px;margin:14px 0;font-size:13px}#bbpress-forums li.bbp-header .bbp-topic-voice-count,#bbpress-forums li.bbp-header .bbp-topic-reply-count,#bbpress-forums li.bbp-header .bbp-forum-topic-count,#bbpress-forums li.bbp-header .bbp-forum-reply-count,#bbpress-forums li.bbp-header .bbp-topic-freshness,#bbpress-forums li.bbp-header .bbp-forum-freshness{display:none}#bbpress-forums li.bbp-header .bbp-topic-title,#bbpress-forums li.bbp-header .bbp-forum-info{width:100%}#bbpress-forums .bbp-body .bbp-topic-title,#bbpress-forums .bbp-body .bbp-forum-info{width:100%;float:none;margin-bottom:10px}#bbpress-forums .bbp-body .bbp-topic-voice-count,#bbpress-forums .bbp-body .bbp-topic-reply-count,#bbpress-forums .bbp-body .bbp-forum-topic-count,#bbpress-forums .bbp-body .bbp-forum-reply-count{width:auto;float:left;margin-right:15px;text-align:left}#bbpress-forums .bbp-body .bbp-topic-freshness,#bbpress-forums .bbp-body .bbp-forum-freshness{width:100%;clear:both;float:none;text-align:left;padding-top:9px}#bbpress-forums .bbp-search-form{float:none;width:100%}#bbpress-forums .bbp-search-form form{display:flex;gap:8px}#bbpress-forums .bbp-search-form input{min-width:0;flex:1}#bbpress-forums .bbp-search-form button{flex:none}}
