/* =========================================================
   blog.css — blog listing, single post, and admin dashboard.
   Reuses the design tokens from base.css.
   ========================================================= */

/* ---------- Sub-page hero ---------- */
.page-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1000px 560px at 80% -10%, rgba(124, 179, 66, 0.28), transparent 60%),
    radial-gradient(820px 520px at 8% 18%, rgba(48, 84, 150, 0.50), transparent 55%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 60%, var(--navy-deeper) 100%);
  color: #fff; text-align: center;
  margin-top: -190px; /* slide under the (tall) sticky header */
  padding: calc(clamp(52px, 8vw, 96px) + 190px) 0 clamp(96px, 12vw, 150px);
}
/* slow breathing glow (heroGlow keyframe from hero.css) */
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(560px 380px at 50% 32%, rgba(124, 179, 66, 0.16), transparent 70%);
  animation: heroGlow 9s ease-in-out infinite;
}
/* banner photo behind the gradient — low opacity keeps the white text legible */
.page-hero-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.2;
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero .spark { animation: twinkle 5s ease-in-out infinite; }
.page-hero h1 { color: #fff; }
/* animated green sheen on the accent word (accentShimmer from hero.css) */
.page-hero h1 .accent {
  background: linear-gradient(100deg, #8fd14f 0%, #c8efa0 50%, #8fd14f 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: accentShimmer 6s linear infinite;
}
.page-hero p { color: rgba(255, 255, 255, 0.82); max-width: 620px; margin: 18px auto 0; font-size: 1.1rem; }
.page-hero .eyebrow { justify-content: center; color: var(--green-bright); }

/* ---------- Blog grid ---------- */
.blog-section { padding: clamp(60px, 8vw, 100px) 0; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

.post-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px); text-decoration: none; color: inherit;
  transition: transform .3s ease, box-shadow .3s ease, border-color .4s ease, background-color .4s ease;
}
.post-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lift); border-color: rgba(124, 179, 66, 0.5); }
/* optional cover photo — bleeds to the card edges (cancels the 30px padding) */
.post-cover { margin: -30px -30px 22px; overflow: hidden; }
.post-cover img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .4s ease; }
.post-card:hover .post-cover img { transform: scale(1.05); }
.post-card .meta { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; font-size: 0.8rem; }
.post-tag {
  font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.72rem;
  color: var(--green); background: rgba(124, 179, 66, 0.12);
  border: 1px solid rgba(124, 179, 66, 0.3); padding: 4px 10px; border-radius: 100px;
}
.post-date { color: var(--muted); }
.post-card h3 { color: var(--heading); margin-bottom: 10px; font-size: 1.2rem; line-height: 1.3; }
.post-card p { font-size: 0.96rem; flex: 1; }
.post-card .read-more { margin-top: 18px; color: var(--green); font-weight: 700; font-size: 0.92rem; }

.blog-empty { text-align: center; color: var(--muted); padding: 60px 0; }

