 /* ================================================
Solomon Katz, Ed.D. - Modern Refresh
Clean, minimal update to existing site structure
================================================ */

/* --- Google Font Import --- */
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,600;1,400&family=Source+Sans+3:wght@300;400;600&display=swap');

/* --- Base Reset & Typography --- */
body, html {
    font-family: 'Source Sans 3', sans-serif !important;
    font-size: 16px !important;
    line-height: 1.7 !important;
    color: #2c2c2c !important;
    background-color: #fafaf8 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* --- Override all inline font declarations --- */
body *, body *[style] {
    font-family: 'Source Sans 3', sans-serif !important;
    line-height: 1.7 !important;
}

/* --- Main page wrapper --- */
#body, #doc {
    max-width: 860px !important;
    margin: 0 auto !important;
    background: #ffffff !important;
    box-shadow: 0 0 40px rgba(0,0,0,0.06) !important;
}

/* --- HEADER --- */
#hd, #hd * {
    background: none !important;
    background-image: none !important;
    border: none !important;
}

#hd {
    background-color: #2e4a3e !important;
    padding: 36px 40px 30px !important;
    text-align: left !important;
}

#hd h1, #headerZoneElement h1, #headerZoneElement h1 span, #hd h1 span {
    font-family: 'Lora', Georgia, serif !important;
    font-size: 2.2rem !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    letter-spacing: 0.01em !important;
    line-height: 1.2 !important;
    margin: 0 0 6px 0 !important;
}

#hd p, #headerZoneElement p, #hd p span, #headerZoneElement p span {
    font-family: 'Lora', Georgia, serif !important;
    font-style: italic !important;
    font-size: 1.05rem !important;
    color: rgba(255,255,255,0.82) !important;
    margin: 0 !important;
    line-height: 1.5 !important;
}

/* --- NAVIGATION --- */
#wrapper[class*="navpos"], div[id="wrapper"] {
    background: #f0ede8 !important;
    border-bottom: 1px solid #ddd8d0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

ul#mainNav, ul[id="mainNav"], .navpos_north ul, nav ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 8px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0 !important;
    background: #f0ede8 !important;
}

ul#mainNav li, .navpos_north ul li {
    margin: 0 !important;
    padding: 0 !important;
    display: inline-block !important;
}

ul#mainNav li a, .navpos_north ul li a, ul#mainNav a, nav a {
    font-family: 'Source Sans 3', sans-serif !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    color: #3a3a3a !important;
    text-decoration: none !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    padding: 12px 14px !important;
    display: inline-block !important;
    border-bottom: 2px solid transparent !important;
    transition: color 0.2s, border-color 0.2s !important;
}

ul#mainNav li a:hover, .navpos_north ul li a:hover {
    color: #2e4a3e !important;
    border-bottom-color: #2e4a3e !important;
}

ul#mainNav li.active a, ul#mainNav li a.active {
    color: #2e4a3e !important;
    border-bottom-color: #2e4a3e !important;
}

img[src*="spacer.gif"], .small-icon-sprite {
    display: none !important;
}

/* --- CONTENT AREA --- */
#bd, #pageName, #Wrap, #ZA, .editorWrap {
    padding: 36px 40px !important;
    background: #ffffff !important;
}

#bd strong, #pageName strong, #bd h2, #bd h3, .editorWrap strong {
    font-family: 'Lora', Georgia, serif !important;
    font-size: 1.15rem !important;
    color: #2e4a3e !important;
    letter-spacing: 0.01em !important;
}

#bd p, #pageName p, .editorWrap p, #bd span, .editorWrap span {
    font-size: 1rem !important;
    color: #2c2c2c !important;
    margin-bottom: 0.9em !important;
}

#bd a, .editorWrap a, #pageName a {
    color: #2e4a3e !important;
    text-decoration: underline !important;
    text-decoration-color: rgba(46,74,62,0.35) !important;
}

