@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Fraunces:wght@300;400;600;700;900&display=swap');

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
    /* Colors */
    --primary: #0f1a2e ;
    --secondary: #1a2640 ;
    --accent: #1a3a6b ;
    /* Bidhausstrategy brand colors */
    --bidhausstrategy-primary: #0f1a2e;
    --bidhausstrategy-accent: #1A3A6B;
    --bg: #f3f1f1;
    --white: #FFFFFF;
    --text-dark: #243247;
    --text-light: #000000;
    --border: #ebede1;

    /* Fonts */
    --font-primary: 'Fraunces', serif; /* body / normal text */
    --font-heading: 'Fraunces', serif; /* headings / titles */
    --nav-dark: #123a56;

    /* Spacing */
    --space-xs: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    /* Header height used to offset hero content when header becomes fixed */
    --header-height: 80px;
}

/* ===== BASE STYLES ===== */
* , *::before, *::after {
    box-sizing: border-box;
}

html {
    height: 100%;
    width: 100%;
}

body {
    height: 100%;
    width: 100%;
    font-family: var(--font-primary);
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: var(--bg);
    color: var(--text-dark);
    margin: 0;
    padding: 0;
}

a:hover {
    color: var(--primary);
    text-decoration: none !important;
}

a,
button,
input,
select,
textarea {
    -webkit-tap-highlight-color: transparent;
}

/* ===== TYPOGRAPHY ===== */
p {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-light);
    font-weight: 400;
    margin: 0 0 16px 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 16px 0;
}

h1 { font-size: 2.5rem; font-weight: 800; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.125rem; }


/* ===== COMMON SECTION TITLE ===== */
.common-title { max-width: 720px; margin-bottom: 32px;}
.common-title.text-center { max-width: 980px; margin-left: auto; margin-right: auto; text-align: center; }

/* Ensure the section description paragraph centers and can expand a bit */
.common-title.text-center .common-title__text { margin-left: auto; margin-right: auto; text-align: center; max-width: 760px;}
.common-title__subtitle { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 16px; color: var(--bidhausstrategy-accent); font-size: 15px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;}
.common-title__subtitle::before { content: ""; display: block; width: 20px; height: 2px; border-radius: 999px; background: var(--bidhausstrategy-accent);}
.common-title__subtitle::after { content: ""; display: block; width: 20px; height: 2px; border-radius: 999px; background: var(--bidhausstrategy-accent);}
.common-title__heading { margin: 0; color: var(--text-dark); font-size: clamp(32px, 6vw, 48px); font-family: var(--font-heading); font-weight: 600; line-height: 1.05; letter-spacing: -1px;}
.common-title__highlight { color: var(--bidhausstrategy-accent); display: block; font-weight: 900; font-size: clamp(40px, 8vw, 48px); line-height: 0.95; margin-top: 6px;}
.common-title__text { margin-top: 16px; max-width: 620px; font-size: 16px; line-height: 29px;}
@media (max-width: 768px) { .common-title { margin-bottom: 24px;}
.common-title__heading { font-size: 35px; line-height: 40px;}
.common-title__subtitle { gap: 10px; margin-bottom: 12px; font-size: 13px;}
.common-title__subtitle::after { width: 40px;}
.common-title__text {  font-size: 16px;}}

