/*
Theme Name:   UGOFX Coaching
Theme URI:    https://ugofx.com
Description:  Astra Child Theme for UGOFX Trading 1-on-1 Coaching Programme
Author:       UGOFX Trading Ltd
Author URI:   https://ugofx.com
Template:     astra
Version:      1.0.0
License:      Private
Text Domain:  ugofx-coaching
*/

/* ============================================================
   IMPORT PARENT THEME
   ============================================================ */
@import url('../astra/style.css');

/* ============================================================
   GOOGLE FONTS
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap');

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --navy-deepest:   #060F1E;
  --navy-dark:      #0A1628;
  --navy-mid:       #0B1F4A;
  --navy-light:     #1E4A8C;
  --navy-accent:    #2B5BA8;
  --blue-soft:      #7BAFD4;
  --blue-pale:      #B5D0EE;
  --blue-bg:        #EEF4FB;
  --blue-bg-light:  #F5F7FA;

  --text-primary:   #0B1F4A;
  --text-secondary: #5A6B7C;
  --text-muted:     #7A8BA0;
  --border-light:   #E1E8F0;
  --border-mid:     #D8E3EE;
  --white:          #ffffff;

  --font-display:   'Syne', sans-serif;
  --font-body:      'DM Sans', sans-serif;

  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  12px;
  --radius-xl:  16px;

  --shadow-card: 0 1px 3px rgba(11,31,74,0.06), 0 4px 16px rgba(11,31,74,0.06);
  --shadow-nav:  0 1px 0 rgba(255,255,255,0.07);
  --transition:  all 0.2s ease;
}

/* ============================================================
   GLOBAL RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 0;
}

p { color: var(--text-secondary); line-height: 1.75; margin-bottom: 0; }

a { color: var(--navy-light); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--blue-soft); }

img { max-width: 100%; height: auto; display: block; }

/* ============================================================
   ASTRA OVERRIDES
   ============================================================ */
.ast-container { max-width: 1160px !important; }
#masthead { display: none !important; }
.site-content { padding-top: 0 !important; margin-top: 0 !important; }
.ast-breadcrumbs-wrapper { display: none; }
.entry-content { margin: 0 !important; padding: 0 !important; }
.post-navigation { display: none; }
.ast-blog-single-element { display: none; }
.site-footer { display: none !important; }
.entry-header { display: none !important; }

/* ASTRA LAYOUT FIX */
#masthead,
.site-header,
.ast-desktop-header,
.ast-mobile-header-wrap,
.main-header-bar,
.main-header-bar-wrap { display: none !important; }

.site-content,
#content,
.ast-container,
#primary,
.content-area { 
  padding: 0 !important; 
  margin: 0 !important; 
  max-width: 100% !important;
  width: 100% !important;
  float: none !important;
}

#secondary,
.widget-area,
.ast-sidebar-wrap { display: none !important; }

.entry-content,
.ast-article-single,
.post-page-content { 
  padding: 0 !important; 
  margin: 0 !important; 
}

.ast-page-title-bar,
.ast-page-title-wrap,
.entry-header,
.page-header { display: none !important; }

.logged-in .ugofx-nav { top: 32px; }
@media screen and (max-width: 782px) {
  .logged-in .ugofx-nav { top: 46px; }
}

/* FIX: force vertical stacking */
.site-content,
#content,
#primary,
.content-area,
.ast-container,
.site-content > *,
#content > *,
#primary > *,
.entry-content,
.entry-content > * {
  display: block !important;
  flex-direction: unset !important;
  flex-wrap: unset !important;
  grid-template-columns: unset !important;
}

/* Remove Astra content width constraints */
.ast-article-single,
.ast-page-content-wrap,
.ast-single-post-order {
  display: block !important;
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}