#bd a:hover, .editorWrap a:hover {
    text-decoration-color: #2e4a3e !important;
}

#bd img, .editorWrap img {
    border-radius: 4px !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1) !important;
    max-width: 100% !important;
    height: auto !important;
}

/* --- FOOTER --- */
#fC, #footerContent, .footerZoneElement {
    background: #f0ede8 !important;
    border-top: 1px solid #ddd8d0 !important;
    padding: 24px 40px !important;
    font-size: 0.82rem !important;
    color: #888 !important;
    text-align: center !important;
}

#fC *, .footerZoneElement * {
    font-size: 0.82rem !important;
    color: #888 !important;
}

/* --- CONTACT form --- */
input[type="text"], input[type="email"], textarea, select {
    font-family: 'Source Sans 3', sans-serif !important;
    font-size: 0.95rem !important;
    border: 1px solid #ccc8c0 !important;
    border-radius: 3px !important;
    padding: 8px 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    background: #fafaf8 !important;
}

input[type="submit"], button[type="submit"] {
    font-family: 'Source Sans 3', sans-serif !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    background: #2e4a3e !important;
    color: #fff !important;
    border: none !important;
    border-radius: 3px !important;
    padding: 10px 28px !important;
    cursor: pointer !important;
}

audio, embed, object {
    display: block !important;
    margin: 12px 0 !important;
}

/* --- Mobile responsive --- */
@media (max-width: 640px) {
      #body, #doc { max-width: 100% !important; }
        #hd { padding: 24px 20px !important; }
          #hd h1, #headerZoneElement h1 span { font-size: 1.6rem !important; }
            ul#mainNav, .navpos_north ul { flex-direction: column !important; }
              ul#mainNav li a, .navpos_north ul li a { padding: 10px 16px !important; display: block !important; }
                #bd, #pageName, .editorWrap { padding: 24px 20px !important; }
                  #fC { padding: 20px !important; }
}

/* --- Award seal modules - all centered equally --- */
ul.module_bd_container {
      justify-content: center !important;
        align-items: flex-start !important;
}

li.module.service {
      width: 100% !important;
        flex: 0 0 100% !important;
          text-align: center !important;
}

li.module.service img {
      display: block !important;
        margin-left: auto !important;
          margin-right: auto !important;
            max-width: 100% !important;
              mix-blend-mode: multiply !important;
              box-shadow: none !important;
}

/* Higher specificity to beat #bd img shadow rule */
#bd li.module.service img,
#bd .module.service img {
    box-shadow: none !important;
    mix-blend-mode: multiply !important;
}

/* Review quotes: match font size */
.modWrap p strong, .modWrap p span,
#zB .modWrap p strong, #zB .modWrap p span,
#zC .modWrap p strong, #zC .modWrap p span {
      font-size: 16px !important;
}


li.module.service .modfield.description {
      width: 100% !important;
        text-align: center !important;
}

li.module.service .modfield.hd {
      text-align: center !important;
}

/* --- BEAUTY PAGE: Header large and centered --- */
#pageNameZoneContent h2, #pageNameZoneContent h2 span {
      font-size: 39px !important;
        text-align: center !important;
}

/* --- BEAUTY PAGE: Quote large italic, attribution small --- */
p#quote-main, p#quote-main span {
      font-size: 26px !important;
        font-style: italic !important;
          margin-bottom: 4px !important;
            text-align: center !important;
}

p#source-main, p#source-main strong, p#source-main span {
      font-size: 12px !important;
        font-style: normal !important;
          margin-top: 0 !important;
            text-align: center !important;
}

/* --- FOOTER: Remove empty line between name and phone --- */
.vcard .fn + br {
      display: none !important;
}

.phoneNumbers br {
      display: none !important;
}


/* ============================================
   UPDATES - Site polish
   ============================================ */

/* 1. Hide contact footer (ph, email, address) on all pages */
#fMisc {
  display: none !important;
}

