/*
Theme Name: Smart Mobile Hub
Theme URI: https://smartmobiles.co.uk/
Author: Smart Mobile Hub
Description: One-page theme for Smart Mobile Hub — phone repairs, diagnostics and accessories in Hayes. Built with Tailwind CSS; Elementor compatible.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: smart-mobile-hub
*/

/* The real styles are compiled by Tailwind into assets/css/style.css.
   Only WordPress-specific tweaks live here. */

/* Keep fixed elements below the admin bar when logged in */
.admin-bar #sm-sticky,
.admin-bar #sm-progress-wrap { top: 32px; }
@media (max-width: 782px) {
  .admin-bar #sm-sticky,
  .admin-bar #sm-progress-wrap { top: 46px; }
}

/* Content typography for normal pages / posts (not Elementor-built ones) */
.sm-prose { font-size: 1.0625rem; line-height: 1.75; color: #2b2b30; }
.sm-prose > * + * { margin-top: 1.25em; }
.sm-prose h2, .sm-prose h3, .sm-prose h4 { font-family: Archivo, Arial, sans-serif; font-weight: 800; line-height: 1.15; color: #0B0B0D; margin-top: 1.8em; }
.sm-prose h2 { font-size: 2rem; }
.sm-prose h3 { font-size: 1.5rem; }
.sm-prose a { color: #E1141E; text-decoration: underline; text-underline-offset: 3px; }
.sm-prose ul { list-style: disc; padding-left: 1.4em; }
.sm-prose ol { list-style: decimal; padding-left: 1.4em; }
.sm-prose img { border-radius: 16px; height: auto; }
.sm-prose blockquote { border-left: 3px solid #E1141E; padding-left: 1.2em; color: #6B6B70; }

/* WordPress core alignment classes */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }

/* Honeypot field */
.sm-hp { position: absolute !important; left: -9999px !important; height: 0; overflow: hidden; }
