/*
Theme Name: Hub Child
Theme URI: http://hub.liquid-themes.com/
Author: Liquid Themes
Author URI: https://themeforest.net/user/liquidthemes
Template: hub
Description: Smart, Powerful and Unlimited Customizable WordPress Theme.
Version: 1.0
License: GNU General Public License
License URI: license.txt
Text Domain: hub-child
Tags: responsive, retina, rtl-language-support, blog, portfolio, custom-colors, live-editor
*/

/* ── Typography: calm scale for non-Elementor HTML only ─────────────────────
   Elementor widget headings get their sizes from widget settings.
   These rules apply only to native h1/h2/h3 outside Elementor widgets.
   ────────────────────────────────────────────────────────────────────────── */
h1:not(.elementor-heading-title) {
    font-size: clamp(36px, 5vw, 52px);
    line-height: 1.2;
}

h2:not(.elementor-heading-title) {
    font-size: clamp(26px, 3.5vw, 38px);
    line-height: 1.25;
}

h3:not(.elementor-heading-title) {
    font-size: clamp(18px, 2.5vw, 26px);
    line-height: 1.3;
}

p, li,
.elementor-widget-text-editor p {
    font-size: 18px;
    line-height: 1.7;
}

/* ── Fix Pagelayer global text-transform: capitalize on h1–h6 ───────────────
   Pagelayer sets body.pagelayer-body h1-h6 { text-transform: capitalize }.
   Reset for all Elementor heading widgets to restore natural sentence case.
   ────────────────────────────────────────────────────────────────────────── */
.elementor-heading-title {
    text-transform: none !important;
}

/* ── Hide Pagelayer demo hero everywhere (real hero is Elementor) ───────────
   bn81894 contains post_title Home, template text and breadcrumb —
   all demo garbage. Hidden globally, Elementor content unaffected.
   ────────────────────────────────────────────────────────────────────────── */
.p-bn81894 {
    display: none !important;
}