/* 2. Remove gray background from sidebar zones - fixes award seal framing
   on "Where Thoughts and Stories End" and blank boxes on Excellence Reporter */
#zB, #zC {
  background: transparent !important;
}

/* 3. Remove box-shadow from images in sidebar zones (award seal clean look) */
#zB img, #zC img {
  box-shadow: none !important;
  mix-blend-mode: multiply !important;
}

/* 4. Hide empty module container on Excellence Reporter page */
.page-excellence-reporter .module_bd_container,
.page-excellence-reporter #mcontainer_zA\.1 {
  background: transparent !important;
  height: 0 !important;
  min-height: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
}

/* =====================================================
   UPDATES SESSION 2 - Additional Fixes
   ===================================================== */

/* 5. Fix page heading centering on pages with empty sidebars
   (Excellence Reporter, Beauty as a State of Being in China)
   - When zB/zC are empty, #pageName gets wider (796px vs 716px)
     causing the heading to appear 40px right of page content center
   - Fix: constrain #pageName and #pageNameContent to match #zA width */
/* pageName has padding: 36px 40px, so width=636px -> total box=716px matching #zA */
/* Global heading centering fix - remove horizontal padding from #pageName on all pages */
#pageName {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
#pageNameContent {
  padding-left: 0 !important;
  padding-right: 0 !important;
  text-align: center !important;
}

.page-excellence-reporter #pageName,
.page-beauty-china #pageName {
  width: 716px !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.page-excellence-reporter #pageNameContent,
.page-beauty-china #pageNameContent {
  width: 716px !important;
}

/* 6. Collapse remaining empty zB/zC space on Excellence Reporter
   (they are transparent but still take up vertical space) */
.page-excellence-reporter #zB,
.page-excellence-reporter #zC {
  height: 0 !important;
  min-height: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* 7. Songs page: Style the "Listen" audio play buttons
   to match the style on the audio readings page */
.page-songs dt.title_n_anchors {
  display: flex !important;
  align-items: center !important;
  gap: 0.7em !important;
  justify-content: center !important;
}
.page-songs dt.title_n_anchors a.htrack {
  display: inline-block !important;
  text-decoration: none !important;
}
.page-songs dt.title_n_anchors a.htrack::before {
  content: "\25B6 Listen" !important;
  font-family: 'Source Sans 3', sans-serif !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  color: #fff !important;
  background: #2e4a3e !important;
  padding: 2px 8px !important;
  border-radius: 3px !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  display: inline-block !important;
}
.page-songs dt.title_n_anchors a.ymp-download {
  display: none !important;
}
.page-songs .title_n_anchors .title {
  font-family: 'Lora', Georgia, serif !important;
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  color: #2e4a3e !important;
}

/* 8. Contact page: Style Submit button and hide Reset button */
.fe_reset {
  display: none !important;
}
button.fe_submit,
.fe_submit {
  background: #2e4a3e !important;
  color: #fff !important;
  border: none !important;
  border-radius: 4px !important;
  padding: 8px 24px !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  font-family: 'Source Sans 3', sans-serif !important;
  letter-spacing: 0.03em !important;
}
#bd button.fe_submit span,
#bd .fe_submit span {
  all: unset !important;
  color: white !important;
  display: inline !important;
}
button.fe_submit:hover {
  background: #1e3228 !important;
}

/* 9. Interviews page: Style the interview link sections */
.page-interviews #zB,
.page-interviews #zC {
  position: relative !important;
}

/* Home page (page 1) heading - Clinical Psychology - match other page headings */
#bd #pageNameZoneContent span,
#bd #pageNameZoneContent strong {
  font-family: Lora, Georgia, serif !important;
  font-size: 39px !important;
  font-weight: 700 !important;
  color: #2e4a3e !important;
  text-transform: uppercase !important;
  letter-spacing: 0.01em !important;
  text-align: center !important;
  display: block !important;
  line-height: 1.2 !important;
}

/* Hide Turbify copyright and web hosting footer */
#ft {
  display: none !important;
}