/*
Theme Name: Triveda Broking
Theme URI: https://trivedabroking.com/
Author: Triveda Broking
Description: Custom responsive WordPress theme for Triveda Broking.
Version: 0.3.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: triveda-broking
*/

html { scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { position: fixed; top: 1rem; left: 1rem; width: auto; height: auto; padding: .75rem; clip: auto; z-index: 99999; background: #fff; color: #111; }
.triveda-form-status { margin-top: .75rem; font-size: .875rem; }
.triveda-form-status[data-state="error"] { color: #ffb4ab; }
.triveda-form-status[data-state="success"] { color: #00e599; }
.triveda-data-note { padding: .5rem 1rem; background: #182237; border-bottom: 1px solid #365779; color: #d9e5f7; font: 500 12px/1.5 system-ui, sans-serif; text-align: center; }
.triveda-mobile { overflow-x: clip; }
.triveda-mobile a[href^="mailto:"] { flex-wrap: wrap; gap: .25rem .5rem; }
.triveda-mobile a[href^="mailto:"] > div { min-width: 0; }
.triveda-mobile a[href^="mailto:"] > div span { overflow-wrap: anywhere; }
@media (min-width: 768px) { .triveda-mobile { display: none; } }
@media (max-width: 767px) { .triveda-desktop { display: none; } }
.triveda-notice { position: fixed; z-index: 9999; left: 50%; bottom: 1.25rem; transform: translateX(-50%); max-width: min(90vw, 32rem); padding: .875rem 1.25rem; border: 1px solid #38bdf8; border-radius: .75rem; background: #0d1323; color: #fff; box-shadow: 0 10px 30px #0008; }
.triveda-fallback-header, .triveda-fallback-footer { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 1.25rem max(1rem, calc((100% - 72rem)/2)); background: #0d1323; color: #dde2f9; }
.triveda-fallback-header a, .triveda-fallback-footer a { color: inherit; }
.triveda-fallback-header nav ul { display: flex; flex-wrap: wrap; gap: 1rem; padding: 0; margin: 0; list-style: none; }
.triveda-content { max-width: 72rem; margin: 0 auto; padding: 3rem 1rem; min-height: 60vh; }
/* Legacy navigation and chat plugins belong to the saved Astra site. The
   redesigned pages contain their own responsive navigation and WhatsApp CTA. */
body.triveda-designed-page .mobmenu,
body.triveda-designed-page .mobmenu-overlay,
body.triveda-designed-page .mob-menu-header-holder,
body.triveda-designed-page .mobmenu-panel,
body.triveda-designed-page #ht-ctc-chat { display: none !important; }
body.triveda-designed-page { padding-top: 0 !important; }
