/**
Theme Name: hahne
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hahne
Template: astra
*/

/* ============================================
   HAHNE - ALL SECTIONS CSS
   Add this ENTIRE file to WordPress: 
   Appearance → Customize → Additional CSS
   ============================================ */

/* ============================================
   HAHNE - ALL SECTIONS CSS
   Add this ENTIRE file to WordPress: 
   Appearance → Customize → Additional CSS
   ============================================ */


/* ============================================
   COLOR PALETTE & TYPOGRAPHY
   ============================================ */

/* Color Palette - Pantone 485 C (Primary Red) */
:root {
    --hahne-primary-red: #E60012; /* Pantone 485 C */
    --hahne-red-alt: #dc143c; /* Alternative red (kept for compatibility) */
    --hahne-black: #000000;
    --hahne-white: #ffffff;
}

/* Typography - Arial Font Family */
* {
    font-family: Arial, sans-serif;
    box-sizing: border-box;
}

/* Preserve text alignment - don't override unless specified */
section,
.section {
    text-align: inherit;
}

.section-content {
    text-align: inherit;
}

.paragraph-font {
    font-size: 18px;
}

/* Using the unique ID to ensure it only affects main container */
.wp-block-uagb-container.uagb-block-ac6b1b5e > .uagb-container-inner-blocks-wrap {
    padding-top: 0px !important;
    padding-left: 0px !important;
    padding-right: 0px !important;
    row-gap: 0px !important;
}

.wp-block-uagb-container {
    padding-bottom: 0px !important;
}

/* Force proper text alignment for specific sections - About Business MUST be centered */
section.about-business,
.section.about-business {
    text-align: center !important;
}

section.about-business *,
.section.about-business *,
.about-business *,
.about-business .section-content,
.about-business .section-content *,
.about-business h1,
.about-business h2,
.about-business h3,
.about-business p,
.about-business div,
.about-business span {
    text-align: center !important;
}

/* Hero section - left aligned */
section.hero,
.section.hero {
    text-align: left !important;
}

section.hero .hero-content,
.section.hero .hero-content,
.hero .hero-content,
.hero .hero-content * {
    text-align: left !important;
}

/* Remove underlines from all links */
a,
a:hover,
a:visited,
a:active,
a:focus {
    text-decoration: none !important;
}

/* ============================================
   TOP BAR SECTION
   ============================================ */

.top-bar {
    background: #000;
    color: #fff;
    padding: 8px 0;
    padding-top: 12px;
    font-size: 13px;
    position: relative;
    z-index: 9999;
    margin-bottom: 0 !important;
}

.top-bar-content {
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 150px;
    flex-wrap: wrap;
    gap: 15px;
}

.top-bar-left {
    display: flex;
    gap: 30px;
    align-items: center;
    flex-wrap: wrap;
}

.top-bar-left span {
    white-space: nowrap;
}

.top-bar-right {
    display: flex;
    gap: 18px;
    align-items: center;
}

.top-bar-right a {
    color: #fff;
    text-decoration: none;
    font-size: 22px;
    transition: opacity 0.3s;
}

.top-bar-right a:hover {
    opacity: 0.7;
}

/* ============================================
   HEADER SECTION
   ============================================ */

.header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 9998;
    width: 100%;
	row-gap: 0px;
    margin-top: 0 !important;
}

.header-content {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 100px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-top {
    font-size: 12px;
    font-weight: 600;
    color: var(--hahne-primary-red);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.logo-main {
    font-size: 32px;
    font-weight: bold;
    color: #000;
    line-height: 1;
}

.logo-bottom {
    font-size: 10px;
    font-weight: 500;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}

.logo-badge {
    width: 50px;
    height: 50px;
    background: var(--hahne-primary-red);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    font-size: 28px;
    font-family: Arial, sans-serif;
}

.logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.nav {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav li {
    margin: 0;
    padding: 0;
}

.nav a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 15px;
    border-bottom: none;
    padding-bottom: 0;
}

.nav a:hover {
    color: var(--hahne-primary-red);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

.btn-register {
    background: transparent;
    color: var(--hahne-primary-red);
    padding: 8px 25px;
    border: 2px solid var(--hahne-primary-red);
    border-radius: 0px;
    text-decoration: none;
    font-weight: normal;
    font-size: 14px;
    transition: all 0.3s;
}

.btn-register:hover {
    background: var(--hahne-primary-red);
    color: #fff;
}

/* ============================================
   HERO GROUP WRAPPER - Main Container
   ============================================ */

.hero-group-wrapper {
    position: relative;
    width: 100%;
    overflow: visible;
}

/* Ensure wrapper height is determined by content */
.hero-group-wrapper::after {
    content: '';
    display: block;
    clear: both;
}

/* ============================================
   HERO GROUP CONTENT - The 3 stacked elements
   ============================================ */

.hero-group-content {
    position: relative;
    width: 100%;
    z-index: 1;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    height: 400px;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible !important;
    margin-bottom: 0 !important;
    z-index: 1;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 650px;
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('/wp-content/uploads/2026/02/building-with-large-glass-facade-that-says-word-it.jpg-scaled.webp');
    background-size: cover;
    background-position: left center;
    background-repeat: no-repeat;
    z-index: 1;
}

/* Blank space between hero and building-tomorrow */
.hero-blank-space {
    height: 480px;
    width: 100%;
    background: transparent;
}

/* ============================================
   HEADER VERTICAL IMAGE - Highest z-index
   ============================================ */

.hero-vertical-video {
    position: absolute;
    top: 0;
    right: 7%;
    height: 680px;
    width: 25%;
    z-index: 20;
    object-fit: cover;
    object-position: 25% top;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 100vw;
    margin: 0 auto;
    padding: 0 100px;
    color: #fff;
    text-align: left;
    width: 100%;
}

.hero h1 {
    font-size: 56px;
    font-weight: bold;
    margin-bottom: 30px;
    line-height: 1.2;
    text-align: left;
    color: #fff;
}

.hero h1 .line1,
.hero h1 .line2 {
    display: block;
}

.btn-get-started {
    background: var(--hahne-primary-red);
    color: #fff;
    padding: 10px 40px;
    border: none;
    cursor: pointer;
    font-size: 20px;
    font-weight: normal;
    border-radius: 0px;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
    transition: background 0.3s;
}

.btn-get-started:hover {
    background: #b01030;
}

/* ============================================
   GLOBAL STYLES
   ============================================ */

.section {
    padding: 0px 0px;
}

.section-content {
    max-width: 100vw;
    margin: 0 auto;
}

.section-subtitle {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #CACACA;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: inherit;
}

.section-title {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 30px;
    color: #000;
    text-align: inherit;
}

/* Center titles for specific sections */
.projects-section .section-content,
.services-section .section-content,
.faq-section .section-content,
.blog-section .section-content {
    text-align: center;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn-red {
    background: var(--hahne-primary-red);
    color: #fff;
    padding: 10px 40px;
    border: none;
    cursor: pointer;
    font-size: 20px;
    font-weight: normal;
    border-radius: 0px;
    text-decoration: none !important;
    display: inline-block;
    transition: background 0.3s;
}

.btn-red:hover {
    background: #b01030;
    text-decoration: none !important;
}

.btn-red:visited,
.btn-red:active,
.btn-red:focus {
    text-decoration: none !important;
}

.btn-know-more {
    background: #fff;
    color: var(--hahne-primary-red);
    padding: 10px 40px;
    border: none;
    cursor: pointer;
    font-size: 20px;
    font-weight: normal;
    border-radius: 0px;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s;
}

.btn-know-more:hover {
    background: #f5f5f5;
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services-section {
    background: #fff;
    padding-top: 50px;
    padding-bottom: 50px;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;   /* centers last row automatically */
    gap: 40px;
    max-width: 1100px;
    margin: 40px auto 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.service-card {
    width: 320px;        /* fixed width like your example */
    height: 250px;       /* equal fixed height */
    background: var(--hahne-primary-red);
    color: #fff;
    border-radius: 0px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;
    padding: 20px;
    box-sizing: border-box;

    transition: all 0.3s ease;
}

/* Center the 2 cards in the second row */
.services-grid .service-card:nth-child(4) {
    margin-left: calc(16.666% + 6px);
}



.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
    color: #fff;
    display: block;
    width: 100%;
    text-align: center;
}

.service-icon i {
    display: inline-block;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #fff;
    text-align: center;
    width: 100%;
}

.service-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #fff;
    text-align: center;
    width: 100%;
    margin: 0;
}

/* ============================================
   PROJECTS SECTION
   ============================================ */

.projects-section {
    background: #f5f5f5;
	padding-top: 50px;
	padding-bottom: 50px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: auto;
    gap: 20px;
    margin-top: 40px;
    padding-left: 100px;
    padding-right: 100px;
    box-sizing: border-box;
}

.project-card {
    background: #333;
    color: #fff;
    position: relative;
    overflow: hidden;
    border-radius: 0;
}

/* Card 01 - Normal size */
.project-card:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
    height: 450px;
}

/* Card 02 - Smaller */
.project-card:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
    height: 350px;
}

/* Card 03 - Normal size */
.project-card:nth-child(3) {
    grid-column: 3;
    grid-row: 1;
    height: 450px;
}

/* Card 04 - Normal size */
.project-card:nth-child(4) {
    grid-column: 1;
    grid-row: 2;
    height: 450px;
}

/* Card 05 - Taller, starts in row 2, aligns bottom with 04 and 06 */
.project-card:nth-child(5) {
    grid-column: 2;
    grid-row: 2;
    height: 550px;
    margin-top: -340px;
    align-self: end;
}

/* Card 06 - Normal size */
.project-card:nth-child(6) {
    grid-column: 3;
    grid-row: 2;
    height: 450px;
}

.project-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.project-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.6));
    z-index: 1;
}

