/* EggyPDF blog-only UX layer.
   Desktop navigation/layout is untouched. Mobile navigation activates <=760px. */

/* Unified article typography across every EggyPDF blog article. */
.article-body,
.post-content{
  font-family:'Inter',Arial,sans-serif !important;
  font-size:16px !important;
  line-height:1.78 !important;
  color:#374151;
}
.article-body p,.article-body li,
.post-content p,.post-content li{
  font-family:'Inter',Arial,sans-serif !important;
  font-size:16px !important;
  line-height:1.78 !important;
}
.article-body h2,.article-body h3,
.post-content h2,.post-content h3{
  font-family:'Inter',Arial,sans-serif !important;
}

/* Whole blog cards are actionable, not only the Read Article link. */
.post-card,.featured-post{cursor:pointer}
.post-card:focus-visible,.featured-post:focus-visible{
  outline:3px solid rgba(245,166,35,.35);
  outline-offset:3px;
}

/* Article CTA buttons must beat generic .post-content a link styling. */
.post-content .cta-btn,
.article-body .cta-btn,
.cta-box .cta-btn{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  color:#fff !important;
  text-decoration:none !important;
  background:#f5a623 !important;
  font-family:'Inter',Arial,sans-serif !important;
  font-weight:800 !important;
  line-height:1.2 !important;
  min-height:44px;
}
.post-content .cta-btn:hover,
.article-body .cta-btn:hover,
.cta-box .cta-btn:hover{background:#d4881a !important;color:#fff !important}

.eggy-blog-menu-toggle,.eggy-blog-mobile-menu{display:none}

@media(max-width:760px){
  html,body{overflow-x:hidden}
  header{padding-left:10px !important;padding-right:10px !important}
  header .header-inner,header .hdr{
    max-width:none !important;
    width:100%;
    height:60px !important;
    gap:6px !important;
  }
  header .logo,header .logo-name{
    flex:0 0 auto;
    white-space:nowrap;
    font-size:1rem !important;
    margin:0 !important;
  }
  header .logo-wrap{
    flex:0 0 auto !important;
    gap:6px !important;
    min-width:0;
  }
  header .logo-svg{width:34px !important;height:34px !important}
  header .header-actions{
    margin-left:auto !important;
    gap:4px !important;
    min-width:0;
    flex:0 1 auto;
  }

  /* Old desktop nav disappears only on mobile. */
  header .nav-links,
  header .hdr>nav{
    display:none !important;
  }

  /* Keep auth visible; Career Pro is available inside the mobile menu. */
  header #eggyAccountSlot{
    margin-left:auto !important;
    gap:5px !important;
    min-width:0;
  }
  header #eggyAccountSlot>.eggy-account-link{
    display:none !important;
  }
  header #eggyAccountSlot .eggy-account-btn{
    padding:7px 8px !important;
    font-size:10.5px !important;
  }

  .eggy-blog-menu-toggle{
    display:inline-flex;
    width:38px;
    height:38px;
    flex:0 0 38px;
    align-items:center;
    justify-content:center;
    border:1.5px solid #f5a623;
    border-radius:999px;
    background:#fff;
    color:#1a1a2e;
    cursor:pointer;
    padding:0;
  }
  .eggy-blog-menu-toggle svg{width:19px;height:19px;stroke:currentColor}
  .eggy-blog-menu-toggle[aria-expanded="true"]{background:#fff8ed}

  .eggy-blog-mobile-menu{
    position:fixed;
    display:none;
    top:68px;
    left:10px;
    right:10px;
    z-index:10020;
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:16px;
    box-shadow:0 18px 48px rgba(17,24,39,.18);
    padding:8px;
  }
  .eggy-blog-mobile-menu.open{display:block}
  .eggy-blog-mobile-menu a{
    display:flex;
    align-items:center;
    justify-content:space-between;
    min-height:44px;
    padding:10px 12px;
    border-radius:10px;
    color:#1a1a2e;
    font:600 14px/1.25 'Inter',Arial,sans-serif;
    text-decoration:none;
  }
  .eggy-blog-mobile-menu a:hover,.eggy-blog-mobile-menu a:focus-visible{background:#fff8ed;outline:none}
  .eggy-blog-mobile-menu a.career-pro{color:#b87312;font-weight:800}
  .eggy-blog-mobile-menu a.career-pro::after{content:'Pro';font-size:10px;background:#fff3d6;border:1px solid #f5a623;border-radius:999px;padding:3px 7px}

  /* Cleaner reading width on phones. */
  .article-wrap,.post-wrap{padding-left:18px !important;padding-right:18px !important}
}

@media(max-width:360px){
  header .logo,header .logo-name{font-size:.92rem !important}
  header #eggyAccountSlot .eggy-account-btn{padding:7px 7px !important;font-size:10px !important}
  .eggy-blog-menu-toggle{width:36px;height:36px;flex-basis:36px}
}