/* ---------- Single post ---------- */
.article { max-width: 760px; margin: 0 auto; }
.article .back { display: inline-flex; align-items: center; gap: 8px; color: var(--green); font-weight: 700; margin-bottom: 28px; }
/* optional cover photo at the top of an article */
.article-cover { margin: 0 0 30px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); }
.article-cover img { display: block; width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.article-head { margin-bottom: 34px; }
.article-head h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
.article-head .meta { display: flex; gap: 12px; align-items: center; margin-top: 18px; font-size: 0.85rem; }

.article-body { font-size: 1.1rem; line-height: 1.8; color: var(--ink); }
.article-body h2 { font-size: 1.6rem; margin: 38px 0 14px; }
.article-body h3 { font-size: 1.3rem; margin: 30px 0 12px; }
.article-body h4 { font-size: 1.1rem; margin: 24px 0 10px; }
.article-body p { color: var(--ink); margin-bottom: 20px; }
.article-body ul, .article-body ol { margin: 0 0 20px 22px; }
.article-body li { margin-bottom: 8px; color: var(--ink); }
.article-body blockquote {
  margin: 0 0 20px; padding: 12px 18px;
  border-left: 3px solid var(--green); border-radius: 0 8px 8px 0;
  background: rgba(124, 179, 66, 0.08); color: var(--ink);
}
.article-body del { color: var(--muted); }
.article-body u { text-decoration: underline; text-underline-offset: 2px; }
.article-body a { color: var(--green); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.article-body code { background: var(--pill-bg); border: 1px solid var(--pill-border); padding: 2px 7px; border-radius: 6px; font-size: 0.92em; }
.article-body strong { color: var(--heading); }

/* ---------- Admin ---------- */
.admin-wrap { max-width: 920px; margin: 0 auto; }

.login-card {
  max-width: 420px; margin: 0 auto;
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--radius-lg); padding: 38px; box-shadow: var(--shadow-soft); backdrop-filter: blur(10px);
}
.login-card h2 { margin-bottom: 6px; }
.login-card .sub { color: var(--muted); margin-bottom: 26px; font-size: 0.95rem; }

.admin-bar { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.admin-bar h2 { margin: 0; }
.admin-bar .right { display: flex; gap: 12px; align-items: center; }

/* dashboard tabs: Blog posts | Jobs */
.admin-tabs { display: flex; gap: 8px; }
.admin-tab {
  background: transparent; border: 1px solid var(--line); color: var(--muted);
  border-radius: 100px; padding: 9px 20px; font-weight: 700; cursor: pointer; font-size: 0.92rem;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.admin-tab:hover { color: var(--ink); border-color: var(--green); }
.admin-tab.is-active { background: var(--green); color: #fff; border-color: var(--green); }

.btn-sm { padding: 10px 18px; font-size: 0.9rem; }
.btn-outline {
  background: transparent; border: 1px solid var(--line); color: var(--ink);
  border-radius: 100px; padding: 10px 18px; font-weight: 700; cursor: pointer; font-size: 0.9rem;
  transition: border-color .2s ease, color .2s ease;
}
.btn-outline:hover { border-color: var(--green); color: var(--green); }
.btn-danger { background: #e1463c; color: #fff; }
.btn-danger:hover { background: #c93a31; }

.admin-list { display: flex; flex-direction: column; gap: 14px; margin-top: 10px; }
/* group headers: "Published" and "Archive" */
.admin-group-title {
  font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--muted); font-weight: 800; margin: 30px 0 4px;
}
.admin-group-title:first-child { margin-top: 4px; }
.admin-group-title span { font-weight: 600; text-transform: none; letter-spacing: 0; }
.admin-group-empty { color: var(--muted); font-size: 0.9rem; padding: 2px 2px 6px; }
.admin-row {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between;
  background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 14px; padding: 16px 20px;
}
.admin-row .info { min-width: 0; }
.admin-row .info h4 { color: var(--heading); font-size: 1.02rem; margin-bottom: 4px; }
.admin-row .info .small { font-size: 0.8rem; color: var(--muted); }
.admin-row .actions { display: flex; gap: 8px; }
.badge-draft { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  color: #b26a00; background: rgba(214, 158, 46, 0.16); border: 1px solid rgba(214, 158, 46, 0.4);
  padding: 2px 8px; border-radius: 100px; margin-left: 8px; }

.editor { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--radius-lg);
  padding: 30px; box-shadow: var(--shadow-soft); margin-top: 26px; }
.editor h3 { margin-bottom: 20px; }
.editor .row2 { display: grid; grid-template-columns: 1fr 220px; gap: 18px; }
.editor .hint { font-size: 0.82rem; color: var(--muted); margin-top: 6px; }
.editor .check { display: flex; align-items: center; gap: 8px; margin: 6px 0 18px; color: var(--ink); font-weight: 600; font-size: 0.92rem; }
.editor .check input { width: auto; }
.editor .editor-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.preview {
  border: 1px dashed var(--card-border); border-radius: 14px; padding: 20px 24px; margin-top: 20px;
  background: rgba(127, 127, 127, 0.04);
}
.preview .preview-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--green); font-weight: 700; margin-bottom: 12px; }

.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--navy); color: #fff; padding: 13px 22px; border-radius: 100px;
  box-shadow: var(--shadow-lift); font-weight: 600; font-size: 0.92rem;
  opacity: 0; pointer-events: none; transition: opacity .3s ease, transform .3s ease; z-index: 200;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.error { background: #c93a31; }

.form-error { color: #e1463c; font-size: 0.9rem; margin-top: 12px; min-height: 1.2em; }

/* ---------- Shared form controls (used by contact, login & editor) ---------- */
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 8px; color: var(--ink); }

/* ---------- Markdown formatting toolbar (admin Body editor) ----------
   A floating white "pill" of icon buttons with hover tooltips. */
.md-toolbar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 2px;
  width: fit-content; max-width: 100%; margin-bottom: 12px; padding: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 12px 28px -18px rgba(20, 38, 74, 0.45);
}
.md-btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; padding: 0; flex: none;
  color: var(--heading); background: transparent;
  border: none; border-radius: 9px; cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.md-btn:hover { background: rgba(124, 179, 66, 0.14); }
.md-btn:active { background: rgba(124, 179, 66, 0.24); }
.md-btn svg { width: 19px; height: 19px; }
/* serif glyphs for H / B / I / S to match the reference look */
.md-btn .md-g { font-family: Georgia, "Times New Roman", serif; font-size: 1.15rem; font-weight: 700; line-height: 1; }
.md-btn .md-g-h { font-weight: 800; }
.md-btn .md-g-i { font-style: italic; }
.md-btn .md-g-u { text-decoration: underline; text-underline-offset: 2px; }
.md-btn .md-g-s { text-decoration: line-through; }
.md-sep { width: 1px; height: 22px; margin: 0 5px; background: var(--line); flex: none; }

/* dark hover tooltip below each button */
.md-btn::after {
  content: attr(data-tip);
  position: absolute; top: calc(100% + 9px); left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #2f3542; color: #fff; font-size: 0.78rem; font-weight: 600;
  white-space: nowrap; padding: 5px 10px; border-radius: 7px;
  opacity: 0; pointer-events: none; z-index: 6;
  transition: opacity .15s ease, transform .15s ease;
}
.md-btn::before {
  content: ""; position: absolute; top: calc(100% + 4px); left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent; border-bottom-color: #2f3542;
  opacity: 0; pointer-events: none; z-index: 6; transition: opacity .15s ease;
}
.md-btn:hover::after { opacity: 1; transform: translateX(-50%) translateY(0); }
.md-btn:hover::before { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .md-btn::after, .md-btn::before { transition: none; }
}
.field input, .field textarea {
  width: 100%; font-family: var(--font); font-size: 1rem; color: var(--input-text);
  padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--input-bg);
  transition: border-color .2s ease, box-shadow .2s ease, background-color .4s ease, color .4s ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(124, 179, 66, 0.15);
}
/* inline validation states */
.field input.invalid { border-color: #e1463c; }
.field input.invalid:focus { box-shadow: 0 0 0 4px rgba(225, 70, 60, 0.14); }
.field input.valid { border-color: var(--green); }
.field-error { display: block; min-height: 1.1em; margin-top: 6px; font-size: 0.82rem; color: #c93a31; }

/* reassurance note above the resume upload on the contact form */
.resume-note {
  margin: 2px 0 18px; padding: 12px 15px; border-radius: 12px;
  background: rgba(124, 179, 66, 0.1); border: 1px solid rgba(124, 179, 66, 0.28);
  color: var(--ink); font-size: 0.9rem; line-height: 1.5;
}
.resume-note strong { color: var(--heading); }

/* ---------- Careers / Jobs ---------- */
/* announcement banner: big, wide + animated so it's the first thing you see —
   makes it clear roles are open and that you apply with a resume. */
.careers-announce {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  max-width: 720px; margin: 0 auto 30px; padding: 18px 22px;
  border-radius: 16px;
  background: linear-gradient(120deg, rgba(124, 179, 66, 0.2), rgba(63, 109, 181, 0.14) 55%, rgba(124, 179, 66, 0.18));
  border: 1.5px solid rgba(124, 179, 66, 0.5);
  box-shadow: 0 14px 34px -20px rgba(30, 58, 110, 0.55);
  animation: caGlow 3.4s ease-in-out infinite, caIn .6s cubic-bezier(.2, .7, .2, 1) both;
}
/* sheen that sweeps across every few seconds */
.careers-announce::before {
  content: ""; position: absolute; top: 0; left: -60%; width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.38), transparent);
  transform: skewX(-18deg); animation: caShine 5s ease-in-out infinite; pointer-events: none;
}
.careers-announce > * { position: relative; z-index: 1; }