/* ===== COMMON BUTTON ===== */
.common-btn {  display: inline-flex;  align-items: center;  justify-content: center;  gap: 12px;  min-height: 48px; padding: 12px 28px;  border-radius: 4px; background: var(--bidhausstrategy-accent); color: var(--white);  font-size: 16px;  font-weight: 700;  line-height: 1; text-decoration: none; cursor: pointer; font-family: var(--font-heading);}
.common-btn:hover,
.common-btn:focus { filter: brightness(1.03); outline: none; background: var(--white); color: var(--bidhausstrategy-accent);}
.common-btn:active { transform: translateY(0); }
.common-btn::after { content: '\2192';  display: inline-block;  margin-left: 10px;  font-weight: 700;}
.common-btn--outline {  background: transparent;  color: var(--bidhausstrategy-primary);  box-shadow: none;  border: 2px solid rgba(255,255,255,0.12);}
.common-btn--outline:hover,
.common-btn--outline:focus { background: rgba(255,255,255,0.06);  color: var(--white);  border-color: rgba(255,255,255,0.18);}
.common-btn--dark { background: var(--bidhausstrategy-accent); border-color: var(--bidhausstrategy-accent); color: var(--white);}
.common-btn--dark:hover,
.common-btn--dark:focus { background: var(--bidhausstrategy-accent); border-color: var(--bidhausstrategy-accent); color: var(--white);}
.common-btn--sm { min-height: 40px; padding: 8px 14px; font-size: 14px; border-radius: 6px;}
.common-btn--lg { min-height: 56px; padding: 16px 42px; font-size: 18px; border-radius: 10px;}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}
::-webkit-scrollbar-thumb {
    background: var(--secondary);
    border-radius: 10px;
}
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px rgba(0,0,0,0.1);
    border-radius: 10px;
}

/* ===== UTILITY CLASSES ===== */
.bg-dark {
    background-color: var(--text-dark) !important;
}
.bg-light {
    background-color: var(--bg) !important;
}

.content-section {
    padding: 70px 0;
}

/* ===== CARDS ===== */
.work-card {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    overflow: hidden;
}

.work-content {
    padding: 20px 15px 10px;
}

.client-card {
    padding: 15px;
    background-color: var(--text-dark);
    border-radius: 6px;
    color: var(--white);
}

/* ===== WORDPRESS SPECIFIC ===== */
#wpadminbar {
    display: none !important;
}

.grecaptcha-badge {
    display: none !important;
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER / NAV ===== */
.bihaus-header__nav { background: transparent; }
.bihaus-header.is-sticky .bihaus-header__nav { background: #f3f1f1; }
.bihaus-header__nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; }
.bihaus-header__brand { display: flex; align-items: center; }
.bihaus-header__logo { height: 55px; width: auto; }
.bihaus-header__logo--dark { display: none; }
.bihaus-header__logo--light { display: block; }
.bihaus-header__menu { display: flex; gap: 28px; align-items: center; }
.bihaus-header__link { color: var(--white); text-decoration: none; font-weight: 600; font-family: var(--font-primary); }
.bihaus-header__link:hover { color: var(--white); }
.bihaus-header__cta { margin-left: 20px; }
.bihaus-header__toggle { display: none; background: transparent; border: none; cursor: pointer; }
.bihaus-header__toggle span { display: block; width: 22px; height: 2px; background: var(--bidhausstrategy-primary); margin: 5px 0; }
.bihaus-header__mobile { display: none; }
.bihaus-header__mobile-links { display: flex; flex-direction: column; padding: 18px 20px; gap: 10px; }
.bihaus-header__mobile-links a { padding: 14px 10px; border-bottom: 1px solid var(--border); color: var(--text-dark); text-decoration: none; }
@media (max-width: 991px) {
    .bihaus-header__menu { display: none; }
    .bihaus-header__toggle { display: block; }
    .bihaus-header__logo { height: 34px; }
    .bihaus-header__cta { display: none; }
    .bihaus-header__mobile.open { display: block; position: absolute; left: 0; right: 0; top: 0; background: var(--white); box-shadow: 0 6px 18px rgba(0,0,0,0.08); z-index: 190; }}
@media (max-width: 768px) {
    .bihaus-header__nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 10px 10px; }
    .bihaus-header__brand { order: 1; }
    .bihaus-header__toggle { order: 2; display: block; margin-left: auto; }
    .bihaus-header__toggle span { background: var(--bidhausstrategy-primary); }
    .bihaus-header__logo { height: 36px; }
    .bihaus-header__mobile.open { position: fixed; top: 0; left: 0; right: 0; height: 100vh; overflow-y: auto; display: block; z-index: 190; }}
