/* Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* Container styling and background image */
.custom-page-header {
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 294px;   /* Set minimum height */
    display: flex;       /* Use flexbox to center content vertically */
    align-items: center; /* Vertically centers the text container */
    margin-bottom: 40px;
    padding: 0;          /* Removed padding so flexbox handles the vertical spacing */
}

/* Dark overlay to make white text pop */
.custom-page-header .header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0); /* 60% black overlay */
    z-index: 1;
}

/* Keep content above the overlay */
.custom-header-container {
    position: relative;
    z-index: 2;
    width: 100%;         /* Forces the container to expand inside the flex parent */
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Breadcrumb Styling */
ul.custom-breadcrumb {
    list-style: none;
    padding: 0;
    margin: 0 0 10px 0;
    display: flex;
    flex-wrap: wrap;
    font-size: 14px;
    font-weight: 600;
}

ul.custom-breadcrumb li {
    color: #ffffff;
    display: inline-flex;
    align-items: center;
}

ul.custom-breadcrumb li a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

ul.custom-breadcrumb li a:hover {
    color: #cccccc;
}

/* Add the slash separator between breadcrumbs */
ul.custom-breadcrumb li:not(:last-child)::after {
    content: "/";
    margin: 0 8px;
    color: #ffffff;
}

/* H1 Page Title Styling */
.custom-page-header h1.page-title {
    color: #ffffff;
    font-size: 42px;
    font-weight: 700;
    margin: 0;
    text-transform: capitalize;
}