/* bobbing megaphone badge */
.ca-icon {
  flex: none; width: 50px; height: 50px; border-radius: 14px;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--green), #6ba23a);
  box-shadow: 0 9px 20px -6px rgba(124, 179, 66, 0.6);
  animation: caIconBob 3s ease-in-out infinite;
} 
.ca-icon svg { width: 26px; height: 26px; }

.ca-body { flex: 1; min-width: 230px; display: flex; flex-direction: column; gap: 9px; }
.ca-badge {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 7px;
  background: linear-gradient(135deg, var(--green), #6ba23a); color: #fff;
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 13px; border-radius: 100px; box-shadow: 0 6px 16px -4px rgba(124, 179, 66, 0.6);
}
.ca-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #fff; flex: none;
  animation: caPulse 1.8s ease-out infinite;
}
.ca-text { margin: 0; color: var(--ink); font-size: 1.02rem; line-height: 1.5; font-weight: 500; }
.ca-text strong { color: var(--heading); font-weight: 800; }

/* calmer "no openings" state — swaps the green hiring accents for navy and
   drops the attention glow/sheen so it doesn't scream "we're hiring" */


/* ---------- Keep hiring banner GREEN in all states ---------- */

.careers-announce.is-quiet {
    background: linear-gradient( 120deg, rgba(124, 179, 66, 0.20), rgba(255, 255, 255, 0.08) 55%, rgba(124, 179, 66, 0.18) );
    border-color: rgba(124, 179, 66, 0.50);
    animation: caGlow 3.4s ease-in-out infinite, caIn .6s cubic-bezier(.2, .7, .2, 1) both;
}

    /* Keep the same GREEN megaphone icon */
    .careers-announce.is-quiet .ca-icon {
        background: linear-gradient( 135deg, var(--green), #6ba23a );
        box-shadow: 0 9px 20px -6px rgba(124, 179, 66, 0.60);
        animation: caIconBob 3s ease-in-out infinite;
    }

    /* Keep the same GREEN hiring badge */
    .careers-announce.is-quiet .ca-badge {
        background: linear-gradient( 135deg, var(--green), #6ba23a );
        box-shadow: 0 6px 16px -4px rgba(124, 179, 66, 0.60);
        animation: caBadgeBlink 1.5s ease-in-out infinite;
    }

    /* Keep the white dot blinking */
    .careers-announce.is-quiet .ca-dot {
        animation: caPulse 1.8s ease-out infinite;
    }
}
.careers-announce.is-quiet .ca-dot { animation: none; }

@keyframes caPulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
  70%  { box-shadow: 0 0 0 9px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}
@keyframes caGlow {
  0%, 100% { box-shadow: 0 20px 50px -22px rgba(30, 58, 110, 0.6), 0 0 0 0 rgba(124, 179, 66, 0); }
  50%      { box-shadow: 0 22px 56px -20px rgba(30, 58, 110, 0.65), 0 0 30px 2px rgba(124, 179, 66, 0.3); }
}
@keyframes caShine { 0% { left: -60%; } 55%, 100% { left: 120%; } }
@keyframes caIconBob {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}
@keyframes caBadgeBlink {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.45;
        transform: scale(1.04);
    }
}
@keyframes caIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .careers-announce, .careers-announce::before, .ca-dot, .ca-icon { animation: none; }
}
@media (max-width: 560px) {
  .careers-announce { padding: 24px 22px; gap: 18px; }
  .ca-text { font-size: 1.08rem; }
}

