/*
Theme Name: ApplicantFolio
Description: A responsive ApplicantFolio public theme that works alongside the ApplicantFolio work-center plugin.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: applicantfolio
*/

:root { --aft-navy: #112235; --aft-ink: #071d3a; --aft-copy: #596c86; --aft-blue: #1764e8; --aft-blue-dark: #0e4fb8; --aft-line: #dbe3ec; --aft-bg: #fbfaf7; --aft-soft: #edf5fc; }
body:not(.af-workspace-page) { margin: 0; background: var(--aft-bg); color: var(--aft-ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
body:not(.af-workspace-page) *, body:not(.af-workspace-page) *::before, body:not(.af-workspace-page) *::after { box-sizing: border-box; }
body:not(.af-workspace-page) a { color: inherit; }
body:not(.af-workspace-page) img { max-width: 100%; height: auto; }
body:not(.af-workspace-page) :focus-visible { outline: 3px solid #0a60dd; outline-offset: 4px; }
.aft-container { width: min(100% - 64px, 1280px); margin-inline: auto; }
.aft-skip-link { position: fixed; z-index: 10000; left: 15px; top: -80px; background: #fff; color: #071d3a; padding: 12px 18px; border: 2px solid var(--aft-blue); border-radius: 4px; }
.aft-skip-link:focus { top: 12px; }
.aft-site-header { position: relative; z-index: 30; background: #fff; border-bottom: 1px solid #edf0f3; }
.aft-header-inner { min-height: 84px; display: flex; align-items: center; gap: 62px; }
.aft-site-branding { flex: 0 0 auto; }
.aft-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--aft-ink) !important; font-size: 25px; line-height: 1; font-weight: 750; letter-spacing: -.045em; text-decoration: none; }
.aft-brand-mark { width: 37px; height: 37px; flex: none; }
.custom-logo-link { display: inline-block; line-height: 0; }
.custom-logo { max-height: 54px; width: auto; }
.aft-desktop-nav { flex: 1; }
.aft-nav-list { display: flex; align-items: center; gap: 40px; list-style: none; padding: 0; margin: 0; }
.aft-nav-list a, .aft-account-link { font-size: 15px; font-weight: 600; text-decoration: none; color: #1d314d; }
.aft-nav-list a:hover, .aft-nav-list .current-menu-item > a, .aft-nav-list a[aria-current="page"], .aft-account-link:hover { color: var(--aft-blue); }
.aft-header-actions { display: flex; align-items: center; gap: 30px; white-space: nowrap; }
.aft-button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 15px; padding: 14px 24px; border: 1px solid var(--aft-blue); border-radius: 7px; background: var(--aft-blue); color: #fff !important; font-size: 15px; line-height: 1.3; font-weight: 700; text-decoration: none; text-align: center; transition: background .15s ease, border-color .15s ease; }
.aft-button:hover { background: var(--aft-blue-dark); border-color: var(--aft-blue-dark); }
.aft-button-small { min-height: 44px; padding: 11px 20px; }
.aft-button-outline { color: var(--aft-blue) !important; background: #fff; border-color: #abc7ef; }
.aft-button-outline:hover { background: #eff6ff; border-color: var(--aft-blue); }
.aft-mobile-menu { display: none; margin-left: auto; }
.aft-mobile-menu summary { cursor: pointer; list-style: none; padding: 11px; border: 1px solid #d8e0e9; border-radius: 7px; }
.aft-mobile-menu summary::-webkit-details-marker { display: none; }
.aft-mobile-menu summary span { display: block; width: 21px; height: 2px; background: var(--aft-ink); margin: 4px 0; }
.aft-mobile-panel { position: absolute; top: calc(100% - 1px); left: 0; width: 100%; padding: 20px 24px 24px; border-bottom: 1px solid var(--aft-line); background: #fff; box-shadow: 0 12px 25px rgba(10, 33, 65, .08); }
.aft-mobile-panel .aft-nav-list { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
.aft-mobile-panel .aft-nav-list a { display: block; padding: 12px 0; }
.aft-mobile-panel .aft-button { margin-top: 12px; width: 100%; }
.aft-hero { overflow: hidden; background: linear-gradient(112deg, #fafcfd 10%, #f0f7fc 66%, #e8f3fb 100%); }
.aft-hero-grid { display: grid; grid-template-columns: .88fr 1.12fr; align-items: center; gap: 54px; min-height: 560px; padding-block: 78px 88px; }
.aft-hero-copy { position: relative; z-index: 1; }
.aft-eyebrow { margin: 0 0 18px; color: #287d76; font-size: 12px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.aft-hero h1, .aft-section h1, .aft-section h2, .aft-article-header h1 { margin: 0; color: #071d3a; font-size: clamp(38px, 4.35vw, 62px); line-height: 1.08; letter-spacing: -.055em; font-weight: 770; }
.aft-hero-description { max-width: 540px; margin: 22px 0 0; color: var(--aft-copy); font-size: 21px; line-height: 1.5; }
.aft-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.aft-hero-note { margin: 24px 0 0; color: #61718a; font-size: 13px; font-weight: 500; }
.aft-hero-note span { margin-right: 5px; color: #1b8c78; font-weight: 800; }
.aft-preview-wrap { position: relative; min-width: 0; padding-top: 22px; }
.aft-preview-wrap::before { content: ""; position: absolute; width: 80%; aspect-ratio: 1; max-height: 440px; border-radius: 50%; background: #dceefb; right: -8%; top: -12%; }
.aft-preview-caption { position: absolute; z-index: 2; top: -1px; right: 4px; color: #63758b; font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.aft-preview { position: relative; display: grid; grid-template-columns: 25% 75%; min-height: 360px; overflow: hidden; background: #fbfaf8; border: 1px solid #dce5ee; border-radius: 10px; box-shadow: 0 24px 55px rgba(28, 64, 104, .14); }
.aft-preview-sidebar { display: flex; flex-direction: column; background: #11263b; color: #d5e3ee; padding: 18px 10px; font-size: 10px; }
.aft-preview-logo { display: flex; align-items: center; gap: 5px; color: #fff; font-size: 11px; letter-spacing: -.03em; }
.aft-preview-logo span { color: #2c86fc; font-size: 23px; line-height: 1; font-weight: 900; }
.aft-preview-nav { display: grid; gap: 5px; margin-top: 23px; }
.aft-preview-nav span { display: block; padding: 8px; border-radius: 4px; white-space: nowrap; }
.aft-preview-nav .is-active { color: #fff; background: #1764e8; }
.aft-preview-help { margin-top: auto; padding: 13px 6px 0; border-top: 1px solid #50667b; }
.aft-preview-main { padding: 15px 18px 20px; min-width: 0; }
.aft-preview-account { display: flex; align-items: center; justify-content: flex-end; gap: 8px; font-size: 9px; color: #152d4a; }
.aft-preview-avatar { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #dceafb; color: #315578; }
.aft-preview-heading { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; margin: 17px 0 14px; }
.aft-preview-heading strong { display: block; font-size: clamp(18px, 2vw, 25px); line-height: 1; letter-spacing: -.04em; }
.aft-preview-heading small { display: block; margin-top: 6px; color: #61718c; font-size: 9px; }
.aft-preview-heading > span { padding: 5px 8px; color: #1162df; background: #e7f0fd; border-radius: 20px; font-size: 8px; font-weight: 700; }
.aft-preview-form { padding: 15px; background: #fff; border: 1px solid #e8ebef; border-radius: 7px; box-shadow: 0 4px 16px rgba(25, 47, 70, .035); }
.aft-preview-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 11px 14px; }
.aft-preview-fields b, .aft-preview-textarea b { display: block; margin-bottom: 5px; font-size: 9px; color: #2b3d5b; }
.aft-preview-form i { color: #d94f66; font-style: normal; }
.aft-preview-fields span, .aft-preview-textarea span { display: block; height: 29px; padding: 8px; color: #8593a7; border: 1px solid #d5dce5; border-radius: 4px; font-size: 9px; }
.aft-preview-fields em { float: right; color: #172d49; font-style: normal; }
.aft-preview-textarea { margin-top: 12px; }
.aft-preview-textarea span { height: 56px; }
.aft-preview-controls { display: flex; justify-content: space-between; gap: 8px; margin-top: 13px; padding-top: 12px; border-top: 1px solid #e8edf2; }
.aft-preview-controls div { display: flex; gap: 6px; }
.aft-preview-controls span { display: block; padding: 7px 9px; border: 1px solid #1764e8; border-radius: 4px; color: #1764e8; font-size: 8px; }
.aft-preview-controls div span:last-child { background: #1764e8; color: #fff; }
.aft-feature-strip { background: #fff; border-bottom: 1px solid #edf0f3; }
.aft-strip-grid { display: grid; grid-template-columns: repeat(3, 1fr); padding-block: 31px; }
.aft-strip-grid > div { display: flex; gap: 15px; padding: 0 28px; border-right: 1px solid #e9edf0; }
.aft-strip-grid > div:first-child { padding-left: 0; }
.aft-strip-grid > div:last-child { padding-right: 0; border-right: 0; }
.aft-strip-icon, .aft-card-icon { display: grid; place-items: center; flex: 0 0 auto; width: 48px; height: 48px; border-radius: 13px; background: #e3f4ef; color: #087b72; font-size: 24px; font-weight: 700; }
.aft-strip-grid h2 { margin: 2px 0 6px; font-size: 16px; letter-spacing: -.025em; }
.aft-strip-grid p { margin: 0; color: var(--aft-copy); font-size: 14px; line-height: 1.5; }
.aft-section { padding: 100px 0; }
.aft-section h1, .aft-section h2 { max-width: 690px; font-size: clamp(35px, 3.5vw, 49px); }
.aft-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 56px; margin-bottom: 38px; }
.aft-section-heading > div { max-width: 650px; }
.aft-section-heading > p, .aft-section-copy { max-width: 440px; margin: 0; color: var(--aft-copy); font-size: 17px; line-height: 1.65; }
.aft-card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.aft-feature-card { min-height: 146px; display: flex; align-items: flex-start; gap: 20px; padding: 27px; background: #fff; border: 1px solid var(--aft-line); border-radius: 10px; box-shadow: 0 6px 22px rgba(21, 45, 75, .025); }
.aft-feature-card .aft-card-icon, .aft-pricing-card .aft-card-icon, .aft-contact-card .aft-card-icon { width: 58px; height: 58px; color: #1764e8; background: #e9f3fd; }
.aft-feature-card h3, .aft-pricing-card h3, .aft-contact-card h3 { margin: 3px 0 8px; font-size: 20px; letter-spacing: -.035em; }
.aft-feature-card p, .aft-pricing-card p, .aft-contact-card p { margin: 0; color: var(--aft-copy); font-size: 15px; line-height: 1.6; }
.aft-section-note { margin: 20px 0 0; color: #687b91; font-size: 13px; }
.aft-pricing { background: #f0f6fb; }
.aft-pricing-grid, .aft-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 95px; align-items: center; }
.aft-pricing .aft-section-copy, .aft-contact .aft-section-copy { margin-top: 20px; }
.aft-pricing-card, .aft-contact-card { padding: 34px; background: #fff; border: 1px solid var(--aft-line); border-radius: 12px; box-shadow: 0 12px 32px rgba(28, 53, 80, .05); }
.aft-pricing-card .aft-card-icon, .aft-contact-card .aft-card-icon { margin-bottom: 23px; }
.aft-pricing-card .aft-card-label { margin-bottom: 9px; color: #1764e8; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.aft-pricing-card h3, .aft-contact-card h3 { font-size: 25px; }
.aft-text-link { display: inline-block; margin-top: 21px; color: var(--aft-blue) !important; font-size: 15px; font-weight: 700; text-decoration: none; }
.aft-text-link:hover { text-decoration: underline; }
.aft-contact { background: #fff; }
.aft-contact-topics { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.aft-contact-topics span { padding: 9px 12px; border: 1px solid #dbe8e6; border-radius: 20px; color: #286f6a; background: #f3faf8; font-size: 12px; font-weight: 700; }
.aft-contact-card .aft-contact-privacy { margin-top: 22px; padding-top: 17px; border-top: 1px solid #edf0f3; font-size: 13px; }
.aft-standalone { min-height: 590px; padding-top: 100px; }
.aft-site-footer { padding: 52px 0 26px; color: #dce7f2; background: var(--aft-navy); }
.aft-site-footer .aft-brand { color: #fff !important; }
.aft-footer-inner { display: flex; justify-content: space-between; gap: 35px; }
.aft-footer-about p { margin: 15px 0 0; color: #b4c4d3; font-size: 14px; }
.aft-site-footer nav { display: flex; flex-wrap: wrap; gap: 27px; padding-top: 10px; }
.aft-site-footer nav a { color: #e0e9f3; font-size: 14px; text-decoration: none; }
.aft-site-footer nav a:hover { text-decoration: underline; }
.aft-footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 50px; padding-top: 20px; border-top: 1px solid #405267; color: #a9bac9; font-size: 12px; }
.aft-article { min-height: 55vh; padding-block: 80px 100px; }
.aft-article-header { margin-bottom: 38px; }
.aft-article-header h1 { font-size: clamp(38px, 4vw, 55px); }
.aft-editor-content { max-width: 850px; color: #40556e; line-height: 1.7; overflow-wrap: anywhere; }
.aft-editor-content a { color: #0c5bcf !important; }
.aft-editor-content h2, .aft-editor-content h3, .aft-editor-content h4 { color: var(--aft-ink); }
.aft-editor-content input, .aft-editor-content textarea, .aft-editor-content select { max-width: 100%; padding: 11px; border: 1px solid #bac8d8; border-radius: 5px; font: inherit; }
.aft-post-card { margin-bottom: 20px; padding: 28px; border: 1px solid var(--aft-line); border-radius: 10px; background: #fff; }
.aft-post-card h1, .aft-post-card h2 { margin-top: 0; letter-spacing: -.03em; }
.aft-post-card h2 a { text-decoration: none; }
.aft-post-card h2 a:hover { color: var(--aft-blue); }

/* The plugin owns the complete workspace shell and styles. */
body.af-workspace-page { margin: 0; }
.af-workspace-page .aft-site-header, .af-workspace-page .aft-site-footer, .af-workspace-page .aft-skip-link { display: none; }
.af-workspace-page .aft-main { max-width: none; margin: 0; padding: 0; }
.aft-workspace-notice { max-width: 600px; margin: 12vh auto; padding: 32px; color: #112235; background: #fff; border: 1px solid #dbe3ec; border-radius: 10px; font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.aft-workspace-notice h1 { line-height: 1.2; }
.aft-workspace-notice a { color: #125bd0; }

@media (max-width: 1020px) {
 .aft-header-inner { gap: 30px; }
 .aft-nav-list { gap: 22px; }
 .aft-header-actions { gap: 16px; }
 .aft-hero-grid { gap: 30px; }
 .aft-preview-logo { font-size: 9px; }
 .aft-preview-nav { font-size: 9px; }
 .aft-pricing-grid, .aft-contact-grid { gap: 50px; }
}
@media (max-width: 800px) {
 .aft-container { width: min(100% - 40px, 1280px); }
 .aft-header-inner { min-height: 72px; }
 .aft-desktop-nav, .aft-header-actions { display: none; }
 .aft-mobile-menu { display: block; }
 .aft-hero-grid { grid-template-columns: 1fr; padding-block: 60px 65px; gap: 45px; }
 .aft-hero h1 { max-width: 650px; }
 .aft-hero-description { font-size: 19px; }
 .aft-preview-wrap { width: min(100%, 670px); }
 .aft-preview { min-height: 370px; }
 .aft-preview-nav, .aft-preview-logo { font-size: 11px; }
 .aft-strip-grid { gap: 22px; }
 .aft-strip-grid > div { padding: 0 18px; }
 .aft-strip-icon { width: 40px; height: 40px; }
 .aft-section { padding: 74px 0; }
 .aft-section-heading { display: block; }
 .aft-section-heading > p { margin-top: 18px; }
 .aft-pricing-grid, .aft-contact-grid { grid-template-columns: 1fr; gap: 32px; }
 .aft-standalone { min-height: 0; }
}
@media (max-width: 580px) {
 .aft-container { width: calc(100% - 32px); }
 .aft-brand { font-size: 22px; }
 .aft-brand-mark { width: 33px; height: 33px; }
 .aft-hero-grid { padding-block: 49px 55px; }
 .aft-hero h1 { font-size: 41px; }
 .aft-hero-description { font-size: 17px; }
 .aft-actions .aft-button { flex: 1 1 100%; }
 .aft-preview { grid-template-columns: 23% 77%; min-height: 305px; }
 .aft-preview-sidebar { padding: 13px 6px; }
 .aft-preview-logo { font-size: 0; }
 .aft-preview-logo span { font-size: 20px; }
 .aft-preview-nav { font-size: 0; }
 .aft-preview-nav span { height: 24px; }
 .aft-preview-nav span::first-letter { font-size: 12px; }
 .aft-preview-help { font-size: 0; }
 .aft-preview-main { padding: 12px; }
 .aft-preview-heading strong { font-size: 19px; }
 .aft-preview-form { padding: 10px; }
 .aft-preview-fields { gap: 8px; }
 .aft-preview-fields b, .aft-preview-textarea b, .aft-preview-fields span, .aft-preview-textarea span { font-size: 8px; }
 .aft-preview-controls span { padding: 6px; font-size: 7px; }
 .aft-strip-grid { grid-template-columns: 1fr; gap: 0; padding-block: 15px; }
 .aft-strip-grid > div, .aft-strip-grid > div:first-child, .aft-strip-grid > div:last-child { padding: 17px 0; border-right: 0; border-bottom: 1px solid #edf0f3; }
 .aft-strip-grid > div:last-child { border-bottom: 0; }
 .aft-card-grid { grid-template-columns: 1fr; }
 .aft-feature-card { padding: 22px; }
 .aft-section h1, .aft-section h2 { font-size: 36px; }
 .aft-pricing-card, .aft-contact-card { padding: 26px; }
 .aft-footer-inner, .aft-footer-bottom { flex-direction: column; }
 .aft-site-footer nav { gap: 18px 24px; }
 .aft-footer-bottom { margin-top: 35px; }
}
@media (prefers-reduced-motion: reduce) { .aft-button { transition: none; } }