.bihaus-header__mobile-inner { position: relative; }
.bihaus-header__mobile-close {  position: absolute; right: 18px; top: 12px; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--white); color: var(--bidhausstrategy-primary); border: 2px solid var(--bidhausstrategy-primary); font-size: 22px; line-height: 1; cursor: pointer; transition: transform .12s ease, background .12s ease, color .12s ease;}
.bihaus-header__mobile-close:hover,
.bihaus-header__mobile-close:focus {  background: var(--bidhausstrategy-primary);  color: var(--white);  transform: translateY(-2px);  outline: none;}
.bihaus-header__toggle span { display: block; width: 24px; height: 3px; background: var(--bidhausstrategy-primary); margin: 5px 0; border-radius: 3px; }
.bihaus-header__mobile .bihaus-header__logo,
.bihaus-header__mobile.open .bihaus-header__logo { height: 48px;}
@media (max-width: 480px) {
    .bihaus-header__mobile .bihaus-header__logo,
    .bihaus-header__mobile.open .bihaus-header__logo { height: 42px; }}

/* ===== FOOTER ===== */
.site-footer { background: var(--bidhausstrategy-accent); color: rgba(255,255,255,0.9); padding: 60px 0 24px; }
.site-footer a { color: rgba(255,255,255,0.9); text-decoration: none; }
.site-footer .footer-top { display: grid; grid-template-columns: 300px repeat(4, 1fr); gap: 36px; align-items: start; padding-bottom: 60px; border-bottom: 1px solid #ffffff40; }
.site-footer .footer-col h4 { color: var(--white); font-family: var(--font-heading); font-weight: 600; margin-bottom: 1.6rem; position: relative; }
.site-footer .footer-col h4::after { content: ""; display: block; width: 30px; height: 2px; background: var(--bidhausstrategy-accent); position: absolute; left: 0; bottom: -8px; border-radius: 3px; }
.site-footer .footer-brand img { height: 52px; margin-bottom: 18px; }
.footer-logo { height: 42px; display: block; margin-bottom: 12px; }
.site-footer .footer-desc { max-width: 300px; color: rgba(255,255,255,0.8); line-height: 1.8; margin-bottom: 18px; }
.footer-socials { display:flex; gap:12px; }
.social-circle { display:inline-flex; align-items:center; justify-content:center; width:40px; height:40px; border-radius:50%; background: rgba(255,255,255,0.03); color: rgba(255,255,255,0.9); transition: background .12s ease, transform .12s ease; }
.social-circle svg { width:20px; height:20px; stroke: currentColor; }
.social-circle:hover { background: rgba(255,255,255,0.08); transform: translateY(-3px); }
.footer-links { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:10px; }
.footer-links { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:10px; }
.footer-links li { color: rgba(255,255,255,0.85); position:relative; }
.footer-links a { color: inherit; text-decoration: none; display: inline-block; }
.footer-links a:hover { color: #ddd;}
.footer-links li::before { content: '\2192';  color: var(--bidhausstrategy-accent);  position: absolute; left: -22px; top: 0; opacity: 0; transform: translateX(-6px);  transition: opacity .15s ease, transform .15s ease;}
.footer-links li:hover::before,
.footer-links li:focus-within::before { opacity: 1; transform: translateX(0);}
.footer-links li:hover,
.footer-links li:focus-within {  color: var(--bidhausstrategy-accent);}
.footer-contact-list { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:10px; }
.footer-contact-list li { display:flex; gap:12px; align-items:center; color: rgba(255,255,255,0.9); }
.footer-contact-list .footer-icon { width:20px; height:20px; stroke: var(--bidhausstrategy-accent); margin-top:0; flex:0 0 20px; }
.footer-bottom { display:flex; align-items:center; justify-content:space-between; padding-top:20px; opacity:0.95; }
.footer-bottom .copyright { margin:0; color: rgba(255,255,255,0.65); }
.footer-links-right { display:flex; gap:10px; align-items:center; }
.footer-links-right a { color: rgba(255,255,255,0.7); }
.footer-links-right .sep { color: rgba(255,255,255,0.28); }
@media (max-width: 992px) {.site-footer .footer-top { grid-template-columns: 1fr 1fr; }}
@media (max-width: 640px) { .site-footer .footer-top { grid-template-columns: 1fr; }
.footer-bottom { flex-direction: column; gap:12px; align-items:flex-start; }}

/* Sticky WhatsApp button (bottom-right) */
.whatsapp-sticky-btn {  position: fixed; right: 18px; bottom: 18px; width: 52px;  height: 52px; border-radius: 50%; background: #25D366; display: flex;  align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(37,211,102,0.18); z-index: 12000; transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease; overflow: visible;}
.whatsapp-sticky-btn:hover { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(37,211,102,0.22); }
.whatsapp-sticky-btn svg { display: block; position: relative; z-index: 3; width:22px; height:22px; fill: #ffffff; color: #ffffff; }
.whatsapp-sticky-btn::before,
.whatsapp-sticky-btn::after { content: ''; position: absolute; left: 50%; top: 50%; width: 52px; height: 52px;  transform: translate(-50%, -50%) scale(1); border-radius: 50%;  background: rgba(37,211,102,0.12);  z-index: 1; pointer-events: none; animation: whatsapp-ripple 2.8s infinite ease-in-out;}
.whatsapp-sticky-btn::after { animation-delay: 1.4s; }
@keyframes whatsapp-ripple {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.9; }
    60% { transform: translate(-50%, -50%) scale(1.9); opacity: 0.12; }
    100% { transform: translate(-50%, -50%) scale(2.4); opacity: 0; }}
@media (max-width: 480px) {
    .whatsapp-sticky-btn { right: 12px; bottom: 12px; width: 46px; height: 46px; }
    .whatsapp-sticky-btn::before, .whatsapp-sticky-btn::after { width: 46px; height: 46px; }}
.bihaus-header { position: absolute; top: 0; left: 0; right: 0; z-index: 9999; width: 100%; background: transparent; transition: box-shadow 200ms ease, background-color 200ms ease, transform 200ms ease;}
.bihaus-header.is-sticky { position: fixed;  left: 0; right: 0;  top: 0; box-shadow: 0 6px 20px rgba(0,0,0,0.08);  background-color: #F5F3F0;}
.bihaus-header.is-sticky .bihaus-header__link { color: var(--text-dark); }
.bihaus-header.is-sticky .bihaus-header__logo--light { display: none; }
.bihaus-header.is-sticky .bihaus-header__logo--dark { display: block; }

/* Clamp related-insights excerpts to two lines */
.single-insight-related .article-excerpt,
.insight-articles .article-excerpt {
    display: -webkit-box;
    display: box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    line-height: 1.6em;
    max-height: 3.2em;
}

/* Fix: Ensure single post thumbnail and sidebar do not overlap */
.blog-detail-layout .post-thumbnail img,
.blog-detail-layout .post-thumbnail > img,
.blog-detail-layout .post-thumbnail .wp-post-image {  width: 100%;  height: auto;  display: block;  max-width: 100%;}
.blog-detail-layout .post-thumbnail { margin-bottom: 18px; }
.blog-detail-layout .sidebar { position: relative; z-index: 2; }
.recent-posts-list { list-style: none; padding: 0; margin: 0; }
.recent-posts-list .recent-post-item { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.recent-posts-list .recent-post-item .thumb img { width: 74px; height: 56px; object-fit: cover; display: block; }
@media (max-width: 992px) {.blog-detail-layout .post-thumbnail img { height: auto; }}