/* listing: compact, clickable cards (title + location + type only) */
.job-list { display: grid; grid-template-columns: 1fr; gap: 20px; max-width: 720px; margin: 0 auto; }
.job-card {
  display: flex; flex-direction: column;
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 26px 28px; box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px); text-decoration: none; color: inherit;
  transition: transform .3s ease, box-shadow .3s ease, border-color .4s ease;
}
.job-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: rgba(124, 179, 66, 0.5); }
.job-title { color: var(--heading); font-size: 1.22rem; line-height: 1.3; margin: 0; }
.job-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.job-pill {
  font-size: 0.8rem; font-weight: 600; color: var(--ink);
  background: var(--pill-bg); border: 1px solid var(--pill-border);
  padding: 4px 12px; border-radius: 100px;
}
.job-view {
  margin-top: 20px; color: var(--green); font-weight: 700; font-size: 0.94rem;
  display: inline-flex; align-items: center; gap: 6px; transition: gap .25s ease;
}
.job-card:hover .job-view { gap: 11px; }

/* single job details — shown in a pop-up modal */
.job-desc { white-space: pre-line; color: var(--ink); line-height: 1.75; font-size: 1.02rem; margin: 20px 0 0; }

.job-modal {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 24px;
  visibility: hidden; opacity: 0; transition: opacity .25s ease, visibility .25s ease;
}
.job-modal.is-open { visibility: visible; opacity: 1; }
.job-modal-backdrop { position: absolute; inset: 0; background: rgba(12, 20, 40, 0.55); backdrop-filter: blur(3px); }
.job-modal-card {
  position: relative; z-index: 1; width: min(620px, 100%); max-height: 86vh; overflow: auto;
  background: var(--bg); border: 1px solid var(--card-border); border-radius: var(--radius-lg);
  padding: 34px 34px 26px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.55);
  transform: translateY(14px) scale(0.97); transition: transform .28s cubic-bezier(.2, .8, .2, 1);
}
.job-modal.is-open .job-modal-card { transform: none; }
.job-modal-close {
  position: absolute; top: 14px; right: 16px; width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--card-border); background: var(--card-bg); color: var(--ink);
  font-size: 1.5rem; line-height: 1; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.job-modal-close:hover { border-color: var(--green); color: var(--green); }
