﻿/*
Theme Name: Simplex WP
Theme URI: https://example.com/simplex-wp
Author: Senior WP Developer
Author URI: https://example.com
Description: Нативная тема WordPress на базе Bootstrap 5 и темы Simplex (Bootswatch). Все элементы WP переопределены под классы Bootstrap.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: simplex-wp
Tags: bootstrap, simplex, bootswatch, responsive-layout, custom-menu, threaded-comments, translation-ready
*/

/* ------------------------------------------------------------
   Этот файл перезаписывается установщиком. Дополнительные стили
   темы лежат в assets/css/theme.css и подключаются в functions.php.
   Здесь оставляем только заголовок темы — так требует WordPress.
   ------------------------------------------------------------ */

/* Небольшие правки поверх Bootstrap */
img {
    max-width: 100%;
    height: auto;
}

.alignleft {
    float: left;
    margin: 0.5rem 1rem 1rem 0;
}

.alignright {
    float: right;
    margin: 0.5rem 0 1rem 1rem;
}

.aligncenter {
    display: block;
    margin: 0.5rem auto 1rem;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 0.875rem;
    color: #777;
    text-align: center;
    margin-top: 0.25rem;
}

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.screen-reader-text:focus {
    display: block;
    top: 5px;
    left: 5px;
    width: auto;
    height: auto;
    padding: 15px 23px 14px;
    background: #f1f1f1;
    color: #21759b;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: normal;
    text-decoration: none;
    clip: auto !important;
    z-index: 100000;
}

/* Меню в футере */
.footer-menu {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.footer-menu li {
    display: inline-block;
    margin-right: 1rem;
}

.footer-menu li a {
    color: inherit;
    text-decoration: none;
}

.footer-menu li a:hover {
    text-decoration: underline;
}
