/*
Theme Name: Libovický
Theme URI: https://zabezpeceni-libovicky.cz
Author: Libovický
Author URI: https://zabezpeceni-libovicky.cz
Description: One-page prezentační téma pro Libovický – zabezpečovací systémy (Jablotron, kamerové systémy).
Tags: one-column, custom-menu, featured-images, translation-ready
Version: 1.0.0
Requires at least: 5.2
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v3 or Later
License URI: https://www.gnu.org/licenses/gpl.html
Text Domain: libovicky
*/

/* Accessibility helpers (WordPress) */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
  word-break: normal;
}

.screen-reader-text:focus {
  background-color: #f7f7f7;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #621217;
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

.skip-link {
  left: -9999rem;
  top: 2.5rem;
  z-index: 999999999;
  text-decoration: underline;
}

.skip-link:focus {
  display: block;
  left: 6px;
  top: 7px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  line-height: normal;
  padding: 15px 23px 14px;
  z-index: 100000;
  right: auto;
  background: #fff;
  color: #621217;
}

/* Inner pages content */
.page-shell {
  padding: calc(var(--header-h, 76px) + 3rem) 0 4rem;
}

.page-shell .entry-title {
  font-family: var(--font-head, "Sora", sans-serif);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.page-shell .entry-content {
  max-width: 720px;
}

.page-shell .entry-content p {
  margin-bottom: 1rem;
  color: var(--ink-soft, #5c5254);
}

.form-message {
  margin-bottom: 1.2rem;
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  font-size: 0.95rem;
}

.form-message--success {
  background: rgba(34, 120, 60, 0.1);
  color: #1b5e2f;
  border: 1px solid rgba(34, 120, 60, 0.25);
}

.form-message--error {
  background: rgba(213, 18, 27, 0.08);
  color: #8a1016;
  border: 1px solid rgba(213, 18, 27, 0.25);
}