.project-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    z-index: 2;
    text-align: left;
}

.project-content::before {
    content: attr(data-number);
    display: block;
    font-size: 60px;
    font-weight: bold;
    color: #fff;
    line-height: 1;
    margin-bottom: 10px;
}

.project-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #fff;
    text-align: left;
}

.project-card p {
    font-size: 16px;
    color: rgba(255,255,255,0.9);
    line-height: 1.5;
    text-align: left;
}

/* ============================================
   ABOUT BUSINESS SECTION
   ============================================ */

/* ============================================
   ABOUT BUSINESS SECTION
   ============================================ */

/* Default About Business styling (for standalone use) */
.about-business {
    background-image: url('/wp-content/uploads/2026/02/Footer.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    position: relative;
    z-index: 6 !important;
    margin-top: -100px !important;
    padding-top: 50px !important;
    padding-bottom: 100px !important;
    padding-left: 60px !important;
    padding-right: 60px !important;
    box-sizing: border-box;
    border-radius: 0;
    width: 70% !important;
    max-width: none !important;
    overflow: hidden;
}

/* Red overlay to maintain red appearance with texture */
.about-business::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--hahne-primary-red);
    opacity: 0.85;
    z-index: 0;
}

/* About Business when inside hero-group-wrapper - absolutely positioned and centered */
.hero-group-wrapper .about-business {
    position: absolute;
    top: 700px;
    /* right: 9%; */
    z-index: 10;
    padding: 50px 60px;
    width: 82%;
    max-width: 400px;
    margin: 15%;
}

.about-business .section-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin-left: 0 !important;
    margin-right: auto !important;
    padding: 0 !important;
    text-align: left !important;
    width: 100%;
    box-sizing: border-box;
}

.about-business .section-content *,
.about-business .section-content h1,
.about-business .section-content h2,
.about-business .section-content h3,
.about-business .section-content p,
.about-business .section-content div,
.about-business .section-content span {
    text-align: left !important;
}

/* Ensure buttons container is left-aligned */
.about-business .about-business-buttons {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    margin-left: 0 !important;
    margin-right: auto !important;
}

.about-business .section-subtitle {
    color: #fff !important;
    text-align: left !important;
}

.about-business .section-title {
    color: #fff;
    text-align: left !important;
}

.about-business p {
    color: #fff;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    max-width: 800px;
    text-align: left !important;
}

.about-business-buttons {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: flex-start;
    margin-top: 30px;
    flex-wrap: wrap;
}

.btn-watch-video {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    transition: opacity 0.3s;
}

.btn-watch-video i {
    font-size: 24px;
    color: #fff;
}

.btn-watch-video:hover {
    opacity: 0.8;
}

/* ============================================
   BUILDING TOMORROW SECTION
   ============================================ */

.building-tomorrow {
    display: flex;
    align-items: center;
    height: 600px;
    background: #fff;
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 0;
}

.building-tomorrow-image {
    flex: 0 0 40%;
    width: 40%;
    height: 600px;
    background-image: url('/wp-content/uploads/2026/03/surface-coating.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.building-tomorrow-content {
    flex: 0 0 60%;
    width: 50%;
    padding: 100px 100px 0px 70px;
    max-width: none;
}

.building-tomorrow-content h2 {
    font-family: Arial, sans-serif;
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #000;
}

.building-tomorrow-content p {
    font-family: Arial, sans-serif;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #000;
}

/* ============================================
   RESEARCH & DEVELOPMENT SECTION
   ============================================ */

.research {
    position: relative;
    min-height: 650px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.research-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/wp-content/uploads/2026/02/Research-scaled.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    filter: grayscale(40%);
    z-index: 1;
}

.research-content {
    position: relative;
    z-index: 2;
    max-width: 50%;
    padding-left: 100px;
    color: #333;
}

.brand-logo {
    margin-bottom: 15px;
}

.brand-logo img {
    height: auto;
    width: auto;
    max-width: 100%;
    display: block;
    object-fit: contain;
}

.research-content .section-subtitle {
    color: #CACACA;
}

.research-content .section-title {
    color: #000;
}

.research-content p {
    font-size: 18px;
    line-height: 1.8;
    color: #666;
}

/* ============================================
   SEMINARS SECTION
   ============================================ */

.seminars-section {
    background: #fff;
	padding-top: 50px;
	padding-bottom: 100px;
}

.seminars-section .section-content {
    text-align: center;
}

.seminars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
    width: 100%;
    max-width: 1200px;   /* optional – control max stretch */
    margin-left: auto;
    margin-right: auto;
}

.seminar-card {
    background: #fff;
    padding: 25px 20px;
    border-radius: 0;
    border: 1px solid #e0e0e0;
    box-shadow: none;
    min-height: 280px;
    display: flex;
    flex-direction: column;
}

.seminar-logo {
    text-align: center;
    margin-bottom: 20px;
}

.seminar-logo img {
    max-height: 120px;
    width: auto;
    margin: 0 auto;
    display: block;
}

.seminar-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: auto;
}

.seminar-date-row,
.seminar-location {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
    font-size: 14px;
}

