/*
Theme Name:   Albaharia Child
Theme URI:    https://ar-tmc.com
Description:  Child theme of Hello Elementor for Albaharia Shipping Company. Layout is fully driven by Elementor Pro Theme Builder (header, footer, single, archive). This file only carries base typography/colour fallbacks carried over from the previous GeneratePress setup.
Author:       AR TMC
Author URI:   https://ar-tmc.com
Template:     hello-elementor
Version:      1.0.2
Requires at least: 6.5
Requires PHP: 8.0
Text Domain:  albaharia-child
License:      GPL-2.0-or-later
*/

/* ------------------------------------------------------------------
 * Base fallbacks (previously provided by GeneratePress settings):
 * text #3a3a3a, links #09abc8, 16px body. Elementor global styles
 * override these wherever a widget defines its own typography/colour.
 * ------------------------------------------------------------------ */
body {
	color: #3a3a3a;
	font-size: 16px;
	line-height: 1.5;
	background-color: #ffffff;
}

a {
	color: #09abc8;
}

a:hover,
a:focus {
	color: #078ba3;
}

img {
	height: auto;
	max-width: 100%;
}

/* Keyboard focus visibility (WCAG 2.1 AA, 2.4.7). */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 2px solid #09abc8;
	outline-offset: 2px;
}
/* ------------------------------------------------------------------
 * Vertical rhythm parity with the previous GeneratePress theme
 * (Hello's reset uses .9rem paragraph margins; GP used 1.5em).
 * ------------------------------------------------------------------ */
p,
pre,
blockquote,
fieldset,
dl,
table,
address {
	margin: 0 0 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
	padding: 0;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin-top: 0;
	margin-bottom: 20px;
}

.elementor-widget-text-editor p:last-child,
.elementor-widget-theme-post-content > .elementor-widget-container > *:last-child {
	margin-bottom: 0;
}

/* ------------------------------------------------------------------
 * Heading scale parity with the previous GeneratePress setup.
 * Elementor widgets that define their own typography still win.
 * ------------------------------------------------------------------ */
h1 {
	font-size: 40px;
	font-weight: 300;
	line-height: 1.2;
}

h2 {
	font-size: 30px;
	font-weight: 300;
	line-height: 1.2;
}

h3 {
	font-size: 20px;
	font-weight: 400;
	line-height: 1.2;
}

h4,
h5,
h6 {
	font-size: inherit;
	font-weight: 400;
	line-height: 1.5;
}

@media (max-width: 768px) {
	h1 {
		font-size: 30px;
	}

	h2 {
		font-size: 25px;
	}
}
