@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');
/* Partners Academy – additions on top of the original design (style.css). Uses the same brand tokens. */
:root {
  --pa-blue: #005ca8;
  --pa-blue-dark: #115791;
  --pa-ink: #222;
  --pa-muted: #6b7280;
  --pa-line: #e5e7eb;
  --pa-soft: #f4f7fb;
  --pa-gold: #ffc107;
  --pa-radius: 14px;
}
body { color: var(--text-color); font-family: var(--text-font); }
.pa-skip { position: absolute; left: 8px; top: 8px; z-index: 9999; background: #fff; padding: 8px 12px; border-radius: 6px; }
:focus-visible { outline: 3px solid var(--pa-gold); outline-offset: 2px; }
.pa-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* header fixes */
header .navbar-nav .dropdown-menu a { color: #333 !important; font-weight: 500 !important; padding: 6px 16px !important; }
header .search-field button#sell-button { border: 3px solid var(--pa-blue); }
header.scrolled .navbar-nav > li > a { color: #514c4c !important; }
div#header-container header.scrolled a.navbar-brand img { filter: none; }
.topbar .dropdown-menu .dropdown-item { font-size: 14px; color: #333; border: 0; margin: 0; padding: 6px 16px; }
.topbar .dropdown-menu form button { font-size: 14px; }
.topbar-menu .badge { font-size: 10px; }
header .nav-link.active { text-decoration: underline; text-underline-offset: 6px; }
.pa-flash-over { position: absolute; width: 100%; z-index: 20; top: 110px; }

/* buttons */
.pa-btn, a.pa-btn, button.pa-btn {
  display: inline-block; background: var(--pa-blue); color: #fff !important; border: 2px solid var(--pa-blue);
  padding: 9px 22px; border-radius: 40px; font-weight: 600; font-size: 15px; font-family: var(--text-font);
  transition: background .15s ease; cursor: pointer; line-height: 1.3;
}
.pa-btn:hover { background: var(--pa-blue-dark); border-color: var(--pa-blue-dark); }
.pa-btn-dark { background: #000; border-color: #000; }
.pa-btn-dark:hover { background: #333; border-color: #333; }
.pa-btn-outline { background: transparent; color: var(--pa-blue) !important; }
.pa-btn-outline:hover { background: var(--pa-soft); }
.pa-btn-sm { padding: 5px 14px; font-size: 13px; }
.pa-btn-danger { background: #c62828; border-color: #c62828; }
.pa-btn[disabled] { opacity: .5; pointer-events: none; }
.pa-link { color: var(--pa-blue); font-weight: 600; }

/* section scaffolding */
.pa-section { padding: 60px 0; }
.pa-section-soft { background: var(--pa-soft); }
.pa-page-head { padding-bottom: 20px; border-bottom: 1px solid #ccc; margin-bottom: 30px; }
.pa-h1 { color: var(--pa-blue); font-size: 2.6rem; }
.pa-card { background: #fff; border: 1px solid var(--pa-line); border-radius: var(--pa-radius); padding: 22px; box-shadow: 0 4px 18px rgba(16, 24, 40, .04); }
.pa-card h3 { font-size: 1.35rem; }
.pa-muted { color: var(--pa-muted); }
.pa-chip { display: inline-block; padding: 3px 12px; border-radius: 20px; background: #e8f0fb; color: var(--pa-blue); font-size: 12px; font-weight: 600; }
.pa-chip-gold { background: #fff4d1; color: #8a6100; }
.pa-chip-green { background: #e4f6e8; color: #1e7b34; }
.pa-chip-red { background: #fde8e8; color: #b42318; }
.pa-chip-grey { background: #eee; color: #555; }
.pa-prose { font-size: 16px; line-height: 1.75; color: #333; }
.pa-prose h2, .pa-prose h3 { margin-top: 1.4em; color: #1d1d1d; }
.pa-prose img { max-width: 100%; height: auto; border-radius: 8px; }
.pa-prose table { width: 100%; border-collapse: collapse; margin: 1em 0; }
.pa-prose td, .pa-prose th { border: 1px solid var(--pa-line); padding: 8px; }
.pa-prose blockquote { border-left: 4px solid var(--pa-blue); padding-left: 16px; color: #555; }

/* forms */
.pa-form label { font-weight: 500; font-size: 14px; margin-bottom: 4px; }
.pa-form .form-control, .pa-form .form-select { border-radius: 10px; padding: 10px 14px; }
.pa-select-round { border-radius: 40px !important; padding: 10px 18px; }
.pa-form .form-text { font-size: 12px; }
.is-invalid-msg { color: #b42318; font-size: 13px; }

/* avatars */
.pa-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pa-avatar-initials { background: #dbe8f7; color: var(--pa-blue); font-weight: 700; font-size: 15px; font-family: var(--text-font); }
.pa-avatar.lg { width: 110px; height: 110px; font-size: 34px; border: 4px solid #fff; box-shadow: 0 4px 14px rgba(0,0,0,.12); }
.pa-avatar.sm { width: 32px; height: 32px; font-size: 12px; }

/* empty / locked / states */
.pa-empty h3 { font-size: 1.6rem; }
.pa-locked { background: var(--pa-soft); border: 1px dashed #b9cde6; border-radius: var(--pa-radius); padding: 40px 20px; }
.pa-locked i { font-size: 40px; color: var(--pa-blue); }
.pa-locked .pa-btn { margin: 6px 4px 0; }
.pa-state { min-height: 55vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 60px 0; }
.pa-state .code { font-size: 120px; font-family: var(--heading-font); line-height: 1; }

/* pagination */
.pa-pagination .page-link { border-radius: 50% !important; margin: 0 4px; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; color: #333; border: 0; background: #eee; }
.pa-pagination .page-item.active .page-link { background: #3f51b5; color: #fff; }

/* filter bar used across hubs */
.pa-filters { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.pa-filters .form-select, .pa-filters .form-control { border-radius: 40px; border: 2px solid #ccc; padding: 9px 18px; max-width: 240px; }
.pa-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.pa-tabs a, .pa-tabs button { padding: 7px 18px; border-radius: 30px; background: #e4e4e4; color: #333; font-size: 14px; font-weight: 500; border: 0; }
.pa-tabs a.active, .pa-tabs button.active { background: var(--pa-blue); color: #fff; }

/* course cards (catalogue) */
.pa-course-card { background: #fff; border-radius: 12px; border: 1px solid #ebebeb; overflow: hidden; height: 100%; display: flex; flex-direction: column; position: relative; }
.pa-course-card img.cover { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.pa-course-card .body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.pa-course-card h3 { font-size: 1.15rem; font-family: var(--text-font); font-weight: 600; margin: 6px 0; color: #111; }
.pa-course-card .meta { font-size: 13px; color: var(--pa-muted); display: flex; gap: 14px; flex-wrap: wrap; }
.pa-course-card .foot { margin-top: auto; padding-top: 12px; display: flex; justify-content: space-between; align-items: center; }
.pa-course-card .price { font-weight: 700; color: #111; }
.pa-course-card .price s { color: #999; font-weight: 400; margin-right: 4px; }
.pa-course-card .badge-tl { position: absolute; top: 10px; left: 10px; }
.pa-course-card .badge-tr { position: absolute; top: 10px; right: 10px; }
.pa-stage { text-transform: uppercase; letter-spacing: .04em; font-size: 11px; font-weight: 700; color: var(--pa-blue); }

/* lesson player */
.pa-player-video { position: relative; padding-top: 56.25%; background: #000; border-radius: 10px; overflow: hidden; }
.pa-player-video iframe, .pa-player-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pa-lesson-nav { border-top: 1px solid #333; margin-top: 30px; padding-top: 16px; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.pa-lesson-nav a { color: var(--pa-blue); font-weight: 500; }
.pa-quiz-option { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 8px; padding: 10px 14px; margin-bottom: 8px; max-width: 560px; cursor: pointer; border: 2px solid transparent; }
.pa-quiz-option:has(input:checked) { border-color: var(--pa-blue); }
.pa-quiz-option.correct { border-color: #2e7d32; background: #eef8ef; }
.pa-quiz-option.wrong { border-color: #c62828; background: #fdeeee; }
.pa-progress { height: 8px; background: #e5e7eb; border-radius: 10px; overflow: hidden; }
.pa-progress > span { display: block; height: 100%; background: #2e7d32; }

/* certificate */
.pa-cert { max-width: 980px; margin: 30px auto; background: #fff; border: 12px solid var(--pa-blue-dark); outline: 3px solid var(--pa-gold); outline-offset: -24px; padding: 70px 60px; text-align: center; font-family: var(--heading-font); }
.pa-cert h1 { font-size: 46px; color: var(--pa-blue-dark); }
.pa-cert .name { font-size: 40px; border-bottom: 1px solid #ccc; display: inline-block; padding: 0 30px 6px; margin: 14px 0; }
@media print { header, footer, .topbar, .cookwrapper, .pa-no-print { display: none !important; } .pa-cert { margin: 0; } body { background: #fff; } }

/* community */
.pa-feed-post { background: #fff; border: 1px solid var(--pa-line); border-radius: var(--pa-radius); padding: 18px; margin-bottom: 16px; }
.pa-feed-post .who { display: flex; gap: 10px; align-items: center; }
.pa-feed-post .who a { color: #111; font-weight: 600; }
.pa-feed-post .actions { display: flex; gap: 16px; border-top: 1px solid var(--pa-line); margin-top: 12px; padding-top: 10px; font-size: 14px; }
.pa-feed-post .actions button, .pa-feed-post .actions a { background: none; border: 0; color: #555; padding: 0; }
.pa-feed-post .actions .liked { color: #d63384; }
.pa-feed-post img.post-img { max-width: 100%; border-radius: 10px; margin-top: 10px; }
.pa-comment { display: flex; gap: 8px; margin-top: 10px; font-size: 14px; }
.pa-comment .bubble { background: var(--pa-soft); border-radius: 12px; padding: 8px 12px; }
.pa-msg-list { max-height: 60vh; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; padding: 10px; background: var(--pa-soft); border-radius: 12px; }
.pa-msg { max-width: 75%; padding: 8px 14px; border-radius: 16px; background: #fff; align-self: flex-start; }
.pa-msg.mine { background: var(--pa-blue); color: #fff; align-self: flex-end; }
.pa-msg time { display: block; font-size: 11px; opacity: .7; }
.pa-member-card { text-align: center; padding: 24px 14px; background: #fff; border-radius: 12px; border: 1px solid var(--pa-line); height: 100%; }
.pa-member-card h3 { font-size: 1rem; font-family: var(--text-font); font-weight: 600; margin: 10px 0 2px; }

/* jobs */
.pa-job-row { display: flex; gap: 16px; align-items: center; padding: 18px; background: #fff; border: 1px solid var(--pa-line); border-radius: 12px; margin-bottom: 12px; }
.pa-job-row:hover { border-color: #b9cde6; }
.pa-job-row .logo { width: 56px; height: 56px; border-radius: 10px; background: var(--pa-soft); display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; font-weight: 700; color: var(--pa-blue); }
.pa-job-row .logo img { width: 100%; height: 100%; object-fit: contain; }
.pa-job-row h3 { font-size: 1.1rem; font-family: var(--text-font); font-weight: 600; margin: 0 0 4px; }
.pa-job-row h3 a { color: #111; }
.pa-job-row .meta { color: var(--pa-muted); font-size: 13px; display: flex; gap: 14px; flex-wrap: wrap; }
.pa-job-row.featured { border-left: 4px solid var(--pa-gold); }

/* account + admin side nav */
.pa-sidenav { background: #f2f2f2; border-radius: 6px; padding: 12px; }
.pa-sidenav a { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; color: #333; font-weight: 500; border-radius: 6px; font-size: 15px; }
.pa-sidenav a.active, .pa-sidenav a:hover { background: #fff; color: var(--pa-blue); }
.pa-table { width: 100%; background: #fff; border: 1px solid var(--pa-line); border-radius: 10px; overflow: hidden; }
.pa-table th { background: #303030; color: #fff; font-weight: 500; font-size: 13px; text-transform: uppercase; padding: 10px; }
.pa-table td { padding: 10px; border-top: 1px solid var(--pa-line); vertical-align: middle; font-size: 14px; }
.pa-stat { background: #fff; border-radius: 12px; border: 1px solid var(--pa-line); padding: 18px; }
.pa-stat .n { font-size: 28px; font-weight: 700; color: #111; }
.pa-stat .l { color: var(--pa-muted); font-size: 13px; }

/* calendar (advisory) */
.pa-cal { background: rgba(255,255,255,.08); border-radius: 12px; padding: 14px; color: #fff; }
.pa-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.pa-cal-grid .dow { font-size: 12px; opacity: .8; }
.pa-cal-grid button { background: transparent; border: 0; color: #fff; border-radius: 50%; width: 34px; height: 34px; margin: 0 auto; font-size: 14px; }
.pa-cal-grid button:disabled { opacity: .3; }
.pa-cal-grid button.available { background: rgba(255,255,255,.15); font-weight: 600; }
.pa-cal-grid button.selected { background: #000; }
.pa-slots { display: flex; flex-wrap: wrap; gap: 6px; }
.pa-slots button { background: #fff; color: #111; border: 0; border-radius: 8px; padding: 6px 12px; font-size: 13px; }
.pa-slots button.selected { background: #000; color: #fff; }
.pa-service { background: #fff; color: #111; border-radius: 8px; padding: 8px 14px; text-align: center; cursor: pointer; border: 2px solid transparent; }
.pa-service.selected { background: #000; color: #fff; }

/* awards */
.pa-phase { display: flex; gap: 0; overflow-x: auto; margin: 30px 0; }
.pa-phase div { flex: 1; min-width: 120px; text-align: center; padding: 12px 6px; border-bottom: 4px solid #ddd; color: #888; font-size: 14px; font-weight: 600; }
.pa-phase div.done { border-color: #9ec2e6; color: #4b6f94; }
.pa-phase div.current { border-color: var(--pa-blue); color: var(--pa-blue); }

/* deals */
.pa-deal-locked { filter: blur(3px); user-select: none; }

/* countdown */
.pa-countdown { display: flex; gap: 10px; justify-content: center; }
.pa-countdown div { background: rgba(255,255,255,.12); padding: 8px 12px; border-radius: 10px; min-width: 64px; text-align: center; }
.pa-countdown b { display: block; font-size: 24px; }

@media (max-width: 991px) {
  header .navbar-nav { align-items: flex-start; }
  header .navbar-collapse { background: #0c406f; padding: 20px; border-radius: 8px; }
  header .navbar-collapse .nav-link { color: #fff !important; padding: 8px 0 !important; }
  a.navbar-brand { width: 50%; }
  .pa-h1 { font-size: 2rem; }
  .pa-filters { justify-content: flex-start; margin-top: 12px; }
  .pa-cert { padding: 40px 20px; }
}

/* header logo sizing (more nav items than the original design) */
a.navbar-brand { flex: 0 0 auto; width: 170px; }
a.navbar-brand img { width: 100%; max-width: 170px; }
.course-content .pa-stage { position: static; display: block; margin-bottom: 2px; }
.advisory-box .pa-avatar.lg { margin: 0 auto 10px; display: flex; }

/* ---- courses & learning hub ---- */
.sc-checkout .pa-enrol-btn { width: 100%; background: #000; color: #fff; border: 0; border-radius: 40px; padding: 12px 20px; font-weight: 600; font-family: var(--text-font); }
.sc-checkout .pa-enrol-btn:hover { background: #222; }
.sc-checkout .pa-progress { background: rgba(255,255,255,.25); }
.sc-checkout .pa-countdown div { background: rgba(255,255,255,.15); color: #fff; }
.lession-plan li a[href="#price-box"] { cursor: not-allowed; }
.lession-section { padding: 30px 20px 40px; min-width: 0; }
.lession-section .pa-prose { max-width: 900px; }
.pa-lesson-head .pa-chip { margin-right: 6px; }
.course-menu2 .pa-course-title { padding: 18px 16px 4px; }
.course-menu2 .pa-course-title a { color: #111; font-weight: 600; font-family: var(--text-font); }
.lession-plan li.current > a { background: #e8f0fb; border-radius: 6px; }
.pa-exam-nav a { display: block; padding: 8px 12px; margin-bottom: 6px; background: #f2f2f2; border-radius: 6px; color: #555; font-size: 14px; }
.pa-exam-nav a.active { background: #d6e6fa; color: var(--pa-blue); font-weight: 600; }
.pa-exam-nav a.answered::after { content: " ✓"; color: #2e7d32; }
.pa-timer-ring { width: 100px; height: 100px; border-radius: 50%; border: 6px solid #2ecc71; display: flex; align-items: center; justify-content: center; margin: 0 auto 8px; font-size: 20px; font-weight: 600; }
.pa-quiz-card { background: #f5f5f5; border-radius: 12px; padding: 24px; }
.pa-quiz-card h2 { font-size: 1.35rem; color: #111; }
.pa-ring { position: relative; width: 180px; height: 180px; margin: 0 auto; }
.pa-ring svg circle:last-child { transition: none; }
@media (max-width: 991px) { .course-page-ind { grid-template-columns: 100%; } }
/* courses hub: price line in .course-container cards (design makes every span absolute) */
.course-container .course-content > .small span { position: static; padding: 0; font-size: inherit; }

/* ---- hubs: resources / deals / webinars / awards / advisory ---- */
.award-content h1 { color: #115791; font-size: 64px; }
@media (max-width: 767px) { .award-content h1 { font-size: 40px; } }
.embed-calender-form- .pa-cal button, .embed-calender-form- .pa-slots button { width: auto; font-size: 14px; font-weight: 500; padding: 0; border-radius: 50%; }
.embed-calender-form- .pa-cal [data-cal="prev"], .embed-calender-form- .pa-cal [data-cal="next"] { background: transparent; width: 34px; height: 34px; }
.embed-calender-form- .pa-cal-grid button { background: transparent; width: 34px; height: 34px; }
.embed-calender-form- .pa-cal-grid button.available { background: rgba(255,255,255,.18); }
.embed-calender-form- .pa-cal-grid button.selected { background: #000; }
.embed-calender-form- .pa-slots button { background: #fff; color: #111; border-radius: 8px; padding: 6px 12px; }
.embed-calender-form- .pa-slots button.selected { background: #000; color: #fff; }
.embed-calender-form- button[data-cal="submit"]:disabled { opacity: .5; }
.embed-calender-form- h3 { font-family: var(--text-font); }
.pa-service small { font-size: 12px; }
.deal-box h2 { white-space: normal; }
.webinar-hoster .pa-avatar { width: 40px; height: 40px; }
/* courses hub: sticky prev/next bar from the design – make it opaque so it never overlaps text */
.lession-section .footer-cta-section { background: #fff; box-shadow: 0 -6px 12px rgba(0,0,0,.04); z-index: 5; margin-top: 30px; }

/* ---- Community hub & jobs board (community/jobs fork) ---- */
.pa-comm-cover { height: 70px; background: linear-gradient(90deg, #e7e0e0, #dbe8f7); background-size: cover; background-position: center; }
.pa-comm-card { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; background: #fff; border: 1px solid var(--pa-line); border-radius: 0 0 var(--pa-radius) var(--pa-radius); padding: 18px 24px; }
.pa-comm-avatar { position: relative; margin-top: -50px; }
.pa-comm-avatar .badge-role { background-color: #115791; font-size: .7rem; padding: 4px 15px; border-radius: 20px; color: #fff; position: absolute; bottom: 0; left: 50%; transform: translate(-50%, 50%); white-space: nowrap; }
.pa-comm-card .profile-name { font-size: 1.6rem; }
.pa-comm-card .profile-username { color: #6c757d; font-size: .9rem; }
.pa-comm-card .stats span { margin-right: 14px; font-size: .9rem; }
.pa-comm-card .social-profile-community a { font-size: 20px; margin-right: 8px; color: #333; }
.pa-comm-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.pa-comm-tabs .nav-link { color: #333; font-weight: 500; border: 0; }
.pa-comm-tabs .nav-link.active { border: 0; border-bottom: 3px solid var(--pa-blue); color: var(--pa-blue); font-weight: 600; background: transparent; }
.pa-announce { border-left: 4px solid var(--pa-gold); }
.pa-post-body { white-space: normal; word-wrap: break-word; }
.pa-convo { padding: 14px 18px; border-bottom: 1px solid var(--pa-line); color: #222; }
.pa-convo:hover { background: var(--pa-soft); }
.pa-convo.unread { background: #f2f7fd; }
.pa-group-hero { background: var(--pa-blue-dark); color: #fff; padding: 34px 0; }
.pa-group-hero h1 { color: #fff; font-size: 2.2rem; }
.pa-group-img { width: 96px; height: 96px; border-radius: 16px; object-fit: cover; background: #fff; }
.group-container .pa-group-join { background: #115791; border: 0; padding: 6px 15px 8px; color: #fff; font-weight: 600; border-radius: 42px; font-size: 14px; }
.group-container h3 a, .group-container p a { background: none !important; padding: 0 !important; color: inherit !important; border-radius: 0; }
.group-thumbnail img { aspect-ratio: 1/1; object-fit: cover; }
.pa-member-card .pa-avatar.lg { margin: 0 auto; display: flex; width: 84px; height: 84px; font-size: 26px; }
@media (max-width: 767px) { .pa-comm-card { padding: 14px; gap: 12px; } .pa-comm-avatar { margin-top: -40px; } }

/* prevent off-screen cookie box causing horizontal scroll */
html, body { overflow-x: hidden; }
.pa-form .form-check-input { width: 1em; height: 1em; border: 1px solid #888; appearance: auto; -webkit-appearance: checkbox; position: static; opacity: 1; margin-right: 6px; }
/* outline buttons: fix specificity so a.pa-btn / button.pa-btn don't override the outline variant */
.pa-btn.pa-btn-outline { background: transparent; color: var(--pa-blue) !important; }
.pa-btn.pa-btn-outline:hover { background: var(--pa-soft); }
.pa-btn.pa-btn-dark { background: #000; border-color: #000; }
.pa-job-row .pa-chip { white-space: nowrap; }

/* responsive category grid (original used fixed 315px columns) */
.course-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important; row-gap: 12px; }
.course-grid .crouse-container { width: auto !important; }
.webinar-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important; gap: 16px; }
.related__row { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important; gap: 12px; }
button#sell-button { padding: 10px 25px !important; border-radius: 0 40px 42px 0; background: #005ca8; color: #fff; }
button#sell-button i { color: #fff; }

/* ===== v3 certificate design (A4 landscape) ===== */
.pa-cert2-wrap { overflow-x: auto; }
.pa-cert2 { width: 1100px; max-width: 100%; aspect-ratio: 297 / 210; margin: 0 auto; background: #fff; padding: 18px; box-shadow: 0 10px 40px rgba(13, 63, 110, .18);
  background-image: radial-gradient(circle at 50% 45%, rgba(0, 92, 168, .05), transparent 60%); position: relative; }
.pa-cert2 .frame { position: relative; height: 100%; border: 3px solid #0d3f6e; outline: 1px solid #d4a62a; outline-offset: -10px; padding: 34px 70px 26px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.pa-cert2 .corner { position: absolute; width: 46px; height: 46px; border: 3px solid #d4a62a; }
.pa-cert2 .corner.tl { top: 16px; left: 16px; border-right: 0; border-bottom: 0; }
.pa-cert2 .corner.tr { top: 16px; right: 16px; border-left: 0; border-bottom: 0; }
.pa-cert2 .corner.bl { bottom: 16px; left: 16px; border-right: 0; border-top: 0; }
.pa-cert2 .corner.br { bottom: 16px; right: 16px; border-left: 0; border-top: 0; }
.pa-cert2 .logo { height: 62px; width: auto; margin-bottom: 14px; }
.pa-cert2 .kicker { font-family: var(--heading-font); font-size: 40px; color: #0d3f6e; letter-spacing: .06em; text-transform: uppercase; line-height: 1.1; }
.pa-cert2 .presented, .pa-cert2 .for { font-family: var(--text-font); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: #6b7280; margin-top: 14px; }
.pa-cert2 .name { font-family: 'Great Vibes', 'Playfair Display', cursive; font-size: 64px; color: #a87b12; line-height: 1.15; margin: 4px 0 0; padding: 0 40px 4px; border-bottom: 1px solid #d4a62a; min-width: 60%; }
.pa-cert2 .course { font-family: var(--heading-font); font-size: 30px; font-weight: 700; color: #0d3f6e; margin-top: 6px; line-height: 1.2; }
.pa-cert2 .meta { font-family: var(--text-font); font-size: 13px; color: #444; margin-top: 8px; }
.pa-cert2 .sigrow { display: grid; grid-template-columns: 1fr 140px 1fr; align-items: end; gap: 20px; width: 100%; margin-top: auto; }
.pa-cert2 .sig { font-family: var(--text-font); font-size: 13px; color: #333; display: flex; flex-direction: column; align-items: center; }
.pa-cert2 .sig strong { font-size: 14px; color: #0d3f6e; }
.pa-cert2 .sig span { font-size: 12px; color: #6b7280; }
.pa-cert2 .sigline { border-bottom: 1px solid #555; width: 80%; height: 54px; display: flex; align-items: flex-end; justify-content: center; margin-bottom: 6px; }
.pa-cert2 .sigline img { max-height: 52px; max-width: 100%; }
.pa-cert2 .sigline .script { font-family: 'Great Vibes', cursive; font-size: 34px; color: #1d2a44; line-height: 1; }
.pa-cert2 .sigline .code { font-family: 'Courier New', monospace; font-size: 18px; letter-spacing: .12em; color: #0d3f6e; }
.pa-cert2 .seal { display: flex; justify-content: center; }
.pa-cert2 .foot { font-family: var(--text-font); font-size: 10.5px; color: #8a8f98; margin-top: 14px; line-height: 1.5; }
.pa-cert2.revoked { opacity: .35; filter: grayscale(1); }
@media (max-width: 1140px) { .pa-cert2 { width: 1100px; max-width: none; } }
@media print {
  @page { size: A4 landscape; margin: 0; }
  html, body { width: 297mm; height: 210mm; overflow: hidden !important; background: #fff !important; }
  body * { visibility: hidden; }
  .pa-cert2, .pa-cert2 * { visibility: visible; }
  .pa-cert2 { position: fixed; inset: 0; width: 297mm; height: 210mm; max-width: none; box-shadow: none; padding: 7mm; aspect-ratio: auto; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .pa-cert2-wrap { overflow: visible; }
}
.pa-cert2 .logo { height: 74px; margin-bottom: 22px; }
.pa-cert2 .kicker { font-size: 46px; }
.pa-cert2 .presented { margin-top: 26px; }
.pa-cert2 .name { font-size: 72px; margin-top: 10px; }
.pa-cert2 .for { margin-top: 22px; }
.pa-cert2 .course { font-size: 34px; margin-top: 10px; }
.pa-cert2 .meta { margin-top: 12px; font-size: 14px; }

/* ---- v3 instructor marketplace ---- */
.pa-teach-hero { padding: 70px 0 50px; background: linear-gradient(135deg, #eef4fb 0%, #fff 60%); }
.pa-teach-hero .lead { font-size: 1.15rem; }
.pa-teach-split { background: #115791; color: #fff; border-radius: 16px; padding: 26px; box-shadow: 0 10px 30px rgba(17,87,145,.25); }
.pa-teach-split .pa-split-row { display: flex; justify-content: space-between; margin-bottom: 10px; }
.pa-split-bar { display: flex; height: 46px; border-radius: 10px; overflow: hidden; font-weight: 600; font-size: 14px; }
.pa-split-bar .you { background: #ffc107; color: #222; display: flex; align-items: center; padding-left: 12px; }
.pa-split-bar .us { background: rgba(255,255,255,.25); display: flex; align-items: center; justify-content: center; min-width: 46px; }
.pa-step { position: relative; }
.pa-step i { font-size: 30px; color: var(--pa-blue); }
.pa-step .num { position: absolute; top: 14px; right: 18px; font-family: var(--heading-font); font-size: 34px; color: #e2eaf4; }
.pa-ticks { list-style: none; padding-left: 0; }
.pa-ticks li { padding-left: 28px; position: relative; margin-bottom: 8px; }
.pa-ticks li::before { content: "\2713"; position: absolute; left: 4px; color: #2e7d32; font-weight: 700; }
.pa-member-card .pa-avatar.lg { margin: 0 auto; }
.pa-steps { padding-left: 1.2rem; } .pa-steps li { margin-bottom: 10px; line-height: 1.6; }
/* keep the header search inside the container */
@media (min-width: 992px) {
  header .search-field input { width: 210px; }
  header ul.navbar-nav li a { padding: 0 8px !important; }
}
.cookwrapper:not(.show) { visibility: hidden; }
/* currency switcher */
.topbar .pa-currency .dropdown-item.active { background: #e8f0fb; color: #005ca8; }
.topbar .pa-currency > .nav-link { font-weight: 600; }
/* pricing buttons that are <button>s (checkout forms) look like the design's links */
.price-btn button { background: #4f4f4f; padding: 10px 30px; border-radius: 22px; color: #fff; font-weight: 500; display: block; width: 100%; border: 0; font-family: var(--text-font); }
.price-btn button:hover { background: #000; color: #fff; }
/* currency dropdown readable on the dark top bar */
.topbar .pa-currency .dropdown-menu { background: #fff; }
.topbar .pa-currency .dropdown-menu .dropdown-item { color: #333 !important; border: 0; margin: 0; padding: 6px 16px; font-size: 14px; }
.topbar .pa-currency .dropdown-menu .dropdown-item.active, .topbar .pa-currency .dropdown-menu .dropdown-item:hover { background: #e8f0fb; color: #005ca8 !important; }
.topbar .pa-currency > .nav-link, .topbar .pa-currency > .nav-link.show { color: #fff !important; }