.job-modal-card h2 { color: var(--heading); font-size: 1.5rem; margin: 0; padding-right: 34px; }
.job-modal-card .job-meta { margin-top: 14px; }
.job-modal-card .post-date { font-size: 0.84rem; color: var(--muted); margin-top: 10px; }
.job-modal-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* application form inside the modal */
.apply-back { background: none; border: 0; padding: 0; margin-bottom: 16px; cursor: pointer; color: var(--green); font-weight: 700; font-size: 0.9rem; }
.apply-back:hover { text-decoration: underline; }
.apply-form h2 { color: var(--heading); font-size: 1.35rem; margin: 0 0 20px; padding-right: 34px; }
.apply-form .opt, .field .opt { font-weight: 400; color: var(--muted); font-size: 0.85em; }
.apply-form input[type="file"], .field input[type="file"] {
  width: 100%; font-family: var(--font); font-size: 0.94rem; color: var(--muted);
  padding: 11px 14px; border: 1px dashed var(--line); border-radius: 12px; background: var(--input-bg); cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease;
}
.apply-form input[type="file"]:hover, .field input[type="file"]:hover { border-color: var(--green); }
.apply-form input[type="file"]::file-selector-button,
.field input[type="file"]::file-selector-button {
  font-family: var(--font); margin-right: 14px; padding: 9px 16px; border: 0; border-radius: 9px;
  background: var(--green); color: #fff; font-weight: 700; font-size: 0.9rem; cursor: pointer;
  transition: background-color .2s ease, transform .2s ease;
}
.apply-form input[type="file"]::file-selector-button:hover,
.field input[type="file"]::file-selector-button:hover { background: #6ba23a; transform: translateY(-1px); }
.apply-done { text-align: center; padding: 16px 0; }
.apply-done-icon {
  width: 62px; height: 62px; margin: 0 auto 18px; border-radius: 50%; font-size: 1.9rem; color: #fff;
  display: grid; place-items: center; background: linear-gradient(135deg, var(--green), #6ba23a);
  box-shadow: 0 10px 26px -6px rgba(124, 179, 66, 0.6);
}
.apply-done h2 { color: var(--heading); margin-bottom: 8px; }
.apply-done p { color: var(--muted); margin-bottom: 22px; }
.apply-hint { margin: 12px 0 0; font-size: 0.85rem; color: var(--muted); }

@media (max-width: 560px) {
  .job-modal-card { padding: 28px 22px 22px; }
  .job-modal-actions .btn, .job-modal-actions .btn-outline { width: 100%; text-align: center; }
}

@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .blog-grid { grid-template-columns: 1fr; }
  .job-list { grid-template-columns: 1fr; }
  .editor .row2 { grid-template-columns: 1fr; }
}
