/* LJNZ Resume — Public CSS */
.ljnz-resume {
  --ljnz-accent: #0d1b2a;
  --ljnz-gold: #e8a838;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 0 40px;
  font-family: 'Lato', 'Helvetica Neue', sans-serif;
  color: #1a2b3c;
}

/* Actions bar */
.ljnz-resume-actions {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 16px;
}
.ljnz-action-btn {
  padding: 9px 20px;
  background: var(--ljnz-accent);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  letter-spacing: .02em;
  transition: opacity .15s;
}
.ljnz-action-btn:hover { opacity: .85; }

/* Inner card */
.ljnz-resume-inner {
  background: #fff;
  border: 1px solid #dde3ea;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 24px rgba(13,27,42,.1);
}

/* Header */
.ljnz-resume-header {
  background: #0d1b2a;
  padding: 40px 48px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.ljnz-resume-photo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(232,168,56,.4);
  flex-shrink: 0;
}
.ljnz-resume-identity { flex: 1; }
.ljnz-resume-header h1 {
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px;
  font-family: 'Playfair Display', Georgia, serif;
  letter-spacing: -.3px;
  line-height: 1.2;
}
.ljnz-resume-title {
  font-size: 14px;
  color: var(--ljnz-gold);
  margin: 0 0 14px;
  font-weight: 600;
  letter-spacing: .01em;
}
.ljnz-resume-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}
.ljnz-resume-contact a,
.ljnz-resume-contact span {
  font-size: 13px;
  color: rgba(255,255,255,.75);
  text-decoration: none;
}
.ljnz-resume-contact a:hover { color: var(--ljnz-gold); }

/* Sections */
.ljnz-resume-section {
  padding: 30px 48px;
  border-bottom: 1px solid #eef0f4;
}
.ljnz-resume-section:last-child { border-bottom: none; }

.ljnz-section-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #0d1b2a;
  margin: 0 0 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ljnz-gold);
  display: inline-block;
}

/* Summary */
.ljnz-summary {
  font-size: 14px;
  line-height: 1.8;
  color: #3a4a5a;
}

/* Entries */
.ljnz-resume-entry { margin-bottom: 22px; }
.ljnz-resume-entry:last-child { margin-bottom: 0; }

.ljnz-entry-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 7px;
}
.ljnz-entry-title {
  font-size: 15px;
  font-weight: 700;
  color: #0d1b2a;
  display: block;
  line-height: 1.3;
}
.ljnz-entry-org {
  font-size: 13px;
  color: #4a7fa5;
  display: block;
  margin-top: 3px;
  font-weight: 500;
}
.ljnz-entry-dates {
  font-size: 12px;
  color: #8a9aaa;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 3px;
  font-weight: 500;
}
.ljnz-entry-desc {
  font-size: 13.5px;
  line-height: 1.75;
  color: #3a4a5a;
  margin-top: 8px;
}

/* Skills */
.ljnz-skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.ljnz-skill-category {
  font-size: 11px;
  font-weight: 700;
  color: #0d1b2a;
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.ljnz-skill-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ljnz-skill-tag {
  padding: 4px 11px;
  background: #f0f4f8;
  color: #1a2b3c;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid #dde6f0;
}

/* Certifications */
.ljnz-cert-entry .ljnz-entry-title a { color: #0d1b2a; text-decoration: none; }
.ljnz-cert-entry .ljnz-entry-title a:hover { color: #4a7fa5; text-decoration: underline; }

/* Theme variants */
.ljnz-theme-minimal .ljnz-resume-header { background: #111; }
.ljnz-theme-minimal .ljnz-resume-title  { color: #ccc; }
.ljnz-theme-minimal .ljnz-section-title { color: #111; border-color: #111; }
.ljnz-theme-minimal .ljnz-entry-title   { color: #111; }
.ljnz-theme-minimal .ljnz-entry-org     { color: #555; }

.ljnz-theme-modern .ljnz-resume-header { background: #185FA5; }
.ljnz-theme-modern .ljnz-section-title { color: #185FA5; border-color: #378ADD; }
.ljnz-theme-modern .ljnz-entry-title   { color: #185FA5; }
.ljnz-theme-modern .ljnz-skill-tag     { background: #e6f1fb; color: #185FA5; border-color: #b5d4f4; }

/* Embed mode */
.ljnz-embed .ljnz-resume-actions { display: none; }
.ljnz-embed { padding: 0; margin: 0; }

/* Print */
@media print {
  .ljnz-resume-actions { display: none !important; }
  .ljnz-resume-inner { border: none !important; border-radius: 0 !important; box-shadow: none !important; }
  .ljnz-resume-header { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .ljnz-resume-section { padding: 20px 36px; }
  body * { visibility: hidden; }
  .ljnz-resume, .ljnz-resume * { visibility: visible; }
  .ljnz-resume { position: absolute; left: 0; top: 0; width: 100%; max-width: 100%; }
}

@media (max-width: 680px) {
  .ljnz-resume-header   { padding: 28px 24px; flex-direction: column; align-items: flex-start; }
  .ljnz-resume-section  { padding: 24px; }
  .ljnz-entry-meta      { flex-direction: column; gap: 2px; }
  .ljnz-entry-dates     { margin-top: 0; }
  .ljnz-skills-grid     { grid-template-columns: 1fr; }
}

/* ── Fix excess vertical gap between sections ── */
.ljnz-resume-section {
  padding-top: 24px !important;
  padding-bottom: 24px !important;
}

/* ── Ensure print button always shows ── */
.ljnz-resume-actions {
  display: flex !important;
  max-width: 960px;
  margin: 0 auto 12px;
  padding: 0 4px;
}

/* ── Stretch card closer to page edges ── */
.ljnz-resume {
  padding-left: 16px !important;
  padding-right: 16px !important;
}
