/* nodecloud — дополнения к стилям вёрстки для серверной версии (Laravel). */
.skip-link{position:absolute;left:-9999px;top:0;z-index:300;background:#fff;color:#231f20;padding:10px 16px;border-radius:0 0 8px 0}
.skip-link:focus{left:0}
.hp-field{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}
fieldset.field{border:0;padding:0;margin:0;min-width:0}
fieldset.field legend{font-size:14px;padding:0;margin-bottom:7px}
.field.full{grid-column:1/-1}
.field-error:empty{display:none}
.form-panel form>.field,.form-panel form>fieldset.field{margin-bottom:18px}
.form-panel .checks{max-height:none}
.form-panel .check input,.filters .check input{flex-shrink:0}

/* Сравнение: форма не влияет на раскладку кнопок. */
.compare-form{display:contents}
.btn[aria-pressed=true]{background:#deedeb;border-color:#b9d4d1;color:#2f5559}
.btn [data-compare-off],.btn [data-compare-on]{display:inline-flex;gap:8px;align-items:center}
.compare-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.compare-table th[scope=row]{font-weight:500;color:#6e6257;background:#f7f3ef;min-width:200px;position:sticky;left:0}
.compare-table thead th{min-width:220px}
.compare-table h3{font-size:17px}

/* Каталог. */
.tags .tag{font-size:12px;background:#deece8;color:#355d5c;padding:5px 10px;display:inline-flex;align-items:center;gap:7px;border-radius:4px}
.tags .tag:hover{background:#cfe3df}
.result-tools .btn.active,.ranking-toolbar .btn.active{background:#231f20;border-color:#231f20;color:#fff}
.catalog-filters .filters{max-height:calc(100vh - 40px);overflow:auto;overscroll-behavior:contain}
.check.is-disabled{opacity:.5;cursor:not-allowed}
.check.standalone-filter small{margin-left:auto}
.filter-group input[type=search]{margin-top:12px}
[data-catalog].is-loading [data-catalog-main]{opacity:.55;pointer-events:none;transition:opacity .15s}
[data-catalog-main] .error{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:16px}
.pagination .is-disabled{opacity:.4;pointer-events:none}
.pagination-gap{align-self:center;padding:0 4px;color:#8b7e73}
.empty h3{margin-bottom:10px}
.offer-price small+small{margin-top:2px}
.cms-logo img,.cms-head-logo{object-fit:contain;border-radius:50%}
.cms-head-logo{vertical-align:middle;margin-right:8px}
@media(max-width:900px){.catalog-filters .filters{max-height:none}}

/* Табы услуг провайдера — ссылки с оформлением кнопок вёрстки. */
.provider-service-tabs a{display:inline-flex;align-items:center;justify-content:center;flex:1 0 auto;min-width:max-content;min-height:48px;padding:14px 26px;font-size:16px;font-weight:500;white-space:nowrap;border-radius:8px;color:#5c5550}
.provider-service-tabs a:hover{color:#231f20}
.provider-service-tabs a[data-state=active]{background:#231f20;color:#fff}
@media(max-width:480px){.provider-service-tabs a{padding:12px 18px;font-size:14px}}
.provider-prose h2,.provider-prose h3{margin:28px 0 12px;font-size:22px}
.provider-prose ul,.provider-prose ol{margin:0 0 20px;padding-left:22px}
.provider-prose a,.article-body a{color:#a73e2e;text-decoration:underline}
.article-body ul,.article-body ol{color:#5d554c;line-height:1.85;margin:0 0 18px;padding-left:22px;list-style:revert}
.article-body h3{margin:26px 0 12px}
.article-body img{max-width:100%;height:auto}

/* Подсказки: наведение, клавиатурный фокус и касание. */
.hosting-feature[data-tip]{position:relative;cursor:help}
.hosting-feature[data-tip]::after{content:attr(data-tip);position:absolute;left:0;bottom:calc(100% + 6px);z-index:25;display:none;width:max-content;max-width:min(280px,80vw);padding:8px 12px;border-radius:7px;background:#231f20;color:#fff;font-size:13px;line-height:1.4;box-shadow:0 8px 24px #0003;white-space:normal}
.hosting-feature[data-tip]:hover::after,.hosting-feature[data-tip]:focus-visible::after,.hosting-feature[data-tip].tip-open::after{display:block}

.static-review-dialog .success{margin-top:8px}
.static-review-dialog .success h3{margin-bottom:8px}
.static-review-dialog .error,.form-panel .error{margin-bottom:16px}
.btn.is-busy{opacity:.6;pointer-events:none}
.ranking-row .country-popover-content .country-names{color:#fff}
.hero-video-toggle{font-size:13px}

/* Кнопка «Фильтры» нужна только там, где сайдбар скрыт. */
.btn.mobile{display:none}
@media(max-width:900px){.btn.mobile{display:inline-flex}}
/* Длинные слова не распирают двухколоночную сетку категорий на узких экранах. */
.categories{grid-template-columns:repeat(4,minmax(0,1fr))}
.category{min-width:0;overflow-wrap:anywhere}
@media(max-width:850px){.categories{grid-template-columns:repeat(2,minmax(0,1fr))}}
.ranking-row .country-popover-content{left:0;right:auto}
