/*!
Theme Name: spconnectors
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: spconnectors
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

spconnectors is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html,
body {
    margin: 0;
    padding: 0;
    height: stretch;
}

body {
    display: flex;
    flex-direction: column;

    background: #111;
    color: #fff;
    background-image: url('https://spconnectors.com/wp-content/uploads/2026/08/spconnectors.jpg');
}

a {
	color: #FFFFFF!important;
	padding: 0 10px;
}

.site-main {
    flex: 1 0 auto;
}

.site-footer {
    flex-shrink: 0;
    margin-top: auto;
}
/* Header */

.site-header {
    position: relative;
    z-index: 100;
}

.header-main {
    padding: 18px 0 14px;
    background: rgba(10, 10, 10, .92);
}


/* Logo */

.site-logo {
    display: inline-flex;
    align-items: stretch;
    text-decoration: none;
    color: #fff;
}

.site-logo__mark {
    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 125px;

    padding: 12px 18px;

    background: #c5252b;

    font-family: Georgia, serif;
    font-size: 48px;
    line-height: 1;
}

.site-logo__text {
    display: flex;
    align-items: center;

    padding: 10px 18px;

    border: 1px solid #c5252b;

    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
    text-transform: uppercase;
}


/* Contacts */

.header-contacts {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.header-contacts a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.header-contacts a:hover {
    color: #dc3545;
}


/* Menu */

.site-navbar {
    padding: 0;
    background: #bd0000;
}

.site-navbar .nav-link {
    padding: 10px 16px !important;
    color: #fff;
    font-weight: 600;
}

.site-navbar .nav-link:hover {
    background: #990000;
    color: #fff;
}


/* Mobile */

@media (max-width: 991.98px) {

    .header-main {
        text-align: center;
    }

    .site-logo {
        justify-content: center;
    }

    .header-contacts {
        align-items: center;
    }

    .site-navbar {
        padding: 8px 0;
    }

}

.site-footer {
    margin-top: auto;
    padding: 38px 0;

    background: rgba(8, 0, 0, .82);

    border-top: 1px solid rgba(255, 255, 255, .25);
    border-bottom: 1px solid rgba(255, 255, 255, .25);
}

.site-footer__copyright {
    color: #fff;

    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}

.category-card {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 100px;
    padding: 20px;

    background: #bd0000;

    color: #fff;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;

    transition: background-color .2s ease;
}

.category-card:hover {
    background: #950000;
    color: #fff;
}

.site-main {
    padding: 30px 0 50px;
    color: #fff;
}

.site-page {
    color: #fff;
}

.site-page__title {
    margin: 0 0 25px;

    color: #fff;
    font-size: 30px;
    font-weight: 700;
}

.site-page__content {
    color: #fff;
    font-size: 16px;
    line-height: 1.6;
}

.site-page__content p,
.site-page__content ul,
.site-page__content ol,
.site-page__content li,
.site-page__content h1,
.site-page__content h2,
.site-page__content h3,
.site-page__content h4,
.site-page__content h5,
.site-page__content h6,
.site-page__content strong {
    color: #fff;
}

.category-card--image {
    position: relative;
    padding: 0;
    overflow: hidden;
    background: transparent;
}

.category-card__image {
    display: block;

    width: 100%;
    height: 100%;
    min-height: 100px;

    object-fit: cover;
}

.category-card--image .category-card__title {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    padding: 10px 15px;

    background: #ca0001b0;

    color: #fff;
    text-align: center;
}

.header-search {
    display: flex;

    width: 100%;
    max-width: 320px;
    height: 38px;

    margin: 0 auto;
}

.header-search__input {
    flex: 1;

    min-width: 0;
    height: 38px;

    padding: 0 14px;

    background: rgba(232, 91, 87, .95);

    border: 0;
    border-radius: 0;

    color: #fff;
    font-size: 13px;

    outline: none;
    box-shadow: none;
}

.header-search__input::placeholder {
    color: #fff;
    opacity: 1;
}

.header-search__input:focus {
    outline: none;
    box-shadow: none;
}

.header-search__button {
    position: relative;

    width: 42px;
    height: 38px;

    flex: 0 0 42px;

    padding: 0;

    background: #ca0001b0;

    border: 0;
    border-radius: 0;

    cursor: pointer;
}

.header-search__button:hover {
    background: #ca0001;
}

/* Лупа без Font Awesome и Bootstrap Icons */
.header-search__icon {
    position: absolute;

    width: 14px;
    height: 14px;

    top: 9px;
    left: 11px;

    border: 2px solid #fff;
    border-radius: 50%;
}

.header-search__icon::after {
    content: "";

    position: absolute;

    width: 7px;
    height: 2px;

    right: -5px;
    bottom: -3px;

    background: #fff;

    transform: rotate(45deg);
    transform-origin: left center;
}