.seminar-date-row i,
.seminar-location i {
    color: var(--hahne-primary-red);
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */

.testimonials {
    position: relative;
    padding: 100px 0;
    width: 100%;
    background: linear-gradient(rgba(255,255,255,0.85), rgba(255,255,255,0.85)), url('/wp-content/uploads/2026/02/Review-scaled.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.testimonials-content {
    max-width: 100vw;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.testimonials .section-subtitle {
    color: #CACACA;
}

.testimonials .section-title {
    color: #000;
}

.quote-icon {
    font-size: 80px;
    color: var(--hahne-primary-red);
    line-height: 1;
    margin: 30px 0;
    font-family: Georgia, serif;
}

.testimonial-quote {
    font-size: 20px;
    line-height: 1.6;
    color: #000;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-author {
    font-size: 20px;
    font-weight: normal;
    color: #343434;
}

/* ============================================
   FAQ SECTION
   ============================================ */

.faq-section {
	background: #fff;
}

.faq-section .section-content {
    text-align: center;
	padding-top: 50px;
	padding-bottom: 50px;
	padding-left: 100px;
	padding-right: 100px;
}

.faq-list {
    margin-top: 40px;
}

.faq-item {
    margin-bottom: 15px;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
	font-size: 20px;
    align-items: center;
    font-weight: 500;
    background: #f5f5f5;
    border-radius: 5px;
    color: #555;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #eeeeee;
}

.faq-arrow {
    color: var(--hahne-primary-red);
    transition: transform 0.3s;
    font-size: 14px;
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
}

.faq-item:not(.active) .faq-arrow {
    transform: rotate(0deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
	font-size: 18px;
    padding: 0;
    margin-top: 0;
    text-align: left;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 20px;
    margin-top: 10px;
    color: #666;
    line-height: 1.6;
    text-align: left;
}

.faq-answer p {
    margin: 0;
    text-align: left;
}

/* ============================================
   BLOG SECTION
   ============================================ */

.blog-section {
    background: #f5f5f5;
	padding-top: 50px;
	padding-bottom: 50px;
	padding-left: 100px;
	padding-right: 100px;
}

.blog-section .section-content {
    text-align: center;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.blog-card {
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 0px;
    overflow: hidden;
    transition: transform 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-image {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.blog-content {
    padding: 25px;
    text-align: left;
}

.blog-date {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
    text-align: left;
}

.blog-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
    text-align: left;
}

.blog-link {
    color: var(--hahne-primary-red);
    text-decoration: none;
    font-weight: 600;
    text-align: left;
    display: inline-block;
}

/* ============================================
   FOOTER SECTION
   ============================================ */

.footer {
    background: #fff;
    color: #333;
    padding: 0;
    width: 100%;
}

.footer-content {
    max-width: 100%;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 0;
    padding: 0 0 0 0;
}

.footer-left {
    background: #F2F2F2;
    padding: 40px 0px 0px 100px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.footer-logo img {
    height: 70px;
    width: auto;
    object-fit: contain;
    max-width: 100%;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 10%;
    justify-content: start;   /* 👈 THIS is important */
}

.footer-nav a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
    display: block;
    margin-bottom: 10px;
}

.footer-nav a:hover {
    color: var(--hahne-primary-red);
}

.footer-social {
    display: flex;
    gap: 18px;
}

.footer-social a {
    color: #333;
    font-size: 24px;
    transition: color 0.3s;
}

.footer-social a:hover {
    color: var(--hahne-primary-red);
}

.footer-right {
    background: #F2F2F2;
    padding: 0;
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

.footer-right-content {
    width: 65%;
    max-width: 65%;
    padding: 55px 40px;
    position: absolute;
    left: 5%;
    top: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    background: var(--hahne-primary-red);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.footer-right::before {
    content: '';
    position: absolute;
	padding-top: 50px;
    right: 0;
    top: 0;
    bottom: 0;
    width: 60%;
    background-image: url('/wp-content/uploads/2026/02/FooterBackground.jpg');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    z-index: 1;
}

.footer-right::after {
    display: none;
}

.footer-email {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    font-size: 25px;
    color: #fff;
}

.footer-email i {
    color: #fff;
}

.newsletter-title {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 10px;
	text-align: start;
    margin-top: 0px;
    color: #fff;
    line-height: 1.2;
}

.newsletter-input {
    width: 100%;
    padding: 15px;
    border: 1px solid #fff;
    border-radius: 0;
    margin-bottom: 15px;
    font-size: 16px;
    background: transparent !important;
    color: #ffffff !important;
    box-sizing: border-box;
}

.newsletter-input:focus {
    border: 1px solid #ffffff !important;
    color: #ffffff !important;
    outline: none !important;
}

.newsletter-input::placeholder {
    color: #d3d3d3;
}

.btn-subscribe {
    background: #fff;
    color: #E6000E;
    padding: 15px 30px;
    border: 1px solid #fff;
    cursor: pointer;
    font-weight: normal;
    border-radius: 0;
    width: auto;
    font-size: 20px;
    transition: background 0.3s, color 0.3s;
    align-self: flex-start;
}

.btn-subscribe:hover {
    background: #fff !important;
    color: #E6000E !important;
    border: 1px solid #fff !important;
}

.footer-bottom {
    background: #333 !important;
    color: #fff;
    padding: 15px 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    width: 100%;
    max-width: 100%;
    margin: 0;
    margin-top: 0 !important;
}

.footer-bottom a {
    color: #fff;
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.3s;
}

.footer-bottom a:hover {
    color: var(--hahne-primary-red);
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.footer-bottom-logo {
    margin-left: 20px;
    display: inline-flex;
    align-items: center;
}

.footer-bottom-logo img {
    height: 30px;
    width: auto;
    object-fit: contain;
    display: block;
}

/* ============================================
   HIDE DEFAULT WORDPRESS HEADER
   ============================================ */



/* Ensure our custom header and top bar are always visible */
.header.hahne-header,
.top-bar.hahne-top-bar {
    display: block !important;
    visibility: visible !important;
}

/* Remove space between top bar and header */
.top-bar.hahne-top-bar + .header.hahne-header,
.top-bar + .header {
    margin-top: 0 !important;
}

.top-bar.hahne-top-bar {
    margin-bottom: 0 !important;
}

/* Hide common WordPress header elements */
.site-branding:not(.logo),
.custom-logo-link:not(.logo),
.site-title:not(.logo-main),
.main-navigation:not(.nav) {
    display: none !important;
}





/* If your theme has a specific footer class, add it here */
/* Example: .theme-footer, .main-footer, etc. */

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

@media (max-width: 1024px) {
    .section {
        padding: 40px 20px;
    }

    .section-title {
        font-size: 36px;
		margin-bottom: 24px;
    }

    .top-bar-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .top-bar-left,
    .top-bar-right {
        width: 100%;
        justify-content: center;
    }

    .hero {
        height: 500px;
        min-height: 500px;
    }
	
	.hero-background {
        height: 600px;
    }


    .hero h1 {
        font-size: 42px;
    }

    .hero-vertical-image {
        width: 25%;
        right: 30px;
    }
    
    .hero-group-wrapper .about-business {
        width: calc(100% - 160px) !important;
        max-width: 700px !important;
        min-width: 500px;
        padding: 40px 40px !important;
		top: 780px;
		margin: 12%;
    }
	
	.hero-vertical-video {
		top: 380px;
		width: 300px;
		height: 350px;
	}
    
    .hero-blank-space {
        height: 655px;
		background: #fff;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        padding-left: 40px;
        padding-right: 20px;
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .seminars-grid {
        grid-template-columns: 1fr;
    }

    .building-tomorrow {
        flex-direction: column;
    }

    .building-tomorrow-image {
        width: 90%;
    }

    .building-tomorrow-content {
        width: 90%;
		padding: 40px 40px 0px 30px;
    }

    .research-content {
        max-width: 60%;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
	
	.faq-section .section-content {
		padding-left: 40px;
		padding-right: 40px;
	}
	
	.faq-question {
		padding: 10px;
		font-size: 18px;
	}
	.faq-answer {
		font-size: 16px;
	}
	
	.faq-item.active .faq-answer {
		max-height: 300px;
		padding: 10px;
		margin-top: 0px;
		line-height: 1.6;
	}
}

@media (max-width: 768px) {
    .section {
        padding: 30px 15px;
    }

    .section-content {
        padding: 0 15px;
    }

    .section-title {
        font-size: 32px;
		margin-bottom: 20px;
    }

    .section-subtitle {
        font-size: 12px;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        gap: 15px;
    }

    .nav.active {
        display: flex;
    }

    .header-content {
        padding: 15px 20px;
    }

    .logo-image {
        height: 40px;
    }

    .logo-main {
        font-size: 28px;
    }

    .logo-badge {
        width: 45px;
        height: 45px;
    }

    .logo-icon {
        font-size: 24px;
    }

    .hero {
        height: 500px;
        min-height: 500px;
        overflow: visible;
    }

    .hero-vertical-image {
        width: 25%;
        min-width: 180px;
        max-width: 250px;
        right: 20px;
    }
    
    .hero-group-wrapper .about-business {
        width: calc(100% - 60px) !important;
        max-width: 600px !important;
        min-width: 400px;
        padding: 30px 30px !important;
		top: 800px;
		margin: 10%;
    }
	
	
	.hero-vertical-video {
		top: 380px;
		width: 300px;
		height: 350px;
	}
    
    .hero-blank-space {
        height: 250px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-content {
        padding-left: 20px;
    }

    .top-bar-left {
        flex-direction: column;
        gap: 5px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-left {
        padding: 30px 20px;
    }

    .footer-right-content {
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-grid {
        grid-template-columns: 1fr;
        padding-left: 40px;
        padding-right: 0px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 30px 20px;
        min-height: 250px;
    }

    .service-icon {
        font-size: 36px;
    }

    /* Preserve card height variations on tablet */
    .project-card:nth-child(1),
    .project-card:nth-child(3),
    .project-card:nth-child(4),
    .project-card:nth-child(6) {
        height: 300px;
    }
    
    .project-card:nth-child(2) {
        height: 280px;
    }
    
    .project-card:nth-child(5) {
        height: 320px;
    }

    .building-tomorrow-content {
        padding: 40px 20px;
    }

    .research-content {
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }

    .testimonials {
        padding: 60px 20px;
    }


}

@media (max-width: 480px) {
    .section {
        padding: 20px 15px;
    }

    .section-title {
        font-size: 24px;
		margin-bottom: 18x;
    }

    .section-subtitle {
        font-size: 11px;
    }

    .top-bar {
        padding-top: 10px;
        padding-bottom: 8px;
    }

    .top-bar-left span {
        font-size: 11px;
    }

    .header-content {
        padding: 10px 15px;
    }

    .logo-image {
        height: 35px;
    }

    .logo-main {
        font-size: 24px;
    }

    .logo-top {
        font-size: 10px;
    }

    .logo-bottom {
        font-size: 9px;
    }

    .logo-badge {
        width: 40px;
        height: 40px;
    }

    .logo-icon {
        font-size: 20px;
    }

    .hero {
        height: 400px;
        min-height: 400px;
    }

    .hero h1 {
        font-size: 24px;
    }

    .hero-vertical-image {
        display: none;
    }
    
    .hero-group-wrapper .about-business {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        width: calc(100% - 40px) !important;
        max-width: 100% !important;
        min-width: auto;
        margin: 20px auto !important;
        padding: 30px 20px !important;
    }
    
    .hero-blank-space {
        height: 200px;
    }

    .hero-content {
        padding-left: 15px;
        padding-right: 15px;
    }

    .footer-left {
        padding: 20px 15px;
    }

    .footer-right {
        padding: 30px 15px;
    }

    .footer-right-content {
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }

    .newsletter-title {
        font-size: 24px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        padding: 15px 20px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 30px 20px;
        min-height: 250px;
    }

    .service-icon {
        font-size: 36px;
    }

    /* Preserve card height variations on tablet */
    .project-card:nth-child(1),
    .project-card:nth-child(3),
    .project-card:nth-child(4),
    .project-card:nth-child(6) {
        height: 300px;
    }
    
    .project-card:nth-child(2) {
        height: 280px;
    }
    
    .project-card:nth-child(5) {
        height: 320px;
    }

    .building-tomorrow-image {
        height: 250px;
    }

    .testimonials {
        padding: 40px 15px;
    }

    .quote-icon {
        font-size: 60px;
    }

    .testimonial-quote {
        font-size: 20px;
    }

    img {
        max-width: 100%;
        height: auto;
    }
	
	.faq-section .section-content {
		padding-left: 10px;
		padding-right: 10px;
	}
	
	.faq-question {
		padding: 10px;
		font-size: 16px;
	}
	.faq-answer {
		font-size: 14px;
	}
	
	.faq-item.active .faq-answer {
		max-height: 300px;
		padding: 6px;
		margin-top: 0px;
		line-height: 1.4;
	}
}

/* ============================================
   FINAL TEXT ALIGNMENT OVERRIDES - HIGHEST PRIORITY
   These rules ensure text alignment matches the design exactly
   ============================================ */

/* About Business Section - MUST BE LEFT ALIGNED - OVERRIDE EVERYTHING */
.about-business,
section.about-business,
.section.about-business {
    text-align: left !important;
}

.about-business *,
section.about-business *,
.section.about-business *,
.about-business .section-content,
.about-business .section-content *,
.about-business .section-subtitle,
.about-business .section-title,
.about-business h1,
.about-business h2,
.about-business h3,
.about-business p,
.about-business div,
.about-business span,
.about-business .about-business-buttons,
.about-business .btn-know-more,
.about-business .btn-watch-video {
    text-align: left !important;
}

.about-business .about-business-buttons {
    justify-content: flex-start !important;
    margin-left: 0 !important;
    margin-right: auto !important;
}

/* Hero Section - MUST BE LEFT ALIGNED */
.hero,
section.hero,
.section.hero {
    text-align: left !important;
}

.hero .hero-content,
.hero .hero-content *,
.hero h1,
.hero h1 *,
.hero .btn-get-started {
    text-align: left !important;
}

/* Building Tomorrow Section - MUST BE LEFT ALIGNED */
.building-tomorrow,
.building-tomorrow-content,
.building-tomorrow-content *,
.building-tomorrow-content h2,
.building-tomorrow-content p {
    text-align: left !important;
}	



/* ============================================================
   HIDE THEME'S ORIGINAL HEADER & UNSHACKLE CONTENT
   ============================================================ */



/* Remove content-width constraint so full-bleed sections work */
.site-content,
.entry-content,
#primary,
.site-main,
#content,
main.site-main,
article,
.wp-block-html {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow: visible !important;
    float: none !important;
}

/* Remove page title area WordPress adds above blocks */
.page-header,
.entry-header,
.page-title,
.entry-title {
    display: none !important;
}

/* Remove body top margin from admin bar if logged in */
html { margin-top: 0 !important; }
#wpadminbar { position: fixed !important; }

/* ============================================================
   HAHNE NAV
   ============================================================ */
:root {
    --hn-red:    #E60012;
    --hn-black:  #111111;
    --hn-grey:   #555555;
    --hn-light:  #f5f5f5;
    --hn-border: #e8e8e8;
    --hn-white:  #ffffff;
    --hn-h:      72px;
}

.hn-header *, .hn-header *::before, .hn-header *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
.hn-header a { text-decoration: none !important; }
.hn-header ul { list-style: none !important; }

.hn-header {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    width: 100%;
    font-family: Arial, sans-serif;
    margin: 0 !important;
    padding: 0 !important;
}
.hn-inner {
    max-width: 1400px;
    margin: 0 auto !important;
    padding: 0 80px !important;
    height: var(--hn-h);
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.hn-logo { flex-shrink: 0; display: flex; align-items: center; }
.hn-logo img { height: 48px; width: auto; object-fit: contain; display: block; }

.hn-nav {
    display: flex !important;
    align-items: stretch;
    gap: 0;
    flex: 1;
    justify-content: center;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}
.hn-nav > li {
    position: relative;
    display: flex;
    align-items: stretch;
    margin: 0 !important;
    padding: 0 !important;
}
.hn-nav > li > a,
.hn-nav > li > button {
    display: flex !important;
    align-items: center;
    gap: 5px;
    padding: 0 16px !important;
    height: var(--hn-h);
    color: #111 !important;
    font-size: 14.5px !important;
    font-weight: 500 !important;
    font-family: Arial, sans-serif !important;
    background: none !important;
    border: none !important;
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.2s;
    position: relative;
    margin: 0 !important;
    text-decoration: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    line-height: var(--hn-h) !important;
}
.hn-nav > li > a::after,
.hn-nav > li > button::after {
    content: '';
    position: absolute;
    bottom: 0; left: 16px; right: 16px;
    height: 3px;
    background: var(--hn-red);
    transform: scaleX(0);
    transition: transform 0.2s;
    border-radius: 2px 2px 0 0;
}
.hn-nav > li > a:hover,
.hn-nav > li > button:hover,
.hn-nav > li.hn-open > a,
.hn-nav > li.hn-open > button { color: var(--hn-red) !important; }
.hn-nav > li > a:hover::after,
.hn-nav > li > button:hover::after,
.hn-nav > li.hn-open > a::after,
.hn-nav > li.hn-open > button::after { transform: scaleX(1); }
.hn-nav > li > a.hn-active { color: var(--hn-red) !important; }

.hn-chevron { font-size: 10px; transition: transform 0.25s; display: inline-block !important; }
.hn-open .hn-chevron { transform: rotate(180deg); }

/* Mega menu */
.hn-mega-anchor {
    display: none;
    position: fixed;
    top: var(--hn-h);
    left: 0; right: 0;
    background: #fff;
    box-shadow: 0 8px 32px rgba(0,0,0,0.13);
    border-top: 3px solid var(--hn-red);
    z-index: 9998;
    padding: 36px 80px 40px;
    animation: hnFade 0.18s ease forwards;
}
.hn-open .hn-mega-anchor { display: block !important; }

@keyframes hnFade {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hn-mega-grid {
    max-width: 1240px;
    margin: 0 auto;
    display: flex !important;
    gap: 0;
    align-items: flex-start;
}
.hn-mega-col {
    flex: 1;
    padding: 0 28px !important;
    border-right: 1px solid var(--hn-border);
}
.hn-mega-col:first-child { padding-left: 0 !important; }
.hn-mega-col:last-child  { padding-right: 0 !important; border-right: none; }

.hn-mega-cat {
    display: block !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: #111 !important;
    margin-bottom: 16px !important;
    padding-bottom: 10px !important;
    border-bottom: 2px solid var(--hn-red) !important;
    transition: color 0.2s;
    text-decoration: none !important;
}
.hn-mega-cat:hover { color: var(--hn-red) !important; }

.hn-mega-group { margin-bottom: 18px !important; }
.hn-mega-group-title {
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #999 !important;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 8px !important;
}
.hn-mega-links { display: flex !important; flex-direction: column; gap: 4px; }
.hn-mega-links a {
    font-size: 13.5px !important;
    color: #555 !important;
    padding: 3px 0 !important;
    display: flex !important;
    align-items: center;
    gap: 7px;
    text-decoration: none !important;
    transition: color 0.15s;
}
.hn-mega-links a::before {
    content: '' !important;
    width: 5px; height: 5px;
    border-radius: 50%;
    background: #ddd;
    flex-shrink: 0;
    transition: background 0.15s;
    display: inline-block !important;
}
.hn-mega-links a:hover { color: var(--hn-red) !important; }
.hn-mega-links a:hover::before { background: var(--hn-red); }

.hn-soon {
    font-size: 12px !important; font-weight: 700 !important;
    text-transform: uppercase; letter-spacing: 0.5px;
    color: #111 !important;
    margin-bottom: 16px !important; padding-bottom: 10px !important;
    border-bottom: 2px solid #ddd !important;
    display: block !important;
}
.hn-soon-badge {
    display: inline-block !important;
    background: #f0f0f0; color: #aaa !important;
    font-size: 10px; padding: 2px 7px;
    border-radius: 20px; margin-left: 6px;
    font-weight: 600; letter-spacing: 0.4px;
    text-transform: uppercase; vertical-align: middle;
}

/* Simple dropdown */
.hn-drop {
    display: none;
    position: absolute;
    top: var(--hn-h); left: 50%;
    transform: translateX(-50%);
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-top: 3px solid var(--hn-red);
    min-width: 180px;
    z-index: 9998; padding: 8px 0;
}
.hn-open .hn-drop { display: block !important; }
.hn-drop a {
    display: block !important;
    padding: 11px 22px !important;
    font-size: 14px !important;
    color: #555 !important;
    white-space: nowrap;
    text-decoration: none !important;
    transition: background 0.15s, color 0.15s;
}
.hn-drop a:hover { background: #fdf5f5; color: var(--hn-red) !important; }

/* Register button */
.hn-register {
    flex-shrink: 0;
    display: inline-block !important;
    padding: 9px 26px !important;
    border: 2px solid var(--hn-red) !important;
    color: var(--hn-red) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    font-family: Arial, sans-serif !important;
    background: transparent !important;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
    text-decoration: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}
.hn-register:hover { background: var(--hn-red) !important; color: #fff !important; }

/* Burger */
.hn-burger {
    display: none;
    background: none !important;
    border: none !important;
    cursor: pointer;
    padding: 6px;
    color: #111;
    font-size: 22px;
    box-shadow: none !important;
}

/* Mobile menu */
.hn-mobile-menu {
    display: none;
    position: fixed;
    top: var(--hn-h); left: 0; right: 0; bottom: 0;
    background: #fff;
    overflow-y: auto;
    z-index: 9997;
    padding: 0 0 40px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.hn-mobile-menu.hn-mob-open { display: block !important; }
.hn-mob-item { border-bottom: 1px solid var(--hn-border); }
.hn-mob-link, .hn-mob-toggle {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 24px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #111 !important;
    background: none !important;
    border: none !important;
    cursor: pointer;
    font-family: Arial, sans-serif !important;
    text-align: left;
    text-decoration: none !important;
    box-shadow: none !important;
}
.hn-mob-link:hover, .hn-mob-toggle:hover { color: var(--hn-red) !important; }
.hn-mob-sub { display: none; background: var(--hn-light); padding: 8px 0 16px; }
.hn-mob-sub.hn-mob-sub-open { display: block !important; }
.hn-mob-sub-cat {
    padding: 10px 36px 4px;
    font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.6px;
    color: var(--hn-red);
}
.hn-mob-sub-group {
    padding: 8px 36px 2px;
    font-size: 11px; font-weight: 600;
    text-transform: uppercase; color: #999; letter-spacing: 0.4px;
}
.hn-mob-sub a {
    display: block !important;
    padding: 7px 48px !important;
    font-size: 13.5px !important;
    color: #555 !important;
    text-decoration: none !important;
}
.hn-mob-sub a:hover { color: var(--hn-red) !important; }
.hn-mob-register {
    display: block !important;
    margin: 20px 24px 0;
    padding: 13px;
    text-align: center;
    background: var(--hn-red) !important;
    color: #fff !important;
    font-size: 14px; font-weight: 600;
    font-family: Arial, sans-serif;
    text-decoration: none !important;
}

/* Responsive nav */
@media (max-width: 1100px) {
    .hn-inner { padding: 0 32px !important; }
    .hn-mega-anchor { padding: 28px 32px 34px; }
    .hn-nav > li > a, .hn-nav > li > button { padding: 0 10px !important; font-size: 13px !important; }
}
@media (max-width: 900px) {
    .hn-nav { display: none !important; }
    .hn-register { display: none !important; }
    .hn-burger { display: flex !important; align-items: center; }
    .hn-inner { padding: 0 20px !important; }
}

/* ============================================================
   PRODUCT PAGE
   ============================================================ */
.prod-hero {
    position: relative;
    min-height: 580px;
    display: flex !important;
    align-items: flex-end;
    overflow: hidden;
    background: #1a1a1a;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}
.prod-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    opacity: 0.45;
    filter: grayscale(30%);
    z-index: 0;
}
.prod-hero-content {
    position: relative;
    z-index: 2;
    padding: 70px 100px 20px 100px !important;
    max-width: 820px;
    color: #fff;
}
.prod-hero-content h1 {
    font-size: 52px !important; font-weight: 700 !important;
    color: #fff !important; margin: 0 0 8px !important;
    line-height: 1.1; font-family: Arial, sans-serif !important;
}
.prod-hero-content h2 {
    font-size: 26px !important; font-weight: 400 !important;
    color: #fff !important; margin: 0 0 22px !important;
    font-family: Arial, sans-serif !important;
    border: none !important; padding: 0 !important;
}
.prod-hero-content p {
    font-size: 20px !important; line-height: 1.75 !important;
    color: rgba(255,255,255,0.88) !important;
    margin: 0 !important; max-width: 680px;
    font-family: Arial, sans-serif !important;
}

.prod-breadcrumb {
    margin-top: 32px !important;
    display: inline-flex !important;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
    background: rgba(255,255,255,0.18) !important;
    backdrop-filter: blur(4px);
    border: 0px solid rgba(255,255,255,0.28) !important;
    padding: 10px 18px !important;
    border-radius: 0px;
}
.prod-breadcrumb a, .prod-breadcrumb span {
    font-size: 15px !important;
    color: rgba(255,255,255,0.72) !important;
    font-family: Arial, sans-serif !important;
    text-decoration: none !important;
}
.prod-breadcrumb a:hover { color: #fff !important; }
.prod-breadcrumb .sep { color: rgba(255,255,255,0.55) !important; }
.prod-breadcrumb .current { color: #fff !important; font-weight: 500 !important; }

.prod-detail {
    width: 100% !important;
    padding: 60px 100px !important;
    display: grid !important;
    grid-template-columns: 1fr 460px;
    gap: 80px;
    align-items: start;
    box-sizing: border-box;
    background: #fff;
    margin: 0 !important;
}
.prod-info h2 {
    font-size: 52px !important; font-weight: 900 !important;
    color: #111 !important; margin: 0 !important; line-height: 1;
    font-family: Arial, sans-serif !important;
}
.prod-info h3 {
    font-size: 38px !important; font-weight: 400 !important;
    color: #111 !important; margin: 0 0 24px !important;
    font-family: Arial, sans-serif !important;
    border: none !important; padding: 0 !important;
}
.prod-info p {
    font-size: 20px !important; line-height: 1.75 !important;
    color: #555 !important; margin: 0 !important;
    font-family: Arial, sans-serif !important;
}

.prod-img-box {
    background: #f2f2f2 !important;
    border-radius: 4px;
    position: relative;
    min-height: 400px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.prod-img-slide { 
    display: none; 
    width: 100%; 
    align-items: center; 
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
}

.prod-img-slide.active { 
    display: flex !important; 
    opacity: 1;
    animation: slideIn 0.5s ease-in-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Alternative slide out animation for previous slide */
.prod-img-slide.slide-out {
    animation: slideOut 0.5s ease-in-out;
}

@keyframes slideOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(-30px);
    }
}

.prod-img-slide img { 
    max-width: 80% !important; 
    max-height: 360px; 
    object-fit: contain; 
    display: block;
    transition: transform 0.3s ease;
}

.prod-img-slide.active img:hover {
    transform: scale(1.05);
}

.prod-img-arrow {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    width: 42px !important; height: 42px !important;
    border-radius: 50% !important;
    background: #E60012 !important;
    border: none !important; cursor: pointer;
    display: flex !important; align-items: center; justify-content: center;
    color: #fff !important; font-size: 22px;
    z-index: 3; transition: background 0.2s;
    padding: 0 !important; line-height: 1;
    box-shadow: none !important;
}
.prod-img-arrow:hover { background: #c0000e !important; }
.prod-img-arrow.prev { left: 14px; }
.prod-img-arrow.next { right: 14px; }

.prod-img-dots {
    position: absolute; bottom: 12px;
    left: 50%; transform: translateX(-50%);
    display: flex !important; gap: 6px; z-index: 3;
}
.prod-img-dot {
    width: 8px; height: 8px;
    border-radius: 50%; background: rgba(0,0,0,0.2);
    cursor: pointer; transition: background 0.2s;
    display: block !important;
}
.prod-img-dot.active { background: #E60012 !important; }

.prod-tabs-wrap {
    width: 100% !important;
    padding: 0 240px 70px !important;
    box-sizing: border-box;
    background: #fff;
    margin: 0 !important;
}
.prod-tabs-nav-outer { display: flex !important; justify-content: center; margin-bottom: 36px; }
.prod-tabs-nav { display: inline-flex !important; gap: 8px; position: relative; padding-bottom: 8px; }
.prod-tabs-nav::after {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 1.5px; background: #E60012; border-radius: 0;
    z-index: 0;
}
.prod-tab-btn {
    padding: 13px 0 !important;
    width: 220px !important;
    border: 1px solid #ddd !important;
    border-bottom: none !important;
    background: #f5f5f5 !important;
    font-size: 20px !important; font-weight: 500 !important;
    color: #555 !important; cursor: pointer;
    text-align: center !important;
    font-family: Arial, sans-serif !important;
    position: relative; z-index: 1;
    border-radius: 0px 0px 0 0 !important;
    transition: all 0.2s;
    box-shadow: none !important;
}
.prod-tab-btn:hover:not(.active) { color: #E60012 !important; background: #e8e8e8 !important; }
.prod-tab-btn.active { background: #E60012 !important; color: #fff !important; border-color: #E60012 !important; z-index: 2; }

.prod-tab-panel { display: none !important; }
.prod-tab-panel.active { display: block !important; }
.prod-tab-panel p, .prod-tab-panel li {
    font-size: 20px !important; line-height: 1.75 !important;
    color: #555 !important; font-family: Arial, sans-serif !important;
}
.prod-tab-panel ul { margin: 12px 0 !important; padding-left: 22px !important; }
.prod-tab-panel ul li { margin-bottom: 6px !important; }

.prod-tech-table { width: 100%; border-collapse: collapse; font-size: 14px; font-family: Arial, sans-serif; }
.prod-tech-table th, .prod-tech-table td {
    font-size: 20px !important; padding: 12px 16px !important; text-align: left !important;
    border-bottom: 1px solid #e8e8e8 !important; color: #555 !important;
}
.prod-tech-table th { font-weight: 600 !important; color: #222 !important; background: #f7f7f7 !important; width: 35%; }
.prod-tech-table tr:last-child th, .prod-tech-table tr:last-child td { border-bottom: none !important; }

@media (max-width: 1100px) {
    .prod-hero-content, .prod-detail, .prod-tabs-wrap { padding-left: 60px !important; padding-right: 60px !important; }
    .prod-detail { gap: 40px; }
}
@media (max-width: 900px) {
    .prod-hero { min-height: 400px; }
    .prod-hero-content { padding: 40px 30px !important; }
    .prod-hero-content h1 { font-size: 32px !important; }
    .prod-hero-content h2 { font-size: 18px !important; }
    .prod-detail { grid-template-columns: 1fr !important; padding: 32px 24px !important; gap: 30px; }
    .prod-tabs-wrap { padding: 0 24px 40px !important; }
    .prod-tab-btn { width: 150px !important; font-size: 13px !important; }
    .prod-info h2 { font-size: 36px !important; }
    .prod-info h3 { font-size: 26px !important; }
}
@media (max-width: 600px) {
    .prod-hero-content h1 { font-size: 24px !important; }
    .prod-tabs-nav { flex-direction: column; gap: 0; }
    .prod-tabs-nav::after { display: none; }
    .prod-tab-btn { width: 100% !important; border-radius: 0 !important; border-bottom: 1px solid #ddd !important; }
    .prod-tab-btn.active { border-bottom-color: #E60012 !important; }
}


.tab-content table {
  width:100%;
  border-collapse:collapse;
  font-size:14px;
}


/* Make Astra content full width without breaking header */
.ast-container,
.ast-separate-container .ast-article-single,
#primary.content-area,
.site-content #primary,
.entry-content {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}



.prod-hero,
.prod-hero-bg {
    z-index: 1 !important;
}

/* ========================
Product Template Styles
=========================== */
.tab-content th,
.tab-content td {
  padding:12px 16px;
  border-bottom:1px solid #e8e8e8;
  text-align:left;
}

.tab-content th {
  background:#f7f7f7;
  font-weight:600;
  width:35%;
}

.btn-know-more:hover,
.btn-know-more:focus {
    color: var(--hahne-primary-red) !important;
    background: #fff !important;
}

.btn-red:hover,
.btn-red:focus {
    color: #fff !important;
    background: var(--hahne-primary-red) !important;
}

.btn-get-started:hover,
.btn-get-started:focus {
    color: #fff !important;
    background: var(--hahne-primary-red) !important;
}

.btn-register:hover,
.btn-register:focus {
    color: #fff !important;
}

/* Watch Video text - white on hover */
.btn-watch-video:hover,
.btn-watch-video:hover span,
.btn-watch-video:focus,
.btn-watch-video:focus span {
    color: #ffffff !important;
}

.wp-block-uagb-container.uagb-is-root-container {
    padding: 0 !important;
}

#masthead:not(.hahne-header) {
    display: none !important;
}

/* Position parent */
.menu-item-has-mega {
    position: relative;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 900px;
    background: #f5f5f5;
    padding: 40px;
    display: none;   /* hidden by default */
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    z-index: 9999;
}

/* Show only on hover */
.menu-item-has-mega:hover .mega-menu {
    display: flex;
}

.column {
    width: 300px;
}

.mega-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-menu li {
    padding: 8px 0;
    cursor: pointer;
}

.mega-menu li:hover {
    color: #d60000;
}

.has-dropdown {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.has-dropdown::after {
    content: "";
    width: 8px;              /* increased size */
    height: 8px;
    border-right: 2px solid #333;
    border-bottom: 2px solid #333;
    transform: rotate(45deg);
    margin-top: -2px;        /* slight vertical adjust */
    transition: transform 0.2s ease;
}

/* ============================================================
   PRODUCT PAGE - MOBILE TAB FIX
   ============================================================ */

@media (max-width: 768px) {
    .prod-tabs-wrap {
        padding: 0 20px 40px !important;
    }

    .prod-tabs-nav-outer {
        justify-content: stretch !important;
    }

    .prod-tabs-nav {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 0 !important;
        padding-bottom: 0 !important;
    }

    .prod-tabs-nav::after {
        display: none !important;
    }

    .prod-tab-btn {
        width: 100% !important;
        border: 1px solid #ddd !important;
        border-bottom: none !important;
        border-radius: 0 !important;
        text-align: left !important;
        padding: 14px 18px !important;
        font-size: 14px !important;
    }

    .prod-tab-btn:last-child {
        border-bottom: 1px solid #ddd !important;
    }

    .prod-tab-btn.active {
        background: #E60012 !important;
        color: #fff !important;
        border-color: #E60012 !important;
    }

    /* Tab panel padding on mobile */
    .prod-tab-panel.active {
        padding-top: 20px !important;
    }

    .prod-tech-table th,
    .prod-tech-table td {
        padding: 10px 12px !important;
        font-size: 13px !important;
    }

    .prod-tech-table th {
        width: 45% !important;
    }
}

@media (max-width: 480px) {
    .prod-tabs-wrap {
        padding: 0 15px 30px !important;
    }

    .prod-tab-btn {
        font-size: 13px !important;
        padding: 13px 15px !important;
    }

    /* Stack table on very small screens */
    .prod-tech-table,
    .prod-tech-table tbody,
    .prod-tech-table tr,
    .prod-tech-table th,
    .prod-tech-table td {
        display: block !important;
        width: 100% !important;
    }

    .prod-tech-table tr {
        margin-bottom: 8px !important;
        border: 1px solid #e8e8e8 !important;
    }

    .prod-tech-table th {
        background: #f7f7f7 !important;
        font-weight: 600 !important;
        border-bottom: 1px solid #e8e8e8 !important;
        padding: 8px 12px !important;
    }

    .prod-tech-table td {
        padding: 8px 12px !important;
        border-bottom: none !important;
    }
}

/* Footer nav text strictly left aligned */
.footer-nav {
    text-align: left !important;
}

.footer-nav > div {
    text-align: left !important;
}

.footer-nav a {
    text-align: left !important;
    display: block;
}

.card-icon{
    width: 50px;
    height: 50px;
		filter: brightness(0) invert(1);
}

/* ============================================
   PROJECT DETAIL PAGE STYLES
   Prefix: pj- (to avoid conflicts with global CSS)
   ============================================ */

/* ── HERO ── */
.pj-hero {
  position: relative;
  width: 100vw !important;
  height: 350px;
  background-size: cover;
  background-position: center center;
  overflow: hidden;
}
.pj-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 20, 0.6);
}
.pj-hero-content {
  position: absolute;
  bottom: clamp(24px, 5vw, 60px);
  left: 100px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pj-hero-text {
  color: #fff;
  font-size: clamp(1.6rem, 4vw, 3rem);
  font-weight: 400;
  letter-spacing: 0.5px;
  font-family: Arial, sans-serif;
  line-height: 1.1;
}

/* ── BREADCRUMB (inside hero) ── */
.pj-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  flex-wrap: wrap;
}
.pj-breadcrumb a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color 0.2s;
}
.pj-breadcrumb a:hover { color: #fff; }
.pj-breadcrumb .pj-sep {
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
}
.pj-breadcrumb .pj-current {
  color: #fff;
  font-weight: 600;
}

/* ── MAIN CONTENT ── */
.pj-page-wrapper {
  padding: clamp(30px, 5vw, 60px) 100px;
}

/* Meta line */
.pj-meta-line {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 10px;
  font-weight: 500;
  letter-spacing: 0.5px;
}
.pj-meta-line .pj-divider {
  flex: 0 0 60px;
  height: 1px;
  background: #ccc;
}

/* Title */
.pj-title {
  font-family: Arial, sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: #111;
  line-height: 1.1;
  margin-bottom: 24px;
}

/* Share */
.pj-share-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
}
.pj-share-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
}
.pj-share-icons {
  display: flex;
  gap: 10px;
}
.pj-share-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1.5px solid #ccc;
  border-radius: 50%;
  color: #444;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
  font-size: 0.85rem;
}
.pj-share-icons a:hover {
  border-color: #E8650A;
  color: #E8650A;
}
.pj-share-icons svg { width: 15px; height: 15px; fill: currentColor; }

/* Two-column layout */
.pj-two-col {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: clamp(24px, 4vw, 60px);
  align-items: start;
}

/* LEFT: text content */
.pj-left-col {}

.pj-section-heading {
  font-size: 1.35rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 18px;
}

.pj-body-text {
  font-size: 18px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 24px;
}

.pj-en-body-text {
  font-size: 16px;
  line-height: 1;
  color: #0d6efd;
}


/* Project images */
.pj-images {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.pj-images img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* RIGHT: info card */
.pj-info-card {
  background: #E50110;
  color: #fff;
  padding: 0;
}
.pj-info-item {
  padding: 22px 28px;
  border-bottom: 1px solid rgba(255,255,255,0.25);
}
.pj-info-item:last-child { border-bottom: none; }
.pj-info-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  opacity: 0.9;
}
.pj-info-value {
  font-size: 0.97rem;
  font-weight: 500;
  line-height: 1.4;
}

/* Project detail table */
.pj-detail-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  font-size: 18px;
}
.pj-detail-table,
.pj-detail-table tr,
.pj-detail-table td,
.pj-detail-table th {
  border: none !important;
  box-shadow: none !important;
}
.pj-detail-table td {
  padding: 6px 0;
  color: #444;
  line-height: 1.6;
  vertical-align: top;
}
.pj-detail-table td:first-child {
  font-weight: 700;
  color: #111;
  width: 220px;
  padding-right: 30px;
  background: transparent;
}

/* ===============================
   PROJECT IMAGE SLIDER
   Works for all project pages
================================ */

.pj-slider{
  position:relative;
  width:100%;
  
  margin-top:40px;
  overflow:hidden;
}

.pj-slider-track{
  display:flex;
  transition:transform .5s ease;
}

.pj-slide{
  min-width:100%;
}

.pj-slide img{
  width:100%;
  height:420px;
  object-fit:cover;
  display:block;
}

.pj-slide img{
  width:100%;
  height:420px;
  object-fit:cover;
  display:block;
  user-select:none;
  pointer-events:none;
}

.pj-slider-track{
  display:flex;
  transition:transform .5s ease;
  will-change: transform;
}

/* arrows */

.pj-slider-btn{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  background:rgba(0,0,0,.4);
  border:none;
  color:#fff;
  font-size:22px;
  width:40px;
  height:40px;
  cursor:pointer;
  z-index:2;
}

.pj-prev,
.pj-next{
  display:none;
}

/* slider dots */

.pj-slider-dots{
  text-align:center;
  margin-top:12px;
}

.pj-dot{
  display:inline-block;
  width:18px;
  height:4px;
  background:#bbb;
  margin:0 5px;
  cursor:pointer;
  transition:all 0.3s ease;
}

/* active dot */

.pj-dot.active{
  width:40px;
  height:4px;
  background:#E50110;
}

.pj-slider{
  cursor: grab;
}

.pj-slider:active{
  cursor: grabbing;
}

/* ── TABLET (≤1024px) ── */
@media (max-width: 1024px) {
 
  .pj-page-wrapper {
    padding-left: 40px;
    padding-right: 40px;
  }
 
  .pj-hero-content {
    left: 40px;
  }
 
  .pj-two-col {
    grid-template-columns: 1fr;
  }
 
  .pj-slide img {
    height: 360px;
  }
 
  .pj-slider {
    width: 100vw !important;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
    box-sizing: border-box;
  }
 
  .pj-slide {
    padding-left: 40px;
    padding-right: 40px;
    box-sizing: border-box;
  }
 
}
 
/* ── MOBILE (≤768px) ── */
@media (max-width: 768px) {
 
  .pj-page-wrapper {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
 
  .pj-hero-content {
    left: 20px;
  }
 
  .pj-left-col {
    width: 100% !important;
  }
 
  .pj-slider {
    width: 100vw !important;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
    box-sizing: border-box;
  }
 
  .pj-slide {
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
  }
 
}
 
/* ── SMALL MOBILE (≤640px) ── */
@media (max-width: 640px) {
 
  .pj-page-wrapper {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
 
  .pj-hero-content {
    left: 16px;
  }
 
  .pj-slide img {
    height: auto;
    aspect-ratio: 16 / 9;
  }
 
  .pj-slider {
    overflow: hidden;
  }
 
  .pj-slide {
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
  }
 
  .pj-slider-dots {
    margin-top: 10px;
  }
 
  .pj-dot {
    width: 14px;
  }
 
  .pj-dot.active {
    width: 32px;
  }
 
}

.pdf-btn-group{
  display:grid;
  grid-template-columns: repeat(3, max-content);
  justify-content:center;   /* center the buttons */
  gap:20px;
  padding:20px 0;
  width:100%;
}

.pdf-btn{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:12px;
  padding:14px 26px;
  border:1.5px solid #9a9a9a;
  border-radius:12px;
  text-decoration:none;
  font-size:18px;
  color:#222;
  background:#f5f5f5;
  transition:all 0.3s ease;
  min-width:260px;   /* keeps same width */
}

.pdf-btn:hover{
  background:#e9e9e9;
}

.pdf-icon{
  width:clamp(24px,2vw,28px);
  height:auto;
  flex-shrink:0;
}

/* Mobile layout */
@media (max-width:480px){
  .pdf-btn-group{
    grid-template-columns:1fr;
  }
}

/* ── BLOG PAGE ── */
.blog-page {
    background: #ffffff;
    padding-top: 50px;
    padding-bottom: 50px;
    padding-left: 100px;
    padding-right: 100px;
}

.blog-page-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:30px;
  margin-top:40px;
}

@media (max-width: 900px){
    .blog-grid{
        grid-template-columns: repeat(2,1fr);
    }
}

@media (max-width: 600px){
    .blog-grid{
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   BLOG SINGLE POST STYLES
   Prefix: bl-
   Requires: project-styles.css (for pj-hero, pj-breadcrumb)
   ============================================================ */
 
/* ── PAGE WRAPPER ── */

.bl-hero {
  position: relative;
  width: 100vw !important;
  height: 350px;
  background-size: cover;
  background-position: center center;
  overflow: hidden;
}
.bl-hero::after {
  content: '';
  position: absolute;
  inset: 0;
	background: rgba(20, 20, 20, 0.6);
}

.bl-page-wrapper {
  padding: clamp(30px, 5vw, 60px) 100px;
}
 
/* ── TWO COLUMN LAYOUT: main + sidebar ── */
.bl-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}
 
/* ── FEATURED IMAGE ── */
.bl-featured-img {
  width: 100%;
  margin-bottom: 28px;
}
.bl-featured-img img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  display: block;
}
 
/* ── TITLE ── */
.bl-title {
  font-family: Arial, sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #111;
  line-height: 1.15;
  margin-bottom: 28px;
}
 
/* ── PARAGRAPH ── */
.bl-text {
  font-family: Arial, sans-serif;
  font-size: 18px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 24px;
}
 
/* ── SUBHEADING ── */
.bl-subheading {
  font-family: Arial, sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 16px;
  margin-top: 8px;
}
 
/* ── PULL QUOTE ── */
.bl-quote {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: #f7f7f7;
  padding: 28px 32px;
  margin: 32px 0;
}
.bl-quote-icon {
  font-size: 4rem;
  line-height: 1;
  color: #E8650A;
  font-family: Georgia, serif;
  flex-shrink: 0;
  margin-top: -8px;
}
.bl-quote-body p {
  font-family: Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #111;
  line-height: 1.6;
  margin-bottom: 10px;
}
.bl-quote-body cite {
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  color: #777;
  font-style: normal;
}
 
/* ── TWO IMAGE GRID ── */
.bl-img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0;
}
.bl-img-grid img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}
 
/* ── TAGS ROW ── */
.bl-tags-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid #e5e5e5;
}
.bl-tags-label {
  font-family: Arial, sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #111;
  white-space: nowrap;
}
.bl-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.bl-tag {
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: #444;
  background: #f0f0f0;
  padding: 6px 16px;
  text-decoration: none !important;
  transition: background 0.2s, color 0.2s;
}
.bl-tag:hover {
  background: #E50110;
  color: #fff;
}
 
/* ============================================================
   SIDEBAR
   ============================================================ */
 
.bl-sidebar {
  position: sticky;
  top: 32px;
}
 
.bl-sidebar-block {
  background: #f7f7f7;
  padding: 28px 24px;
  margin-bottom: 28px;
}
 
.bl-sidebar-heading {
  font-family: Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 6px;
  padding-bottom: 12px;
  border-bottom: 2px solid #E50110;
  display: inline-block;
}
 
/* Recent blog item */
.bl-recent-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid #e5e5e5;
  text-decoration: none !important;
  color: inherit;
}
.bl-recent-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.bl-recent-item img {
  width: 72px;
  height: 60px;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
}
.bl-recent-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bl-recent-title {
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #111;
  line-height: 1.4;
  transition: color 0.2s;
}
.bl-recent-item:hover .bl-recent-title {
  color: #E50110;
}
.bl-recent-date {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: Arial, sans-serif;
  font-size: 12px;
  color: #888;
}
.bl-recent-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #E8650A;
  flex-shrink: 0;
  display: inline-block;
}
 
/* Sidebar tags */
.bl-sidebar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
 
/* ============================================================
   RESPONSIVE
   ============================================================ */
 
/* ── TABLET (≤1024px) ── */
@media (max-width: 1024px) {
  .bl-page-wrapper {
    padding-left: 40px;
    padding-right: 40px;
  }
  .bl-layout {
    grid-template-columns: 1fr 260px;
    gap: 32px;
  }
  .bl-featured-img img {
    height: 360px;
  }
}
 
/* ── MOBILE (≤768px) ── */
@media (max-width: 768px) {
  .bl-page-wrapper {
    padding-left: 5% !important;
    padding-right: 5% !important;
  }
  .bl-layout {
    grid-template-columns: 1fr;
  }
  .bl-sidebar {
    position: static;
  }
  .bl-featured-img img {
    height: 280px;
  }
  .bl-img-grid img {
    height: 200px;
  }
}
 
/* ── SMALL MOBILE (≤640px) ── */
@media (max-width: 640px) {
  .bl-page-wrapper {
    padding-left: 5% !important;
    padding-right: 5% !important;
  }
  .bl-title {
    font-size: 1.6rem;
  }
  .bl-featured-img img {
    height: 220px;
  }
  .bl-img-grid {
    grid-template-columns: 1fr;
  }
  .bl-img-grid img {
    height: 220px;
  }
  .bl-quote {
    padding: 20px;
    gap: 14px;
  }
  .bl-quote-icon {
    font-size: 3rem;
  }
  .bl-tags-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}