/*
Theme Name: Gana Theme testing
Theme URI: https://ganakonsultan.com
Author: Gana Team
Author URI: https://ganakonsultan.com
Description: Professional Business Consulting WordPress Theme - Leveraging Digital Technologies Creating Value
Version: 1.3.2
License: GPL v2 or later
Text Domain: gana-theme
Domain Path: /languages
Tags: business, corporate, consulting, responsive, bootstrap, custom-menu, custom-logo, featured-images
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
*/

/* This file is just for WordPress theme identification. 
   The actual styles are loaded via functions.php from assets/css/ */

/* ============================================
   WEALTH FAQ SECTION - ENHANCED BACKGROUND
   ============================================ */
.bg-wealth-faq {
  position: relative;
  background-attachment: scroll;
}

/* Overlay untuk meningkatkan readability text di atas background image */
.bg-wealth-faq::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

.bg-wealth-faq .container {
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .bg-wealth-faq {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
    min-height: 500px !important;
  }
}

@media (max-width: 576px) {
  .bg-wealth-faq {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
    min-height: 400px !important;
  }
}

/* ============ LOGIN BUTTON: width cap + ellipsis ============ */
.gana-user-menu .gana-login-btn {
  /* default fallback 10rem; akan dioverride via JS sesuai lebar "Dashboard" */
  max-width: var(--gana-login-max, 10rem);
}

.gana-user-menu .gana-login-btn .gana-login-name {
  /* penting untuk ellipsis di dalam flex container */
  flex: 1 1 auto;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis; /* hasilnya: wahyuwidito24… */
}

/* ============================================
   OFFICE ADDRESS LINE BREAKS
   ============================================ */
.nav-bottom a,
.link-popup p,
.border-bottom p {
  white-space: pre-line; /* Preserve line breaks */
}
